@kala-ui/react 0.0.1-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +110 -0
- package/LICENSE +21 -0
- package/README.md +336 -0
- package/dist/src/__tests__/button.test.d.ts +2 -0
- package/dist/src/__tests__/button.test.d.ts.map +1 -0
- package/dist/src/__tests__/button.test.js +66 -0
- package/dist/src/__tests__/button.test.js.map +1 -0
- package/dist/src/__tests__/setup.d.ts +2 -0
- package/dist/src/__tests__/setup.d.ts.map +1 -0
- package/dist/src/__tests__/setup.js +34 -0
- package/dist/src/__tests__/setup.js.map +1 -0
- package/dist/src/__tests__/utils.test.d.ts +2 -0
- package/dist/src/__tests__/utils.test.d.ts.map +1 -0
- package/dist/src/__tests__/utils.test.js +38 -0
- package/dist/src/__tests__/utils.test.js.map +1 -0
- package/dist/src/components/accordion/accordion-skeleton.d.ts +45 -0
- package/dist/src/components/accordion/accordion-skeleton.d.ts.map +1 -0
- package/dist/src/components/accordion/accordion-skeleton.js +25 -0
- package/dist/src/components/accordion/accordion-skeleton.js.map +1 -0
- package/dist/src/components/accordion/accordion-skeleton.test.d.ts +2 -0
- package/dist/src/components/accordion/accordion-skeleton.test.d.ts.map +1 -0
- package/dist/src/components/accordion/accordion-skeleton.test.js +62 -0
- package/dist/src/components/accordion/accordion-skeleton.test.js.map +1 -0
- package/dist/src/components/accordion/accordion.d.ts +12 -0
- package/dist/src/components/accordion/accordion.d.ts.map +1 -0
- package/dist/src/components/accordion/accordion.js +43 -0
- package/dist/src/components/accordion/accordion.js.map +1 -0
- package/dist/src/components/accordion/accordion.stories.d.ts +19 -0
- package/dist/src/components/accordion/accordion.stories.d.ts.map +1 -0
- package/dist/src/components/accordion/accordion.stories.js +52 -0
- package/dist/src/components/accordion/accordion.stories.js.map +1 -0
- package/dist/src/components/accordion/accordion.test.d.ts +2 -0
- package/dist/src/components/accordion/accordion.test.d.ts.map +1 -0
- package/dist/src/components/accordion/accordion.test.js +39 -0
- package/dist/src/components/accordion/accordion.test.js.map +1 -0
- package/dist/src/components/accordion/index.d.ts +4 -0
- package/dist/src/components/accordion/index.d.ts.map +1 -0
- package/dist/src/components/accordion/index.js +3 -0
- package/dist/src/components/accordion/index.js.map +1 -0
- package/dist/src/components/alert/alert-skeleton.d.ts +32 -0
- package/dist/src/components/alert/alert-skeleton.d.ts.map +1 -0
- package/dist/src/components/alert/alert-skeleton.js +29 -0
- package/dist/src/components/alert/alert-skeleton.js.map +1 -0
- package/dist/src/components/alert/alert.d.ts +11 -0
- package/dist/src/components/alert/alert.d.ts.map +1 -0
- package/dist/src/components/alert/alert.js +65 -0
- package/dist/src/components/alert/alert.js.map +1 -0
- package/dist/src/components/alert/alert.stories.d.ts +22 -0
- package/dist/src/components/alert/alert.stories.d.ts.map +1 -0
- package/dist/src/components/alert/alert.stories.js +56 -0
- package/dist/src/components/alert/alert.stories.js.map +1 -0
- package/dist/src/components/alert/alert.test.d.ts +2 -0
- package/dist/src/components/alert/alert.test.d.ts.map +1 -0
- package/dist/src/components/alert/alert.test.js +44 -0
- package/dist/src/components/alert/alert.test.js.map +1 -0
- package/dist/src/components/alert/alert.types.d.ts +13 -0
- package/dist/src/components/alert/alert.types.d.ts.map +1 -0
- package/dist/src/components/alert/alert.types.js +2 -0
- package/dist/src/components/alert/alert.types.js.map +1 -0
- package/dist/src/components/alert/index.d.ts +4 -0
- package/dist/src/components/alert/index.d.ts.map +1 -0
- package/dist/src/components/alert/index.js +3 -0
- package/dist/src/components/alert/index.js.map +1 -0
- package/dist/src/components/alert-dialog/alert-dialog.d.ts +18 -0
- package/dist/src/components/alert-dialog/alert-dialog.d.ts.map +1 -0
- package/dist/src/components/alert-dialog/alert-dialog.js +43 -0
- package/dist/src/components/alert-dialog/alert-dialog.js.map +1 -0
- package/dist/src/components/alert-dialog/alert-dialog.stories.d.ts +16 -0
- package/dist/src/components/alert-dialog/alert-dialog.stories.d.ts.map +1 -0
- package/dist/src/components/alert-dialog/alert-dialog.stories.js +22 -0
- package/dist/src/components/alert-dialog/alert-dialog.stories.js.map +1 -0
- package/dist/src/components/alert-dialog/alert-dialog.test.d.ts +2 -0
- package/dist/src/components/alert-dialog/alert-dialog.test.d.ts.map +1 -0
- package/dist/src/components/alert-dialog/alert-dialog.test.js +55 -0
- package/dist/src/components/alert-dialog/alert-dialog.test.js.map +1 -0
- package/dist/src/components/alert-dialog/index.d.ts +2 -0
- package/dist/src/components/alert-dialog/index.d.ts.map +1 -0
- package/dist/src/components/alert-dialog/index.js +2 -0
- package/dist/src/components/alert-dialog/index.js.map +1 -0
- package/dist/src/components/aspect-ratio/aspect-ratio.d.ts +14 -0
- package/dist/src/components/aspect-ratio/aspect-ratio.d.ts.map +1 -0
- package/dist/src/components/aspect-ratio/aspect-ratio.js +15 -0
- package/dist/src/components/aspect-ratio/aspect-ratio.js.map +1 -0
- package/dist/src/components/aspect-ratio/aspect-ratio.stories.d.ts +22 -0
- package/dist/src/components/aspect-ratio/aspect-ratio.stories.d.ts.map +1 -0
- package/dist/src/components/aspect-ratio/aspect-ratio.stories.js +48 -0
- package/dist/src/components/aspect-ratio/aspect-ratio.stories.js.map +1 -0
- package/dist/src/components/aspect-ratio/aspect-ratio.test.d.ts +2 -0
- package/dist/src/components/aspect-ratio/aspect-ratio.test.d.ts.map +1 -0
- package/dist/src/components/aspect-ratio/aspect-ratio.test.js +47 -0
- package/dist/src/components/aspect-ratio/aspect-ratio.test.js.map +1 -0
- package/dist/src/components/aspect-ratio/index.d.ts +2 -0
- package/dist/src/components/aspect-ratio/index.d.ts.map +1 -0
- package/dist/src/components/aspect-ratio/index.js +2 -0
- package/dist/src/components/aspect-ratio/index.js.map +1 -0
- package/dist/src/components/avatar/avatar.d.ts +28 -0
- package/dist/src/components/avatar/avatar.d.ts.map +1 -0
- package/dist/src/components/avatar/avatar.js +54 -0
- package/dist/src/components/avatar/avatar.js.map +1 -0
- package/dist/src/components/avatar/avatar.stories.d.ts +20 -0
- package/dist/src/components/avatar/avatar.stories.d.ts.map +1 -0
- package/dist/src/components/avatar/avatar.stories.js +47 -0
- package/dist/src/components/avatar/avatar.stories.js.map +1 -0
- package/dist/src/components/avatar/avatar.test.d.ts +2 -0
- package/dist/src/components/avatar/avatar.test.d.ts.map +1 -0
- package/dist/src/components/avatar/avatar.test.js +39 -0
- package/dist/src/components/avatar/avatar.test.js.map +1 -0
- package/dist/src/components/avatar/index.d.ts +2 -0
- package/dist/src/components/avatar/index.d.ts.map +1 -0
- package/dist/src/components/avatar/index.js +2 -0
- package/dist/src/components/avatar/index.js.map +1 -0
- package/dist/src/components/badge/badge.d.ts +12 -0
- package/dist/src/components/badge/badge.d.ts.map +1 -0
- package/dist/src/components/badge/badge.js +19 -0
- package/dist/src/components/badge/badge.js.map +1 -0
- package/dist/src/components/badge/badge.stories.d.ts +27 -0
- package/dist/src/components/badge/badge.stories.d.ts.map +1 -0
- package/dist/src/components/badge/badge.stories.js +54 -0
- package/dist/src/components/badge/badge.stories.js.map +1 -0
- package/dist/src/components/badge/badge.test.d.ts +2 -0
- package/dist/src/components/badge/badge.test.d.ts.map +1 -0
- package/dist/src/components/badge/badge.test.js +68 -0
- package/dist/src/components/badge/badge.test.js.map +1 -0
- package/dist/src/components/badge/index.d.ts +2 -0
- package/dist/src/components/badge/index.d.ts.map +1 -0
- package/dist/src/components/badge/index.js +2 -0
- package/dist/src/components/badge/index.js.map +1 -0
- package/dist/src/components/banner/__tests__/banner.test.d.ts +5 -0
- package/dist/src/components/banner/__tests__/banner.test.d.ts.map +1 -0
- package/dist/src/components/banner/__tests__/banner.test.js +62 -0
- package/dist/src/components/banner/__tests__/banner.test.js.map +1 -0
- package/dist/src/components/banner/banner-skeleton.d.ts +32 -0
- package/dist/src/components/banner/banner-skeleton.d.ts.map +1 -0
- package/dist/src/components/banner/banner-skeleton.js +28 -0
- package/dist/src/components/banner/banner-skeleton.js.map +1 -0
- package/dist/src/components/banner/banner.d.ts +36 -0
- package/dist/src/components/banner/banner.d.ts.map +1 -0
- package/dist/src/components/banner/banner.js +44 -0
- package/dist/src/components/banner/banner.js.map +1 -0
- package/dist/src/components/banner/banner.stories.d.ts +35 -0
- package/dist/src/components/banner/banner.stories.d.ts.map +1 -0
- package/dist/src/components/banner/banner.stories.js +95 -0
- package/dist/src/components/banner/banner.stories.js.map +1 -0
- package/dist/src/components/banner/banner.test.d.ts +2 -0
- package/dist/src/components/banner/banner.test.d.ts.map +1 -0
- package/dist/src/components/banner/banner.test.js +86 -0
- package/dist/src/components/banner/banner.test.js.map +1 -0
- package/dist/src/components/banner/banner.types.d.ts +21 -0
- package/dist/src/components/banner/banner.types.d.ts.map +1 -0
- package/dist/src/components/banner/banner.types.js +2 -0
- package/dist/src/components/banner/banner.types.js.map +1 -0
- package/dist/src/components/banner/index.d.ts +4 -0
- package/dist/src/components/banner/index.d.ts.map +1 -0
- package/dist/src/components/banner/index.js +3 -0
- package/dist/src/components/banner/index.js.map +1 -0
- package/dist/src/components/breadcrumbs/__tests__/breadcrumbs.test.d.ts +2 -0
- package/dist/src/components/breadcrumbs/__tests__/breadcrumbs.test.d.ts.map +1 -0
- package/dist/src/components/breadcrumbs/__tests__/breadcrumbs.test.js +119 -0
- package/dist/src/components/breadcrumbs/__tests__/breadcrumbs.test.js.map +1 -0
- package/dist/src/components/breadcrumbs/breadcrumbs-skeleton.d.ts +45 -0
- package/dist/src/components/breadcrumbs/breadcrumbs-skeleton.d.ts.map +1 -0
- package/dist/src/components/breadcrumbs/breadcrumbs-skeleton.js +24 -0
- package/dist/src/components/breadcrumbs/breadcrumbs-skeleton.js.map +1 -0
- package/dist/src/components/breadcrumbs/breadcrumbs-skeleton.test.d.ts +2 -0
- package/dist/src/components/breadcrumbs/breadcrumbs-skeleton.test.d.ts.map +1 -0
- package/dist/src/components/breadcrumbs/breadcrumbs-skeleton.test.js +55 -0
- package/dist/src/components/breadcrumbs/breadcrumbs-skeleton.test.js.map +1 -0
- package/dist/src/components/breadcrumbs/breadcrumbs.d.ts +13 -0
- package/dist/src/components/breadcrumbs/breadcrumbs.d.ts.map +1 -0
- package/dist/src/components/breadcrumbs/breadcrumbs.js +26 -0
- package/dist/src/components/breadcrumbs/breadcrumbs.js.map +1 -0
- package/dist/src/components/breadcrumbs/breadcrumbs.stories.d.ts +14 -0
- package/dist/src/components/breadcrumbs/breadcrumbs.stories.d.ts.map +1 -0
- package/dist/src/components/breadcrumbs/breadcrumbs.stories.js +103 -0
- package/dist/src/components/breadcrumbs/breadcrumbs.stories.js.map +1 -0
- package/dist/src/components/breadcrumbs/breadcrumbs.test.d.ts +2 -0
- package/dist/src/components/breadcrumbs/breadcrumbs.test.d.ts.map +1 -0
- package/dist/src/components/breadcrumbs/breadcrumbs.test.js +112 -0
- package/dist/src/components/breadcrumbs/breadcrumbs.test.js.map +1 -0
- package/dist/src/components/breadcrumbs/breadcrumbs.types.d.ts +12 -0
- package/dist/src/components/breadcrumbs/breadcrumbs.types.d.ts.map +1 -0
- package/dist/src/components/breadcrumbs/breadcrumbs.types.js +2 -0
- package/dist/src/components/breadcrumbs/breadcrumbs.types.js.map +1 -0
- package/dist/src/components/breadcrumbs/index.d.ts +4 -0
- package/dist/src/components/breadcrumbs/index.d.ts.map +1 -0
- package/dist/src/components/breadcrumbs/index.js +3 -0
- package/dist/src/components/breadcrumbs/index.js.map +1 -0
- package/dist/src/components/button/button.d.ts +15 -0
- package/dist/src/components/button/button.d.ts.map +1 -0
- package/dist/src/components/button/button.js +21 -0
- package/dist/src/components/button/button.js.map +1 -0
- package/dist/src/components/button/button.stories.d.ts +14 -0
- package/dist/src/components/button/button.stories.d.ts.map +1 -0
- package/dist/src/components/button/button.stories.js +99 -0
- package/dist/src/components/button/button.stories.js.map +1 -0
- package/dist/src/components/button/button.test.d.ts +2 -0
- package/dist/src/components/button/button.test.d.ts.map +1 -0
- package/dist/src/components/button/button.test.js +90 -0
- package/dist/src/components/button/button.test.js.map +1 -0
- package/dist/src/components/button/button.types.d.ts +15 -0
- package/dist/src/components/button/button.types.d.ts.map +1 -0
- package/dist/src/components/button/button.types.js +2 -0
- package/dist/src/components/button/button.types.js.map +1 -0
- package/dist/src/components/button/index.d.ts +3 -0
- package/dist/src/components/button/index.d.ts.map +1 -0
- package/dist/src/components/button/index.js +2 -0
- package/dist/src/components/button/index.js.map +1 -0
- package/dist/src/components/button-group/button-group.d.ts +30 -0
- package/dist/src/components/button-group/button-group.d.ts.map +1 -0
- package/dist/src/components/button-group/button-group.js +48 -0
- package/dist/src/components/button-group/button-group.js.map +1 -0
- package/dist/src/components/button-group/button-group.stories.d.ts +20 -0
- package/dist/src/components/button-group/button-group.stories.d.ts.map +1 -0
- package/dist/src/components/button-group/button-group.stories.js +83 -0
- package/dist/src/components/button-group/button-group.stories.js.map +1 -0
- package/dist/src/components/button-group/button-group.test.d.ts +2 -0
- package/dist/src/components/button-group/button-group.test.d.ts.map +1 -0
- package/dist/src/components/button-group/button-group.test.js +180 -0
- package/dist/src/components/button-group/button-group.test.js.map +1 -0
- package/dist/src/components/button-group/index.d.ts +2 -0
- package/dist/src/components/button-group/index.d.ts.map +1 -0
- package/dist/src/components/button-group/index.js +2 -0
- package/dist/src/components/button-group/index.js.map +1 -0
- package/dist/src/components/calendar/calendar-skeleton.d.ts +45 -0
- package/dist/src/components/calendar/calendar-skeleton.d.ts.map +1 -0
- package/dist/src/components/calendar/calendar-skeleton.js +24 -0
- package/dist/src/components/calendar/calendar-skeleton.js.map +1 -0
- package/dist/src/components/calendar/calendar-skeleton.test.d.ts +2 -0
- package/dist/src/components/calendar/calendar-skeleton.test.d.ts.map +1 -0
- package/dist/src/components/calendar/calendar-skeleton.test.js +64 -0
- package/dist/src/components/calendar/calendar-skeleton.test.js.map +1 -0
- package/dist/src/components/calendar/calendar.d.ts +13 -0
- package/dist/src/components/calendar/calendar.d.ts.map +1 -0
- package/dist/src/components/calendar/calendar.js +84 -0
- package/dist/src/components/calendar/calendar.js.map +1 -0
- package/dist/src/components/calendar/calendar.stories.d.ts +41 -0
- package/dist/src/components/calendar/calendar.stories.d.ts.map +1 -0
- package/dist/src/components/calendar/calendar.stories.js +112 -0
- package/dist/src/components/calendar/calendar.stories.js.map +1 -0
- package/dist/src/components/calendar/calendar.test.d.ts +2 -0
- package/dist/src/components/calendar/calendar.test.d.ts.map +1 -0
- package/dist/src/components/calendar/calendar.test.js +240 -0
- package/dist/src/components/calendar/calendar.test.js.map +1 -0
- package/dist/src/components/calendar/calendar.types.d.ts +11 -0
- package/dist/src/components/calendar/calendar.types.d.ts.map +1 -0
- package/dist/src/components/calendar/calendar.types.js +2 -0
- package/dist/src/components/calendar/calendar.types.js.map +1 -0
- package/dist/src/components/calendar/index.d.ts +4 -0
- package/dist/src/components/calendar/index.d.ts.map +1 -0
- package/dist/src/components/calendar/index.js +3 -0
- package/dist/src/components/calendar/index.js.map +1 -0
- package/dist/src/components/card/card-skeleton.d.ts +32 -0
- package/dist/src/components/card/card-skeleton.d.ts.map +1 -0
- package/dist/src/components/card/card-skeleton.js +64 -0
- package/dist/src/components/card/card-skeleton.js.map +1 -0
- package/dist/src/components/card/card.d.ts +37 -0
- package/dist/src/components/card/card.d.ts.map +1 -0
- package/dist/src/components/card/card.js +86 -0
- package/dist/src/components/card/card.js.map +1 -0
- package/dist/src/components/card/card.stories.d.ts +27 -0
- package/dist/src/components/card/card.stories.d.ts.map +1 -0
- package/dist/src/components/card/card.stories.js +81 -0
- package/dist/src/components/card/card.stories.js.map +1 -0
- package/dist/src/components/card/card.test.d.ts +2 -0
- package/dist/src/components/card/card.test.d.ts.map +1 -0
- package/dist/src/components/card/card.test.js +26 -0
- package/dist/src/components/card/card.test.js.map +1 -0
- package/dist/src/components/card/card.types.d.ts +11 -0
- package/dist/src/components/card/card.types.d.ts.map +1 -0
- package/dist/src/components/card/card.types.js +2 -0
- package/dist/src/components/card/card.types.js.map +1 -0
- package/dist/src/components/card/index.d.ts +3 -0
- package/dist/src/components/card/index.d.ts.map +1 -0
- package/dist/src/components/card/index.js +3 -0
- package/dist/src/components/card/index.js.map +1 -0
- package/dist/src/components/charts/area-chart.d.ts +7 -0
- package/dist/src/components/charts/area-chart.d.ts.map +1 -0
- package/dist/src/components/charts/area-chart.js +165 -0
- package/dist/src/components/charts/area-chart.js.map +1 -0
- package/dist/src/components/charts/bar-chart.d.ts +7 -0
- package/dist/src/components/charts/bar-chart.d.ts.map +1 -0
- package/dist/src/components/charts/bar-chart.js +146 -0
- package/dist/src/components/charts/bar-chart.js.map +1 -0
- package/dist/src/components/charts/chart-skeleton.d.ts +37 -0
- package/dist/src/components/charts/chart-skeleton.d.ts.map +1 -0
- package/dist/src/components/charts/chart-skeleton.js +13 -0
- package/dist/src/components/charts/chart-skeleton.js.map +1 -0
- package/dist/src/components/charts/chart.d.ts +19 -0
- package/dist/src/components/charts/chart.d.ts.map +1 -0
- package/dist/src/components/charts/chart.js +21 -0
- package/dist/src/components/charts/chart.js.map +1 -0
- package/dist/src/components/charts/chart.stories.d.ts +62 -0
- package/dist/src/components/charts/chart.stories.d.ts.map +1 -0
- package/dist/src/components/charts/chart.stories.js +412 -0
- package/dist/src/components/charts/chart.stories.js.map +1 -0
- package/dist/src/components/charts/chart.test.d.ts +2 -0
- package/dist/src/components/charts/chart.test.d.ts.map +1 -0
- package/dist/src/components/charts/chart.test.js +83 -0
- package/dist/src/components/charts/chart.test.js.map +1 -0
- package/dist/src/components/charts/chart.types.d.ts +193 -0
- package/dist/src/components/charts/chart.types.d.ts.map +1 -0
- package/dist/src/components/charts/chart.types.js +6 -0
- package/dist/src/components/charts/chart.types.js.map +1 -0
- package/dist/src/components/charts/donut-chart.d.ts +8 -0
- package/dist/src/components/charts/donut-chart.d.ts.map +1 -0
- package/dist/src/components/charts/donut-chart.js +147 -0
- package/dist/src/components/charts/donut-chart.js.map +1 -0
- package/dist/src/components/charts/index.d.ts +15 -0
- package/dist/src/components/charts/index.d.ts.map +1 -0
- package/dist/src/components/charts/index.js +15 -0
- package/dist/src/components/charts/index.js.map +1 -0
- package/dist/src/components/charts/line-chart.d.ts +7 -0
- package/dist/src/components/charts/line-chart.d.ts.map +1 -0
- package/dist/src/components/charts/line-chart.js +151 -0
- package/dist/src/components/charts/line-chart.js.map +1 -0
- package/dist/src/components/charts/radial-bar-chart.d.ts +7 -0
- package/dist/src/components/charts/radial-bar-chart.d.ts.map +1 -0
- package/dist/src/components/charts/radial-bar-chart.js +111 -0
- package/dist/src/components/charts/radial-bar-chart.js.map +1 -0
- package/dist/src/components/charts/theme-utils.d.ts +71 -0
- package/dist/src/components/charts/theme-utils.d.ts.map +1 -0
- package/dist/src/components/charts/theme-utils.js +166 -0
- package/dist/src/components/charts/theme-utils.js.map +1 -0
- package/dist/src/components/charts/types.d.ts +193 -0
- package/dist/src/components/charts/types.d.ts.map +1 -0
- package/dist/src/components/charts/types.js +6 -0
- package/dist/src/components/charts/types.js.map +1 -0
- package/dist/src/components/charts/use-theme-aware-chart.d.ts +13 -0
- package/dist/src/components/charts/use-theme-aware-chart.d.ts.map +1 -0
- package/dist/src/components/charts/use-theme-aware-chart.js +67 -0
- package/dist/src/components/charts/use-theme-aware-chart.js.map +1 -0
- package/dist/src/components/charts/utils.d.ts +57 -0
- package/dist/src/components/charts/utils.d.ts.map +1 -0
- package/dist/src/components/charts/utils.js +135 -0
- package/dist/src/components/charts/utils.js.map +1 -0
- package/dist/src/components/checkbox/checkbox.d.ts +4 -0
- package/dist/src/components/checkbox/checkbox.d.ts.map +1 -0
- package/dist/src/components/checkbox/checkbox.js +15 -0
- package/dist/src/components/checkbox/checkbox.js.map +1 -0
- package/dist/src/components/checkbox/checkbox.stories.d.ts +28 -0
- package/dist/src/components/checkbox/checkbox.stories.d.ts.map +1 -0
- package/dist/src/components/checkbox/checkbox.stories.js +75 -0
- package/dist/src/components/checkbox/checkbox.stories.js.map +1 -0
- package/dist/src/components/checkbox/checkbox.test.d.ts +2 -0
- package/dist/src/components/checkbox/checkbox.test.d.ts.map +1 -0
- package/dist/src/components/checkbox/checkbox.test.js +51 -0
- package/dist/src/components/checkbox/checkbox.test.js.map +1 -0
- package/dist/src/components/checkbox/checkbox.types.d.ts +7 -0
- package/dist/src/components/checkbox/checkbox.types.d.ts.map +1 -0
- package/dist/src/components/checkbox/checkbox.types.js +2 -0
- package/dist/src/components/checkbox/checkbox.types.js.map +1 -0
- package/dist/src/components/checkbox/index.d.ts +3 -0
- package/dist/src/components/checkbox/index.d.ts.map +1 -0
- package/dist/src/components/checkbox/index.js +2 -0
- package/dist/src/components/checkbox/index.js.map +1 -0
- package/dist/src/components/combobox/combobox-skeleton.d.ts +42 -0
- package/dist/src/components/combobox/combobox-skeleton.d.ts.map +1 -0
- package/dist/src/components/combobox/combobox-skeleton.js +24 -0
- package/dist/src/components/combobox/combobox-skeleton.js.map +1 -0
- package/dist/src/components/combobox/combobox.d.ts +57 -0
- package/dist/src/components/combobox/combobox.d.ts.map +1 -0
- package/dist/src/components/combobox/combobox.js +26 -0
- package/dist/src/components/combobox/combobox.js.map +1 -0
- package/dist/src/components/combobox/combobox.stories.d.ts +31 -0
- package/dist/src/components/combobox/combobox.stories.d.ts.map +1 -0
- package/dist/src/components/combobox/combobox.stories.js +194 -0
- package/dist/src/components/combobox/combobox.stories.js.map +1 -0
- package/dist/src/components/combobox/combobox.test.d.ts +2 -0
- package/dist/src/components/combobox/combobox.test.d.ts.map +1 -0
- package/dist/src/components/combobox/combobox.test.js +132 -0
- package/dist/src/components/combobox/combobox.test.js.map +1 -0
- package/dist/src/components/combobox/combobox.types.d.ts +53 -0
- package/dist/src/components/combobox/combobox.types.d.ts.map +1 -0
- package/dist/src/components/combobox/combobox.types.js +2 -0
- package/dist/src/components/combobox/combobox.types.js.map +1 -0
- package/dist/src/components/combobox/index.d.ts +4 -0
- package/dist/src/components/combobox/index.d.ts.map +1 -0
- package/dist/src/components/combobox/index.js +3 -0
- package/dist/src/components/combobox/index.js.map +1 -0
- package/dist/src/components/command/command.d.ts +83 -0
- package/dist/src/components/command/command.d.ts.map +1 -0
- package/dist/src/components/command/command.js +30 -0
- package/dist/src/components/command/command.js.map +1 -0
- package/dist/src/components/command/command.stories.d.ts +43 -0
- package/dist/src/components/command/command.stories.d.ts.map +1 -0
- package/dist/src/components/command/command.stories.js +85 -0
- package/dist/src/components/command/command.stories.js.map +1 -0
- package/dist/src/components/command/command.test.d.ts +2 -0
- package/dist/src/components/command/command.test.d.ts.map +1 -0
- package/dist/src/components/command/command.test.js +139 -0
- package/dist/src/components/command/command.test.js.map +1 -0
- package/dist/src/components/command/index.d.ts +2 -0
- package/dist/src/components/command/index.d.ts.map +1 -0
- package/dist/src/components/command/index.js +2 -0
- package/dist/src/components/command/index.js.map +1 -0
- package/dist/src/components/data-table/column-filters.d.ts +15 -0
- package/dist/src/components/data-table/column-filters.d.ts.map +1 -0
- package/dist/src/components/data-table/column-filters.js +51 -0
- package/dist/src/components/data-table/column-filters.js.map +1 -0
- package/dist/src/components/data-table/column-header-filter.d.ts +14 -0
- package/dist/src/components/data-table/column-header-filter.d.ts.map +1 -0
- package/dist/src/components/data-table/column-header-filter.js +70 -0
- package/dist/src/components/data-table/column-header-filter.js.map +1 -0
- package/dist/src/components/data-table/data-table-skeleton.d.ts +50 -0
- package/dist/src/components/data-table/data-table-skeleton.d.ts.map +1 -0
- package/dist/src/components/data-table/data-table-skeleton.js +42 -0
- package/dist/src/components/data-table/data-table-skeleton.js.map +1 -0
- package/dist/src/components/data-table/data-table.d.ts +24 -0
- package/dist/src/components/data-table/data-table.d.ts.map +1 -0
- package/dist/src/components/data-table/data-table.js +311 -0
- package/dist/src/components/data-table/data-table.js.map +1 -0
- package/dist/src/components/data-table/data-table.stories.d.ts +123 -0
- package/dist/src/components/data-table/data-table.stories.d.ts.map +1 -0
- package/dist/src/components/data-table/data-table.stories.js +806 -0
- package/dist/src/components/data-table/data-table.stories.js.map +1 -0
- package/dist/src/components/data-table/data-table.test.d.ts +6 -0
- package/dist/src/components/data-table/data-table.test.d.ts.map +1 -0
- package/dist/src/components/data-table/data-table.test.js +335 -0
- package/dist/src/components/data-table/data-table.test.js.map +1 -0
- package/dist/src/components/data-table/data-table.types.d.ts +304 -0
- package/dist/src/components/data-table/data-table.types.d.ts.map +1 -0
- package/dist/src/components/data-table/data-table.types.js +6 -0
- package/dist/src/components/data-table/data-table.types.js.map +1 -0
- package/dist/src/components/data-table/index.d.ts +7 -0
- package/dist/src/components/data-table/index.d.ts.map +1 -0
- package/dist/src/components/data-table/index.js +6 -0
- package/dist/src/components/data-table/index.js.map +1 -0
- package/dist/src/components/data-table/types.d.ts +296 -0
- package/dist/src/components/data-table/types.d.ts.map +1 -0
- package/dist/src/components/data-table/types.js +6 -0
- package/dist/src/components/data-table/types.js.map +1 -0
- package/dist/src/components/data-table/useTableState.d.ts +28 -0
- package/dist/src/components/data-table/useTableState.d.ts.map +1 -0
- package/dist/src/components/data-table/useTableState.js +223 -0
- package/dist/src/components/data-table/useTableState.js.map +1 -0
- package/dist/src/components/date-picker/date-picker.d.ts +27 -0
- package/dist/src/components/date-picker/date-picker.d.ts.map +1 -0
- package/dist/src/components/date-picker/date-picker.js +22 -0
- package/dist/src/components/date-picker/date-picker.js.map +1 -0
- package/dist/src/components/date-picker/date-picker.stories.d.ts +44 -0
- package/dist/src/components/date-picker/date-picker.stories.d.ts.map +1 -0
- package/dist/src/components/date-picker/date-picker.stories.js +165 -0
- package/dist/src/components/date-picker/date-picker.stories.js.map +1 -0
- package/dist/src/components/date-picker/date-picker.test.d.ts +2 -0
- package/dist/src/components/date-picker/date-picker.test.d.ts.map +1 -0
- package/dist/src/components/date-picker/date-picker.test.js +247 -0
- package/dist/src/components/date-picker/date-picker.test.js.map +1 -0
- package/dist/src/components/date-picker/date-picker.types.d.ts +25 -0
- package/dist/src/components/date-picker/date-picker.types.d.ts.map +1 -0
- package/dist/src/components/date-picker/date-picker.types.js +2 -0
- package/dist/src/components/date-picker/date-picker.types.js.map +1 -0
- package/dist/src/components/date-picker/index.d.ts +3 -0
- package/dist/src/components/date-picker/index.d.ts.map +1 -0
- package/dist/src/components/date-picker/index.js +2 -0
- package/dist/src/components/date-picker/index.js.map +1 -0
- package/dist/src/components/design-system/category-section.d.ts +8 -0
- package/dist/src/components/design-system/category-section.d.ts.map +1 -0
- package/dist/src/components/design-system/category-section.js +7 -0
- package/dist/src/components/design-system/category-section.js.map +1 -0
- package/dist/src/components/design-system/component-preview-card.d.ts +8 -0
- package/dist/src/components/design-system/component-preview-card.d.ts.map +1 -0
- package/dist/src/components/design-system/component-preview-card.js +6 -0
- package/dist/src/components/design-system/component-preview-card.js.map +1 -0
- package/dist/src/components/design-system/design-system-utils.d.ts +15 -0
- package/dist/src/components/design-system/design-system-utils.d.ts.map +1 -0
- package/dist/src/components/design-system/design-system-utils.js +103 -0
- package/dist/src/components/design-system/design-system-utils.js.map +1 -0
- package/dist/src/components/design-system/overview.d.ts +2 -0
- package/dist/src/components/design-system/overview.d.ts.map +1 -0
- package/dist/src/components/design-system/overview.js +173 -0
- package/dist/src/components/design-system/overview.js.map +1 -0
- package/dist/src/components/design-system/phase-5-skeletons.stories.d.ts +29 -0
- package/dist/src/components/design-system/phase-5-skeletons.stories.d.ts.map +1 -0
- package/dist/src/components/design-system/phase-5-skeletons.stories.js +76 -0
- package/dist/src/components/design-system/phase-5-skeletons.stories.js.map +1 -0
- package/dist/src/components/design-system.stories.d.ts +15 -0
- package/dist/src/components/design-system.stories.d.ts.map +1 -0
- package/dist/src/components/design-system.stories.js +17 -0
- package/dist/src/components/design-system.stories.js.map +1 -0
- package/dist/src/components/dialog/dialog-skeleton.d.ts +45 -0
- package/dist/src/components/dialog/dialog-skeleton.d.ts.map +1 -0
- package/dist/src/components/dialog/dialog-skeleton.js +29 -0
- package/dist/src/components/dialog/dialog-skeleton.js.map +1 -0
- package/dist/src/components/dialog/dialog-skeleton.test.d.ts +2 -0
- package/dist/src/components/dialog/dialog-skeleton.test.d.ts.map +1 -0
- package/dist/src/components/dialog/dialog-skeleton.test.js +58 -0
- package/dist/src/components/dialog/dialog-skeleton.test.js.map +1 -0
- package/dist/src/components/dialog/dialog.d.ts +24 -0
- package/dist/src/components/dialog/dialog.d.ts.map +1 -0
- package/dist/src/components/dialog/dialog.js +46 -0
- package/dist/src/components/dialog/dialog.js.map +1 -0
- package/dist/src/components/dialog/dialog.stories.d.ts +18 -0
- package/dist/src/components/dialog/dialog.stories.d.ts.map +1 -0
- package/dist/src/components/dialog/dialog.stories.js +42 -0
- package/dist/src/components/dialog/dialog.stories.js.map +1 -0
- package/dist/src/components/dialog/dialog.test.d.ts +2 -0
- package/dist/src/components/dialog/dialog.test.d.ts.map +1 -0
- package/dist/src/components/dialog/dialog.test.js +45 -0
- package/dist/src/components/dialog/dialog.test.js.map +1 -0
- package/dist/src/components/dialog/index.d.ts +4 -0
- package/dist/src/components/dialog/index.d.ts.map +1 -0
- package/dist/src/components/dialog/index.js +3 -0
- package/dist/src/components/dialog/index.js.map +1 -0
- package/dist/src/components/dnd/dnd.d.ts +116 -0
- package/dist/src/components/dnd/dnd.d.ts.map +1 -0
- package/dist/src/components/dnd/dnd.js +157 -0
- package/dist/src/components/dnd/dnd.js.map +1 -0
- package/dist/src/components/dnd/dnd.stories.d.ts +27 -0
- package/dist/src/components/dnd/dnd.stories.d.ts.map +1 -0
- package/dist/src/components/dnd/dnd.stories.js +513 -0
- package/dist/src/components/dnd/dnd.stories.js.map +1 -0
- package/dist/src/components/dnd/dnd.test.d.ts +2 -0
- package/dist/src/components/dnd/dnd.test.d.ts.map +1 -0
- package/dist/src/components/dnd/dnd.test.js +142 -0
- package/dist/src/components/dnd/dnd.test.js.map +1 -0
- package/dist/src/components/dnd/index.d.ts +2 -0
- package/dist/src/components/dnd/index.d.ts.map +1 -0
- package/dist/src/components/dnd/index.js +2 -0
- package/dist/src/components/dnd/index.js.map +1 -0
- package/dist/src/components/drawer/drawer-skeleton.d.ts +33 -0
- package/dist/src/components/drawer/drawer-skeleton.d.ts.map +1 -0
- package/dist/src/components/drawer/drawer-skeleton.js +25 -0
- package/dist/src/components/drawer/drawer-skeleton.js.map +1 -0
- package/dist/src/components/drawer/drawer-skeleton.test.d.ts +2 -0
- package/dist/src/components/drawer/drawer-skeleton.test.d.ts.map +1 -0
- package/dist/src/components/drawer/drawer-skeleton.test.js +59 -0
- package/dist/src/components/drawer/drawer-skeleton.test.js.map +1 -0
- package/dist/src/components/drawer/drawer.d.ts +14 -0
- package/dist/src/components/drawer/drawer.d.ts.map +1 -0
- package/dist/src/components/drawer/drawer.js +45 -0
- package/dist/src/components/drawer/drawer.js.map +1 -0
- package/dist/src/components/drawer/drawer.stories.d.ts +16 -0
- package/dist/src/components/drawer/drawer.stories.d.ts.map +1 -0
- package/dist/src/components/drawer/drawer.stories.js +44 -0
- package/dist/src/components/drawer/drawer.stories.js.map +1 -0
- package/dist/src/components/drawer/drawer.test.d.ts +2 -0
- package/dist/src/components/drawer/drawer.test.d.ts.map +1 -0
- package/dist/src/components/drawer/drawer.test.js +11 -0
- package/dist/src/components/drawer/drawer.test.js.map +1 -0
- package/dist/src/components/drawer/index.d.ts +4 -0
- package/dist/src/components/drawer/index.d.ts.map +1 -0
- package/dist/src/components/drawer/index.js +3 -0
- package/dist/src/components/drawer/index.js.map +1 -0
- package/dist/src/components/dropdown-menu/dropdown-menu.d.ts +26 -0
- package/dist/src/components/dropdown-menu/dropdown-menu.d.ts.map +1 -0
- package/dist/src/components/dropdown-menu/dropdown-menu.js +53 -0
- package/dist/src/components/dropdown-menu/dropdown-menu.js.map +1 -0
- package/dist/src/components/dropdown-menu/dropdown-menu.stories.d.ts +19 -0
- package/dist/src/components/dropdown-menu/dropdown-menu.stories.d.ts.map +1 -0
- package/dist/src/components/dropdown-menu/dropdown-menu.stories.js +47 -0
- package/dist/src/components/dropdown-menu/dropdown-menu.stories.js.map +1 -0
- package/dist/src/components/dropdown-menu/dropdown-menu.test.d.ts +2 -0
- package/dist/src/components/dropdown-menu/dropdown-menu.test.d.ts.map +1 -0
- package/dist/src/components/dropdown-menu/dropdown-menu.test.js +47 -0
- package/dist/src/components/dropdown-menu/dropdown-menu.test.js.map +1 -0
- package/dist/src/components/dropdown-menu/index.d.ts +2 -0
- package/dist/src/components/dropdown-menu/index.d.ts.map +1 -0
- package/dist/src/components/dropdown-menu/index.js +2 -0
- package/dist/src/components/dropdown-menu/index.js.map +1 -0
- package/dist/src/components/empty-state/empty-state-skeleton.d.ts +32 -0
- package/dist/src/components/empty-state/empty-state-skeleton.d.ts.map +1 -0
- package/dist/src/components/empty-state/empty-state-skeleton.js +29 -0
- package/dist/src/components/empty-state/empty-state-skeleton.js.map +1 -0
- package/dist/src/components/empty-state/empty-state.d.ts +25 -0
- package/dist/src/components/empty-state/empty-state.d.ts.map +1 -0
- package/dist/src/components/empty-state/empty-state.js +36 -0
- package/dist/src/components/empty-state/empty-state.js.map +1 -0
- package/dist/src/components/empty-state/empty-state.stories.d.ts +16 -0
- package/dist/src/components/empty-state/empty-state.stories.d.ts.map +1 -0
- package/dist/src/components/empty-state/empty-state.stories.js +46 -0
- package/dist/src/components/empty-state/empty-state.stories.js.map +1 -0
- package/dist/src/components/empty-state/empty-state.test.d.ts +2 -0
- package/dist/src/components/empty-state/empty-state.test.d.ts.map +1 -0
- package/dist/src/components/empty-state/empty-state.test.js +51 -0
- package/dist/src/components/empty-state/empty-state.test.js.map +1 -0
- package/dist/src/components/empty-state/empty-state.types.d.ts +20 -0
- package/dist/src/components/empty-state/empty-state.types.d.ts.map +1 -0
- package/dist/src/components/empty-state/empty-state.types.js +2 -0
- package/dist/src/components/empty-state/empty-state.types.js.map +1 -0
- package/dist/src/components/empty-state/index.d.ts +3 -0
- package/dist/src/components/empty-state/index.d.ts.map +1 -0
- package/dist/src/components/empty-state/index.js +3 -0
- package/dist/src/components/empty-state/index.js.map +1 -0
- package/dist/src/components/error-boundary/error-boundary.d.ts +42 -0
- package/dist/src/components/error-boundary/error-boundary.d.ts.map +1 -0
- package/dist/src/components/error-boundary/error-boundary.js +55 -0
- package/dist/src/components/error-boundary/error-boundary.js.map +1 -0
- package/dist/src/components/error-boundary/error-boundary.stories.d.ts +16 -0
- package/dist/src/components/error-boundary/error-boundary.stories.d.ts.map +1 -0
- package/dist/src/components/error-boundary/error-boundary.stories.js +34 -0
- package/dist/src/components/error-boundary/error-boundary.stories.js.map +1 -0
- package/dist/src/components/error-boundary/error-boundary.test.d.ts +2 -0
- package/dist/src/components/error-boundary/error-boundary.test.d.ts.map +1 -0
- package/dist/src/components/error-boundary/error-boundary.test.js +182 -0
- package/dist/src/components/error-boundary/error-boundary.test.js.map +1 -0
- package/dist/src/components/error-boundary/error-fallback.d.ts +43 -0
- package/dist/src/components/error-boundary/error-fallback.d.ts.map +1 -0
- package/dist/src/components/error-boundary/error-fallback.js +36 -0
- package/dist/src/components/error-boundary/error-fallback.js.map +1 -0
- package/dist/src/components/error-boundary/index.d.ts +5 -0
- package/dist/src/components/error-boundary/index.d.ts.map +1 -0
- package/dist/src/components/error-boundary/index.js +3 -0
- package/dist/src/components/error-boundary/index.js.map +1 -0
- package/dist/src/components/field/field-skeleton.d.ts +29 -0
- package/dist/src/components/field/field-skeleton.d.ts.map +1 -0
- package/dist/src/components/field/field-skeleton.js +23 -0
- package/dist/src/components/field/field-skeleton.js.map +1 -0
- package/dist/src/components/field/field.d.ts +25 -0
- package/dist/src/components/field/field.d.ts.map +1 -0
- package/dist/src/components/field/field.js +77 -0
- package/dist/src/components/field/field.js.map +1 -0
- package/dist/src/components/field/field.stories.d.ts +19 -0
- package/dist/src/components/field/field.stories.d.ts.map +1 -0
- package/dist/src/components/field/field.stories.js +49 -0
- package/dist/src/components/field/field.stories.js.map +1 -0
- package/dist/src/components/field/field.test.d.ts +2 -0
- package/dist/src/components/field/field.test.d.ts.map +1 -0
- package/dist/src/components/field/field.test.js +42 -0
- package/dist/src/components/field/field.test.js.map +1 -0
- package/dist/src/components/field/index.d.ts +4 -0
- package/dist/src/components/field/index.d.ts.map +1 -0
- package/dist/src/components/field/index.js +3 -0
- package/dist/src/components/field/index.js.map +1 -0
- package/dist/src/components/file-upload/file-upload-skeleton.d.ts +38 -0
- package/dist/src/components/file-upload/file-upload-skeleton.d.ts.map +1 -0
- package/dist/src/components/file-upload/file-upload-skeleton.js +23 -0
- package/dist/src/components/file-upload/file-upload-skeleton.js.map +1 -0
- package/dist/src/components/file-upload/file-upload.d.ts +14 -0
- package/dist/src/components/file-upload/file-upload.d.ts.map +1 -0
- package/dist/src/components/file-upload/file-upload.js +62 -0
- package/dist/src/components/file-upload/file-upload.js.map +1 -0
- package/dist/src/components/file-upload/file-upload.stories.d.ts +12 -0
- package/dist/src/components/file-upload/file-upload.stories.d.ts.map +1 -0
- package/dist/src/components/file-upload/file-upload.stories.js +48 -0
- package/dist/src/components/file-upload/file-upload.stories.js.map +1 -0
- package/dist/src/components/file-upload/file-upload.test.d.ts +2 -0
- package/dist/src/components/file-upload/file-upload.test.d.ts.map +1 -0
- package/dist/src/components/file-upload/file-upload.test.js +59 -0
- package/dist/src/components/file-upload/file-upload.test.js.map +1 -0
- package/dist/src/components/file-upload/file-upload.types.d.ts +13 -0
- package/dist/src/components/file-upload/file-upload.types.d.ts.map +1 -0
- package/dist/src/components/file-upload/file-upload.types.js +2 -0
- package/dist/src/components/file-upload/file-upload.types.js.map +1 -0
- package/dist/src/components/file-upload/index.d.ts +4 -0
- package/dist/src/components/file-upload/index.d.ts.map +1 -0
- package/dist/src/components/file-upload/index.js +3 -0
- package/dist/src/components/file-upload/index.js.map +1 -0
- package/dist/src/components/footer/footer.d.ts +38 -0
- package/dist/src/components/footer/footer.d.ts.map +1 -0
- package/dist/src/components/footer/footer.js +11 -0
- package/dist/src/components/footer/footer.js.map +1 -0
- package/dist/src/components/footer/footer.stories.d.ts +14 -0
- package/dist/src/components/footer/footer.stories.d.ts.map +1 -0
- package/dist/src/components/footer/footer.stories.js +139 -0
- package/dist/src/components/footer/footer.stories.js.map +1 -0
- package/dist/src/components/footer/footer.test.d.ts +2 -0
- package/dist/src/components/footer/footer.test.d.ts.map +1 -0
- package/dist/src/components/footer/footer.test.js +147 -0
- package/dist/src/components/footer/footer.test.js.map +1 -0
- package/dist/src/components/footer/index.d.ts +3 -0
- package/dist/src/components/footer/index.d.ts.map +1 -0
- package/dist/src/components/footer/index.js +2 -0
- package/dist/src/components/footer/index.js.map +1 -0
- package/dist/src/components/header/header-skeleton.d.ts +55 -0
- package/dist/src/components/header/header-skeleton.d.ts.map +1 -0
- package/dist/src/components/header/header-skeleton.js +23 -0
- package/dist/src/components/header/header-skeleton.js.map +1 -0
- package/dist/src/components/header/header-skeleton.test.d.ts +2 -0
- package/dist/src/components/header/header-skeleton.test.d.ts.map +1 -0
- package/dist/src/components/header/header-skeleton.test.js +73 -0
- package/dist/src/components/header/header-skeleton.test.js.map +1 -0
- package/dist/src/components/header/header.d.ts +41 -0
- package/dist/src/components/header/header.d.ts.map +1 -0
- package/dist/src/components/header/header.js +77 -0
- package/dist/src/components/header/header.js.map +1 -0
- package/dist/src/components/header/header.stories.d.ts +10 -0
- package/dist/src/components/header/header.stories.d.ts.map +1 -0
- package/dist/src/components/header/header.stories.js +62 -0
- package/dist/src/components/header/header.stories.js.map +1 -0
- package/dist/src/components/header/header.test.d.ts +2 -0
- package/dist/src/components/header/header.test.d.ts.map +1 -0
- package/dist/src/components/header/header.test.js +80 -0
- package/dist/src/components/header/header.test.js.map +1 -0
- package/dist/src/components/header/header.types.d.ts +40 -0
- package/dist/src/components/header/header.types.d.ts.map +1 -0
- package/dist/src/components/header/header.types.js +2 -0
- package/dist/src/components/header/header.types.js.map +1 -0
- package/dist/src/components/header/index.d.ts +5 -0
- package/dist/src/components/header/index.d.ts.map +1 -0
- package/dist/src/components/header/index.js +3 -0
- package/dist/src/components/header/index.js.map +1 -0
- package/dist/src/components/input/index.d.ts +3 -0
- package/dist/src/components/input/index.d.ts.map +1 -0
- package/dist/src/components/input/index.js +2 -0
- package/dist/src/components/input/index.js.map +1 -0
- package/dist/src/components/input/input.d.ts +15 -0
- package/dist/src/components/input/input.d.ts.map +1 -0
- package/dist/src/components/input/input.js +44 -0
- package/dist/src/components/input/input.js.map +1 -0
- package/dist/src/components/input/input.stories.d.ts +42 -0
- package/dist/src/components/input/input.stories.d.ts.map +1 -0
- package/dist/src/components/input/input.stories.js +133 -0
- package/dist/src/components/input/input.stories.js.map +1 -0
- package/dist/src/components/input/input.test.d.ts +2 -0
- package/dist/src/components/input/input.test.d.ts.map +1 -0
- package/dist/src/components/input/input.test.js +191 -0
- package/dist/src/components/input/input.test.js.map +1 -0
- package/dist/src/components/input/input.types.d.ts +18 -0
- package/dist/src/components/input/input.types.d.ts.map +1 -0
- package/dist/src/components/input/input.types.js +2 -0
- package/dist/src/components/input/input.types.js.map +1 -0
- package/dist/src/components/input-group/index.d.ts +2 -0
- package/dist/src/components/input-group/index.d.ts.map +1 -0
- package/dist/src/components/input-group/index.js +2 -0
- package/dist/src/components/input-group/index.js.map +1 -0
- package/dist/src/components/input-group/input-group.d.ts +11 -0
- package/dist/src/components/input-group/input-group.d.ts.map +1 -0
- package/dist/src/components/input-group/input-group.js +25 -0
- package/dist/src/components/input-group/input-group.js.map +1 -0
- package/dist/src/components/input-group/input-group.stories.d.ts +14 -0
- package/dist/src/components/input-group/input-group.stories.d.ts.map +1 -0
- package/dist/src/components/input-group/input-group.stories.js +52 -0
- package/dist/src/components/input-group/input-group.stories.js.map +1 -0
- package/dist/src/components/input-group/input-group.test.d.ts +2 -0
- package/dist/src/components/input-group/input-group.test.d.ts.map +1 -0
- package/dist/src/components/input-group/input-group.test.js +26 -0
- package/dist/src/components/input-group/input-group.test.js.map +1 -0
- package/dist/src/components/input-otp/index.d.ts +2 -0
- package/dist/src/components/input-otp/index.d.ts.map +1 -0
- package/dist/src/components/input-otp/index.js +2 -0
- package/dist/src/components/input-otp/index.js.map +1 -0
- package/dist/src/components/input-otp/input-otp.d.ts +9 -0
- package/dist/src/components/input-otp/input-otp.d.ts.map +1 -0
- package/dist/src/components/input-otp/input-otp.js +24 -0
- package/dist/src/components/input-otp/input-otp.js.map +1 -0
- package/dist/src/components/input-otp/input-otp.stories.d.ts +10 -0
- package/dist/src/components/input-otp/input-otp.stories.d.ts.map +1 -0
- package/dist/src/components/input-otp/input-otp.stories.js +39 -0
- package/dist/src/components/input-otp/input-otp.stories.js.map +1 -0
- package/dist/src/components/input-otp/input-otp.test.d.ts +2 -0
- package/dist/src/components/input-otp/input-otp.test.d.ts.map +1 -0
- package/dist/src/components/input-otp/input-otp.test.js +34 -0
- package/dist/src/components/input-otp/input-otp.test.js.map +1 -0
- package/dist/src/components/label/index.d.ts +3 -0
- package/dist/src/components/label/index.d.ts.map +1 -0
- package/dist/src/components/label/index.js +2 -0
- package/dist/src/components/label/index.js.map +1 -0
- package/dist/src/components/label/label.d.ts +6 -0
- package/dist/src/components/label/label.d.ts.map +1 -0
- package/dist/src/components/label/label.js +11 -0
- package/dist/src/components/label/label.js.map +1 -0
- package/dist/src/components/label/label.stories.d.ts +10 -0
- package/dist/src/components/label/label.stories.d.ts.map +1 -0
- package/dist/src/components/label/label.stories.js +40 -0
- package/dist/src/components/label/label.stories.js.map +1 -0
- package/dist/src/components/label/label.test.d.ts +2 -0
- package/dist/src/components/label/label.test.d.ts.map +1 -0
- package/dist/src/components/label/label.test.js +44 -0
- package/dist/src/components/label/label.test.js.map +1 -0
- package/dist/src/components/label/label.types.d.ts +8 -0
- package/dist/src/components/label/label.types.d.ts.map +1 -0
- package/dist/src/components/label/label.types.js +2 -0
- package/dist/src/components/label/label.types.js.map +1 -0
- package/dist/src/components/list/index.d.ts +4 -0
- package/dist/src/components/list/index.d.ts.map +1 -0
- package/dist/src/components/list/index.js +3 -0
- package/dist/src/components/list/index.js.map +1 -0
- package/dist/src/components/list/list-skeleton.d.ts +32 -0
- package/dist/src/components/list/list-skeleton.d.ts.map +1 -0
- package/dist/src/components/list/list-skeleton.js +60 -0
- package/dist/src/components/list/list-skeleton.js.map +1 -0
- package/dist/src/components/list/list.d.ts +123 -0
- package/dist/src/components/list/list.d.ts.map +1 -0
- package/dist/src/components/list/list.js +65 -0
- package/dist/src/components/list/list.js.map +1 -0
- package/dist/src/components/list/list.stories.d.ts +26 -0
- package/dist/src/components/list/list.stories.d.ts.map +1 -0
- package/dist/src/components/list/list.stories.js +61 -0
- package/dist/src/components/list/list.stories.js.map +1 -0
- package/dist/src/components/list/list.test.d.ts +2 -0
- package/dist/src/components/list/list.test.d.ts.map +1 -0
- package/dist/src/components/list/list.test.js +224 -0
- package/dist/src/components/list/list.test.js.map +1 -0
- package/dist/src/components/list/list.types.d.ts +76 -0
- package/dist/src/components/list/list.types.d.ts.map +1 -0
- package/dist/src/components/list/list.types.js +2 -0
- package/dist/src/components/list/list.types.js.map +1 -0
- package/dist/src/components/loading/index.d.ts +5 -0
- package/dist/src/components/loading/index.d.ts.map +1 -0
- package/dist/src/components/loading/index.js +3 -0
- package/dist/src/components/loading/index.js.map +1 -0
- package/dist/src/components/loading/loading.stories.d.ts +15 -0
- package/dist/src/components/loading/loading.stories.d.ts.map +1 -0
- package/dist/src/components/loading/loading.stories.js +49 -0
- package/dist/src/components/loading/loading.stories.js.map +1 -0
- package/dist/src/components/loading/loading.test.d.ts +2 -0
- package/dist/src/components/loading/loading.test.d.ts.map +1 -0
- package/dist/src/components/loading/loading.test.js +65 -0
- package/dist/src/components/loading/loading.test.js.map +1 -0
- package/dist/src/components/loading/page-loader.d.ts +20 -0
- package/dist/src/components/loading/page-loader.d.ts.map +1 -0
- package/dist/src/components/loading/page-loader.js +18 -0
- package/dist/src/components/loading/page-loader.js.map +1 -0
- package/dist/src/components/loading/section-loader.d.ts +24 -0
- package/dist/src/components/loading/section-loader.d.ts.map +1 -0
- package/dist/src/components/loading/section-loader.js +18 -0
- package/dist/src/components/loading/section-loader.js.map +1 -0
- package/dist/src/components/loading/skeleton-card.d.ts +24 -0
- package/dist/src/components/loading/skeleton-card.d.ts.map +1 -0
- package/dist/src/components/loading/skeleton-card.js +21 -0
- package/dist/src/components/loading/skeleton-card.js.map +1 -0
- package/dist/src/components/loading/skeleton-text.d.ts +24 -0
- package/dist/src/components/loading/skeleton-text.d.ts.map +1 -0
- package/dist/src/components/loading/skeleton-text.js +23 -0
- package/dist/src/components/loading/skeleton-text.js.map +1 -0
- package/dist/src/components/menubar/index.d.ts +2 -0
- package/dist/src/components/menubar/index.d.ts.map +1 -0
- package/dist/src/components/menubar/index.js +2 -0
- package/dist/src/components/menubar/index.js.map +1 -0
- package/dist/src/components/menubar/menubar.d.ts +27 -0
- package/dist/src/components/menubar/menubar.d.ts.map +1 -0
- package/dist/src/components/menubar/menubar.js +55 -0
- package/dist/src/components/menubar/menubar.js.map +1 -0
- package/dist/src/components/menubar/menubar.stories.d.ts +22 -0
- package/dist/src/components/menubar/menubar.stories.d.ts.map +1 -0
- package/dist/src/components/menubar/menubar.stories.js +61 -0
- package/dist/src/components/menubar/menubar.stories.js.map +1 -0
- package/dist/src/components/menubar/menubar.test.d.ts +2 -0
- package/dist/src/components/menubar/menubar.test.d.ts.map +1 -0
- package/dist/src/components/menubar/menubar.test.js +219 -0
- package/dist/src/components/menubar/menubar.test.js.map +1 -0
- package/dist/src/components/metric-card/__tests__/metric-card.test.d.ts +2 -0
- package/dist/src/components/metric-card/__tests__/metric-card.test.d.ts.map +1 -0
- package/dist/src/components/metric-card/__tests__/metric-card.test.js +173 -0
- package/dist/src/components/metric-card/__tests__/metric-card.test.js.map +1 -0
- package/dist/src/components/metric-card/index.d.ts +3 -0
- package/dist/src/components/metric-card/index.d.ts.map +1 -0
- package/dist/src/components/metric-card/index.js +3 -0
- package/dist/src/components/metric-card/index.js.map +1 -0
- package/dist/src/components/metric-card/metric-card-skeleton.d.ts +32 -0
- package/dist/src/components/metric-card/metric-card-skeleton.d.ts.map +1 -0
- package/dist/src/components/metric-card/metric-card-skeleton.js +30 -0
- package/dist/src/components/metric-card/metric-card-skeleton.js.map +1 -0
- package/dist/src/components/metric-card/metric-card.d.ts +17 -0
- package/dist/src/components/metric-card/metric-card.d.ts.map +1 -0
- package/dist/src/components/metric-card/metric-card.js +57 -0
- package/dist/src/components/metric-card/metric-card.js.map +1 -0
- package/dist/src/components/metric-card/metric-card.stories.d.ts +56 -0
- package/dist/src/components/metric-card/metric-card.stories.d.ts.map +1 -0
- package/dist/src/components/metric-card/metric-card.stories.js +184 -0
- package/dist/src/components/metric-card/metric-card.stories.js.map +1 -0
- package/dist/src/components/metric-card/metric-card.test.d.ts +2 -0
- package/dist/src/components/metric-card/metric-card.test.d.ts.map +1 -0
- package/dist/src/components/metric-card/metric-card.test.js +129 -0
- package/dist/src/components/metric-card/metric-card.test.js.map +1 -0
- package/dist/src/components/metric-card/metric-card.types.d.ts +15 -0
- package/dist/src/components/metric-card/metric-card.types.d.ts.map +1 -0
- package/dist/src/components/metric-card/metric-card.types.js +2 -0
- package/dist/src/components/metric-card/metric-card.types.js.map +1 -0
- package/dist/src/components/multi-select/index.d.ts +4 -0
- package/dist/src/components/multi-select/index.d.ts.map +1 -0
- package/dist/src/components/multi-select/index.js +3 -0
- package/dist/src/components/multi-select/index.js.map +1 -0
- package/dist/src/components/multi-select/multi-select-skeleton.d.ts +38 -0
- package/dist/src/components/multi-select/multi-select-skeleton.d.ts.map +1 -0
- package/dist/src/components/multi-select/multi-select-skeleton.js +24 -0
- package/dist/src/components/multi-select/multi-select-skeleton.js.map +1 -0
- package/dist/src/components/multi-select/multi-select.d.ts +89 -0
- package/dist/src/components/multi-select/multi-select.d.ts.map +1 -0
- package/dist/src/components/multi-select/multi-select.js +94 -0
- package/dist/src/components/multi-select/multi-select.js.map +1 -0
- package/dist/src/components/multi-select/multi-select.stories.d.ts +36 -0
- package/dist/src/components/multi-select/multi-select.stories.d.ts.map +1 -0
- package/dist/src/components/multi-select/multi-select.stories.js +291 -0
- package/dist/src/components/multi-select/multi-select.stories.js.map +1 -0
- package/dist/src/components/multi-select/multi-select.test.d.ts +2 -0
- package/dist/src/components/multi-select/multi-select.test.d.ts.map +1 -0
- package/dist/src/components/multi-select/multi-select.test.js +139 -0
- package/dist/src/components/multi-select/multi-select.test.js.map +1 -0
- package/dist/src/components/multi-select/multi-select.types.d.ts +75 -0
- package/dist/src/components/multi-select/multi-select.types.d.ts.map +1 -0
- package/dist/src/components/multi-select/multi-select.types.js +2 -0
- package/dist/src/components/multi-select/multi-select.types.js.map +1 -0
- package/dist/src/components/navigation/index.d.ts +5 -0
- package/dist/src/components/navigation/index.d.ts.map +1 -0
- package/dist/src/components/navigation/index.js +3 -0
- package/dist/src/components/navigation/index.js.map +1 -0
- package/dist/src/components/navigation/navigation-skeleton.d.ts +55 -0
- package/dist/src/components/navigation/navigation-skeleton.d.ts.map +1 -0
- package/dist/src/components/navigation/navigation-skeleton.js +23 -0
- package/dist/src/components/navigation/navigation-skeleton.js.map +1 -0
- package/dist/src/components/navigation/navigation-skeleton.test.d.ts +2 -0
- package/dist/src/components/navigation/navigation-skeleton.test.d.ts.map +1 -0
- package/dist/src/components/navigation/navigation-skeleton.test.js +64 -0
- package/dist/src/components/navigation/navigation-skeleton.test.js.map +1 -0
- package/dist/src/components/navigation/navigation.d.ts +27 -0
- package/dist/src/components/navigation/navigation.d.ts.map +1 -0
- package/dist/src/components/navigation/navigation.js +46 -0
- package/dist/src/components/navigation/navigation.js.map +1 -0
- package/dist/src/components/navigation/navigation.stories.d.ts +12 -0
- package/dist/src/components/navigation/navigation.stories.d.ts.map +1 -0
- package/dist/src/components/navigation/navigation.stories.js +89 -0
- package/dist/src/components/navigation/navigation.stories.js.map +1 -0
- package/dist/src/components/navigation/navigation.test.d.ts +2 -0
- package/dist/src/components/navigation/navigation.test.d.ts.map +1 -0
- package/dist/src/components/navigation/navigation.test.js +104 -0
- package/dist/src/components/navigation/navigation.test.js.map +1 -0
- package/dist/src/components/navigation-menu/index.d.ts +2 -0
- package/dist/src/components/navigation-menu/index.d.ts.map +1 -0
- package/dist/src/components/navigation-menu/index.js +2 -0
- package/dist/src/components/navigation-menu/index.js.map +1 -0
- package/dist/src/components/navigation-menu/navigation-menu.d.ts +39 -0
- package/dist/src/components/navigation-menu/navigation-menu.d.ts.map +1 -0
- package/dist/src/components/navigation-menu/navigation-menu.js +40 -0
- package/dist/src/components/navigation-menu/navigation-menu.js.map +1 -0
- package/dist/src/components/navigation-menu/navigation-menu.stories.d.ts +23 -0
- package/dist/src/components/navigation-menu/navigation-menu.stories.d.ts.map +1 -0
- package/dist/src/components/navigation-menu/navigation-menu.stories.js +94 -0
- package/dist/src/components/navigation-menu/navigation-menu.stories.js.map +1 -0
- package/dist/src/components/navigation-menu/navigation-menu.test.d.ts +2 -0
- package/dist/src/components/navigation-menu/navigation-menu.test.d.ts.map +1 -0
- package/dist/src/components/navigation-menu/navigation-menu.test.js +179 -0
- package/dist/src/components/navigation-menu/navigation-menu.test.js.map +1 -0
- package/dist/src/components/page-transition/index.d.ts +3 -0
- package/dist/src/components/page-transition/index.d.ts.map +1 -0
- package/dist/src/components/page-transition/index.js +2 -0
- package/dist/src/components/page-transition/index.js.map +1 -0
- package/dist/src/components/page-transition/page-transition.d.ts +39 -0
- package/dist/src/components/page-transition/page-transition.d.ts.map +1 -0
- package/dist/src/components/page-transition/page-transition.js +35 -0
- package/dist/src/components/page-transition/page-transition.js.map +1 -0
- package/dist/src/components/page-transition/page-transition.stories.d.ts +39 -0
- package/dist/src/components/page-transition/page-transition.stories.d.ts.map +1 -0
- package/dist/src/components/page-transition/page-transition.stories.js +95 -0
- package/dist/src/components/page-transition/page-transition.stories.js.map +1 -0
- package/dist/src/components/page-transition/page-transition.test.d.ts +2 -0
- package/dist/src/components/page-transition/page-transition.test.d.ts.map +1 -0
- package/dist/src/components/page-transition/page-transition.test.js +121 -0
- package/dist/src/components/page-transition/page-transition.test.js.map +1 -0
- package/dist/src/components/page-transition/page-transition.types.d.ts +21 -0
- package/dist/src/components/page-transition/page-transition.types.d.ts.map +1 -0
- package/dist/src/components/page-transition/page-transition.types.js +2 -0
- package/dist/src/components/page-transition/page-transition.types.js.map +1 -0
- package/dist/src/components/pagination/index.d.ts +4 -0
- package/dist/src/components/pagination/index.d.ts.map +1 -0
- package/dist/src/components/pagination/index.js +3 -0
- package/dist/src/components/pagination/index.js.map +1 -0
- package/dist/src/components/pagination/pagination-skeleton.d.ts +45 -0
- package/dist/src/components/pagination/pagination-skeleton.d.ts.map +1 -0
- package/dist/src/components/pagination/pagination-skeleton.js +23 -0
- package/dist/src/components/pagination/pagination-skeleton.js.map +1 -0
- package/dist/src/components/pagination/pagination-skeleton.test.d.ts +2 -0
- package/dist/src/components/pagination/pagination-skeleton.test.d.ts.map +1 -0
- package/dist/src/components/pagination/pagination-skeleton.test.js +58 -0
- package/dist/src/components/pagination/pagination-skeleton.test.js.map +1 -0
- package/dist/src/components/pagination/pagination.d.ts +80 -0
- package/dist/src/components/pagination/pagination.d.ts.map +1 -0
- package/dist/src/components/pagination/pagination.js +121 -0
- package/dist/src/components/pagination/pagination.js.map +1 -0
- package/dist/src/components/pagination/pagination.stories.d.ts +22 -0
- package/dist/src/components/pagination/pagination.stories.d.ts.map +1 -0
- package/dist/src/components/pagination/pagination.stories.js +110 -0
- package/dist/src/components/pagination/pagination.stories.js.map +1 -0
- package/dist/src/components/pagination/pagination.test.d.ts +2 -0
- package/dist/src/components/pagination/pagination.test.d.ts.map +1 -0
- package/dist/src/components/pagination/pagination.test.js +97 -0
- package/dist/src/components/pagination/pagination.test.js.map +1 -0
- package/dist/src/components/pagination/pagination.types.d.ts +58 -0
- package/dist/src/components/pagination/pagination.types.d.ts.map +1 -0
- package/dist/src/components/pagination/pagination.types.js +2 -0
- package/dist/src/components/pagination/pagination.types.js.map +1 -0
- package/dist/src/components/password-strength-indicator/index.d.ts +2 -0
- package/dist/src/components/password-strength-indicator/index.d.ts.map +1 -0
- package/dist/src/components/password-strength-indicator/index.js +2 -0
- package/dist/src/components/password-strength-indicator/index.js.map +1 -0
- package/dist/src/components/password-strength-indicator/password-strength-indicator.d.ts +7 -0
- package/dist/src/components/password-strength-indicator/password-strength-indicator.d.ts.map +1 -0
- package/dist/src/components/password-strength-indicator/password-strength-indicator.js +54 -0
- package/dist/src/components/password-strength-indicator/password-strength-indicator.js.map +1 -0
- package/dist/src/components/password-strength-indicator/password-strength-indicator.stories.d.ts +21 -0
- package/dist/src/components/password-strength-indicator/password-strength-indicator.stories.d.ts.map +1 -0
- package/dist/src/components/password-strength-indicator/password-strength-indicator.stories.js +60 -0
- package/dist/src/components/password-strength-indicator/password-strength-indicator.stories.js.map +1 -0
- package/dist/src/components/password-strength-indicator/password-strength-indicator.test.d.ts +2 -0
- package/dist/src/components/password-strength-indicator/password-strength-indicator.test.d.ts.map +1 -0
- package/dist/src/components/password-strength-indicator/password-strength-indicator.test.js +276 -0
- package/dist/src/components/password-strength-indicator/password-strength-indicator.test.js.map +1 -0
- package/dist/src/components/popover/index.d.ts +4 -0
- package/dist/src/components/popover/index.d.ts.map +1 -0
- package/dist/src/components/popover/index.js +3 -0
- package/dist/src/components/popover/index.js.map +1 -0
- package/dist/src/components/popover/popover-skeleton.d.ts +40 -0
- package/dist/src/components/popover/popover-skeleton.d.ts.map +1 -0
- package/dist/src/components/popover/popover-skeleton.js +23 -0
- package/dist/src/components/popover/popover-skeleton.js.map +1 -0
- package/dist/src/components/popover/popover-skeleton.test.d.ts +2 -0
- package/dist/src/components/popover/popover-skeleton.test.d.ts.map +1 -0
- package/dist/src/components/popover/popover-skeleton.test.js +44 -0
- package/dist/src/components/popover/popover-skeleton.test.js.map +1 -0
- package/dist/src/components/popover/popover.d.ts +26 -0
- package/dist/src/components/popover/popover.d.ts.map +1 -0
- package/dist/src/components/popover/popover.js +73 -0
- package/dist/src/components/popover/popover.js.map +1 -0
- package/dist/src/components/popover/popover.stories.d.ts +22 -0
- package/dist/src/components/popover/popover.stories.d.ts.map +1 -0
- package/dist/src/components/popover/popover.stories.js +79 -0
- package/dist/src/components/popover/popover.stories.js.map +1 -0
- package/dist/src/components/popover/popover.test.d.ts +2 -0
- package/dist/src/components/popover/popover.test.d.ts.map +1 -0
- package/dist/src/components/popover/popover.test.js +90 -0
- package/dist/src/components/popover/popover.test.js.map +1 -0
- package/dist/src/components/progress/index.d.ts +3 -0
- package/dist/src/components/progress/index.d.ts.map +1 -0
- package/dist/src/components/progress/index.js +2 -0
- package/dist/src/components/progress/index.js.map +1 -0
- package/dist/src/components/progress/progress.d.ts +16 -0
- package/dist/src/components/progress/progress.d.ts.map +1 -0
- package/dist/src/components/progress/progress.js +43 -0
- package/dist/src/components/progress/progress.js.map +1 -0
- package/dist/src/components/progress/progress.stories.d.ts +99 -0
- package/dist/src/components/progress/progress.stories.d.ts.map +1 -0
- package/dist/src/components/progress/progress.stories.js +174 -0
- package/dist/src/components/progress/progress.stories.js.map +1 -0
- package/dist/src/components/progress/progress.test.d.ts +2 -0
- package/dist/src/components/progress/progress.test.d.ts.map +1 -0
- package/dist/src/components/progress/progress.test.js +193 -0
- package/dist/src/components/progress/progress.test.js.map +1 -0
- package/dist/src/components/progress/progress.types.d.ts +59 -0
- package/dist/src/components/progress/progress.types.d.ts.map +1 -0
- package/dist/src/components/progress/progress.types.js +2 -0
- package/dist/src/components/progress/progress.types.js.map +1 -0
- package/dist/src/components/radio-group/index.d.ts +5 -0
- package/dist/src/components/radio-group/index.d.ts.map +1 -0
- package/dist/src/components/radio-group/index.js +3 -0
- package/dist/src/components/radio-group/index.js.map +1 -0
- package/dist/src/components/radio-group/radio-group-skeleton.d.ts +42 -0
- package/dist/src/components/radio-group/radio-group-skeleton.d.ts.map +1 -0
- package/dist/src/components/radio-group/radio-group-skeleton.js +23 -0
- package/dist/src/components/radio-group/radio-group-skeleton.js.map +1 -0
- package/dist/src/components/radio-group/radio-group.d.ts +32 -0
- package/dist/src/components/radio-group/radio-group.d.ts.map +1 -0
- package/dist/src/components/radio-group/radio-group.js +46 -0
- package/dist/src/components/radio-group/radio-group.js.map +1 -0
- package/dist/src/components/radio-group/radio-group.stories.d.ts +70 -0
- package/dist/src/components/radio-group/radio-group.stories.d.ts.map +1 -0
- package/dist/src/components/radio-group/radio-group.stories.js +103 -0
- package/dist/src/components/radio-group/radio-group.stories.js.map +1 -0
- package/dist/src/components/radio-group/radio-group.test.d.ts +2 -0
- package/dist/src/components/radio-group/radio-group.test.d.ts.map +1 -0
- package/dist/src/components/radio-group/radio-group.test.js +122 -0
- package/dist/src/components/radio-group/radio-group.test.js.map +1 -0
- package/dist/src/components/radio-group/radio-group.types.d.ts +29 -0
- package/dist/src/components/radio-group/radio-group.types.d.ts.map +1 -0
- package/dist/src/components/radio-group/radio-group.types.js +2 -0
- package/dist/src/components/radio-group/radio-group.types.js.map +1 -0
- package/dist/src/components/resizable/index.d.ts +2 -0
- package/dist/src/components/resizable/index.d.ts.map +1 -0
- package/dist/src/components/resizable/index.js +2 -0
- package/dist/src/components/resizable/index.js.map +1 -0
- package/dist/src/components/resizable/resizable.d.ts +12 -0
- package/dist/src/components/resizable/resizable.d.ts.map +1 -0
- package/dist/src/components/resizable/resizable.js +9 -0
- package/dist/src/components/resizable/resizable.js.map +1 -0
- package/dist/src/components/resizable/resizable.stories.d.ts +72 -0
- package/dist/src/components/resizable/resizable.stories.d.ts.map +1 -0
- package/dist/src/components/resizable/resizable.stories.js +150 -0
- package/dist/src/components/resizable/resizable.stories.js.map +1 -0
- package/dist/src/components/resizable/resizable.test.d.ts +2 -0
- package/dist/src/components/resizable/resizable.test.d.ts.map +1 -0
- package/dist/src/components/resizable/resizable.test.js +147 -0
- package/dist/src/components/resizable/resizable.test.js.map +1 -0
- package/dist/src/components/scroll-area/index.d.ts +2 -0
- package/dist/src/components/scroll-area/index.d.ts.map +1 -0
- package/dist/src/components/scroll-area/index.js +2 -0
- package/dist/src/components/scroll-area/index.js.map +1 -0
- package/dist/src/components/scroll-area/scroll-area.d.ts +6 -0
- package/dist/src/components/scroll-area/scroll-area.d.ts.map +1 -0
- package/dist/src/components/scroll-area/scroll-area.js +13 -0
- package/dist/src/components/scroll-area/scroll-area.js.map +1 -0
- package/dist/src/components/scroll-area/scroll-area.stories.d.ts +66 -0
- package/dist/src/components/scroll-area/scroll-area.stories.d.ts.map +1 -0
- package/dist/src/components/scroll-area/scroll-area.stories.js +157 -0
- package/dist/src/components/scroll-area/scroll-area.stories.js.map +1 -0
- package/dist/src/components/scroll-area/scroll-area.test.d.ts +2 -0
- package/dist/src/components/scroll-area/scroll-area.test.d.ts.map +1 -0
- package/dist/src/components/scroll-area/scroll-area.test.js +130 -0
- package/dist/src/components/scroll-area/scroll-area.test.js.map +1 -0
- package/dist/src/components/select/index.d.ts +3 -0
- package/dist/src/components/select/index.d.ts.map +1 -0
- package/dist/src/components/select/index.js +3 -0
- package/dist/src/components/select/index.js.map +1 -0
- package/dist/src/components/select/native-select.d.ts +21 -0
- package/dist/src/components/select/native-select.d.ts.map +1 -0
- package/dist/src/components/select/native-select.js +23 -0
- package/dist/src/components/select/native-select.js.map +1 -0
- package/dist/src/components/select/native-select.stories.d.ts +32 -0
- package/dist/src/components/select/native-select.stories.d.ts.map +1 -0
- package/dist/src/components/select/native-select.stories.js +96 -0
- package/dist/src/components/select/native-select.stories.js.map +1 -0
- package/dist/src/components/select/native-select.test.d.ts +2 -0
- package/dist/src/components/select/native-select.test.d.ts.map +1 -0
- package/dist/src/components/select/native-select.test.js +76 -0
- package/dist/src/components/select/native-select.test.js.map +1 -0
- package/dist/src/components/select/select.d.ts +22 -0
- package/dist/src/components/select/select.d.ts.map +1 -0
- package/dist/src/components/select/select.js +48 -0
- package/dist/src/components/select/select.js.map +1 -0
- package/dist/src/components/select/select.stories.d.ts +20 -0
- package/dist/src/components/select/select.stories.d.ts.map +1 -0
- package/dist/src/components/select/select.stories.js +88 -0
- package/dist/src/components/select/select.stories.js.map +1 -0
- package/dist/src/components/select/select.test.d.ts +2 -0
- package/dist/src/components/select/select.test.d.ts.map +1 -0
- package/dist/src/components/select/select.test.js +42 -0
- package/dist/src/components/select/select.test.js.map +1 -0
- package/dist/src/components/separator/index.d.ts +2 -0
- package/dist/src/components/separator/index.d.ts.map +1 -0
- package/dist/src/components/separator/index.js +2 -0
- package/dist/src/components/separator/index.js.map +1 -0
- package/dist/src/components/separator/separator.d.ts +5 -0
- package/dist/src/components/separator/separator.d.ts.map +1 -0
- package/dist/src/components/separator/separator.js +9 -0
- package/dist/src/components/separator/separator.js.map +1 -0
- package/dist/src/components/separator/separator.stories.d.ts +22 -0
- package/dist/src/components/separator/separator.stories.d.ts.map +1 -0
- package/dist/src/components/separator/separator.stories.js +39 -0
- package/dist/src/components/separator/separator.stories.js.map +1 -0
- package/dist/src/components/separator/separator.test.d.ts +2 -0
- package/dist/src/components/separator/separator.test.d.ts.map +1 -0
- package/dist/src/components/separator/separator.test.js +33 -0
- package/dist/src/components/separator/separator.test.js.map +1 -0
- package/dist/src/components/session-card/index.d.ts +3 -0
- package/dist/src/components/session-card/index.d.ts.map +1 -0
- package/dist/src/components/session-card/index.js +3 -0
- package/dist/src/components/session-card/index.js.map +1 -0
- package/dist/src/components/session-card/session-card-skeleton.d.ts +32 -0
- package/dist/src/components/session-card/session-card-skeleton.d.ts.map +1 -0
- package/dist/src/components/session-card/session-card-skeleton.js +29 -0
- package/dist/src/components/session-card/session-card-skeleton.js.map +1 -0
- package/dist/src/components/session-card/session-card.d.ts +27 -0
- package/dist/src/components/session-card/session-card.d.ts.map +1 -0
- package/dist/src/components/session-card/session-card.js +67 -0
- package/dist/src/components/session-card/session-card.js.map +1 -0
- package/dist/src/components/session-card/session-card.stories.d.ts +25 -0
- package/dist/src/components/session-card/session-card.stories.d.ts.map +1 -0
- package/dist/src/components/session-card/session-card.stories.js +108 -0
- package/dist/src/components/session-card/session-card.stories.js.map +1 -0
- package/dist/src/components/session-card/session-card.test.d.ts +2 -0
- package/dist/src/components/session-card/session-card.test.d.ts.map +1 -0
- package/dist/src/components/session-card/session-card.test.js +56 -0
- package/dist/src/components/session-card/session-card.test.js.map +1 -0
- package/dist/src/components/sidebar/__tests__/sidebar.test.d.ts +2 -0
- package/dist/src/components/sidebar/__tests__/sidebar.test.d.ts.map +1 -0
- package/dist/src/components/sidebar/__tests__/sidebar.test.js +135 -0
- package/dist/src/components/sidebar/__tests__/sidebar.test.js.map +1 -0
- package/dist/src/components/sidebar/index.d.ts +4 -0
- package/dist/src/components/sidebar/index.d.ts.map +1 -0
- package/dist/src/components/sidebar/index.js +3 -0
- package/dist/src/components/sidebar/index.js.map +1 -0
- package/dist/src/components/sidebar/sidebar-skeleton.d.ts +55 -0
- package/dist/src/components/sidebar/sidebar-skeleton.d.ts.map +1 -0
- package/dist/src/components/sidebar/sidebar-skeleton.js +23 -0
- package/dist/src/components/sidebar/sidebar-skeleton.js.map +1 -0
- package/dist/src/components/sidebar/sidebar-skeleton.test.d.ts +2 -0
- package/dist/src/components/sidebar/sidebar-skeleton.test.d.ts.map +1 -0
- package/dist/src/components/sidebar/sidebar-skeleton.test.js +83 -0
- package/dist/src/components/sidebar/sidebar-skeleton.test.js.map +1 -0
- package/dist/src/components/sidebar/sidebar.d.ts +45 -0
- package/dist/src/components/sidebar/sidebar.d.ts.map +1 -0
- package/dist/src/components/sidebar/sidebar.js +46 -0
- package/dist/src/components/sidebar/sidebar.js.map +1 -0
- package/dist/src/components/sidebar/sidebar.stories.d.ts +19 -0
- package/dist/src/components/sidebar/sidebar.stories.d.ts.map +1 -0
- package/dist/src/components/sidebar/sidebar.stories.js +175 -0
- package/dist/src/components/sidebar/sidebar.stories.js.map +1 -0
- package/dist/src/components/sidebar/sidebar.test.d.ts +2 -0
- package/dist/src/components/sidebar/sidebar.test.d.ts.map +1 -0
- package/dist/src/components/sidebar/sidebar.test.js +221 -0
- package/dist/src/components/sidebar/sidebar.test.js.map +1 -0
- package/dist/src/components/skeleton/form-skeleton.d.ts +100 -0
- package/dist/src/components/skeleton/form-skeleton.d.ts.map +1 -0
- package/dist/src/components/skeleton/form-skeleton.js +65 -0
- package/dist/src/components/skeleton/form-skeleton.js.map +1 -0
- package/dist/src/components/skeleton/index.d.ts +10 -0
- package/dist/src/components/skeleton/index.d.ts.map +1 -0
- package/dist/src/components/skeleton/index.js +5 -0
- package/dist/src/components/skeleton/index.js.map +1 -0
- package/dist/src/components/skeleton/skeleton-patterns.d.ts +179 -0
- package/dist/src/components/skeleton/skeleton-patterns.d.ts.map +1 -0
- package/dist/src/components/skeleton/skeleton-patterns.js +86 -0
- package/dist/src/components/skeleton/skeleton-patterns.js.map +1 -0
- package/dist/src/components/skeleton/skeleton-patterns.test.d.ts +2 -0
- package/dist/src/components/skeleton/skeleton-patterns.test.d.ts.map +1 -0
- package/dist/src/components/skeleton/skeleton-patterns.test.js +248 -0
- package/dist/src/components/skeleton/skeleton-patterns.test.js.map +1 -0
- package/dist/src/components/skeleton/skeleton-wrapper.d.ts +48 -0
- package/dist/src/components/skeleton/skeleton-wrapper.d.ts.map +1 -0
- package/dist/src/components/skeleton/skeleton-wrapper.js +43 -0
- package/dist/src/components/skeleton/skeleton-wrapper.js.map +1 -0
- package/dist/src/components/skeleton/skeleton-wrapper.test.d.ts +2 -0
- package/dist/src/components/skeleton/skeleton-wrapper.test.d.ts.map +1 -0
- package/dist/src/components/skeleton/skeleton-wrapper.test.js +141 -0
- package/dist/src/components/skeleton/skeleton-wrapper.test.js.map +1 -0
- package/dist/src/components/skeleton/skeleton.d.ts +23 -0
- package/dist/src/components/skeleton/skeleton.d.ts.map +1 -0
- package/dist/src/components/skeleton/skeleton.js +19 -0
- package/dist/src/components/skeleton/skeleton.js.map +1 -0
- package/dist/src/components/skeleton/skeleton.stories.d.ts +17 -0
- package/dist/src/components/skeleton/skeleton.stories.d.ts.map +1 -0
- package/dist/src/components/skeleton/skeleton.stories.js +78 -0
- package/dist/src/components/skeleton/skeleton.stories.js.map +1 -0
- package/dist/src/components/skeleton/skeleton.test.d.ts +2 -0
- package/dist/src/components/skeleton/skeleton.test.d.ts.map +1 -0
- package/dist/src/components/skeleton/skeleton.test.js +86 -0
- package/dist/src/components/skeleton/skeleton.test.js.map +1 -0
- package/dist/src/components/skeleton/skeleton.types.d.ts +491 -0
- package/dist/src/components/skeleton/skeleton.types.d.ts.map +1 -0
- package/dist/src/components/skeleton/skeleton.types.js +7 -0
- package/dist/src/components/skeleton/skeleton.types.js.map +1 -0
- package/dist/src/components/skeleton/types.d.ts +491 -0
- package/dist/src/components/skeleton/types.d.ts.map +1 -0
- package/dist/src/components/skeleton/types.js +7 -0
- package/dist/src/components/skeleton/types.js.map +1 -0
- package/dist/src/components/skeleton-fade/index.d.ts +3 -0
- package/dist/src/components/skeleton-fade/index.d.ts.map +1 -0
- package/dist/src/components/skeleton-fade/index.js +2 -0
- package/dist/src/components/skeleton-fade/index.js.map +1 -0
- package/dist/src/components/skeleton-fade/skeleton-fade.d.ts +44 -0
- package/dist/src/components/skeleton-fade/skeleton-fade.d.ts.map +1 -0
- package/dist/src/components/skeleton-fade/skeleton-fade.js +40 -0
- package/dist/src/components/skeleton-fade/skeleton-fade.js.map +1 -0
- package/dist/src/components/skeleton-fade/skeleton-fade.stories.d.ts +40 -0
- package/dist/src/components/skeleton-fade/skeleton-fade.stories.d.ts.map +1 -0
- package/dist/src/components/skeleton-fade/skeleton-fade.stories.js +106 -0
- package/dist/src/components/skeleton-fade/skeleton-fade.stories.js.map +1 -0
- package/dist/src/components/skeleton-fade/skeleton-fade.test.d.ts +2 -0
- package/dist/src/components/skeleton-fade/skeleton-fade.test.d.ts.map +1 -0
- package/dist/src/components/skeleton-fade/skeleton-fade.test.js +124 -0
- package/dist/src/components/skeleton-fade/skeleton-fade.test.js.map +1 -0
- package/dist/src/components/skip-to-content/index.d.ts +2 -0
- package/dist/src/components/skip-to-content/index.d.ts.map +1 -0
- package/dist/src/components/skip-to-content/index.js +2 -0
- package/dist/src/components/skip-to-content/index.js.map +1 -0
- package/dist/src/components/skip-to-content/skip-to-content.d.ts +15 -0
- package/dist/src/components/skip-to-content/skip-to-content.d.ts.map +1 -0
- package/dist/src/components/skip-to-content/skip-to-content.js +15 -0
- package/dist/src/components/skip-to-content/skip-to-content.js.map +1 -0
- package/dist/src/components/skip-to-content/skip-to-content.stories.d.ts +33 -0
- package/dist/src/components/skip-to-content/skip-to-content.stories.d.ts.map +1 -0
- package/dist/src/components/skip-to-content/skip-to-content.stories.js +42 -0
- package/dist/src/components/skip-to-content/skip-to-content.stories.js.map +1 -0
- package/dist/src/components/skip-to-content/skip-to-content.test.d.ts +2 -0
- package/dist/src/components/skip-to-content/skip-to-content.test.d.ts.map +1 -0
- package/dist/src/components/skip-to-content/skip-to-content.test.js +38 -0
- package/dist/src/components/skip-to-content/skip-to-content.test.js.map +1 -0
- package/dist/src/components/skip-to-content/skip-to-content.types.d.ts +9 -0
- package/dist/src/components/skip-to-content/skip-to-content.types.d.ts.map +1 -0
- package/dist/src/components/skip-to-content/skip-to-content.types.js +2 -0
- package/dist/src/components/skip-to-content/skip-to-content.types.js.map +1 -0
- package/dist/src/components/slider/index.d.ts +3 -0
- package/dist/src/components/slider/index.d.ts.map +1 -0
- package/dist/src/components/slider/index.js +2 -0
- package/dist/src/components/slider/index.js.map +1 -0
- package/dist/src/components/slider/slider.d.ts +5 -0
- package/dist/src/components/slider/slider.d.ts.map +1 -0
- package/dist/src/components/slider/slider.js +18 -0
- package/dist/src/components/slider/slider.js.map +1 -0
- package/dist/src/components/slider/slider.stories.d.ts +9 -0
- package/dist/src/components/slider/slider.stories.d.ts.map +1 -0
- package/dist/src/components/slider/slider.stories.js +39 -0
- package/dist/src/components/slider/slider.stories.js.map +1 -0
- package/dist/src/components/slider/slider.test.d.ts +2 -0
- package/dist/src/components/slider/slider.test.d.ts.map +1 -0
- package/dist/src/components/slider/slider.test.js +266 -0
- package/dist/src/components/slider/slider.test.js.map +1 -0
- package/dist/src/components/slider/slider.types.d.ts +7 -0
- package/dist/src/components/slider/slider.types.d.ts.map +1 -0
- package/dist/src/components/slider/slider.types.js +2 -0
- package/dist/src/components/slider/slider.types.js.map +1 -0
- package/dist/src/components/social-login-button/index.d.ts +2 -0
- package/dist/src/components/social-login-button/index.d.ts.map +1 -0
- package/dist/src/components/social-login-button/index.js +2 -0
- package/dist/src/components/social-login-button/index.js.map +1 -0
- package/dist/src/components/social-login-button/social-login-button.d.ts +22 -0
- package/dist/src/components/social-login-button/social-login-button.d.ts.map +1 -0
- package/dist/src/components/social-login-button/social-login-button.js +59 -0
- package/dist/src/components/social-login-button/social-login-button.js.map +1 -0
- package/dist/src/components/social-login-button/social-login-button.stories.d.ts +31 -0
- package/dist/src/components/social-login-button/social-login-button.stories.d.ts.map +1 -0
- package/dist/src/components/social-login-button/social-login-button.stories.js +76 -0
- package/dist/src/components/social-login-button/social-login-button.stories.js.map +1 -0
- package/dist/src/components/social-login-button/social-login-button.test.d.ts +5 -0
- package/dist/src/components/social-login-button/social-login-button.test.d.ts.map +1 -0
- package/dist/src/components/social-login-button/social-login-button.test.js +71 -0
- package/dist/src/components/social-login-button/social-login-button.test.js.map +1 -0
- package/dist/src/components/social-login-buttons/index.d.ts +2 -0
- package/dist/src/components/social-login-buttons/index.d.ts.map +1 -0
- package/dist/src/components/social-login-buttons/index.js +2 -0
- package/dist/src/components/social-login-buttons/index.js.map +1 -0
- package/dist/src/components/social-login-buttons/social-login-buttons.d.ts +35 -0
- package/dist/src/components/social-login-buttons/social-login-buttons.d.ts.map +1 -0
- package/dist/src/components/social-login-buttons/social-login-buttons.js +14 -0
- package/dist/src/components/social-login-buttons/social-login-buttons.js.map +1 -0
- package/dist/src/components/social-login-buttons/social-login-buttons.stories.d.ts +28 -0
- package/dist/src/components/social-login-buttons/social-login-buttons.stories.d.ts.map +1 -0
- package/dist/src/components/social-login-buttons/social-login-buttons.stories.js +90 -0
- package/dist/src/components/social-login-buttons/social-login-buttons.stories.js.map +1 -0
- package/dist/src/components/social-login-buttons/social-login-buttons.test.d.ts +5 -0
- package/dist/src/components/social-login-buttons/social-login-buttons.test.d.ts.map +1 -0
- package/dist/src/components/social-login-buttons/social-login-buttons.test.js +62 -0
- package/dist/src/components/social-login-buttons/social-login-buttons.test.js.map +1 -0
- package/dist/src/components/sparkline-chart/index.d.ts +3 -0
- package/dist/src/components/sparkline-chart/index.d.ts.map +1 -0
- package/dist/src/components/sparkline-chart/index.js +2 -0
- package/dist/src/components/sparkline-chart/index.js.map +1 -0
- package/dist/src/components/sparkline-chart/sparkline-chart.d.ts +52 -0
- package/dist/src/components/sparkline-chart/sparkline-chart.d.ts.map +1 -0
- package/dist/src/components/sparkline-chart/sparkline-chart.js +131 -0
- package/dist/src/components/sparkline-chart/sparkline-chart.js.map +1 -0
- package/dist/src/components/sparkline-chart/sparkline-chart.stories.d.ts +16 -0
- package/dist/src/components/sparkline-chart/sparkline-chart.stories.d.ts.map +1 -0
- package/dist/src/components/sparkline-chart/sparkline-chart.stories.js +113 -0
- package/dist/src/components/sparkline-chart/sparkline-chart.stories.js.map +1 -0
- package/dist/src/components/sparkline-chart/sparkline-chart.test.d.ts +2 -0
- package/dist/src/components/sparkline-chart/sparkline-chart.test.d.ts.map +1 -0
- package/dist/src/components/sparkline-chart/sparkline-chart.test.js +169 -0
- package/dist/src/components/sparkline-chart/sparkline-chart.test.js.map +1 -0
- package/dist/src/components/spinner/index.d.ts +2 -0
- package/dist/src/components/spinner/index.d.ts.map +1 -0
- package/dist/src/components/spinner/index.js +2 -0
- package/dist/src/components/spinner/index.js.map +1 -0
- package/dist/src/components/spinner/spinner.d.ts +12 -0
- package/dist/src/components/spinner/spinner.d.ts.map +1 -0
- package/dist/src/components/spinner/spinner.js +32 -0
- package/dist/src/components/spinner/spinner.js.map +1 -0
- package/dist/src/components/spinner/spinner.stories.d.ts +29 -0
- package/dist/src/components/spinner/spinner.stories.d.ts.map +1 -0
- package/dist/src/components/spinner/spinner.stories.js +51 -0
- package/dist/src/components/spinner/spinner.stories.js.map +1 -0
- package/dist/src/components/spinner/spinner.test.d.ts +2 -0
- package/dist/src/components/spinner/spinner.test.d.ts.map +1 -0
- package/dist/src/components/spinner/spinner.test.js +50 -0
- package/dist/src/components/spinner/spinner.test.js.map +1 -0
- package/dist/src/components/spinner/spinner.types.d.ts +7 -0
- package/dist/src/components/spinner/spinner.types.d.ts.map +1 -0
- package/dist/src/components/spinner/spinner.types.js +2 -0
- package/dist/src/components/spinner/spinner.types.js.map +1 -0
- package/dist/src/components/steps/index.d.ts +4 -0
- package/dist/src/components/steps/index.d.ts.map +1 -0
- package/dist/src/components/steps/index.js +3 -0
- package/dist/src/components/steps/index.js.map +1 -0
- package/dist/src/components/steps/steps-skeleton.d.ts +45 -0
- package/dist/src/components/steps/steps-skeleton.d.ts.map +1 -0
- package/dist/src/components/steps/steps-skeleton.js +26 -0
- package/dist/src/components/steps/steps-skeleton.js.map +1 -0
- package/dist/src/components/steps/steps-skeleton.test.d.ts +2 -0
- package/dist/src/components/steps/steps-skeleton.test.d.ts.map +1 -0
- package/dist/src/components/steps/steps-skeleton.test.js +65 -0
- package/dist/src/components/steps/steps-skeleton.test.js.map +1 -0
- package/dist/src/components/steps/steps.d.ts +23 -0
- package/dist/src/components/steps/steps.d.ts.map +1 -0
- package/dist/src/components/steps/steps.js +37 -0
- package/dist/src/components/steps/steps.js.map +1 -0
- package/dist/src/components/steps/steps.stories.d.ts +15 -0
- package/dist/src/components/steps/steps.stories.d.ts.map +1 -0
- package/dist/src/components/steps/steps.stories.js +172 -0
- package/dist/src/components/steps/steps.stories.js.map +1 -0
- package/dist/src/components/steps/steps.test.d.ts +2 -0
- package/dist/src/components/steps/steps.test.d.ts.map +1 -0
- package/dist/src/components/steps/steps.test.js +286 -0
- package/dist/src/components/steps/steps.test.js.map +1 -0
- package/dist/src/components/switch/index.d.ts +3 -0
- package/dist/src/components/switch/index.d.ts.map +1 -0
- package/dist/src/components/switch/index.js +2 -0
- package/dist/src/components/switch/index.js.map +1 -0
- package/dist/src/components/switch/switch.d.ts +4 -0
- package/dist/src/components/switch/switch.d.ts.map +1 -0
- package/dist/src/components/switch/switch.js +14 -0
- package/dist/src/components/switch/switch.js.map +1 -0
- package/dist/src/components/switch/switch.stories.d.ts +27 -0
- package/dist/src/components/switch/switch.stories.d.ts.map +1 -0
- package/dist/src/components/switch/switch.stories.js +59 -0
- package/dist/src/components/switch/switch.stories.js.map +1 -0
- package/dist/src/components/switch/switch.test.d.ts +2 -0
- package/dist/src/components/switch/switch.test.d.ts.map +1 -0
- package/dist/src/components/switch/switch.test.js +48 -0
- package/dist/src/components/switch/switch.test.js.map +1 -0
- package/dist/src/components/switch/switch.types.d.ts +7 -0
- package/dist/src/components/switch/switch.types.d.ts.map +1 -0
- package/dist/src/components/switch/switch.types.js +2 -0
- package/dist/src/components/switch/switch.types.js.map +1 -0
- package/dist/src/components/table/index.d.ts +4 -0
- package/dist/src/components/table/index.d.ts.map +1 -0
- package/dist/src/components/table/index.js +3 -0
- package/dist/src/components/table/index.js.map +1 -0
- package/dist/src/components/table/table-skeleton.d.ts +37 -0
- package/dist/src/components/table/table-skeleton.d.ts.map +1 -0
- package/dist/src/components/table/table-skeleton.js +29 -0
- package/dist/src/components/table/table-skeleton.js.map +1 -0
- package/dist/src/components/table/table.d.ts +54 -0
- package/dist/src/components/table/table.d.ts.map +1 -0
- package/dist/src/components/table/table.js +58 -0
- package/dist/src/components/table/table.js.map +1 -0
- package/dist/src/components/table/table.stories.d.ts +83 -0
- package/dist/src/components/table/table.stories.d.ts.map +1 -0
- package/dist/src/components/table/table.stories.js +244 -0
- package/dist/src/components/table/table.stories.js.map +1 -0
- package/dist/src/components/table/table.test.d.ts +2 -0
- package/dist/src/components/table/table.test.d.ts.map +1 -0
- package/dist/src/components/table/table.test.js +161 -0
- package/dist/src/components/table/table.test.js.map +1 -0
- package/dist/src/components/table/table.types.d.ts +62 -0
- package/dist/src/components/table/table.types.d.ts.map +1 -0
- package/dist/src/components/table/table.types.js +2 -0
- package/dist/src/components/table/table.types.js.map +1 -0
- package/dist/src/components/table-skeleton/index.d.ts +3 -0
- package/dist/src/components/table-skeleton/index.d.ts.map +1 -0
- package/dist/src/components/table-skeleton/index.js +2 -0
- package/dist/src/components/table-skeleton/index.js.map +1 -0
- package/dist/src/components/table-skeleton/table-skeleton.d.ts +20 -0
- package/dist/src/components/table-skeleton/table-skeleton.d.ts.map +1 -0
- package/dist/src/components/table-skeleton/table-skeleton.js +15 -0
- package/dist/src/components/table-skeleton/table-skeleton.js.map +1 -0
- package/dist/src/components/table-skeleton/table-skeleton.stories.d.ts +49 -0
- package/dist/src/components/table-skeleton/table-skeleton.stories.d.ts.map +1 -0
- package/dist/src/components/table-skeleton/table-skeleton.stories.js +101 -0
- package/dist/src/components/table-skeleton/table-skeleton.stories.js.map +1 -0
- package/dist/src/components/table-skeleton/table-skeleton.test.d.ts +2 -0
- package/dist/src/components/table-skeleton/table-skeleton.test.d.ts.map +1 -0
- package/dist/src/components/table-skeleton/table-skeleton.test.js +130 -0
- package/dist/src/components/table-skeleton/table-skeleton.test.js.map +1 -0
- package/dist/src/components/tabs/index.d.ts +4 -0
- package/dist/src/components/tabs/index.d.ts.map +1 -0
- package/dist/src/components/tabs/index.js +3 -0
- package/dist/src/components/tabs/index.js.map +1 -0
- package/dist/src/components/tabs/tabs-skeleton.d.ts +50 -0
- package/dist/src/components/tabs/tabs-skeleton.d.ts.map +1 -0
- package/dist/src/components/tabs/tabs-skeleton.js +29 -0
- package/dist/src/components/tabs/tabs-skeleton.js.map +1 -0
- package/dist/src/components/tabs/tabs-skeleton.test.d.ts +2 -0
- package/dist/src/components/tabs/tabs-skeleton.test.d.ts.map +1 -0
- package/dist/src/components/tabs/tabs-skeleton.test.js +69 -0
- package/dist/src/components/tabs/tabs-skeleton.test.js.map +1 -0
- package/dist/src/components/tabs/tabs.d.ts +14 -0
- package/dist/src/components/tabs/tabs.d.ts.map +1 -0
- package/dist/src/components/tabs/tabs.js +51 -0
- package/dist/src/components/tabs/tabs.js.map +1 -0
- package/dist/src/components/tabs/tabs.stories.d.ts +16 -0
- package/dist/src/components/tabs/tabs.stories.d.ts.map +1 -0
- package/dist/src/components/tabs/tabs.stories.js +36 -0
- package/dist/src/components/tabs/tabs.stories.js.map +1 -0
- package/dist/src/components/tabs/tabs.test.d.ts +2 -0
- package/dist/src/components/tabs/tabs.test.d.ts.map +1 -0
- package/dist/src/components/tabs/tabs.test.js +37 -0
- package/dist/src/components/tabs/tabs.test.js.map +1 -0
- package/dist/src/components/tag-input/index.d.ts +3 -0
- package/dist/src/components/tag-input/index.d.ts.map +1 -0
- package/dist/src/components/tag-input/index.js +2 -0
- package/dist/src/components/tag-input/index.js.map +1 -0
- package/dist/src/components/tag-input/tag-input.d.ts +43 -0
- package/dist/src/components/tag-input/tag-input.d.ts.map +1 -0
- package/dist/src/components/tag-input/tag-input.js +94 -0
- package/dist/src/components/tag-input/tag-input.js.map +1 -0
- package/dist/src/components/tag-input/tag-input.stories.d.ts +20 -0
- package/dist/src/components/tag-input/tag-input.stories.d.ts.map +1 -0
- package/dist/src/components/tag-input/tag-input.stories.js +65 -0
- package/dist/src/components/tag-input/tag-input.stories.js.map +1 -0
- package/dist/src/components/tag-input/tag-input.test.d.ts +2 -0
- package/dist/src/components/tag-input/tag-input.test.d.ts.map +1 -0
- package/dist/src/components/tag-input/tag-input.test.js +218 -0
- package/dist/src/components/tag-input/tag-input.test.js.map +1 -0
- package/dist/src/components/tag-input/tag-input.types.d.ts +42 -0
- package/dist/src/components/tag-input/tag-input.types.d.ts.map +1 -0
- package/dist/src/components/tag-input/tag-input.types.js +2 -0
- package/dist/src/components/tag-input/tag-input.types.js.map +1 -0
- package/dist/src/components/textarea/index.d.ts +3 -0
- package/dist/src/components/textarea/index.d.ts.map +1 -0
- package/dist/src/components/textarea/index.js +2 -0
- package/dist/src/components/textarea/index.js.map +1 -0
- package/dist/src/components/textarea/textarea.d.ts +4 -0
- package/dist/src/components/textarea/textarea.d.ts.map +1 -0
- package/dist/src/components/textarea/textarea.js +11 -0
- package/dist/src/components/textarea/textarea.js.map +1 -0
- package/dist/src/components/textarea/textarea.stories.d.ts +26 -0
- package/dist/src/components/textarea/textarea.stories.d.ts.map +1 -0
- package/dist/src/components/textarea/textarea.stories.js +53 -0
- package/dist/src/components/textarea/textarea.stories.js.map +1 -0
- package/dist/src/components/textarea/textarea.test.d.ts +2 -0
- package/dist/src/components/textarea/textarea.test.d.ts.map +1 -0
- package/dist/src/components/textarea/textarea.test.js +49 -0
- package/dist/src/components/textarea/textarea.test.js.map +1 -0
- package/dist/src/components/textarea/textarea.types.d.ts +6 -0
- package/dist/src/components/textarea/textarea.types.d.ts.map +1 -0
- package/dist/src/components/textarea/textarea.types.js +2 -0
- package/dist/src/components/textarea/textarea.types.js.map +1 -0
- package/dist/src/components/toast/index.d.ts +13 -0
- package/dist/src/components/toast/index.d.ts.map +1 -0
- package/dist/src/components/toast/index.js +24 -0
- package/dist/src/components/toast/index.js.map +1 -0
- package/dist/src/components/toast/toaster.d.ts +5 -0
- package/dist/src/components/toast/toaster.d.ts.map +1 -0
- package/dist/src/components/toast/toaster.js +16 -0
- package/dist/src/components/toast/toaster.js.map +1 -0
- package/dist/src/components/toast/toaster.stories.d.ts +10 -0
- package/dist/src/components/toast/toaster.stories.d.ts.map +1 -0
- package/dist/src/components/toast/toaster.stories.js +60 -0
- package/dist/src/components/toast/toaster.stories.js.map +1 -0
- package/dist/src/components/toast/toaster.test.d.ts +2 -0
- package/dist/src/components/toast/toaster.test.d.ts.map +1 -0
- package/dist/src/components/toast/toaster.test.js +467 -0
- package/dist/src/components/toast/toaster.test.js.map +1 -0
- package/dist/src/components/toggle/index.d.ts +2 -0
- package/dist/src/components/toggle/index.d.ts.map +1 -0
- package/dist/src/components/toggle/index.js +2 -0
- package/dist/src/components/toggle/index.js.map +1 -0
- package/dist/src/components/toggle/toggle.d.ts +13 -0
- package/dist/src/components/toggle/toggle.d.ts.map +1 -0
- package/dist/src/components/toggle/toggle.js +27 -0
- package/dist/src/components/toggle/toggle.js.map +1 -0
- package/dist/src/components/toggle/toggle.stories.d.ts +23 -0
- package/dist/src/components/toggle/toggle.stories.d.ts.map +1 -0
- package/dist/src/components/toggle/toggle.stories.js +45 -0
- package/dist/src/components/toggle/toggle.stories.js.map +1 -0
- package/dist/src/components/toggle/toggle.test.d.ts +2 -0
- package/dist/src/components/toggle/toggle.test.d.ts.map +1 -0
- package/dist/src/components/toggle/toggle.test.js +60 -0
- package/dist/src/components/toggle/toggle.test.js.map +1 -0
- package/dist/src/components/tooltip/index.d.ts +2 -0
- package/dist/src/components/tooltip/index.d.ts.map +1 -0
- package/dist/src/components/tooltip/index.js +2 -0
- package/dist/src/components/tooltip/index.js.map +1 -0
- package/dist/src/components/tooltip/tooltip.d.ts +8 -0
- package/dist/src/components/tooltip/tooltip.d.ts.map +1 -0
- package/dist/src/components/tooltip/tooltip.js +18 -0
- package/dist/src/components/tooltip/tooltip.js.map +1 -0
- package/dist/src/components/tooltip/tooltip.stories.d.ts +25 -0
- package/dist/src/components/tooltip/tooltip.stories.d.ts.map +1 -0
- package/dist/src/components/tooltip/tooltip.stories.js +39 -0
- package/dist/src/components/tooltip/tooltip.stories.js.map +1 -0
- package/dist/src/components/tooltip/tooltip.test.d.ts +2 -0
- package/dist/src/components/tooltip/tooltip.test.d.ts.map +1 -0
- package/dist/src/components/tooltip/tooltip.test.js +28 -0
- package/dist/src/components/tooltip/tooltip.test.js.map +1 -0
- package/dist/src/components/user-menu-dropdown/__tests__/user-menu-dropdown.test.d.ts +2 -0
- package/dist/src/components/user-menu-dropdown/__tests__/user-menu-dropdown.test.d.ts.map +1 -0
- package/dist/src/components/user-menu-dropdown/__tests__/user-menu-dropdown.test.js +73 -0
- package/dist/src/components/user-menu-dropdown/__tests__/user-menu-dropdown.test.js.map +1 -0
- package/dist/src/components/user-menu-dropdown/index.d.ts +2 -0
- package/dist/src/components/user-menu-dropdown/index.d.ts.map +1 -0
- package/dist/src/components/user-menu-dropdown/index.js +2 -0
- package/dist/src/components/user-menu-dropdown/index.js.map +1 -0
- package/dist/src/components/user-menu-dropdown/user-menu-dropdown.d.ts +32 -0
- package/dist/src/components/user-menu-dropdown/user-menu-dropdown.d.ts.map +1 -0
- package/dist/src/components/user-menu-dropdown/user-menu-dropdown.js +28 -0
- package/dist/src/components/user-menu-dropdown/user-menu-dropdown.js.map +1 -0
- package/dist/src/components/user-menu-dropdown/user-menu-dropdown.stories.d.ts +12 -0
- package/dist/src/components/user-menu-dropdown/user-menu-dropdown.stories.d.ts.map +1 -0
- package/dist/src/components/user-menu-dropdown/user-menu-dropdown.stories.js +68 -0
- package/dist/src/components/user-menu-dropdown/user-menu-dropdown.stories.js.map +1 -0
- package/dist/src/components/user-menu-dropdown/user-menu-dropdown.test.d.ts +2 -0
- package/dist/src/components/user-menu-dropdown/user-menu-dropdown.test.d.ts.map +1 -0
- package/dist/src/components/user-menu-dropdown/user-menu-dropdown.test.js +210 -0
- package/dist/src/components/user-menu-dropdown/user-menu-dropdown.test.js.map +1 -0
- package/dist/src/config/alert.d.ts +109 -0
- package/dist/src/config/alert.d.ts.map +1 -0
- package/dist/src/config/alert.js +134 -0
- package/dist/src/config/alert.js.map +1 -0
- package/dist/src/config/aspect-ratio.d.ts +22 -0
- package/dist/src/config/aspect-ratio.d.ts.map +1 -0
- package/dist/src/config/aspect-ratio.js +22 -0
- package/dist/src/config/aspect-ratio.js.map +1 -0
- package/dist/src/config/avatar.d.ts +73 -0
- package/dist/src/config/avatar.d.ts.map +1 -0
- package/dist/src/config/avatar.js +142 -0
- package/dist/src/config/avatar.js.map +1 -0
- package/dist/src/config/badge.d.ts +29 -0
- package/dist/src/config/badge.d.ts.map +1 -0
- package/dist/src/config/badge.js +29 -0
- package/dist/src/config/badge.js.map +1 -0
- package/dist/src/config/button.d.ts +50 -0
- package/dist/src/config/button.d.ts.map +1 -0
- package/dist/src/config/button.js +50 -0
- package/dist/src/config/button.js.map +1 -0
- package/dist/src/config/card.d.ts +12 -0
- package/dist/src/config/card.d.ts.map +1 -0
- package/dist/src/config/card.js +12 -0
- package/dist/src/config/card.js.map +1 -0
- package/dist/src/config/checkbox.d.ts +7 -0
- package/dist/src/config/checkbox.d.ts.map +1 -0
- package/dist/src/config/checkbox.js +7 -0
- package/dist/src/config/checkbox.js.map +1 -0
- package/dist/src/config/dropdown-menu.d.ts +15 -0
- package/dist/src/config/dropdown-menu.d.ts.map +1 -0
- package/dist/src/config/dropdown-menu.js +15 -0
- package/dist/src/config/dropdown-menu.js.map +1 -0
- package/dist/src/config/input.d.ts +7 -0
- package/dist/src/config/input.d.ts.map +1 -0
- package/dist/src/config/input.js +7 -0
- package/dist/src/config/input.js.map +1 -0
- package/dist/src/config/navigation-menu.d.ts +15 -0
- package/dist/src/config/navigation-menu.d.ts.map +1 -0
- package/dist/src/config/navigation-menu.js +15 -0
- package/dist/src/config/navigation-menu.js.map +1 -0
- package/dist/src/config/popover.d.ts +75 -0
- package/dist/src/config/popover.d.ts.map +1 -0
- package/dist/src/config/popover.js +75 -0
- package/dist/src/config/popover.js.map +1 -0
- package/dist/src/config/radio-group.d.ts +55 -0
- package/dist/src/config/radio-group.d.ts.map +1 -0
- package/dist/src/config/radio-group.js +55 -0
- package/dist/src/config/radio-group.js.map +1 -0
- package/dist/src/config/select.d.ts +30 -0
- package/dist/src/config/select.d.ts.map +1 -0
- package/dist/src/config/select.js +30 -0
- package/dist/src/config/select.js.map +1 -0
- package/dist/src/config/switch.d.ts +7 -0
- package/dist/src/config/switch.d.ts.map +1 -0
- package/dist/src/config/switch.js +7 -0
- package/dist/src/config/switch.js.map +1 -0
- package/dist/src/config/table.d.ts +22 -0
- package/dist/src/config/table.d.ts.map +1 -0
- package/dist/src/config/table.js +22 -0
- package/dist/src/config/table.js.map +1 -0
- package/dist/src/config/tabs.d.ts +36 -0
- package/dist/src/config/tabs.d.ts.map +1 -0
- package/dist/src/config/tabs.js +36 -0
- package/dist/src/config/tabs.js.map +1 -0
- package/dist/src/config/tailwind-base.d.ts +469 -0
- package/dist/src/config/tailwind-base.d.ts.map +1 -0
- package/dist/src/config/tailwind-base.js +132 -0
- package/dist/src/config/tailwind-base.js.map +1 -0
- package/dist/src/lib/__tests__/animations.test.d.ts +2 -0
- package/dist/src/lib/__tests__/animations.test.d.ts.map +1 -0
- package/dist/src/lib/__tests__/animations.test.js +60 -0
- package/dist/src/lib/__tests__/animations.test.js.map +1 -0
- package/dist/src/lib/animations.d.ts +180 -0
- package/dist/src/lib/animations.d.ts.map +1 -0
- package/dist/src/lib/animations.js +293 -0
- package/dist/src/lib/animations.js.map +1 -0
- package/dist/src/lib/use-mobile.d.ts +2 -0
- package/dist/src/lib/use-mobile.d.ts.map +1 -0
- package/dist/src/lib/use-mobile.js +14 -0
- package/dist/src/lib/use-mobile.js.map +1 -0
- package/dist/src/lib/utils.d.ts +7 -0
- package/dist/src/lib/utils.d.ts.map +1 -0
- package/dist/src/lib/utils.js +10 -0
- package/dist/src/lib/utils.js.map +1 -0
- package/dist/src/primitives/command/Command.d.ts +84 -0
- package/dist/src/primitives/command/Command.d.ts.map +1 -0
- package/dist/src/primitives/command/Command.js +54 -0
- package/dist/src/primitives/command/Command.js.map +1 -0
- package/dist/src/primitives/command/index.d.ts +2 -0
- package/dist/src/primitives/command/index.d.ts.map +1 -0
- package/dist/src/primitives/command/index.js +2 -0
- package/dist/src/primitives/command/index.js.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/package.json +414 -0
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Custom toast wrapper with proper variant styling
|
|
3
|
+
*/
|
|
4
|
+
declare const toast: {
|
|
5
|
+
success: (message: string) => string | number;
|
|
6
|
+
error: (message: string) => string | number;
|
|
7
|
+
warning: (message: string) => string | number;
|
|
8
|
+
info: (message: string) => string | number;
|
|
9
|
+
loading: (message: string) => string | number;
|
|
10
|
+
};
|
|
11
|
+
export { toast };
|
|
12
|
+
export { Toaster } from "./toaster";
|
|
13
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/toast/index.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,QAAA,MAAM,KAAK;uBACS,MAAM;qBAGR,MAAM;uBAGJ,MAAM;oBAGT,MAAM;uBAGH,MAAM;CAGzB,CAAC;AAEF,OAAO,EAAE,KAAK,EAAE,CAAC;AACjB,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { toast as sonnerToast } from "sonner";
|
|
2
|
+
/**
|
|
3
|
+
* Custom toast wrapper with proper variant styling
|
|
4
|
+
*/
|
|
5
|
+
const toast = {
|
|
6
|
+
success: (message) => {
|
|
7
|
+
return sonnerToast.success(message);
|
|
8
|
+
},
|
|
9
|
+
error: (message) => {
|
|
10
|
+
return sonnerToast.error(message);
|
|
11
|
+
},
|
|
12
|
+
warning: (message) => {
|
|
13
|
+
return sonnerToast.warning(message);
|
|
14
|
+
},
|
|
15
|
+
info: (message) => {
|
|
16
|
+
return sonnerToast.info(message);
|
|
17
|
+
},
|
|
18
|
+
loading: (message) => {
|
|
19
|
+
return sonnerToast.loading(message);
|
|
20
|
+
},
|
|
21
|
+
};
|
|
22
|
+
export { toast };
|
|
23
|
+
export { Toaster } from "./toaster";
|
|
24
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/toast/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,IAAI,WAAW,EAAE,MAAM,QAAQ,CAAC;AAE9C;;GAEG;AACH,MAAM,KAAK,GAAG;IACb,OAAO,EAAE,CAAC,OAAe,EAAE,EAAE;QAC5B,OAAO,WAAW,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;IACrC,CAAC;IACD,KAAK,EAAE,CAAC,OAAe,EAAE,EAAE;QAC1B,OAAO,WAAW,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;IACnC,CAAC;IACD,OAAO,EAAE,CAAC,OAAe,EAAE,EAAE;QAC5B,OAAO,WAAW,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;IACrC,CAAC;IACD,IAAI,EAAE,CAAC,OAAe,EAAE,EAAE;QACzB,OAAO,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAClC,CAAC;IACD,OAAO,EAAE,CAAC,OAAe,EAAE,EAAE;QAC5B,OAAO,WAAW,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;IACrC,CAAC;CACD,CAAC;AAEF,OAAO,EAAE,KAAK,EAAE,CAAC;AACjB,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toaster.d.ts","sourceRoot":"","sources":["../../../../src/components/toast/toaster.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,QAAQ,CAAC;AAE3C,KAAK,YAAY,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,MAAM,CAAC,CAAC;AAExD,QAAA,MAAM,OAAO,GAAI,cAAc,YAAY,4CAqB1C,CAAC;AAEF,OAAO,EAAE,OAAO,EAAE,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { Toaster as Sonner } from "sonner";
|
|
3
|
+
const Toaster = ({ ...props }) => {
|
|
4
|
+
return (_jsx(Sonner, { className: "toaster group", closeButton: true, toastOptions: {
|
|
5
|
+
classNames: {
|
|
6
|
+
toast: 'group toast group-[.toaster]:bg-popover group-[.toaster]:text-foreground group-[.toaster]:border data-[type=error]:!border-destructive data-[type=success]:!border-success data-[type=warning]:!border-warning data-[type=info]:!border-info data-[type=success]:[&_[data-icon]]:!text-success data-[type=error]:[&_[data-icon]]:!text-destructive data-[type=warning]:[&_[data-icon]]:!text-warning data-[type=info]:[&_[data-icon]]:!text-info',
|
|
7
|
+
description: 'group-[.toast]:text-muted-foreground',
|
|
8
|
+
actionButton: 'group-[.toast]:bg-primary group-[.toast]:text-primary-foreground group-data-[type=success]:!bg-success group-data-[type=success]:!text-success-foreground group-data-[type=error]:!bg-destructive group-data-[type=error]:!text-destructive-foreground group-data-[type=warning]:!bg-warning group-data-[type=warning]:!text-warning-foreground group-data-[type=info]:!bg-info group-data-[type=info]:!text-info-foreground',
|
|
9
|
+
cancelButton: 'group-[.toast]:bg-muted group-[.toast]:text-muted-foreground',
|
|
10
|
+
icon: 'group-[.toast]:!text-current',
|
|
11
|
+
closeButton: 'group-[.toast]:bg-popover group-[.toast]:border group-[.toast]:hover:bg-accent group-[.toast]:!left-auto group-[.toast]:!-right-4 group-[.toast]:!-top-1 group-data-[type=success]:!border-success group-data-[type=error]:!border-destructive group-data-[type=warning]:!border-warning group-data-[type=info]:!border-info',
|
|
12
|
+
},
|
|
13
|
+
}, ...props }));
|
|
14
|
+
};
|
|
15
|
+
export { Toaster };
|
|
16
|
+
//# sourceMappingURL=toaster.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toaster.js","sourceRoot":"","sources":["../../../../src/components/toast/toaster.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,QAAQ,CAAC;AAI3C,MAAM,OAAO,GAAG,CAAC,EAAE,GAAG,KAAK,EAAgB,EAAE,EAAE;IAC9C,OAAO,CACN,KAAC,MAAM,IACN,SAAS,EAAC,eAAe,EACzB,WAAW,QACR,YAAY,EAAE;YACZ,UAAU,EAAE;gBACV,KAAK,EACH,kbAAkb;gBACpb,WAAW,EAAE,sCAAsC;gBACnD,YAAY,EACV,8ZAA8Z;gBACha,YAAY,EAAE,8DAA8D;gBAC5E,IAAI,EAAE,8BAA8B;gBACpC,WAAW,EACT,8TAA8T;aACjU;SACF,KACA,KAAK,GACR,CACF,CAAC;AACH,CAAC,CAAC;AAEF,OAAO,EAAE,OAAO,EAAE,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from "@storybook/react";
|
|
2
|
+
import { Toaster } from "./toaster";
|
|
3
|
+
declare const meta: Meta<typeof Toaster>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof Toaster>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const Success: Story;
|
|
8
|
+
export declare const ErrorToast: Story;
|
|
9
|
+
export declare const VariantsWithActions: Story;
|
|
10
|
+
//# sourceMappingURL=toaster.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toaster.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/toast/toaster.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAGvD,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,OAAO,CAO9B,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,OAAO,CAAC,CAAC;AAEtC,eAAO,MAAM,OAAO,EAAE,KAoBrB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,KAgBrB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,KAgBxB,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,KAgEjC,CAAC"}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { toast } from "sonner";
|
|
3
|
+
import { Button } from "../button";
|
|
4
|
+
import { Toaster } from "./toaster";
|
|
5
|
+
const meta = {
|
|
6
|
+
title: "Feedback/Toast",
|
|
7
|
+
component: Toaster,
|
|
8
|
+
parameters: {
|
|
9
|
+
layout: "centered",
|
|
10
|
+
},
|
|
11
|
+
tags: ["autodocs"],
|
|
12
|
+
};
|
|
13
|
+
export default meta;
|
|
14
|
+
export const Default = {
|
|
15
|
+
render: () => (_jsxs("div", { className: "flex flex-col gap-4 items-center", children: [_jsx(Toaster, {}), _jsx(Button, { variant: "outline", onClick: () => toast("Event has been created", {
|
|
16
|
+
description: "Sunday, December 03, 2023 at 9:00 AM",
|
|
17
|
+
action: {
|
|
18
|
+
label: "Undo",
|
|
19
|
+
onClick: () => console.log("Undo"),
|
|
20
|
+
},
|
|
21
|
+
}), children: "Show Toast" })] })),
|
|
22
|
+
};
|
|
23
|
+
export const Success = {
|
|
24
|
+
render: () => (_jsxs("div", { className: "flex flex-col gap-4 items-center", children: [_jsx(Toaster, {}), _jsx(Button, { variant: "outline", onClick: () => toast.success("Event has been created", {
|
|
25
|
+
description: "Sunday, December 03, 2023 at 9:00 AM",
|
|
26
|
+
}), children: "Show Success Toast" })] })),
|
|
27
|
+
};
|
|
28
|
+
export const ErrorToast = {
|
|
29
|
+
render: () => (_jsxs("div", { className: "flex flex-col gap-4 items-center", children: [_jsx(Toaster, {}), _jsx(Button, { variant: "outline", onClick: () => toast.error("Event has not been created", {
|
|
30
|
+
description: "Sunday, December 03, 2023 at 9:00 AM",
|
|
31
|
+
}), children: "Show Error Toast" })] })),
|
|
32
|
+
};
|
|
33
|
+
export const VariantsWithActions = {
|
|
34
|
+
render: () => (_jsxs("div", { className: "flex flex-col gap-4 items-center", children: [_jsx(Toaster, {}), _jsxs("div", { className: "flex gap-4", children: [_jsx(Button, { variant: "outline", onClick: () => toast.success("Project updated successfully", {
|
|
35
|
+
description: "The changes have been saved to the server.",
|
|
36
|
+
action: {
|
|
37
|
+
label: "View Changes",
|
|
38
|
+
onClick: () => console.log("View Changes"),
|
|
39
|
+
},
|
|
40
|
+
}), children: "Success with Action" }), _jsx(Button, { variant: "outline", onClick: () => toast.error("Failed to upload file", {
|
|
41
|
+
description: "The file size exceeds the limit of 10MB.",
|
|
42
|
+
action: {
|
|
43
|
+
label: "Retry",
|
|
44
|
+
onClick: () => console.log("Retry"),
|
|
45
|
+
},
|
|
46
|
+
}), children: "Error with Action" }), _jsx(Button, { variant: "outline", onClick: () => toast.warning("Storage almost full", {
|
|
47
|
+
description: "You have used 90% of your available storage.",
|
|
48
|
+
action: {
|
|
49
|
+
label: "Upgrade",
|
|
50
|
+
onClick: () => console.log("Upgrade"),
|
|
51
|
+
},
|
|
52
|
+
}), children: "Warning with Action" }), _jsx(Button, { variant: "outline", onClick: () => toast.info("New update available", {
|
|
53
|
+
description: "Version 2.0 is now available for download.",
|
|
54
|
+
action: {
|
|
55
|
+
label: "Install",
|
|
56
|
+
onClick: () => console.log("Install"),
|
|
57
|
+
},
|
|
58
|
+
}), children: "Info with Action" })] })] })),
|
|
59
|
+
};
|
|
60
|
+
//# sourceMappingURL=toaster.stories.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toaster.stories.js","sourceRoot":"","sources":["../../../../src/components/toast/toaster.stories.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;AAC/B,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACnC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,MAAM,IAAI,GAAyB;IAClC,KAAK,EAAE,gBAAgB;IACvB,SAAS,EAAE,OAAO;IAClB,UAAU,EAAE;QACX,MAAM,EAAE,UAAU;KAClB;IACD,IAAI,EAAE,CAAC,UAAU,CAAC;CAClB,CAAC;AAEF,eAAe,IAAI,CAAC;AAGpB,MAAM,CAAC,MAAM,OAAO,GAAU;IAC7B,MAAM,EAAE,GAAG,EAAE,CAAC,CACb,eAAK,SAAS,EAAC,kCAAkC,aAChD,KAAC,OAAO,KAAG,EACX,KAAC,MAAM,IACN,OAAO,EAAC,SAAS,EACjB,OAAO,EAAE,GAAG,EAAE,CACb,KAAK,CAAC,wBAAwB,EAAE;oBAC/B,WAAW,EAAE,sCAAsC;oBACnD,MAAM,EAAE;wBACP,KAAK,EAAE,MAAM;wBACb,OAAO,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC;qBAClC;iBACD,CAAC,2BAIK,IACJ,CACN;CACD,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAU;IAC7B,MAAM,EAAE,GAAG,EAAE,CAAC,CACb,eAAK,SAAS,EAAC,kCAAkC,aAChD,KAAC,OAAO,KAAG,EACX,KAAC,MAAM,IACN,OAAO,EAAC,SAAS,EACjB,OAAO,EAAE,GAAG,EAAE,CACb,KAAK,CAAC,OAAO,CAAC,wBAAwB,EAAE;oBACvC,WAAW,EAAE,sCAAsC;iBACnD,CAAC,mCAIK,IACJ,CACN;CACD,CAAC;AAEF,MAAM,CAAC,MAAM,UAAU,GAAU;IAChC,MAAM,EAAE,GAAG,EAAE,CAAC,CACb,eAAK,SAAS,EAAC,kCAAkC,aAChD,KAAC,OAAO,KAAG,EACX,KAAC,MAAM,IACN,OAAO,EAAC,SAAS,EACjB,OAAO,EAAE,GAAG,EAAE,CACb,KAAK,CAAC,KAAK,CAAC,4BAA4B,EAAE;oBACzC,WAAW,EAAE,sCAAsC;iBACnD,CAAC,iCAIK,IACJ,CACN;CACD,CAAC;AAEF,MAAM,CAAC,MAAM,mBAAmB,GAAU;IACzC,MAAM,EAAE,GAAG,EAAE,CAAC,CACb,eAAK,SAAS,EAAC,kCAAkC,aAChD,KAAC,OAAO,KAAG,EACX,eAAK,SAAS,EAAC,YAAY,aAC1B,KAAC,MAAM,IACN,OAAO,EAAC,SAAS,EACjB,OAAO,EAAE,GAAG,EAAE,CACb,KAAK,CAAC,OAAO,CAAC,8BAA8B,EAAE;4BAC7C,WAAW,EAAE,4CAA4C;4BACzD,MAAM,EAAE;gCACP,KAAK,EAAE,cAAc;gCACrB,OAAO,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,GAAG,CAAC,cAAc,CAAC;6BAC1C;yBACD,CAAC,oCAIK,EACT,KAAC,MAAM,IACN,OAAO,EAAC,SAAS,EACjB,OAAO,EAAE,GAAG,EAAE,CACb,KAAK,CAAC,KAAK,CAAC,uBAAuB,EAAE;4BACpC,WAAW,EAAE,0CAA0C;4BACvD,MAAM,EAAE;gCACP,KAAK,EAAE,OAAO;gCACd,OAAO,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC;6BACnC;yBACD,CAAC,kCAIK,EACT,KAAC,MAAM,IACN,OAAO,EAAC,SAAS,EACjB,OAAO,EAAE,GAAG,EAAE,CACb,KAAK,CAAC,OAAO,CAAC,qBAAqB,EAAE;4BACpC,WAAW,EAAE,8CAA8C;4BAC3D,MAAM,EAAE;gCACP,KAAK,EAAE,SAAS;gCAChB,OAAO,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC;6BACrC;yBACD,CAAC,oCAIK,EACT,KAAC,MAAM,IACN,OAAO,EAAC,SAAS,EACjB,OAAO,EAAE,GAAG,EAAE,CACb,KAAK,CAAC,IAAI,CAAC,sBAAsB,EAAE;4BAClC,WAAW,EAAE,4CAA4C;4BACzD,MAAM,EAAE;gCACP,KAAK,EAAE,SAAS;gCAChB,OAAO,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC;6BACrC;yBACD,CAAC,iCAIK,IACJ,IACD,CACN;CACD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toaster.test.d.ts","sourceRoot":"","sources":["../../../../src/components/toast/toaster.test.tsx"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,467 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { render, screen, waitFor } from "@testing-library/react";
|
|
3
|
+
import userEvent from "@testing-library/user-event";
|
|
4
|
+
import { describe, expect, it, vi } from "vitest";
|
|
5
|
+
vi.mock("sonner", async () => {
|
|
6
|
+
const actual = (await vi.importActual("sonner"));
|
|
7
|
+
const toastMock = vi.fn(actual.toast);
|
|
8
|
+
Object.assign(toastMock, {
|
|
9
|
+
success: vi.fn(actual.toast.success),
|
|
10
|
+
error: vi.fn(actual.toast.error),
|
|
11
|
+
warning: vi.fn(actual.toast.warning),
|
|
12
|
+
info: vi.fn(actual.toast.info),
|
|
13
|
+
promise: vi.fn(actual.toast.promise),
|
|
14
|
+
dismiss: vi.fn(actual.toast.dismiss),
|
|
15
|
+
custom: vi.fn(actual.toast.custom),
|
|
16
|
+
});
|
|
17
|
+
return {
|
|
18
|
+
...actual,
|
|
19
|
+
toast: toastMock,
|
|
20
|
+
};
|
|
21
|
+
});
|
|
22
|
+
import { toast } from "sonner";
|
|
23
|
+
import { Toaster } from "./toaster";
|
|
24
|
+
describe("Toaster", () => {
|
|
25
|
+
describe("Basic Rendering", () => {
|
|
26
|
+
it("renders toaster component", () => {
|
|
27
|
+
const { container } = render(_jsx(Toaster, {}));
|
|
28
|
+
// Sonner uses portals, just verify component renders
|
|
29
|
+
expect(container).toBeTruthy();
|
|
30
|
+
});
|
|
31
|
+
it("applies toaster className", () => {
|
|
32
|
+
const { container } = render(_jsx(Toaster, {}));
|
|
33
|
+
// Verify component renders with className prop
|
|
34
|
+
expect(container).toBeTruthy();
|
|
35
|
+
});
|
|
36
|
+
it("accepts custom props", () => {
|
|
37
|
+
const { container } = render(_jsx(Toaster, { position: "top-right" }));
|
|
38
|
+
expect(container).toBeTruthy();
|
|
39
|
+
});
|
|
40
|
+
});
|
|
41
|
+
describe("Toast Display", () => {
|
|
42
|
+
it("displays default toast", async () => {
|
|
43
|
+
render(_jsx(Toaster, {}));
|
|
44
|
+
toast("Test message");
|
|
45
|
+
await waitFor(() => {
|
|
46
|
+
expect(screen.getByText("Test message")).toBeInTheDocument();
|
|
47
|
+
});
|
|
48
|
+
});
|
|
49
|
+
it("displays toast with description", async () => {
|
|
50
|
+
render(_jsx(Toaster, {}));
|
|
51
|
+
toast("Test title", {
|
|
52
|
+
description: "Test description",
|
|
53
|
+
});
|
|
54
|
+
await waitFor(() => {
|
|
55
|
+
expect(screen.getByText("Test title")).toBeInTheDocument();
|
|
56
|
+
expect(screen.getByText("Test description")).toBeInTheDocument();
|
|
57
|
+
});
|
|
58
|
+
});
|
|
59
|
+
it("displays multiple toasts", async () => {
|
|
60
|
+
render(_jsx(Toaster, {}));
|
|
61
|
+
toast("First message");
|
|
62
|
+
toast("Second message");
|
|
63
|
+
toast("Third message");
|
|
64
|
+
await waitFor(() => {
|
|
65
|
+
expect(screen.getByText("First message")).toBeInTheDocument();
|
|
66
|
+
expect(screen.getByText("Second message")).toBeInTheDocument();
|
|
67
|
+
expect(screen.getByText("Third message")).toBeInTheDocument();
|
|
68
|
+
});
|
|
69
|
+
});
|
|
70
|
+
});
|
|
71
|
+
describe("Toast Types", () => {
|
|
72
|
+
it("displays success toast", async () => {
|
|
73
|
+
render(_jsx(Toaster, {}));
|
|
74
|
+
toast.success("Success message");
|
|
75
|
+
await waitFor(() => {
|
|
76
|
+
const toastElement = screen
|
|
77
|
+
.getByText("Success message")
|
|
78
|
+
.closest(".toast");
|
|
79
|
+
expect(toastElement).toBeInTheDocument();
|
|
80
|
+
expect(toastElement).toHaveAttribute("data-type", "success");
|
|
81
|
+
});
|
|
82
|
+
});
|
|
83
|
+
it("displays error toast", async () => {
|
|
84
|
+
render(_jsx(Toaster, {}));
|
|
85
|
+
toast.error("Error message");
|
|
86
|
+
await waitFor(() => {
|
|
87
|
+
const toastElement = screen
|
|
88
|
+
.getByText("Error message")
|
|
89
|
+
.closest(".toast");
|
|
90
|
+
expect(toastElement).toBeInTheDocument();
|
|
91
|
+
expect(toastElement).toHaveAttribute("data-type", "error");
|
|
92
|
+
});
|
|
93
|
+
});
|
|
94
|
+
it("displays warning toast", async () => {
|
|
95
|
+
render(_jsx(Toaster, {}));
|
|
96
|
+
toast.warning("Warning message");
|
|
97
|
+
await waitFor(() => {
|
|
98
|
+
const toastElement = screen
|
|
99
|
+
.getByText("Warning message")
|
|
100
|
+
.closest(".toast");
|
|
101
|
+
expect(toastElement).toBeInTheDocument();
|
|
102
|
+
expect(toastElement).toHaveAttribute("data-type", "warning");
|
|
103
|
+
});
|
|
104
|
+
});
|
|
105
|
+
it("displays info toast", async () => {
|
|
106
|
+
render(_jsx(Toaster, {}));
|
|
107
|
+
toast.info("Info message");
|
|
108
|
+
await waitFor(() => {
|
|
109
|
+
const toastElement = screen.getByText("Info message").closest(".toast");
|
|
110
|
+
expect(toastElement).toBeInTheDocument();
|
|
111
|
+
expect(toastElement).toHaveAttribute("data-type", "info");
|
|
112
|
+
});
|
|
113
|
+
});
|
|
114
|
+
});
|
|
115
|
+
describe("Toast Styling", () => {
|
|
116
|
+
it("applies success toast styles", async () => {
|
|
117
|
+
render(_jsx(Toaster, {}));
|
|
118
|
+
toast.success("Success message", {
|
|
119
|
+
className: "custom-success-class",
|
|
120
|
+
});
|
|
121
|
+
expect(toast.success).toHaveBeenCalledWith("Success message", {
|
|
122
|
+
className: "custom-success-class",
|
|
123
|
+
});
|
|
124
|
+
});
|
|
125
|
+
it("applies error toast styles", async () => {
|
|
126
|
+
render(_jsx(Toaster, {}));
|
|
127
|
+
toast.error("Error message", {
|
|
128
|
+
className: "custom-error-class",
|
|
129
|
+
});
|
|
130
|
+
expect(toast.error).toHaveBeenCalledWith("Error message", {
|
|
131
|
+
className: "custom-error-class",
|
|
132
|
+
});
|
|
133
|
+
});
|
|
134
|
+
it("applies warning toast styles", async () => {
|
|
135
|
+
render(_jsx(Toaster, {}));
|
|
136
|
+
toast.warning("Warning message", {
|
|
137
|
+
className: "custom-warning-class",
|
|
138
|
+
});
|
|
139
|
+
expect(toast.warning).toHaveBeenCalledWith("Warning message", {
|
|
140
|
+
className: "custom-warning-class",
|
|
141
|
+
});
|
|
142
|
+
});
|
|
143
|
+
it("applies info toast styles", async () => {
|
|
144
|
+
render(_jsx(Toaster, {}));
|
|
145
|
+
toast.info("Info message", {
|
|
146
|
+
className: "custom-info-class",
|
|
147
|
+
});
|
|
148
|
+
expect(toast.info).toHaveBeenCalledWith("Info message", {
|
|
149
|
+
className: "custom-info-class",
|
|
150
|
+
});
|
|
151
|
+
});
|
|
152
|
+
});
|
|
153
|
+
describe("Toast Actions", () => {
|
|
154
|
+
it("displays action button", async () => {
|
|
155
|
+
render(_jsx(Toaster, {}));
|
|
156
|
+
toast("Message with action", {
|
|
157
|
+
action: {
|
|
158
|
+
label: "Undo",
|
|
159
|
+
onClick: vi.fn(),
|
|
160
|
+
},
|
|
161
|
+
});
|
|
162
|
+
await waitFor(() => {
|
|
163
|
+
expect(screen.getByText("Undo")).toBeInTheDocument();
|
|
164
|
+
});
|
|
165
|
+
});
|
|
166
|
+
it("calls action onClick", async () => {
|
|
167
|
+
const user = userEvent.setup();
|
|
168
|
+
const onClick = vi.fn();
|
|
169
|
+
render(_jsx(Toaster, {}));
|
|
170
|
+
toast("Message with action", {
|
|
171
|
+
action: {
|
|
172
|
+
label: "Undo",
|
|
173
|
+
onClick,
|
|
174
|
+
},
|
|
175
|
+
});
|
|
176
|
+
await waitFor(() => {
|
|
177
|
+
expect(screen.getByText("Undo")).toBeInTheDocument();
|
|
178
|
+
});
|
|
179
|
+
await user.click(screen.getByText("Undo"));
|
|
180
|
+
expect(onClick).toHaveBeenCalled();
|
|
181
|
+
});
|
|
182
|
+
it("applies action button styles", async () => {
|
|
183
|
+
render(_jsx(Toaster, {}));
|
|
184
|
+
toast("Message", {
|
|
185
|
+
action: {
|
|
186
|
+
label: "Action",
|
|
187
|
+
onClick: vi.fn(),
|
|
188
|
+
},
|
|
189
|
+
});
|
|
190
|
+
await waitFor(() => {
|
|
191
|
+
const actionButton = screen.getByText("Action");
|
|
192
|
+
expect(actionButton).toHaveClass("group-[.toast]:bg-primary");
|
|
193
|
+
});
|
|
194
|
+
});
|
|
195
|
+
it("applies action button status styles", async () => {
|
|
196
|
+
render(_jsx(Toaster, {}));
|
|
197
|
+
toast.success("Success message", {
|
|
198
|
+
action: {
|
|
199
|
+
label: "Success Action",
|
|
200
|
+
onClick: vi.fn(),
|
|
201
|
+
},
|
|
202
|
+
});
|
|
203
|
+
await waitFor(() => {
|
|
204
|
+
const actionButton = screen.getByText("Success Action");
|
|
205
|
+
expect(actionButton).toHaveClass("group-data-[type=success]:!bg-success");
|
|
206
|
+
});
|
|
207
|
+
});
|
|
208
|
+
it("displays cancel button", async () => {
|
|
209
|
+
render(_jsx(Toaster, {}));
|
|
210
|
+
toast("Message with cancel", {
|
|
211
|
+
cancel: {
|
|
212
|
+
label: "Cancel",
|
|
213
|
+
onClick: vi.fn(),
|
|
214
|
+
},
|
|
215
|
+
});
|
|
216
|
+
await waitFor(() => {
|
|
217
|
+
expect(screen.getByText("Cancel")).toBeInTheDocument();
|
|
218
|
+
});
|
|
219
|
+
});
|
|
220
|
+
it("applies cancel button styles", async () => {
|
|
221
|
+
render(_jsx(Toaster, {}));
|
|
222
|
+
toast("Message", {
|
|
223
|
+
cancel: {
|
|
224
|
+
label: "Cancel",
|
|
225
|
+
onClick: vi.fn(),
|
|
226
|
+
},
|
|
227
|
+
});
|
|
228
|
+
await waitFor(() => {
|
|
229
|
+
const cancelButton = screen.getByText("Cancel");
|
|
230
|
+
expect(cancelButton).toHaveClass("group-[.toast]:bg-muted");
|
|
231
|
+
});
|
|
232
|
+
});
|
|
233
|
+
});
|
|
234
|
+
describe("Toast Dismissal", () => {
|
|
235
|
+
it("applies close button status styles", async () => {
|
|
236
|
+
render(_jsx(Toaster, { closeButton: true }));
|
|
237
|
+
toast.error("Error message");
|
|
238
|
+
await waitFor(() => {
|
|
239
|
+
const closeButton = screen.getByRole("button", { name: /close/i });
|
|
240
|
+
expect(closeButton).toHaveClass("group-data-[type=error]:!border-destructive");
|
|
241
|
+
});
|
|
242
|
+
});
|
|
243
|
+
it("dismisses toast automatically", async () => {
|
|
244
|
+
render(_jsx(Toaster, { duration: 100 }));
|
|
245
|
+
toast("Auto dismiss");
|
|
246
|
+
await waitFor(() => {
|
|
247
|
+
expect(screen.getByText("Auto dismiss")).toBeInTheDocument();
|
|
248
|
+
});
|
|
249
|
+
await waitFor(() => {
|
|
250
|
+
expect(screen.queryByText("Auto dismiss")).not.toBeInTheDocument();
|
|
251
|
+
}, { timeout: 500 });
|
|
252
|
+
});
|
|
253
|
+
it("dismisses toast manually", async () => {
|
|
254
|
+
render(_jsx(Toaster, {}));
|
|
255
|
+
const id = toast("Manual dismiss");
|
|
256
|
+
await waitFor(() => {
|
|
257
|
+
expect(screen.getByText("Manual dismiss")).toBeInTheDocument();
|
|
258
|
+
});
|
|
259
|
+
toast.dismiss(id);
|
|
260
|
+
await waitFor(() => {
|
|
261
|
+
expect(screen.queryByText("Manual dismiss")).not.toBeInTheDocument();
|
|
262
|
+
});
|
|
263
|
+
});
|
|
264
|
+
it("has close button", async () => {
|
|
265
|
+
render(_jsx(Toaster, { closeButton: true }));
|
|
266
|
+
toast("With close button");
|
|
267
|
+
await waitFor(() => {
|
|
268
|
+
expect(screen.getByText("With close button")).toBeInTheDocument();
|
|
269
|
+
// Sonner adds a close button with aria-label
|
|
270
|
+
const closeButton = screen.getByRole("button", { name: /close/i });
|
|
271
|
+
expect(closeButton).toBeInTheDocument();
|
|
272
|
+
});
|
|
273
|
+
});
|
|
274
|
+
it("dismisses toast via close button", async () => {
|
|
275
|
+
const user = userEvent.setup();
|
|
276
|
+
render(_jsx(Toaster, { closeButton: true }));
|
|
277
|
+
toast("Dismissible toast");
|
|
278
|
+
await waitFor(() => {
|
|
279
|
+
expect(screen.getByText("Dismissible toast")).toBeInTheDocument();
|
|
280
|
+
});
|
|
281
|
+
const closeButton = screen.getByRole("button", { name: /close/i });
|
|
282
|
+
await user.click(closeButton);
|
|
283
|
+
await waitFor(() => {
|
|
284
|
+
expect(screen.queryByText("Dismissible toast")).not.toBeInTheDocument();
|
|
285
|
+
});
|
|
286
|
+
});
|
|
287
|
+
});
|
|
288
|
+
describe("Toast Position", () => {
|
|
289
|
+
it("supports top-left position", () => {
|
|
290
|
+
const { container } = render(_jsx(Toaster, { position: "top-left" }));
|
|
291
|
+
// Sonner uses portals, just verify it renders without error
|
|
292
|
+
expect(container).toBeTruthy();
|
|
293
|
+
});
|
|
294
|
+
it("supports top-center position", () => {
|
|
295
|
+
const { container } = render(_jsx(Toaster, { position: "top-center" }));
|
|
296
|
+
expect(container).toBeTruthy();
|
|
297
|
+
});
|
|
298
|
+
it("supports top-right position", () => {
|
|
299
|
+
const { container } = render(_jsx(Toaster, { position: "top-right" }));
|
|
300
|
+
expect(container).toBeTruthy();
|
|
301
|
+
});
|
|
302
|
+
it("supports bottom-left position", () => {
|
|
303
|
+
const { container } = render(_jsx(Toaster, { position: "bottom-left" }));
|
|
304
|
+
expect(container).toBeTruthy();
|
|
305
|
+
});
|
|
306
|
+
it("supports bottom-center position", () => {
|
|
307
|
+
const { container } = render(_jsx(Toaster, { position: "bottom-center" }));
|
|
308
|
+
expect(container).toBeTruthy();
|
|
309
|
+
});
|
|
310
|
+
it("supports bottom-right position", () => {
|
|
311
|
+
const { container } = render(_jsx(Toaster, { position: "bottom-right" }));
|
|
312
|
+
expect(container).toBeTruthy();
|
|
313
|
+
});
|
|
314
|
+
});
|
|
315
|
+
describe("Toast Duration", () => {
|
|
316
|
+
it("uses default duration", async () => {
|
|
317
|
+
render(_jsx(Toaster, {}));
|
|
318
|
+
toast("Default duration");
|
|
319
|
+
await waitFor(() => {
|
|
320
|
+
expect(screen.getByText("Default duration")).toBeInTheDocument();
|
|
321
|
+
});
|
|
322
|
+
});
|
|
323
|
+
it("supports custom duration", async () => {
|
|
324
|
+
render(_jsx(Toaster, { duration: 500 }));
|
|
325
|
+
toast("Custom duration");
|
|
326
|
+
await waitFor(() => {
|
|
327
|
+
expect(screen.getByText("Custom duration")).toBeInTheDocument();
|
|
328
|
+
});
|
|
329
|
+
});
|
|
330
|
+
it("supports infinite duration", async () => {
|
|
331
|
+
render(_jsx(Toaster, { duration: Infinity }));
|
|
332
|
+
toast("Infinite duration");
|
|
333
|
+
await waitFor(() => {
|
|
334
|
+
expect(screen.getByText("Infinite duration")).toBeInTheDocument();
|
|
335
|
+
});
|
|
336
|
+
// Should still be visible after a delay
|
|
337
|
+
await new Promise((resolve) => setTimeout(resolve, 200));
|
|
338
|
+
expect(screen.getByText("Infinite duration")).toBeInTheDocument();
|
|
339
|
+
});
|
|
340
|
+
it("supports per-toast duration", async () => {
|
|
341
|
+
render(_jsx(Toaster, {}));
|
|
342
|
+
toast("Custom toast duration", { duration: 100 });
|
|
343
|
+
await waitFor(() => {
|
|
344
|
+
expect(screen.getByText("Custom toast duration")).toBeInTheDocument();
|
|
345
|
+
});
|
|
346
|
+
await waitFor(() => {
|
|
347
|
+
expect(screen.queryByText("Custom toast duration")).not.toBeInTheDocument();
|
|
348
|
+
}, { timeout: 500 });
|
|
349
|
+
});
|
|
350
|
+
});
|
|
351
|
+
describe("Toast Configuration", () => {
|
|
352
|
+
it("supports expand option", () => {
|
|
353
|
+
const { container } = render(_jsx(Toaster, { expand: true }));
|
|
354
|
+
expect(container).toBeTruthy();
|
|
355
|
+
});
|
|
356
|
+
it("supports visibleToasts limit", () => {
|
|
357
|
+
const { container } = render(_jsx(Toaster, { visibleToasts: 3 }));
|
|
358
|
+
expect(container).toBeTruthy();
|
|
359
|
+
});
|
|
360
|
+
it("supports richColors", () => {
|
|
361
|
+
const { container } = render(_jsx(Toaster, { richColors: true }));
|
|
362
|
+
expect(container).toBeTruthy();
|
|
363
|
+
});
|
|
364
|
+
});
|
|
365
|
+
describe("Promise Toast", () => {
|
|
366
|
+
it("handles promise toast states", async () => {
|
|
367
|
+
render(_jsx(Toaster, {}));
|
|
368
|
+
const promise = new Promise((resolve) => setTimeout(resolve, 100));
|
|
369
|
+
toast.promise(promise, {
|
|
370
|
+
loading: "Loading...",
|
|
371
|
+
success: "Success!",
|
|
372
|
+
error: "Error!",
|
|
373
|
+
});
|
|
374
|
+
await waitFor(() => {
|
|
375
|
+
expect(screen.getByText("Loading...")).toBeInTheDocument();
|
|
376
|
+
});
|
|
377
|
+
await waitFor(() => {
|
|
378
|
+
expect(screen.getByText("Success!")).toBeInTheDocument();
|
|
379
|
+
}, { timeout: 200 });
|
|
380
|
+
});
|
|
381
|
+
it("handles promise rejection", async () => {
|
|
382
|
+
render(_jsx(Toaster, {}));
|
|
383
|
+
const promise = new Promise((_, reject) => setTimeout(() => reject("Failed"), 100));
|
|
384
|
+
toast.promise(promise, {
|
|
385
|
+
loading: "Loading...",
|
|
386
|
+
success: "Success!",
|
|
387
|
+
error: "Error occurred",
|
|
388
|
+
});
|
|
389
|
+
await waitFor(() => {
|
|
390
|
+
expect(screen.getByText("Loading...")).toBeInTheDocument();
|
|
391
|
+
});
|
|
392
|
+
await waitFor(() => {
|
|
393
|
+
expect(screen.getByText("Error occurred")).toBeInTheDocument();
|
|
394
|
+
}, { timeout: 200 });
|
|
395
|
+
});
|
|
396
|
+
});
|
|
397
|
+
describe("Custom Toast", () => {
|
|
398
|
+
it("displays custom JSX content", async () => {
|
|
399
|
+
render(_jsx(Toaster, {}));
|
|
400
|
+
toast.custom(() => _jsx("div", { "data-testid": "custom-toast", children: "Custom content" }));
|
|
401
|
+
await waitFor(() => {
|
|
402
|
+
expect(screen.getByTestId("custom-toast")).toBeInTheDocument();
|
|
403
|
+
});
|
|
404
|
+
});
|
|
405
|
+
});
|
|
406
|
+
describe("Accessibility", () => {
|
|
407
|
+
it("has proper ARIA attributes", async () => {
|
|
408
|
+
render(_jsx(Toaster, {}));
|
|
409
|
+
toast("Accessible toast");
|
|
410
|
+
await waitFor(() => {
|
|
411
|
+
const toastElement = screen.getByText("Accessible toast");
|
|
412
|
+
// Sonner wraps toasts in a section with aria-live
|
|
413
|
+
expect(toastElement).toBeInTheDocument();
|
|
414
|
+
});
|
|
415
|
+
});
|
|
416
|
+
it("supports screen readers", async () => {
|
|
417
|
+
render(_jsx(Toaster, {}));
|
|
418
|
+
toast("Screen reader announcement");
|
|
419
|
+
await waitFor(() => {
|
|
420
|
+
const announcement = screen.getByText("Screen reader announcement");
|
|
421
|
+
expect(announcement).toBeInTheDocument();
|
|
422
|
+
});
|
|
423
|
+
});
|
|
424
|
+
});
|
|
425
|
+
describe("Edge Cases", () => {
|
|
426
|
+
it("handles empty message", async () => {
|
|
427
|
+
render(_jsx(Toaster, {}));
|
|
428
|
+
toast("");
|
|
429
|
+
// Should still render the toast container
|
|
430
|
+
await waitFor(() => {
|
|
431
|
+
const toaster = document.querySelector(".toaster");
|
|
432
|
+
expect(toaster).toBeInTheDocument();
|
|
433
|
+
});
|
|
434
|
+
});
|
|
435
|
+
it("handles very long messages", async () => {
|
|
436
|
+
render(_jsx(Toaster, {}));
|
|
437
|
+
const longMessage = "A".repeat(500);
|
|
438
|
+
toast(longMessage);
|
|
439
|
+
await waitFor(() => {
|
|
440
|
+
expect(screen.getByText(longMessage)).toBeInTheDocument();
|
|
441
|
+
});
|
|
442
|
+
});
|
|
443
|
+
it("handles rapid toast creation", async () => {
|
|
444
|
+
render(_jsx(Toaster, {}));
|
|
445
|
+
for (let i = 0; i < 10; i++) {
|
|
446
|
+
toast(`Toast ${i}`);
|
|
447
|
+
}
|
|
448
|
+
// Should handle multiple toasts
|
|
449
|
+
await waitFor(() => {
|
|
450
|
+
expect(screen.getByText("Toast 0")).toBeInTheDocument();
|
|
451
|
+
});
|
|
452
|
+
});
|
|
453
|
+
it("handles toast update", async () => {
|
|
454
|
+
render(_jsx(Toaster, {}));
|
|
455
|
+
const id = toast("Initial message");
|
|
456
|
+
await waitFor(() => {
|
|
457
|
+
expect(screen.getByText("Initial message")).toBeInTheDocument();
|
|
458
|
+
});
|
|
459
|
+
toast("Updated message", { id });
|
|
460
|
+
await waitFor(() => {
|
|
461
|
+
expect(screen.getByText("Updated message")).toBeInTheDocument();
|
|
462
|
+
expect(screen.queryByText("Initial message")).not.toBeInTheDocument();
|
|
463
|
+
});
|
|
464
|
+
});
|
|
465
|
+
});
|
|
466
|
+
});
|
|
467
|
+
//# sourceMappingURL=toaster.test.js.map
|