├── .github ├── FUNDING.yml ├── ISSUE_TEMPLATE.md ├── PULL_REQUEST_TEMPLATE.md └── workflows │ └── build.yaml ├── .gitignore ├── .nycrc.json ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── cypress.config.ts ├── cypress └── support │ ├── commands.ts │ ├── component-index.html │ ├── component.ts │ └── style.css ├── lefthook.yml ├── package.json ├── playground ├── .eslintrc.cjs ├── .gitignore ├── index.html ├── package.json ├── pnpm-lock.yaml ├── public │ └── vite.svg ├── src │ ├── assets │ │ └── react.svg │ ├── components │ │ ├── App.tsx │ │ ├── Checkbox.tsx │ │ ├── ContainerCode.tsx │ │ ├── Header.tsx │ │ ├── Radio.tsx │ │ ├── ToastCode.tsx │ │ └── constants.ts │ ├── index.css │ ├── main.tsx │ └── vite-env.d.ts ├── tsconfig.json ├── tsconfig.node.json └── vite.config.ts ├── pnpm-lock.yaml ├── src ├── addons │ └── use-notification-center │ │ ├── NotificationCenter.cy.tsx │ │ ├── index.ts │ │ └── useNotificationCenter.ts ├── components │ ├── CloseButton.cy.tsx │ ├── CloseButton.tsx │ ├── Icons.cy.tsx │ ├── Icons.tsx │ ├── ProgressBar.cy.tsx │ ├── ProgressBar.tsx │ ├── Toast.cy.tsx │ ├── Toast.tsx │ ├── ToastContainer.tsx │ ├── Transitions.tsx │ └── index.tsx ├── core │ ├── containerObserver.ts │ ├── genToastId.ts │ ├── index.ts │ ├── store.ts │ ├── toast.cy.tsx │ └── toast.ts ├── hooks │ ├── index.ts │ ├── useIsomorphicLayoutEffect.ts │ ├── useToast.ts │ └── useToastContainer.ts ├── index.ts ├── style.css ├── tests.cy.tsx ├── types.ts └── utils │ ├── collapseToast.ts │ ├── constant.ts │ ├── cssTransition.tsx │ ├── index.ts │ ├── mapper.ts │ └── propValidator.ts ├── tsconfig.json ├── tsup.config.ts └── vite.config.mts /.github/FUNDING.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wolf620/react-toastify/HEAD/.github/FUNDING.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wolf620/react-toastify/HEAD/.github/ISSUE_TEMPLATE.md -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wolf620/react-toastify/HEAD/.github/PULL_REQUEST_TEMPLATE.md -------------------------------------------------------------------------------- /.github/workflows/build.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wolf620/react-toastify/HEAD/.github/workflows/build.yaml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wolf620/react-toastify/HEAD/.gitignore -------------------------------------------------------------------------------- /.nycrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wolf620/react-toastify/HEAD/.nycrc.json -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wolf620/react-toastify/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wolf620/react-toastify/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wolf620/react-toastify/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wolf620/react-toastify/HEAD/README.md -------------------------------------------------------------------------------- /cypress.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wolf620/react-toastify/HEAD/cypress.config.ts -------------------------------------------------------------------------------- /cypress/support/commands.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wolf620/react-toastify/HEAD/cypress/support/commands.ts -------------------------------------------------------------------------------- /cypress/support/component-index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wolf620/react-toastify/HEAD/cypress/support/component-index.html -------------------------------------------------------------------------------- /cypress/support/component.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wolf620/react-toastify/HEAD/cypress/support/component.ts -------------------------------------------------------------------------------- /cypress/support/style.css: -------------------------------------------------------------------------------- 1 | 2 | [data-cy-root]{ 3 | height: 80vh; 4 | } -------------------------------------------------------------------------------- /lefthook.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wolf620/react-toastify/HEAD/lefthook.yml -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wolf620/react-toastify/HEAD/package.json -------------------------------------------------------------------------------- /playground/.eslintrc.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wolf620/react-toastify/HEAD/playground/.eslintrc.cjs -------------------------------------------------------------------------------- /playground/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wolf620/react-toastify/HEAD/playground/.gitignore -------------------------------------------------------------------------------- /playground/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wolf620/react-toastify/HEAD/playground/index.html -------------------------------------------------------------------------------- /playground/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wolf620/react-toastify/HEAD/playground/package.json -------------------------------------------------------------------------------- /playground/pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wolf620/react-toastify/HEAD/playground/pnpm-lock.yaml -------------------------------------------------------------------------------- /playground/public/vite.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wolf620/react-toastify/HEAD/playground/public/vite.svg -------------------------------------------------------------------------------- /playground/src/assets/react.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wolf620/react-toastify/HEAD/playground/src/assets/react.svg -------------------------------------------------------------------------------- /playground/src/components/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wolf620/react-toastify/HEAD/playground/src/components/App.tsx -------------------------------------------------------------------------------- /playground/src/components/Checkbox.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wolf620/react-toastify/HEAD/playground/src/components/Checkbox.tsx -------------------------------------------------------------------------------- /playground/src/components/ContainerCode.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wolf620/react-toastify/HEAD/playground/src/components/ContainerCode.tsx -------------------------------------------------------------------------------- /playground/src/components/Header.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wolf620/react-toastify/HEAD/playground/src/components/Header.tsx -------------------------------------------------------------------------------- /playground/src/components/Radio.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wolf620/react-toastify/HEAD/playground/src/components/Radio.tsx -------------------------------------------------------------------------------- /playground/src/components/ToastCode.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wolf620/react-toastify/HEAD/playground/src/components/ToastCode.tsx -------------------------------------------------------------------------------- /playground/src/components/constants.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wolf620/react-toastify/HEAD/playground/src/components/constants.ts -------------------------------------------------------------------------------- /playground/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wolf620/react-toastify/HEAD/playground/src/index.css -------------------------------------------------------------------------------- /playground/src/main.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wolf620/react-toastify/HEAD/playground/src/main.tsx -------------------------------------------------------------------------------- /playground/src/vite-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /playground/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wolf620/react-toastify/HEAD/playground/tsconfig.json -------------------------------------------------------------------------------- /playground/tsconfig.node.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wolf620/react-toastify/HEAD/playground/tsconfig.node.json -------------------------------------------------------------------------------- /playground/vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wolf620/react-toastify/HEAD/playground/vite.config.ts -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wolf620/react-toastify/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /src/addons/use-notification-center/NotificationCenter.cy.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wolf620/react-toastify/HEAD/src/addons/use-notification-center/NotificationCenter.cy.tsx -------------------------------------------------------------------------------- /src/addons/use-notification-center/index.ts: -------------------------------------------------------------------------------- 1 | export * from './useNotificationCenter'; 2 | -------------------------------------------------------------------------------- /src/addons/use-notification-center/useNotificationCenter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wolf620/react-toastify/HEAD/src/addons/use-notification-center/useNotificationCenter.ts -------------------------------------------------------------------------------- /src/components/CloseButton.cy.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wolf620/react-toastify/HEAD/src/components/CloseButton.cy.tsx -------------------------------------------------------------------------------- /src/components/CloseButton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wolf620/react-toastify/HEAD/src/components/CloseButton.tsx -------------------------------------------------------------------------------- /src/components/Icons.cy.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wolf620/react-toastify/HEAD/src/components/Icons.cy.tsx -------------------------------------------------------------------------------- /src/components/Icons.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wolf620/react-toastify/HEAD/src/components/Icons.tsx -------------------------------------------------------------------------------- /src/components/ProgressBar.cy.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wolf620/react-toastify/HEAD/src/components/ProgressBar.cy.tsx -------------------------------------------------------------------------------- /src/components/ProgressBar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wolf620/react-toastify/HEAD/src/components/ProgressBar.tsx -------------------------------------------------------------------------------- /src/components/Toast.cy.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wolf620/react-toastify/HEAD/src/components/Toast.cy.tsx -------------------------------------------------------------------------------- /src/components/Toast.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wolf620/react-toastify/HEAD/src/components/Toast.tsx -------------------------------------------------------------------------------- /src/components/ToastContainer.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wolf620/react-toastify/HEAD/src/components/ToastContainer.tsx -------------------------------------------------------------------------------- /src/components/Transitions.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wolf620/react-toastify/HEAD/src/components/Transitions.tsx -------------------------------------------------------------------------------- /src/components/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wolf620/react-toastify/HEAD/src/components/index.tsx -------------------------------------------------------------------------------- /src/core/containerObserver.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wolf620/react-toastify/HEAD/src/core/containerObserver.ts -------------------------------------------------------------------------------- /src/core/genToastId.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wolf620/react-toastify/HEAD/src/core/genToastId.ts -------------------------------------------------------------------------------- /src/core/index.ts: -------------------------------------------------------------------------------- 1 | export * from './toast'; 2 | -------------------------------------------------------------------------------- /src/core/store.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wolf620/react-toastify/HEAD/src/core/store.ts -------------------------------------------------------------------------------- /src/core/toast.cy.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wolf620/react-toastify/HEAD/src/core/toast.cy.tsx -------------------------------------------------------------------------------- /src/core/toast.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wolf620/react-toastify/HEAD/src/core/toast.ts -------------------------------------------------------------------------------- /src/hooks/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wolf620/react-toastify/HEAD/src/hooks/index.ts -------------------------------------------------------------------------------- /src/hooks/useIsomorphicLayoutEffect.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wolf620/react-toastify/HEAD/src/hooks/useIsomorphicLayoutEffect.ts -------------------------------------------------------------------------------- /src/hooks/useToast.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wolf620/react-toastify/HEAD/src/hooks/useToast.ts -------------------------------------------------------------------------------- /src/hooks/useToastContainer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wolf620/react-toastify/HEAD/src/hooks/useToastContainer.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wolf620/react-toastify/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/style.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wolf620/react-toastify/HEAD/src/style.css -------------------------------------------------------------------------------- /src/tests.cy.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wolf620/react-toastify/HEAD/src/tests.cy.tsx -------------------------------------------------------------------------------- /src/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wolf620/react-toastify/HEAD/src/types.ts -------------------------------------------------------------------------------- /src/utils/collapseToast.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wolf620/react-toastify/HEAD/src/utils/collapseToast.ts -------------------------------------------------------------------------------- /src/utils/constant.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wolf620/react-toastify/HEAD/src/utils/constant.ts -------------------------------------------------------------------------------- /src/utils/cssTransition.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wolf620/react-toastify/HEAD/src/utils/cssTransition.tsx -------------------------------------------------------------------------------- /src/utils/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wolf620/react-toastify/HEAD/src/utils/index.ts -------------------------------------------------------------------------------- /src/utils/mapper.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wolf620/react-toastify/HEAD/src/utils/mapper.ts -------------------------------------------------------------------------------- /src/utils/propValidator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wolf620/react-toastify/HEAD/src/utils/propValidator.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wolf620/react-toastify/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tsup.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wolf620/react-toastify/HEAD/tsup.config.ts -------------------------------------------------------------------------------- /vite.config.mts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wolf620/react-toastify/HEAD/vite.config.mts --------------------------------------------------------------------------------