@vlrc-fe/components 2.8.0 → 3.0.1

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 +22 -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 +3985 -127
  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/index228.js DELETED
@@ -1,79 +0,0 @@
1
- import { FormControl as e, FormField as t, FormItem as n, FormLabel as r, FormMessage as i } from "./index116.js";
2
- import { useFormDatePicker as a } from "./index221.js";
3
- import { RangeDatePicker as o } from "./index222.js";
4
- import { SingleDatePicker as s } from "./index227.js";
5
- import "@stylexjs/stylex";
6
- import { jsx as c, jsxs as l } from "react/jsx-runtime";
7
- // src/Form/FormDatePicker/FormDatePicker.tsx
8
- var u = { formItem: {
9
- k1xSpc: "x78zum5",
10
- kXwgrk: "xdt5ytf",
11
- $$css: !0
12
- } };
13
- function d(d) {
14
- let { control: f, name: p, label: m, placeholder: h, status: g, size: _ = "md", width: v = "auto", pickerType: y = "date", dateFormat: b, showTime: x, disabled: S = !1, hideValue: C = !1, allowClear: w = !1, isRangePicker: T = !1, onChangeDate: E, onChangeRange: D, rules: O = {}, hideErrorMessage: k = !1, suffixIcon: A, className: j, disabledDate: M, disabledTime: N, locale: P, numberOfMonths: F, closeOnSelect: I, startMonth: L, endMonth: R } = d, { dateFormat: z, isRequired: B, processedRules: V, handleRangeChange: H, handleSingleChange: U } = a({
15
- pickerType: y,
16
- showTime: x,
17
- dateFormat: b,
18
- rules: O,
19
- onChangeDate: E,
20
- onChangeRange: D
21
- }), W = (e) => /* @__PURE__ */ c(o, {
22
- value: e.value || [void 0, void 0],
23
- onChange: (t) => H(e, t),
24
- placeholder: h,
25
- dateFormat: z,
26
- showTime: x,
27
- size: _,
28
- status: g,
29
- width: v,
30
- disabled: S,
31
- allowClear: w,
32
- hideValue: C,
33
- suffixIcon: A,
34
- className: j,
35
- disabledDate: M,
36
- locale: P,
37
- numberOfMonths: F,
38
- closeOnSelect: I,
39
- startMonth: L,
40
- endMonth: R
41
- }), G = (e) => /* @__PURE__ */ c(s, {
42
- value: e.value,
43
- onChange: (t) => U(e, t),
44
- placeholder: h,
45
- pickerType: y,
46
- dateFormat: z,
47
- showTime: x,
48
- size: _,
49
- status: g,
50
- width: v,
51
- disabled: S,
52
- allowClear: w,
53
- hideValue: C,
54
- suffixIcon: A,
55
- className: j,
56
- disabledDate: M,
57
- disabledTime: N,
58
- locale: P,
59
- startMonth: L,
60
- endMonth: R
61
- });
62
- return /* @__PURE__ */ c(t, {
63
- control: f,
64
- name: p,
65
- rules: V,
66
- render: ({ field: t }) => /* @__PURE__ */ l(n, {
67
- sx: u.formItem,
68
- children: [
69
- m && /* @__PURE__ */ l(r, { children: [m, B && /* @__PURE__ */ c("span", {
70
- className: "xuuroe4 x4aigyd",
71
- children: "*"
72
- })] }),
73
- /* @__PURE__ */ c(e, { children: T ? W(t) : G(t) }),
74
- !k && /* @__PURE__ */ c(i, {})
75
- ]
76
- })
77
- });
78
- }
79
- export { d as default };
package/dist/index229.cjs DELETED
@@ -1,9 +0,0 @@
1
- const e=require("./index2.cjs");let t=require("react");t=e.__toESM(t);function n(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols==`function`)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}var r;(function(e){e.event=`event`,e.props=`prop`})(r||={});function i(){}function a(e){var t,n=void 0;return function(){for(var r=[],i=arguments.length;i--;)r[i]=arguments[i];return t&&r.length===t.length&&r.every(function(e,n){return e===t[n]})||(t=r,n=e.apply(void 0,r)),n}}function o(e){return!!(e||``).match(/\d/)}function s(e){return e==null}function c(e){return typeof e==`number`&&isNaN(e)}function l(e){return s(e)||c(e)||typeof e==`number`&&!isFinite(e)}function u(e){return e.replace(/[-[\]/{}()*+?.\\^$|]/g,`\\$&`)}function d(e){switch(e){case`lakh`:return/(\d+?)(?=(\d\d)+(\d)(?!\d))(\.\d+)?/g;case`wan`:return/(\d)(?=(\d{4})+(?!\d))/g;default:return/(\d)(?=(\d{3})+(?!\d))/g}}function f(e,t,n){var r=d(n),i=e.search(/[1-9]/);return i=i===-1?e.length:i,e.substring(0,i)+e.substring(i,e.length).replace(r,`$1`+t)}function p(e){var n=(0,t.useRef)(e);return n.current=e,(0,t.useRef)(function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return n.current.apply(n,e)}).current}function m(e,t){t===void 0&&(t=!0);var n=e[0]===`-`,r=n&&t;e=e.replace(`-`,``);var i=e.split(`.`);return{beforeDecimal:i[0],afterDecimal:i[1]||``,hasNegation:n,addNegation:r}}function h(e){if(!e)return e;var t=e[0]===`-`;t&&(e=e.substring(1,e.length));var n=e.split(`.`),r=n[0].replace(/^0+/,``)||`0`,i=n[1]||``;return(t?`-`:``)+r+(i?`.`+i:``)}function g(e,t,n){for(var r=``,i=n?`0`:``,a=0;a<=t-1;a++)r+=e[a]||i;return r}function _(e,t){return Array(t+1).join(e)}function v(e){var t=e+``,n=t[0]===`-`?`-`:``;n&&(t=t.substring(1));var r=t.split(/[eE]/g),i=r[0],a=r[1];if(a=Number(a),!a)return n+i;i=i.replace(`.`,``);var o=1+a,s=i.length;return o<0?i=`0.`+_(`0`,Math.abs(o))+i:o>=s?i+=_(`0`,o-s):i=(i.substring(0,o)||`0`)+`.`+i.substring(o),n+i}function y(e,t,n){if([``,`-`].indexOf(e)!==-1)return e;var r=(e.indexOf(`.`)!==-1||n)&&t,i=m(e),a=i.beforeDecimal,o=i.afterDecimal,s=i.hasNegation,c=parseFloat(`0.`+(o||`0`)),l=(o.length<=t?`0.`+o:c.toFixed(t)).split(`.`),u=a;a&&Number(l[0])&&(u=a.split(``).reverse().reduce(function(e,t,n){return e.length>n?(Number(e[0])+Number(t)).toString()+e.substring(1,e.length):t+e},l[0]));var d=g(l[1]||``,t,n),f=s?`-`:``,p=r?`.`:``;return``+f+u+p+d}function b(e,t){if(e.value=e.value,e!==null){if(e.createTextRange){var n=e.createTextRange();return n.move(`character`,t),n.select(),!0}return e.selectionStart||e.selectionStart===0?(e.focus(),e.setSelectionRange(t,t),!0):(e.focus(),!1)}}var x=a(function(e,t){for(var n=0,r=0,i=e.length,a=t.length;e[n]===t[n]&&n<i;)n++;for(;e[i-1-r]===t[a-1-r]&&a-r>n&&i-r>n;)r++;return{from:{start:n,end:i-r},to:{start:n,end:a-r}}}),S=function(e,t){var n=Math.min(e.selectionStart,t);return{from:{start:n,end:e.selectionEnd},to:{start:n,end:t}}};function C(e,t,n){return Math.min(Math.max(e,t),n)}function w(e){return Math.max(e.selectionStart,e.selectionEnd)}function T(){return typeof navigator<`u`&&!(navigator.platform&&/iPhone|iPod/.test(navigator.platform))}function E(e){return{from:{start:0,end:0},to:{start:0,end:e.length},lastValue:``}}function D(e){var t=e.currentValue,n=e.formattedValue,r=e.currentValueIndex,i=e.formattedValueIndex;return t[r]===n[i]}function O(e,t,n,r,i,a,o){o===void 0&&(o=D);var s=i.findIndex(function(e){return e}),c=e.slice(0,s);!t&&!n.startsWith(c)&&(t=c,n=c+n,r+=c.length);for(var l=n.length,u=e.length,d={},f=Array(l),p=0;p<l;p++){f[p]=-1;for(var m=0,h=u;m<h;m++)if(o({currentValue:n,lastValue:t,formattedValue:e,currentValueIndex:p,formattedValueIndex:m})&&d[m]!==!0){f[p]=m,d[m]=!0;break}}for(var g=r;g<l&&(f[g]===-1||!a(n[g]));)g++;var _=g===l||f[g]===-1?u:f[g];for(g=r-1;g>0&&f[g]===-1;)g--;var v=g===-1||f[g]===-1?0:f[g]+1;return v>_?_:r-v<_-r?v:_}function k(e,t,n,r){var i=e.length;if(t=C(t,0,i),r===`left`){for(;t>=0&&!n[t];)t--;t===-1&&(t=n.indexOf(!0))}else{for(;t<=i&&!n[t];)t++;t>i&&(t=n.lastIndexOf(!0))}return t===-1&&(t=i),t}function A(e){for(var t=Array.from({length:e.length+1}).map(function(){return!0}),n=0,r=t.length;n<r;n++)t[n]=!!(o(e[n])||o(e[n-1]));return t}function j(e,n,a,o,c,u){u===void 0&&(u=i);var d=p(function(e,t){var n,r;return l(e)?(r=``,n=``):typeof e==`number`||t?(r=typeof e==`number`?v(e):e,n=o(r)):(r=c(e,void 0),n=o(r)),{formattedValue:n,numAsString:r}}),f=(0,t.useState)(function(){return d(s(e)?n:e,a)}),m=f[0],h=f[1],g=p(function(e,t){e.formattedValue!==m.formattedValue&&h({formattedValue:e.formattedValue,numAsString:e.value}),u(e,t)}),_=e,y=a;s(e)&&(_=m.numAsString,y=!0);var b=d(_,y);return(0,t.useMemo)(function(){h(b)},[b.formattedValue]),(0,t.useEffect)(function(){if(!s(n)&&s(e)&&m.formattedValue!==``){var t=parseFloat(m.numAsString);g({formattedValue:m.formattedValue,value:m.numAsString,floatValue:isNaN(t)?void 0:t},{event:void 0,source:r.props})}},[]),[m,g]}function M(e){return e.replace(/[^0-9]/g,``)}function N(e){return e}function P(e){var a=e.type;a===void 0&&(a=`text`);var s=e.displayType;s===void 0&&(s=`input`);var c=e.customInput,l=e.renderText,u=e.getInputRef,d=e.format;d===void 0&&(d=N);var f=e.removeFormatting;f===void 0&&(f=M);var p=e.defaultValue,m=e.valueIsNumericString,h=e.onValueChange,g=e.isAllowed,_=e.onChange;_===void 0&&(_=i);var v=e.onKeyDown;v===void 0&&(v=i);var y=e.onMouseUp;y===void 0&&(y=i);var C=e.onFocus;C===void 0&&(C=i);var E=e.onBlur;E===void 0&&(E=i);var D=e.value,P=e.getCaretBoundary;P===void 0&&(P=A);var F=e.isValidInputCharacter;F===void 0&&(F=o);var I=e.isCharacterSame,L=n(e,[`type`,`displayType`,`customInput`,`renderText`,`getInputRef`,`format`,`removeFormatting`,`defaultValue`,`valueIsNumericString`,`onValueChange`,`isAllowed`,`onChange`,`onKeyDown`,`onMouseUp`,`onFocus`,`onBlur`,`value`,`getCaretBoundary`,`isValidInputCharacter`,`isCharacterSame`]),R=j(D,p,!!m,d,f,h),z=R[0],B=z.formattedValue,V=z.numAsString,H=R[1],U=(0,t.useRef)(),W=(0,t.useRef)({formattedValue:B,numAsString:V}),G=function(e,t){W.current={formattedValue:e.formattedValue,numAsString:e.value},H(e,t)},K=(0,t.useState)(!1),ee=K[0],te=K[1],q=(0,t.useRef)(null),J=(0,t.useRef)({setCaretTimeout:null,focusTimeout:null});(0,t.useEffect)(function(){return te(!0),function(){clearTimeout(J.current.setCaretTimeout),clearTimeout(J.current.focusTimeout)}},[]);var ne=d,Y=function(e,t){var n=parseFloat(t);return{formattedValue:e,value:t,floatValue:isNaN(n)?void 0:n}},X=function(e,t,n){(e.selectionStart!==0||e.selectionEnd!==e.value.length)&&(b(e,t),J.current.setCaretTimeout=setTimeout(function(){e.value===n&&e.selectionStart!==t&&b(e,t)},0))},Z=function(e,t,n){return k(e,t,P(e),n)},Q=function(e,t,n){var r=P(t),i=O(t,B,e,n,r,F,I);return i=k(t,i,r),i},re=function(e){var t=e.formattedValue;t===void 0&&(t=``);var n=e.input,r=e.source,i=e.event,a=e.numAsString,o;if(n){var s=e.inputValue||n.value,c=w(n);n.value=t,o=Q(s,t,c),o!==void 0&&X(n,o,t)}t!==B&&G(Y(t,a),{event:i,source:r})};(0,t.useEffect)(function(){var e=W.current,t=e.formattedValue,n=e.numAsString;(B!==t||V!==n)&&G(Y(B,V),{event:void 0,source:r.props})},[B,V]);var ie=q.current?w(q.current):void 0;(typeof window<`u`?t.useLayoutEffect:t.useEffect)(function(){var e=q.current;if(B!==W.current.formattedValue&&e){var t=Q(W.current.formattedValue,B,ie);e.value=B,X(e,t,B)}},[B]);var ae=function(e,t,n){var r=t.target,i=U.current?S(U.current,r.selectionEnd):x(B,e),a=Object.assign(Object.assign({},i),{lastValue:B}),o=f(e,a),s=ne(o);if(o=f(s,void 0),g&&!g(Y(s,o))){var c=t.target,l=Q(e,B,w(c));return c.value=B,X(c,l,B),!1}return re({formattedValue:s,numAsString:o,inputValue:e,event:t,source:n,input:t.target}),!0},$=function(e,t){t===void 0&&(t=0),U.current={selectionStart:e.selectionStart,selectionEnd:e.selectionEnd+t}},oe=function(e){var t=e.target.value;ae(t,e,r.event)&&_(e),U.current=void 0},se=function(e){var t=e.target,n=e.key,r=t.selectionStart,i=t.selectionEnd,a=t.value;a===void 0&&(a=``);var o;n===`ArrowLeft`||n===`Backspace`?o=Math.max(r-1,0):n===`ArrowRight`?o=Math.min(r+1,a.length):n===`Delete`&&(o=r);var s=0;n===`Delete`&&r===i&&(s=1);var c=n===`ArrowLeft`||n===`ArrowRight`;if(o===void 0||r!==i&&!c)v(e),$(t,s);else{var l=o;c?(l=Z(a,o,n===`ArrowLeft`?`left`:`right`),l!==o&&e.preventDefault()):n===`Delete`&&!F(a[o])?l=Z(a,o,`right`):n===`Backspace`&&!F(a[o])&&(l=Z(a,o,`left`)),l!==o&&X(t,l,a),v(e),$(t,s)}},ce=function(e){var t=e.target,n=function(){var e=t.selectionStart,n=t.selectionEnd,r=t.value;if(r===void 0&&(r=``),e===n){var i=Z(r,e);i!==e&&X(t,i,r)}};n(),requestAnimationFrame(function(){n()}),y(e),$(t)},le=function(e){e.persist&&e.persist();var t=e.target,n=e.currentTarget;q.current=t,J.current.focusTimeout=setTimeout(function(){var r=t.selectionStart,i=t.selectionEnd,a=t.value;a===void 0&&(a=``);var o=Z(a,r);o!==r&&(r!==0||i!==a.length)&&X(t,o,a),C(Object.assign(Object.assign({},e),{currentTarget:n}))},0)},ue=function(e){q.current=null,clearTimeout(J.current.focusTimeout),clearTimeout(J.current.setCaretTimeout),E(e)},de=ee&&T()?`numeric`:void 0,fe=Object.assign({inputMode:de},L,{type:a,value:B,onChange:oe,onKeyDown:se,onMouseUp:ce,onFocus:le,onBlur:ue});if(s===`text`)return l?t.default.createElement(t.default.Fragment,null,l(B,L)||null):t.default.createElement(`span`,Object.assign({},L,{ref:u}),B);if(c){var pe=c;return t.default.createElement(pe,Object.assign({},fe,{ref:u}))}return t.default.createElement(`input`,Object.assign({},fe,{ref:u}))}function F(e,t){var n=t.decimalScale,r=t.fixedDecimalScale,i=t.prefix;i===void 0&&(i=``);var a=t.suffix;a===void 0&&(a=``);var o=t.allowNegative,s=t.thousandsGroupStyle;if(s===void 0&&(s=`thousand`),e===``||e===`-`)return e;var c=I(t),l=c.thousandSeparator,u=c.decimalSeparator,d=n!==0&&e.indexOf(`.`)!==-1||n&&r,p=m(e,o),h=p.beforeDecimal,_=p.afterDecimal,v=p.addNegation;return n!==void 0&&(_=g(_,n,!!r)),l&&(h=f(h,l,s)),i&&(h=i+h),a&&(_+=a),v&&(h=`-`+h),e=h+(d&&u||``)+_,e}function I(e){var t=e.decimalSeparator;t===void 0&&(t=`.`);var n=e.thousandSeparator,r=e.allowedDecimalSeparators;return n===!0&&(n=`,`),r||=[t,`.`],{decimalSeparator:t,thousandSeparator:n,allowedDecimalSeparators:r}}function L(e,t){e===void 0&&(e=``);var n=RegExp(`(-)`),r=RegExp(`(-)(.)*(-)`),i=n.test(e),a=r.test(e);return e=e.replace(/-/g,``),i&&!a&&t&&(e=`-`+e),e}function R(e,t){return RegExp(`(^-)|[0-9]|`+u(e),t?`g`:void 0)}function z(e,t,n){return e===``||!t?.match(/\d/)&&!n?.match(/\d/)&&typeof e==`string`&&!isNaN(Number(e))}function B(e,t,n){var r;t===void 0&&(t=E(e));var i=n.allowNegative,a=n.prefix;a===void 0&&(a=``);var s=n.suffix;s===void 0&&(s=``);var c=n.decimalScale,l=t.from,d=t.to,f=d.start,p=d.end,h=I(n),g=h.allowedDecimalSeparators,_=h.decimalSeparator,v=e[p]===_;if(o(e)&&(e===a||e===s)&&t.lastValue===``)return e;if(p-f===1&&g.indexOf(e[f])!==-1){var y=c===0?``:_;e=e.substring(0,f)+y+e.substring(f+1,e.length)}var b=function(e,t,n){var r=!1,i=!1;a.startsWith(`-`)?r=!1:e.startsWith(`--`)?(r=!1,i=!0):s.startsWith(`-`)&&e.length===s.length?r=!1:e[0]===`-`&&(r=!0);var o=+!!r;return i&&(o=2),o&&(e=e.substring(o),t-=o,n-=o),{value:e,start:t,end:n,hasNegation:r}},x=b(e,f,p),S=x.hasNegation;r=x,e=r.value,f=r.start,p=r.end;var C=b(t.lastValue,l.start,l.end),w=C.start,T=C.end,D=C.value,O=e.substring(f,p);e.length&&D.length&&(w>D.length-s.length||T<a.length)&&!(O&&s.startsWith(O))&&(e=D);var k=0;e.startsWith(a)?k+=a.length:f<a.length&&(k=f),e=e.substring(k),p-=k;var A=e.length,j=e.length-s.length;e.endsWith(s)?A=j:(p>j||p>e.length-s.length)&&(A=p),e=e.substring(0,A),e=L(S?`-`+e:e,i),e=(e.match(R(_,!0))||[]).join(``);var M=e.indexOf(_);e=e.replace(new RegExp(u(_),`g`),function(e,t){return t===M?`.`:``});var N=m(e,i),P=N.beforeDecimal,F=N.afterDecimal,z=N.addNegation;return d.end-d.start<l.end-l.start&&P===``&&v&&!parseFloat(F)&&(e=z?`-`:``),e}function V(e,t){var n=t.prefix;n===void 0&&(n=``);var r=t.suffix;r===void 0&&(r=``);var i=Array.from({length:e.length+1}).map(function(){return!0}),a=e[0]===`-`;i.fill(!1,0,Math.min(n.length+ +!!a,e.length));var o=e.length;return i.fill(!1,o-r.length+1,o+1),i}function H(e){var t=I(e),n=t.thousandSeparator,r=t.decimalSeparator,i=e.prefix;i===void 0&&(i=``);var a=e.allowNegative;if(a===void 0&&(a=!0),n===r)throw Error(`
2
- Decimal separator can't be same as thousand separator.
3
- thousandSeparator: `+n+` (thousandSeparator = {true} is same as thousandSeparator = ",")
4
- decimalSeparator: `+r+` (default value for decimalSeparator is .)
5
- `);return i.startsWith(`-`)&&a&&(console.error(`
6
- Prefix can't start with '-' when allowNegative is true.
7
- prefix: `+i+`
8
- allowNegative: `+a+`
9
- `),a=!1),Object.assign(Object.assign({},e),{allowNegative:a})}function U(e){e=H(e),e.decimalSeparator,e.allowedDecimalSeparators,e.thousandsGroupStyle;var t=e.suffix,a=e.allowNegative,c=e.allowLeadingZeros,u=e.onKeyDown;u===void 0&&(u=i);var d=e.onBlur;d===void 0&&(d=i);var f=e.thousandSeparator,p=e.decimalScale,m=e.fixedDecimalScale,g=e.prefix;g===void 0&&(g=``);var _=e.defaultValue,S=e.value,C=e.valueIsNumericString,w=e.onValueChange,T=n(e,[`decimalSeparator`,`allowedDecimalSeparators`,`thousandsGroupStyle`,`suffix`,`allowNegative`,`allowLeadingZeros`,`onKeyDown`,`onBlur`,`thousandSeparator`,`decimalScale`,`fixedDecimalScale`,`prefix`,`defaultValue`,`value`,`valueIsNumericString`,`onValueChange`]),E=I(e),D=E.decimalSeparator,O=E.allowedDecimalSeparators,k=function(t){return F(t,e)},A=function(t,n){return B(t,n,e)},M=s(S)?_:S,N=C??z(M,g,t);s(S)?s(_)||(N||=typeof _==`number`):N||=typeof S==`number`;var P=function(e){return l(e)?e:(typeof e==`number`&&(e=v(e)),N&&typeof p==`number`?y(e,p,!!m):e)},L=j(P(S),P(_),!!N,k,A,w),R=L[0],U=R.numAsString,W=R.formattedValue,G=L[1];return Object.assign(Object.assign({},T),{value:W,valueIsNumericString:!1,isValidInputCharacter:function(e){return e===D||o(e)},isCharacterSame:function(e){var t=e.currentValue,n=e.lastValue,r=e.formattedValue,i=e.currentValueIndex,a=e.formattedValueIndex,o=t[i],s=r[a],c=x(n,t).to,l=function(e){return A(e).indexOf(`.`)+g.length};return S===0&&m&&p&&t[c.start]===D&&l(t)<i&&l(r)>a?!1:i>=c.start&&i<c.end&&O&&O.includes(o)&&s===D?!0:o===s},onValueChange:G,format:k,removeFormatting:A,getCaretBoundary:function(t){return V(t,e)},onKeyDown:function(e){var t=e.target,n=e.key,r=t.selectionStart,i=t.selectionEnd,o=t.value;if(o===void 0&&(o=``),(n===`Backspace`||n===`Delete`)&&i<g.length&&o!==`-`)e.preventDefault();else if(r!==i)u(e);else{n===`Backspace`&&o[0]===`-`&&r===g.length+1&&a&&b(t,1),p&&m&&(n===`Backspace`&&o[r-1]===D?(b(t,r-1),e.preventDefault()):n===`Delete`&&o[r]===D&&e.preventDefault()),O?.includes(n)&&o[r]===D&&b(t,r+1);var s=f===!0?`,`:f;n===`Backspace`&&o[r-1]===s&&b(t,r-1),n===`Delete`&&o[r]===s&&b(t,r+1),u(e)}},onBlur:function(t){var n=U;n.match(/\d/g)||(n=``),c||(n=h(n)),m&&p&&(n=y(n,p,m)),n!==U&&G({formattedValue:F(n,e),value:n,floatValue:parseFloat(n)},{event:t,source:r.event}),d(t)}})}function W(e){var n=U(e);return t.default.createElement(P,Object.assign({},n))}exports.NumberFormatBase=P,exports.NumericFormat=W,exports.getNumericCaretBoundary=V,exports.numericFormatter=F,exports.removeNumericFormat=B,exports.useNumericFormat=U;
package/dist/index23.cjs DELETED
@@ -1 +0,0 @@
1
- const e=require("./index2.cjs"),t=require("./index8.cjs");let n=require("@stylexjs/stylex");n=e.__toESM(n,1);let r=require("lucide-react"),i=require("react/jsx-runtime"),a=require("react");a=e.__toESM(a,1);let o=require("react/compiler-runtime"),s=require("@radix-ui/react-dialog");s=e.__toESM(s,1);var c={overlay:{kVAEAm:`xixxii4`,kpwlN0:`x10a8y8t`,kY2c9j:`xa9119d`,kWkggS:`xcpsgoo`,kKVMdj:`xqcmdr3`,k44tkh:`x5hsz1j`,kyAemX:`xa0mk88`,$$css:!0},content:{kVAEAm:`xixxii4`,k87sOh:`xwa60dl`,kbCHJM:`x1nrll8i`,k3aq6I:`x11lhmoz`,kY2c9j:`xfa8aoj`,k1xSpc:`xrvj5dj`,kzqmXN:`xh8yej3`,ks0D6T:`x6ymgno`,kOIVth:`x8fetqu`,kaIpWk:`x1mr5ieh`,kMzoRj:`xmkeg23`,ksu8eU:`x1y0btm7`,kVAM5u:`xb30jbz`,kWkggS:`x1mlyrtw`,kmVPX3:`xis3749`,kGVxlE:`xdwsiyt`,kI3sdo:`x1a2a7pz`,kKVMdj:`xpcv5nn`,k44tkh:`x5hsz1j`,kyAemX:`xa0mk88`,$$css:!0},header:{k1xSpc:`x78zum5`,kXwgrk:`xdt5ytf`,kOIVth:`xvh977a`,k9WMMc:`xdpxx8g`,$$css:!0},footer:{k1xSpc:`x78zum5`,kXwgrk:`x1q0g3np`,kjj79g:`x13a6bvl`,kOIVth:`x13z6uf9`,$$css:!0},title:{kogj98:`x1ghz6dp`,kGuDYH:`x1c3i2sq`,kLWn49:`x17mssa0`,k63SB2:`x1s688f`,kMwMTN:`x84br7x`,$$css:!0},description:{kogj98:`x1ghz6dp`,kGuDYH:`xkpwil5`,kLWn49:`x8r4c90`,kMwMTN:`xw3nh4a`,$$css:!0}};function l(e){let t=(0,o.c)(2),n;return t[0]===e?n=t[1]:(n=(0,i.jsx)(s.Root,{"data-slot":`dialog`,...e}),t[0]=e,t[1]=n),n}function u(e){let t=(0,o.c)(2),n;return t[0]===e?n=t[1]:(n=(0,i.jsx)(s.Trigger,{"data-slot":`dialog-trigger`,...e}),t[0]=e,t[1]=n),n}function d(e){let t=(0,o.c)(2),n;return t[0]===e?n=t[1]:(n=(0,i.jsx)(s.Portal,{"data-slot":`dialog-portal`,...e}),t[0]=e,t[1]=n),n}function f(e){let t=(0,o.c)(2),n;return t[0]===e?n=t[1]:(n=(0,i.jsx)(s.Close,{"data-slot":`dialog-close`,...e}),t[0]=e,t[1]=n),n}function p(e){let r=(0,o.c)(19),a,l,u,d;r[0]===e?(a=r[1],l=r[2],u=r[3],d=r[4]):({className:a,sx:d,style:u,...l}=e,r[0]=e,r[1]=a,r[2]=l,r[3]=u,r[4]=d);let f=t.useZIndex(`overlay`),p;r[5]===d?p=r[6]:(p=n.props(c.overlay,d),r[5]=d,r[6]=p);let m=p,h;r[7]!==u||r[8]!==m.style||r[9]!==f?(h={zIndex:f,...m.style,...u},r[7]=u,r[8]=m.style,r[9]=f,r[10]=h):h=r[10];let g;r[11]!==a||r[12]!==m.className?(g=a?`${m.className||``} ${a}`.trim():m.className,r[11]=a,r[12]=m.className,r[13]=g):g=r[13];let _;return r[14]!==l||r[15]!==m||r[16]!==h||r[17]!==g?(_=(0,i.jsx)(s.Overlay,{"data-slot":`dialog-overlay`,...m,style:h,className:g,...l}),r[14]=l,r[15]=m,r[16]=h,r[17]=g,r[18]=_):_=r[18],_}function m({className:e,children:a,showCloseButton:o=!0,sx:l,container:u,style:f,...m}){let h=t.useZIndex(`modal`),g=n.props(c.content,l);return(0,i.jsxs)(d,{"data-slot":`dialog-portal`,container:u,children:[(0,i.jsx)(p,{style:{zIndex:h}}),(0,i.jsxs)(s.Content,{"data-slot":`dialog-content`,...g,style:{zIndex:h+1,...g.style,...f},className:e?`${g.className||``} ${e}`.trim():g.className,...m,children:[(0,i.jsx)(t.ZIndexProvider,{value:h+10,children:a}),o&&(0,i.jsxs)(s.Close,{"data-slot":`dialog-close`,className:`x10l6tqk xaksmix x51lu3y x1q0v2j7 x1ks1olk xc342km xjbqb8w xw3nh4a x78pyy4 x1ypdohk x78zum5 x6s0dn4 xl56j7k x1mz1wvm xx6bhzk x1a2a7pz x1o7uuvo x8aud5w xb60vsn`,children:[(0,i.jsx)(r.XIcon,{className:`xcdlrvm x1l36t39`}),(0,i.jsx)(`span`,{className:`x10l6tqk x1i1rx1s xjm9jq1 x1717udv xkdpibf xb3r6kr xzpqnlu xuxw1ft xc342km`,children:`Close`})]})]})]})}function h(e){let t=(0,o.c)(13),r,a,s;t[0]===e?(r=t[1],a=t[2],s=t[3]):({className:r,sx:s,...a}=e,t[0]=e,t[1]=r,t[2]=a,t[3]=s);let l;t[4]===s?l=t[5]:(l=n.props(c.header,s),t[4]=s,t[5]=l);let u=l,d;t[6]!==r||t[7]!==u.className?(d=r?`${u.className||``} ${r}`.trim():u.className,t[6]=r,t[7]=u.className,t[8]=d):d=t[8];let f;return t[9]!==a||t[10]!==u||t[11]!==d?(f=(0,i.jsx)(`div`,{"data-slot":`dialog-header`,...u,className:d,...a}),t[9]=a,t[10]=u,t[11]=d,t[12]=f):f=t[12],f}function g(e){let t=(0,o.c)(13),r,a,s;t[0]===e?(r=t[1],a=t[2],s=t[3]):({className:r,sx:s,...a}=e,t[0]=e,t[1]=r,t[2]=a,t[3]=s);let l;t[4]===s?l=t[5]:(l=n.props(c.footer,s),t[4]=s,t[5]=l);let u=l,d;t[6]!==r||t[7]!==u.className?(d=r?`${u.className||``} ${r}`.trim():u.className,t[6]=r,t[7]=u.className,t[8]=d):d=t[8];let f;return t[9]!==a||t[10]!==u||t[11]!==d?(f=(0,i.jsx)(`div`,{"data-slot":`dialog-footer`,...u,className:d,...a}),t[9]=a,t[10]=u,t[11]=d,t[12]=f):f=t[12],f}function _(e){let t=(0,o.c)(13),r,a,l;t[0]===e?(r=t[1],a=t[2],l=t[3]):({className:r,sx:l,...a}=e,t[0]=e,t[1]=r,t[2]=a,t[3]=l);let u;t[4]===l?u=t[5]:(u=n.props(c.title,l),t[4]=l,t[5]=u);let d=u,f;t[6]!==r||t[7]!==d.className?(f=r?`${d.className||``} ${r}`.trim():d.className,t[6]=r,t[7]=d.className,t[8]=f):f=t[8];let p;return t[9]!==a||t[10]!==d||t[11]!==f?(p=(0,i.jsx)(s.Title,{"data-slot":`dialog-title`,...d,className:f,...a}),t[9]=a,t[10]=d,t[11]=f,t[12]=p):p=t[12],p}function v(e){let t=(0,o.c)(13),r,a,l;t[0]===e?(r=t[1],a=t[2],l=t[3]):({className:r,sx:l,...a}=e,t[0]=e,t[1]=r,t[2]=a,t[3]=l);let u;t[4]===l?u=t[5]:(u=n.props(c.description,l),t[4]=l,t[5]=u);let d=u,f;t[6]!==r||t[7]!==d.className?(f=r?`${d.className||``} ${r}`.trim():d.className,t[6]=r,t[7]=d.className,t[8]=f):f=t[8];let p;return t[9]!==a||t[10]!==d||t[11]!==f?(p=(0,i.jsx)(s.Description,{"data-slot":`dialog-description`,...d,className:f,...a}),t[9]=a,t[10]=d,t[11]=f,t[12]=p):p=t[12],p}exports.Dialog=l,exports.DialogClose=f,exports.DialogContent=m,exports.DialogDescription=v,exports.DialogFooter=g,exports.DialogHeader=h,exports.DialogOverlay=p,exports.DialogPortal=d,exports.DialogTitle=_,exports.DialogTrigger=u;
package/dist/index23.js DELETED
@@ -1,212 +0,0 @@
1
- import { ZIndexProvider as e, useZIndex as t } from "./index8.js";
2
- import * as n from "@stylexjs/stylex";
3
- import { XIcon as r } from "lucide-react";
4
- import { jsx as i, jsxs as a } from "react/jsx-runtime";
5
- import "react";
6
- import { c as o } from "react/compiler-runtime";
7
- import * as s from "@radix-ui/react-dialog";
8
- // src/ui/dialog.tsx
9
- var c = {
10
- overlay: {
11
- kVAEAm: "xixxii4",
12
- kpwlN0: "x10a8y8t",
13
- kY2c9j: "xa9119d",
14
- kWkggS: "xcpsgoo",
15
- kKVMdj: "xqcmdr3",
16
- k44tkh: "x5hsz1j",
17
- kyAemX: "xa0mk88",
18
- $$css: !0
19
- },
20
- content: {
21
- kVAEAm: "xixxii4",
22
- k87sOh: "xwa60dl",
23
- kbCHJM: "x1nrll8i",
24
- k3aq6I: "x11lhmoz",
25
- kY2c9j: "xfa8aoj",
26
- k1xSpc: "xrvj5dj",
27
- kzqmXN: "xh8yej3",
28
- ks0D6T: "x6ymgno",
29
- kOIVth: "x8fetqu",
30
- kaIpWk: "x1mr5ieh",
31
- kMzoRj: "xmkeg23",
32
- ksu8eU: "x1y0btm7",
33
- kVAM5u: "xb30jbz",
34
- kWkggS: "x1mlyrtw",
35
- kmVPX3: "xis3749",
36
- kGVxlE: "xdwsiyt",
37
- kI3sdo: "x1a2a7pz",
38
- kKVMdj: "xpcv5nn",
39
- k44tkh: "x5hsz1j",
40
- kyAemX: "xa0mk88",
41
- $$css: !0
42
- },
43
- header: {
44
- k1xSpc: "x78zum5",
45
- kXwgrk: "xdt5ytf",
46
- kOIVth: "xvh977a",
47
- k9WMMc: "xdpxx8g",
48
- $$css: !0
49
- },
50
- footer: {
51
- k1xSpc: "x78zum5",
52
- kXwgrk: "x1q0g3np",
53
- kjj79g: "x13a6bvl",
54
- kOIVth: "x13z6uf9",
55
- $$css: !0
56
- },
57
- title: {
58
- kogj98: "x1ghz6dp",
59
- kGuDYH: "x1c3i2sq",
60
- kLWn49: "x17mssa0",
61
- k63SB2: "x1s688f",
62
- kMwMTN: "x84br7x",
63
- $$css: !0
64
- },
65
- description: {
66
- kogj98: "x1ghz6dp",
67
- kGuDYH: "xkpwil5",
68
- kLWn49: "x8r4c90",
69
- kMwMTN: "xw3nh4a",
70
- $$css: !0
71
- }
72
- };
73
- function l(e) {
74
- let t = o(2), n;
75
- return t[0] === e ? n = t[1] : (n = /* @__PURE__ */ i(s.Root, {
76
- "data-slot": "dialog",
77
- ...e
78
- }), t[0] = e, t[1] = n), n;
79
- }
80
- function u(e) {
81
- let t = o(2), n;
82
- return t[0] === e ? n = t[1] : (n = /* @__PURE__ */ i(s.Trigger, {
83
- "data-slot": "dialog-trigger",
84
- ...e
85
- }), t[0] = e, t[1] = n), n;
86
- }
87
- function d(e) {
88
- let t = o(2), n;
89
- return t[0] === e ? n = t[1] : (n = /* @__PURE__ */ i(s.Portal, {
90
- "data-slot": "dialog-portal",
91
- ...e
92
- }), t[0] = e, t[1] = n), n;
93
- }
94
- function f(e) {
95
- let t = o(2), n;
96
- return t[0] === e ? n = t[1] : (n = /* @__PURE__ */ i(s.Close, {
97
- "data-slot": "dialog-close",
98
- ...e
99
- }), t[0] = e, t[1] = n), n;
100
- }
101
- function p(e) {
102
- let r = o(19), a, l, u, d;
103
- r[0] === e ? (a = r[1], l = r[2], u = r[3], d = r[4]) : ({className: a, sx: d, style: u, ...l} = e, r[0] = e, r[1] = a, r[2] = l, r[3] = u, r[4] = d);
104
- let f = t("overlay"), p;
105
- r[5] === d ? p = r[6] : (p = n.props(c.overlay, d), r[5] = d, r[6] = p);
106
- let m = p, h;
107
- r[7] !== u || r[8] !== m.style || r[9] !== f ? (h = {
108
- zIndex: f,
109
- ...m.style,
110
- ...u
111
- }, r[7] = u, r[8] = m.style, r[9] = f, r[10] = h) : h = r[10];
112
- let g;
113
- r[11] !== a || r[12] !== m.className ? (g = a ? `${m.className || ""} ${a}`.trim() : m.className, r[11] = a, r[12] = m.className, r[13] = g) : g = r[13];
114
- let _;
115
- return r[14] !== l || r[15] !== m || r[16] !== h || r[17] !== g ? (_ = /* @__PURE__ */ i(s.Overlay, {
116
- "data-slot": "dialog-overlay",
117
- ...m,
118
- style: h,
119
- className: g,
120
- ...l
121
- }), r[14] = l, r[15] = m, r[16] = h, r[17] = g, r[18] = _) : _ = r[18], _;
122
- }
123
- function m({ className: o, children: l, showCloseButton: u = !0, sx: f, container: m, style: h, ...g }) {
124
- let _ = t("modal"), v = n.props(c.content, f);
125
- return /* @__PURE__ */ a(d, {
126
- "data-slot": "dialog-portal",
127
- container: m,
128
- children: [/* @__PURE__ */ i(p, { style: { zIndex: _ } }), /* @__PURE__ */ a(s.Content, {
129
- "data-slot": "dialog-content",
130
- ...v,
131
- style: {
132
- zIndex: _ + 1,
133
- ...v.style,
134
- ...h
135
- },
136
- className: o ? `${v.className || ""} ${o}`.trim() : v.className,
137
- ...g,
138
- children: [/* @__PURE__ */ i(e, {
139
- value: _ + 10,
140
- children: l
141
- }), u && /* @__PURE__ */ a(s.Close, {
142
- "data-slot": "dialog-close",
143
- className: "x10l6tqk xaksmix x51lu3y x1q0v2j7 x1ks1olk xc342km xjbqb8w xw3nh4a x78pyy4 x1ypdohk x78zum5 x6s0dn4 xl56j7k x1mz1wvm xx6bhzk x1a2a7pz x1o7uuvo x8aud5w xb60vsn",
144
- children: [/* @__PURE__ */ i(r, { className: "xcdlrvm x1l36t39" }), /* @__PURE__ */ i("span", {
145
- className: "x10l6tqk x1i1rx1s xjm9jq1 x1717udv xkdpibf xb3r6kr xzpqnlu xuxw1ft xc342km",
146
- children: "Close"
147
- })]
148
- })]
149
- })]
150
- });
151
- }
152
- function h(e) {
153
- let t = o(13), r, a, s;
154
- t[0] === e ? (r = t[1], a = t[2], s = t[3]) : ({className: r, sx: s, ...a} = e, t[0] = e, t[1] = r, t[2] = a, t[3] = s);
155
- let l;
156
- t[4] === s ? l = t[5] : (l = n.props(c.header, s), t[4] = s, t[5] = l);
157
- let u = l, d;
158
- t[6] !== r || t[7] !== u.className ? (d = r ? `${u.className || ""} ${r}`.trim() : u.className, t[6] = r, t[7] = u.className, t[8] = d) : d = t[8];
159
- let f;
160
- return t[9] !== a || t[10] !== u || t[11] !== d ? (f = /* @__PURE__ */ i("div", {
161
- "data-slot": "dialog-header",
162
- ...u,
163
- className: d,
164
- ...a
165
- }), t[9] = a, t[10] = u, t[11] = d, t[12] = f) : f = t[12], f;
166
- }
167
- function g(e) {
168
- let t = o(13), r, a, s;
169
- t[0] === e ? (r = t[1], a = t[2], s = t[3]) : ({className: r, sx: s, ...a} = e, t[0] = e, t[1] = r, t[2] = a, t[3] = s);
170
- let l;
171
- t[4] === s ? l = t[5] : (l = n.props(c.footer, s), t[4] = s, t[5] = l);
172
- let u = l, d;
173
- t[6] !== r || t[7] !== u.className ? (d = r ? `${u.className || ""} ${r}`.trim() : u.className, t[6] = r, t[7] = u.className, t[8] = d) : d = t[8];
174
- let f;
175
- return t[9] !== a || t[10] !== u || t[11] !== d ? (f = /* @__PURE__ */ i("div", {
176
- "data-slot": "dialog-footer",
177
- ...u,
178
- className: d,
179
- ...a
180
- }), t[9] = a, t[10] = u, t[11] = d, t[12] = f) : f = t[12], f;
181
- }
182
- function _(e) {
183
- let t = o(13), r, a, l;
184
- t[0] === e ? (r = t[1], a = t[2], l = t[3]) : ({className: r, sx: l, ...a} = e, t[0] = e, t[1] = r, t[2] = a, t[3] = l);
185
- let u;
186
- t[4] === l ? u = t[5] : (u = n.props(c.title, l), t[4] = l, t[5] = u);
187
- let d = u, f;
188
- t[6] !== r || t[7] !== d.className ? (f = r ? `${d.className || ""} ${r}`.trim() : d.className, t[6] = r, t[7] = d.className, t[8] = f) : f = t[8];
189
- let p;
190
- return t[9] !== a || t[10] !== d || t[11] !== f ? (p = /* @__PURE__ */ i(s.Title, {
191
- "data-slot": "dialog-title",
192
- ...d,
193
- className: f,
194
- ...a
195
- }), t[9] = a, t[10] = d, t[11] = f, t[12] = p) : p = t[12], p;
196
- }
197
- function v(e) {
198
- let t = o(13), r, a, l;
199
- t[0] === e ? (r = t[1], a = t[2], l = t[3]) : ({className: r, sx: l, ...a} = e, t[0] = e, t[1] = r, t[2] = a, t[3] = l);
200
- let u;
201
- t[4] === l ? u = t[5] : (u = n.props(c.description, l), t[4] = l, t[5] = u);
202
- let d = u, f;
203
- t[6] !== r || t[7] !== d.className ? (f = r ? `${d.className || ""} ${r}`.trim() : d.className, t[6] = r, t[7] = d.className, t[8] = f) : f = t[8];
204
- let p;
205
- return t[9] !== a || t[10] !== d || t[11] !== f ? (p = /* @__PURE__ */ i(s.Description, {
206
- "data-slot": "dialog-description",
207
- ...d,
208
- className: f,
209
- ...a
210
- }), t[9] = a, t[10] = d, t[11] = f, t[12] = p) : p = t[12], p;
211
- }
212
- export { l as Dialog, f as DialogClose, m as DialogContent, v as DialogDescription, g as DialogFooter, h as DialogHeader, p as DialogOverlay, d as DialogPortal, _ as DialogTitle, u as DialogTrigger };
package/dist/index230.cjs DELETED
@@ -1 +0,0 @@
1
- const e=require("./index2.cjs"),t=require("./index22.cjs");let n=require("@stylexjs/stylex");n=e.__toESM(n,1);let r=require("lucide-react"),i=require("react/jsx-runtime"),a=require("react/compiler-runtime"),o=require("react-i18next");var s={btnUp:{kg3NbH:`x97vtpp`,kZKoxP:`xaylbqo`,kIxVMA:`x1ia1hqs`,kqGeR4:`xfrllxf`,kYm2EN:`xjppbhk`,kZ1KPB:`xyj58a3`,kt9PQ7:`x1co6499`,kVAM5u:`xsyin8q`,$$css:!0},btnDown:{kg3NbH:`x97vtpp`,kZKoxP:`xaylbqo`,kIxVMA:`x1ia1hqs`,kqGeR4:`xfrllxf`,ksF3WI:`x1a2w583`,kZ1KPB:`xyj58a3`,kEafiO:`xt8cgyo`,kVAM5u:`xsyin8q`,$$css:!0}};function c(e){let n=(0,a.c)(17),{onIncrement:c,onDecrement:l,disableIncrement:u,disableDecrement:d}=e,{t:f}=(0,o.useTranslation)(),p;n[0]===f?p=n[1]:(p=f(`form_increase_value`),n[0]=f,n[1]=p);let m;n[2]===Symbol.for(`react.memo_cache_sentinel`)?(m=(0,i.jsx)(r.ChevronUp,{size:15}),n[2]=m):m=n[2];let h;n[3]!==u||n[4]!==c||n[5]!==p?(h=(0,i.jsx)(t.Button,{"aria-label":p,sx:s.btnUp,variant:`outline`,onClick:c,disabled:u,type:`button`,children:m}),n[3]=u,n[4]=c,n[5]=p,n[6]=h):h=n[6];let g;n[7]===f?g=n[8]:(g=f(`form_decrease_value`),n[7]=f,n[8]=g);let _;n[9]===Symbol.for(`react.memo_cache_sentinel`)?(_=(0,i.jsx)(r.ChevronDown,{size:15}),n[9]=_):_=n[9];let v;n[10]!==d||n[11]!==l||n[12]!==g?(v=(0,i.jsx)(t.Button,{"aria-label":g,sx:s.btnDown,variant:`outline`,onClick:l,disabled:d,type:`button`,children:_}),n[10]=d,n[11]=l,n[12]=g,n[13]=v):v=n[13];let y;return n[14]!==h||n[15]!==v?(y=(0,i.jsxs)(`div`,{className:`x78zum5 xdt5ytf x4aigyd`,children:[h,v]}),n[14]=h,n[15]=v,n[16]=y):y=n[16],y}exports.StepperControls=c;
package/dist/index230.js DELETED
@@ -1,67 +0,0 @@
1
- import { Button as e } from "./index22.js";
2
- import "@stylexjs/stylex";
3
- import { ChevronDown as t, ChevronUp as n } from "lucide-react";
4
- import { jsx as r, jsxs as i } from "react/jsx-runtime";
5
- import { c as a } from "react/compiler-runtime";
6
- import { useTranslation as o } from "react-i18next";
7
- // src/Form/FormNumberInput/StepperControls.tsx
8
- var s = {
9
- btnUp: {
10
- kg3NbH: "x97vtpp",
11
- kZKoxP: "xaylbqo",
12
- kIxVMA: "x1ia1hqs",
13
- kqGeR4: "xfrllxf",
14
- kYm2EN: "xjppbhk",
15
- kZ1KPB: "xyj58a3",
16
- kt9PQ7: "x1co6499",
17
- kVAM5u: "xsyin8q",
18
- $$css: !0
19
- },
20
- btnDown: {
21
- kg3NbH: "x97vtpp",
22
- kZKoxP: "xaylbqo",
23
- kIxVMA: "x1ia1hqs",
24
- kqGeR4: "xfrllxf",
25
- ksF3WI: "x1a2w583",
26
- kZ1KPB: "xyj58a3",
27
- kEafiO: "xt8cgyo",
28
- kVAM5u: "xsyin8q",
29
- $$css: !0
30
- }
31
- };
32
- function c(c) {
33
- let l = a(17), { onIncrement: u, onDecrement: d, disableIncrement: f, disableDecrement: p } = c, { t: m } = o(), h;
34
- l[0] === m ? h = l[1] : (h = m("form_increase_value"), l[0] = m, l[1] = h);
35
- let g;
36
- l[2] === Symbol.for("react.memo_cache_sentinel") ? (g = /* @__PURE__ */ r(n, { size: 15 }), l[2] = g) : g = l[2];
37
- let _;
38
- l[3] !== f || l[4] !== u || l[5] !== h ? (_ = /* @__PURE__ */ r(e, {
39
- "aria-label": h,
40
- sx: s.btnUp,
41
- variant: "outline",
42
- onClick: u,
43
- disabled: f,
44
- type: "button",
45
- children: g
46
- }), l[3] = f, l[4] = u, l[5] = h, l[6] = _) : _ = l[6];
47
- let v;
48
- l[7] === m ? v = l[8] : (v = m("form_decrease_value"), l[7] = m, l[8] = v);
49
- let y;
50
- l[9] === Symbol.for("react.memo_cache_sentinel") ? (y = /* @__PURE__ */ r(t, { size: 15 }), l[9] = y) : y = l[9];
51
- let b;
52
- l[10] !== p || l[11] !== d || l[12] !== v ? (b = /* @__PURE__ */ r(e, {
53
- "aria-label": v,
54
- sx: s.btnDown,
55
- variant: "outline",
56
- onClick: d,
57
- disabled: p,
58
- type: "button",
59
- children: y
60
- }), l[10] = p, l[11] = d, l[12] = v, l[13] = b) : b = l[13];
61
- let x;
62
- return l[14] !== _ || l[15] !== b ? (x = /* @__PURE__ */ i("div", {
63
- className: "x78zum5 xdt5ytf x4aigyd",
64
- children: [_, b]
65
- }), l[14] = _, l[15] = b, l[16] = x) : x = l[16], x;
66
- }
67
- export { c as StepperControls };
package/dist/index231.cjs DELETED
@@ -1 +0,0 @@
1
- const e=require("./index46.cjs");var t=[];function n({rules:n,inputClassName:r,stepper:i,min:a,max:o,onChange:s,passthroughProps:c}){let l=n?.required!==void 0&&n.required!==!1;return{isRequired:l,enhancedRules:(()=>{if(!n)return n;let e={...n};return l&&typeof e.required!=`string`&&typeof e.required!=`object`?e.required=`This field is required`:typeof e.required==`object`&&!e.required.message&&(e.required={...e.required,message:`This field is required`}),e})(),numericClass:e.cn(t,r),getHandlers:({currentValue:e,field:t})=>{let n=()=>{let n=Math.min((e??0)+i,o);t.onChange(n),s?.(n)},r=()=>{let n=Math.max((e??0)-i,a);t.onChange(n),s?.(n)};return{handleIncrement:n,handleDecrement:r,handleKeyDown:e=>{e.key===`ArrowUp`?(e.preventDefault(),n()):e.key===`ArrowDown`&&(e.preventDefault(),r()),c.onKeyDown?.(e)},handleBlur:n=>{let r=e;r!==void 0&&(r<a?(t.onChange(a),s?.(a)):r>o&&(t.onChange(o),s?.(o))),t.onBlur(),n&&c.onBlur?.(n)},numericOnValueChange:e=>{let n=e.floatValue===void 0?void 0:e.floatValue;t.onChange(n),s?.(n)}}}}}exports.useFormNumberInput=n;
package/dist/index231.js DELETED
@@ -1,43 +0,0 @@
1
- import { cn as e } from "./index46.js";
2
- // src/Form/FormNumberInput/useFormNumberInput.ts
3
- var t = [];
4
- function n({ rules: n, inputClassName: r, stepper: i, min: a, max: o, onChange: s, passthroughProps: c }) {
5
- let l = n?.required !== void 0 && n.required !== !1;
6
- return {
7
- isRequired: l,
8
- enhancedRules: (() => {
9
- if (!n) return n;
10
- let e = { ...n };
11
- return l && typeof e.required != "string" && typeof e.required != "object" ? e.required = "This field is required" : typeof e.required == "object" && !e.required.message && (e.required = {
12
- ...e.required,
13
- message: "This field is required"
14
- }), e;
15
- })(),
16
- numericClass: e(t, r),
17
- getHandlers: ({ currentValue: e, field: t }) => {
18
- let n = () => {
19
- let n = Math.min((e ?? 0) + i, o);
20
- t.onChange(n), s?.(n);
21
- }, r = () => {
22
- let n = Math.max((e ?? 0) - i, a);
23
- t.onChange(n), s?.(n);
24
- };
25
- return {
26
- handleIncrement: n,
27
- handleDecrement: r,
28
- handleKeyDown: (e) => {
29
- e.key === "ArrowUp" ? (e.preventDefault(), n()) : e.key === "ArrowDown" && (e.preventDefault(), r()), c.onKeyDown?.(e);
30
- },
31
- handleBlur: (n) => {
32
- let r = e;
33
- r !== void 0 && (r < a ? (t.onChange(a), s?.(a)) : r > o && (t.onChange(o), s?.(o))), t.onBlur(), n && c.onBlur?.(n);
34
- },
35
- numericOnValueChange: (e) => {
36
- let n = e.floatValue === void 0 ? void 0 : e.floatValue;
37
- t.onChange(n), s?.(n);
38
- }
39
- };
40
- }
41
- };
42
- }
43
- export { n as useFormNumberInput };
package/dist/index232.cjs DELETED
@@ -1 +0,0 @@
1
- const e=require("./index2.cjs"),t=require("./index46.cjs"),n=require("./index179.cjs"),r=require("./index229.cjs"),i=require("./index230.cjs"),a=require("./index231.cjs");let o=require("@stylexjs/stylex");o=e.__toESM(o,1);let s=require("react/jsx-runtime");function c({control:e,name:o,label:c,stepper:l=1,min:u=`0`,max:d=`100`,minValue:f=-1/0,maxValue:p=1/0,thousandSeparator:m,placeholder:h,fixedDecimalScale:g=!1,decimalScale:_=0,suffix:v,prefix:y,inputClassName:b,onChange:x,rules:S,description:C,horizontal:w,controlFirst:T,width:E,...D}){let{enhancedRules:O,numericClass:k,getHandlers:A}=a.useFormNumberInput({min:f,max:p,rules:S,inputClassName:b,stepper:l,onChange:x,passthroughProps:D});return(0,s.jsx)(n.FormBase,{control:e,name:o,label:c,description:C,rules:O,horizontal:w,controlFirst:T,width:E,children:({id:e,"aria-invalid":n,...a})=>{let o=a.value,{handleIncrement:c,handleDecrement:l,handleKeyDown:b,handleBlur:x,numericOnValueChange:S}=A({currentValue:o,field:a}),C={className:`xh8yej3 xeuugli xsda711 x1a2w583 xjppbhk xmkeg23 x1y0btm7 xsyin8q xjbqb8w x84br7x x1dsmnui x1bh2a3r xx6bhzk x1a2a7pz xk8t5le x1ryrjj2 x18g2hj5 xkpwil5 x8r4c90`};return(0,s.jsxs)(`div`,{className:`x78zum5 x6s0dn4 xh8yej3`,children:[(0,s.jsx)(r.NumericFormat,{min:u,max:d,"aria-invalid":n,value:o??``,onValueChange:S,thousandSeparator:m,decimalScale:_,fixedDecimalScale:g,allowNegative:f<0,valueIsNumericString:!1,onBlur:x,suffix:v,prefix:y,placeholder:h||`0`,getInputRef:a.ref,onKeyDown:b,name:a.name,...D,id:e,...C,className:t.cn(C.className,k,D.className)}),(0,s.jsx)(i.StepperControls,{onIncrement:c,onDecrement:l,disableIncrement:o!==void 0&&o>=p,disableDecrement:o!==void 0&&o<=f})]})}})}exports.FormNumberInput=c;
package/dist/index232.js DELETED
@@ -1,67 +0,0 @@
1
- import { cn as e } from "./index46.js";
2
- import { FormBase as t } from "./index179.js";
3
- import { NumericFormat as n } from "./index229.js";
4
- import { StepperControls as r } from "./index230.js";
5
- import { useFormNumberInput as i } from "./index231.js";
6
- import "@stylexjs/stylex";
7
- import { jsx as a, jsxs as o } from "react/jsx-runtime";
8
- // src/Form/FormNumberInput/FormNumberInput.tsx
9
- function s({ control: s, name: c, label: l, stepper: u = 1, min: d = "0", max: f = "100", minValue: p = -Infinity, maxValue: m = Infinity, thousandSeparator: h, placeholder: g, fixedDecimalScale: _ = !1, decimalScale: v = 0, suffix: y, prefix: b, inputClassName: x, onChange: S, rules: C, description: w, horizontal: T, controlFirst: E, width: D, ...O }) {
10
- let { enhancedRules: k, numericClass: A, getHandlers: j } = i({
11
- min: p,
12
- max: m,
13
- rules: C,
14
- inputClassName: x,
15
- stepper: u,
16
- onChange: S,
17
- passthroughProps: O
18
- });
19
- return /* @__PURE__ */ a(t, {
20
- control: s,
21
- name: c,
22
- label: l,
23
- description: w,
24
- rules: k,
25
- horizontal: T,
26
- controlFirst: E,
27
- width: D,
28
- children: ({ id: t, "aria-invalid": i, ...s }) => {
29
- let c = s.value, { handleIncrement: l, handleDecrement: u, handleKeyDown: x, handleBlur: S, numericOnValueChange: C } = j({
30
- currentValue: c,
31
- field: s
32
- }), w = { className: "xh8yej3 xeuugli xsda711 x1a2w583 xjppbhk xmkeg23 x1y0btm7 xsyin8q xjbqb8w x84br7x x1dsmnui x1bh2a3r xx6bhzk x1a2a7pz xk8t5le x1ryrjj2 x18g2hj5 xkpwil5 x8r4c90" };
33
- return /* @__PURE__ */ o("div", {
34
- className: "x78zum5 x6s0dn4 xh8yej3",
35
- children: [/* @__PURE__ */ a(n, {
36
- min: d,
37
- max: f,
38
- "aria-invalid": i,
39
- value: c ?? "",
40
- onValueChange: C,
41
- thousandSeparator: h,
42
- decimalScale: v,
43
- fixedDecimalScale: _,
44
- allowNegative: p < 0,
45
- valueIsNumericString: !1,
46
- onBlur: S,
47
- suffix: y,
48
- prefix: b,
49
- placeholder: g || "0",
50
- getInputRef: s.ref,
51
- onKeyDown: x,
52
- name: s.name,
53
- ...O,
54
- id: t,
55
- ...w,
56
- className: e(w.className, A, O.className)
57
- }), /* @__PURE__ */ a(r, {
58
- onIncrement: l,
59
- onDecrement: u,
60
- disableIncrement: c !== void 0 && c >= m,
61
- disableDecrement: c !== void 0 && c <= p
62
- })]
63
- });
64
- }
65
- });
66
- }
67
- export { s as FormNumberInput };
package/dist/index234.cjs DELETED
@@ -1 +0,0 @@
1
- const e=require("./index2.cjs"),t=require("./index4.cjs"),n=require("./index9.cjs"),r=require("./index14.cjs"),i=require("./index43.cjs");let a=require("@stylexjs/stylex");a=e.__toESM(a,1);let o=require("react/jsx-runtime"),s=require("react");var c={tag:{k1xSpc:`x3nfvp2`,kGNEyG:`x6s0dn4`,kOIVth:`xvh977a`,kg3NbH:`x18a9hih`,k8WAf4:`x1dus959`,kGuDYH:`xboafo0`,ks0D6T:`x193iq5w`,$$css:!0},tagLabel:{ks0D6T:`x1s8ub08`,k7Eaqz:`xeuugli`,kVQacm:`xb3r6kr`,kg5iWk:`xlyipyv`,khDVqt:`xuxw1ft`,kGuDYH:`xboafo0`,$$css:!0},moreBadge:{kGuDYH:`xboafo0`,kkrTdU:`xt0e3qv`,$$css:!0}};function l({selectedOptions:e,maxTagCount:a=`responsive`,onRemove:l,disabled:u,tagRender:d}){let f=(0,s.useRef)(null),[p,m]=(0,s.useState)(e.length),[h,g]=(0,s.useState)([]);(0,s.useEffect)(()=>{if(a===`responsive`&&f.current){let t=f.current,n=t.offsetWidth-60,r=0,i=0,a=Array.from(t.children);for(let e=0;e<a.length;e++){let t=a[e];if(t.classList?.contains(`select-tag`)){let e=t.offsetWidth+4;if(r+e<=n)r+=e,i++;else break}}i<e.length?(m(Math.max(1,i-1)),g(e.slice(Math.max(1,i-1)))):(m(e.length),g([]))}else typeof a==`number`?(m(Math.min(a,e.length)),g(e.slice(a))):(m(e.length),g([]))},[e,a]);let _=e.slice(0,p),v=e.length-p;return(0,o.jsxs)(`div`,{ref:f,className:`x78zum5 x1a02dak xvh977a x6s0dn4 x845mor xeuugli`,children:[_.map(e=>{let n=()=>l(e.value);return d?(0,o.jsx)(`span`,{className:`select-tag`,children:d(e,n)},String(e.value)):(0,o.jsxs)(i.Badge,{variant:`secondary`,className:`select-tag`,sx:c.tag,children:[e.icon&&(0,o.jsx)(r.Text,{as:`span`,type:`inherit`,children:e.icon}),(0,o.jsx)(r.Text,{ellipsis:!0,tooltip:!0,sx:c.tagLabel,children:e.label}),!u&&(0,o.jsx)(`span`,{onClick:e=>{e.stopPropagation(),n()},children:(0,o.jsx)(t.Icons.XIcon,{className:`x1jw3ynk xvle69y x1ypdohk x1ks1olk x1o7uuvo`})})]},String(e.value))}),v>0&&(0,o.jsx)(n.TooltipProvider,{children:(0,o.jsxs)(n.Tooltip,{children:[(0,o.jsx)(n.TooltipTrigger,{asChild:!0,children:(0,o.jsxs)(i.Badge,{variant:`outline`,sx:c.moreBadge,children:[`+`,v]})}),(0,o.jsx)(n.TooltipContent,{children:(0,o.jsx)(`div`,{className:`x78zum5 xdt5ytf xvh977a x1ok5v8c`,children:h.map(e=>(0,o.jsx)(r.Text,{ellipsis:!0,tooltip:!0,children:e.label},String(e.value)))})})]})})]})}exports.MultiSelectTags=l;
package/dist/index234.js DELETED
@@ -1,101 +0,0 @@
1
- import { Icons as e } from "./index4.js";
2
- import { Tooltip as t, TooltipContent as n, TooltipProvider as r, TooltipTrigger as i } from "./index9.js";
3
- import { Text as a } from "./index14.js";
4
- import { Badge as o } from "./index43.js";
5
- import "@stylexjs/stylex";
6
- import { jsx as s, jsxs as c } from "react/jsx-runtime";
7
- import { useEffect as l, useRef as u, useState as d } from "react";
8
- // src/Select/MultiSelectTags.tsx
9
- var f = {
10
- tag: {
11
- k1xSpc: "x3nfvp2",
12
- kGNEyG: "x6s0dn4",
13
- kOIVth: "xvh977a",
14
- kg3NbH: "x18a9hih",
15
- k8WAf4: "x1dus959",
16
- kGuDYH: "xboafo0",
17
- ks0D6T: "x193iq5w",
18
- $$css: !0
19
- },
20
- tagLabel: {
21
- ks0D6T: "x1s8ub08",
22
- k7Eaqz: "xeuugli",
23
- kVQacm: "xb3r6kr",
24
- kg5iWk: "xlyipyv",
25
- khDVqt: "xuxw1ft",
26
- kGuDYH: "xboafo0",
27
- $$css: !0
28
- },
29
- moreBadge: {
30
- kGuDYH: "xboafo0",
31
- kkrTdU: "xt0e3qv",
32
- $$css: !0
33
- }
34
- };
35
- function p({ selectedOptions: p, maxTagCount: m = "responsive", onRemove: h, disabled: g, tagRender: _ }) {
36
- let v = u(null), [y, b] = d(p.length), [x, S] = d([]);
37
- l(() => {
38
- if (m === "responsive" && v.current) {
39
- let e = v.current, t = e.offsetWidth - 60, n = 0, r = 0, i = Array.from(e.children);
40
- for (let e = 0; e < i.length; e++) {
41
- let a = i[e];
42
- if (a.classList?.contains("select-tag")) {
43
- let e = a.offsetWidth + 4;
44
- if (n + e <= t) n += e, r++;
45
- else break;
46
- }
47
- }
48
- r < p.length ? (b(Math.max(1, r - 1)), S(p.slice(Math.max(1, r - 1)))) : (b(p.length), S([]));
49
- } else typeof m == "number" ? (b(Math.min(m, p.length)), S(p.slice(m))) : (b(p.length), S([]));
50
- }, [p, m]);
51
- let C = p.slice(0, y), w = p.length - y;
52
- return /* @__PURE__ */ c("div", {
53
- ref: v,
54
- className: "x78zum5 x1a02dak xvh977a x6s0dn4 x845mor xeuugli",
55
- children: [C.map((t) => {
56
- let n = () => h(t.value);
57
- return _ ? /* @__PURE__ */ s("span", {
58
- className: "select-tag",
59
- children: _(t, n)
60
- }, String(t.value)) : /* @__PURE__ */ c(o, {
61
- variant: "secondary",
62
- className: "select-tag",
63
- sx: f.tag,
64
- children: [
65
- t.icon && /* @__PURE__ */ s(a, {
66
- as: "span",
67
- type: "inherit",
68
- children: t.icon
69
- }),
70
- /* @__PURE__ */ s(a, {
71
- ellipsis: !0,
72
- tooltip: !0,
73
- sx: f.tagLabel,
74
- children: t.label
75
- }),
76
- !g && /* @__PURE__ */ s("span", {
77
- onClick: (e) => {
78
- e.stopPropagation(), n();
79
- },
80
- children: /* @__PURE__ */ s(e.XIcon, { className: "x1jw3ynk xvle69y x1ypdohk x1ks1olk x1o7uuvo" })
81
- })
82
- ]
83
- }, String(t.value));
84
- }), w > 0 && /* @__PURE__ */ s(r, { children: /* @__PURE__ */ c(t, { children: [/* @__PURE__ */ s(i, {
85
- asChild: !0,
86
- children: /* @__PURE__ */ c(o, {
87
- variant: "outline",
88
- sx: f.moreBadge,
89
- children: ["+", w]
90
- })
91
- }), /* @__PURE__ */ s(n, { children: /* @__PURE__ */ s("div", {
92
- className: "x78zum5 xdt5ytf xvh977a x1ok5v8c",
93
- children: x.map((e) => /* @__PURE__ */ s(a, {
94
- ellipsis: !0,
95
- tooltip: !0,
96
- children: e.label
97
- }, String(e.value)))
98
- }) })] }) })]
99
- });
100
- }
101
- export { p as MultiSelectTags };