@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,20 +1,19 @@
1
- "use client";
2
- import { Icons as e } from "../Icons/Icons.js";
3
- import { Text as t } from "../Typography/Text.js";
4
- import { Button as n } from "./button.js";
5
- import { cn as r } from "../utils.js";
6
- import { resolveDatePickerSize as i } from "../Form/FormDatePicker/types.js";
7
- import * as a from "@stylexjs/stylex";
8
- import { jsx as o } from "react/jsx-runtime";
9
- import * as s from "react";
1
+ import { Icons } from "../Icons/Icons.js";
2
+ import { Text } from "../Typography/Text.js";
3
+ import { Button } from "./button.js";
4
+ import { cn } from "../utils.js";
5
+ import { resolveDatePickerSize } from "../Form/FormDatePicker/types.js";
6
+ import * as stylex from "@stylexjs/stylex";
7
+ import { jsx } from "react/jsx-runtime";
8
+ import { createContext, useContext, useEffect, useRef } from "react";
10
9
  import { c } from "react/compiler-runtime";
11
- import { DayPicker as l, getDefaultClassNames as u } from "react-day-picker";
10
+ import { DayPicker, getDefaultClassNames } from "react-day-picker";
12
11
  // src/ui/calendar.tsx
13
- var d = {
12
+ var styles = {
14
13
  rootContainer: {
15
14
  kWkggS: "x1mlyrtw",
16
15
  kaIpWk: "xrijj7p",
17
- $$css: !0
16
+ $$css: true
18
17
  },
19
18
  navBtn: {
20
19
  k1xSpc: "x3nfvp2",
@@ -36,7 +35,7 @@ var d = {
36
35
  kWCcOm: "x1bq4at4",
37
36
  k7HAVu: "xaqnwrm",
38
37
  kYPGJ8: "x1s07b3s",
39
- $$css: !0
38
+ $$css: true
40
39
  },
41
40
  monthCaption: {
42
41
  k1xSpc: "x78zum5",
@@ -44,7 +43,7 @@ var d = {
44
43
  kjj79g: "xl56j7k",
45
44
  kzqmXN: "xh8yej3",
46
45
  kVAEAm: "x1n2onr6",
47
- $$css: !0
46
+ $$css: true
48
47
  },
49
48
  dropdowns: {
50
49
  k1xSpc: "x78zum5",
@@ -54,7 +53,7 @@ var d = {
54
53
  kjj79g: "xl56j7k",
55
54
  kOIVth: "xpj7pl4",
56
55
  kY2c9j: "xhtitgo",
57
- $$css: !0
56
+ $$css: true
58
57
  },
59
58
  dropdownRoot: {
60
59
  kVAEAm: "x1n2onr6",
@@ -67,7 +66,7 @@ var d = {
67
66
  kWkggS: "x1mlyrtw",
68
67
  kmkexE: "x1ylc3s0",
69
68
  kGzVvX: "x9p52ec",
70
- $$css: !0
69
+ $$css: true
71
70
  },
72
71
  weekday: {
73
72
  kMwMTN: "xw3nh4a",
@@ -76,7 +75,7 @@ var d = {
76
75
  kfSwDN: "x87ps6o",
77
76
  k9WMMc: "x2b8uid",
78
77
  kmVPX3: "x1h5he9n",
79
- $$css: !0
78
+ $$css: true
80
79
  },
81
80
  dayButton: {
82
81
  k1xSpc: "x78zum5",
@@ -90,24 +89,24 @@ var d = {
90
89
  kaIpWk: "xrijj7p",
91
90
  kMwMTN: "x84br7x",
92
91
  kmkexE: "xfyfa0t",
93
- $$css: !0
92
+ $$css: true
94
93
  },
95
94
  dayButtonOutside: {
96
95
  kMwMTN: "xw3nh4a",
97
96
  kSiTet: "xti2d7y",
98
- $$css: !0
97
+ $$css: true
99
98
  },
100
99
  dayButtonToday: {
101
100
  kWkggS: "x1jgryid",
102
101
  kMwMTN: "xzeqxs3",
103
102
  k63SB2: "x1s688f",
104
- $$css: !0
103
+ $$css: true
105
104
  },
106
105
  dayButtonDisabled: {
107
106
  kMwMTN: "xw3nh4a",
108
107
  kSiTet: "x3onkmb",
109
108
  kfzvcC: "x47corl",
110
- $$css: !0
109
+ $$css: true
111
110
  },
112
111
  dayButtonSelected: {
113
112
  kWkggS: "x1j7ufkg",
@@ -115,13 +114,13 @@ var d = {
115
114
  k63SB2: "x1s688f",
116
115
  kGzVvX: "x1439r81",
117
116
  kDPRdz: "x1fth186",
118
- $$css: !0
117
+ $$css: true
119
118
  },
120
119
  dayButtonRangeMiddle: {
121
120
  kWkggS: "x1jgryid",
122
121
  kMwMTN: "xzeqxs3",
123
122
  kaIpWk: "x2u8bby",
124
- $$css: !0
123
+ $$css: true
125
124
  },
126
125
  dayButtonRangeStart: {
127
126
  kWkggS: "x1j7ufkg",
@@ -130,7 +129,7 @@ var d = {
130
129
  kqGeR4: "xfhs0ij",
131
130
  ksF3WI: "x1a2w583",
132
131
  kYm2EN: "xjppbhk",
133
- $$css: !0
132
+ $$css: true
134
133
  },
135
134
  dayButtonRangeEnd: {
136
135
  kWkggS: "x1j7ufkg",
@@ -139,368 +138,485 @@ var d = {
139
138
  kqGeR4: "xfrllxf",
140
139
  ksF3WI: "x1u3zsdm",
141
140
  kYm2EN: "xcda9eb",
142
- $$css: !0
141
+ $$css: true
143
142
  }
144
- }, f = {
143
+ };
144
+ var rootSizeStyles = {
145
145
  xxs: {
146
146
  kmVPX3: "xd7ozn7",
147
- $$css: !0
147
+ $$css: true
148
148
  },
149
149
  xs: {
150
150
  kmVPX3: "x7gbtqy",
151
- $$css: !0
151
+ $$css: true
152
152
  },
153
153
  sm: {
154
154
  kmVPX3: "x7gbtqy",
155
- $$css: !0
155
+ $$css: true
156
156
  },
157
157
  md: {
158
158
  kmVPX3: "x79iv2k",
159
- $$css: !0
159
+ $$css: true
160
160
  },
161
161
  lg: {
162
162
  kmVPX3: "x1uz70x1",
163
- $$css: !0
163
+ $$css: true
164
164
  },
165
165
  xl: {
166
166
  kmVPX3: "xomzojh",
167
- $$css: !0
167
+ $$css: true
168
168
  },
169
169
  xxl: {
170
170
  kmVPX3: "xis3749",
171
- $$css: !0
171
+ $$css: true
172
172
  }
173
- }, p = {
173
+ };
174
+ var navBtnSizeStyles = {
174
175
  xxs: {
175
176
  kzqmXN: "xp8d6y2",
176
177
  kZKoxP: "xam5rvr",
177
- $$css: !0
178
+ $$css: true
178
179
  },
179
180
  xs: {
180
181
  kzqmXN: "xh29eag",
181
182
  kZKoxP: "xb8l8e1",
182
- $$css: !0
183
+ $$css: true
183
184
  },
184
185
  sm: {
185
186
  kzqmXN: "xq3tarq",
186
187
  kZKoxP: "xwl81jg",
187
- $$css: !0
188
+ $$css: true
188
189
  },
189
190
  md: {
190
191
  kzqmXN: "xs5h3dt",
191
192
  kZKoxP: "xettwda",
192
- $$css: !0
193
+ $$css: true
193
194
  },
194
195
  lg: {
195
196
  kzqmXN: "x1s4ejo4",
196
197
  kZKoxP: "xk8t5le",
197
- $$css: !0
198
+ $$css: true
198
199
  },
199
200
  xl: {
200
201
  kzqmXN: "xvm51jw",
201
202
  kZKoxP: "xwaiz5r",
202
- $$css: !0
203
+ $$css: true
203
204
  },
204
205
  xxl: {
205
206
  kzqmXN: "xb1qrhf",
206
207
  kZKoxP: "x12hms15",
207
- $$css: !0
208
+ $$css: true
208
209
  }
209
- }, m = {
210
+ };
211
+ var dropdownRootSizeStyles = {
210
212
  xxs: {
211
213
  kZKoxP: "xam5rvr",
212
214
  kg3NbH: "x18a9hih",
213
- $$css: !0
215
+ $$css: true
214
216
  },
215
217
  xs: {
216
218
  kZKoxP: "xb8l8e1",
217
219
  kg3NbH: "x8srd2o",
218
- $$css: !0
220
+ $$css: true
219
221
  },
220
222
  sm: {
221
223
  kZKoxP: "xwl81jg",
222
224
  kg3NbH: "x97vtpp",
223
- $$css: !0
225
+ $$css: true
224
226
  },
225
227
  md: {
226
228
  kZKoxP: "xettwda",
227
229
  kg3NbH: "x97vtpp",
228
- $$css: !0
230
+ $$css: true
229
231
  },
230
232
  lg: {
231
233
  kZKoxP: "xk8t5le",
232
234
  kg3NbH: "xvpgqt4",
233
- $$css: !0
235
+ $$css: true
234
236
  },
235
237
  xl: {
236
238
  kZKoxP: "xwaiz5r",
237
239
  kg3NbH: "x1ryrjj2",
238
- $$css: !0
240
+ $$css: true
239
241
  },
240
242
  xxl: {
241
243
  kZKoxP: "x12hms15",
242
244
  kg3NbH: "x13s4r1c",
243
- $$css: !0
245
+ $$css: true
244
246
  }
245
- }, h = {
247
+ };
248
+ var captionSizeStyles = {
246
249
  xxs: {
247
250
  kZKoxP: "xam5rvr",
248
- $$css: !0
251
+ $$css: true
249
252
  },
250
253
  xs: {
251
254
  kZKoxP: "xb8l8e1",
252
- $$css: !0
255
+ $$css: true
253
256
  },
254
257
  sm: {
255
258
  kZKoxP: "xwl81jg",
256
- $$css: !0
259
+ $$css: true
257
260
  },
258
261
  md: {
259
262
  kZKoxP: "xettwda",
260
- $$css: !0
263
+ $$css: true
261
264
  },
262
265
  lg: {
263
266
  kZKoxP: "xk8t5le",
264
- $$css: !0
267
+ $$css: true
265
268
  },
266
269
  xl: {
267
270
  kZKoxP: "xwaiz5r",
268
- $$css: !0
271
+ $$css: true
269
272
  },
270
273
  xxl: {
271
274
  kZKoxP: "x12hms15",
272
- $$css: !0
275
+ $$css: true
273
276
  }
274
- }, g = {
277
+ };
278
+ var dayButtonSizeStyles = {
275
279
  xxs: {
276
280
  k7Eaqz: "x1vi9356",
277
281
  kZKoxP: "xam5rvr",
278
282
  kGuDYH: "x12lo8hy",
279
- $$css: !0
283
+ $$css: true
280
284
  },
281
285
  xs: {
282
286
  k7Eaqz: "x1xkahga",
283
287
  kZKoxP: "xb8l8e1",
284
288
  kGuDYH: "xboafo0",
285
- $$css: !0
289
+ $$css: true
286
290
  },
287
291
  sm: {
288
292
  k7Eaqz: "x1spw7b8",
289
293
  kZKoxP: "xwl81jg",
290
294
  kGuDYH: "x1dcheo9",
291
- $$css: !0
295
+ $$css: true
292
296
  },
293
297
  md: {
294
298
  k7Eaqz: "x19hwnzc",
295
299
  kZKoxP: "xettwda",
296
300
  kGuDYH: "xkpwil5",
297
- $$css: !0
301
+ $$css: true
298
302
  },
299
303
  lg: {
300
304
  k7Eaqz: "xggcfak",
301
305
  kZKoxP: "x2j8i3k",
302
306
  kGuDYH: "x6u19be",
303
- $$css: !0
307
+ $$css: true
304
308
  },
305
309
  xl: {
306
310
  k7Eaqz: "x1yaghvu",
307
311
  kZKoxP: "x7gvb2z",
308
312
  kGuDYH: "x1jchvi3",
309
- $$css: !0
313
+ $$css: true
310
314
  },
311
315
  xxl: {
312
316
  k7Eaqz: "x1k8l6nd",
313
317
  kZKoxP: "x1pizb70",
314
318
  kGuDYH: "x1c3i2sq",
315
- $$css: !0
319
+ $$css: true
316
320
  }
317
- }, _ = {
321
+ };
322
+ var iconSizeStyles = {
318
323
  xxs: {
319
324
  kzqmXN: "x1jw3ynk",
320
325
  kZKoxP: "xvle69y",
321
- $$css: !0
326
+ $$css: true
322
327
  },
323
328
  xs: {
324
329
  kzqmXN: "x10rziqa",
325
330
  kZKoxP: "x75iezw",
326
- $$css: !0
331
+ $$css: true
327
332
  },
328
333
  sm: {
329
334
  kzqmXN: "x1xvt488",
330
335
  kZKoxP: "xf08kfj",
331
- $$css: !0
336
+ $$css: true
332
337
  },
333
338
  md: {
334
339
  kzqmXN: "xcdlrvm",
335
340
  kZKoxP: "x1l36t39",
336
- $$css: !0
341
+ $$css: true
337
342
  },
338
343
  lg: {
339
344
  kzqmXN: "xsk17dz",
340
345
  kZKoxP: "xaylbqo",
341
- $$css: !0
346
+ $$css: true
342
347
  },
343
348
  xl: {
344
349
  kzqmXN: "xwqq7k2",
345
350
  kZKoxP: "xmll18r",
346
- $$css: !0
351
+ $$css: true
347
352
  },
348
353
  xxl: {
349
354
  kzqmXN: "x1h5jark",
350
355
  kZKoxP: "x11q3zg3",
351
- $$css: !0
356
+ $$css: true
352
357
  }
353
- }, v = {
358
+ };
359
+ var weekdaySizeStyles = {
354
360
  xxs: {
355
361
  kGuDYH: "x12lo8hy",
356
- $$css: !0
362
+ $$css: true
357
363
  },
358
364
  xs: {
359
365
  kGuDYH: "xboafo0",
360
- $$css: !0
366
+ $$css: true
361
367
  },
362
368
  sm: {
363
369
  kGuDYH: "xboafo0",
364
- $$css: !0
370
+ $$css: true
365
371
  },
366
372
  md: {
367
373
  kGuDYH: "xgommxb",
368
- $$css: !0
374
+ $$css: true
369
375
  },
370
376
  lg: {
371
377
  kGuDYH: "xkpwil5",
372
- $$css: !0
378
+ $$css: true
373
379
  },
374
380
  xl: {
375
381
  kGuDYH: "x6u19be",
376
- $$css: !0
382
+ $$css: true
377
383
  },
378
384
  xxl: {
379
385
  kGuDYH: "x1jchvi3",
380
- $$css: !0
386
+ $$css: true
381
387
  }
382
- }, y = s.createContext({ size: "md" });
383
- function b({ className: n, classNames: s, showOutsideDays: c = !0, captionLayout: g = "label", buttonVariant: b = "ghost", formatters: S, components: C, size: w = "md", sx: T, startMonth: E, endMonth: D, ...O }) {
384
- let k = i(w), A = u(), j = a.props(d.rootContainer, f[k], T), M = (/* @__PURE__ */ new Date()).getFullYear(), N = E ?? new Date(M - 100, 0, 1), P = D ?? new Date(M + 50, 11, 31);
385
- return /* @__PURE__ */ o(y.Provider, {
386
- value: { size: k },
387
- children: /* @__PURE__ */ o(l, {
388
- showOutsideDays: c,
389
- className: r(j.className, n),
390
- captionLayout: g,
391
- startMonth: N,
392
- endMonth: P,
388
+ };
389
+ var CalendarContext = createContext({ size: "md" });
390
+ function Calendar({ className, classNames, showOutsideDays = true, captionLayout = "label", buttonVariant: _buttonVariant = "ghost", formatters, components, size = "md", sx, startMonth, endMonth, ...props }) {
391
+ const resolvedSize = resolveDatePickerSize(size);
392
+ const defaultClassNames = getDefaultClassNames();
393
+ const rootStyleProps = stylex.props(styles.rootContainer, rootSizeStyles[resolvedSize], sx);
394
+ const currentYear = (/* @__PURE__ */ new Date()).getFullYear();
395
+ const resolvedStartMonth = startMonth ?? new Date(currentYear - 100, 0, 1);
396
+ const resolvedEndMonth = endMonth ?? new Date(currentYear + 50, 11, 31);
397
+ return /* @__PURE__ */ jsx(CalendarContext.Provider, {
398
+ value: { size: resolvedSize },
399
+ children: /* @__PURE__ */ jsx(DayPicker, {
400
+ showOutsideDays,
401
+ className: cn(rootStyleProps.className, className),
402
+ captionLayout,
403
+ startMonth: resolvedStartMonth,
404
+ endMonth: resolvedEndMonth,
393
405
  formatters: {
394
- formatMonthDropdown: (e) => e.toLocaleString("default", { month: "short" }),
395
- ...S
406
+ formatMonthDropdown: (date) => date.toLocaleString("default", { month: "short" }),
407
+ ...formatters
396
408
  },
397
409
  classNames: {
398
- root: r({ className: "xeq5yr9" }.className, A.root),
399
- months: r({ className: "x78zum5 x8fetqu x1q0g3np x1n2onr6" }.className, A.months),
400
- month: r({ className: "x78zum5 xdt5ytf xh8yej3 x8233eu" }.className, A.month),
401
- nav: r({ className: "x78zum5 x6s0dn4 xvh977a xh8yej3 x10l6tqk x13vifvy x17y0mx6 x1qughib x47corl x1vjfegm" }.className, A.nav),
402
- button_previous: r(a.props(d.navBtn, p[k]).className, A.button_previous),
403
- button_next: r(a.props(d.navBtn, p[k]).className, A.button_next),
404
- month_caption: r(a.props(d.monthCaption, h[k]).className, A.month_caption),
405
- dropdowns: r(a.props(d.dropdowns, h[k]).className, A.dropdowns),
406
- dropdown_root: r(a.props(d.dropdownRoot, m[k]).className, A.dropdown_root),
407
- dropdown: r({ className: "x10l6tqk x10a8y8t xh8yej3 x5yr21d xg01cxk x1ypdohk xzkaem6" }.className, A.dropdown),
408
- caption_label: r({ className: "x3nfvp2 x6s0dn4 xvh977a x87ps6o xk50ysn x84br7x" }.className, A.caption_label),
409
- month_grid: r({ className: "xh8yej3 x1mwwwfo" }.className, A.month_grid),
410
- weekdays: r({ className: "x78zum5 xh8yej3" }.className, A.weekdays),
411
- weekday: r(a.props(d.weekday, v[k]).className, A.weekday),
412
- week: r({ className: "x78zum5 xh8yej3 x1tbvfm1" }.className, A.week),
413
- week_number_header: r({ className: "x87ps6o xs5h3dt" }.className, A.week_number_header),
414
- week_number: r({ className: "xgommxb x87ps6o xw3nh4a" }.className, A.week_number),
415
- day: r({ className: "x1n2onr6 x98rzlu x78zum5 x6s0dn4 xl56j7k x1717udv x2b8uid x87ps6o" }.className, A.day),
416
- range_start: r({ className: "xul40ag xfhs0ij x1jgryid" }.className, A.range_start),
417
- range_middle: r({ className: "x2u8bby" }.className, A.range_middle),
418
- range_end: r({ className: "x1u3zsdm xcda9eb x1jgryid" }.className, A.range_end),
419
- today: r({ className: "x1jgryid xzeqxs3 xrijj7p" }.className, A.today),
420
- outside: r({ className: "xw3nh4a" }.className, A.outside),
421
- disabled: r({ className: "xw3nh4a xbyyjgo" }.className, A.disabled),
422
- hidden: r({ className: "xlshs6z" }.className, A.hidden),
423
- ...s
410
+ root: cn({ className: "xeq5yr9" }.className, defaultClassNames.root),
411
+ months: cn({ className: "x78zum5 x8fetqu x1q0g3np x1n2onr6" }.className, defaultClassNames.months),
412
+ month: cn({ className: "x78zum5 xdt5ytf xh8yej3 x8233eu" }.className, defaultClassNames.month),
413
+ nav: cn({ className: "x78zum5 x6s0dn4 xvh977a xh8yej3 x10l6tqk x13vifvy x17y0mx6 x1qughib x47corl x1vjfegm" }.className, defaultClassNames.nav),
414
+ button_previous: cn(stylex.props(styles.navBtn, navBtnSizeStyles[resolvedSize]).className, defaultClassNames.button_previous),
415
+ button_next: cn(stylex.props(styles.navBtn, navBtnSizeStyles[resolvedSize]).className, defaultClassNames.button_next),
416
+ month_caption: cn(stylex.props(styles.monthCaption, captionSizeStyles[resolvedSize]).className, defaultClassNames.month_caption),
417
+ dropdowns: cn(stylex.props(styles.dropdowns, captionSizeStyles[resolvedSize]).className, defaultClassNames.dropdowns),
418
+ dropdown_root: cn(stylex.props(styles.dropdownRoot, dropdownRootSizeStyles[resolvedSize]).className, defaultClassNames.dropdown_root),
419
+ dropdown: cn({ className: "x10l6tqk x10a8y8t xh8yej3 x5yr21d xg01cxk x1ypdohk xzkaem6" }.className, defaultClassNames.dropdown),
420
+ caption_label: cn({ className: "x3nfvp2 x6s0dn4 xvh977a x87ps6o xk50ysn x84br7x" }.className, defaultClassNames.caption_label),
421
+ month_grid: cn({ className: "xh8yej3 x1mwwwfo" }.className, defaultClassNames.month_grid),
422
+ weekdays: cn({ className: "x78zum5 xh8yej3" }.className, defaultClassNames.weekdays),
423
+ weekday: cn(stylex.props(styles.weekday, weekdaySizeStyles[resolvedSize]).className, defaultClassNames.weekday),
424
+ week: cn({ className: "x78zum5 xh8yej3 x1tbvfm1" }.className, defaultClassNames.week),
425
+ week_number_header: cn({ className: "x87ps6o xs5h3dt" }.className, defaultClassNames.week_number_header),
426
+ week_number: cn({ className: "xgommxb x87ps6o xw3nh4a" }.className, defaultClassNames.week_number),
427
+ day: cn({ className: "x1n2onr6 x98rzlu x78zum5 x6s0dn4 xl56j7k x1717udv x2b8uid x87ps6o" }.className, defaultClassNames.day),
428
+ range_start: cn({ className: "xul40ag xfhs0ij x1jgryid" }.className, defaultClassNames.range_start),
429
+ range_middle: cn({ className: "x2u8bby" }.className, defaultClassNames.range_middle),
430
+ range_end: cn({ className: "x1u3zsdm xcda9eb x1jgryid" }.className, defaultClassNames.range_end),
431
+ today: cn({ className: "x1jgryid xzeqxs3 xrijj7p" }.className, defaultClassNames.today),
432
+ outside: cn({ className: "xw3nh4a" }.className, defaultClassNames.outside),
433
+ disabled: cn({ className: "xw3nh4a xbyyjgo" }.className, defaultClassNames.disabled),
434
+ hidden: cn({ className: "xlshs6z" }.className, defaultClassNames.hidden),
435
+ ...classNames
424
436
  },
425
437
  components: {
426
- Root: ({ className: e, rootRef: t, ...n }) => /* @__PURE__ */ o("div", {
427
- "data-slot": "calendar",
428
- ref: t,
429
- className: e,
430
- ...n
431
- }),
432
- Chevron: ({ className: t, orientation: n, ...i }) => {
433
- let s = a.props(_[k]);
434
- return o(n === "left" ? e.ChevronLeft : n === "right" ? e.ChevronRight : e.ChevronDown, {
435
- ...s,
436
- className: r(s.className, t),
437
- ...i
438
+ Root: ({ className: className_0, rootRef, ...rootProps }) => {
439
+ return /* @__PURE__ */ jsx("div", {
440
+ "data-slot": "calendar",
441
+ ref: rootRef,
442
+ className: className_0,
443
+ ...rootProps
438
444
  });
439
445
  },
440
- DayButton: x,
441
- WeekNumber: ({ children: e, ...n }) => /* @__PURE__ */ o("td", {
442
- ...n,
443
- children: /* @__PURE__ */ o("div", {
444
- className: "x78zum5 xs5h3dt xettwda x6s0dn4 xl56j7k x2b8uid",
445
- children: /* @__PURE__ */ o(t, {
446
- size: "xs",
447
- type: "muted",
448
- children: e
446
+ Chevron: ({ className: className_1, orientation, ...chevronProps }) => {
447
+ const iconProps = stylex.props(iconSizeStyles[resolvedSize]);
448
+ if (orientation === "left") return /* @__PURE__ */ jsx(Icons.ChevronLeft, {
449
+ ...iconProps,
450
+ className: cn(iconProps.className, className_1),
451
+ ...chevronProps
452
+ });
453
+ if (orientation === "right") return /* @__PURE__ */ jsx(Icons.ChevronRight, {
454
+ ...iconProps,
455
+ className: cn(iconProps.className, className_1),
456
+ ...chevronProps
457
+ });
458
+ return /* @__PURE__ */ jsx(Icons.ChevronDown, {
459
+ ...iconProps,
460
+ className: cn(iconProps.className, className_1),
461
+ ...chevronProps
462
+ });
463
+ },
464
+ DayButton: CalendarDayButton,
465
+ WeekNumber: ({ children, ...weekProps }) => {
466
+ return /* @__PURE__ */ jsx("td", {
467
+ ...weekProps,
468
+ children: /* @__PURE__ */ jsx("div", {
469
+ className: "x78zum5 xs5h3dt xettwda x6s0dn4 xl56j7k x2b8uid",
470
+ children: /* @__PURE__ */ jsx(Text, {
471
+ size: "xs",
472
+ type: "muted",
473
+ children
474
+ })
449
475
  })
450
- })
451
- }),
452
- ...C
476
+ });
477
+ },
478
+ ...components
453
479
  },
454
- ...O
480
+ ...props
455
481
  })
456
482
  });
457
483
  }
458
- function x(e) {
459
- let i = c(37), a, l, f, p;
460
- i[0] === e ? (a = i[1], l = i[2], f = i[3], p = i[4]) : ({className: a, day: l, modifiers: f, ...p} = e, i[0] = e, i[1] = a, i[2] = l, i[3] = f, i[4] = p);
461
- let m = u(), { size: h } = s.useContext(y), _ = s.useRef(null), v, b;
462
- i[5] === f.focused ? (v = i[6], b = i[7]) : (v = () => {
463
- f.focused && _.current?.focus();
464
- }, b = [f.focused], i[5] = f.focused, i[6] = v, i[7] = b), s.useEffect(v, b);
465
- let x = f.selected && !f.range_start && !f.range_end && !f.range_middle, S = n, C;
466
- i[8] === l.date ? C = i[9] : (C = l.date.toLocaleDateString(), i[8] = l.date, i[9] = C);
467
- let w = f.range_start, T = f.range_end, E = f.range_middle, D = g[h], O = f.outside ? d.dayButtonOutside : void 0, k = f.today && !x && !f.range_start && !f.range_end ? d.dayButtonToday : void 0, A = f.disabled ? d.dayButtonDisabled : void 0, j = x ? d.dayButtonSelected : void 0, M = f.range_start ? d.dayButtonRangeStart : void 0, N = f.range_end ? d.dayButtonRangeEnd : void 0, P = f.range_middle ? d.dayButtonRangeMiddle : void 0, F;
468
- i[10] !== O || i[11] !== k || i[12] !== A || i[13] !== j || i[14] !== M || i[15] !== N || i[16] !== P || i[17] !== D ? (F = [
469
- d.dayButton,
470
- D,
471
- O,
472
- k,
473
- A,
474
- j,
475
- M,
476
- N,
477
- P
478
- ], i[10] = O, i[11] = k, i[12] = A, i[13] = j, i[14] = M, i[15] = N, i[16] = P, i[17] = D, i[18] = F) : F = i[18];
479
- let I = r(m.day_button, a), L = h === "xxs" || h === "xs" ? "xs" : h === "xl" || h === "xxl" ? "md" : "sm", R = x || f.today ? "medium" : "normal", z;
480
- i[19] === Symbol.for("react.memo_cache_sentinel") ? (z = { color: "inherit" }, i[19] = z) : z = i[19];
481
- let B;
482
- i[20] === l.date ? B = i[21] : (B = l.date.getDate(), i[20] = l.date, i[21] = B);
483
- let V;
484
- i[22] !== L || i[23] !== R || i[24] !== B ? (V = /* @__PURE__ */ o(t, {
485
- size: L,
486
- weight: R,
487
- style: z,
488
- children: B
489
- }), i[22] = L, i[23] = R, i[24] = B, i[25] = V) : V = i[25];
490
- let H;
491
- return i[26] !== S || i[27] !== x || i[28] !== f.range_end || i[29] !== f.range_middle || i[30] !== f.range_start || i[31] !== p || i[32] !== F || i[33] !== I || i[34] !== V || i[35] !== C ? (H = /* @__PURE__ */ o(S, {
492
- ref: _,
493
- variant: "ghost",
494
- size: "icon",
495
- "data-day": C,
496
- "data-selected-single": x,
497
- "data-range-start": w,
498
- "data-range-end": T,
499
- "data-range-middle": E,
500
- sx: F,
501
- className: I,
502
- ...p,
503
- children: V
504
- }), i[26] = S, i[27] = x, i[28] = f.range_end, i[29] = f.range_middle, i[30] = f.range_start, i[31] = p, i[32] = F, i[33] = I, i[34] = V, i[35] = C, i[36] = H) : H = i[36], H;
484
+ function CalendarDayButton(t0) {
485
+ const $ = c(37);
486
+ let className;
487
+ let day;
488
+ let modifiers;
489
+ let props;
490
+ if ($[0] !== t0) {
491
+ ({className, day, modifiers, ...props} = t0);
492
+ $[0] = t0;
493
+ $[1] = className;
494
+ $[2] = day;
495
+ $[3] = modifiers;
496
+ $[4] = props;
497
+ } else {
498
+ className = $[1];
499
+ day = $[2];
500
+ modifiers = $[3];
501
+ props = $[4];
502
+ }
503
+ const defaultClassNames = getDefaultClassNames();
504
+ const { size } = useContext(CalendarContext);
505
+ const ref = useRef(null);
506
+ let t1;
507
+ let t2;
508
+ if ($[5] !== modifiers.focused) {
509
+ t1 = () => {
510
+ if (modifiers.focused) ref.current?.focus();
511
+ };
512
+ t2 = [modifiers.focused];
513
+ $[5] = modifiers.focused;
514
+ $[6] = t1;
515
+ $[7] = t2;
516
+ } else {
517
+ t1 = $[6];
518
+ t2 = $[7];
519
+ }
520
+ useEffect(t1, t2);
521
+ const isSelected = modifiers.selected && !modifiers.range_start && !modifiers.range_end && !modifiers.range_middle;
522
+ const T0 = Button;
523
+ const t3 = "ghost";
524
+ const t4 = "icon";
525
+ let t5;
526
+ if ($[8] !== day.date) {
527
+ t5 = day.date.toLocaleDateString();
528
+ $[8] = day.date;
529
+ $[9] = t5;
530
+ } else t5 = $[9];
531
+ const t6 = modifiers.range_start;
532
+ const t7 = modifiers.range_end;
533
+ const t8 = modifiers.range_middle;
534
+ const t9 = dayButtonSizeStyles[size];
535
+ const t10 = modifiers.outside ? styles.dayButtonOutside : void 0;
536
+ const t11 = modifiers.today && !isSelected && !modifiers.range_start && !modifiers.range_end ? styles.dayButtonToday : void 0;
537
+ const t12 = modifiers.disabled ? styles.dayButtonDisabled : void 0;
538
+ const t13 = isSelected ? styles.dayButtonSelected : void 0;
539
+ const t14 = modifiers.range_start ? styles.dayButtonRangeStart : void 0;
540
+ const t15 = modifiers.range_end ? styles.dayButtonRangeEnd : void 0;
541
+ const t16 = modifiers.range_middle ? styles.dayButtonRangeMiddle : void 0;
542
+ let t17;
543
+ if ($[10] !== t10 || $[11] !== t11 || $[12] !== t12 || $[13] !== t13 || $[14] !== t14 || $[15] !== t15 || $[16] !== t16 || $[17] !== t9) {
544
+ t17 = [
545
+ styles.dayButton,
546
+ t9,
547
+ t10,
548
+ t11,
549
+ t12,
550
+ t13,
551
+ t14,
552
+ t15,
553
+ t16
554
+ ];
555
+ $[10] = t10;
556
+ $[11] = t11;
557
+ $[12] = t12;
558
+ $[13] = t13;
559
+ $[14] = t14;
560
+ $[15] = t15;
561
+ $[16] = t16;
562
+ $[17] = t9;
563
+ $[18] = t17;
564
+ } else t17 = $[18];
565
+ const t18 = cn(defaultClassNames.day_button, className);
566
+ const t19 = size === "xxs" || size === "xs" ? "xs" : size === "xl" || size === "xxl" ? "md" : "sm";
567
+ const t20 = isSelected || modifiers.today ? "medium" : "normal";
568
+ let t21;
569
+ if ($[19] === Symbol.for("react.memo_cache_sentinel")) {
570
+ t21 = { color: "inherit" };
571
+ $[19] = t21;
572
+ } else t21 = $[19];
573
+ let t22;
574
+ if ($[20] !== day.date) {
575
+ t22 = day.date.getDate();
576
+ $[20] = day.date;
577
+ $[21] = t22;
578
+ } else t22 = $[21];
579
+ let t23;
580
+ if ($[22] !== t19 || $[23] !== t20 || $[24] !== t22) {
581
+ t23 = /* @__PURE__ */ jsx(Text, {
582
+ size: t19,
583
+ weight: t20,
584
+ style: t21,
585
+ children: t22
586
+ });
587
+ $[22] = t19;
588
+ $[23] = t20;
589
+ $[24] = t22;
590
+ $[25] = t23;
591
+ } else t23 = $[25];
592
+ let t24;
593
+ if ($[26] !== T0 || $[27] !== isSelected || $[28] !== modifiers.range_end || $[29] !== modifiers.range_middle || $[30] !== modifiers.range_start || $[31] !== props || $[32] !== t17 || $[33] !== t18 || $[34] !== t23 || $[35] !== t5) {
594
+ t24 = /* @__PURE__ */ jsx(T0, {
595
+ ref,
596
+ variant: t3,
597
+ size: t4,
598
+ "data-day": t5,
599
+ "data-selected-single": isSelected,
600
+ "data-range-start": t6,
601
+ "data-range-end": t7,
602
+ "data-range-middle": t8,
603
+ sx: t17,
604
+ className: t18,
605
+ ...props,
606
+ children: t23
607
+ });
608
+ $[26] = T0;
609
+ $[27] = isSelected;
610
+ $[28] = modifiers.range_end;
611
+ $[29] = modifiers.range_middle;
612
+ $[30] = modifiers.range_start;
613
+ $[31] = props;
614
+ $[32] = t17;
615
+ $[33] = t18;
616
+ $[34] = t23;
617
+ $[35] = t5;
618
+ $[36] = t24;
619
+ } else t24 = $[36];
620
+ return t24;
505
621
  }
506
- export { b as Calendar, x as CalendarDayButton };
622
+ export { Calendar, CalendarDayButton };