@vlrc-fe/components 2.8.0 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (920) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/README.md +127 -209
  3. package/bin/vlrc.mjs +15 -0
  4. package/dist/ConfirmModal.cjs +1 -0
  5. package/dist/ConfirmModal.js +257 -0
  6. package/dist/DataTable/DataTable.cjs +1 -0
  7. package/dist/DataTable/DataTable.js +159 -0
  8. package/dist/DataTable/components/DataTableColumnHeader.cjs +1 -0
  9. package/dist/DataTable/components/DataTableColumnHeader.js +114 -0
  10. package/dist/DataTable/components/DataTableFacetedFilter.cjs +1 -0
  11. package/dist/DataTable/components/DataTableFacetedFilter.js +226 -0
  12. package/dist/DataTable/components/DataTablePagination.cjs +1 -0
  13. package/dist/DataTable/components/DataTablePagination.js +101 -0
  14. package/dist/DataTable/components/DataTableRowActions.cjs +1 -0
  15. package/dist/DataTable/components/DataTableRowActions.js +71 -0
  16. package/dist/DataTable/components/DataTableTable.cjs +1 -0
  17. package/dist/DataTable/components/DataTableTable.js +46 -0
  18. package/dist/DataTable/components/DataTableToolbar.cjs +1 -0
  19. package/dist/DataTable/components/DataTableToolbar.js +48 -0
  20. package/dist/DataTable/components/DataTableViewOptions.cjs +1 -0
  21. package/dist/DataTable/components/DataTableViewOptions.js +50 -0
  22. package/dist/DataTable/render/createColumns.cjs +1 -0
  23. package/dist/DataTable/render/createColumns.js +59 -0
  24. package/dist/DataTable/render/defaults.cjs +1 -0
  25. package/dist/Dropdown/Dropdown.cjs +1 -0
  26. package/dist/Dropdown/Dropdown.js +221 -0
  27. package/dist/Form/Form.cjs +1 -0
  28. package/dist/Form/Form.js +221 -0
  29. package/dist/Form/FormDatePicker/FormDatePicker.cjs +1 -0
  30. package/dist/Form/FormDatePicker/FormDatePicker.js +79 -0
  31. package/dist/Form/FormDatePicker/MonthPickerPanel.cjs +1 -0
  32. package/dist/Form/FormDatePicker/MonthPickerPanel.js +120 -0
  33. package/dist/Form/FormDatePicker/RangeDatePicker.cjs +1 -0
  34. package/dist/Form/FormDatePicker/RangeDatePicker.js +123 -0
  35. package/dist/Form/FormDatePicker/SingleDatePicker.cjs +1 -0
  36. package/dist/Form/FormDatePicker/SingleDatePicker.js +157 -0
  37. package/dist/Form/FormDatePicker/TimeInput.cjs +1 -0
  38. package/dist/Form/FormDatePicker/TimeInput.js +86 -0
  39. package/dist/Form/FormDatePicker/TimePicker.cjs +1 -0
  40. package/dist/Form/FormDatePicker/TimePicker.js +89 -0
  41. package/dist/Form/FormDatePicker/YearPickerPanel.cjs +1 -0
  42. package/dist/Form/FormDatePicker/YearPickerPanel.js +100 -0
  43. package/dist/Form/FormDatePicker/useFormDatePicker.cjs +1 -0
  44. package/dist/Form/FormDatePicker/useFormDatePicker.js +40 -0
  45. package/dist/Form/FormFileUpload/FileUpload.cjs +1 -0
  46. package/dist/Form/FormFileUpload/FileUpload.js +422 -0
  47. package/dist/Form/FormFileUpload/index.cjs +1 -0
  48. package/dist/Form/FormFileUpload/index.js +30 -0
  49. package/dist/Form/FormMultiSelect/FormMultiSelect.cjs +1 -0
  50. package/dist/Form/FormMultiSelect/FormMultiSelect.js +25 -0
  51. package/dist/Form/FormNumberInput/FormNumberInput.cjs +1 -0
  52. package/dist/Form/FormNumberInput/FormNumberInput.js +67 -0
  53. package/dist/Form/FormNumberInput/StepperControls.cjs +1 -0
  54. package/dist/Form/FormNumberInput/StepperControls.js +67 -0
  55. package/dist/Form/FormNumberInput/useFormNumberInput.cjs +1 -0
  56. package/dist/Form/FormNumberInput/useFormNumberInput.js +43 -0
  57. package/dist/Form/FormRadioGroup/FormRadio.cjs +1 -0
  58. package/dist/Form/FormRadioGroup/FormRadio.js +63 -0
  59. package/dist/Form/FormSelect/FormSelect.cjs +1 -0
  60. package/dist/Form/FormSelect/FormSelect.js +30 -0
  61. package/dist/Modal.cjs +1 -0
  62. package/dist/Modal.js +120 -0
  63. package/dist/MultiSelect/MultiSelect.cjs +1 -0
  64. package/dist/MultiSelect/MultiSelect.js +199 -0
  65. package/dist/MultiSelect/renderers.cjs +1 -0
  66. package/dist/MultiSelect/renderers.js +367 -0
  67. package/dist/MultiSelect/useMultiSelect.cjs +1 -0
  68. package/dist/MultiSelect/useMultiSelect.js +163 -0
  69. package/dist/Select/BaseSelect.cjs +1 -0
  70. package/dist/Select/BaseSelect.js +222 -0
  71. package/dist/Select/MultiSelectTags.cjs +1 -0
  72. package/dist/Select/MultiSelectTags.js +101 -0
  73. package/dist/Typography/Blockquote.cjs +1 -0
  74. package/dist/Typography/Blockquote.js +75 -0
  75. package/dist/Typography/Code.cjs +1 -0
  76. package/dist/Typography/Code.js +123 -0
  77. package/dist/Typography/Link.cjs +1 -0
  78. package/dist/Typography/Link.js +128 -0
  79. package/dist/Typography/Paragraph.cjs +1 -0
  80. package/dist/Typography/Paragraph.js +212 -0
  81. package/dist/Typography/Text.cjs +1 -0
  82. package/dist/Typography/Text.js +205 -0
  83. package/dist/Typography/Title.cjs +1 -0
  84. package/dist/Typography/Title.d.ts.map +1 -1
  85. package/dist/Typography/Title.js +199 -0
  86. package/dist/Typography/Typography.cjs +1 -0
  87. package/dist/Typography/Typography.js +16 -0
  88. package/dist/Typography/index.d.ts +1 -0
  89. package/dist/Typography/index.d.ts.map +1 -1
  90. package/dist/Typography/index.js +13 -0
  91. package/dist/Typography/tooltip.cjs +1 -0
  92. package/dist/Typography/tooltip.js +18 -0
  93. package/dist/Typography/utils.cjs +1 -0
  94. package/dist/Typography/utils.js +24 -0
  95. package/dist/Typography/weightStyles.cjs +1 -0
  96. package/dist/assets/stylex.css +333 -274
  97. package/dist/astryx.cjs +1 -0
  98. package/dist/astryx.d.ts +3 -0
  99. package/dist/astryx.d.ts.map +1 -0
  100. package/dist/astryx.js +2 -0
  101. package/dist/index.cjs +1 -1
  102. package/dist/index.d.ts +2 -0
  103. package/dist/index.d.ts.map +1 -1
  104. package/dist/index.js +118 -111
  105. package/dist/layout/Box.cjs +1 -0
  106. package/dist/layout/Box.d.ts +19 -0
  107. package/dist/layout/Box.d.ts.map +1 -0
  108. package/dist/layout/Box.js +112 -0
  109. package/dist/layout/Center.cjs +1 -0
  110. package/dist/layout/Center.d.ts +9 -0
  111. package/dist/layout/Center.d.ts.map +1 -0
  112. package/dist/layout/Center.js +22 -0
  113. package/dist/layout/Container.cjs +1 -0
  114. package/dist/layout/Container.d.ts +17 -0
  115. package/dist/layout/Container.d.ts.map +1 -0
  116. package/dist/layout/Container.js +75 -0
  117. package/dist/layout/Stack.cjs +1 -0
  118. package/dist/layout/Stack.d.ts +26 -0
  119. package/dist/layout/Stack.d.ts.map +1 -0
  120. package/dist/layout/Stack.js +89 -0
  121. package/dist/layout/index.d.ts +6 -1
  122. package/dist/layout/index.d.ts.map +1 -1
  123. package/dist/layout/index.js +9 -0
  124. package/dist/node_modules/.pnpm/@floating-ui_core@1.8.0/node_modules/@floating-ui/core/dist/floating-ui.core.cjs +1 -0
  125. package/dist/node_modules/.pnpm/@floating-ui_core@1.8.0/node_modules/@floating-ui/core/dist/floating-ui.core.js +336 -0
  126. package/dist/node_modules/.pnpm/@floating-ui_dom@1.8.0/node_modules/@floating-ui/dom/dist/floating-ui.dom.cjs +1 -0
  127. package/dist/node_modules/.pnpm/@floating-ui_dom@1.8.0/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +321 -0
  128. package/dist/node_modules/.pnpm/@floating-ui_react-dom@2.1.9_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.cjs +1 -0
  129. package/dist/node_modules/.pnpm/@floating-ui_react-dom@2.1.9_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +211 -0
  130. package/dist/node_modules/.pnpm/@radix-ui_react-alert-dialog@1.1.23_@types_react-dom@19.3.0_@types_react@19.3.0__@types_023ac3f94ac95798b92bc4b7f556cbda/node_modules/@radix-ui/react-alert-dialog/dist/index.cjs +1 -0
  131. package/dist/node_modules/.pnpm/@radix-ui_react-alert-dialog@1.1.23_@types_react-dom@19.3.0_@types_react@19.3.0__@types_023ac3f94ac95798b92bc4b7f556cbda/node_modules/@radix-ui/react-alert-dialog/dist/index.js +87 -0
  132. package/dist/node_modules/.pnpm/@radix-ui_react-aspect-ratio@1.1.15_@types_react-dom@19.3.0_@types_react@19.3.0__@types_3fe40fa8e2833eaf8803b46e02e4c30f/node_modules/@radix-ui/react-aspect-ratio/dist/index.cjs +1 -0
  133. package/dist/node_modules/.pnpm/@radix-ui_react-aspect-ratio@1.1.15_@types_react-dom@19.3.0_@types_react@19.3.0__@types_3fe40fa8e2833eaf8803b46e02e4c30f/node_modules/@radix-ui/react-aspect-ratio/dist/index.js +31 -0
  134. package/dist/node_modules/.pnpm/@radix-ui_react-avatar@1.2.6_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@_c3568bdf5c60d38014d320037c857c95/node_modules/@radix-ui/react-avatar/dist/index.cjs +1 -0
  135. package/dist/node_modules/.pnpm/@radix-ui_react-avatar@1.2.6_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@_c3568bdf5c60d38014d320037c857c95/node_modules/@radix-ui/react-avatar/dist/index.js +87 -0
  136. package/dist/node_modules/.pnpm/@radix-ui_react-collapsible@1.1.20_@types_react-dom@19.3.0_@types_react@19.3.0__@types__75f9b408b6aa016f78c6c390e6f84227/node_modules/@radix-ui/react-collapsible/dist/index.cjs +1 -0
  137. package/dist/node_modules/.pnpm/@radix-ui_react-collapsible@1.1.20_@types_react-dom@19.3.0_@types_react@19.3.0__@types__75f9b408b6aa016f78c6c390e6f84227/node_modules/@radix-ui/react-collapsible/dist/index.js +94 -0
  138. package/dist/node_modules/.pnpm/@radix-ui_react-collection@1.1.15_@types_react-dom@19.3.0_@types_react@19.3.0__@types_r_5961dc5beb3cb19a205dfdbd3304cbe5/node_modules/@radix-ui/react-collection/dist/index.cjs +1 -0
  139. package/dist/node_modules/.pnpm/@radix-ui_react-collection@1.1.15_@types_react-dom@19.3.0_@types_react@19.3.0__@types_r_5961dc5beb3cb19a205dfdbd3304cbe5/node_modules/@radix-ui/react-collection/dist/index.js +409 -0
  140. package/dist/node_modules/.pnpm/@radix-ui_react-compose-refs@1.1.5_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-compose-refs/dist/index.cjs +1 -0
  141. package/dist/node_modules/.pnpm/@radix-ui_react-context-menu@2.3.7_@types_react-dom@19.3.0_@types_react@19.3.0__@types__30d9c1a1570dd32a7a328fd93feebae9/node_modules/@radix-ui/react-context-menu/dist/index.cjs +1 -0
  142. package/dist/node_modules/.pnpm/@radix-ui_react-context-menu@2.3.7_@types_react-dom@19.3.0_@types_react@19.3.0__@types__30d9c1a1570dd32a7a328fd93feebae9/node_modules/@radix-ui/react-context-menu/dist/index.js +198 -0
  143. package/dist/node_modules/.pnpm/@radix-ui_react-context@1.2.2_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-context/dist/index.cjs +1 -0
  144. package/dist/node_modules/.pnpm/@radix-ui_react-direction@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-direction/dist/index.cjs +1 -0
  145. package/dist/node_modules/.pnpm/@radix-ui_react-direction@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-direction/dist/index.js +14 -0
  146. package/dist/node_modules/.pnpm/@radix-ui_react-dismissable-layer@1.1.19_@types_react-dom@19.3.0_@types_react@19.3.0__@_221317ca07dfdaa6590fc49e548d4242/node_modules/@radix-ui/react-dismissable-layer/dist/index.cjs +1 -0
  147. package/dist/node_modules/.pnpm/@radix-ui_react-dismissable-layer@1.1.19_@types_react-dom@19.3.0_@types_react@19.3.0__@_221317ca07dfdaa6590fc49e548d4242/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +170 -0
  148. package/dist/node_modules/.pnpm/@radix-ui_react-focus-guards@1.1.6_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-focus-guards/dist/index.cjs +1 -0
  149. package/dist/node_modules/.pnpm/@radix-ui_react-focus-scope@1.1.16_@types_react-dom@19.3.0_@types_react@19.3.0__@types__3593711fa410ee31279d746c57990974/node_modules/@radix-ui/react-focus-scope/dist/index.cjs +1 -0
  150. package/dist/node_modules/.pnpm/@radix-ui_react-focus-scope@1.1.16_@types_react-dom@19.3.0_@types_react@19.3.0__@types__3593711fa410ee31279d746c57990974/node_modules/@radix-ui/react-focus-scope/dist/index.js +158 -0
  151. package/dist/node_modules/.pnpm/@radix-ui_react-hover-card@1.1.23_@types_react-dom@19.3.0_@types_react@19.3.0__@types_r_a8ac333b78a7741970303e37358b886d/node_modules/@radix-ui/react-hover-card/dist/index.cjs +1 -0
  152. package/dist/node_modules/.pnpm/@radix-ui_react-hover-card@1.1.23_@types_react-dom@19.3.0_@types_react@19.3.0__@types_r_a8ac333b78a7741970303e37358b886d/node_modules/@radix-ui/react-hover-card/dist/index.js +149 -0
  153. package/dist/node_modules/.pnpm/@radix-ui_react-id@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-id/dist/index.cjs +1 -0
  154. package/dist/node_modules/.pnpm/@radix-ui_react-id@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-id/dist/index.js +15 -0
  155. package/dist/node_modules/.pnpm/@radix-ui_react-menu@2.1.24_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@1_bd1746795e703f342b2f4982589d4efb/node_modules/@radix-ui/react-menu/dist/index.cjs +1 -0
  156. package/dist/node_modules/.pnpm/@radix-ui_react-menu@2.1.24_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@1_bd1746795e703f342b2f4982589d4efb/node_modules/@radix-ui/react-menu/dist/index.js +543 -0
  157. package/dist/node_modules/.pnpm/@radix-ui_react-menubar@1.1.24_@types_react-dom@19.3.0_@types_react@19.3.0__@types_reac_b8d55f7c7c6b477421e3cc1ba6fb334b/node_modules/@radix-ui/react-menubar/dist/index.cjs +1 -0
  158. package/dist/node_modules/.pnpm/@radix-ui_react-menubar@1.1.24_@types_react-dom@19.3.0_@types_react@19.3.0__@types_reac_b8d55f7c7c6b477421e3cc1ba6fb334b/node_modules/@radix-ui/react-menubar/dist/index.js +275 -0
  159. package/dist/node_modules/.pnpm/@radix-ui_react-navigation-menu@1.2.22_@types_react-dom@19.3.0_@types_react@19.3.0__@ty_fde94e4aef42debd49119dde2ad3b250/node_modules/@radix-ui/react-navigation-menu/dist/index.cjs +1 -0
  160. package/dist/node_modules/.pnpm/@radix-ui_react-navigation-menu@1.2.22_@types_react-dom@19.3.0_@types_react@19.3.0__@ty_fde94e4aef42debd49119dde2ad3b250/node_modules/@radix-ui/react-navigation-menu/dist/index.js +537 -0
  161. package/dist/node_modules/.pnpm/@radix-ui_react-popper@1.3.7_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@_ca4fb1e7b10e21399fbf7b38c61d930c/node_modules/@radix-ui/react-popper/dist/index.cjs +1 -0
  162. package/dist/node_modules/.pnpm/@radix-ui_react-popper@1.3.7_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@_ca4fb1e7b10e21399fbf7b38c61d930c/node_modules/@radix-ui/react-popper/dist/index.js +163 -0
  163. package/dist/node_modules/.pnpm/@radix-ui_react-portal@1.1.17_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react_dcf9598b366f9d4cb930092169158fb6/node_modules/@radix-ui/react-portal/dist/index.cjs +1 -0
  164. package/dist/node_modules/.pnpm/@radix-ui_react-portal@1.1.17_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react_dcf9598b366f9d4cb930092169158fb6/node_modules/@radix-ui/react-portal/dist/index.js +20 -0
  165. package/dist/node_modules/.pnpm/@radix-ui_react-presence@1.1.10_@types_react-dom@19.3.0_@types_react@19.3.0__@types_rea_d7b4951725c0f0b9fd732151cb937913/node_modules/@radix-ui/react-presence/dist/index.cjs +1 -0
  166. package/dist/node_modules/.pnpm/@radix-ui_react-presence@1.1.10_@types_react-dom@19.3.0_@types_react@19.3.0__@types_rea_d7b4951725c0f0b9fd732151cb937913/node_modules/@radix-ui/react-presence/dist/index.js +97 -0
  167. package/dist/node_modules/.pnpm/@radix-ui_react-primitive@2.1.10_@types_react-dom@19.3.0_@types_react@19.3.0__@types_re_b879c40dbdb8ea08e1db9842f10f20a8/node_modules/@radix-ui/react-primitive/dist/index.cjs +1 -0
  168. package/dist/node_modules/.pnpm/@radix-ui_react-roving-focus@1.1.19_@types_react-dom@19.3.0_@types_react@19.3.0__@types_43a41e6ed06e4781ce7b1fb0f0076623/node_modules/@radix-ui/react-roving-focus/dist/index.cjs +1 -0
  169. package/dist/node_modules/.pnpm/@radix-ui_react-roving-focus@1.1.19_@types_react-dom@19.3.0_@types_react@19.3.0__@types_43a41e6ed06e4781ce7b1fb0f0076623/node_modules/@radix-ui/react-roving-focus/dist/index.js +168 -0
  170. package/dist/node_modules/.pnpm/@radix-ui_react-slider@1.4.7_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@_0a49b18268a9d1d70ad7e785633a1513/node_modules/@radix-ui/react-slider/dist/index.cjs +1 -0
  171. package/dist/node_modules/.pnpm/@radix-ui_react-slider@1.4.7_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@_0a49b18268a9d1d70ad7e785633a1513/node_modules/@radix-ui/react-slider/dist/index.js +431 -0
  172. package/dist/node_modules/.pnpm/@radix-ui_react-switch@1.3.7_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@_f8723a7bd506c0f648804ec2dc0f18e3/node_modules/@radix-ui/react-switch/dist/index.cjs +1 -0
  173. package/dist/node_modules/.pnpm/@radix-ui_react-switch@1.3.7_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@_f8723a7bd506c0f648804ec2dc0f18e3/node_modules/@radix-ui/react-switch/dist/index.js +155 -0
  174. package/dist/node_modules/.pnpm/@radix-ui_react-tabs@1.1.21_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@1_2c04ca1fb5fd914a25ee24a303bd8469/node_modules/@radix-ui/react-tabs/dist/index.cjs +1 -0
  175. package/dist/node_modules/.pnpm/@radix-ui_react-tabs@1.1.21_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@1_2c04ca1fb5fd914a25ee24a303bd8469/node_modules/@radix-ui/react-tabs/dist/index.js +117 -0
  176. package/dist/node_modules/.pnpm/@radix-ui_react-toggle-group@1.1.19_@types_react-dom@19.3.0_@types_react@19.3.0__@types_e645c0ca626436d86b14232bd158d09b/node_modules/@radix-ui/react-toggle-group/dist/index.cjs +1 -0
  177. package/dist/node_modules/.pnpm/@radix-ui_react-toggle-group@1.1.19_@types_react-dom@19.3.0_@types_react@19.3.0__@types_e645c0ca626436d86b14232bd158d09b/node_modules/@radix-ui/react-toggle-group/dist/index.js +122 -0
  178. package/dist/node_modules/.pnpm/@radix-ui_react-toggle@1.1.18_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react_f121473145ec675e8ab50657e8e97e06/node_modules/@radix-ui/react-toggle/dist/index.cjs +1 -0
  179. package/dist/node_modules/.pnpm/@radix-ui_react-toggle@1.1.18_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react_f121473145ec675e8ab50657e8e97e06/node_modules/@radix-ui/react-toggle/dist/index.js +30 -0
  180. package/dist/node_modules/.pnpm/@radix-ui_react-use-callback-ref@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-callback-ref/dist/index.cjs +1 -0
  181. package/dist/node_modules/.pnpm/@radix-ui_react-use-controllable-state@1.2.6_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-controllable-state/dist/index.cjs +1 -0
  182. package/dist/node_modules/.pnpm/@radix-ui_react-use-controllable-state@1.2.6_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-controllable-state/dist/index.js +82 -0
  183. package/dist/node_modules/.pnpm/@radix-ui_react-use-effect-event@0.0.5_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-effect-event/dist/index.cjs +1 -0
  184. package/dist/node_modules/.pnpm/@radix-ui_react-use-effect-event@0.0.5_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-effect-event/dist/index.js +20 -0
  185. package/dist/node_modules/.pnpm/@radix-ui_react-use-is-hydrated@0.1.3_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-is-hydrated/dist/index.cjs +1 -0
  186. package/dist/node_modules/.pnpm/@radix-ui_react-use-layout-effect@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-layout-effect/dist/index.cjs +1 -0
  187. package/dist/node_modules/.pnpm/@radix-ui_react-use-previous@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-previous/dist/index.cjs +1 -0
  188. package/dist/node_modules/.pnpm/@radix-ui_react-use-size@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-size/dist/index.cjs +1 -0
  189. package/dist/node_modules/.pnpm/@radix-ui_react-use-size@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-size/dist/index.js +34 -0
  190. package/dist/node_modules/.pnpm/@radix-ui_react-visually-hidden@1.2.11_@types_react-dom@19.3.0_@types_react@19.3.0__@ty_ef452cff5863a129db7ebc4b37ab07c3/node_modules/@radix-ui/react-visually-hidden/dist/index.cjs +1 -0
  191. package/dist/node_modules/.pnpm/@radix-ui_react-visually-hidden@1.2.11_@types_react-dom@19.3.0_@types_react@19.3.0__@ty_ef452cff5863a129db7ebc4b37ab07c3/node_modules/@radix-ui/react-visually-hidden/dist/index.js +29 -0
  192. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/format/formatters.cjs +1 -0
  193. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/format/formatters.js +388 -0
  194. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/format/lightFormatters.cjs +1 -0
  195. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/format/lightFormatters.js +42 -0
  196. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.cjs +1 -0
  197. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js +7 -0
  198. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/normalizeDates.cjs +1 -0
  199. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/normalizeDates.js +7 -0
  200. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/constructFrom.cjs +1 -0
  201. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/constructFrom.js +6 -0
  202. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/differenceInCalendarDays.cjs +1 -0
  203. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/differenceInCalendarDays.js +10 -0
  204. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/format.cjs +1 -0
  205. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/format.js +58 -0
  206. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getDayOfYear.cjs +1 -0
  207. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getDayOfYear.js +9 -0
  208. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getISOWeek.cjs +1 -0
  209. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getISOWeek.js +10 -0
  210. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getISOWeekYear.cjs +1 -0
  211. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getISOWeekYear.js +13 -0
  212. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getWeek.cjs +1 -0
  213. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getWeek.js +10 -0
  214. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getWeekYear.cjs +1 -0
  215. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getWeekYear.js +14 -0
  216. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/isValid.cjs +1 -0
  217. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/isValid.js +7 -0
  218. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatLong.cjs +1 -0
  219. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatLong.js +31 -0
  220. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/localize.cjs +1 -0
  221. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/localize.js +201 -0
  222. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/match.cjs +1 -0
  223. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/match.js +123 -0
  224. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US.cjs +1 -0
  225. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US.js +19 -0
  226. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfDay.cjs +1 -0
  227. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfDay.js +7 -0
  228. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfISOWeek.cjs +1 -0
  229. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfISOWeek.js +9 -0
  230. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfISOWeekYear.cjs +1 -0
  231. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfISOWeekYear.js +9 -0
  232. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfWeek.cjs +1 -0
  233. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfWeek.js +8 -0
  234. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfWeekYear.cjs +1 -0
  235. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfWeekYear.js +10 -0
  236. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfYear.cjs +1 -0
  237. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfYear.js +7 -0
  238. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/toDate.cjs +1 -0
  239. package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/toDate.js +6 -0
  240. package/dist/node_modules/.pnpm/embla-carousel-react@8.6.0_react@19.3.1/node_modules/embla-carousel-react/esm/embla-carousel-react.esm.cjs +1 -0
  241. package/dist/node_modules/.pnpm/embla-carousel-react@8.6.0_react@19.3.1/node_modules/embla-carousel-react/esm/embla-carousel-react.esm.js +23 -0
  242. package/dist/node_modules/.pnpm/input-otp@1.4.2_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/input-otp/dist/index.cjs +20 -0
  243. package/dist/node_modules/.pnpm/react-hook-form@7.83.0_react@19.3.1/node_modules/react-hook-form/dist/index.esm.cjs +1 -0
  244. package/dist/node_modules/.pnpm/react-number-format@5.4.5_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/react-number-format/dist/react-number-format.es.cjs +9 -0
  245. package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll-bar/dist/es2015/component.cjs +38 -0
  246. package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll-bar/dist/es2015/component.js +69 -0
  247. package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll-bar/dist/es2015/index.cjs +1 -0
  248. package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll-bar/dist/es2015/index.js +3 -0
  249. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/Combination.cjs +1 -0
  250. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/Combination.js +13 -0
  251. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/SideEffect.cjs +4 -0
  252. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/SideEffect.js +112 -0
  253. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/UI.cjs +1 -0
  254. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/UI.js +51 -0
  255. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/medium.cjs +1 -0
  256. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/medium.js +4 -0
  257. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/sidecar.cjs +1 -0
  258. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/sidecar.js +6 -0
  259. package/dist/node_modules/.pnpm/react-resizable-panels@2.1.9_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/react-resizable-panels/dist/react-resizable-panels.browser.esm.cjs +1 -0
  260. package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.3.0_react@19.3.1/node_modules/react-style-singleton/dist/es2015/component.cjs +1 -0
  261. package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.3.0_react@19.3.1/node_modules/react-style-singleton/dist/es2015/component.js +10 -0
  262. package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.3.0_react@19.3.1/node_modules/react-style-singleton/dist/es2015/hook.cjs +1 -0
  263. package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.3.0_react@19.3.1/node_modules/react-style-singleton/dist/es2015/hook.js +14 -0
  264. package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.3.0_react@19.3.1/node_modules/react-style-singleton/dist/es2015/index.cjs +1 -0
  265. package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.3.0_react@19.3.1/node_modules/react-style-singleton/dist/es2015/index.js +3 -0
  266. package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.3.0_react@19.3.1/node_modules/react-style-singleton/dist/es2015/singleton.cjs +1 -0
  267. package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.3.0_react@19.3.1/node_modules/react-style-singleton/dist/es2015/singleton.js +27 -0
  268. package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.3.0_react@19.3.1/node_modules/use-callback-ref/dist/es2015/useMergeRef.cjs +1 -0
  269. package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.3.0_react@19.3.1/node_modules/use-callback-ref/dist/es2015/useMergeRef.js +25 -0
  270. package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@19.3.0_react@19.3.1/node_modules/use-sidecar/dist/es2015/exports.cjs +1 -0
  271. package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@19.3.0_react@19.3.1/node_modules/use-sidecar/dist/es2015/exports.js +15 -0
  272. package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@19.3.0_react@19.3.1/node_modules/use-sidecar/dist/es2015/medium.cjs +1 -0
  273. package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@19.3.0_react@19.3.1/node_modules/use-sidecar/dist/es2015/medium.js +68 -0
  274. package/dist/node_modules/.pnpm/vaul@1.1.2_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@19.3.0_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/vaul/dist/index.cjs +3 -0
  275. package/dist/richtext/index.d.ts +2 -0
  276. package/dist/richtext/index.d.ts.map +1 -0
  277. package/dist/theme/index.cjs +1 -0
  278. package/dist/theme/index.js +34 -0
  279. package/dist/theme/tokens.stylex.cjs +1 -0
  280. package/dist/theme/tokens.stylex.d.ts +175 -5
  281. package/dist/theme/tokens.stylex.d.ts.map +1 -1
  282. package/dist/theme/tokens.stylex.js +166 -0
  283. package/dist/theme/zIndex.cjs +1 -0
  284. package/dist/theme.css +52 -138
  285. package/dist/ui/accordion.cjs +1 -0
  286. package/dist/ui/accordion.js +286 -0
  287. package/dist/ui/action-bar.cjs +1 -0
  288. package/dist/ui/action-bar.js +161 -0
  289. package/dist/ui/alert-dialog.cjs +1 -0
  290. package/dist/ui/alert-dialog.js +234 -0
  291. package/dist/ui/alert.cjs +1 -0
  292. package/dist/ui/alert.js +97 -0
  293. package/dist/ui/aspect-ratio.cjs +1 -0
  294. package/dist/ui/aspect-ratio.js +15 -0
  295. package/dist/ui/avatar.cjs +1 -0
  296. package/dist/ui/avatar.js +224 -0
  297. package/dist/ui/badge-overflow.cjs +1 -0
  298. package/dist/ui/badge-overflow.js +57 -0
  299. package/dist/ui/badge.cjs +1 -0
  300. package/dist/ui/badge.d.ts +2 -0
  301. package/dist/ui/badge.d.ts.map +1 -1
  302. package/dist/ui/badge.js +146 -0
  303. package/dist/ui/breadcrumb.cjs +1 -0
  304. package/dist/ui/breadcrumb.js +273 -0
  305. package/dist/ui/button.cjs +1 -0
  306. package/dist/ui/button.d.ts +2 -0
  307. package/dist/ui/button.d.ts.map +1 -1
  308. package/dist/ui/button.js +372 -0
  309. package/dist/ui/calendar.cjs +1 -0
  310. package/dist/ui/calendar.js +506 -0
  311. package/dist/ui/card.cjs +1 -0
  312. package/dist/ui/card.js +211 -0
  313. package/dist/ui/carousel.cjs +1 -0
  314. package/dist/ui/carousel.js +208 -0
  315. package/dist/ui/checkbox.cjs +1 -0
  316. package/dist/ui/checkbox.js +157 -0
  317. package/dist/ui/circular-progress.cjs +1 -0
  318. package/dist/ui/circular-progress.js +124 -0
  319. package/dist/ui/collapsible.cjs +1 -0
  320. package/dist/ui/collapsible.js +33 -0
  321. package/dist/ui/command.cjs +1 -0
  322. package/dist/ui/command.js +277 -0
  323. package/dist/ui/compare-slider.cjs +1 -0
  324. package/dist/ui/compare-slider.js +134 -0
  325. package/dist/ui/context-menu.cjs +1 -0
  326. package/dist/ui/context-menu.js +330 -0
  327. package/dist/ui/copy-button.cjs +1 -0
  328. package/dist/ui/copy-button.d.ts.map +1 -1
  329. package/dist/ui/copy-button.js +80 -0
  330. package/dist/ui/dialog.cjs +1 -0
  331. package/dist/ui/dialog.js +212 -0
  332. package/dist/ui/drawer.cjs +1 -0
  333. package/dist/ui/drawer.js +222 -0
  334. package/dist/ui/dropdown-menu.cjs +1 -0
  335. package/dist/ui/dropdown-menu.js +319 -0
  336. package/dist/ui/editable.cjs +1 -0
  337. package/dist/ui/editable.js +339 -0
  338. package/dist/ui/empty.cjs +1 -0
  339. package/dist/ui/empty.js +134 -0
  340. package/dist/ui/field.cjs +1 -0
  341. package/dist/ui/field.d.ts +2 -0
  342. package/dist/ui/field.d.ts.map +1 -1
  343. package/dist/ui/field.js +316 -0
  344. package/dist/ui/file-upload-adapters.cjs +1 -0
  345. package/dist/ui/file-upload.cjs +1 -0
  346. package/dist/ui/file-upload.js +997 -0
  347. package/dist/ui/flex.cjs +1 -0
  348. package/dist/ui/flex.js +182 -0
  349. package/dist/ui/form.cjs +1 -0
  350. package/dist/ui/form.js +159 -0
  351. package/dist/ui/gauge.cjs +1 -0
  352. package/dist/ui/gauge.js +116 -0
  353. package/dist/ui/grid.cjs +1 -0
  354. package/dist/ui/grid.js +190 -0
  355. package/dist/ui/hover-card.cjs +1 -0
  356. package/dist/ui/hover-card.js +61 -0
  357. package/dist/ui/input-group.cjs +1 -0
  358. package/dist/ui/input-group.js +219 -0
  359. package/dist/ui/input-otp.cjs +1 -0
  360. package/dist/ui/input-otp.js +184 -0
  361. package/dist/ui/input.cjs +1 -0
  362. package/dist/ui/input.js +368 -0
  363. package/dist/ui/item.cjs +1 -0
  364. package/dist/ui/item.js +276 -0
  365. package/dist/ui/kbd.cjs +1 -0
  366. package/dist/ui/kbd.js +107 -0
  367. package/dist/ui/label.cjs +1 -0
  368. package/dist/ui/masonry.cjs +1 -0
  369. package/dist/ui/masonry.js +51 -0
  370. package/dist/ui/menubar.cjs +1 -0
  371. package/dist/ui/menubar.js +405 -0
  372. package/dist/ui/navigation-menu.cjs +1 -0
  373. package/dist/ui/navigation-menu.js +256 -0
  374. package/dist/ui/pagination.cjs +1 -0
  375. package/dist/ui/pagination.js +317 -0
  376. package/dist/ui/popover.cjs +1 -0
  377. package/dist/ui/popover.js +69 -0
  378. package/dist/ui/progress.cjs +1 -0
  379. package/dist/ui/progress.js +29 -0
  380. package/dist/ui/radio-group.cjs +1 -0
  381. package/dist/ui/radio-group.js +167 -0
  382. package/dist/ui/rating.cjs +1 -0
  383. package/dist/ui/rating.js +171 -0
  384. package/dist/ui/resizable.cjs +1 -0
  385. package/dist/ui/resizable.js +75 -0
  386. package/dist/ui/responsive-dialog.cjs +1 -0
  387. package/dist/ui/responsive-dialog.js +175 -0
  388. package/dist/ui/row-col.cjs +1 -0
  389. package/dist/ui/row-col.js +471 -0
  390. package/dist/ui/scroll-area.cjs +1 -0
  391. package/dist/ui/scroll-area.js +83 -0
  392. package/dist/ui/segmented.cjs +1 -0
  393. package/dist/ui/segmented.js +155 -0
  394. package/dist/ui/select.cjs +1 -0
  395. package/dist/ui/select.js +280 -0
  396. package/dist/ui/separator.cjs +1 -0
  397. package/dist/ui/separator.d.ts +2 -0
  398. package/dist/ui/separator.d.ts.map +1 -1
  399. package/dist/ui/separator.js +36 -0
  400. package/dist/ui/sheet.cjs +1 -0
  401. package/dist/ui/sheet.js +263 -0
  402. package/dist/ui/sidebar.cjs +1 -0
  403. package/dist/ui/sidebar.js +808 -0
  404. package/dist/ui/skeleton.cjs +1 -0
  405. package/dist/ui/skeleton.js +30 -0
  406. package/dist/ui/slider.cjs +1 -0
  407. package/dist/ui/slider.js +44 -0
  408. package/dist/ui/sonner.cjs +1 -0
  409. package/dist/ui/sonner.d.ts +1 -1
  410. package/dist/ui/sonner.d.ts.map +1 -1
  411. package/dist/ui/sonner.js +24 -0
  412. package/dist/ui/spinner.cjs +1 -0
  413. package/dist/ui/stat.cjs +1 -0
  414. package/dist/ui/stat.js +185 -0
  415. package/dist/ui/stepper.cjs +1 -0
  416. package/dist/ui/stepper.js +459 -0
  417. package/dist/ui/switch.cjs +1 -0
  418. package/dist/ui/switch.js +190 -0
  419. package/dist/ui/table.cjs +1 -0
  420. package/dist/ui/tabs.cjs +1 -0
  421. package/dist/ui/tabs.js +226 -0
  422. package/dist/ui/tags-input.cjs +1 -0
  423. package/dist/ui/tags-input.js +353 -0
  424. package/dist/ui/textarea.cjs +1 -0
  425. package/dist/ui/textarea.js +113 -0
  426. package/dist/ui/timeline.cjs +1 -0
  427. package/dist/ui/timeline.js +361 -0
  428. package/dist/ui/toggle-group.cjs +1 -0
  429. package/dist/ui/toggle-group.js +74 -0
  430. package/dist/ui/toggle.cjs +1 -0
  431. package/dist/ui/toggle.d.ts +1 -1
  432. package/dist/ui/toggle.js +136 -0
  433. package/dist/ui/tooltip.cjs +1 -0
  434. package/dist/ui/tooltip.js +63 -0
  435. package/dist/ui/useBreakpoint.cjs +1 -0
  436. package/dist/utils.cjs +1 -0
  437. package/dist/utils.d.ts.map +1 -1
  438. package/dist/utils.js +7 -0
  439. package/dist/vlrc-theme.css +316 -0
  440. package/package.json +51 -52
  441. package/dist/index10.cjs +0 -1
  442. package/dist/index10.js +0 -18
  443. package/dist/index100.cjs +0 -1
  444. package/dist/index100.js +0 -13
  445. package/dist/index101.cjs +0 -1
  446. package/dist/index101.js +0 -543
  447. package/dist/index102.cjs +0 -1
  448. package/dist/index102.js +0 -198
  449. package/dist/index103.cjs +0 -1
  450. package/dist/index103.js +0 -330
  451. package/dist/index104.cjs +0 -1
  452. package/dist/index104.js +0 -80
  453. package/dist/index105.cjs +0 -3
  454. package/dist/index106.cjs +0 -1
  455. package/dist/index106.js +0 -222
  456. package/dist/index107.cjs +0 -1
  457. package/dist/index107.js +0 -319
  458. package/dist/index108.cjs +0 -1
  459. package/dist/index108.js +0 -339
  460. package/dist/index109.cjs +0 -1
  461. package/dist/index109.js +0 -134
  462. package/dist/index11.cjs +0 -1
  463. package/dist/index110.cjs +0 -1
  464. package/dist/index111.cjs +0 -1
  465. package/dist/index111.js +0 -35
  466. package/dist/index112.cjs +0 -1
  467. package/dist/index112.js +0 -315
  468. package/dist/index113.cjs +0 -1
  469. package/dist/index114.cjs +0 -1
  470. package/dist/index114.js +0 -997
  471. package/dist/index115.cjs +0 -1
  472. package/dist/index116.cjs +0 -1
  473. package/dist/index116.js +0 -159
  474. package/dist/index117.cjs +0 -1
  475. package/dist/index117.js +0 -116
  476. package/dist/index118.cjs +0 -1
  477. package/dist/index119.cjs +0 -1
  478. package/dist/index119.js +0 -471
  479. package/dist/index12.cjs +0 -1
  480. package/dist/index12.js +0 -199
  481. package/dist/index120.cjs +0 -1
  482. package/dist/index120.js +0 -190
  483. package/dist/index121.cjs +0 -1
  484. package/dist/index121.js +0 -149
  485. package/dist/index122.cjs +0 -1
  486. package/dist/index122.js +0 -61
  487. package/dist/index123.cjs +0 -1
  488. package/dist/index123.js +0 -368
  489. package/dist/index124.cjs +0 -1
  490. package/dist/index124.js +0 -219
  491. package/dist/index125.cjs +0 -20
  492. package/dist/index126.cjs +0 -1
  493. package/dist/index126.js +0 -184
  494. package/dist/index127.cjs +0 -1
  495. package/dist/index127.js +0 -276
  496. package/dist/index128.cjs +0 -1
  497. package/dist/index128.js +0 -51
  498. package/dist/index129.cjs +0 -1
  499. package/dist/index129.js +0 -275
  500. package/dist/index13.cjs +0 -1
  501. package/dist/index13.js +0 -212
  502. package/dist/index130.cjs +0 -1
  503. package/dist/index130.js +0 -405
  504. package/dist/index131.cjs +0 -1
  505. package/dist/index132.cjs +0 -1
  506. package/dist/index132.js +0 -29
  507. package/dist/index133.cjs +0 -1
  508. package/dist/index133.js +0 -537
  509. package/dist/index134.cjs +0 -1
  510. package/dist/index134.js +0 -256
  511. package/dist/index135.cjs +0 -1
  512. package/dist/index135.js +0 -317
  513. package/dist/index136.cjs +0 -1
  514. package/dist/index136.js +0 -29
  515. package/dist/index137.cjs +0 -1
  516. package/dist/index137.js +0 -167
  517. package/dist/index138.cjs +0 -1
  518. package/dist/index138.js +0 -171
  519. package/dist/index139.cjs +0 -1
  520. package/dist/index14.cjs +0 -1
  521. package/dist/index14.js +0 -205
  522. package/dist/index140.cjs +0 -1
  523. package/dist/index140.js +0 -75
  524. package/dist/index141.cjs +0 -1
  525. package/dist/index141.js +0 -175
  526. package/dist/index142.cjs +0 -1
  527. package/dist/index142.js +0 -83
  528. package/dist/index143.cjs +0 -1
  529. package/dist/index143.js +0 -155
  530. package/dist/index144.cjs +0 -1
  531. package/dist/index144.js +0 -280
  532. package/dist/index145.cjs +0 -1
  533. package/dist/index145.js +0 -263
  534. package/dist/index146.cjs +0 -1
  535. package/dist/index146.js +0 -30
  536. package/dist/index147.cjs +0 -1
  537. package/dist/index147.js +0 -808
  538. package/dist/index149.cjs +0 -1
  539. package/dist/index149.js +0 -431
  540. package/dist/index15.cjs +0 -1
  541. package/dist/index15.js +0 -128
  542. package/dist/index150.cjs +0 -1
  543. package/dist/index150.js +0 -44
  544. package/dist/index151.cjs +0 -1
  545. package/dist/index151.js +0 -28
  546. package/dist/index152.cjs +0 -1
  547. package/dist/index153.cjs +0 -1
  548. package/dist/index153.js +0 -185
  549. package/dist/index154.cjs +0 -1
  550. package/dist/index154.js +0 -459
  551. package/dist/index155.cjs +0 -1
  552. package/dist/index155.js +0 -155
  553. package/dist/index156.cjs +0 -1
  554. package/dist/index156.js +0 -190
  555. package/dist/index157.cjs +0 -1
  556. package/dist/index158.cjs +0 -1
  557. package/dist/index158.js +0 -117
  558. package/dist/index159.cjs +0 -1
  559. package/dist/index159.js +0 -226
  560. package/dist/index16.cjs +0 -1
  561. package/dist/index16.js +0 -75
  562. package/dist/index160.cjs +0 -1
  563. package/dist/index160.js +0 -353
  564. package/dist/index161.cjs +0 -1
  565. package/dist/index161.js +0 -113
  566. package/dist/index162.cjs +0 -1
  567. package/dist/index162.js +0 -361
  568. package/dist/index163.cjs +0 -1
  569. package/dist/index163.js +0 -30
  570. package/dist/index164.cjs +0 -1
  571. package/dist/index164.js +0 -136
  572. package/dist/index165.cjs +0 -1
  573. package/dist/index165.js +0 -122
  574. package/dist/index166.cjs +0 -1
  575. package/dist/index166.js +0 -74
  576. package/dist/index167.cjs +0 -1
  577. package/dist/index167.js +0 -120
  578. package/dist/index169.cjs +0 -1
  579. package/dist/index169.js +0 -101
  580. package/dist/index17.cjs +0 -1
  581. package/dist/index17.js +0 -123
  582. package/dist/index170.cjs +0 -1
  583. package/dist/index170.js +0 -46
  584. package/dist/index171.cjs +0 -1
  585. package/dist/index171.js +0 -48
  586. package/dist/index172.cjs +0 -1
  587. package/dist/index172.js +0 -50
  588. package/dist/index173.cjs +0 -1
  589. package/dist/index174.cjs +0 -1
  590. package/dist/index174.js +0 -159
  591. package/dist/index175.cjs +0 -1
  592. package/dist/index175.js +0 -71
  593. package/dist/index176.cjs +0 -1
  594. package/dist/index176.js +0 -59
  595. package/dist/index177.cjs +0 -1
  596. package/dist/index177.js +0 -226
  597. package/dist/index178.cjs +0 -1
  598. package/dist/index178.js +0 -114
  599. package/dist/index179.cjs +0 -1
  600. package/dist/index179.js +0 -221
  601. package/dist/index18.cjs +0 -1
  602. package/dist/index18.js +0 -16
  603. package/dist/index181.cjs +0 -1
  604. package/dist/index181.js +0 -367
  605. package/dist/index182.cjs +0 -1
  606. package/dist/index182.js +0 -163
  607. package/dist/index183.cjs +0 -1
  608. package/dist/index183.js +0 -199
  609. package/dist/index184.cjs +0 -1
  610. package/dist/index184.js +0 -25
  611. package/dist/index186.cjs +0 -1
  612. package/dist/index186.js +0 -6
  613. package/dist/index187.cjs +0 -1
  614. package/dist/index187.js +0 -6
  615. package/dist/index189.cjs +0 -1
  616. package/dist/index189.js +0 -8
  617. package/dist/index190.cjs +0 -1
  618. package/dist/index190.js +0 -9
  619. package/dist/index191.cjs +0 -1
  620. package/dist/index191.js +0 -13
  621. package/dist/index192.cjs +0 -1
  622. package/dist/index192.js +0 -7
  623. package/dist/index193.cjs +0 -1
  624. package/dist/index193.js +0 -7
  625. package/dist/index194.cjs +0 -1
  626. package/dist/index194.js +0 -7
  627. package/dist/index195.cjs +0 -1
  628. package/dist/index195.js +0 -10
  629. package/dist/index196.cjs +0 -1
  630. package/dist/index196.js +0 -9
  631. package/dist/index198.cjs +0 -1
  632. package/dist/index198.js +0 -7
  633. package/dist/index199.cjs +0 -1
  634. package/dist/index199.js +0 -7
  635. package/dist/index202.cjs +0 -1
  636. package/dist/index202.js +0 -31
  637. package/dist/index205.cjs +0 -1
  638. package/dist/index205.js +0 -201
  639. package/dist/index208.cjs +0 -1
  640. package/dist/index208.js +0 -123
  641. package/dist/index209.cjs +0 -1
  642. package/dist/index209.js +0 -19
  643. package/dist/index21.cjs +0 -1
  644. package/dist/index21.js +0 -29
  645. package/dist/index210.cjs +0 -1
  646. package/dist/index210.js +0 -9
  647. package/dist/index211.cjs +0 -1
  648. package/dist/index211.js +0 -10
  649. package/dist/index212.cjs +0 -1
  650. package/dist/index212.js +0 -14
  651. package/dist/index213.cjs +0 -1
  652. package/dist/index213.js +0 -10
  653. package/dist/index214.cjs +0 -1
  654. package/dist/index214.js +0 -10
  655. package/dist/index216.cjs +0 -1
  656. package/dist/index216.js +0 -42
  657. package/dist/index217.cjs +0 -1
  658. package/dist/index217.js +0 -388
  659. package/dist/index22.cjs +0 -1
  660. package/dist/index22.js +0 -371
  661. package/dist/index220.cjs +0 -1
  662. package/dist/index220.js +0 -58
  663. package/dist/index221.cjs +0 -1
  664. package/dist/index221.js +0 -40
  665. package/dist/index222.cjs +0 -1
  666. package/dist/index222.js +0 -123
  667. package/dist/index223.cjs +0 -1
  668. package/dist/index223.js +0 -86
  669. package/dist/index224.cjs +0 -1
  670. package/dist/index224.js +0 -89
  671. package/dist/index225.cjs +0 -1
  672. package/dist/index225.js +0 -120
  673. package/dist/index226.cjs +0 -1
  674. package/dist/index226.js +0 -100
  675. package/dist/index227.cjs +0 -1
  676. package/dist/index227.js +0 -157
  677. package/dist/index228.cjs +0 -1
  678. package/dist/index228.js +0 -79
  679. package/dist/index229.cjs +0 -9
  680. package/dist/index23.cjs +0 -1
  681. package/dist/index23.js +0 -212
  682. package/dist/index230.cjs +0 -1
  683. package/dist/index230.js +0 -67
  684. package/dist/index231.cjs +0 -1
  685. package/dist/index231.js +0 -43
  686. package/dist/index232.cjs +0 -1
  687. package/dist/index232.js +0 -67
  688. package/dist/index234.cjs +0 -1
  689. package/dist/index234.js +0 -101
  690. package/dist/index235.cjs +0 -1
  691. package/dist/index235.js +0 -222
  692. package/dist/index236.cjs +0 -1
  693. package/dist/index236.js +0 -30
  694. package/dist/index238.cjs +0 -1
  695. package/dist/index238.js +0 -63
  696. package/dist/index239.cjs +0 -1
  697. package/dist/index239.js +0 -422
  698. package/dist/index24.cjs +0 -1
  699. package/dist/index24.js +0 -257
  700. package/dist/index240.cjs +0 -1
  701. package/dist/index240.js +0 -30
  702. package/dist/index241.cjs +0 -1
  703. package/dist/index241.js +0 -221
  704. package/dist/index25.cjs +0 -1
  705. package/dist/index25.js +0 -286
  706. package/dist/index26.cjs +0 -1
  707. package/dist/index26.js +0 -182
  708. package/dist/index27.cjs +0 -1
  709. package/dist/index27.js +0 -107
  710. package/dist/index28.cjs +0 -1
  711. package/dist/index28.js +0 -161
  712. package/dist/index29.cjs +0 -1
  713. package/dist/index29.js +0 -97
  714. package/dist/index3.cjs +0 -1
  715. package/dist/index3.js +0 -63
  716. package/dist/index30.cjs +0 -1
  717. package/dist/index31.cjs +0 -1
  718. package/dist/index33.cjs +0 -1
  719. package/dist/index33.js +0 -87
  720. package/dist/index34.cjs +0 -1
  721. package/dist/index34.js +0 -234
  722. package/dist/index35.cjs +0 -1
  723. package/dist/index36.cjs +0 -1
  724. package/dist/index36.js +0 -31
  725. package/dist/index37.cjs +0 -1
  726. package/dist/index37.js +0 -15
  727. package/dist/index38.cjs +0 -1
  728. package/dist/index39.cjs +0 -1
  729. package/dist/index40.cjs +0 -1
  730. package/dist/index40.js +0 -87
  731. package/dist/index41.cjs +0 -1
  732. package/dist/index41.js +0 -69
  733. package/dist/index42.cjs +0 -1
  734. package/dist/index42.js +0 -224
  735. package/dist/index43.cjs +0 -1
  736. package/dist/index43.js +0 -145
  737. package/dist/index44.cjs +0 -1
  738. package/dist/index44.js +0 -57
  739. package/dist/index45.cjs +0 -1
  740. package/dist/index45.js +0 -273
  741. package/dist/index46.cjs +0 -1
  742. package/dist/index46.js +0 -8
  743. package/dist/index48.cjs +0 -1
  744. package/dist/index48.js +0 -506
  745. package/dist/index49.cjs +0 -1
  746. package/dist/index49.js +0 -211
  747. package/dist/index52.cjs +0 -1
  748. package/dist/index52.js +0 -23
  749. package/dist/index53.cjs +0 -1
  750. package/dist/index53.js +0 -208
  751. package/dist/index54.cjs +0 -1
  752. package/dist/index54.js +0 -157
  753. package/dist/index55.cjs +0 -1
  754. package/dist/index55.js +0 -124
  755. package/dist/index56.cjs +0 -1
  756. package/dist/index56.js +0 -20
  757. package/dist/index57.cjs +0 -1
  758. package/dist/index57.js +0 -82
  759. package/dist/index58.cjs +0 -1
  760. package/dist/index58.js +0 -97
  761. package/dist/index59.cjs +0 -1
  762. package/dist/index59.js +0 -15
  763. package/dist/index60.cjs +0 -1
  764. package/dist/index60.js +0 -94
  765. package/dist/index61.cjs +0 -1
  766. package/dist/index61.js +0 -33
  767. package/dist/index62.cjs +0 -1
  768. package/dist/index62.js +0 -277
  769. package/dist/index63.cjs +0 -1
  770. package/dist/index63.js +0 -134
  771. package/dist/index64.cjs +0 -1
  772. package/dist/index64.js +0 -409
  773. package/dist/index65.cjs +0 -1
  774. package/dist/index65.js +0 -170
  775. package/dist/index66.cjs +0 -1
  776. package/dist/index67.cjs +0 -1
  777. package/dist/index67.js +0 -158
  778. package/dist/index69.cjs +0 -1
  779. package/dist/index69.js +0 -336
  780. package/dist/index7.cjs +0 -1
  781. package/dist/index7.js +0 -24
  782. package/dist/index71.cjs +0 -1
  783. package/dist/index71.js +0 -321
  784. package/dist/index72.cjs +0 -1
  785. package/dist/index72.js +0 -211
  786. package/dist/index73.cjs +0 -1
  787. package/dist/index73.js +0 -34
  788. package/dist/index74.cjs +0 -1
  789. package/dist/index74.js +0 -163
  790. package/dist/index75.cjs +0 -1
  791. package/dist/index75.js +0 -20
  792. package/dist/index76.cjs +0 -1
  793. package/dist/index77.cjs +0 -1
  794. package/dist/index77.js +0 -168
  795. package/dist/index8.cjs +0 -1
  796. package/dist/index83.cjs +0 -1
  797. package/dist/index83.js +0 -25
  798. package/dist/index84.cjs +0 -1
  799. package/dist/index84.js +0 -68
  800. package/dist/index85.cjs +0 -1
  801. package/dist/index85.js +0 -15
  802. package/dist/index86.cjs +0 -1
  803. package/dist/index86.js +0 -4
  804. package/dist/index87.cjs +0 -1
  805. package/dist/index87.js +0 -51
  806. package/dist/index89.cjs +0 -1
  807. package/dist/index89.js +0 -27
  808. package/dist/index9.cjs +0 -1
  809. package/dist/index9.js +0 -63
  810. package/dist/index90.cjs +0 -1
  811. package/dist/index90.js +0 -14
  812. package/dist/index91.cjs +0 -1
  813. package/dist/index91.js +0 -10
  814. package/dist/index92.cjs +0 -1
  815. package/dist/index92.js +0 -3
  816. package/dist/index94.cjs +0 -38
  817. package/dist/index94.js +0 -69
  818. package/dist/index95.cjs +0 -1
  819. package/dist/index95.js +0 -3
  820. package/dist/index98.cjs +0 -4
  821. package/dist/index98.js +0 -112
  822. package/dist/index99.cjs +0 -1
  823. package/dist/index99.js +0 -6
  824. /package/dist/{index173.js → DataTable/render/defaults.js} +0 -0
  825. /package/dist/{index47.cjs → Form/FormDatePicker/types.cjs} +0 -0
  826. /package/dist/{index47.js → Form/FormDatePicker/types.js} +0 -0
  827. /package/dist/{index237.cjs → Form/FormRadioGroup/useFormRadio.cjs} +0 -0
  828. /package/dist/{index237.js → Form/FormRadioGroup/useFormRadio.js} +0 -0
  829. /package/dist/{index233.cjs → Form/FormSelect/useFormSelect.cjs} +0 -0
  830. /package/dist/{index233.js → Form/FormSelect/useFormSelect.js} +0 -0
  831. /package/dist/{index4.cjs → Icons/Icons.cjs} +0 -0
  832. /package/dist/{index4.js → Icons/Icons.js} +0 -0
  833. /package/dist/{index180.cjs → MultiSelect/utils.cjs} +0 -0
  834. /package/dist/{index180.js → MultiSelect/utils.js} +0 -0
  835. /package/dist/{index5.cjs → Typography/types.cjs} +0 -0
  836. /package/dist/{index5.js → Typography/types.js} +0 -0
  837. /package/dist/{index11.js → Typography/weightStyles.js} +0 -0
  838. /package/dist/{index2.cjs → _virtual/_rolldown/runtime.cjs} +0 -0
  839. /package/dist/{index2.js → _virtual/_rolldown/runtime.js} +0 -0
  840. /package/dist/{index168.cjs → lazyLoad.cjs} +0 -0
  841. /package/dist/{index168.js → lazyLoad.js} +0 -0
  842. /package/dist/{index68.cjs → node_modules/.pnpm/@floating-ui_utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.cjs} +0 -0
  843. /package/dist/{index70.cjs → node_modules/.pnpm/@floating-ui_utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.cjs} +0 -0
  844. /package/dist/{index70.js → node_modules/.pnpm/@floating-ui_utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js} +0 -0
  845. /package/dist/{index68.js → node_modules/.pnpm/@floating-ui_utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.js} +0 -0
  846. /package/dist/{index148.cjs → node_modules/.pnpm/@radix-ui_number@1.1.3/node_modules/@radix-ui/number/dist/index.cjs} +0 -0
  847. /package/dist/{index148.js → node_modules/.pnpm/@radix-ui_number@1.1.3/node_modules/@radix-ui/number/dist/index.js} +0 -0
  848. /package/dist/{index32.cjs → node_modules/.pnpm/@radix-ui_primitive@1.1.7/node_modules/@radix-ui/primitive/dist/index.cjs} +0 -0
  849. /package/dist/{index32.js → node_modules/.pnpm/@radix-ui_primitive@1.1.7/node_modules/@radix-ui/primitive/dist/index.js} +0 -0
  850. /package/dist/{index31.js → node_modules/.pnpm/@radix-ui_react-compose-refs@1.1.5_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-compose-refs/dist/index.js} +0 -0
  851. /package/dist/{index30.js → node_modules/.pnpm/@radix-ui_react-context@1.2.2_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-context/dist/index.js} +0 -0
  852. /package/dist/{index66.js → node_modules/.pnpm/@radix-ui_react-focus-guards@1.1.6_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-focus-guards/dist/index.js} +0 -0
  853. /package/dist/{index35.js → node_modules/.pnpm/@radix-ui_react-primitive@2.1.10_@types_react-dom@19.3.0_@types_react@19.3.0__@types_re_b879c40dbdb8ea08e1db9842f10f20a8/node_modules/@radix-ui/react-primitive/dist/index.js} +0 -0
  854. /package/dist/{index38.js → node_modules/.pnpm/@radix-ui_react-use-callback-ref@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-callback-ref/dist/index.js} +0 -0
  855. /package/dist/{index76.js → node_modules/.pnpm/@radix-ui_react-use-is-hydrated@0.1.3_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-is-hydrated/dist/index.js} +0 -0
  856. /package/dist/{index39.js → node_modules/.pnpm/@radix-ui_react-use-layout-effect@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-layout-effect/dist/index.js} +0 -0
  857. /package/dist/{index131.js → node_modules/.pnpm/@radix-ui_react-use-previous@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-previous/dist/index.js} +0 -0
  858. /package/dist/{index78.cjs → node_modules/.pnpm/aria-hidden@1.2.6/node_modules/aria-hidden/dist/es2015/index.cjs} +0 -0
  859. /package/dist/{index78.js → node_modules/.pnpm/aria-hidden@1.2.6/node_modules/aria-hidden/dist/es2015/index.js} +0 -0
  860. /package/dist/{index215.cjs → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/addLeadingZeros.cjs} +0 -0
  861. /package/dist/{index215.js → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/addLeadingZeros.js} +0 -0
  862. /package/dist/{index188.cjs → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/defaultOptions.cjs} +0 -0
  863. /package/dist/{index188.js → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/defaultOptions.js} +0 -0
  864. /package/dist/{index218.cjs → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/format/longFormatters.cjs} +0 -0
  865. /package/dist/{index218.js → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/format/longFormatters.js} +0 -0
  866. /package/dist/{index219.cjs → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/protectedTokens.cjs} +0 -0
  867. /package/dist/{index219.js → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/protectedTokens.js} +0 -0
  868. /package/dist/{index185.cjs → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/constants.cjs} +0 -0
  869. /package/dist/{index185.js → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/constants.js} +0 -0
  870. /package/dist/{index197.cjs → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/isDate.cjs} +0 -0
  871. /package/dist/{index197.js → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/isDate.js} +0 -0
  872. /package/dist/{index201.cjs → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildFormatLongFn.cjs} +0 -0
  873. /package/dist/{index201.js → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildFormatLongFn.js} +0 -0
  874. /package/dist/{index204.cjs → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildLocalizeFn.cjs} +0 -0
  875. /package/dist/{index204.js → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildLocalizeFn.js} +0 -0
  876. /package/dist/{index206.cjs → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildMatchFn.cjs} +0 -0
  877. /package/dist/{index206.js → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildMatchFn.js} +0 -0
  878. /package/dist/{index207.cjs → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildMatchPatternFn.cjs} +0 -0
  879. /package/dist/{index207.js → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js} +0 -0
  880. /package/dist/{index200.cjs → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatDistance.cjs} +0 -0
  881. /package/dist/{index200.js → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatDistance.js} +0 -0
  882. /package/dist/{index203.cjs → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatRelative.cjs} +0 -0
  883. /package/dist/{index203.js → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatRelative.js} +0 -0
  884. /package/dist/{index50.cjs → node_modules/.pnpm/embla-carousel-reactive-utils@8.6.0_embla-carousel@8.6.0/node_modules/embla-carousel-reactive-utils/esm/embla-carousel-reactive-utils.esm.cjs} +0 -0
  885. /package/dist/{index50.js → node_modules/.pnpm/embla-carousel-reactive-utils@8.6.0_embla-carousel@8.6.0/node_modules/embla-carousel-reactive-utils/esm/embla-carousel-reactive-utils.esm.js} +0 -0
  886. /package/dist/{index51.cjs → node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/embla-carousel.esm.cjs} +0 -0
  887. /package/dist/{index51.js → node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/embla-carousel.esm.js} +0 -0
  888. /package/dist/{index88.cjs → node_modules/.pnpm/get-nonce@1.0.1/node_modules/get-nonce/dist/es2015/index.cjs} +0 -0
  889. /package/dist/{index88.js → node_modules/.pnpm/get-nonce@1.0.1/node_modules/get-nonce/dist/es2015/index.js} +0 -0
  890. /package/dist/{index125.js → node_modules/.pnpm/input-otp@1.4.2_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/input-otp/dist/index.js} +0 -0
  891. /package/dist/{index115.js → node_modules/.pnpm/react-hook-form@7.83.0_react@19.3.1/node_modules/react-hook-form/dist/index.esm.js} +0 -0
  892. /package/dist/{index229.js → node_modules/.pnpm/react-number-format@5.4.5_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/react-number-format/dist/react-number-format.es.js} +0 -0
  893. /package/dist/{index80.cjs → node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll-bar/dist/es2015/constants.cjs} +0 -0
  894. /package/dist/{index80.js → node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll-bar/dist/es2015/constants.js} +0 -0
  895. /package/dist/{index93.cjs → node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll-bar/dist/es2015/utils.cjs} +0 -0
  896. /package/dist/{index93.js → node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll-bar/dist/es2015/utils.js} +0 -0
  897. /package/dist/{index96.cjs → node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.cjs} +0 -0
  898. /package/dist/{index96.js → node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js} +0 -0
  899. /package/dist/{index97.cjs → node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/handleScroll.cjs} +0 -0
  900. /package/dist/{index97.js → node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/handleScroll.js} +0 -0
  901. /package/dist/{index139.js → node_modules/.pnpm/react-resizable-panels@2.1.9_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/react-resizable-panels/dist/react-resizable-panels.browser.esm.js} +0 -0
  902. /package/dist/{index79.cjs → node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.cjs} +0 -0
  903. /package/dist/{index79.js → node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.js} +0 -0
  904. /package/dist/{index81.cjs → node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.3.0_react@19.3.1/node_modules/use-callback-ref/dist/es2015/assignRef.cjs} +0 -0
  905. /package/dist/{index81.js → node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.3.0_react@19.3.1/node_modules/use-callback-ref/dist/es2015/assignRef.js} +0 -0
  906. /package/dist/{index82.cjs → node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.3.0_react@19.3.1/node_modules/use-callback-ref/dist/es2015/useRef.cjs} +0 -0
  907. /package/dist/{index82.js → node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.3.0_react@19.3.1/node_modules/use-callback-ref/dist/es2015/useRef.js} +0 -0
  908. /package/dist/{index105.js → node_modules/.pnpm/vaul@1.1.2_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@19.3.0_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/vaul/dist/index.js} +0 -0
  909. /package/dist/{index6.cjs → theme/spacing.cjs} +0 -0
  910. /package/dist/{index6.js → theme/spacing.js} +0 -0
  911. /package/dist/{index19.cjs → theme/types.cjs} +0 -0
  912. /package/dist/{index19.js → theme/types.js} +0 -0
  913. /package/dist/{index20.cjs → theme/width.cjs} +0 -0
  914. /package/dist/{index20.js → theme/width.js} +0 -0
  915. /package/dist/{index8.js → theme/zIndex.js} +0 -0
  916. /package/dist/{index113.js → ui/file-upload-adapters.js} +0 -0
  917. /package/dist/{index110.js → ui/label.js} +0 -0
  918. /package/dist/{index152.js → ui/spinner.js} +0 -0
  919. /package/dist/{index157.js → ui/table.js} +0 -0
  920. /package/dist/{index118.js → ui/useBreakpoint.js} +0 -0
