@vlrc-fe/components 2.8.0 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (920) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/README.md +127 -209
  3. package/bin/vlrc.mjs +15 -0
  4. package/dist/ConfirmModal.cjs +1 -0
  5. package/dist/ConfirmModal.js +257 -0
  6. package/dist/DataTable/DataTable.cjs +1 -0
  7. package/dist/DataTable/DataTable.js +159 -0
  8. package/dist/DataTable/components/DataTableColumnHeader.cjs +1 -0
  9. package/dist/DataTable/components/DataTableColumnHeader.js +114 -0
  10. package/dist/DataTable/components/DataTableFacetedFilter.cjs +1 -0
  11. package/dist/DataTable/components/DataTableFacetedFilter.js +226 -0
  12. package/dist/DataTable/components/DataTablePagination.cjs +1 -0
  13. package/dist/DataTable/components/DataTablePagination.js +101 -0
  14. package/dist/DataTable/components/DataTableRowActions.cjs +1 -0
  15. package/dist/DataTable/components/DataTableRowActions.js +71 -0
  16. package/dist/DataTable/components/DataTableTable.cjs +1 -0
  17. package/dist/DataTable/components/DataTableTable.js +46 -0
  18. package/dist/DataTable/components/DataTableToolbar.cjs +1 -0
  19. package/dist/DataTable/components/DataTableToolbar.js +48 -0
  20. package/dist/DataTable/components/DataTableViewOptions.cjs +1 -0
  21. package/dist/DataTable/components/DataTableViewOptions.js +50 -0
  22. package/dist/DataTable/render/createColumns.cjs +1 -0
  23. package/dist/DataTable/render/createColumns.js +59 -0
  24. package/dist/DataTable/render/defaults.cjs +1 -0
  25. package/dist/Dropdown/Dropdown.cjs +1 -0
  26. package/dist/Dropdown/Dropdown.js +221 -0
  27. package/dist/Form/Form.cjs +1 -0
  28. package/dist/Form/Form.js +221 -0
  29. package/dist/Form/FormDatePicker/FormDatePicker.cjs +1 -0
  30. package/dist/Form/FormDatePicker/FormDatePicker.js +79 -0
  31. package/dist/Form/FormDatePicker/MonthPickerPanel.cjs +1 -0
  32. package/dist/Form/FormDatePicker/MonthPickerPanel.js +120 -0
  33. package/dist/Form/FormDatePicker/RangeDatePicker.cjs +1 -0
  34. package/dist/Form/FormDatePicker/RangeDatePicker.js +123 -0
  35. package/dist/Form/FormDatePicker/SingleDatePicker.cjs +1 -0
  36. package/dist/Form/FormDatePicker/SingleDatePicker.js +157 -0
  37. package/dist/Form/FormDatePicker/TimeInput.cjs +1 -0
  38. package/dist/Form/FormDatePicker/TimeInput.js +86 -0
  39. package/dist/Form/FormDatePicker/TimePicker.cjs +1 -0
  40. package/dist/Form/FormDatePicker/TimePicker.js +89 -0
  41. package/dist/Form/FormDatePicker/YearPickerPanel.cjs +1 -0
  42. package/dist/Form/FormDatePicker/YearPickerPanel.js +100 -0
  43. package/dist/Form/FormDatePicker/useFormDatePicker.cjs +1 -0
  44. package/dist/Form/FormDatePicker/useFormDatePicker.js +40 -0
  45. package/dist/Form/FormFileUpload/FileUpload.cjs +1 -0
  46. package/dist/Form/FormFileUpload/FileUpload.js +422 -0
  47. package/dist/Form/FormFileUpload/index.cjs +1 -0
  48. package/dist/Form/FormFileUpload/index.js +30 -0
  49. package/dist/Form/FormMultiSelect/FormMultiSelect.cjs +1 -0
  50. package/dist/Form/FormMultiSelect/FormMultiSelect.js +25 -0
  51. package/dist/Form/FormNumberInput/FormNumberInput.cjs +1 -0
  52. package/dist/Form/FormNumberInput/FormNumberInput.js +67 -0
  53. package/dist/Form/FormNumberInput/StepperControls.cjs +1 -0
  54. package/dist/Form/FormNumberInput/StepperControls.js +67 -0
  55. package/dist/Form/FormNumberInput/useFormNumberInput.cjs +1 -0
  56. package/dist/Form/FormNumberInput/useFormNumberInput.js +43 -0
  57. package/dist/Form/FormRadioGroup/FormRadio.cjs +1 -0
  58. package/dist/Form/FormRadioGroup/FormRadio.js +63 -0
  59. package/dist/Form/FormSelect/FormSelect.cjs +1 -0
  60. package/dist/Form/FormSelect/FormSelect.js +30 -0
  61. package/dist/Modal.cjs +1 -0
  62. package/dist/Modal.js +120 -0
  63. package/dist/MultiSelect/MultiSelect.cjs +1 -0
  64. package/dist/MultiSelect/MultiSelect.js +199 -0
  65. package/dist/MultiSelect/renderers.cjs +1 -0
  66. package/dist/MultiSelect/renderers.js +367 -0
  67. package/dist/MultiSelect/useMultiSelect.cjs +1 -0
  68. package/dist/MultiSelect/useMultiSelect.js +163 -0
  69. package/dist/Select/BaseSelect.cjs +1 -0
  70. package/dist/Select/BaseSelect.js +222 -0
  71. package/dist/Select/MultiSelectTags.cjs +1 -0
  72. package/dist/Select/MultiSelectTags.js +101 -0
  73. package/dist/Typography/Blockquote.cjs +1 -0
  74. package/dist/Typography/Blockquote.js +75 -0
  75. package/dist/Typography/Code.cjs +1 -0
  76. package/dist/Typography/Code.js +123 -0
  77. package/dist/Typography/Link.cjs +1 -0
  78. package/dist/Typography/Link.js +128 -0
  79. package/dist/Typography/Paragraph.cjs +1 -0
  80. package/dist/Typography/Paragraph.js +212 -0
  81. package/dist/Typography/Text.cjs +1 -0
  82. package/dist/Typography/Text.js +205 -0
  83. package/dist/Typography/Title.cjs +1 -0
  84. package/dist/Typography/Title.d.ts.map +1 -1
  85. package/dist/Typography/Title.js +199 -0
  86. package/dist/Typography/Typography.cjs +1 -0
  87. package/dist/Typography/Typography.js +16 -0
  88. package/dist/Typography/index.d.ts +1 -0
  89. package/dist/Typography/index.d.ts.map +1 -1
  90. package/dist/Typography/index.js +13 -0
  91. package/dist/Typography/tooltip.cjs +1 -0
  92. package/dist/Typography/tooltip.js +18 -0
  93. package/dist/Typography/utils.cjs +1 -0
  94. package/dist/Typography/utils.js +24 -0
  95. package/dist/Typography/weightStyles.cjs +1 -0
  96. package/dist/assets/stylex.css +333 -274
  97. package/dist/astryx.cjs +1 -0
  98. package/dist/astryx.d.ts +3 -0
  99. package/dist/astryx.d.ts.map +1 -0
  100. package/dist/astryx.js +2 -0
  101. package/dist/index.cjs +1 -1
  102. package/dist/index.d.ts +2 -0
  103. package/dist/index.d.ts.map +1 -1
  104. package/dist/index.js +118 -111
  105. package/dist/layout/Box.cjs +1 -0
  106. package/dist/layout/Box.d.ts +19 -0
  107. package/dist/layout/Box.d.ts.map +1 -0
  108. package/dist/layout/Box.js +112 -0
  109. package/dist/layout/Center.cjs +1 -0
  110. package/dist/layout/Center.d.ts +9 -0
  111. package/dist/layout/Center.d.ts.map +1 -0
  112. package/dist/layout/Center.js +22 -0
  113. package/dist/layout/Container.cjs +1 -0
  114. package/dist/layout/Container.d.ts +17 -0
  115. package/dist/layout/Container.d.ts.map +1 -0
  116. package/dist/layout/Container.js +75 -0
  117. package/dist/layout/Stack.cjs +1 -0
  118. package/dist/layout/Stack.d.ts +26 -0
  119. package/dist/layout/Stack.d.ts.map +1 -0
  120. package/dist/layout/Stack.js +89 -0
  121. package/dist/layout/index.d.ts +6 -1
  122. package/dist/layout/index.d.ts.map +1 -1
  123. package/dist/layout/index.js +9 -0
  124. package/dist/node_modules/.pnpm/@floating-ui_core@1.8.0/node_modules/@floating-ui/core/dist/floating-ui.core.cjs +1 -0
  125. package/dist/node_modules/.pnpm/@floating-ui_core@1.8.0/node_modules/@floating-ui/core/dist/floating-ui.core.js +336 -0
  126. package/dist/node_modules/.pnpm/@floating-ui_dom@1.8.0/node_modules/@floating-ui/dom/dist/floating-ui.dom.cjs +1 -0
  127. package/dist/node_modules/.pnpm/@floating-ui_dom@1.8.0/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +321 -0
  128. package/dist/node_modules/.pnpm/@floating-ui_react-dom@2.1.9_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.cjs +1 -0
  129. package/dist/node_modules/.pnpm/@floating-ui_react-dom@2.1.9_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +211 -0
  130. package/dist/node_modules/.pnpm/@radix-ui_react-alert-dialog@1.1.23_@types_react-dom@19.3.0_@types_react@19.3.0__@types_023ac3f94ac95798b92bc4b7f556cbda/node_modules/@radix-ui/react-alert-dialog/dist/index.cjs +1 -0
  131. package/dist/node_modules/.pnpm/@radix-ui_react-alert-dialog@1.1.23_@types_react-dom@19.3.0_@types_react@19.3.0__@types_023ac3f94ac95798b92bc4b7f556cbda/node_modules/@radix-ui/react-alert-dialog/dist/index.js +87 -0
  132. package/dist/node_modules/.pnpm/@radix-ui_react-aspect-ratio@1.1.15_@types_react-dom@19.3.0_@types_react@19.3.0__@types_3fe40fa8e2833eaf8803b46e02e4c30f/node_modules/@radix-ui/react-aspect-ratio/dist/index.cjs +1 -0
  133. package/dist/node_modules/.pnpm/@radix-ui_react-aspect-ratio@1.1.15_@types_react-dom@19.3.0_@types_react@19.3.0__@types_3fe40fa8e2833eaf8803b46e02e4c30f/node_modules/@radix-ui/react-aspect-ratio/dist/index.js +31 -0
  134. package/dist/node_modules/.pnpm/@radix-ui_react-avatar@1.2.6_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@_c3568bdf5c60d38014d320037c857c95/node_modules/@radix-ui/react-avatar/dist/index.cjs +1 -0
  135. package/dist/node_modules/.pnpm/@radix-ui_react-avatar@1.2.6_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@_c3568bdf5c60d38014d320037c857c95/node_modules/@radix-ui/react-avatar/dist/index.js +87 -0
  136. package/dist/node_modules/.pnpm/@radix-ui_react-collapsible@1.1.20_@types_react-dom@19.3.0_@types_react@19.3.0__@types__75f9b408b6aa016f78c6c390e6f84227/node_modules/@radix-ui/react-collapsible/dist/index.cjs +1 -0
  137. package/dist/node_modules/.pnpm/@radix-ui_react-collapsible@1.1.20_@types_react-dom@19.3.0_@types_react@19.3.0__@types__75f9b408b6aa016f78c6c390e6f84227/node_modules/@radix-ui/react-collapsible/dist/index.js +94 -0
  138. package/dist/node_modules/.pnpm/@radix-ui_react-collection@1.1.15_@types_react-dom@19.3.0_@types_react@19.3.0__@types_r_5961dc5beb3cb19a205dfdbd3304cbe5/node_modules/@radix-ui/react-collection/dist/index.cjs +1 -0
  139. package/dist/node_modules/.pnpm/@radix-ui_react-collection@1.1.15_@types_react-dom@19.3.0_@types_react@19.3.0__@types_r_5961dc5beb3cb19a205dfdbd3304cbe5/node_modules/@radix-ui/react-collection/dist/index.js +409 -0
  140. package/dist/node_modules/.pnpm/@radix-ui_react-compose-refs@1.1.5_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-compose-refs/dist/index.cjs +1 -0
  141. package/dist/node_modules/.pnpm/@radix-ui_react-context-menu@2.3.7_@types_react-dom@19.3.0_@types_react@19.3.0__@types__30d9c1a1570dd32a7a328fd93feebae9/node_modules/@radix-ui/react-context-menu/dist/index.cjs +1 -0
  142. package/dist/node_modules/.pnpm/@radix-ui_react-context-menu@2.3.7_@types_react-dom@19.3.0_@types_react@19.3.0__@types__30d9c1a1570dd32a7a328fd93feebae9/node_modules/@radix-ui/react-context-menu/dist/index.js +198 -0
  143. package/dist/node_modules/.pnpm/@radix-ui_react-context@1.2.2_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-context/dist/index.cjs +1 -0
  144. package/dist/node_modules/.pnpm/@radix-ui_react-direction@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-direction/dist/index.cjs +1 -0
  145. package/dist/node_modules/.pnpm/@radix-ui_react-direction@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-direction/dist/index.js +14 -0
  146. package/dist/node_modules/.pnpm/@radix-ui_react-dismissable-layer@1.1.19_@types_react-dom@19.3.0_@types_react@19.3.0__@_221317ca07dfdaa6590fc49e548d4242/node_modules/@radix-ui/react-dismissable-layer/dist/index.cjs +1 -0
  147. package/dist/node_modules/.pnpm/@radix-ui_react-dismissable-layer@1.1.19_@types_react-dom@19.3.0_@types_react@19.3.0__@_221317ca07dfdaa6590fc49e548d4242/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +170 -0
  148. package/dist/node_modules/.pnpm/@radix-ui_react-focus-guards@1.1.6_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-focus-guards/dist/index.cjs +1 -0
  149. package/dist/node_modules/.pnpm/@radix-ui_react-focus-scope@1.1.16_@types_react-dom@19.3.0_@types_react@19.3.0__@types__3593711fa410ee31279d746c57990974/node_modules/@radix-ui/react-focus-scope/dist/index.cjs +1 -0
  150. package/dist/node_modules/.pnpm/@radix-ui_react-focus-scope@1.1.16_@types_react-dom@19.3.0_@types_react@19.3.0__@types__3593711fa410ee31279d746c57990974/node_modules/@radix-ui/react-focus-scope/dist/index.js +158 -0
  151. package/dist/node_modules/.pnpm/@radix-ui_react-hover-card@1.1.23_@types_react-dom@19.3.0_@types_react@19.3.0__@types_r_a8ac333b78a7741970303e37358b886d/node_modules/@radix-ui/react-hover-card/dist/index.cjs +1 -0
  152. package/dist/node_modules/.pnpm/@radix-ui_react-hover-card@1.1.23_@types_react-dom@19.3.0_@types_react@19.3.0__@types_r_a8ac333b78a7741970303e37358b886d/node_modules/@radix-ui/react-hover-card/dist/index.js +149 -0
  153. package/dist/node_modules/.pnpm/@radix-ui_react-id@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-id/dist/index.cjs +1 -0
  154. package/dist/node_modules/.pnpm/@radix-ui_react-id@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-id/dist/index.js +15 -0
  155. package/dist/node_modules/.pnpm/@radix-ui_react-menu@2.1.24_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@1_bd1746795e703f342b2f4982589d4efb/node_modules/@radix-ui/react-menu/dist/index.cjs +1 -0
  156. package/dist/node_modules/.pnpm/@radix-ui_react-menu@2.1.24_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@1_bd1746795e703f342b2f4982589d4efb/node_modules/@radix-ui/react-menu/dist/index.js +543 -0
  157. package/dist/node_modules/.pnpm/@radix-ui_react-menubar@1.1.24_@types_react-dom@19.3.0_@types_react@19.3.0__@types_reac_b8d55f7c7c6b477421e3cc1ba6fb334b/node_modules/@radix-ui/react-menubar/dist/index.cjs +1 -0
  158. package/dist/node_modules/.pnpm/@radix-ui_react-menubar@1.1.24_@types_react-dom@19.3.0_@types_react@19.3.0__@types_reac_b8d55f7c7c6b477421e3cc1ba6fb334b/node_modules/@radix-ui/react-menubar/dist/index.js +275 -0
  159. package/dist/node_modules/.pnpm/@radix-ui_react-navigation-menu@1.2.22_@types_react-dom@19.3.0_@types_react@19.3.0__@ty_fde94e4aef42debd49119dde2ad3b250/node_modules/@radix-ui/react-navigation-menu/dist/index.cjs +1 -0
  160. package/dist/node_modules/.pnpm/@radix-ui_react-navigation-menu@1.2.22_@types_react-dom@19.3.0_@types_react@19.3.0__@ty_fde94e4aef42debd49119dde2ad3b250/node_modules/@radix-ui/react-navigation-menu/dist/index.js +537 -0
  161. package/dist/node_modules/.pnpm/@radix-ui_react-popper@1.3.7_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@_ca4fb1e7b10e21399fbf7b38c61d930c/node_modules/@radix-ui/react-popper/dist/index.cjs +1 -0
  162. package/dist/node_modules/.pnpm/@radix-ui_react-popper@1.3.7_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@_ca4fb1e7b10e21399fbf7b38c61d930c/node_modules/@radix-ui/react-popper/dist/index.js +163 -0
  163. package/dist/node_modules/.pnpm/@radix-ui_react-portal@1.1.17_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react_dcf9598b366f9d4cb930092169158fb6/node_modules/@radix-ui/react-portal/dist/index.cjs +1 -0
  164. package/dist/node_modules/.pnpm/@radix-ui_react-portal@1.1.17_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react_dcf9598b366f9d4cb930092169158fb6/node_modules/@radix-ui/react-portal/dist/index.js +20 -0
  165. package/dist/node_modules/.pnpm/@radix-ui_react-presence@1.1.10_@types_react-dom@19.3.0_@types_react@19.3.0__@types_rea_d7b4951725c0f0b9fd732151cb937913/node_modules/@radix-ui/react-presence/dist/index.cjs +1 -0
  166. package/dist/node_modules/.pnpm/@radix-ui_react-presence@1.1.10_@types_react-dom@19.3.0_@types_react@19.3.0__@types_rea_d7b4951725c0f0b9fd732151cb937913/node_modules/@radix-ui/react-presence/dist/index.js +97 -0
  167. package/dist/node_modules/.pnpm/@radix-ui_react-primitive@2.1.10_@types_react-dom@19.3.0_@types_react@19.3.0__@types_re_b879c40dbdb8ea08e1db9842f10f20a8/node_modules/@radix-ui/react-primitive/dist/index.cjs +1 -0
  168. package/dist/node_modules/.pnpm/@radix-ui_react-roving-focus@1.1.19_@types_react-dom@19.3.0_@types_react@19.3.0__@types_43a41e6ed06e4781ce7b1fb0f0076623/node_modules/@radix-ui/react-roving-focus/dist/index.cjs +1 -0
  169. package/dist/node_modules/.pnpm/@radix-ui_react-roving-focus@1.1.19_@types_react-dom@19.3.0_@types_react@19.3.0__@types_43a41e6ed06e4781ce7b1fb0f0076623/node_modules/@radix-ui/react-roving-focus/dist/index.js +168 -0
  170. package/dist/node_modules/.pnpm/@radix-ui_react-slider@1.4.7_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@_0a49b18268a9d1d70ad7e785633a1513/node_modules/@radix-ui/react-slider/dist/index.cjs +1 -0
  171. package/dist/node_modules/.pnpm/@radix-ui_react-slider@1.4.7_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@_0a49b18268a9d1d70ad7e785633a1513/node_modules/@radix-ui/react-slider/dist/index.js +431 -0
  172. package/dist/node_modules/.pnpm/@radix-ui_react-switch@1.3.7_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@_f8723a7bd506c0f648804ec2dc0f18e3/node_modules/@radix-ui/react-switch/dist/index.cjs +1 -0
  173. package/dist/node_modules/.pnpm/@radix-ui_react-switch@1.3.7_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@_f8723a7bd506c0f648804ec2dc0f18e3/node_modules/@radix-ui/react-switch/dist/index.js +155 -0
  174. package/dist/node_modules/.pnpm/@radix-ui_react-tabs@1.1.21_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@1_2c04ca1fb5fd914a25ee24a303bd8469/node_modules/@radix-ui/react-tabs/dist/index.cjs +1 -0
  175. package/dist/node_modules/.pnpm/@radix-ui_react-tabs@1.1.21_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@1_2c04ca1fb5fd914a25ee24a303bd8469/node_modules/@radix-ui/react-tabs/dist/index.js +117 -0
  176. package/dist/node_modules/.pnpm/@radix-ui_react-toggle-group@1.1.19_@types_react-dom@19.3.0_@types_react@19.3.0__@types_e645c0ca626436d86b14232bd158d09b/node_modules/@radix-ui/react-toggle-group/dist/index.cjs +1 -0
  177. package/dist/node_modules/.pnpm/@radix-ui_react-toggle-group@1.1.19_@types_react-dom@19.3.0_@types_react@19.3.0__@types_e645c0ca626436d86b14232bd158d09b/node_modules/@radix-ui/react-toggle-group/dist/index.js +122 -0
  178. package/dist/node_modules/.pnpm/@radix-ui_react-toggle@1.1.18_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react_f121473145ec675e8ab50657e8e97e06/node_modules/@radix-ui/react-toggle/dist/index.cjs +1 -0
  179. package/dist/node_modules/.pnpm/@radix-ui_react-toggle@1.1.18_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react_f121473145ec675e8ab50657e8e97e06/node_modules/@radix-ui/react-toggle/dist/index.js +30 -0
  180. package/dist/node_modules/.pnpm/@radix-ui_react-use-callback-ref@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-callback-ref/dist/index.cjs +1 -0
  181. package/dist/node_modules/.pnpm/@radix-ui_react-use-controllable-state@1.2.6_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-controllable-state/dist/index.cjs +1 -0
  182. package/dist/node_modules/.pnpm/@radix-ui_react-use-controllable-state@1.2.6_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-controllable-state/dist/index.js +82 -0
  183. package/dist/node_modules/.pnpm/@radix-ui_react-use-effect-event@0.0.5_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-effect-event/dist/index.cjs +1 -0
  184. package/dist/node_modules/.pnpm/@radix-ui_react-use-effect-event@0.0.5_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-effect-event/dist/index.js +20 -0
  185. package/dist/node_modules/.pnpm/@radix-ui_react-use-is-hydrated@0.1.3_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-is-hydrated/dist/index.cjs +1 -0
  186. package/dist/node_modules/.pnpm/@radix-ui_react-use-layout-effect@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-layout-effect/dist/index.cjs +1 -0
  187. package/dist/node_modules/.pnpm/@radix-ui_react-use-previous@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-previous/dist/index.cjs +1 -0
  188. package/dist/node_modules/.pnpm/@radix-ui_react-use-size@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-size/dist/index.cjs +1 -0
  189. package/dist/node_modules/.pnpm/@radix-ui_react-use-size@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-size/dist/index.js +34 -0
  190. package/dist/node_modules/.pnpm/@radix-ui_react-visually-hidden@1.2.11_@types_react-dom@19.3.0_@types_react@19.3.0__@ty_ef452cff5863a129db7ebc4b37ab07c3/node_modules/@radix-ui/react-visually-hidden/dist/index.cjs +1 -0
  191. package/dist/node_modules/.pnpm/@radix-ui_react-visually-hidden@1.2.11_@types_react-dom@19.3.0_@types_react@19.3.0__@ty_ef452cff5863a129db7ebc4b37ab07c3/node_modules/@radix-ui/react-visually-hidden/dist/index.js +29 -0
  192. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/format/formatters.cjs +1 -0
  193. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/format/formatters.js +388 -0
  194. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/format/lightFormatters.cjs +1 -0
  195. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/format/lightFormatters.js +42 -0
  196. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.cjs +1 -0
  197. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js +7 -0
  198. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/normalizeDates.cjs +1 -0
  199. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/normalizeDates.js +7 -0
  200. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/constructFrom.cjs +1 -0
  201. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/constructFrom.js +6 -0
  202. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/differenceInCalendarDays.cjs +1 -0
  203. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/differenceInCalendarDays.js +10 -0
  204. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/format.cjs +1 -0
  205. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/format.js +58 -0
  206. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getDayOfYear.cjs +1 -0
  207. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getDayOfYear.js +9 -0
  208. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getISOWeek.cjs +1 -0
  209. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getISOWeek.js +10 -0
  210. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getISOWeekYear.cjs +1 -0
  211. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getISOWeekYear.js +13 -0
  212. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getWeek.cjs +1 -0
  213. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getWeek.js +10 -0
  214. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getWeekYear.cjs +1 -0
  215. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getWeekYear.js +14 -0
  216. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/isValid.cjs +1 -0
  217. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/isValid.js +7 -0
  218. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatLong.cjs +1 -0
  219. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatLong.js +31 -0
  220. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/localize.cjs +1 -0
  221. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/localize.js +201 -0
  222. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/match.cjs +1 -0
  223. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/match.js +123 -0
  224. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US.cjs +1 -0
  225. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US.js +19 -0
  226. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfDay.cjs +1 -0
  227. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfDay.js +7 -0
  228. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfISOWeek.cjs +1 -0
  229. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfISOWeek.js +9 -0
  230. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfISOWeekYear.cjs +1 -0
  231. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfISOWeekYear.js +9 -0
  232. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfWeek.cjs +1 -0
  233. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfWeek.js +8 -0
  234. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfWeekYear.cjs +1 -0
  235. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfWeekYear.js +10 -0
  236. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfYear.cjs +1 -0
  237. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfYear.js +7 -0
  238. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/toDate.cjs +1 -0
  239. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/toDate.js +6 -0
  240. package/dist/node_modules/.pnpm/embla-carousel-react@8.6.0_react@19.3.1/node_modules/embla-carousel-react/esm/embla-carousel-react.esm.cjs +1 -0
  241. package/dist/node_modules/.pnpm/embla-carousel-react@8.6.0_react@19.3.1/node_modules/embla-carousel-react/esm/embla-carousel-react.esm.js +23 -0
  242. package/dist/node_modules/.pnpm/input-otp@1.4.2_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/input-otp/dist/index.cjs +20 -0
  243. package/dist/node_modules/.pnpm/react-hook-form@7.83.0_react@19.3.1/node_modules/react-hook-form/dist/index.esm.cjs +1 -0
  244. package/dist/node_modules/.pnpm/react-number-format@5.4.5_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/react-number-format/dist/react-number-format.es.cjs +9 -0
  245. package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll-bar/dist/es2015/component.cjs +38 -0
  246. package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll-bar/dist/es2015/component.js +69 -0
  247. package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll-bar/dist/es2015/index.cjs +1 -0
  248. package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll-bar/dist/es2015/index.js +3 -0
  249. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/Combination.cjs +1 -0
  250. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/Combination.js +13 -0
  251. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/SideEffect.cjs +4 -0
  252. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/SideEffect.js +112 -0
  253. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/UI.cjs +1 -0
  254. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/UI.js +51 -0
  255. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/medium.cjs +1 -0
  256. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/medium.js +4 -0
  257. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/sidecar.cjs +1 -0
  258. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/sidecar.js +6 -0
  259. package/dist/node_modules/.pnpm/react-resizable-panels@2.1.9_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/react-resizable-panels/dist/react-resizable-panels.browser.esm.cjs +1 -0
  260. package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.3.0_react@19.3.1/node_modules/react-style-singleton/dist/es2015/component.cjs +1 -0
  261. package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.3.0_react@19.3.1/node_modules/react-style-singleton/dist/es2015/component.js +10 -0
  262. package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.3.0_react@19.3.1/node_modules/react-style-singleton/dist/es2015/hook.cjs +1 -0
  263. package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.3.0_react@19.3.1/node_modules/react-style-singleton/dist/es2015/hook.js +14 -0
  264. package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.3.0_react@19.3.1/node_modules/react-style-singleton/dist/es2015/index.cjs +1 -0
  265. package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.3.0_react@19.3.1/node_modules/react-style-singleton/dist/es2015/index.js +3 -0
  266. package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.3.0_react@19.3.1/node_modules/react-style-singleton/dist/es2015/singleton.cjs +1 -0
  267. package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.3.0_react@19.3.1/node_modules/react-style-singleton/dist/es2015/singleton.js +27 -0
  268. package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.3.0_react@19.3.1/node_modules/use-callback-ref/dist/es2015/useMergeRef.cjs +1 -0
  269. package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.3.0_react@19.3.1/node_modules/use-callback-ref/dist/es2015/useMergeRef.js +25 -0
  270. package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@19.3.0_react@19.3.1/node_modules/use-sidecar/dist/es2015/exports.cjs +1 -0
  271. package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@19.3.0_react@19.3.1/node_modules/use-sidecar/dist/es2015/exports.js +15 -0
  272. package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@19.3.0_react@19.3.1/node_modules/use-sidecar/dist/es2015/medium.cjs +1 -0
  273. package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@19.3.0_react@19.3.1/node_modules/use-sidecar/dist/es2015/medium.js +68 -0
  274. package/dist/node_modules/.pnpm/vaul@1.1.2_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@19.3.0_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/vaul/dist/index.cjs +3 -0
  275. package/dist/richtext/index.d.ts +2 -0
  276. package/dist/richtext/index.d.ts.map +1 -0
  277. package/dist/theme/index.cjs +1 -0
  278. package/dist/theme/index.js +34 -0
  279. package/dist/theme/tokens.stylex.cjs +1 -0
  280. package/dist/theme/tokens.stylex.d.ts +175 -5
  281. package/dist/theme/tokens.stylex.d.ts.map +1 -1
  282. package/dist/theme/tokens.stylex.js +166 -0
  283. package/dist/theme/zIndex.cjs +1 -0
  284. package/dist/theme.css +52 -138
  285. package/dist/ui/accordion.cjs +1 -0
  286. package/dist/ui/accordion.js +286 -0
  287. package/dist/ui/action-bar.cjs +1 -0
  288. package/dist/ui/action-bar.js +161 -0
  289. package/dist/ui/alert-dialog.cjs +1 -0
  290. package/dist/ui/alert-dialog.js +234 -0
  291. package/dist/ui/alert.cjs +1 -0
  292. package/dist/ui/alert.js +97 -0
  293. package/dist/ui/aspect-ratio.cjs +1 -0
  294. package/dist/ui/aspect-ratio.js +15 -0
  295. package/dist/ui/avatar.cjs +1 -0
  296. package/dist/ui/avatar.js +224 -0
  297. package/dist/ui/badge-overflow.cjs +1 -0
  298. package/dist/ui/badge-overflow.js +57 -0
  299. package/dist/ui/badge.cjs +1 -0
  300. package/dist/ui/badge.d.ts +2 -0
  301. package/dist/ui/badge.d.ts.map +1 -1
  302. package/dist/ui/badge.js +146 -0
  303. package/dist/ui/breadcrumb.cjs +1 -0
  304. package/dist/ui/breadcrumb.js +273 -0
  305. package/dist/ui/button.cjs +1 -0
  306. package/dist/ui/button.d.ts +2 -0
  307. package/dist/ui/button.d.ts.map +1 -1
  308. package/dist/ui/button.js +372 -0
  309. package/dist/ui/calendar.cjs +1 -0
  310. package/dist/ui/calendar.js +506 -0
  311. package/dist/ui/card.cjs +1 -0
  312. package/dist/ui/card.js +211 -0
  313. package/dist/ui/carousel.cjs +1 -0
  314. package/dist/ui/carousel.js +208 -0
  315. package/dist/ui/checkbox.cjs +1 -0
  316. package/dist/ui/checkbox.js +157 -0
  317. package/dist/ui/circular-progress.cjs +1 -0
  318. package/dist/ui/circular-progress.js +124 -0
  319. package/dist/ui/collapsible.cjs +1 -0
  320. package/dist/ui/collapsible.js +33 -0
  321. package/dist/ui/command.cjs +1 -0
  322. package/dist/ui/command.js +277 -0
  323. package/dist/ui/compare-slider.cjs +1 -0
  324. package/dist/ui/compare-slider.js +134 -0
  325. package/dist/ui/context-menu.cjs +1 -0
  326. package/dist/ui/context-menu.js +330 -0
  327. package/dist/ui/copy-button.cjs +1 -0
  328. package/dist/ui/copy-button.d.ts.map +1 -1
  329. package/dist/ui/copy-button.js +80 -0
  330. package/dist/ui/dialog.cjs +1 -0
  331. package/dist/ui/dialog.js +212 -0
  332. package/dist/ui/drawer.cjs +1 -0
  333. package/dist/ui/drawer.js +222 -0
  334. package/dist/ui/dropdown-menu.cjs +1 -0
  335. package/dist/ui/dropdown-menu.js +319 -0
  336. package/dist/ui/editable.cjs +1 -0
  337. package/dist/ui/editable.js +339 -0
  338. package/dist/ui/empty.cjs +1 -0
  339. package/dist/ui/empty.js +134 -0
  340. package/dist/ui/field.cjs +1 -0
  341. package/dist/ui/field.d.ts +2 -0
  342. package/dist/ui/field.d.ts.map +1 -1
  343. package/dist/ui/field.js +316 -0
  344. package/dist/ui/file-upload-adapters.cjs +1 -0
  345. package/dist/ui/file-upload.cjs +1 -0
  346. package/dist/ui/file-upload.js +997 -0
  347. package/dist/ui/flex.cjs +1 -0
  348. package/dist/ui/flex.js +182 -0
  349. package/dist/ui/form.cjs +1 -0
  350. package/dist/ui/form.js +159 -0
  351. package/dist/ui/gauge.cjs +1 -0
  352. package/dist/ui/gauge.js +116 -0
  353. package/dist/ui/grid.cjs +1 -0
  354. package/dist/ui/grid.js +190 -0
  355. package/dist/ui/hover-card.cjs +1 -0
  356. package/dist/ui/hover-card.js +61 -0
  357. package/dist/ui/input-group.cjs +1 -0
  358. package/dist/ui/input-group.js +219 -0
  359. package/dist/ui/input-otp.cjs +1 -0
  360. package/dist/ui/input-otp.js +184 -0
  361. package/dist/ui/input.cjs +1 -0
  362. package/dist/ui/input.js +368 -0
  363. package/dist/ui/item.cjs +1 -0
  364. package/dist/ui/item.js +276 -0
  365. package/dist/ui/kbd.cjs +1 -0
  366. package/dist/ui/kbd.js +107 -0
  367. package/dist/ui/label.cjs +1 -0
  368. package/dist/ui/masonry.cjs +1 -0
  369. package/dist/ui/masonry.js +51 -0
  370. package/dist/ui/menubar.cjs +1 -0
  371. package/dist/ui/menubar.js +405 -0
  372. package/dist/ui/navigation-menu.cjs +1 -0
  373. package/dist/ui/navigation-menu.js +256 -0
  374. package/dist/ui/pagination.cjs +1 -0
  375. package/dist/ui/pagination.js +317 -0
  376. package/dist/ui/popover.cjs +1 -0
  377. package/dist/ui/popover.js +69 -0
  378. package/dist/ui/progress.cjs +1 -0
  379. package/dist/ui/progress.js +29 -0
  380. package/dist/ui/radio-group.cjs +1 -0
  381. package/dist/ui/radio-group.js +167 -0
  382. package/dist/ui/rating.cjs +1 -0
  383. package/dist/ui/rating.js +171 -0
  384. package/dist/ui/resizable.cjs +1 -0
  385. package/dist/ui/resizable.js +75 -0
  386. package/dist/ui/responsive-dialog.cjs +1 -0
  387. package/dist/ui/responsive-dialog.js +175 -0
  388. package/dist/ui/row-col.cjs +1 -0
  389. package/dist/ui/row-col.js +471 -0
  390. package/dist/ui/scroll-area.cjs +1 -0
  391. package/dist/ui/scroll-area.js +83 -0
  392. package/dist/ui/segmented.cjs +1 -0
  393. package/dist/ui/segmented.js +155 -0
  394. package/dist/ui/select.cjs +1 -0
  395. package/dist/ui/select.js +280 -0
  396. package/dist/ui/separator.cjs +1 -0
  397. package/dist/ui/separator.d.ts +2 -0
  398. package/dist/ui/separator.d.ts.map +1 -1
  399. package/dist/ui/separator.js +36 -0
  400. package/dist/ui/sheet.cjs +1 -0
  401. package/dist/ui/sheet.js +263 -0
  402. package/dist/ui/sidebar.cjs +1 -0
  403. package/dist/ui/sidebar.js +808 -0
  404. package/dist/ui/skeleton.cjs +1 -0
  405. package/dist/ui/skeleton.js +30 -0
  406. package/dist/ui/slider.cjs +1 -0
  407. package/dist/ui/slider.js +44 -0
  408. package/dist/ui/sonner.cjs +1 -0
  409. package/dist/ui/sonner.d.ts +1 -1
  410. package/dist/ui/sonner.d.ts.map +1 -1
  411. package/dist/ui/sonner.js +24 -0
  412. package/dist/ui/spinner.cjs +1 -0
  413. package/dist/ui/stat.cjs +1 -0
  414. package/dist/ui/stat.js +185 -0
  415. package/dist/ui/stepper.cjs +1 -0
  416. package/dist/ui/stepper.js +459 -0
  417. package/dist/ui/switch.cjs +1 -0
  418. package/dist/ui/switch.js +190 -0
  419. package/dist/ui/table.cjs +1 -0
  420. package/dist/ui/tabs.cjs +1 -0
  421. package/dist/ui/tabs.js +226 -0
  422. package/dist/ui/tags-input.cjs +1 -0
  423. package/dist/ui/tags-input.js +353 -0
  424. package/dist/ui/textarea.cjs +1 -0
  425. package/dist/ui/textarea.js +113 -0
  426. package/dist/ui/timeline.cjs +1 -0
  427. package/dist/ui/timeline.js +361 -0
  428. package/dist/ui/toggle-group.cjs +1 -0
  429. package/dist/ui/toggle-group.js +74 -0
  430. package/dist/ui/toggle.cjs +1 -0
  431. package/dist/ui/toggle.d.ts +1 -1
  432. package/dist/ui/toggle.js +136 -0
  433. package/dist/ui/tooltip.cjs +1 -0
  434. package/dist/ui/tooltip.js +63 -0
  435. package/dist/ui/useBreakpoint.cjs +1 -0
  436. package/dist/utils.cjs +1 -0
  437. package/dist/utils.d.ts.map +1 -1
  438. package/dist/utils.js +7 -0
  439. package/dist/vlrc-theme.css +316 -0
  440. package/package.json +51 -52
  441. package/dist/index10.cjs +0 -1
  442. package/dist/index10.js +0 -18
  443. package/dist/index100.cjs +0 -1
  444. package/dist/index100.js +0 -13
  445. package/dist/index101.cjs +0 -1
  446. package/dist/index101.js +0 -543
  447. package/dist/index102.cjs +0 -1
  448. package/dist/index102.js +0 -198
  449. package/dist/index103.cjs +0 -1
  450. package/dist/index103.js +0 -330
  451. package/dist/index104.cjs +0 -1
  452. package/dist/index104.js +0 -80
  453. package/dist/index105.cjs +0 -3
  454. package/dist/index106.cjs +0 -1
  455. package/dist/index106.js +0 -222
  456. package/dist/index107.cjs +0 -1
  457. package/dist/index107.js +0 -319
  458. package/dist/index108.cjs +0 -1
  459. package/dist/index108.js +0 -339
  460. package/dist/index109.cjs +0 -1
  461. package/dist/index109.js +0 -134
  462. package/dist/index11.cjs +0 -1
  463. package/dist/index110.cjs +0 -1
  464. package/dist/index111.cjs +0 -1
  465. package/dist/index111.js +0 -35
  466. package/dist/index112.cjs +0 -1
  467. package/dist/index112.js +0 -315
  468. package/dist/index113.cjs +0 -1
  469. package/dist/index114.cjs +0 -1
  470. package/dist/index114.js +0 -997
  471. package/dist/index115.cjs +0 -1
  472. package/dist/index116.cjs +0 -1
  473. package/dist/index116.js +0 -159
  474. package/dist/index117.cjs +0 -1
  475. package/dist/index117.js +0 -116
  476. package/dist/index118.cjs +0 -1
  477. package/dist/index119.cjs +0 -1
  478. package/dist/index119.js +0 -471
  479. package/dist/index12.cjs +0 -1
  480. package/dist/index12.js +0 -199
  481. package/dist/index120.cjs +0 -1
  482. package/dist/index120.js +0 -190
  483. package/dist/index121.cjs +0 -1
  484. package/dist/index121.js +0 -149
  485. package/dist/index122.cjs +0 -1
  486. package/dist/index122.js +0 -61
  487. package/dist/index123.cjs +0 -1
  488. package/dist/index123.js +0 -368
  489. package/dist/index124.cjs +0 -1
  490. package/dist/index124.js +0 -219
  491. package/dist/index125.cjs +0 -20
  492. package/dist/index126.cjs +0 -1
  493. package/dist/index126.js +0 -184
  494. package/dist/index127.cjs +0 -1
  495. package/dist/index127.js +0 -276
  496. package/dist/index128.cjs +0 -1
  497. package/dist/index128.js +0 -51
  498. package/dist/index129.cjs +0 -1
  499. package/dist/index129.js +0 -275
  500. package/dist/index13.cjs +0 -1
  501. package/dist/index13.js +0 -212
  502. package/dist/index130.cjs +0 -1
  503. package/dist/index130.js +0 -405
  504. package/dist/index131.cjs +0 -1
  505. package/dist/index132.cjs +0 -1
  506. package/dist/index132.js +0 -29
  507. package/dist/index133.cjs +0 -1
  508. package/dist/index133.js +0 -537
  509. package/dist/index134.cjs +0 -1
  510. package/dist/index134.js +0 -256
  511. package/dist/index135.cjs +0 -1
  512. package/dist/index135.js +0 -317
  513. package/dist/index136.cjs +0 -1
  514. package/dist/index136.js +0 -29
  515. package/dist/index137.cjs +0 -1
  516. package/dist/index137.js +0 -167
  517. package/dist/index138.cjs +0 -1
  518. package/dist/index138.js +0 -171
  519. package/dist/index139.cjs +0 -1
  520. package/dist/index14.cjs +0 -1
  521. package/dist/index14.js +0 -205
  522. package/dist/index140.cjs +0 -1
  523. package/dist/index140.js +0 -75
  524. package/dist/index141.cjs +0 -1
  525. package/dist/index141.js +0 -175
  526. package/dist/index142.cjs +0 -1
  527. package/dist/index142.js +0 -83
  528. package/dist/index143.cjs +0 -1
  529. package/dist/index143.js +0 -155
  530. package/dist/index144.cjs +0 -1
  531. package/dist/index144.js +0 -280
  532. package/dist/index145.cjs +0 -1
  533. package/dist/index145.js +0 -263
  534. package/dist/index146.cjs +0 -1
  535. package/dist/index146.js +0 -30
  536. package/dist/index147.cjs +0 -1
  537. package/dist/index147.js +0 -808
  538. package/dist/index149.cjs +0 -1
  539. package/dist/index149.js +0 -431
  540. package/dist/index15.cjs +0 -1
  541. package/dist/index15.js +0 -128
  542. package/dist/index150.cjs +0 -1
  543. package/dist/index150.js +0 -44
  544. package/dist/index151.cjs +0 -1
  545. package/dist/index151.js +0 -28
  546. package/dist/index152.cjs +0 -1
  547. package/dist/index153.cjs +0 -1
  548. package/dist/index153.js +0 -185
  549. package/dist/index154.cjs +0 -1
  550. package/dist/index154.js +0 -459
  551. package/dist/index155.cjs +0 -1
  552. package/dist/index155.js +0 -155
  553. package/dist/index156.cjs +0 -1
  554. package/dist/index156.js +0 -190
  555. package/dist/index157.cjs +0 -1
  556. package/dist/index158.cjs +0 -1
  557. package/dist/index158.js +0 -117
  558. package/dist/index159.cjs +0 -1
  559. package/dist/index159.js +0 -226
  560. package/dist/index16.cjs +0 -1
  561. package/dist/index16.js +0 -75
  562. package/dist/index160.cjs +0 -1
  563. package/dist/index160.js +0 -353
  564. package/dist/index161.cjs +0 -1
  565. package/dist/index161.js +0 -113
  566. package/dist/index162.cjs +0 -1
  567. package/dist/index162.js +0 -361
  568. package/dist/index163.cjs +0 -1
  569. package/dist/index163.js +0 -30
  570. package/dist/index164.cjs +0 -1
  571. package/dist/index164.js +0 -136
  572. package/dist/index165.cjs +0 -1
  573. package/dist/index165.js +0 -122
  574. package/dist/index166.cjs +0 -1
  575. package/dist/index166.js +0 -74
  576. package/dist/index167.cjs +0 -1
  577. package/dist/index167.js +0 -120
  578. package/dist/index169.cjs +0 -1
  579. package/dist/index169.js +0 -101
  580. package/dist/index17.cjs +0 -1
  581. package/dist/index17.js +0 -123
  582. package/dist/index170.cjs +0 -1
  583. package/dist/index170.js +0 -46
  584. package/dist/index171.cjs +0 -1
  585. package/dist/index171.js +0 -48
  586. package/dist/index172.cjs +0 -1
  587. package/dist/index172.js +0 -50
  588. package/dist/index173.cjs +0 -1
  589. package/dist/index174.cjs +0 -1
  590. package/dist/index174.js +0 -159
  591. package/dist/index175.cjs +0 -1
  592. package/dist/index175.js +0 -71
  593. package/dist/index176.cjs +0 -1
  594. package/dist/index176.js +0 -59
  595. package/dist/index177.cjs +0 -1
  596. package/dist/index177.js +0 -226
  597. package/dist/index178.cjs +0 -1
  598. package/dist/index178.js +0 -114
  599. package/dist/index179.cjs +0 -1
  600. package/dist/index179.js +0 -221
  601. package/dist/index18.cjs +0 -1
  602. package/dist/index18.js +0 -16
  603. package/dist/index181.cjs +0 -1
  604. package/dist/index181.js +0 -367
  605. package/dist/index182.cjs +0 -1
  606. package/dist/index182.js +0 -163
  607. package/dist/index183.cjs +0 -1
  608. package/dist/index183.js +0 -199
  609. package/dist/index184.cjs +0 -1
  610. package/dist/index184.js +0 -25
  611. package/dist/index186.cjs +0 -1
  612. package/dist/index186.js +0 -6
  613. package/dist/index187.cjs +0 -1
  614. package/dist/index187.js +0 -6
  615. package/dist/index189.cjs +0 -1
  616. package/dist/index189.js +0 -8
  617. package/dist/index190.cjs +0 -1
  618. package/dist/index190.js +0 -9
  619. package/dist/index191.cjs +0 -1
  620. package/dist/index191.js +0 -13
  621. package/dist/index192.cjs +0 -1
  622. package/dist/index192.js +0 -7
  623. package/dist/index193.cjs +0 -1
  624. package/dist/index193.js +0 -7
  625. package/dist/index194.cjs +0 -1
  626. package/dist/index194.js +0 -7
  627. package/dist/index195.cjs +0 -1
  628. package/dist/index195.js +0 -10
  629. package/dist/index196.cjs +0 -1
  630. package/dist/index196.js +0 -9
  631. package/dist/index198.cjs +0 -1
  632. package/dist/index198.js +0 -7
  633. package/dist/index199.cjs +0 -1
  634. package/dist/index199.js +0 -7
  635. package/dist/index202.cjs +0 -1
  636. package/dist/index202.js +0 -31
  637. package/dist/index205.cjs +0 -1
  638. package/dist/index205.js +0 -201
  639. package/dist/index208.cjs +0 -1
  640. package/dist/index208.js +0 -123
  641. package/dist/index209.cjs +0 -1
  642. package/dist/index209.js +0 -19
  643. package/dist/index21.cjs +0 -1
  644. package/dist/index21.js +0 -29
  645. package/dist/index210.cjs +0 -1
  646. package/dist/index210.js +0 -9
  647. package/dist/index211.cjs +0 -1
  648. package/dist/index211.js +0 -10
  649. package/dist/index212.cjs +0 -1
  650. package/dist/index212.js +0 -14
  651. package/dist/index213.cjs +0 -1
  652. package/dist/index213.js +0 -10
  653. package/dist/index214.cjs +0 -1
  654. package/dist/index214.js +0 -10
  655. package/dist/index216.cjs +0 -1
  656. package/dist/index216.js +0 -42
  657. package/dist/index217.cjs +0 -1
  658. package/dist/index217.js +0 -388
  659. package/dist/index22.cjs +0 -1
  660. package/dist/index22.js +0 -371
  661. package/dist/index220.cjs +0 -1
  662. package/dist/index220.js +0 -58
  663. package/dist/index221.cjs +0 -1
  664. package/dist/index221.js +0 -40
  665. package/dist/index222.cjs +0 -1
  666. package/dist/index222.js +0 -123
  667. package/dist/index223.cjs +0 -1
  668. package/dist/index223.js +0 -86
  669. package/dist/index224.cjs +0 -1
  670. package/dist/index224.js +0 -89
  671. package/dist/index225.cjs +0 -1
  672. package/dist/index225.js +0 -120
  673. package/dist/index226.cjs +0 -1
  674. package/dist/index226.js +0 -100
  675. package/dist/index227.cjs +0 -1
  676. package/dist/index227.js +0 -157
  677. package/dist/index228.cjs +0 -1
  678. package/dist/index228.js +0 -79
  679. package/dist/index229.cjs +0 -9
  680. package/dist/index23.cjs +0 -1
  681. package/dist/index23.js +0 -212
  682. package/dist/index230.cjs +0 -1
  683. package/dist/index230.js +0 -67
  684. package/dist/index231.cjs +0 -1
  685. package/dist/index231.js +0 -43
  686. package/dist/index232.cjs +0 -1
  687. package/dist/index232.js +0 -67
  688. package/dist/index234.cjs +0 -1
  689. package/dist/index234.js +0 -101
  690. package/dist/index235.cjs +0 -1
  691. package/dist/index235.js +0 -222
  692. package/dist/index236.cjs +0 -1
  693. package/dist/index236.js +0 -30
  694. package/dist/index238.cjs +0 -1
  695. package/dist/index238.js +0 -63
  696. package/dist/index239.cjs +0 -1
  697. package/dist/index239.js +0 -422
  698. package/dist/index24.cjs +0 -1
  699. package/dist/index24.js +0 -257
  700. package/dist/index240.cjs +0 -1
  701. package/dist/index240.js +0 -30
  702. package/dist/index241.cjs +0 -1
  703. package/dist/index241.js +0 -221
  704. package/dist/index25.cjs +0 -1
  705. package/dist/index25.js +0 -286
  706. package/dist/index26.cjs +0 -1
  707. package/dist/index26.js +0 -182
  708. package/dist/index27.cjs +0 -1
  709. package/dist/index27.js +0 -107
  710. package/dist/index28.cjs +0 -1
  711. package/dist/index28.js +0 -161
  712. package/dist/index29.cjs +0 -1
  713. package/dist/index29.js +0 -97
  714. package/dist/index3.cjs +0 -1
  715. package/dist/index3.js +0 -63
  716. package/dist/index30.cjs +0 -1
  717. package/dist/index31.cjs +0 -1
  718. package/dist/index33.cjs +0 -1
  719. package/dist/index33.js +0 -87
  720. package/dist/index34.cjs +0 -1
  721. package/dist/index34.js +0 -234
  722. package/dist/index35.cjs +0 -1
  723. package/dist/index36.cjs +0 -1
  724. package/dist/index36.js +0 -31
  725. package/dist/index37.cjs +0 -1
  726. package/dist/index37.js +0 -15
  727. package/dist/index38.cjs +0 -1
  728. package/dist/index39.cjs +0 -1
  729. package/dist/index40.cjs +0 -1
  730. package/dist/index40.js +0 -87
  731. package/dist/index41.cjs +0 -1
  732. package/dist/index41.js +0 -69
  733. package/dist/index42.cjs +0 -1
  734. package/dist/index42.js +0 -224
  735. package/dist/index43.cjs +0 -1
  736. package/dist/index43.js +0 -145
  737. package/dist/index44.cjs +0 -1
  738. package/dist/index44.js +0 -57
  739. package/dist/index45.cjs +0 -1
  740. package/dist/index45.js +0 -273
  741. package/dist/index46.cjs +0 -1
  742. package/dist/index46.js +0 -8
  743. package/dist/index48.cjs +0 -1
  744. package/dist/index48.js +0 -506
  745. package/dist/index49.cjs +0 -1
  746. package/dist/index49.js +0 -211
  747. package/dist/index52.cjs +0 -1
  748. package/dist/index52.js +0 -23
  749. package/dist/index53.cjs +0 -1
  750. package/dist/index53.js +0 -208
  751. package/dist/index54.cjs +0 -1
  752. package/dist/index54.js +0 -157
  753. package/dist/index55.cjs +0 -1
  754. package/dist/index55.js +0 -124
  755. package/dist/index56.cjs +0 -1
  756. package/dist/index56.js +0 -20
  757. package/dist/index57.cjs +0 -1
  758. package/dist/index57.js +0 -82
  759. package/dist/index58.cjs +0 -1
  760. package/dist/index58.js +0 -97
  761. package/dist/index59.cjs +0 -1
  762. package/dist/index59.js +0 -15
  763. package/dist/index60.cjs +0 -1
  764. package/dist/index60.js +0 -94
  765. package/dist/index61.cjs +0 -1
  766. package/dist/index61.js +0 -33
  767. package/dist/index62.cjs +0 -1
  768. package/dist/index62.js +0 -277
  769. package/dist/index63.cjs +0 -1
  770. package/dist/index63.js +0 -134
  771. package/dist/index64.cjs +0 -1
  772. package/dist/index64.js +0 -409
  773. package/dist/index65.cjs +0 -1
  774. package/dist/index65.js +0 -170
  775. package/dist/index66.cjs +0 -1
  776. package/dist/index67.cjs +0 -1
  777. package/dist/index67.js +0 -158
  778. package/dist/index69.cjs +0 -1
  779. package/dist/index69.js +0 -336
  780. package/dist/index7.cjs +0 -1
  781. package/dist/index7.js +0 -24
  782. package/dist/index71.cjs +0 -1
  783. package/dist/index71.js +0 -321
  784. package/dist/index72.cjs +0 -1
  785. package/dist/index72.js +0 -211
  786. package/dist/index73.cjs +0 -1
  787. package/dist/index73.js +0 -34
  788. package/dist/index74.cjs +0 -1
  789. package/dist/index74.js +0 -163
  790. package/dist/index75.cjs +0 -1
  791. package/dist/index75.js +0 -20
  792. package/dist/index76.cjs +0 -1
  793. package/dist/index77.cjs +0 -1
  794. package/dist/index77.js +0 -168
  795. package/dist/index8.cjs +0 -1
  796. package/dist/index83.cjs +0 -1
  797. package/dist/index83.js +0 -25
  798. package/dist/index84.cjs +0 -1
  799. package/dist/index84.js +0 -68
  800. package/dist/index85.cjs +0 -1
  801. package/dist/index85.js +0 -15
  802. package/dist/index86.cjs +0 -1
  803. package/dist/index86.js +0 -4
  804. package/dist/index87.cjs +0 -1
  805. package/dist/index87.js +0 -51
  806. package/dist/index89.cjs +0 -1
  807. package/dist/index89.js +0 -27
  808. package/dist/index9.cjs +0 -1
  809. package/dist/index9.js +0 -63
  810. package/dist/index90.cjs +0 -1
  811. package/dist/index90.js +0 -14
  812. package/dist/index91.cjs +0 -1
  813. package/dist/index91.js +0 -10
  814. package/dist/index92.cjs +0 -1
  815. package/dist/index92.js +0 -3
  816. package/dist/index94.cjs +0 -38
  817. package/dist/index94.js +0 -69
  818. package/dist/index95.cjs +0 -1
  819. package/dist/index95.js +0 -3
  820. package/dist/index98.cjs +0 -4
  821. package/dist/index98.js +0 -112
  822. package/dist/index99.cjs +0 -1
  823. package/dist/index99.js +0 -6
  824. /package/dist/{index173.js → DataTable/render/defaults.js} +0 -0
  825. /package/dist/{index47.cjs → Form/FormDatePicker/types.cjs} +0 -0
  826. /package/dist/{index47.js → Form/FormDatePicker/types.js} +0 -0
  827. /package/dist/{index237.cjs → Form/FormRadioGroup/useFormRadio.cjs} +0 -0
  828. /package/dist/{index237.js → Form/FormRadioGroup/useFormRadio.js} +0 -0
  829. /package/dist/{index233.cjs → Form/FormSelect/useFormSelect.cjs} +0 -0
  830. /package/dist/{index233.js → Form/FormSelect/useFormSelect.js} +0 -0
  831. /package/dist/{index4.cjs → Icons/Icons.cjs} +0 -0
  832. /package/dist/{index4.js → Icons/Icons.js} +0 -0
  833. /package/dist/{index180.cjs → MultiSelect/utils.cjs} +0 -0
  834. /package/dist/{index180.js → MultiSelect/utils.js} +0 -0
  835. /package/dist/{index5.cjs → Typography/types.cjs} +0 -0
  836. /package/dist/{index5.js → Typography/types.js} +0 -0
  837. /package/dist/{index11.js → Typography/weightStyles.js} +0 -0
  838. /package/dist/{index2.cjs → _virtual/_rolldown/runtime.cjs} +0 -0
  839. /package/dist/{index2.js → _virtual/_rolldown/runtime.js} +0 -0
  840. /package/dist/{index168.cjs → lazyLoad.cjs} +0 -0
  841. /package/dist/{index168.js → lazyLoad.js} +0 -0
  842. /package/dist/{index68.cjs → node_modules/.pnpm/@floating-ui_utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.cjs} +0 -0
  843. /package/dist/{index70.cjs → node_modules/.pnpm/@floating-ui_utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.cjs} +0 -0
  844. /package/dist/{index70.js → node_modules/.pnpm/@floating-ui_utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js} +0 -0
  845. /package/dist/{index68.js → node_modules/.pnpm/@floating-ui_utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.js} +0 -0
  846. /package/dist/{index148.cjs → node_modules/.pnpm/@radix-ui_number@1.1.3/node_modules/@radix-ui/number/dist/index.cjs} +0 -0
  847. /package/dist/{index148.js → node_modules/.pnpm/@radix-ui_number@1.1.3/node_modules/@radix-ui/number/dist/index.js} +0 -0
  848. /package/dist/{index32.cjs → node_modules/.pnpm/@radix-ui_primitive@1.1.7/node_modules/@radix-ui/primitive/dist/index.cjs} +0 -0
  849. /package/dist/{index32.js → node_modules/.pnpm/@radix-ui_primitive@1.1.7/node_modules/@radix-ui/primitive/dist/index.js} +0 -0
  850. /package/dist/{index31.js → node_modules/.pnpm/@radix-ui_react-compose-refs@1.1.5_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-compose-refs/dist/index.js} +0 -0
  851. /package/dist/{index30.js → 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} +0 -0
  852. /package/dist/{index66.js → node_modules/.pnpm/@radix-ui_react-focus-guards@1.1.6_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-focus-guards/dist/index.js} +0 -0
  853. /package/dist/{index35.js → 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} +0 -0
  854. /package/dist/{index38.js → node_modules/.pnpm/@radix-ui_react-use-callback-ref@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-callback-ref/dist/index.js} +0 -0
  855. /package/dist/{index76.js → node_modules/.pnpm/@radix-ui_react-use-is-hydrated@0.1.3_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-is-hydrated/dist/index.js} +0 -0
  856. /package/dist/{index39.js → node_modules/.pnpm/@radix-ui_react-use-layout-effect@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-layout-effect/dist/index.js} +0 -0
  857. /package/dist/{index131.js → node_modules/.pnpm/@radix-ui_react-use-previous@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-previous/dist/index.js} +0 -0
  858. /package/dist/{index78.cjs → node_modules/.pnpm/aria-hidden@1.2.6/node_modules/aria-hidden/dist/es2015/index.cjs} +0 -0
  859. /package/dist/{index78.js → node_modules/.pnpm/aria-hidden@1.2.6/node_modules/aria-hidden/dist/es2015/index.js} +0 -0
  860. /package/dist/{index215.cjs → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/addLeadingZeros.cjs} +0 -0
  861. /package/dist/{index215.js → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/addLeadingZeros.js} +0 -0
  862. /package/dist/{index188.cjs → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/defaultOptions.cjs} +0 -0
  863. /package/dist/{index188.js → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/defaultOptions.js} +0 -0
  864. /package/dist/{index218.cjs → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/format/longFormatters.cjs} +0 -0
  865. /package/dist/{index218.js → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/format/longFormatters.js} +0 -0
  866. /package/dist/{index219.cjs → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/protectedTokens.cjs} +0 -0
  867. /package/dist/{index219.js → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/protectedTokens.js} +0 -0
  868. /package/dist/{index185.cjs → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/constants.cjs} +0 -0
  869. /package/dist/{index185.js → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/constants.js} +0 -0
  870. /package/dist/{index197.cjs → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/isDate.cjs} +0 -0
  871. /package/dist/{index197.js → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/isDate.js} +0 -0
  872. /package/dist/{index201.cjs → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildFormatLongFn.cjs} +0 -0
  873. /package/dist/{index201.js → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildFormatLongFn.js} +0 -0
  874. /package/dist/{index204.cjs → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildLocalizeFn.cjs} +0 -0
  875. /package/dist/{index204.js → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildLocalizeFn.js} +0 -0
  876. /package/dist/{index206.cjs → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildMatchFn.cjs} +0 -0
  877. /package/dist/{index206.js → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildMatchFn.js} +0 -0
  878. /package/dist/{index207.cjs → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildMatchPatternFn.cjs} +0 -0
  879. /package/dist/{index207.js → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js} +0 -0
  880. /package/dist/{index200.cjs → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatDistance.cjs} +0 -0
  881. /package/dist/{index200.js → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatDistance.js} +0 -0
  882. /package/dist/{index203.cjs → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatRelative.cjs} +0 -0
  883. /package/dist/{index203.js → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatRelative.js} +0 -0
  884. /package/dist/{index50.cjs → node_modules/.pnpm/embla-carousel-reactive-utils@8.6.0_embla-carousel@8.6.0/node_modules/embla-carousel-reactive-utils/esm/embla-carousel-reactive-utils.esm.cjs} +0 -0
  885. /package/dist/{index50.js → node_modules/.pnpm/embla-carousel-reactive-utils@8.6.0_embla-carousel@8.6.0/node_modules/embla-carousel-reactive-utils/esm/embla-carousel-reactive-utils.esm.js} +0 -0
  886. /package/dist/{index51.cjs → node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/embla-carousel.esm.cjs} +0 -0
  887. /package/dist/{index51.js → node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/embla-carousel.esm.js} +0 -0
  888. /package/dist/{index88.cjs → node_modules/.pnpm/get-nonce@1.0.1/node_modules/get-nonce/dist/es2015/index.cjs} +0 -0
  889. /package/dist/{index88.js → node_modules/.pnpm/get-nonce@1.0.1/node_modules/get-nonce/dist/es2015/index.js} +0 -0
  890. /package/dist/{index125.js → node_modules/.pnpm/input-otp@1.4.2_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/input-otp/dist/index.js} +0 -0
  891. /package/dist/{index115.js → node_modules/.pnpm/react-hook-form@7.83.0_react@19.3.1/node_modules/react-hook-form/dist/index.esm.js} +0 -0
  892. /package/dist/{index229.js → node_modules/.pnpm/react-number-format@5.4.5_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/react-number-format/dist/react-number-format.es.js} +0 -0
  893. /package/dist/{index80.cjs → node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll-bar/dist/es2015/constants.cjs} +0 -0
  894. /package/dist/{index80.js → node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll-bar/dist/es2015/constants.js} +0 -0
  895. /package/dist/{index93.cjs → node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll-bar/dist/es2015/utils.cjs} +0 -0
  896. /package/dist/{index93.js → node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll-bar/dist/es2015/utils.js} +0 -0
  897. /package/dist/{index96.cjs → node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.cjs} +0 -0
  898. /package/dist/{index96.js → node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js} +0 -0
  899. /package/dist/{index97.cjs → node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/handleScroll.cjs} +0 -0
  900. /package/dist/{index97.js → node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/handleScroll.js} +0 -0
  901. /package/dist/{index139.js → node_modules/.pnpm/react-resizable-panels@2.1.9_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/react-resizable-panels/dist/react-resizable-panels.browser.esm.js} +0 -0
  902. /package/dist/{index79.cjs → node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.cjs} +0 -0
  903. /package/dist/{index79.js → node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.js} +0 -0
  904. /package/dist/{index81.cjs → node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.3.0_react@19.3.1/node_modules/use-callback-ref/dist/es2015/assignRef.cjs} +0 -0
  905. /package/dist/{index81.js → node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.3.0_react@19.3.1/node_modules/use-callback-ref/dist/es2015/assignRef.js} +0 -0
  906. /package/dist/{index82.cjs → node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.3.0_react@19.3.1/node_modules/use-callback-ref/dist/es2015/useRef.cjs} +0 -0
  907. /package/dist/{index82.js → node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.3.0_react@19.3.1/node_modules/use-callback-ref/dist/es2015/useRef.js} +0 -0
  908. /package/dist/{index105.js → node_modules/.pnpm/vaul@1.1.2_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@19.3.0_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/vaul/dist/index.js} +0 -0
  909. /package/dist/{index6.cjs → theme/spacing.cjs} +0 -0
  910. /package/dist/{index6.js → theme/spacing.js} +0 -0
  911. /package/dist/{index19.cjs → theme/types.cjs} +0 -0
  912. /package/dist/{index19.js → theme/types.js} +0 -0
  913. /package/dist/{index20.cjs → theme/width.cjs} +0 -0
  914. /package/dist/{index20.js → theme/width.js} +0 -0
  915. /package/dist/{index8.js → theme/zIndex.js} +0 -0
  916. /package/dist/{index113.js → ui/file-upload-adapters.js} +0 -0
  917. /package/dist/{index110.js → ui/label.js} +0 -0
  918. /package/dist/{index152.js → ui/spinner.js} +0 -0
  919. /package/dist/{index157.js → ui/table.js} +0 -0
  920. /package/dist/{index118.js → ui/useBreakpoint.js} +0 -0
