@yamada-ui/react 2.2.9-dev-20260929035349 → 2.2.9-dev-20261005074108

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 (2835) hide show
  1. package/dist/cjs/components/accordion/accordion.cjs +0 -1
  2. package/dist/cjs/components/accordion/accordion.cjs.map +1 -1
  3. package/dist/cjs/components/accordion/use-accordion.cjs +0 -1
  4. package/dist/cjs/components/accordion/use-accordion.cjs.map +1 -1
  5. package/dist/cjs/components/action-bar/action-bar.cjs +0 -1
  6. package/dist/cjs/components/action-bar/action-bar.cjs.map +1 -1
  7. package/dist/cjs/components/action-bar/use-action-bar.cjs +0 -1
  8. package/dist/cjs/components/action-bar/use-action-bar.cjs.map +1 -1
  9. package/dist/cjs/components/airy/airy.cjs +0 -1
  10. package/dist/cjs/components/airy/airy.cjs.map +1 -1
  11. package/dist/cjs/components/alert/alert.cjs +0 -1
  12. package/dist/cjs/components/alert/alert.cjs.map +1 -1
  13. package/dist/cjs/components/alpha-slider/alpha-slider.cjs +0 -1
  14. package/dist/cjs/components/alpha-slider/alpha-slider.cjs.map +1 -1
  15. package/dist/cjs/components/aspect-ratio/aspect-ratio.cjs +0 -1
  16. package/dist/cjs/components/aspect-ratio/aspect-ratio.cjs.map +1 -1
  17. package/dist/cjs/components/autocomplete/autocomplete.cjs +0 -1
  18. package/dist/cjs/components/autocomplete/autocomplete.cjs.map +1 -1
  19. package/dist/cjs/components/autocomplete/use-autocomplete.cjs +0 -1
  20. package/dist/cjs/components/autocomplete/use-autocomplete.cjs.map +1 -1
  21. package/dist/cjs/components/avatar/avatar-group.cjs +0 -1
  22. package/dist/cjs/components/avatar/avatar-group.cjs.map +1 -1
  23. package/dist/cjs/components/avatar/use-avatar-group.cjs +0 -1
  24. package/dist/cjs/components/avatar/use-avatar-group.cjs.map +1 -1
  25. package/dist/cjs/components/avatar/use-avatar.cjs +0 -1
  26. package/dist/cjs/components/avatar/use-avatar.cjs.map +1 -1
  27. package/dist/cjs/components/blockquote/blockquote.cjs +0 -1
  28. package/dist/cjs/components/blockquote/blockquote.cjs.map +1 -1
  29. package/dist/cjs/components/breadcrumb/breadcrumb.cjs +0 -1
  30. package/dist/cjs/components/breadcrumb/breadcrumb.cjs.map +1 -1
  31. package/dist/cjs/components/breadcrumb/use-breadcrumb.cjs +0 -1
  32. package/dist/cjs/components/breadcrumb/use-breadcrumb.cjs.map +1 -1
  33. package/dist/cjs/components/button/button-group.cjs +0 -1
  34. package/dist/cjs/components/button/button-group.cjs.map +1 -1
  35. package/dist/cjs/components/button/button.cjs +0 -1
  36. package/dist/cjs/components/button/button.cjs.map +1 -1
  37. package/dist/cjs/components/calendar/calendar.cjs +0 -1
  38. package/dist/cjs/components/calendar/calendar.cjs.map +1 -1
  39. package/dist/cjs/components/calendar/use-calendar.cjs +5 -4
  40. package/dist/cjs/components/calendar/use-calendar.cjs.map +1 -1
  41. package/dist/cjs/components/carousel/carousel.cjs +0 -1
  42. package/dist/cjs/components/carousel/carousel.cjs.map +1 -1
  43. package/dist/cjs/components/chart/area-chart.cjs +0 -1
  44. package/dist/cjs/components/chart/area-chart.cjs.map +1 -1
  45. package/dist/cjs/components/chart/bar-chart.cjs +0 -1
  46. package/dist/cjs/components/chart/bar-chart.cjs.map +1 -1
  47. package/dist/cjs/components/chart/cartesian-chart.cjs +0 -1
  48. package/dist/cjs/components/chart/cartesian-chart.cjs.map +1 -1
  49. package/dist/cjs/components/chart/chart.cjs +0 -1
  50. package/dist/cjs/components/chart/chart.cjs.map +1 -1
  51. package/dist/cjs/components/chart/composed-chart.cjs +0 -1
  52. package/dist/cjs/components/chart/composed-chart.cjs.map +1 -1
  53. package/dist/cjs/components/chart/donut-chart.cjs +0 -1
  54. package/dist/cjs/components/chart/donut-chart.cjs.map +1 -1
  55. package/dist/cjs/components/chart/line-chart.cjs +0 -1
  56. package/dist/cjs/components/chart/line-chart.cjs.map +1 -1
  57. package/dist/cjs/components/chart/pie-chart.cjs +0 -1
  58. package/dist/cjs/components/chart/pie-chart.cjs.map +1 -1
  59. package/dist/cjs/components/chart/polar-chart.cjs +0 -1
  60. package/dist/cjs/components/chart/polar-chart.cjs.map +1 -1
  61. package/dist/cjs/components/chart/radar-chart.cjs +0 -1
  62. package/dist/cjs/components/chart/radar-chart.cjs.map +1 -1
  63. package/dist/cjs/components/chart/radial-chart.cjs +0 -1
  64. package/dist/cjs/components/chart/radial-chart.cjs.map +1 -1
  65. package/dist/cjs/components/chart/use-cartesian-chart.cjs +0 -1
  66. package/dist/cjs/components/chart/use-cartesian-chart.cjs.map +1 -1
  67. package/dist/cjs/components/chart/use-chart.cjs +0 -1
  68. package/dist/cjs/components/chart/use-chart.cjs.map +1 -1
  69. package/dist/cjs/components/chart/use-polar-chart.cjs +0 -1
  70. package/dist/cjs/components/chart/use-polar-chart.cjs.map +1 -1
  71. package/dist/cjs/components/checkbox/checkbox-group.cjs +0 -1
  72. package/dist/cjs/components/checkbox/checkbox-group.cjs.map +1 -1
  73. package/dist/cjs/components/checkbox/checkbox.cjs +0 -1
  74. package/dist/cjs/components/checkbox/checkbox.cjs.map +1 -1
  75. package/dist/cjs/components/checkbox/use-checkbox-group.cjs +0 -1
  76. package/dist/cjs/components/checkbox/use-checkbox-group.cjs.map +1 -1
  77. package/dist/cjs/components/checkbox/use-checkbox.cjs +0 -1
  78. package/dist/cjs/components/checkbox/use-checkbox.cjs.map +1 -1
  79. package/dist/cjs/components/checkbox-card/checkbox-card-group.cjs +0 -1
  80. package/dist/cjs/components/checkbox-card/checkbox-card-group.cjs.map +1 -1
  81. package/dist/cjs/components/checkbox-card/checkbox-card.cjs +0 -1
  82. package/dist/cjs/components/checkbox-card/checkbox-card.cjs.map +1 -1
  83. package/dist/cjs/components/collapse/collapse.cjs +0 -1
  84. package/dist/cjs/components/collapse/collapse.cjs.map +1 -1
  85. package/dist/cjs/components/color-picker/color-picker.cjs +0 -1
  86. package/dist/cjs/components/color-picker/color-picker.cjs.map +1 -1
  87. package/dist/cjs/components/color-picker/use-color-picker.cjs +0 -1
  88. package/dist/cjs/components/color-picker/use-color-picker.cjs.map +1 -1
  89. package/dist/cjs/components/color-selector/color-selector.cjs +0 -1
  90. package/dist/cjs/components/color-selector/color-selector.cjs.map +1 -1
  91. package/dist/cjs/components/color-selector/use-color-selector.cjs +0 -1
  92. package/dist/cjs/components/color-selector/use-color-selector.cjs.map +1 -1
  93. package/dist/cjs/components/data-list/data-list.cjs +0 -1
  94. package/dist/cjs/components/data-list/data-list.cjs.map +1 -1
  95. package/dist/cjs/components/date-picker/date-picker.cjs +0 -1
  96. package/dist/cjs/components/date-picker/date-picker.cjs.map +1 -1
  97. package/dist/cjs/components/drawer/drawer.cjs +0 -1
  98. package/dist/cjs/components/drawer/drawer.cjs.map +1 -1
  99. package/dist/cjs/components/drawer/use-drawer.cjs +0 -1
  100. package/dist/cjs/components/drawer/use-drawer.cjs.map +1 -1
  101. package/dist/cjs/components/dropzone/dropzone.cjs +0 -1
  102. package/dist/cjs/components/dropzone/dropzone.cjs.map +1 -1
  103. package/dist/cjs/components/dropzone/use-dropzone.cjs +0 -1
  104. package/dist/cjs/components/dropzone/use-dropzone.cjs.map +1 -1
  105. package/dist/cjs/components/editable/use-editable.cjs +0 -1
  106. package/dist/cjs/components/editable/use-editable.cjs.map +1 -1
  107. package/dist/cjs/components/fade/fade.cjs +0 -1
  108. package/dist/cjs/components/fade/fade.cjs.map +1 -1
  109. package/dist/cjs/components/fade-scale/fade-scale.cjs +0 -1
  110. package/dist/cjs/components/fade-scale/fade-scale.cjs.map +1 -1
  111. package/dist/cjs/components/field/field.cjs +0 -1
  112. package/dist/cjs/components/field/field.cjs.map +1 -1
  113. package/dist/cjs/components/field/use-field-props.cjs +0 -1
  114. package/dist/cjs/components/field/use-field-props.cjs.map +1 -1
  115. package/dist/cjs/components/fieldset/fieldset.cjs +0 -1
  116. package/dist/cjs/components/fieldset/fieldset.cjs.map +1 -1
  117. package/dist/cjs/components/file-button/use-file-button.cjs +0 -1
  118. package/dist/cjs/components/file-button/use-file-button.cjs.map +1 -1
  119. package/dist/cjs/components/file-input/file-input.cjs +0 -1
  120. package/dist/cjs/components/file-input/file-input.cjs.map +1 -1
  121. package/dist/cjs/components/file-input/use-file-input.cjs +0 -1
  122. package/dist/cjs/components/file-input/use-file-input.cjs.map +1 -1
  123. package/dist/cjs/components/flip/flip.cjs +0 -1
  124. package/dist/cjs/components/flip/flip.cjs.map +1 -1
  125. package/dist/cjs/components/form/form.cjs +0 -1
  126. package/dist/cjs/components/form/form.cjs.map +1 -1
  127. package/dist/cjs/components/format/use-format-byte.cjs +0 -1
  128. package/dist/cjs/components/format/use-format-byte.cjs.map +1 -1
  129. package/dist/cjs/components/format/use-format-date-time.cjs +0 -1
  130. package/dist/cjs/components/format/use-format-date-time.cjs.map +1 -1
  131. package/dist/cjs/components/format/use-format-number.cjs +0 -1
  132. package/dist/cjs/components/format/use-format-number.cjs.map +1 -1
  133. package/dist/cjs/components/group/use-group.cjs +0 -1
  134. package/dist/cjs/components/group/use-group.cjs.map +1 -1
  135. package/dist/cjs/components/highlight/highlight.cjs +0 -1
  136. package/dist/cjs/components/highlight/highlight.cjs.map +1 -1
  137. package/dist/cjs/components/highlight/use-highlight.cjs +0 -1
  138. package/dist/cjs/components/highlight/use-highlight.cjs.map +1 -1
  139. package/dist/cjs/components/hue-slider/hue-slider.cjs +0 -1
  140. package/dist/cjs/components/hue-slider/hue-slider.cjs.map +1 -1
  141. package/dist/cjs/components/icon/icons/briefcase-plus-icon.cjs +14 -0
  142. package/dist/cjs/components/icon/icons/briefcase-plus-icon.cjs.map +1 -0
  143. package/dist/cjs/components/icon/icons/clef-alto-icon.cjs +14 -0
  144. package/dist/cjs/components/icon/icons/clef-alto-icon.cjs.map +1 -0
  145. package/dist/cjs/components/icon/icons/clef-bass-icon.cjs +14 -0
  146. package/dist/cjs/components/icon/icons/clef-bass-icon.cjs.map +1 -0
  147. package/dist/cjs/components/icon/icons/clef-treble-icon.cjs +14 -0
  148. package/dist/cjs/components/icon/icons/clef-treble-icon.cjs.map +1 -0
  149. package/dist/cjs/components/icon/icons/cupcake-icon.cjs +14 -0
  150. package/dist/cjs/components/icon/icons/cupcake-icon.cjs.map +1 -0
  151. package/dist/cjs/components/icon/icons/door-closed-package-icon.cjs +14 -0
  152. package/dist/cjs/components/icon/icons/door-closed-package-icon.cjs.map +1 -0
  153. package/dist/cjs/components/icon/icons/faucet-icon.cjs +14 -0
  154. package/dist/cjs/components/icon/icons/faucet-icon.cjs.map +1 -0
  155. package/dist/cjs/components/icon/icons/house-cog-icon.cjs +14 -0
  156. package/dist/cjs/components/icon/icons/house-cog-icon.cjs.map +1 -0
  157. package/dist/cjs/components/icon/icons/index.cjs +60 -0
  158. package/dist/cjs/components/icon/icons/index.cjs.map +1 -1
  159. package/dist/cjs/components/icon/icons/lambda-icon.cjs +14 -0
  160. package/dist/cjs/components/icon/icons/lambda-icon.cjs.map +1 -0
  161. package/dist/cjs/components/icon/icons/line-dot-bottom-vertical-icon.cjs +14 -0
  162. package/dist/cjs/components/icon/icons/line-dot-bottom-vertical-icon.cjs.map +1 -0
  163. package/dist/cjs/components/icon/icons/line-dot-left-horizontal-icon.cjs +14 -0
  164. package/dist/cjs/components/icon/icons/line-dot-left-horizontal-icon.cjs.map +1 -0
  165. package/dist/cjs/components/icon/icons/line-dot-top-vertical-icon.cjs +14 -0
  166. package/dist/cjs/components/icon/icons/line-dot-top-vertical-icon.cjs.map +1 -0
  167. package/dist/cjs/components/icon/icons/monitor-pc-icon.cjs +14 -0
  168. package/dist/cjs/components/icon/icons/monitor-pc-icon.cjs.map +1 -0
  169. package/dist/cjs/components/icon/icons/nepali-rupee-icon.cjs +14 -0
  170. package/dist/cjs/components/icon/icons/nepali-rupee-icon.cjs.map +1 -0
  171. package/dist/cjs/components/icon/icons/rotate-cw-clock-icon.cjs +14 -0
  172. package/dist/cjs/components/icon/icons/rotate-cw-clock-icon.cjs.map +1 -0
  173. package/dist/cjs/components/icon/icons/square-dashed-plus-icon.cjs +14 -0
  174. package/dist/cjs/components/icon/icons/square-dashed-plus-icon.cjs.map +1 -0
  175. package/dist/cjs/components/icon/icons/square-dashed-x-corner-icon.cjs +14 -0
  176. package/dist/cjs/components/icon/icons/square-dashed-x-corner-icon.cjs.map +1 -0
  177. package/dist/cjs/components/icon/icons/square-dashed-x-icon.cjs +14 -0
  178. package/dist/cjs/components/icon/icons/square-dashed-x-icon.cjs.map +1 -0
  179. package/dist/cjs/components/icon/icons/square-sparkles-icon.cjs +14 -0
  180. package/dist/cjs/components/icon/icons/square-sparkles-icon.cjs.map +1 -0
  181. package/dist/cjs/components/icon/icons/tube-lotion-icon.cjs +14 -0
  182. package/dist/cjs/components/icon/icons/tube-lotion-icon.cjs.map +1 -0
  183. package/dist/cjs/components/icon/index.cjs +40 -0
  184. package/dist/cjs/components/indicator/indicator.cjs +0 -1
  185. package/dist/cjs/components/indicator/indicator.cjs.map +1 -1
  186. package/dist/cjs/components/infinite-scroll-area/infinite-scroll-area.cjs +0 -1
  187. package/dist/cjs/components/infinite-scroll-area/infinite-scroll-area.cjs.map +1 -1
  188. package/dist/cjs/components/infinite-scroll-area/use-infinite-scroll.cjs +0 -1
  189. package/dist/cjs/components/infinite-scroll-area/use-infinite-scroll.cjs.map +1 -1
  190. package/dist/cjs/components/input/input-group.cjs +0 -1
  191. package/dist/cjs/components/input/input-group.cjs.map +1 -1
  192. package/dist/cjs/components/input/use-input-border.cjs +0 -1
  193. package/dist/cjs/components/input/use-input-border.cjs.map +1 -1
  194. package/dist/cjs/components/list/list.cjs +0 -1
  195. package/dist/cjs/components/list/list.cjs.map +1 -1
  196. package/dist/cjs/components/loading/background.cjs +0 -1
  197. package/dist/cjs/components/loading/background.cjs.map +1 -1
  198. package/dist/cjs/components/loading/loading-provider.cjs +0 -1
  199. package/dist/cjs/components/loading/loading-provider.cjs.map +1 -1
  200. package/dist/cjs/components/loading/page.cjs +0 -1
  201. package/dist/cjs/components/loading/page.cjs.map +1 -1
  202. package/dist/cjs/components/loading/screen.cjs +0 -1
  203. package/dist/cjs/components/loading/screen.cjs.map +1 -1
  204. package/dist/cjs/components/loading/suspense.cjs +0 -1
  205. package/dist/cjs/components/loading/suspense.cjs.map +1 -1
  206. package/dist/cjs/components/loading/use-loading-component.cjs +0 -1
  207. package/dist/cjs/components/loading/use-loading-component.cjs.map +1 -1
  208. package/dist/cjs/components/menu/menu.cjs +29 -29
  209. package/dist/cjs/components/menu/menu.cjs.map +1 -1
  210. package/dist/cjs/components/menu/use-menu.cjs +0 -1
  211. package/dist/cjs/components/menu/use-menu.cjs.map +1 -1
  212. package/dist/cjs/components/modal/modal.cjs +0 -1
  213. package/dist/cjs/components/modal/modal.cjs.map +1 -1
  214. package/dist/cjs/components/modal/use-modal.cjs +0 -1
  215. package/dist/cjs/components/modal/use-modal.cjs.map +1 -1
  216. package/dist/cjs/components/motion/motion.cjs +0 -1
  217. package/dist/cjs/components/motion/motion.cjs.map +1 -1
  218. package/dist/cjs/components/native-accordion/native-accordion.cjs +0 -1
  219. package/dist/cjs/components/native-accordion/native-accordion.cjs.map +1 -1
  220. package/dist/cjs/components/native-accordion/use-native-accordion.cjs +0 -1
  221. package/dist/cjs/components/native-accordion/use-native-accordion.cjs.map +1 -1
  222. package/dist/cjs/components/native-popover/native-popover.cjs +0 -1
  223. package/dist/cjs/components/native-popover/native-popover.cjs.map +1 -1
  224. package/dist/cjs/components/native-popover/use-native-popover.cjs +0 -1
  225. package/dist/cjs/components/native-popover/use-native-popover.cjs.map +1 -1
  226. package/dist/cjs/components/native-select/use-native-select.cjs +0 -1
  227. package/dist/cjs/components/native-select/use-native-select.cjs.map +1 -1
  228. package/dist/cjs/components/notice/notice-provider.cjs +0 -1
  229. package/dist/cjs/components/notice/notice-provider.cjs.map +1 -1
  230. package/dist/cjs/components/notice/notice.cjs +0 -1
  231. package/dist/cjs/components/notice/notice.cjs.map +1 -1
  232. package/dist/cjs/components/notice/use-notice.cjs +0 -1
  233. package/dist/cjs/components/notice/use-notice.cjs.map +1 -1
  234. package/dist/cjs/components/number-input/use-number-counter.cjs +0 -1
  235. package/dist/cjs/components/number-input/use-number-counter.cjs.map +1 -1
  236. package/dist/cjs/components/number-input/use-number-input.cjs +0 -1
  237. package/dist/cjs/components/number-input/use-number-input.cjs.map +1 -1
  238. package/dist/cjs/components/number-input/use-spinner.cjs +0 -1
  239. package/dist/cjs/components/number-input/use-spinner.cjs.map +1 -1
  240. package/dist/cjs/components/pagination/pagination.cjs +0 -1
  241. package/dist/cjs/components/pagination/pagination.cjs.map +1 -1
  242. package/dist/cjs/components/pagination/use-pagination.cjs +0 -1
  243. package/dist/cjs/components/pagination/use-pagination.cjs.map +1 -1
  244. package/dist/cjs/components/password-input/use-password-input.cjs +0 -1
  245. package/dist/cjs/components/password-input/use-password-input.cjs.map +1 -1
  246. package/dist/cjs/components/password-input/use-strength-meter.cjs +0 -1
  247. package/dist/cjs/components/password-input/use-strength-meter.cjs.map +1 -1
  248. package/dist/cjs/components/picture/picture.cjs +0 -1
  249. package/dist/cjs/components/picture/picture.cjs.map +1 -1
  250. package/dist/cjs/components/pin-input/pin-input.cjs +0 -1
  251. package/dist/cjs/components/pin-input/pin-input.cjs.map +1 -1
  252. package/dist/cjs/components/pin-input/use-pin-input.cjs +0 -1
  253. package/dist/cjs/components/pin-input/use-pin-input.cjs.map +1 -1
  254. package/dist/cjs/components/popover/popover.cjs +0 -1
  255. package/dist/cjs/components/popover/popover.cjs.map +1 -1
  256. package/dist/cjs/components/popover/use-popover.cjs +0 -1
  257. package/dist/cjs/components/popover/use-popover.cjs.map +1 -1
  258. package/dist/cjs/components/portal/portal.cjs +0 -1
  259. package/dist/cjs/components/portal/portal.cjs.map +1 -1
  260. package/dist/cjs/components/progress/use-progress.cjs +0 -1
  261. package/dist/cjs/components/progress/use-progress.cjs.map +1 -1
  262. package/dist/cjs/components/qr-code/qr-code.cjs +0 -1
  263. package/dist/cjs/components/qr-code/qr-code.cjs.map +1 -1
  264. package/dist/cjs/components/qr-code/use-qr-code.cjs +0 -1
  265. package/dist/cjs/components/qr-code/use-qr-code.cjs.map +1 -1
  266. package/dist/cjs/components/radio/radio-group.cjs +0 -1
  267. package/dist/cjs/components/radio/radio-group.cjs.map +1 -1
  268. package/dist/cjs/components/radio/radio.cjs +0 -1
  269. package/dist/cjs/components/radio/radio.cjs.map +1 -1
  270. package/dist/cjs/components/radio/use-radio-group.cjs +0 -1
  271. package/dist/cjs/components/radio/use-radio-group.cjs.map +1 -1
  272. package/dist/cjs/components/radio/use-radio.cjs +0 -1
  273. package/dist/cjs/components/radio/use-radio.cjs.map +1 -1
  274. package/dist/cjs/components/radio-card/radio-card-group.cjs +0 -1
  275. package/dist/cjs/components/radio-card/radio-card-group.cjs.map +1 -1
  276. package/dist/cjs/components/radio-card/radio-card.cjs +0 -1
  277. package/dist/cjs/components/radio-card/radio-card.cjs.map +1 -1
  278. package/dist/cjs/components/rating/rating.cjs +0 -1
  279. package/dist/cjs/components/rating/rating.cjs.map +1 -1
  280. package/dist/cjs/components/rating/use-rating.cjs +0 -1
  281. package/dist/cjs/components/rating/use-rating.cjs.map +1 -1
  282. package/dist/cjs/components/reorder/use-reorder.cjs +0 -1
  283. package/dist/cjs/components/reorder/use-reorder.cjs.map +1 -1
  284. package/dist/cjs/components/resizable/resizable.cjs +0 -1
  285. package/dist/cjs/components/resizable/resizable.cjs.map +1 -1
  286. package/dist/cjs/components/resizable/use-resizable.cjs +0 -1
  287. package/dist/cjs/components/resizable/use-resizable.cjs.map +1 -1
  288. package/dist/cjs/components/ripple/use-ripple.cjs +0 -1
  289. package/dist/cjs/components/ripple/use-ripple.cjs.map +1 -1
  290. package/dist/cjs/components/rotate/rotate.cjs +0 -1
  291. package/dist/cjs/components/rotate/rotate.cjs.map +1 -1
  292. package/dist/cjs/components/saturation-slider/saturation-slider.cjs +0 -1
  293. package/dist/cjs/components/saturation-slider/saturation-slider.cjs.map +1 -1
  294. package/dist/cjs/components/saturation-slider/use-saturation-slider.cjs +0 -1
  295. package/dist/cjs/components/saturation-slider/use-saturation-slider.cjs.map +1 -1
  296. package/dist/cjs/components/scroll-area/use-scroll-area.cjs +0 -1
  297. package/dist/cjs/components/scroll-area/use-scroll-area.cjs.map +1 -1
  298. package/dist/cjs/components/segmented-control/segmented-control.cjs +0 -1
  299. package/dist/cjs/components/segmented-control/segmented-control.cjs.map +1 -1
  300. package/dist/cjs/components/segmented-control/use-segmented-control.cjs +0 -1
  301. package/dist/cjs/components/segmented-control/use-segmented-control.cjs.map +1 -1
  302. package/dist/cjs/components/select/select.cjs +0 -1
  303. package/dist/cjs/components/select/select.cjs.map +1 -1
  304. package/dist/cjs/components/select/use-select.cjs +0 -1
  305. package/dist/cjs/components/select/use-select.cjs.map +1 -1
  306. package/dist/cjs/components/show/show.cjs +0 -1
  307. package/dist/cjs/components/show/show.cjs.map +1 -1
  308. package/dist/cjs/components/sidebar/sidebar.cjs +0 -1
  309. package/dist/cjs/components/sidebar/sidebar.cjs.map +1 -1
  310. package/dist/cjs/components/sidebar/use-sidebar.cjs +0 -1
  311. package/dist/cjs/components/sidebar/use-sidebar.cjs.map +1 -1
  312. package/dist/cjs/components/simple-grid/simple-grid.cjs +0 -1
  313. package/dist/cjs/components/simple-grid/simple-grid.cjs.map +1 -1
  314. package/dist/cjs/components/slide/slide.cjs +0 -1
  315. package/dist/cjs/components/slide/slide.cjs.map +1 -1
  316. package/dist/cjs/components/slide-fade/slide-fade.cjs +0 -1
  317. package/dist/cjs/components/slide-fade/slide-fade.cjs.map +1 -1
  318. package/dist/cjs/components/slider/slider.cjs +0 -1
  319. package/dist/cjs/components/slider/slider.cjs.map +1 -1
  320. package/dist/cjs/components/slider/use-slider.cjs +0 -1
  321. package/dist/cjs/components/slider/use-slider.cjs.map +1 -1
  322. package/dist/cjs/components/slot/slot.cjs +0 -1
  323. package/dist/cjs/components/slot/slot.cjs.map +1 -1
  324. package/dist/cjs/components/snacks/snacks.cjs +0 -1
  325. package/dist/cjs/components/snacks/snacks.cjs.map +1 -1
  326. package/dist/cjs/components/snacks/use-snacks.cjs +0 -1
  327. package/dist/cjs/components/snacks/use-snacks.cjs.map +1 -1
  328. package/dist/cjs/components/stack/stack.cjs +0 -1
  329. package/dist/cjs/components/stack/stack.cjs.map +1 -1
  330. package/dist/cjs/components/stack/z-stack.cjs +0 -1
  331. package/dist/cjs/components/stack/z-stack.cjs.map +1 -1
  332. package/dist/cjs/components/steps/steps.cjs +0 -1
  333. package/dist/cjs/components/steps/steps.cjs.map +1 -1
  334. package/dist/cjs/components/steps/use-steps.cjs +0 -1
  335. package/dist/cjs/components/steps/use-steps.cjs.map +1 -1
  336. package/dist/cjs/components/switch/use-switch.cjs +0 -1
  337. package/dist/cjs/components/switch/use-switch.cjs.map +1 -1
  338. package/dist/cjs/components/table/table.cjs +0 -1
  339. package/dist/cjs/components/table/table.cjs.map +1 -1
  340. package/dist/cjs/components/tabs/tabs.cjs +0 -1
  341. package/dist/cjs/components/tabs/tabs.cjs.map +1 -1
  342. package/dist/cjs/components/tabs/use-tabs.cjs +0 -1
  343. package/dist/cjs/components/tabs/use-tabs.cjs.map +1 -1
  344. package/dist/cjs/components/tag/tag.cjs +0 -1
  345. package/dist/cjs/components/tag/tag.cjs.map +1 -1
  346. package/dist/cjs/components/textarea/use-autosize.cjs +0 -1
  347. package/dist/cjs/components/textarea/use-autosize.cjs.map +1 -1
  348. package/dist/cjs/components/textarea/use-textarea.cjs +0 -1
  349. package/dist/cjs/components/textarea/use-textarea.cjs.map +1 -1
  350. package/dist/cjs/components/timeline/timeline.cjs +0 -1
  351. package/dist/cjs/components/timeline/timeline.cjs.map +1 -1
  352. package/dist/cjs/components/toggle/toggle-group.cjs +0 -1
  353. package/dist/cjs/components/toggle/toggle-group.cjs.map +1 -1
  354. package/dist/cjs/components/toggle/use-toggle-group.cjs +11 -11
  355. package/dist/cjs/components/toggle/use-toggle-group.cjs.map +1 -1
  356. package/dist/cjs/components/toggle/use-toggle.cjs +0 -1
  357. package/dist/cjs/components/toggle/use-toggle.cjs.map +1 -1
  358. package/dist/cjs/components/tooltip/use-tooltip.cjs +0 -1
  359. package/dist/cjs/components/tooltip/use-tooltip.cjs.map +1 -1
  360. package/dist/cjs/components/tree/tree.cjs +0 -1
  361. package/dist/cjs/components/tree/tree.cjs.map +1 -1
  362. package/dist/cjs/components/tree/use-tree.cjs +4 -4
  363. package/dist/cjs/components/tree/use-tree.cjs.map +1 -1
  364. package/dist/cjs/core/components/create-component.cjs +0 -1
  365. package/dist/cjs/core/components/create-component.cjs.map +1 -1
  366. package/dist/cjs/core/components/use-component-style.cjs +0 -1
  367. package/dist/cjs/core/components/use-component-style.cjs.map +1 -1
  368. package/dist/cjs/core/css/styles.cjs.map +1 -1
  369. package/dist/cjs/core/css/use-css.cjs +0 -1
  370. package/dist/cjs/core/css/use-css.cjs.map +1 -1
  371. package/dist/cjs/core/css/use-inject-vars.cjs +0 -1
  372. package/dist/cjs/core/css/use-inject-vars.cjs.map +1 -1
  373. package/dist/cjs/core/system/color-mode-provider.cjs +0 -1
  374. package/dist/cjs/core/system/color-mode-provider.cjs.map +1 -1
  375. package/dist/cjs/core/system/environment-provider.cjs +0 -1
  376. package/dist/cjs/core/system/environment-provider.cjs.map +1 -1
  377. package/dist/cjs/core/system/system-provider.cjs +0 -1
  378. package/dist/cjs/core/system/system-provider.cjs.map +1 -1
  379. package/dist/cjs/core/system/theme-provider.cjs +0 -1
  380. package/dist/cjs/core/system/theme-provider.cjs.map +1 -1
  381. package/dist/cjs/core/system/use-system-color-mode.cjs +0 -1
  382. package/dist/cjs/core/system/use-system-color-mode.cjs.map +1 -1
  383. package/dist/cjs/hooks/use-animation/index.cjs +0 -1
  384. package/dist/cjs/hooks/use-animation/index.cjs.map +1 -1
  385. package/dist/cjs/hooks/use-async/index.cjs +0 -1
  386. package/dist/cjs/hooks/use-async/index.cjs.map +1 -1
  387. package/dist/cjs/hooks/use-async-callback/index.cjs +0 -1
  388. package/dist/cjs/hooks/use-async-callback/index.cjs.map +1 -1
  389. package/dist/cjs/hooks/use-boolean/index.cjs +0 -1
  390. package/dist/cjs/hooks/use-boolean/index.cjs.map +1 -1
  391. package/dist/cjs/hooks/use-breakpoint/use-breakpoint-effect.cjs +0 -1
  392. package/dist/cjs/hooks/use-breakpoint/use-breakpoint-effect.cjs.map +1 -1
  393. package/dist/cjs/hooks/use-breakpoint/use-breakpoint-state.cjs +0 -1
  394. package/dist/cjs/hooks/use-breakpoint/use-breakpoint-state.cjs.map +1 -1
  395. package/dist/cjs/hooks/use-breakpoint/use-breakpoint-value.cjs +0 -1
  396. package/dist/cjs/hooks/use-breakpoint/use-breakpoint-value.cjs.map +1 -1
  397. package/dist/cjs/hooks/use-breakpoint/use-breakpoint.cjs +0 -1
  398. package/dist/cjs/hooks/use-breakpoint/use-breakpoint.cjs.map +1 -1
  399. package/dist/cjs/hooks/use-clickable/index.cjs +0 -1
  400. package/dist/cjs/hooks/use-clickable/index.cjs.map +1 -1
  401. package/dist/cjs/hooks/use-controllable-state/index.cjs +0 -1
  402. package/dist/cjs/hooks/use-controllable-state/index.cjs.map +1 -1
  403. package/dist/cjs/hooks/use-counter/index.cjs +0 -1
  404. package/dist/cjs/hooks/use-counter/index.cjs.map +1 -1
  405. package/dist/cjs/hooks/use-descendants/index.cjs +0 -1
  406. package/dist/cjs/hooks/use-descendants/index.cjs.map +1 -1
  407. package/dist/cjs/hooks/use-disclosure/use-disclosure.cjs +0 -1
  408. package/dist/cjs/hooks/use-disclosure/use-disclosure.cjs.map +1 -1
  409. package/dist/cjs/hooks/use-disclosure/use-promise-disclosure.cjs +0 -1
  410. package/dist/cjs/hooks/use-disclosure/use-promise-disclosure.cjs.map +1 -1
  411. package/dist/cjs/hooks/use-event-listener/index.cjs +0 -1
  412. package/dist/cjs/hooks/use-event-listener/index.cjs.map +1 -1
  413. package/dist/cjs/hooks/use-eye-dropper/index.cjs +0 -1
  414. package/dist/cjs/hooks/use-eye-dropper/index.cjs.map +1 -1
  415. package/dist/cjs/hooks/use-field-sizing/index.cjs +0 -1
  416. package/dist/cjs/hooks/use-field-sizing/index.cjs.map +1 -1
  417. package/dist/cjs/hooks/use-focus/index.cjs +0 -1
  418. package/dist/cjs/hooks/use-focus/index.cjs.map +1 -1
  419. package/dist/cjs/hooks/use-hover/index.cjs +0 -1
  420. package/dist/cjs/hooks/use-hover/index.cjs.map +1 -1
  421. package/dist/cjs/hooks/use-idle/index.cjs +0 -1
  422. package/dist/cjs/hooks/use-idle/index.cjs.map +1 -1
  423. package/dist/cjs/hooks/use-interval/index.cjs +0 -1
  424. package/dist/cjs/hooks/use-interval/index.cjs.map +1 -1
  425. package/dist/cjs/hooks/use-lazy-mount/index.cjs +0 -1
  426. package/dist/cjs/hooks/use-lazy-mount/index.cjs.map +1 -1
  427. package/dist/cjs/hooks/use-local-storage/index.cjs +0 -1
  428. package/dist/cjs/hooks/use-local-storage/index.cjs.map +1 -1
  429. package/dist/cjs/hooks/use-media-query/index.cjs +0 -1
  430. package/dist/cjs/hooks/use-media-query/index.cjs.map +1 -1
  431. package/dist/cjs/hooks/use-mounted/index.cjs +0 -1
  432. package/dist/cjs/hooks/use-mounted/index.cjs.map +1 -1
  433. package/dist/cjs/hooks/use-online/index.cjs +0 -1
  434. package/dist/cjs/hooks/use-online/index.cjs.map +1 -1
  435. package/dist/cjs/hooks/use-outside-click/index.cjs +0 -1
  436. package/dist/cjs/hooks/use-outside-click/index.cjs.map +1 -1
  437. package/dist/cjs/hooks/use-pan-event/index.cjs +0 -1
  438. package/dist/cjs/hooks/use-pan-event/index.cjs.map +1 -1
  439. package/dist/cjs/hooks/use-popper/index.cjs +0 -1
  440. package/dist/cjs/hooks/use-popper/index.cjs.map +1 -1
  441. package/dist/cjs/hooks/use-previous/index.cjs +0 -1
  442. package/dist/cjs/hooks/use-previous/index.cjs.map +1 -1
  443. package/dist/cjs/hooks/use-processing/index.cjs +0 -1
  444. package/dist/cjs/hooks/use-processing/index.cjs.map +1 -1
  445. package/dist/cjs/hooks/use-resize-observer/index.cjs +0 -1
  446. package/dist/cjs/hooks/use-resize-observer/index.cjs.map +1 -1
  447. package/dist/cjs/hooks/use-timeout/index.cjs +0 -1
  448. package/dist/cjs/hooks/use-timeout/index.cjs.map +1 -1
  449. package/dist/cjs/hooks/use-value/index.cjs +0 -1
  450. package/dist/cjs/hooks/use-value/index.cjs.map +1 -1
  451. package/dist/cjs/hooks/use-window-event/index.cjs +0 -1
  452. package/dist/cjs/hooks/use-window-event/index.cjs.map +1 -1
  453. package/dist/cjs/index.cjs +60 -0
  454. package/dist/cjs/utils/ssr.cjs +0 -1
  455. package/dist/cjs/utils/ssr.cjs.map +1 -1
  456. package/dist/cjs/utils/store.cjs +0 -1
  457. package/dist/cjs/utils/store.cjs.map +1 -1
  458. package/dist/esm/components/calendar/use-calendar.js +5 -4
  459. package/dist/esm/components/calendar/use-calendar.js.map +1 -1
  460. package/dist/esm/components/chart/use-polar-chart.js.map +1 -1
  461. package/dist/esm/components/icon/icons/briefcase-plus-icon.js +14 -0
  462. package/dist/esm/components/icon/icons/briefcase-plus-icon.js.map +1 -0
  463. package/dist/esm/components/icon/icons/clef-alto-icon.js +14 -0
  464. package/dist/esm/components/icon/icons/clef-alto-icon.js.map +1 -0
  465. package/dist/esm/components/icon/icons/clef-bass-icon.js +14 -0
  466. package/dist/esm/components/icon/icons/clef-bass-icon.js.map +1 -0
  467. package/dist/esm/components/icon/icons/clef-treble-icon.js +14 -0
  468. package/dist/esm/components/icon/icons/clef-treble-icon.js.map +1 -0
  469. package/dist/esm/components/icon/icons/cupcake-icon.js +14 -0
  470. package/dist/esm/components/icon/icons/cupcake-icon.js.map +1 -0
  471. package/dist/esm/components/icon/icons/door-closed-package-icon.js +14 -0
  472. package/dist/esm/components/icon/icons/door-closed-package-icon.js.map +1 -0
  473. package/dist/esm/components/icon/icons/faucet-icon.js +14 -0
  474. package/dist/esm/components/icon/icons/faucet-icon.js.map +1 -0
  475. package/dist/esm/components/icon/icons/house-cog-icon.js +14 -0
  476. package/dist/esm/components/icon/icons/house-cog-icon.js.map +1 -0
  477. package/dist/esm/components/icon/icons/index.js +41 -1
  478. package/dist/esm/components/icon/icons/index.js.map +1 -1
  479. package/dist/esm/components/icon/icons/lambda-icon.js +14 -0
  480. package/dist/esm/components/icon/icons/lambda-icon.js.map +1 -0
  481. package/dist/esm/components/icon/icons/line-dot-bottom-vertical-icon.js +14 -0
  482. package/dist/esm/components/icon/icons/line-dot-bottom-vertical-icon.js.map +1 -0
  483. package/dist/esm/components/icon/icons/line-dot-left-horizontal-icon.js +14 -0
  484. package/dist/esm/components/icon/icons/line-dot-left-horizontal-icon.js.map +1 -0
  485. package/dist/esm/components/icon/icons/line-dot-top-vertical-icon.js +14 -0
  486. package/dist/esm/components/icon/icons/line-dot-top-vertical-icon.js.map +1 -0
  487. package/dist/esm/components/icon/icons/monitor-pc-icon.js +14 -0
  488. package/dist/esm/components/icon/icons/monitor-pc-icon.js.map +1 -0
  489. package/dist/esm/components/icon/icons/nepali-rupee-icon.js +14 -0
  490. package/dist/esm/components/icon/icons/nepali-rupee-icon.js.map +1 -0
  491. package/dist/esm/components/icon/icons/rotate-cw-clock-icon.js +14 -0
  492. package/dist/esm/components/icon/icons/rotate-cw-clock-icon.js.map +1 -0
  493. package/dist/esm/components/icon/icons/square-dashed-plus-icon.js +14 -0
  494. package/dist/esm/components/icon/icons/square-dashed-plus-icon.js.map +1 -0
  495. package/dist/esm/components/icon/icons/square-dashed-x-corner-icon.js +14 -0
  496. package/dist/esm/components/icon/icons/square-dashed-x-corner-icon.js.map +1 -0
  497. package/dist/esm/components/icon/icons/square-dashed-x-icon.js +14 -0
  498. package/dist/esm/components/icon/icons/square-dashed-x-icon.js.map +1 -0
  499. package/dist/esm/components/icon/icons/square-sparkles-icon.js +14 -0
  500. package/dist/esm/components/icon/icons/square-sparkles-icon.js.map +1 -0
  501. package/dist/esm/components/icon/icons/tube-lotion-icon.js +14 -0
  502. package/dist/esm/components/icon/icons/tube-lotion-icon.js.map +1 -0
  503. package/dist/esm/components/icon/index.js +21 -1
  504. package/dist/esm/components/menu/menu.js +29 -28
  505. package/dist/esm/components/menu/menu.js.map +1 -1
  506. package/dist/esm/components/toggle/use-toggle-group.js +11 -10
  507. package/dist/esm/components/toggle/use-toggle-group.js.map +1 -1
  508. package/dist/esm/components/tree/use-tree.js +4 -3
  509. package/dist/esm/components/tree/use-tree.js.map +1 -1
  510. package/dist/esm/core/css/styles.js.map +1 -1
  511. package/dist/esm/index.js +41 -1
  512. package/dist/esm/utils/store.js.map +1 -1
  513. package/dist/types/components/accordion/accordion.d.ts +10 -10
  514. package/dist/types/components/accordion/accordion.style.d.ts +2 -3
  515. package/dist/types/components/accordion/use-accordion.d.ts +7 -7
  516. package/dist/types/components/action-bar/action-bar.d.ts +11 -11
  517. package/dist/types/components/action-bar/action-bar.style.d.ts +2 -3
  518. package/dist/types/components/action-bar/use-action-bar.d.ts +3 -4
  519. package/dist/types/components/airy/airy.d.ts +3 -3
  520. package/dist/types/components/airy/airy.style.d.ts +2 -3
  521. package/dist/types/components/alert/alert.d.ts +12 -11
  522. package/dist/types/components/alert/alert.style.d.ts +2 -3
  523. package/dist/types/components/alpha-slider/alpha-slider.d.ts +10 -9
  524. package/dist/types/components/alpha-slider/alpha-slider.style.d.ts +2 -3
  525. package/dist/types/components/aspect-ratio/aspect-ratio.d.ts +3 -3
  526. package/dist/types/components/aspect-ratio/aspect-ratio.style.d.ts +2 -3
  527. package/dist/types/components/autocomplete/autocomplete.d.ts +10 -9
  528. package/dist/types/components/autocomplete/autocomplete.style.d.ts +2 -3
  529. package/dist/types/components/autocomplete/use-autocomplete.d.ts +10 -10
  530. package/dist/types/components/avatar/avatar-group.d.ts +2 -3
  531. package/dist/types/components/avatar/avatar.d.ts +3 -3
  532. package/dist/types/components/avatar/avatar.style.d.ts +2 -3
  533. package/dist/types/components/avatar/use-avatar-group.d.ts +3 -4
  534. package/dist/types/components/avatar/use-avatar.d.ts +3 -4
  535. package/dist/types/components/badge/badge.d.ts +3 -3
  536. package/dist/types/components/badge/badge.style.d.ts +2 -3
  537. package/dist/types/components/bleed/bleed.d.ts +3 -3
  538. package/dist/types/components/bleed/bleed.style.d.ts +2 -3
  539. package/dist/types/components/blockquote/blockquote.d.ts +11 -11
  540. package/dist/types/components/blockquote/blockquote.style.d.ts +2 -3
  541. package/dist/types/components/box/box.d.ts +2 -3
  542. package/dist/types/components/breadcrumb/breadcrumb.d.ts +7 -7
  543. package/dist/types/components/breadcrumb/breadcrumb.style.d.ts +2 -3
  544. package/dist/types/components/breadcrumb/use-breadcrumb.d.ts +4 -5
  545. package/dist/types/components/button/button-group.d.ts +2 -3
  546. package/dist/types/components/button/button.d.ts +4 -3
  547. package/dist/types/components/button/button.style.d.ts +2 -3
  548. package/dist/types/components/button/icon-button.d.ts +3 -3
  549. package/dist/types/components/button/icon-button.style.d.ts +2 -3
  550. package/dist/types/components/calendar/calendar.d.ts +18 -17
  551. package/dist/types/components/calendar/calendar.style.d.ts +2 -3
  552. package/dist/types/components/calendar/use-calendar.d.ts +41 -41
  553. package/dist/types/components/card/card.d.ts +9 -9
  554. package/dist/types/components/card/card.style.d.ts +2 -3
  555. package/dist/types/components/carousel/carousel.d.ts +15 -15
  556. package/dist/types/components/carousel/carousel.style.d.ts +2 -3
  557. package/dist/types/components/carousel/use-carousel.d.ts +12 -12
  558. package/dist/types/components/center/center.d.ts +3 -3
  559. package/dist/types/components/center/center.style.d.ts +2 -3
  560. package/dist/types/components/chart/area-chart.d.ts +3 -3
  561. package/dist/types/components/chart/area-chart.style.d.ts +2 -3
  562. package/dist/types/components/chart/bar-chart.d.ts +3 -3
  563. package/dist/types/components/chart/bar-chart.style.d.ts +2 -3
  564. package/dist/types/components/chart/cartesian-chart.d.ts +19 -19
  565. package/dist/types/components/chart/cartesian-chart.style.d.ts +2 -3
  566. package/dist/types/components/chart/chart.d.ts +20 -20
  567. package/dist/types/components/chart/chart.style.d.ts +2 -3
  568. package/dist/types/components/chart/composed-chart.d.ts +5 -5
  569. package/dist/types/components/chart/composed-chart.style.d.ts +2 -3
  570. package/dist/types/components/chart/donut-chart.d.ts +3 -3
  571. package/dist/types/components/chart/donut-chart.style.d.ts +2 -3
  572. package/dist/types/components/chart/line-chart.d.ts +3 -3
  573. package/dist/types/components/chart/line-chart.style.d.ts +2 -3
  574. package/dist/types/components/chart/pie-chart.d.ts +3 -3
  575. package/dist/types/components/chart/pie-chart.style.d.ts +2 -3
  576. package/dist/types/components/chart/polar-chart.d.ts +22 -22
  577. package/dist/types/components/chart/polar-chart.style.d.ts +2 -3
  578. package/dist/types/components/chart/radar-chart.d.ts +3 -3
  579. package/dist/types/components/chart/radar-chart.style.d.ts +2 -3
  580. package/dist/types/components/chart/radial-chart.d.ts +3 -3
  581. package/dist/types/components/chart/radial-chart.style.d.ts +2 -3
  582. package/dist/types/components/chart/use-cartesian-chart.d.ts +24 -25
  583. package/dist/types/components/chart/use-chart.d.ts +15 -15
  584. package/dist/types/components/chart/use-polar-chart.d.ts +30 -31
  585. package/dist/types/components/checkbox/checkbox-group.d.ts +3 -3
  586. package/dist/types/components/checkbox/checkbox.d.ts +3 -3
  587. package/dist/types/components/checkbox/checkbox.style.d.ts +2 -3
  588. package/dist/types/components/checkbox/use-checkbox-group.d.ts +4 -4
  589. package/dist/types/components/checkbox/use-checkbox.d.ts +3 -4
  590. package/dist/types/components/checkbox-card/checkbox-card-group.d.ts +3 -3
  591. package/dist/types/components/checkbox-card/checkbox-card.d.ts +9 -9
  592. package/dist/types/components/checkbox-card/checkbox-card.style.d.ts +2 -3
  593. package/dist/types/components/circle-progress/circle-progress.d.ts +5 -5
  594. package/dist/types/components/circle-progress/circle-progress.style.d.ts +2 -3
  595. package/dist/types/components/client-only/client-only.d.ts +2 -3
  596. package/dist/types/components/close-button/close-button.d.ts +3 -3
  597. package/dist/types/components/close-button/close-button.style.d.ts +2 -3
  598. package/dist/types/components/code/code.d.ts +3 -3
  599. package/dist/types/components/code/code.style.d.ts +2 -3
  600. package/dist/types/components/collapse/collapse.d.ts +3 -3
  601. package/dist/types/components/collapse/collapse.style.d.ts +2 -3
  602. package/dist/types/components/color-picker/color-picker.d.ts +6 -3
  603. package/dist/types/components/color-picker/color-picker.style.d.ts +2 -3
  604. package/dist/types/components/color-picker/use-color-picker.d.ts +3 -4
  605. package/dist/types/components/color-selector/color-selector.d.ts +18 -17
  606. package/dist/types/components/color-selector/color-selector.style.d.ts +2 -3
  607. package/dist/types/components/color-selector/use-color-selector.d.ts +3 -4
  608. package/dist/types/components/color-swatch/color-swatch-group.d.ts +2 -3
  609. package/dist/types/components/color-swatch/color-swatch.d.ts +4 -4
  610. package/dist/types/components/color-swatch/color-swatch.style.d.ts +2 -3
  611. package/dist/types/components/container/container.d.ts +9 -9
  612. package/dist/types/components/container/container.style.d.ts +2 -3
  613. package/dist/types/components/data-list/data-list.d.ts +10 -10
  614. package/dist/types/components/data-list/data-list.style.d.ts +2 -3
  615. package/dist/types/components/date-picker/date-picker.d.ts +6 -3
  616. package/dist/types/components/date-picker/date-picker.style.d.ts +2 -3
  617. package/dist/types/components/date-picker/use-date-picker.d.ts +5 -6
  618. package/dist/types/components/drawer/drawer.d.ts +23 -23
  619. package/dist/types/components/drawer/drawer.style.d.ts +2 -3
  620. package/dist/types/components/drawer/use-drawer.d.ts +3 -4
  621. package/dist/types/components/dropzone/accept-types.d.ts +7 -8
  622. package/dist/types/components/dropzone/dropzone.d.ts +16 -15
  623. package/dist/types/components/dropzone/dropzone.style.d.ts +2 -3
  624. package/dist/types/components/dropzone/use-dropzone.d.ts +3 -4
  625. package/dist/types/components/editable/editable.d.ts +17 -17
  626. package/dist/types/components/editable/editable.style.d.ts +2 -3
  627. package/dist/types/components/editable/use-editable.d.ts +4 -4
  628. package/dist/types/components/em/em.d.ts +3 -3
  629. package/dist/types/components/em/em.style.d.ts +2 -3
  630. package/dist/types/components/empty-state/empty-state.d.ts +11 -11
  631. package/dist/types/components/empty-state/empty-state.style.d.ts +2 -3
  632. package/dist/types/components/fade/fade.d.ts +4 -4
  633. package/dist/types/components/fade/fade.style.d.ts +2 -3
  634. package/dist/types/components/fade-scale/fade-scale.d.ts +3 -4
  635. package/dist/types/components/fade-scale/fade-scale.style.d.ts +2 -3
  636. package/dist/types/components/field/field.d.ts +10 -10
  637. package/dist/types/components/field/field.style.d.ts +2 -3
  638. package/dist/types/components/field/use-field-props.d.ts +3 -4
  639. package/dist/types/components/fieldset/fieldset.d.ts +13 -13
  640. package/dist/types/components/fieldset/fieldset.style.d.ts +2 -3
  641. package/dist/types/components/file-button/file-button.d.ts +3 -3
  642. package/dist/types/components/file-button/file-button.style.d.ts +2 -3
  643. package/dist/types/components/file-button/use-file-button.d.ts +3 -4
  644. package/dist/types/components/file-input/file-input.d.ts +3 -3
  645. package/dist/types/components/file-input/file-input.style.d.ts +2 -3
  646. package/dist/types/components/file-input/use-file-input.d.ts +3 -4
  647. package/dist/types/components/flex/flex.d.ts +3 -3
  648. package/dist/types/components/flex/flex.style.d.ts +2 -3
  649. package/dist/types/components/flex/spacer.d.ts +2 -3
  650. package/dist/types/components/flip/flip.d.ts +3 -3
  651. package/dist/types/components/flip/flip.style.d.ts +2 -3
  652. package/dist/types/components/float/float.d.ts +3 -3
  653. package/dist/types/components/float/float.style.d.ts +2 -3
  654. package/dist/types/components/focus-lock/focus-lock.d.ts +3 -3
  655. package/dist/types/components/for/for.d.ts +2 -3
  656. package/dist/types/components/form/form.d.ts +17 -17
  657. package/dist/types/components/form/form.style.d.ts +2 -3
  658. package/dist/types/components/format/format-byte.d.ts +3 -3
  659. package/dist/types/components/format/format-byte.style.d.ts +2 -3
  660. package/dist/types/components/format/format-date-time.d.ts +3 -3
  661. package/dist/types/components/format/format-date-time.style.d.ts +2 -3
  662. package/dist/types/components/format/format-number.d.ts +3 -3
  663. package/dist/types/components/format/format-number.style.d.ts +2 -3
  664. package/dist/types/components/format/use-format-byte.d.ts +5 -6
  665. package/dist/types/components/format/use-format-date-time.d.ts +6 -7
  666. package/dist/types/components/format/use-format-number.d.ts +6 -7
  667. package/dist/types/components/grid/grid-item.d.ts +3 -3
  668. package/dist/types/components/grid/grid-item.style.d.ts +2 -3
  669. package/dist/types/components/grid/grid.d.ts +3 -3
  670. package/dist/types/components/grid/grid.style.d.ts +2 -3
  671. package/dist/types/components/group/group.d.ts +3 -3
  672. package/dist/types/components/group/group.style.d.ts +2 -3
  673. package/dist/types/components/group/use-group.d.ts +4 -5
  674. package/dist/types/components/heading/heading.d.ts +3 -3
  675. package/dist/types/components/heading/heading.style.d.ts +2 -3
  676. package/dist/types/components/highlight/highlight.d.ts +2 -3
  677. package/dist/types/components/highlight/use-highlight.d.ts +4 -5
  678. package/dist/types/components/hue-slider/hue-slider.d.ts +10 -9
  679. package/dist/types/components/hue-slider/hue-slider.style.d.ts +2 -3
  680. package/dist/types/components/icon/icon.d.ts +3 -3
  681. package/dist/types/components/icon/icon.style.d.ts +2 -3
  682. package/dist/types/components/icon/icons/a-arrow-down-icon.d.ts +1 -2
  683. package/dist/types/components/icon/icons/a-arrow-up-icon.d.ts +1 -2
  684. package/dist/types/components/icon/icons/a-large-small-icon.d.ts +1 -2
  685. package/dist/types/components/icon/icons/accessibility-icon.d.ts +1 -2
  686. package/dist/types/components/icon/icons/activity-icon.d.ts +1 -2
  687. package/dist/types/components/icon/icons/ad-icon.d.ts +1 -2
  688. package/dist/types/components/icon/icons/air-vent-icon.d.ts +1 -2
  689. package/dist/types/components/icon/icons/airplay-icon.d.ts +1 -2
  690. package/dist/types/components/icon/icons/alarm-clock-check-icon.d.ts +1 -2
  691. package/dist/types/components/icon/icons/alarm-clock-icon.d.ts +1 -2
  692. package/dist/types/components/icon/icons/alarm-clock-minus-icon.d.ts +1 -2
  693. package/dist/types/components/icon/icons/alarm-clock-off-icon.d.ts +1 -2
  694. package/dist/types/components/icon/icons/alarm-clock-plus-icon.d.ts +1 -2
  695. package/dist/types/components/icon/icons/alarm-smoke-icon.d.ts +1 -2
  696. package/dist/types/components/icon/icons/align-center-horizontal-icon.d.ts +1 -2
  697. package/dist/types/components/icon/icons/align-center-vertical-icon.d.ts +1 -2
  698. package/dist/types/components/icon/icons/align-end-horizontal-icon.d.ts +1 -2
  699. package/dist/types/components/icon/icons/align-end-vertical-icon.d.ts +1 -2
  700. package/dist/types/components/icon/icons/align-horizontal-distribute-center-icon.d.ts +1 -2
  701. package/dist/types/components/icon/icons/align-horizontal-distribute-end-icon.d.ts +1 -2
  702. package/dist/types/components/icon/icons/align-horizontal-distribute-start-icon.d.ts +1 -2
  703. package/dist/types/components/icon/icons/align-horizontal-justify-center-icon.d.ts +1 -2
  704. package/dist/types/components/icon/icons/align-horizontal-justify-end-icon.d.ts +1 -2
  705. package/dist/types/components/icon/icons/align-horizontal-justify-start-icon.d.ts +1 -2
  706. package/dist/types/components/icon/icons/align-horizontal-space-around-icon.d.ts +1 -2
  707. package/dist/types/components/icon/icons/align-horizontal-space-between-icon.d.ts +1 -2
  708. package/dist/types/components/icon/icons/align-start-horizontal-icon.d.ts +1 -2
  709. package/dist/types/components/icon/icons/align-start-vertical-icon.d.ts +1 -2
  710. package/dist/types/components/icon/icons/align-vertical-distribute-center-icon.d.ts +1 -2
  711. package/dist/types/components/icon/icons/align-vertical-distribute-end-icon.d.ts +1 -2
  712. package/dist/types/components/icon/icons/align-vertical-distribute-start-icon.d.ts +1 -2
  713. package/dist/types/components/icon/icons/align-vertical-justify-center-icon.d.ts +1 -2
  714. package/dist/types/components/icon/icons/align-vertical-justify-end-icon.d.ts +1 -2
  715. package/dist/types/components/icon/icons/align-vertical-justify-start-icon.d.ts +1 -2
  716. package/dist/types/components/icon/icons/align-vertical-space-around-icon.d.ts +1 -2
  717. package/dist/types/components/icon/icons/align-vertical-space-between-icon.d.ts +1 -2
  718. package/dist/types/components/icon/icons/ambulance-icon.d.ts +1 -2
  719. package/dist/types/components/icon/icons/ampersand-icon.d.ts +1 -2
  720. package/dist/types/components/icon/icons/ampersands-icon.d.ts +1 -2
  721. package/dist/types/components/icon/icons/amphora-icon.d.ts +1 -2
  722. package/dist/types/components/icon/icons/anchor-icon.d.ts +1 -2
  723. package/dist/types/components/icon/icons/angle-icon.d.ts +1 -2
  724. package/dist/types/components/icon/icons/antenna-icon.d.ts +1 -2
  725. package/dist/types/components/icon/icons/anvil-icon.d.ts +1 -2
  726. package/dist/types/components/icon/icons/aperture-icon.d.ts +1 -2
  727. package/dist/types/components/icon/icons/app-window-icon.d.ts +1 -2
  728. package/dist/types/components/icon/icons/app-window-mac-icon.d.ts +1 -2
  729. package/dist/types/components/icon/icons/apple-icon.d.ts +1 -2
  730. package/dist/types/components/icon/icons/archive-icon.d.ts +1 -2
  731. package/dist/types/components/icon/icons/archive-restore-icon.d.ts +1 -2
  732. package/dist/types/components/icon/icons/archive-x-icon.d.ts +1 -2
  733. package/dist/types/components/icon/icons/armchair-icon.d.ts +1 -2
  734. package/dist/types/components/icon/icons/arrow-big-down-dash-icon.d.ts +1 -2
  735. package/dist/types/components/icon/icons/arrow-big-down-icon.d.ts +1 -2
  736. package/dist/types/components/icon/icons/arrow-big-left-dash-icon.d.ts +1 -2
  737. package/dist/types/components/icon/icons/arrow-big-left-icon.d.ts +1 -2
  738. package/dist/types/components/icon/icons/arrow-big-right-dash-icon.d.ts +1 -2
  739. package/dist/types/components/icon/icons/arrow-big-right-icon.d.ts +1 -2
  740. package/dist/types/components/icon/icons/arrow-big-up-dash-icon.d.ts +1 -2
  741. package/dist/types/components/icon/icons/arrow-big-up-icon.d.ts +1 -2
  742. package/dist/types/components/icon/icons/arrow-down-a-z-icon.d.ts +1 -2
  743. package/dist/types/components/icon/icons/arrow-down-from-line-icon.d.ts +1 -2
  744. package/dist/types/components/icon/icons/arrow-down-icon.d.ts +1 -2
  745. package/dist/types/components/icon/icons/arrow-down-left-icon.d.ts +1 -2
  746. package/dist/types/components/icon/icons/arrow-down-narrow-wide-icon.d.ts +1 -2
  747. package/dist/types/components/icon/icons/arrow-down-right-icon.d.ts +1 -2
  748. package/dist/types/components/icon/icons/arrow-down-to-dot-icon.d.ts +1 -2
  749. package/dist/types/components/icon/icons/arrow-down-to-line-icon.d.ts +1 -2
  750. package/dist/types/components/icon/icons/arrow-down-up-icon.d.ts +1 -2
  751. package/dist/types/components/icon/icons/arrow-down-wide-narrow-icon.d.ts +1 -2
  752. package/dist/types/components/icon/icons/arrow-down-z-a-icon.d.ts +1 -2
  753. package/dist/types/components/icon/icons/arrow-down01-icon.d.ts +1 -2
  754. package/dist/types/components/icon/icons/arrow-down10-icon.d.ts +1 -2
  755. package/dist/types/components/icon/icons/arrow-left-from-line-icon.d.ts +1 -2
  756. package/dist/types/components/icon/icons/arrow-left-icon.d.ts +1 -2
  757. package/dist/types/components/icon/icons/arrow-left-right-icon.d.ts +1 -2
  758. package/dist/types/components/icon/icons/arrow-left-to-line-icon.d.ts +1 -2
  759. package/dist/types/components/icon/icons/arrow-right-from-line-icon.d.ts +1 -2
  760. package/dist/types/components/icon/icons/arrow-right-icon.d.ts +1 -2
  761. package/dist/types/components/icon/icons/arrow-right-left-icon.d.ts +1 -2
  762. package/dist/types/components/icon/icons/arrow-right-to-line-icon.d.ts +1 -2
  763. package/dist/types/components/icon/icons/arrow-up-a-z-icon.d.ts +1 -2
  764. package/dist/types/components/icon/icons/arrow-up-down-icon.d.ts +1 -2
  765. package/dist/types/components/icon/icons/arrow-up-from-dot-icon.d.ts +1 -2
  766. package/dist/types/components/icon/icons/arrow-up-from-line-icon.d.ts +1 -2
  767. package/dist/types/components/icon/icons/arrow-up-icon.d.ts +1 -2
  768. package/dist/types/components/icon/icons/arrow-up-left-icon.d.ts +1 -2
  769. package/dist/types/components/icon/icons/arrow-up-narrow-wide-icon.d.ts +1 -2
  770. package/dist/types/components/icon/icons/arrow-up-right-icon.d.ts +1 -2
  771. package/dist/types/components/icon/icons/arrow-up-to-line-icon.d.ts +1 -2
  772. package/dist/types/components/icon/icons/arrow-up-wide-narrow-icon.d.ts +1 -2
  773. package/dist/types/components/icon/icons/arrow-up-z-a-icon.d.ts +1 -2
  774. package/dist/types/components/icon/icons/arrow-up01-icon.d.ts +1 -2
  775. package/dist/types/components/icon/icons/arrow-up10-icon.d.ts +1 -2
  776. package/dist/types/components/icon/icons/arrows-up-from-line-icon.d.ts +1 -2
  777. package/dist/types/components/icon/icons/asterisk-icon.d.ts +1 -2
  778. package/dist/types/components/icon/icons/astroid-icon.d.ts +1 -2
  779. package/dist/types/components/icon/icons/at-sign-icon.d.ts +1 -2
  780. package/dist/types/components/icon/icons/atom-icon.d.ts +1 -2
  781. package/dist/types/components/icon/icons/audio-lines-icon.d.ts +1 -2
  782. package/dist/types/components/icon/icons/audio-lines-off-icon.d.ts +1 -2
  783. package/dist/types/components/icon/icons/audio-lines-x-icon.d.ts +1 -2
  784. package/dist/types/components/icon/icons/audio-waveform-icon.d.ts +1 -2
  785. package/dist/types/components/icon/icons/award-icon.d.ts +1 -2
  786. package/dist/types/components/icon/icons/axe-icon.d.ts +1 -2
  787. package/dist/types/components/icon/icons/axis3d-icon.d.ts +1 -2
  788. package/dist/types/components/icon/icons/baby-icon.d.ts +1 -2
  789. package/dist/types/components/icon/icons/backpack-icon.d.ts +1 -2
  790. package/dist/types/components/icon/icons/badge-alert-icon.d.ts +1 -2
  791. package/dist/types/components/icon/icons/badge-cent-icon.d.ts +1 -2
  792. package/dist/types/components/icon/icons/badge-check-icon.d.ts +1 -2
  793. package/dist/types/components/icon/icons/badge-dollar-sign-icon.d.ts +1 -2
  794. package/dist/types/components/icon/icons/badge-euro-icon.d.ts +1 -2
  795. package/dist/types/components/icon/icons/badge-icon.d.ts +1 -2
  796. package/dist/types/components/icon/icons/badge-indian-rupee-icon.d.ts +1 -2
  797. package/dist/types/components/icon/icons/badge-info-icon.d.ts +1 -2
  798. package/dist/types/components/icon/icons/badge-japanese-yen-icon.d.ts +1 -2
  799. package/dist/types/components/icon/icons/badge-minus-icon.d.ts +1 -2
  800. package/dist/types/components/icon/icons/badge-percent-icon.d.ts +1 -2
  801. package/dist/types/components/icon/icons/badge-plus-icon.d.ts +1 -2
  802. package/dist/types/components/icon/icons/badge-pound-sterling-icon.d.ts +1 -2
  803. package/dist/types/components/icon/icons/badge-question-mark-icon.d.ts +1 -2
  804. package/dist/types/components/icon/icons/badge-russian-ruble-icon.d.ts +1 -2
  805. package/dist/types/components/icon/icons/badge-swiss-franc-icon.d.ts +1 -2
  806. package/dist/types/components/icon/icons/badge-turkish-lira-icon.d.ts +1 -2
  807. package/dist/types/components/icon/icons/badge-x-icon.d.ts +1 -2
  808. package/dist/types/components/icon/icons/baggage-claim-icon.d.ts +1 -2
  809. package/dist/types/components/icon/icons/balloon-icon.d.ts +1 -2
  810. package/dist/types/components/icon/icons/ban-icon.d.ts +1 -2
  811. package/dist/types/components/icon/icons/banana-icon.d.ts +1 -2
  812. package/dist/types/components/icon/icons/bandage-icon.d.ts +1 -2
  813. package/dist/types/components/icon/icons/banknote-arrow-down-icon.d.ts +1 -2
  814. package/dist/types/components/icon/icons/banknote-arrow-up-icon.d.ts +1 -2
  815. package/dist/types/components/icon/icons/banknote-check-icon.d.ts +1 -2
  816. package/dist/types/components/icon/icons/banknote-icon.d.ts +1 -2
  817. package/dist/types/components/icon/icons/banknote-x-icon.d.ts +1 -2
  818. package/dist/types/components/icon/icons/barcode-icon.d.ts +1 -2
  819. package/dist/types/components/icon/icons/barrel-icon.d.ts +1 -2
  820. package/dist/types/components/icon/icons/baseline-icon.d.ts +1 -2
  821. package/dist/types/components/icon/icons/bath-icon.d.ts +1 -2
  822. package/dist/types/components/icon/icons/battery-charging-icon.d.ts +1 -2
  823. package/dist/types/components/icon/icons/battery-full-icon.d.ts +1 -2
  824. package/dist/types/components/icon/icons/battery-icon.d.ts +1 -2
  825. package/dist/types/components/icon/icons/battery-low-icon.d.ts +1 -2
  826. package/dist/types/components/icon/icons/battery-medium-icon.d.ts +1 -2
  827. package/dist/types/components/icon/icons/battery-plus-icon.d.ts +1 -2
  828. package/dist/types/components/icon/icons/battery-warning-icon.d.ts +1 -2
  829. package/dist/types/components/icon/icons/beaker-icon.d.ts +1 -2
  830. package/dist/types/components/icon/icons/bean-icon.d.ts +1 -2
  831. package/dist/types/components/icon/icons/bean-off-icon.d.ts +1 -2
  832. package/dist/types/components/icon/icons/bed-double-icon.d.ts +1 -2
  833. package/dist/types/components/icon/icons/bed-icon.d.ts +1 -2
  834. package/dist/types/components/icon/icons/bed-single-icon.d.ts +1 -2
  835. package/dist/types/components/icon/icons/beef-icon.d.ts +1 -2
  836. package/dist/types/components/icon/icons/beef-off-icon.d.ts +1 -2
  837. package/dist/types/components/icon/icons/beer-icon.d.ts +1 -2
  838. package/dist/types/components/icon/icons/beer-off-icon.d.ts +1 -2
  839. package/dist/types/components/icon/icons/bell-check-icon.d.ts +1 -2
  840. package/dist/types/components/icon/icons/bell-dot-icon.d.ts +1 -2
  841. package/dist/types/components/icon/icons/bell-electric-icon.d.ts +1 -2
  842. package/dist/types/components/icon/icons/bell-icon.d.ts +1 -2
  843. package/dist/types/components/icon/icons/bell-minus-icon.d.ts +1 -2
  844. package/dist/types/components/icon/icons/bell-off-icon.d.ts +1 -2
  845. package/dist/types/components/icon/icons/bell-plus-icon.d.ts +1 -2
  846. package/dist/types/components/icon/icons/bell-ring-icon.d.ts +1 -2
  847. package/dist/types/components/icon/icons/between-horizontal-end-icon.d.ts +1 -2
  848. package/dist/types/components/icon/icons/between-horizontal-start-icon.d.ts +1 -2
  849. package/dist/types/components/icon/icons/between-vertical-end-icon.d.ts +1 -2
  850. package/dist/types/components/icon/icons/between-vertical-start-icon.d.ts +1 -2
  851. package/dist/types/components/icon/icons/biceps-flexed-icon.d.ts +1 -2
  852. package/dist/types/components/icon/icons/bike-icon.d.ts +1 -2
  853. package/dist/types/components/icon/icons/binary-icon.d.ts +1 -2
  854. package/dist/types/components/icon/icons/binoculars-icon.d.ts +1 -2
  855. package/dist/types/components/icon/icons/biohazard-icon.d.ts +1 -2
  856. package/dist/types/components/icon/icons/bird-icon.d.ts +1 -2
  857. package/dist/types/components/icon/icons/birdhouse-icon.d.ts +1 -2
  858. package/dist/types/components/icon/icons/bitcoin-icon.d.ts +1 -2
  859. package/dist/types/components/icon/icons/blend-icon.d.ts +1 -2
  860. package/dist/types/components/icon/icons/blender-icon.d.ts +1 -2
  861. package/dist/types/components/icon/icons/blinds-icon.d.ts +1 -2
  862. package/dist/types/components/icon/icons/blocks-icon.d.ts +1 -2
  863. package/dist/types/components/icon/icons/bluetooth-connected-icon.d.ts +1 -2
  864. package/dist/types/components/icon/icons/bluetooth-icon.d.ts +1 -2
  865. package/dist/types/components/icon/icons/bluetooth-off-icon.d.ts +1 -2
  866. package/dist/types/components/icon/icons/bluetooth-searching-icon.d.ts +1 -2
  867. package/dist/types/components/icon/icons/bold-icon.d.ts +1 -2
  868. package/dist/types/components/icon/icons/bolt-icon.d.ts +1 -2
  869. package/dist/types/components/icon/icons/bomb-icon.d.ts +1 -2
  870. package/dist/types/components/icon/icons/bone-fracture-icon.d.ts +1 -2
  871. package/dist/types/components/icon/icons/bone-icon.d.ts +1 -2
  872. package/dist/types/components/icon/icons/book-a-icon.d.ts +1 -2
  873. package/dist/types/components/icon/icons/book-alert-icon.d.ts +1 -2
  874. package/dist/types/components/icon/icons/book-audio-icon.d.ts +1 -2
  875. package/dist/types/components/icon/icons/book-bookmark-icon.d.ts +1 -2
  876. package/dist/types/components/icon/icons/book-check-icon.d.ts +1 -2
  877. package/dist/types/components/icon/icons/book-copy-icon.d.ts +1 -2
  878. package/dist/types/components/icon/icons/book-dashed-icon.d.ts +1 -2
  879. package/dist/types/components/icon/icons/book-down-icon.d.ts +1 -2
  880. package/dist/types/components/icon/icons/book-headphones-icon.d.ts +1 -2
  881. package/dist/types/components/icon/icons/book-heart-icon.d.ts +1 -2
  882. package/dist/types/components/icon/icons/book-icon.d.ts +1 -2
  883. package/dist/types/components/icon/icons/book-image-icon.d.ts +1 -2
  884. package/dist/types/components/icon/icons/book-key-icon.d.ts +1 -2
  885. package/dist/types/components/icon/icons/book-lock-icon.d.ts +1 -2
  886. package/dist/types/components/icon/icons/book-minus-icon.d.ts +1 -2
  887. package/dist/types/components/icon/icons/book-open-check-icon.d.ts +1 -2
  888. package/dist/types/components/icon/icons/book-open-icon.d.ts +1 -2
  889. package/dist/types/components/icon/icons/book-open-text-icon.d.ts +1 -2
  890. package/dist/types/components/icon/icons/book-plus-icon.d.ts +1 -2
  891. package/dist/types/components/icon/icons/book-search-icon.d.ts +1 -2
  892. package/dist/types/components/icon/icons/book-text-icon.d.ts +1 -2
  893. package/dist/types/components/icon/icons/book-type-icon.d.ts +1 -2
  894. package/dist/types/components/icon/icons/book-up-icon.d.ts +1 -2
  895. package/dist/types/components/icon/icons/book-up2-icon.d.ts +1 -2
  896. package/dist/types/components/icon/icons/book-user-icon.d.ts +1 -2
  897. package/dist/types/components/icon/icons/book-x-icon.d.ts +1 -2
  898. package/dist/types/components/icon/icons/bookmark-check-icon.d.ts +1 -2
  899. package/dist/types/components/icon/icons/bookmark-icon.d.ts +1 -2
  900. package/dist/types/components/icon/icons/bookmark-minus-icon.d.ts +1 -2
  901. package/dist/types/components/icon/icons/bookmark-off-icon.d.ts +1 -2
  902. package/dist/types/components/icon/icons/bookmark-plus-icon.d.ts +1 -2
  903. package/dist/types/components/icon/icons/bookmark-x-icon.d.ts +1 -2
  904. package/dist/types/components/icon/icons/boom-box-icon.d.ts +1 -2
  905. package/dist/types/components/icon/icons/bot-icon.d.ts +1 -2
  906. package/dist/types/components/icon/icons/bot-message-square-icon.d.ts +1 -2
  907. package/dist/types/components/icon/icons/bot-off-icon.d.ts +1 -2
  908. package/dist/types/components/icon/icons/bottle-wine-icon.d.ts +1 -2
  909. package/dist/types/components/icon/icons/bow-arrow-icon.d.ts +1 -2
  910. package/dist/types/components/icon/icons/box-icon.d.ts +1 -2
  911. package/dist/types/components/icon/icons/boxes-icon.d.ts +1 -2
  912. package/dist/types/components/icon/icons/braces-icon.d.ts +1 -2
  913. package/dist/types/components/icon/icons/brackets-icon.d.ts +1 -2
  914. package/dist/types/components/icon/icons/brain-circuit-icon.d.ts +1 -2
  915. package/dist/types/components/icon/icons/brain-cog-icon.d.ts +1 -2
  916. package/dist/types/components/icon/icons/brain-icon.d.ts +1 -2
  917. package/dist/types/components/icon/icons/brick-wall-fire-icon.d.ts +1 -2
  918. package/dist/types/components/icon/icons/brick-wall-icon.d.ts +1 -2
  919. package/dist/types/components/icon/icons/brick-wall-shield-icon.d.ts +1 -2
  920. package/dist/types/components/icon/icons/bridge-icon.d.ts +1 -2
  921. package/dist/types/components/icon/icons/briefcase-business-icon.d.ts +1 -2
  922. package/dist/types/components/icon/icons/briefcase-conveyor-belt-icon.d.ts +1 -2
  923. package/dist/types/components/icon/icons/briefcase-icon.d.ts +1 -2
  924. package/dist/types/components/icon/icons/briefcase-medical-icon.d.ts +1 -2
  925. package/dist/types/components/icon/icons/briefcase-plus-icon.d.ts +12 -0
  926. package/dist/types/components/icon/icons/bring-to-front-icon.d.ts +1 -2
  927. package/dist/types/components/icon/icons/broccoli-icon.d.ts +1 -2
  928. package/dist/types/components/icon/icons/broom-icon.d.ts +1 -2
  929. package/dist/types/components/icon/icons/broom-sparkles-icon.d.ts +1 -2
  930. package/dist/types/components/icon/icons/brush-cleaning-icon.d.ts +1 -2
  931. package/dist/types/components/icon/icons/brush-icon.d.ts +1 -2
  932. package/dist/types/components/icon/icons/bubbles-icon.d.ts +1 -2
  933. package/dist/types/components/icon/icons/bug-icon.d.ts +1 -2
  934. package/dist/types/components/icon/icons/bug-off-icon.d.ts +1 -2
  935. package/dist/types/components/icon/icons/bug-play-icon.d.ts +1 -2
  936. package/dist/types/components/icon/icons/building-complex-icon.d.ts +1 -2
  937. package/dist/types/components/icon/icons/building-complex-plus-icon.d.ts +1 -2
  938. package/dist/types/components/icon/icons/building-icon.d.ts +1 -2
  939. package/dist/types/components/icon/icons/bus-front-icon.d.ts +1 -2
  940. package/dist/types/components/icon/icons/bus-icon.d.ts +1 -2
  941. package/dist/types/components/icon/icons/cable-car-icon.d.ts +1 -2
  942. package/dist/types/components/icon/icons/cable-icon.d.ts +1 -2
  943. package/dist/types/components/icon/icons/cake-icon.d.ts +1 -2
  944. package/dist/types/components/icon/icons/cake-slice-icon.d.ts +1 -2
  945. package/dist/types/components/icon/icons/calculator-icon.d.ts +1 -2
  946. package/dist/types/components/icon/icons/calendar-arrow-down-icon.d.ts +1 -2
  947. package/dist/types/components/icon/icons/calendar-arrow-up-icon.d.ts +1 -2
  948. package/dist/types/components/icon/icons/calendar-check-icon.d.ts +1 -2
  949. package/dist/types/components/icon/icons/calendar-check2-icon.d.ts +1 -2
  950. package/dist/types/components/icon/icons/calendar-chevrons-right-icon.d.ts +1 -2
  951. package/dist/types/components/icon/icons/calendar-clock-icon.d.ts +1 -2
  952. package/dist/types/components/icon/icons/calendar-cog-icon.d.ts +1 -2
  953. package/dist/types/components/icon/icons/calendar-days-icon.d.ts +1 -2
  954. package/dist/types/components/icon/icons/calendar-fold-icon.d.ts +1 -2
  955. package/dist/types/components/icon/icons/calendar-heart-icon.d.ts +1 -2
  956. package/dist/types/components/icon/icons/calendar-icon.d.ts +1 -2
  957. package/dist/types/components/icon/icons/calendar-minus-icon.d.ts +1 -2
  958. package/dist/types/components/icon/icons/calendar-minus2-icon.d.ts +1 -2
  959. package/dist/types/components/icon/icons/calendar-off-icon.d.ts +1 -2
  960. package/dist/types/components/icon/icons/calendar-plus-icon.d.ts +1 -2
  961. package/dist/types/components/icon/icons/calendar-plus2-icon.d.ts +1 -2
  962. package/dist/types/components/icon/icons/calendar-range-icon.d.ts +1 -2
  963. package/dist/types/components/icon/icons/calendar-search-icon.d.ts +1 -2
  964. package/dist/types/components/icon/icons/calendar-sync-icon.d.ts +1 -2
  965. package/dist/types/components/icon/icons/calendar-x-icon.d.ts +1 -2
  966. package/dist/types/components/icon/icons/calendar-x2-icon.d.ts +1 -2
  967. package/dist/types/components/icon/icons/calendar1-icon.d.ts +1 -2
  968. package/dist/types/components/icon/icons/calendars-icon.d.ts +1 -2
  969. package/dist/types/components/icon/icons/camera-icon.d.ts +1 -2
  970. package/dist/types/components/icon/icons/camera-off-icon.d.ts +1 -2
  971. package/dist/types/components/icon/icons/can-icon.d.ts +1 -2
  972. package/dist/types/components/icon/icons/can-soda-icon.d.ts +1 -2
  973. package/dist/types/components/icon/icons/candy-cane-icon.d.ts +1 -2
  974. package/dist/types/components/icon/icons/candy-icon.d.ts +1 -2
  975. package/dist/types/components/icon/icons/candy-off-icon.d.ts +1 -2
  976. package/dist/types/components/icon/icons/cannabis-icon.d.ts +1 -2
  977. package/dist/types/components/icon/icons/cannabis-off-icon.d.ts +1 -2
  978. package/dist/types/components/icon/icons/captions-icon.d.ts +1 -2
  979. package/dist/types/components/icon/icons/captions-off-icon.d.ts +1 -2
  980. package/dist/types/components/icon/icons/car-battery-icon.d.ts +1 -2
  981. package/dist/types/components/icon/icons/car-front-icon.d.ts +1 -2
  982. package/dist/types/components/icon/icons/car-icon.d.ts +1 -2
  983. package/dist/types/components/icon/icons/car-taxi-front-icon.d.ts +1 -2
  984. package/dist/types/components/icon/icons/caravan-icon.d.ts +1 -2
  985. package/dist/types/components/icon/icons/card-sim-icon.d.ts +1 -2
  986. package/dist/types/components/icon/icons/carrot-icon.d.ts +1 -2
  987. package/dist/types/components/icon/icons/carton-icon.d.ts +1 -2
  988. package/dist/types/components/icon/icons/carton-off-icon.d.ts +1 -2
  989. package/dist/types/components/icon/icons/case-lower-icon.d.ts +1 -2
  990. package/dist/types/components/icon/icons/case-sensitive-icon.d.ts +1 -2
  991. package/dist/types/components/icon/icons/case-upper-icon.d.ts +1 -2
  992. package/dist/types/components/icon/icons/cassette-tape-icon.d.ts +1 -2
  993. package/dist/types/components/icon/icons/cast-icon.d.ts +1 -2
  994. package/dist/types/components/icon/icons/castle-icon.d.ts +1 -2
  995. package/dist/types/components/icon/icons/cat-icon.d.ts +1 -2
  996. package/dist/types/components/icon/icons/cctv-icon.d.ts +1 -2
  997. package/dist/types/components/icon/icons/cctv-off-icon.d.ts +1 -2
  998. package/dist/types/components/icon/icons/chart-area-icon.d.ts +1 -2
  999. package/dist/types/components/icon/icons/chart-bar-big-icon.d.ts +1 -2
  1000. package/dist/types/components/icon/icons/chart-bar-decreasing-icon.d.ts +1 -2
  1001. package/dist/types/components/icon/icons/chart-bar-icon.d.ts +1 -2
  1002. package/dist/types/components/icon/icons/chart-bar-increasing-icon.d.ts +1 -2
  1003. package/dist/types/components/icon/icons/chart-bar-stacked-icon.d.ts +1 -2
  1004. package/dist/types/components/icon/icons/chart-candlestick-icon.d.ts +1 -2
  1005. package/dist/types/components/icon/icons/chart-column-big-icon.d.ts +1 -2
  1006. package/dist/types/components/icon/icons/chart-column-decreasing-icon.d.ts +1 -2
  1007. package/dist/types/components/icon/icons/chart-column-icon.d.ts +1 -2
  1008. package/dist/types/components/icon/icons/chart-column-increasing-icon.d.ts +1 -2
  1009. package/dist/types/components/icon/icons/chart-column-stacked-icon.d.ts +1 -2
  1010. package/dist/types/components/icon/icons/chart-gantt-icon.d.ts +1 -2
  1011. package/dist/types/components/icon/icons/chart-line-icon.d.ts +1 -2
  1012. package/dist/types/components/icon/icons/chart-network-icon.d.ts +1 -2
  1013. package/dist/types/components/icon/icons/chart-no-axes-column-decreasing-icon.d.ts +1 -2
  1014. package/dist/types/components/icon/icons/chart-no-axes-column-icon.d.ts +1 -2
  1015. package/dist/types/components/icon/icons/chart-no-axes-column-increasing-icon.d.ts +1 -2
  1016. package/dist/types/components/icon/icons/chart-no-axes-combined-icon.d.ts +1 -2
  1017. package/dist/types/components/icon/icons/chart-no-axes-gantt-icon.d.ts +1 -2
  1018. package/dist/types/components/icon/icons/chart-pie-icon.d.ts +1 -2
  1019. package/dist/types/components/icon/icons/chart-scatter-icon.d.ts +1 -2
  1020. package/dist/types/components/icon/icons/chart-spline-icon.d.ts +1 -2
  1021. package/dist/types/components/icon/icons/check-check-icon.d.ts +1 -2
  1022. package/dist/types/components/icon/icons/check-icon.d.ts +1 -2
  1023. package/dist/types/components/icon/icons/check-line-icon.d.ts +1 -2
  1024. package/dist/types/components/icon/icons/chef-hat-icon.d.ts +1 -2
  1025. package/dist/types/components/icon/icons/cherry-icon.d.ts +1 -2
  1026. package/dist/types/components/icon/icons/chess-bishop-icon.d.ts +1 -2
  1027. package/dist/types/components/icon/icons/chess-king-icon.d.ts +1 -2
  1028. package/dist/types/components/icon/icons/chess-knight-icon.d.ts +1 -2
  1029. package/dist/types/components/icon/icons/chess-pawn-icon.d.ts +1 -2
  1030. package/dist/types/components/icon/icons/chess-queen-icon.d.ts +1 -2
  1031. package/dist/types/components/icon/icons/chess-rook-icon.d.ts +1 -2
  1032. package/dist/types/components/icon/icons/chevron-down-icon.d.ts +1 -2
  1033. package/dist/types/components/icon/icons/chevron-first-icon.d.ts +1 -2
  1034. package/dist/types/components/icon/icons/chevron-last-icon.d.ts +1 -2
  1035. package/dist/types/components/icon/icons/chevron-left-icon.d.ts +1 -2
  1036. package/dist/types/components/icon/icons/chevron-right-icon.d.ts +1 -2
  1037. package/dist/types/components/icon/icons/chevron-up-icon.d.ts +1 -2
  1038. package/dist/types/components/icon/icons/chevrons-down-icon.d.ts +1 -2
  1039. package/dist/types/components/icon/icons/chevrons-down-up-icon.d.ts +1 -2
  1040. package/dist/types/components/icon/icons/chevrons-left-icon.d.ts +1 -2
  1041. package/dist/types/components/icon/icons/chevrons-left-right-ellipsis-icon.d.ts +1 -2
  1042. package/dist/types/components/icon/icons/chevrons-left-right-icon.d.ts +1 -2
  1043. package/dist/types/components/icon/icons/chevrons-right-icon.d.ts +1 -2
  1044. package/dist/types/components/icon/icons/chevrons-right-left-icon.d.ts +1 -2
  1045. package/dist/types/components/icon/icons/chevrons-up-down-icon.d.ts +1 -2
  1046. package/dist/types/components/icon/icons/chevrons-up-icon.d.ts +1 -2
  1047. package/dist/types/components/icon/icons/church-icon.d.ts +1 -2
  1048. package/dist/types/components/icon/icons/cigarette-icon.d.ts +1 -2
  1049. package/dist/types/components/icon/icons/cigarette-off-icon.d.ts +1 -2
  1050. package/dist/types/components/icon/icons/circle-alert-icon.d.ts +1 -2
  1051. package/dist/types/components/icon/icons/circle-arrow-down-icon.d.ts +1 -2
  1052. package/dist/types/components/icon/icons/circle-arrow-left-icon.d.ts +1 -2
  1053. package/dist/types/components/icon/icons/circle-arrow-out-down-left-icon.d.ts +1 -2
  1054. package/dist/types/components/icon/icons/circle-arrow-out-down-right-icon.d.ts +1 -2
  1055. package/dist/types/components/icon/icons/circle-arrow-out-up-left-icon.d.ts +1 -2
  1056. package/dist/types/components/icon/icons/circle-arrow-out-up-right-icon.d.ts +1 -2
  1057. package/dist/types/components/icon/icons/circle-arrow-right-icon.d.ts +1 -2
  1058. package/dist/types/components/icon/icons/circle-arrow-up-icon.d.ts +1 -2
  1059. package/dist/types/components/icon/icons/circle-check-big-icon.d.ts +1 -2
  1060. package/dist/types/components/icon/icons/circle-check-icon.d.ts +1 -2
  1061. package/dist/types/components/icon/icons/circle-chevron-down-icon.d.ts +1 -2
  1062. package/dist/types/components/icon/icons/circle-chevron-left-icon.d.ts +1 -2
  1063. package/dist/types/components/icon/icons/circle-chevron-right-icon.d.ts +1 -2
  1064. package/dist/types/components/icon/icons/circle-chevron-up-icon.d.ts +1 -2
  1065. package/dist/types/components/icon/icons/circle-dashed-check-icon.d.ts +1 -2
  1066. package/dist/types/components/icon/icons/circle-dashed-icon.d.ts +1 -2
  1067. package/dist/types/components/icon/icons/circle-divide-icon.d.ts +1 -2
  1068. package/dist/types/components/icon/icons/circle-dollar-sign-icon.d.ts +1 -2
  1069. package/dist/types/components/icon/icons/circle-dot-dashed-icon.d.ts +1 -2
  1070. package/dist/types/components/icon/icons/circle-dot-icon.d.ts +1 -2
  1071. package/dist/types/components/icon/icons/circle-ellipsis-icon.d.ts +1 -2
  1072. package/dist/types/components/icon/icons/circle-equal-icon.d.ts +1 -2
  1073. package/dist/types/components/icon/icons/circle-euro-icon.d.ts +1 -2
  1074. package/dist/types/components/icon/icons/circle-fading-arrow-up-icon.d.ts +1 -2
  1075. package/dist/types/components/icon/icons/circle-fading-plus-icon.d.ts +1 -2
  1076. package/dist/types/components/icon/icons/circle-gauge-icon.d.ts +1 -2
  1077. package/dist/types/components/icon/icons/circle-icon.d.ts +1 -2
  1078. package/dist/types/components/icon/icons/circle-minus-icon.d.ts +1 -2
  1079. package/dist/types/components/icon/icons/circle-off-icon.d.ts +1 -2
  1080. package/dist/types/components/icon/icons/circle-parking-icon.d.ts +1 -2
  1081. package/dist/types/components/icon/icons/circle-parking-off-icon.d.ts +1 -2
  1082. package/dist/types/components/icon/icons/circle-pause-icon.d.ts +1 -2
  1083. package/dist/types/components/icon/icons/circle-percent-icon.d.ts +1 -2
  1084. package/dist/types/components/icon/icons/circle-pile-icon.d.ts +1 -2
  1085. package/dist/types/components/icon/icons/circle-play-icon.d.ts +1 -2
  1086. package/dist/types/components/icon/icons/circle-plus-icon.d.ts +1 -2
  1087. package/dist/types/components/icon/icons/circle-pound-sterling-icon.d.ts +1 -2
  1088. package/dist/types/components/icon/icons/circle-power-icon.d.ts +1 -2
  1089. package/dist/types/components/icon/icons/circle-question-mark-icon.d.ts +1 -2
  1090. package/dist/types/components/icon/icons/circle-slash-icon.d.ts +1 -2
  1091. package/dist/types/components/icon/icons/circle-slash2-icon.d.ts +1 -2
  1092. package/dist/types/components/icon/icons/circle-small-icon.d.ts +1 -2
  1093. package/dist/types/components/icon/icons/circle-star-icon.d.ts +1 -2
  1094. package/dist/types/components/icon/icons/circle-stop-icon.d.ts +1 -2
  1095. package/dist/types/components/icon/icons/circle-user-icon.d.ts +1 -2
  1096. package/dist/types/components/icon/icons/circle-user-round-icon.d.ts +1 -2
  1097. package/dist/types/components/icon/icons/circle-x-icon.d.ts +1 -2
  1098. package/dist/types/components/icon/icons/circuit-board-icon.d.ts +1 -2
  1099. package/dist/types/components/icon/icons/citrus-icon.d.ts +1 -2
  1100. package/dist/types/components/icon/icons/clapperboard-icon.d.ts +1 -2
  1101. package/dist/types/components/icon/icons/clef-alto-icon.d.ts +12 -0
  1102. package/dist/types/components/icon/icons/clef-bass-icon.d.ts +12 -0
  1103. package/dist/types/components/icon/icons/clef-treble-icon.d.ts +12 -0
  1104. package/dist/types/components/icon/icons/clipboard-check-icon.d.ts +1 -2
  1105. package/dist/types/components/icon/icons/clipboard-clock-icon.d.ts +1 -2
  1106. package/dist/types/components/icon/icons/clipboard-copy-icon.d.ts +1 -2
  1107. package/dist/types/components/icon/icons/clipboard-icon.d.ts +1 -2
  1108. package/dist/types/components/icon/icons/clipboard-list-icon.d.ts +1 -2
  1109. package/dist/types/components/icon/icons/clipboard-minus-icon.d.ts +1 -2
  1110. package/dist/types/components/icon/icons/clipboard-paste-icon.d.ts +1 -2
  1111. package/dist/types/components/icon/icons/clipboard-pen-icon.d.ts +1 -2
  1112. package/dist/types/components/icon/icons/clipboard-pen-line-icon.d.ts +1 -2
  1113. package/dist/types/components/icon/icons/clipboard-plus-icon.d.ts +1 -2
  1114. package/dist/types/components/icon/icons/clipboard-type-icon.d.ts +1 -2
  1115. package/dist/types/components/icon/icons/clipboard-x-icon.d.ts +1 -2
  1116. package/dist/types/components/icon/icons/clock-alert-icon.d.ts +1 -2
  1117. package/dist/types/components/icon/icons/clock-arrow-down-icon.d.ts +1 -2
  1118. package/dist/types/components/icon/icons/clock-arrow-left-icon.d.ts +1 -2
  1119. package/dist/types/components/icon/icons/clock-arrow-right-icon.d.ts +1 -2
  1120. package/dist/types/components/icon/icons/clock-arrow-up-icon.d.ts +1 -2
  1121. package/dist/types/components/icon/icons/clock-check-icon.d.ts +1 -2
  1122. package/dist/types/components/icon/icons/clock-fading-icon.d.ts +1 -2
  1123. package/dist/types/components/icon/icons/clock-icon.d.ts +1 -2
  1124. package/dist/types/components/icon/icons/clock-plus-icon.d.ts +1 -2
  1125. package/dist/types/components/icon/icons/clock1-icon.d.ts +1 -2
  1126. package/dist/types/components/icon/icons/clock10-icon.d.ts +1 -2
  1127. package/dist/types/components/icon/icons/clock11-icon.d.ts +1 -2
  1128. package/dist/types/components/icon/icons/clock12-icon.d.ts +1 -2
  1129. package/dist/types/components/icon/icons/clock2-icon.d.ts +1 -2
  1130. package/dist/types/components/icon/icons/clock3-icon.d.ts +1 -2
  1131. package/dist/types/components/icon/icons/clock4-icon.d.ts +1 -2
  1132. package/dist/types/components/icon/icons/clock5-icon.d.ts +1 -2
  1133. package/dist/types/components/icon/icons/clock6-icon.d.ts +1 -2
  1134. package/dist/types/components/icon/icons/clock7-icon.d.ts +1 -2
  1135. package/dist/types/components/icon/icons/clock8-icon.d.ts +1 -2
  1136. package/dist/types/components/icon/icons/clock9-icon.d.ts +1 -2
  1137. package/dist/types/components/icon/icons/closed-caption-icon.d.ts +1 -2
  1138. package/dist/types/components/icon/icons/cloud-alert-icon.d.ts +1 -2
  1139. package/dist/types/components/icon/icons/cloud-backup-icon.d.ts +1 -2
  1140. package/dist/types/components/icon/icons/cloud-check-icon.d.ts +1 -2
  1141. package/dist/types/components/icon/icons/cloud-cog-icon.d.ts +1 -2
  1142. package/dist/types/components/icon/icons/cloud-download-icon.d.ts +1 -2
  1143. package/dist/types/components/icon/icons/cloud-drizzle-icon.d.ts +1 -2
  1144. package/dist/types/components/icon/icons/cloud-fog-icon.d.ts +1 -2
  1145. package/dist/types/components/icon/icons/cloud-hail-icon.d.ts +1 -2
  1146. package/dist/types/components/icon/icons/cloud-icon.d.ts +1 -2
  1147. package/dist/types/components/icon/icons/cloud-lightning-icon.d.ts +1 -2
  1148. package/dist/types/components/icon/icons/cloud-moon-icon.d.ts +1 -2
  1149. package/dist/types/components/icon/icons/cloud-moon-rain-icon.d.ts +1 -2
  1150. package/dist/types/components/icon/icons/cloud-off-icon.d.ts +1 -2
  1151. package/dist/types/components/icon/icons/cloud-rain-icon.d.ts +1 -2
  1152. package/dist/types/components/icon/icons/cloud-rain-wind-icon.d.ts +1 -2
  1153. package/dist/types/components/icon/icons/cloud-snow-icon.d.ts +1 -2
  1154. package/dist/types/components/icon/icons/cloud-sun-icon.d.ts +1 -2
  1155. package/dist/types/components/icon/icons/cloud-sun-rain-icon.d.ts +1 -2
  1156. package/dist/types/components/icon/icons/cloud-sync-icon.d.ts +1 -2
  1157. package/dist/types/components/icon/icons/cloud-upload-icon.d.ts +1 -2
  1158. package/dist/types/components/icon/icons/cloudy-icon.d.ts +1 -2
  1159. package/dist/types/components/icon/icons/clover-icon.d.ts +1 -2
  1160. package/dist/types/components/icon/icons/club-icon.d.ts +1 -2
  1161. package/dist/types/components/icon/icons/code-icon.d.ts +1 -2
  1162. package/dist/types/components/icon/icons/code-xml-icon.d.ts +1 -2
  1163. package/dist/types/components/icon/icons/coffee-icon.d.ts +1 -2
  1164. package/dist/types/components/icon/icons/cog-icon.d.ts +1 -2
  1165. package/dist/types/components/icon/icons/coins-icon.d.ts +1 -2
  1166. package/dist/types/components/icon/icons/columns2-icon.d.ts +1 -2
  1167. package/dist/types/components/icon/icons/columns3-cog-icon.d.ts +1 -2
  1168. package/dist/types/components/icon/icons/columns3-icon.d.ts +1 -2
  1169. package/dist/types/components/icon/icons/columns4-icon.d.ts +1 -2
  1170. package/dist/types/components/icon/icons/combine-icon.d.ts +1 -2
  1171. package/dist/types/components/icon/icons/command-icon.d.ts +1 -2
  1172. package/dist/types/components/icon/icons/compass-icon.d.ts +1 -2
  1173. package/dist/types/components/icon/icons/component-icon.d.ts +1 -2
  1174. package/dist/types/components/icon/icons/computer-icon.d.ts +1 -2
  1175. package/dist/types/components/icon/icons/concierge-bell-icon.d.ts +1 -2
  1176. package/dist/types/components/icon/icons/cone-icon.d.ts +1 -2
  1177. package/dist/types/components/icon/icons/construction-icon.d.ts +1 -2
  1178. package/dist/types/components/icon/icons/contact-icon.d.ts +1 -2
  1179. package/dist/types/components/icon/icons/contact-round-icon.d.ts +1 -2
  1180. package/dist/types/components/icon/icons/container-icon.d.ts +1 -2
  1181. package/dist/types/components/icon/icons/contrast-icon.d.ts +1 -2
  1182. package/dist/types/components/icon/icons/cookie-icon.d.ts +1 -2
  1183. package/dist/types/components/icon/icons/cooking-pot-icon.d.ts +1 -2
  1184. package/dist/types/components/icon/icons/copy-check-icon.d.ts +1 -2
  1185. package/dist/types/components/icon/icons/copy-icon.d.ts +1 -2
  1186. package/dist/types/components/icon/icons/copy-minus-icon.d.ts +1 -2
  1187. package/dist/types/components/icon/icons/copy-plus-icon.d.ts +1 -2
  1188. package/dist/types/components/icon/icons/copy-slash-icon.d.ts +1 -2
  1189. package/dist/types/components/icon/icons/copy-x-icon.d.ts +1 -2
  1190. package/dist/types/components/icon/icons/copyleft-icon.d.ts +1 -2
  1191. package/dist/types/components/icon/icons/copyright-icon.d.ts +1 -2
  1192. package/dist/types/components/icon/icons/corner-down-left-icon.d.ts +1 -2
  1193. package/dist/types/components/icon/icons/corner-down-right-icon.d.ts +1 -2
  1194. package/dist/types/components/icon/icons/corner-left-down-icon.d.ts +1 -2
  1195. package/dist/types/components/icon/icons/corner-left-up-icon.d.ts +1 -2
  1196. package/dist/types/components/icon/icons/corner-right-down-icon.d.ts +1 -2
  1197. package/dist/types/components/icon/icons/corner-right-up-icon.d.ts +1 -2
  1198. package/dist/types/components/icon/icons/corner-up-left-icon.d.ts +1 -2
  1199. package/dist/types/components/icon/icons/corner-up-right-icon.d.ts +1 -2
  1200. package/dist/types/components/icon/icons/cpu-icon.d.ts +1 -2
  1201. package/dist/types/components/icon/icons/creative-commons-icon.d.ts +1 -2
  1202. package/dist/types/components/icon/icons/credit-card-check-icon.d.ts +1 -2
  1203. package/dist/types/components/icon/icons/credit-card-icon.d.ts +1 -2
  1204. package/dist/types/components/icon/icons/credit-card-minus-icon.d.ts +1 -2
  1205. package/dist/types/components/icon/icons/credit-card-plus-icon.d.ts +1 -2
  1206. package/dist/types/components/icon/icons/credit-card-reader-icon.d.ts +1 -2
  1207. package/dist/types/components/icon/icons/credit-card-x-icon.d.ts +1 -2
  1208. package/dist/types/components/icon/icons/croissant-icon.d.ts +1 -2
  1209. package/dist/types/components/icon/icons/crop-icon.d.ts +1 -2
  1210. package/dist/types/components/icon/icons/cross-icon.d.ts +1 -2
  1211. package/dist/types/components/icon/icons/crosshair-icon.d.ts +1 -2
  1212. package/dist/types/components/icon/icons/crown-icon.d.ts +1 -2
  1213. package/dist/types/components/icon/icons/cuboid-icon.d.ts +1 -2
  1214. package/dist/types/components/icon/icons/cup-soda-icon.d.ts +1 -2
  1215. package/dist/types/components/icon/icons/cupcake-icon.d.ts +12 -0
  1216. package/dist/types/components/icon/icons/currency-icon.d.ts +1 -2
  1217. package/dist/types/components/icon/icons/cylinder-icon.d.ts +1 -2
  1218. package/dist/types/components/icon/icons/dam-icon.d.ts +1 -2
  1219. package/dist/types/components/icon/icons/database-arrow-down-icon.d.ts +1 -2
  1220. package/dist/types/components/icon/icons/database-arrow-up-icon.d.ts +1 -2
  1221. package/dist/types/components/icon/icons/database-backup-icon.d.ts +1 -2
  1222. package/dist/types/components/icon/icons/database-check-icon.d.ts +1 -2
  1223. package/dist/types/components/icon/icons/database-icon.d.ts +1 -2
  1224. package/dist/types/components/icon/icons/database-minus-icon.d.ts +1 -2
  1225. package/dist/types/components/icon/icons/database-plus-icon.d.ts +1 -2
  1226. package/dist/types/components/icon/icons/database-search-icon.d.ts +1 -2
  1227. package/dist/types/components/icon/icons/database-x-icon.d.ts +1 -2
  1228. package/dist/types/components/icon/icons/database-zap-icon.d.ts +1 -2
  1229. package/dist/types/components/icon/icons/decimals-arrow-left-icon.d.ts +1 -2
  1230. package/dist/types/components/icon/icons/decimals-arrow-right-icon.d.ts +1 -2
  1231. package/dist/types/components/icon/icons/delete-icon.d.ts +1 -2
  1232. package/dist/types/components/icon/icons/dessert-icon.d.ts +1 -2
  1233. package/dist/types/components/icon/icons/diameter-icon.d.ts +1 -2
  1234. package/dist/types/components/icon/icons/diamond-icon.d.ts +1 -2
  1235. package/dist/types/components/icon/icons/diamond-minus-icon.d.ts +1 -2
  1236. package/dist/types/components/icon/icons/diamond-percent-icon.d.ts +1 -2
  1237. package/dist/types/components/icon/icons/diamond-plus-icon.d.ts +1 -2
  1238. package/dist/types/components/icon/icons/dice1-icon.d.ts +1 -2
  1239. package/dist/types/components/icon/icons/dice2-icon.d.ts +1 -2
  1240. package/dist/types/components/icon/icons/dice3-icon.d.ts +1 -2
  1241. package/dist/types/components/icon/icons/dice4-icon.d.ts +1 -2
  1242. package/dist/types/components/icon/icons/dice5-icon.d.ts +1 -2
  1243. package/dist/types/components/icon/icons/dice6-icon.d.ts +1 -2
  1244. package/dist/types/components/icon/icons/dices-icon.d.ts +1 -2
  1245. package/dist/types/components/icon/icons/diff-icon.d.ts +1 -2
  1246. package/dist/types/components/icon/icons/disc-album-icon.d.ts +1 -2
  1247. package/dist/types/components/icon/icons/disc-icon.d.ts +1 -2
  1248. package/dist/types/components/icon/icons/disc2-icon.d.ts +1 -2
  1249. package/dist/types/components/icon/icons/disc3-icon.d.ts +1 -2
  1250. package/dist/types/components/icon/icons/divide-icon.d.ts +1 -2
  1251. package/dist/types/components/icon/icons/dna-icon.d.ts +1 -2
  1252. package/dist/types/components/icon/icons/dna-off-icon.d.ts +1 -2
  1253. package/dist/types/components/icon/icons/dock-icon.d.ts +1 -2
  1254. package/dist/types/components/icon/icons/dog-icon.d.ts +1 -2
  1255. package/dist/types/components/icon/icons/dollar-sign-icon.d.ts +1 -2
  1256. package/dist/types/components/icon/icons/dome-icon.d.ts +1 -2
  1257. package/dist/types/components/icon/icons/donut-icon.d.ts +1 -2
  1258. package/dist/types/components/icon/icons/door-closed-icon.d.ts +1 -2
  1259. package/dist/types/components/icon/icons/door-closed-locked-icon.d.ts +1 -2
  1260. package/dist/types/components/icon/icons/door-closed-package-icon.d.ts +12 -0
  1261. package/dist/types/components/icon/icons/door-open-icon.d.ts +1 -2
  1262. package/dist/types/components/icon/icons/door-stairwell-icon.d.ts +1 -2
  1263. package/dist/types/components/icon/icons/dot-icon.d.ts +1 -2
  1264. package/dist/types/components/icon/icons/download-icon.d.ts +1 -2
  1265. package/dist/types/components/icon/icons/drafting-compass-icon.d.ts +1 -2
  1266. package/dist/types/components/icon/icons/drama-icon.d.ts +1 -2
  1267. package/dist/types/components/icon/icons/drill-icon.d.ts +1 -2
  1268. package/dist/types/components/icon/icons/drone-icon.d.ts +1 -2
  1269. package/dist/types/components/icon/icons/droplet-icon.d.ts +1 -2
  1270. package/dist/types/components/icon/icons/droplet-off-icon.d.ts +1 -2
  1271. package/dist/types/components/icon/icons/droplets-icon.d.ts +1 -2
  1272. package/dist/types/components/icon/icons/drum-icon.d.ts +1 -2
  1273. package/dist/types/components/icon/icons/drumstick-icon.d.ts +1 -2
  1274. package/dist/types/components/icon/icons/dumbbell-icon.d.ts +1 -2
  1275. package/dist/types/components/icon/icons/ear-icon.d.ts +1 -2
  1276. package/dist/types/components/icon/icons/ear-off-icon.d.ts +1 -2
  1277. package/dist/types/components/icon/icons/earth-icon.d.ts +1 -2
  1278. package/dist/types/components/icon/icons/earth-lock-icon.d.ts +1 -2
  1279. package/dist/types/components/icon/icons/eclipse-icon.d.ts +1 -2
  1280. package/dist/types/components/icon/icons/egg-fried-icon.d.ts +1 -2
  1281. package/dist/types/components/icon/icons/egg-icon.d.ts +1 -2
  1282. package/dist/types/components/icon/icons/egg-off-icon.d.ts +1 -2
  1283. package/dist/types/components/icon/icons/eject-icon.d.ts +1 -2
  1284. package/dist/types/components/icon/icons/ellipse-icon.d.ts +1 -2
  1285. package/dist/types/components/icon/icons/ellipsis-icon.d.ts +1 -2
  1286. package/dist/types/components/icon/icons/ellipsis-vertical-icon.d.ts +1 -2
  1287. package/dist/types/components/icon/icons/engine-icon.d.ts +1 -2
  1288. package/dist/types/components/icon/icons/equal-approximately-icon.d.ts +1 -2
  1289. package/dist/types/components/icon/icons/equal-approximately-not-icon.d.ts +1 -2
  1290. package/dist/types/components/icon/icons/equal-icon.d.ts +1 -2
  1291. package/dist/types/components/icon/icons/equal-not-icon.d.ts +1 -2
  1292. package/dist/types/components/icon/icons/eraser-icon.d.ts +1 -2
  1293. package/dist/types/components/icon/icons/ethernet-port-icon.d.ts +1 -2
  1294. package/dist/types/components/icon/icons/euro-icon.d.ts +1 -2
  1295. package/dist/types/components/icon/icons/ev-charger-icon.d.ts +1 -2
  1296. package/dist/types/components/icon/icons/expand-icon.d.ts +1 -2
  1297. package/dist/types/components/icon/icons/external-link-icon.d.ts +1 -2
  1298. package/dist/types/components/icon/icons/eye-closed-icon.d.ts +1 -2
  1299. package/dist/types/components/icon/icons/eye-dashed-icon.d.ts +1 -2
  1300. package/dist/types/components/icon/icons/eye-icon.d.ts +1 -2
  1301. package/dist/types/components/icon/icons/eye-off-icon.d.ts +1 -2
  1302. package/dist/types/components/icon/icons/face-angry-icon.d.ts +1 -2
  1303. package/dist/types/components/icon/icons/face-expressionless-icon.d.ts +1 -2
  1304. package/dist/types/components/icon/icons/face-grinning-icon.d.ts +1 -2
  1305. package/dist/types/components/icon/icons/face-neutral-icon.d.ts +1 -2
  1306. package/dist/types/components/icon/icons/face-slightly-frowning-icon.d.ts +1 -2
  1307. package/dist/types/components/icon/icons/face-slightly-smiling-icon.d.ts +1 -2
  1308. package/dist/types/components/icon/icons/face-slightly-smiling-plus-icon.d.ts +1 -2
  1309. package/dist/types/components/icon/icons/factory-icon.d.ts +1 -2
  1310. package/dist/types/components/icon/icons/fan-icon.d.ts +1 -2
  1311. package/dist/types/components/icon/icons/fast-forward-icon.d.ts +1 -2
  1312. package/dist/types/components/icon/icons/faucet-icon.d.ts +12 -0
  1313. package/dist/types/components/icon/icons/feather-icon.d.ts +1 -2
  1314. package/dist/types/components/icon/icons/fence-icon.d.ts +1 -2
  1315. package/dist/types/components/icon/icons/ferris-wheel-icon.d.ts +1 -2
  1316. package/dist/types/components/icon/icons/file-archive-icon.d.ts +1 -2
  1317. package/dist/types/components/icon/icons/file-axis3d-icon.d.ts +1 -2
  1318. package/dist/types/components/icon/icons/file-badge-icon.d.ts +1 -2
  1319. package/dist/types/components/icon/icons/file-box-icon.d.ts +1 -2
  1320. package/dist/types/components/icon/icons/file-braces-corner-icon.d.ts +1 -2
  1321. package/dist/types/components/icon/icons/file-braces-icon.d.ts +1 -2
  1322. package/dist/types/components/icon/icons/file-chart-column-icon.d.ts +1 -2
  1323. package/dist/types/components/icon/icons/file-chart-column-increasing-icon.d.ts +1 -2
  1324. package/dist/types/components/icon/icons/file-chart-line-icon.d.ts +1 -2
  1325. package/dist/types/components/icon/icons/file-chart-pie-icon.d.ts +1 -2
  1326. package/dist/types/components/icon/icons/file-check-corner-icon.d.ts +1 -2
  1327. package/dist/types/components/icon/icons/file-check-icon.d.ts +1 -2
  1328. package/dist/types/components/icon/icons/file-clock-icon.d.ts +1 -2
  1329. package/dist/types/components/icon/icons/file-code-corner-icon.d.ts +1 -2
  1330. package/dist/types/components/icon/icons/file-code-icon.d.ts +1 -2
  1331. package/dist/types/components/icon/icons/file-cog-icon.d.ts +1 -2
  1332. package/dist/types/components/icon/icons/file-diff-icon.d.ts +1 -2
  1333. package/dist/types/components/icon/icons/file-digit-icon.d.ts +1 -2
  1334. package/dist/types/components/icon/icons/file-down-icon.d.ts +1 -2
  1335. package/dist/types/components/icon/icons/file-exclamation-point-icon.d.ts +1 -2
  1336. package/dist/types/components/icon/icons/file-headphone-icon.d.ts +1 -2
  1337. package/dist/types/components/icon/icons/file-heart-icon.d.ts +1 -2
  1338. package/dist/types/components/icon/icons/file-icon.d.ts +1 -2
  1339. package/dist/types/components/icon/icons/file-image-icon.d.ts +1 -2
  1340. package/dist/types/components/icon/icons/file-input-icon.d.ts +1 -2
  1341. package/dist/types/components/icon/icons/file-key-icon.d.ts +1 -2
  1342. package/dist/types/components/icon/icons/file-lock-icon.d.ts +1 -2
  1343. package/dist/types/components/icon/icons/file-minus-corner-icon.d.ts +1 -2
  1344. package/dist/types/components/icon/icons/file-minus-icon.d.ts +1 -2
  1345. package/dist/types/components/icon/icons/file-music-icon.d.ts +1 -2
  1346. package/dist/types/components/icon/icons/file-output-icon.d.ts +1 -2
  1347. package/dist/types/components/icon/icons/file-pen-icon.d.ts +1 -2
  1348. package/dist/types/components/icon/icons/file-pen-line-icon.d.ts +1 -2
  1349. package/dist/types/components/icon/icons/file-play-icon.d.ts +1 -2
  1350. package/dist/types/components/icon/icons/file-plus-corner-icon.d.ts +1 -2
  1351. package/dist/types/components/icon/icons/file-plus-icon.d.ts +1 -2
  1352. package/dist/types/components/icon/icons/file-question-mark-icon.d.ts +1 -2
  1353. package/dist/types/components/icon/icons/file-scan-icon.d.ts +1 -2
  1354. package/dist/types/components/icon/icons/file-search-corner-icon.d.ts +1 -2
  1355. package/dist/types/components/icon/icons/file-search-icon.d.ts +1 -2
  1356. package/dist/types/components/icon/icons/file-signal-icon.d.ts +1 -2
  1357. package/dist/types/components/icon/icons/file-sliders-icon.d.ts +1 -2
  1358. package/dist/types/components/icon/icons/file-spreadsheet-icon.d.ts +1 -2
  1359. package/dist/types/components/icon/icons/file-stack-icon.d.ts +1 -2
  1360. package/dist/types/components/icon/icons/file-symlink-icon.d.ts +1 -2
  1361. package/dist/types/components/icon/icons/file-terminal-icon.d.ts +1 -2
  1362. package/dist/types/components/icon/icons/file-text-icon.d.ts +1 -2
  1363. package/dist/types/components/icon/icons/file-type-corner-icon.d.ts +1 -2
  1364. package/dist/types/components/icon/icons/file-type-icon.d.ts +1 -2
  1365. package/dist/types/components/icon/icons/file-up-icon.d.ts +1 -2
  1366. package/dist/types/components/icon/icons/file-user-icon.d.ts +1 -2
  1367. package/dist/types/components/icon/icons/file-video-camera-icon.d.ts +1 -2
  1368. package/dist/types/components/icon/icons/file-volume-icon.d.ts +1 -2
  1369. package/dist/types/components/icon/icons/file-x-corner-icon.d.ts +1 -2
  1370. package/dist/types/components/icon/icons/file-x-icon.d.ts +1 -2
  1371. package/dist/types/components/icon/icons/files-icon.d.ts +1 -2
  1372. package/dist/types/components/icon/icons/film-icon.d.ts +1 -2
  1373. package/dist/types/components/icon/icons/fingerprint-pattern-icon.d.ts +1 -2
  1374. package/dist/types/components/icon/icons/fire-extinguisher-icon.d.ts +1 -2
  1375. package/dist/types/components/icon/icons/fish-icon.d.ts +1 -2
  1376. package/dist/types/components/icon/icons/fish-off-icon.d.ts +1 -2
  1377. package/dist/types/components/icon/icons/fish-symbol-icon.d.ts +1 -2
  1378. package/dist/types/components/icon/icons/fishing-hook-icon.d.ts +1 -2
  1379. package/dist/types/components/icon/icons/fishing-rod-icon.d.ts +1 -2
  1380. package/dist/types/components/icon/icons/flag-icon.d.ts +1 -2
  1381. package/dist/types/components/icon/icons/flag-off-icon.d.ts +1 -2
  1382. package/dist/types/components/icon/icons/flag-triangle-left-icon.d.ts +1 -2
  1383. package/dist/types/components/icon/icons/flag-triangle-right-icon.d.ts +1 -2
  1384. package/dist/types/components/icon/icons/flame-icon.d.ts +1 -2
  1385. package/dist/types/components/icon/icons/flame-kindling-icon.d.ts +1 -2
  1386. package/dist/types/components/icon/icons/flashlight-icon.d.ts +1 -2
  1387. package/dist/types/components/icon/icons/flashlight-off-icon.d.ts +1 -2
  1388. package/dist/types/components/icon/icons/flask-conical-icon.d.ts +1 -2
  1389. package/dist/types/components/icon/icons/flask-conical-off-icon.d.ts +1 -2
  1390. package/dist/types/components/icon/icons/flask-round-icon.d.ts +1 -2
  1391. package/dist/types/components/icon/icons/flower-icon.d.ts +1 -2
  1392. package/dist/types/components/icon/icons/flower2-icon.d.ts +1 -2
  1393. package/dist/types/components/icon/icons/focus-icon.d.ts +1 -2
  1394. package/dist/types/components/icon/icons/fold-horizontal-icon.d.ts +1 -2
  1395. package/dist/types/components/icon/icons/fold-vertical-icon.d.ts +1 -2
  1396. package/dist/types/components/icon/icons/folder-archive-icon.d.ts +1 -2
  1397. package/dist/types/components/icon/icons/folder-bookmark-icon.d.ts +1 -2
  1398. package/dist/types/components/icon/icons/folder-check-icon.d.ts +1 -2
  1399. package/dist/types/components/icon/icons/folder-clock-icon.d.ts +1 -2
  1400. package/dist/types/components/icon/icons/folder-closed-icon.d.ts +1 -2
  1401. package/dist/types/components/icon/icons/folder-code-icon.d.ts +1 -2
  1402. package/dist/types/components/icon/icons/folder-cog-icon.d.ts +1 -2
  1403. package/dist/types/components/icon/icons/folder-dot-icon.d.ts +1 -2
  1404. package/dist/types/components/icon/icons/folder-down-icon.d.ts +1 -2
  1405. package/dist/types/components/icon/icons/folder-git-icon.d.ts +1 -2
  1406. package/dist/types/components/icon/icons/folder-git2-icon.d.ts +1 -2
  1407. package/dist/types/components/icon/icons/folder-heart-icon.d.ts +1 -2
  1408. package/dist/types/components/icon/icons/folder-icon.d.ts +1 -2
  1409. package/dist/types/components/icon/icons/folder-input-icon.d.ts +1 -2
  1410. package/dist/types/components/icon/icons/folder-kanban-icon.d.ts +1 -2
  1411. package/dist/types/components/icon/icons/folder-key-icon.d.ts +1 -2
  1412. package/dist/types/components/icon/icons/folder-lock-icon.d.ts +1 -2
  1413. package/dist/types/components/icon/icons/folder-minus-icon.d.ts +1 -2
  1414. package/dist/types/components/icon/icons/folder-open-dot-icon.d.ts +1 -2
  1415. package/dist/types/components/icon/icons/folder-open-icon.d.ts +1 -2
  1416. package/dist/types/components/icon/icons/folder-output-icon.d.ts +1 -2
  1417. package/dist/types/components/icon/icons/folder-pen-icon.d.ts +1 -2
  1418. package/dist/types/components/icon/icons/folder-plus-icon.d.ts +1 -2
  1419. package/dist/types/components/icon/icons/folder-root-icon.d.ts +1 -2
  1420. package/dist/types/components/icon/icons/folder-search-icon.d.ts +1 -2
  1421. package/dist/types/components/icon/icons/folder-search2-icon.d.ts +1 -2
  1422. package/dist/types/components/icon/icons/folder-symlink-icon.d.ts +1 -2
  1423. package/dist/types/components/icon/icons/folder-sync-icon.d.ts +1 -2
  1424. package/dist/types/components/icon/icons/folder-tree-icon.d.ts +1 -2
  1425. package/dist/types/components/icon/icons/folder-up-icon.d.ts +1 -2
  1426. package/dist/types/components/icon/icons/folder-x-icon.d.ts +1 -2
  1427. package/dist/types/components/icon/icons/folders-icon.d.ts +1 -2
  1428. package/dist/types/components/icon/icons/footprints-icon.d.ts +1 -2
  1429. package/dist/types/components/icon/icons/forklift-icon.d.ts +1 -2
  1430. package/dist/types/components/icon/icons/form-icon.d.ts +1 -2
  1431. package/dist/types/components/icon/icons/forward-icon.d.ts +1 -2
  1432. package/dist/types/components/icon/icons/frame-icon.d.ts +1 -2
  1433. package/dist/types/components/icon/icons/fuel-icon.d.ts +1 -2
  1434. package/dist/types/components/icon/icons/fullscreen-icon.d.ts +1 -2
  1435. package/dist/types/components/icon/icons/funnel-icon.d.ts +1 -2
  1436. package/dist/types/components/icon/icons/funnel-plus-icon.d.ts +1 -2
  1437. package/dist/types/components/icon/icons/funnel-x-icon.d.ts +1 -2
  1438. package/dist/types/components/icon/icons/galaxy-icon.d.ts +1 -2
  1439. package/dist/types/components/icon/icons/gallery-horizontal-end-icon.d.ts +1 -2
  1440. package/dist/types/components/icon/icons/gallery-horizontal-icon.d.ts +1 -2
  1441. package/dist/types/components/icon/icons/gallery-thumbnails-icon.d.ts +1 -2
  1442. package/dist/types/components/icon/icons/gallery-vertical-end-icon.d.ts +1 -2
  1443. package/dist/types/components/icon/icons/gallery-vertical-icon.d.ts +1 -2
  1444. package/dist/types/components/icon/icons/gamepad-directional-icon.d.ts +1 -2
  1445. package/dist/types/components/icon/icons/gamepad-icon.d.ts +1 -2
  1446. package/dist/types/components/icon/icons/gamepad2-icon.d.ts +1 -2
  1447. package/dist/types/components/icon/icons/gap-horizontal-icon.d.ts +1 -2
  1448. package/dist/types/components/icon/icons/gap-vertical-icon.d.ts +1 -2
  1449. package/dist/types/components/icon/icons/gauge-icon.d.ts +1 -2
  1450. package/dist/types/components/icon/icons/gavel-icon.d.ts +1 -2
  1451. package/dist/types/components/icon/icons/gem-icon.d.ts +1 -2
  1452. package/dist/types/components/icon/icons/georgian-lari-icon.d.ts +1 -2
  1453. package/dist/types/components/icon/icons/germ-icon.d.ts +1 -2
  1454. package/dist/types/components/icon/icons/germ-off-icon.d.ts +1 -2
  1455. package/dist/types/components/icon/icons/ghost-icon.d.ts +1 -2
  1456. package/dist/types/components/icon/icons/gift-icon.d.ts +1 -2
  1457. package/dist/types/components/icon/icons/git-branch-icon.d.ts +1 -2
  1458. package/dist/types/components/icon/icons/git-branch-minus-icon.d.ts +1 -2
  1459. package/dist/types/components/icon/icons/git-branch-plus-icon.d.ts +1 -2
  1460. package/dist/types/components/icon/icons/git-commit-horizontal-icon.d.ts +1 -2
  1461. package/dist/types/components/icon/icons/git-commit-vertical-icon.d.ts +1 -2
  1462. package/dist/types/components/icon/icons/git-compare-arrows-icon.d.ts +1 -2
  1463. package/dist/types/components/icon/icons/git-compare-icon.d.ts +1 -2
  1464. package/dist/types/components/icon/icons/git-fork-icon.d.ts +1 -2
  1465. package/dist/types/components/icon/icons/git-graph-icon.d.ts +1 -2
  1466. package/dist/types/components/icon/icons/git-merge-conflict-icon.d.ts +1 -2
  1467. package/dist/types/components/icon/icons/git-merge-icon.d.ts +1 -2
  1468. package/dist/types/components/icon/icons/git-pull-request-arrow-icon.d.ts +1 -2
  1469. package/dist/types/components/icon/icons/git-pull-request-closed-icon.d.ts +1 -2
  1470. package/dist/types/components/icon/icons/git-pull-request-create-arrow-icon.d.ts +1 -2
  1471. package/dist/types/components/icon/icons/git-pull-request-create-icon.d.ts +1 -2
  1472. package/dist/types/components/icon/icons/git-pull-request-draft-icon.d.ts +1 -2
  1473. package/dist/types/components/icon/icons/git-pull-request-icon.d.ts +1 -2
  1474. package/dist/types/components/icon/icons/glass-water-icon.d.ts +1 -2
  1475. package/dist/types/components/icon/icons/glasses-icon.d.ts +1 -2
  1476. package/dist/types/components/icon/icons/globe-check-icon.d.ts +1 -2
  1477. package/dist/types/components/icon/icons/globe-code-icon.d.ts +1 -2
  1478. package/dist/types/components/icon/icons/globe-icon.d.ts +1 -2
  1479. package/dist/types/components/icon/icons/globe-lock-icon.d.ts +1 -2
  1480. package/dist/types/components/icon/icons/globe-off-icon.d.ts +1 -2
  1481. package/dist/types/components/icon/icons/globe-x-icon.d.ts +1 -2
  1482. package/dist/types/components/icon/icons/goal-icon.d.ts +1 -2
  1483. package/dist/types/components/icon/icons/gpu-icon.d.ts +1 -2
  1484. package/dist/types/components/icon/icons/graduation-cap-icon.d.ts +1 -2
  1485. package/dist/types/components/icon/icons/grape-icon.d.ts +1 -2
  1486. package/dist/types/components/icon/icons/grid2x2-check-icon.d.ts +1 -2
  1487. package/dist/types/components/icon/icons/grid2x2-icon.d.ts +1 -2
  1488. package/dist/types/components/icon/icons/grid2x2-plus-icon.d.ts +1 -2
  1489. package/dist/types/components/icon/icons/grid2x2-x-icon.d.ts +1 -2
  1490. package/dist/types/components/icon/icons/grid3x2-icon.d.ts +1 -2
  1491. package/dist/types/components/icon/icons/grid3x3-icon.d.ts +1 -2
  1492. package/dist/types/components/icon/icons/grip-horizontal-icon.d.ts +1 -2
  1493. package/dist/types/components/icon/icons/grip-icon.d.ts +1 -2
  1494. package/dist/types/components/icon/icons/grip-vertical-icon.d.ts +1 -2
  1495. package/dist/types/components/icon/icons/group-icon.d.ts +1 -2
  1496. package/dist/types/components/icon/icons/guitar-icon.d.ts +1 -2
  1497. package/dist/types/components/icon/icons/ham-icon.d.ts +1 -2
  1498. package/dist/types/components/icon/icons/hamburger-icon.d.ts +1 -2
  1499. package/dist/types/components/icon/icons/hammer-icon.d.ts +1 -2
  1500. package/dist/types/components/icon/icons/hand-coins-icon.d.ts +1 -2
  1501. package/dist/types/components/icon/icons/hand-fist-icon.d.ts +1 -2
  1502. package/dist/types/components/icon/icons/hand-grab-icon.d.ts +1 -2
  1503. package/dist/types/components/icon/icons/hand-heart-icon.d.ts +1 -2
  1504. package/dist/types/components/icon/icons/hand-helping-icon.d.ts +1 -2
  1505. package/dist/types/components/icon/icons/hand-icon.d.ts +1 -2
  1506. package/dist/types/components/icon/icons/hand-metal-icon.d.ts +1 -2
  1507. package/dist/types/components/icon/icons/hand-platter-icon.d.ts +1 -2
  1508. package/dist/types/components/icon/icons/handbag-icon.d.ts +1 -2
  1509. package/dist/types/components/icon/icons/handshake-icon.d.ts +1 -2
  1510. package/dist/types/components/icon/icons/hard-drive-download-icon.d.ts +1 -2
  1511. package/dist/types/components/icon/icons/hard-drive-icon.d.ts +1 -2
  1512. package/dist/types/components/icon/icons/hard-drive-upload-icon.d.ts +1 -2
  1513. package/dist/types/components/icon/icons/hard-hat-icon.d.ts +1 -2
  1514. package/dist/types/components/icon/icons/hash-icon.d.ts +1 -2
  1515. package/dist/types/components/icon/icons/hat-glasses-icon.d.ts +1 -2
  1516. package/dist/types/components/icon/icons/haze-icon.d.ts +1 -2
  1517. package/dist/types/components/icon/icons/hd-icon.d.ts +1 -2
  1518. package/dist/types/components/icon/icons/hdmi-port-icon.d.ts +1 -2
  1519. package/dist/types/components/icon/icons/heading-icon.d.ts +1 -2
  1520. package/dist/types/components/icon/icons/heading1-icon.d.ts +1 -2
  1521. package/dist/types/components/icon/icons/heading2-icon.d.ts +1 -2
  1522. package/dist/types/components/icon/icons/heading3-icon.d.ts +1 -2
  1523. package/dist/types/components/icon/icons/heading4-icon.d.ts +1 -2
  1524. package/dist/types/components/icon/icons/heading5-icon.d.ts +1 -2
  1525. package/dist/types/components/icon/icons/heading6-icon.d.ts +1 -2
  1526. package/dist/types/components/icon/icons/headphone-off-icon.d.ts +1 -2
  1527. package/dist/types/components/icon/icons/headphones-icon.d.ts +1 -2
  1528. package/dist/types/components/icon/icons/headset-icon.d.ts +1 -2
  1529. package/dist/types/components/icon/icons/heart-crack-icon.d.ts +1 -2
  1530. package/dist/types/components/icon/icons/heart-handshake-icon.d.ts +1 -2
  1531. package/dist/types/components/icon/icons/heart-icon.d.ts +1 -2
  1532. package/dist/types/components/icon/icons/heart-minus-icon.d.ts +1 -2
  1533. package/dist/types/components/icon/icons/heart-off-icon.d.ts +1 -2
  1534. package/dist/types/components/icon/icons/heart-plus-icon.d.ts +1 -2
  1535. package/dist/types/components/icon/icons/heart-pulse-icon.d.ts +1 -2
  1536. package/dist/types/components/icon/icons/heart-x-icon.d.ts +1 -2
  1537. package/dist/types/components/icon/icons/heater-icon.d.ts +1 -2
  1538. package/dist/types/components/icon/icons/helicopter-icon.d.ts +1 -2
  1539. package/dist/types/components/icon/icons/hexagon-icon.d.ts +1 -2
  1540. package/dist/types/components/icon/icons/highlighter-icon.d.ts +1 -2
  1541. package/dist/types/components/icon/icons/hop-icon.d.ts +1 -2
  1542. package/dist/types/components/icon/icons/hop-off-icon.d.ts +1 -2
  1543. package/dist/types/components/icon/icons/hospital-icon.d.ts +1 -2
  1544. package/dist/types/components/icon/icons/hotel-icon.d.ts +1 -2
  1545. package/dist/types/components/icon/icons/hourglass-cog-icon.d.ts +1 -2
  1546. package/dist/types/components/icon/icons/hourglass-icon.d.ts +1 -2
  1547. package/dist/types/components/icon/icons/house-cog-icon.d.ts +12 -0
  1548. package/dist/types/components/icon/icons/house-heart-icon.d.ts +1 -2
  1549. package/dist/types/components/icon/icons/house-icon.d.ts +1 -2
  1550. package/dist/types/components/icon/icons/house-plug-icon.d.ts +1 -2
  1551. package/dist/types/components/icon/icons/house-plus-icon.d.ts +1 -2
  1552. package/dist/types/components/icon/icons/house-wifi-icon.d.ts +1 -2
  1553. package/dist/types/components/icon/icons/houses-icon.d.ts +1 -2
  1554. package/dist/types/components/icon/icons/ice-cream-bowl-icon.d.ts +1 -2
  1555. package/dist/types/components/icon/icons/ice-cream-cone-icon.d.ts +1 -2
  1556. package/dist/types/components/icon/icons/id-card-icon.d.ts +1 -2
  1557. package/dist/types/components/icon/icons/id-card-lanyard-icon.d.ts +1 -2
  1558. package/dist/types/components/icon/icons/image-down-icon.d.ts +1 -2
  1559. package/dist/types/components/icon/icons/image-icon.d.ts +1 -2
  1560. package/dist/types/components/icon/icons/image-minus-icon.d.ts +1 -2
  1561. package/dist/types/components/icon/icons/image-off-icon.d.ts +1 -2
  1562. package/dist/types/components/icon/icons/image-play-icon.d.ts +1 -2
  1563. package/dist/types/components/icon/icons/image-plus-icon.d.ts +1 -2
  1564. package/dist/types/components/icon/icons/image-up-icon.d.ts +1 -2
  1565. package/dist/types/components/icon/icons/image-upscale-icon.d.ts +1 -2
  1566. package/dist/types/components/icon/icons/images-icon.d.ts +1 -2
  1567. package/dist/types/components/icon/icons/import-icon.d.ts +1 -2
  1568. package/dist/types/components/icon/icons/inbox-icon.d.ts +1 -2
  1569. package/dist/types/components/icon/icons/index.d.ts +22 -2
  1570. package/dist/types/components/icon/icons/index.types.d.ts +1 -2
  1571. package/dist/types/components/icon/icons/indian-rupee-icon.d.ts +1 -2
  1572. package/dist/types/components/icon/icons/infinity-icon.d.ts +1 -2
  1573. package/dist/types/components/icon/icons/info-icon.d.ts +1 -2
  1574. package/dist/types/components/icon/icons/inspection-panel-icon.d.ts +1 -2
  1575. package/dist/types/components/icon/icons/italic-icon.d.ts +1 -2
  1576. package/dist/types/components/icon/icons/iteration-ccw-icon.d.ts +1 -2
  1577. package/dist/types/components/icon/icons/iteration-cw-icon.d.ts +1 -2
  1578. package/dist/types/components/icon/icons/iv-bag-icon.d.ts +1 -2
  1579. package/dist/types/components/icon/icons/japanese-yen-icon.d.ts +1 -2
  1580. package/dist/types/components/icon/icons/joystick-icon.d.ts +1 -2
  1581. package/dist/types/components/icon/icons/kanban-icon.d.ts +1 -2
  1582. package/dist/types/components/icon/icons/kayak-icon.d.ts +1 -2
  1583. package/dist/types/components/icon/icons/key-icon.d.ts +1 -2
  1584. package/dist/types/components/icon/icons/key-round-icon.d.ts +1 -2
  1585. package/dist/types/components/icon/icons/key-square-icon.d.ts +1 -2
  1586. package/dist/types/components/icon/icons/keyboard-icon.d.ts +1 -2
  1587. package/dist/types/components/icon/icons/keyboard-music-icon.d.ts +1 -2
  1588. package/dist/types/components/icon/icons/keyboard-off-icon.d.ts +1 -2
  1589. package/dist/types/components/icon/icons/lambda-icon.d.ts +12 -0
  1590. package/dist/types/components/icon/icons/lamp-ceiling-icon.d.ts +1 -2
  1591. package/dist/types/components/icon/icons/lamp-desk-icon.d.ts +1 -2
  1592. package/dist/types/components/icon/icons/lamp-floor-icon.d.ts +1 -2
  1593. package/dist/types/components/icon/icons/lamp-icon.d.ts +1 -2
  1594. package/dist/types/components/icon/icons/lamp-wall-down-icon.d.ts +1 -2
  1595. package/dist/types/components/icon/icons/lamp-wall-up-icon.d.ts +1 -2
  1596. package/dist/types/components/icon/icons/land-plot-icon.d.ts +1 -2
  1597. package/dist/types/components/icon/icons/landmark-icon.d.ts +1 -2
  1598. package/dist/types/components/icon/icons/languages-icon.d.ts +1 -2
  1599. package/dist/types/components/icon/icons/laptop-icon.d.ts +1 -2
  1600. package/dist/types/components/icon/icons/laptop-minimal-check-icon.d.ts +1 -2
  1601. package/dist/types/components/icon/icons/laptop-minimal-icon.d.ts +1 -2
  1602. package/dist/types/components/icon/icons/lasso-icon.d.ts +1 -2
  1603. package/dist/types/components/icon/icons/lasso-select-icon.d.ts +1 -2
  1604. package/dist/types/components/icon/icons/layer-arrow-down-icon.d.ts +1 -2
  1605. package/dist/types/components/icon/icons/layer-arrow-up-icon.d.ts +1 -2
  1606. package/dist/types/components/icon/icons/layers-arrow-down-icon.d.ts +1 -2
  1607. package/dist/types/components/icon/icons/layers-arrow-up-icon.d.ts +1 -2
  1608. package/dist/types/components/icon/icons/layers-icon.d.ts +1 -2
  1609. package/dist/types/components/icon/icons/layers-minus-icon.d.ts +1 -2
  1610. package/dist/types/components/icon/icons/layers-plus-icon.d.ts +1 -2
  1611. package/dist/types/components/icon/icons/layers2-icon.d.ts +1 -2
  1612. package/dist/types/components/icon/icons/layout-arrow-down-icon.d.ts +1 -2
  1613. package/dist/types/components/icon/icons/layout-arrow-right-icon.d.ts +1 -2
  1614. package/dist/types/components/icon/icons/layout-dashboard-icon.d.ts +1 -2
  1615. package/dist/types/components/icon/icons/layout-freeform-icon.d.ts +1 -2
  1616. package/dist/types/components/icon/icons/layout-grid-icon.d.ts +1 -2
  1617. package/dist/types/components/icon/icons/layout-list-icon.d.ts +1 -2
  1618. package/dist/types/components/icon/icons/layout-panel-left-icon.d.ts +1 -2
  1619. package/dist/types/components/icon/icons/layout-panel-top-icon.d.ts +1 -2
  1620. package/dist/types/components/icon/icons/layout-template-icon.d.ts +1 -2
  1621. package/dist/types/components/icon/icons/leaf-icon.d.ts +1 -2
  1622. package/dist/types/components/icon/icons/leafy-green-icon.d.ts +1 -2
  1623. package/dist/types/components/icon/icons/lectern-icon.d.ts +1 -2
  1624. package/dist/types/components/icon/icons/lens-concave-icon.d.ts +1 -2
  1625. package/dist/types/components/icon/icons/lens-convex-icon.d.ts +1 -2
  1626. package/dist/types/components/icon/icons/library-big-icon.d.ts +1 -2
  1627. package/dist/types/components/icon/icons/library-icon.d.ts +1 -2
  1628. package/dist/types/components/icon/icons/life-buoy-icon.d.ts +1 -2
  1629. package/dist/types/components/icon/icons/ligature-icon.d.ts +1 -2
  1630. package/dist/types/components/icon/icons/lightbulb-icon.d.ts +1 -2
  1631. package/dist/types/components/icon/icons/lightbulb-off-icon.d.ts +1 -2
  1632. package/dist/types/components/icon/icons/lighthouse-icon.d.ts +1 -2
  1633. package/dist/types/components/icon/icons/line-dot-bottom-vertical-icon.d.ts +12 -0
  1634. package/dist/types/components/icon/icons/line-dot-left-horizontal-icon.d.ts +12 -0
  1635. package/dist/types/components/icon/icons/line-dot-right-horizontal-icon.d.ts +1 -2
  1636. package/dist/types/components/icon/icons/line-dot-top-vertical-icon.d.ts +12 -0
  1637. package/dist/types/components/icon/icons/line-squiggle-icon.d.ts +1 -2
  1638. package/dist/types/components/icon/icons/line-style-icon.d.ts +1 -2
  1639. package/dist/types/components/icon/icons/link-icon.d.ts +1 -2
  1640. package/dist/types/components/icon/icons/link2-icon.d.ts +1 -2
  1641. package/dist/types/components/icon/icons/link2-off-icon.d.ts +1 -2
  1642. package/dist/types/components/icon/icons/list-check-icon.d.ts +1 -2
  1643. package/dist/types/components/icon/icons/list-checks-icon.d.ts +1 -2
  1644. package/dist/types/components/icon/icons/list-chevrons-down-up-icon.d.ts +1 -2
  1645. package/dist/types/components/icon/icons/list-chevrons-up-down-icon.d.ts +1 -2
  1646. package/dist/types/components/icon/icons/list-clock-icon.d.ts +1 -2
  1647. package/dist/types/components/icon/icons/list-collapse-icon.d.ts +1 -2
  1648. package/dist/types/components/icon/icons/list-end-icon.d.ts +1 -2
  1649. package/dist/types/components/icon/icons/list-filter-icon.d.ts +1 -2
  1650. package/dist/types/components/icon/icons/list-filter-plus-icon.d.ts +1 -2
  1651. package/dist/types/components/icon/icons/list-icon.d.ts +1 -2
  1652. package/dist/types/components/icon/icons/list-indent-decrease-icon.d.ts +1 -2
  1653. package/dist/types/components/icon/icons/list-indent-increase-icon.d.ts +1 -2
  1654. package/dist/types/components/icon/icons/list-minus-icon.d.ts +1 -2
  1655. package/dist/types/components/icon/icons/list-music-icon.d.ts +1 -2
  1656. package/dist/types/components/icon/icons/list-ordered-icon.d.ts +1 -2
  1657. package/dist/types/components/icon/icons/list-plus-icon.d.ts +1 -2
  1658. package/dist/types/components/icon/icons/list-restart-icon.d.ts +1 -2
  1659. package/dist/types/components/icon/icons/list-sort-ascending-icon.d.ts +1 -2
  1660. package/dist/types/components/icon/icons/list-sort-descending-icon.d.ts +1 -2
  1661. package/dist/types/components/icon/icons/list-start-icon.d.ts +1 -2
  1662. package/dist/types/components/icon/icons/list-todo-icon.d.ts +1 -2
  1663. package/dist/types/components/icon/icons/list-tree-icon.d.ts +1 -2
  1664. package/dist/types/components/icon/icons/list-video-icon.d.ts +1 -2
  1665. package/dist/types/components/icon/icons/list-x-icon.d.ts +1 -2
  1666. package/dist/types/components/icon/icons/loader-circle-icon.d.ts +1 -2
  1667. package/dist/types/components/icon/icons/loader-icon.d.ts +1 -2
  1668. package/dist/types/components/icon/icons/loader-pinwheel-icon.d.ts +1 -2
  1669. package/dist/types/components/icon/icons/locate-fixed-icon.d.ts +1 -2
  1670. package/dist/types/components/icon/icons/locate-icon.d.ts +1 -2
  1671. package/dist/types/components/icon/icons/locate-off-icon.d.ts +1 -2
  1672. package/dist/types/components/icon/icons/lock-icon.d.ts +1 -2
  1673. package/dist/types/components/icon/icons/lock-keyhole-icon.d.ts +1 -2
  1674. package/dist/types/components/icon/icons/lock-keyhole-open-icon.d.ts +1 -2
  1675. package/dist/types/components/icon/icons/lock-open-icon.d.ts +1 -2
  1676. package/dist/types/components/icon/icons/log-in-icon.d.ts +1 -2
  1677. package/dist/types/components/icon/icons/log-out-icon.d.ts +1 -2
  1678. package/dist/types/components/icon/icons/logs-icon.d.ts +1 -2
  1679. package/dist/types/components/icon/icons/lollipop-icon.d.ts +1 -2
  1680. package/dist/types/components/icon/icons/luggage-icon.d.ts +1 -2
  1681. package/dist/types/components/icon/icons/magnet-icon.d.ts +1 -2
  1682. package/dist/types/components/icon/icons/mail-badge-icon.d.ts +1 -2
  1683. package/dist/types/components/icon/icons/mail-check-icon.d.ts +1 -2
  1684. package/dist/types/components/icon/icons/mail-clock-icon.d.ts +1 -2
  1685. package/dist/types/components/icon/icons/mail-icon.d.ts +1 -2
  1686. package/dist/types/components/icon/icons/mail-minus-icon.d.ts +1 -2
  1687. package/dist/types/components/icon/icons/mail-open-icon.d.ts +1 -2
  1688. package/dist/types/components/icon/icons/mail-pen-icon.d.ts +1 -2
  1689. package/dist/types/components/icon/icons/mail-plus-icon.d.ts +1 -2
  1690. package/dist/types/components/icon/icons/mail-question-mark-icon.d.ts +1 -2
  1691. package/dist/types/components/icon/icons/mail-search-icon.d.ts +1 -2
  1692. package/dist/types/components/icon/icons/mail-warning-icon.d.ts +1 -2
  1693. package/dist/types/components/icon/icons/mail-x-icon.d.ts +1 -2
  1694. package/dist/types/components/icon/icons/mailbox-icon.d.ts +1 -2
  1695. package/dist/types/components/icon/icons/mails-icon.d.ts +1 -2
  1696. package/dist/types/components/icon/icons/map-icon.d.ts +1 -2
  1697. package/dist/types/components/icon/icons/map-minus-icon.d.ts +1 -2
  1698. package/dist/types/components/icon/icons/map-pin-check-icon.d.ts +1 -2
  1699. package/dist/types/components/icon/icons/map-pin-check-inside-icon.d.ts +1 -2
  1700. package/dist/types/components/icon/icons/map-pin-house-icon.d.ts +1 -2
  1701. package/dist/types/components/icon/icons/map-pin-icon.d.ts +1 -2
  1702. package/dist/types/components/icon/icons/map-pin-minus-icon.d.ts +1 -2
  1703. package/dist/types/components/icon/icons/map-pin-minus-inside-icon.d.ts +1 -2
  1704. package/dist/types/components/icon/icons/map-pin-off-icon.d.ts +1 -2
  1705. package/dist/types/components/icon/icons/map-pin-pen-icon.d.ts +1 -2
  1706. package/dist/types/components/icon/icons/map-pin-plus-icon.d.ts +1 -2
  1707. package/dist/types/components/icon/icons/map-pin-plus-inside-icon.d.ts +1 -2
  1708. package/dist/types/components/icon/icons/map-pin-search-icon.d.ts +1 -2
  1709. package/dist/types/components/icon/icons/map-pin-x-icon.d.ts +1 -2
  1710. package/dist/types/components/icon/icons/map-pin-x-inside-icon.d.ts +1 -2
  1711. package/dist/types/components/icon/icons/map-pinned-icon.d.ts +1 -2
  1712. package/dist/types/components/icon/icons/map-plus-icon.d.ts +1 -2
  1713. package/dist/types/components/icon/icons/mars-icon.d.ts +1 -2
  1714. package/dist/types/components/icon/icons/mars-stroke-icon.d.ts +1 -2
  1715. package/dist/types/components/icon/icons/martini-icon.d.ts +1 -2
  1716. package/dist/types/components/icon/icons/maximize-icon.d.ts +1 -2
  1717. package/dist/types/components/icon/icons/maximize2-icon.d.ts +1 -2
  1718. package/dist/types/components/icon/icons/medal-icon.d.ts +1 -2
  1719. package/dist/types/components/icon/icons/megaphone-icon.d.ts +1 -2
  1720. package/dist/types/components/icon/icons/megaphone-off-icon.d.ts +1 -2
  1721. package/dist/types/components/icon/icons/memory-stick-icon.d.ts +1 -2
  1722. package/dist/types/components/icon/icons/menu-icon.d.ts +1 -2
  1723. package/dist/types/components/icon/icons/merge-icon.d.ts +1 -2
  1724. package/dist/types/components/icon/icons/message-circle-check-icon.d.ts +1 -2
  1725. package/dist/types/components/icon/icons/message-circle-code-icon.d.ts +1 -2
  1726. package/dist/types/components/icon/icons/message-circle-dashed-check-icon.d.ts +1 -2
  1727. package/dist/types/components/icon/icons/message-circle-dashed-icon.d.ts +1 -2
  1728. package/dist/types/components/icon/icons/message-circle-heart-icon.d.ts +1 -2
  1729. package/dist/types/components/icon/icons/message-circle-icon.d.ts +1 -2
  1730. package/dist/types/components/icon/icons/message-circle-more-icon.d.ts +1 -2
  1731. package/dist/types/components/icon/icons/message-circle-off-icon.d.ts +1 -2
  1732. package/dist/types/components/icon/icons/message-circle-plus-icon.d.ts +1 -2
  1733. package/dist/types/components/icon/icons/message-circle-question-mark-icon.d.ts +1 -2
  1734. package/dist/types/components/icon/icons/message-circle-reply-icon.d.ts +1 -2
  1735. package/dist/types/components/icon/icons/message-circle-warning-icon.d.ts +1 -2
  1736. package/dist/types/components/icon/icons/message-circle-x-icon.d.ts +1 -2
  1737. package/dist/types/components/icon/icons/message-square-check-icon.d.ts +1 -2
  1738. package/dist/types/components/icon/icons/message-square-code-icon.d.ts +1 -2
  1739. package/dist/types/components/icon/icons/message-square-dashed-icon.d.ts +1 -2
  1740. package/dist/types/components/icon/icons/message-square-diff-icon.d.ts +1 -2
  1741. package/dist/types/components/icon/icons/message-square-dot-icon.d.ts +1 -2
  1742. package/dist/types/components/icon/icons/message-square-heart-icon.d.ts +1 -2
  1743. package/dist/types/components/icon/icons/message-square-icon.d.ts +1 -2
  1744. package/dist/types/components/icon/icons/message-square-lock-icon.d.ts +1 -2
  1745. package/dist/types/components/icon/icons/message-square-more-icon.d.ts +1 -2
  1746. package/dist/types/components/icon/icons/message-square-off-icon.d.ts +1 -2
  1747. package/dist/types/components/icon/icons/message-square-plus-icon.d.ts +1 -2
  1748. package/dist/types/components/icon/icons/message-square-quote-icon.d.ts +1 -2
  1749. package/dist/types/components/icon/icons/message-square-reply-icon.d.ts +1 -2
  1750. package/dist/types/components/icon/icons/message-square-share-icon.d.ts +1 -2
  1751. package/dist/types/components/icon/icons/message-square-text-icon.d.ts +1 -2
  1752. package/dist/types/components/icon/icons/message-square-warning-icon.d.ts +1 -2
  1753. package/dist/types/components/icon/icons/message-square-x-icon.d.ts +1 -2
  1754. package/dist/types/components/icon/icons/messages-circle-icon.d.ts +1 -2
  1755. package/dist/types/components/icon/icons/messages-square-icon.d.ts +1 -2
  1756. package/dist/types/components/icon/icons/metronome-icon.d.ts +1 -2
  1757. package/dist/types/components/icon/icons/mic-audio-lines-icon.d.ts +1 -2
  1758. package/dist/types/components/icon/icons/mic-icon.d.ts +1 -2
  1759. package/dist/types/components/icon/icons/mic-off-icon.d.ts +1 -2
  1760. package/dist/types/components/icon/icons/mic-signal-icon.d.ts +1 -2
  1761. package/dist/types/components/icon/icons/mic-vocal-icon.d.ts +1 -2
  1762. package/dist/types/components/icon/icons/microchip-icon.d.ts +1 -2
  1763. package/dist/types/components/icon/icons/microscope-icon.d.ts +1 -2
  1764. package/dist/types/components/icon/icons/microwave-icon.d.ts +1 -2
  1765. package/dist/types/components/icon/icons/midi-port-icon.d.ts +1 -2
  1766. package/dist/types/components/icon/icons/milestone-icon.d.ts +1 -2
  1767. package/dist/types/components/icon/icons/milk-icon.d.ts +1 -2
  1768. package/dist/types/components/icon/icons/milk-off-icon.d.ts +1 -2
  1769. package/dist/types/components/icon/icons/minimize-icon.d.ts +1 -2
  1770. package/dist/types/components/icon/icons/minimize2-icon.d.ts +1 -2
  1771. package/dist/types/components/icon/icons/minus-icon.d.ts +1 -2
  1772. package/dist/types/components/icon/icons/mirror-rectangular-icon.d.ts +1 -2
  1773. package/dist/types/components/icon/icons/mirror-round-icon.d.ts +1 -2
  1774. package/dist/types/components/icon/icons/monitor-check-icon.d.ts +1 -2
  1775. package/dist/types/components/icon/icons/monitor-cloud-icon.d.ts +1 -2
  1776. package/dist/types/components/icon/icons/monitor-cog-icon.d.ts +1 -2
  1777. package/dist/types/components/icon/icons/monitor-dot-icon.d.ts +1 -2
  1778. package/dist/types/components/icon/icons/monitor-down-icon.d.ts +1 -2
  1779. package/dist/types/components/icon/icons/monitor-icon.d.ts +1 -2
  1780. package/dist/types/components/icon/icons/monitor-off-icon.d.ts +1 -2
  1781. package/dist/types/components/icon/icons/monitor-pause-icon.d.ts +1 -2
  1782. package/dist/types/components/icon/icons/monitor-pc-icon.d.ts +12 -0
  1783. package/dist/types/components/icon/icons/monitor-play-icon.d.ts +1 -2
  1784. package/dist/types/components/icon/icons/monitor-smartphone-icon.d.ts +1 -2
  1785. package/dist/types/components/icon/icons/monitor-speaker-icon.d.ts +1 -2
  1786. package/dist/types/components/icon/icons/monitor-stop-icon.d.ts +1 -2
  1787. package/dist/types/components/icon/icons/monitor-up-icon.d.ts +1 -2
  1788. package/dist/types/components/icon/icons/monitor-x-icon.d.ts +1 -2
  1789. package/dist/types/components/icon/icons/moon-icon.d.ts +1 -2
  1790. package/dist/types/components/icon/icons/moon-star-icon.d.ts +1 -2
  1791. package/dist/types/components/icon/icons/mop-icon.d.ts +1 -2
  1792. package/dist/types/components/icon/icons/mop-sparkles-icon.d.ts +1 -2
  1793. package/dist/types/components/icon/icons/mosque-icon.d.ts +1 -2
  1794. package/dist/types/components/icon/icons/motorbike-icon.d.ts +1 -2
  1795. package/dist/types/components/icon/icons/mountain-icon.d.ts +1 -2
  1796. package/dist/types/components/icon/icons/mountain-snow-icon.d.ts +1 -2
  1797. package/dist/types/components/icon/icons/mouse-icon.d.ts +1 -2
  1798. package/dist/types/components/icon/icons/mouse-left-icon.d.ts +1 -2
  1799. package/dist/types/components/icon/icons/mouse-off-icon.d.ts +1 -2
  1800. package/dist/types/components/icon/icons/mouse-pointer-ban-icon.d.ts +1 -2
  1801. package/dist/types/components/icon/icons/mouse-pointer-click-icon.d.ts +1 -2
  1802. package/dist/types/components/icon/icons/mouse-pointer-icon.d.ts +1 -2
  1803. package/dist/types/components/icon/icons/mouse-pointer2-icon.d.ts +1 -2
  1804. package/dist/types/components/icon/icons/mouse-pointer2-off-icon.d.ts +1 -2
  1805. package/dist/types/components/icon/icons/mouse-right-icon.d.ts +1 -2
  1806. package/dist/types/components/icon/icons/mouth-icon.d.ts +1 -2
  1807. package/dist/types/components/icon/icons/mouth-off-icon.d.ts +1 -2
  1808. package/dist/types/components/icon/icons/move-diagonal-icon.d.ts +1 -2
  1809. package/dist/types/components/icon/icons/move-diagonal2-icon.d.ts +1 -2
  1810. package/dist/types/components/icon/icons/move-down-icon.d.ts +1 -2
  1811. package/dist/types/components/icon/icons/move-down-left-icon.d.ts +1 -2
  1812. package/dist/types/components/icon/icons/move-down-right-icon.d.ts +1 -2
  1813. package/dist/types/components/icon/icons/move-horizontal-icon.d.ts +1 -2
  1814. package/dist/types/components/icon/icons/move-icon.d.ts +1 -2
  1815. package/dist/types/components/icon/icons/move-left-icon.d.ts +1 -2
  1816. package/dist/types/components/icon/icons/move-right-icon.d.ts +1 -2
  1817. package/dist/types/components/icon/icons/move-up-icon.d.ts +1 -2
  1818. package/dist/types/components/icon/icons/move-up-left-icon.d.ts +1 -2
  1819. package/dist/types/components/icon/icons/move-up-right-icon.d.ts +1 -2
  1820. package/dist/types/components/icon/icons/move-vertical-icon.d.ts +1 -2
  1821. package/dist/types/components/icon/icons/move3d-icon.d.ts +1 -2
  1822. package/dist/types/components/icon/icons/music-icon.d.ts +1 -2
  1823. package/dist/types/components/icon/icons/music2-icon.d.ts +1 -2
  1824. package/dist/types/components/icon/icons/music3-icon.d.ts +1 -2
  1825. package/dist/types/components/icon/icons/music4-icon.d.ts +1 -2
  1826. package/dist/types/components/icon/icons/navigation-icon.d.ts +1 -2
  1827. package/dist/types/components/icon/icons/navigation-off-icon.d.ts +1 -2
  1828. package/dist/types/components/icon/icons/navigation2-icon.d.ts +1 -2
  1829. package/dist/types/components/icon/icons/navigation2-off-icon.d.ts +1 -2
  1830. package/dist/types/components/icon/icons/nepali-rupee-icon.d.ts +12 -0
  1831. package/dist/types/components/icon/icons/network-icon.d.ts +1 -2
  1832. package/dist/types/components/icon/icons/newspaper-icon.d.ts +1 -2
  1833. package/dist/types/components/icon/icons/nfc-icon.d.ts +1 -2
  1834. package/dist/types/components/icon/icons/non-binary-icon.d.ts +1 -2
  1835. package/dist/types/components/icon/icons/notebook-dot-icon.d.ts +1 -2
  1836. package/dist/types/components/icon/icons/notebook-icon.d.ts +1 -2
  1837. package/dist/types/components/icon/icons/notebook-pen-icon.d.ts +1 -2
  1838. package/dist/types/components/icon/icons/notebook-tabs-icon.d.ts +1 -2
  1839. package/dist/types/components/icon/icons/notebook-text-icon.d.ts +1 -2
  1840. package/dist/types/components/icon/icons/notepad-text-dashed-icon.d.ts +1 -2
  1841. package/dist/types/components/icon/icons/notepad-text-icon.d.ts +1 -2
  1842. package/dist/types/components/icon/icons/nut-icon.d.ts +1 -2
  1843. package/dist/types/components/icon/icons/nut-off-icon.d.ts +1 -2
  1844. package/dist/types/components/icon/icons/octagon-alert-icon.d.ts +1 -2
  1845. package/dist/types/components/icon/icons/octagon-icon.d.ts +1 -2
  1846. package/dist/types/components/icon/icons/octagon-minus-icon.d.ts +1 -2
  1847. package/dist/types/components/icon/icons/octagon-pause-icon.d.ts +1 -2
  1848. package/dist/types/components/icon/icons/octagon-x-icon.d.ts +1 -2
  1849. package/dist/types/components/icon/icons/omega-icon.d.ts +1 -2
  1850. package/dist/types/components/icon/icons/option-icon.d.ts +1 -2
  1851. package/dist/types/components/icon/icons/orbit-icon.d.ts +1 -2
  1852. package/dist/types/components/icon/icons/origami-icon.d.ts +1 -2
  1853. package/dist/types/components/icon/icons/package-check-icon.d.ts +1 -2
  1854. package/dist/types/components/icon/icons/package-icon.d.ts +1 -2
  1855. package/dist/types/components/icon/icons/package-minus-icon.d.ts +1 -2
  1856. package/dist/types/components/icon/icons/package-open-icon.d.ts +1 -2
  1857. package/dist/types/components/icon/icons/package-plus-icon.d.ts +1 -2
  1858. package/dist/types/components/icon/icons/package-search-icon.d.ts +1 -2
  1859. package/dist/types/components/icon/icons/package-x-icon.d.ts +1 -2
  1860. package/dist/types/components/icon/icons/package2-icon.d.ts +1 -2
  1861. package/dist/types/components/icon/icons/paint-bucket-icon.d.ts +1 -2
  1862. package/dist/types/components/icon/icons/paint-roller-icon.d.ts +1 -2
  1863. package/dist/types/components/icon/icons/paintbrush-icon.d.ts +1 -2
  1864. package/dist/types/components/icon/icons/paintbrush-vertical-icon.d.ts +1 -2
  1865. package/dist/types/components/icon/icons/palette-icon.d.ts +1 -2
  1866. package/dist/types/components/icon/icons/panda-icon.d.ts +1 -2
  1867. package/dist/types/components/icon/icons/panel-bottom-close-icon.d.ts +1 -2
  1868. package/dist/types/components/icon/icons/panel-bottom-dashed-icon.d.ts +1 -2
  1869. package/dist/types/components/icon/icons/panel-bottom-icon.d.ts +1 -2
  1870. package/dist/types/components/icon/icons/panel-bottom-open-icon.d.ts +1 -2
  1871. package/dist/types/components/icon/icons/panel-left-close-icon.d.ts +1 -2
  1872. package/dist/types/components/icon/icons/panel-left-dashed-icon.d.ts +1 -2
  1873. package/dist/types/components/icon/icons/panel-left-icon.d.ts +1 -2
  1874. package/dist/types/components/icon/icons/panel-left-open-icon.d.ts +1 -2
  1875. package/dist/types/components/icon/icons/panel-left-right-dashed-icon.d.ts +1 -2
  1876. package/dist/types/components/icon/icons/panel-right-close-icon.d.ts +1 -2
  1877. package/dist/types/components/icon/icons/panel-right-dashed-icon.d.ts +1 -2
  1878. package/dist/types/components/icon/icons/panel-right-icon.d.ts +1 -2
  1879. package/dist/types/components/icon/icons/panel-right-open-icon.d.ts +1 -2
  1880. package/dist/types/components/icon/icons/panel-top-bottom-dashed-icon.d.ts +1 -2
  1881. package/dist/types/components/icon/icons/panel-top-close-icon.d.ts +1 -2
  1882. package/dist/types/components/icon/icons/panel-top-dashed-icon.d.ts +1 -2
  1883. package/dist/types/components/icon/icons/panel-top-icon.d.ts +1 -2
  1884. package/dist/types/components/icon/icons/panel-top-open-icon.d.ts +1 -2
  1885. package/dist/types/components/icon/icons/panels-left-bottom-icon.d.ts +1 -2
  1886. package/dist/types/components/icon/icons/panels-right-bottom-icon.d.ts +1 -2
  1887. package/dist/types/components/icon/icons/panels-top-left-icon.d.ts +1 -2
  1888. package/dist/types/components/icon/icons/paper-bag-icon.d.ts +1 -2
  1889. package/dist/types/components/icon/icons/paperclip-icon.d.ts +1 -2
  1890. package/dist/types/components/icon/icons/parasol-icon.d.ts +1 -2
  1891. package/dist/types/components/icon/icons/parentheses-icon.d.ts +1 -2
  1892. package/dist/types/components/icon/icons/park-icon.d.ts +1 -2
  1893. package/dist/types/components/icon/icons/parking-meter-icon.d.ts +1 -2
  1894. package/dist/types/components/icon/icons/party-popper-icon.d.ts +1 -2
  1895. package/dist/types/components/icon/icons/pause-icon.d.ts +1 -2
  1896. package/dist/types/components/icon/icons/paw-print-icon.d.ts +1 -2
  1897. package/dist/types/components/icon/icons/pc-case-icon.d.ts +1 -2
  1898. package/dist/types/components/icon/icons/pen-icon.d.ts +1 -2
  1899. package/dist/types/components/icon/icons/pen-line-icon.d.ts +1 -2
  1900. package/dist/types/components/icon/icons/pen-off-icon.d.ts +1 -2
  1901. package/dist/types/components/icon/icons/pen-tool-icon.d.ts +1 -2
  1902. package/dist/types/components/icon/icons/pencil-icon.d.ts +1 -2
  1903. package/dist/types/components/icon/icons/pencil-line-icon.d.ts +1 -2
  1904. package/dist/types/components/icon/icons/pencil-off-icon.d.ts +1 -2
  1905. package/dist/types/components/icon/icons/pencil-ruler-icon.d.ts +1 -2
  1906. package/dist/types/components/icon/icons/pencil-sparkles-icon.d.ts +1 -2
  1907. package/dist/types/components/icon/icons/pentagon-icon.d.ts +1 -2
  1908. package/dist/types/components/icon/icons/percent-icon.d.ts +1 -2
  1909. package/dist/types/components/icon/icons/person-standing-icon.d.ts +1 -2
  1910. package/dist/types/components/icon/icons/phi-icon.d.ts +1 -2
  1911. package/dist/types/components/icon/icons/philippine-peso-icon.d.ts +1 -2
  1912. package/dist/types/components/icon/icons/phone-call-icon.d.ts +1 -2
  1913. package/dist/types/components/icon/icons/phone-forwarded-icon.d.ts +1 -2
  1914. package/dist/types/components/icon/icons/phone-icon.d.ts +1 -2
  1915. package/dist/types/components/icon/icons/phone-incoming-icon.d.ts +1 -2
  1916. package/dist/types/components/icon/icons/phone-missed-icon.d.ts +1 -2
  1917. package/dist/types/components/icon/icons/phone-off-icon.d.ts +1 -2
  1918. package/dist/types/components/icon/icons/phone-outgoing-icon.d.ts +1 -2
  1919. package/dist/types/components/icon/icons/pi-icon.d.ts +1 -2
  1920. package/dist/types/components/icon/icons/piano-icon.d.ts +1 -2
  1921. package/dist/types/components/icon/icons/pickaxe-icon.d.ts +1 -2
  1922. package/dist/types/components/icon/icons/picture-in-picture-icon.d.ts +1 -2
  1923. package/dist/types/components/icon/icons/picture-in-picture2-icon.d.ts +1 -2
  1924. package/dist/types/components/icon/icons/piggy-bank-icon.d.ts +1 -2
  1925. package/dist/types/components/icon/icons/pilcrow-icon.d.ts +1 -2
  1926. package/dist/types/components/icon/icons/pilcrow-left-icon.d.ts +1 -2
  1927. package/dist/types/components/icon/icons/pilcrow-right-icon.d.ts +1 -2
  1928. package/dist/types/components/icon/icons/pill-bottle-icon.d.ts +1 -2
  1929. package/dist/types/components/icon/icons/pill-icon.d.ts +1 -2
  1930. package/dist/types/components/icon/icons/pin-icon.d.ts +1 -2
  1931. package/dist/types/components/icon/icons/pin-off-icon.d.ts +1 -2
  1932. package/dist/types/components/icon/icons/pipette-icon.d.ts +1 -2
  1933. package/dist/types/components/icon/icons/pizza-icon.d.ts +1 -2
  1934. package/dist/types/components/icon/icons/plane-icon.d.ts +1 -2
  1935. package/dist/types/components/icon/icons/plane-landing-icon.d.ts +1 -2
  1936. package/dist/types/components/icon/icons/plane-takeoff-icon.d.ts +1 -2
  1937. package/dist/types/components/icon/icons/plant-pot-icon.d.ts +1 -2
  1938. package/dist/types/components/icon/icons/play-icon.d.ts +1 -2
  1939. package/dist/types/components/icon/icons/play-off-icon.d.ts +1 -2
  1940. package/dist/types/components/icon/icons/playing-card-icon.d.ts +1 -2
  1941. package/dist/types/components/icon/icons/playing-cards-fan-icon.d.ts +1 -2
  1942. package/dist/types/components/icon/icons/playing-cards-icon.d.ts +1 -2
  1943. package/dist/types/components/icon/icons/plug-icon.d.ts +1 -2
  1944. package/dist/types/components/icon/icons/plug-zap-icon.d.ts +1 -2
  1945. package/dist/types/components/icon/icons/plug2-icon.d.ts +1 -2
  1946. package/dist/types/components/icon/icons/plus-icon.d.ts +1 -2
  1947. package/dist/types/components/icon/icons/pocket-knife-icon.d.ts +1 -2
  1948. package/dist/types/components/icon/icons/podium-icon.d.ts +1 -2
  1949. package/dist/types/components/icon/icons/pointer-icon.d.ts +1 -2
  1950. package/dist/types/components/icon/icons/pointer-off-icon.d.ts +1 -2
  1951. package/dist/types/components/icon/icons/popcorn-icon.d.ts +1 -2
  1952. package/dist/types/components/icon/icons/popsicle-icon.d.ts +1 -2
  1953. package/dist/types/components/icon/icons/pound-sterling-icon.d.ts +1 -2
  1954. package/dist/types/components/icon/icons/power-icon.d.ts +1 -2
  1955. package/dist/types/components/icon/icons/power-off-icon.d.ts +1 -2
  1956. package/dist/types/components/icon/icons/presentation-icon.d.ts +1 -2
  1957. package/dist/types/components/icon/icons/printer-check-icon.d.ts +1 -2
  1958. package/dist/types/components/icon/icons/printer-icon.d.ts +1 -2
  1959. package/dist/types/components/icon/icons/printer-x-icon.d.ts +1 -2
  1960. package/dist/types/components/icon/icons/projector-icon.d.ts +1 -2
  1961. package/dist/types/components/icon/icons/proportions-icon.d.ts +1 -2
  1962. package/dist/types/components/icon/icons/puzzle-icon.d.ts +1 -2
  1963. package/dist/types/components/icon/icons/pyramid-icon.d.ts +1 -2
  1964. package/dist/types/components/icon/icons/qr-code-icon.d.ts +1 -2
  1965. package/dist/types/components/icon/icons/quote-icon.d.ts +1 -2
  1966. package/dist/types/components/icon/icons/rabbit-icon.d.ts +1 -2
  1967. package/dist/types/components/icon/icons/radar-icon.d.ts +1 -2
  1968. package/dist/types/components/icon/icons/radiation-icon.d.ts +1 -2
  1969. package/dist/types/components/icon/icons/radical-icon.d.ts +1 -2
  1970. package/dist/types/components/icon/icons/radio-icon.d.ts +1 -2
  1971. package/dist/types/components/icon/icons/radio-off-icon.d.ts +1 -2
  1972. package/dist/types/components/icon/icons/radio-receiver-icon.d.ts +1 -2
  1973. package/dist/types/components/icon/icons/radio-tower-icon.d.ts +1 -2
  1974. package/dist/types/components/icon/icons/radius-icon.d.ts +1 -2
  1975. package/dist/types/components/icon/icons/rainbow-icon.d.ts +1 -2
  1976. package/dist/types/components/icon/icons/rat-icon.d.ts +1 -2
  1977. package/dist/types/components/icon/icons/ratio-icon.d.ts +1 -2
  1978. package/dist/types/components/icon/icons/receipt-cent-icon.d.ts +1 -2
  1979. package/dist/types/components/icon/icons/receipt-euro-icon.d.ts +1 -2
  1980. package/dist/types/components/icon/icons/receipt-icon.d.ts +1 -2
  1981. package/dist/types/components/icon/icons/receipt-indian-rupee-icon.d.ts +1 -2
  1982. package/dist/types/components/icon/icons/receipt-japanese-yen-icon.d.ts +1 -2
  1983. package/dist/types/components/icon/icons/receipt-pound-sterling-icon.d.ts +1 -2
  1984. package/dist/types/components/icon/icons/receipt-russian-ruble-icon.d.ts +1 -2
  1985. package/dist/types/components/icon/icons/receipt-swiss-franc-icon.d.ts +1 -2
  1986. package/dist/types/components/icon/icons/receipt-text-icon.d.ts +1 -2
  1987. package/dist/types/components/icon/icons/receipt-turkish-lira-icon.d.ts +1 -2
  1988. package/dist/types/components/icon/icons/rectangle-circle-icon.d.ts +1 -2
  1989. package/dist/types/components/icon/icons/rectangle-ellipsis-icon.d.ts +1 -2
  1990. package/dist/types/components/icon/icons/rectangle-goggles-icon.d.ts +1 -2
  1991. package/dist/types/components/icon/icons/rectangle-horizontal-icon.d.ts +1 -2
  1992. package/dist/types/components/icon/icons/rectangle-vertical-icon.d.ts +1 -2
  1993. package/dist/types/components/icon/icons/recycle-icon.d.ts +1 -2
  1994. package/dist/types/components/icon/icons/redo-dot-icon.d.ts +1 -2
  1995. package/dist/types/components/icon/icons/redo-icon.d.ts +1 -2
  1996. package/dist/types/components/icon/icons/redo2-icon.d.ts +1 -2
  1997. package/dist/types/components/icon/icons/refresh-ccw-dot-icon.d.ts +1 -2
  1998. package/dist/types/components/icon/icons/refresh-ccw-icon.d.ts +1 -2
  1999. package/dist/types/components/icon/icons/refresh-cw-icon.d.ts +1 -2
  2000. package/dist/types/components/icon/icons/refresh-cw-off-icon.d.ts +1 -2
  2001. package/dist/types/components/icon/icons/refrigerator-icon.d.ts +1 -2
  2002. package/dist/types/components/icon/icons/regex-icon.d.ts +1 -2
  2003. package/dist/types/components/icon/icons/remove-formatting-icon.d.ts +1 -2
  2004. package/dist/types/components/icon/icons/repeat-icon.d.ts +1 -2
  2005. package/dist/types/components/icon/icons/repeat-off-icon.d.ts +1 -2
  2006. package/dist/types/components/icon/icons/repeat1-icon.d.ts +1 -2
  2007. package/dist/types/components/icon/icons/repeat2-icon.d.ts +1 -2
  2008. package/dist/types/components/icon/icons/replace-all-icon.d.ts +1 -2
  2009. package/dist/types/components/icon/icons/replace-icon.d.ts +1 -2
  2010. package/dist/types/components/icon/icons/reply-all-icon.d.ts +1 -2
  2011. package/dist/types/components/icon/icons/reply-icon.d.ts +1 -2
  2012. package/dist/types/components/icon/icons/rewind-icon.d.ts +1 -2
  2013. package/dist/types/components/icon/icons/ribbon-icon.d.ts +1 -2
  2014. package/dist/types/components/icon/icons/road-icon.d.ts +1 -2
  2015. package/dist/types/components/icon/icons/robot-arm-icon.d.ts +1 -2
  2016. package/dist/types/components/icon/icons/robot-vacuum-icon.d.ts +1 -2
  2017. package/dist/types/components/icon/icons/rocket-icon.d.ts +1 -2
  2018. package/dist/types/components/icon/icons/rocking-chair-icon.d.ts +1 -2
  2019. package/dist/types/components/icon/icons/roller-coaster-icon.d.ts +1 -2
  2020. package/dist/types/components/icon/icons/rose-icon.d.ts +1 -2
  2021. package/dist/types/components/icon/icons/rotate-ccw-clock-icon.d.ts +1 -2
  2022. package/dist/types/components/icon/icons/rotate-ccw-icon.d.ts +1 -2
  2023. package/dist/types/components/icon/icons/rotate-ccw-key-icon.d.ts +1 -2
  2024. package/dist/types/components/icon/icons/rotate-ccw-square-icon.d.ts +1 -2
  2025. package/dist/types/components/icon/icons/rotate-cw-clock-icon.d.ts +12 -0
  2026. package/dist/types/components/icon/icons/rotate-cw-fading-clock-icon.d.ts +1 -2
  2027. package/dist/types/components/icon/icons/rotate-cw-icon.d.ts +1 -2
  2028. package/dist/types/components/icon/icons/rotate-cw-square-icon.d.ts +1 -2
  2029. package/dist/types/components/icon/icons/rotate3d-icon.d.ts +1 -2
  2030. package/dist/types/components/icon/icons/route-icon.d.ts +1 -2
  2031. package/dist/types/components/icon/icons/route-off-icon.d.ts +1 -2
  2032. package/dist/types/components/icon/icons/router-icon.d.ts +1 -2
  2033. package/dist/types/components/icon/icons/rows2-icon.d.ts +1 -2
  2034. package/dist/types/components/icon/icons/rows3-icon.d.ts +1 -2
  2035. package/dist/types/components/icon/icons/rows4-icon.d.ts +1 -2
  2036. package/dist/types/components/icon/icons/rss-icon.d.ts +1 -2
  2037. package/dist/types/components/icon/icons/ruler-dimension-line-icon.d.ts +1 -2
  2038. package/dist/types/components/icon/icons/ruler-icon.d.ts +1 -2
  2039. package/dist/types/components/icon/icons/russian-ruble-icon.d.ts +1 -2
  2040. package/dist/types/components/icon/icons/sailboat-icon.d.ts +1 -2
  2041. package/dist/types/components/icon/icons/salad-icon.d.ts +1 -2
  2042. package/dist/types/components/icon/icons/sandwich-icon.d.ts +1 -2
  2043. package/dist/types/components/icon/icons/satellite-dish-icon.d.ts +1 -2
  2044. package/dist/types/components/icon/icons/satellite-icon.d.ts +1 -2
  2045. package/dist/types/components/icon/icons/saudi-riyal-icon.d.ts +1 -2
  2046. package/dist/types/components/icon/icons/save-all-icon.d.ts +1 -2
  2047. package/dist/types/components/icon/icons/save-check-icon.d.ts +1 -2
  2048. package/dist/types/components/icon/icons/save-icon.d.ts +1 -2
  2049. package/dist/types/components/icon/icons/save-off-icon.d.ts +1 -2
  2050. package/dist/types/components/icon/icons/save-pen-icon.d.ts +1 -2
  2051. package/dist/types/components/icon/icons/save-plus-icon.d.ts +1 -2
  2052. package/dist/types/components/icon/icons/scale-icon.d.ts +1 -2
  2053. package/dist/types/components/icon/icons/scale3d-icon.d.ts +1 -2
  2054. package/dist/types/components/icon/icons/scaling-icon.d.ts +1 -2
  2055. package/dist/types/components/icon/icons/scan-barcode-icon.d.ts +1 -2
  2056. package/dist/types/components/icon/icons/scan-box-icon.d.ts +1 -2
  2057. package/dist/types/components/icon/icons/scan-eye-icon.d.ts +1 -2
  2058. package/dist/types/components/icon/icons/scan-face-icon.d.ts +1 -2
  2059. package/dist/types/components/icon/icons/scan-heart-icon.d.ts +1 -2
  2060. package/dist/types/components/icon/icons/scan-icon.d.ts +1 -2
  2061. package/dist/types/components/icon/icons/scan-line-icon.d.ts +1 -2
  2062. package/dist/types/components/icon/icons/scan-qr-code-icon.d.ts +1 -2
  2063. package/dist/types/components/icon/icons/scan-search-icon.d.ts +1 -2
  2064. package/dist/types/components/icon/icons/scan-square-icon.d.ts +1 -2
  2065. package/dist/types/components/icon/icons/scan-text-icon.d.ts +1 -2
  2066. package/dist/types/components/icon/icons/school-icon.d.ts +1 -2
  2067. package/dist/types/components/icon/icons/scissors-icon.d.ts +1 -2
  2068. package/dist/types/components/icon/icons/scissors-line-dashed-icon.d.ts +1 -2
  2069. package/dist/types/components/icon/icons/scooter-icon.d.ts +1 -2
  2070. package/dist/types/components/icon/icons/screen-share-icon.d.ts +1 -2
  2071. package/dist/types/components/icon/icons/screen-share-off-icon.d.ts +1 -2
  2072. package/dist/types/components/icon/icons/scroll-icon.d.ts +1 -2
  2073. package/dist/types/components/icon/icons/scroll-text-icon.d.ts +1 -2
  2074. package/dist/types/components/icon/icons/search-alert-icon.d.ts +1 -2
  2075. package/dist/types/components/icon/icons/search-check-icon.d.ts +1 -2
  2076. package/dist/types/components/icon/icons/search-code-icon.d.ts +1 -2
  2077. package/dist/types/components/icon/icons/search-icon.d.ts +1 -2
  2078. package/dist/types/components/icon/icons/search-slash-icon.d.ts +1 -2
  2079. package/dist/types/components/icon/icons/search-x-icon.d.ts +1 -2
  2080. package/dist/types/components/icon/icons/section-icon.d.ts +1 -2
  2081. package/dist/types/components/icon/icons/send-horizontal-icon.d.ts +1 -2
  2082. package/dist/types/components/icon/icons/send-icon.d.ts +1 -2
  2083. package/dist/types/components/icon/icons/send-to-back-icon.d.ts +1 -2
  2084. package/dist/types/components/icon/icons/separator-horizontal-icon.d.ts +1 -2
  2085. package/dist/types/components/icon/icons/separator-vertical-icon.d.ts +1 -2
  2086. package/dist/types/components/icon/icons/server-cog-icon.d.ts +1 -2
  2087. package/dist/types/components/icon/icons/server-crash-icon.d.ts +1 -2
  2088. package/dist/types/components/icon/icons/server-icon.d.ts +1 -2
  2089. package/dist/types/components/icon/icons/server-off-icon.d.ts +1 -2
  2090. package/dist/types/components/icon/icons/server-plus-icon.d.ts +1 -2
  2091. package/dist/types/components/icon/icons/settings-icon.d.ts +1 -2
  2092. package/dist/types/components/icon/icons/settings2-icon.d.ts +1 -2
  2093. package/dist/types/components/icon/icons/shapes-icon.d.ts +1 -2
  2094. package/dist/types/components/icon/icons/share-icon.d.ts +1 -2
  2095. package/dist/types/components/icon/icons/share2-icon.d.ts +1 -2
  2096. package/dist/types/components/icon/icons/sheet-icon.d.ts +1 -2
  2097. package/dist/types/components/icon/icons/shell-icon.d.ts +1 -2
  2098. package/dist/types/components/icon/icons/shelving-unit-icon.d.ts +1 -2
  2099. package/dist/types/components/icon/icons/shield-alert-icon.d.ts +1 -2
  2100. package/dist/types/components/icon/icons/shield-ban-icon.d.ts +1 -2
  2101. package/dist/types/components/icon/icons/shield-check-icon.d.ts +1 -2
  2102. package/dist/types/components/icon/icons/shield-cog-corner-icon.d.ts +1 -2
  2103. package/dist/types/components/icon/icons/shield-cog-icon.d.ts +1 -2
  2104. package/dist/types/components/icon/icons/shield-ellipsis-icon.d.ts +1 -2
  2105. package/dist/types/components/icon/icons/shield-half-icon.d.ts +1 -2
  2106. package/dist/types/components/icon/icons/shield-icon.d.ts +1 -2
  2107. package/dist/types/components/icon/icons/shield-keyhole-icon.d.ts +1 -2
  2108. package/dist/types/components/icon/icons/shield-lock-icon.d.ts +1 -2
  2109. package/dist/types/components/icon/icons/shield-minus-icon.d.ts +1 -2
  2110. package/dist/types/components/icon/icons/shield-off-icon.d.ts +1 -2
  2111. package/dist/types/components/icon/icons/shield-plus-icon.d.ts +1 -2
  2112. package/dist/types/components/icon/icons/shield-question-mark-icon.d.ts +1 -2
  2113. package/dist/types/components/icon/icons/shield-user-icon.d.ts +1 -2
  2114. package/dist/types/components/icon/icons/shield-x-icon.d.ts +1 -2
  2115. package/dist/types/components/icon/icons/ship-cargo-icon.d.ts +1 -2
  2116. package/dist/types/components/icon/icons/ship-icon.d.ts +1 -2
  2117. package/dist/types/components/icon/icons/ship-wheel-icon.d.ts +1 -2
  2118. package/dist/types/components/icon/icons/shirt-icon.d.ts +1 -2
  2119. package/dist/types/components/icon/icons/shopping-bag-icon.d.ts +1 -2
  2120. package/dist/types/components/icon/icons/shopping-basket-icon.d.ts +1 -2
  2121. package/dist/types/components/icon/icons/shopping-cart-icon.d.ts +1 -2
  2122. package/dist/types/components/icon/icons/shopping-cart-minus-icon.d.ts +1 -2
  2123. package/dist/types/components/icon/icons/shopping-cart-plus-icon.d.ts +1 -2
  2124. package/dist/types/components/icon/icons/shovel-icon.d.ts +1 -2
  2125. package/dist/types/components/icon/icons/shower-head-icon.d.ts +1 -2
  2126. package/dist/types/components/icon/icons/shredder-icon.d.ts +1 -2
  2127. package/dist/types/components/icon/icons/shrimp-icon.d.ts +1 -2
  2128. package/dist/types/components/icon/icons/shrimp-off-icon.d.ts +1 -2
  2129. package/dist/types/components/icon/icons/shrink-icon.d.ts +1 -2
  2130. package/dist/types/components/icon/icons/shrub-icon.d.ts +1 -2
  2131. package/dist/types/components/icon/icons/shuffle-icon.d.ts +1 -2
  2132. package/dist/types/components/icon/icons/sigma-icon.d.ts +1 -2
  2133. package/dist/types/components/icon/icons/signal-high-icon.d.ts +1 -2
  2134. package/dist/types/components/icon/icons/signal-icon.d.ts +1 -2
  2135. package/dist/types/components/icon/icons/signal-low-icon.d.ts +1 -2
  2136. package/dist/types/components/icon/icons/signal-medium-icon.d.ts +1 -2
  2137. package/dist/types/components/icon/icons/signal-zero-icon.d.ts +1 -2
  2138. package/dist/types/components/icon/icons/signature-icon.d.ts +1 -2
  2139. package/dist/types/components/icon/icons/signpost-big-icon.d.ts +1 -2
  2140. package/dist/types/components/icon/icons/signpost-icon.d.ts +1 -2
  2141. package/dist/types/components/icon/icons/siren-icon.d.ts +1 -2
  2142. package/dist/types/components/icon/icons/skip-back-icon.d.ts +1 -2
  2143. package/dist/types/components/icon/icons/skip-forward-icon.d.ts +1 -2
  2144. package/dist/types/components/icon/icons/skull-icon.d.ts +1 -2
  2145. package/dist/types/components/icon/icons/slash-icon.d.ts +1 -2
  2146. package/dist/types/components/icon/icons/slice-icon.d.ts +1 -2
  2147. package/dist/types/components/icon/icons/sliders-horizontal-icon.d.ts +1 -2
  2148. package/dist/types/components/icon/icons/sliders-vertical-icon.d.ts +1 -2
  2149. package/dist/types/components/icon/icons/smartphone-charging-icon.d.ts +1 -2
  2150. package/dist/types/components/icon/icons/smartphone-icon.d.ts +1 -2
  2151. package/dist/types/components/icon/icons/smartphone-nfc-icon.d.ts +1 -2
  2152. package/dist/types/components/icon/icons/snail-icon.d.ts +1 -2
  2153. package/dist/types/components/icon/icons/snowflake-icon.d.ts +1 -2
  2154. package/dist/types/components/icon/icons/soap-dispenser-droplet-icon.d.ts +1 -2
  2155. package/dist/types/components/icon/icons/sofa-icon.d.ts +1 -2
  2156. package/dist/types/components/icon/icons/solar-panel-icon.d.ts +1 -2
  2157. package/dist/types/components/icon/icons/soup-icon.d.ts +1 -2
  2158. package/dist/types/components/icon/icons/space-icon.d.ts +1 -2
  2159. package/dist/types/components/icon/icons/spade-icon.d.ts +1 -2
  2160. package/dist/types/components/icon/icons/sparkle-icon.d.ts +1 -2
  2161. package/dist/types/components/icon/icons/sparkles-icon.d.ts +1 -2
  2162. package/dist/types/components/icon/icons/speaker-icon.d.ts +1 -2
  2163. package/dist/types/components/icon/icons/speech-icon.d.ts +1 -2
  2164. package/dist/types/components/icon/icons/spell-check-icon.d.ts +1 -2
  2165. package/dist/types/components/icon/icons/spell-check2-icon.d.ts +1 -2
  2166. package/dist/types/components/icon/icons/spline-icon.d.ts +1 -2
  2167. package/dist/types/components/icon/icons/spline-pointer-icon.d.ts +1 -2
  2168. package/dist/types/components/icon/icons/split-icon.d.ts +1 -2
  2169. package/dist/types/components/icon/icons/spool-icon.d.ts +1 -2
  2170. package/dist/types/components/icon/icons/sport-shoe-icon.d.ts +1 -2
  2171. package/dist/types/components/icon/icons/spotlight-icon.d.ts +1 -2
  2172. package/dist/types/components/icon/icons/spray-can-icon.d.ts +1 -2
  2173. package/dist/types/components/icon/icons/sprout-icon.d.ts +1 -2
  2174. package/dist/types/components/icon/icons/square-activity-icon.d.ts +1 -2
  2175. package/dist/types/components/icon/icons/square-arrow-down-icon.d.ts +1 -2
  2176. package/dist/types/components/icon/icons/square-arrow-down-left-icon.d.ts +1 -2
  2177. package/dist/types/components/icon/icons/square-arrow-down-right-icon.d.ts +1 -2
  2178. package/dist/types/components/icon/icons/square-arrow-left-icon.d.ts +1 -2
  2179. package/dist/types/components/icon/icons/square-arrow-out-down-left-icon.d.ts +1 -2
  2180. package/dist/types/components/icon/icons/square-arrow-out-down-right-icon.d.ts +1 -2
  2181. package/dist/types/components/icon/icons/square-arrow-out-up-left-icon.d.ts +1 -2
  2182. package/dist/types/components/icon/icons/square-arrow-out-up-right-icon.d.ts +1 -2
  2183. package/dist/types/components/icon/icons/square-arrow-right-enter-icon.d.ts +1 -2
  2184. package/dist/types/components/icon/icons/square-arrow-right-exit-icon.d.ts +1 -2
  2185. package/dist/types/components/icon/icons/square-arrow-right-icon.d.ts +1 -2
  2186. package/dist/types/components/icon/icons/square-arrow-up-icon.d.ts +1 -2
  2187. package/dist/types/components/icon/icons/square-arrow-up-left-icon.d.ts +1 -2
  2188. package/dist/types/components/icon/icons/square-arrow-up-right-icon.d.ts +1 -2
  2189. package/dist/types/components/icon/icons/square-asterisk-icon.d.ts +1 -2
  2190. package/dist/types/components/icon/icons/square-bookmark-icon.d.ts +1 -2
  2191. package/dist/types/components/icon/icons/square-bottom-dashed-scissors-icon.d.ts +1 -2
  2192. package/dist/types/components/icon/icons/square-centerline-dashed-horizontal-icon.d.ts +1 -2
  2193. package/dist/types/components/icon/icons/square-centerline-dashed-vertical-icon.d.ts +1 -2
  2194. package/dist/types/components/icon/icons/square-chart-gantt-icon.d.ts +1 -2
  2195. package/dist/types/components/icon/icons/square-check-big-icon.d.ts +1 -2
  2196. package/dist/types/components/icon/icons/square-check-icon.d.ts +1 -2
  2197. package/dist/types/components/icon/icons/square-chevron-down-icon.d.ts +1 -2
  2198. package/dist/types/components/icon/icons/square-chevron-left-icon.d.ts +1 -2
  2199. package/dist/types/components/icon/icons/square-chevron-right-icon.d.ts +1 -2
  2200. package/dist/types/components/icon/icons/square-chevron-up-icon.d.ts +1 -2
  2201. package/dist/types/components/icon/icons/square-code-icon.d.ts +1 -2
  2202. package/dist/types/components/icon/icons/square-dashed-bottom-code-icon.d.ts +1 -2
  2203. package/dist/types/components/icon/icons/square-dashed-bottom-icon.d.ts +1 -2
  2204. package/dist/types/components/icon/icons/square-dashed-icon.d.ts +1 -2
  2205. package/dist/types/components/icon/icons/square-dashed-kanban-icon.d.ts +1 -2
  2206. package/dist/types/components/icon/icons/square-dashed-mouse-pointer-icon.d.ts +1 -2
  2207. package/dist/types/components/icon/icons/square-dashed-plus-icon.d.ts +12 -0
  2208. package/dist/types/components/icon/icons/square-dashed-text-icon.d.ts +1 -2
  2209. package/dist/types/components/icon/icons/square-dashed-top-solid-icon.d.ts +1 -2
  2210. package/dist/types/components/icon/icons/square-dashed-x-corner-icon.d.ts +12 -0
  2211. package/dist/types/components/icon/icons/square-dashed-x-icon.d.ts +12 -0
  2212. package/dist/types/components/icon/icons/square-dimensions-icon.d.ts +1 -2
  2213. package/dist/types/components/icon/icons/square-divide-icon.d.ts +1 -2
  2214. package/dist/types/components/icon/icons/square-dot-icon.d.ts +1 -2
  2215. package/dist/types/components/icon/icons/square-equal-icon.d.ts +1 -2
  2216. package/dist/types/components/icon/icons/square-exclamation-point-icon.d.ts +1 -2
  2217. package/dist/types/components/icon/icons/square-function-icon.d.ts +1 -2
  2218. package/dist/types/components/icon/icons/square-icon.d.ts +1 -2
  2219. package/dist/types/components/icon/icons/square-kanban-icon.d.ts +1 -2
  2220. package/dist/types/components/icon/icons/square-library-icon.d.ts +1 -2
  2221. package/dist/types/components/icon/icons/square-m-icon.d.ts +1 -2
  2222. package/dist/types/components/icon/icons/square-menu-icon.d.ts +1 -2
  2223. package/dist/types/components/icon/icons/square-minus-icon.d.ts +1 -2
  2224. package/dist/types/components/icon/icons/square-mouse-pointer-icon.d.ts +1 -2
  2225. package/dist/types/components/icon/icons/square-off-icon.d.ts +1 -2
  2226. package/dist/types/components/icon/icons/square-parking-icon.d.ts +1 -2
  2227. package/dist/types/components/icon/icons/square-parking-off-icon.d.ts +1 -2
  2228. package/dist/types/components/icon/icons/square-pause-icon.d.ts +1 -2
  2229. package/dist/types/components/icon/icons/square-pen-icon.d.ts +1 -2
  2230. package/dist/types/components/icon/icons/square-percent-icon.d.ts +1 -2
  2231. package/dist/types/components/icon/icons/square-pi-icon.d.ts +1 -2
  2232. package/dist/types/components/icon/icons/square-pilcrow-icon.d.ts +1 -2
  2233. package/dist/types/components/icon/icons/square-play-icon.d.ts +1 -2
  2234. package/dist/types/components/icon/icons/square-plus-icon.d.ts +1 -2
  2235. package/dist/types/components/icon/icons/square-power-icon.d.ts +1 -2
  2236. package/dist/types/components/icon/icons/square-radical-icon.d.ts +1 -2
  2237. package/dist/types/components/icon/icons/square-round-corner-icon.d.ts +1 -2
  2238. package/dist/types/components/icon/icons/square-scissors-icon.d.ts +1 -2
  2239. package/dist/types/components/icon/icons/square-sigma-icon.d.ts +1 -2
  2240. package/dist/types/components/icon/icons/square-slash-icon.d.ts +1 -2
  2241. package/dist/types/components/icon/icons/square-sparkles-icon.d.ts +12 -0
  2242. package/dist/types/components/icon/icons/square-split-horizontal-icon.d.ts +1 -2
  2243. package/dist/types/components/icon/icons/square-split-vertical-icon.d.ts +1 -2
  2244. package/dist/types/components/icon/icons/square-square-icon.d.ts +1 -2
  2245. package/dist/types/components/icon/icons/square-stack-icon.d.ts +1 -2
  2246. package/dist/types/components/icon/icons/square-star-icon.d.ts +1 -2
  2247. package/dist/types/components/icon/icons/square-stop-icon.d.ts +1 -2
  2248. package/dist/types/components/icon/icons/square-terminal-icon.d.ts +1 -2
  2249. package/dist/types/components/icon/icons/square-text-icon.d.ts +1 -2
  2250. package/dist/types/components/icon/icons/square-user-icon.d.ts +1 -2
  2251. package/dist/types/components/icon/icons/square-user-round-icon.d.ts +1 -2
  2252. package/dist/types/components/icon/icons/square-x-icon.d.ts +1 -2
  2253. package/dist/types/components/icon/icons/squares-exclude-icon.d.ts +1 -2
  2254. package/dist/types/components/icon/icons/squares-intersect-icon.d.ts +1 -2
  2255. package/dist/types/components/icon/icons/squares-subtract-icon.d.ts +1 -2
  2256. package/dist/types/components/icon/icons/squares-unite-icon.d.ts +1 -2
  2257. package/dist/types/components/icon/icons/squircle-dashed-icon.d.ts +1 -2
  2258. package/dist/types/components/icon/icons/squircle-icon.d.ts +1 -2
  2259. package/dist/types/components/icon/icons/squirrel-icon.d.ts +1 -2
  2260. package/dist/types/components/icon/icons/stamp-icon.d.ts +1 -2
  2261. package/dist/types/components/icon/icons/star-check-icon.d.ts +1 -2
  2262. package/dist/types/components/icon/icons/star-half-icon.d.ts +1 -2
  2263. package/dist/types/components/icon/icons/star-icon.d.ts +1 -2
  2264. package/dist/types/components/icon/icons/star-minus-icon.d.ts +1 -2
  2265. package/dist/types/components/icon/icons/star-off-icon.d.ts +1 -2
  2266. package/dist/types/components/icon/icons/star-plus-icon.d.ts +1 -2
  2267. package/dist/types/components/icon/icons/star-x-icon.d.ts +1 -2
  2268. package/dist/types/components/icon/icons/step-back-icon.d.ts +1 -2
  2269. package/dist/types/components/icon/icons/step-forward-icon.d.ts +1 -2
  2270. package/dist/types/components/icon/icons/stethoscope-icon.d.ts +1 -2
  2271. package/dist/types/components/icon/icons/sticker-icon.d.ts +1 -2
  2272. package/dist/types/components/icon/icons/sticky-note-check-icon.d.ts +1 -2
  2273. package/dist/types/components/icon/icons/sticky-note-icon.d.ts +1 -2
  2274. package/dist/types/components/icon/icons/sticky-note-minus-icon.d.ts +1 -2
  2275. package/dist/types/components/icon/icons/sticky-note-off-icon.d.ts +1 -2
  2276. package/dist/types/components/icon/icons/sticky-note-plus-icon.d.ts +1 -2
  2277. package/dist/types/components/icon/icons/sticky-note-x-icon.d.ts +1 -2
  2278. package/dist/types/components/icon/icons/sticky-notes-icon.d.ts +1 -2
  2279. package/dist/types/components/icon/icons/stone-icon.d.ts +1 -2
  2280. package/dist/types/components/icon/icons/store-icon.d.ts +1 -2
  2281. package/dist/types/components/icon/icons/stretch-horizontal-icon.d.ts +1 -2
  2282. package/dist/types/components/icon/icons/stretch-vertical-icon.d.ts +1 -2
  2283. package/dist/types/components/icon/icons/strikethrough-icon.d.ts +1 -2
  2284. package/dist/types/components/icon/icons/subscript-icon.d.ts +1 -2
  2285. package/dist/types/components/icon/icons/summary-icon.d.ts +1 -2
  2286. package/dist/types/components/icon/icons/sun-dim-icon.d.ts +1 -2
  2287. package/dist/types/components/icon/icons/sun-icon.d.ts +1 -2
  2288. package/dist/types/components/icon/icons/sun-medium-icon.d.ts +1 -2
  2289. package/dist/types/components/icon/icons/sun-moon-icon.d.ts +1 -2
  2290. package/dist/types/components/icon/icons/sun-snow-icon.d.ts +1 -2
  2291. package/dist/types/components/icon/icons/sunrise-icon.d.ts +1 -2
  2292. package/dist/types/components/icon/icons/sunset-icon.d.ts +1 -2
  2293. package/dist/types/components/icon/icons/superscript-icon.d.ts +1 -2
  2294. package/dist/types/components/icon/icons/swatch-book-icon.d.ts +1 -2
  2295. package/dist/types/components/icon/icons/swiss-franc-icon.d.ts +1 -2
  2296. package/dist/types/components/icon/icons/switch-camera-icon.d.ts +1 -2
  2297. package/dist/types/components/icon/icons/sword-icon.d.ts +1 -2
  2298. package/dist/types/components/icon/icons/swords-icon.d.ts +1 -2
  2299. package/dist/types/components/icon/icons/syringe-icon.d.ts +1 -2
  2300. package/dist/types/components/icon/icons/table-cells-merge-icon.d.ts +1 -2
  2301. package/dist/types/components/icon/icons/table-cells-split-icon.d.ts +1 -2
  2302. package/dist/types/components/icon/icons/table-columns-split-icon.d.ts +1 -2
  2303. package/dist/types/components/icon/icons/table-icon.d.ts +1 -2
  2304. package/dist/types/components/icon/icons/table-of-contents-icon.d.ts +1 -2
  2305. package/dist/types/components/icon/icons/table-properties-icon.d.ts +1 -2
  2306. package/dist/types/components/icon/icons/table-rows-split-icon.d.ts +1 -2
  2307. package/dist/types/components/icon/icons/table2-icon.d.ts +1 -2
  2308. package/dist/types/components/icon/icons/tablet-icon.d.ts +1 -2
  2309. package/dist/types/components/icon/icons/tablet-smartphone-icon.d.ts +1 -2
  2310. package/dist/types/components/icon/icons/tablets-icon.d.ts +1 -2
  2311. package/dist/types/components/icon/icons/tag-icon.d.ts +1 -2
  2312. package/dist/types/components/icon/icons/tag-plus-icon.d.ts +1 -2
  2313. package/dist/types/components/icon/icons/tag-x-icon.d.ts +1 -2
  2314. package/dist/types/components/icon/icons/tags-icon.d.ts +1 -2
  2315. package/dist/types/components/icon/icons/tally1-icon.d.ts +1 -2
  2316. package/dist/types/components/icon/icons/tally2-icon.d.ts +1 -2
  2317. package/dist/types/components/icon/icons/tally3-icon.d.ts +1 -2
  2318. package/dist/types/components/icon/icons/tally4-icon.d.ts +1 -2
  2319. package/dist/types/components/icon/icons/tally5-icon.d.ts +1 -2
  2320. package/dist/types/components/icon/icons/tangent-icon.d.ts +1 -2
  2321. package/dist/types/components/icon/icons/target-icon.d.ts +1 -2
  2322. package/dist/types/components/icon/icons/telescope-icon.d.ts +1 -2
  2323. package/dist/types/components/icon/icons/tent-icon.d.ts +1 -2
  2324. package/dist/types/components/icon/icons/tent-tree-icon.d.ts +1 -2
  2325. package/dist/types/components/icon/icons/terminal-icon.d.ts +1 -2
  2326. package/dist/types/components/icon/icons/test-tube-diagonal-icon.d.ts +1 -2
  2327. package/dist/types/components/icon/icons/test-tube-icon.d.ts +1 -2
  2328. package/dist/types/components/icon/icons/test-tubes-icon.d.ts +1 -2
  2329. package/dist/types/components/icon/icons/text-align-center-icon.d.ts +1 -2
  2330. package/dist/types/components/icon/icons/text-align-end-icon.d.ts +1 -2
  2331. package/dist/types/components/icon/icons/text-align-justify-icon.d.ts +1 -2
  2332. package/dist/types/components/icon/icons/text-align-start-icon.d.ts +1 -2
  2333. package/dist/types/components/icon/icons/text-cursor-icon.d.ts +1 -2
  2334. package/dist/types/components/icon/icons/text-cursor-input-icon.d.ts +1 -2
  2335. package/dist/types/components/icon/icons/text-initial-icon.d.ts +1 -2
  2336. package/dist/types/components/icon/icons/text-quote-icon.d.ts +1 -2
  2337. package/dist/types/components/icon/icons/text-search-icon.d.ts +1 -2
  2338. package/dist/types/components/icon/icons/text-wrap-icon.d.ts +1 -2
  2339. package/dist/types/components/icon/icons/theater-icon.d.ts +1 -2
  2340. package/dist/types/components/icon/icons/thermometer-icon.d.ts +1 -2
  2341. package/dist/types/components/icon/icons/thermometer-snowflake-icon.d.ts +1 -2
  2342. package/dist/types/components/icon/icons/thermometer-sun-icon.d.ts +1 -2
  2343. package/dist/types/components/icon/icons/thumbs-down-icon.d.ts +1 -2
  2344. package/dist/types/components/icon/icons/thumbs-up-icon.d.ts +1 -2
  2345. package/dist/types/components/icon/icons/tic-tac-toe-icon.d.ts +1 -2
  2346. package/dist/types/components/icon/icons/ticket-check-icon.d.ts +1 -2
  2347. package/dist/types/components/icon/icons/ticket-icon.d.ts +1 -2
  2348. package/dist/types/components/icon/icons/ticket-minus-icon.d.ts +1 -2
  2349. package/dist/types/components/icon/icons/ticket-percent-icon.d.ts +1 -2
  2350. package/dist/types/components/icon/icons/ticket-plus-icon.d.ts +1 -2
  2351. package/dist/types/components/icon/icons/ticket-slash-icon.d.ts +1 -2
  2352. package/dist/types/components/icon/icons/ticket-x-icon.d.ts +1 -2
  2353. package/dist/types/components/icon/icons/tickets-icon.d.ts +1 -2
  2354. package/dist/types/components/icon/icons/tickets-plane-icon.d.ts +1 -2
  2355. package/dist/types/components/icon/icons/timeline-icon.d.ts +1 -2
  2356. package/dist/types/components/icon/icons/timer-icon.d.ts +1 -2
  2357. package/dist/types/components/icon/icons/timer-off-icon.d.ts +1 -2
  2358. package/dist/types/components/icon/icons/timer-reset-icon.d.ts +1 -2
  2359. package/dist/types/components/icon/icons/toggle-left-icon.d.ts +1 -2
  2360. package/dist/types/components/icon/icons/toggle-right-icon.d.ts +1 -2
  2361. package/dist/types/components/icon/icons/toilet-icon.d.ts +1 -2
  2362. package/dist/types/components/icon/icons/tool-case-icon.d.ts +1 -2
  2363. package/dist/types/components/icon/icons/toolbox-icon.d.ts +1 -2
  2364. package/dist/types/components/icon/icons/toothbrush-icon.d.ts +1 -2
  2365. package/dist/types/components/icon/icons/toothbrush-sparkles-icon.d.ts +1 -2
  2366. package/dist/types/components/icon/icons/tornado-icon.d.ts +1 -2
  2367. package/dist/types/components/icon/icons/torus-icon.d.ts +1 -2
  2368. package/dist/types/components/icon/icons/touchpad-icon.d.ts +1 -2
  2369. package/dist/types/components/icon/icons/touchpad-off-icon.d.ts +1 -2
  2370. package/dist/types/components/icon/icons/towel-rack-icon.d.ts +1 -2
  2371. package/dist/types/components/icon/icons/tower-control-icon.d.ts +1 -2
  2372. package/dist/types/components/icon/icons/toy-brick-icon.d.ts +1 -2
  2373. package/dist/types/components/icon/icons/tractor-icon.d.ts +1 -2
  2374. package/dist/types/components/icon/icons/traffic-cone-icon.d.ts +1 -2
  2375. package/dist/types/components/icon/icons/trailer-icon.d.ts +1 -2
  2376. package/dist/types/components/icon/icons/train-front-icon.d.ts +1 -2
  2377. package/dist/types/components/icon/icons/train-front-tunnel-icon.d.ts +1 -2
  2378. package/dist/types/components/icon/icons/train-track-icon.d.ts +1 -2
  2379. package/dist/types/components/icon/icons/tram-front-icon.d.ts +1 -2
  2380. package/dist/types/components/icon/icons/transgender-icon.d.ts +1 -2
  2381. package/dist/types/components/icon/icons/trash-icon.d.ts +1 -2
  2382. package/dist/types/components/icon/icons/trash-off-icon.d.ts +1 -2
  2383. package/dist/types/components/icon/icons/tree-deciduous-icon.d.ts +1 -2
  2384. package/dist/types/components/icon/icons/tree-palm-icon.d.ts +1 -2
  2385. package/dist/types/components/icon/icons/tree-pine-icon.d.ts +1 -2
  2386. package/dist/types/components/icon/icons/trees-icon.d.ts +1 -2
  2387. package/dist/types/components/icon/icons/trending-down-icon.d.ts +1 -2
  2388. package/dist/types/components/icon/icons/trending-up-down-icon.d.ts +1 -2
  2389. package/dist/types/components/icon/icons/trending-up-icon.d.ts +1 -2
  2390. package/dist/types/components/icon/icons/triangle-alert-icon.d.ts +1 -2
  2391. package/dist/types/components/icon/icons/triangle-dashed-icon.d.ts +1 -2
  2392. package/dist/types/components/icon/icons/triangle-icon.d.ts +1 -2
  2393. package/dist/types/components/icon/icons/triangle-right-icon.d.ts +1 -2
  2394. package/dist/types/components/icon/icons/triangles-centerline-dashed-horizontal-icon.d.ts +1 -2
  2395. package/dist/types/components/icon/icons/triangles-centerline-dashed-vertical-icon.d.ts +1 -2
  2396. package/dist/types/components/icon/icons/trophy-icon.d.ts +1 -2
  2397. package/dist/types/components/icon/icons/truck-electric-icon.d.ts +1 -2
  2398. package/dist/types/components/icon/icons/truck-icon.d.ts +1 -2
  2399. package/dist/types/components/icon/icons/tube-lotion-icon.d.ts +12 -0
  2400. package/dist/types/components/icon/icons/turkish-lira-icon.d.ts +1 -2
  2401. package/dist/types/components/icon/icons/turntable-icon.d.ts +1 -2
  2402. package/dist/types/components/icon/icons/turtle-icon.d.ts +1 -2
  2403. package/dist/types/components/icon/icons/tv-icon.d.ts +1 -2
  2404. package/dist/types/components/icon/icons/tv-minimal-icon.d.ts +1 -2
  2405. package/dist/types/components/icon/icons/tv-minimal-play-icon.d.ts +1 -2
  2406. package/dist/types/components/icon/icons/type-icon.d.ts +1 -2
  2407. package/dist/types/components/icon/icons/type-outline-icon.d.ts +1 -2
  2408. package/dist/types/components/icon/icons/umbrella-icon.d.ts +1 -2
  2409. package/dist/types/components/icon/icons/umbrella-off-icon.d.ts +1 -2
  2410. package/dist/types/components/icon/icons/underline-icon.d.ts +1 -2
  2411. package/dist/types/components/icon/icons/undo-dot-icon.d.ts +1 -2
  2412. package/dist/types/components/icon/icons/undo-icon.d.ts +1 -2
  2413. package/dist/types/components/icon/icons/undo2-icon.d.ts +1 -2
  2414. package/dist/types/components/icon/icons/unfold-horizontal-icon.d.ts +1 -2
  2415. package/dist/types/components/icon/icons/unfold-vertical-icon.d.ts +1 -2
  2416. package/dist/types/components/icon/icons/ungroup-icon.d.ts +1 -2
  2417. package/dist/types/components/icon/icons/university-icon.d.ts +1 -2
  2418. package/dist/types/components/icon/icons/unlink-icon.d.ts +1 -2
  2419. package/dist/types/components/icon/icons/unlink2-icon.d.ts +1 -2
  2420. package/dist/types/components/icon/icons/unplug-icon.d.ts +1 -2
  2421. package/dist/types/components/icon/icons/upload-icon.d.ts +1 -2
  2422. package/dist/types/components/icon/icons/usb-c-port-icon.d.ts +1 -2
  2423. package/dist/types/components/icon/icons/usb-icon.d.ts +1 -2
  2424. package/dist/types/components/icon/icons/user-check-icon.d.ts +1 -2
  2425. package/dist/types/components/icon/icons/user-cog-icon.d.ts +1 -2
  2426. package/dist/types/components/icon/icons/user-group-icon.d.ts +1 -2
  2427. package/dist/types/components/icon/icons/user-icon.d.ts +1 -2
  2428. package/dist/types/components/icon/icons/user-key-icon.d.ts +1 -2
  2429. package/dist/types/components/icon/icons/user-lock-icon.d.ts +1 -2
  2430. package/dist/types/components/icon/icons/user-minus-icon.d.ts +1 -2
  2431. package/dist/types/components/icon/icons/user-pen-icon.d.ts +1 -2
  2432. package/dist/types/components/icon/icons/user-plus-icon.d.ts +1 -2
  2433. package/dist/types/components/icon/icons/user-round-arrow-left-icon.d.ts +1 -2
  2434. package/dist/types/components/icon/icons/user-round-check-icon.d.ts +1 -2
  2435. package/dist/types/components/icon/icons/user-round-cog-icon.d.ts +1 -2
  2436. package/dist/types/components/icon/icons/user-round-group-icon.d.ts +1 -2
  2437. package/dist/types/components/icon/icons/user-round-icon.d.ts +1 -2
  2438. package/dist/types/components/icon/icons/user-round-key-icon.d.ts +1 -2
  2439. package/dist/types/components/icon/icons/user-round-minus-icon.d.ts +1 -2
  2440. package/dist/types/components/icon/icons/user-round-pen-icon.d.ts +1 -2
  2441. package/dist/types/components/icon/icons/user-round-plus-icon.d.ts +1 -2
  2442. package/dist/types/components/icon/icons/user-round-search-icon.d.ts +1 -2
  2443. package/dist/types/components/icon/icons/user-round-x-icon.d.ts +1 -2
  2444. package/dist/types/components/icon/icons/user-search-icon.d.ts +1 -2
  2445. package/dist/types/components/icon/icons/user-shield-icon.d.ts +1 -2
  2446. package/dist/types/components/icon/icons/user-star-icon.d.ts +1 -2
  2447. package/dist/types/components/icon/icons/user-x-icon.d.ts +1 -2
  2448. package/dist/types/components/icon/icons/users-icon.d.ts +1 -2
  2449. package/dist/types/components/icon/icons/users-round-icon.d.ts +1 -2
  2450. package/dist/types/components/icon/icons/utensils-crossed-icon.d.ts +1 -2
  2451. package/dist/types/components/icon/icons/utensils-icon.d.ts +1 -2
  2452. package/dist/types/components/icon/icons/utility-pole-icon.d.ts +1 -2
  2453. package/dist/types/components/icon/icons/van-icon.d.ts +1 -2
  2454. package/dist/types/components/icon/icons/variable-icon.d.ts +1 -2
  2455. package/dist/types/components/icon/icons/vault-icon.d.ts +1 -2
  2456. package/dist/types/components/icon/icons/vector-polygon-icon.d.ts +1 -2
  2457. package/dist/types/components/icon/icons/vector-square-icon.d.ts +1 -2
  2458. package/dist/types/components/icon/icons/vegan-icon.d.ts +1 -2
  2459. package/dist/types/components/icon/icons/venetian-mask-icon.d.ts +1 -2
  2460. package/dist/types/components/icon/icons/venus-and-mars-icon.d.ts +1 -2
  2461. package/dist/types/components/icon/icons/venus-icon.d.ts +1 -2
  2462. package/dist/types/components/icon/icons/vibrate-icon.d.ts +1 -2
  2463. package/dist/types/components/icon/icons/vibrate-off-icon.d.ts +1 -2
  2464. package/dist/types/components/icon/icons/video-icon.d.ts +1 -2
  2465. package/dist/types/components/icon/icons/video-off-icon.d.ts +1 -2
  2466. package/dist/types/components/icon/icons/videotape-icon.d.ts +1 -2
  2467. package/dist/types/components/icon/icons/view-icon.d.ts +1 -2
  2468. package/dist/types/components/icon/icons/virus-icon.d.ts +1 -2
  2469. package/dist/types/components/icon/icons/virus-off-icon.d.ts +1 -2
  2470. package/dist/types/components/icon/icons/voicemail-icon.d.ts +1 -2
  2471. package/dist/types/components/icon/icons/volleyball-icon.d.ts +1 -2
  2472. package/dist/types/components/icon/icons/volume-icon.d.ts +1 -2
  2473. package/dist/types/components/icon/icons/volume-off-icon.d.ts +1 -2
  2474. package/dist/types/components/icon/icons/volume-x-icon.d.ts +1 -2
  2475. package/dist/types/components/icon/icons/volume1-icon.d.ts +1 -2
  2476. package/dist/types/components/icon/icons/volume2-icon.d.ts +1 -2
  2477. package/dist/types/components/icon/icons/vote-icon.d.ts +1 -2
  2478. package/dist/types/components/icon/icons/wallet-cards-icon.d.ts +1 -2
  2479. package/dist/types/components/icon/icons/wallet-icon.d.ts +1 -2
  2480. package/dist/types/components/icon/icons/wallet-minimal-icon.d.ts +1 -2
  2481. package/dist/types/components/icon/icons/wallpaper-icon.d.ts +1 -2
  2482. package/dist/types/components/icon/icons/wand-icon.d.ts +1 -2
  2483. package/dist/types/components/icon/icons/wand-sparkles-icon.d.ts +1 -2
  2484. package/dist/types/components/icon/icons/warehouse-icon.d.ts +1 -2
  2485. package/dist/types/components/icon/icons/washing-machine-icon.d.ts +1 -2
  2486. package/dist/types/components/icon/icons/watch-icon.d.ts +1 -2
  2487. package/dist/types/components/icon/icons/waves-arrow-down-icon.d.ts +1 -2
  2488. package/dist/types/components/icon/icons/waves-arrow-up-icon.d.ts +1 -2
  2489. package/dist/types/components/icon/icons/waves-horizontal-icon.d.ts +1 -2
  2490. package/dist/types/components/icon/icons/waves-ladder-icon.d.ts +1 -2
  2491. package/dist/types/components/icon/icons/waves-vertical-icon.d.ts +1 -2
  2492. package/dist/types/components/icon/icons/waypoints-icon.d.ts +1 -2
  2493. package/dist/types/components/icon/icons/webcam-icon.d.ts +1 -2
  2494. package/dist/types/components/icon/icons/webcam-off-icon.d.ts +1 -2
  2495. package/dist/types/components/icon/icons/webhook-icon.d.ts +1 -2
  2496. package/dist/types/components/icon/icons/webhook-off-icon.d.ts +1 -2
  2497. package/dist/types/components/icon/icons/weight-icon.d.ts +1 -2
  2498. package/dist/types/components/icon/icons/weight-tilde-icon.d.ts +1 -2
  2499. package/dist/types/components/icon/icons/wheat-icon.d.ts +1 -2
  2500. package/dist/types/components/icon/icons/wheat-off-icon.d.ts +1 -2
  2501. package/dist/types/components/icon/icons/whistle-icon.d.ts +1 -2
  2502. package/dist/types/components/icon/icons/whole-word-icon.d.ts +1 -2
  2503. package/dist/types/components/icon/icons/wifi-cog-icon.d.ts +1 -2
  2504. package/dist/types/components/icon/icons/wifi-high-icon.d.ts +1 -2
  2505. package/dist/types/components/icon/icons/wifi-icon.d.ts +1 -2
  2506. package/dist/types/components/icon/icons/wifi-low-icon.d.ts +1 -2
  2507. package/dist/types/components/icon/icons/wifi-off-icon.d.ts +1 -2
  2508. package/dist/types/components/icon/icons/wifi-pen-icon.d.ts +1 -2
  2509. package/dist/types/components/icon/icons/wifi-sync-icon.d.ts +1 -2
  2510. package/dist/types/components/icon/icons/wifi-zero-icon.d.ts +1 -2
  2511. package/dist/types/components/icon/icons/wind-arrow-down-icon.d.ts +1 -2
  2512. package/dist/types/components/icon/icons/wind-icon.d.ts +1 -2
  2513. package/dist/types/components/icon/icons/wine-icon.d.ts +1 -2
  2514. package/dist/types/components/icon/icons/wine-off-icon.d.ts +1 -2
  2515. package/dist/types/components/icon/icons/workflow-icon.d.ts +1 -2
  2516. package/dist/types/components/icon/icons/worm-icon.d.ts +1 -2
  2517. package/dist/types/components/icon/icons/wrench-icon.d.ts +1 -2
  2518. package/dist/types/components/icon/icons/wrench-off-icon.d.ts +1 -2
  2519. package/dist/types/components/icon/icons/x-icon.d.ts +1 -2
  2520. package/dist/types/components/icon/icons/x-line-top-icon.d.ts +1 -2
  2521. package/dist/types/components/icon/icons/zap-icon.d.ts +1 -2
  2522. package/dist/types/components/icon/icons/zap-off-icon.d.ts +1 -2
  2523. package/dist/types/components/icon/icons/zodiac-aquarius-icon.d.ts +1 -2
  2524. package/dist/types/components/icon/icons/zodiac-aries-icon.d.ts +1 -2
  2525. package/dist/types/components/icon/icons/zodiac-cancer-icon.d.ts +1 -2
  2526. package/dist/types/components/icon/icons/zodiac-capricorn-icon.d.ts +1 -2
  2527. package/dist/types/components/icon/icons/zodiac-gemini-icon.d.ts +1 -2
  2528. package/dist/types/components/icon/icons/zodiac-leo-icon.d.ts +1 -2
  2529. package/dist/types/components/icon/icons/zodiac-libra-icon.d.ts +1 -2
  2530. package/dist/types/components/icon/icons/zodiac-ophiuchus-icon.d.ts +1 -2
  2531. package/dist/types/components/icon/icons/zodiac-pisces-icon.d.ts +1 -2
  2532. package/dist/types/components/icon/icons/zodiac-sagittarius-icon.d.ts +1 -2
  2533. package/dist/types/components/icon/icons/zodiac-scorpio-icon.d.ts +1 -2
  2534. package/dist/types/components/icon/icons/zodiac-taurus-icon.d.ts +1 -2
  2535. package/dist/types/components/icon/icons/zodiac-virgo-icon.d.ts +1 -2
  2536. package/dist/types/components/icon/icons/zoom-in-icon.d.ts +1 -2
  2537. package/dist/types/components/icon/icons/zoom-out-icon.d.ts +1 -2
  2538. package/dist/types/components/icon/index.d.ts +21 -1
  2539. package/dist/types/components/icon/lucide-icon.d.ts +2 -3
  2540. package/dist/types/components/image/image.d.ts +3 -3
  2541. package/dist/types/components/image/image.style.d.ts +2 -3
  2542. package/dist/types/components/indicator/indicator.d.ts +3 -3
  2543. package/dist/types/components/indicator/indicator.style.d.ts +2 -3
  2544. package/dist/types/components/infinite-scroll-area/infinite-scroll-area.d.ts +3 -3
  2545. package/dist/types/components/infinite-scroll-area/infinite-scroll-area.style.d.ts +2 -3
  2546. package/dist/types/components/infinite-scroll-area/use-infinite-scroll.d.ts +2 -3
  2547. package/dist/types/components/input/input-addon.d.ts +3 -3
  2548. package/dist/types/components/input/input-addon.style.d.ts +2 -3
  2549. package/dist/types/components/input/input-element.d.ts +3 -3
  2550. package/dist/types/components/input/input-element.style.d.ts +2 -3
  2551. package/dist/types/components/input/input-group.d.ts +2 -3
  2552. package/dist/types/components/input/input.d.ts +3 -3
  2553. package/dist/types/components/input/input.style.d.ts +5 -6
  2554. package/dist/types/components/input/use-input-border.d.ts +3 -4
  2555. package/dist/types/components/kbd/kbd.d.ts +3 -3
  2556. package/dist/types/components/kbd/kbd.style.d.ts +2 -3
  2557. package/dist/types/components/link/link.d.ts +3 -3
  2558. package/dist/types/components/link/link.style.d.ts +2 -3
  2559. package/dist/types/components/link-box/link-box.d.ts +5 -5
  2560. package/dist/types/components/link-box/link-box.style.d.ts +2 -3
  2561. package/dist/types/components/list/list.d.ts +8 -8
  2562. package/dist/types/components/list/list.style.d.ts +2 -3
  2563. package/dist/types/components/loading/audio.d.ts +2 -3
  2564. package/dist/types/components/loading/circles.d.ts +2 -3
  2565. package/dist/types/components/loading/dots.d.ts +2 -3
  2566. package/dist/types/components/loading/grid.d.ts +2 -3
  2567. package/dist/types/components/loading/loading-provider.d.ts +5 -6
  2568. package/dist/types/components/loading/loading.d.ts +2 -2
  2569. package/dist/types/components/loading/loading.style.d.ts +2 -3
  2570. package/dist/types/components/loading/oval.d.ts +2 -3
  2571. package/dist/types/components/loading/puff.d.ts +2 -3
  2572. package/dist/types/components/loading/rings.d.ts +2 -3
  2573. package/dist/types/components/loading/suspense.d.ts +2 -2
  2574. package/dist/types/components/loading/use-loading-component.d.ts +4 -4
  2575. package/dist/types/components/mark/mark.d.ts +3 -3
  2576. package/dist/types/components/mark/mark.style.d.ts +2 -3
  2577. package/dist/types/components/menu/menu.d.ts +32 -31
  2578. package/dist/types/components/menu/menu.style.d.ts +2 -3
  2579. package/dist/types/components/menu/use-menu.d.ts +21 -21
  2580. package/dist/types/components/modal/modal.d.ts +21 -21
  2581. package/dist/types/components/modal/modal.style.d.ts +2 -3
  2582. package/dist/types/components/modal/use-modal.d.ts +3 -4
  2583. package/dist/types/components/motion/factory.d.ts +1 -2
  2584. package/dist/types/components/motion/index.types.d.ts +8 -8
  2585. package/dist/types/components/motion/motion.d.ts +1 -2
  2586. package/dist/types/components/motion/transition.d.ts +1 -2
  2587. package/dist/types/components/native-accordion/native-accordion.d.ts +12 -12
  2588. package/dist/types/components/native-accordion/native-accordion.style.d.ts +2 -3
  2589. package/dist/types/components/native-accordion/use-native-accordion.d.ts +7 -7
  2590. package/dist/types/components/native-popover/native-popover.d.ts +17 -17
  2591. package/dist/types/components/native-popover/native-popover.style.d.ts +2 -3
  2592. package/dist/types/components/native-popover/use-native-popover.d.ts +3 -4
  2593. package/dist/types/components/native-select/native-select.d.ts +10 -9
  2594. package/dist/types/components/native-select/native-select.style.d.ts +2 -3
  2595. package/dist/types/components/native-select/use-native-select.d.ts +4 -5
  2596. package/dist/types/components/native-table/native-table.d.ts +21 -21
  2597. package/dist/types/components/native-table/native-table.style.d.ts +2 -3
  2598. package/dist/types/components/notice/notice-provider.d.ts +2 -3
  2599. package/dist/types/components/notice/notice.style.d.ts +2 -3
  2600. package/dist/types/components/notice/use-notice.d.ts +3 -3
  2601. package/dist/types/components/number-input/number-input.d.ts +4 -3
  2602. package/dist/types/components/number-input/number-input.style.d.ts +2 -3
  2603. package/dist/types/components/number-input/use-number-input.d.ts +3 -4
  2604. package/dist/types/components/pagination/pagination.d.ts +18 -17
  2605. package/dist/types/components/pagination/pagination.style.d.ts +2 -3
  2606. package/dist/types/components/pagination/use-pagination.d.ts +5 -5
  2607. package/dist/types/components/password-input/password-input.d.ts +4 -3
  2608. package/dist/types/components/password-input/password-input.style.d.ts +2 -3
  2609. package/dist/types/components/password-input/strength-meter.d.ts +3 -3
  2610. package/dist/types/components/password-input/strength-meter.style.d.ts +2 -3
  2611. package/dist/types/components/password-input/use-password-input.d.ts +3 -4
  2612. package/dist/types/components/password-input/use-strength-meter.d.ts +3 -4
  2613. package/dist/types/components/picture/picture.d.ts +5 -6
  2614. package/dist/types/components/pin-input/pin-input.d.ts +5 -5
  2615. package/dist/types/components/pin-input/pin-input.style.d.ts +2 -3
  2616. package/dist/types/components/pin-input/use-pin-input.d.ts +4 -4
  2617. package/dist/types/components/popover/popover.d.ts +21 -21
  2618. package/dist/types/components/popover/popover.style.d.ts +2 -3
  2619. package/dist/types/components/popover/use-popover.d.ts +5 -6
  2620. package/dist/types/components/portal/portal.d.ts +2 -3
  2621. package/dist/types/components/progress/progress.d.ts +3 -3
  2622. package/dist/types/components/progress/progress.style.d.ts +2 -3
  2623. package/dist/types/components/progress/use-progress.d.ts +3 -4
  2624. package/dist/types/components/qr-code/qr-code.d.ts +9 -9
  2625. package/dist/types/components/qr-code/qr-code.style.d.ts +2 -3
  2626. package/dist/types/components/qr-code/use-qr-code.d.ts +3 -4
  2627. package/dist/types/components/radio/radio-group.d.ts +3 -3
  2628. package/dist/types/components/radio/radio.d.ts +3 -3
  2629. package/dist/types/components/radio/radio.style.d.ts +2 -3
  2630. package/dist/types/components/radio/use-radio-group.d.ts +4 -4
  2631. package/dist/types/components/radio/use-radio.d.ts +3 -4
  2632. package/dist/types/components/radio-card/radio-card-group.d.ts +3 -3
  2633. package/dist/types/components/radio-card/radio-card.d.ts +9 -9
  2634. package/dist/types/components/radio-card/radio-card.style.d.ts +2 -3
  2635. package/dist/types/components/rating/rating.d.ts +2 -3
  2636. package/dist/types/components/rating/rating.style.d.ts +2 -3
  2637. package/dist/types/components/rating/use-rating.d.ts +7 -7
  2638. package/dist/types/components/reorder/reorder.d.ts +8 -8
  2639. package/dist/types/components/reorder/reorder.style.d.ts +2 -3
  2640. package/dist/types/components/reorder/use-reorder.d.ts +7 -7
  2641. package/dist/types/components/resizable/resizable.d.ts +7 -7
  2642. package/dist/types/components/resizable/resizable.style.d.ts +2 -3
  2643. package/dist/types/components/resizable/use-resizable.d.ts +13 -13
  2644. package/dist/types/components/ripple/ripple.d.ts +3 -3
  2645. package/dist/types/components/ripple/ripple.style.d.ts +2 -3
  2646. package/dist/types/components/ripple/use-ripple.d.ts +4 -5
  2647. package/dist/types/components/rotate/rotate.d.ts +3 -3
  2648. package/dist/types/components/rotate/rotate.style.d.ts +2 -3
  2649. package/dist/types/components/saturation-slider/saturation-slider.d.ts +7 -7
  2650. package/dist/types/components/saturation-slider/saturation-slider.style.d.ts +2 -3
  2651. package/dist/types/components/saturation-slider/use-saturation-slider.d.ts +3 -4
  2652. package/dist/types/components/scroll-area/scroll-area.d.ts +3 -3
  2653. package/dist/types/components/scroll-area/scroll-area.style.d.ts +2 -3
  2654. package/dist/types/components/scroll-area/use-scroll-area.d.ts +3 -4
  2655. package/dist/types/components/segmented-control/segmented-control.d.ts +6 -6
  2656. package/dist/types/components/segmented-control/segmented-control.style.d.ts +2 -3
  2657. package/dist/types/components/segmented-control/use-segmented-control.d.ts +7 -7
  2658. package/dist/types/components/select/select.d.ts +12 -11
  2659. package/dist/types/components/select/select.style.d.ts +2 -3
  2660. package/dist/types/components/select/use-select.d.ts +8 -8
  2661. package/dist/types/components/separator/separator.d.ts +3 -3
  2662. package/dist/types/components/separator/separator.style.d.ts +2 -3
  2663. package/dist/types/components/show/show.d.ts +2 -3
  2664. package/dist/types/components/sidebar/sidebar.d.ts +46 -44
  2665. package/dist/types/components/sidebar/sidebar.style.d.ts +2 -3
  2666. package/dist/types/components/sidebar/use-sidebar.d.ts +11 -11
  2667. package/dist/types/components/simple-grid/simple-grid.d.ts +3 -3
  2668. package/dist/types/components/simple-grid/simple-grid.style.d.ts +2 -3
  2669. package/dist/types/components/skeleton/skeleton-circle.d.ts +2 -3
  2670. package/dist/types/components/skeleton/skeleton-text.d.ts +2 -3
  2671. package/dist/types/components/skeleton/skeleton.d.ts +3 -3
  2672. package/dist/types/components/skeleton/skeleton.style.d.ts +2 -3
  2673. package/dist/types/components/slide/slide.d.ts +4 -4
  2674. package/dist/types/components/slide/slide.style.d.ts +2 -3
  2675. package/dist/types/components/slide-fade/slide-fade.d.ts +4 -4
  2676. package/dist/types/components/slide-fade/slide-fade.style.d.ts +2 -3
  2677. package/dist/types/components/slider/slider.d.ts +15 -15
  2678. package/dist/types/components/slider/slider.style.d.ts +2 -3
  2679. package/dist/types/components/slider/use-slider.d.ts +3 -4
  2680. package/dist/types/components/slot/slot.d.ts +3 -4
  2681. package/dist/types/components/snacks/snacks.d.ts +4 -5
  2682. package/dist/types/components/snacks/use-snacks.d.ts +5 -5
  2683. package/dist/types/components/stack/h-stack.d.ts +3 -3
  2684. package/dist/types/components/stack/h-stack.style.d.ts +2 -3
  2685. package/dist/types/components/stack/stack.d.ts +3 -3
  2686. package/dist/types/components/stack/stack.style.d.ts +2 -3
  2687. package/dist/types/components/stack/v-stack.d.ts +3 -3
  2688. package/dist/types/components/stack/v-stack.style.d.ts +2 -3
  2689. package/dist/types/components/stack/z-stack.d.ts +3 -3
  2690. package/dist/types/components/stack/z-stack.style.d.ts +2 -3
  2691. package/dist/types/components/stat/stat.d.ts +13 -13
  2692. package/dist/types/components/stat/stat.style.d.ts +2 -3
  2693. package/dist/types/components/status/status.d.ts +4 -4
  2694. package/dist/types/components/status/status.style.d.ts +2 -3
  2695. package/dist/types/components/steps/steps.d.ts +28 -28
  2696. package/dist/types/components/steps/steps.style.d.ts +2 -3
  2697. package/dist/types/components/steps/use-steps.d.ts +8 -8
  2698. package/dist/types/components/switch/switch.d.ts +3 -3
  2699. package/dist/types/components/switch/switch.style.d.ts +2 -3
  2700. package/dist/types/components/switch/use-switch.d.ts +3 -4
  2701. package/dist/types/components/table/table.d.ts +5 -4
  2702. package/dist/types/components/tabs/tabs.d.ts +12 -12
  2703. package/dist/types/components/tabs/tabs.style.d.ts +2 -3
  2704. package/dist/types/components/tabs/use-tabs.d.ts +10 -10
  2705. package/dist/types/components/tag/tag.d.ts +3 -3
  2706. package/dist/types/components/tag/tag.style.d.ts +2 -3
  2707. package/dist/types/components/text/text.d.ts +3 -3
  2708. package/dist/types/components/text/text.style.d.ts +2 -3
  2709. package/dist/types/components/textarea/textarea.d.ts +3 -3
  2710. package/dist/types/components/textarea/textarea.style.d.ts +2 -3
  2711. package/dist/types/components/textarea/use-autosize.d.ts +3 -4
  2712. package/dist/types/components/textarea/use-textarea.d.ts +3 -4
  2713. package/dist/types/components/timeline/timeline.d.ts +16 -16
  2714. package/dist/types/components/timeline/timeline.style.d.ts +2 -3
  2715. package/dist/types/components/tip/tip.d.ts +3 -4
  2716. package/dist/types/components/toggle/toggle-group.d.ts +2 -3
  2717. package/dist/types/components/toggle/toggle.d.ts +3 -3
  2718. package/dist/types/components/toggle/toggle.style.d.ts +2 -3
  2719. package/dist/types/components/toggle/use-toggle-group.d.ts +4 -4
  2720. package/dist/types/components/toggle/use-toggle.d.ts +3 -4
  2721. package/dist/types/components/tooltip/tooltip.d.ts +3 -3
  2722. package/dist/types/components/tooltip/tooltip.style.d.ts +2 -3
  2723. package/dist/types/components/tooltip/use-tooltip.d.ts +5 -6
  2724. package/dist/types/components/tree/tree.d.ts +7 -6
  2725. package/dist/types/components/tree/tree.style.d.ts +2 -3
  2726. package/dist/types/components/tree/use-tree.d.ts +8 -8
  2727. package/dist/types/components/visually-hidden/visually-hidden.d.ts +3 -3
  2728. package/dist/types/components/visually-hidden/visually-hidden.style.d.ts +2 -3
  2729. package/dist/types/components/wrap/wrap.d.ts +3 -3
  2730. package/dist/types/components/wrap/wrap.style.d.ts +2 -3
  2731. package/dist/types/core/components/create-component.d.ts +10 -11
  2732. package/dist/types/core/components/index.types.d.ts +18 -19
  2733. package/dist/types/core/components/props.d.ts +10 -11
  2734. package/dist/types/core/components/use-component-style.d.ts +6 -7
  2735. package/dist/types/core/components/utils.d.ts +8 -9
  2736. package/dist/types/core/constant.d.ts +6 -7
  2737. package/dist/types/core/css/animation.d.ts +3 -4
  2738. package/dist/types/core/css/calc.d.ts +1 -2
  2739. package/dist/types/core/css/color-mix.d.ts +1 -2
  2740. package/dist/types/core/css/color-scheme.d.ts +1 -2
  2741. package/dist/types/core/css/conditions.d.ts +39 -40
  2742. package/dist/types/core/css/config.d.ts +4 -5
  2743. package/dist/types/core/css/css.d.ts +3 -4
  2744. package/dist/types/core/css/display.d.ts +1 -2
  2745. package/dist/types/core/css/filter.d.ts +1 -2
  2746. package/dist/types/core/css/focus-ring.d.ts +2 -3
  2747. package/dist/types/core/css/function.d.ts +1 -2
  2748. package/dist/types/core/css/gradient.d.ts +1 -2
  2749. package/dist/types/core/css/grid.d.ts +1 -2
  2750. package/dist/types/core/css/index.types.d.ts +29 -29
  2751. package/dist/types/core/css/merge-css.d.ts +1 -2
  2752. package/dist/types/core/css/style.d.ts +1 -2
  2753. package/dist/types/core/css/styles.d.ts +62 -58
  2754. package/dist/types/core/css/token.d.ts +1 -2
  2755. package/dist/types/core/css/transform.d.ts +1 -2
  2756. package/dist/types/core/css/transition.d.ts +1 -2
  2757. package/dist/types/core/css/use-css.d.ts +2 -3
  2758. package/dist/types/core/css/use-inject-vars.d.ts +2 -3
  2759. package/dist/types/core/css/utils.d.ts +9 -10
  2760. package/dist/types/core/generated-theme-tokens.types.d.ts +1 -2
  2761. package/dist/types/core/system/breakpoint.d.ts +2 -3
  2762. package/dist/types/core/system/color-mode-provider.d.ts +4 -4
  2763. package/dist/types/core/system/config.d.ts +14 -15
  2764. package/dist/types/core/system/create-system.d.ts +9 -10
  2765. package/dist/types/core/system/environment-provider.d.ts +6 -7
  2766. package/dist/types/core/system/factory.d.ts +1 -2
  2767. package/dist/types/core/system/index.types.d.ts +58 -59
  2768. package/dist/types/core/system/layer.d.ts +3 -4
  2769. package/dist/types/core/system/storage-manager.d.ts +3 -4
  2770. package/dist/types/core/system/storage-script.d.ts +4 -5
  2771. package/dist/types/core/system/styled.d.ts +3 -4
  2772. package/dist/types/core/system/system-provider.d.ts +3 -4
  2773. package/dist/types/core/system/theme-provider.d.ts +5 -5
  2774. package/dist/types/core/system/use-color-mode-value.d.ts +2 -3
  2775. package/dist/types/core/system/use-system-color-mode.d.ts +2 -3
  2776. package/dist/types/core/system/var.d.ts +11 -12
  2777. package/dist/types/hooks/use-animation/index.d.ts +2 -3
  2778. package/dist/types/hooks/use-async/index.d.ts +8 -9
  2779. package/dist/types/hooks/use-async-callback/index.d.ts +4 -4
  2780. package/dist/types/hooks/use-boolean/index.d.ts +2 -3
  2781. package/dist/types/hooks/use-breakpoint/use-breakpoint-effect.d.ts +1 -2
  2782. package/dist/types/hooks/use-breakpoint/use-breakpoint-state.d.ts +1 -2
  2783. package/dist/types/hooks/use-breakpoint/use-breakpoint-value.d.ts +2 -3
  2784. package/dist/types/hooks/use-breakpoint/use-breakpoint.d.ts +1 -2
  2785. package/dist/types/hooks/use-breakpoint/use-update-breakpoint-effect.d.ts +1 -2
  2786. package/dist/types/hooks/use-clickable/index.d.ts +3 -4
  2787. package/dist/types/hooks/use-clipboard/index.d.ts +2 -3
  2788. package/dist/types/hooks/use-combobox/index.d.ts +18 -18
  2789. package/dist/types/hooks/use-controllable-state/index.d.ts +8 -9
  2790. package/dist/types/hooks/use-counter/index.d.ts +3 -4
  2791. package/dist/types/hooks/use-descendants/index.d.ts +5 -6
  2792. package/dist/types/hooks/use-disclosure/use-disclosure.d.ts +4 -5
  2793. package/dist/types/hooks/use-disclosure/use-promise-disclosure.d.ts +3 -4
  2794. package/dist/types/hooks/use-event-listener/index.d.ts +2 -3
  2795. package/dist/types/hooks/use-eye-dropper/index.d.ts +2 -3
  2796. package/dist/types/hooks/use-field-sizing/index.d.ts +3 -4
  2797. package/dist/types/hooks/use-focus/index.d.ts +4 -5
  2798. package/dist/types/hooks/use-hover/index.d.ts +1 -2
  2799. package/dist/types/hooks/use-idle/index.d.ts +2 -3
  2800. package/dist/types/hooks/use-interval/index.d.ts +1 -2
  2801. package/dist/types/hooks/use-lazy-mount/index.d.ts +3 -4
  2802. package/dist/types/hooks/use-local-storage/index.d.ts +4 -5
  2803. package/dist/types/hooks/use-media-query/index.d.ts +1 -2
  2804. package/dist/types/hooks/use-mounted/index.d.ts +4 -5
  2805. package/dist/types/hooks/use-online/index.d.ts +3 -4
  2806. package/dist/types/hooks/use-os/index.d.ts +2 -3
  2807. package/dist/types/hooks/use-outside-click/index.d.ts +2 -3
  2808. package/dist/types/hooks/use-pan-event/index.d.ts +3 -4
  2809. package/dist/types/hooks/use-popper/index.d.ts +5 -6
  2810. package/dist/types/hooks/use-previous/index.d.ts +1 -2
  2811. package/dist/types/hooks/use-processing/index.d.ts +2 -3
  2812. package/dist/types/hooks/use-resize-observer/index.d.ts +3 -4
  2813. package/dist/types/hooks/use-timeout/index.d.ts +1 -2
  2814. package/dist/types/hooks/use-value/index.d.ts +2 -3
  2815. package/dist/types/hooks/use-window-event/index.d.ts +1 -2
  2816. package/dist/types/index.d.ts +22 -2
  2817. package/dist/types/providers/i18n-provider/i18n-cache.d.ts +1 -2
  2818. package/dist/types/providers/i18n-provider/i18n-provider.d.ts +8 -8
  2819. package/dist/types/providers/i18n-provider/icu.types.d.ts +1 -2
  2820. package/dist/types/providers/i18n-provider/intl/index.d.ts +3 -3
  2821. package/dist/types/providers/ui-provider/ui-provider.d.ts +4 -5
  2822. package/dist/types/theme/config.d.ts +1 -2
  2823. package/dist/types/theme/index.d.ts +2 -2
  2824. package/dist/types/theme/semantic-tokens/index.d.ts +1 -2
  2825. package/dist/types/theme/styles/index.d.ts +1 -2
  2826. package/dist/types/theme/tokens/index.d.ts +1 -2
  2827. package/dist/types/utils/children.d.ts +18 -19
  2828. package/dist/types/utils/context.d.ts +3 -4
  2829. package/dist/types/utils/dom.d.ts +6 -7
  2830. package/dist/types/utils/effect.d.ts +3 -4
  2831. package/dist/types/utils/index.types.d.ts +2 -3
  2832. package/dist/types/utils/ref.d.ts +5 -6
  2833. package/dist/types/utils/ssr.d.ts +1 -2
  2834. package/dist/types/utils/store.d.ts +8 -9
  2835. package/package.json +7 -7
@@ -1,6 +1,5 @@
1
1
  "use client";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- require("../../_virtual/_rolldown/runtime.cjs");
4
3
  const require_context = require("../../utils/context.cjs");
5
4
  const require_effect = require("../../utils/effect.cjs");
6
5
  const require_ref = require("../../utils/ref.cjs");
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","names":["createContext","useRef","mergeRefs"],"sources":["../../../../src/hooks/use-descendants/index.ts"],"sourcesContent":["\"use client\"\n\nimport type { RefCallback } from \"react\"\nimport { useRef } from \"react\"\nimport {\n createContext,\n isNumber,\n isTruthyDataAttr,\n mergeRefs,\n runIfFn,\n useSafeLayoutEffect,\n} from \"../../utils\"\n\nconst sortNodes = (nodes: Node[]) =>\n nodes.sort((a, b) => {\n const compare = a.compareDocumentPosition(b)\n\n if (\n compare & Node.DOCUMENT_POSITION_FOLLOWING ||\n compare & Node.DOCUMENT_POSITION_CONTAINED_BY\n )\n return -1\n\n if (\n compare & Node.DOCUMENT_POSITION_PRECEDING ||\n compare & Node.DOCUMENT_POSITION_CONTAINS\n )\n return 1\n\n if (\n compare & Node.DOCUMENT_POSITION_DISCONNECTED ||\n compare & Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC\n ) {\n console.warn(\"Cannot sort the given nodes.\")\n return 0\n } else {\n return 0\n }\n })\n\nconst getNextIndex = (current: number, max: number, loop: boolean) => {\n let next = current + 1\n\n if (loop && next >= max) next = 0\n\n return next\n}\n\nconst getPrevIndex = (current: number, max: number, loop: boolean) => {\n let next = current - 1\n\n if (loop && next < 0) next = max\n\n return next\n}\n\nconst isMatch =\n <Y extends HTMLElement = HTMLElement, M = {}>(props?: Partial<M>) =>\n (descendant: Descendant<Y, M>) =>\n Object.entries(props ?? {}).every(\n ([key, value]) => descendant[key as keyof Descendant<Y, M>] === value,\n )\n\nexport type DescendantProps<Y extends HTMLElement = HTMLElement, M = {}> = M & {\n disabled?: ((node: Y) => boolean) | boolean\n}\n\nexport type Descendant<\n Y extends HTMLElement = HTMLElement,\n M = {},\n> = DescendantProps<Y, M> & {\n index: number\n node: Y\n recurred?: boolean\n}\n\nconst descendantManager = <Y extends HTMLElement = HTMLElement, M = {}>() => {\n const descendants = new Map<Y, Descendant<Y, M>>()\n\n const setIndexes = (next: Node[]) => {\n descendants.forEach((descendant) => {\n const index = next.indexOf(descendant.node)\n\n descendant.index = index\n descendant.node.dataset.index = descendant.index.toString()\n })\n }\n\n const set = (node: null | Y, props?: DescendantProps<Y, M>) => {\n if (!node) return\n\n if (descendants.has(node)) {\n const descendant = descendants.get(node)!\n\n descendants.set(node, {\n ...descendant,\n ...props,\n index: descendant.index,\n node: descendant.node,\n })\n } else {\n const keys = Array.from(descendants.keys()).concat(node)\n const sorted = sortNodes(keys)\n\n const descendant = { ...props, index: -1, node } as Descendant<Y, M>\n\n descendants.set(node, descendant)\n\n setIndexes(sorted)\n }\n }\n\n const destroy = () => descendants.clear()\n\n const register = (props?: DescendantProps<Y, M>): RefCallback<Y> => {\n return (node: null | Y) => set(node, props)\n }\n\n const unregister = (node?: null | Y) => {\n if (node == null) return\n\n descendants.delete(node)\n\n const sorted = sortNodes(Array.from(descendants.keys()))\n\n setIndexes(sorted)\n }\n\n const count = (props?: Partial<M>) => values(props).length\n\n const enabledCount = (props?: Partial<M>) => enabledValues(props).length\n\n const active = (\n target?: Descendant<Y, M> | null | Y,\n options?: FocusOptions,\n ) => {\n if (!target) return\n\n if (!(target instanceof Node)) target = target.node\n\n if (isTruthyDataAttr(target.dataset.activedescendant)) return\n\n const descendants = values()\n\n descendants.forEach(({ node }) => {\n delete node.dataset.activedescendant\n })\n\n target.dataset.activedescendant = \"\"\n\n if (options) target.focus(options)\n }\n\n const indexOf = (target?: Descendant<Y, M> | null | Y) => {\n if (!target) return -1\n\n if (target instanceof Node) return descendants.get(target)?.index ?? -1\n else return descendants.get(target.node)?.index ?? -1\n }\n\n const enabledIndexOf = (target?: Descendant<Y, M> | null | Y) => {\n if (!target) return -1\n\n if (target instanceof Node)\n return enabledValues().findIndex(({ node }) => node.isSameNode(target))\n else\n return enabledValues().findIndex(({ node }) =>\n node.isSameNode(target.node),\n )\n }\n\n const values = (props?: Partial<M>) =>\n Array.from(descendants.values())\n .filter(isMatch(props))\n .sort((a, b) => a.index - b.index)\n\n const enabledValues = (props?: Partial<M>) =>\n values(props).filter(({ disabled, node }) => !runIfFn(disabled, node))\n\n const value = (indexOrNode: null | number | Y) => {\n if (!count() || indexOrNode == null) return undefined\n\n return isNumber(indexOrNode)\n ? values()[indexOrNode]\n : descendants.get(indexOrNode)\n }\n\n const enabledValue = (indexOrNode: null | number | Y) => {\n if (!enabledCount() || indexOrNode == null) return undefined\n\n return enabledValues()[\n isNumber(indexOrNode) ? indexOrNode : enabledIndexOf(indexOrNode)\n ]\n }\n\n const firstValue = (props?: Partial<M>) => values(props).at(0)\n\n const enabledFirstValue = (props?: Partial<M>) => enabledValues(props).at(0)\n\n const lastValue = (props?: Partial<M>) => values(props).at(-1)\n\n const enabledLastValue = (props?: Partial<M>) => enabledValues(props).at(-1)\n\n const prevValue = (\n indexOrNode: Descendant<Y, M> | null | number | Y,\n loop = true,\n props?: Partial<M>,\n ) => {\n const filtered = values(props)\n\n if (!filtered.length || indexOrNode == null) return undefined\n\n const currentIndex = isNumber(indexOrNode)\n ? filtered.findIndex((d) => d.index === indexOrNode)\n : filtered.findIndex((d) =>\n d.node.isSameNode(\n indexOrNode instanceof Node ? indexOrNode : indexOrNode.node,\n ),\n )\n\n if (currentIndex === -1) return undefined\n\n const prevIndex = getPrevIndex(currentIndex, filtered.length - 1, loop)\n\n return filtered[prevIndex]\n }\n\n const enabledPrevValue = (\n indexOrNode: Descendant<Y, M> | null | number | Y,\n loop = true,\n props?: Partial<M>,\n ) => {\n if (!enabledCount(props)) return undefined\n\n let index = isNumber(indexOrNode) ? indexOrNode : indexOf(indexOrNode)\n let enabledValue = null\n let recurred = false\n\n while (enabledValue == null) {\n index--\n\n if (index < 0) {\n if (!loop) return\n\n index = count() - 1\n recurred = true\n }\n\n const descendant = value(index)\n\n enabledValue =\n descendant &&\n !runIfFn(descendant.disabled, descendant.node) &&\n isMatch<Y, M>(props)(descendant)\n ? descendant\n : null\n }\n\n if (recurred) enabledValue.recurred = recurred\n\n return enabledValue\n }\n\n const nextValue = (\n indexOrNode: Descendant<Y, M> | null | number | Y,\n loop = true,\n props?: Partial<M>,\n ) => {\n const filtered = values(props)\n\n if (!filtered.length || indexOrNode == null) return undefined\n\n const currentIndex = isNumber(indexOrNode)\n ? filtered.findIndex((d) => d.index === indexOrNode)\n : filtered.findIndex((d) =>\n d.node.isSameNode(\n indexOrNode instanceof Node ? indexOrNode : indexOrNode.node,\n ),\n )\n\n if (currentIndex === -1) return undefined\n\n const nextIndex = getNextIndex(currentIndex, filtered.length, loop)\n\n return filtered[nextIndex]\n }\n\n const enabledNextValue = (\n indexOrNode: Descendant<Y, M> | null | number | Y,\n loop = true,\n props?: Partial<M>,\n ) => {\n if (!enabledCount(props)) return undefined\n\n let index = isNumber(indexOrNode) ? indexOrNode : indexOf(indexOrNode)\n let enabledValue = null\n let recurred = false\n\n while (enabledValue == null) {\n index++\n\n if (index >= count()) {\n if (!loop) return\n\n index = 0\n recurred = true\n }\n\n const descendant = value(index)\n\n enabledValue =\n descendant &&\n !runIfFn(descendant.disabled, descendant.node) &&\n isMatch<Y, M>(props)(descendant)\n ? descendant\n : null\n }\n\n if (recurred) enabledValue.recurred = recurred\n\n return enabledValue\n }\n\n return {\n active,\n count,\n destroy,\n enabledCount,\n enabledFirstValue,\n enabledIndexOf,\n enabledLastValue,\n enabledNextValue,\n enabledPrevValue,\n enabledValue,\n enabledValues,\n firstValue,\n indexOf,\n lastValue,\n nextValue,\n prevValue,\n register,\n unregister,\n value,\n values,\n }\n}\n\nexport type Descendants<Y extends HTMLElement, M = {}> = ReturnType<\n typeof descendantManager<Y, M>\n>\n\nexport type CreateDescendantRegister<Y extends HTMLElement, M = {}> = (\n props?: DescendantProps<Y, M>,\n) => RefCallback<Y>\n\n/**\n * `useDescendants` is a custom hook that manages descendants.\n *\n * @see https://yamada-ui.com/docs/hooks/use-descendants\n */\nexport const createDescendants = <\n Y extends HTMLElement = HTMLElement,\n M = {},\n>() => {\n const [DescendantsContext, useDescendantsContext] = createContext<\n Descendants<Y, M>\n >({\n name: \"DescendantsContext\",\n })\n\n const useDescendantRegister = (descendants?: Descendants<Y, M>) => {\n const ref = useRef<Y>(null)\n\n useSafeLayoutEffect(() => {\n return () => {\n if (ref.current) descendants?.unregister(ref.current)\n }\n }, [])\n\n return (props?: DescendantProps<Y, M>): RefCallback<Y> =>\n mergeRefs(ref, descendants?.register(props))\n }\n\n const useDescendants = () => {\n const descendants = useRef(descendantManager<Y, M>())\n\n useSafeLayoutEffect(() => {\n return () => descendants.current.destroy()\n })\n\n return descendants.current\n }\n\n const useDescendant = (props?: DescendantProps<Y, M>) => {\n const descendants = useDescendantsContext()\n const createRegister = useDescendantRegister(descendants)\n\n return {\n descendants,\n register: createRegister(props),\n }\n }\n\n return {\n DescendantsContext,\n useDescendant,\n useDescendantRegister,\n useDescendants,\n useDescendantsContext,\n }\n}\n"],"mappings":"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"}
1
+ {"version":3,"file":"index.cjs","names":["createContext","useRef","mergeRefs"],"sources":["../../../../src/hooks/use-descendants/index.ts"],"sourcesContent":["\"use client\"\n\nimport type { RefCallback } from \"react\"\nimport { useRef } from \"react\"\nimport {\n createContext,\n isNumber,\n isTruthyDataAttr,\n mergeRefs,\n runIfFn,\n useSafeLayoutEffect,\n} from \"../../utils\"\n\nconst sortNodes = (nodes: Node[]) =>\n nodes.sort((a, b) => {\n const compare = a.compareDocumentPosition(b)\n\n if (\n compare & Node.DOCUMENT_POSITION_FOLLOWING ||\n compare & Node.DOCUMENT_POSITION_CONTAINED_BY\n )\n return -1\n\n if (\n compare & Node.DOCUMENT_POSITION_PRECEDING ||\n compare & Node.DOCUMENT_POSITION_CONTAINS\n )\n return 1\n\n if (\n compare & Node.DOCUMENT_POSITION_DISCONNECTED ||\n compare & Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC\n ) {\n console.warn(\"Cannot sort the given nodes.\")\n return 0\n } else {\n return 0\n }\n })\n\nconst getNextIndex = (current: number, max: number, loop: boolean) => {\n let next = current + 1\n\n if (loop && next >= max) next = 0\n\n return next\n}\n\nconst getPrevIndex = (current: number, max: number, loop: boolean) => {\n let next = current - 1\n\n if (loop && next < 0) next = max\n\n return next\n}\n\nconst isMatch =\n <Y extends HTMLElement = HTMLElement, M = {}>(props?: Partial<M>) =>\n (descendant: Descendant<Y, M>) =>\n Object.entries(props ?? {}).every(\n ([key, value]) => descendant[key as keyof Descendant<Y, M>] === value,\n )\n\nexport type DescendantProps<Y extends HTMLElement = HTMLElement, M = {}> = M & {\n disabled?: ((node: Y) => boolean) | boolean\n}\n\nexport type Descendant<\n Y extends HTMLElement = HTMLElement,\n M = {},\n> = DescendantProps<Y, M> & {\n index: number\n node: Y\n recurred?: boolean\n}\n\nconst descendantManager = <Y extends HTMLElement = HTMLElement, M = {}>() => {\n const descendants = new Map<Y, Descendant<Y, M>>()\n\n const setIndexes = (next: Node[]) => {\n descendants.forEach((descendant) => {\n const index = next.indexOf(descendant.node)\n\n descendant.index = index\n descendant.node.dataset.index = descendant.index.toString()\n })\n }\n\n const set = (node: null | Y, props?: DescendantProps<Y, M>) => {\n if (!node) return\n\n if (descendants.has(node)) {\n const descendant = descendants.get(node)!\n\n descendants.set(node, {\n ...descendant,\n ...props,\n index: descendant.index,\n node: descendant.node,\n })\n } else {\n const keys = Array.from(descendants.keys()).concat(node)\n const sorted = sortNodes(keys)\n\n const descendant = { ...props, index: -1, node } as Descendant<Y, M>\n\n descendants.set(node, descendant)\n\n setIndexes(sorted)\n }\n }\n\n const destroy = () => descendants.clear()\n\n const register = (props?: DescendantProps<Y, M>): RefCallback<Y> => {\n return (node: null | Y) => set(node, props)\n }\n\n const unregister = (node?: null | Y) => {\n if (node == null) return\n\n descendants.delete(node)\n\n const sorted = sortNodes(Array.from(descendants.keys()))\n\n setIndexes(sorted)\n }\n\n const count = (props?: Partial<M>) => values(props).length\n\n const enabledCount = (props?: Partial<M>) => enabledValues(props).length\n\n const active = (\n target?: Descendant<Y, M> | null | Y,\n options?: FocusOptions,\n ) => {\n if (!target) return\n\n if (!(target instanceof Node)) target = target.node\n\n if (isTruthyDataAttr(target.dataset.activedescendant)) return\n\n const descendants = values()\n\n descendants.forEach(({ node }) => {\n delete node.dataset.activedescendant\n })\n\n target.dataset.activedescendant = \"\"\n\n if (options) target.focus(options)\n }\n\n const indexOf = (target?: Descendant<Y, M> | null | Y) => {\n if (!target) return -1\n\n if (target instanceof Node) return descendants.get(target)?.index ?? -1\n else return descendants.get(target.node)?.index ?? -1\n }\n\n const enabledIndexOf = (target?: Descendant<Y, M> | null | Y) => {\n if (!target) return -1\n\n if (target instanceof Node)\n return enabledValues().findIndex(({ node }) => node.isSameNode(target))\n else\n return enabledValues().findIndex(({ node }) =>\n node.isSameNode(target.node),\n )\n }\n\n const values = (props?: Partial<M>) =>\n Array.from(descendants.values())\n .filter(isMatch(props))\n .sort((a, b) => a.index - b.index)\n\n const enabledValues = (props?: Partial<M>) =>\n values(props).filter(({ disabled, node }) => !runIfFn(disabled, node))\n\n const value = (indexOrNode: null | number | Y) => {\n if (!count() || indexOrNode == null) return undefined\n\n return isNumber(indexOrNode)\n ? values()[indexOrNode]\n : descendants.get(indexOrNode)\n }\n\n const enabledValue = (indexOrNode: null | number | Y) => {\n if (!enabledCount() || indexOrNode == null) return undefined\n\n return enabledValues()[\n isNumber(indexOrNode) ? indexOrNode : enabledIndexOf(indexOrNode)\n ]\n }\n\n const firstValue = (props?: Partial<M>) => values(props).at(0)\n\n const enabledFirstValue = (props?: Partial<M>) => enabledValues(props).at(0)\n\n const lastValue = (props?: Partial<M>) => values(props).at(-1)\n\n const enabledLastValue = (props?: Partial<M>) => enabledValues(props).at(-1)\n\n const prevValue = (\n indexOrNode: Descendant<Y, M> | null | number | Y,\n loop = true,\n props?: Partial<M>,\n ) => {\n const filtered = values(props)\n\n if (!filtered.length || indexOrNode == null) return undefined\n\n const currentIndex = isNumber(indexOrNode)\n ? filtered.findIndex((d) => d.index === indexOrNode)\n : filtered.findIndex((d) =>\n d.node.isSameNode(\n indexOrNode instanceof Node ? indexOrNode : indexOrNode.node,\n ),\n )\n\n if (currentIndex === -1) return undefined\n\n const prevIndex = getPrevIndex(currentIndex, filtered.length - 1, loop)\n\n return filtered[prevIndex]\n }\n\n const enabledPrevValue = (\n indexOrNode: Descendant<Y, M> | null | number | Y,\n loop = true,\n props?: Partial<M>,\n ) => {\n if (!enabledCount(props)) return undefined\n\n let index = isNumber(indexOrNode) ? indexOrNode : indexOf(indexOrNode)\n let enabledValue = null\n let recurred = false\n\n while (enabledValue == null) {\n index--\n\n if (index < 0) {\n if (!loop) return\n\n index = count() - 1\n recurred = true\n }\n\n const descendant = value(index)\n\n enabledValue =\n descendant &&\n !runIfFn(descendant.disabled, descendant.node) &&\n isMatch<Y, M>(props)(descendant)\n ? descendant\n : null\n }\n\n if (recurred) enabledValue.recurred = recurred\n\n return enabledValue\n }\n\n const nextValue = (\n indexOrNode: Descendant<Y, M> | null | number | Y,\n loop = true,\n props?: Partial<M>,\n ) => {\n const filtered = values(props)\n\n if (!filtered.length || indexOrNode == null) return undefined\n\n const currentIndex = isNumber(indexOrNode)\n ? filtered.findIndex((d) => d.index === indexOrNode)\n : filtered.findIndex((d) =>\n d.node.isSameNode(\n indexOrNode instanceof Node ? indexOrNode : indexOrNode.node,\n ),\n )\n\n if (currentIndex === -1) return undefined\n\n const nextIndex = getNextIndex(currentIndex, filtered.length, loop)\n\n return filtered[nextIndex]\n }\n\n const enabledNextValue = (\n indexOrNode: Descendant<Y, M> | null | number | Y,\n loop = true,\n props?: Partial<M>,\n ) => {\n if (!enabledCount(props)) return undefined\n\n let index = isNumber(indexOrNode) ? indexOrNode : indexOf(indexOrNode)\n let enabledValue = null\n let recurred = false\n\n while (enabledValue == null) {\n index++\n\n if (index >= count()) {\n if (!loop) return\n\n index = 0\n recurred = true\n }\n\n const descendant = value(index)\n\n enabledValue =\n descendant &&\n !runIfFn(descendant.disabled, descendant.node) &&\n isMatch<Y, M>(props)(descendant)\n ? descendant\n : null\n }\n\n if (recurred) enabledValue.recurred = recurred\n\n return enabledValue\n }\n\n return {\n active,\n count,\n destroy,\n enabledCount,\n enabledFirstValue,\n enabledIndexOf,\n enabledLastValue,\n enabledNextValue,\n enabledPrevValue,\n enabledValue,\n enabledValues,\n firstValue,\n indexOf,\n lastValue,\n nextValue,\n prevValue,\n register,\n unregister,\n value,\n values,\n }\n}\n\nexport type Descendants<Y extends HTMLElement, M = {}> = ReturnType<\n typeof descendantManager<Y, M>\n>\n\nexport type CreateDescendantRegister<Y extends HTMLElement, M = {}> = (\n props?: DescendantProps<Y, M>,\n) => RefCallback<Y>\n\n/**\n * `useDescendants` is a custom hook that manages descendants.\n *\n * @see https://yamada-ui.com/docs/hooks/use-descendants\n */\nexport const createDescendants = <\n Y extends HTMLElement = HTMLElement,\n M = {},\n>() => {\n const [DescendantsContext, useDescendantsContext] = createContext<\n Descendants<Y, M>\n >({\n name: \"DescendantsContext\",\n })\n\n const useDescendantRegister = (descendants?: Descendants<Y, M>) => {\n const ref = useRef<Y>(null)\n\n useSafeLayoutEffect(() => {\n return () => {\n if (ref.current) descendants?.unregister(ref.current)\n }\n }, [])\n\n return (props?: DescendantProps<Y, M>): RefCallback<Y> =>\n mergeRefs(ref, descendants?.register(props))\n }\n\n const useDescendants = () => {\n const descendants = useRef(descendantManager<Y, M>())\n\n useSafeLayoutEffect(() => {\n return () => descendants.current.destroy()\n })\n\n return descendants.current\n }\n\n const useDescendant = (props?: DescendantProps<Y, M>) => {\n const descendants = useDescendantsContext()\n const createRegister = useDescendantRegister(descendants)\n\n return {\n descendants,\n register: createRegister(props),\n }\n }\n\n return {\n DescendantsContext,\n useDescendant,\n useDescendantRegister,\n useDescendants,\n useDescendantsContext,\n }\n}\n"],"mappings":"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"}
@@ -1,5 +1,4 @@
1
1
  "use client";
2
- require("../../_virtual/_rolldown/runtime.cjs");
3
2
  const require_ref = require("../../utils/ref.cjs");
4
3
  let react = require("react");
5
4
  //#region src/hooks/use-disclosure/use-disclosure.ts
@@ -1 +1 @@
1
- {"version":3,"file":"use-disclosure.cjs","names":["useState","useRef","useCallbackRef","useCallback"],"sources":["../../../../src/hooks/use-disclosure/use-disclosure.ts"],"sourcesContent":["\"use client\"\n\nimport { useCallback, useRef, useState } from \"react\"\nimport { useCallbackRef } from \"../../utils\"\n\nexport type DisclosureCallback<Y, M> = [Y] extends [never]\n ? () => M\n : undefined extends Y\n ? (value?: Y) => M\n : (value: Y) => M\n\nexport interface UseDisclosureProps<\n Y = never,\n M = never,\n D = Promise<void> | void,\n H = Promise<void> | void,\n> {\n /**\n * If `true`, the element will be initially opened.\n */\n defaultOpen?: boolean\n /**\n * If `true`, the element will be opened.\n */\n open?: boolean\n /**\n * The timing of the open and close.\n *\n * @default 'after'\n */\n timing?: \"after\" | \"before\"\n /**\n * Callback invoked to close the element.\n */\n onClose?: DisclosureCallback<M, H>\n /**\n * Callback invoked to open the element.\n */\n onOpen?: DisclosureCallback<Y, D>\n}\n\n/**\n * `useDisclosure` is a custom hook that helps handle common open/close or toggle scenarios.\n * It can be used to control components such as `Modal`, `Dialog`, `Drawer`, etc.\n *\n * @see https://yamada-ui.com/docs/hooks/use-disclosure\n */\nexport const useDisclosure = <\n Y = never,\n M = never,\n D = Promise<void> | void,\n H = Promise<void> | void,\n>({\n defaultOpen = false,\n open: controlledOpen,\n timing,\n onClose: onCloseProp,\n onOpen: onOpenProp,\n}: UseDisclosureProps<Y, M, D, H> = {}) => {\n const [uncontrolledOpen, setUncontrolledOpen] = useState<boolean>(defaultOpen)\n\n const timingRef = useRef(timing ?? \"after\")\n const handleOpen = useCallbackRef(onOpenProp)\n const handleClose = useCallbackRef(onCloseProp)\n\n const controlled = controlledOpen !== undefined\n const open = controlledOpen !== undefined ? controlledOpen : uncontrolledOpen\n\n const onOpen = useCallback(\n async (value: Y) => {\n if (timingRef.current === \"before\") await handleOpen(value)\n\n if (!controlled) setUncontrolledOpen(true)\n\n if (timingRef.current === \"after\") await handleOpen(value)\n },\n [controlled, handleOpen, timingRef],\n ) as DisclosureCallback<Y, D>\n\n const onClose = useCallback(\n async (value: M) => {\n if (timingRef.current === \"before\") await handleClose(value)\n\n if (!controlled) setUncontrolledOpen(false)\n\n if (timingRef.current === \"after\") await handleClose(value)\n },\n [controlled, handleClose, timingRef],\n ) as DisclosureCallback<M, H>\n\n const onToggle = useCallback(\n async (value: M | Y) =>\n !open ? await onOpen(value as Y) : await onClose(value as M),\n [open, onOpen, onClose],\n ) as DisclosureCallback<M, H> | DisclosureCallback<Y, D>\n\n return {\n open,\n onClose,\n onOpen,\n onToggle,\n }\n}\n\nexport type UseDisclosureReturn<\n Y = never,\n M = never,\n D = Promise<void> | void,\n H = Promise<void> | void,\n> = ReturnType<typeof useDisclosure<Y, M, D, H>>\n"],"mappings":";;;;;;;;;;;AA+CA,MAAa,iBAKX,EACA,cAAc,OACd,MAAM,gBACN,QACA,SAAS,aACT,QAAQ,eAC0B,CAAC,MAAM;CACzC,MAAM,CAAC,kBAAkB,wBAAA,GAAuBA,MAAAA,SAAAA,CAAkB,WAAW;CAE7E,MAAM,aAAA,GAAYC,MAAAA,OAAAA,CAAO,UAAU,OAAO;CAC1C,MAAM,aAAaC,YAAAA,eAAe,UAAU;CAC5C,MAAM,cAAcA,YAAAA,eAAe,WAAW;CAE9C,MAAM,aAAa,mBAAmB,KAAA;CACtC,MAAM,OAAO,mBAAmB,KAAA,IAAY,iBAAiB;CAE7D,MAAM,UAAA,GAASC,MAAAA,YAAAA,CACb,OAAO,UAAa;EAClB,IAAI,UAAU,YAAY,UAAU,MAAM,WAAW,KAAK;EAE1D,IAAI,CAAC,YAAY,oBAAoB,IAAI;EAEzC,IAAI,UAAU,YAAY,SAAS,MAAM,WAAW,KAAK;CAC3D,GACA;EAAC;EAAY;EAAY;CAAS,CACpC;CAEA,MAAM,WAAA,GAAUA,MAAAA,YAAAA,CACd,OAAO,UAAa;EAClB,IAAI,UAAU,YAAY,UAAU,MAAM,YAAY,KAAK;EAE3D,IAAI,CAAC,YAAY,oBAAoB,KAAK;EAE1C,IAAI,UAAU,YAAY,SAAS,MAAM,YAAY,KAAK;CAC5D,GACA;EAAC;EAAY;EAAa;CAAS,CACrC;CAQA,OAAO;EACL;EACA;EACA;EACA,WAAA,GAVeA,MAAAA,YAAAA,CACf,OAAO,UACL,CAAC,OAAO,MAAM,OAAO,KAAU,IAAI,MAAM,QAAQ,KAAU,GAC7D;GAAC;GAAM;GAAQ;EAAO,CAOf;CACT;AACF"}
1
+ {"version":3,"file":"use-disclosure.cjs","names":["useState","useRef","useCallbackRef","useCallback"],"sources":["../../../../src/hooks/use-disclosure/use-disclosure.ts"],"sourcesContent":["\"use client\"\n\nimport { useCallback, useRef, useState } from \"react\"\nimport { useCallbackRef } from \"../../utils\"\n\nexport type DisclosureCallback<Y, M> = [Y] extends [never]\n ? () => M\n : undefined extends Y\n ? (value?: Y) => M\n : (value: Y) => M\n\nexport interface UseDisclosureProps<\n Y = never,\n M = never,\n D = Promise<void> | void,\n H = Promise<void> | void,\n> {\n /**\n * If `true`, the element will be initially opened.\n */\n defaultOpen?: boolean\n /**\n * If `true`, the element will be opened.\n */\n open?: boolean\n /**\n * The timing of the open and close.\n *\n * @default 'after'\n */\n timing?: \"after\" | \"before\"\n /**\n * Callback invoked to close the element.\n */\n onClose?: DisclosureCallback<M, H>\n /**\n * Callback invoked to open the element.\n */\n onOpen?: DisclosureCallback<Y, D>\n}\n\n/**\n * `useDisclosure` is a custom hook that helps handle common open/close or toggle scenarios.\n * It can be used to control components such as `Modal`, `Dialog`, `Drawer`, etc.\n *\n * @see https://yamada-ui.com/docs/hooks/use-disclosure\n */\nexport const useDisclosure = <\n Y = never,\n M = never,\n D = Promise<void> | void,\n H = Promise<void> | void,\n>({\n defaultOpen = false,\n open: controlledOpen,\n timing,\n onClose: onCloseProp,\n onOpen: onOpenProp,\n}: UseDisclosureProps<Y, M, D, H> = {}) => {\n const [uncontrolledOpen, setUncontrolledOpen] = useState<boolean>(defaultOpen)\n\n const timingRef = useRef(timing ?? \"after\")\n const handleOpen = useCallbackRef(onOpenProp)\n const handleClose = useCallbackRef(onCloseProp)\n\n const controlled = controlledOpen !== undefined\n const open = controlledOpen !== undefined ? controlledOpen : uncontrolledOpen\n\n const onOpen = useCallback(\n async (value: Y) => {\n if (timingRef.current === \"before\") await handleOpen(value)\n\n if (!controlled) setUncontrolledOpen(true)\n\n if (timingRef.current === \"after\") await handleOpen(value)\n },\n [controlled, handleOpen, timingRef],\n ) as DisclosureCallback<Y, D>\n\n const onClose = useCallback(\n async (value: M) => {\n if (timingRef.current === \"before\") await handleClose(value)\n\n if (!controlled) setUncontrolledOpen(false)\n\n if (timingRef.current === \"after\") await handleClose(value)\n },\n [controlled, handleClose, timingRef],\n ) as DisclosureCallback<M, H>\n\n const onToggle = useCallback(\n async (value: M | Y) =>\n !open ? await onOpen(value as Y) : await onClose(value as M),\n [open, onOpen, onClose],\n ) as DisclosureCallback<M, H> | DisclosureCallback<Y, D>\n\n return {\n open,\n onClose,\n onOpen,\n onToggle,\n }\n}\n\nexport type UseDisclosureReturn<\n Y = never,\n M = never,\n D = Promise<void> | void,\n H = Promise<void> | void,\n> = ReturnType<typeof useDisclosure<Y, M, D, H>>\n"],"mappings":";;;;;;;;;;AA+CA,MAAa,iBAKX,EACA,cAAc,OACd,MAAM,gBACN,QACA,SAAS,aACT,QAAQ,eAC0B,CAAC,MAAM;CACzC,MAAM,CAAC,kBAAkB,wBAAA,GAAuBA,MAAAA,SAAAA,CAAkB,WAAW;CAE7E,MAAM,aAAA,GAAYC,MAAAA,OAAAA,CAAO,UAAU,OAAO;CAC1C,MAAM,aAAaC,YAAAA,eAAe,UAAU;CAC5C,MAAM,cAAcA,YAAAA,eAAe,WAAW;CAE9C,MAAM,aAAa,mBAAmB,KAAA;CACtC,MAAM,OAAO,mBAAmB,KAAA,IAAY,iBAAiB;CAE7D,MAAM,UAAA,GAASC,MAAAA,YAAAA,CACb,OAAO,UAAa;EAClB,IAAI,UAAU,YAAY,UAAU,MAAM,WAAW,KAAK;EAE1D,IAAI,CAAC,YAAY,oBAAoB,IAAI;EAEzC,IAAI,UAAU,YAAY,SAAS,MAAM,WAAW,KAAK;CAC3D,GACA;EAAC;EAAY;EAAY;CAAS,CACpC;CAEA,MAAM,WAAA,GAAUA,MAAAA,YAAAA,CACd,OAAO,UAAa;EAClB,IAAI,UAAU,YAAY,UAAU,MAAM,YAAY,KAAK;EAE3D,IAAI,CAAC,YAAY,oBAAoB,KAAK;EAE1C,IAAI,UAAU,YAAY,SAAS,MAAM,YAAY,KAAK;CAC5D,GACA;EAAC;EAAY;EAAa;CAAS,CACrC;CAQA,OAAO;EACL;EACA;EACA;EACA,WAAA,GAVeA,MAAAA,YAAAA,CACf,OAAO,UACL,CAAC,OAAO,MAAM,OAAO,KAAU,IAAI,MAAM,QAAQ,KAAU,GAC7D;GAAC;GAAM;GAAQ;EAAO,CAOf;CACT;AACF"}
@@ -1,5 +1,4 @@
1
1
  "use client";
2
- require("../../_virtual/_rolldown/runtime.cjs");
3
2
  const require_utils_index = require("../../utils/index.cjs");
4
3
  const require_use_disclosure = require("./use-disclosure.cjs");
5
4
  let react = require("react");
@@ -1 +1 @@
1
- {"version":3,"file":"use-promise-disclosure.cjs","names":["useDisclosure","useRef","useCallback"],"sources":["../../../../src/hooks/use-disclosure/use-promise-disclosure.ts"],"sourcesContent":["\"use client\"\n\nimport type { DisclosureCallback, UseDisclosureProps } from \"./use-disclosure\"\nimport { useCallback, useRef } from \"react\"\nimport { noop } from \"../../utils\"\nimport { useDisclosure } from \"./use-disclosure\"\n\nexport interface UsePromiseDisclosureProps<\n Y = never,\n M = never,\n D = never,\n H = Promise<void> | void,\n R = Promise<void> | void,\n> extends UseDisclosureProps<M, D | Y, H, R> {\n disableCloseOnSuccess?: boolean\n error?: unknown\n}\n\n/**\n * `usePromiseDisclosure` is a custom hook that helps handle common open/close or toggle scenarios with promises.\n * It can be used to control components such as `Modal`, `Dialog`, `Drawer`, etc.\n *\n * @see https://yamada-ui.com/docs/hooks/use-promise-disclosure\n */\nexport const usePromiseDisclosure = <\n Y = never,\n M = never,\n D = never,\n H = Promise<void> | void,\n R = Promise<void> | void,\n>({\n disableCloseOnSuccess = false,\n error,\n ...rest\n}: UsePromiseDisclosureProps<Y, M, D, H, R> = {}) => {\n const {\n open,\n onClose: onInternalClose,\n onOpen: onInternalOpen,\n onToggle,\n } = useDisclosure<M, D | Y, H, R>(rest)\n\n const rejectRef = useRef<((reason?: any) => void) | undefined>(undefined)\n const resolveRef = useRef(noop as DisclosureCallback<Y, R>)\n\n const onOpen = useCallback(\n async (value: M) => {\n const promise = new Promise<Y>((resolve, reject) => {\n resolveRef.current = (async (value: Y) => {\n rejectRef.current = undefined\n\n resolve(value)\n\n if (!disableCloseOnSuccess) await onInternalClose(value)\n }) as DisclosureCallback<Y, R>\n\n rejectRef.current = reject\n })\n\n await onInternalOpen(value)\n\n return await promise\n },\n [onInternalOpen, onInternalClose, disableCloseOnSuccess],\n ) as DisclosureCallback<M, [Y] extends [never] ? Promise<void> : Promise<Y>>\n\n const onClose = useCallback(\n async (value: D) => {\n rejectRef.current?.(error)\n\n await onInternalClose(value)\n },\n [onInternalClose, error],\n ) as DisclosureCallback<D, R>\n\n return {\n open,\n onClose,\n onOpen,\n onSuccess: resolveRef.current,\n onToggle,\n }\n}\n\nexport type UsePromiseDisclosureReturn<\n Y = never,\n M = never,\n D = never,\n H = Promise<void> | void,\n R = Promise<void> | void,\n> = ReturnType<typeof usePromiseDisclosure<Y, M, D, H, R>>\n"],"mappings":";;;;;;;;;;;;AAwBA,MAAa,wBAMX,EACA,wBAAwB,OACxB,OACA,GAAG,SACyC,CAAC,MAAM;CACnD,MAAM,EACJ,MACA,SAAS,iBACT,QAAQ,gBACR,aACEA,uBAAAA,cAA8B,IAAI;CAEtC,MAAM,aAAA,GAAYC,MAAAA,OAAAA,CAA6C,KAAA,CAAS;CACxE,MAAM,cAAA,GAAaA,MAAAA,OAAAA,CAAAA,oBAAAA,cAAO,IAAgC;CAE1D,MAAM,UAAA,GAASC,MAAAA,YAAAA,CACb,OAAO,UAAa;EAClB,MAAM,UAAU,IAAI,SAAY,SAAS,WAAW;GAClD,WAAW,WAAW,OAAO,UAAa;IACxC,UAAU,UAAU,KAAA;IAEpB,QAAQ,KAAK;IAEb,IAAI,CAAC,uBAAuB,MAAM,gBAAgB,KAAK;GACzD;GAEA,UAAU,UAAU;EACtB,CAAC;EAED,MAAM,eAAe,KAAK;EAE1B,OAAO,MAAM;CACf,GACA;EAAC;EAAgB;EAAiB;CAAqB,CACzD;CAWA,OAAO;EACL;EACA,UAAA,GAXcA,MAAAA,YAAAA,CACd,OAAO,UAAa;GAClB,UAAU,UAAU,KAAK;GAEzB,MAAM,gBAAgB,KAAK;EAC7B,GACA,CAAC,iBAAiB,KAAK,CAKjB;EACN;EACA,WAAW,WAAW;EACtB;CACF;AACF"}
1
+ {"version":3,"file":"use-promise-disclosure.cjs","names":["useDisclosure","useRef","useCallback"],"sources":["../../../../src/hooks/use-disclosure/use-promise-disclosure.ts"],"sourcesContent":["\"use client\"\n\nimport type { DisclosureCallback, UseDisclosureProps } from \"./use-disclosure\"\nimport { useCallback, useRef } from \"react\"\nimport { noop } from \"../../utils\"\nimport { useDisclosure } from \"./use-disclosure\"\n\nexport interface UsePromiseDisclosureProps<\n Y = never,\n M = never,\n D = never,\n H = Promise<void> | void,\n R = Promise<void> | void,\n> extends UseDisclosureProps<M, D | Y, H, R> {\n disableCloseOnSuccess?: boolean\n error?: unknown\n}\n\n/**\n * `usePromiseDisclosure` is a custom hook that helps handle common open/close or toggle scenarios with promises.\n * It can be used to control components such as `Modal`, `Dialog`, `Drawer`, etc.\n *\n * @see https://yamada-ui.com/docs/hooks/use-promise-disclosure\n */\nexport const usePromiseDisclosure = <\n Y = never,\n M = never,\n D = never,\n H = Promise<void> | void,\n R = Promise<void> | void,\n>({\n disableCloseOnSuccess = false,\n error,\n ...rest\n}: UsePromiseDisclosureProps<Y, M, D, H, R> = {}) => {\n const {\n open,\n onClose: onInternalClose,\n onOpen: onInternalOpen,\n onToggle,\n } = useDisclosure<M, D | Y, H, R>(rest)\n\n const rejectRef = useRef<((reason?: any) => void) | undefined>(undefined)\n const resolveRef = useRef(noop as DisclosureCallback<Y, R>)\n\n const onOpen = useCallback(\n async (value: M) => {\n const promise = new Promise<Y>((resolve, reject) => {\n resolveRef.current = (async (value: Y) => {\n rejectRef.current = undefined\n\n resolve(value)\n\n if (!disableCloseOnSuccess) await onInternalClose(value)\n }) as DisclosureCallback<Y, R>\n\n rejectRef.current = reject\n })\n\n await onInternalOpen(value)\n\n return await promise\n },\n [onInternalOpen, onInternalClose, disableCloseOnSuccess],\n ) as DisclosureCallback<M, [Y] extends [never] ? Promise<void> : Promise<Y>>\n\n const onClose = useCallback(\n async (value: D) => {\n rejectRef.current?.(error)\n\n await onInternalClose(value)\n },\n [onInternalClose, error],\n ) as DisclosureCallback<D, R>\n\n return {\n open,\n onClose,\n onOpen,\n onSuccess: resolveRef.current,\n onToggle,\n }\n}\n\nexport type UsePromiseDisclosureReturn<\n Y = never,\n M = never,\n D = never,\n H = Promise<void> | void,\n R = Promise<void> | void,\n> = ReturnType<typeof usePromiseDisclosure<Y, M, D, H, R>>\n"],"mappings":";;;;;;;;;;;AAwBA,MAAa,wBAMX,EACA,wBAAwB,OACxB,OACA,GAAG,SACyC,CAAC,MAAM;CACnD,MAAM,EACJ,MACA,SAAS,iBACT,QAAQ,gBACR,aACEA,uBAAAA,cAA8B,IAAI;CAEtC,MAAM,aAAA,GAAYC,MAAAA,OAAAA,CAA6C,KAAA,CAAS;CACxE,MAAM,cAAA,GAAaA,MAAAA,OAAAA,CAAAA,oBAAAA,cAAO,IAAgC;CAE1D,MAAM,UAAA,GAASC,MAAAA,YAAAA,CACb,OAAO,UAAa;EAClB,MAAM,UAAU,IAAI,SAAY,SAAS,WAAW;GAClD,WAAW,WAAW,OAAO,UAAa;IACxC,UAAU,UAAU,KAAA;IAEpB,QAAQ,KAAK;IAEb,IAAI,CAAC,uBAAuB,MAAM,gBAAgB,KAAK;GACzD;GAEA,UAAU,UAAU;EACtB,CAAC;EAED,MAAM,eAAe,KAAK;EAE1B,OAAO,MAAM;CACf,GACA;EAAC;EAAgB;EAAiB;CAAqB,CACzD;CAWA,OAAO;EACL;EACA,UAAA,GAXcA,MAAAA,YAAAA,CACd,OAAO,UAAa;GAClB,UAAU,UAAU,KAAK;GAEzB,MAAM,gBAAgB,KAAK;EAC7B,GACA,CAAC,iBAAiB,KAAK,CAKjB;EACN;EACA,WAAW,WAAW;EACtB;CACF;AACF"}
@@ -1,6 +1,5 @@
1
1
  "use client";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- require("../../_virtual/_rolldown/runtime.cjs");
4
3
  const require_ref = require("../../utils/ref.cjs");
5
4
  const require_utils_index = require("../../utils/index.cjs");
6
5
  const require_environment_provider = require("../../core/system/environment-provider.cjs");
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","names":["useEnvironment","useCallbackRef","useRef","useCallback"],"sources":["../../../../src/hooks/use-event-listener/index.ts"],"sourcesContent":["\"use client\"\n\nimport type { EventMap, EventType } from \"../../utils\"\nimport { useCallback, useEffect, useRef } from \"react\"\nimport { useEnvironment } from \"../../core\"\nimport { isFunction, useCallbackRef } from \"../../utils\"\n\nexport const useEventListener = <Y extends EventType>(\n target: (() => EventTarget | null) | EventTarget | null | undefined,\n ev: Y,\n handler: (ev: EventMap[Y]) => void,\n options?: AddEventListenerOptions | boolean,\n) => {\n const { getDocument } = useEnvironment()\n const listener = useCallbackRef(handler)\n\n useEffect(() => {\n const el = isFunction(target) ? target() : (target ?? getDocument())\n\n if (!el) return\n\n el.addEventListener(\n ev,\n listener as EventListenerOrEventListenerObject,\n options,\n )\n\n return () => {\n el.removeEventListener(\n ev,\n listener as EventListenerOrEventListenerObject,\n options,\n )\n }\n }, [ev, target, options, listener, handler, getDocument])\n\n return () => {\n const el = isFunction(target) ? target() : (target ?? document)\n\n el?.removeEventListener(\n ev,\n listener as EventListenerOrEventListenerObject,\n options,\n )\n }\n}\n\nexport const useEventListeners = () => {\n const listeners = useRef(new Map())\n const currentListeners = listeners.current\n\n const add = useCallback(\n <Y extends EventType>(\n el: EventTarget,\n ev: Y,\n listener: (ev: EventMap[Y]) => void,\n options?: AddEventListenerOptions | boolean,\n ) => {\n listeners.current.set(listener, { el, ev, options })\n\n el.addEventListener(\n ev,\n listener as EventListenerOrEventListenerObject,\n options,\n )\n },\n [],\n )\n\n const remove = useCallback(\n <Y extends EventType>(\n el: EventTarget,\n ev: Y,\n listener: (ev: EventMap[Y]) => void,\n options?: boolean | EventListenerOptions,\n ) => {\n el.removeEventListener(\n ev,\n listener as EventListenerOrEventListenerObject,\n options,\n )\n\n listeners.current.delete(listener)\n },\n [],\n )\n\n useEffect(\n () => () => {\n currentListeners.forEach(({ el, ev, options }, key) =>\n remove(el, ev, key, options),\n )\n },\n [remove, currentListeners],\n )\n\n return { add, remove }\n}\n"],"mappings":";;;;;;;;AAOA,MAAa,oBACX,QACA,IACA,SACA,YACG;CACH,MAAM,EAAE,gBAAgBA,6BAAAA,eAAe;CACvC,MAAM,WAAWC,YAAAA,eAAe,OAAO;CAEvC,CAAA,GAAA,MAAA,UAAA,OAAgB;EACd,MAAM,MAAA,GAAA,oBAAA,cAAK,WAAA,CAAW,MAAM,IAAI,OAAO,IAAK,UAAU,YAAY;EAElE,IAAI,CAAC,IAAI;EAET,GAAG,iBACD,IACA,UACA,OACF;EAEA,aAAa;GACX,GAAG,oBACD,IACA,UACA,OACF;EACF;CACF,GAAG;EAAC;EAAI;EAAQ;EAAS;EAAU;EAAS;CAAW,CAAC;CAExD,aAAa;EAGX,EAAA,GAAA,oBAAA,cAFW,WAAA,CAAW,MAAM,IAAI,OAAO,IAAK,UAAU,SAAA,EAElD,oBACF,IACA,UACA,OACF;CACF;AACF;AAEA,MAAa,0BAA0B;CACrC,MAAM,aAAA,GAAYC,MAAAA,OAAAA,iBAAO,IAAI,IAAI,CAAC;CAClC,MAAM,mBAAmB,UAAU;CAEnC,MAAM,OAAA,GAAMC,MAAAA,YAAAA,EAER,IACA,IACA,UACA,YACG;EACH,UAAU,QAAQ,IAAI,UAAU;GAAE;GAAI;GAAI;EAAQ,CAAC;EAEnD,GAAG,iBACD,IACA,UACA,OACF;CACF,GACA,CAAC,CACH;CAEA,MAAM,UAAA,GAASA,MAAAA,YAAAA,EAEX,IACA,IACA,UACA,YACG;EACH,GAAG,oBACD,IACA,UACA,OACF;EAEA,UAAU,QAAQ,OAAO,QAAQ;CACnC,GACA,CAAC,CACH;CAEA,CAAA,GAAA,MAAA,UAAA,aACc;EACV,iBAAiB,SAAS,EAAE,IAAI,IAAI,WAAW,QAC7C,OAAO,IAAI,IAAI,KAAK,OAAO,CAC7B;CACF,GACA,CAAC,QAAQ,gBAAgB,CAC3B;CAEA,OAAO;EAAE;EAAK;CAAO;AACvB"}
1
+ {"version":3,"file":"index.cjs","names":["useEnvironment","useCallbackRef","useRef","useCallback"],"sources":["../../../../src/hooks/use-event-listener/index.ts"],"sourcesContent":["\"use client\"\n\nimport type { EventMap, EventType } from \"../../utils\"\nimport { useCallback, useEffect, useRef } from \"react\"\nimport { useEnvironment } from \"../../core\"\nimport { isFunction, useCallbackRef } from \"../../utils\"\n\nexport const useEventListener = <Y extends EventType>(\n target: (() => EventTarget | null) | EventTarget | null | undefined,\n ev: Y,\n handler: (ev: EventMap[Y]) => void,\n options?: AddEventListenerOptions | boolean,\n) => {\n const { getDocument } = useEnvironment()\n const listener = useCallbackRef(handler)\n\n useEffect(() => {\n const el = isFunction(target) ? target() : (target ?? getDocument())\n\n if (!el) return\n\n el.addEventListener(\n ev,\n listener as EventListenerOrEventListenerObject,\n options,\n )\n\n return () => {\n el.removeEventListener(\n ev,\n listener as EventListenerOrEventListenerObject,\n options,\n )\n }\n }, [ev, target, options, listener, handler, getDocument])\n\n return () => {\n const el = isFunction(target) ? target() : (target ?? document)\n\n el?.removeEventListener(\n ev,\n listener as EventListenerOrEventListenerObject,\n options,\n )\n }\n}\n\nexport const useEventListeners = () => {\n const listeners = useRef(new Map())\n const currentListeners = listeners.current\n\n const add = useCallback(\n <Y extends EventType>(\n el: EventTarget,\n ev: Y,\n listener: (ev: EventMap[Y]) => void,\n options?: AddEventListenerOptions | boolean,\n ) => {\n listeners.current.set(listener, { el, ev, options })\n\n el.addEventListener(\n ev,\n listener as EventListenerOrEventListenerObject,\n options,\n )\n },\n [],\n )\n\n const remove = useCallback(\n <Y extends EventType>(\n el: EventTarget,\n ev: Y,\n listener: (ev: EventMap[Y]) => void,\n options?: boolean | EventListenerOptions,\n ) => {\n el.removeEventListener(\n ev,\n listener as EventListenerOrEventListenerObject,\n options,\n )\n\n listeners.current.delete(listener)\n },\n [],\n )\n\n useEffect(\n () => () => {\n currentListeners.forEach(({ el, ev, options }, key) =>\n remove(el, ev, key, options),\n )\n },\n [remove, currentListeners],\n )\n\n return { add, remove }\n}\n"],"mappings":";;;;;;;AAOA,MAAa,oBACX,QACA,IACA,SACA,YACG;CACH,MAAM,EAAE,gBAAgBA,6BAAAA,eAAe;CACvC,MAAM,WAAWC,YAAAA,eAAe,OAAO;CAEvC,CAAA,GAAA,MAAA,UAAA,OAAgB;EACd,MAAM,MAAA,GAAA,oBAAA,cAAK,WAAA,CAAW,MAAM,IAAI,OAAO,IAAK,UAAU,YAAY;EAElE,IAAI,CAAC,IAAI;EAET,GAAG,iBACD,IACA,UACA,OACF;EAEA,aAAa;GACX,GAAG,oBACD,IACA,UACA,OACF;EACF;CACF,GAAG;EAAC;EAAI;EAAQ;EAAS;EAAU;EAAS;CAAW,CAAC;CAExD,aAAa;EAGX,EAAA,GAAA,oBAAA,cAFW,WAAA,CAAW,MAAM,IAAI,OAAO,IAAK,UAAU,SAAA,EAElD,oBACF,IACA,UACA,OACF;CACF;AACF;AAEA,MAAa,0BAA0B;CACrC,MAAM,aAAA,GAAYC,MAAAA,OAAAA,iBAAO,IAAI,IAAI,CAAC;CAClC,MAAM,mBAAmB,UAAU;CAEnC,MAAM,OAAA,GAAMC,MAAAA,YAAAA,EAER,IACA,IACA,UACA,YACG;EACH,UAAU,QAAQ,IAAI,UAAU;GAAE;GAAI;GAAI;EAAQ,CAAC;EAEnD,GAAG,iBACD,IACA,UACA,OACF;CACF,GACA,CAAC,CACH;CAEA,MAAM,UAAA,GAASA,MAAAA,YAAAA,EAEX,IACA,IACA,UACA,YACG;EACH,GAAG,oBACD,IACA,UACA,OACF;EAEA,UAAU,QAAQ,OAAO,QAAQ;CACnC,GACA,CAAC,CACH;CAEA,CAAA,GAAA,MAAA,UAAA,aACc;EACV,iBAAiB,SAAS,EAAE,IAAI,IAAI,WAAW,QAC7C,OAAO,IAAI,IAAI,KAAK,OAAO,CAC7B;CACF,GACA,CAAC,QAAQ,gBAAgB,CAC3B;CAEA,OAAO;EAAE;EAAK;CAAO;AACvB"}
@@ -1,6 +1,5 @@
1
1
  "use client";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- require("../../_virtual/_rolldown/runtime.cjs");
4
3
  const require_effect = require("../../utils/effect.cjs");
5
4
  let react = require("react");
6
5
  //#region src/hooks/use-eye-dropper/index.ts
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","names":["useState","useCallback"],"sources":["../../../../src/hooks/use-eye-dropper/index.ts"],"sourcesContent":["\"use client\"\n\nimport { useCallback, useState } from \"react\"\nimport { useSafeLayoutEffect } from \"../../utils\"\n\ninterface EyeDropperOptions {\n signal?: AbortSignal\n}\n\nexport interface EyeDropperReturn {\n sRGBHex: string\n}\n\n/**\n * `useEyeDropper` is a custom hook that opens the eye dropper tool and returns the color value.\n *\n * @see https://yamada-ui.com/docs/hooks/use-eye-dropper\n */\nexport const useEyeDropper = () => {\n const [supported, setSupported] = useState(false)\n\n useSafeLayoutEffect(() => {\n setSupported(typeof window !== \"undefined\" && \"EyeDropper\" in window)\n }, [])\n\n const onOpen = useCallback(\n async (\n options: EyeDropperOptions = {},\n ): Promise<EyeDropperReturn | undefined> => {\n if (supported) {\n const eyeDropper = new (window as any).EyeDropper()\n\n return eyeDropper.open(options)\n }\n\n return Promise.resolve(undefined)\n },\n [supported],\n )\n\n return { supported, onOpen }\n}\n"],"mappings":";;;;;;;;;;;AAkBA,MAAa,sBAAsB;CACjC,MAAM,CAAC,WAAW,iBAAA,GAAgBA,MAAAA,SAAAA,CAAS,KAAK;CAEhD,eAAA,0BAA0B;EACxB,aAAa,OAAO,WAAW,eAAe,gBAAgB,MAAM;CACtE,GAAG,CAAC,CAAC;CAiBL,OAAO;EAAE;EAAW,SAAA,GAfLC,MAAAA,YAAAA,CACb,OACE,UAA6B,CAAC,MACY;GAC1C,IAAI,WAGF,OAAO,IAFiB,OAAe,WAEvB,CAAC,CAAC,KAAK,OAAO;GAGhC,OAAO,QAAQ,QAAQ,KAAA,CAAS;EAClC,GACA,CAAC,SAAS,CAGa;CAAE;AAC7B"}
1
+ {"version":3,"file":"index.cjs","names":["useState","useCallback"],"sources":["../../../../src/hooks/use-eye-dropper/index.ts"],"sourcesContent":["\"use client\"\n\nimport { useCallback, useState } from \"react\"\nimport { useSafeLayoutEffect } from \"../../utils\"\n\ninterface EyeDropperOptions {\n signal?: AbortSignal\n}\n\nexport interface EyeDropperReturn {\n sRGBHex: string\n}\n\n/**\n * `useEyeDropper` is a custom hook that opens the eye dropper tool and returns the color value.\n *\n * @see https://yamada-ui.com/docs/hooks/use-eye-dropper\n */\nexport const useEyeDropper = () => {\n const [supported, setSupported] = useState(false)\n\n useSafeLayoutEffect(() => {\n setSupported(typeof window !== \"undefined\" && \"EyeDropper\" in window)\n }, [])\n\n const onOpen = useCallback(\n async (\n options: EyeDropperOptions = {},\n ): Promise<EyeDropperReturn | undefined> => {\n if (supported) {\n const eyeDropper = new (window as any).EyeDropper()\n\n return eyeDropper.open(options)\n }\n\n return Promise.resolve(undefined)\n },\n [supported],\n )\n\n return { supported, onOpen }\n}\n"],"mappings":";;;;;;;;;;AAkBA,MAAa,sBAAsB;CACjC,MAAM,CAAC,WAAW,iBAAA,GAAgBA,MAAAA,SAAAA,CAAS,KAAK;CAEhD,eAAA,0BAA0B;EACxB,aAAa,OAAO,WAAW,eAAe,gBAAgB,MAAM;CACtE,GAAG,CAAC,CAAC;CAiBL,OAAO;EAAE;EAAW,SAAA,GAfLC,MAAAA,YAAAA,CACb,OACE,UAA6B,CAAC,MACY;GAC1C,IAAI,WAGF,OAAO,IAFiB,OAAe,WAEvB,CAAC,CAAC,KAAK,OAAO;GAGhC,OAAO,QAAQ,QAAQ,KAAA,CAAS;EAClC,GACA,CAAC,SAAS,CAGa;CAAE;AAC7B"}
@@ -1,6 +1,5 @@
1
1
  "use client";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- require("../../_virtual/_rolldown/runtime.cjs");
4
3
  let react = require("react");
5
4
  let react_jsx_runtime = require("react/jsx-runtime");
6
5
  //#region src/hooks/use-field-sizing/index.tsx
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","names":["useRef","useMemo"],"sources":["../../../../src/hooks/use-field-sizing/index.tsx"],"sourcesContent":["\"use client\"\n\nimport { useEffect, useMemo, useRef } from \"react\"\n\nexport interface UseFieldSizingProps {\n value?: string\n}\n\nexport const useFieldSizing = <Y extends HTMLElement>({\n value = \"\",\n}: UseFieldSizingProps) => {\n const ref = useRef<Y>(null)\n const textRef = useRef<HTMLSpanElement>(null)\n const text = useMemo(\n () => (\n <span\n ref={textRef}\n style={{\n opacity: 0,\n overflow: \"hidden\",\n position: \"absolute\",\n whiteSpace: \"nowrap\",\n zIndex: -1,\n }}\n aria-hidden\n >\n {value}\n </span>\n ),\n [value],\n )\n\n useEffect(() => {\n if (!textRef.current) return\n\n const { width } = textRef.current.getBoundingClientRect()\n\n if (ref.current) ref.current.style.width = `${width}px`\n }, [value])\n\n return { ref, text }\n}\n\nexport type UseFieldSizingReturn = ReturnType<typeof useFieldSizing>\n"],"mappings":";;;;;;AAQA,MAAa,kBAAyC,EACpD,QAAQ,SACiB;CACzB,MAAM,OAAA,GAAMA,MAAAA,OAAAA,CAAU,IAAI;CAC1B,MAAM,WAAA,GAAUA,MAAAA,OAAAA,CAAwB,IAAI;CAC5C,MAAM,QAAA,GAAOC,MAAAA,QAAAA,OAET,iBAAA,GAAA,kBAAA,IAAA,CAAC,QAAD;EACE,KAAK;EACL,OAAO;GACL,SAAS;GACT,UAAU;GACV,UAAU;GACV,YAAY;GACZ,QAAQ;EACV;EACA,eAAA;EAEC,UAAA;CACG,CAAA,GAER,CAAC,KAAK,CACR;CAEA,CAAA,GAAA,MAAA,UAAA,OAAgB;EACd,IAAI,CAAC,QAAQ,SAAS;EAEtB,MAAM,EAAE,UAAU,QAAQ,QAAQ,sBAAsB;EAExD,IAAI,IAAI,SAAS,IAAI,QAAQ,MAAM,QAAQ,GAAG,MAAM;CACtD,GAAG,CAAC,KAAK,CAAC;CAEV,OAAO;EAAE;EAAK;CAAK;AACrB"}
1
+ {"version":3,"file":"index.cjs","names":["useRef","useMemo"],"sources":["../../../../src/hooks/use-field-sizing/index.tsx"],"sourcesContent":["\"use client\"\n\nimport { useEffect, useMemo, useRef } from \"react\"\n\nexport interface UseFieldSizingProps {\n value?: string\n}\n\nexport const useFieldSizing = <Y extends HTMLElement>({\n value = \"\",\n}: UseFieldSizingProps) => {\n const ref = useRef<Y>(null)\n const textRef = useRef<HTMLSpanElement>(null)\n const text = useMemo(\n () => (\n <span\n ref={textRef}\n style={{\n opacity: 0,\n overflow: \"hidden\",\n position: \"absolute\",\n whiteSpace: \"nowrap\",\n zIndex: -1,\n }}\n aria-hidden\n >\n {value}\n </span>\n ),\n [value],\n )\n\n useEffect(() => {\n if (!textRef.current) return\n\n const { width } = textRef.current.getBoundingClientRect()\n\n if (ref.current) ref.current.style.width = `${width}px`\n }, [value])\n\n return { ref, text }\n}\n\nexport type UseFieldSizingReturn = ReturnType<typeof useFieldSizing>\n"],"mappings":";;;;;AAQA,MAAa,kBAAyC,EACpD,QAAQ,SACiB;CACzB,MAAM,OAAA,GAAMA,MAAAA,OAAAA,CAAU,IAAI;CAC1B,MAAM,WAAA,GAAUA,MAAAA,OAAAA,CAAwB,IAAI;CAC5C,MAAM,QAAA,GAAOC,MAAAA,QAAAA,OAET,iBAAA,GAAA,kBAAA,IAAA,CAAC,QAAD;EACE,KAAK;EACL,OAAO;GACL,SAAS;GACT,UAAU;GACV,UAAU;GACV,YAAY;GACZ,QAAQ;EACV;EACA,eAAA;EAEC,UAAA;CACG,CAAA,GAER,CAAC,KAAK,CACR;CAEA,CAAA,GAAA,MAAA,UAAA,OAAgB;EACd,IAAI,CAAC,QAAQ,SAAS;EAEtB,MAAM,EAAE,UAAU,QAAQ,QAAQ,sBAAsB;EAExD,IAAI,IAAI,SAAS,IAAI,QAAQ,MAAM,QAAQ,GAAG,MAAM;CACtD,GAAG,CAAC,KAAK,CAAC;CAEV,OAAO;EAAE;EAAK;CAAK;AACrB"}
@@ -1,6 +1,5 @@
1
1
  "use client";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- require("../../_virtual/_rolldown/runtime.cjs");
4
3
  const require_effect = require("../../utils/effect.cjs");
5
4
  const require_ref = require("../../utils/ref.cjs");
6
5
  const require_utils_index = require("../../utils/index.cjs");
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","names":["useRef","useCallback","isRefObject"],"sources":["../../../../src/hooks/use-focus/index.ts"],"sourcesContent":["\"use client\"\n\nimport type { RefObject } from \"react\"\nimport { useCallback, useRef } from \"react\"\nimport {\n contains,\n getActiveElement,\n getDocument,\n getFirstFocusableElement,\n isRefObject,\n isSafari,\n isShadowRoot,\n useUpdateEffect,\n} from \"../../utils\"\nimport { useEventListener } from \"../use-event-listener\"\n\nexport interface UseFocusOnShowProps {\n focusTarget?: HTMLElement | null | RefObject<HTMLElement | null>\n preventScroll?: boolean\n shouldFocus?: boolean\n visible?: boolean\n}\n\n/**\n * `useFocusOnShow` is a custom hook that focuses on the target element when it is shown.\n *\n * @see https://yamada-ui.com/docs/hooks/use-focus-on-show\n */\nexport const useFocusOnShow = <Y extends HTMLElement>(\n refOrEl: RefObject<null | Y> | Y,\n {\n focusTarget: focusRefOrEl,\n preventScroll,\n shouldFocus,\n visible,\n }: UseFocusOnShowProps = {\n preventScroll: true,\n shouldFocus: false,\n },\n) => {\n const trulyShouldFocus = shouldFocus && visible\n const focused = useRef(false)\n\n const getTarget = useCallback(() => {\n return isRefObject(refOrEl) ? refOrEl.current : refOrEl\n }, [refOrEl])\n\n const getFocusTarget = useCallback(() => {\n return isRefObject(focusRefOrEl) ? focusRefOrEl.current : focusRefOrEl\n }, [focusRefOrEl])\n\n const onFocus = useCallback(() => {\n const target = getTarget()\n\n if (!target || !trulyShouldFocus || focused.current) return\n const rootNode = target.getRootNode()\n const root = isShadowRoot(rootNode) ? rootNode : getDocument(target)\n if (contains(target, getActiveElement(root))) return\n\n const focusTarget = getFocusTarget()\n\n if (focusTarget) {\n requestAnimationFrame(() => {\n focusTarget.focus({ preventScroll })\n\n focused.current = true\n })\n } else {\n const firstFocusable = getFirstFocusableElement(target)\n\n if (firstFocusable)\n requestAnimationFrame(() => {\n firstFocusable.focus({ preventScroll })\n\n focused.current = true\n })\n else\n requestAnimationFrame(() => {\n target.focus({ preventScroll })\n\n focused.current = true\n })\n }\n }, [getTarget, trulyShouldFocus, getFocusTarget, preventScroll])\n\n useUpdateEffect(() => {\n focused.current = !trulyShouldFocus\n }, [trulyShouldFocus])\n\n useUpdateEffect(() => {\n requestAnimationFrame(onFocus)\n }, [onFocus])\n\n useEventListener(getTarget, \"transitionend\", onFocus)\n}\n\nexport interface UseFocusOnMouseDownProps {\n ref: RefObject<HTMLElement | null>\n elements?: (HTMLElement | null | RefObject<HTMLElement | null>)[]\n enabled?: boolean\n}\n\n/**\n * `useFocusOnPointerDown` is a custom hook that focuses on the target element when it is clicked.\n *\n * @see https://yamada-ui.com/docs/hooks/use-focus-on-pointer-down\n */\nexport const useFocusOnPointerDown = ({\n ref,\n elements,\n enabled,\n}: UseFocusOnMouseDownProps) => {\n useEventListener(\n () => ref.current?.getRootNode() ?? getDocument(ref.current),\n \"pointerdown\",\n (ev) => {\n if (!isSafari() || !enabled) return\n\n const target = ev.target as HTMLElement\n const els = elements ?? [ref]\n const rootNode = ref.current?.getRootNode()\n const root = isShadowRoot(rootNode) ? rootNode : getDocument(ref.current)\n const validTarget = els.some((elOrRef) => {\n const el = isRefObject(elOrRef) ? elOrRef.current : elOrRef\n\n return el?.contains(target) || el === target\n })\n\n if (getActiveElement(root) !== target && validTarget) {\n ev.preventDefault()\n\n target.focus()\n }\n },\n )\n}\n"],"mappings":";;;;;;;;;;;;;;AA4BA,MAAa,kBACX,SACA,EACE,aAAa,cACb,eACA,aACA,YACuB;CACvB,eAAe;CACf,aAAa;AACf,MACG;CACH,MAAM,mBAAmB,eAAe;CACxC,MAAM,WAAA,GAAUA,MAAAA,OAAAA,CAAO,KAAK;CAE5B,MAAM,aAAA,GAAYC,MAAAA,YAAAA,OAAkB;EAClC,OAAOC,YAAAA,YAAY,OAAO,IAAI,QAAQ,UAAU;CAClD,GAAG,CAAC,OAAO,CAAC;CAEZ,MAAM,kBAAA,GAAiBD,MAAAA,YAAAA,OAAkB;EACvC,OAAOC,YAAAA,YAAY,YAAY,IAAI,aAAa,UAAU;CAC5D,GAAG,CAAC,YAAY,CAAC;CAEjB,MAAM,WAAA,GAAUD,MAAAA,YAAAA,OAAkB;EAChC,MAAM,SAAS,UAAU;EAEzB,IAAI,CAAC,UAAU,CAAC,oBAAoB,QAAQ,SAAS;EACrD,MAAM,WAAW,OAAO,YAAY;EACpC,MAAM,QAAA,GAAA,oBAAA,cAAO,aAAA,CAAa,QAAQ,IAAI,YAAA,GAAA,oBAAA,cAAW,YAAA,CAAY,MAAM;EACnE,KAAA,GAAA,oBAAA,cAAI,SAAA,CAAS,SAAA,GAAA,oBAAA,cAAQ,iBAAA,CAAiB,IAAI,CAAC,GAAG;EAE9C,MAAM,cAAc,eAAe;EAEnC,IAAI,aACF,4BAA4B;GAC1B,YAAY,MAAM,EAAE,cAAc,CAAC;GAEnC,QAAQ,UAAU;EACpB,CAAC;OACI;GACL,MAAM,kBAAA,GAAA,oBAAA,cAAiB,yBAAA,CAAyB,MAAM;GAEtD,IAAI,gBACF,4BAA4B;IAC1B,eAAe,MAAM,EAAE,cAAc,CAAC;IAEtC,QAAQ,UAAU;GACpB,CAAC;QAED,4BAA4B;IAC1B,OAAO,MAAM,EAAE,cAAc,CAAC;IAE9B,QAAQ,UAAU;GACpB,CAAC;EACL;CACF,GAAG;EAAC;EAAW;EAAkB;EAAgB;CAAa,CAAC;CAE/D,eAAA,sBAAsB;EACpB,QAAQ,UAAU,CAAC;CACrB,GAAG,CAAC,gBAAgB,CAAC;CAErB,eAAA,sBAAsB;EACpB,sBAAsB,OAAO;CAC/B,GAAG,CAAC,OAAO,CAAC;CAEZ,uCAAA,iBAAiB,WAAW,iBAAiB,OAAO;AACtD;;;;;;AAaA,MAAa,yBAAyB,EACpC,KACA,UACA,cAC8B;CAC9B,uCAAA,uBACQ,IAAI,SAAS,YAAY,MAAA,GAAA,oBAAA,cAAK,YAAA,CAAY,IAAI,OAAO,GAC3D,gBACC,OAAO;EACN,IAAI,EAAA,GAAA,oBAAA,cAAC,SAAA,CAAS,KAAK,CAAC,SAAS;EAE7B,MAAM,SAAS,GAAG;EAClB,MAAM,MAAM,YAAY,CAAC,GAAG;EAC5B,MAAM,WAAW,IAAI,SAAS,YAAY;EAC1C,MAAM,QAAA,GAAA,oBAAA,cAAO,aAAA,CAAa,QAAQ,IAAI,YAAA,GAAA,oBAAA,cAAW,YAAA,CAAY,IAAI,OAAO;EACxE,MAAM,cAAc,IAAI,MAAM,YAAY;GACxC,MAAM,KAAKC,YAAAA,YAAY,OAAO,IAAI,QAAQ,UAAU;GAEpD,OAAO,IAAI,SAAS,MAAM,KAAK,OAAO;EACxC,CAAC;EAED,KAAA,GAAA,oBAAA,cAAI,iBAAA,CAAiB,IAAI,MAAM,UAAU,aAAa;GACpD,GAAG,eAAe;GAElB,OAAO,MAAM;EACf;CACF,CACF;AACF"}
1
+ {"version":3,"file":"index.cjs","names":["useRef","useCallback","isRefObject"],"sources":["../../../../src/hooks/use-focus/index.ts"],"sourcesContent":["\"use client\"\n\nimport type { RefObject } from \"react\"\nimport { useCallback, useRef } from \"react\"\nimport {\n contains,\n getActiveElement,\n getDocument,\n getFirstFocusableElement,\n isRefObject,\n isSafari,\n isShadowRoot,\n useUpdateEffect,\n} from \"../../utils\"\nimport { useEventListener } from \"../use-event-listener\"\n\nexport interface UseFocusOnShowProps {\n focusTarget?: HTMLElement | null | RefObject<HTMLElement | null>\n preventScroll?: boolean\n shouldFocus?: boolean\n visible?: boolean\n}\n\n/**\n * `useFocusOnShow` is a custom hook that focuses on the target element when it is shown.\n *\n * @see https://yamada-ui.com/docs/hooks/use-focus-on-show\n */\nexport const useFocusOnShow = <Y extends HTMLElement>(\n refOrEl: RefObject<null | Y> | Y,\n {\n focusTarget: focusRefOrEl,\n preventScroll,\n shouldFocus,\n visible,\n }: UseFocusOnShowProps = {\n preventScroll: true,\n shouldFocus: false,\n },\n) => {\n const trulyShouldFocus = shouldFocus && visible\n const focused = useRef(false)\n\n const getTarget = useCallback(() => {\n return isRefObject(refOrEl) ? refOrEl.current : refOrEl\n }, [refOrEl])\n\n const getFocusTarget = useCallback(() => {\n return isRefObject(focusRefOrEl) ? focusRefOrEl.current : focusRefOrEl\n }, [focusRefOrEl])\n\n const onFocus = useCallback(() => {\n const target = getTarget()\n\n if (!target || !trulyShouldFocus || focused.current) return\n const rootNode = target.getRootNode()\n const root = isShadowRoot(rootNode) ? rootNode : getDocument(target)\n if (contains(target, getActiveElement(root))) return\n\n const focusTarget = getFocusTarget()\n\n if (focusTarget) {\n requestAnimationFrame(() => {\n focusTarget.focus({ preventScroll })\n\n focused.current = true\n })\n } else {\n const firstFocusable = getFirstFocusableElement(target)\n\n if (firstFocusable)\n requestAnimationFrame(() => {\n firstFocusable.focus({ preventScroll })\n\n focused.current = true\n })\n else\n requestAnimationFrame(() => {\n target.focus({ preventScroll })\n\n focused.current = true\n })\n }\n }, [getTarget, trulyShouldFocus, getFocusTarget, preventScroll])\n\n useUpdateEffect(() => {\n focused.current = !trulyShouldFocus\n }, [trulyShouldFocus])\n\n useUpdateEffect(() => {\n requestAnimationFrame(onFocus)\n }, [onFocus])\n\n useEventListener(getTarget, \"transitionend\", onFocus)\n}\n\nexport interface UseFocusOnMouseDownProps {\n ref: RefObject<HTMLElement | null>\n elements?: (HTMLElement | null | RefObject<HTMLElement | null>)[]\n enabled?: boolean\n}\n\n/**\n * `useFocusOnPointerDown` is a custom hook that focuses on the target element when it is clicked.\n *\n * @see https://yamada-ui.com/docs/hooks/use-focus-on-pointer-down\n */\nexport const useFocusOnPointerDown = ({\n ref,\n elements,\n enabled,\n}: UseFocusOnMouseDownProps) => {\n useEventListener(\n () => ref.current?.getRootNode() ?? getDocument(ref.current),\n \"pointerdown\",\n (ev) => {\n if (!isSafari() || !enabled) return\n\n const target = ev.target as HTMLElement\n const els = elements ?? [ref]\n const rootNode = ref.current?.getRootNode()\n const root = isShadowRoot(rootNode) ? rootNode : getDocument(ref.current)\n const validTarget = els.some((elOrRef) => {\n const el = isRefObject(elOrRef) ? elOrRef.current : elOrRef\n\n return el?.contains(target) || el === target\n })\n\n if (getActiveElement(root) !== target && validTarget) {\n ev.preventDefault()\n\n target.focus()\n }\n },\n )\n}\n"],"mappings":";;;;;;;;;;;;;AA4BA,MAAa,kBACX,SACA,EACE,aAAa,cACb,eACA,aACA,YACuB;CACvB,eAAe;CACf,aAAa;AACf,MACG;CACH,MAAM,mBAAmB,eAAe;CACxC,MAAM,WAAA,GAAUA,MAAAA,OAAAA,CAAO,KAAK;CAE5B,MAAM,aAAA,GAAYC,MAAAA,YAAAA,OAAkB;EAClC,OAAOC,YAAAA,YAAY,OAAO,IAAI,QAAQ,UAAU;CAClD,GAAG,CAAC,OAAO,CAAC;CAEZ,MAAM,kBAAA,GAAiBD,MAAAA,YAAAA,OAAkB;EACvC,OAAOC,YAAAA,YAAY,YAAY,IAAI,aAAa,UAAU;CAC5D,GAAG,CAAC,YAAY,CAAC;CAEjB,MAAM,WAAA,GAAUD,MAAAA,YAAAA,OAAkB;EAChC,MAAM,SAAS,UAAU;EAEzB,IAAI,CAAC,UAAU,CAAC,oBAAoB,QAAQ,SAAS;EACrD,MAAM,WAAW,OAAO,YAAY;EACpC,MAAM,QAAA,GAAA,oBAAA,cAAO,aAAA,CAAa,QAAQ,IAAI,YAAA,GAAA,oBAAA,cAAW,YAAA,CAAY,MAAM;EACnE,KAAA,GAAA,oBAAA,cAAI,SAAA,CAAS,SAAA,GAAA,oBAAA,cAAQ,iBAAA,CAAiB,IAAI,CAAC,GAAG;EAE9C,MAAM,cAAc,eAAe;EAEnC,IAAI,aACF,4BAA4B;GAC1B,YAAY,MAAM,EAAE,cAAc,CAAC;GAEnC,QAAQ,UAAU;EACpB,CAAC;OACI;GACL,MAAM,kBAAA,GAAA,oBAAA,cAAiB,yBAAA,CAAyB,MAAM;GAEtD,IAAI,gBACF,4BAA4B;IAC1B,eAAe,MAAM,EAAE,cAAc,CAAC;IAEtC,QAAQ,UAAU;GACpB,CAAC;QAED,4BAA4B;IAC1B,OAAO,MAAM,EAAE,cAAc,CAAC;IAE9B,QAAQ,UAAU;GACpB,CAAC;EACL;CACF,GAAG;EAAC;EAAW;EAAkB;EAAgB;CAAa,CAAC;CAE/D,eAAA,sBAAsB;EACpB,QAAQ,UAAU,CAAC;CACrB,GAAG,CAAC,gBAAgB,CAAC;CAErB,eAAA,sBAAsB;EACpB,sBAAsB,OAAO;CAC/B,GAAG,CAAC,OAAO,CAAC;CAEZ,uCAAA,iBAAiB,WAAW,iBAAiB,OAAO;AACtD;;;;;;AAaA,MAAa,yBAAyB,EACpC,KACA,UACA,cAC8B;CAC9B,uCAAA,uBACQ,IAAI,SAAS,YAAY,MAAA,GAAA,oBAAA,cAAK,YAAA,CAAY,IAAI,OAAO,GAC3D,gBACC,OAAO;EACN,IAAI,EAAA,GAAA,oBAAA,cAAC,SAAA,CAAS,KAAK,CAAC,SAAS;EAE7B,MAAM,SAAS,GAAG;EAClB,MAAM,MAAM,YAAY,CAAC,GAAG;EAC5B,MAAM,WAAW,IAAI,SAAS,YAAY;EAC1C,MAAM,QAAA,GAAA,oBAAA,cAAO,aAAA,CAAa,QAAQ,IAAI,YAAA,GAAA,oBAAA,cAAW,YAAA,CAAY,IAAI,OAAO;EACxE,MAAM,cAAc,IAAI,MAAM,YAAY;GACxC,MAAM,KAAKC,YAAAA,YAAY,OAAO,IAAI,QAAQ,UAAU;GAEpD,OAAO,IAAI,SAAS,MAAM,KAAK,OAAO;EACxC,CAAC;EAED,KAAA,GAAA,oBAAA,cAAI,iBAAA,CAAiB,IAAI,MAAM,UAAU,aAAa;GACpD,GAAG,eAAe;GAElB,OAAO,MAAM;EACf;CACF,CACF;AACF"}
@@ -1,6 +1,5 @@
1
1
  "use client";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- require("../../_virtual/_rolldown/runtime.cjs");
4
3
  let react = require("react");
5
4
  //#region src/hooks/use-hover/index.ts
6
5
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","names":["useState","useRef","useCallback"],"sources":["../../../../src/hooks/use-hover/index.ts"],"sourcesContent":["\"use client\"\n\nimport { useCallback, useEffect, useRef, useState } from \"react\"\n\n/**\n * `useHover` is a custom hook that detects whether the pointer has moved over or away from an element.\n *\n * @see https://yamada-ui.com/docs/hooks/use-hover\n */\nexport const useHover = <Y extends HTMLElement = HTMLDivElement>() => {\n const [hovered, setHovered] = useState(false)\n const ref = useRef<Y>(null)\n\n const onMouseEnter = useCallback(() => setHovered(true), [])\n const onMouseLeave = useCallback(() => setHovered(false), [])\n\n useEffect(() => {\n const el = ref.current\n\n if (el) {\n el.addEventListener(\"mouseenter\", onMouseEnter)\n el.addEventListener(\"mouseleave\", onMouseLeave)\n\n return () => {\n el.removeEventListener(\"mouseenter\", onMouseEnter)\n el.removeEventListener(\"mouseleave\", onMouseLeave)\n }\n }\n }, [onMouseEnter, onMouseLeave])\n\n return { ref, hovered }\n}\n"],"mappings":";;;;;;;;;;AASA,MAAa,iBAAyD;CACpE,MAAM,CAAC,SAAS,eAAA,GAAcA,MAAAA,SAAAA,CAAS,KAAK;CAC5C,MAAM,OAAA,GAAMC,MAAAA,OAAAA,CAAU,IAAI;CAE1B,MAAM,gBAAA,GAAeC,MAAAA,YAAAA,OAAkB,WAAW,IAAI,GAAG,CAAC,CAAC;CAC3D,MAAM,gBAAA,GAAeA,MAAAA,YAAAA,OAAkB,WAAW,KAAK,GAAG,CAAC,CAAC;CAE5D,CAAA,GAAA,MAAA,UAAA,OAAgB;EACd,MAAM,KAAK,IAAI;EAEf,IAAI,IAAI;GACN,GAAG,iBAAiB,cAAc,YAAY;GAC9C,GAAG,iBAAiB,cAAc,YAAY;GAE9C,aAAa;IACX,GAAG,oBAAoB,cAAc,YAAY;IACjD,GAAG,oBAAoB,cAAc,YAAY;GACnD;EACF;CACF,GAAG,CAAC,cAAc,YAAY,CAAC;CAE/B,OAAO;EAAE;EAAK;CAAQ;AACxB"}
1
+ {"version":3,"file":"index.cjs","names":["useState","useRef","useCallback"],"sources":["../../../../src/hooks/use-hover/index.ts"],"sourcesContent":["\"use client\"\n\nimport { useCallback, useEffect, useRef, useState } from \"react\"\n\n/**\n * `useHover` is a custom hook that detects whether the pointer has moved over or away from an element.\n *\n * @see https://yamada-ui.com/docs/hooks/use-hover\n */\nexport const useHover = <Y extends HTMLElement = HTMLDivElement>() => {\n const [hovered, setHovered] = useState(false)\n const ref = useRef<Y>(null)\n\n const onMouseEnter = useCallback(() => setHovered(true), [])\n const onMouseLeave = useCallback(() => setHovered(false), [])\n\n useEffect(() => {\n const el = ref.current\n\n if (el) {\n el.addEventListener(\"mouseenter\", onMouseEnter)\n el.addEventListener(\"mouseleave\", onMouseLeave)\n\n return () => {\n el.removeEventListener(\"mouseenter\", onMouseEnter)\n el.removeEventListener(\"mouseleave\", onMouseLeave)\n }\n }\n }, [onMouseEnter, onMouseLeave])\n\n return { ref, hovered }\n}\n"],"mappings":";;;;;;;;;AASA,MAAa,iBAAyD;CACpE,MAAM,CAAC,SAAS,eAAA,GAAcA,MAAAA,SAAAA,CAAS,KAAK;CAC5C,MAAM,OAAA,GAAMC,MAAAA,OAAAA,CAAU,IAAI;CAE1B,MAAM,gBAAA,GAAeC,MAAAA,YAAAA,OAAkB,WAAW,IAAI,GAAG,CAAC,CAAC;CAC3D,MAAM,gBAAA,GAAeA,MAAAA,YAAAA,OAAkB,WAAW,KAAK,GAAG,CAAC,CAAC;CAE5D,CAAA,GAAA,MAAA,UAAA,OAAgB;EACd,MAAM,KAAK,IAAI;EAEf,IAAI,IAAI;GACN,GAAG,iBAAiB,cAAc,YAAY;GAC9C,GAAG,iBAAiB,cAAc,YAAY;GAE9C,aAAa;IACX,GAAG,oBAAoB,cAAc,YAAY;IACjD,GAAG,oBAAoB,cAAc,YAAY;GACnD;EACF;CACF,GAAG,CAAC,cAAc,YAAY,CAAC;CAE/B,OAAO;EAAE;EAAK;CAAQ;AACxB"}
@@ -1,6 +1,5 @@
1
1
  "use client";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- require("../../_virtual/_rolldown/runtime.cjs");
4
3
  let react = require("react");
5
4
  //#region src/hooks/use-idle/index.ts
6
5
  const DEFAULT_OPTIONS = {
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","names":["useState","useRef"],"sources":["../../../../src/hooks/use-idle/index.ts"],"sourcesContent":["\"use client\"\n\nimport { useEffect, useRef, useState } from \"react\"\n\nconst DEFAULT_EVENTS: (keyof DocumentEventMap)[] = [\n \"keypress\",\n \"mousemove\",\n \"touchmove\",\n \"click\",\n \"scroll\",\n]\n\nconst DEFAULT_OPTIONS = {\n events: DEFAULT_EVENTS,\n initialState: true,\n}\n\nexport interface IdleOptions {\n events?: (keyof DocumentEventMap)[]\n initialState?: boolean\n}\n\n/**\n * `useIdle` is a custom hook that detects whether the user has been idle for a certain amount of time in milliseconds.\n *\n * @see https://yamada-ui.com/docs/hooks/use-idle\n */\nexport const useIdle = (timeout: number, options?: IdleOptions) => {\n const { events, initialState } = { ...DEFAULT_OPTIONS, ...options }\n const [idle, setIdle] = useState<boolean>(initialState)\n const timeoutId = useRef<NodeJS.Timeout>(undefined)\n\n useEffect(() => {\n const handleEvent = () => {\n setIdle(false)\n\n if (timeoutId.current) clearTimeout(timeoutId.current)\n\n timeoutId.current = setTimeout(() => setIdle(true), timeout)\n }\n\n events.forEach((event) => document.addEventListener(event, handleEvent))\n\n return () => {\n events.forEach((event) =>\n document.removeEventListener(event, handleEvent),\n )\n }\n }, [events, timeout])\n\n return idle\n}\n"],"mappings":";;;;;AAYA,MAAM,kBAAkB;CACtB,QAAQ;EARR;EACA;EACA;EACA;EACA;CAIqB;CACrB,cAAc;AAChB;;;;;;AAYA,MAAa,WAAW,SAAiB,YAA0B;CACjE,MAAM,EAAE,QAAQ,iBAAiB;EAAE,GAAG;EAAiB,GAAG;CAAQ;CAClE,MAAM,CAAC,MAAM,YAAA,GAAWA,MAAAA,SAAAA,CAAkB,YAAY;CACtD,MAAM,aAAA,GAAYC,MAAAA,OAAAA,CAAuB,KAAA,CAAS;CAElD,CAAA,GAAA,MAAA,UAAA,OAAgB;EACd,MAAM,oBAAoB;GACxB,QAAQ,KAAK;GAEb,IAAI,UAAU,SAAS,aAAa,UAAU,OAAO;GAErD,UAAU,UAAU,iBAAiB,QAAQ,IAAI,GAAG,OAAO;EAC7D;EAEA,OAAO,SAAS,UAAU,SAAS,iBAAiB,OAAO,WAAW,CAAC;EAEvE,aAAa;GACX,OAAO,SAAS,UACd,SAAS,oBAAoB,OAAO,WAAW,CACjD;EACF;CACF,GAAG,CAAC,QAAQ,OAAO,CAAC;CAEpB,OAAO;AACT"}
1
+ {"version":3,"file":"index.cjs","names":["useState","useRef"],"sources":["../../../../src/hooks/use-idle/index.ts"],"sourcesContent":["\"use client\"\n\nimport { useEffect, useRef, useState } from \"react\"\n\nconst DEFAULT_EVENTS: (keyof DocumentEventMap)[] = [\n \"keypress\",\n \"mousemove\",\n \"touchmove\",\n \"click\",\n \"scroll\",\n]\n\nconst DEFAULT_OPTIONS = {\n events: DEFAULT_EVENTS,\n initialState: true,\n}\n\nexport interface IdleOptions {\n events?: (keyof DocumentEventMap)[]\n initialState?: boolean\n}\n\n/**\n * `useIdle` is a custom hook that detects whether the user has been idle for a certain amount of time in milliseconds.\n *\n * @see https://yamada-ui.com/docs/hooks/use-idle\n */\nexport const useIdle = (timeout: number, options?: IdleOptions) => {\n const { events, initialState } = { ...DEFAULT_OPTIONS, ...options }\n const [idle, setIdle] = useState<boolean>(initialState)\n const timeoutId = useRef<NodeJS.Timeout>(undefined)\n\n useEffect(() => {\n const handleEvent = () => {\n setIdle(false)\n\n if (timeoutId.current) clearTimeout(timeoutId.current)\n\n timeoutId.current = setTimeout(() => setIdle(true), timeout)\n }\n\n events.forEach((event) => document.addEventListener(event, handleEvent))\n\n return () => {\n events.forEach((event) =>\n document.removeEventListener(event, handleEvent),\n )\n }\n }, [events, timeout])\n\n return idle\n}\n"],"mappings":";;;;AAYA,MAAM,kBAAkB;CACtB,QAAQ;EARR;EACA;EACA;EACA;EACA;CAIqB;CACrB,cAAc;AAChB;;;;;;AAYA,MAAa,WAAW,SAAiB,YAA0B;CACjE,MAAM,EAAE,QAAQ,iBAAiB;EAAE,GAAG;EAAiB,GAAG;CAAQ;CAClE,MAAM,CAAC,MAAM,YAAA,GAAWA,MAAAA,SAAAA,CAAkB,YAAY;CACtD,MAAM,aAAA,GAAYC,MAAAA,OAAAA,CAAuB,KAAA,CAAS;CAElD,CAAA,GAAA,MAAA,UAAA,OAAgB;EACd,MAAM,oBAAoB;GACxB,QAAQ,KAAK;GAEb,IAAI,UAAU,SAAS,aAAa,UAAU,OAAO;GAErD,UAAU,UAAU,iBAAiB,QAAQ,IAAI,GAAG,OAAO;EAC7D;EAEA,OAAO,SAAS,UAAU,SAAS,iBAAiB,OAAO,WAAW,CAAC;EAEvE,aAAa;GACX,OAAO,SAAS,UACd,SAAS,oBAAoB,OAAO,WAAW,CACjD;EACF;CACF,GAAG,CAAC,QAAQ,OAAO,CAAC;CAEpB,OAAO;AACT"}
@@ -1,6 +1,5 @@
1
1
  "use client";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- require("../../_virtual/_rolldown/runtime.cjs");
4
3
  const require_ref = require("../../utils/ref.cjs");
5
4
  let react = require("react");
6
5
  //#region src/hooks/use-interval/index.ts
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","names":["useCallbackRef"],"sources":["../../../../src/hooks/use-interval/index.ts"],"sourcesContent":["\"use client\"\n\nimport { useEffect } from \"react\"\nimport { useCallbackRef } from \"../../utils\"\n\n/**\n * `useInterval` is a custom hook that runs a function at a specified interval.\n *\n * @see https://yamada-ui.com/docs/hooks/use-interval\n */\nexport const useInterval = (callback: () => void, delay: null | number) => {\n const callbackRef = useCallbackRef(callback)\n\n useEffect(() => {\n let timeoutId: NodeJS.Timeout | null = null\n\n if (delay !== null) timeoutId = setInterval(callbackRef, delay)\n\n return () => {\n if (timeoutId) clearInterval(timeoutId)\n }\n }, [delay, callbackRef])\n}\n"],"mappings":";;;;;;;;;;;AAUA,MAAa,eAAe,UAAsB,UAAyB;CACzE,MAAM,cAAcA,YAAAA,eAAe,QAAQ;CAE3C,CAAA,GAAA,MAAA,UAAA,OAAgB;EACd,IAAI,YAAmC;EAEvC,IAAI,UAAU,MAAM,YAAY,YAAY,aAAa,KAAK;EAE9D,aAAa;GACX,IAAI,WAAW,cAAc,SAAS;EACxC;CACF,GAAG,CAAC,OAAO,WAAW,CAAC;AACzB"}
1
+ {"version":3,"file":"index.cjs","names":["useCallbackRef"],"sources":["../../../../src/hooks/use-interval/index.ts"],"sourcesContent":["\"use client\"\n\nimport { useEffect } from \"react\"\nimport { useCallbackRef } from \"../../utils\"\n\n/**\n * `useInterval` is a custom hook that runs a function at a specified interval.\n *\n * @see https://yamada-ui.com/docs/hooks/use-interval\n */\nexport const useInterval = (callback: () => void, delay: null | number) => {\n const callbackRef = useCallbackRef(callback)\n\n useEffect(() => {\n let timeoutId: NodeJS.Timeout | null = null\n\n if (delay !== null) timeoutId = setInterval(callbackRef, delay)\n\n return () => {\n if (timeoutId) clearInterval(timeoutId)\n }\n }, [delay, callbackRef])\n}\n"],"mappings":";;;;;;;;;;AAUA,MAAa,eAAe,UAAsB,UAAyB;CACzE,MAAM,cAAcA,YAAAA,eAAe,QAAQ;CAE3C,CAAA,GAAA,MAAA,UAAA,OAAgB;EACd,IAAI,YAAmC;EAEvC,IAAI,UAAU,MAAM,YAAY,YAAY,aAAa,KAAK;EAE9D,aAAa;GACX,IAAI,WAAW,cAAc,SAAS;EACxC;CACF,GAAG,CAAC,OAAO,WAAW,CAAC;AACzB"}
@@ -1,6 +1,5 @@
1
1
  "use client";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- require("../../_virtual/_rolldown/runtime.cjs");
4
3
  let react = require("react");
5
4
  //#region src/hooks/use-lazy-mount/index.ts
6
5
  const useLazyMount = ({ children, lazy, lazyBehavior = "unmount", mounted }) => {
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","names":["useRef"],"sources":["../../../../src/hooks/use-lazy-mount/index.ts"],"sourcesContent":["\"use client\"\n\nimport type { ReactNode } from \"react\"\nimport { useRef } from \"react\"\n\nexport type LazyBehavior = \"keepMounted\" | \"unmount\"\n\nexport interface UseLazyMountProps {\n children?: ReactNode\n /**\n * If `true`, rendering of the content will be deferred until it is selected.\n *\n * @default false\n */\n lazy?: boolean\n /**\n * The lazy behavior of content when not active. Only works when `lazy={true}`.\n *\n * - `unmount`: The content is always unmounted.\n * - `keepMounted`: The content is initially unmounted, but stays mounted when selected.\n *\n * @default 'unmount'\n */\n lazyBehavior?: LazyBehavior\n /**\n * If `true`, the content is mounted.\n *\n * @default false\n */\n mounted?: boolean\n}\n\nexport const useLazyMount = ({\n children,\n lazy,\n lazyBehavior = \"unmount\",\n mounted,\n}: UseLazyMountProps): ReactNode => {\n const beforeMounted = useRef<boolean>(false)\n\n if (!lazy) {\n beforeMounted.current = false\n\n return children\n }\n\n if (mounted) {\n beforeMounted.current = true\n\n return children\n }\n\n if (lazyBehavior === \"keepMounted\" && beforeMounted.current) return children\n\n return null\n}\n"],"mappings":";;;;;AAgCA,MAAa,gBAAgB,EAC3B,UACA,MACA,eAAe,WACf,cACkC;CAClC,MAAM,iBAAA,GAAgBA,MAAAA,OAAAA,CAAgB,KAAK;CAE3C,IAAI,CAAC,MAAM;EACT,cAAc,UAAU;EAExB,OAAO;CACT;CAEA,IAAI,SAAS;EACX,cAAc,UAAU;EAExB,OAAO;CACT;CAEA,IAAI,iBAAiB,iBAAiB,cAAc,SAAS,OAAO;CAEpE,OAAO;AACT"}
1
+ {"version":3,"file":"index.cjs","names":["useRef"],"sources":["../../../../src/hooks/use-lazy-mount/index.ts"],"sourcesContent":["\"use client\"\n\nimport type { ReactNode } from \"react\"\nimport { useRef } from \"react\"\n\nexport type LazyBehavior = \"keepMounted\" | \"unmount\"\n\nexport interface UseLazyMountProps {\n children?: ReactNode\n /**\n * If `true`, rendering of the content will be deferred until it is selected.\n *\n * @default false\n */\n lazy?: boolean\n /**\n * The lazy behavior of content when not active. Only works when `lazy={true}`.\n *\n * - `unmount`: The content is always unmounted.\n * - `keepMounted`: The content is initially unmounted, but stays mounted when selected.\n *\n * @default 'unmount'\n */\n lazyBehavior?: LazyBehavior\n /**\n * If `true`, the content is mounted.\n *\n * @default false\n */\n mounted?: boolean\n}\n\nexport const useLazyMount = ({\n children,\n lazy,\n lazyBehavior = \"unmount\",\n mounted,\n}: UseLazyMountProps): ReactNode => {\n const beforeMounted = useRef<boolean>(false)\n\n if (!lazy) {\n beforeMounted.current = false\n\n return children\n }\n\n if (mounted) {\n beforeMounted.current = true\n\n return children\n }\n\n if (lazyBehavior === \"keepMounted\" && beforeMounted.current) return children\n\n return null\n}\n"],"mappings":";;;;AAgCA,MAAa,gBAAgB,EAC3B,UACA,MACA,eAAe,WACf,cACkC;CAClC,MAAM,iBAAA,GAAgBA,MAAAA,OAAAA,CAAgB,KAAK;CAE3C,IAAI,CAAC,MAAM;EACT,cAAc,UAAU;EAExB,OAAO;CACT;CAEA,IAAI,SAAS;EACX,cAAc,UAAU;EAExB,OAAO;CACT;CAEA,IAAI,iBAAiB,iBAAiB,cAAc,SAAS,OAAO;CAEpE,OAAO;AACT"}
@@ -1,6 +1,5 @@
1
1
  "use client";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- require("../../_virtual/_rolldown/runtime.cjs");
4
3
  const require_utils_index = require("../../utils/index.cjs");
5
4
  const require_hooks_use_window_event_index = require("../use-window-event/index.cjs");
6
5
  let react = require("react");
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","names":["useCallback","useState"],"sources":["../../../../src/hooks/use-local-storage/index.ts"],"sourcesContent":["\"use client\"\n\nimport { useCallback, useEffect, useState } from \"react\"\nimport { isFunction } from \"../../utils\"\nimport { useWindowEvent } from \"../use-window-event\"\n\nexport type StorageType = \"localStorage\" | \"sessionStorage\"\n\nexport interface StorageProps<Y> {\n key: string\n defaultValue?: Y\n getInitialValueInEffect?: boolean\n deserialize?: (value: string | undefined) => Y\n serialize?: (value: Y) => string\n}\n\nconst serializeJSON = <Y>(value: Y, name: string) => {\n try {\n return JSON.stringify(value)\n } catch {\n throw new Error(`useLocalStorage ${name}: Failed to serialize the value`)\n }\n}\n\nconst deserializeJSON = (value: string | undefined) => {\n if (!value) return value\n\n try {\n return JSON.parse(value)\n } catch {\n return value\n }\n}\n\nexport const createStorage = <Y>(type: StorageType, name: string) => {\n const eventName =\n type === \"localStorage\" ? \"local-storage\" : \"session-storage\"\n\n return ({\n key,\n defaultValue,\n deserialize = deserializeJSON,\n getInitialValueInEffect = true,\n serialize = (value: Y) => serializeJSON(value, name),\n }: StorageProps<Y>) => {\n const readStorageValue = useCallback(\n (skipStorage?: boolean): Y => {\n if (\n typeof window === \"undefined\" ||\n !(type in window) ||\n (window[type] as null | Storage | undefined) == null ||\n skipStorage\n )\n return (defaultValue ?? \"\") as Y\n\n const storageValue = window[type].getItem(key)\n\n return storageValue !== null\n ? deserialize(storageValue)\n : ((defaultValue ?? \"\") as Y)\n },\n [key, deserialize, defaultValue],\n )\n\n const [value, setValue] = useState<Y>(\n readStorageValue(getInitialValueInEffect),\n )\n\n const setStorageValue = useCallback(\n (valOrFn: ((prevState: Y) => Y) | Y) => {\n if (isFunction(valOrFn)) {\n setValue((current) => {\n const result = valOrFn(current)\n\n window[type].setItem(key, serialize(result))\n window.dispatchEvent(\n new CustomEvent(eventName, {\n detail: { key, value: valOrFn(current) },\n }),\n )\n\n return result\n })\n } else {\n window[type].setItem(key, serialize(valOrFn))\n window.dispatchEvent(\n new CustomEvent(eventName, { detail: { key, value: valOrFn } }),\n )\n\n setValue(valOrFn)\n }\n },\n [key, serialize],\n )\n\n const removeStorageValue = useCallback(() => {\n window[type].removeItem(key)\n setValue(defaultValue as Y)\n }, [defaultValue, key])\n\n useWindowEvent(\"storage\", (ev) => {\n if (ev.storageArea === window[type] && ev.key === key)\n setValue(deserialize(ev.newValue ?? undefined))\n })\n\n useWindowEvent(eventName, (ev) => {\n if (ev.detail.key === key) setValue(ev.detail.value)\n })\n\n useEffect(() => {\n if (defaultValue !== undefined && value === undefined)\n setStorageValue(defaultValue)\n }, [defaultValue, value, setStorageValue])\n\n useEffect(() => {\n if (getInitialValueInEffect) setValue(readStorageValue())\n }, [getInitialValueInEffect, readStorageValue])\n\n return [\n value === undefined ? defaultValue : value,\n setStorageValue,\n removeStorageValue,\n ] as const\n }\n}\n\n/**\n * `useLocalStorage` is a custom hook for storing, updating, and retrieving values in local storage.\n *\n * @see https://yamada-ui.com/docs/hooks/use-local-storage\n */\nexport const useLocalStorage = <Y = string>(props: StorageProps<Y>) =>\n createStorage<Y>(\"localStorage\", \"use-local-storage\")(props)\n"],"mappings":";;;;;;;AAgBA,MAAM,iBAAoB,OAAU,SAAiB;CACnD,IAAI;EACF,OAAO,KAAK,UAAU,KAAK;CAC7B,QAAQ;EACN,MAAM,IAAI,MAAM,mBAAmB,KAAK,gCAAgC;CAC1E;AACF;AAEA,MAAM,mBAAmB,UAA8B;CACrD,IAAI,CAAC,OAAO,OAAO;CAEnB,IAAI;EACF,OAAO,KAAK,MAAM,KAAK;CACzB,QAAQ;EACN,OAAO;CACT;AACF;AAEA,MAAa,iBAAoB,MAAmB,SAAiB;CACnE,MAAM,YACJ,SAAS,iBAAiB,kBAAkB;CAE9C,QAAQ,EACN,KACA,cACA,cAAc,iBACd,0BAA0B,MAC1B,aAAa,UAAa,cAAc,OAAO,IAAI,QAC9B;EACrB,MAAM,oBAAA,GAAmBA,MAAAA,YAAAA,EACtB,gBAA6B;GAC5B,IACE,OAAO,WAAW,eAClB,EAAE,QAAQ,WACT,OAAO,SAAwC,QAChD,aAEA,OAAQ,gBAAgB;GAE1B,MAAM,eAAe,OAAO,KAAK,CAAC,QAAQ,GAAG;GAE7C,OAAO,iBAAiB,OACpB,YAAY,YAAY,IACtB,gBAAgB;EACxB,GACA;GAAC;GAAK;GAAa;EAAY,CACjC;EAEA,MAAM,CAAC,OAAO,aAAA,GAAYC,MAAAA,SAAAA,CACxB,iBAAiB,uBAAuB,CAC1C;EAEA,MAAM,mBAAA,GAAkBD,MAAAA,YAAAA,EACrB,YAAuC;GACtC,KAAA,GAAA,oBAAA,cAAI,WAAA,CAAW,OAAO,GACpB,UAAU,YAAY;IACpB,MAAM,SAAS,QAAQ,OAAO;IAE9B,OAAO,KAAK,CAAC,QAAQ,KAAK,UAAU,MAAM,CAAC;IAC3C,OAAO,cACL,IAAI,YAAY,WAAW,EACzB,QAAQ;KAAE;KAAK,OAAO,QAAQ,OAAO;IAAE,EACzC,CAAC,CACH;IAEA,OAAO;GACT,CAAC;QACI;IACL,OAAO,KAAK,CAAC,QAAQ,KAAK,UAAU,OAAO,CAAC;IAC5C,OAAO,cACL,IAAI,YAAY,WAAW,EAAE,QAAQ;KAAE;KAAK,OAAO;IAAQ,EAAE,CAAC,CAChE;IAEA,SAAS,OAAO;GAClB;EACF,GACA,CAAC,KAAK,SAAS,CACjB;EAEA,MAAM,sBAAA,GAAqBA,MAAAA,YAAAA,OAAkB;GAC3C,OAAO,KAAK,CAAC,WAAW,GAAG;GAC3B,SAAS,YAAiB;EAC5B,GAAG,CAAC,cAAc,GAAG,CAAC;EAEtB,qCAAA,eAAe,YAAY,OAAO;GAChC,IAAI,GAAG,gBAAgB,OAAO,SAAS,GAAG,QAAQ,KAChD,SAAS,YAAY,GAAG,YAAY,KAAA,CAAS,CAAC;EAClD,CAAC;EAED,qCAAA,eAAe,YAAY,OAAO;GAChC,IAAI,GAAG,OAAO,QAAQ,KAAK,SAAS,GAAG,OAAO,KAAK;EACrD,CAAC;EAED,CAAA,GAAA,MAAA,UAAA,OAAgB;GACd,IAAI,iBAAiB,KAAA,KAAa,UAAU,KAAA,GAC1C,gBAAgB,YAAY;EAChC,GAAG;GAAC;GAAc;GAAO;EAAe,CAAC;EAEzC,CAAA,GAAA,MAAA,UAAA,OAAgB;GACd,IAAI,yBAAyB,SAAS,iBAAiB,CAAC;EAC1D,GAAG,CAAC,yBAAyB,gBAAgB,CAAC;EAE9C,OAAO;GACL,UAAU,KAAA,IAAY,eAAe;GACrC;GACA;EACF;CACF;AACF;;;;;;AAOA,MAAa,mBAA+B,UAC1C,cAAiB,gBAAgB,mBAAmB,CAAC,CAAC,KAAK"}
1
+ {"version":3,"file":"index.cjs","names":["useCallback","useState"],"sources":["../../../../src/hooks/use-local-storage/index.ts"],"sourcesContent":["\"use client\"\n\nimport { useCallback, useEffect, useState } from \"react\"\nimport { isFunction } from \"../../utils\"\nimport { useWindowEvent } from \"../use-window-event\"\n\nexport type StorageType = \"localStorage\" | \"sessionStorage\"\n\nexport interface StorageProps<Y> {\n key: string\n defaultValue?: Y\n getInitialValueInEffect?: boolean\n deserialize?: (value: string | undefined) => Y\n serialize?: (value: Y) => string\n}\n\nconst serializeJSON = <Y>(value: Y, name: string) => {\n try {\n return JSON.stringify(value)\n } catch {\n throw new Error(`useLocalStorage ${name}: Failed to serialize the value`)\n }\n}\n\nconst deserializeJSON = (value: string | undefined) => {\n if (!value) return value\n\n try {\n return JSON.parse(value)\n } catch {\n return value\n }\n}\n\nexport const createStorage = <Y>(type: StorageType, name: string) => {\n const eventName =\n type === \"localStorage\" ? \"local-storage\" : \"session-storage\"\n\n return ({\n key,\n defaultValue,\n deserialize = deserializeJSON,\n getInitialValueInEffect = true,\n serialize = (value: Y) => serializeJSON(value, name),\n }: StorageProps<Y>) => {\n const readStorageValue = useCallback(\n (skipStorage?: boolean): Y => {\n if (\n typeof window === \"undefined\" ||\n !(type in window) ||\n (window[type] as null | Storage | undefined) == null ||\n skipStorage\n )\n return (defaultValue ?? \"\") as Y\n\n const storageValue = window[type].getItem(key)\n\n return storageValue !== null\n ? deserialize(storageValue)\n : ((defaultValue ?? \"\") as Y)\n },\n [key, deserialize, defaultValue],\n )\n\n const [value, setValue] = useState<Y>(\n readStorageValue(getInitialValueInEffect),\n )\n\n const setStorageValue = useCallback(\n (valOrFn: ((prevState: Y) => Y) | Y) => {\n if (isFunction(valOrFn)) {\n setValue((current) => {\n const result = valOrFn(current)\n\n window[type].setItem(key, serialize(result))\n window.dispatchEvent(\n new CustomEvent(eventName, {\n detail: { key, value: valOrFn(current) },\n }),\n )\n\n return result\n })\n } else {\n window[type].setItem(key, serialize(valOrFn))\n window.dispatchEvent(\n new CustomEvent(eventName, { detail: { key, value: valOrFn } }),\n )\n\n setValue(valOrFn)\n }\n },\n [key, serialize],\n )\n\n const removeStorageValue = useCallback(() => {\n window[type].removeItem(key)\n setValue(defaultValue as Y)\n }, [defaultValue, key])\n\n useWindowEvent(\"storage\", (ev) => {\n if (ev.storageArea === window[type] && ev.key === key)\n setValue(deserialize(ev.newValue ?? undefined))\n })\n\n useWindowEvent(eventName, (ev) => {\n if (ev.detail.key === key) setValue(ev.detail.value)\n })\n\n useEffect(() => {\n if (defaultValue !== undefined && value === undefined)\n setStorageValue(defaultValue)\n }, [defaultValue, value, setStorageValue])\n\n useEffect(() => {\n if (getInitialValueInEffect) setValue(readStorageValue())\n }, [getInitialValueInEffect, readStorageValue])\n\n return [\n value === undefined ? defaultValue : value,\n setStorageValue,\n removeStorageValue,\n ] as const\n }\n}\n\n/**\n * `useLocalStorage` is a custom hook for storing, updating, and retrieving values in local storage.\n *\n * @see https://yamada-ui.com/docs/hooks/use-local-storage\n */\nexport const useLocalStorage = <Y = string>(props: StorageProps<Y>) =>\n createStorage<Y>(\"localStorage\", \"use-local-storage\")(props)\n"],"mappings":";;;;;;AAgBA,MAAM,iBAAoB,OAAU,SAAiB;CACnD,IAAI;EACF,OAAO,KAAK,UAAU,KAAK;CAC7B,QAAQ;EACN,MAAM,IAAI,MAAM,mBAAmB,KAAK,gCAAgC;CAC1E;AACF;AAEA,MAAM,mBAAmB,UAA8B;CACrD,IAAI,CAAC,OAAO,OAAO;CAEnB,IAAI;EACF,OAAO,KAAK,MAAM,KAAK;CACzB,QAAQ;EACN,OAAO;CACT;AACF;AAEA,MAAa,iBAAoB,MAAmB,SAAiB;CACnE,MAAM,YACJ,SAAS,iBAAiB,kBAAkB;CAE9C,QAAQ,EACN,KACA,cACA,cAAc,iBACd,0BAA0B,MAC1B,aAAa,UAAa,cAAc,OAAO,IAAI,QAC9B;EACrB,MAAM,oBAAA,GAAmBA,MAAAA,YAAAA,EACtB,gBAA6B;GAC5B,IACE,OAAO,WAAW,eAClB,EAAE,QAAQ,WACT,OAAO,SAAwC,QAChD,aAEA,OAAQ,gBAAgB;GAE1B,MAAM,eAAe,OAAO,KAAK,CAAC,QAAQ,GAAG;GAE7C,OAAO,iBAAiB,OACpB,YAAY,YAAY,IACtB,gBAAgB;EACxB,GACA;GAAC;GAAK;GAAa;EAAY,CACjC;EAEA,MAAM,CAAC,OAAO,aAAA,GAAYC,MAAAA,SAAAA,CACxB,iBAAiB,uBAAuB,CAC1C;EAEA,MAAM,mBAAA,GAAkBD,MAAAA,YAAAA,EACrB,YAAuC;GACtC,KAAA,GAAA,oBAAA,cAAI,WAAA,CAAW,OAAO,GACpB,UAAU,YAAY;IACpB,MAAM,SAAS,QAAQ,OAAO;IAE9B,OAAO,KAAK,CAAC,QAAQ,KAAK,UAAU,MAAM,CAAC;IAC3C,OAAO,cACL,IAAI,YAAY,WAAW,EACzB,QAAQ;KAAE;KAAK,OAAO,QAAQ,OAAO;IAAE,EACzC,CAAC,CACH;IAEA,OAAO;GACT,CAAC;QACI;IACL,OAAO,KAAK,CAAC,QAAQ,KAAK,UAAU,OAAO,CAAC;IAC5C,OAAO,cACL,IAAI,YAAY,WAAW,EAAE,QAAQ;KAAE;KAAK,OAAO;IAAQ,EAAE,CAAC,CAChE;IAEA,SAAS,OAAO;GAClB;EACF,GACA,CAAC,KAAK,SAAS,CACjB;EAEA,MAAM,sBAAA,GAAqBA,MAAAA,YAAAA,OAAkB;GAC3C,OAAO,KAAK,CAAC,WAAW,GAAG;GAC3B,SAAS,YAAiB;EAC5B,GAAG,CAAC,cAAc,GAAG,CAAC;EAEtB,qCAAA,eAAe,YAAY,OAAO;GAChC,IAAI,GAAG,gBAAgB,OAAO,SAAS,GAAG,QAAQ,KAChD,SAAS,YAAY,GAAG,YAAY,KAAA,CAAS,CAAC;EAClD,CAAC;EAED,qCAAA,eAAe,YAAY,OAAO;GAChC,IAAI,GAAG,OAAO,QAAQ,KAAK,SAAS,GAAG,OAAO,KAAK;EACrD,CAAC;EAED,CAAA,GAAA,MAAA,UAAA,OAAgB;GACd,IAAI,iBAAiB,KAAA,KAAa,UAAU,KAAA,GAC1C,gBAAgB,YAAY;EAChC,GAAG;GAAC;GAAc;GAAO;EAAe,CAAC;EAEzC,CAAA,GAAA,MAAA,UAAA,OAAgB;GACd,IAAI,yBAAyB,SAAS,iBAAiB,CAAC;EAC1D,GAAG,CAAC,yBAAyB,gBAAgB,CAAC;EAE9C,OAAO;GACL,UAAU,KAAA,IAAY,eAAe;GACrC;GACA;EACF;CACF;AACF;;;;;;AAOA,MAAa,mBAA+B,UAC1C,cAAiB,gBAAgB,mBAAmB,CAAC,CAAC,KAAK"}
@@ -1,6 +1,5 @@
1
1
  "use client";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- require("../../_virtual/_rolldown/runtime.cjs");
4
3
  const require_environment_provider = require("../../core/system/environment-provider.cjs");
5
4
  let react = require("react");
6
5
  //#region src/hooks/use-media-query/index.ts
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","names":["useEnvironment","useCallback","useSyncExternalStore"],"sources":["../../../../src/hooks/use-media-query/index.ts"],"sourcesContent":["\"use client\"\n\nimport { useCallback, useSyncExternalStore } from \"react\"\nimport { useEnvironment } from \"../../core\"\n\n/**\n * `useMediaQuery` is a custom hook that detects whether it matches a media query.\n *\n * @see https://yamada-ui.com/docs/hooks/use-media-query\n */\nexport const useMediaQuery = (query: string, fallback = false): boolean => {\n const { getWindow } = useEnvironment()\n\n const subscribe = useCallback(\n (onStoreChange: () => void) => {\n const mql = getWindow()?.matchMedia(query)\n\n mql?.addEventListener(\"change\", onStoreChange)\n\n return () => {\n mql?.removeEventListener(\"change\", onStoreChange)\n }\n },\n [getWindow, query],\n )\n\n const getSnapshot = useCallback(() => {\n return getWindow()?.matchMedia(query).matches ?? fallback\n }, [getWindow, query, fallback])\n\n return useSyncExternalStore(subscribe, getSnapshot, getSnapshot)\n}\n"],"mappings":";;;;;;;;;;;AAUA,MAAa,iBAAiB,OAAe,WAAW,UAAmB;CACzE,MAAM,EAAE,cAAcA,6BAAAA,eAAe;CAErC,MAAM,aAAA,GAAYC,MAAAA,YAAAA,EACf,kBAA8B;EAC7B,MAAM,MAAM,UAAU,CAAC,EAAE,WAAW,KAAK;EAEzC,KAAK,iBAAiB,UAAU,aAAa;EAE7C,aAAa;GACX,KAAK,oBAAoB,UAAU,aAAa;EAClD;CACF,GACA,CAAC,WAAW,KAAK,CACnB;CAEA,MAAM,eAAA,GAAcA,MAAAA,YAAAA,OAAkB;EACpC,OAAO,UAAU,CAAC,EAAE,WAAW,KAAK,CAAC,CAAC,WAAW;CACnD,GAAG;EAAC;EAAW;EAAO;CAAQ,CAAC;CAE/B,QAAA,GAAOC,MAAAA,qBAAAA,CAAqB,WAAW,aAAa,WAAW;AACjE"}
1
+ {"version":3,"file":"index.cjs","names":["useEnvironment","useCallback","useSyncExternalStore"],"sources":["../../../../src/hooks/use-media-query/index.ts"],"sourcesContent":["\"use client\"\n\nimport { useCallback, useSyncExternalStore } from \"react\"\nimport { useEnvironment } from \"../../core\"\n\n/**\n * `useMediaQuery` is a custom hook that detects whether it matches a media query.\n *\n * @see https://yamada-ui.com/docs/hooks/use-media-query\n */\nexport const useMediaQuery = (query: string, fallback = false): boolean => {\n const { getWindow } = useEnvironment()\n\n const subscribe = useCallback(\n (onStoreChange: () => void) => {\n const mql = getWindow()?.matchMedia(query)\n\n mql?.addEventListener(\"change\", onStoreChange)\n\n return () => {\n mql?.removeEventListener(\"change\", onStoreChange)\n }\n },\n [getWindow, query],\n )\n\n const getSnapshot = useCallback(() => {\n return getWindow()?.matchMedia(query).matches ?? fallback\n }, [getWindow, query, fallback])\n\n return useSyncExternalStore(subscribe, getSnapshot, getSnapshot)\n}\n"],"mappings":";;;;;;;;;;AAUA,MAAa,iBAAiB,OAAe,WAAW,UAAmB;CACzE,MAAM,EAAE,cAAcA,6BAAAA,eAAe;CAErC,MAAM,aAAA,GAAYC,MAAAA,YAAAA,EACf,kBAA8B;EAC7B,MAAM,MAAM,UAAU,CAAC,EAAE,WAAW,KAAK;EAEzC,KAAK,iBAAiB,UAAU,aAAa;EAE7C,aAAa;GACX,KAAK,oBAAoB,UAAU,aAAa;EAClD;CACF,GACA,CAAC,WAAW,KAAK,CACnB;CAEA,MAAM,eAAA,GAAcA,MAAAA,YAAAA,OAAkB;EACpC,OAAO,UAAU,CAAC,EAAE,WAAW,KAAK,CAAC,CAAC,WAAW;CACnD,GAAG;EAAC;EAAW;EAAO;CAAQ,CAAC;CAE/B,QAAA,GAAOC,MAAAA,qBAAAA,CAAqB,WAAW,aAAa,WAAW;AACjE"}
@@ -1,6 +1,5 @@
1
1
  "use client";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- require("../../_virtual/_rolldown/runtime.cjs");
4
3
  const require_effect = require("../../utils/effect.cjs");
5
4
  let react = require("react");
6
5
  //#region src/hooks/use-mounted/index.ts
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","names":["useRef","useState","useCallback"],"sources":["../../../../src/hooks/use-mounted/index.ts"],"sourcesContent":["\"use client\"\n\nimport { useCallback, useRef, useState } from \"react\"\nimport { useSafeLayoutEffect } from \"../../utils\"\n\nexport interface UseMountedProps {\n delay?: number\n state?: boolean\n}\n\nexport function useMounted(props?: {\n delay?: number\n state?: false\n}): () => boolean\n\nexport function useMounted(props?: { delay?: number; state?: true }): boolean\n\nexport function useMounted({ delay = 0, state = false }: UseMountedProps = {}) {\n const mountedRef = useRef(false)\n const [mounted, setMounted] = useState(false)\n\n useSafeLayoutEffect(() => {\n mountedRef.current = true\n\n let timeoutId: NodeJS.Timeout | null = null\n\n if (state)\n if (delay > 0) timeoutId = setTimeout(() => setMounted(true), delay)\n else setMounted(true)\n\n return () => {\n mountedRef.current = false\n\n if (state) setMounted(false)\n\n if (timeoutId) clearTimeout(timeoutId)\n }\n }, [delay, state])\n\n if (state) return mounted\n else\n // eslint-disable-next-line react-hooks/rules-of-hooks\n return useCallback(() => mountedRef.current, [])\n}\n\nexport type UseMountedReturn = ReturnType<typeof useMounted>\n"],"mappings":";;;;;;AAiBA,SAAgB,WAAW,EAAE,QAAQ,GAAG,QAAQ,UAA2B,CAAC,GAAG;CAC7E,MAAM,cAAA,GAAaA,MAAAA,OAAAA,CAAO,KAAK;CAC/B,MAAM,CAAC,SAAS,eAAA,GAAcC,MAAAA,SAAAA,CAAS,KAAK;CAE5C,eAAA,0BAA0B;EACxB,WAAW,UAAU;EAErB,IAAI,YAAmC;EAEvC,IAAI,OACF,IAAI,QAAQ,GAAG,YAAY,iBAAiB,WAAW,IAAI,GAAG,KAAK;OAC9D,WAAW,IAAI;EAEtB,aAAa;GACX,WAAW,UAAU;GAErB,IAAI,OAAO,WAAW,KAAK;GAE3B,IAAI,WAAW,aAAa,SAAS;EACvC;CACF,GAAG,CAAC,OAAO,KAAK,CAAC;CAEjB,IAAI,OAAO,OAAO;MAGhB,QAAA,GAAOC,MAAAA,YAAAA,OAAkB,WAAW,SAAS,CAAC,CAAC;AACnD"}
1
+ {"version":3,"file":"index.cjs","names":["useRef","useState","useCallback"],"sources":["../../../../src/hooks/use-mounted/index.ts"],"sourcesContent":["\"use client\"\n\nimport { useCallback, useRef, useState } from \"react\"\nimport { useSafeLayoutEffect } from \"../../utils\"\n\nexport interface UseMountedProps {\n delay?: number\n state?: boolean\n}\n\nexport function useMounted(props?: {\n delay?: number\n state?: false\n}): () => boolean\n\nexport function useMounted(props?: { delay?: number; state?: true }): boolean\n\nexport function useMounted({ delay = 0, state = false }: UseMountedProps = {}) {\n const mountedRef = useRef(false)\n const [mounted, setMounted] = useState(false)\n\n useSafeLayoutEffect(() => {\n mountedRef.current = true\n\n let timeoutId: NodeJS.Timeout | null = null\n\n if (state)\n if (delay > 0) timeoutId = setTimeout(() => setMounted(true), delay)\n else setMounted(true)\n\n return () => {\n mountedRef.current = false\n\n if (state) setMounted(false)\n\n if (timeoutId) clearTimeout(timeoutId)\n }\n }, [delay, state])\n\n if (state) return mounted\n else\n // eslint-disable-next-line react-hooks/rules-of-hooks\n return useCallback(() => mountedRef.current, [])\n}\n\nexport type UseMountedReturn = ReturnType<typeof useMounted>\n"],"mappings":";;;;;AAiBA,SAAgB,WAAW,EAAE,QAAQ,GAAG,QAAQ,UAA2B,CAAC,GAAG;CAC7E,MAAM,cAAA,GAAaA,MAAAA,OAAAA,CAAO,KAAK;CAC/B,MAAM,CAAC,SAAS,eAAA,GAAcC,MAAAA,SAAAA,CAAS,KAAK;CAE5C,eAAA,0BAA0B;EACxB,WAAW,UAAU;EAErB,IAAI,YAAmC;EAEvC,IAAI,OACF,IAAI,QAAQ,GAAG,YAAY,iBAAiB,WAAW,IAAI,GAAG,KAAK;OAC9D,WAAW,IAAI;EAEtB,aAAa;GACX,WAAW,UAAU;GAErB,IAAI,OAAO,WAAW,KAAK;GAE3B,IAAI,WAAW,aAAa,SAAS;EACvC;CACF,GAAG,CAAC,OAAO,KAAK,CAAC;CAEjB,IAAI,OAAO,OAAO;MAGhB,QAAA,GAAOC,MAAAA,YAAAA,OAAkB,WAAW,SAAS,CAAC,CAAC;AACnD"}
@@ -1,6 +1,5 @@
1
1
  "use client";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- require("../../_virtual/_rolldown/runtime.cjs");
4
3
  let react = require("react");
5
4
  //#region src/hooks/use-online/index.ts
6
5
  function subscribe(callback) {
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","names":["useSyncExternalStore"],"sources":["../../../../src/hooks/use-online/index.ts"],"sourcesContent":["\"use client\"\n\nimport { useSyncExternalStore } from \"react\"\n\nfunction subscribe(callback: () => void) {\n window.addEventListener(\"online\", callback)\n window.addEventListener(\"offline\", callback)\n\n return () => {\n window.removeEventListener(\"online\", callback)\n window.removeEventListener(\"offline\", callback)\n }\n}\n\nfunction getSnapshot() {\n return window.navigator.onLine\n}\n\nexport interface UseOnlineProps {}\n\nexport function useOnline(\n getServerSnapshot: () => boolean = () => true,\n): boolean {\n const online = useSyncExternalStore(subscribe, getSnapshot, getServerSnapshot)\n\n return online\n}\n\nexport type UseOnlineReturn = ReturnType<typeof useOnline>\n"],"mappings":";;;;;AAIA,SAAS,UAAU,UAAsB;CACvC,OAAO,iBAAiB,UAAU,QAAQ;CAC1C,OAAO,iBAAiB,WAAW,QAAQ;CAE3C,aAAa;EACX,OAAO,oBAAoB,UAAU,QAAQ;EAC7C,OAAO,oBAAoB,WAAW,QAAQ;CAChD;AACF;AAEA,SAAS,cAAc;CACrB,OAAO,OAAO,UAAU;AAC1B;AAIA,SAAgB,UACd,0BAAyC,MAChC;CAGT,QAAA,GAFeA,MAAAA,qBAAAA,CAAqB,WAAW,aAAa,iBAEhD;AACd"}
1
+ {"version":3,"file":"index.cjs","names":["useSyncExternalStore"],"sources":["../../../../src/hooks/use-online/index.ts"],"sourcesContent":["\"use client\"\n\nimport { useSyncExternalStore } from \"react\"\n\nfunction subscribe(callback: () => void) {\n window.addEventListener(\"online\", callback)\n window.addEventListener(\"offline\", callback)\n\n return () => {\n window.removeEventListener(\"online\", callback)\n window.removeEventListener(\"offline\", callback)\n }\n}\n\nfunction getSnapshot() {\n return window.navigator.onLine\n}\n\nexport interface UseOnlineProps {}\n\nexport function useOnline(\n getServerSnapshot: () => boolean = () => true,\n): boolean {\n const online = useSyncExternalStore(subscribe, getSnapshot, getServerSnapshot)\n\n return online\n}\n\nexport type UseOnlineReturn = ReturnType<typeof useOnline>\n"],"mappings":";;;;AAIA,SAAS,UAAU,UAAsB;CACvC,OAAO,iBAAiB,UAAU,QAAQ;CAC1C,OAAO,iBAAiB,WAAW,QAAQ;CAE3C,aAAa;EACX,OAAO,oBAAoB,UAAU,QAAQ;EAC7C,OAAO,oBAAoB,WAAW,QAAQ;CAChD;AACF;AAEA,SAAS,cAAc;CACrB,OAAO,OAAO,UAAU;AAC1B;AAIA,SAAgB,UACd,0BAAyC,MAChC;CAGT,QAAA,GAFeA,MAAAA,qBAAAA,CAAqB,WAAW,aAAa,iBAEhD;AACd"}
@@ -1,6 +1,5 @@
1
1
  "use client";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- require("../../_virtual/_rolldown/runtime.cjs");
4
3
  const require_ref = require("../../utils/ref.cjs");
5
4
  const require_utils_index = require("../../utils/index.cjs");
6
5
  let react = require("react");
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","names":["useCallbackRef","useRef","useCallback"],"sources":["../../../../src/hooks/use-outside-click/index.ts"],"sourcesContent":["\"use client\"\n\nimport type { RefObject } from \"react\"\nimport { useCallback, useEffect, useRef } from \"react\"\nimport { getDocument, isArray, useCallbackRef } from \"../../utils\"\n\nexport interface UseOutsideClickProps {\n ref: RefObject<HTMLElement | null> | RefObject<HTMLElement | null>[]\n enabled?: boolean\n handler?: (ev: Event) => void\n}\n\n/**\n * `useOutsideClick` is a custom hook that detects click events outside of an element.\n *\n * @see https://yamada-ui.com/docs/hooks/use-outside-click\n */\nexport const useOutsideClick = ({\n ref,\n enabled = true,\n handler,\n}: UseOutsideClickProps) => {\n const handlerRef = useCallbackRef(handler)\n\n const state = useRef({\n ignoreEmulatedMouseEvents: false,\n isPointerDown: false,\n })\n\n const onPointerDown = useCallback(\n (ev: MouseEvent | TouchEvent) => {\n if (isValidEvent(ev, ref)) state.current.isPointerDown = true\n },\n [ref],\n )\n\n const onMouseUp = useCallback(\n (ev: MouseEvent) => {\n if (state.current.ignoreEmulatedMouseEvents) {\n state.current.ignoreEmulatedMouseEvents = false\n\n return\n }\n\n if (state.current.isPointerDown && handler && isValidEvent(ev, ref)) {\n state.current.isPointerDown = false\n\n handlerRef(ev)\n }\n },\n [handler, handlerRef, ref],\n )\n\n const onTouchEnd = useCallback(\n (ev: TouchEvent) => {\n state.current.ignoreEmulatedMouseEvents = true\n\n if (state.current.isPointerDown && handler && isValidEvent(ev, ref)) {\n state.current.isPointerDown = false\n\n handlerRef(ev)\n }\n },\n [handler, handlerRef, ref],\n )\n\n useEffect(() => {\n if (!enabled) return\n\n const doc = getDocument(isArray(ref) ? ref[0]?.current : ref.current)\n\n doc.addEventListener(\"mousedown\", onPointerDown, true)\n doc.addEventListener(\"mouseup\", onMouseUp, true)\n doc.addEventListener(\"touchstart\", onPointerDown, true)\n doc.addEventListener(\"touchend\", onTouchEnd, true)\n\n return () => {\n doc.removeEventListener(\"mousedown\", onPointerDown, true)\n doc.removeEventListener(\"mouseup\", onMouseUp, true)\n doc.removeEventListener(\"touchstart\", onPointerDown, true)\n doc.removeEventListener(\"touchend\", onTouchEnd, true)\n }\n }, [\n handler,\n ref,\n handlerRef,\n state,\n enabled,\n onPointerDown,\n onMouseUp,\n onTouchEnd,\n ])\n}\n\nconst isValidEvent = (\n ev: MouseEvent | TouchEvent,\n ref: RefObject<HTMLElement | null> | RefObject<HTMLElement | null>[],\n) => {\n const target = ev.target as HTMLElement | null\n const path = ev.composedPath()\n\n if (\"button\" in ev && ev.button > 0) return false\n\n if (target) if (!getDocument(target).contains(target)) return false\n\n const contains = (el: HTMLElement | null) =>\n !!el && (path.includes(el) || el.contains(target))\n\n if (isArray(ref)) return !ref.some(({ current }) => contains(current))\n else return !contains(ref.current)\n}\n"],"mappings":";;;;;;;;;;;;AAiBA,MAAa,mBAAmB,EAC9B,KACA,UAAU,MACV,cAC0B;CAC1B,MAAM,aAAaA,YAAAA,eAAe,OAAO;CAEzC,MAAM,SAAA,GAAQC,MAAAA,OAAAA,CAAO;EACnB,2BAA2B;EAC3B,eAAe;CACjB,CAAC;CAED,MAAM,iBAAA,GAAgBC,MAAAA,YAAAA,EACnB,OAAgC;EAC/B,IAAI,aAAa,IAAI,GAAG,GAAG,MAAM,QAAQ,gBAAgB;CAC3D,GACA,CAAC,GAAG,CACN;CAEA,MAAM,aAAA,GAAYA,MAAAA,YAAAA,EACf,OAAmB;EAClB,IAAI,MAAM,QAAQ,2BAA2B;GAC3C,MAAM,QAAQ,4BAA4B;GAE1C;EACF;EAEA,IAAI,MAAM,QAAQ,iBAAiB,WAAW,aAAa,IAAI,GAAG,GAAG;GACnE,MAAM,QAAQ,gBAAgB;GAE9B,WAAW,EAAE;EACf;CACF,GACA;EAAC;EAAS;EAAY;CAAG,CAC3B;CAEA,MAAM,cAAA,GAAaA,MAAAA,YAAAA,EAChB,OAAmB;EAClB,MAAM,QAAQ,4BAA4B;EAE1C,IAAI,MAAM,QAAQ,iBAAiB,WAAW,aAAa,IAAI,GAAG,GAAG;GACnE,MAAM,QAAQ,gBAAgB;GAE9B,WAAW,EAAE;EACf;CACF,GACA;EAAC;EAAS;EAAY;CAAG,CAC3B;CAEA,CAAA,GAAA,MAAA,UAAA,OAAgB;EACd,IAAI,CAAC,SAAS;EAEd,MAAM,OAAA,GAAA,oBAAA,cAAM,YAAA,EAAA,GAAA,oBAAA,cAAY,QAAA,CAAQ,GAAG,IAAI,IAAI,EAAE,EAAE,UAAU,IAAI,OAAO;EAEpE,IAAI,iBAAiB,aAAa,eAAe,IAAI;EACrD,IAAI,iBAAiB,WAAW,WAAW,IAAI;EAC/C,IAAI,iBAAiB,cAAc,eAAe,IAAI;EACtD,IAAI,iBAAiB,YAAY,YAAY,IAAI;EAEjD,aAAa;GACX,IAAI,oBAAoB,aAAa,eAAe,IAAI;GACxD,IAAI,oBAAoB,WAAW,WAAW,IAAI;GAClD,IAAI,oBAAoB,cAAc,eAAe,IAAI;GACzD,IAAI,oBAAoB,YAAY,YAAY,IAAI;EACtD;CACF,GAAG;EACD;EACA;EACA;EACA;EACA;EACA;EACA;EACA;CACF,CAAC;AACH;AAEA,MAAM,gBACJ,IACA,QACG;CACH,MAAM,SAAS,GAAG;CAClB,MAAM,OAAO,GAAG,aAAa;CAE7B,IAAI,YAAY,MAAM,GAAG,SAAS,GAAG,OAAO;CAE5C,IAAI,QAAY;MAAA,EAAA,GAAA,oBAAA,cAAC,YAAA,CAAY,MAAM,CAAC,CAAC,SAAS,MAAM,GAAG,OAAO;CAAA;CAE9D,MAAM,YAAY,OAChB,CAAC,CAAC,OAAO,KAAK,SAAS,EAAE,KAAK,GAAG,SAAS,MAAM;CAElD,KAAA,GAAA,oBAAA,cAAI,QAAA,CAAQ,GAAG,GAAG,OAAO,CAAC,IAAI,MAAM,EAAE,cAAc,SAAS,OAAO,CAAC;MAChE,OAAO,CAAC,SAAS,IAAI,OAAO;AACnC"}
1
+ {"version":3,"file":"index.cjs","names":["useCallbackRef","useRef","useCallback"],"sources":["../../../../src/hooks/use-outside-click/index.ts"],"sourcesContent":["\"use client\"\n\nimport type { RefObject } from \"react\"\nimport { useCallback, useEffect, useRef } from \"react\"\nimport { getDocument, isArray, useCallbackRef } from \"../../utils\"\n\nexport interface UseOutsideClickProps {\n ref: RefObject<HTMLElement | null> | RefObject<HTMLElement | null>[]\n enabled?: boolean\n handler?: (ev: Event) => void\n}\n\n/**\n * `useOutsideClick` is a custom hook that detects click events outside of an element.\n *\n * @see https://yamada-ui.com/docs/hooks/use-outside-click\n */\nexport const useOutsideClick = ({\n ref,\n enabled = true,\n handler,\n}: UseOutsideClickProps) => {\n const handlerRef = useCallbackRef(handler)\n\n const state = useRef({\n ignoreEmulatedMouseEvents: false,\n isPointerDown: false,\n })\n\n const onPointerDown = useCallback(\n (ev: MouseEvent | TouchEvent) => {\n if (isValidEvent(ev, ref)) state.current.isPointerDown = true\n },\n [ref],\n )\n\n const onMouseUp = useCallback(\n (ev: MouseEvent) => {\n if (state.current.ignoreEmulatedMouseEvents) {\n state.current.ignoreEmulatedMouseEvents = false\n\n return\n }\n\n if (state.current.isPointerDown && handler && isValidEvent(ev, ref)) {\n state.current.isPointerDown = false\n\n handlerRef(ev)\n }\n },\n [handler, handlerRef, ref],\n )\n\n const onTouchEnd = useCallback(\n (ev: TouchEvent) => {\n state.current.ignoreEmulatedMouseEvents = true\n\n if (state.current.isPointerDown && handler && isValidEvent(ev, ref)) {\n state.current.isPointerDown = false\n\n handlerRef(ev)\n }\n },\n [handler, handlerRef, ref],\n )\n\n useEffect(() => {\n if (!enabled) return\n\n const doc = getDocument(isArray(ref) ? ref[0]?.current : ref.current)\n\n doc.addEventListener(\"mousedown\", onPointerDown, true)\n doc.addEventListener(\"mouseup\", onMouseUp, true)\n doc.addEventListener(\"touchstart\", onPointerDown, true)\n doc.addEventListener(\"touchend\", onTouchEnd, true)\n\n return () => {\n doc.removeEventListener(\"mousedown\", onPointerDown, true)\n doc.removeEventListener(\"mouseup\", onMouseUp, true)\n doc.removeEventListener(\"touchstart\", onPointerDown, true)\n doc.removeEventListener(\"touchend\", onTouchEnd, true)\n }\n }, [\n handler,\n ref,\n handlerRef,\n state,\n enabled,\n onPointerDown,\n onMouseUp,\n onTouchEnd,\n ])\n}\n\nconst isValidEvent = (\n ev: MouseEvent | TouchEvent,\n ref: RefObject<HTMLElement | null> | RefObject<HTMLElement | null>[],\n) => {\n const target = ev.target as HTMLElement | null\n const path = ev.composedPath()\n\n if (\"button\" in ev && ev.button > 0) return false\n\n if (target) if (!getDocument(target).contains(target)) return false\n\n const contains = (el: HTMLElement | null) =>\n !!el && (path.includes(el) || el.contains(target))\n\n if (isArray(ref)) return !ref.some(({ current }) => contains(current))\n else return !contains(ref.current)\n}\n"],"mappings":";;;;;;;;;;;AAiBA,MAAa,mBAAmB,EAC9B,KACA,UAAU,MACV,cAC0B;CAC1B,MAAM,aAAaA,YAAAA,eAAe,OAAO;CAEzC,MAAM,SAAA,GAAQC,MAAAA,OAAAA,CAAO;EACnB,2BAA2B;EAC3B,eAAe;CACjB,CAAC;CAED,MAAM,iBAAA,GAAgBC,MAAAA,YAAAA,EACnB,OAAgC;EAC/B,IAAI,aAAa,IAAI,GAAG,GAAG,MAAM,QAAQ,gBAAgB;CAC3D,GACA,CAAC,GAAG,CACN;CAEA,MAAM,aAAA,GAAYA,MAAAA,YAAAA,EACf,OAAmB;EAClB,IAAI,MAAM,QAAQ,2BAA2B;GAC3C,MAAM,QAAQ,4BAA4B;GAE1C;EACF;EAEA,IAAI,MAAM,QAAQ,iBAAiB,WAAW,aAAa,IAAI,GAAG,GAAG;GACnE,MAAM,QAAQ,gBAAgB;GAE9B,WAAW,EAAE;EACf;CACF,GACA;EAAC;EAAS;EAAY;CAAG,CAC3B;CAEA,MAAM,cAAA,GAAaA,MAAAA,YAAAA,EAChB,OAAmB;EAClB,MAAM,QAAQ,4BAA4B;EAE1C,IAAI,MAAM,QAAQ,iBAAiB,WAAW,aAAa,IAAI,GAAG,GAAG;GACnE,MAAM,QAAQ,gBAAgB;GAE9B,WAAW,EAAE;EACf;CACF,GACA;EAAC;EAAS;EAAY;CAAG,CAC3B;CAEA,CAAA,GAAA,MAAA,UAAA,OAAgB;EACd,IAAI,CAAC,SAAS;EAEd,MAAM,OAAA,GAAA,oBAAA,cAAM,YAAA,EAAA,GAAA,oBAAA,cAAY,QAAA,CAAQ,GAAG,IAAI,IAAI,EAAE,EAAE,UAAU,IAAI,OAAO;EAEpE,IAAI,iBAAiB,aAAa,eAAe,IAAI;EACrD,IAAI,iBAAiB,WAAW,WAAW,IAAI;EAC/C,IAAI,iBAAiB,cAAc,eAAe,IAAI;EACtD,IAAI,iBAAiB,YAAY,YAAY,IAAI;EAEjD,aAAa;GACX,IAAI,oBAAoB,aAAa,eAAe,IAAI;GACxD,IAAI,oBAAoB,WAAW,WAAW,IAAI;GAClD,IAAI,oBAAoB,cAAc,eAAe,IAAI;GACzD,IAAI,oBAAoB,YAAY,YAAY,IAAI;EACtD;CACF,GAAG;EACD;EACA;EACA;EACA;EACA;EACA;EACA;EACA;CACF,CAAC;AACH;AAEA,MAAM,gBACJ,IACA,QACG;CACH,MAAM,SAAS,GAAG;CAClB,MAAM,OAAO,GAAG,aAAa;CAE7B,IAAI,YAAY,MAAM,GAAG,SAAS,GAAG,OAAO;CAE5C,IAAI,QAAY;MAAA,EAAA,GAAA,oBAAA,cAAC,YAAA,CAAY,MAAM,CAAC,CAAC,SAAS,MAAM,GAAG,OAAO;CAAA;CAE9D,MAAM,YAAY,OAChB,CAAC,CAAC,OAAO,KAAK,SAAS,EAAE,KAAK,GAAG,SAAS,MAAM;CAElD,KAAA,GAAA,oBAAA,cAAI,QAAA,CAAQ,GAAG,GAAG,OAAO,CAAC,IAAI,MAAM,EAAE,cAAc,SAAS,OAAO,CAAC;MAChE,OAAO,CAAC,SAAS,IAAI,OAAO;AACnC"}
@@ -1,6 +1,5 @@
1
1
  "use client";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- require("../../_virtual/_rolldown/runtime.cjs");
4
3
  const require_effect = require("../../utils/effect.cjs");
5
4
  const require_ref = require("../../utils/ref.cjs");
6
5
  const require_utils_index = require("../../utils/index.cjs");
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","names":["useEnvironment","useCallbackRef","useRef","useCallback","mergeRefs"],"sources":["../../../../src/hooks/use-pan-event/index.ts"],"sourcesContent":["\"use client\"\n\nimport type {\n DataAttributes,\n HTMLAttributes,\n RefAttributes,\n RefObject,\n} from \"react\"\nimport type { Point } from \"../../utils\"\nimport { useCallback, useRef } from \"react\"\nimport { useEnvironment } from \"../../core\"\nimport {\n addDomEvent,\n getEventPoint,\n handlerAll,\n isMultiTouchEvent,\n mergeRefs,\n useCallbackRef,\n useUnmountEffect,\n} from \"../../utils\"\n\nexport interface PanEventProps {\n threshold?: number\n onEnd?: (ev: PointerEvent, point: Point, rect: DOMRect) => void\n onMove?: (ev: PointerEvent, point: Point, rect: DOMRect) => void\n onStart?: (ev: PointerEvent, point: Point, rect: DOMRect) => void\n}\n\ninterface Props<Y extends HTMLElement>\n extends DataAttributes, HTMLAttributes<Y>, RefAttributes<Y> {}\n\nexport const usePanEvent = <Y extends HTMLElement>({\n threshold = 3,\n ...rest\n}: PanEventProps = {}): [\n RefObject<null | Y>,\n (props?: Props<Y>) => Props<Y>,\n] => {\n const { getWindow } = useEnvironment()\n const onStart = useCallbackRef(rest.onStart)\n const onMove = useCallbackRef(rest.onMove)\n const onEnd = useCallbackRef(rest.onEnd)\n const latestPoint = useRef<null | Point>(null)\n const unsubscribe = useRef<(() => void)[]>([])\n const ref = useRef<Y>(null)\n\n const cleanup = useCallback(() => {\n unsubscribe.current.forEach((unsubscribe) => unsubscribe())\n\n latestPoint.current = null\n unsubscribe.current = []\n }, [])\n\n const shouldMove = useCallback(\n (point: Point) => {\n if (threshold === 0) return true\n if (!latestPoint.current) return true\n\n const distance = Math.sqrt(\n Math.pow(point.x - latestPoint.current.x, 2) +\n Math.pow(point.y - latestPoint.current.y, 2),\n )\n\n return distance >= threshold\n },\n [threshold],\n )\n\n useUnmountEffect(() => {\n cleanup()\n })\n\n const getProps = useCallback(\n (props: Props<Y> = {}) => {\n return {\n ...props,\n ref: mergeRefs(ref, props.ref),\n onPointerDown: handlerAll(props.onPointerDown, (ev) => {\n const win = ev.nativeEvent.view ?? getWindow()\n\n if (!win) return\n if (isMultiTouchEvent(ev.nativeEvent)) return\n if (!ref.current) return\n\n ev.preventDefault()\n\n const point = getEventPoint(ev.nativeEvent)\n const rect = ref.current.getBoundingClientRect()\n\n onStart(ev.nativeEvent, point, rect)\n\n latestPoint.current = point\n\n unsubscribe.current.push(\n addDomEvent(win, \"pointermove\", (ev) => {\n if (!ref.current) return\n\n const point = getEventPoint(ev)\n const rect = ref.current.getBoundingClientRect()\n\n if (!shouldMove(point)) return\n\n latestPoint.current = point\n\n onMove(ev, point, rect)\n }),\n )\n\n unsubscribe.current.push(\n addDomEvent(win, \"pointerup\", (ev) => {\n if (!ref.current) return\n\n cleanup()\n\n const point = getEventPoint(ev)\n const rect = ref.current.getBoundingClientRect()\n\n onEnd(ev, point, rect)\n }),\n )\n\n unsubscribe.current.push(\n addDomEvent(win, \"pointercancel\", (ev) => {\n if (!ref.current) return\n\n cleanup()\n\n const point = getEventPoint(ev)\n const rect = ref.current.getBoundingClientRect()\n\n onEnd(ev, point, rect)\n }),\n )\n }),\n }\n },\n [cleanup, getWindow, onEnd, onMove, onStart, shouldMove],\n )\n\n return [ref, getProps] as const\n}\n\nexport type UsePanEventReturn = ReturnType<typeof usePanEvent>\n"],"mappings":"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"}
1
+ {"version":3,"file":"index.cjs","names":["useEnvironment","useCallbackRef","useRef","useCallback","mergeRefs"],"sources":["../../../../src/hooks/use-pan-event/index.ts"],"sourcesContent":["\"use client\"\n\nimport type {\n DataAttributes,\n HTMLAttributes,\n RefAttributes,\n RefObject,\n} from \"react\"\nimport type { Point } from \"../../utils\"\nimport { useCallback, useRef } from \"react\"\nimport { useEnvironment } from \"../../core\"\nimport {\n addDomEvent,\n getEventPoint,\n handlerAll,\n isMultiTouchEvent,\n mergeRefs,\n useCallbackRef,\n useUnmountEffect,\n} from \"../../utils\"\n\nexport interface PanEventProps {\n threshold?: number\n onEnd?: (ev: PointerEvent, point: Point, rect: DOMRect) => void\n onMove?: (ev: PointerEvent, point: Point, rect: DOMRect) => void\n onStart?: (ev: PointerEvent, point: Point, rect: DOMRect) => void\n}\n\ninterface Props<Y extends HTMLElement>\n extends DataAttributes, HTMLAttributes<Y>, RefAttributes<Y> {}\n\nexport const usePanEvent = <Y extends HTMLElement>({\n threshold = 3,\n ...rest\n}: PanEventProps = {}): [\n RefObject<null | Y>,\n (props?: Props<Y>) => Props<Y>,\n] => {\n const { getWindow } = useEnvironment()\n const onStart = useCallbackRef(rest.onStart)\n const onMove = useCallbackRef(rest.onMove)\n const onEnd = useCallbackRef(rest.onEnd)\n const latestPoint = useRef<null | Point>(null)\n const unsubscribe = useRef<(() => void)[]>([])\n const ref = useRef<Y>(null)\n\n const cleanup = useCallback(() => {\n unsubscribe.current.forEach((unsubscribe) => unsubscribe())\n\n latestPoint.current = null\n unsubscribe.current = []\n }, [])\n\n const shouldMove = useCallback(\n (point: Point) => {\n if (threshold === 0) return true\n if (!latestPoint.current) return true\n\n const distance = Math.sqrt(\n Math.pow(point.x - latestPoint.current.x, 2) +\n Math.pow(point.y - latestPoint.current.y, 2),\n )\n\n return distance >= threshold\n },\n [threshold],\n )\n\n useUnmountEffect(() => {\n cleanup()\n })\n\n const getProps = useCallback(\n (props: Props<Y> = {}) => {\n return {\n ...props,\n ref: mergeRefs(ref, props.ref),\n onPointerDown: handlerAll(props.onPointerDown, (ev) => {\n const win = ev.nativeEvent.view ?? getWindow()\n\n if (!win) return\n if (isMultiTouchEvent(ev.nativeEvent)) return\n if (!ref.current) return\n\n ev.preventDefault()\n\n const point = getEventPoint(ev.nativeEvent)\n const rect = ref.current.getBoundingClientRect()\n\n onStart(ev.nativeEvent, point, rect)\n\n latestPoint.current = point\n\n unsubscribe.current.push(\n addDomEvent(win, \"pointermove\", (ev) => {\n if (!ref.current) return\n\n const point = getEventPoint(ev)\n const rect = ref.current.getBoundingClientRect()\n\n if (!shouldMove(point)) return\n\n latestPoint.current = point\n\n onMove(ev, point, rect)\n }),\n )\n\n unsubscribe.current.push(\n addDomEvent(win, \"pointerup\", (ev) => {\n if (!ref.current) return\n\n cleanup()\n\n const point = getEventPoint(ev)\n const rect = ref.current.getBoundingClientRect()\n\n onEnd(ev, point, rect)\n }),\n )\n\n unsubscribe.current.push(\n addDomEvent(win, \"pointercancel\", (ev) => {\n if (!ref.current) return\n\n cleanup()\n\n const point = getEventPoint(ev)\n const rect = ref.current.getBoundingClientRect()\n\n onEnd(ev, point, rect)\n }),\n )\n }),\n }\n },\n [cleanup, getWindow, onEnd, onMove, onStart, shouldMove],\n )\n\n return [ref, getProps] as const\n}\n\nexport type UsePanEventReturn = ReturnType<typeof usePanEvent>\n"],"mappings":"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"}
@@ -1,5 +1,4 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- require("../../_virtual/_rolldown/runtime.cjs");
3
2
  const require_ref = require("../../utils/ref.cjs");
4
3
  const require_props = require("../../core/components/props.cjs");
5
4
  let react = require("react");
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","names":["useMemo","offset","flip","shift","size","autoUpdate","useFloating","useCallback","mergeRefs","useSplitProps"],"sources":["../../../../src/hooks/use-popper/index.ts"],"sourcesContent":["import type {\n Placement as FloatingPlacement,\n Middleware,\n Platform,\n Strategy,\n UseFloatingOptions,\n VirtualElement,\n} from \"@floating-ui/react-dom\"\nimport type { ComponentRef, Ref } from \"react\"\nimport type {\n Direction,\n DOMElement,\n HTMLElementProps,\n HTMLProps,\n} from \"../../core\"\nimport type { Dict } from \"../../utils\"\nimport {\n autoUpdate,\n flip,\n offset,\n shift,\n size,\n useFloating,\n} from \"@floating-ui/react-dom\"\nimport { useCallback, useMemo } from \"react\"\nimport { useSplitProps } from \"../../core\"\nimport { mergeRefs } from \"../../utils\"\n\nconst PLACEMENT_MAP: {\n [key in Direction]: FloatingPlacement\n} = {\n \"center-end\": \"right\",\n \"center-end-end\": \"right-end\",\n \"center-end-start\": \"right-start\",\n \"center-start\": \"left\",\n \"center-start-end\": \"left-end\",\n \"center-start-start\": \"left-start\",\n end: \"bottom\",\n \"end-center\": \"bottom\",\n \"end-end\": \"bottom-end\",\n \"end-start\": \"bottom-start\",\n start: \"top\",\n \"start-center\": \"top\",\n \"start-end\": \"top-end\",\n \"start-start\": \"top-start\",\n}\n\ntype WhileElementsMounted = UseFloatingOptions[\"whileElementsMounted\"]\n\ntype Reference<Y extends DOMElement | VirtualElement = \"div\"> =\n Y extends DOMElement ? ComponentRef<Y> : Y\n\nexport interface UsePopperProps<Y extends DOMElement | VirtualElement = \"div\"> {\n /**\n * If `true`, automatically updates the position of the floating element when necessary.\n *\n * @default true\n */\n autoUpdate?: boolean\n /**\n * Object containing the reference and floating elements.\n */\n elements?: {\n floating?: HTMLElement | null\n reference?: null | Reference<Y>\n }\n /**\n * If `true`, the popper will change its placement and flip when it's about to overflow its boundary area.\n *\n * @default true\n */\n flip?: boolean\n /**\n * The distance or margin between the reference and popper.\n * It is used internally to create an `offset` modifier.\n *\n * @default 8\n */\n gutter?: number\n /**\n * If `true`, the popper will match the width of the reference at all times.\n * It's useful for `autocomplete`, `date-picker` and `select` patterns.\n *\n * @default false\n */\n matchWidth?: boolean\n /**\n * Array of middleware objects to modify the positioning or provide data for\n * rendering.\n */\n middleware?: (false | Middleware | null | undefined)[]\n /**\n * The main and cross-axis offset to displace popper element from its reference element.\n */\n offset?: [number, number]\n /**\n * Whether the popper should be enabled.\n *\n * @default true\n */\n open?: boolean\n /**\n * The placement of the popper relative to its reference.\n *\n * @default 'start'\n */\n placement?: Direction\n /**\n * Custom or extended platform object.\n */\n platform?: Platform\n /**\n * If `true`, will prevent the popper from being cut off and ensure it's visible within the boundary area.\n *\n * @default true\n */\n preventOverflow?: boolean\n /**\n * The CSS positioning strategy to use.\n *\n * @default 'absolute'\n */\n strategy?: Strategy\n /**\n * Whether to use `transform` for positioning instead of `top` and `left`\n * (layout) in the `floatingStyles` object.\n *\n * @default true\n */\n transform?: boolean\n /**\n * A callback invoked when both the reference and floating elements are\n * mounted, and cleaned up when either is unmounted. This is useful for\n * setting up event listeners (e.g. pass `autoUpdate`).\n */\n whileElementsMounted?: (\n reference: Reference<Y>,\n floating: HTMLElement,\n update: () => void,\n ) => () => void\n}\n\nexport const usePopper = <\n Y extends DOMElement | VirtualElement = \"div\",\n M extends DOMElement = \"div\",\n>({\n autoUpdate: autoUpdateProp = true,\n elements,\n flip: flipProp = true,\n gutter = 8,\n matchWidth,\n middleware: middlewareProp,\n offset: offsetProp,\n open = true,\n placement = \"start\",\n platform,\n preventOverflow = true,\n strategy = \"absolute\",\n transform = true,\n whileElementsMounted: whileElementsMountedProp,\n}: UsePopperProps<Y> = {}) => {\n const middleware = useMemo(() => {\n const middleware: (false | Middleware | null | undefined)[] = []\n\n if (offsetProp) {\n const [mainAxis, crossAxis] = offsetProp\n\n middleware.push(offset({ crossAxis, mainAxis }))\n } else if (gutter) {\n middleware.push(offset(gutter))\n }\n\n if (flipProp) middleware.push(flip())\n\n if (preventOverflow) middleware.push(shift())\n\n if (middlewareProp) middleware.push(...middlewareProp)\n\n if (matchWidth)\n middleware.push(\n size({\n apply({ elements, rects }) {\n Object.assign(elements.floating.style, {\n minWidth: `${rects.reference.width}px`,\n })\n },\n }),\n )\n\n return middleware\n }, [\n flipProp,\n gutter,\n matchWidth,\n middlewareProp,\n offsetProp,\n preventOverflow,\n ])\n const whileElementsMounted = useMemo(() => {\n if (whileElementsMountedProp)\n return whileElementsMountedProp as WhileElementsMounted\n\n if (autoUpdateProp) return autoUpdate\n }, [autoUpdateProp, whileElementsMountedProp])\n\n const { floatingStyles, refs, ...rest } = useFloating<Reference<Y>>({\n elements,\n middleware,\n open,\n placement: PLACEMENT_MAP[placement],\n platform,\n strategy,\n transform,\n whileElementsMounted,\n })\n\n const getReferenceProps = useCallback(\n <D extends DOMElement | VirtualElement = Y>(\n props?: D extends DOMElement ? HTMLProps<D> : HTMLElementProps,\n ) =>\n ({\n ...props,\n ref: mergeRefs(props?.ref as Ref<any>, refs.setReference),\n }) as D extends DOMElement ? HTMLProps<D> : HTMLElementProps,\n [refs.setReference],\n )\n\n const getPopperProps = useCallback(\n <H extends DOMElement = M>(props?: HTMLProps<H>) =>\n ({\n ...props,\n ref: mergeRefs(props?.ref as Ref<any>, refs.setFloating),\n style: {\n ...props?.style,\n minWidth: matchWidth ? undefined : \"max-content\",\n ...floatingStyles,\n },\n }) as HTMLProps<H>,\n [refs.setFloating, matchWidth, floatingStyles],\n )\n\n return {\n ...rest,\n refs,\n getPopperProps,\n getReferenceProps,\n }\n}\n\nexport type UsePopperReturn = ReturnType<typeof usePopper>\n\nexport const popperProps: (keyof UsePopperProps)[] = [\n \"autoUpdate\",\n \"elements\",\n \"flip\",\n \"gutter\",\n \"matchWidth\",\n \"middleware\",\n \"offset\",\n \"open\",\n \"placement\",\n \"platform\",\n \"preventOverflow\",\n \"strategy\",\n \"transform\",\n \"whileElementsMounted\",\n]\n\nexport const usePopperProps = <\n Y extends DOMElement | VirtualElement = \"div\",\n M extends Dict = Dict,\n D extends keyof UsePopperProps = keyof UsePopperProps,\n>(\n props: M,\n omitKeys?: D[],\n) => {\n return useSplitProps(\n props,\n popperProps.filter((key) => !omitKeys?.includes(key as D)),\n ) as unknown as [\n keyof UsePopperProps extends D\n ? UsePopperProps<Y>\n : Omit<UsePopperProps<Y>, D>,\n Omit<\n M,\n keyof UsePopperProps extends D\n ? keyof UsePopperProps\n : Exclude<keyof UsePopperProps, D>\n >,\n ]\n}\n"],"mappings":";;;;;;;AA4BA,MAAM,gBAEF;CACF,cAAc;CACd,kBAAkB;CAClB,oBAAoB;CACpB,gBAAgB;CAChB,oBAAoB;CACpB,sBAAsB;CACtB,KAAK;CACL,cAAc;CACd,WAAW;CACX,aAAa;CACb,OAAO;CACP,gBAAgB;CAChB,aAAa;CACb,eAAe;AACjB;AAiGA,MAAa,aAGX,EACA,YAAY,iBAAiB,MAC7B,UACA,MAAM,WAAW,MACjB,SAAS,GACT,YACA,YAAY,gBACZ,QAAQ,YACR,OAAO,MACP,YAAY,SACZ,UACA,kBAAkB,MAClB,WAAW,YACX,YAAY,MACZ,sBAAsB,6BACD,CAAC,MAAM;CAC5B,MAAM,cAAA,GAAaA,MAAAA,QAAAA,OAAc;EAC/B,MAAM,aAAwD,CAAC;EAE/D,IAAI,YAAY;GACd,MAAM,CAAC,UAAU,aAAa;GAE9B,WAAW,MAAA,GAAKC,uBAAAA,OAAAA,CAAO;IAAE;IAAW;GAAS,CAAC,CAAC;EACjD,OAAO,IAAI,QACT,WAAW,MAAA,GAAKA,uBAAAA,OAAAA,CAAO,MAAM,CAAC;EAGhC,IAAI,UAAU,WAAW,MAAA,GAAKC,uBAAAA,KAAAA,CAAK,CAAC;EAEpC,IAAI,iBAAiB,WAAW,MAAA,GAAKC,uBAAAA,MAAAA,CAAM,CAAC;EAE5C,IAAI,gBAAgB,WAAW,KAAK,GAAG,cAAc;EAErD,IAAI,YACF,WAAW,MAAA,GACTC,uBAAAA,KAAAA,CAAK,EACH,MAAM,EAAE,UAAU,SAAS;GACzB,OAAO,OAAO,SAAS,SAAS,OAAO,EACrC,UAAU,GAAG,MAAM,UAAU,MAAM,IACrC,CAAC;EACH,EACF,CAAC,CACH;EAEF,OAAO;CACT,GAAG;EACD;EACA;EACA;EACA;EACA;EACA;CACF,CAAC;CACD,MAAM,wBAAA,GAAuBJ,MAAAA,QAAAA,OAAc;EACzC,IAAI,0BACF,OAAO;EAET,IAAI,gBAAgB,OAAOK,uBAAAA;CAC7B,GAAG,CAAC,gBAAgB,wBAAwB,CAAC;CAE7C,MAAM,EAAE,gBAAgB,MAAM,GAAG,UAAA,GAASC,uBAAAA,YAAAA,CAA0B;EAClE;EACA;EACA;EACA,WAAW,cAAc;EACzB;EACA;EACA;EACA;CACF,CAAC;CAED,MAAM,qBAAA,GAAoBC,MAAAA,YAAAA,EAEtB,WAEC;EACC,GAAG;EACH,KAAKC,YAAAA,UAAU,OAAO,KAAiB,KAAK,YAAY;CAC1D,IACF,CAAC,KAAK,YAAY,CACpB;CAEA,MAAM,kBAAA,GAAiBD,MAAAA,YAAAA,EACM,WACxB;EACC,GAAG;EACH,KAAKC,YAAAA,UAAU,OAAO,KAAiB,KAAK,WAAW;EACvD,OAAO;GACL,GAAG,OAAO;GACV,UAAU,aAAa,KAAA,IAAY;GACnC,GAAG;EACL;CACF,IACF;EAAC,KAAK;EAAa;EAAY;CAAc,CAC/C;CAEA,OAAO;EACL,GAAG;EACH;EACA;EACA;CACF;AACF;AAIA,MAAa,cAAwC;CACnD;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACF;AAEA,MAAa,kBAKX,OACA,aACG;CACH,OAAOC,cAAAA,cACL,OACA,YAAY,QAAQ,QAAQ,CAAC,UAAU,SAAS,GAAQ,CAAC,CAC3D;AAWF"}
1
+ {"version":3,"file":"index.cjs","names":["useMemo","offset","flip","shift","size","autoUpdate","useFloating","useCallback","mergeRefs","useSplitProps"],"sources":["../../../../src/hooks/use-popper/index.ts"],"sourcesContent":["import type {\n Placement as FloatingPlacement,\n Middleware,\n Platform,\n Strategy,\n UseFloatingOptions,\n VirtualElement,\n} from \"@floating-ui/react-dom\"\nimport type { ComponentRef, Ref } from \"react\"\nimport type {\n Direction,\n DOMElement,\n HTMLElementProps,\n HTMLProps,\n} from \"../../core\"\nimport type { Dict } from \"../../utils\"\nimport {\n autoUpdate,\n flip,\n offset,\n shift,\n size,\n useFloating,\n} from \"@floating-ui/react-dom\"\nimport { useCallback, useMemo } from \"react\"\nimport { useSplitProps } from \"../../core\"\nimport { mergeRefs } from \"../../utils\"\n\nconst PLACEMENT_MAP: {\n [key in Direction]: FloatingPlacement\n} = {\n \"center-end\": \"right\",\n \"center-end-end\": \"right-end\",\n \"center-end-start\": \"right-start\",\n \"center-start\": \"left\",\n \"center-start-end\": \"left-end\",\n \"center-start-start\": \"left-start\",\n end: \"bottom\",\n \"end-center\": \"bottom\",\n \"end-end\": \"bottom-end\",\n \"end-start\": \"bottom-start\",\n start: \"top\",\n \"start-center\": \"top\",\n \"start-end\": \"top-end\",\n \"start-start\": \"top-start\",\n}\n\ntype WhileElementsMounted = UseFloatingOptions[\"whileElementsMounted\"]\n\ntype Reference<Y extends DOMElement | VirtualElement = \"div\"> =\n Y extends DOMElement ? ComponentRef<Y> : Y\n\nexport interface UsePopperProps<Y extends DOMElement | VirtualElement = \"div\"> {\n /**\n * If `true`, automatically updates the position of the floating element when necessary.\n *\n * @default true\n */\n autoUpdate?: boolean\n /**\n * Object containing the reference and floating elements.\n */\n elements?: {\n floating?: HTMLElement | null\n reference?: null | Reference<Y>\n }\n /**\n * If `true`, the popper will change its placement and flip when it's about to overflow its boundary area.\n *\n * @default true\n */\n flip?: boolean\n /**\n * The distance or margin between the reference and popper.\n * It is used internally to create an `offset` modifier.\n *\n * @default 8\n */\n gutter?: number\n /**\n * If `true`, the popper will match the width of the reference at all times.\n * It's useful for `autocomplete`, `date-picker` and `select` patterns.\n *\n * @default false\n */\n matchWidth?: boolean\n /**\n * Array of middleware objects to modify the positioning or provide data for\n * rendering.\n */\n middleware?: (false | Middleware | null | undefined)[]\n /**\n * The main and cross-axis offset to displace popper element from its reference element.\n */\n offset?: [number, number]\n /**\n * Whether the popper should be enabled.\n *\n * @default true\n */\n open?: boolean\n /**\n * The placement of the popper relative to its reference.\n *\n * @default 'start'\n */\n placement?: Direction\n /**\n * Custom or extended platform object.\n */\n platform?: Platform\n /**\n * If `true`, will prevent the popper from being cut off and ensure it's visible within the boundary area.\n *\n * @default true\n */\n preventOverflow?: boolean\n /**\n * The CSS positioning strategy to use.\n *\n * @default 'absolute'\n */\n strategy?: Strategy\n /**\n * Whether to use `transform` for positioning instead of `top` and `left`\n * (layout) in the `floatingStyles` object.\n *\n * @default true\n */\n transform?: boolean\n /**\n * A callback invoked when both the reference and floating elements are\n * mounted, and cleaned up when either is unmounted. This is useful for\n * setting up event listeners (e.g. pass `autoUpdate`).\n */\n whileElementsMounted?: (\n reference: Reference<Y>,\n floating: HTMLElement,\n update: () => void,\n ) => () => void\n}\n\nexport const usePopper = <\n Y extends DOMElement | VirtualElement = \"div\",\n M extends DOMElement = \"div\",\n>({\n autoUpdate: autoUpdateProp = true,\n elements,\n flip: flipProp = true,\n gutter = 8,\n matchWidth,\n middleware: middlewareProp,\n offset: offsetProp,\n open = true,\n placement = \"start\",\n platform,\n preventOverflow = true,\n strategy = \"absolute\",\n transform = true,\n whileElementsMounted: whileElementsMountedProp,\n}: UsePopperProps<Y> = {}) => {\n const middleware = useMemo(() => {\n const middleware: (false | Middleware | null | undefined)[] = []\n\n if (offsetProp) {\n const [mainAxis, crossAxis] = offsetProp\n\n middleware.push(offset({ crossAxis, mainAxis }))\n } else if (gutter) {\n middleware.push(offset(gutter))\n }\n\n if (flipProp) middleware.push(flip())\n\n if (preventOverflow) middleware.push(shift())\n\n if (middlewareProp) middleware.push(...middlewareProp)\n\n if (matchWidth)\n middleware.push(\n size({\n apply({ elements, rects }) {\n Object.assign(elements.floating.style, {\n minWidth: `${rects.reference.width}px`,\n })\n },\n }),\n )\n\n return middleware\n }, [\n flipProp,\n gutter,\n matchWidth,\n middlewareProp,\n offsetProp,\n preventOverflow,\n ])\n const whileElementsMounted = useMemo(() => {\n if (whileElementsMountedProp)\n return whileElementsMountedProp as WhileElementsMounted\n\n if (autoUpdateProp) return autoUpdate\n }, [autoUpdateProp, whileElementsMountedProp])\n\n const { floatingStyles, refs, ...rest } = useFloating<Reference<Y>>({\n elements,\n middleware,\n open,\n placement: PLACEMENT_MAP[placement],\n platform,\n strategy,\n transform,\n whileElementsMounted,\n })\n\n const getReferenceProps = useCallback(\n <D extends DOMElement | VirtualElement = Y>(\n props?: D extends DOMElement ? HTMLProps<D> : HTMLElementProps,\n ) =>\n ({\n ...props,\n ref: mergeRefs(props?.ref as Ref<any>, refs.setReference),\n }) as D extends DOMElement ? HTMLProps<D> : HTMLElementProps,\n [refs.setReference],\n )\n\n const getPopperProps = useCallback(\n <H extends DOMElement = M>(props?: HTMLProps<H>) =>\n ({\n ...props,\n ref: mergeRefs(props?.ref as Ref<any>, refs.setFloating),\n style: {\n ...props?.style,\n minWidth: matchWidth ? undefined : \"max-content\",\n ...floatingStyles,\n },\n }) as HTMLProps<H>,\n [refs.setFloating, matchWidth, floatingStyles],\n )\n\n return {\n ...rest,\n refs,\n getPopperProps,\n getReferenceProps,\n }\n}\n\nexport type UsePopperReturn = ReturnType<typeof usePopper>\n\nexport const popperProps: (keyof UsePopperProps)[] = [\n \"autoUpdate\",\n \"elements\",\n \"flip\",\n \"gutter\",\n \"matchWidth\",\n \"middleware\",\n \"offset\",\n \"open\",\n \"placement\",\n \"platform\",\n \"preventOverflow\",\n \"strategy\",\n \"transform\",\n \"whileElementsMounted\",\n]\n\nexport const usePopperProps = <\n Y extends DOMElement | VirtualElement = \"div\",\n M extends Dict = Dict,\n D extends keyof UsePopperProps = keyof UsePopperProps,\n>(\n props: M,\n omitKeys?: D[],\n) => {\n return useSplitProps(\n props,\n popperProps.filter((key) => !omitKeys?.includes(key as D)),\n ) as unknown as [\n keyof UsePopperProps extends D\n ? UsePopperProps<Y>\n : Omit<UsePopperProps<Y>, D>,\n Omit<\n M,\n keyof UsePopperProps extends D\n ? keyof UsePopperProps\n : Exclude<keyof UsePopperProps, D>\n >,\n ]\n}\n"],"mappings":";;;;;;AA4BA,MAAM,gBAEF;CACF,cAAc;CACd,kBAAkB;CAClB,oBAAoB;CACpB,gBAAgB;CAChB,oBAAoB;CACpB,sBAAsB;CACtB,KAAK;CACL,cAAc;CACd,WAAW;CACX,aAAa;CACb,OAAO;CACP,gBAAgB;CAChB,aAAa;CACb,eAAe;AACjB;AAiGA,MAAa,aAGX,EACA,YAAY,iBAAiB,MAC7B,UACA,MAAM,WAAW,MACjB,SAAS,GACT,YACA,YAAY,gBACZ,QAAQ,YACR,OAAO,MACP,YAAY,SACZ,UACA,kBAAkB,MAClB,WAAW,YACX,YAAY,MACZ,sBAAsB,6BACD,CAAC,MAAM;CAC5B,MAAM,cAAA,GAAaA,MAAAA,QAAAA,OAAc;EAC/B,MAAM,aAAwD,CAAC;EAE/D,IAAI,YAAY;GACd,MAAM,CAAC,UAAU,aAAa;GAE9B,WAAW,MAAA,GAAKC,uBAAAA,OAAAA,CAAO;IAAE;IAAW;GAAS,CAAC,CAAC;EACjD,OAAO,IAAI,QACT,WAAW,MAAA,GAAKA,uBAAAA,OAAAA,CAAO,MAAM,CAAC;EAGhC,IAAI,UAAU,WAAW,MAAA,GAAKC,uBAAAA,KAAAA,CAAK,CAAC;EAEpC,IAAI,iBAAiB,WAAW,MAAA,GAAKC,uBAAAA,MAAAA,CAAM,CAAC;EAE5C,IAAI,gBAAgB,WAAW,KAAK,GAAG,cAAc;EAErD,IAAI,YACF,WAAW,MAAA,GACTC,uBAAAA,KAAAA,CAAK,EACH,MAAM,EAAE,UAAU,SAAS;GACzB,OAAO,OAAO,SAAS,SAAS,OAAO,EACrC,UAAU,GAAG,MAAM,UAAU,MAAM,IACrC,CAAC;EACH,EACF,CAAC,CACH;EAEF,OAAO;CACT,GAAG;EACD;EACA;EACA;EACA;EACA;EACA;CACF,CAAC;CACD,MAAM,wBAAA,GAAuBJ,MAAAA,QAAAA,OAAc;EACzC,IAAI,0BACF,OAAO;EAET,IAAI,gBAAgB,OAAOK,uBAAAA;CAC7B,GAAG,CAAC,gBAAgB,wBAAwB,CAAC;CAE7C,MAAM,EAAE,gBAAgB,MAAM,GAAG,UAAA,GAASC,uBAAAA,YAAAA,CAA0B;EAClE;EACA;EACA;EACA,WAAW,cAAc;EACzB;EACA;EACA;EACA;CACF,CAAC;CAED,MAAM,qBAAA,GAAoBC,MAAAA,YAAAA,EAEtB,WAEC;EACC,GAAG;EACH,KAAKC,YAAAA,UAAU,OAAO,KAAiB,KAAK,YAAY;CAC1D,IACF,CAAC,KAAK,YAAY,CACpB;CAEA,MAAM,kBAAA,GAAiBD,MAAAA,YAAAA,EACM,WACxB;EACC,GAAG;EACH,KAAKC,YAAAA,UAAU,OAAO,KAAiB,KAAK,WAAW;EACvD,OAAO;GACL,GAAG,OAAO;GACV,UAAU,aAAa,KAAA,IAAY;GACnC,GAAG;EACL;CACF,IACF;EAAC,KAAK;EAAa;EAAY;CAAc,CAC/C;CAEA,OAAO;EACL,GAAG;EACH;EACA;EACA;CACF;AACF;AAIA,MAAa,cAAwC;CACnD;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACF;AAEA,MAAa,kBAKX,OACA,aACG;CACH,OAAOC,cAAAA,cACL,OACA,YAAY,QAAQ,QAAQ,CAAC,UAAU,SAAS,GAAQ,CAAC,CAC3D;AAWF"}
@@ -1,6 +1,5 @@
1
1
  "use client";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- require("../../_virtual/_rolldown/runtime.cjs");
4
3
  let react = require("react");
5
4
  //#region src/hooks/use-previous/index.ts
6
5
  /**