@vlrc-fe/components 3.0.2 → 3.0.4

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 (685) hide show
  1. package/CHANGELOG.md +30 -1
  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 +276 -1
  6. package/dist/ConfirmModal.js +119 -103
  7. package/dist/DataTable/DataTable.cjs +203 -1
  8. package/dist/DataTable/DataTable.js +161 -120
  9. package/dist/DataTable/components/DataTableColumnHeader.cjs +214 -1
  10. package/dist/DataTable/components/DataTableColumnHeader.d.ts +3 -3
  11. package/dist/DataTable/components/DataTableColumnHeader.d.ts.map +1 -1
  12. package/dist/DataTable/components/DataTableColumnHeader.js +201 -103
  13. package/dist/DataTable/components/DataTableFacetedFilter.cjs +332 -1
  14. package/dist/DataTable/components/DataTableFacetedFilter.d.ts +3 -3
  15. package/dist/DataTable/components/DataTableFacetedFilter.d.ts.map +1 -1
  16. package/dist/DataTable/components/DataTableFacetedFilter.js +285 -181
  17. package/dist/DataTable/components/DataTablePagination.cjs +200 -1
  18. package/dist/DataTable/components/DataTablePagination.js +188 -91
  19. package/dist/DataTable/components/DataTableRowActions.cjs +172 -1
  20. package/dist/DataTable/components/DataTableRowActions.js +161 -62
  21. package/dist/DataTable/components/DataTableTable.cjs +100 -1
  22. package/dist/DataTable/components/DataTableTable.js +87 -35
  23. package/dist/DataTable/components/DataTableToolbar.cjs +112 -1
  24. package/dist/DataTable/components/DataTableToolbar.js +106 -44
  25. package/dist/DataTable/components/DataTableViewOptions.cjs +113 -1
  26. package/dist/DataTable/components/DataTableViewOptions.js +105 -44
  27. package/dist/DataTable/render/createColumns.cjs +84 -1
  28. package/dist/DataTable/render/createColumns.js +65 -44
  29. package/dist/DataTable/render/defaults.cjs +38 -1
  30. package/dist/DataTable/render/defaults.js +18 -13
  31. package/dist/Dropdown/Dropdown.cjs +255 -1
  32. package/dist/Dropdown/Dropdown.js +138 -108
  33. package/dist/Form/Form.cjs +439 -1
  34. package/dist/Form/Form.js +417 -206
  35. package/dist/Form/FormDatePicker/FormDatePicker.cjs +84 -1
  36. package/dist/Form/FormDatePicker/FormDatePicker.js +68 -65
  37. package/dist/Form/FormDatePicker/MonthPickerPanel.cjs +217 -1
  38. package/dist/Form/FormDatePicker/MonthPickerPanel.js +194 -101
  39. package/dist/Form/FormDatePicker/RangeDatePicker.cjs +144 -1
  40. package/dist/Form/FormDatePicker/RangeDatePicker.js +94 -77
  41. package/dist/Form/FormDatePicker/SingleDatePicker.cjs +191 -1
  42. package/dist/Form/FormDatePicker/SingleDatePicker.js +144 -114
  43. package/dist/Form/FormDatePicker/TimeInput.cjs +172 -1
  44. package/dist/Form/FormDatePicker/TimeInput.js +162 -79
  45. package/dist/Form/FormDatePicker/TimePicker.cjs +107 -1
  46. package/dist/Form/FormDatePicker/TimePicker.js +58 -43
  47. package/dist/Form/FormDatePicker/YearPickerPanel.cjs +184 -1
  48. package/dist/Form/FormDatePicker/YearPickerPanel.js +164 -84
  49. package/dist/Form/FormDatePicker/types.cjs +10 -1
  50. package/dist/Form/FormDatePicker/types.js +8 -3
  51. package/dist/Form/FormDatePicker/useFormDatePicker.cjs +70 -1
  52. package/dist/Form/FormDatePicker/useFormDatePicker.js +58 -31
  53. package/dist/Form/FormFileUpload/FileUpload.cjs +603 -1
  54. package/dist/Form/FormFileUpload/FileUpload.d.ts +41 -3
  55. package/dist/Form/FormFileUpload/FileUpload.d.ts.map +1 -1
  56. package/dist/Form/FormFileUpload/FileUpload.js +454 -275
  57. package/dist/Form/FormFileUpload/index.cjs +175 -1
  58. package/dist/Form/FormFileUpload/index.d.ts.map +1 -1
  59. package/dist/Form/FormFileUpload/index.js +170 -28
  60. package/dist/Form/FormMultiSelect/FormMultiSelect.cjs +46 -1
  61. package/dist/Form/FormMultiSelect/FormMultiSelect.js +42 -22
  62. package/dist/Form/FormNumberInput/FormNumberInput.cjs +71 -1
  63. package/dist/Form/FormNumberInput/FormNumberInput.js +60 -58
  64. package/dist/Form/FormNumberInput/StepperControls.cjs +104 -1
  65. package/dist/Form/FormNumberInput/StepperControls.js +78 -43
  66. package/dist/Form/FormNumberInput/useFormNumberInput.cjs +72 -1
  67. package/dist/Form/FormNumberInput/useFormNumberInput.js +68 -39
  68. package/dist/Form/FormRadioGroup/FormRadio.cjs +65 -1
  69. package/dist/Form/FormRadioGroup/FormRadio.js +38 -38
  70. package/dist/Form/FormRadioGroup/useFormRadio.cjs +38 -1
  71. package/dist/Form/FormRadioGroup/useFormRadio.js +27 -16
  72. package/dist/Form/FormSelect/FormSelect.cjs +46 -1
  73. package/dist/Form/FormSelect/FormSelect.js +40 -26
  74. package/dist/Form/FormSelect/useFormSelect.cjs +58 -1
  75. package/dist/Form/FormSelect/useFormSelect.js +52 -43
  76. package/dist/Icons/Icons.cjs +155 -1
  77. package/dist/Icons/Icons.js +142 -142
  78. package/dist/Modal.cjs +135 -1
  79. package/dist/Modal.js +67 -54
  80. package/dist/MultiSelect/MultiSelect.cjs +211 -1
  81. package/dist/MultiSelect/MultiSelect.js +127 -117
  82. package/dist/MultiSelect/renderers.cjs +571 -1
  83. package/dist/MultiSelect/renderers.js +508 -309
  84. package/dist/MultiSelect/useMultiSelect.cjs +243 -1
  85. package/dist/MultiSelect/useMultiSelect.js +207 -127
  86. package/dist/MultiSelect/utils.cjs +123 -1
  87. package/dist/MultiSelect/utils.js +79 -51
  88. package/dist/Select/BaseSelect.cjs +265 -1
  89. package/dist/Select/BaseSelect.js +165 -126
  90. package/dist/Select/MultiSelectTags.cjs +129 -1
  91. package/dist/Select/MultiSelectTags.js +82 -56
  92. package/dist/Typography/Blockquote.cjs +79 -1
  93. package/dist/Typography/Blockquote.js +40 -38
  94. package/dist/Typography/Code.cjs +131 -1
  95. package/dist/Typography/Code.js +64 -58
  96. package/dist/Typography/Link.cjs +141 -1
  97. package/dist/Typography/Link.d.ts +1 -2
  98. package/dist/Typography/Link.d.ts.map +1 -1
  99. package/dist/Typography/Link.js +74 -63
  100. package/dist/Typography/Paragraph.cjs +226 -1
  101. package/dist/Typography/Paragraph.d.ts +1 -2
  102. package/dist/Typography/Paragraph.d.ts.map +1 -1
  103. package/dist/Typography/Paragraph.js +119 -107
  104. package/dist/Typography/Text.cjs +224 -1
  105. package/dist/Typography/Text.d.ts +1 -2
  106. package/dist/Typography/Text.d.ts.map +1 -1
  107. package/dist/Typography/Text.js +117 -100
  108. package/dist/Typography/Title.cjs +220 -1
  109. package/dist/Typography/Title.d.ts +1 -2
  110. package/dist/Typography/Title.d.ts.map +1 -1
  111. package/dist/Typography/Title.js +125 -103
  112. package/dist/Typography/Typography.cjs +17 -1
  113. package/dist/Typography/Typography.js +14 -14
  114. package/dist/Typography/index.d.ts +1 -1
  115. package/dist/Typography/index.d.ts.map +1 -1
  116. package/dist/Typography/index.js +13 -13
  117. package/dist/Typography/tooltip.cjs +42 -1
  118. package/dist/Typography/tooltip.js +34 -14
  119. package/dist/Typography/types.cjs +20 -1
  120. package/dist/Typography/types.js +5 -2
  121. package/dist/Typography/utils.cjs +52 -1
  122. package/dist/Typography/utils.js +48 -21
  123. package/dist/Typography/weightStyles.cjs +58 -1
  124. package/dist/Typography/weightStyles.js +26 -25
  125. package/dist/_virtual/_rolldown/runtime.cjs +32 -1
  126. package/dist/_virtual/_rolldown/runtime.js +9 -7
  127. package/dist/assets/stylex.css +135 -1
  128. package/dist/astryx.cjs +18 -1
  129. package/dist/astryx.d.ts.map +1 -1
  130. package/dist/astryx.js +2 -1
  131. package/dist/index.cjs +789 -1
  132. package/dist/index.js +122 -118
  133. package/dist/layout/Box.cjs +203 -1
  134. package/dist/layout/Box.d.ts +8 -8
  135. package/dist/layout/Box.d.ts.map +1 -1
  136. package/dist/layout/Box.js +138 -49
  137. package/dist/layout/Center.cjs +51 -1
  138. package/dist/layout/Center.d.ts +3 -3
  139. package/dist/layout/Center.d.ts.map +1 -1
  140. package/dist/layout/Center.js +49 -20
  141. package/dist/layout/Container.cjs +81 -1
  142. package/dist/layout/Container.d.ts +8 -8
  143. package/dist/layout/Container.d.ts.map +1 -1
  144. package/dist/layout/Container.js +34 -30
  145. package/dist/layout/Stack.cjs +237 -1
  146. package/dist/layout/Stack.d.ts +9 -9
  147. package/dist/layout/Stack.d.ts.map +1 -1
  148. package/dist/layout/Stack.js +220 -75
  149. package/dist/layout/index.js +9 -9
  150. package/dist/lazyLoad.cjs +13 -1
  151. package/dist/lazyLoad.js +9 -9
  152. package/dist/node_modules/.pnpm/@floating-ui_core@1.8.0/node_modules/@floating-ui/core/dist/floating-ui.core.cjs +551 -1
  153. package/dist/node_modules/.pnpm/@floating-ui_core@1.8.0/node_modules/@floating-ui/core/dist/floating-ui.core.js +440 -234
  154. package/dist/node_modules/.pnpm/@floating-ui_dom@1.8.0/node_modules/@floating-ui/dom/dist/floating-ui.dom.cjs +546 -1
  155. package/dist/node_modules/.pnpm/@floating-ui_dom@1.8.0/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +452 -236
  156. 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
  157. 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
  158. package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.cjs +150 -1
  159. package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.cjs +132 -1
  160. package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +90 -74
  161. package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +92 -67
  162. package/dist/node_modules/.pnpm/@radix-ui_number@1.1.3/node_modules/@radix-ui/number/dist/index.cjs +11 -1
  163. package/dist/node_modules/.pnpm/@radix-ui_number@1.1.3/node_modules/@radix-ui/number/dist/index.js +8 -7
  164. package/dist/node_modules/.pnpm/@radix-ui_primitive@1.1.7/node_modules/@radix-ui/primitive/dist/index.cjs +48 -1
  165. package/dist/node_modules/.pnpm/@radix-ui_primitive@1.1.7/node_modules/@radix-ui/primitive/dist/index.js +34 -31
  166. 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
  167. 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
  168. 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
  169. 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
  170. 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
  171. 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
  172. 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
  173. 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
  174. 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
  175. 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
  176. 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
  177. 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
  178. 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
  179. 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
  180. 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
  181. 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
  182. 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
  183. 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
  184. 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
  185. 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
  186. 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
  187. 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
  188. 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
  189. 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
  190. 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
  191. 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
  192. 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
  193. 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
  194. 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
  195. 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
  196. 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
  197. 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
  198. 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
  199. 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
  200. 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
  201. 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
  202. 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
  203. 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
  204. 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
  205. 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
  206. 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
  207. 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
  208. 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
  209. 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
  210. 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
  211. 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
  212. 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
  213. 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
  214. 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
  215. 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
  216. 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
  217. 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
  218. 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
  219. 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
  220. 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
  221. 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
  222. 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
  223. 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
  224. 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
  225. 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
  226. 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
  227. 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
  228. 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
  229. 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
  230. 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
  231. 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
  232. 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
  233. 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
  234. 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
  235. 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
  236. package/dist/node_modules/.pnpm/aria-hidden@1.2.6/node_modules/aria-hidden/dist/es2015/index.cjs +106 -1
  237. package/dist/node_modules/.pnpm/aria-hidden@1.2.6/node_modules/aria-hidden/dist/es2015/index.js +95 -34
  238. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/addLeadingZeros.cjs +5 -1
  239. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/addLeadingZeros.js +3 -3
  240. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/defaultOptions.cjs +6 -1
  241. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/defaultOptions.js +4 -4
  242. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/format/formatters.cjs +423 -1
  243. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/format/formatters.js +237 -202
  244. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/format/lightFormatters.cjs +45 -1
  245. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/format/lightFormatters.js +35 -32
  246. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/format/longFormatters.cjs +42 -1
  247. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/format/longFormatters.js +37 -32
  248. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.cjs +20 -1
  249. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js +18 -5
  250. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/normalizeDates.cjs +7 -1
  251. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/normalizeDates.js +5 -5
  252. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/protectedTokens.cjs +27 -1
  253. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/protectedTokens.js +15 -12
  254. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/constants.cjs +45 -1
  255. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/constants.js +41 -4
  256. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/constructFrom.cjs +45 -1
  257. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/constructFrom.js +42 -4
  258. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/differenceInCalendarDays.cjs +49 -1
  259. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/differenceInCalendarDays.js +46 -8
  260. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/format.cjs +358 -1
  261. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/format.js +341 -45
  262. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getDayOfYear.cjs +31 -1
  263. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getDayOfYear.js +28 -7
  264. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getISOWeek.cjs +35 -1
  265. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getISOWeek.js +32 -8
  266. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getISOWeekYear.cjs +44 -1
  267. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getISOWeekYear.js +41 -11
  268. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getWeek.cjs +49 -1
  269. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getWeek.js +46 -8
  270. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getWeekYear.cjs +61 -1
  271. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getWeekYear.js +58 -12
  272. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/isDate.cjs +38 -1
  273. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/isDate.js +35 -3
  274. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/isValid.cjs +39 -1
  275. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/isValid.js +36 -5
  276. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildFormatLongFn.cjs +8 -1
  277. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildFormatLongFn.js +5 -5
  278. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildLocalizeFn.cjs +50 -1
  279. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildLocalizeFn.js +45 -11
  280. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildMatchFn.cjs +27 -1
  281. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildMatchFn.js +20 -14
  282. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildMatchPatternFn.cjs +18 -1
  283. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +13 -12
  284. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatDistance.cjs +77 -1
  285. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatDistance.js +14 -5
  286. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatLong.cjs +31 -1
  287. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatLong.js +6 -6
  288. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatRelative.cjs +11 -1
  289. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatRelative.js +4 -3
  290. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/localize.cjs +210 -1
  291. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/localize.js +197 -188
  292. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/match.cjs +122 -1
  293. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/match.js +12 -12
  294. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US.cjs +28 -1
  295. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US.js +20 -12
  296. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfDay.cjs +34 -1
  297. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfDay.js +31 -5
  298. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfISOWeek.cjs +37 -1
  299. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfISOWeek.js +32 -5
  300. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfISOWeekYear.cjs +41 -1
  301. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfISOWeekYear.js +38 -7
  302. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfWeek.cjs +45 -1
  303. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfWeek.js +42 -6
  304. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfWeekYear.cjs +56 -1
  305. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfWeekYear.js +53 -8
  306. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfYear.cjs +35 -1
  307. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfYear.js +32 -5
  308. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/toDate.cjs +45 -1
  309. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/toDate.js +42 -4
  310. 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
  311. 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
  312. 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
  313. 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
  314. package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/embla-carousel.esm.cjs +1391 -1
  315. package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/embla-carousel.esm.js +1178 -803
  316. package/dist/node_modules/.pnpm/get-nonce@1.0.1/node_modules/get-nonce/dist/es2015/index.cjs +7 -1
  317. package/dist/node_modules/.pnpm/get-nonce@1.0.1/node_modules/get-nonce/dist/es2015/index.js +3 -4
  318. 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
  319. 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
  320. 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
  321. 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
  322. 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
  323. 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
  324. 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
  325. 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
  326. 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
  327. 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
  328. 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
  329. 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
  330. 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
  331. 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
  332. 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
  333. 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
  334. 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
  335. 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
  336. 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
  337. 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
  338. 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
  339. 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
  340. 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
  341. 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
  342. 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
  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/sidecar.cjs +6 -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/sidecar.js +5 -5
  345. 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
  346. 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
  347. 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
  348. 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
  349. 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
  350. 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
  351. 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
  352. 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
  353. 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
  354. package/dist/node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.cjs +36 -1
  355. package/dist/node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.js +25 -14
  356. 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
  357. 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
  358. 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
  359. 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
  360. 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
  361. 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
  362. 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
  363. 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
  364. 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
  365. 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
  366. 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
  367. 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
  368. package/dist/theme/index.cjs +63 -1
  369. package/dist/theme/index.js +31 -31
  370. package/dist/theme/spacing.cjs +93 -1
  371. package/dist/theme/spacing.js +52 -26
  372. package/dist/theme/tokens.stylex.cjs +210 -1
  373. package/dist/theme/tokens.stylex.js +58 -26
  374. package/dist/theme/types.cjs +13 -1
  375. package/dist/theme/types.js +4 -3
  376. package/dist/theme/width.cjs +39 -1
  377. package/dist/theme/width.js +16 -4
  378. package/dist/theme/zIndex.cjs +64 -1
  379. package/dist/theme/zIndex.js +44 -15
  380. package/dist/theme.css +135 -1
  381. package/dist/ui/accordion.cjs +431 -1
  382. package/dist/ui/accordion.d.ts +10 -10
  383. package/dist/ui/accordion.d.ts.map +1 -1
  384. package/dist/ui/accordion.js +276 -136
  385. package/dist/ui/action-bar.cjs +274 -1
  386. package/dist/ui/action-bar.d.ts +11 -11
  387. package/dist/ui/action-bar.d.ts.map +1 -1
  388. package/dist/ui/action-bar.js +204 -98
  389. package/dist/ui/alert-dialog.cjs +538 -1
  390. package/dist/ui/alert-dialog.d.ts +19 -19
  391. package/dist/ui/alert-dialog.d.ts.map +1 -1
  392. package/dist/ui/alert-dialog.js +459 -167
  393. package/dist/ui/alert.cjs +163 -1
  394. package/dist/ui/alert.d.ts +7 -7
  395. package/dist/ui/alert.d.ts.map +1 -1
  396. package/dist/ui/alert.js +111 -50
  397. package/dist/ui/aspect-ratio.cjs +25 -1
  398. package/dist/ui/aspect-ratio.d.ts +2 -2
  399. package/dist/ui/aspect-ratio.d.ts.map +1 -1
  400. package/dist/ui/aspect-ratio.js +22 -12
  401. package/dist/ui/avatar.cjs +341 -1
  402. package/dist/ui/avatar.d.ts +10 -10
  403. package/dist/ui/avatar.d.ts.map +1 -1
  404. package/dist/ui/avatar.js +226 -114
  405. package/dist/ui/badge-overflow.cjs +66 -1
  406. package/dist/ui/badge-overflow.d.ts +5 -5
  407. package/dist/ui/badge-overflow.d.ts.map +1 -1
  408. package/dist/ui/badge-overflow.js +34 -27
  409. package/dist/ui/badge.cjs +167 -1
  410. package/dist/ui/badge.d.ts +3 -3
  411. package/dist/ui/badge.d.ts.map +1 -1
  412. package/dist/ui/badge.js +48 -42
  413. package/dist/ui/breadcrumb.cjs +508 -1
  414. package/dist/ui/breadcrumb.d.ts +15 -15
  415. package/dist/ui/breadcrumb.d.ts.map +1 -1
  416. package/dist/ui/breadcrumb.js +386 -159
  417. package/dist/ui/button.cjs +425 -1
  418. package/dist/ui/button.d.ts +3 -3
  419. package/dist/ui/button.d.ts.map +1 -1
  420. package/dist/ui/button.js +137 -117
  421. package/dist/ui/calendar.cjs +626 -1
  422. package/dist/ui/calendar.d.ts +5 -5
  423. package/dist/ui/calendar.d.ts.map +1 -1
  424. package/dist/ui/calendar.js +309 -192
  425. package/dist/ui/card.cjs +401 -1
  426. package/dist/ui/card.d.ts +15 -15
  427. package/dist/ui/card.d.ts.map +1 -1
  428. package/dist/ui/card.js +300 -119
  429. package/dist/ui/carousel.cjs +333 -1
  430. package/dist/ui/carousel.d.ts +10 -10
  431. package/dist/ui/carousel.d.ts.map +1 -1
  432. package/dist/ui/carousel.js +245 -126
  433. package/dist/ui/checkbox.cjs +167 -1
  434. package/dist/ui/checkbox.d.ts +4 -4
  435. package/dist/ui/checkbox.d.ts.map +1 -1
  436. package/dist/ui/checkbox.js +66 -58
  437. package/dist/ui/circular-progress.cjs +139 -1
  438. package/dist/ui/circular-progress.d.ts +4 -4
  439. package/dist/ui/circular-progress.d.ts.map +1 -1
  440. package/dist/ui/circular-progress.js +65 -52
  441. package/dist/ui/code-block.cjs +819 -0
  442. package/dist/ui/code-block.d.ts +81 -0
  443. package/dist/ui/code-block.d.ts.map +1 -0
  444. package/dist/ui/code-block.js +809 -0
  445. package/dist/ui/collapsible.cjs +65 -1
  446. package/dist/ui/collapsible.d.ts +4 -4
  447. package/dist/ui/collapsible.d.ts.map +1 -1
  448. package/dist/ui/collapsible.js +58 -28
  449. package/dist/ui/command.cjs +556 -1
  450. package/dist/ui/command.d.ts +19 -19
  451. package/dist/ui/command.d.ts.map +1 -1
  452. package/dist/ui/command.js +432 -163
  453. package/dist/ui/compare-slider.cjs +170 -1
  454. package/dist/ui/compare-slider.d.ts +7 -7
  455. package/dist/ui/compare-slider.d.ts.map +1 -1
  456. package/dist/ui/compare-slider.js +106 -72
  457. package/dist/ui/context-menu.cjs +811 -1
  458. package/dist/ui/context-menu.d.ts +26 -26
  459. package/dist/ui/context-menu.d.ts.map +1 -1
  460. package/dist/ui/context-menu.js +693 -228
  461. package/dist/ui/copy-button.cjs +94 -1
  462. package/dist/ui/copy-button.d.ts +1 -2
  463. package/dist/ui/copy-button.d.ts.map +1 -1
  464. package/dist/ui/copy-button.js +56 -44
  465. package/dist/ui/dialog.cjs +409 -1
  466. package/dist/ui/dialog.d.ts +18 -18
  467. package/dist/ui/dialog.d.ts.map +1 -1
  468. package/dist/ui/dialog.js +317 -131
  469. package/dist/ui/drawer.cjs +476 -1
  470. package/dist/ui/drawer.d.ts +17 -17
  471. package/dist/ui/drawer.d.ts.map +1 -1
  472. package/dist/ui/drawer.js +394 -151
  473. package/dist/ui/dropdown-menu.cjs +638 -1
  474. package/dist/ui/dropdown-menu.d.ts +26 -26
  475. package/dist/ui/dropdown-menu.d.ts.map +1 -1
  476. package/dist/ui/dropdown-menu.js +511 -208
  477. package/dist/ui/editable.cjs +608 -1
  478. package/dist/ui/editable.d.ts +14 -14
  479. package/dist/ui/editable.d.ts.map +1 -1
  480. package/dist/ui/editable.js +478 -218
  481. package/dist/ui/empty.cjs +310 -1
  482. package/dist/ui/empty.d.ts +15 -15
  483. package/dist/ui/empty.d.ts.map +1 -1
  484. package/dist/ui/empty.js +277 -107
  485. package/dist/ui/field.cjs +621 -1
  486. package/dist/ui/field.d.ts +21 -21
  487. package/dist/ui/field.d.ts.map +1 -1
  488. package/dist/ui/field.js +468 -198
  489. package/dist/ui/file-upload-adapters.cjs +289 -1
  490. package/dist/ui/file-upload-adapters.d.ts +1 -2
  491. package/dist/ui/file-upload-adapters.d.ts.map +1 -1
  492. package/dist/ui/file-upload-adapters.js +244 -170
  493. package/dist/ui/file-upload.cjs +1481 -1
  494. package/dist/ui/file-upload.d.ts +22 -22
  495. package/dist/ui/file-upload.d.ts.map +1 -1
  496. package/dist/ui/file-upload.js +1064 -598
  497. package/dist/ui/flex.cjs +203 -1
  498. package/dist/ui/flex.d.ts +6 -6
  499. package/dist/ui/flex.d.ts.map +1 -1
  500. package/dist/ui/flex.js +111 -92
  501. package/dist/ui/form.cjs +454 -1
  502. package/dist/ui/form.d.ts +11 -11
  503. package/dist/ui/form.d.ts.map +1 -1
  504. package/dist/ui/form.js +421 -135
  505. package/dist/ui/gauge.cjs +127 -1
  506. package/dist/ui/gauge.d.ts +6 -6
  507. package/dist/ui/gauge.d.ts.map +1 -1
  508. package/dist/ui/gauge.js +61 -52
  509. package/dist/ui/grid.cjs +224 -1
  510. package/dist/ui/grid.d.ts +7 -7
  511. package/dist/ui/grid.d.ts.map +1 -1
  512. package/dist/ui/grid.js +125 -94
  513. package/dist/ui/hover-card.cjs +86 -1
  514. package/dist/ui/hover-card.d.ts +6 -6
  515. package/dist/ui/hover-card.d.ts.map +1 -1
  516. package/dist/ui/hover-card.js +57 -36
  517. package/dist/ui/index.d.ts +4 -0
  518. package/dist/ui/index.d.ts.map +1 -1
  519. package/dist/ui/input-group.cjs +328 -1
  520. package/dist/ui/input-group.d.ts +12 -12
  521. package/dist/ui/input-group.d.ts.map +1 -1
  522. package/dist/ui/input-group.js +207 -105
  523. package/dist/ui/input-otp.cjs +312 -1
  524. package/dist/ui/input-otp.d.ts +10 -10
  525. package/dist/ui/input-otp.d.ts.map +1 -1
  526. package/dist/ui/input-otp.js +217 -94
  527. package/dist/ui/input.cjs +388 -1
  528. package/dist/ui/input.d.ts +3 -3
  529. package/dist/ui/input.d.ts.map +1 -1
  530. package/dist/ui/input.js +137 -119
  531. package/dist/ui/item.cjs +585 -1
  532. package/dist/ui/item.d.ts +20 -20
  533. package/dist/ui/item.d.ts.map +1 -1
  534. package/dist/ui/item.js +460 -162
  535. package/dist/ui/kbd.cjs +115 -1
  536. package/dist/ui/kbd.d.ts +5 -5
  537. package/dist/ui/kbd.d.ts.map +1 -1
  538. package/dist/ui/kbd.js +42 -37
  539. package/dist/ui/label.cjs +67 -1
  540. package/dist/ui/label.d.ts +4 -4
  541. package/dist/ui/label.d.ts.map +1 -1
  542. package/dist/ui/label.js +51 -21
  543. package/dist/ui/marker.cjs +294 -0
  544. package/dist/ui/marker.d.ts +22 -0
  545. package/dist/ui/marker.d.ts.map +1 -0
  546. package/dist/ui/marker.js +290 -0
  547. package/dist/ui/masonry.cjs +58 -1
  548. package/dist/ui/masonry.d.ts +4 -4
  549. package/dist/ui/masonry.d.ts.map +1 -1
  550. package/dist/ui/masonry.js +41 -36
  551. package/dist/ui/menubar.cjs +908 -1
  552. package/dist/ui/menubar.d.ts +29 -29
  553. package/dist/ui/menubar.d.ts.map +1 -1
  554. package/dist/ui/menubar.js +737 -251
  555. package/dist/ui/navigation-menu.cjs +560 -1
  556. package/dist/ui/navigation-menu.d.ts +18 -18
  557. package/dist/ui/navigation-menu.d.ts.map +1 -1
  558. package/dist/ui/navigation-menu.js +442 -148
  559. package/dist/ui/pagination.cjs +575 -1
  560. package/dist/ui/pagination.d.ts +13 -13
  561. package/dist/ui/pagination.d.ts.map +1 -1
  562. package/dist/ui/pagination.js +422 -172
  563. package/dist/ui/popover.cjs +93 -1
  564. package/dist/ui/popover.d.ts +7 -7
  565. package/dist/ui/popover.d.ts.map +1 -1
  566. package/dist/ui/popover.js +61 -42
  567. package/dist/ui/progress.cjs +33 -1
  568. package/dist/ui/progress.d.ts +3 -3
  569. package/dist/ui/progress.d.ts.map +1 -1
  570. package/dist/ui/progress.js +19 -17
  571. package/dist/ui/questionnaire.cjs +679 -0
  572. package/dist/ui/questionnaire.d.ts +101 -0
  573. package/dist/ui/questionnaire.d.ts.map +1 -0
  574. package/dist/ui/questionnaire.js +667 -0
  575. package/dist/ui/radio-group.cjs +221 -1
  576. package/dist/ui/radio-group.d.ts +6 -6
  577. package/dist/ui/radio-group.d.ts.map +1 -1
  578. package/dist/ui/radio-group.js +125 -74
  579. package/dist/ui/rating.cjs +191 -1
  580. package/dist/ui/rating.d.ts +3 -3
  581. package/dist/ui/rating.d.ts.map +1 -1
  582. package/dist/ui/rating.js +96 -78
  583. package/dist/ui/resizable.cjs +175 -1
  584. package/dist/ui/resizable.d.ts +7 -7
  585. package/dist/ui/resizable.d.ts.map +1 -1
  586. package/dist/ui/resizable.js +150 -54
  587. package/dist/ui/responsive-dialog.cjs +400 -1
  588. package/dist/ui/responsive-dialog.d.ts +17 -17
  589. package/dist/ui/responsive-dialog.d.ts.map +1 -1
  590. package/dist/ui/responsive-dialog.js +372 -155
  591. package/dist/ui/row-col.cjs +510 -1
  592. package/dist/ui/row-col.d.ts +11 -11
  593. package/dist/ui/row-col.d.ts.map +1 -1
  594. package/dist/ui/row-col.js +238 -205
  595. package/dist/ui/scroll-area.cjs +142 -1
  596. package/dist/ui/scroll-area.d.ts +6 -6
  597. package/dist/ui/scroll-area.d.ts.map +1 -1
  598. package/dist/ui/scroll-area.js +103 -47
  599. package/dist/ui/segmented.cjs +170 -1
  600. package/dist/ui/segmented.d.ts +5 -5
  601. package/dist/ui/segmented.d.ts.map +1 -1
  602. package/dist/ui/segmented.js +75 -62
  603. package/dist/ui/select.cjs +484 -1
  604. package/dist/ui/select.d.ts +17 -17
  605. package/dist/ui/select.d.ts.map +1 -1
  606. package/dist/ui/select.js +353 -160
  607. package/dist/ui/separator.cjs +44 -1
  608. package/dist/ui/separator.d.ts +4 -4
  609. package/dist/ui/separator.d.ts.map +1 -1
  610. package/dist/ui/separator.js +17 -17
  611. package/dist/ui/sheet.cjs +460 -1
  612. package/dist/ui/sheet.d.ts +16 -16
  613. package/dist/ui/sheet.d.ts.map +1 -1
  614. package/dist/ui/sheet.js +329 -141
  615. package/dist/ui/sidebar.cjs +1453 -1
  616. package/dist/ui/sidebar.d.ts +48 -48
  617. package/dist/ui/sidebar.d.ts.map +1 -1
  618. package/dist/ui/sidebar.js +1057 -438
  619. package/dist/ui/signature-pad.cjs +740 -0
  620. package/dist/ui/signature-pad.d.ts +107 -0
  621. package/dist/ui/signature-pad.d.ts.map +1 -0
  622. package/dist/ui/signature-pad.js +730 -0
  623. package/dist/ui/skeleton.cjs +62 -1
  624. package/dist/ui/skeleton.d.ts +3 -3
  625. package/dist/ui/skeleton.d.ts.map +1 -1
  626. package/dist/ui/skeleton.js +50 -20
  627. package/dist/ui/slider.cjs +47 -1
  628. package/dist/ui/slider.d.ts +4 -4
  629. package/dist/ui/slider.d.ts.map +1 -1
  630. package/dist/ui/slider.js +27 -26
  631. package/dist/ui/sonner.cjs +28 -1
  632. package/dist/ui/sonner.js +24 -22
  633. package/dist/ui/spinner.cjs +73 -1
  634. package/dist/ui/spinner.d.ts +3 -3
  635. package/dist/ui/spinner.d.ts.map +1 -1
  636. package/dist/ui/spinner.js +29 -28
  637. package/dist/ui/stat.cjs +334 -1
  638. package/dist/ui/stat.d.ts +15 -15
  639. package/dist/ui/stat.d.ts.map +1 -1
  640. package/dist/ui/stat.js +271 -130
  641. package/dist/ui/stepper.cjs +785 -1
  642. package/dist/ui/stepper.d.ts +24 -24
  643. package/dist/ui/stepper.d.ts.map +1 -1
  644. package/dist/ui/stepper.js +594 -281
  645. package/dist/ui/switch.cjs +203 -1
  646. package/dist/ui/switch.d.ts +4 -4
  647. package/dist/ui/switch.d.ts.map +1 -1
  648. package/dist/ui/switch.js +83 -72
  649. package/dist/ui/table.cjs +435 -1
  650. package/dist/ui/table.d.ts +17 -17
  651. package/dist/ui/table.d.ts.map +1 -1
  652. package/dist/ui/table.js +369 -129
  653. package/dist/ui/tabs.cjs +340 -1
  654. package/dist/ui/tabs.d.ts +10 -10
  655. package/dist/ui/tabs.d.ts.map +1 -1
  656. package/dist/ui/tabs.js +204 -95
  657. package/dist/ui/tags-input.cjs +585 -1
  658. package/dist/ui/tags-input.d.ts +13 -13
  659. package/dist/ui/tags-input.d.ts.map +1 -1
  660. package/dist/ui/tags-input.js +446 -221
  661. package/dist/ui/textarea.cjs +119 -1
  662. package/dist/ui/textarea.d.ts +3 -3
  663. package/dist/ui/textarea.d.ts.map +1 -1
  664. package/dist/ui/textarea.js +37 -33
  665. package/dist/ui/timeline.cjs +583 -1
  666. package/dist/ui/timeline.d.ts +22 -22
  667. package/dist/ui/timeline.d.ts.map +1 -1
  668. package/dist/ui/timeline.js +409 -198
  669. package/dist/ui/toggle-group.cjs +128 -1
  670. package/dist/ui/toggle-group.d.ts +7 -7
  671. package/dist/ui/toggle-group.d.ts.map +1 -1
  672. package/dist/ui/toggle-group.js +92 -41
  673. package/dist/ui/toggle.cjs +145 -1
  674. package/dist/ui/toggle.d.ts +4 -4
  675. package/dist/ui/toggle.d.ts.map +1 -1
  676. package/dist/ui/toggle.js +38 -34
  677. package/dist/ui/tooltip.cjs +81 -1
  678. package/dist/ui/tooltip.d.ts +7 -7
  679. package/dist/ui/tooltip.d.ts.map +1 -1
  680. package/dist/ui/tooltip.js +50 -37
  681. package/dist/ui/useBreakpoint.cjs +91 -1
  682. package/dist/ui/useBreakpoint.js +66 -43
  683. package/dist/utils.cjs +9 -1
  684. package/dist/utils.js +4 -4
  685. package/package.json +10 -2
