@vlrc-fe/components 3.0.3 → 3.0.5

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 (701) hide show
  1. package/CHANGELOG.md +29 -0
  2. package/README.md +10 -1
  3. package/bin/registry.mjs +1124 -0
  4. package/bin/vlrc.mjs +102 -7
  5. package/dist/ConfirmModal.cjs +268 -1
  6. package/dist/ConfirmModal.d.ts +5 -21
  7. package/dist/ConfirmModal.d.ts.map +1 -1
  8. package/dist/ConfirmModal.js +120 -111
  9. package/dist/DataTable/DataTable.cjs +203 -1
  10. package/dist/DataTable/DataTable.js +161 -120
  11. package/dist/DataTable/components/DataTableColumnHeader.cjs +214 -1
  12. package/dist/DataTable/components/DataTableColumnHeader.d.ts +3 -3
  13. package/dist/DataTable/components/DataTableColumnHeader.d.ts.map +1 -1
  14. package/dist/DataTable/components/DataTableColumnHeader.js +201 -103
  15. package/dist/DataTable/components/DataTableFacetedFilter.cjs +332 -1
  16. package/dist/DataTable/components/DataTableFacetedFilter.d.ts +3 -3
  17. package/dist/DataTable/components/DataTableFacetedFilter.d.ts.map +1 -1
  18. package/dist/DataTable/components/DataTableFacetedFilter.js +285 -181
  19. package/dist/DataTable/components/DataTablePagination.cjs +200 -1
  20. package/dist/DataTable/components/DataTablePagination.js +188 -91
  21. package/dist/DataTable/components/DataTableRowActions.cjs +172 -1
  22. package/dist/DataTable/components/DataTableRowActions.js +161 -62
  23. package/dist/DataTable/components/DataTableTable.cjs +100 -1
  24. package/dist/DataTable/components/DataTableTable.js +87 -35
  25. package/dist/DataTable/components/DataTableToolbar.cjs +112 -1
  26. package/dist/DataTable/components/DataTableToolbar.js +106 -44
  27. package/dist/DataTable/components/DataTableViewOptions.cjs +113 -1
  28. package/dist/DataTable/components/DataTableViewOptions.js +105 -44
  29. package/dist/DataTable/render/createColumns.cjs +84 -1
  30. package/dist/DataTable/render/createColumns.js +65 -44
  31. package/dist/DataTable/render/defaults.cjs +38 -1
  32. package/dist/DataTable/render/defaults.js +18 -13
  33. package/dist/Dropdown/Dropdown.cjs +255 -1
  34. package/dist/Dropdown/Dropdown.js +138 -108
  35. package/dist/Form/Form.cjs +439 -1
  36. package/dist/Form/Form.js +417 -206
  37. package/dist/Form/FormDatePicker/FormDatePicker.cjs +84 -1
  38. package/dist/Form/FormDatePicker/FormDatePicker.js +68 -65
  39. package/dist/Form/FormDatePicker/MonthPickerPanel.cjs +217 -1
  40. package/dist/Form/FormDatePicker/MonthPickerPanel.js +194 -101
  41. package/dist/Form/FormDatePicker/RangeDatePicker.cjs +144 -1
  42. package/dist/Form/FormDatePicker/RangeDatePicker.js +94 -77
  43. package/dist/Form/FormDatePicker/SingleDatePicker.cjs +191 -1
  44. package/dist/Form/FormDatePicker/SingleDatePicker.js +144 -114
  45. package/dist/Form/FormDatePicker/TimeInput.cjs +172 -1
  46. package/dist/Form/FormDatePicker/TimeInput.js +162 -79
  47. package/dist/Form/FormDatePicker/TimePicker.cjs +107 -1
  48. package/dist/Form/FormDatePicker/TimePicker.js +58 -43
  49. package/dist/Form/FormDatePicker/YearPickerPanel.cjs +184 -1
  50. package/dist/Form/FormDatePicker/YearPickerPanel.js +164 -84
  51. package/dist/Form/FormDatePicker/types.cjs +10 -1
  52. package/dist/Form/FormDatePicker/types.js +8 -3
  53. package/dist/Form/FormDatePicker/useFormDatePicker.cjs +70 -1
  54. package/dist/Form/FormDatePicker/useFormDatePicker.js +58 -31
  55. package/dist/Form/FormFileUpload/FileUpload.cjs +603 -1
  56. package/dist/Form/FormFileUpload/FileUpload.js +452 -306
  57. package/dist/Form/FormFileUpload/index.cjs +175 -1
  58. package/dist/Form/FormFileUpload/index.js +164 -50
  59. package/dist/Form/FormMultiSelect/FormMultiSelect.cjs +46 -1
  60. package/dist/Form/FormMultiSelect/FormMultiSelect.js +42 -22
  61. package/dist/Form/FormNumberInput/FormNumberInput.cjs +71 -1
  62. package/dist/Form/FormNumberInput/FormNumberInput.js +60 -58
  63. package/dist/Form/FormNumberInput/StepperControls.cjs +104 -1
  64. package/dist/Form/FormNumberInput/StepperControls.js +78 -43
  65. package/dist/Form/FormNumberInput/useFormNumberInput.cjs +72 -1
  66. package/dist/Form/FormNumberInput/useFormNumberInput.js +68 -39
  67. package/dist/Form/FormRadioGroup/FormRadio.cjs +65 -1
  68. package/dist/Form/FormRadioGroup/FormRadio.js +38 -38
  69. package/dist/Form/FormRadioGroup/useFormRadio.cjs +38 -1
  70. package/dist/Form/FormRadioGroup/useFormRadio.js +27 -16
  71. package/dist/Form/FormSelect/FormSelect.cjs +46 -1
  72. package/dist/Form/FormSelect/FormSelect.js +40 -26
  73. package/dist/Form/FormSelect/useFormSelect.cjs +58 -1
  74. package/dist/Form/FormSelect/useFormSelect.js +52 -43
  75. package/dist/Icons/Icons.cjs +155 -1
  76. package/dist/Icons/Icons.js +142 -142
  77. package/dist/Modal.cjs +131 -1
  78. package/dist/Modal.d.ts +2 -14
  79. package/dist/Modal.d.ts.map +1 -1
  80. package/dist/Modal.js +63 -54
  81. package/dist/MultiSelect/MultiSelect.cjs +210 -1
  82. package/dist/MultiSelect/MultiSelect.d.ts.map +1 -1
  83. package/dist/MultiSelect/MultiSelect.js +126 -117
  84. package/dist/MultiSelect/renderers.cjs +571 -1
  85. package/dist/MultiSelect/renderers.js +508 -309
  86. package/dist/MultiSelect/useMultiSelect.cjs +244 -1
  87. package/dist/MultiSelect/useMultiSelect.d.ts.map +1 -1
  88. package/dist/MultiSelect/useMultiSelect.js +208 -127
  89. package/dist/MultiSelect/utils.cjs +123 -1
  90. package/dist/MultiSelect/utils.js +79 -51
  91. package/dist/Select/BaseSelect.cjs +265 -1
  92. package/dist/Select/BaseSelect.js +165 -126
  93. package/dist/Select/MultiSelectTags.cjs +129 -1
  94. package/dist/Select/MultiSelectTags.js +82 -56
  95. package/dist/Typography/Blockquote.cjs +79 -1
  96. package/dist/Typography/Blockquote.js +40 -38
  97. package/dist/Typography/Code.cjs +131 -1
  98. package/dist/Typography/Code.js +64 -58
  99. package/dist/Typography/Link.cjs +139 -1
  100. package/dist/Typography/Link.d.ts +1 -2
  101. package/dist/Typography/Link.d.ts.map +1 -1
  102. package/dist/Typography/Link.js +73 -64
  103. package/dist/Typography/Paragraph.cjs +224 -1
  104. package/dist/Typography/Paragraph.d.ts +1 -2
  105. package/dist/Typography/Paragraph.d.ts.map +1 -1
  106. package/dist/Typography/Paragraph.js +118 -108
  107. package/dist/Typography/Text.cjs +223 -1
  108. package/dist/Typography/Text.d.ts +1 -2
  109. package/dist/Typography/Text.d.ts.map +1 -1
  110. package/dist/Typography/Text.js +117 -101
  111. package/dist/Typography/Title.cjs +220 -1
  112. package/dist/Typography/Title.d.ts +1 -2
  113. package/dist/Typography/Title.d.ts.map +1 -1
  114. package/dist/Typography/Title.js +126 -104
  115. package/dist/Typography/Typography.cjs +17 -1
  116. package/dist/Typography/Typography.d.ts +8 -4
  117. package/dist/Typography/Typography.d.ts.map +1 -1
  118. package/dist/Typography/Typography.js +14 -14
  119. package/dist/Typography/index.d.ts +1 -4
  120. package/dist/Typography/index.d.ts.map +1 -1
  121. package/dist/Typography/index.js +10 -13
  122. package/dist/Typography/tooltip.cjs +42 -1
  123. package/dist/Typography/tooltip.js +34 -14
  124. package/dist/Typography/types.cjs +20 -1
  125. package/dist/Typography/types.d.ts +4 -0
  126. package/dist/Typography/types.d.ts.map +1 -1
  127. package/dist/Typography/types.js +5 -2
  128. package/dist/Typography/utils.cjs +52 -1
  129. package/dist/Typography/utils.js +48 -21
  130. package/dist/Typography/weightStyles.cjs +58 -1
  131. package/dist/Typography/weightStyles.js +26 -25
  132. package/dist/_virtual/_rolldown/runtime.cjs +32 -1
  133. package/dist/_virtual/_rolldown/runtime.js +9 -7
  134. package/dist/assets/stylex.css +167 -9
  135. package/dist/astryx.cjs +9 -1
  136. package/dist/astryx.d.ts +0 -1
  137. package/dist/astryx.d.ts.map +1 -1
  138. package/dist/astryx.js +0 -1
  139. package/dist/index.cjs +779 -1
  140. package/dist/index.d.ts +2 -3
  141. package/dist/index.d.ts.map +1 -1
  142. package/dist/index.js +119 -118
  143. package/dist/layout/Box.cjs +180 -1
  144. package/dist/layout/Box.d.ts +6 -8
  145. package/dist/layout/Box.d.ts.map +1 -1
  146. package/dist/layout/Box.js +116 -50
  147. package/dist/layout/Center.cjs +40 -1
  148. package/dist/layout/Center.d.ts +3 -3
  149. package/dist/layout/Center.d.ts.map +1 -1
  150. package/dist/layout/Center.js +39 -21
  151. package/dist/layout/Container.cjs +92 -1
  152. package/dist/layout/Container.d.ts +6 -8
  153. package/dist/layout/Container.d.ts.map +1 -1
  154. package/dist/layout/Container.js +46 -31
  155. package/dist/layout/Stack.cjs +199 -1
  156. package/dist/layout/Stack.d.ts +9 -9
  157. package/dist/layout/Stack.d.ts.map +1 -1
  158. package/dist/layout/Stack.js +186 -79
  159. package/dist/layout/index.d.ts +1 -1
  160. package/dist/layout/index.js +9 -9
  161. package/dist/lazyLoad.cjs +13 -1
  162. package/dist/lazyLoad.d.ts.map +1 -1
  163. package/dist/lazyLoad.js +9 -9
  164. package/dist/node_modules/.pnpm/@floating-ui_core@1.8.0/node_modules/@floating-ui/core/dist/floating-ui.core.cjs +551 -1
  165. package/dist/node_modules/.pnpm/@floating-ui_core@1.8.0/node_modules/@floating-ui/core/dist/floating-ui.core.js +440 -234
  166. package/dist/node_modules/.pnpm/@floating-ui_dom@1.8.0/node_modules/@floating-ui/dom/dist/floating-ui.dom.cjs +546 -1
  167. package/dist/node_modules/.pnpm/@floating-ui_dom@1.8.0/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +452 -236
  168. 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 +330 -1
  169. 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 +272 -164
  170. package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.cjs +150 -1
  171. package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.cjs +132 -1
  172. package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +90 -74
  173. package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +92 -67
  174. package/dist/node_modules/.pnpm/@radix-ui_number@1.1.3/node_modules/@radix-ui/number/dist/index.cjs +11 -1
  175. package/dist/node_modules/.pnpm/@radix-ui_number@1.1.3/node_modules/@radix-ui/number/dist/index.js +8 -7
  176. package/dist/node_modules/.pnpm/@radix-ui_primitive@1.1.7/node_modules/@radix-ui/primitive/dist/index.cjs +48 -1
  177. package/dist/node_modules/.pnpm/@radix-ui_primitive@1.1.7/node_modules/@radix-ui/primitive/dist/index.js +34 -31
  178. 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 +145 -1
  179. 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 +111 -73
  180. 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 +38 -1
  181. 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 +19 -16
  182. 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 +126 -1
  183. 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 +103 -72
  184. 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 +134 -1
  185. 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 +113 -79
  186. 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 +541 -1
  187. 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 +459 -331
  188. 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 +39 -1
  189. 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.js +26 -22
  190. 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 +304 -1
  191. 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 +234 -160
  192. 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 +108 -1
  193. 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 +82 -67
  194. 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 +19 -1
  195. 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 +12 -10
  196. 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 +275 -1
  197. 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 +228 -127
  198. 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 +53 -1
  199. 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.js +40 -22
  200. 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 +215 -1
  201. 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 +171 -117
  202. 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 +219 -1
  203. 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 +178 -118
  204. 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 +22 -1
  205. 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 +17 -13
  206. 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 +802 -1
  207. 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 +648 -422
  208. 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 +410 -1
  209. 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 +313 -212
  210. 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 +741 -1
  211. 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 +602 -417
  212. 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 +246 -1
  213. 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 +195 -121
  214. 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 +27 -1
  215. 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 -17
  216. 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 +148 -1
  217. 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 +115 -67
  218. 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 +55 -1
  219. 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 +27 -21
  220. 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 +223 -1
  221. 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 +179 -131
  222. 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 +576 -1
  223. 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 +437 -308
  224. 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 +202 -1
  225. 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 +160 -125
  226. 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 +159 -1
  227. 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 +125 -93
  228. 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 +158 -1
  229. 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 +128 -98
  230. 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 +39 -1
  231. 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 +29 -24
  232. 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 +19 -1
  233. 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.js +13 -11
  234. 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 +109 -1
  235. 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 +91 -68
  236. 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 +28 -1
  237. 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 +22 -17
  238. 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 +33 -1
  239. 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.js +25 -19
  240. 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 +7 -1
  241. 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.js +3 -3
  242. 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 +25 -1
  243. 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.js +18 -11
  244. 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 +47 -1
  245. 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 +38 -28
  246. 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 +38 -1
  247. 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 +19 -15
  248. package/dist/node_modules/.pnpm/aria-hidden@1.2.6/node_modules/aria-hidden/dist/es2015/index.cjs +106 -1
  249. package/dist/node_modules/.pnpm/aria-hidden@1.2.6/node_modules/aria-hidden/dist/es2015/index.js +95 -34
  250. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/addLeadingZeros.cjs +5 -1
  251. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/addLeadingZeros.js +3 -3
  252. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/defaultOptions.cjs +6 -1
  253. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/defaultOptions.js +4 -4
  254. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/format/formatters.cjs +423 -1
  255. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/format/formatters.js +237 -202
  256. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/format/lightFormatters.cjs +45 -1
  257. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/format/lightFormatters.js +35 -32
  258. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/format/longFormatters.cjs +42 -1
  259. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/format/longFormatters.js +37 -32
  260. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.cjs +20 -1
  261. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js +18 -5
  262. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/normalizeDates.cjs +7 -1
  263. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/normalizeDates.js +5 -5
  264. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/protectedTokens.cjs +27 -1
  265. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/protectedTokens.js +15 -12
  266. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/constants.cjs +45 -1
  267. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/constants.js +41 -4
  268. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/constructFrom.cjs +45 -1
  269. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/constructFrom.js +42 -4
  270. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/differenceInCalendarDays.cjs +49 -1
  271. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/differenceInCalendarDays.js +46 -8
  272. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/format.cjs +358 -1
  273. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/format.js +341 -45
  274. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getDayOfYear.cjs +31 -1
  275. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getDayOfYear.js +28 -7
  276. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getISOWeek.cjs +35 -1
  277. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getISOWeek.js +32 -8
  278. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getISOWeekYear.cjs +44 -1
  279. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getISOWeekYear.js +41 -11
  280. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getWeek.cjs +49 -1
  281. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getWeek.js +46 -8
  282. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getWeekYear.cjs +61 -1
  283. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getWeekYear.js +58 -12
  284. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/isDate.cjs +38 -1
  285. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/isDate.js +35 -3
  286. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/isValid.cjs +39 -1
  287. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/isValid.js +36 -5
  288. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildFormatLongFn.cjs +8 -1
  289. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildFormatLongFn.js +5 -5
  290. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildLocalizeFn.cjs +50 -1
  291. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildLocalizeFn.js +45 -11
  292. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildMatchFn.cjs +27 -1
  293. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildMatchFn.js +20 -14
  294. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildMatchPatternFn.cjs +18 -1
  295. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +13 -12
  296. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatDistance.cjs +77 -1
  297. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatDistance.js +14 -5
  298. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatLong.cjs +31 -1
  299. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatLong.js +6 -6
  300. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatRelative.cjs +11 -1
  301. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatRelative.js +4 -3
  302. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/localize.cjs +210 -1
  303. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/localize.js +197 -188
  304. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/match.cjs +122 -1
  305. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/match.js +12 -12
  306. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US.cjs +28 -1
  307. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US.js +20 -12
  308. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfDay.cjs +34 -1
  309. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfDay.js +31 -5
  310. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfISOWeek.cjs +37 -1
  311. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfISOWeek.js +32 -5
  312. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfISOWeekYear.cjs +41 -1
  313. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfISOWeekYear.js +38 -7
  314. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfWeek.cjs +45 -1
  315. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfWeek.js +42 -6
  316. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfWeekYear.cjs +56 -1
  317. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfWeekYear.js +53 -8
  318. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfYear.cjs +35 -1
  319. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfYear.js +32 -5
  320. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/toDate.cjs +45 -1
  321. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/toDate.js +42 -4
  322. 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 +34 -1
  323. 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 +32 -21
  324. package/dist/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 +39 -1
  325. package/dist/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 +27 -20
  326. package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/embla-carousel.esm.cjs +1391 -1
  327. package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/embla-carousel.esm.js +1178 -803
  328. package/dist/node_modules/.pnpm/get-nonce@1.0.1/node_modules/get-nonce/dist/es2015/index.cjs +7 -1
  329. package/dist/node_modules/.pnpm/get-nonce@1.0.1/node_modules/get-nonce/dist/es2015/index.js +3 -4
  330. 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 +369 -2
  331. 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.js +282 -238
  332. package/dist/node_modules/.pnpm/react-hook-form@7.83.0_react@19.3.1/node_modules/react-hook-form/dist/index.esm.cjs +625 -1
  333. package/dist/node_modules/.pnpm/react-hook-form@7.83.0_react@19.3.1/node_modules/react-hook-form/dist/index.esm.js +545 -276
  334. 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 +1033 -9
  335. 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.js +898 -460
  336. 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 +47 -38
  337. 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 +38 -64
  338. 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/constants.cjs +13 -1
  339. 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/constants.js +9 -2
  340. 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 +4 -1
  341. 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/utils.cjs +36 -1
  342. 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/utils.js +25 -16
  343. 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 +15 -1
  344. 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 +10 -10
  345. 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 +167 -4
  346. 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 +144 -93
  347. 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 +63 -1
  348. 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 +45 -35
  349. 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/aggresiveCapture.cjs +14 -1
  350. 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/aggresiveCapture.js +11 -9
  351. 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/handleScroll.cjs +84 -1
  352. 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/handleScroll.js +75 -43
  353. 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 +3 -1
  354. 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 +3 -3
  355. 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 +6 -1
  356. 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 +5 -5
  357. 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 +1617 -1
  358. 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.js +1332 -874
  359. 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 +18 -1
  360. 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 +15 -7
  361. 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 +26 -1
  362. 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 +20 -10
  363. 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 +4 -1
  364. 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 +40 -1
  365. 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 +29 -16
  366. package/dist/node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.cjs +36 -1
  367. package/dist/node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.js +25 -14
  368. 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/assignRef.cjs +20 -1
  369. 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/assignRef.js +18 -3
  370. 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 +46 -1
  371. 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 +38 -19
  372. 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/useRef.cjs +39 -1
  373. 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/useRef.js +29 -11
  374. 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 +18 -1
  375. 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 +13 -12
  376. 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 +81 -1
  377. 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 +58 -45
  378. 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 +1252 -3
  379. 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.js +1003 -648
  380. package/dist/theme/index.cjs +63 -1
  381. package/dist/theme/index.js +31 -31
  382. package/dist/theme/spacing.cjs +93 -1
  383. package/dist/theme/spacing.js +52 -26
  384. package/dist/theme/tokens.stylex.cjs +210 -1
  385. package/dist/theme/tokens.stylex.js +58 -26
  386. package/dist/theme/types.cjs +13 -1
  387. package/dist/theme/types.js +4 -3
  388. package/dist/theme/width.cjs +39 -1
  389. package/dist/theme/width.js +16 -4
  390. package/dist/theme/zIndex.cjs +62 -1
  391. package/dist/theme/zIndex.d.ts +4 -4
  392. package/dist/theme/zIndex.d.ts.map +1 -1
  393. package/dist/theme/zIndex.js +44 -15
  394. package/dist/theme.css +167 -9
  395. package/dist/ui/accordion.cjs +431 -1
  396. package/dist/ui/accordion.d.ts +10 -10
  397. package/dist/ui/accordion.d.ts.map +1 -1
  398. package/dist/ui/accordion.js +276 -136
  399. package/dist/ui/action-bar.cjs +274 -1
  400. package/dist/ui/action-bar.d.ts +11 -11
  401. package/dist/ui/action-bar.d.ts.map +1 -1
  402. package/dist/ui/action-bar.js +204 -98
  403. package/dist/ui/alert-dialog.cjs +538 -1
  404. package/dist/ui/alert-dialog.d.ts +19 -19
  405. package/dist/ui/alert-dialog.d.ts.map +1 -1
  406. package/dist/ui/alert-dialog.js +459 -167
  407. package/dist/ui/alert.cjs +163 -1
  408. package/dist/ui/alert.d.ts +7 -7
  409. package/dist/ui/alert.d.ts.map +1 -1
  410. package/dist/ui/alert.js +111 -50
  411. package/dist/ui/aspect-ratio.cjs +24 -1
  412. package/dist/ui/aspect-ratio.d.ts +2 -2
  413. package/dist/ui/aspect-ratio.d.ts.map +1 -1
  414. package/dist/ui/aspect-ratio.js +22 -13
  415. package/dist/ui/avatar.cjs +340 -1
  416. package/dist/ui/avatar.d.ts +10 -10
  417. package/dist/ui/avatar.d.ts.map +1 -1
  418. package/dist/ui/avatar.js +226 -115
  419. package/dist/ui/badge-overflow.cjs +66 -1
  420. package/dist/ui/badge-overflow.d.ts +5 -5
  421. package/dist/ui/badge-overflow.d.ts.map +1 -1
  422. package/dist/ui/badge-overflow.js +34 -27
  423. package/dist/ui/badge.cjs +167 -1
  424. package/dist/ui/badge.d.ts +3 -3
  425. package/dist/ui/badge.d.ts.map +1 -1
  426. package/dist/ui/badge.js +48 -42
  427. package/dist/ui/breadcrumb.cjs +508 -1
  428. package/dist/ui/breadcrumb.d.ts +15 -15
  429. package/dist/ui/breadcrumb.d.ts.map +1 -1
  430. package/dist/ui/breadcrumb.js +386 -159
  431. package/dist/ui/button.cjs +425 -1
  432. package/dist/ui/button.d.ts +3 -3
  433. package/dist/ui/button.d.ts.map +1 -1
  434. package/dist/ui/button.js +137 -117
  435. package/dist/ui/calendar.cjs +625 -1
  436. package/dist/ui/calendar.d.ts +5 -5
  437. package/dist/ui/calendar.d.ts.map +1 -1
  438. package/dist/ui/calendar.js +309 -193
  439. package/dist/ui/card.cjs +401 -1
  440. package/dist/ui/card.d.ts +15 -15
  441. package/dist/ui/card.d.ts.map +1 -1
  442. package/dist/ui/card.js +300 -119
  443. package/dist/ui/carousel.cjs +332 -1
  444. package/dist/ui/carousel.d.ts +10 -10
  445. package/dist/ui/carousel.d.ts.map +1 -1
  446. package/dist/ui/carousel.js +245 -127
  447. package/dist/ui/checkbox.cjs +163 -1
  448. package/dist/ui/checkbox.d.ts +4 -4
  449. package/dist/ui/checkbox.d.ts.map +1 -1
  450. package/dist/ui/checkbox.js +62 -58
  451. package/dist/ui/circular-progress.cjs +144 -1
  452. package/dist/ui/circular-progress.d.ts +5 -5
  453. package/dist/ui/circular-progress.d.ts.map +1 -1
  454. package/dist/ui/circular-progress.js +85 -67
  455. package/dist/ui/code-block.cjs +823 -0
  456. package/dist/ui/code-block.d.ts +89 -0
  457. package/dist/ui/code-block.d.ts.map +1 -0
  458. package/dist/ui/code-block.js +813 -0
  459. package/dist/ui/collapsible.cjs +64 -1
  460. package/dist/ui/collapsible.d.ts +4 -4
  461. package/dist/ui/collapsible.d.ts.map +1 -1
  462. package/dist/ui/collapsible.js +58 -29
  463. package/dist/ui/command.cjs +556 -1
  464. package/dist/ui/command.d.ts +19 -19
  465. package/dist/ui/command.d.ts.map +1 -1
  466. package/dist/ui/command.js +432 -163
  467. package/dist/ui/compare-slider.cjs +169 -1
  468. package/dist/ui/compare-slider.d.ts +8 -7
  469. package/dist/ui/compare-slider.d.ts.map +1 -1
  470. package/dist/ui/compare-slider.js +106 -73
  471. package/dist/ui/context-menu.cjs +810 -1
  472. package/dist/ui/context-menu.d.ts +26 -26
  473. package/dist/ui/context-menu.d.ts.map +1 -1
  474. package/dist/ui/context-menu.js +693 -229
  475. package/dist/ui/copy-button.cjs +93 -1
  476. package/dist/ui/copy-button.d.ts +1 -2
  477. package/dist/ui/copy-button.d.ts.map +1 -1
  478. package/dist/ui/copy-button.js +56 -45
  479. package/dist/ui/dialog.cjs +411 -1
  480. package/dist/ui/dialog.d.ts +18 -18
  481. package/dist/ui/dialog.d.ts.map +1 -1
  482. package/dist/ui/dialog.js +319 -131
  483. package/dist/ui/drawer.cjs +478 -1
  484. package/dist/ui/drawer.d.ts +17 -17
  485. package/dist/ui/drawer.d.ts.map +1 -1
  486. package/dist/ui/drawer.js +396 -151
  487. package/dist/ui/dropdown-menu.cjs +638 -1
  488. package/dist/ui/dropdown-menu.d.ts +26 -26
  489. package/dist/ui/dropdown-menu.d.ts.map +1 -1
  490. package/dist/ui/dropdown-menu.js +511 -208
  491. package/dist/ui/editable.cjs +609 -1
  492. package/dist/ui/editable.d.ts +14 -14
  493. package/dist/ui/editable.d.ts.map +1 -1
  494. package/dist/ui/editable.js +479 -218
  495. package/dist/ui/empty.cjs +295 -1
  496. package/dist/ui/empty.d.ts +15 -15
  497. package/dist/ui/empty.d.ts.map +1 -1
  498. package/dist/ui/empty.js +267 -112
  499. package/dist/ui/field.cjs +621 -1
  500. package/dist/ui/field.d.ts +21 -21
  501. package/dist/ui/field.d.ts.map +1 -1
  502. package/dist/ui/field.js +468 -198
  503. package/dist/ui/file-upload-adapters.cjs +289 -1
  504. package/dist/ui/file-upload-adapters.d.ts +1 -2
  505. package/dist/ui/file-upload-adapters.d.ts.map +1 -1
  506. package/dist/ui/file-upload-adapters.js +244 -170
  507. package/dist/ui/file-upload.cjs +1480 -1
  508. package/dist/ui/file-upload.d.ts +22 -22
  509. package/dist/ui/file-upload.d.ts.map +1 -1
  510. package/dist/ui/file-upload.js +1064 -599
  511. package/dist/ui/flex.cjs +202 -1
  512. package/dist/ui/flex.d.ts +7 -6
  513. package/dist/ui/flex.d.ts.map +1 -1
  514. package/dist/ui/flex.js +111 -93
  515. package/dist/ui/form.cjs +453 -1
  516. package/dist/ui/form.d.ts +11 -11
  517. package/dist/ui/form.d.ts.map +1 -1
  518. package/dist/ui/form.js +421 -136
  519. package/dist/ui/gauge.cjs +125 -1
  520. package/dist/ui/gauge.d.ts +7 -6
  521. package/dist/ui/gauge.d.ts.map +1 -1
  522. package/dist/ui/gauge.js +60 -53
  523. package/dist/ui/grid.cjs +224 -1
  524. package/dist/ui/grid.d.ts +11 -7
  525. package/dist/ui/grid.d.ts.map +1 -1
  526. package/dist/ui/grid.js +126 -96
  527. package/dist/ui/hover-card.cjs +85 -1
  528. package/dist/ui/hover-card.d.ts +6 -6
  529. package/dist/ui/hover-card.d.ts.map +1 -1
  530. package/dist/ui/hover-card.js +57 -37
  531. package/dist/ui/index.d.ts +4 -0
  532. package/dist/ui/index.d.ts.map +1 -1
  533. package/dist/ui/input-group.cjs +322 -1
  534. package/dist/ui/input-group.d.ts +12 -12
  535. package/dist/ui/input-group.d.ts.map +1 -1
  536. package/dist/ui/input-group.js +203 -107
  537. package/dist/ui/input-otp.cjs +312 -1
  538. package/dist/ui/input-otp.d.ts +10 -10
  539. package/dist/ui/input-otp.d.ts.map +1 -1
  540. package/dist/ui/input-otp.js +217 -94
  541. package/dist/ui/input.cjs +388 -1
  542. package/dist/ui/input.d.ts +3 -3
  543. package/dist/ui/input.d.ts.map +1 -1
  544. package/dist/ui/input.js +137 -119
  545. package/dist/ui/item.cjs +585 -1
  546. package/dist/ui/item.d.ts +20 -20
  547. package/dist/ui/item.d.ts.map +1 -1
  548. package/dist/ui/item.js +460 -162
  549. package/dist/ui/kbd.cjs +115 -1
  550. package/dist/ui/kbd.d.ts +5 -5
  551. package/dist/ui/kbd.d.ts.map +1 -1
  552. package/dist/ui/kbd.js +42 -37
  553. package/dist/ui/label.cjs +67 -1
  554. package/dist/ui/label.d.ts +4 -4
  555. package/dist/ui/label.d.ts.map +1 -1
  556. package/dist/ui/label.js +51 -21
  557. package/dist/ui/marker.cjs +297 -0
  558. package/dist/ui/marker.d.ts +25 -0
  559. package/dist/ui/marker.d.ts.map +1 -0
  560. package/dist/ui/marker.js +293 -0
  561. package/dist/ui/masonry.cjs +56 -1
  562. package/dist/ui/masonry.d.ts +4 -4
  563. package/dist/ui/masonry.d.ts.map +1 -1
  564. package/dist/ui/masonry.js +40 -37
  565. package/dist/ui/menubar.cjs +907 -1
  566. package/dist/ui/menubar.d.ts +29 -29
  567. package/dist/ui/menubar.d.ts.map +1 -1
  568. package/dist/ui/menubar.js +737 -252
  569. package/dist/ui/navigation-menu.cjs +560 -1
  570. package/dist/ui/navigation-menu.d.ts +18 -18
  571. package/dist/ui/navigation-menu.d.ts.map +1 -1
  572. package/dist/ui/navigation-menu.js +442 -148
  573. package/dist/ui/pagination.cjs +575 -1
  574. package/dist/ui/pagination.d.ts +13 -13
  575. package/dist/ui/pagination.d.ts.map +1 -1
  576. package/dist/ui/pagination.js +422 -172
  577. package/dist/ui/popover.cjs +93 -1
  578. package/dist/ui/popover.d.ts +7 -7
  579. package/dist/ui/popover.d.ts.map +1 -1
  580. package/dist/ui/popover.js +61 -42
  581. package/dist/ui/progress.cjs +34 -1
  582. package/dist/ui/progress.d.ts +3 -3
  583. package/dist/ui/progress.d.ts.map +1 -1
  584. package/dist/ui/progress.js +21 -18
  585. package/dist/ui/questionnaire.cjs +682 -0
  586. package/dist/ui/questionnaire.d.ts +111 -0
  587. package/dist/ui/questionnaire.d.ts.map +1 -0
  588. package/dist/ui/questionnaire.js +670 -0
  589. package/dist/ui/radio-group.cjs +221 -1
  590. package/dist/ui/radio-group.d.ts +6 -6
  591. package/dist/ui/radio-group.d.ts.map +1 -1
  592. package/dist/ui/radio-group.js +125 -74
  593. package/dist/ui/rating.cjs +190 -1
  594. package/dist/ui/rating.d.ts +4 -3
  595. package/dist/ui/rating.d.ts.map +1 -1
  596. package/dist/ui/rating.js +96 -79
  597. package/dist/ui/resizable.cjs +174 -1
  598. package/dist/ui/resizable.d.ts +7 -7
  599. package/dist/ui/resizable.d.ts.map +1 -1
  600. package/dist/ui/resizable.js +150 -55
  601. package/dist/ui/responsive-dialog.cjs +400 -1
  602. package/dist/ui/responsive-dialog.d.ts +17 -17
  603. package/dist/ui/responsive-dialog.d.ts.map +1 -1
  604. package/dist/ui/responsive-dialog.js +372 -155
  605. package/dist/ui/row-col.cjs +508 -1
  606. package/dist/ui/row-col.d.ts +13 -11
  607. package/dist/ui/row-col.d.ts.map +1 -1
  608. package/dist/ui/row-col.js +238 -207
  609. package/dist/ui/scroll-area.cjs +129 -1
  610. package/dist/ui/scroll-area.d.ts +6 -6
  611. package/dist/ui/scroll-area.d.ts.map +1 -1
  612. package/dist/ui/scroll-area.js +92 -49
  613. package/dist/ui/segmented.cjs +169 -1
  614. package/dist/ui/segmented.d.ts +6 -5
  615. package/dist/ui/segmented.d.ts.map +1 -1
  616. package/dist/ui/segmented.js +75 -63
  617. package/dist/ui/select.cjs +484 -1
  618. package/dist/ui/select.d.ts +17 -17
  619. package/dist/ui/select.d.ts.map +1 -1
  620. package/dist/ui/select.js +353 -160
  621. package/dist/ui/separator.cjs +44 -1
  622. package/dist/ui/separator.d.ts +4 -4
  623. package/dist/ui/separator.d.ts.map +1 -1
  624. package/dist/ui/separator.js +17 -17
  625. package/dist/ui/sheet.cjs +462 -1
  626. package/dist/ui/sheet.d.ts +16 -16
  627. package/dist/ui/sheet.d.ts.map +1 -1
  628. package/dist/ui/sheet.js +331 -141
  629. package/dist/ui/sidebar.cjs +1452 -1
  630. package/dist/ui/sidebar.d.ts +48 -48
  631. package/dist/ui/sidebar.d.ts.map +1 -1
  632. package/dist/ui/sidebar.js +1057 -439
  633. package/dist/ui/signature-pad.cjs +741 -0
  634. package/dist/ui/signature-pad.d.ts +115 -0
  635. package/dist/ui/signature-pad.d.ts.map +1 -0
  636. package/dist/ui/signature-pad.js +731 -0
  637. package/dist/ui/skeleton.cjs +62 -1
  638. package/dist/ui/skeleton.d.ts +3 -3
  639. package/dist/ui/skeleton.d.ts.map +1 -1
  640. package/dist/ui/skeleton.js +50 -20
  641. package/dist/ui/slider.cjs +47 -1
  642. package/dist/ui/slider.d.ts +4 -4
  643. package/dist/ui/slider.d.ts.map +1 -1
  644. package/dist/ui/slider.js +27 -26
  645. package/dist/ui/sonner.cjs +28 -1
  646. package/dist/ui/sonner.js +24 -22
  647. package/dist/ui/spinner.cjs +73 -1
  648. package/dist/ui/spinner.d.ts +3 -3
  649. package/dist/ui/spinner.d.ts.map +1 -1
  650. package/dist/ui/spinner.js +29 -28
  651. package/dist/ui/stat.cjs +320 -1
  652. package/dist/ui/stat.d.ts +15 -15
  653. package/dist/ui/stat.d.ts.map +1 -1
  654. package/dist/ui/stat.js +275 -148
  655. package/dist/ui/stepper.cjs +785 -1
  656. package/dist/ui/stepper.d.ts +24 -24
  657. package/dist/ui/stepper.d.ts.map +1 -1
  658. package/dist/ui/stepper.js +594 -281
  659. package/dist/ui/switch.cjs +199 -1
  660. package/dist/ui/switch.d.ts +4 -4
  661. package/dist/ui/switch.d.ts.map +1 -1
  662. package/dist/ui/switch.js +79 -72
  663. package/dist/ui/table.cjs +435 -1
  664. package/dist/ui/table.d.ts +17 -17
  665. package/dist/ui/table.d.ts.map +1 -1
  666. package/dist/ui/table.js +369 -129
  667. package/dist/ui/tabs.cjs +340 -1
  668. package/dist/ui/tabs.d.ts +10 -10
  669. package/dist/ui/tabs.d.ts.map +1 -1
  670. package/dist/ui/tabs.js +204 -95
  671. package/dist/ui/tags-input.cjs +585 -1
  672. package/dist/ui/tags-input.d.ts +13 -13
  673. package/dist/ui/tags-input.d.ts.map +1 -1
  674. package/dist/ui/tags-input.js +446 -221
  675. package/dist/ui/textarea.cjs +119 -1
  676. package/dist/ui/textarea.d.ts +3 -3
  677. package/dist/ui/textarea.d.ts.map +1 -1
  678. package/dist/ui/textarea.js +37 -33
  679. package/dist/ui/timeline.cjs +583 -1
  680. package/dist/ui/timeline.d.ts +22 -22
  681. package/dist/ui/timeline.d.ts.map +1 -1
  682. package/dist/ui/timeline.js +409 -198
  683. package/dist/ui/toggle-group.cjs +128 -1
  684. package/dist/ui/toggle-group.d.ts +7 -7
  685. package/dist/ui/toggle-group.d.ts.map +1 -1
  686. package/dist/ui/toggle-group.js +92 -41
  687. package/dist/ui/toggle.cjs +145 -1
  688. package/dist/ui/toggle.d.ts +4 -4
  689. package/dist/ui/toggle.d.ts.map +1 -1
  690. package/dist/ui/toggle.js +38 -34
  691. package/dist/ui/tooltip.cjs +81 -1
  692. package/dist/ui/tooltip.d.ts +7 -7
  693. package/dist/ui/tooltip.d.ts.map +1 -1
  694. package/dist/ui/tooltip.js +50 -37
  695. package/dist/ui/useBreakpoint.cjs +91 -1
  696. package/dist/ui/useBreakpoint.js +66 -43
  697. package/dist/utils.cjs +4 -1
  698. package/dist/utils.d.ts +2 -12
  699. package/dist/utils.d.ts.map +1 -1
  700. package/dist/utils.js +3 -6
  701. package/package.json +10 -2
