npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

dentaluni-onboarding

v0.1.3

Published

Componentes React/Next para onboarding da Dental Uni

Downloads

357

Readme

dentaluni-onboarding

Componentes React/Next para o onboarding da Dental Uni.

Instalação local

npm install ./dentaluni-onboarding-0.1.1.tgz

Uso em um app Next

Importe os estilos globais uma vez no layout raiz:

import "dentaluni-onboarding/styles.css";

Use os componentes nas telas em que o onboarding deve aparecer:

import { FirstAccessModal } from "dentaluni-onboarding";

export function Onboarding() {
  return <FirstAccessModal />;
}

Se o app consumidor usa Next, adicione o pacote em transpilePackages e libere as imagens do YouTube:

import type { NextConfig } from "next";

const nextConfig: NextConfig = {
  transpilePackages: ["dentaluni-onboarding"],
  images: {
    remotePatterns: [
      {
        protocol: "https",
        hostname: "img.youtube.com",
      },
    ],
  },
};

export default nextConfig;

Copie os assets do pacote para o public do app consumidor mantendo estes nomes:

  • LOGO BRANCO.png
  • painel-bg.png

Se o Tailwind do app consumidor não gerar classes usadas pelo pacote, adicione a origem do pacote no CSS global do app:

@source "../../node_modules/dentaluni-onboarding/src";

Para manter a tipografia esperada, carregue Inter e Lato no layout raiz do app consumidor e exponha as variáveis --font-inter e --font-lato. O CSS do pacote usa fallbacks caso essas variáveis não existam.

import { Inter, Lato } from "next/font/google";

const inter = Inter({ subsets: ["latin"], variable: "--font-inter" });
const lato = Lato({
  subsets: ["latin"],
  variable: "--font-lato",
  weight: ["400", "700", "900"],
});

export default function RootLayout({ children }: { children: React.ReactNode }) {
  return (
    <html lang="pt-BR" className={`${inter.variable} ${lato.variable}`}>
      <body>{children}</body>
    </html>
  );
}

Gerar pacote

npm run typecheck
npm run build
npm run pack:local

O comando pack:local gera um arquivo .tgz instalável via npm.