@pixpilot/shadcn-ui 0.4.1 → 0.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/AbsoluteFill.d.ts +2 -2
- package/dist/Alert.cjs +8 -7
- package/dist/Alert.js +12 -12
- package/dist/Button.d.cts +1 -1
- package/dist/ContentCard.d.cts +1 -1
- package/dist/DatePicker.d.cts +1 -1
- package/dist/DatePicker.d.ts +2 -2
- package/dist/Select.d.cts +1 -1
- package/dist/_virtual/rolldown_runtime.cjs +0 -19
- package/dist/confirmation-dialog/ConfirmationDialog.cjs +2 -3
- package/dist/confirmation-dialog/ConfirmationDialog.js +3 -4
- package/dist/confirmation-dialog/index.cjs +0 -1
- package/dist/file-upload/FileUpload.d.ts +2 -2
- package/dist/file-upload/FileUploadListItem.cjs +1 -2
- package/dist/file-upload/FileUploadListItem.js +2 -3
- package/dist/file-upload/hooks/index.cjs +0 -1
- package/dist/file-upload/hooks/use-file-error.cjs +3 -3
- package/dist/file-upload/hooks/use-file-error.js +2 -3
- package/dist/file-upload/hooks/use-file-upload-progress-callbacks.cjs +3 -3
- package/dist/file-upload/hooks/use-file-upload-progress-callbacks.js +2 -3
- package/dist/file-upload/index.cjs +0 -1
- package/dist/file-upload/utils/create-placeholder-file.cjs +0 -1
- package/dist/file-upload/utils/get-file-key.cjs +0 -1
- package/dist/file-upload/utils/get-file-meta.cjs +0 -1
- package/dist/file-upload/utils/is-file-equal.cjs +0 -1
- package/dist/file-upload/utils/merge-file-metadata.cjs +0 -1
- package/dist/file-upload-inline/FileUploadInline.d.ts +2 -2
- package/dist/file-upload-inline/FileUploadInlineItem.cjs +1 -3
- package/dist/file-upload-inline/FileUploadInlineItem.js +2 -4
- package/dist/file-upload-inline/defaults.cjs +0 -1
- package/dist/file-upload-inline/index.cjs +0 -1
- package/dist/file-upload-inline/utils.cjs +0 -1
- package/dist/hooks/index.cjs +0 -1
- package/dist/icon-selector/IconPicker.cjs +1 -1
- package/dist/icon-selector/IconPicker.d.cts +0 -1
- package/dist/icon-selector/IconPicker.d.ts +0 -1
- package/dist/icon-selector/IconPicker.js +1 -1
- package/dist/icon-selector/constants.cjs +0 -1
- package/dist/icon-selector/index.cjs +0 -1
- package/dist/icon-selector/index.d.cts +2 -2
- package/dist/icon-selector/index.d.ts +2 -2
- package/dist/icon-selector/utils/is-valid-provider.cjs +0 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.cjs +0 -1
- package/dist/node_modules/.pnpm/tailwind-merge@3.4.0/node_modules/tailwind-merge/dist/bundle-mjs.cjs +0 -1
- package/dist/packages/shadcn/src/lib/utils.cjs +0 -1
- package/dist/pagination/index.cjs +0 -1
- package/dist/rich-text-editor/index.cjs +0 -1
- package/dist/spinner/index.cjs +0 -1
- package/dist/spinner/styles.cjs +0 -1
- package/dist/toast/AlertToast.js +2 -2
- package/dist/toast/index.cjs +0 -1
- package/package.json +4 -4
- package/dist/_virtual/rolldown_runtime.js +0 -43
- 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 +0 -558
- 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 +0 -555
- 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 +0 -566
- 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 +0 -565
- package/dist/node_modules/.pnpm/@floating-ui_core@1.7.3/node_modules/@floating-ui/core/dist/floating-ui.core.cjs +0 -695
- package/dist/node_modules/.pnpm/@floating-ui_core@1.7.3/node_modules/@floating-ui/core/dist/floating-ui.core.js +0 -679
- package/dist/node_modules/.pnpm/@floating-ui_dom@1.7.4/node_modules/@floating-ui/dom/dist/floating-ui.dom.cjs +0 -521
- package/dist/node_modules/.pnpm/@floating-ui_dom@1.7.4/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +0 -503
- 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 +0 -282
- 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 +0 -266
- 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 +0 -3767
- 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 +0 -3747
- 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 +0 -426
- 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 +0 -379
- package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.cjs +0 -165
- package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.cjs +0 -175
- package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +0 -151
- package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +0 -138
- package/dist/node_modules/.pnpm/@radix-ui_primitive@1.1.3/node_modules/@radix-ui/primitive/dist/index.cjs +0 -13
- package/dist/node_modules/.pnpm/@radix-ui_primitive@1.1.3/node_modules/@radix-ui/primitive/dist/index.js +0 -11
- 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 +0 -33
- 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 +0 -30
- 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 +0 -92
- 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 +0 -88
- 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 +0 -310
- 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 +0 -299
- 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 +0 -190
- 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 +0 -187
- 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 +0 -34
- 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 +0 -32
- 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 +0 -203
- 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 +0 -200
- 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 +0 -18
- 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 +0 -16
- 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 +0 -29
- 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 +0 -25
- 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 +0 -110
- 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 +0 -108
- 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 +0 -52
- 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 +0 -47
- 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 +0 -92
- 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 +0 -89
- 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 +0 -103
- 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 +0 -100
- 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 +0 -15
- 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 +0 -13
- 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 +0 -64
- 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 +0 -62
- 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 +0 -19
- 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 +0 -17
- 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 +0 -9
- 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 +0 -7
- package/dist/node_modules/.pnpm/aria-hidden@1.2.6/node_modules/aria-hidden/dist/es2015/index.js +0 -108
- package/dist/node_modules/.pnpm/aria-hidden@1.2.6/node_modules/aria-hidden/dist/es5/index.cjs +0 -155
- package/dist/node_modules/.pnpm/detect-node-es@1.1.0/node_modules/detect-node-es/es5/node.cjs +0 -14
- package/dist/node_modules/.pnpm/get-nonce@1.0.1/node_modules/get-nonce/dist/es2015/index.js +0 -9
- package/dist/node_modules/.pnpm/get-nonce@1.0.1/node_modules/get-nonce/dist/es5/index.cjs +0 -22
- 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 +0 -46
- 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 +0 -12
- 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 +0 -3
- 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 +0 -37
- 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 +0 -61
- 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 +0 -23
- 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 +0 -57
- 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 +0 -49
- 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 +0 -17
- 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 +0 -163
- 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 +0 -64
- 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 +0 -16
- 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 +0 -85
- 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 +0 -7
- 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 +0 -9
- 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 +0 -29
- 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 +0 -179
- 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 +0 -79
- 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 +0 -27
- 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 +0 -98
- 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 +0 -19
- 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 +0 -18
- 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 +0 -21
- 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 +0 -21
- 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 +0 -27
- 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 +0 -3
- 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 +0 -43
- 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 +0 -33
- 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 +0 -40
- 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 +0 -39
- 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 +0 -55
- package/dist/node_modules/.pnpm/tabbable@6.3.0/node_modules/tabbable/dist/index.cjs +0 -347
- package/dist/node_modules/.pnpm/tabbable@6.3.0/node_modules/tabbable/dist/index.esm.js +0 -268
- package/dist/node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.cjs +0 -557
- package/dist/node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.js +0 -31
- 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 +0 -22
- 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 +0 -47
- 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 +0 -42
- 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 +0 -34
- 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 +0 -39
- 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 +0 -85
- 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 +0 -40
- 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 +0 -59
- 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 +0 -34
- 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 +0 -61
- 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 +0 -53
- 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 +0 -38
- 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 +0 -19
- 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 +0 -84
- 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 +0 -22
- 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 +0 -21
- 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 +0 -31
- 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 +0 -31
- 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 +0 -60
- 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 +0 -69
- 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 +0 -101
- 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 +0 -58
- package/dist/packages/shadcn/src/components/index.cjs +0 -6
- package/dist/packages/shadcn/src/components/index.js +0 -5
- package/dist/packages/shadcn/src/components/ui/OrContinueWithSeparator.cjs +0 -6
- package/dist/packages/shadcn/src/components/ui/OrContinueWithSeparator.js +0 -3
- package/dist/packages/shadcn/src/components/ui/alert-dialog.cjs +0 -10
- package/dist/packages/shadcn/src/components/ui/alert-dialog.js +0 -6
- package/dist/packages/shadcn/src/components/ui/alert.cjs +0 -44
- package/dist/packages/shadcn/src/components/ui/alert.js +0 -38
- package/dist/packages/shadcn/src/components/ui/avatar.cjs +0 -5
- package/dist/packages/shadcn/src/components/ui/avatar.js +0 -2
- package/dist/packages/shadcn/src/components/ui/badge.cjs +0 -20
- package/dist/packages/shadcn/src/components/ui/badge.js +0 -16
- package/dist/packages/shadcn/src/components/ui/button.cjs +0 -50
- package/dist/packages/shadcn/src/components/ui/button.js +0 -45
- package/dist/packages/shadcn/src/components/ui/calendar.cjs +0 -8
- package/dist/packages/shadcn/src/components/ui/calendar.js +0 -4
- package/dist/packages/shadcn/src/components/ui/card.cjs +0 -5
- package/dist/packages/shadcn/src/components/ui/card.js +0 -2
- package/dist/packages/shadcn/src/components/ui/checkbox.cjs +0 -10
- package/dist/packages/shadcn/src/components/ui/checkbox.js +0 -6
- package/dist/packages/shadcn/src/components/ui/command.cjs +0 -11
- package/dist/packages/shadcn/src/components/ui/command.js +0 -7
- package/dist/packages/shadcn/src/components/ui/dialog.cjs +0 -93
- package/dist/packages/shadcn/src/components/ui/dialog.js +0 -81
- package/dist/packages/shadcn/src/components/ui/dropdown-menu.cjs +0 -7
- package/dist/packages/shadcn/src/components/ui/dropdown-menu.js +0 -3
- package/dist/packages/shadcn/src/components/ui/file-upload.cjs +0 -49
- package/dist/packages/shadcn/src/components/ui/file-upload.js +0 -45
- package/dist/packages/shadcn/src/components/ui/form.cjs +0 -12
- package/dist/packages/shadcn/src/components/ui/form.js +0 -9
- package/dist/packages/shadcn/src/components/ui/index.cjs +0 -30
- package/dist/packages/shadcn/src/components/ui/index.js +0 -29
- package/dist/packages/shadcn/src/components/ui/input.cjs +0 -5
- package/dist/packages/shadcn/src/components/ui/input.js +0 -2
- package/dist/packages/shadcn/src/components/ui/label.cjs +0 -5
- package/dist/packages/shadcn/src/components/ui/label.js +0 -2
- package/dist/packages/shadcn/src/components/ui/pagination.cjs +0 -9
- package/dist/packages/shadcn/src/components/ui/pagination.js +0 -4
- package/dist/packages/shadcn/src/components/ui/popover.cjs +0 -5
- package/dist/packages/shadcn/src/components/ui/popover.js +0 -2
- package/dist/packages/shadcn/src/components/ui/radio-group.cjs +0 -7
- package/dist/packages/shadcn/src/components/ui/radio-group.js +0 -3
- package/dist/packages/shadcn/src/components/ui/select.cjs +0 -10
- package/dist/packages/shadcn/src/components/ui/select.js +0 -6
- package/dist/packages/shadcn/src/components/ui/separator.cjs +0 -5
- package/dist/packages/shadcn/src/components/ui/separator.js +0 -2
- package/dist/packages/shadcn/src/components/ui/shadcn-io/tags/index.cjs +0 -26
- package/dist/packages/shadcn/src/components/ui/shadcn-io/tags/index.js +0 -22
- package/dist/packages/shadcn/src/components/ui/shadcn-io/tags-input-inline/index.cjs +0 -6
- package/dist/packages/shadcn/src/components/ui/shadcn-io/tags-input-inline/index.js +0 -3
- package/dist/packages/shadcn/src/components/ui/sheet.cjs +0 -7
- package/dist/packages/shadcn/src/components/ui/sheet.js +0 -3
- package/dist/packages/shadcn/src/components/ui/slider.cjs +0 -5
- package/dist/packages/shadcn/src/components/ui/slider.js +0 -2
- package/dist/packages/shadcn/src/components/ui/switch.cjs +0 -8
- package/dist/packages/shadcn/src/components/ui/switch.js +0 -5
- package/dist/packages/shadcn/src/components/ui/tabs.cjs +0 -5
- package/dist/packages/shadcn/src/components/ui/tabs.js +0 -2
- package/dist/packages/shadcn/src/components/ui/textarea.cjs +0 -5
- package/dist/packages/shadcn/src/components/ui/textarea.js +0 -2
- package/dist/packages/shadcn/src/components/ui/tooltip.cjs +0 -5
- package/dist/packages/shadcn/src/components/ui/tooltip.js +0 -2
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
const require_rolldown_runtime = require('../../../../../_virtual/rolldown_runtime.cjs');
|
|
2
|
-
const require_utils = require('../../lib/utils.cjs');
|
|
3
|
-
const require_index = require('../../../../../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');
|
|
4
|
-
let lucide_react = require("lucide-react");
|
|
5
|
-
lucide_react = require_rolldown_runtime.__toESM(lucide_react);
|
|
6
|
-
let react = require("react");
|
|
7
|
-
react = require_rolldown_runtime.__toESM(react);
|
|
8
|
-
let react_jsx_runtime = require("react/jsx-runtime");
|
|
9
|
-
react_jsx_runtime = require_rolldown_runtime.__toESM(react_jsx_runtime);
|
|
10
|
-
|
|
11
|
-
//#region ../shadcn/src/components/ui/dialog.tsx
|
|
12
|
-
function Dialog({ ...props }) {
|
|
13
|
-
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_index.Root, {
|
|
14
|
-
"data-slot": "dialog",
|
|
15
|
-
...props
|
|
16
|
-
});
|
|
17
|
-
}
|
|
18
|
-
function DialogPortal({ ...props }) {
|
|
19
|
-
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_index.Portal, {
|
|
20
|
-
"data-slot": "dialog-portal",
|
|
21
|
-
...props
|
|
22
|
-
});
|
|
23
|
-
}
|
|
24
|
-
function DialogClose({ ...props }) {
|
|
25
|
-
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_index.Close, {
|
|
26
|
-
"data-slot": "dialog-close",
|
|
27
|
-
...props
|
|
28
|
-
});
|
|
29
|
-
}
|
|
30
|
-
function DialogOverlay({ className,...props }) {
|
|
31
|
-
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_index.Overlay, {
|
|
32
|
-
"data-slot": "dialog-overlay",
|
|
33
|
-
className: require_utils.cn("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50", className),
|
|
34
|
-
...props
|
|
35
|
-
});
|
|
36
|
-
}
|
|
37
|
-
function DialogContent({ className, children, showCloseButton = true,...props }) {
|
|
38
|
-
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(DialogPortal, {
|
|
39
|
-
"data-slot": "dialog-portal",
|
|
40
|
-
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(DialogOverlay, {}), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(require_index.Content, {
|
|
41
|
-
"data-slot": "dialog-content",
|
|
42
|
-
className: require_utils.cn("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg", className),
|
|
43
|
-
...props,
|
|
44
|
-
children: [children, showCloseButton && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(require_index.Close, {
|
|
45
|
-
"data-slot": "dialog-close",
|
|
46
|
-
className: "ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
47
|
-
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.XIcon, {}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
48
|
-
className: "sr-only",
|
|
49
|
-
children: "Close"
|
|
50
|
-
})]
|
|
51
|
-
})]
|
|
52
|
-
})]
|
|
53
|
-
});
|
|
54
|
-
}
|
|
55
|
-
function DialogHeader({ className,...props }) {
|
|
56
|
-
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
57
|
-
"data-slot": "dialog-header",
|
|
58
|
-
className: require_utils.cn("flex flex-col gap-2 text-center sm:text-left", className),
|
|
59
|
-
...props
|
|
60
|
-
});
|
|
61
|
-
}
|
|
62
|
-
function DialogFooter({ className,...props }) {
|
|
63
|
-
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
64
|
-
"data-slot": "dialog-footer",
|
|
65
|
-
className: require_utils.cn("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end", className),
|
|
66
|
-
...props
|
|
67
|
-
});
|
|
68
|
-
}
|
|
69
|
-
function DialogTitle({ className,...props }) {
|
|
70
|
-
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_index.Title, {
|
|
71
|
-
"data-slot": "dialog-title",
|
|
72
|
-
className: require_utils.cn("text-lg leading-none font-semibold", className),
|
|
73
|
-
...props
|
|
74
|
-
});
|
|
75
|
-
}
|
|
76
|
-
function DialogDescription({ className,...props }) {
|
|
77
|
-
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_index.Description, {
|
|
78
|
-
"data-slot": "dialog-description",
|
|
79
|
-
className: require_utils.cn("text-muted-foreground text-sm", className),
|
|
80
|
-
...props
|
|
81
|
-
});
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
//#endregion
|
|
85
|
-
exports.Dialog = Dialog;
|
|
86
|
-
exports.DialogClose = DialogClose;
|
|
87
|
-
exports.DialogContent = DialogContent;
|
|
88
|
-
exports.DialogDescription = DialogDescription;
|
|
89
|
-
exports.DialogFooter = DialogFooter;
|
|
90
|
-
exports.DialogHeader = DialogHeader;
|
|
91
|
-
exports.DialogOverlay = DialogOverlay;
|
|
92
|
-
exports.DialogPortal = DialogPortal;
|
|
93
|
-
exports.DialogTitle = DialogTitle;
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
import { cn } from "../../lib/utils.js";
|
|
2
|
-
import { Close, Content, Description, Overlay, Portal, Root, Title } from "../../../../../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";
|
|
3
|
-
import { XIcon } from "lucide-react";
|
|
4
|
-
import "react";
|
|
5
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
|
-
|
|
7
|
-
//#region ../shadcn/src/components/ui/dialog.tsx
|
|
8
|
-
function Dialog({ ...props }) {
|
|
9
|
-
return /* @__PURE__ */ jsx(Root, {
|
|
10
|
-
"data-slot": "dialog",
|
|
11
|
-
...props
|
|
12
|
-
});
|
|
13
|
-
}
|
|
14
|
-
function DialogPortal({ ...props }) {
|
|
15
|
-
return /* @__PURE__ */ jsx(Portal, {
|
|
16
|
-
"data-slot": "dialog-portal",
|
|
17
|
-
...props
|
|
18
|
-
});
|
|
19
|
-
}
|
|
20
|
-
function DialogClose({ ...props }) {
|
|
21
|
-
return /* @__PURE__ */ jsx(Close, {
|
|
22
|
-
"data-slot": "dialog-close",
|
|
23
|
-
...props
|
|
24
|
-
});
|
|
25
|
-
}
|
|
26
|
-
function DialogOverlay({ className,...props }) {
|
|
27
|
-
return /* @__PURE__ */ jsx(Overlay, {
|
|
28
|
-
"data-slot": "dialog-overlay",
|
|
29
|
-
className: cn("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50", className),
|
|
30
|
-
...props
|
|
31
|
-
});
|
|
32
|
-
}
|
|
33
|
-
function DialogContent({ className, children, showCloseButton = true,...props }) {
|
|
34
|
-
return /* @__PURE__ */ jsxs(DialogPortal, {
|
|
35
|
-
"data-slot": "dialog-portal",
|
|
36
|
-
children: [/* @__PURE__ */ jsx(DialogOverlay, {}), /* @__PURE__ */ jsxs(Content, {
|
|
37
|
-
"data-slot": "dialog-content",
|
|
38
|
-
className: cn("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg", className),
|
|
39
|
-
...props,
|
|
40
|
-
children: [children, showCloseButton && /* @__PURE__ */ jsxs(Close, {
|
|
41
|
-
"data-slot": "dialog-close",
|
|
42
|
-
className: "ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
43
|
-
children: [/* @__PURE__ */ jsx(XIcon, {}), /* @__PURE__ */ jsx("span", {
|
|
44
|
-
className: "sr-only",
|
|
45
|
-
children: "Close"
|
|
46
|
-
})]
|
|
47
|
-
})]
|
|
48
|
-
})]
|
|
49
|
-
});
|
|
50
|
-
}
|
|
51
|
-
function DialogHeader({ className,...props }) {
|
|
52
|
-
return /* @__PURE__ */ jsx("div", {
|
|
53
|
-
"data-slot": "dialog-header",
|
|
54
|
-
className: cn("flex flex-col gap-2 text-center sm:text-left", className),
|
|
55
|
-
...props
|
|
56
|
-
});
|
|
57
|
-
}
|
|
58
|
-
function DialogFooter({ className,...props }) {
|
|
59
|
-
return /* @__PURE__ */ jsx("div", {
|
|
60
|
-
"data-slot": "dialog-footer",
|
|
61
|
-
className: cn("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end", className),
|
|
62
|
-
...props
|
|
63
|
-
});
|
|
64
|
-
}
|
|
65
|
-
function DialogTitle({ className,...props }) {
|
|
66
|
-
return /* @__PURE__ */ jsx(Title, {
|
|
67
|
-
"data-slot": "dialog-title",
|
|
68
|
-
className: cn("text-lg leading-none font-semibold", className),
|
|
69
|
-
...props
|
|
70
|
-
});
|
|
71
|
-
}
|
|
72
|
-
function DialogDescription({ className,...props }) {
|
|
73
|
-
return /* @__PURE__ */ jsx(Description, {
|
|
74
|
-
"data-slot": "dialog-description",
|
|
75
|
-
className: cn("text-muted-foreground text-sm", className),
|
|
76
|
-
...props
|
|
77
|
-
});
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
//#endregion
|
|
81
|
-
export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle };
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
const require_rolldown_runtime = require('../../../../../_virtual/rolldown_runtime.cjs');
|
|
2
|
-
let lucide_react = require("lucide-react");
|
|
3
|
-
lucide_react = require_rolldown_runtime.__toESM(lucide_react);
|
|
4
|
-
let react = require("react");
|
|
5
|
-
react = require_rolldown_runtime.__toESM(react);
|
|
6
|
-
let react_jsx_runtime = require("react/jsx-runtime");
|
|
7
|
-
react_jsx_runtime = require_rolldown_runtime.__toESM(react_jsx_runtime);
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
const require_rolldown_runtime = require('../../../../../_virtual/rolldown_runtime.cjs');
|
|
5
|
-
let lucide_react = require("lucide-react");
|
|
6
|
-
lucide_react = require_rolldown_runtime.__toESM(lucide_react);
|
|
7
|
-
let react = require("react");
|
|
8
|
-
react = require_rolldown_runtime.__toESM(react);
|
|
9
|
-
let react_jsx_runtime = require("react/jsx-runtime");
|
|
10
|
-
react_jsx_runtime = require_rolldown_runtime.__toESM(react_jsx_runtime);
|
|
11
|
-
|
|
12
|
-
//#region ../shadcn/src/components/ui/file-upload.tsx
|
|
13
|
-
const ROOT_NAME = "FileUpload";
|
|
14
|
-
function useLazyRef(fn) {
|
|
15
|
-
const ref = react.useRef(null);
|
|
16
|
-
if (ref.current === null) ref.current = fn();
|
|
17
|
-
return ref;
|
|
18
|
-
}
|
|
19
|
-
const StoreContext = react.createContext(null);
|
|
20
|
-
function useStoreContext(consumerName) {
|
|
21
|
-
const context = react.use(StoreContext);
|
|
22
|
-
if (!context) throw new Error(`\`${consumerName}\` must be used within \`${ROOT_NAME}\``);
|
|
23
|
-
return context;
|
|
24
|
-
}
|
|
25
|
-
function useStore(selector) {
|
|
26
|
-
const store = useStoreContext("useStore");
|
|
27
|
-
const lastValueRef = useLazyRef(() => null);
|
|
28
|
-
const getSnapshot = react.useCallback(() => {
|
|
29
|
-
const state = store.getState();
|
|
30
|
-
const prevValue = lastValueRef.current;
|
|
31
|
-
if (prevValue && prevValue.state === state) return prevValue.value;
|
|
32
|
-
const nextValue = selector(state);
|
|
33
|
-
lastValueRef.current = {
|
|
34
|
-
value: nextValue,
|
|
35
|
-
state
|
|
36
|
-
};
|
|
37
|
-
return nextValue;
|
|
38
|
-
}, [
|
|
39
|
-
store,
|
|
40
|
-
selector,
|
|
41
|
-
lastValueRef
|
|
42
|
-
]);
|
|
43
|
-
return react.useSyncExternalStore(store.subscribe, getSnapshot, getSnapshot);
|
|
44
|
-
}
|
|
45
|
-
const FileUploadContext = react.createContext(null);
|
|
46
|
-
const FileUploadItemContext = react.createContext(null);
|
|
47
|
-
|
|
48
|
-
//#endregion
|
|
49
|
-
exports.useStore = useStore;
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import "lucide-react";
|
|
5
|
-
import * as React$1 from "react";
|
|
6
|
-
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
7
|
-
|
|
8
|
-
//#region ../shadcn/src/components/ui/file-upload.tsx
|
|
9
|
-
const ROOT_NAME = "FileUpload";
|
|
10
|
-
function useLazyRef(fn) {
|
|
11
|
-
const ref = React$1.useRef(null);
|
|
12
|
-
if (ref.current === null) ref.current = fn();
|
|
13
|
-
return ref;
|
|
14
|
-
}
|
|
15
|
-
const StoreContext = React$1.createContext(null);
|
|
16
|
-
function useStoreContext(consumerName) {
|
|
17
|
-
const context = React$1.use(StoreContext);
|
|
18
|
-
if (!context) throw new Error(`\`${consumerName}\` must be used within \`${ROOT_NAME}\``);
|
|
19
|
-
return context;
|
|
20
|
-
}
|
|
21
|
-
function useStore(selector) {
|
|
22
|
-
const store = useStoreContext("useStore");
|
|
23
|
-
const lastValueRef = useLazyRef(() => null);
|
|
24
|
-
const getSnapshot = React$1.useCallback(() => {
|
|
25
|
-
const state = store.getState();
|
|
26
|
-
const prevValue = lastValueRef.current;
|
|
27
|
-
if (prevValue && prevValue.state === state) return prevValue.value;
|
|
28
|
-
const nextValue = selector(state);
|
|
29
|
-
lastValueRef.current = {
|
|
30
|
-
value: nextValue,
|
|
31
|
-
state
|
|
32
|
-
};
|
|
33
|
-
return nextValue;
|
|
34
|
-
}, [
|
|
35
|
-
store,
|
|
36
|
-
selector,
|
|
37
|
-
lastValueRef
|
|
38
|
-
]);
|
|
39
|
-
return React$1.useSyncExternalStore(store.subscribe, getSnapshot, getSnapshot);
|
|
40
|
-
}
|
|
41
|
-
const FileUploadContext = React$1.createContext(null);
|
|
42
|
-
const FileUploadItemContext = React$1.createContext(null);
|
|
43
|
-
|
|
44
|
-
//#endregion
|
|
45
|
-
export { useStore };
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
const require_rolldown_runtime = require('../../../../../_virtual/rolldown_runtime.cjs');
|
|
2
|
-
require('./label.cjs');
|
|
3
|
-
let react = require("react");
|
|
4
|
-
react = require_rolldown_runtime.__toESM(react);
|
|
5
|
-
let react_jsx_runtime = require("react/jsx-runtime");
|
|
6
|
-
react_jsx_runtime = require_rolldown_runtime.__toESM(react_jsx_runtime);
|
|
7
|
-
|
|
8
|
-
//#region ../shadcn/src/components/ui/form.tsx
|
|
9
|
-
const FormFieldContext = react.createContext({});
|
|
10
|
-
const FormItemContext = react.createContext({});
|
|
11
|
-
|
|
12
|
-
//#endregion
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import "./label.js";
|
|
2
|
-
import * as React$1 from "react";
|
|
3
|
-
import { jsx } from "react/jsx-runtime";
|
|
4
|
-
|
|
5
|
-
//#region ../shadcn/src/components/ui/form.tsx
|
|
6
|
-
const FormFieldContext = React$1.createContext({});
|
|
7
|
-
const FormItemContext = React$1.createContext({});
|
|
8
|
-
|
|
9
|
-
//#endregion
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
const require_rolldown_runtime = require('../../../../../_virtual/rolldown_runtime.cjs');
|
|
2
|
-
const require_button = require('./button.cjs');
|
|
3
|
-
const require_alert = require('./alert.cjs');
|
|
4
|
-
require('./alert-dialog.cjs');
|
|
5
|
-
require('./avatar.cjs');
|
|
6
|
-
require('./badge.cjs');
|
|
7
|
-
require('./calendar.cjs');
|
|
8
|
-
require('./card.cjs');
|
|
9
|
-
require('./checkbox.cjs');
|
|
10
|
-
const require_dialog = require('./dialog.cjs');
|
|
11
|
-
require('./command.cjs');
|
|
12
|
-
require('./dropdown-menu.cjs');
|
|
13
|
-
const require_file_upload = require('./file-upload.cjs');
|
|
14
|
-
require('./label.cjs');
|
|
15
|
-
require('./form.cjs');
|
|
16
|
-
require('./input.cjs');
|
|
17
|
-
require('./separator.cjs');
|
|
18
|
-
require('./OrContinueWithSeparator.cjs');
|
|
19
|
-
require('./pagination.cjs');
|
|
20
|
-
require('./popover.cjs');
|
|
21
|
-
require('./radio-group.cjs');
|
|
22
|
-
require('./select.cjs');
|
|
23
|
-
require('./shadcn-io/tags/index.cjs');
|
|
24
|
-
require('./shadcn-io/tags-input-inline/index.cjs');
|
|
25
|
-
require('./sheet.cjs');
|
|
26
|
-
require('./slider.cjs');
|
|
27
|
-
require('./switch.cjs');
|
|
28
|
-
require('./tabs.cjs');
|
|
29
|
-
require('./textarea.cjs');
|
|
30
|
-
require('./tooltip.cjs');
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { Button, buttonVariants } from "./button.js";
|
|
2
|
-
import { Alert, AlertDescription, AlertTitle } from "./alert.js";
|
|
3
|
-
import "./alert-dialog.js";
|
|
4
|
-
import "./avatar.js";
|
|
5
|
-
import "./badge.js";
|
|
6
|
-
import "./calendar.js";
|
|
7
|
-
import "./card.js";
|
|
8
|
-
import "./checkbox.js";
|
|
9
|
-
import { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle } from "./dialog.js";
|
|
10
|
-
import "./command.js";
|
|
11
|
-
import "./dropdown-menu.js";
|
|
12
|
-
import { useStore } from "./file-upload.js";
|
|
13
|
-
import "./label.js";
|
|
14
|
-
import "./form.js";
|
|
15
|
-
import "./input.js";
|
|
16
|
-
import "./separator.js";
|
|
17
|
-
import "./OrContinueWithSeparator.js";
|
|
18
|
-
import "./pagination.js";
|
|
19
|
-
import "./popover.js";
|
|
20
|
-
import "./radio-group.js";
|
|
21
|
-
import "./select.js";
|
|
22
|
-
import "./shadcn-io/tags/index.js";
|
|
23
|
-
import "./shadcn-io/tags-input-inline/index.js";
|
|
24
|
-
import "./sheet.js";
|
|
25
|
-
import "./slider.js";
|
|
26
|
-
import "./switch.js";
|
|
27
|
-
import "./tabs.js";
|
|
28
|
-
import "./textarea.js";
|
|
29
|
-
import "./tooltip.js";
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
const require_rolldown_runtime = require('../../../../../_virtual/rolldown_runtime.cjs');
|
|
2
|
-
let react = require("react");
|
|
3
|
-
react = require_rolldown_runtime.__toESM(react);
|
|
4
|
-
let react_jsx_runtime = require("react/jsx-runtime");
|
|
5
|
-
react_jsx_runtime = require_rolldown_runtime.__toESM(react_jsx_runtime);
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
const require_rolldown_runtime = require('../../../../../_virtual/rolldown_runtime.cjs');
|
|
2
|
-
let react = require("react");
|
|
3
|
-
react = require_rolldown_runtime.__toESM(react);
|
|
4
|
-
let react_jsx_runtime = require("react/jsx-runtime");
|
|
5
|
-
react_jsx_runtime = require_rolldown_runtime.__toESM(react_jsx_runtime);
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
const require_rolldown_runtime = require('../../../../../_virtual/rolldown_runtime.cjs');
|
|
2
|
-
let __pixpilot_shadcn = require("@pixpilot/shadcn");
|
|
3
|
-
__pixpilot_shadcn = require_rolldown_runtime.__toESM(__pixpilot_shadcn);
|
|
4
|
-
let lucide_react = require("lucide-react");
|
|
5
|
-
lucide_react = require_rolldown_runtime.__toESM(lucide_react);
|
|
6
|
-
let react = require("react");
|
|
7
|
-
react = require_rolldown_runtime.__toESM(react);
|
|
8
|
-
let react_jsx_runtime = require("react/jsx-runtime");
|
|
9
|
-
react_jsx_runtime = require_rolldown_runtime.__toESM(react_jsx_runtime);
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
const require_rolldown_runtime = require('../../../../../_virtual/rolldown_runtime.cjs');
|
|
2
|
-
let react = require("react");
|
|
3
|
-
react = require_rolldown_runtime.__toESM(react);
|
|
4
|
-
let react_jsx_runtime = require("react/jsx-runtime");
|
|
5
|
-
react_jsx_runtime = require_rolldown_runtime.__toESM(react_jsx_runtime);
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
const require_rolldown_runtime = require('../../../../../_virtual/rolldown_runtime.cjs');
|
|
2
|
-
let lucide_react = require("lucide-react");
|
|
3
|
-
lucide_react = require_rolldown_runtime.__toESM(lucide_react);
|
|
4
|
-
let react = require("react");
|
|
5
|
-
react = require_rolldown_runtime.__toESM(react);
|
|
6
|
-
let react_jsx_runtime = require("react/jsx-runtime");
|
|
7
|
-
react_jsx_runtime = require_rolldown_runtime.__toESM(react_jsx_runtime);
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
const require_rolldown_runtime = require('../../../../../_virtual/rolldown_runtime.cjs');
|
|
5
|
-
let lucide_react = require("lucide-react");
|
|
6
|
-
lucide_react = require_rolldown_runtime.__toESM(lucide_react);
|
|
7
|
-
let react = require("react");
|
|
8
|
-
react = require_rolldown_runtime.__toESM(react);
|
|
9
|
-
let react_jsx_runtime = require("react/jsx-runtime");
|
|
10
|
-
react_jsx_runtime = require_rolldown_runtime.__toESM(react_jsx_runtime);
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
const require_rolldown_runtime = require('../../../../../_virtual/rolldown_runtime.cjs');
|
|
2
|
-
let react = require("react");
|
|
3
|
-
react = require_rolldown_runtime.__toESM(react);
|
|
4
|
-
let react_jsx_runtime = require("react/jsx-runtime");
|
|
5
|
-
react_jsx_runtime = require_rolldown_runtime.__toESM(react_jsx_runtime);
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
const require_rolldown_runtime = require('../../../../../../../_virtual/rolldown_runtime.cjs');
|
|
5
|
-
require('../../button.cjs');
|
|
6
|
-
require('../../badge.cjs');
|
|
7
|
-
require('../../command.cjs');
|
|
8
|
-
require('../../popover.cjs');
|
|
9
|
-
let lucide_react = require("lucide-react");
|
|
10
|
-
lucide_react = require_rolldown_runtime.__toESM(lucide_react);
|
|
11
|
-
let react = require("react");
|
|
12
|
-
react = require_rolldown_runtime.__toESM(react);
|
|
13
|
-
let react_jsx_runtime = require("react/jsx-runtime");
|
|
14
|
-
react_jsx_runtime = require_rolldown_runtime.__toESM(react_jsx_runtime);
|
|
15
|
-
|
|
16
|
-
//#region ../shadcn/src/components/ui/shadcn-io/tags/index.tsx
|
|
17
|
-
const TagsContext = (0, react.createContext)({
|
|
18
|
-
value: void 0,
|
|
19
|
-
setValue: void 0,
|
|
20
|
-
open: false,
|
|
21
|
-
onOpenChange: () => {},
|
|
22
|
-
width: void 0,
|
|
23
|
-
setWidth: void 0
|
|
24
|
-
});
|
|
25
|
-
|
|
26
|
-
//#endregion
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import "../../button.js";
|
|
5
|
-
import "../../badge.js";
|
|
6
|
-
import "../../command.js";
|
|
7
|
-
import "../../popover.js";
|
|
8
|
-
import { XIcon } from "lucide-react";
|
|
9
|
-
import { createContext, useEffect, useRef, useState } from "react";
|
|
10
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
11
|
-
|
|
12
|
-
//#region ../shadcn/src/components/ui/shadcn-io/tags/index.tsx
|
|
13
|
-
const TagsContext = createContext({
|
|
14
|
-
value: void 0,
|
|
15
|
-
setValue: void 0,
|
|
16
|
-
open: false,
|
|
17
|
-
onOpenChange: () => {},
|
|
18
|
-
width: void 0,
|
|
19
|
-
setWidth: void 0
|
|
20
|
-
});
|
|
21
|
-
|
|
22
|
-
//#endregion
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
const require_rolldown_runtime = require('../../../../../../../_virtual/rolldown_runtime.cjs');
|
|
2
|
-
require('../../../../../../../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');
|
|
3
|
-
let lucide_react = require("lucide-react");
|
|
4
|
-
lucide_react = require_rolldown_runtime.__toESM(lucide_react);
|
|
5
|
-
let react_jsx_runtime = require("react/jsx-runtime");
|
|
6
|
-
react_jsx_runtime = require_rolldown_runtime.__toESM(react_jsx_runtime);
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import "../../../../../../../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";
|
|
2
|
-
import { X } from "lucide-react";
|
|
3
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
const require_rolldown_runtime = require('../../../../../_virtual/rolldown_runtime.cjs');
|
|
2
|
-
let lucide_react = require("lucide-react");
|
|
3
|
-
lucide_react = require_rolldown_runtime.__toESM(lucide_react);
|
|
4
|
-
let react = require("react");
|
|
5
|
-
react = require_rolldown_runtime.__toESM(react);
|
|
6
|
-
let react_jsx_runtime = require("react/jsx-runtime");
|
|
7
|
-
react_jsx_runtime = require_rolldown_runtime.__toESM(react_jsx_runtime);
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
const require_rolldown_runtime = require('../../../../../_virtual/rolldown_runtime.cjs');
|
|
2
|
-
let react = require("react");
|
|
3
|
-
react = require_rolldown_runtime.__toESM(react);
|
|
4
|
-
let react_jsx_runtime = require("react/jsx-runtime");
|
|
5
|
-
react_jsx_runtime = require_rolldown_runtime.__toESM(react_jsx_runtime);
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
const require_rolldown_runtime = require('../../../../../_virtual/rolldown_runtime.cjs');
|
|
5
|
-
let react = require("react");
|
|
6
|
-
react = require_rolldown_runtime.__toESM(react);
|
|
7
|
-
let react_jsx_runtime = require("react/jsx-runtime");
|
|
8
|
-
react_jsx_runtime = require_rolldown_runtime.__toESM(react_jsx_runtime);
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
const require_rolldown_runtime = require('../../../../../_virtual/rolldown_runtime.cjs');
|
|
2
|
-
let react = require("react");
|
|
3
|
-
react = require_rolldown_runtime.__toESM(react);
|
|
4
|
-
let react_jsx_runtime = require("react/jsx-runtime");
|
|
5
|
-
react_jsx_runtime = require_rolldown_runtime.__toESM(react_jsx_runtime);
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
const require_rolldown_runtime = require('../../../../../_virtual/rolldown_runtime.cjs');
|
|
2
|
-
let react = require("react");
|
|
3
|
-
react = require_rolldown_runtime.__toESM(react);
|
|
4
|
-
let react_jsx_runtime = require("react/jsx-runtime");
|
|
5
|
-
react_jsx_runtime = require_rolldown_runtime.__toESM(react_jsx_runtime);
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
const require_rolldown_runtime = require('../../../../../_virtual/rolldown_runtime.cjs');
|
|
2
|
-
let react = require("react");
|
|
3
|
-
react = require_rolldown_runtime.__toESM(react);
|
|
4
|
-
let react_jsx_runtime = require("react/jsx-runtime");
|
|
5
|
-
react_jsx_runtime = require_rolldown_runtime.__toESM(react_jsx_runtime);
|