@vlrc-fe/components 2.7.0 → 3.0.0

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 (1008) hide show
  1. package/CHANGELOG.md +41 -0
  2. package/README.md +127 -209
  3. package/bin/vlrc.mjs +15 -0
  4. package/dist/ConfirmModal.cjs +1 -0
  5. package/dist/ConfirmModal.d.ts +2 -3
  6. package/dist/ConfirmModal.d.ts.map +1 -1
  7. package/dist/ConfirmModal.js +257 -0
  8. package/dist/DataTable/DataTable.cjs +1 -0
  9. package/dist/DataTable/DataTable.js +159 -0
  10. package/dist/DataTable/components/DataTableColumnHeader.cjs +1 -0
  11. package/dist/DataTable/components/DataTableColumnHeader.js +114 -0
  12. package/dist/DataTable/components/DataTableFacetedFilter.cjs +1 -0
  13. package/dist/DataTable/components/DataTableFacetedFilter.d.ts.map +1 -1
  14. package/dist/DataTable/components/DataTableFacetedFilter.js +226 -0
  15. package/dist/DataTable/components/DataTablePagination.cjs +1 -0
  16. package/dist/DataTable/components/DataTablePagination.d.ts.map +1 -1
  17. package/dist/DataTable/components/DataTablePagination.js +101 -0
  18. package/dist/DataTable/components/DataTableRowActions.cjs +1 -0
  19. package/dist/DataTable/components/DataTableRowActions.js +71 -0
  20. package/dist/DataTable/components/DataTableTable.cjs +1 -0
  21. package/dist/DataTable/components/DataTableTable.js +46 -0
  22. package/dist/DataTable/components/DataTableToolbar.cjs +1 -0
  23. package/dist/DataTable/components/DataTableToolbar.js +48 -0
  24. package/dist/DataTable/components/DataTableViewOptions.cjs +1 -0
  25. package/dist/DataTable/components/DataTableViewOptions.js +50 -0
  26. package/dist/DataTable/render/createColumns.cjs +1 -0
  27. package/dist/DataTable/render/createColumns.js +59 -0
  28. package/dist/DataTable/render/defaults.cjs +1 -0
  29. package/dist/Dropdown/Dropdown.cjs +1 -0
  30. package/dist/Dropdown/Dropdown.d.ts.map +1 -1
  31. package/dist/Dropdown/Dropdown.js +221 -0
  32. package/dist/Dropdown/types.d.ts +1 -1
  33. package/dist/Dropdown/types.d.ts.map +1 -1
  34. package/dist/Form/Form.cjs +1 -0
  35. package/dist/Form/Form.js +221 -0
  36. package/dist/Form/FormDatePicker/FormDatePicker.cjs +1 -0
  37. package/dist/Form/FormDatePicker/FormDatePicker.d.ts.map +1 -1
  38. package/dist/Form/FormDatePicker/FormDatePicker.js +79 -0
  39. package/dist/Form/FormDatePicker/MonthPickerPanel.cjs +1 -0
  40. package/dist/Form/FormDatePicker/MonthPickerPanel.d.ts +2 -1
  41. package/dist/Form/FormDatePicker/MonthPickerPanel.d.ts.map +1 -1
  42. package/dist/Form/FormDatePicker/MonthPickerPanel.js +120 -0
  43. package/dist/Form/FormDatePicker/RangeDatePicker.cjs +1 -0
  44. package/dist/Form/FormDatePicker/RangeDatePicker.d.ts +7 -1
  45. package/dist/Form/FormDatePicker/RangeDatePicker.d.ts.map +1 -1
  46. package/dist/Form/FormDatePicker/RangeDatePicker.js +123 -0
  47. package/dist/Form/FormDatePicker/SingleDatePicker.cjs +1 -0
  48. package/dist/Form/FormDatePicker/SingleDatePicker.d.ts +5 -1
  49. package/dist/Form/FormDatePicker/SingleDatePicker.d.ts.map +1 -1
  50. package/dist/Form/FormDatePicker/SingleDatePicker.js +157 -0
  51. package/dist/Form/FormDatePicker/TimeInput.cjs +1 -0
  52. package/dist/Form/FormDatePicker/TimeInput.d.ts.map +1 -1
  53. package/dist/Form/FormDatePicker/TimeInput.js +86 -0
  54. package/dist/Form/FormDatePicker/TimePicker.cjs +1 -0
  55. package/dist/Form/FormDatePicker/TimePicker.d.ts.map +1 -1
  56. package/dist/Form/FormDatePicker/TimePicker.js +89 -0
  57. package/dist/Form/FormDatePicker/YearPickerPanel.cjs +1 -0
  58. package/dist/Form/FormDatePicker/YearPickerPanel.js +100 -0
  59. package/dist/Form/FormDatePicker/types.d.ts +5 -0
  60. package/dist/Form/FormDatePicker/types.d.ts.map +1 -1
  61. package/dist/Form/FormDatePicker/useFormDatePicker.cjs +1 -0
  62. package/dist/Form/FormDatePicker/useFormDatePicker.js +40 -0
  63. package/dist/Form/FormFileUpload/FileUpload.cjs +1 -0
  64. package/dist/Form/FormFileUpload/FileUpload.js +422 -0
  65. package/dist/Form/FormFileUpload/index.cjs +1 -0
  66. package/dist/Form/FormFileUpload/index.d.ts.map +1 -1
  67. package/dist/Form/FormFileUpload/index.js +30 -0
  68. package/dist/Form/FormMultiSelect/FormMultiSelect.cjs +1 -0
  69. package/dist/Form/FormMultiSelect/FormMultiSelect.js +25 -0
  70. package/dist/Form/FormNumberInput/FormNumberInput.cjs +1 -0
  71. package/dist/Form/FormNumberInput/FormNumberInput.js +67 -0
  72. package/dist/Form/FormNumberInput/StepperControls.cjs +1 -0
  73. package/dist/Form/FormNumberInput/StepperControls.js +67 -0
  74. package/dist/Form/FormNumberInput/useFormNumberInput.cjs +1 -0
  75. package/dist/Form/FormNumberInput/useFormNumberInput.d.ts +2 -2
  76. package/dist/Form/FormNumberInput/useFormNumberInput.d.ts.map +1 -1
  77. package/dist/Form/FormNumberInput/useFormNumberInput.js +43 -0
  78. package/dist/Form/FormRadioGroup/FormRadio.cjs +1 -0
  79. package/dist/Form/FormRadioGroup/FormRadio.js +63 -0
  80. package/dist/Form/FormSelect/FormSelect.cjs +1 -0
  81. package/dist/Form/FormSelect/FormSelect.d.ts.map +1 -1
  82. package/dist/Form/FormSelect/FormSelect.js +30 -0
  83. package/dist/Form/FormSelect/types.d.ts +1 -1
  84. package/dist/Form/FormSelect/types.d.ts.map +1 -1
  85. package/dist/Form/FormSelect/useFormSelect.d.ts +1 -1
  86. package/dist/Form/FormSelect/useFormSelect.d.ts.map +1 -1
  87. package/dist/Modal.cjs +1 -0
  88. package/dist/Modal.js +120 -0
  89. package/dist/MultiSelect/MultiSelect.cjs +1 -0
  90. package/dist/MultiSelect/MultiSelect.d.ts +3 -31
  91. package/dist/MultiSelect/MultiSelect.d.ts.map +1 -1
  92. package/dist/MultiSelect/MultiSelect.js +199 -0
  93. package/dist/MultiSelect/renderers.cjs +1 -0
  94. package/dist/MultiSelect/renderers.d.ts.map +1 -1
  95. package/dist/MultiSelect/renderers.js +367 -0
  96. package/dist/MultiSelect/type.d.ts +1 -0
  97. package/dist/MultiSelect/type.d.ts.map +1 -1
  98. package/dist/MultiSelect/useMultiSelect.cjs +1 -0
  99. package/dist/MultiSelect/useMultiSelect.d.ts.map +1 -1
  100. package/dist/MultiSelect/useMultiSelect.js +163 -0
  101. package/dist/Select/BaseSelect.cjs +1 -0
  102. package/dist/Select/BaseSelect.d.ts.map +1 -1
  103. package/dist/Select/BaseSelect.js +222 -0
  104. package/dist/Select/MultiSelectTags.cjs +1 -0
  105. package/dist/Select/MultiSelectTags.d.ts.map +1 -1
  106. package/dist/Select/MultiSelectTags.js +101 -0
  107. package/dist/Select/type.d.ts +1 -1
  108. package/dist/Select/type.d.ts.map +1 -1
  109. package/dist/Typography/Blockquote.cjs +1 -0
  110. package/dist/Typography/Blockquote.js +75 -0
  111. package/dist/Typography/Code.cjs +1 -0
  112. package/dist/Typography/Code.d.ts.map +1 -1
  113. package/dist/Typography/Code.js +123 -0
  114. package/dist/Typography/Link.cjs +1 -0
  115. package/dist/Typography/Link.d.ts.map +1 -1
  116. package/dist/Typography/Link.js +128 -0
  117. package/dist/Typography/Paragraph.cjs +1 -0
  118. package/dist/Typography/Paragraph.d.ts.map +1 -1
  119. package/dist/Typography/Paragraph.js +212 -0
  120. package/dist/Typography/Text.cjs +1 -0
  121. package/dist/Typography/Text.d.ts.map +1 -1
  122. package/dist/Typography/Text.js +205 -0
  123. package/dist/Typography/Title.cjs +1 -0
  124. package/dist/Typography/Title.d.ts.map +1 -1
  125. package/dist/Typography/Title.js +199 -0
  126. package/dist/Typography/Typography.cjs +1 -0
  127. package/dist/Typography/Typography.js +16 -0
  128. package/dist/Typography/index.d.ts +1 -0
  129. package/dist/Typography/index.d.ts.map +1 -1
  130. package/dist/Typography/index.js +13 -0
  131. package/dist/Typography/tooltip.cjs +1 -0
  132. package/dist/Typography/tooltip.js +18 -0
  133. package/dist/Typography/types.d.ts +37 -1
  134. package/dist/Typography/types.d.ts.map +1 -1
  135. package/dist/Typography/utils.cjs +1 -0
  136. package/dist/Typography/utils.d.ts +3 -2
  137. package/dist/Typography/utils.d.ts.map +1 -1
  138. package/dist/Typography/utils.js +24 -0
  139. package/dist/Typography/weightStyles.cjs +1 -0
  140. package/dist/assets/stylex.css +369 -298
  141. package/dist/astryx.cjs +1 -0
  142. package/dist/astryx.d.ts +3 -0
  143. package/dist/astryx.d.ts.map +1 -0
  144. package/dist/astryx.js +2 -0
  145. package/dist/index.cjs +1 -1
  146. package/dist/index.d.ts +2 -0
  147. package/dist/index.d.ts.map +1 -1
  148. package/dist/index.js +118 -111
  149. package/dist/layout/Box.cjs +1 -0
  150. package/dist/layout/Box.d.ts +19 -0
  151. package/dist/layout/Box.d.ts.map +1 -0
  152. package/dist/layout/Box.js +112 -0
  153. package/dist/layout/Center.cjs +1 -0
  154. package/dist/layout/Center.d.ts +9 -0
  155. package/dist/layout/Center.d.ts.map +1 -0
  156. package/dist/layout/Center.js +22 -0
  157. package/dist/layout/Container.cjs +1 -0
  158. package/dist/layout/Container.d.ts +17 -0
  159. package/dist/layout/Container.d.ts.map +1 -0
  160. package/dist/layout/Container.js +75 -0
  161. package/dist/layout/Stack.cjs +1 -0
  162. package/dist/layout/Stack.d.ts +26 -0
  163. package/dist/layout/Stack.d.ts.map +1 -0
  164. package/dist/layout/Stack.js +89 -0
  165. package/dist/layout/index.d.ts +6 -1
  166. package/dist/layout/index.d.ts.map +1 -1
  167. package/dist/layout/index.js +9 -0
  168. package/dist/lazyLoad.cjs +1 -0
  169. package/dist/lazyLoad.js +13 -0
  170. package/dist/node_modules/.pnpm/@floating-ui_core@1.8.0/node_modules/@floating-ui/core/dist/floating-ui.core.cjs +1 -0
  171. package/dist/node_modules/.pnpm/@floating-ui_core@1.8.0/node_modules/@floating-ui/core/dist/floating-ui.core.js +336 -0
  172. package/dist/node_modules/.pnpm/@floating-ui_dom@1.8.0/node_modules/@floating-ui/dom/dist/floating-ui.dom.cjs +1 -0
  173. package/dist/node_modules/.pnpm/@floating-ui_dom@1.8.0/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +321 -0
  174. package/dist/node_modules/.pnpm/@floating-ui_react-dom@2.1.9_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.cjs +1 -0
  175. package/dist/node_modules/.pnpm/@floating-ui_react-dom@2.1.9_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +211 -0
  176. package/dist/node_modules/.pnpm/@radix-ui_react-alert-dialog@1.1.23_@types_react-dom@19.3.0_@types_react@19.3.0__@types_023ac3f94ac95798b92bc4b7f556cbda/node_modules/@radix-ui/react-alert-dialog/dist/index.cjs +1 -0
  177. package/dist/node_modules/.pnpm/@radix-ui_react-alert-dialog@1.1.23_@types_react-dom@19.3.0_@types_react@19.3.0__@types_023ac3f94ac95798b92bc4b7f556cbda/node_modules/@radix-ui/react-alert-dialog/dist/index.js +87 -0
  178. package/dist/node_modules/.pnpm/@radix-ui_react-aspect-ratio@1.1.15_@types_react-dom@19.3.0_@types_react@19.3.0__@types_3fe40fa8e2833eaf8803b46e02e4c30f/node_modules/@radix-ui/react-aspect-ratio/dist/index.cjs +1 -0
  179. package/dist/node_modules/.pnpm/@radix-ui_react-aspect-ratio@1.1.15_@types_react-dom@19.3.0_@types_react@19.3.0__@types_3fe40fa8e2833eaf8803b46e02e4c30f/node_modules/@radix-ui/react-aspect-ratio/dist/index.js +31 -0
  180. package/dist/node_modules/.pnpm/@radix-ui_react-avatar@1.2.6_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@_c3568bdf5c60d38014d320037c857c95/node_modules/@radix-ui/react-avatar/dist/index.cjs +1 -0
  181. package/dist/node_modules/.pnpm/@radix-ui_react-avatar@1.2.6_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@_c3568bdf5c60d38014d320037c857c95/node_modules/@radix-ui/react-avatar/dist/index.js +87 -0
  182. package/dist/node_modules/.pnpm/@radix-ui_react-collapsible@1.1.20_@types_react-dom@19.3.0_@types_react@19.3.0__@types__75f9b408b6aa016f78c6c390e6f84227/node_modules/@radix-ui/react-collapsible/dist/index.cjs +1 -0
  183. package/dist/node_modules/.pnpm/@radix-ui_react-collapsible@1.1.20_@types_react-dom@19.3.0_@types_react@19.3.0__@types__75f9b408b6aa016f78c6c390e6f84227/node_modules/@radix-ui/react-collapsible/dist/index.js +94 -0
  184. package/dist/node_modules/.pnpm/@radix-ui_react-collection@1.1.15_@types_react-dom@19.3.0_@types_react@19.3.0__@types_r_5961dc5beb3cb19a205dfdbd3304cbe5/node_modules/@radix-ui/react-collection/dist/index.cjs +1 -0
  185. package/dist/node_modules/.pnpm/@radix-ui_react-collection@1.1.15_@types_react-dom@19.3.0_@types_react@19.3.0__@types_r_5961dc5beb3cb19a205dfdbd3304cbe5/node_modules/@radix-ui/react-collection/dist/index.js +409 -0
  186. package/dist/node_modules/.pnpm/@radix-ui_react-compose-refs@1.1.5_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-compose-refs/dist/index.cjs +1 -0
  187. package/dist/node_modules/.pnpm/@radix-ui_react-context-menu@2.3.7_@types_react-dom@19.3.0_@types_react@19.3.0__@types__30d9c1a1570dd32a7a328fd93feebae9/node_modules/@radix-ui/react-context-menu/dist/index.cjs +1 -0
  188. package/dist/node_modules/.pnpm/@radix-ui_react-context-menu@2.3.7_@types_react-dom@19.3.0_@types_react@19.3.0__@types__30d9c1a1570dd32a7a328fd93feebae9/node_modules/@radix-ui/react-context-menu/dist/index.js +198 -0
  189. package/dist/node_modules/.pnpm/@radix-ui_react-context@1.2.2_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-context/dist/index.cjs +1 -0
  190. package/dist/node_modules/.pnpm/@radix-ui_react-context@1.2.2_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-context/dist/index.js +89 -0
  191. package/dist/node_modules/.pnpm/@radix-ui_react-direction@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-direction/dist/index.cjs +1 -0
  192. package/dist/node_modules/.pnpm/@radix-ui_react-direction@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-direction/dist/index.js +14 -0
  193. package/dist/node_modules/.pnpm/@radix-ui_react-dismissable-layer@1.1.19_@types_react-dom@19.3.0_@types_react@19.3.0__@_221317ca07dfdaa6590fc49e548d4242/node_modules/@radix-ui/react-dismissable-layer/dist/index.cjs +1 -0
  194. package/dist/node_modules/.pnpm/@radix-ui_react-dismissable-layer@1.1.19_@types_react-dom@19.3.0_@types_react@19.3.0__@_221317ca07dfdaa6590fc49e548d4242/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +170 -0
  195. package/dist/node_modules/.pnpm/@radix-ui_react-focus-guards@1.1.6_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-focus-guards/dist/index.cjs +1 -0
  196. package/dist/node_modules/.pnpm/@radix-ui_react-focus-scope@1.1.16_@types_react-dom@19.3.0_@types_react@19.3.0__@types__3593711fa410ee31279d746c57990974/node_modules/@radix-ui/react-focus-scope/dist/index.cjs +1 -0
  197. package/dist/node_modules/.pnpm/@radix-ui_react-focus-scope@1.1.16_@types_react-dom@19.3.0_@types_react@19.3.0__@types__3593711fa410ee31279d746c57990974/node_modules/@radix-ui/react-focus-scope/dist/index.js +158 -0
  198. package/dist/node_modules/.pnpm/@radix-ui_react-hover-card@1.1.23_@types_react-dom@19.3.0_@types_react@19.3.0__@types_r_a8ac333b78a7741970303e37358b886d/node_modules/@radix-ui/react-hover-card/dist/index.cjs +1 -0
  199. package/dist/node_modules/.pnpm/@radix-ui_react-hover-card@1.1.23_@types_react-dom@19.3.0_@types_react@19.3.0__@types_r_a8ac333b78a7741970303e37358b886d/node_modules/@radix-ui/react-hover-card/dist/index.js +149 -0
  200. package/dist/node_modules/.pnpm/@radix-ui_react-id@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-id/dist/index.cjs +1 -0
  201. package/dist/node_modules/.pnpm/@radix-ui_react-id@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-id/dist/index.js +15 -0
  202. package/dist/node_modules/.pnpm/@radix-ui_react-menu@2.1.24_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@1_bd1746795e703f342b2f4982589d4efb/node_modules/@radix-ui/react-menu/dist/index.cjs +1 -0
  203. package/dist/node_modules/.pnpm/@radix-ui_react-menu@2.1.24_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@1_bd1746795e703f342b2f4982589d4efb/node_modules/@radix-ui/react-menu/dist/index.js +543 -0
  204. package/dist/node_modules/.pnpm/@radix-ui_react-menubar@1.1.24_@types_react-dom@19.3.0_@types_react@19.3.0__@types_reac_b8d55f7c7c6b477421e3cc1ba6fb334b/node_modules/@radix-ui/react-menubar/dist/index.cjs +1 -0
  205. package/dist/node_modules/.pnpm/@radix-ui_react-menubar@1.1.24_@types_react-dom@19.3.0_@types_react@19.3.0__@types_reac_b8d55f7c7c6b477421e3cc1ba6fb334b/node_modules/@radix-ui/react-menubar/dist/index.js +275 -0
  206. package/dist/node_modules/.pnpm/@radix-ui_react-navigation-menu@1.2.22_@types_react-dom@19.3.0_@types_react@19.3.0__@ty_fde94e4aef42debd49119dde2ad3b250/node_modules/@radix-ui/react-navigation-menu/dist/index.cjs +1 -0
  207. package/dist/node_modules/.pnpm/@radix-ui_react-navigation-menu@1.2.22_@types_react-dom@19.3.0_@types_react@19.3.0__@ty_fde94e4aef42debd49119dde2ad3b250/node_modules/@radix-ui/react-navigation-menu/dist/index.js +537 -0
  208. package/dist/node_modules/.pnpm/@radix-ui_react-popper@1.3.7_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@_ca4fb1e7b10e21399fbf7b38c61d930c/node_modules/@radix-ui/react-popper/dist/index.cjs +1 -0
  209. package/dist/node_modules/.pnpm/@radix-ui_react-popper@1.3.7_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@_ca4fb1e7b10e21399fbf7b38c61d930c/node_modules/@radix-ui/react-popper/dist/index.js +163 -0
  210. package/dist/node_modules/.pnpm/@radix-ui_react-portal@1.1.17_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react_dcf9598b366f9d4cb930092169158fb6/node_modules/@radix-ui/react-portal/dist/index.cjs +1 -0
  211. package/dist/node_modules/.pnpm/@radix-ui_react-portal@1.1.17_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react_dcf9598b366f9d4cb930092169158fb6/node_modules/@radix-ui/react-portal/dist/index.js +20 -0
  212. package/dist/node_modules/.pnpm/@radix-ui_react-presence@1.1.10_@types_react-dom@19.3.0_@types_react@19.3.0__@types_rea_d7b4951725c0f0b9fd732151cb937913/node_modules/@radix-ui/react-presence/dist/index.cjs +1 -0
  213. package/dist/node_modules/.pnpm/@radix-ui_react-presence@1.1.10_@types_react-dom@19.3.0_@types_react@19.3.0__@types_rea_d7b4951725c0f0b9fd732151cb937913/node_modules/@radix-ui/react-presence/dist/index.js +97 -0
  214. package/dist/node_modules/.pnpm/@radix-ui_react-primitive@2.1.10_@types_react-dom@19.3.0_@types_react@19.3.0__@types_re_b879c40dbdb8ea08e1db9842f10f20a8/node_modules/@radix-ui/react-primitive/dist/index.cjs +1 -0
  215. package/dist/node_modules/.pnpm/@radix-ui_react-primitive@2.1.10_@types_react-dom@19.3.0_@types_react@19.3.0__@types_re_b879c40dbdb8ea08e1db9842f10f20a8/node_modules/@radix-ui/react-primitive/dist/index.js +44 -0
  216. package/dist/node_modules/.pnpm/@radix-ui_react-roving-focus@1.1.19_@types_react-dom@19.3.0_@types_react@19.3.0__@types_43a41e6ed06e4781ce7b1fb0f0076623/node_modules/@radix-ui/react-roving-focus/dist/index.cjs +1 -0
  217. package/dist/node_modules/.pnpm/@radix-ui_react-roving-focus@1.1.19_@types_react-dom@19.3.0_@types_react@19.3.0__@types_43a41e6ed06e4781ce7b1fb0f0076623/node_modules/@radix-ui/react-roving-focus/dist/index.js +168 -0
  218. package/dist/node_modules/.pnpm/@radix-ui_react-slider@1.4.7_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@_0a49b18268a9d1d70ad7e785633a1513/node_modules/@radix-ui/react-slider/dist/index.cjs +1 -0
  219. package/dist/node_modules/.pnpm/@radix-ui_react-slider@1.4.7_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@_0a49b18268a9d1d70ad7e785633a1513/node_modules/@radix-ui/react-slider/dist/index.js +431 -0
  220. package/dist/node_modules/.pnpm/@radix-ui_react-switch@1.3.7_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@_f8723a7bd506c0f648804ec2dc0f18e3/node_modules/@radix-ui/react-switch/dist/index.cjs +1 -0
  221. package/dist/node_modules/.pnpm/@radix-ui_react-switch@1.3.7_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@_f8723a7bd506c0f648804ec2dc0f18e3/node_modules/@radix-ui/react-switch/dist/index.js +155 -0
  222. package/dist/node_modules/.pnpm/@radix-ui_react-tabs@1.1.21_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@1_2c04ca1fb5fd914a25ee24a303bd8469/node_modules/@radix-ui/react-tabs/dist/index.cjs +1 -0
  223. package/dist/node_modules/.pnpm/@radix-ui_react-tabs@1.1.21_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@1_2c04ca1fb5fd914a25ee24a303bd8469/node_modules/@radix-ui/react-tabs/dist/index.js +117 -0
  224. package/dist/node_modules/.pnpm/@radix-ui_react-toggle-group@1.1.19_@types_react-dom@19.3.0_@types_react@19.3.0__@types_e645c0ca626436d86b14232bd158d09b/node_modules/@radix-ui/react-toggle-group/dist/index.cjs +1 -0
  225. package/dist/node_modules/.pnpm/@radix-ui_react-toggle-group@1.1.19_@types_react-dom@19.3.0_@types_react@19.3.0__@types_e645c0ca626436d86b14232bd158d09b/node_modules/@radix-ui/react-toggle-group/dist/index.js +122 -0
  226. package/dist/node_modules/.pnpm/@radix-ui_react-toggle@1.1.18_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react_f121473145ec675e8ab50657e8e97e06/node_modules/@radix-ui/react-toggle/dist/index.cjs +1 -0
  227. package/dist/node_modules/.pnpm/@radix-ui_react-toggle@1.1.18_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react_f121473145ec675e8ab50657e8e97e06/node_modules/@radix-ui/react-toggle/dist/index.js +30 -0
  228. package/dist/node_modules/.pnpm/@radix-ui_react-use-callback-ref@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-callback-ref/dist/index.cjs +1 -0
  229. package/dist/node_modules/.pnpm/@radix-ui_react-use-controllable-state@1.2.6_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-controllable-state/dist/index.cjs +1 -0
  230. package/dist/node_modules/.pnpm/@radix-ui_react-use-controllable-state@1.2.6_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-controllable-state/dist/index.js +82 -0
  231. package/dist/node_modules/.pnpm/@radix-ui_react-use-effect-event@0.0.5_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-effect-event/dist/index.cjs +1 -0
  232. package/dist/node_modules/.pnpm/@radix-ui_react-use-effect-event@0.0.5_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-effect-event/dist/index.js +20 -0
  233. package/dist/node_modules/.pnpm/@radix-ui_react-use-is-hydrated@0.1.3_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-is-hydrated/dist/index.cjs +1 -0
  234. package/dist/node_modules/.pnpm/@radix-ui_react-use-layout-effect@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-layout-effect/dist/index.cjs +1 -0
  235. package/dist/node_modules/.pnpm/@radix-ui_react-use-previous@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-previous/dist/index.cjs +1 -0
  236. package/dist/node_modules/.pnpm/@radix-ui_react-use-size@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-size/dist/index.cjs +1 -0
  237. package/dist/node_modules/.pnpm/@radix-ui_react-use-size@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-size/dist/index.js +34 -0
  238. package/dist/node_modules/.pnpm/@radix-ui_react-visually-hidden@1.2.11_@types_react-dom@19.3.0_@types_react@19.3.0__@ty_ef452cff5863a129db7ebc4b37ab07c3/node_modules/@radix-ui/react-visually-hidden/dist/index.cjs +1 -0
  239. package/dist/node_modules/.pnpm/@radix-ui_react-visually-hidden@1.2.11_@types_react-dom@19.3.0_@types_react@19.3.0__@ty_ef452cff5863a129db7ebc4b37ab07c3/node_modules/@radix-ui/react-visually-hidden/dist/index.js +29 -0
  240. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/format/formatters.cjs +1 -0
  241. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/format/formatters.js +388 -0
  242. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/format/lightFormatters.cjs +1 -0
  243. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/format/lightFormatters.js +42 -0
  244. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.cjs +1 -0
  245. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js +7 -0
  246. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/normalizeDates.cjs +1 -0
  247. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/normalizeDates.js +7 -0
  248. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/constructFrom.cjs +1 -0
  249. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/constructFrom.js +6 -0
  250. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/differenceInCalendarDays.cjs +1 -0
  251. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/differenceInCalendarDays.js +10 -0
  252. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/format.cjs +1 -0
  253. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/format.js +58 -0
  254. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getDayOfYear.cjs +1 -0
  255. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getDayOfYear.js +9 -0
  256. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getISOWeek.cjs +1 -0
  257. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getISOWeek.js +10 -0
  258. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getISOWeekYear.cjs +1 -0
  259. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getISOWeekYear.js +13 -0
  260. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getWeek.cjs +1 -0
  261. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getWeek.js +10 -0
  262. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getWeekYear.cjs +1 -0
  263. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getWeekYear.js +14 -0
  264. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/isValid.cjs +1 -0
  265. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/isValid.js +7 -0
  266. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatLong.cjs +1 -0
  267. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatLong.js +31 -0
  268. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/localize.cjs +1 -0
  269. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/localize.js +201 -0
  270. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/match.cjs +1 -0
  271. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/match.js +123 -0
  272. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US.cjs +1 -0
  273. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US.js +19 -0
  274. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfDay.cjs +1 -0
  275. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfDay.js +7 -0
  276. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfISOWeek.cjs +1 -0
  277. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfISOWeek.js +9 -0
  278. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfISOWeekYear.cjs +1 -0
  279. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfISOWeekYear.js +9 -0
  280. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfWeek.cjs +1 -0
  281. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfWeek.js +8 -0
  282. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfWeekYear.cjs +1 -0
  283. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfWeekYear.js +10 -0
  284. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfYear.cjs +1 -0
  285. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfYear.js +7 -0
  286. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/toDate.cjs +1 -0
  287. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/toDate.js +6 -0
  288. package/dist/node_modules/.pnpm/embla-carousel-react@8.6.0_react@19.3.1/node_modules/embla-carousel-react/esm/embla-carousel-react.esm.cjs +1 -0
  289. package/dist/node_modules/.pnpm/embla-carousel-react@8.6.0_react@19.3.1/node_modules/embla-carousel-react/esm/embla-carousel-react.esm.js +23 -0
  290. package/dist/node_modules/.pnpm/input-otp@1.4.2_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/input-otp/dist/index.cjs +20 -0
  291. package/dist/node_modules/.pnpm/react-hook-form@7.83.0_react@19.3.1/node_modules/react-hook-form/dist/index.esm.cjs +1 -0
  292. package/dist/node_modules/.pnpm/react-number-format@5.4.5_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/react-number-format/dist/react-number-format.es.cjs +9 -0
  293. package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll-bar/dist/es2015/component.cjs +38 -0
  294. package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll-bar/dist/es2015/component.js +69 -0
  295. package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll-bar/dist/es2015/index.cjs +1 -0
  296. package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll-bar/dist/es2015/index.js +3 -0
  297. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/Combination.cjs +1 -0
  298. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/Combination.js +13 -0
  299. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/SideEffect.cjs +4 -0
  300. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/SideEffect.js +112 -0
  301. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/UI.cjs +1 -0
  302. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/UI.js +51 -0
  303. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/medium.cjs +1 -0
  304. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/medium.js +4 -0
  305. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/sidecar.cjs +1 -0
  306. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/sidecar.js +6 -0
  307. package/dist/node_modules/.pnpm/react-resizable-panels@2.1.9_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/react-resizable-panels/dist/react-resizable-panels.browser.esm.cjs +1 -0
  308. package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.3.0_react@19.3.1/node_modules/react-style-singleton/dist/es2015/component.cjs +1 -0
  309. package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.3.0_react@19.3.1/node_modules/react-style-singleton/dist/es2015/component.js +10 -0
  310. package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.3.0_react@19.3.1/node_modules/react-style-singleton/dist/es2015/hook.cjs +1 -0
  311. package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.3.0_react@19.3.1/node_modules/react-style-singleton/dist/es2015/hook.js +14 -0
  312. package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.3.0_react@19.3.1/node_modules/react-style-singleton/dist/es2015/index.cjs +1 -0
  313. package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.3.0_react@19.3.1/node_modules/react-style-singleton/dist/es2015/index.js +3 -0
  314. package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.3.0_react@19.3.1/node_modules/react-style-singleton/dist/es2015/singleton.cjs +1 -0
  315. package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.3.0_react@19.3.1/node_modules/react-style-singleton/dist/es2015/singleton.js +27 -0
  316. package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.3.0_react@19.3.1/node_modules/use-callback-ref/dist/es2015/useMergeRef.cjs +1 -0
  317. package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.3.0_react@19.3.1/node_modules/use-callback-ref/dist/es2015/useMergeRef.js +25 -0
  318. package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@19.3.0_react@19.3.1/node_modules/use-sidecar/dist/es2015/exports.cjs +1 -0
  319. package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@19.3.0_react@19.3.1/node_modules/use-sidecar/dist/es2015/exports.js +15 -0
  320. package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@19.3.0_react@19.3.1/node_modules/use-sidecar/dist/es2015/medium.cjs +1 -0
  321. package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@19.3.0_react@19.3.1/node_modules/use-sidecar/dist/es2015/medium.js +68 -0
  322. package/dist/node_modules/.pnpm/vaul@1.1.2_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@19.3.0_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/vaul/dist/index.cjs +3 -0
  323. package/dist/richtext/index.d.ts +2 -0
  324. package/dist/richtext/index.d.ts.map +1 -0
  325. package/dist/theme/index.cjs +1 -0
  326. package/dist/theme/index.js +34 -0
  327. package/dist/theme/tokens.stylex.cjs +1 -0
  328. package/dist/theme/tokens.stylex.d.ts +175 -5
  329. package/dist/theme/tokens.stylex.d.ts.map +1 -1
  330. package/dist/theme/tokens.stylex.js +166 -0
  331. package/dist/theme/zIndex.cjs +1 -0
  332. package/dist/theme/zIndex.js +30 -0
  333. package/dist/theme.css +52 -138
  334. package/dist/ui/accordion.cjs +1 -0
  335. package/dist/ui/accordion.d.ts.map +1 -1
  336. package/dist/ui/accordion.js +286 -0
  337. package/dist/ui/action-bar.cjs +1 -0
  338. package/dist/ui/action-bar.js +161 -0
  339. package/dist/ui/alert-dialog.cjs +1 -0
  340. package/dist/ui/alert-dialog.js +234 -0
  341. package/dist/ui/alert.cjs +1 -0
  342. package/dist/ui/alert.js +97 -0
  343. package/dist/ui/aspect-ratio.cjs +1 -0
  344. package/dist/ui/aspect-ratio.js +15 -0
  345. package/dist/ui/avatar.cjs +1 -0
  346. package/dist/ui/avatar.d.ts.map +1 -1
  347. package/dist/ui/avatar.js +224 -0
  348. package/dist/ui/badge-overflow.cjs +1 -0
  349. package/dist/ui/badge-overflow.js +57 -0
  350. package/dist/ui/badge.cjs +1 -0
  351. package/dist/ui/badge.d.ts +2 -0
  352. package/dist/ui/badge.d.ts.map +1 -1
  353. package/dist/ui/badge.js +146 -0
  354. package/dist/ui/breadcrumb.cjs +1 -0
  355. package/dist/ui/breadcrumb.d.ts.map +1 -1
  356. package/dist/ui/breadcrumb.js +273 -0
  357. package/dist/ui/button.cjs +1 -0
  358. package/dist/ui/button.d.ts +2 -0
  359. package/dist/ui/button.d.ts.map +1 -1
  360. package/dist/ui/button.js +372 -0
  361. package/dist/ui/calendar.cjs +1 -0
  362. package/dist/ui/calendar.d.ts +1 -1
  363. package/dist/ui/calendar.d.ts.map +1 -1
  364. package/dist/ui/calendar.js +506 -0
  365. package/dist/ui/card.cjs +1 -0
  366. package/dist/ui/card.js +211 -0
  367. package/dist/ui/carousel.cjs +1 -0
  368. package/dist/ui/carousel.js +208 -0
  369. package/dist/ui/checkbox.cjs +1 -0
  370. package/dist/ui/checkbox.js +157 -0
  371. package/dist/ui/circular-progress.cjs +1 -0
  372. package/dist/ui/circular-progress.js +124 -0
  373. package/dist/ui/collapsible.cjs +1 -0
  374. package/dist/ui/collapsible.js +33 -0
  375. package/dist/ui/command.cjs +1 -0
  376. package/dist/ui/command.d.ts +1 -1
  377. package/dist/ui/command.d.ts.map +1 -1
  378. package/dist/ui/command.js +277 -0
  379. package/dist/ui/compare-slider.cjs +1 -0
  380. package/dist/ui/compare-slider.js +134 -0
  381. package/dist/ui/context-menu.cjs +1 -0
  382. package/dist/ui/context-menu.d.ts.map +1 -1
  383. package/dist/ui/context-menu.js +330 -0
  384. package/dist/ui/copy-button.cjs +1 -0
  385. package/dist/ui/copy-button.d.ts.map +1 -1
  386. package/dist/ui/copy-button.js +80 -0
  387. package/dist/ui/dialog.cjs +1 -0
  388. package/dist/ui/dialog.js +212 -0
  389. package/dist/ui/drawer.cjs +1 -0
  390. package/dist/ui/drawer.js +222 -0
  391. package/dist/ui/dropdown-menu.cjs +1 -0
  392. package/dist/ui/dropdown-menu.d.ts.map +1 -1
  393. package/dist/ui/dropdown-menu.js +319 -0
  394. package/dist/ui/editable.cjs +1 -0
  395. package/dist/ui/editable.d.ts.map +1 -1
  396. package/dist/ui/editable.js +339 -0
  397. package/dist/ui/empty.cjs +1 -0
  398. package/dist/ui/empty.js +134 -0
  399. package/dist/ui/field.cjs +1 -0
  400. package/dist/ui/field.d.ts +2 -0
  401. package/dist/ui/field.d.ts.map +1 -1
  402. package/dist/ui/field.js +316 -0
  403. package/dist/ui/file-upload-adapters.cjs +1 -0
  404. package/dist/ui/file-upload.cjs +1 -0
  405. package/dist/ui/file-upload.js +997 -0
  406. package/dist/ui/flex.cjs +1 -0
  407. package/dist/ui/flex.js +182 -0
  408. package/dist/ui/form.cjs +1 -0
  409. package/dist/ui/form.d.ts.map +1 -1
  410. package/dist/ui/form.js +159 -0
  411. package/dist/ui/gauge.cjs +1 -0
  412. package/dist/ui/gauge.js +116 -0
  413. package/dist/ui/grid.cjs +1 -0
  414. package/dist/ui/grid.js +190 -0
  415. package/dist/ui/hover-card.cjs +1 -0
  416. package/dist/ui/hover-card.js +61 -0
  417. package/dist/ui/input-group.cjs +1 -0
  418. package/dist/ui/input-group.d.ts.map +1 -1
  419. package/dist/ui/input-group.js +219 -0
  420. package/dist/ui/input-otp.cjs +1 -0
  421. package/dist/ui/input-otp.d.ts +1 -1
  422. package/dist/ui/input-otp.d.ts.map +1 -1
  423. package/dist/ui/input-otp.js +184 -0
  424. package/dist/ui/input.cjs +1 -0
  425. package/dist/ui/input.js +368 -0
  426. package/dist/ui/item.cjs +1 -0
  427. package/dist/ui/item.d.ts.map +1 -1
  428. package/dist/ui/item.js +276 -0
  429. package/dist/ui/kbd.cjs +1 -0
  430. package/dist/ui/kbd.js +107 -0
  431. package/dist/ui/label.cjs +1 -0
  432. package/dist/ui/label.js +35 -0
  433. package/dist/ui/masonry.cjs +1 -0
  434. package/dist/ui/masonry.js +51 -0
  435. package/dist/ui/menubar.cjs +1 -0
  436. package/dist/ui/menubar.d.ts.map +1 -1
  437. package/dist/ui/menubar.js +405 -0
  438. package/dist/ui/navigation-menu.cjs +1 -0
  439. package/dist/ui/navigation-menu.js +256 -0
  440. package/dist/ui/pagination.cjs +1 -0
  441. package/dist/ui/pagination.d.ts +3 -1
  442. package/dist/ui/pagination.d.ts.map +1 -1
  443. package/dist/ui/pagination.js +317 -0
  444. package/dist/ui/popover.cjs +1 -0
  445. package/dist/ui/popover.js +69 -0
  446. package/dist/ui/progress.cjs +1 -0
  447. package/dist/ui/progress.js +29 -0
  448. package/dist/ui/radio-group.cjs +1 -0
  449. package/dist/ui/radio-group.js +167 -0
  450. package/dist/ui/rating.cjs +1 -0
  451. package/dist/ui/rating.js +171 -0
  452. package/dist/ui/resizable.cjs +1 -0
  453. package/dist/ui/resizable.js +75 -0
  454. package/dist/ui/responsive-dialog.cjs +1 -0
  455. package/dist/ui/responsive-dialog.js +175 -0
  456. package/dist/ui/row-col.cjs +1 -0
  457. package/dist/ui/row-col.js +471 -0
  458. package/dist/ui/scroll-area.cjs +1 -0
  459. package/dist/ui/scroll-area.js +83 -0
  460. package/dist/ui/segmented.cjs +1 -0
  461. package/dist/ui/segmented.js +155 -0
  462. package/dist/ui/select.cjs +1 -0
  463. package/dist/ui/select.js +280 -0
  464. package/dist/ui/separator.cjs +1 -0
  465. package/dist/ui/separator.d.ts +2 -0
  466. package/dist/ui/separator.d.ts.map +1 -1
  467. package/dist/ui/separator.js +36 -0
  468. package/dist/ui/sheet.cjs +1 -0
  469. package/dist/ui/sheet.js +263 -0
  470. package/dist/ui/sidebar.cjs +1 -0
  471. package/dist/ui/sidebar.js +808 -0
  472. package/dist/ui/skeleton.cjs +1 -0
  473. package/dist/ui/skeleton.js +30 -0
  474. package/dist/ui/slider.cjs +1 -0
  475. package/dist/ui/slider.js +44 -0
  476. package/dist/ui/sonner.cjs +1 -0
  477. package/dist/ui/sonner.d.ts +1 -1
  478. package/dist/ui/sonner.d.ts.map +1 -1
  479. package/dist/ui/sonner.js +24 -0
  480. package/dist/ui/spinner.cjs +1 -0
  481. package/dist/ui/spinner.js +70 -0
  482. package/dist/ui/stat.cjs +1 -0
  483. package/dist/ui/stat.js +185 -0
  484. package/dist/ui/stepper.cjs +1 -0
  485. package/dist/ui/stepper.js +459 -0
  486. package/dist/ui/switch.cjs +1 -0
  487. package/dist/ui/switch.js +190 -0
  488. package/dist/ui/table.cjs +1 -0
  489. package/dist/ui/table.js +186 -0
  490. package/dist/ui/tabs.cjs +1 -0
  491. package/dist/ui/tabs.js +226 -0
  492. package/dist/ui/tags-input.cjs +1 -0
  493. package/dist/ui/tags-input.js +353 -0
  494. package/dist/ui/textarea.cjs +1 -0
  495. package/dist/ui/textarea.js +113 -0
  496. package/dist/ui/timeline.cjs +1 -0
  497. package/dist/ui/timeline.js +361 -0
  498. package/dist/ui/toggle-group.cjs +1 -0
  499. package/dist/ui/toggle-group.d.ts +1 -1
  500. package/dist/ui/toggle-group.d.ts.map +1 -1
  501. package/dist/ui/toggle-group.js +74 -0
  502. package/dist/ui/toggle.cjs +1 -0
  503. package/dist/ui/toggle.d.ts +2 -2
  504. package/dist/ui/toggle.d.ts.map +1 -1
  505. package/dist/ui/toggle.js +136 -0
  506. package/dist/ui/tooltip.cjs +1 -0
  507. package/dist/ui/tooltip.js +63 -0
  508. package/dist/ui/useBreakpoint.cjs +1 -0
  509. package/dist/ui/useBreakpoint.d.ts +0 -4
  510. package/dist/ui/useBreakpoint.d.ts.map +1 -1
  511. package/dist/ui/useBreakpoint.js +65 -0
  512. package/dist/utils.cjs +1 -0
  513. package/dist/utils.d.ts.map +1 -1
  514. package/dist/utils.js +7 -0
  515. package/dist/vlrc-theme.css +316 -0
  516. package/package.json +51 -52
  517. package/dist/index10.cjs +0 -1
  518. package/dist/index100.cjs +0 -1
  519. package/dist/index100.js +0 -13
  520. package/dist/index101.cjs +0 -1
  521. package/dist/index101.js +0 -543
  522. package/dist/index102.cjs +0 -1
  523. package/dist/index102.js +0 -198
  524. package/dist/index103.cjs +0 -1
  525. package/dist/index103.js +0 -326
  526. package/dist/index104.cjs +0 -1
  527. package/dist/index104.js +0 -80
  528. package/dist/index105.cjs +0 -3
  529. package/dist/index106.cjs +0 -1
  530. package/dist/index106.js +0 -222
  531. package/dist/index107.cjs +0 -1
  532. package/dist/index107.js +0 -322
  533. package/dist/index108.cjs +0 -1
  534. package/dist/index108.js +0 -336
  535. package/dist/index109.cjs +0 -1
  536. package/dist/index109.js +0 -134
  537. package/dist/index11.cjs +0 -1
  538. package/dist/index11.js +0 -183
  539. package/dist/index110.cjs +0 -1
  540. package/dist/index110.js +0 -35
  541. package/dist/index111.cjs +0 -1
  542. package/dist/index111.js +0 -35
  543. package/dist/index112.cjs +0 -1
  544. package/dist/index112.js +0 -307
  545. package/dist/index113.cjs +0 -1
  546. package/dist/index114.cjs +0 -1
  547. package/dist/index114.js +0 -997
  548. package/dist/index115.cjs +0 -1
  549. package/dist/index116.cjs +0 -1
  550. package/dist/index116.js +0 -154
  551. package/dist/index117.cjs +0 -1
  552. package/dist/index117.js +0 -116
  553. package/dist/index118.cjs +0 -1
  554. package/dist/index118.js +0 -65
  555. package/dist/index119.cjs +0 -1
  556. package/dist/index119.js +0 -471
  557. package/dist/index12.cjs +0 -1
  558. package/dist/index12.js +0 -155
  559. package/dist/index120.cjs +0 -1
  560. package/dist/index120.js +0 -190
  561. package/dist/index121.cjs +0 -1
  562. package/dist/index121.js +0 -149
  563. package/dist/index122.cjs +0 -1
  564. package/dist/index122.js +0 -61
  565. package/dist/index123.cjs +0 -1
  566. package/dist/index123.js +0 -368
  567. package/dist/index124.cjs +0 -1
  568. package/dist/index124.js +0 -215
  569. package/dist/index125.cjs +0 -20
  570. package/dist/index126.cjs +0 -1
  571. package/dist/index126.js +0 -187
  572. package/dist/index127.cjs +0 -1
  573. package/dist/index127.js +0 -269
  574. package/dist/index128.cjs +0 -1
  575. package/dist/index128.js +0 -51
  576. package/dist/index129.cjs +0 -1
  577. package/dist/index129.js +0 -275
  578. package/dist/index13.cjs +0 -1
  579. package/dist/index13.js +0 -184
  580. package/dist/index130.cjs +0 -1
  581. package/dist/index130.js +0 -401
  582. package/dist/index131.cjs +0 -1
  583. package/dist/index132.cjs +0 -1
  584. package/dist/index132.js +0 -29
  585. package/dist/index133.cjs +0 -1
  586. package/dist/index133.js +0 -537
  587. package/dist/index134.cjs +0 -1
  588. package/dist/index134.js +0 -256
  589. package/dist/index135.cjs +0 -1
  590. package/dist/index135.js +0 -303
  591. package/dist/index136.cjs +0 -1
  592. package/dist/index136.js +0 -29
  593. package/dist/index137.cjs +0 -1
  594. package/dist/index137.js +0 -167
  595. package/dist/index138.cjs +0 -1
  596. package/dist/index138.js +0 -171
  597. package/dist/index139.cjs +0 -1
  598. package/dist/index14.cjs +0 -1
  599. package/dist/index14.js +0 -131
  600. package/dist/index140.cjs +0 -1
  601. package/dist/index140.js +0 -75
  602. package/dist/index141.cjs +0 -1
  603. package/dist/index141.js +0 -175
  604. package/dist/index142.cjs +0 -1
  605. package/dist/index142.js +0 -83
  606. package/dist/index143.cjs +0 -1
  607. package/dist/index143.js +0 -155
  608. package/dist/index144.cjs +0 -1
  609. package/dist/index144.js +0 -280
  610. package/dist/index145.cjs +0 -1
  611. package/dist/index145.js +0 -263
  612. package/dist/index146.cjs +0 -1
  613. package/dist/index146.js +0 -30
  614. package/dist/index147.cjs +0 -1
  615. package/dist/index147.js +0 -808
  616. package/dist/index149.cjs +0 -1
  617. package/dist/index149.js +0 -431
  618. package/dist/index15.cjs +0 -1
  619. package/dist/index15.js +0 -75
  620. package/dist/index150.cjs +0 -1
  621. package/dist/index150.js +0 -44
  622. package/dist/index151.cjs +0 -1
  623. package/dist/index151.js +0 -28
  624. package/dist/index152.cjs +0 -1
  625. package/dist/index152.js +0 -70
  626. package/dist/index153.cjs +0 -1
  627. package/dist/index153.js +0 -185
  628. package/dist/index154.cjs +0 -1
  629. package/dist/index154.js +0 -459
  630. package/dist/index155.cjs +0 -1
  631. package/dist/index155.js +0 -155
  632. package/dist/index156.cjs +0 -1
  633. package/dist/index156.js +0 -190
  634. package/dist/index157.cjs +0 -1
  635. package/dist/index157.js +0 -186
  636. package/dist/index158.cjs +0 -1
  637. package/dist/index158.js +0 -117
  638. package/dist/index159.cjs +0 -1
  639. package/dist/index159.js +0 -226
  640. package/dist/index16.cjs +0 -1
  641. package/dist/index16.js +0 -106
  642. package/dist/index160.cjs +0 -1
  643. package/dist/index160.js +0 -353
  644. package/dist/index161.cjs +0 -1
  645. package/dist/index161.js +0 -113
  646. package/dist/index162.cjs +0 -1
  647. package/dist/index162.js +0 -361
  648. package/dist/index163.cjs +0 -1
  649. package/dist/index163.js +0 -30
  650. package/dist/index164.cjs +0 -1
  651. package/dist/index164.js +0 -136
  652. package/dist/index165.cjs +0 -1
  653. package/dist/index165.js +0 -122
  654. package/dist/index166.cjs +0 -1
  655. package/dist/index166.js +0 -74
  656. package/dist/index167.cjs +0 -1
  657. package/dist/index167.js +0 -120
  658. package/dist/index168.cjs +0 -1
  659. package/dist/index168.js +0 -13
  660. package/dist/index169.cjs +0 -1
  661. package/dist/index169.js +0 -92
  662. package/dist/index17.cjs +0 -1
  663. package/dist/index17.js +0 -16
  664. package/dist/index170.cjs +0 -1
  665. package/dist/index170.js +0 -46
  666. package/dist/index171.cjs +0 -1
  667. package/dist/index171.js +0 -48
  668. package/dist/index172.cjs +0 -1
  669. package/dist/index172.js +0 -50
  670. package/dist/index173.cjs +0 -1
  671. package/dist/index174.cjs +0 -1
  672. package/dist/index174.js +0 -159
  673. package/dist/index175.cjs +0 -1
  674. package/dist/index175.js +0 -71
  675. package/dist/index176.cjs +0 -1
  676. package/dist/index176.js +0 -59
  677. package/dist/index177.cjs +0 -1
  678. package/dist/index177.js +0 -201
  679. package/dist/index178.cjs +0 -1
  680. package/dist/index178.js +0 -114
  681. package/dist/index179.cjs +0 -1
  682. package/dist/index179.js +0 -221
  683. package/dist/index18.cjs +0 -1
  684. package/dist/index18.js +0 -269
  685. package/dist/index181.cjs +0 -1
  686. package/dist/index181.js +0 -356
  687. package/dist/index182.cjs +0 -1
  688. package/dist/index182.js +0 -163
  689. package/dist/index183.cjs +0 -1
  690. package/dist/index183.js +0 -199
  691. package/dist/index184.cjs +0 -1
  692. package/dist/index184.js +0 -25
  693. package/dist/index19.cjs +0 -1
  694. package/dist/index19.js +0 -281
  695. package/dist/index190.cjs +0 -1
  696. package/dist/index190.js +0 -6
  697. package/dist/index191.cjs +0 -1
  698. package/dist/index191.js +0 -7
  699. package/dist/index193.cjs +0 -1
  700. package/dist/index193.js +0 -6
  701. package/dist/index194.cjs +0 -1
  702. package/dist/index194.js +0 -8
  703. package/dist/index197.cjs +0 -1
  704. package/dist/index197.js +0 -201
  705. package/dist/index198.cjs +0 -1
  706. package/dist/index198.js +0 -123
  707. package/dist/index199.cjs +0 -1
  708. package/dist/index199.js +0 -31
  709. package/dist/index200.cjs +0 -1
  710. package/dist/index200.js +0 -19
  711. package/dist/index201.cjs +0 -1
  712. package/dist/index201.js +0 -68
  713. package/dist/index202.cjs +0 -1
  714. package/dist/index202.js +0 -31
  715. package/dist/index203.cjs +0 -1
  716. package/dist/index203.js +0 -10
  717. package/dist/index204.cjs +0 -1
  718. package/dist/index204.js +0 -279
  719. package/dist/index205.cjs +0 -1
  720. package/dist/index205.js +0 -156
  721. package/dist/index206.cjs +0 -1
  722. package/dist/index206.js +0 -19
  723. package/dist/index207.cjs +0 -1
  724. package/dist/index207.js +0 -9
  725. package/dist/index208.cjs +0 -1
  726. package/dist/index208.js +0 -13
  727. package/dist/index209.cjs +0 -1
  728. package/dist/index209.js +0 -7
  729. package/dist/index210.cjs +0 -1
  730. package/dist/index210.js +0 -7
  731. package/dist/index211.cjs +0 -1
  732. package/dist/index211.js +0 -10
  733. package/dist/index212.cjs +0 -1
  734. package/dist/index212.js +0 -9
  735. package/dist/index214.cjs +0 -1
  736. package/dist/index214.js +0 -7
  737. package/dist/index215.cjs +0 -1
  738. package/dist/index215.js +0 -7
  739. package/dist/index216.cjs +0 -1
  740. package/dist/index216.js +0 -9
  741. package/dist/index217.cjs +0 -1
  742. package/dist/index217.js +0 -10
  743. package/dist/index218.cjs +0 -1
  744. package/dist/index218.js +0 -14
  745. package/dist/index219.cjs +0 -1
  746. package/dist/index219.js +0 -10
  747. package/dist/index220.cjs +0 -1
  748. package/dist/index220.js +0 -10
  749. package/dist/index222.cjs +0 -1
  750. package/dist/index222.js +0 -42
  751. package/dist/index223.cjs +0 -1
  752. package/dist/index223.js +0 -388
  753. package/dist/index226.cjs +0 -1
  754. package/dist/index226.js +0 -58
  755. package/dist/index227.cjs +0 -1
  756. package/dist/index227.js +0 -40
  757. package/dist/index228.cjs +0 -1
  758. package/dist/index228.js +0 -124
  759. package/dist/index229.cjs +0 -1
  760. package/dist/index229.js +0 -77
  761. package/dist/index23.cjs +0 -1
  762. package/dist/index23.js +0 -29
  763. package/dist/index230.cjs +0 -1
  764. package/dist/index230.js +0 -71
  765. package/dist/index231.cjs +0 -1
  766. package/dist/index231.js +0 -116
  767. package/dist/index232.cjs +0 -1
  768. package/dist/index232.js +0 -100
  769. package/dist/index233.cjs +0 -1
  770. package/dist/index233.js +0 -150
  771. package/dist/index234.cjs +0 -1
  772. package/dist/index234.js +0 -71
  773. package/dist/index235.cjs +0 -9
  774. package/dist/index236.cjs +0 -1
  775. package/dist/index236.js +0 -67
  776. package/dist/index237.cjs +0 -1
  777. package/dist/index237.js +0 -43
  778. package/dist/index238.cjs +0 -1
  779. package/dist/index238.js +0 -67
  780. package/dist/index24.cjs +0 -1
  781. package/dist/index24.js +0 -369
  782. package/dist/index240.cjs +0 -1
  783. package/dist/index240.js +0 -97
  784. package/dist/index241.cjs +0 -1
  785. package/dist/index241.js +0 -212
  786. package/dist/index242.cjs +0 -1
  787. package/dist/index242.js +0 -25
  788. package/dist/index244.cjs +0 -1
  789. package/dist/index244.js +0 -63
  790. package/dist/index245.cjs +0 -1
  791. package/dist/index245.js +0 -422
  792. package/dist/index246.cjs +0 -1
  793. package/dist/index246.js +0 -25
  794. package/dist/index247.cjs +0 -1
  795. package/dist/index247.js +0 -209
  796. package/dist/index25.cjs +0 -1
  797. package/dist/index25.js +0 -182
  798. package/dist/index26.cjs +0 -1
  799. package/dist/index26.js +0 -107
  800. package/dist/index27.cjs +0 -1
  801. package/dist/index27.js +0 -161
  802. package/dist/index28.cjs +0 -1
  803. package/dist/index28.js +0 -97
  804. package/dist/index29.cjs +0 -1
  805. package/dist/index29.js +0 -89
  806. package/dist/index3.cjs +0 -1
  807. package/dist/index3.js +0 -63
  808. package/dist/index30.cjs +0 -1
  809. package/dist/index32.cjs +0 -1
  810. package/dist/index32.js +0 -87
  811. package/dist/index33.cjs +0 -1
  812. package/dist/index33.js +0 -234
  813. package/dist/index34.cjs +0 -1
  814. package/dist/index34.js +0 -44
  815. package/dist/index35.cjs +0 -1
  816. package/dist/index35.js +0 -31
  817. package/dist/index36.cjs +0 -1
  818. package/dist/index36.js +0 -15
  819. package/dist/index37.cjs +0 -1
  820. package/dist/index38.cjs +0 -1
  821. package/dist/index39.cjs +0 -1
  822. package/dist/index39.js +0 -87
  823. package/dist/index40.cjs +0 -1
  824. package/dist/index40.js +0 -178
  825. package/dist/index41.cjs +0 -1
  826. package/dist/index41.js +0 -145
  827. package/dist/index42.cjs +0 -1
  828. package/dist/index42.js +0 -69
  829. package/dist/index43.cjs +0 -1
  830. package/dist/index43.js +0 -57
  831. package/dist/index44.cjs +0 -1
  832. package/dist/index44.js +0 -270
  833. package/dist/index45.cjs +0 -1
  834. package/dist/index45.js +0 -8
  835. package/dist/index47.cjs +0 -1
  836. package/dist/index47.js +0 -504
  837. package/dist/index48.cjs +0 -1
  838. package/dist/index48.js +0 -211
  839. package/dist/index51.cjs +0 -1
  840. package/dist/index51.js +0 -23
  841. package/dist/index52.cjs +0 -1
  842. package/dist/index52.js +0 -208
  843. package/dist/index53.cjs +0 -1
  844. package/dist/index53.js +0 -157
  845. package/dist/index54.cjs +0 -1
  846. package/dist/index54.js +0 -124
  847. package/dist/index55.cjs +0 -1
  848. package/dist/index55.js +0 -20
  849. package/dist/index56.cjs +0 -1
  850. package/dist/index56.js +0 -82
  851. package/dist/index57.cjs +0 -1
  852. package/dist/index57.js +0 -97
  853. package/dist/index58.cjs +0 -1
  854. package/dist/index58.js +0 -15
  855. package/dist/index59.cjs +0 -1
  856. package/dist/index59.js +0 -94
  857. package/dist/index6.cjs +0 -1
  858. package/dist/index6.js +0 -6
  859. package/dist/index60.cjs +0 -1
  860. package/dist/index60.js +0 -33
  861. package/dist/index61.cjs +0 -1
  862. package/dist/index61.js +0 -212
  863. package/dist/index62.cjs +0 -1
  864. package/dist/index62.js +0 -253
  865. package/dist/index63.cjs +0 -1
  866. package/dist/index63.js +0 -134
  867. package/dist/index64.cjs +0 -1
  868. package/dist/index64.js +0 -409
  869. package/dist/index65.cjs +0 -1
  870. package/dist/index65.js +0 -170
  871. package/dist/index66.cjs +0 -1
  872. package/dist/index67.cjs +0 -1
  873. package/dist/index67.js +0 -158
  874. package/dist/index69.cjs +0 -1
  875. package/dist/index69.js +0 -336
  876. package/dist/index7.cjs +0 -1
  877. package/dist/index7.js +0 -30
  878. package/dist/index71.cjs +0 -1
  879. package/dist/index71.js +0 -321
  880. package/dist/index72.cjs +0 -1
  881. package/dist/index72.js +0 -211
  882. package/dist/index73.cjs +0 -1
  883. package/dist/index73.js +0 -34
  884. package/dist/index74.cjs +0 -1
  885. package/dist/index74.js +0 -163
  886. package/dist/index75.cjs +0 -1
  887. package/dist/index75.js +0 -20
  888. package/dist/index76.cjs +0 -1
  889. package/dist/index77.cjs +0 -1
  890. package/dist/index77.js +0 -168
  891. package/dist/index8.cjs +0 -1
  892. package/dist/index8.js +0 -63
  893. package/dist/index83.cjs +0 -1
  894. package/dist/index83.js +0 -25
  895. package/dist/index84.cjs +0 -1
  896. package/dist/index84.js +0 -68
  897. package/dist/index85.cjs +0 -1
  898. package/dist/index85.js +0 -15
  899. package/dist/index86.cjs +0 -1
  900. package/dist/index86.js +0 -4
  901. package/dist/index87.cjs +0 -1
  902. package/dist/index87.js +0 -51
  903. package/dist/index89.cjs +0 -1
  904. package/dist/index89.js +0 -27
  905. package/dist/index9.cjs +0 -1
  906. package/dist/index9.js +0 -18
  907. package/dist/index90.cjs +0 -1
  908. package/dist/index90.js +0 -14
  909. package/dist/index91.cjs +0 -1
  910. package/dist/index91.js +0 -10
  911. package/dist/index92.cjs +0 -1
  912. package/dist/index92.js +0 -3
  913. package/dist/index94.cjs +0 -38
  914. package/dist/index94.js +0 -69
  915. package/dist/index95.cjs +0 -1
  916. package/dist/index95.js +0 -3
  917. package/dist/index98.cjs +0 -4
  918. package/dist/index98.js +0 -112
  919. package/dist/index99.cjs +0 -1
  920. package/dist/index99.js +0 -6
  921. /package/dist/{index173.js → DataTable/render/defaults.js} +0 -0
  922. /package/dist/{index46.cjs → Form/FormDatePicker/types.cjs} +0 -0
  923. /package/dist/{index46.js → Form/FormDatePicker/types.js} +0 -0
  924. /package/dist/{index243.cjs → Form/FormRadioGroup/useFormRadio.cjs} +0 -0
  925. /package/dist/{index243.js → Form/FormRadioGroup/useFormRadio.js} +0 -0
  926. /package/dist/{index239.cjs → Form/FormSelect/useFormSelect.cjs} +0 -0
  927. /package/dist/{index239.js → Form/FormSelect/useFormSelect.js} +0 -0
  928. /package/dist/{index4.cjs → Icons/Icons.cjs} +0 -0
  929. /package/dist/{index4.js → Icons/Icons.js} +0 -0
  930. /package/dist/{index180.cjs → MultiSelect/utils.cjs} +0 -0
  931. /package/dist/{index180.js → MultiSelect/utils.js} +0 -0
  932. /package/dist/{index5.cjs → Typography/types.cjs} +0 -0
  933. /package/dist/{index5.js → Typography/types.js} +0 -0
  934. /package/dist/{index10.js → Typography/weightStyles.js} +0 -0
  935. /package/dist/{index2.cjs → _virtual/_rolldown/runtime.cjs} +0 -0
  936. /package/dist/{index2.js → _virtual/_rolldown/runtime.js} +0 -0
  937. /package/dist/{index68.cjs → node_modules/.pnpm/@floating-ui_utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.cjs} +0 -0
  938. /package/dist/{index70.cjs → node_modules/.pnpm/@floating-ui_utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.cjs} +0 -0
  939. /package/dist/{index70.js → node_modules/.pnpm/@floating-ui_utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js} +0 -0
  940. /package/dist/{index68.js → node_modules/.pnpm/@floating-ui_utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.js} +0 -0
  941. /package/dist/{index148.cjs → node_modules/.pnpm/@radix-ui_number@1.1.3/node_modules/@radix-ui/number/dist/index.cjs} +0 -0
  942. /package/dist/{index148.js → node_modules/.pnpm/@radix-ui_number@1.1.3/node_modules/@radix-ui/number/dist/index.js} +0 -0
  943. /package/dist/{index31.cjs → node_modules/.pnpm/@radix-ui_primitive@1.1.7/node_modules/@radix-ui/primitive/dist/index.cjs} +0 -0
  944. /package/dist/{index31.js → node_modules/.pnpm/@radix-ui_primitive@1.1.7/node_modules/@radix-ui/primitive/dist/index.js} +0 -0
  945. /package/dist/{index30.js → node_modules/.pnpm/@radix-ui_react-compose-refs@1.1.5_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-compose-refs/dist/index.js} +0 -0
  946. /package/dist/{index66.js → node_modules/.pnpm/@radix-ui_react-focus-guards@1.1.6_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-focus-guards/dist/index.js} +0 -0
  947. /package/dist/{index37.js → node_modules/.pnpm/@radix-ui_react-use-callback-ref@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-callback-ref/dist/index.js} +0 -0
  948. /package/dist/{index76.js → node_modules/.pnpm/@radix-ui_react-use-is-hydrated@0.1.3_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-is-hydrated/dist/index.js} +0 -0
  949. /package/dist/{index38.js → node_modules/.pnpm/@radix-ui_react-use-layout-effect@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-layout-effect/dist/index.js} +0 -0
  950. /package/dist/{index131.js → node_modules/.pnpm/@radix-ui_react-use-previous@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-previous/dist/index.js} +0 -0
  951. /package/dist/{index78.cjs → node_modules/.pnpm/aria-hidden@1.2.6/node_modules/aria-hidden/dist/es2015/index.cjs} +0 -0
  952. /package/dist/{index78.js → node_modules/.pnpm/aria-hidden@1.2.6/node_modules/aria-hidden/dist/es2015/index.js} +0 -0
  953. /package/dist/{index221.cjs → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/addLeadingZeros.cjs} +0 -0
  954. /package/dist/{index221.js → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/addLeadingZeros.js} +0 -0
  955. /package/dist/{index192.cjs → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/defaultOptions.cjs} +0 -0
  956. /package/dist/{index192.js → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/defaultOptions.js} +0 -0
  957. /package/dist/{index224.cjs → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/format/longFormatters.cjs} +0 -0
  958. /package/dist/{index224.js → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/format/longFormatters.js} +0 -0
  959. /package/dist/{index225.cjs → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/protectedTokens.cjs} +0 -0
  960. /package/dist/{index225.js → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/protectedTokens.js} +0 -0
  961. /package/dist/{index189.cjs → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/constants.cjs} +0 -0
  962. /package/dist/{index189.js → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/constants.js} +0 -0
  963. /package/dist/{index213.cjs → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/isDate.cjs} +0 -0
  964. /package/dist/{index213.js → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/isDate.js} +0 -0
  965. /package/dist/{index185.cjs → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildFormatLongFn.cjs} +0 -0
  966. /package/dist/{index185.js → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildFormatLongFn.js} +0 -0
  967. /package/dist/{index186.cjs → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildLocalizeFn.cjs} +0 -0
  968. /package/dist/{index186.js → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildLocalizeFn.js} +0 -0
  969. /package/dist/{index187.cjs → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildMatchFn.cjs} +0 -0
  970. /package/dist/{index187.js → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildMatchFn.js} +0 -0
  971. /package/dist/{index188.cjs → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildMatchPatternFn.cjs} +0 -0
  972. /package/dist/{index188.js → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js} +0 -0
  973. /package/dist/{index195.cjs → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatDistance.cjs} +0 -0
  974. /package/dist/{index195.js → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatDistance.js} +0 -0
  975. /package/dist/{index196.cjs → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatRelative.cjs} +0 -0
  976. /package/dist/{index196.js → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatRelative.js} +0 -0
  977. /package/dist/{index49.cjs → node_modules/.pnpm/embla-carousel-reactive-utils@8.6.0_embla-carousel@8.6.0/node_modules/embla-carousel-reactive-utils/esm/embla-carousel-reactive-utils.esm.cjs} +0 -0
  978. /package/dist/{index49.js → node_modules/.pnpm/embla-carousel-reactive-utils@8.6.0_embla-carousel@8.6.0/node_modules/embla-carousel-reactive-utils/esm/embla-carousel-reactive-utils.esm.js} +0 -0
  979. /package/dist/{index50.cjs → node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/embla-carousel.esm.cjs} +0 -0
  980. /package/dist/{index50.js → node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/embla-carousel.esm.js} +0 -0
  981. /package/dist/{index88.cjs → node_modules/.pnpm/get-nonce@1.0.1/node_modules/get-nonce/dist/es2015/index.cjs} +0 -0
  982. /package/dist/{index88.js → node_modules/.pnpm/get-nonce@1.0.1/node_modules/get-nonce/dist/es2015/index.js} +0 -0
  983. /package/dist/{index125.js → node_modules/.pnpm/input-otp@1.4.2_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/input-otp/dist/index.js} +0 -0
  984. /package/dist/{index115.js → node_modules/.pnpm/react-hook-form@7.83.0_react@19.3.1/node_modules/react-hook-form/dist/index.esm.js} +0 -0
  985. /package/dist/{index235.js → node_modules/.pnpm/react-number-format@5.4.5_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/react-number-format/dist/react-number-format.es.js} +0 -0
  986. /package/dist/{index80.cjs → node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll-bar/dist/es2015/constants.cjs} +0 -0
  987. /package/dist/{index80.js → node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll-bar/dist/es2015/constants.js} +0 -0
  988. /package/dist/{index93.cjs → node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll-bar/dist/es2015/utils.cjs} +0 -0
  989. /package/dist/{index93.js → node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll-bar/dist/es2015/utils.js} +0 -0
  990. /package/dist/{index96.cjs → node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.cjs} +0 -0
  991. /package/dist/{index96.js → node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js} +0 -0
  992. /package/dist/{index97.cjs → node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/handleScroll.cjs} +0 -0
  993. /package/dist/{index97.js → node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/handleScroll.js} +0 -0
  994. /package/dist/{index139.js → node_modules/.pnpm/react-resizable-panels@2.1.9_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/react-resizable-panels/dist/react-resizable-panels.browser.esm.js} +0 -0
  995. /package/dist/{index79.cjs → node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.cjs} +0 -0
  996. /package/dist/{index79.js → node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.js} +0 -0
  997. /package/dist/{index81.cjs → node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.3.0_react@19.3.1/node_modules/use-callback-ref/dist/es2015/assignRef.cjs} +0 -0
  998. /package/dist/{index81.js → node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.3.0_react@19.3.1/node_modules/use-callback-ref/dist/es2015/assignRef.js} +0 -0
  999. /package/dist/{index82.cjs → node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.3.0_react@19.3.1/node_modules/use-callback-ref/dist/es2015/useRef.cjs} +0 -0
  1000. /package/dist/{index82.js → node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.3.0_react@19.3.1/node_modules/use-callback-ref/dist/es2015/useRef.js} +0 -0
  1001. /package/dist/{index105.js → node_modules/.pnpm/vaul@1.1.2_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@19.3.0_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/vaul/dist/index.js} +0 -0
  1002. /package/dist/{index22.cjs → theme/spacing.cjs} +0 -0
  1003. /package/dist/{index22.js → theme/spacing.js} +0 -0
  1004. /package/dist/{index20.cjs → theme/types.cjs} +0 -0
  1005. /package/dist/{index20.js → theme/types.js} +0 -0
  1006. /package/dist/{index21.cjs → theme/width.cjs} +0 -0
  1007. /package/dist/{index21.js → theme/width.js} +0 -0
  1008. /package/dist/{index113.js → ui/file-upload-adapters.js} +0 -0
