@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.
Files changed (380) hide show
  1. package/dist/AbsoluteFill.cjs +24 -1
  2. package/dist/AbsoluteFill.d.ts +2 -2
  3. package/dist/AbsoluteFill.js +21 -1
  4. package/dist/Alert.cjs +81 -1
  5. package/dist/Alert.js +77 -1
  6. package/dist/Button.cjs +84 -1
  7. package/dist/Button.js +79 -1
  8. package/dist/CloseButtonAbsolute.cjs +20 -1
  9. package/dist/CloseButtonAbsolute.js +16 -1
  10. package/dist/CloseButtonRounded.cjs +22 -1
  11. package/dist/CloseButtonRounded.js +17 -1
  12. package/dist/Combobox.cjs +53 -1
  13. package/dist/Combobox.js +48 -1
  14. package/dist/CommandOptionList.cjs +29 -1
  15. package/dist/CommandOptionList.js +25 -1
  16. package/dist/ContentCard.cjs +27 -1
  17. package/dist/ContentCard.js +23 -1
  18. package/dist/DatePicker.cjs +38 -1
  19. package/dist/DatePicker.d.ts +2 -2
  20. package/dist/DatePicker.js +33 -1
  21. package/dist/LoadingOverlay.cjs +65 -1
  22. package/dist/LoadingOverlay.js +60 -1
  23. package/dist/Select.cjs +27 -1
  24. package/dist/Select.d.cts +2 -2
  25. package/dist/Select.d.ts +2 -2
  26. package/dist/Select.js +23 -1
  27. package/dist/Slider.cjs +19 -1
  28. package/dist/Slider.js +15 -1
  29. package/dist/ThemeToggle.cjs +98 -1
  30. package/dist/ThemeToggle.d.cts +2 -2
  31. package/dist/ThemeToggle.d.ts +2 -2
  32. package/dist/ThemeToggle.js +94 -1
  33. package/dist/_virtual/rolldown_runtime.cjs +44 -1
  34. package/dist/_virtual/rolldown_runtime.js +43 -0
  35. package/dist/confirmation-dialog/ConfirmationDialog.cjs +47 -1
  36. package/dist/confirmation-dialog/ConfirmationDialog.d.cts +1 -0
  37. package/dist/confirmation-dialog/ConfirmationDialog.js +43 -1
  38. package/dist/confirmation-dialog/DialogProvider.cjs +16 -1
  39. package/dist/confirmation-dialog/DialogProvider.js +12 -1
  40. package/dist/confirmation-dialog/confirmation-dialogs.cjs +14 -1
  41. package/dist/confirmation-dialog/confirmation-dialogs.js +12 -1
  42. package/dist/confirmation-dialog/index.cjs +7 -1
  43. package/dist/confirmation-dialog/index.js +6 -1
  44. package/dist/file-upload/FileUpload.cjs +68 -0
  45. package/dist/file-upload/FileUpload.d.cts +7 -0
  46. package/dist/file-upload/FileUpload.d.ts +7 -0
  47. package/dist/file-upload/FileUpload.js +63 -0
  48. package/dist/file-upload/FileUploadItems.cjs +36 -0
  49. package/dist/file-upload/FileUploadItems.js +32 -0
  50. package/dist/file-upload/FileUploadListItem.cjs +89 -0
  51. package/dist/file-upload/FileUploadListItem.js +83 -0
  52. package/dist/file-upload/hooks/index.cjs +4 -0
  53. package/dist/file-upload/hooks/index.d.cts +2 -0
  54. package/dist/file-upload/hooks/index.d.ts +2 -0
  55. package/dist/file-upload/hooks/index.js +3 -0
  56. package/dist/file-upload/hooks/use-file-error.cjs +15 -0
  57. package/dist/file-upload/hooks/use-file-error.js +14 -0
  58. package/dist/file-upload/hooks/use-file-upload-progress-callbacks.cjs +34 -0
  59. package/dist/file-upload/hooks/use-file-upload-progress-callbacks.d.cts +1 -0
  60. package/dist/file-upload/hooks/use-file-upload-progress-callbacks.d.ts +1 -0
  61. package/dist/file-upload/hooks/use-file-upload-progress-callbacks.js +32 -0
  62. package/dist/file-upload/hooks/use-file-upload-store.cjs +77 -0
  63. package/dist/file-upload/hooks/use-file-upload-store.d.cts +2 -0
  64. package/dist/file-upload/hooks/use-file-upload-store.d.ts +2 -0
  65. package/dist/file-upload/hooks/use-file-upload-store.js +75 -0
  66. package/dist/file-upload/index.cjs +6 -0
  67. package/dist/file-upload/index.d.cts +3 -0
  68. package/dist/file-upload/index.d.ts +3 -0
  69. package/dist/file-upload/index.js +5 -0
  70. package/dist/file-upload/types/index.d.cts +40 -0
  71. package/dist/file-upload/types/index.d.ts +40 -0
  72. package/dist/file-upload/utils/create-placeholder-file.cjs +12 -0
  73. package/dist/file-upload/utils/create-placeholder-file.js +10 -0
  74. package/dist/file-upload/utils/get-file-key.cjs +9 -0
  75. package/dist/file-upload/utils/get-file-key.d.cts +1 -0
  76. package/dist/file-upload/utils/get-file-key.d.ts +1 -0
  77. package/dist/file-upload/utils/get-file-key.js +7 -0
  78. package/dist/file-upload/utils/get-file-meta.cjs +24 -0
  79. package/dist/file-upload/utils/get-file-meta.d.cts +1 -0
  80. package/dist/file-upload/utils/get-file-meta.d.ts +1 -0
  81. package/dist/file-upload/utils/get-file-meta.js +21 -0
  82. package/dist/file-upload/utils/index.d.cts +4 -0
  83. package/dist/file-upload/utils/index.d.ts +4 -0
  84. package/dist/file-upload/utils/is-file-equal.cjs +10 -0
  85. package/dist/file-upload/utils/is-file-equal.d.cts +1 -0
  86. package/dist/file-upload/utils/is-file-equal.d.ts +1 -0
  87. package/dist/file-upload/utils/is-file-equal.js +8 -0
  88. package/dist/file-upload/utils/merge-file-metadata.cjs +27 -0
  89. package/dist/file-upload/utils/merge-file-metadata.d.cts +1 -0
  90. package/dist/file-upload/utils/merge-file-metadata.d.ts +1 -0
  91. package/dist/file-upload/utils/merge-file-metadata.js +26 -0
  92. package/dist/file-upload-inline/FileUploadInline.cjs +71 -0
  93. package/dist/file-upload-inline/FileUploadInline.d.cts +10 -0
  94. package/dist/file-upload-inline/FileUploadInline.d.ts +10 -0
  95. package/dist/file-upload-inline/FileUploadInline.js +66 -0
  96. package/dist/file-upload-inline/FileUploadInlineItem.cjs +96 -0
  97. package/dist/file-upload-inline/FileUploadInlineItem.js +90 -0
  98. package/dist/file-upload-inline/defaults.cjs +12 -0
  99. package/dist/file-upload-inline/defaults.js +10 -0
  100. package/dist/file-upload-inline/index.cjs +2 -0
  101. package/dist/file-upload-inline/index.d.cts +2 -0
  102. package/dist/file-upload-inline/index.d.ts +2 -0
  103. package/dist/file-upload-inline/index.js +1 -0
  104. package/dist/file-upload-inline/types.d.cts +16 -0
  105. package/dist/file-upload-inline/types.d.ts +16 -0
  106. package/dist/file-upload-inline/utils.cjs +37 -0
  107. package/dist/file-upload-inline/utils.js +34 -0
  108. package/dist/hooks/index.cjs +2 -1
  109. package/dist/hooks/index.js +1 -1
  110. package/dist/hooks/use-media-query.cjs +9 -1
  111. package/dist/hooks/use-media-query.js +7 -1
  112. package/dist/icon-selector/IconPicker.cjs +93 -1
  113. package/dist/icon-selector/IconPicker.d.cts +3 -2
  114. package/dist/icon-selector/IconPicker.d.ts +3 -2
  115. package/dist/icon-selector/IconPicker.js +88 -1
  116. package/dist/icon-selector/constants.cjs +7 -1
  117. package/dist/icon-selector/constants.js +5 -0
  118. package/dist/icon-selector/icon-picker-container.cjs +35 -1
  119. package/dist/icon-selector/icon-picker-container.js +32 -1
  120. package/dist/icon-selector/icon-picker-content.cjs +146 -1
  121. package/dist/icon-selector/icon-picker-content.js +141 -1
  122. package/dist/icon-selector/index.cjs +2 -1
  123. package/dist/icon-selector/index.d.cts +1 -2
  124. package/dist/icon-selector/index.d.ts +1 -2
  125. package/dist/icon-selector/index.js +1 -1
  126. package/dist/icon-selector/types.d.cts +4 -2
  127. package/dist/icon-selector/types.d.ts +4 -2
  128. package/dist/icon-selector/use-async-providers.cjs +69 -1
  129. package/dist/icon-selector/use-async-providers.js +67 -1
  130. package/dist/icon-selector/utils/is-valid-provider.cjs +12 -1
  131. package/dist/icon-selector/utils/is-valid-provider.js +10 -1
  132. package/dist/icon-selector/virtualized-icon-grid.cjs +137 -1
  133. package/dist/icon-selector/virtualized-icon-grid.js +132 -1
  134. package/dist/index.cjs +76 -1
  135. package/dist/index.d.cts +12 -7
  136. package/dist/index.d.ts +12 -7
  137. package/dist/index.js +37 -1
  138. 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
  139. 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
  140. 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
  141. 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
  142. package/dist/node_modules/.pnpm/@floating-ui_core@1.7.3/node_modules/@floating-ui/core/dist/floating-ui.core.cjs +695 -0
  143. package/dist/node_modules/.pnpm/@floating-ui_core@1.7.3/node_modules/@floating-ui/core/dist/floating-ui.core.js +679 -0
  144. package/dist/node_modules/.pnpm/@floating-ui_dom@1.7.4/node_modules/@floating-ui/dom/dist/floating-ui.dom.cjs +521 -0
  145. package/dist/node_modules/.pnpm/@floating-ui_dom@1.7.4/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +503 -0
  146. 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
  147. 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
  148. 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
  149. 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
  150. 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
  151. 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
  152. package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.cjs +165 -0
  153. package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.cjs +175 -0
  154. package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +151 -0
  155. package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +138 -0
  156. package/dist/node_modules/.pnpm/@radix-ui_primitive@1.1.3/node_modules/@radix-ui/primitive/dist/index.cjs +13 -0
  157. package/dist/node_modules/.pnpm/@radix-ui_primitive@1.1.3/node_modules/@radix-ui/primitive/dist/index.js +11 -0
  158. 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
  159. 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
  160. 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
  161. 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
  162. 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
  163. 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
  164. 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
  165. 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
  166. 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
  167. 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
  168. 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
  169. 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
  170. 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
  171. 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
  172. 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
  173. 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
  174. 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
  175. 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
  176. 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
  177. 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
  178. 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
  179. 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
  180. 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
  181. 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
  182. 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
  183. 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
  184. 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
  185. 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
  186. 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
  187. 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
  188. 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
  189. 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
  190. package/dist/node_modules/.pnpm/aria-hidden@1.2.6/node_modules/aria-hidden/dist/es2015/index.js +108 -0
  191. package/dist/node_modules/.pnpm/aria-hidden@1.2.6/node_modules/aria-hidden/dist/es5/index.cjs +155 -0
  192. package/dist/node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.cjs +19 -0
  193. package/dist/node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.js +17 -0
  194. package/dist/node_modules/.pnpm/detect-node-es@1.1.0/node_modules/detect-node-es/es5/node.cjs +14 -0
  195. package/dist/node_modules/.pnpm/get-nonce@1.0.1/node_modules/get-nonce/dist/es2015/index.js +9 -0
  196. package/dist/node_modules/.pnpm/get-nonce@1.0.1/node_modules/get-nonce/dist/es5/index.cjs +22 -0
  197. 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
  198. 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
  199. 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
  200. 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
  201. 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
  202. 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
  203. 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
  204. 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
  205. 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
  206. 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
  207. 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
  208. 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
  209. 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
  210. 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
  211. 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
  212. 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
  213. 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
  214. 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
  215. 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
  216. 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
  217. 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
  218. 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
  219. 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
  220. 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
  221. 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
  222. 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
  223. 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
  224. 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
  225. 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
  226. 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
  227. 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
  228. package/dist/node_modules/.pnpm/tabbable@6.3.0/node_modules/tabbable/dist/index.cjs +347 -0
  229. package/dist/node_modules/.pnpm/tabbable@6.3.0/node_modules/tabbable/dist/index.esm.js +268 -0
  230. package/dist/node_modules/.pnpm/tailwind-merge@3.4.0/node_modules/tailwind-merge/dist/bundle-mjs.cjs +1895 -0
  231. package/dist/node_modules/.pnpm/tailwind-merge@3.4.0/node_modules/tailwind-merge/dist/bundle-mjs.js +1893 -0
  232. package/dist/node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.cjs +557 -0
  233. package/dist/node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.js +31 -0
  234. 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
  235. 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
  236. 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
  237. 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
  238. 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
  239. 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
  240. 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
  241. 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
  242. 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
  243. 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
  244. 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
  245. 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
  246. 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
  247. 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
  248. 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
  249. 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
  250. 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
  251. 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
  252. 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
  253. 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
  254. 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
  255. 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
  256. package/dist/packages/shadcn/src/components/index.cjs +6 -0
  257. package/dist/packages/shadcn/src/components/index.js +5 -0
  258. package/dist/packages/shadcn/src/components/ui/OrContinueWithSeparator.cjs +6 -0
  259. package/dist/packages/shadcn/src/components/ui/OrContinueWithSeparator.js +3 -0
  260. package/dist/packages/shadcn/src/components/ui/alert-dialog.cjs +10 -0
  261. package/dist/packages/shadcn/src/components/ui/alert-dialog.js +6 -0
  262. package/dist/packages/shadcn/src/components/ui/alert.cjs +44 -0
  263. package/dist/packages/shadcn/src/components/ui/alert.js +38 -0
  264. package/dist/packages/shadcn/src/components/ui/avatar.cjs +5 -0
  265. package/dist/packages/shadcn/src/components/ui/avatar.js +2 -0
  266. package/dist/packages/shadcn/src/components/ui/badge.cjs +20 -0
  267. package/dist/packages/shadcn/src/components/ui/badge.js +16 -0
  268. package/dist/packages/shadcn/src/components/ui/button.cjs +50 -0
  269. package/dist/packages/shadcn/src/components/ui/button.js +45 -0
  270. package/dist/packages/shadcn/src/components/ui/calendar.cjs +8 -0
  271. package/dist/packages/shadcn/src/components/ui/calendar.js +4 -0
  272. package/dist/packages/shadcn/src/components/ui/card.cjs +5 -0
  273. package/dist/packages/shadcn/src/components/ui/card.js +2 -0
  274. package/dist/packages/shadcn/src/components/ui/checkbox.cjs +10 -0
  275. package/dist/packages/shadcn/src/components/ui/checkbox.js +6 -0
  276. package/dist/packages/shadcn/src/components/ui/command.cjs +11 -0
  277. package/dist/packages/shadcn/src/components/ui/command.js +7 -0
  278. package/dist/packages/shadcn/src/components/ui/dialog.cjs +93 -0
  279. package/dist/packages/shadcn/src/components/ui/dialog.js +81 -0
  280. package/dist/packages/shadcn/src/components/ui/dropdown-menu.cjs +7 -0
  281. package/dist/packages/shadcn/src/components/ui/dropdown-menu.js +3 -0
  282. package/dist/packages/shadcn/src/components/ui/file-upload.cjs +49 -0
  283. package/dist/packages/shadcn/src/components/ui/file-upload.js +45 -0
  284. package/dist/packages/shadcn/src/components/ui/form.cjs +12 -0
  285. package/dist/packages/shadcn/src/components/ui/form.js +9 -0
  286. package/dist/packages/shadcn/src/components/ui/index.cjs +30 -0
  287. package/dist/packages/shadcn/src/components/ui/index.js +29 -0
  288. package/dist/packages/shadcn/src/components/ui/input.cjs +5 -0
  289. package/dist/packages/shadcn/src/components/ui/input.js +2 -0
  290. package/dist/packages/shadcn/src/components/ui/label.cjs +5 -0
  291. package/dist/packages/shadcn/src/components/ui/label.js +2 -0
  292. package/dist/packages/shadcn/src/components/ui/pagination.cjs +9 -0
  293. package/dist/packages/shadcn/src/components/ui/pagination.js +4 -0
  294. package/dist/packages/shadcn/src/components/ui/popover.cjs +5 -0
  295. package/dist/packages/shadcn/src/components/ui/popover.js +2 -0
  296. package/dist/packages/shadcn/src/components/ui/radio-group.cjs +7 -0
  297. package/dist/packages/shadcn/src/components/ui/radio-group.js +3 -0
  298. package/dist/packages/shadcn/src/components/ui/select.cjs +10 -0
  299. package/dist/packages/shadcn/src/components/ui/select.js +6 -0
  300. package/dist/packages/shadcn/src/components/ui/separator.cjs +5 -0
  301. package/dist/packages/shadcn/src/components/ui/separator.js +2 -0
  302. package/dist/packages/shadcn/src/components/ui/shadcn-io/tags/index.cjs +26 -0
  303. package/dist/packages/shadcn/src/components/ui/shadcn-io/tags/index.js +22 -0
  304. package/dist/packages/shadcn/src/components/ui/shadcn-io/tags-input-inline/index.cjs +6 -0
  305. package/dist/packages/shadcn/src/components/ui/shadcn-io/tags-input-inline/index.js +3 -0
  306. package/dist/packages/shadcn/src/components/ui/sheet.cjs +7 -0
  307. package/dist/packages/shadcn/src/components/ui/sheet.js +3 -0
  308. package/dist/packages/shadcn/src/components/ui/slider.cjs +5 -0
  309. package/dist/packages/shadcn/src/components/ui/slider.js +2 -0
  310. package/dist/packages/shadcn/src/components/ui/switch.cjs +8 -0
  311. package/dist/packages/shadcn/src/components/ui/switch.js +5 -0
  312. package/dist/packages/shadcn/src/components/ui/tabs.cjs +5 -0
  313. package/dist/packages/shadcn/src/components/ui/tabs.js +2 -0
  314. package/dist/packages/shadcn/src/components/ui/textarea.cjs +5 -0
  315. package/dist/packages/shadcn/src/components/ui/textarea.js +2 -0
  316. package/dist/packages/shadcn/src/components/ui/tooltip.cjs +5 -0
  317. package/dist/packages/shadcn/src/components/ui/tooltip.js +2 -0
  318. package/dist/packages/shadcn/src/lib/utils.cjs +11 -0
  319. package/dist/packages/shadcn/src/lib/utils.js +10 -0
  320. package/dist/pagination/Pagination.cjs +156 -0
  321. package/dist/{Pagination → pagination}/Pagination.d.cts +1 -1
  322. package/dist/{Pagination → pagination}/Pagination.d.ts +1 -1
  323. package/dist/pagination/Pagination.js +151 -0
  324. package/dist/pagination/index.cjs +2 -0
  325. package/dist/pagination/index.js +1 -0
  326. package/dist/rich-text-editor/RichTextEditor.cjs +132 -0
  327. package/dist/rich-text-editor/RichTextEditor.d.cts +55 -0
  328. package/dist/rich-text-editor/RichTextEditor.d.ts +55 -0
  329. package/dist/rich-text-editor/RichTextEditor.js +126 -0
  330. package/dist/rich-text-editor/index.cjs +2 -0
  331. package/dist/rich-text-editor/index.d.cts +1 -0
  332. package/dist/rich-text-editor/index.d.ts +1 -0
  333. package/dist/rich-text-editor/index.js +1 -0
  334. package/dist/rich-text-editor/predefined-toolbar-options.cjs +84 -0
  335. package/dist/rich-text-editor/predefined-toolbar-options.js +81 -0
  336. package/dist/spinner/index.cjs +2 -1
  337. package/dist/spinner/index.js +1 -1
  338. package/dist/spinner/spinner.cjs +73 -6
  339. package/dist/spinner/spinner.js +70 -6
  340. package/dist/spinner/styles.cjs +25 -12
  341. package/dist/spinner/styles.js +23 -12
  342. package/dist/tags-input.cjs +226 -1
  343. package/dist/tags-input.d.cts +2 -2
  344. package/dist/tags-input.d.ts +2 -2
  345. package/dist/tags-input.js +222 -1
  346. package/dist/theme-provider/ThemeProvider.cjs +27 -1
  347. package/dist/theme-provider/ThemeProvider.js +23 -1
  348. package/dist/theme-provider/index.cjs +4 -1
  349. package/dist/theme-provider/index.js +4 -1
  350. package/dist/toast/AlertToast.cjs +36 -1
  351. package/dist/toast/AlertToast.js +31 -1
  352. package/dist/toast/index.cjs +2 -1
  353. package/dist/toast/index.js +1 -1
  354. package/dist/toast/toast.cjs +75 -1
  355. package/dist/toast/toast.js +66 -1
  356. package/package.json +11 -4
  357. package/dist/FileUploadInline.cjs +0 -1
  358. package/dist/FileUploadInline.d.cts +0 -75
  359. package/dist/FileUploadInline.d.ts +0 -75
  360. package/dist/FileUploadInline.js +0 -1
  361. package/dist/Pagination/Pagination.cjs +0 -1
  362. package/dist/Pagination/Pagination.js +0 -1
  363. package/dist/Pagination/index.cjs +0 -1
  364. package/dist/Pagination/index.js +0 -1
  365. package/dist/PopoverContent.cjs +0 -1
  366. package/dist/PopoverContent.d.cts +0 -8
  367. package/dist/PopoverContent.d.ts +0 -8
  368. package/dist/PopoverContent.js +0 -1
  369. package/dist/icon-selector/use-async-providers.d.cts +0 -14
  370. package/dist/icon-selector/use-async-providers.d.ts +0 -14
  371. package/dist/shadcn/src/components/ui/alert.cjs +0 -1
  372. package/dist/shadcn/src/components/ui/alert.js +0 -1
  373. package/dist/shadcn/src/components/ui/dialog.cjs +0 -1
  374. package/dist/shadcn/src/components/ui/dialog.js +0 -1
  375. package/dist/shadcn/src/lib/index.cjs +0 -1
  376. package/dist/shadcn/src/lib/index.js +0 -1
  377. package/dist/shadcn/src/lib/utils.cjs +0 -1
  378. package/dist/shadcn/src/lib/utils.js +0 -1
  379. /package/dist/{Pagination → pagination}/index.d.cts +0 -0
  380. /package/dist/{Pagination → pagination}/index.d.ts +0 -0
