├── .github └── workflows │ └── playwright.yml ├── .gitignore ├── .prettierrc.js ├── FUNDING.yml ├── LICENSE.md ├── README.md ├── package.json ├── playwright.config.ts ├── pnpm-lock.yaml ├── pnpm-workspace.yaml ├── src ├── assets.tsx ├── hooks.tsx ├── index.tsx ├── state.ts ├── styles.css └── types.ts ├── test ├── .eslintrc.json ├── .gitignore ├── .npmrc ├── .vscode │ └── settings.json ├── README.md ├── next.config.js ├── package-lock.json ├── package.json ├── src │ └── app │ │ ├── action.tsx │ │ ├── layout.tsx │ │ └── page.tsx ├── tests │ └── basic.spec.ts └── tsconfig.json ├── tsconfig.json ├── turbo.json └── website ├── .eslintrc.json ├── .gitignore ├── .vscode └── settings.json ├── README.md ├── next.config.js ├── package.json ├── postcss.config.js ├── public ├── emil.jpeg ├── favicon.ico └── og.png ├── src ├── components │ ├── CodeBlock │ │ ├── code-block.module.css │ │ └── index.tsx │ ├── ExpandModes │ │ └── index.tsx │ ├── Footer │ │ ├── footer.module.css │ │ └── index.tsx │ ├── Head │ │ └── index.tsx │ ├── Hero │ │ ├── hero.module.css │ │ └── index.tsx │ ├── How │ │ └── How.tsx │ ├── Installation │ │ ├── index.tsx │ │ └── installation.module.css │ ├── Other │ │ ├── Other.tsx │ │ └── other.module.css │ ├── Position │ │ └── index.tsx │ ├── Types │ │ └── Types.tsx │ └── Usage │ │ └── index.tsx ├── globals.css ├── pages │ ├── _app.tsx │ ├── _meta.json │ ├── getting-started.mdx │ ├── index.tsx │ ├── styling.mdx │ ├── toast.mdx │ └── toaster.mdx └── style.css ├── tailwind.config.js ├── theme.config.jsx └── tsconfig.json /.github/workflows/playwright.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilkowalski/sonner/HEAD/.github/workflows/playwright.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilkowalski/sonner/HEAD/.gitignore -------------------------------------------------------------------------------- /.prettierrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilkowalski/sonner/HEAD/.prettierrc.js -------------------------------------------------------------------------------- /FUNDING.yml: -------------------------------------------------------------------------------- 1 | github: emilkowalski 2 | -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilkowalski/sonner/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilkowalski/sonner/HEAD/README.md -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilkowalski/sonner/HEAD/package.json -------------------------------------------------------------------------------- /playwright.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilkowalski/sonner/HEAD/playwright.config.ts -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilkowalski/sonner/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /pnpm-workspace.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilkowalski/sonner/HEAD/pnpm-workspace.yaml -------------------------------------------------------------------------------- /src/assets.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilkowalski/sonner/HEAD/src/assets.tsx -------------------------------------------------------------------------------- /src/hooks.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilkowalski/sonner/HEAD/src/hooks.tsx -------------------------------------------------------------------------------- /src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilkowalski/sonner/HEAD/src/index.tsx -------------------------------------------------------------------------------- /src/state.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilkowalski/sonner/HEAD/src/state.ts -------------------------------------------------------------------------------- /src/styles.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilkowalski/sonner/HEAD/src/styles.css -------------------------------------------------------------------------------- /src/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilkowalski/sonner/HEAD/src/types.ts -------------------------------------------------------------------------------- /test/.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "next/core-web-vitals" 3 | } 4 | -------------------------------------------------------------------------------- /test/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilkowalski/sonner/HEAD/test/.gitignore -------------------------------------------------------------------------------- /test/.npmrc: -------------------------------------------------------------------------------- 1 | package-manager-strict=false 2 | -------------------------------------------------------------------------------- /test/.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilkowalski/sonner/HEAD/test/.vscode/settings.json -------------------------------------------------------------------------------- /test/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilkowalski/sonner/HEAD/test/README.md -------------------------------------------------------------------------------- /test/next.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilkowalski/sonner/HEAD/test/next.config.js -------------------------------------------------------------------------------- /test/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilkowalski/sonner/HEAD/test/package-lock.json -------------------------------------------------------------------------------- /test/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilkowalski/sonner/HEAD/test/package.json -------------------------------------------------------------------------------- /test/src/app/action.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilkowalski/sonner/HEAD/test/src/app/action.tsx -------------------------------------------------------------------------------- /test/src/app/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilkowalski/sonner/HEAD/test/src/app/layout.tsx -------------------------------------------------------------------------------- /test/src/app/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilkowalski/sonner/HEAD/test/src/app/page.tsx -------------------------------------------------------------------------------- /test/tests/basic.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilkowalski/sonner/HEAD/test/tests/basic.spec.ts -------------------------------------------------------------------------------- /test/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilkowalski/sonner/HEAD/test/tsconfig.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilkowalski/sonner/HEAD/tsconfig.json -------------------------------------------------------------------------------- /turbo.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilkowalski/sonner/HEAD/turbo.json -------------------------------------------------------------------------------- /website/.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "next/core-web-vitals" 3 | } 4 | -------------------------------------------------------------------------------- /website/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilkowalski/sonner/HEAD/website/.gitignore -------------------------------------------------------------------------------- /website/.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilkowalski/sonner/HEAD/website/.vscode/settings.json -------------------------------------------------------------------------------- /website/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilkowalski/sonner/HEAD/website/README.md -------------------------------------------------------------------------------- /website/next.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilkowalski/sonner/HEAD/website/next.config.js -------------------------------------------------------------------------------- /website/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilkowalski/sonner/HEAD/website/package.json -------------------------------------------------------------------------------- /website/postcss.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilkowalski/sonner/HEAD/website/postcss.config.js -------------------------------------------------------------------------------- /website/public/emil.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilkowalski/sonner/HEAD/website/public/emil.jpeg -------------------------------------------------------------------------------- /website/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilkowalski/sonner/HEAD/website/public/favicon.ico -------------------------------------------------------------------------------- /website/public/og.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilkowalski/sonner/HEAD/website/public/og.png -------------------------------------------------------------------------------- /website/src/components/CodeBlock/code-block.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilkowalski/sonner/HEAD/website/src/components/CodeBlock/code-block.module.css -------------------------------------------------------------------------------- /website/src/components/CodeBlock/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilkowalski/sonner/HEAD/website/src/components/CodeBlock/index.tsx -------------------------------------------------------------------------------- /website/src/components/ExpandModes/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilkowalski/sonner/HEAD/website/src/components/ExpandModes/index.tsx -------------------------------------------------------------------------------- /website/src/components/Footer/footer.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilkowalski/sonner/HEAD/website/src/components/Footer/footer.module.css -------------------------------------------------------------------------------- /website/src/components/Footer/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilkowalski/sonner/HEAD/website/src/components/Footer/index.tsx -------------------------------------------------------------------------------- /website/src/components/Head/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilkowalski/sonner/HEAD/website/src/components/Head/index.tsx -------------------------------------------------------------------------------- /website/src/components/Hero/hero.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilkowalski/sonner/HEAD/website/src/components/Hero/hero.module.css -------------------------------------------------------------------------------- /website/src/components/Hero/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilkowalski/sonner/HEAD/website/src/components/Hero/index.tsx -------------------------------------------------------------------------------- /website/src/components/How/How.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilkowalski/sonner/HEAD/website/src/components/How/How.tsx -------------------------------------------------------------------------------- /website/src/components/Installation/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilkowalski/sonner/HEAD/website/src/components/Installation/index.tsx -------------------------------------------------------------------------------- /website/src/components/Installation/installation.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilkowalski/sonner/HEAD/website/src/components/Installation/installation.module.css -------------------------------------------------------------------------------- /website/src/components/Other/Other.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilkowalski/sonner/HEAD/website/src/components/Other/Other.tsx -------------------------------------------------------------------------------- /website/src/components/Other/other.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilkowalski/sonner/HEAD/website/src/components/Other/other.module.css -------------------------------------------------------------------------------- /website/src/components/Position/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilkowalski/sonner/HEAD/website/src/components/Position/index.tsx -------------------------------------------------------------------------------- /website/src/components/Types/Types.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilkowalski/sonner/HEAD/website/src/components/Types/Types.tsx -------------------------------------------------------------------------------- /website/src/components/Usage/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilkowalski/sonner/HEAD/website/src/components/Usage/index.tsx -------------------------------------------------------------------------------- /website/src/globals.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilkowalski/sonner/HEAD/website/src/globals.css -------------------------------------------------------------------------------- /website/src/pages/_app.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilkowalski/sonner/HEAD/website/src/pages/_app.tsx -------------------------------------------------------------------------------- /website/src/pages/_meta.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilkowalski/sonner/HEAD/website/src/pages/_meta.json -------------------------------------------------------------------------------- /website/src/pages/getting-started.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilkowalski/sonner/HEAD/website/src/pages/getting-started.mdx -------------------------------------------------------------------------------- /website/src/pages/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilkowalski/sonner/HEAD/website/src/pages/index.tsx -------------------------------------------------------------------------------- /website/src/pages/styling.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilkowalski/sonner/HEAD/website/src/pages/styling.mdx -------------------------------------------------------------------------------- /website/src/pages/toast.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilkowalski/sonner/HEAD/website/src/pages/toast.mdx -------------------------------------------------------------------------------- /website/src/pages/toaster.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilkowalski/sonner/HEAD/website/src/pages/toaster.mdx -------------------------------------------------------------------------------- /website/src/style.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilkowalski/sonner/HEAD/website/src/style.css -------------------------------------------------------------------------------- /website/tailwind.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilkowalski/sonner/HEAD/website/tailwind.config.js -------------------------------------------------------------------------------- /website/theme.config.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilkowalski/sonner/HEAD/website/theme.config.jsx -------------------------------------------------------------------------------- /website/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilkowalski/sonner/HEAD/website/tsconfig.json --------------------------------------------------------------------------------