package/dist/index172.cjs DELETED
@@ -1 +0,0 @@
1
- const e=require("./index2.cjs"),t=require("./index22.cjs"),n=require("./index107.cjs");let r=require("@stylexjs/stylex");r=e.__toESM(r,1);let i=require("lucide-react"),a=require("react/jsx-runtime"),o=require("react"),s=require("react/compiler-runtime"),c=require("lodash-es");var l={triggerOpen:{kWkggS:`x1jgryid`,kMwMTN:`xzeqxs3`,$$css:!0}},u=e=>{let r=(0,s.c)(25),{table:u,columnVisibility:f}=e,[p,m]=(0,o.useState)(!1),h,g,_,v,y,b,x;if(r[0]!==f||r[1]!==p||r[2]!==u){let e=u.getAllColumns().filter(d);g=n.DropdownMenu,y=p,b=m;let o=p?l.triggerOpen:void 0,s;r[10]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,a.jsx)(i.ChevronDown,{className:`x1kky2od xlup9mm x1iog12x`}),r[10]=s):s=r[10],r[11]===o?x=r[12]:(x=(0,a.jsx)(n.DropdownMenuTrigger,{asChild:!0,children:(0,a.jsxs)(t.Button,{variant:`outline`,sx:o,children:[`Columns `,s]})}),r[11]=o,r[12]=x),h=n.DropdownMenuContent,_=`end`;let S;r[13]===f?S=r[14]:(S=e=>(0,a.jsx)(n.DropdownMenuCheckboxItem,{checked:f[e.id]!==!1,onCheckedChange:()=>e.toggleVisibility(f[e.id]===!1),children:e.id},e.id),r[13]=f,r[14]=S),v=(0,c.map)(e,S),r[0]=f,r[1]=p,r[2]=u,r[3]=h,r[4]=g,r[5]=_,r[6]=v,r[7]=y,r[8]=b,r[9]=x}else h=r[3],g=r[4],_=r[5],v=r[6],y=r[7],b=r[8],x=r[9];let S;r[15]!==h||r[16]!==_||r[17]!==v?(S=(0,a.jsx)(h,{align:_,children:v}),r[15]=h,r[16]=_,r[17]=v,r[18]=S):S=r[18];let C;return r[19]!==g||r[20]!==y||r[21]!==b||r[22]!==x||r[23]!==S?(C=(0,a.jsxs)(g,{open:y,onOpenChange:b,children:[x,S]}),r[19]=g,r[20]=y,r[21]=b,r[22]=x,r[23]=S,r[24]=C):C=r[24],C};function d(e){return e.getCanHide()}exports.DataTableViewOptions=u;
package/dist/index172.js DELETED
@@ -1,50 +0,0 @@
1
- import { Button as e } from "./index22.js";
2
- import { DropdownMenu as t, DropdownMenuCheckboxItem as n, DropdownMenuContent as r, DropdownMenuTrigger as i } from "./index107.js";
3
- import "@stylexjs/stylex";
4
- import { ChevronDown as a } from "lucide-react";
5
- import { jsx as o, jsxs as s } from "react/jsx-runtime";
6
- import { useState as c } from "react";
7
- import { c as l } from "react/compiler-runtime";
8
- import { map as u } from "lodash-es";
9
- // src/DataTable/components/DataTableViewOptions.tsx
10
- var d = { triggerOpen: {
11
- kWkggS: "x1jgryid",
12
- kMwMTN: "xzeqxs3",
13
- $$css: !0
14
- } }, f = (f) => {
15
- let m = l(25), { table: h, columnVisibility: g } = f, [_, v] = c(!1), y, b, x, S, C, w, T;
16
- if (m[0] !== g || m[1] !== _ || m[2] !== h) {
17
- let c = h.getAllColumns().filter(p);
18
- b = t, C = _, w = v;
19
- let l = _ ? d.triggerOpen : void 0, f;
20
- m[10] === Symbol.for("react.memo_cache_sentinel") ? (f = /* @__PURE__ */ o(a, { className: "x1kky2od xlup9mm x1iog12x" }), m[10] = f) : f = m[10], m[11] === l ? T = m[12] : (T = /* @__PURE__ */ o(i, {
21
- asChild: !0,
22
- children: /* @__PURE__ */ s(e, {
23
- variant: "outline",
24
- sx: l,
25
- children: ["Columns ", f]
26
- })
27
- }), m[11] = l, m[12] = T), y = r, x = "end";
28
- let E;
29
- m[13] === g ? E = m[14] : (E = (e) => /* @__PURE__ */ o(n, {
30
- checked: g[e.id] !== !1,
31
- onCheckedChange: () => e.toggleVisibility(g[e.id] === !1),
32
- children: e.id
33
- }, e.id), m[13] = g, m[14] = E), S = u(c, E), m[0] = g, m[1] = _, m[2] = h, m[3] = y, m[4] = b, m[5] = x, m[6] = S, m[7] = C, m[8] = w, m[9] = T;
34
- } else y = m[3], b = m[4], x = m[5], S = m[6], C = m[7], w = m[8], T = m[9];
35
- let E;
36
- m[15] !== y || m[16] !== x || m[17] !== S ? (E = /* @__PURE__ */ o(y, {
37
- align: x,
38
- children: S
39
- }), m[15] = y, m[16] = x, m[17] = S, m[18] = E) : E = m[18];
40
- let D;
41
- return m[19] !== b || m[20] !== C || m[21] !== w || m[22] !== T || m[23] !== E ? (D = /* @__PURE__ */ s(b, {
42
- open: C,
43
- onOpenChange: w,
44
- children: [T, E]
45
- }), m[19] = b, m[20] = C, m[21] = w, m[22] = T, m[23] = E, m[24] = D) : D = m[24], D;
46
- };
47
- function p(e) {
48
- return e.getCanHide();
49
- }
50
- export { f as DataTableViewOptions };
package/dist/index173.cjs DELETED
@@ -1 +0,0 @@
1
- const e=require("./index2.cjs");let t=require("@stylexjs/stylex");t=e.__toESM(t,1);let n=require("react/jsx-runtime"),r=require("lodash-es");var i={placeholder:`Search...`,debounceMs:300},a={pageSizeOptions:[10,20,50,100]},o={render:()=>(0,n.jsx)(`div`,{className:`xw3nh4a x18mflkt x2b8uid xkpwil5`,children:`No results.`})},s={mode:`client`,isFetching:!1,totalRows:0,onQueryChange:r.noop},c={enabled:!1,thresholdPx:200,onEndReached:r.noop},l=()=>({getRowActions:()=>[]});exports.DEFAULT_API=s,exports.DEFAULT_EMPTY=o,exports.DEFAULT_INFINITE_SCROLL=c,exports.DEFAULT_PAGINATION=a,exports.DEFAULT_SEARCH=i,exports.createDefaultActions=l;
package/dist/index174.cjs DELETED
@@ -1 +0,0 @@
1
- const e=require("./index2.cjs"),t=require("./index46.cjs"),n=require("./index169.cjs"),r=require("./index170.cjs"),ee=require("./index171.cjs"),i=require("./index172.cjs"),a=require("./index173.cjs");let o=require("@stylexjs/stylex");o=e.__toESM(o,1);let s=require("react/jsx-runtime"),c=require("react"),l=require("lodash-es"),u=require("ahooks"),d=require("@tanstack/react-table");var te={sorting:[],columnFilters:[],globalFilter:``,columnVisibility:{},rowSelection:{},pagination:{pageIndex:0,pageSize:10},expanded:{}},f=()=>({enabled:!1,renderSubComponent:()=>null,getSubRows:()=>[]}),p=()=>null,ne=(e,t)=>String(t),m=({data:e,columns:o,initialState:m,empty:h,search:g,pagination:_,actions:v,api:y,infiniteScroll:b,expand:x,className:S,containerClassName:C,getRowId:w,renderToolbarRight:T})=>{let E=m===void 0?te:m,D=h===void 0?a.DEFAULT_EMPTY:h,O=g===void 0?a.DEFAULT_SEARCH:g,k=_===void 0?a.DEFAULT_PAGINATION:_,A=v===void 0?a.createDefaultActions():v,j=y===void 0?a.DEFAULT_API:y,M=b===void 0?a.DEFAULT_INFINITE_SCROLL:b,N=x===void 0?f():x,re=w===void 0?ne:w,ie=T===void 0?p:T,[P,F]=(0,c.useState)(E.sorting),[I,ae]=(0,c.useState)(E.columnFilters),[L,R]=(0,c.useState)(E.globalFilter),[z,B]=(0,c.useState)(E.columnVisibility),[V,H]=(0,c.useState)(E.rowSelection),[U,W]=(0,c.useState)(E.pagination),[G,K]=(0,c.useState)(E.expanded),q=j.mode===`server`,oe=q&&U.pageSize>0?Math.ceil(j.totalRows/U.pageSize):void 0,J=(0,d.useReactTable)({data:e,columns:o,state:{sorting:P,columnFilters:I,globalFilter:L,columnVisibility:z,rowSelection:V,pagination:U,expanded:G},manualSorting:q,manualFiltering:q,manualPagination:q,pageCount:oe,meta:{getRowActions:A.getRowActions},enableRowSelection:!0,getRowId:(e,t,n)=>re(e,t,n===void 0?null:n),onSortingChange:e=>F(t=>(0,d.functionalUpdate)(e,t)),onColumnFiltersChange:e=>ae(t=>(0,d.functionalUpdate)(e,t)),onGlobalFilterChange:e=>R(t=>(0,d.functionalUpdate)(e,t)),onColumnVisibilityChange:e=>B(t=>(0,d.functionalUpdate)(e,t)),onRowSelectionChange:e=>H(t=>(0,d.functionalUpdate)(e,t)),onPaginationChange:e=>W(t=>(0,d.functionalUpdate)(e,t)),onExpandedChange:e=>K(t=>(0,d.functionalUpdate)(e,t)),getCoreRowModel:(0,d.getCoreRowModel)(),getSortedRowModel:q?void 0:(0,d.getSortedRowModel)(),getFilteredRowModel:q?void 0:(0,d.getFilteredRowModel)(),getPaginationRowModel:q?void 0:(0,d.getPaginationRowModel)(),getExpandedRowModel:(0,d.getExpandedRowModel)(),getSubRows:N.enabled?N.getSubRows:void 0,getRowCanExpand:()=>N.enabled}),Y={sorting:P,columnFilters:I,globalFilter:L,pagination:U};(0,u.useUpdateEffect)(()=>{q||W(e=>({...e,pageIndex:0}))},[q,L,I,P]),(0,c.useEffect)(()=>{if(q)return;let e=J.getFilteredRowModel().rows.length,t=U.pageSize,n=t>0?Math.ceil(e/t):0,r=n===0?0:n-1;W(e=>({...e,pageIndex:(0,l.clamp)(e.pageIndex,0,r)}))},[q,U.pageSize,J]);let X=(0,c.useRef)((0,l.debounce)(e=>{j.onQueryChange(e)},O.debounceMs));(0,c.useEffect)(()=>(X.current=(0,l.debounce)(e=>{j.onQueryChange(e)},O.debounceMs),()=>{X.current.cancel()}),[j,O.debounceMs]),(0,u.useUpdateEffect)(()=>{if(j.mode===`server`)return X.current(Y),()=>{X.current.cancel()}},[Y,j]);let[Z,se]=(0,c.useState)(null);(0,c.useEffect)(()=>{if(M.enabled===!1||Z===null)return;let e=()=>{if(j.isFetching)return;let e=Z.scrollTop;Z.scrollHeight-(e+Z.clientHeight)<=M.thresholdPx&&M.onEndReached(Y)};return Z.addEventListener(`scroll`,e,{passive:!0}),()=>{Z.removeEventListener(`scroll`,e)}},[j.isFetching,M,Y,Z]);let ce=J.getVisibleLeafColumns().length,Q={className:`xh8yej3`},$={className:`xysyzu8`};return(0,s.jsxs)(`div`,{...Q,className:t.cn(Q.className,S===void 0?``:S),children:[(0,s.jsx)(ee.DataTableToolbar,{table:J,placeholder:O.placeholder,debounceMs:O.debounceMs,right:(0,s.jsxs)(`div`,{className:`x8x9d4c x78zum5 x6s0dn4 x13z6uf9`,children:[ie(J),(0,s.jsx)(i.DataTableViewOptions,{table:J,columnVisibility:z})]})}),(0,s.jsx)(`div`,{ref:e=>se(e),...$,className:t.cn($.className,C===void 0?``:C),children:(0,s.jsx)(r.DataTableTable,{table:J,columnVisibility:z,expandedState:G,expandConfig:N,empty:D,columnsCount:ce})}),(0,s.jsx)(n.DataTablePagination,{table:J,tableState:J.getState(),pageSizeOptions:k.pageSizeOptions,apiConfig:j})]})};exports.DataTable=m,exports.default=m;
package/dist/index174.js DELETED
@@ -1,159 +0,0 @@
1
- import { cn as e } from "./index46.js";
2
- import { DataTablePagination as t } from "./index169.js";
3
- import { DataTableTable as n } from "./index170.js";
4
- import { DataTableToolbar as r } from "./index171.js";
5
- import { DataTableViewOptions as ee } from "./index172.js";
6
- import { DEFAULT_API as te, DEFAULT_EMPTY as ne, DEFAULT_INFINITE_SCROLL as re, DEFAULT_PAGINATION as ie, DEFAULT_SEARCH as ae, createDefaultActions as oe } from "./index173.js";
7
- import "@stylexjs/stylex";
8
- import { jsx as i, jsxs as a } from "react/jsx-runtime";
9
- import { useEffect as o, useRef as se, useState as s } from "react";
10
- import { clamp as ce, debounce as c } from "lodash-es";
11
- import { useUpdateEffect as l } from "ahooks";
12
- import { functionalUpdate as u, getCoreRowModel as le, getExpandedRowModel as ue, getFilteredRowModel as de, getPaginationRowModel as fe, getSortedRowModel as pe, useReactTable as d } from "@tanstack/react-table";
13
- // src/DataTable/DataTable.tsx
14
- var f = {
15
- sorting: [],
16
- columnFilters: [],
17
- globalFilter: "",
18
- columnVisibility: {},
19
- rowSelection: {},
20
- pagination: {
21
- pageIndex: 0,
22
- pageSize: 10
23
- },
24
- expanded: {}
25
- }, p = () => ({
26
- enabled: !1,
27
- renderSubComponent: () => null,
28
- getSubRows: () => []
29
- }), m = () => null, h = (e, t) => String(t), g = ({ data: g, columns: me, initialState: _, empty: v, search: y, pagination: b, actions: x, api: S, infiniteScroll: C, expand: w, className: T, containerClassName: E, getRowId: D, renderToolbarRight: O }) => {
30
- let k = _ === void 0 ? f : _, A = v === void 0 ? ne : v, j = y === void 0 ? ae : y, M = b === void 0 ? ie : b, N = x === void 0 ? oe() : x, P = S === void 0 ? te : S, F = C === void 0 ? re : C, I = w === void 0 ? p() : w, L = D === void 0 ? h : D, R = O === void 0 ? m : O, [z, he] = s(k.sorting), [B, ge] = s(k.columnFilters), [V, _e] = s(k.globalFilter), [H, ve] = s(k.columnVisibility), [ye, be] = s(k.rowSelection), [U, W] = s(k.pagination), [G, K] = s(k.expanded), q = P.mode === "server", xe = q && U.pageSize > 0 ? Math.ceil(P.totalRows / U.pageSize) : void 0, J = d({
31
- data: g,
32
- columns: me,
33
- state: {
34
- sorting: z,
35
- columnFilters: B,
36
- globalFilter: V,
37
- columnVisibility: H,
38
- rowSelection: ye,
39
- pagination: U,
40
- expanded: G
41
- },
42
- manualSorting: q,
43
- manualFiltering: q,
44
- manualPagination: q,
45
- pageCount: xe,
46
- meta: { getRowActions: N.getRowActions },
47
- enableRowSelection: !0,
48
- getRowId: (e, t, n) => L(e, t, n === void 0 ? null : n),
49
- onSortingChange: (e) => he((t) => u(e, t)),
50
- onColumnFiltersChange: (e) => ge((t) => u(e, t)),
51
- onGlobalFilterChange: (e) => _e((t) => u(e, t)),
52
- onColumnVisibilityChange: (e) => ve((t) => u(e, t)),
53
- onRowSelectionChange: (e) => be((t) => u(e, t)),
54
- onPaginationChange: (e) => W((t) => u(e, t)),
55
- onExpandedChange: (e) => K((t) => u(e, t)),
56
- getCoreRowModel: le(),
57
- getSortedRowModel: q ? void 0 : pe(),
58
- getFilteredRowModel: q ? void 0 : de(),
59
- getPaginationRowModel: q ? void 0 : fe(),
60
- getExpandedRowModel: ue(),
61
- getSubRows: I.enabled ? I.getSubRows : void 0,
62
- getRowCanExpand: () => I.enabled
63
- }), Y = {
64
- sorting: z,
65
- columnFilters: B,
66
- globalFilter: V,
67
- pagination: U
68
- };
69
- l(() => {
70
- q || W((e) => ({
71
- ...e,
72
- pageIndex: 0
73
- }));
74
- }, [
75
- q,
76
- V,
77
- B,
78
- z
79
- ]), o(() => {
80
- if (q) return;
81
- let e = J.getFilteredRowModel().rows.length, t = U.pageSize, n = t > 0 ? Math.ceil(e / t) : 0, r = n === 0 ? 0 : n - 1;
82
- W((e) => ({
83
- ...e,
84
- pageIndex: ce(e.pageIndex, 0, r)
85
- }));
86
- }, [
87
- q,
88
- U.pageSize,
89
- J
90
- ]);
91
- let X = se(c((e) => {
92
- P.onQueryChange(e);
93
- }, j.debounceMs));
94
- o(() => (X.current = c((e) => {
95
- P.onQueryChange(e);
96
- }, j.debounceMs), () => {
97
- X.current.cancel();
98
- }), [P, j.debounceMs]), l(() => {
99
- if (P.mode === "server") return X.current(Y), () => {
100
- X.current.cancel();
101
- };
102
- }, [Y, P]);
103
- let [Z, Se] = s(null);
104
- o(() => {
105
- if (F.enabled === !1 || Z === null) return;
106
- let e = () => {
107
- if (P.isFetching) return;
108
- let e = Z.scrollTop;
109
- Z.scrollHeight - (e + Z.clientHeight) <= F.thresholdPx && F.onEndReached(Y);
110
- };
111
- return Z.addEventListener("scroll", e, { passive: !0 }), () => {
112
- Z.removeEventListener("scroll", e);
113
- };
114
- }, [
115
- P.isFetching,
116
- F,
117
- Y,
118
- Z
119
- ]);
120
- let Ce = J.getVisibleLeafColumns().length, Q = { className: "xh8yej3" }, $ = { className: "xysyzu8" };
121
- return /* @__PURE__ */ a("div", {
122
- ...Q,
123
- className: e(Q.className, T === void 0 ? "" : T),
124
- children: [
125
- /* @__PURE__ */ i(r, {
126
- table: J,
127
- placeholder: j.placeholder,
128
- debounceMs: j.debounceMs,
129
- right: /* @__PURE__ */ a("div", {
130
- className: "x8x9d4c x78zum5 x6s0dn4 x13z6uf9",
131
- children: [R(J), /* @__PURE__ */ i(ee, {
132
- table: J,
133
- columnVisibility: H
134
- })]
135
- })
136
- }),
137
- /* @__PURE__ */ i("div", {
138
- ref: (e) => Se(e),
139
- ...$,
140
- className: e($.className, E === void 0 ? "" : E),
141
- children: /* @__PURE__ */ i(n, {
142
- table: J,
143
- columnVisibility: H,
144
- expandedState: G,
145
- expandConfig: I,
146
- empty: A,
147
- columnsCount: Ce
148
- })
149
- }),
150
- /* @__PURE__ */ i(t, {
151
- table: J,
152
- tableState: J.getState(),
153
- pageSizeOptions: M.pageSizeOptions,
154
- apiConfig: P
155
- })
156
- ]
157
- });
158
- };
159
- export { g as DataTable, g as default };
package/dist/index175.cjs DELETED
@@ -1 +0,0 @@
1
- const e=require("./index2.cjs"),t=require("./index22.cjs"),n=require("./index107.cjs");let r=require("@stylexjs/stylex");r=e.__toESM(r,1);let i=require("lucide-react"),a=require("react/jsx-runtime"),o=require("react"),s=require("react/compiler-runtime"),c=require("lodash-es"),l=require("react-i18next");var u={triggerOpen:{kWkggS:`xr2cb9l`,kMwMTN:`x2mg7mp`,$$css:!0}},d=e=>{let r=(0,s.c)(42),{row:d,table:f}=e,[p,m]=(0,o.useState)(!1),{t:h}=(0,l.useTranslation)(),g=f.options.meta,_,v,y,b,x,S,C,w,T,E;if(r[0]!==g||r[1]!==p||r[2]!==d||r[3]!==h){E=Symbol.for(`react.early_return_sentinel`);bb0:{let e=(0,c.get)(g,`getRowActions`),o=e===void 0?[]:e(d);if((0,c.isEmpty)(o)){E=null;break bb0}v=n.DropdownMenu,C=p,w=m;let s=p?`secondary`:`ghost`,l=p?u.triggerOpen:void 0,f;r[14]===h?f=r[15]:(f=h(`datatable_open_menu`),r[14]=h,r[15]=f);let D;r[16]===f?D=r[17]:(D=(0,a.jsx)(`span`,{className:`x10l6tqk x1i1rx1s xjm9jq1 x1717udv xkdpibf xb3r6kr xzpqnlu xuxw1ft xc342km`,children:f}),r[16]=f,r[17]=D);let O;r[18]===Symbol.for(`react.memo_cache_sentinel`)?(O=(0,a.jsx)(i.MoreHorizontal,{className:`x1kky2od xlup9mm`}),r[18]=O):O=r[18],r[19]!==l||r[20]!==D||r[21]!==s?(T=(0,a.jsx)(n.DropdownMenuTrigger,{asChild:!0,children:(0,a.jsxs)(t.Button,{variant:s,size:`icon-sm`,sx:l,children:[D,O]})}),r[19]=l,r[20]=D,r[21]=s,r[22]=T):T=r[22],_=n.DropdownMenuContent,y=`end`;let k;r[23]===h?k=r[24]:(k=h(`datatable_actions`),r[23]=h,r[24]=k),r[25]===k?b=r[26]:(b=(0,a.jsx)(n.DropdownMenuLabel,{children:k}),r[25]=k,r[26]=b),r[27]===Symbol.for(`react.memo_cache_sentinel`)?(x=(0,a.jsx)(n.DropdownMenuSeparator,{}),r[27]=x):x=r[27];let A;r[28]===d?A=r[29]:(A=e=>(0,a.jsx)(n.DropdownMenuItem,{disabled:e.disabled,onClick:()=>e.onSelect(d),children:e.label},e.id),r[28]=d,r[29]=A),S=(0,c.map)(o,A)}r[0]=g,r[1]=p,r[2]=d,r[3]=h,r[4]=_,r[5]=v,r[6]=y,r[7]=b,r[8]=x,r[9]=S,r[10]=C,r[11]=w,r[12]=T,r[13]=E}else _=r[4],v=r[5],y=r[6],b=r[7],x=r[8],S=r[9],C=r[10],w=r[11],T=r[12],E=r[13];if(E!==Symbol.for(`react.early_return_sentinel`))return E;let D;r[30]!==_||r[31]!==y||r[32]!==b||r[33]!==x||r[34]!==S?(D=(0,a.jsxs)(_,{align:y,children:[b,x,S]}),r[30]=_,r[31]=y,r[32]=b,r[33]=x,r[34]=S,r[35]=D):D=r[35];let O;return r[36]!==v||r[37]!==C||r[38]!==w||r[39]!==T||r[40]!==D?(O=(0,a.jsxs)(v,{open:C,onOpenChange:w,children:[T,D]}),r[36]=v,r[37]=C,r[38]=w,r[39]=T,r[40]=D,r[41]=O):O=r[41],O};exports.DataTableRowActions=d;
package/dist/index175.js DELETED
@@ -1,71 +0,0 @@
1
- import { Button as e } from "./index22.js";
2
- import { DropdownMenu as t, DropdownMenuContent as n, DropdownMenuItem as r, DropdownMenuLabel as i, DropdownMenuSeparator as a, DropdownMenuTrigger as o } from "./index107.js";
3
- import "@stylexjs/stylex";
4
- import { MoreHorizontal as s } from "lucide-react";
5
- import { jsx as c, jsxs as l } from "react/jsx-runtime";
6
- import { useState as u } from "react";
7
- import { c as d } from "react/compiler-runtime";
8
- import { get as f, isEmpty as p, map as m } from "lodash-es";
9
- import { useTranslation as h } from "react-i18next";
10
- // src/DataTable/components/DataTableRowActions.tsx
11
- var g = { triggerOpen: {
12
- kWkggS: "xr2cb9l",
13
- kMwMTN: "x2mg7mp",
14
- $$css: !0
15
- } }, _ = (_) => {
16
- let v = d(42), { row: y, table: b } = _, [x, S] = u(!1), { t: C } = h(), w = b.options.meta, T, E, D, O, k, A, j, M, N, P;
17
- if (v[0] !== w || v[1] !== x || v[2] !== y || v[3] !== C) {
18
- P = Symbol.for("react.early_return_sentinel");
19
- bb0: {
20
- let u = f(w, "getRowActions"), d = u === void 0 ? [] : u(y);
21
- if (p(d)) {
22
- P = null;
23
- break bb0;
24
- }
25
- E = t, j = x, M = S;
26
- let h = x ? "secondary" : "ghost", _ = x ? g.triggerOpen : void 0, b;
27
- v[14] === C ? b = v[15] : (b = C("datatable_open_menu"), v[14] = C, v[15] = b);
28
- let F;
29
- v[16] === b ? F = v[17] : (F = /* @__PURE__ */ c("span", {
30
- className: "x10l6tqk x1i1rx1s xjm9jq1 x1717udv xkdpibf xb3r6kr xzpqnlu xuxw1ft xc342km",
31
- children: b
32
- }), v[16] = b, v[17] = F);
33
- let I;
34
- v[18] === Symbol.for("react.memo_cache_sentinel") ? (I = /* @__PURE__ */ c(s, { className: "x1kky2od xlup9mm" }), v[18] = I) : I = v[18], v[19] !== _ || v[20] !== F || v[21] !== h ? (N = /* @__PURE__ */ c(o, {
35
- asChild: !0,
36
- children: /* @__PURE__ */ l(e, {
37
- variant: h,
38
- size: "icon-sm",
39
- sx: _,
40
- children: [F, I]
41
- })
42
- }), v[19] = _, v[20] = F, v[21] = h, v[22] = N) : N = v[22], T = n, D = "end";
43
- let L;
44
- v[23] === C ? L = v[24] : (L = C("datatable_actions"), v[23] = C, v[24] = L), v[25] === L ? O = v[26] : (O = /* @__PURE__ */ c(i, { children: L }), v[25] = L, v[26] = O), v[27] === Symbol.for("react.memo_cache_sentinel") ? (k = /* @__PURE__ */ c(a, {}), v[27] = k) : k = v[27];
45
- let R;
46
- v[28] === y ? R = v[29] : (R = (e) => /* @__PURE__ */ c(r, {
47
- disabled: e.disabled,
48
- onClick: () => e.onSelect(y),
49
- children: e.label
50
- }, e.id), v[28] = y, v[29] = R), A = m(d, R);
51
- }
52
- v[0] = w, v[1] = x, v[2] = y, v[3] = C, v[4] = T, v[5] = E, v[6] = D, v[7] = O, v[8] = k, v[9] = A, v[10] = j, v[11] = M, v[12] = N, v[13] = P;
53
- } else T = v[4], E = v[5], D = v[6], O = v[7], k = v[8], A = v[9], j = v[10], M = v[11], N = v[12], P = v[13];
54
- if (P !== Symbol.for("react.early_return_sentinel")) return P;
55
- let F;
56
- v[30] !== T || v[31] !== D || v[32] !== O || v[33] !== k || v[34] !== A ? (F = /* @__PURE__ */ l(T, {
57
- align: D,
58
- children: [
59
- O,
60
- k,
61
- A
62
- ]
63
- }), v[30] = T, v[31] = D, v[32] = O, v[33] = k, v[34] = A, v[35] = F) : F = v[35];
64
- let I;
65
- return v[36] !== E || v[37] !== j || v[38] !== M || v[39] !== N || v[40] !== F ? (I = /* @__PURE__ */ l(E, {
66
- open: j,
67
- onOpenChange: M,
68
- children: [N, F]
69
- }), v[36] = E, v[37] = j, v[38] = M, v[39] = N, v[40] = F, v[41] = I) : I = v[41], I;
70
- };
71
- export { _ as DataTableRowActions };
package/dist/index176.cjs DELETED
@@ -1 +0,0 @@
1
- const e=require("./index2.cjs"),t=require("./index22.cjs"),n=require("./index54.cjs"),r=require("./index175.cjs");let i=require("@stylexjs/stylex");i=e.__toESM(i,1);let a=require("lucide-react"),o=require("react/jsx-runtime"),s=require("react/compiler-runtime");var c=()=>({id:`select`,header:({table:e})=>(0,o.jsx)(n.Checkbox,{checked:e.getIsAllPageRowsSelected()||(e.getIsSomePageRowsSelected()?`indeterminate`:!1),onCheckedChange:t=>e.toggleAllPageRowsSelected(!!t),"aria-label":`Select all`}),cell:({row:e})=>(0,o.jsx)(n.Checkbox,{checked:e.getIsSelected(),onCheckedChange:t=>e.toggleSelected(!!t),"aria-label":`Select row`}),enableSorting:!1,enableHiding:!1}),l=()=>({id:`expand`,enableSorting:!1,enableHiding:!1,header:()=>null,cell:({row:e})=>(0,o.jsx)(u,{row:e})}),u=e=>{let n=(0,s.c)(8),{row:r}=e;if(r.getCanExpand()){let e;n[0]===r?e=n[1]:(e=()=>r.toggleExpanded(),n[0]=r,n[1]=e);let i;n[2]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,o.jsx)(`span`,{className:`x10l6tqk x1i1rx1s xjm9jq1 x1717udv xkdpibf xb3r6kr xzpqnlu xuxw1ft xc342km`,children:`Toggle`}),n[2]=i):i=n[2];let s;n[3]===r?s=n[4]:(s=r.getIsExpanded()?(0,o.jsx)(a.ChevronDown,{className:`x1kky2od xlup9mm`}):(0,o.jsx)(a.ChevronRight,{className:`x1kky2od xlup9mm`}),n[3]=r,n[4]=s);let c;return n[5]!==e||n[6]!==s?(c=(0,o.jsxs)(t.Button,{variant:`ghost`,size:`icon-sm`,onClick:e,children:[i,s]}),n[5]=e,n[6]=s,n[7]=c):c=n[7],c}return null},d=()=>({id:`actions`,enableHiding:!1,header:()=>null,cell:({row:e,table:t})=>(0,o.jsx)(r.DataTableRowActions,{row:e,table:t})});exports.createExpanderColumn=l,exports.createRowActionsColumn=d,exports.createSelectionColumn=c;
package/dist/index176.js DELETED
@@ -1,59 +0,0 @@
1
- import { Button as e } from "./index22.js";
2
- import { Checkbox as t } from "./index54.js";
3
- import { DataTableRowActions as n } from "./index175.js";
4
- import "@stylexjs/stylex";
5
- import { ChevronDown as r, ChevronRight as i } from "lucide-react";
6
- import { jsx as a, jsxs as o } from "react/jsx-runtime";
7
- import { c as s } from "react/compiler-runtime";
8
- // src/DataTable/render/createColumns.tsx
9
- var c = () => ({
10
- id: "select",
11
- header: ({ table: e }) => /* @__PURE__ */ a(t, {
12
- checked: e.getIsAllPageRowsSelected() || (e.getIsSomePageRowsSelected() ? "indeterminate" : !1),
13
- onCheckedChange: (t) => e.toggleAllPageRowsSelected(!!t),
14
- "aria-label": "Select all"
15
- }),
16
- cell: ({ row: e }) => /* @__PURE__ */ a(t, {
17
- checked: e.getIsSelected(),
18
- onCheckedChange: (t) => e.toggleSelected(!!t),
19
- "aria-label": "Select row"
20
- }),
21
- enableSorting: !1,
22
- enableHiding: !1
23
- }), l = () => ({
24
- id: "expand",
25
- enableSorting: !1,
26
- enableHiding: !1,
27
- header: () => null,
28
- cell: ({ row: e }) => /* @__PURE__ */ a(u, { row: e })
29
- }), u = (t) => {
30
- let n = s(8), { row: c } = t;
31
- if (c.getCanExpand()) {
32
- let t;
33
- n[0] === c ? t = n[1] : (t = () => c.toggleExpanded(), n[0] = c, n[1] = t);
34
- let s;
35
- n[2] === Symbol.for("react.memo_cache_sentinel") ? (s = /* @__PURE__ */ a("span", {
36
- className: "x10l6tqk x1i1rx1s xjm9jq1 x1717udv xkdpibf xb3r6kr xzpqnlu xuxw1ft xc342km",
37
- children: "Toggle"
38
- }), n[2] = s) : s = n[2];
39
- let l;
40
- n[3] === c ? l = n[4] : (l = c.getIsExpanded() ? /* @__PURE__ */ a(r, { className: "x1kky2od xlup9mm" }) : /* @__PURE__ */ a(i, { className: "x1kky2od xlup9mm" }), n[3] = c, n[4] = l);
41
- let u;
42
- return n[5] !== t || n[6] !== l ? (u = /* @__PURE__ */ o(e, {
43
- variant: "ghost",
44
- size: "icon-sm",
45
- onClick: t,
46
- children: [s, l]
47
- }), n[5] = t, n[6] = l, n[7] = u) : u = n[7], u;
48
- }
49
- return null;
50
- }, d = () => ({
51
- id: "actions",
52
- enableHiding: !1,
53
- header: () => null,
54
- cell: ({ row: e, table: t }) => /* @__PURE__ */ a(n, {
55
- row: e,
56
- table: t
57
- })
58
- });
59
- export { l as createExpanderColumn, d as createRowActionsColumn, c as createSelectionColumn };
package/dist/index177.cjs DELETED
@@ -1 +0,0 @@
1
- const e=require("./index2.cjs"),t=require("./index14.cjs"),n=require("./index22.cjs"),r=require("./index41.cjs"),i=require("./index43.cjs"),a=require("./index62.cjs"),o=require("./index111.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 x1q0v2j7 xmkeg23 x1y0btm7 xb30jbz xvcdwul x2lah0s`},1:{className:`x78zum5 x1l36t39 xcdlrvm x6s0dn4 xl56j7k x1q0v2j7 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;
package/dist/index177.js DELETED
@@ -1,226 +0,0 @@
1
- import { Text as e } from "./index14.js";
2
- import { Button as t } from "./index22.js";
3
- import { Popover as n, PopoverContent as r, PopoverTrigger as i } from "./index41.js";
4
- import { Badge as a } from "./index43.js";
5
- import { Command as o, CommandEmpty as s, CommandGroup as c, CommandInput as l, CommandItem as u, CommandList as d, CommandSeparator as f } from "./index62.js";
6
- import { Separator as p } from "./index111.js";
7
- import * as m from "@stylexjs/stylex";
8
- import { Fragment as h, jsx as g, jsxs as _ } from "react/jsx-runtime";
9
- import "react";
10
- import { c as v } from "react/compiler-runtime";
11
- // src/DataTable/components/DataTableFacetedFilter.tsx
12
- var y = {
13
- trigger: {
14
- kZKoxP: "xettwda",
15
- ksu8eU: "xbsl7fq",
16
- kGuDYH: "xboafo0",
17
- kOIVth: "x1m5ztt4",
18
- $$css: !0
19
- },
20
- optionLabel: {
21
- kUk6DE: "x98rzlu",
22
- kVQacm: "xb3r6kr",
23
- kg5iWk: "xlyipyv",
24
- khDVqt: "xuxw1ft",
25
- $$css: !0
26
- },
27
- count: {
28
- koQZXg: "x8x9d4c",
29
- k1xSpc: "x78zum5",
30
- kZKoxP: "x1l36t39",
31
- kzqmXN: "xcdlrvm",
32
- kGNEyG: "x6s0dn4",
33
- kjj79g: "xl56j7k",
34
- kMv6JI: "x1ey7xld",
35
- kGuDYH: "x12lo8hy",
36
- kMwMTN: "xw3nh4a",
37
- $$css: !0
38
- },
39
- separator: {
40
- kZKoxP: "x1l36t39",
41
- kUOVxO: "x1c334mu",
42
- $$css: !0
43
- }
44
- };
45
- function b(b) {
46
- let S = v(49), { column: C, title: w, options: T, selectedValues: E, onValueChange: D, sx: O } = b, k;
47
- S[0] === C ? k = S[1] : (k = C?.getFilterValue(), S[0] = C, S[1] = k);
48
- let A = k, j;
49
- bb0: {
50
- if (E !== void 0) {
51
- let e;
52
- S[2] === E ? e = S[3] : (e = new Set(E), S[2] = E, S[3] = e), j = e;
53
- break bb0;
54
- }
55
- if (Array.isArray(A)) {
56
- let e;
57
- S[4] === A ? e = S[5] : (e = new Set(A.map(String)), S[4] = A, S[5] = e), j = e;
58
- break bb0;
59
- }
60
- let e;
61
- S[6] === Symbol.for("react.memo_cache_sentinel") ? (e = /* @__PURE__ */ new Set(), S[6] = e) : e = S[6], j = e;
62
- }
63
- let M = j, N;
64
- S[7] !== C || S[8] !== D ? (N = (e) => {
65
- let t = Array.from(e);
66
- C && C.setFilterValue(t.length ? t : void 0), D?.(t);
67
- }, S[7] = C, S[8] = D, S[9] = N) : N = S[9];
68
- let P = N, F;
69
- S[10] !== M || S[11] !== P ? (F = (e) => {
70
- let t = new Set(M);
71
- t.has(e) ? t.delete(e) : t.add(e), P(t);
72
- }, S[10] = M, S[11] = P, S[12] = F) : F = S[12];
73
- let I = F, L;
74
- S[13] === P ? L = S[14] : (L = () => {
75
- P(/* @__PURE__ */ new Set());
76
- }, S[13] = P, S[14] = L);
77
- let R = L, z;
78
- S[15] === O ? z = S[16] : (z = m.props(y.trigger, O), S[15] = O, S[16] = z);
79
- let B = z, V;
80
- S[17] === Symbol.for("react.memo_cache_sentinel") ? (V = /* @__PURE__ */ _("svg", {
81
- width: "14",
82
- height: "14",
83
- viewBox: "0 0 24 24",
84
- fill: "none",
85
- stroke: "currentColor",
86
- strokeWidth: "2",
87
- strokeLinecap: "round",
88
- strokeLinejoin: "round",
89
- "aria-hidden": "true",
90
- children: [
91
- /* @__PURE__ */ g("circle", {
92
- cx: "12",
93
- cy: "12",
94
- r: "10"
95
- }),
96
- /* @__PURE__ */ g("line", {
97
- x1: "12",
98
- y1: "8",
99
- x2: "12",
100
- y2: "16"
101
- }),
102
- /* @__PURE__ */ g("line", {
103
- x1: "8",
104
- y1: "12",
105
- x2: "16",
106
- y2: "12"
107
- })
108
- ]
109
- }), S[17] = V) : V = S[17];
110
- let H;
111
- S[18] !== T || S[19] !== M ? (H = M.size > 0 && /* @__PURE__ */ _(h, { children: [
112
- /* @__PURE__ */ g(p, {
113
- orientation: "vertical",
114
- sx: y.separator
115
- }),
116
- /* @__PURE__ */ g(a, {
117
- variant: "secondary",
118
- size: "xxs",
119
- children: M.size
120
- }),
121
- /* @__PURE__ */ g("div", {
122
- className: "x78zum5 x6s0dn4 xvh977a",
123
- children: M.size > 2 ? /* @__PURE__ */ _(a, {
124
- variant: "secondary",
125
- size: "xxs",
126
- children: [M.size, " selected"]
127
- }) : T.filter((e) => M.has(e.value)).map(x)
128
- })
129
- ] }), S[18] = T, S[19] = M, S[20] = H) : H = S[20];
130
- let U;
131
- S[21] !== H || S[22] !== w || S[23] !== B ? (U = /* @__PURE__ */ g(i, {
132
- asChild: !0,
133
- children: /* @__PURE__ */ _(t, {
134
- variant: "outline",
135
- size: "sm",
136
- "data-slot": "data-table-faceted-filter-trigger",
137
- ...B,
138
- children: [
139
- V,
140
- w,
141
- H
142
- ]
143
- })
144
- }), S[21] = H, S[22] = w, S[23] = B, S[24] = U) : U = S[24];
145
- let W;
146
- S[25] === w ? W = S[26] : (W = /* @__PURE__ */ g(l, { placeholder: w }), S[25] = w, S[26] = W);
147
- let G;
148
- S[27] === Symbol.for("react.memo_cache_sentinel") ? (G = /* @__PURE__ */ g(s, { children: "No results found." }), S[27] = G) : G = S[27];
149
- let K;
150
- if (S[28] !== I || S[29] !== T || S[30] !== M) {
151
- let t;
152
- S[32] !== I || S[33] !== M ? (t = (t) => {
153
- let n = M.has(t.value), r = t.icon;
154
- return /* @__PURE__ */ _(u, {
155
- onSelect: () => I(t.value),
156
- children: [
157
- /* @__PURE__ */ g("div", {
158
- ...{
159
- 0: { className: "x78zum5 x1l36t39 xcdlrvm x6s0dn4 xl56j7k x1q0v2j7 xmkeg23 x1y0btm7 xb30jbz xvcdwul x2lah0s" },
160
- 1: { className: "x78zum5 x1l36t39 xcdlrvm x6s0dn4 xl56j7k x1q0v2j7 xmkeg23 x1y0btm7 xvcdwul x2lah0s x1j7ufkg x1khvrlk xstwp1q" }
161
- }[!!n | 0],
162
- children: n && /* @__PURE__ */ g("svg", {
163
- width: "10",
164
- height: "10",
165
- viewBox: "0 0 24 24",
166
- fill: "none",
167
- stroke: "currentColor",
168
- strokeWidth: "3",
169
- strokeLinecap: "round",
170
- strokeLinejoin: "round",
171
- "aria-hidden": "true",
172
- children: /* @__PURE__ */ g("polyline", { points: "20 6 9 17 4 12" })
173
- })
174
- }),
175
- r && /* @__PURE__ */ g("span", {
176
- className: "xvcdwul x78zum5 x6s0dn4",
177
- children: /* @__PURE__ */ g(r, {})
178
- }),
179
- /* @__PURE__ */ g(e, {
180
- as: "span",
181
- size: "sm",
182
- sx: y.optionLabel,
183
- children: t.label
184
- }),
185
- t.count !== void 0 && /* @__PURE__ */ g(e, {
186
- as: "span",
187
- size: "xs",
188
- type: "secondary",
189
- sx: y.count,
190
- children: t.count
191
- })
192
- ]
193
- }, t.value);
194
- }, S[32] = I, S[33] = M, S[34] = t) : t = S[34], K = T.map(t), S[28] = I, S[29] = T, S[30] = M, S[31] = K;
195
- } else K = S[31];
196
- let q;
197
- S[35] === K ? q = S[36] : (q = /* @__PURE__ */ g(c, { children: K }), S[35] = K, S[36] = q);
198
- let J;
199
- S[37] !== R || S[38] !== M.size ? (J = M.size > 0 && /* @__PURE__ */ _(h, { children: [/* @__PURE__ */ g(f, {}), /* @__PURE__ */ g(c, { children: /* @__PURE__ */ g(u, {
200
- onSelect: R,
201
- className: "xl56j7k x2b8uid xk50ysn",
202
- children: "Clear filters"
203
- }) })] }), S[37] = R, S[38] = M.size, S[39] = J) : J = S[39];
204
- let Y;
205
- S[40] !== q || S[41] !== J ? (Y = /* @__PURE__ */ _(d, { children: [
206
- G,
207
- q,
208
- J
209
- ] }), S[40] = q, S[41] = J, S[42] = Y) : Y = S[42];
210
- let X;
211
- S[43] !== W || S[44] !== Y ? (X = /* @__PURE__ */ g(r, {
212
- align: "start",
213
- className: "xj1jc7a x1717udv",
214
- children: /* @__PURE__ */ _(o, { children: [W, Y] })
215
- }), S[43] = W, S[44] = Y, S[45] = X) : X = S[45];
216
- let Z;
217
- return S[46] !== X || S[47] !== U ? (Z = /* @__PURE__ */ _(n, { children: [U, X] }), S[46] = X, S[47] = U, S[48] = Z) : Z = S[48], Z;
218
- }
219
- function x(e) {
220
- return /* @__PURE__ */ g(a, {
221
- variant: "secondary",
222
- size: "xxs",
223
- children: e.label
224
- }, e.value);
225
- }
226
- export { b as DataTableFacetedFilter };
package/dist/index178.cjs DELETED
@@ -1 +0,0 @@
1
- const e=require("./index2.cjs"),t=require("./index14.cjs"),n=require("./index22.cjs"),r=require("./index26.cjs"),i=require("./index107.cjs");let a=require("@stylexjs/stylex");a=e.__toESM(a,1);let o=require("lucide-react"),s=require("react/jsx-runtime"),c=require("react");c=e.__toESM(c,1);let l=require("react/compiler-runtime");var u={root:{kZKoxP:`xettwda`,koQZXg:`xxyw1jk`,$$css:!0}};function d(e){let a=(0,l.c)(47),c,d,f,p,m;if(a[0]===e?(c=a[1],d=a[2],f=a[3],p=a[4],m=a[5]):({column:d,title:m,sx:p,className:c,...f}=e,a[0]=e,a[1]=c,a[2]=d,a[3]=f,a[4]=p,a[5]=m),!d.getCanSort()){let e;a[6]===m?e=a[7]:(e=(0,s.jsx)(t.Text,{size:`sm`,weight:`medium`,children:m}),a[6]=m,a[7]=e);let n;return a[8]!==c||a[9]!==f||a[10]!==p||a[11]!==e?(n=(0,s.jsx)(r.Flex,{align:`center`,"data-slot":`data-table-column-header`,sx:p,className:c,...f,children:e}),a[8]=c,a[9]=f,a[10]=p,a[11]=e,a[12]=n):n=a[12],n}let h;a[13]===d?h=a[14]:(h=d.getIsSorted(),a[13]=d,a[14]=h);let g=h,_;a[15]===Symbol.for(`react.memo_cache_sentinel`)?(_=[u.root],a[15]=_):_=a[15];let v;a[16]===m?v=a[17]:(v=(0,s.jsx)(t.Text,{size:`sm`,weight:`medium`,children:m}),a[16]=m,a[17]=v);let y;a[18]===g?y=a[19]:(y=g===`desc`?(0,s.jsx)(o.ArrowDown,{"data-slot":`sort-icon-desc`,className:`x1xvt488 xf08kfj xko4hcy`}):g===`asc`?(0,s.jsx)(o.ArrowUp,{"data-slot":`sort-icon-asc`,className:`x1xvt488 xf08kfj xko4hcy`}):(0,s.jsx)(o.ArrowUpDown,{"data-slot":`sort-icon-none`,className:`x1xvt488 xf08kfj xko4hcy`}),a[18]=g,a[19]=y);let b;a[20]!==v||a[21]!==y?(b=(0,s.jsx)(i.DropdownMenuTrigger,{asChild:!0,children:(0,s.jsxs)(n.Button,{variant:`ghost`,size:`sm`,"data-slot":`data-table-column-header-trigger`,sx:_,children:[v,y]})}),a[20]=v,a[21]=y,a[22]=b):b=a[22];let x;a[23]===d?x=a[24]:(x=()=>d.toggleSorting(!1),a[23]=d,a[24]=x);let S;a[25]===Symbol.for(`react.memo_cache_sentinel`)?(S=(0,s.jsx)(o.ArrowUp,{className:`x1xvt488 xf08kfj xpoiemb x1ks1olk`}),a[25]=S):S=a[25];let C;a[26]===x?C=a[27]:(C=(0,s.jsxs)(i.DropdownMenuItem,{"data-slot":`sort-asc`,onClick:x,children:[S,`Asc`]}),a[26]=x,a[27]=C);let w;a[28]===d?w=a[29]:(w=()=>d.toggleSorting(!0),a[28]=d,a[29]=w);let T;a[30]===Symbol.for(`react.memo_cache_sentinel`)?(T=(0,s.jsx)(o.ArrowDown,{className:`x1xvt488 xf08kfj xpoiemb x1ks1olk`}),a[30]=T):T=a[30];let E;a[31]===w?E=a[32]:(E=(0,s.jsxs)(i.DropdownMenuItem,{"data-slot":`sort-desc`,onClick:w,children:[T,`Desc`]}),a[31]=w,a[32]=E);let D;a[33]===d?D=a[34]:(D=d.getCanHide()&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(i.DropdownMenuSeparator,{}),(0,s.jsxs)(i.DropdownMenuItem,{"data-slot":`hide-column`,onClick:()=>d.toggleVisibility(!1),children:[(0,s.jsx)(o.EyeOff,{className:`x1xvt488 xf08kfj xpoiemb x1ks1olk`}),`Hide`]})]}),a[33]=d,a[34]=D);let O;a[35]!==E||a[36]!==D||a[37]!==C?(O=(0,s.jsxs)(i.DropdownMenuContent,{align:`start`,children:[C,E,D]}),a[35]=E,a[36]=D,a[37]=C,a[38]=O):O=a[38];let k;a[39]!==O||a[40]!==b?(k=(0,s.jsxs)(i.DropdownMenu,{children:[b,O]}),a[39]=O,a[40]=b,a[41]=k):k=a[41];let A;return a[42]!==c||a[43]!==f||a[44]!==p||a[45]!==k?(A=(0,s.jsx)(r.Flex,{align:`center`,"data-slot":`data-table-column-header`,sx:p,className:c,...f,children:k}),a[42]=c,a[43]=f,a[44]=p,a[45]=k,a[46]=A):A=a[46],A}exports.DataTableColumnHeader=d;