@@ -1,114 +1,212 @@
1
- import { Text as e } from "../../Typography/Text.js";
2
- import { Button as t } from "../../ui/button.js";
3
- import { Flex as n } from "../../ui/flex.js";
4
- import { DropdownMenu as r, DropdownMenuContent as i, DropdownMenuItem as a, DropdownMenuSeparator as o, DropdownMenuTrigger as s } from "../../ui/dropdown-menu.js";
1
+ import { Text } from "../../Typography/Text.js";
2
+ import { Button } from "../../ui/button.js";
3
+ import { Flex } from "../../ui/flex.js";
4
+ import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuSeparator, DropdownMenuTrigger } from "../../ui/dropdown-menu.js";
5
5
  import "@stylexjs/stylex";
6
- import { ArrowDown as c, ArrowUp as l, ArrowUpDown as u, EyeOff as d } from "lucide-react";
7
- import { Fragment as f, jsx as p, jsxs as m } from "react/jsx-runtime";
6
+ import { ArrowDown, ArrowUp, ArrowUpDown, EyeOff } from "lucide-react";
7
+ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
8
8
  import "react";
9
- import { c as h } from "react/compiler-runtime";
9
+ import { c } from "react/compiler-runtime";
10
10
  // src/DataTable/components/DataTableColumnHeader.tsx