package/dist/index110.cjs DELETED
@@ -1 +0,0 @@
1
- const e=require("./index2.cjs");let t=require("react");t=e.__toESM(t,1);let n=require("@stylexjs/stylex");n=e.__toESM(n,1);let r=require("react/jsx-runtime"),i=require("react/compiler-runtime"),a=require("@radix-ui/react-label");a=e.__toESM(a,1);var o={base:{k1xSpc:`x3nfvp2`,kGNEyG:`x6s0dn4`,kOIVth:`x1enigpx`,kGuDYH:`xkpwil5`,kLWn49:`xo5v014`,k63SB2:`xk50ysn`,kfSwDN:`x87ps6o`,kMwMTN:`x84br7x`,k7HAVu:`xaqnwrm`,kWCcOm:`xijokvz`,$$css:!0}};function s(e){let t=(0,i.c)(13),s,c,l;t[0]===e?(s=t[1],c=t[2],l=t[3]):({className:s,sx:l,...c}=e,t[0]=e,t[1]=s,t[2]=c,t[3]=l);let u;t[4]===l?u=t[5]:(u=n.props(o.base,l),t[4]=l,t[5]=u);let d=u,f;t[6]!==s||t[7]!==d.className?(f=s?`${d.className||``} ${s}`.trim():d.className,t[6]=s,t[7]=d.className,t[8]=f):f=t[8];let p;return t[9]!==c||t[10]!==d||t[11]!==f?(p=(0,r.jsx)(a.Root,{"data-slot":`label`,...d,className:f,...c}),t[9]=c,t[10]=d,t[11]=f,t[12]=p):p=t[12],p}exports.Label=s;
package/dist/index110.js DELETED
@@ -1,35 +0,0 @@
1
- import "react";
2
- import * as e from "@stylexjs/stylex";
3
- import { jsx as t } from "react/jsx-runtime";
4
- import { c as n } from "react/compiler-runtime";
5
- import * as r from "@radix-ui/react-label";
6
- // src/ui/label.tsx
7
- var i = { base: {
8
- k1xSpc: "x3nfvp2",
9
- kGNEyG: "x6s0dn4",
10
- kOIVth: "x1enigpx",
11
- kGuDYH: "xkpwil5",
12
- kLWn49: "xo5v014",
13
- k63SB2: "xk50ysn",
14
- kfSwDN: "x87ps6o",
15
- kMwMTN: "x84br7x",
16
- k7HAVu: "xaqnwrm",
17
- kWCcOm: "xijokvz",
18
- $$css: !0
19
- } };
20
- function a(a) {
21
- let o = n(13), s, c, l;
22
- o[0] === a ? (s = o[1], c = o[2], l = o[3]) : ({className: s, sx: l, ...c} = a, o[0] = a, o[1] = s, o[2] = c, o[3] = l);
23
- let u;
24
- o[4] === l ? u = o[5] : (u = e.props(i.base, l), o[4] = l, o[5] = u);
25
- let d = u, f;
26
- o[6] !== s || o[7] !== d.className ? (f = s ? `${d.className || ""} ${s}`.trim() : d.className, o[6] = s, o[7] = d.className, o[8] = f) : f = o[8];
27
- let p;
28
- return o[9] !== c || o[10] !== d || o[11] !== f ? (p = /* @__PURE__ */ t(r.Root, {
29
- "data-slot": "label",
30
- ...d,
31
- className: f,
32
- ...c
33
- }), o[9] = c, o[10] = d, o[11] = f, o[12] = p) : p = o[12], p;
34
- }
35
- export { a as Label };
package/dist/index111.cjs DELETED
@@ -1 +0,0 @@
1
- const e=require("./index2.cjs");let t=require("react");t=e.__toESM(t,1);let n=require("@stylexjs/stylex");n=e.__toESM(n,1);let r=require("react/jsx-runtime"),i=require("@radix-ui/react-separator");i=e.__toESM(i,1);var a={base:{kWkggS:`xwefxjc`,kmuXW:`x2lah0s`,kMzoRj:`xc342km`,$$css:!0},horizontal:{kZKoxP:`xjm9jq1`,kzqmXN:`xh8yej3`,$$css:!0},vertical:{kZKoxP:`x5yr21d`,kzqmXN:`x1i1rx1s`,$$css:!0}};function o({className:e,orientation:t=`horizontal`,decorative:o=!0,sx:s,...c}){let l=n.props(a.base,t===`horizontal`?a.horizontal:a.vertical,s);return(0,r.jsx)(i.Root,{"data-slot":`separator`,decorative:o,orientation:t,...l,className:e?`${l.className||``} ${e}`.trim():l.className,...c})}exports.Separator=o;
package/dist/index111.js DELETED
@@ -1,35 +0,0 @@
1
- import "react";
2
- import * as e from "@stylexjs/stylex";
3
- import { jsx as t } from "react/jsx-runtime";
4
- import * as n from "@radix-ui/react-separator";
5
- // src/ui/separator.tsx
6
- var r = {
7
- base: {
8
- kWkggS: "xwefxjc",
9
- kmuXW: "x2lah0s",
10
- kMzoRj: "xc342km",
11
- $$css: !0
12
- },
13
- horizontal: {
14
- kZKoxP: "xjm9jq1",
15
- kzqmXN: "xh8yej3",
16
- $$css: !0
17
- },
18
- vertical: {
19
- kZKoxP: "x5yr21d",
20
- kzqmXN: "x1i1rx1s",
21
- $$css: !0
22
- }
23
- };
24
- function i({ className: i, orientation: a = "horizontal", decorative: o = !0, sx: s, ...c }) {
25
- let l = e.props(r.base, a === "horizontal" ? r.horizontal : r.vertical, s);
26
- return /* @__PURE__ */ t(n.Root, {
27
- "data-slot": "separator",
28
- decorative: o,
29
- orientation: a,
30
- ...l,
31
- className: i ? `${l.className || ""} ${i}`.trim() : l.className,
32
- ...c
33
- });
34
- }
35
- export { i as Separator };
package/dist/index112.cjs DELETED
@@ -1 +0,0 @@
1
- const e=require("./index2.cjs"),t=require("./index21.cjs"),n=require("./index110.cjs"),r=require("./index111.cjs");let i=require("react");i=e.__toESM(i,1);let a=require("@stylexjs/stylex");a=e.__toESM(a,1);let o=require("react/jsx-runtime"),s=require("react/compiler-runtime");var c={set:{k1xSpc:`x78zum5`,kXwgrk:`xdt5ytf`,kOIVth:`xru8eyw`,$$css:!0},legend:{k1K539:`x1gr9t9r`,k63SB2:`xk50ysn`,kGuDYH:`x1jchvi3`,kMwMTN:`x84br7x`,$$css:!0},legendLabel:{kGuDYH:`xkpwil5`,$$css:!0},group:{k1xSpc:`x78zum5`,kzqmXN:`xh8yej3`,kXwgrk:`xdt5ytf`,kOIVth:`xj3jsk1`,$$css:!0},fieldBase:{k1xSpc:`x78zum5`,kzqmXN:`xh8yej3`,kOIVth:`xpj7pl4`,$$css:!0},vertical:{kXwgrk:`xdt5ytf`,kOIVth:`xpj7pl4`,$$css:!0},horizontal:{kXwgrk:`x1q0g3np`,kGNEyG:`x6s0dn4`,kOIVth:`x13z6uf9`,$$css:!0},responsive:{kXwgrk:`xdt5ytf`,kOIVth:`xpj7pl4`,$$css:!0},content:{k1xSpc:`x78zum5`,kUk6DE:`x845mor`,kXwgrk:`xdt5ytf`,kOIVth:`xvh977a`,kLWn49:`x1pujyh6`,$$css:!0},label:{k1xSpc:`x3nfvp2`,kGNEyG:`x6s0dn4`,kzqmXN:`xeq5yr9`,kOIVth:`x1enigpx`,kLWn49:`x1pujyh6`,kGuDYH:`xkpwil5`,k63SB2:`xk50ysn`,kMwMTN:`x84br7x`,$$css:!0},title:{k1xSpc:`x78zum5`,kzqmXN:`xeq5yr9`,kGNEyG:`x6s0dn4`,kOIVth:`x13z6uf9`,kGuDYH:`xkpwil5`,kLWn49:`x1pujyh6`,k63SB2:`xk50ysn`,kMwMTN:`x84br7x`,$$css:!0},description:{kMwMTN:`xw3nh4a`,kGuDYH:`xkpwil5`,kLWn49:`x1evy7pa`,$$css:!0},separator:{kVAEAm:`x1n2onr6`,kqGvvJ:`x1atlohd`,kZKoxP:`xmll18r`,kGuDYH:`xkpwil5`,$$css:!0},separatorLine:{kVAEAm:`x10l6tqk`,kpwlN0:`x10a8y8t`,k87sOh:`xwa60dl`,$$css:!0},error:{kMwMTN:`xuuroe4`,kGuDYH:`xkpwil5`,k63SB2:`xo1l8bm`,$$css:!0}};function l(e){let t=(0,s.c)(13),n,r,i;t[0]===e?(n=t[1],r=t[2],i=t[3]):({className:n,sx:i,...r}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i);let l;t[4]===i?l=t[5]:(l=a.props(c.set,i),t[4]=i,t[5]=l);let u=l,d;t[6]!==n||t[7]!==u.className?(d=n?`${u.className||``} ${n}`.trim():u.className,t[6]=n,t[7]=u.className,t[8]=d):d=t[8];let f;return t[9]!==r||t[10]!==u||t[11]!==d?(f=(0,o.jsx)(`fieldset`,{"data-slot":`field-set`,...u,className:d,...r}),t[9]=r,t[10]=u,t[11]=d,t[12]=f):f=t[12],f}function u({className:e,variant:t=`legend`,sx:n,...r}){let i=a.props(c.legend,t===`label`&&c.legendLabel,n);return(0,o.jsx)(`legend`,{"data-slot":`field-legend`,"data-variant":t,...i,className:e?`${i.className||``} ${e}`.trim():i.className,...r})}function d(e){let t=(0,s.c)(13),n,r,i;t[0]===e?(n=t[1],r=t[2],i=t[3]):({className:n,sx:i,...r}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i);let l;t[4]===i?l=t[5]:(l=a.props(c.group,i),t[4]=i,t[5]=l);let u=l,d;t[6]!==n||t[7]!==u.className?(d=n?`${u.className||``} ${n}`.trim():u.className,t[6]=n,t[7]=u.className,t[8]=d):d=t[8];let f;return t[9]!==r||t[10]!==u||t[11]!==d?(f=(0,o.jsx)(`div`,{"data-slot":`field-group`,...u,className:d,...r}),t[9]=r,t[10]=u,t[11]=d,t[12]=f):f=t[12],f}var f={vertical:c.vertical,horizontal:c.horizontal,responsive:c.responsive};function p({className:e,orientation:n=`vertical`,sx:r,width:i,style:s,...l}){let u=t.resolveWidth(i),d=a.props(c.fieldBase,f[n],r);return(0,o.jsx)(`div`,{role:`group`,"data-slot":`field`,"data-orientation":n,"data-width":i,...d,style:{...d.style,...s,...u?{width:u}:{}},className:e?`${d.className||``} ${e}`.trim():d.className,...l})}function m(e){let t=(0,s.c)(13),n,r,i;t[0]===e?(n=t[1],r=t[2],i=t[3]):({className:n,sx:i,...r}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i);let l;t[4]===i?l=t[5]:(l=a.props(c.content,i),t[4]=i,t[5]=l);let u=l,d;t[6]!==n||t[7]!==u.className?(d=n?`${u.className||``} ${n}`.trim():u.className,t[6]=n,t[7]=u.className,t[8]=d):d=t[8];let f;return t[9]!==r||t[10]!==u||t[11]!==d?(f=(0,o.jsx)(`div`,{"data-slot":`field-content`,...u,className:d,...r}),t[9]=r,t[10]=u,t[11]=d,t[12]=f):f=t[12],f}function h(e){let t=(0,s.c)(13),r,i,l;t[0]===e?(r=t[1],i=t[2],l=t[3]):({className:r,sx:l,...i}=e,t[0]=e,t[1]=r,t[2]=i,t[3]=l);let u;t[4]===l?u=t[5]:(u=a.props(c.label,l),t[4]=l,t[5]=u);let d=u,f;t[6]!==r||t[7]!==d.className?(f=r?`${d.className||``} ${r}`.trim():d.className,t[6]=r,t[7]=d.className,t[8]=f):f=t[8];let p;return t[9]!==i||t[10]!==d||t[11]!==f?(p=(0,o.jsx)(n.Label,{"data-slot":`field-label`,...d,className:f,...i}),t[9]=i,t[10]=d,t[11]=f,t[12]=p):p=t[12],p}function g(e){let t=(0,s.c)(13),n,r,i;t[0]===e?(n=t[1],r=t[2],i=t[3]):({className:n,sx:i,...r}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i);let l;t[4]===i?l=t[5]:(l=a.props(c.title,i),t[4]=i,t[5]=l);let u=l,d;t[6]!==n||t[7]!==u.className?(d=n?`${u.className||``} ${n}`.trim():u.className,t[6]=n,t[7]=u.className,t[8]=d):d=t[8];let f;return t[9]!==r||t[10]!==u||t[11]!==d?(f=(0,o.jsx)(`div`,{"data-slot":`field-label`,...u,className:d,...r}),t[9]=r,t[10]=u,t[11]=d,t[12]=f):f=t[12],f}function _(e){let t=(0,s.c)(13),n,r,i;t[0]===e?(n=t[1],r=t[2],i=t[3]):({className:n,sx:i,...r}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i);let l;t[4]===i?l=t[5]:(l=a.props(c.description,i),t[4]=i,t[5]=l);let u=l,d;t[6]!==n||t[7]!==u.className?(d=n?`${u.className||``} ${n}`.trim():u.className,t[6]=n,t[7]=u.className,t[8]=d):d=t[8];let f;return t[9]!==r||t[10]!==u||t[11]!==d?(f=(0,o.jsx)(`p`,{"data-slot":`field-description`,...u,className:d,...r}),t[9]=r,t[10]=u,t[11]=d,t[12]=f):f=t[12],f}function v(e){let t=(0,s.c)(19),n,i,l,u;t[0]===e?(n=t[1],i=t[2],l=t[3],u=t[4]):({children:n,className:i,sx:u,...l}=e,t[0]=e,t[1]=n,t[2]=i,t[3]=l,t[4]=u);let d;t[5]===u?d=t[6]:(d=a.props(c.separator,u),t[5]=u,t[6]=d);let f=d,p=!!n,m;t[7]!==i||t[8]!==f.className?(m=i?`${f.className||``} ${i}`.trim():f.className,t[7]=i,t[8]=f.className,t[9]=m):m=t[9];let h;t[10]===Symbol.for(`react.memo_cache_sentinel`)?(h=(0,o.jsx)(r.Separator,{sx:c.separatorLine}),t[10]=h):h=t[10];let g;t[11]===n?g=t[12]:(g=n&&(0,o.jsx)(`span`,{className:`x1mlyrtw xw3nh4a x1n2onr6 xvueqy4 x1lliihq xeq5yr9 x97vtpp`,"data-slot":`field-separator-content`,children:n}),t[11]=n,t[12]=g);let _;return t[13]!==l||t[14]!==f||t[15]!==p||t[16]!==m||t[17]!==g?(_=(0,o.jsxs)(`div`,{"data-slot":`field-separator`,"data-content":p,...f,className:m,...l,children:[h,g]}),t[13]=l,t[14]=f,t[15]=p,t[16]=m,t[17]=g,t[18]=_):_=t[18],_}function y(e){let t=(0,s.c)(20),n,r,i,l,u;t[0]===e?(n=t[1],r=t[2],i=t[3],l=t[4],u=t[5]):({className:r,children:n,errors:i,sx:u,...l}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=l,t[5]=u);let d;bb0:{if(n){d=n;break bb0}if(!i?.length){d=null;break bb0}let e;t[6]===i?e=t[7]:(e=[...new Map(i.map(x)).values()],t[6]=i,t[7]=e);let r=e;if(r?.length===1){d=r[0]?.message;break bb0}let a;t[8]===r?a=t[9]:(a=(0,o.jsx)(`ul`,{className:`xt3xpxm x78zum5 xtaz4m5 xdt5ytf xvh977a`,children:r.map(b)}),t[8]=r,t[9]=a),d=a}let f=d;if(!f)return null;let p;t[10]===u?p=t[11]:(p=a.props(c.error,u),t[10]=u,t[11]=p);let m=p,h;t[12]!==r||t[13]!==m.className?(h=r?`${m.className||``} ${r}`.trim():m.className,t[12]=r,t[13]=m.className,t[14]=h):h=t[14];let g;return t[15]!==f||t[16]!==l||t[17]!==m||t[18]!==h?(g=(0,o.jsx)(`div`,{role:`alert`,"data-slot":`field-error`,...m,className:h,...l,children:f}),t[15]=f,t[16]=l,t[17]=m,t[18]=h,t[19]=g):g=t[19],g}function b(e,t){return e?.message&&(0,o.jsx)(`li`,{children:e.message},t)}function x(e){return[e?.message,e]}exports.Field=p,exports.FieldContent=m,exports.FieldDescription=_,exports.FieldError=y,exports.FieldGroup=d,exports.FieldLabel=h,exports.FieldLegend=u,exports.FieldSeparator=v,exports.FieldSet=l,exports.FieldTitle=g;
package/dist/index112.js DELETED
@@ -1,307 +0,0 @@
1
- import { resolveWidth as e } from "./index21.js";
2
- import { Label as t } from "./index110.js";
3
- import { Separator as n } from "./index111.js";
4
- import "react";
5
- import * as r from "@stylexjs/stylex";
6
- import { jsx as i, jsxs as a } from "react/jsx-runtime";
7
- import { c as o } from "react/compiler-runtime";
8
- // src/ui/field.tsx
9
- var s = {
10
- set: {
11
- k1xSpc: "x78zum5",
12
- kXwgrk: "xdt5ytf",
13
- kOIVth: "xru8eyw",
14
- $$css: !0
15
- },
16
- legend: {
17
- k1K539: "x1gr9t9r",
18
- k63SB2: "xk50ysn",
19
- kGuDYH: "x1jchvi3",
20
- kMwMTN: "x84br7x",
21
- $$css: !0
22
- },
23
- legendLabel: {
24
- kGuDYH: "xkpwil5",
25
- $$css: !0
26
- },
27
- group: {
28
- k1xSpc: "x78zum5",
29
- kzqmXN: "xh8yej3",
30
- kXwgrk: "xdt5ytf",
31
- kOIVth: "xj3jsk1",
32
- $$css: !0
33
- },
34
- fieldBase: {
35
- k1xSpc: "x78zum5",
36
- kzqmXN: "xh8yej3",
37
- kOIVth: "xpj7pl4",
38
- $$css: !0
39
- },
40
- vertical: {
41
- kXwgrk: "xdt5ytf",
42
- kOIVth: "xpj7pl4",
43
- $$css: !0
44
- },
45
- horizontal: {
46
- kXwgrk: "x1q0g3np",
47
- kGNEyG: "x6s0dn4",
48
- kOIVth: "x13z6uf9",
49
- $$css: !0
50
- },
51
- responsive: {
52
- kXwgrk: "xdt5ytf",
53
- kOIVth: "xpj7pl4",
54
- $$css: !0
55
- },
56
- content: {
57
- k1xSpc: "x78zum5",
58
- kUk6DE: "x845mor",
59
- kXwgrk: "xdt5ytf",
60
- kOIVth: "xvh977a",
61
- kLWn49: "x1pujyh6",
62
- $$css: !0
63
- },
64
- label: {
65
- k1xSpc: "x3nfvp2",
66
- kGNEyG: "x6s0dn4",
67
- kzqmXN: "xeq5yr9",
68
- kOIVth: "x1enigpx",
69
- kLWn49: "x1pujyh6",
70
- kGuDYH: "xkpwil5",
71
- k63SB2: "xk50ysn",
72
- kMwMTN: "x84br7x",
73
- $$css: !0
74
- },
75
- title: {
76
- k1xSpc: "x78zum5",
77
- kzqmXN: "xeq5yr9",
78
- kGNEyG: "x6s0dn4",
79
- kOIVth: "x13z6uf9",
80
- kGuDYH: "xkpwil5",
81
- kLWn49: "x1pujyh6",
82
- k63SB2: "xk50ysn",
83
- kMwMTN: "x84br7x",
84
- $$css: !0
85
- },
86
- description: {
87
- kMwMTN: "xw3nh4a",
88
- kGuDYH: "xkpwil5",
89
- kLWn49: "x1evy7pa",
90
- $$css: !0
91
- },
92
- separator: {
93
- kVAEAm: "x1n2onr6",
94
- kqGvvJ: "x1atlohd",
95
- kZKoxP: "xmll18r",
96
- kGuDYH: "xkpwil5",
97
- $$css: !0
98
- },
99
- separatorLine: {
100
- kVAEAm: "x10l6tqk",
101
- kpwlN0: "x10a8y8t",
102
- k87sOh: "xwa60dl",
103
- $$css: !0
104
- },
105
- error: {
106
- kMwMTN: "xuuroe4",
107
- kGuDYH: "xkpwil5",
108
- k63SB2: "xo1l8bm",
109
- $$css: !0
110
- }
111
- };
112
- function c(e) {
113
- let t = o(13), n, a, c;
114
- t[0] === e ? (n = t[1], a = t[2], c = t[3]) : ({className: n, sx: c, ...a} = e, t[0] = e, t[1] = n, t[2] = a, t[3] = c);
115
- let l;
116
- t[4] === c ? l = t[5] : (l = r.props(s.set, c), t[4] = c, t[5] = l);
117
- let u = l, d;
118
- t[6] !== n || t[7] !== u.className ? (d = n ? `${u.className || ""} ${n}`.trim() : u.className, t[6] = n, t[7] = u.className, t[8] = d) : d = t[8];
119
- let f;
120
- return t[9] !== a || t[10] !== u || t[11] !== d ? (f = /* @__PURE__ */ i("fieldset", {
121
- "data-slot": "field-set",
122
- ...u,
123
- className: d,
124
- ...a
125
- }), t[9] = a, t[10] = u, t[11] = d, t[12] = f) : f = t[12], f;
126
- }
127
- function l({ className: e, variant: t = "legend", sx: n, ...a }) {
128
- let o = r.props(s.legend, t === "label" && s.legendLabel, n);
129
- return /* @__PURE__ */ i("legend", {
130
- "data-slot": "field-legend",
131
- "data-variant": t,
132
- ...o,
133
- className: e ? `${o.className || ""} ${e}`.trim() : o.className,
134
- ...a
135
- });
136
- }
137
- function u(e) {
138
- let t = o(13), n, a, c;
139
- t[0] === e ? (n = t[1], a = t[2], c = t[3]) : ({className: n, sx: c, ...a} = e, t[0] = e, t[1] = n, t[2] = a, t[3] = c);
140
- let l;
141
- t[4] === c ? l = t[5] : (l = r.props(s.group, c), t[4] = c, t[5] = l);
142
- let u = l, d;
143
- t[6] !== n || t[7] !== u.className ? (d = n ? `${u.className || ""} ${n}`.trim() : u.className, t[6] = n, t[7] = u.className, t[8] = d) : d = t[8];
144
- let f;
145
- return t[9] !== a || t[10] !== u || t[11] !== d ? (f = /* @__PURE__ */ i("div", {
146
- "data-slot": "field-group",
147
- ...u,
148
- className: d,
149
- ...a
150
- }), t[9] = a, t[10] = u, t[11] = d, t[12] = f) : f = t[12], f;
151
- }
152
- var d = {
153
- vertical: s.vertical,
154
- horizontal: s.horizontal,
155
- responsive: s.responsive
156
- };
157
- function f({ className: t, orientation: n = "vertical", sx: a, width: o, style: c, ...l }) {
158
- let u = e(o), f = r.props(s.fieldBase, d[n], a);
159
- return /* @__PURE__ */ i("div", {
160
- role: "group",
161
- "data-slot": "field",
162
- "data-orientation": n,
163
- "data-width": o,
164
- ...f,
165
- style: {
166
- ...f.style,
167
- ...c,
168
- ...u ? { width: u } : {}
169
- },
170
- className: t ? `${f.className || ""} ${t}`.trim() : f.className,
171
- ...l
172
- });
173
- }
174
- function p(e) {
175
- let t = o(13), n, a, c;
176
- t[0] === e ? (n = t[1], a = t[2], c = t[3]) : ({className: n, sx: c, ...a} = e, t[0] = e, t[1] = n, t[2] = a, t[3] = c);
177
- let l;
178
- t[4] === c ? l = t[5] : (l = r.props(s.content, c), t[4] = c, t[5] = l);
179
- let u = l, d;
180
- t[6] !== n || t[7] !== u.className ? (d = n ? `${u.className || ""} ${n}`.trim() : u.className, t[6] = n, t[7] = u.className, t[8] = d) : d = t[8];
181
- let f;
182
- return t[9] !== a || t[10] !== u || t[11] !== d ? (f = /* @__PURE__ */ i("div", {
183
- "data-slot": "field-content",
184
- ...u,
185
- className: d,
186
- ...a
187
- }), t[9] = a, t[10] = u, t[11] = d, t[12] = f) : f = t[12], f;
188
- }
189
- function m(e) {
190
- let n = o(13), a, c, l;
191
- n[0] === e ? (a = n[1], c = n[2], l = n[3]) : ({className: a, sx: l, ...c} = e, n[0] = e, n[1] = a, n[2] = c, n[3] = l);
192
- let u;
193
- n[4] === l ? u = n[5] : (u = r.props(s.label, l), n[4] = l, n[5] = u);
194
- let d = u, f;
195
- n[6] !== a || n[7] !== d.className ? (f = a ? `${d.className || ""} ${a}`.trim() : d.className, n[6] = a, n[7] = d.className, n[8] = f) : f = n[8];
196
- let p;
197
- return n[9] !== c || n[10] !== d || n[11] !== f ? (p = /* @__PURE__ */ i(t, {
198
- "data-slot": "field-label",
199
- ...d,
200
- className: f,
201
- ...c
202
- }), n[9] = c, n[10] = d, n[11] = f, n[12] = p) : p = n[12], p;
203
- }
204
- function h(e) {
205
- let t = o(13), n, a, c;
206
- t[0] === e ? (n = t[1], a = t[2], c = t[3]) : ({className: n, sx: c, ...a} = e, t[0] = e, t[1] = n, t[2] = a, t[3] = c);
207
- let l;
208
- t[4] === c ? l = t[5] : (l = r.props(s.title, c), t[4] = c, t[5] = l);
209
- let u = l, d;
210
- t[6] !== n || t[7] !== u.className ? (d = n ? `${u.className || ""} ${n}`.trim() : u.className, t[6] = n, t[7] = u.className, t[8] = d) : d = t[8];
211
- let f;
212
- return t[9] !== a || t[10] !== u || t[11] !== d ? (f = /* @__PURE__ */ i("div", {
213
- "data-slot": "field-label",
214
- ...u,
215
- className: d,
216
- ...a
217
- }), t[9] = a, t[10] = u, t[11] = d, t[12] = f) : f = t[12], f;
218
- }
219
- function g(e) {
220
- let t = o(13), n, a, c;
221
- t[0] === e ? (n = t[1], a = t[2], c = t[3]) : ({className: n, sx: c, ...a} = e, t[0] = e, t[1] = n, t[2] = a, t[3] = c);
222
- let l;
223
- t[4] === c ? l = t[5] : (l = r.props(s.description, c), t[4] = c, t[5] = l);
224
- let u = l, d;
225
- t[6] !== n || t[7] !== u.className ? (d = n ? `${u.className || ""} ${n}`.trim() : u.className, t[6] = n, t[7] = u.className, t[8] = d) : d = t[8];
226
- let f;
227
- return t[9] !== a || t[10] !== u || t[11] !== d ? (f = /* @__PURE__ */ i("p", {
228
- "data-slot": "field-description",
229
- ...u,
230
- className: d,
231
- ...a
232
- }), t[9] = a, t[10] = u, t[11] = d, t[12] = f) : f = t[12], f;
233
- }
234
- function _(e) {
235
- let t = o(19), c, l, u, d;
236
- t[0] === e ? (c = t[1], l = t[2], u = t[3], d = t[4]) : ({children: c, className: l, sx: d, ...u} = e, t[0] = e, t[1] = c, t[2] = l, t[3] = u, t[4] = d);
237
- let f;
238
- t[5] === d ? f = t[6] : (f = r.props(s.separator, d), t[5] = d, t[6] = f);
239
- let p = f, m = !!c, h;
240
- t[7] !== l || t[8] !== p.className ? (h = l ? `${p.className || ""} ${l}`.trim() : p.className, t[7] = l, t[8] = p.className, t[9] = h) : h = t[9];
241
- let g;
242
- t[10] === Symbol.for("react.memo_cache_sentinel") ? (g = /* @__PURE__ */ i(n, { sx: s.separatorLine }), t[10] = g) : g = t[10];
243
- let _;
244
- t[11] === c ? _ = t[12] : (_ = c && /* @__PURE__ */ i("span", {
245
- className: "x1mlyrtw xw3nh4a x1n2onr6 xvueqy4 x1lliihq xeq5yr9 x97vtpp",
246
- "data-slot": "field-separator-content",
247
- children: c
248
- }), t[11] = c, t[12] = _);
249
- let v;
250
- return t[13] !== u || t[14] !== p || t[15] !== m || t[16] !== h || t[17] !== _ ? (v = /* @__PURE__ */ a("div", {
251
- "data-slot": "field-separator",
252
- "data-content": m,
253
- ...p,
254
- className: h,
255
- ...u,
256
- children: [g, _]
257
- }), t[13] = u, t[14] = p, t[15] = m, t[16] = h, t[17] = _, t[18] = v) : v = t[18], v;
258
- }
259
- function v(e) {
260
- let t = o(20), n, a, c, l, u;
261
- t[0] === e ? (n = t[1], a = t[2], c = t[3], l = t[4], u = t[5]) : ({className: a, children: n, errors: c, sx: u, ...l} = e, t[0] = e, t[1] = n, t[2] = a, t[3] = c, t[4] = l, t[5] = u);
262
- let d;
263
- bb0: {
264
- if (n) {
265
- d = n;
266
- break bb0;
267
- }
268
- if (!c?.length) {
269
- d = null;
270
- break bb0;
271
- }
272
- let e;
273
- t[6] === c ? e = t[7] : (e = [...new Map(c.map(b)).values()], t[6] = c, t[7] = e);
274
- let r = e;
275
- if (r?.length === 1) {
276
- d = r[0]?.message;
277
- break bb0;
278
- }
279
- let a;
280
- t[8] === r ? a = t[9] : (a = /* @__PURE__ */ i("ul", {
281
- className: "xt3xpxm x78zum5 xtaz4m5 xdt5ytf xvh977a",
282
- children: r.map(y)
283
- }), t[8] = r, t[9] = a), d = a;
284
- }
285
- let f = d;
286
- if (!f) return null;
287
- let p;
288
- t[10] === u ? p = t[11] : (p = r.props(s.error, u), t[10] = u, t[11] = p);
289
- let m = p, h;
290
- t[12] !== a || t[13] !== m.className ? (h = a ? `${m.className || ""} ${a}`.trim() : m.className, t[12] = a, t[13] = m.className, t[14] = h) : h = t[14];
291
- let g;
292
- return t[15] !== f || t[16] !== l || t[17] !== m || t[18] !== h ? (g = /* @__PURE__ */ i("div", {
293
- role: "alert",
294
- "data-slot": "field-error",
295
- ...m,
296
- className: h,
297
- ...l,
298
- children: f
299
- }), t[15] = f, t[16] = l, t[17] = m, t[18] = h, t[19] = g) : g = t[19], g;
300
- }
301
- function y(e, t) {
302
- return e?.message && /* @__PURE__ */ i("li", { children: e.message }, t);
303
- }
304
- function b(e) {
305
- return [e?.message, e];
306
- }
307
- export { f as Field, p as FieldContent, g as FieldDescription, v as FieldError, u as FieldGroup, m as FieldLabel, l as FieldLegend, _ as FieldSeparator, c as FieldSet, h as FieldTitle };
package/dist/index113.cjs DELETED
@@ -1 +0,0 @@
1
- const e=require("./index2.cjs");let t=require("react"),n=e.__toESM(t,1);t=e.__toESM(t);function r(e,t=1){if(e===0)return`0 B`;let n=1024,r=t<0?0:t,i=[`B`,`KB`,`MB`,`GB`,`TB`],a=Math.floor(Math.log(e)/Math.log(n)),o=Math.min(a,i.length-1);return`${parseFloat((e/n**o).toFixed(r))} ${i[o]}`}function i(e){let{endpoint:t,method:n=`POST`,fieldName:r=`file`,headers:i,extraBody:a,withCredentials:o=!1,timeout:s,responseParser:c}=e;return async(e,l={})=>{let u=async e=>new Promise(async(u,d)=>{let f=new XMLHttpRequest;if(l.signal){if(l.signal.aborted)return d(new DOMException(`Upload aborted`,`AbortError`));l.signal.addEventListener(`abort`,()=>{f.abort(),d(new DOMException(`Upload aborted`,`AbortError`))})}let p=typeof t==`function`?await t(e):t;if(f.open(n,p,!0),f.withCredentials=o,s&&(f.timeout=s),i){let t=typeof i==`function`?await i(e):i;for(let[e,n]of Object.entries(t))f.setRequestHeader(e,n)}f.upload.onprogress=t=>{if(t.lengthComputable&&l.onProgress){let n=Math.round(t.loaded/t.total*100);l.onProgress(e,n)}},f.onload=async()=>{if(f.status>=200&&f.status<300)try{let t=f.responseText;try{t=JSON.parse(f.responseText)}catch{}let n;if(c){let r=await c(t,e);n=typeof r==`string`?{key:e.name,name:e.name,size:e.size,type:e.type,url:r,serverData:t}:r}else{let r=typeof t==`object`&&t?t:{},i=typeof r.data==`object`&&r.data!==null?r.data:{},a=r.url||r.fileUrl||r.ufsUrl||i.url||i.fileUrl||(typeof t==`string`&&(t.startsWith(`http://`)||t.startsWith(`https://`))?t:``),o=r.key||r.id||i.key||e.name;n={key:String(o),name:e.name,size:e.size,type:e.type,url:a,serverData:t}}l.onProgress?.(e,100),l.onSuccess?.(e,n),u(n)}catch(t){let n=t instanceof Error?t:Error(`Failed to parse upload response`);l.onError?.(e,n),d(n)}else{let t=Error(`Upload failed with status ${f.status}: ${f.statusText||`Server Error`}`);l.onError?.(e,t),d(t)}},f.onerror=()=>{let t=Error(`Network error during file upload`);l.onError?.(e,t),d(t)},f.ontimeout=()=>{let t=Error(`File upload timed out`);l.onError?.(e,t),d(t)};let m=null;if(a){let t=typeof a==`function`?await a(e):a;if(t instanceof FormData)t.append(r,e),m=t;else{let n=new FormData;for(let[e,r]of Object.entries(t))r!=null&&n.append(e,String(r));n.append(r,e),m=n}}else{let t=new FormData;t.append(r,e),m=t}f.send(m)});return Promise.all(e.map(e=>u(e)))}}function a(e){let{uploadFiles:t,endpoint:n,headers:r,skipPolling:i}=e;return async(e,a={})=>{try{return(await t(n,{files:e,headers:r,skipPolling:i,onUploadProgress:({file:e,progress:t})=>{a.onProgress?.(e,t)}})).map((t,n)=>{let r=e[n]||e[0],i={key:String(t.key||r.name),name:String(t.name||r.name),size:Number(t.size||r.size),type:String(t.type||r.type),url:String(t.ufsUrl||t.url||``),serverData:t.serverData};return a.onSuccess?.(r,i),i})}catch(t){let n=t instanceof Error?t:Error(typeof t==`object`&&t&&`message`in t?String(t.message):`UploadThing upload failed`);for(let t of e)a.onError?.(t,n);throw n}}}function o(e){return async(t,n={})=>{let r=async t=>{let{uploadUrl:r,fileUrl:i,headers:a,method:o=`PUT`}=await e.getPresignedUrl(t);return new Promise((e,s)=>{let c=new XMLHttpRequest;if(n.signal){if(n.signal.aborted)return s(new DOMException(`Upload aborted`,`AbortError`));n.signal.addEventListener(`abort`,()=>{c.abort(),s(new DOMException(`Upload aborted`,`AbortError`))})}if(c.open(o,r,!0),a)for(let[e,t]of Object.entries(a))c.setRequestHeader(e,t);a&&`Content-Type`in a||c.setRequestHeader(`Content-Type`,t.type||`application/octet-stream`),c.upload.onprogress=e=>{if(e.lengthComputable&&n.onProgress){let r=Math.round(e.loaded/e.total*100);n.onProgress(t,r)}},c.onload=()=>{if(c.status>=200&&c.status<300){let a=i||r.split(`?`)[0],o={key:t.name,name:t.name,size:t.size,type:t.type,url:a};n.onProgress?.(t,100),n.onSuccess?.(t,o),e(o)}else{let e=Error(`S3 upload failed with status ${c.status}`);n.onError?.(t,e),s(e)}},c.onerror=()=>{let e=Error(`Network error during S3 direct upload`);n.onError?.(t,e),s(e)},c.send(t)})};return Promise.all(t.map(e=>r(e)))}}function s(e={}){let{uploadHandler:t,defaultUploadedFiles:r=[],onSuccess:i,onError:a}=e,[o,s]=n.useState(r),[c,l]=n.useState({}),[u,d]=n.useState(!1),[f,p]=n.useState(null),m=n.useRef(null),h=n.useCallback(()=>{m.current&&=(m.current.abort(),null),d(!1)},[]),g=n.useCallback(()=>{h(),s([]),l({}),p(null)},[h]);return{onUpload:n.useCallback(async(e,n)=>{let r=n||t;if(!r)throw Error(`No upload handler or configuration provided to useUploadFile.`);d(!0),p(null);let o=new AbortController;m.current=o;try{let t=await r(e,{signal:o.signal,onProgress:(e,t)=>{l(n=>({...n,[e.name]:t}))}});return s(e=>[...e,...t]),i?.(t),t}catch(e){let t=e instanceof Error?e:Error(`An unexpected upload error occurred`);throw p(t),a?.(t),t}finally{d(!1),m.current=null}},[t,i,a]),uploadedFiles:o,progresses:c,isUploading:u,error:f,reset:g,abort:h,setUploadedFiles:s}}exports.createApiUploadHandler=i,exports.createS3PresignedUploadHandler=o,exports.createUploadThingUploadHandler=a,exports.formatFileSize=r,exports.useUploadFile=s;
package/dist/index114.cjs DELETED
@@ -1 +0,0 @@
1
- "use client";const e=require("./index2.cjs"),t=require("./index4.cjs"),n=require("./index13.cjs"),r=require("./index113.cjs");let i=require("react"),a=e.__toESM(i,1);i=e.__toESM(i);let o=require("@stylexjs/stylex");o=e.__toESM(o,1);let s=require("react/jsx-runtime"),c=require("react/compiler-runtime"),l=require("@radix-ui/react-slot");var u=`FileUpload`,d=`FileUploadDropzone`,f=`FileUploadTrigger`,p=`FileUploadList`,m=`FileUploadItem`,h=`FileUploadItemPreview`,g=`FileUploadItemMetadata`,_=`FileUploadItemProgress`,v=`FileUploadItemDelete`,y={root:{kVAEAm:`x1n2onr6`,k1xSpc:`x78zum5`,kXwgrk:`xdt5ytf`,kOIVth:`x8233eu`,kzqmXN:`xh8yej3`,$$css:!0},dropzone:{kVAEAm:`x1n2onr6`,k1xSpc:`x78zum5`,kXwgrk:`xdt5ytf`,kGNEyG:`x6s0dn4`,kjj79g:`xl56j7k`,kOIVth:`x13z6uf9`,kaIpWk:`x1mr5ieh`,kMzoRj:`xdh2fpr`,ksu8eU:`xbsl7fq`,kVAM5u:`xb30jbz`,kWkggS:`x1mlyrtw`,kmVPX3:`xis3749`,kkrTdU:`x1ypdohk`,kfSwDN:`x87ps6o`,k1ekBW:`x11vqxbs`,kIyJzY:`x13dflua`,kI3sdo:`x1a2a7pz`,kGzVvX:`x9p52ec`,kaVNsj:`x14aqmuz`,kOJeXU:`x156qtes`,kEtg5x:`x194zrii`,$$css:!0},dropzoneDragging:{kWkggS:`x1jgryid`,kVAM5u:`x1khvrlk`,kGVxlE:`x100scde`,$$css:!0},dropzoneInvalid:{kVAM5u:`x1uwefn5`,kWkggS:`x6lw6w7`,kGVxlE:`x6t36po`,$$css:!0},dropzoneDisabled:{kfzvcC:`x47corl`,kSiTet:`xbyyjgo`,kkrTdU:`x1h6gzvc`,$$css:!0},avatarDropzone:{kVAEAm:`x1n2onr6`,kzqmXN:`x1eyvef`,kZKoxP:`xw76nk8`,kaIpWk:`x7xypw4`,kMzoRj:`xdh2fpr`,ksu8eU:`xbsl7fq`,kVAM5u:`xb30jbz`,kWkggS:`x1mlyrtw`,kVQacm:`xb3r6kr`,k1xSpc:`x78zum5`,kXwgrk:`xdt5ytf`,kGNEyG:`x6s0dn4`,kjj79g:`xl56j7k`,kkrTdU:`x1ypdohk`,k1ekBW:`xq90yva`,kIyJzY:`x13dflua`,kmVPX3:`x1717udv`,kaVNsj:`x14aqmuz`,$$css:!0},avatarItem:{kzqmXN:`xh8yej3`,kZKoxP:`x5yr21d`,kmVPX3:`x1717udv`,kMzoRj:`xc342km`,$$css:!0},avatarPreview:{kzqmXN:`xh8yej3`,kZKoxP:`x5yr21d`,kaIpWk:`x7xypw4`,$$css:!0},list:{k1xSpc:`x78zum5`,kXwgrk:`xdt5ytf`,kOIVth:`x13z6uf9`,kzqmXN:`xh8yej3`,$$css:!0},listHorizontal:{kXwgrk:`x1q0g3np`,kwnvtZ:`x1a02dak`,$$css:!0},item:{kVAEAm:`x1n2onr6`,k1xSpc:`x78zum5`,kGNEyG:`x6s0dn4`,kOIVth:`x8233eu`,kaIpWk:`xsda711`,kMzoRj:`xmkeg23`,ksu8eU:`x1y0btm7`,kVAM5u:`xb30jbz`,kWkggS:`x1rexohn`,kMwMTN:`xk0jn7w`,kmVPX3:`x2nx7ib`,kVQacm:`xb3r6kr`,k1ekBW:`xq90yva`,kIyJzY:`xx6bhzk`,$$css:!0},itemPreview:{kVAEAm:`x1n2onr6`,k1xSpc:`x78zum5`,kGNEyG:`x6s0dn4`,kjj79g:`xl56j7k`,kzqmXN:`xvm51jw`,kZKoxP:`xwaiz5r`,k7Eaqz:`xj9j1fp`,kaIpWk:`x1q0v2j7`,kWkggS:`x1qry0bl`,kMwMTN:`xw3nh4a`,kVQacm:`xb3r6kr`,$$css:!0},itemMetadata:{k1xSpc:`x78zum5`,kXwgrk:`xdt5ytf`,kUk6DE:`x98rzlu`,k7Eaqz:`xeuugli`,kOIVth:`x1enigpx`,$$css:!0},itemName:{kGuDYH:`xkpwil5`,k63SB2:`xk50ysn`,kMwMTN:`x84br7x`,kVQacm:`xb3r6kr`,kg5iWk:`xlyipyv`,khDVqt:`xuxw1ft`,$$css:!0},itemSize:{kGuDYH:`xboafo0`,kMwMTN:`xw3nh4a`,$$css:!0},itemError:{kGuDYH:`xboafo0`,kMwMTN:`xuuroe4`,$$css:!0},itemDeleteBtn:{k1xSpc:`x3nfvp2`,kGNEyG:`x6s0dn4`,kjj79g:`xl56j7k`,kzqmXN:`xh29eag`,kZKoxP:`xb8l8e1`,kaIpWk:`x1q0v2j7`,kMzoRj:`xc342km`,kWkggS:`xjbqb8w`,kMwMTN:`xw3nh4a`,kkrTdU:`x1ypdohk`,kmVPX3:`x1717udv`,k1ekBW:`xs2xxs2`,kIyJzY:`xx6bhzk`,kGzVvX:`x9p52ec`,kDPRdz:`x1mqvv6a`,$$css:!0},progressRoot:{kVAEAm:`x1n2onr6`,kzqmXN:`xh8yej3`,kZKoxP:`xqu0tyb`,kaIpWk:`x7xypw4`,kWkggS:`x1qry0bl`,kVQacm:`xb3r6kr`,$$css:!0},progressBottom:{kVAEAm:`x10l6tqk`,krVfgx:`x1ey2m1c`,kbCHJM:`xu96u03`,kCIrl2:`x3m8u43`,kaIpWk:`x2u8bby`,kZKoxP:`xuoj239`,$$css:!0},progressFill:{kVAEAm:`x10l6tqk`,kpwlN0:`x10a8y8t`,kZKoxP:`x5yr21d`,kaIpWk:`x2u8bby`,kWkggS:`xa0uij2`,kfzvcC:`x47corl`,$$css:!0},dropzoneTitle:{kGuDYH:`xkpwil5`,k63SB2:`xk50ysn`,kMwMTN:`x84br7x`,kogj98:`x1ghz6dp`,$$css:!0},dropzoneSubtitle:{kGuDYH:`xboafo0`,kMwMTN:`xw3nh4a`,kogj98:`x1ghz6dp`,k9WMMc:`x2b8uid`,$$css:!0},whiteText:{kMwMTN:`x1f7m26b`,$$css:!0},compactDropzone:{kmVPX3:`x19btat0`,kXwgrk:`x1q0g3np`,kOIVth:`x8233eu`,$$css:!0}};function b(e,t,n,r,i){let a={files:t,dragOver:!1,invalid:r};function o(e,r){switch(r.type){case`ADD_FILES`:for(let e of r.files)t.set(e,{file:e,progress:0,status:`idle`});return i&&i(Array.from(t.values()).map(e=>e.file)),{...e,files:t};case`SET_FILES`:{let n=new Set(r.files);for(let e of t.keys())n.has(e)||t.delete(e);for(let e of r.files)t.get(e)||t.set(e,{file:e,progress:0,status:`idle`});return{...e,files:t}}case`SET_PROGRESS`:{let n=t.get(r.file);return n&&t.set(r.file,{...n,progress:r.progress,status:`uploading`}),{...e,files:t}}case`SET_SUCCESS`:{let n=t.get(r.file);return n&&t.set(r.file,{...n,progress:100,status:`success`}),{...e,files:t}}case`SET_ERROR`:{let n=t.get(r.file);return n&&t.set(r.file,{...n,error:r.error,status:`error`}),{...e,files:t}}case`REMOVE_FILE`:if(n){let e=n.get(r.file);e&&(URL.revokeObjectURL(e),n.delete(r.file))}return t.delete(r.file),i&&i(Array.from(t.values()).map(e=>e.file)),{...e,files:t};case`SET_DRAG_OVER`:return{...e,dragOver:r.dragOver};case`SET_INVALID`:return{...e,invalid:r.invalid};case`CLEAR`:for(let e of t.keys())if(n){let t=n.get(e);t&&(URL.revokeObjectURL(t),n.delete(e))}return t.clear(),i&&i([]),{...e,files:t};default:return e}}function s(){e.forEach(e=>e())}return{getState:()=>a,dispatch:e=>{a=o(a,e),s()},subscribe:t=>(e.add(t),()=>{e.delete(t)})}}var x=a.createContext(null);function S(e){let t=(0,c.c)(3),n=a.useContext(x);if(!n)throw Error(`useStore must be used within FileUploadRoot`);let r=a.useRef(null),i=a.useRef(void 0),o;t[0]!==e||t[1]!==n?(o=()=>{let t=n.getState();if(t===r.current&&i.current!==void 0)return i.current;let a=e(t);return r.current=t,i.current=a,a},t[0]=e,t[1]=n,t[2]=o):o=t[2];let s=o;return a.useSyncExternalStore(n.subscribe,s,s)}function C(e){return S(e)}var w=a.createContext(null);function T(e){let t=a.useContext(w);if(!t)throw Error(`${e} must be within ${u}`);return t}function E(e){let{asChild:t,value:n,defaultValue:i,onValueChange:c,onAccept:u,onFileReject:d,onUpload:f,accept:p,maxFiles:m=0,maxSize:h=1/0,minSize:g=0,multiple:_=!1,disabled:v=!1,name:S,required:C,invalid:T=!1,label:E,dir:D=`ltr`,className:O,sx:k,children:A,...j}=e,M=a.useId(),N=a.useId(),P=a.useId(),F=a.useId(),I=a.useRef(null),L=a.useRef(new Set).current,R=a.useRef(new WeakMap).current,z=a.useMemo(()=>{let e=new Map,t=n??i??[];for(let n of t)e.set(n,{file:n,progress:0,status:`idle`});return e},[]),B=a.useMemo(()=>b(L,z,R,T,c),[]);a.useEffect(()=>{n!==void 0&&B.dispatch({type:`SET_FILES`,files:n})},[n,B]),a.useEffect(()=>{B.dispatch({type:`SET_INVALID`,invalid:T})},[T,B]);let V=a.useCallback(e=>{if(p){let t=p.split(`,`).map(e=>e.trim().toLowerCase()),n=e.type.toLowerCase(),r=e.name.toLowerCase();if(!t.some(e=>{if(e.startsWith(`.`))return r.endsWith(e);if(e.endsWith(`/*`)){let t=e.slice(0,-2);return n.startsWith(t)}return n===e}))return`File "${e.name}" is not an accepted format (${p})`}return e.size>h?`File "${e.name}" exceeds maximum allowed size of ${r.formatFileSize(h)}`:e.size<g?`File "${e.name}" is smaller than minimum required size of ${r.formatFileSize(g)}`:null},[p,h,g]),H=a.useCallback(async e=>{if(v)return;let t=Array.from(B.getState().files.keys()),n=_?m>0?m:1/0:1,r=n-t.length;if(r<=0&&n===1)B.dispatch({type:`CLEAR`});else if(r<=0){d?.(e[0],`Maximum file limit (${m}) reached`);return}let i=_?e.slice(0,r<=0?1:r):[e[0]],a=[];for(let e of i){let t=V(e);t?d?.(e,t):a.push(e)}if(a.length>0&&(B.dispatch({type:`ADD_FILES`,files:a}),u?.(a),f)){for(let e of a)B.dispatch({type:`SET_PROGRESS`,file:e,progress:0});try{await f(a,{onProgress:(e,t)=>{B.dispatch({type:`SET_PROGRESS`,file:e,progress:t})},onSuccess:e=>{B.dispatch({type:`SET_SUCCESS`,file:e})},onError:(e,t)=>{B.dispatch({type:`SET_ERROR`,file:e,error:t.message})}})}catch{}}},[v,m,_,u,d,f,B,V]),U=a.useCallback(e=>{let t=e.target.files?Array.from(e.target.files):[];t.length>0&&H(t),e.target.value=``},[H]),W=a.useMemo(()=>({dropzoneId:M,inputId:N,listId:P,labelId:F,dir:D,disabled:v,inputRef:I,urlCache:R,processFiles:H}),[M,N,P,F,D,v,R,H]),G=t?l.Slot:`div`,K=o.props(y.root,k);return(0,s.jsx)(x.Provider,{value:B,children:(0,s.jsx)(w.Provider,{value:W,children:(0,s.jsxs)(G,{"data-disabled":v?``:void 0,"data-slot":`file-upload`,dir:D,...j,...K,className:O?`${K.className||``} ${O}`.trim():K.className,children:[A,(0,s.jsx)(`input`,{type:`file`,id:N,"aria-labelledby":F,"aria-describedby":M,ref:I,tabIndex:-1,accept:p,name:S,className:`x10l6tqk x1i1rx1s xjm9jq1 x1717udv xkdpibf xb3r6kr xzpqnlu xuxw1ft xc342km`,disabled:v,multiple:_,required:C,onChange:U}),(0,s.jsx)(`span`,{id:F,className:`x10l6tqk x1i1rx1s xjm9jq1 x1717udv xkdpibf xb3r6kr xzpqnlu xuxw1ft xc342km`,children:E??`File upload`})]})})})}function D(e){let{asChild:t,className:n,sx:r,onClick:i,onDragOver:c,onDragEnter:u,onDragLeave:f,onDrop:p,onKeyDown:m,children:h,...g}=e,_=T(d),v=a.useContext(x),b=S(e=>e.dragOver),C=S(e=>e.invalid),w=a.useCallback(e=>{if(i?.(e),e.defaultPrevented)return;let t=e.target;t instanceof HTMLElement&&t.closest(`[data-slot="file-upload-trigger"]`)||_.inputRef.current?.click()},[_.inputRef,i]),E=a.useCallback(e=>{c?.(e),!e.defaultPrevented&&(e.preventDefault(),v?.dispatch({type:`SET_DRAG_OVER`,dragOver:!0}))},[v,c]),D=a.useCallback(e=>{u?.(e),!e.defaultPrevented&&(e.preventDefault(),v?.dispatch({type:`SET_DRAG_OVER`,dragOver:!0}))},[v,u]),O=a.useCallback(e=>{if(f?.(e),e.defaultPrevented)return;let t=e.relatedTarget;t&&t instanceof Node&&e.currentTarget.contains(t)||(e.preventDefault(),v?.dispatch({type:`SET_DRAG_OVER`,dragOver:!1}))},[v,f]),k=a.useCallback(e=>{if(p?.(e),e.defaultPrevented)return;e.preventDefault(),v?.dispatch({type:`SET_DRAG_OVER`,dragOver:!1});let t=e.dataTransfer?.files?Array.from(e.dataTransfer.files):[];t.length!==0&&_.processFiles(t)},[v,_.processFiles,p]),A=a.useCallback(e=>{m?.(e),e.defaultPrevented||e.key!==`Enter`&&e.key!==` `||(e.preventDefault(),_.inputRef.current?.click())},[_.inputRef,m]),j=t?l.Slot:`div`,M=o.props(y.dropzone,b&&y.dropzoneDragging,C&&y.dropzoneInvalid,_.disabled&&y.dropzoneDisabled,r);return(0,s.jsx)(j,{role:`region`,id:_.dropzoneId,"aria-controls":`${_.inputId} ${_.listId}`,"aria-disabled":_.disabled,"aria-invalid":C,"data-disabled":_.disabled?``:void 0,"data-dragging":b?``:void 0,"data-invalid":C?``:void 0,"data-slot":`file-upload-dropzone`,tabIndex:_.disabled?void 0:0,...g,...M,className:n?`${M.className||``} ${n}`.trim():M.className,onClick:w,onDragEnter:D,onDragLeave:O,onDragOver:E,onDrop:k,onKeyDown:A,children:h})}function O(e){let t=(0,c.c)(23),n,r,i,a,u;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],u=t[5]):({asChild:n,onClick:i,className:r,sx:a,...u}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=u);let d=T(f),p;t[6]!==d.inputRef||t[7]!==i?(p=e=>{i?.(e),!e.defaultPrevented&&d.inputRef.current?.click()},t[6]=d.inputRef,t[7]=i,t[8]=p):p=t[8];let m=p,h=n?l.Slot:`button`,g;t[9]===a?g=t[10]:(g=o.props(a),t[9]=a,t[10]=g);let _=g,v=d.disabled?``:void 0,y;t[11]!==r||t[12]!==_.className?(y=r?`${_.className||``} ${r}`.trim():_.className,t[11]=r,t[12]=_.className,t[13]=y):y=t[13];let b;return t[14]!==h||t[15]!==d.disabled||t[16]!==d.inputId||t[17]!==m||t[18]!==_||t[19]!==v||t[20]!==y||t[21]!==u?(b=(0,s.jsx)(h,{type:`button`,"aria-controls":d.inputId,"data-disabled":v,"data-slot":`file-upload-trigger`,disabled:d.disabled,...u,..._,className:y,onClick:m}),t[14]=h,t[15]=d.disabled,t[16]=d.inputId,t[17]=m,t[18]=_,t[19]=v,t[20]=y,t[21]=u,t[22]=b):b=t[22],b}function k(e){let{asChild:t,orientation:n=`vertical`,className:r,sx:i,children:a,...c}=e,u=T(p),d=t?l.Slot:`div`,f=o.props(y.list,n===`horizontal`&&y.listHorizontal,i);return(0,s.jsx)(d,{id:u.listId,role:`list`,"data-slot":`file-upload-list`,...c,...f,className:r?`${f.className||``} ${r}`.trim():f.className,children:a})}var A=a.createContext(null);function j(e){let t=a.useContext(A);if(!t)throw Error(`${e} must be within ${m}`);return t}function M(e){let t=(0,c.c)(31),n,r,i,u,d,f;t[0]===e?(n=t[1],r=t[2],i=t[3],u=t[4],d=t[5],f=t[6]):({asChild:n,value:f,className:i,sx:d,children:r,...u}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=u,t[5]=d,t[6]=f),T(m);let p=S(N),h;t[7]!==p||t[8]!==f?(h=p.get(f),t[7]=p,t[8]=f,t[9]=h):h=t[9];let g=h,_=a.useId(),v=a.useId(),b=a.useId(),x;t[10]!==g||t[11]!==v||t[12]!==b||t[13]!==_||t[14]!==f?(x={file:f,fileState:g,statusId:_,nameId:v,sizeId:b},t[10]=g,t[11]=v,t[12]=b,t[13]=_,t[14]=f,t[15]=x):x=t[15];let C=x,w=n?l.Slot:`div`,E;t[16]===d?E=t[17]:(E=o.props(y.item,d),t[16]=d,t[17]=E);let D=E,O=g?.status||`idle`,k;t[18]!==i||t[19]!==D.className?(k=i?`${D.className||``} ${i}`.trim():D.className,t[18]=i,t[19]=D.className,t[20]=k):k=t[20];let j;t[21]!==w||t[22]!==r||t[23]!==u||t[24]!==D||t[25]!==O||t[26]!==k?(j=(0,s.jsx)(w,{role:`listitem`,"data-slot":`file-upload-item`,"data-status":O,...u,...D,className:k,children:r}),t[21]=w,t[22]=r,t[23]=u,t[24]=D,t[25]=O,t[26]=k,t[27]=j):j=t[27];let M;return t[28]!==C||t[29]!==j?(M=(0,s.jsx)(A.Provider,{value:C,children:j}),t[28]=C,t[29]=j,t[30]=M):M=t[30],M}function N(e){return e.files}function P(e){let n=(0,c.c)(31),r,i,u,d,f,p;n[0]===e?(r=n[1],i=n[2],u=n[3],d=n[4],f=n[5],p=n[6]):({asChild:r,render:f,className:u,sx:p,children:i,...d}=e,n[0]=e,n[1]=r,n[2]=i,n[3]=u,n[4]=d,n[5]=f,n[6]=p);let m=T(h),g=j(h).file,[_,v]=a.useState(null),b,x;n[7]!==m.urlCache||n[8]!==g?(b=()=>{let e=g;if(e.uploadedUrl&&g.type.startsWith(`image/`))v(e.uploadedUrl);else if(g.type.startsWith(`image/`)&&typeof URL<`u`&&URL.createObjectURL){let e=m.urlCache.get(g);e||(e=URL.createObjectURL(g),m.urlCache.set(g,e)),v(e)}},x=[g,m.urlCache],n[7]=m.urlCache,n[8]=g,n[9]=b,n[10]=x):(b=n[9],x=n[10]),a.useEffect(b,x);let S;n[11]!==g.name||n[12]!==g.type?(S=()=>{let e=g.type,n=g.name.toLowerCase();return e.startsWith(`video/`)?(0,s.jsx)(t.Icons.FileVideoIcon,{size:20}):e.startsWith(`audio/`)?(0,s.jsx)(t.Icons.FileAudioIcon,{size:20}):n.endsWith(`.zip`)||n.endsWith(`.tar`)||n.endsWith(`.gz`)||n.endsWith(`.rar`)?(0,s.jsx)(t.Icons.FileArchiveIcon,{size:20}):n.endsWith(`.js`)||n.endsWith(`.ts`)||n.endsWith(`.tsx`)||n.endsWith(`.html`)||n.endsWith(`.css`)||n.endsWith(`.json`)?(0,s.jsx)(t.Icons.FileCodeIcon,{size:20}):e.startsWith(`text/`)||n.endsWith(`.pdf`)||n.endsWith(`.doc`)||n.endsWith(`.docx`)?(0,s.jsx)(t.Icons.FileTextIcon,{size:20}):(0,s.jsx)(t.Icons.FileIcon,{size:20})},n[11]=g.name,n[12]=g.type,n[13]=S):S=n[13];let C=S,w=r?l.Slot:`div`,E;n[14]===p?E=n[15]:(E=o.props(y.itemPreview,p),n[14]=p,n[15]=E);let D=E,O;n[16]!==u||n[17]!==D.className?(O=u?`${D.className||``} ${u}`.trim():D.className,n[16]=u,n[17]=D.className,n[18]=O):O=n[18];let k;n[19]!==i||n[20]!==C||n[21]!==g||n[22]!==_||n[23]!==f?(k=f?f(g,C):_?(0,s.jsx)(`img`,{src:_,alt:g.name,className:`xh8yej3 x5yr21d xl1xv1r`}):i||C(),n[19]=i,n[20]=C,n[21]=g,n[22]=_,n[23]=f,n[24]=k):k=n[24];let A;return n[25]!==w||n[26]!==d||n[27]!==D||n[28]!==O||n[29]!==k?(A=(0,s.jsx)(w,{"data-slot":`file-upload-item-preview`,...d,...D,className:O,children:k}),n[25]=w,n[26]=d,n[27]=D,n[28]=O,n[29]=k,n[30]=A):A=n[30],A}function F(e){let t=(0,c.c)(23),i,a,u,d,f;t[0]===e?(i=t[1],a=t[2],u=t[3],d=t[4],f=t[5]):({asChild:i,className:u,sx:f,children:a,...d}=e,t[0]=e,t[1]=i,t[2]=a,t[3]=u,t[4]=d,t[5]=f);let p=j(g),m=p.file,h=p.fileState,_=i?l.Slot:`div`,v;t[6]===f?v=t[7]:(v=o.props(y.itemMetadata,f),t[6]=f,t[7]=v);let b=v,x;t[8]!==u||t[9]!==b.className?(x=u?`${b.className||``} ${u}`.trim():b.className,t[8]=u,t[9]=b.className,t[10]=x):x=t[10];let S;t[11]!==a||t[12]!==m||t[13]!==h||t[14]!==p.nameId||t[15]!==p.sizeId?(S=a||(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.Text,{id:p.nameId,size:`sm`,weight:`medium`,ellipsis:!0,title:m.name,sx:y.itemName,children:m.name}),h?.error?(0,s.jsx)(n.Text,{size:`xs`,type:`danger`,sx:y.itemError,children:h.error}):(0,s.jsx)(n.Text,{id:p.sizeId,size:`xs`,type:`muted`,sx:y.itemSize,children:r.formatFileSize(m.size)})]}),t[11]=a,t[12]=m,t[13]=h,t[14]=p.nameId,t[15]=p.sizeId,t[16]=S):S=t[16];let C;return t[17]!==_||t[18]!==d||t[19]!==b||t[20]!==x||t[21]!==S?(C=(0,s.jsx)(_,{"data-slot":`file-upload-item-metadata`,...d,...b,className:x,children:S}),t[17]=_,t[18]=d,t[19]=b,t[20]=x,t[21]=S,t[22]=C):C=t[22],C}function I(e){let{asChild:t,variant:n=`linear`,className:r,sx:i,...a}=e,c=j(_),u=c.fileState?.progress??0;if(c.fileState?.status!==`uploading`&&n===`fill`)return null;let d=t?l.Slot:`div`,f=o.props(n===`fill`?y.progressFill:n===`bottom`?[y.progressRoot,y.progressBottom]:y.progressRoot,i);return(0,s.jsx)(d,{role:`progressbar`,"aria-valuenow":u,"aria-valuemin":0,"aria-valuemax":100,"data-slot":`file-upload-item-progress`,...a,...f,className:r?`${f.className||``} ${r}`.trim():f.className,children:n!==`fill`&&(0,s.jsx)(`div`,{className:`x5yr21d x1j7ufkg x7xypw4 xxrbq2n x1d8287x xz4gly6`,style:{width:`${Math.min(Math.max(u,0),100)}%`}})})}function L(e){let n=(0,c.c)(26),r,i,u,d,f,p;n[0]===e?(r=n[1],i=n[2],u=n[3],d=n[4],f=n[5],p=n[6]):({asChild:r,onClick:f,className:u,sx:p,children:i,...d}=e,n[0]=e,n[1]=r,n[2]=i,n[3]=u,n[4]=d,n[5]=f,n[6]=p);let m=a.useContext(x),h=j(v),g;n[7]!==h.file||n[8]!==f||n[9]!==m?(g=e=>{f?.(e),!e.defaultPrevented&&m?.dispatch({type:`REMOVE_FILE`,file:h.file})},n[7]=h.file,n[8]=f,n[9]=m,n[10]=g):g=n[10];let _=g,b=r?l.Slot:`button`,S;n[11]===p?S=n[12]:(S=o.props(y.itemDeleteBtn,p),n[11]=p,n[12]=S);let C=S,w=`Remove ${h.file.name}`,T;n[13]!==u||n[14]!==C.className?(T=u?`${C.className||``} ${u}`.trim():C.className,n[13]=u,n[14]=C.className,n[15]=T):T=n[15];let E;n[16]===i?E=n[17]:(E=i||(0,s.jsx)(t.Icons.X,{size:15}),n[16]=i,n[17]=E);let D;return n[18]!==b||n[19]!==d||n[20]!==_||n[21]!==C||n[22]!==w||n[23]!==T||n[24]!==E?(D=(0,s.jsx)(b,{type:`button`,"data-slot":`file-upload-item-delete`,"aria-label":w,...d,...C,className:T,onClick:_,children:E}),n[18]=b,n[19]=d,n[20]=_,n[21]=C,n[22]=w,n[23]=T,n[24]=E,n[25]=D):D=n[25],D}function R(e){let t=(0,c.c)(20),n,r,i,u,d;t[0]===e?(n=t[1],r=t[2],i=t[3],u=t[4],d=t[5]):({asChild:n,onClick:u,className:r,sx:d,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=u,t[5]=d);let f=a.useContext(x),p;t[6]!==u||t[7]!==f?(p=e=>{u?.(e),!e.defaultPrevented&&f?.dispatch({type:`CLEAR`})},t[6]=u,t[7]=f,t[8]=p):p=t[8];let m=p,h=n?l.Slot:`button`,g;t[9]===d?g=t[10]:(g=o.props(d),t[9]=d,t[10]=g);let _=g,v;t[11]!==r||t[12]!==_.className?(v=r?`${_.className||``} ${r}`.trim():_.className,t[11]=r,t[12]=_.className,t[13]=v):v=t[13];let y;return t[14]!==h||t[15]!==i||t[16]!==m||t[17]!==_||t[18]!==v?(y=(0,s.jsx)(h,{type:`button`,"data-slot":`file-upload-clear`,...i,..._,className:v,onClick:m}),t[14]=h,t[15]=i,t[16]=m,t[17]=_,t[18]=v,t[19]=y):y=t[19],y}function z({variant:e=`default`,dropzoneTitle:i,dropzoneSubtitle:o,icon:c,uploadHandler:l,showFileList:u=!0,showProgress:d=!0,showPreview:f=!0,showClear:p=!1,onUpload:m,maxFiles:h=1,maxSize:g=10485760,accept:_=`image/*`,value:v,onValueChange:b,sx:x,className:S,...C}){let[w,T]=a.useState(v||[]),A=v===void 0?w:v,j=e=>{T(e),b?.(e)},N=a.useCallback(async(e,t)=>{if(m)return m(e,t);l&&await l(e,{onProgress:t.onProgress,onSuccess:e=>t.onSuccess(e),onError:(e,n)=>t.onError(e,n)})},[m,l]);if(e===`avatar`){let e=A[0];return(0,s.jsx)(E,{value:A,onValueChange:j,maxFiles:1,maxSize:g,accept:_,onUpload:N,sx:x,className:S,...C,children:(0,s.jsx)(D,{sx:y.avatarDropzone,children:e?(0,s.jsxs)(M,{value:e,sx:y.avatarItem,children:[(0,s.jsx)(P,{sx:y.avatarPreview,render:e=>{let t=URL.createObjectURL(e);return(0,s.jsx)(`img`,{src:t,alt:e.name,className:`xh8yej3 x5yr21d xl1xv1r`})}}),(0,s.jsxs)(`div`,{className:`x10l6tqk x10a8y8t x78zum5 xdt5ytf x6s0dn4 xl56j7k xvh977a xa44r0r x1f7m26b xg01cxk x19991ni x13dflua x1o7uuvo`,children:[(0,s.jsx)(t.Icons.Camera,{size:22}),(0,s.jsx)(n.Text,{size:`xs`,weight:`semibold`,sx:y.whiteText,children:`Change`})]}),d&&(0,s.jsx)(I,{variant:`fill`})]}):(0,s.jsxs)(`div`,{style:{display:`flex`,flexDirection:`column`,alignItems:`center`,gap:`0.25rem`},children:[(0,s.jsx)(t.Icons.Camera,{size:28}),(0,s.jsx)(n.Text,{size:`xs`,type:`muted`,weight:`medium`,children:`Upload photo`})]})})})}if(e===`compact`)return(0,s.jsxs)(E,{value:A,onValueChange:j,maxFiles:h,maxSize:g,accept:_,multiple:h>1,onUpload:N,sx:x,className:S,...C,children:[(0,s.jsxs)(D,{sx:y.compactDropzone,children:[(0,s.jsx)(`div`,{className:`x78zum5 x6s0dn4 xl56j7k xvm51jw xwaiz5r x7xypw4 xmkeg23 x1y0btm7 xb30jbz x1rexohn xw3nh4a`,children:c||(0,s.jsx)(t.Icons.CloudUpload,{size:18})}),(0,s.jsxs)(`div`,{style:{display:`flex`,flexDirection:`column`,flex:1,minWidth:0},children:[(0,s.jsx)(n.Text,{size:`sm`,weight:`medium`,children:i||`Choose or drop files to upload`}),(0,s.jsx)(n.Text,{size:`xs`,type:`muted`,children:o||`${h>1?`Up to ${h} files`:`1 file max`} ${g?`(Max ${r.formatFileSize(g)})`:``}`})]}),(0,s.jsx)(O,{asChild:!0,children:(0,s.jsx)(`button`,{type:`button`,style:{fontSize:`0.75rem`,padding:`0.375rem 0.75rem`,borderRadius:`0.375rem`,border:`1px solid var(--border)`,backgroundColor:`var(--background)`,color:`var(--foreground)`,cursor:`pointer`,fontWeight:500},children:`Browse`})})]}),u&&A.length>0&&(0,s.jsx)(k,{orientation:`horizontal`,children:A.map((e,t)=>(0,s.jsxs)(M,{value:e,children:[f&&(0,s.jsx)(P,{}),(0,s.jsx)(F,{}),d&&(0,s.jsx)(I,{variant:`bottom`}),(0,s.jsx)(L,{})]},`${e.name}-${t}`))})]});let z=`${h>1?`Up to ${h} files`:`1 file max`} ${g?`(Max ${r.formatFileSize(g)})`:``}`;return(0,s.jsxs)(E,{value:A,onValueChange:j,maxFiles:h,maxSize:g,accept:_,multiple:h>1,onUpload:N,sx:x,className:S,...C,children:[(0,s.jsxs)(D,{children:[(0,s.jsx)(`div`,{className:`x78zum5 x6s0dn4 xl56j7k xvm51jw xwaiz5r x7xypw4 xmkeg23 x1y0btm7 xb30jbz x1rexohn xw3nh4a`,children:c||(0,s.jsx)(t.Icons.CloudUpload,{size:20})}),(0,s.jsx)(n.Text,{size:`md`,weight:`medium`,sx:y.dropzoneTitle,children:i||`Drag & drop files here, or click to browse`}),(0,s.jsx)(n.Text,{size:`xs`,type:`muted`,sx:y.dropzoneSubtitle,children:o||z})]}),p&&A.length>0&&(0,s.jsx)(`div`,{className:`x78zum5 x13a6bvl xh8yej3`,children:(0,s.jsx)(R,{asChild:!0,children:(0,s.jsxs)(`button`,{type:`button`,className:`x3nfvp2 x6s0dn4 xvh977a xboafo0 xw3nh4a xjbqb8w xc342km x1ypdohk x48ff29 x1q0v2j7 x9p52ec x1mqvv6a`,children:[(0,s.jsx)(t.Icons.Trash2,{size:13}),`Clear all`]})})}),u&&A.length>0&&(0,s.jsx)(k,{children:A.map((e,t)=>(0,s.jsxs)(M,{value:e,children:[f&&(0,s.jsx)(P,{render:(e,t)=>{if(e.type.startsWith(`image/`)){let t=URL.createObjectURL(e);return(0,s.jsx)(`img`,{src:t,alt:e.name,className:`xh8yej3 x5yr21d xl1xv1r`})}return t()}}),(0,s.jsx)(F,{}),d&&(0,s.jsx)(I,{variant:`bottom`}),(0,s.jsx)(L,{})]},`${e.name}-${t}`))})]})}exports.FileUpload=E,exports.FileUploadClear=R,exports.FileUploadDropzone=D,exports.FileUploadItem=M,exports.FileUploadItemDelete=L,exports.FileUploadItemMetadata=F,exports.FileUploadItemPreview=P,exports.FileUploadItemProgress=I,exports.FileUploadList=k,exports.FileUploadTrigger=O,exports.FileUploader=z,exports.createApiUploadHandler=r.createApiUploadHandler,exports.createS3PresignedUploadHandler=r.createS3PresignedUploadHandler,exports.createUploadThingUploadHandler=r.createUploadThingUploadHandler,exports.formatFileSize=r.formatFileSize,exports.useFileUpload=C,exports.useUploadFile=r.useUploadFile;