@pixpilot/shadcn-ui 0.1.0 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/AbsoluteFill.cjs +24 -1
- package/dist/AbsoluteFill.d.ts +2 -2
- package/dist/AbsoluteFill.js +21 -1
- package/dist/Alert.cjs +81 -1
- package/dist/Alert.js +77 -1
- package/dist/Button.cjs +84 -1
- package/dist/Button.js +79 -1
- package/dist/CloseButtonAbsolute.cjs +20 -1
- package/dist/CloseButtonAbsolute.js +16 -1
- package/dist/CloseButtonRounded.cjs +22 -1
- package/dist/CloseButtonRounded.js +17 -1
- package/dist/Combobox.cjs +53 -1
- package/dist/Combobox.js +48 -1
- package/dist/CommandOptionList.cjs +29 -1
- package/dist/CommandOptionList.js +25 -1
- package/dist/ContentCard.cjs +27 -1
- package/dist/ContentCard.js +23 -1
- package/dist/DatePicker.cjs +38 -1
- package/dist/DatePicker.d.ts +2 -2
- package/dist/DatePicker.js +33 -1
- package/dist/LoadingOverlay.cjs +65 -1
- package/dist/LoadingOverlay.js +60 -1
- package/dist/Select.cjs +27 -1
- package/dist/Select.d.cts +2 -2
- package/dist/Select.d.ts +2 -2
- package/dist/Select.js +23 -1
- package/dist/Slider.cjs +19 -1
- package/dist/Slider.js +15 -1
- package/dist/ThemeToggle.cjs +98 -1
- package/dist/ThemeToggle.d.cts +2 -2
- package/dist/ThemeToggle.d.ts +2 -2
- package/dist/ThemeToggle.js +94 -1
- package/dist/_virtual/rolldown_runtime.cjs +44 -1
- package/dist/_virtual/rolldown_runtime.js +43 -0
- package/dist/confirmation-dialog/ConfirmationDialog.cjs +47 -1
- package/dist/confirmation-dialog/ConfirmationDialog.d.cts +1 -0
- package/dist/confirmation-dialog/ConfirmationDialog.js +43 -1
- package/dist/confirmation-dialog/DialogProvider.cjs +16 -1
- package/dist/confirmation-dialog/DialogProvider.js +12 -1
- package/dist/confirmation-dialog/confirmation-dialogs.cjs +14 -1
- package/dist/confirmation-dialog/confirmation-dialogs.js +12 -1
- package/dist/confirmation-dialog/index.cjs +7 -1
- package/dist/confirmation-dialog/index.js +6 -1
- package/dist/file-upload/FileUpload.cjs +68 -0
- package/dist/file-upload/FileUpload.d.cts +7 -0
- package/dist/file-upload/FileUpload.d.ts +7 -0
- package/dist/file-upload/FileUpload.js +63 -0
- package/dist/file-upload/FileUploadItems.cjs +36 -0
- package/dist/file-upload/FileUploadItems.js +32 -0
- package/dist/file-upload/FileUploadListItem.cjs +89 -0
- package/dist/file-upload/FileUploadListItem.js +83 -0
- package/dist/file-upload/hooks/index.cjs +4 -0
- package/dist/file-upload/hooks/index.d.cts +2 -0
- package/dist/file-upload/hooks/index.d.ts +2 -0
- package/dist/file-upload/hooks/index.js +3 -0
- package/dist/file-upload/hooks/use-file-error.cjs +15 -0
- package/dist/file-upload/hooks/use-file-error.js +14 -0
- package/dist/file-upload/hooks/use-file-upload-progress-callbacks.cjs +34 -0
- package/dist/file-upload/hooks/use-file-upload-progress-callbacks.d.cts +1 -0
- package/dist/file-upload/hooks/use-file-upload-progress-callbacks.d.ts +1 -0
- package/dist/file-upload/hooks/use-file-upload-progress-callbacks.js +32 -0
- package/dist/file-upload/hooks/use-file-upload-store.cjs +77 -0
- package/dist/file-upload/hooks/use-file-upload-store.d.cts +2 -0
- package/dist/file-upload/hooks/use-file-upload-store.d.ts +2 -0
- package/dist/file-upload/hooks/use-file-upload-store.js +75 -0
- package/dist/file-upload/index.cjs +6 -0
- package/dist/file-upload/index.d.cts +3 -0
- package/dist/file-upload/index.d.ts +3 -0
- package/dist/file-upload/index.js +5 -0
- package/dist/file-upload/types/index.d.cts +40 -0
- package/dist/file-upload/types/index.d.ts +40 -0
- package/dist/file-upload/utils/create-placeholder-file.cjs +12 -0
- package/dist/file-upload/utils/create-placeholder-file.js +10 -0
- package/dist/file-upload/utils/get-file-key.cjs +9 -0
- package/dist/file-upload/utils/get-file-key.d.cts +1 -0
- package/dist/file-upload/utils/get-file-key.d.ts +1 -0
- package/dist/file-upload/utils/get-file-key.js +7 -0
- package/dist/file-upload/utils/get-file-meta.cjs +24 -0
- package/dist/file-upload/utils/get-file-meta.d.cts +1 -0
- package/dist/file-upload/utils/get-file-meta.d.ts +1 -0
- package/dist/file-upload/utils/get-file-meta.js +21 -0
- package/dist/file-upload/utils/index.d.cts +4 -0
- package/dist/file-upload/utils/index.d.ts +4 -0
- package/dist/file-upload/utils/is-file-equal.cjs +10 -0
- package/dist/file-upload/utils/is-file-equal.d.cts +1 -0
- package/dist/file-upload/utils/is-file-equal.d.ts +1 -0
- package/dist/file-upload/utils/is-file-equal.js +8 -0
- package/dist/file-upload/utils/merge-file-metadata.cjs +27 -0
- package/dist/file-upload/utils/merge-file-metadata.d.cts +1 -0
- package/dist/file-upload/utils/merge-file-metadata.d.ts +1 -0
- package/dist/file-upload/utils/merge-file-metadata.js +26 -0
- package/dist/file-upload-inline/FileUploadInline.cjs +71 -0
- package/dist/file-upload-inline/FileUploadInline.d.cts +10 -0
- package/dist/file-upload-inline/FileUploadInline.d.ts +10 -0
- package/dist/file-upload-inline/FileUploadInline.js +66 -0
- package/dist/file-upload-inline/FileUploadInlineItem.cjs +96 -0
- package/dist/file-upload-inline/FileUploadInlineItem.js +90 -0
- package/dist/file-upload-inline/defaults.cjs +12 -0
- package/dist/file-upload-inline/defaults.js +10 -0
- package/dist/file-upload-inline/index.cjs +2 -0
- package/dist/file-upload-inline/index.d.cts +2 -0
- package/dist/file-upload-inline/index.d.ts +2 -0
- package/dist/file-upload-inline/index.js +1 -0
- package/dist/file-upload-inline/types.d.cts +16 -0
- package/dist/file-upload-inline/types.d.ts +16 -0
- package/dist/file-upload-inline/utils.cjs +37 -0
- package/dist/file-upload-inline/utils.js +34 -0
- package/dist/hooks/index.cjs +2 -1
- package/dist/hooks/index.js +1 -1
- package/dist/hooks/use-media-query.cjs +9 -1
- package/dist/hooks/use-media-query.js +7 -1
- package/dist/icon-selector/IconPicker.cjs +93 -1
- package/dist/icon-selector/IconPicker.d.cts +3 -2
- package/dist/icon-selector/IconPicker.d.ts +3 -2
- package/dist/icon-selector/IconPicker.js +88 -1
- package/dist/icon-selector/constants.cjs +7 -1
- package/dist/icon-selector/constants.js +5 -0
- package/dist/icon-selector/icon-picker-container.cjs +35 -1
- package/dist/icon-selector/icon-picker-container.js +32 -1
- package/dist/icon-selector/icon-picker-content.cjs +146 -1
- package/dist/icon-selector/icon-picker-content.js +141 -1
- package/dist/icon-selector/index.cjs +2 -1
- package/dist/icon-selector/index.d.cts +1 -2
- package/dist/icon-selector/index.d.ts +1 -2
- package/dist/icon-selector/index.js +1 -1
- package/dist/icon-selector/types.d.cts +4 -2
- package/dist/icon-selector/types.d.ts +4 -2
- package/dist/icon-selector/use-async-providers.cjs +69 -1
- package/dist/icon-selector/use-async-providers.js +67 -1
- package/dist/icon-selector/utils/is-valid-provider.cjs +12 -1
- package/dist/icon-selector/utils/is-valid-provider.js +10 -1
- package/dist/icon-selector/virtualized-icon-grid.cjs +137 -1
- package/dist/icon-selector/virtualized-icon-grid.js +132 -1
- package/dist/index.cjs +76 -1
- package/dist/index.d.cts +12 -7
- package/dist/index.d.ts +12 -7
- package/dist/index.js +37 -1
- package/dist/node_modules/.pnpm/@diceui_shared@0.12.0_@floating-ui_react@0.27.16_react-dom@19.2.0_react@19.2.0__react@1_2c51ffe880f01dd537d5b6a13313daf4/node_modules/@diceui/shared/dist/index.cjs +558 -0
- package/dist/node_modules/.pnpm/@diceui_shared@0.12.0_@floating-ui_react@0.27.16_react-dom@19.2.0_react@19.2.0__react@1_2c51ffe880f01dd537d5b6a13313daf4/node_modules/@diceui/shared/dist/index.js +555 -0
- package/dist/node_modules/.pnpm/@diceui_tags-input@0.7.2_@floating-ui_react@0.27.16_react-dom@19.2.0_react@19.2.0__reac_e193dc2ff0d426ed009417f8d89778fd/node_modules/@diceui/tags-input/dist/index.cjs +566 -0
- package/dist/node_modules/.pnpm/@diceui_tags-input@0.7.2_@floating-ui_react@0.27.16_react-dom@19.2.0_react@19.2.0__reac_e193dc2ff0d426ed009417f8d89778fd/node_modules/@diceui/tags-input/dist/index.js +565 -0
- package/dist/node_modules/.pnpm/@floating-ui_core@1.7.3/node_modules/@floating-ui/core/dist/floating-ui.core.cjs +695 -0
- package/dist/node_modules/.pnpm/@floating-ui_core@1.7.3/node_modules/@floating-ui/core/dist/floating-ui.core.js +679 -0
- package/dist/node_modules/.pnpm/@floating-ui_dom@1.7.4/node_modules/@floating-ui/dom/dist/floating-ui.dom.cjs +521 -0
- package/dist/node_modules/.pnpm/@floating-ui_dom@1.7.4/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +503 -0
- package/dist/node_modules/.pnpm/@floating-ui_react-dom@2.1.6_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.cjs +282 -0
- package/dist/node_modules/.pnpm/@floating-ui_react-dom@2.1.6_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +266 -0
- package/dist/node_modules/.pnpm/@floating-ui_react@0.27.16_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@floating-ui/react/dist/floating-ui.react.esm.cjs +3767 -0
- package/dist/node_modules/.pnpm/@floating-ui_react@0.27.16_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@floating-ui/react/dist/floating-ui.react.esm.js +3747 -0
- package/dist/node_modules/.pnpm/@floating-ui_react@0.27.16_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@floating-ui/react/dist/floating-ui.react.utils.cjs +426 -0
- package/dist/node_modules/.pnpm/@floating-ui_react@0.27.16_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@floating-ui/react/dist/floating-ui.react.utils.js +379 -0
- package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.cjs +165 -0
- package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.cjs +175 -0
- package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +151 -0
- package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +138 -0
- package/dist/node_modules/.pnpm/@radix-ui_primitive@1.1.3/node_modules/@radix-ui/primitive/dist/index.cjs +13 -0
- package/dist/node_modules/.pnpm/@radix-ui_primitive@1.1.3/node_modules/@radix-ui/primitive/dist/index.js +11 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-compose-refs@1.1.2_@types_react@19.2.6_react@19.2.0/node_modules/@radix-ui/react-compose-refs/dist/index.cjs +33 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-compose-refs@1.1.2_@types_react@19.2.6_react@19.2.0/node_modules/@radix-ui/react-compose-refs/dist/index.js +30 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-context@1.1.2_@types_react@19.2.6_react@19.2.0/node_modules/@radix-ui/react-context/dist/index.cjs +92 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-context@1.1.2_@types_react@19.2.6_react@19.2.0/node_modules/@radix-ui/react-context/dist/index.js +88 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-dialog@1.1.15_@types_react-dom@19.2.3_@types_react@19.2.6__@types_react_4f1d9653b0e2175502748f45fd432185/node_modules/@radix-ui/react-dialog/dist/index.cjs +310 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-dialog@1.1.15_@types_react-dom@19.2.3_@types_react@19.2.6__@types_react_4f1d9653b0e2175502748f45fd432185/node_modules/@radix-ui/react-dialog/dist/index.js +299 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-dismissable-layer@1.1.11_@types_react-dom@19.2.3_@types_react@19.2.6__@_9ee1db7daf927866cf505b31d40047ad/node_modules/@radix-ui/react-dismissable-layer/dist/index.cjs +190 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-dismissable-layer@1.1.11_@types_react-dom@19.2.3_@types_react@19.2.6__@_9ee1db7daf927866cf505b31d40047ad/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +187 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-focus-guards@1.1.3_@types_react@19.2.6_react@19.2.0/node_modules/@radix-ui/react-focus-guards/dist/index.cjs +34 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-focus-guards@1.1.3_@types_react@19.2.6_react@19.2.0/node_modules/@radix-ui/react-focus-guards/dist/index.js +32 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-focus-scope@1.1.7_@types_react-dom@19.2.3_@types_react@19.2.6__@types_r_0a31b7f987af9482d13505312e1a1be9/node_modules/@radix-ui/react-focus-scope/dist/index.cjs +203 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-focus-scope@1.1.7_@types_react-dom@19.2.3_@types_react@19.2.6__@types_r_0a31b7f987af9482d13505312e1a1be9/node_modules/@radix-ui/react-focus-scope/dist/index.js +200 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-id@1.1.1_@types_react@19.2.6_react@19.2.0/node_modules/@radix-ui/react-id/dist/index.cjs +18 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-id@1.1.1_@types_react@19.2.6_react@19.2.0/node_modules/@radix-ui/react-id/dist/index.js +16 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-portal@1.1.9_@types_react-dom@19.2.3_@types_react@19.2.6__@types_react@_1bb4e0f97f86496802d28a2e74e2a8b9/node_modules/@radix-ui/react-portal/dist/index.cjs +29 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-portal@1.1.9_@types_react-dom@19.2.3_@types_react@19.2.6__@types_react@_1bb4e0f97f86496802d28a2e74e2a8b9/node_modules/@radix-ui/react-portal/dist/index.js +25 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-presence@1.1.5_@types_react-dom@19.2.3_@types_react@19.2.6__@types_reac_90f8e5c12233caef3399d5fd66452a13/node_modules/@radix-ui/react-presence/dist/index.cjs +110 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-presence@1.1.5_@types_react-dom@19.2.3_@types_react@19.2.6__@types_reac_90f8e5c12233caef3399d5fd66452a13/node_modules/@radix-ui/react-presence/dist/index.js +108 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-primitive@2.1.3_@types_react-dom@19.2.3_@types_react@19.2.6__@types_rea_a92a69cb1cb39305138539e4fa72f596/node_modules/@radix-ui/react-primitive/dist/index.cjs +52 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-primitive@2.1.3_@types_react-dom@19.2.3_@types_react@19.2.6__@types_rea_a92a69cb1cb39305138539e4fa72f596/node_modules/@radix-ui/react-primitive/dist/index.js +47 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-slot@1.2.3_@types_react@19.2.6_react@19.2.0/node_modules/@radix-ui/react-slot/dist/index.cjs +92 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-slot@1.2.3_@types_react@19.2.6_react@19.2.0/node_modules/@radix-ui/react-slot/dist/index.js +89 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-slot@1.2.4_@types_react@19.2.6_react@19.2.0/node_modules/@radix-ui/react-slot/dist/index.cjs +103 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-slot@1.2.4_@types_react@19.2.6_react@19.2.0/node_modules/@radix-ui/react-slot/dist/index.js +100 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-use-callback-ref@1.1.1_@types_react@19.2.6_react@19.2.0/node_modules/@radix-ui/react-use-callback-ref/dist/index.cjs +15 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-use-callback-ref@1.1.1_@types_react@19.2.6_react@19.2.0/node_modules/@radix-ui/react-use-callback-ref/dist/index.js +13 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-use-controllable-state@1.2.2_@types_react@19.2.6_react@19.2.0/node_modules/@radix-ui/react-use-controllable-state/dist/index.cjs +64 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-use-controllable-state@1.2.2_@types_react@19.2.6_react@19.2.0/node_modules/@radix-ui/react-use-controllable-state/dist/index.js +62 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-use-escape-keydown@1.1.1_@types_react@19.2.6_react@19.2.0/node_modules/@radix-ui/react-use-escape-keydown/dist/index.cjs +19 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-use-escape-keydown@1.1.1_@types_react@19.2.6_react@19.2.0/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js +17 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-use-layout-effect@1.1.1_@types_react@19.2.6_react@19.2.0/node_modules/@radix-ui/react-use-layout-effect/dist/index.cjs +9 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-use-layout-effect@1.1.1_@types_react@19.2.6_react@19.2.0/node_modules/@radix-ui/react-use-layout-effect/dist/index.js +7 -0
- package/dist/node_modules/.pnpm/aria-hidden@1.2.6/node_modules/aria-hidden/dist/es2015/index.js +108 -0
- package/dist/node_modules/.pnpm/aria-hidden@1.2.6/node_modules/aria-hidden/dist/es5/index.cjs +155 -0
- package/dist/node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.cjs +19 -0
- package/dist/node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.js +17 -0
- package/dist/node_modules/.pnpm/detect-node-es@1.1.0/node_modules/detect-node-es/es5/node.cjs +14 -0
- package/dist/node_modules/.pnpm/get-nonce@1.0.1/node_modules/get-nonce/dist/es2015/index.js +9 -0
- package/dist/node_modules/.pnpm/get-nonce@1.0.1/node_modules/get-nonce/dist/es5/index.cjs +22 -0
- package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll-bar/dist/es2015/component.js +46 -0
- package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll-bar/dist/es2015/constants.js +12 -0
- package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll-bar/dist/es2015/index.js +3 -0
- package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll-bar/dist/es2015/utils.js +37 -0
- package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll-bar/dist/es5/component.cjs +61 -0
- package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll-bar/dist/es5/constants.cjs +23 -0
- package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll-bar/dist/es5/index.cjs +57 -0
- package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll-bar/dist/es5/utils.cjs +49 -0
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.1_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll/dist/es2015/Combination.js +17 -0
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.1_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll/dist/es2015/SideEffect.js +163 -0
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.1_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll/dist/es2015/UI.js +64 -0
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.1_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js +16 -0
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.1_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll/dist/es2015/handleScroll.js +85 -0
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.1_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll/dist/es2015/medium.js +7 -0
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.1_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll/dist/es2015/sidecar.js +9 -0
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.1_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll/dist/es5/Combination.cjs +29 -0
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.1_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll/dist/es5/SideEffect.cjs +179 -0
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.1_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll/dist/es5/UI.cjs +79 -0
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.1_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll/dist/es5/aggresiveCapture.cjs +27 -0
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.1_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll/dist/es5/handleScroll.cjs +98 -0
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.1_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll/dist/es5/index.cjs +19 -0
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.1_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll/dist/es5/medium.cjs +18 -0
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.1_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll/dist/es5/sidecar.cjs +21 -0
- package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.2.6_react@19.2.0/node_modules/react-style-singleton/dist/es2015/component.js +21 -0
- package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.2.6_react@19.2.0/node_modules/react-style-singleton/dist/es2015/hook.js +27 -0
- package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.2.6_react@19.2.0/node_modules/react-style-singleton/dist/es2015/index.js +3 -0
- package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.2.6_react@19.2.0/node_modules/react-style-singleton/dist/es2015/singleton.js +43 -0
- package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.2.6_react@19.2.0/node_modules/react-style-singleton/dist/es5/component.cjs +33 -0
- package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.2.6_react@19.2.0/node_modules/react-style-singleton/dist/es5/hook.cjs +40 -0
- package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.2.6_react@19.2.0/node_modules/react-style-singleton/dist/es5/index.cjs +39 -0
- package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.2.6_react@19.2.0/node_modules/react-style-singleton/dist/es5/singleton.cjs +55 -0
- package/dist/node_modules/.pnpm/tabbable@6.3.0/node_modules/tabbable/dist/index.cjs +347 -0
- package/dist/node_modules/.pnpm/tabbable@6.3.0/node_modules/tabbable/dist/index.esm.js +268 -0
- package/dist/node_modules/.pnpm/tailwind-merge@3.4.0/node_modules/tailwind-merge/dist/bundle-mjs.cjs +1895 -0
- package/dist/node_modules/.pnpm/tailwind-merge@3.4.0/node_modules/tailwind-merge/dist/bundle-mjs.js +1893 -0
- package/dist/node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.cjs +557 -0
- package/dist/node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.js +31 -0
- package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.2.6_react@19.2.0/node_modules/use-callback-ref/dist/es2015/assignRef.js +22 -0
- package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.2.6_react@19.2.0/node_modules/use-callback-ref/dist/es2015/useMergeRef.js +47 -0
- package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.2.6_react@19.2.0/node_modules/use-callback-ref/dist/es2015/useRef.js +42 -0
- package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.2.6_react@19.2.0/node_modules/use-callback-ref/dist/es5/assignRef.cjs +34 -0
- package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.2.6_react@19.2.0/node_modules/use-callback-ref/dist/es5/createRef.cjs +39 -0
- package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.2.6_react@19.2.0/node_modules/use-callback-ref/dist/es5/index.cjs +85 -0
- package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.2.6_react@19.2.0/node_modules/use-callback-ref/dist/es5/mergeRef.cjs +40 -0
- package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.2.6_react@19.2.0/node_modules/use-callback-ref/dist/es5/refToCallback.cjs +59 -0
- package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.2.6_react@19.2.0/node_modules/use-callback-ref/dist/es5/transformRef.cjs +34 -0
- package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.2.6_react@19.2.0/node_modules/use-callback-ref/dist/es5/useMergeRef.cjs +61 -0
- package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.2.6_react@19.2.0/node_modules/use-callback-ref/dist/es5/useRef.cjs +53 -0
- package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.2.6_react@19.2.0/node_modules/use-callback-ref/dist/es5/useTransformRef.cjs +38 -0
- package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@19.2.6_react@19.2.0/node_modules/use-sidecar/dist/es2015/exports.js +19 -0
- package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@19.2.6_react@19.2.0/node_modules/use-sidecar/dist/es2015/medium.js +84 -0
- package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@19.2.6_react@19.2.0/node_modules/use-sidecar/dist/es5/config.cjs +22 -0
- package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@19.2.6_react@19.2.0/node_modules/use-sidecar/dist/es5/env.cjs +21 -0
- package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@19.2.6_react@19.2.0/node_modules/use-sidecar/dist/es5/exports.cjs +31 -0
- package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@19.2.6_react@19.2.0/node_modules/use-sidecar/dist/es5/hoc.cjs +31 -0
- package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@19.2.6_react@19.2.0/node_modules/use-sidecar/dist/es5/hook.cjs +60 -0
- package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@19.2.6_react@19.2.0/node_modules/use-sidecar/dist/es5/index.cjs +69 -0
- package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@19.2.6_react@19.2.0/node_modules/use-sidecar/dist/es5/medium.cjs +101 -0
- package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@19.2.6_react@19.2.0/node_modules/use-sidecar/dist/es5/renderProp.cjs +58 -0
- package/dist/packages/shadcn/src/components/index.cjs +6 -0
- package/dist/packages/shadcn/src/components/index.js +5 -0
- package/dist/packages/shadcn/src/components/ui/OrContinueWithSeparator.cjs +6 -0
- package/dist/packages/shadcn/src/components/ui/OrContinueWithSeparator.js +3 -0
- package/dist/packages/shadcn/src/components/ui/alert-dialog.cjs +10 -0
- package/dist/packages/shadcn/src/components/ui/alert-dialog.js +6 -0
- package/dist/packages/shadcn/src/components/ui/alert.cjs +44 -0
- package/dist/packages/shadcn/src/components/ui/alert.js +38 -0
- package/dist/packages/shadcn/src/components/ui/avatar.cjs +5 -0
- package/dist/packages/shadcn/src/components/ui/avatar.js +2 -0
- package/dist/packages/shadcn/src/components/ui/badge.cjs +20 -0
- package/dist/packages/shadcn/src/components/ui/badge.js +16 -0
- package/dist/packages/shadcn/src/components/ui/button.cjs +50 -0
- package/dist/packages/shadcn/src/components/ui/button.js +45 -0
- package/dist/packages/shadcn/src/components/ui/calendar.cjs +8 -0
- package/dist/packages/shadcn/src/components/ui/calendar.js +4 -0
- package/dist/packages/shadcn/src/components/ui/card.cjs +5 -0
- package/dist/packages/shadcn/src/components/ui/card.js +2 -0
- package/dist/packages/shadcn/src/components/ui/checkbox.cjs +10 -0
- package/dist/packages/shadcn/src/components/ui/checkbox.js +6 -0
- package/dist/packages/shadcn/src/components/ui/command.cjs +11 -0
- package/dist/packages/shadcn/src/components/ui/command.js +7 -0
- package/dist/packages/shadcn/src/components/ui/dialog.cjs +93 -0
- package/dist/packages/shadcn/src/components/ui/dialog.js +81 -0
- package/dist/packages/shadcn/src/components/ui/dropdown-menu.cjs +7 -0
- package/dist/packages/shadcn/src/components/ui/dropdown-menu.js +3 -0
- package/dist/packages/shadcn/src/components/ui/file-upload.cjs +49 -0
- package/dist/packages/shadcn/src/components/ui/file-upload.js +45 -0
- package/dist/packages/shadcn/src/components/ui/form.cjs +12 -0
- package/dist/packages/shadcn/src/components/ui/form.js +9 -0
- package/dist/packages/shadcn/src/components/ui/index.cjs +30 -0
- package/dist/packages/shadcn/src/components/ui/index.js +29 -0
- package/dist/packages/shadcn/src/components/ui/input.cjs +5 -0
- package/dist/packages/shadcn/src/components/ui/input.js +2 -0
- package/dist/packages/shadcn/src/components/ui/label.cjs +5 -0
- package/dist/packages/shadcn/src/components/ui/label.js +2 -0
- package/dist/packages/shadcn/src/components/ui/pagination.cjs +9 -0
- package/dist/packages/shadcn/src/components/ui/pagination.js +4 -0
- package/dist/packages/shadcn/src/components/ui/popover.cjs +5 -0
- package/dist/packages/shadcn/src/components/ui/popover.js +2 -0
- package/dist/packages/shadcn/src/components/ui/radio-group.cjs +7 -0
- package/dist/packages/shadcn/src/components/ui/radio-group.js +3 -0
- package/dist/packages/shadcn/src/components/ui/select.cjs +10 -0
- package/dist/packages/shadcn/src/components/ui/select.js +6 -0
- package/dist/packages/shadcn/src/components/ui/separator.cjs +5 -0
- package/dist/packages/shadcn/src/components/ui/separator.js +2 -0
- package/dist/packages/shadcn/src/components/ui/shadcn-io/tags/index.cjs +26 -0
- package/dist/packages/shadcn/src/components/ui/shadcn-io/tags/index.js +22 -0
- package/dist/packages/shadcn/src/components/ui/shadcn-io/tags-input-inline/index.cjs +6 -0
- package/dist/packages/shadcn/src/components/ui/shadcn-io/tags-input-inline/index.js +3 -0
- package/dist/packages/shadcn/src/components/ui/sheet.cjs +7 -0
- package/dist/packages/shadcn/src/components/ui/sheet.js +3 -0
- package/dist/packages/shadcn/src/components/ui/slider.cjs +5 -0
- package/dist/packages/shadcn/src/components/ui/slider.js +2 -0
- package/dist/packages/shadcn/src/components/ui/switch.cjs +8 -0
- package/dist/packages/shadcn/src/components/ui/switch.js +5 -0
- package/dist/packages/shadcn/src/components/ui/tabs.cjs +5 -0
- package/dist/packages/shadcn/src/components/ui/tabs.js +2 -0
- package/dist/packages/shadcn/src/components/ui/textarea.cjs +5 -0
- package/dist/packages/shadcn/src/components/ui/textarea.js +2 -0
- package/dist/packages/shadcn/src/components/ui/tooltip.cjs +5 -0
- package/dist/packages/shadcn/src/components/ui/tooltip.js +2 -0
- package/dist/packages/shadcn/src/lib/utils.cjs +11 -0
- package/dist/packages/shadcn/src/lib/utils.js +10 -0
- package/dist/pagination/Pagination.cjs +156 -0
- package/dist/{Pagination → pagination}/Pagination.d.cts +1 -1
- package/dist/{Pagination → pagination}/Pagination.d.ts +1 -1
- package/dist/pagination/Pagination.js +151 -0
- package/dist/pagination/index.cjs +2 -0
- package/dist/pagination/index.js +1 -0
- package/dist/rich-text-editor/RichTextEditor.cjs +132 -0
- package/dist/rich-text-editor/RichTextEditor.d.cts +55 -0
- package/dist/rich-text-editor/RichTextEditor.d.ts +55 -0
- package/dist/rich-text-editor/RichTextEditor.js +126 -0
- package/dist/rich-text-editor/index.cjs +2 -0
- package/dist/rich-text-editor/index.d.cts +1 -0
- package/dist/rich-text-editor/index.d.ts +1 -0
- package/dist/rich-text-editor/index.js +1 -0
- package/dist/rich-text-editor/predefined-toolbar-options.cjs +84 -0
- package/dist/rich-text-editor/predefined-toolbar-options.js +81 -0
- package/dist/spinner/index.cjs +2 -1
- package/dist/spinner/index.js +1 -1
- package/dist/spinner/spinner.cjs +73 -6
- package/dist/spinner/spinner.js +70 -6
- package/dist/spinner/styles.cjs +25 -12
- package/dist/spinner/styles.js +23 -12
- package/dist/tags-input.cjs +226 -1
- package/dist/tags-input.d.cts +2 -2
- package/dist/tags-input.d.ts +2 -2
- package/dist/tags-input.js +222 -1
- package/dist/theme-provider/ThemeProvider.cjs +27 -1
- package/dist/theme-provider/ThemeProvider.js +23 -1
- package/dist/theme-provider/index.cjs +4 -1
- package/dist/theme-provider/index.js +4 -1
- package/dist/toast/AlertToast.cjs +36 -1
- package/dist/toast/AlertToast.js +31 -1
- package/dist/toast/index.cjs +2 -1
- package/dist/toast/index.js +1 -1
- package/dist/toast/toast.cjs +75 -1
- package/dist/toast/toast.js +66 -1
- package/package.json +11 -4
- package/dist/FileUploadInline.cjs +0 -1
- package/dist/FileUploadInline.d.cts +0 -75
- package/dist/FileUploadInline.d.ts +0 -75
- package/dist/FileUploadInline.js +0 -1
- package/dist/Pagination/Pagination.cjs +0 -1
- package/dist/Pagination/Pagination.js +0 -1
- package/dist/Pagination/index.cjs +0 -1
- package/dist/Pagination/index.js +0 -1
- package/dist/PopoverContent.cjs +0 -1
- package/dist/PopoverContent.d.cts +0 -8
- package/dist/PopoverContent.d.ts +0 -8
- package/dist/PopoverContent.js +0 -1
- package/dist/icon-selector/use-async-providers.d.cts +0 -14
- package/dist/icon-selector/use-async-providers.d.ts +0 -14
- package/dist/shadcn/src/components/ui/alert.cjs +0 -1
- package/dist/shadcn/src/components/ui/alert.js +0 -1
- package/dist/shadcn/src/components/ui/dialog.cjs +0 -1
- package/dist/shadcn/src/components/ui/dialog.js +0 -1
- package/dist/shadcn/src/lib/index.cjs +0 -1
- package/dist/shadcn/src/lib/index.js +0 -1
- package/dist/shadcn/src/lib/utils.cjs +0 -1
- package/dist/shadcn/src/lib/utils.js +0 -1
- /package/dist/{Pagination → pagination}/index.d.cts +0 -0
- /package/dist/{Pagination → pagination}/index.d.ts +0 -0
|
@@ -0,0 +1,555 @@
|
|
|
1
|
+
import { __commonJS, __require, __toCommonJS } from "../../../../../../../_virtual/rolldown_runtime.js";
|
|
2
|
+
import { floating_ui_react_esm_exports, init_floating_ui_react_esm } from "../../../../../@floating-ui_react@0.27.16_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@floating-ui/react/dist/floating-ui.react.esm.js";
|
|
3
|
+
|
|
4
|
+
//#region ../../node_modules/.pnpm/@diceui+shared@0.12.0_@floating-ui+react@0.27.16_react-dom@19.2.0_react@19.2.0__react@1_2c51ffe880f01dd537d5b6a13313daf4/node_modules/@diceui/shared/dist/index.js
|
|
5
|
+
var require_dist = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@diceui+shared@0.12.0_@floating-ui+react@0.27.16_react-dom@19.2.0_react@19.2.0__react@1_2c51ffe880f01dd537d5b6a13313daf4/node_modules/@diceui/shared/dist/index.js": ((exports) => {
|
|
6
|
+
var React32 = __require("react");
|
|
7
|
+
var react = (init_floating_ui_react_esm(), __toCommonJS(floating_ui_react_esm_exports));
|
|
8
|
+
var ReactDOM = __require("react-dom");
|
|
9
|
+
function _interopNamespace(e) {
|
|
10
|
+
if (e && e.__esModule) return e;
|
|
11
|
+
var n = Object.create(null);
|
|
12
|
+
if (e) Object.keys(e).forEach(function(k) {
|
|
13
|
+
if (k !== "default") {
|
|
14
|
+
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
15
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
16
|
+
enumerable: true,
|
|
17
|
+
get: function() {
|
|
18
|
+
return e[k];
|
|
19
|
+
}
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
});
|
|
23
|
+
n.default = e;
|
|
24
|
+
return Object.freeze(n);
|
|
25
|
+
}
|
|
26
|
+
var React32__namespace = /* @__PURE__ */ _interopNamespace(React32);
|
|
27
|
+
var ReactDOM__namespace = /* @__PURE__ */ _interopNamespace(ReactDOM);
|
|
28
|
+
var DATA_ITEM_ATTR = "data-dice-collection-item";
|
|
29
|
+
var DirectionContext = React32__namespace.createContext(void 0);
|
|
30
|
+
function useDirection(dirProp) {
|
|
31
|
+
const contextDir = React32__namespace.useContext(DirectionContext);
|
|
32
|
+
return dirProp ?? contextDir ?? "ltr";
|
|
33
|
+
}
|
|
34
|
+
var useIsomorphicLayoutEffect = typeof window !== "undefined" ? React32__namespace.useLayoutEffect : React32__namespace.useEffect;
|
|
35
|
+
function useCallbackRef(callback) {
|
|
36
|
+
const callbackRef = React32__namespace.useRef(callback);
|
|
37
|
+
React32__namespace.useEffect(() => {
|
|
38
|
+
callbackRef.current = callback;
|
|
39
|
+
});
|
|
40
|
+
return React32__namespace.useMemo(() => (...args) => callbackRef.current?.(...args), []);
|
|
41
|
+
}
|
|
42
|
+
function compareNodePosition(a, b) {
|
|
43
|
+
const position = a.compareDocumentPosition(b);
|
|
44
|
+
if (position & Node.DOCUMENT_POSITION_FOLLOWING || position & Node.DOCUMENT_POSITION_CONTAINED_BY) return -1;
|
|
45
|
+
if (position & Node.DOCUMENT_POSITION_PRECEDING || position & Node.DOCUMENT_POSITION_CONTAINS) return 1;
|
|
46
|
+
return 0;
|
|
47
|
+
}
|
|
48
|
+
function useControllableState({ prop, defaultProp, onChange = () => {} }) {
|
|
49
|
+
const [uncontrolledProp, setUncontrolledProp] = useUncontrolledState({
|
|
50
|
+
defaultProp,
|
|
51
|
+
onChange
|
|
52
|
+
});
|
|
53
|
+
const isControlled = prop !== void 0;
|
|
54
|
+
const value = isControlled ? prop : uncontrolledProp;
|
|
55
|
+
const handleChange = useCallbackRef(onChange);
|
|
56
|
+
return [value, React32__namespace.useCallback((nextValue) => {
|
|
57
|
+
if (isControlled) {
|
|
58
|
+
const value2 = typeof nextValue === "function" ? nextValue(prop) : nextValue;
|
|
59
|
+
if (value2 !== prop) handleChange(value2);
|
|
60
|
+
} else setUncontrolledProp(nextValue);
|
|
61
|
+
}, [
|
|
62
|
+
isControlled,
|
|
63
|
+
prop,
|
|
64
|
+
setUncontrolledProp,
|
|
65
|
+
handleChange
|
|
66
|
+
])];
|
|
67
|
+
}
|
|
68
|
+
function useUncontrolledState({ defaultProp, onChange }) {
|
|
69
|
+
const uncontrolledState = React32__namespace.useState(defaultProp);
|
|
70
|
+
const [value] = uncontrolledState;
|
|
71
|
+
const prevValueRef = React32__namespace.useRef(value);
|
|
72
|
+
const handleChange = useCallbackRef(onChange);
|
|
73
|
+
React32__namespace.useEffect(() => {
|
|
74
|
+
if (prevValueRef.current !== value) {
|
|
75
|
+
handleChange(value);
|
|
76
|
+
prevValueRef.current = value;
|
|
77
|
+
}
|
|
78
|
+
}, [value, handleChange]);
|
|
79
|
+
return uncontrolledState;
|
|
80
|
+
}
|
|
81
|
+
var LRUCache = class {
|
|
82
|
+
cache;
|
|
83
|
+
maxSize;
|
|
84
|
+
keyOrder;
|
|
85
|
+
constructor(maxSize) {
|
|
86
|
+
this.cache = /* @__PURE__ */ new Map();
|
|
87
|
+
this.maxSize = maxSize;
|
|
88
|
+
this.keyOrder = [];
|
|
89
|
+
}
|
|
90
|
+
get(key) {
|
|
91
|
+
const value = this.cache.get(key);
|
|
92
|
+
if (value !== void 0) {
|
|
93
|
+
const index = this.keyOrder.indexOf(key);
|
|
94
|
+
if (index > -1) {
|
|
95
|
+
this.keyOrder.splice(index, 1);
|
|
96
|
+
this.keyOrder.push(key);
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
return value;
|
|
100
|
+
}
|
|
101
|
+
set(key, value) {
|
|
102
|
+
if (this.cache.has(key)) {
|
|
103
|
+
this.cache.set(key, value);
|
|
104
|
+
const index = this.keyOrder.indexOf(key);
|
|
105
|
+
if (index > -1) this.keyOrder.splice(index, 1);
|
|
106
|
+
} else {
|
|
107
|
+
if (this.keyOrder.length >= this.maxSize) {
|
|
108
|
+
const lruKey = this.keyOrder.shift();
|
|
109
|
+
if (lruKey !== void 0) this.cache.delete(lruKey);
|
|
110
|
+
}
|
|
111
|
+
this.cache.set(key, value);
|
|
112
|
+
}
|
|
113
|
+
this.keyOrder.push(key);
|
|
114
|
+
}
|
|
115
|
+
clear() {
|
|
116
|
+
this.cache.clear();
|
|
117
|
+
this.keyOrder.length = 0;
|
|
118
|
+
}
|
|
119
|
+
get size() {
|
|
120
|
+
return this.cache.size;
|
|
121
|
+
}
|
|
122
|
+
};
|
|
123
|
+
var collatorCache = new LRUCache(10);
|
|
124
|
+
var normalizedCache = new LRUCache(1e3);
|
|
125
|
+
function useFormControl(form) {
|
|
126
|
+
const [trigger, setTrigger] = React32__namespace.useState(null);
|
|
127
|
+
return {
|
|
128
|
+
isFormControl: trigger ? form || !!trigger.closest("form") : true,
|
|
129
|
+
trigger,
|
|
130
|
+
onTriggerChange: setTrigger
|
|
131
|
+
};
|
|
132
|
+
}
|
|
133
|
+
function useFormReset({ form, defaultValue, onReset }) {
|
|
134
|
+
const onResetCallback = useCallbackRef(onReset);
|
|
135
|
+
React32__namespace.useEffect(() => {
|
|
136
|
+
if (!form) return;
|
|
137
|
+
function onFormReset() {
|
|
138
|
+
if (defaultValue !== void 0) onResetCallback?.(defaultValue);
|
|
139
|
+
}
|
|
140
|
+
form.addEventListener("reset", onFormReset);
|
|
141
|
+
return () => form.removeEventListener("reset", onFormReset);
|
|
142
|
+
}, [
|
|
143
|
+
form,
|
|
144
|
+
defaultValue,
|
|
145
|
+
onResetCallback
|
|
146
|
+
]);
|
|
147
|
+
}
|
|
148
|
+
var useLayoutEffect4 = globalThis?.document ? React32__namespace.useLayoutEffect : () => {};
|
|
149
|
+
var useReactId = React32__namespace[" useId ".trim().toString()] || (() => void 0);
|
|
150
|
+
var count = 0;
|
|
151
|
+
function useId(deterministicId) {
|
|
152
|
+
const [id, setId] = React32__namespace.useState(typeof useReactId === "function" ? useReactId() : void 0);
|
|
153
|
+
useLayoutEffect4(() => {
|
|
154
|
+
if (!deterministicId) setId((reactId) => reactId ?? String(count++));
|
|
155
|
+
}, [deterministicId]);
|
|
156
|
+
return deterministicId || (id ? `dice-${id}` : "");
|
|
157
|
+
}
|
|
158
|
+
function useItemCollection({ ref, attr = DATA_ITEM_ATTR }) {
|
|
159
|
+
const getItems = React32__namespace.useCallback(() => {
|
|
160
|
+
const collectionNode = ref.current;
|
|
161
|
+
if (!collectionNode) return [];
|
|
162
|
+
const items = Array.from(collectionNode.querySelectorAll(`[${attr}]`));
|
|
163
|
+
if (items.length === 0) return [];
|
|
164
|
+
return items.sort(compareNodePosition);
|
|
165
|
+
}, [ref, attr]);
|
|
166
|
+
return {
|
|
167
|
+
getItems,
|
|
168
|
+
getEnabledItems: React32__namespace.useCallback(() => {
|
|
169
|
+
return getItems().filter((item) => item.getAttribute("aria-disabled") !== "true");
|
|
170
|
+
}, [getItems])
|
|
171
|
+
};
|
|
172
|
+
}
|
|
173
|
+
function useMounted() {
|
|
174
|
+
const [mounted, setMounted] = React32__namespace.useState(false);
|
|
175
|
+
useLayoutEffect4(() => {
|
|
176
|
+
setMounted(true);
|
|
177
|
+
}, []);
|
|
178
|
+
return mounted;
|
|
179
|
+
}
|
|
180
|
+
function usePrevious(value) {
|
|
181
|
+
const ref = React32__namespace.useRef({
|
|
182
|
+
value,
|
|
183
|
+
previous: value
|
|
184
|
+
});
|
|
185
|
+
return React32__namespace.useMemo(() => {
|
|
186
|
+
if (ref.current.value !== value) {
|
|
187
|
+
ref.current.previous = ref.current.value;
|
|
188
|
+
ref.current.value = value;
|
|
189
|
+
}
|
|
190
|
+
return ref.current.previous;
|
|
191
|
+
}, [value]);
|
|
192
|
+
}
|
|
193
|
+
function useSize(element) {
|
|
194
|
+
const [size2, setSize] = React32__namespace.useState(void 0);
|
|
195
|
+
useLayoutEffect4(() => {
|
|
196
|
+
if (element) {
|
|
197
|
+
setSize({
|
|
198
|
+
width: element.offsetWidth,
|
|
199
|
+
height: element.offsetHeight
|
|
200
|
+
});
|
|
201
|
+
const resizeObserver = new ResizeObserver((entries) => {
|
|
202
|
+
if (!Array.isArray(entries)) return;
|
|
203
|
+
if (!entries.length) return;
|
|
204
|
+
const entry = entries[0];
|
|
205
|
+
let width;
|
|
206
|
+
let height;
|
|
207
|
+
if (entry && "borderBoxSize" in entry) {
|
|
208
|
+
const borderSizeEntry = entry.borderBoxSize;
|
|
209
|
+
const borderSize = Array.isArray(borderSizeEntry) ? borderSizeEntry[0] : borderSizeEntry;
|
|
210
|
+
width = borderSize.inlineSize;
|
|
211
|
+
height = borderSize.blockSize;
|
|
212
|
+
} else {
|
|
213
|
+
width = element.offsetWidth;
|
|
214
|
+
height = element.offsetHeight;
|
|
215
|
+
}
|
|
216
|
+
setSize({
|
|
217
|
+
width,
|
|
218
|
+
height
|
|
219
|
+
});
|
|
220
|
+
});
|
|
221
|
+
resizeObserver.observe(element, { box: "border-box" });
|
|
222
|
+
return () => resizeObserver.unobserve(element);
|
|
223
|
+
}
|
|
224
|
+
setSize(void 0);
|
|
225
|
+
}, [element]);
|
|
226
|
+
return size2;
|
|
227
|
+
}
|
|
228
|
+
function useStateMachine(config) {
|
|
229
|
+
const [state, setState] = React32__namespace.useState(config.initial);
|
|
230
|
+
return [state, React32__namespace.useCallback((event) => {
|
|
231
|
+
setState((currentState) => {
|
|
232
|
+
return config.states[currentState]?.[event] ?? currentState;
|
|
233
|
+
});
|
|
234
|
+
}, [config.states])];
|
|
235
|
+
}
|
|
236
|
+
function composeEventHandlers(originalEventHandler, ourEventHandler, { checkForDefaultPrevented = true } = {}) {
|
|
237
|
+
return function handleEvent(event) {
|
|
238
|
+
originalEventHandler?.(event);
|
|
239
|
+
if (checkForDefaultPrevented === false || !event.defaultPrevented) return ourEventHandler?.(event);
|
|
240
|
+
};
|
|
241
|
+
}
|
|
242
|
+
function setRef(ref, value) {
|
|
243
|
+
if (typeof ref === "function") return ref(value);
|
|
244
|
+
if (ref !== null && ref !== void 0) ref.current = value;
|
|
245
|
+
}
|
|
246
|
+
function composeRefs(...refs) {
|
|
247
|
+
return (node) => {
|
|
248
|
+
let hasCleanup = false;
|
|
249
|
+
const cleanups = refs.map((ref) => {
|
|
250
|
+
const cleanup = setRef(ref, node);
|
|
251
|
+
if (!hasCleanup && typeof cleanup === "function") hasCleanup = true;
|
|
252
|
+
return cleanup;
|
|
253
|
+
});
|
|
254
|
+
if (hasCleanup) return () => {
|
|
255
|
+
for (let i = 0; i < cleanups.length; i++) {
|
|
256
|
+
const cleanup = cleanups[i];
|
|
257
|
+
if (typeof cleanup === "function") cleanup();
|
|
258
|
+
else setRef(refs[i], null);
|
|
259
|
+
}
|
|
260
|
+
};
|
|
261
|
+
};
|
|
262
|
+
}
|
|
263
|
+
function useComposedRefs(...refs) {
|
|
264
|
+
return React32__namespace.useCallback(composeRefs(...refs), refs);
|
|
265
|
+
}
|
|
266
|
+
var visuallyHidden = {
|
|
267
|
+
border: 0,
|
|
268
|
+
clip: "rect(0 0 0 0)",
|
|
269
|
+
clipPath: "inset(50%)",
|
|
270
|
+
height: "1px",
|
|
271
|
+
margin: "-1px",
|
|
272
|
+
overflow: "hidden",
|
|
273
|
+
padding: 0,
|
|
274
|
+
position: "absolute",
|
|
275
|
+
whiteSpace: "nowrap",
|
|
276
|
+
width: "1px"
|
|
277
|
+
};
|
|
278
|
+
function VisuallyHiddenInput(props) {
|
|
279
|
+
const { control, value, checked, bubbles = true, type = "hidden", onReset, style,...inputProps } = props;
|
|
280
|
+
const isCheckInput = type === "checkbox" || type === "radio" || type === "switch";
|
|
281
|
+
const inputRef = React32__namespace.useRef(null);
|
|
282
|
+
const prevValue = usePrevious(type === "hidden" ? value : checked);
|
|
283
|
+
const controlSize = useSize(control);
|
|
284
|
+
React32__namespace.useEffect(() => {
|
|
285
|
+
const input = inputRef.current;
|
|
286
|
+
if (!input) return;
|
|
287
|
+
const inputProto = window.HTMLInputElement.prototype;
|
|
288
|
+
const propertyKey = isCheckInput ? "checked" : "value";
|
|
289
|
+
const eventType = isCheckInput ? "click" : "input";
|
|
290
|
+
const currentValue = isCheckInput ? checked : JSON.stringify(value);
|
|
291
|
+
const setter = Object.getOwnPropertyDescriptor(inputProto, propertyKey).set;
|
|
292
|
+
if (prevValue !== currentValue && setter) {
|
|
293
|
+
const event = new Event(eventType, { bubbles });
|
|
294
|
+
setter.call(input, currentValue);
|
|
295
|
+
input.dispatchEvent(event);
|
|
296
|
+
}
|
|
297
|
+
}, [
|
|
298
|
+
prevValue,
|
|
299
|
+
value,
|
|
300
|
+
checked,
|
|
301
|
+
bubbles,
|
|
302
|
+
isCheckInput
|
|
303
|
+
]);
|
|
304
|
+
useFormReset({
|
|
305
|
+
form: inputRef.current?.form ?? null,
|
|
306
|
+
defaultValue: isCheckInput ? checked : value,
|
|
307
|
+
onReset: (resetValue) => {
|
|
308
|
+
onReset?.(resetValue);
|
|
309
|
+
}
|
|
310
|
+
});
|
|
311
|
+
return /* @__PURE__ */ React32__namespace.createElement("input", {
|
|
312
|
+
type,
|
|
313
|
+
...inputProps,
|
|
314
|
+
ref: inputRef,
|
|
315
|
+
"aria-hidden": isCheckInput,
|
|
316
|
+
tabIndex: -1,
|
|
317
|
+
defaultChecked: isCheckInput ? checked : void 0,
|
|
318
|
+
style: {
|
|
319
|
+
...props.style,
|
|
320
|
+
...controlSize,
|
|
321
|
+
...visuallyHidden
|
|
322
|
+
}
|
|
323
|
+
});
|
|
324
|
+
}
|
|
325
|
+
function createContext3(rootComponentName, defaultValue) {
|
|
326
|
+
const Context = React32__namespace.createContext(defaultValue);
|
|
327
|
+
Context.displayName = rootComponentName;
|
|
328
|
+
function Provider(props) {
|
|
329
|
+
const { children,...contextValue } = props;
|
|
330
|
+
const value = React32__namespace.useMemo(() => contextValue, Object.values(contextValue));
|
|
331
|
+
return /* @__PURE__ */ React32__namespace.createElement(Context.Provider, { value }, children);
|
|
332
|
+
}
|
|
333
|
+
Provider.displayName = `${rootComponentName}Provider`;
|
|
334
|
+
function useContext3(consumerName, optional) {
|
|
335
|
+
const context = React32__namespace.useContext(Context);
|
|
336
|
+
if (!context && !optional) throw new Error(`\`${consumerName}\` must be used within \`${rootComponentName}\``);
|
|
337
|
+
if (context) return context;
|
|
338
|
+
if (defaultValue !== void 0) return defaultValue;
|
|
339
|
+
}
|
|
340
|
+
return [Provider, useContext3];
|
|
341
|
+
}
|
|
342
|
+
function getElementRef(element) {
|
|
343
|
+
if (!React32__namespace.isValidElement(element)) return void 0;
|
|
344
|
+
let getter = Object.getOwnPropertyDescriptor(element.props, "ref")?.get;
|
|
345
|
+
let mayWarn = getter && "isReactWarning" in getter && getter.isReactWarning;
|
|
346
|
+
if (mayWarn) return element.ref;
|
|
347
|
+
getter = Object.getOwnPropertyDescriptor(element, "ref")?.get;
|
|
348
|
+
mayWarn = getter && "isReactWarning" in getter && getter.isReactWarning;
|
|
349
|
+
if (mayWarn) return element.props.ref;
|
|
350
|
+
return element.props.ref || element.ref;
|
|
351
|
+
}
|
|
352
|
+
var isSlottable = function isSlottable2(child) {
|
|
353
|
+
return React32__namespace.isValidElement(child) && child.type === Slottable;
|
|
354
|
+
};
|
|
355
|
+
function mergeProps(slotProps, childProps) {
|
|
356
|
+
const overrideProps = { ...childProps };
|
|
357
|
+
for (const propName in childProps) {
|
|
358
|
+
const slotPropValue = slotProps[propName];
|
|
359
|
+
const childPropValue = childProps[propName];
|
|
360
|
+
if (/^on[A-Z]/.test(propName)) {
|
|
361
|
+
if (typeof slotPropValue === "function" && typeof childPropValue === "function") overrideProps[propName] = (...args) => {
|
|
362
|
+
childPropValue(...args);
|
|
363
|
+
slotPropValue(...args);
|
|
364
|
+
};
|
|
365
|
+
else if (typeof slotPropValue === "function") overrideProps[propName] = slotPropValue;
|
|
366
|
+
} else if (propName === "style" && slotPropValue && childPropValue) overrideProps[propName] = {
|
|
367
|
+
...slotPropValue,
|
|
368
|
+
...childPropValue
|
|
369
|
+
};
|
|
370
|
+
else if (propName === "className") overrideProps[propName] = [slotPropValue, childPropValue].filter(Boolean).join(" ");
|
|
371
|
+
}
|
|
372
|
+
return {
|
|
373
|
+
...slotProps,
|
|
374
|
+
...overrideProps
|
|
375
|
+
};
|
|
376
|
+
}
|
|
377
|
+
var SlotClone = React32__namespace.forwardRef((props, forwardedRef) => {
|
|
378
|
+
const { children,...slotProps } = props;
|
|
379
|
+
if (!React32__namespace.isValidElement(children)) return React32__namespace.Children.count(children) > 1 ? React32__namespace.Children.only(null) : null;
|
|
380
|
+
const childrenRef = getElementRef(children);
|
|
381
|
+
const mergedProps = mergeProps(slotProps, children.props);
|
|
382
|
+
if (typeof children.type === "string") return React32__namespace.cloneElement(children, {
|
|
383
|
+
...mergedProps,
|
|
384
|
+
ref: forwardedRef ? composeRefs(forwardedRef, childrenRef) : childrenRef
|
|
385
|
+
});
|
|
386
|
+
return React32__namespace.cloneElement(children, {
|
|
387
|
+
...mergedProps,
|
|
388
|
+
ref: forwardedRef ? composeRefs(forwardedRef, childrenRef) : childrenRef
|
|
389
|
+
});
|
|
390
|
+
});
|
|
391
|
+
SlotClone.displayName = "SlotClone";
|
|
392
|
+
var Slot = React32__namespace.forwardRef((props, forwardedRef) => {
|
|
393
|
+
const { children,...slotProps } = props;
|
|
394
|
+
const childrenArray = React32__namespace.Children.toArray(children);
|
|
395
|
+
const slottable = childrenArray.find(isSlottable);
|
|
396
|
+
if (!slottable) return /* @__PURE__ */ React32__namespace.createElement(SlotClone, {
|
|
397
|
+
...slotProps,
|
|
398
|
+
ref: forwardedRef
|
|
399
|
+
}, children);
|
|
400
|
+
if (!React32__namespace.isValidElement(slottable)) return null;
|
|
401
|
+
const newElement = slottable.props.children;
|
|
402
|
+
const newChildren = childrenArray.map((child) => {
|
|
403
|
+
if (child === slottable) {
|
|
404
|
+
if (React32__namespace.Children.count(newElement) > 1) return React32__namespace.Children.only(null);
|
|
405
|
+
return React32__namespace.isValidElement(newElement) ? newElement.props.children : null;
|
|
406
|
+
}
|
|
407
|
+
return child;
|
|
408
|
+
});
|
|
409
|
+
return /* @__PURE__ */ React32__namespace.createElement(SlotClone, {
|
|
410
|
+
...slotProps,
|
|
411
|
+
ref: forwardedRef
|
|
412
|
+
}, React32__namespace.isValidElement(newElement) ? React32__namespace.cloneElement(newElement, void 0, newChildren) : null);
|
|
413
|
+
});
|
|
414
|
+
Slot.displayName = "Slot";
|
|
415
|
+
var Slottable = React32__namespace.memo(function Slottable2({ children }) {
|
|
416
|
+
return /* @__PURE__ */ React32__namespace.createElement(React32__namespace.Fragment, null, children);
|
|
417
|
+
});
|
|
418
|
+
Slottable.displayName = "Slottable";
|
|
419
|
+
function createPrimitive(element) {
|
|
420
|
+
const Primitive2 = React32__namespace.forwardRef((props, forwardedRef) => {
|
|
421
|
+
const { asChild,...primitiveProps } = props;
|
|
422
|
+
if (asChild) return React32__namespace.createElement(Slot, {
|
|
423
|
+
...primitiveProps,
|
|
424
|
+
ref: forwardedRef
|
|
425
|
+
});
|
|
426
|
+
return React32__namespace.createElement(element, {
|
|
427
|
+
...primitiveProps,
|
|
428
|
+
ref: forwardedRef
|
|
429
|
+
});
|
|
430
|
+
});
|
|
431
|
+
Primitive2.displayName = `Primitive.${String(element)}`;
|
|
432
|
+
return Primitive2;
|
|
433
|
+
}
|
|
434
|
+
var cache = /* @__PURE__ */ new Map();
|
|
435
|
+
var Primitive = new Proxy({}, { get: (_, element) => {
|
|
436
|
+
const key = element;
|
|
437
|
+
if (!cache.has(key)) cache.set(key, createPrimitive(key));
|
|
438
|
+
return cache.get(key);
|
|
439
|
+
} });
|
|
440
|
+
var Portal = React32__namespace.forwardRef((props, forwardedRef) => {
|
|
441
|
+
const { container: containerProp,...portalProps } = props;
|
|
442
|
+
const mounted = useMounted();
|
|
443
|
+
const container = containerProp ?? (mounted ? globalThis.document?.body : null);
|
|
444
|
+
if (!container) return null;
|
|
445
|
+
return ReactDOM__namespace.createPortal(/* @__PURE__ */ React32__namespace.createElement(Primitive.div, {
|
|
446
|
+
...portalProps,
|
|
447
|
+
ref: forwardedRef
|
|
448
|
+
}), container);
|
|
449
|
+
});
|
|
450
|
+
Portal.displayName = "Portal";
|
|
451
|
+
var Presence = (props) => {
|
|
452
|
+
const { present, children } = props;
|
|
453
|
+
const presence = usePresence(present);
|
|
454
|
+
const child = typeof children === "function" ? children({ present: presence.isPresent }) : React32__namespace.Children.only(children);
|
|
455
|
+
const ref = useComposedRefs(presence.ref, getElementRef(child));
|
|
456
|
+
return typeof children === "function" || presence.isPresent ? React32__namespace.cloneElement(child, { ref }) : null;
|
|
457
|
+
};
|
|
458
|
+
Presence.displayName = "Presence";
|
|
459
|
+
function usePresence(present) {
|
|
460
|
+
const [node, setNode] = React32__namespace.useState();
|
|
461
|
+
const stylesRef = React32__namespace.useRef({});
|
|
462
|
+
const prevPresentRef = React32__namespace.useRef(present);
|
|
463
|
+
const prevAnimationNameRef = React32__namespace.useRef("none");
|
|
464
|
+
const [state, send] = useStateMachine({
|
|
465
|
+
initial: present ? "mounted" : "unmounted",
|
|
466
|
+
states: {
|
|
467
|
+
mounted: {
|
|
468
|
+
UNMOUNT: "unmounted",
|
|
469
|
+
ANIMATION_OUT: "unmountSuspended"
|
|
470
|
+
},
|
|
471
|
+
unmountSuspended: {
|
|
472
|
+
MOUNT: "mounted",
|
|
473
|
+
ANIMATION_END: "unmounted"
|
|
474
|
+
},
|
|
475
|
+
unmounted: { MOUNT: "mounted" }
|
|
476
|
+
}
|
|
477
|
+
});
|
|
478
|
+
React32__namespace.useEffect(() => {
|
|
479
|
+
const currentAnimationName = getAnimationName(stylesRef.current);
|
|
480
|
+
prevAnimationNameRef.current = state === "mounted" ? currentAnimationName : "none";
|
|
481
|
+
}, [state]);
|
|
482
|
+
useLayoutEffect4(() => {
|
|
483
|
+
const styles = stylesRef.current;
|
|
484
|
+
const wasPresent = prevPresentRef.current;
|
|
485
|
+
if (wasPresent !== present) {
|
|
486
|
+
const prevAnimationName = prevAnimationNameRef.current;
|
|
487
|
+
const currentAnimationName = getAnimationName(styles);
|
|
488
|
+
if (present) send("MOUNT");
|
|
489
|
+
else if (currentAnimationName === "none" || styles?.display === "none") send("UNMOUNT");
|
|
490
|
+
else if (wasPresent && prevAnimationName !== currentAnimationName) send("ANIMATION_OUT");
|
|
491
|
+
else send("UNMOUNT");
|
|
492
|
+
prevPresentRef.current = present;
|
|
493
|
+
}
|
|
494
|
+
}, [present, send]);
|
|
495
|
+
useLayoutEffect4(() => {
|
|
496
|
+
if (node) {
|
|
497
|
+
let onAnimationEnd2 = function(event) {
|
|
498
|
+
const isCurrentAnimation = getAnimationName(stylesRef.current).includes(event.animationName);
|
|
499
|
+
if (event.target === node && isCurrentAnimation) {
|
|
500
|
+
send("ANIMATION_END");
|
|
501
|
+
if (!prevPresentRef.current) {
|
|
502
|
+
const currentFillMode = node.style.animationFillMode;
|
|
503
|
+
node.style.animationFillMode = "forwards";
|
|
504
|
+
timeoutId = ownerWindow.setTimeout(() => {
|
|
505
|
+
if (node.style.animationFillMode === "forwards") node.style.animationFillMode = currentFillMode;
|
|
506
|
+
});
|
|
507
|
+
}
|
|
508
|
+
}
|
|
509
|
+
}, onAnimationStart2 = function(event) {
|
|
510
|
+
if (event.target === node) prevAnimationNameRef.current = getAnimationName(stylesRef.current);
|
|
511
|
+
};
|
|
512
|
+
let timeoutId;
|
|
513
|
+
const ownerWindow = node.ownerDocument.defaultView ?? window;
|
|
514
|
+
node.addEventListener("animationstart", onAnimationStart2);
|
|
515
|
+
node.addEventListener("animationcancel", onAnimationEnd2);
|
|
516
|
+
node.addEventListener("animationend", onAnimationEnd2);
|
|
517
|
+
return () => {
|
|
518
|
+
ownerWindow.clearTimeout(timeoutId);
|
|
519
|
+
node.removeEventListener("animationstart", onAnimationStart2);
|
|
520
|
+
node.removeEventListener("animationcancel", onAnimationEnd2);
|
|
521
|
+
node.removeEventListener("animationend", onAnimationEnd2);
|
|
522
|
+
};
|
|
523
|
+
}
|
|
524
|
+
send("ANIMATION_END");
|
|
525
|
+
}, [node, send]);
|
|
526
|
+
return {
|
|
527
|
+
isPresent: ["mounted", "unmountSuspended"].includes(state),
|
|
528
|
+
ref: React32__namespace.useCallback((node2) => {
|
|
529
|
+
if (node2) stylesRef.current = getComputedStyle(node2);
|
|
530
|
+
setNode(node2);
|
|
531
|
+
}, [])
|
|
532
|
+
};
|
|
533
|
+
}
|
|
534
|
+
function getAnimationName(styles) {
|
|
535
|
+
return styles?.animationName || "none";
|
|
536
|
+
}
|
|
537
|
+
exports.DATA_ITEM_ATTR = DATA_ITEM_ATTR;
|
|
538
|
+
exports.Presence = Presence;
|
|
539
|
+
exports.Primitive = Primitive;
|
|
540
|
+
exports.VisuallyHiddenInput = VisuallyHiddenInput;
|
|
541
|
+
exports.composeEventHandlers = composeEventHandlers;
|
|
542
|
+
exports.composeRefs = composeRefs;
|
|
543
|
+
exports.createContext = createContext3;
|
|
544
|
+
exports.useComposedRefs = useComposedRefs;
|
|
545
|
+
exports.useControllableState = useControllableState;
|
|
546
|
+
exports.useDirection = useDirection;
|
|
547
|
+
exports.useFormControl = useFormControl;
|
|
548
|
+
exports.useId = useId;
|
|
549
|
+
exports.useItemCollection = useItemCollection;
|
|
550
|
+
}) });
|
|
551
|
+
|
|
552
|
+
//#endregion
|
|
553
|
+
export default require_dist();
|
|
554
|
+
|
|
555
|
+
export { require_dist };
|