@yamada-ui/react 2.2.9-dev-20261002045738 → 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 (2834) 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/icon/icons/briefcase-plus-icon.js +14 -0
  461. package/dist/esm/components/icon/icons/briefcase-plus-icon.js.map +1 -0
  462. package/dist/esm/components/icon/icons/clef-alto-icon.js +14 -0
  463. package/dist/esm/components/icon/icons/clef-alto-icon.js.map +1 -0
  464. package/dist/esm/components/icon/icons/clef-bass-icon.js +14 -0
  465. package/dist/esm/components/icon/icons/clef-bass-icon.js.map +1 -0
  466. package/dist/esm/components/icon/icons/clef-treble-icon.js +14 -0
  467. package/dist/esm/components/icon/icons/clef-treble-icon.js.map +1 -0
  468. package/dist/esm/components/icon/icons/cupcake-icon.js +14 -0
  469. package/dist/esm/components/icon/icons/cupcake-icon.js.map +1 -0
  470. package/dist/esm/components/icon/icons/door-closed-package-icon.js +14 -0
  471. package/dist/esm/components/icon/icons/door-closed-package-icon.js.map +1 -0
  472. package/dist/esm/components/icon/icons/faucet-icon.js +14 -0
  473. package/dist/esm/components/icon/icons/faucet-icon.js.map +1 -0
  474. package/dist/esm/components/icon/icons/house-cog-icon.js +14 -0
  475. package/dist/esm/components/icon/icons/house-cog-icon.js.map +1 -0
  476. package/dist/esm/components/icon/icons/index.js +41 -1
  477. package/dist/esm/components/icon/icons/index.js.map +1 -1
  478. package/dist/esm/components/icon/icons/lambda-icon.js +14 -0
  479. package/dist/esm/components/icon/icons/lambda-icon.js.map +1 -0
  480. package/dist/esm/components/icon/icons/line-dot-bottom-vertical-icon.js +14 -0
  481. package/dist/esm/components/icon/icons/line-dot-bottom-vertical-icon.js.map +1 -0
  482. package/dist/esm/components/icon/icons/line-dot-left-horizontal-icon.js +14 -0
  483. package/dist/esm/components/icon/icons/line-dot-left-horizontal-icon.js.map +1 -0
  484. package/dist/esm/components/icon/icons/line-dot-top-vertical-icon.js +14 -0
  485. package/dist/esm/components/icon/icons/line-dot-top-vertical-icon.js.map +1 -0
  486. package/dist/esm/components/icon/icons/monitor-pc-icon.js +14 -0
  487. package/dist/esm/components/icon/icons/monitor-pc-icon.js.map +1 -0
  488. package/dist/esm/components/icon/icons/nepali-rupee-icon.js +14 -0
  489. package/dist/esm/components/icon/icons/nepali-rupee-icon.js.map +1 -0
  490. package/dist/esm/components/icon/icons/rotate-cw-clock-icon.js +14 -0
  491. package/dist/esm/components/icon/icons/rotate-cw-clock-icon.js.map +1 -0
  492. package/dist/esm/components/icon/icons/square-dashed-plus-icon.js +14 -0
  493. package/dist/esm/components/icon/icons/square-dashed-plus-icon.js.map +1 -0
  494. package/dist/esm/components/icon/icons/square-dashed-x-corner-icon.js +14 -0
  495. package/dist/esm/components/icon/icons/square-dashed-x-corner-icon.js.map +1 -0
  496. package/dist/esm/components/icon/icons/square-dashed-x-icon.js +14 -0
  497. package/dist/esm/components/icon/icons/square-dashed-x-icon.js.map +1 -0
  498. package/dist/esm/components/icon/icons/square-sparkles-icon.js +14 -0
  499. package/dist/esm/components/icon/icons/square-sparkles-icon.js.map +1 -0
  500. package/dist/esm/components/icon/icons/tube-lotion-icon.js +14 -0
  501. package/dist/esm/components/icon/icons/tube-lotion-icon.js.map +1 -0
  502. package/dist/esm/components/icon/index.js +21 -1
  503. package/dist/esm/components/menu/menu.js +29 -28
  504. package/dist/esm/components/menu/menu.js.map +1 -1
  505. package/dist/esm/components/toggle/use-toggle-group.js +11 -10
  506. package/dist/esm/components/toggle/use-toggle-group.js.map +1 -1
  507. package/dist/esm/components/tree/use-tree.js +4 -3
  508. package/dist/esm/components/tree/use-tree.js.map +1 -1
  509. package/dist/esm/core/css/styles.js.map +1 -1
  510. package/dist/esm/index.js +41 -1
  511. package/dist/esm/utils/store.js.map +1 -1
  512. package/dist/types/components/accordion/accordion.d.ts +10 -10
  513. package/dist/types/components/accordion/accordion.style.d.ts +2 -3
  514. package/dist/types/components/accordion/use-accordion.d.ts +7 -7
  515. package/dist/types/components/action-bar/action-bar.d.ts +11 -11
  516. package/dist/types/components/action-bar/action-bar.style.d.ts +2 -3
  517. package/dist/types/components/action-bar/use-action-bar.d.ts +3 -4
  518. package/dist/types/components/airy/airy.d.ts +3 -3
  519. package/dist/types/components/airy/airy.style.d.ts +2 -3
  520. package/dist/types/components/alert/alert.d.ts +12 -11
  521. package/dist/types/components/alert/alert.style.d.ts +2 -3
  522. package/dist/types/components/alpha-slider/alpha-slider.d.ts +10 -9
  523. package/dist/types/components/alpha-slider/alpha-slider.style.d.ts +2 -3
  524. package/dist/types/components/aspect-ratio/aspect-ratio.d.ts +3 -3
  525. package/dist/types/components/aspect-ratio/aspect-ratio.style.d.ts +2 -3
  526. package/dist/types/components/autocomplete/autocomplete.d.ts +10 -9
  527. package/dist/types/components/autocomplete/autocomplete.style.d.ts +2 -3
  528. package/dist/types/components/autocomplete/use-autocomplete.d.ts +10 -10
  529. package/dist/types/components/avatar/avatar-group.d.ts +2 -3
  530. package/dist/types/components/avatar/avatar.d.ts +3 -3
  531. package/dist/types/components/avatar/avatar.style.d.ts +2 -3
  532. package/dist/types/components/avatar/use-avatar-group.d.ts +3 -4
  533. package/dist/types/components/avatar/use-avatar.d.ts +3 -4
  534. package/dist/types/components/badge/badge.d.ts +3 -3
  535. package/dist/types/components/badge/badge.style.d.ts +2 -3
  536. package/dist/types/components/bleed/bleed.d.ts +3 -3
  537. package/dist/types/components/bleed/bleed.style.d.ts +2 -3
  538. package/dist/types/components/blockquote/blockquote.d.ts +11 -11
  539. package/dist/types/components/blockquote/blockquote.style.d.ts +2 -3
  540. package/dist/types/components/box/box.d.ts +2 -3
  541. package/dist/types/components/breadcrumb/breadcrumb.d.ts +7 -7
  542. package/dist/types/components/breadcrumb/breadcrumb.style.d.ts +2 -3
  543. package/dist/types/components/breadcrumb/use-breadcrumb.d.ts +4 -5
  544. package/dist/types/components/button/button-group.d.ts +2 -3
  545. package/dist/types/components/button/button.d.ts +4 -3
  546. package/dist/types/components/button/button.style.d.ts +2 -3
  547. package/dist/types/components/button/icon-button.d.ts +3 -3
  548. package/dist/types/components/button/icon-button.style.d.ts +2 -3
  549. package/dist/types/components/calendar/calendar.d.ts +18 -17
  550. package/dist/types/components/calendar/calendar.style.d.ts +3 -4
  551. package/dist/types/components/calendar/use-calendar.d.ts +41 -41
  552. package/dist/types/components/card/card.d.ts +9 -9
  553. package/dist/types/components/card/card.style.d.ts +2 -3
  554. package/dist/types/components/carousel/carousel.d.ts +15 -15
  555. package/dist/types/components/carousel/carousel.style.d.ts +2 -3
  556. package/dist/types/components/carousel/use-carousel.d.ts +12 -12
  557. package/dist/types/components/center/center.d.ts +3 -3
  558. package/dist/types/components/center/center.style.d.ts +2 -3
  559. package/dist/types/components/chart/area-chart.d.ts +3 -3
  560. package/dist/types/components/chart/area-chart.style.d.ts +2 -3
  561. package/dist/types/components/chart/bar-chart.d.ts +3 -3
  562. package/dist/types/components/chart/bar-chart.style.d.ts +2 -3
  563. package/dist/types/components/chart/cartesian-chart.d.ts +19 -19
  564. package/dist/types/components/chart/cartesian-chart.style.d.ts +2 -3
  565. package/dist/types/components/chart/chart.d.ts +20 -20
  566. package/dist/types/components/chart/chart.style.d.ts +2 -3
  567. package/dist/types/components/chart/composed-chart.d.ts +5 -5
  568. package/dist/types/components/chart/composed-chart.style.d.ts +2 -3
  569. package/dist/types/components/chart/donut-chart.d.ts +3 -3
  570. package/dist/types/components/chart/donut-chart.style.d.ts +2 -3
  571. package/dist/types/components/chart/line-chart.d.ts +3 -3
  572. package/dist/types/components/chart/line-chart.style.d.ts +2 -3
  573. package/dist/types/components/chart/pie-chart.d.ts +3 -3
  574. package/dist/types/components/chart/pie-chart.style.d.ts +2 -3
  575. package/dist/types/components/chart/polar-chart.d.ts +22 -22
  576. package/dist/types/components/chart/polar-chart.style.d.ts +2 -3
  577. package/dist/types/components/chart/radar-chart.d.ts +3 -3
  578. package/dist/types/components/chart/radar-chart.style.d.ts +2 -3
  579. package/dist/types/components/chart/radial-chart.d.ts +3 -3
  580. package/dist/types/components/chart/radial-chart.style.d.ts +2 -3
  581. package/dist/types/components/chart/use-cartesian-chart.d.ts +24 -25
  582. package/dist/types/components/chart/use-chart.d.ts +15 -15
  583. package/dist/types/components/chart/use-polar-chart.d.ts +30 -31
  584. package/dist/types/components/checkbox/checkbox-group.d.ts +3 -3
  585. package/dist/types/components/checkbox/checkbox.d.ts +3 -3
  586. package/dist/types/components/checkbox/checkbox.style.d.ts +2 -3
  587. package/dist/types/components/checkbox/use-checkbox-group.d.ts +4 -4
  588. package/dist/types/components/checkbox/use-checkbox.d.ts +3 -4
  589. package/dist/types/components/checkbox-card/checkbox-card-group.d.ts +3 -3
  590. package/dist/types/components/checkbox-card/checkbox-card.d.ts +9 -9
  591. package/dist/types/components/checkbox-card/checkbox-card.style.d.ts +2 -3
  592. package/dist/types/components/circle-progress/circle-progress.d.ts +5 -5
  593. package/dist/types/components/circle-progress/circle-progress.style.d.ts +2 -3
  594. package/dist/types/components/client-only/client-only.d.ts +2 -3
  595. package/dist/types/components/close-button/close-button.d.ts +3 -3
  596. package/dist/types/components/close-button/close-button.style.d.ts +2 -3
  597. package/dist/types/components/code/code.d.ts +3 -3
  598. package/dist/types/components/code/code.style.d.ts +2 -3
  599. package/dist/types/components/collapse/collapse.d.ts +3 -3
  600. package/dist/types/components/collapse/collapse.style.d.ts +2 -3
  601. package/dist/types/components/color-picker/color-picker.d.ts +6 -3
  602. package/dist/types/components/color-picker/color-picker.style.d.ts +2 -3
  603. package/dist/types/components/color-picker/use-color-picker.d.ts +3 -4
  604. package/dist/types/components/color-selector/color-selector.d.ts +18 -17
  605. package/dist/types/components/color-selector/color-selector.style.d.ts +3 -4
  606. package/dist/types/components/color-selector/use-color-selector.d.ts +3 -4
  607. package/dist/types/components/color-swatch/color-swatch-group.d.ts +2 -3
  608. package/dist/types/components/color-swatch/color-swatch.d.ts +4 -4
  609. package/dist/types/components/color-swatch/color-swatch.style.d.ts +2 -3
  610. package/dist/types/components/container/container.d.ts +9 -9
  611. package/dist/types/components/container/container.style.d.ts +2 -3
  612. package/dist/types/components/data-list/data-list.d.ts +10 -10
  613. package/dist/types/components/data-list/data-list.style.d.ts +2 -3
  614. package/dist/types/components/date-picker/date-picker.d.ts +6 -3
  615. package/dist/types/components/date-picker/date-picker.style.d.ts +2 -3
  616. package/dist/types/components/date-picker/use-date-picker.d.ts +5 -6
  617. package/dist/types/components/drawer/drawer.d.ts +23 -23
  618. package/dist/types/components/drawer/drawer.style.d.ts +2 -3
  619. package/dist/types/components/drawer/use-drawer.d.ts +3 -4
  620. package/dist/types/components/dropzone/accept-types.d.ts +7 -8
  621. package/dist/types/components/dropzone/dropzone.d.ts +16 -15
  622. package/dist/types/components/dropzone/dropzone.style.d.ts +2 -3
  623. package/dist/types/components/dropzone/use-dropzone.d.ts +3 -4
  624. package/dist/types/components/editable/editable.d.ts +17 -17
  625. package/dist/types/components/editable/editable.style.d.ts +2 -3
  626. package/dist/types/components/editable/use-editable.d.ts +4 -4
  627. package/dist/types/components/em/em.d.ts +3 -3
  628. package/dist/types/components/em/em.style.d.ts +2 -3
  629. package/dist/types/components/empty-state/empty-state.d.ts +11 -11
  630. package/dist/types/components/empty-state/empty-state.style.d.ts +2 -3
  631. package/dist/types/components/fade/fade.d.ts +4 -4
  632. package/dist/types/components/fade/fade.style.d.ts +2 -3
  633. package/dist/types/components/fade-scale/fade-scale.d.ts +3 -4
  634. package/dist/types/components/fade-scale/fade-scale.style.d.ts +2 -3
  635. package/dist/types/components/field/field.d.ts +10 -10
  636. package/dist/types/components/field/field.style.d.ts +2 -3
  637. package/dist/types/components/field/use-field-props.d.ts +4 -5
  638. package/dist/types/components/fieldset/fieldset.d.ts +13 -13
  639. package/dist/types/components/fieldset/fieldset.style.d.ts +2 -3
  640. package/dist/types/components/file-button/file-button.d.ts +3 -3
  641. package/dist/types/components/file-button/file-button.style.d.ts +2 -3
  642. package/dist/types/components/file-button/use-file-button.d.ts +3 -4
  643. package/dist/types/components/file-input/file-input.d.ts +3 -3
  644. package/dist/types/components/file-input/file-input.style.d.ts +2 -3
  645. package/dist/types/components/file-input/use-file-input.d.ts +3 -4
  646. package/dist/types/components/flex/flex.d.ts +3 -3
  647. package/dist/types/components/flex/flex.style.d.ts +2 -3
  648. package/dist/types/components/flex/spacer.d.ts +2 -3
  649. package/dist/types/components/flip/flip.d.ts +3 -3
  650. package/dist/types/components/flip/flip.style.d.ts +2 -3
  651. package/dist/types/components/float/float.d.ts +3 -3
  652. package/dist/types/components/float/float.style.d.ts +2 -3
  653. package/dist/types/components/focus-lock/focus-lock.d.ts +3 -3
  654. package/dist/types/components/for/for.d.ts +2 -3
  655. package/dist/types/components/form/form.d.ts +17 -17
  656. package/dist/types/components/form/form.style.d.ts +2 -3
  657. package/dist/types/components/format/format-byte.d.ts +3 -3
  658. package/dist/types/components/format/format-byte.style.d.ts +2 -3
  659. package/dist/types/components/format/format-date-time.d.ts +3 -3
  660. package/dist/types/components/format/format-date-time.style.d.ts +2 -3
  661. package/dist/types/components/format/format-number.d.ts +3 -3
  662. package/dist/types/components/format/format-number.style.d.ts +2 -3
  663. package/dist/types/components/format/use-format-byte.d.ts +5 -6
  664. package/dist/types/components/format/use-format-date-time.d.ts +6 -7
  665. package/dist/types/components/format/use-format-number.d.ts +6 -7
  666. package/dist/types/components/grid/grid-item.d.ts +3 -3
  667. package/dist/types/components/grid/grid-item.style.d.ts +2 -3
  668. package/dist/types/components/grid/grid.d.ts +3 -3
  669. package/dist/types/components/grid/grid.style.d.ts +2 -3
  670. package/dist/types/components/group/group.d.ts +3 -3
  671. package/dist/types/components/group/group.style.d.ts +2 -3
  672. package/dist/types/components/group/use-group.d.ts +4 -5
  673. package/dist/types/components/heading/heading.d.ts +3 -3
  674. package/dist/types/components/heading/heading.style.d.ts +2 -3
  675. package/dist/types/components/highlight/highlight.d.ts +2 -3
  676. package/dist/types/components/highlight/use-highlight.d.ts +4 -5
  677. package/dist/types/components/hue-slider/hue-slider.d.ts +10 -9
  678. package/dist/types/components/hue-slider/hue-slider.style.d.ts +2 -3
  679. package/dist/types/components/icon/icon.d.ts +3 -3
  680. package/dist/types/components/icon/icon.style.d.ts +2 -3
  681. package/dist/types/components/icon/icons/a-arrow-down-icon.d.ts +1 -2
  682. package/dist/types/components/icon/icons/a-arrow-up-icon.d.ts +1 -2
  683. package/dist/types/components/icon/icons/a-large-small-icon.d.ts +1 -2
  684. package/dist/types/components/icon/icons/accessibility-icon.d.ts +1 -2
  685. package/dist/types/components/icon/icons/activity-icon.d.ts +1 -2
  686. package/dist/types/components/icon/icons/ad-icon.d.ts +1 -2
  687. package/dist/types/components/icon/icons/air-vent-icon.d.ts +1 -2
  688. package/dist/types/components/icon/icons/airplay-icon.d.ts +1 -2
  689. package/dist/types/components/icon/icons/alarm-clock-check-icon.d.ts +1 -2
  690. package/dist/types/components/icon/icons/alarm-clock-icon.d.ts +1 -2
  691. package/dist/types/components/icon/icons/alarm-clock-minus-icon.d.ts +1 -2
  692. package/dist/types/components/icon/icons/alarm-clock-off-icon.d.ts +1 -2
  693. package/dist/types/components/icon/icons/alarm-clock-plus-icon.d.ts +1 -2
  694. package/dist/types/components/icon/icons/alarm-smoke-icon.d.ts +1 -2
  695. package/dist/types/components/icon/icons/align-center-horizontal-icon.d.ts +1 -2
  696. package/dist/types/components/icon/icons/align-center-vertical-icon.d.ts +1 -2
  697. package/dist/types/components/icon/icons/align-end-horizontal-icon.d.ts +1 -2
  698. package/dist/types/components/icon/icons/align-end-vertical-icon.d.ts +1 -2
  699. package/dist/types/components/icon/icons/align-horizontal-distribute-center-icon.d.ts +1 -2
  700. package/dist/types/components/icon/icons/align-horizontal-distribute-end-icon.d.ts +1 -2
  701. package/dist/types/components/icon/icons/align-horizontal-distribute-start-icon.d.ts +1 -2
  702. package/dist/types/components/icon/icons/align-horizontal-justify-center-icon.d.ts +1 -2
  703. package/dist/types/components/icon/icons/align-horizontal-justify-end-icon.d.ts +1 -2
  704. package/dist/types/components/icon/icons/align-horizontal-justify-start-icon.d.ts +1 -2
  705. package/dist/types/components/icon/icons/align-horizontal-space-around-icon.d.ts +1 -2
  706. package/dist/types/components/icon/icons/align-horizontal-space-between-icon.d.ts +1 -2
  707. package/dist/types/components/icon/icons/align-start-horizontal-icon.d.ts +1 -2
  708. package/dist/types/components/icon/icons/align-start-vertical-icon.d.ts +1 -2
  709. package/dist/types/components/icon/icons/align-vertical-distribute-center-icon.d.ts +1 -2
  710. package/dist/types/components/icon/icons/align-vertical-distribute-end-icon.d.ts +1 -2
  711. package/dist/types/components/icon/icons/align-vertical-distribute-start-icon.d.ts +1 -2
  712. package/dist/types/components/icon/icons/align-vertical-justify-center-icon.d.ts +1 -2
  713. package/dist/types/components/icon/icons/align-vertical-justify-end-icon.d.ts +1 -2
  714. package/dist/types/components/icon/icons/align-vertical-justify-start-icon.d.ts +1 -2
  715. package/dist/types/components/icon/icons/align-vertical-space-around-icon.d.ts +1 -2
  716. package/dist/types/components/icon/icons/align-vertical-space-between-icon.d.ts +1 -2
  717. package/dist/types/components/icon/icons/ambulance-icon.d.ts +1 -2
  718. package/dist/types/components/icon/icons/ampersand-icon.d.ts +1 -2
  719. package/dist/types/components/icon/icons/ampersands-icon.d.ts +1 -2
  720. package/dist/types/components/icon/icons/amphora-icon.d.ts +1 -2
  721. package/dist/types/components/icon/icons/anchor-icon.d.ts +1 -2
  722. package/dist/types/components/icon/icons/angle-icon.d.ts +1 -2
  723. package/dist/types/components/icon/icons/antenna-icon.d.ts +1 -2
  724. package/dist/types/components/icon/icons/anvil-icon.d.ts +1 -2
  725. package/dist/types/components/icon/icons/aperture-icon.d.ts +1 -2
  726. package/dist/types/components/icon/icons/app-window-icon.d.ts +1 -2
  727. package/dist/types/components/icon/icons/app-window-mac-icon.d.ts +1 -2
  728. package/dist/types/components/icon/icons/apple-icon.d.ts +1 -2
  729. package/dist/types/components/icon/icons/archive-icon.d.ts +1 -2
  730. package/dist/types/components/icon/icons/archive-restore-icon.d.ts +1 -2
  731. package/dist/types/components/icon/icons/archive-x-icon.d.ts +1 -2
  732. package/dist/types/components/icon/icons/armchair-icon.d.ts +1 -2
  733. package/dist/types/components/icon/icons/arrow-big-down-dash-icon.d.ts +1 -2
  734. package/dist/types/components/icon/icons/arrow-big-down-icon.d.ts +1 -2
  735. package/dist/types/components/icon/icons/arrow-big-left-dash-icon.d.ts +1 -2
  736. package/dist/types/components/icon/icons/arrow-big-left-icon.d.ts +1 -2
  737. package/dist/types/components/icon/icons/arrow-big-right-dash-icon.d.ts +1 -2
  738. package/dist/types/components/icon/icons/arrow-big-right-icon.d.ts +1 -2
  739. package/dist/types/components/icon/icons/arrow-big-up-dash-icon.d.ts +1 -2
  740. package/dist/types/components/icon/icons/arrow-big-up-icon.d.ts +1 -2
  741. package/dist/types/components/icon/icons/arrow-down-a-z-icon.d.ts +1 -2
  742. package/dist/types/components/icon/icons/arrow-down-from-line-icon.d.ts +1 -2
  743. package/dist/types/components/icon/icons/arrow-down-icon.d.ts +1 -2
  744. package/dist/types/components/icon/icons/arrow-down-left-icon.d.ts +1 -2
  745. package/dist/types/components/icon/icons/arrow-down-narrow-wide-icon.d.ts +1 -2
  746. package/dist/types/components/icon/icons/arrow-down-right-icon.d.ts +1 -2
  747. package/dist/types/components/icon/icons/arrow-down-to-dot-icon.d.ts +1 -2
  748. package/dist/types/components/icon/icons/arrow-down-to-line-icon.d.ts +1 -2
  749. package/dist/types/components/icon/icons/arrow-down-up-icon.d.ts +1 -2
  750. package/dist/types/components/icon/icons/arrow-down-wide-narrow-icon.d.ts +1 -2
  751. package/dist/types/components/icon/icons/arrow-down-z-a-icon.d.ts +1 -2
  752. package/dist/types/components/icon/icons/arrow-down01-icon.d.ts +1 -2
  753. package/dist/types/components/icon/icons/arrow-down10-icon.d.ts +1 -2
  754. package/dist/types/components/icon/icons/arrow-left-from-line-icon.d.ts +1 -2
  755. package/dist/types/components/icon/icons/arrow-left-icon.d.ts +1 -2
  756. package/dist/types/components/icon/icons/arrow-left-right-icon.d.ts +1 -2
  757. package/dist/types/components/icon/icons/arrow-left-to-line-icon.d.ts +1 -2
  758. package/dist/types/components/icon/icons/arrow-right-from-line-icon.d.ts +1 -2
  759. package/dist/types/components/icon/icons/arrow-right-icon.d.ts +1 -2
  760. package/dist/types/components/icon/icons/arrow-right-left-icon.d.ts +1 -2
  761. package/dist/types/components/icon/icons/arrow-right-to-line-icon.d.ts +1 -2
  762. package/dist/types/components/icon/icons/arrow-up-a-z-icon.d.ts +1 -2
  763. package/dist/types/components/icon/icons/arrow-up-down-icon.d.ts +1 -2
  764. package/dist/types/components/icon/icons/arrow-up-from-dot-icon.d.ts +1 -2
  765. package/dist/types/components/icon/icons/arrow-up-from-line-icon.d.ts +1 -2
  766. package/dist/types/components/icon/icons/arrow-up-icon.d.ts +1 -2
  767. package/dist/types/components/icon/icons/arrow-up-left-icon.d.ts +1 -2
  768. package/dist/types/components/icon/icons/arrow-up-narrow-wide-icon.d.ts +1 -2
  769. package/dist/types/components/icon/icons/arrow-up-right-icon.d.ts +1 -2
  770. package/dist/types/components/icon/icons/arrow-up-to-line-icon.d.ts +1 -2
  771. package/dist/types/components/icon/icons/arrow-up-wide-narrow-icon.d.ts +1 -2
  772. package/dist/types/components/icon/icons/arrow-up-z-a-icon.d.ts +1 -2
  773. package/dist/types/components/icon/icons/arrow-up01-icon.d.ts +1 -2
  774. package/dist/types/components/icon/icons/arrow-up10-icon.d.ts +1 -2
  775. package/dist/types/components/icon/icons/arrows-up-from-line-icon.d.ts +1 -2
  776. package/dist/types/components/icon/icons/asterisk-icon.d.ts +1 -2
  777. package/dist/types/components/icon/icons/astroid-icon.d.ts +1 -2
  778. package/dist/types/components/icon/icons/at-sign-icon.d.ts +1 -2
  779. package/dist/types/components/icon/icons/atom-icon.d.ts +1 -2
  780. package/dist/types/components/icon/icons/audio-lines-icon.d.ts +1 -2
  781. package/dist/types/components/icon/icons/audio-lines-off-icon.d.ts +1 -2
  782. package/dist/types/components/icon/icons/audio-lines-x-icon.d.ts +1 -2
  783. package/dist/types/components/icon/icons/audio-waveform-icon.d.ts +1 -2
  784. package/dist/types/components/icon/icons/award-icon.d.ts +1 -2
  785. package/dist/types/components/icon/icons/axe-icon.d.ts +1 -2
  786. package/dist/types/components/icon/icons/axis3d-icon.d.ts +1 -2
  787. package/dist/types/components/icon/icons/baby-icon.d.ts +1 -2
  788. package/dist/types/components/icon/icons/backpack-icon.d.ts +1 -2
  789. package/dist/types/components/icon/icons/badge-alert-icon.d.ts +1 -2
  790. package/dist/types/components/icon/icons/badge-cent-icon.d.ts +1 -2
  791. package/dist/types/components/icon/icons/badge-check-icon.d.ts +1 -2
  792. package/dist/types/components/icon/icons/badge-dollar-sign-icon.d.ts +1 -2
  793. package/dist/types/components/icon/icons/badge-euro-icon.d.ts +1 -2
  794. package/dist/types/components/icon/icons/badge-icon.d.ts +1 -2
  795. package/dist/types/components/icon/icons/badge-indian-rupee-icon.d.ts +1 -2
  796. package/dist/types/components/icon/icons/badge-info-icon.d.ts +1 -2
  797. package/dist/types/components/icon/icons/badge-japanese-yen-icon.d.ts +1 -2
  798. package/dist/types/components/icon/icons/badge-minus-icon.d.ts +1 -2
  799. package/dist/types/components/icon/icons/badge-percent-icon.d.ts +1 -2
  800. package/dist/types/components/icon/icons/badge-plus-icon.d.ts +1 -2
  801. package/dist/types/components/icon/icons/badge-pound-sterling-icon.d.ts +1 -2
  802. package/dist/types/components/icon/icons/badge-question-mark-icon.d.ts +1 -2
  803. package/dist/types/components/icon/icons/badge-russian-ruble-icon.d.ts +1 -2
  804. package/dist/types/components/icon/icons/badge-swiss-franc-icon.d.ts +1 -2
  805. package/dist/types/components/icon/icons/badge-turkish-lira-icon.d.ts +1 -2
  806. package/dist/types/components/icon/icons/badge-x-icon.d.ts +1 -2
  807. package/dist/types/components/icon/icons/baggage-claim-icon.d.ts +1 -2
  808. package/dist/types/components/icon/icons/balloon-icon.d.ts +1 -2
  809. package/dist/types/components/icon/icons/ban-icon.d.ts +1 -2
  810. package/dist/types/components/icon/icons/banana-icon.d.ts +1 -2
  811. package/dist/types/components/icon/icons/bandage-icon.d.ts +1 -2
  812. package/dist/types/components/icon/icons/banknote-arrow-down-icon.d.ts +1 -2
  813. package/dist/types/components/icon/icons/banknote-arrow-up-icon.d.ts +1 -2
  814. package/dist/types/components/icon/icons/banknote-check-icon.d.ts +1 -2
  815. package/dist/types/components/icon/icons/banknote-icon.d.ts +1 -2
  816. package/dist/types/components/icon/icons/banknote-x-icon.d.ts +1 -2
  817. package/dist/types/components/icon/icons/barcode-icon.d.ts +1 -2
  818. package/dist/types/components/icon/icons/barrel-icon.d.ts +1 -2
  819. package/dist/types/components/icon/icons/baseline-icon.d.ts +1 -2
  820. package/dist/types/components/icon/icons/bath-icon.d.ts +1 -2
  821. package/dist/types/components/icon/icons/battery-charging-icon.d.ts +1 -2
  822. package/dist/types/components/icon/icons/battery-full-icon.d.ts +1 -2
  823. package/dist/types/components/icon/icons/battery-icon.d.ts +1 -2
  824. package/dist/types/components/icon/icons/battery-low-icon.d.ts +1 -2
  825. package/dist/types/components/icon/icons/battery-medium-icon.d.ts +1 -2
  826. package/dist/types/components/icon/icons/battery-plus-icon.d.ts +1 -2
  827. package/dist/types/components/icon/icons/battery-warning-icon.d.ts +1 -2
  828. package/dist/types/components/icon/icons/beaker-icon.d.ts +1 -2
  829. package/dist/types/components/icon/icons/bean-icon.d.ts +1 -2
  830. package/dist/types/components/icon/icons/bean-off-icon.d.ts +1 -2
  831. package/dist/types/components/icon/icons/bed-double-icon.d.ts +1 -2
  832. package/dist/types/components/icon/icons/bed-icon.d.ts +1 -2
  833. package/dist/types/components/icon/icons/bed-single-icon.d.ts +1 -2
  834. package/dist/types/components/icon/icons/beef-icon.d.ts +1 -2
  835. package/dist/types/components/icon/icons/beef-off-icon.d.ts +1 -2
  836. package/dist/types/components/icon/icons/beer-icon.d.ts +1 -2
  837. package/dist/types/components/icon/icons/beer-off-icon.d.ts +1 -2
  838. package/dist/types/components/icon/icons/bell-check-icon.d.ts +1 -2
  839. package/dist/types/components/icon/icons/bell-dot-icon.d.ts +1 -2
  840. package/dist/types/components/icon/icons/bell-electric-icon.d.ts +1 -2
  841. package/dist/types/components/icon/icons/bell-icon.d.ts +1 -2
  842. package/dist/types/components/icon/icons/bell-minus-icon.d.ts +1 -2
  843. package/dist/types/components/icon/icons/bell-off-icon.d.ts +1 -2
  844. package/dist/types/components/icon/icons/bell-plus-icon.d.ts +1 -2
  845. package/dist/types/components/icon/icons/bell-ring-icon.d.ts +1 -2
  846. package/dist/types/components/icon/icons/between-horizontal-end-icon.d.ts +1 -2
  847. package/dist/types/components/icon/icons/between-horizontal-start-icon.d.ts +1 -2
  848. package/dist/types/components/icon/icons/between-vertical-end-icon.d.ts +1 -2
  849. package/dist/types/components/icon/icons/between-vertical-start-icon.d.ts +1 -2
  850. package/dist/types/components/icon/icons/biceps-flexed-icon.d.ts +1 -2
  851. package/dist/types/components/icon/icons/bike-icon.d.ts +1 -2
  852. package/dist/types/components/icon/icons/binary-icon.d.ts +1 -2
  853. package/dist/types/components/icon/icons/binoculars-icon.d.ts +1 -2
  854. package/dist/types/components/icon/icons/biohazard-icon.d.ts +1 -2
  855. package/dist/types/components/icon/icons/bird-icon.d.ts +1 -2
  856. package/dist/types/components/icon/icons/birdhouse-icon.d.ts +1 -2
  857. package/dist/types/components/icon/icons/bitcoin-icon.d.ts +1 -2
  858. package/dist/types/components/icon/icons/blend-icon.d.ts +1 -2
  859. package/dist/types/components/icon/icons/blender-icon.d.ts +1 -2
  860. package/dist/types/components/icon/icons/blinds-icon.d.ts +1 -2
  861. package/dist/types/components/icon/icons/blocks-icon.d.ts +1 -2
  862. package/dist/types/components/icon/icons/bluetooth-connected-icon.d.ts +1 -2
  863. package/dist/types/components/icon/icons/bluetooth-icon.d.ts +1 -2
  864. package/dist/types/components/icon/icons/bluetooth-off-icon.d.ts +1 -2
  865. package/dist/types/components/icon/icons/bluetooth-searching-icon.d.ts +1 -2
  866. package/dist/types/components/icon/icons/bold-icon.d.ts +1 -2
  867. package/dist/types/components/icon/icons/bolt-icon.d.ts +1 -2
  868. package/dist/types/components/icon/icons/bomb-icon.d.ts +1 -2
  869. package/dist/types/components/icon/icons/bone-fracture-icon.d.ts +1 -2
  870. package/dist/types/components/icon/icons/bone-icon.d.ts +1 -2
  871. package/dist/types/components/icon/icons/book-a-icon.d.ts +1 -2
  872. package/dist/types/components/icon/icons/book-alert-icon.d.ts +1 -2
  873. package/dist/types/components/icon/icons/book-audio-icon.d.ts +1 -2
  874. package/dist/types/components/icon/icons/book-bookmark-icon.d.ts +1 -2
  875. package/dist/types/components/icon/icons/book-check-icon.d.ts +1 -2
  876. package/dist/types/components/icon/icons/book-copy-icon.d.ts +1 -2
  877. package/dist/types/components/icon/icons/book-dashed-icon.d.ts +1 -2
  878. package/dist/types/components/icon/icons/book-down-icon.d.ts +1 -2
  879. package/dist/types/components/icon/icons/book-headphones-icon.d.ts +1 -2
  880. package/dist/types/components/icon/icons/book-heart-icon.d.ts +1 -2
  881. package/dist/types/components/icon/icons/book-icon.d.ts +1 -2
  882. package/dist/types/components/icon/icons/book-image-icon.d.ts +1 -2
  883. package/dist/types/components/icon/icons/book-key-icon.d.ts +1 -2
  884. package/dist/types/components/icon/icons/book-lock-icon.d.ts +1 -2
  885. package/dist/types/components/icon/icons/book-minus-icon.d.ts +1 -2
  886. package/dist/types/components/icon/icons/book-open-check-icon.d.ts +1 -2
  887. package/dist/types/components/icon/icons/book-open-icon.d.ts +1 -2
  888. package/dist/types/components/icon/icons/book-open-text-icon.d.ts +1 -2
  889. package/dist/types/components/icon/icons/book-plus-icon.d.ts +1 -2
  890. package/dist/types/components/icon/icons/book-search-icon.d.ts +1 -2
  891. package/dist/types/components/icon/icons/book-text-icon.d.ts +1 -2
  892. package/dist/types/components/icon/icons/book-type-icon.d.ts +1 -2
  893. package/dist/types/components/icon/icons/book-up-icon.d.ts +1 -2
  894. package/dist/types/components/icon/icons/book-up2-icon.d.ts +1 -2
  895. package/dist/types/components/icon/icons/book-user-icon.d.ts +1 -2
  896. package/dist/types/components/icon/icons/book-x-icon.d.ts +1 -2
  897. package/dist/types/components/icon/icons/bookmark-check-icon.d.ts +1 -2
  898. package/dist/types/components/icon/icons/bookmark-icon.d.ts +1 -2
  899. package/dist/types/components/icon/icons/bookmark-minus-icon.d.ts +1 -2
  900. package/dist/types/components/icon/icons/bookmark-off-icon.d.ts +1 -2
  901. package/dist/types/components/icon/icons/bookmark-plus-icon.d.ts +1 -2
  902. package/dist/types/components/icon/icons/bookmark-x-icon.d.ts +1 -2
  903. package/dist/types/components/icon/icons/boom-box-icon.d.ts +1 -2
  904. package/dist/types/components/icon/icons/bot-icon.d.ts +1 -2
  905. package/dist/types/components/icon/icons/bot-message-square-icon.d.ts +1 -2
  906. package/dist/types/components/icon/icons/bot-off-icon.d.ts +1 -2
  907. package/dist/types/components/icon/icons/bottle-wine-icon.d.ts +1 -2
  908. package/dist/types/components/icon/icons/bow-arrow-icon.d.ts +1 -2
  909. package/dist/types/components/icon/icons/box-icon.d.ts +1 -2
  910. package/dist/types/components/icon/icons/boxes-icon.d.ts +1 -2
  911. package/dist/types/components/icon/icons/braces-icon.d.ts +1 -2
  912. package/dist/types/components/icon/icons/brackets-icon.d.ts +1 -2
  913. package/dist/types/components/icon/icons/brain-circuit-icon.d.ts +1 -2
  914. package/dist/types/components/icon/icons/brain-cog-icon.d.ts +1 -2
  915. package/dist/types/components/icon/icons/brain-icon.d.ts +1 -2
  916. package/dist/types/components/icon/icons/brick-wall-fire-icon.d.ts +1 -2
  917. package/dist/types/components/icon/icons/brick-wall-icon.d.ts +1 -2
  918. package/dist/types/components/icon/icons/brick-wall-shield-icon.d.ts +1 -2
  919. package/dist/types/components/icon/icons/bridge-icon.d.ts +1 -2
  920. package/dist/types/components/icon/icons/briefcase-business-icon.d.ts +1 -2
  921. package/dist/types/components/icon/icons/briefcase-conveyor-belt-icon.d.ts +1 -2
  922. package/dist/types/components/icon/icons/briefcase-icon.d.ts +1 -2
  923. package/dist/types/components/icon/icons/briefcase-medical-icon.d.ts +1 -2
  924. package/dist/types/components/icon/icons/briefcase-plus-icon.d.ts +12 -0
  925. package/dist/types/components/icon/icons/bring-to-front-icon.d.ts +1 -2
  926. package/dist/types/components/icon/icons/broccoli-icon.d.ts +1 -2
  927. package/dist/types/components/icon/icons/broom-icon.d.ts +1 -2
  928. package/dist/types/components/icon/icons/broom-sparkles-icon.d.ts +1 -2
  929. package/dist/types/components/icon/icons/brush-cleaning-icon.d.ts +1 -2
  930. package/dist/types/components/icon/icons/brush-icon.d.ts +1 -2
  931. package/dist/types/components/icon/icons/bubbles-icon.d.ts +1 -2
  932. package/dist/types/components/icon/icons/bug-icon.d.ts +1 -2
  933. package/dist/types/components/icon/icons/bug-off-icon.d.ts +1 -2
  934. package/dist/types/components/icon/icons/bug-play-icon.d.ts +1 -2
  935. package/dist/types/components/icon/icons/building-complex-icon.d.ts +1 -2
  936. package/dist/types/components/icon/icons/building-complex-plus-icon.d.ts +1 -2
  937. package/dist/types/components/icon/icons/building-icon.d.ts +1 -2
  938. package/dist/types/components/icon/icons/bus-front-icon.d.ts +1 -2
  939. package/dist/types/components/icon/icons/bus-icon.d.ts +1 -2
  940. package/dist/types/components/icon/icons/cable-car-icon.d.ts +1 -2
  941. package/dist/types/components/icon/icons/cable-icon.d.ts +1 -2
  942. package/dist/types/components/icon/icons/cake-icon.d.ts +1 -2
  943. package/dist/types/components/icon/icons/cake-slice-icon.d.ts +1 -2
  944. package/dist/types/components/icon/icons/calculator-icon.d.ts +1 -2
  945. package/dist/types/components/icon/icons/calendar-arrow-down-icon.d.ts +1 -2
  946. package/dist/types/components/icon/icons/calendar-arrow-up-icon.d.ts +1 -2
  947. package/dist/types/components/icon/icons/calendar-check-icon.d.ts +1 -2
  948. package/dist/types/components/icon/icons/calendar-check2-icon.d.ts +1 -2
  949. package/dist/types/components/icon/icons/calendar-chevrons-right-icon.d.ts +1 -2
  950. package/dist/types/components/icon/icons/calendar-clock-icon.d.ts +1 -2
  951. package/dist/types/components/icon/icons/calendar-cog-icon.d.ts +1 -2
  952. package/dist/types/components/icon/icons/calendar-days-icon.d.ts +1 -2
  953. package/dist/types/components/icon/icons/calendar-fold-icon.d.ts +1 -2
  954. package/dist/types/components/icon/icons/calendar-heart-icon.d.ts +1 -2
  955. package/dist/types/components/icon/icons/calendar-icon.d.ts +1 -2
  956. package/dist/types/components/icon/icons/calendar-minus-icon.d.ts +1 -2
  957. package/dist/types/components/icon/icons/calendar-minus2-icon.d.ts +1 -2
  958. package/dist/types/components/icon/icons/calendar-off-icon.d.ts +1 -2
  959. package/dist/types/components/icon/icons/calendar-plus-icon.d.ts +1 -2
  960. package/dist/types/components/icon/icons/calendar-plus2-icon.d.ts +1 -2
  961. package/dist/types/components/icon/icons/calendar-range-icon.d.ts +1 -2
  962. package/dist/types/components/icon/icons/calendar-search-icon.d.ts +1 -2
  963. package/dist/types/components/icon/icons/calendar-sync-icon.d.ts +1 -2
  964. package/dist/types/components/icon/icons/calendar-x-icon.d.ts +1 -2
  965. package/dist/types/components/icon/icons/calendar-x2-icon.d.ts +1 -2
  966. package/dist/types/components/icon/icons/calendar1-icon.d.ts +1 -2
  967. package/dist/types/components/icon/icons/calendars-icon.d.ts +1 -2
  968. package/dist/types/components/icon/icons/camera-icon.d.ts +1 -2
  969. package/dist/types/components/icon/icons/camera-off-icon.d.ts +1 -2
  970. package/dist/types/components/icon/icons/can-icon.d.ts +1 -2
  971. package/dist/types/components/icon/icons/can-soda-icon.d.ts +1 -2
  972. package/dist/types/components/icon/icons/candy-cane-icon.d.ts +1 -2
  973. package/dist/types/components/icon/icons/candy-icon.d.ts +1 -2
  974. package/dist/types/components/icon/icons/candy-off-icon.d.ts +1 -2
  975. package/dist/types/components/icon/icons/cannabis-icon.d.ts +1 -2
  976. package/dist/types/components/icon/icons/cannabis-off-icon.d.ts +1 -2
  977. package/dist/types/components/icon/icons/captions-icon.d.ts +1 -2
  978. package/dist/types/components/icon/icons/captions-off-icon.d.ts +1 -2
  979. package/dist/types/components/icon/icons/car-battery-icon.d.ts +1 -2
  980. package/dist/types/components/icon/icons/car-front-icon.d.ts +1 -2
  981. package/dist/types/components/icon/icons/car-icon.d.ts +1 -2
  982. package/dist/types/components/icon/icons/car-taxi-front-icon.d.ts +1 -2
  983. package/dist/types/components/icon/icons/caravan-icon.d.ts +1 -2
  984. package/dist/types/components/icon/icons/card-sim-icon.d.ts +1 -2
  985. package/dist/types/components/icon/icons/carrot-icon.d.ts +1 -2
  986. package/dist/types/components/icon/icons/carton-icon.d.ts +1 -2
  987. package/dist/types/components/icon/icons/carton-off-icon.d.ts +1 -2
  988. package/dist/types/components/icon/icons/case-lower-icon.d.ts +1 -2
  989. package/dist/types/components/icon/icons/case-sensitive-icon.d.ts +1 -2
  990. package/dist/types/components/icon/icons/case-upper-icon.d.ts +1 -2
  991. package/dist/types/components/icon/icons/cassette-tape-icon.d.ts +1 -2
  992. package/dist/types/components/icon/icons/cast-icon.d.ts +1 -2
  993. package/dist/types/components/icon/icons/castle-icon.d.ts +1 -2
  994. package/dist/types/components/icon/icons/cat-icon.d.ts +1 -2
  995. package/dist/types/components/icon/icons/cctv-icon.d.ts +1 -2
  996. package/dist/types/components/icon/icons/cctv-off-icon.d.ts +1 -2
  997. package/dist/types/components/icon/icons/chart-area-icon.d.ts +1 -2
  998. package/dist/types/components/icon/icons/chart-bar-big-icon.d.ts +1 -2
  999. package/dist/types/components/icon/icons/chart-bar-decreasing-icon.d.ts +1 -2
  1000. package/dist/types/components/icon/icons/chart-bar-icon.d.ts +1 -2
  1001. package/dist/types/components/icon/icons/chart-bar-increasing-icon.d.ts +1 -2
  1002. package/dist/types/components/icon/icons/chart-bar-stacked-icon.d.ts +1 -2
  1003. package/dist/types/components/icon/icons/chart-candlestick-icon.d.ts +1 -2
  1004. package/dist/types/components/icon/icons/chart-column-big-icon.d.ts +1 -2
  1005. package/dist/types/components/icon/icons/chart-column-decreasing-icon.d.ts +1 -2
  1006. package/dist/types/components/icon/icons/chart-column-icon.d.ts +1 -2
  1007. package/dist/types/components/icon/icons/chart-column-increasing-icon.d.ts +1 -2
  1008. package/dist/types/components/icon/icons/chart-column-stacked-icon.d.ts +1 -2
  1009. package/dist/types/components/icon/icons/chart-gantt-icon.d.ts +1 -2
  1010. package/dist/types/components/icon/icons/chart-line-icon.d.ts +1 -2
  1011. package/dist/types/components/icon/icons/chart-network-icon.d.ts +1 -2
  1012. package/dist/types/components/icon/icons/chart-no-axes-column-decreasing-icon.d.ts +1 -2
  1013. package/dist/types/components/icon/icons/chart-no-axes-column-icon.d.ts +1 -2
  1014. package/dist/types/components/icon/icons/chart-no-axes-column-increasing-icon.d.ts +1 -2
  1015. package/dist/types/components/icon/icons/chart-no-axes-combined-icon.d.ts +1 -2
  1016. package/dist/types/components/icon/icons/chart-no-axes-gantt-icon.d.ts +1 -2
  1017. package/dist/types/components/icon/icons/chart-pie-icon.d.ts +1 -2
  1018. package/dist/types/components/icon/icons/chart-scatter-icon.d.ts +1 -2
  1019. package/dist/types/components/icon/icons/chart-spline-icon.d.ts +1 -2
  1020. package/dist/types/components/icon/icons/check-check-icon.d.ts +1 -2
  1021. package/dist/types/components/icon/icons/check-icon.d.ts +1 -2
  1022. package/dist/types/components/icon/icons/check-line-icon.d.ts +1 -2
  1023. package/dist/types/components/icon/icons/chef-hat-icon.d.ts +1 -2
  1024. package/dist/types/components/icon/icons/cherry-icon.d.ts +1 -2
  1025. package/dist/types/components/icon/icons/chess-bishop-icon.d.ts +1 -2
  1026. package/dist/types/components/icon/icons/chess-king-icon.d.ts +1 -2
  1027. package/dist/types/components/icon/icons/chess-knight-icon.d.ts +1 -2
  1028. package/dist/types/components/icon/icons/chess-pawn-icon.d.ts +1 -2
  1029. package/dist/types/components/icon/icons/chess-queen-icon.d.ts +1 -2
  1030. package/dist/types/components/icon/icons/chess-rook-icon.d.ts +1 -2
  1031. package/dist/types/components/icon/icons/chevron-down-icon.d.ts +1 -2
  1032. package/dist/types/components/icon/icons/chevron-first-icon.d.ts +1 -2
  1033. package/dist/types/components/icon/icons/chevron-last-icon.d.ts +1 -2
  1034. package/dist/types/components/icon/icons/chevron-left-icon.d.ts +1 -2
  1035. package/dist/types/components/icon/icons/chevron-right-icon.d.ts +1 -2
  1036. package/dist/types/components/icon/icons/chevron-up-icon.d.ts +1 -2
  1037. package/dist/types/components/icon/icons/chevrons-down-icon.d.ts +1 -2
  1038. package/dist/types/components/icon/icons/chevrons-down-up-icon.d.ts +1 -2
  1039. package/dist/types/components/icon/icons/chevrons-left-icon.d.ts +1 -2
  1040. package/dist/types/components/icon/icons/chevrons-left-right-ellipsis-icon.d.ts +1 -2
  1041. package/dist/types/components/icon/icons/chevrons-left-right-icon.d.ts +1 -2
  1042. package/dist/types/components/icon/icons/chevrons-right-icon.d.ts +1 -2
  1043. package/dist/types/components/icon/icons/chevrons-right-left-icon.d.ts +1 -2
  1044. package/dist/types/components/icon/icons/chevrons-up-down-icon.d.ts +1 -2
  1045. package/dist/types/components/icon/icons/chevrons-up-icon.d.ts +1 -2
  1046. package/dist/types/components/icon/icons/church-icon.d.ts +1 -2
  1047. package/dist/types/components/icon/icons/cigarette-icon.d.ts +1 -2
  1048. package/dist/types/components/icon/icons/cigarette-off-icon.d.ts +1 -2
  1049. package/dist/types/components/icon/icons/circle-alert-icon.d.ts +1 -2
  1050. package/dist/types/components/icon/icons/circle-arrow-down-icon.d.ts +1 -2
  1051. package/dist/types/components/icon/icons/circle-arrow-left-icon.d.ts +1 -2
  1052. package/dist/types/components/icon/icons/circle-arrow-out-down-left-icon.d.ts +1 -2
  1053. package/dist/types/components/icon/icons/circle-arrow-out-down-right-icon.d.ts +1 -2
  1054. package/dist/types/components/icon/icons/circle-arrow-out-up-left-icon.d.ts +1 -2
  1055. package/dist/types/components/icon/icons/circle-arrow-out-up-right-icon.d.ts +1 -2
  1056. package/dist/types/components/icon/icons/circle-arrow-right-icon.d.ts +1 -2
  1057. package/dist/types/components/icon/icons/circle-arrow-up-icon.d.ts +1 -2
  1058. package/dist/types/components/icon/icons/circle-check-big-icon.d.ts +1 -2
  1059. package/dist/types/components/icon/icons/circle-check-icon.d.ts +1 -2
  1060. package/dist/types/components/icon/icons/circle-chevron-down-icon.d.ts +1 -2
  1061. package/dist/types/components/icon/icons/circle-chevron-left-icon.d.ts +1 -2
  1062. package/dist/types/components/icon/icons/circle-chevron-right-icon.d.ts +1 -2
  1063. package/dist/types/components/icon/icons/circle-chevron-up-icon.d.ts +1 -2
  1064. package/dist/types/components/icon/icons/circle-dashed-check-icon.d.ts +1 -2
  1065. package/dist/types/components/icon/icons/circle-dashed-icon.d.ts +1 -2
  1066. package/dist/types/components/icon/icons/circle-divide-icon.d.ts +1 -2
  1067. package/dist/types/components/icon/icons/circle-dollar-sign-icon.d.ts +1 -2
  1068. package/dist/types/components/icon/icons/circle-dot-dashed-icon.d.ts +1 -2
  1069. package/dist/types/components/icon/icons/circle-dot-icon.d.ts +1 -2
  1070. package/dist/types/components/icon/icons/circle-ellipsis-icon.d.ts +1 -2
  1071. package/dist/types/components/icon/icons/circle-equal-icon.d.ts +1 -2
  1072. package/dist/types/components/icon/icons/circle-euro-icon.d.ts +1 -2
  1073. package/dist/types/components/icon/icons/circle-fading-arrow-up-icon.d.ts +1 -2
  1074. package/dist/types/components/icon/icons/circle-fading-plus-icon.d.ts +1 -2
  1075. package/dist/types/components/icon/icons/circle-gauge-icon.d.ts +1 -2
  1076. package/dist/types/components/icon/icons/circle-icon.d.ts +1 -2
  1077. package/dist/types/components/icon/icons/circle-minus-icon.d.ts +1 -2
  1078. package/dist/types/components/icon/icons/circle-off-icon.d.ts +1 -2
  1079. package/dist/types/components/icon/icons/circle-parking-icon.d.ts +1 -2
  1080. package/dist/types/components/icon/icons/circle-parking-off-icon.d.ts +1 -2
  1081. package/dist/types/components/icon/icons/circle-pause-icon.d.ts +1 -2
  1082. package/dist/types/components/icon/icons/circle-percent-icon.d.ts +1 -2
  1083. package/dist/types/components/icon/icons/circle-pile-icon.d.ts +1 -2
  1084. package/dist/types/components/icon/icons/circle-play-icon.d.ts +1 -2
  1085. package/dist/types/components/icon/icons/circle-plus-icon.d.ts +1 -2
  1086. package/dist/types/components/icon/icons/circle-pound-sterling-icon.d.ts +1 -2
  1087. package/dist/types/components/icon/icons/circle-power-icon.d.ts +1 -2
  1088. package/dist/types/components/icon/icons/circle-question-mark-icon.d.ts +1 -2
  1089. package/dist/types/components/icon/icons/circle-slash-icon.d.ts +1 -2
  1090. package/dist/types/components/icon/icons/circle-slash2-icon.d.ts +1 -2
  1091. package/dist/types/components/icon/icons/circle-small-icon.d.ts +1 -2
  1092. package/dist/types/components/icon/icons/circle-star-icon.d.ts +1 -2
  1093. package/dist/types/components/icon/icons/circle-stop-icon.d.ts +1 -2
  1094. package/dist/types/components/icon/icons/circle-user-icon.d.ts +1 -2
  1095. package/dist/types/components/icon/icons/circle-user-round-icon.d.ts +1 -2
  1096. package/dist/types/components/icon/icons/circle-x-icon.d.ts +1 -2
  1097. package/dist/types/components/icon/icons/circuit-board-icon.d.ts +1 -2
  1098. package/dist/types/components/icon/icons/citrus-icon.d.ts +1 -2
  1099. package/dist/types/components/icon/icons/clapperboard-icon.d.ts +1 -2
  1100. package/dist/types/components/icon/icons/clef-alto-icon.d.ts +12 -0
  1101. package/dist/types/components/icon/icons/clef-bass-icon.d.ts +12 -0
  1102. package/dist/types/components/icon/icons/clef-treble-icon.d.ts +12 -0
  1103. package/dist/types/components/icon/icons/clipboard-check-icon.d.ts +1 -2
  1104. package/dist/types/components/icon/icons/clipboard-clock-icon.d.ts +1 -2
  1105. package/dist/types/components/icon/icons/clipboard-copy-icon.d.ts +1 -2
  1106. package/dist/types/components/icon/icons/clipboard-icon.d.ts +1 -2
  1107. package/dist/types/components/icon/icons/clipboard-list-icon.d.ts +1 -2
  1108. package/dist/types/components/icon/icons/clipboard-minus-icon.d.ts +1 -2
  1109. package/dist/types/components/icon/icons/clipboard-paste-icon.d.ts +1 -2
  1110. package/dist/types/components/icon/icons/clipboard-pen-icon.d.ts +1 -2
  1111. package/dist/types/components/icon/icons/clipboard-pen-line-icon.d.ts +1 -2
  1112. package/dist/types/components/icon/icons/clipboard-plus-icon.d.ts +1 -2
  1113. package/dist/types/components/icon/icons/clipboard-type-icon.d.ts +1 -2
  1114. package/dist/types/components/icon/icons/clipboard-x-icon.d.ts +1 -2
  1115. package/dist/types/components/icon/icons/clock-alert-icon.d.ts +1 -2
  1116. package/dist/types/components/icon/icons/clock-arrow-down-icon.d.ts +1 -2
  1117. package/dist/types/components/icon/icons/clock-arrow-left-icon.d.ts +1 -2
  1118. package/dist/types/components/icon/icons/clock-arrow-right-icon.d.ts +1 -2
  1119. package/dist/types/components/icon/icons/clock-arrow-up-icon.d.ts +1 -2
  1120. package/dist/types/components/icon/icons/clock-check-icon.d.ts +1 -2
  1121. package/dist/types/components/icon/icons/clock-fading-icon.d.ts +1 -2
  1122. package/dist/types/components/icon/icons/clock-icon.d.ts +1 -2
  1123. package/dist/types/components/icon/icons/clock-plus-icon.d.ts +1 -2
  1124. package/dist/types/components/icon/icons/clock1-icon.d.ts +1 -2
  1125. package/dist/types/components/icon/icons/clock10-icon.d.ts +1 -2
  1126. package/dist/types/components/icon/icons/clock11-icon.d.ts +1 -2
  1127. package/dist/types/components/icon/icons/clock12-icon.d.ts +1 -2
  1128. package/dist/types/components/icon/icons/clock2-icon.d.ts +1 -2
  1129. package/dist/types/components/icon/icons/clock3-icon.d.ts +1 -2
  1130. package/dist/types/components/icon/icons/clock4-icon.d.ts +1 -2
  1131. package/dist/types/components/icon/icons/clock5-icon.d.ts +1 -2
  1132. package/dist/types/components/icon/icons/clock6-icon.d.ts +1 -2
  1133. package/dist/types/components/icon/icons/clock7-icon.d.ts +1 -2
  1134. package/dist/types/components/icon/icons/clock8-icon.d.ts +1 -2
  1135. package/dist/types/components/icon/icons/clock9-icon.d.ts +1 -2
  1136. package/dist/types/components/icon/icons/closed-caption-icon.d.ts +1 -2
  1137. package/dist/types/components/icon/icons/cloud-alert-icon.d.ts +1 -2
  1138. package/dist/types/components/icon/icons/cloud-backup-icon.d.ts +1 -2
  1139. package/dist/types/components/icon/icons/cloud-check-icon.d.ts +1 -2
  1140. package/dist/types/components/icon/icons/cloud-cog-icon.d.ts +1 -2
  1141. package/dist/types/components/icon/icons/cloud-download-icon.d.ts +1 -2
  1142. package/dist/types/components/icon/icons/cloud-drizzle-icon.d.ts +1 -2
  1143. package/dist/types/components/icon/icons/cloud-fog-icon.d.ts +1 -2
  1144. package/dist/types/components/icon/icons/cloud-hail-icon.d.ts +1 -2
  1145. package/dist/types/components/icon/icons/cloud-icon.d.ts +1 -2
  1146. package/dist/types/components/icon/icons/cloud-lightning-icon.d.ts +1 -2
  1147. package/dist/types/components/icon/icons/cloud-moon-icon.d.ts +1 -2
  1148. package/dist/types/components/icon/icons/cloud-moon-rain-icon.d.ts +1 -2
  1149. package/dist/types/components/icon/icons/cloud-off-icon.d.ts +1 -2
  1150. package/dist/types/components/icon/icons/cloud-rain-icon.d.ts +1 -2
  1151. package/dist/types/components/icon/icons/cloud-rain-wind-icon.d.ts +1 -2
  1152. package/dist/types/components/icon/icons/cloud-snow-icon.d.ts +1 -2
  1153. package/dist/types/components/icon/icons/cloud-sun-icon.d.ts +1 -2
  1154. package/dist/types/components/icon/icons/cloud-sun-rain-icon.d.ts +1 -2
  1155. package/dist/types/components/icon/icons/cloud-sync-icon.d.ts +1 -2
  1156. package/dist/types/components/icon/icons/cloud-upload-icon.d.ts +1 -2
  1157. package/dist/types/components/icon/icons/cloudy-icon.d.ts +1 -2
  1158. package/dist/types/components/icon/icons/clover-icon.d.ts +1 -2
  1159. package/dist/types/components/icon/icons/club-icon.d.ts +1 -2
  1160. package/dist/types/components/icon/icons/code-icon.d.ts +1 -2
  1161. package/dist/types/components/icon/icons/code-xml-icon.d.ts +1 -2
  1162. package/dist/types/components/icon/icons/coffee-icon.d.ts +1 -2
  1163. package/dist/types/components/icon/icons/cog-icon.d.ts +1 -2
  1164. package/dist/types/components/icon/icons/coins-icon.d.ts +1 -2
  1165. package/dist/types/components/icon/icons/columns2-icon.d.ts +1 -2
  1166. package/dist/types/components/icon/icons/columns3-cog-icon.d.ts +1 -2
  1167. package/dist/types/components/icon/icons/columns3-icon.d.ts +1 -2
  1168. package/dist/types/components/icon/icons/columns4-icon.d.ts +1 -2
  1169. package/dist/types/components/icon/icons/combine-icon.d.ts +1 -2
  1170. package/dist/types/components/icon/icons/command-icon.d.ts +1 -2
  1171. package/dist/types/components/icon/icons/compass-icon.d.ts +1 -2
  1172. package/dist/types/components/icon/icons/component-icon.d.ts +1 -2
  1173. package/dist/types/components/icon/icons/computer-icon.d.ts +1 -2
  1174. package/dist/types/components/icon/icons/concierge-bell-icon.d.ts +1 -2
  1175. package/dist/types/components/icon/icons/cone-icon.d.ts +1 -2
  1176. package/dist/types/components/icon/icons/construction-icon.d.ts +1 -2
  1177. package/dist/types/components/icon/icons/contact-icon.d.ts +1 -2
  1178. package/dist/types/components/icon/icons/contact-round-icon.d.ts +1 -2
  1179. package/dist/types/components/icon/icons/container-icon.d.ts +1 -2
  1180. package/dist/types/components/icon/icons/contrast-icon.d.ts +1 -2
  1181. package/dist/types/components/icon/icons/cookie-icon.d.ts +1 -2
  1182. package/dist/types/components/icon/icons/cooking-pot-icon.d.ts +1 -2
  1183. package/dist/types/components/icon/icons/copy-check-icon.d.ts +1 -2
  1184. package/dist/types/components/icon/icons/copy-icon.d.ts +1 -2
  1185. package/dist/types/components/icon/icons/copy-minus-icon.d.ts +1 -2
  1186. package/dist/types/components/icon/icons/copy-plus-icon.d.ts +1 -2
  1187. package/dist/types/components/icon/icons/copy-slash-icon.d.ts +1 -2
  1188. package/dist/types/components/icon/icons/copy-x-icon.d.ts +1 -2
  1189. package/dist/types/components/icon/icons/copyleft-icon.d.ts +1 -2
  1190. package/dist/types/components/icon/icons/copyright-icon.d.ts +1 -2
  1191. package/dist/types/components/icon/icons/corner-down-left-icon.d.ts +1 -2
  1192. package/dist/types/components/icon/icons/corner-down-right-icon.d.ts +1 -2
  1193. package/dist/types/components/icon/icons/corner-left-down-icon.d.ts +1 -2
  1194. package/dist/types/components/icon/icons/corner-left-up-icon.d.ts +1 -2
  1195. package/dist/types/components/icon/icons/corner-right-down-icon.d.ts +1 -2
  1196. package/dist/types/components/icon/icons/corner-right-up-icon.d.ts +1 -2
  1197. package/dist/types/components/icon/icons/corner-up-left-icon.d.ts +1 -2
  1198. package/dist/types/components/icon/icons/corner-up-right-icon.d.ts +1 -2
  1199. package/dist/types/components/icon/icons/cpu-icon.d.ts +1 -2
  1200. package/dist/types/components/icon/icons/creative-commons-icon.d.ts +1 -2
  1201. package/dist/types/components/icon/icons/credit-card-check-icon.d.ts +1 -2
  1202. package/dist/types/components/icon/icons/credit-card-icon.d.ts +1 -2
  1203. package/dist/types/components/icon/icons/credit-card-minus-icon.d.ts +1 -2
  1204. package/dist/types/components/icon/icons/credit-card-plus-icon.d.ts +1 -2
  1205. package/dist/types/components/icon/icons/credit-card-reader-icon.d.ts +1 -2
  1206. package/dist/types/components/icon/icons/credit-card-x-icon.d.ts +1 -2
  1207. package/dist/types/components/icon/icons/croissant-icon.d.ts +1 -2
  1208. package/dist/types/components/icon/icons/crop-icon.d.ts +1 -2
  1209. package/dist/types/components/icon/icons/cross-icon.d.ts +1 -2
  1210. package/dist/types/components/icon/icons/crosshair-icon.d.ts +1 -2
  1211. package/dist/types/components/icon/icons/crown-icon.d.ts +1 -2
  1212. package/dist/types/components/icon/icons/cuboid-icon.d.ts +1 -2
  1213. package/dist/types/components/icon/icons/cup-soda-icon.d.ts +1 -2
  1214. package/dist/types/components/icon/icons/cupcake-icon.d.ts +12 -0
  1215. package/dist/types/components/icon/icons/currency-icon.d.ts +1 -2
  1216. package/dist/types/components/icon/icons/cylinder-icon.d.ts +1 -2
  1217. package/dist/types/components/icon/icons/dam-icon.d.ts +1 -2
  1218. package/dist/types/components/icon/icons/database-arrow-down-icon.d.ts +1 -2
  1219. package/dist/types/components/icon/icons/database-arrow-up-icon.d.ts +1 -2
  1220. package/dist/types/components/icon/icons/database-backup-icon.d.ts +1 -2
  1221. package/dist/types/components/icon/icons/database-check-icon.d.ts +1 -2
  1222. package/dist/types/components/icon/icons/database-icon.d.ts +1 -2
  1223. package/dist/types/components/icon/icons/database-minus-icon.d.ts +1 -2
  1224. package/dist/types/components/icon/icons/database-plus-icon.d.ts +1 -2
  1225. package/dist/types/components/icon/icons/database-search-icon.d.ts +1 -2
  1226. package/dist/types/components/icon/icons/database-x-icon.d.ts +1 -2
  1227. package/dist/types/components/icon/icons/database-zap-icon.d.ts +1 -2
  1228. package/dist/types/components/icon/icons/decimals-arrow-left-icon.d.ts +1 -2
  1229. package/dist/types/components/icon/icons/decimals-arrow-right-icon.d.ts +1 -2
  1230. package/dist/types/components/icon/icons/delete-icon.d.ts +1 -2
  1231. package/dist/types/components/icon/icons/dessert-icon.d.ts +1 -2
  1232. package/dist/types/components/icon/icons/diameter-icon.d.ts +1 -2
  1233. package/dist/types/components/icon/icons/diamond-icon.d.ts +1 -2
  1234. package/dist/types/components/icon/icons/diamond-minus-icon.d.ts +1 -2
  1235. package/dist/types/components/icon/icons/diamond-percent-icon.d.ts +1 -2
  1236. package/dist/types/components/icon/icons/diamond-plus-icon.d.ts +1 -2
  1237. package/dist/types/components/icon/icons/dice1-icon.d.ts +1 -2
  1238. package/dist/types/components/icon/icons/dice2-icon.d.ts +1 -2
  1239. package/dist/types/components/icon/icons/dice3-icon.d.ts +1 -2
  1240. package/dist/types/components/icon/icons/dice4-icon.d.ts +1 -2
  1241. package/dist/types/components/icon/icons/dice5-icon.d.ts +1 -2
  1242. package/dist/types/components/icon/icons/dice6-icon.d.ts +1 -2
  1243. package/dist/types/components/icon/icons/dices-icon.d.ts +1 -2
  1244. package/dist/types/components/icon/icons/diff-icon.d.ts +1 -2
  1245. package/dist/types/components/icon/icons/disc-album-icon.d.ts +1 -2
  1246. package/dist/types/components/icon/icons/disc-icon.d.ts +1 -2
  1247. package/dist/types/components/icon/icons/disc2-icon.d.ts +1 -2
  1248. package/dist/types/components/icon/icons/disc3-icon.d.ts +1 -2
  1249. package/dist/types/components/icon/icons/divide-icon.d.ts +1 -2
  1250. package/dist/types/components/icon/icons/dna-icon.d.ts +1 -2
  1251. package/dist/types/components/icon/icons/dna-off-icon.d.ts +1 -2
  1252. package/dist/types/components/icon/icons/dock-icon.d.ts +1 -2
  1253. package/dist/types/components/icon/icons/dog-icon.d.ts +1 -2
  1254. package/dist/types/components/icon/icons/dollar-sign-icon.d.ts +1 -2
  1255. package/dist/types/components/icon/icons/dome-icon.d.ts +1 -2
  1256. package/dist/types/components/icon/icons/donut-icon.d.ts +1 -2
  1257. package/dist/types/components/icon/icons/door-closed-icon.d.ts +1 -2
  1258. package/dist/types/components/icon/icons/door-closed-locked-icon.d.ts +1 -2
  1259. package/dist/types/components/icon/icons/door-closed-package-icon.d.ts +12 -0
  1260. package/dist/types/components/icon/icons/door-open-icon.d.ts +1 -2
  1261. package/dist/types/components/icon/icons/door-stairwell-icon.d.ts +1 -2
  1262. package/dist/types/components/icon/icons/dot-icon.d.ts +1 -2
  1263. package/dist/types/components/icon/icons/download-icon.d.ts +1 -2
  1264. package/dist/types/components/icon/icons/drafting-compass-icon.d.ts +1 -2
  1265. package/dist/types/components/icon/icons/drama-icon.d.ts +1 -2
  1266. package/dist/types/components/icon/icons/drill-icon.d.ts +1 -2
  1267. package/dist/types/components/icon/icons/drone-icon.d.ts +1 -2
  1268. package/dist/types/components/icon/icons/droplet-icon.d.ts +1 -2
  1269. package/dist/types/components/icon/icons/droplet-off-icon.d.ts +1 -2
  1270. package/dist/types/components/icon/icons/droplets-icon.d.ts +1 -2
  1271. package/dist/types/components/icon/icons/drum-icon.d.ts +1 -2
  1272. package/dist/types/components/icon/icons/drumstick-icon.d.ts +1 -2
  1273. package/dist/types/components/icon/icons/dumbbell-icon.d.ts +1 -2
  1274. package/dist/types/components/icon/icons/ear-icon.d.ts +1 -2
  1275. package/dist/types/components/icon/icons/ear-off-icon.d.ts +1 -2
  1276. package/dist/types/components/icon/icons/earth-icon.d.ts +1 -2
  1277. package/dist/types/components/icon/icons/earth-lock-icon.d.ts +1 -2
  1278. package/dist/types/components/icon/icons/eclipse-icon.d.ts +1 -2
  1279. package/dist/types/components/icon/icons/egg-fried-icon.d.ts +1 -2
  1280. package/dist/types/components/icon/icons/egg-icon.d.ts +1 -2
  1281. package/dist/types/components/icon/icons/egg-off-icon.d.ts +1 -2
  1282. package/dist/types/components/icon/icons/eject-icon.d.ts +1 -2
  1283. package/dist/types/components/icon/icons/ellipse-icon.d.ts +1 -2
  1284. package/dist/types/components/icon/icons/ellipsis-icon.d.ts +1 -2
  1285. package/dist/types/components/icon/icons/ellipsis-vertical-icon.d.ts +1 -2
  1286. package/dist/types/components/icon/icons/engine-icon.d.ts +1 -2
  1287. package/dist/types/components/icon/icons/equal-approximately-icon.d.ts +1 -2
  1288. package/dist/types/components/icon/icons/equal-approximately-not-icon.d.ts +1 -2
  1289. package/dist/types/components/icon/icons/equal-icon.d.ts +1 -2
  1290. package/dist/types/components/icon/icons/equal-not-icon.d.ts +1 -2
  1291. package/dist/types/components/icon/icons/eraser-icon.d.ts +1 -2
  1292. package/dist/types/components/icon/icons/ethernet-port-icon.d.ts +1 -2
  1293. package/dist/types/components/icon/icons/euro-icon.d.ts +1 -2
  1294. package/dist/types/components/icon/icons/ev-charger-icon.d.ts +1 -2
  1295. package/dist/types/components/icon/icons/expand-icon.d.ts +1 -2
  1296. package/dist/types/components/icon/icons/external-link-icon.d.ts +1 -2
  1297. package/dist/types/components/icon/icons/eye-closed-icon.d.ts +1 -2
  1298. package/dist/types/components/icon/icons/eye-dashed-icon.d.ts +1 -2
  1299. package/dist/types/components/icon/icons/eye-icon.d.ts +1 -2
  1300. package/dist/types/components/icon/icons/eye-off-icon.d.ts +1 -2
  1301. package/dist/types/components/icon/icons/face-angry-icon.d.ts +1 -2
  1302. package/dist/types/components/icon/icons/face-expressionless-icon.d.ts +1 -2
  1303. package/dist/types/components/icon/icons/face-grinning-icon.d.ts +1 -2
  1304. package/dist/types/components/icon/icons/face-neutral-icon.d.ts +1 -2
  1305. package/dist/types/components/icon/icons/face-slightly-frowning-icon.d.ts +1 -2
  1306. package/dist/types/components/icon/icons/face-slightly-smiling-icon.d.ts +1 -2
  1307. package/dist/types/components/icon/icons/face-slightly-smiling-plus-icon.d.ts +1 -2
  1308. package/dist/types/components/icon/icons/factory-icon.d.ts +1 -2
  1309. package/dist/types/components/icon/icons/fan-icon.d.ts +1 -2
  1310. package/dist/types/components/icon/icons/fast-forward-icon.d.ts +1 -2
  1311. package/dist/types/components/icon/icons/faucet-icon.d.ts +12 -0
  1312. package/dist/types/components/icon/icons/feather-icon.d.ts +1 -2
  1313. package/dist/types/components/icon/icons/fence-icon.d.ts +1 -2
  1314. package/dist/types/components/icon/icons/ferris-wheel-icon.d.ts +1 -2
  1315. package/dist/types/components/icon/icons/file-archive-icon.d.ts +1 -2
  1316. package/dist/types/components/icon/icons/file-axis3d-icon.d.ts +1 -2
  1317. package/dist/types/components/icon/icons/file-badge-icon.d.ts +1 -2
  1318. package/dist/types/components/icon/icons/file-box-icon.d.ts +1 -2
  1319. package/dist/types/components/icon/icons/file-braces-corner-icon.d.ts +1 -2
  1320. package/dist/types/components/icon/icons/file-braces-icon.d.ts +1 -2
  1321. package/dist/types/components/icon/icons/file-chart-column-icon.d.ts +1 -2
  1322. package/dist/types/components/icon/icons/file-chart-column-increasing-icon.d.ts +1 -2
  1323. package/dist/types/components/icon/icons/file-chart-line-icon.d.ts +1 -2
  1324. package/dist/types/components/icon/icons/file-chart-pie-icon.d.ts +1 -2
  1325. package/dist/types/components/icon/icons/file-check-corner-icon.d.ts +1 -2
  1326. package/dist/types/components/icon/icons/file-check-icon.d.ts +1 -2
  1327. package/dist/types/components/icon/icons/file-clock-icon.d.ts +1 -2
  1328. package/dist/types/components/icon/icons/file-code-corner-icon.d.ts +1 -2
  1329. package/dist/types/components/icon/icons/file-code-icon.d.ts +1 -2
  1330. package/dist/types/components/icon/icons/file-cog-icon.d.ts +1 -2
  1331. package/dist/types/components/icon/icons/file-diff-icon.d.ts +1 -2
  1332. package/dist/types/components/icon/icons/file-digit-icon.d.ts +1 -2
  1333. package/dist/types/components/icon/icons/file-down-icon.d.ts +1 -2
  1334. package/dist/types/components/icon/icons/file-exclamation-point-icon.d.ts +1 -2
  1335. package/dist/types/components/icon/icons/file-headphone-icon.d.ts +1 -2
  1336. package/dist/types/components/icon/icons/file-heart-icon.d.ts +1 -2
  1337. package/dist/types/components/icon/icons/file-icon.d.ts +1 -2
  1338. package/dist/types/components/icon/icons/file-image-icon.d.ts +1 -2
  1339. package/dist/types/components/icon/icons/file-input-icon.d.ts +1 -2
  1340. package/dist/types/components/icon/icons/file-key-icon.d.ts +1 -2
  1341. package/dist/types/components/icon/icons/file-lock-icon.d.ts +1 -2
  1342. package/dist/types/components/icon/icons/file-minus-corner-icon.d.ts +1 -2
  1343. package/dist/types/components/icon/icons/file-minus-icon.d.ts +1 -2
  1344. package/dist/types/components/icon/icons/file-music-icon.d.ts +1 -2
  1345. package/dist/types/components/icon/icons/file-output-icon.d.ts +1 -2
  1346. package/dist/types/components/icon/icons/file-pen-icon.d.ts +1 -2
  1347. package/dist/types/components/icon/icons/file-pen-line-icon.d.ts +1 -2
  1348. package/dist/types/components/icon/icons/file-play-icon.d.ts +1 -2
  1349. package/dist/types/components/icon/icons/file-plus-corner-icon.d.ts +1 -2
  1350. package/dist/types/components/icon/icons/file-plus-icon.d.ts +1 -2
  1351. package/dist/types/components/icon/icons/file-question-mark-icon.d.ts +1 -2
  1352. package/dist/types/components/icon/icons/file-scan-icon.d.ts +1 -2
  1353. package/dist/types/components/icon/icons/file-search-corner-icon.d.ts +1 -2
  1354. package/dist/types/components/icon/icons/file-search-icon.d.ts +1 -2
  1355. package/dist/types/components/icon/icons/file-signal-icon.d.ts +1 -2
  1356. package/dist/types/components/icon/icons/file-sliders-icon.d.ts +1 -2
  1357. package/dist/types/components/icon/icons/file-spreadsheet-icon.d.ts +1 -2
  1358. package/dist/types/components/icon/icons/file-stack-icon.d.ts +1 -2
  1359. package/dist/types/components/icon/icons/file-symlink-icon.d.ts +1 -2
  1360. package/dist/types/components/icon/icons/file-terminal-icon.d.ts +1 -2
  1361. package/dist/types/components/icon/icons/file-text-icon.d.ts +1 -2
  1362. package/dist/types/components/icon/icons/file-type-corner-icon.d.ts +1 -2
  1363. package/dist/types/components/icon/icons/file-type-icon.d.ts +1 -2
  1364. package/dist/types/components/icon/icons/file-up-icon.d.ts +1 -2
  1365. package/dist/types/components/icon/icons/file-user-icon.d.ts +1 -2
  1366. package/dist/types/components/icon/icons/file-video-camera-icon.d.ts +1 -2
  1367. package/dist/types/components/icon/icons/file-volume-icon.d.ts +1 -2
  1368. package/dist/types/components/icon/icons/file-x-corner-icon.d.ts +1 -2
  1369. package/dist/types/components/icon/icons/file-x-icon.d.ts +1 -2
  1370. package/dist/types/components/icon/icons/files-icon.d.ts +1 -2
  1371. package/dist/types/components/icon/icons/film-icon.d.ts +1 -2
  1372. package/dist/types/components/icon/icons/fingerprint-pattern-icon.d.ts +1 -2
  1373. package/dist/types/components/icon/icons/fire-extinguisher-icon.d.ts +1 -2
  1374. package/dist/types/components/icon/icons/fish-icon.d.ts +1 -2
  1375. package/dist/types/components/icon/icons/fish-off-icon.d.ts +1 -2
  1376. package/dist/types/components/icon/icons/fish-symbol-icon.d.ts +1 -2
  1377. package/dist/types/components/icon/icons/fishing-hook-icon.d.ts +1 -2
  1378. package/dist/types/components/icon/icons/fishing-rod-icon.d.ts +1 -2
  1379. package/dist/types/components/icon/icons/flag-icon.d.ts +1 -2
  1380. package/dist/types/components/icon/icons/flag-off-icon.d.ts +1 -2
  1381. package/dist/types/components/icon/icons/flag-triangle-left-icon.d.ts +1 -2
  1382. package/dist/types/components/icon/icons/flag-triangle-right-icon.d.ts +1 -2
  1383. package/dist/types/components/icon/icons/flame-icon.d.ts +1 -2
  1384. package/dist/types/components/icon/icons/flame-kindling-icon.d.ts +1 -2
  1385. package/dist/types/components/icon/icons/flashlight-icon.d.ts +1 -2
  1386. package/dist/types/components/icon/icons/flashlight-off-icon.d.ts +1 -2
  1387. package/dist/types/components/icon/icons/flask-conical-icon.d.ts +1 -2
  1388. package/dist/types/components/icon/icons/flask-conical-off-icon.d.ts +1 -2
  1389. package/dist/types/components/icon/icons/flask-round-icon.d.ts +1 -2
  1390. package/dist/types/components/icon/icons/flower-icon.d.ts +1 -2
  1391. package/dist/types/components/icon/icons/flower2-icon.d.ts +1 -2
  1392. package/dist/types/components/icon/icons/focus-icon.d.ts +1 -2
  1393. package/dist/types/components/icon/icons/fold-horizontal-icon.d.ts +1 -2
  1394. package/dist/types/components/icon/icons/fold-vertical-icon.d.ts +1 -2
  1395. package/dist/types/components/icon/icons/folder-archive-icon.d.ts +1 -2
  1396. package/dist/types/components/icon/icons/folder-bookmark-icon.d.ts +1 -2
  1397. package/dist/types/components/icon/icons/folder-check-icon.d.ts +1 -2
  1398. package/dist/types/components/icon/icons/folder-clock-icon.d.ts +1 -2
  1399. package/dist/types/components/icon/icons/folder-closed-icon.d.ts +1 -2
  1400. package/dist/types/components/icon/icons/folder-code-icon.d.ts +1 -2
  1401. package/dist/types/components/icon/icons/folder-cog-icon.d.ts +1 -2
  1402. package/dist/types/components/icon/icons/folder-dot-icon.d.ts +1 -2
  1403. package/dist/types/components/icon/icons/folder-down-icon.d.ts +1 -2
  1404. package/dist/types/components/icon/icons/folder-git-icon.d.ts +1 -2
  1405. package/dist/types/components/icon/icons/folder-git2-icon.d.ts +1 -2
  1406. package/dist/types/components/icon/icons/folder-heart-icon.d.ts +1 -2
  1407. package/dist/types/components/icon/icons/folder-icon.d.ts +1 -2
  1408. package/dist/types/components/icon/icons/folder-input-icon.d.ts +1 -2
  1409. package/dist/types/components/icon/icons/folder-kanban-icon.d.ts +1 -2
  1410. package/dist/types/components/icon/icons/folder-key-icon.d.ts +1 -2
  1411. package/dist/types/components/icon/icons/folder-lock-icon.d.ts +1 -2
  1412. package/dist/types/components/icon/icons/folder-minus-icon.d.ts +1 -2
  1413. package/dist/types/components/icon/icons/folder-open-dot-icon.d.ts +1 -2
  1414. package/dist/types/components/icon/icons/folder-open-icon.d.ts +1 -2
  1415. package/dist/types/components/icon/icons/folder-output-icon.d.ts +1 -2
  1416. package/dist/types/components/icon/icons/folder-pen-icon.d.ts +1 -2
  1417. package/dist/types/components/icon/icons/folder-plus-icon.d.ts +1 -2
  1418. package/dist/types/components/icon/icons/folder-root-icon.d.ts +1 -2
  1419. package/dist/types/components/icon/icons/folder-search-icon.d.ts +1 -2
  1420. package/dist/types/components/icon/icons/folder-search2-icon.d.ts +1 -2
  1421. package/dist/types/components/icon/icons/folder-symlink-icon.d.ts +1 -2
  1422. package/dist/types/components/icon/icons/folder-sync-icon.d.ts +1 -2
  1423. package/dist/types/components/icon/icons/folder-tree-icon.d.ts +1 -2
  1424. package/dist/types/components/icon/icons/folder-up-icon.d.ts +1 -2
  1425. package/dist/types/components/icon/icons/folder-x-icon.d.ts +1 -2
  1426. package/dist/types/components/icon/icons/folders-icon.d.ts +1 -2
  1427. package/dist/types/components/icon/icons/footprints-icon.d.ts +1 -2
  1428. package/dist/types/components/icon/icons/forklift-icon.d.ts +1 -2
  1429. package/dist/types/components/icon/icons/form-icon.d.ts +1 -2
  1430. package/dist/types/components/icon/icons/forward-icon.d.ts +1 -2
  1431. package/dist/types/components/icon/icons/frame-icon.d.ts +1 -2
  1432. package/dist/types/components/icon/icons/fuel-icon.d.ts +1 -2
  1433. package/dist/types/components/icon/icons/fullscreen-icon.d.ts +1 -2
  1434. package/dist/types/components/icon/icons/funnel-icon.d.ts +1 -2
  1435. package/dist/types/components/icon/icons/funnel-plus-icon.d.ts +1 -2
  1436. package/dist/types/components/icon/icons/funnel-x-icon.d.ts +1 -2
  1437. package/dist/types/components/icon/icons/galaxy-icon.d.ts +1 -2
  1438. package/dist/types/components/icon/icons/gallery-horizontal-end-icon.d.ts +1 -2
  1439. package/dist/types/components/icon/icons/gallery-horizontal-icon.d.ts +1 -2
  1440. package/dist/types/components/icon/icons/gallery-thumbnails-icon.d.ts +1 -2
  1441. package/dist/types/components/icon/icons/gallery-vertical-end-icon.d.ts +1 -2
  1442. package/dist/types/components/icon/icons/gallery-vertical-icon.d.ts +1 -2
  1443. package/dist/types/components/icon/icons/gamepad-directional-icon.d.ts +1 -2
  1444. package/dist/types/components/icon/icons/gamepad-icon.d.ts +1 -2
  1445. package/dist/types/components/icon/icons/gamepad2-icon.d.ts +1 -2
  1446. package/dist/types/components/icon/icons/gap-horizontal-icon.d.ts +1 -2
  1447. package/dist/types/components/icon/icons/gap-vertical-icon.d.ts +1 -2
  1448. package/dist/types/components/icon/icons/gauge-icon.d.ts +1 -2
  1449. package/dist/types/components/icon/icons/gavel-icon.d.ts +1 -2
  1450. package/dist/types/components/icon/icons/gem-icon.d.ts +1 -2
  1451. package/dist/types/components/icon/icons/georgian-lari-icon.d.ts +1 -2
  1452. package/dist/types/components/icon/icons/germ-icon.d.ts +1 -2
  1453. package/dist/types/components/icon/icons/germ-off-icon.d.ts +1 -2
  1454. package/dist/types/components/icon/icons/ghost-icon.d.ts +1 -2
  1455. package/dist/types/components/icon/icons/gift-icon.d.ts +1 -2
  1456. package/dist/types/components/icon/icons/git-branch-icon.d.ts +1 -2
  1457. package/dist/types/components/icon/icons/git-branch-minus-icon.d.ts +1 -2
  1458. package/dist/types/components/icon/icons/git-branch-plus-icon.d.ts +1 -2
  1459. package/dist/types/components/icon/icons/git-commit-horizontal-icon.d.ts +1 -2
  1460. package/dist/types/components/icon/icons/git-commit-vertical-icon.d.ts +1 -2
  1461. package/dist/types/components/icon/icons/git-compare-arrows-icon.d.ts +1 -2
  1462. package/dist/types/components/icon/icons/git-compare-icon.d.ts +1 -2
  1463. package/dist/types/components/icon/icons/git-fork-icon.d.ts +1 -2
  1464. package/dist/types/components/icon/icons/git-graph-icon.d.ts +1 -2
  1465. package/dist/types/components/icon/icons/git-merge-conflict-icon.d.ts +1 -2
  1466. package/dist/types/components/icon/icons/git-merge-icon.d.ts +1 -2
  1467. package/dist/types/components/icon/icons/git-pull-request-arrow-icon.d.ts +1 -2
  1468. package/dist/types/components/icon/icons/git-pull-request-closed-icon.d.ts +1 -2
  1469. package/dist/types/components/icon/icons/git-pull-request-create-arrow-icon.d.ts +1 -2
  1470. package/dist/types/components/icon/icons/git-pull-request-create-icon.d.ts +1 -2
  1471. package/dist/types/components/icon/icons/git-pull-request-draft-icon.d.ts +1 -2
  1472. package/dist/types/components/icon/icons/git-pull-request-icon.d.ts +1 -2
  1473. package/dist/types/components/icon/icons/glass-water-icon.d.ts +1 -2
  1474. package/dist/types/components/icon/icons/glasses-icon.d.ts +1 -2
  1475. package/dist/types/components/icon/icons/globe-check-icon.d.ts +1 -2
  1476. package/dist/types/components/icon/icons/globe-code-icon.d.ts +1 -2
  1477. package/dist/types/components/icon/icons/globe-icon.d.ts +1 -2
  1478. package/dist/types/components/icon/icons/globe-lock-icon.d.ts +1 -2
  1479. package/dist/types/components/icon/icons/globe-off-icon.d.ts +1 -2
  1480. package/dist/types/components/icon/icons/globe-x-icon.d.ts +1 -2
  1481. package/dist/types/components/icon/icons/goal-icon.d.ts +1 -2
  1482. package/dist/types/components/icon/icons/gpu-icon.d.ts +1 -2
  1483. package/dist/types/components/icon/icons/graduation-cap-icon.d.ts +1 -2
  1484. package/dist/types/components/icon/icons/grape-icon.d.ts +1 -2
  1485. package/dist/types/components/icon/icons/grid2x2-check-icon.d.ts +1 -2
  1486. package/dist/types/components/icon/icons/grid2x2-icon.d.ts +1 -2
  1487. package/dist/types/components/icon/icons/grid2x2-plus-icon.d.ts +1 -2
  1488. package/dist/types/components/icon/icons/grid2x2-x-icon.d.ts +1 -2
  1489. package/dist/types/components/icon/icons/grid3x2-icon.d.ts +1 -2
  1490. package/dist/types/components/icon/icons/grid3x3-icon.d.ts +1 -2
  1491. package/dist/types/components/icon/icons/grip-horizontal-icon.d.ts +1 -2
  1492. package/dist/types/components/icon/icons/grip-icon.d.ts +1 -2
  1493. package/dist/types/components/icon/icons/grip-vertical-icon.d.ts +1 -2
  1494. package/dist/types/components/icon/icons/group-icon.d.ts +1 -2
  1495. package/dist/types/components/icon/icons/guitar-icon.d.ts +1 -2
  1496. package/dist/types/components/icon/icons/ham-icon.d.ts +1 -2
  1497. package/dist/types/components/icon/icons/hamburger-icon.d.ts +1 -2
  1498. package/dist/types/components/icon/icons/hammer-icon.d.ts +1 -2
  1499. package/dist/types/components/icon/icons/hand-coins-icon.d.ts +1 -2
  1500. package/dist/types/components/icon/icons/hand-fist-icon.d.ts +1 -2
  1501. package/dist/types/components/icon/icons/hand-grab-icon.d.ts +1 -2
  1502. package/dist/types/components/icon/icons/hand-heart-icon.d.ts +1 -2
  1503. package/dist/types/components/icon/icons/hand-helping-icon.d.ts +1 -2
  1504. package/dist/types/components/icon/icons/hand-icon.d.ts +1 -2
  1505. package/dist/types/components/icon/icons/hand-metal-icon.d.ts +1 -2
  1506. package/dist/types/components/icon/icons/hand-platter-icon.d.ts +1 -2
  1507. package/dist/types/components/icon/icons/handbag-icon.d.ts +1 -2
  1508. package/dist/types/components/icon/icons/handshake-icon.d.ts +1 -2
  1509. package/dist/types/components/icon/icons/hard-drive-download-icon.d.ts +1 -2
  1510. package/dist/types/components/icon/icons/hard-drive-icon.d.ts +1 -2
  1511. package/dist/types/components/icon/icons/hard-drive-upload-icon.d.ts +1 -2
  1512. package/dist/types/components/icon/icons/hard-hat-icon.d.ts +1 -2
  1513. package/dist/types/components/icon/icons/hash-icon.d.ts +1 -2
  1514. package/dist/types/components/icon/icons/hat-glasses-icon.d.ts +1 -2
  1515. package/dist/types/components/icon/icons/haze-icon.d.ts +1 -2
  1516. package/dist/types/components/icon/icons/hd-icon.d.ts +1 -2
  1517. package/dist/types/components/icon/icons/hdmi-port-icon.d.ts +1 -2
  1518. package/dist/types/components/icon/icons/heading-icon.d.ts +1 -2
  1519. package/dist/types/components/icon/icons/heading1-icon.d.ts +1 -2
  1520. package/dist/types/components/icon/icons/heading2-icon.d.ts +1 -2
  1521. package/dist/types/components/icon/icons/heading3-icon.d.ts +1 -2
  1522. package/dist/types/components/icon/icons/heading4-icon.d.ts +1 -2
  1523. package/dist/types/components/icon/icons/heading5-icon.d.ts +1 -2
  1524. package/dist/types/components/icon/icons/heading6-icon.d.ts +1 -2
  1525. package/dist/types/components/icon/icons/headphone-off-icon.d.ts +1 -2
  1526. package/dist/types/components/icon/icons/headphones-icon.d.ts +1 -2
  1527. package/dist/types/components/icon/icons/headset-icon.d.ts +1 -2
  1528. package/dist/types/components/icon/icons/heart-crack-icon.d.ts +1 -2
  1529. package/dist/types/components/icon/icons/heart-handshake-icon.d.ts +1 -2
  1530. package/dist/types/components/icon/icons/heart-icon.d.ts +1 -2
  1531. package/dist/types/components/icon/icons/heart-minus-icon.d.ts +1 -2
  1532. package/dist/types/components/icon/icons/heart-off-icon.d.ts +1 -2
  1533. package/dist/types/components/icon/icons/heart-plus-icon.d.ts +1 -2
  1534. package/dist/types/components/icon/icons/heart-pulse-icon.d.ts +1 -2
  1535. package/dist/types/components/icon/icons/heart-x-icon.d.ts +1 -2
  1536. package/dist/types/components/icon/icons/heater-icon.d.ts +1 -2
  1537. package/dist/types/components/icon/icons/helicopter-icon.d.ts +1 -2
  1538. package/dist/types/components/icon/icons/hexagon-icon.d.ts +1 -2
  1539. package/dist/types/components/icon/icons/highlighter-icon.d.ts +1 -2
  1540. package/dist/types/components/icon/icons/hop-icon.d.ts +1 -2
  1541. package/dist/types/components/icon/icons/hop-off-icon.d.ts +1 -2
  1542. package/dist/types/components/icon/icons/hospital-icon.d.ts +1 -2
  1543. package/dist/types/components/icon/icons/hotel-icon.d.ts +1 -2
  1544. package/dist/types/components/icon/icons/hourglass-cog-icon.d.ts +1 -2
  1545. package/dist/types/components/icon/icons/hourglass-icon.d.ts +1 -2
  1546. package/dist/types/components/icon/icons/house-cog-icon.d.ts +12 -0
  1547. package/dist/types/components/icon/icons/house-heart-icon.d.ts +1 -2
  1548. package/dist/types/components/icon/icons/house-icon.d.ts +1 -2
  1549. package/dist/types/components/icon/icons/house-plug-icon.d.ts +1 -2
  1550. package/dist/types/components/icon/icons/house-plus-icon.d.ts +1 -2
  1551. package/dist/types/components/icon/icons/house-wifi-icon.d.ts +1 -2
  1552. package/dist/types/components/icon/icons/houses-icon.d.ts +1 -2
  1553. package/dist/types/components/icon/icons/ice-cream-bowl-icon.d.ts +1 -2
  1554. package/dist/types/components/icon/icons/ice-cream-cone-icon.d.ts +1 -2
  1555. package/dist/types/components/icon/icons/id-card-icon.d.ts +1 -2
  1556. package/dist/types/components/icon/icons/id-card-lanyard-icon.d.ts +1 -2
  1557. package/dist/types/components/icon/icons/image-down-icon.d.ts +1 -2
  1558. package/dist/types/components/icon/icons/image-icon.d.ts +1 -2
  1559. package/dist/types/components/icon/icons/image-minus-icon.d.ts +1 -2
  1560. package/dist/types/components/icon/icons/image-off-icon.d.ts +1 -2
  1561. package/dist/types/components/icon/icons/image-play-icon.d.ts +1 -2
  1562. package/dist/types/components/icon/icons/image-plus-icon.d.ts +1 -2
  1563. package/dist/types/components/icon/icons/image-up-icon.d.ts +1 -2
  1564. package/dist/types/components/icon/icons/image-upscale-icon.d.ts +1 -2
  1565. package/dist/types/components/icon/icons/images-icon.d.ts +1 -2
  1566. package/dist/types/components/icon/icons/import-icon.d.ts +1 -2
  1567. package/dist/types/components/icon/icons/inbox-icon.d.ts +1 -2
  1568. package/dist/types/components/icon/icons/index.d.ts +22 -2
  1569. package/dist/types/components/icon/icons/index.types.d.ts +1 -2
  1570. package/dist/types/components/icon/icons/indian-rupee-icon.d.ts +1 -2
  1571. package/dist/types/components/icon/icons/infinity-icon.d.ts +1 -2
  1572. package/dist/types/components/icon/icons/info-icon.d.ts +1 -2
  1573. package/dist/types/components/icon/icons/inspection-panel-icon.d.ts +1 -2
  1574. package/dist/types/components/icon/icons/italic-icon.d.ts +1 -2
  1575. package/dist/types/components/icon/icons/iteration-ccw-icon.d.ts +1 -2
  1576. package/dist/types/components/icon/icons/iteration-cw-icon.d.ts +1 -2
  1577. package/dist/types/components/icon/icons/iv-bag-icon.d.ts +1 -2
  1578. package/dist/types/components/icon/icons/japanese-yen-icon.d.ts +1 -2
  1579. package/dist/types/components/icon/icons/joystick-icon.d.ts +1 -2
  1580. package/dist/types/components/icon/icons/kanban-icon.d.ts +1 -2
  1581. package/dist/types/components/icon/icons/kayak-icon.d.ts +1 -2
  1582. package/dist/types/components/icon/icons/key-icon.d.ts +1 -2
  1583. package/dist/types/components/icon/icons/key-round-icon.d.ts +1 -2
  1584. package/dist/types/components/icon/icons/key-square-icon.d.ts +1 -2
  1585. package/dist/types/components/icon/icons/keyboard-icon.d.ts +1 -2
  1586. package/dist/types/components/icon/icons/keyboard-music-icon.d.ts +1 -2
  1587. package/dist/types/components/icon/icons/keyboard-off-icon.d.ts +1 -2
  1588. package/dist/types/components/icon/icons/lambda-icon.d.ts +12 -0
  1589. package/dist/types/components/icon/icons/lamp-ceiling-icon.d.ts +1 -2
  1590. package/dist/types/components/icon/icons/lamp-desk-icon.d.ts +1 -2
  1591. package/dist/types/components/icon/icons/lamp-floor-icon.d.ts +1 -2
  1592. package/dist/types/components/icon/icons/lamp-icon.d.ts +1 -2
  1593. package/dist/types/components/icon/icons/lamp-wall-down-icon.d.ts +1 -2
  1594. package/dist/types/components/icon/icons/lamp-wall-up-icon.d.ts +1 -2
  1595. package/dist/types/components/icon/icons/land-plot-icon.d.ts +1 -2
  1596. package/dist/types/components/icon/icons/landmark-icon.d.ts +1 -2
  1597. package/dist/types/components/icon/icons/languages-icon.d.ts +1 -2
  1598. package/dist/types/components/icon/icons/laptop-icon.d.ts +1 -2
  1599. package/dist/types/components/icon/icons/laptop-minimal-check-icon.d.ts +1 -2
  1600. package/dist/types/components/icon/icons/laptop-minimal-icon.d.ts +1 -2
  1601. package/dist/types/components/icon/icons/lasso-icon.d.ts +1 -2
  1602. package/dist/types/components/icon/icons/lasso-select-icon.d.ts +1 -2
  1603. package/dist/types/components/icon/icons/layer-arrow-down-icon.d.ts +1 -2
  1604. package/dist/types/components/icon/icons/layer-arrow-up-icon.d.ts +1 -2
  1605. package/dist/types/components/icon/icons/layers-arrow-down-icon.d.ts +1 -2
  1606. package/dist/types/components/icon/icons/layers-arrow-up-icon.d.ts +1 -2
  1607. package/dist/types/components/icon/icons/layers-icon.d.ts +1 -2
  1608. package/dist/types/components/icon/icons/layers-minus-icon.d.ts +1 -2
  1609. package/dist/types/components/icon/icons/layers-plus-icon.d.ts +1 -2
  1610. package/dist/types/components/icon/icons/layers2-icon.d.ts +1 -2
  1611. package/dist/types/components/icon/icons/layout-arrow-down-icon.d.ts +1 -2
  1612. package/dist/types/components/icon/icons/layout-arrow-right-icon.d.ts +1 -2
  1613. package/dist/types/components/icon/icons/layout-dashboard-icon.d.ts +1 -2
  1614. package/dist/types/components/icon/icons/layout-freeform-icon.d.ts +1 -2
  1615. package/dist/types/components/icon/icons/layout-grid-icon.d.ts +1 -2
  1616. package/dist/types/components/icon/icons/layout-list-icon.d.ts +1 -2
  1617. package/dist/types/components/icon/icons/layout-panel-left-icon.d.ts +1 -2
  1618. package/dist/types/components/icon/icons/layout-panel-top-icon.d.ts +1 -2
  1619. package/dist/types/components/icon/icons/layout-template-icon.d.ts +1 -2
  1620. package/dist/types/components/icon/icons/leaf-icon.d.ts +1 -2
  1621. package/dist/types/components/icon/icons/leafy-green-icon.d.ts +1 -2
  1622. package/dist/types/components/icon/icons/lectern-icon.d.ts +1 -2
  1623. package/dist/types/components/icon/icons/lens-concave-icon.d.ts +1 -2
  1624. package/dist/types/components/icon/icons/lens-convex-icon.d.ts +1 -2
  1625. package/dist/types/components/icon/icons/library-big-icon.d.ts +1 -2
  1626. package/dist/types/components/icon/icons/library-icon.d.ts +1 -2
  1627. package/dist/types/components/icon/icons/life-buoy-icon.d.ts +1 -2
  1628. package/dist/types/components/icon/icons/ligature-icon.d.ts +1 -2
  1629. package/dist/types/components/icon/icons/lightbulb-icon.d.ts +1 -2
  1630. package/dist/types/components/icon/icons/lightbulb-off-icon.d.ts +1 -2
  1631. package/dist/types/components/icon/icons/lighthouse-icon.d.ts +1 -2
  1632. package/dist/types/components/icon/icons/line-dot-bottom-vertical-icon.d.ts +12 -0
  1633. package/dist/types/components/icon/icons/line-dot-left-horizontal-icon.d.ts +12 -0
  1634. package/dist/types/components/icon/icons/line-dot-right-horizontal-icon.d.ts +1 -2
  1635. package/dist/types/components/icon/icons/line-dot-top-vertical-icon.d.ts +12 -0
  1636. package/dist/types/components/icon/icons/line-squiggle-icon.d.ts +1 -2
  1637. package/dist/types/components/icon/icons/line-style-icon.d.ts +1 -2
  1638. package/dist/types/components/icon/icons/link-icon.d.ts +1 -2
  1639. package/dist/types/components/icon/icons/link2-icon.d.ts +1 -2
  1640. package/dist/types/components/icon/icons/link2-off-icon.d.ts +1 -2
  1641. package/dist/types/components/icon/icons/list-check-icon.d.ts +1 -2
  1642. package/dist/types/components/icon/icons/list-checks-icon.d.ts +1 -2
  1643. package/dist/types/components/icon/icons/list-chevrons-down-up-icon.d.ts +1 -2
  1644. package/dist/types/components/icon/icons/list-chevrons-up-down-icon.d.ts +1 -2
  1645. package/dist/types/components/icon/icons/list-clock-icon.d.ts +1 -2
  1646. package/dist/types/components/icon/icons/list-collapse-icon.d.ts +1 -2
  1647. package/dist/types/components/icon/icons/list-end-icon.d.ts +1 -2
  1648. package/dist/types/components/icon/icons/list-filter-icon.d.ts +1 -2
  1649. package/dist/types/components/icon/icons/list-filter-plus-icon.d.ts +1 -2
  1650. package/dist/types/components/icon/icons/list-icon.d.ts +1 -2
  1651. package/dist/types/components/icon/icons/list-indent-decrease-icon.d.ts +1 -2
  1652. package/dist/types/components/icon/icons/list-indent-increase-icon.d.ts +1 -2
  1653. package/dist/types/components/icon/icons/list-minus-icon.d.ts +1 -2
  1654. package/dist/types/components/icon/icons/list-music-icon.d.ts +1 -2
  1655. package/dist/types/components/icon/icons/list-ordered-icon.d.ts +1 -2
  1656. package/dist/types/components/icon/icons/list-plus-icon.d.ts +1 -2
  1657. package/dist/types/components/icon/icons/list-restart-icon.d.ts +1 -2
  1658. package/dist/types/components/icon/icons/list-sort-ascending-icon.d.ts +1 -2
  1659. package/dist/types/components/icon/icons/list-sort-descending-icon.d.ts +1 -2
  1660. package/dist/types/components/icon/icons/list-start-icon.d.ts +1 -2
  1661. package/dist/types/components/icon/icons/list-todo-icon.d.ts +1 -2
  1662. package/dist/types/components/icon/icons/list-tree-icon.d.ts +1 -2
  1663. package/dist/types/components/icon/icons/list-video-icon.d.ts +1 -2
  1664. package/dist/types/components/icon/icons/list-x-icon.d.ts +1 -2
  1665. package/dist/types/components/icon/icons/loader-circle-icon.d.ts +1 -2
  1666. package/dist/types/components/icon/icons/loader-icon.d.ts +1 -2
  1667. package/dist/types/components/icon/icons/loader-pinwheel-icon.d.ts +1 -2
  1668. package/dist/types/components/icon/icons/locate-fixed-icon.d.ts +1 -2
  1669. package/dist/types/components/icon/icons/locate-icon.d.ts +1 -2
  1670. package/dist/types/components/icon/icons/locate-off-icon.d.ts +1 -2
  1671. package/dist/types/components/icon/icons/lock-icon.d.ts +1 -2
  1672. package/dist/types/components/icon/icons/lock-keyhole-icon.d.ts +1 -2
  1673. package/dist/types/components/icon/icons/lock-keyhole-open-icon.d.ts +1 -2
  1674. package/dist/types/components/icon/icons/lock-open-icon.d.ts +1 -2
  1675. package/dist/types/components/icon/icons/log-in-icon.d.ts +1 -2
  1676. package/dist/types/components/icon/icons/log-out-icon.d.ts +1 -2
  1677. package/dist/types/components/icon/icons/logs-icon.d.ts +1 -2
  1678. package/dist/types/components/icon/icons/lollipop-icon.d.ts +1 -2
  1679. package/dist/types/components/icon/icons/luggage-icon.d.ts +1 -2
  1680. package/dist/types/components/icon/icons/magnet-icon.d.ts +1 -2
  1681. package/dist/types/components/icon/icons/mail-badge-icon.d.ts +1 -2
  1682. package/dist/types/components/icon/icons/mail-check-icon.d.ts +1 -2
  1683. package/dist/types/components/icon/icons/mail-clock-icon.d.ts +1 -2
  1684. package/dist/types/components/icon/icons/mail-icon.d.ts +1 -2
  1685. package/dist/types/components/icon/icons/mail-minus-icon.d.ts +1 -2
  1686. package/dist/types/components/icon/icons/mail-open-icon.d.ts +1 -2
  1687. package/dist/types/components/icon/icons/mail-pen-icon.d.ts +1 -2
  1688. package/dist/types/components/icon/icons/mail-plus-icon.d.ts +1 -2
  1689. package/dist/types/components/icon/icons/mail-question-mark-icon.d.ts +1 -2
  1690. package/dist/types/components/icon/icons/mail-search-icon.d.ts +1 -2
  1691. package/dist/types/components/icon/icons/mail-warning-icon.d.ts +1 -2
  1692. package/dist/types/components/icon/icons/mail-x-icon.d.ts +1 -2
  1693. package/dist/types/components/icon/icons/mailbox-icon.d.ts +1 -2
  1694. package/dist/types/components/icon/icons/mails-icon.d.ts +1 -2
  1695. package/dist/types/components/icon/icons/map-icon.d.ts +1 -2
  1696. package/dist/types/components/icon/icons/map-minus-icon.d.ts +1 -2
  1697. package/dist/types/components/icon/icons/map-pin-check-icon.d.ts +1 -2
  1698. package/dist/types/components/icon/icons/map-pin-check-inside-icon.d.ts +1 -2
  1699. package/dist/types/components/icon/icons/map-pin-house-icon.d.ts +1 -2
  1700. package/dist/types/components/icon/icons/map-pin-icon.d.ts +1 -2
  1701. package/dist/types/components/icon/icons/map-pin-minus-icon.d.ts +1 -2
  1702. package/dist/types/components/icon/icons/map-pin-minus-inside-icon.d.ts +1 -2
  1703. package/dist/types/components/icon/icons/map-pin-off-icon.d.ts +1 -2
  1704. package/dist/types/components/icon/icons/map-pin-pen-icon.d.ts +1 -2
  1705. package/dist/types/components/icon/icons/map-pin-plus-icon.d.ts +1 -2
  1706. package/dist/types/components/icon/icons/map-pin-plus-inside-icon.d.ts +1 -2
  1707. package/dist/types/components/icon/icons/map-pin-search-icon.d.ts +1 -2
  1708. package/dist/types/components/icon/icons/map-pin-x-icon.d.ts +1 -2
  1709. package/dist/types/components/icon/icons/map-pin-x-inside-icon.d.ts +1 -2
  1710. package/dist/types/components/icon/icons/map-pinned-icon.d.ts +1 -2
  1711. package/dist/types/components/icon/icons/map-plus-icon.d.ts +1 -2
  1712. package/dist/types/components/icon/icons/mars-icon.d.ts +1 -2
  1713. package/dist/types/components/icon/icons/mars-stroke-icon.d.ts +1 -2
  1714. package/dist/types/components/icon/icons/martini-icon.d.ts +1 -2
  1715. package/dist/types/components/icon/icons/maximize-icon.d.ts +1 -2
  1716. package/dist/types/components/icon/icons/maximize2-icon.d.ts +1 -2
  1717. package/dist/types/components/icon/icons/medal-icon.d.ts +1 -2
  1718. package/dist/types/components/icon/icons/megaphone-icon.d.ts +1 -2
  1719. package/dist/types/components/icon/icons/megaphone-off-icon.d.ts +1 -2
  1720. package/dist/types/components/icon/icons/memory-stick-icon.d.ts +1 -2
  1721. package/dist/types/components/icon/icons/menu-icon.d.ts +1 -2
  1722. package/dist/types/components/icon/icons/merge-icon.d.ts +1 -2
  1723. package/dist/types/components/icon/icons/message-circle-check-icon.d.ts +1 -2
  1724. package/dist/types/components/icon/icons/message-circle-code-icon.d.ts +1 -2
  1725. package/dist/types/components/icon/icons/message-circle-dashed-check-icon.d.ts +1 -2
  1726. package/dist/types/components/icon/icons/message-circle-dashed-icon.d.ts +1 -2
  1727. package/dist/types/components/icon/icons/message-circle-heart-icon.d.ts +1 -2
  1728. package/dist/types/components/icon/icons/message-circle-icon.d.ts +1 -2
  1729. package/dist/types/components/icon/icons/message-circle-more-icon.d.ts +1 -2
  1730. package/dist/types/components/icon/icons/message-circle-off-icon.d.ts +1 -2
  1731. package/dist/types/components/icon/icons/message-circle-plus-icon.d.ts +1 -2
  1732. package/dist/types/components/icon/icons/message-circle-question-mark-icon.d.ts +1 -2
  1733. package/dist/types/components/icon/icons/message-circle-reply-icon.d.ts +1 -2
  1734. package/dist/types/components/icon/icons/message-circle-warning-icon.d.ts +1 -2
  1735. package/dist/types/components/icon/icons/message-circle-x-icon.d.ts +1 -2
  1736. package/dist/types/components/icon/icons/message-square-check-icon.d.ts +1 -2
  1737. package/dist/types/components/icon/icons/message-square-code-icon.d.ts +1 -2
  1738. package/dist/types/components/icon/icons/message-square-dashed-icon.d.ts +1 -2
  1739. package/dist/types/components/icon/icons/message-square-diff-icon.d.ts +1 -2
  1740. package/dist/types/components/icon/icons/message-square-dot-icon.d.ts +1 -2
  1741. package/dist/types/components/icon/icons/message-square-heart-icon.d.ts +1 -2
  1742. package/dist/types/components/icon/icons/message-square-icon.d.ts +1 -2
  1743. package/dist/types/components/icon/icons/message-square-lock-icon.d.ts +1 -2
  1744. package/dist/types/components/icon/icons/message-square-more-icon.d.ts +1 -2
  1745. package/dist/types/components/icon/icons/message-square-off-icon.d.ts +1 -2
  1746. package/dist/types/components/icon/icons/message-square-plus-icon.d.ts +1 -2
  1747. package/dist/types/components/icon/icons/message-square-quote-icon.d.ts +1 -2
  1748. package/dist/types/components/icon/icons/message-square-reply-icon.d.ts +1 -2
  1749. package/dist/types/components/icon/icons/message-square-share-icon.d.ts +1 -2
  1750. package/dist/types/components/icon/icons/message-square-text-icon.d.ts +1 -2
  1751. package/dist/types/components/icon/icons/message-square-warning-icon.d.ts +1 -2
  1752. package/dist/types/components/icon/icons/message-square-x-icon.d.ts +1 -2
  1753. package/dist/types/components/icon/icons/messages-circle-icon.d.ts +1 -2
  1754. package/dist/types/components/icon/icons/messages-square-icon.d.ts +1 -2
  1755. package/dist/types/components/icon/icons/metronome-icon.d.ts +1 -2
  1756. package/dist/types/components/icon/icons/mic-audio-lines-icon.d.ts +1 -2
  1757. package/dist/types/components/icon/icons/mic-icon.d.ts +1 -2
  1758. package/dist/types/components/icon/icons/mic-off-icon.d.ts +1 -2
  1759. package/dist/types/components/icon/icons/mic-signal-icon.d.ts +1 -2
  1760. package/dist/types/components/icon/icons/mic-vocal-icon.d.ts +1 -2
  1761. package/dist/types/components/icon/icons/microchip-icon.d.ts +1 -2
  1762. package/dist/types/components/icon/icons/microscope-icon.d.ts +1 -2
  1763. package/dist/types/components/icon/icons/microwave-icon.d.ts +1 -2
  1764. package/dist/types/components/icon/icons/midi-port-icon.d.ts +1 -2
  1765. package/dist/types/components/icon/icons/milestone-icon.d.ts +1 -2
  1766. package/dist/types/components/icon/icons/milk-icon.d.ts +1 -2
  1767. package/dist/types/components/icon/icons/milk-off-icon.d.ts +1 -2
  1768. package/dist/types/components/icon/icons/minimize-icon.d.ts +1 -2
  1769. package/dist/types/components/icon/icons/minimize2-icon.d.ts +1 -2
  1770. package/dist/types/components/icon/icons/minus-icon.d.ts +1 -2
  1771. package/dist/types/components/icon/icons/mirror-rectangular-icon.d.ts +1 -2
  1772. package/dist/types/components/icon/icons/mirror-round-icon.d.ts +1 -2
  1773. package/dist/types/components/icon/icons/monitor-check-icon.d.ts +1 -2
  1774. package/dist/types/components/icon/icons/monitor-cloud-icon.d.ts +1 -2
  1775. package/dist/types/components/icon/icons/monitor-cog-icon.d.ts +1 -2
  1776. package/dist/types/components/icon/icons/monitor-dot-icon.d.ts +1 -2
  1777. package/dist/types/components/icon/icons/monitor-down-icon.d.ts +1 -2
  1778. package/dist/types/components/icon/icons/monitor-icon.d.ts +1 -2
  1779. package/dist/types/components/icon/icons/monitor-off-icon.d.ts +1 -2
  1780. package/dist/types/components/icon/icons/monitor-pause-icon.d.ts +1 -2
  1781. package/dist/types/components/icon/icons/monitor-pc-icon.d.ts +12 -0
  1782. package/dist/types/components/icon/icons/monitor-play-icon.d.ts +1 -2
  1783. package/dist/types/components/icon/icons/monitor-smartphone-icon.d.ts +1 -2
  1784. package/dist/types/components/icon/icons/monitor-speaker-icon.d.ts +1 -2
  1785. package/dist/types/components/icon/icons/monitor-stop-icon.d.ts +1 -2
  1786. package/dist/types/components/icon/icons/monitor-up-icon.d.ts +1 -2
  1787. package/dist/types/components/icon/icons/monitor-x-icon.d.ts +1 -2
  1788. package/dist/types/components/icon/icons/moon-icon.d.ts +1 -2
  1789. package/dist/types/components/icon/icons/moon-star-icon.d.ts +1 -2
  1790. package/dist/types/components/icon/icons/mop-icon.d.ts +1 -2
  1791. package/dist/types/components/icon/icons/mop-sparkles-icon.d.ts +1 -2
  1792. package/dist/types/components/icon/icons/mosque-icon.d.ts +1 -2
  1793. package/dist/types/components/icon/icons/motorbike-icon.d.ts +1 -2
  1794. package/dist/types/components/icon/icons/mountain-icon.d.ts +1 -2
  1795. package/dist/types/components/icon/icons/mountain-snow-icon.d.ts +1 -2
  1796. package/dist/types/components/icon/icons/mouse-icon.d.ts +1 -2
  1797. package/dist/types/components/icon/icons/mouse-left-icon.d.ts +1 -2
  1798. package/dist/types/components/icon/icons/mouse-off-icon.d.ts +1 -2
  1799. package/dist/types/components/icon/icons/mouse-pointer-ban-icon.d.ts +1 -2
  1800. package/dist/types/components/icon/icons/mouse-pointer-click-icon.d.ts +1 -2
  1801. package/dist/types/components/icon/icons/mouse-pointer-icon.d.ts +1 -2
  1802. package/dist/types/components/icon/icons/mouse-pointer2-icon.d.ts +1 -2
  1803. package/dist/types/components/icon/icons/mouse-pointer2-off-icon.d.ts +1 -2
  1804. package/dist/types/components/icon/icons/mouse-right-icon.d.ts +1 -2
  1805. package/dist/types/components/icon/icons/mouth-icon.d.ts +1 -2
  1806. package/dist/types/components/icon/icons/mouth-off-icon.d.ts +1 -2
  1807. package/dist/types/components/icon/icons/move-diagonal-icon.d.ts +1 -2
  1808. package/dist/types/components/icon/icons/move-diagonal2-icon.d.ts +1 -2
  1809. package/dist/types/components/icon/icons/move-down-icon.d.ts +1 -2
  1810. package/dist/types/components/icon/icons/move-down-left-icon.d.ts +1 -2
  1811. package/dist/types/components/icon/icons/move-down-right-icon.d.ts +1 -2
  1812. package/dist/types/components/icon/icons/move-horizontal-icon.d.ts +1 -2
  1813. package/dist/types/components/icon/icons/move-icon.d.ts +1 -2
  1814. package/dist/types/components/icon/icons/move-left-icon.d.ts +1 -2
  1815. package/dist/types/components/icon/icons/move-right-icon.d.ts +1 -2
  1816. package/dist/types/components/icon/icons/move-up-icon.d.ts +1 -2
  1817. package/dist/types/components/icon/icons/move-up-left-icon.d.ts +1 -2
  1818. package/dist/types/components/icon/icons/move-up-right-icon.d.ts +1 -2
  1819. package/dist/types/components/icon/icons/move-vertical-icon.d.ts +1 -2
  1820. package/dist/types/components/icon/icons/move3d-icon.d.ts +1 -2
  1821. package/dist/types/components/icon/icons/music-icon.d.ts +1 -2
  1822. package/dist/types/components/icon/icons/music2-icon.d.ts +1 -2
  1823. package/dist/types/components/icon/icons/music3-icon.d.ts +1 -2
  1824. package/dist/types/components/icon/icons/music4-icon.d.ts +1 -2
  1825. package/dist/types/components/icon/icons/navigation-icon.d.ts +1 -2
  1826. package/dist/types/components/icon/icons/navigation-off-icon.d.ts +1 -2
  1827. package/dist/types/components/icon/icons/navigation2-icon.d.ts +1 -2
  1828. package/dist/types/components/icon/icons/navigation2-off-icon.d.ts +1 -2
  1829. package/dist/types/components/icon/icons/nepali-rupee-icon.d.ts +12 -0
  1830. package/dist/types/components/icon/icons/network-icon.d.ts +1 -2
  1831. package/dist/types/components/icon/icons/newspaper-icon.d.ts +1 -2
  1832. package/dist/types/components/icon/icons/nfc-icon.d.ts +1 -2
  1833. package/dist/types/components/icon/icons/non-binary-icon.d.ts +1 -2
  1834. package/dist/types/components/icon/icons/notebook-dot-icon.d.ts +1 -2
  1835. package/dist/types/components/icon/icons/notebook-icon.d.ts +1 -2
  1836. package/dist/types/components/icon/icons/notebook-pen-icon.d.ts +1 -2
  1837. package/dist/types/components/icon/icons/notebook-tabs-icon.d.ts +1 -2
  1838. package/dist/types/components/icon/icons/notebook-text-icon.d.ts +1 -2
  1839. package/dist/types/components/icon/icons/notepad-text-dashed-icon.d.ts +1 -2
  1840. package/dist/types/components/icon/icons/notepad-text-icon.d.ts +1 -2
  1841. package/dist/types/components/icon/icons/nut-icon.d.ts +1 -2
  1842. package/dist/types/components/icon/icons/nut-off-icon.d.ts +1 -2
  1843. package/dist/types/components/icon/icons/octagon-alert-icon.d.ts +1 -2
  1844. package/dist/types/components/icon/icons/octagon-icon.d.ts +1 -2
  1845. package/dist/types/components/icon/icons/octagon-minus-icon.d.ts +1 -2
  1846. package/dist/types/components/icon/icons/octagon-pause-icon.d.ts +1 -2
  1847. package/dist/types/components/icon/icons/octagon-x-icon.d.ts +1 -2
  1848. package/dist/types/components/icon/icons/omega-icon.d.ts +1 -2
  1849. package/dist/types/components/icon/icons/option-icon.d.ts +1 -2
  1850. package/dist/types/components/icon/icons/orbit-icon.d.ts +1 -2
  1851. package/dist/types/components/icon/icons/origami-icon.d.ts +1 -2
  1852. package/dist/types/components/icon/icons/package-check-icon.d.ts +1 -2
  1853. package/dist/types/components/icon/icons/package-icon.d.ts +1 -2
  1854. package/dist/types/components/icon/icons/package-minus-icon.d.ts +1 -2
  1855. package/dist/types/components/icon/icons/package-open-icon.d.ts +1 -2
  1856. package/dist/types/components/icon/icons/package-plus-icon.d.ts +1 -2
  1857. package/dist/types/components/icon/icons/package-search-icon.d.ts +1 -2
  1858. package/dist/types/components/icon/icons/package-x-icon.d.ts +1 -2
  1859. package/dist/types/components/icon/icons/package2-icon.d.ts +1 -2
  1860. package/dist/types/components/icon/icons/paint-bucket-icon.d.ts +1 -2
  1861. package/dist/types/components/icon/icons/paint-roller-icon.d.ts +1 -2
  1862. package/dist/types/components/icon/icons/paintbrush-icon.d.ts +1 -2
  1863. package/dist/types/components/icon/icons/paintbrush-vertical-icon.d.ts +1 -2
  1864. package/dist/types/components/icon/icons/palette-icon.d.ts +1 -2
  1865. package/dist/types/components/icon/icons/panda-icon.d.ts +1 -2
  1866. package/dist/types/components/icon/icons/panel-bottom-close-icon.d.ts +1 -2
  1867. package/dist/types/components/icon/icons/panel-bottom-dashed-icon.d.ts +1 -2
  1868. package/dist/types/components/icon/icons/panel-bottom-icon.d.ts +1 -2
  1869. package/dist/types/components/icon/icons/panel-bottom-open-icon.d.ts +1 -2
  1870. package/dist/types/components/icon/icons/panel-left-close-icon.d.ts +1 -2
  1871. package/dist/types/components/icon/icons/panel-left-dashed-icon.d.ts +1 -2
  1872. package/dist/types/components/icon/icons/panel-left-icon.d.ts +1 -2
  1873. package/dist/types/components/icon/icons/panel-left-open-icon.d.ts +1 -2
  1874. package/dist/types/components/icon/icons/panel-left-right-dashed-icon.d.ts +1 -2
  1875. package/dist/types/components/icon/icons/panel-right-close-icon.d.ts +1 -2
  1876. package/dist/types/components/icon/icons/panel-right-dashed-icon.d.ts +1 -2
  1877. package/dist/types/components/icon/icons/panel-right-icon.d.ts +1 -2
  1878. package/dist/types/components/icon/icons/panel-right-open-icon.d.ts +1 -2
  1879. package/dist/types/components/icon/icons/panel-top-bottom-dashed-icon.d.ts +1 -2
  1880. package/dist/types/components/icon/icons/panel-top-close-icon.d.ts +1 -2
  1881. package/dist/types/components/icon/icons/panel-top-dashed-icon.d.ts +1 -2
  1882. package/dist/types/components/icon/icons/panel-top-icon.d.ts +1 -2
  1883. package/dist/types/components/icon/icons/panel-top-open-icon.d.ts +1 -2
  1884. package/dist/types/components/icon/icons/panels-left-bottom-icon.d.ts +1 -2
  1885. package/dist/types/components/icon/icons/panels-right-bottom-icon.d.ts +1 -2
  1886. package/dist/types/components/icon/icons/panels-top-left-icon.d.ts +1 -2
  1887. package/dist/types/components/icon/icons/paper-bag-icon.d.ts +1 -2
  1888. package/dist/types/components/icon/icons/paperclip-icon.d.ts +1 -2
  1889. package/dist/types/components/icon/icons/parasol-icon.d.ts +1 -2
  1890. package/dist/types/components/icon/icons/parentheses-icon.d.ts +1 -2
  1891. package/dist/types/components/icon/icons/park-icon.d.ts +1 -2
  1892. package/dist/types/components/icon/icons/parking-meter-icon.d.ts +1 -2
  1893. package/dist/types/components/icon/icons/party-popper-icon.d.ts +1 -2
  1894. package/dist/types/components/icon/icons/pause-icon.d.ts +1 -2
  1895. package/dist/types/components/icon/icons/paw-print-icon.d.ts +1 -2
  1896. package/dist/types/components/icon/icons/pc-case-icon.d.ts +1 -2
  1897. package/dist/types/components/icon/icons/pen-icon.d.ts +1 -2
  1898. package/dist/types/components/icon/icons/pen-line-icon.d.ts +1 -2
  1899. package/dist/types/components/icon/icons/pen-off-icon.d.ts +1 -2
  1900. package/dist/types/components/icon/icons/pen-tool-icon.d.ts +1 -2
  1901. package/dist/types/components/icon/icons/pencil-icon.d.ts +1 -2
  1902. package/dist/types/components/icon/icons/pencil-line-icon.d.ts +1 -2
  1903. package/dist/types/components/icon/icons/pencil-off-icon.d.ts +1 -2
  1904. package/dist/types/components/icon/icons/pencil-ruler-icon.d.ts +1 -2
  1905. package/dist/types/components/icon/icons/pencil-sparkles-icon.d.ts +1 -2
  1906. package/dist/types/components/icon/icons/pentagon-icon.d.ts +1 -2
  1907. package/dist/types/components/icon/icons/percent-icon.d.ts +1 -2
  1908. package/dist/types/components/icon/icons/person-standing-icon.d.ts +1 -2
  1909. package/dist/types/components/icon/icons/phi-icon.d.ts +1 -2
  1910. package/dist/types/components/icon/icons/philippine-peso-icon.d.ts +1 -2
  1911. package/dist/types/components/icon/icons/phone-call-icon.d.ts +1 -2
  1912. package/dist/types/components/icon/icons/phone-forwarded-icon.d.ts +1 -2
  1913. package/dist/types/components/icon/icons/phone-icon.d.ts +1 -2
  1914. package/dist/types/components/icon/icons/phone-incoming-icon.d.ts +1 -2
  1915. package/dist/types/components/icon/icons/phone-missed-icon.d.ts +1 -2
  1916. package/dist/types/components/icon/icons/phone-off-icon.d.ts +1 -2
  1917. package/dist/types/components/icon/icons/phone-outgoing-icon.d.ts +1 -2
  1918. package/dist/types/components/icon/icons/pi-icon.d.ts +1 -2
  1919. package/dist/types/components/icon/icons/piano-icon.d.ts +1 -2
  1920. package/dist/types/components/icon/icons/pickaxe-icon.d.ts +1 -2
  1921. package/dist/types/components/icon/icons/picture-in-picture-icon.d.ts +1 -2
  1922. package/dist/types/components/icon/icons/picture-in-picture2-icon.d.ts +1 -2
  1923. package/dist/types/components/icon/icons/piggy-bank-icon.d.ts +1 -2
  1924. package/dist/types/components/icon/icons/pilcrow-icon.d.ts +1 -2
  1925. package/dist/types/components/icon/icons/pilcrow-left-icon.d.ts +1 -2
  1926. package/dist/types/components/icon/icons/pilcrow-right-icon.d.ts +1 -2
  1927. package/dist/types/components/icon/icons/pill-bottle-icon.d.ts +1 -2
  1928. package/dist/types/components/icon/icons/pill-icon.d.ts +1 -2
  1929. package/dist/types/components/icon/icons/pin-icon.d.ts +1 -2
  1930. package/dist/types/components/icon/icons/pin-off-icon.d.ts +1 -2
  1931. package/dist/types/components/icon/icons/pipette-icon.d.ts +1 -2
  1932. package/dist/types/components/icon/icons/pizza-icon.d.ts +1 -2
  1933. package/dist/types/components/icon/icons/plane-icon.d.ts +1 -2
  1934. package/dist/types/components/icon/icons/plane-landing-icon.d.ts +1 -2
  1935. package/dist/types/components/icon/icons/plane-takeoff-icon.d.ts +1 -2
  1936. package/dist/types/components/icon/icons/plant-pot-icon.d.ts +1 -2
  1937. package/dist/types/components/icon/icons/play-icon.d.ts +1 -2
  1938. package/dist/types/components/icon/icons/play-off-icon.d.ts +1 -2
  1939. package/dist/types/components/icon/icons/playing-card-icon.d.ts +1 -2
  1940. package/dist/types/components/icon/icons/playing-cards-fan-icon.d.ts +1 -2
  1941. package/dist/types/components/icon/icons/playing-cards-icon.d.ts +1 -2
  1942. package/dist/types/components/icon/icons/plug-icon.d.ts +1 -2
  1943. package/dist/types/components/icon/icons/plug-zap-icon.d.ts +1 -2
  1944. package/dist/types/components/icon/icons/plug2-icon.d.ts +1 -2
  1945. package/dist/types/components/icon/icons/plus-icon.d.ts +1 -2
  1946. package/dist/types/components/icon/icons/pocket-knife-icon.d.ts +1 -2
  1947. package/dist/types/components/icon/icons/podium-icon.d.ts +1 -2
  1948. package/dist/types/components/icon/icons/pointer-icon.d.ts +1 -2
  1949. package/dist/types/components/icon/icons/pointer-off-icon.d.ts +1 -2
  1950. package/dist/types/components/icon/icons/popcorn-icon.d.ts +1 -2
  1951. package/dist/types/components/icon/icons/popsicle-icon.d.ts +1 -2
  1952. package/dist/types/components/icon/icons/pound-sterling-icon.d.ts +1 -2
  1953. package/dist/types/components/icon/icons/power-icon.d.ts +1 -2
  1954. package/dist/types/components/icon/icons/power-off-icon.d.ts +1 -2
  1955. package/dist/types/components/icon/icons/presentation-icon.d.ts +1 -2
  1956. package/dist/types/components/icon/icons/printer-check-icon.d.ts +1 -2
  1957. package/dist/types/components/icon/icons/printer-icon.d.ts +1 -2
  1958. package/dist/types/components/icon/icons/printer-x-icon.d.ts +1 -2
  1959. package/dist/types/components/icon/icons/projector-icon.d.ts +1 -2
  1960. package/dist/types/components/icon/icons/proportions-icon.d.ts +1 -2
  1961. package/dist/types/components/icon/icons/puzzle-icon.d.ts +1 -2
  1962. package/dist/types/components/icon/icons/pyramid-icon.d.ts +1 -2
  1963. package/dist/types/components/icon/icons/qr-code-icon.d.ts +1 -2
  1964. package/dist/types/components/icon/icons/quote-icon.d.ts +1 -2
  1965. package/dist/types/components/icon/icons/rabbit-icon.d.ts +1 -2
  1966. package/dist/types/components/icon/icons/radar-icon.d.ts +1 -2
  1967. package/dist/types/components/icon/icons/radiation-icon.d.ts +1 -2
  1968. package/dist/types/components/icon/icons/radical-icon.d.ts +1 -2
  1969. package/dist/types/components/icon/icons/radio-icon.d.ts +1 -2
  1970. package/dist/types/components/icon/icons/radio-off-icon.d.ts +1 -2
  1971. package/dist/types/components/icon/icons/radio-receiver-icon.d.ts +1 -2
  1972. package/dist/types/components/icon/icons/radio-tower-icon.d.ts +1 -2
  1973. package/dist/types/components/icon/icons/radius-icon.d.ts +1 -2
  1974. package/dist/types/components/icon/icons/rainbow-icon.d.ts +1 -2
  1975. package/dist/types/components/icon/icons/rat-icon.d.ts +1 -2
  1976. package/dist/types/components/icon/icons/ratio-icon.d.ts +1 -2
  1977. package/dist/types/components/icon/icons/receipt-cent-icon.d.ts +1 -2
  1978. package/dist/types/components/icon/icons/receipt-euro-icon.d.ts +1 -2
  1979. package/dist/types/components/icon/icons/receipt-icon.d.ts +1 -2
  1980. package/dist/types/components/icon/icons/receipt-indian-rupee-icon.d.ts +1 -2
  1981. package/dist/types/components/icon/icons/receipt-japanese-yen-icon.d.ts +1 -2
  1982. package/dist/types/components/icon/icons/receipt-pound-sterling-icon.d.ts +1 -2
  1983. package/dist/types/components/icon/icons/receipt-russian-ruble-icon.d.ts +1 -2
  1984. package/dist/types/components/icon/icons/receipt-swiss-franc-icon.d.ts +1 -2
  1985. package/dist/types/components/icon/icons/receipt-text-icon.d.ts +1 -2
  1986. package/dist/types/components/icon/icons/receipt-turkish-lira-icon.d.ts +1 -2
  1987. package/dist/types/components/icon/icons/rectangle-circle-icon.d.ts +1 -2
  1988. package/dist/types/components/icon/icons/rectangle-ellipsis-icon.d.ts +1 -2
  1989. package/dist/types/components/icon/icons/rectangle-goggles-icon.d.ts +1 -2
  1990. package/dist/types/components/icon/icons/rectangle-horizontal-icon.d.ts +1 -2
  1991. package/dist/types/components/icon/icons/rectangle-vertical-icon.d.ts +1 -2
  1992. package/dist/types/components/icon/icons/recycle-icon.d.ts +1 -2
  1993. package/dist/types/components/icon/icons/redo-dot-icon.d.ts +1 -2
  1994. package/dist/types/components/icon/icons/redo-icon.d.ts +1 -2
  1995. package/dist/types/components/icon/icons/redo2-icon.d.ts +1 -2
  1996. package/dist/types/components/icon/icons/refresh-ccw-dot-icon.d.ts +1 -2
  1997. package/dist/types/components/icon/icons/refresh-ccw-icon.d.ts +1 -2
  1998. package/dist/types/components/icon/icons/refresh-cw-icon.d.ts +1 -2
  1999. package/dist/types/components/icon/icons/refresh-cw-off-icon.d.ts +1 -2
  2000. package/dist/types/components/icon/icons/refrigerator-icon.d.ts +1 -2
  2001. package/dist/types/components/icon/icons/regex-icon.d.ts +1 -2
  2002. package/dist/types/components/icon/icons/remove-formatting-icon.d.ts +1 -2
  2003. package/dist/types/components/icon/icons/repeat-icon.d.ts +1 -2
  2004. package/dist/types/components/icon/icons/repeat-off-icon.d.ts +1 -2
  2005. package/dist/types/components/icon/icons/repeat1-icon.d.ts +1 -2
  2006. package/dist/types/components/icon/icons/repeat2-icon.d.ts +1 -2
  2007. package/dist/types/components/icon/icons/replace-all-icon.d.ts +1 -2
  2008. package/dist/types/components/icon/icons/replace-icon.d.ts +1 -2
  2009. package/dist/types/components/icon/icons/reply-all-icon.d.ts +1 -2
  2010. package/dist/types/components/icon/icons/reply-icon.d.ts +1 -2
  2011. package/dist/types/components/icon/icons/rewind-icon.d.ts +1 -2
  2012. package/dist/types/components/icon/icons/ribbon-icon.d.ts +1 -2
  2013. package/dist/types/components/icon/icons/road-icon.d.ts +1 -2
  2014. package/dist/types/components/icon/icons/robot-arm-icon.d.ts +1 -2
  2015. package/dist/types/components/icon/icons/robot-vacuum-icon.d.ts +1 -2
  2016. package/dist/types/components/icon/icons/rocket-icon.d.ts +1 -2
  2017. package/dist/types/components/icon/icons/rocking-chair-icon.d.ts +1 -2
  2018. package/dist/types/components/icon/icons/roller-coaster-icon.d.ts +1 -2
  2019. package/dist/types/components/icon/icons/rose-icon.d.ts +1 -2
  2020. package/dist/types/components/icon/icons/rotate-ccw-clock-icon.d.ts +1 -2
  2021. package/dist/types/components/icon/icons/rotate-ccw-icon.d.ts +1 -2
  2022. package/dist/types/components/icon/icons/rotate-ccw-key-icon.d.ts +1 -2
  2023. package/dist/types/components/icon/icons/rotate-ccw-square-icon.d.ts +1 -2
  2024. package/dist/types/components/icon/icons/rotate-cw-clock-icon.d.ts +12 -0
  2025. package/dist/types/components/icon/icons/rotate-cw-fading-clock-icon.d.ts +1 -2
  2026. package/dist/types/components/icon/icons/rotate-cw-icon.d.ts +1 -2
  2027. package/dist/types/components/icon/icons/rotate-cw-square-icon.d.ts +1 -2
  2028. package/dist/types/components/icon/icons/rotate3d-icon.d.ts +1 -2
  2029. package/dist/types/components/icon/icons/route-icon.d.ts +1 -2
  2030. package/dist/types/components/icon/icons/route-off-icon.d.ts +1 -2
  2031. package/dist/types/components/icon/icons/router-icon.d.ts +1 -2
  2032. package/dist/types/components/icon/icons/rows2-icon.d.ts +1 -2
  2033. package/dist/types/components/icon/icons/rows3-icon.d.ts +1 -2
  2034. package/dist/types/components/icon/icons/rows4-icon.d.ts +1 -2
  2035. package/dist/types/components/icon/icons/rss-icon.d.ts +1 -2
  2036. package/dist/types/components/icon/icons/ruler-dimension-line-icon.d.ts +1 -2
  2037. package/dist/types/components/icon/icons/ruler-icon.d.ts +1 -2
  2038. package/dist/types/components/icon/icons/russian-ruble-icon.d.ts +1 -2
  2039. package/dist/types/components/icon/icons/sailboat-icon.d.ts +1 -2
  2040. package/dist/types/components/icon/icons/salad-icon.d.ts +1 -2
  2041. package/dist/types/components/icon/icons/sandwich-icon.d.ts +1 -2
  2042. package/dist/types/components/icon/icons/satellite-dish-icon.d.ts +1 -2
  2043. package/dist/types/components/icon/icons/satellite-icon.d.ts +1 -2
  2044. package/dist/types/components/icon/icons/saudi-riyal-icon.d.ts +1 -2
  2045. package/dist/types/components/icon/icons/save-all-icon.d.ts +1 -2
  2046. package/dist/types/components/icon/icons/save-check-icon.d.ts +1 -2
  2047. package/dist/types/components/icon/icons/save-icon.d.ts +1 -2
  2048. package/dist/types/components/icon/icons/save-off-icon.d.ts +1 -2
  2049. package/dist/types/components/icon/icons/save-pen-icon.d.ts +1 -2
  2050. package/dist/types/components/icon/icons/save-plus-icon.d.ts +1 -2
  2051. package/dist/types/components/icon/icons/scale-icon.d.ts +1 -2
  2052. package/dist/types/components/icon/icons/scale3d-icon.d.ts +1 -2
  2053. package/dist/types/components/icon/icons/scaling-icon.d.ts +1 -2
  2054. package/dist/types/components/icon/icons/scan-barcode-icon.d.ts +1 -2
  2055. package/dist/types/components/icon/icons/scan-box-icon.d.ts +1 -2
  2056. package/dist/types/components/icon/icons/scan-eye-icon.d.ts +1 -2
  2057. package/dist/types/components/icon/icons/scan-face-icon.d.ts +1 -2
  2058. package/dist/types/components/icon/icons/scan-heart-icon.d.ts +1 -2
  2059. package/dist/types/components/icon/icons/scan-icon.d.ts +1 -2
  2060. package/dist/types/components/icon/icons/scan-line-icon.d.ts +1 -2
  2061. package/dist/types/components/icon/icons/scan-qr-code-icon.d.ts +1 -2
  2062. package/dist/types/components/icon/icons/scan-search-icon.d.ts +1 -2
  2063. package/dist/types/components/icon/icons/scan-square-icon.d.ts +1 -2
  2064. package/dist/types/components/icon/icons/scan-text-icon.d.ts +1 -2
  2065. package/dist/types/components/icon/icons/school-icon.d.ts +1 -2
  2066. package/dist/types/components/icon/icons/scissors-icon.d.ts +1 -2
  2067. package/dist/types/components/icon/icons/scissors-line-dashed-icon.d.ts +1 -2
  2068. package/dist/types/components/icon/icons/scooter-icon.d.ts +1 -2
  2069. package/dist/types/components/icon/icons/screen-share-icon.d.ts +1 -2
  2070. package/dist/types/components/icon/icons/screen-share-off-icon.d.ts +1 -2
  2071. package/dist/types/components/icon/icons/scroll-icon.d.ts +1 -2
  2072. package/dist/types/components/icon/icons/scroll-text-icon.d.ts +1 -2
  2073. package/dist/types/components/icon/icons/search-alert-icon.d.ts +1 -2
  2074. package/dist/types/components/icon/icons/search-check-icon.d.ts +1 -2
  2075. package/dist/types/components/icon/icons/search-code-icon.d.ts +1 -2
  2076. package/dist/types/components/icon/icons/search-icon.d.ts +1 -2
  2077. package/dist/types/components/icon/icons/search-slash-icon.d.ts +1 -2
  2078. package/dist/types/components/icon/icons/search-x-icon.d.ts +1 -2
  2079. package/dist/types/components/icon/icons/section-icon.d.ts +1 -2
  2080. package/dist/types/components/icon/icons/send-horizontal-icon.d.ts +1 -2
  2081. package/dist/types/components/icon/icons/send-icon.d.ts +1 -2
  2082. package/dist/types/components/icon/icons/send-to-back-icon.d.ts +1 -2
  2083. package/dist/types/components/icon/icons/separator-horizontal-icon.d.ts +1 -2
  2084. package/dist/types/components/icon/icons/separator-vertical-icon.d.ts +1 -2
  2085. package/dist/types/components/icon/icons/server-cog-icon.d.ts +1 -2
  2086. package/dist/types/components/icon/icons/server-crash-icon.d.ts +1 -2
  2087. package/dist/types/components/icon/icons/server-icon.d.ts +1 -2
  2088. package/dist/types/components/icon/icons/server-off-icon.d.ts +1 -2
  2089. package/dist/types/components/icon/icons/server-plus-icon.d.ts +1 -2
  2090. package/dist/types/components/icon/icons/settings-icon.d.ts +1 -2
  2091. package/dist/types/components/icon/icons/settings2-icon.d.ts +1 -2
  2092. package/dist/types/components/icon/icons/shapes-icon.d.ts +1 -2
  2093. package/dist/types/components/icon/icons/share-icon.d.ts +1 -2
  2094. package/dist/types/components/icon/icons/share2-icon.d.ts +1 -2
  2095. package/dist/types/components/icon/icons/sheet-icon.d.ts +1 -2
  2096. package/dist/types/components/icon/icons/shell-icon.d.ts +1 -2
  2097. package/dist/types/components/icon/icons/shelving-unit-icon.d.ts +1 -2
  2098. package/dist/types/components/icon/icons/shield-alert-icon.d.ts +1 -2
  2099. package/dist/types/components/icon/icons/shield-ban-icon.d.ts +1 -2
  2100. package/dist/types/components/icon/icons/shield-check-icon.d.ts +1 -2
  2101. package/dist/types/components/icon/icons/shield-cog-corner-icon.d.ts +1 -2
  2102. package/dist/types/components/icon/icons/shield-cog-icon.d.ts +1 -2
  2103. package/dist/types/components/icon/icons/shield-ellipsis-icon.d.ts +1 -2
  2104. package/dist/types/components/icon/icons/shield-half-icon.d.ts +1 -2
  2105. package/dist/types/components/icon/icons/shield-icon.d.ts +1 -2
  2106. package/dist/types/components/icon/icons/shield-keyhole-icon.d.ts +1 -2
  2107. package/dist/types/components/icon/icons/shield-lock-icon.d.ts +1 -2
  2108. package/dist/types/components/icon/icons/shield-minus-icon.d.ts +1 -2
  2109. package/dist/types/components/icon/icons/shield-off-icon.d.ts +1 -2
  2110. package/dist/types/components/icon/icons/shield-plus-icon.d.ts +1 -2
  2111. package/dist/types/components/icon/icons/shield-question-mark-icon.d.ts +1 -2
  2112. package/dist/types/components/icon/icons/shield-user-icon.d.ts +1 -2
  2113. package/dist/types/components/icon/icons/shield-x-icon.d.ts +1 -2
  2114. package/dist/types/components/icon/icons/ship-cargo-icon.d.ts +1 -2
  2115. package/dist/types/components/icon/icons/ship-icon.d.ts +1 -2
  2116. package/dist/types/components/icon/icons/ship-wheel-icon.d.ts +1 -2
  2117. package/dist/types/components/icon/icons/shirt-icon.d.ts +1 -2
  2118. package/dist/types/components/icon/icons/shopping-bag-icon.d.ts +1 -2
  2119. package/dist/types/components/icon/icons/shopping-basket-icon.d.ts +1 -2
  2120. package/dist/types/components/icon/icons/shopping-cart-icon.d.ts +1 -2
  2121. package/dist/types/components/icon/icons/shopping-cart-minus-icon.d.ts +1 -2
  2122. package/dist/types/components/icon/icons/shopping-cart-plus-icon.d.ts +1 -2
  2123. package/dist/types/components/icon/icons/shovel-icon.d.ts +1 -2
  2124. package/dist/types/components/icon/icons/shower-head-icon.d.ts +1 -2
  2125. package/dist/types/components/icon/icons/shredder-icon.d.ts +1 -2
  2126. package/dist/types/components/icon/icons/shrimp-icon.d.ts +1 -2
  2127. package/dist/types/components/icon/icons/shrimp-off-icon.d.ts +1 -2
  2128. package/dist/types/components/icon/icons/shrink-icon.d.ts +1 -2
  2129. package/dist/types/components/icon/icons/shrub-icon.d.ts +1 -2
  2130. package/dist/types/components/icon/icons/shuffle-icon.d.ts +1 -2
  2131. package/dist/types/components/icon/icons/sigma-icon.d.ts +1 -2
  2132. package/dist/types/components/icon/icons/signal-high-icon.d.ts +1 -2
  2133. package/dist/types/components/icon/icons/signal-icon.d.ts +1 -2
  2134. package/dist/types/components/icon/icons/signal-low-icon.d.ts +1 -2
  2135. package/dist/types/components/icon/icons/signal-medium-icon.d.ts +1 -2
  2136. package/dist/types/components/icon/icons/signal-zero-icon.d.ts +1 -2
  2137. package/dist/types/components/icon/icons/signature-icon.d.ts +1 -2
  2138. package/dist/types/components/icon/icons/signpost-big-icon.d.ts +1 -2
  2139. package/dist/types/components/icon/icons/signpost-icon.d.ts +1 -2
  2140. package/dist/types/components/icon/icons/siren-icon.d.ts +1 -2
  2141. package/dist/types/components/icon/icons/skip-back-icon.d.ts +1 -2
  2142. package/dist/types/components/icon/icons/skip-forward-icon.d.ts +1 -2
  2143. package/dist/types/components/icon/icons/skull-icon.d.ts +1 -2
  2144. package/dist/types/components/icon/icons/slash-icon.d.ts +1 -2
  2145. package/dist/types/components/icon/icons/slice-icon.d.ts +1 -2
  2146. package/dist/types/components/icon/icons/sliders-horizontal-icon.d.ts +1 -2
  2147. package/dist/types/components/icon/icons/sliders-vertical-icon.d.ts +1 -2
  2148. package/dist/types/components/icon/icons/smartphone-charging-icon.d.ts +1 -2
  2149. package/dist/types/components/icon/icons/smartphone-icon.d.ts +1 -2
  2150. package/dist/types/components/icon/icons/smartphone-nfc-icon.d.ts +1 -2
  2151. package/dist/types/components/icon/icons/snail-icon.d.ts +1 -2
  2152. package/dist/types/components/icon/icons/snowflake-icon.d.ts +1 -2
  2153. package/dist/types/components/icon/icons/soap-dispenser-droplet-icon.d.ts +1 -2
  2154. package/dist/types/components/icon/icons/sofa-icon.d.ts +1 -2
  2155. package/dist/types/components/icon/icons/solar-panel-icon.d.ts +1 -2
  2156. package/dist/types/components/icon/icons/soup-icon.d.ts +1 -2
  2157. package/dist/types/components/icon/icons/space-icon.d.ts +1 -2
  2158. package/dist/types/components/icon/icons/spade-icon.d.ts +1 -2
  2159. package/dist/types/components/icon/icons/sparkle-icon.d.ts +1 -2
  2160. package/dist/types/components/icon/icons/sparkles-icon.d.ts +1 -2
  2161. package/dist/types/components/icon/icons/speaker-icon.d.ts +1 -2
  2162. package/dist/types/components/icon/icons/speech-icon.d.ts +1 -2
  2163. package/dist/types/components/icon/icons/spell-check-icon.d.ts +1 -2
  2164. package/dist/types/components/icon/icons/spell-check2-icon.d.ts +1 -2
  2165. package/dist/types/components/icon/icons/spline-icon.d.ts +1 -2
  2166. package/dist/types/components/icon/icons/spline-pointer-icon.d.ts +1 -2
  2167. package/dist/types/components/icon/icons/split-icon.d.ts +1 -2
  2168. package/dist/types/components/icon/icons/spool-icon.d.ts +1 -2
  2169. package/dist/types/components/icon/icons/sport-shoe-icon.d.ts +1 -2
  2170. package/dist/types/components/icon/icons/spotlight-icon.d.ts +1 -2
  2171. package/dist/types/components/icon/icons/spray-can-icon.d.ts +1 -2
  2172. package/dist/types/components/icon/icons/sprout-icon.d.ts +1 -2
  2173. package/dist/types/components/icon/icons/square-activity-icon.d.ts +1 -2
  2174. package/dist/types/components/icon/icons/square-arrow-down-icon.d.ts +1 -2
  2175. package/dist/types/components/icon/icons/square-arrow-down-left-icon.d.ts +1 -2
  2176. package/dist/types/components/icon/icons/square-arrow-down-right-icon.d.ts +1 -2
  2177. package/dist/types/components/icon/icons/square-arrow-left-icon.d.ts +1 -2
  2178. package/dist/types/components/icon/icons/square-arrow-out-down-left-icon.d.ts +1 -2
  2179. package/dist/types/components/icon/icons/square-arrow-out-down-right-icon.d.ts +1 -2
  2180. package/dist/types/components/icon/icons/square-arrow-out-up-left-icon.d.ts +1 -2
  2181. package/dist/types/components/icon/icons/square-arrow-out-up-right-icon.d.ts +1 -2
  2182. package/dist/types/components/icon/icons/square-arrow-right-enter-icon.d.ts +1 -2
  2183. package/dist/types/components/icon/icons/square-arrow-right-exit-icon.d.ts +1 -2
  2184. package/dist/types/components/icon/icons/square-arrow-right-icon.d.ts +1 -2
  2185. package/dist/types/components/icon/icons/square-arrow-up-icon.d.ts +1 -2
  2186. package/dist/types/components/icon/icons/square-arrow-up-left-icon.d.ts +1 -2
  2187. package/dist/types/components/icon/icons/square-arrow-up-right-icon.d.ts +1 -2
  2188. package/dist/types/components/icon/icons/square-asterisk-icon.d.ts +1 -2
  2189. package/dist/types/components/icon/icons/square-bookmark-icon.d.ts +1 -2
  2190. package/dist/types/components/icon/icons/square-bottom-dashed-scissors-icon.d.ts +1 -2
  2191. package/dist/types/components/icon/icons/square-centerline-dashed-horizontal-icon.d.ts +1 -2
  2192. package/dist/types/components/icon/icons/square-centerline-dashed-vertical-icon.d.ts +1 -2
  2193. package/dist/types/components/icon/icons/square-chart-gantt-icon.d.ts +1 -2
  2194. package/dist/types/components/icon/icons/square-check-big-icon.d.ts +1 -2
  2195. package/dist/types/components/icon/icons/square-check-icon.d.ts +1 -2
  2196. package/dist/types/components/icon/icons/square-chevron-down-icon.d.ts +1 -2
  2197. package/dist/types/components/icon/icons/square-chevron-left-icon.d.ts +1 -2
  2198. package/dist/types/components/icon/icons/square-chevron-right-icon.d.ts +1 -2
  2199. package/dist/types/components/icon/icons/square-chevron-up-icon.d.ts +1 -2
  2200. package/dist/types/components/icon/icons/square-code-icon.d.ts +1 -2
  2201. package/dist/types/components/icon/icons/square-dashed-bottom-code-icon.d.ts +1 -2
  2202. package/dist/types/components/icon/icons/square-dashed-bottom-icon.d.ts +1 -2
  2203. package/dist/types/components/icon/icons/square-dashed-icon.d.ts +1 -2
  2204. package/dist/types/components/icon/icons/square-dashed-kanban-icon.d.ts +1 -2
  2205. package/dist/types/components/icon/icons/square-dashed-mouse-pointer-icon.d.ts +1 -2
  2206. package/dist/types/components/icon/icons/square-dashed-plus-icon.d.ts +12 -0
  2207. package/dist/types/components/icon/icons/square-dashed-text-icon.d.ts +1 -2
  2208. package/dist/types/components/icon/icons/square-dashed-top-solid-icon.d.ts +1 -2
  2209. package/dist/types/components/icon/icons/square-dashed-x-corner-icon.d.ts +12 -0
  2210. package/dist/types/components/icon/icons/square-dashed-x-icon.d.ts +12 -0
  2211. package/dist/types/components/icon/icons/square-dimensions-icon.d.ts +1 -2
  2212. package/dist/types/components/icon/icons/square-divide-icon.d.ts +1 -2
  2213. package/dist/types/components/icon/icons/square-dot-icon.d.ts +1 -2
  2214. package/dist/types/components/icon/icons/square-equal-icon.d.ts +1 -2
  2215. package/dist/types/components/icon/icons/square-exclamation-point-icon.d.ts +1 -2
  2216. package/dist/types/components/icon/icons/square-function-icon.d.ts +1 -2
  2217. package/dist/types/components/icon/icons/square-icon.d.ts +1 -2
  2218. package/dist/types/components/icon/icons/square-kanban-icon.d.ts +1 -2
  2219. package/dist/types/components/icon/icons/square-library-icon.d.ts +1 -2
  2220. package/dist/types/components/icon/icons/square-m-icon.d.ts +1 -2
  2221. package/dist/types/components/icon/icons/square-menu-icon.d.ts +1 -2
  2222. package/dist/types/components/icon/icons/square-minus-icon.d.ts +1 -2
  2223. package/dist/types/components/icon/icons/square-mouse-pointer-icon.d.ts +1 -2
  2224. package/dist/types/components/icon/icons/square-off-icon.d.ts +1 -2
  2225. package/dist/types/components/icon/icons/square-parking-icon.d.ts +1 -2
  2226. package/dist/types/components/icon/icons/square-parking-off-icon.d.ts +1 -2
  2227. package/dist/types/components/icon/icons/square-pause-icon.d.ts +1 -2
  2228. package/dist/types/components/icon/icons/square-pen-icon.d.ts +1 -2
  2229. package/dist/types/components/icon/icons/square-percent-icon.d.ts +1 -2
  2230. package/dist/types/components/icon/icons/square-pi-icon.d.ts +1 -2
  2231. package/dist/types/components/icon/icons/square-pilcrow-icon.d.ts +1 -2
  2232. package/dist/types/components/icon/icons/square-play-icon.d.ts +1 -2
  2233. package/dist/types/components/icon/icons/square-plus-icon.d.ts +1 -2
  2234. package/dist/types/components/icon/icons/square-power-icon.d.ts +1 -2
  2235. package/dist/types/components/icon/icons/square-radical-icon.d.ts +1 -2
  2236. package/dist/types/components/icon/icons/square-round-corner-icon.d.ts +1 -2
  2237. package/dist/types/components/icon/icons/square-scissors-icon.d.ts +1 -2
  2238. package/dist/types/components/icon/icons/square-sigma-icon.d.ts +1 -2
  2239. package/dist/types/components/icon/icons/square-slash-icon.d.ts +1 -2
  2240. package/dist/types/components/icon/icons/square-sparkles-icon.d.ts +12 -0
  2241. package/dist/types/components/icon/icons/square-split-horizontal-icon.d.ts +1 -2
  2242. package/dist/types/components/icon/icons/square-split-vertical-icon.d.ts +1 -2
  2243. package/dist/types/components/icon/icons/square-square-icon.d.ts +1 -2
  2244. package/dist/types/components/icon/icons/square-stack-icon.d.ts +1 -2
  2245. package/dist/types/components/icon/icons/square-star-icon.d.ts +1 -2
  2246. package/dist/types/components/icon/icons/square-stop-icon.d.ts +1 -2
  2247. package/dist/types/components/icon/icons/square-terminal-icon.d.ts +1 -2
  2248. package/dist/types/components/icon/icons/square-text-icon.d.ts +1 -2
  2249. package/dist/types/components/icon/icons/square-user-icon.d.ts +1 -2
  2250. package/dist/types/components/icon/icons/square-user-round-icon.d.ts +1 -2
  2251. package/dist/types/components/icon/icons/square-x-icon.d.ts +1 -2
  2252. package/dist/types/components/icon/icons/squares-exclude-icon.d.ts +1 -2
  2253. package/dist/types/components/icon/icons/squares-intersect-icon.d.ts +1 -2
  2254. package/dist/types/components/icon/icons/squares-subtract-icon.d.ts +1 -2
  2255. package/dist/types/components/icon/icons/squares-unite-icon.d.ts +1 -2
  2256. package/dist/types/components/icon/icons/squircle-dashed-icon.d.ts +1 -2
  2257. package/dist/types/components/icon/icons/squircle-icon.d.ts +1 -2
  2258. package/dist/types/components/icon/icons/squirrel-icon.d.ts +1 -2
  2259. package/dist/types/components/icon/icons/stamp-icon.d.ts +1 -2
  2260. package/dist/types/components/icon/icons/star-check-icon.d.ts +1 -2
  2261. package/dist/types/components/icon/icons/star-half-icon.d.ts +1 -2
  2262. package/dist/types/components/icon/icons/star-icon.d.ts +1 -2
  2263. package/dist/types/components/icon/icons/star-minus-icon.d.ts +1 -2
  2264. package/dist/types/components/icon/icons/star-off-icon.d.ts +1 -2
  2265. package/dist/types/components/icon/icons/star-plus-icon.d.ts +1 -2
  2266. package/dist/types/components/icon/icons/star-x-icon.d.ts +1 -2
  2267. package/dist/types/components/icon/icons/step-back-icon.d.ts +1 -2
  2268. package/dist/types/components/icon/icons/step-forward-icon.d.ts +1 -2
  2269. package/dist/types/components/icon/icons/stethoscope-icon.d.ts +1 -2
  2270. package/dist/types/components/icon/icons/sticker-icon.d.ts +1 -2
  2271. package/dist/types/components/icon/icons/sticky-note-check-icon.d.ts +1 -2
  2272. package/dist/types/components/icon/icons/sticky-note-icon.d.ts +1 -2
  2273. package/dist/types/components/icon/icons/sticky-note-minus-icon.d.ts +1 -2
  2274. package/dist/types/components/icon/icons/sticky-note-off-icon.d.ts +1 -2
  2275. package/dist/types/components/icon/icons/sticky-note-plus-icon.d.ts +1 -2
  2276. package/dist/types/components/icon/icons/sticky-note-x-icon.d.ts +1 -2
  2277. package/dist/types/components/icon/icons/sticky-notes-icon.d.ts +1 -2
  2278. package/dist/types/components/icon/icons/stone-icon.d.ts +1 -2
  2279. package/dist/types/components/icon/icons/store-icon.d.ts +1 -2
  2280. package/dist/types/components/icon/icons/stretch-horizontal-icon.d.ts +1 -2
  2281. package/dist/types/components/icon/icons/stretch-vertical-icon.d.ts +1 -2
  2282. package/dist/types/components/icon/icons/strikethrough-icon.d.ts +1 -2
  2283. package/dist/types/components/icon/icons/subscript-icon.d.ts +1 -2
  2284. package/dist/types/components/icon/icons/summary-icon.d.ts +1 -2
  2285. package/dist/types/components/icon/icons/sun-dim-icon.d.ts +1 -2
  2286. package/dist/types/components/icon/icons/sun-icon.d.ts +1 -2
  2287. package/dist/types/components/icon/icons/sun-medium-icon.d.ts +1 -2
  2288. package/dist/types/components/icon/icons/sun-moon-icon.d.ts +1 -2
  2289. package/dist/types/components/icon/icons/sun-snow-icon.d.ts +1 -2
  2290. package/dist/types/components/icon/icons/sunrise-icon.d.ts +1 -2
  2291. package/dist/types/components/icon/icons/sunset-icon.d.ts +1 -2
  2292. package/dist/types/components/icon/icons/superscript-icon.d.ts +1 -2
  2293. package/dist/types/components/icon/icons/swatch-book-icon.d.ts +1 -2
  2294. package/dist/types/components/icon/icons/swiss-franc-icon.d.ts +1 -2
  2295. package/dist/types/components/icon/icons/switch-camera-icon.d.ts +1 -2
  2296. package/dist/types/components/icon/icons/sword-icon.d.ts +1 -2
  2297. package/dist/types/components/icon/icons/swords-icon.d.ts +1 -2
  2298. package/dist/types/components/icon/icons/syringe-icon.d.ts +1 -2
  2299. package/dist/types/components/icon/icons/table-cells-merge-icon.d.ts +1 -2
  2300. package/dist/types/components/icon/icons/table-cells-split-icon.d.ts +1 -2
  2301. package/dist/types/components/icon/icons/table-columns-split-icon.d.ts +1 -2
  2302. package/dist/types/components/icon/icons/table-icon.d.ts +1 -2
  2303. package/dist/types/components/icon/icons/table-of-contents-icon.d.ts +1 -2
  2304. package/dist/types/components/icon/icons/table-properties-icon.d.ts +1 -2
  2305. package/dist/types/components/icon/icons/table-rows-split-icon.d.ts +1 -2
  2306. package/dist/types/components/icon/icons/table2-icon.d.ts +1 -2
  2307. package/dist/types/components/icon/icons/tablet-icon.d.ts +1 -2
  2308. package/dist/types/components/icon/icons/tablet-smartphone-icon.d.ts +1 -2
  2309. package/dist/types/components/icon/icons/tablets-icon.d.ts +1 -2
  2310. package/dist/types/components/icon/icons/tag-icon.d.ts +1 -2
  2311. package/dist/types/components/icon/icons/tag-plus-icon.d.ts +1 -2
  2312. package/dist/types/components/icon/icons/tag-x-icon.d.ts +1 -2
  2313. package/dist/types/components/icon/icons/tags-icon.d.ts +1 -2
  2314. package/dist/types/components/icon/icons/tally1-icon.d.ts +1 -2
  2315. package/dist/types/components/icon/icons/tally2-icon.d.ts +1 -2
  2316. package/dist/types/components/icon/icons/tally3-icon.d.ts +1 -2
  2317. package/dist/types/components/icon/icons/tally4-icon.d.ts +1 -2
  2318. package/dist/types/components/icon/icons/tally5-icon.d.ts +1 -2
  2319. package/dist/types/components/icon/icons/tangent-icon.d.ts +1 -2
  2320. package/dist/types/components/icon/icons/target-icon.d.ts +1 -2
  2321. package/dist/types/components/icon/icons/telescope-icon.d.ts +1 -2
  2322. package/dist/types/components/icon/icons/tent-icon.d.ts +1 -2
  2323. package/dist/types/components/icon/icons/tent-tree-icon.d.ts +1 -2
  2324. package/dist/types/components/icon/icons/terminal-icon.d.ts +1 -2
  2325. package/dist/types/components/icon/icons/test-tube-diagonal-icon.d.ts +1 -2
  2326. package/dist/types/components/icon/icons/test-tube-icon.d.ts +1 -2
  2327. package/dist/types/components/icon/icons/test-tubes-icon.d.ts +1 -2
  2328. package/dist/types/components/icon/icons/text-align-center-icon.d.ts +1 -2
  2329. package/dist/types/components/icon/icons/text-align-end-icon.d.ts +1 -2
  2330. package/dist/types/components/icon/icons/text-align-justify-icon.d.ts +1 -2
  2331. package/dist/types/components/icon/icons/text-align-start-icon.d.ts +1 -2
  2332. package/dist/types/components/icon/icons/text-cursor-icon.d.ts +1 -2
  2333. package/dist/types/components/icon/icons/text-cursor-input-icon.d.ts +1 -2
  2334. package/dist/types/components/icon/icons/text-initial-icon.d.ts +1 -2
  2335. package/dist/types/components/icon/icons/text-quote-icon.d.ts +1 -2
  2336. package/dist/types/components/icon/icons/text-search-icon.d.ts +1 -2
  2337. package/dist/types/components/icon/icons/text-wrap-icon.d.ts +1 -2
  2338. package/dist/types/components/icon/icons/theater-icon.d.ts +1 -2
  2339. package/dist/types/components/icon/icons/thermometer-icon.d.ts +1 -2
  2340. package/dist/types/components/icon/icons/thermometer-snowflake-icon.d.ts +1 -2
  2341. package/dist/types/components/icon/icons/thermometer-sun-icon.d.ts +1 -2
  2342. package/dist/types/components/icon/icons/thumbs-down-icon.d.ts +1 -2
  2343. package/dist/types/components/icon/icons/thumbs-up-icon.d.ts +1 -2
  2344. package/dist/types/components/icon/icons/tic-tac-toe-icon.d.ts +1 -2
  2345. package/dist/types/components/icon/icons/ticket-check-icon.d.ts +1 -2
  2346. package/dist/types/components/icon/icons/ticket-icon.d.ts +1 -2
  2347. package/dist/types/components/icon/icons/ticket-minus-icon.d.ts +1 -2
  2348. package/dist/types/components/icon/icons/ticket-percent-icon.d.ts +1 -2
  2349. package/dist/types/components/icon/icons/ticket-plus-icon.d.ts +1 -2
  2350. package/dist/types/components/icon/icons/ticket-slash-icon.d.ts +1 -2
  2351. package/dist/types/components/icon/icons/ticket-x-icon.d.ts +1 -2
  2352. package/dist/types/components/icon/icons/tickets-icon.d.ts +1 -2
  2353. package/dist/types/components/icon/icons/tickets-plane-icon.d.ts +1 -2
  2354. package/dist/types/components/icon/icons/timeline-icon.d.ts +1 -2
  2355. package/dist/types/components/icon/icons/timer-icon.d.ts +1 -2
  2356. package/dist/types/components/icon/icons/timer-off-icon.d.ts +1 -2
  2357. package/dist/types/components/icon/icons/timer-reset-icon.d.ts +1 -2
  2358. package/dist/types/components/icon/icons/toggle-left-icon.d.ts +1 -2
  2359. package/dist/types/components/icon/icons/toggle-right-icon.d.ts +1 -2
  2360. package/dist/types/components/icon/icons/toilet-icon.d.ts +1 -2
  2361. package/dist/types/components/icon/icons/tool-case-icon.d.ts +1 -2
  2362. package/dist/types/components/icon/icons/toolbox-icon.d.ts +1 -2
  2363. package/dist/types/components/icon/icons/toothbrush-icon.d.ts +1 -2
  2364. package/dist/types/components/icon/icons/toothbrush-sparkles-icon.d.ts +1 -2
  2365. package/dist/types/components/icon/icons/tornado-icon.d.ts +1 -2
  2366. package/dist/types/components/icon/icons/torus-icon.d.ts +1 -2
  2367. package/dist/types/components/icon/icons/touchpad-icon.d.ts +1 -2
  2368. package/dist/types/components/icon/icons/touchpad-off-icon.d.ts +1 -2
  2369. package/dist/types/components/icon/icons/towel-rack-icon.d.ts +1 -2
  2370. package/dist/types/components/icon/icons/tower-control-icon.d.ts +1 -2
  2371. package/dist/types/components/icon/icons/toy-brick-icon.d.ts +1 -2
  2372. package/dist/types/components/icon/icons/tractor-icon.d.ts +1 -2
  2373. package/dist/types/components/icon/icons/traffic-cone-icon.d.ts +1 -2
  2374. package/dist/types/components/icon/icons/trailer-icon.d.ts +1 -2
  2375. package/dist/types/components/icon/icons/train-front-icon.d.ts +1 -2
  2376. package/dist/types/components/icon/icons/train-front-tunnel-icon.d.ts +1 -2
  2377. package/dist/types/components/icon/icons/train-track-icon.d.ts +1 -2
  2378. package/dist/types/components/icon/icons/tram-front-icon.d.ts +1 -2
  2379. package/dist/types/components/icon/icons/transgender-icon.d.ts +1 -2
  2380. package/dist/types/components/icon/icons/trash-icon.d.ts +1 -2
  2381. package/dist/types/components/icon/icons/trash-off-icon.d.ts +1 -2
  2382. package/dist/types/components/icon/icons/tree-deciduous-icon.d.ts +1 -2
  2383. package/dist/types/components/icon/icons/tree-palm-icon.d.ts +1 -2
  2384. package/dist/types/components/icon/icons/tree-pine-icon.d.ts +1 -2
  2385. package/dist/types/components/icon/icons/trees-icon.d.ts +1 -2
  2386. package/dist/types/components/icon/icons/trending-down-icon.d.ts +1 -2
  2387. package/dist/types/components/icon/icons/trending-up-down-icon.d.ts +1 -2
  2388. package/dist/types/components/icon/icons/trending-up-icon.d.ts +1 -2
  2389. package/dist/types/components/icon/icons/triangle-alert-icon.d.ts +1 -2
  2390. package/dist/types/components/icon/icons/triangle-dashed-icon.d.ts +1 -2
  2391. package/dist/types/components/icon/icons/triangle-icon.d.ts +1 -2
  2392. package/dist/types/components/icon/icons/triangle-right-icon.d.ts +1 -2
  2393. package/dist/types/components/icon/icons/triangles-centerline-dashed-horizontal-icon.d.ts +1 -2
  2394. package/dist/types/components/icon/icons/triangles-centerline-dashed-vertical-icon.d.ts +1 -2
  2395. package/dist/types/components/icon/icons/trophy-icon.d.ts +1 -2
  2396. package/dist/types/components/icon/icons/truck-electric-icon.d.ts +1 -2
  2397. package/dist/types/components/icon/icons/truck-icon.d.ts +1 -2
  2398. package/dist/types/components/icon/icons/tube-lotion-icon.d.ts +12 -0
  2399. package/dist/types/components/icon/icons/turkish-lira-icon.d.ts +1 -2
  2400. package/dist/types/components/icon/icons/turntable-icon.d.ts +1 -2
  2401. package/dist/types/components/icon/icons/turtle-icon.d.ts +1 -2
  2402. package/dist/types/components/icon/icons/tv-icon.d.ts +1 -2
  2403. package/dist/types/components/icon/icons/tv-minimal-icon.d.ts +1 -2
  2404. package/dist/types/components/icon/icons/tv-minimal-play-icon.d.ts +1 -2
  2405. package/dist/types/components/icon/icons/type-icon.d.ts +1 -2
  2406. package/dist/types/components/icon/icons/type-outline-icon.d.ts +1 -2
  2407. package/dist/types/components/icon/icons/umbrella-icon.d.ts +1 -2
  2408. package/dist/types/components/icon/icons/umbrella-off-icon.d.ts +1 -2
  2409. package/dist/types/components/icon/icons/underline-icon.d.ts +1 -2
  2410. package/dist/types/components/icon/icons/undo-dot-icon.d.ts +1 -2
  2411. package/dist/types/components/icon/icons/undo-icon.d.ts +1 -2
  2412. package/dist/types/components/icon/icons/undo2-icon.d.ts +1 -2
  2413. package/dist/types/components/icon/icons/unfold-horizontal-icon.d.ts +1 -2
  2414. package/dist/types/components/icon/icons/unfold-vertical-icon.d.ts +1 -2
  2415. package/dist/types/components/icon/icons/ungroup-icon.d.ts +1 -2
  2416. package/dist/types/components/icon/icons/university-icon.d.ts +1 -2
  2417. package/dist/types/components/icon/icons/unlink-icon.d.ts +1 -2
  2418. package/dist/types/components/icon/icons/unlink2-icon.d.ts +1 -2
  2419. package/dist/types/components/icon/icons/unplug-icon.d.ts +1 -2
  2420. package/dist/types/components/icon/icons/upload-icon.d.ts +1 -2
  2421. package/dist/types/components/icon/icons/usb-c-port-icon.d.ts +1 -2
  2422. package/dist/types/components/icon/icons/usb-icon.d.ts +1 -2
  2423. package/dist/types/components/icon/icons/user-check-icon.d.ts +1 -2
  2424. package/dist/types/components/icon/icons/user-cog-icon.d.ts +1 -2
  2425. package/dist/types/components/icon/icons/user-group-icon.d.ts +1 -2
  2426. package/dist/types/components/icon/icons/user-icon.d.ts +1 -2
  2427. package/dist/types/components/icon/icons/user-key-icon.d.ts +1 -2
  2428. package/dist/types/components/icon/icons/user-lock-icon.d.ts +1 -2
  2429. package/dist/types/components/icon/icons/user-minus-icon.d.ts +1 -2
  2430. package/dist/types/components/icon/icons/user-pen-icon.d.ts +1 -2
  2431. package/dist/types/components/icon/icons/user-plus-icon.d.ts +1 -2
  2432. package/dist/types/components/icon/icons/user-round-arrow-left-icon.d.ts +1 -2
  2433. package/dist/types/components/icon/icons/user-round-check-icon.d.ts +1 -2
  2434. package/dist/types/components/icon/icons/user-round-cog-icon.d.ts +1 -2
  2435. package/dist/types/components/icon/icons/user-round-group-icon.d.ts +1 -2
  2436. package/dist/types/components/icon/icons/user-round-icon.d.ts +1 -2
  2437. package/dist/types/components/icon/icons/user-round-key-icon.d.ts +1 -2
  2438. package/dist/types/components/icon/icons/user-round-minus-icon.d.ts +1 -2
  2439. package/dist/types/components/icon/icons/user-round-pen-icon.d.ts +1 -2
  2440. package/dist/types/components/icon/icons/user-round-plus-icon.d.ts +1 -2
  2441. package/dist/types/components/icon/icons/user-round-search-icon.d.ts +1 -2
  2442. package/dist/types/components/icon/icons/user-round-x-icon.d.ts +1 -2
  2443. package/dist/types/components/icon/icons/user-search-icon.d.ts +1 -2
  2444. package/dist/types/components/icon/icons/user-shield-icon.d.ts +1 -2
  2445. package/dist/types/components/icon/icons/user-star-icon.d.ts +1 -2
  2446. package/dist/types/components/icon/icons/user-x-icon.d.ts +1 -2
  2447. package/dist/types/components/icon/icons/users-icon.d.ts +1 -2
  2448. package/dist/types/components/icon/icons/users-round-icon.d.ts +1 -2
  2449. package/dist/types/components/icon/icons/utensils-crossed-icon.d.ts +1 -2
  2450. package/dist/types/components/icon/icons/utensils-icon.d.ts +1 -2
  2451. package/dist/types/components/icon/icons/utility-pole-icon.d.ts +1 -2
  2452. package/dist/types/components/icon/icons/van-icon.d.ts +1 -2
  2453. package/dist/types/components/icon/icons/variable-icon.d.ts +1 -2
  2454. package/dist/types/components/icon/icons/vault-icon.d.ts +1 -2
  2455. package/dist/types/components/icon/icons/vector-polygon-icon.d.ts +1 -2
  2456. package/dist/types/components/icon/icons/vector-square-icon.d.ts +1 -2
  2457. package/dist/types/components/icon/icons/vegan-icon.d.ts +1 -2
  2458. package/dist/types/components/icon/icons/venetian-mask-icon.d.ts +1 -2
  2459. package/dist/types/components/icon/icons/venus-and-mars-icon.d.ts +1 -2
  2460. package/dist/types/components/icon/icons/venus-icon.d.ts +1 -2
  2461. package/dist/types/components/icon/icons/vibrate-icon.d.ts +1 -2
  2462. package/dist/types/components/icon/icons/vibrate-off-icon.d.ts +1 -2
  2463. package/dist/types/components/icon/icons/video-icon.d.ts +1 -2
  2464. package/dist/types/components/icon/icons/video-off-icon.d.ts +1 -2
  2465. package/dist/types/components/icon/icons/videotape-icon.d.ts +1 -2
  2466. package/dist/types/components/icon/icons/view-icon.d.ts +1 -2
  2467. package/dist/types/components/icon/icons/virus-icon.d.ts +1 -2
  2468. package/dist/types/components/icon/icons/virus-off-icon.d.ts +1 -2
  2469. package/dist/types/components/icon/icons/voicemail-icon.d.ts +1 -2
  2470. package/dist/types/components/icon/icons/volleyball-icon.d.ts +1 -2
  2471. package/dist/types/components/icon/icons/volume-icon.d.ts +1 -2
  2472. package/dist/types/components/icon/icons/volume-off-icon.d.ts +1 -2
  2473. package/dist/types/components/icon/icons/volume-x-icon.d.ts +1 -2
  2474. package/dist/types/components/icon/icons/volume1-icon.d.ts +1 -2
  2475. package/dist/types/components/icon/icons/volume2-icon.d.ts +1 -2
  2476. package/dist/types/components/icon/icons/vote-icon.d.ts +1 -2
  2477. package/dist/types/components/icon/icons/wallet-cards-icon.d.ts +1 -2
  2478. package/dist/types/components/icon/icons/wallet-icon.d.ts +1 -2
  2479. package/dist/types/components/icon/icons/wallet-minimal-icon.d.ts +1 -2
  2480. package/dist/types/components/icon/icons/wallpaper-icon.d.ts +1 -2
  2481. package/dist/types/components/icon/icons/wand-icon.d.ts +1 -2
  2482. package/dist/types/components/icon/icons/wand-sparkles-icon.d.ts +1 -2
  2483. package/dist/types/components/icon/icons/warehouse-icon.d.ts +1 -2
  2484. package/dist/types/components/icon/icons/washing-machine-icon.d.ts +1 -2
  2485. package/dist/types/components/icon/icons/watch-icon.d.ts +1 -2
  2486. package/dist/types/components/icon/icons/waves-arrow-down-icon.d.ts +1 -2
  2487. package/dist/types/components/icon/icons/waves-arrow-up-icon.d.ts +1 -2
  2488. package/dist/types/components/icon/icons/waves-horizontal-icon.d.ts +1 -2
  2489. package/dist/types/components/icon/icons/waves-ladder-icon.d.ts +1 -2
  2490. package/dist/types/components/icon/icons/waves-vertical-icon.d.ts +1 -2
  2491. package/dist/types/components/icon/icons/waypoints-icon.d.ts +1 -2
  2492. package/dist/types/components/icon/icons/webcam-icon.d.ts +1 -2
  2493. package/dist/types/components/icon/icons/webcam-off-icon.d.ts +1 -2
  2494. package/dist/types/components/icon/icons/webhook-icon.d.ts +1 -2
  2495. package/dist/types/components/icon/icons/webhook-off-icon.d.ts +1 -2
  2496. package/dist/types/components/icon/icons/weight-icon.d.ts +1 -2
  2497. package/dist/types/components/icon/icons/weight-tilde-icon.d.ts +1 -2
  2498. package/dist/types/components/icon/icons/wheat-icon.d.ts +1 -2
  2499. package/dist/types/components/icon/icons/wheat-off-icon.d.ts +1 -2
  2500. package/dist/types/components/icon/icons/whistle-icon.d.ts +1 -2
  2501. package/dist/types/components/icon/icons/whole-word-icon.d.ts +1 -2
  2502. package/dist/types/components/icon/icons/wifi-cog-icon.d.ts +1 -2
  2503. package/dist/types/components/icon/icons/wifi-high-icon.d.ts +1 -2
  2504. package/dist/types/components/icon/icons/wifi-icon.d.ts +1 -2
  2505. package/dist/types/components/icon/icons/wifi-low-icon.d.ts +1 -2
  2506. package/dist/types/components/icon/icons/wifi-off-icon.d.ts +1 -2
  2507. package/dist/types/components/icon/icons/wifi-pen-icon.d.ts +1 -2
  2508. package/dist/types/components/icon/icons/wifi-sync-icon.d.ts +1 -2
  2509. package/dist/types/components/icon/icons/wifi-zero-icon.d.ts +1 -2
  2510. package/dist/types/components/icon/icons/wind-arrow-down-icon.d.ts +1 -2
  2511. package/dist/types/components/icon/icons/wind-icon.d.ts +1 -2
  2512. package/dist/types/components/icon/icons/wine-icon.d.ts +1 -2
  2513. package/dist/types/components/icon/icons/wine-off-icon.d.ts +1 -2
  2514. package/dist/types/components/icon/icons/workflow-icon.d.ts +1 -2
  2515. package/dist/types/components/icon/icons/worm-icon.d.ts +1 -2
  2516. package/dist/types/components/icon/icons/wrench-icon.d.ts +1 -2
  2517. package/dist/types/components/icon/icons/wrench-off-icon.d.ts +1 -2
  2518. package/dist/types/components/icon/icons/x-icon.d.ts +1 -2
  2519. package/dist/types/components/icon/icons/x-line-top-icon.d.ts +1 -2
  2520. package/dist/types/components/icon/icons/zap-icon.d.ts +1 -2
  2521. package/dist/types/components/icon/icons/zap-off-icon.d.ts +1 -2
  2522. package/dist/types/components/icon/icons/zodiac-aquarius-icon.d.ts +1 -2
  2523. package/dist/types/components/icon/icons/zodiac-aries-icon.d.ts +1 -2
  2524. package/dist/types/components/icon/icons/zodiac-cancer-icon.d.ts +1 -2
  2525. package/dist/types/components/icon/icons/zodiac-capricorn-icon.d.ts +1 -2
  2526. package/dist/types/components/icon/icons/zodiac-gemini-icon.d.ts +1 -2
  2527. package/dist/types/components/icon/icons/zodiac-leo-icon.d.ts +1 -2
  2528. package/dist/types/components/icon/icons/zodiac-libra-icon.d.ts +1 -2
  2529. package/dist/types/components/icon/icons/zodiac-ophiuchus-icon.d.ts +1 -2
  2530. package/dist/types/components/icon/icons/zodiac-pisces-icon.d.ts +1 -2
  2531. package/dist/types/components/icon/icons/zodiac-sagittarius-icon.d.ts +1 -2
  2532. package/dist/types/components/icon/icons/zodiac-scorpio-icon.d.ts +1 -2
  2533. package/dist/types/components/icon/icons/zodiac-taurus-icon.d.ts +1 -2
  2534. package/dist/types/components/icon/icons/zodiac-virgo-icon.d.ts +1 -2
  2535. package/dist/types/components/icon/icons/zoom-in-icon.d.ts +1 -2
  2536. package/dist/types/components/icon/icons/zoom-out-icon.d.ts +1 -2
  2537. package/dist/types/components/icon/index.d.ts +21 -1
  2538. package/dist/types/components/icon/lucide-icon.d.ts +2 -3
  2539. package/dist/types/components/image/image.d.ts +3 -3
  2540. package/dist/types/components/image/image.style.d.ts +2 -3
  2541. package/dist/types/components/indicator/indicator.d.ts +3 -3
  2542. package/dist/types/components/indicator/indicator.style.d.ts +2 -3
  2543. package/dist/types/components/infinite-scroll-area/infinite-scroll-area.d.ts +3 -3
  2544. package/dist/types/components/infinite-scroll-area/infinite-scroll-area.style.d.ts +2 -3
  2545. package/dist/types/components/infinite-scroll-area/use-infinite-scroll.d.ts +2 -3
  2546. package/dist/types/components/input/input-addon.d.ts +3 -3
  2547. package/dist/types/components/input/input-addon.style.d.ts +2 -3
  2548. package/dist/types/components/input/input-element.d.ts +3 -3
  2549. package/dist/types/components/input/input-element.style.d.ts +2 -3
  2550. package/dist/types/components/input/input-group.d.ts +2 -3
  2551. package/dist/types/components/input/input.d.ts +3 -3
  2552. package/dist/types/components/input/input.style.d.ts +5 -6
  2553. package/dist/types/components/input/use-input-border.d.ts +3 -4
  2554. package/dist/types/components/kbd/kbd.d.ts +3 -3
  2555. package/dist/types/components/kbd/kbd.style.d.ts +2 -3
  2556. package/dist/types/components/link/link.d.ts +3 -3
  2557. package/dist/types/components/link/link.style.d.ts +2 -3
  2558. package/dist/types/components/link-box/link-box.d.ts +5 -5
  2559. package/dist/types/components/link-box/link-box.style.d.ts +2 -3
  2560. package/dist/types/components/list/list.d.ts +8 -8
  2561. package/dist/types/components/list/list.style.d.ts +2 -3
  2562. package/dist/types/components/loading/audio.d.ts +2 -3
  2563. package/dist/types/components/loading/circles.d.ts +2 -3
  2564. package/dist/types/components/loading/dots.d.ts +2 -3
  2565. package/dist/types/components/loading/grid.d.ts +2 -3
  2566. package/dist/types/components/loading/loading-provider.d.ts +5 -6
  2567. package/dist/types/components/loading/loading.d.ts +2 -2
  2568. package/dist/types/components/loading/loading.style.d.ts +2 -3
  2569. package/dist/types/components/loading/oval.d.ts +2 -3
  2570. package/dist/types/components/loading/puff.d.ts +2 -3
  2571. package/dist/types/components/loading/rings.d.ts +2 -3
  2572. package/dist/types/components/loading/suspense.d.ts +2 -2
  2573. package/dist/types/components/loading/use-loading-component.d.ts +4 -4
  2574. package/dist/types/components/mark/mark.d.ts +3 -3
  2575. package/dist/types/components/mark/mark.style.d.ts +2 -3
  2576. package/dist/types/components/menu/menu.d.ts +32 -31
  2577. package/dist/types/components/menu/menu.style.d.ts +2 -3
  2578. package/dist/types/components/menu/use-menu.d.ts +21 -21
  2579. package/dist/types/components/modal/modal.d.ts +21 -21
  2580. package/dist/types/components/modal/modal.style.d.ts +2 -3
  2581. package/dist/types/components/modal/use-modal.d.ts +3 -4
  2582. package/dist/types/components/motion/factory.d.ts +1 -2
  2583. package/dist/types/components/motion/index.types.d.ts +8 -8
  2584. package/dist/types/components/motion/motion.d.ts +1 -2
  2585. package/dist/types/components/motion/transition.d.ts +1 -2
  2586. package/dist/types/components/native-accordion/native-accordion.d.ts +12 -12
  2587. package/dist/types/components/native-accordion/native-accordion.style.d.ts +2 -3
  2588. package/dist/types/components/native-accordion/use-native-accordion.d.ts +7 -7
  2589. package/dist/types/components/native-popover/native-popover.d.ts +17 -17
  2590. package/dist/types/components/native-popover/native-popover.style.d.ts +2 -3
  2591. package/dist/types/components/native-popover/use-native-popover.d.ts +3 -4
  2592. package/dist/types/components/native-select/native-select.d.ts +10 -9
  2593. package/dist/types/components/native-select/native-select.style.d.ts +2 -3
  2594. package/dist/types/components/native-select/use-native-select.d.ts +4 -5
  2595. package/dist/types/components/native-table/native-table.d.ts +21 -21
  2596. package/dist/types/components/native-table/native-table.style.d.ts +2 -3
  2597. package/dist/types/components/notice/notice-provider.d.ts +2 -3
  2598. package/dist/types/components/notice/notice.style.d.ts +2 -3
  2599. package/dist/types/components/notice/use-notice.d.ts +3 -3
  2600. package/dist/types/components/number-input/number-input.d.ts +4 -3
  2601. package/dist/types/components/number-input/number-input.style.d.ts +2 -3
  2602. package/dist/types/components/number-input/use-number-input.d.ts +3 -4
  2603. package/dist/types/components/pagination/pagination.d.ts +18 -17
  2604. package/dist/types/components/pagination/pagination.style.d.ts +2 -3
  2605. package/dist/types/components/pagination/use-pagination.d.ts +5 -5
  2606. package/dist/types/components/password-input/password-input.d.ts +4 -3
  2607. package/dist/types/components/password-input/password-input.style.d.ts +2 -3
  2608. package/dist/types/components/password-input/strength-meter.d.ts +3 -3
  2609. package/dist/types/components/password-input/strength-meter.style.d.ts +2 -3
  2610. package/dist/types/components/password-input/use-password-input.d.ts +3 -4
  2611. package/dist/types/components/password-input/use-strength-meter.d.ts +3 -4
  2612. package/dist/types/components/picture/picture.d.ts +5 -6
  2613. package/dist/types/components/pin-input/pin-input.d.ts +5 -5
  2614. package/dist/types/components/pin-input/pin-input.style.d.ts +2 -3
  2615. package/dist/types/components/pin-input/use-pin-input.d.ts +4 -4
  2616. package/dist/types/components/popover/popover.d.ts +21 -21
  2617. package/dist/types/components/popover/popover.style.d.ts +2 -3
  2618. package/dist/types/components/popover/use-popover.d.ts +5 -6
  2619. package/dist/types/components/portal/portal.d.ts +2 -3
  2620. package/dist/types/components/progress/progress.d.ts +3 -3
  2621. package/dist/types/components/progress/progress.style.d.ts +2 -3
  2622. package/dist/types/components/progress/use-progress.d.ts +9 -10
  2623. package/dist/types/components/qr-code/qr-code.d.ts +9 -9
  2624. package/dist/types/components/qr-code/qr-code.style.d.ts +2 -3
  2625. package/dist/types/components/qr-code/use-qr-code.d.ts +3 -4
  2626. package/dist/types/components/radio/radio-group.d.ts +3 -3
  2627. package/dist/types/components/radio/radio.d.ts +3 -3
  2628. package/dist/types/components/radio/radio.style.d.ts +2 -3
  2629. package/dist/types/components/radio/use-radio-group.d.ts +4 -4
  2630. package/dist/types/components/radio/use-radio.d.ts +3 -4
  2631. package/dist/types/components/radio-card/radio-card-group.d.ts +3 -3
  2632. package/dist/types/components/radio-card/radio-card.d.ts +9 -9
  2633. package/dist/types/components/radio-card/radio-card.style.d.ts +2 -3
  2634. package/dist/types/components/rating/rating.d.ts +2 -3
  2635. package/dist/types/components/rating/rating.style.d.ts +2 -3
  2636. package/dist/types/components/rating/use-rating.d.ts +7 -7
  2637. package/dist/types/components/reorder/reorder.d.ts +8 -8
  2638. package/dist/types/components/reorder/reorder.style.d.ts +2 -3
  2639. package/dist/types/components/reorder/use-reorder.d.ts +7 -7
  2640. package/dist/types/components/resizable/resizable.d.ts +7 -7
  2641. package/dist/types/components/resizable/resizable.style.d.ts +2 -3
  2642. package/dist/types/components/resizable/use-resizable.d.ts +13 -13
  2643. package/dist/types/components/ripple/ripple.d.ts +3 -3
  2644. package/dist/types/components/ripple/ripple.style.d.ts +2 -3
  2645. package/dist/types/components/ripple/use-ripple.d.ts +4 -5
  2646. package/dist/types/components/rotate/rotate.d.ts +3 -3
  2647. package/dist/types/components/rotate/rotate.style.d.ts +2 -3
  2648. package/dist/types/components/saturation-slider/saturation-slider.d.ts +7 -7
  2649. package/dist/types/components/saturation-slider/saturation-slider.style.d.ts +2 -3
  2650. package/dist/types/components/saturation-slider/use-saturation-slider.d.ts +3 -4
  2651. package/dist/types/components/scroll-area/scroll-area.d.ts +3 -3
  2652. package/dist/types/components/scroll-area/scroll-area.style.d.ts +2 -3
  2653. package/dist/types/components/scroll-area/use-scroll-area.d.ts +3 -4
  2654. package/dist/types/components/segmented-control/segmented-control.d.ts +6 -6
  2655. package/dist/types/components/segmented-control/segmented-control.style.d.ts +2 -3
  2656. package/dist/types/components/segmented-control/use-segmented-control.d.ts +7 -7
  2657. package/dist/types/components/select/select.d.ts +12 -11
  2658. package/dist/types/components/select/select.style.d.ts +2 -3
  2659. package/dist/types/components/select/use-select.d.ts +8 -8
  2660. package/dist/types/components/separator/separator.d.ts +3 -3
  2661. package/dist/types/components/separator/separator.style.d.ts +2 -3
  2662. package/dist/types/components/show/show.d.ts +2 -3
  2663. package/dist/types/components/sidebar/sidebar.d.ts +46 -44
  2664. package/dist/types/components/sidebar/sidebar.style.d.ts +2 -3
  2665. package/dist/types/components/sidebar/use-sidebar.d.ts +11 -11
  2666. package/dist/types/components/simple-grid/simple-grid.d.ts +3 -3
  2667. package/dist/types/components/simple-grid/simple-grid.style.d.ts +2 -3
  2668. package/dist/types/components/skeleton/skeleton-circle.d.ts +2 -3
  2669. package/dist/types/components/skeleton/skeleton-text.d.ts +2 -3
  2670. package/dist/types/components/skeleton/skeleton.d.ts +3 -3
  2671. package/dist/types/components/skeleton/skeleton.style.d.ts +2 -3
  2672. package/dist/types/components/slide/slide.d.ts +4 -4
  2673. package/dist/types/components/slide/slide.style.d.ts +2 -3
  2674. package/dist/types/components/slide-fade/slide-fade.d.ts +4 -4
  2675. package/dist/types/components/slide-fade/slide-fade.style.d.ts +2 -3
  2676. package/dist/types/components/slider/slider.d.ts +15 -15
  2677. package/dist/types/components/slider/slider.style.d.ts +2 -3
  2678. package/dist/types/components/slider/use-slider.d.ts +3 -4
  2679. package/dist/types/components/slot/slot.d.ts +3 -4
  2680. package/dist/types/components/snacks/snacks.d.ts +4 -5
  2681. package/dist/types/components/snacks/use-snacks.d.ts +5 -5
  2682. package/dist/types/components/stack/h-stack.d.ts +3 -3
  2683. package/dist/types/components/stack/h-stack.style.d.ts +2 -3
  2684. package/dist/types/components/stack/stack.d.ts +3 -3
  2685. package/dist/types/components/stack/stack.style.d.ts +2 -3
  2686. package/dist/types/components/stack/v-stack.d.ts +3 -3
  2687. package/dist/types/components/stack/v-stack.style.d.ts +2 -3
  2688. package/dist/types/components/stack/z-stack.d.ts +3 -3
  2689. package/dist/types/components/stack/z-stack.style.d.ts +2 -3
  2690. package/dist/types/components/stat/stat.d.ts +13 -13
  2691. package/dist/types/components/stat/stat.style.d.ts +3 -4
  2692. package/dist/types/components/status/status.d.ts +4 -4
  2693. package/dist/types/components/status/status.style.d.ts +2 -3
  2694. package/dist/types/components/steps/steps.d.ts +28 -28
  2695. package/dist/types/components/steps/steps.style.d.ts +2 -3
  2696. package/dist/types/components/steps/use-steps.d.ts +8 -8
  2697. package/dist/types/components/switch/switch.d.ts +3 -3
  2698. package/dist/types/components/switch/switch.style.d.ts +2 -3
  2699. package/dist/types/components/switch/use-switch.d.ts +3 -4
  2700. package/dist/types/components/table/table.d.ts +5 -4
  2701. package/dist/types/components/tabs/tabs.d.ts +12 -12
  2702. package/dist/types/components/tabs/tabs.style.d.ts +2 -3
  2703. package/dist/types/components/tabs/use-tabs.d.ts +10 -10
  2704. package/dist/types/components/tag/tag.d.ts +3 -3
  2705. package/dist/types/components/tag/tag.style.d.ts +2 -3
  2706. package/dist/types/components/text/text.d.ts +3 -3
  2707. package/dist/types/components/text/text.style.d.ts +2 -3
  2708. package/dist/types/components/textarea/textarea.d.ts +3 -3
  2709. package/dist/types/components/textarea/textarea.style.d.ts +2 -3
  2710. package/dist/types/components/textarea/use-autosize.d.ts +3 -4
  2711. package/dist/types/components/textarea/use-textarea.d.ts +3 -4
  2712. package/dist/types/components/timeline/timeline.d.ts +16 -16
  2713. package/dist/types/components/timeline/timeline.style.d.ts +2 -3
  2714. package/dist/types/components/tip/tip.d.ts +3 -4
  2715. package/dist/types/components/toggle/toggle-group.d.ts +2 -3
  2716. package/dist/types/components/toggle/toggle.d.ts +3 -3
  2717. package/dist/types/components/toggle/toggle.style.d.ts +2 -3
  2718. package/dist/types/components/toggle/use-toggle-group.d.ts +4 -4
  2719. package/dist/types/components/toggle/use-toggle.d.ts +3 -4
  2720. package/dist/types/components/tooltip/tooltip.d.ts +3 -3
  2721. package/dist/types/components/tooltip/tooltip.style.d.ts +2 -3
  2722. package/dist/types/components/tooltip/use-tooltip.d.ts +5 -6
  2723. package/dist/types/components/tree/tree.d.ts +7 -6
  2724. package/dist/types/components/tree/tree.style.d.ts +2 -3
  2725. package/dist/types/components/tree/use-tree.d.ts +12 -12
  2726. package/dist/types/components/visually-hidden/visually-hidden.d.ts +3 -3
  2727. package/dist/types/components/visually-hidden/visually-hidden.style.d.ts +2 -3
  2728. package/dist/types/components/wrap/wrap.d.ts +3 -3
  2729. package/dist/types/components/wrap/wrap.style.d.ts +2 -3
  2730. package/dist/types/core/components/create-component.d.ts +10 -11
  2731. package/dist/types/core/components/index.types.d.ts +18 -19
  2732. package/dist/types/core/components/props.d.ts +10 -11
  2733. package/dist/types/core/components/use-component-style.d.ts +6 -7
  2734. package/dist/types/core/components/utils.d.ts +8 -9
  2735. package/dist/types/core/constant.d.ts +6 -7
  2736. package/dist/types/core/css/animation.d.ts +3 -4
  2737. package/dist/types/core/css/calc.d.ts +1 -2
  2738. package/dist/types/core/css/color-mix.d.ts +1 -2
  2739. package/dist/types/core/css/color-scheme.d.ts +1 -2
  2740. package/dist/types/core/css/conditions.d.ts +39 -40
  2741. package/dist/types/core/css/config.d.ts +4 -5
  2742. package/dist/types/core/css/css.d.ts +3 -4
  2743. package/dist/types/core/css/display.d.ts +1 -2
  2744. package/dist/types/core/css/filter.d.ts +1 -2
  2745. package/dist/types/core/css/focus-ring.d.ts +2 -3
  2746. package/dist/types/core/css/function.d.ts +1 -2
  2747. package/dist/types/core/css/gradient.d.ts +1 -2
  2748. package/dist/types/core/css/grid.d.ts +1 -2
  2749. package/dist/types/core/css/index.types.d.ts +29 -29
  2750. package/dist/types/core/css/merge-css.d.ts +1 -2
  2751. package/dist/types/core/css/style.d.ts +1 -2
  2752. package/dist/types/core/css/styles.d.ts +62 -58
  2753. package/dist/types/core/css/token.d.ts +1 -2
  2754. package/dist/types/core/css/transform.d.ts +1 -2
  2755. package/dist/types/core/css/transition.d.ts +1 -2
  2756. package/dist/types/core/css/use-css.d.ts +2 -3
  2757. package/dist/types/core/css/use-inject-vars.d.ts +2 -3
  2758. package/dist/types/core/css/utils.d.ts +9 -10
  2759. package/dist/types/core/generated-theme-tokens.types.d.ts +1 -2
  2760. package/dist/types/core/system/breakpoint.d.ts +2 -3
  2761. package/dist/types/core/system/color-mode-provider.d.ts +4 -4
  2762. package/dist/types/core/system/config.d.ts +14 -15
  2763. package/dist/types/core/system/create-system.d.ts +9 -10
  2764. package/dist/types/core/system/environment-provider.d.ts +6 -7
  2765. package/dist/types/core/system/factory.d.ts +1 -2
  2766. package/dist/types/core/system/index.types.d.ts +58 -59
  2767. package/dist/types/core/system/layer.d.ts +3 -4
  2768. package/dist/types/core/system/storage-manager.d.ts +3 -4
  2769. package/dist/types/core/system/storage-script.d.ts +4 -5
  2770. package/dist/types/core/system/styled.d.ts +3 -4
  2771. package/dist/types/core/system/system-provider.d.ts +3 -4
  2772. package/dist/types/core/system/theme-provider.d.ts +5 -5
  2773. package/dist/types/core/system/use-color-mode-value.d.ts +2 -3
  2774. package/dist/types/core/system/use-system-color-mode.d.ts +2 -3
  2775. package/dist/types/core/system/var.d.ts +11 -12
  2776. package/dist/types/hooks/use-animation/index.d.ts +2 -3
  2777. package/dist/types/hooks/use-async/index.d.ts +8 -9
  2778. package/dist/types/hooks/use-async-callback/index.d.ts +4 -4
  2779. package/dist/types/hooks/use-boolean/index.d.ts +2 -3
  2780. package/dist/types/hooks/use-breakpoint/use-breakpoint-effect.d.ts +1 -2
  2781. package/dist/types/hooks/use-breakpoint/use-breakpoint-state.d.ts +1 -2
  2782. package/dist/types/hooks/use-breakpoint/use-breakpoint-value.d.ts +2 -3
  2783. package/dist/types/hooks/use-breakpoint/use-breakpoint.d.ts +1 -2
  2784. package/dist/types/hooks/use-breakpoint/use-update-breakpoint-effect.d.ts +1 -2
  2785. package/dist/types/hooks/use-clickable/index.d.ts +3 -4
  2786. package/dist/types/hooks/use-clipboard/index.d.ts +2 -3
  2787. package/dist/types/hooks/use-combobox/index.d.ts +18 -18
  2788. package/dist/types/hooks/use-controllable-state/index.d.ts +8 -9
  2789. package/dist/types/hooks/use-counter/index.d.ts +3 -4
  2790. package/dist/types/hooks/use-descendants/index.d.ts +5 -6
  2791. package/dist/types/hooks/use-disclosure/use-disclosure.d.ts +4 -5
  2792. package/dist/types/hooks/use-disclosure/use-promise-disclosure.d.ts +3 -4
  2793. package/dist/types/hooks/use-event-listener/index.d.ts +2 -3
  2794. package/dist/types/hooks/use-eye-dropper/index.d.ts +2 -3
  2795. package/dist/types/hooks/use-field-sizing/index.d.ts +3 -4
  2796. package/dist/types/hooks/use-focus/index.d.ts +4 -5
  2797. package/dist/types/hooks/use-hover/index.d.ts +1 -2
  2798. package/dist/types/hooks/use-idle/index.d.ts +2 -3
  2799. package/dist/types/hooks/use-interval/index.d.ts +1 -2
  2800. package/dist/types/hooks/use-lazy-mount/index.d.ts +3 -4
  2801. package/dist/types/hooks/use-local-storage/index.d.ts +4 -5
  2802. package/dist/types/hooks/use-media-query/index.d.ts +1 -2
  2803. package/dist/types/hooks/use-mounted/index.d.ts +4 -5
  2804. package/dist/types/hooks/use-online/index.d.ts +3 -4
  2805. package/dist/types/hooks/use-os/index.d.ts +2 -3
  2806. package/dist/types/hooks/use-outside-click/index.d.ts +2 -3
  2807. package/dist/types/hooks/use-pan-event/index.d.ts +3 -4
  2808. package/dist/types/hooks/use-popper/index.d.ts +5 -6
  2809. package/dist/types/hooks/use-previous/index.d.ts +1 -2
  2810. package/dist/types/hooks/use-processing/index.d.ts +2 -3
  2811. package/dist/types/hooks/use-resize-observer/index.d.ts +3 -4
  2812. package/dist/types/hooks/use-timeout/index.d.ts +1 -2
  2813. package/dist/types/hooks/use-value/index.d.ts +2 -3
  2814. package/dist/types/hooks/use-window-event/index.d.ts +1 -2
  2815. package/dist/types/index.d.ts +22 -2
  2816. package/dist/types/providers/i18n-provider/i18n-cache.d.ts +1 -2
  2817. package/dist/types/providers/i18n-provider/i18n-provider.d.ts +9 -9
  2818. package/dist/types/providers/i18n-provider/icu.types.d.ts +1 -2
  2819. package/dist/types/providers/i18n-provider/intl/index.d.ts +3 -3
  2820. package/dist/types/providers/ui-provider/ui-provider.d.ts +4 -5
  2821. package/dist/types/theme/config.d.ts +1 -2
  2822. package/dist/types/theme/index.d.ts +2 -2
  2823. package/dist/types/theme/semantic-tokens/index.d.ts +1 -2
  2824. package/dist/types/theme/styles/index.d.ts +1 -2
  2825. package/dist/types/theme/tokens/index.d.ts +1 -2
  2826. package/dist/types/utils/children.d.ts +18 -19
  2827. package/dist/types/utils/context.d.ts +3 -4
  2828. package/dist/types/utils/dom.d.ts +6 -7
  2829. package/dist/types/utils/effect.d.ts +3 -4
  2830. package/dist/types/utils/index.types.d.ts +2 -3
  2831. package/dist/types/utils/ref.d.ts +5 -6
  2832. package/dist/types/utils/ssr.d.ts +1 -2
  2833. package/dist/types/utils/store.d.ts +8 -9
  2834. package/package.json +7 -7
@@ -1,4 +1,3 @@
1
- require("../../_virtual/_rolldown/runtime.cjs");
2
1
  const require_utils_index = require("../../utils/index.cjs");
3
2
  const require_system_provider = require("../system/system-provider.cjs");
4
3
  const require_theme_provider = require("../system/theme-provider.cjs");
@@ -1 +1 @@
1
- {"version":3,"file":"use-css.cjs","names":["useSystem","useTheme","useMemo","emotionCSS","css"],"sources":["../../../../src/core/css/use-css.ts"],"sourcesContent":["import type { StyledTheme, System, UsageTheme } from \"../system\"\nimport type { CSSObject, CSSObjectOrFunction } from \"./index.types\"\nimport { css as emotionCSS } from \"@emotion/css\"\nimport { useMemo } from \"react\"\nimport { toArray } from \"../../utils\"\nimport { useSystem, useTheme } from \"../system\"\nimport { css } from \"./css\"\n\nexport const useCSS = (\n value: CSSObject | CSSObject[] | CSSObjectOrFunction = [],\n) => {\n const system = useSystem()\n const { theme } = useTheme<UsageTheme>()\n\n return useMemo(() => getCSS(system, theme)(value), [value, system, theme])\n}\n\nexport const getCSS =\n (system: System, theme: StyledTheme<UsageTheme>) =>\n (value: CSSObject | CSSObject[] | CSSObjectOrFunction = []) =>\n emotionCSS(...toArray(value).map(css(system, theme)))\n"],"mappings":";;;;;;;;AAQA,MAAa,UACX,QAAuD,CAAC,MACrD;CACH,MAAM,SAASA,wBAAAA,UAAU;CACzB,MAAM,EAAE,UAAUC,uBAAAA,SAAqB;CAEvC,QAAA,GAAOC,MAAAA,QAAAA,OAAc,OAAO,QAAQ,KAAK,CAAC,CAAC,KAAK,GAAG;EAAC;EAAO;EAAQ;CAAK,CAAC;AAC3E;AAEA,MAAa,UACV,QAAgB,WAChB,QAAuD,CAAC,OAAA,GACvDC,aAAAA,IAAAA,CAAW,IAAA,GAAA,oBAAA,cAAG,QAAA,CAAQ,KAAK,CAAC,CAAC,IAAIC,YAAAA,IAAI,QAAQ,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"use-css.cjs","names":["useSystem","useTheme","useMemo","emotionCSS","css"],"sources":["../../../../src/core/css/use-css.ts"],"sourcesContent":["import type { StyledTheme, System, UsageTheme } from \"../system\"\nimport type { CSSObject, CSSObjectOrFunction } from \"./index.types\"\nimport { css as emotionCSS } from \"@emotion/css\"\nimport { useMemo } from \"react\"\nimport { toArray } from \"../../utils\"\nimport { useSystem, useTheme } from \"../system\"\nimport { css } from \"./css\"\n\nexport const useCSS = (\n value: CSSObject | CSSObject[] | CSSObjectOrFunction = [],\n) => {\n const system = useSystem()\n const { theme } = useTheme<UsageTheme>()\n\n return useMemo(() => getCSS(system, theme)(value), [value, system, theme])\n}\n\nexport const getCSS =\n (system: System, theme: StyledTheme<UsageTheme>) =>\n (value: CSSObject | CSSObject[] | CSSObjectOrFunction = []) =>\n emotionCSS(...toArray(value).map(css(system, theme)))\n"],"mappings":";;;;;;;AAQA,MAAa,UACX,QAAuD,CAAC,MACrD;CACH,MAAM,SAASA,wBAAAA,UAAU;CACzB,MAAM,EAAE,UAAUC,uBAAAA,SAAqB;CAEvC,QAAA,GAAOC,MAAAA,QAAAA,OAAc,OAAO,QAAQ,KAAK,CAAC,CAAC,KAAK,GAAG;EAAC;EAAO;EAAQ;CAAK,CAAC;AAC3E;AAEA,MAAa,UACV,QAAgB,WAChB,QAAuD,CAAC,OAAA,GACvDC,aAAAA,IAAAA,CAAW,IAAA,GAAA,oBAAA,cAAG,QAAA,CAAQ,KAAK,CAAC,CAAC,IAAIC,YAAAA,IAAI,QAAQ,KAAK,CAAC,CAAC"}
@@ -1,5 +1,4 @@
1
1
  "use client";
2
- require("../../_virtual/_rolldown/runtime.cjs");
3
2
  const require_var = require("../system/var.cjs");
4
3
  const require_props = require("../components/props.cjs");
5
4
  let react = require("react");
@@ -1 +1 @@
1
- {"version":3,"file":"use-inject-vars.cjs","names":["useRef","useMemo","injectVars","cssProps"],"sources":["../../../../src/core/css/use-inject-vars.ts"],"sourcesContent":["\"use client\"\n\nimport type { Dict } from \"../../utils\"\nimport type { CSSObject, CSSProperties } from \"./index.types\"\nimport { useMemo, useRef } from \"react\"\nimport { cssProps } from \"../components\"\nimport { injectVars } from \"../system\"\n\nexport function useInjectVarsIntoCss(\n css: CSSObject | CSSObject[] | undefined,\n targets: { [key in CSSProperties]?: string },\n) {\n const targetsRef = useRef(targets)\n\n return useMemo(() => injectVars(css, targetsRef.current), [css])\n}\n\nexport function useInjectVarsIntoProps<Y extends Dict | undefined>(\n props: Y,\n targets: { [key in CSSProperties]?: string },\n) {\n const targetsRef = useRef(targets)\n\n return useMemo(\n () => injectVars(props, targetsRef.current, (prop) => !cssProps.has(prop)),\n [props],\n )\n}\n"],"mappings":";;;;;;AAQA,SAAgB,qBACd,KACA,SACA;CACA,MAAM,cAAA,GAAaA,MAAAA,OAAAA,CAAO,OAAO;CAEjC,QAAA,GAAOC,MAAAA,QAAAA,OAAcC,YAAAA,WAAW,KAAK,WAAW,OAAO,GAAG,CAAC,GAAG,CAAC;AACjE;AAEA,SAAgB,uBACd,OACA,SACA;CACA,MAAM,cAAA,GAAaF,MAAAA,OAAAA,CAAO,OAAO;CAEjC,QAAA,GAAOC,MAAAA,QAAAA,OACCC,YAAAA,WAAW,OAAO,WAAW,UAAU,SAAS,CAACC,cAAAA,SAAS,IAAI,IAAI,CAAC,GACzE,CAAC,KAAK,CACR;AACF"}
1
+ {"version":3,"file":"use-inject-vars.cjs","names":["useRef","useMemo","injectVars","cssProps"],"sources":["../../../../src/core/css/use-inject-vars.ts"],"sourcesContent":["\"use client\"\n\nimport type { Dict } from \"../../utils\"\nimport type { CSSObject, CSSProperties } from \"./index.types\"\nimport { useMemo, useRef } from \"react\"\nimport { cssProps } from \"../components\"\nimport { injectVars } from \"../system\"\n\nexport function useInjectVarsIntoCss(\n css: CSSObject | CSSObject[] | undefined,\n targets: { [key in CSSProperties]?: string },\n) {\n const targetsRef = useRef(targets)\n\n return useMemo(() => injectVars(css, targetsRef.current), [css])\n}\n\nexport function useInjectVarsIntoProps<Y extends Dict | undefined>(\n props: Y,\n targets: { [key in CSSProperties]?: string },\n) {\n const targetsRef = useRef(targets)\n\n return useMemo(\n () => injectVars(props, targetsRef.current, (prop) => !cssProps.has(prop)),\n [props],\n )\n}\n"],"mappings":";;;;;AAQA,SAAgB,qBACd,KACA,SACA;CACA,MAAM,cAAA,GAAaA,MAAAA,OAAAA,CAAO,OAAO;CAEjC,QAAA,GAAOC,MAAAA,QAAAA,OAAcC,YAAAA,WAAW,KAAK,WAAW,OAAO,GAAG,CAAC,GAAG,CAAC;AACjE;AAEA,SAAgB,uBACd,OACA,SACA;CACA,MAAM,cAAA,GAAaF,MAAAA,OAAAA,CAAO,OAAO;CAEjC,QAAA,GAAOC,MAAAA,QAAAA,OACCC,YAAAA,WAAW,OAAO,WAAW,UAAU,SAAS,CAACC,cAAAA,SAAS,IAAI,IAAI,CAAC,GACzE,CAAC,KAAK,CACR;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_constant = require("../constant.cjs");
5
4
  const require_environment_provider = require("./environment-provider.cjs");
@@ -1 +1 @@
1
- {"version":3,"file":"color-mode-provider.cjs","names":["createContext","COLOR_MODE_STORAGE_KEY","useMemo","createStorageManager","useEnvironment","useState","useSystemColorMode","useCallback","getPreventTransition","use"],"sources":["../../../../src/core/system/color-mode-provider.tsx"],"sourcesContent":["\"use client\"\n\nimport type { FC, PropsWithChildren } from \"react\"\nimport type { ColorMode, ColorModeWithSystem, ThemeConfig } from \"./index.types\"\nimport type { Storage } from \"./storage-manager\"\nimport {\n createContext,\n use,\n useCallback,\n useEffect,\n useMemo,\n useState,\n} from \"react\"\nimport { isDocument, isEmptyObject, noop } from \"../../utils\"\nimport { COLOR_MODE_STORAGE_KEY } from \"../constant\"\nimport { useEnvironment } from \"./environment-provider\"\nimport { createStorageManager } from \"./storage-manager\"\nimport { getPreventTransition } from \"./theme-provider\"\nimport { useSystemColorMode } from \"./use-system-color-mode\"\n\ninterface ColorModeContext {\n colorMode: ColorMode\n internalColorMode: ColorModeWithSystem\n changeColorMode: (colorMode: ColorModeWithSystem) => void\n toggleColorMode: () => void\n forced?: boolean\n}\n\nexport const ColorModeContext = createContext<ColorModeContext>({\n changeColorMode: noop,\n colorMode: \"light\",\n forced: false,\n internalColorMode: \"light\",\n toggleColorMode: noop,\n})\n\nexport interface ColorModeProviderProps extends PropsWithChildren {\n /**\n * The forced color mode.\n */\n colorMode?: ColorMode\n /**\n * The config of the yamada ui.\n */\n config?: ThemeConfig\n /**\n * If `storage` is `cookie`, the cookie to use.\n * If not provided, the cookie will be set to `document.cookie`.\n */\n cookie?: string\n /**\n * The storage to use.\n * If you are using a server-side rendering library, you should use `cookie`.\n *\n * @default 'localStorage'\n */\n storage?: Storage\n /**\n * The key of the value saved in storage.\n *\n * @default 'color-mode'\n */\n storageKey?: string\n}\n\nexport const ColorModeProvider: FC<ColorModeProviderProps> = ({\n children,\n colorMode: forcedColorMode,\n config: {\n defaultColorMode = \"light\" as ColorModeWithSystem,\n disableTransitionOnChange = true,\n } = {},\n cookie,\n storage = cookie ? \"cookie\" : \"localStorage\",\n storageKey = COLOR_MODE_STORAGE_KEY,\n}) => {\n const storageManager = useMemo(\n () =>\n createStorageManager<ColorModeWithSystem, ColorMode>(\n storage,\n storageKey,\n defaultColorMode,\n cookie,\n ),\n [cookie, defaultColorMode, storage, storageKey],\n )\n const environment = useEnvironment()\n const [internalColorMode, setInternalColorMode] =\n useState<ColorModeWithSystem>(storageManager.get())\n const { getSystemColorMode, systemColorMode } = useSystemColorMode({\n callback: (systemColorMode) => {\n if (internalColorMode !== \"system\") return\n\n setClassName(systemColorMode === \"dark\")\n setDataset(systemColorMode)\n },\n defaultColorMode: storageManager.default(\n defaultColorMode === \"dark\" ? \"dark\" : \"light\",\n ),\n })\n const colorMode =\n internalColorMode === \"system\" ? systemColorMode : internalColorMode\n\n const setDataset = useCallback(\n (colorMode: ColorMode) => {\n const root = environment.getRootElement()\n\n if (!root) return\n\n const cleanup = disableTransitionOnChange\n ? getPreventTransition(environment)\n : undefined\n\n root.dataset.mode = colorMode\n root.style.colorScheme = colorMode\n\n cleanup?.()\n },\n [disableTransitionOnChange, environment],\n )\n\n const setClassName = useCallback(\n (isDark: boolean) => {\n const doc = environment.getDocument()\n const rootNode = environment.getRootNode()\n const root = environment.getRootElement()\n\n if (!doc || !root) return\n\n const target = isDocument(rootNode) ? doc.body : root\n\n target.classList.add(isDark ? \"dark\" : \"light\")\n target.classList.remove(isDark ? \"light\" : \"dark\")\n },\n [environment],\n )\n\n const changeColorMode = useCallback(\n (internalColorMode: ColorModeWithSystem) => {\n const colorMode =\n internalColorMode === \"system\"\n ? getSystemColorMode()\n : internalColorMode\n\n setInternalColorMode(internalColorMode)\n setClassName(colorMode === \"dark\")\n setDataset(colorMode)\n\n storageManager.set(internalColorMode)\n },\n [storageManager, getSystemColorMode, setClassName, setDataset],\n )\n\n const toggleColorMode = useCallback(() => {\n changeColorMode(colorMode === \"dark\" ? \"light\" : \"dark\")\n }, [changeColorMode, colorMode])\n\n useEffect(() => {\n const internalColorMode = storageManager.get()\n\n changeColorMode(internalColorMode)\n }, [changeColorMode, storageManager])\n\n const context = useMemo(\n () => ({\n changeColorMode: forcedColorMode ? noop : changeColorMode,\n colorMode: forcedColorMode ?? colorMode,\n forced: forcedColorMode !== undefined,\n internalColorMode,\n toggleColorMode: forcedColorMode ? noop : toggleColorMode,\n }),\n [\n forcedColorMode,\n colorMode,\n internalColorMode,\n changeColorMode,\n toggleColorMode,\n ],\n )\n\n return <ColorModeContext value={context}>{children}</ColorModeContext>\n}\n\n/**\n * `useColorMode` is a custom hook that returns the current color mode.\n *\n * @see https://yamada-ui.com/docs/hooks/use-color-mode\n */\nexport const useColorMode = (): ColorModeContext => {\n const context = use(ColorModeContext)\n\n if (isEmptyObject(context))\n return {\n changeColorMode: noop,\n colorMode: \"light\",\n forced: false,\n internalColorMode: \"light\",\n toggleColorMode: noop,\n }\n else return context\n}\n"],"mappings":"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"}
1
+ {"version":3,"file":"color-mode-provider.cjs","names":["createContext","COLOR_MODE_STORAGE_KEY","useMemo","createStorageManager","useEnvironment","useState","useSystemColorMode","useCallback","getPreventTransition","use"],"sources":["../../../../src/core/system/color-mode-provider.tsx"],"sourcesContent":["\"use client\"\n\nimport type { FC, PropsWithChildren } from \"react\"\nimport type { ColorMode, ColorModeWithSystem, ThemeConfig } from \"./index.types\"\nimport type { Storage } from \"./storage-manager\"\nimport {\n createContext,\n use,\n useCallback,\n useEffect,\n useMemo,\n useState,\n} from \"react\"\nimport { isDocument, isEmptyObject, noop } from \"../../utils\"\nimport { COLOR_MODE_STORAGE_KEY } from \"../constant\"\nimport { useEnvironment } from \"./environment-provider\"\nimport { createStorageManager } from \"./storage-manager\"\nimport { getPreventTransition } from \"./theme-provider\"\nimport { useSystemColorMode } from \"./use-system-color-mode\"\n\ninterface ColorModeContext {\n colorMode: ColorMode\n internalColorMode: ColorModeWithSystem\n changeColorMode: (colorMode: ColorModeWithSystem) => void\n toggleColorMode: () => void\n forced?: boolean\n}\n\nexport const ColorModeContext = createContext<ColorModeContext>({\n changeColorMode: noop,\n colorMode: \"light\",\n forced: false,\n internalColorMode: \"light\",\n toggleColorMode: noop,\n})\n\nexport interface ColorModeProviderProps extends PropsWithChildren {\n /**\n * The forced color mode.\n */\n colorMode?: ColorMode\n /**\n * The config of the yamada ui.\n */\n config?: ThemeConfig\n /**\n * If `storage` is `cookie`, the cookie to use.\n * If not provided, the cookie will be set to `document.cookie`.\n */\n cookie?: string\n /**\n * The storage to use.\n * If you are using a server-side rendering library, you should use `cookie`.\n *\n * @default 'localStorage'\n */\n storage?: Storage\n /**\n * The key of the value saved in storage.\n *\n * @default 'color-mode'\n */\n storageKey?: string\n}\n\nexport const ColorModeProvider: FC<ColorModeProviderProps> = ({\n children,\n colorMode: forcedColorMode,\n config: {\n defaultColorMode = \"light\" as ColorModeWithSystem,\n disableTransitionOnChange = true,\n } = {},\n cookie,\n storage = cookie ? \"cookie\" : \"localStorage\",\n storageKey = COLOR_MODE_STORAGE_KEY,\n}) => {\n const storageManager = useMemo(\n () =>\n createStorageManager<ColorModeWithSystem, ColorMode>(\n storage,\n storageKey,\n defaultColorMode,\n cookie,\n ),\n [cookie, defaultColorMode, storage, storageKey],\n )\n const environment = useEnvironment()\n const [internalColorMode, setInternalColorMode] =\n useState<ColorModeWithSystem>(storageManager.get())\n const { getSystemColorMode, systemColorMode } = useSystemColorMode({\n callback: (systemColorMode) => {\n if (internalColorMode !== \"system\") return\n\n setClassName(systemColorMode === \"dark\")\n setDataset(systemColorMode)\n },\n defaultColorMode: storageManager.default(\n defaultColorMode === \"dark\" ? \"dark\" : \"light\",\n ),\n })\n const colorMode =\n internalColorMode === \"system\" ? systemColorMode : internalColorMode\n\n const setDataset = useCallback(\n (colorMode: ColorMode) => {\n const root = environment.getRootElement()\n\n if (!root) return\n\n const cleanup = disableTransitionOnChange\n ? getPreventTransition(environment)\n : undefined\n\n root.dataset.mode = colorMode\n root.style.colorScheme = colorMode\n\n cleanup?.()\n },\n [disableTransitionOnChange, environment],\n )\n\n const setClassName = useCallback(\n (isDark: boolean) => {\n const doc = environment.getDocument()\n const rootNode = environment.getRootNode()\n const root = environment.getRootElement()\n\n if (!doc || !root) return\n\n const target = isDocument(rootNode) ? doc.body : root\n\n target.classList.add(isDark ? \"dark\" : \"light\")\n target.classList.remove(isDark ? \"light\" : \"dark\")\n },\n [environment],\n )\n\n const changeColorMode = useCallback(\n (internalColorMode: ColorModeWithSystem) => {\n const colorMode =\n internalColorMode === \"system\"\n ? getSystemColorMode()\n : internalColorMode\n\n setInternalColorMode(internalColorMode)\n setClassName(colorMode === \"dark\")\n setDataset(colorMode)\n\n storageManager.set(internalColorMode)\n },\n [storageManager, getSystemColorMode, setClassName, setDataset],\n )\n\n const toggleColorMode = useCallback(() => {\n changeColorMode(colorMode === \"dark\" ? \"light\" : \"dark\")\n }, [changeColorMode, colorMode])\n\n useEffect(() => {\n const internalColorMode = storageManager.get()\n\n changeColorMode(internalColorMode)\n }, [changeColorMode, storageManager])\n\n const context = useMemo(\n () => ({\n changeColorMode: forcedColorMode ? noop : changeColorMode,\n colorMode: forcedColorMode ?? colorMode,\n forced: forcedColorMode !== undefined,\n internalColorMode,\n toggleColorMode: forcedColorMode ? noop : toggleColorMode,\n }),\n [\n forcedColorMode,\n colorMode,\n internalColorMode,\n changeColorMode,\n toggleColorMode,\n ],\n )\n\n return <ColorModeContext value={context}>{children}</ColorModeContext>\n}\n\n/**\n * `useColorMode` is a custom hook that returns the current color mode.\n *\n * @see https://yamada-ui.com/docs/hooks/use-color-mode\n */\nexport const useColorMode = (): ColorModeContext => {\n const context = use(ColorModeContext)\n\n if (isEmptyObject(context))\n return {\n changeColorMode: noop,\n colorMode: \"light\",\n forced: false,\n internalColorMode: \"light\",\n toggleColorMode: noop,\n }\n else return context\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_utils_index = require("../../utils/index.cjs");
4
3
  let react = require("react");
5
4
  let react_jsx_runtime = require("react/jsx-runtime");
@@ -1 +1 @@
1
- {"version":3,"file":"environment-provider.cjs","names":["createContext","useRef","useCallback","useMemo","use"],"sources":["../../../../src/core/system/environment-provider.tsx"],"sourcesContent":["\"use client\"\n\nimport type { FC, PropsWithChildren } from \"react\"\nimport { createContext, use, useCallback, useMemo, useRef } from \"react\"\nimport {\n createdDom,\n getDocument,\n getWindow,\n isHTMLElement,\n isShadowRoot,\n runIfFn,\n} from \"../../utils\"\n\nexport type RootNode = Document | Node | ShadowRoot\n\nexport interface Environment {\n getDocument: () => Document | undefined\n getRootElement: () => HTMLElement | undefined\n getRootNode: () => RootNode | undefined\n getWindow: () => undefined | Window\n}\n\nexport const defaultEnvironment: Environment = {\n getDocument: () => document,\n getRootElement: () => document.documentElement,\n getRootNode: () => document,\n getWindow: () => window,\n}\n\nconst EnvironmentContext = createContext<Environment>(defaultEnvironment)\n\nexport interface EnvironmentProviderProps extends PropsWithChildren {\n value?: (() => RootNode) | RootNode\n}\n\nexport const EnvironmentProvider: FC<EnvironmentProviderProps> = ({\n children,\n value,\n}) => {\n const ref = useRef<HTMLSpanElement>(null)\n\n const getRootNode = useCallback(() => {\n return runIfFn(value) ?? ref.current?.getRootNode() ?? document\n }, [value, ref])\n\n const getRootElement = useCallback(() => {\n const rootNode = getRootNode()\n\n if (isShadowRoot(rootNode) && isHTMLElement(rootNode.host))\n return rootNode.host\n if (isHTMLElement(rootNode)) return rootNode\n\n return getDocument(rootNode).documentElement\n }, [getRootNode])\n\n const context = useMemo<Environment>(() => {\n if (createdDom())\n return {\n getDocument: () => getDocument(getRootNode()),\n getRootElement,\n getRootNode,\n getWindow: () => getWindow(getRootNode()),\n }\n else\n return {\n getDocument: () => undefined,\n getRootElement: () => undefined,\n getRootNode: () => undefined,\n getWindow: () => undefined,\n }\n }, [getRootElement, getRootNode])\n\n return (\n <EnvironmentContext value={context}>\n {children}\n\n {!value ? <span ref={ref} hidden /> : null}\n </EnvironmentContext>\n )\n}\n\nexport const useEnvironment = () => {\n return use(EnvironmentContext)\n}\n"],"mappings":";;;;;;AAsBA,MAAa,qBAAkC;CAC7C,mBAAmB;CACnB,sBAAsB,SAAS;CAC/B,mBAAmB;CACnB,iBAAiB;AACnB;AAEA,MAAM,sBAAA,GAAqBA,MAAAA,cAAAA,CAA2B,kBAAkB;AAMxE,MAAa,uBAAqD,EAChE,UACA,YACI;CACJ,MAAM,OAAA,GAAMC,MAAAA,OAAAA,CAAwB,IAAI;CAExC,MAAM,eAAA,GAAcC,MAAAA,YAAAA,OAAkB;EACpC,QAAA,GAAA,oBAAA,cAAO,QAAA,CAAQ,KAAK,KAAK,IAAI,SAAS,YAAY,KAAK;CACzD,GAAG,CAAC,OAAO,GAAG,CAAC;CAEf,MAAM,kBAAA,GAAiBA,MAAAA,YAAAA,OAAkB;EACvC,MAAM,WAAW,YAAY;EAE7B,KAAA,GAAA,oBAAA,cAAI,aAAA,CAAa,QAAQ,MAAA,GAAA,oBAAA,cAAK,cAAA,CAAc,SAAS,IAAI,GACvD,OAAO,SAAS;EAClB,KAAA,GAAA,oBAAA,cAAI,cAAA,CAAc,QAAQ,GAAG,OAAO;EAEpC,QAAA,GAAA,oBAAA,cAAO,YAAA,CAAY,QAAQ,CAAC,CAAC;CAC/B,GAAG,CAAC,WAAW,CAAC;CAEhB,MAAM,WAAA,GAAUC,MAAAA,QAAAA,OAA2B;EACzC,KAAA,GAAA,oBAAA,cAAI,WAAA,CAAW,GACb,OAAO;GACL,oBAAA,GAAA,oBAAA,cAAmB,YAAA,CAAY,YAAY,CAAC;GAC5C;GACA;GACA,kBAAA,GAAA,oBAAA,cAAiB,UAAA,CAAU,YAAY,CAAC;EAC1C;OAEA,OAAO;GACL,mBAAmB,KAAA;GACnB,sBAAsB,KAAA;GACtB,mBAAmB,KAAA;GACnB,iBAAiB,KAAA;EACnB;CACJ,GAAG,CAAC,gBAAgB,WAAW,CAAC;CAEhC,OACE,iBAAA,GAAA,kBAAA,KAAA,CAAC,oBAAD;EAAoB,OAAO;EAA3B,UAAA,CACG,UAEA,CAAC,QAAQ,iBAAA,GAAA,kBAAA,IAAA,CAAC,QAAD;GAAW;GAAK,QAAA;EAAQ,CAAA,IAAI,IACpB;;AAExB;AAEA,MAAa,uBAAuB;CAClC,QAAA,GAAOC,MAAAA,IAAAA,CAAI,kBAAkB;AAC/B"}
1
+ {"version":3,"file":"environment-provider.cjs","names":["createContext","useRef","useCallback","useMemo","use"],"sources":["../../../../src/core/system/environment-provider.tsx"],"sourcesContent":["\"use client\"\n\nimport type { FC, PropsWithChildren } from \"react\"\nimport { createContext, use, useCallback, useMemo, useRef } from \"react\"\nimport {\n createdDom,\n getDocument,\n getWindow,\n isHTMLElement,\n isShadowRoot,\n runIfFn,\n} from \"../../utils\"\n\nexport type RootNode = Document | Node | ShadowRoot\n\nexport interface Environment {\n getDocument: () => Document | undefined\n getRootElement: () => HTMLElement | undefined\n getRootNode: () => RootNode | undefined\n getWindow: () => undefined | Window\n}\n\nexport const defaultEnvironment: Environment = {\n getDocument: () => document,\n getRootElement: () => document.documentElement,\n getRootNode: () => document,\n getWindow: () => window,\n}\n\nconst EnvironmentContext = createContext<Environment>(defaultEnvironment)\n\nexport interface EnvironmentProviderProps extends PropsWithChildren {\n value?: (() => RootNode) | RootNode\n}\n\nexport const EnvironmentProvider: FC<EnvironmentProviderProps> = ({\n children,\n value,\n}) => {\n const ref = useRef<HTMLSpanElement>(null)\n\n const getRootNode = useCallback(() => {\n return runIfFn(value) ?? ref.current?.getRootNode() ?? document\n }, [value, ref])\n\n const getRootElement = useCallback(() => {\n const rootNode = getRootNode()\n\n if (isShadowRoot(rootNode) && isHTMLElement(rootNode.host))\n return rootNode.host\n if (isHTMLElement(rootNode)) return rootNode\n\n return getDocument(rootNode).documentElement\n }, [getRootNode])\n\n const context = useMemo<Environment>(() => {\n if (createdDom())\n return {\n getDocument: () => getDocument(getRootNode()),\n getRootElement,\n getRootNode,\n getWindow: () => getWindow(getRootNode()),\n }\n else\n return {\n getDocument: () => undefined,\n getRootElement: () => undefined,\n getRootNode: () => undefined,\n getWindow: () => undefined,\n }\n }, [getRootElement, getRootNode])\n\n return (\n <EnvironmentContext value={context}>\n {children}\n\n {!value ? <span ref={ref} hidden /> : null}\n </EnvironmentContext>\n )\n}\n\nexport const useEnvironment = () => {\n return use(EnvironmentContext)\n}\n"],"mappings":";;;;;AAsBA,MAAa,qBAAkC;CAC7C,mBAAmB;CACnB,sBAAsB,SAAS;CAC/B,mBAAmB;CACnB,iBAAiB;AACnB;AAEA,MAAM,sBAAA,GAAqBA,MAAAA,cAAAA,CAA2B,kBAAkB;AAMxE,MAAa,uBAAqD,EAChE,UACA,YACI;CACJ,MAAM,OAAA,GAAMC,MAAAA,OAAAA,CAAwB,IAAI;CAExC,MAAM,eAAA,GAAcC,MAAAA,YAAAA,OAAkB;EACpC,QAAA,GAAA,oBAAA,cAAO,QAAA,CAAQ,KAAK,KAAK,IAAI,SAAS,YAAY,KAAK;CACzD,GAAG,CAAC,OAAO,GAAG,CAAC;CAEf,MAAM,kBAAA,GAAiBA,MAAAA,YAAAA,OAAkB;EACvC,MAAM,WAAW,YAAY;EAE7B,KAAA,GAAA,oBAAA,cAAI,aAAA,CAAa,QAAQ,MAAA,GAAA,oBAAA,cAAK,cAAA,CAAc,SAAS,IAAI,GACvD,OAAO,SAAS;EAClB,KAAA,GAAA,oBAAA,cAAI,cAAA,CAAc,QAAQ,GAAG,OAAO;EAEpC,QAAA,GAAA,oBAAA,cAAO,YAAA,CAAY,QAAQ,CAAC,CAAC;CAC/B,GAAG,CAAC,WAAW,CAAC;CAEhB,MAAM,WAAA,GAAUC,MAAAA,QAAAA,OAA2B;EACzC,KAAA,GAAA,oBAAA,cAAI,WAAA,CAAW,GACb,OAAO;GACL,oBAAA,GAAA,oBAAA,cAAmB,YAAA,CAAY,YAAY,CAAC;GAC5C;GACA;GACA,kBAAA,GAAA,oBAAA,cAAiB,UAAA,CAAU,YAAY,CAAC;EAC1C;OAEA,OAAO;GACL,mBAAmB,KAAA;GACnB,sBAAsB,KAAA;GACtB,mBAAmB,KAAA;GACnB,iBAAiB,KAAA;EACnB;CACJ,GAAG,CAAC,gBAAgB,WAAW,CAAC;CAEhC,OACE,iBAAA,GAAA,kBAAA,KAAA,CAAC,oBAAD;EAAoB,OAAO;EAA3B,UAAA,CACG,UAEA,CAAC,QAAQ,iBAAA,GAAA,kBAAA,IAAA,CAAC,QAAD;GAAW;GAAK,QAAA;EAAQ,CAAA,IAAI,IACpB;;AAExB;AAEA,MAAa,uBAAuB;CAClC,QAAA,GAAOC,MAAAA,IAAAA,CAAI,kBAAkB;AAC/B"}
@@ -1,5 +1,4 @@
1
1
  "use client";
2
- require("../../_virtual/_rolldown/runtime.cjs");
3
2
  const require_environment_provider = require("./environment-provider.cjs");
4
3
  const require_create_system = require("./create-system.cjs");
5
4
  let react = require("react");
@@ -1 +1 @@
1
- {"version":3,"file":"system-provider.cjs","names":["createContext","defaultSystem","useEnvironment","useMemo","createSystem","use"],"sources":["../../../../src/core/system/system-provider.tsx"],"sourcesContent":["\"use client\"\n\nimport type { FC, PropsWithChildren } from \"react\"\nimport type { System, ThemeConfig, UsageTheme } from \"./index.types\"\nimport { createContext, use, useMemo } from \"react\"\nimport { createSystem, defaultSystem } from \"./create-system\"\nimport { useEnvironment } from \"./environment-provider\"\n\ninterface SystemContext extends System {}\n\nconst SystemContext = createContext<SystemContext>(defaultSystem)\n\nexport interface SystemProviderProps extends PropsWithChildren {\n /**\n * The config of the yamada ui.\n */\n config?: ThemeConfig\n /**\n * The theme of the yamada ui.\n */\n theme?: UsageTheme\n}\n\nexport const SystemProvider: FC<SystemProviderProps> = ({\n children,\n config,\n theme = {},\n}) => {\n const { getRootNode } = useEnvironment()\n const rootNode = getRootNode()\n const system = useMemo(\n () => createSystem(theme, config, rootNode),\n [theme, config, rootNode],\n )\n\n return <SystemContext value={system}>{children}</SystemContext>\n}\n\nexport const useSystem = () => {\n const system = use(SystemContext)\n\n return system\n}\n"],"mappings":";;;;;;;AAUA,MAAM,iBAAA,GAAgBA,MAAAA,cAAAA,CAA6BC,sBAAAA,aAAa;AAahE,MAAa,kBAA2C,EACtD,UACA,QACA,QAAQ,CAAC,QACL;CACJ,MAAM,EAAE,gBAAgBC,6BAAAA,eAAe;CACvC,MAAM,WAAW,YAAY;CAC7B,MAAM,UAAA,GAASC,MAAAA,QAAAA,OACPC,sBAAAA,aAAa,OAAO,QAAQ,QAAQ,GAC1C;EAAC;EAAO;EAAQ;CAAQ,CAC1B;CAEA,OAAO,iBAAA,GAAA,kBAAA,IAAA,CAAC,eAAD;EAAe,OAAO;EAAS;CAAwB,CAAA;AAChE;AAEA,MAAa,kBAAkB;CAG7B,QAAA,GAFeC,MAAAA,IAAAA,CAAI,aAEP;AACd"}
1
+ {"version":3,"file":"system-provider.cjs","names":["createContext","defaultSystem","useEnvironment","useMemo","createSystem","use"],"sources":["../../../../src/core/system/system-provider.tsx"],"sourcesContent":["\"use client\"\n\nimport type { FC, PropsWithChildren } from \"react\"\nimport type { System, ThemeConfig, UsageTheme } from \"./index.types\"\nimport { createContext, use, useMemo } from \"react\"\nimport { createSystem, defaultSystem } from \"./create-system\"\nimport { useEnvironment } from \"./environment-provider\"\n\ninterface SystemContext extends System {}\n\nconst SystemContext = createContext<SystemContext>(defaultSystem)\n\nexport interface SystemProviderProps extends PropsWithChildren {\n /**\n * The config of the yamada ui.\n */\n config?: ThemeConfig\n /**\n * The theme of the yamada ui.\n */\n theme?: UsageTheme\n}\n\nexport const SystemProvider: FC<SystemProviderProps> = ({\n children,\n config,\n theme = {},\n}) => {\n const { getRootNode } = useEnvironment()\n const rootNode = getRootNode()\n const system = useMemo(\n () => createSystem(theme, config, rootNode),\n [theme, config, rootNode],\n )\n\n return <SystemContext value={system}>{children}</SystemContext>\n}\n\nexport const useSystem = () => {\n const system = use(SystemContext)\n\n return system\n}\n"],"mappings":";;;;;;AAUA,MAAM,iBAAA,GAAgBA,MAAAA,cAAAA,CAA6BC,sBAAAA,aAAa;AAahE,MAAa,kBAA2C,EACtD,UACA,QACA,QAAQ,CAAC,QACL;CACJ,MAAM,EAAE,gBAAgBC,6BAAAA,eAAe;CACvC,MAAM,WAAW,YAAY;CAC7B,MAAM,UAAA,GAASC,MAAAA,QAAAA,OACPC,sBAAAA,aAAa,OAAO,QAAQ,QAAQ,GAC1C;EAAC;EAAO;EAAQ;CAAQ,CAC1B;CAEA,OAAO,iBAAA,GAAA,kBAAA,IAAA,CAAC,eAAD;EAAe,OAAO;EAAS;CAAwB,CAAA;AAChE;AAEA,MAAa,kBAAkB;CAG7B,QAAA,GAFeC,MAAAA,IAAAA,CAAI,aAEP;AACd"}
@@ -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_constant = require("../constant.cjs");
5
4
  const require_environment_provider = require("./environment-provider.cjs");
@@ -1 +1 @@
1
- {"version":3,"file":"theme-provider.cjs","names":["THEME_SCHEME_STORAGE_KEY","useMemo","createStorageManager","useEnvironment","useState","useCallback","EmotionThemeProvider","useSystem","css","createVarRules","Global","use","ThemeContext"],"sources":["../../../../src/core/system/theme-provider.tsx"],"sourcesContent":["\"use client\"\n\nimport type { ThemeProviderProps as EmotionThemeProviderProps } from \"@emotion/react\"\nimport type { FC, PropsWithChildren } from \"react\"\nimport type { Environment } from \"./environment-provider\"\nimport type {\n ChangeThemeScheme,\n StyledTheme,\n Theme,\n ThemeConfig,\n ThemeScheme,\n UsageTheme,\n} from \"./index.types\"\nimport type { Storage } from \"./storage-manager\"\nimport {\n ThemeProvider as EmotionThemeProvider,\n Global,\n ThemeContext,\n} from \"@emotion/react\"\nimport { use, useCallback, useEffect, useMemo, useState } from \"react\"\nimport {\n isEmptyObject,\n isObject,\n isShadowRoot,\n isUndefined,\n merge,\n} from \"../../utils\"\nimport { THEME_SCHEME_STORAGE_KEY } from \"../constant\"\nimport { css } from \"../css\"\nimport { useEnvironment } from \"./environment-provider\"\nimport { createStorageManager } from \"./storage-manager\"\nimport { useSystem } from \"./system-provider\"\nimport { createVarRules } from \"./var\"\n\nexport const getPreventTransition = (environment: Environment) => {\n const win = environment.getWindow()\n const doc = environment.getDocument()\n const root = environment.getRootElement()\n const rootNode = environment.getRootNode()\n\n if (!win || !doc || !root) return\n\n const css = doc.createElement(\"style\")\n const shadowRoot = isShadowRoot(rootNode)\n const selector = shadowRoot ? \":host, *\" : \"*\"\n const container = shadowRoot ? rootNode : doc.head\n\n const node = doc.createTextNode(\n `${selector}{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}`,\n )\n\n css.appendChild(node)\n\n container.appendChild(css)\n\n return () => {\n const forceReflow = () => win.getComputedStyle(root)\n\n forceReflow()\n\n requestAnimationFrame(() => {\n requestAnimationFrame(() => {\n container.removeChild(css)\n })\n })\n }\n}\n\nexport interface ThemeProviderProps\n extends\n PropsWithChildren,\n Omit<EmotionThemeProviderProps, \"children\" | \"theme\"> {\n /**\n * The config of the yamada ui.\n */\n config?: ThemeConfig\n /**\n * If `storage` is `cookie`, the cookie to use.\n * If not provided, the cookie will be set to `document.cookie`.\n */\n cookie?: string\n /**\n * The storage to use.\n * If you are using a server-side rendering library, you should use `cookie`.\n *\n * @default 'localStorage'\n */\n storage?: Storage\n /**\n * Key of value saved in storage.\n * By default, it is saved to `local storage`.\n */\n storageKey?: string\n /**\n * The theme of the yamada ui.\n */\n theme?: UsageTheme\n}\n\nexport const ThemeProvider: FC<ThemeProviderProps> = ({\n children,\n config,\n cookie,\n storage = cookie ? \"cookie\" : \"localStorage\",\n storageKey = THEME_SCHEME_STORAGE_KEY,\n theme = {},\n}) => {\n const { defaultThemeScheme = \"base\", disableTransitionOnChange } =\n config ?? {}\n const storageManager = useMemo(\n () => createStorageManager(storage, storageKey, defaultThemeScheme, cookie),\n [cookie, defaultThemeScheme, storage, storageKey],\n )\n const environment = useEnvironment()\n const [themeScheme, setThemeScheme] = useState<ThemeScheme>(\n storageManager.get(),\n )\n\n const changeThemeScheme: ChangeThemeScheme = useCallback(\n (themeScheme) => {\n const root = environment.getRootElement()\n\n const cleanup = disableTransitionOnChange\n ? getPreventTransition(environment)\n : undefined\n\n if (root) root.dataset.theme = themeScheme\n\n cleanup?.()\n\n setThemeScheme(themeScheme)\n\n storageManager.set(themeScheme)\n },\n [disableTransitionOnChange, environment, storageManager],\n )\n\n useEffect(() => {\n const themeScheme = storageManager.get()\n\n changeThemeScheme(themeScheme)\n }, [changeThemeScheme, storageManager])\n\n return (\n <EmotionThemeProvider theme={{ changeThemeScheme, themeScheme, ...theme }}>\n <GlobalStyles />\n\n {children}\n </EmotionThemeProvider>\n )\n}\n\nexport const GlobalStyles: FC = () => {\n const system = useSystem()\n const { theme } = useTheme<UsageTheme>()\n const { atRule, wrap } = system.layers\n\n const resetStyle = useMemo(() => {\n const style = theme.styles?.resetStyle\n\n if (!style || isEmptyObject(style)) return undefined\n\n return css(system, theme)(style)\n }, [system, theme])\n\n const globalStyle = useMemo(() => {\n const style = theme.styles?.globalStyle\n\n if (!style || isEmptyObject(style)) return undefined\n\n return css(system, theme)(style)\n }, [system, theme])\n\n const varRules = useMemo(() => {\n return createVarRules(\n system.config.css?.varRoot ?? \":host, :root\",\n system.cssVars,\n )\n }, [system])\n\n return (\n <Global\n styles={[\n atRule,\n wrap(\"tokens\", varRules),\n wrap(\"reset\", resetStyle),\n wrap(\"global\", globalStyle),\n ]}\n />\n )\n}\n\n/**\n * `useTheme` is a custom hook that returns a function for retrieving and switching themes.\n *\n * @see https://yamada-ui.com/docs/hooks/use-theme\n */\nexport const useTheme = <Y extends UsageTheme = Theme>() => {\n const internalTheme = use(ThemeContext) as StyledTheme<Y>\n\n const theme = useMemo(() => {\n const { themeScheme } = internalTheme\n\n if (isUndefined(themeScheme) || themeScheme === \"base\") return internalTheme\n\n const nestedTheme =\n \"themeSchemes\" in internalTheme && isObject(internalTheme.themeSchemes)\n ? internalTheme.themeSchemes[themeScheme as string]\n : undefined\n\n if (!nestedTheme) return internalTheme\n\n return merge<StyledTheme<Y>>(internalTheme, nestedTheme)\n }, [internalTheme])\n\n const value = useMemo(() => {\n const { changeThemeScheme, themeScheme } = internalTheme\n\n return {\n changeThemeScheme,\n internalTheme,\n theme,\n themeScheme,\n }\n }, [theme, internalTheme])\n\n return value\n}\n"],"mappings":"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"}
1
+ {"version":3,"file":"theme-provider.cjs","names":["THEME_SCHEME_STORAGE_KEY","useMemo","createStorageManager","useEnvironment","useState","useCallback","EmotionThemeProvider","useSystem","css","createVarRules","Global","use","ThemeContext"],"sources":["../../../../src/core/system/theme-provider.tsx"],"sourcesContent":["\"use client\"\n\nimport type { ThemeProviderProps as EmotionThemeProviderProps } from \"@emotion/react\"\nimport type { FC, PropsWithChildren } from \"react\"\nimport type { Environment } from \"./environment-provider\"\nimport type {\n ChangeThemeScheme,\n StyledTheme,\n Theme,\n ThemeConfig,\n ThemeScheme,\n UsageTheme,\n} from \"./index.types\"\nimport type { Storage } from \"./storage-manager\"\nimport {\n ThemeProvider as EmotionThemeProvider,\n Global,\n ThemeContext,\n} from \"@emotion/react\"\nimport { use, useCallback, useEffect, useMemo, useState } from \"react\"\nimport {\n isEmptyObject,\n isObject,\n isShadowRoot,\n isUndefined,\n merge,\n} from \"../../utils\"\nimport { THEME_SCHEME_STORAGE_KEY } from \"../constant\"\nimport { css } from \"../css\"\nimport { useEnvironment } from \"./environment-provider\"\nimport { createStorageManager } from \"./storage-manager\"\nimport { useSystem } from \"./system-provider\"\nimport { createVarRules } from \"./var\"\n\nexport const getPreventTransition = (environment: Environment) => {\n const win = environment.getWindow()\n const doc = environment.getDocument()\n const root = environment.getRootElement()\n const rootNode = environment.getRootNode()\n\n if (!win || !doc || !root) return\n\n const css = doc.createElement(\"style\")\n const shadowRoot = isShadowRoot(rootNode)\n const selector = shadowRoot ? \":host, *\" : \"*\"\n const container = shadowRoot ? rootNode : doc.head\n\n const node = doc.createTextNode(\n `${selector}{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}`,\n )\n\n css.appendChild(node)\n\n container.appendChild(css)\n\n return () => {\n const forceReflow = () => win.getComputedStyle(root)\n\n forceReflow()\n\n requestAnimationFrame(() => {\n requestAnimationFrame(() => {\n container.removeChild(css)\n })\n })\n }\n}\n\nexport interface ThemeProviderProps\n extends\n PropsWithChildren,\n Omit<EmotionThemeProviderProps, \"children\" | \"theme\"> {\n /**\n * The config of the yamada ui.\n */\n config?: ThemeConfig\n /**\n * If `storage` is `cookie`, the cookie to use.\n * If not provided, the cookie will be set to `document.cookie`.\n */\n cookie?: string\n /**\n * The storage to use.\n * If you are using a server-side rendering library, you should use `cookie`.\n *\n * @default 'localStorage'\n */\n storage?: Storage\n /**\n * Key of value saved in storage.\n * By default, it is saved to `local storage`.\n */\n storageKey?: string\n /**\n * The theme of the yamada ui.\n */\n theme?: UsageTheme\n}\n\nexport const ThemeProvider: FC<ThemeProviderProps> = ({\n children,\n config,\n cookie,\n storage = cookie ? \"cookie\" : \"localStorage\",\n storageKey = THEME_SCHEME_STORAGE_KEY,\n theme = {},\n}) => {\n const { defaultThemeScheme = \"base\", disableTransitionOnChange } =\n config ?? {}\n const storageManager = useMemo(\n () => createStorageManager(storage, storageKey, defaultThemeScheme, cookie),\n [cookie, defaultThemeScheme, storage, storageKey],\n )\n const environment = useEnvironment()\n const [themeScheme, setThemeScheme] = useState<ThemeScheme>(\n storageManager.get(),\n )\n\n const changeThemeScheme: ChangeThemeScheme = useCallback(\n (themeScheme) => {\n const root = environment.getRootElement()\n\n const cleanup = disableTransitionOnChange\n ? getPreventTransition(environment)\n : undefined\n\n if (root) root.dataset.theme = themeScheme\n\n cleanup?.()\n\n setThemeScheme(themeScheme)\n\n storageManager.set(themeScheme)\n },\n [disableTransitionOnChange, environment, storageManager],\n )\n\n useEffect(() => {\n const themeScheme = storageManager.get()\n\n changeThemeScheme(themeScheme)\n }, [changeThemeScheme, storageManager])\n\n return (\n <EmotionThemeProvider theme={{ changeThemeScheme, themeScheme, ...theme }}>\n <GlobalStyles />\n\n {children}\n </EmotionThemeProvider>\n )\n}\n\nexport const GlobalStyles: FC = () => {\n const system = useSystem()\n const { theme } = useTheme<UsageTheme>()\n const { atRule, wrap } = system.layers\n\n const resetStyle = useMemo(() => {\n const style = theme.styles?.resetStyle\n\n if (!style || isEmptyObject(style)) return undefined\n\n return css(system, theme)(style)\n }, [system, theme])\n\n const globalStyle = useMemo(() => {\n const style = theme.styles?.globalStyle\n\n if (!style || isEmptyObject(style)) return undefined\n\n return css(system, theme)(style)\n }, [system, theme])\n\n const varRules = useMemo(() => {\n return createVarRules(\n system.config.css?.varRoot ?? \":host, :root\",\n system.cssVars,\n )\n }, [system])\n\n return (\n <Global\n styles={[\n atRule,\n wrap(\"tokens\", varRules),\n wrap(\"reset\", resetStyle),\n wrap(\"global\", globalStyle),\n ]}\n />\n )\n}\n\n/**\n * `useTheme` is a custom hook that returns a function for retrieving and switching themes.\n *\n * @see https://yamada-ui.com/docs/hooks/use-theme\n */\nexport const useTheme = <Y extends UsageTheme = Theme>() => {\n const internalTheme = use(ThemeContext) as StyledTheme<Y>\n\n const theme = useMemo(() => {\n const { themeScheme } = internalTheme\n\n if (isUndefined(themeScheme) || themeScheme === \"base\") return internalTheme\n\n const nestedTheme =\n \"themeSchemes\" in internalTheme && isObject(internalTheme.themeSchemes)\n ? internalTheme.themeSchemes[themeScheme as string]\n : undefined\n\n if (!nestedTheme) return internalTheme\n\n return merge<StyledTheme<Y>>(internalTheme, nestedTheme)\n }, [internalTheme])\n\n const value = useMemo(() => {\n const { changeThemeScheme, themeScheme } = internalTheme\n\n return {\n changeThemeScheme,\n internalTheme,\n theme,\n themeScheme,\n }\n }, [theme, internalTheme])\n\n return value\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_effect = require("../../utils/effect.cjs");
4
3
  const require_ref = require("../../utils/ref.cjs");
5
4
  const require_utils_index = require("../../utils/index.cjs");
@@ -1 +1 @@
1
- {"version":3,"file":"use-system-color-mode.cjs","names":["useEnvironment","useCallbackRef","useState","useCallback"],"sources":["../../../../src/core/system/use-system-color-mode.ts"],"sourcesContent":["\"use client\"\n\nimport type { ColorMode } from \"./index.types\"\nimport { useCallback, useEffect, useState } from \"react\"\nimport { fnAll, useCallbackRef, useSafeLayoutEffect } from \"../../utils\"\nimport { useEnvironment } from \"./environment-provider\"\n\nexport interface UseSystemColorModeProps {\n defaultColorMode: ColorMode\n callback?: (colorMode: ColorMode) => void\n}\n\n/**\n * `useSystemColorMode` is a custom hook that returns the current system color mode.\n */\nexport const useSystemColorMode = ({\n callback,\n defaultColorMode,\n}: UseSystemColorModeProps) => {\n const { getWindow } = useEnvironment()\n const callbackRef = useCallbackRef(callback)\n const [systemColorMode, setSystemColorMode] =\n useState<ColorMode>(defaultColorMode)\n\n const getSystemColorMode = useCallback(\n (fallback?: ColorMode) => {\n const mql = getWindow()?.matchMedia(\"(prefers-color-scheme: dark)\")\n const dark = mql?.matches ?? fallback === \"dark\"\n\n return dark ? \"dark\" : \"light\"\n },\n [getWindow],\n )\n\n const systemColorModeObserver = useCallback(\n (func: (cm: ColorMode) => void) => {\n const mql = getWindow()?.matchMedia(\"(prefers-color-scheme: dark)\")\n\n const listener = (e: MediaQueryListEvent) => {\n func(e.matches ? \"dark\" : \"light\")\n }\n\n if (typeof mql?.addListener === \"function\") mql.addListener(listener)\n else mql?.addEventListener(\"change\", listener)\n\n return () => {\n if (typeof mql?.removeListener === \"function\")\n mql.removeListener(listener)\n else mql?.removeEventListener(\"change\", listener)\n }\n },\n [getWindow],\n )\n\n useSafeLayoutEffect(() => {\n setSystemColorMode(getSystemColorMode())\n }, [getSystemColorMode])\n\n useEffect(() => {\n return systemColorModeObserver(fnAll(setSystemColorMode, callbackRef))\n }, [systemColorModeObserver, getSystemColorMode, callbackRef])\n\n return { getSystemColorMode, systemColorMode }\n}\n"],"mappings":";;;;;;;;;;;AAeA,MAAa,sBAAsB,EACjC,UACA,uBAC6B;CAC7B,MAAM,EAAE,cAAcA,6BAAAA,eAAe;CACrC,MAAM,cAAcC,YAAAA,eAAe,QAAQ;CAC3C,MAAM,CAAC,iBAAiB,uBAAA,GACtBC,MAAAA,SAAAA,CAAoB,gBAAgB;CAEtC,MAAM,sBAAA,GAAqBC,MAAAA,YAAAA,EACxB,aAAyB;EAIxB,QAHY,UAAU,CAAC,EAAE,WAAW,8BAA8B,EAAA,EAChD,WAAW,aAAa,SAE5B,SAAS;CACzB,GACA,CAAC,SAAS,CACZ;CAEA,MAAM,2BAAA,GAA0BA,MAAAA,YAAAA,EAC7B,SAAkC;EACjC,MAAM,MAAM,UAAU,CAAC,EAAE,WAAW,8BAA8B;EAElE,MAAM,YAAY,MAA2B;GAC3C,KAAK,EAAE,UAAU,SAAS,OAAO;EACnC;EAEA,IAAI,OAAO,KAAK,gBAAgB,YAAY,IAAI,YAAY,QAAQ;OAC/D,KAAK,iBAAiB,UAAU,QAAQ;EAE7C,aAAa;GACX,IAAI,OAAO,KAAK,mBAAmB,YACjC,IAAI,eAAe,QAAQ;QACxB,KAAK,oBAAoB,UAAU,QAAQ;EAClD;CACF,GACA,CAAC,SAAS,CACZ;CAEA,eAAA,0BAA0B;EACxB,mBAAmB,mBAAmB,CAAC;CACzC,GAAG,CAAC,kBAAkB,CAAC;CAEvB,CAAA,GAAA,MAAA,UAAA,OAAgB;EACd,OAAO,yBAAA,GAAA,oBAAA,cAAwB,MAAA,CAAM,oBAAoB,WAAW,CAAC;CACvE,GAAG;EAAC;EAAyB;EAAoB;CAAW,CAAC;CAE7D,OAAO;EAAE;EAAoB;CAAgB;AAC/C"}
1
+ {"version":3,"file":"use-system-color-mode.cjs","names":["useEnvironment","useCallbackRef","useState","useCallback"],"sources":["../../../../src/core/system/use-system-color-mode.ts"],"sourcesContent":["\"use client\"\n\nimport type { ColorMode } from \"./index.types\"\nimport { useCallback, useEffect, useState } from \"react\"\nimport { fnAll, useCallbackRef, useSafeLayoutEffect } from \"../../utils\"\nimport { useEnvironment } from \"./environment-provider\"\n\nexport interface UseSystemColorModeProps {\n defaultColorMode: ColorMode\n callback?: (colorMode: ColorMode) => void\n}\n\n/**\n * `useSystemColorMode` is a custom hook that returns the current system color mode.\n */\nexport const useSystemColorMode = ({\n callback,\n defaultColorMode,\n}: UseSystemColorModeProps) => {\n const { getWindow } = useEnvironment()\n const callbackRef = useCallbackRef(callback)\n const [systemColorMode, setSystemColorMode] =\n useState<ColorMode>(defaultColorMode)\n\n const getSystemColorMode = useCallback(\n (fallback?: ColorMode) => {\n const mql = getWindow()?.matchMedia(\"(prefers-color-scheme: dark)\")\n const dark = mql?.matches ?? fallback === \"dark\"\n\n return dark ? \"dark\" : \"light\"\n },\n [getWindow],\n )\n\n const systemColorModeObserver = useCallback(\n (func: (cm: ColorMode) => void) => {\n const mql = getWindow()?.matchMedia(\"(prefers-color-scheme: dark)\")\n\n const listener = (e: MediaQueryListEvent) => {\n func(e.matches ? \"dark\" : \"light\")\n }\n\n if (typeof mql?.addListener === \"function\") mql.addListener(listener)\n else mql?.addEventListener(\"change\", listener)\n\n return () => {\n if (typeof mql?.removeListener === \"function\")\n mql.removeListener(listener)\n else mql?.removeEventListener(\"change\", listener)\n }\n },\n [getWindow],\n )\n\n useSafeLayoutEffect(() => {\n setSystemColorMode(getSystemColorMode())\n }, [getSystemColorMode])\n\n useEffect(() => {\n return systemColorModeObserver(fnAll(setSystemColorMode, callbackRef))\n }, [systemColorModeObserver, getSystemColorMode, callbackRef])\n\n return { getSystemColorMode, systemColorMode }\n}\n"],"mappings":";;;;;;;;;;AAeA,MAAa,sBAAsB,EACjC,UACA,uBAC6B;CAC7B,MAAM,EAAE,cAAcA,6BAAAA,eAAe;CACrC,MAAM,cAAcC,YAAAA,eAAe,QAAQ;CAC3C,MAAM,CAAC,iBAAiB,uBAAA,GACtBC,MAAAA,SAAAA,CAAoB,gBAAgB;CAEtC,MAAM,sBAAA,GAAqBC,MAAAA,YAAAA,EACxB,aAAyB;EAIxB,QAHY,UAAU,CAAC,EAAE,WAAW,8BAA8B,EAAA,EAChD,WAAW,aAAa,SAE5B,SAAS;CACzB,GACA,CAAC,SAAS,CACZ;CAEA,MAAM,2BAAA,GAA0BA,MAAAA,YAAAA,EAC7B,SAAkC;EACjC,MAAM,MAAM,UAAU,CAAC,EAAE,WAAW,8BAA8B;EAElE,MAAM,YAAY,MAA2B;GAC3C,KAAK,EAAE,UAAU,SAAS,OAAO;EACnC;EAEA,IAAI,OAAO,KAAK,gBAAgB,YAAY,IAAI,YAAY,QAAQ;OAC/D,KAAK,iBAAiB,UAAU,QAAQ;EAE7C,aAAa;GACX,IAAI,OAAO,KAAK,mBAAmB,YACjC,IAAI,eAAe,QAAQ;QACxB,KAAK,oBAAoB,UAAU,QAAQ;EAClD;CACF,GACA,CAAC,SAAS,CACZ;CAEA,eAAA,0BAA0B;EACxB,mBAAmB,mBAAmB,CAAC;CACzC,GAAG,CAAC,kBAAkB,CAAC;CAEvB,CAAA,GAAA,MAAA,UAAA,OAAgB;EACd,OAAO,yBAAA,GAAA,oBAAA,cAAwB,MAAA,CAAM,oBAAoB,WAAW,CAAC;CACvE,GAAG;EAAC;EAAyB;EAAoB;CAAW,CAAC;CAE7D,OAAO;EAAE;EAAoB;CAAgB;AAC/C"}
@@ -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_system_provider = require("../../core/system/system-provider.cjs");
6
5
  const require_animation = require("../../core/css/animation.cjs");
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","names":["useSystem","animation","useRef","useState","useCallback"],"sources":["../../../../src/hooks/use-animation/index.ts"],"sourcesContent":["\"use client\"\n\nimport type { CSSAnimationObject, Token } from \"../../core\"\nimport { useCallback, useRef, useState } from \"react\"\nimport { animation, css, useSystem } from \"../../core\"\nimport { isArray, isUndefined, runIfFn } from \"../../utils\"\n\ntype CSSObject =\n | Token<CSSAnimationObject, \"animations\">\n | Token<CSSAnimationObject, \"animations\">[]\n\n/**\n * `useAnimation` is a custom hook that implements animations similar to CSS `keyframes`.\n *\n * @see https://yamada-ui.com/docs/hooks/use-animation\n */\nexport const useAnimation = (cssObj: CSSObject): string => {\n const system = useSystem()\n\n if (isArray(cssObj))\n return cssObj.map((cssObj) => animation(cssObj, { css, system })).join(\", \")\n else return animation(cssObj, { css, system })\n}\n\n/**\n * `useDynamicAnimation` is a custom hook used to switch animations.\n *\n * @see https://yamada-ui.com/docs/hooks/use-dynamic-animation\n */\nexport const useDynamicAnimation = <\n Y extends\n | Token<CSSAnimationObject, \"animations\">[]\n | { [key: string]: CSSObject },\n>(\n arrayOrObj: Y,\n init?: (keyof Y)[] | keyof Y,\n): [\n string | undefined,\n (\n key:\n | ((key: (keyof Y)[] | keyof Y | undefined) => (keyof Y)[] | keyof Y)\n | (keyof Y)[]\n | keyof Y,\n ) => void,\n] => {\n const system = useSystem()\n\n const keys = useRef<string | string[] | undefined>(\n !isUndefined(init)\n ? isArray(init)\n ? init.map(String)\n : String(init)\n : undefined,\n )\n const cache = useRef<Map<string, string>>(new Map<string, string>())\n\n const [animations, setAnimations] = useState<string | undefined>(() => {\n for (const [key, styles] of Object.entries(arrayOrObj))\n if (isArray(styles))\n cache.current.set(\n key,\n styles.map((style) => animation(style, { css, system })).join(\", \"),\n )\n else cache.current.set(key, animation(styles, { css, system }))\n\n if (isArray(keys.current))\n return keys.current.map((key) => cache.current.get(key)).join(\", \")\n else return cache.current.get(keys.current ?? \"\")\n })\n\n const setAnimation = useCallback(\n (\n keysOrFunc:\n | ((key: (keyof Y)[] | keyof Y | undefined) => (keyof Y)[] | keyof Y)\n | (keyof Y)[]\n | keyof Y,\n ) => {\n const args = (() => {\n if (!isUndefined(keys.current) && isArray(arrayOrObj))\n return isArray(keys.current)\n ? keys.current.map(Number)\n : Number(keys.current)\n else return keys.current\n })() as (keyof Y)[] | keyof Y | undefined\n\n const keyOrArray = runIfFn(keysOrFunc, args)\n\n keys.current = isArray(keyOrArray)\n ? keyOrArray.map(String)\n : String(keyOrArray)\n\n if (isArray(keys.current))\n setAnimations(\n keys.current.map((key) => cache.current.get(key)).join(\", \"),\n )\n else setAnimations(cache.current.get(keys.current))\n },\n [arrayOrObj],\n )\n\n return [animations, setAnimation]\n}\n"],"mappings":";;;;;;;;;;;;;;AAgBA,MAAa,gBAAgB,WAA8B;CACzD,MAAM,SAASA,wBAAAA,UAAU;CAEzB,KAAA,GAAA,oBAAA,cAAI,QAAA,CAAQ,MAAM,GAChB,OAAO,OAAO,KAAK,WAAWC,kBAAAA,UAAU,QAAQ;EAAE,KAAA,YAAA;EAAK;CAAO,CAAC,CAAC,CAAC,CAAC,KAAK,IAAI;MACxE,OAAOA,kBAAAA,UAAU,QAAQ;EAAE,KAAA,YAAA;EAAK;CAAO,CAAC;AAC/C;;;;;;AAOA,MAAa,uBAKX,YACA,SASG;CACH,MAAM,SAASD,wBAAAA,UAAU;CAEzB,MAAM,QAAA,GAAOE,MAAAA,OAAAA,CACX,EAAA,GAAA,oBAAA,cAAC,YAAA,CAAY,IAAI,KAAA,GAAA,oBAAA,cACb,QAAA,CAAQ,IAAI,IACV,KAAK,IAAI,MAAM,IACf,OAAO,IAAI,IACb,KAAA,CACN;CACA,MAAM,SAAA,GAAQA,MAAAA,OAAAA,iBAA4B,IAAI,IAAoB,CAAC;CAEnE,MAAM,CAAC,YAAY,kBAAA,GAAiBC,MAAAA,SAAAA,OAAmC;EACrE,KAAK,MAAM,CAAC,KAAK,WAAW,OAAO,QAAQ,UAAU,GACnD,KAAA,GAAA,oBAAA,cAAI,QAAA,CAAQ,MAAM,GAChB,MAAM,QAAQ,IACZ,KACA,OAAO,KAAK,UAAUF,kBAAAA,UAAU,OAAO;GAAE,KAAA,YAAA;GAAK;EAAO,CAAC,CAAC,CAAC,CAAC,KAAK,IAAI,CACpE;OACG,MAAM,QAAQ,IAAI,KAAKA,kBAAAA,UAAU,QAAQ;GAAE,KAAA,YAAA;GAAK;EAAO,CAAC,CAAC;EAEhE,KAAA,GAAA,oBAAA,cAAI,QAAA,CAAQ,KAAK,OAAO,GACtB,OAAO,KAAK,QAAQ,KAAK,QAAQ,MAAM,QAAQ,IAAI,GAAG,CAAC,CAAC,CAAC,KAAK,IAAI;OAC/D,OAAO,MAAM,QAAQ,IAAI,KAAK,WAAW,EAAE;CAClD,CAAC;CAgCD,OAAO,CAAC,aAAA,GA9BaG,MAAAA,YAAAA,EAEjB,eAIG;EACH,MAAM,cAAc;GAClB,IAAI,EAAA,GAAA,oBAAA,cAAC,YAAA,CAAY,KAAK,OAAO,MAAA,GAAA,oBAAA,cAAK,QAAA,CAAQ,UAAU,GAClD,QAAA,GAAA,oBAAA,cAAO,QAAA,CAAQ,KAAK,OAAO,IACvB,KAAK,QAAQ,IAAI,MAAM,IACvB,OAAO,KAAK,OAAO;QACpB,OAAO,KAAK;EACnB,EAAA,CAAG;EAEH,MAAM,cAAA,GAAA,oBAAA,cAAa,QAAA,CAAQ,YAAY,IAAI;EAE3C,KAAK,WAAA,GAAA,oBAAA,cAAU,QAAA,CAAQ,UAAU,IAC7B,WAAW,IAAI,MAAM,IACrB,OAAO,UAAU;EAErB,KAAA,GAAA,oBAAA,cAAI,QAAA,CAAQ,KAAK,OAAO,GACtB,cACE,KAAK,QAAQ,KAAK,QAAQ,MAAM,QAAQ,IAAI,GAAG,CAAC,CAAC,CAAC,KAAK,IAAI,CAC7D;OACG,cAAc,MAAM,QAAQ,IAAI,KAAK,OAAO,CAAC;CACpD,GACA,CAAC,UAAU,CAGkB,CAAC;AAClC"}
1
+ {"version":3,"file":"index.cjs","names":["useSystem","animation","useRef","useState","useCallback"],"sources":["../../../../src/hooks/use-animation/index.ts"],"sourcesContent":["\"use client\"\n\nimport type { CSSAnimationObject, Token } from \"../../core\"\nimport { useCallback, useRef, useState } from \"react\"\nimport { animation, css, useSystem } from \"../../core\"\nimport { isArray, isUndefined, runIfFn } from \"../../utils\"\n\ntype CSSObject =\n | Token<CSSAnimationObject, \"animations\">\n | Token<CSSAnimationObject, \"animations\">[]\n\n/**\n * `useAnimation` is a custom hook that implements animations similar to CSS `keyframes`.\n *\n * @see https://yamada-ui.com/docs/hooks/use-animation\n */\nexport const useAnimation = (cssObj: CSSObject): string => {\n const system = useSystem()\n\n if (isArray(cssObj))\n return cssObj.map((cssObj) => animation(cssObj, { css, system })).join(\", \")\n else return animation(cssObj, { css, system })\n}\n\n/**\n * `useDynamicAnimation` is a custom hook used to switch animations.\n *\n * @see https://yamada-ui.com/docs/hooks/use-dynamic-animation\n */\nexport const useDynamicAnimation = <\n Y extends\n | Token<CSSAnimationObject, \"animations\">[]\n | { [key: string]: CSSObject },\n>(\n arrayOrObj: Y,\n init?: (keyof Y)[] | keyof Y,\n): [\n string | undefined,\n (\n key:\n | ((key: (keyof Y)[] | keyof Y | undefined) => (keyof Y)[] | keyof Y)\n | (keyof Y)[]\n | keyof Y,\n ) => void,\n] => {\n const system = useSystem()\n\n const keys = useRef<string | string[] | undefined>(\n !isUndefined(init)\n ? isArray(init)\n ? init.map(String)\n : String(init)\n : undefined,\n )\n const cache = useRef<Map<string, string>>(new Map<string, string>())\n\n const [animations, setAnimations] = useState<string | undefined>(() => {\n for (const [key, styles] of Object.entries(arrayOrObj))\n if (isArray(styles))\n cache.current.set(\n key,\n styles.map((style) => animation(style, { css, system })).join(\", \"),\n )\n else cache.current.set(key, animation(styles, { css, system }))\n\n if (isArray(keys.current))\n return keys.current.map((key) => cache.current.get(key)).join(\", \")\n else return cache.current.get(keys.current ?? \"\")\n })\n\n const setAnimation = useCallback(\n (\n keysOrFunc:\n | ((key: (keyof Y)[] | keyof Y | undefined) => (keyof Y)[] | keyof Y)\n | (keyof Y)[]\n | keyof Y,\n ) => {\n const args = (() => {\n if (!isUndefined(keys.current) && isArray(arrayOrObj))\n return isArray(keys.current)\n ? keys.current.map(Number)\n : Number(keys.current)\n else return keys.current\n })() as (keyof Y)[] | keyof Y | undefined\n\n const keyOrArray = runIfFn(keysOrFunc, args)\n\n keys.current = isArray(keyOrArray)\n ? keyOrArray.map(String)\n : String(keyOrArray)\n\n if (isArray(keys.current))\n setAnimations(\n keys.current.map((key) => cache.current.get(key)).join(\", \"),\n )\n else setAnimations(cache.current.get(keys.current))\n },\n [arrayOrObj],\n )\n\n return [animations, setAnimation]\n}\n"],"mappings":";;;;;;;;;;;;;AAgBA,MAAa,gBAAgB,WAA8B;CACzD,MAAM,SAASA,wBAAAA,UAAU;CAEzB,KAAA,GAAA,oBAAA,cAAI,QAAA,CAAQ,MAAM,GAChB,OAAO,OAAO,KAAK,WAAWC,kBAAAA,UAAU,QAAQ;EAAE,KAAA,YAAA;EAAK;CAAO,CAAC,CAAC,CAAC,CAAC,KAAK,IAAI;MACxE,OAAOA,kBAAAA,UAAU,QAAQ;EAAE,KAAA,YAAA;EAAK;CAAO,CAAC;AAC/C;;;;;;AAOA,MAAa,uBAKX,YACA,SASG;CACH,MAAM,SAASD,wBAAAA,UAAU;CAEzB,MAAM,QAAA,GAAOE,MAAAA,OAAAA,CACX,EAAA,GAAA,oBAAA,cAAC,YAAA,CAAY,IAAI,KAAA,GAAA,oBAAA,cACb,QAAA,CAAQ,IAAI,IACV,KAAK,IAAI,MAAM,IACf,OAAO,IAAI,IACb,KAAA,CACN;CACA,MAAM,SAAA,GAAQA,MAAAA,OAAAA,iBAA4B,IAAI,IAAoB,CAAC;CAEnE,MAAM,CAAC,YAAY,kBAAA,GAAiBC,MAAAA,SAAAA,OAAmC;EACrE,KAAK,MAAM,CAAC,KAAK,WAAW,OAAO,QAAQ,UAAU,GACnD,KAAA,GAAA,oBAAA,cAAI,QAAA,CAAQ,MAAM,GAChB,MAAM,QAAQ,IACZ,KACA,OAAO,KAAK,UAAUF,kBAAAA,UAAU,OAAO;GAAE,KAAA,YAAA;GAAK;EAAO,CAAC,CAAC,CAAC,CAAC,KAAK,IAAI,CACpE;OACG,MAAM,QAAQ,IAAI,KAAKA,kBAAAA,UAAU,QAAQ;GAAE,KAAA,YAAA;GAAK;EAAO,CAAC,CAAC;EAEhE,KAAA,GAAA,oBAAA,cAAI,QAAA,CAAQ,KAAK,OAAO,GACtB,OAAO,KAAK,QAAQ,KAAK,QAAQ,MAAM,QAAQ,IAAI,GAAG,CAAC,CAAC,CAAC,KAAK,IAAI;OAC/D,OAAO,MAAM,QAAQ,IAAI,KAAK,WAAW,EAAE;CAClD,CAAC;CAgCD,OAAO,CAAC,aAAA,GA9BaG,MAAAA,YAAAA,EAEjB,eAIG;EACH,MAAM,cAAc;GAClB,IAAI,EAAA,GAAA,oBAAA,cAAC,YAAA,CAAY,KAAK,OAAO,MAAA,GAAA,oBAAA,cAAK,QAAA,CAAQ,UAAU,GAClD,QAAA,GAAA,oBAAA,cAAO,QAAA,CAAQ,KAAK,OAAO,IACvB,KAAK,QAAQ,IAAI,MAAM,IACvB,OAAO,KAAK,OAAO;QACpB,OAAO,KAAK;EACnB,EAAA,CAAG;EAEH,MAAM,cAAA,GAAA,oBAAA,cAAa,QAAA,CAAQ,YAAY,IAAI;EAE3C,KAAK,WAAA,GAAA,oBAAA,cAAU,QAAA,CAAQ,UAAU,IAC7B,WAAW,IAAI,MAAM,IACrB,OAAO,UAAU;EAErB,KAAA,GAAA,oBAAA,cAAI,QAAA,CAAQ,KAAK,OAAO,GACtB,cACE,KAAK,QAAQ,KAAK,QAAQ,MAAM,QAAQ,IAAI,GAAG,CAAC,CAAC,CAAC,KAAK,IAAI,CAC7D;OACG,cAAc,MAAM,QAAQ,IAAI,KAAK,OAAO,CAAC;CACpD,GACA,CAAC,UAAU,CAGkB,CAAC;AAClC"}
@@ -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_hooks_use_mounted_index = require("../use-mounted/index.cjs");
5
4
  let react = require("react");
6
5
  //#region src/hooks/use-async/index.ts
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","names":["useRef","useMounted","useState","useCallback"],"sources":["../../../../src/hooks/use-async/index.ts"],"sourcesContent":["\"use client\"\n\nimport type { DependencyList } from \"react\"\nimport { useCallback, useEffect, useRef, useState } from \"react\"\nimport { useMounted } from \"../use-mounted\"\n\nexport type FunctionReturningPromise = (...args: any[]) => Promise<any>\n\n/**\n * `useAsync` is a custom hook that executes an asynchronous function and tracks its state.\n *\n * @see https://yamada-ui.com/docs/hooks/use-async\n */\nexport function useAsync<Y extends FunctionReturningPromise>(\n func: Y,\n deps: DependencyList = [],\n) {\n const [state, callback] = useAsyncFunc(func, deps, { loading: true })\n\n useEffect(() => {\n callback()\n }, [callback])\n\n return state\n}\n\nexport type AsyncState<Y> =\n | {\n error: Error\n loading: false\n value?: undefined\n }\n | {\n loading: boolean\n error?: undefined\n value?: undefined\n }\n | {\n loading: false\n value: Y\n error?: undefined\n }\n | {\n loading: true\n error?: Error | undefined\n value?: Y\n }\n\nexport type PromiseType<P extends Promise<any>> =\n P extends Promise<infer Y> ? Y : never\n\ntype StateFromFunctionReturningPromise<Y extends FunctionReturningPromise> =\n AsyncState<PromiseType<ReturnType<Y>>>\n\nexport type AsyncFnReturn<\n Y extends FunctionReturningPromise = FunctionReturningPromise,\n> = [StateFromFunctionReturningPromise<Y>, Y]\n\nexport function useAsyncFunc<Y extends FunctionReturningPromise>(\n func: Y,\n deps: DependencyList = [],\n initialState: StateFromFunctionReturningPromise<Y> = { loading: false },\n): AsyncFnReturn<Y> {\n const lastCallId = useRef(0)\n const mounted = useMounted()\n const [state, setState] =\n useState<StateFromFunctionReturningPromise<Y>>(initialState)\n\n const callback = useCallback(\n (...args: Parameters<Y>): ReturnType<Y> => {\n const callId = ++lastCallId.current\n\n if (!state.loading)\n setState((prevState) => ({ ...prevState, loading: true }))\n\n return func(...args).then(\n (value) => {\n if (mounted() && callId === lastCallId.current)\n setState({ loading: false, value })\n\n return value\n },\n (error) => {\n if (mounted() && callId === lastCallId.current)\n setState({ error, loading: false })\n\n return error\n },\n ) as ReturnType<Y>\n },\n // eslint-disable-next-line react-hooks/exhaustive-deps\n deps,\n )\n\n return [state, callback as unknown as Y]\n}\n\nexport type AsyncStateRetry<Y> = AsyncState<Y> & {\n retry(): void\n}\n\nexport function useAsyncRetry<Y>(\n func: () => Promise<Y>,\n deps: DependencyList = [],\n) {\n const [attempt, setAttempt] = useState<number>(0)\n const state = useAsync(func, [...deps, attempt])\n\n const stateLoading = state.loading\n\n const retry = useCallback(() => {\n if (stateLoading) return\n\n setAttempt((currentAttempt) => currentAttempt + 1)\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [...deps, stateLoading])\n\n return { ...state, retry }\n}\n"],"mappings":";;;;;;;;;;;AAaA,SAAgB,SACd,MACA,OAAuB,CAAC,GACxB;CACA,MAAM,CAAC,OAAO,YAAY,aAAa,MAAM,MAAM,EAAE,SAAS,KAAK,CAAC;CAEpE,CAAA,GAAA,MAAA,UAAA,OAAgB;EACd,SAAS;CACX,GAAG,CAAC,QAAQ,CAAC;CAEb,OAAO;AACT;AAkCA,SAAgB,aACd,MACA,OAAuB,CAAC,GACxB,eAAqD,EAAE,SAAS,MAAM,GACpD;CAClB,MAAM,cAAA,GAAaA,MAAAA,OAAAA,CAAO,CAAC;CAC3B,MAAM,UAAUC,gCAAAA,WAAW;CAC3B,MAAM,CAAC,OAAO,aAAA,GACZC,MAAAA,SAAAA,CAA+C,YAAY;CA4B7D,OAAO,CAAC,QAAA,GA1BSC,MAAAA,YAAAA,EACd,GAAG,SAAuC;EACzC,MAAM,SAAS,EAAE,WAAW;EAE5B,IAAI,CAAC,MAAM,SACT,UAAU,eAAe;GAAE,GAAG;GAAW,SAAS;EAAK,EAAE;EAE3D,OAAO,KAAK,GAAG,IAAI,CAAC,CAAC,MAClB,UAAU;GACT,IAAI,QAAQ,KAAK,WAAW,WAAW,SACrC,SAAS;IAAE,SAAS;IAAO;GAAM,CAAC;GAEpC,OAAO;EACT,IACC,UAAU;GACT,IAAI,QAAQ,KAAK,WAAW,WAAW,SACrC,SAAS;IAAE;IAAO,SAAS;GAAM,CAAC;GAEpC,OAAO;EACT,CACF;CACF,GAEA,IAGoB,CAAiB;AACzC;AAMA,SAAgB,cACd,MACA,OAAuB,CAAC,GACxB;CACA,MAAM,CAAC,SAAS,eAAA,GAAcD,MAAAA,SAAAA,CAAiB,CAAC;CAChD,MAAM,QAAQ,SAAS,MAAM,CAAC,GAAG,MAAM,OAAO,CAAC;CAE/C,MAAM,eAAe,MAAM;CAE3B,MAAM,SAAA,GAAQC,MAAAA,YAAAA,OAAkB;EAC9B,IAAI,cAAc;EAElB,YAAY,mBAAmB,iBAAiB,CAAC;CAEnD,GAAG,CAAC,GAAG,MAAM,YAAY,CAAC;CAE1B,OAAO;EAAE,GAAG;EAAO;CAAM;AAC3B"}
1
+ {"version":3,"file":"index.cjs","names":["useRef","useMounted","useState","useCallback"],"sources":["../../../../src/hooks/use-async/index.ts"],"sourcesContent":["\"use client\"\n\nimport type { DependencyList } from \"react\"\nimport { useCallback, useEffect, useRef, useState } from \"react\"\nimport { useMounted } from \"../use-mounted\"\n\nexport type FunctionReturningPromise = (...args: any[]) => Promise<any>\n\n/**\n * `useAsync` is a custom hook that executes an asynchronous function and tracks its state.\n *\n * @see https://yamada-ui.com/docs/hooks/use-async\n */\nexport function useAsync<Y extends FunctionReturningPromise>(\n func: Y,\n deps: DependencyList = [],\n) {\n const [state, callback] = useAsyncFunc(func, deps, { loading: true })\n\n useEffect(() => {\n callback()\n }, [callback])\n\n return state\n}\n\nexport type AsyncState<Y> =\n | {\n error: Error\n loading: false\n value?: undefined\n }\n | {\n loading: boolean\n error?: undefined\n value?: undefined\n }\n | {\n loading: false\n value: Y\n error?: undefined\n }\n | {\n loading: true\n error?: Error | undefined\n value?: Y\n }\n\nexport type PromiseType<P extends Promise<any>> =\n P extends Promise<infer Y> ? Y : never\n\ntype StateFromFunctionReturningPromise<Y extends FunctionReturningPromise> =\n AsyncState<PromiseType<ReturnType<Y>>>\n\nexport type AsyncFnReturn<\n Y extends FunctionReturningPromise = FunctionReturningPromise,\n> = [StateFromFunctionReturningPromise<Y>, Y]\n\nexport function useAsyncFunc<Y extends FunctionReturningPromise>(\n func: Y,\n deps: DependencyList = [],\n initialState: StateFromFunctionReturningPromise<Y> = { loading: false },\n): AsyncFnReturn<Y> {\n const lastCallId = useRef(0)\n const mounted = useMounted()\n const [state, setState] =\n useState<StateFromFunctionReturningPromise<Y>>(initialState)\n\n const callback = useCallback(\n (...args: Parameters<Y>): ReturnType<Y> => {\n const callId = ++lastCallId.current\n\n if (!state.loading)\n setState((prevState) => ({ ...prevState, loading: true }))\n\n return func(...args).then(\n (value) => {\n if (mounted() && callId === lastCallId.current)\n setState({ loading: false, value })\n\n return value\n },\n (error) => {\n if (mounted() && callId === lastCallId.current)\n setState({ error, loading: false })\n\n return error\n },\n ) as ReturnType<Y>\n },\n // eslint-disable-next-line react-hooks/exhaustive-deps\n deps,\n )\n\n return [state, callback as unknown as Y]\n}\n\nexport type AsyncStateRetry<Y> = AsyncState<Y> & {\n retry(): void\n}\n\nexport function useAsyncRetry<Y>(\n func: () => Promise<Y>,\n deps: DependencyList = [],\n) {\n const [attempt, setAttempt] = useState<number>(0)\n const state = useAsync(func, [...deps, attempt])\n\n const stateLoading = state.loading\n\n const retry = useCallback(() => {\n if (stateLoading) return\n\n setAttempt((currentAttempt) => currentAttempt + 1)\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [...deps, stateLoading])\n\n return { ...state, retry }\n}\n"],"mappings":";;;;;;;;;;AAaA,SAAgB,SACd,MACA,OAAuB,CAAC,GACxB;CACA,MAAM,CAAC,OAAO,YAAY,aAAa,MAAM,MAAM,EAAE,SAAS,KAAK,CAAC;CAEpE,CAAA,GAAA,MAAA,UAAA,OAAgB;EACd,SAAS;CACX,GAAG,CAAC,QAAQ,CAAC;CAEb,OAAO;AACT;AAkCA,SAAgB,aACd,MACA,OAAuB,CAAC,GACxB,eAAqD,EAAE,SAAS,MAAM,GACpD;CAClB,MAAM,cAAA,GAAaA,MAAAA,OAAAA,CAAO,CAAC;CAC3B,MAAM,UAAUC,gCAAAA,WAAW;CAC3B,MAAM,CAAC,OAAO,aAAA,GACZC,MAAAA,SAAAA,CAA+C,YAAY;CA4B7D,OAAO,CAAC,QAAA,GA1BSC,MAAAA,YAAAA,EACd,GAAG,SAAuC;EACzC,MAAM,SAAS,EAAE,WAAW;EAE5B,IAAI,CAAC,MAAM,SACT,UAAU,eAAe;GAAE,GAAG;GAAW,SAAS;EAAK,EAAE;EAE3D,OAAO,KAAK,GAAG,IAAI,CAAC,CAAC,MAClB,UAAU;GACT,IAAI,QAAQ,KAAK,WAAW,WAAW,SACrC,SAAS;IAAE,SAAS;IAAO;GAAM,CAAC;GAEpC,OAAO;EACT,IACC,UAAU;GACT,IAAI,QAAQ,KAAK,WAAW,WAAW,SACrC,SAAS;IAAE;IAAO,SAAS;GAAM,CAAC;GAEpC,OAAO;EACT,CACF;CACF,GAEA,IAGoB,CAAiB;AACzC;AAMA,SAAgB,cACd,MACA,OAAuB,CAAC,GACxB;CACA,MAAM,CAAC,SAAS,eAAA,GAAcD,MAAAA,SAAAA,CAAiB,CAAC;CAChD,MAAM,QAAQ,SAAS,MAAM,CAAC,GAAG,MAAM,OAAO,CAAC;CAE/C,MAAM,eAAe,MAAM;CAE3B,MAAM,SAAA,GAAQC,MAAAA,YAAAA,OAAkB;EAC9B,IAAI,cAAc;EAElB,YAAY,mBAAmB,iBAAiB,CAAC;CAEnD,GAAG,CAAC,GAAG,MAAM,YAAY,CAAC;CAE1B,OAAO;EAAE,GAAG;EAAO;CAAM;AAC3B"}
@@ -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_loading_provider = require("../../components/loading/loading-provider.cjs");
5
4
  const require_hooks_use_processing_index = require("../use-processing/index.cjs");
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","names":["useLoading","useProcessing","useCallbackRef","useCallback","useMemo"],"sources":["../../../../src/hooks/use-async-callback/index.ts"],"sourcesContent":["import type { DependencyList } from \"react\"\nimport type { Loading } from \"../../components/loading\"\nimport { useCallback, useMemo } from \"react\"\nimport { useLoading } from \"../../components/loading\"\nimport { useCallbackRef } from \"../../utils/ref\"\nimport { useProcessing } from \"../use-processing\"\n\ntype Callback = (...args: any[]) => any\n\nexport interface UseAsyncCallbackOptions {\n /**\n * The method to use for loading.\n * If `false`, the loading will not be shown.\n */\n loading?: false | Loading.Method\n /**\n * The options to pass to the loading component.\n */\n loadingOptions?: Loading.Options\n /**\n * If `false`, the processing will not change.\n *\n * @default true\n */\n processing?: boolean\n}\n\n/**\n * `useAsyncCallback` is a custom hook used to manage async callbacks.\n *\n * @see https://yamada-ui.com/docs/hooks/use-async-callback\n */\nexport const useAsyncCallback = <Y extends Callback>(\n callback: Y,\n deps: DependencyList,\n {\n loading: method = false,\n loadingOptions,\n processing: shouldProcessing = true,\n }: UseAsyncCallbackOptions = {},\n): UseAsyncCallbackReturn<Y> => {\n const context = useLoading()\n const { finish, loading, start } = useProcessing()\n const shouldLoading = !!method\n const callbackRef = useCallbackRef(callback, deps)\n\n const asyncCallback = useCallback(\n async (...args: Parameters<Y>) => {\n try {\n if (shouldProcessing) start()\n if (shouldLoading) context[method].start(loadingOptions)\n\n return await callbackRef(...args)\n } finally {\n if (shouldProcessing) finish()\n if (shouldLoading) context[method].finish()\n }\n },\n [\n callbackRef,\n shouldProcessing,\n shouldLoading,\n context,\n method,\n loadingOptions,\n start,\n finish,\n ],\n )\n\n const control = useMemo(() => ({ finish, start }), [finish, start])\n\n return [loading, asyncCallback, control]\n}\n\nexport type UseAsyncCallbackReturn<Y extends Callback> = [\n loading: boolean,\n callback: (...args: Parameters<Y>) => Promise<Awaited<ReturnType<Y>>>,\n control: { finish: () => void; start: () => void },\n]\n"],"mappings":";;;;;;;;;;;;AAgCA,MAAa,oBACX,UACA,MACA,EACE,SAAS,SAAS,OAClB,gBACA,YAAY,mBAAmB,SACJ,CAAC,MACA;CAC9B,MAAM,UAAUA,yBAAAA,WAAW;CAC3B,MAAM,EAAE,QAAQ,SAAS,UAAUC,mCAAAA,cAAc;CACjD,MAAM,gBAAgB,CAAC,CAAC;CACxB,MAAM,cAAcC,YAAAA,eAAe,UAAU,IAAI;CA4BjD,OAAO;EAAC;GA1BcC,GAAAA,MAAAA,YAAAA,CACpB,OAAO,GAAG,SAAwB;GAChC,IAAI;IACF,IAAI,kBAAkB,MAAM;IAC5B,IAAI,eAAe,QAAQ,OAAO,CAAC,MAAM,cAAc;IAEvD,OAAO,MAAM,YAAY,GAAG,IAAI;GAClC,UAAU;IACR,IAAI,kBAAkB,OAAO;IAC7B,IAAI,eAAe,QAAQ,OAAO,CAAC,OAAO;GAC5C;EACF,GACA;GACE;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACF,CAK2B;GAFbC,GAAAA,MAAAA,QAAAA,QAAe;GAAE;GAAQ;EAAM,IAAI,CAAC,QAAQ,KAAK,CAE3B;CAAC;AACzC"}
1
+ {"version":3,"file":"index.cjs","names":["useLoading","useProcessing","useCallbackRef","useCallback","useMemo"],"sources":["../../../../src/hooks/use-async-callback/index.ts"],"sourcesContent":["import type { DependencyList } from \"react\"\nimport type { Loading } from \"../../components/loading\"\nimport { useCallback, useMemo } from \"react\"\nimport { useLoading } from \"../../components/loading\"\nimport { useCallbackRef } from \"../../utils/ref\"\nimport { useProcessing } from \"../use-processing\"\n\ntype Callback = (...args: any[]) => any\n\nexport interface UseAsyncCallbackOptions {\n /**\n * The method to use for loading.\n * If `false`, the loading will not be shown.\n */\n loading?: false | Loading.Method\n /**\n * The options to pass to the loading component.\n */\n loadingOptions?: Loading.Options\n /**\n * If `false`, the processing will not change.\n *\n * @default true\n */\n processing?: boolean\n}\n\n/**\n * `useAsyncCallback` is a custom hook used to manage async callbacks.\n *\n * @see https://yamada-ui.com/docs/hooks/use-async-callback\n */\nexport const useAsyncCallback = <Y extends Callback>(\n callback: Y,\n deps: DependencyList,\n {\n loading: method = false,\n loadingOptions,\n processing: shouldProcessing = true,\n }: UseAsyncCallbackOptions = {},\n): UseAsyncCallbackReturn<Y> => {\n const context = useLoading()\n const { finish, loading, start } = useProcessing()\n const shouldLoading = !!method\n const callbackRef = useCallbackRef(callback, deps)\n\n const asyncCallback = useCallback(\n async (...args: Parameters<Y>) => {\n try {\n if (shouldProcessing) start()\n if (shouldLoading) context[method].start(loadingOptions)\n\n return await callbackRef(...args)\n } finally {\n if (shouldProcessing) finish()\n if (shouldLoading) context[method].finish()\n }\n },\n [\n callbackRef,\n shouldProcessing,\n shouldLoading,\n context,\n method,\n loadingOptions,\n start,\n finish,\n ],\n )\n\n const control = useMemo(() => ({ finish, start }), [finish, start])\n\n return [loading, asyncCallback, control]\n}\n\nexport type UseAsyncCallbackReturn<Y extends Callback> = [\n loading: boolean,\n callback: (...args: Parameters<Y>) => Promise<Awaited<ReturnType<Y>>>,\n control: { finish: () => void; start: () => void },\n]\n"],"mappings":";;;;;;;;;;;AAgCA,MAAa,oBACX,UACA,MACA,EACE,SAAS,SAAS,OAClB,gBACA,YAAY,mBAAmB,SACJ,CAAC,MACA;CAC9B,MAAM,UAAUA,yBAAAA,WAAW;CAC3B,MAAM,EAAE,QAAQ,SAAS,UAAUC,mCAAAA,cAAc;CACjD,MAAM,gBAAgB,CAAC,CAAC;CACxB,MAAM,cAAcC,YAAAA,eAAe,UAAU,IAAI;CA4BjD,OAAO;EAAC;GA1BcC,GAAAA,MAAAA,YAAAA,CACpB,OAAO,GAAG,SAAwB;GAChC,IAAI;IACF,IAAI,kBAAkB,MAAM;IAC5B,IAAI,eAAe,QAAQ,OAAO,CAAC,MAAM,cAAc;IAEvD,OAAO,MAAM,YAAY,GAAG,IAAI;GAClC,UAAU;IACR,IAAI,kBAAkB,OAAO;IAC7B,IAAI,eAAe,QAAQ,OAAO,CAAC,OAAO;GAC5C;EACF,GACA;GACE;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACF,CAK2B;GAFbC,GAAAA,MAAAA,QAAAA,QAAe;GAAE;GAAQ;EAAM,IAAI,CAAC,QAAQ,KAAK,CAE3B;CAAC;AACzC"}
@@ -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-boolean/index.ts
6
5
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","names":["useState","useCallback"],"sources":["../../../../src/hooks/use-boolean/index.ts"],"sourcesContent":["\"use client\"\n\nimport { useCallback, useState } from \"react\"\n\n/**\n * `useBoolean` is a custom hook used to manage boolean values using `on`, `off`, and `toggle` functions.\n *\n * @see https://yamada-ui.com/docs/hooks/use-boolean\n */\nexport const useBoolean = (init = false): UseBooleanReturn => {\n const [flg, setFlg] = useState<boolean>(init)\n\n const on = useCallback(() => setFlg(true), [])\n\n const off = useCallback(() => setFlg(false), [])\n\n const toggle = useCallback(() => setFlg((prev) => !prev), [])\n\n return [flg, { off, toggle, on }]\n}\n\nexport type UseBooleanReturn = [\n flg: boolean,\n setFlg: { off: () => void; on: () => void; toggle: () => void },\n]\n"],"mappings":";;;;;;;;;;AASA,MAAa,cAAc,OAAO,UAA4B;CAC5D,MAAM,CAAC,KAAK,WAAA,GAAUA,MAAAA,SAAAA,CAAkB,IAAI;CAE5C,MAAM,MAAA,GAAKC,MAAAA,YAAAA,OAAkB,OAAO,IAAI,GAAG,CAAC,CAAC;CAM7C,OAAO,CAAC,KAAK;EAAE,MAAA,GAJHA,MAAAA,YAAAA,OAAkB,OAAO,KAAK,GAAG,CAAC,CAI7B;EAAG,SAAA,GAFLA,MAAAA,YAAAA,OAAkB,QAAQ,SAAS,CAAC,IAAI,GAAG,CAAC,CAElC;EAAG;CAAG,CAAC;AAClC"}
1
+ {"version":3,"file":"index.cjs","names":["useState","useCallback"],"sources":["../../../../src/hooks/use-boolean/index.ts"],"sourcesContent":["\"use client\"\n\nimport { useCallback, useState } from \"react\"\n\n/**\n * `useBoolean` is a custom hook used to manage boolean values using `on`, `off`, and `toggle` functions.\n *\n * @see https://yamada-ui.com/docs/hooks/use-boolean\n */\nexport const useBoolean = (init = false): UseBooleanReturn => {\n const [flg, setFlg] = useState<boolean>(init)\n\n const on = useCallback(() => setFlg(true), [])\n\n const off = useCallback(() => setFlg(false), [])\n\n const toggle = useCallback(() => setFlg((prev) => !prev), [])\n\n return [flg, { off, toggle, on }]\n}\n\nexport type UseBooleanReturn = [\n flg: boolean,\n setFlg: { off: () => void; on: () => void; toggle: () => void },\n]\n"],"mappings":";;;;;;;;;AASA,MAAa,cAAc,OAAO,UAA4B;CAC5D,MAAM,CAAC,KAAK,WAAA,GAAUA,MAAAA,SAAAA,CAAkB,IAAI;CAE5C,MAAM,MAAA,GAAKC,MAAAA,YAAAA,OAAkB,OAAO,IAAI,GAAG,CAAC,CAAC;CAM7C,OAAO,CAAC,KAAK;EAAE,MAAA,GAJHA,MAAAA,YAAAA,OAAkB,OAAO,KAAK,GAAG,CAAC,CAI7B;EAAG,SAAA,GAFLA,MAAAA,YAAAA,OAAkB,QAAQ,SAAS,CAAC,IAAI,GAAG,CAAC,CAElC;EAAG;CAAG,CAAC;AAClC"}
@@ -1,5 +1,4 @@
1
1
  "use client";
2
- require("../../_virtual/_rolldown/runtime.cjs");
3
2
  const require_use_breakpoint = require("./use-breakpoint.cjs");
4
3
  let react = require("react");
5
4
  //#region src/hooks/use-breakpoint/use-breakpoint-effect.ts
@@ -1 +1 @@
1
- {"version":3,"file":"use-breakpoint-effect.cjs","names":["useBreakpoint"],"sources":["../../../../src/hooks/use-breakpoint/use-breakpoint-effect.ts"],"sourcesContent":["\"use client\"\n\nimport type { DependencyList } from \"react\"\nimport type { Breakpoint } from \"../../core\"\nimport { useEffect } from \"react\"\nimport { useBreakpoint } from \"./use-breakpoint\"\n\n/**\n * `useBreakpointEffect` is a custom hook that executes a specific callback function when the breakpoint changes.\n *\n * @see https://yamada-ui.com/docs/hooks/use-breakpoint-effect\n */\nexport const useBreakpointEffect = (\n callback: (breakpoint: Breakpoint) => void,\n deps: DependencyList,\n) => {\n const breakpoint = useBreakpoint()\n\n useEffect(() => {\n callback(breakpoint)\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [breakpoint, ...deps])\n}\n"],"mappings":";;;;;;;;;;AAYA,MAAa,uBACX,UACA,SACG;CACH,MAAM,aAAaA,uBAAAA,cAAc;CAEjC,CAAA,GAAA,MAAA,UAAA,OAAgB;EACd,SAAS,UAAU;CAErB,GAAG,CAAC,YAAY,GAAG,IAAI,CAAC;AAC1B"}
1
+ {"version":3,"file":"use-breakpoint-effect.cjs","names":["useBreakpoint"],"sources":["../../../../src/hooks/use-breakpoint/use-breakpoint-effect.ts"],"sourcesContent":["\"use client\"\n\nimport type { DependencyList } from \"react\"\nimport type { Breakpoint } from \"../../core\"\nimport { useEffect } from \"react\"\nimport { useBreakpoint } from \"./use-breakpoint\"\n\n/**\n * `useBreakpointEffect` is a custom hook that executes a specific callback function when the breakpoint changes.\n *\n * @see https://yamada-ui.com/docs/hooks/use-breakpoint-effect\n */\nexport const useBreakpointEffect = (\n callback: (breakpoint: Breakpoint) => void,\n deps: DependencyList,\n) => {\n const breakpoint = useBreakpoint()\n\n useEffect(() => {\n callback(breakpoint)\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [breakpoint, ...deps])\n}\n"],"mappings":";;;;;;;;;AAYA,MAAa,uBACX,UACA,SACG;CACH,MAAM,aAAaA,uBAAAA,cAAc;CAEjC,CAAA,GAAA,MAAA,UAAA,OAAgB;EACd,SAAS,UAAU;CAErB,GAAG,CAAC,YAAY,GAAG,IAAI,CAAC;AAC1B"}
@@ -1,5 +1,4 @@
1
1
  "use client";
2
- require("../../_virtual/_rolldown/runtime.cjs");
3
2
  const require_use_breakpoint_value = require("./use-breakpoint-value.cjs");
4
3
  let react = require("react");
5
4
  //#region src/hooks/use-breakpoint/use-breakpoint-state.ts
@@ -1 +1 @@
1
- {"version":3,"file":"use-breakpoint-state.cjs","names":["useBreakpointValue","useState"],"sources":["../../../../src/hooks/use-breakpoint/use-breakpoint-state.ts"],"sourcesContent":["\"use client\"\n\nimport type { ResponsiveObject } from \"../../core\"\nimport { useState } from \"react\"\nimport { useBreakpointValue } from \"./use-breakpoint-value\"\n\n/**\n * `useBreakpointState` is a custom hook that takes a responsive object as an initial state and returns a state corresponding to the current breakpoint.\n *\n * @see https://yamada-ui.com/docs/hooks/use-breakpoint-state\n */\nexport const useBreakpointState = <Y>(\n initialState: ResponsiveObject<Y, false>,\n) => {\n const state = useBreakpointValue(initialState)\n\n return useState(state)\n}\n"],"mappings":";;;;;;;;;;AAWA,MAAa,sBACX,iBACG;CACH,MAAM,QAAQA,6BAAAA,mBAAmB,YAAY;CAE7C,QAAA,GAAOC,MAAAA,SAAAA,CAAS,KAAK;AACvB"}
1
+ {"version":3,"file":"use-breakpoint-state.cjs","names":["useBreakpointValue","useState"],"sources":["../../../../src/hooks/use-breakpoint/use-breakpoint-state.ts"],"sourcesContent":["\"use client\"\n\nimport type { ResponsiveObject } from \"../../core\"\nimport { useState } from \"react\"\nimport { useBreakpointValue } from \"./use-breakpoint-value\"\n\n/**\n * `useBreakpointState` is a custom hook that takes a responsive object as an initial state and returns a state corresponding to the current breakpoint.\n *\n * @see https://yamada-ui.com/docs/hooks/use-breakpoint-state\n */\nexport const useBreakpointState = <Y>(\n initialState: ResponsiveObject<Y, false>,\n) => {\n const state = useBreakpointValue(initialState)\n\n return useState(state)\n}\n"],"mappings":";;;;;;;;;AAWA,MAAa,sBACX,iBACG;CACH,MAAM,QAAQA,6BAAAA,mBAAmB,YAAY;CAE7C,QAAA,GAAOC,MAAAA,SAAAA,CAAS,KAAK;AACvB"}
@@ -1,4 +1,3 @@
1
- require("../../_virtual/_rolldown/runtime.cjs");
2
1
  const require_system_provider = require("../../core/system/system-provider.cjs");
3
2
  const require_use_breakpoint = require("./use-breakpoint.cjs");
4
3
  let react = require("react");
@@ -1 +1 @@
1
- {"version":3,"file":"use-breakpoint-value.cjs","names":["useSystem","useBreakpoint","useMemo"],"sources":["../../../../src/hooks/use-breakpoint/use-breakpoint-value.ts"],"sourcesContent":["import type { Breakpoint, ResponsiveObject, System } from \"../../core\"\nimport { useMemo } from \"react\"\nimport { useSystem } from \"../../core\"\nimport { useBreakpoint } from \"./use-breakpoint\"\n\n/**\n * `useBreakpointValue` is a custom hook that returns the value of the current breakpoint from the provided object.\n * This hook monitors changes in the window size and returns the appropriate value.\n *\n * @see https://yamada-ui.com/docs/hooks/use-breakpoint-value\n */\nexport const useBreakpointValue = <Y>(\n values: ResponsiveObject<Y, false>,\n): Y => {\n const system = useSystem()\n const breakpoint = useBreakpoint()\n\n return useMemo(\n () => getBreakpointValue<Y>(values)(system, breakpoint),\n [values, system, breakpoint],\n )\n}\n\nexport const getBreakpointValue =\n <Y>(values: ResponsiveObject<Y, false> = {}) =>\n (system: System, breakpoint: Breakpoint): Y => {\n const breakpoints = system.breakpoints.keys\n\n if (!breakpoints.length)\n console.warn(\"getBreakpointValue: `breakpoints` is undefined.\")\n\n const currentIndex = breakpoints.indexOf(breakpoint)\n\n for (let i = currentIndex; 0 < i; i--) {\n const nextBreakpoint = breakpoints[i]\n\n if (nextBreakpoint && values.hasOwnProperty(nextBreakpoint))\n return values[nextBreakpoint] as Y\n }\n\n return values.base as Y\n }\n"],"mappings":";;;;;;;;;;;AAWA,MAAa,sBACX,WACM;CACN,MAAM,SAASA,wBAAAA,UAAU;CACzB,MAAM,aAAaC,uBAAAA,cAAc;CAEjC,QAAA,GAAOC,MAAAA,QAAAA,OACC,mBAAsB,MAAM,CAAC,CAAC,QAAQ,UAAU,GACtD;EAAC;EAAQ;EAAQ;CAAU,CAC7B;AACF;AAEA,MAAa,sBACP,SAAqC,CAAC,OACzC,QAAgB,eAA8B;CAC7C,MAAM,cAAc,OAAO,YAAY;CAEvC,IAAI,CAAC,YAAY,QACf,QAAQ,KAAK,iDAAiD;CAEhE,MAAM,eAAe,YAAY,QAAQ,UAAU;CAEnD,KAAK,IAAI,IAAI,cAAc,IAAI,GAAG,KAAK;EACrC,MAAM,iBAAiB,YAAY;EAEnC,IAAI,kBAAkB,OAAO,eAAe,cAAc,GACxD,OAAO,OAAO;CAClB;CAEA,OAAO,OAAO;AAChB"}
1
+ {"version":3,"file":"use-breakpoint-value.cjs","names":["useSystem","useBreakpoint","useMemo"],"sources":["../../../../src/hooks/use-breakpoint/use-breakpoint-value.ts"],"sourcesContent":["import type { Breakpoint, ResponsiveObject, System } from \"../../core\"\nimport { useMemo } from \"react\"\nimport { useSystem } from \"../../core\"\nimport { useBreakpoint } from \"./use-breakpoint\"\n\n/**\n * `useBreakpointValue` is a custom hook that returns the value of the current breakpoint from the provided object.\n * This hook monitors changes in the window size and returns the appropriate value.\n *\n * @see https://yamada-ui.com/docs/hooks/use-breakpoint-value\n */\nexport const useBreakpointValue = <Y>(\n values: ResponsiveObject<Y, false>,\n): Y => {\n const system = useSystem()\n const breakpoint = useBreakpoint()\n\n return useMemo(\n () => getBreakpointValue<Y>(values)(system, breakpoint),\n [values, system, breakpoint],\n )\n}\n\nexport const getBreakpointValue =\n <Y>(values: ResponsiveObject<Y, false> = {}) =>\n (system: System, breakpoint: Breakpoint): Y => {\n const breakpoints = system.breakpoints.keys\n\n if (!breakpoints.length)\n console.warn(\"getBreakpointValue: `breakpoints` is undefined.\")\n\n const currentIndex = breakpoints.indexOf(breakpoint)\n\n for (let i = currentIndex; 0 < i; i--) {\n const nextBreakpoint = breakpoints[i]\n\n if (nextBreakpoint && values.hasOwnProperty(nextBreakpoint))\n return values[nextBreakpoint] as Y\n }\n\n return values.base as Y\n }\n"],"mappings":";;;;;;;;;;AAWA,MAAa,sBACX,WACM;CACN,MAAM,SAASA,wBAAAA,UAAU;CACzB,MAAM,aAAaC,uBAAAA,cAAc;CAEjC,QAAA,GAAOC,MAAAA,QAAAA,OACC,mBAAsB,MAAM,CAAC,CAAC,QAAQ,UAAU,GACtD;EAAC;EAAQ;EAAQ;CAAU,CAC7B;AACF;AAEA,MAAa,sBACP,SAAqC,CAAC,OACzC,QAAgB,eAA8B;CAC7C,MAAM,cAAc,OAAO,YAAY;CAEvC,IAAI,CAAC,YAAY,QACf,QAAQ,KAAK,iDAAiD;CAEhE,MAAM,eAAe,YAAY,QAAQ,UAAU;CAEnD,KAAK,IAAI,IAAI,cAAc,IAAI,GAAG,KAAK;EACrC,MAAM,iBAAiB,YAAY;EAEnC,IAAI,kBAAkB,OAAO,eAAe,cAAc,GACxD,OAAO,OAAO;CAClB;CAEA,OAAO,OAAO;AAChB"}
@@ -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_environment_provider = require("../../core/system/environment-provider.cjs");
5
4
  const require_system_provider = require("../../core/system/system-provider.cjs");
@@ -1 +1 @@
1
- {"version":3,"file":"use-breakpoint.cjs","names":["useRef","useSystem","useEnvironment","useMemo","useCallback","useSyncExternalStore"],"sources":["../../../../src/hooks/use-breakpoint/use-breakpoint.ts"],"sourcesContent":["\"use client\"\n\nimport type { Breakpoint } from \"../../core\"\nimport { useCallback, useMemo, useRef, useSyncExternalStore } from \"react\"\nimport { useEnvironment, useSystem } from \"../../core\"\nimport { createdDom, isUndefined, noop } from \"../../utils\"\n\n/**\n * `useBreakpoint` is a custom hook that returns the current breakpoint.\n * This hook monitors changes in the window size and returns the appropriate value.\n *\n * @see https://yamada-ui.com/docs/hooks/use-breakpoint\n */\nexport const useBreakpoint = () => {\n const animationFrameId = useRef(0)\n const { breakpoints, config } = useSystem()\n const { getWindow } = useEnvironment()\n const {\n containerRef,\n direction = \"down\",\n identifier = \"@media screen\",\n } = config.breakpoint ?? {}\n const hasContainer = !!containerRef\n\n const queries = useMemo(() => {\n return breakpoints.queries.map(\n ({ breakpoint, maxW, minMaxQuery, minW }) => {\n const searchValue =\n identifier === \"@media screen\"\n ? \"@media screen and \"\n : `${identifier} `\n const query = minMaxQuery?.replace(searchValue, \"\") ?? \"\"\n\n return {\n breakpoint,\n maxW,\n minW,\n query,\n }\n },\n )\n }, [breakpoints, identifier])\n\n const hasQueries = !!queries.length\n\n const getBreakpoint = useCallback(\n (width?: number) => {\n if (isUndefined(width)) {\n const win = getWindow()\n\n if (hasContainer || !hasQueries) return \"base\"\n\n for (const { breakpoint, query } of queries) {\n const mql = win?.matchMedia(query)\n\n if (mql?.matches) return breakpoint\n }\n } else {\n for (const { breakpoint, maxW, minW } of queries)\n if (direction !== \"up\") {\n if ((minW ?? 0) <= width) return breakpoint\n } else {\n if (width <= (maxW ?? Infinity)) return breakpoint\n }\n }\n\n return \"base\"\n },\n [direction, getWindow, hasContainer, hasQueries, queries],\n )\n\n const breakpointRef = useRef<Breakpoint>(getBreakpoint())\n\n const subscribe = useCallback(\n (listener: () => void) => {\n if (!hasContainer || !hasQueries) {\n const observer = queries.map(({ breakpoint, query }): (() => void) => {\n const mql = getWindow()?.matchMedia(query)\n\n const onChange = (e: MediaQueryListEvent) => {\n if (e.matches) breakpointRef.current = breakpoint\n\n listener()\n }\n\n mql?.addEventListener(\"change\", onChange)\n\n return () => {\n mql?.removeEventListener(\"change\", onChange)\n }\n })\n\n return () => {\n observer.forEach((unobserve) => unobserve())\n }\n } else if (createdDom()) {\n const observer = new ResizeObserver(([entry]) => {\n if (!entry) return\n\n cancelAnimationFrame(animationFrameId.current)\n\n const { width } = entry.contentRect\n\n breakpointRef.current = getBreakpoint(width)\n\n animationFrameId.current = requestAnimationFrame(listener)\n })\n\n if (containerRef.current) observer.observe(containerRef.current)\n\n return () => {\n observer.disconnect()\n\n if (process.env.NODE_ENV !== \"test\")\n cancelAnimationFrame(animationFrameId.current)\n }\n } else {\n return noop\n }\n },\n [containerRef, getBreakpoint, getWindow, hasContainer, hasQueries, queries],\n )\n\n const getSnapshot = useCallback(() => {\n return breakpointRef.current\n }, [])\n\n const breakpoint = useSyncExternalStore(subscribe, getSnapshot, getSnapshot)\n\n return breakpoint\n}\n"],"mappings":";;;;;;;;;;;;;AAaA,MAAa,sBAAsB;CACjC,MAAM,oBAAA,GAAmBA,MAAAA,OAAAA,CAAO,CAAC;CACjC,MAAM,EAAE,aAAa,WAAWC,wBAAAA,UAAU;CAC1C,MAAM,EAAE,cAAcC,6BAAAA,eAAe;CACrC,MAAM,EACJ,cACA,YAAY,QACZ,aAAa,oBACX,OAAO,cAAc,CAAC;CAC1B,MAAM,eAAe,CAAC,CAAC;CAEvB,MAAM,WAAA,GAAUC,MAAAA,QAAAA,OAAc;EAC5B,OAAO,YAAY,QAAQ,KACxB,EAAE,YAAY,MAAM,aAAa,WAAW;GAC3C,MAAM,cACJ,eAAe,kBACX,uBACA,GAAG,WAAW;GAGpB,OAAO;IACL;IACA;IACA;IACA,OANY,aAAa,QAAQ,aAAa,EAAE,KAAK;GAOvD;EACF,CACF;CACF,GAAG,CAAC,aAAa,UAAU,CAAC;CAE5B,MAAM,aAAa,CAAC,CAAC,QAAQ;CAE7B,MAAM,iBAAA,GAAgBC,MAAAA,YAAAA,EACnB,UAAmB;EAClB,KAAA,GAAA,oBAAA,cAAI,YAAA,CAAY,KAAK,GAAG;GACtB,MAAM,MAAM,UAAU;GAEtB,IAAI,gBAAgB,CAAC,YAAY,OAAO;GAExC,KAAK,MAAM,EAAE,YAAY,WAAW,SAGlC,KAFY,KAAK,WAAW,KAAK,EAAA,EAExB,SAAS,OAAO;EAE7B,OACE,KAAK,MAAM,EAAE,YAAY,MAAM,UAAU,SACvC,IAAI,cAAc,MACX;QAAA,QAAQ,MAAM,OAAO,OAAO;EAAA,OAEjC,IAAI,UAAU,QAAQ,WAAW,OAAO;EAI9C,OAAO;CACT,GACA;EAAC;EAAW;EAAW;EAAc;EAAY;CAAO,CAC1D;CAEA,MAAM,iBAAA,GAAgBJ,MAAAA,OAAAA,CAAmB,cAAc,CAAC;CAExD,MAAM,aAAA,GAAYI,MAAAA,YAAAA,EACf,aAAyB;EACxB,IAAI,CAAC,gBAAgB,CAAC,YAAY;GAChC,MAAM,WAAW,QAAQ,KAAK,EAAE,YAAY,YAA0B;IACpE,MAAM,MAAM,UAAU,CAAC,EAAE,WAAW,KAAK;IAEzC,MAAM,YAAY,MAA2B;KAC3C,IAAI,EAAE,SAAS,cAAc,UAAU;KAEvC,SAAS;IACX;IAEA,KAAK,iBAAiB,UAAU,QAAQ;IAExC,aAAa;KACX,KAAK,oBAAoB,UAAU,QAAQ;IAC7C;GACF,CAAC;GAED,aAAa;IACX,SAAS,SAAS,cAAc,UAAU,CAAC;GAC7C;EACF,OAAO,KAAA,GAAA,oBAAA,cAAI,WAAA,CAAW,GAAG;GACvB,MAAM,WAAW,IAAI,gBAAgB,CAAC,WAAW;IAC/C,IAAI,CAAC,OAAO;IAEZ,qBAAqB,iBAAiB,OAAO;IAE7C,MAAM,EAAE,UAAU,MAAM;IAExB,cAAc,UAAU,cAAc,KAAK;IAE3C,iBAAiB,UAAU,sBAAsB,QAAQ;GAC3D,CAAC;GAED,IAAI,aAAa,SAAS,SAAS,QAAQ,aAAa,OAAO;GAE/D,aAAa;IACX,SAAS,WAAW;IAEpB,IAAI,QAAQ,IAAI,aAAa,QAC3B,qBAAqB,iBAAiB,OAAO;GACjD;EACF,OACE,OAAA,oBAAA,cAAO;CAEX,GACA;EAAC;EAAc;EAAe;EAAW;EAAc;EAAY;CAAO,CAC5E;CAEA,MAAM,eAAA,GAAcA,MAAAA,YAAAA,OAAkB;EACpC,OAAO,cAAc;CACvB,GAAG,CAAC,CAAC;CAIL,QAAA,GAFmBC,MAAAA,qBAAAA,CAAqB,WAAW,aAAa,WAEhD;AAClB"}
1
+ {"version":3,"file":"use-breakpoint.cjs","names":["useRef","useSystem","useEnvironment","useMemo","useCallback","useSyncExternalStore"],"sources":["../../../../src/hooks/use-breakpoint/use-breakpoint.ts"],"sourcesContent":["\"use client\"\n\nimport type { Breakpoint } from \"../../core\"\nimport { useCallback, useMemo, useRef, useSyncExternalStore } from \"react\"\nimport { useEnvironment, useSystem } from \"../../core\"\nimport { createdDom, isUndefined, noop } from \"../../utils\"\n\n/**\n * `useBreakpoint` is a custom hook that returns the current breakpoint.\n * This hook monitors changes in the window size and returns the appropriate value.\n *\n * @see https://yamada-ui.com/docs/hooks/use-breakpoint\n */\nexport const useBreakpoint = () => {\n const animationFrameId = useRef(0)\n const { breakpoints, config } = useSystem()\n const { getWindow } = useEnvironment()\n const {\n containerRef,\n direction = \"down\",\n identifier = \"@media screen\",\n } = config.breakpoint ?? {}\n const hasContainer = !!containerRef\n\n const queries = useMemo(() => {\n return breakpoints.queries.map(\n ({ breakpoint, maxW, minMaxQuery, minW }) => {\n const searchValue =\n identifier === \"@media screen\"\n ? \"@media screen and \"\n : `${identifier} `\n const query = minMaxQuery?.replace(searchValue, \"\") ?? \"\"\n\n return {\n breakpoint,\n maxW,\n minW,\n query,\n }\n },\n )\n }, [breakpoints, identifier])\n\n const hasQueries = !!queries.length\n\n const getBreakpoint = useCallback(\n (width?: number) => {\n if (isUndefined(width)) {\n const win = getWindow()\n\n if (hasContainer || !hasQueries) return \"base\"\n\n for (const { breakpoint, query } of queries) {\n const mql = win?.matchMedia(query)\n\n if (mql?.matches) return breakpoint\n }\n } else {\n for (const { breakpoint, maxW, minW } of queries)\n if (direction !== \"up\") {\n if ((minW ?? 0) <= width) return breakpoint\n } else {\n if (width <= (maxW ?? Infinity)) return breakpoint\n }\n }\n\n return \"base\"\n },\n [direction, getWindow, hasContainer, hasQueries, queries],\n )\n\n const breakpointRef = useRef<Breakpoint>(getBreakpoint())\n\n const subscribe = useCallback(\n (listener: () => void) => {\n if (!hasContainer || !hasQueries) {\n const observer = queries.map(({ breakpoint, query }): (() => void) => {\n const mql = getWindow()?.matchMedia(query)\n\n const onChange = (e: MediaQueryListEvent) => {\n if (e.matches) breakpointRef.current = breakpoint\n\n listener()\n }\n\n mql?.addEventListener(\"change\", onChange)\n\n return () => {\n mql?.removeEventListener(\"change\", onChange)\n }\n })\n\n return () => {\n observer.forEach((unobserve) => unobserve())\n }\n } else if (createdDom()) {\n const observer = new ResizeObserver(([entry]) => {\n if (!entry) return\n\n cancelAnimationFrame(animationFrameId.current)\n\n const { width } = entry.contentRect\n\n breakpointRef.current = getBreakpoint(width)\n\n animationFrameId.current = requestAnimationFrame(listener)\n })\n\n if (containerRef.current) observer.observe(containerRef.current)\n\n return () => {\n observer.disconnect()\n\n if (process.env.NODE_ENV !== \"test\")\n cancelAnimationFrame(animationFrameId.current)\n }\n } else {\n return noop\n }\n },\n [containerRef, getBreakpoint, getWindow, hasContainer, hasQueries, queries],\n )\n\n const getSnapshot = useCallback(() => {\n return breakpointRef.current\n }, [])\n\n const breakpoint = useSyncExternalStore(subscribe, getSnapshot, getSnapshot)\n\n return breakpoint\n}\n"],"mappings":";;;;;;;;;;;;AAaA,MAAa,sBAAsB;CACjC,MAAM,oBAAA,GAAmBA,MAAAA,OAAAA,CAAO,CAAC;CACjC,MAAM,EAAE,aAAa,WAAWC,wBAAAA,UAAU;CAC1C,MAAM,EAAE,cAAcC,6BAAAA,eAAe;CACrC,MAAM,EACJ,cACA,YAAY,QACZ,aAAa,oBACX,OAAO,cAAc,CAAC;CAC1B,MAAM,eAAe,CAAC,CAAC;CAEvB,MAAM,WAAA,GAAUC,MAAAA,QAAAA,OAAc;EAC5B,OAAO,YAAY,QAAQ,KACxB,EAAE,YAAY,MAAM,aAAa,WAAW;GAC3C,MAAM,cACJ,eAAe,kBACX,uBACA,GAAG,WAAW;GAGpB,OAAO;IACL;IACA;IACA;IACA,OANY,aAAa,QAAQ,aAAa,EAAE,KAAK;GAOvD;EACF,CACF;CACF,GAAG,CAAC,aAAa,UAAU,CAAC;CAE5B,MAAM,aAAa,CAAC,CAAC,QAAQ;CAE7B,MAAM,iBAAA,GAAgBC,MAAAA,YAAAA,EACnB,UAAmB;EAClB,KAAA,GAAA,oBAAA,cAAI,YAAA,CAAY,KAAK,GAAG;GACtB,MAAM,MAAM,UAAU;GAEtB,IAAI,gBAAgB,CAAC,YAAY,OAAO;GAExC,KAAK,MAAM,EAAE,YAAY,WAAW,SAGlC,KAFY,KAAK,WAAW,KAAK,EAAA,EAExB,SAAS,OAAO;EAE7B,OACE,KAAK,MAAM,EAAE,YAAY,MAAM,UAAU,SACvC,IAAI,cAAc,MACX;QAAA,QAAQ,MAAM,OAAO,OAAO;EAAA,OAEjC,IAAI,UAAU,QAAQ,WAAW,OAAO;EAI9C,OAAO;CACT,GACA;EAAC;EAAW;EAAW;EAAc;EAAY;CAAO,CAC1D;CAEA,MAAM,iBAAA,GAAgBJ,MAAAA,OAAAA,CAAmB,cAAc,CAAC;CAExD,MAAM,aAAA,GAAYI,MAAAA,YAAAA,EACf,aAAyB;EACxB,IAAI,CAAC,gBAAgB,CAAC,YAAY;GAChC,MAAM,WAAW,QAAQ,KAAK,EAAE,YAAY,YAA0B;IACpE,MAAM,MAAM,UAAU,CAAC,EAAE,WAAW,KAAK;IAEzC,MAAM,YAAY,MAA2B;KAC3C,IAAI,EAAE,SAAS,cAAc,UAAU;KAEvC,SAAS;IACX;IAEA,KAAK,iBAAiB,UAAU,QAAQ;IAExC,aAAa;KACX,KAAK,oBAAoB,UAAU,QAAQ;IAC7C;GACF,CAAC;GAED,aAAa;IACX,SAAS,SAAS,cAAc,UAAU,CAAC;GAC7C;EACF,OAAO,KAAA,GAAA,oBAAA,cAAI,WAAA,CAAW,GAAG;GACvB,MAAM,WAAW,IAAI,gBAAgB,CAAC,WAAW;IAC/C,IAAI,CAAC,OAAO;IAEZ,qBAAqB,iBAAiB,OAAO;IAE7C,MAAM,EAAE,UAAU,MAAM;IAExB,cAAc,UAAU,cAAc,KAAK;IAE3C,iBAAiB,UAAU,sBAAsB,QAAQ;GAC3D,CAAC;GAED,IAAI,aAAa,SAAS,SAAS,QAAQ,aAAa,OAAO;GAE/D,aAAa;IACX,SAAS,WAAW;IAEpB,IAAI,QAAQ,IAAI,aAAa,QAC3B,qBAAqB,iBAAiB,OAAO;GACjD;EACF,OACE,OAAA,oBAAA,cAAO;CAEX,GACA;EAAC;EAAc;EAAe;EAAW;EAAc;EAAY;CAAO,CAC5E;CAEA,MAAM,eAAA,GAAcA,MAAAA,YAAAA,OAAkB;EACpC,OAAO,cAAc;CACvB,GAAG,CAAC,CAAC;CAIL,QAAA,GAFmBC,MAAAA,qBAAAA,CAAqB,WAAW,aAAa,WAEhD;AAClB"}
@@ -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_hooks_use_event_listener_index = require("../use-event-listener/index.cjs");
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","names":["useState","useEventListeners","useCallback","mergeRefs"],"sources":["../../../../src/hooks/use-clickable/index.ts"],"sourcesContent":["\"use client\"\n\nimport type { HTMLAttributes, KeyboardEvent, MouseEvent, Ref } from \"react\"\nimport type { StyledProps } from \"../../core\"\nimport { useCallback, useState } from \"react\"\nimport { dataAttr, isTouchDevice, mergeRefs } from \"../../utils\"\nimport { useEventListeners } from \"../use-event-listener\"\n\ntype Props<Y extends HTMLElement = HTMLElement> = Omit<\n HTMLAttributes<Y>,\n \"ref\" | \"size\" | keyof StyledProps\n>\n\nexport type UseClickableProps<\n Y extends HTMLElement = HTMLElement,\n M extends Props<Y> = Props<Y>,\n> = M & {\n /**\n * Whether or not trigger click on pressing `Enter`.\n *\n * @default true\n */\n clickOnEnter?: boolean\n /**\n * Whether or not trigger click on pressing `Space`.\n *\n * @default true\n */\n clickOnSpace?: boolean\n /**\n * If `true`, the element will be disabled. It will set the `disabled` HTML attribute.\n *\n * @default false\n */\n disabled?: boolean\n /**\n * Disable the touch device behavior.\n *\n * @default true\n */\n disableTouchBehavior?: boolean\n /**\n * If `true` and isDisabled, the element will have only `aria-disabled` set to `true`.\n *\n * @default false\n */\n focusable?: boolean\n /**\n * Whether or not to focus the element when it is clicked.\n * If `true`, the element will receive focus upon click.\n *\n * @default true\n */\n focusOnClick?: boolean\n /**\n * The ref for the element.\n */\n ref?: Ref<Y>\n}\n\nconst isValidElement = (\n ev: KeyboardEvent | KeyboardEvent[\"nativeEvent\"],\n): boolean => {\n const { isContentEditable, tagName } = ev.target as HTMLElement\n\n return tagName !== \"INPUT\" && tagName !== \"TEXTAREA\" && !isContentEditable\n}\n\nexport const useClickable = <\n Y extends HTMLElement = HTMLElement,\n M extends Props<Y> = Props<Y>,\n>(\n {\n ref,\n clickOnEnter = true,\n clickOnSpace = true,\n disabled,\n disableTouchBehavior = true,\n focusable,\n focusOnClick = true,\n tabIndex: tabIndexProp,\n onClick: onClickProp,\n onKeyDown: onKeyDownProp,\n onKeyUp: onKeyUpProp,\n onMouseDown: onMouseDownProp,\n onMouseLeave: onMouseLeaveProp,\n onMouseOver: onMouseOverProp,\n onMouseUp: onMouseUpProp,\n ...props\n }: UseClickableProps<Y, M> = {} as UseClickableProps<Y, M>,\n) => {\n const [button, setButton] = useState<boolean>(true)\n const [pressed, setPressed] = useState<boolean>(false)\n\n const listeners = useEventListeners()\n\n const tabIndex = button ? tabIndexProp : tabIndexProp || 0\n const trulyDisabled = disabled && !focusable\n\n const refCb = (node: any) => {\n if (!node) return\n\n if (node.tagName !== \"BUTTON\") setButton(false)\n }\n\n const onClick = useCallback(\n (ev: MouseEvent<Y>) => {\n if (disabled) {\n ev.stopPropagation()\n ev.preventDefault()\n\n return\n }\n\n if (focusOnClick) ev.currentTarget.focus()\n onClickProp?.(ev)\n },\n [disabled, focusOnClick, onClickProp],\n )\n\n const onDocumentKeyUp = useCallback(\n (ev: globalThis.KeyboardEvent) => {\n if (pressed && isValidElement(ev)) {\n ev.preventDefault()\n ev.stopPropagation()\n\n setPressed(false)\n\n listeners.remove(document, \"keyup\", onDocumentKeyUp, false)\n }\n },\n [pressed, listeners],\n )\n\n const onKeyDown = useCallback(\n (ev: KeyboardEvent<Y>) => {\n onKeyDownProp?.(ev)\n\n if (disabled || ev.defaultPrevented || ev.metaKey) return\n\n if (!isValidElement(ev.nativeEvent) || button) return\n\n if (clickOnSpace && ev.key === \" \") {\n ev.preventDefault()\n setPressed(true)\n }\n\n if (clickOnEnter && ev.key === \"Enter\") {\n ev.preventDefault()\n ev.currentTarget.click()\n }\n\n listeners.add(document, \"keyup\", onDocumentKeyUp, false)\n },\n [\n disabled,\n button,\n onKeyDownProp,\n clickOnEnter,\n clickOnSpace,\n listeners,\n onDocumentKeyUp,\n ],\n )\n\n const onKeyUp = useCallback(\n (ev: KeyboardEvent<Y>) => {\n onKeyUpProp?.(ev)\n\n if (disabled || ev.defaultPrevented || ev.metaKey) return\n\n if (!isValidElement(ev.nativeEvent) || button) return\n\n if (clickOnSpace && ev.key === \" \") {\n ev.preventDefault()\n setPressed(false)\n\n ev.currentTarget.click()\n }\n },\n [clickOnSpace, button, disabled, onKeyUpProp],\n )\n\n const onDocumentMouseUp = useCallback(\n (ev: globalThis.MouseEvent) => {\n if (ev.button !== 0) return\n\n setPressed(false)\n\n listeners.remove(document, \"mouseup\", onDocumentMouseUp, false)\n },\n [listeners],\n )\n\n const onMouseDown = useCallback(\n (ev: MouseEvent<Y>) => {\n if (ev.button !== 0) return\n\n if (disabled) {\n ev.stopPropagation()\n ev.preventDefault()\n\n return\n }\n\n if (!button) setPressed(true)\n\n if (focusOnClick) ev.currentTarget.focus({ preventScroll: true })\n\n listeners.add(document, \"mouseup\", onDocumentMouseUp, false)\n\n onMouseDownProp?.(ev)\n },\n [\n disabled,\n button,\n onMouseDownProp,\n listeners,\n onDocumentMouseUp,\n focusOnClick,\n ],\n )\n\n const onMouseUp = useCallback(\n (ev: MouseEvent<Y>) => {\n if (ev.button !== 0) return\n\n if (!button) setPressed(false)\n\n onMouseUpProp?.(ev)\n },\n [onMouseUpProp, button],\n )\n\n const onMouseOver = useCallback(\n (ev: MouseEvent<Y>) => {\n if (disabled) {\n ev.preventDefault()\n\n return\n }\n\n if (disableTouchBehavior && isTouchDevice()) return\n\n onMouseOverProp?.(ev)\n },\n [disabled, onMouseOverProp, disableTouchBehavior],\n )\n\n const onMouseLeave = useCallback(\n (ev: MouseEvent<Y>) => {\n if (pressed) {\n ev.preventDefault()\n\n setPressed(false)\n }\n\n if (disableTouchBehavior && isTouchDevice()) return\n\n onMouseLeaveProp?.(ev)\n },\n [pressed, onMouseLeaveProp, disableTouchBehavior],\n )\n\n if (button)\n return {\n ...props,\n ref: mergeRefs(ref, refCb),\n type: \"button\" as const,\n \"aria-disabled\": trulyDisabled ? undefined : disabled,\n disabled: trulyDisabled,\n onClick: onClick,\n onKeyDown: onKeyDownProp,\n onKeyUp: onKeyUpProp,\n onMouseDown: onMouseDownProp,\n onMouseLeave: onMouseLeaveProp,\n onMouseOver: onMouseOverProp,\n onMouseUp: onMouseUpProp,\n }\n else\n return {\n ...props,\n ref: mergeRefs(ref, refCb),\n \"aria-disabled\": disabled ? (\"true\" as const) : undefined,\n \"data-active\": dataAttr(pressed),\n role: \"button\",\n tabIndex: trulyDisabled ? undefined : tabIndex,\n onClick,\n onKeyDown,\n onKeyUp,\n onMouseDown,\n onMouseLeave,\n onMouseOver,\n onMouseUp,\n }\n}\n\nexport type UseClickableReturn = ReturnType<typeof useClickable>\n"],"mappings":"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"}
1
+ {"version":3,"file":"index.cjs","names":["useState","useEventListeners","useCallback","mergeRefs"],"sources":["../../../../src/hooks/use-clickable/index.ts"],"sourcesContent":["\"use client\"\n\nimport type { HTMLAttributes, KeyboardEvent, MouseEvent, Ref } from \"react\"\nimport type { StyledProps } from \"../../core\"\nimport { useCallback, useState } from \"react\"\nimport { dataAttr, isTouchDevice, mergeRefs } from \"../../utils\"\nimport { useEventListeners } from \"../use-event-listener\"\n\ntype Props<Y extends HTMLElement = HTMLElement> = Omit<\n HTMLAttributes<Y>,\n \"ref\" | \"size\" | keyof StyledProps\n>\n\nexport type UseClickableProps<\n Y extends HTMLElement = HTMLElement,\n M extends Props<Y> = Props<Y>,\n> = M & {\n /**\n * Whether or not trigger click on pressing `Enter`.\n *\n * @default true\n */\n clickOnEnter?: boolean\n /**\n * Whether or not trigger click on pressing `Space`.\n *\n * @default true\n */\n clickOnSpace?: boolean\n /**\n * If `true`, the element will be disabled. It will set the `disabled` HTML attribute.\n *\n * @default false\n */\n disabled?: boolean\n /**\n * Disable the touch device behavior.\n *\n * @default true\n */\n disableTouchBehavior?: boolean\n /**\n * If `true` and isDisabled, the element will have only `aria-disabled` set to `true`.\n *\n * @default false\n */\n focusable?: boolean\n /**\n * Whether or not to focus the element when it is clicked.\n * If `true`, the element will receive focus upon click.\n *\n * @default true\n */\n focusOnClick?: boolean\n /**\n * The ref for the element.\n */\n ref?: Ref<Y>\n}\n\nconst isValidElement = (\n ev: KeyboardEvent | KeyboardEvent[\"nativeEvent\"],\n): boolean => {\n const { isContentEditable, tagName } = ev.target as HTMLElement\n\n return tagName !== \"INPUT\" && tagName !== \"TEXTAREA\" && !isContentEditable\n}\n\nexport const useClickable = <\n Y extends HTMLElement = HTMLElement,\n M extends Props<Y> = Props<Y>,\n>(\n {\n ref,\n clickOnEnter = true,\n clickOnSpace = true,\n disabled,\n disableTouchBehavior = true,\n focusable,\n focusOnClick = true,\n tabIndex: tabIndexProp,\n onClick: onClickProp,\n onKeyDown: onKeyDownProp,\n onKeyUp: onKeyUpProp,\n onMouseDown: onMouseDownProp,\n onMouseLeave: onMouseLeaveProp,\n onMouseOver: onMouseOverProp,\n onMouseUp: onMouseUpProp,\n ...props\n }: UseClickableProps<Y, M> = {} as UseClickableProps<Y, M>,\n) => {\n const [button, setButton] = useState<boolean>(true)\n const [pressed, setPressed] = useState<boolean>(false)\n\n const listeners = useEventListeners()\n\n const tabIndex = button ? tabIndexProp : tabIndexProp || 0\n const trulyDisabled = disabled && !focusable\n\n const refCb = (node: any) => {\n if (!node) return\n\n if (node.tagName !== \"BUTTON\") setButton(false)\n }\n\n const onClick = useCallback(\n (ev: MouseEvent<Y>) => {\n if (disabled) {\n ev.stopPropagation()\n ev.preventDefault()\n\n return\n }\n\n if (focusOnClick) ev.currentTarget.focus()\n onClickProp?.(ev)\n },\n [disabled, focusOnClick, onClickProp],\n )\n\n const onDocumentKeyUp = useCallback(\n (ev: globalThis.KeyboardEvent) => {\n if (pressed && isValidElement(ev)) {\n ev.preventDefault()\n ev.stopPropagation()\n\n setPressed(false)\n\n listeners.remove(document, \"keyup\", onDocumentKeyUp, false)\n }\n },\n [pressed, listeners],\n )\n\n const onKeyDown = useCallback(\n (ev: KeyboardEvent<Y>) => {\n onKeyDownProp?.(ev)\n\n if (disabled || ev.defaultPrevented || ev.metaKey) return\n\n if (!isValidElement(ev.nativeEvent) || button) return\n\n if (clickOnSpace && ev.key === \" \") {\n ev.preventDefault()\n setPressed(true)\n }\n\n if (clickOnEnter && ev.key === \"Enter\") {\n ev.preventDefault()\n ev.currentTarget.click()\n }\n\n listeners.add(document, \"keyup\", onDocumentKeyUp, false)\n },\n [\n disabled,\n button,\n onKeyDownProp,\n clickOnEnter,\n clickOnSpace,\n listeners,\n onDocumentKeyUp,\n ],\n )\n\n const onKeyUp = useCallback(\n (ev: KeyboardEvent<Y>) => {\n onKeyUpProp?.(ev)\n\n if (disabled || ev.defaultPrevented || ev.metaKey) return\n\n if (!isValidElement(ev.nativeEvent) || button) return\n\n if (clickOnSpace && ev.key === \" \") {\n ev.preventDefault()\n setPressed(false)\n\n ev.currentTarget.click()\n }\n },\n [clickOnSpace, button, disabled, onKeyUpProp],\n )\n\n const onDocumentMouseUp = useCallback(\n (ev: globalThis.MouseEvent) => {\n if (ev.button !== 0) return\n\n setPressed(false)\n\n listeners.remove(document, \"mouseup\", onDocumentMouseUp, false)\n },\n [listeners],\n )\n\n const onMouseDown = useCallback(\n (ev: MouseEvent<Y>) => {\n if (ev.button !== 0) return\n\n if (disabled) {\n ev.stopPropagation()\n ev.preventDefault()\n\n return\n }\n\n if (!button) setPressed(true)\n\n if (focusOnClick) ev.currentTarget.focus({ preventScroll: true })\n\n listeners.add(document, \"mouseup\", onDocumentMouseUp, false)\n\n onMouseDownProp?.(ev)\n },\n [\n disabled,\n button,\n onMouseDownProp,\n listeners,\n onDocumentMouseUp,\n focusOnClick,\n ],\n )\n\n const onMouseUp = useCallback(\n (ev: MouseEvent<Y>) => {\n if (ev.button !== 0) return\n\n if (!button) setPressed(false)\n\n onMouseUpProp?.(ev)\n },\n [onMouseUpProp, button],\n )\n\n const onMouseOver = useCallback(\n (ev: MouseEvent<Y>) => {\n if (disabled) {\n ev.preventDefault()\n\n return\n }\n\n if (disableTouchBehavior && isTouchDevice()) return\n\n onMouseOverProp?.(ev)\n },\n [disabled, onMouseOverProp, disableTouchBehavior],\n )\n\n const onMouseLeave = useCallback(\n (ev: MouseEvent<Y>) => {\n if (pressed) {\n ev.preventDefault()\n\n setPressed(false)\n }\n\n if (disableTouchBehavior && isTouchDevice()) return\n\n onMouseLeaveProp?.(ev)\n },\n [pressed, onMouseLeaveProp, disableTouchBehavior],\n )\n\n if (button)\n return {\n ...props,\n ref: mergeRefs(ref, refCb),\n type: \"button\" as const,\n \"aria-disabled\": trulyDisabled ? undefined : disabled,\n disabled: trulyDisabled,\n onClick: onClick,\n onKeyDown: onKeyDownProp,\n onKeyUp: onKeyUpProp,\n onMouseDown: onMouseDownProp,\n onMouseLeave: onMouseLeaveProp,\n onMouseOver: onMouseOverProp,\n onMouseUp: onMouseUpProp,\n }\n else\n return {\n ...props,\n ref: mergeRefs(ref, refCb),\n \"aria-disabled\": disabled ? (\"true\" as const) : undefined,\n \"data-active\": dataAttr(pressed),\n role: \"button\",\n tabIndex: trulyDisabled ? undefined : tabIndex,\n onClick,\n onKeyDown,\n onKeyUp,\n onMouseDown,\n onMouseLeave,\n onMouseOver,\n onMouseUp,\n }\n}\n\nexport type UseClickableReturn = ReturnType<typeof useClickable>\n"],"mappings":"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"}
@@ -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","useState"],"sources":["../../../../src/hooks/use-controllable-state/index.ts"],"sourcesContent":["\"use client\"\n\nimport type {\n ChangeEvent,\n ChangeEventHandler,\n Dispatch,\n SetStateAction,\n} from \"react\"\nimport { useState } from \"react\"\nimport {\n isBoolean,\n isNull,\n isUndefined,\n runIfFn,\n useCallbackRef,\n} from \"../../utils\"\n\ninterface UseControllableStateMethods<Y> {\n onChange?: (value: Y) => void\n onUpdate?: (prev: Y, next: Y) => boolean\n}\n\nexport interface UseControllableStateProps<\n Y,\n> extends UseControllableStateMethods<Y> {\n defaultValue?: (() => Y) | Y\n value?: Y\n}\n\nexport function useControllableState<Y>(\n props: UseControllableStateMethods<Y> & {\n value: Y\n defaultValue?: (() => Y) | Y\n },\n): [Y, Dispatch<SetStateAction<Y>>]\n\nexport function useControllableState<Y>(\n props: UseControllableStateMethods<Y> & {\n defaultValue: (() => Y) | Y\n value?: Y\n },\n): [Y, Dispatch<SetStateAction<Y>>]\n\nexport function useControllableState<Y>(\n props: UseControllableStateProps<Y>,\n): [Y, Dispatch<SetStateAction<Y>>]\n\nexport function useControllableState<Y>({\n defaultValue: defaultValueProp,\n value,\n onChange: onChangeProp,\n onUpdate: onUpdateProp = (prev, next) => prev !== next,\n}: UseControllableStateProps<Y>) {\n const onChange = useCallbackRef(onChangeProp)\n const onUpdate = useCallbackRef(onUpdateProp)\n const [defaultValue, setDefaultValue] = useState(defaultValueProp)\n const controlled = !isUndefined(value)\n const currentValue = (controlled ? value : defaultValue) as Y\n\n const setValue = useCallbackRef(\n (next: SetStateAction<Y>) => {\n const nextValue = runIfFn(next, currentValue)\n\n if (!onUpdate(currentValue, nextValue)) return\n\n if (!controlled || isUndefined(nextValue) || isNull(nextValue))\n setDefaultValue(nextValue)\n\n onChange(nextValue)\n },\n [controlled, currentValue, onChange, onUpdate],\n )\n\n return [currentValue, setValue]\n}\n\nfunction isHTMLInputElement(el: HTMLElement): el is HTMLInputElement {\n return el instanceof HTMLInputElement\n}\n\ninterface UseControllableEventStateMethods<\n Y extends HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement,\n> {\n onChange?: ChangeEventHandler<Y>\n}\n\nexport interface UseControllableEventStateProps<\n Y extends boolean | number | string,\n M extends HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement,\n> extends UseControllableEventStateMethods<M> {\n defaultValue?: (() => Y) | Y\n value?: Y\n}\n\nexport function useControllableEventState<\n Y extends boolean | number | string,\n M extends HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement,\n>(\n props: UseControllableEventStateMethods<M> & {\n value: Y\n defaultValue?: (() => Y) | Y\n },\n): [Y, ChangeEventHandler<M>]\n\nexport function useControllableEventState<\n Y extends boolean | number | string,\n M extends HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement,\n>(\n props: UseControllableEventStateMethods<M> & {\n defaultValue: (() => Y) | Y\n value?: Y\n },\n): [Y, ChangeEventHandler<M>]\n\nexport function useControllableEventState<\n Y extends boolean | number | string,\n M extends HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement,\n>(props: UseControllableEventStateProps<Y, M>): [Y, ChangeEventHandler<M>]\n\nexport function useControllableEventState<\n Y extends boolean | number | string,\n M extends HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement,\n>({\n defaultValue: defaultValueProp,\n value,\n onChange: onChangeProp,\n}: UseControllableEventStateProps<Y, M>) {\n const onChange = useCallbackRef(onChangeProp)\n const [defaultValue, setDefaultValue] = useState(defaultValueProp)\n const controlled = !isUndefined(value)\n const currentValue = (controlled ? value : defaultValue) as Y\n const boolean = isBoolean(currentValue)\n\n const setValue = useCallbackRef(\n (ev: ChangeEvent<M>) => {\n const value =\n boolean && isHTMLInputElement(ev.target)\n ? (ev.target.checked as Y)\n : (ev.target.value as Y)\n\n if (!controlled || isUndefined(value) || isNull(value))\n setDefaultValue(value)\n\n onChange(ev)\n },\n [controlled, currentValue, onChange],\n )\n\n return [currentValue, setValue]\n}\n"],"mappings":";;;;;;;AA+CA,SAAgB,qBAAwB,EACtC,cAAc,kBACd,OACA,UAAU,cACV,UAAU,gBAAgB,MAAM,SAAS,SAAS,QACnB;CAC/B,MAAM,WAAWA,YAAAA,eAAe,YAAY;CAC5C,MAAM,WAAWA,YAAAA,eAAe,YAAY;CAC5C,MAAM,CAAC,cAAc,oBAAA,GAAmBC,MAAAA,SAAAA,CAAS,gBAAgB;CACjE,MAAM,aAAa,EAAA,GAAA,oBAAA,cAAC,YAAA,CAAY,KAAK;CACrC,MAAM,eAAgB,aAAa,QAAQ;CAgB3C,OAAO,CAAC,cAdSD,YAAAA,gBACd,SAA4B;EAC3B,MAAM,aAAA,GAAA,oBAAA,cAAY,QAAA,CAAQ,MAAM,YAAY;EAE5C,IAAI,CAAC,SAAS,cAAc,SAAS,GAAG;EAExC,IAAI,CAAC,eAAA,GAAA,oBAAA,cAAc,YAAA,CAAY,SAAS,MAAA,GAAA,oBAAA,cAAK,OAAA,CAAO,SAAS,GAC3D,gBAAgB,SAAS;EAE3B,SAAS,SAAS;CACpB,GACA;EAAC;EAAY;EAAc;EAAU;CAAQ,CAGlB,CAAC;AAChC;AAEA,SAAS,mBAAmB,IAAyC;CACnE,OAAO,cAAc;AACvB;AAyCA,SAAgB,0BAGd,EACA,cAAc,kBACd,OACA,UAAU,gBAC6B;CACvC,MAAM,WAAWA,YAAAA,eAAe,YAAY;CAC5C,MAAM,CAAC,cAAc,oBAAA,GAAmBC,MAAAA,SAAAA,CAAS,gBAAgB;CACjE,MAAM,aAAa,EAAA,GAAA,oBAAA,cAAC,YAAA,CAAY,KAAK;CACrC,MAAM,eAAgB,aAAa,QAAQ;CAC3C,MAAM,WAAA,GAAA,oBAAA,cAAU,UAAA,CAAU,YAAY;CAiBtC,OAAO,CAAC,cAfSD,YAAAA,gBACd,OAAuB;EACtB,MAAM,QACJ,WAAW,mBAAmB,GAAG,MAAM,IAClC,GAAG,OAAO,UACV,GAAG,OAAO;EAEjB,IAAI,CAAC,eAAA,GAAA,oBAAA,cAAc,YAAA,CAAY,KAAK,MAAA,GAAA,oBAAA,cAAK,OAAA,CAAO,KAAK,GACnD,gBAAgB,KAAK;EAEvB,SAAS,EAAE;CACb,GACA;EAAC;EAAY;EAAc;CAAQ,CAGR,CAAC;AAChC"}
1
+ {"version":3,"file":"index.cjs","names":["useCallbackRef","useState"],"sources":["../../../../src/hooks/use-controllable-state/index.ts"],"sourcesContent":["\"use client\"\n\nimport type {\n ChangeEvent,\n ChangeEventHandler,\n Dispatch,\n SetStateAction,\n} from \"react\"\nimport { useState } from \"react\"\nimport {\n isBoolean,\n isNull,\n isUndefined,\n runIfFn,\n useCallbackRef,\n} from \"../../utils\"\n\ninterface UseControllableStateMethods<Y> {\n onChange?: (value: Y) => void\n onUpdate?: (prev: Y, next: Y) => boolean\n}\n\nexport interface UseControllableStateProps<\n Y,\n> extends UseControllableStateMethods<Y> {\n defaultValue?: (() => Y) | Y\n value?: Y\n}\n\nexport function useControllableState<Y>(\n props: UseControllableStateMethods<Y> & {\n value: Y\n defaultValue?: (() => Y) | Y\n },\n): [Y, Dispatch<SetStateAction<Y>>]\n\nexport function useControllableState<Y>(\n props: UseControllableStateMethods<Y> & {\n defaultValue: (() => Y) | Y\n value?: Y\n },\n): [Y, Dispatch<SetStateAction<Y>>]\n\nexport function useControllableState<Y>(\n props: UseControllableStateProps<Y>,\n): [Y, Dispatch<SetStateAction<Y>>]\n\nexport function useControllableState<Y>({\n defaultValue: defaultValueProp,\n value,\n onChange: onChangeProp,\n onUpdate: onUpdateProp = (prev, next) => prev !== next,\n}: UseControllableStateProps<Y>) {\n const onChange = useCallbackRef(onChangeProp)\n const onUpdate = useCallbackRef(onUpdateProp)\n const [defaultValue, setDefaultValue] = useState(defaultValueProp)\n const controlled = !isUndefined(value)\n const currentValue = (controlled ? value : defaultValue) as Y\n\n const setValue = useCallbackRef(\n (next: SetStateAction<Y>) => {\n const nextValue = runIfFn(next, currentValue)\n\n if (!onUpdate(currentValue, nextValue)) return\n\n if (!controlled || isUndefined(nextValue) || isNull(nextValue))\n setDefaultValue(nextValue)\n\n onChange(nextValue)\n },\n [controlled, currentValue, onChange, onUpdate],\n )\n\n return [currentValue, setValue]\n}\n\nfunction isHTMLInputElement(el: HTMLElement): el is HTMLInputElement {\n return el instanceof HTMLInputElement\n}\n\ninterface UseControllableEventStateMethods<\n Y extends HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement,\n> {\n onChange?: ChangeEventHandler<Y>\n}\n\nexport interface UseControllableEventStateProps<\n Y extends boolean | number | string,\n M extends HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement,\n> extends UseControllableEventStateMethods<M> {\n defaultValue?: (() => Y) | Y\n value?: Y\n}\n\nexport function useControllableEventState<\n Y extends boolean | number | string,\n M extends HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement,\n>(\n props: UseControllableEventStateMethods<M> & {\n value: Y\n defaultValue?: (() => Y) | Y\n },\n): [Y, ChangeEventHandler<M>]\n\nexport function useControllableEventState<\n Y extends boolean | number | string,\n M extends HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement,\n>(\n props: UseControllableEventStateMethods<M> & {\n defaultValue: (() => Y) | Y\n value?: Y\n },\n): [Y, ChangeEventHandler<M>]\n\nexport function useControllableEventState<\n Y extends boolean | number | string,\n M extends HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement,\n>(props: UseControllableEventStateProps<Y, M>): [Y, ChangeEventHandler<M>]\n\nexport function useControllableEventState<\n Y extends boolean | number | string,\n M extends HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement,\n>({\n defaultValue: defaultValueProp,\n value,\n onChange: onChangeProp,\n}: UseControllableEventStateProps<Y, M>) {\n const onChange = useCallbackRef(onChangeProp)\n const [defaultValue, setDefaultValue] = useState(defaultValueProp)\n const controlled = !isUndefined(value)\n const currentValue = (controlled ? value : defaultValue) as Y\n const boolean = isBoolean(currentValue)\n\n const setValue = useCallbackRef(\n (ev: ChangeEvent<M>) => {\n const value =\n boolean && isHTMLInputElement(ev.target)\n ? (ev.target.checked as Y)\n : (ev.target.value as Y)\n\n if (!controlled || isUndefined(value) || isNull(value))\n setDefaultValue(value)\n\n onChange(ev)\n },\n [controlled, currentValue, onChange],\n )\n\n return [currentValue, setValue]\n}\n"],"mappings":";;;;;;AA+CA,SAAgB,qBAAwB,EACtC,cAAc,kBACd,OACA,UAAU,cACV,UAAU,gBAAgB,MAAM,SAAS,SAAS,QACnB;CAC/B,MAAM,WAAWA,YAAAA,eAAe,YAAY;CAC5C,MAAM,WAAWA,YAAAA,eAAe,YAAY;CAC5C,MAAM,CAAC,cAAc,oBAAA,GAAmBC,MAAAA,SAAAA,CAAS,gBAAgB;CACjE,MAAM,aAAa,EAAA,GAAA,oBAAA,cAAC,YAAA,CAAY,KAAK;CACrC,MAAM,eAAgB,aAAa,QAAQ;CAgB3C,OAAO,CAAC,cAdSD,YAAAA,gBACd,SAA4B;EAC3B,MAAM,aAAA,GAAA,oBAAA,cAAY,QAAA,CAAQ,MAAM,YAAY;EAE5C,IAAI,CAAC,SAAS,cAAc,SAAS,GAAG;EAExC,IAAI,CAAC,eAAA,GAAA,oBAAA,cAAc,YAAA,CAAY,SAAS,MAAA,GAAA,oBAAA,cAAK,OAAA,CAAO,SAAS,GAC3D,gBAAgB,SAAS;EAE3B,SAAS,SAAS;CACpB,GACA;EAAC;EAAY;EAAc;EAAU;CAAQ,CAGlB,CAAC;AAChC;AAEA,SAAS,mBAAmB,IAAyC;CACnE,OAAO,cAAc;AACvB;AAyCA,SAAgB,0BAGd,EACA,cAAc,kBACd,OACA,UAAU,gBAC6B;CACvC,MAAM,WAAWA,YAAAA,eAAe,YAAY;CAC5C,MAAM,CAAC,cAAc,oBAAA,GAAmBC,MAAAA,SAAAA,CAAS,gBAAgB;CACjE,MAAM,aAAa,EAAA,GAAA,oBAAA,cAAC,YAAA,CAAY,KAAK;CACrC,MAAM,eAAgB,aAAa,QAAQ;CAC3C,MAAM,WAAA,GAAA,oBAAA,cAAU,UAAA,CAAU,YAAY;CAiBtC,OAAO,CAAC,cAfSD,YAAAA,gBACd,OAAuB;EACtB,MAAM,QACJ,WAAW,mBAAmB,GAAG,MAAM,IAClC,GAAG,OAAO,UACV,GAAG,OAAO;EAEjB,IAAI,CAAC,eAAA,GAAA,oBAAA,cAAc,YAAA,CAAY,KAAK,MAAA,GAAA,oBAAA,cAAK,OAAA,CAAO,KAAK,GACnD,gBAAgB,KAAK;EAEvB,SAAS,EAAE;CACb,GACA;EAAC;EAAY;EAAc;CAAQ,CAGR,CAAC;AAChC"}
@@ -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","useState","useCallback"],"sources":["../../../../src/hooks/use-counter/index.ts"],"sourcesContent":["\"use client\"\n\nimport { useCallback, useState } from \"react\"\nimport {\n clampNumber,\n countDecimal,\n toPrecision,\n useCallbackRef,\n} from \"../../utils\"\n\nconst parse = (value: number | string): number =>\n parseFloat(value.toString().replace(/[^\\w.-]+/g, \"\"))\n\nconst getCountDecimal = (value: number, step: number): number =>\n Math.max(countDecimal(step), countDecimal(value))\n\nconst casting = (\n value: number | string,\n step: number,\n precision?: number,\n): string | undefined => {\n value = parse(value)\n\n return !Number.isNaN(value)\n ? toPrecision(value, precision ?? getCountDecimal(value, step))\n : undefined\n}\n\nexport interface UseCounterProps {\n /**\n * The initial value of the counter.\n * Should be less than `max` and greater than `min`.\n */\n defaultValue?: number | string\n /**\n * This controls the value update behavior in general.\n *\n * - If `true` and you use the stepper or up/down arrow keys,\n * the value will not exceed the `max` or go lower than `min`.\n *\n * - If `false`, the value will be allowed to go out of range.\n *\n * @default true\n */\n keepWithinRange?: boolean\n /**\n * The maximum value of the counter\n *\n * @default Number.MAX_SAFE_INTEGER\n */\n max?: number\n /**\n * The minimum value of the counter\n *\n * @default Number.MIN_SAFE_INTEGER\n */\n min?: number\n /**\n * The number of decimal points used to round the value.\n */\n precision?: number\n /**\n * The step used to increment or decrement the value.\n *\n * @default 1\n */\n step?: number\n /**\n * The value of the counter.\n * Should be less than `max` and greater than `min`.\n */\n value?: number | string\n /**\n * The callback fired when the value changes.\n */\n onChange?: (valueAsString: string, valueAsNumber: number) => void\n}\n\n/**\n * `useCounter` is a custom hook that returns the current counter value.\n *\n * @see https://yamada-ui.com/docs/hooks/use-counter\n */\nexport const useCounter = ({\n keepWithinRange = true,\n max: maxValue = Number.MAX_SAFE_INTEGER,\n min: minValue = Number.MIN_SAFE_INTEGER,\n step: stepProp = 1,\n ...props\n}: UseCounterProps = {}) => {\n const onChange = useCallbackRef(props.onChange)\n\n const [defaultValue, setValue] = useState<number | string>(() => {\n if (props.defaultValue == null) return \"\"\n\n return casting(props.defaultValue, stepProp, props.precision) ?? \"\"\n })\n\n const isControlled = typeof props.value !== \"undefined\"\n const value = isControlled ? (props.value as number | string) : defaultValue\n\n const countDecimal = getCountDecimal(parse(value), stepProp)\n\n const precision = props.precision ?? countDecimal\n\n const update = useCallback(\n (next: number | string) => {\n if (next === value) return\n\n if (!isControlled) setValue(next.toString())\n\n onChange(next.toString(), parse(next))\n },\n [onChange, isControlled, value],\n )\n\n const clamp = useCallback(\n (value: number) => {\n let nextValue = value\n\n if (keepWithinRange)\n nextValue = clampNumber(nextValue, minValue, maxValue)\n\n return toPrecision(nextValue, precision)\n },\n [precision, keepWithinRange, maxValue, minValue],\n )\n\n const increment = useCallback(\n (step = stepProp) => {\n let next: number | string\n\n if (value === \"\") next = parse(step)\n else next = parse(value) + step\n\n next = clamp(next)\n\n update(next)\n },\n [clamp, stepProp, update, value],\n )\n\n const decrement = useCallback(\n (step = stepProp) => {\n let next: number | string\n\n if (value === \"\") next = parse(-step)\n else next = parse(value) - step\n\n next = clamp(next)\n\n update(next)\n },\n [clamp, stepProp, update, value],\n )\n\n const reset = useCallback(() => {\n let next: number | string\n\n if (props.defaultValue == null) next = \"\"\n else\n next = casting(props.defaultValue, stepProp, props.precision) ?? minValue\n\n update(next)\n }, [props.defaultValue, props.precision, stepProp, update, minValue])\n\n const cast = useCallback(\n (value: number | string) => {\n const nextValue = casting(value, stepProp, precision) ?? minValue\n\n update(nextValue)\n },\n [precision, stepProp, update, minValue],\n )\n\n const valueAsNumber = parse(value)\n\n const out = valueAsNumber < minValue || maxValue < valueAsNumber\n const max = valueAsNumber === maxValue\n const min = valueAsNumber === minValue\n\n return {\n cast,\n clamp,\n decrement,\n increment,\n max,\n min,\n out,\n precision,\n reset,\n setValue,\n step: stepProp,\n update,\n value,\n valueAsNumber,\n }\n}\n\nexport type UseCounterReturn = ReturnType<typeof useCounter>\n"],"mappings":"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"}
1
+ {"version":3,"file":"index.cjs","names":["useCallbackRef","useState","useCallback"],"sources":["../../../../src/hooks/use-counter/index.ts"],"sourcesContent":["\"use client\"\n\nimport { useCallback, useState } from \"react\"\nimport {\n clampNumber,\n countDecimal,\n toPrecision,\n useCallbackRef,\n} from \"../../utils\"\n\nconst parse = (value: number | string): number =>\n parseFloat(value.toString().replace(/[^\\w.-]+/g, \"\"))\n\nconst getCountDecimal = (value: number, step: number): number =>\n Math.max(countDecimal(step), countDecimal(value))\n\nconst casting = (\n value: number | string,\n step: number,\n precision?: number,\n): string | undefined => {\n value = parse(value)\n\n return !Number.isNaN(value)\n ? toPrecision(value, precision ?? getCountDecimal(value, step))\n : undefined\n}\n\nexport interface UseCounterProps {\n /**\n * The initial value of the counter.\n * Should be less than `max` and greater than `min`.\n */\n defaultValue?: number | string\n /**\n * This controls the value update behavior in general.\n *\n * - If `true` and you use the stepper or up/down arrow keys,\n * the value will not exceed the `max` or go lower than `min`.\n *\n * - If `false`, the value will be allowed to go out of range.\n *\n * @default true\n */\n keepWithinRange?: boolean\n /**\n * The maximum value of the counter\n *\n * @default Number.MAX_SAFE_INTEGER\n */\n max?: number\n /**\n * The minimum value of the counter\n *\n * @default Number.MIN_SAFE_INTEGER\n */\n min?: number\n /**\n * The number of decimal points used to round the value.\n */\n precision?: number\n /**\n * The step used to increment or decrement the value.\n *\n * @default 1\n */\n step?: number\n /**\n * The value of the counter.\n * Should be less than `max` and greater than `min`.\n */\n value?: number | string\n /**\n * The callback fired when the value changes.\n */\n onChange?: (valueAsString: string, valueAsNumber: number) => void\n}\n\n/**\n * `useCounter` is a custom hook that returns the current counter value.\n *\n * @see https://yamada-ui.com/docs/hooks/use-counter\n */\nexport const useCounter = ({\n keepWithinRange = true,\n max: maxValue = Number.MAX_SAFE_INTEGER,\n min: minValue = Number.MIN_SAFE_INTEGER,\n step: stepProp = 1,\n ...props\n}: UseCounterProps = {}) => {\n const onChange = useCallbackRef(props.onChange)\n\n const [defaultValue, setValue] = useState<number | string>(() => {\n if (props.defaultValue == null) return \"\"\n\n return casting(props.defaultValue, stepProp, props.precision) ?? \"\"\n })\n\n const isControlled = typeof props.value !== \"undefined\"\n const value = isControlled ? (props.value as number | string) : defaultValue\n\n const countDecimal = getCountDecimal(parse(value), stepProp)\n\n const precision = props.precision ?? countDecimal\n\n const update = useCallback(\n (next: number | string) => {\n if (next === value) return\n\n if (!isControlled) setValue(next.toString())\n\n onChange(next.toString(), parse(next))\n },\n [onChange, isControlled, value],\n )\n\n const clamp = useCallback(\n (value: number) => {\n let nextValue = value\n\n if (keepWithinRange)\n nextValue = clampNumber(nextValue, minValue, maxValue)\n\n return toPrecision(nextValue, precision)\n },\n [precision, keepWithinRange, maxValue, minValue],\n )\n\n const increment = useCallback(\n (step = stepProp) => {\n let next: number | string\n\n if (value === \"\") next = parse(step)\n else next = parse(value) + step\n\n next = clamp(next)\n\n update(next)\n },\n [clamp, stepProp, update, value],\n )\n\n const decrement = useCallback(\n (step = stepProp) => {\n let next: number | string\n\n if (value === \"\") next = parse(-step)\n else next = parse(value) - step\n\n next = clamp(next)\n\n update(next)\n },\n [clamp, stepProp, update, value],\n )\n\n const reset = useCallback(() => {\n let next: number | string\n\n if (props.defaultValue == null) next = \"\"\n else\n next = casting(props.defaultValue, stepProp, props.precision) ?? minValue\n\n update(next)\n }, [props.defaultValue, props.precision, stepProp, update, minValue])\n\n const cast = useCallback(\n (value: number | string) => {\n const nextValue = casting(value, stepProp, precision) ?? minValue\n\n update(nextValue)\n },\n [precision, stepProp, update, minValue],\n )\n\n const valueAsNumber = parse(value)\n\n const out = valueAsNumber < minValue || maxValue < valueAsNumber\n const max = valueAsNumber === maxValue\n const min = valueAsNumber === minValue\n\n return {\n cast,\n clamp,\n decrement,\n increment,\n max,\n min,\n out,\n precision,\n reset,\n setValue,\n step: stepProp,\n update,\n value,\n valueAsNumber,\n }\n}\n\nexport type UseCounterReturn = ReturnType<typeof useCounter>\n"],"mappings":"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"}