11
- var g = { root: {
11
+ var styles = { root: {
12
12
  kZKoxP: "xettwda",
13
13
  koQZXg: "xxyw1jk",
14
- $$css: !0
14
+ $$css: true
15
15
  } };
16
- function _(_) {
17
- let v = h(47), y, b, x, S, C;
18
- if (v[0] === _ ? (y = v[1], b = v[2], x = v[3], S = v[4], C = v[5]) : ({column: b, title: C, sx: S, className: y, ...x} = _, v[0] = _, v[1] = y, v[2] = b, v[3] = x, v[4] = S, v[5] = C), !b.getCanSort()) {
19
- let t;
20
- v[6] === C ? t = v[7] : (t = /* @__PURE__ */ p(e, {
16
+ function DataTableColumnHeader(t0) {
17
+ const $ = c(47);
18
+ let className;
19
+ let column;
20
+ let props;
21
+ let sx;
22
+ let title;
23
+ if ($[0] !== t0) {
24
+ ({column, title, sx, className, ...props} = t0);
25
+ $[0] = t0;
26
+ $[1] = className;
27
+ $[2] = column;
28
+ $[3] = props;
29
+ $[4] = sx;
30
+ $[5] = title;
31
+ } else {
32
+ className = $[1];
33
+ column = $[2];
34
+ props = $[3];
35
+ sx = $[4];
36
+ title = $[5];
37
+ }
38
+ if (!column.getCanSort()) {
39
+ let t1;
40
+ if ($[6] !== title) {
41
+ t1 = /* @__PURE__ */ jsx(Text, {
42
+ size: "sm",
43
+ weight: "medium",
44
+ children: title
45
+ });
46
+ $[6] = title;
47
+ $[7] = t1;
48
+ } else t1 = $[7];
49
+ let t2;
50
+ if ($[8] !== className || $[9] !== props || $[10] !== sx || $[11] !== t1) {
51
+ t2 = /* @__PURE__ */ jsx(Flex, {
52
+ align: "center",
53
+ "data-slot": "data-table-column-header",
54
+ sx,
55
+ className,
56
+ ...props,
57
+ children: t1
58
+ });
59
+ $[8] = className;
60
+ $[9] = props;
61
+ $[10] = sx;
62
+ $[11] = t1;
63
+ $[12] = t2;
64
+ } else t2 = $[12];
65
+ return t2;
66
+ }
67
+ let t1;
68
+ if ($[13] !== column) {
69
+ t1 = column.getIsSorted();
70
+ $[13] = column;
71
+ $[14] = t1;
72
+ } else t1 = $[14];
73
+ const isSorted = t1;
74
+ let t2;
75
+ if ($[15] === Symbol.for("react.memo_cache_sentinel")) {
76
+ t2 = [styles.root];
77
+ $[15] = t2;
78
+ } else t2 = $[15];
79
+ let t3;
80
+ if ($[16] !== title) {
81
+ t3 = /* @__PURE__ */ jsx(Text, {
21
82
  size: "sm",
22
83
  weight: "medium",
23
- children: C
24
- }), v[6] = C, v[7] = t);
25
- let r;
26
- return v[8] !== y || v[9] !== x || v[10] !== S || v[11] !== t ? (r = /* @__PURE__ */ p(n, {
84
+ children: title
85
+ });
86
+ $[16] = title;
87
+ $[17] = t3;
88
+ } else t3 = $[17];
89
+ let t4;
90
+ if ($[18] !== isSorted) {
91
+ t4 = isSorted === "desc" ? /* @__PURE__ */ jsx(ArrowDown, {
92
+ "data-slot": "sort-icon-desc",
93
+ className: "x1xvt488 xf08kfj xko4hcy"
94
+ }) : isSorted === "asc" ? /* @__PURE__ */ jsx(ArrowUp, {
95
+ "data-slot": "sort-icon-asc",
96
+ className: "x1xvt488 xf08kfj xko4hcy"
97
+ }) : /* @__PURE__ */ jsx(ArrowUpDown, {
98
+ "data-slot": "sort-icon-none",
99
+ className: "x1xvt488 xf08kfj xko4hcy"
100
+ });
101
+ $[18] = isSorted;
102
+ $[19] = t4;
103
+ } else t4 = $[19];
104
+ let t5;
105
+ if ($[20] !== t3 || $[21] !== t4) {
106
+ t5 = /* @__PURE__ */ jsx(DropdownMenuTrigger, {
107
+ asChild: true,
108
+ children: /* @__PURE__ */ jsxs(Button, {
109
+ variant: "ghost",
110
+ size: "sm",
111
+ "data-slot": "data-table-column-header-trigger",
112
+ sx: t2,
113
+ children: [t3, t4]
114
+ })
115
+ });
116
+ $[20] = t3;
117
+ $[21] = t4;
118
+ $[22] = t5;
119
+ } else t5 = $[22];
120
+ let t6;
121
+ if ($[23] !== column) {
122
+ t6 = () => column.toggleSorting(false);
123
+ $[23] = column;
124
+ $[24] = t6;
125
+ } else t6 = $[24];
126
+ let t7;
127
+ if ($[25] === Symbol.for("react.memo_cache_sentinel")) {
128
+ t7 = /* @__PURE__ */ jsx(ArrowUp, { className: "x1xvt488 xf08kfj xpoiemb x1ks1olk" });
129
+ $[25] = t7;
130
+ } else t7 = $[25];
131
+ let t8;
132
+ if ($[26] !== t6) {
133
+ t8 = /* @__PURE__ */ jsxs(DropdownMenuItem, {
134
+ "data-slot": "sort-asc",
135
+ onClick: t6,
136
+ children: [t7, "Asc"]
137
+ });
138
+ $[26] = t6;
139
+ $[27] = t8;
140
+ } else t8 = $[27];
141
+ let t9;
142
+ if ($[28] !== column) {
143
+ t9 = () => column.toggleSorting(true);
144
+ $[28] = column;
145
+ $[29] = t9;
146
+ } else t9 = $[29];
147
+ let t10;
148
+ if ($[30] === Symbol.for("react.memo_cache_sentinel")) {
149
+ t10 = /* @__PURE__ */ jsx(ArrowDown, { className: "x1xvt488 xf08kfj xpoiemb x1ks1olk" });
150
+ $[30] = t10;
151
+ } else t10 = $[30];
152
+ let t11;
153
+ if ($[31] !== t9) {
154
+ t11 = /* @__PURE__ */ jsxs(DropdownMenuItem, {
155
+ "data-slot": "sort-desc",
156
+ onClick: t9,
157
+ children: [t10, "Desc"]
158
+ });
159
+ $[31] = t9;
160
+ $[32] = t11;
161
+ } else t11 = $[32];
162
+ let t12;
163
+ if ($[33] !== column) {
164
+ t12 = column.getCanHide() && /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx(DropdownMenuSeparator, {}), /* @__PURE__ */ jsxs(DropdownMenuItem, {
165
+ "data-slot": "hide-column",
166
+ onClick: () => column.toggleVisibility(false),
167
+ children: [/* @__PURE__ */ jsx(EyeOff, { className: "x1xvt488 xf08kfj xpoiemb x1ks1olk" }), "Hide"]
168
+ })] });
169
+ $[33] = column;
170
+ $[34] = t12;
171
+ } else t12 = $[34];
172
+ let t13;
173
+ if ($[35] !== t11 || $[36] !== t12 || $[37] !== t8) {
174
+ t13 = /* @__PURE__ */ jsxs(DropdownMenuContent, {
175
+ align: "start",
176
+ children: [
177
+ t8,
178
+ t11,
179
+ t12
180
+ ]
181
+ });
182
+ $[35] = t11;
183
+ $[36] = t12;
184
+ $[37] = t8;
185
+ $[38] = t13;
186
+ } else t13 = $[38];
187
+ let t14;
188
+ if ($[39] !== t13 || $[40] !== t5) {
189
+ t14 = /* @__PURE__ */ jsxs(DropdownMenu, { children: [t5, t13] });
190
+ $[39] = t13;
191
+ $[40] = t5;
192
+ $[41] = t14;
193
+ } else t14 = $[41];
194
+ let t15;
195
+ if ($[42] !== className || $[43] !== props || $[44] !== sx || $[45] !== t14) {
196
+ t15 = /* @__PURE__ */ jsx(Flex, {
27
197
  align: "center",
28
198
  "data-slot": "data-table-column-header",
29
- sx: S,
30
- className: y,
31
- ...x,
32
- children: t
33
- }), v[8] = y, v[9] = x, v[10] = S, v[11] = t, v[12] = r) : r = v[12], r;
34
- }
35
- let w;
36
- v[13] === b ? w = v[14] : (w = b.getIsSorted(), v[13] = b, v[14] = w);
37
- let T = w, E;
38
- v[15] === Symbol.for("react.memo_cache_sentinel") ? (E = [g.root], v[15] = E) : E = v[15];
39
- let D;
40
- v[16] === C ? D = v[17] : (D = /* @__PURE__ */ p(e, {
41
- size: "sm",
42
- weight: "medium",
43
- children: C
44
- }), v[16] = C, v[17] = D);
45
- let O;
46
- v[18] === T ? O = v[19] : (O = T === "desc" ? /* @__PURE__ */ p(c, {
47
- "data-slot": "sort-icon-desc",
48
- className: "x1xvt488 xf08kfj xko4hcy"
49
- }) : T === "asc" ? /* @__PURE__ */ p(l, {
50
- "data-slot": "sort-icon-asc",
51
- className: "x1xvt488 xf08kfj xko4hcy"
52
- }) : /* @__PURE__ */ p(u, {
53
- "data-slot": "sort-icon-none",
54
- className: "x1xvt488 xf08kfj xko4hcy"
55
- }), v[18] = T, v[19] = O);
56
- let k;
57
- v[20] !== D || v[21] !== O ? (k = /* @__PURE__ */ p(s, {
58
- asChild: !0,
59
- children: /* @__PURE__ */ m(t, {
60
- variant: "ghost",
61
- size: "sm",
62
- "data-slot": "data-table-column-header-trigger",
63
- sx: E,
64
- children: [D, O]
65
- })
66
- }), v[20] = D, v[21] = O, v[22] = k) : k = v[22];
67
- let A;
68
- v[23] === b ? A = v[24] : (A = () => b.toggleSorting(!1), v[23] = b, v[24] = A);
69
- let j;
70
- v[25] === Symbol.for("react.memo_cache_sentinel") ? (j = /* @__PURE__ */ p(l, { className: "x1xvt488 xf08kfj xpoiemb x1ks1olk" }), v[25] = j) : j = v[25];
71
- let M;
72
- v[26] === A ? M = v[27] : (M = /* @__PURE__ */ m(a, {
73
- "data-slot": "sort-asc",
74
- onClick: A,
75
- children: [j, "Asc"]
76
- }), v[26] = A, v[27] = M);
77
- let N;
78
- v[28] === b ? N = v[29] : (N = () => b.toggleSorting(!0), v[28] = b, v[29] = N);
79
- let P;
80
- v[30] === Symbol.for("react.memo_cache_sentinel") ? (P = /* @__PURE__ */ p(c, { className: "x1xvt488 xf08kfj xpoiemb x1ks1olk" }), v[30] = P) : P = v[30];
81
- let F;
82
- v[31] === N ? F = v[32] : (F = /* @__PURE__ */ m(a, {
83
- "data-slot": "sort-desc",
84
- onClick: N,
85
- children: [P, "Desc"]
86
- }), v[31] = N, v[32] = F);
87
- let I;
88
- v[33] === b ? I = v[34] : (I = b.getCanHide() && /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ p(o, {}), /* @__PURE__ */ m(a, {
89
- "data-slot": "hide-column",
90
- onClick: () => b.toggleVisibility(!1),
91
- children: [/* @__PURE__ */ p(d, { className: "x1xvt488 xf08kfj xpoiemb x1ks1olk" }), "Hide"]
92
- })] }), v[33] = b, v[34] = I);
93
- let L;
94
- v[35] !== F || v[36] !== I || v[37] !== M ? (L = /* @__PURE__ */ m(i, {
95
- align: "start",
96
- children: [
97
- M,
98
- F,
99
- I
100
- ]
101
- }), v[35] = F, v[36] = I, v[37] = M, v[38] = L) : L = v[38];
102
- let R;
103
- v[39] !== L || v[40] !== k ? (R = /* @__PURE__ */ m(r, { children: [k, L] }), v[39] = L, v[40] = k, v[41] = R) : R = v[41];
104
- let z;
105
- return v[42] !== y || v[43] !== x || v[44] !== S || v[45] !== R ? (z = /* @__PURE__ */ p(n, {
106
- align: "center",
107
- "data-slot": "data-table-column-header",
108
- sx: S,
109
- className: y,
110
- ...x,
111
- children: R
112
- }), v[42] = y, v[43] = x, v[44] = S, v[45] = R, v[46] = z) : z = v[46], z;
199
+ sx,
200
+ className,
201
+ ...props,
202
+ children: t14
203
+ });
204
+ $[42] = className;
205
+ $[43] = props;
206
+ $[44] = sx;
207
+ $[45] = t14;
208
+ $[46] = t15;
209
+ } else t15 = $[46];
210
+ return t15;
113
211
  }