@@ -1,70 +1,70 @@
1
- import { Text as e } from "../Typography/Text.js";
2
- import { Button as t } from "./button.js";
3
- import * as n from "@stylexjs/stylex";
4
- import { jsx as r } from "react/jsx-runtime";
5
- import * as i from "react";
6
- import { c as a } from "react/compiler-runtime";
1
+ import { Text } from "../Typography/Text.js";
2
+ import { Button } from "./button.js";
3
+ import * as stylex from "@stylexjs/stylex";
4
+ import { jsx } from "react/jsx-runtime";
5
+ import { createContext, useCallback, useContext, useEffect, useMemo, useState } from "react";
6
+ import { c } from "react/compiler-runtime";
7
7
  // src/ui/stepper.tsx
8
- var o = i.createContext(null);
9
- function s(e) {
10
- let t = i.useContext(o);
11
- if (!t) throw Error(`${e} must be used within a Stepper`);
12
- return t;
8
+ var StepperContext = createContext(null);
9
+ function useStepperContext(component) {
10
+ const context = useContext(StepperContext);
11
+ if (!context) throw new Error(`${component} must be used within a Stepper`);
12
+ return context;
13
13
  }
14
- var c = i.createContext(null);
15
- function l(e) {
16
- let t = i.useContext(c);
17
- if (!t) throw Error(`${e} must be used within a StepperItem`);
18
- return t;
14
+ var StepperItemContext = createContext(null);
15
+ function useStepperItemContext(component) {
16
+ const context = useContext(StepperItemContext);
17
+ if (!context) throw new Error(`${component} must be used within a StepperItem`);
18
+ return context;
19
19
  }
20
- var u = {
20
+ var styles = {
21
21
  root: {
22
22
  k1xSpc: "x78zum5",
23
23
  kzqmXN: "xh8yej3",
24
- $$css: !0
24
+ $$css: true
25
25
  },
26
26
  rootVertical: {
27
27
  kXwgrk: "xdt5ytf",
28
28
  kOIVth: "x1b1hbqf",
29
- $$css: !0
29
+ $$css: true
30
30
  },
31
31
  rootHorizontal: {
32
32
  kXwgrk: "xdt5ytf",
33
33
  kOIVth: "x1oqwmkw",
34
- $$css: !0
34
+ $$css: true
35
35
  },
36
36
  list: {
37
37
  k1xSpc: "x78zum5",
38
38
  kzqmXN: "xh8yej3",
39
39
  kGNEyG: "x6s0dn4",
40
- $$css: !0
40
+ $$css: true
41
41
  },
42
42
  listHorizontal: {
43
43
  kXwgrk: "x1q0g3np",
44
- $$css: !0
44
+ $$css: true
45
45
  },
46
46
  listVertical: {
47
47
  kXwgrk: "xdt5ytf",
48
48
  kGNEyG: "x1qjc9v5",
49
49
  kOIVth: "xxhr3t",
50
- $$css: !0
50
+ $$css: true
51
51
  },
52
52
  item: {
53
53
  k1xSpc: "x78zum5",
54
54
  kGNEyG: "x6s0dn4",
55
55
  kVAEAm: "x1n2onr6",
56
- $$css: !0
56
+ $$css: true
57
57
  },
58
58
  itemHorizontal: {
59
59
  kUk6DE: "x98rzlu",
60
60
  kXwgrk: "x1q0g3np",
61
- $$css: !0
61
+ $$css: true
62
62
  },
63
63
  itemVertical: {
64
64
  kzqmXN: "xh8yej3",
65
65
  kXwgrk: "xdt5ytf",
66
66
  kGNEyG: "x1cy8zhl",
67
- $$css: !0
67
+ $$css: true
68
68
  },
69
69
  trigger: {
70
70
  k1xSpc: "x78zum5",
@@ -80,12 +80,12 @@ var u = {
80
80
  k1ekBW: "xnpjden",
81
81
  kIyJzY: "xx6bhzk",
82
82
  kEtg5x: "x13nj1q9",
83
- $$css: !0
83
+ $$css: true
84
84
  },
85
85
  triggerDisabled: {
86
86
  kkrTdU: "x1h6gzvc",
87
87
  kSiTet: "xbyyjgo",
88
- $$css: !0
88
+ $$css: true
89
89
  },
90
90
  indicator: {
91
91
  k1xSpc: "x78zum5",
@@ -101,43 +101,43 @@ var u = {
101
101
  ksu8eU: "x1y0btm7",
102
102
  k1ekBW: "x1eaenvl",
103
103
  kIyJzY: "xx6bhzk",
104
- $$css: !0
104
+ $$css: true
105
105
  },
106
106
  indicatorInactive: {
107
107
  kWkggS: "x1mlyrtw",
108
108
  kVAM5u: "xb30jbz",
109
109
  kMwMTN: "xw3nh4a",
110
- $$css: !0
110
+ $$css: true
111
111
  },
112
112
  indicatorActive: {
113
113
  kWkggS: "x1mlyrtw",
114
114
  kVAM5u: "x1khvrlk",
115
115
  kMwMTN: "x6gpbkk",
116
116
  kGVxlE: "xf0oo4t",
117
- $$css: !0
117
+ $$css: true
118
118
  },
119
119
  indicatorCompleted: {
120
120
  kWkggS: "x1j7ufkg",
121
121
  kVAM5u: "x1khvrlk",
122
122
  kMwMTN: "xstwp1q",
123
- $$css: !0
123
+ $$css: true
124
124
  },
125
125
  separator: {
126
126
  kWkggS: "xwefxjc",
127
127
  k1ekBW: "x15406qy",
128
128
  kIyJzY: "xx6bhzk",
129
- $$css: !0
129
+ $$css: true
130
130
  },
131
131
  separatorCompleted: {
132
132
  kWkggS: "x1j7ufkg",
133
- $$css: !0
133
+ $$css: true
134
134
  },
135
135
  separatorHorizontal: {
136
136
  kUk6DE: "x98rzlu",
137
137
  kZKoxP: "x36qwtl",
138
138
  kUOVxO: "xaex8be",
139
139
  k7Eaqz: "xgomdpo",
140
- $$css: !0
140
+ $$css: true
141
141
  },
142
142
  separatorVertical: {
143
143
  kzqmXN: "xfo62xy",
@@ -145,19 +145,19 @@ var u = {
145
145
  kZKoxP: "x5yr21d",
146
146
  koQZXg: "xpek4lm",
147
147
  kqGvvJ: "x10im51j",
148
- $$css: !0
148
+ $$css: true
149
149
  },
150
150
  content: {
151
151
  kzqmXN: "xh8yej3",
152
152
  k8WAf4: "xuv7m44",
153
- $$css: !0
153
+ $$css: true
154
154
  },
155
155
  textWrapper: {
156
156
  k1xSpc: "x78zum5",
157
157
  kXwgrk: "xdt5ytf",
158
158
  kGNEyG: "x1cy8zhl",
159
159
  kOIVth: "x195vfkc",
160
- $$css: !0
160
+ $$css: true
161
161
  },
162
162
  title: {
163
163
  k1xSpc: "x1lliihq",
@@ -165,11 +165,11 @@ var u = {
165
165
  k63SB2: "x1s688f",
166
166
  kLWn49: "x132q4wb",
167
167
  kMwMTN: "x84br7x",
168
- $$css: !0
168
+ $$css: true
169
169
  },
170
170
  titleInactive: {
171
171
  kMwMTN: "xw3nh4a",
172
- $$css: !0
172
+ $$css: true
173
173
  },
174
174
  description: {
175
175
  k1xSpc: "x1lliihq",
@@ -177,283 +177,596 @@ var u = {
177
177
  kLWn49: "x132q4wb",
178
178
  keoZOQ: "xr9ek0c",
179
179
  kMwMTN: "xw3nh4a",
180
- $$css: !0
180
+ $$css: true
181
181
  }
182
182
  };
183
- function d({ className: e, value: t, defaultValue: a = "", onValueChange: s, orientation: c = "horizontal", linear: l = !0, onValidateStep: d, sx: f, children: p, ...m }) {
184
- let [h, g] = i.useState(a), [_, v] = i.useState([]), y = t === void 0 ? h : t, b = i.useCallback((e) => {
185
- v((t) => t.includes(e) ? t : [...t, e]);
186
- }, []), x = i.useCallback((e) => {
187
- v((t) => t.filter((t) => t !== e));
188
- }, []), S = i.useCallback(async (e) => e === y ? !0 : d && !await d(y, e) ? !1 : (t === void 0 && g(e), s?.(e), !0), [
189
- y,
190
- t,
191
- d,
192
- s
183
+ function Stepper({ className, value: controlledValue, defaultValue = "", onValueChange, orientation = "horizontal", linear = true, onValidateStep, sx, children, ...props }) {
184
+ const [internalValue, setInternalValue] = useState(defaultValue);
185
+ const [stepKeys, setStepKeys] = useState([]);
186
+ const currentValue = controlledValue !== void 0 ? controlledValue : internalValue;
187
+ const registerStep = useCallback((key) => {
188
+ setStepKeys((prev) => prev.includes(key) ? prev : [...prev, key]);
189
+ }, []);
190
+ const unregisterStep = useCallback((key_0) => {
191
+ setStepKeys((prev_0) => prev_0.filter((k) => k !== key_0));
192
+ }, []);
193
+ const setValue = useCallback(async (nextValue) => {
194
+ if (nextValue === currentValue) return true;
195
+ if (onValidateStep) {
196
+ if (!await onValidateStep(currentValue, nextValue)) return false;
197
+ }
198
+ if (controlledValue === void 0) setInternalValue(nextValue);
199
+ onValueChange?.(nextValue);
200
+ return true;
201
+ }, [
202
+ currentValue,
203
+ controlledValue,
204
+ onValidateStep,
205
+ onValueChange
193
206
  ]);
194
- i.useEffect(() => {
195
- !y && _.length > 0 && _[0] && S(_[0]);
207
+ useEffect(() => {
208
+ if (!currentValue && stepKeys.length > 0 && stepKeys[0]) setValue(stepKeys[0]);
196
209
  }, [
197
- y,
198
- _,
199
- S
210
+ currentValue,
211
+ stepKeys,
212
+ setValue
200
213
  ]);
201
- let C = i.useMemo(() => ({
202
- value: y,
203
- setValue: S,
204
- orientation: c,
205
- linear: l,
206
- stepKeys: _,
207
- registerStep: b,
208
- unregisterStep: x
214
+ const contextValue = useMemo(() => ({
215
+ value: currentValue,
216
+ setValue,
217
+ orientation,
218
+ linear,
219
+ stepKeys,
220
+ registerStep,
221
+ unregisterStep
209
222
  }), [
210
- y,
211
- S,
212
- c,
213
- l,
214
- _,
215
- b,
216
- x
217
- ]), w = c === "vertical" ? u.rootVertical : u.rootHorizontal, T = n.props(u.root, w, f);
218
- return /* @__PURE__ */ r(o.Provider, {
219
- value: C,
220
- children: /* @__PURE__ */ r("div", {
223
+ currentValue,
224
+ setValue,
225
+ orientation,
226
+ linear,
227
+ stepKeys,
228
+ registerStep,
229
+ unregisterStep
230
+ ]);
231
+ const orientationStyle = orientation === "vertical" ? styles.rootVertical : styles.rootHorizontal;
232
+ const sxProps = stylex.props(styles.root, orientationStyle, sx);
233
+ return /* @__PURE__ */ jsx(StepperContext.Provider, {
234
+ value: contextValue,
235
+ children: /* @__PURE__ */ jsx("div", {
221
236
  "data-slot": "stepper",
222
- "data-orientation": c,
223
- ...T,
224
- className: e ? `${T.className || ""} ${e}`.trim() : T.className,
225
- ...m,
226
- children: p
237
+ "data-orientation": orientation,
238
+ ...sxProps,
239
+ className: className ? `${sxProps.className || ""} ${className}`.trim() : sxProps.className,
240
+ ...props,
241
+ children
227
242
  })
228
243
  });
229
244
  }
230
- function f(e) {
231
- let t = a(17), i, o, c, l;
232
- t[0] === e ? (i = t[1], o = t[2], c = t[3], l = t[4]) : ({className: o, sx: l, children: i, ...c} = e, t[0] = e, t[1] = i, t[2] = o, t[3] = c, t[4] = l);
233
- let { orientation: d } = s("StepperList"), f = d === "vertical" ? u.listVertical : u.listHorizontal, p;
234
- t[5] !== f || t[6] !== l ? (p = n.props(u.list, f, l), t[5] = f, t[6] = l, t[7] = p) : p = t[7];
235
- let m = p, h;
236
- t[8] !== o || t[9] !== m.className ? (h = o ? `${m.className || ""} ${o}`.trim() : m.className, t[8] = o, t[9] = m.className, t[10] = h) : h = t[10];
237
- let g;
238
- return t[11] !== i || t[12] !== d || t[13] !== c || t[14] !== m || t[15] !== h ? (g = /* @__PURE__ */ r("div", {
239
- role: "tablist",
240
- "aria-orientation": d,
241
- "data-slot": "stepper-list",
242
- ...m,
243
- className: h,
244
- ...c,
245
- children: i
246
- }), t[11] = i, t[12] = d, t[13] = c, t[14] = m, t[15] = h, t[16] = g) : g = t[16], g;
245
+ function StepperList(t0) {
246
+ const $ = c(17);
247
+ let children;
248
+ let className;
249
+ let props;
250
+ let sx;
251
+ if ($[0] !== t0) {
252
+ ({className, sx, children, ...props} = t0);
253
+ $[0] = t0;
254
+ $[1] = children;
255
+ $[2] = className;
256
+ $[3] = props;
257
+ $[4] = sx;
258
+ } else {
259
+ children = $[1];
260
+ className = $[2];
261
+ props = $[3];
262
+ sx = $[4];
263
+ }
264
+ const { orientation } = useStepperContext("StepperList");
265
+ const orientationStyle = orientation === "vertical" ? styles.listVertical : styles.listHorizontal;
266
+ let t1;
267
+ if ($[5] !== orientationStyle || $[6] !== sx) {
268
+ t1 = stylex.props(styles.list, orientationStyle, sx);
269
+ $[5] = orientationStyle;
270
+ $[6] = sx;
271
+ $[7] = t1;
272
+ } else t1 = $[7];
273
+ const sxProps = t1;
274
+ let t2;
275
+ if ($[8] !== className || $[9] !== sxProps.className) {
276
+ t2 = className ? `${sxProps.className || ""} ${className}`.trim() : sxProps.className;
277
+ $[8] = className;
278
+ $[9] = sxProps.className;
279
+ $[10] = t2;
280
+ } else t2 = $[10];
281
+ let t3;
282
+ if ($[11] !== children || $[12] !== orientation || $[13] !== props || $[14] !== sxProps || $[15] !== t2) {
283
+ t3 = /* @__PURE__ */ jsx("div", {
284
+ role: "tablist",
285
+ "aria-orientation": orientation,
286
+ "data-slot": "stepper-list",
287
+ ...sxProps,
288
+ className: t2,
289
+ ...props,
290
+ children
291
+ });
292
+ $[11] = children;
293
+ $[12] = orientation;
294
+ $[13] = props;
295
+ $[14] = sxProps;
296
+ $[15] = t2;
297
+ $[16] = t3;
298
+ } else t3 = $[16];
299
+ return t3;
247
300
  }
248
- function p({ className: e, value: t, completed: a, disabled: o = !1, sx: l, children: d, ...f }) {
249
- let { value: p, stepKeys: m, registerStep: h, unregisterStep: g, linear: _, orientation: v } = s("StepperItem");
250
- i.useEffect(() => (h(t), () => g(t)), [
251
- t,
252
- h,
253
- g
301
+ function StepperItem({ className, value: itemValue, completed: completedProp, disabled: disabledProp = false, sx, children, ...props }) {
302
+ const { value, stepKeys, registerStep, unregisterStep, linear, orientation } = useStepperContext("StepperItem");
303
+ useEffect(() => {
304
+ registerStep(itemValue);
305
+ return () => unregisterStep(itemValue);
306
+ }, [
307
+ itemValue,
308
+ registerStep,
309
+ unregisterStep
254
310
  ]);
255
- let y = m.indexOf(t), b = m.indexOf(p), x = i.useMemo(() => a ? "completed" : t === p ? "active" : b > y && b !== -1 ? "completed" : "inactive", [
256
- a,
257
- t,
258
- p,
259
- b,
260
- y
261
- ]), S = o || _ && x === "inactive" && y > b + 1, C = i.useMemo(() => ({
262
- value: t,
263
- stepIndex: y,
264
- status: x,
265
- disabled: S
311
+ const stepIndex = stepKeys.indexOf(itemValue);
312
+ const activeIndex = stepKeys.indexOf(value);
313
+ const status = useMemo(() => {
314
+ if (completedProp) return "completed";
315
+ if (itemValue === value) return "active";
316
+ if (activeIndex > stepIndex && activeIndex !== -1) return "completed";
317
+ return "inactive";
318
+ }, [
319
+ completedProp,
320
+ itemValue,
321
+ value,
322
+ activeIndex,
323
+ stepIndex
324
+ ]);
325
+ const disabled = disabledProp || linear && status === "inactive" && stepIndex > activeIndex + 1;
326
+ const itemContextValue = useMemo(() => ({
327
+ value: itemValue,
328
+ stepIndex,
329
+ status,
330
+ disabled
266
331
  }), [
267
- t,
268
- y,
269
- x,
270
- S
271
- ]), w = v === "vertical" ? u.itemVertical : u.itemHorizontal, T = n.props(u.item, w, l);
272
- return /* @__PURE__ */ r(c.Provider, {
273
- value: C,
274
- children: /* @__PURE__ */ r("div", {
332
+ itemValue,
333
+ stepIndex,
334
+ status,
335
+ disabled
336
+ ]);
337
+ const itemOrientationStyle = orientation === "vertical" ? styles.itemVertical : styles.itemHorizontal;
338
+ const sxProps = stylex.props(styles.item, itemOrientationStyle, sx);
339
+ return /* @__PURE__ */ jsx(StepperItemContext.Provider, {
340
+ value: itemContextValue,
341
+ children: /* @__PURE__ */ jsx("div", {
275
342
  "data-slot": "stepper-item",
276
- "data-status": x,
277
- "data-disabled": S ? "" : void 0,
278
- ...T,
279
- className: e ? `${T.className || ""} ${e}`.trim() : T.className,
280
- ...f,
281
- children: d
343
+ "data-status": status,
344
+ "data-disabled": disabled ? "" : void 0,
345
+ ...sxProps,
346
+ className: className ? `${sxProps.className || ""} ${className}`.trim() : sxProps.className,
347
+ ...props,
348
+ children
282
349
  })
283
350
  });
284
351
  }
285
- function m(e) {
286
- let t = a(34), i, o, c, d, f, p;
287
- t[0] === e ? (i = t[1], o = t[2], c = t[3], d = t[4], f = t[5], p = t[6]) : ({className: o, onClick: c, onKeyDown: d, sx: p, children: i, ...f} = e, t[0] = e, t[1] = i, t[2] = o, t[3] = c, t[4] = d, t[5] = f, t[6] = p);
288
- let { setValue: m, stepKeys: h, orientation: g } = s("StepperTrigger"), { value: _, status: v, disabled: y, stepIndex: b } = l("StepperTrigger"), x;
289
- t[7] !== y || t[8] !== c || t[9] !== m || t[10] !== _ ? (x = async (e) => {
290
- c?.(e), !(e.defaultPrevented || y) && await m(_);
291
- }, t[7] = y, t[8] = c, t[9] = m, t[10] = _, t[11] = x) : x = t[11];
292
- let S = x, C;
293
- t[12] !== d || t[13] !== g || t[14] !== m || t[15] !== b || t[16] !== h ? (C = async (e) => {
294
- if (d?.(e), e.defaultPrevented) return;
295
- let t = null, n = g === "horizontal";
296
- n && e.key === "ArrowRight" || !n && e.key === "ArrowDown" ? t = Math.min(b + 1, h.length - 1) : n && e.key === "ArrowLeft" || !n && e.key === "ArrowUp" ? t = Math.max(b - 1, 0) : e.key === "Home" ? t = 0 : e.key === "End" && (t = h.length - 1), t !== null && h[t] && (e.preventDefault(), await m(h[t]));
297
- }, t[12] = d, t[13] = g, t[14] = m, t[15] = b, t[16] = h, t[17] = C) : C = t[17];
298
- let w = C, T;
299
- t[18] !== y || t[19] !== p ? (T = n.props(u.trigger, y && u.triggerDisabled, p), t[18] = y, t[19] = p, t[20] = T) : T = t[20];
300
- let E = T, D = v === "active", O;
301
- t[21] !== o || t[22] !== E.className ? (O = o ? `${E.className || ""} ${o}`.trim() : E.className, t[21] = o, t[22] = E.className, t[23] = O) : O = t[23];
302
- let k;
303
- return t[24] !== i || t[25] !== y || t[26] !== S || t[27] !== w || t[28] !== f || t[29] !== v || t[30] !== E || t[31] !== D || t[32] !== O ? (k = /* @__PURE__ */ r("button", {
304
- type: "button",
305
- role: "tab",
306
- "aria-selected": D,
307
- "data-slot": "stepper-trigger",
308
- "data-status": v,
309
- disabled: y,
310
- onClick: S,
311
- onKeyDown: w,
312
- ...E,
313
- className: O,
314
- ...f,
315
- children: i
316
- }), t[24] = i, t[25] = y, t[26] = S, t[27] = w, t[28] = f, t[29] = v, t[30] = E, t[31] = D, t[32] = O, t[33] = k) : k = t[33], k;
352
+ function StepperTrigger(t0) {
353
+ const $ = c(34);
354
+ let children;
355
+ let className;
356
+ let onClick;
357
+ let onKeyDown;
358
+ let props;
359
+ let sx;
360
+ if ($[0] !== t0) {
361
+ ({className, onClick, onKeyDown, sx, children, ...props} = t0);
362
+ $[0] = t0;
363
+ $[1] = children;
364
+ $[2] = className;
365
+ $[3] = onClick;
366
+ $[4] = onKeyDown;
367
+ $[5] = props;
368
+ $[6] = sx;
369
+ } else {
370
+ children = $[1];
371
+ className = $[2];
372
+ onClick = $[3];
373
+ onKeyDown = $[4];
374
+ props = $[5];
375
+ sx = $[6];
376
+ }
377
+ const { setValue, stepKeys, orientation } = useStepperContext("StepperTrigger");
378
+ const { value, status, disabled, stepIndex } = useStepperItemContext("StepperTrigger");
379
+ let t1;
380
+ if ($[7] !== disabled || $[8] !== onClick || $[9] !== setValue || $[10] !== value) {
381
+ t1 = async (e) => {
382
+ onClick?.(e);
383
+ if (e.defaultPrevented || disabled) return;
384
+ await setValue(value);
385
+ };
386
+ $[7] = disabled;
387
+ $[8] = onClick;
388
+ $[9] = setValue;
389
+ $[10] = value;
390
+ $[11] = t1;
391
+ } else t1 = $[11];
392
+ const handleClick = t1;
393
+ let t2;
394
+ if ($[12] !== onKeyDown || $[13] !== orientation || $[14] !== setValue || $[15] !== stepIndex || $[16] !== stepKeys) {
395
+ t2 = async (e_0) => {
396
+ onKeyDown?.(e_0);
397
+ if (e_0.defaultPrevented) return;
398
+ let targetIndex = null;
399
+ const isHorizontal = orientation === "horizontal";
400
+ if (isHorizontal && e_0.key === "ArrowRight" || !isHorizontal && e_0.key === "ArrowDown") targetIndex = Math.min(stepIndex + 1, stepKeys.length - 1);
401
+ else if (isHorizontal && e_0.key === "ArrowLeft" || !isHorizontal && e_0.key === "ArrowUp") targetIndex = Math.max(stepIndex - 1, 0);
402
+ else if (e_0.key === "Home") targetIndex = 0;
403
+ else if (e_0.key === "End") targetIndex = stepKeys.length - 1;
404
+ if (targetIndex !== null && stepKeys[targetIndex]) {
405
+ e_0.preventDefault();
406
+ await setValue(stepKeys[targetIndex]);
407
+ }
408
+ };
409
+ $[12] = onKeyDown;
410
+ $[13] = orientation;
411
+ $[14] = setValue;
412
+ $[15] = stepIndex;
413
+ $[16] = stepKeys;
414
+ $[17] = t2;
415
+ } else t2 = $[17];
416
+ const handleKeyDown = t2;
417
+ let t3;
418
+ if ($[18] !== disabled || $[19] !== sx) {
419
+ t3 = stylex.props(styles.trigger, disabled && styles.triggerDisabled, sx);
420
+ $[18] = disabled;
421
+ $[19] = sx;
422
+ $[20] = t3;
423
+ } else t3 = $[20];
424
+ const sxProps = t3;
425
+ const t4 = status === "active";
426
+ let t5;
427
+ if ($[21] !== className || $[22] !== sxProps.className) {
428
+ t5 = className ? `${sxProps.className || ""} ${className}`.trim() : sxProps.className;
429
+ $[21] = className;
430
+ $[22] = sxProps.className;
431
+ $[23] = t5;
432
+ } else t5 = $[23];
433
+ let t6;
434
+ if ($[24] !== children || $[25] !== disabled || $[26] !== handleClick || $[27] !== handleKeyDown || $[28] !== props || $[29] !== status || $[30] !== sxProps || $[31] !== t4 || $[32] !== t5) {
435
+ t6 = /* @__PURE__ */ jsx("button", {
436
+ type: "button",
437
+ role: "tab",
438
+ "aria-selected": t4,
439
+ "data-slot": "stepper-trigger",
440
+ "data-status": status,
441
+ disabled,
442
+ onClick: handleClick,
443
+ onKeyDown: handleKeyDown,
444
+ ...sxProps,
445
+ className: t5,
446
+ ...props,
447
+ children
448
+ });
449
+ $[24] = children;
450
+ $[25] = disabled;
451
+ $[26] = handleClick;
452
+ $[27] = handleKeyDown;
453
+ $[28] = props;
454
+ $[29] = status;
455
+ $[30] = sxProps;
456
+ $[31] = t4;
457
+ $[32] = t5;
458
+ $[33] = t6;
459
+ } else t6 = $[33];
460
+ return t6;
317
461
  }
318
- function h(e) {
319
- let t = a(23), i, o, s, c;
320
- t[0] === e ? (i = t[1], o = t[2], s = t[3], c = t[4]) : ({className: o, sx: c, children: i, ...s} = e, t[0] = e, t[1] = i, t[2] = o, t[3] = s, t[4] = c);
321
- let { status: d, stepIndex: f } = l("StepperIndicator"), p = d === "completed" ? u.indicatorCompleted : d === "active" ? u.indicatorActive : u.indicatorInactive, m;
322
- t[5] !== p || t[6] !== c ? (m = n.props(u.indicator, p, c), t[5] = p, t[6] = c, t[7] = m) : m = t[7];
323
- let h = m, g;
324
- t[8] !== i || t[9] !== d || t[10] !== f ? (g = () => i || (d === "completed" ? /* @__PURE__ */ r("svg", {
325
- width: "14",
326
- height: "14",
327
- viewBox: "0 0 24 24",
328
- fill: "none",
329
- stroke: "currentColor",
330
- strokeWidth: "3",
331
- strokeLinecap: "round",
332
- strokeLinejoin: "round",
333
- "aria-hidden": "true",
334
- children: /* @__PURE__ */ r("polyline", { points: "20 6 9 17 4 12" })
335
- }) : f + 1), t[8] = i, t[9] = d, t[10] = f, t[11] = g) : g = t[11];
336
- let _ = g, v;
337
- t[12] !== o || t[13] !== h.className ? (v = o ? `${h.className || ""} ${o}`.trim() : h.className, t[12] = o, t[13] = h.className, t[14] = v) : v = t[14];
338
- let y;
339
- t[15] === _ ? y = t[16] : (y = _(), t[15] = _, t[16] = y);
340
- let b;
341
- return t[17] !== s || t[18] !== d || t[19] !== h || t[20] !== v || t[21] !== y ? (b = /* @__PURE__ */ r("div", {
342
- "aria-hidden": "true",
343
- "data-slot": "stepper-indicator",
344
- "data-status": d,
345
- ...h,
346
- className: v,
347
- ...s,
348
- children: y
349
- }), t[17] = s, t[18] = d, t[19] = h, t[20] = v, t[21] = y, t[22] = b) : b = t[22], b;
462
+ function StepperIndicator(t0) {
463
+ const $ = c(23);
464
+ let children;
465
+ let className;
466
+ let props;
467
+ let sx;
468
+ if ($[0] !== t0) {
469
+ ({className, sx, children, ...props} = t0);
470
+ $[0] = t0;
471
+ $[1] = children;
472
+ $[2] = className;
473
+ $[3] = props;
474
+ $[4] = sx;
475
+ } else {
476
+ children = $[1];
477
+ className = $[2];
478
+ props = $[3];
479
+ sx = $[4];
480
+ }
481
+ const { status, stepIndex } = useStepperItemContext("StepperIndicator");
482
+ const statusStyle = status === "completed" ? styles.indicatorCompleted : status === "active" ? styles.indicatorActive : styles.indicatorInactive;
483
+ let t1;
484
+ if ($[5] !== statusStyle || $[6] !== sx) {
485
+ t1 = stylex.props(styles.indicator, statusStyle, sx);
486
+ $[5] = statusStyle;
487
+ $[6] = sx;
488
+ $[7] = t1;
489
+ } else t1 = $[7];
490
+ const sxProps = t1;
491
+ let t2;
492
+ if ($[8] !== children || $[9] !== status || $[10] !== stepIndex) {
493
+ t2 = () => {
494
+ if (children) return children;
495
+ if (status === "completed") return /* @__PURE__ */ jsx("svg", {
496
+ width: "14",
497
+ height: "14",
498
+ viewBox: "0 0 24 24",
499
+ fill: "none",
500
+ stroke: "currentColor",
501
+ strokeWidth: "3",
502
+ strokeLinecap: "round",
503
+ strokeLinejoin: "round",
504
+ "aria-hidden": "true",
505
+ children: /* @__PURE__ */ jsx("polyline", { points: "20 6 9 17 4 12" })
506
+ });
507
+ return stepIndex + 1;
508
+ };
509
+ $[8] = children;
510
+ $[9] = status;
511
+ $[10] = stepIndex;
512
+ $[11] = t2;
513
+ } else t2 = $[11];
514
+ const defaultContent = t2;
515
+ let t3;
516
+ if ($[12] !== className || $[13] !== sxProps.className) {
517
+ t3 = className ? `${sxProps.className || ""} ${className}`.trim() : sxProps.className;
518
+ $[12] = className;
519
+ $[13] = sxProps.className;
520
+ $[14] = t3;
521
+ } else t3 = $[14];
522
+ let t4;
523
+ if ($[15] !== defaultContent) {
524
+ t4 = defaultContent();
525
+ $[15] = defaultContent;
526
+ $[16] = t4;
527
+ } else t4 = $[16];
528
+ let t5;
529
+ if ($[17] !== props || $[18] !== status || $[19] !== sxProps || $[20] !== t3 || $[21] !== t4) {
530
+ t5 = /* @__PURE__ */ jsx("div", {
531
+ "aria-hidden": "true",
532
+ "data-slot": "stepper-indicator",
533
+ "data-status": status,
534
+ ...sxProps,
535
+ className: t3,
536
+ ...props,
537
+ children: t4
538
+ });
539
+ $[17] = props;
540
+ $[18] = status;
541
+ $[19] = sxProps;
542
+ $[20] = t3;
543
+ $[21] = t4;
544
+ $[22] = t5;
545
+ } else t5 = $[22];
546
+ return t5;
350
547
  }
351
- function g({ className: e, forceMount: t = !1, sx: i, ...a }) {
352
- let { orientation: o, stepKeys: c } = s("StepperSeparator"), { status: d, stepIndex: f } = l("StepperSeparator");
353
- if (f >= c.length - 1 && !t) return null;
354
- let p = d === "completed", m = o === "vertical" ? u.separatorVertical : u.separatorHorizontal, h = n.props(u.separator, m, p && u.separatorCompleted, i);
355
- return /* @__PURE__ */ r("div", {
548
+ function StepperSeparator({ className, forceMount = false, sx, ...props }) {
549
+ const { orientation, stepKeys } = useStepperContext("StepperSeparator");
550
+ const { status, stepIndex } = useStepperItemContext("StepperSeparator");
551
+ if (stepIndex >= stepKeys.length - 1 && !forceMount) return null;
552
+ const isCompleted = status === "completed";
553
+ const orientationStyle = orientation === "vertical" ? styles.separatorVertical : styles.separatorHorizontal;
554
+ const sxProps = stylex.props(styles.separator, orientationStyle, isCompleted && styles.separatorCompleted, sx);
555
+ return /* @__PURE__ */ jsx("div", {
356
556
  "aria-hidden": "true",
357
557
  "data-slot": "stepper-separator",
358
- "data-completed": p ? "" : void 0,
359
- ...h,
360
- className: e ? `${h.className || ""} ${e}`.trim() : h.className,
361
- ...a
558
+ "data-completed": isCompleted ? "" : void 0,
559
+ ...sxProps,
560
+ className: className ? `${sxProps.className || ""} ${className}`.trim() : sxProps.className,
561
+ ...props
362
562
  });
363
563
  }
364
- function _(t) {
365
- let i = a(16), o, s, c, d;
366
- i[0] === t ? (o = i[1], s = i[2], c = i[3], d = i[4]) : ({className: s, sx: d, children: o, ...c} = t, i[0] = t, i[1] = o, i[2] = s, i[3] = c, i[4] = d);
367
- let { status: f } = l("StepperTitle"), p;
368
- i[5] !== f || i[6] !== d ? (p = n.props(u.title, f === "inactive" && u.titleInactive, d), i[5] = f, i[6] = d, i[7] = p) : p = i[7];
369
- let m = p, h;
370
- i[8] !== s || i[9] !== m.className ? (h = s ? `${m.className || ""} ${s}`.trim() : m.className, i[8] = s, i[9] = m.className, i[10] = h) : h = i[10];
371
- let g;
372
- return i[11] !== o || i[12] !== c || i[13] !== m || i[14] !== h ? (g = /* @__PURE__ */ r(e, {
373
- strong: !0,
374
- "data-slot": "stepper-title",
375
- ...m,
376
- className: h,
377
- ...c,
378
- children: o
379
- }), i[11] = o, i[12] = c, i[13] = m, i[14] = h, i[15] = g) : g = i[15], g;
564
+ function StepperTitle(t0) {
565
+ const $ = c(16);
566
+ let children;
567
+ let className;
568
+ let props;
569
+ let sx;
570
+ if ($[0] !== t0) {
571
+ ({className, sx, children, ...props} = t0);
572
+ $[0] = t0;
573
+ $[1] = children;
574
+ $[2] = className;
575
+ $[3] = props;
576
+ $[4] = sx;
577
+ } else {
578
+ children = $[1];
579
+ className = $[2];
580
+ props = $[3];
581
+ sx = $[4];
582
+ }
583
+ const { status } = useStepperItemContext("StepperTitle");
584
+ let t1;
585
+ if ($[5] !== status || $[6] !== sx) {
586
+ t1 = stylex.props(styles.title, status === "inactive" && styles.titleInactive, sx);
587
+ $[5] = status;
588
+ $[6] = sx;
589
+ $[7] = t1;
590
+ } else t1 = $[7];
591
+ const sxProps = t1;
592
+ let t2;
593
+ if ($[8] !== className || $[9] !== sxProps.className) {
594
+ t2 = className ? `${sxProps.className || ""} ${className}`.trim() : sxProps.className;
595
+ $[8] = className;
596
+ $[9] = sxProps.className;
597
+ $[10] = t2;
598
+ } else t2 = $[10];
599
+ let t3;
600
+ if ($[11] !== children || $[12] !== props || $[13] !== sxProps || $[14] !== t2) {
601
+ t3 = /* @__PURE__ */ jsx(Text, {
602
+ strong: true,
603
+ "data-slot": "stepper-title",
604
+ ...sxProps,
605
+ className: t2,
606
+ ...props,
607
+ children
608
+ });
609
+ $[11] = children;
610
+ $[12] = props;
611
+ $[13] = sxProps;
612
+ $[14] = t2;
613
+ $[15] = t3;
614
+ } else t3 = $[15];
615
+ return t3;
380
616
  }
381
- function v(t) {
382
- let i = a(15), o, s, c, l;
383
- i[0] === t ? (o = i[1], s = i[2], c = i[3], l = i[4]) : ({className: s, sx: l, children: o, ...c} = t, i[0] = t, i[1] = o, i[2] = s, i[3] = c, i[4] = l);
384
- let d;
385
- i[5] === l ? d = i[6] : (d = n.props(u.description, l), i[5] = l, i[6] = d);
386
- let f = d, p;
387
- i[7] !== s || i[8] !== f.className ? (p = s ? `${f.className || ""} ${s}`.trim() : f.className, i[7] = s, i[8] = f.className, i[9] = p) : p = i[9];
388
- let m;
389
- return i[10] !== o || i[11] !== c || i[12] !== f || i[13] !== p ? (m = /* @__PURE__ */ r(e, {
390
- type: "secondary",
391
- size: "xs",
392
- "data-slot": "stepper-description",
393
- ...f,
394
- className: p,
395
- ...c,
396
- children: o
397
- }), i[10] = o, i[11] = c, i[12] = f, i[13] = p, i[14] = m) : m = i[14], m;
617
+ function StepperDescription(t0) {
618
+ const $ = c(15);
619
+ let children;
620
+ let className;
621
+ let props;
622
+ let sx;
623
+ if ($[0] !== t0) {
624
+ ({className, sx, children, ...props} = t0);
625
+ $[0] = t0;
626
+ $[1] = children;
627
+ $[2] = className;
628
+ $[3] = props;
629
+ $[4] = sx;
630
+ } else {
631
+ children = $[1];
632
+ className = $[2];
633
+ props = $[3];
634
+ sx = $[4];
635
+ }
636
+ let t1;
637
+ if ($[5] !== sx) {
638
+ t1 = stylex.props(styles.description, sx);
639
+ $[5] = sx;
640
+ $[6] = t1;
641
+ } else t1 = $[6];
642
+ const sxProps = t1;
643
+ let t2;
644
+ if ($[7] !== className || $[8] !== sxProps.className) {
645
+ t2 = className ? `${sxProps.className || ""} ${className}`.trim() : sxProps.className;
646
+ $[7] = className;
647
+ $[8] = sxProps.className;
648
+ $[9] = t2;
649
+ } else t2 = $[9];
650
+ let t3;
651
+ if ($[10] !== children || $[11] !== props || $[12] !== sxProps || $[13] !== t2) {
652
+ t3 = /* @__PURE__ */ jsx(Text, {
653
+ type: "secondary",
654
+ size: "xs",
655
+ "data-slot": "stepper-description",
656
+ ...sxProps,
657
+ className: t2,
658
+ ...props,
659
+ children
660
+ });
661
+ $[10] = children;
662
+ $[11] = props;
663
+ $[12] = sxProps;
664
+ $[13] = t2;
665
+ $[14] = t3;
666
+ } else t3 = $[14];
667
+ return t3;
398
668
  }
399
- function y({ className: e, value: t, forceMount: i = !1, sx: a, children: o, ...c }) {
400
- let { value: l } = s("StepperContent");
401
- if (l !== t && !i) return null;
402
- let d = n.props(u.content, a);
403
- return /* @__PURE__ */ r("div", {
669
+ function StepperContent({ className, value: contentValue, forceMount = false, sx, children, ...props }) {
670
+ const { value } = useStepperContext("StepperContent");
671
+ if (value !== contentValue && !forceMount) return null;
672
+ const sxProps = stylex.props(styles.content, sx);
673
+ return /* @__PURE__ */ jsx("div", {
404
674
  role: "tabpanel",
405
675
  "data-slot": "stepper-content",
406
- ...d,
407
- className: e ? `${d.className || ""} ${e}`.trim() : d.className,
408
- ...c,
409
- children: o
676
+ ...sxProps,
677
+ className: className ? `${sxProps.className || ""} ${className}`.trim() : sxProps.className,
678
+ ...props,
679
+ children
410
680
  });
411
681
  }
412
- function b({ children: e = "Next", onClick: n, disabled: i, ...a }) {
413
- let { value: o, stepKeys: c, setValue: l } = s("StepperNext"), u = c.indexOf(o), d = u >= c.length - 1, f = i || d;
414
- return /* @__PURE__ */ r(t, {
682
+ function StepperNext({ children = "Next", onClick, disabled: disabledProp, ...props }) {
683
+ const { value, stepKeys, setValue } = useStepperContext("StepperNext");
684
+ const currentIndex = stepKeys.indexOf(value);
685
+ const isLast = currentIndex >= stepKeys.length - 1;
686
+ const disabled = disabledProp || isLast;
687
+ const handleClick = async (e) => {
688
+ onClick?.(e);
689
+ if (e.defaultPrevented || disabled) return;
690
+ const nextKey = stepKeys[currentIndex + 1];
691
+ if (nextKey) await setValue(nextKey);
692
+ };
693
+ return /* @__PURE__ */ jsx(Button, {
415
694
  type: "button",
416
695
  "data-slot": "stepper-next",
417
- disabled: f,
418
- onClick: async (e) => {
419
- if (n?.(e), e.defaultPrevented || f) return;
420
- let t = c[u + 1];
421
- t && await l(t);
422
- },
423
- ...a,
424
- children: e
696
+ disabled,
697
+ onClick: handleClick,
698
+ ...props,
699
+ children
425
700
  });
426
701
  }
427
- function x({ children: e = "Previous", onClick: n, disabled: i, ...a }) {
428
- let { value: o, stepKeys: c, setValue: l } = s("StepperPrev"), u = c.indexOf(o), d = i || u <= 0;
429
- return /* @__PURE__ */ r(t, {
702
+ function StepperPrev({ children = "Previous", onClick, disabled: disabledProp, ...props }) {
703
+ const { value, stepKeys, setValue } = useStepperContext("StepperPrev");
704
+ const currentIndex = stepKeys.indexOf(value);
705
+ const disabled = disabledProp || currentIndex <= 0;
706
+ const handleClick = async (e) => {
707
+ onClick?.(e);
708
+ if (e.defaultPrevented || disabled) return;
709
+ const prevKey = stepKeys[currentIndex - 1];
710
+ if (prevKey) await setValue(prevKey);
711
+ };
712
+ return /* @__PURE__ */ jsx(Button, {
430
713
  type: "button",
431
714
  variant: "outline",
432
715
  "data-slot": "stepper-prev",
433
- disabled: d,
434
- onClick: async (e) => {
435
- if (n?.(e), e.defaultPrevented || d) return;
436
- let t = c[u - 1];
437
- t && await l(t);
438
- },
439
- ...a,
440
- children: e
716
+ disabled,
717
+ onClick: handleClick,
718
+ ...props,
719
+ children
441
720
  });
442
721
  }
443
- function S(e) {
444
- let t = a(15), i, o, s, c;
445
- t[0] === e ? (i = t[1], o = t[2], s = t[3], c = t[4]) : ({className: o, sx: c, children: i, ...s} = e, t[0] = e, t[1] = i, t[2] = o, t[3] = s, t[4] = c);
446
- let l;
447
- t[5] === c ? l = t[6] : (l = n.props(u.textWrapper, c), t[5] = c, t[6] = l);
448
- let d = l, f;
449
- t[7] !== o || t[8] !== d.className ? (f = o ? `${d.className || ""} ${o}`.trim() : d.className, t[7] = o, t[8] = d.className, t[9] = f) : f = t[9];
450
- let p;
451
- return t[10] !== i || t[11] !== s || t[12] !== d || t[13] !== f ? (p = /* @__PURE__ */ r("div", {
452
- "data-slot": "stepper-text",
453
- ...d,
454
- className: f,
455
- ...s,
456
- children: i
457
- }), t[10] = i, t[11] = s, t[12] = d, t[13] = f, t[14] = p) : p = t[14], p;
722
+ function StepperText(t0) {
723
+ const $ = c(15);
724
+ let children;
725
+ let className;
726
+ let props;
727
+ let sx;
728
+ if ($[0] !== t0) {
729
+ ({className, sx, children, ...props} = t0);
730
+ $[0] = t0;
731
+ $[1] = children;
732
+ $[2] = className;
733
+ $[3] = props;
734
+ $[4] = sx;
735
+ } else {
736
+ children = $[1];
737
+ className = $[2];
738
+ props = $[3];
739
+ sx = $[4];
740
+ }
741
+ let t1;
742
+ if ($[5] !== sx) {
743
+ t1 = stylex.props(styles.textWrapper, sx);
744
+ $[5] = sx;
745
+ $[6] = t1;
746
+ } else t1 = $[6];
747
+ const sxProps = t1;
748
+ let t2;
749
+ if ($[7] !== className || $[8] !== sxProps.className) {
750
+ t2 = className ? `${sxProps.className || ""} ${className}`.trim() : sxProps.className;
751
+ $[7] = className;
752
+ $[8] = sxProps.className;
753
+ $[9] = t2;
754
+ } else t2 = $[9];
755
+ let t3;
756
+ if ($[10] !== children || $[11] !== props || $[12] !== sxProps || $[13] !== t2) {
757
+ t3 = /* @__PURE__ */ jsx("div", {
758
+ "data-slot": "stepper-text",
759
+ ...sxProps,
760
+ className: t2,
761
+ ...props,
762
+ children
763
+ });
764
+ $[10] = children;
765
+ $[11] = props;
766
+ $[12] = sxProps;
767
+ $[13] = t2;
768
+ $[14] = t3;
769
+ } else t3 = $[14];
770
+ return t3;
458
771
  }
459
- export { d as Stepper, y as StepperContent, v as StepperDescription, h as StepperIndicator, p as StepperItem, f as StepperList, b as StepperNext, x as StepperPrev, g as StepperSeparator, S as StepperText, _ as StepperTitle, m as StepperTrigger };
772
+ export { Stepper, StepperContent, StepperDescription, StepperIndicator, StepperItem, StepperList, StepperNext, StepperPrev, StepperSeparator, StepperText, StepperTitle, StepperTrigger };