@nexus-cross/design-system 1.0.6-beta.2 → 1.0.7
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/DESIGN.md +185 -0
- package/cursor-rules/nexus-ui-api.mdc +223 -7
- package/cursor-rules/nexus-ui-components.mdc +44 -17
- package/dist/alert.js +16 -0
- package/dist/alert.mjs +3 -0
- package/dist/badge.js +16 -0
- package/dist/badge.mjs +3 -0
- package/dist/breadcrumb.js +12 -0
- package/dist/breadcrumb.mjs +3 -0
- package/dist/chunks/chunk-22O6YUYH.mjs +5 -0
- package/dist/chunks/chunk-2N2EPBO4.js +120 -0
- package/dist/chunks/{chunk-AFSEYJZT.js → chunk-2T7RUYEK.js} +175 -50
- package/dist/chunks/chunk-2UPGFY6E.mjs +76 -0
- package/dist/chunks/{chunk-VGO4Z2WH.js → chunk-3RK3UT2O.js} +50 -12
- package/dist/chunks/chunk-3ZWN66YH.js +53 -0
- package/dist/chunks/chunk-5PQ3UCKF.js +99 -0
- package/dist/chunks/chunk-6BWOKTVQ.mjs +87 -0
- package/dist/chunks/chunk-6DBRL6NA.mjs +81 -0
- package/dist/chunks/{chunk-HNLI646G.mjs → chunk-AAITRHED.mjs} +51 -13
- package/dist/chunks/chunk-B5O6W3Z4.mjs +73 -0
- package/dist/chunks/chunk-BJM3NDT2.mjs +368 -0
- package/dist/chunks/chunk-C2DSAJTL.js +109 -0
- package/dist/chunks/chunk-CUTMLBC3.mjs +86 -0
- package/dist/chunks/chunk-CV4GMFWP.js +174 -0
- package/dist/chunks/chunk-DICN6GKE.js +99 -0
- package/dist/chunks/chunk-DYPPVXQF.js +143 -0
- package/dist/chunks/chunk-EJY7IVSK.mjs +31 -0
- package/dist/chunks/chunk-FUIBYZZ4.mjs +98 -0
- package/dist/chunks/chunk-H2G5FMRN.mjs +75 -0
- package/dist/chunks/chunk-H2V7RHYV.mjs +120 -0
- package/dist/chunks/chunk-MMCA33FW.mjs +85 -0
- package/dist/chunks/chunk-NZHK76R3.js +109 -0
- package/dist/chunks/chunk-OE5BAEBE.js +7 -0
- package/dist/chunks/chunk-P73MEU7N.mjs +150 -0
- package/dist/chunks/chunk-PDJTSQOC.js +59 -0
- package/dist/chunks/chunk-S2GMEC43.js +109 -0
- package/dist/chunks/chunk-X3CTJ7TD.js +108 -0
- package/dist/chunks/chunk-XGIJZ3NZ.js +160 -0
- package/dist/chunks/chunk-YO5MSDPX.mjs +36 -0
- package/dist/chunks/chunk-ZI4LN2B2.js +96 -0
- package/dist/chunks/chunk-ZU4AWAFT.mjs +137 -0
- package/dist/component-tokens/button.d.ts +3 -0
- package/dist/component-tokens/button.d.ts.map +1 -0
- package/dist/component-tokens/index.d.ts +3 -0
- package/dist/component-tokens/index.d.ts.map +1 -0
- package/dist/component-tokens/types.d.ts +19 -0
- package/dist/component-tokens/types.d.ts.map +1 -0
- package/dist/{accordion.d.mts → components/Accordion.d.ts} +2 -3
- package/dist/components/Accordion.d.ts.map +1 -0
- package/dist/components/Alert.d.ts +16 -0
- package/dist/components/Alert.d.ts.map +1 -0
- package/dist/{avatar.d.mts → components/Avatar.d.ts} +5 -6
- package/dist/components/Avatar.d.ts.map +1 -0
- package/dist/components/Badge.d.ts +17 -0
- package/dist/components/Badge.d.ts.map +1 -0
- package/dist/components/Breadcrumb.d.ts +15 -0
- package/dist/components/Breadcrumb.d.ts.map +1 -0
- package/dist/{button.d.mts → components/Button.d.ts} +5 -6
- package/dist/components/Button.d.ts.map +1 -0
- package/dist/{carousel.d.mts → components/Carousel.d.ts} +5 -6
- package/dist/components/Carousel.d.ts.map +1 -0
- package/dist/{checkbox.d.mts → components/CheckBox.d.ts} +6 -7
- package/dist/components/CheckBox.d.ts.map +1 -0
- package/dist/{chip.d.mts → components/Chip.d.ts} +6 -7
- package/dist/components/Chip.d.ts.map +1 -0
- package/dist/{client-only.d.mts → components/ClientOnly.d.ts} +4 -5
- package/dist/components/ClientOnly.d.ts.map +1 -0
- package/dist/{countdown.d.mts → components/Countdown.d.ts} +3 -3
- package/dist/components/Countdown.d.ts.map +1 -0
- package/dist/{counter.d.mts → components/Counter.d.ts} +3 -3
- package/dist/components/Counter.d.ts.map +1 -0
- package/dist/{data-list.d.mts → components/DataList.d.ts} +4 -5
- package/dist/components/DataList.d.ts.map +1 -0
- package/dist/components/DatePicker.d.ts +17 -0
- package/dist/components/DatePicker.d.ts.map +1 -0
- package/dist/{divider.d.mts → components/Divider.d.ts} +5 -6
- package/dist/components/Divider.d.ts.map +1 -0
- package/dist/{drawer.d.mts → components/Drawer.d.ts} +13 -15
- package/dist/components/Drawer.d.ts.map +1 -0
- package/dist/components/DropdownMenu.d.ts +30 -0
- package/dist/components/DropdownMenu.d.ts.map +1 -0
- package/dist/{ellipsis.d.mts → components/Ellipsis.d.ts} +4 -5
- package/dist/components/Ellipsis.d.ts.map +1 -0
- package/dist/components/EmptyState.d.ts +15 -0
- package/dist/components/EmptyState.d.ts.map +1 -0
- package/dist/{error-boundary.d.mts → components/ErrorBoundary.d.ts} +4 -5
- package/dist/components/ErrorBoundary.d.ts.map +1 -0
- package/dist/{infinite-scroll.d.mts → components/InfiniteScroll.d.ts} +5 -6
- package/dist/components/InfiniteScroll.d.ts.map +1 -0
- package/dist/{marquee.d.mts → components/Marquee.d.ts} +3 -3
- package/dist/components/Marquee.d.ts.map +1 -0
- package/dist/{number-input.d.mts → components/NumberInput.d.ts} +10 -12
- package/dist/components/NumberInput.d.ts.map +1 -0
- package/dist/components/NxImage.d.ts +13 -0
- package/dist/components/NxImage.d.ts.map +1 -0
- package/dist/{pagination.d.mts → components/Pagination.d.ts} +6 -7
- package/dist/components/Pagination.d.ts.map +1 -0
- package/dist/components/Popover.d.ts +23 -0
- package/dist/components/Popover.d.ts.map +1 -0
- package/dist/{price-input.d.mts → components/PriceInput.d.ts} +5 -6
- package/dist/components/PriceInput.d.ts.map +1 -0
- package/dist/components/Progress.d.ts +17 -0
- package/dist/components/Progress.d.ts.map +1 -0
- package/dist/{radio-group.d.mts → components/RadioGroup.d.ts} +6 -7
- package/dist/components/RadioGroup.d.ts.map +1 -0
- package/dist/{select.d.mts → components/Select.d.ts} +7 -10
- package/dist/components/Select.d.ts.map +1 -0
- package/dist/{skeleton.d.mts → components/Skeleton.d.ts} +3 -3
- package/dist/components/Skeleton.d.ts.map +1 -0
- package/dist/components/Slider.d.ts +19 -0
- package/dist/components/Slider.d.ts.map +1 -0
- package/dist/{spinner.d.mts → components/Spinner.d.ts} +3 -3
- package/dist/components/Spinner.d.ts.map +1 -0
- package/dist/components/Stepper.d.ts +19 -0
- package/dist/components/Stepper.d.ts.map +1 -0
- package/dist/{switch.d.mts → components/Switch.d.ts} +5 -6
- package/dist/components/Switch.d.ts.map +1 -0
- package/dist/{tab.d.mts → components/Tab.d.ts} +7 -9
- package/dist/components/Tab.d.ts.map +1 -0
- package/dist/components/TagInput.d.ts +20 -0
- package/dist/components/TagInput.d.ts.map +1 -0
- package/dist/components/TextArea.d.ts +18 -0
- package/dist/components/TextArea.d.ts.map +1 -0
- package/dist/{text-input.d.mts → components/TextInput.d.ts} +5 -6
- package/dist/components/TextInput.d.ts.map +1 -0
- package/dist/{theme-provider.d.mts → components/ThemeProvider.d.ts} +3 -3
- package/dist/components/ThemeProvider.d.ts.map +1 -0
- package/dist/components/ToggleGroup.d.ts +35 -0
- package/dist/components/ToggleGroup.d.ts.map +1 -0
- package/dist/{tooltip.d.mts → components/Tooltip.d.ts} +6 -10
- package/dist/components/Tooltip.d.ts.map +1 -0
- package/dist/{virtual-scroll.d.mts → components/VirtualScroll.d.ts} +4 -4
- package/dist/components/VirtualScroll.d.ts.map +1 -0
- package/dist/date-picker.js +12 -0
- package/dist/date-picker.mjs +3 -0
- package/dist/dropdown-menu.js +32 -0
- package/dist/dropdown-menu.mjs +3 -0
- package/dist/empty-state.js +16 -0
- package/dist/empty-state.mjs +3 -0
- package/dist/hooks/useCheckDevice.d.ts +4 -4
- package/dist/hooks/useCheckDevice.d.ts.map +1 -0
- package/dist/hooks/useClickOutside.d.ts +2 -2
- package/dist/hooks/useClickOutside.d.ts.map +1 -0
- package/dist/hooks/useDraggableBottomSheet.d.ts +3 -3
- package/dist/hooks/useDraggableBottomSheet.d.ts.map +1 -0
- package/dist/hooks/useDraggableWindow.d.ts +5 -7
- package/dist/hooks/useDraggableWindow.d.ts.map +1 -0
- package/dist/hooks/useInView.d.ts +3 -3
- package/dist/hooks/useInView.d.ts.map +1 -0
- package/dist/hooks/useModal.d.ts +48 -2
- package/dist/hooks/useModal.d.ts.map +1 -0
- package/dist/index.d.ts +100 -77
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +269 -157
- package/dist/index.mjs +30 -18
- package/dist/modal/Modal.d.ts +52 -0
- package/dist/modal/Modal.d.ts.map +1 -0
- package/dist/modal/components/ModalComponent.d.ts +22 -0
- package/dist/modal/components/ModalComponent.d.ts.map +1 -0
- package/dist/modal/components/ModalContainer.d.ts +9 -0
- package/dist/modal/components/ModalContainer.d.ts.map +1 -0
- package/dist/modal/components/ModalPortal.d.ts +8 -0
- package/dist/modal/components/ModalPortal.d.ts.map +1 -0
- package/dist/modal/components/ModalPortalTarget.d.ts +7 -0
- package/dist/modal/components/ModalPortalTarget.d.ts.map +1 -0
- package/dist/modal/components/ModalTemplate.d.ts +20 -0
- package/dist/modal/components/ModalTemplate.d.ts.map +1 -0
- package/dist/modal/components/ModalTemplate.variants.d.ts +29 -0
- package/dist/modal/components/ModalTemplate.variants.d.ts.map +1 -0
- package/dist/modal/constants.d.ts +3 -0
- package/dist/modal/constants.d.ts.map +1 -0
- package/dist/modal/index.d.ts +11 -82
- package/dist/modal/index.d.ts.map +1 -0
- package/dist/modal/index.js +12 -12
- package/dist/modal/index.mjs +3 -3
- package/dist/modal/types.d.ts +90 -0
- package/dist/modal/types.d.ts.map +1 -0
- package/dist/number-input.js +4 -4
- package/dist/number-input.mjs +1 -1
- package/dist/nx-image.js +12 -0
- package/dist/nx-image.mjs +3 -0
- package/dist/progress.js +16 -0
- package/dist/progress.mjs +3 -0
- package/dist/schemas/_all.json +840 -13
- package/dist/schemas/accordion.d.ts +67 -0
- package/dist/schemas/accordion.d.ts.map +1 -0
- package/dist/schemas/alert.d.ts +30 -0
- package/dist/schemas/alert.d.ts.map +1 -0
- package/dist/schemas/alert.json +49 -0
- package/dist/schemas/avatar.d.ts +30 -0
- package/dist/schemas/avatar.d.ts.map +1 -0
- package/dist/schemas/badge.d.ts +33 -0
- package/dist/schemas/badge.d.ts.map +1 -0
- package/dist/schemas/badge.json +76 -0
- package/dist/schemas/breadcrumb.d.ts +38 -0
- package/dist/schemas/breadcrumb.d.ts.map +1 -0
- package/dist/schemas/breadcrumb.json +47 -0
- package/dist/schemas/button.d.ts +42 -0
- package/dist/schemas/button.d.ts.map +1 -0
- package/dist/schemas/carousel.d.ts +48 -0
- package/dist/schemas/carousel.d.ts.map +1 -0
- package/dist/schemas/checkbox.d.ts +48 -0
- package/dist/schemas/checkbox.d.ts.map +1 -0
- package/dist/schemas/chip.d.ts +30 -0
- package/dist/schemas/chip.d.ts.map +1 -0
- package/dist/schemas/client-only.d.ts +12 -0
- package/dist/schemas/client-only.d.ts.map +1 -0
- package/dist/schemas/countdown.d.ts +52 -0
- package/dist/schemas/countdown.d.ts.map +1 -0
- package/dist/schemas/counter.d.ts +36 -0
- package/dist/schemas/counter.d.ts.map +1 -0
- package/dist/schemas/data-list.d.ts +33 -0
- package/dist/schemas/data-list.d.ts.map +1 -0
- package/dist/schemas/date-picker.d.ts +36 -0
- package/dist/schemas/date-picker.d.ts.map +1 -0
- package/dist/schemas/datePicker.json +56 -0
- package/dist/schemas/divider.d.ts +21 -0
- package/dist/schemas/divider.d.ts.map +1 -0
- package/dist/schemas/drawer.d.ts +95 -0
- package/dist/schemas/drawer.d.ts.map +1 -0
- package/dist/schemas/dropdown-menu.d.ts +64 -0
- package/dist/schemas/dropdown-menu.d.ts.map +1 -0
- package/dist/schemas/dropdownMenu.json +83 -0
- package/dist/schemas/ellipsis.d.ts +30 -0
- package/dist/schemas/ellipsis.d.ts.map +1 -0
- package/dist/schemas/empty-state.d.ts +27 -0
- package/dist/schemas/empty-state.d.ts.map +1 -0
- package/dist/schemas/emptyState.json +44 -0
- package/dist/schemas/error-boundary.d.ts +15 -0
- package/dist/schemas/error-boundary.d.ts.map +1 -0
- package/dist/schemas/index.d.ts +47 -0
- package/dist/schemas/index.d.ts.map +1 -0
- package/dist/schemas/infinite-scroll.d.ts +39 -0
- package/dist/schemas/infinite-scroll.d.ts.map +1 -0
- package/dist/schemas/marquee.d.ts +27 -0
- package/dist/schemas/marquee.d.ts.map +1 -0
- package/dist/schemas/modal.d.ts +176 -0
- package/dist/schemas/modal.d.ts.map +1 -0
- package/dist/schemas/number-input.d.ts +72 -0
- package/dist/schemas/number-input.d.ts.map +1 -0
- package/dist/schemas/numberInput.json +27 -8
- package/dist/schemas/nx-image.d.ts +33 -0
- package/dist/schemas/nx-image.d.ts.map +1 -0
- package/dist/schemas/nxImage.json +56 -0
- package/dist/schemas/pagination.d.ts +27 -0
- package/dist/schemas/pagination.d.ts.map +1 -0
- package/dist/schemas/popover.d.ts +39 -0
- package/dist/schemas/popover.d.ts.map +1 -0
- package/dist/schemas/price-input.d.ts +63 -0
- package/dist/schemas/price-input.d.ts.map +1 -0
- package/dist/schemas/progress.d.ts +30 -0
- package/dist/schemas/progress.d.ts.map +1 -0
- package/dist/schemas/progress.json +63 -0
- package/dist/schemas/radio-group.d.ts +61 -0
- package/dist/schemas/radio-group.d.ts.map +1 -0
- package/dist/schemas/select.d.ts +52 -0
- package/dist/schemas/select.d.ts.map +1 -0
- package/dist/schemas/skeleton.d.ts +27 -0
- package/dist/schemas/skeleton.d.ts.map +1 -0
- package/dist/schemas/slider.d.ts +45 -0
- package/dist/schemas/slider.d.ts.map +1 -0
- package/dist/schemas/slider.json +78 -0
- package/dist/schemas/spinner.d.ts +21 -0
- package/dist/schemas/spinner.d.ts.map +1 -0
- package/dist/schemas/stepper.d.ts +39 -0
- package/dist/schemas/stepper.d.ts.map +1 -0
- package/dist/schemas/stepper.json +73 -0
- package/dist/schemas/switch.d.ts +33 -0
- package/dist/schemas/switch.d.ts.map +1 -0
- package/dist/schemas/tab.d.ts +61 -0
- package/dist/schemas/tab.d.ts.map +1 -0
- package/dist/schemas/table.d.ts +113 -0
- package/dist/schemas/table.d.ts.map +1 -0
- package/dist/schemas/tag-input.d.ts +39 -0
- package/dist/schemas/tag-input.d.ts.map +1 -0
- package/dist/schemas/tagInput.json +70 -0
- package/dist/schemas/text-area.d.ts +69 -0
- package/dist/schemas/text-area.d.ts.map +1 -0
- package/dist/schemas/text-input.d.ts +78 -0
- package/dist/schemas/text-input.d.ts.map +1 -0
- package/dist/schemas/textArea.json +26 -1
- package/dist/schemas/theme-provider.d.ts +36 -0
- package/dist/schemas/theme-provider.d.ts.map +1 -0
- package/dist/schemas/toast.d.ts +91 -0
- package/dist/schemas/toast.d.ts.map +1 -0
- package/dist/schemas/toggle-group.d.ts +58 -0
- package/dist/schemas/toggle-group.d.ts.map +1 -0
- package/dist/schemas/toggleGroup.json +88 -0
- package/dist/schemas/tooltip.d.ts +33 -0
- package/dist/schemas/tooltip.d.ts.map +1 -0
- package/dist/schemas/virtual-scroll.d.ts +67 -0
- package/dist/schemas/virtual-scroll.d.ts.map +1 -0
- package/dist/schemas.js +177 -7
- package/dist/schemas.mjs +166 -8
- package/dist/slider.js +16 -0
- package/dist/slider.mjs +3 -0
- package/dist/stepper.js +16 -0
- package/dist/stepper.mjs +3 -0
- package/dist/styles/.generated/built.d.ts +3 -0
- package/dist/styles/.generated/built.d.ts.map +1 -0
- package/dist/styles/inject-layer.d.ts +2 -0
- package/dist/styles/inject-layer.d.ts.map +1 -0
- package/dist/styles/inject.d.ts +2 -0
- package/dist/styles/inject.d.ts.map +1 -0
- package/dist/styles/layer.js +2 -2
- package/dist/styles/layer.mjs +1 -1
- package/dist/styles.css +1655 -162
- package/dist/styles.js +2 -2
- package/dist/styles.layered.css +1655 -162
- package/dist/styles.mjs +1 -1
- package/dist/table/Table.d.ts +20 -0
- package/dist/table/Table.d.ts.map +1 -0
- package/dist/table/TableHighlightContext.d.ts +11 -0
- package/dist/table/TableHighlightContext.d.ts.map +1 -0
- package/dist/table/TableRow.d.ts +17 -0
- package/dist/table/TableRow.d.ts.map +1 -0
- package/dist/table/TdColumn.d.ts +14 -0
- package/dist/table/TdColumn.d.ts.map +1 -0
- package/dist/table/index.d.ts +23 -0
- package/dist/table/index.d.ts.map +1 -0
- package/dist/table/types.d.ts +27 -0
- package/dist/table/types.d.ts.map +1 -0
- package/dist/table.js +7 -7
- package/dist/table.mjs +1 -1
- package/dist/tag-input.js +16 -0
- package/dist/tag-input.mjs +3 -0
- package/dist/text-area.js +3 -3
- package/dist/text-area.mjs +1 -1
- package/dist/toast/Toast.d.ts +8 -0
- package/dist/toast/Toast.d.ts.map +1 -0
- package/dist/toast/index.d.ts +6 -0
- package/dist/toast/index.d.ts.map +1 -0
- package/dist/{toast.d.ts → toast/useToast.d.ts} +4 -14
- package/dist/toast/useToast.d.ts.map +1 -0
- package/dist/toggle-group.js +16 -0
- package/dist/toggle-group.mjs +3 -0
- package/dist/utils/cn.d.ts +3 -5
- package/dist/utils/cn.d.ts.map +1 -0
- package/dist/utils/scroll.d.ts +3 -4
- package/dist/utils/scroll.d.ts.map +1 -0
- package/package.json +104 -38
- package/scripts/setup-cursor-rules.cjs +15 -1
- package/dist/accordion.d.ts +0 -28
- package/dist/avatar.d.ts +0 -17
- package/dist/button.d.ts +0 -17
- package/dist/carousel.d.ts +0 -36
- package/dist/checkbox.d.ts +0 -21
- package/dist/chip.d.ts +0 -16
- package/dist/chunks/chunk-26BUGBOY.mjs +0 -57
- package/dist/chunks/chunk-CLGH2RTS.js +0 -7
- package/dist/chunks/chunk-ECVAVQUY.mjs +0 -243
- package/dist/chunks/chunk-UPCWJWXR.mjs +0 -5
- package/dist/chunks/chunk-WR55D4ZS.js +0 -80
- package/dist/client-only.d.ts +0 -13
- package/dist/countdown.d.ts +0 -27
- package/dist/counter.d.ts +0 -15
- package/dist/data-list.d.ts +0 -33
- package/dist/divider.d.ts +0 -14
- package/dist/drawer.d.ts +0 -42
- package/dist/ellipsis.d.ts +0 -16
- package/dist/error-boundary.d.ts +0 -20
- package/dist/hooks/useCheckDevice.d.mts +0 -47
- package/dist/hooks/useClickOutside.d.mts +0 -12
- package/dist/hooks/useDraggableBottomSheet.d.mts +0 -24
- package/dist/hooks/useDraggableWindow.d.mts +0 -21
- package/dist/hooks/useInView.d.mts +0 -14
- package/dist/hooks/useModal.d.mts +0 -2
- package/dist/index.d.mts +0 -77
- package/dist/infinite-scroll.d.ts +0 -26
- package/dist/marquee.d.ts +0 -12
- package/dist/modal/index.d.mts +0 -87
- package/dist/number-input.d.ts +0 -38
- package/dist/pagination.d.ts +0 -22
- package/dist/popover.d.mts +0 -25
- package/dist/popover.d.ts +0 -25
- package/dist/price-input.d.ts +0 -36
- package/dist/radio-group.d.ts +0 -29
- package/dist/schemas.d.mts +0 -1689
- package/dist/schemas.d.ts +0 -1689
- package/dist/select.d.ts +0 -31
- package/dist/skeleton.d.ts +0 -15
- package/dist/spinner.d.ts +0 -9
- package/dist/styles/layer.d.mts +0 -3
- package/dist/styles/layer.d.ts +0 -3
- package/dist/styles.d.mts +0 -3
- package/dist/styles.d.ts +0 -3
- package/dist/switch.d.ts +0 -15
- package/dist/tab.d.ts +0 -36
- package/dist/table.d.mts +0 -80
- package/dist/table.d.ts +0 -80
- package/dist/text-area.d.mts +0 -15
- package/dist/text-area.d.ts +0 -15
- package/dist/text-input.d.ts +0 -21
- package/dist/theme-provider.d.ts +0 -25
- package/dist/toast.d.mts +0 -42
- package/dist/tooltip.d.ts +0 -24
- package/dist/useModal-BsGIcP8t.d.mts +0 -128
- package/dist/useModal-BsGIcP8t.d.ts +0 -128
- package/dist/utils/cn.d.mts +0 -5
- package/dist/utils/scroll.d.mts +0 -4
- package/dist/virtual-scroll.d.ts +0 -34
- package/dist/chunks/{chunk-3VFBPFZF.mjs → chunk-CWMLTXOH.mjs} +2 -2
- package/dist/chunks/{chunk-U53UA76K.js → chunk-HFBTS42N.js} +2 -2
package/dist/index.mjs
CHANGED
|
@@ -1,45 +1,57 @@
|
|
|
1
1
|
import './styles.css';
|
|
2
|
+
export { Table, TableHighlightProvider, TableRow, TdColumn, tableRowVariants, useTableHighlight } from './chunks/chunk-AAITRHED.mjs';
|
|
2
3
|
export { useInView } from './chunks/chunk-2JTPRBHZ.mjs';
|
|
4
|
+
export { Slider, sliderVariants } from './chunks/chunk-H2G5FMRN.mjs';
|
|
5
|
+
export { TagInput, tagInputVariants } from './chunks/chunk-H2V7RHYV.mjs';
|
|
6
|
+
export { NxImage } from './chunks/chunk-6BWOKTVQ.mjs';
|
|
7
|
+
export { DatePicker } from './chunks/chunk-FUIBYZZ4.mjs';
|
|
3
8
|
export { ClientOnly } from './chunks/chunk-AOXXE5UQ.mjs';
|
|
4
9
|
export { ThemeProvider, useTheme } from './chunks/chunk-I252NERB.mjs';
|
|
5
10
|
export { Toaster, toast, useToast } from './chunks/chunk-ZWSIIGA3.mjs';
|
|
6
|
-
export { Table, TableHighlightProvider, TableRow, TdColumn, tableRowVariants, useTableHighlight } from './chunks/chunk-HNLI646G.mjs';
|
|
7
|
-
export { InfiniteScroll } from './chunks/chunk-LMMON5AU.mjs';
|
|
8
|
-
export { Marquee } from './chunks/chunk-SJMCPSVH.mjs';
|
|
9
|
-
export { Ellipsis } from './chunks/chunk-6FMDO6TT.mjs';
|
|
10
|
-
export { Skeleton } from './chunks/chunk-P2T72N62.mjs';
|
|
11
11
|
export { Countdown, useCountdown } from './chunks/chunk-LI7SFBUQ.mjs';
|
|
12
12
|
export { Counter } from './chunks/chunk-CA3SOLI3.mjs';
|
|
13
13
|
export { DataList } from './chunks/chunk-K2TBLM3F.mjs';
|
|
14
14
|
export { ErrorBoundary } from './chunks/chunk-VIGRCJAE.mjs';
|
|
15
|
+
export { EmptyState, emptyStateVariants } from './chunks/chunk-YO5MSDPX.mjs';
|
|
16
|
+
export { Breadcrumb } from './chunks/chunk-EJY7IVSK.mjs';
|
|
17
|
+
export { Stepper, stepperVariants } from './chunks/chunk-MMCA33FW.mjs';
|
|
18
|
+
export { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuRoot, DropdownMenuSeparator, DropdownMenuTrigger } from './chunks/chunk-6DBRL6NA.mjs';
|
|
19
|
+
export { ToggleGroup, toggleGroupVariants } from './chunks/chunk-P73MEU7N.mjs';
|
|
20
|
+
export { Popover, PopoverArrow, PopoverClose, PopoverContent, PopoverTrigger, popoverContentClasses } from './chunks/chunk-ULGYTBCT.mjs';
|
|
21
|
+
export { Carousel, CarouselDots, CarouselNext, CarouselPrev, CarouselSlide, useCarousel } from './chunks/chunk-3HHJORN7.mjs';
|
|
22
|
+
export { VirtualGrid, VirtualList } from './chunks/chunk-EHAUUUWB.mjs';
|
|
23
|
+
export { InfiniteScroll } from './chunks/chunk-LMMON5AU.mjs';
|
|
24
|
+
export { Marquee } from './chunks/chunk-SJMCPSVH.mjs';
|
|
25
|
+
export { Ellipsis } from './chunks/chunk-6FMDO6TT.mjs';
|
|
15
26
|
export { Spinner } from './chunks/chunk-BPUQ2CO2.mjs';
|
|
27
|
+
export { Skeleton } from './chunks/chunk-P2T72N62.mjs';
|
|
28
|
+
export { Select, SelectItem, selectContentVariants, selectTriggerVariants } from './chunks/chunk-DO6VK2QQ.mjs';
|
|
29
|
+
export { Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerRoot, DrawerTitle, DrawerTrigger, drawerContentVariants, drawerOverlayVariants } from './chunks/chunk-SGNRVYYQ.mjs';
|
|
30
|
+
export { Tooltip, TooltipProvider, tooltipContentVariants } from './chunks/chunk-W4GG5A7K.mjs';
|
|
16
31
|
export { Divider, dividerVariants } from './chunks/chunk-GX6GSWX3.mjs';
|
|
17
32
|
export { RadioGroup, RadioItem, radioGroupVariants, radioItemVariants } from './chunks/chunk-33UFQJIO.mjs';
|
|
18
33
|
export { Pagination, pageButtonVariants, paginationVariants } from './chunks/chunk-2RPRCWKV.mjs';
|
|
19
34
|
export { Tab, tabListVariants, tabTriggerVariants } from './chunks/chunk-QZ4QR3XV.mjs';
|
|
20
35
|
export { Accordion, AccordionContent, AccordionItem, AccordionRoot, AccordionTrigger } from './chunks/chunk-XG6QG65W.mjs';
|
|
21
|
-
export {
|
|
22
|
-
export {
|
|
23
|
-
export {
|
|
36
|
+
export { Alert, alertVariants } from './chunks/chunk-2UPGFY6E.mjs';
|
|
37
|
+
export { CheckBox, checkBoxVariants } from './chunks/chunk-MRRKW5QN.mjs';
|
|
38
|
+
export { Switch, switchVariants } from './chunks/chunk-ADO7PDLY.mjs';
|
|
24
39
|
export { TextInput, textInputVariants } from './chunks/chunk-UKRU46PH.mjs';
|
|
25
|
-
export { TextArea, textAreaVariants } from './chunks/chunk-
|
|
26
|
-
export { NumberInput, numberInputBind, numberInputVariants } from './chunks/chunk-
|
|
40
|
+
export { TextArea, textAreaVariants } from './chunks/chunk-ZU4AWAFT.mjs';
|
|
41
|
+
export { NumberInput, numberInputBind, numberInputVariants } from './chunks/chunk-BJM3NDT2.mjs';
|
|
27
42
|
export { PriceInput, priceInputVariants } from './chunks/chunk-WGGBE4ZD.mjs';
|
|
28
43
|
export { Avatar, avatarVariants } from './chunks/chunk-YLO4UKSC.mjs';
|
|
29
|
-
export {
|
|
30
|
-
export { Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerRoot, DrawerTitle, DrawerTrigger, drawerContentVariants, drawerOverlayVariants } from './chunks/chunk-SGNRVYYQ.mjs';
|
|
31
|
-
export { Tooltip, TooltipProvider, tooltipContentVariants } from './chunks/chunk-W4GG5A7K.mjs';
|
|
32
|
-
export { ModalContainer_default as ModalContainer, ModalPortalTarget_default as ModalPortalTarget, ModalTemplate_default as ModalTemplate, checkModal, closeModal, getModalDefaultOption, openModal as modal, openModal, resetModal } from './chunks/chunk-3VFBPFZF.mjs';
|
|
33
|
-
export { useDraggableBottomSheet } from './chunks/chunk-U56AGSLE.mjs';
|
|
34
|
-
export { useDraggableWindow } from './chunks/chunk-4J3GCZ7W.mjs';
|
|
44
|
+
export { ModalContainer_default as ModalContainer, ModalPortalTarget_default as ModalPortalTarget, ModalTemplate_default as ModalTemplate, checkModal, closeModal, getModalDefaultOption, openModal as modal, openModal, resetModal } from './chunks/chunk-CWMLTXOH.mjs';
|
|
35
45
|
export { scrollFreeze, scrollRelease } from './chunks/chunk-54IA2P2Z.mjs';
|
|
36
46
|
export { useCheckDevice_default as useCheckDevice } from './chunks/chunk-YEWKPWK3.mjs';
|
|
37
47
|
export { useClickOutside_default as useClickOutside } from './chunks/chunk-OTGS6BDQ.mjs';
|
|
38
48
|
export { useModal } from './chunks/chunk-6H7V2I3X.mjs';
|
|
49
|
+
export { useDraggableBottomSheet } from './chunks/chunk-U56AGSLE.mjs';
|
|
50
|
+
export { useDraggableWindow } from './chunks/chunk-4J3GCZ7W.mjs';
|
|
39
51
|
export { Button, buttonVariants } from './chunks/chunk-VVXQZ4XH.mjs';
|
|
40
52
|
export { Chip, chipVariants } from './chunks/chunk-RX5UKRYK.mjs';
|
|
41
|
-
export {
|
|
42
|
-
export {
|
|
53
|
+
export { Badge, badgeVariants } from './chunks/chunk-CUTMLBC3.mjs';
|
|
54
|
+
export { Progress, progressVariants } from './chunks/chunk-B5O6W3Z4.mjs';
|
|
43
55
|
export { cn } from './chunks/chunk-MCKOWMLS.mjs';
|
|
44
56
|
import './chunks/chunk-CVYXRSXT.mjs';
|
|
45
57
|
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import type { ComponentType } from 'react';
|
|
2
|
+
import type { ModalType, DefaultModalOption, DefaultModalPropsType, ModalPropsOf } from './types';
|
|
3
|
+
declare class Modal {
|
|
4
|
+
private _modalList;
|
|
5
|
+
private defaultOption;
|
|
6
|
+
observeFunction: ((modalList: ModalType[]) => void) | null;
|
|
7
|
+
private enableKeyDownEvent;
|
|
8
|
+
set modalList(value: ModalType[]);
|
|
9
|
+
get modalList(): ModalType[];
|
|
10
|
+
handleKeyPressEvent: (e: KeyboardEvent) => void;
|
|
11
|
+
checkModal(params: {
|
|
12
|
+
componentName: string;
|
|
13
|
+
onlyLastCheck?: boolean;
|
|
14
|
+
} | {
|
|
15
|
+
modalId: string;
|
|
16
|
+
onlyLastCheck?: boolean;
|
|
17
|
+
}): boolean;
|
|
18
|
+
deleteModal(id: string): void;
|
|
19
|
+
closeModal(id: string, isAnimation?: boolean): void;
|
|
20
|
+
resolveModal<T extends ModalType>({ modal, result, useClose, }: {
|
|
21
|
+
modal: T;
|
|
22
|
+
result: unknown;
|
|
23
|
+
useClose?: boolean;
|
|
24
|
+
}): void;
|
|
25
|
+
resetModal(): void;
|
|
26
|
+
makeProps<P extends DefaultModalPropsType>(props: P): P & {
|
|
27
|
+
animation: {
|
|
28
|
+
name?: string;
|
|
29
|
+
mobile?: string;
|
|
30
|
+
delay?: number;
|
|
31
|
+
duration?: number;
|
|
32
|
+
timingFunc?: string;
|
|
33
|
+
leaveTimingFunc?: string;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
private handleToggle;
|
|
37
|
+
private handleToggleOnlyOne;
|
|
38
|
+
openModal<T extends ComponentType<Record<string, unknown>>>({ component, props, }: {
|
|
39
|
+
component: T;
|
|
40
|
+
props?: ModalPropsOf<T> & DefaultModalPropsType;
|
|
41
|
+
}): Promise<unknown>;
|
|
42
|
+
getDefaultOption(): DefaultModalOption;
|
|
43
|
+
observe({ options, observeFunction, }: {
|
|
44
|
+
options?: DefaultModalOption;
|
|
45
|
+
observeFunction: (modalList: ModalType[]) => void;
|
|
46
|
+
}): void;
|
|
47
|
+
unobserve(): void;
|
|
48
|
+
}
|
|
49
|
+
declare const modal: Modal;
|
|
50
|
+
export type { Modal };
|
|
51
|
+
export default modal;
|
|
52
|
+
//# sourceMappingURL=Modal.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["../../src/modal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GACN,EAAE;QACD,SAAS,EAAE,CAAC,CAAC;QACb,KAAK,CAAC,EAAE,YAAY,CAAC,CAAC,CAAC,GAAG,qBAAqB,CAAC;KACjD;IAiED,gBAAgB;IAIhB,OAAO,CAAC,EACN,OAAY,EACZ,eAAe,GAChB,EAAE;QACD,OAAO,CAAC,EAAE,kBAAkB,CAAC;QAC7B,eAAe,EAAE,CAAC,SAAS,EAAE,SAAS,EAAE,KAAK,IAAI,CAAC;KACnD;IASD,SAAS;CAIV;AAED,QAAA,MAAM,KAAK,OAAc,CAAC;AAE1B,YAAY,EAAE,KAAK,EAAE,CAAC;AACtB,eAAe,KAAK,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { ModalType } from '../types';
|
|
3
|
+
import type { BreakPoints } from '../../hooks/useCheckDevice';
|
|
4
|
+
import type { Modal } from '../Modal';
|
|
5
|
+
export type ModalComponentRef = {
|
|
6
|
+
modalId: string;
|
|
7
|
+
hasClose: boolean;
|
|
8
|
+
close: (modalId: string, isAnimation: boolean) => void;
|
|
9
|
+
};
|
|
10
|
+
type Props = {
|
|
11
|
+
className?: string;
|
|
12
|
+
modal: ModalType;
|
|
13
|
+
breakPoints?: BreakPoints;
|
|
14
|
+
scrollRelease?: () => void;
|
|
15
|
+
scrollFreeze?: () => void;
|
|
16
|
+
deleteModal: Modal['deleteModal'];
|
|
17
|
+
resolveModal: Modal['resolveModal'];
|
|
18
|
+
};
|
|
19
|
+
declare const ModalComponent: React.ForwardRefExoticComponent<Props & React.RefAttributes<ModalComponentRef>>;
|
|
20
|
+
export type { Props as ModalComponentProps };
|
|
21
|
+
export default ModalComponent;
|
|
22
|
+
//# sourceMappingURL=ModalComponent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ModalComponent.d.ts","sourceRoot":"","sources":["../../../src/modal/components/ModalComponent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAYN,MAAM,OAAO,CAAC;AAEf,OAAO,KAAK,EAAoB,SAAS,EAAE,MAAM,UAAU,CAAC;AAC5D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAC9D,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAQtC,MAAM,MAAM,iBAAiB,GAAG;IAC9B,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,OAAO,CAAC;IAClB,KAAK,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,OAAO,KAAK,IAAI,CAAC;CACxD,CAAC;AAEF,KAAK,KAAK,GAAG;IACX,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,SAAS,CAAC;IACjB,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAC3B,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1B,WAAW,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC;IAClC,YAAY,EAAE,KAAK,CAAC,cAAc,CAAC,CAAC;CACrC,CAAC;AAgDF,QAAA,MAAM,cAAc,iFA+JnB,CAAC;AAIF,YAAY,EAAE,KAAK,IAAI,mBAAmB,EAAE,CAAC;AAC7C,eAAe,cAAc,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { DefaultModalOption } from '../types';
|
|
2
|
+
import type { BreakPoints } from '../../hooks/useCheckDevice';
|
|
3
|
+
type Props = DefaultModalOption & {
|
|
4
|
+
className?: string;
|
|
5
|
+
breakPoints?: BreakPoints;
|
|
6
|
+
};
|
|
7
|
+
declare const ModalContainer: ({ className, breakPoints, ...defaultOption }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export default ModalContainer;
|
|
9
|
+
//# sourceMappingURL=ModalContainer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ModalContainer.d.ts","sourceRoot":"","sources":["../../../src/modal/components/ModalContainer.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,kBAAkB,EAAa,MAAM,UAAU,CAAC;AAC9D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAM9D,KAAK,KAAK,GAAG,kBAAkB,GAAG;IAChC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,WAAW,CAAC;CAC3B,CAAC;AAEF,QAAA,MAAM,cAAc,GAAI,8CAAmD,KAAK,4CA4D/E,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type ReactNode } from 'react';
|
|
2
|
+
interface PortalPropType {
|
|
3
|
+
children: ReactNode;
|
|
4
|
+
selector: string;
|
|
5
|
+
}
|
|
6
|
+
declare const ModalPortal: ({ children, selector }: PortalPropType) => import("react").ReactPortal | null;
|
|
7
|
+
export default ModalPortal;
|
|
8
|
+
//# sourceMappingURL=ModalPortal.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ModalPortal.d.ts","sourceRoot":"","sources":["../../../src/modal/components/ModalPortal.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAuB,MAAM,OAAO,CAAC;AAG5D,UAAU,cAAc;IACtB,QAAQ,EAAE,SAAS,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,QAAA,MAAM,WAAW,GAAI,wBAAwB,cAAc,uCAsB1D,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ModalPortalTarget.d.ts","sourceRoot":"","sources":["../../../src/modal/components/ModalPortalTarget.tsx"],"names":[],"mappings":"AAGA,UAAU,SAAS;IACjB,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,QAAA,MAAM,iBAAiB,GAAI,mBAAmB,SAAS,4CAEtD,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React, { type ReactElement } from 'react';
|
|
2
|
+
import type { ModalTemplatePropsType } from '../types';
|
|
3
|
+
import { type ModalLayout } from './ModalTemplate.variants';
|
|
4
|
+
interface PropsType extends ModalTemplatePropsType {
|
|
5
|
+
layout?: ModalLayout;
|
|
6
|
+
hideHeader?: boolean;
|
|
7
|
+
hideFooter?: boolean;
|
|
8
|
+
footer?: ReactElement | string;
|
|
9
|
+
innerClassName?: string;
|
|
10
|
+
bodyClassName?: string;
|
|
11
|
+
footerClassName?: string;
|
|
12
|
+
dimClassName?: string;
|
|
13
|
+
headerClassName?: string;
|
|
14
|
+
enableDrag?: boolean;
|
|
15
|
+
dragPersistKey?: string;
|
|
16
|
+
}
|
|
17
|
+
declare const ModalTemplate: React.ForwardRefExoticComponent<PropsType & React.RefAttributes<HTMLDivElement>>;
|
|
18
|
+
export type { PropsType as ModalTemplateProps };
|
|
19
|
+
export default ModalTemplate;
|
|
20
|
+
//# sourceMappingURL=ModalTemplate.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ModalTemplate.d.ts","sourceRoot":"","sources":["../../../src/modal/components/ModalTemplate.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EACZ,KAAK,YAAY,EAMlB,MAAM,OAAO,CAAC;AAEf,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,UAAU,CAAC;AAKvD,OAAO,EACL,KAAK,WAAW,EASjB,MAAM,0BAA0B,CAAC;AAElC,UAAU,SAAU,SAAQ,sBAAsB;IAChD,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,MAAM,CAAC,EAAE,YAAY,GAAG,MAAM,CAAC;IAC/B,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAkBD,QAAA,MAAM,aAAa,kFA0PlB,CAAC;AAIF,YAAY,EAAE,SAAS,IAAI,kBAAkB,EAAE,CAAC;AAChD,eAAe,aAAa,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export type { ModalLayout } from '../types';
|
|
2
|
+
export declare const modalWrapVariants: (props?: ({
|
|
3
|
+
layout?: "draggable" | "default" | "bottom-sheet" | "slide-left" | "slide-right" | "full-page" | "full-page-reverse" | null | undefined;
|
|
4
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
5
|
+
export declare const modalInnerVariants: (props?: ({
|
|
6
|
+
layout?: "draggable" | "default" | "bottom-sheet" | "slide-left" | "slide-right" | "full-page" | "full-page-reverse" | null | undefined;
|
|
7
|
+
hasFooter?: boolean | null | undefined;
|
|
8
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
9
|
+
export declare const modalHeaderVariants: (props?: ({
|
|
10
|
+
layout?: "draggable" | "default" | "bottom-sheet" | "slide-left" | "slide-right" | "full-page" | "full-page-reverse" | null | undefined;
|
|
11
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
12
|
+
export declare const modalCloseButtonVariants: (props?: ({
|
|
13
|
+
layout?: "draggable" | "default" | "bottom-sheet" | "slide-left" | "slide-right" | "full-page" | "full-page-reverse" | null | undefined;
|
|
14
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
15
|
+
export declare const modalTitleVariants: (props?: ({
|
|
16
|
+
layout?: "draggable" | "default" | "bottom-sheet" | "slide-left" | "slide-right" | "full-page" | "full-page-reverse" | null | undefined;
|
|
17
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
18
|
+
export declare const modalBodyVariants: (props?: ({
|
|
19
|
+
layout?: "draggable" | "default" | "bottom-sheet" | "slide-left" | "slide-right" | "full-page" | "full-page-reverse" | null | undefined;
|
|
20
|
+
hasHeader?: boolean | null | undefined;
|
|
21
|
+
hasFooter?: boolean | null | undefined;
|
|
22
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
23
|
+
export declare const modalFooterVariants: (props?: ({
|
|
24
|
+
layout?: "draggable" | "default" | "bottom-sheet" | "slide-left" | "slide-right" | "full-page" | "full-page-reverse" | null | undefined;
|
|
25
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
26
|
+
export declare const modalDimVariants: (props?: ({
|
|
27
|
+
visible?: boolean | null | undefined;
|
|
28
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
29
|
+
//# sourceMappingURL=ModalTemplate.variants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ModalTemplate.variants.d.ts","sourceRoot":"","sources":["../../../src/modal/components/ModalTemplate.variants.ts"],"names":[],"mappings":"AAEA,YAAY,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAE5C,eAAO,MAAM,iBAAiB;;8EAe5B,CAAC;AAEH,eAAO,MAAM,kBAAkB;;;8EAuB7B,CAAC;AAEH,eAAO,MAAM,mBAAmB;;8EAe9B,CAAC;AAEH,eAAO,MAAM,wBAAwB;;8EAenC,CAAC;AAEH,eAAO,MAAM,kBAAkB;;8EAe7B,CAAC;AAEH,eAAO,MAAM,iBAAiB;;;;8EAyB5B,CAAC;AAEH,eAAO,MAAM,mBAAmB;;8EAe9B,CAAC;AAEH,eAAO,MAAM,gBAAgB;;8EAU3B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/modal/constants.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAElD,eAAO,MAAM,kBAAkB,EAAE,kBAGhC,CAAC"}
|
package/dist/modal/index.d.ts
CHANGED
|
@@ -1,87 +1,16 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
|
|
7
|
-
type Props = DefaultModalOption & {
|
|
8
|
-
className?: string;
|
|
9
|
-
breakPoints?: BreakPoints;
|
|
10
|
-
};
|
|
11
|
-
declare const ModalContainer: ({ className, breakPoints, ...defaultOption }: Props) => react_jsx_runtime.JSX.Element;
|
|
12
|
-
|
|
13
|
-
interface PropsType$1 {
|
|
14
|
-
id: string;
|
|
15
|
-
className?: string;
|
|
16
|
-
}
|
|
17
|
-
declare const ModalPortalTarget: ({ id, className }: PropsType$1) => react_jsx_runtime.JSX.Element;
|
|
18
|
-
|
|
19
|
-
interface PropsType extends ModalTemplatePropsType {
|
|
20
|
-
layout?: ModalLayout;
|
|
21
|
-
hideHeader?: boolean;
|
|
22
|
-
hideFooter?: boolean;
|
|
23
|
-
footer?: ReactElement | string;
|
|
24
|
-
innerClassName?: string;
|
|
25
|
-
bodyClassName?: string;
|
|
26
|
-
footerClassName?: string;
|
|
27
|
-
dimClassName?: string;
|
|
28
|
-
headerClassName?: string;
|
|
29
|
-
enableDrag?: boolean;
|
|
30
|
-
dragPersistKey?: string;
|
|
31
|
-
}
|
|
32
|
-
declare const ModalTemplate: React__default.ForwardRefExoticComponent<PropsType & React__default.RefAttributes<HTMLDivElement>>;
|
|
33
|
-
|
|
34
|
-
declare class Modal {
|
|
35
|
-
private _modalList;
|
|
36
|
-
private defaultOption;
|
|
37
|
-
observeFunction: ((modalList: ModalType[]) => void) | null;
|
|
38
|
-
private enableKeyDownEvent;
|
|
39
|
-
set modalList(value: ModalType[]);
|
|
40
|
-
get modalList(): ModalType[];
|
|
41
|
-
handleKeyPressEvent: (e: KeyboardEvent) => void;
|
|
42
|
-
checkModal(params: {
|
|
43
|
-
componentName: string;
|
|
44
|
-
onlyLastCheck?: boolean;
|
|
45
|
-
} | {
|
|
46
|
-
modalId: string;
|
|
47
|
-
onlyLastCheck?: boolean;
|
|
48
|
-
}): boolean;
|
|
49
|
-
deleteModal(id: string): void;
|
|
50
|
-
closeModal(id: string, isAnimation?: boolean): void;
|
|
51
|
-
resolveModal<T extends ModalType>({ modal, result, useClose, }: {
|
|
52
|
-
modal: T;
|
|
53
|
-
result: unknown;
|
|
54
|
-
useClose?: boolean;
|
|
55
|
-
}): void;
|
|
56
|
-
resetModal(): void;
|
|
57
|
-
makeProps<P extends DefaultModalPropsType>(props: P): P & {
|
|
58
|
-
animation: {
|
|
59
|
-
name?: string;
|
|
60
|
-
mobile?: string;
|
|
61
|
-
delay?: number;
|
|
62
|
-
duration?: number;
|
|
63
|
-
timingFunc?: string;
|
|
64
|
-
leaveTimingFunc?: string;
|
|
65
|
-
};
|
|
66
|
-
};
|
|
67
|
-
private handleToggle;
|
|
68
|
-
private handleToggleOnlyOne;
|
|
69
|
-
openModal<T extends ComponentType<Record<string, unknown>>>({ component, props, }: {
|
|
70
|
-
component: T;
|
|
71
|
-
props?: ModalPropsOf<T> & DefaultModalPropsType;
|
|
72
|
-
}): Promise<unknown>;
|
|
73
|
-
getDefaultOption(): DefaultModalOption;
|
|
74
|
-
observe({ options, observeFunction, }: {
|
|
75
|
-
options?: DefaultModalOption;
|
|
76
|
-
observeFunction: (modalList: ModalType[]) => void;
|
|
77
|
-
}): void;
|
|
78
|
-
unobserve(): void;
|
|
79
|
-
}
|
|
80
|
-
|
|
1
|
+
import ModalContainer from './components/ModalContainer';
|
|
2
|
+
import ModalPortalTarget from './components/ModalPortalTarget';
|
|
3
|
+
import ModalTemplate from './components/ModalTemplate';
|
|
4
|
+
import { type Modal } from './Modal';
|
|
5
|
+
import type { OpenModal } from './types';
|
|
81
6
|
declare const openModal: OpenModal;
|
|
82
7
|
declare const closeModal: Modal['closeModal'];
|
|
83
8
|
declare const checkModal: Modal['checkModal'];
|
|
84
9
|
declare const resetModal: () => void;
|
|
85
10
|
declare const getModalDefaultOption: Modal['getDefaultOption'];
|
|
86
|
-
|
|
87
|
-
export {
|
|
11
|
+
export { useModal } from '../hooks/useModal';
|
|
12
|
+
export { openModal as modal, openModal, closeModal, checkModal, resetModal, getModalDefaultOption, ModalContainer, ModalPortalTarget, ModalTemplate, };
|
|
13
|
+
export type { ModalTemplateProps } from './components/ModalTemplate';
|
|
14
|
+
export type { ModalLayout } from './components/ModalTemplate.variants';
|
|
15
|
+
export type { ModalType, ModalPropsType, ModalTemplatePropsType, DefaultModalPropsType, AnimationOptions, OpenModal, } from './types';
|
|
16
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/modal/index.ts"],"names":[],"mappings":"AAAA,OAAO,cAAc,MAAM,6BAA6B,CAAA;AACxD,OAAO,iBAAiB,MAAM,gCAAgC,CAAA;AAC9D,OAAO,aAAa,MAAM,4BAA4B,CAAA;AACtD,OAAc,EAAE,KAAK,KAAK,EAAE,MAAM,SAAS,CAAA;AAC3C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AAExC,QAAA,MAAM,SAAS,EAAE,SAaF,CAAA;AAEf,QAAA,MAAM,UAAU,EAAE,KAAK,CAAC,YAAY,CAEnC,CAAA;AAED,QAAA,MAAM,UAAU,EAAE,KAAK,CAAC,YAAY,CAEnC,CAAA;AAED,QAAA,MAAM,UAAU,YAEf,CAAA;AAED,QAAA,MAAM,qBAAqB,EAAE,KAAK,CAAC,kBAAkB,CAEpD,CAAA;AAED,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAA;AAE5C,OAAO,EACL,SAAS,IAAI,KAAK,EAClB,SAAS,EACT,UAAU,EACV,UAAU,EACV,UAAU,EACV,qBAAqB,EACrB,cAAc,EACd,iBAAiB,EACjB,aAAa,GACd,CAAA;AAED,YAAY,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAA;AACpE,YAAY,EAAE,WAAW,EAAE,MAAM,qCAAqC,CAAA;AACtE,YAAY,EACV,SAAS,EACT,cAAc,EACd,sBAAsB,EACtB,qBAAqB,EACrB,gBAAgB,EAChB,SAAS,GACV,MAAM,SAAS,CAAA"}
|
package/dist/modal/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunks/chunk-HHXDOKXY.js');
|
|
5
|
-
require('../chunks/chunk-NHDGKOAM.js');
|
|
3
|
+
var chunkHFBTS42N_js = require('../chunks/chunk-HFBTS42N.js');
|
|
6
4
|
require('../chunks/chunk-T2IY2TSR.js');
|
|
7
5
|
require('../chunks/chunk-XEHFB62A.js');
|
|
8
6
|
require('../chunks/chunk-INP2AH3B.js');
|
|
9
7
|
var chunkHUPAHDJ7_js = require('../chunks/chunk-HUPAHDJ7.js');
|
|
8
|
+
require('../chunks/chunk-HHXDOKXY.js');
|
|
9
|
+
require('../chunks/chunk-NHDGKOAM.js');
|
|
10
10
|
require('../chunks/chunk-CZC76ZD5.js');
|
|
11
11
|
require('../chunks/chunk-JNMCYWGY.js');
|
|
12
12
|
|
|
@@ -14,39 +14,39 @@ require('../chunks/chunk-JNMCYWGY.js');
|
|
|
14
14
|
|
|
15
15
|
Object.defineProperty(exports, "ModalContainer", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkHFBTS42N_js.ModalContainer_default; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "ModalPortalTarget", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkHFBTS42N_js.ModalPortalTarget_default; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "ModalTemplate", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkHFBTS42N_js.ModalTemplate_default; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "checkModal", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkHFBTS42N_js.checkModal; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "closeModal", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkHFBTS42N_js.closeModal; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "getModalDefaultOption", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkHFBTS42N_js.getModalDefaultOption; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "modal", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkHFBTS42N_js.openModal; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "openModal", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkHFBTS42N_js.openModal; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "resetModal", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkHFBTS42N_js.resetModal; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "useModal", {
|
|
52
52
|
enumerable: true,
|
package/dist/modal/index.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { ModalContainer_default as ModalContainer, ModalPortalTarget_default as ModalPortalTarget, ModalTemplate_default as ModalTemplate, checkModal, closeModal, getModalDefaultOption, openModal as modal, openModal, resetModal } from '../chunks/chunk-
|
|
2
|
-
import '../chunks/chunk-U56AGSLE.mjs';
|
|
3
|
-
import '../chunks/chunk-4J3GCZ7W.mjs';
|
|
1
|
+
export { ModalContainer_default as ModalContainer, ModalPortalTarget_default as ModalPortalTarget, ModalTemplate_default as ModalTemplate, checkModal, closeModal, getModalDefaultOption, openModal as modal, openModal, resetModal } from '../chunks/chunk-CWMLTXOH.mjs';
|
|
4
2
|
import '../chunks/chunk-54IA2P2Z.mjs';
|
|
5
3
|
import '../chunks/chunk-YEWKPWK3.mjs';
|
|
6
4
|
import '../chunks/chunk-OTGS6BDQ.mjs';
|
|
7
5
|
export { useModal } from '../chunks/chunk-6H7V2I3X.mjs';
|
|
6
|
+
import '../chunks/chunk-U56AGSLE.mjs';
|
|
7
|
+
import '../chunks/chunk-4J3GCZ7W.mjs';
|
|
8
8
|
import '../chunks/chunk-MCKOWMLS.mjs';
|
|
9
9
|
import '../chunks/chunk-CVYXRSXT.mjs';
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { type ComponentType, type FunctionComponent, type MutableRefObject, type ReactNode } from 'react';
|
|
2
|
+
export type ModalLayout = 'default' | 'bottom-sheet' | 'slide-left' | 'slide-right' | 'full-page' | 'full-page-reverse' | 'draggable';
|
|
3
|
+
export interface AnimationOptions {
|
|
4
|
+
name?: string;
|
|
5
|
+
mobile?: string;
|
|
6
|
+
delay?: number;
|
|
7
|
+
duration?: number;
|
|
8
|
+
timingFunc?: string;
|
|
9
|
+
leaveTimingFunc?: string;
|
|
10
|
+
}
|
|
11
|
+
export interface DefaultModalOption {
|
|
12
|
+
animation?: AnimationOptions;
|
|
13
|
+
dimCloseEnable?: boolean;
|
|
14
|
+
}
|
|
15
|
+
export interface ModalType {
|
|
16
|
+
id: string;
|
|
17
|
+
props: Record<string, unknown>;
|
|
18
|
+
component: ComponentType<Record<string, unknown>>;
|
|
19
|
+
isUpdate?: boolean;
|
|
20
|
+
close?: (modalId: string, isAnimation?: boolean) => void;
|
|
21
|
+
onOpen?: (value: ModalType) => void;
|
|
22
|
+
onClose?: () => void;
|
|
23
|
+
resolve: <T>(value: T) => void;
|
|
24
|
+
reject: (reason?: unknown) => void;
|
|
25
|
+
}
|
|
26
|
+
export interface ModalTemplatePropsType {
|
|
27
|
+
className?: string;
|
|
28
|
+
layout?: ModalLayout;
|
|
29
|
+
children: ReactNode;
|
|
30
|
+
showDim?: boolean;
|
|
31
|
+
title?: ReactNode | string;
|
|
32
|
+
desc?: ReactNode | string;
|
|
33
|
+
dimClose?: boolean;
|
|
34
|
+
animation?: AnimationOptions;
|
|
35
|
+
close: (isAnimation?: boolean) => void | Promise<unknown>;
|
|
36
|
+
}
|
|
37
|
+
export interface ModalPropsType<T = unknown> {
|
|
38
|
+
children?: ReactNode;
|
|
39
|
+
className?: string;
|
|
40
|
+
layout?: ModalLayout;
|
|
41
|
+
componentName?: string;
|
|
42
|
+
animation?: AnimationOptions;
|
|
43
|
+
close: (isAnimation?: boolean) => void | Promise<unknown>;
|
|
44
|
+
resolve: (value: T, useClose?: boolean) => void;
|
|
45
|
+
}
|
|
46
|
+
export interface DefaultModalPropsType {
|
|
47
|
+
id?: string;
|
|
48
|
+
duplicateCheck?: boolean;
|
|
49
|
+
portalId?: string;
|
|
50
|
+
scrollEnable?: boolean;
|
|
51
|
+
isToggle?: boolean;
|
|
52
|
+
isAlone?: boolean;
|
|
53
|
+
clickOutSideRef?: MutableRefObject<HTMLElement>;
|
|
54
|
+
componentName?: string;
|
|
55
|
+
animation?: AnimationOptions;
|
|
56
|
+
layout?: ModalLayout;
|
|
57
|
+
disableEscapeKeyPress?: boolean;
|
|
58
|
+
onOpen?: (value: ModalType) => void;
|
|
59
|
+
onClose?: () => void;
|
|
60
|
+
}
|
|
61
|
+
type PropsOf<T> = T extends FunctionComponent<infer P> ? P : undefined;
|
|
62
|
+
export type ModalPropsOf<T> = Omit<PropsOf<T>, 'close' | 'resolve'>;
|
|
63
|
+
type RequiredKeys<T> = {
|
|
64
|
+
[K in keyof T]: T extends Record<K, T[K]> ? K : never;
|
|
65
|
+
}[keyof T];
|
|
66
|
+
type HasRequiredKeys<T> = RequiredKeys<T> extends never ? false : true;
|
|
67
|
+
export type OpenModalPropsAndOptions<T> = HasRequiredKeys<ModalPropsOf<T>> extends true ? ModalPropsOf<T> & DefaultModalPropsType : (ModalPropsOf<T> & DefaultModalPropsType) | undefined;
|
|
68
|
+
type OpenModalProps<T> = HasRequiredKeys<ModalPropsOf<T>> extends true ? {
|
|
69
|
+
component: T;
|
|
70
|
+
props: ModalPropsOf<T>;
|
|
71
|
+
options?: DefaultModalPropsType;
|
|
72
|
+
} : {
|
|
73
|
+
component: T;
|
|
74
|
+
props?: ModalPropsOf<T>;
|
|
75
|
+
options?: DefaultModalPropsType;
|
|
76
|
+
};
|
|
77
|
+
export interface OpenModal {
|
|
78
|
+
<T extends ComponentType<any>>(params: OpenModalProps<T>): Promise<unknown>;
|
|
79
|
+
<T extends ComponentType<any>>(component: T, props?: OpenModalPropsAndOptions<T>): Promise<unknown>;
|
|
80
|
+
}
|
|
81
|
+
export type CloseModalType = (id: number | string, isAnimation?: boolean) => void;
|
|
82
|
+
export type CheckModalType = (params: {
|
|
83
|
+
componentName: string;
|
|
84
|
+
onlyLastCheck?: boolean;
|
|
85
|
+
} | {
|
|
86
|
+
modalId: string;
|
|
87
|
+
onlyLastCheck?: boolean;
|
|
88
|
+
}) => boolean;
|
|
89
|
+
export {};
|
|
90
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/modal/types.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,aAAa,EAClB,KAAK,iBAAiB,EACtB,KAAK,gBAAgB,EACrB,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AAEf,MAAM,MAAM,WAAW,GACnB,SAAS,GACT,cAAc,GACd,YAAY,GACZ,aAAa,GACb,WAAW,GACX,mBAAmB,GACnB,WAAW,CAAC;AAEhB,MAAM,WAAW,gBAAgB;IAC/B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CA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O,CAAC,CAAC;CACrB;AAED,MAAM,MAAM,cAAc,GAAG,CAC3B,EAAE,EAAE,MAAM,GAAG,MAAM,EACnB,WAAW,CAAC,EAAE,OAAO,KAClB,IAAI,CAAC;AAEV,MAAM,MAAM,cAAc,GAAG,CAC3B,MAAM,EACF;IAAE,aAAa,EAAE,MAAM,CAAC;IAAC,aAAa,CAAC,EAAE,OAAO,CAAA;CAAE,GAClD;IAAE,OAAO,EAAE,MAAM,CAAC;IAAC,aAAa,CAAC,EAAE,OAAO,CAAA;CAAE,KAC7C,OAAO,CAAC"}
|
package/dist/number-input.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk2T7RUYEK_js = require('./chunks/chunk-2T7RUYEK.js');
|
|
4
4
|
require('./chunks/chunk-CZC76ZD5.js');
|
|
5
5
|
require('./chunks/chunk-JNMCYWGY.js');
|
|
6
6
|
|
|
@@ -8,13 +8,13 @@ require('./chunks/chunk-JNMCYWGY.js');
|
|
|
8
8
|
|
|
9
9
|
Object.defineProperty(exports, "NumberInput", {
|
|
10
10
|
enumerable: true,
|
|
11
|
-
get: function () { return
|
|
11
|
+
get: function () { return chunk2T7RUYEK_js.NumberInput; }
|
|
12
12
|
});
|
|
13
13
|
Object.defineProperty(exports, "numberInputBind", {
|
|
14
14
|
enumerable: true,
|
|
15
|
-
get: function () { return
|
|
15
|
+
get: function () { return chunk2T7RUYEK_js.numberInputBind; }
|
|
16
16
|
});
|
|
17
17
|
Object.defineProperty(exports, "numberInputVariants", {
|
|
18
18
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunk2T7RUYEK_js.numberInputVariants; }
|
|
20
20
|
});
|
package/dist/number-input.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { NumberInput, numberInputBind, numberInputVariants } from './chunks/chunk-
|
|
1
|
+
export { NumberInput, numberInputBind, numberInputVariants } from './chunks/chunk-BJM3NDT2.mjs';
|
|
2
2
|
import './chunks/chunk-MCKOWMLS.mjs';
|
|
3
3
|
import './chunks/chunk-CVYXRSXT.mjs';
|
package/dist/nx-image.js
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkNZHK76R3_js = require('./chunks/chunk-NZHK76R3.js');
|
|
4
|
+
require('./chunks/chunk-CZC76ZD5.js');
|
|
5
|
+
require('./chunks/chunk-JNMCYWGY.js');
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
Object.defineProperty(exports, "NxImage", {
|
|
10
|
+
enumerable: true,
|
|
11
|
+
get: function () { return chunkNZHK76R3_js.NxImage; }
|
|
12
|
+
});
|
package/dist/progress.js
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkZI4LN2B2_js = require('./chunks/chunk-ZI4LN2B2.js');
|
|
4
|
+
require('./chunks/chunk-CZC76ZD5.js');
|
|
5
|
+
require('./chunks/chunk-JNMCYWGY.js');
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
Object.defineProperty(exports, "Progress", {
|
|
10
|
+
enumerable: true,
|
|
11
|
+
get: function () { return chunkZI4LN2B2_js.Progress; }
|
|
12
|
+
});
|
|
13
|
+
Object.defineProperty(exports, "progressVariants", {
|
|
14
|
+
enumerable: true,
|
|
15
|
+
get: function () { return chunkZI4LN2B2_js.progressVariants; }
|
|
16
|
+
});
|