114
- export { _ as DataTableColumnHeader };
212
+ export { DataTableColumnHeader };
@@ -1 +1,332 @@
1
- const e=require("../../_virtual/_rolldown/runtime.cjs"),t=require("../../Typography/Text.cjs"),n=require("../../ui/button.cjs"),r=require("../../ui/popover.cjs"),i=require("../../ui/badge.cjs"),a=require("../../ui/command.cjs"),o=require("../../ui/separator.cjs");let s=require("@stylexjs/stylex");s=e.__toESM(s,1);let c=require("react/jsx-runtime"),l=require("react");l=e.__toESM(l,1);let u=require("react/compiler-runtime");var d={trigger:{kZKoxP:`xettwda`,ksu8eU:`xbsl7fq`,kGuDYH:`xboafo0`,kOIVth:`x1m5ztt4`,$$css:!0},optionLabel:{kUk6DE:`x98rzlu`,kVQacm:`xb3r6kr`,kg5iWk:`xlyipyv`,khDVqt:`xuxw1ft`,$$css:!0},count:{koQZXg:`x8x9d4c`,k1xSpc:`x78zum5`,kZKoxP:`x1l36t39`,kzqmXN:`xcdlrvm`,kGNEyG:`x6s0dn4`,kjj79g:`xl56j7k`,kMv6JI:`x1ey7xld`,kGuDYH:`x12lo8hy`,kMwMTN:`xw3nh4a`,$$css:!0},separator:{kZKoxP:`x1l36t39`,kUOVxO:`x1c334mu`,$$css:!0}};function f(e){let l=(0,u.c)(49),{column:f,title:m,options:h,selectedValues:g,onValueChange:_,sx:v}=e,y;l[0]===f?y=l[1]:(y=f?.getFilterValue(),l[0]=f,l[1]=y);let b=y,x;bb0:{if(g!==void 0){let e;l[2]===g?e=l[3]:(e=new Set(g),l[2]=g,l[3]=e),x=e;break bb0}if(Array.isArray(b)){let e;l[4]===b?e=l[5]:(e=new Set(b.map(String)),l[4]=b,l[5]=e),x=e;break bb0}let e;l[6]===Symbol.for(`react.memo_cache_sentinel`)?(e=new Set,l[6]=e):e=l[6],x=e}let S=x,C;l[7]!==f||l[8]!==_?(C=e=>{let t=Array.from(e);f&&f.setFilterValue(t.length?t:void 0),_?.(t)},l[7]=f,l[8]=_,l[9]=C):C=l[9];let w=C,T;l[10]!==S||l[11]!==w?(T=e=>{let t=new Set(S);t.has(e)?t.delete(e):t.add(e),w(t)},l[10]=S,l[11]=w,l[12]=T):T=l[12];let E=T,D;l[13]===w?D=l[14]:(D=()=>{w(new Set)},l[13]=w,l[14]=D);let O=D,k;l[15]===v?k=l[16]:(k=s.props(d.trigger,v),l[15]=v,l[16]=k);let A=k,j;l[17]===Symbol.for(`react.memo_cache_sentinel`)?(j=(0,c.jsxs)(`svg`,{width:`14`,height:`14`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":`true`,children:[(0,c.jsx)(`circle`,{cx:`12`,cy:`12`,r:`10`}),(0,c.jsx)(`line`,{x1:`12`,y1:`8`,x2:`12`,y2:`16`}),(0,c.jsx)(`line`,{x1:`8`,y1:`12`,x2:`16`,y2:`12`})]}),l[17]=j):j=l[17];let M;l[18]!==h||l[19]!==S?(M=S.size>0&&(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(o.Separator,{orientation:`vertical`,sx:d.separator}),(0,c.jsx)(i.Badge,{variant:`secondary`,size:`xxs`,children:S.size}),(0,c.jsx)(`div`,{className:`x78zum5 x6s0dn4 xvh977a`,children:S.size>2?(0,c.jsxs)(i.Badge,{variant:`secondary`,size:`xxs`,children:[S.size,` selected`]}):h.filter(e=>S.has(e.value)).map(p)})]}),l[18]=h,l[19]=S,l[20]=M):M=l[20];let N;l[21]!==M||l[22]!==m||l[23]!==A?(N=(0,c.jsx)(r.PopoverTrigger,{asChild:!0,children:(0,c.jsxs)(n.Button,{variant:`outline`,size:`sm`,"data-slot":`data-table-faceted-filter-trigger`,...A,children:[j,m,M]})}),l[21]=M,l[22]=m,l[23]=A,l[24]=N):N=l[24];let P;l[25]===m?P=l[26]:(P=(0,c.jsx)(a.CommandInput,{placeholder:m}),l[25]=m,l[26]=P);let F;l[27]===Symbol.for(`react.memo_cache_sentinel`)?(F=(0,c.jsx)(a.CommandEmpty,{children:`No results found.`}),l[27]=F):F=l[27];let I;if(l[28]!==E||l[29]!==h||l[30]!==S){let e;l[32]!==E||l[33]!==S?(e=e=>{let n=S.has(e.value),r=e.icon;return(0,c.jsxs)(a.CommandItem,{onSelect:()=>E(e.value),children:[(0,c.jsx)(`div`,{...{0:{className:`x78zum5 x1l36t39 xcdlrvm x6s0dn4 xl56j7k xqfady0 xmkeg23 x1y0btm7 xb30jbz xvcdwul x2lah0s`},1:{className:`x78zum5 x1l36t39 xcdlrvm x6s0dn4 xl56j7k xqfady0 xmkeg23 x1y0btm7 xvcdwul x2lah0s x1j7ufkg x1khvrlk xstwp1q`}}[!!n|0],children:n&&(0,c.jsx)(`svg`,{width:`10`,height:`10`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`3`,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":`true`,children:(0,c.jsx)(`polyline`,{points:`20 6 9 17 4 12`})})}),r&&(0,c.jsx)(`span`,{className:`xvcdwul x78zum5 x6s0dn4`,children:(0,c.jsx)(r,{})}),(0,c.jsx)(t.Text,{as:`span`,size:`sm`,sx:d.optionLabel,children:e.label}),e.count!==void 0&&(0,c.jsx)(t.Text,{as:`span`,size:`xs`,type:`secondary`,sx:d.count,children:e.count})]},e.value)},l[32]=E,l[33]=S,l[34]=e):e=l[34],I=h.map(e),l[28]=E,l[29]=h,l[30]=S,l[31]=I}else I=l[31];let L;l[35]===I?L=l[36]:(L=(0,c.jsx)(a.CommandGroup,{children:I}),l[35]=I,l[36]=L);let R;l[37]!==O||l[38]!==S.size?(R=S.size>0&&(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(a.CommandSeparator,{}),(0,c.jsx)(a.CommandGroup,{children:(0,c.jsx)(a.CommandItem,{onSelect:O,className:`xl56j7k x2b8uid xk50ysn`,children:`Clear filters`})})]}),l[37]=O,l[38]=S.size,l[39]=R):R=l[39];let z;l[40]!==L||l[41]!==R?(z=(0,c.jsxs)(a.CommandList,{children:[F,L,R]}),l[40]=L,l[41]=R,l[42]=z):z=l[42];let B;l[43]!==P||l[44]!==z?(B=(0,c.jsx)(r.PopoverContent,{align:`start`,className:`xj1jc7a x1717udv`,children:(0,c.jsxs)(a.Command,{children:[P,z]})}),l[43]=P,l[44]=z,l[45]=B):B=l[45];let V;return l[46]!==B||l[47]!==N?(V=(0,c.jsxs)(r.Popover,{children:[N,B]}),l[46]=B,l[47]=N,l[48]=V):V=l[48],V}function p(e){return(0,c.jsx)(i.Badge,{variant:`secondary`,size:`xxs`,children:e.label},e.value)}exports.DataTableFacetedFilter=f;
1
+ const require_runtime = require("../../_virtual/_rolldown/runtime.cjs");
2
+ const require_Text = require("../../Typography/Text.cjs");
3
+ const require_button = require("../../ui/button.cjs");
4
+ const require_popover = require("../../ui/popover.cjs");
5
+ const require_badge = require("../../ui/badge.cjs");
6
+ const require_command = require("../../ui/command.cjs");
7
+ const require_separator = require("../../ui/separator.cjs");
8
+ let _stylexjs_stylex = require("@stylexjs/stylex");
9
+ _stylexjs_stylex = require_runtime.__toESM(_stylexjs_stylex, 1);
10
+ let react_jsx_runtime = require("react/jsx-runtime");
11
+ require("react");
12
+ let react_compiler_runtime = require("react/compiler-runtime");
13
+ // src/DataTable/components/DataTableFacetedFilter.tsx
14
+ var styles = {
15
+ trigger: {
16
+ kZKoxP: "xettwda",
17
+ ksu8eU: "xbsl7fq",
18
+ kGuDYH: "xboafo0",
19
+ kOIVth: "x1m5ztt4",
20
+ $$css: true
21
+ },
22
+ optionLabel: {
23
+ kUk6DE: "x98rzlu",
24
+ kVQacm: "xb3r6kr",
25
+ kg5iWk: "xlyipyv",
26
+ khDVqt: "xuxw1ft",
27
+ $$css: true
28
+ },
29
+ count: {
30
+ koQZXg: "x8x9d4c",
31
+ k1xSpc: "x78zum5",
32
+ kZKoxP: "x1l36t39",
33
+ kzqmXN: "xcdlrvm",
34
+ kGNEyG: "x6s0dn4",
35
+ kjj79g: "xl56j7k",
36
+ kMv6JI: "x1ey7xld",
37
+ kGuDYH: "x12lo8hy",
38
+ kMwMTN: "xw3nh4a",
39
+ $$css: true
40
+ },
41
+ separator: {
42
+ kZKoxP: "x1l36t39",
43
+ kUOVxO: "x1c334mu",
44
+ $$css: true
45
+ }
46
+ };
47
+ function DataTableFacetedFilter(t0) {
48
+ const $ = (0, react_compiler_runtime.c)(49);
49
+ const { column, title, options, selectedValues: controlledSelected, onValueChange, sx } = t0;
50
+ let t1;
51
+ if ($[0] !== column) {
52
+ t1 = column?.getFilterValue();
53
+ $[0] = column;
54
+ $[1] = t1;
55
+ } else t1 = $[1];
56
+ const columnFilterValue = t1;
57
+ let t2;
58
+ bb0: {
59
+ if (controlledSelected !== void 0) {
60
+ let t3;
61
+ if ($[2] !== controlledSelected) {
62
+ t3 = new Set(controlledSelected);
63
+ $[2] = controlledSelected;
64
+ $[3] = t3;
65
+ } else t3 = $[3];
66
+ t2 = t3;
67
+ break bb0;
68
+ }
69
+ if (Array.isArray(columnFilterValue)) {
70
+ let t3;
71
+ if ($[4] !== columnFilterValue) {
72
+ t3 = new Set(columnFilterValue.map(String));
73
+ $[4] = columnFilterValue;
74
+ $[5] = t3;
75
+ } else t3 = $[5];
76
+ t2 = t3;
77
+ break bb0;
78
+ }
79
+ let t3;
80
+ if ($[6] === Symbol.for("react.memo_cache_sentinel")) {
81
+ t3 = /* @__PURE__ */ new Set();
82
+ $[6] = t3;
83
+ } else t3 = $[6];
84
+ t2 = t3;
85
+ }
86
+ const selectedSet = t2;
87
+ let t3;
88
+ if ($[7] !== column || $[8] !== onValueChange) {
89
+ t3 = (nextSet) => {
90
+ const filterValues = Array.from(nextSet);
91
+ if (column) column.setFilterValue(filterValues.length ? filterValues : void 0);
92
+ onValueChange?.(filterValues);
93
+ };
94
+ $[7] = column;
95
+ $[8] = onValueChange;
96
+ $[9] = t3;
97
+ } else t3 = $[9];
98
+ const updateSelected = t3;
99
+ let t4;
100
+ if ($[10] !== selectedSet || $[11] !== updateSelected) {
101
+ t4 = (value) => {
102
+ const nextSet_0 = new Set(selectedSet);
103
+ if (nextSet_0.has(value)) nextSet_0.delete(value);
104
+ else nextSet_0.add(value);
105
+ updateSelected(nextSet_0);
106
+ };
107
+ $[10] = selectedSet;
108
+ $[11] = updateSelected;
109
+ $[12] = t4;
110
+ } else t4 = $[12];
111
+ const handleSelect = t4;
112
+ let t5;
113
+ if ($[13] !== updateSelected) {
114
+ t5 = () => {
115
+ updateSelected(/* @__PURE__ */ new Set());
116
+ };
117
+ $[13] = updateSelected;
118
+ $[14] = t5;
119
+ } else t5 = $[14];
120
+ const handleClear = t5;
121
+ let t6;
122
+ if ($[15] !== sx) {
123
+ t6 = _stylexjs_stylex.props(styles.trigger, sx);
124
+ $[15] = sx;
125
+ $[16] = t6;
126
+ } else t6 = $[16];
127
+ const triggerSx = t6;
128
+ let t7;
129
+ if ($[17] === Symbol.for("react.memo_cache_sentinel")) {
130
+ t7 = /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("svg", {
131
+ width: "14",
132
+ height: "14",
133
+ viewBox: "0 0 24 24",
134
+ fill: "none",
135
+ stroke: "currentColor",
136
+ strokeWidth: "2",
137
+ strokeLinecap: "round",
138
+ strokeLinejoin: "round",
139
+ "aria-hidden": "true",
140
+ children: [
141
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("circle", {
142
+ cx: "12",
143
+ cy: "12",
144
+ r: "10"
145
+ }),
146
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("line", {
147
+ x1: "12",
148
+ y1: "8",
149
+ x2: "12",
150
+ y2: "16"
151
+ }),
152
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("line", {
153
+ x1: "8",
154
+ y1: "12",
155
+ x2: "16",
156
+ y2: "12"
157
+ })
158
+ ]
159
+ });
160
+ $[17] = t7;
161
+ } else t7 = $[17];
162
+ let t8;
163
+ if ($[18] !== options || $[19] !== selectedSet) {
164
+ t8 = selectedSet.size > 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [
165
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_separator.Separator, {
166
+ orientation: "vertical",
167
+ sx: styles.separator
168
+ }),
169
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_badge.Badge, {
170
+ variant: "secondary",
171
+ size: "xxs",
172
+ children: selectedSet.size
173
+ }),
174
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
175
+ className: "x78zum5 x6s0dn4 xvh977a",
176
+ children: selectedSet.size > 2 ? /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(require_badge.Badge, {
177
+ variant: "secondary",
178
+ size: "xxs",
179
+ children: [selectedSet.size, " selected"]
180
+ }) : options.filter((option) => selectedSet.has(option.value)).map(_temp)
181
+ })
182
+ ] });
183
+ $[18] = options;
184
+ $[19] = selectedSet;
185
+ $[20] = t8;
186
+ } else t8 = $[20];
187
+ let t9;
188
+ if ($[21] !== t8 || $[22] !== title || $[23] !== triggerSx) {
189
+ t9 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_popover.PopoverTrigger, {
190
+ asChild: true,
191
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(require_button.Button, {
192
+ variant: "outline",
193
+ size: "sm",
194
+ "data-slot": "data-table-faceted-filter-trigger",
195
+ ...triggerSx,
196
+ children: [
197
+ t7,
198
+ title,
199
+ t8
200
+ ]
201
+ })
202
+ });
203
+ $[21] = t8;
204
+ $[22] = title;
205
+ $[23] = triggerSx;
206
+ $[24] = t9;
207
+ } else t9 = $[24];
208
+ let t10;
209
+ if ($[25] !== title) {
210
+ t10 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_command.CommandInput, { placeholder: title });
211
+ $[25] = title;
212
+ $[26] = t10;
213
+ } else t10 = $[26];
214
+ let t11;
215
+ if ($[27] === Symbol.for("react.memo_cache_sentinel")) {
216
+ t11 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_command.CommandEmpty, { children: "No results found." });
217
+ $[27] = t11;
218
+ } else t11 = $[27];
219
+ let t12;
220
+ if ($[28] !== handleSelect || $[29] !== options || $[30] !== selectedSet) {
221
+ let t13;
222
+ if ($[32] !== handleSelect || $[33] !== selectedSet) {
223
+ t13 = (option_1) => {
224
+ const isSelected = selectedSet.has(option_1.value);
225
+ const OptionIcon = option_1.icon;
226
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(require_command.CommandItem, {
227
+ onSelect: () => handleSelect(option_1.value),
228
+ children: [
229
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
230
+ ...{
231
+ 0: { className: "x78zum5 x1l36t39 xcdlrvm x6s0dn4 xl56j7k xqfady0 xmkeg23 x1y0btm7 xb30jbz xvcdwul x2lah0s" },
232
+ 1: { className: "x78zum5 x1l36t39 xcdlrvm x6s0dn4 xl56j7k xqfady0 xmkeg23 x1y0btm7 xvcdwul x2lah0s x1j7ufkg x1khvrlk xstwp1q" }
233
+ }[!!isSelected << 0],
234
+ children: isSelected && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("svg", {
235
+ width: "10",
236
+ height: "10",
237
+ viewBox: "0 0 24 24",
238
+ fill: "none",
239
+ stroke: "currentColor",
240
+ strokeWidth: "3",
241
+ strokeLinecap: "round",
242
+ strokeLinejoin: "round",
243
+ "aria-hidden": "true",
244
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("polyline", { points: "20 6 9 17 4 12" })
245
+ })
246
+ }),
247
+ OptionIcon && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
248
+ className: "xvcdwul x78zum5 x6s0dn4",
249
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(OptionIcon, {})
250
+ }),
251
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_Text.Text, {
252
+ as: "span",
253
+ size: "sm",
254
+ sx: styles.optionLabel,
255
+ children: option_1.label
256
+ }),
257
+ option_1.count !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_Text.Text, {
258
+ as: "span",
259
+ size: "xs",
260
+ type: "secondary",
261
+ sx: styles.count,
262
+ children: option_1.count
263
+ })
264
+ ]
265
+ }, option_1.value);
266
+ };
267
+ $[32] = handleSelect;
268
+ $[33] = selectedSet;
269
+ $[34] = t13;
270
+ } else t13 = $[34];
271
+ t12 = options.map(t13);
272
+ $[28] = handleSelect;
273
+ $[29] = options;
274
+ $[30] = selectedSet;
275
+ $[31] = t12;
276
+ } else t12 = $[31];
277
+ let t13;
278
+ if ($[35] !== t12) {
279
+ t13 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_command.CommandGroup, { children: t12 });
280
+ $[35] = t12;
281
+ $[36] = t13;
282
+ } else t13 = $[36];
283
+ let t14;
284
+ if ($[37] !== handleClear || $[38] !== selectedSet.size) {
285
+ t14 = selectedSet.size > 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_command.CommandSeparator, {}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_command.CommandGroup, { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_command.CommandItem, {
286
+ onSelect: handleClear,
287
+ className: "xl56j7k x2b8uid xk50ysn",
288
+ children: "Clear filters"
289
+ }) })] });
290
+ $[37] = handleClear;
291
+ $[38] = selectedSet.size;
292
+ $[39] = t14;
293
+ } else t14 = $[39];
294
+ let t15;
295
+ if ($[40] !== t13 || $[41] !== t14) {
296
+ t15 = /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(require_command.CommandList, { children: [
297
+ t11,
298
+ t13,
299
+ t14
300
+ ] });
301
+ $[40] = t13;
302
+ $[41] = t14;
303
+ $[42] = t15;
304
+ } else t15 = $[42];
305
+ let t16;
306
+ if ($[43] !== t10 || $[44] !== t15) {
307
+ t16 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_popover.PopoverContent, {
308
+ align: "start",
309
+ className: "xj1jc7a x1717udv",
310
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(require_command.Command, { children: [t10, t15] })
311
+ });
312
+ $[43] = t10;
313
+ $[44] = t15;
314
+ $[45] = t16;
315
+ } else t16 = $[45];
316
+ let t17;
317
+ if ($[46] !== t16 || $[47] !== t9) {
318
+ t17 = /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(require_popover.Popover, { children: [t9, t16] });
319
+ $[46] = t16;
320
+ $[47] = t9;
321
+ $[48] = t17;
322
+ } else t17 = $[48];
323
+ return t17;
324
+ }
325
+ function _temp(option_0) {
326
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_badge.Badge, {
327
+ variant: "secondary",
328
+ size: "xxs",
329
+ children: option_0.label
330
+ }, option_0.value);
331
+ }
332
+ exports.DataTableFacetedFilter = DataTableFacetedFilter;
@@ -1,10 +1,10 @@
1
- import * as React from 'react';
1
+ import { type ComponentType } from 'react';
2
2
  import type { Column } from '@tanstack/react-table';