package/dist/index105.cjs DELETED
@@ -1,3 +0,0 @@
1
- "use client";const e=require("./index2.cjs");let t=require("react"),n=e.__toESM(t,1);t=e.__toESM(t);let r=require("@radix-ui/react-dialog");r=e.__toESM(r,1);function i(e){if(!e||typeof document>`u`)return;let t=document.head||document.getElementsByTagName(`head`)[0],n=document.createElement(`style`);n.type=`text/css`,t.appendChild(n),n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e))}var a=n.default.createContext({drawerRef:{current:null},overlayRef:{current:null},onPress:()=>{},onRelease:()=>{},onDrag:()=>{},onNestedDrag:()=>{},onNestedOpenChange:()=>{},onNestedRelease:()=>{},openProp:void 0,dismissible:!1,isOpen:!1,isDragging:!1,keyboardIsOpen:{current:!1},snapPointsOffset:null,snapPoints:null,handleOnly:!1,modal:!1,shouldFade:!1,activeSnapPoint:null,onOpenChange:()=>{},setActiveSnapPoint:()=>{},closeDrawer:()=>{},direction:`bottom`,shouldAnimate:{current:!0},shouldScaleBackground:!1,setBackgroundColorOnScale:!0,noBodyStyles:!1,container:null,autoFocus:!1}),o=()=>{let e=n.default.useContext(a);if(!e)throw Error(`useDrawerContext must be used within a Drawer.Root`);return e};i(`[data-vaul-drawer]{touch-action:none;will-change:transform;transition:transform .5s cubic-bezier(.32, .72, 0, 1);animation-duration:.5s;animation-timing-function:cubic-bezier(0.32,0.72,0,1)}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=bottom][data-state=open]{animation-name:slideFromBottom}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=bottom][data-state=closed]{animation-name:slideToBottom}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=top][data-state=open]{animation-name:slideFromTop}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=top][data-state=closed]{animation-name:slideToTop}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=left][data-state=open]{animation-name:slideFromLeft}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=left][data-state=closed]{animation-name:slideToLeft}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=right][data-state=open]{animation-name:slideFromRight}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=right][data-state=closed]{animation-name:slideToRight}[data-vaul-drawer][data-vaul-snap-points=true][data-vaul-drawer-direction=bottom]{transform:translate3d(0,var(--initial-transform,100%),0)}[data-vaul-drawer][data-vaul-snap-points=true][data-vaul-drawer-direction=top]{transform:translate3d(0,calc(var(--initial-transform,100%) * -1),0)}[data-vaul-drawer][data-vaul-snap-points=true][data-vaul-drawer-direction=left]{transform:translate3d(calc(var(--initial-transform,100%) * -1),0,0)}[data-vaul-drawer][data-vaul-snap-points=true][data-vaul-drawer-direction=right]{transform:translate3d(var(--initial-transform,100%),0,0)}[data-vaul-drawer][data-vaul-delayed-snap-points=true][data-vaul-drawer-direction=top]{transform:translate3d(0,var(--snap-point-height,0),0)}[data-vaul-drawer][data-vaul-delayed-snap-points=true][data-vaul-drawer-direction=bottom]{transform:translate3d(0,var(--snap-point-height,0),0)}[data-vaul-drawer][data-vaul-delayed-snap-points=true][data-vaul-drawer-direction=left]{transform:translate3d(var(--snap-point-height,0),0,0)}[data-vaul-drawer][data-vaul-delayed-snap-points=true][data-vaul-drawer-direction=right]{transform:translate3d(var(--snap-point-height,0),0,0)}[data-vaul-overlay][data-vaul-snap-points=false]{animation-duration:.5s;animation-timing-function:cubic-bezier(0.32,0.72,0,1)}[data-vaul-overlay][data-vaul-snap-points=false][data-state=open]{animation-name:fadeIn}[data-vaul-overlay][data-state=closed]{animation-name:fadeOut}[data-vaul-animate=false]{animation:none!important}[data-vaul-overlay][data-vaul-snap-points=true]{opacity:0;transition:opacity .5s cubic-bezier(.32, .72, 0, 1)}[data-vaul-overlay][data-vaul-snap-points=true]{opacity:1}[data-vaul-drawer]:not([data-vaul-custom-container=true])::after{content:'';position:absolute;background:inherit;background-color:inherit}[data-vaul-drawer][data-vaul-drawer-direction=top]::after{top:initial;bottom:100%;left:0;right:0;height:200%}[data-vaul-drawer][data-vaul-drawer-direction=bottom]::after{top:100%;bottom:initial;left:0;right:0;height:200%}[data-vaul-drawer][data-vaul-drawer-direction=left]::after{left:initial;right:100%;top:0;bottom:0;width:200%}[data-vaul-drawer][data-vaul-drawer-direction=right]::after{left:100%;right:initial;top:0;bottom:0;width:200%}[data-vaul-overlay][data-vaul-snap-points=true]:not([data-vaul-snap-points-overlay=true]):not(
2
- [data-state=closed]
3
- ){opacity:0}[data-vaul-overlay][data-vaul-snap-points-overlay=true]{opacity:1}[data-vaul-handle]{display:block;position:relative;opacity:.7;background:#e2e2e4;margin-left:auto;margin-right:auto;height:5px;width:32px;border-radius:1rem;touch-action:pan-y}[data-vaul-handle]:active,[data-vaul-handle]:hover{opacity:1}[data-vaul-handle-hitarea]{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:max(100%,2.75rem);height:max(100%,2.75rem);touch-action:inherit}@media (hover:hover) and (pointer:fine){[data-vaul-drawer]{user-select:none}}@media (pointer:fine){[data-vaul-handle-hitarea]:{width:100%;height:100%}}@keyframes fadeIn{from{opacity:0}to{opacity:1}}@keyframes fadeOut{to{opacity:0}}@keyframes slideFromBottom{from{transform:translate3d(0,var(--initial-transform,100%),0)}to{transform:translate3d(0,0,0)}}@keyframes slideToBottom{to{transform:translate3d(0,var(--initial-transform,100%),0)}}@keyframes slideFromTop{from{transform:translate3d(0,calc(var(--initial-transform,100%) * -1),0)}to{transform:translate3d(0,0,0)}}@keyframes slideToTop{to{transform:translate3d(0,calc(var(--initial-transform,100%) * -1),0)}}@keyframes slideFromLeft{from{transform:translate3d(calc(var(--initial-transform,100%) * -1),0,0)}to{transform:translate3d(0,0,0)}}@keyframes slideToLeft{to{transform:translate3d(calc(var(--initial-transform,100%) * -1),0,0)}}@keyframes slideFromRight{from{transform:translate3d(var(--initial-transform,100%),0,0)}to{transform:translate3d(0,0,0)}}@keyframes slideToRight{to{transform:translate3d(var(--initial-transform,100%),0,0)}}`);function s(){let e=navigator.userAgent;return typeof window<`u`&&(/Firefox/.test(e)&&/Mobile/.test(e)||/FxiOS/.test(e))}function c(){return p(/^Mac/)}function l(){return p(/^iPhone/)}function u(){return/^((?!chrome|android).)*safari/i.test(navigator.userAgent)}function d(){return p(/^iPad/)||c()&&navigator.maxTouchPoints>1}function f(){return l()||d()}function p(e){return typeof window<`u`&&window.navigator!=null?e.test(window.navigator.platform):void 0}var m=24,h=typeof window<`u`?n.useLayoutEffect:n.useEffect;function g(...e){return(...t)=>{for(let n of e)typeof n==`function`&&n(...t)}}var _=typeof document<`u`&&window.visualViewport;function v(e){let t=window.getComputedStyle(e);return/(auto|scroll)/.test(t.overflow+t.overflowX+t.overflowY)}function y(e){for(v(e)&&(e=e.parentElement);e&&!v(e);)e=e.parentElement;return e||document.scrollingElement||document.documentElement}var b=new Set([`checkbox`,`radio`,`range`,`color`,`file`,`image`,`button`,`submit`,`reset`]),x=0,S;function ee(e={}){let{isDisabled:t}=e;h(()=>{if(!t)return x++,x===1&&f()&&(S=C()),()=>{x--,x===0&&S?.()}},[t])}function C(){let e,t=0,n=n=>{e=y(n.target),(e!==document.documentElement||e!==document.body)&&(t=n.changedTouches[0].pageY)},r=n=>{if(!e||e===document.documentElement||e===document.body){n.preventDefault();return}let r=n.changedTouches[0].pageY,i=e.scrollTop,a=e.scrollHeight-e.clientHeight;a!==0&&((i<=0&&r>t||i>=a&&r<t)&&n.preventDefault(),t=r)},i=e=>{let t=e.target;D(t)&&t!==document.activeElement&&(e.preventDefault(),t.style.transform=`translateY(-2000px)`,t.focus(),requestAnimationFrame(()=>{t.style.transform=``}))},a=e=>{let t=e.target;D(t)&&(t.style.transform=`translateY(-2000px)`,requestAnimationFrame(()=>{t.style.transform=``,_&&(_.height<window.innerHeight?requestAnimationFrame(()=>{E(t)}):_.addEventListener(`resize`,()=>E(t),{once:!0}))}))},o=()=>{window.scrollTo(0,0)},s=window.pageXOffset,c=window.pageYOffset,l=g(w(document.documentElement,`paddingRight`,`${window.innerWidth-document.documentElement.clientWidth}px`));window.scrollTo(0,0);let u=g(T(document,`touchstart`,n,{passive:!1,capture:!0}),T(document,`touchmove`,r,{passive:!1,capture:!0}),T(document,`touchend`,i,{passive:!1,capture:!0}),T(document,`focus`,a,!0),T(window,`scroll`,o));return()=>{l(),u(),window.scrollTo(s,c)}}function w(e,t,n){let r=e.style[t];return e.style[t]=n,()=>{e.style[t]=r}}function T(e,t,n,r){return e.addEventListener(t,n,r),()=>{e.removeEventListener(t,n,r)}}function E(e){let t=document.scrollingElement||document.documentElement;for(;e&&e!==t;){let t=y(e);if(t!==document.documentElement&&t!==document.body&&t!==e){let n=t.getBoundingClientRect().top,r=e.getBoundingClientRect().top;e.getBoundingClientRect().bottom>t.getBoundingClientRect().bottom+m&&(t.scrollTop+=r-n)}e=t.parentElement}}function D(e){return e instanceof HTMLInputElement&&!b.has(e.type)||e instanceof HTMLTextAreaElement||e instanceof HTMLElement&&e.isContentEditable}function te(e,t){typeof e==`function`?e(t):e!=null&&(e.current=t)}function ne(...e){return t=>e.forEach(e=>te(e,t))}function re(...e){return n.useCallback(ne(...e),e)}var O=new WeakMap;function k(e,t,n=!1){if(!e||!(e instanceof HTMLElement))return;let r={};Object.entries(t).forEach(([t,n])=>{t.startsWith(`--`)?e.style.setProperty(t,n):(r[t]=e.style[t],e.style[t]=n)}),!n&&O.set(e,r)}function ie(e,t){if(!e||!(e instanceof HTMLElement))return;let n=O.get(e);n&&(e.style[t]=n[t])}var A=e=>{switch(e){case`top`:case`bottom`:return!0;case`left`:case`right`:return!1;default:return e}};function j(e,t){if(!e)return null;let n=window.getComputedStyle(e),r=n.transform||n.webkitTransform||n.mozTransform,i=r.match(/^matrix3d\((.+)\)$/);return i?parseFloat(i[1].split(`, `)[A(t)?13:12]):(i=r.match(/^matrix\((.+)\)$/),i?parseFloat(i[1].split(`, `)[A(t)?5:4]):null)}function ae(e){return 8*(Math.log(e+1)-2)}function M(e,t){if(!e)return()=>{};let n=e.style.cssText;return Object.assign(e.style,t),()=>{e.style.cssText=n}}var N={DURATION:.5,EASE:[.32,.72,0,1]},oe=.4,se=.25,ce=100,le=8,P=16,ue=26,de=`vaul-dragging`;function F(e){let t=n.default.useRef(e);return n.default.useEffect(()=>{t.current=e}),n.default.useMemo(()=>(...e)=>t.current==null?void 0:t.current.call(t,...e),[])}function fe({defaultProp:e,onChange:t}){let r=n.default.useState(e),[i]=r,a=n.default.useRef(i),o=F(t);return n.default.useEffect(()=>{a.current!==i&&(o(i),a.current=i)},[i,a,o]),r}function pe({prop:e,defaultProp:t,onChange:r=()=>{}}){let[i,a]=fe({defaultProp:t,onChange:r}),o=e!==void 0,s=o?e:i,c=F(r);return[s,n.default.useCallback(t=>{if(o){let n=typeof t==`function`?t(e):t;n!==e&&c(n)}else a(t)},[o,e,a,c])]}function me({activeSnapPointProp:e,setActiveSnapPointProp:t,snapPoints:r,drawerRef:i,overlayRef:a,fadeFromIndex:o,onSnapPointChange:s,direction:c=`bottom`,container:l,snapToSequentialPoint:u}){let[d,f]=pe({prop:e,defaultProp:r?.[0],onChange:t}),[p,m]=n.default.useState(typeof window<`u`?{innerWidth:window.innerWidth,innerHeight:window.innerHeight}:void 0);n.default.useEffect(()=>{function e(){m({innerWidth:window.innerWidth,innerHeight:window.innerHeight})}return window.addEventListener(`resize`,e),()=>window.removeEventListener(`resize`,e)},[]);let h=n.default.useMemo(()=>d===r?.[r.length-1]||null,[r,d]),g=n.default.useMemo(()=>r?.findIndex(e=>e===d)??null,[r,d]),_=r&&r.length>0&&(o||o===0)&&!Number.isNaN(o)&&r[o]===d||!r,v=n.default.useMemo(()=>{let e=l?{width:l.getBoundingClientRect().width,height:l.getBoundingClientRect().height}:typeof window<`u`?{width:window.innerWidth,height:window.innerHeight}:{width:0,height:0};return r?.map(t=>{let n=typeof t==`string`,r=0;if(n&&(r=parseInt(t,10)),A(c)){let i=n?r:p?t*e.height:0;return p?c===`bottom`?e.height-i:-e.height+i:i}let i=n?r:p?t*e.width:0;return p?c===`right`?e.width-i:-e.width+i:i})??[]},[r,p,l]),y=n.default.useMemo(()=>g===null?null:v?.[g],[v,g]),b=n.default.useCallback(e=>{let t=v?.findIndex(t=>t===e)??null;s(t),k(i.current,{transition:`transform ${N.DURATION}s cubic-bezier(${N.EASE.join(`,`)})`,transform:A(c)?`translate3d(0, ${e}px, 0)`:`translate3d(${e}px, 0, 0)`}),v&&t!==v.length-1&&o!==void 0&&t!==o&&t<o?k(a.current,{transition:`opacity ${N.DURATION}s cubic-bezier(${N.EASE.join(`,`)})`,opacity:`0`}):k(a.current,{transition:`opacity ${N.DURATION}s cubic-bezier(${N.EASE.join(`,`)})`,opacity:`1`}),f(r?.[Math.max(t,0)])},[i.current,r,v,o,a,f]);n.default.useEffect(()=>{if(d||e){let t=r?.findIndex(t=>t===e||t===d)??-1;v&&t!==-1&&typeof v[t]==`number`&&b(v[t])}},[d,e,r,v,b]);function x({draggedDistance:e,closeDrawer:t,velocity:n,dismissible:i}){if(o===void 0)return;let s=c===`bottom`||c===`right`?(y??0)-e:(y??0)+e,l=g===o-1,d=g===0,f=e>0;if(l&&k(a.current,{transition:`opacity ${N.DURATION}s cubic-bezier(${N.EASE.join(`,`)})`}),!u&&n>2&&!f){i?t():b(v[0]);return}if(!u&&n>2&&f&&v&&r){b(v[r.length-1]);return}let p=v?.reduce((e,t)=>typeof e!=`number`||typeof t!=`number`?e:Math.abs(t-s)<Math.abs(e-s)?t:e),m=A(c)?window.innerHeight:window.innerWidth;if(n>oe&&Math.abs(e)<m*.4){let e=f?1:-1;if(e>0&&h&&r){b(v[r.length-1]);return}if(d&&e<0&&i&&t(),g===null)return;b(v[g+e])}else b(p)}function S({draggedDistance:e}){if(y===null)return;let t=c===`bottom`||c===`right`?y-e:y+e;(c===`bottom`||c===`right`)&&t<v[v.length-1]||(c===`top`||c===`left`)&&t>v[v.length-1]||k(i.current,{transform:A(c)?`translate3d(0, ${t}px, 0)`:`translate3d(${t}px, 0, 0)`})}function ee(e,t){if(!r||typeof g!=`number`||!v||o===void 0)return null;let n=g===o-1;if(g>=o&&t)return 0;if(n&&!t)return 1;if(!_&&!n)return null;let i=n?g+1:g-1,a=n?v[i]-v[i-1]:v[i+1]-v[i],s=e/Math.abs(a);return n?1-s:s}return{isLastSnapPoint:h,activeSnapPoint:d,shouldFade:_,getPercentageDragged:ee,setActiveSnapPoint:f,activeSnapPointIndex:g,onRelease:x,onDrag:S,snapPointsOffset:v}}function I(){let{direction:e,isOpen:t,shouldScaleBackground:r,setBackgroundColorOnScale:i,noBodyStyles:a}=o(),s=n.default.useRef(null),c=(0,n.useMemo)(()=>document.body.style.backgroundColor,[]);function l(){return(window.innerWidth-ue)/window.innerWidth}n.default.useEffect(()=>{if(t&&r){s.current&&clearTimeout(s.current);let t=document.querySelector(`[data-vaul-drawer-wrapper]`)||document.querySelector(`[vaul-drawer-wrapper]`);if(!t)return;i&&!a&&M(document.body,{background:`black`}),M(t,{transformOrigin:A(e)?`top`:`left`,transitionProperty:`transform, border-radius`,transitionDuration:`${N.DURATION}s`,transitionTimingFunction:`cubic-bezier(${N.EASE.join(`,`)})`});let n=M(t,{borderRadius:`${le}px`,overflow:`hidden`,...A(e)?{transform:`scale(${l()}) translate3d(0, calc(env(safe-area-inset-top) + 14px), 0)`}:{transform:`scale(${l()}) translate3d(calc(env(safe-area-inset-top) + 14px), 0, 0)`}});return()=>{n(),s.current=window.setTimeout(()=>{c?document.body.style.background=c:document.body.style.removeProperty(`background`)},N.DURATION*1e3)}}},[t,r,c])}var L=null;function he({isOpen:e,modal:t,nested:r,hasBeenOpened:i,preventScrollRestoration:a,noBodyStyles:o}){let[s,c]=n.default.useState(()=>typeof window<`u`?window.location.href:``),l=n.default.useRef(0),d=n.default.useCallback(()=>{if(u()&&L===null&&e&&!o){L={position:document.body.style.position,top:document.body.style.top,left:document.body.style.left,height:document.body.style.height,right:`unset`};let{scrollX:e,innerHeight:t}=window;document.body.style.setProperty(`position`,`fixed`,`important`),Object.assign(document.body.style,{top:`${-l.current}px`,left:`${-e}px`,right:`0px`,height:`auto`}),window.setTimeout(()=>window.requestAnimationFrame(()=>{let e=t-window.innerHeight;e&&l.current>=t&&(document.body.style.top=`${-(l.current+e)}px`)}),300)}},[e]),f=n.default.useCallback(()=>{if(u()&&L!==null&&!o){let e=-parseInt(document.body.style.top,10),t=-parseInt(document.body.style.left,10);Object.assign(document.body.style,L),window.requestAnimationFrame(()=>{a&&s!==window.location.href?c(window.location.href):window.scrollTo(t,e)}),L=null}},[s]);return n.default.useEffect(()=>{function e(){l.current=window.scrollY}return e(),window.addEventListener(`scroll`,e),()=>{window.removeEventListener(`scroll`,e)}},[]),n.default.useEffect(()=>{if(t)return()=>{typeof document<`u`&&(document.querySelector(`[data-vaul-drawer]`)||f())}},[t,f]),n.default.useEffect(()=>{!r&&i&&(e?(!window.matchMedia(`(display-mode: standalone)`).matches&&d(),t||window.setTimeout(()=>{f()},500)):f())},[e,i,s,t,r,d,f]),{restorePositionSetting:f}}function R({open:e,onOpenChange:t,children:i,onDrag:o,onRelease:c,snapPoints:l,shouldScaleBackground:u=!1,setBackgroundColorOnScale:d=!0,closeThreshold:p=se,scrollLockTimeout:m=ce,dismissible:h=!0,handleOnly:g=!1,fadeFromIndex:_=l&&l.length-1,activeSnapPoint:v,setActiveSnapPoint:y,fixed:b,modal:x=!0,onClose:S,nested:C,noBodyStyles:w=!1,direction:T=`bottom`,defaultOpen:E=!1,disablePreventScroll:te=!0,snapToSequentialPoint:ne=!1,preventScrollRestoration:re=!1,repositionInputs:O=!0,onAnimationEnd:M,container:F,autoFocus:fe=!1}){let[I=!1,L]=pe({defaultProp:E,prop:e,onChange:e=>{t?.(e),!e&&!C&&je(),setTimeout(()=>{M?.(e)},N.DURATION*1e3),e&&!x&&typeof window<`u`&&window.requestAnimationFrame(()=>{document.body.style.pointerEvents=`auto`}),e||(document.body.style.pointerEvents=`auto`)}}),[R,z]=n.default.useState(!1),[B,V]=n.default.useState(!1),[ge,H]=n.default.useState(!1),U=n.default.useRef(null),W=n.default.useRef(null),G=n.default.useRef(null),_e=n.default.useRef(null),K=n.default.useRef(null),q=n.default.useRef(!1),ve=n.default.useRef(null),ye=n.default.useRef(0),J=n.default.useRef(!1),be=n.default.useRef(!E),xe=n.default.useRef(0),Y=n.default.useRef(null),Se=n.default.useRef(Y.current?.getBoundingClientRect().height||0),Ce=n.default.useRef(Y.current?.getBoundingClientRect().width||0),we=n.default.useRef(0),{activeSnapPoint:Te,activeSnapPointIndex:X,setActiveSnapPoint:Ee,onRelease:De,snapPointsOffset:Z,onDrag:Oe,shouldFade:ke,getPercentageDragged:Ae}=me({snapPoints:l,activeSnapPointProp:v,setActiveSnapPointProp:y,drawerRef:Y,fadeFromIndex:_,overlayRef:U,onSnapPointChange:n.default.useCallback(e=>{l&&e===Z.length-1&&(W.current=new Date)},[]),direction:T,container:F,snapToSequentialPoint:ne});ee({isDisabled:!I||B||!x||ge||!R||!O||!te});let{restorePositionSetting:je}=he({isOpen:I,modal:x,nested:C??!1,hasBeenOpened:R,preventScrollRestoration:re,noBodyStyles:w});function Q(){return(window.innerWidth-ue)/window.innerWidth}function Me(e){(h||l)&&(!Y.current||Y.current.contains(e.target))&&(Se.current=Y.current?.getBoundingClientRect().height||0,Ce.current=Y.current?.getBoundingClientRect().width||0,V(!0),G.current=new Date,f()&&window.addEventListener(`touchend`,()=>q.current=!1,{once:!0}),e.target.setPointerCapture(e.pointerId),ye.current=A(T)?e.pageY:e.pageX)}function Ne(e,t){let n=e,r=window.getSelection()?.toString(),i=Y.current?j(Y.current,T):null,a=new Date;if(n.tagName===`SELECT`||n.hasAttribute(`data-vaul-no-drag`)||n.closest(`[data-vaul-no-drag]`))return!1;if(T===`right`||T===`left`)return!0;if(W.current&&a.getTime()-W.current.getTime()<500)return!1;if(i!==null&&(T===`bottom`?i>0:i<0))return!0;if(r&&r.length>0)return!1;if(K.current&&a.getTime()-K.current.getTime()<m&&i===0||t)return K.current=a,!1;for(;n;){if(n.scrollHeight>n.clientHeight){if(n.scrollTop!==0)return K.current=new Date,!1;if(n.getAttribute(`role`)===`dialog`)return!0}n=n.parentNode}return!0}function Pe(e){if(Y.current&&B){let t=T===`bottom`||T===`right`?1:-1,n=(ye.current-(A(T)?e.pageY:e.pageX))*t,r=n>0,i=l&&!h&&!r;if(i&&X===0)return;let a=Math.abs(n),s=document.querySelector(`[data-vaul-drawer-wrapper]`),c=a/(T===`bottom`||T===`top`?Se.current:Ce.current),d=Ae(a,r);if(d!==null&&(c=d),i&&c>=1||!q.current&&!Ne(e.target,r))return;if(Y.current.classList.add(de),q.current=!0,k(Y.current,{transition:`none`}),k(U.current,{transition:`none`}),l&&Oe({draggedDistance:n}),r&&!l){let e=ae(n),r=Math.min(e*-1,0)*t;k(Y.current,{transform:A(T)?`translate3d(0, ${r}px, 0)`:`translate3d(${r}px, 0, 0)`});return}let f=1-c;if((ke||_&&X===_-1)&&(o?.(e,c),k(U.current,{opacity:`${f}`,transition:`none`},!0)),s&&U.current&&u){let e=Math.min(Q()+c*(1-Q()),1),t=8-c*8,n=Math.max(0,14-c*14);k(s,{borderRadius:`${t}px`,transform:A(T)?`scale(${e}) translate3d(0, ${n}px, 0)`:`scale(${e}) translate3d(${n}px, 0, 0)`,transition:`none`},!0)}if(!l){let e=a*t;k(Y.current,{transform:A(T)?`translate3d(0, ${e}px, 0)`:`translate3d(${e}px, 0, 0)`})}}}n.default.useEffect(()=>{window.requestAnimationFrame(()=>{be.current=!0})},[]),n.default.useEffect(()=>{var e;function t(){if(!Y.current||!O)return;let e=document.activeElement;if(D(e)||J.current){let e=window.visualViewport?.height||0,t=window.innerHeight,n=t-e,r=Y.current.getBoundingClientRect().height||0,i=r>t*.8;we.current||=r;let a=Y.current.getBoundingClientRect().top;if(Math.abs(xe.current-n)>60&&(J.current=!J.current),l&&l.length>0&&Z&&X){let e=Z[X]||0;n+=e}if(xe.current=n,r>e||J.current){let t=Y.current.getBoundingClientRect().height,r=t;t>e&&(r=e-(i?a:ue)),b?Y.current.style.height=`${t-Math.max(n,0)}px`:Y.current.style.height=`${Math.max(r,e-a)}px`}else s()||(Y.current.style.height=`${we.current}px`);l&&l.length>0&&!J.current?Y.current.style.bottom=`0px`:Y.current.style.bottom=`${Math.max(n,0)}px`}}return(e=window.visualViewport)==null||e.addEventListener(`resize`,t),()=>window.visualViewport?.removeEventListener(`resize`,t)},[X,l,Z]);function $(e){Ie(),S?.(),e||L(!1),setTimeout(()=>{l&&Ee(l[0])},N.DURATION*1e3)}function Fe(){if(!Y.current)return;let e=document.querySelector(`[data-vaul-drawer-wrapper]`),t=j(Y.current,T);k(Y.current,{transform:`translate3d(0, 0, 0)`,transition:`transform ${N.DURATION}s cubic-bezier(${N.EASE.join(`,`)})`}),k(U.current,{transition:`opacity ${N.DURATION}s cubic-bezier(${N.EASE.join(`,`)})`,opacity:`1`}),u&&t&&t>0&&I&&k(e,{borderRadius:`${le}px`,overflow:`hidden`,...A(T)?{transform:`scale(${Q()}) translate3d(0, calc(env(safe-area-inset-top) + 14px), 0)`,transformOrigin:`top`}:{transform:`scale(${Q()}) translate3d(calc(env(safe-area-inset-top) + 14px), 0, 0)`,transformOrigin:`left`},transitionProperty:`transform, border-radius`,transitionDuration:`${N.DURATION}s`,transitionTimingFunction:`cubic-bezier(${N.EASE.join(`,`)})`},!0)}function Ie(){B&&Y.current&&(Y.current.classList.remove(de),q.current=!1,V(!1),_e.current=new Date)}function Le(e){if(!B||!Y.current)return;Y.current.classList.remove(de),q.current=!1,V(!1),_e.current=new Date;let t=j(Y.current,T);if(!e||!Ne(e.target,!1)||!t||Number.isNaN(t)||G.current===null)return;let n=_e.current.getTime()-G.current.getTime(),r=ye.current-(A(T)?e.pageY:e.pageX),i=Math.abs(r)/n;if(i>.05&&(H(!0),setTimeout(()=>{H(!1)},200)),l){De({draggedDistance:r*(T===`bottom`||T===`right`?1:-1),closeDrawer:$,velocity:i,dismissible:h}),c?.(e,!0);return}if(T===`bottom`||T===`right`?r>0:r<0){Fe(),c?.(e,!0);return}if(i>oe){$(),c?.(e,!1);return}let a=Math.min(Y.current.getBoundingClientRect().height??0,window.innerHeight),o=Math.min(Y.current.getBoundingClientRect().width??0,window.innerWidth);Math.abs(t)>=(T===`left`||T===`right`?o:a)*p?($(),c?.(e,!1)):(c?.(e,!0),Fe())}n.default.useEffect(()=>(I&&(k(document.documentElement,{scrollBehavior:`auto`}),W.current=new Date),()=>{ie(document.documentElement,`scrollBehavior`)}),[I]);function Re(e){let t=e?(window.innerWidth-P)/window.innerWidth:1,n=e?-16:0;ve.current&&window.clearTimeout(ve.current),k(Y.current,{transition:`transform ${N.DURATION}s cubic-bezier(${N.EASE.join(`,`)})`,transform:A(T)?`scale(${t}) translate3d(0, ${n}px, 0)`:`scale(${t}) translate3d(${n}px, 0, 0)`}),!e&&Y.current&&(ve.current=setTimeout(()=>{let e=j(Y.current,T);k(Y.current,{transition:`none`,transform:A(T)?`translate3d(0, ${e}px, 0)`:`translate3d(${e}px, 0, 0)`})},500))}function ze(e,t){if(t<0)return;let n=(window.innerWidth-P)/window.innerWidth,r=n+t*(1-n),i=-16+t*P;k(Y.current,{transform:A(T)?`scale(${r}) translate3d(0, ${i}px, 0)`:`scale(${r}) translate3d(${i}px, 0, 0)`,transition:`none`})}function Be(e,t){let n=A(T)?window.innerHeight:window.innerWidth,r=t?(n-P)/n:1,i=t?-16:0;t&&k(Y.current,{transition:`transform ${N.DURATION}s cubic-bezier(${N.EASE.join(`,`)})`,transform:A(T)?`scale(${r}) translate3d(0, ${i}px, 0)`:`scale(${r}) translate3d(${i}px, 0, 0)`})}return n.default.useEffect(()=>{x||window.requestAnimationFrame(()=>{document.body.style.pointerEvents=`auto`})},[x]),n.default.createElement(r.Root,{defaultOpen:E,onOpenChange:e=>{(h||e)&&(e?z(!0):$(!0),L(e))},open:I},n.default.createElement(a.Provider,{value:{activeSnapPoint:Te,snapPoints:l,setActiveSnapPoint:Ee,drawerRef:Y,overlayRef:U,onOpenChange:t,onPress:Me,onRelease:Le,onDrag:Pe,dismissible:h,shouldAnimate:be,handleOnly:g,isOpen:I,isDragging:B,shouldFade:ke,closeDrawer:$,onNestedDrag:ze,onNestedOpenChange:Re,onNestedRelease:Be,keyboardIsOpen:J,modal:x,snapPointsOffset:Z,activeSnapPointIndex:X,direction:T,shouldScaleBackground:u,setBackgroundColorOnScale:d,noBodyStyles:w,container:F,autoFocus:fe}},i))}var z=n.default.forwardRef(function({...e},t){let{overlayRef:i,snapPoints:a,onRelease:s,shouldFade:c,isOpen:l,modal:u,shouldAnimate:d}=o(),f=re(t,i),p=a&&a.length>0;if(!u)return null;let m=n.default.useCallback(e=>s(e),[s]);return n.default.createElement(r.Overlay,{onMouseUp:m,ref:f,"data-vaul-overlay":``,"data-vaul-snap-points":l&&p?`true`:`false`,"data-vaul-snap-points-overlay":l&&c?`true`:`false`,"data-vaul-animate":d?.current?`true`:`false`,...e})});z.displayName=`Drawer.Overlay`;var B=n.default.forwardRef(function({onPointerDownOutside:e,style:t,onOpenAutoFocus:i,...a},s){let{drawerRef:c,onPress:l,onRelease:u,onDrag:d,keyboardIsOpen:f,snapPointsOffset:p,activeSnapPointIndex:m,modal:h,isOpen:g,direction:_,snapPoints:v,container:y,handleOnly:b,shouldAnimate:x,autoFocus:S}=o(),[ee,C]=n.default.useState(!1),w=re(s,c),T=n.default.useRef(null),E=n.default.useRef(null),D=n.default.useRef(!1),te=v&&v.length>0;I();let ne=(e,t,n=0)=>{if(D.current)return!0;let r=Math.abs(e.y),i=Math.abs(e.x),a=i>r,o=[`bottom`,`right`].includes(t)?1:-1;if(t===`left`||t===`right`){if(!(e.x*o<0)&&i>=0&&i<=n)return a}else if(!(e.y*o<0)&&r>=0&&r<=n)return!a;return D.current=!0,!0};n.default.useEffect(()=>{te&&window.requestAnimationFrame(()=>{C(!0)})},[]);function O(e){T.current=null,D.current=!1,u(e)}return n.default.createElement(r.Content,{"data-vaul-drawer-direction":_,"data-vaul-drawer":``,"data-vaul-delayed-snap-points":ee?`true`:`false`,"data-vaul-snap-points":g&&te?`true`:`false`,"data-vaul-custom-container":y?`true`:`false`,"data-vaul-animate":x?.current?`true`:`false`,...a,ref:w,style:p&&p.length>0?{"--snap-point-height":`${p[m??0]}px`,...t}:t,onPointerDown:e=>{b||(a.onPointerDown==null||a.onPointerDown.call(a,e),T.current={x:e.pageX,y:e.pageY},l(e))},onOpenAutoFocus:e=>{i?.(e),S||e.preventDefault()},onPointerDownOutside:t=>{e?.(t),!h||t.defaultPrevented?t.preventDefault():f.current&&=!1},onFocusOutside:e=>{h||e.preventDefault()},onPointerMove:e=>{if(E.current=e,b||(a.onPointerMove==null||a.onPointerMove.call(a,e),!T.current))return;let t=e.pageY-T.current.y,n=e.pageX-T.current.x,r=e.pointerType===`touch`?10:2;ne({x:n,y:t},_,r)?d(e):(Math.abs(n)>r||Math.abs(t)>r)&&(T.current=null)},onPointerUp:e=>{a.onPointerUp==null||a.onPointerUp.call(a,e),T.current=null,D.current=!1,u(e)},onPointerOut:e=>{a.onPointerOut==null||a.onPointerOut.call(a,e),O(E.current)},onContextMenu:e=>{a.onContextMenu==null||a.onContextMenu.call(a,e),E.current&&O(E.current)}})});B.displayName=`Drawer.Content`;var V=250,ge=120,H=n.default.forwardRef(function({preventCycle:e=!1,children:t,...r},i){let{closeDrawer:a,isDragging:s,snapPoints:c,activeSnapPoint:l,setActiveSnapPoint:u,dismissible:d,handleOnly:f,isOpen:p,onPress:m,onDrag:h}=o(),g=n.default.useRef(null),_=n.default.useRef(!1);function v(){_.current?x():window.setTimeout(()=>{y()},ge)}function y(){if(s||e||_.current){x();return}if(x(),!c||c.length===0){d||a();return}if(l===c[c.length-1]&&d){a();return}let t=c.findIndex(e=>e===l);if(t===-1)return;let n=c[t+1];u(n)}function b(){g.current=window.setTimeout(()=>{_.current=!0},V)}function x(){g.current&&window.clearTimeout(g.current),_.current=!1}return n.default.createElement(`div`,{onClick:v,onPointerCancel:x,onPointerDown:e=>{f&&m(e),b()},onPointerMove:e=>{f&&h(e)},ref:i,"data-vaul-drawer-visible":p?`true`:`false`,"data-vaul-handle":``,"aria-hidden":`true`,...r},n.default.createElement(`span`,{"data-vaul-handle-hitarea":``,"aria-hidden":`true`},t))});H.displayName=`Drawer.Handle`;function U({onDrag:e,onOpenChange:t,open:r,...i}){let{onNestedDrag:a,onNestedOpenChange:s,onNestedRelease:c}=o();if(!a)throw Error(`Drawer.NestedRoot must be placed in another drawer`);return n.default.createElement(R,{nested:!0,open:r,onClose:()=>{s(!1)},onDrag:(t,n)=>{a(t,n),e?.(t,n)},onOpenChange:e=>{e&&s(e),t?.(e)},onRelease:c,...i})}function W(e){let t=o(),{container:i=t.container,...a}=e;return n.default.createElement(r.Portal,{container:i,...a})}var G={Root:R,NestedRoot:U,Content:B,Overlay:z,Trigger:r.Trigger,Portal:W,Handle:H,Close:r.Close,Title:r.Title,Description:r.Description};exports.Content=B,exports.Drawer=G,exports.Handle=H,exports.NestedRoot=U,exports.Overlay=z,exports.Portal=W,exports.Root=R;
package/dist/index106.cjs DELETED
@@ -1 +0,0 @@
1
- const e=require("./index2.cjs"),t=require("./index8.cjs"),n=require("./index105.cjs");let r=require("@stylexjs/stylex");r=e.__toESM(r,1);let i=require("react/jsx-runtime"),a=require("react");a=e.__toESM(a,1);let o=require("react/compiler-runtime");var s={overlay:{kVAEAm:`xixxii4`,kpwlN0:`x10a8y8t`,kY2c9j:`xa9119d`,kWkggS:`xcpsgoo`,kKVMdj:`xqcmdr3`,k44tkh:`x5hsz1j`,$$css:!0},content:{kVAEAm:`xixxii4`,krVfgx:`x1ey2m1c`,kbCHJM:`xu96u03`,kCIrl2:`x3m8u43`,kY2c9j:`xfa8aoj`,k1xSpc:`x78zum5`,kXwgrk:`xdt5ytf`,kskxy:`xhd83ik`,kIxVMA:`xac9x3l`,ksF3WI:`x1l9ce0y`,kEafiO:`x178xt8z`,kPef9Z:`x13fuv20`,kLZC3w:`xh5ekmr`,kWkggS:`x1be509`,kMwMTN:`xap3l8t`,kGVxlE:`x18uglnr`,kI3sdo:`x1a2a7pz`,kB7OPa:`x9f619`,kKVMdj:`xdd610l`,k44tkh:`xs4xyr0`,kyAemX:`xa0mk88`,$$css:!0},header:{k1xSpc:`x78zum5`,kXwgrk:`xdt5ytf`,kOIVth:`xpj7pl4`,kmVPX3:`x4couov`,k9WMMc:`x2b8uid`,$$css:!0},footer:{keoZOQ:`xr1yuqi`,k1xSpc:`x78zum5`,kXwgrk:`xdt5ytf`,kOIVth:`x13z6uf9`,kmVPX3:`x4couov`,$$css:!0},title:{kogj98:`x1ghz6dp`,kGuDYH:`x1c3i2sq`,k63SB2:`x1s688f`,kMwMTN:`x84br7x`,$$css:!0},description:{kogj98:`x1ghz6dp`,kGuDYH:`xkpwil5`,kMwMTN:`xw3nh4a`,$$css:!0}};function c({shouldScaleBackground:e=!0,...t}){return(0,i.jsx)(n.Drawer.Root,{"data-slot":`drawer`,shouldScaleBackground:e,...t})}function l(e){let t=(0,o.c)(2),r;return t[0]===e?r=t[1]:(r=(0,i.jsx)(n.Drawer.Trigger,{"data-slot":`drawer-trigger`,...e}),t[0]=e,t[1]=r),r}function u(e){let t=(0,o.c)(2),r;return t[0]===e?r=t[1]:(r=(0,i.jsx)(n.Drawer.Portal,{"data-slot":`drawer-portal`,...e}),t[0]=e,t[1]=r),r}function d(e){let t=(0,o.c)(2),r;return t[0]===e?r=t[1]:(r=(0,i.jsx)(n.Drawer.Close,{"data-slot":`drawer-close`,...e}),t[0]=e,t[1]=r),r}function f(e){let a=(0,o.c)(19),c,l,u,d;a[0]===e?(c=a[1],l=a[2],u=a[3],d=a[4]):({className:c,sx:d,style:u,...l}=e,a[0]=e,a[1]=c,a[2]=l,a[3]=u,a[4]=d);let f=t.useZIndex(`overlay`),p;a[5]===d?p=a[6]:(p=r.props(s.overlay,d),a[5]=d,a[6]=p);let m=p,h;a[7]!==u||a[8]!==m.style||a[9]!==f?(h={zIndex:f,...m.style,...u},a[7]=u,a[8]=m.style,a[9]=f,a[10]=h):h=a[10];let g;a[11]!==c||a[12]!==m.className?(g=c?`${m.className||``} ${c}`.trim():m.className,a[11]=c,a[12]=m.className,a[13]=g):g=a[13];let _;return a[14]!==l||a[15]!==m||a[16]!==h||a[17]!==g?(_=(0,i.jsx)(n.Drawer.Overlay,{"data-slot":`drawer-overlay`,...m,style:h,className:g,...l}),a[14]=l,a[15]=m,a[16]=h,a[17]=g,a[18]=_):_=a[18],_}function p(e){let a=(0,o.c)(30),c,l,d,p,m;a[0]===e?(c=a[1],l=a[2],d=a[3],p=a[4],m=a[5]):({className:l,children:c,sx:m,style:p,...d}=e,a[0]=e,a[1]=c,a[2]=l,a[3]=d,a[4]=p,a[5]=m);let h=t.useZIndex(`drawer`),g;a[6]===m?g=a[7]:(g=r.props(s.content,m),a[6]=m,a[7]=g);let _=g,v;a[8]===h?v=a[9]:(v=(0,i.jsx)(f,{style:{zIndex:h}}),a[8]=h,a[9]=v);let y=h+1,b;a[10]!==p||a[11]!==_.style||a[12]!==y?(b={zIndex:y,..._.style,...p},a[10]=p,a[11]=_.style,a[12]=y,a[13]=b):b=a[13];let x;a[14]!==l||a[15]!==_.className?(x=l?`${_.className||``} ${l}`.trim():_.className,a[14]=l,a[15]=_.className,a[16]=x):x=a[16];let S=h+10,C;a[17]===Symbol.for(`react.memo_cache_sentinel`)?(C=(0,i.jsx)(`div`,{"data-slot":`drawer-handle`,className:`xvueqy4 xhj8ucd x1hpqcdg x16wp3ig x188tqju x7xypw4 xqtjmn6 xti2d7y x2lah0s`}),a[17]=C):C=a[17];let w;a[18]!==c||a[19]!==S?(w=(0,i.jsxs)(t.ZIndexProvider,{value:S,children:[C,c]}),a[18]=c,a[19]=S,a[20]=w):w=a[20];let T;a[21]!==d||a[22]!==_||a[23]!==b||a[24]!==x||a[25]!==w?(T=(0,i.jsx)(n.Drawer.Content,{"data-slot":`drawer-content`,..._,style:b,className:x,...d,children:w}),a[21]=d,a[22]=_,a[23]=b,a[24]=x,a[25]=w,a[26]=T):T=a[26];let E;return a[27]!==v||a[28]!==T?(E=(0,i.jsxs)(u,{"data-slot":`drawer-portal`,children:[v,T]}),a[27]=v,a[28]=T,a[29]=E):E=a[29],E}function m(e){let t=(0,o.c)(13),n,a,c;t[0]===e?(n=t[1],a=t[2],c=t[3]):({className:n,sx:c,...a}=e,t[0]=e,t[1]=n,t[2]=a,t[3]=c);let l;t[4]===c?l=t[5]:(l=r.props(s.header,c),t[4]=c,t[5]=l);let u=l,d;t[6]!==n||t[7]!==u.className?(d=n?`${u.className||``} ${n}`.trim():u.className,t[6]=n,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":`drawer-header`,...u,className:d,...a}),t[9]=a,t[10]=u,t[11]=d,t[12]=f):f=t[12],f}function h(e){let t=(0,o.c)(13),n,a,c;t[0]===e?(n=t[1],a=t[2],c=t[3]):({className:n,sx:c,...a}=e,t[0]=e,t[1]=n,t[2]=a,t[3]=c);let l;t[4]===c?l=t[5]:(l=r.props(s.footer,c),t[4]=c,t[5]=l);let u=l,d;t[6]!==n||t[7]!==u.className?(d=n?`${u.className||``} ${n}`.trim():u.className,t[6]=n,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":`drawer-footer`,...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),a,c,l;t[0]===e?(a=t[1],c=t[2],l=t[3]):({className:a,sx:l,...c}=e,t[0]=e,t[1]=a,t[2]=c,t[3]=l);let u;t[4]===l?u=t[5]:(u=r.props(s.title,l),t[4]=l,t[5]=u);let d=u,f;t[6]!==a||t[7]!==d.className?(f=a?`${d.className||``} ${a}`.trim():d.className,t[6]=a,t[7]=d.className,t[8]=f):f=t[8];let p;return t[9]!==c||t[10]!==d||t[11]!==f?(p=(0,i.jsx)(n.Drawer.Title,{"data-slot":`drawer-title`,...d,className:f,...c}),t[9]=c,t[10]=d,t[11]=f,t[12]=p):p=t[12],p}function _(e){let t=(0,o.c)(13),a,c,l;t[0]===e?(a=t[1],c=t[2],l=t[3]):({className:a,sx:l,...c}=e,t[0]=e,t[1]=a,t[2]=c,t[3]=l);let u;t[4]===l?u=t[5]:(u=r.props(s.description,l),t[4]=l,t[5]=u);let d=u,f;t[6]!==a||t[7]!==d.className?(f=a?`${d.className||``} ${a}`.trim():d.className,t[6]=a,t[7]=d.className,t[8]=f):f=t[8];let p;return t[9]!==c||t[10]!==d||t[11]!==f?(p=(0,i.jsx)(n.Drawer.Description,{"data-slot":`drawer-description`,...d,className:f,...c}),t[9]=c,t[10]=d,t[11]=f,t[12]=p):p=t[12],p}exports.Drawer=c,exports.DrawerClose=d,exports.DrawerContent=p,exports.DrawerDescription=_,exports.DrawerFooter=h,exports.DrawerHeader=m,exports.DrawerOverlay=f,exports.DrawerPortal=u,exports.DrawerTitle=g,exports.DrawerTrigger=l;
package/dist/index106.js DELETED
@@ -1,222 +0,0 @@
1
- import { ZIndexProvider as e, useZIndex as t } from "./index8.js";
2
- import { Drawer as n } from "./index105.js";
3
- import * as r from "@stylexjs/stylex";
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
- // src/ui/drawer.tsx
8
- var s = {
9
- overlay: {
10
- kVAEAm: "xixxii4",
11
- kpwlN0: "x10a8y8t",
12
- kY2c9j: "xa9119d",
13
- kWkggS: "xcpsgoo",
14
- kKVMdj: "xqcmdr3",
15
- k44tkh: "x5hsz1j",
16
- $$css: !0
17
- },
18
- content: {
19
- kVAEAm: "xixxii4",
20
- krVfgx: "x1ey2m1c",
21
- kbCHJM: "xu96u03",
22
- kCIrl2: "x3m8u43",
23
- kY2c9j: "xfa8aoj",
24
- k1xSpc: "x78zum5",
25
- kXwgrk: "xdt5ytf",
26
- kskxy: "xhd83ik",
27
- kIxVMA: "xac9x3l",
28
- ksF3WI: "x1l9ce0y",
29
- kEafiO: "x178xt8z",
30
- kPef9Z: "x13fuv20",
31
- kLZC3w: "xh5ekmr",
32
- kWkggS: "x1be509",
33
- kMwMTN: "xap3l8t",
34
- kGVxlE: "x18uglnr",
35
- kI3sdo: "x1a2a7pz",
36
- kB7OPa: "x9f619",
37
- kKVMdj: "xdd610l",
38
- k44tkh: "xs4xyr0",
39
- kyAemX: "xa0mk88",
40
- $$css: !0
41
- },
42
- header: {
43
- k1xSpc: "x78zum5",
44
- kXwgrk: "xdt5ytf",
45
- kOIVth: "xpj7pl4",
46
- kmVPX3: "x4couov",
47
- k9WMMc: "x2b8uid",
48
- $$css: !0
49
- },
50
- footer: {
51
- keoZOQ: "xr1yuqi",
52
- k1xSpc: "x78zum5",
53
- kXwgrk: "xdt5ytf",
54
- kOIVth: "x13z6uf9",
55
- kmVPX3: "x4couov",
56
- $$css: !0
57
- },
58
- title: {
59
- kogj98: "x1ghz6dp",
60
- kGuDYH: "x1c3i2sq",
61
- k63SB2: "x1s688f",
62
- kMwMTN: "x84br7x",
63
- $$css: !0
64
- },
65
- description: {
66
- kogj98: "x1ghz6dp",
67
- kGuDYH: "xkpwil5",
68
- kMwMTN: "xw3nh4a",
69
- $$css: !0
70
- }
71
- };
72
- function c({ shouldScaleBackground: e = !0, ...t }) {
73
- return /* @__PURE__ */ i(n.Root, {
74
- "data-slot": "drawer",
75
- shouldScaleBackground: e,
76
- ...t
77
- });
78
- }
79
- function l(e) {
80
- let t = o(2), r;
81
- return t[0] === e ? r = t[1] : (r = /* @__PURE__ */ i(n.Trigger, {
82
- "data-slot": "drawer-trigger",
83
- ...e
84
- }), t[0] = e, t[1] = r), r;
85
- }
86
- function u(e) {
87
- let t = o(2), r;
88
- return t[0] === e ? r = t[1] : (r = /* @__PURE__ */ i(n.Portal, {
89
- "data-slot": "drawer-portal",
90
- ...e
91
- }), t[0] = e, t[1] = r), r;
92
- }
93
- function d(e) {
94
- let t = o(2), r;
95
- return t[0] === e ? r = t[1] : (r = /* @__PURE__ */ i(n.Close, {
96
- "data-slot": "drawer-close",
97
- ...e
98
- }), t[0] = e, t[1] = r), r;
99
- }
100
- function f(e) {
101
- let a = o(19), c, l, u, d;
102
- a[0] === e ? (c = a[1], l = a[2], u = a[3], d = a[4]) : ({className: c, sx: d, style: u, ...l} = e, a[0] = e, a[1] = c, a[2] = l, a[3] = u, a[4] = d);
103
- let f = t("overlay"), p;
104
- a[5] === d ? p = a[6] : (p = r.props(s.overlay, d), a[5] = d, a[6] = p);
105
- let m = p, h;
106
- a[7] !== u || a[8] !== m.style || a[9] !== f ? (h = {
107
- zIndex: f,
108
- ...m.style,
109
- ...u
110
- }, a[7] = u, a[8] = m.style, a[9] = f, a[10] = h) : h = a[10];
111
- let g;
112
- a[11] !== c || a[12] !== m.className ? (g = c ? `${m.className || ""} ${c}`.trim() : m.className, a[11] = c, a[12] = m.className, a[13] = g) : g = a[13];
113
- let _;
114
- return a[14] !== l || a[15] !== m || a[16] !== h || a[17] !== g ? (_ = /* @__PURE__ */ i(n.Overlay, {
115
- "data-slot": "drawer-overlay",
116
- ...m,
117
- style: h,
118
- className: g,
119
- ...l
120
- }), a[14] = l, a[15] = m, a[16] = h, a[17] = g, a[18] = _) : _ = a[18], _;
121
- }
122
- function p(c) {
123
- let l = o(30), d, p, m, h, g;
124
- l[0] === c ? (d = l[1], p = l[2], m = l[3], h = l[4], g = l[5]) : ({className: p, children: d, sx: g, style: h, ...m} = c, l[0] = c, l[1] = d, l[2] = p, l[3] = m, l[4] = h, l[5] = g);
125
- let _ = t("drawer"), v;
126
- l[6] === g ? v = l[7] : (v = r.props(s.content, g), l[6] = g, l[7] = v);
127
- let y = v, b;
128
- l[8] === _ ? b = l[9] : (b = /* @__PURE__ */ i(f, { style: { zIndex: _ } }), l[8] = _, l[9] = b);
129
- let x = _ + 1, S;
130
- l[10] !== h || l[11] !== y.style || l[12] !== x ? (S = {
131
- zIndex: x,
132
- ...y.style,
133
- ...h
134
- }, l[10] = h, l[11] = y.style, l[12] = x, l[13] = S) : S = l[13];
135
- let C;
136
- l[14] !== p || l[15] !== y.className ? (C = p ? `${y.className || ""} ${p}`.trim() : y.className, l[14] = p, l[15] = y.className, l[16] = C) : C = l[16];
137
- let w = _ + 10, T;
138
- l[17] === Symbol.for("react.memo_cache_sentinel") ? (T = /* @__PURE__ */ i("div", {
139
- "data-slot": "drawer-handle",
140
- className: "xvueqy4 xhj8ucd x1hpqcdg x16wp3ig x188tqju x7xypw4 xqtjmn6 xti2d7y x2lah0s"
141
- }), l[17] = T) : T = l[17];
142
- let E;
143
- l[18] !== d || l[19] !== w ? (E = /* @__PURE__ */ a(e, {
144
- value: w,
145
- children: [T, d]
146
- }), l[18] = d, l[19] = w, l[20] = E) : E = l[20];
147
- let D;
148
- l[21] !== m || l[22] !== y || l[23] !== S || l[24] !== C || l[25] !== E ? (D = /* @__PURE__ */ i(n.Content, {
149
- "data-slot": "drawer-content",
150
- ...y,
151
- style: S,
152
- className: C,
153
- ...m,
154
- children: E
155
- }), l[21] = m, l[22] = y, l[23] = S, l[24] = C, l[25] = E, l[26] = D) : D = l[26];
156
- let O;
157
- return l[27] !== b || l[28] !== D ? (O = /* @__PURE__ */ a(u, {
158
- "data-slot": "drawer-portal",
159
- children: [b, D]
160
- }), l[27] = b, l[28] = D, l[29] = O) : O = l[29], O;
161
- }
162
- function m(e) {
163
- let t = o(13), n, a, c;
164
- t[0] === e ? (n = t[1], a = t[2], c = t[3]) : ({className: n, sx: c, ...a} = e, t[0] = e, t[1] = n, t[2] = a, t[3] = c);
165
- let l;
166
- t[4] === c ? l = t[5] : (l = r.props(s.header, c), t[4] = c, t[5] = l);
167
- let u = l, d;
168
- t[6] !== n || t[7] !== u.className ? (d = n ? `${u.className || ""} ${n}`.trim() : u.className, t[6] = n, t[7] = u.className, t[8] = d) : d = t[8];
169
- let f;
170
- return t[9] !== a || t[10] !== u || t[11] !== d ? (f = /* @__PURE__ */ i("div", {
171
- "data-slot": "drawer-header",
172
- ...u,
173
- className: d,
174
- ...a
175
- }), t[9] = a, t[10] = u, t[11] = d, t[12] = f) : f = t[12], f;
176
- }
177
- function h(e) {
178
- let t = o(13), n, a, c;
179
- t[0] === e ? (n = t[1], a = t[2], c = t[3]) : ({className: n, sx: c, ...a} = e, t[0] = e, t[1] = n, t[2] = a, t[3] = c);
180
- let l;
181
- t[4] === c ? l = t[5] : (l = r.props(s.footer, c), t[4] = c, t[5] = l);
182
- let u = l, d;
183
- t[6] !== n || t[7] !== u.className ? (d = n ? `${u.className || ""} ${n}`.trim() : u.className, t[6] = n, t[7] = u.className, t[8] = d) : d = t[8];
184
- let f;
185
- return t[9] !== a || t[10] !== u || t[11] !== d ? (f = /* @__PURE__ */ i("div", {
186
- "data-slot": "drawer-footer",
187
- ...u,
188
- className: d,
189
- ...a
190
- }), t[9] = a, t[10] = u, t[11] = d, t[12] = f) : f = t[12], f;
191
- }
192
- function g(e) {
193
- let t = o(13), a, c, l;
194
- t[0] === e ? (a = t[1], c = t[2], l = t[3]) : ({className: a, sx: l, ...c} = e, t[0] = e, t[1] = a, t[2] = c, t[3] = l);
195
- let u;
196
- t[4] === l ? u = t[5] : (u = r.props(s.title, l), t[4] = l, t[5] = u);
197
- let d = u, f;
198
- t[6] !== a || t[7] !== d.className ? (f = a ? `${d.className || ""} ${a}`.trim() : d.className, t[6] = a, t[7] = d.className, t[8] = f) : f = t[8];
199
- let p;
200
- return t[9] !== c || t[10] !== d || t[11] !== f ? (p = /* @__PURE__ */ i(n.Title, {
201
- "data-slot": "drawer-title",
202
- ...d,
203
- className: f,
204
- ...c
205
- }), t[9] = c, t[10] = d, t[11] = f, t[12] = p) : p = t[12], p;
206
- }
207
- function _(e) {
208
- let t = o(13), a, c, l;
209
- t[0] === e ? (a = t[1], c = t[2], l = t[3]) : ({className: a, sx: l, ...c} = e, t[0] = e, t[1] = a, t[2] = c, t[3] = l);
210
- let u;
211
- t[4] === l ? u = t[5] : (u = r.props(s.description, l), t[4] = l, t[5] = u);
212
- let d = u, f;
213
- t[6] !== a || t[7] !== d.className ? (f = a ? `${d.className || ""} ${a}`.trim() : d.className, t[6] = a, t[7] = d.className, t[8] = f) : f = t[8];
214
- let p;
215
- return t[9] !== c || t[10] !== d || t[11] !== f ? (p = /* @__PURE__ */ i(n.Description, {
216
- "data-slot": "drawer-description",
217
- ...d,
218
- className: f,
219
- ...c
220
- }), t[9] = c, t[10] = d, t[11] = f, t[12] = p) : p = t[12], p;
221
- }
222
- export { c as Drawer, d as DrawerClose, p as DrawerContent, _ as DrawerDescription, h as DrawerFooter, m as DrawerHeader, f as DrawerOverlay, u as DrawerPortal, g as DrawerTitle, l as DrawerTrigger };
package/dist/index107.cjs DELETED
@@ -1 +0,0 @@
1
- const e=require("./index2.cjs"),t=require("./index8.cjs"),n=require("./index14.cjs");let r=require("@stylexjs/stylex");r=e.__toESM(r,1);let i=require("lucide-react"),a=require("react/jsx-runtime"),o=require("react");o=e.__toESM(o,1);let s=require("react/compiler-runtime"),c=require("@radix-ui/react-dropdown-menu");c=e.__toESM(c,1);var l={content:{kY2c9j:`x11uqc5h`,k7Eaqz:`xzhy1st`,kVQacm:`xb3r6kr`,kaIpWk:`xsda711`,kMzoRj:`xmkeg23`,ksu8eU:`x1y0btm7`,kVAM5u:`xb30jbz`,kWkggS:`xa4jey1`,kMwMTN:`x5e7vtp`,kmVPX3:`x78pyy4`,kGVxlE:`xoanrfg`,kI3sdo:`x1a2a7pz`,$$css:!0},item:{kVAEAm:`x1n2onr6`,k1xSpc:`x78zum5`,kkrTdU:`x1ypdohk`,kfSwDN:`x87ps6o`,kGNEyG:`x6s0dn4`,kOIVth:`x13z6uf9`,kaIpWk:`x1q0v2j7`,kg3NbH:`x97vtpp`,k8WAf4:`x1bilvtl`,kGuDYH:`xkpwil5`,kLWn49:`x8r4c90`,kI3sdo:`x1a2a7pz`,kMwMTN:`x84br7x`,k1ekBW:`xs2xxs2`,kIyJzY:`x1g2r6go`,kGzVvX:`x9p52ec`,kDPRdz:`x10ubyu6`,kL3a3j:`xo7ysg2`,kabz5l:`xq7ews2`,k7HAVu:`xaqnwrm`,kWCcOm:`xijokvz`,$$css:!0},itemDestructive:{kMwMTN:`xuuroe4`,kGzVvX:`xooz7ja`,kDPRdz:`x1hm8ab8`,kL3a3j:`xattl7i`,kabz5l:`xgps6c2`,$$css:!0},itemInset:{kE3dHu:`x1oqrxb4`,$$css:!0},label:{kg3NbH:`x97vtpp`,k8WAf4:`x1bilvtl`,kGuDYH:`xboafo0`,k63SB2:`x1s688f`,kMwMTN:`xw3nh4a`,kfSwDN:`x87ps6o`,$$css:!0},separator:{kZKoxP:`xjm9jq1`,kUOVxO:`x15e8ic6`,kqGvvJ:`x8atrpe`,kWkggS:`xwefxjc`,kMzoRj:`xc342km`,$$css:!0},shortcut:{koQZXg:`x8x9d4c`,kGuDYH:`xboafo0`,kb6lSQ:`x1dor1uw`,kMwMTN:`xw3nh4a`,$$css:!0},subTrigger:{k1xSpc:`x78zum5`,kkrTdU:`x1ypdohk`,kfSwDN:`x87ps6o`,kGNEyG:`x6s0dn4`,kOIVth:`x13z6uf9`,kaIpWk:`x1q0v2j7`,kg3NbH:`x97vtpp`,k8WAf4:`x1bilvtl`,kGuDYH:`xkpwil5`,kI3sdo:`x1a2a7pz`,kMwMTN:`x84br7x`,kGzVvX:`x9p52ec`,kDPRdz:`x10ubyu6`,kL3a3j:`xo7ysg2`,kabz5l:`xq7ews2`,$$css:!0}};function u(e){let t=(0,s.c)(2),n;return t[0]===e?n=t[1]:(n=(0,a.jsx)(c.Root,{"data-slot":`dropdown-menu`,...e}),t[0]=e,t[1]=n),n}function d(e){let t=(0,s.c)(2),n;return t[0]===e?n=t[1]:(n=(0,a.jsx)(c.Portal,{"data-slot":`dropdown-menu-portal`,...e}),t[0]=e,t[1]=n),n}function f(e){let t=(0,s.c)(2),n;return t[0]===e?n=t[1]:(n=(0,a.jsx)(c.Trigger,{"data-slot":`dropdown-menu-trigger`,...e}),t[0]=e,t[1]=n),n}function p({className:e,sideOffset:n=4,sx:i,container:o,style:s,children:u,...d}){let f=t.useZIndex(`popover`),p=r.props(l.content,i);return(0,a.jsx)(c.Portal,{container:o,children:(0,a.jsx)(c.Content,{"data-slot":`dropdown-menu-content`,sideOffset:n,...p,style:{zIndex:f,...p.style,...s},className:e?`${p.className||``} ${e}`.trim():p.className,...d,children:(0,a.jsx)(t.ZIndexProvider,{value:f+10,children:u})})})}function m(e){let t=(0,s.c)(2),n;return t[0]===e?n=t[1]:(n=(0,a.jsx)(c.Group,{"data-slot":`dropdown-menu-group`,...e}),t[0]=e,t[1]=n),n}function h({className:e,inset:t,variant:n=`default`,sx:i,...o}){let s=r.props(l.item,n===`destructive`&&l.itemDestructive,t&&l.itemInset,i);return(0,a.jsx)(c.Item,{"data-slot":`dropdown-menu-item`,"data-inset":t,"data-variant":n,...s,className:e?`${s.className||``} ${e}`.trim():s.className,...o})}function g(e){let t=(0,s.c)(18),n,o,u,d,f;t[0]===e?(n=t[1],o=t[2],u=t[3],d=t[4],f=t[5]):({className:u,children:o,checked:n,sx:f,...d}=e,t[0]=e,t[1]=n,t[2]=o,t[3]=u,t[4]=d,t[5]=f);let p;t[6]===f?p=t[7]:(p=r.props(l.item,l.itemInset,f),t[6]=f,t[7]=p);let m=p,h;t[8]!==u||t[9]!==m.className?(h=u?`${m.className||``} ${u}`.trim():m.className,t[8]=u,t[9]=m.className,t[10]=h):h=t[10];let g;t[11]===Symbol.for(`react.memo_cache_sentinel`)?(g=(0,a.jsx)(`span`,{className:`x10l6tqk x1lr0wgl x78zum5 x1xvt488 xf08kfj x6s0dn4 xl56j7k x47corl`,children:(0,a.jsx)(c.ItemIndicator,{children:(0,a.jsx)(i.CheckIcon,{className:`x6jxa94 x1v9usgg`})})}),t[11]=g):g=t[11];let _;return t[12]!==n||t[13]!==o||t[14]!==d||t[15]!==m||t[16]!==h?(_=(0,a.jsxs)(c.CheckboxItem,{"data-slot":`dropdown-menu-checkbox-item`,checked:n,...m,className:h,...d,children:[g,o]}),t[12]=n,t[13]=o,t[14]=d,t[15]=m,t[16]=h,t[17]=_):_=t[17],_}function _(e){let t=(0,s.c)(2),n;return t[0]===e?n=t[1]:(n=(0,a.jsx)(c.RadioGroup,{"data-slot":`dropdown-menu-radio-group`,...e}),t[0]=e,t[1]=n),n}function v(e){let t=(0,s.c)(16),n,o,u,d;t[0]===e?(n=t[1],o=t[2],u=t[3],d=t[4]):({className:o,children:n,sx:d,...u}=e,t[0]=e,t[1]=n,t[2]=o,t[3]=u,t[4]=d);let f;t[5]===d?f=t[6]:(f=r.props(l.item,l.itemInset,d),t[5]=d,t[6]=f);let p=f,m;t[7]!==o||t[8]!==p.className?(m=o?`${p.className||``} ${o}`.trim():p.className,t[7]=o,t[8]=p.className,t[9]=m):m=t[9];let h;t[10]===Symbol.for(`react.memo_cache_sentinel`)?(h=(0,a.jsx)(`span`,{className:`x10l6tqk x1lr0wgl x78zum5 x1xvt488 xf08kfj x6s0dn4 xl56j7k x47corl`,children:(0,a.jsx)(c.ItemIndicator,{children:(0,a.jsx)(i.CircleIcon,{className:`x1xc55vz xdk7pt x117rol3`})})}),t[10]=h):h=t[10];let g;return t[11]!==n||t[12]!==u||t[13]!==p||t[14]!==m?(g=(0,a.jsxs)(c.RadioItem,{"data-slot":`dropdown-menu-radio-item`,...p,className:m,...u,children:[h,n]}),t[11]=n,t[12]=u,t[13]=p,t[14]=m,t[15]=g):g=t[15],g}function y(e){let t=(0,s.c)(16),n,i,o,u;t[0]===e?(n=t[1],i=t[2],o=t[3],u=t[4]):({className:n,inset:i,sx:u,...o}=e,t[0]=e,t[1]=n,t[2]=i,t[3]=o,t[4]=u);let d;t[5]!==i||t[6]!==u?(d=r.props(l.label,i&&l.itemInset,u),t[5]=i,t[6]=u,t[7]=d):d=t[7];let f=d,p;t[8]!==n||t[9]!==f.className?(p=n?`${f.className||``} ${n}`.trim():f.className,t[8]=n,t[9]=f.className,t[10]=p):p=t[10];let m;return t[11]!==i||t[12]!==o||t[13]!==f||t[14]!==p?(m=(0,a.jsx)(c.Label,{"data-slot":`dropdown-menu-label`,"data-inset":i,...f,className:p,...o}),t[11]=i,t[12]=o,t[13]=f,t[14]=p,t[15]=m):m=t[15],m}function b(e){let t=(0,s.c)(13),n,i,o;t[0]===e?(n=t[1],i=t[2],o=t[3]):({className:n,sx:o,...i}=e,t[0]=e,t[1]=n,t[2]=i,t[3]=o);let u;t[4]===o?u=t[5]:(u=r.props(l.separator,o),t[4]=o,t[5]=u);let d=u,f;t[6]!==n||t[7]!==d.className?(f=n?`${d.className||``} ${n}`.trim():d.className,t[6]=n,t[7]=d.className,t[8]=f):f=t[8];let p;return t[9]!==i||t[10]!==d||t[11]!==f?(p=(0,a.jsx)(c.Separator,{"data-slot":`dropdown-menu-separator`,...d,className:f,...i}),t[9]=i,t[10]=d,t[11]=f,t[12]=p):p=t[12],p}function x(e){let t=(0,s.c)(13),i,o,c;t[0]===e?(i=t[1],o=t[2],c=t[3]):({className:i,sx:c,...o}=e,t[0]=e,t[1]=i,t[2]=o,t[3]=c);let u;t[4]===c?u=t[5]:(u=r.props(l.shortcut,c),t[4]=c,t[5]=u);let d=u,f;t[6]!==i||t[7]!==d.className?(f=i?`${d.className||``} ${i}`.trim():d.className,t[6]=i,t[7]=d.className,t[8]=f):f=t[8];let p;return t[9]!==o||t[10]!==d||t[11]!==f?(p=(0,a.jsx)(n.Text,{as:`span`,"data-slot":`dropdown-menu-shortcut`,size:`xs`,type:`secondary`,...d,className:f,...o}),t[9]=o,t[10]=d,t[11]=f,t[12]=p):p=t[12],p}function S(e){let t=(0,s.c)(2),n;return t[0]===e?n=t[1]:(n=(0,a.jsx)(c.Sub,{"data-slot":`dropdown-menu-sub`,...e}),t[0]=e,t[1]=n),n}function C(e){let t=(0,s.c)(19),n,o,u,d,f;t[0]===e?(n=t[1],o=t[2],u=t[3],d=t[4],f=t[5]):({className:o,inset:u,children:n,sx:f,...d}=e,t[0]=e,t[1]=n,t[2]=o,t[3]=u,t[4]=d,t[5]=f);let p;t[6]!==u||t[7]!==f?(p=r.props(l.subTrigger,u&&l.itemInset,f),t[6]=u,t[7]=f,t[8]=p):p=t[8];let m=p,h;t[9]!==o||t[10]!==m.className?(h=o?`${m.className||``} ${o}`.trim():m.className,t[9]=o,t[10]=m.className,t[11]=h):h=t[11];let g;t[12]===Symbol.for(`react.memo_cache_sentinel`)?(g=(0,a.jsx)(i.ChevronRightIcon,{className:`x8x9d4c xcdlrvm x1l36t39`}),t[12]=g):g=t[12];let _;return t[13]!==n||t[14]!==u||t[15]!==d||t[16]!==m||t[17]!==h?(_=(0,a.jsxs)(c.SubTrigger,{"data-slot":`dropdown-menu-sub-trigger`,"data-inset":u,...m,className:h,...d,children:[n,g]}),t[13]=n,t[14]=u,t[15]=d,t[16]=m,t[17]=h,t[18]=_):_=t[18],_}function w(e){let n=(0,s.c)(24),i,o,u,d,f;n[0]===e?(i=n[1],o=n[2],u=n[3],d=n[4],f=n[5]):({className:o,sx:f,style:d,children:i,...u}=e,n[0]=e,n[1]=i,n[2]=o,n[3]=u,n[4]=d,n[5]=f);let p=t.useZIndex(`popover`,1),m;n[6]===f?m=n[7]:(m=r.props(l.content,f),n[6]=f,n[7]=m);let h=m,g;n[8]!==d||n[9]!==h.style||n[10]!==p?(g={zIndex:p,...h.style,...d},n[8]=d,n[9]=h.style,n[10]=p,n[11]=g):g=n[11];let _;n[12]!==o||n[13]!==h.className?(_=o?`${h.className||``} ${o}`.trim():h.className,n[12]=o,n[13]=h.className,n[14]=_):_=n[14];let v=p+10,y;n[15]!==i||n[16]!==v?(y=(0,a.jsx)(t.ZIndexProvider,{value:v,children:i}),n[15]=i,n[16]=v,n[17]=y):y=n[17];let b;return n[18]!==u||n[19]!==h||n[20]!==g||n[21]!==_||n[22]!==y?(b=(0,a.jsx)(c.SubContent,{"data-slot":`dropdown-menu-sub-content`,...h,style:g,className:_,...u,children:y}),n[18]=u,n[19]=h,n[20]=g,n[21]=_,n[22]=y,n[23]=b):b=n[23],b}exports.DropdownMenu=u,exports.DropdownMenuCheckboxItem=g,exports.DropdownMenuContent=p,exports.DropdownMenuGroup=m,exports.DropdownMenuItem=h,exports.DropdownMenuLabel=y,exports.DropdownMenuPortal=d,exports.DropdownMenuRadioGroup=_,exports.DropdownMenuRadioItem=v,exports.DropdownMenuSeparator=b,exports.DropdownMenuShortcut=x,exports.DropdownMenuSub=S,exports.DropdownMenuSubContent=w,exports.DropdownMenuSubTrigger=C,exports.DropdownMenuTrigger=f;
package/dist/index107.js DELETED
@@ -1,319 +0,0 @@
1
- import { ZIndexProvider as e, useZIndex as t } from "./index8.js";
2
- import { Text as n } from "./index14.js";
3
- import * as r from "@stylexjs/stylex";
4
- import { CheckIcon as i, ChevronRightIcon as a, CircleIcon as o } from "lucide-react";
5
- import { jsx as s, jsxs as c } from "react/jsx-runtime";
6
- import "react";
7
- import { c as l } from "react/compiler-runtime";
8
- import * as u from "@radix-ui/react-dropdown-menu";
9
- // src/ui/dropdown-menu.tsx
10
- var d = {
11
- content: {
12
- kY2c9j: "x11uqc5h",
13
- k7Eaqz: "xzhy1st",
14
- kVQacm: "xb3r6kr",
15
- kaIpWk: "xsda711",
16
- kMzoRj: "xmkeg23",
17
- ksu8eU: "x1y0btm7",
18
- kVAM5u: "xb30jbz",
19
- kWkggS: "xa4jey1",
20
- kMwMTN: "x5e7vtp",
21
- kmVPX3: "x78pyy4",
22
- kGVxlE: "xoanrfg",
23
- kI3sdo: "x1a2a7pz",
24
- $$css: !0
25
- },
26
- item: {
27
- kVAEAm: "x1n2onr6",
28
- k1xSpc: "x78zum5",
29
- kkrTdU: "x1ypdohk",
30
- kfSwDN: "x87ps6o",
31
- kGNEyG: "x6s0dn4",
32
- kOIVth: "x13z6uf9",
33
- kaIpWk: "x1q0v2j7",
34
- kg3NbH: "x97vtpp",
35
- k8WAf4: "x1bilvtl",
36
- kGuDYH: "xkpwil5",
37
- kLWn49: "x8r4c90",
38
- kI3sdo: "x1a2a7pz",
39
- kMwMTN: "x84br7x",
40
- k1ekBW: "xs2xxs2",
41
- kIyJzY: "x1g2r6go",
42
- kGzVvX: "x9p52ec",
43
- kDPRdz: "x10ubyu6",
44
- kL3a3j: "xo7ysg2",
45
- kabz5l: "xq7ews2",
46
- k7HAVu: "xaqnwrm",
47
- kWCcOm: "xijokvz",
48
- $$css: !0
49
- },
50
- itemDestructive: {
51
- kMwMTN: "xuuroe4",
52
- kGzVvX: "xooz7ja",
53
- kDPRdz: "x1hm8ab8",
54
- kL3a3j: "xattl7i",
55
- kabz5l: "xgps6c2",
56
- $$css: !0
57
- },
58
- itemInset: {
59
- kE3dHu: "x1oqrxb4",
60
- $$css: !0
61
- },
62
- label: {
63
- kg3NbH: "x97vtpp",
64
- k8WAf4: "x1bilvtl",
65
- kGuDYH: "xboafo0",
66
- k63SB2: "x1s688f",
67
- kMwMTN: "xw3nh4a",
68
- kfSwDN: "x87ps6o",
69
- $$css: !0
70
- },
71
- separator: {
72
- kZKoxP: "xjm9jq1",
73
- kUOVxO: "x15e8ic6",
74
- kqGvvJ: "x8atrpe",
75
- kWkggS: "xwefxjc",
76
- kMzoRj: "xc342km",
77
- $$css: !0
78
- },
79
- shortcut: {
80
- koQZXg: "x8x9d4c",
81
- kGuDYH: "xboafo0",
82
- kb6lSQ: "x1dor1uw",
83
- kMwMTN: "xw3nh4a",
84
- $$css: !0
85
- },
86
- subTrigger: {
87
- k1xSpc: "x78zum5",
88
- kkrTdU: "x1ypdohk",
89
- kfSwDN: "x87ps6o",
90
- kGNEyG: "x6s0dn4",
91
- kOIVth: "x13z6uf9",
92
- kaIpWk: "x1q0v2j7",
93
- kg3NbH: "x97vtpp",
94
- k8WAf4: "x1bilvtl",
95
- kGuDYH: "xkpwil5",
96
- kI3sdo: "x1a2a7pz",
97
- kMwMTN: "x84br7x",
98
- kGzVvX: "x9p52ec",
99
- kDPRdz: "x10ubyu6",
100
- kL3a3j: "xo7ysg2",
101
- kabz5l: "xq7ews2",
102
- $$css: !0
103
- }
104
- };
105
- function f(e) {
106
- let t = l(2), n;
107
- return t[0] === e ? n = t[1] : (n = /* @__PURE__ */ s(u.Root, {
108
- "data-slot": "dropdown-menu",
109
- ...e
110
- }), t[0] = e, t[1] = n), n;
111
- }
112
- function p(e) {
113
- let t = l(2), n;
114
- return t[0] === e ? n = t[1] : (n = /* @__PURE__ */ s(u.Portal, {
115
- "data-slot": "dropdown-menu-portal",
116
- ...e
117
- }), t[0] = e, t[1] = n), n;
118
- }
119
- function m(e) {
120
- let t = l(2), n;
121
- return t[0] === e ? n = t[1] : (n = /* @__PURE__ */ s(u.Trigger, {
122
- "data-slot": "dropdown-menu-trigger",
123
- ...e
124
- }), t[0] = e, t[1] = n), n;
125
- }
126
- function h({ className: n, sideOffset: i = 4, sx: a, container: o, style: c, children: l, ...f }) {
127
- let p = t("popover"), m = r.props(d.content, a);
128
- return /* @__PURE__ */ s(u.Portal, {
129
- container: o,
130
- children: /* @__PURE__ */ s(u.Content, {
131
- "data-slot": "dropdown-menu-content",
132
- sideOffset: i,
133
- ...m,
134
- style: {
135
- zIndex: p,
136
- ...m.style,
137
- ...c
138
- },
139
- className: n ? `${m.className || ""} ${n}`.trim() : m.className,
140
- ...f,
141
- children: /* @__PURE__ */ s(e, {
142
- value: p + 10,
143
- children: l
144
- })
145
- })
146
- });
147
- }
148
- function g(e) {
149
- let t = l(2), n;
150
- return t[0] === e ? n = t[1] : (n = /* @__PURE__ */ s(u.Group, {
151
- "data-slot": "dropdown-menu-group",
152
- ...e
153
- }), t[0] = e, t[1] = n), n;
154
- }
155
- function _({ className: e, inset: t, variant: n = "default", sx: i, ...a }) {
156
- let o = r.props(d.item, n === "destructive" && d.itemDestructive, t && d.itemInset, i);
157
- return /* @__PURE__ */ s(u.Item, {
158
- "data-slot": "dropdown-menu-item",
159
- "data-inset": t,
160
- "data-variant": n,
161
- ...o,
162
- className: e ? `${o.className || ""} ${e}`.trim() : o.className,
163
- ...a
164
- });
165
- }
166
- function v(e) {
167
- let t = l(18), n, a, o, f, p;
168
- t[0] === e ? (n = t[1], a = t[2], o = t[3], f = t[4], p = t[5]) : ({className: o, children: a, checked: n, sx: p, ...f} = e, t[0] = e, t[1] = n, t[2] = a, t[3] = o, t[4] = f, t[5] = p);
169
- let m;
170
- t[6] === p ? m = t[7] : (m = r.props(d.item, d.itemInset, p), t[6] = p, t[7] = m);
171
- let h = m, g;
172
- t[8] !== o || t[9] !== h.className ? (g = o ? `${h.className || ""} ${o}`.trim() : h.className, t[8] = o, t[9] = h.className, t[10] = g) : g = t[10];
173
- let _;
174
- t[11] === Symbol.for("react.memo_cache_sentinel") ? (_ = /* @__PURE__ */ s("span", {
175
- className: "x10l6tqk x1lr0wgl x78zum5 x1xvt488 xf08kfj x6s0dn4 xl56j7k x47corl",
176
- children: /* @__PURE__ */ s(u.ItemIndicator, { children: /* @__PURE__ */ s(i, { className: "x6jxa94 x1v9usgg" }) })
177
- }), t[11] = _) : _ = t[11];
178
- let v;
179
- return t[12] !== n || t[13] !== a || t[14] !== f || t[15] !== h || t[16] !== g ? (v = /* @__PURE__ */ c(u.CheckboxItem, {
180
- "data-slot": "dropdown-menu-checkbox-item",
181
- checked: n,
182
- ...h,
183
- className: g,
184
- ...f,
185
- children: [_, a]
186
- }), t[12] = n, t[13] = a, t[14] = f, t[15] = h, t[16] = g, t[17] = v) : v = t[17], v;
187
- }
188
- function y(e) {
189
- let t = l(2), n;
190
- return t[0] === e ? n = t[1] : (n = /* @__PURE__ */ s(u.RadioGroup, {
191
- "data-slot": "dropdown-menu-radio-group",
192
- ...e
193
- }), t[0] = e, t[1] = n), n;
194
- }
195
- function b(e) {
196
- let t = l(16), n, i, a, f;
197
- t[0] === e ? (n = t[1], i = t[2], a = t[3], f = t[4]) : ({className: i, children: n, sx: f, ...a} = e, t[0] = e, t[1] = n, t[2] = i, t[3] = a, t[4] = f);
198
- let p;
199
- t[5] === f ? p = t[6] : (p = r.props(d.item, d.itemInset, f), t[5] = f, t[6] = p);
200
- let m = p, h;
201
- t[7] !== i || t[8] !== m.className ? (h = i ? `${m.className || ""} ${i}`.trim() : m.className, t[7] = i, t[8] = m.className, t[9] = h) : h = t[9];
202
- let g;
203
- t[10] === Symbol.for("react.memo_cache_sentinel") ? (g = /* @__PURE__ */ s("span", {
204
- className: "x10l6tqk x1lr0wgl x78zum5 x1xvt488 xf08kfj x6s0dn4 xl56j7k x47corl",
205
- children: /* @__PURE__ */ s(u.ItemIndicator, { children: /* @__PURE__ */ s(o, { className: "x1xc55vz xdk7pt x117rol3" }) })
206
- }), t[10] = g) : g = t[10];
207
- let _;
208
- return t[11] !== n || t[12] !== a || t[13] !== m || t[14] !== h ? (_ = /* @__PURE__ */ c(u.RadioItem, {
209
- "data-slot": "dropdown-menu-radio-item",
210
- ...m,
211
- className: h,
212
- ...a,
213
- children: [g, n]
214
- }), t[11] = n, t[12] = a, t[13] = m, t[14] = h, t[15] = _) : _ = t[15], _;
215
- }
216
- function x(e) {
217
- let t = l(16), n, i, a, o;
218
- t[0] === e ? (n = t[1], i = t[2], a = t[3], o = t[4]) : ({className: n, inset: i, sx: o, ...a} = e, t[0] = e, t[1] = n, t[2] = i, t[3] = a, t[4] = o);
219
- let c;
220
- t[5] !== i || t[6] !== o ? (c = r.props(d.label, i && d.itemInset, o), t[5] = i, t[6] = o, t[7] = c) : c = t[7];
221
- let f = c, p;
222
- t[8] !== n || t[9] !== f.className ? (p = n ? `${f.className || ""} ${n}`.trim() : f.className, t[8] = n, t[9] = f.className, t[10] = p) : p = t[10];
223
- let m;
224
- return t[11] !== i || t[12] !== a || t[13] !== f || t[14] !== p ? (m = /* @__PURE__ */ s(u.Label, {
225
- "data-slot": "dropdown-menu-label",
226
- "data-inset": i,
227
- ...f,
228
- className: p,
229
- ...a
230
- }), t[11] = i, t[12] = a, t[13] = f, t[14] = p, t[15] = m) : m = t[15], m;
231
- }
232
- function S(e) {
233
- let t = l(13), n, i, a;
234
- t[0] === e ? (n = t[1], i = t[2], a = t[3]) : ({className: n, sx: a, ...i} = e, t[0] = e, t[1] = n, t[2] = i, t[3] = a);
235
- let o;
236
- t[4] === a ? o = t[5] : (o = r.props(d.separator, a), t[4] = a, t[5] = o);
237
- let c = o, f;
238
- t[6] !== n || t[7] !== c.className ? (f = n ? `${c.className || ""} ${n}`.trim() : c.className, t[6] = n, t[7] = c.className, t[8] = f) : f = t[8];
239
- let p;
240
- return t[9] !== i || t[10] !== c || t[11] !== f ? (p = /* @__PURE__ */ s(u.Separator, {
241
- "data-slot": "dropdown-menu-separator",
242
- ...c,
243
- className: f,
244
- ...i
245
- }), t[9] = i, t[10] = c, t[11] = f, t[12] = p) : p = t[12], p;
246
- }
247
- function C(e) {
248
- let t = l(13), i, a, o;
249
- t[0] === e ? (i = t[1], a = t[2], o = t[3]) : ({className: i, sx: o, ...a} = e, t[0] = e, t[1] = i, t[2] = a, t[3] = o);
250
- let c;
251
- t[4] === o ? c = t[5] : (c = r.props(d.shortcut, o), t[4] = o, t[5] = c);
252
- let u = c, f;
253
- t[6] !== i || t[7] !== u.className ? (f = i ? `${u.className || ""} ${i}`.trim() : u.className, t[6] = i, t[7] = u.className, t[8] = f) : f = t[8];
254
- let p;
255
- return t[9] !== a || t[10] !== u || t[11] !== f ? (p = /* @__PURE__ */ s(n, {
256
- as: "span",
257
- "data-slot": "dropdown-menu-shortcut",
258
- size: "xs",
259
- type: "secondary",
260
- ...u,
261
- className: f,
262
- ...a
263
- }), t[9] = a, t[10] = u, t[11] = f, t[12] = p) : p = t[12], p;
264
- }
265
- function w(e) {
266
- let t = l(2), n;
267
- return t[0] === e ? n = t[1] : (n = /* @__PURE__ */ s(u.Sub, {
268
- "data-slot": "dropdown-menu-sub",
269
- ...e
270
- }), t[0] = e, t[1] = n), n;
271
- }
272
- function T(e) {
273
- let t = l(19), n, i, o, f, p;
274
- t[0] === e ? (n = t[1], i = t[2], o = t[3], f = t[4], p = t[5]) : ({className: i, inset: o, children: n, sx: p, ...f} = e, t[0] = e, t[1] = n, t[2] = i, t[3] = o, t[4] = f, t[5] = p);
275
- let m;
276
- t[6] !== o || t[7] !== p ? (m = r.props(d.subTrigger, o && d.itemInset, p), t[6] = o, t[7] = p, t[8] = m) : m = t[8];
277
- let h = m, g;
278
- t[9] !== i || t[10] !== h.className ? (g = i ? `${h.className || ""} ${i}`.trim() : h.className, t[9] = i, t[10] = h.className, t[11] = g) : g = t[11];
279
- let _;
280
- t[12] === Symbol.for("react.memo_cache_sentinel") ? (_ = /* @__PURE__ */ s(a, { className: "x8x9d4c xcdlrvm x1l36t39" }), t[12] = _) : _ = t[12];
281
- let v;
282
- return t[13] !== n || t[14] !== o || t[15] !== f || t[16] !== h || t[17] !== g ? (v = /* @__PURE__ */ c(u.SubTrigger, {
283
- "data-slot": "dropdown-menu-sub-trigger",
284
- "data-inset": o,
285
- ...h,
286
- className: g,
287
- ...f,
288
- children: [n, _]
289
- }), t[13] = n, t[14] = o, t[15] = f, t[16] = h, t[17] = g, t[18] = v) : v = t[18], v;
290
- }
291
- function E(n) {
292
- let i = l(24), a, o, c, f, p;
293
- i[0] === n ? (a = i[1], o = i[2], c = i[3], f = i[4], p = i[5]) : ({className: o, sx: p, style: f, children: a, ...c} = n, i[0] = n, i[1] = a, i[2] = o, i[3] = c, i[4] = f, i[5] = p);
294
- let m = t("popover", 1), h;
295
- i[6] === p ? h = i[7] : (h = r.props(d.content, p), i[6] = p, i[7] = h);
296
- let g = h, _;
297
- i[8] !== f || i[9] !== g.style || i[10] !== m ? (_ = {
298
- zIndex: m,
299
- ...g.style,
300
- ...f
301
- }, i[8] = f, i[9] = g.style, i[10] = m, i[11] = _) : _ = i[11];
302
- let v;
303
- i[12] !== o || i[13] !== g.className ? (v = o ? `${g.className || ""} ${o}`.trim() : g.className, i[12] = o, i[13] = g.className, i[14] = v) : v = i[14];
304
- let y = m + 10, b;
305
- i[15] !== a || i[16] !== y ? (b = /* @__PURE__ */ s(e, {
306
- value: y,
307
- children: a
308
- }), i[15] = a, i[16] = y, i[17] = b) : b = i[17];
309
- let x;
310
- return i[18] !== c || i[19] !== g || i[20] !== _ || i[21] !== v || i[22] !== b ? (x = /* @__PURE__ */ s(u.SubContent, {
311
- "data-slot": "dropdown-menu-sub-content",
312
- ...g,
313
- style: _,
314
- className: v,
315
- ...c,
316
- children: b
317
- }), i[18] = c, i[19] = g, i[20] = _, i[21] = v, i[22] = b, i[23] = x) : x = i[23], x;
318
- }
319
- export { f as DropdownMenu, v as DropdownMenuCheckboxItem, h as DropdownMenuContent, g as DropdownMenuGroup, _ as DropdownMenuItem, x as DropdownMenuLabel, p as DropdownMenuPortal, y as DropdownMenuRadioGroup, b as DropdownMenuRadioItem, S as DropdownMenuSeparator, C as DropdownMenuShortcut, w as DropdownMenuSub, E as DropdownMenuSubContent, T as DropdownMenuSubTrigger, m as DropdownMenuTrigger };
package/dist/index108.cjs DELETED
@@ -1 +0,0 @@
1
- const e=require("./index2.cjs"),t=require("./index14.cjs"),n=require("./index22.cjs");let r=require("@stylexjs/stylex");r=e.__toESM(r,1);let i=require("react/jsx-runtime"),a=require("react"),o=e.__toESM(a,1);a=e.__toESM(a);let s=require("react/compiler-runtime");var c=o.createContext(null);function l(e){let t=o.useContext(c);if(!t)throw Error(`${e} must be used within an Editable`);return t}var u={root:{k1xSpc:`x3nfvp2`,kGNEyG:`x6s0dn4`,kzqmXN:`xeq5yr9`,ks0D6T:`x193iq5w`,$$css:!0},area:{kVAEAm:`x1n2onr6`,k1xSpc:`x3nfvp2`,kGNEyG:`x6s0dn4`,kOIVth:`x1m5ztt4`,kzqmXN:`xh8yej3`,$$css:!0},preview:{k1xSpc:`x3nfvp2`,kGNEyG:`x6s0dn4`,kaIpWk:`x1q0v2j7`,kg3NbH:`xvg6gpc`,k8WAf4:`x1dus959`,kkrTdU:`x1ypdohk`,kMwMTN:`x84br7x`,k1ekBW:`xs2xxs2`,kIyJzY:`xx6bhzk`,kGzVvX:`x165v80h`,$$css:!0},previewPlaceholder:{kMwMTN:`xw3nh4a`,$$css:!0},previewDisabled:{kkrTdU:`x1h6gzvc`,kSiTet:`xbyyjgo`,kGzVvX:`x1n5bzlp`,$$css:!0},input:{k1xSpc:`x3nfvp2`,kGNEyG:`x6s0dn4`,kaIpWk:`x1q0v2j7`,kMzoRj:`xmkeg23`,ksu8eU:`x1y0btm7`,kVAM5u:`x1puiyjm`,kWkggS:`x1mlyrtw`,kMwMTN:`x84br7x`,kg3NbH:`xvg6gpc`,k8WAf4:`x1dus959`,kI3sdo:`x1a2a7pz`,kGVxlE:`x1ld4rhc`,kGuDYH:`x1qlqyl8`,kLWn49:`x15bjb6t`,kMv6JI:`xjb2p0i`,k7Eaqz:`xz6sds4`,$$css:!0},toolbar:{k1xSpc:`x3nfvp2`,kGNEyG:`x6s0dn4`,kOIVth:`xvh977a`,$$css:!0}};function d({className:e,value:t,defaultValue:n=``,onValueChange:a,onSubmit:s,onCancel:l,editing:d,defaultEditing:f=!1,onEditingChange:p,disabled:m=!1,readOnly:h=!1,placeholder:g=`Click to edit...`,triggerMode:_=`click`,submitOnBlur:v=!0,sx:y,children:b,...x}){let[S,C]=o.useState(n),[w,T]=o.useState(f),E=o.useRef(n),D=t===void 0?S:t,O=d===void 0?w:d,k=o.useCallback(e=>{m||h||(d===void 0&&T(e),p?.(e))},[m,h,d,p]),A=o.useCallback(e=>{t===void 0&&C(e),a?.(e)},[t,a]),j=o.useCallback(()=>{m||h||(E.current=D,k(!0))},[m,h,D,k]),M=o.useCallback(()=>{O&&(k(!1),s?.(D))},[O,k,s,D]),N=o.useCallback(()=>{O&&(A(E.current),k(!1),l?.())},[O,A,k,l]),P=o.useMemo(()=>({value:D,setValue:A,editing:O,setEditing:k,disabled:m,readOnly:h,placeholder:g,triggerMode:_,submitOnBlur:v,submit:M,cancel:N,edit:j}),[D,A,O,k,m,h,g,_,v,M,N,j]),F=r.props(u.root,y);return(0,i.jsx)(c.Provider,{value:P,children:(0,i.jsx)(`div`,{"data-slot":`editable`,"data-editing":O?``:void 0,"data-disabled":m?``:void 0,"data-readonly":h?``:void 0,...F,className:e?`${F.className||``} ${e}`.trim():F.className,...x,children:b})})}function f(e){let t=(0,s.c)(15),n,a,o,c;t[0]===e?(n=t[1],a=t[2],o=t[3],c=t[4]):({className:a,sx:c,children:n,...o}=e,t[0]=e,t[1]=n,t[2]=a,t[3]=o,t[4]=c);let l;t[5]===c?l=t[6]:(l=r.props(u.area,c),t[5]=c,t[6]=l);let d=l,f;t[7]!==a||t[8]!==d.className?(f=a?`${d.className||``} ${a}`.trim():d.className,t[7]=a,t[8]=d.className,t[9]=f):f=t[9];let p;return t[10]!==n||t[11]!==o||t[12]!==d||t[13]!==f?(p=(0,i.jsx)(`div`,{"data-slot":`editable-area`,...d,className:f,...o,children:n}),t[10]=n,t[11]=o,t[12]=d,t[13]=f,t[14]=p):p=t[14],p}function p(e){let n=(0,s.c)(29),a,o,c,d,f;n[0]===e?(a=n[1],o=n[2],c=n[3],d=n[4],f=n[5]):({className:a,onClick:o,onDoubleClick:c,sx:f,...d}=e,n[0]=e,n[1]=a,n[2]=o,n[3]=c,n[4]=d,n[5]=f);let{value:p,editing:m,placeholder:h,disabled:g,readOnly:_,triggerMode:v,edit:y}=l(`EditablePreview`);if(m)return null;let b;n[6]!==y||n[7]!==o||n[8]!==v?(b=e=>{o?.(e),!e.defaultPrevented&&v===`click`&&y()},n[6]=y,n[7]=o,n[8]=v,n[9]=b):b=n[9];let x=b,S;n[10]!==y||n[11]!==c||n[12]!==v?(S=e=>{c?.(e),!e.defaultPrevented&&v===`dblclick`&&y()},n[10]=y,n[11]=c,n[12]=v,n[13]=S):S=n[13];let C=S,w=!p,T;n[14]!==g||n[15]!==w||n[16]!==_||n[17]!==f?(T=r.props(u.preview,w&&u.previewPlaceholder,(g||_)&&u.previewDisabled,f),n[14]=g,n[15]=w,n[16]=_,n[17]=f,n[18]=T):T=n[18];let E=T,D;n[19]!==a||n[20]!==E.className?(D=a?`${E.className||``} ${a}`.trim():E.className,n[19]=a,n[20]=E.className,n[21]=D):D=n[21];let O=w?h:p,k;return n[22]!==x||n[23]!==C||n[24]!==d||n[25]!==E||n[26]!==D||n[27]!==O?(k=(0,i.jsx)(t.Text,{as:`span`,"data-slot":`editable-preview`,type:`inherit`,onClick:x,onDoubleClick:C,...E,className:D,...d,children:O}),n[22]=x,n[23]=C,n[24]=d,n[25]=E,n[26]=D,n[27]=O,n[28]=k):k=n[28],k}function m(e){let t=(0,s.c)(38),n,a,c,d,f,p;t[0]===e?(n=t[1],a=t[2],c=t[3],d=t[4],f=t[5],p=t[6]):({className:n,onKeyDown:d,onBlur:a,onChange:c,sx:p,...f}=e,t[0]=e,t[1]=n,t[2]=a,t[3]=c,t[4]=d,t[5]=f,t[6]=p);let{value:m,setValue:h,editing:g,submitOnBlur:_,submit:v,cancel:y,disabled:b,readOnly:x,placeholder:S}=l(`EditableInput`),C=o.useRef(null),w,T;if(t[7]===g?(w=t[8],T=t[9]):(w=()=>{g&&(C.current?.focus(),C.current?.select())},T=[g],t[7]=g,t[8]=w,t[9]=T),o.useEffect(w,T),!g)return null;let E;t[10]!==y||t[11]!==d||t[12]!==v?(E=e=>{d?.(e),!e.defaultPrevented&&(e.key===`Enter`?(e.preventDefault(),v()):e.key===`Escape`&&(e.preventDefault(),y()))},t[10]=y,t[11]=d,t[12]=v,t[13]=E):E=t[13];let D=E,O;t[14]!==y||t[15]!==a||t[16]!==v||t[17]!==_?(O=e=>{a?.(e),!e.defaultPrevented&&(_?v():y())},t[14]=y,t[15]=a,t[16]=v,t[17]=_,t[18]=O):O=t[18];let k=O,A;t[19]!==c||t[20]!==h?(A=e=>{c?.(e),!e.defaultPrevented&&h(e.target.value)},t[19]=c,t[20]=h,t[21]=A):A=t[21];let j=A,M;t[22]===p?M=t[23]:(M=r.props(u.input,p),t[22]=p,t[23]=M);let N=M,P;t[24]!==n||t[25]!==N.className?(P=n?`${N.className||``} ${n}`.trim():N.className,t[24]=n,t[25]=N.className,t[26]=P):P=t[26];let F;return t[27]!==b||t[28]!==k||t[29]!==j||t[30]!==D||t[31]!==S||t[32]!==f||t[33]!==x||t[34]!==N||t[35]!==P||t[36]!==m?(F=(0,i.jsx)(`input`,{ref:C,type:`text`,"data-slot":`editable-input`,value:m,disabled:b,readOnly:x,placeholder:S,onKeyDown:D,onBlur:k,onChange:j,...N,className:P,...f}),t[27]=b,t[28]=k,t[29]=j,t[30]=D,t[31]=S,t[32]=f,t[33]=x,t[34]=N,t[35]=P,t[36]=m,t[37]=F):F=t[37],F}function h(e){let t=(0,s.c)(15),n,a,o,c;t[0]===e?(n=t[1],a=t[2],o=t[3],c=t[4]):({className:a,sx:c,children:n,...o}=e,t[0]=e,t[1]=n,t[2]=a,t[3]=o,t[4]=c);let l;t[5]===c?l=t[6]:(l=r.props(u.toolbar,c),t[5]=c,t[6]=l);let d=l,f;t[7]!==a||t[8]!==d.className?(f=a?`${d.className||``} ${a}`.trim():d.className,t[7]=a,t[8]=d.className,t[9]=f):f=t[9];let p;return t[10]!==n||t[11]!==o||t[12]!==d||t[13]!==f?(p=(0,i.jsx)(`div`,{role:`toolbar`,"data-slot":`editable-toolbar`,...d,className:f,...o,children:n}),t[10]=n,t[11]=o,t[12]=d,t[13]=f,t[14]=p):p=t[14],p}function g({onClick:e,variant:t=`ghost`,size:r=`xs`,children:a,...o}){let{edit:s,editing:c,disabled:u,readOnly:d}=l(`EditableTrigger`);return c||u||d?null:(0,i.jsx)(n.Button,{type:`button`,"data-slot":`editable-trigger`,variant:t,size:r,onClick:t=>{e?.(t),!t.defaultPrevented&&s()},...o,children:a??(0,i.jsxs)(`svg`,{width:`12`,height:`12`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":`true`,children:[(0,i.jsx)(`path`,{d:`M17 3a2.85 2.83 0 1 1 4 4L7.5 20.5 2 22l1.5-5.5Z`}),(0,i.jsx)(`path`,{d:`m15 5 4 4`})]})})}function _({onClick:e,variant:t=`ghost`,size:r=`xs`,children:a,...o}){let{submit:s,editing:c}=l(`EditableSubmit`);return c?(0,i.jsx)(n.Button,{type:`button`,"data-slot":`editable-submit`,variant:t,size:r,onClick:t=>{e?.(t),!t.defaultPrevented&&s()},...o,children:a??(0,i.jsx)(`svg`,{width:`12`,height:`12`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2.5`,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":`true`,children:(0,i.jsx)(`polyline`,{points:`20 6 9 17 4 12`})})}):null}function v({onClick:e,variant:t=`ghost`,size:r=`xs`,children:a,...o}){let{cancel:s,editing:c}=l(`EditableCancel`);return c?(0,i.jsx)(n.Button,{type:`button`,"data-slot":`editable-cancel`,variant:t,size:r,onClick:t=>{e?.(t),!t.defaultPrevented&&s()},...o,children:a??(0,i.jsxs)(`svg`,{width:`12`,height:`12`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":`true`,children:[(0,i.jsx)(`line`,{x1:`18`,y1:`6`,x2:`6`,y2:`18`}),(0,i.jsx)(`line`,{x1:`6`,y1:`6`,x2:`18`,y2:`18`})]})}):null}exports.Editable=d,exports.EditableArea=f,exports.EditableCancel=v,exports.EditableInput=m,exports.EditablePreview=p,exports.EditableSubmit=_,exports.EditableToolbar=h,exports.EditableTrigger=g;