@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,6 +1,6 @@
|
|
|
1
|
-
import { useTabsContext } from '../tabs';
|
|
2
|
-
import { mediaQuery } from '../../../theme';
|
|
3
|
-
import { mergeComponentProps } from '../../../utils';
|
|
1
|
+
import { useTabsContext } from '../tabs/index.js';
|
|
2
|
+
import { mediaQuery } from '../../../theme/index.js';
|
|
3
|
+
import { mergeComponentProps } from '../../../utils/index.js';
|
|
4
4
|
export const TabPanel = ({ children, ref, ..._props }) => {
|
|
5
5
|
const { tabPanelProps: defaultTabPanelProps = {} } = useTabsContext();
|
|
6
6
|
const { xs, sm, md, lg, ...props } = mergeComponentProps(defaultTabPanelProps, _props);
|
|
@@ -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 TabPanelExtendedProps extends ResponsiveDesign<PropsWithCSS> {
|
|
4
4
|
}
|
|
5
5
|
export type TabPanelProps = ShallowMerge<JSX.IntrinsicElements['div'], TabPanelExtendedProps>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createContext, useContext } from 'react';
|
|
2
|
-
import { getColorVar } from '../../../theme';
|
|
3
|
-
import { mergeComponentProps } from '../../../utils';
|
|
2
|
+
import { getColorVar } from '../../../theme/index.js';
|
|
3
|
+
import { mergeComponentProps } from '../../../utils/index.js';
|
|
4
4
|
const defaultProps = {
|
|
5
5
|
tabProps: {
|
|
6
6
|
color: 'neutral',
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './tabs';
|
|
2
|
-
export * from './types';
|
|
3
|
-
export * from './helpers';
|
|
1
|
+
export * from './tabs.jsx';
|
|
2
|
+
export * from './types.js';
|
|
3
|
+
export * from './helpers.js';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './tabs';
|
|
2
|
-
export * from './types';
|
|
3
|
-
export * from './helpers';
|
|
1
|
+
export * from './tabs.jsx';
|
|
2
|
+
export * from './types.js';
|
|
3
|
+
export * from './helpers.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { TabsProps } from './types';
|
|
1
|
+
import { TabsProps } from './types.js';
|
|
2
2
|
export declare const Tabs: import("react").ForwardRefExoticComponent<Omit<TabsProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/** @jsxImportSource @emotion/react */
|
|
2
2
|
import { forwardRef, useMemo, useRef } from 'react';
|
|
3
|
-
import { TabsContext, getTabsProps } from './helpers';
|
|
4
|
-
import { useControllableState } from '../../../hooks';
|
|
5
|
-
import { mediaQuery } from '../../../theme';
|
|
3
|
+
import { TabsContext, getTabsProps } from './helpers.js';
|
|
4
|
+
import { useControllableState } from '../../../hooks/index.js';
|
|
5
|
+
import { mediaQuery } from '../../../theme/index.js';
|
|
6
6
|
export const Tabs = forwardRef((_props, ref) => {
|
|
7
7
|
const { defaultActiveIndex, xs, sm, md, lg, activeIndex, children, onTabChange, tabProps, tabIndicatorProps, tabPanelProps, preventActiveTabChange = true, ...rest } = getTabsProps(_props);
|
|
8
8
|
const [activeTabIndex, setActiveTabIndex] = useControllableState({
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { JSX } from "react";
|
|
2
|
-
import { TabProps } from "../tab";
|
|
3
|
-
import { TabIndicatorProps } from "../tab-indicator";
|
|
4
|
-
import { TabPanelProps } from "../tab-panel";
|
|
5
|
-
import { PropsWithCSS, ResponsiveDesign, ShallowMerge } from "../../../types";
|
|
2
|
+
import { TabProps } from "../tab/index.js";
|
|
3
|
+
import { TabIndicatorProps } from "../tab-indicator/index.js";
|
|
4
|
+
import { TabPanelProps } from "../tab-panel/index.js";
|
|
5
|
+
import { PropsWithCSS, ResponsiveDesign, ShallowMerge } from "../../../types/index.js";
|
|
6
6
|
export type TabsResponsiveProps = PropsWithCSS;
|
|
7
7
|
export interface TabsExtendedProps extends ResponsiveDesign<TabsResponsiveProps> {
|
|
8
8
|
activeIndex?: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { TextProps, TextVariant } from './types';
|
|
2
|
-
import { Screen } from '../../theme';
|
|
1
|
+
import { TextProps, TextVariant } from './types.js';
|
|
2
|
+
import { Screen } from '../../theme/index.js';
|
|
3
3
|
import { CSSObject } from '@emotion/react';
|
|
4
4
|
export declare const getTextCssByVariant: (variant?: TextVariant) => Partial<Record<Screen, CSSObject>>;
|
|
5
5
|
export declare const getTextProps: (extended: TextProps) => TextProps;
|
package/dist/lib/text/helpers.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { getTypographyVar } from '../../theme';
|
|
2
|
-
import { mergeComponentProps } from '../../utils';
|
|
1
|
+
import { getTypographyVar } from '../../theme/index.js';
|
|
2
|
+
import { mergeComponentProps } from '../../utils/index.js';
|
|
3
3
|
export const getTextCssByVariant = (variant) => {
|
|
4
4
|
switch (variant) {
|
|
5
5
|
case 'heading-1':
|
package/dist/lib/text/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './text';
|
|
2
|
-
export * from './types';
|
|
3
|
-
export * from './helpers';
|
|
1
|
+
export * from './text.jsx';
|
|
2
|
+
export * from './types.js';
|
|
3
|
+
export * from './helpers.js';
|
package/dist/lib/text/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './text';
|
|
2
|
-
export * from './types';
|
|
3
|
-
export * from './helpers';
|
|
1
|
+
export * from './text.jsx';
|
|
2
|
+
export * from './types.js';
|
|
3
|
+
export * from './helpers.js';
|
package/dist/lib/text/text.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { TextProps } from './types';
|
|
1
|
+
import { TextProps } from './types.js';
|
|
2
2
|
export declare const Text: ({ children, ref, ..._props }: TextProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
package/dist/lib/text/text.jsx
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { isNil } from 'lodash-es';
|
|
2
|
-
import { getTextProps } from './helpers';
|
|
3
|
-
import { getTypographyVar, mediaQuery } from '../../theme';
|
|
4
|
-
import { Primitive } from '../primitive';
|
|
2
|
+
import { getTextProps } from './helpers.js';
|
|
3
|
+
import { getTypographyVar, mediaQuery } from '../../theme/index.js';
|
|
4
|
+
import { Primitive } from '../primitive/index.js';
|
|
5
5
|
export const Text = ({ children, ref, ..._props }) => {
|
|
6
6
|
const { xs, sm, md, lg, element = 'p', dangerouslySetInnerHTML, ...rest } = getTextProps(_props);
|
|
7
7
|
const css = [
|
package/dist/lib/text/types.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HTMLAttributes, HTMLElementType, Ref } from 'react';
|
|
2
|
-
import { TypographySizeVariant } from '../../theme';
|
|
3
|
-
import { PropsWithCSS, ResponsiveDesign, ShallowMerge } from '../../types';
|
|
2
|
+
import { TypographySizeVariant } from '../../theme/index.js';
|
|
3
|
+
import { PropsWithCSS, ResponsiveDesign, ShallowMerge } from '../../types/index.js';
|
|
4
4
|
export type TextVariant = 'extra-small' | 'small' | 'base' | 'large' | 'heading-6' | 'heading-5' | 'heading-4' | 'heading-3' | 'heading-2' | 'heading-1';
|
|
5
5
|
export interface TextResponsiveProps extends PropsWithCSS {
|
|
6
6
|
sizeVariant?: TypographySizeVariant;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { TextareaProps } from './types';
|
|
1
|
+
import { TextareaProps } from './types.js';
|
|
2
2
|
export declare const getTextareaProps: (extended: TextareaProps) => TextareaProps;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './textarea';
|
|
2
|
-
export * from './types';
|
|
3
|
-
export * from './helpers';
|
|
1
|
+
export * from './textarea.jsx';
|
|
2
|
+
export * from './types.js';
|
|
3
|
+
export * from './helpers.js';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './textarea';
|
|
2
|
-
export * from './types';
|
|
3
|
-
export * from './helpers';
|
|
1
|
+
export * from './textarea.jsx';
|
|
2
|
+
export * from './types.js';
|
|
3
|
+
export * from './helpers.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { TextareaProps } from './types';
|
|
1
|
+
import { TextareaProps } from './types.js';
|
|
2
2
|
export declare const Textarea: ({ ref, ..._props }: TextareaProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
import { useRef, useState } from 'react';
|
|
3
3
|
import { useMergeRefs } from '@floating-ui/react';
|
|
4
4
|
import { isString } from 'lodash-es';
|
|
5
|
-
import { getTextareaProps } from './helpers';
|
|
5
|
+
import { getTextareaProps } from './helpers.js';
|
|
6
6
|
import classes from './textarea.module.scss';
|
|
7
|
-
import { getSizeVariantState } from '../../utils';
|
|
8
|
-
import { FormHelperText } from '../form-helper-text';
|
|
9
|
-
import { cn } from '../../utils';
|
|
10
|
-
import { getTypographyVar, mediaQuery } from '../../theme';
|
|
7
|
+
import { getSizeVariantState } from '../../utils/index.js';
|
|
8
|
+
import { FormHelperText } from '../form-helper-text/index.js';
|
|
9
|
+
import { cn } from '../../utils/index.js';
|
|
10
|
+
import { getTypographyVar, mediaQuery } from '../../theme/index.js';
|
|
11
11
|
export const Textarea = ({ ref, ..._props }) => {
|
|
12
12
|
const { xs, sm, md, lg, containerProps, className, helperText, error, onChange: onChangeProp, debounce = 0, mode = 'onChange', value, ...rest } = getTextareaProps(_props);
|
|
13
13
|
const textareaRef = useRef(null);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HTMLAttributes, JSX } from 'react';
|
|
2
|
-
import { PropsWithCSS, SizeVariant, ResponsiveDesign, ShallowMerge } from '../../types';
|
|
2
|
+
import { PropsWithCSS, SizeVariant, ResponsiveDesign, ShallowMerge } from '../../types/index.js';
|
|
3
3
|
export interface TextareaResponsiveProps extends PropsWithCSS {
|
|
4
4
|
size?: SizeVariant;
|
|
5
5
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './time-picker';
|
|
2
|
-
export * from './types';
|
|
1
|
+
export * from './time-picker.jsx';
|
|
2
|
+
export * from './types.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './time-picker';
|
|
2
|
-
export * from './types';
|
|
1
|
+
export * from './time-picker.jsx';
|
|
2
|
+
export * from './types.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { TimePickerProps } from './types';
|
|
1
|
+
import { TimePickerProps } from './types.js';
|
|
2
2
|
export declare const TimePicker: ({ placeholder, onChange, defaultValue, value, clearable, onClear, containerProps, placement, open, onOpenChange, disabled, ...rest }: TimePickerProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
import { useCallback, useRef, useState } from 'react';
|
|
3
3
|
import dayjs from 'dayjs';
|
|
4
4
|
import { isNil, uniqueId } from 'lodash-es';
|
|
5
|
-
import { useWindowScreen } from '../../hooks';
|
|
6
|
-
import { getResponsiveProp, getSizeVariantState } from '../../utils';
|
|
7
|
-
import { Floating, FloatingContent, FloatingTrigger } from '../floating';
|
|
8
|
-
import { Icon } from '../icon';
|
|
9
|
-
import { VirtualizedList } from '../../components';
|
|
10
|
-
import { useControllableState } from '../../hooks';
|
|
5
|
+
import { useWindowScreen } from '../../hooks/index.js';
|
|
6
|
+
import { getResponsiveProp, getSizeVariantState } from '../../utils/index.js';
|
|
7
|
+
import { Floating, FloatingContent, FloatingTrigger } from '../floating/index.js';
|
|
8
|
+
import { Icon } from '../icon/index.js';
|
|
9
|
+
import { VirtualizedList } from '../../components/index.js';
|
|
10
|
+
import { useControllableState } from '../../hooks/index.js';
|
|
11
11
|
import CloseIcon from '@/assets/svg/times-close-delete.svg?raw';
|
|
12
12
|
import ClockIcon from '@/assets/svg/clock-time.svg?raw';
|
|
13
|
-
import { mediaQuery, getTypographyVar } from '../../theme';
|
|
13
|
+
import { mediaQuery, getTypographyVar } from '../../theme/index.js';
|
|
14
14
|
const TIME_FORMAT = 'HH:mm';
|
|
15
15
|
// const ITEM_SIZE = 28;
|
|
16
16
|
// const DISPLAY_ITEMS = 5;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { JSX } from 'react';
|
|
2
2
|
import { Placement, UseFloatingOptions } from '@floating-ui/react';
|
|
3
|
-
import { PropsWithCSS, ResponsiveDesign, SizeVariant } from '../../types';
|
|
3
|
+
import { PropsWithCSS, ResponsiveDesign, SizeVariant } from '../../types/index.js';
|
|
4
4
|
export interface TimeResponsiveProps extends PropsWithCSS {
|
|
5
5
|
size?: Exclude<SizeVariant, 'lg'>;
|
|
6
6
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './tooltip';
|
|
2
|
-
export * from './types';
|
|
1
|
+
export * from './tooltip.jsx';
|
|
2
|
+
export * from './types.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './tooltip';
|
|
2
|
-
export * from './types';
|
|
1
|
+
export * from './tooltip.jsx';
|
|
2
|
+
export * from './types.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/** @jsxImportSource @emotion/react */
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
|
-
import { TooltipOptions } from './types';
|
|
3
|
+
import { TooltipOptions } from './types.js';
|
|
4
4
|
export declare function Tooltip({ children, defaultOpen, placement, open, onOpenChange, content, contentWidth, enable, handleClose, arrowProps, }: {
|
|
5
5
|
children: ReactNode;
|
|
6
6
|
} & TooltipOptions): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import { cloneElement, useRef } from 'react';
|
|
3
3
|
import { useFloating, autoUpdate, offset, flip, shift, useHover, useFocus, useDismiss, useRole, useInteractions, useMergeRefs, arrow, FloatingArrow, size as floatingSize, safePolygon, FloatingPortal, } from '@floating-ui/react';
|
|
4
4
|
import { get, isUndefined } from 'lodash-es';
|
|
5
|
-
import { useControllableState } from '../../hooks';
|
|
6
|
-
import { getTypographyVar } from '../../theme';
|
|
5
|
+
import { useControllableState } from '../../hooks/index.js';
|
|
6
|
+
import { getTypographyVar } from '../../theme/index.js';
|
|
7
7
|
export function Tooltip({ children, defaultOpen = false, placement = 'top', open, onOpenChange, content, contentWidth, enable = true, handleClose, arrowProps, }) {
|
|
8
8
|
const [visible, setVisible] = useControllableState({
|
|
9
9
|
defaultValue: defaultOpen,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './unordered-list';
|
|
2
|
-
export * from './list-item';
|
|
1
|
+
export * from './unordered-list/index.js';
|
|
2
|
+
export * from './list-item/index.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './unordered-list';
|
|
2
|
-
export * from './list-item';
|
|
1
|
+
export * from './unordered-list/index.js';
|
|
2
|
+
export * from './list-item/index.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ListItemProps } from './types';
|
|
1
|
+
import { ListItemProps } from './types.js';
|
|
2
2
|
export declare const getListItemProps: (extended: ListItemProps) => ListItemProps;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './list-item';
|
|
2
|
-
export * from './types';
|
|
3
|
-
export * from './helpers';
|
|
1
|
+
export * from './list-item.jsx';
|
|
2
|
+
export * from './types.js';
|
|
3
|
+
export * from './helpers.js';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './list-item';
|
|
2
|
-
export * from './types';
|
|
3
|
-
export * from './helpers';
|
|
1
|
+
export * from './list-item.jsx';
|
|
2
|
+
export * from './types.js';
|
|
3
|
+
export * from './helpers.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ListItemProps } from './types';
|
|
1
|
+
import { ListItemProps } from './types.js';
|
|
2
2
|
export declare const ListItem: import("react").ForwardRefExoticComponent<Omit<ListItemProps, "ref"> & import("react").RefAttributes<HTMLLIElement>>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/** @jsxImportSource @emotion/react */
|
|
2
2
|
import { forwardRef } from 'react';
|
|
3
3
|
import { isNil } from 'lodash-es';
|
|
4
|
-
import { getListItemProps } from './helpers';
|
|
5
|
-
import { mediaQuery } from '../../../theme';
|
|
4
|
+
import { getListItemProps } from './helpers.js';
|
|
5
|
+
import { mediaQuery } from '../../../theme/index.js';
|
|
6
6
|
export const ListItem = forwardRef((_props, ref) => {
|
|
7
7
|
const { xs, sm, md, children, dangerouslySetInnerHTML, ...rest } = getListItemProps(_props);
|
|
8
8
|
const css = [
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { JSX } from "react";
|
|
2
|
-
import { PropsWithCSS, ResponsiveDesign } from "../../../types";
|
|
2
|
+
import { PropsWithCSS, ResponsiveDesign } from "../../../types/index.js";
|
|
3
3
|
export type ListItemResponsiveProps = PropsWithCSS;
|
|
4
4
|
export type ListItemProps = JSX.IntrinsicElements["li"] & ResponsiveDesign<ListItemResponsiveProps>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { UnorderedListProps } from './types';
|
|
1
|
+
import { UnorderedListProps } from './types.js';
|
|
2
2
|
export declare const getUnorderedListProps: (extended: UnorderedListProps) => UnorderedListProps;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './unordered-list';
|
|
2
|
-
export * from './types';
|
|
3
|
-
export * from './helpers';
|
|
1
|
+
export * from './unordered-list.jsx';
|
|
2
|
+
export * from './types.js';
|
|
3
|
+
export * from './helpers.js';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './unordered-list';
|
|
2
|
-
export * from './types';
|
|
3
|
-
export * from './helpers';
|
|
1
|
+
export * from './unordered-list.jsx';
|
|
2
|
+
export * from './types.js';
|
|
3
|
+
export * from './helpers.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { JSX } from "react";
|
|
2
|
-
import { PropsWithCSS, ResponsiveDesign, ShallowMerge } from "../../../types";
|
|
2
|
+
import { PropsWithCSS, ResponsiveDesign, ShallowMerge } from "../../../types/index.js";
|
|
3
3
|
export type UnorderedListResponsiveProps = PropsWithCSS;
|
|
4
4
|
export type UnorderedListProps = ShallowMerge<JSX.IntrinsicElements["ul"], ResponsiveDesign<UnorderedListResponsiveProps>>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { UnorderedListProps } from './types';
|
|
1
|
+
import { UnorderedListProps } from './types.js';
|
|
2
2
|
export declare const UnorderedList: import("react").ForwardRefExoticComponent<Omit<UnorderedListProps, "ref"> & import("react").RefAttributes<HTMLUListElement>>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/** @jsxImportSource @emotion/react */
|
|
2
2
|
import { forwardRef } from 'react';
|
|
3
|
-
import { getUnorderedListProps } from './helpers';
|
|
4
|
-
import { mediaQuery } from '../../../theme';
|
|
3
|
+
import { getUnorderedListProps } from './helpers.js';
|
|
4
|
+
import { mediaQuery } from '../../../theme/index.js';
|
|
5
5
|
export const UnorderedList = forwardRef((_props, ref) => {
|
|
6
6
|
const { xs, sm, md, ...rest } = getUnorderedListProps(_props);
|
|
7
7
|
const css = [
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { VideoProps } from './types';
|
|
1
|
+
import { VideoProps } from './types.js';
|
|
2
2
|
export declare const getVideoProps: (extended: VideoProps) => VideoProps;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './video';
|
|
2
|
-
export * from './types';
|
|
3
|
-
export * from './helpers';
|
|
1
|
+
export * from './video.jsx';
|
|
2
|
+
export * from './types.js';
|
|
3
|
+
export * from './helpers.js';
|
package/dist/lib/video/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './video';
|
|
2
|
-
export * from './types';
|
|
3
|
-
export * from './helpers';
|
|
1
|
+
export * from './video.jsx';
|
|
2
|
+
export * from './types.js';
|
|
3
|
+
export * from './helpers.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ComponentType, JSX } from 'react';
|
|
2
2
|
import { ReactPlayerProps } from 'react-player/types';
|
|
3
|
-
import { PropsWithCSS, ResponsiveDesign, ShallowMerge } from '../../types';
|
|
3
|
+
import { PropsWithCSS, ResponsiveDesign, ShallowMerge } from '../../types/index.js';
|
|
4
4
|
type VideoExtendedProps = ResponsiveDesign<PropsWithCSS> & {
|
|
5
5
|
containerProps?: JSX.IntrinsicElements['div'];
|
|
6
6
|
PlayerComponent?: ComponentType<ReactPlayerProps>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { VideoProps } from './types';
|
|
1
|
+
import { VideoProps } from './types.js';
|
|
2
2
|
export declare const Video: ({ ref, containerProps, PlayerComponent, ..._props }: VideoProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
package/dist/lib/video/video.jsx
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/** @jsxImportSource @emotion/react */
|
|
2
2
|
import { createElement } from 'react';
|
|
3
3
|
import ReactPlayer from 'react-player';
|
|
4
|
-
import { getVideoProps } from './helpers';
|
|
5
|
-
import { mediaQuery } from '../../theme';
|
|
4
|
+
import { getVideoProps } from './helpers.js';
|
|
5
|
+
import { mediaQuery } from '../../theme/index.js';
|
|
6
6
|
export const Video = ({ ref, containerProps, PlayerComponent, ..._props }) => {
|
|
7
7
|
const { xs, sm, md, lg, ...rest } = getVideoProps(_props);
|
|
8
8
|
const css = [
|
package/dist/theme/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
export * from './screens';
|
|
2
|
-
export * from './palette';
|
|
3
|
-
export * from './typography';
|
|
1
|
+
export * from './screens.js';
|
|
2
|
+
export * from './palette.js';
|
|
3
|
+
export * from './typography.js';
|
|
4
|
+
export * from './provider.jsx';
|
|
4
5
|
export declare const FLOATING_Z_INDEX = 9999;
|
package/dist/theme/index.js
CHANGED
package/dist/theme/provider.jsx
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Global, ThemeProvider as EmotionThemeProvider } from '@emotion/react';
|
|
2
|
-
import { getColorVar } from './palette';
|
|
2
|
+
import { getColorVar } from './palette.js';
|
|
3
3
|
import { flatten } from 'flat';
|
|
4
4
|
import { flatMap } from 'lodash-es';
|
|
5
|
-
import { getTypographyVar } from './typography';
|
|
5
|
+
import { getTypographyVar } from './typography.js';
|
|
6
6
|
export const ThemeProvider = ({ theme, children }) => {
|
|
7
7
|
return (<EmotionThemeProvider theme={theme}>
|
|
8
8
|
<Global styles={createGlobalStyle(theme)}/>
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CSSObject } from '@emotion/react';
|
|
2
2
|
import type * as CSS from 'csstype';
|
|
3
|
-
import { Screen } from '../theme';
|
|
3
|
+
import { Screen } from '../theme/index.js';
|
|
4
4
|
export type Nullable<T> = T | null;
|
|
5
5
|
export type Dict<T> = Record<string, T>;
|
|
6
6
|
export type ShallowMerge<T1, T2> = Omit<T1, keyof T2> & T2;
|
package/dist/utils/common.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ReactElement } from 'react';
|
|
2
|
-
import { Dict } from '../types';
|
|
2
|
+
import { Dict } from '../types/index.js';
|
|
3
3
|
export declare const ensureArray: <T>(val: T | T[]) => T[];
|
|
4
4
|
export declare const ensureBoolean: <T extends boolean | string | undefined | null>(val: T) => boolean;
|
|
5
5
|
export declare const normalizeSearchText: (str?: string, options?: {
|
package/dist/utils/common.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { isValidElement } from 'react';
|
|
2
2
|
import parse from 'html-react-parser';
|
|
3
3
|
import { isArray, isBoolean, isNil, isString, omitBy, parseInt } from 'lodash-es';
|
|
4
|
-
import { Booleanish } from '../constants';
|
|
4
|
+
import { Booleanish } from '../constants/index.js';
|
|
5
5
|
export const ensureArray = (val) => {
|
|
6
6
|
if (isNil(val)) {
|
|
7
7
|
return [];
|
package/dist/utils/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { ReactElement } from 'react';
|
|
2
|
-
import { Screen, TypographySizeVariant } from '../theme';
|
|
3
|
-
import { SizeVariant, ColorVariant, ResponsiveDesign } from '../types';
|
|
2
|
+
import { Screen, TypographySizeVariant } from '../theme/index.js';
|
|
3
|
+
import { SizeVariant, ColorVariant, ResponsiveDesign } from '../types/index.js';
|
|
4
4
|
import { Get, Paths } from 'type-fest';
|
|
5
|
-
export * from './common';
|
|
6
|
-
export * from './stylesheet';
|
|
7
|
-
export * from './query-params';
|
|
5
|
+
export * from './common.js';
|
|
6
|
+
export * from './stylesheet.js';
|
|
7
|
+
export * from './query-params.js';
|
|
8
8
|
export declare const getColorShadesByVariant: (variant?: ColorVariant) => {
|
|
9
9
|
main: string;
|
|
10
10
|
contrastText: string;
|
package/dist/utils/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Children, Fragment, isValidElement } from 'react';
|
|
2
2
|
import { mergeWith, omit, isUndefined, get } from 'lodash-es';
|
|
3
|
-
import { getColorVar, screens, getSmallerScreens } from '../theme';
|
|
4
|
-
export * from './common';
|
|
5
|
-
export * from './stylesheet';
|
|
6
|
-
export * from './query-params';
|
|
3
|
+
import { getColorVar, screens, getSmallerScreens } from '../theme/index.js';
|
|
4
|
+
export * from './common.js';
|
|
5
|
+
export * from './stylesheet.js';
|
|
6
|
+
export * from './query-params.js';
|
|
7
7
|
export const getColorShadesByVariant = (variant) => {
|
|
8
8
|
switch (variant) {
|
|
9
9
|
case 'primary':
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { flatten } from 'flat';
|
|
2
2
|
import { isArray, isBoolean, isDate, isNil, isNumber, isPlainObject, isString, trim } from 'lodash-es';
|
|
3
|
-
import { getEnumValues } from './common';
|
|
3
|
+
import { getEnumValues } from './common.js';
|
|
4
4
|
class QueryParamParser {
|
|
5
5
|
constructor(value) {
|
|
6
6
|
this.value = value;
|