3
3
  import * as stylex from '@stylexjs/stylex';
4
4
  export interface DataTableFacetedFilterOption {
5
5
  label: string;
6
6
  value: string;
7
- icon?: React.ComponentType<{
7
+ icon?: ComponentType<{
8
8
  className?: string;
9
9
  }>;
10
10
  count?: number;
@@ -17,5 +17,5 @@ export interface DataTableFacetedFilterProps<TData, TValue = unknown> {
17
17
  onValueChange?: (values: string[]) => void;
18
18
  sx?: stylex.StyleXStyles;
19
19
  }
20
- export declare function DataTableFacetedFilter<TData, TValue = unknown>({ column, title, options, selectedValues: controlledSelected, onValueChange, sx, }: DataTableFacetedFilterProps<TData, TValue>): React.JSX.Element;
20
+ export declare function DataTableFacetedFilter<TData, TValue = unknown>({ column, title, options, selectedValues: controlledSelected, onValueChange, sx, }: DataTableFacetedFilterProps<TData, TValue>): import("react").JSX.Element;
21
21
  //# sourceMappingURL=DataTableFacetedFilter.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DataTableFacetedFilter.d.ts","sourceRoot":"","sources":["../../../src/DataTable/components/DataTableFacetedFilter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,KAAK,MAAM,MAAM,kBAAkB,CAAC;AAoF3C,MAAM,WAAW,4BAA4B;IAC3C,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;QAAE,SAAS,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACnD,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,2BAA2B,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO;IAClE,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC;IAC/B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,4BAA4B,EAAE,CAAC;IACxC,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;IAC1B,aAAa,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IAC3C,EAAE,CAAC,EAAE,MAAM,CAAC,YAAY,CAAC;CAC1B;AAED,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,EAAE,EAC9D,MAAM,EACN,KAAK,EACL,OAAO,EACP,cAAc,EAAE,kBAAkB,EAClC,aAAa,EACb,EAAE,GACH,EAAE,2BAA2B,CAAC,KAAK,EAAE,MAAM,CAAC,qBAoJ5C"}
1
+ {"version":3,"file":"DataTableFacetedFilter.d.ts","sourceRoot":"","sources":["../../../src/DataTable/components/DataTableFacetedFilter.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAW,KAAK,aAAa,EAAE,MAAM,OAAO,CAAC;AACpD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,KAAK,MAAM,MAAM,kBAAkB,CAAC;AAoF3C,MAAM,WAAW,4BAA4B;IAC3C,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,aAAa,CAAC;QAAE,SAAS,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAC7C,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,2BAA2B,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO;IAClE,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC;IAC/B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,4BAA4B,EAAE,CAAC;IACxC,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;IAC1B,aAAa,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IAC3C,EAAE,CAAC,EAAE,MAAM,CAAC,YAAY,CAAC;CAC1B;AAED,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,EAAE,EAC9D,MAAM,EACN,KAAK,EACL,OAAO,EACP,cAAc,EAAE,kBAAkB,EAClC,aAAa,EACb,EAAE,GACH,EAAE,2BAA2B,CAAC,KAAK,EAAE,MAAM,CAAC,+BAoJ5C"}