@@ -0,0 +1,21 @@
1
+ //#region src/file-upload/utils/get-file-meta.ts
2
+ function getFileMeta(file) {
3
+ return {
4
+ name: file.name,
5
+ size: file.size,
6
+ type: file.type,
7
+ lastModified: file.lastModified
8
+ };
9
+ }
10
+ function getFileMetaAndFile(file) {
11
+ return {
12
+ name: file.name,
13
+ size: file.size,
14
+ type: file.type,
15
+ lastModified: file.lastModified,
16
+ file
17
+ };
18
+ }
19
+
20
+ //#endregion
21
+ export { getFileMeta, getFileMetaAndFile };
@@ -0,0 +1,4 @@
1
+ import "./get-file-key.cjs";
2
+ import "./get-file-meta.cjs";
3
+ import "./is-file-equal.cjs";
4
+ import "./merge-file-metadata.cjs";
@@ -0,0 +1,4 @@
1
+ import "./get-file-key.js";
2
+ import "./get-file-meta.js";
3
+ import "./is-file-equal.js";
4
+ import "./merge-file-metadata.js";
@@ -0,0 +1,10 @@
1
+ const require_rolldown_runtime = require('../../_virtual/rolldown_runtime.cjs');
2
+
3
+ //#region src/file-upload/utils/is-file-equal.ts
4
+ function isFileEqual(a, b) {
5
+ if (!a || !b) return false;
6
+ return a.name === b.name && a.size === b.size && a.lastModified === b.lastModified;
7
+ }
8
+
9
+ //#endregion
10
+ exports.isFileEqual = isFileEqual;
@@ -0,0 +1 @@
1
+ import "../types/index.cjs";
@@ -0,0 +1 @@
1
+ import "../types/index.js";
@@ -0,0 +1,8 @@
1
+ //#region src/file-upload/utils/is-file-equal.ts
2
+ function isFileEqual(a, b) {
3
+ if (!a || !b) return false;
4
+ return a.name === b.name && a.size === b.size && a.lastModified === b.lastModified;
5
+ }
6
+
7
+ //#endregion
8
+ export { isFileEqual };
@@ -0,0 +1,27 @@
1
+ const require_rolldown_runtime = require('../../_virtual/rolldown_runtime.cjs');
2
+ const require_get_file_meta = require('./get-file-meta.cjs');
3
+
4
+ //#region src/file-upload/utils/merge-file-metadata.ts
5
+ /**
6
+ * Merges newly selected files with existing files (when multiple is true)
7
+ * Removes duplicates by filename and lastModified, keeping all unique versions
8
+ *
9
+ * @param existingFiles - The current files from value prop
10
+ * @param newFiles - The newly selected File objects from input
11
+ * @returns Array of merged FileMetadata objects
12
+ */
13
+ function mergeFileMetadata(existingFiles, newFiles) {
14
+ const fileMap = /* @__PURE__ */ new Map();
15
+ existingFiles.forEach((fileMetaData) => {
16
+ const key = `${fileMetaData.name}-${fileMetaData.lastModified}`;
17
+ fileMap.set(key, fileMetaData);
18
+ });
19
+ newFiles.forEach((file) => {
20
+ const key = `${file.name}-${file.lastModified}`;
21
+ fileMap.set(key, require_get_file_meta.getFileMetaAndFile(file));
22
+ });
23
+ return Array.from(fileMap.values());
24
+ }
25
+
26
+ //#endregion
27
+ exports.mergeFileMetadata = mergeFileMetadata;
@@ -0,0 +1 @@
1
+ import "../types/index.cjs";
@@ -0,0 +1 @@
1
+ import "../types/index.js";
@@ -0,0 +1,26 @@
1
+ import { getFileMetaAndFile } from "./get-file-meta.js";
2
+
3
+ //#region src/file-upload/utils/merge-file-metadata.ts
4
+ /**
5
+ * Merges newly selected files with existing files (when multiple is true)
6
+ * Removes duplicates by filename and lastModified, keeping all unique versions
7
+ *
8
+ * @param existingFiles - The current files from value prop
9
+ * @param newFiles - The newly selected File objects from input
10
+ * @returns Array of merged FileMetadata objects
11
+ */
12
+ function mergeFileMetadata(existingFiles, newFiles) {
13
+ const fileMap = /* @__PURE__ */ new Map();
14
+ existingFiles.forEach((fileMetaData) => {
15
+ const key = `${fileMetaData.name}-${fileMetaData.lastModified}`;
16
+ fileMap.set(key, fileMetaData);
17
+ });
18
+ newFiles.forEach((file) => {
19
+ const key = `${file.name}-${file.lastModified}`;
20
+ fileMap.set(key, getFileMetaAndFile(file));
21
+ });
22
+ return Array.from(fileMap.values());
23
+ }
24
+
25
+ //#endregion
26
+ export { mergeFileMetadata };
@@ -0,0 +1,71 @@
1
+ 'use client';
2
+
3
+
4
+ const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
5
+ const require_use_file_upload_store = require('../file-upload/hooks/use-file-upload-store.cjs');
6
+ require('../file-upload/index.cjs');
7
+ const require_defaults = require('./defaults.cjs');
8
+ const require_FileUploadInlineItem = require('./FileUploadInlineItem.cjs');
9
+ let __pixpilot_shadcn = require("@pixpilot/shadcn");
10
+ __pixpilot_shadcn = require_rolldown_runtime.__toESM(__pixpilot_shadcn);
11
+ let lucide_react = require("lucide-react");
12
+ lucide_react = require_rolldown_runtime.__toESM(lucide_react);
13
+ let react = require("react");
14
+ react = require_rolldown_runtime.__toESM(react);
15
+ let react_jsx_runtime = require("react/jsx-runtime");
16
+ react_jsx_runtime = require_rolldown_runtime.__toESM(react_jsx_runtime);
17
+
18
+ //#region src/file-upload-inline/FileUploadInline.tsx
19
+ /**
20
+ * FileUploadInline - An inline file upload component using FileUpload primitives
21
+ */
22
+ function FileUploadInline(props) {
23
+ const { value, onChange, className, disabled = require_defaults.defaultOptions.disabled, multiple = require_defaults.defaultOptions.multiple, buttonText, showIcon = require_defaults.defaultOptions.showIcon, onAccept, preventDuplicates,...rest } = props;
24
+ const { handleAccept, displayFiles, deleteFile, getFile, orgValue } = require_use_file_upload_store.useFileUploadStore({
25
+ value,
26
+ onChange,
27
+ multiple,
28
+ preventDuplicates
29
+ });
30
+ const handleFileAccept = (0, react.useCallback)((files) => {
31
+ onAccept?.(files);
32
+ handleAccept(files);
33
+ }, [handleAccept, onAccept]);
34
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__pixpilot_shadcn.FileUpload, {
35
+ ...rest,
36
+ value: orgValue,
37
+ onAccept: handleFileAccept,
38
+ disabled,
39
+ multiple,
40
+ className: (0, __pixpilot_shadcn.cn)("space-y-2", className),
41
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [(multiple || !multiple && displayFiles.length === 0) && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(__pixpilot_shadcn.FileUploadDropzone, {
42
+ className: (0, __pixpilot_shadcn.cn)("rounded-md border border-input border-solid flex-row bg-background px-3 py-0 display-block w-full cursor-pointer", "hover:bg-accent/50 transition-colors m-0", disabled && "cursor-not-allowed opacity-50"),
43
+ children: [showIcon && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.CloudUpload, { className: "h-4 w-4 shrink-0 mx-1 text-muted-foreground" }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__pixpilot_shadcn.FileUploadTrigger, {
44
+ asChild: true,
45
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__pixpilot_shadcn.Button, {
46
+ variant: "link",
47
+ size: "sm",
48
+ className: "h-auto py-2 px-0 text-sm text-muted-foreground hover:no-underline justify-start flex-1",
49
+ disabled,
50
+ children: buttonText
51
+ })
52
+ })]
53
+ }), displayFiles.length > 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__pixpilot_shadcn.FileUploadList, {
54
+ className: "space-y-1 m-0",
55
+ forceMount: true,
56
+ children: displayFiles.map((data) => {
57
+ const { name, lastModified } = data;
58
+ const key = `${name}-${lastModified}`;
59
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_FileUploadInlineItem.FileUploadInlineItem, {
60
+ ...data,
61
+ file: getFile(data),
62
+ disabled,
63
+ onDelete: deleteFile
64
+ }, key);
65
+ })
66
+ })] })
67
+ });
68
+ }
69
+
70
+ //#endregion
71
+ exports.FileUploadInline = FileUploadInline;
@@ -0,0 +1,10 @@
1
+ import { FileUploadInlineProps } from "./types.cjs";
2
+ import * as react_jsx_runtime7 from "react/jsx-runtime";
3
+
4
+ //#region src/file-upload-inline/FileUploadInline.d.ts
5
+ /**
6
+ * FileUploadInline - An inline file upload component using FileUpload primitives
7
+ */
8
+ declare function FileUploadInline(props: FileUploadInlineProps): react_jsx_runtime7.JSX.Element;
9
+ //#endregion
10
+ export { FileUploadInline };
@@ -0,0 +1,10 @@
1
+ import { FileUploadInlineProps } from "./types.js";
2
+ import * as react_jsx_runtime7 from "react/jsx-runtime";
3
+
4
+ //#region src/file-upload-inline/FileUploadInline.d.ts
5
+ /**
6
+ * FileUploadInline - An inline file upload component using FileUpload primitives
7
+ */
8
+ declare function FileUploadInline(props: FileUploadInlineProps): react_jsx_runtime7.JSX.Element;
9
+ //#endregion
10
+ export { FileUploadInline };
@@ -0,0 +1,66 @@
1
+ 'use client';
2
+
3
+
4
+ import { useFileUploadStore } from "../file-upload/hooks/use-file-upload-store.js";
5
+ import "../file-upload/index.js";
6
+ import { defaultOptions } from "./defaults.js";
7
+ import { FileUploadInlineItem } from "./FileUploadInlineItem.js";
8
+ import { Button, FileUpload, FileUploadDropzone, FileUploadList, FileUploadTrigger, cn } from "@pixpilot/shadcn";
9
+ import { CloudUpload } from "lucide-react";
10
+ import { useCallback } from "react";
11
+ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
12
+
13
+ //#region src/file-upload-inline/FileUploadInline.tsx
14
+ /**
15
+ * FileUploadInline - An inline file upload component using FileUpload primitives
16
+ */
17
+ function FileUploadInline(props) {
18
+ const { value, onChange, className, disabled = defaultOptions.disabled, multiple = defaultOptions.multiple, buttonText, showIcon = defaultOptions.showIcon, onAccept, preventDuplicates,...rest } = props;
19
+ const { handleAccept, displayFiles, deleteFile, getFile, orgValue } = useFileUploadStore({
20
+ value,
21
+ onChange,
22
+ multiple,
23
+ preventDuplicates
24
+ });
25
+ const handleFileAccept = useCallback((files) => {
26
+ onAccept?.(files);
27
+ handleAccept(files);
28
+ }, [handleAccept, onAccept]);
29
+ return /* @__PURE__ */ jsx(FileUpload, {
30
+ ...rest,
31
+ value: orgValue,
32
+ onAccept: handleFileAccept,
33
+ disabled,
34
+ multiple,
35
+ className: cn("space-y-2", className),
36
+ children: /* @__PURE__ */ jsxs(Fragment, { children: [(multiple || !multiple && displayFiles.length === 0) && /* @__PURE__ */ jsxs(FileUploadDropzone, {
37
+ className: cn("rounded-md border border-input border-solid flex-row bg-background px-3 py-0 display-block w-full cursor-pointer", "hover:bg-accent/50 transition-colors m-0", disabled && "cursor-not-allowed opacity-50"),
38
+ children: [showIcon && /* @__PURE__ */ jsx(CloudUpload, { className: "h-4 w-4 shrink-0 mx-1 text-muted-foreground" }), /* @__PURE__ */ jsx(FileUploadTrigger, {
39
+ asChild: true,
40
+ children: /* @__PURE__ */ jsx(Button, {
41
+ variant: "link",
42
+ size: "sm",
43
+ className: "h-auto py-2 px-0 text-sm text-muted-foreground hover:no-underline justify-start flex-1",
44
+ disabled,
45
+ children: buttonText
46
+ })
47
+ })]
48
+ }), displayFiles.length > 0 && /* @__PURE__ */ jsx(FileUploadList, {
49
+ className: "space-y-1 m-0",
50
+ forceMount: true,
51
+ children: displayFiles.map((data) => {
52
+ const { name, lastModified } = data;
53
+ const key = `${name}-${lastModified}`;
54
+ return /* @__PURE__ */ jsx(FileUploadInlineItem, {
55
+ ...data,
56
+ file: getFile(data),
57
+ disabled,
58
+ onDelete: deleteFile
59
+ }, key);
60
+ })
61
+ })] })
62
+ });
63
+ }
64
+
65
+ //#endregion
66
+ export { FileUploadInline };
@@ -0,0 +1,96 @@
1
+ 'use client';
2
+
3
+
4
+ const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
5
+ const require_file_upload = require('../packages/shadcn/src/components/ui/file-upload.cjs');
6
+ require('../packages/shadcn/src/components/index.cjs');
7
+ const require_use_file_error = require('../file-upload/hooks/use-file-error.cjs');
8
+ const require_use_file_upload_progress_callbacks = require('../file-upload/hooks/use-file-upload-progress-callbacks.cjs');
9
+ require('../file-upload/hooks/index.cjs');
10
+ let __pixpilot_shadcn = require("@pixpilot/shadcn");
11
+ __pixpilot_shadcn = require_rolldown_runtime.__toESM(__pixpilot_shadcn);
12
+ let lucide_react = require("lucide-react");
13
+ lucide_react = require_rolldown_runtime.__toESM(lucide_react);
14
+ let react = require("react");
15
+ react = require_rolldown_runtime.__toESM(react);
16
+ let pretty_bytes = require("pretty-bytes");
17
+ pretty_bytes = require_rolldown_runtime.__toESM(pretty_bytes);
18
+ let react_jsx_runtime = require("react/jsx-runtime");
19
+ react_jsx_runtime = require_rolldown_runtime.__toESM(react_jsx_runtime);
20
+
21
+ //#region src/file-upload-inline/FileUploadInlineItem.tsx
22
+ const FileMetaDataDisplay = ({ size, name, children }) => {
23
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
24
+ className: (0, __pixpilot_shadcn.cn)("min-w-0 flex-1 flex flex-col"),
25
+ children: [
26
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
27
+ className: (0, __pixpilot_shadcn.cn)("truncate font-medium text-sm"),
28
+ children: name
29
+ }),
30
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
31
+ className: (0, __pixpilot_shadcn.cn)("truncate text-muted-foreground text-xs"),
32
+ children: (0, pretty_bytes.default)(size)
33
+ }),
34
+ children
35
+ ]
36
+ });
37
+ };
38
+ const DeleteIconButton = ({ onClick }) => {
39
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__pixpilot_shadcn.Button, {
40
+ variant: "ghost",
41
+ size: "icon",
42
+ className: "size-7 shrink-0",
43
+ "aria-label": "Remove file",
44
+ onClick,
45
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.XIcon, { className: "h-3.5 w-3.5" })
46
+ });
47
+ };
48
+ const FileItemWrapper = ({ children }) => {
49
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
50
+ className: "flex flex-col gap-2 rounded-md border border-input bg-background px-3 py-2 m-0 w-full",
51
+ children
52
+ });
53
+ };
54
+ const FileItemInnerWrapper = ({ children }) => {
55
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
56
+ className: "flex w-full gap-2",
57
+ children
58
+ });
59
+ };
60
+ const FileUploadInlineItem = react.default.memo(({ file, name = "", size = 0, type = "", lastModified = 0, disabled = false, onDelete }) => {
61
+ require_use_file_upload_progress_callbacks.useFileUploadProgressCallbacks(file, { onChange: () => {} });
62
+ const fileError = require_use_file_error.useFileError(file);
63
+ const isUploading = require_file_upload.useStore((store) => {
64
+ return store.files.get(file)?.status === "uploading";
65
+ });
66
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__pixpilot_shadcn.FileUploadItem, {
67
+ className: "p-0 m-0 border-none",
68
+ value: file,
69
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(FileItemWrapper, { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)(FileItemInnerWrapper, { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(FileMetaDataDisplay, {
70
+ name,
71
+ size,
72
+ lastModified,
73
+ type,
74
+ children: fileError != null && isUploading && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
75
+ className: "text-destructive text-xs",
76
+ children: fileError
77
+ })
78
+ }), !disabled && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DeleteIconButton, { onClick: (e) => {
79
+ e.stopPropagation();
80
+ e.preventDefault();
81
+ onDelete({
82
+ name,
83
+ size,
84
+ type,
85
+ lastModified,
86
+ file
87
+ });
88
+ } })] }), isUploading && fileError == null && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__pixpilot_shadcn.FileUploadItemProgress, {
89
+ variant: "linear",
90
+ className: "h-1 w-full"
91
+ })] })
92
+ }, `${name}-${size}-${lastModified}`);
93
+ });
94
+
95
+ //#endregion
96
+ exports.FileUploadInlineItem = FileUploadInlineItem;
@@ -0,0 +1,90 @@
1
+ 'use client';
2
+
3
+
4
+ import { useStore } from "../packages/shadcn/src/components/ui/file-upload.js";
5
+ import "../packages/shadcn/src/components/index.js";
6
+ import { useFileError } from "../file-upload/hooks/use-file-error.js";
7
+ import { useFileUploadProgressCallbacks } from "../file-upload/hooks/use-file-upload-progress-callbacks.js";
8
+ import "../file-upload/hooks/index.js";
9
+ import { Button, FileUploadItem, FileUploadItemProgress, cn } from "@pixpilot/shadcn";
10
+ import { XIcon } from "lucide-react";
11
+ import React from "react";
12
+ import prettyBytes from "pretty-bytes";
13
+ import { jsx, jsxs } from "react/jsx-runtime";
14
+
15
+ //#region src/file-upload-inline/FileUploadInlineItem.tsx
16
+ const FileMetaDataDisplay = ({ size, name, children }) => {
17
+ return /* @__PURE__ */ jsxs("div", {
18
+ className: cn("min-w-0 flex-1 flex flex-col"),
19
+ children: [
20
+ /* @__PURE__ */ jsx("span", {
21
+ className: cn("truncate font-medium text-sm"),
22
+ children: name
23
+ }),
24
+ /* @__PURE__ */ jsx("span", {
25
+ className: cn("truncate text-muted-foreground text-xs"),
26
+ children: prettyBytes(size)
27
+ }),
28
+ children
29
+ ]
30
+ });
31
+ };
32
+ const DeleteIconButton = ({ onClick }) => {
33
+ return /* @__PURE__ */ jsx(Button, {
34
+ variant: "ghost",
35
+ size: "icon",
36
+ className: "size-7 shrink-0",
37
+ "aria-label": "Remove file",
38
+ onClick,
39
+ children: /* @__PURE__ */ jsx(XIcon, { className: "h-3.5 w-3.5" })
40
+ });
41
+ };
42
+ const FileItemWrapper = ({ children }) => {
43
+ return /* @__PURE__ */ jsx("div", {
44
+ className: "flex flex-col gap-2 rounded-md border border-input bg-background px-3 py-2 m-0 w-full",
45
+ children
46
+ });
47
+ };
48
+ const FileItemInnerWrapper = ({ children }) => {
49
+ return /* @__PURE__ */ jsx("div", {
50
+ className: "flex w-full gap-2",
51
+ children
52
+ });
53
+ };
54
+ const FileUploadInlineItem = React.memo(({ file, name = "", size = 0, type = "", lastModified = 0, disabled = false, onDelete }) => {
55
+ useFileUploadProgressCallbacks(file, { onChange: () => {} });
56
+ const fileError = useFileError(file);
57
+ const isUploading = useStore((store) => {
58
+ return store.files.get(file)?.status === "uploading";
59
+ });
60
+ return /* @__PURE__ */ jsx(FileUploadItem, {
61
+ className: "p-0 m-0 border-none",
62
+ value: file,
63
+ children: /* @__PURE__ */ jsxs(FileItemWrapper, { children: [/* @__PURE__ */ jsxs(FileItemInnerWrapper, { children: [/* @__PURE__ */ jsx(FileMetaDataDisplay, {
64
+ name,
65
+ size,
66
+ lastModified,
67
+ type,
68
+ children: fileError != null && isUploading && /* @__PURE__ */ jsx("div", {
69
+ className: "text-destructive text-xs",
70
+ children: fileError
71
+ })
72
+ }), !disabled && /* @__PURE__ */ jsx(DeleteIconButton, { onClick: (e) => {
73
+ e.stopPropagation();
74
+ e.preventDefault();
75
+ onDelete({
76
+ name,
77
+ size,
78
+ type,
79
+ lastModified,
80
+ file
81
+ });
82
+ } })] }), isUploading && fileError == null && /* @__PURE__ */ jsx(FileUploadItemProgress, {
83
+ variant: "linear",
84
+ className: "h-1 w-full"
85
+ })] })
86
+ }, `${name}-${size}-${lastModified}`);
87
+ });
88
+
89
+ //#endregion
90
+ export { FileUploadInlineItem };
@@ -0,0 +1,12 @@
1
+ const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
2
+
3
+ //#region src/file-upload-inline/defaults.ts
4
+ const defaultOptions = {
5
+ buttonText: "Browse file",
6
+ showIcon: true,
7
+ disabled: false,
8
+ multiple: false
9
+ };
10
+
11
+ //#endregion
12
+ exports.defaultOptions = defaultOptions;
@@ -0,0 +1,10 @@
1
+ //#region src/file-upload-inline/defaults.ts
2
+ const defaultOptions = {
3
+ buttonText: "Browse file",
4
+ showIcon: true,
5
+ disabled: false,
6
+ multiple: false
7
+ };
8
+
9
+ //#endregion
10
+ export { defaultOptions };
@@ -0,0 +1,2 @@
1
+ const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
2
+ const require_FileUploadInline = require('./FileUploadInline.cjs');
@@ -0,0 +1,2 @@
1
+ import { FileUploadInlineBaseProps, FileUploadInlineProps } from "./types.cjs";
2
+ import { FileUploadInline } from "./FileUploadInline.cjs";
@@ -0,0 +1,2 @@
1
+ import { FileUploadInlineBaseProps, FileUploadInlineProps } from "./types.js";
2
+ import { FileUploadInline } from "./FileUploadInline.js";
@@ -0,0 +1 @@
1
+ import { FileUploadInline } from "./FileUploadInline.js";
@@ -0,0 +1,16 @@
1
+ import { FileUploadProps } from "../file-upload/types/index.cjs";
2
+
3
+ //#region src/file-upload-inline/types.d.ts
4
+ interface FileUploadInlineBaseProps {
5
+ /**
6
+ * Button text when no file is selected
7
+ */
8
+ buttonText?: string;
9
+ /**
10
+ * Show file icon
11
+ */
12
+ showIcon?: boolean;
13
+ }
14
+ type FileUploadInlineProps = FileUploadInlineBaseProps & FileUploadProps;
15
+ //#endregion
16
+ export { FileUploadInlineBaseProps, FileUploadInlineProps };
@@ -0,0 +1,16 @@
1
+ import { FileUploadProps } from "../file-upload/types/index.js";
2
+
3
+ //#region src/file-upload-inline/types.d.ts
4
+ interface FileUploadInlineBaseProps {
5
+ /**
6
+ * Button text when no file is selected
7
+ */
8
+ buttonText?: string;
9
+ /**
10
+ * Show file icon
11
+ */
12
+ showIcon?: boolean;
13
+ }
14
+ type FileUploadInlineProps = FileUploadInlineBaseProps & FileUploadProps;
15
+ //#endregion
16
+ export { FileUploadInlineBaseProps, FileUploadInlineProps };
@@ -0,0 +1,37 @@
1
+ const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
2
+ const require_merge_file_metadata = require('../file-upload/utils/merge-file-metadata.cjs');
3
+
4
+ //#region src/file-upload-inline/utils.ts
5
+ function normalizeToArray(value) {
6
+ if (value == null) return [];
7
+ return Array.isArray(value) ? value : [value];
8
+ }
9
+ function callOnChange(value, multiple, onChange) {
10
+ const fileMetaDataOnly = value.map(({ file,...metaData }) => metaData);
11
+ if (multiple) onChange?.(fileMetaDataOnly);
12
+ else onChange?.(fileMetaDataOnly[0] ?? null);
13
+ }
14
+ /**
15
+ * Handles file value change for FileUploadInline component
16
+ * Normalizes files, merges metadata, and calls appropriate onChange callback
17
+ *
18
+ * @param value - The current file value
19
+ * @param acceptedFiles - Files accepted from file input
20
+ * @param multiple - Whether multiple files are allowed
21
+ * @param onChange - onChange callback
22
+ * @returns Object containing merged files and fileMetadataOnly arrays
23
+ */
24
+ function handleFileValueChange(value, acceptedFiles, multiple, onChange) {
25
+ const mergedFiles = require_merge_file_metadata.mergeFileMetadata(normalizeToArray(value), acceptedFiles);
26
+ const fileMetaDataOnly = mergedFiles.map(({ file,...metaData }) => metaData);
27
+ callOnChange(mergedFiles, multiple, onChange);
28
+ return {
29
+ mergedFiles,
30
+ fileMetaDataOnly
31
+ };
32
+ }
33
+
34
+ //#endregion
35
+ exports.callOnChange = callOnChange;
36
+ exports.handleFileValueChange = handleFileValueChange;
37
+ exports.normalizeToArray = normalizeToArray;
@@ -0,0 +1,34 @@
1
+ import { mergeFileMetadata } from "../file-upload/utils/merge-file-metadata.js";
2
+
3
+ //#region src/file-upload-inline/utils.ts
4
+ function normalizeToArray(value) {
5
+ if (value == null) return [];
6
+ return Array.isArray(value) ? value : [value];
7
+ }
8
+ function callOnChange(value, multiple, onChange) {
9
+ const fileMetaDataOnly = value.map(({ file,...metaData }) => metaData);
10
+ if (multiple) onChange?.(fileMetaDataOnly);
11
+ else onChange?.(fileMetaDataOnly[0] ?? null);
12
+ }
13
+ /**
14
+ * Handles file value change for FileUploadInline component
15
+ * Normalizes files, merges metadata, and calls appropriate onChange callback
16
+ *
17
+ * @param value - The current file value
18
+ * @param acceptedFiles - Files accepted from file input
19
+ * @param multiple - Whether multiple files are allowed
20
+ * @param onChange - onChange callback
21
+ * @returns Object containing merged files and fileMetadataOnly arrays
22
+ */
23
+ function handleFileValueChange(value, acceptedFiles, multiple, onChange) {
24
+ const mergedFiles = mergeFileMetadata(normalizeToArray(value), acceptedFiles);
25
+ const fileMetaDataOnly = mergedFiles.map(({ file,...metaData }) => metaData);
26
+ callOnChange(mergedFiles, multiple, onChange);
27
+ return {
28
+ mergedFiles,
29
+ fileMetaDataOnly
30
+ };
31
+ }
32
+
33
+ //#endregion
34
+ export { callOnChange, handleFileValueChange, normalizeToArray };
@@ -1 +1,2 @@
1
- const e=require(`./use-media-query.cjs`);
1
+ const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
2
+ const require_use_media_query = require('./use-media-query.cjs');
@@ -1 +1 @@
1
- import{useMediaQuery as e}from"./use-media-query.js";
1
+ import { useMediaQuery } from "./use-media-query.js";
@@ -1 +1,9 @@
1
- const e=require(`../_virtual/rolldown_runtime.cjs`);let t=require(`react-responsive`);t=e.__toESM(t);const n=t.useMediaQuery;exports.useMediaQuery=n;
1
+ const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
2
+ let react_responsive = require("react-responsive");
3
+ react_responsive = require_rolldown_runtime.__toESM(react_responsive);
4
+
5
+ //#region src/hooks/use-media-query.ts
6
+ const useMediaQuery = react_responsive.useMediaQuery;
7
+
8
+ //#endregion
9
+ exports.useMediaQuery = useMediaQuery;
@@ -1 +1,7 @@
1
- import{useMediaQuery as e}from"react-responsive";const t=e;export{t as useMediaQuery};
1
+ import { useMediaQuery } from "react-responsive";
2
+
3
+ //#region src/hooks/use-media-query.ts
4
+ const useMediaQuery$1 = useMediaQuery;
5
+
6
+ //#endregion
7
+ export { useMediaQuery$1 as useMediaQuery };