@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,42 @@
|
|
|
1
|
+
import type { ErrorInfo, ReactNode } from "react";
|
|
2
|
+
import { Component } from "react";
|
|
3
|
+
export interface ErrorBoundaryProps {
|
|
4
|
+
/**
|
|
5
|
+
* Fallback UI to display when an error occurs
|
|
6
|
+
*/
|
|
7
|
+
fallback?: ReactNode | ((error: Error, reset: () => void) => ReactNode);
|
|
8
|
+
/**
|
|
9
|
+
* Callback fired when an error is caught
|
|
10
|
+
*/
|
|
11
|
+
onError?: (error: Error, errorInfo: ErrorInfo) => void;
|
|
12
|
+
/**
|
|
13
|
+
* Children to render
|
|
14
|
+
*/
|
|
15
|
+
children: ReactNode;
|
|
16
|
+
}
|
|
17
|
+
interface ErrorBoundaryState {
|
|
18
|
+
hasError: boolean;
|
|
19
|
+
error: Error | null;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Error Boundary Component
|
|
23
|
+
*
|
|
24
|
+
* Catches JavaScript errors anywhere in the child component tree,
|
|
25
|
+
* logs those errors, and displays a fallback UI.
|
|
26
|
+
*
|
|
27
|
+
* @example
|
|
28
|
+
* ```tsx
|
|
29
|
+
* <ErrorBoundary fallback={<ErrorFallback />}>
|
|
30
|
+
* <YourComponent />
|
|
31
|
+
* </ErrorBoundary>
|
|
32
|
+
* ```
|
|
33
|
+
*/
|
|
34
|
+
export declare class ErrorBoundary extends Component<ErrorBoundaryProps, ErrorBoundaryState> {
|
|
35
|
+
constructor(props: ErrorBoundaryProps);
|
|
36
|
+
static getDerivedStateFromError(error: Error): ErrorBoundaryState;
|
|
37
|
+
componentDidCatch(error: Error, errorInfo: ErrorInfo): void;
|
|
38
|
+
reset: () => void;
|
|
39
|
+
render(): ReactNode;
|
|
40
|
+
}
|
|
41
|
+
export {};
|
|
42
|
+
//# sourceMappingURL=error-boundary.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"error-boundary.d.ts","sourceRoot":"","sources":["../../../../src/components/error-boundary/error-boundary.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AASlC,MAAM,WAAW,kBAAkB;IAClC;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,GAAG,CAAC,CAAC,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,IAAI,KAAK,SAAS,CAAC,CAAC;IACxE;;OAEG;IACH,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,SAAS,KAAK,IAAI,CAAC;IACvD;;OAEG;IACH,QAAQ,EAAE,SAAS,CAAC;CACpB;AAED,UAAU,kBAAkB;IAC3B,QAAQ,EAAE,OAAO,CAAC;IAClB,KAAK,EAAE,KAAK,GAAG,IAAI,CAAC;CACpB;AAED;;;;;;;;;;;;GAYG;AACH,qBAAa,aAAc,SAAQ,SAAS,CAC3C,kBAAkB,EAClB,kBAAkB,CAClB;gBACY,KAAK,EAAE,kBAAkB;IAKrC,MAAM,CAAC,wBAAwB,CAAC,KAAK,EAAE,KAAK,GAAG,kBAAkB;IAIxD,iBAAiB,CAAC,KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,SAAS,GAAG,IAAI;IAapE,KAAK,QAAO,IAAI,CAEd;IAEO,MAAM,IAAI,SAAS;CAa5B"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { Component } from "react";
|
|
3
|
+
// Simple logger for error boundary
|
|
4
|
+
const logError = (message, data) => {
|
|
5
|
+
if (typeof window !== "undefined") {
|
|
6
|
+
console.error(`[ErrorBoundary] ${message}`, data);
|
|
7
|
+
}
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* Error Boundary Component
|
|
11
|
+
*
|
|
12
|
+
* Catches JavaScript errors anywhere in the child component tree,
|
|
13
|
+
* logs those errors, and displays a fallback UI.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* ```tsx
|
|
17
|
+
* <ErrorBoundary fallback={<ErrorFallback />}>
|
|
18
|
+
* <YourComponent />
|
|
19
|
+
* </ErrorBoundary>
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
export class ErrorBoundary extends Component {
|
|
23
|
+
constructor(props) {
|
|
24
|
+
super(props);
|
|
25
|
+
this.state = { hasError: false, error: null };
|
|
26
|
+
}
|
|
27
|
+
static getDerivedStateFromError(error) {
|
|
28
|
+
return { hasError: true, error };
|
|
29
|
+
}
|
|
30
|
+
componentDidCatch(error, errorInfo) {
|
|
31
|
+
// Log error to console
|
|
32
|
+
logError("ErrorBoundary caught an error", {
|
|
33
|
+
error,
|
|
34
|
+
context: {
|
|
35
|
+
componentStack: errorInfo.componentStack,
|
|
36
|
+
},
|
|
37
|
+
});
|
|
38
|
+
// Call onError callback if provided
|
|
39
|
+
this.props.onError?.(error, errorInfo);
|
|
40
|
+
}
|
|
41
|
+
reset = () => {
|
|
42
|
+
this.setState({ hasError: false, error: null });
|
|
43
|
+
};
|
|
44
|
+
render() {
|
|
45
|
+
if (this.state.hasError && this.state.error) {
|
|
46
|
+
const { fallback } = this.props;
|
|
47
|
+
if (typeof fallback === "function") {
|
|
48
|
+
return fallback(this.state.error, this.reset);
|
|
49
|
+
}
|
|
50
|
+
return fallback;
|
|
51
|
+
}
|
|
52
|
+
return this.props.children;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
//# sourceMappingURL=error-boundary.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"error-boundary.js","sourceRoot":"","sources":["../../../../src/components/error-boundary/error-boundary.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;AAGb,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAElC,mCAAmC;AACnC,MAAM,QAAQ,GAAG,CAAC,OAAe,EAAE,IAAa,EAAE,EAAE;IACnD,IAAI,OAAO,MAAM,KAAK,WAAW,EAAE,CAAC;QACnC,OAAO,CAAC,KAAK,CAAC,mBAAmB,OAAO,EAAE,EAAE,IAAI,CAAC,CAAC;IACnD,CAAC;AACF,CAAC,CAAC;AAsBF;;;;;;;;;;;;GAYG;AACH,MAAM,OAAO,aAAc,SAAQ,SAGlC;IACA,YAAY,KAAyB;QACpC,KAAK,CAAC,KAAK,CAAC,CAAC;QACb,IAAI,CAAC,KAAK,GAAG,EAAE,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;IAC/C,CAAC;IAED,MAAM,CAAC,wBAAwB,CAAC,KAAY;QAC3C,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;IAClC,CAAC;IAEQ,iBAAiB,CAAC,KAAY,EAAE,SAAoB;QAC5D,uBAAuB;QACvB,QAAQ,CAAC,+BAA+B,EAAE;YACzC,KAAK;YACL,OAAO,EAAE;gBACR,cAAc,EAAE,SAAS,CAAC,cAAc;aACxC;SACD,CAAC,CAAC;QAEH,oCAAoC;QACpC,IAAI,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC,KAAK,EAAE,SAAS,CAAC,CAAC;IACxC,CAAC;IAED,KAAK,GAAG,GAAS,EAAE;QAClB,IAAI,CAAC,QAAQ,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC;IACjD,CAAC,CAAC;IAEO,MAAM;QACd,IAAI,IAAI,CAAC,KAAK,CAAC,QAAQ,IAAI,IAAI,CAAC,KAAK,CAAC,KAAK,EAAE,CAAC;YAC7C,MAAM,EAAE,QAAQ,EAAE,GAAG,IAAI,CAAC,KAAK,CAAC;YAEhC,IAAI,OAAO,QAAQ,KAAK,UAAU,EAAE,CAAC;gBACpC,OAAO,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC;YAC/C,CAAC;YAED,OAAO,QAAQ,CAAC;QACjB,CAAC;QAED,OAAO,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC;IAC5B,CAAC;CACD"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { StoryObj } from "@storybook/react";
|
|
2
|
+
import { ErrorFallback } from "./error-fallback";
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof ErrorFallback;
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
tags: string[];
|
|
10
|
+
};
|
|
11
|
+
export default meta;
|
|
12
|
+
type Story = StoryObj<typeof meta>;
|
|
13
|
+
export declare const Default: Story;
|
|
14
|
+
export declare const WithErrorDetails: Story;
|
|
15
|
+
export declare const SectionVariant: Story;
|
|
16
|
+
//# sourceMappingURL=error-boundary.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"error-boundary.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/error-boundary/error-boundary.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEjD,QAAA,MAAM,IAAI;;;;;;;CAO4B,CAAC;AAEvC,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAMrB,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,KAO9B,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,KAO5B,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { ErrorFallback } from "./error-fallback";
|
|
2
|
+
const meta = {
|
|
3
|
+
title: "Application/ErrorBoundary",
|
|
4
|
+
component: ErrorFallback,
|
|
5
|
+
parameters: {
|
|
6
|
+
layout: "centered",
|
|
7
|
+
},
|
|
8
|
+
tags: ["autodocs"],
|
|
9
|
+
};
|
|
10
|
+
export default meta;
|
|
11
|
+
export const Default = {
|
|
12
|
+
args: {
|
|
13
|
+
title: "Something went wrong",
|
|
14
|
+
description: "An unexpected error occurred. Please try again.",
|
|
15
|
+
reset: () => alert("Reset clicked"),
|
|
16
|
+
},
|
|
17
|
+
};
|
|
18
|
+
export const WithErrorDetails = {
|
|
19
|
+
args: {
|
|
20
|
+
title: "Application Error",
|
|
21
|
+
description: "We encountered a problem while loading this page.",
|
|
22
|
+
error: new Error("Failed to fetch user data: 500 Internal Server Error"),
|
|
23
|
+
reset: () => alert("Reset clicked"),
|
|
24
|
+
},
|
|
25
|
+
};
|
|
26
|
+
export const SectionVariant = {
|
|
27
|
+
args: {
|
|
28
|
+
variant: "section",
|
|
29
|
+
title: "Section Error",
|
|
30
|
+
description: "Could not load this section.",
|
|
31
|
+
reset: () => alert("Retry clicked"),
|
|
32
|
+
},
|
|
33
|
+
};
|
|
34
|
+
//# sourceMappingURL=error-boundary.stories.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"error-boundary.stories.js","sourceRoot":"","sources":["../../../../src/components/error-boundary/error-boundary.stories.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEjD,MAAM,IAAI,GAAG;IACZ,KAAK,EAAE,2BAA2B;IAClC,SAAS,EAAE,aAAa;IACxB,UAAU,EAAE;QACX,MAAM,EAAE,UAAU;KAClB;IACD,IAAI,EAAE,CAAC,UAAU,CAAC;CACmB,CAAC;AAEvC,eAAe,IAAI,CAAC;AAGpB,MAAM,CAAC,MAAM,OAAO,GAAU;IAC7B,IAAI,EAAE;QACL,KAAK,EAAE,sBAAsB;QAC7B,WAAW,EAAE,iDAAiD;QAC9D,KAAK,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC,eAAe,CAAC;KACnC;CACD,CAAC;AAEF,MAAM,CAAC,MAAM,gBAAgB,GAAU;IACtC,IAAI,EAAE;QACL,KAAK,EAAE,mBAAmB;QAC1B,WAAW,EAAE,mDAAmD;QAChE,KAAK,EAAE,IAAI,KAAK,CAAC,sDAAsD,CAAC;QACxE,KAAK,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC,eAAe,CAAC;KACnC;CACD,CAAC;AAEF,MAAM,CAAC,MAAM,cAAc,GAAU;IACpC,IAAI,EAAE;QACL,OAAO,EAAE,SAAS;QAClB,KAAK,EAAE,eAAe;QACtB,WAAW,EAAE,8BAA8B;QAC3C,KAAK,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC,eAAe,CAAC;KACnC;CACD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"error-boundary.test.d.ts","sourceRoot":"","sources":["../../../../src/components/error-boundary/error-boundary.test.tsx"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { render, screen } from "@testing-library/react";
|
|
3
|
+
import userEvent from "@testing-library/user-event";
|
|
4
|
+
import { beforeEach, describe, expect, it, vi } from "vitest";
|
|
5
|
+
import { Button } from "../button";
|
|
6
|
+
import { ErrorBoundary } from "./error-boundary";
|
|
7
|
+
// Component that throws an error
|
|
8
|
+
function ThrowError({ shouldThrow = false, message = "Test error", }) {
|
|
9
|
+
if (shouldThrow) {
|
|
10
|
+
throw new Error(message);
|
|
11
|
+
}
|
|
12
|
+
return _jsx("div", { children: "Normal content" });
|
|
13
|
+
}
|
|
14
|
+
// Suppress console.error for tests (ErrorBoundary logs errors)
|
|
15
|
+
const originalError = console.error;
|
|
16
|
+
beforeEach(() => {
|
|
17
|
+
console.error = vi.fn();
|
|
18
|
+
});
|
|
19
|
+
afterEach(() => {
|
|
20
|
+
console.error = originalError;
|
|
21
|
+
});
|
|
22
|
+
describe("ErrorBoundary", () => {
|
|
23
|
+
describe("Normal Rendering", () => {
|
|
24
|
+
it("renders children when no error occurs", () => {
|
|
25
|
+
render(_jsx(ErrorBoundary, { children: _jsx("div", { children: "Test content" }) }));
|
|
26
|
+
expect(screen.getByText("Test content")).toBeInTheDocument();
|
|
27
|
+
});
|
|
28
|
+
it("renders nested children correctly", () => {
|
|
29
|
+
render(_jsx(ErrorBoundary, { children: _jsxs("div", { children: [_jsx("span", { children: "Nested" }), _jsx("span", { children: "Content" })] }) }));
|
|
30
|
+
expect(screen.getByText("Nested")).toBeInTheDocument();
|
|
31
|
+
expect(screen.getByText("Content")).toBeInTheDocument();
|
|
32
|
+
});
|
|
33
|
+
});
|
|
34
|
+
describe("Error Handling", () => {
|
|
35
|
+
it("catches errors from child components", () => {
|
|
36
|
+
render(_jsx(ErrorBoundary, { fallback: _jsx("div", { children: "Error occurred" }), children: _jsx(ThrowError, { shouldThrow: true }) }));
|
|
37
|
+
expect(screen.getByText("Error occurred")).toBeInTheDocument();
|
|
38
|
+
expect(screen.queryByText("Normal content")).not.toBeInTheDocument();
|
|
39
|
+
});
|
|
40
|
+
it("displays fallback UI when error occurs", () => {
|
|
41
|
+
const fallback = _jsx("div", { "data-testid": "fallback", children: "Custom error message" });
|
|
42
|
+
render(_jsx(ErrorBoundary, { fallback: fallback, children: _jsx(ThrowError, { shouldThrow: true }) }));
|
|
43
|
+
expect(screen.getByTestId("fallback")).toBeInTheDocument();
|
|
44
|
+
});
|
|
45
|
+
it("handles different error messages", () => {
|
|
46
|
+
render(_jsx(ErrorBoundary, { fallback: (error) => _jsxs("div", { children: ["Error: ", error.message] }), children: _jsx(ThrowError, { shouldThrow: true, message: "Custom error message" }) }));
|
|
47
|
+
expect(screen.getByText("Error: Custom error message")).toBeInTheDocument();
|
|
48
|
+
});
|
|
49
|
+
});
|
|
50
|
+
describe("Fallback Prop", () => {
|
|
51
|
+
it("supports fallback as ReactNode", () => {
|
|
52
|
+
render(_jsx(ErrorBoundary, { fallback: _jsx("div", { children: "Static fallback" }), children: _jsx(ThrowError, { shouldThrow: true }) }));
|
|
53
|
+
expect(screen.getByText("Static fallback")).toBeInTheDocument();
|
|
54
|
+
});
|
|
55
|
+
it("supports fallback as function", () => {
|
|
56
|
+
render(_jsx(ErrorBoundary, { fallback: (error, reset) => (_jsxs("div", { children: [_jsxs("p", { children: ["Error: ", error.message] }), _jsx(Button, { type: "button", onClick: reset, children: "Reset" })] })), children: _jsx(ThrowError, { shouldThrow: true, message: "Function fallback test" }) }));
|
|
57
|
+
expect(screen.getByText("Error: Function fallback test")).toBeInTheDocument();
|
|
58
|
+
expect(screen.getByRole("button", { name: "Reset" })).toBeInTheDocument();
|
|
59
|
+
});
|
|
60
|
+
it("fallback function receives error object", () => {
|
|
61
|
+
const fallbackFn = vi.fn((error) => _jsxs("div", { children: ["Error: ", error.message] }));
|
|
62
|
+
render(_jsx(ErrorBoundary, { fallback: fallbackFn, children: _jsx(ThrowError, { shouldThrow: true, message: "Test message" }) }));
|
|
63
|
+
expect(fallbackFn).toHaveBeenCalled();
|
|
64
|
+
const error = fallbackFn.mock.calls[0]?.[0];
|
|
65
|
+
expect(error).toBeInstanceOf(Error);
|
|
66
|
+
expect(error?.message).toBe("Test message");
|
|
67
|
+
});
|
|
68
|
+
it("fallback function receives reset callback", () => {
|
|
69
|
+
const fallbackFn = vi.fn((_error, reset) => (_jsx(Button, { type: "button", onClick: reset, children: "Reset" })));
|
|
70
|
+
render(_jsx(ErrorBoundary, { fallback: fallbackFn, children: _jsx(ThrowError, { shouldThrow: true }) }));
|
|
71
|
+
expect(fallbackFn).toHaveBeenCalled();
|
|
72
|
+
const resetFn = fallbackFn.mock.calls[0]?.[1];
|
|
73
|
+
expect(typeof resetFn).toBe("function");
|
|
74
|
+
});
|
|
75
|
+
});
|
|
76
|
+
describe("Reset Functionality", () => {
|
|
77
|
+
it("resets error state when reset is called", async () => {
|
|
78
|
+
const user = userEvent.setup();
|
|
79
|
+
const { rerender } = render(_jsx(ErrorBoundary, { fallback: (_error, reset) => (_jsxs("div", { children: [_jsx("p", { children: "Error occurred" }), _jsx(Button, { type: "button", onClick: reset, children: "Try again" })] })), children: _jsx(ThrowError, { shouldThrow: true }) }));
|
|
80
|
+
// Error fallback should be shown
|
|
81
|
+
expect(screen.getByText("Error occurred")).toBeInTheDocument();
|
|
82
|
+
// Click reset button
|
|
83
|
+
await user.click(screen.getByRole("button", { name: "Try again" }));
|
|
84
|
+
// Re-render with no error, use key to force remount
|
|
85
|
+
rerender(_jsx(ErrorBoundary, { fallback: (_error, reset) => (_jsxs("div", { children: [_jsx("p", { children: "Error occurred" }), _jsx(Button, { type: "button", onClick: reset, children: "Try again" })] })), children: _jsx(ThrowError, { shouldThrow: false }) }, "reset"));
|
|
86
|
+
// Normal content should be shown after reset
|
|
87
|
+
expect(screen.getByText("Normal content")).toBeInTheDocument();
|
|
88
|
+
});
|
|
89
|
+
it("allows recovery after error", async () => {
|
|
90
|
+
const user = userEvent.setup();
|
|
91
|
+
let shouldThrow = true;
|
|
92
|
+
const { rerender } = render(_jsx(ErrorBoundary, { fallback: (_error, reset) => (_jsx(Button, { type: "button", onClick: reset, children: "Retry" })), children: _jsx(ThrowError, { shouldThrow: shouldThrow }) }));
|
|
93
|
+
// Error state
|
|
94
|
+
expect(screen.getByRole("button", { name: "Retry" })).toBeInTheDocument();
|
|
95
|
+
// Fix the error condition
|
|
96
|
+
shouldThrow = false;
|
|
97
|
+
// Click retry
|
|
98
|
+
await user.click(screen.getByRole("button", { name: "Retry" }));
|
|
99
|
+
// Rerender without error, use key to force remount
|
|
100
|
+
rerender(_jsx(ErrorBoundary, { fallback: (_error, reset) => (_jsx(Button, { type: "button", onClick: reset, children: "Retry" })), children: _jsx(ThrowError, { shouldThrow: shouldThrow }) }, "recovered"));
|
|
101
|
+
expect(screen.getByText("Normal content")).toBeInTheDocument();
|
|
102
|
+
});
|
|
103
|
+
});
|
|
104
|
+
describe("onError Callback", () => {
|
|
105
|
+
it("calls onError when error is caught", () => {
|
|
106
|
+
const onError = vi.fn();
|
|
107
|
+
render(_jsx(ErrorBoundary, { fallback: _jsx("div", { children: "Error" }), onError: onError, children: _jsx(ThrowError, { shouldThrow: true, message: "Test error" }) }));
|
|
108
|
+
expect(onError).toHaveBeenCalled();
|
|
109
|
+
});
|
|
110
|
+
it("onError receives error object", () => {
|
|
111
|
+
const onError = vi.fn();
|
|
112
|
+
render(_jsx(ErrorBoundary, { fallback: _jsx("div", { children: "Error" }), onError: onError, children: _jsx(ThrowError, { shouldThrow: true, message: "Callback test error" }) }));
|
|
113
|
+
expect(onError).toHaveBeenCalledWith(expect.objectContaining({
|
|
114
|
+
message: "Callback test error",
|
|
115
|
+
}), expect.any(Object));
|
|
116
|
+
});
|
|
117
|
+
it("onError receives errorInfo with component stack", () => {
|
|
118
|
+
const onError = vi.fn();
|
|
119
|
+
render(_jsx(ErrorBoundary, { fallback: _jsx("div", { children: "Error" }), onError: onError, children: _jsx(ThrowError, { shouldThrow: true }) }));
|
|
120
|
+
const errorInfo = onError.mock.calls[0]?.[1];
|
|
121
|
+
expect(errorInfo).toBeDefined();
|
|
122
|
+
expect(errorInfo).toHaveProperty("componentStack");
|
|
123
|
+
});
|
|
124
|
+
it("does not call onError when no error occurs", () => {
|
|
125
|
+
const onError = vi.fn();
|
|
126
|
+
render(_jsx(ErrorBoundary, { fallback: _jsx("div", { children: "Error" }), onError: onError, children: _jsx("div", { children: "Normal content" }) }));
|
|
127
|
+
expect(onError).not.toHaveBeenCalled();
|
|
128
|
+
});
|
|
129
|
+
});
|
|
130
|
+
describe("Console Logging", () => {
|
|
131
|
+
it("logs error to console", () => {
|
|
132
|
+
const consoleError = vi
|
|
133
|
+
.spyOn(console, "error")
|
|
134
|
+
.mockImplementation(() => { });
|
|
135
|
+
render(_jsx(ErrorBoundary, { fallback: _jsx("div", { children: "Error" }), children: _jsx(ThrowError, { shouldThrow: true, message: "Console test error" }) }));
|
|
136
|
+
expect(consoleError).toHaveBeenCalled();
|
|
137
|
+
consoleError.mockRestore();
|
|
138
|
+
});
|
|
139
|
+
});
|
|
140
|
+
describe("State Management", () => {
|
|
141
|
+
it("initializes with no error state", () => {
|
|
142
|
+
render(_jsx(ErrorBoundary, { fallback: _jsx("div", { children: "Error" }), children: _jsx("div", { children: "Content" }) }));
|
|
143
|
+
expect(screen.getByText("Content")).toBeInTheDocument();
|
|
144
|
+
expect(screen.queryByText("Error")).not.toBeInTheDocument();
|
|
145
|
+
});
|
|
146
|
+
it("updates state when error occurs", () => {
|
|
147
|
+
render(_jsx(ErrorBoundary, { fallback: _jsx("div", { children: "Error state active" }), children: _jsx(ThrowError, { shouldThrow: true }) }));
|
|
148
|
+
expect(screen.getByText("Error state active")).toBeInTheDocument();
|
|
149
|
+
});
|
|
150
|
+
it("maintains error state until reset", async () => {
|
|
151
|
+
render(_jsx(ErrorBoundary, { fallback: (_error, reset) => (_jsxs("div", { children: [_jsx("p", { children: "Error persists" }), _jsx(Button, { type: "button", onClick: reset, children: "Clear" })] })), children: _jsx(ThrowError, { shouldThrow: true }) }));
|
|
152
|
+
expect(screen.getByText("Error persists")).toBeInTheDocument();
|
|
153
|
+
// Error should persist until reset is called
|
|
154
|
+
expect(screen.getByRole("button", { name: "Clear" })).toBeInTheDocument();
|
|
155
|
+
});
|
|
156
|
+
});
|
|
157
|
+
describe("Multiple Children", () => {
|
|
158
|
+
it("catches errors from any child", () => {
|
|
159
|
+
render(_jsxs(ErrorBoundary, { fallback: _jsx("div", { children: "Error caught" }), children: [_jsx("div", { children: "Safe child" }), _jsx(ThrowError, { shouldThrow: true }), _jsx("div", { children: "Another safe child" })] }));
|
|
160
|
+
expect(screen.getByText("Error caught")).toBeInTheDocument();
|
|
161
|
+
expect(screen.queryByText("Safe child")).not.toBeInTheDocument();
|
|
162
|
+
});
|
|
163
|
+
it("renders all children when no errors", () => {
|
|
164
|
+
render(_jsxs(ErrorBoundary, { fallback: _jsx("div", { children: "Error" }), children: [_jsx("div", { children: "First child" }), _jsx("div", { children: "Second child" }), _jsx("div", { children: "Third child" })] }));
|
|
165
|
+
expect(screen.getByText("First child")).toBeInTheDocument();
|
|
166
|
+
expect(screen.getByText("Second child")).toBeInTheDocument();
|
|
167
|
+
expect(screen.getByText("Third child")).toBeInTheDocument();
|
|
168
|
+
});
|
|
169
|
+
});
|
|
170
|
+
describe("Edge Cases", () => {
|
|
171
|
+
it("handles missing fallback prop", () => {
|
|
172
|
+
render(_jsx(ErrorBoundary, { children: _jsx(ThrowError, { shouldThrow: true }) }));
|
|
173
|
+
// Should not crash, fallback should be undefined
|
|
174
|
+
expect(screen.queryByText("Normal content")).not.toBeInTheDocument();
|
|
175
|
+
});
|
|
176
|
+
it("handles errors in deeply nested components", () => {
|
|
177
|
+
render(_jsx(ErrorBoundary, { fallback: _jsx("div", { children: "Deep error caught" }), children: _jsx("div", { children: _jsx("div", { children: _jsx("div", { children: _jsx(ThrowError, { shouldThrow: true }) }) }) }) }));
|
|
178
|
+
expect(screen.getByText("Deep error caught")).toBeInTheDocument();
|
|
179
|
+
});
|
|
180
|
+
});
|
|
181
|
+
});
|
|
182
|
+
//# sourceMappingURL=error-boundary.test.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"error-boundary.test.js","sourceRoot":"","sources":["../../../../src/components/error-boundary/error-boundary.test.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,SAAS,MAAM,6BAA6B,CAAC;AACpD,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE,EAAE,EAAE,MAAM,QAAQ,CAAC;AAC9D,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACnC,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEjD,iCAAiC;AACjC,SAAS,UAAU,CAAC,EACnB,WAAW,GAAG,KAAK,EACnB,OAAO,GAAG,YAAY,GAItB;IACA,IAAI,WAAW,EAAE,CAAC;QACjB,MAAM,IAAI,KAAK,CAAC,OAAO,CAAC,CAAC;IAC1B,CAAC;IACD,OAAO,2CAAyB,CAAC;AAClC,CAAC;AAED,+DAA+D;AAC/D,MAAM,aAAa,GAAG,OAAO,CAAC,KAAK,CAAC;AACpC,UAAU,CAAC,GAAG,EAAE;IACf,OAAO,CAAC,KAAK,GAAG,EAAE,CAAC,EAAE,EAAE,CAAC;AACzB,CAAC,CAAC,CAAC;AAEH,SAAS,CAAC,GAAG,EAAE;IACd,OAAO,CAAC,KAAK,GAAG,aAAa,CAAC;AAC/B,CAAC,CAAC,CAAC;AAEH,QAAQ,CAAC,eAAe,EAAE,GAAG,EAAE;IAC9B,QAAQ,CAAC,kBAAkB,EAAE,GAAG,EAAE;QACjC,EAAE,CAAC,uCAAuC,EAAE,GAAG,EAAE;YAChD,MAAM,CACL,KAAC,aAAa,cACb,yCAAuB,GACR,CAChB,CAAC;YAEF,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,CAAC,CAAC,iBAAiB,EAAE,CAAC;QAC9D,CAAC,CAAC,CAAC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|
+
declare const errorFallbackVariants: (props?: ({
|
|
3
|
+
variant?: "section" | "page" | null | undefined;
|
|
4
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
5
|
+
export interface ErrorFallbackProps extends VariantProps<typeof errorFallbackVariants> {
|
|
6
|
+
/**
|
|
7
|
+
* The error that was caught
|
|
8
|
+
*/
|
|
9
|
+
error?: Error;
|
|
10
|
+
/**
|
|
11
|
+
* Callback to reset the error boundary
|
|
12
|
+
*/
|
|
13
|
+
reset?: () => void;
|
|
14
|
+
/**
|
|
15
|
+
* Optional custom title
|
|
16
|
+
*/
|
|
17
|
+
title?: string;
|
|
18
|
+
/**
|
|
19
|
+
* Optional custom description
|
|
20
|
+
*/
|
|
21
|
+
description?: string;
|
|
22
|
+
/**
|
|
23
|
+
* Additional class name
|
|
24
|
+
*/
|
|
25
|
+
className?: string;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Error Fallback UI Component
|
|
29
|
+
*
|
|
30
|
+
* Displays a user-friendly error message with a reset button.
|
|
31
|
+
*
|
|
32
|
+
* @example
|
|
33
|
+
* ```tsx
|
|
34
|
+
* <ErrorFallback
|
|
35
|
+
* error={error}
|
|
36
|
+
* reset={reset}
|
|
37
|
+
* title="Something went wrong"
|
|
38
|
+
* />
|
|
39
|
+
* ```
|
|
40
|
+
*/
|
|
41
|
+
export declare function ErrorFallback({ error, reset, title, description, variant, className, }: ErrorFallbackProps): import("react/jsx-runtime").JSX.Element;
|
|
42
|
+
export {};
|
|
43
|
+
//# sourceMappingURL=error-fallback.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"error-fallback.d.ts","sourceRoot":"","sources":["../../../../src/components/error-boundary/error-fallback.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAKlE,QAAA,MAAM,qBAAqB;;8EAa1B,CAAC;AAEF,MAAM,WAAW,kBAChB,SAAQ,YAAY,CAAC,OAAO,qBAAqB,CAAC;IAClD;;OAEG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC;IACd;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,IAAI,CAAC;IACnB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACnB;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,aAAa,CAAC,EAC7B,KAAK,EACL,KAAK,EACL,KAA8B,EAC9B,WAA+D,EAC/D,OAAO,EACP,SAAS,GACT,EAAE,kBAAkB,2CAkCpB"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { cva } from "class-variance-authority";
|
|
4
|
+
import { AlertTriangle } from "lucide-react";
|
|
5
|
+
import { cn } from "../../lib/utils";
|
|
6
|
+
import { Button } from "../button";
|
|
7
|
+
const errorFallbackVariants = cva("flex flex-col items-center justify-center p-8 text-center animate-in fade-in-50", {
|
|
8
|
+
variants: {
|
|
9
|
+
variant: {
|
|
10
|
+
page: "min-h-[400px]",
|
|
11
|
+
section: "min-h-[200px]",
|
|
12
|
+
},
|
|
13
|
+
},
|
|
14
|
+
defaultVariants: {
|
|
15
|
+
variant: "page",
|
|
16
|
+
},
|
|
17
|
+
});
|
|
18
|
+
/**
|
|
19
|
+
* Error Fallback UI Component
|
|
20
|
+
*
|
|
21
|
+
* Displays a user-friendly error message with a reset button.
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* ```tsx
|
|
25
|
+
* <ErrorFallback
|
|
26
|
+
* error={error}
|
|
27
|
+
* reset={reset}
|
|
28
|
+
* title="Something went wrong"
|
|
29
|
+
* />
|
|
30
|
+
* ```
|
|
31
|
+
*/
|
|
32
|
+
export function ErrorFallback({ error, reset, title = "Something went wrong", description = "An unexpected error occurred. Please try again.", variant, className, }) {
|
|
33
|
+
const showDetails = process.env.NODE_ENV === "development" && error;
|
|
34
|
+
return (_jsxs("div", { "data-comp": "error-fallback", className: cn(errorFallbackVariants({ variant }), className), role: "alert", children: [_jsx("div", { className: "mb-4 flex h-16 w-16 items-center justify-center rounded-full bg-destructive/10", children: _jsx(AlertTriangle, { className: "h-8 w-8 text-destructive" }) }), _jsx("h2", { className: "mb-2 text-2xl font-semibold text-foreground", children: title }), _jsx("p", { className: "mb-6 max-w-md text-muted-foreground", children: description }), showDetails && (_jsxs("details", { className: "mb-6 w-full max-w-2xl text-left", children: [_jsx("summary", { className: "cursor-pointer font-medium text-foreground hover:text-foreground/80", children: "Error Details" }), _jsxs("pre", { className: "mt-2 max-h-[300px] overflow-auto rounded-md bg-muted p-4 text-sm text-foreground", children: [error.message, error.stack && `\n\n${error.stack}`] })] })), reset && (_jsx(Button, { onClick: reset, variant: "default", children: "Try Again" }))] }));
|
|
35
|
+
}
|
|
36
|
+
//# sourceMappingURL=error-fallback.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"error-fallback.js","sourceRoot":"","sources":["../../../../src/components/error-boundary/error-fallback.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,EAAE,GAAG,EAAqB,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAC7C,OAAO,EAAE,EAAE,EAAE,MAAM,iBAAiB,CAAC;AACrC,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAEnC,MAAM,qBAAqB,GAAG,GAAG,CAChC,iFAAiF,EACjF;IACC,QAAQ,EAAE;QACT,OAAO,EAAE;YACR,IAAI,EAAE,eAAe;YACrB,OAAO,EAAE,eAAe;SACxB;KACD;IACD,eAAe,EAAE;QAChB,OAAO,EAAE,MAAM;KACf;CACD,CACD,CAAC;AA0BF;;;;;;;;;;;;;GAaG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
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/error-boundary/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEjD,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Field Skeleton Component
|
|
3
|
+
*
|
|
4
|
+
* Loading placeholder for the Field component wrapper.
|
|
5
|
+
* Matches field label + control + helper text layout.
|
|
6
|
+
*/
|
|
7
|
+
import type { FieldSkeletonConfig } from "../skeleton/skeleton.types";
|
|
8
|
+
export interface FieldSkeletonProps extends FieldSkeletonConfig {
|
|
9
|
+
/**
|
|
10
|
+
* Additional className for the skeleton container
|
|
11
|
+
*/
|
|
12
|
+
className?: string;
|
|
13
|
+
/**
|
|
14
|
+
* Test ID for querying the element
|
|
15
|
+
*/
|
|
16
|
+
"data-testid"?: string;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Field skeleton component
|
|
20
|
+
*
|
|
21
|
+
* @example
|
|
22
|
+
* ```tsx
|
|
23
|
+
* <FieldSkeleton showLabel required showHelperText />
|
|
24
|
+
*
|
|
25
|
+
* <FieldSkeleton variant="error" showLabel />
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
28
|
+
export declare function FieldSkeleton({ showLabel, required, showHelperText, controlHeight, variant, className, "data-testid": dataTestId, }: FieldSkeletonProps): import("react/jsx-runtime").JSX.Element;
|
|
29
|
+
//# sourceMappingURL=field-skeleton.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"field-skeleton.d.ts","sourceRoot":"","sources":["../../../../src/components/field/field-skeleton.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAIH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAEtE,MAAM,WAAW,kBAAmB,SAAQ,mBAAmB;IAC9D;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;CACvB;AAED;;;;;;;;;GASG;AACH,wBAAgB,aAAa,CAAC,EAC7B,SAAgB,EAChB,QAAgB,EAChB,cAAsB,EACtB,aAAwB,EACxB,OAAmB,EACnB,SAAS,EACT,aAAa,EAAE,UAAU,GACzB,EAAE,kBAAkB,2CA+BpB"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
/**
|
|
3
|
+
* Field Skeleton Component
|
|
4
|
+
*
|
|
5
|
+
* Loading placeholder for the Field component wrapper.
|
|
6
|
+
* Matches field label + control + helper text layout.
|
|
7
|
+
*/
|
|
8
|
+
import { cn } from "../../lib/utils";
|
|
9
|
+
import { Skeleton } from "../skeleton/skeleton";
|
|
10
|
+
/**
|
|
11
|
+
* Field skeleton component
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```tsx
|
|
15
|
+
* <FieldSkeleton showLabel required showHelperText />
|
|
16
|
+
*
|
|
17
|
+
* <FieldSkeleton variant="error" showLabel />
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
20
|
+
export function FieldSkeleton({ showLabel = true, required = false, showHelperText = false, controlHeight = "2.5rem", variant = "default", className, "data-testid": dataTestId, }) {
|
|
21
|
+
return (_jsxs("div", { "data-testid": dataTestId || "field-skeleton", className: cn("flex w-full flex-col gap-2", className), children: [showLabel && (_jsxs("div", { className: "flex items-center gap-1", children: [_jsx(Skeleton, { className: "h-4 w-24" }), required && _jsx(Skeleton, { className: "h-3 w-3 rounded-full" })] })), _jsx(Skeleton, { className: cn("w-full rounded-md", variant === "error" && "border-destructive"), style: { height: controlHeight } }), showHelperText && (_jsx(Skeleton, { className: cn("h-3 w-48", variant === "error" && "bg-destructive/20") }))] }));
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=field-skeleton.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"field-skeleton.js","sourceRoot":"","sources":["../../../../src/components/field/field-skeleton.tsx"],"names":[],"mappings":";AAAA;;;;;GAKG;AAEH,OAAO,EAAE,EAAE,EAAE,MAAM,iBAAiB,CAAC;AACrC,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAchD;;;;;;;;;GASG;AACH,MAAM,UAAU,aAAa,CAAC,EAC7B,SAAS,GAAG,IAAI,EAChB,QAAQ,GAAG,KAAK,EAChB,cAAc,GAAG,KAAK,EACtB,aAAa,GAAG,QAAQ,EACxB,OAAO,GAAG,SAAS,EACnB,SAAS,EACT,aAAa,EAAE,UAAU,GACL;IACpB,OAAO,CACN,8BACc,UAAU,IAAI,gBAAgB,EAC3C,SAAS,EAAE,EAAE,CAAC,4BAA4B,EAAE,SAAS,CAAC,aAGrD,SAAS,IAAI,CACb,eAAK,SAAS,EAAC,yBAAyB,aACvC,KAAC,QAAQ,IAAC,SAAS,EAAC,UAAU,GAAG,EAChC,QAAQ,IAAI,KAAC,QAAQ,IAAC,SAAS,EAAC,sBAAsB,GAAG,IACrD,CACN,EAGD,KAAC,QAAQ,IACR,SAAS,EAAE,EAAE,CACZ,mBAAmB,EACnB,OAAO,KAAK,OAAO,IAAI,oBAAoB,CAC3C,EACD,KAAK,EAAE,EAAE,MAAM,EAAE,aAAa,EAAE,GAC/B,EAGD,cAAc,IAAI,CAClB,KAAC,QAAQ,IACR,SAAS,EAAE,EAAE,CAAC,UAAU,EAAE,OAAO,KAAK,OAAO,IAAI,mBAAmB,CAAC,GACpE,CACF,IACI,CACN,CAAC;AACH,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { type VariantProps } from "class-variance-authority";
|
|
2
|
+
import { Label } from "../label";
|
|
3
|
+
declare function FieldSet({ className, ...props }: React.ComponentProps<"fieldset">): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
declare function FieldLegend({ className, variant, ...props }: React.ComponentProps<"legend"> & {
|
|
5
|
+
variant?: "legend" | "label";
|
|
6
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
declare function FieldGroup({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
declare const fieldVariants: (props?: ({
|
|
9
|
+
orientation?: "horizontal" | "vertical" | "responsive" | null | undefined;
|
|
10
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
11
|
+
declare function Field({ className, orientation, ...props }: React.ComponentProps<"fieldset"> & VariantProps<typeof fieldVariants>): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
declare function FieldContent({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
declare function FieldLabel({ className, ...props }: React.ComponentProps<typeof Label>): import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
declare function FieldTitle({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
declare function FieldDescription({ className, ...props }: React.ComponentProps<"p">): import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
declare function FieldSeparator({ children, className, ...props }: React.ComponentProps<"div"> & {
|
|
17
|
+
children?: React.ReactNode;
|
|
18
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
declare function FieldError({ className, children, errors, ...props }: React.ComponentProps<"div"> & {
|
|
20
|
+
errors?: Array<{
|
|
21
|
+
message?: string;
|
|
22
|
+
} | undefined>;
|
|
23
|
+
}): import("react/jsx-runtime").JSX.Element | null;
|
|
24
|
+
export { Field, FieldLabel, FieldDescription, FieldError, FieldGroup, FieldLegend, FieldSeparator, FieldSet, FieldContent, FieldTitle, };
|
|
25
|
+
//# sourceMappingURL=field.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"field.d.ts","sourceRoot":"","sources":["../../../../src/components/field/field.tsx"],"names":[],"mapp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