@techsio/ui-kit 0.54.0 → 0.54.2
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/README.md +16 -10
- package/dist/atoms/button.js +3 -2
- package/dist/atoms/checkbox.js +4 -4
- package/dist/atoms/hotkeys.js +1 -1
- package/dist/atoms/input.js +6 -2
- package/dist/atoms/numeric-input.js +6 -6
- package/dist/atoms/skeleton.js +1 -5
- package/dist/atoms/textarea.js +6 -2
- package/dist/atoms/tooltip.js +20 -5
- package/dist/internal/organisms/sidebar.styles.js +1 -1
- package/dist/molecules/accordion.js +13 -6
- package/dist/molecules/carousel.js +16 -16
- package/dist/molecules/cascade-select.js +2 -2
- package/dist/molecules/chart.js +99 -41
- package/dist/molecules/color-select.js +5 -5
- package/dist/molecules/combobox.js +13 -9
- package/dist/molecules/date-picker.js +7 -7
- package/dist/molecules/dialog.js +4 -15
- package/dist/molecules/file-upload.js +1 -1
- package/dist/molecules/form-checkbox.js +2 -2
- package/dist/molecules/form-numeric-input.js +4 -2
- package/dist/molecules/menu.js +79 -113
- package/dist/molecules/pagination.js +2 -1
- package/dist/molecules/phone-input.js +8 -6
- package/dist/molecules/popover.js +31 -6
- package/dist/molecules/radio-card.js +7 -7
- package/dist/molecules/radio-group.js +1 -1
- package/dist/molecules/search-form.js +1 -1
- package/dist/molecules/select.js +7 -7
- package/dist/molecules/slider.js +1 -1
- package/dist/molecules/steps.js +11 -6
- package/dist/molecules/tabs.js +3 -3
- package/dist/molecules/toast.js +1 -1
- package/dist/molecules/tour.js +2 -2
- package/dist/molecules/tree-view.js +2 -2
- package/dist/organisms/data-table.js +234 -123
- package/dist/organisms/footer.js +1 -1
- package/dist/organisms/gallery.js +23 -21
- package/dist/organisms/table.js +4 -4
- package/dist/src/atoms/action-icon.d.ts +12 -12
- package/dist/src/atoms/action-icon.d.ts.map +1 -1
- package/dist/src/atoms/badge.d.ts +3 -3
- package/dist/src/atoms/badge.d.ts.map +1 -1
- package/dist/src/atoms/button.d.ts +52 -52
- package/dist/src/atoms/button.d.ts.map +1 -1
- package/dist/src/atoms/checkbox.d.ts +2 -2
- package/dist/src/atoms/checkbox.d.ts.map +1 -1
- package/dist/src/atoms/hotkeys.d.ts +6 -6
- package/dist/src/atoms/hotkeys.d.ts.map +1 -1
- package/dist/src/atoms/icon.d.ts +42 -42
- package/dist/src/atoms/icon.d.ts.map +1 -1
- package/dist/src/atoms/image.d.ts +18 -18
- package/dist/src/atoms/image.d.ts.map +1 -1
- package/dist/src/atoms/input.d.ts +28 -28
- package/dist/src/atoms/input.d.ts.map +1 -1
- package/dist/src/atoms/label.d.ts +18 -18
- package/dist/src/atoms/label.d.ts.map +1 -1
- package/dist/src/atoms/link-button.d.ts +117 -117
- package/dist/src/atoms/link-button.d.ts.map +1 -1
- package/dist/src/atoms/link.d.ts +2 -2
- package/dist/src/atoms/link.d.ts.map +1 -1
- package/dist/src/atoms/numeric-input.d.ts +10 -9
- package/dist/src/atoms/numeric-input.d.ts.map +1 -1
- package/dist/src/atoms/rating.d.ts +3 -3
- package/dist/src/atoms/rating.d.ts.map +1 -1
- package/dist/src/atoms/skeleton.d.ts +6 -5
- package/dist/src/atoms/skeleton.d.ts.map +1 -1
- package/dist/src/atoms/status-text.d.ts +15 -15
- package/dist/src/atoms/status-text.d.ts.map +1 -1
- package/dist/src/atoms/textarea.d.ts +34 -34
- package/dist/src/atoms/textarea.d.ts.map +1 -1
- package/dist/src/atoms/tooltip.d.ts +3 -3
- package/dist/src/atoms/tooltip.d.ts.map +1 -1
- package/dist/src/hotkeys.d.ts.map +1 -1
- package/dist/src/internal/molecules/drawer.context.d.ts +3 -3
- package/dist/src/internal/molecules/drawer.context.d.ts.map +1 -1
- package/dist/src/internal/molecules/drawer.styles.d.ts +2 -2
- package/dist/src/internal/molecules/drawer.styles.d.ts.map +1 -1
- package/dist/src/internal/molecules/vertical-navigation.styles.d.ts +2 -2
- package/dist/src/internal/molecules/vertical-navigation.styles.d.ts.map +1 -1
- package/dist/src/internal/organisms/sidebar.context.d.ts +2 -2
- package/dist/src/internal/organisms/sidebar.context.d.ts.map +1 -1
- package/dist/src/internal/organisms/sidebar.styles.d.ts +2 -2
- package/dist/src/internal/organisms/sidebar.styles.d.ts.map +1 -1
- package/dist/src/molecules/accordion.d.ts +12 -12
- package/dist/src/molecules/accordion.d.ts.map +1 -1
- package/dist/src/molecules/availability-status.d.ts +1 -1
- package/dist/src/molecules/availability-status.d.ts.map +1 -1
- package/dist/src/molecules/breadcrumb.d.ts +14 -13
- package/dist/src/molecules/breadcrumb.d.ts.map +1 -1
- package/dist/src/molecules/carousel.d.ts +29 -29
- package/dist/src/molecules/carousel.d.ts.map +1 -1
- package/dist/src/molecules/cascade-select.d.ts +23 -20
- package/dist/src/molecules/cascade-select.d.ts.map +1 -1
- package/dist/src/molecules/chart.d.ts +1 -1
- package/dist/src/molecules/chart.d.ts.map +1 -1
- package/dist/src/molecules/color-select.d.ts +5 -5
- package/dist/src/molecules/color-select.d.ts.map +1 -1
- package/dist/src/molecules/combobox.d.ts +4 -4
- package/dist/src/molecules/combobox.d.ts.map +1 -1
- package/dist/src/molecules/command.d.ts +17 -15
- package/dist/src/molecules/command.d.ts.map +1 -1
- package/dist/src/molecules/date-picker.d.ts +19 -18
- package/dist/src/molecules/date-picker.d.ts.map +1 -1
- package/dist/src/molecules/dialog.d.ts +3 -3
- package/dist/src/molecules/dialog.d.ts.map +1 -1
- package/dist/src/molecules/drawer.d.ts +24 -22
- package/dist/src/molecules/drawer.d.ts.map +1 -1
- package/dist/src/molecules/file-upload.d.ts +18 -17
- package/dist/src/molecules/file-upload.d.ts.map +1 -1
- package/dist/src/molecules/form-checkbox.d.ts +1 -1
- package/dist/src/molecules/form-checkbox.d.ts.map +1 -1
- package/dist/src/molecules/form-error-summary.d.ts +1 -1
- package/dist/src/molecules/form-error-summary.d.ts.map +1 -1
- package/dist/src/molecules/form-input.d.ts +2 -2
- package/dist/src/molecules/form-input.d.ts.map +1 -1
- package/dist/src/molecules/form-numeric-input.d.ts +2 -2
- package/dist/src/molecules/form-numeric-input.d.ts.map +1 -1
- package/dist/src/molecules/form-textarea.d.ts +2 -2
- package/dist/src/molecules/form-textarea.d.ts.map +1 -1
- package/dist/src/molecules/menu.d.ts +17 -30
- package/dist/src/molecules/menu.d.ts.map +1 -1
- package/dist/src/molecules/pagination.d.ts +4 -4
- package/dist/src/molecules/pagination.d.ts.map +1 -1
- package/dist/src/molecules/phone-input.d.ts +29 -28
- package/dist/src/molecules/phone-input.d.ts.map +1 -1
- package/dist/src/molecules/popover.d.ts +14 -14
- package/dist/src/molecules/popover.d.ts.map +1 -1
- package/dist/src/molecules/price-block.d.ts +1 -1
- package/dist/src/molecules/price-block.d.ts.map +1 -1
- package/dist/src/molecules/product-card.d.ts +13 -12
- package/dist/src/molecules/product-card.d.ts.map +1 -1
- package/dist/src/molecules/quantity-field.d.ts +1 -1
- package/dist/src/molecules/quantity-field.d.ts.map +1 -1
- package/dist/src/molecules/radio-card.d.ts +18 -17
- package/dist/src/molecules/radio-card.d.ts.map +1 -1
- package/dist/src/molecules/radio-group.d.ts +17 -16
- package/dist/src/molecules/radio-group.d.ts.map +1 -1
- package/dist/src/molecules/search-form.d.ts +12 -11
- package/dist/src/molecules/search-form.d.ts.map +1 -1
- package/dist/src/molecules/select.d.ts +19 -18
- package/dist/src/molecules/select.d.ts.map +1 -1
- package/dist/src/molecules/slider.d.ts +3 -3
- package/dist/src/molecules/slider.d.ts.map +1 -1
- package/dist/src/molecules/steps.d.ts +26 -23
- package/dist/src/molecules/steps.d.ts.map +1 -1
- package/dist/src/molecules/switch.d.ts +24 -24
- package/dist/src/molecules/switch.d.ts.map +1 -1
- package/dist/src/molecules/tabs.d.ts +7 -7
- package/dist/src/molecules/tabs.d.ts.map +1 -1
- package/dist/src/molecules/toast.d.ts +31 -31
- package/dist/src/molecules/toast.d.ts.map +1 -1
- package/dist/src/molecules/tour.d.ts +20 -20
- package/dist/src/molecules/tour.d.ts.map +1 -1
- package/dist/src/molecules/tree-view.d.ts +33 -32
- package/dist/src/molecules/tree-view.d.ts.map +1 -1
- package/dist/src/molecules/vertical-navigation.d.ts +14 -14
- package/dist/src/molecules/vertical-navigation.d.ts.map +1 -1
- package/dist/src/organisms/data-table.d.ts +32 -9
- package/dist/src/organisms/data-table.d.ts.map +1 -1
- package/dist/src/organisms/data-table.fields.d.ts +1 -1
- package/dist/src/organisms/data-table.fields.d.ts.map +1 -1
- package/dist/src/organisms/data-table.helpers.d.ts +1 -1
- package/dist/src/organisms/data-table.helpers.d.ts.map +1 -1
- package/dist/src/organisms/footer.d.ts +15 -12
- package/dist/src/organisms/footer.d.ts.map +1 -1
- package/dist/src/organisms/gallery.d.ts +11 -10
- package/dist/src/organisms/gallery.d.ts.map +1 -1
- package/dist/src/organisms/header.d.ts +11 -11
- package/dist/src/organisms/header.d.ts.map +1 -1
- package/dist/src/organisms/sidebar.d.ts +21 -21
- package/dist/src/organisms/sidebar.d.ts.map +1 -1
- package/dist/src/organisms/table.d.ts +13 -12
- package/dist/src/organisms/table.d.ts.map +1 -1
- package/dist/src/templates/accordion.d.ts +2 -2
- package/dist/src/templates/accordion.d.ts.map +1 -1
- package/dist/src/templates/breadcrumb.d.ts +2 -2
- package/dist/src/templates/breadcrumb.d.ts.map +1 -1
- package/dist/src/templates/carousel.d.ts +2 -2
- package/dist/src/templates/carousel.d.ts.map +1 -1
- package/dist/src/templates/facet-filter-panel.d.ts +2 -2
- package/dist/src/templates/facet-filter-panel.d.ts.map +1 -1
- package/dist/src/templates/gallery.d.ts +2 -2
- package/dist/src/templates/gallery.d.ts.map +1 -1
- package/dist/src/templates/numeric-input.d.ts +2 -2
- package/dist/src/templates/numeric-input.d.ts.map +1 -1
- package/dist/src/templates/popover.d.ts +2 -2
- package/dist/src/templates/popover.d.ts.map +1 -1
- package/dist/src/templates/product-card.d.ts +2 -2
- package/dist/src/templates/product-card.d.ts.map +1 -1
- package/dist/src/templates/search-suggestions.d.ts +1 -1
- package/dist/src/templates/search-suggestions.d.ts.map +1 -1
- package/dist/src/templates/select.d.ts +2 -2
- package/dist/src/templates/select.d.ts.map +1 -1
- package/dist/src/templates/tabs.d.ts +2 -2
- package/dist/src/templates/tabs.d.ts.map +1 -1
- package/dist/src/theme/theme-config.d.ts.map +1 -1
- package/dist/src/theme/theme-provider.d.ts +2 -2
- package/dist/src/theme/theme-provider.d.ts.map +1 -1
- package/dist/src/theme/theme-toggle.d.ts +1 -1
- package/dist/src/theme/theme-toggle.d.ts.map +1 -1
- package/dist/templates/numeric-input.js +9 -3
- package/dist/theme/theme-toggle.js +1 -1
- package/package.json +88 -84
- package/src/tokens/_base.css +14 -7
- package/src/tokens/_reset.css +66 -0
- package/src/tokens/_semantic.css +33 -43
- package/src/tokens/_tokens-base.css +3 -0
- package/src/tokens/_typography.css +5 -0
- package/src/tokens/components/_popup-surface.css +13 -3
- package/src/tokens/components/atoms/_badge.css +1 -1
- package/src/tokens/components/molecules/_drawer.css +5 -5
- package/src/tokens/components/molecules/_vertical-navigation.css +1 -1
- package/src/tokens/components/organisms/_data-table.css +1 -1
- package/src/tokens/figma/brand-overrides.css +15 -15
- package/src/tokens/figma/variables.css +11 -11
- package/src/tokens/index.css +1 -1
- package/src/tokens/theme.css +1 -1
- package/dist/.storybook/decorator.d.ts +0 -12
- package/dist/.storybook/decorator.d.ts.map +0 -1
- package/dist/.storybook/main.d.ts +0 -4
- package/dist/.storybook/main.d.ts.map +0 -1
- package/dist/.storybook/manager.d.ts +0 -2
- package/dist/.storybook/manager.d.ts.map +0 -1
- package/dist/.storybook/preview.d.ts +0 -5
- package/dist/.storybook/preview.d.ts.map +0 -1
- package/dist/.storybook/test-runner.d.ts +0 -12
- package/dist/.storybook/test-runner.d.ts.map +0 -1
- package/dist/stories/atoms/badge.stories.d.ts +0 -12
- package/dist/stories/atoms/badge.stories.d.ts.map +0 -1
- package/dist/stories/atoms/button.stories.d.ts +0 -12
- package/dist/stories/atoms/button.stories.d.ts.map +0 -1
- package/dist/stories/atoms/checkbox.stories.d.ts +0 -56
- package/dist/stories/atoms/checkbox.stories.d.ts.map +0 -1
- package/dist/stories/atoms/hotkeys-hydration.fixture.d.ts +0 -6
- package/dist/stories/atoms/hotkeys-hydration.fixture.d.ts.map +0 -1
- package/dist/stories/atoms/hotkeys.stories.d.ts +0 -336
- package/dist/stories/atoms/hotkeys.stories.d.ts.map +0 -1
- package/dist/stories/atoms/icon.stories.d.ts +0 -11
- package/dist/stories/atoms/icon.stories.d.ts.map +0 -1
- package/dist/stories/atoms/image.stories.d.ts +0 -8
- package/dist/stories/atoms/image.stories.d.ts.map +0 -1
- package/dist/stories/atoms/input.stories.d.ts +0 -8
- package/dist/stories/atoms/input.stories.d.ts.map +0 -1
- package/dist/stories/atoms/numeric-input.stories.d.ts +0 -27
- package/dist/stories/atoms/numeric-input.stories.d.ts.map +0 -1
- package/dist/stories/atoms/rating.stories.d.ts +0 -10
- package/dist/stories/atoms/rating.stories.d.ts.map +0 -1
- package/dist/stories/atoms/skeleton.stories.d.ts +0 -34
- package/dist/stories/atoms/skeleton.stories.d.ts.map +0 -1
- package/dist/stories/atoms/status-text.stories.d.ts +0 -15
- package/dist/stories/atoms/status-text.stories.d.ts.map +0 -1
- package/dist/stories/atoms/textarea.stories.d.ts +0 -12
- package/dist/stories/atoms/textarea.stories.d.ts.map +0 -1
- package/dist/stories/atoms/tooltip.stories.d.ts +0 -28
- package/dist/stories/atoms/tooltip.stories.d.ts.map +0 -1
- package/dist/stories/changelog/changelog.stories.d.ts +0 -6
- package/dist/stories/changelog/changelog.stories.d.ts.map +0 -1
- package/dist/stories/helpers/icon-options.d.ts +0 -4
- package/dist/stories/helpers/icon-options.d.ts.map +0 -1
- package/dist/stories/molecules/accordion.stories.d.ts +0 -14
- package/dist/stories/molecules/accordion.stories.d.ts.map +0 -1
- package/dist/stories/molecules/availability-status.stories.d.ts +0 -14
- package/dist/stories/molecules/availability-status.stories.d.ts.map +0 -1
- package/dist/stories/molecules/breadcrumb.stories.d.ts +0 -14
- package/dist/stories/molecules/breadcrumb.stories.d.ts.map +0 -1
- package/dist/stories/molecules/carousel.stories.d.ts +0 -19
- package/dist/stories/molecules/carousel.stories.d.ts.map +0 -1
- package/dist/stories/molecules/cascade-select.stories.d.ts +0 -254
- package/dist/stories/molecules/cascade-select.stories.d.ts.map +0 -1
- package/dist/stories/molecules/chart.stories.d.ts +0 -24
- package/dist/stories/molecules/chart.stories.d.ts.map +0 -1
- package/dist/stories/molecules/color-select.stories.d.ts +0 -12
- package/dist/stories/molecules/color-select.stories.d.ts.map +0 -1
- package/dist/stories/molecules/combobox.stories.d.ts +0 -17
- package/dist/stories/molecules/combobox.stories.d.ts.map +0 -1
- package/dist/stories/molecules/command-hotkeys.stories.d.ts +0 -38
- package/dist/stories/molecules/command-hotkeys.stories.d.ts.map +0 -1
- package/dist/stories/molecules/command.stories.d.ts +0 -74
- package/dist/stories/molecules/command.stories.d.ts.map +0 -1
- package/dist/stories/molecules/date-picker.stories.d.ts +0 -141
- package/dist/stories/molecules/date-picker.stories.d.ts.map +0 -1
- package/dist/stories/molecules/dialog.stories.d.ts +0 -19
- package/dist/stories/molecules/dialog.stories.d.ts.map +0 -1
- package/dist/stories/molecules/drawer.stories.d.ts +0 -158
- package/dist/stories/molecules/drawer.stories.d.ts.map +0 -1
- package/dist/stories/molecules/file-upload.stories.d.ts +0 -105
- package/dist/stories/molecules/file-upload.stories.d.ts.map +0 -1
- package/dist/stories/molecules/form-checkbox.stories.d.ts +0 -17
- package/dist/stories/molecules/form-checkbox.stories.d.ts.map +0 -1
- package/dist/stories/molecules/form-error-summary.stories.d.ts +0 -11
- package/dist/stories/molecules/form-error-summary.stories.d.ts.map +0 -1
- package/dist/stories/molecules/form-input.stories.d.ts +0 -12
- package/dist/stories/molecules/form-input.stories.d.ts.map +0 -1
- package/dist/stories/molecules/form-numeric-input.stories.d.ts +0 -18
- package/dist/stories/molecules/form-numeric-input.stories.d.ts.map +0 -1
- package/dist/stories/molecules/form-textarea.stories.d.ts +0 -12
- package/dist/stories/molecules/form-textarea.stories.d.ts.map +0 -1
- package/dist/stories/molecules/menu.stories.d.ts +0 -22
- package/dist/stories/molecules/menu.stories.d.ts.map +0 -1
- package/dist/stories/molecules/pagination.stories.d.ts +0 -13
- package/dist/stories/molecules/pagination.stories.d.ts.map +0 -1
- package/dist/stories/molecules/phone-input.stories.d.ts +0 -19
- package/dist/stories/molecules/phone-input.stories.d.ts.map +0 -1
- package/dist/stories/molecules/popover.stories.d.ts +0 -140
- package/dist/stories/molecules/popover.stories.d.ts.map +0 -1
- package/dist/stories/molecules/price-block.stories.d.ts +0 -14
- package/dist/stories/molecules/price-block.stories.d.ts.map +0 -1
- package/dist/stories/molecules/product-card.stories.d.ts +0 -41
- package/dist/stories/molecules/product-card.stories.d.ts.map +0 -1
- package/dist/stories/molecules/quantity-field.stories.d.ts +0 -16
- package/dist/stories/molecules/quantity-field.stories.d.ts.map +0 -1
- package/dist/stories/molecules/radio-card.stories.d.ts +0 -13
- package/dist/stories/molecules/radio-card.stories.d.ts.map +0 -1
- package/dist/stories/molecules/radio-group.stories.d.ts +0 -13
- package/dist/stories/molecules/radio-group.stories.d.ts.map +0 -1
- package/dist/stories/molecules/search-form.stories.d.ts +0 -17
- package/dist/stories/molecules/search-form.stories.d.ts.map +0 -1
- package/dist/stories/molecules/select.stories.d.ts +0 -19
- package/dist/stories/molecules/select.stories.d.ts.map +0 -1
- package/dist/stories/molecules/slider.stories.d.ts +0 -20
- package/dist/stories/molecules/slider.stories.d.ts.map +0 -1
- package/dist/stories/molecules/steps.stories.d.ts +0 -19
- package/dist/stories/molecules/steps.stories.d.ts.map +0 -1
- package/dist/stories/molecules/switch.stories.d.ts +0 -13
- package/dist/stories/molecules/switch.stories.d.ts.map +0 -1
- package/dist/stories/molecules/tabs.stories.d.ts +0 -18
- package/dist/stories/molecules/tabs.stories.d.ts.map +0 -1
- package/dist/stories/molecules/toast.stories.d.ts +0 -11
- package/dist/stories/molecules/toast.stories.d.ts.map +0 -1
- package/dist/stories/molecules/tour.stories.d.ts +0 -58
- package/dist/stories/molecules/tour.stories.d.ts.map +0 -1
- package/dist/stories/molecules/tree-view.stories.d.ts +0 -17
- package/dist/stories/molecules/tree-view.stories.d.ts.map +0 -1
- package/dist/stories/molecules/vertical-navigation.stories.d.ts +0 -75
- package/dist/stories/molecules/vertical-navigation.stories.d.ts.map +0 -1
- package/dist/stories/organisms/data-table.stories.d.ts +0 -145
- package/dist/stories/organisms/data-table.stories.d.ts.map +0 -1
- package/dist/stories/organisms/footer.stories.d.ts +0 -12
- package/dist/stories/organisms/footer.stories.d.ts.map +0 -1
- package/dist/stories/organisms/gallery.stories.d.ts +0 -73
- package/dist/stories/organisms/gallery.stories.d.ts.map +0 -1
- package/dist/stories/organisms/header.stories.d.ts +0 -12
- package/dist/stories/organisms/header.stories.d.ts.map +0 -1
- package/dist/stories/organisms/sidebar.stories.d.ts +0 -66
- package/dist/stories/organisms/sidebar.stories.d.ts.map +0 -1
- package/dist/stories/organisms/table.stories.d.ts +0 -63
- package/dist/stories/organisms/table.stories.d.ts.map +0 -1
- package/dist/stories/overview/apca-contrast-test.stories.d.ts +0 -8
- package/dist/stories/overview/apca-contrast-test.stories.d.ts.map +0 -1
- package/dist/stories/overview/color-palette.stories.d.ts +0 -8
- package/dist/stories/overview/color-palette.stories.d.ts.map +0 -1
- package/dist/stories/overview/component-comparison.stories.d.ts +0 -6
- package/dist/stories/overview/component-comparison.stories.d.ts.map +0 -1
- package/dist/stories/pages/akros/banner.stories.d.ts +0 -6
- package/dist/stories/pages/akros/banner.stories.d.ts.map +0 -1
- package/dist/stories/pages/akros/carts.stories.d.ts +0 -7
- package/dist/stories/pages/akros/carts.stories.d.ts.map +0 -1
- package/dist/stories/pages/akros/categories.stories.d.ts +0 -6
- package/dist/stories/pages/akros/categories.stories.d.ts.map +0 -1
- package/dist/stories/pages/akros/content.stories.d.ts +0 -7
- package/dist/stories/pages/akros/content.stories.d.ts.map +0 -1
- package/dist/stories/pages/akros/customers.stories.d.ts +0 -8
- package/dist/stories/pages/akros/customers.stories.d.ts.map +0 -1
- package/dist/stories/pages/akros/dashboard.stories.d.ts +0 -7
- package/dist/stories/pages/akros/dashboard.stories.d.ts.map +0 -1
- package/dist/stories/pages/akros/data.d.ts +0 -250
- package/dist/stories/pages/akros/data.d.ts.map +0 -1
- package/dist/stories/pages/akros/emails.stories.d.ts +0 -7
- package/dist/stories/pages/akros/emails.stories.d.ts.map +0 -1
- package/dist/stories/pages/akros/feeds.stories.d.ts +0 -6
- package/dist/stories/pages/akros/feeds.stories.d.ts.map +0 -1
- package/dist/stories/pages/akros/order-detail.stories.d.ts +0 -8
- package/dist/stories/pages/akros/order-detail.stories.d.ts.map +0 -1
- package/dist/stories/pages/akros/orders.stories.d.ts +0 -8
- package/dist/stories/pages/akros/orders.stories.d.ts.map +0 -1
- package/dist/stories/pages/akros/products.stories.d.ts +0 -9
- package/dist/stories/pages/akros/products.stories.d.ts.map +0 -1
- package/dist/stories/pages/akros/shared.d.ts +0 -69
- package/dist/stories/pages/akros/shared.d.ts.map +0 -1
- package/dist/stories/pages/akros/shipping-payments.stories.d.ts +0 -7
- package/dist/stories/pages/akros/shipping-payments.stories.d.ts.map +0 -1
- package/dist/stories/pages/auth.stories.d.ts +0 -9
- package/dist/stories/pages/auth.stories.d.ts.map +0 -1
- package/dist/stories/pages/board.stories.d.ts +0 -7
- package/dist/stories/pages/board.stories.d.ts.map +0 -1
- package/dist/stories/pages/checkout.stories.d.ts +0 -7
- package/dist/stories/pages/checkout.stories.d.ts.map +0 -1
- package/dist/stories/pages/cms-content-list.stories.d.ts +0 -8
- package/dist/stories/pages/cms-content-list.stories.d.ts.map +0 -1
- package/dist/stories/pages/cms-record-editor.stories.d.ts +0 -7
- package/dist/stories/pages/cms-record-editor.stories.d.ts.map +0 -1
- package/dist/stories/pages/crm-customer-workspace.stories.d.ts +0 -6
- package/dist/stories/pages/crm-customer-workspace.stories.d.ts.map +0 -1
- package/dist/stories/pages/crud-workflow.stories.d.ts +0 -6
- package/dist/stories/pages/crud-workflow.stories.d.ts.map +0 -1
- package/dist/stories/pages/dashboard.stories.d.ts +0 -7
- package/dist/stories/pages/dashboard.stories.d.ts.map +0 -1
- package/dist/stories/pages/data.d.ts +0 -183
- package/dist/stories/pages/data.d.ts.map +0 -1
- package/dist/stories/pages/ecommerce-orders.stories.d.ts +0 -6
- package/dist/stories/pages/ecommerce-orders.stories.d.ts.map +0 -1
- package/dist/stories/pages/frame.d.ts +0 -102
- package/dist/stories/pages/frame.d.ts.map +0 -1
- package/dist/stories/pages/layouts.stories.d.ts +0 -15
- package/dist/stories/pages/layouts.stories.d.ts.map +0 -1
- package/dist/stories/pages/media-library.stories.d.ts +0 -6
- package/dist/stories/pages/media-library.stories.d.ts.map +0 -1
- package/dist/stories/pages/order-detail.stories.d.ts +0 -6
- package/dist/stories/pages/order-detail.stories.d.ts.map +0 -1
- package/dist/stories/pages/settings.stories.d.ts +0 -6
- package/dist/stories/pages/settings.stories.d.ts.map +0 -1
- package/dist/stories/pages/shell.d.ts +0 -115
- package/dist/stories/pages/shell.d.ts.map +0 -1
- package/dist/stories/pages/storefront-category.stories.d.ts +0 -7
- package/dist/stories/pages/storefront-category.stories.d.ts.map +0 -1
- package/dist/stories/pages/storefront-product.stories.d.ts +0 -6
- package/dist/stories/pages/storefront-product.stories.d.ts.map +0 -1
- package/dist/stories/pages/system-states.stories.d.ts +0 -12
- package/dist/stories/pages/system-states.stories.d.ts.map +0 -1
- package/dist/stories/templates/accordion.stories.d.ts +0 -8
- package/dist/stories/templates/accordion.stories.d.ts.map +0 -1
- package/dist/stories/templates/breadcrumb.stories.d.ts +0 -12
- package/dist/stories/templates/breadcrumb.stories.d.ts.map +0 -1
- package/dist/stories/templates/carousel.stories.d.ts +0 -8
- package/dist/stories/templates/carousel.stories.d.ts.map +0 -1
- package/dist/stories/templates/comprehensive-form.stories.d.ts +0 -26
- package/dist/stories/templates/comprehensive-form.stories.d.ts.map +0 -1
- package/dist/stories/templates/facet-filter-panel.stories.d.ts +0 -17
- package/dist/stories/templates/facet-filter-panel.stories.d.ts.map +0 -1
- package/dist/stories/templates/gallery.stories.d.ts +0 -7
- package/dist/stories/templates/gallery.stories.d.ts.map +0 -1
- package/dist/stories/templates/numeric-input.stories.d.ts +0 -8
- package/dist/stories/templates/numeric-input.stories.d.ts.map +0 -1
- package/dist/stories/templates/popover.stories.d.ts +0 -55
- package/dist/stories/templates/popover.stories.d.ts.map +0 -1
- package/dist/stories/templates/product-card.stories.d.ts +0 -10
- package/dist/stories/templates/product-card.stories.d.ts.map +0 -1
- package/dist/stories/templates/search-suggestions.stories.d.ts +0 -119
- package/dist/stories/templates/search-suggestions.stories.d.ts.map +0 -1
- package/dist/stories/templates/select.stories.d.ts +0 -10
- package/dist/stories/templates/select.stories.d.ts.map +0 -1
- package/dist/stories/templates/tabs.stories.d.ts +0 -8
- package/dist/stories/templates/tabs.stories.d.ts.map +0 -1
- package/dist/test/cascade-select.behavior.spec.d.ts +0 -2
- package/dist/test/cascade-select.behavior.spec.d.ts.map +0 -1
- package/dist/test/combobox.behavior.spec.d.ts +0 -2
- package/dist/test/combobox.behavior.spec.d.ts.map +0 -1
- package/dist/test/command-hotkeys.spec.d.ts +0 -2
- package/dist/test/command-hotkeys.spec.d.ts.map +0 -1
- package/dist/test/command.spec.d.ts +0 -2
- package/dist/test/command.spec.d.ts.map +0 -1
- package/dist/test/date-picker.behavior.spec.d.ts +0 -2
- package/dist/test/date-picker.behavior.spec.d.ts.map +0 -1
- package/dist/test/drawer.behavior.spec.d.ts +0 -2
- package/dist/test/drawer.behavior.spec.d.ts.map +0 -1
- package/dist/test/facet-filter-panel.spec.d.ts +0 -2
- package/dist/test/facet-filter-panel.spec.d.ts.map +0 -1
- package/dist/test/form-error-summary.ids.test.d.ts +0 -2
- package/dist/test/form-error-summary.ids.test.d.ts.map +0 -1
- package/dist/test/hotkeys.spec.d.ts +0 -2
- package/dist/test/hotkeys.spec.d.ts.map +0 -1
- package/dist/test/numeric-input.spec.d.ts +0 -2
- package/dist/test/numeric-input.spec.d.ts.map +0 -1
- package/dist/test/price-availability.spec.d.ts +0 -2
- package/dist/test/price-availability.spec.d.ts.map +0 -1
- package/dist/test/quantity-field.spec.d.ts +0 -2
- package/dist/test/quantity-field.spec.d.ts.map +0 -1
- package/dist/test/search-suggestions.spec.d.ts +0 -2
- package/dist/test/search-suggestions.spec.d.ts.map +0 -1
- package/dist/test/sidebar.behavior.spec.d.ts +0 -2
- package/dist/test/sidebar.behavior.spec.d.ts.map +0 -1
- package/dist/test/sidebar.ssr.bun.d.ts +0 -2
- package/dist/test/sidebar.ssr.bun.d.ts.map +0 -1
- package/dist/test/tour.playwright.config.d.ts +0 -4
- package/dist/test/tour.playwright.config.d.ts.map +0 -1
- package/dist/test/tour.spec.d.ts +0 -2
- package/dist/test/tour.spec.d.ts.map +0 -1
- package/dist/test/tour.typecheck.d.ts +0 -11
- package/dist/test/tour.typecheck.d.ts.map +0 -1
- package/dist/test/vertical-navigation.behavior.spec.d.ts +0 -2
- package/dist/test/vertical-navigation.behavior.spec.d.ts.map +0 -1
- package/dist/test/vertical-navigation.playwright.config.d.ts +0 -4
- package/dist/test/vertical-navigation.playwright.config.d.ts.map +0 -1
- package/dist/test/visual.spec.d.ts +0 -2
- package/dist/test/visual.spec.d.ts.map +0 -1
|
@@ -19,5 +19,5 @@ export type SearchSuggestionsProps<T = unknown> = Omit<ComboboxProps<T>, "items"
|
|
|
19
19
|
resultSlot?: ComboboxProps<T>["renderItem"];
|
|
20
20
|
allResultsLink?: ReactNode;
|
|
21
21
|
};
|
|
22
|
-
export declare function SearchSuggestions<T = unknown>({ resultSlot, allResultsLink, filterBehavior, inputBehavior, portalled, ...props }: SearchSuggestionsProps<T>): import("react
|
|
22
|
+
export declare function SearchSuggestions<T = unknown>({ resultSlot, allResultsLink, filterBehavior, inputBehavior, portalled, ...props }: SearchSuggestionsProps<T>): import("react").JSX.Element;
|
|
23
23
|
//# sourceMappingURL=search-suggestions.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-suggestions.d.ts","sourceRoot":"","sources":["../../../src/templates/search-suggestions.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACtC,OAAO,EAEL,KAAK,YAAY,EACjB,KAAK,iBAAiB,EACtB,KAAK,aAAa,EACnB,MAAM,uBAAuB,CAAA;AAE9B,MAAM,MAAM,oBAAoB,CAAC,CAAC,GAAG,OAAO,IAAI,YAAY,CAAC,CAAC,CAAC,GAAG;IAChE,IAAI,EAAE,MAAM,CAAA;CACb,CAAA;AAED,MAAM,MAAM,qBAAqB,CAAC,CAAC,GAAG,OAAO,IAAI,IAAI,CACnD,iBAAiB,CAAC,CAAC,CAAC,EACpB,OAAO,CACR,GAAG;IACF,KAAK,EAAE,oBAAoB,CAAC,CAAC,CAAC,EAAE,CAAA;CACjC,CAAA;AAED,MAAM,MAAM,sBAAsB,CAAC,CAAC,GAAG,OAAO,IAAI,IAAI,CACpD,aAAa,CAAC,CAAC,CAAC,EACd,OAAO,GACP,QAAQ,GACR,YAAY,GACZ,QAAQ,GACR,MAAM,GACN,UAAU,GACV,OAAO,GACP,cAAc,GACd,UAAU,GACV,MAAM,GACN,mBAAmB,GACnB,kBAAkB,CACrB,GAAG;IACF,MAAM,EAAE,qBAAqB,CAAC,CAAC,CAAC,EAAE,CAAA;IAClC,UAAU,CAAC,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC,YAAY,CAAC,CAAA;IAC3C,cAAc,CAAC,EAAE,SAAS,CAAA;CAC3B,CAAA;AAED,wBAAgB,iBAAiB,CAAC,CAAC,GAAG,OAAO,EAAE,EAC7C,UAAU,EACV,cAAc,EACd,cAA2B,EAC3B,aAAsB,EACtB,SAAiB,EACjB,GAAG,KAAK,EACT,EAAE,sBAAsB,CAAC,CAAC,CAAC
|
|
1
|
+
{"version":3,"file":"search-suggestions.d.ts","sourceRoot":"","sources":["../../../src/templates/search-suggestions.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACtC,OAAO,EAEL,KAAK,YAAY,EACjB,KAAK,iBAAiB,EACtB,KAAK,aAAa,EACnB,MAAM,uBAAuB,CAAA;AAE9B,MAAM,MAAM,oBAAoB,CAAC,CAAC,GAAG,OAAO,IAAI,YAAY,CAAC,CAAC,CAAC,GAAG;IAChE,IAAI,EAAE,MAAM,CAAA;CACb,CAAA;AAED,MAAM,MAAM,qBAAqB,CAAC,CAAC,GAAG,OAAO,IAAI,IAAI,CACnD,iBAAiB,CAAC,CAAC,CAAC,EACpB,OAAO,CACR,GAAG;IACF,KAAK,EAAE,oBAAoB,CAAC,CAAC,CAAC,EAAE,CAAA;CACjC,CAAA;AAED,MAAM,MAAM,sBAAsB,CAAC,CAAC,GAAG,OAAO,IAAI,IAAI,CACpD,aAAa,CAAC,CAAC,CAAC,EACd,OAAO,GACP,QAAQ,GACR,YAAY,GACZ,QAAQ,GACR,MAAM,GACN,UAAU,GACV,OAAO,GACP,cAAc,GACd,UAAU,GACV,MAAM,GACN,mBAAmB,GACnB,kBAAkB,CACrB,GAAG;IACF,MAAM,EAAE,qBAAqB,CAAC,CAAC,CAAC,EAAE,CAAA;IAClC,UAAU,CAAC,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC,YAAY,CAAC,CAAA;IAC3C,cAAc,CAAC,EAAE,SAAS,CAAA;CAC3B,CAAA;AAED,wBAAgB,iBAAiB,CAAC,CAAC,GAAG,OAAO,EAAE,EAC7C,UAAU,EACV,cAAc,EACd,cAA2B,EAC3B,aAAsB,EACtB,SAAiB,EACjB,GAAG,KAAK,EACT,EAAE,sBAAsB,CAAC,CAAC,CAAC,+BAY3B"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Select — @techsio/ui-kit template.
|
|
3
3
|
*
|
|
4
4
|
* @component Select
|
|
5
|
-
* @componentVersion v1.1.
|
|
5
|
+
* @componentVersion v1.1.2
|
|
6
6
|
* @skill select-usage
|
|
7
7
|
* @changelog libs/ui/stories/changelog/changelog.stories.tsx
|
|
8
8
|
*
|
|
@@ -28,6 +28,6 @@ export type SelectTemplateProps = Omit<SelectProps, "children"> & {
|
|
|
28
28
|
renderItem?: (item: SelectItem) => ReactNode;
|
|
29
29
|
ref?: Ref<HTMLDivElement>;
|
|
30
30
|
};
|
|
31
|
-
export declare function SelectTemplate({ items, label, labelProps, placeholder, valueText, valueTextProps, showIndicator, renderItem, ref, ...selectProps }: SelectTemplateProps): import("react
|
|
31
|
+
export declare function SelectTemplate({ items, label, labelProps, placeholder, valueText, valueTextProps, showIndicator, renderItem, ref, ...selectProps }: SelectTemplateProps): import("react").JSX.Element;
|
|
32
32
|
export {};
|
|
33
33
|
//# sourceMappingURL=select.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"select.d.ts","sourceRoot":"","sources":["../../../src/templates/select.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,OAAO,KAAK,EAAE,wBAAwB,EAAE,SAAS,EAAE,GAAG,EAAE,MAAM,OAAO,CAAA;AACrE,OAAO,EAEL,KAAK,UAAU,EACf,KAAK,WAAW,EAChB,KAAK,UAAU,EAChB,MAAM,qBAAqB,CAAA;AAE5B,KAAK,wBAAwB,GAAG,IAAI,CAClC,wBAAwB,CAAC,OAAO,CAAC,EACjC,UAAU,CACX,GAAG;IACF,GAAG,CAAC,EAAE,GAAG,CAAC,gBAAgB,CAAC,CAAA;CAC5B,CAAA;AAED,KAAK,4BAA4B,GAAG,IAAI,CACtC,wBAAwB,CAAC,MAAM,CAAC,EAChC,UAAU,CACX,GAAG;IACF,IAAI,CAAC,EAAE,UAAU,CAAA;IACjB,GAAG,CAAC,EAAE,GAAG,CAAC,eAAe,CAAC,CAAA;CAC3B,CAAA;AAED,MAAM,MAAM,mBAAmB,GAAG,IAAI,CAAC,WAAW,EAAE,UAAU,CAAC,GAAG;IAChE,KAAK,CAAC,EAAE,SAAS,CAAA;IACjB,UAAU,CAAC,EAAE,wBAAwB,CAAA;IACrC,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,SAAS,CAAC,EAAE,SAAS,GAAG,CAAC,CAAC,KAAK,EAAE,UAAU,EAAE,KAAK,SAAS,CAAC,CAAA;IAC5D,cAAc,CAAC,EAAE,4BAA4B,CAAA;IAC7C,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,UAAU,KAAK,SAAS,CAAA;IAC5C,GAAG,CAAC,EAAE,GAAG,CAAC,cAAc,CAAC,CAAA;CAC1B,CAAA;AAED,wBAAgB,cAAc,CAAC,EAC7B,KAAK,EACL,KAAK,EACL,UAAU,EACV,WAAW,EACX,SAAS,EACT,cAAc,EACd,aAAoB,EACpB,UAAU,EACV,GAAG,EACH,GAAG,WAAW,EACf,EAAE,mBAAmB
|
|
1
|
+
{"version":3,"file":"select.d.ts","sourceRoot":"","sources":["../../../src/templates/select.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,OAAO,KAAK,EAAE,wBAAwB,EAAE,SAAS,EAAE,GAAG,EAAE,MAAM,OAAO,CAAA;AACrE,OAAO,EAEL,KAAK,UAAU,EACf,KAAK,WAAW,EAChB,KAAK,UAAU,EAChB,MAAM,qBAAqB,CAAA;AAE5B,KAAK,wBAAwB,GAAG,IAAI,CAClC,wBAAwB,CAAC,OAAO,CAAC,EACjC,UAAU,CACX,GAAG;IACF,GAAG,CAAC,EAAE,GAAG,CAAC,gBAAgB,CAAC,CAAA;CAC5B,CAAA;AAED,KAAK,4BAA4B,GAAG,IAAI,CACtC,wBAAwB,CAAC,MAAM,CAAC,EAChC,UAAU,CACX,GAAG;IACF,IAAI,CAAC,EAAE,UAAU,CAAA;IACjB,GAAG,CAAC,EAAE,GAAG,CAAC,eAAe,CAAC,CAAA;CAC3B,CAAA;AAED,MAAM,MAAM,mBAAmB,GAAG,IAAI,CAAC,WAAW,EAAE,UAAU,CAAC,GAAG;IAChE,KAAK,CAAC,EAAE,SAAS,CAAA;IACjB,UAAU,CAAC,EAAE,wBAAwB,CAAA;IACrC,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,SAAS,CAAC,EAAE,SAAS,GAAG,CAAC,CAAC,KAAK,EAAE,UAAU,EAAE,KAAK,SAAS,CAAC,CAAA;IAC5D,cAAc,CAAC,EAAE,4BAA4B,CAAA;IAC7C,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,UAAU,KAAK,SAAS,CAAA;IAC5C,GAAG,CAAC,EAAE,GAAG,CAAC,cAAc,CAAC,CAAA;CAC1B,CAAA;AAED,wBAAgB,cAAc,CAAC,EAC7B,KAAK,EACL,KAAK,EACL,UAAU,EACV,WAAW,EACX,SAAS,EACT,cAAc,EACd,aAAoB,EACpB,UAAU,EACV,GAAG,EACH,GAAG,WAAW,EACf,EAAE,mBAAmB,+BA8BrB"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Tabs — @techsio/ui-kit template.
|
|
3
3
|
*
|
|
4
4
|
* @component Tabs
|
|
5
|
-
* @componentVersion v1.0.
|
|
5
|
+
* @componentVersion v1.0.1
|
|
6
6
|
* @skill tabs-usage
|
|
7
7
|
* @changelog libs/ui/stories/changelog/changelog.stories.tsx
|
|
8
8
|
*
|
|
@@ -23,5 +23,5 @@ export interface TabsTemplateProps extends Omit<TabsProps, "children" | "ref"> {
|
|
|
23
23
|
showIndicator?: boolean;
|
|
24
24
|
ref?: Ref<HTMLDivElement>;
|
|
25
25
|
}
|
|
26
|
-
export declare function TabsTemplate({ items, showIndicator, variant, size, fitted, justify, orientation, defaultValue, value, onValueChange, ref, className, ...tabsProps }: TabsTemplateProps):
|
|
26
|
+
export declare function TabsTemplate({ items, showIndicator, variant, size, fitted, justify, orientation, defaultValue, value, onValueChange, ref, className, ...tabsProps }: TabsTemplateProps): React.JSX.Element;
|
|
27
27
|
//# sourceMappingURL=tabs.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tabs.d.ts","sourceRoot":"","sources":["../../../src/templates/tabs.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAA;AACnC,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,OAAO,CAAA;AAChC,OAAO,EAAQ,KAAK,SAAS,EAAE,MAAM,mBAAmB,CAAA;AAExD,MAAM,WAAW,OAAO;IACtB,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;IACb,OAAO,EAAE,KAAK,CAAC,SAAS,CAAA;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB;AAED,MAAM,WAAW,iBAAkB,SAAQ,IAAI,CAAC,SAAS,EAAE,UAAU,GAAG,KAAK,CAAC;IAC5E,KAAK,EAAE,OAAO,EAAE,CAAA;IAChB,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,GAAG,CAAC,EAAE,GAAG,CAAC,cAAc,CAAC,CAAA;CAC1B;AAED,wBAAgB,YAAY,CAAC,EAC3B,KAAK,EACL,aAAqB,EACrB,OAAmB,EACnB,IAAW,EACX,MAAc,EACd,OAAiB,EACjB,WAA0B,EAC1B,YAAY,EACZ,KAAK,EACL,aAAa,EACb,GAAG,EACH,SAAS,EACT,GAAG,SAAS,EACb,EAAE,iBAAiB,
|
|
1
|
+
{"version":3,"file":"tabs.d.ts","sourceRoot":"","sources":["../../../src/templates/tabs.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAA;AACnC,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,OAAO,CAAA;AAChC,OAAO,EAAQ,KAAK,SAAS,EAAE,MAAM,mBAAmB,CAAA;AAExD,MAAM,WAAW,OAAO;IACtB,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;IACb,OAAO,EAAE,KAAK,CAAC,SAAS,CAAA;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB;AAED,MAAM,WAAW,iBAAkB,SAAQ,IAAI,CAAC,SAAS,EAAE,UAAU,GAAG,KAAK,CAAC;IAC5E,KAAK,EAAE,OAAO,EAAE,CAAA;IAChB,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,GAAG,CAAC,EAAE,GAAG,CAAC,cAAc,CAAC,CAAA;CAC1B;AAED,wBAAgB,YAAY,CAAC,EAC3B,KAAK,EACL,aAAqB,EACrB,OAAmB,EACnB,IAAW,EACX,MAAc,EACd,OAAiB,EACjB,WAA0B,EAC1B,YAAY,EACZ,KAAK,EACL,aAAa,EACb,GAAG,EACH,SAAS,EACT,GAAG,SAAS,EACb,EAAE,iBAAiB,qBAmCnB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme-config.d.ts","sourceRoot":"","sources":["../../../src/theme/theme-config.ts"],"names":[],"mappings":"AAaA,MAAM,MAAM,SAAS,GAAG,OAAO,GAAG,MAAM,CAAA;AAExC,yEAAyE;AACzE,MAAM,MAAM,WAAW,GAAG,SAAS,GAAG,QAAQ,CAAA;AAE9C,MAAM,MAAM,WAAW,GAAG;IACxB,qCAAqC;IACrC,KAAK,EAAE,MAAM,CAAA;IACb,sEAAsE;IACtE,KAAK,EAAE,SAAS,EAAE,CAAA;IAClB;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;CACd,CAAA;AAED,eAAO,MAAM,MAAM
|
|
1
|
+
{"version":3,"file":"theme-config.d.ts","sourceRoot":"","sources":["../../../src/theme/theme-config.ts"],"names":[],"mappings":"AAaA,MAAM,MAAM,SAAS,GAAG,OAAO,GAAG,MAAM,CAAA;AAExC,yEAAyE;AACzE,MAAM,MAAM,WAAW,GAAG,SAAS,GAAG,QAAQ,CAAA;AAE9C,MAAM,MAAM,WAAW,GAAG;IACxB,qCAAqC;IACrC,KAAK,EAAE,MAAM,CAAA;IACb,sEAAsE;IACtE,KAAK,EAAE,SAAS,EAAE,CAAA;IAClB;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;CACd,CAAA;AAED,eAAO,MAAM,MAAM;;iBACT,KAAK,EAAE,SAAS;iBAAE,KAAK;;;iBACxB,KAAK,EAAE,WAAW;iBAAE,KAAK;iBAAqB,IAAI,EAAE,KAAK;;;iBACpD,KAAK,EAAE,UAAU;iBAAE,KAAK;iBAAa,IAAI,EAAE,UAAU;;;iBACxD,KAAK,EAAE,OAAO;iBAAE,KAAK;iBAAa,IAAI,EAAE,OAAO;;CACV,CAAA;AAEhD,MAAM,MAAM,QAAQ,GAAG,MAAM,OAAO,MAAM,CAAA;AAE1C,eAAO,MAAM,aAAa,EAAE,QAAiB,CAAA;AAC7C,eAAO,MAAM,YAAY,EAAE,WAAsB,CAAA;AAEjD,8DAA8D;AAC9D,eAAO,MAAM,iBAAiB,aAAa,CAAA;AAC3C,eAAO,MAAM,gBAAgB,YAAY,CAAA;AAEzC,wBAAgB,SAAS,IAAI,QAAQ,EAAE,CAEtC;AAED,wBAAgB,QAAQ,CAAC,GAAG,EAAE,QAAQ,GAAG,WAAW,CAEnD;AAED,wBAAgB,UAAU,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,QAAQ,CAE3D;AAED,kFAAkF;AAClF,wBAAgB,SAAS,CAAC,GAAG,EAAE,QAAQ,GAAG,MAAM,GAAG,SAAS,CAE3D;AAED,kFAAkF;AAClF,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,QAAQ,GAAG,OAAO,CAExD;AAED,mFAAmF;AACnF,wBAAgB,qBAAqB,CAAC,GAAG,EAAE,QAAQ,GAAG,WAAW,EAAE,CAElE"}
|
|
@@ -4,7 +4,7 @@ type AppThemeProviderProps = PropsWithChildren<{
|
|
|
4
4
|
defaultBrand?: BrandKey;
|
|
5
5
|
defaultMode?: ModeSetting;
|
|
6
6
|
}>;
|
|
7
|
-
export declare function AppThemeProvider({ defaultBrand, defaultMode, children, }: AppThemeProviderProps): import("react
|
|
7
|
+
export declare function AppThemeProvider({ defaultBrand, defaultMode, children, }: AppThemeProviderProps): import("react").JSX.Element;
|
|
8
8
|
export type UseAppThemeResult = {
|
|
9
9
|
/** Active brand key. */
|
|
10
10
|
brand: BrandKey;
|
|
@@ -32,6 +32,6 @@ export declare function useAppTheme(): UseAppThemeResult;
|
|
|
32
32
|
*/
|
|
33
33
|
export declare function BrandThemeScript({ defaultBrand, }: {
|
|
34
34
|
defaultBrand?: BrandKey;
|
|
35
|
-
}): import("react
|
|
35
|
+
}): import("react").JSX.Element;
|
|
36
36
|
export {};
|
|
37
37
|
//# sourceMappingURL=theme-provider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme-provider.d.ts","sourceRoot":"","sources":["../../../src/theme/theme-provider.tsx"],"names":[],"mappings":"AAaA,OAAO,EAEL,KAAK,iBAAiB,EAIvB,MAAM,OAAO,CAAA;AACd,OAAO,EAGL,KAAK,QAAQ,EAIb,KAAK,SAAS,EAKd,KAAK,WAAW,EACjB,MAAM,gBAAgB,CAAA;AAmFvB,KAAK,qBAAqB,GAAG,iBAAiB,CAAC;IAC7C,YAAY,CAAC,EAAE,QAAQ,CAAA;IACvB,WAAW,CAAC,EAAE,WAAW,CAAA;CAC1B,CAAC,CAAA;AAEF,wBAAgB,gBAAgB,CAAC,EAC/B,YAA4B,EAC5B,WAA0B,EAC1B,QAAQ,GACT,EAAE,qBAAqB
|
|
1
|
+
{"version":3,"file":"theme-provider.d.ts","sourceRoot":"","sources":["../../../src/theme/theme-provider.tsx"],"names":[],"mappings":"AAaA,OAAO,EAEL,KAAK,iBAAiB,EAIvB,MAAM,OAAO,CAAA;AACd,OAAO,EAGL,KAAK,QAAQ,EAIb,KAAK,SAAS,EAKd,KAAK,WAAW,EACjB,MAAM,gBAAgB,CAAA;AAmFvB,KAAK,qBAAqB,GAAG,iBAAiB,CAAC;IAC7C,YAAY,CAAC,EAAE,QAAQ,CAAA;IACvB,WAAW,CAAC,EAAE,WAAW,CAAA;CAC1B,CAAC,CAAA;AAEF,wBAAgB,gBAAgB,CAAC,EAC/B,YAA4B,EAC5B,WAA0B,EAC1B,QAAQ,GACT,EAAE,qBAAqB,+BAavB;AAED,MAAM,MAAM,iBAAiB,GAAG;IAC9B,wBAAwB;IACxB,KAAK,EAAE,QAAQ,CAAA;IACf,oDAAoD;IACpD,MAAM,EAAE,QAAQ,EAAE,CAAA;IAClB,QAAQ,EAAE,CAAC,KAAK,EAAE,QAAQ,KAAK,IAAI,CAAA;IACnC,8CAA8C;IAC9C,IAAI,EAAE,WAAW,CAAA;IACjB,sDAAsD;IACtD,YAAY,EAAE,SAAS,CAAA;IACvB,OAAO,EAAE,CAAC,IAAI,EAAE,WAAW,KAAK,IAAI,CAAA;IACpC,qFAAqF;IACrF,cAAc,EAAE,WAAW,EAAE,CAAA;IAC7B,mFAAmF;IACnF,OAAO,EAAE,OAAO,CAAA;CACjB,CAAA;AAED,wBAAgB,WAAW,IAAI,iBAAiB,CA4B/C;AAED;;;;;;;GAOG;AACH,wBAAgB,gBAAgB,CAAC,EAC/B,YAA4B,GAC7B,EAAE;IACD,YAAY,CAAC,EAAE,QAAQ,CAAA;CACxB,+BAoBA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme-toggle.d.ts","sourceRoot":"","sources":["../../../src/theme/theme-toggle.tsx"],"names":[],"mappings":"AA6BA,wBAAgB,WAAW,CAAC,EAAE,SAAS,EAAE,EAAE;IAAE,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE
|
|
1
|
+
{"version":3,"file":"theme-toggle.d.ts","sourceRoot":"","sources":["../../../src/theme/theme-toggle.tsx"],"names":[],"mappings":"AA6BA,wBAAgB,WAAW,CAAC,EAAE,SAAS,EAAE,EAAE;IAAE,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,+BA6ChE"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { NumericInput } from "../atoms/numeric-input.js";
|
|
3
|
-
function NumericInputTemplate({ showControls = true, showScrubber = false, controlsPosition = "right", incrementIcon = "token-icon-numeric-input-increment", decrementIcon = "token-icon-numeric-input-decrement", className, ref, ...numericInputProps }) {
|
|
3
|
+
function NumericInputTemplate({ "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, showControls = true, showScrubber = false, controlsPosition = "right", incrementIcon = "token-icon-numeric-input-increment", decrementIcon = "token-icon-numeric-input-decrement", className, ref, ...numericInputProps }) {
|
|
4
4
|
if ("right" === controlsPosition) return /*#__PURE__*/ jsx(NumericInput, {
|
|
5
5
|
...numericInputProps,
|
|
6
6
|
className: className,
|
|
@@ -8,7 +8,10 @@ function NumericInputTemplate({ showControls = true, showScrubber = false, contr
|
|
|
8
8
|
children: /*#__PURE__*/ jsxs(NumericInput.Control, {
|
|
9
9
|
children: [
|
|
10
10
|
showScrubber && /*#__PURE__*/ jsx(NumericInput.Scrubber, {}),
|
|
11
|
-
/*#__PURE__*/ jsx(NumericInput.Input, {
|
|
11
|
+
/*#__PURE__*/ jsx(NumericInput.Input, {
|
|
12
|
+
"aria-label": ariaLabel,
|
|
13
|
+
"aria-labelledby": ariaLabelledBy
|
|
14
|
+
}),
|
|
12
15
|
showControls && /*#__PURE__*/ jsxs(NumericInput.TriggerContainer, {
|
|
13
16
|
children: [
|
|
14
17
|
/*#__PURE__*/ jsx(NumericInput.IncrementTrigger, {
|
|
@@ -36,7 +39,10 @@ function NumericInputTemplate({ showControls = true, showScrubber = false, contr
|
|
|
36
39
|
className: "flex-1",
|
|
37
40
|
children: [
|
|
38
41
|
showScrubber && /*#__PURE__*/ jsx(NumericInput.Scrubber, {}),
|
|
39
|
-
/*#__PURE__*/ jsx(NumericInput.Input, {
|
|
42
|
+
/*#__PURE__*/ jsx(NumericInput.Input, {
|
|
43
|
+
"aria-label": ariaLabel,
|
|
44
|
+
"aria-labelledby": ariaLabelledBy
|
|
45
|
+
})
|
|
40
46
|
]
|
|
41
47
|
}),
|
|
42
48
|
showControls && /*#__PURE__*/ jsx(NumericInput.IncrementTrigger, {
|
|
@@ -20,7 +20,7 @@ const MODE_LABELS = {
|
|
|
20
20
|
};
|
|
21
21
|
function ThemeToggle({ className }) {
|
|
22
22
|
const { brand, brands, setBrand, mode, setMode, availableModes, mounted } = useAppTheme();
|
|
23
|
-
const showModes = availableModes.length > 1;
|
|
23
|
+
const showModes = mounted && availableModes.length > 1;
|
|
24
24
|
const { root, group, modeGroup, label, row } = themeToggle();
|
|
25
25
|
return /*#__PURE__*/ jsxs("div", {
|
|
26
26
|
className: root({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@techsio/ui-kit",
|
|
3
|
-
"version": "0.54.
|
|
3
|
+
"version": "0.54.2",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
|
@@ -75,112 +75,116 @@
|
|
|
75
75
|
"figma:connect:parse": "figma connect parse --config figma.config.json",
|
|
76
76
|
"figma:connect:publish": "figma connect publish --config figma.config.json",
|
|
77
77
|
"test": "vitest run --config vitest.config.ts",
|
|
78
|
-
"test-storybook": "test-storybook",
|
|
78
|
+
"test-storybook": "test-storybook --index-json",
|
|
79
79
|
"storybook:a11y": "bash scripts/storybook-a11y.sh",
|
|
80
|
+
"test:visual-assets": "node --test test/visual-assets.test.mjs",
|
|
80
81
|
"test:components": "node scripts/run-component-tests.mjs",
|
|
81
82
|
"test:components:update": "node scripts/run-component-tests.mjs --update-snapshots",
|
|
82
83
|
"test:sidebar:ssr": "bun test ./test/sidebar.ssr.bun.tsx",
|
|
83
84
|
"lint:tailwind": "eslint \"**/*.{js,jsx,ts,tsx}\" --config eslint.config.js",
|
|
84
85
|
"lint:tailwind:fix": "eslint \"**/*.{js,jsx,ts,tsx}\" --config eslint.config.js --fix",
|
|
85
86
|
"prepare": "node -e \"if (!process.env.RSLIB_CHECK_OUTPUT) require('node:child_process').execSync('pnpm build', { stdio: 'inherit' })\"",
|
|
86
|
-
"check:unused-tokens": "
|
|
87
|
-
"validate:tokens": "
|
|
88
|
-
"validate:token-usage": "
|
|
89
|
-
"validate:token-definitions": "
|
|
87
|
+
"check:unused-tokens": "node scripts/check-unused-tokens.js",
|
|
88
|
+
"validate:tokens": "node scripts/validate-token-usage.js && node scripts/validate-token-definitions.js",
|
|
89
|
+
"validate:token-usage": "node scripts/validate-token-usage.js",
|
|
90
|
+
"validate:token-definitions": "node scripts/validate-token-definitions.js",
|
|
90
91
|
"semantic-release": "semantic-release",
|
|
91
92
|
"typecheck": "tsc --noEmit -p tsconfig.json && tsc --noEmit -p tsconfig.tests.json"
|
|
92
93
|
},
|
|
93
94
|
"dependencies": {
|
|
94
|
-
"@dnd-kit/
|
|
95
|
-
"@dnd-kit/
|
|
96
|
-
"@dnd-kit/
|
|
97
|
-
"@dnd-kit/
|
|
95
|
+
"@dnd-kit/abstract": "^0.5.0",
|
|
96
|
+
"@dnd-kit/collision": "^0.5.0",
|
|
97
|
+
"@dnd-kit/dom": "^0.5.0",
|
|
98
|
+
"@dnd-kit/helpers": "^0.5.0",
|
|
99
|
+
"@dnd-kit/react": "^0.5.0",
|
|
98
100
|
"@iconify-json/mdi": "^1.2.3",
|
|
99
101
|
"@iconify-json/mdi-light": "^1.2.2",
|
|
100
102
|
"@iconify-json/svg-spinners": "^1.2.4",
|
|
101
|
-
"@iconify/tailwind4": "^1.
|
|
102
|
-
"@internationalized/date": "^3.12.
|
|
103
|
-
"@tanstack/charts": "^
|
|
104
|
-
"@tanstack/
|
|
105
|
-
"@tanstack/react-
|
|
106
|
-
"@
|
|
107
|
-
"@
|
|
108
|
-
"@zag-js/
|
|
109
|
-
"@zag-js/
|
|
110
|
-
"@zag-js/
|
|
111
|
-
"@zag-js/
|
|
112
|
-
"@zag-js/
|
|
113
|
-
"@zag-js/
|
|
114
|
-
"@zag-js/
|
|
115
|
-
"@zag-js/
|
|
116
|
-
"@zag-js/
|
|
117
|
-
"@zag-js/
|
|
118
|
-
"@zag-js/
|
|
119
|
-
"@zag-js/
|
|
120
|
-
"@zag-js/
|
|
121
|
-
"@zag-js/
|
|
122
|
-
"@zag-js/
|
|
123
|
-
"@zag-js/
|
|
124
|
-
"@zag-js/
|
|
125
|
-
"@zag-js/
|
|
126
|
-
"@zag-js/
|
|
127
|
-
"@zag-js/
|
|
128
|
-
"@zag-js/
|
|
129
|
-
"@zag-js/
|
|
130
|
-
"@zag-js/
|
|
131
|
-
"@zag-js/
|
|
132
|
-
"@zag-js/
|
|
133
|
-
"@zag-js/
|
|
134
|
-
"@zag-js/
|
|
135
|
-
"@zag-js/
|
|
136
|
-
"
|
|
137
|
-
"@zag-js/tree-view": "1.43.3",
|
|
138
|
-
"better-themes": "^1.1.0",
|
|
103
|
+
"@iconify/tailwind4": "^1.2.3",
|
|
104
|
+
"@internationalized/date": "^3.12.4",
|
|
105
|
+
"@tanstack/charts": "^1.1.0",
|
|
106
|
+
"@tanstack/react-table": "^9.2.8",
|
|
107
|
+
"@tanstack/react-virtual": "^3.14.14",
|
|
108
|
+
"@zag-js/accordion": "^1.45.0",
|
|
109
|
+
"@zag-js/carousel": "^1.45.0",
|
|
110
|
+
"@zag-js/cascade-select": "^1.45.0",
|
|
111
|
+
"@zag-js/checkbox": "^1.45.0",
|
|
112
|
+
"@zag-js/collapsible": "^1.45.0",
|
|
113
|
+
"@zag-js/combobox": "^1.45.0",
|
|
114
|
+
"@zag-js/date-input": "^1.45.0",
|
|
115
|
+
"@zag-js/date-picker": "^1.45.0",
|
|
116
|
+
"@zag-js/dialog": "^1.45.0",
|
|
117
|
+
"@zag-js/drawer": "^1.45.0",
|
|
118
|
+
"@zag-js/file-upload": "^1.45.0",
|
|
119
|
+
"@zag-js/hotkeys": "^1.45.0",
|
|
120
|
+
"@zag-js/i18n-utils": "^1.45.0",
|
|
121
|
+
"@zag-js/menu": "^1.45.0",
|
|
122
|
+
"@zag-js/number-input": "^1.45.0",
|
|
123
|
+
"@zag-js/pagination": "^1.45.0",
|
|
124
|
+
"@zag-js/popover": "^1.45.0",
|
|
125
|
+
"@zag-js/presence": "^1.45.0",
|
|
126
|
+
"@zag-js/radio-group": "^1.45.0",
|
|
127
|
+
"@zag-js/rating-group": "^1.45.0",
|
|
128
|
+
"@zag-js/react": "^1.45.0",
|
|
129
|
+
"@zag-js/select": "^1.45.0",
|
|
130
|
+
"@zag-js/slider": "^1.45.0",
|
|
131
|
+
"@zag-js/steps": "^1.45.0",
|
|
132
|
+
"@zag-js/switch": "^1.45.0",
|
|
133
|
+
"@zag-js/tabs": "^1.45.0",
|
|
134
|
+
"@zag-js/toast": "^1.45.0",
|
|
135
|
+
"@zag-js/tooltip": "^1.45.0",
|
|
136
|
+
"@zag-js/tour": "^1.45.0",
|
|
137
|
+
"@zag-js/tree-view": "^1.45.0",
|
|
138
|
+
"better-themes": "^1.1.1",
|
|
139
139
|
"d3-scale": "^4.0.2",
|
|
140
140
|
"d3-shape": "^3.2.0",
|
|
141
|
-
"libphonenumber-js": "^1.13.
|
|
142
|
-
"tailwind-merge": "^3.
|
|
143
|
-
"tailwind-variants": "^3.
|
|
144
|
-
"
|
|
141
|
+
"libphonenumber-js": "^1.13.15",
|
|
142
|
+
"tailwind-merge": "^3.7.0",
|
|
143
|
+
"tailwind-variants": "^3.3.1",
|
|
144
|
+
"tw-animate-css": "^1.4.0"
|
|
145
145
|
},
|
|
146
146
|
"devDependencies": {
|
|
147
|
-
"@
|
|
148
|
-
"@
|
|
149
|
-
"@iconify/
|
|
150
|
-
"@rsbuild/core": "2.2.
|
|
151
|
-
"@rsbuild/plugin-react": "^2.1.
|
|
152
|
-
"@rslib/core": "^1.0.
|
|
153
|
-
"@semantic-release/changelog": "^6.0.3",
|
|
147
|
+
"@figma/code-connect": "^2.0.1",
|
|
148
|
+
"@iconify-json/cif": "^1.2.7",
|
|
149
|
+
"@iconify-json/twemoji": "^1.2.5",
|
|
150
|
+
"@rsbuild/core": "2.2.12",
|
|
151
|
+
"@rsbuild/plugin-react": "^2.1.1",
|
|
152
|
+
"@rslib/core": "^1.0.3",
|
|
154
153
|
"@semantic-release/commit-analyzer": "^13.0.1",
|
|
155
|
-
"@semantic-release/
|
|
156
|
-
"@semantic-release/
|
|
157
|
-
"@semantic-release/
|
|
158
|
-
"@
|
|
159
|
-
"@storybook/
|
|
160
|
-
"@storybook/
|
|
161
|
-
"@
|
|
162
|
-
"@storybook/test-runner": "^0.24.4",
|
|
163
|
-
"@tailwindcss/postcss": "^4.1.17",
|
|
154
|
+
"@semantic-release/github": "^12.0.10",
|
|
155
|
+
"@semantic-release/npm": "^13.2.0",
|
|
156
|
+
"@semantic-release/release-notes-generator": "^14.1.1",
|
|
157
|
+
"@storybook/addon-docs": "^10.6.1",
|
|
158
|
+
"@storybook/react": "^10.6.1",
|
|
159
|
+
"@storybook/test-runner": "^0.26.0",
|
|
160
|
+
"@tailwindcss/postcss": "^4.3.3",
|
|
164
161
|
"@techsio/storybook-a11y-reporter": "0.1.3",
|
|
165
162
|
"@techsio/storybook-better-a11y": "0.1.3",
|
|
166
163
|
"@types/d3-scale": "^4.0.9",
|
|
167
|
-
"@types/d3-shape": "^3.
|
|
168
|
-
"@
|
|
169
|
-
"
|
|
170
|
-
"
|
|
171
|
-
"
|
|
172
|
-
"
|
|
173
|
-
"
|
|
174
|
-
"
|
|
164
|
+
"@types/d3-shape": "^3.2.0",
|
|
165
|
+
"@types/node": "26.6.5",
|
|
166
|
+
"@types/pngjs": "6.0.5",
|
|
167
|
+
"@types/react": "19.3.0",
|
|
168
|
+
"@types/react-dom": "19.3.0",
|
|
169
|
+
"@typescript-eslint/parser": "^8.71.0",
|
|
170
|
+
"@typescript/native": "npm:typescript@^7.0.2",
|
|
171
|
+
"cross-env": "^10.1.0",
|
|
172
|
+
"eslint": "^10.12.0",
|
|
173
|
+
"eslint-plugin-tailwindcss": "4.4.0",
|
|
174
|
+
"pngjs": "7.0.0",
|
|
175
|
+
"postcss": "^8.5.28",
|
|
176
|
+
"react": "19.3.0",
|
|
177
|
+
"react-dom": "19.3.0",
|
|
178
|
+
"rsbuild-plugin-arethetypeswrong": "0.4.0",
|
|
175
179
|
"rsbuild-plugin-publint": "^1.0.0",
|
|
176
|
-
"semantic-release": "^25.0.
|
|
177
|
-
"storybook": "^10.6.
|
|
178
|
-
"storybook-addon-rslib": "^3.
|
|
179
|
-
"storybook-react-rsbuild": "^3.
|
|
180
|
-
"tailwindcss": "^4.
|
|
181
|
-
"typescript": "
|
|
182
|
-
"vite": "
|
|
183
|
-
"vitest": "
|
|
180
|
+
"semantic-release": "^25.0.9",
|
|
181
|
+
"storybook": "^10.6.1",
|
|
182
|
+
"storybook-addon-rslib": "^3.6.1",
|
|
183
|
+
"storybook-react-rsbuild": "^3.6.1",
|
|
184
|
+
"tailwindcss": "^4.3.3",
|
|
185
|
+
"typescript": "npm:@typescript/typescript6@^6.0.2",
|
|
186
|
+
"vite": "^8.3.4",
|
|
187
|
+
"vitest": "^5.0.3"
|
|
184
188
|
},
|
|
185
189
|
"peerDependencies": {
|
|
186
190
|
"@types/react": ">=19.2.0",
|
package/src/tokens/_base.css
CHANGED
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
--radius-lg: 12px;
|
|
6
6
|
--radius-full: 9999px;
|
|
7
7
|
|
|
8
|
-
--color-shadow-1: light-dark(
|
|
9
|
-
--color-shadow-2: light-dark(
|
|
10
|
-
--color-shadow-3: light-dark(
|
|
8
|
+
--color-shadow-1: light-dark(oklch(0% 0 none / 0.16), oklch(0% 0 none));
|
|
9
|
+
--color-shadow-2: light-dark(oklch(0% 0 none / 0.06), oklch(0% 0 none));
|
|
10
|
+
--color-shadow-3: light-dark(oklch(0% 0 none / 0.1), oklch(0% 0 none));
|
|
11
11
|
|
|
12
12
|
--offset-shadow-1: 0px 1px 3px 0px;
|
|
13
13
|
--offset-shadow-2: 0px 5px 6px 0px;
|
|
@@ -17,9 +17,16 @@
|
|
|
17
17
|
var(--offset-shadow-1) var(--color-shadow-1), var(--offset-shadow-2)
|
|
18
18
|
var(--color-shadow-2), var(--offset-shadow-3) var(--color-shadow-3);
|
|
19
19
|
|
|
20
|
+
/* Motion — strong ease-out for UI feedback, ease-in-out for on-screen
|
|
21
|
+
* movement. Never ease-in: it delays the response the user is waiting for. */
|
|
22
|
+
--ease-out: cubic-bezier(0.23, 1, 0.32, 1);
|
|
23
|
+
--ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
|
|
24
|
+
--default-transition-timing-function: var(--ease-out);
|
|
25
|
+
|
|
20
26
|
/* Shadows */
|
|
21
|
-
--shadow-sm: 0 1px 2px
|
|
22
|
-
--shadow-md: 0 4px 6px
|
|
23
|
-
--shadow-lg: 0 10px 15px
|
|
24
|
-
--shadow-xl:
|
|
27
|
+
--shadow-sm: 0 1px 2px oklch(0% 0 none / 0.05);
|
|
28
|
+
--shadow-md: 0 4px 6px oklch(0% 0 none / 0.1);
|
|
29
|
+
--shadow-lg: 0 10px 15px oklch(0% 0 none / 0.1);
|
|
30
|
+
--shadow-xl:
|
|
31
|
+
0 20px 25px oklch(0% 0 none / 0.15), 0 10px 10px oklch(0% 0 none / 0.04);
|
|
25
32
|
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Element defaults and interaction variants shared by every component.
|
|
3
|
+
* Based on the good-css.com reset, adopted rule by rule.
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
/*
|
|
7
|
+
* Tailwind's built-in hover: only checks (hover: hover). Hybrid and touch
|
|
8
|
+
* devices still report it, so a tapped control keeps its hover colour until
|
|
9
|
+
* the next tap elsewhere. Requiring a fine pointer limits hover to mice and
|
|
10
|
+
* trackpads.
|
|
11
|
+
*/
|
|
12
|
+
@custom-variant hover {
|
|
13
|
+
@media (hover: hover) and (pointer: fine) {
|
|
14
|
+
&:hover {
|
|
15
|
+
@slot;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
@layer base {
|
|
21
|
+
:root {
|
|
22
|
+
/* Lets height/width transition to and from `auto` (accordions, disclosures). */
|
|
23
|
+
interpolate-size: allow-keywords;
|
|
24
|
+
/* Reserve the scrollbar track so locking scroll for a dialog does not shift
|
|
25
|
+
* the page. Zag's scroll lock detects this and skips its padding fallback. */
|
|
26
|
+
scrollbar-gutter: stable;
|
|
27
|
+
/* Avoid single-word last lines in body copy. */
|
|
28
|
+
text-wrap: pretty;
|
|
29
|
+
-webkit-text-size-adjust: none;
|
|
30
|
+
text-size-adjust: none;
|
|
31
|
+
/* Components draw their own :active state. */
|
|
32
|
+
-webkit-tap-highlight-color: transparent;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
:where(h1, h2, h3, h4, h5, h6) {
|
|
36
|
+
text-wrap: balance;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
/* Removes the double-tap-to-zoom delay on controls. */
|
|
40
|
+
:where(
|
|
41
|
+
a,
|
|
42
|
+
button,
|
|
43
|
+
label,
|
|
44
|
+
select,
|
|
45
|
+
summary,
|
|
46
|
+
[role="button"],
|
|
47
|
+
[role="option"],
|
|
48
|
+
[role="tab"],
|
|
49
|
+
input:is([type="checkbox"], [type="radio"])
|
|
50
|
+
) {
|
|
51
|
+
touch-action: manipulation;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
/*
|
|
56
|
+
* iOS Safari zooms the page into any focused field whose text is under 16px.
|
|
57
|
+
* The fluid --text-sm step drops below that on phones, so small fields floor
|
|
58
|
+
* at 16px. Unlayered so it wins over the Figma @theme values.
|
|
59
|
+
*/
|
|
60
|
+
:root {
|
|
61
|
+
--text-input-sm: max(16px, var(--text-sm));
|
|
62
|
+
--text-textarea-sm: max(16px, var(--text-sm));
|
|
63
|
+
--text-numeric-input-sm: max(16px, var(--text-sm));
|
|
64
|
+
--text-combobox-sm: max(16px, var(--text-sm));
|
|
65
|
+
--text-phone-input-sm: max(16px, var(--text-sm));
|
|
66
|
+
}
|
package/src/tokens/_semantic.css
CHANGED
|
@@ -5,86 +5,76 @@
|
|
|
5
5
|
* - --alpha(var(--color) / 50%): Adjusts transparency of a color. Tailwind's v4 utility
|
|
6
6
|
* that compiles to color-mix() for better browser support.
|
|
7
7
|
*/
|
|
8
|
+
|
|
9
|
+
/*
|
|
10
|
+
* Theme-direction switch: 1 on light surfaces, -1 on dark ones. Every
|
|
11
|
+
* lightness offset below is written once and flips with it, so a dark
|
|
12
|
+
* surface lightens on hover where a light one darkens.
|
|
13
|
+
*/
|
|
8
14
|
:root {
|
|
9
|
-
--
|
|
10
|
-
--state-active: -0.12;
|
|
15
|
+
--theme-sign: 1;
|
|
11
16
|
--state-disabled-chroma: 0.01;
|
|
12
17
|
--state-light-variant: 0.1; /* Always make colors lighter for -light variant */
|
|
13
18
|
--state-light-chroma: 0.6; /* Reduce saturation for softer, pastel colors */
|
|
14
|
-
--state-secondary-text: 0.15;
|
|
15
19
|
--state-border: 15%;
|
|
16
|
-
--state-placeholder: 0.25;
|
|
17
20
|
--max-lightness: 0.97;
|
|
18
21
|
--opacity-disabled: 60%;
|
|
19
22
|
--opacity-placeholder: 60%;
|
|
20
23
|
--opacity-text-secondary: 70%;
|
|
21
24
|
--opacity-disabled-placeholder: 30%;
|
|
22
25
|
--fill-increment: 5%;
|
|
23
|
-
|
|
24
|
-
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
/*
|
|
29
|
+
* Custom properties resolve where they are declared, so the derived offsets
|
|
30
|
+
* are re-declared on every element that can change --theme-sign.
|
|
31
|
+
*/
|
|
32
|
+
:where(:root, .light, .always-light, .dark, .always-dark, .reverse) {
|
|
33
|
+
--state-hover: calc(-0.08 * var(--theme-sign));
|
|
34
|
+
--state-active: calc(-0.12 * var(--theme-sign));
|
|
35
|
+
--state-secondary-text: calc(0.15 * var(--theme-sign));
|
|
36
|
+
--state-placeholder: calc(0.25 * var(--theme-sign));
|
|
37
|
+
--surface-increment: calc(0.05 * var(--theme-sign));
|
|
38
|
+
/* Accent text lightness: 0.42 on light (WCAG AAA), 0.85 on dark. */
|
|
39
|
+
--state-fg-lightness: calc(0.635 - 0.215 * var(--theme-sign));
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/* Explicit Light class(es) — re-asserts light inside a nested .dark/.always-dark subtree */
|
|
43
|
+
:is(.light, .always-light) {
|
|
44
|
+
--theme-sign: 1;
|
|
25
45
|
}
|
|
26
46
|
|
|
27
47
|
/* Explicit Dark class(es) */
|
|
28
48
|
:is(.dark, .always-dark) {
|
|
29
|
-
--
|
|
30
|
-
--state-active: 0.12;
|
|
31
|
-
--state-secondary-text: -0.15;
|
|
32
|
-
--state-placeholder: -0.25;
|
|
33
|
-
--surface-increment: -0.05;
|
|
34
|
-
--state-fg-lightness: 0.85;
|
|
49
|
+
--theme-sign: -1;
|
|
35
50
|
}
|
|
36
51
|
|
|
37
52
|
/* System Dark preference (when no explicit class forces light) */
|
|
38
53
|
@media (prefers-color-scheme: dark) {
|
|
39
54
|
:root:not(.light):not(.always-light) {
|
|
40
|
-
--
|
|
41
|
-
--state-active: 0.12;
|
|
42
|
-
--state-secondary-text: -0.15;
|
|
43
|
-
--state-placeholder: -0.25;
|
|
44
|
-
--surface-increment: -0.05;
|
|
45
|
-
--state-fg-lightness: 0.85;
|
|
55
|
+
--theme-sign: -1;
|
|
46
56
|
}
|
|
47
57
|
}
|
|
48
58
|
|
|
49
|
-
/* Reverse
|
|
59
|
+
/* Reverse flips whatever its parent theme is. */
|
|
50
60
|
:is(.light, .always-light) .reverse {
|
|
51
|
-
--
|
|
52
|
-
--state-active: 0.12;
|
|
53
|
-
--state-secondary-text: -0.15;
|
|
54
|
-
--state-placeholder: -0.25;
|
|
55
|
-
--surface-increment: -0.05;
|
|
56
|
-
--state-fg-lightness: 0.85;
|
|
61
|
+
--theme-sign: -1;
|
|
57
62
|
}
|
|
58
63
|
|
|
59
64
|
:is(.dark, .always-dark) .reverse {
|
|
60
|
-
--
|
|
61
|
-
--state-active: -0.12;
|
|
62
|
-
--state-secondary-text: 0.15;
|
|
63
|
-
--state-placeholder: 0.25;
|
|
64
|
-
--surface-increment: 0.05;
|
|
65
|
-
--state-fg-lightness: 0.42;
|
|
65
|
+
--theme-sign: 1;
|
|
66
66
|
}
|
|
67
67
|
|
|
68
68
|
/* Reverse on System Light/Dark preference (when no explicit theme class is present) */
|
|
69
69
|
@media (prefers-color-scheme: light) {
|
|
70
70
|
.reverse:not(.dark):not(.always-dark):not(.light):not(.always-light) {
|
|
71
|
-
--
|
|
72
|
-
--state-active: 0.12;
|
|
73
|
-
--state-secondary-text: -0.15;
|
|
74
|
-
--state-placeholder: -0.25;
|
|
75
|
-
--surface-increment: -0.05;
|
|
76
|
-
--state-fg-lightness: 0.85;
|
|
71
|
+
--theme-sign: -1;
|
|
77
72
|
}
|
|
78
73
|
}
|
|
79
74
|
|
|
80
75
|
@media (prefers-color-scheme: dark) {
|
|
81
76
|
.reverse:not(.dark):not(.always-dark):not(.light):not(.always-light) {
|
|
82
|
-
--
|
|
83
|
-
--state-active: -0.12;
|
|
84
|
-
--state-secondary-text: 0.15;
|
|
85
|
-
--state-placeholder: 0.25;
|
|
86
|
-
--surface-increment: 0.05;
|
|
87
|
-
--state-fg-lightness: 0.42;
|
|
77
|
+
--theme-sign: 1;
|
|
88
78
|
}
|
|
89
79
|
}
|
|
90
80
|
|
|
@@ -26,6 +26,9 @@
|
|
|
26
26
|
* (e.g. neo) emit tokens here; base is the default @theme above. */
|
|
27
27
|
@import "./figma/brand-overrides.css";
|
|
28
28
|
|
|
29
|
+
/* Element defaults, the hover variant and the mobile input-size floor. */
|
|
30
|
+
@import "./_reset.css";
|
|
31
|
+
|
|
29
32
|
/* Base styles */
|
|
30
33
|
:root {
|
|
31
34
|
color-scheme: light dark;
|
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
@theme static {
|
|
2
|
+
/* Preserve the design system's font choice across Tailwind updates. */
|
|
3
|
+
--font-sans:
|
|
4
|
+
ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
|
|
5
|
+
"Segoe UI Symbol", "Noto Color Emoji";
|
|
6
|
+
|
|
2
7
|
/* Primitive Typography Tokens - Utopia fluid typography */
|
|
3
8
|
--text-xs: clamp(
|
|
4
9
|
0.7813rem,
|