@janbox/storefront-ui 1.0.20 → 1.0.21
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/dist/components/index.d.ts +3 -3
- package/dist/components/index.js +3 -3
- package/dist/components/svg-loader.jsx +1 -1
- package/dist/components/virtualized-list.d.ts +2 -2
- package/dist/components/virtualized-list.jsx +1 -1
- package/dist/constants/emotion.d.ts +1 -1
- package/dist/constants/emotion.js +1 -1
- package/dist/hooks/index.d.ts +9 -9
- package/dist/hooks/index.js +9 -9
- package/dist/hooks/use-controllable-state.js +1 -1
- package/dist/hooks/use-countdown-timer.js +1 -1
- package/dist/hooks/use-query-params.d.ts +1 -1
- package/dist/hooks/use-query-params.js +1 -1
- package/dist/hooks/use-update-effect/index.js +1 -1
- package/dist/hooks/use-window-screen/index.d.ts +1 -1
- package/dist/hooks/use-window-screen/index.js +2 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/lib/accordion/accordion/accordion.d.ts +1 -1
- package/dist/lib/accordion/accordion/accordion.jsx +6 -6
- package/dist/lib/accordion/accordion/helpers.d.ts +1 -1
- package/dist/lib/accordion/accordion/helpers.js +3 -3
- package/dist/lib/accordion/accordion/index.d.ts +3 -3
- package/dist/lib/accordion/accordion/index.js +3 -3
- package/dist/lib/accordion/accordion/types.d.ts +1 -1
- package/dist/lib/accordion/accordion-content/accordion-content.d.ts +1 -1
- package/dist/lib/accordion/accordion-content/accordion-content.jsx +4 -4
- package/dist/lib/accordion/accordion-content/helpers.d.ts +1 -1
- package/dist/lib/accordion/accordion-content/helpers.js +1 -1
- package/dist/lib/accordion/accordion-content/index.d.ts +3 -3
- package/dist/lib/accordion/accordion-content/index.js +3 -3
- package/dist/lib/accordion/accordion-content/types.d.ts +1 -1
- package/dist/lib/accordion/accordion-group/accordion-group.d.ts +1 -1
- package/dist/lib/accordion/accordion-group/accordion-group.jsx +3 -3
- package/dist/lib/accordion/accordion-group/helpers.d.ts +6 -6
- package/dist/lib/accordion/accordion-group/helpers.js +2 -2
- package/dist/lib/accordion/accordion-group/index.d.ts +3 -3
- package/dist/lib/accordion/accordion-group/index.js +3 -3
- package/dist/lib/accordion/accordion-group/types.d.ts +3 -3
- package/dist/lib/accordion/accordion-summary/accordion-summary.d.ts +1 -1
- package/dist/lib/accordion/accordion-summary/accordion-summary.jsx +6 -6
- package/dist/lib/accordion/accordion-summary/helpers.d.ts +1 -1
- package/dist/lib/accordion/accordion-summary/helpers.js +1 -1
- package/dist/lib/accordion/accordion-summary/index.d.ts +3 -3
- package/dist/lib/accordion/accordion-summary/index.js +3 -3
- package/dist/lib/accordion/accordion-summary/types.d.ts +2 -2
- package/dist/lib/accordion/index.d.ts +4 -4
- package/dist/lib/accordion/index.js +4 -4
- package/dist/lib/badge/badge.d.ts +1 -1
- package/dist/lib/badge/badge.jsx +2 -2
- package/dist/lib/badge/helpers.d.ts +1 -1
- package/dist/lib/badge/helpers.js +1 -1
- package/dist/lib/badge/index.d.ts +3 -3
- package/dist/lib/badge/index.js +3 -3
- package/dist/lib/badge/types.d.ts +1 -1
- package/dist/lib/box/box.d.ts +1 -1
- package/dist/lib/box/box.jsx +3 -3
- package/dist/lib/box/helpers.d.ts +1 -1
- package/dist/lib/box/helpers.js +1 -1
- package/dist/lib/box/index.d.ts +3 -3
- package/dist/lib/box/index.js +3 -3
- package/dist/lib/box/types.d.ts +1 -1
- package/dist/lib/breadcrumbs/breadcrumb-item/breadcrumb-item.d.ts +1 -1
- package/dist/lib/breadcrumbs/breadcrumb-item/breadcrumb-item.jsx +2 -2
- package/dist/lib/breadcrumbs/breadcrumb-item/index.d.ts +2 -2
- package/dist/lib/breadcrumbs/breadcrumb-item/index.js +2 -2
- package/dist/lib/breadcrumbs/breadcrumb-item/types.d.ts +3 -3
- package/dist/lib/breadcrumbs/breadcrumbs/breadcrumbs.d.ts +1 -1
- package/dist/lib/breadcrumbs/breadcrumbs/breadcrumbs.jsx +3 -3
- package/dist/lib/breadcrumbs/breadcrumbs/index.d.ts +1 -1
- package/dist/lib/breadcrumbs/breadcrumbs/index.js +1 -1
- package/dist/lib/breadcrumbs/breadcrumbs/types.d.ts +2 -2
- package/dist/lib/breadcrumbs/index.d.ts +2 -2
- package/dist/lib/breadcrumbs/index.js +2 -2
- package/dist/lib/button/button.d.ts +1 -1
- package/dist/lib/button/button.jsx +6 -6
- package/dist/lib/button/helpers.d.ts +1 -1
- package/dist/lib/button/helpers.js +2 -2
- package/dist/lib/button/index.d.ts +3 -3
- package/dist/lib/button/index.js +3 -3
- package/dist/lib/button/types.d.ts +3 -3
- package/dist/lib/cascader/cascader-floating-content.d.ts +3 -3
- package/dist/lib/cascader/cascader-floating-content.jsx +9 -9
- package/dist/lib/cascader/cascader.d.ts +1 -1
- package/dist/lib/cascader/cascader.jsx +10 -10
- package/dist/lib/cascader/helpers.d.ts +1 -1
- package/dist/lib/cascader/helpers.js +1 -1
- package/dist/lib/cascader/index.d.ts +2 -2
- package/dist/lib/cascader/index.js +2 -2
- package/dist/lib/cascader/types.d.ts +3 -3
- package/dist/lib/checkbox/checkbox.d.ts +1 -1
- package/dist/lib/checkbox/checkbox.jsx +3 -3
- package/dist/lib/checkbox/index.d.ts +2 -2
- package/dist/lib/checkbox/index.js +1 -1
- package/dist/lib/checkbox/types.d.ts +1 -1
- package/dist/lib/chip/chip.d.ts +1 -1
- package/dist/lib/chip/chip.jsx +3 -3
- package/dist/lib/chip/helpers.d.ts +1 -1
- package/dist/lib/chip/helpers.js +1 -1
- package/dist/lib/chip/index.d.ts +3 -3
- package/dist/lib/chip/index.js +3 -3
- package/dist/lib/chip/types.d.ts +1 -1
- package/dist/lib/collapse/collapse.d.ts +1 -1
- package/dist/lib/collapse/index.d.ts +2 -2
- package/dist/lib/collapse/index.js +2 -2
- package/dist/lib/collapse/types.d.ts +1 -1
- package/dist/lib/container/container.d.ts +1 -1
- package/dist/lib/container/container.jsx +2 -2
- package/dist/lib/container/helpers.d.ts +1 -1
- package/dist/lib/container/helpers.js +1 -1
- package/dist/lib/container/index.d.ts +3 -3
- package/dist/lib/container/index.js +3 -3
- package/dist/lib/container/types.d.ts +1 -1
- package/dist/lib/count-up/count-up.d.ts +1 -1
- package/dist/lib/count-up/count-up.jsx +1 -1
- package/dist/lib/count-up/index.d.ts +2 -2
- package/dist/lib/count-up/index.js +2 -2
- package/dist/lib/count-up/types.d.ts +2 -2
- package/dist/lib/countdown-timer/countdown-timer.d.ts +1 -1
- package/dist/lib/countdown-timer/countdown-timer.jsx +1 -1
- package/dist/lib/countdown-timer/index.d.ts +2 -2
- package/dist/lib/countdown-timer/index.js +2 -2
- package/dist/lib/countdown-timer/types.d.ts +1 -1
- package/dist/lib/date-picker/date-picker.d.ts +1 -1
- package/dist/lib/date-picker/date-picker.jsx +9 -9
- package/dist/lib/date-picker/helpers.d.ts +1 -1
- package/dist/lib/date-picker/helpers.js +1 -1
- package/dist/lib/date-picker/index.d.ts +3 -3
- package/dist/lib/date-picker/index.js +3 -3
- package/dist/lib/date-picker/types.d.ts +1 -1
- package/dist/lib/dialog/dialog/dialog.d.ts +1 -1
- package/dist/lib/dialog/dialog/dialog.jsx +3 -3
- package/dist/lib/dialog/dialog/helpers.d.ts +2 -2
- package/dist/lib/dialog/dialog/helpers.js +3 -3
- package/dist/lib/dialog/dialog/index.d.ts +3 -3
- package/dist/lib/dialog/dialog/index.js +3 -3
- package/dist/lib/dialog/dialog/types.d.ts +3 -3
- package/dist/lib/dialog/dialog-body/dialog-body.d.ts +1 -1
- package/dist/lib/dialog/dialog-body/dialog-body.jsx +2 -2
- package/dist/lib/dialog/dialog-body/index.d.ts +2 -2
- package/dist/lib/dialog/dialog-body/index.js +2 -2
- package/dist/lib/dialog/dialog-body/types.d.ts +2 -2
- package/dist/lib/dialog/dialog-close/dialog-close.d.ts +1 -1
- package/dist/lib/dialog/dialog-close/dialog-close.jsx +1 -1
- package/dist/lib/dialog/dialog-close/index.d.ts +2 -2
- package/dist/lib/dialog/dialog-close/index.js +2 -2
- package/dist/lib/dialog/dialog-close/types.d.ts +1 -1
- package/dist/lib/dialog/dialog-footer/dialog-footer.d.ts +1 -1
- package/dist/lib/dialog/dialog-footer/dialog-footer.jsx +1 -1
- package/dist/lib/dialog/dialog-footer/index.d.ts +2 -2
- package/dist/lib/dialog/dialog-footer/index.js +2 -2
- package/dist/lib/dialog/dialog-header/dialog-header.d.ts +1 -1
- package/dist/lib/dialog/dialog-header/dialog-header.jsx +3 -3
- package/dist/lib/dialog/dialog-header/index.d.ts +2 -2
- package/dist/lib/dialog/dialog-header/index.js +2 -2
- package/dist/lib/dialog/index.d.ts +5 -5
- package/dist/lib/dialog/index.js +5 -5
- package/dist/lib/drawer/drawer/drawer.d.ts +1 -1
- package/dist/lib/drawer/drawer/drawer.jsx +2 -2
- package/dist/lib/drawer/drawer/helpers.d.ts +1 -1
- package/dist/lib/drawer/drawer/helpers.js +1 -1
- package/dist/lib/drawer/drawer/index.d.ts +3 -3
- package/dist/lib/drawer/drawer/index.js +3 -3
- package/dist/lib/drawer/drawer/types.d.ts +2 -2
- package/dist/lib/drawer/drawer-close/drawer-close.d.ts +1 -1
- package/dist/lib/drawer/drawer-close/drawer-close.jsx +1 -1
- package/dist/lib/drawer/drawer-close/index.d.ts +2 -2
- package/dist/lib/drawer/drawer-close/index.js +2 -2
- package/dist/lib/drawer/drawer-close/types.d.ts +1 -1
- package/dist/lib/drawer/index.d.ts +2 -2
- package/dist/lib/drawer/index.js +2 -2
- package/dist/lib/filter-panel/checkbox-filter-panel.d.ts +1 -1
- package/dist/lib/filter-panel/checkbox-filter-panel.jsx +5 -5
- package/dist/lib/filter-panel/filter-panel.d.ts +1 -1
- package/dist/lib/filter-panel/filter-panel.jsx +7 -7
- package/dist/lib/filter-panel/index.d.ts +1 -1
- package/dist/lib/filter-panel/index.js +1 -1
- package/dist/lib/filter-panel/input-range-filter-panel.d.ts +1 -1
- package/dist/lib/filter-panel/input-range-filter-panel.jsx +4 -4
- package/dist/lib/filter-panel/input-text-filter-panel.d.ts +1 -1
- package/dist/lib/filter-panel/input-text-filter-panel.jsx +3 -3
- package/dist/lib/filter-panel/radio-filter-panel.d.ts +1 -1
- package/dist/lib/filter-panel/radio-filter-panel.jsx +5 -5
- package/dist/lib/filter-panel/types.d.ts +3 -3
- package/dist/lib/flag/flag.d.ts +1 -1
- package/dist/lib/flag/flag.jsx +2 -2
- package/dist/lib/flag/helpers.d.ts +1 -1
- package/dist/lib/flag/helpers.js +1 -1
- package/dist/lib/flag/index.d.ts +3 -3
- package/dist/lib/flag/index.js +3 -3
- package/dist/lib/flag/types.d.ts +2 -2
- package/dist/lib/flexbox/flex-item/flex-item.d.ts +1 -1
- package/dist/lib/flexbox/flex-item/flex-item.jsx +2 -2
- package/dist/lib/flexbox/flex-item/helpers.d.ts +1 -1
- package/dist/lib/flexbox/flex-item/helpers.js +1 -1
- package/dist/lib/flexbox/flex-item/index.d.ts +3 -3
- package/dist/lib/flexbox/flex-item/index.js +3 -3
- package/dist/lib/flexbox/flex-item/types.d.ts +1 -1
- package/dist/lib/flexbox/flexbox/flexbox.d.ts +1 -1
- package/dist/lib/flexbox/flexbox/flexbox.jsx +3 -3
- package/dist/lib/flexbox/flexbox/helpers.d.ts +1 -1
- package/dist/lib/flexbox/flexbox/helpers.js +1 -1
- package/dist/lib/flexbox/flexbox/index.d.ts +3 -3
- package/dist/lib/flexbox/flexbox/index.js +3 -3
- package/dist/lib/flexbox/flexbox/types.d.ts +1 -1
- package/dist/lib/flexbox/index.d.ts +2 -2
- package/dist/lib/flexbox/index.js +2 -2
- package/dist/lib/floating/floating/floating.jsx +1 -1
- package/dist/lib/floating/floating/index.d.ts +3 -3
- package/dist/lib/floating/floating/index.js +3 -3
- package/dist/lib/floating/floating-close/floating-close.d.ts +1 -1
- package/dist/lib/floating/floating-close/floating-close.jsx +2 -2
- package/dist/lib/floating/floating-close/index.d.ts +2 -2
- package/dist/lib/floating/floating-close/index.js +2 -2
- package/dist/lib/floating/floating-close/types.d.ts +1 -1
- package/dist/lib/floating/floating-content/floating-content.d.ts +1 -1
- package/dist/lib/floating/floating-content/floating-content.jsx +3 -3
- package/dist/lib/floating/floating-content/index.d.ts +2 -2
- package/dist/lib/floating/floating-content/index.js +2 -2
- package/dist/lib/floating/floating-content/types.d.ts +1 -1
- package/dist/lib/floating/floating-trigger/floating-trigger.d.ts +1 -1
- package/dist/lib/floating/floating-trigger/floating-trigger.jsx +1 -1
- package/dist/lib/floating/floating-trigger/index.d.ts +2 -2
- package/dist/lib/floating/floating-trigger/index.js +2 -2
- package/dist/lib/floating/index.d.ts +4 -4
- package/dist/lib/floating/index.js +4 -4
- package/dist/lib/form-helper-text/form-helper-text.d.ts +1 -1
- package/dist/lib/form-helper-text/form-helper-text.jsx +1 -1
- package/dist/lib/form-helper-text/index.d.ts +2 -2
- package/dist/lib/form-helper-text/index.js +2 -2
- package/dist/lib/form-helper-text/types.d.ts +1 -1
- package/dist/lib/form-label/form-label.d.ts +1 -1
- package/dist/lib/form-label/form-label.jsx +1 -1
- package/dist/lib/form-label/index.d.ts +1 -1
- package/dist/lib/form-label/index.js +1 -1
- package/dist/lib/grid/cell/cell.d.ts +1 -1
- package/dist/lib/grid/cell/cell.jsx +2 -2
- package/dist/lib/grid/cell/helpers.d.ts +1 -1
- package/dist/lib/grid/cell/helpers.js +1 -1
- package/dist/lib/grid/cell/index.d.ts +3 -3
- package/dist/lib/grid/cell/index.js +3 -3
- package/dist/lib/grid/cell/types.d.ts +1 -1
- package/dist/lib/grid/grid/grid.d.ts +1 -1
- package/dist/lib/grid/grid/grid.jsx +3 -3
- package/dist/lib/grid/grid/helpers.d.ts +1 -1
- package/dist/lib/grid/grid/helpers.js +1 -1
- package/dist/lib/grid/grid/index.d.ts +3 -3
- package/dist/lib/grid/grid/index.js +3 -3
- package/dist/lib/grid/grid/types.d.ts +1 -1
- package/dist/lib/grid/index.d.ts +2 -2
- package/dist/lib/grid/index.js +2 -2
- package/dist/lib/highlight-words/highlight-words.d.ts +1 -1
- package/dist/lib/highlight-words/highlight-words.jsx +1 -1
- package/dist/lib/highlight-words/index.d.ts +2 -2
- package/dist/lib/highlight-words/index.js +2 -2
- package/dist/lib/highlight-words/types.d.ts +1 -1
- package/dist/lib/icon/helpers.d.ts +1 -1
- package/dist/lib/icon/helpers.js +1 -1
- package/dist/lib/icon/icon.d.ts +1 -1
- package/dist/lib/icon/icon.jsx +3 -3
- package/dist/lib/icon/index.d.ts +3 -3
- package/dist/lib/icon/index.js +3 -3
- package/dist/lib/icon/types.d.ts +1 -1
- package/dist/lib/icon-button/helpers.d.ts +1 -1
- package/dist/lib/icon-button/helpers.js +2 -2
- package/dist/lib/icon-button/icon-button.d.ts +1 -1
- package/dist/lib/icon-button/icon-button.jsx +7 -7
- package/dist/lib/icon-button/index.d.ts +3 -3
- package/dist/lib/icon-button/index.js +3 -3
- package/dist/lib/icon-button/types.d.ts +2 -2
- package/dist/lib/image/helpers.d.ts +1 -1
- package/dist/lib/image/helpers.js +1 -1
- package/dist/lib/image/image.d.ts +1 -1
- package/dist/lib/image/image.jsx +3 -3
- package/dist/lib/image/index.d.ts +3 -3
- package/dist/lib/image/index.js +3 -3
- package/dist/lib/image/types.d.ts +1 -1
- package/dist/lib/index.d.ts +59 -59
- package/dist/lib/index.js +59 -59
- package/dist/lib/input/helpers.d.ts +1 -1
- package/dist/lib/input/helpers.js +2 -2
- package/dist/lib/input/index.d.ts +3 -3
- package/dist/lib/input/index.js +3 -3
- package/dist/lib/input/input.d.ts +1 -1
- package/dist/lib/input/input.jsx +6 -6
- package/dist/lib/input/types.d.ts +2 -2
- package/dist/lib/input-mask/helpers.d.ts +1 -1
- package/dist/lib/input-mask/helpers.js +1 -1
- package/dist/lib/input-mask/index.d.ts +1 -1
- package/dist/lib/input-mask/index.js +1 -1
- package/dist/lib/input-mask/input-mask.d.ts +1 -1
- package/dist/lib/input-mask/input-mask.jsx +5 -5
- package/dist/lib/input-mask/types.d.ts +3 -3
- package/dist/lib/input-number/index.d.ts +1 -1
- package/dist/lib/input-number/index.js +1 -1
- package/dist/lib/input-number/input-number.d.ts +1 -1
- package/dist/lib/input-number/input-number.jsx +4 -4
- package/dist/lib/input-number/types.d.ts +2 -2
- package/dist/lib/input-range/helpers.d.ts +1 -1
- package/dist/lib/input-range/helpers.js +1 -1
- package/dist/lib/input-range/index.d.ts +2 -2
- package/dist/lib/input-range/index.js +2 -2
- package/dist/lib/input-range/input-range.d.ts +1 -1
- package/dist/lib/input-range/input-range.jsx +6 -6
- package/dist/lib/input-range/types.d.ts +3 -3
- package/dist/lib/lightbox/index.d.ts +2 -2
- package/dist/lib/lightbox/index.js +2 -2
- package/dist/lib/lightbox/lightbox.d.ts +1 -1
- package/dist/lib/lightbox/lightbox.jsx +3 -3
- package/dist/lib/lightbox/types.d.ts +2 -2
- package/dist/lib/linear-progress/helpers.d.ts +1 -1
- package/dist/lib/linear-progress/helpers.js +1 -1
- package/dist/lib/linear-progress/index.d.ts +1 -1
- package/dist/lib/linear-progress/index.js +1 -1
- package/dist/lib/linear-progress/linear-progress.d.ts +1 -1
- package/dist/lib/linear-progress/linear-progress.jsx +3 -3
- package/dist/lib/linear-progress/types.d.ts +1 -1
- package/dist/lib/link/helpers.d.ts +1 -1
- package/dist/lib/link/helpers.js +1 -1
- package/dist/lib/link/index.d.ts +3 -3
- package/dist/lib/link/index.js +3 -3
- package/dist/lib/link/link.d.ts +1 -1
- package/dist/lib/link/link.jsx +5 -5
- package/dist/lib/link/types.d.ts +2 -2
- package/dist/lib/loading/block-skeleton/block-skeleton.d.ts +1 -1
- package/dist/lib/loading/block-skeleton/block-skeleton.jsx +2 -2
- package/dist/lib/loading/block-skeleton/index.d.ts +1 -1
- package/dist/lib/loading/block-skeleton/index.js +1 -1
- package/dist/lib/loading/image-skeleton/image-skeleton.d.ts +1 -1
- package/dist/lib/loading/image-skeleton/image-skeleton.jsx +2 -2
- package/dist/lib/loading/image-skeleton/index.d.ts +2 -2
- package/dist/lib/loading/image-skeleton/index.js +2 -2
- package/dist/lib/loading/image-skeleton/types.d.ts +1 -1
- package/dist/lib/loading/index.d.ts +4 -4
- package/dist/lib/loading/index.js +4 -4
- package/dist/lib/loading/loading-overlay/index.d.ts +2 -2
- package/dist/lib/loading/loading-overlay/index.js +2 -2
- package/dist/lib/loading/loading-overlay/loading-overlay.d.ts +1 -1
- package/dist/lib/loading/loading-overlay/loading-overlay.jsx +4 -4
- package/dist/lib/loading/loading-overlay/types.d.ts +1 -1
- package/dist/lib/loading/text-skeleton/index.d.ts +2 -2
- package/dist/lib/loading/text-skeleton/index.js +2 -2
- package/dist/lib/loading/text-skeleton/text-skeleton.d.ts +1 -1
- package/dist/lib/loading/text-skeleton/text-skeleton.jsx +2 -2
- package/dist/lib/loading/text-skeleton/types.d.ts +1 -1
- package/dist/lib/marquee/index.d.ts +2 -2
- package/dist/lib/marquee/index.js +2 -2
- package/dist/lib/marquee/marquee/helpers.d.ts +1 -1
- package/dist/lib/marquee/marquee/helpers.js +1 -1
- package/dist/lib/marquee/marquee/index.d.ts +3 -3
- package/dist/lib/marquee/marquee/index.js +3 -3
- package/dist/lib/marquee/marquee/marquee.d.ts +1 -1
- package/dist/lib/marquee/marquee/marquee.jsx +6 -6
- package/dist/lib/marquee/marquee/types.d.ts +2 -2
- package/dist/lib/marquee/marquee-item/index.d.ts +2 -2
- package/dist/lib/marquee/marquee-item/index.js +2 -2
- package/dist/lib/marquee/marquee-item/marquee-item.d.ts +1 -1
- package/dist/lib/menu/index.d.ts +4 -4
- package/dist/lib/menu/index.js +4 -4
- package/dist/lib/menu/menu/index.d.ts +3 -3
- package/dist/lib/menu/menu/index.js +3 -3
- package/dist/lib/menu/menu/menu.d.ts +1 -1
- package/dist/lib/menu/menu/menu.jsx +2 -2
- package/dist/lib/menu/menu/types.d.ts +1 -1
- package/dist/lib/menu/menu-item/helpers.d.ts +2 -2
- package/dist/lib/menu/menu-item/helpers.js +1 -1
- package/dist/lib/menu/menu-item/index.d.ts +2 -2
- package/dist/lib/menu/menu-item/index.js +2 -2
- package/dist/lib/menu/menu-item/menu-item.d.ts +1 -1
- package/dist/lib/menu/menu-item/menu-item.jsx +5 -5
- package/dist/lib/menu/menu-item/types.d.ts +1 -1
- package/dist/lib/menu/menu-list/index.d.ts +2 -2
- package/dist/lib/menu/menu-list/index.js +2 -2
- package/dist/lib/menu/menu-list/menu-list.d.ts +1 -1
- package/dist/lib/menu/menu-list/menu-list.jsx +3 -3
- package/dist/lib/menu/menu-list/types.d.ts +1 -1
- package/dist/lib/menu/menu-trigger/index.d.ts +2 -2
- package/dist/lib/menu/menu-trigger/index.js +2 -2
- package/dist/lib/menu/menu-trigger/menu-trigger.d.ts +1 -1
- package/dist/lib/menu/menu-trigger/menu-trigger.jsx +1 -1
- package/dist/lib/menu/menu-trigger/types.d.ts +1 -1
- package/dist/lib/multiple-select/helpers.d.ts +1 -1
- package/dist/lib/multiple-select/helpers.js +1 -1
- package/dist/lib/multiple-select/index.d.ts +3 -3
- package/dist/lib/multiple-select/index.js +3 -3
- package/dist/lib/multiple-select/multiple-select.d.ts +1 -1
- package/dist/lib/multiple-select/multiple-select.jsx +10 -10
- package/dist/lib/multiple-select/types.d.ts +3 -3
- package/dist/lib/nav-link/index.d.ts +2 -2
- package/dist/lib/nav-link/index.js +2 -2
- package/dist/lib/nav-link/nav-link.jsx +1 -1
- package/dist/lib/nav-link/types.d.ts +1 -1
- package/dist/lib/notifications/helpers.d.ts +1 -1
- package/dist/lib/notifications/helpers.js +1 -1
- package/dist/lib/notifications/index.d.ts +2 -2
- package/dist/lib/notifications/index.js +2 -2
- package/dist/lib/notifications/notifications.jsx +3 -3
- package/dist/lib/otp-input/index.d.ts +1 -1
- package/dist/lib/otp-input/index.js +1 -1
- package/dist/lib/otp-input/otp-input.d.ts +1 -1
- package/dist/lib/otp-input/otp-input.jsx +3 -3
- package/dist/lib/otp-input/types.d.ts +2 -2
- package/dist/lib/pagination/helpers.d.ts +1 -1
- package/dist/lib/pagination/helpers.js +1 -1
- package/dist/lib/pagination/index.d.ts +3 -3
- package/dist/lib/pagination/index.js +3 -3
- package/dist/lib/pagination/pagination.d.ts +1 -1
- package/dist/lib/pagination/pagination.jsx +6 -6
- package/dist/lib/pagination/types.d.ts +2 -2
- package/dist/lib/phone-input/index.d.ts +2 -2
- package/dist/lib/phone-input/index.js +2 -2
- package/dist/lib/phone-input/phone-input.d.ts +1 -1
- package/dist/lib/phone-input/phone-input.jsx +8 -8
- package/dist/lib/phone-input/types.d.ts +1 -1
- package/dist/lib/popover/index.d.ts +4 -4
- package/dist/lib/popover/index.js +4 -4
- package/dist/lib/popover/popover/helpers.d.ts +1 -1
- package/dist/lib/popover/popover/helpers.js +1 -1
- package/dist/lib/popover/popover/index.d.ts +3 -3
- package/dist/lib/popover/popover/index.js +3 -3
- package/dist/lib/popover/popover/popover.d.ts +1 -1
- package/dist/lib/popover/popover/popover.jsx +2 -2
- package/dist/lib/popover/popover/types.d.ts +1 -1
- package/dist/lib/popover/popover-close/index.d.ts +2 -2
- package/dist/lib/popover/popover-close/index.js +2 -2
- package/dist/lib/popover/popover-close/popover-close.d.ts +1 -1
- package/dist/lib/popover/popover-close/popover-close.jsx +1 -1
- package/dist/lib/popover/popover-close/types.d.ts +1 -1
- package/dist/lib/popover/popover-content/index.d.ts +2 -2
- package/dist/lib/popover/popover-content/index.js +2 -2
- package/dist/lib/popover/popover-content/popover-content.d.ts +1 -1
- package/dist/lib/popover/popover-content/popover-content.jsx +2 -2
- package/dist/lib/popover/popover-content/types.d.ts +1 -1
- package/dist/lib/popover/popover-trigger/index.d.ts +2 -2
- package/dist/lib/popover/popover-trigger/index.js +2 -2
- package/dist/lib/popover/popover-trigger/popover-trigger.d.ts +1 -1
- package/dist/lib/popover/popover-trigger/popover-trigger.jsx +1 -1
- package/dist/lib/popover/popover-trigger/types.d.ts +1 -1
- package/dist/lib/primitive/index.d.ts +2 -2
- package/dist/lib/primitive/index.js +2 -2
- package/dist/lib/primitive/primitive.d.ts +1 -1
- package/dist/lib/primitive/primitive.jsx +1 -1
- package/dist/lib/primitive/types.d.ts +1 -1
- package/dist/lib/progress/index.d.ts +2 -2
- package/dist/lib/progress/index.js +2 -2
- package/dist/lib/progress/progress.d.ts +1 -1
- package/dist/lib/progress/progress.jsx +1 -1
- package/dist/lib/progress/types.d.ts +1 -1
- package/dist/lib/radio-button/helpers.d.ts +1 -1
- package/dist/lib/radio-button/helpers.js +1 -1
- package/dist/lib/radio-button/index.d.ts +3 -3
- package/dist/lib/radio-button/index.js +3 -3
- package/dist/lib/radio-button/radio-button.d.ts +1 -1
- package/dist/lib/radio-button/radio-button.jsx +3 -3
- package/dist/lib/radio-button/types.d.ts +1 -1
- package/dist/lib/select/helpers.d.ts +1 -1
- package/dist/lib/select/helpers.js +1 -1
- package/dist/lib/select/index.d.ts +2 -2
- package/dist/lib/select/index.js +2 -2
- package/dist/lib/select/select.d.ts +1 -1
- package/dist/lib/select/select.jsx +10 -10
- package/dist/lib/select/types.d.ts +3 -3
- package/dist/lib/star-rating/index.d.ts +2 -2
- package/dist/lib/star-rating/index.js +2 -2
- package/dist/lib/star-rating/star-rating.d.ts +1 -1
- package/dist/lib/star-rating/star-rating.jsx +1 -1
- package/dist/lib/star-rating/types.d.ts +1 -1
- package/dist/lib/stepper/index.d.ts +3 -3
- package/dist/lib/stepper/index.js +3 -3
- package/dist/lib/stepper/step.d.ts +1 -1
- package/dist/lib/stepper/step.jsx +2 -2
- package/dist/lib/stepper/stepper.d.ts +1 -1
- package/dist/lib/stepper/stepper.jsx +2 -2
- package/dist/lib/stepper/types.d.ts +1 -1
- package/dist/lib/swiper/index.d.ts +3 -3
- package/dist/lib/swiper/index.js +3 -3
- package/dist/lib/swiper/swiper/helpers.d.ts +1 -1
- package/dist/lib/swiper/swiper/helpers.js +1 -1
- package/dist/lib/swiper/swiper/index.d.ts +3 -3
- package/dist/lib/swiper/swiper/index.js +3 -3
- package/dist/lib/swiper/swiper/swiper.d.ts +1 -1
- package/dist/lib/swiper/swiper/swiper.jsx +3 -3
- package/dist/lib/swiper/swiper/types.d.ts +2 -2
- package/dist/lib/swiper/swiper-dots-paging/index.d.ts +1 -1
- package/dist/lib/swiper/swiper-dots-paging/index.js +1 -1
- package/dist/lib/swiper/swiper-dots-paging/swiper-dots-paging.d.ts +1 -1
- package/dist/lib/swiper/swiper-dots-paging/swiper-dots-paging.jsx +1 -1
- package/dist/lib/swiper/swiper-dots-paging/types.d.ts +2 -2
- package/dist/lib/swiper/swiper-slide/index.d.ts +2 -2
- package/dist/lib/swiper/swiper-slide/index.js +2 -2
- package/dist/lib/swiper/swiper-slide/swiper-slide.d.ts +1 -1
- package/dist/lib/swiper/swiper-slide/swiper-slide.jsx +1 -1
- package/dist/lib/swiper/swiper-slide/types.d.ts +1 -1
- package/dist/lib/switch/index.d.ts +1 -1
- package/dist/lib/switch/index.js +1 -1
- package/dist/lib/switch/switch.d.ts +1 -1
- package/dist/lib/switch/switch.jsx +1 -1
- package/dist/lib/switch/types.d.ts +1 -1
- package/dist/lib/table/index.d.ts +8 -8
- package/dist/lib/table/index.js +8 -8
- package/dist/lib/table/table/index.d.ts +2 -2
- package/dist/lib/table/table/index.js +2 -2
- package/dist/lib/table/table/table.d.ts +1 -1
- package/dist/lib/table/table/table.jsx +1 -1
- package/dist/lib/table/table-body/index.d.ts +2 -2
- package/dist/lib/table/table-body/index.js +2 -2
- package/dist/lib/table/table-body/table-body.d.ts +1 -1
- package/dist/lib/table/table-body/table-body.jsx +1 -1
- package/dist/lib/table/table-body/types.d.ts +1 -1
- package/dist/lib/table/table-cell/index.d.ts +2 -2
- package/dist/lib/table/table-cell/index.js +2 -2
- package/dist/lib/table/table-cell/table-cell.d.ts +1 -1
- package/dist/lib/table/table-footer/index.d.ts +1 -1
- package/dist/lib/table/table-footer/index.js +1 -1
- package/dist/lib/table/table-footer/table-footer.d.ts +1 -1
- package/dist/lib/table/table-head/index.d.ts +2 -2
- package/dist/lib/table/table-head/index.js +2 -2
- package/dist/lib/table/table-head/table-head.d.ts +1 -1
- package/dist/lib/table/table-head/table-head.jsx +1 -1
- package/dist/lib/table/table-head/types.d.ts +1 -1
- package/dist/lib/table/table-row/index.d.ts +2 -2
- package/dist/lib/table/table-row/index.js +2 -2
- package/dist/lib/table/table-row/table-row.d.ts +1 -1
- package/dist/lib/tabs/index.d.ts +5 -5
- package/dist/lib/tabs/index.js +5 -5
- package/dist/lib/tabs/tab/index.d.ts +3 -3
- package/dist/lib/tabs/tab/index.js +3 -3
- package/dist/lib/tabs/tab/tab.d.ts +1 -1
- package/dist/lib/tabs/tab/tab.jsx +2 -2
- package/dist/lib/tabs/tab/types.d.ts +2 -2
- package/dist/lib/tabs/tab-content/index.d.ts +2 -2
- package/dist/lib/tabs/tab-content/index.js +2 -2
- package/dist/lib/tabs/tab-content/tab-content.jsx +2 -2
- package/dist/lib/tabs/tab-indicator/index.d.ts +2 -2
- package/dist/lib/tabs/tab-indicator/index.js +2 -2
- package/dist/lib/tabs/tab-indicator/tab-indicator.jsx +2 -2
- package/dist/lib/tabs/tab-indicator/types.d.ts +1 -1
- package/dist/lib/tabs/tab-list/helpers.d.ts +1 -1
- package/dist/lib/tabs/tab-list/helpers.js +1 -1
- package/dist/lib/tabs/tab-list/index.d.ts +3 -3
- package/dist/lib/tabs/tab-list/index.js +3 -3
- package/dist/lib/tabs/tab-list/tab-list.d.ts +1 -1
- package/dist/lib/tabs/tab-list/tab-list.jsx +6 -6
- package/dist/lib/tabs/tab-list/types.d.ts +1 -1
- package/dist/lib/tabs/tab-panel/helpers.d.ts +1 -1
- package/dist/lib/tabs/tab-panel/helpers.js +1 -1
- package/dist/lib/tabs/tab-panel/index.d.ts +3 -3
- package/dist/lib/tabs/tab-panel/index.js +3 -3
- package/dist/lib/tabs/tab-panel/tab-panel.d.ts +1 -1
- package/dist/lib/tabs/tab-panel/tab-panel.jsx +3 -3
- package/dist/lib/tabs/tab-panel/types.d.ts +1 -1
- package/dist/lib/tabs/tabs/helpers.d.ts +1 -1
- package/dist/lib/tabs/tabs/helpers.js +2 -2
- package/dist/lib/tabs/tabs/index.d.ts +3 -3
- package/dist/lib/tabs/tabs/index.js +3 -3
- package/dist/lib/tabs/tabs/tabs.d.ts +1 -1
- package/dist/lib/tabs/tabs/tabs.jsx +3 -3
- package/dist/lib/tabs/tabs/types.d.ts +4 -4
- package/dist/lib/text/helpers.d.ts +2 -2
- package/dist/lib/text/helpers.js +2 -2
- package/dist/lib/text/index.d.ts +3 -3
- package/dist/lib/text/index.js +3 -3
- package/dist/lib/text/text.d.ts +1 -1
- package/dist/lib/text/text.jsx +3 -3
- package/dist/lib/text/types.d.ts +2 -2
- package/dist/lib/textarea/helpers.d.ts +1 -1
- package/dist/lib/textarea/helpers.js +1 -1
- package/dist/lib/textarea/index.d.ts +3 -3
- package/dist/lib/textarea/index.js +3 -3
- package/dist/lib/textarea/textarea.d.ts +1 -1
- package/dist/lib/textarea/textarea.jsx +5 -5
- package/dist/lib/textarea/types.d.ts +1 -1
- package/dist/lib/time-picker/index.d.ts +2 -2
- package/dist/lib/time-picker/index.js +2 -2
- package/dist/lib/time-picker/time-picker.d.ts +1 -1
- package/dist/lib/time-picker/time-picker.jsx +7 -7
- package/dist/lib/time-picker/types.d.ts +1 -1
- package/dist/lib/tooltip/index.d.ts +2 -2
- package/dist/lib/tooltip/index.js +2 -2
- package/dist/lib/tooltip/tooltip.d.ts +1 -1
- package/dist/lib/tooltip/tooltip.jsx +2 -2
- package/dist/lib/unordered-list/index.d.ts +2 -2
- package/dist/lib/unordered-list/index.js +2 -2
- package/dist/lib/unordered-list/list-item/helpers.d.ts +1 -1
- package/dist/lib/unordered-list/list-item/helpers.js +1 -1
- package/dist/lib/unordered-list/list-item/index.d.ts +3 -3
- package/dist/lib/unordered-list/list-item/index.js +3 -3
- package/dist/lib/unordered-list/list-item/list-item.d.ts +1 -1
- package/dist/lib/unordered-list/list-item/list-item.jsx +2 -2
- package/dist/lib/unordered-list/list-item/types.d.ts +1 -1
- package/dist/lib/unordered-list/unordered-list/helpers.d.ts +1 -1
- package/dist/lib/unordered-list/unordered-list/helpers.js +1 -1
- package/dist/lib/unordered-list/unordered-list/index.d.ts +3 -3
- package/dist/lib/unordered-list/unordered-list/index.js +3 -3
- package/dist/lib/unordered-list/unordered-list/types.d.ts +1 -1
- package/dist/lib/unordered-list/unordered-list/unordered-list.d.ts +1 -1
- package/dist/lib/unordered-list/unordered-list/unordered-list.jsx +2 -2
- package/dist/lib/video/helpers.d.ts +1 -1
- package/dist/lib/video/helpers.js +1 -1
- package/dist/lib/video/index.d.ts +3 -3
- package/dist/lib/video/index.js +3 -3
- package/dist/lib/video/types.d.ts +1 -1
- package/dist/lib/video/video.d.ts +1 -1
- package/dist/lib/video/video.jsx +2 -2
- package/dist/theme/index.d.ts +4 -3
- package/dist/theme/index.js +4 -3
- package/dist/theme/provider.jsx +2 -2
- package/dist/types/index.d.ts +1 -1
- package/dist/utils/common.d.ts +1 -1
- package/dist/utils/common.js +1 -1
- package/dist/utils/index.d.ts +5 -5
- package/dist/utils/index.js +4 -4
- package/dist/utils/query-params.d.ts +1 -1
- package/dist/utils/query-params.js +1 -1
- package/package.json +2 -5
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/** @jsxImportSource @emotion/react */
|
|
2
2
|
import { forwardRef } from 'react';
|
|
3
|
-
import { Step } from './step';
|
|
4
|
-
import { Progress } from '../progress';
|
|
3
|
+
import { Step } from './step.jsx';
|
|
4
|
+
import { Progress } from '../progress/index.js';
|
|
5
5
|
const maxPercent = 100;
|
|
6
6
|
export const Stepper = forwardRef((props, ref) => {
|
|
7
7
|
const { direction = 'horizontal', className, items, activeIndex = 0, circleSize = 32, ...rest } = props;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './swiper';
|
|
2
|
-
export * from './swiper-slide';
|
|
3
|
-
export * from './swiper-dots-paging';
|
|
1
|
+
export * from './swiper/index.js';
|
|
2
|
+
export * from './swiper-slide/index.js';
|
|
3
|
+
export * from './swiper-dots-paging/index.js';
|
package/dist/lib/swiper/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './swiper';
|
|
2
|
-
export * from './swiper-slide';
|
|
3
|
-
export * from './swiper-dots-paging';
|
|
1
|
+
export * from './swiper/index.js';
|
|
2
|
+
export * from './swiper-slide/index.js';
|
|
3
|
+
export * from './swiper-dots-paging/index.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { SwiperProps } from './types';
|
|
1
|
+
import { SwiperProps } from './types.js';
|
|
2
2
|
export declare const getSwiperProps: (extended: SwiperProps) => SwiperProps;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './swiper';
|
|
2
|
-
export * from './types';
|
|
3
|
-
export * from './helpers';
|
|
1
|
+
export * from './swiper.jsx';
|
|
2
|
+
export * from './types.js';
|
|
3
|
+
export * from './helpers.js';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './swiper';
|
|
2
|
-
export * from './types';
|
|
3
|
-
export * from './helpers';
|
|
1
|
+
export * from './swiper.jsx';
|
|
2
|
+
export * from './types.js';
|
|
3
|
+
export * from './helpers.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { SwiperProps } from './types';
|
|
1
|
+
import { SwiperProps } from './types.js';
|
|
2
2
|
export declare const Swiper: ({ children, onApi, ref, ..._props }: SwiperProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
@@ -5,9 +5,9 @@ import Autoplay from 'embla-carousel-autoplay';
|
|
|
5
5
|
import useEmblaCarousel from 'embla-carousel-react';
|
|
6
6
|
import { WheelGesturesPlugin } from 'embla-carousel-wheel-gestures';
|
|
7
7
|
import { isNumber } from 'lodash-es';
|
|
8
|
-
import { getSwiperProps } from './helpers';
|
|
9
|
-
import { SwiperDotsPaging } from '../swiper-dots-paging';
|
|
10
|
-
import { mediaQuery } from '../../../theme';
|
|
8
|
+
import { getSwiperProps } from './helpers.js';
|
|
9
|
+
import { SwiperDotsPaging } from '../swiper-dots-paging/index.js';
|
|
10
|
+
import { mediaQuery } from '../../../theme/index.js';
|
|
11
11
|
const SWIPER_SLIDE_GAP_VAR_NAME = '--slice-gap';
|
|
12
12
|
const SWIPER_SLIDE_GAP_VAR = `var(${SWIPER_SLIDE_GAP_VAR_NAME}, 0px)`;
|
|
13
13
|
export const Swiper = ({ children, onApi, ref, ..._props }) => {
|
|
@@ -2,8 +2,8 @@ import { JSX } from 'react';
|
|
|
2
2
|
import { AutoplayOptionsType } from 'embla-carousel-autoplay';
|
|
3
3
|
import useEmblaCarousel, { UseEmblaCarouselType } from 'embla-carousel-react';
|
|
4
4
|
export type SwiperOptions = Parameters<typeof useEmblaCarousel>[0];
|
|
5
|
-
import { SwiperDotsPagingProps } from '../swiper-dots-paging/types';
|
|
6
|
-
import { PropsWithCSS, ResponsiveDesign, ShallowMerge } from '../../../types';
|
|
5
|
+
import { SwiperDotsPagingProps } from '../swiper-dots-paging/types.js';
|
|
6
|
+
import { PropsWithCSS, ResponsiveDesign, ShallowMerge } from '../../../types/index.js';
|
|
7
7
|
export type SwiperApi = UseEmblaCarouselType[1];
|
|
8
8
|
export interface SwiperResponsiveProps extends PropsWithCSS {
|
|
9
9
|
slidesPerView?: number | 'auto';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './swiper-dots-paging';
|
|
1
|
+
export * from './swiper-dots-paging.jsx';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './swiper-dots-paging';
|
|
1
|
+
export * from './swiper-dots-paging.jsx';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { SwiperDotsPagingProps } from './types';
|
|
1
|
+
import { SwiperDotsPagingProps } from './types.js';
|
|
2
2
|
export declare const SwiperDotsPaging: ({ api, size, spaceBetween, colorVariant, }: SwiperDotsPagingProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { useEffect, useState } from 'react';
|
|
3
3
|
import { times } from 'lodash-es';
|
|
4
4
|
import { motion } from 'motion/react';
|
|
5
|
-
import { getColorShadesByVariant } from '../../../utils';
|
|
5
|
+
import { getColorShadesByVariant } from '../../../utils/index.js';
|
|
6
6
|
export const SwiperDotsPaging = ({ api, size = 12, spaceBetween = 4, colorVariant = 'primary', }) => {
|
|
7
7
|
const [inViewIndexes, setInViewIndexes] = useState(api?.slidesInView() ?? []);
|
|
8
8
|
const [totalSlides, setTotalSlides] = useState(api?.slideNodes().length ?? 0);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { SwiperApi } from '../swiper/types';
|
|
2
|
-
import { ColorVariant } from '../../../types';
|
|
1
|
+
import { SwiperApi } from '../swiper/types.js';
|
|
2
|
+
import { ColorVariant } from '../../../types/index.js';
|
|
3
3
|
export type SwiperDotsPagingProps = {
|
|
4
4
|
api?: SwiperApi;
|
|
5
5
|
size?: number;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './swiper-slide';
|
|
2
|
-
export * from './types';
|
|
1
|
+
export * from './swiper-slide.jsx';
|
|
2
|
+
export * from './types.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './swiper-slide';
|
|
2
|
-
export * from './types';
|
|
1
|
+
export * from './swiper-slide.jsx';
|
|
2
|
+
export * from './types.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { SwiperSlideProps } from './types';
|
|
1
|
+
import { SwiperSlideProps } from './types.js';
|
|
2
2
|
export declare const SwiperSlide: ({ xs, sm, md, lg, ...props }: SwiperSlideProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { JSX } from 'react';
|
|
2
|
-
import { PropsWithCSS, ResponsiveDesign, ShallowMerge } from '../../../types';
|
|
2
|
+
import { PropsWithCSS, ResponsiveDesign, ShallowMerge } from '../../../types/index.js';
|
|
3
3
|
interface SwiperSlideExtendedProps extends ResponsiveDesign<PropsWithCSS> {
|
|
4
4
|
}
|
|
5
5
|
export type SwiperSlideProps = ShallowMerge<JSX.IntrinsicElements['div'], SwiperSlideExtendedProps>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './switch';
|
|
1
|
+
export * from './switch.jsx';
|
package/dist/lib/switch/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './switch';
|
|
1
|
+
export * from './switch.jsx';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { SwitchProps } from './types';
|
|
1
|
+
import { SwitchProps } from './types.js';
|
|
2
2
|
export declare const Switch: ({ children, className, ref, ...props }: SwitchProps) => import("react").JSX.Element;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useRef } from 'react';
|
|
2
2
|
import { useMergeRefs } from '@floating-ui/react';
|
|
3
3
|
import classes from './switch.module.scss';
|
|
4
|
-
import { cn } from '../../utils';
|
|
4
|
+
import { cn } from '../../utils/index.js';
|
|
5
5
|
export const Switch = ({ children, className, ref, ...props }) => {
|
|
6
6
|
const inputRef = useRef(null);
|
|
7
7
|
const mergedRefs = useMergeRefs([ref, inputRef]);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export * from './table';
|
|
2
|
-
export * from './table-body';
|
|
3
|
-
export * from './table-head';
|
|
4
|
-
export * from './table-head';
|
|
5
|
-
export * from './table-body';
|
|
6
|
-
export * from './table-row';
|
|
7
|
-
export * from './table-cell';
|
|
8
|
-
export * from './table-footer';
|
|
1
|
+
export * from './table/index.js';
|
|
2
|
+
export * from './table-body/index.js';
|
|
3
|
+
export * from './table-head/index.js';
|
|
4
|
+
export * from './table-head/index.js';
|
|
5
|
+
export * from './table-body/index.js';
|
|
6
|
+
export * from './table-row/index.js';
|
|
7
|
+
export * from './table-cell/index.js';
|
|
8
|
+
export * from './table-footer/index.js';
|
package/dist/lib/table/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export * from './table';
|
|
2
|
-
export * from './table-body';
|
|
3
|
-
export * from './table-head';
|
|
4
|
-
export * from './table-head';
|
|
5
|
-
export * from './table-body';
|
|
6
|
-
export * from './table-row';
|
|
7
|
-
export * from './table-cell';
|
|
8
|
-
export * from './table-footer';
|
|
1
|
+
export * from './table/index.js';
|
|
2
|
+
export * from './table-body/index.js';
|
|
3
|
+
export * from './table-head/index.js';
|
|
4
|
+
export * from './table-head/index.js';
|
|
5
|
+
export * from './table-body/index.js';
|
|
6
|
+
export * from './table-row/index.js';
|
|
7
|
+
export * from './table-cell/index.js';
|
|
8
|
+
export * from './table-footer/index.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './table';
|
|
2
|
-
export * from './types';
|
|
1
|
+
export * from './table.jsx';
|
|
2
|
+
export * from './types.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './table';
|
|
2
|
-
export * from './types';
|
|
1
|
+
export * from './table.jsx';
|
|
2
|
+
export * from './types.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './table-body';
|
|
2
|
-
export * from './types';
|
|
1
|
+
export * from './table-body.jsx';
|
|
2
|
+
export * from './types.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './table-body';
|
|
2
|
-
export * from './types';
|
|
1
|
+
export * from './table-body.jsx';
|
|
2
|
+
export * from './types.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { TableBodyProps } from './types';
|
|
1
|
+
import { TableBodyProps } from './types.js';
|
|
2
2
|
export declare const TableBody: ({ xs, sm, md, lg, children, ref, ...props }: TableBodyProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/** @jsxImportSource @emotion/react */
|
|
2
|
-
import { getColorVar, mediaQuery } from '../../../theme';
|
|
2
|
+
import { getColorVar, mediaQuery } from '../../../theme/index.js';
|
|
3
3
|
export const TableBody = ({ xs, sm, md, lg, children, ref, ...props }) => {
|
|
4
4
|
return (<tbody css={[
|
|
5
5
|
{
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { ShallowMerge, ResponsiveDesign, PropsWithCSS } from '../../../types';
|
|
1
|
+
import { ShallowMerge, ResponsiveDesign, PropsWithCSS } from '../../../types/index.js';
|
|
2
2
|
import { JSX } from 'react';
|
|
3
3
|
export type TableBodyProps = ShallowMerge<JSX.IntrinsicElements['tbody'], ResponsiveDesign<PropsWithCSS>>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './table-cell';
|
|
2
|
-
export * from './types';
|
|
1
|
+
export * from './table-cell.jsx';
|
|
2
|
+
export * from './types.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './table-cell';
|
|
2
|
-
export * from './types';
|
|
1
|
+
export * from './table-cell.jsx';
|
|
2
|
+
export * from './types.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './table-footer';
|
|
1
|
+
export * from './table-footer.jsx';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './table-footer';
|
|
1
|
+
export * from './table-footer.jsx';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { TableFooterProps } from './types';
|
|
1
|
+
import { TableFooterProps } from './types.js';
|
|
2
2
|
export declare const TableFooter: ({ children, ...props }: TableFooterProps) => import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './table-head';
|
|
2
|
-
export * from './types';
|
|
1
|
+
export * from './table-head.jsx';
|
|
2
|
+
export * from './types.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './table-head';
|
|
2
|
-
export * from './types';
|
|
1
|
+
export * from './table-head.jsx';
|
|
2
|
+
export * from './types.js';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { ShallowMerge, ResponsiveDesign, PropsWithCSS } from '../../../types';
|
|
1
|
+
import { ShallowMerge, ResponsiveDesign, PropsWithCSS } from '../../../types/index.js';
|
|
2
2
|
import { JSX } from 'react';
|
|
3
3
|
export type TableHeadProps = ShallowMerge<JSX.IntrinsicElements['thead'], ResponsiveDesign<PropsWithCSS>>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './table-row';
|
|
2
|
-
export * from './types';
|
|
1
|
+
export * from './table-row.jsx';
|
|
2
|
+
export * from './types.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './table-row';
|
|
2
|
-
export * from './types';
|
|
1
|
+
export * from './table-row.jsx';
|
|
2
|
+
export * from './types.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { TableRowProps } from './types';
|
|
1
|
+
import { TableRowProps } from './types.js';
|
|
2
2
|
export declare const TableRow: ({ children, ...props }: TableRowProps) => import("react").JSX.Element;
|
package/dist/lib/tabs/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * from './tabs';
|
|
2
|
-
export * from './tab-list';
|
|
3
|
-
export * from './tab';
|
|
4
|
-
export * from './tab-content';
|
|
5
|
-
export * from './tab-panel';
|
|
1
|
+
export * from './tabs/index.js';
|
|
2
|
+
export * from './tab-list/index.js';
|
|
3
|
+
export * from './tab/index.js';
|
|
4
|
+
export * from './tab-content/index.js';
|
|
5
|
+
export * from './tab-panel/index.js';
|
package/dist/lib/tabs/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * from './tabs';
|
|
2
|
-
export * from './tab-list';
|
|
3
|
-
export * from './tab';
|
|
4
|
-
export * from './tab-content';
|
|
5
|
-
export * from './tab-panel';
|
|
1
|
+
export * from './tabs/index.js';
|
|
2
|
+
export * from './tab-list/index.js';
|
|
3
|
+
export * from './tab/index.js';
|
|
4
|
+
export * from './tab-content/index.js';
|
|
5
|
+
export * from './tab-panel/index.js';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './tab';
|
|
2
|
-
export * from './types';
|
|
3
|
-
export * from './helpers';
|
|
1
|
+
export * from './tab.jsx';
|
|
2
|
+
export * from './types.js';
|
|
3
|
+
export * from './helpers.js';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './tab';
|
|
2
|
-
export * from './types';
|
|
3
|
-
export * from './helpers';
|
|
1
|
+
export * from './tab.jsx';
|
|
2
|
+
export * from './types.js';
|
|
3
|
+
export * from './helpers.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { TabProps } from './types';
|
|
1
|
+
import { TabProps } from './types.js';
|
|
2
2
|
export declare const Tab: ({ children, ref, ..._props }: TabProps) => import("react").JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Button, useTabIndexContext, useTabsContext } from '
|
|
2
|
-
import { mergeComponentProps } from '../../../utils';
|
|
1
|
+
import { Button, useTabIndexContext, useTabsContext } from '../../../index.js';
|
|
2
|
+
import { mergeComponentProps } from '../../../utils/index.js';
|
|
3
3
|
export const Tab = ({ children, ref, ..._props }) => {
|
|
4
4
|
const { focusTab, activeIndex, tabProps: defaultTabProps = {}, preventActiveTabChange } = useTabsContext();
|
|
5
5
|
const { color, states, ...rest } = mergeComponentProps(defaultTabProps, _props);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ButtonProps, ButtonSizeVariant } from '../../button';
|
|
2
|
-
import { ResponsiveDesign, ShallowMerge } from '../../../types';
|
|
1
|
+
import { ButtonProps, ButtonSizeVariant } from '../../button/index.js';
|
|
2
|
+
import { ResponsiveDesign, ShallowMerge } from '../../../types/index.js';
|
|
3
3
|
export type TabState = 'active';
|
|
4
4
|
export interface TabResponsiveProps {
|
|
5
5
|
size?: ButtonSizeVariant;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './tab-content';
|
|
2
|
-
export * from './types';
|
|
1
|
+
export * from './tab-content.jsx';
|
|
2
|
+
export * from './types.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './tab-content';
|
|
2
|
-
export * from './types';
|
|
1
|
+
export * from './tab-content.jsx';
|
|
2
|
+
export * from './types.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/** @jsxImportSource @emotion/react */
|
|
2
2
|
import { forwardRef } from 'react';
|
|
3
|
-
import { useTabsContext } from '../tabs';
|
|
4
|
-
import { flattenChildren } from '../../../utils';
|
|
3
|
+
import { useTabsContext } from '../tabs/index.js';
|
|
4
|
+
import { flattenChildren } from '../../../utils/index.js';
|
|
5
5
|
export const TabContent = forwardRef(({ children, ...rest }, ref) => {
|
|
6
6
|
const { activeIndex } = useTabsContext();
|
|
7
7
|
const flattenedChildren = flattenChildren(children);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './tab-indicator';
|
|
2
|
-
export * from './types';
|
|
1
|
+
export * from './tab-indicator.jsx';
|
|
2
|
+
export * from './types.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './tab-indicator';
|
|
2
|
-
export * from './types';
|
|
1
|
+
export * from './tab-indicator.jsx';
|
|
2
|
+
export * from './types.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/** @jsxImportSource @emotion/react */
|
|
2
2
|
import { useEffect, useRef, useState } from 'react';
|
|
3
3
|
import { motion } from 'motion/react';
|
|
4
|
-
import { useTabsContext } from '../tabs';
|
|
5
|
-
import { mediaQuery } from '../../../theme';
|
|
4
|
+
import { useTabsContext } from '../tabs/index.js';
|
|
5
|
+
import { mediaQuery } from '../../../theme/index.js';
|
|
6
6
|
export const TabIndicator = () => {
|
|
7
7
|
const { activeIndex, tabIndicatorProps } = useTabsContext();
|
|
8
8
|
const indicatorEl = useRef(null);
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { PropsWithCSS, ResponsiveDesign } from "../../../types";
|
|
1
|
+
import { PropsWithCSS, ResponsiveDesign } from "../../../types/index.js";
|
|
2
2
|
export type TabIndicatorResponsiveProps = PropsWithCSS;
|
|
3
3
|
export type TabIndicatorProps = ResponsiveDesign<TabIndicatorResponsiveProps>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { TabListProps } from './types';
|
|
1
|
+
import { TabListProps } from './types.js';
|
|
2
2
|
export declare const getTabListProps: (extended: TabListProps) => TabListProps;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './tab-list';
|
|
2
|
-
export * from './types';
|
|
3
|
-
export * from './helpers';
|
|
1
|
+
export * from './tab-list.jsx';
|
|
2
|
+
export * from './types.js';
|
|
3
|
+
export * from './helpers.js';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './tab-list';
|
|
2
|
-
export * from './types';
|
|
3
|
-
export * from './helpers';
|
|
1
|
+
export * from './tab-list.jsx';
|
|
2
|
+
export * from './types.js';
|
|
3
|
+
export * from './helpers.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { TabListProps } from './types';
|
|
1
|
+
import { TabListProps } from './types.js';
|
|
2
2
|
export declare const TabList: ({ ref, children, ..._props }: TabListProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { getTabListProps } from './helpers';
|
|
2
|
-
import { TabIndexContext } from '../tab/helpers';
|
|
3
|
-
import { TabIndicator } from '../tab-indicator';
|
|
4
|
-
import { mediaQuery } from '../../../theme';
|
|
5
|
-
import { flattenChildren } from '../../../utils';
|
|
6
|
-
import { scrollbarNoneStyle } from '../../../constants/emotion';
|
|
1
|
+
import { getTabListProps } from './helpers.js';
|
|
2
|
+
import { TabIndexContext } from '../tab/helpers.js';
|
|
3
|
+
import { TabIndicator } from '../tab-indicator/index.js';
|
|
4
|
+
import { mediaQuery } from '../../../theme/index.js';
|
|
5
|
+
import { flattenChildren } from '../../../utils/index.js';
|
|
6
|
+
import { scrollbarNoneStyle } from '../../../constants/emotion.js';
|
|
7
7
|
export const TabList = ({ ref, children, ..._props }) => {
|
|
8
8
|
const { xs, sm, md, lg, ...props } = getTabListProps(_props);
|
|
9
9
|
const css = [
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { JSX } from 'react';
|
|
2
|
-
import { PropsWithCSS, ResponsiveDesign } from '../../../types';
|
|
2
|
+
import { PropsWithCSS, ResponsiveDesign } from '../../../types/index.js';
|
|
3
3
|
type TabListHTMLProps = Omit<JSX.IntrinsicElements['div'], 'is'>;
|
|
4
4
|
export interface TabListExtendedProps extends ResponsiveDesign<PropsWithCSS> {
|
|
5
5
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { TabPanelProps } from './types';
|
|
1
|
+
import { TabPanelProps } from './types.js';
|
|
2
2
|
export declare const getTabPanelProps: (extended: TabPanelProps) => TabPanelProps;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './tab-panel';
|
|
2
|
-
export * from './helpers';
|
|
3
|
-
export * from './types';
|
|
1
|
+
export * from './tab-panel.jsx';
|
|
2
|
+
export * from './helpers.js';
|
|
3
|
+
export * from './types.js';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './tab-panel';
|
|
2
|
-
export * from './helpers';
|
|
3
|
-
export * from './types';
|
|
1
|
+
export * from './tab-panel.jsx';
|
|
2
|
+
export * from './helpers.js';
|
|
3
|
+
export * from './types.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { TabPanelProps } from './types';
|
|
1
|
+
import { TabPanelProps } from './types.js';
|
|
2
2
|
export declare const TabPanel: ({ children, ref, ..._props }: TabPanelProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|