@yamada-ui/react 2.2.5-dev-20260720084813 → 2.2.5-dev-20260720123845

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 (2527) hide show
  1. package/dist/cjs/components/accordion/accordion.cjs +39 -35
  2. package/dist/cjs/components/accordion/accordion.cjs.map +1 -1
  3. package/dist/cjs/components/action-bar/action-bar.cjs +14 -13
  4. package/dist/cjs/components/action-bar/action-bar.cjs.map +1 -1
  5. package/dist/cjs/components/alert/alert.cjs +2 -1
  6. package/dist/cjs/components/alert/alert.cjs.map +1 -1
  7. package/dist/cjs/components/alpha-slider/alpha-slider.cjs +12 -11
  8. package/dist/cjs/components/alpha-slider/alpha-slider.cjs.map +1 -1
  9. package/dist/cjs/components/autocomplete/use-autocomplete.cjs +4 -1
  10. package/dist/cjs/components/autocomplete/use-autocomplete.cjs.map +1 -1
  11. package/dist/cjs/components/blockquote/blockquote.cjs +5 -4
  12. package/dist/cjs/components/blockquote/blockquote.cjs.map +1 -1
  13. package/dist/cjs/components/breadcrumb/breadcrumb.cjs +5 -4
  14. package/dist/cjs/components/breadcrumb/breadcrumb.cjs.map +1 -1
  15. package/dist/cjs/components/button/button.cjs +14 -13
  16. package/dist/cjs/components/button/button.cjs.map +1 -1
  17. package/dist/cjs/components/calendar/calendar.cjs +102 -100
  18. package/dist/cjs/components/calendar/calendar.cjs.map +1 -1
  19. package/dist/cjs/components/calendar/use-calendar.cjs +8 -2
  20. package/dist/cjs/components/calendar/use-calendar.cjs.map +1 -1
  21. package/dist/cjs/components/carousel/use-carousel.cjs +2 -1
  22. package/dist/cjs/components/carousel/use-carousel.cjs.map +1 -1
  23. package/dist/cjs/components/chart/cartesian-chart.cjs +18 -17
  24. package/dist/cjs/components/chart/cartesian-chart.cjs.map +1 -1
  25. package/dist/cjs/components/chart/chart.cjs +13 -10
  26. package/dist/cjs/components/chart/chart.cjs.map +1 -1
  27. package/dist/cjs/components/chart/polar-chart.cjs +22 -20
  28. package/dist/cjs/components/chart/polar-chart.cjs.map +1 -1
  29. package/dist/cjs/components/color-picker/color-picker.cjs +12 -11
  30. package/dist/cjs/components/color-picker/color-picker.cjs.map +1 -1
  31. package/dist/cjs/components/color-selector/color-selector.cjs +41 -40
  32. package/dist/cjs/components/color-selector/color-selector.cjs.map +1 -1
  33. package/dist/cjs/components/data-list/data-list.cjs +5 -4
  34. package/dist/cjs/components/data-list/data-list.cjs.map +1 -1
  35. package/dist/cjs/components/date-picker/use-date-picker.cjs +3 -1
  36. package/dist/cjs/components/date-picker/use-date-picker.cjs.map +1 -1
  37. package/dist/cjs/components/drawer/drawer.cjs +16 -15
  38. package/dist/cjs/components/drawer/drawer.cjs.map +1 -1
  39. package/dist/cjs/components/dropzone/dropzone.cjs +12 -11
  40. package/dist/cjs/components/dropzone/dropzone.cjs.map +1 -1
  41. package/dist/cjs/components/field/field.cjs +26 -25
  42. package/dist/cjs/components/field/field.cjs.map +1 -1
  43. package/dist/cjs/components/fieldset/fieldset.cjs +14 -13
  44. package/dist/cjs/components/fieldset/fieldset.cjs.map +1 -1
  45. package/dist/cjs/components/focus-lock/focus-lock.cjs +15 -12
  46. package/dist/cjs/components/focus-lock/focus-lock.cjs.map +1 -1
  47. package/dist/cjs/components/form/form.cjs +32 -31
  48. package/dist/cjs/components/form/form.cjs.map +1 -1
  49. package/dist/cjs/components/format/use-format-byte.cjs +2 -1
  50. package/dist/cjs/components/format/use-format-byte.cjs.map +1 -1
  51. package/dist/cjs/components/icon/icons/circle-euro-sign-icon.cjs +14 -0
  52. package/dist/cjs/components/icon/icons/circle-euro-sign-icon.cjs.map +1 -0
  53. package/dist/cjs/components/icon/icons/index.cjs +3 -0
  54. package/dist/cjs/components/icon/icons/index.cjs.map +1 -1
  55. package/dist/cjs/components/icon/index.cjs +2 -0
  56. package/dist/cjs/components/link-box/link-box.cjs +2 -1
  57. package/dist/cjs/components/link-box/link-box.cjs.map +1 -1
  58. package/dist/cjs/components/loading/loading-provider.cjs +6 -5
  59. package/dist/cjs/components/loading/loading-provider.cjs.map +1 -1
  60. package/dist/cjs/components/menu/menu.cjs +44 -41
  61. package/dist/cjs/components/menu/menu.cjs.map +1 -1
  62. package/dist/cjs/components/menu/use-menu.cjs +28 -14
  63. package/dist/cjs/components/menu/use-menu.cjs.map +1 -1
  64. package/dist/cjs/components/modal/modal.cjs +14 -13
  65. package/dist/cjs/components/modal/modal.cjs.map +1 -1
  66. package/dist/cjs/components/motion/motion.cjs +2 -1
  67. package/dist/cjs/components/motion/motion.cjs.map +1 -1
  68. package/dist/cjs/components/native-accordion/native-accordion.cjs +21 -18
  69. package/dist/cjs/components/native-accordion/native-accordion.cjs.map +1 -1
  70. package/dist/cjs/components/native-popover/native-popover.cjs +20 -19
  71. package/dist/cjs/components/native-popover/native-popover.cjs.map +1 -1
  72. package/dist/cjs/components/native-popover/use-native-popover.cjs +2 -1
  73. package/dist/cjs/components/native-popover/use-native-popover.cjs.map +1 -1
  74. package/dist/cjs/components/notice/notice-provider.cjs +14 -12
  75. package/dist/cjs/components/notice/notice-provider.cjs.map +1 -1
  76. package/dist/cjs/components/pagination/use-pagination.cjs +8 -5
  77. package/dist/cjs/components/pagination/use-pagination.cjs.map +1 -1
  78. package/dist/cjs/components/pin-input/pin-input.cjs +10 -9
  79. package/dist/cjs/components/pin-input/pin-input.cjs.map +1 -1
  80. package/dist/cjs/components/popover/popover.cjs +26 -25
  81. package/dist/cjs/components/popover/popover.cjs.map +1 -1
  82. package/dist/cjs/components/qr-code/qr-code.cjs +12 -11
  83. package/dist/cjs/components/qr-code/qr-code.cjs.map +1 -1
  84. package/dist/cjs/components/rating/rating.cjs +62 -60
  85. package/dist/cjs/components/rating/rating.cjs.map +1 -1
  86. package/dist/cjs/components/rating/use-rating.cjs +6 -3
  87. package/dist/cjs/components/rating/use-rating.cjs.map +1 -1
  88. package/dist/cjs/components/saturation-slider/saturation-slider.cjs +5 -4
  89. package/dist/cjs/components/saturation-slider/saturation-slider.cjs.map +1 -1
  90. package/dist/cjs/components/saturation-slider/use-saturation-slider.cjs +2 -1
  91. package/dist/cjs/components/saturation-slider/use-saturation-slider.cjs.map +1 -1
  92. package/dist/cjs/components/segmented-control/segmented-control.cjs +23 -21
  93. package/dist/cjs/components/segmented-control/segmented-control.cjs.map +1 -1
  94. package/dist/cjs/components/sidebar/sidebar.cjs +151 -145
  95. package/dist/cjs/components/sidebar/sidebar.cjs.map +1 -1
  96. package/dist/cjs/components/sidebar/use-sidebar.cjs +4 -2
  97. package/dist/cjs/components/sidebar/use-sidebar.cjs.map +1 -1
  98. package/dist/cjs/components/slider/slider.cjs +16 -15
  99. package/dist/cjs/components/slider/slider.cjs.map +1 -1
  100. package/dist/cjs/components/slider/use-slider.cjs +2 -1
  101. package/dist/cjs/components/slider/use-slider.cjs.map +1 -1
  102. package/dist/cjs/components/tag/tag.cjs +2 -1
  103. package/dist/cjs/components/tag/tag.cjs.map +1 -1
  104. package/dist/cjs/components/tree/tree.cjs +123 -118
  105. package/dist/cjs/components/tree/tree.cjs.map +1 -1
  106. package/dist/cjs/components/tree/use-tree.cjs +20 -9
  107. package/dist/cjs/components/tree/use-tree.cjs.map +1 -1
  108. package/dist/cjs/core/components/create-component.cjs +12 -6
  109. package/dist/cjs/core/components/create-component.cjs.map +1 -1
  110. package/dist/cjs/core/css/color-mix.cjs +2 -1
  111. package/dist/cjs/core/css/color-mix.cjs.map +1 -1
  112. package/dist/cjs/core/system/color-mode-provider.cjs +16 -14
  113. package/dist/cjs/core/system/color-mode-provider.cjs.map +1 -1
  114. package/dist/cjs/core/system/create-system.cjs +2 -1
  115. package/dist/cjs/core/system/create-system.cjs.map +1 -1
  116. package/dist/cjs/core/system/environment-provider.cjs +15 -14
  117. package/dist/cjs/core/system/environment-provider.cjs.map +1 -1
  118. package/dist/cjs/core/system/system-provider.cjs +6 -5
  119. package/dist/cjs/core/system/system-provider.cjs.map +1 -1
  120. package/dist/cjs/core/system/theme-provider.cjs +2 -1
  121. package/dist/cjs/core/system/theme-provider.cjs.map +1 -1
  122. package/dist/cjs/hooks/use-clipboard/index.cjs +2 -1
  123. package/dist/cjs/hooks/use-clipboard/index.cjs.map +1 -1
  124. package/dist/cjs/hooks/use-combobox/index.cjs +2 -1
  125. package/dist/cjs/hooks/use-combobox/index.cjs.map +1 -1
  126. package/dist/cjs/hooks/use-counter/index.cjs +2 -1
  127. package/dist/cjs/hooks/use-counter/index.cjs.map +1 -1
  128. package/dist/cjs/hooks/use-descendants/index.cjs +4 -2
  129. package/dist/cjs/hooks/use-descendants/index.cjs.map +1 -1
  130. package/dist/cjs/hooks/use-pan-event/index.cjs +6 -2
  131. package/dist/cjs/hooks/use-pan-event/index.cjs.map +1 -1
  132. package/dist/cjs/index.cjs +3 -0
  133. package/dist/esm/components/accordion/accordion.js +39 -35
  134. package/dist/esm/components/accordion/accordion.js.map +1 -1
  135. package/dist/esm/components/action-bar/action-bar.js +14 -13
  136. package/dist/esm/components/action-bar/action-bar.js.map +1 -1
  137. package/dist/esm/components/alert/alert.js +2 -1
  138. package/dist/esm/components/alert/alert.js.map +1 -1
  139. package/dist/esm/components/alpha-slider/alpha-slider.js +12 -11
  140. package/dist/esm/components/alpha-slider/alpha-slider.js.map +1 -1
  141. package/dist/esm/components/autocomplete/use-autocomplete.js +4 -1
  142. package/dist/esm/components/autocomplete/use-autocomplete.js.map +1 -1
  143. package/dist/esm/components/blockquote/blockquote.js +5 -4
  144. package/dist/esm/components/blockquote/blockquote.js.map +1 -1
  145. package/dist/esm/components/breadcrumb/breadcrumb.js +5 -4
  146. package/dist/esm/components/breadcrumb/breadcrumb.js.map +1 -1
  147. package/dist/esm/components/button/button.js +14 -13
  148. package/dist/esm/components/button/button.js.map +1 -1
  149. package/dist/esm/components/calendar/calendar.js +102 -100
  150. package/dist/esm/components/calendar/calendar.js.map +1 -1
  151. package/dist/esm/components/calendar/use-calendar.js +8 -2
  152. package/dist/esm/components/calendar/use-calendar.js.map +1 -1
  153. package/dist/esm/components/carousel/use-carousel.js +2 -1
  154. package/dist/esm/components/carousel/use-carousel.js.map +1 -1
  155. package/dist/esm/components/chart/cartesian-chart.js +18 -17
  156. package/dist/esm/components/chart/cartesian-chart.js.map +1 -1
  157. package/dist/esm/components/chart/chart.js +13 -10
  158. package/dist/esm/components/chart/chart.js.map +1 -1
  159. package/dist/esm/components/chart/polar-chart.js +22 -20
  160. package/dist/esm/components/chart/polar-chart.js.map +1 -1
  161. package/dist/esm/components/color-picker/color-picker.js +12 -11
  162. package/dist/esm/components/color-picker/color-picker.js.map +1 -1
  163. package/dist/esm/components/color-selector/color-selector.js +41 -40
  164. package/dist/esm/components/color-selector/color-selector.js.map +1 -1
  165. package/dist/esm/components/data-list/data-list.js +5 -4
  166. package/dist/esm/components/data-list/data-list.js.map +1 -1
  167. package/dist/esm/components/date-picker/use-date-picker.js +3 -1
  168. package/dist/esm/components/date-picker/use-date-picker.js.map +1 -1
  169. package/dist/esm/components/drawer/drawer.js +16 -15
  170. package/dist/esm/components/drawer/drawer.js.map +1 -1
  171. package/dist/esm/components/dropzone/dropzone.js +12 -11
  172. package/dist/esm/components/dropzone/dropzone.js.map +1 -1
  173. package/dist/esm/components/field/field.js +26 -25
  174. package/dist/esm/components/field/field.js.map +1 -1
  175. package/dist/esm/components/fieldset/fieldset.js +14 -13
  176. package/dist/esm/components/fieldset/fieldset.js.map +1 -1
  177. package/dist/esm/components/focus-lock/focus-lock.js +15 -12
  178. package/dist/esm/components/focus-lock/focus-lock.js.map +1 -1
  179. package/dist/esm/components/form/form.js +32 -31
  180. package/dist/esm/components/form/form.js.map +1 -1
  181. package/dist/esm/components/format/use-format-byte.js +2 -1
  182. package/dist/esm/components/format/use-format-byte.js.map +1 -1
  183. package/dist/esm/components/hue-slider/hue-slider.js +2 -1
  184. package/dist/esm/components/hue-slider/hue-slider.js.map +1 -1
  185. package/dist/esm/components/icon/icons/circle-euro-sign-icon.js +14 -0
  186. package/dist/esm/components/icon/icons/circle-euro-sign-icon.js.map +1 -0
  187. package/dist/esm/components/icon/icons/index.js +3 -1
  188. package/dist/esm/components/icon/icons/index.js.map +1 -1
  189. package/dist/esm/components/icon/index.js +2 -1
  190. package/dist/esm/components/link-box/link-box.js +2 -1
  191. package/dist/esm/components/link-box/link-box.js.map +1 -1
  192. package/dist/esm/components/loading/loading-provider.js +6 -5
  193. package/dist/esm/components/loading/loading-provider.js.map +1 -1
  194. package/dist/esm/components/menu/menu.js +44 -41
  195. package/dist/esm/components/menu/menu.js.map +1 -1
  196. package/dist/esm/components/menu/use-menu.js +28 -14
  197. package/dist/esm/components/menu/use-menu.js.map +1 -1
  198. package/dist/esm/components/modal/modal.js +14 -13
  199. package/dist/esm/components/modal/modal.js.map +1 -1
  200. package/dist/esm/components/motion/motion.js +2 -1
  201. package/dist/esm/components/motion/motion.js.map +1 -1
  202. package/dist/esm/components/native-accordion/native-accordion.js +21 -18
  203. package/dist/esm/components/native-accordion/native-accordion.js.map +1 -1
  204. package/dist/esm/components/native-popover/native-popover.js +20 -19
  205. package/dist/esm/components/native-popover/native-popover.js.map +1 -1
  206. package/dist/esm/components/native-popover/use-native-popover.js +2 -1
  207. package/dist/esm/components/native-popover/use-native-popover.js.map +1 -1
  208. package/dist/esm/components/notice/notice-provider.js +14 -12
  209. package/dist/esm/components/notice/notice-provider.js.map +1 -1
  210. package/dist/esm/components/pagination/use-pagination.js +8 -5
  211. package/dist/esm/components/pagination/use-pagination.js.map +1 -1
  212. package/dist/esm/components/pin-input/pin-input.js +10 -9
  213. package/dist/esm/components/pin-input/pin-input.js.map +1 -1
  214. package/dist/esm/components/popover/popover.js +26 -25
  215. package/dist/esm/components/popover/popover.js.map +1 -1
  216. package/dist/esm/components/qr-code/qr-code.js +12 -11
  217. package/dist/esm/components/qr-code/qr-code.js.map +1 -1
  218. package/dist/esm/components/rating/rating.js +62 -60
  219. package/dist/esm/components/rating/rating.js.map +1 -1
  220. package/dist/esm/components/rating/use-rating.js +6 -3
  221. package/dist/esm/components/rating/use-rating.js.map +1 -1
  222. package/dist/esm/components/saturation-slider/saturation-slider.js +5 -4
  223. package/dist/esm/components/saturation-slider/saturation-slider.js.map +1 -1
  224. package/dist/esm/components/saturation-slider/use-saturation-slider.js +2 -1
  225. package/dist/esm/components/saturation-slider/use-saturation-slider.js.map +1 -1
  226. package/dist/esm/components/segmented-control/segmented-control.js +23 -21
  227. package/dist/esm/components/segmented-control/segmented-control.js.map +1 -1
  228. package/dist/esm/components/sidebar/sidebar.js +151 -145
  229. package/dist/esm/components/sidebar/sidebar.js.map +1 -1
  230. package/dist/esm/components/sidebar/use-sidebar.js +4 -2
  231. package/dist/esm/components/sidebar/use-sidebar.js.map +1 -1
  232. package/dist/esm/components/slider/slider.js +16 -15
  233. package/dist/esm/components/slider/slider.js.map +1 -1
  234. package/dist/esm/components/slider/use-slider.js +2 -1
  235. package/dist/esm/components/slider/use-slider.js.map +1 -1
  236. package/dist/esm/components/tag/tag.js +2 -1
  237. package/dist/esm/components/tag/tag.js.map +1 -1
  238. package/dist/esm/components/tree/tree.js +123 -118
  239. package/dist/esm/components/tree/tree.js.map +1 -1
  240. package/dist/esm/components/tree/use-tree.js +20 -9
  241. package/dist/esm/components/tree/use-tree.js.map +1 -1
  242. package/dist/esm/core/components/create-component.js +12 -6
  243. package/dist/esm/core/components/create-component.js.map +1 -1
  244. package/dist/esm/core/css/color-mix.js +2 -1
  245. package/dist/esm/core/css/color-mix.js.map +1 -1
  246. package/dist/esm/core/system/color-mode-provider.js +16 -14
  247. package/dist/esm/core/system/color-mode-provider.js.map +1 -1
  248. package/dist/esm/core/system/create-system.js +2 -1
  249. package/dist/esm/core/system/create-system.js.map +1 -1
  250. package/dist/esm/core/system/environment-provider.js +15 -14
  251. package/dist/esm/core/system/environment-provider.js.map +1 -1
  252. package/dist/esm/core/system/system-provider.js +6 -5
  253. package/dist/esm/core/system/system-provider.js.map +1 -1
  254. package/dist/esm/core/system/theme-provider.js +2 -1
  255. package/dist/esm/core/system/theme-provider.js.map +1 -1
  256. package/dist/esm/hooks/use-clipboard/index.js +2 -1
  257. package/dist/esm/hooks/use-clipboard/index.js.map +1 -1
  258. package/dist/esm/hooks/use-combobox/index.js +2 -1
  259. package/dist/esm/hooks/use-combobox/index.js.map +1 -1
  260. package/dist/esm/hooks/use-counter/index.js +2 -1
  261. package/dist/esm/hooks/use-counter/index.js.map +1 -1
  262. package/dist/esm/hooks/use-descendants/index.js +4 -2
  263. package/dist/esm/hooks/use-descendants/index.js.map +1 -1
  264. package/dist/esm/hooks/use-pan-event/index.js +6 -2
  265. package/dist/esm/hooks/use-pan-event/index.js.map +1 -1
  266. package/dist/esm/index.js +3 -1
  267. package/dist/types/components/accordion/accordion.d.ts +5 -1
  268. package/dist/types/components/accordion/accordion.style.d.ts +1 -0
  269. package/dist/types/components/accordion/namespace.d.ts +0 -2
  270. package/dist/types/components/accordion/use-accordion.d.ts +54 -63
  271. package/dist/types/components/action-bar/action-bar.d.ts +4 -1
  272. package/dist/types/components/action-bar/action-bar.style.d.ts +1 -0
  273. package/dist/types/components/action-bar/namespace.d.ts +0 -2
  274. package/dist/types/components/action-bar/use-action-bar.d.ts +2 -9
  275. package/dist/types/components/airy/airy.d.ts +3 -1
  276. package/dist/types/components/airy/airy.style.d.ts +1 -0
  277. package/dist/types/components/alert/alert.d.ts +5 -0
  278. package/dist/types/components/alert/alert.style.d.ts +1 -0
  279. package/dist/types/components/alert/namespace.d.ts +0 -2
  280. package/dist/types/components/alpha-slider/alpha-slider.d.ts +3 -0
  281. package/dist/types/components/alpha-slider/alpha-slider.style.d.ts +1 -0
  282. package/dist/types/components/alpha-slider/namespace.d.ts +0 -2
  283. package/dist/types/components/aspect-ratio/aspect-ratio.d.ts +2 -0
  284. package/dist/types/components/aspect-ratio/aspect-ratio.style.d.ts +1 -0
  285. package/dist/types/components/autocomplete/autocomplete.d.ts +4 -1
  286. package/dist/types/components/autocomplete/autocomplete.style.d.ts +1 -0
  287. package/dist/types/components/autocomplete/namespace.d.ts +0 -2
  288. package/dist/types/components/autocomplete/use-autocomplete.d.ts +5 -9
  289. package/dist/types/components/avatar/avatar-group.d.ts +2 -0
  290. package/dist/types/components/avatar/avatar.d.ts +289 -296
  291. package/dist/types/components/avatar/avatar.style.d.ts +2 -1
  292. package/dist/types/components/avatar/namespace.d.ts +0 -2
  293. package/dist/types/components/avatar/use-avatar-group.d.ts +2 -6
  294. package/dist/types/components/avatar/use-avatar.d.ts +2 -14
  295. package/dist/types/components/badge/badge.d.ts +2 -0
  296. package/dist/types/components/badge/badge.style.d.ts +1 -0
  297. package/dist/types/components/bleed/bleed.d.ts +2 -0
  298. package/dist/types/components/bleed/bleed.style.d.ts +1 -0
  299. package/dist/types/components/blockquote/blockquote.d.ts +2 -1
  300. package/dist/types/components/blockquote/blockquote.style.d.ts +1 -0
  301. package/dist/types/components/blockquote/namespace.d.ts +0 -2
  302. package/dist/types/components/box/box.d.ts +2 -0
  303. package/dist/types/components/breadcrumb/breadcrumb.d.ts +2 -1
  304. package/dist/types/components/breadcrumb/breadcrumb.style.d.ts +1 -0
  305. package/dist/types/components/breadcrumb/namespace.d.ts +0 -2
  306. package/dist/types/components/breadcrumb/use-breadcrumb.d.ts +3 -10
  307. package/dist/types/components/button/button-group.d.ts +2 -1
  308. package/dist/types/components/button/button.d.ts +3 -1
  309. package/dist/types/components/button/button.style.d.ts +1 -0
  310. package/dist/types/components/button/icon-button.d.ts +2 -1
  311. package/dist/types/components/button/icon-button.style.d.ts +1 -0
  312. package/dist/types/components/button/namespace.d.ts +0 -2
  313. package/dist/types/components/calendar/calendar.d.ts +4 -1
  314. package/dist/types/components/calendar/calendar.style.d.ts +3 -2
  315. package/dist/types/components/calendar/namespace.d.ts +0 -2
  316. package/dist/types/components/calendar/use-calendar.d.ts +54 -76
  317. package/dist/types/components/card/card.d.ts +2 -0
  318. package/dist/types/components/card/card.style.d.ts +1 -0
  319. package/dist/types/components/card/namespace.d.ts +0 -2
  320. package/dist/types/components/carousel/carousel.d.ts +3 -1
  321. package/dist/types/components/carousel/carousel.style.d.ts +1 -0
  322. package/dist/types/components/carousel/namespace.d.ts +0 -2
  323. package/dist/types/components/carousel/use-carousel.d.ts +2 -27
  324. package/dist/types/components/center/center.d.ts +2 -0
  325. package/dist/types/components/center/center.style.d.ts +1 -0
  326. package/dist/types/components/chart/area-chart.d.ts +1 -1
  327. package/dist/types/components/chart/area-chart.namespace.d.ts +0 -2
  328. package/dist/types/components/chart/area-chart.style.d.ts +1 -0
  329. package/dist/types/components/chart/bar-chart.d.ts +1 -1
  330. package/dist/types/components/chart/bar-chart.namespace.d.ts +0 -2
  331. package/dist/types/components/chart/bar-chart.style.d.ts +1 -0
  332. package/dist/types/components/chart/cartesian-chart.d.ts +2 -1
  333. package/dist/types/components/chart/cartesian-chart.style.d.ts +1 -0
  334. package/dist/types/components/chart/chart.d.ts +3 -12
  335. package/dist/types/components/chart/chart.style.d.ts +1 -0
  336. package/dist/types/components/chart/composed-chart.d.ts +1 -1
  337. package/dist/types/components/chart/composed-chart.namespace.d.ts +0 -2
  338. package/dist/types/components/chart/composed-chart.style.d.ts +1 -0
  339. package/dist/types/components/chart/donut-chart.d.ts +1 -1
  340. package/dist/types/components/chart/donut-chart.namespace.d.ts +0 -2
  341. package/dist/types/components/chart/donut-chart.style.d.ts +1 -0
  342. package/dist/types/components/chart/line-chart.d.ts +1 -1
  343. package/dist/types/components/chart/line-chart.namespace.d.ts +0 -2
  344. package/dist/types/components/chart/line-chart.style.d.ts +1 -0
  345. package/dist/types/components/chart/pie-chart.d.ts +1 -1
  346. package/dist/types/components/chart/pie-chart.namespace.d.ts +0 -2
  347. package/dist/types/components/chart/pie-chart.style.d.ts +1 -0
  348. package/dist/types/components/chart/polar-chart.d.ts +2 -1
  349. package/dist/types/components/chart/polar-chart.style.d.ts +2 -1
  350. package/dist/types/components/chart/radar-chart.d.ts +1 -1
  351. package/dist/types/components/chart/radar-chart.namespace.d.ts +0 -2
  352. package/dist/types/components/chart/radar-chart.style.d.ts +1 -0
  353. package/dist/types/components/chart/radial-chart.d.ts +1 -1
  354. package/dist/types/components/chart/radial-chart.namespace.d.ts +0 -2
  355. package/dist/types/components/chart/radial-chart.style.d.ts +1 -0
  356. package/dist/types/components/chart/use-cartesian-chart.d.ts +9 -201
  357. package/dist/types/components/chart/use-chart.d.ts +5 -69
  358. package/dist/types/components/chart/use-polar-chart.d.ts +11 -276
  359. package/dist/types/components/checkbox/checkbox-group.d.ts +3 -1
  360. package/dist/types/components/checkbox/checkbox.d.ts +228 -234
  361. package/dist/types/components/checkbox/checkbox.style.d.ts +1 -0
  362. package/dist/types/components/checkbox/namespace.d.ts +0 -2
  363. package/dist/types/components/checkbox/use-checkbox-group.d.ts +2 -1
  364. package/dist/types/components/checkbox/use-checkbox.d.ts +3 -5
  365. package/dist/types/components/checkbox-card/checkbox-card-group.d.ts +4 -1
  366. package/dist/types/components/checkbox-card/checkbox-card-group.namespace.d.ts +0 -2
  367. package/dist/types/components/checkbox-card/checkbox-card.d.ts +372 -377
  368. package/dist/types/components/checkbox-card/checkbox-card.namespace.d.ts +0 -2
  369. package/dist/types/components/checkbox-card/checkbox-card.style.d.ts +1 -0
  370. package/dist/types/components/circle-progress/circle-progress.d.ts +3 -0
  371. package/dist/types/components/circle-progress/circle-progress.style.d.ts +1 -0
  372. package/dist/types/components/circle-progress/namespace.d.ts +0 -2
  373. package/dist/types/components/client-only/client-only.d.ts +1 -1
  374. package/dist/types/components/close-button/close-button.d.ts +3 -0
  375. package/dist/types/components/close-button/close-button.style.d.ts +1 -0
  376. package/dist/types/components/code/code.d.ts +2 -0
  377. package/dist/types/components/code/code.style.d.ts +1 -0
  378. package/dist/types/components/collapse/collapse.d.ts +3 -0
  379. package/dist/types/components/collapse/collapse.style.d.ts +1 -0
  380. package/dist/types/components/color-picker/color-picker.d.ts +6 -1
  381. package/dist/types/components/color-picker/color-picker.style.d.ts +1 -0
  382. package/dist/types/components/color-picker/use-color-picker.d.ts +4 -1
  383. package/dist/types/components/color-selector/color-selector.d.ts +6 -1
  384. package/dist/types/components/color-selector/color-selector.style.d.ts +1 -0
  385. package/dist/types/components/color-selector/namespace.d.ts +0 -2
  386. package/dist/types/components/color-selector/use-color-selector.d.ts +5 -12
  387. package/dist/types/components/color-swatch/color-swatch-group.d.ts +1 -1
  388. package/dist/types/components/color-swatch/color-swatch.d.ts +2 -0
  389. package/dist/types/components/color-swatch/color-swatch.style.d.ts +1 -0
  390. package/dist/types/components/container/container.d.ts +2 -0
  391. package/dist/types/components/container/container.style.d.ts +1 -0
  392. package/dist/types/components/container/namespace.d.ts +0 -2
  393. package/dist/types/components/data-list/data-list.d.ts +2 -1
  394. package/dist/types/components/data-list/data-list.style.d.ts +1 -0
  395. package/dist/types/components/data-list/namespace.d.ts +0 -2
  396. package/dist/types/components/date-picker/date-picker.d.ts +4 -1
  397. package/dist/types/components/date-picker/date-picker.style.d.ts +1 -0
  398. package/dist/types/components/date-picker/use-date-picker.d.ts +5 -6
  399. package/dist/types/components/drawer/drawer.d.ts +7 -1
  400. package/dist/types/components/drawer/drawer.style.d.ts +1 -0
  401. package/dist/types/components/drawer/namespace.d.ts +0 -2
  402. package/dist/types/components/drawer/use-drawer.d.ts +4 -12
  403. package/dist/types/components/dropzone/dropzone.d.ts +6 -11
  404. package/dist/types/components/dropzone/dropzone.style.d.ts +1 -0
  405. package/dist/types/components/dropzone/namespace.d.ts +0 -2
  406. package/dist/types/components/dropzone/use-dropzone.d.ts +2 -1
  407. package/dist/types/components/editable/editable.d.ts +5 -6
  408. package/dist/types/components/editable/editable.style.d.ts +1 -0
  409. package/dist/types/components/editable/namespace.d.ts +0 -2
  410. package/dist/types/components/editable/use-editable.d.ts +2 -0
  411. package/dist/types/components/em/em.d.ts +2 -0
  412. package/dist/types/components/em/em.style.d.ts +1 -0
  413. package/dist/types/components/empty-state/empty-state.d.ts +2 -1
  414. package/dist/types/components/empty-state/empty-state.style.d.ts +1 -0
  415. package/dist/types/components/empty-state/namespace.d.ts +0 -2
  416. package/dist/types/components/fade/fade.d.ts +3 -1
  417. package/dist/types/components/fade/fade.style.d.ts +1 -0
  418. package/dist/types/components/fade-scale/fade-scale.d.ts +3 -1
  419. package/dist/types/components/fade-scale/fade-scale.style.d.ts +1 -0
  420. package/dist/types/components/field/field.d.ts +2 -1
  421. package/dist/types/components/field/field.style.d.ts +3 -2
  422. package/dist/types/components/field/namespace.d.ts +0 -2
  423. package/dist/types/components/field/use-field-props.d.ts +1 -14
  424. package/dist/types/components/fieldset/fieldset.d.ts +3 -1
  425. package/dist/types/components/fieldset/fieldset.style.d.ts +2 -1
  426. package/dist/types/components/fieldset/namespace.d.ts +0 -2
  427. package/dist/types/components/file-button/file-button.d.ts +4 -0
  428. package/dist/types/components/file-button/file-button.style.d.ts +1 -0
  429. package/dist/types/components/file-button/use-file-button.d.ts +4 -0
  430. package/dist/types/components/file-input/file-input.d.ts +4 -1
  431. package/dist/types/components/file-input/file-input.style.d.ts +1 -0
  432. package/dist/types/components/file-input/use-file-input.d.ts +3 -1
  433. package/dist/types/components/flex/flex.d.ts +2 -0
  434. package/dist/types/components/flex/flex.style.d.ts +1 -0
  435. package/dist/types/components/flex/spacer.d.ts +2 -0
  436. package/dist/types/components/flip/flip.d.ts +4 -16
  437. package/dist/types/components/flip/flip.style.d.ts +1 -0
  438. package/dist/types/components/float/float.d.ts +2 -0
  439. package/dist/types/components/float/float.style.d.ts +1 -0
  440. package/dist/types/components/focus-lock/focus-lock.d.ts +0 -1
  441. package/dist/types/components/for/for.d.ts +1 -11
  442. package/dist/types/components/form/form.d.ts +3 -1
  443. package/dist/types/components/form/form.style.d.ts +1 -0
  444. package/dist/types/components/form/namespace.d.ts +0 -2
  445. package/dist/types/components/format/format-byte.d.ts +3 -7
  446. package/dist/types/components/format/format-byte.style.d.ts +1 -0
  447. package/dist/types/components/format/format-date-time.d.ts +3 -25
  448. package/dist/types/components/format/format-date-time.style.d.ts +1 -0
  449. package/dist/types/components/format/format-number.d.ts +2 -0
  450. package/dist/types/components/format/format-number.style.d.ts +1 -0
  451. package/dist/types/components/format/namespace.d.ts +0 -2
  452. package/dist/types/components/format/use-format-byte.d.ts +2 -8
  453. package/dist/types/components/format/use-format-date-time.d.ts +2 -4
  454. package/dist/types/components/format/use-format-number.d.ts +2 -4
  455. package/dist/types/components/grid/grid-item.d.ts +2 -0
  456. package/dist/types/components/grid/grid-item.style.d.ts +1 -0
  457. package/dist/types/components/grid/grid.d.ts +2 -0
  458. package/dist/types/components/grid/grid.style.d.ts +1 -0
  459. package/dist/types/components/group/group.d.ts +3 -0
  460. package/dist/types/components/group/group.style.d.ts +1 -0
  461. package/dist/types/components/group/use-group.d.ts +1 -13
  462. package/dist/types/components/heading/heading.d.ts +2 -0
  463. package/dist/types/components/heading/heading.style.d.ts +1 -0
  464. package/dist/types/components/highlight/highlight.d.ts +2 -1
  465. package/dist/types/components/highlight/use-highlight.d.ts +1 -4
  466. package/dist/types/components/hue-slider/hue-slider.d.ts +3 -0
  467. package/dist/types/components/hue-slider/hue-slider.style.d.ts +1 -0
  468. package/dist/types/components/hue-slider/namespace.d.ts +0 -2
  469. package/dist/types/components/icon/icon.d.ts +3 -11
  470. package/dist/types/components/icon/icon.style.d.ts +1 -0
  471. package/dist/types/components/icon/icons/a-arrow-down-icon.d.ts +1 -1
  472. package/dist/types/components/icon/icons/a-arrow-up-icon.d.ts +1 -1
  473. package/dist/types/components/icon/icons/a-large-small-icon.d.ts +1 -1
  474. package/dist/types/components/icon/icons/accessibility-icon.d.ts +1 -1
  475. package/dist/types/components/icon/icons/activity-icon.d.ts +1 -1
  476. package/dist/types/components/icon/icons/ad-icon.d.ts +1 -1
  477. package/dist/types/components/icon/icons/air-vent-icon.d.ts +1 -1
  478. package/dist/types/components/icon/icons/airplay-icon.d.ts +1 -1
  479. package/dist/types/components/icon/icons/alarm-clock-check-icon.d.ts +1 -1
  480. package/dist/types/components/icon/icons/alarm-clock-icon.d.ts +1 -1
  481. package/dist/types/components/icon/icons/alarm-clock-minus-icon.d.ts +1 -1
  482. package/dist/types/components/icon/icons/alarm-clock-off-icon.d.ts +1 -1
  483. package/dist/types/components/icon/icons/alarm-clock-plus-icon.d.ts +1 -1
  484. package/dist/types/components/icon/icons/alarm-smoke-icon.d.ts +1 -1
  485. package/dist/types/components/icon/icons/album-icon.d.ts +1 -1
  486. package/dist/types/components/icon/icons/align-center-horizontal-icon.d.ts +1 -1
  487. package/dist/types/components/icon/icons/align-center-vertical-icon.d.ts +1 -1
  488. package/dist/types/components/icon/icons/align-end-horizontal-icon.d.ts +1 -1
  489. package/dist/types/components/icon/icons/align-end-vertical-icon.d.ts +1 -1
  490. package/dist/types/components/icon/icons/align-horizontal-distribute-center-icon.d.ts +1 -1
  491. package/dist/types/components/icon/icons/align-horizontal-distribute-end-icon.d.ts +1 -1
  492. package/dist/types/components/icon/icons/align-horizontal-distribute-start-icon.d.ts +1 -1
  493. package/dist/types/components/icon/icons/align-horizontal-justify-center-icon.d.ts +1 -1
  494. package/dist/types/components/icon/icons/align-horizontal-justify-end-icon.d.ts +1 -1
  495. package/dist/types/components/icon/icons/align-horizontal-justify-start-icon.d.ts +1 -1
  496. package/dist/types/components/icon/icons/align-horizontal-space-around-icon.d.ts +1 -1
  497. package/dist/types/components/icon/icons/align-horizontal-space-between-icon.d.ts +1 -1
  498. package/dist/types/components/icon/icons/align-start-horizontal-icon.d.ts +1 -1
  499. package/dist/types/components/icon/icons/align-start-vertical-icon.d.ts +1 -1
  500. package/dist/types/components/icon/icons/align-vertical-distribute-center-icon.d.ts +1 -1
  501. package/dist/types/components/icon/icons/align-vertical-distribute-end-icon.d.ts +1 -1
  502. package/dist/types/components/icon/icons/align-vertical-distribute-start-icon.d.ts +1 -1
  503. package/dist/types/components/icon/icons/align-vertical-justify-center-icon.d.ts +1 -1
  504. package/dist/types/components/icon/icons/align-vertical-justify-end-icon.d.ts +1 -1
  505. package/dist/types/components/icon/icons/align-vertical-justify-start-icon.d.ts +1 -1
  506. package/dist/types/components/icon/icons/align-vertical-space-around-icon.d.ts +1 -1
  507. package/dist/types/components/icon/icons/align-vertical-space-between-icon.d.ts +1 -1
  508. package/dist/types/components/icon/icons/ambulance-icon.d.ts +1 -1
  509. package/dist/types/components/icon/icons/ampersand-icon.d.ts +1 -1
  510. package/dist/types/components/icon/icons/ampersands-icon.d.ts +1 -1
  511. package/dist/types/components/icon/icons/amphora-icon.d.ts +1 -1
  512. package/dist/types/components/icon/icons/anchor-icon.d.ts +1 -1
  513. package/dist/types/components/icon/icons/angry-icon.d.ts +1 -1
  514. package/dist/types/components/icon/icons/annoyed-icon.d.ts +1 -1
  515. package/dist/types/components/icon/icons/antenna-icon.d.ts +1 -1
  516. package/dist/types/components/icon/icons/anvil-icon.d.ts +1 -1
  517. package/dist/types/components/icon/icons/aperture-icon.d.ts +1 -1
  518. package/dist/types/components/icon/icons/app-window-icon.d.ts +1 -1
  519. package/dist/types/components/icon/icons/app-window-mac-icon.d.ts +1 -1
  520. package/dist/types/components/icon/icons/apple-icon.d.ts +1 -1
  521. package/dist/types/components/icon/icons/archive-icon.d.ts +1 -1
  522. package/dist/types/components/icon/icons/archive-restore-icon.d.ts +1 -1
  523. package/dist/types/components/icon/icons/archive-x-icon.d.ts +1 -1
  524. package/dist/types/components/icon/icons/armchair-icon.d.ts +1 -1
  525. package/dist/types/components/icon/icons/arrow-big-down-dash-icon.d.ts +1 -1
  526. package/dist/types/components/icon/icons/arrow-big-down-icon.d.ts +1 -1
  527. package/dist/types/components/icon/icons/arrow-big-left-dash-icon.d.ts +1 -1
  528. package/dist/types/components/icon/icons/arrow-big-left-icon.d.ts +1 -1
  529. package/dist/types/components/icon/icons/arrow-big-right-dash-icon.d.ts +1 -1
  530. package/dist/types/components/icon/icons/arrow-big-right-icon.d.ts +1 -1
  531. package/dist/types/components/icon/icons/arrow-big-up-dash-icon.d.ts +1 -1
  532. package/dist/types/components/icon/icons/arrow-big-up-icon.d.ts +1 -1
  533. package/dist/types/components/icon/icons/arrow-down-a-z-icon.d.ts +1 -1
  534. package/dist/types/components/icon/icons/arrow-down-from-line-icon.d.ts +1 -1
  535. package/dist/types/components/icon/icons/arrow-down-icon.d.ts +1 -1
  536. package/dist/types/components/icon/icons/arrow-down-left-icon.d.ts +1 -1
  537. package/dist/types/components/icon/icons/arrow-down-narrow-wide-icon.d.ts +1 -1
  538. package/dist/types/components/icon/icons/arrow-down-right-icon.d.ts +1 -1
  539. package/dist/types/components/icon/icons/arrow-down-to-dot-icon.d.ts +1 -1
  540. package/dist/types/components/icon/icons/arrow-down-to-line-icon.d.ts +1 -1
  541. package/dist/types/components/icon/icons/arrow-down-up-icon.d.ts +1 -1
  542. package/dist/types/components/icon/icons/arrow-down-wide-narrow-icon.d.ts +1 -1
  543. package/dist/types/components/icon/icons/arrow-down-z-a-icon.d.ts +1 -1
  544. package/dist/types/components/icon/icons/arrow-down01-icon.d.ts +1 -1
  545. package/dist/types/components/icon/icons/arrow-down10-icon.d.ts +1 -1
  546. package/dist/types/components/icon/icons/arrow-left-from-line-icon.d.ts +1 -1
  547. package/dist/types/components/icon/icons/arrow-left-icon.d.ts +1 -1
  548. package/dist/types/components/icon/icons/arrow-left-right-icon.d.ts +1 -1
  549. package/dist/types/components/icon/icons/arrow-left-to-line-icon.d.ts +1 -1
  550. package/dist/types/components/icon/icons/arrow-right-from-line-icon.d.ts +1 -1
  551. package/dist/types/components/icon/icons/arrow-right-icon.d.ts +1 -1
  552. package/dist/types/components/icon/icons/arrow-right-left-icon.d.ts +1 -1
  553. package/dist/types/components/icon/icons/arrow-right-to-line-icon.d.ts +1 -1
  554. package/dist/types/components/icon/icons/arrow-up-a-z-icon.d.ts +1 -1
  555. package/dist/types/components/icon/icons/arrow-up-down-icon.d.ts +1 -1
  556. package/dist/types/components/icon/icons/arrow-up-from-dot-icon.d.ts +1 -1
  557. package/dist/types/components/icon/icons/arrow-up-from-line-icon.d.ts +1 -1
  558. package/dist/types/components/icon/icons/arrow-up-icon.d.ts +1 -1
  559. package/dist/types/components/icon/icons/arrow-up-left-icon.d.ts +1 -1
  560. package/dist/types/components/icon/icons/arrow-up-narrow-wide-icon.d.ts +1 -1
  561. package/dist/types/components/icon/icons/arrow-up-right-icon.d.ts +1 -1
  562. package/dist/types/components/icon/icons/arrow-up-to-line-icon.d.ts +1 -1
  563. package/dist/types/components/icon/icons/arrow-up-wide-narrow-icon.d.ts +1 -1
  564. package/dist/types/components/icon/icons/arrow-up-z-a-icon.d.ts +1 -1
  565. package/dist/types/components/icon/icons/arrow-up01-icon.d.ts +1 -1
  566. package/dist/types/components/icon/icons/arrow-up10-icon.d.ts +1 -1
  567. package/dist/types/components/icon/icons/arrows-up-from-line-icon.d.ts +1 -1
  568. package/dist/types/components/icon/icons/asterisk-icon.d.ts +1 -1
  569. package/dist/types/components/icon/icons/astroid-icon.d.ts +1 -1
  570. package/dist/types/components/icon/icons/at-sign-icon.d.ts +1 -1
  571. package/dist/types/components/icon/icons/atom-icon.d.ts +1 -1
  572. package/dist/types/components/icon/icons/audio-lines-icon.d.ts +1 -1
  573. package/dist/types/components/icon/icons/audio-waveform-icon.d.ts +1 -1
  574. package/dist/types/components/icon/icons/award-icon.d.ts +1 -1
  575. package/dist/types/components/icon/icons/axe-icon.d.ts +1 -1
  576. package/dist/types/components/icon/icons/axis3d-icon.d.ts +1 -1
  577. package/dist/types/components/icon/icons/baby-icon.d.ts +1 -1
  578. package/dist/types/components/icon/icons/backpack-icon.d.ts +1 -1
  579. package/dist/types/components/icon/icons/badge-alert-icon.d.ts +1 -1
  580. package/dist/types/components/icon/icons/badge-cent-icon.d.ts +1 -1
  581. package/dist/types/components/icon/icons/badge-check-icon.d.ts +1 -1
  582. package/dist/types/components/icon/icons/badge-dollar-sign-icon.d.ts +1 -1
  583. package/dist/types/components/icon/icons/badge-euro-icon.d.ts +1 -1
  584. package/dist/types/components/icon/icons/badge-icon.d.ts +1 -1
  585. package/dist/types/components/icon/icons/badge-indian-rupee-icon.d.ts +1 -1
  586. package/dist/types/components/icon/icons/badge-info-icon.d.ts +1 -1
  587. package/dist/types/components/icon/icons/badge-japanese-yen-icon.d.ts +1 -1
  588. package/dist/types/components/icon/icons/badge-minus-icon.d.ts +1 -1
  589. package/dist/types/components/icon/icons/badge-percent-icon.d.ts +1 -1
  590. package/dist/types/components/icon/icons/badge-plus-icon.d.ts +1 -1
  591. package/dist/types/components/icon/icons/badge-pound-sterling-icon.d.ts +1 -1
  592. package/dist/types/components/icon/icons/badge-question-mark-icon.d.ts +1 -1
  593. package/dist/types/components/icon/icons/badge-russian-ruble-icon.d.ts +1 -1
  594. package/dist/types/components/icon/icons/badge-swiss-franc-icon.d.ts +1 -1
  595. package/dist/types/components/icon/icons/badge-turkish-lira-icon.d.ts +1 -1
  596. package/dist/types/components/icon/icons/badge-x-icon.d.ts +1 -1
  597. package/dist/types/components/icon/icons/baggage-claim-icon.d.ts +1 -1
  598. package/dist/types/components/icon/icons/balloon-icon.d.ts +1 -1
  599. package/dist/types/components/icon/icons/ban-icon.d.ts +1 -1
  600. package/dist/types/components/icon/icons/banana-icon.d.ts +1 -1
  601. package/dist/types/components/icon/icons/bandage-icon.d.ts +1 -1
  602. package/dist/types/components/icon/icons/banknote-arrow-down-icon.d.ts +1 -1
  603. package/dist/types/components/icon/icons/banknote-arrow-up-icon.d.ts +1 -1
  604. package/dist/types/components/icon/icons/banknote-check-icon.d.ts +1 -1
  605. package/dist/types/components/icon/icons/banknote-icon.d.ts +1 -1
  606. package/dist/types/components/icon/icons/banknote-x-icon.d.ts +1 -1
  607. package/dist/types/components/icon/icons/barcode-icon.d.ts +1 -1
  608. package/dist/types/components/icon/icons/barrel-icon.d.ts +1 -1
  609. package/dist/types/components/icon/icons/baseline-icon.d.ts +1 -1
  610. package/dist/types/components/icon/icons/bath-icon.d.ts +1 -1
  611. package/dist/types/components/icon/icons/battery-charging-icon.d.ts +1 -1
  612. package/dist/types/components/icon/icons/battery-full-icon.d.ts +1 -1
  613. package/dist/types/components/icon/icons/battery-icon.d.ts +1 -1
  614. package/dist/types/components/icon/icons/battery-low-icon.d.ts +1 -1
  615. package/dist/types/components/icon/icons/battery-medium-icon.d.ts +1 -1
  616. package/dist/types/components/icon/icons/battery-plus-icon.d.ts +1 -1
  617. package/dist/types/components/icon/icons/battery-warning-icon.d.ts +1 -1
  618. package/dist/types/components/icon/icons/beaker-icon.d.ts +1 -1
  619. package/dist/types/components/icon/icons/bean-icon.d.ts +1 -1
  620. package/dist/types/components/icon/icons/bean-off-icon.d.ts +1 -1
  621. package/dist/types/components/icon/icons/bed-double-icon.d.ts +1 -1
  622. package/dist/types/components/icon/icons/bed-icon.d.ts +1 -1
  623. package/dist/types/components/icon/icons/bed-single-icon.d.ts +1 -1
  624. package/dist/types/components/icon/icons/beef-icon.d.ts +1 -1
  625. package/dist/types/components/icon/icons/beef-off-icon.d.ts +1 -1
  626. package/dist/types/components/icon/icons/beer-icon.d.ts +1 -1
  627. package/dist/types/components/icon/icons/beer-off-icon.d.ts +1 -1
  628. package/dist/types/components/icon/icons/bell-check-icon.d.ts +1 -1
  629. package/dist/types/components/icon/icons/bell-dot-icon.d.ts +1 -1
  630. package/dist/types/components/icon/icons/bell-electric-icon.d.ts +1 -1
  631. package/dist/types/components/icon/icons/bell-icon.d.ts +1 -1
  632. package/dist/types/components/icon/icons/bell-minus-icon.d.ts +1 -1
  633. package/dist/types/components/icon/icons/bell-off-icon.d.ts +1 -1
  634. package/dist/types/components/icon/icons/bell-plus-icon.d.ts +1 -1
  635. package/dist/types/components/icon/icons/bell-ring-icon.d.ts +1 -1
  636. package/dist/types/components/icon/icons/between-horizontal-end-icon.d.ts +1 -1
  637. package/dist/types/components/icon/icons/between-horizontal-start-icon.d.ts +1 -1
  638. package/dist/types/components/icon/icons/between-vertical-end-icon.d.ts +1 -1
  639. package/dist/types/components/icon/icons/between-vertical-start-icon.d.ts +1 -1
  640. package/dist/types/components/icon/icons/biceps-flexed-icon.d.ts +1 -1
  641. package/dist/types/components/icon/icons/bike-icon.d.ts +1 -1
  642. package/dist/types/components/icon/icons/binary-icon.d.ts +1 -1
  643. package/dist/types/components/icon/icons/binoculars-icon.d.ts +1 -1
  644. package/dist/types/components/icon/icons/biohazard-icon.d.ts +1 -1
  645. package/dist/types/components/icon/icons/bird-icon.d.ts +1 -1
  646. package/dist/types/components/icon/icons/birdhouse-icon.d.ts +1 -1
  647. package/dist/types/components/icon/icons/bitcoin-icon.d.ts +1 -1
  648. package/dist/types/components/icon/icons/blend-icon.d.ts +1 -1
  649. package/dist/types/components/icon/icons/blender-icon.d.ts +1 -1
  650. package/dist/types/components/icon/icons/blinds-icon.d.ts +1 -1
  651. package/dist/types/components/icon/icons/blocks-icon.d.ts +1 -1
  652. package/dist/types/components/icon/icons/bluetooth-connected-icon.d.ts +1 -1
  653. package/dist/types/components/icon/icons/bluetooth-icon.d.ts +1 -1
  654. package/dist/types/components/icon/icons/bluetooth-off-icon.d.ts +1 -1
  655. package/dist/types/components/icon/icons/bluetooth-searching-icon.d.ts +1 -1
  656. package/dist/types/components/icon/icons/bold-icon.d.ts +1 -1
  657. package/dist/types/components/icon/icons/bolt-icon.d.ts +1 -1
  658. package/dist/types/components/icon/icons/bomb-icon.d.ts +1 -1
  659. package/dist/types/components/icon/icons/bone-fracture-icon.d.ts +1 -1
  660. package/dist/types/components/icon/icons/bone-icon.d.ts +1 -1
  661. package/dist/types/components/icon/icons/book-a-icon.d.ts +1 -1
  662. package/dist/types/components/icon/icons/book-alert-icon.d.ts +1 -1
  663. package/dist/types/components/icon/icons/book-audio-icon.d.ts +1 -1
  664. package/dist/types/components/icon/icons/book-check-icon.d.ts +1 -1
  665. package/dist/types/components/icon/icons/book-copy-icon.d.ts +1 -1
  666. package/dist/types/components/icon/icons/book-dashed-icon.d.ts +1 -1
  667. package/dist/types/components/icon/icons/book-down-icon.d.ts +1 -1
  668. package/dist/types/components/icon/icons/book-headphones-icon.d.ts +1 -1
  669. package/dist/types/components/icon/icons/book-heart-icon.d.ts +1 -1
  670. package/dist/types/components/icon/icons/book-icon.d.ts +1 -1
  671. package/dist/types/components/icon/icons/book-image-icon.d.ts +1 -1
  672. package/dist/types/components/icon/icons/book-key-icon.d.ts +1 -1
  673. package/dist/types/components/icon/icons/book-lock-icon.d.ts +1 -1
  674. package/dist/types/components/icon/icons/book-marked-icon.d.ts +1 -1
  675. package/dist/types/components/icon/icons/book-minus-icon.d.ts +1 -1
  676. package/dist/types/components/icon/icons/book-open-check-icon.d.ts +1 -1
  677. package/dist/types/components/icon/icons/book-open-icon.d.ts +1 -1
  678. package/dist/types/components/icon/icons/book-open-text-icon.d.ts +1 -1
  679. package/dist/types/components/icon/icons/book-plus-icon.d.ts +1 -1
  680. package/dist/types/components/icon/icons/book-search-icon.d.ts +1 -1
  681. package/dist/types/components/icon/icons/book-text-icon.d.ts +1 -1
  682. package/dist/types/components/icon/icons/book-type-icon.d.ts +1 -1
  683. package/dist/types/components/icon/icons/book-up-icon.d.ts +1 -1
  684. package/dist/types/components/icon/icons/book-up2-icon.d.ts +1 -1
  685. package/dist/types/components/icon/icons/book-user-icon.d.ts +1 -1
  686. package/dist/types/components/icon/icons/book-x-icon.d.ts +1 -1
  687. package/dist/types/components/icon/icons/bookmark-check-icon.d.ts +1 -1
  688. package/dist/types/components/icon/icons/bookmark-icon.d.ts +1 -1
  689. package/dist/types/components/icon/icons/bookmark-minus-icon.d.ts +1 -1
  690. package/dist/types/components/icon/icons/bookmark-off-icon.d.ts +1 -1
  691. package/dist/types/components/icon/icons/bookmark-plus-icon.d.ts +1 -1
  692. package/dist/types/components/icon/icons/bookmark-x-icon.d.ts +1 -1
  693. package/dist/types/components/icon/icons/boom-box-icon.d.ts +1 -1
  694. package/dist/types/components/icon/icons/bot-icon.d.ts +1 -1
  695. package/dist/types/components/icon/icons/bot-message-square-icon.d.ts +1 -1
  696. package/dist/types/components/icon/icons/bot-off-icon.d.ts +1 -1
  697. package/dist/types/components/icon/icons/bottle-wine-icon.d.ts +1 -1
  698. package/dist/types/components/icon/icons/bow-arrow-icon.d.ts +1 -1
  699. package/dist/types/components/icon/icons/box-icon.d.ts +1 -1
  700. package/dist/types/components/icon/icons/boxes-icon.d.ts +1 -1
  701. package/dist/types/components/icon/icons/braces-icon.d.ts +1 -1
  702. package/dist/types/components/icon/icons/brackets-icon.d.ts +1 -1
  703. package/dist/types/components/icon/icons/brain-circuit-icon.d.ts +1 -1
  704. package/dist/types/components/icon/icons/brain-cog-icon.d.ts +1 -1
  705. package/dist/types/components/icon/icons/brain-icon.d.ts +1 -1
  706. package/dist/types/components/icon/icons/brick-wall-fire-icon.d.ts +1 -1
  707. package/dist/types/components/icon/icons/brick-wall-icon.d.ts +1 -1
  708. package/dist/types/components/icon/icons/brick-wall-shield-icon.d.ts +1 -1
  709. package/dist/types/components/icon/icons/briefcase-business-icon.d.ts +1 -1
  710. package/dist/types/components/icon/icons/briefcase-conveyor-belt-icon.d.ts +1 -1
  711. package/dist/types/components/icon/icons/briefcase-icon.d.ts +1 -1
  712. package/dist/types/components/icon/icons/briefcase-medical-icon.d.ts +1 -1
  713. package/dist/types/components/icon/icons/bring-to-front-icon.d.ts +1 -1
  714. package/dist/types/components/icon/icons/broccoli-icon.d.ts +1 -1
  715. package/dist/types/components/icon/icons/brush-cleaning-icon.d.ts +1 -1
  716. package/dist/types/components/icon/icons/brush-icon.d.ts +1 -1
  717. package/dist/types/components/icon/icons/bubbles-icon.d.ts +1 -1
  718. package/dist/types/components/icon/icons/bug-icon.d.ts +1 -1
  719. package/dist/types/components/icon/icons/bug-off-icon.d.ts +1 -1
  720. package/dist/types/components/icon/icons/bug-play-icon.d.ts +1 -1
  721. package/dist/types/components/icon/icons/building-icon.d.ts +1 -1
  722. package/dist/types/components/icon/icons/building2-icon.d.ts +1 -1
  723. package/dist/types/components/icon/icons/bus-front-icon.d.ts +1 -1
  724. package/dist/types/components/icon/icons/bus-icon.d.ts +1 -1
  725. package/dist/types/components/icon/icons/cable-car-icon.d.ts +1 -1
  726. package/dist/types/components/icon/icons/cable-icon.d.ts +1 -1
  727. package/dist/types/components/icon/icons/cake-icon.d.ts +1 -1
  728. package/dist/types/components/icon/icons/cake-slice-icon.d.ts +1 -1
  729. package/dist/types/components/icon/icons/calculator-icon.d.ts +1 -1
  730. package/dist/types/components/icon/icons/calendar-arrow-down-icon.d.ts +1 -1
  731. package/dist/types/components/icon/icons/calendar-arrow-up-icon.d.ts +1 -1
  732. package/dist/types/components/icon/icons/calendar-check-icon.d.ts +1 -1
  733. package/dist/types/components/icon/icons/calendar-check2-icon.d.ts +1 -1
  734. package/dist/types/components/icon/icons/calendar-clock-icon.d.ts +1 -1
  735. package/dist/types/components/icon/icons/calendar-cog-icon.d.ts +1 -1
  736. package/dist/types/components/icon/icons/calendar-days-icon.d.ts +1 -1
  737. package/dist/types/components/icon/icons/calendar-fold-icon.d.ts +1 -1
  738. package/dist/types/components/icon/icons/calendar-heart-icon.d.ts +1 -1
  739. package/dist/types/components/icon/icons/calendar-icon.d.ts +1 -1
  740. package/dist/types/components/icon/icons/calendar-minus-icon.d.ts +1 -1
  741. package/dist/types/components/icon/icons/calendar-minus2-icon.d.ts +1 -1
  742. package/dist/types/components/icon/icons/calendar-off-icon.d.ts +1 -1
  743. package/dist/types/components/icon/icons/calendar-plus-icon.d.ts +1 -1
  744. package/dist/types/components/icon/icons/calendar-plus2-icon.d.ts +1 -1
  745. package/dist/types/components/icon/icons/calendar-range-icon.d.ts +1 -1
  746. package/dist/types/components/icon/icons/calendar-search-icon.d.ts +1 -1
  747. package/dist/types/components/icon/icons/calendar-sync-icon.d.ts +1 -1
  748. package/dist/types/components/icon/icons/calendar-x-icon.d.ts +1 -1
  749. package/dist/types/components/icon/icons/calendar-x2-icon.d.ts +1 -1
  750. package/dist/types/components/icon/icons/calendar1-icon.d.ts +1 -1
  751. package/dist/types/components/icon/icons/calendars-icon.d.ts +1 -1
  752. package/dist/types/components/icon/icons/camera-icon.d.ts +1 -1
  753. package/dist/types/components/icon/icons/camera-off-icon.d.ts +1 -1
  754. package/dist/types/components/icon/icons/candy-cane-icon.d.ts +1 -1
  755. package/dist/types/components/icon/icons/candy-icon.d.ts +1 -1
  756. package/dist/types/components/icon/icons/candy-off-icon.d.ts +1 -1
  757. package/dist/types/components/icon/icons/cannabis-icon.d.ts +1 -1
  758. package/dist/types/components/icon/icons/cannabis-off-icon.d.ts +1 -1
  759. package/dist/types/components/icon/icons/captions-icon.d.ts +1 -1
  760. package/dist/types/components/icon/icons/captions-off-icon.d.ts +1 -1
  761. package/dist/types/components/icon/icons/car-front-icon.d.ts +1 -1
  762. package/dist/types/components/icon/icons/car-icon.d.ts +1 -1
  763. package/dist/types/components/icon/icons/car-taxi-front-icon.d.ts +1 -1
  764. package/dist/types/components/icon/icons/caravan-icon.d.ts +1 -1
  765. package/dist/types/components/icon/icons/card-sim-icon.d.ts +1 -1
  766. package/dist/types/components/icon/icons/carrot-icon.d.ts +1 -1
  767. package/dist/types/components/icon/icons/case-lower-icon.d.ts +1 -1
  768. package/dist/types/components/icon/icons/case-sensitive-icon.d.ts +1 -1
  769. package/dist/types/components/icon/icons/case-upper-icon.d.ts +1 -1
  770. package/dist/types/components/icon/icons/cassette-tape-icon.d.ts +1 -1
  771. package/dist/types/components/icon/icons/cast-icon.d.ts +1 -1
  772. package/dist/types/components/icon/icons/castle-icon.d.ts +1 -1
  773. package/dist/types/components/icon/icons/cat-icon.d.ts +1 -1
  774. package/dist/types/components/icon/icons/cctv-icon.d.ts +1 -1
  775. package/dist/types/components/icon/icons/cctv-off-icon.d.ts +1 -1
  776. package/dist/types/components/icon/icons/chart-area-icon.d.ts +1 -1
  777. package/dist/types/components/icon/icons/chart-bar-big-icon.d.ts +1 -1
  778. package/dist/types/components/icon/icons/chart-bar-decreasing-icon.d.ts +1 -1
  779. package/dist/types/components/icon/icons/chart-bar-icon.d.ts +1 -1
  780. package/dist/types/components/icon/icons/chart-bar-increasing-icon.d.ts +1 -1
  781. package/dist/types/components/icon/icons/chart-bar-stacked-icon.d.ts +1 -1
  782. package/dist/types/components/icon/icons/chart-candlestick-icon.d.ts +1 -1
  783. package/dist/types/components/icon/icons/chart-column-big-icon.d.ts +1 -1
  784. package/dist/types/components/icon/icons/chart-column-decreasing-icon.d.ts +1 -1
  785. package/dist/types/components/icon/icons/chart-column-icon.d.ts +1 -1
  786. package/dist/types/components/icon/icons/chart-column-increasing-icon.d.ts +1 -1
  787. package/dist/types/components/icon/icons/chart-column-stacked-icon.d.ts +1 -1
  788. package/dist/types/components/icon/icons/chart-gantt-icon.d.ts +1 -1
  789. package/dist/types/components/icon/icons/chart-line-icon.d.ts +1 -1
  790. package/dist/types/components/icon/icons/chart-network-icon.d.ts +1 -1
  791. package/dist/types/components/icon/icons/chart-no-axes-column-decreasing-icon.d.ts +1 -1
  792. package/dist/types/components/icon/icons/chart-no-axes-column-icon.d.ts +1 -1
  793. package/dist/types/components/icon/icons/chart-no-axes-column-increasing-icon.d.ts +1 -1
  794. package/dist/types/components/icon/icons/chart-no-axes-combined-icon.d.ts +1 -1
  795. package/dist/types/components/icon/icons/chart-no-axes-gantt-icon.d.ts +1 -1
  796. package/dist/types/components/icon/icons/chart-pie-icon.d.ts +1 -1
  797. package/dist/types/components/icon/icons/chart-scatter-icon.d.ts +1 -1
  798. package/dist/types/components/icon/icons/chart-spline-icon.d.ts +1 -1
  799. package/dist/types/components/icon/icons/check-check-icon.d.ts +1 -1
  800. package/dist/types/components/icon/icons/check-icon.d.ts +1 -1
  801. package/dist/types/components/icon/icons/check-line-icon.d.ts +1 -1
  802. package/dist/types/components/icon/icons/chef-hat-icon.d.ts +1 -1
  803. package/dist/types/components/icon/icons/cherry-icon.d.ts +1 -1
  804. package/dist/types/components/icon/icons/chess-bishop-icon.d.ts +1 -1
  805. package/dist/types/components/icon/icons/chess-king-icon.d.ts +1 -1
  806. package/dist/types/components/icon/icons/chess-knight-icon.d.ts +1 -1
  807. package/dist/types/components/icon/icons/chess-pawn-icon.d.ts +1 -1
  808. package/dist/types/components/icon/icons/chess-queen-icon.d.ts +1 -1
  809. package/dist/types/components/icon/icons/chess-rook-icon.d.ts +1 -1
  810. package/dist/types/components/icon/icons/chevron-down-icon.d.ts +1 -1
  811. package/dist/types/components/icon/icons/chevron-first-icon.d.ts +1 -1
  812. package/dist/types/components/icon/icons/chevron-last-icon.d.ts +1 -1
  813. package/dist/types/components/icon/icons/chevron-left-icon.d.ts +1 -1
  814. package/dist/types/components/icon/icons/chevron-right-icon.d.ts +1 -1
  815. package/dist/types/components/icon/icons/chevron-up-icon.d.ts +1 -1
  816. package/dist/types/components/icon/icons/chevrons-down-icon.d.ts +1 -1
  817. package/dist/types/components/icon/icons/chevrons-down-up-icon.d.ts +1 -1
  818. package/dist/types/components/icon/icons/chevrons-left-icon.d.ts +1 -1
  819. package/dist/types/components/icon/icons/chevrons-left-right-ellipsis-icon.d.ts +1 -1
  820. package/dist/types/components/icon/icons/chevrons-left-right-icon.d.ts +1 -1
  821. package/dist/types/components/icon/icons/chevrons-right-icon.d.ts +1 -1
  822. package/dist/types/components/icon/icons/chevrons-right-left-icon.d.ts +1 -1
  823. package/dist/types/components/icon/icons/chevrons-up-down-icon.d.ts +1 -1
  824. package/dist/types/components/icon/icons/chevrons-up-icon.d.ts +1 -1
  825. package/dist/types/components/icon/icons/church-icon.d.ts +1 -1
  826. package/dist/types/components/icon/icons/cigarette-icon.d.ts +1 -1
  827. package/dist/types/components/icon/icons/cigarette-off-icon.d.ts +1 -1
  828. package/dist/types/components/icon/icons/circle-alert-icon.d.ts +1 -1
  829. package/dist/types/components/icon/icons/circle-arrow-down-icon.d.ts +1 -1
  830. package/dist/types/components/icon/icons/circle-arrow-left-icon.d.ts +1 -1
  831. package/dist/types/components/icon/icons/circle-arrow-out-down-left-icon.d.ts +1 -1
  832. package/dist/types/components/icon/icons/circle-arrow-out-down-right-icon.d.ts +1 -1
  833. package/dist/types/components/icon/icons/circle-arrow-out-up-left-icon.d.ts +1 -1
  834. package/dist/types/components/icon/icons/circle-arrow-out-up-right-icon.d.ts +1 -1
  835. package/dist/types/components/icon/icons/circle-arrow-right-icon.d.ts +1 -1
  836. package/dist/types/components/icon/icons/circle-arrow-up-icon.d.ts +1 -1
  837. package/dist/types/components/icon/icons/circle-check-big-icon.d.ts +1 -1
  838. package/dist/types/components/icon/icons/circle-check-icon.d.ts +1 -1
  839. package/dist/types/components/icon/icons/circle-chevron-down-icon.d.ts +1 -1
  840. package/dist/types/components/icon/icons/circle-chevron-left-icon.d.ts +1 -1
  841. package/dist/types/components/icon/icons/circle-chevron-right-icon.d.ts +1 -1
  842. package/dist/types/components/icon/icons/circle-chevron-up-icon.d.ts +1 -1
  843. package/dist/types/components/icon/icons/circle-dashed-icon.d.ts +1 -1
  844. package/dist/types/components/icon/icons/circle-divide-icon.d.ts +1 -1
  845. package/dist/types/components/icon/icons/circle-dollar-sign-icon.d.ts +1 -1
  846. package/dist/types/components/icon/icons/circle-dot-dashed-icon.d.ts +1 -1
  847. package/dist/types/components/icon/icons/circle-dot-icon.d.ts +1 -1
  848. package/dist/types/components/icon/icons/circle-ellipsis-icon.d.ts +1 -1
  849. package/dist/types/components/icon/icons/circle-equal-icon.d.ts +1 -1
  850. package/dist/types/components/icon/icons/circle-euro-sign-icon.d.ts +13 -0
  851. package/dist/types/components/icon/icons/circle-fading-arrow-up-icon.d.ts +1 -1
  852. package/dist/types/components/icon/icons/circle-fading-plus-icon.d.ts +1 -1
  853. package/dist/types/components/icon/icons/circle-gauge-icon.d.ts +1 -1
  854. package/dist/types/components/icon/icons/circle-icon.d.ts +1 -1
  855. package/dist/types/components/icon/icons/circle-minus-icon.d.ts +1 -1
  856. package/dist/types/components/icon/icons/circle-off-icon.d.ts +1 -1
  857. package/dist/types/components/icon/icons/circle-parking-icon.d.ts +1 -1
  858. package/dist/types/components/icon/icons/circle-parking-off-icon.d.ts +1 -1
  859. package/dist/types/components/icon/icons/circle-pause-icon.d.ts +1 -1
  860. package/dist/types/components/icon/icons/circle-percent-icon.d.ts +1 -1
  861. package/dist/types/components/icon/icons/circle-pile-icon.d.ts +1 -1
  862. package/dist/types/components/icon/icons/circle-play-icon.d.ts +1 -1
  863. package/dist/types/components/icon/icons/circle-plus-icon.d.ts +1 -1
  864. package/dist/types/components/icon/icons/circle-pound-sterling-icon.d.ts +1 -1
  865. package/dist/types/components/icon/icons/circle-power-icon.d.ts +1 -1
  866. package/dist/types/components/icon/icons/circle-question-mark-icon.d.ts +1 -1
  867. package/dist/types/components/icon/icons/circle-slash-icon.d.ts +1 -1
  868. package/dist/types/components/icon/icons/circle-slash2-icon.d.ts +1 -1
  869. package/dist/types/components/icon/icons/circle-small-icon.d.ts +1 -1
  870. package/dist/types/components/icon/icons/circle-star-icon.d.ts +1 -1
  871. package/dist/types/components/icon/icons/circle-stop-icon.d.ts +1 -1
  872. package/dist/types/components/icon/icons/circle-user-icon.d.ts +1 -1
  873. package/dist/types/components/icon/icons/circle-user-round-icon.d.ts +1 -1
  874. package/dist/types/components/icon/icons/circle-x-icon.d.ts +1 -1
  875. package/dist/types/components/icon/icons/circuit-board-icon.d.ts +1 -1
  876. package/dist/types/components/icon/icons/citrus-icon.d.ts +1 -1
  877. package/dist/types/components/icon/icons/clapperboard-icon.d.ts +1 -1
  878. package/dist/types/components/icon/icons/clipboard-check-icon.d.ts +1 -1
  879. package/dist/types/components/icon/icons/clipboard-clock-icon.d.ts +1 -1
  880. package/dist/types/components/icon/icons/clipboard-copy-icon.d.ts +1 -1
  881. package/dist/types/components/icon/icons/clipboard-icon.d.ts +1 -1
  882. package/dist/types/components/icon/icons/clipboard-list-icon.d.ts +1 -1
  883. package/dist/types/components/icon/icons/clipboard-minus-icon.d.ts +1 -1
  884. package/dist/types/components/icon/icons/clipboard-paste-icon.d.ts +1 -1
  885. package/dist/types/components/icon/icons/clipboard-pen-icon.d.ts +1 -1
  886. package/dist/types/components/icon/icons/clipboard-pen-line-icon.d.ts +1 -1
  887. package/dist/types/components/icon/icons/clipboard-plus-icon.d.ts +1 -1
  888. package/dist/types/components/icon/icons/clipboard-type-icon.d.ts +1 -1
  889. package/dist/types/components/icon/icons/clipboard-x-icon.d.ts +1 -1
  890. package/dist/types/components/icon/icons/clock-alert-icon.d.ts +1 -1
  891. package/dist/types/components/icon/icons/clock-arrow-down-icon.d.ts +1 -1
  892. package/dist/types/components/icon/icons/clock-arrow-left-icon.d.ts +1 -1
  893. package/dist/types/components/icon/icons/clock-arrow-right-icon.d.ts +1 -1
  894. package/dist/types/components/icon/icons/clock-arrow-up-icon.d.ts +1 -1
  895. package/dist/types/components/icon/icons/clock-check-icon.d.ts +1 -1
  896. package/dist/types/components/icon/icons/clock-fading-icon.d.ts +1 -1
  897. package/dist/types/components/icon/icons/clock-icon.d.ts +1 -1
  898. package/dist/types/components/icon/icons/clock-plus-icon.d.ts +1 -1
  899. package/dist/types/components/icon/icons/clock1-icon.d.ts +1 -1
  900. package/dist/types/components/icon/icons/clock10-icon.d.ts +1 -1
  901. package/dist/types/components/icon/icons/clock11-icon.d.ts +1 -1
  902. package/dist/types/components/icon/icons/clock12-icon.d.ts +1 -1
  903. package/dist/types/components/icon/icons/clock2-icon.d.ts +1 -1
  904. package/dist/types/components/icon/icons/clock3-icon.d.ts +1 -1
  905. package/dist/types/components/icon/icons/clock4-icon.d.ts +1 -1
  906. package/dist/types/components/icon/icons/clock5-icon.d.ts +1 -1
  907. package/dist/types/components/icon/icons/clock6-icon.d.ts +1 -1
  908. package/dist/types/components/icon/icons/clock7-icon.d.ts +1 -1
  909. package/dist/types/components/icon/icons/clock8-icon.d.ts +1 -1
  910. package/dist/types/components/icon/icons/clock9-icon.d.ts +1 -1
  911. package/dist/types/components/icon/icons/closed-caption-icon.d.ts +1 -1
  912. package/dist/types/components/icon/icons/cloud-alert-icon.d.ts +1 -1
  913. package/dist/types/components/icon/icons/cloud-backup-icon.d.ts +1 -1
  914. package/dist/types/components/icon/icons/cloud-check-icon.d.ts +1 -1
  915. package/dist/types/components/icon/icons/cloud-cog-icon.d.ts +1 -1
  916. package/dist/types/components/icon/icons/cloud-download-icon.d.ts +1 -1
  917. package/dist/types/components/icon/icons/cloud-drizzle-icon.d.ts +1 -1
  918. package/dist/types/components/icon/icons/cloud-fog-icon.d.ts +1 -1
  919. package/dist/types/components/icon/icons/cloud-hail-icon.d.ts +1 -1
  920. package/dist/types/components/icon/icons/cloud-icon.d.ts +1 -1
  921. package/dist/types/components/icon/icons/cloud-lightning-icon.d.ts +1 -1
  922. package/dist/types/components/icon/icons/cloud-moon-icon.d.ts +1 -1
  923. package/dist/types/components/icon/icons/cloud-moon-rain-icon.d.ts +1 -1
  924. package/dist/types/components/icon/icons/cloud-off-icon.d.ts +1 -1
  925. package/dist/types/components/icon/icons/cloud-rain-icon.d.ts +1 -1
  926. package/dist/types/components/icon/icons/cloud-rain-wind-icon.d.ts +1 -1
  927. package/dist/types/components/icon/icons/cloud-snow-icon.d.ts +1 -1
  928. package/dist/types/components/icon/icons/cloud-sun-icon.d.ts +1 -1
  929. package/dist/types/components/icon/icons/cloud-sun-rain-icon.d.ts +1 -1
  930. package/dist/types/components/icon/icons/cloud-sync-icon.d.ts +1 -1
  931. package/dist/types/components/icon/icons/cloud-upload-icon.d.ts +1 -1
  932. package/dist/types/components/icon/icons/cloudy-icon.d.ts +1 -1
  933. package/dist/types/components/icon/icons/clover-icon.d.ts +1 -1
  934. package/dist/types/components/icon/icons/club-icon.d.ts +1 -1
  935. package/dist/types/components/icon/icons/code-icon.d.ts +1 -1
  936. package/dist/types/components/icon/icons/code-xml-icon.d.ts +1 -1
  937. package/dist/types/components/icon/icons/coffee-icon.d.ts +1 -1
  938. package/dist/types/components/icon/icons/cog-icon.d.ts +1 -1
  939. package/dist/types/components/icon/icons/coins-icon.d.ts +1 -1
  940. package/dist/types/components/icon/icons/columns2-icon.d.ts +1 -1
  941. package/dist/types/components/icon/icons/columns3-cog-icon.d.ts +1 -1
  942. package/dist/types/components/icon/icons/columns3-icon.d.ts +1 -1
  943. package/dist/types/components/icon/icons/columns4-icon.d.ts +1 -1
  944. package/dist/types/components/icon/icons/combine-icon.d.ts +1 -1
  945. package/dist/types/components/icon/icons/command-icon.d.ts +1 -1
  946. package/dist/types/components/icon/icons/compass-icon.d.ts +1 -1
  947. package/dist/types/components/icon/icons/component-icon.d.ts +1 -1
  948. package/dist/types/components/icon/icons/computer-icon.d.ts +1 -1
  949. package/dist/types/components/icon/icons/concierge-bell-icon.d.ts +1 -1
  950. package/dist/types/components/icon/icons/cone-icon.d.ts +1 -1
  951. package/dist/types/components/icon/icons/construction-icon.d.ts +1 -1
  952. package/dist/types/components/icon/icons/contact-icon.d.ts +1 -1
  953. package/dist/types/components/icon/icons/contact-round-icon.d.ts +1 -1
  954. package/dist/types/components/icon/icons/container-icon.d.ts +1 -1
  955. package/dist/types/components/icon/icons/contrast-icon.d.ts +1 -1
  956. package/dist/types/components/icon/icons/cookie-icon.d.ts +1 -1
  957. package/dist/types/components/icon/icons/cooking-pot-icon.d.ts +1 -1
  958. package/dist/types/components/icon/icons/copy-check-icon.d.ts +1 -1
  959. package/dist/types/components/icon/icons/copy-icon.d.ts +1 -1
  960. package/dist/types/components/icon/icons/copy-minus-icon.d.ts +1 -1
  961. package/dist/types/components/icon/icons/copy-plus-icon.d.ts +1 -1
  962. package/dist/types/components/icon/icons/copy-slash-icon.d.ts +1 -1
  963. package/dist/types/components/icon/icons/copy-x-icon.d.ts +1 -1
  964. package/dist/types/components/icon/icons/copyleft-icon.d.ts +1 -1
  965. package/dist/types/components/icon/icons/copyright-icon.d.ts +1 -1
  966. package/dist/types/components/icon/icons/corner-down-left-icon.d.ts +1 -1
  967. package/dist/types/components/icon/icons/corner-down-right-icon.d.ts +1 -1
  968. package/dist/types/components/icon/icons/corner-left-down-icon.d.ts +1 -1
  969. package/dist/types/components/icon/icons/corner-left-up-icon.d.ts +1 -1
  970. package/dist/types/components/icon/icons/corner-right-down-icon.d.ts +1 -1
  971. package/dist/types/components/icon/icons/corner-right-up-icon.d.ts +1 -1
  972. package/dist/types/components/icon/icons/corner-up-left-icon.d.ts +1 -1
  973. package/dist/types/components/icon/icons/corner-up-right-icon.d.ts +1 -1
  974. package/dist/types/components/icon/icons/cpu-icon.d.ts +1 -1
  975. package/dist/types/components/icon/icons/creative-commons-icon.d.ts +1 -1
  976. package/dist/types/components/icon/icons/credit-card-icon.d.ts +1 -1
  977. package/dist/types/components/icon/icons/croissant-icon.d.ts +1 -1
  978. package/dist/types/components/icon/icons/crop-icon.d.ts +1 -1
  979. package/dist/types/components/icon/icons/cross-icon.d.ts +1 -1
  980. package/dist/types/components/icon/icons/crosshair-icon.d.ts +1 -1
  981. package/dist/types/components/icon/icons/crown-icon.d.ts +1 -1
  982. package/dist/types/components/icon/icons/cuboid-icon.d.ts +1 -1
  983. package/dist/types/components/icon/icons/cup-soda-icon.d.ts +1 -1
  984. package/dist/types/components/icon/icons/currency-icon.d.ts +1 -1
  985. package/dist/types/components/icon/icons/cylinder-icon.d.ts +1 -1
  986. package/dist/types/components/icon/icons/dam-icon.d.ts +1 -1
  987. package/dist/types/components/icon/icons/database-arrow-down-icon.d.ts +1 -1
  988. package/dist/types/components/icon/icons/database-arrow-up-icon.d.ts +1 -1
  989. package/dist/types/components/icon/icons/database-backup-icon.d.ts +1 -1
  990. package/dist/types/components/icon/icons/database-check-icon.d.ts +1 -1
  991. package/dist/types/components/icon/icons/database-icon.d.ts +1 -1
  992. package/dist/types/components/icon/icons/database-minus-icon.d.ts +1 -1
  993. package/dist/types/components/icon/icons/database-plus-icon.d.ts +1 -1
  994. package/dist/types/components/icon/icons/database-search-icon.d.ts +1 -1
  995. package/dist/types/components/icon/icons/database-x-icon.d.ts +1 -1
  996. package/dist/types/components/icon/icons/database-zap-icon.d.ts +1 -1
  997. package/dist/types/components/icon/icons/decimals-arrow-left-icon.d.ts +1 -1
  998. package/dist/types/components/icon/icons/decimals-arrow-right-icon.d.ts +1 -1
  999. package/dist/types/components/icon/icons/delete-icon.d.ts +1 -1
  1000. package/dist/types/components/icon/icons/dessert-icon.d.ts +1 -1
  1001. package/dist/types/components/icon/icons/diameter-icon.d.ts +1 -1
  1002. package/dist/types/components/icon/icons/diamond-icon.d.ts +1 -1
  1003. package/dist/types/components/icon/icons/diamond-minus-icon.d.ts +1 -1
  1004. package/dist/types/components/icon/icons/diamond-percent-icon.d.ts +1 -1
  1005. package/dist/types/components/icon/icons/diamond-plus-icon.d.ts +1 -1
  1006. package/dist/types/components/icon/icons/dice1-icon.d.ts +1 -1
  1007. package/dist/types/components/icon/icons/dice2-icon.d.ts +1 -1
  1008. package/dist/types/components/icon/icons/dice3-icon.d.ts +1 -1
  1009. package/dist/types/components/icon/icons/dice4-icon.d.ts +1 -1
  1010. package/dist/types/components/icon/icons/dice5-icon.d.ts +1 -1
  1011. package/dist/types/components/icon/icons/dice6-icon.d.ts +1 -1
  1012. package/dist/types/components/icon/icons/dices-icon.d.ts +1 -1
  1013. package/dist/types/components/icon/icons/diff-icon.d.ts +1 -1
  1014. package/dist/types/components/icon/icons/disc-album-icon.d.ts +1 -1
  1015. package/dist/types/components/icon/icons/disc-icon.d.ts +1 -1
  1016. package/dist/types/components/icon/icons/disc2-icon.d.ts +1 -1
  1017. package/dist/types/components/icon/icons/disc3-icon.d.ts +1 -1
  1018. package/dist/types/components/icon/icons/divide-icon.d.ts +1 -1
  1019. package/dist/types/components/icon/icons/dna-icon.d.ts +1 -1
  1020. package/dist/types/components/icon/icons/dna-off-icon.d.ts +1 -1
  1021. package/dist/types/components/icon/icons/dock-icon.d.ts +1 -1
  1022. package/dist/types/components/icon/icons/dog-icon.d.ts +1 -1
  1023. package/dist/types/components/icon/icons/dollar-sign-icon.d.ts +1 -1
  1024. package/dist/types/components/icon/icons/donut-icon.d.ts +1 -1
  1025. package/dist/types/components/icon/icons/door-closed-icon.d.ts +1 -1
  1026. package/dist/types/components/icon/icons/door-closed-locked-icon.d.ts +1 -1
  1027. package/dist/types/components/icon/icons/door-open-icon.d.ts +1 -1
  1028. package/dist/types/components/icon/icons/dot-icon.d.ts +1 -1
  1029. package/dist/types/components/icon/icons/download-icon.d.ts +1 -1
  1030. package/dist/types/components/icon/icons/drafting-compass-icon.d.ts +1 -1
  1031. package/dist/types/components/icon/icons/drama-icon.d.ts +1 -1
  1032. package/dist/types/components/icon/icons/drill-icon.d.ts +1 -1
  1033. package/dist/types/components/icon/icons/drone-icon.d.ts +1 -1
  1034. package/dist/types/components/icon/icons/droplet-icon.d.ts +1 -1
  1035. package/dist/types/components/icon/icons/droplet-off-icon.d.ts +1 -1
  1036. package/dist/types/components/icon/icons/droplets-icon.d.ts +1 -1
  1037. package/dist/types/components/icon/icons/drum-icon.d.ts +1 -1
  1038. package/dist/types/components/icon/icons/drumstick-icon.d.ts +1 -1
  1039. package/dist/types/components/icon/icons/dumbbell-icon.d.ts +1 -1
  1040. package/dist/types/components/icon/icons/ear-icon.d.ts +1 -1
  1041. package/dist/types/components/icon/icons/ear-off-icon.d.ts +1 -1
  1042. package/dist/types/components/icon/icons/earth-icon.d.ts +1 -1
  1043. package/dist/types/components/icon/icons/earth-lock-icon.d.ts +1 -1
  1044. package/dist/types/components/icon/icons/eclipse-icon.d.ts +1 -1
  1045. package/dist/types/components/icon/icons/egg-fried-icon.d.ts +1 -1
  1046. package/dist/types/components/icon/icons/egg-icon.d.ts +1 -1
  1047. package/dist/types/components/icon/icons/egg-off-icon.d.ts +1 -1
  1048. package/dist/types/components/icon/icons/ellipse-icon.d.ts +1 -1
  1049. package/dist/types/components/icon/icons/ellipsis-icon.d.ts +1 -1
  1050. package/dist/types/components/icon/icons/ellipsis-vertical-icon.d.ts +1 -1
  1051. package/dist/types/components/icon/icons/equal-approximately-icon.d.ts +1 -1
  1052. package/dist/types/components/icon/icons/equal-icon.d.ts +1 -1
  1053. package/dist/types/components/icon/icons/equal-not-icon.d.ts +1 -1
  1054. package/dist/types/components/icon/icons/eraser-icon.d.ts +1 -1
  1055. package/dist/types/components/icon/icons/ethernet-port-icon.d.ts +1 -1
  1056. package/dist/types/components/icon/icons/euro-icon.d.ts +1 -1
  1057. package/dist/types/components/icon/icons/ev-charger-icon.d.ts +1 -1
  1058. package/dist/types/components/icon/icons/expand-icon.d.ts +1 -1
  1059. package/dist/types/components/icon/icons/external-link-icon.d.ts +1 -1
  1060. package/dist/types/components/icon/icons/eye-closed-icon.d.ts +1 -1
  1061. package/dist/types/components/icon/icons/eye-dashed-icon.d.ts +1 -1
  1062. package/dist/types/components/icon/icons/eye-icon.d.ts +1 -1
  1063. package/dist/types/components/icon/icons/eye-off-icon.d.ts +1 -1
  1064. package/dist/types/components/icon/icons/factory-icon.d.ts +1 -1
  1065. package/dist/types/components/icon/icons/fan-icon.d.ts +1 -1
  1066. package/dist/types/components/icon/icons/fast-forward-icon.d.ts +1 -1
  1067. package/dist/types/components/icon/icons/feather-icon.d.ts +1 -1
  1068. package/dist/types/components/icon/icons/fence-icon.d.ts +1 -1
  1069. package/dist/types/components/icon/icons/ferris-wheel-icon.d.ts +1 -1
  1070. package/dist/types/components/icon/icons/file-archive-icon.d.ts +1 -1
  1071. package/dist/types/components/icon/icons/file-axis3d-icon.d.ts +1 -1
  1072. package/dist/types/components/icon/icons/file-badge-icon.d.ts +1 -1
  1073. package/dist/types/components/icon/icons/file-box-icon.d.ts +1 -1
  1074. package/dist/types/components/icon/icons/file-braces-corner-icon.d.ts +1 -1
  1075. package/dist/types/components/icon/icons/file-braces-icon.d.ts +1 -1
  1076. package/dist/types/components/icon/icons/file-chart-column-icon.d.ts +1 -1
  1077. package/dist/types/components/icon/icons/file-chart-column-increasing-icon.d.ts +1 -1
  1078. package/dist/types/components/icon/icons/file-chart-line-icon.d.ts +1 -1
  1079. package/dist/types/components/icon/icons/file-chart-pie-icon.d.ts +1 -1
  1080. package/dist/types/components/icon/icons/file-check-corner-icon.d.ts +1 -1
  1081. package/dist/types/components/icon/icons/file-check-icon.d.ts +1 -1
  1082. package/dist/types/components/icon/icons/file-clock-icon.d.ts +1 -1
  1083. package/dist/types/components/icon/icons/file-code-corner-icon.d.ts +1 -1
  1084. package/dist/types/components/icon/icons/file-code-icon.d.ts +1 -1
  1085. package/dist/types/components/icon/icons/file-cog-icon.d.ts +1 -1
  1086. package/dist/types/components/icon/icons/file-diff-icon.d.ts +1 -1
  1087. package/dist/types/components/icon/icons/file-digit-icon.d.ts +1 -1
  1088. package/dist/types/components/icon/icons/file-down-icon.d.ts +1 -1
  1089. package/dist/types/components/icon/icons/file-exclamation-point-icon.d.ts +1 -1
  1090. package/dist/types/components/icon/icons/file-headphone-icon.d.ts +1 -1
  1091. package/dist/types/components/icon/icons/file-heart-icon.d.ts +1 -1
  1092. package/dist/types/components/icon/icons/file-icon.d.ts +1 -1
  1093. package/dist/types/components/icon/icons/file-image-icon.d.ts +1 -1
  1094. package/dist/types/components/icon/icons/file-input-icon.d.ts +1 -1
  1095. package/dist/types/components/icon/icons/file-key-icon.d.ts +1 -1
  1096. package/dist/types/components/icon/icons/file-lock-icon.d.ts +1 -1
  1097. package/dist/types/components/icon/icons/file-minus-corner-icon.d.ts +1 -1
  1098. package/dist/types/components/icon/icons/file-minus-icon.d.ts +1 -1
  1099. package/dist/types/components/icon/icons/file-music-icon.d.ts +1 -1
  1100. package/dist/types/components/icon/icons/file-output-icon.d.ts +1 -1
  1101. package/dist/types/components/icon/icons/file-pen-icon.d.ts +1 -1
  1102. package/dist/types/components/icon/icons/file-pen-line-icon.d.ts +1 -1
  1103. package/dist/types/components/icon/icons/file-play-icon.d.ts +1 -1
  1104. package/dist/types/components/icon/icons/file-plus-corner-icon.d.ts +1 -1
  1105. package/dist/types/components/icon/icons/file-plus-icon.d.ts +1 -1
  1106. package/dist/types/components/icon/icons/file-question-mark-icon.d.ts +1 -1
  1107. package/dist/types/components/icon/icons/file-scan-icon.d.ts +1 -1
  1108. package/dist/types/components/icon/icons/file-search-corner-icon.d.ts +1 -1
  1109. package/dist/types/components/icon/icons/file-search-icon.d.ts +1 -1
  1110. package/dist/types/components/icon/icons/file-signal-icon.d.ts +1 -1
  1111. package/dist/types/components/icon/icons/file-sliders-icon.d.ts +1 -1
  1112. package/dist/types/components/icon/icons/file-spreadsheet-icon.d.ts +1 -1
  1113. package/dist/types/components/icon/icons/file-stack-icon.d.ts +1 -1
  1114. package/dist/types/components/icon/icons/file-symlink-icon.d.ts +1 -1
  1115. package/dist/types/components/icon/icons/file-terminal-icon.d.ts +1 -1
  1116. package/dist/types/components/icon/icons/file-text-icon.d.ts +1 -1
  1117. package/dist/types/components/icon/icons/file-type-corner-icon.d.ts +1 -1
  1118. package/dist/types/components/icon/icons/file-type-icon.d.ts +1 -1
  1119. package/dist/types/components/icon/icons/file-up-icon.d.ts +1 -1
  1120. package/dist/types/components/icon/icons/file-user-icon.d.ts +1 -1
  1121. package/dist/types/components/icon/icons/file-video-camera-icon.d.ts +1 -1
  1122. package/dist/types/components/icon/icons/file-volume-icon.d.ts +1 -1
  1123. package/dist/types/components/icon/icons/file-x-corner-icon.d.ts +1 -1
  1124. package/dist/types/components/icon/icons/file-x-icon.d.ts +1 -1
  1125. package/dist/types/components/icon/icons/files-icon.d.ts +1 -1
  1126. package/dist/types/components/icon/icons/film-icon.d.ts +1 -1
  1127. package/dist/types/components/icon/icons/fingerprint-pattern-icon.d.ts +1 -1
  1128. package/dist/types/components/icon/icons/fire-extinguisher-icon.d.ts +1 -1
  1129. package/dist/types/components/icon/icons/fish-icon.d.ts +1 -1
  1130. package/dist/types/components/icon/icons/fish-off-icon.d.ts +1 -1
  1131. package/dist/types/components/icon/icons/fish-symbol-icon.d.ts +1 -1
  1132. package/dist/types/components/icon/icons/fishing-hook-icon.d.ts +1 -1
  1133. package/dist/types/components/icon/icons/fishing-rod-icon.d.ts +1 -1
  1134. package/dist/types/components/icon/icons/flag-icon.d.ts +1 -1
  1135. package/dist/types/components/icon/icons/flag-off-icon.d.ts +1 -1
  1136. package/dist/types/components/icon/icons/flag-triangle-left-icon.d.ts +1 -1
  1137. package/dist/types/components/icon/icons/flag-triangle-right-icon.d.ts +1 -1
  1138. package/dist/types/components/icon/icons/flame-icon.d.ts +1 -1
  1139. package/dist/types/components/icon/icons/flame-kindling-icon.d.ts +1 -1
  1140. package/dist/types/components/icon/icons/flashlight-icon.d.ts +1 -1
  1141. package/dist/types/components/icon/icons/flashlight-off-icon.d.ts +1 -1
  1142. package/dist/types/components/icon/icons/flask-conical-icon.d.ts +1 -1
  1143. package/dist/types/components/icon/icons/flask-conical-off-icon.d.ts +1 -1
  1144. package/dist/types/components/icon/icons/flask-round-icon.d.ts +1 -1
  1145. package/dist/types/components/icon/icons/flip-horizontal2-icon.d.ts +1 -1
  1146. package/dist/types/components/icon/icons/flip-vertical2-icon.d.ts +1 -1
  1147. package/dist/types/components/icon/icons/flower-icon.d.ts +1 -1
  1148. package/dist/types/components/icon/icons/flower2-icon.d.ts +1 -1
  1149. package/dist/types/components/icon/icons/focus-icon.d.ts +1 -1
  1150. package/dist/types/components/icon/icons/fold-horizontal-icon.d.ts +1 -1
  1151. package/dist/types/components/icon/icons/fold-vertical-icon.d.ts +1 -1
  1152. package/dist/types/components/icon/icons/folder-archive-icon.d.ts +1 -1
  1153. package/dist/types/components/icon/icons/folder-bookmark-icon.d.ts +1 -1
  1154. package/dist/types/components/icon/icons/folder-check-icon.d.ts +1 -1
  1155. package/dist/types/components/icon/icons/folder-clock-icon.d.ts +1 -1
  1156. package/dist/types/components/icon/icons/folder-closed-icon.d.ts +1 -1
  1157. package/dist/types/components/icon/icons/folder-code-icon.d.ts +1 -1
  1158. package/dist/types/components/icon/icons/folder-cog-icon.d.ts +1 -1
  1159. package/dist/types/components/icon/icons/folder-dot-icon.d.ts +1 -1
  1160. package/dist/types/components/icon/icons/folder-down-icon.d.ts +1 -1
  1161. package/dist/types/components/icon/icons/folder-git-icon.d.ts +1 -1
  1162. package/dist/types/components/icon/icons/folder-git2-icon.d.ts +1 -1
  1163. package/dist/types/components/icon/icons/folder-heart-icon.d.ts +1 -1
  1164. package/dist/types/components/icon/icons/folder-icon.d.ts +1 -1
  1165. package/dist/types/components/icon/icons/folder-input-icon.d.ts +1 -1
  1166. package/dist/types/components/icon/icons/folder-kanban-icon.d.ts +1 -1
  1167. package/dist/types/components/icon/icons/folder-key-icon.d.ts +1 -1
  1168. package/dist/types/components/icon/icons/folder-lock-icon.d.ts +1 -1
  1169. package/dist/types/components/icon/icons/folder-minus-icon.d.ts +1 -1
  1170. package/dist/types/components/icon/icons/folder-open-dot-icon.d.ts +1 -1
  1171. package/dist/types/components/icon/icons/folder-open-icon.d.ts +1 -1
  1172. package/dist/types/components/icon/icons/folder-output-icon.d.ts +1 -1
  1173. package/dist/types/components/icon/icons/folder-pen-icon.d.ts +1 -1
  1174. package/dist/types/components/icon/icons/folder-plus-icon.d.ts +1 -1
  1175. package/dist/types/components/icon/icons/folder-root-icon.d.ts +1 -1
  1176. package/dist/types/components/icon/icons/folder-search-icon.d.ts +1 -1
  1177. package/dist/types/components/icon/icons/folder-search2-icon.d.ts +1 -1
  1178. package/dist/types/components/icon/icons/folder-symlink-icon.d.ts +1 -1
  1179. package/dist/types/components/icon/icons/folder-sync-icon.d.ts +1 -1
  1180. package/dist/types/components/icon/icons/folder-tree-icon.d.ts +1 -1
  1181. package/dist/types/components/icon/icons/folder-up-icon.d.ts +1 -1
  1182. package/dist/types/components/icon/icons/folder-x-icon.d.ts +1 -1
  1183. package/dist/types/components/icon/icons/folders-icon.d.ts +1 -1
  1184. package/dist/types/components/icon/icons/footprints-icon.d.ts +1 -1
  1185. package/dist/types/components/icon/icons/forklift-icon.d.ts +1 -1
  1186. package/dist/types/components/icon/icons/form-icon.d.ts +1 -1
  1187. package/dist/types/components/icon/icons/forward-icon.d.ts +1 -1
  1188. package/dist/types/components/icon/icons/frame-icon.d.ts +1 -1
  1189. package/dist/types/components/icon/icons/frown-icon.d.ts +1 -1
  1190. package/dist/types/components/icon/icons/fuel-icon.d.ts +1 -1
  1191. package/dist/types/components/icon/icons/fullscreen-icon.d.ts +1 -1
  1192. package/dist/types/components/icon/icons/funnel-icon.d.ts +1 -1
  1193. package/dist/types/components/icon/icons/funnel-plus-icon.d.ts +1 -1
  1194. package/dist/types/components/icon/icons/funnel-x-icon.d.ts +1 -1
  1195. package/dist/types/components/icon/icons/gallery-horizontal-end-icon.d.ts +1 -1
  1196. package/dist/types/components/icon/icons/gallery-horizontal-icon.d.ts +1 -1
  1197. package/dist/types/components/icon/icons/gallery-thumbnails-icon.d.ts +1 -1
  1198. package/dist/types/components/icon/icons/gallery-vertical-end-icon.d.ts +1 -1
  1199. package/dist/types/components/icon/icons/gallery-vertical-icon.d.ts +1 -1
  1200. package/dist/types/components/icon/icons/gamepad-directional-icon.d.ts +1 -1
  1201. package/dist/types/components/icon/icons/gamepad-icon.d.ts +1 -1
  1202. package/dist/types/components/icon/icons/gamepad2-icon.d.ts +1 -1
  1203. package/dist/types/components/icon/icons/gauge-icon.d.ts +1 -1
  1204. package/dist/types/components/icon/icons/gavel-icon.d.ts +1 -1
  1205. package/dist/types/components/icon/icons/gem-icon.d.ts +1 -1
  1206. package/dist/types/components/icon/icons/georgian-lari-icon.d.ts +1 -1
  1207. package/dist/types/components/icon/icons/ghost-icon.d.ts +1 -1
  1208. package/dist/types/components/icon/icons/gift-icon.d.ts +1 -1
  1209. package/dist/types/components/icon/icons/git-branch-icon.d.ts +1 -1
  1210. package/dist/types/components/icon/icons/git-branch-minus-icon.d.ts +1 -1
  1211. package/dist/types/components/icon/icons/git-branch-plus-icon.d.ts +1 -1
  1212. package/dist/types/components/icon/icons/git-commit-horizontal-icon.d.ts +1 -1
  1213. package/dist/types/components/icon/icons/git-commit-vertical-icon.d.ts +1 -1
  1214. package/dist/types/components/icon/icons/git-compare-arrows-icon.d.ts +1 -1
  1215. package/dist/types/components/icon/icons/git-compare-icon.d.ts +1 -1
  1216. package/dist/types/components/icon/icons/git-fork-icon.d.ts +1 -1
  1217. package/dist/types/components/icon/icons/git-graph-icon.d.ts +1 -1
  1218. package/dist/types/components/icon/icons/git-merge-conflict-icon.d.ts +1 -1
  1219. package/dist/types/components/icon/icons/git-merge-icon.d.ts +1 -1
  1220. package/dist/types/components/icon/icons/git-pull-request-arrow-icon.d.ts +1 -1
  1221. package/dist/types/components/icon/icons/git-pull-request-closed-icon.d.ts +1 -1
  1222. package/dist/types/components/icon/icons/git-pull-request-create-arrow-icon.d.ts +1 -1
  1223. package/dist/types/components/icon/icons/git-pull-request-create-icon.d.ts +1 -1
  1224. package/dist/types/components/icon/icons/git-pull-request-draft-icon.d.ts +1 -1
  1225. package/dist/types/components/icon/icons/git-pull-request-icon.d.ts +1 -1
  1226. package/dist/types/components/icon/icons/glass-water-icon.d.ts +1 -1
  1227. package/dist/types/components/icon/icons/glasses-icon.d.ts +1 -1
  1228. package/dist/types/components/icon/icons/globe-check-icon.d.ts +1 -1
  1229. package/dist/types/components/icon/icons/globe-icon.d.ts +1 -1
  1230. package/dist/types/components/icon/icons/globe-lock-icon.d.ts +1 -1
  1231. package/dist/types/components/icon/icons/globe-off-icon.d.ts +1 -1
  1232. package/dist/types/components/icon/icons/globe-x-icon.d.ts +1 -1
  1233. package/dist/types/components/icon/icons/goal-icon.d.ts +1 -1
  1234. package/dist/types/components/icon/icons/gpu-icon.d.ts +1 -1
  1235. package/dist/types/components/icon/icons/graduation-cap-icon.d.ts +1 -1
  1236. package/dist/types/components/icon/icons/grape-icon.d.ts +1 -1
  1237. package/dist/types/components/icon/icons/grid2x2-check-icon.d.ts +1 -1
  1238. package/dist/types/components/icon/icons/grid2x2-icon.d.ts +1 -1
  1239. package/dist/types/components/icon/icons/grid2x2-plus-icon.d.ts +1 -1
  1240. package/dist/types/components/icon/icons/grid2x2-x-icon.d.ts +1 -1
  1241. package/dist/types/components/icon/icons/grid3x2-icon.d.ts +1 -1
  1242. package/dist/types/components/icon/icons/grid3x3-icon.d.ts +1 -1
  1243. package/dist/types/components/icon/icons/grip-horizontal-icon.d.ts +1 -1
  1244. package/dist/types/components/icon/icons/grip-icon.d.ts +1 -1
  1245. package/dist/types/components/icon/icons/grip-vertical-icon.d.ts +1 -1
  1246. package/dist/types/components/icon/icons/group-icon.d.ts +1 -1
  1247. package/dist/types/components/icon/icons/guitar-icon.d.ts +1 -1
  1248. package/dist/types/components/icon/icons/ham-icon.d.ts +1 -1
  1249. package/dist/types/components/icon/icons/hamburger-icon.d.ts +1 -1
  1250. package/dist/types/components/icon/icons/hammer-icon.d.ts +1 -1
  1251. package/dist/types/components/icon/icons/hand-coins-icon.d.ts +1 -1
  1252. package/dist/types/components/icon/icons/hand-fist-icon.d.ts +1 -1
  1253. package/dist/types/components/icon/icons/hand-grab-icon.d.ts +1 -1
  1254. package/dist/types/components/icon/icons/hand-heart-icon.d.ts +1 -1
  1255. package/dist/types/components/icon/icons/hand-helping-icon.d.ts +1 -1
  1256. package/dist/types/components/icon/icons/hand-icon.d.ts +1 -1
  1257. package/dist/types/components/icon/icons/hand-metal-icon.d.ts +1 -1
  1258. package/dist/types/components/icon/icons/hand-platter-icon.d.ts +1 -1
  1259. package/dist/types/components/icon/icons/handbag-icon.d.ts +1 -1
  1260. package/dist/types/components/icon/icons/handshake-icon.d.ts +1 -1
  1261. package/dist/types/components/icon/icons/hard-drive-download-icon.d.ts +1 -1
  1262. package/dist/types/components/icon/icons/hard-drive-icon.d.ts +1 -1
  1263. package/dist/types/components/icon/icons/hard-drive-upload-icon.d.ts +1 -1
  1264. package/dist/types/components/icon/icons/hard-hat-icon.d.ts +1 -1
  1265. package/dist/types/components/icon/icons/hash-icon.d.ts +1 -1
  1266. package/dist/types/components/icon/icons/hat-glasses-icon.d.ts +1 -1
  1267. package/dist/types/components/icon/icons/haze-icon.d.ts +1 -1
  1268. package/dist/types/components/icon/icons/hd-icon.d.ts +1 -1
  1269. package/dist/types/components/icon/icons/hdmi-port-icon.d.ts +1 -1
  1270. package/dist/types/components/icon/icons/heading-icon.d.ts +1 -1
  1271. package/dist/types/components/icon/icons/heading1-icon.d.ts +1 -1
  1272. package/dist/types/components/icon/icons/heading2-icon.d.ts +1 -1
  1273. package/dist/types/components/icon/icons/heading3-icon.d.ts +1 -1
  1274. package/dist/types/components/icon/icons/heading4-icon.d.ts +1 -1
  1275. package/dist/types/components/icon/icons/heading5-icon.d.ts +1 -1
  1276. package/dist/types/components/icon/icons/heading6-icon.d.ts +1 -1
  1277. package/dist/types/components/icon/icons/headphone-off-icon.d.ts +1 -1
  1278. package/dist/types/components/icon/icons/headphones-icon.d.ts +1 -1
  1279. package/dist/types/components/icon/icons/headset-icon.d.ts +1 -1
  1280. package/dist/types/components/icon/icons/heart-crack-icon.d.ts +1 -1
  1281. package/dist/types/components/icon/icons/heart-handshake-icon.d.ts +1 -1
  1282. package/dist/types/components/icon/icons/heart-icon.d.ts +1 -1
  1283. package/dist/types/components/icon/icons/heart-minus-icon.d.ts +1 -1
  1284. package/dist/types/components/icon/icons/heart-off-icon.d.ts +1 -1
  1285. package/dist/types/components/icon/icons/heart-plus-icon.d.ts +1 -1
  1286. package/dist/types/components/icon/icons/heart-pulse-icon.d.ts +1 -1
  1287. package/dist/types/components/icon/icons/heart-x-icon.d.ts +1 -1
  1288. package/dist/types/components/icon/icons/heater-icon.d.ts +1 -1
  1289. package/dist/types/components/icon/icons/helicopter-icon.d.ts +1 -1
  1290. package/dist/types/components/icon/icons/hexagon-icon.d.ts +1 -1
  1291. package/dist/types/components/icon/icons/highlighter-icon.d.ts +1 -1
  1292. package/dist/types/components/icon/icons/history-icon.d.ts +1 -1
  1293. package/dist/types/components/icon/icons/hop-icon.d.ts +1 -1
  1294. package/dist/types/components/icon/icons/hop-off-icon.d.ts +1 -1
  1295. package/dist/types/components/icon/icons/hospital-icon.d.ts +1 -1
  1296. package/dist/types/components/icon/icons/hotel-icon.d.ts +1 -1
  1297. package/dist/types/components/icon/icons/hourglass-icon.d.ts +1 -1
  1298. package/dist/types/components/icon/icons/house-heart-icon.d.ts +1 -1
  1299. package/dist/types/components/icon/icons/house-icon.d.ts +1 -1
  1300. package/dist/types/components/icon/icons/house-plug-icon.d.ts +1 -1
  1301. package/dist/types/components/icon/icons/house-plus-icon.d.ts +1 -1
  1302. package/dist/types/components/icon/icons/house-wifi-icon.d.ts +1 -1
  1303. package/dist/types/components/icon/icons/ice-cream-bowl-icon.d.ts +1 -1
  1304. package/dist/types/components/icon/icons/ice-cream-cone-icon.d.ts +1 -1
  1305. package/dist/types/components/icon/icons/id-card-icon.d.ts +1 -1
  1306. package/dist/types/components/icon/icons/id-card-lanyard-icon.d.ts +1 -1
  1307. package/dist/types/components/icon/icons/image-down-icon.d.ts +1 -1
  1308. package/dist/types/components/icon/icons/image-icon.d.ts +1 -1
  1309. package/dist/types/components/icon/icons/image-minus-icon.d.ts +1 -1
  1310. package/dist/types/components/icon/icons/image-off-icon.d.ts +1 -1
  1311. package/dist/types/components/icon/icons/image-play-icon.d.ts +1 -1
  1312. package/dist/types/components/icon/icons/image-plus-icon.d.ts +1 -1
  1313. package/dist/types/components/icon/icons/image-up-icon.d.ts +1 -1
  1314. package/dist/types/components/icon/icons/image-upscale-icon.d.ts +1 -1
  1315. package/dist/types/components/icon/icons/images-icon.d.ts +1 -1
  1316. package/dist/types/components/icon/icons/import-icon.d.ts +1 -1
  1317. package/dist/types/components/icon/icons/inbox-icon.d.ts +1 -1
  1318. package/dist/types/components/icon/icons/index.d.ts +3 -4
  1319. package/dist/types/components/icon/icons/index.types.d.ts +1 -1
  1320. package/dist/types/components/icon/icons/indian-rupee-icon.d.ts +1 -1
  1321. package/dist/types/components/icon/icons/infinity-icon.d.ts +1 -1
  1322. package/dist/types/components/icon/icons/info-icon.d.ts +1 -1
  1323. package/dist/types/components/icon/icons/inspection-panel-icon.d.ts +1 -1
  1324. package/dist/types/components/icon/icons/italic-icon.d.ts +1 -1
  1325. package/dist/types/components/icon/icons/iteration-ccw-icon.d.ts +1 -1
  1326. package/dist/types/components/icon/icons/iteration-cw-icon.d.ts +1 -1
  1327. package/dist/types/components/icon/icons/japanese-yen-icon.d.ts +1 -1
  1328. package/dist/types/components/icon/icons/joystick-icon.d.ts +1 -1
  1329. package/dist/types/components/icon/icons/kanban-icon.d.ts +1 -1
  1330. package/dist/types/components/icon/icons/kayak-icon.d.ts +1 -1
  1331. package/dist/types/components/icon/icons/key-icon.d.ts +1 -1
  1332. package/dist/types/components/icon/icons/key-round-icon.d.ts +1 -1
  1333. package/dist/types/components/icon/icons/key-square-icon.d.ts +1 -1
  1334. package/dist/types/components/icon/icons/keyboard-icon.d.ts +1 -1
  1335. package/dist/types/components/icon/icons/keyboard-music-icon.d.ts +1 -1
  1336. package/dist/types/components/icon/icons/keyboard-off-icon.d.ts +1 -1
  1337. package/dist/types/components/icon/icons/lamp-ceiling-icon.d.ts +1 -1
  1338. package/dist/types/components/icon/icons/lamp-desk-icon.d.ts +1 -1
  1339. package/dist/types/components/icon/icons/lamp-floor-icon.d.ts +1 -1
  1340. package/dist/types/components/icon/icons/lamp-icon.d.ts +1 -1
  1341. package/dist/types/components/icon/icons/lamp-wall-down-icon.d.ts +1 -1
  1342. package/dist/types/components/icon/icons/lamp-wall-up-icon.d.ts +1 -1
  1343. package/dist/types/components/icon/icons/land-plot-icon.d.ts +1 -1
  1344. package/dist/types/components/icon/icons/landmark-icon.d.ts +1 -1
  1345. package/dist/types/components/icon/icons/languages-icon.d.ts +1 -1
  1346. package/dist/types/components/icon/icons/laptop-icon.d.ts +1 -1
  1347. package/dist/types/components/icon/icons/laptop-minimal-check-icon.d.ts +1 -1
  1348. package/dist/types/components/icon/icons/laptop-minimal-icon.d.ts +1 -1
  1349. package/dist/types/components/icon/icons/lasso-icon.d.ts +1 -1
  1350. package/dist/types/components/icon/icons/lasso-select-icon.d.ts +1 -1
  1351. package/dist/types/components/icon/icons/laugh-icon.d.ts +1 -1
  1352. package/dist/types/components/icon/icons/layers-icon.d.ts +1 -1
  1353. package/dist/types/components/icon/icons/layers-minus-icon.d.ts +1 -1
  1354. package/dist/types/components/icon/icons/layers-plus-icon.d.ts +1 -1
  1355. package/dist/types/components/icon/icons/layers2-icon.d.ts +1 -1
  1356. package/dist/types/components/icon/icons/layout-dashboard-icon.d.ts +1 -1
  1357. package/dist/types/components/icon/icons/layout-grid-icon.d.ts +1 -1
  1358. package/dist/types/components/icon/icons/layout-list-icon.d.ts +1 -1
  1359. package/dist/types/components/icon/icons/layout-panel-left-icon.d.ts +1 -1
  1360. package/dist/types/components/icon/icons/layout-panel-top-icon.d.ts +1 -1
  1361. package/dist/types/components/icon/icons/layout-template-icon.d.ts +1 -1
  1362. package/dist/types/components/icon/icons/leaf-icon.d.ts +1 -1
  1363. package/dist/types/components/icon/icons/leafy-green-icon.d.ts +1 -1
  1364. package/dist/types/components/icon/icons/lectern-icon.d.ts +1 -1
  1365. package/dist/types/components/icon/icons/lens-concave-icon.d.ts +1 -1
  1366. package/dist/types/components/icon/icons/lens-convex-icon.d.ts +1 -1
  1367. package/dist/types/components/icon/icons/library-big-icon.d.ts +1 -1
  1368. package/dist/types/components/icon/icons/library-icon.d.ts +1 -1
  1369. package/dist/types/components/icon/icons/life-buoy-icon.d.ts +1 -1
  1370. package/dist/types/components/icon/icons/ligature-icon.d.ts +1 -1
  1371. package/dist/types/components/icon/icons/lightbulb-icon.d.ts +1 -1
  1372. package/dist/types/components/icon/icons/lightbulb-off-icon.d.ts +1 -1
  1373. package/dist/types/components/icon/icons/line-dot-right-horizontal-icon.d.ts +1 -1
  1374. package/dist/types/components/icon/icons/line-squiggle-icon.d.ts +1 -1
  1375. package/dist/types/components/icon/icons/line-style-icon.d.ts +1 -1
  1376. package/dist/types/components/icon/icons/link-icon.d.ts +1 -1
  1377. package/dist/types/components/icon/icons/link2-icon.d.ts +1 -1
  1378. package/dist/types/components/icon/icons/link2-off-icon.d.ts +1 -1
  1379. package/dist/types/components/icon/icons/list-check-icon.d.ts +1 -1
  1380. package/dist/types/components/icon/icons/list-checks-icon.d.ts +1 -1
  1381. package/dist/types/components/icon/icons/list-chevrons-down-up-icon.d.ts +1 -1
  1382. package/dist/types/components/icon/icons/list-chevrons-up-down-icon.d.ts +1 -1
  1383. package/dist/types/components/icon/icons/list-collapse-icon.d.ts +1 -1
  1384. package/dist/types/components/icon/icons/list-end-icon.d.ts +1 -1
  1385. package/dist/types/components/icon/icons/list-filter-icon.d.ts +1 -1
  1386. package/dist/types/components/icon/icons/list-filter-plus-icon.d.ts +1 -1
  1387. package/dist/types/components/icon/icons/list-icon.d.ts +1 -1
  1388. package/dist/types/components/icon/icons/list-indent-decrease-icon.d.ts +1 -1
  1389. package/dist/types/components/icon/icons/list-indent-increase-icon.d.ts +1 -1
  1390. package/dist/types/components/icon/icons/list-minus-icon.d.ts +1 -1
  1391. package/dist/types/components/icon/icons/list-music-icon.d.ts +1 -1
  1392. package/dist/types/components/icon/icons/list-ordered-icon.d.ts +1 -1
  1393. package/dist/types/components/icon/icons/list-plus-icon.d.ts +1 -1
  1394. package/dist/types/components/icon/icons/list-restart-icon.d.ts +1 -1
  1395. package/dist/types/components/icon/icons/list-sort-ascending-icon.d.ts +1 -1
  1396. package/dist/types/components/icon/icons/list-sort-descending-icon.d.ts +1 -1
  1397. package/dist/types/components/icon/icons/list-start-icon.d.ts +1 -1
  1398. package/dist/types/components/icon/icons/list-todo-icon.d.ts +1 -1
  1399. package/dist/types/components/icon/icons/list-tree-icon.d.ts +1 -1
  1400. package/dist/types/components/icon/icons/list-video-icon.d.ts +1 -1
  1401. package/dist/types/components/icon/icons/list-x-icon.d.ts +1 -1
  1402. package/dist/types/components/icon/icons/loader-circle-icon.d.ts +1 -1
  1403. package/dist/types/components/icon/icons/loader-icon.d.ts +1 -1
  1404. package/dist/types/components/icon/icons/loader-pinwheel-icon.d.ts +1 -1
  1405. package/dist/types/components/icon/icons/locate-fixed-icon.d.ts +1 -1
  1406. package/dist/types/components/icon/icons/locate-icon.d.ts +1 -1
  1407. package/dist/types/components/icon/icons/locate-off-icon.d.ts +1 -1
  1408. package/dist/types/components/icon/icons/lock-icon.d.ts +1 -1
  1409. package/dist/types/components/icon/icons/lock-keyhole-icon.d.ts +1 -1
  1410. package/dist/types/components/icon/icons/lock-keyhole-open-icon.d.ts +1 -1
  1411. package/dist/types/components/icon/icons/lock-open-icon.d.ts +1 -1
  1412. package/dist/types/components/icon/icons/log-in-icon.d.ts +1 -1
  1413. package/dist/types/components/icon/icons/log-out-icon.d.ts +1 -1
  1414. package/dist/types/components/icon/icons/logs-icon.d.ts +1 -1
  1415. package/dist/types/components/icon/icons/lollipop-icon.d.ts +1 -1
  1416. package/dist/types/components/icon/icons/luggage-icon.d.ts +1 -1
  1417. package/dist/types/components/icon/icons/magnet-icon.d.ts +1 -1
  1418. package/dist/types/components/icon/icons/mail-check-icon.d.ts +1 -1
  1419. package/dist/types/components/icon/icons/mail-icon.d.ts +1 -1
  1420. package/dist/types/components/icon/icons/mail-minus-icon.d.ts +1 -1
  1421. package/dist/types/components/icon/icons/mail-open-icon.d.ts +1 -1
  1422. package/dist/types/components/icon/icons/mail-plus-icon.d.ts +1 -1
  1423. package/dist/types/components/icon/icons/mail-question-mark-icon.d.ts +1 -1
  1424. package/dist/types/components/icon/icons/mail-search-icon.d.ts +1 -1
  1425. package/dist/types/components/icon/icons/mail-warning-icon.d.ts +1 -1
  1426. package/dist/types/components/icon/icons/mail-x-icon.d.ts +1 -1
  1427. package/dist/types/components/icon/icons/mailbox-icon.d.ts +1 -1
  1428. package/dist/types/components/icon/icons/mails-icon.d.ts +1 -1
  1429. package/dist/types/components/icon/icons/map-icon.d.ts +1 -1
  1430. package/dist/types/components/icon/icons/map-minus-icon.d.ts +1 -1
  1431. package/dist/types/components/icon/icons/map-pin-check-icon.d.ts +1 -1
  1432. package/dist/types/components/icon/icons/map-pin-check-inside-icon.d.ts +1 -1
  1433. package/dist/types/components/icon/icons/map-pin-house-icon.d.ts +1 -1
  1434. package/dist/types/components/icon/icons/map-pin-icon.d.ts +1 -1
  1435. package/dist/types/components/icon/icons/map-pin-minus-icon.d.ts +1 -1
  1436. package/dist/types/components/icon/icons/map-pin-minus-inside-icon.d.ts +1 -1
  1437. package/dist/types/components/icon/icons/map-pin-off-icon.d.ts +1 -1
  1438. package/dist/types/components/icon/icons/map-pin-pen-icon.d.ts +1 -1
  1439. package/dist/types/components/icon/icons/map-pin-plus-icon.d.ts +1 -1
  1440. package/dist/types/components/icon/icons/map-pin-plus-inside-icon.d.ts +1 -1
  1441. package/dist/types/components/icon/icons/map-pin-search-icon.d.ts +1 -1
  1442. package/dist/types/components/icon/icons/map-pin-x-icon.d.ts +1 -1
  1443. package/dist/types/components/icon/icons/map-pin-x-inside-icon.d.ts +1 -1
  1444. package/dist/types/components/icon/icons/map-pinned-icon.d.ts +1 -1
  1445. package/dist/types/components/icon/icons/map-plus-icon.d.ts +1 -1
  1446. package/dist/types/components/icon/icons/mars-icon.d.ts +1 -1
  1447. package/dist/types/components/icon/icons/mars-stroke-icon.d.ts +1 -1
  1448. package/dist/types/components/icon/icons/martini-icon.d.ts +1 -1
  1449. package/dist/types/components/icon/icons/maximize-icon.d.ts +1 -1
  1450. package/dist/types/components/icon/icons/maximize2-icon.d.ts +1 -1
  1451. package/dist/types/components/icon/icons/medal-icon.d.ts +1 -1
  1452. package/dist/types/components/icon/icons/megaphone-icon.d.ts +1 -1
  1453. package/dist/types/components/icon/icons/megaphone-off-icon.d.ts +1 -1
  1454. package/dist/types/components/icon/icons/meh-icon.d.ts +1 -1
  1455. package/dist/types/components/icon/icons/memory-stick-icon.d.ts +1 -1
  1456. package/dist/types/components/icon/icons/menu-icon.d.ts +1 -1
  1457. package/dist/types/components/icon/icons/merge-icon.d.ts +1 -1
  1458. package/dist/types/components/icon/icons/message-circle-check-icon.d.ts +1 -1
  1459. package/dist/types/components/icon/icons/message-circle-code-icon.d.ts +1 -1
  1460. package/dist/types/components/icon/icons/message-circle-dashed-icon.d.ts +1 -1
  1461. package/dist/types/components/icon/icons/message-circle-heart-icon.d.ts +1 -1
  1462. package/dist/types/components/icon/icons/message-circle-icon.d.ts +1 -1
  1463. package/dist/types/components/icon/icons/message-circle-more-icon.d.ts +1 -1
  1464. package/dist/types/components/icon/icons/message-circle-off-icon.d.ts +1 -1
  1465. package/dist/types/components/icon/icons/message-circle-plus-icon.d.ts +1 -1
  1466. package/dist/types/components/icon/icons/message-circle-question-mark-icon.d.ts +1 -1
  1467. package/dist/types/components/icon/icons/message-circle-reply-icon.d.ts +1 -1
  1468. package/dist/types/components/icon/icons/message-circle-warning-icon.d.ts +1 -1
  1469. package/dist/types/components/icon/icons/message-circle-x-icon.d.ts +1 -1
  1470. package/dist/types/components/icon/icons/message-square-check-icon.d.ts +1 -1
  1471. package/dist/types/components/icon/icons/message-square-code-icon.d.ts +1 -1
  1472. package/dist/types/components/icon/icons/message-square-dashed-icon.d.ts +1 -1
  1473. package/dist/types/components/icon/icons/message-square-diff-icon.d.ts +1 -1
  1474. package/dist/types/components/icon/icons/message-square-dot-icon.d.ts +1 -1
  1475. package/dist/types/components/icon/icons/message-square-heart-icon.d.ts +1 -1
  1476. package/dist/types/components/icon/icons/message-square-icon.d.ts +1 -1
  1477. package/dist/types/components/icon/icons/message-square-lock-icon.d.ts +1 -1
  1478. package/dist/types/components/icon/icons/message-square-more-icon.d.ts +1 -1
  1479. package/dist/types/components/icon/icons/message-square-off-icon.d.ts +1 -1
  1480. package/dist/types/components/icon/icons/message-square-plus-icon.d.ts +1 -1
  1481. package/dist/types/components/icon/icons/message-square-quote-icon.d.ts +1 -1
  1482. package/dist/types/components/icon/icons/message-square-reply-icon.d.ts +1 -1
  1483. package/dist/types/components/icon/icons/message-square-share-icon.d.ts +1 -1
  1484. package/dist/types/components/icon/icons/message-square-text-icon.d.ts +1 -1
  1485. package/dist/types/components/icon/icons/message-square-warning-icon.d.ts +1 -1
  1486. package/dist/types/components/icon/icons/message-square-x-icon.d.ts +1 -1
  1487. package/dist/types/components/icon/icons/messages-square-icon.d.ts +1 -1
  1488. package/dist/types/components/icon/icons/metronome-icon.d.ts +1 -1
  1489. package/dist/types/components/icon/icons/mic-icon.d.ts +1 -1
  1490. package/dist/types/components/icon/icons/mic-off-icon.d.ts +1 -1
  1491. package/dist/types/components/icon/icons/mic-vocal-icon.d.ts +1 -1
  1492. package/dist/types/components/icon/icons/microchip-icon.d.ts +1 -1
  1493. package/dist/types/components/icon/icons/microscope-icon.d.ts +1 -1
  1494. package/dist/types/components/icon/icons/microwave-icon.d.ts +1 -1
  1495. package/dist/types/components/icon/icons/milestone-icon.d.ts +1 -1
  1496. package/dist/types/components/icon/icons/milk-icon.d.ts +1 -1
  1497. package/dist/types/components/icon/icons/milk-off-icon.d.ts +1 -1
  1498. package/dist/types/components/icon/icons/minimize-icon.d.ts +1 -1
  1499. package/dist/types/components/icon/icons/minimize2-icon.d.ts +1 -1
  1500. package/dist/types/components/icon/icons/minus-icon.d.ts +1 -1
  1501. package/dist/types/components/icon/icons/mirror-rectangular-icon.d.ts +1 -1
  1502. package/dist/types/components/icon/icons/mirror-round-icon.d.ts +1 -1
  1503. package/dist/types/components/icon/icons/monitor-check-icon.d.ts +1 -1
  1504. package/dist/types/components/icon/icons/monitor-cloud-icon.d.ts +1 -1
  1505. package/dist/types/components/icon/icons/monitor-cog-icon.d.ts +1 -1
  1506. package/dist/types/components/icon/icons/monitor-dot-icon.d.ts +1 -1
  1507. package/dist/types/components/icon/icons/monitor-down-icon.d.ts +1 -1
  1508. package/dist/types/components/icon/icons/monitor-icon.d.ts +1 -1
  1509. package/dist/types/components/icon/icons/monitor-off-icon.d.ts +1 -1
  1510. package/dist/types/components/icon/icons/monitor-pause-icon.d.ts +1 -1
  1511. package/dist/types/components/icon/icons/monitor-play-icon.d.ts +1 -1
  1512. package/dist/types/components/icon/icons/monitor-smartphone-icon.d.ts +1 -1
  1513. package/dist/types/components/icon/icons/monitor-speaker-icon.d.ts +1 -1
  1514. package/dist/types/components/icon/icons/monitor-stop-icon.d.ts +1 -1
  1515. package/dist/types/components/icon/icons/monitor-up-icon.d.ts +1 -1
  1516. package/dist/types/components/icon/icons/monitor-x-icon.d.ts +1 -1
  1517. package/dist/types/components/icon/icons/moon-icon.d.ts +1 -1
  1518. package/dist/types/components/icon/icons/moon-star-icon.d.ts +1 -1
  1519. package/dist/types/components/icon/icons/motorbike-icon.d.ts +1 -1
  1520. package/dist/types/components/icon/icons/mountain-icon.d.ts +1 -1
  1521. package/dist/types/components/icon/icons/mountain-snow-icon.d.ts +1 -1
  1522. package/dist/types/components/icon/icons/mouse-icon.d.ts +1 -1
  1523. package/dist/types/components/icon/icons/mouse-left-icon.d.ts +1 -1
  1524. package/dist/types/components/icon/icons/mouse-off-icon.d.ts +1 -1
  1525. package/dist/types/components/icon/icons/mouse-pointer-ban-icon.d.ts +1 -1
  1526. package/dist/types/components/icon/icons/mouse-pointer-click-icon.d.ts +1 -1
  1527. package/dist/types/components/icon/icons/mouse-pointer-icon.d.ts +1 -1
  1528. package/dist/types/components/icon/icons/mouse-pointer2-icon.d.ts +1 -1
  1529. package/dist/types/components/icon/icons/mouse-pointer2-off-icon.d.ts +1 -1
  1530. package/dist/types/components/icon/icons/mouse-right-icon.d.ts +1 -1
  1531. package/dist/types/components/icon/icons/move-diagonal-icon.d.ts +1 -1
  1532. package/dist/types/components/icon/icons/move-diagonal2-icon.d.ts +1 -1
  1533. package/dist/types/components/icon/icons/move-down-icon.d.ts +1 -1
  1534. package/dist/types/components/icon/icons/move-down-left-icon.d.ts +1 -1
  1535. package/dist/types/components/icon/icons/move-down-right-icon.d.ts +1 -1
  1536. package/dist/types/components/icon/icons/move-horizontal-icon.d.ts +1 -1
  1537. package/dist/types/components/icon/icons/move-icon.d.ts +1 -1
  1538. package/dist/types/components/icon/icons/move-left-icon.d.ts +1 -1
  1539. package/dist/types/components/icon/icons/move-right-icon.d.ts +1 -1
  1540. package/dist/types/components/icon/icons/move-up-icon.d.ts +1 -1
  1541. package/dist/types/components/icon/icons/move-up-left-icon.d.ts +1 -1
  1542. package/dist/types/components/icon/icons/move-up-right-icon.d.ts +1 -1
  1543. package/dist/types/components/icon/icons/move-vertical-icon.d.ts +1 -1
  1544. package/dist/types/components/icon/icons/move3d-icon.d.ts +1 -1
  1545. package/dist/types/components/icon/icons/music-icon.d.ts +1 -1
  1546. package/dist/types/components/icon/icons/music2-icon.d.ts +1 -1
  1547. package/dist/types/components/icon/icons/music3-icon.d.ts +1 -1
  1548. package/dist/types/components/icon/icons/music4-icon.d.ts +1 -1
  1549. package/dist/types/components/icon/icons/navigation-icon.d.ts +1 -1
  1550. package/dist/types/components/icon/icons/navigation-off-icon.d.ts +1 -1
  1551. package/dist/types/components/icon/icons/navigation2-icon.d.ts +1 -1
  1552. package/dist/types/components/icon/icons/navigation2-off-icon.d.ts +1 -1
  1553. package/dist/types/components/icon/icons/network-icon.d.ts +1 -1
  1554. package/dist/types/components/icon/icons/newspaper-icon.d.ts +1 -1
  1555. package/dist/types/components/icon/icons/nfc-icon.d.ts +1 -1
  1556. package/dist/types/components/icon/icons/non-binary-icon.d.ts +1 -1
  1557. package/dist/types/components/icon/icons/notebook-icon.d.ts +1 -1
  1558. package/dist/types/components/icon/icons/notebook-pen-icon.d.ts +1 -1
  1559. package/dist/types/components/icon/icons/notebook-tabs-icon.d.ts +1 -1
  1560. package/dist/types/components/icon/icons/notebook-text-icon.d.ts +1 -1
  1561. package/dist/types/components/icon/icons/notepad-text-dashed-icon.d.ts +1 -1
  1562. package/dist/types/components/icon/icons/notepad-text-icon.d.ts +1 -1
  1563. package/dist/types/components/icon/icons/nut-icon.d.ts +1 -1
  1564. package/dist/types/components/icon/icons/nut-off-icon.d.ts +1 -1
  1565. package/dist/types/components/icon/icons/octagon-alert-icon.d.ts +1 -1
  1566. package/dist/types/components/icon/icons/octagon-icon.d.ts +1 -1
  1567. package/dist/types/components/icon/icons/octagon-minus-icon.d.ts +1 -1
  1568. package/dist/types/components/icon/icons/octagon-pause-icon.d.ts +1 -1
  1569. package/dist/types/components/icon/icons/octagon-x-icon.d.ts +1 -1
  1570. package/dist/types/components/icon/icons/omega-icon.d.ts +1 -1
  1571. package/dist/types/components/icon/icons/option-icon.d.ts +1 -1
  1572. package/dist/types/components/icon/icons/orbit-icon.d.ts +1 -1
  1573. package/dist/types/components/icon/icons/origami-icon.d.ts +1 -1
  1574. package/dist/types/components/icon/icons/package-check-icon.d.ts +1 -1
  1575. package/dist/types/components/icon/icons/package-icon.d.ts +1 -1
  1576. package/dist/types/components/icon/icons/package-minus-icon.d.ts +1 -1
  1577. package/dist/types/components/icon/icons/package-open-icon.d.ts +1 -1
  1578. package/dist/types/components/icon/icons/package-plus-icon.d.ts +1 -1
  1579. package/dist/types/components/icon/icons/package-search-icon.d.ts +1 -1
  1580. package/dist/types/components/icon/icons/package-x-icon.d.ts +1 -1
  1581. package/dist/types/components/icon/icons/package2-icon.d.ts +1 -1
  1582. package/dist/types/components/icon/icons/paint-bucket-icon.d.ts +1 -1
  1583. package/dist/types/components/icon/icons/paint-roller-icon.d.ts +1 -1
  1584. package/dist/types/components/icon/icons/paintbrush-icon.d.ts +1 -1
  1585. package/dist/types/components/icon/icons/paintbrush-vertical-icon.d.ts +1 -1
  1586. package/dist/types/components/icon/icons/palette-icon.d.ts +1 -1
  1587. package/dist/types/components/icon/icons/panda-icon.d.ts +1 -1
  1588. package/dist/types/components/icon/icons/panel-bottom-close-icon.d.ts +1 -1
  1589. package/dist/types/components/icon/icons/panel-bottom-dashed-icon.d.ts +1 -1
  1590. package/dist/types/components/icon/icons/panel-bottom-icon.d.ts +1 -1
  1591. package/dist/types/components/icon/icons/panel-bottom-open-icon.d.ts +1 -1
  1592. package/dist/types/components/icon/icons/panel-left-close-icon.d.ts +1 -1
  1593. package/dist/types/components/icon/icons/panel-left-dashed-icon.d.ts +1 -1
  1594. package/dist/types/components/icon/icons/panel-left-icon.d.ts +1 -1
  1595. package/dist/types/components/icon/icons/panel-left-open-icon.d.ts +1 -1
  1596. package/dist/types/components/icon/icons/panel-left-right-dashed-icon.d.ts +1 -1
  1597. package/dist/types/components/icon/icons/panel-right-close-icon.d.ts +1 -1
  1598. package/dist/types/components/icon/icons/panel-right-dashed-icon.d.ts +1 -1
  1599. package/dist/types/components/icon/icons/panel-right-icon.d.ts +1 -1
  1600. package/dist/types/components/icon/icons/panel-right-open-icon.d.ts +1 -1
  1601. package/dist/types/components/icon/icons/panel-top-bottom-dashed-icon.d.ts +1 -1
  1602. package/dist/types/components/icon/icons/panel-top-close-icon.d.ts +1 -1
  1603. package/dist/types/components/icon/icons/panel-top-dashed-icon.d.ts +1 -1
  1604. package/dist/types/components/icon/icons/panel-top-icon.d.ts +1 -1
  1605. package/dist/types/components/icon/icons/panel-top-open-icon.d.ts +1 -1
  1606. package/dist/types/components/icon/icons/panels-left-bottom-icon.d.ts +1 -1
  1607. package/dist/types/components/icon/icons/panels-right-bottom-icon.d.ts +1 -1
  1608. package/dist/types/components/icon/icons/panels-top-left-icon.d.ts +1 -1
  1609. package/dist/types/components/icon/icons/paper-bag-icon.d.ts +1 -1
  1610. package/dist/types/components/icon/icons/paperclip-icon.d.ts +1 -1
  1611. package/dist/types/components/icon/icons/parasol-icon.d.ts +1 -1
  1612. package/dist/types/components/icon/icons/parentheses-icon.d.ts +1 -1
  1613. package/dist/types/components/icon/icons/parking-meter-icon.d.ts +1 -1
  1614. package/dist/types/components/icon/icons/party-popper-icon.d.ts +1 -1
  1615. package/dist/types/components/icon/icons/pause-icon.d.ts +1 -1
  1616. package/dist/types/components/icon/icons/paw-print-icon.d.ts +1 -1
  1617. package/dist/types/components/icon/icons/pc-case-icon.d.ts +1 -1
  1618. package/dist/types/components/icon/icons/pen-icon.d.ts +1 -1
  1619. package/dist/types/components/icon/icons/pen-line-icon.d.ts +1 -1
  1620. package/dist/types/components/icon/icons/pen-off-icon.d.ts +1 -1
  1621. package/dist/types/components/icon/icons/pen-tool-icon.d.ts +1 -1
  1622. package/dist/types/components/icon/icons/pencil-icon.d.ts +1 -1
  1623. package/dist/types/components/icon/icons/pencil-line-icon.d.ts +1 -1
  1624. package/dist/types/components/icon/icons/pencil-off-icon.d.ts +1 -1
  1625. package/dist/types/components/icon/icons/pencil-ruler-icon.d.ts +1 -1
  1626. package/dist/types/components/icon/icons/pencil-sparkles-icon.d.ts +1 -1
  1627. package/dist/types/components/icon/icons/pentagon-icon.d.ts +1 -1
  1628. package/dist/types/components/icon/icons/percent-icon.d.ts +1 -1
  1629. package/dist/types/components/icon/icons/person-standing-icon.d.ts +1 -1
  1630. package/dist/types/components/icon/icons/phi-icon.d.ts +1 -1
  1631. package/dist/types/components/icon/icons/philippine-peso-icon.d.ts +1 -1
  1632. package/dist/types/components/icon/icons/phone-call-icon.d.ts +1 -1
  1633. package/dist/types/components/icon/icons/phone-forwarded-icon.d.ts +1 -1
  1634. package/dist/types/components/icon/icons/phone-icon.d.ts +1 -1
  1635. package/dist/types/components/icon/icons/phone-incoming-icon.d.ts +1 -1
  1636. package/dist/types/components/icon/icons/phone-missed-icon.d.ts +1 -1
  1637. package/dist/types/components/icon/icons/phone-off-icon.d.ts +1 -1
  1638. package/dist/types/components/icon/icons/phone-outgoing-icon.d.ts +1 -1
  1639. package/dist/types/components/icon/icons/pi-icon.d.ts +1 -1
  1640. package/dist/types/components/icon/icons/piano-icon.d.ts +1 -1
  1641. package/dist/types/components/icon/icons/pickaxe-icon.d.ts +1 -1
  1642. package/dist/types/components/icon/icons/picture-in-picture-icon.d.ts +1 -1
  1643. package/dist/types/components/icon/icons/picture-in-picture2-icon.d.ts +1 -1
  1644. package/dist/types/components/icon/icons/piggy-bank-icon.d.ts +1 -1
  1645. package/dist/types/components/icon/icons/pilcrow-icon.d.ts +1 -1
  1646. package/dist/types/components/icon/icons/pilcrow-left-icon.d.ts +1 -1
  1647. package/dist/types/components/icon/icons/pilcrow-right-icon.d.ts +1 -1
  1648. package/dist/types/components/icon/icons/pill-bottle-icon.d.ts +1 -1
  1649. package/dist/types/components/icon/icons/pill-icon.d.ts +1 -1
  1650. package/dist/types/components/icon/icons/pin-icon.d.ts +1 -1
  1651. package/dist/types/components/icon/icons/pin-off-icon.d.ts +1 -1
  1652. package/dist/types/components/icon/icons/pipette-icon.d.ts +1 -1
  1653. package/dist/types/components/icon/icons/pizza-icon.d.ts +1 -1
  1654. package/dist/types/components/icon/icons/plane-icon.d.ts +1 -1
  1655. package/dist/types/components/icon/icons/plane-landing-icon.d.ts +1 -1
  1656. package/dist/types/components/icon/icons/plane-takeoff-icon.d.ts +1 -1
  1657. package/dist/types/components/icon/icons/play-icon.d.ts +1 -1
  1658. package/dist/types/components/icon/icons/play-off-icon.d.ts +1 -1
  1659. package/dist/types/components/icon/icons/plug-icon.d.ts +1 -1
  1660. package/dist/types/components/icon/icons/plug-zap-icon.d.ts +1 -1
  1661. package/dist/types/components/icon/icons/plug2-icon.d.ts +1 -1
  1662. package/dist/types/components/icon/icons/plus-icon.d.ts +1 -1
  1663. package/dist/types/components/icon/icons/pocket-knife-icon.d.ts +1 -1
  1664. package/dist/types/components/icon/icons/podcast-icon.d.ts +1 -1
  1665. package/dist/types/components/icon/icons/podium-icon.d.ts +1 -1
  1666. package/dist/types/components/icon/icons/pointer-icon.d.ts +1 -1
  1667. package/dist/types/components/icon/icons/pointer-off-icon.d.ts +1 -1
  1668. package/dist/types/components/icon/icons/popcorn-icon.d.ts +1 -1
  1669. package/dist/types/components/icon/icons/popsicle-icon.d.ts +1 -1
  1670. package/dist/types/components/icon/icons/pound-sterling-icon.d.ts +1 -1
  1671. package/dist/types/components/icon/icons/power-icon.d.ts +1 -1
  1672. package/dist/types/components/icon/icons/power-off-icon.d.ts +1 -1
  1673. package/dist/types/components/icon/icons/presentation-icon.d.ts +1 -1
  1674. package/dist/types/components/icon/icons/printer-check-icon.d.ts +1 -1
  1675. package/dist/types/components/icon/icons/printer-icon.d.ts +1 -1
  1676. package/dist/types/components/icon/icons/printer-x-icon.d.ts +1 -1
  1677. package/dist/types/components/icon/icons/projector-icon.d.ts +1 -1
  1678. package/dist/types/components/icon/icons/proportions-icon.d.ts +1 -1
  1679. package/dist/types/components/icon/icons/puzzle-icon.d.ts +1 -1
  1680. package/dist/types/components/icon/icons/pyramid-icon.d.ts +1 -1
  1681. package/dist/types/components/icon/icons/qr-code-icon.d.ts +1 -1
  1682. package/dist/types/components/icon/icons/quote-icon.d.ts +1 -1
  1683. package/dist/types/components/icon/icons/rabbit-icon.d.ts +1 -1
  1684. package/dist/types/components/icon/icons/radar-icon.d.ts +1 -1
  1685. package/dist/types/components/icon/icons/radiation-icon.d.ts +1 -1
  1686. package/dist/types/components/icon/icons/radical-icon.d.ts +1 -1
  1687. package/dist/types/components/icon/icons/radio-icon.d.ts +1 -1
  1688. package/dist/types/components/icon/icons/radio-off-icon.d.ts +1 -1
  1689. package/dist/types/components/icon/icons/radio-receiver-icon.d.ts +1 -1
  1690. package/dist/types/components/icon/icons/radio-tower-icon.d.ts +1 -1
  1691. package/dist/types/components/icon/icons/radius-icon.d.ts +1 -1
  1692. package/dist/types/components/icon/icons/rainbow-icon.d.ts +1 -1
  1693. package/dist/types/components/icon/icons/rat-icon.d.ts +1 -1
  1694. package/dist/types/components/icon/icons/ratio-icon.d.ts +1 -1
  1695. package/dist/types/components/icon/icons/receipt-cent-icon.d.ts +1 -1
  1696. package/dist/types/components/icon/icons/receipt-euro-icon.d.ts +1 -1
  1697. package/dist/types/components/icon/icons/receipt-icon.d.ts +1 -1
  1698. package/dist/types/components/icon/icons/receipt-indian-rupee-icon.d.ts +1 -1
  1699. package/dist/types/components/icon/icons/receipt-japanese-yen-icon.d.ts +1 -1
  1700. package/dist/types/components/icon/icons/receipt-pound-sterling-icon.d.ts +1 -1
  1701. package/dist/types/components/icon/icons/receipt-russian-ruble-icon.d.ts +1 -1
  1702. package/dist/types/components/icon/icons/receipt-swiss-franc-icon.d.ts +1 -1
  1703. package/dist/types/components/icon/icons/receipt-text-icon.d.ts +1 -1
  1704. package/dist/types/components/icon/icons/receipt-turkish-lira-icon.d.ts +1 -1
  1705. package/dist/types/components/icon/icons/rectangle-circle-icon.d.ts +1 -1
  1706. package/dist/types/components/icon/icons/rectangle-ellipsis-icon.d.ts +1 -1
  1707. package/dist/types/components/icon/icons/rectangle-goggles-icon.d.ts +1 -1
  1708. package/dist/types/components/icon/icons/rectangle-horizontal-icon.d.ts +1 -1
  1709. package/dist/types/components/icon/icons/rectangle-vertical-icon.d.ts +1 -1
  1710. package/dist/types/components/icon/icons/recycle-icon.d.ts +1 -1
  1711. package/dist/types/components/icon/icons/redo-dot-icon.d.ts +1 -1
  1712. package/dist/types/components/icon/icons/redo-icon.d.ts +1 -1
  1713. package/dist/types/components/icon/icons/redo2-icon.d.ts +1 -1
  1714. package/dist/types/components/icon/icons/refresh-ccw-dot-icon.d.ts +1 -1
  1715. package/dist/types/components/icon/icons/refresh-ccw-icon.d.ts +1 -1
  1716. package/dist/types/components/icon/icons/refresh-cw-icon.d.ts +1 -1
  1717. package/dist/types/components/icon/icons/refresh-cw-off-icon.d.ts +1 -1
  1718. package/dist/types/components/icon/icons/refrigerator-icon.d.ts +1 -1
  1719. package/dist/types/components/icon/icons/regex-icon.d.ts +1 -1
  1720. package/dist/types/components/icon/icons/remove-formatting-icon.d.ts +1 -1
  1721. package/dist/types/components/icon/icons/repeat-icon.d.ts +1 -1
  1722. package/dist/types/components/icon/icons/repeat-off-icon.d.ts +1 -1
  1723. package/dist/types/components/icon/icons/repeat1-icon.d.ts +1 -1
  1724. package/dist/types/components/icon/icons/repeat2-icon.d.ts +1 -1
  1725. package/dist/types/components/icon/icons/replace-all-icon.d.ts +1 -1
  1726. package/dist/types/components/icon/icons/replace-icon.d.ts +1 -1
  1727. package/dist/types/components/icon/icons/reply-all-icon.d.ts +1 -1
  1728. package/dist/types/components/icon/icons/reply-icon.d.ts +1 -1
  1729. package/dist/types/components/icon/icons/rewind-icon.d.ts +1 -1
  1730. package/dist/types/components/icon/icons/ribbon-icon.d.ts +1 -1
  1731. package/dist/types/components/icon/icons/road-icon.d.ts +1 -1
  1732. package/dist/types/components/icon/icons/rocket-icon.d.ts +1 -1
  1733. package/dist/types/components/icon/icons/rocking-chair-icon.d.ts +1 -1
  1734. package/dist/types/components/icon/icons/roller-coaster-icon.d.ts +1 -1
  1735. package/dist/types/components/icon/icons/rose-icon.d.ts +1 -1
  1736. package/dist/types/components/icon/icons/rotate-ccw-icon.d.ts +1 -1
  1737. package/dist/types/components/icon/icons/rotate-ccw-key-icon.d.ts +1 -1
  1738. package/dist/types/components/icon/icons/rotate-ccw-square-icon.d.ts +1 -1
  1739. package/dist/types/components/icon/icons/rotate-cw-icon.d.ts +1 -1
  1740. package/dist/types/components/icon/icons/rotate-cw-square-icon.d.ts +1 -1
  1741. package/dist/types/components/icon/icons/rotate3d-icon.d.ts +1 -1
  1742. package/dist/types/components/icon/icons/route-icon.d.ts +1 -1
  1743. package/dist/types/components/icon/icons/route-off-icon.d.ts +1 -1
  1744. package/dist/types/components/icon/icons/router-icon.d.ts +1 -1
  1745. package/dist/types/components/icon/icons/rows2-icon.d.ts +1 -1
  1746. package/dist/types/components/icon/icons/rows3-icon.d.ts +1 -1
  1747. package/dist/types/components/icon/icons/rows4-icon.d.ts +1 -1
  1748. package/dist/types/components/icon/icons/rss-icon.d.ts +1 -1
  1749. package/dist/types/components/icon/icons/ruler-dimension-line-icon.d.ts +1 -1
  1750. package/dist/types/components/icon/icons/ruler-icon.d.ts +1 -1
  1751. package/dist/types/components/icon/icons/russian-ruble-icon.d.ts +1 -1
  1752. package/dist/types/components/icon/icons/sailboat-icon.d.ts +1 -1
  1753. package/dist/types/components/icon/icons/salad-icon.d.ts +1 -1
  1754. package/dist/types/components/icon/icons/sandwich-icon.d.ts +1 -1
  1755. package/dist/types/components/icon/icons/satellite-dish-icon.d.ts +1 -1
  1756. package/dist/types/components/icon/icons/satellite-icon.d.ts +1 -1
  1757. package/dist/types/components/icon/icons/saudi-riyal-icon.d.ts +1 -1
  1758. package/dist/types/components/icon/icons/save-all-icon.d.ts +1 -1
  1759. package/dist/types/components/icon/icons/save-check-icon.d.ts +1 -1
  1760. package/dist/types/components/icon/icons/save-icon.d.ts +1 -1
  1761. package/dist/types/components/icon/icons/save-off-icon.d.ts +1 -1
  1762. package/dist/types/components/icon/icons/save-pen-icon.d.ts +1 -1
  1763. package/dist/types/components/icon/icons/save-plus-icon.d.ts +1 -1
  1764. package/dist/types/components/icon/icons/scale-icon.d.ts +1 -1
  1765. package/dist/types/components/icon/icons/scale3d-icon.d.ts +1 -1
  1766. package/dist/types/components/icon/icons/scaling-icon.d.ts +1 -1
  1767. package/dist/types/components/icon/icons/scan-barcode-icon.d.ts +1 -1
  1768. package/dist/types/components/icon/icons/scan-eye-icon.d.ts +1 -1
  1769. package/dist/types/components/icon/icons/scan-face-icon.d.ts +1 -1
  1770. package/dist/types/components/icon/icons/scan-heart-icon.d.ts +1 -1
  1771. package/dist/types/components/icon/icons/scan-icon.d.ts +1 -1
  1772. package/dist/types/components/icon/icons/scan-line-icon.d.ts +1 -1
  1773. package/dist/types/components/icon/icons/scan-qr-code-icon.d.ts +1 -1
  1774. package/dist/types/components/icon/icons/scan-search-icon.d.ts +1 -1
  1775. package/dist/types/components/icon/icons/scan-text-icon.d.ts +1 -1
  1776. package/dist/types/components/icon/icons/school-icon.d.ts +1 -1
  1777. package/dist/types/components/icon/icons/scissors-icon.d.ts +1 -1
  1778. package/dist/types/components/icon/icons/scissors-line-dashed-icon.d.ts +1 -1
  1779. package/dist/types/components/icon/icons/scooter-icon.d.ts +1 -1
  1780. package/dist/types/components/icon/icons/screen-share-icon.d.ts +1 -1
  1781. package/dist/types/components/icon/icons/screen-share-off-icon.d.ts +1 -1
  1782. package/dist/types/components/icon/icons/scroll-icon.d.ts +1 -1
  1783. package/dist/types/components/icon/icons/scroll-text-icon.d.ts +1 -1
  1784. package/dist/types/components/icon/icons/search-alert-icon.d.ts +1 -1
  1785. package/dist/types/components/icon/icons/search-check-icon.d.ts +1 -1
  1786. package/dist/types/components/icon/icons/search-code-icon.d.ts +1 -1
  1787. package/dist/types/components/icon/icons/search-icon.d.ts +1 -1
  1788. package/dist/types/components/icon/icons/search-slash-icon.d.ts +1 -1
  1789. package/dist/types/components/icon/icons/search-x-icon.d.ts +1 -1
  1790. package/dist/types/components/icon/icons/section-icon.d.ts +1 -1
  1791. package/dist/types/components/icon/icons/send-horizontal-icon.d.ts +1 -1
  1792. package/dist/types/components/icon/icons/send-icon.d.ts +1 -1
  1793. package/dist/types/components/icon/icons/send-to-back-icon.d.ts +1 -1
  1794. package/dist/types/components/icon/icons/separator-horizontal-icon.d.ts +1 -1
  1795. package/dist/types/components/icon/icons/separator-vertical-icon.d.ts +1 -1
  1796. package/dist/types/components/icon/icons/server-cog-icon.d.ts +1 -1
  1797. package/dist/types/components/icon/icons/server-crash-icon.d.ts +1 -1
  1798. package/dist/types/components/icon/icons/server-icon.d.ts +1 -1
  1799. package/dist/types/components/icon/icons/server-off-icon.d.ts +1 -1
  1800. package/dist/types/components/icon/icons/settings-icon.d.ts +1 -1
  1801. package/dist/types/components/icon/icons/settings2-icon.d.ts +1 -1
  1802. package/dist/types/components/icon/icons/shapes-icon.d.ts +1 -1
  1803. package/dist/types/components/icon/icons/share-icon.d.ts +1 -1
  1804. package/dist/types/components/icon/icons/share2-icon.d.ts +1 -1
  1805. package/dist/types/components/icon/icons/sheet-icon.d.ts +1 -1
  1806. package/dist/types/components/icon/icons/shell-icon.d.ts +1 -1
  1807. package/dist/types/components/icon/icons/shelving-unit-icon.d.ts +1 -1
  1808. package/dist/types/components/icon/icons/shield-alert-icon.d.ts +1 -1
  1809. package/dist/types/components/icon/icons/shield-ban-icon.d.ts +1 -1
  1810. package/dist/types/components/icon/icons/shield-check-icon.d.ts +1 -1
  1811. package/dist/types/components/icon/icons/shield-cog-corner-icon.d.ts +1 -1
  1812. package/dist/types/components/icon/icons/shield-cog-icon.d.ts +1 -1
  1813. package/dist/types/components/icon/icons/shield-ellipsis-icon.d.ts +1 -1
  1814. package/dist/types/components/icon/icons/shield-half-icon.d.ts +1 -1
  1815. package/dist/types/components/icon/icons/shield-icon.d.ts +1 -1
  1816. package/dist/types/components/icon/icons/shield-minus-icon.d.ts +1 -1
  1817. package/dist/types/components/icon/icons/shield-off-icon.d.ts +1 -1
  1818. package/dist/types/components/icon/icons/shield-plus-icon.d.ts +1 -1
  1819. package/dist/types/components/icon/icons/shield-question-mark-icon.d.ts +1 -1
  1820. package/dist/types/components/icon/icons/shield-user-icon.d.ts +1 -1
  1821. package/dist/types/components/icon/icons/shield-x-icon.d.ts +1 -1
  1822. package/dist/types/components/icon/icons/ship-icon.d.ts +1 -1
  1823. package/dist/types/components/icon/icons/ship-wheel-icon.d.ts +1 -1
  1824. package/dist/types/components/icon/icons/shirt-icon.d.ts +1 -1
  1825. package/dist/types/components/icon/icons/shopping-bag-icon.d.ts +1 -1
  1826. package/dist/types/components/icon/icons/shopping-basket-icon.d.ts +1 -1
  1827. package/dist/types/components/icon/icons/shopping-cart-icon.d.ts +1 -1
  1828. package/dist/types/components/icon/icons/shovel-icon.d.ts +1 -1
  1829. package/dist/types/components/icon/icons/shower-head-icon.d.ts +1 -1
  1830. package/dist/types/components/icon/icons/shredder-icon.d.ts +1 -1
  1831. package/dist/types/components/icon/icons/shrimp-icon.d.ts +1 -1
  1832. package/dist/types/components/icon/icons/shrink-icon.d.ts +1 -1
  1833. package/dist/types/components/icon/icons/shrub-icon.d.ts +1 -1
  1834. package/dist/types/components/icon/icons/shuffle-icon.d.ts +1 -1
  1835. package/dist/types/components/icon/icons/sigma-icon.d.ts +1 -1
  1836. package/dist/types/components/icon/icons/signal-high-icon.d.ts +1 -1
  1837. package/dist/types/components/icon/icons/signal-icon.d.ts +1 -1
  1838. package/dist/types/components/icon/icons/signal-low-icon.d.ts +1 -1
  1839. package/dist/types/components/icon/icons/signal-medium-icon.d.ts +1 -1
  1840. package/dist/types/components/icon/icons/signal-zero-icon.d.ts +1 -1
  1841. package/dist/types/components/icon/icons/signature-icon.d.ts +1 -1
  1842. package/dist/types/components/icon/icons/signpost-big-icon.d.ts +1 -1
  1843. package/dist/types/components/icon/icons/signpost-icon.d.ts +1 -1
  1844. package/dist/types/components/icon/icons/siren-icon.d.ts +1 -1
  1845. package/dist/types/components/icon/icons/skip-back-icon.d.ts +1 -1
  1846. package/dist/types/components/icon/icons/skip-forward-icon.d.ts +1 -1
  1847. package/dist/types/components/icon/icons/skull-icon.d.ts +1 -1
  1848. package/dist/types/components/icon/icons/slash-icon.d.ts +1 -1
  1849. package/dist/types/components/icon/icons/slice-icon.d.ts +1 -1
  1850. package/dist/types/components/icon/icons/sliders-horizontal-icon.d.ts +1 -1
  1851. package/dist/types/components/icon/icons/sliders-vertical-icon.d.ts +1 -1
  1852. package/dist/types/components/icon/icons/smartphone-charging-icon.d.ts +1 -1
  1853. package/dist/types/components/icon/icons/smartphone-icon.d.ts +1 -1
  1854. package/dist/types/components/icon/icons/smartphone-nfc-icon.d.ts +1 -1
  1855. package/dist/types/components/icon/icons/smile-icon.d.ts +1 -1
  1856. package/dist/types/components/icon/icons/smile-plus-icon.d.ts +1 -1
  1857. package/dist/types/components/icon/icons/snail-icon.d.ts +1 -1
  1858. package/dist/types/components/icon/icons/snowflake-icon.d.ts +1 -1
  1859. package/dist/types/components/icon/icons/soap-dispenser-droplet-icon.d.ts +1 -1
  1860. package/dist/types/components/icon/icons/sofa-icon.d.ts +1 -1
  1861. package/dist/types/components/icon/icons/solar-panel-icon.d.ts +1 -1
  1862. package/dist/types/components/icon/icons/soup-icon.d.ts +1 -1
  1863. package/dist/types/components/icon/icons/space-icon.d.ts +1 -1
  1864. package/dist/types/components/icon/icons/spade-icon.d.ts +1 -1
  1865. package/dist/types/components/icon/icons/sparkle-icon.d.ts +1 -1
  1866. package/dist/types/components/icon/icons/sparkles-icon.d.ts +1 -1
  1867. package/dist/types/components/icon/icons/speaker-icon.d.ts +1 -1
  1868. package/dist/types/components/icon/icons/speech-icon.d.ts +1 -1
  1869. package/dist/types/components/icon/icons/spell-check-icon.d.ts +1 -1
  1870. package/dist/types/components/icon/icons/spell-check2-icon.d.ts +1 -1
  1871. package/dist/types/components/icon/icons/spline-icon.d.ts +1 -1
  1872. package/dist/types/components/icon/icons/spline-pointer-icon.d.ts +1 -1
  1873. package/dist/types/components/icon/icons/split-icon.d.ts +1 -1
  1874. package/dist/types/components/icon/icons/spool-icon.d.ts +1 -1
  1875. package/dist/types/components/icon/icons/sport-shoe-icon.d.ts +1 -1
  1876. package/dist/types/components/icon/icons/spotlight-icon.d.ts +1 -1
  1877. package/dist/types/components/icon/icons/spray-can-icon.d.ts +1 -1
  1878. package/dist/types/components/icon/icons/sprout-icon.d.ts +1 -1
  1879. package/dist/types/components/icon/icons/square-activity-icon.d.ts +1 -1
  1880. package/dist/types/components/icon/icons/square-arrow-down-icon.d.ts +1 -1
  1881. package/dist/types/components/icon/icons/square-arrow-down-left-icon.d.ts +1 -1
  1882. package/dist/types/components/icon/icons/square-arrow-down-right-icon.d.ts +1 -1
  1883. package/dist/types/components/icon/icons/square-arrow-left-icon.d.ts +1 -1
  1884. package/dist/types/components/icon/icons/square-arrow-out-down-left-icon.d.ts +1 -1
  1885. package/dist/types/components/icon/icons/square-arrow-out-down-right-icon.d.ts +1 -1
  1886. package/dist/types/components/icon/icons/square-arrow-out-up-left-icon.d.ts +1 -1
  1887. package/dist/types/components/icon/icons/square-arrow-out-up-right-icon.d.ts +1 -1
  1888. package/dist/types/components/icon/icons/square-arrow-right-enter-icon.d.ts +1 -1
  1889. package/dist/types/components/icon/icons/square-arrow-right-exit-icon.d.ts +1 -1
  1890. package/dist/types/components/icon/icons/square-arrow-right-icon.d.ts +1 -1
  1891. package/dist/types/components/icon/icons/square-arrow-up-icon.d.ts +1 -1
  1892. package/dist/types/components/icon/icons/square-arrow-up-left-icon.d.ts +1 -1
  1893. package/dist/types/components/icon/icons/square-arrow-up-right-icon.d.ts +1 -1
  1894. package/dist/types/components/icon/icons/square-asterisk-icon.d.ts +1 -1
  1895. package/dist/types/components/icon/icons/square-bottom-dashed-scissors-icon.d.ts +1 -1
  1896. package/dist/types/components/icon/icons/square-centerline-dashed-horizontal-icon.d.ts +1 -1
  1897. package/dist/types/components/icon/icons/square-centerline-dashed-vertical-icon.d.ts +1 -1
  1898. package/dist/types/components/icon/icons/square-chart-gantt-icon.d.ts +1 -1
  1899. package/dist/types/components/icon/icons/square-check-big-icon.d.ts +1 -1
  1900. package/dist/types/components/icon/icons/square-check-icon.d.ts +1 -1
  1901. package/dist/types/components/icon/icons/square-chevron-down-icon.d.ts +1 -1
  1902. package/dist/types/components/icon/icons/square-chevron-left-icon.d.ts +1 -1
  1903. package/dist/types/components/icon/icons/square-chevron-right-icon.d.ts +1 -1
  1904. package/dist/types/components/icon/icons/square-chevron-up-icon.d.ts +1 -1
  1905. package/dist/types/components/icon/icons/square-code-icon.d.ts +1 -1
  1906. package/dist/types/components/icon/icons/square-dashed-bottom-code-icon.d.ts +1 -1
  1907. package/dist/types/components/icon/icons/square-dashed-bottom-icon.d.ts +1 -1
  1908. package/dist/types/components/icon/icons/square-dashed-icon.d.ts +1 -1
  1909. package/dist/types/components/icon/icons/square-dashed-kanban-icon.d.ts +1 -1
  1910. package/dist/types/components/icon/icons/square-dashed-mouse-pointer-icon.d.ts +1 -1
  1911. package/dist/types/components/icon/icons/square-dashed-text-icon.d.ts +1 -1
  1912. package/dist/types/components/icon/icons/square-dashed-top-solid-icon.d.ts +1 -1
  1913. package/dist/types/components/icon/icons/square-divide-icon.d.ts +1 -1
  1914. package/dist/types/components/icon/icons/square-dot-icon.d.ts +1 -1
  1915. package/dist/types/components/icon/icons/square-equal-icon.d.ts +1 -1
  1916. package/dist/types/components/icon/icons/square-function-icon.d.ts +1 -1
  1917. package/dist/types/components/icon/icons/square-icon.d.ts +1 -1
  1918. package/dist/types/components/icon/icons/square-kanban-icon.d.ts +1 -1
  1919. package/dist/types/components/icon/icons/square-library-icon.d.ts +1 -1
  1920. package/dist/types/components/icon/icons/square-m-icon.d.ts +1 -1
  1921. package/dist/types/components/icon/icons/square-menu-icon.d.ts +1 -1
  1922. package/dist/types/components/icon/icons/square-minus-icon.d.ts +1 -1
  1923. package/dist/types/components/icon/icons/square-mouse-pointer-icon.d.ts +1 -1
  1924. package/dist/types/components/icon/icons/square-parking-icon.d.ts +1 -1
  1925. package/dist/types/components/icon/icons/square-parking-off-icon.d.ts +1 -1
  1926. package/dist/types/components/icon/icons/square-pause-icon.d.ts +1 -1
  1927. package/dist/types/components/icon/icons/square-pen-icon.d.ts +1 -1
  1928. package/dist/types/components/icon/icons/square-percent-icon.d.ts +1 -1
  1929. package/dist/types/components/icon/icons/square-pi-icon.d.ts +1 -1
  1930. package/dist/types/components/icon/icons/square-pilcrow-icon.d.ts +1 -1
  1931. package/dist/types/components/icon/icons/square-play-icon.d.ts +1 -1
  1932. package/dist/types/components/icon/icons/square-plus-icon.d.ts +1 -1
  1933. package/dist/types/components/icon/icons/square-power-icon.d.ts +1 -1
  1934. package/dist/types/components/icon/icons/square-radical-icon.d.ts +1 -1
  1935. package/dist/types/components/icon/icons/square-round-corner-icon.d.ts +1 -1
  1936. package/dist/types/components/icon/icons/square-scissors-icon.d.ts +1 -1
  1937. package/dist/types/components/icon/icons/square-sigma-icon.d.ts +1 -1
  1938. package/dist/types/components/icon/icons/square-slash-icon.d.ts +1 -1
  1939. package/dist/types/components/icon/icons/square-split-horizontal-icon.d.ts +1 -1
  1940. package/dist/types/components/icon/icons/square-split-vertical-icon.d.ts +1 -1
  1941. package/dist/types/components/icon/icons/square-square-icon.d.ts +1 -1
  1942. package/dist/types/components/icon/icons/square-stack-icon.d.ts +1 -1
  1943. package/dist/types/components/icon/icons/square-star-icon.d.ts +1 -1
  1944. package/dist/types/components/icon/icons/square-stop-icon.d.ts +1 -1
  1945. package/dist/types/components/icon/icons/square-terminal-icon.d.ts +1 -1
  1946. package/dist/types/components/icon/icons/square-user-icon.d.ts +1 -1
  1947. package/dist/types/components/icon/icons/square-user-round-icon.d.ts +1 -1
  1948. package/dist/types/components/icon/icons/square-x-icon.d.ts +1 -1
  1949. package/dist/types/components/icon/icons/squares-exclude-icon.d.ts +1 -1
  1950. package/dist/types/components/icon/icons/squares-intersect-icon.d.ts +1 -1
  1951. package/dist/types/components/icon/icons/squares-subtract-icon.d.ts +1 -1
  1952. package/dist/types/components/icon/icons/squares-unite-icon.d.ts +1 -1
  1953. package/dist/types/components/icon/icons/squircle-dashed-icon.d.ts +1 -1
  1954. package/dist/types/components/icon/icons/squircle-icon.d.ts +1 -1
  1955. package/dist/types/components/icon/icons/squirrel-icon.d.ts +1 -1
  1956. package/dist/types/components/icon/icons/stamp-icon.d.ts +1 -1
  1957. package/dist/types/components/icon/icons/star-check-icon.d.ts +1 -1
  1958. package/dist/types/components/icon/icons/star-half-icon.d.ts +1 -1
  1959. package/dist/types/components/icon/icons/star-icon.d.ts +1 -1
  1960. package/dist/types/components/icon/icons/star-minus-icon.d.ts +1 -1
  1961. package/dist/types/components/icon/icons/star-off-icon.d.ts +1 -1
  1962. package/dist/types/components/icon/icons/star-plus-icon.d.ts +1 -1
  1963. package/dist/types/components/icon/icons/star-x-icon.d.ts +1 -1
  1964. package/dist/types/components/icon/icons/step-back-icon.d.ts +1 -1
  1965. package/dist/types/components/icon/icons/step-forward-icon.d.ts +1 -1
  1966. package/dist/types/components/icon/icons/stethoscope-icon.d.ts +1 -1
  1967. package/dist/types/components/icon/icons/sticker-icon.d.ts +1 -1
  1968. package/dist/types/components/icon/icons/sticky-note-check-icon.d.ts +1 -1
  1969. package/dist/types/components/icon/icons/sticky-note-icon.d.ts +1 -1
  1970. package/dist/types/components/icon/icons/sticky-note-minus-icon.d.ts +1 -1
  1971. package/dist/types/components/icon/icons/sticky-note-off-icon.d.ts +1 -1
  1972. package/dist/types/components/icon/icons/sticky-note-plus-icon.d.ts +1 -1
  1973. package/dist/types/components/icon/icons/sticky-note-x-icon.d.ts +1 -1
  1974. package/dist/types/components/icon/icons/sticky-notes-icon.d.ts +1 -1
  1975. package/dist/types/components/icon/icons/stone-icon.d.ts +1 -1
  1976. package/dist/types/components/icon/icons/store-icon.d.ts +1 -1
  1977. package/dist/types/components/icon/icons/stretch-horizontal-icon.d.ts +1 -1
  1978. package/dist/types/components/icon/icons/stretch-vertical-icon.d.ts +1 -1
  1979. package/dist/types/components/icon/icons/strikethrough-icon.d.ts +1 -1
  1980. package/dist/types/components/icon/icons/subscript-icon.d.ts +1 -1
  1981. package/dist/types/components/icon/icons/summary-icon.d.ts +1 -1
  1982. package/dist/types/components/icon/icons/sun-dim-icon.d.ts +1 -1
  1983. package/dist/types/components/icon/icons/sun-icon.d.ts +1 -1
  1984. package/dist/types/components/icon/icons/sun-medium-icon.d.ts +1 -1
  1985. package/dist/types/components/icon/icons/sun-moon-icon.d.ts +1 -1
  1986. package/dist/types/components/icon/icons/sun-snow-icon.d.ts +1 -1
  1987. package/dist/types/components/icon/icons/sunrise-icon.d.ts +1 -1
  1988. package/dist/types/components/icon/icons/sunset-icon.d.ts +1 -1
  1989. package/dist/types/components/icon/icons/superscript-icon.d.ts +1 -1
  1990. package/dist/types/components/icon/icons/swatch-book-icon.d.ts +1 -1
  1991. package/dist/types/components/icon/icons/swiss-franc-icon.d.ts +1 -1
  1992. package/dist/types/components/icon/icons/switch-camera-icon.d.ts +1 -1
  1993. package/dist/types/components/icon/icons/sword-icon.d.ts +1 -1
  1994. package/dist/types/components/icon/icons/swords-icon.d.ts +1 -1
  1995. package/dist/types/components/icon/icons/syringe-icon.d.ts +1 -1
  1996. package/dist/types/components/icon/icons/table-cells-merge-icon.d.ts +1 -1
  1997. package/dist/types/components/icon/icons/table-cells-split-icon.d.ts +1 -1
  1998. package/dist/types/components/icon/icons/table-columns-split-icon.d.ts +1 -1
  1999. package/dist/types/components/icon/icons/table-icon.d.ts +1 -1
  2000. package/dist/types/components/icon/icons/table-of-contents-icon.d.ts +1 -1
  2001. package/dist/types/components/icon/icons/table-properties-icon.d.ts +1 -1
  2002. package/dist/types/components/icon/icons/table-rows-split-icon.d.ts +1 -1
  2003. package/dist/types/components/icon/icons/table2-icon.d.ts +1 -1
  2004. package/dist/types/components/icon/icons/tablet-icon.d.ts +1 -1
  2005. package/dist/types/components/icon/icons/tablet-smartphone-icon.d.ts +1 -1
  2006. package/dist/types/components/icon/icons/tablets-icon.d.ts +1 -1
  2007. package/dist/types/components/icon/icons/tag-icon.d.ts +1 -1
  2008. package/dist/types/components/icon/icons/tag-plus-icon.d.ts +1 -1
  2009. package/dist/types/components/icon/icons/tag-x-icon.d.ts +1 -1
  2010. package/dist/types/components/icon/icons/tags-icon.d.ts +1 -1
  2011. package/dist/types/components/icon/icons/tally1-icon.d.ts +1 -1
  2012. package/dist/types/components/icon/icons/tally2-icon.d.ts +1 -1
  2013. package/dist/types/components/icon/icons/tally3-icon.d.ts +1 -1
  2014. package/dist/types/components/icon/icons/tally4-icon.d.ts +1 -1
  2015. package/dist/types/components/icon/icons/tally5-icon.d.ts +1 -1
  2016. package/dist/types/components/icon/icons/tangent-icon.d.ts +1 -1
  2017. package/dist/types/components/icon/icons/target-icon.d.ts +1 -1
  2018. package/dist/types/components/icon/icons/telescope-icon.d.ts +1 -1
  2019. package/dist/types/components/icon/icons/tent-icon.d.ts +1 -1
  2020. package/dist/types/components/icon/icons/tent-tree-icon.d.ts +1 -1
  2021. package/dist/types/components/icon/icons/terminal-icon.d.ts +1 -1
  2022. package/dist/types/components/icon/icons/test-tube-diagonal-icon.d.ts +1 -1
  2023. package/dist/types/components/icon/icons/test-tube-icon.d.ts +1 -1
  2024. package/dist/types/components/icon/icons/test-tubes-icon.d.ts +1 -1
  2025. package/dist/types/components/icon/icons/text-align-center-icon.d.ts +1 -1
  2026. package/dist/types/components/icon/icons/text-align-end-icon.d.ts +1 -1
  2027. package/dist/types/components/icon/icons/text-align-justify-icon.d.ts +1 -1
  2028. package/dist/types/components/icon/icons/text-align-start-icon.d.ts +1 -1
  2029. package/dist/types/components/icon/icons/text-cursor-icon.d.ts +1 -1
  2030. package/dist/types/components/icon/icons/text-cursor-input-icon.d.ts +1 -1
  2031. package/dist/types/components/icon/icons/text-initial-icon.d.ts +1 -1
  2032. package/dist/types/components/icon/icons/text-quote-icon.d.ts +1 -1
  2033. package/dist/types/components/icon/icons/text-search-icon.d.ts +1 -1
  2034. package/dist/types/components/icon/icons/text-wrap-icon.d.ts +1 -1
  2035. package/dist/types/components/icon/icons/theater-icon.d.ts +1 -1
  2036. package/dist/types/components/icon/icons/thermometer-icon.d.ts +1 -1
  2037. package/dist/types/components/icon/icons/thermometer-snowflake-icon.d.ts +1 -1
  2038. package/dist/types/components/icon/icons/thermometer-sun-icon.d.ts +1 -1
  2039. package/dist/types/components/icon/icons/thumbs-down-icon.d.ts +1 -1
  2040. package/dist/types/components/icon/icons/thumbs-up-icon.d.ts +1 -1
  2041. package/dist/types/components/icon/icons/ticket-check-icon.d.ts +1 -1
  2042. package/dist/types/components/icon/icons/ticket-icon.d.ts +1 -1
  2043. package/dist/types/components/icon/icons/ticket-minus-icon.d.ts +1 -1
  2044. package/dist/types/components/icon/icons/ticket-percent-icon.d.ts +1 -1
  2045. package/dist/types/components/icon/icons/ticket-plus-icon.d.ts +1 -1
  2046. package/dist/types/components/icon/icons/ticket-slash-icon.d.ts +1 -1
  2047. package/dist/types/components/icon/icons/ticket-x-icon.d.ts +1 -1
  2048. package/dist/types/components/icon/icons/tickets-icon.d.ts +1 -1
  2049. package/dist/types/components/icon/icons/tickets-plane-icon.d.ts +1 -1
  2050. package/dist/types/components/icon/icons/timeline-icon.d.ts +1 -1
  2051. package/dist/types/components/icon/icons/timer-icon.d.ts +1 -1
  2052. package/dist/types/components/icon/icons/timer-off-icon.d.ts +1 -1
  2053. package/dist/types/components/icon/icons/timer-reset-icon.d.ts +1 -1
  2054. package/dist/types/components/icon/icons/toggle-left-icon.d.ts +1 -1
  2055. package/dist/types/components/icon/icons/toggle-right-icon.d.ts +1 -1
  2056. package/dist/types/components/icon/icons/toilet-icon.d.ts +1 -1
  2057. package/dist/types/components/icon/icons/tool-case-icon.d.ts +1 -1
  2058. package/dist/types/components/icon/icons/toolbox-icon.d.ts +1 -1
  2059. package/dist/types/components/icon/icons/tornado-icon.d.ts +1 -1
  2060. package/dist/types/components/icon/icons/torus-icon.d.ts +1 -1
  2061. package/dist/types/components/icon/icons/touchpad-icon.d.ts +1 -1
  2062. package/dist/types/components/icon/icons/touchpad-off-icon.d.ts +1 -1
  2063. package/dist/types/components/icon/icons/towel-rack-icon.d.ts +1 -1
  2064. package/dist/types/components/icon/icons/tower-control-icon.d.ts +1 -1
  2065. package/dist/types/components/icon/icons/toy-brick-icon.d.ts +1 -1
  2066. package/dist/types/components/icon/icons/tractor-icon.d.ts +1 -1
  2067. package/dist/types/components/icon/icons/traffic-cone-icon.d.ts +1 -1
  2068. package/dist/types/components/icon/icons/train-front-icon.d.ts +1 -1
  2069. package/dist/types/components/icon/icons/train-front-tunnel-icon.d.ts +1 -1
  2070. package/dist/types/components/icon/icons/train-track-icon.d.ts +1 -1
  2071. package/dist/types/components/icon/icons/tram-front-icon.d.ts +1 -1
  2072. package/dist/types/components/icon/icons/transgender-icon.d.ts +1 -1
  2073. package/dist/types/components/icon/icons/trash-icon.d.ts +1 -1
  2074. package/dist/types/components/icon/icons/trash2-icon.d.ts +1 -1
  2075. package/dist/types/components/icon/icons/tree-deciduous-icon.d.ts +1 -1
  2076. package/dist/types/components/icon/icons/tree-palm-icon.d.ts +1 -1
  2077. package/dist/types/components/icon/icons/tree-pine-icon.d.ts +1 -1
  2078. package/dist/types/components/icon/icons/trees-icon.d.ts +1 -1
  2079. package/dist/types/components/icon/icons/trending-down-icon.d.ts +1 -1
  2080. package/dist/types/components/icon/icons/trending-up-down-icon.d.ts +1 -1
  2081. package/dist/types/components/icon/icons/trending-up-icon.d.ts +1 -1
  2082. package/dist/types/components/icon/icons/triangle-alert-icon.d.ts +1 -1
  2083. package/dist/types/components/icon/icons/triangle-dashed-icon.d.ts +1 -1
  2084. package/dist/types/components/icon/icons/triangle-icon.d.ts +1 -1
  2085. package/dist/types/components/icon/icons/triangle-right-icon.d.ts +1 -1
  2086. package/dist/types/components/icon/icons/trophy-icon.d.ts +1 -1
  2087. package/dist/types/components/icon/icons/truck-electric-icon.d.ts +1 -1
  2088. package/dist/types/components/icon/icons/truck-icon.d.ts +1 -1
  2089. package/dist/types/components/icon/icons/turkish-lira-icon.d.ts +1 -1
  2090. package/dist/types/components/icon/icons/turntable-icon.d.ts +1 -1
  2091. package/dist/types/components/icon/icons/turtle-icon.d.ts +1 -1
  2092. package/dist/types/components/icon/icons/tv-icon.d.ts +1 -1
  2093. package/dist/types/components/icon/icons/tv-minimal-icon.d.ts +1 -1
  2094. package/dist/types/components/icon/icons/tv-minimal-play-icon.d.ts +1 -1
  2095. package/dist/types/components/icon/icons/type-icon.d.ts +1 -1
  2096. package/dist/types/components/icon/icons/type-outline-icon.d.ts +1 -1
  2097. package/dist/types/components/icon/icons/umbrella-icon.d.ts +1 -1
  2098. package/dist/types/components/icon/icons/umbrella-off-icon.d.ts +1 -1
  2099. package/dist/types/components/icon/icons/underline-icon.d.ts +1 -1
  2100. package/dist/types/components/icon/icons/undo-dot-icon.d.ts +1 -1
  2101. package/dist/types/components/icon/icons/undo-icon.d.ts +1 -1
  2102. package/dist/types/components/icon/icons/undo2-icon.d.ts +1 -1
  2103. package/dist/types/components/icon/icons/unfold-horizontal-icon.d.ts +1 -1
  2104. package/dist/types/components/icon/icons/unfold-vertical-icon.d.ts +1 -1
  2105. package/dist/types/components/icon/icons/ungroup-icon.d.ts +1 -1
  2106. package/dist/types/components/icon/icons/university-icon.d.ts +1 -1
  2107. package/dist/types/components/icon/icons/unlink-icon.d.ts +1 -1
  2108. package/dist/types/components/icon/icons/unlink2-icon.d.ts +1 -1
  2109. package/dist/types/components/icon/icons/unplug-icon.d.ts +1 -1
  2110. package/dist/types/components/icon/icons/upload-icon.d.ts +1 -1
  2111. package/dist/types/components/icon/icons/usb-icon.d.ts +1 -1
  2112. package/dist/types/components/icon/icons/user-check-icon.d.ts +1 -1
  2113. package/dist/types/components/icon/icons/user-cog-icon.d.ts +1 -1
  2114. package/dist/types/components/icon/icons/user-icon.d.ts +1 -1
  2115. package/dist/types/components/icon/icons/user-key-icon.d.ts +1 -1
  2116. package/dist/types/components/icon/icons/user-lock-icon.d.ts +1 -1
  2117. package/dist/types/components/icon/icons/user-minus-icon.d.ts +1 -1
  2118. package/dist/types/components/icon/icons/user-pen-icon.d.ts +1 -1
  2119. package/dist/types/components/icon/icons/user-plus-icon.d.ts +1 -1
  2120. package/dist/types/components/icon/icons/user-round-arrow-left-icon.d.ts +1 -1
  2121. package/dist/types/components/icon/icons/user-round-check-icon.d.ts +1 -1
  2122. package/dist/types/components/icon/icons/user-round-cog-icon.d.ts +1 -1
  2123. package/dist/types/components/icon/icons/user-round-icon.d.ts +1 -1
  2124. package/dist/types/components/icon/icons/user-round-key-icon.d.ts +1 -1
  2125. package/dist/types/components/icon/icons/user-round-minus-icon.d.ts +1 -1
  2126. package/dist/types/components/icon/icons/user-round-pen-icon.d.ts +1 -1
  2127. package/dist/types/components/icon/icons/user-round-plus-icon.d.ts +1 -1
  2128. package/dist/types/components/icon/icons/user-round-search-icon.d.ts +1 -1
  2129. package/dist/types/components/icon/icons/user-round-x-icon.d.ts +1 -1
  2130. package/dist/types/components/icon/icons/user-search-icon.d.ts +1 -1
  2131. package/dist/types/components/icon/icons/user-star-icon.d.ts +1 -1
  2132. package/dist/types/components/icon/icons/user-x-icon.d.ts +1 -1
  2133. package/dist/types/components/icon/icons/users-icon.d.ts +1 -1
  2134. package/dist/types/components/icon/icons/users-round-icon.d.ts +1 -1
  2135. package/dist/types/components/icon/icons/utensils-crossed-icon.d.ts +1 -1
  2136. package/dist/types/components/icon/icons/utensils-icon.d.ts +1 -1
  2137. package/dist/types/components/icon/icons/utility-pole-icon.d.ts +1 -1
  2138. package/dist/types/components/icon/icons/van-icon.d.ts +1 -1
  2139. package/dist/types/components/icon/icons/variable-icon.d.ts +1 -1
  2140. package/dist/types/components/icon/icons/vault-icon.d.ts +1 -1
  2141. package/dist/types/components/icon/icons/vector-square-icon.d.ts +1 -1
  2142. package/dist/types/components/icon/icons/vegan-icon.d.ts +1 -1
  2143. package/dist/types/components/icon/icons/venetian-mask-icon.d.ts +1 -1
  2144. package/dist/types/components/icon/icons/venus-and-mars-icon.d.ts +1 -1
  2145. package/dist/types/components/icon/icons/venus-icon.d.ts +1 -1
  2146. package/dist/types/components/icon/icons/vibrate-icon.d.ts +1 -1
  2147. package/dist/types/components/icon/icons/vibrate-off-icon.d.ts +1 -1
  2148. package/dist/types/components/icon/icons/video-icon.d.ts +1 -1
  2149. package/dist/types/components/icon/icons/video-off-icon.d.ts +1 -1
  2150. package/dist/types/components/icon/icons/videotape-icon.d.ts +1 -1
  2151. package/dist/types/components/icon/icons/view-icon.d.ts +1 -1
  2152. package/dist/types/components/icon/icons/voicemail-icon.d.ts +1 -1
  2153. package/dist/types/components/icon/icons/volleyball-icon.d.ts +1 -1
  2154. package/dist/types/components/icon/icons/volume-icon.d.ts +1 -1
  2155. package/dist/types/components/icon/icons/volume-off-icon.d.ts +1 -1
  2156. package/dist/types/components/icon/icons/volume-x-icon.d.ts +1 -1
  2157. package/dist/types/components/icon/icons/volume1-icon.d.ts +1 -1
  2158. package/dist/types/components/icon/icons/volume2-icon.d.ts +1 -1
  2159. package/dist/types/components/icon/icons/vote-icon.d.ts +1 -1
  2160. package/dist/types/components/icon/icons/wallet-cards-icon.d.ts +1 -1
  2161. package/dist/types/components/icon/icons/wallet-icon.d.ts +1 -1
  2162. package/dist/types/components/icon/icons/wallet-minimal-icon.d.ts +1 -1
  2163. package/dist/types/components/icon/icons/wallpaper-icon.d.ts +1 -1
  2164. package/dist/types/components/icon/icons/wand-icon.d.ts +1 -1
  2165. package/dist/types/components/icon/icons/wand-sparkles-icon.d.ts +1 -1
  2166. package/dist/types/components/icon/icons/warehouse-icon.d.ts +1 -1
  2167. package/dist/types/components/icon/icons/washing-machine-icon.d.ts +1 -1
  2168. package/dist/types/components/icon/icons/watch-icon.d.ts +1 -1
  2169. package/dist/types/components/icon/icons/waves-arrow-down-icon.d.ts +1 -1
  2170. package/dist/types/components/icon/icons/waves-arrow-up-icon.d.ts +1 -1
  2171. package/dist/types/components/icon/icons/waves-horizontal-icon.d.ts +1 -1
  2172. package/dist/types/components/icon/icons/waves-ladder-icon.d.ts +1 -1
  2173. package/dist/types/components/icon/icons/waves-vertical-icon.d.ts +1 -1
  2174. package/dist/types/components/icon/icons/waypoints-icon.d.ts +1 -1
  2175. package/dist/types/components/icon/icons/webcam-icon.d.ts +1 -1
  2176. package/dist/types/components/icon/icons/webcam-off-icon.d.ts +1 -1
  2177. package/dist/types/components/icon/icons/webhook-icon.d.ts +1 -1
  2178. package/dist/types/components/icon/icons/webhook-off-icon.d.ts +1 -1
  2179. package/dist/types/components/icon/icons/weight-icon.d.ts +1 -1
  2180. package/dist/types/components/icon/icons/weight-tilde-icon.d.ts +1 -1
  2181. package/dist/types/components/icon/icons/wheat-icon.d.ts +1 -1
  2182. package/dist/types/components/icon/icons/wheat-off-icon.d.ts +1 -1
  2183. package/dist/types/components/icon/icons/whole-word-icon.d.ts +1 -1
  2184. package/dist/types/components/icon/icons/wifi-cog-icon.d.ts +1 -1
  2185. package/dist/types/components/icon/icons/wifi-high-icon.d.ts +1 -1
  2186. package/dist/types/components/icon/icons/wifi-icon.d.ts +1 -1
  2187. package/dist/types/components/icon/icons/wifi-low-icon.d.ts +1 -1
  2188. package/dist/types/components/icon/icons/wifi-off-icon.d.ts +1 -1
  2189. package/dist/types/components/icon/icons/wifi-pen-icon.d.ts +1 -1
  2190. package/dist/types/components/icon/icons/wifi-sync-icon.d.ts +1 -1
  2191. package/dist/types/components/icon/icons/wifi-zero-icon.d.ts +1 -1
  2192. package/dist/types/components/icon/icons/wind-arrow-down-icon.d.ts +1 -1
  2193. package/dist/types/components/icon/icons/wind-icon.d.ts +1 -1
  2194. package/dist/types/components/icon/icons/wine-icon.d.ts +1 -1
  2195. package/dist/types/components/icon/icons/wine-off-icon.d.ts +1 -1
  2196. package/dist/types/components/icon/icons/workflow-icon.d.ts +1 -1
  2197. package/dist/types/components/icon/icons/worm-icon.d.ts +1 -1
  2198. package/dist/types/components/icon/icons/wrench-icon.d.ts +1 -1
  2199. package/dist/types/components/icon/icons/wrench-off-icon.d.ts +1 -1
  2200. package/dist/types/components/icon/icons/x-icon.d.ts +1 -1
  2201. package/dist/types/components/icon/icons/x-line-top-icon.d.ts +1 -1
  2202. package/dist/types/components/icon/icons/zap-icon.d.ts +1 -1
  2203. package/dist/types/components/icon/icons/zap-off-icon.d.ts +1 -1
  2204. package/dist/types/components/icon/icons/zodiac-aquarius-icon.d.ts +1 -1
  2205. package/dist/types/components/icon/icons/zodiac-aries-icon.d.ts +1 -1
  2206. package/dist/types/components/icon/icons/zodiac-cancer-icon.d.ts +1 -1
  2207. package/dist/types/components/icon/icons/zodiac-capricorn-icon.d.ts +1 -1
  2208. package/dist/types/components/icon/icons/zodiac-gemini-icon.d.ts +1 -1
  2209. package/dist/types/components/icon/icons/zodiac-leo-icon.d.ts +1 -1
  2210. package/dist/types/components/icon/icons/zodiac-libra-icon.d.ts +1 -1
  2211. package/dist/types/components/icon/icons/zodiac-ophiuchus-icon.d.ts +1 -1
  2212. package/dist/types/components/icon/icons/zodiac-pisces-icon.d.ts +1 -1
  2213. package/dist/types/components/icon/icons/zodiac-sagittarius-icon.d.ts +1 -1
  2214. package/dist/types/components/icon/icons/zodiac-scorpio-icon.d.ts +1 -1
  2215. package/dist/types/components/icon/icons/zodiac-taurus-icon.d.ts +1 -1
  2216. package/dist/types/components/icon/icons/zodiac-virgo-icon.d.ts +1 -1
  2217. package/dist/types/components/icon/icons/zoom-in-icon.d.ts +1 -1
  2218. package/dist/types/components/icon/icons/zoom-out-icon.d.ts +1 -1
  2219. package/dist/types/components/icon/index.d.ts +2 -1
  2220. package/dist/types/components/icon/lucide-icon.d.ts +1 -1
  2221. package/dist/types/components/image/image.d.ts +2 -0
  2222. package/dist/types/components/image/image.style.d.ts +1 -0
  2223. package/dist/types/components/indicator/indicator.d.ts +4 -13
  2224. package/dist/types/components/indicator/indicator.style.d.ts +1 -0
  2225. package/dist/types/components/infinite-scroll-area/infinite-scroll-area.d.ts +2 -1
  2226. package/dist/types/components/infinite-scroll-area/infinite-scroll-area.style.d.ts +1 -0
  2227. package/dist/types/components/infinite-scroll-area/use-infinite-scroll.d.ts +3 -20
  2228. package/dist/types/components/input/input-addon.d.ts +2 -0
  2229. package/dist/types/components/input/input-addon.style.d.ts +1 -0
  2230. package/dist/types/components/input/input-element.d.ts +2 -0
  2231. package/dist/types/components/input/input-element.style.d.ts +1 -0
  2232. package/dist/types/components/input/input-group.d.ts +3 -0
  2233. package/dist/types/components/input/input.d.ts +3 -0
  2234. package/dist/types/components/input/input.style.d.ts +2 -0
  2235. package/dist/types/components/input/namespace.d.ts +0 -2
  2236. package/dist/types/components/input/use-input-border.d.ts +2 -4
  2237. package/dist/types/components/kbd/kbd.d.ts +2 -0
  2238. package/dist/types/components/kbd/kbd.style.d.ts +1 -0
  2239. package/dist/types/components/link/link.d.ts +2 -0
  2240. package/dist/types/components/link/link.style.d.ts +1 -0
  2241. package/dist/types/components/link-box/link-box.d.ts +2 -0
  2242. package/dist/types/components/link-box/link-box.style.d.ts +1 -0
  2243. package/dist/types/components/link-box/namespace.d.ts +0 -2
  2244. package/dist/types/components/list/list.d.ts +2 -1
  2245. package/dist/types/components/list/list.style.d.ts +1 -0
  2246. package/dist/types/components/list/namespace.d.ts +0 -2
  2247. package/dist/types/components/loading/audio.d.ts +1 -0
  2248. package/dist/types/components/loading/circles.d.ts +1 -0
  2249. package/dist/types/components/loading/dots.d.ts +1 -0
  2250. package/dist/types/components/loading/grid.d.ts +1 -0
  2251. package/dist/types/components/loading/loading-provider.d.ts +1 -1
  2252. package/dist/types/components/loading/loading.d.ts +4 -7
  2253. package/dist/types/components/loading/loading.style.d.ts +1 -0
  2254. package/dist/types/components/loading/namespace.d.ts +1 -2
  2255. package/dist/types/components/loading/oval.d.ts +1 -0
  2256. package/dist/types/components/loading/puff.d.ts +1 -0
  2257. package/dist/types/components/loading/rings.d.ts +1 -0
  2258. package/dist/types/components/loading/suspense.d.ts +1 -1
  2259. package/dist/types/components/loading/use-loading-component.d.ts +2 -0
  2260. package/dist/types/components/mark/mark.d.ts +2 -0
  2261. package/dist/types/components/mark/mark.style.d.ts +1 -0
  2262. package/dist/types/components/menu/menu.d.ts +3 -1
  2263. package/dist/types/components/menu/menu.style.d.ts +1 -0
  2264. package/dist/types/components/menu/namespace.d.ts +0 -2
  2265. package/dist/types/components/menu/use-menu.d.ts +53 -90
  2266. package/dist/types/components/modal/modal.d.ts +8 -1
  2267. package/dist/types/components/modal/modal.style.d.ts +1 -0
  2268. package/dist/types/components/modal/namespace.d.ts +0 -2
  2269. package/dist/types/components/modal/use-modal.d.ts +2 -11
  2270. package/dist/types/components/motion/factory.d.ts +2 -2
  2271. package/dist/types/components/motion/index.types.d.ts +2 -2
  2272. package/dist/types/components/motion/motion.d.ts +0 -1
  2273. package/dist/types/components/motion/transition.d.ts +0 -1
  2274. package/dist/types/components/native-accordion/namespace.d.ts +0 -2
  2275. package/dist/types/components/native-accordion/native-accordion.d.ts +2 -1
  2276. package/dist/types/components/native-accordion/native-accordion.style.d.ts +1 -0
  2277. package/dist/types/components/native-accordion/use-native-accordion.d.ts +3 -9
  2278. package/dist/types/components/native-popover/namespace.d.ts +0 -2
  2279. package/dist/types/components/native-popover/native-popover.d.ts +2 -1
  2280. package/dist/types/components/native-popover/native-popover.style.d.ts +1 -0
  2281. package/dist/types/components/native-popover/use-native-popover.d.ts +2 -21
  2282. package/dist/types/components/native-select/namespace.d.ts +0 -2
  2283. package/dist/types/components/native-select/native-select.d.ts +4 -1
  2284. package/dist/types/components/native-select/native-select.style.d.ts +1 -0
  2285. package/dist/types/components/native-select/use-native-select.d.ts +2 -0
  2286. package/dist/types/components/native-table/namespace.d.ts +0 -2
  2287. package/dist/types/components/native-table/native-table.d.ts +3 -5
  2288. package/dist/types/components/native-table/native-table.style.d.ts +1 -0
  2289. package/dist/types/components/notice/notice-provider.d.ts +1 -1
  2290. package/dist/types/components/notice/notice.style.d.ts +1 -0
  2291. package/dist/types/components/notice/use-notice.d.ts +4 -1
  2292. package/dist/types/components/number-input/number-input.d.ts +3 -0
  2293. package/dist/types/components/number-input/number-input.style.d.ts +1 -0
  2294. package/dist/types/components/number-input/use-number-input.d.ts +2 -1
  2295. package/dist/types/components/pagination/namespace.d.ts +0 -2
  2296. package/dist/types/components/pagination/pagination.d.ts +4 -1
  2297. package/dist/types/components/pagination/pagination.style.d.ts +1 -0
  2298. package/dist/types/components/pagination/use-pagination.d.ts +2 -10
  2299. package/dist/types/components/password-input/password-input.d.ts +3 -1
  2300. package/dist/types/components/password-input/password-input.style.d.ts +1 -0
  2301. package/dist/types/components/password-input/strength-meter.d.ts +2 -1
  2302. package/dist/types/components/password-input/strength-meter.style.d.ts +1 -0
  2303. package/dist/types/components/password-input/use-password-input.d.ts +2 -0
  2304. package/dist/types/components/password-input/use-strength-meter.d.ts +2 -5
  2305. package/dist/types/components/picture/picture.d.ts +2 -1
  2306. package/dist/types/components/pin-input/namespace.d.ts +0 -2
  2307. package/dist/types/components/pin-input/pin-input.d.ts +4 -0
  2308. package/dist/types/components/pin-input/pin-input.style.d.ts +1 -0
  2309. package/dist/types/components/pin-input/use-pin-input.d.ts +53 -50
  2310. package/dist/types/components/popover/namespace.d.ts +0 -2
  2311. package/dist/types/components/popover/popover.d.ts +4 -1
  2312. package/dist/types/components/popover/popover.style.d.ts +1 -0
  2313. package/dist/types/components/popover/use-popover.d.ts +2 -31
  2314. package/dist/types/components/portal/portal.d.ts +0 -1
  2315. package/dist/types/components/progress/progress.d.ts +3 -10
  2316. package/dist/types/components/progress/progress.style.d.ts +1 -0
  2317. package/dist/types/components/progress/use-progress.d.ts +2 -5
  2318. package/dist/types/components/qr-code/namespace.d.ts +0 -2
  2319. package/dist/types/components/qr-code/qr-code.d.ts +2 -0
  2320. package/dist/types/components/qr-code/qr-code.style.d.ts +1 -0
  2321. package/dist/types/components/qr-code/use-qr-code.d.ts +2 -14
  2322. package/dist/types/components/radio/namespace.d.ts +0 -2
  2323. package/dist/types/components/radio/radio-group.d.ts +3 -1
  2324. package/dist/types/components/radio/radio.d.ts +229 -235
  2325. package/dist/types/components/radio/radio.style.d.ts +1 -0
  2326. package/dist/types/components/radio/use-radio-group.d.ts +2 -1
  2327. package/dist/types/components/radio/use-radio.d.ts +3 -5
  2328. package/dist/types/components/radio-card/radio-card-group.d.ts +4 -1
  2329. package/dist/types/components/radio-card/radio-card-group.namespace.d.ts +0 -2
  2330. package/dist/types/components/radio-card/radio-card.d.ts +425 -430
  2331. package/dist/types/components/radio-card/radio-card.namespace.d.ts +0 -2
  2332. package/dist/types/components/radio-card/radio-card.style.d.ts +1 -0
  2333. package/dist/types/components/rating/rating.d.ts +2 -0
  2334. package/dist/types/components/rating/rating.style.d.ts +1 -0
  2335. package/dist/types/components/rating/use-rating.d.ts +3 -5
  2336. package/dist/types/components/reorder/namespace.d.ts +0 -2
  2337. package/dist/types/components/reorder/reorder.d.ts +3 -1
  2338. package/dist/types/components/reorder/reorder.style.d.ts +1 -0
  2339. package/dist/types/components/reorder/use-reorder.d.ts +3 -17
  2340. package/dist/types/components/resizable/namespace.d.ts +0 -2
  2341. package/dist/types/components/resizable/resizable.d.ts +2 -1
  2342. package/dist/types/components/resizable/resizable.style.d.ts +1 -0
  2343. package/dist/types/components/resizable/use-resizable.d.ts +4 -15
  2344. package/dist/types/components/ripple/ripple.d.ts +3 -1
  2345. package/dist/types/components/ripple/ripple.style.d.ts +1 -0
  2346. package/dist/types/components/ripple/use-ripple.d.ts +1 -5
  2347. package/dist/types/components/rotate/rotate.d.ts +3 -1
  2348. package/dist/types/components/rotate/rotate.style.d.ts +1 -0
  2349. package/dist/types/components/saturation-slider/namespace.d.ts +0 -2
  2350. package/dist/types/components/saturation-slider/saturation-slider.d.ts +2 -0
  2351. package/dist/types/components/saturation-slider/saturation-slider.style.d.ts +1 -0
  2352. package/dist/types/components/saturation-slider/use-saturation-slider.d.ts +2 -0
  2353. package/dist/types/components/scroll-area/scroll-area.d.ts +2 -0
  2354. package/dist/types/components/scroll-area/scroll-area.style.d.ts +1 -0
  2355. package/dist/types/components/scroll-area/use-scroll-area.d.ts +3 -11
  2356. package/dist/types/components/segmented-control/namespace.d.ts +0 -2
  2357. package/dist/types/components/segmented-control/segmented-control.d.ts +2 -1
  2358. package/dist/types/components/segmented-control/segmented-control.style.d.ts +1 -0
  2359. package/dist/types/components/segmented-control/use-segmented-control.d.ts +55 -68
  2360. package/dist/types/components/select/namespace.d.ts +0 -2
  2361. package/dist/types/components/select/select.d.ts +4 -1
  2362. package/dist/types/components/select/select.style.d.ts +1 -0
  2363. package/dist/types/components/select/use-select.d.ts +5 -9
  2364. package/dist/types/components/separator/separator.d.ts +2 -0
  2365. package/dist/types/components/separator/separator.style.d.ts +1 -0
  2366. package/dist/types/components/show/show.d.ts +2 -6
  2367. package/dist/types/components/sidebar/namespace.d.ts +0 -2
  2368. package/dist/types/components/sidebar/sidebar.d.ts +8 -1
  2369. package/dist/types/components/sidebar/sidebar.style.d.ts +2 -0
  2370. package/dist/types/components/sidebar/use-sidebar.d.ts +50 -73
  2371. package/dist/types/components/simple-grid/simple-grid.d.ts +3 -0
  2372. package/dist/types/components/simple-grid/simple-grid.style.d.ts +1 -0
  2373. package/dist/types/components/skeleton/skeleton-circle.d.ts +1 -1
  2374. package/dist/types/components/skeleton/skeleton-text.d.ts +1 -1
  2375. package/dist/types/components/skeleton/skeleton.d.ts +2 -0
  2376. package/dist/types/components/skeleton/skeleton.style.d.ts +1 -0
  2377. package/dist/types/components/slide/slide.d.ts +3 -1
  2378. package/dist/types/components/slide/slide.style.d.ts +1 -0
  2379. package/dist/types/components/slide-fade/slide-fade.d.ts +3 -1
  2380. package/dist/types/components/slide-fade/slide-fade.style.d.ts +1 -0
  2381. package/dist/types/components/slider/namespace.d.ts +0 -2
  2382. package/dist/types/components/slider/slider.d.ts +2 -1
  2383. package/dist/types/components/slider/slider.style.d.ts +1 -0
  2384. package/dist/types/components/slider/use-slider.d.ts +2 -0
  2385. package/dist/types/components/slot/slot.d.ts +0 -1
  2386. package/dist/types/components/snacks/snacks.d.ts +4 -0
  2387. package/dist/types/components/snacks/use-snacks.d.ts +3 -1
  2388. package/dist/types/components/stack/h-stack.d.ts +2 -0
  2389. package/dist/types/components/stack/h-stack.style.d.ts +1 -0
  2390. package/dist/types/components/stack/stack.d.ts +2 -1
  2391. package/dist/types/components/stack/stack.style.d.ts +1 -0
  2392. package/dist/types/components/stack/v-stack.d.ts +2 -0
  2393. package/dist/types/components/stack/v-stack.style.d.ts +1 -0
  2394. package/dist/types/components/stack/z-stack.d.ts +2 -0
  2395. package/dist/types/components/stack/z-stack.style.d.ts +1 -0
  2396. package/dist/types/components/stat/namespace.d.ts +0 -2
  2397. package/dist/types/components/stat/stat.d.ts +2 -1
  2398. package/dist/types/components/stat/stat.style.d.ts +1 -0
  2399. package/dist/types/components/status/status.d.ts +2 -0
  2400. package/dist/types/components/status/status.style.d.ts +1 -0
  2401. package/dist/types/components/steps/namespace.d.ts +0 -2
  2402. package/dist/types/components/steps/steps.d.ts +2 -1
  2403. package/dist/types/components/steps/steps.style.d.ts +1 -0
  2404. package/dist/types/components/steps/use-steps.d.ts +54 -63
  2405. package/dist/types/components/switch/switch.d.ts +2 -1
  2406. package/dist/types/components/switch/switch.style.d.ts +1 -0
  2407. package/dist/types/components/switch/use-switch.d.ts +2 -1
  2408. package/dist/types/components/table/table.d.ts +4 -1
  2409. package/dist/types/components/tabs/namespace.d.ts +0 -2
  2410. package/dist/types/components/tabs/tabs.d.ts +2 -1
  2411. package/dist/types/components/tabs/tabs.style.d.ts +1 -0
  2412. package/dist/types/components/tabs/use-tabs.d.ts +105 -121
  2413. package/dist/types/components/tag/tag.d.ts +2 -1
  2414. package/dist/types/components/tag/tag.style.d.ts +1 -0
  2415. package/dist/types/components/text/text.d.ts +2 -0
  2416. package/dist/types/components/text/text.style.d.ts +1 -0
  2417. package/dist/types/components/textarea/textarea.d.ts +4 -0
  2418. package/dist/types/components/textarea/textarea.style.d.ts +1 -0
  2419. package/dist/types/components/textarea/use-autosize.d.ts +2 -5
  2420. package/dist/types/components/textarea/use-textarea.d.ts +2 -8
  2421. package/dist/types/components/timeline/namespace.d.ts +0 -2
  2422. package/dist/types/components/timeline/timeline.d.ts +3 -8
  2423. package/dist/types/components/timeline/timeline.style.d.ts +1 -0
  2424. package/dist/types/components/tip/tip.d.ts +4 -1
  2425. package/dist/types/components/toggle/namespace.d.ts +0 -2
  2426. package/dist/types/components/toggle/toggle-group.d.ts +2 -1
  2427. package/dist/types/components/toggle/toggle.d.ts +420 -425
  2428. package/dist/types/components/toggle/toggle.style.d.ts +1 -0
  2429. package/dist/types/components/toggle/use-toggle-group.d.ts +3 -10
  2430. package/dist/types/components/toggle/use-toggle.d.ts +2 -0
  2431. package/dist/types/components/tooltip/tooltip.d.ts +4 -1
  2432. package/dist/types/components/tooltip/tooltip.style.d.ts +1 -0
  2433. package/dist/types/components/tooltip/use-tooltip.d.ts +1 -1
  2434. package/dist/types/components/tree/namespace.d.ts +0 -2
  2435. package/dist/types/components/tree/tree.d.ts +7 -1
  2436. package/dist/types/components/tree/tree.style.d.ts +1 -0
  2437. package/dist/types/components/tree/use-tree.d.ts +50 -74
  2438. package/dist/types/components/visually-hidden/visually-hidden.d.ts +2 -0
  2439. package/dist/types/components/visually-hidden/visually-hidden.style.d.ts +1 -0
  2440. package/dist/types/components/wrap/wrap.d.ts +3 -0
  2441. package/dist/types/components/wrap/wrap.style.d.ts +1 -0
  2442. package/dist/types/core/components/create-component.d.ts +10 -44
  2443. package/dist/types/core/components/index.types.d.ts +1 -1
  2444. package/dist/types/core/components/props.d.ts +1 -2
  2445. package/dist/types/core/components/use-component-style.d.ts +2 -1
  2446. package/dist/types/core/components/utils.d.ts +1 -0
  2447. package/dist/types/core/constant.d.ts +1 -0
  2448. package/dist/types/core/css/animation.d.ts +2 -11
  2449. package/dist/types/core/css/calc.d.ts +1 -1
  2450. package/dist/types/core/css/color-mix.d.ts +1 -6
  2451. package/dist/types/core/css/color-scheme.d.ts +0 -1
  2452. package/dist/types/core/css/conditions.d.ts +7 -6
  2453. package/dist/types/core/css/config.d.ts +2 -4
  2454. package/dist/types/core/css/css.d.ts +2 -4
  2455. package/dist/types/core/css/display.d.ts +1 -4
  2456. package/dist/types/core/css/filter.d.ts +0 -1
  2457. package/dist/types/core/css/focus-ring.d.ts +0 -1
  2458. package/dist/types/core/css/function.d.ts +0 -1
  2459. package/dist/types/core/css/gradient.d.ts +1 -4
  2460. package/dist/types/core/css/grid.d.ts +1 -5
  2461. package/dist/types/core/css/index.types.d.ts +9 -9
  2462. package/dist/types/core/css/merge-css.d.ts +0 -1
  2463. package/dist/types/core/css/style.d.ts +0 -1
  2464. package/dist/types/core/css/styles.d.ts +5 -13
  2465. package/dist/types/core/css/token.d.ts +1 -1
  2466. package/dist/types/core/css/transform.d.ts +1 -5
  2467. package/dist/types/core/css/transition.d.ts +0 -1
  2468. package/dist/types/core/css/use-css.d.ts +1 -1
  2469. package/dist/types/core/css/use-inject-vars.d.ts +2 -3
  2470. package/dist/types/core/css/utils.d.ts +3 -3
  2471. package/dist/types/core/generated-theme-tokens.types.d.ts +1 -0
  2472. package/dist/types/core/index.d.ts +3 -0
  2473. package/dist/types/core/system/breakpoint.d.ts +0 -1
  2474. package/dist/types/core/system/color-mode-provider.d.ts +0 -1
  2475. package/dist/types/core/system/config.d.ts +5 -4
  2476. package/dist/types/core/system/create-system.d.ts +1 -0
  2477. package/dist/types/core/system/environment-provider.d.ts +0 -1
  2478. package/dist/types/core/system/factory.d.ts +3 -2
  2479. package/dist/types/core/system/index.types.d.ts +10 -10
  2480. package/dist/types/core/system/layer.d.ts +0 -1
  2481. package/dist/types/core/system/storage-script.d.ts +3 -14
  2482. package/dist/types/core/system/styled.d.ts +3 -11
  2483. package/dist/types/core/system/system-provider.d.ts +0 -1
  2484. package/dist/types/core/system/theme-provider.d.ts +0 -1
  2485. package/dist/types/core/system/use-color-mode-value.d.ts +0 -1
  2486. package/dist/types/core/system/use-system-color-mode.d.ts +1 -5
  2487. package/dist/types/core/system/var.d.ts +3 -1
  2488. package/dist/types/hooks/use-animation/index.d.ts +1 -0
  2489. package/dist/types/hooks/use-async/index.d.ts +0 -1
  2490. package/dist/types/hooks/use-async-callback/index.d.ts +2 -6
  2491. package/dist/types/hooks/use-breakpoint/use-breakpoint-effect.d.ts +1 -1
  2492. package/dist/types/hooks/use-breakpoint/use-breakpoint-state.d.ts +1 -0
  2493. package/dist/types/hooks/use-breakpoint/use-breakpoint-value.d.ts +1 -0
  2494. package/dist/types/hooks/use-breakpoint/use-breakpoint.d.ts +1 -0
  2495. package/dist/types/hooks/use-breakpoint/use-update-breakpoint-effect.d.ts +1 -1
  2496. package/dist/types/hooks/use-clickable/index.d.ts +2 -19
  2497. package/dist/types/hooks/use-combobox/index.d.ts +72 -91
  2498. package/dist/types/hooks/use-controllable-state/index.d.ts +0 -1
  2499. package/dist/types/hooks/use-counter/index.d.ts +1 -7
  2500. package/dist/types/hooks/use-descendants/index.d.ts +0 -1
  2501. package/dist/types/hooks/use-disclosure/use-disclosure.d.ts +1 -7
  2502. package/dist/types/hooks/use-disclosure/use-promise-disclosure.d.ts +1 -6
  2503. package/dist/types/hooks/use-event-listener/index.d.ts +0 -1
  2504. package/dist/types/hooks/use-field-sizing/index.d.ts +1 -3
  2505. package/dist/types/hooks/use-focus/index.d.ts +2 -12
  2506. package/dist/types/hooks/use-lazy-mount/index.d.ts +1 -7
  2507. package/dist/types/hooks/use-local-storage/index.d.ts +1 -7
  2508. package/dist/types/hooks/use-outside-click/index.d.ts +1 -6
  2509. package/dist/types/hooks/use-pan-event/index.d.ts +1 -5
  2510. package/dist/types/hooks/use-popper/index.d.ts +2 -17
  2511. package/dist/types/hooks/use-value/index.d.ts +1 -0
  2512. package/dist/types/index.d.ts +128 -4
  2513. package/dist/types/providers/i18n-provider/i18n-provider.d.ts +1 -1
  2514. package/dist/types/providers/i18n-provider/icu.types.d.ts +6 -7
  2515. package/dist/types/providers/i18n-provider/intl/index.d.ts +1 -2
  2516. package/dist/types/providers/ui-provider/ui-provider.d.ts +4 -2
  2517. package/dist/types/theme/config.d.ts +1 -0
  2518. package/dist/types/theme/index.d.ts +1 -0
  2519. package/dist/types/theme/styles/index.d.ts +1 -0
  2520. package/dist/types/utils/children.d.ts +0 -1
  2521. package/dist/types/utils/context.d.ts +0 -1
  2522. package/dist/types/utils/dom.d.ts +1 -4
  2523. package/dist/types/utils/effect.d.ts +0 -1
  2524. package/dist/types/utils/index.d.ts +0 -2
  2525. package/dist/types/utils/ref.d.ts +0 -1
  2526. package/dist/types/utils/store.d.ts +1 -2
  2527. package/package.json +7 -7
@@ -1 +1 @@
1
- {"version":3,"file":"sidebar.cjs","names":["createContext","createSlotComponent","sidebarStyle","useBreakpointValue","useValue","useSidebar","SidebarDescendantsContext","SidebarContext","styled","useSidebarContext","useSplitChildren","mergeProps","useSidebarGroup","useIncludesChildren","useValidChildren","useLoadingComponent","useSidebarItem","SidebarItemContext","Tooltip","Collapse","ChevronRightIcon","Children"],"sources":["../../../../src/components/sidebar/sidebar.tsx"],"sourcesContent":["\"use client\"\n\nimport type { FC, PropsWithChildren, ReactNode } from \"react\"\nimport type {\n Breakpoint,\n ExtractStyleValue,\n HTMLProps,\n HTMLStyledProps,\n ThemeProps,\n} from \"../../core\"\nimport type { ReactNodeOrFunction } from \"../../utils\"\nimport type { CollapseProps } from \"../collapse\"\nimport type { Loading } from \"../loading\"\nimport type { WithTransitionProps } from \"../motion\"\nimport type {\n UseSidebarGroupProps,\n UseSidebarGroupReturn,\n UseSidebarItemProps,\n UseSidebarItemReturn,\n UseSidebarProps,\n UseSidebarReturn,\n} from \"./use-sidebar\"\nimport {\n Children,\n cloneElement,\n isValidElement,\n useCallback,\n useMemo,\n} from \"react\"\nimport { createSlotComponent, mergeProps, styled } from \"../../core\"\nimport { useBreakpointValue } from \"../../hooks/use-breakpoint\"\nimport { useValue } from \"../../hooks/use-value\"\nimport {\n cast,\n createContext,\n dataAttr,\n isObject,\n isString,\n runIfFn,\n useIncludesChildren,\n useSplitChildren,\n useValidChildren,\n} from \"../../utils\"\nimport { Collapse } from \"../collapse\"\nimport { Drawer } from \"../drawer\"\nimport { ChevronRightIcon } from \"../icon\"\nimport { useLoadingComponent } from \"../loading\"\nimport { Tooltip, type TooltipProps } from \"../tooltip\"\nimport { sidebarStyle, type SidebarStyle } from \"./sidebar.style\"\nimport {\n SidebarContext,\n SidebarDescendantsContext,\n SidebarItemContext,\n useSidebar,\n useSidebarContext,\n useSidebarGroup,\n useSidebarItem,\n} from \"./use-sidebar\"\n\ninterface SidebarItemCallBackProps {\n disabled?: boolean\n expanded?: boolean\n}\n\ntype SidebarItemReactNode =\n | ReactNodeOrFunction<SidebarItemCallBackProps>\n | {\n group: ReactNodeOrFunction<SidebarItemCallBackProps>\n item?: ReactNodeOrFunction<SidebarItemCallBackProps>\n }\n | {\n item: ReactNodeOrFunction<SidebarItemCallBackProps>\n group?: ReactNodeOrFunction<SidebarItemCallBackProps>\n }\n\ninterface SidebarItemSharedRenderProps\n extends\n Pick<SidebarItemProps, \"label\">,\n Pick<\n UseSidebarItemReturn,\n | \"expanded\"\n | \"expandedValue\"\n | \"onExpandedChange\"\n | \"onSelectedChange\"\n | \"selected\"\n | \"selectedValue\"\n | \"value\"\n > {\n itemProps: HTMLStyledProps<\"li\">\n linkProps: HTMLStyledProps<\"a\">\n triggerProps: HTMLStyledProps<\"button\">\n endElement?: ReactNode\n startElement?: ReactNode\n}\n\ninterface SidebarItemRenderProps\n extends\n PropsWithChildren,\n Omit<SidebarItemSharedRenderProps, \"endElement\" | \"startElement\">,\n Pick<\n UseSidebarItemReturn,\n | \"group\"\n | \"groupLoading\"\n | \"groupOpen\"\n | \"onGroupClose\"\n | \"onGroupOpen\"\n | \"onGroupToggle\"\n > {\n endElement: { group?: ReactNode; item?: ReactNode }\n startElement: { group?: ReactNode; item?: ReactNode }\n indicator?: ReactNode\n link?: ReactNode\n trigger?: ReactNode\n}\n\ninterface SidebarItemLinkRenderProps extends Omit<\n SidebarItemSharedRenderProps,\n \"itemProps\" | \"triggerProps\"\n> {}\n\ninterface SidebarItemTriggerRenderProps\n extends\n Omit<SidebarItemSharedRenderProps, \"itemProps\" | \"linkProps\">,\n Pick<\n UseSidebarItemReturn,\n | \"groupLoading\"\n | \"groupOpen\"\n | \"onGroupClose\"\n | \"onGroupOpen\"\n | \"onGroupToggle\"\n > {\n indicator?: ReactNode\n}\n\ninterface SidebarItemRender {\n item?: ReactNodeOrFunction<SidebarItemRenderProps>\n link?: ReactNodeOrFunction<SidebarItemLinkRenderProps>\n trigger?: ReactNodeOrFunction<SidebarItemTriggerRenderProps>\n}\n\ninterface SidebarGroup extends Omit<SidebarGroupProps, \"children\" | \"value\"> {\n children: SidebarItemWithValue[]\n group: true\n}\n\nexport interface SidebarItemWithValue extends Omit<\n SidebarItemProps,\n \"children\"\n> {\n children?: SidebarItemWithValue[]\n}\n\nexport type SidebarItem = SidebarGroup | SidebarItemWithValue\n\nconst createKey = (props: SidebarItem, index: number) => {\n return \"value\" in props ? props.value || index : index\n}\n\nconst getReactNodeOrFunction = (\n type: \"group\" | \"item\",\n custom?: SidebarItemReactNode,\n root?: SidebarItemReactNode,\n): ReactNodeOrFunction<SidebarItemCallBackProps> => {\n if (isObject(custom) && (\"group\" in custom || \"item\" in custom))\n return custom[type]\n else if (custom) return custom\n else if (isObject(root) && (\"group\" in root || \"item\" in root))\n return root[type]\n else return root\n}\n\ninterface ComponentContext extends Pick<\n UseSidebarReturn,\n | \"getContentProps\"\n | \"getFooterProps\"\n | \"getHeaderProps\"\n | \"getSidePanelProps\"\n | \"getTriggerProps\"\n> {\n breakpoint: ExtractStyleValue<NonNullable<SidebarRootProps[\"breakpoint\"]>>\n mode: ExtractStyleValue<NonNullable<SidebarRootProps[\"mode\"]>>\n placement: ExtractStyleValue<NonNullable<SidebarRootProps[\"placement\"]>>\n}\n\ninterface GroupComponentContext\n extends\n Pick<SidebarGroupProps, \"contentProps\" | \"labelProps\">,\n Pick<UseSidebarGroupReturn, \"getContentProps\" | \"getLabelProps\"> {}\n\nconst [GroupComponentContext, useGroupComponentContext] =\n createContext<GroupComponentContext>({ name: \"GroupComponentContext\" })\n\ninterface ItemComponentContext {\n contentProps: SidebarItemContentProps\n endElementProps: SidebarItemEndElementProps\n indicatorProps: SidebarItemIndicatorProps\n labelProps: SidebarItemLabelProps\n startElementProps: SidebarItemStartElementProps\n tooltipProps: SidebarItemTooltipProps\n}\n\nconst [ItemComponentContext, useItemComponentContext] =\n createContext<ItemComponentContext>({ name: \"ItemComponentContext\" })\n\ninterface SidePanelComponentContext extends Pick<\n SidebarSidePanelProps,\n | \"animated\"\n | \"contentProps\"\n | \"endElement\"\n | \"endElementProps\"\n | \"footerProps\"\n | \"groupContentProps\"\n | \"groupProps\"\n | \"handleProps\"\n | \"headerProps\"\n | \"indicator\"\n | \"indicatorHidden\"\n | \"indicatorProps\"\n | \"itemContentProps\"\n | \"itemProps\"\n | \"items\"\n | \"labelProps\"\n | \"linkProps\"\n | \"loadingScheme\"\n | \"menuProps\"\n | \"render\"\n | \"startElement\"\n | \"startElementProps\"\n | \"tooltipProps\"\n | \"triggerProps\"\n> {}\n\nconst [SidePanelComponentContext, useSidePanelComponentContext] =\n createContext<SidePanelComponentContext>({\n name: \"SidePanelComponentContext\",\n })\n\nexport interface SidebarRootProps\n extends\n HTMLStyledProps<\"div\">,\n ThemeProps<SidebarStyle>,\n Omit<UseSidebarProps, \"mobile\"> {\n /**\n * The breakpoint to use for the sidebar. If `false`, the sidebar will be always visible.\n *\n * @default 'md'\n */\n breakpoint?: Exclude<Breakpoint, \"base\"> | false\n}\n\nconst {\n ComponentContext,\n PropsContext: SidebarPropsContext,\n useComponentContext,\n usePropsContext: useSidebarPropsContext,\n withContext,\n withProvider,\n} = createSlotComponent<SidebarRootProps, SidebarStyle, ComponentContext>(\n \"sidebar\",\n sidebarStyle,\n)\n\nexport { SidebarPropsContext, useSidebarPropsContext }\n\n/**\n * `Sidebar` is a component that is used to display a list of items in a sidebar.\n *\n * @see https://yamada-ui.com/docs/components/sidebar\n */\nexport const SidebarRoot = withProvider<\n \"div\",\n SidebarRootProps,\n \"mode\" | \"placement\"\n>(\n ({\n breakpoint = \"md\",\n mode: modeProp = \"offcanvas\",\n placement: placementProp = \"start\",\n ...rest\n }) => {\n const mobile =\n useBreakpointValue<boolean | undefined>(\n breakpoint ? { [breakpoint]: true } : { base: false },\n ) ?? false\n const mode = useValue(modeProp)\n const placement = useValue(placementProp)\n const {\n descendants,\n expandedValue,\n open,\n selectedValue,\n getContentProps,\n getFooterProps,\n getHeaderProps,\n getRootProps,\n getSidePanelProps,\n getTriggerProps,\n onClose,\n onExpandedChange,\n onOpen,\n onSelectedChange,\n onToggle,\n } = useSidebar({ mobile, ...rest })\n const context = useMemo(\n () => ({\n expandedValue,\n mobile,\n open,\n selectedValue,\n onClose,\n onExpandedChange,\n onOpen,\n onSelectedChange,\n onToggle,\n }),\n [\n mobile,\n expandedValue,\n open,\n selectedValue,\n onClose,\n onExpandedChange,\n onOpen,\n onSelectedChange,\n onToggle,\n ],\n )\n const componentContext = useMemo(\n () => ({\n breakpoint,\n mode,\n placement,\n getContentProps,\n getFooterProps,\n getHeaderProps,\n getSidePanelProps,\n getTriggerProps,\n }),\n [\n breakpoint,\n mode,\n placement,\n getContentProps,\n getFooterProps,\n getHeaderProps,\n getSidePanelProps,\n getTriggerProps,\n ],\n )\n\n return (\n <SidebarDescendantsContext value={descendants}>\n <SidebarContext value={context}>\n <ComponentContext value={componentContext}>\n <styled.div data-group {...getRootProps()} />\n </ComponentContext>\n </SidebarContext>\n </SidebarDescendantsContext>\n )\n },\n \"root\",\n { transferProps: [\"mode\", \"placement\"] },\n)()\n\nexport interface SidebarMainPanelProps extends HTMLStyledProps {}\n\nexport const SidebarMainPanel = withContext<\"div\", SidebarMainPanelProps>(\n \"div\",\n \"mainPanel\",\n)()\n\nexport interface SidebarTriggerProps extends HTMLStyledProps<\"button\"> {}\n\nexport const SidebarTrigger = withContext<\"button\", SidebarTriggerProps>(\n \"button\",\n \"trigger\",\n)(undefined, (props) => {\n const { getTriggerProps } = useComponentContext()\n\n return { asChild: true, ...getTriggerProps(props) }\n})\n\nexport interface SidebarSidePanelProps\n extends\n Omit<HTMLStyledProps<\"aside\">, \"content\">,\n Pick<SidebarContentProps, \"items\">,\n Pick<\n SidebarItemProps,\n | \"animated\"\n | \"endElement\"\n | \"endElementProps\"\n | \"indicator\"\n | \"indicatorProps\"\n | \"labelProps\"\n | \"linkProps\"\n | \"loadingScheme\"\n | \"render\"\n | \"startElement\"\n | \"startElementProps\"\n | \"tooltipProps\"\n | \"triggerProps\"\n > {\n /**\n * The content of the sidebar.\n */\n content?: ReactNode\n /**\n * The footer of the sidebar.\n */\n footer?: ReactNode\n /**\n * The header of the sidebar.\n */\n header?: ReactNode\n /**\n * If `true`, hide the tree indicator icon for all items.\n *\n * @default false\n */\n indicatorHidden?: boolean\n /**\n * If `true`, the sidebar will be rendered with a handle.\n *\n * @default true\n */\n withHandle?: boolean\n /**\n * Props for the content component.\n */\n contentProps?: SidebarContentProps\n /**\n * Props for the drawer component.\n */\n drawerProps?: Omit<\n Drawer.RootProps,\n | \"body\"\n | \"cancel\"\n | \"children\"\n | \"footer\"\n | \"header\"\n | \"middle\"\n | \"onCancel\"\n | \"onClose\"\n | \"onMiddle\"\n | \"onOpen\"\n | \"onSuccess\"\n | \"open\"\n | \"success\"\n | \"title\"\n | \"trigger\"\n >\n /**\n * Props for the footer component.\n */\n footerProps?: SidebarFooterProps\n /**\n * Props for the group content component.\n */\n groupContentProps?: Omit<SidebarGroupContentProps, \"children\">\n /**\n * Props for the group component.\n */\n groupProps?: Omit<SidebarGroupProps, \"children\" | \"label\" | \"value\">\n /**\n * Props for the handle component.\n */\n handleProps?: SidebarHandleProps\n /**\n * Props for the header component.\n */\n headerProps?: SidebarHeaderProps\n /**\n * Props for the item content component.\n */\n itemContentProps?: SidebarItemContentProps\n /**\n * Props for the item component.\n */\n itemProps?: Omit<\n SidebarItemProps,\n \"children\" | \"items\" | \"label\" | \"open\" | \"value\"\n >\n /**\n * Props for the menu component.\n *\n * @default 'md'\n */\n menuProps?: SidebarMenuProps\n}\n\nexport const SidebarSidePanel = withContext<\"aside\", SidebarSidePanelProps>(\n ({\n animated = true,\n children,\n content,\n endElement,\n footer,\n header,\n indicator,\n indicatorHidden,\n items,\n loadingScheme,\n render,\n startElement,\n withHandle = true,\n contentProps,\n drawerProps,\n endElementProps,\n footerProps,\n groupContentProps,\n groupProps,\n handleProps,\n headerProps,\n indicatorProps,\n itemContentProps,\n itemProps,\n labelProps,\n linkProps,\n menuProps,\n startElementProps,\n tooltipProps,\n triggerProps,\n ...rest\n }) => {\n const { mobile, open, onClose } = useSidebarContext()\n const { breakpoint, placement, getSidePanelProps } = useComponentContext()\n const [\n omittedChildren,\n customHeader,\n customContent,\n customFooter,\n customHandle,\n ] = useSplitChildren(\n children,\n SidebarHeader,\n SidebarContent,\n SidebarFooter,\n SidebarHandle,\n )\n const context = useMemo(\n () => ({\n animated,\n endElement,\n indicator,\n indicatorHidden,\n items,\n loadingScheme,\n render,\n startElement,\n contentProps,\n endElementProps,\n footerProps,\n groupContentProps,\n groupProps,\n handleProps,\n headerProps,\n indicatorProps,\n itemContentProps,\n itemProps,\n labelProps,\n linkProps,\n menuProps,\n startElementProps,\n tooltipProps,\n triggerProps,\n }),\n [\n animated,\n endElement,\n indicator,\n indicatorHidden,\n items,\n render,\n loadingScheme,\n startElement,\n contentProps,\n endElementProps,\n footerProps,\n groupContentProps,\n groupProps,\n handleProps,\n headerProps,\n indicatorProps,\n itemContentProps,\n itemProps,\n labelProps,\n linkProps,\n menuProps,\n startElementProps,\n tooltipProps,\n triggerProps,\n ],\n )\n\n return (\n <SidePanelComponentContext value={context}>\n {mobile ? (\n <Drawer.Root\n size=\"sm\"\n autoFocus={false}\n duration={!animated ? 0 : undefined}\n open={open}\n placement={`inline-${placement}`}\n withCloseButton={false}\n portalProps={{ disabled: true }}\n onClose={onClose}\n {...drawerProps}\n >\n <Drawer.Content>\n {customHeader ??\n (header ? <SidebarHeader>{header}</SidebarHeader> : null)}\n\n {customContent ??\n (content || items ? (\n <SidebarContent>{content}</SidebarContent>\n ) : null)}\n\n {customFooter ??\n (footer ? <SidebarFooter>{footer}</SidebarFooter> : null)}\n </Drawer.Content>\n </Drawer.Root>\n ) : (\n <>\n <SidebarGap\n data-animated={dataAttr(animated)}\n display={\n breakpoint\n ? { base: undefined, [breakpoint]: \"none\" }\n : undefined\n }\n />\n\n <styled.aside\n data-animated={dataAttr(animated)}\n data-group\n display={\n breakpoint\n ? { base: undefined, [breakpoint]: \"none\" }\n : undefined\n }\n {...getSidePanelProps(rest)}\n >\n {customHeader ??\n (header ? <SidebarHeader>{header}</SidebarHeader> : null)}\n {customContent ??\n (content || items ? (\n <SidebarContent>{content}</SidebarContent>\n ) : null)}\n {customFooter ??\n (footer ? <SidebarFooter>{footer}</SidebarFooter> : null)}\n {customHandle ?? (withHandle ? <SidebarHandle /> : null)}\n\n {omittedChildren}\n </styled.aside>\n </>\n )}\n </SidePanelComponentContext>\n )\n },\n \"sidePanel\",\n)()\n\ninterface SidebarGapProps extends HTMLStyledProps<\"div\"> {}\n\nconst SidebarGap = withContext<\"div\", SidebarGapProps>(\"div\", \"gap\")()\n\nexport interface SidebarHeaderProps extends HTMLStyledProps<\"header\"> {}\n\nexport const SidebarHeader = withContext<\"header\", SidebarHeaderProps>(\n \"header\",\n \"header\",\n)(undefined, (props) => {\n const { getHeaderProps } = useComponentContext()\n const { headerProps } = useSidePanelComponentContext()\n\n return getHeaderProps(mergeProps(headerProps, props)())\n})\n\nexport interface SidebarFooterProps extends HTMLStyledProps<\"footer\"> {}\n\nexport const SidebarFooter = withContext<\"footer\", SidebarFooterProps>(\n \"footer\",\n \"footer\",\n)(undefined, (props) => {\n const { getFooterProps } = useComponentContext()\n const { footerProps } = useSidePanelComponentContext()\n\n return getFooterProps(mergeProps(footerProps, props)())\n})\n\nexport interface SidebarContentProps extends HTMLStyledProps<\"ul\"> {\n /**\n * If provided, generate elements based on items.\n */\n items?: SidebarItem[]\n}\n\nexport const SidebarContent = withContext<\"ul\", SidebarContentProps>(\n ({ children, items, ...rest }) => {\n const { getContentProps } = useComponentContext()\n const { items: rootItems, contentProps } = useSidePanelComponentContext()\n const computedChildren = useMemo(() => {\n if (children) return children\n\n return (items ?? rootItems)?.map((props, index) => {\n const key = createKey(props, index)\n\n if (\"group\" in props) {\n const { children, group: _, ...rest } = props\n\n return <SidebarGroup key={key} items={children} {...rest} />\n } else {\n const { children, ...rest } = props\n\n return <SidebarItem key={key} items={children} {...rest} />\n }\n })\n }, [children, items, rootItems])\n\n return (\n <styled.ul {...getContentProps(mergeProps(contentProps, rest)())}>\n {computedChildren}\n </styled.ul>\n )\n },\n \"content\",\n)()\n\nexport interface SidebarHandleProps extends HTMLStyledProps<\"button\"> {}\n\nexport const SidebarHandle = withContext<\"button\", SidebarHandleProps>(\n (props) => {\n const { handleProps } = useSidePanelComponentContext()\n\n return (\n <SidebarTrigger {...mergeProps(handleProps, props)()}>\n <styled.button tabIndex={-1} />\n </SidebarTrigger>\n )\n },\n \"handle\",\n)()\n\nexport interface SidebarGroupProps\n extends\n Omit<HTMLStyledProps<\"li\">, \"content\" | \"value\">,\n UseSidebarGroupProps {\n /**\n * If provided, generate elements based on items.\n */\n items?: SidebarItemWithValue[]\n /**\n * The label of the group.\n */\n label?: ReactNode\n /**\n * Props for the content component.\n */\n contentProps?: Omit<SidebarGroupContentProps, \"children\">\n /**\n * Props for the label component.\n */\n labelProps?: HTMLStyledProps<\"span\">\n}\n\nexport const SidebarGroup = withContext<\"li\", SidebarGroupProps>(\n ({\n children,\n items,\n label,\n value: valueProp = isString(label) ? label : undefined,\n contentProps,\n labelProps,\n ...rest\n }) => {\n const { groupProps } = useSidePanelComponentContext()\n const computedChildren = useMemo(() => {\n if (children) return children\n\n return items?.map(({ children, ...rest }, index) => {\n const key = createKey(rest, index)\n\n return <SidebarItem key={key} items={children} {...rest} />\n })\n }, [children, items])\n const [omittedChildren, customLabel, customContent] = useSplitChildren(\n computedChildren,\n SidebarGroupLabel,\n SidebarGroupContent,\n )\n const { getContentProps, getLabelProps, getRootProps } = useSidebarGroup({\n ...mergeProps(groupProps, rest)(),\n value: valueProp,\n })\n const context = useMemo(\n () => ({ contentProps, getContentProps, getLabelProps, labelProps }),\n [getLabelProps, labelProps, getContentProps, contentProps],\n )\n\n return (\n <GroupComponentContext value={context}>\n <styled.li {...getRootProps()}>\n {customLabel ??\n (label ? <SidebarGroupLabel>{label}</SidebarGroupLabel> : null)}\n {customContent ?? (\n <SidebarGroupContent>{omittedChildren}</SidebarGroupContent>\n )}\n </styled.li>\n </GroupComponentContext>\n )\n },\n \"group\",\n)()\n\nexport interface SidebarGroupLabelProps extends HTMLStyledProps<\"span\"> {}\n\nexport const SidebarGroupLabel = withContext<\"span\", SidebarGroupLabelProps>(\n \"span\",\n \"groupLabel\",\n)(undefined, (props) => {\n const { getLabelProps, labelProps } = useGroupComponentContext()\n\n return getLabelProps(mergeProps(labelProps, props)())\n})\n\nexport interface SidebarGroupContentProps extends HTMLStyledProps<\"div\"> {}\n\nexport const SidebarGroupContent = withContext<\"div\", SidebarGroupContentProps>(\n \"div\",\n \"groupContent\",\n)(undefined, ({ children, ...rest }) => {\n const validChildren = useValidChildren(children)\n const list = useIncludesChildren(validChildren, SidebarItem)\n const { groupContentProps } = useSidePanelComponentContext()\n const { contentProps, getContentProps } = useGroupComponentContext()\n\n return {\n as: list ? \"ul\" : \"div\",\n children,\n ...getContentProps(mergeProps(groupContentProps, contentProps, rest)()),\n }\n})\n\nexport interface SidebarMenuProps extends HTMLStyledProps<\"div\"> {}\n\nexport const SidebarMenu = withContext<\"div\", SidebarMenuProps>(\"div\", \"menu\")(\n undefined,\n (props) => {\n const { menuProps } = useSidePanelComponentContext()\n\n return { \"data-menu\": \"\", ...mergeProps(menuProps, props)() }\n },\n)\n\nexport interface SidebarMenuButtonProps extends HTMLStyledProps<\"button\"> {}\n\nexport const SidebarMenuButton = withContext<\"button\", SidebarMenuButtonProps>(\n \"button\",\n [\"menu\", \"button\"],\n)(undefined, (props) => {\n const { open } = useSidebarContext()\n const { mode } = useComponentContext()\n const { menuProps } = useSidePanelComponentContext()\n const offcanvas = mode === \"offcanvas\"\n const { disabled, ...rest } = mergeProps(menuProps, props)()\n\n return {\n \"data-menu\": \"\",\n disabled,\n ...rest,\n tabIndex: (!offcanvas || open) && !disabled ? 0 : -1,\n }\n})\n\nexport interface SidebarItemProps\n extends\n Omit<HTMLStyledProps<\"li\">, \"value\">,\n Omit<UseSidebarItemProps, \"asyncChildren\"> {\n /**\n * The label to display in the item.\n */\n label: ReactNode\n /**\n * If `true`, the sidebar item will be animated.\n *\n * @default true\n */\n animated?: boolean\n /**\n * The element to display at the end of the item.\n */\n endElement?: SidebarItemReactNode\n /**\n * The sidebar item indicator icon to use.\n */\n indicator?: ReactNodeOrFunction<SidebarItemCallBackProps>\n /**\n * If provided, generate elements based on items.\n */\n items?: SidebarItemWithValue[]\n /**\n * The loading scheme.\n *\n * @default 'oval'\n */\n loadingScheme?: Loading.Scheme\n /**\n * If provided, the sidebar item will be rendered with custom components.\n */\n render?: SidebarItemRender\n /**\n * The element to display at the start of the item.\n */\n startElement?: SidebarItemReactNode\n /**\n * Props for the content component.\n */\n contentProps?: Omit<SidebarItemContentProps, \"children\">\n /**\n * Props for the end component.\n */\n endElementProps?: SidebarItemEndElementProps\n /**\n * Props for the indicator component.\n */\n indicatorProps?: SidebarItemIndicatorProps\n /**\n * Props for the label component.\n */\n labelProps?: SidebarItemLabelProps\n /**\n * Props for the link component.\n */\n linkProps?: SidebarItemLinkProps\n /**\n * Props for the start component.\n */\n startElementProps?: SidebarItemStartElementProps\n /**\n * Props for the tooltip component.\n */\n tooltipProps?: Omit<SidebarItemTooltipProps, \"children\" | \"content\">\n /**\n * Props for the trigger component.\n */\n triggerProps?: SidebarItemTriggerProps\n /**\n * If provided, the sidebar item will be rendered as an async sidebar item.\n */\n asyncChildren?: () => Promise<SidebarItemWithValue[]>\n}\n\nexport const SidebarItem = withContext<\"li\", SidebarItemProps>(\n ({\n animated: animatedProp,\n asyncChildren: asyncChildrenProp,\n children: childrenProp,\n endElement,\n indicator: indicatorProp,\n items,\n label,\n loadingScheme,\n render,\n startElement,\n contentProps,\n endElementProps,\n indicatorProps,\n labelProps,\n linkProps,\n startElementProps,\n tooltipProps,\n triggerProps,\n ...rest\n }) => {\n const { mode } = useComponentContext()\n const offcanvas = mode === \"offcanvas\"\n const componentContext = useSidePanelComponentContext()\n const Loading = useLoadingComponent(\n loadingScheme ?? componentContext.loadingScheme ?? \"oval\",\n )\n const computedChildren = useMemo(() => {\n if (childrenProp) return childrenProp\n\n return items?.map(({ children, ...rest }, index) => {\n const key = createKey(rest, index)\n\n return <SidebarItem key={key} items={children} {...rest} />\n })\n }, [childrenProp, items])\n const asyncChildren = useCallback(async () => {\n const items = await asyncChildrenProp?.()\n\n return items?.map(({ children, ...rest }, index) => {\n const key = createKey(rest, index)\n\n return <SidebarItem key={key} items={children} {...rest} />\n })\n }, [asyncChildrenProp])\n const {\n branchOpen,\n children,\n disabled,\n expanded,\n expandedValue,\n group,\n groupLoading,\n groupOpen,\n open,\n selected,\n selectedValue,\n value,\n getContentProps,\n getIndicatorProps,\n getItemProps,\n getLabelProps,\n getLinkProps,\n getTriggerProps,\n onExpandedChange,\n onGroupClose,\n onGroupOpen,\n onGroupToggle,\n onSelectedChange,\n } = useSidebarItem({\n ...mergeProps(componentContext.itemProps, rest)(),\n asyncChildren: asyncChildrenProp ? asyncChildren : undefined,\n children: computedChildren,\n })\n const animated = animatedProp ?? componentContext.animated ?? true\n const tabIndex = offcanvas\n ? open && expanded && !disabled\n ? 0\n : -1\n : expanded && !disabled\n ? 0\n : -1\n const callbackProps = useMemo(\n () => ({ disabled, expanded: groupOpen }),\n [disabled, groupOpen],\n )\n const mergedTriggerProps = useMemo(() => {\n return getTriggerProps({\n tabIndex,\n ...mergeProps(componentContext.triggerProps, triggerProps)(),\n }) as SidebarItemTriggerProps\n }, [getTriggerProps, tabIndex, componentContext.triggerProps, triggerProps])\n const mergedLinkProps = useMemo(() => {\n return getLinkProps({\n tabIndex,\n ...mergeProps(componentContext.linkProps, linkProps)(),\n }) as SidebarItemLinkProps\n }, [getLinkProps, tabIndex, componentContext.linkProps, linkProps])\n const indicator = useMemo<ReactNode>(\n () => runIfFn(indicatorProp ?? componentContext.indicator, callbackProps),\n [indicatorProp, componentContext.indicator, callbackProps],\n )\n const groupStartElement = useMemo<ReactNode>(\n () =>\n runIfFn(\n getReactNodeOrFunction(\n \"group\",\n startElement,\n componentContext.startElement,\n ),\n callbackProps,\n ),\n [startElement, componentContext.startElement, callbackProps],\n )\n const groupEndElement = useMemo<ReactNode>(\n () =>\n runIfFn(\n getReactNodeOrFunction(\n \"group\",\n endElement,\n componentContext.endElement,\n ),\n callbackProps,\n ),\n [endElement, componentContext.endElement, callbackProps],\n )\n const itemStartElement = useMemo<ReactNode>(\n () =>\n runIfFn(\n getReactNodeOrFunction(\n \"item\",\n startElement,\n componentContext.startElement,\n ),\n callbackProps,\n ),\n [startElement, componentContext.startElement, callbackProps],\n )\n const itemEndElement = useMemo<ReactNode>(\n () =>\n runIfFn(\n getReactNodeOrFunction(\n \"item\",\n endElement,\n componentContext.endElement,\n ),\n callbackProps,\n ),\n [endElement, componentContext.endElement, callbackProps],\n )\n const trigger = useMemo<ReactNode>(\n () =>\n runIfFn(render?.trigger ?? componentContext.render?.trigger, {\n endElement: groupEndElement,\n expanded,\n expandedValue,\n groupLoading,\n groupOpen,\n indicator,\n label,\n selected,\n selectedValue,\n startElement: groupStartElement,\n value,\n triggerProps: mergedTriggerProps,\n onExpandedChange,\n onGroupClose,\n onGroupOpen,\n onGroupToggle,\n onSelectedChange,\n }),\n [\n render?.trigger,\n componentContext.render?.trigger,\n groupEndElement,\n expanded,\n expandedValue,\n groupLoading,\n groupOpen,\n indicator,\n label,\n selected,\n selectedValue,\n groupStartElement,\n value,\n mergedTriggerProps,\n onExpandedChange,\n onGroupClose,\n onGroupOpen,\n onGroupToggle,\n onSelectedChange,\n ],\n )\n const link = useMemo<ReactNode>(\n () =>\n runIfFn(render?.link ?? componentContext.render?.link, {\n endElement: itemEndElement,\n expanded,\n expandedValue,\n label,\n selected,\n selectedValue,\n startElement: itemStartElement,\n value,\n linkProps: mergedLinkProps,\n onExpandedChange,\n onSelectedChange,\n }),\n [\n render?.link,\n componentContext.render?.link,\n itemEndElement,\n expanded,\n expandedValue,\n label,\n selected,\n selectedValue,\n itemStartElement,\n value,\n mergedLinkProps,\n onExpandedChange,\n onSelectedChange,\n ],\n )\n const item = useMemo<ReactNode>(\n () =>\n runIfFn(render?.item ?? componentContext.render?.item, {\n children,\n endElement: { group: groupEndElement, item: itemEndElement },\n expanded,\n expandedValue,\n group,\n groupLoading,\n groupOpen,\n indicator,\n label,\n link,\n selected,\n selectedValue,\n startElement: { group: groupStartElement, item: itemStartElement },\n trigger,\n value,\n itemProps: getItemProps() as HTMLStyledProps<\"li\">,\n linkProps: mergedLinkProps,\n triggerProps: mergedTriggerProps,\n onExpandedChange,\n onGroupClose,\n onGroupOpen,\n onGroupToggle,\n onSelectedChange,\n }),\n [\n render?.item,\n componentContext.render?.item,\n children,\n groupEndElement,\n itemEndElement,\n expanded,\n expandedValue,\n group,\n groupLoading,\n groupOpen,\n indicator,\n label,\n link,\n selected,\n selectedValue,\n groupStartElement,\n itemStartElement,\n trigger,\n value,\n getItemProps,\n mergedLinkProps,\n mergedTriggerProps,\n onExpandedChange,\n onGroupClose,\n onGroupOpen,\n onGroupToggle,\n onSelectedChange,\n ],\n )\n const context = useMemo(\n () => ({ branchOpen, groupOpen }),\n [branchOpen, groupOpen],\n )\n const itemComponentContext = useMemo(\n () => ({\n contentProps: {\n duration: !animated ? 0 : undefined,\n open: groupOpen,\n ...getContentProps(\n mergeProps(componentContext.itemContentProps, contentProps)(),\n ),\n },\n endElementProps: mergeProps(\n componentContext.endElementProps,\n endElementProps,\n )(),\n indicatorProps: getIndicatorProps({\n \"data-animated\": dataAttr(animated),\n ...mergeProps(componentContext.indicatorProps, indicatorProps)(),\n }) as SidebarItemIndicatorProps,\n labelProps: getLabelProps(\n mergeProps(componentContext.labelProps, labelProps)(),\n ) as SidebarItemLabelProps,\n startElementProps: mergeProps(\n componentContext.startElementProps,\n startElementProps,\n )(),\n tooltipProps: {\n content: label,\n disabled: open,\n ...mergeProps(componentContext.tooltipProps, tooltipProps)(),\n },\n }),\n [\n animated,\n componentContext.endElementProps,\n componentContext.indicatorProps,\n componentContext.itemContentProps,\n componentContext.labelProps,\n componentContext.startElementProps,\n componentContext.tooltipProps,\n contentProps,\n endElementProps,\n getContentProps,\n getIndicatorProps,\n getLabelProps,\n groupOpen,\n indicatorProps,\n label,\n labelProps,\n open,\n startElementProps,\n tooltipProps,\n ],\n )\n\n return (\n <SidebarItemContext value={context}>\n <ItemComponentContext value={itemComponentContext}>\n {item ?? (\n <styled.li {...getItemProps()}>\n {group ? (\n <>\n {trigger ?? (\n <SidebarItemTrigger {...mergedTriggerProps}>\n {groupStartElement ? (\n <SidebarItemStartElement>\n {groupStartElement}\n </SidebarItemStartElement>\n ) : null}\n {label ? (\n <SidebarItemLabel>{label}</SidebarItemLabel>\n ) : null}\n {groupEndElement ? (\n <SidebarItemEndElement>\n {groupEndElement}\n </SidebarItemEndElement>\n ) : null}\n <SidebarItemIndicator>\n {groupLoading ? (\n <Loading />\n ) : (\n runIfFn(indicator, callbackProps)\n )}\n </SidebarItemIndicator>\n </SidebarItemTrigger>\n )}\n\n <SidebarItemContent>{children}</SidebarItemContent>\n </>\n ) : (\n (link ?? (\n <SidebarItemLink {...mergedLinkProps}>\n {itemStartElement ? (\n <SidebarItemStartElement>\n {itemStartElement}\n </SidebarItemStartElement>\n ) : null}\n {label ? (\n <SidebarItemLabel>{label}</SidebarItemLabel>\n ) : null}\n {itemEndElement ? (\n <SidebarItemEndElement>\n {itemEndElement}\n </SidebarItemEndElement>\n ) : null}\n </SidebarItemLink>\n ))\n )}\n </styled.li>\n )}\n </ItemComponentContext>\n </SidebarItemContext>\n )\n },\n \"item\",\n)()\n\ninterface SidebarItemTooltipProps extends TooltipProps {}\n\nconst SidebarItemTooltip: FC<SidebarItemTooltipProps> = (props) => {\n const { tooltipProps } = useItemComponentContext()\n const { children, disabled, ...rest } = mergeProps(tooltipProps, props)()\n const { mode, placement } = useComponentContext()\n const offcanvas = mode === \"offcanvas\"\n\n if (offcanvas || disabled) return children\n else\n return (\n <Tooltip\n closeOnClick={false}\n gutter={16}\n placement={`center-${placement === \"start\" ? \"end\" : \"start\"}`}\n {...rest}\n >\n {children}\n </Tooltip>\n )\n}\n\nexport interface SidebarItemTriggerProps extends HTMLStyledProps<\"button\"> {}\n\nexport const SidebarItemTrigger = withContext<\n \"button\",\n SidebarItemTriggerProps\n>((props) => {\n return (\n <SidebarItemTooltip>\n <styled.button {...props} />\n </SidebarItemTooltip>\n )\n}, \"itemTrigger\")()\n\nexport interface SidebarItemLinkProps extends HTMLStyledProps<\"a\"> {}\n\nexport const SidebarItemLink = withContext<\"a\", SidebarItemLinkProps>(\n (props) => {\n return (\n <SidebarItemTooltip>\n <styled.a {...props} />\n </SidebarItemTooltip>\n )\n },\n \"itemLink\",\n)()\n\nexport interface SidebarItemContentProps\n extends\n Omit<HTMLStyledProps<\"ul\">, \"transition\">,\n Pick<CollapseProps, \"animationOpacity\" | keyof WithTransitionProps> {}\n\nexport const SidebarItemContent = withContext<\"ul\", SidebarItemContentProps>(\n (props) => {\n const { contentProps } = useItemComponentContext()\n\n return (\n <Collapse\n as=\"ul\"\n {...cast<CollapseProps>(mergeProps(contentProps, props)())}\n />\n )\n },\n \"itemContent\",\n)()\n\nexport interface SidebarItemIndicatorProps extends HTMLStyledProps<\"svg\"> {}\n\nexport const SidebarItemIndicator = withContext<\n \"svg\",\n SidebarItemIndicatorProps\n>(({ children = <ChevronRightIcon />, ...rest }) => {\n const { indicatorHidden } = useSidePanelComponentContext()\n\n if (indicatorHidden) return null\n\n if (isValidElement<HTMLProps<\"svg\">>(children))\n return cloneElement(children, { ...rest, ...children.props })\n\n return Children.count(children) > 1 ? Children.only(null) : null\n}, \"itemIndicator\")(undefined, (props) => {\n const { indicatorProps } = useItemComponentContext()\n\n return mergeProps(indicatorProps, props)()\n})\n\nexport interface SidebarItemStartElementProps extends HTMLStyledProps {}\n\nexport const SidebarItemStartElement = withContext<\n \"div\",\n SidebarItemStartElementProps\n>(\"div\", {\n name: \"ItemStartElement\",\n slot: [\"itemElement\", \"start\"],\n})(undefined, (props) => {\n const { startElementProps } = useItemComponentContext()\n\n return mergeProps(startElementProps, props)()\n})\n\nexport interface SidebarItemEndElementProps extends HTMLStyledProps {}\n\nexport const SidebarItemEndElement = withContext<\n \"div\",\n SidebarItemEndElementProps\n>(\"div\", {\n name: \"ItemEndElement\",\n slot: [\"itemElement\", \"end\"],\n})(undefined, (props) => {\n const { endElementProps } = useItemComponentContext()\n\n return mergeProps(endElementProps, props)()\n})\n\nexport interface SidebarItemLabelProps extends HTMLStyledProps<\"span\"> {}\n\nexport const SidebarItemLabel = withContext<\"span\", SidebarItemLabelProps>(\n \"span\",\n \"itemLabel\",\n)(undefined, (props) => {\n const { labelProps } = useItemComponentContext()\n\n return mergeProps(labelProps, props)()\n})\n"],"mappings":";;;;;;;;;;;;;;;;;;;AA0JA,MAAM,aAAa,OAAoB,UAAkB;CACvD,OAAO,WAAW,QAAQ,MAAM,SAAS,QAAQ;AACnD;AAEA,MAAM,0BACJ,MACA,QACA,SACkD;CAClD,KAAA,GAAA,oBAAA,cAAA,SAAA,CAAa,MAAM,MAAM,WAAW,UAAU,UAAU,SACtD,OAAO,OAAO;MACX,IAAI,QAAQ,OAAO;MACnB,KAAA,GAAA,oBAAA,cAAA,SAAA,CAAa,IAAI,MAAM,WAAW,QAAQ,UAAU,OACvD,OAAO,KAAK;MACT,OAAO;AACd;AAoBA,MAAM,CAAC,uBAAuB,4BAC5BA,gBAAAA,cAAqC,EAAE,MAAM,wBAAwB,CAAC;AAWxE,MAAM,CAAC,sBAAsB,2BAC3BA,gBAAAA,cAAoC,EAAE,MAAM,uBAAuB,CAAC;AA8BtE,MAAM,CAAC,2BAA2B,gCAChCA,gBAAAA,cAAyC,EACvC,MAAM,4BACR,CAAC;AAeH,MAAM,EACJ,kBAC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AiB,YAC5B,UACA,SACF,CAAC,CAAC,KAAA,IAAY,UAAU;CACtB,MAAM,EAAE,oBAAoB,oBAAoB;CAEhD,OAAO;EAAE,SAAS;EAAM,GAAG,gBAAgB,KAAK;CAAE;AACpD,CAAC;AA8GD,MAAa,mBAAmB,aAC7B,EACC,WAAW,MACX,UACA,SACA,YACA,QACA,QACA,WACA,iBACA,OACA,eACA,QACA,cACA,aAAa,MACb,cACA,aACA,iBACA,aACA,mBACA,YACA,aACA,aACA,gBACA,kBACA,WACA,YACA,WACA,WACA,mBACA,cACA,cACA,GAAG,WACC;CACJ,MAAM,EAAE,QAAQ,MAAM,YAAYC,oBAAAA,kBAAkB;CACpD,MAAM,EAAE,YAAY,WAAW,sBAAsB,oBAAoB;CACzE,MAAM,CACJ,iBACA,cACA,eACA,cACA,gBACEC,iBAAAA,iBACF,UACA,eACA,gBACA,eACA,aACF;CAwDA,OACE,iBAAA,GAAA,kBAAA,IAAA,CAAC,2BAAD;EAA2B,QAAA,GAAA,MAAA,QAAA,QAvDpB;GACL;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACF,IACA;GACE;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACF,CAIwC;YACrC,SACC,iBAAA,GAAA,kBAAA,IAAA,CAAA,eAAA,YAAA;GACE,MAAK;GACL,WAAW;GACX,UAAU,CAAC,WAAW,IAAI,KAAA;GACpB;GACN,WAAW,UAAU;GACrB,iBAAiB;GACjB,aAAa,EAAE,UAAU,KAAK;GACrB;GACT,GAAI;aAEJ,iBAAA,GAAA,kBAAA,KAAA,CAAA,eAAA,eAAA,EAAA,UAAA;IACG,iBACE,SAAS,iBAAA,GAAA,kBAAA,IAAA,CAAC,eAAD,EAAA,UAAgB,OAAsB,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AAmB,wBAAwB;CAEnD,OAAOV,cAAAA,WAAW,gBAAgB,KAAK,CAAC,CAAC;AAC3C,CAAC;AAID,MAAa,0BAA0B,YAGrC,OAAO;CACP,MAAM;CACN,MAAM,CAAC,eAAe,OAAO;AAC/B,CAAC,CAAC,CAAC,KAAA,IAAY,UAAU;CACvB,MAAM,EAAE,sBAAsB,wBAAwB;CAEtD,OAAOA,cAAAA,WAAW,mBAAmB,KAAK,CAAC,CAAC;AAC9C,CAAC;AAID,MAAa,wBAAwB,YAGnC,OAAO;CACP,MAAM;CACN,MAAM,CAAC,eAAe,KAAK;AAC7B,CAAC,CAAC,CAAC,KAAA,IAAY,UAAU;CACvB,MAAM,EAAE,oBAAoB,wBAAwB;CAEpD,OAAOA,cAAAA,WAAW,iBAAiB,KAAK,CAAC,CAAC;AAC5C,CAAC;AAID,MAAa,mBAAmB,YAC9B,QACA,WACF,CAAC,CAAC,KAAA,IAAY,UAAU;CACtB,MAAM,EAAE,eAAe,wBAAwB;CAE/C,OAAOA,cAAAA,WAAW,YAAY,KAAK,CAAC,CAAC;AACvC,CAAC"}
1
+ {"version":3,"file":"sidebar.cjs","names":["createContext","createSlotComponent","sidebarStyle","useBreakpointValue","useValue","useSidebar","SidebarDescendantsContext","SidebarContext","styled","useSidebarContext","useSplitChildren","mergeProps","useSidebarGroup","useIncludesChildren","useValidChildren","useLoadingComponent","useSidebarItem","SidebarItemContext","Tooltip","Collapse","ChevronRightIcon","Children"],"sources":["../../../../src/components/sidebar/sidebar.tsx"],"sourcesContent":["\"use client\"\n\nimport type { FC, PropsWithChildren, ReactNode } from \"react\"\nimport type {\n Breakpoint,\n ExtractStyleValue,\n HTMLProps,\n HTMLStyledProps,\n ThemeProps,\n} from \"../../core\"\nimport type { ReactNodeOrFunction } from \"../../utils\"\nimport type { CollapseProps } from \"../collapse\"\nimport type { Loading } from \"../loading\"\nimport type { WithTransitionProps } from \"../motion\"\nimport type {\n UseSidebarGroupProps,\n UseSidebarGroupReturn,\n UseSidebarItemProps,\n UseSidebarItemReturn,\n UseSidebarProps,\n UseSidebarReturn,\n} from \"./use-sidebar\"\nimport {\n Children,\n cloneElement,\n isValidElement,\n useCallback,\n useMemo,\n} from \"react\"\nimport { createSlotComponent, mergeProps, styled } from \"../../core\"\nimport { useBreakpointValue } from \"../../hooks/use-breakpoint\"\nimport { useValue } from \"../../hooks/use-value\"\nimport {\n cast,\n createContext,\n dataAttr,\n isObject,\n isString,\n runIfFn,\n useIncludesChildren,\n useSplitChildren,\n useValidChildren,\n} from \"../../utils\"\nimport { Collapse } from \"../collapse\"\nimport { Drawer } from \"../drawer\"\nimport { ChevronRightIcon } from \"../icon\"\nimport { useLoadingComponent } from \"../loading\"\nimport { Tooltip, type TooltipProps } from \"../tooltip\"\nimport { sidebarStyle, type SidebarStyle } from \"./sidebar.style\"\nimport {\n SidebarContext,\n SidebarDescendantsContext,\n SidebarItemContext,\n useSidebar,\n useSidebarContext,\n useSidebarGroup,\n useSidebarItem,\n} from \"./use-sidebar\"\n\ninterface SidebarItemCallBackProps {\n disabled?: boolean\n expanded?: boolean\n}\n\ntype SidebarItemReactNode =\n | ReactNodeOrFunction<SidebarItemCallBackProps>\n | {\n group: ReactNodeOrFunction<SidebarItemCallBackProps>\n item?: ReactNodeOrFunction<SidebarItemCallBackProps>\n }\n | {\n item: ReactNodeOrFunction<SidebarItemCallBackProps>\n group?: ReactNodeOrFunction<SidebarItemCallBackProps>\n }\n\ninterface SidebarItemSharedRenderProps\n extends\n Pick<SidebarItemProps, \"label\">,\n Pick<\n UseSidebarItemReturn,\n | \"expanded\"\n | \"expandedValue\"\n | \"onExpandedChange\"\n | \"onSelectedChange\"\n | \"selected\"\n | \"selectedValue\"\n | \"value\"\n > {\n itemProps: HTMLStyledProps<\"li\">\n linkProps: HTMLStyledProps<\"a\">\n triggerProps: HTMLStyledProps<\"button\">\n endElement?: ReactNode\n startElement?: ReactNode\n}\n\ninterface SidebarItemRenderProps\n extends\n PropsWithChildren,\n Omit<SidebarItemSharedRenderProps, \"endElement\" | \"startElement\">,\n Pick<\n UseSidebarItemReturn,\n | \"group\"\n | \"groupLoading\"\n | \"groupOpen\"\n | \"onGroupClose\"\n | \"onGroupOpen\"\n | \"onGroupToggle\"\n > {\n endElement: { group?: ReactNode; item?: ReactNode }\n startElement: { group?: ReactNode; item?: ReactNode }\n indicator?: ReactNode\n link?: ReactNode\n trigger?: ReactNode\n}\n\ninterface SidebarItemLinkRenderProps extends Omit<\n SidebarItemSharedRenderProps,\n \"itemProps\" | \"triggerProps\"\n> {}\n\ninterface SidebarItemTriggerRenderProps\n extends\n Omit<SidebarItemSharedRenderProps, \"itemProps\" | \"linkProps\">,\n Pick<\n UseSidebarItemReturn,\n | \"groupLoading\"\n | \"groupOpen\"\n | \"onGroupClose\"\n | \"onGroupOpen\"\n | \"onGroupToggle\"\n > {\n indicator?: ReactNode\n}\n\ninterface SidebarItemRender {\n item?: ReactNodeOrFunction<SidebarItemRenderProps>\n link?: ReactNodeOrFunction<SidebarItemLinkRenderProps>\n trigger?: ReactNodeOrFunction<SidebarItemTriggerRenderProps>\n}\n\ninterface SidebarGroup extends Omit<SidebarGroupProps, \"children\" | \"value\"> {\n children: SidebarItemWithValue[]\n group: true\n}\n\nexport interface SidebarItemWithValue extends Omit<\n SidebarItemProps,\n \"children\"\n> {\n children?: SidebarItemWithValue[]\n}\n\nexport type SidebarItem = SidebarGroup | SidebarItemWithValue\n\nconst createKey = (props: SidebarItem, index: number) => {\n return \"value\" in props ? props.value || index : index\n}\n\nconst getReactNodeOrFunction = (\n type: \"group\" | \"item\",\n custom?: SidebarItemReactNode,\n root?: SidebarItemReactNode,\n): ReactNodeOrFunction<SidebarItemCallBackProps> => {\n if (isObject(custom) && (\"group\" in custom || \"item\" in custom))\n return custom[type]\n else if (custom) return custom\n else if (isObject(root) && (\"group\" in root || \"item\" in root))\n return root[type]\n else return root\n}\n\ninterface ComponentContext extends Pick<\n UseSidebarReturn,\n | \"getContentProps\"\n | \"getFooterProps\"\n | \"getHeaderProps\"\n | \"getSidePanelProps\"\n | \"getTriggerProps\"\n> {\n breakpoint: ExtractStyleValue<NonNullable<SidebarRootProps[\"breakpoint\"]>>\n mode: ExtractStyleValue<NonNullable<SidebarRootProps[\"mode\"]>>\n placement: ExtractStyleValue<NonNullable<SidebarRootProps[\"placement\"]>>\n}\n\ninterface GroupComponentContext\n extends\n Pick<SidebarGroupProps, \"contentProps\" | \"labelProps\">,\n Pick<UseSidebarGroupReturn, \"getContentProps\" | \"getLabelProps\"> {}\n\nconst [GroupComponentContext, useGroupComponentContext] =\n createContext<GroupComponentContext>({ name: \"GroupComponentContext\" })\n\ninterface ItemComponentContext {\n contentProps: SidebarItemContentProps\n endElementProps: SidebarItemEndElementProps\n indicatorProps: SidebarItemIndicatorProps\n labelProps: SidebarItemLabelProps\n startElementProps: SidebarItemStartElementProps\n tooltipProps: SidebarItemTooltipProps\n}\n\nconst [ItemComponentContext, useItemComponentContext] =\n createContext<ItemComponentContext>({ name: \"ItemComponentContext\" })\n\ninterface SidePanelComponentContext extends Pick<\n SidebarSidePanelProps,\n | \"animated\"\n | \"contentProps\"\n | \"endElement\"\n | \"endElementProps\"\n | \"footerProps\"\n | \"groupContentProps\"\n | \"groupProps\"\n | \"handleProps\"\n | \"headerProps\"\n | \"indicator\"\n | \"indicatorHidden\"\n | \"indicatorProps\"\n | \"itemContentProps\"\n | \"itemProps\"\n | \"items\"\n | \"labelProps\"\n | \"linkProps\"\n | \"loadingScheme\"\n | \"menuProps\"\n | \"render\"\n | \"startElement\"\n | \"startElementProps\"\n | \"tooltipProps\"\n | \"triggerProps\"\n> {}\n\nconst [SidePanelComponentContext, useSidePanelComponentContext] =\n createContext<SidePanelComponentContext>({\n name: \"SidePanelComponentContext\",\n })\n\nexport interface SidebarRootProps\n extends\n HTMLStyledProps<\"div\">,\n ThemeProps<SidebarStyle>,\n Omit<UseSidebarProps, \"mobile\"> {\n /**\n * The breakpoint to use for the sidebar. If `false`, the sidebar will be always visible.\n *\n * @default 'md'\n */\n breakpoint?: Exclude<Breakpoint, \"base\"> | false\n}\n\nconst {\n ComponentContext,\n PropsContext: SidebarPropsContext,\n useComponentContext,\n usePropsContext: useSidebarPropsContext,\n withContext,\n withProvider,\n} = createSlotComponent<SidebarRootProps, SidebarStyle, ComponentContext>(\n \"sidebar\",\n sidebarStyle,\n)\n\nexport { SidebarPropsContext, useSidebarPropsContext }\n\n/**\n * `Sidebar` is a component that is used to display a list of items in a sidebar.\n *\n * @see https://yamada-ui.com/docs/components/sidebar\n */\nexport const SidebarRoot = withProvider<\n \"div\",\n SidebarRootProps,\n \"mode\" | \"placement\"\n>(\n ({\n breakpoint = \"md\",\n mode: modeProp = \"offcanvas\",\n placement: placementProp = \"start\",\n ...rest\n }) => {\n const mobile =\n useBreakpointValue<boolean | undefined>(\n breakpoint ? { [breakpoint]: true } : { base: false },\n ) ?? false\n const mode = useValue(modeProp)\n const placement = useValue(placementProp)\n const {\n descendants,\n expandedValue,\n open,\n selectedValue,\n getContentProps,\n getFooterProps,\n getHeaderProps,\n getRootProps,\n getSidePanelProps,\n getTriggerProps,\n onClose,\n onExpandedChange,\n onOpen,\n onSelectedChange,\n onToggle,\n } = useSidebar({ mobile, ...rest })\n const context = useMemo(\n () => ({\n expandedValue,\n mobile,\n open,\n selectedValue,\n onClose,\n onExpandedChange,\n onOpen,\n onSelectedChange,\n onToggle,\n }),\n [\n mobile,\n expandedValue,\n open,\n selectedValue,\n onClose,\n onExpandedChange,\n onOpen,\n onSelectedChange,\n onToggle,\n ],\n )\n const componentContext = useMemo(\n () => ({\n breakpoint,\n mode,\n placement,\n getContentProps,\n getFooterProps,\n getHeaderProps,\n getSidePanelProps,\n getTriggerProps,\n }),\n [\n breakpoint,\n mode,\n placement,\n getContentProps,\n getFooterProps,\n getHeaderProps,\n getSidePanelProps,\n getTriggerProps,\n ],\n )\n\n return (\n <SidebarDescendantsContext value={descendants}>\n <SidebarContext value={context}>\n <ComponentContext value={componentContext}>\n <styled.div data-group {...getRootProps()} />\n </ComponentContext>\n </SidebarContext>\n </SidebarDescendantsContext>\n )\n },\n \"root\",\n { transferProps: [\"mode\", \"placement\"] },\n)()\n\nexport interface SidebarMainPanelProps extends HTMLStyledProps {}\n\nexport const SidebarMainPanel = withContext<\"div\", SidebarMainPanelProps>(\n \"div\",\n \"mainPanel\",\n)()\n\nexport interface SidebarTriggerProps extends HTMLStyledProps<\"button\"> {}\n\nexport const SidebarTrigger = withContext<\"button\", SidebarTriggerProps>(\n \"button\",\n \"trigger\",\n)(undefined, (props) => {\n const { getTriggerProps } = useComponentContext()\n\n return { asChild: true, ...getTriggerProps(props) }\n})\n\nexport interface SidebarSidePanelProps\n extends\n Omit<HTMLStyledProps<\"aside\">, \"content\">,\n Pick<SidebarContentProps, \"items\">,\n Pick<\n SidebarItemProps,\n | \"animated\"\n | \"endElement\"\n | \"endElementProps\"\n | \"indicator\"\n | \"indicatorProps\"\n | \"labelProps\"\n | \"linkProps\"\n | \"loadingScheme\"\n | \"render\"\n | \"startElement\"\n | \"startElementProps\"\n | \"tooltipProps\"\n | \"triggerProps\"\n > {\n /**\n * The content of the sidebar.\n */\n content?: ReactNode\n /**\n * The footer of the sidebar.\n */\n footer?: ReactNode\n /**\n * The header of the sidebar.\n */\n header?: ReactNode\n /**\n * If `true`, hide the tree indicator icon for all items.\n *\n * @default false\n */\n indicatorHidden?: boolean\n /**\n * If `true`, the sidebar will be rendered with a handle.\n *\n * @default true\n */\n withHandle?: boolean\n /**\n * Props for the content component.\n */\n contentProps?: SidebarContentProps\n /**\n * Props for the drawer component.\n */\n drawerProps?: Omit<\n Drawer.RootProps,\n | \"body\"\n | \"cancel\"\n | \"children\"\n | \"footer\"\n | \"header\"\n | \"middle\"\n | \"onCancel\"\n | \"onClose\"\n | \"onMiddle\"\n | \"onOpen\"\n | \"onSuccess\"\n | \"open\"\n | \"success\"\n | \"title\"\n | \"trigger\"\n >\n /**\n * Props for the footer component.\n */\n footerProps?: SidebarFooterProps\n /**\n * Props for the group content component.\n */\n groupContentProps?: Omit<SidebarGroupContentProps, \"children\">\n /**\n * Props for the group component.\n */\n groupProps?: Omit<SidebarGroupProps, \"children\" | \"label\" | \"value\">\n /**\n * Props for the handle component.\n */\n handleProps?: SidebarHandleProps\n /**\n * Props for the header component.\n */\n headerProps?: SidebarHeaderProps\n /**\n * Props for the item content component.\n */\n itemContentProps?: SidebarItemContentProps\n /**\n * Props for the item component.\n */\n itemProps?: Omit<\n SidebarItemProps,\n \"children\" | \"items\" | \"label\" | \"open\" | \"value\"\n >\n /**\n * Props for the menu component.\n *\n * @default 'md'\n */\n menuProps?: SidebarMenuProps\n}\n\nexport const SidebarSidePanel = withContext<\"aside\", SidebarSidePanelProps>(\n ({\n animated = true,\n children,\n content,\n endElement,\n footer,\n header,\n indicator,\n indicatorHidden,\n items,\n loadingScheme,\n render,\n startElement,\n withHandle = true,\n contentProps,\n drawerProps,\n endElementProps,\n footerProps,\n groupContentProps,\n groupProps,\n handleProps,\n headerProps,\n indicatorProps,\n itemContentProps,\n itemProps,\n labelProps,\n linkProps,\n menuProps,\n startElementProps,\n tooltipProps,\n triggerProps,\n ...rest\n }) => {\n const { mobile, open, onClose } = useSidebarContext()\n const { breakpoint, placement, getSidePanelProps } = useComponentContext()\n const [\n omittedChildren,\n customHeader,\n customContent,\n customFooter,\n customHandle,\n ] = useSplitChildren(\n children,\n SidebarHeader,\n SidebarContent,\n SidebarFooter,\n SidebarHandle,\n )\n const context = useMemo(\n () => ({\n animated,\n endElement,\n indicator,\n indicatorHidden,\n items,\n loadingScheme,\n render,\n startElement,\n contentProps,\n endElementProps,\n footerProps,\n groupContentProps,\n groupProps,\n handleProps,\n headerProps,\n indicatorProps,\n itemContentProps,\n itemProps,\n labelProps,\n linkProps,\n menuProps,\n startElementProps,\n tooltipProps,\n triggerProps,\n }),\n [\n animated,\n endElement,\n indicator,\n indicatorHidden,\n items,\n render,\n loadingScheme,\n startElement,\n contentProps,\n endElementProps,\n footerProps,\n groupContentProps,\n groupProps,\n handleProps,\n headerProps,\n indicatorProps,\n itemContentProps,\n itemProps,\n labelProps,\n linkProps,\n menuProps,\n startElementProps,\n tooltipProps,\n triggerProps,\n ],\n )\n\n return (\n <SidePanelComponentContext value={context}>\n {mobile ? (\n <Drawer.Root\n size=\"sm\"\n autoFocus={false}\n duration={!animated ? 0 : undefined}\n open={open}\n placement={`inline-${placement}`}\n withCloseButton={false}\n portalProps={{ disabled: true }}\n onClose={onClose}\n {...drawerProps}\n >\n <Drawer.Content>\n {customHeader ??\n (header ? <SidebarHeader>{header}</SidebarHeader> : null)}\n\n {customContent ??\n (content || items ? (\n <SidebarContent>{content}</SidebarContent>\n ) : null)}\n\n {customFooter ??\n (footer ? <SidebarFooter>{footer}</SidebarFooter> : null)}\n </Drawer.Content>\n </Drawer.Root>\n ) : (\n <>\n <SidebarGap\n data-animated={dataAttr(animated)}\n display={\n breakpoint\n ? { base: undefined, [breakpoint]: \"none\" }\n : undefined\n }\n />\n\n <styled.aside\n data-animated={dataAttr(animated)}\n data-group\n display={\n breakpoint\n ? { base: undefined, [breakpoint]: \"none\" }\n : undefined\n }\n {...getSidePanelProps(rest)}\n >\n {customHeader ??\n (header ? <SidebarHeader>{header}</SidebarHeader> : null)}\n {customContent ??\n (content || items ? (\n <SidebarContent>{content}</SidebarContent>\n ) : null)}\n {customFooter ??\n (footer ? <SidebarFooter>{footer}</SidebarFooter> : null)}\n {customHandle ?? (withHandle ? <SidebarHandle /> : null)}\n\n {omittedChildren}\n </styled.aside>\n </>\n )}\n </SidePanelComponentContext>\n )\n },\n \"sidePanel\",\n)()\n\ninterface SidebarGapProps extends HTMLStyledProps<\"div\"> {}\n\nconst SidebarGap = withContext<\"div\", SidebarGapProps>(\"div\", \"gap\")()\n\nexport interface SidebarHeaderProps extends HTMLStyledProps<\"header\"> {}\n\nexport const SidebarHeader = withContext<\"header\", SidebarHeaderProps>(\n \"header\",\n \"header\",\n)(undefined, (props) => {\n const { getHeaderProps } = useComponentContext()\n const { headerProps } = useSidePanelComponentContext()\n\n return getHeaderProps(mergeProps(headerProps, props)())\n})\n\nexport interface SidebarFooterProps extends HTMLStyledProps<\"footer\"> {}\n\nexport const SidebarFooter = withContext<\"footer\", SidebarFooterProps>(\n \"footer\",\n \"footer\",\n)(undefined, (props) => {\n const { getFooterProps } = useComponentContext()\n const { footerProps } = useSidePanelComponentContext()\n\n return getFooterProps(mergeProps(footerProps, props)())\n})\n\nexport interface SidebarContentProps extends HTMLStyledProps<\"ul\"> {\n /**\n * If provided, generate elements based on items.\n */\n items?: SidebarItem[]\n}\n\nexport const SidebarContent = withContext<\"ul\", SidebarContentProps>(\n ({ children, items, ...rest }) => {\n const { getContentProps } = useComponentContext()\n const { items: rootItems, contentProps } = useSidePanelComponentContext()\n const computedChildren = useMemo(() => {\n if (children) return children\n\n return (items ?? rootItems)?.map((props, index) => {\n const key = createKey(props, index)\n\n if (\"group\" in props) {\n const { children, group: _, ...rest } = props\n\n return <SidebarGroup key={key} items={children} {...rest} />\n } else {\n const { children, ...rest } = props\n\n return <SidebarItem key={key} items={children} {...rest} />\n }\n })\n }, [children, items, rootItems])\n\n return (\n <styled.ul {...getContentProps(mergeProps(contentProps, rest)())}>\n {computedChildren}\n </styled.ul>\n )\n },\n \"content\",\n)()\n\nexport interface SidebarHandleProps extends HTMLStyledProps<\"button\"> {}\n\nexport const SidebarHandle = withContext<\"button\", SidebarHandleProps>(\n (props) => {\n const { handleProps } = useSidePanelComponentContext()\n\n return (\n <SidebarTrigger {...mergeProps(handleProps, props)()}>\n <styled.button tabIndex={-1} />\n </SidebarTrigger>\n )\n },\n \"handle\",\n)()\n\nexport interface SidebarGroupProps\n extends\n Omit<HTMLStyledProps<\"li\">, \"content\" | \"value\">,\n UseSidebarGroupProps {\n /**\n * If provided, generate elements based on items.\n */\n items?: SidebarItemWithValue[]\n /**\n * The label of the group.\n */\n label?: ReactNode\n /**\n * Props for the content component.\n */\n contentProps?: Omit<SidebarGroupContentProps, \"children\">\n /**\n * Props for the label component.\n */\n labelProps?: HTMLStyledProps<\"span\">\n}\n\nexport const SidebarGroup = withContext<\"li\", SidebarGroupProps>(\n ({\n children,\n items,\n label,\n value: valueProp = isString(label) ? label : undefined,\n contentProps,\n labelProps,\n ...rest\n }) => {\n const { groupProps } = useSidePanelComponentContext()\n const computedChildren = useMemo(() => {\n if (children) return children\n\n return items?.map(({ children, ...rest }, index) => {\n const key = createKey(rest, index)\n\n return <SidebarItem key={key} items={children} {...rest} />\n })\n }, [children, items])\n const [omittedChildren, customLabel, customContent] = useSplitChildren(\n computedChildren,\n SidebarGroupLabel,\n SidebarGroupContent,\n )\n const { getContentProps, getLabelProps, getRootProps } = useSidebarGroup({\n ...mergeProps(groupProps, rest)(),\n value: valueProp,\n })\n const context = useMemo(\n () => ({ contentProps, getContentProps, getLabelProps, labelProps }),\n [getLabelProps, labelProps, getContentProps, contentProps],\n )\n\n return (\n <GroupComponentContext value={context}>\n <styled.li {...getRootProps()}>\n {customLabel ??\n (label ? <SidebarGroupLabel>{label}</SidebarGroupLabel> : null)}\n {customContent ?? (\n <SidebarGroupContent>{omittedChildren}</SidebarGroupContent>\n )}\n </styled.li>\n </GroupComponentContext>\n )\n },\n \"group\",\n)()\n\nexport interface SidebarGroupLabelProps extends HTMLStyledProps<\"span\"> {}\n\nexport const SidebarGroupLabel = withContext<\"span\", SidebarGroupLabelProps>(\n \"span\",\n \"groupLabel\",\n)(undefined, (props) => {\n const { getLabelProps, labelProps } = useGroupComponentContext()\n\n return getLabelProps(mergeProps(labelProps, props)())\n})\n\nexport interface SidebarGroupContentProps extends HTMLStyledProps<\"div\"> {}\n\nexport const SidebarGroupContent = withContext<\"div\", SidebarGroupContentProps>(\n \"div\",\n \"groupContent\",\n)(undefined, ({ children, ...rest }) => {\n const validChildren = useValidChildren(children)\n const list = useIncludesChildren(validChildren, SidebarItem)\n const { groupContentProps } = useSidePanelComponentContext()\n const { contentProps, getContentProps } = useGroupComponentContext()\n\n return {\n as: list ? \"ul\" : \"div\",\n children,\n ...getContentProps(mergeProps(groupContentProps, contentProps, rest)()),\n }\n})\n\nexport interface SidebarMenuProps extends HTMLStyledProps<\"div\"> {}\n\nexport const SidebarMenu = withContext<\"div\", SidebarMenuProps>(\"div\", \"menu\")(\n undefined,\n (props) => {\n const { menuProps } = useSidePanelComponentContext()\n\n return { \"data-menu\": \"\", ...mergeProps(menuProps, props)() }\n },\n)\n\nexport interface SidebarMenuButtonProps extends HTMLStyledProps<\"button\"> {}\n\nexport const SidebarMenuButton = withContext<\"button\", SidebarMenuButtonProps>(\n \"button\",\n [\"menu\", \"button\"],\n)(undefined, (props) => {\n const { open } = useSidebarContext()\n const { mode } = useComponentContext()\n const { menuProps } = useSidePanelComponentContext()\n const offcanvas = mode === \"offcanvas\"\n const { disabled, ...rest } = mergeProps(menuProps, props)()\n\n return {\n \"data-menu\": \"\",\n disabled,\n ...rest,\n tabIndex: (!offcanvas || open) && !disabled ? 0 : -1,\n }\n})\n\nexport interface SidebarItemProps\n extends\n Omit<HTMLStyledProps<\"li\">, \"value\">,\n Omit<UseSidebarItemProps, \"asyncChildren\"> {\n /**\n * The label to display in the item.\n */\n label: ReactNode\n /**\n * If `true`, the sidebar item will be animated.\n *\n * @default true\n */\n animated?: boolean\n /**\n * The element to display at the end of the item.\n */\n endElement?: SidebarItemReactNode\n /**\n * The sidebar item indicator icon to use.\n */\n indicator?: ReactNodeOrFunction<SidebarItemCallBackProps>\n /**\n * If provided, generate elements based on items.\n */\n items?: SidebarItemWithValue[]\n /**\n * The loading scheme.\n *\n * @default 'oval'\n */\n loadingScheme?: Loading.Scheme\n /**\n * If provided, the sidebar item will be rendered with custom components.\n */\n render?: SidebarItemRender\n /**\n * The element to display at the start of the item.\n */\n startElement?: SidebarItemReactNode\n /**\n * Props for the content component.\n */\n contentProps?: Omit<SidebarItemContentProps, \"children\">\n /**\n * Props for the end component.\n */\n endElementProps?: SidebarItemEndElementProps\n /**\n * Props for the indicator component.\n */\n indicatorProps?: SidebarItemIndicatorProps\n /**\n * Props for the label component.\n */\n labelProps?: SidebarItemLabelProps\n /**\n * Props for the link component.\n */\n linkProps?: SidebarItemLinkProps\n /**\n * Props for the start component.\n */\n startElementProps?: SidebarItemStartElementProps\n /**\n * Props for the tooltip component.\n */\n tooltipProps?: Omit<SidebarItemTooltipProps, \"children\" | \"content\">\n /**\n * Props for the trigger component.\n */\n triggerProps?: SidebarItemTriggerProps\n /**\n * If provided, the sidebar item will be rendered as an async sidebar item.\n */\n asyncChildren?: () => Promise<SidebarItemWithValue[]>\n}\n\nexport const SidebarItem = withContext<\"li\", SidebarItemProps>(\n ({\n animated: animatedProp,\n asyncChildren: asyncChildrenProp,\n children: childrenProp,\n endElement,\n indicator: indicatorProp,\n items,\n label,\n loadingScheme,\n render,\n startElement,\n contentProps,\n endElementProps,\n indicatorProps,\n labelProps,\n linkProps,\n startElementProps,\n tooltipProps,\n triggerProps,\n ...rest\n }) => {\n const { mode } = useComponentContext()\n const offcanvas = mode === \"offcanvas\"\n const componentContext = useSidePanelComponentContext()\n const Loading = useLoadingComponent(\n loadingScheme ?? componentContext.loadingScheme ?? \"oval\",\n )\n const computedChildren = useMemo(() => {\n if (childrenProp) return childrenProp\n\n return items?.map(({ children, ...rest }, index) => {\n const key = createKey(rest, index)\n\n return <SidebarItem key={key} items={children} {...rest} />\n })\n }, [childrenProp, items])\n const asyncChildren = useCallback(async () => {\n const items = await asyncChildrenProp?.()\n\n return items?.map(({ children, ...rest }, index) => {\n const key = createKey(rest, index)\n\n return <SidebarItem key={key} items={children} {...rest} />\n })\n }, [asyncChildrenProp])\n const {\n branchOpen,\n children,\n disabled,\n expanded,\n expandedValue,\n group,\n groupLoading,\n groupOpen,\n open,\n selected,\n selectedValue,\n value,\n getContentProps,\n getIndicatorProps,\n getItemProps,\n getLabelProps,\n getLinkProps,\n getTriggerProps,\n onExpandedChange,\n onGroupClose,\n onGroupOpen,\n onGroupToggle,\n onSelectedChange,\n } = useSidebarItem({\n ...mergeProps(componentContext.itemProps, rest)(),\n asyncChildren: asyncChildrenProp ? asyncChildren : undefined,\n children: computedChildren,\n })\n const animated = animatedProp ?? componentContext.animated ?? true\n const tabIndex = offcanvas\n ? open && expanded && !disabled\n ? 0\n : -1\n : expanded && !disabled\n ? 0\n : -1\n const callbackProps = useMemo(\n () => ({ disabled, expanded: groupOpen }),\n [disabled, groupOpen],\n )\n const mergedTriggerProps = useMemo(() => {\n return getTriggerProps({\n tabIndex,\n ...mergeProps(componentContext.triggerProps, triggerProps)(),\n }) as SidebarItemTriggerProps\n }, [getTriggerProps, tabIndex, componentContext.triggerProps, triggerProps])\n const mergedLinkProps = useMemo(() => {\n return getLinkProps({\n tabIndex,\n ...mergeProps(componentContext.linkProps, linkProps)(),\n }) as SidebarItemLinkProps\n }, [getLinkProps, tabIndex, componentContext.linkProps, linkProps])\n const indicator = useMemo<ReactNode>(\n () => runIfFn(indicatorProp ?? componentContext.indicator, callbackProps),\n [indicatorProp, componentContext.indicator, callbackProps],\n )\n const groupStartElement = useMemo<ReactNode>(\n () =>\n runIfFn(\n getReactNodeOrFunction(\n \"group\",\n startElement,\n componentContext.startElement,\n ),\n callbackProps,\n ),\n [startElement, componentContext.startElement, callbackProps],\n )\n const groupEndElement = useMemo<ReactNode>(\n () =>\n runIfFn(\n getReactNodeOrFunction(\n \"group\",\n endElement,\n componentContext.endElement,\n ),\n callbackProps,\n ),\n [endElement, componentContext.endElement, callbackProps],\n )\n const itemStartElement = useMemo<ReactNode>(\n () =>\n runIfFn(\n getReactNodeOrFunction(\n \"item\",\n startElement,\n componentContext.startElement,\n ),\n callbackProps,\n ),\n [startElement, componentContext.startElement, callbackProps],\n )\n const itemEndElement = useMemo<ReactNode>(\n () =>\n runIfFn(\n getReactNodeOrFunction(\n \"item\",\n endElement,\n componentContext.endElement,\n ),\n callbackProps,\n ),\n [endElement, componentContext.endElement, callbackProps],\n )\n const trigger = useMemo<ReactNode>(\n () =>\n runIfFn(render?.trigger ?? componentContext.render?.trigger, {\n endElement: groupEndElement,\n expanded,\n expandedValue,\n groupLoading,\n groupOpen,\n indicator,\n label,\n selected,\n selectedValue,\n startElement: groupStartElement,\n value,\n triggerProps: mergedTriggerProps,\n onExpandedChange,\n onGroupClose,\n onGroupOpen,\n onGroupToggle,\n onSelectedChange,\n }),\n [\n render?.trigger,\n componentContext.render?.trigger,\n groupEndElement,\n expanded,\n expandedValue,\n groupLoading,\n groupOpen,\n indicator,\n label,\n selected,\n selectedValue,\n groupStartElement,\n value,\n mergedTriggerProps,\n onExpandedChange,\n onGroupClose,\n onGroupOpen,\n onGroupToggle,\n onSelectedChange,\n ],\n )\n const link = useMemo<ReactNode>(\n () =>\n runIfFn(render?.link ?? componentContext.render?.link, {\n endElement: itemEndElement,\n expanded,\n expandedValue,\n label,\n selected,\n selectedValue,\n startElement: itemStartElement,\n value,\n linkProps: mergedLinkProps,\n onExpandedChange,\n onSelectedChange,\n }),\n [\n render?.link,\n componentContext.render?.link,\n itemEndElement,\n expanded,\n expandedValue,\n label,\n selected,\n selectedValue,\n itemStartElement,\n value,\n mergedLinkProps,\n onExpandedChange,\n onSelectedChange,\n ],\n )\n const item = useMemo<ReactNode>(\n () =>\n runIfFn(render?.item ?? componentContext.render?.item, {\n children,\n endElement: { group: groupEndElement, item: itemEndElement },\n expanded,\n expandedValue,\n group,\n groupLoading,\n groupOpen,\n indicator,\n label,\n link,\n selected,\n selectedValue,\n startElement: { group: groupStartElement, item: itemStartElement },\n trigger,\n value,\n itemProps: getItemProps() as HTMLStyledProps<\"li\">,\n linkProps: mergedLinkProps,\n triggerProps: mergedTriggerProps,\n onExpandedChange,\n onGroupClose,\n onGroupOpen,\n onGroupToggle,\n onSelectedChange,\n }),\n [\n render?.item,\n componentContext.render?.item,\n children,\n groupEndElement,\n itemEndElement,\n expanded,\n expandedValue,\n group,\n groupLoading,\n groupOpen,\n indicator,\n label,\n link,\n selected,\n selectedValue,\n groupStartElement,\n itemStartElement,\n trigger,\n value,\n getItemProps,\n mergedLinkProps,\n mergedTriggerProps,\n onExpandedChange,\n onGroupClose,\n onGroupOpen,\n onGroupToggle,\n onSelectedChange,\n ],\n )\n const context = useMemo(\n () => ({ branchOpen, groupOpen }),\n [branchOpen, groupOpen],\n )\n const itemComponentContext = useMemo(\n () => ({\n contentProps: {\n duration: !animated ? 0 : undefined,\n open: groupOpen,\n ...getContentProps(\n mergeProps(componentContext.itemContentProps, contentProps)(),\n ),\n },\n endElementProps: mergeProps(\n componentContext.endElementProps,\n endElementProps,\n )(),\n indicatorProps: getIndicatorProps({\n \"data-animated\": dataAttr(animated),\n ...mergeProps(componentContext.indicatorProps, indicatorProps)(),\n }) as SidebarItemIndicatorProps,\n labelProps: getLabelProps(\n mergeProps(componentContext.labelProps, labelProps)(),\n ) as SidebarItemLabelProps,\n startElementProps: mergeProps(\n componentContext.startElementProps,\n startElementProps,\n )(),\n tooltipProps: {\n content: label,\n disabled: open,\n ...mergeProps(componentContext.tooltipProps, tooltipProps)(),\n },\n }),\n [\n animated,\n componentContext.endElementProps,\n componentContext.indicatorProps,\n componentContext.itemContentProps,\n componentContext.labelProps,\n componentContext.startElementProps,\n componentContext.tooltipProps,\n contentProps,\n endElementProps,\n getContentProps,\n getIndicatorProps,\n getLabelProps,\n groupOpen,\n indicatorProps,\n label,\n labelProps,\n open,\n startElementProps,\n tooltipProps,\n ],\n )\n\n return (\n <SidebarItemContext value={context}>\n <ItemComponentContext value={itemComponentContext}>\n {item ?? (\n <styled.li {...getItemProps()}>\n {group ? (\n <>\n {trigger ?? (\n <SidebarItemTrigger {...mergedTriggerProps}>\n {groupStartElement ? (\n <SidebarItemStartElement>\n {groupStartElement}\n </SidebarItemStartElement>\n ) : null}\n {label ? (\n <SidebarItemLabel>{label}</SidebarItemLabel>\n ) : null}\n {groupEndElement ? (\n <SidebarItemEndElement>\n {groupEndElement}\n </SidebarItemEndElement>\n ) : null}\n <SidebarItemIndicator>\n {groupLoading ? (\n <Loading />\n ) : (\n runIfFn(indicator, callbackProps)\n )}\n </SidebarItemIndicator>\n </SidebarItemTrigger>\n )}\n\n <SidebarItemContent>{children}</SidebarItemContent>\n </>\n ) : (\n (link ?? (\n <SidebarItemLink {...mergedLinkProps}>\n {itemStartElement ? (\n <SidebarItemStartElement>\n {itemStartElement}\n </SidebarItemStartElement>\n ) : null}\n {label ? (\n <SidebarItemLabel>{label}</SidebarItemLabel>\n ) : null}\n {itemEndElement ? (\n <SidebarItemEndElement>\n {itemEndElement}\n </SidebarItemEndElement>\n ) : null}\n </SidebarItemLink>\n ))\n )}\n </styled.li>\n )}\n </ItemComponentContext>\n </SidebarItemContext>\n )\n },\n \"item\",\n)()\n\ninterface SidebarItemTooltipProps extends TooltipProps {}\n\nconst SidebarItemTooltip: FC<SidebarItemTooltipProps> = (props) => {\n const { tooltipProps } = useItemComponentContext()\n const { children, disabled, ...rest } = mergeProps(tooltipProps, props)()\n const { mode, placement } = useComponentContext()\n const offcanvas = mode === \"offcanvas\"\n\n if (offcanvas || disabled) return children\n else\n return (\n <Tooltip\n closeOnClick={false}\n gutter={16}\n placement={`center-${placement === \"start\" ? \"end\" : \"start\"}`}\n {...rest}\n >\n {children}\n </Tooltip>\n )\n}\n\nexport interface SidebarItemTriggerProps extends HTMLStyledProps<\"button\"> {}\n\nexport const SidebarItemTrigger = withContext<\n \"button\",\n SidebarItemTriggerProps\n>((props) => {\n return (\n <SidebarItemTooltip>\n <styled.button {...props} />\n </SidebarItemTooltip>\n )\n}, \"itemTrigger\")()\n\nexport interface SidebarItemLinkProps extends HTMLStyledProps<\"a\"> {}\n\nexport const SidebarItemLink = withContext<\"a\", SidebarItemLinkProps>(\n (props) => {\n return (\n <SidebarItemTooltip>\n <styled.a {...props} />\n </SidebarItemTooltip>\n )\n },\n \"itemLink\",\n)()\n\nexport interface SidebarItemContentProps\n extends\n Omit<HTMLStyledProps<\"ul\">, \"transition\">,\n Pick<CollapseProps, \"animationOpacity\" | keyof WithTransitionProps> {}\n\nexport const SidebarItemContent = withContext<\"ul\", SidebarItemContentProps>(\n (props) => {\n const { contentProps } = useItemComponentContext()\n\n return (\n <Collapse\n as=\"ul\"\n {...cast<CollapseProps>(mergeProps(contentProps, props)())}\n />\n )\n },\n \"itemContent\",\n)()\n\nexport interface SidebarItemIndicatorProps extends HTMLStyledProps<\"svg\"> {}\n\nexport const SidebarItemIndicator = withContext<\n \"svg\",\n SidebarItemIndicatorProps\n>(({ children = <ChevronRightIcon />, ...rest }) => {\n const { indicatorHidden } = useSidePanelComponentContext()\n\n if (indicatorHidden) return null\n\n if (isValidElement<HTMLProps<\"svg\">>(children))\n return cloneElement(children, { ...rest, ...children.props })\n\n return Children.count(children) > 1 ? Children.only(null) : null\n}, \"itemIndicator\")(undefined, (props) => {\n const { indicatorProps } = useItemComponentContext()\n\n return mergeProps(indicatorProps, props)()\n})\n\nexport interface SidebarItemStartElementProps extends HTMLStyledProps {}\n\nexport const SidebarItemStartElement = withContext<\n \"div\",\n SidebarItemStartElementProps\n>(\"div\", {\n name: \"ItemStartElement\",\n slot: [\"itemElement\", \"start\"],\n})(undefined, (props) => {\n const { startElementProps } = useItemComponentContext()\n\n return mergeProps(startElementProps, props)()\n})\n\nexport interface SidebarItemEndElementProps extends HTMLStyledProps {}\n\nexport const SidebarItemEndElement = withContext<\n \"div\",\n SidebarItemEndElementProps\n>(\"div\", {\n name: \"ItemEndElement\",\n slot: [\"itemElement\", \"end\"],\n})(undefined, (props) => {\n const { endElementProps } = useItemComponentContext()\n\n return mergeProps(endElementProps, props)()\n})\n\nexport interface SidebarItemLabelProps extends HTMLStyledProps<\"span\"> {}\n\nexport const SidebarItemLabel = withContext<\"span\", SidebarItemLabelProps>(\n \"span\",\n \"itemLabel\",\n)(undefined, (props) => {\n const { labelProps } = useItemComponentContext()\n\n return mergeProps(labelProps, props)()\n})\n"],"mappings":";;;;;;;;;;;;;;;;;;;AA0JA,MAAM,aAAa,OAAoB,UAAkB;CACvD,OAAO,WAAW,QAAQ,MAAM,SAAS,QAAQ;AACnD;AAEA,MAAM,0BACJ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CAAC;AACvC,CAAC"}
@@ -53,7 +53,8 @@ const useSidebar = ({ controlRef, defaultExpandedValue = [], defaultSelectedValu
53
53
  setSelectedValue(value);
54
54
  }, [setSelectedValue]);
55
55
  const onExpandAll = (0, react.useCallback)(() => {
56
- setExpandedValue(descendants.enabledValues().filter(({ group }) => group).map(({ value }) => value));
56
+ const value = descendants.enabledValues().filter(({ group }) => group).map(({ value }) => value);
57
+ setExpandedValue(value);
57
58
  }, [descendants, setExpandedValue]);
58
59
  const onCollapseAll = (0, react.useCallback)(() => {
59
60
  setExpandedValue([]);
@@ -161,7 +162,8 @@ const useSidebarItem = ({ asyncChildren, children: childrenProp, defaultOpen, di
161
162
  value
162
163
  });
163
164
  const [groupLoading, onGroupChildren] = require_hooks_use_async_callback_index.useAsyncCallback(async () => {
164
- setChildren(await asyncChildren?.());
165
+ const children = await asyncChildren?.();
166
+ setChildren(children);
165
167
  }, [asyncChildren]);
166
168
  const onGroupOpen = (0, react.useCallback)(() => {
167
169
  if (disabled || !group || !value || groupLoading) return;
@@ -1 +1 @@
1
- {"version":3,"file":"use-sidebar.cjs","names":["createDescendants","createContext","useI18n","useDisclosure","useControllableState","mergeProps","useEnvironment","mergeRefs","useIds","Children","useAsyncCallback"],"sources":["../../../../src/components/sidebar/use-sidebar.ts"],"sourcesContent":["\"use client\"\n\nimport type { ReactNode, RefObject } from \"react\"\nimport { Children, useCallback, useId, useRef, useState } from \"react\"\nimport {\n type HTMLProps,\n mergeProps,\n type PropGetter,\n useEnvironment,\n} from \"../../core\"\nimport { useAsyncCallback } from \"../../hooks/use-async-callback\"\nimport { useControllableState } from \"../../hooks/use-controllable-state\"\nimport { createDescendants } from \"../../hooks/use-descendants\"\nimport {\n useDisclosure,\n type UseDisclosureProps,\n} from \"../../hooks/use-disclosure\"\nimport { useWindowEvent } from \"../../hooks/use-window-event\"\nimport { useI18n } from \"../../providers/i18n-provider\"\nimport {\n ariaAttr,\n assignRef,\n createContext,\n cx,\n dataAttr,\n handlerAll,\n mergeRefs,\n setAttribute,\n useIds,\n useSafeLayoutEffect,\n} from \"../../utils\"\n\nexport interface SidebarControl {\n collapse: () => void\n expand: () => void\n}\n\ninterface SidebarDescendantProps {\n expanded: boolean\n group: boolean\n id: string\n value: string\n}\n\nconst {\n DescendantsContext: SidebarDescendantsContext,\n useDescendant: useSidebarDescendant,\n useDescendants: useSidebarDescendants,\n} = createDescendants<HTMLElement, SidebarDescendantProps>()\n\nexport {\n SidebarDescendantsContext,\n useSidebarDescendant,\n useSidebarDescendants,\n}\n\ninterface SidebarContext extends Pick<\n UseSidebarReturn,\n | \"expandedValue\"\n | \"mobile\"\n | \"onClose\"\n | \"onExpandedChange\"\n | \"onOpen\"\n | \"onSelectedChange\"\n | \"onToggle\"\n | \"open\"\n | \"selectedValue\"\n> {}\n\nconst [SidebarContext, useSidebarContext] = createContext<SidebarContext>({\n name: \"SidebarContext\",\n})\n\nexport { SidebarContext, useSidebarContext }\n\ninterface SidebarItemContext extends Pick<\n UseSidebarItemReturn,\n \"branchOpen\" | \"groupOpen\"\n> {}\n\nconst [SidebarItemContext, useSidebarItemContext] =\n createContext<SidebarItemContext>({\n name: \"SidebarItemContext\",\n strict: false,\n })\n\nexport { SidebarItemContext, useSidebarItemContext }\n\nexport interface UseSidebarProps extends HTMLProps<\"div\"> {\n /**\n * Ref of the sidebar callbacks.\n */\n controlRef?: RefObject<null | SidebarControl>\n /**\n * The initial expanded value of the sidebar.\n */\n defaultExpandedValue?: string[]\n /**\n * The initial selected value of the sidebar.\n */\n defaultSelectedValue?: string\n /**\n * The disclosure props for the desktop and mobile.\n */\n disclosure?: {\n desktop?: Omit<UseDisclosureProps, \"timing\">\n mobile?: Omit<UseDisclosureProps, \"timing\">\n }\n /**\n * The expanded value of the sidebar.\n */\n expandedValue?: string[]\n /**\n * If `true`, the trigger click event will be switched to mobile.\n *\n * @default false\n */\n mobile?: boolean\n /**\n * The selected value of the sidebar.\n */\n selectedValue?: string\n /**\n * The callback invoked when expanded value changes.\n */\n onExpandedChange?: (value: string[]) => void\n /**\n * The callback invoked when selected value changes.\n */\n onSelectedChange?: (value: string) => void\n}\n\nexport const useSidebar = ({\n controlRef,\n defaultExpandedValue = [],\n defaultSelectedValue,\n disclosure,\n expandedValue: expandedValueProp,\n mobile = false,\n selectedValue: selectedValueProp,\n onExpandedChange: onExpandedChangeProp,\n onSelectedChange: onSelectedChangeProp,\n ...rest\n}: UseSidebarProps = {}) => {\n const { t } = useI18n(\"sidebar\")\n const desktopDisclosure = useDisclosure({\n defaultOpen: disclosure?.desktop?.defaultOpen ?? true,\n open: disclosure?.desktop?.open,\n onClose: disclosure?.desktop?.onClose,\n onOpen: disclosure?.desktop?.onOpen,\n })\n const mobileDisclosure = useDisclosure({\n defaultOpen: disclosure?.mobile?.defaultOpen ?? false,\n open: disclosure?.mobile?.open,\n onClose: disclosure?.mobile?.onClose,\n onOpen: disclosure?.mobile?.onOpen,\n })\n const [selectedValue, setSelectedValue] = useControllableState({\n defaultValue: defaultSelectedValue,\n value: selectedValueProp,\n onChange: onSelectedChangeProp,\n })\n const [expandedValue, setExpandedValue] = useControllableState({\n defaultValue: defaultExpandedValue,\n value: expandedValueProp,\n onChange: onExpandedChangeProp,\n })\n const descendants = useSidebarDescendants()\n const open = mobile ? mobileDisclosure.open : desktopDisclosure.open\n const onOpen = mobile ? mobileDisclosure.onOpen : desktopDisclosure.onOpen\n const onClose = mobile ? mobileDisclosure.onClose : desktopDisclosure.onClose\n const onToggle = mobile\n ? mobileDisclosure.onToggle\n : desktopDisclosure.onToggle\n\n const onSelectedChange = useCallback(\n (value: string) => {\n setSelectedValue(value)\n },\n [setSelectedValue],\n )\n\n const onExpandAll = useCallback(() => {\n const values = descendants.enabledValues()\n const group = values.filter(({ group }) => group)\n const value = group.map(({ value }) => value)\n\n setExpandedValue(value)\n }, [descendants, setExpandedValue])\n\n const onCollapseAll = useCallback(() => {\n setExpandedValue([])\n }, [setExpandedValue])\n\n const onExpandedChange = useCallback(\n (value: string) => {\n setExpandedValue((prev) => {\n if (prev.includes(value))\n return prev.filter((prevValue) => prevValue !== value)\n else return [...prev, value]\n })\n },\n [setExpandedValue],\n )\n\n assignRef(controlRef, { collapse: onCollapseAll, expand: onExpandAll })\n\n useWindowEvent(\"keydown\", (ev) => {\n if (ev.key !== \"b\") return\n if (!ev.metaKey && !ev.ctrlKey) return\n\n ev.preventDefault()\n\n desktopDisclosure.onToggle()\n })\n\n const getRootProps: PropGetter<\"div\"> = useCallback(\n (props = {}) =>\n mergeProps({ \"data-expanded\": dataAttr(open) }, rest, props)(),\n [open, rest],\n )\n\n const getTriggerProps: PropGetter<\"button\"> = useCallback(\n (props = {}) => ({\n \"aria-expanded\": open,\n \"aria-label\": t(open ? \"Close sidebar\" : \"Open sidebar\"),\n ...props,\n onClick: handlerAll(props.onClick, onToggle),\n }),\n [open, t, onToggle],\n )\n\n const getSidePanelProps: PropGetter<\"aside\"> = useCallback(\n (props = {}) => ({ \"data-expanded\": dataAttr(open), ...props }),\n [open],\n )\n\n const getHeaderProps: PropGetter<\"header\"> = useCallback(\n (props = {}) => ({ ...props }),\n [],\n )\n\n const getFooterProps: PropGetter<\"footer\"> = useCallback(\n (props = {}) => ({ ...props }),\n [],\n )\n\n const getContentProps: PropGetter<\"ul\"> = useCallback(\n (props = {}) => ({ ...props }),\n [],\n )\n\n return {\n descendants,\n expandedValue,\n mobile,\n open,\n selectedValue,\n getContentProps,\n getFooterProps,\n getHeaderProps,\n getRootProps,\n getSidePanelProps,\n getTriggerProps,\n onClose,\n onExpandedChange,\n onOpen,\n onSelectedChange,\n onToggle,\n }\n}\n\nexport type UseSidebarReturn = ReturnType<typeof useSidebar>\n\nexport interface UseSidebarGroupProps extends HTMLProps<\"li\"> {}\n\nexport const useSidebarGroup = ({ ...rest }: UseSidebarGroupProps = {}) => {\n const { getDocument } = useEnvironment()\n const rootRef = useRef<HTMLLIElement>(null)\n const contentRef = useRef<HTMLDivElement>(null)\n const labelId = useId()\n\n useSafeLayoutEffect(() => {\n const el = getDocument()?.getElementById(labelId)\n\n if (!el) return\n\n if (rootRef.current)\n setAttribute(rootRef.current, \"aria-labelledby\", labelId)\n if (contentRef.current)\n setAttribute(contentRef.current, \"aria-labelledby\", labelId)\n }, [])\n\n const getRootProps: PropGetter<\"li\"> = useCallback(\n ({ ref, ...props } = {}) =>\n mergeProps({ ref }, rest, props, { ref: rootRef })(),\n [rest, rootRef],\n )\n\n const getLabelProps: PropGetter<\"span\"> = useCallback(\n (props = {}) => ({ id: labelId, ...props }),\n [labelId],\n )\n\n const getContentProps: PropGetter<\"div\"> = useCallback(\n ({ ref, ...props } = {}) => ({\n ref: mergeRefs(ref, contentRef),\n ...props,\n }),\n [],\n )\n\n return { getContentProps, getLabelProps, getRootProps }\n}\n\nexport type UseSidebarGroupReturn = ReturnType<typeof useSidebarGroup>\n\nexport interface UseSidebarItemProps\n extends HTMLProps<\"li\">, Omit<UseDisclosureProps, \"timing\"> {\n /**\n * The value of the item.\n */\n value: string\n /**\n * If `true`, the tree item will be disabled.\n *\n * @default false\n */\n disabled?: boolean\n /**\n * If `true`, the link will open in new tab.\n *\n * @default false\n */\n external?: boolean\n /**\n * If provided, the sidebar item will be rendered as an async sidebar item.\n */\n asyncChildren?: () => Promise<ReactNode>\n}\n\nexport const useSidebarItem = ({\n asyncChildren,\n children: childrenProp,\n defaultOpen,\n disabled = false,\n external,\n open: openProp,\n value,\n onClose: onCloseProp,\n onOpen: onOpenProp,\n ...rest\n}: UseSidebarItemProps) => {\n const context = useSidebarItemContext()\n const {\n expandedValue,\n open,\n selectedValue,\n onExpandedChange,\n onSelectedChange,\n } = useSidebarContext()\n const [children, setChildren] = useState<ReactNode>(childrenProp)\n const [itemId, labelId, contentId] = useIds()\n const initialAsyncRef = useRef(false)\n const async = !!asyncChildren\n const group = async || Children.count(children) > 0\n const nested = !!context\n const selected = !!value && selectedValue === value\n const defaultExpanded = !!value && expandedValue.includes(value)\n const {\n open: groupOpen,\n onClose,\n onOpen,\n } = useDisclosure({\n defaultOpen: defaultOpen ?? defaultExpanded,\n open: openProp,\n onClose: onCloseProp,\n onOpen: onOpenProp,\n })\n const branchOpen: boolean[] = nested\n ? [...context.branchOpen, groupOpen]\n : [groupOpen]\n const expanded = branchOpen.slice(0, -1).every(Boolean)\n const { register } = useSidebarDescendant({\n id: itemId!,\n disabled,\n expanded,\n group,\n value,\n })\n\n const [groupLoading, onGroupChildren] = useAsyncCallback(async () => {\n const children = await asyncChildren?.()\n\n setChildren(children)\n }, [asyncChildren])\n\n const onGroupOpen = useCallback(() => {\n if (disabled || !group || !value || groupLoading) return\n\n if (async && !initialAsyncRef.current) {\n initialAsyncRef.current = true\n\n onGroupChildren()\n .then(() => {\n onOpen()\n onExpandedChange(value)\n })\n .catch(() => {\n initialAsyncRef.current = false\n })\n } else {\n onOpen()\n onExpandedChange(value)\n }\n }, [\n disabled,\n group,\n value,\n groupLoading,\n async,\n onGroupChildren,\n onOpen,\n onExpandedChange,\n ])\n\n const onGroupClose = useCallback(() => {\n if (disabled || !group || !value) return\n\n onClose()\n onExpandedChange(value)\n }, [disabled, group, value, onClose, onExpandedChange])\n\n const onGroupToggle = useCallback(() => {\n if (groupOpen) onGroupClose()\n else onGroupOpen()\n }, [groupOpen, onGroupClose, onGroupOpen])\n\n useSafeLayoutEffect(() => {\n if (defaultExpanded)\n if (async && !initialAsyncRef.current) {\n initialAsyncRef.current = true\n\n onGroupChildren()\n .then(() => {\n onOpen()\n })\n .catch(() => {\n initialAsyncRef.current = false\n })\n } else {\n onOpen()\n }\n else onClose()\n }, [defaultExpanded])\n\n const getItemProps: PropGetter<\"li\"> = useCallback(\n ({ ref, \"aria-labelledby\": ariaLabelledby, ...props } = {}) => {\n const merged = mergeProps(\n {\n id: itemId,\n \"aria-current\": selected ? \"page\" : undefined,\n \"aria-disabled\": ariaAttr(disabled),\n \"aria-labelledby\": cx(ariaLabelledby, labelId),\n \"data-disabled\": dataAttr(disabled),\n \"data-selected\": dataAttr(selected),\n },\n rest,\n props,\n { ref },\n { ref: register },\n )()\n\n return {\n ...merged,\n onClick: handlerAll(\n merged.onClick,\n !group ? () => onSelectedChange(value) : undefined,\n ),\n }\n },\n [\n itemId,\n register,\n selected,\n disabled,\n labelId,\n rest,\n group,\n onSelectedChange,\n value,\n ],\n )\n\n const getIndicatorProps: PropGetter<\"svg\"> = useCallback(\n (props) => ({\n \"aria-disabled\": ariaAttr(disabled),\n \"aria-expanded\": groupOpen,\n \"aria-hidden\": true,\n \"data-disabled\": dataAttr(disabled),\n \"data-loading\": dataAttr(groupLoading),\n \"data-selected\": dataAttr(selected),\n role: \"presentation\",\n ...props,\n }),\n [disabled, groupOpen, groupLoading, selected],\n )\n\n const getTriggerProps: PropGetter<\"button\"> = useCallback(\n (props = {}) => ({\n \"aria-controls\": contentId,\n \"aria-disabled\": ariaAttr(disabled),\n \"aria-expanded\": groupOpen,\n \"data-disabled\": dataAttr(disabled),\n \"data-expanded\": dataAttr(groupOpen),\n \"data-selected\": dataAttr(selected),\n tabIndex: open && expanded && !disabled ? 0 : -1,\n ...props,\n onClick: handlerAll(props.onClick, onGroupToggle),\n }),\n [contentId, disabled, groupOpen, selected, open, expanded, onGroupToggle],\n )\n\n const getLinkProps: PropGetter<\"a\"> = useCallback(\n (props = {}) => ({\n href: value,\n rel: external ? \"noopener\" : undefined,\n target: external ? \"_blank\" : undefined,\n \"data-disabled\": dataAttr(disabled),\n \"data-selected\": dataAttr(selected),\n tabIndex: open && expanded && !disabled ? 0 : -1,\n ...props,\n onClick: handlerAll(props.onClick, (ev) => {\n if (!disabled) return\n\n ev.preventDefault()\n ev.stopPropagation()\n }),\n }),\n [disabled, expanded, external, open, selected, value],\n )\n\n const getContentProps: PropGetter<\"ul\"> = useCallback(\n ({ \"aria-labelledby\": ariaLabelledby, ...props } = {}) => ({\n id: contentId,\n \"aria-busy\": ariaAttr(groupLoading),\n \"aria-labelledby\": cx(ariaLabelledby, labelId),\n \"data-disabled\": dataAttr(disabled),\n ...props,\n }),\n [contentId, labelId, disabled, groupLoading],\n )\n\n const getLabelProps: PropGetter<\"span\"> = useCallback(\n (props = {}) => ({ id: labelId, ...props }),\n [labelId],\n )\n\n return {\n branchOpen,\n children,\n disabled,\n expanded,\n expandedValue,\n group,\n groupLoading,\n groupOpen,\n open,\n selected,\n selectedValue,\n value,\n getContentProps,\n getIndicatorProps,\n getItemProps,\n getLabelProps,\n getLinkProps,\n getTriggerProps,\n onExpandedChange,\n onGroupClose,\n onGroupOpen,\n onGroupToggle,\n onSelectedChange,\n }\n}\n\nexport type UseSidebarItemReturn = ReturnType<typeof useSidebarItem>\n"],"mappings":";;;;;;;;;;;;;;;;AA4CA,MAAM,EACJ,oBAAoB,2BACpB,eAAe,sBACf,gBAAgB,0BACdA,oCAAAA,kBAAuD;AAqB3D,MAAM,CAAC,gBAAgB,qBAAqBC,gBAAAA,cAA8B,EACxE,MAAM,iBACR,CAAC;AASD,MAAM,CAAC,oBAAoB,yBACzBA,gBAAAA,cAAkC;CAChC,MAAM;CACN,QAAQ;AACV,CAAC;AAgDH,MAAa,cAAc,EACzB,YACA,uBAAuB,CAAC,GACxB,sBACA,YACA,eAAe,mBACf,SAAS,OACT,eAAe,mBACf,kBAAkB,sBAClB,kBAAkB,sBAClB,GAAG,SACgB,CAAC,MAAM;CAC1B,MAAM,EAAE,MAAMC,sBAAAA,QAAQ,SAAS;CAC/B,MAAM,oBAAoBC,uBAAAA,cAAc;EACtC,aAAa,YAAY,SAAS,eAAe;EACjD,MAAM,YAAY,SAAS;EAC3B,SAAS,YAAY,SAAS;EAC9B,QAAQ,YAAY,SAAS;CAC/B,CAAC;CACD,MAAM,mBAAmBA,uBAAAA,cAAc;EACrC,aAAa,YAAY,QAAQ,eAAe;EAChD,MAAM,YAAY,QAAQ;EAC1B,SAAS,YAAY,QAAQ;EAC7B,QAAQ,YAAY,QAAQ;CAC9B,CAAC;CACD,MAAM,CAAC,eAAe,oBAAoBC,2CAAAA,qBAAqB;EAC7D,cAAc;EACd,OAAO;EACP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AAA,SAAA,CAA0B,QAAQ;GAClC,GAAG;EACL,IACA;GAAC;GAAW;GAAS;GAAU;EAAY,CAqB7B;EACd;EACA;EACA,gBAAA,GAAA,MAAA,YAAA,EApBC,QAAQ,CAAC,OAAO;GAAE,IAAI;GAAS,GAAG;EAAM,IACzC,CAAC,OAAO,CAmBI;EACZ;EACA;EACA;EACA;EACA;EACA;EACA;CACF;AACF"}
1
+ {"version":3,"file":"use-sidebar.cjs","names":["createDescendants","createContext","useI18n","useDisclosure","useControllableState","mergeProps","useEnvironment","mergeRefs","useIds","Children","useAsyncCallback"],"sources":["../../../../src/components/sidebar/use-sidebar.ts"],"sourcesContent":["\"use client\"\n\nimport type { ReactNode, RefObject } from \"react\"\nimport { Children, useCallback, useId, useRef, useState } from \"react\"\nimport {\n type HTMLProps,\n mergeProps,\n type PropGetter,\n useEnvironment,\n} from \"../../core\"\nimport { useAsyncCallback } from \"../../hooks/use-async-callback\"\nimport { useControllableState } from \"../../hooks/use-controllable-state\"\nimport { createDescendants } from \"../../hooks/use-descendants\"\nimport {\n useDisclosure,\n type UseDisclosureProps,\n} from \"../../hooks/use-disclosure\"\nimport { useWindowEvent } from \"../../hooks/use-window-event\"\nimport { useI18n } from \"../../providers/i18n-provider\"\nimport {\n ariaAttr,\n assignRef,\n createContext,\n cx,\n dataAttr,\n handlerAll,\n mergeRefs,\n setAttribute,\n useIds,\n useSafeLayoutEffect,\n} from \"../../utils\"\n\nexport interface SidebarControl {\n collapse: () => void\n expand: () => void\n}\n\ninterface SidebarDescendantProps {\n expanded: boolean\n group: boolean\n id: string\n value: string\n}\n\nconst {\n DescendantsContext: SidebarDescendantsContext,\n useDescendant: useSidebarDescendant,\n useDescendants: useSidebarDescendants,\n} = createDescendants<HTMLElement, SidebarDescendantProps>()\n\nexport {\n SidebarDescendantsContext,\n useSidebarDescendant,\n useSidebarDescendants,\n}\n\ninterface SidebarContext extends Pick<\n UseSidebarReturn,\n | \"expandedValue\"\n | \"mobile\"\n | \"onClose\"\n | \"onExpandedChange\"\n | \"onOpen\"\n | \"onSelectedChange\"\n | \"onToggle\"\n | \"open\"\n | \"selectedValue\"\n> {}\n\nconst [SidebarContext, useSidebarContext] = createContext<SidebarContext>({\n name: \"SidebarContext\",\n})\n\nexport { SidebarContext, useSidebarContext }\n\ninterface SidebarItemContext extends Pick<\n UseSidebarItemReturn,\n \"branchOpen\" | \"groupOpen\"\n> {}\n\nconst [SidebarItemContext, useSidebarItemContext] =\n createContext<SidebarItemContext>({\n name: \"SidebarItemContext\",\n strict: false,\n })\n\nexport { SidebarItemContext, useSidebarItemContext }\n\nexport interface UseSidebarProps extends HTMLProps<\"div\"> {\n /**\n * Ref of the sidebar callbacks.\n */\n controlRef?: RefObject<null | SidebarControl>\n /**\n * The initial expanded value of the sidebar.\n */\n defaultExpandedValue?: string[]\n /**\n * The initial selected value of the sidebar.\n */\n defaultSelectedValue?: string\n /**\n * The disclosure props for the desktop and mobile.\n */\n disclosure?: {\n desktop?: Omit<UseDisclosureProps, \"timing\">\n mobile?: Omit<UseDisclosureProps, \"timing\">\n }\n /**\n * The expanded value of the sidebar.\n */\n expandedValue?: string[]\n /**\n * If `true`, the trigger click event will be switched to mobile.\n *\n * @default false\n */\n mobile?: boolean\n /**\n * The selected value of the sidebar.\n */\n selectedValue?: string\n /**\n * The callback invoked when expanded value changes.\n */\n onExpandedChange?: (value: string[]) => void\n /**\n * The callback invoked when selected value changes.\n */\n onSelectedChange?: (value: string) => void\n}\n\nexport const useSidebar = ({\n controlRef,\n defaultExpandedValue = [],\n defaultSelectedValue,\n disclosure,\n expandedValue: expandedValueProp,\n mobile = false,\n selectedValue: selectedValueProp,\n onExpandedChange: onExpandedChangeProp,\n onSelectedChange: onSelectedChangeProp,\n ...rest\n}: UseSidebarProps = {}) => {\n const { t } = useI18n(\"sidebar\")\n const desktopDisclosure = useDisclosure({\n defaultOpen: disclosure?.desktop?.defaultOpen ?? true,\n open: disclosure?.desktop?.open,\n onClose: disclosure?.desktop?.onClose,\n onOpen: disclosure?.desktop?.onOpen,\n })\n const mobileDisclosure = useDisclosure({\n defaultOpen: disclosure?.mobile?.defaultOpen ?? false,\n open: disclosure?.mobile?.open,\n onClose: disclosure?.mobile?.onClose,\n onOpen: disclosure?.mobile?.onOpen,\n })\n const [selectedValue, setSelectedValue] = useControllableState({\n defaultValue: defaultSelectedValue,\n value: selectedValueProp,\n onChange: onSelectedChangeProp,\n })\n const [expandedValue, setExpandedValue] = useControllableState({\n defaultValue: defaultExpandedValue,\n value: expandedValueProp,\n onChange: onExpandedChangeProp,\n })\n const descendants = useSidebarDescendants()\n const open = mobile ? mobileDisclosure.open : desktopDisclosure.open\n const onOpen = mobile ? mobileDisclosure.onOpen : desktopDisclosure.onOpen\n const onClose = mobile ? mobileDisclosure.onClose : desktopDisclosure.onClose\n const onToggle = mobile\n ? mobileDisclosure.onToggle\n : desktopDisclosure.onToggle\n\n const onSelectedChange = useCallback(\n (value: string) => {\n setSelectedValue(value)\n },\n [setSelectedValue],\n )\n\n const onExpandAll = useCallback(() => {\n const values = descendants.enabledValues()\n const group = values.filter(({ group }) => group)\n const value = group.map(({ value }) => value)\n\n setExpandedValue(value)\n }, [descendants, setExpandedValue])\n\n const onCollapseAll = useCallback(() => {\n setExpandedValue([])\n }, [setExpandedValue])\n\n const onExpandedChange = useCallback(\n (value: string) => {\n setExpandedValue((prev) => {\n if (prev.includes(value))\n return prev.filter((prevValue) => prevValue !== value)\n else return [...prev, value]\n })\n },\n [setExpandedValue],\n )\n\n assignRef(controlRef, { collapse: onCollapseAll, expand: onExpandAll })\n\n useWindowEvent(\"keydown\", (ev) => {\n if (ev.key !== \"b\") return\n if (!ev.metaKey && !ev.ctrlKey) return\n\n ev.preventDefault()\n\n desktopDisclosure.onToggle()\n })\n\n const getRootProps: PropGetter<\"div\"> = useCallback(\n (props = {}) =>\n mergeProps({ \"data-expanded\": dataAttr(open) }, rest, props)(),\n [open, rest],\n )\n\n const getTriggerProps: PropGetter<\"button\"> = useCallback(\n (props = {}) => ({\n \"aria-expanded\": open,\n \"aria-label\": t(open ? \"Close sidebar\" : \"Open sidebar\"),\n ...props,\n onClick: handlerAll(props.onClick, onToggle),\n }),\n [open, t, onToggle],\n )\n\n const getSidePanelProps: PropGetter<\"aside\"> = useCallback(\n (props = {}) => ({ \"data-expanded\": dataAttr(open), ...props }),\n [open],\n )\n\n const getHeaderProps: PropGetter<\"header\"> = useCallback(\n (props = {}) => ({ ...props }),\n [],\n )\n\n const getFooterProps: PropGetter<\"footer\"> = useCallback(\n (props = {}) => ({ ...props }),\n [],\n )\n\n const getContentProps: PropGetter<\"ul\"> = useCallback(\n (props = {}) => ({ ...props }),\n [],\n )\n\n return {\n descendants,\n expandedValue,\n mobile,\n open,\n selectedValue,\n getContentProps,\n getFooterProps,\n getHeaderProps,\n getRootProps,\n getSidePanelProps,\n getTriggerProps,\n onClose,\n onExpandedChange,\n onOpen,\n onSelectedChange,\n onToggle,\n }\n}\n\nexport type UseSidebarReturn = ReturnType<typeof useSidebar>\n\nexport interface UseSidebarGroupProps extends HTMLProps<\"li\"> {}\n\nexport const useSidebarGroup = ({ ...rest }: UseSidebarGroupProps = {}) => {\n const { getDocument } = useEnvironment()\n const rootRef = useRef<HTMLLIElement>(null)\n const contentRef = useRef<HTMLDivElement>(null)\n const labelId = useId()\n\n useSafeLayoutEffect(() => {\n const el = getDocument()?.getElementById(labelId)\n\n if (!el) return\n\n if (rootRef.current)\n setAttribute(rootRef.current, \"aria-labelledby\", labelId)\n if (contentRef.current)\n setAttribute(contentRef.current, \"aria-labelledby\", labelId)\n }, [])\n\n const getRootProps: PropGetter<\"li\"> = useCallback(\n ({ ref, ...props } = {}) =>\n mergeProps({ ref }, rest, props, { ref: rootRef })(),\n [rest, rootRef],\n )\n\n const getLabelProps: PropGetter<\"span\"> = useCallback(\n (props = {}) => ({ id: labelId, ...props }),\n [labelId],\n )\n\n const getContentProps: PropGetter<\"div\"> = useCallback(\n ({ ref, ...props } = {}) => ({\n ref: mergeRefs(ref, contentRef),\n ...props,\n }),\n [],\n )\n\n return { getContentProps, getLabelProps, getRootProps }\n}\n\nexport type UseSidebarGroupReturn = ReturnType<typeof useSidebarGroup>\n\nexport interface UseSidebarItemProps\n extends HTMLProps<\"li\">, Omit<UseDisclosureProps, \"timing\"> {\n /**\n * The value of the item.\n */\n value: string\n /**\n * If `true`, the tree item will be disabled.\n *\n * @default false\n */\n disabled?: boolean\n /**\n * If `true`, the link will open in new tab.\n *\n * @default false\n */\n external?: boolean\n /**\n * If provided, the sidebar item will be rendered as an async sidebar item.\n */\n asyncChildren?: () => Promise<ReactNode>\n}\n\nexport const useSidebarItem = ({\n asyncChildren,\n children: childrenProp,\n defaultOpen,\n disabled = false,\n external,\n open: openProp,\n value,\n onClose: onCloseProp,\n onOpen: onOpenProp,\n ...rest\n}: UseSidebarItemProps) => {\n const context = useSidebarItemContext()\n const {\n expandedValue,\n open,\n selectedValue,\n onExpandedChange,\n onSelectedChange,\n } = useSidebarContext()\n const [children, setChildren] = useState<ReactNode>(childrenProp)\n const [itemId, labelId, contentId] = useIds()\n const initialAsyncRef = useRef(false)\n const async = !!asyncChildren\n const group = async || Children.count(children) > 0\n const nested = !!context\n const selected = !!value && selectedValue === value\n const defaultExpanded = !!value && expandedValue.includes(value)\n const {\n open: groupOpen,\n onClose,\n onOpen,\n } = useDisclosure({\n defaultOpen: defaultOpen ?? defaultExpanded,\n open: openProp,\n onClose: onCloseProp,\n onOpen: onOpenProp,\n })\n const branchOpen: boolean[] = nested\n ? [...context.branchOpen, groupOpen]\n : [groupOpen]\n const expanded = branchOpen.slice(0, -1).every(Boolean)\n const { register } = useSidebarDescendant({\n id: itemId!,\n disabled,\n expanded,\n group,\n value,\n })\n\n const [groupLoading, onGroupChildren] = useAsyncCallback(async () => {\n const children = await asyncChildren?.()\n\n setChildren(children)\n }, [asyncChildren])\n\n const onGroupOpen = useCallback(() => {\n if (disabled || !group || !value || groupLoading) return\n\n if (async && !initialAsyncRef.current) {\n initialAsyncRef.current = true\n\n onGroupChildren()\n .then(() => {\n onOpen()\n onExpandedChange(value)\n })\n .catch(() => {\n initialAsyncRef.current = false\n })\n } else {\n onOpen()\n onExpandedChange(value)\n }\n }, [\n disabled,\n group,\n value,\n groupLoading,\n async,\n onGroupChildren,\n onOpen,\n onExpandedChange,\n ])\n\n const onGroupClose = useCallback(() => {\n if (disabled || !group || !value) return\n\n onClose()\n onExpandedChange(value)\n }, [disabled, group, value, onClose, onExpandedChange])\n\n const onGroupToggle = useCallback(() => {\n if (groupOpen) onGroupClose()\n else onGroupOpen()\n }, [groupOpen, onGroupClose, onGroupOpen])\n\n useSafeLayoutEffect(() => {\n if (defaultExpanded)\n if (async && !initialAsyncRef.current) {\n initialAsyncRef.current = true\n\n onGroupChildren()\n .then(() => {\n onOpen()\n })\n .catch(() => {\n initialAsyncRef.current = false\n })\n } else {\n onOpen()\n }\n else onClose()\n }, [defaultExpanded])\n\n const getItemProps: PropGetter<\"li\"> = useCallback(\n ({ ref, \"aria-labelledby\": ariaLabelledby, ...props } = {}) => {\n const merged = mergeProps(\n {\n id: itemId,\n \"aria-current\": selected ? \"page\" : undefined,\n \"aria-disabled\": ariaAttr(disabled),\n \"aria-labelledby\": cx(ariaLabelledby, labelId),\n \"data-disabled\": dataAttr(disabled),\n \"data-selected\": dataAttr(selected),\n },\n rest,\n props,\n { ref },\n { ref: register },\n )()\n\n return {\n ...merged,\n onClick: handlerAll(\n merged.onClick,\n !group ? () => onSelectedChange(value) : undefined,\n ),\n }\n },\n [\n itemId,\n register,\n selected,\n disabled,\n labelId,\n rest,\n group,\n onSelectedChange,\n value,\n ],\n )\n\n const getIndicatorProps: PropGetter<\"svg\"> = useCallback(\n (props) => ({\n \"aria-disabled\": ariaAttr(disabled),\n \"aria-expanded\": groupOpen,\n \"aria-hidden\": true,\n \"data-disabled\": dataAttr(disabled),\n \"data-loading\": dataAttr(groupLoading),\n \"data-selected\": dataAttr(selected),\n role: \"presentation\",\n ...props,\n }),\n [disabled, groupOpen, groupLoading, selected],\n )\n\n const getTriggerProps: PropGetter<\"button\"> = useCallback(\n (props = {}) => ({\n \"aria-controls\": contentId,\n \"aria-disabled\": ariaAttr(disabled),\n \"aria-expanded\": groupOpen,\n \"data-disabled\": dataAttr(disabled),\n \"data-expanded\": dataAttr(groupOpen),\n \"data-selected\": dataAttr(selected),\n tabIndex: open && expanded && !disabled ? 0 : -1,\n ...props,\n onClick: handlerAll(props.onClick, onGroupToggle),\n }),\n [contentId, disabled, groupOpen, selected, open, expanded, onGroupToggle],\n )\n\n const getLinkProps: PropGetter<\"a\"> = useCallback(\n (props = {}) => ({\n href: value,\n rel: external ? \"noopener\" : undefined,\n target: external ? \"_blank\" : undefined,\n \"data-disabled\": dataAttr(disabled),\n \"data-selected\": dataAttr(selected),\n tabIndex: open && expanded && !disabled ? 0 : -1,\n ...props,\n onClick: handlerAll(props.onClick, (ev) => {\n if (!disabled) return\n\n ev.preventDefault()\n ev.stopPropagation()\n }),\n }),\n [disabled, expanded, external, open, selected, value],\n )\n\n const getContentProps: PropGetter<\"ul\"> = useCallback(\n ({ \"aria-labelledby\": ariaLabelledby, ...props } = {}) => ({\n id: contentId,\n \"aria-busy\": ariaAttr(groupLoading),\n \"aria-labelledby\": cx(ariaLabelledby, labelId),\n \"data-disabled\": dataAttr(disabled),\n ...props,\n }),\n [contentId, labelId, disabled, groupLoading],\n )\n\n const getLabelProps: PropGetter<\"span\"> = useCallback(\n (props = {}) => ({ id: labelId, ...props }),\n [labelId],\n )\n\n return {\n branchOpen,\n children,\n disabled,\n expanded,\n expandedValue,\n group,\n groupLoading,\n groupOpen,\n open,\n selected,\n selectedValue,\n value,\n getContentProps,\n getIndicatorProps,\n getItemProps,\n getLabelProps,\n getLinkProps,\n getTriggerProps,\n onExpandedChange,\n onGroupClose,\n onGroupOpen,\n onGroupToggle,\n onSelectedChange,\n }\n}\n\nexport type UseSidebarItemReturn = ReturnType<typeof useSidebarItem>\n"],"mappings":";;;;;;;;;;;;;;;;AA4C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Aa;CAClD,IACA;EAAC;EAAW;EAAU;EAAW;EAAU;EAAM;EAAU;CAAa,CAC1E;CAEA,MAAM,gBAAA,GAAA,MAAA,YAAA,EACH,QAAQ,CAAC,OAAO;EACf,MAAM;EACN,KAAK,WAAW,aAAa,KAAA;EAC7B,QAAQ,WAAW,WAAW,KAAA;EAC9B,kBAAA,GAAA,oBAAA,cAAA,SAAA,CAA0B,QAAQ;EAClC,kBAAA,GAAA,oBAAA,cAAA,SAAA,CAA0B,QAAQ;EAClC,UAAU,QAAQ,YAAY,CAAC,WAAW,IAAI;EAC9C,GAAG;EACH,UAAA,GAAA,oBAAA,cAAA,WAAA,CAAoB,MAAM,UAAU,OAAO;GACzC,IAAI,CAAC,UAAU;GAEf,GAAG,eAAe;GAClB,GAAG,gBAAgB;EACrB,CAAC;CACH,IACA;EAAC;EAAU;EAAU;EAAU;EAAM;EAAU;CAAK,CACtD;CAkBA,OAAO;EACL;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,kBAAA,GAAA,MAAA,YAAA,EA5BC,EAAE,mBAAmB,gBAAgB,GAAG,UAAU,CAAC,OAAO;GACzD,IAAI;GACJ,cAAA,GAAA,oBAAA,cAAA,SAAA,CAAsB,YAAY;GAClC,oBAAA,GAAA,oBAAA,cAAA,GAAA,CAAsB,gBAAgB,OAAO;GAC7C,kBAAA,GAAA,oBAAA,cAAA,SAAA,CAA0B,QAAQ;GAClC,GAAG;EACL,IACA;GAAC;GAAW;GAAS;GAAU;EAAY,CAqB7B;EACd;EACA;EACA,gBAAA,GAAA,MAAA,YAAA,EApBC,QAAQ,CAAC,OAAO;GAAE,IAAI;GAAS,GAAG;EAAM,IACzC,CAAC,OAAO,CAmBI;EACZ;EACA;EACA;EACA;EACA;EACA;EACA;CACF;AACF"}
@@ -38,22 +38,23 @@ const SliderRoot = withProvider(({ children, marks, orientation: orientationProp
38
38
  thumbProps,
39
39
  trackProps
40
40
  ]);
41
+ const context = (0, react.useMemo)(() => ({
42
+ range,
43
+ getInputProps,
44
+ getMarkProps,
45
+ getRangeProps,
46
+ getThumbProps,
47
+ getTrackProps
48
+ }), [
49
+ range,
50
+ getInputProps,
51
+ getMarkProps,
52
+ getRangeProps,
53
+ getThumbProps,
54
+ getTrackProps
55
+ ]);
41
56
  return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(ComponentContext, {
42
- value: (0, react.useMemo)(() => ({
43
- range,
44
- getInputProps,
45
- getMarkProps,
46
- getRangeProps,
47
- getThumbProps,
48
- getTrackProps
49
- }), [
50
- range,
51
- getInputProps,
52
- getMarkProps,
53
- getRangeProps,
54
- getThumbProps,
55
- getTrackProps
56
- ]),
57
+ value: context,
57
58
  children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(require_factory.styled.div, {
58
59
  ...getRootProps(),
59
60
  children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(SliderInput, { ...inputProps }), computedChildren]
@@ -1 +1 @@
1
- {"version":3,"file":"slider.cjs","names":["createSlotComponent","sliderStyle","useSlider","useValue","styled","varAttr"],"sources":["../../../../src/components/slider/slider.tsx"],"sourcesContent":["\"use client\"\n\nimport type { FC, ReactElement, ReactNode } from \"react\"\nimport type {\n CSSProps,\n GenericsComponent,\n HTMLStyledProps,\n ThemeProps,\n} from \"../../core\"\nimport type { SliderStyle } from \"./slider.style\"\nimport type { UseSliderProps, UseSliderReturn } from \"./use-slider\"\nimport { useMemo } from \"react\"\nimport { createSlotComponent, styled, varAttr } from \"../../core\"\nimport { useValue } from \"../../hooks/use-value\"\nimport { dataAttr, isNumber } from \"../../utils\"\nimport { sliderStyle } from \"./slider.style\"\nimport { useSlider } from \"./use-slider\"\n\ninterface ComponentContext extends Pick<\n UseSliderReturn,\n | \"getInputProps\"\n | \"getMarkProps\"\n | \"getRangeProps\"\n | \"getThumbProps\"\n | \"getTrackProps\"\n | \"range\"\n> {}\n\nexport interface SliderRootProps<Y extends [number, number] | number = number>\n extends\n Omit<HTMLStyledProps, \"defaultValue\" | \"onChange\" | \"ref\">,\n Omit<UseSliderProps<Y>, \"orientation\">,\n ThemeProps<SliderStyle> {\n /**\n * The fill color of the indicator.\n */\n indicatorFill?: CSSProps[\"color\"]\n /**\n * The rounded of the indicator.\n */\n indicatorRounded?: CSSProps[\"rounded\"]\n /**\n * The marks to display on the slider.\n */\n marks?: SliderMarksProps[\"marks\"]\n /**\n * The fill color of the range.\n */\n rangeFill?: CSSProps[\"color\"]\n /**\n * The fill color of the thumb.\n */\n thumbFill?: CSSProps[\"color\"]\n /**\n * The rounded of the thumb.\n */\n thumbRounded?: CSSProps[\"rounded\"]\n /**\n * The size of the thumb.\n */\n thumbSize?: CSSProps[\"boxSize\"]\n /**\n * The stroke color of the thumb.\n */\n thumbStroke?: CSSProps[\"color\"]\n /**\n * The fill color of the track.\n */\n trackFill?: CSSProps[\"color\"]\n /**\n * The rounded of the track.\n */\n trackRounded?: CSSProps[\"rounded\"]\n /**\n * The size of the track.\n */\n trackSize?: CSSProps[\"boxSize\"]\n /**\n * Props for the input element.\n */\n inputProps?: SliderInputProps\n /**\n * Props for the marks element.\n */\n marksProps?: Partial<SliderMarksProps>\n /**\n * Props for the range element.\n */\n rangeProps?: SliderRangeProps\n /**\n * Props for the thumb element.\n */\n thumbProps?: SliderThumbProps\n /**\n * Props for the track element.\n */\n trackProps?: SliderTrackProps\n}\n\nconst {\n ComponentContext,\n PropsContext: SliderPropsContext,\n useComponentContext,\n usePropsContext: useSliderPropsContext,\n withContext,\n withProvider,\n} = createSlotComponent<SliderRootProps, SliderStyle, ComponentContext>(\n \"slider\",\n sliderStyle,\n)\n\nexport { SliderPropsContext, useSliderPropsContext }\n\n/**\n * `Slider` is a component used for allowing users to select a value from a range.\n *\n * @see https://yamada-ui.com/docs/components/slider\n */\nexport const SliderRoot = withProvider<\"input\", SliderRootProps, \"orientation\">(\n <Y extends [number, number] | number = number>({\n children,\n marks,\n orientation: orientationProp,\n inputProps,\n marksProps,\n rangeProps,\n thumbProps,\n trackProps,\n ...rest\n }: SliderRootProps<Y>) => {\n const orientation = useValue(orientationProp)\n const {\n range,\n getInputProps,\n getMarkProps,\n getRangeProps,\n getRootProps,\n getThumbProps,\n getTrackProps,\n } = useSlider<Y>({ orientation, ...rest })\n const computedChildren = useMemo(() => {\n if (children) return children\n\n return (\n <>\n <SliderTrack {...trackProps}>\n <SliderRange {...rangeProps} />\n\n {range ? (\n <SliderThumbs {...thumbProps} />\n ) : (\n <SliderThumb {...thumbProps} />\n )}\n </SliderTrack>\n\n {marks ? <SliderMarks marks={marks} {...marksProps} /> : null}\n </>\n )\n }, [children, marks, marksProps, range, rangeProps, thumbProps, trackProps])\n const context = useMemo(\n () => ({\n range,\n getInputProps,\n getMarkProps,\n getRangeProps,\n getThumbProps,\n getTrackProps,\n }),\n [\n range,\n getInputProps,\n getMarkProps,\n getRangeProps,\n getThumbProps,\n getTrackProps,\n ],\n )\n\n return (\n <ComponentContext value={context}>\n <styled.div {...getRootProps()}>\n <SliderInput {...inputProps} />\n\n {computedChildren}\n </styled.div>\n </ComponentContext>\n )\n },\n \"root\",\n { transferProps: [\"orientation\"] },\n)(\n undefined,\n ({\n indicatorFill,\n indicatorRounded,\n rangeFill,\n thumbFill,\n thumbRounded,\n thumbSize,\n thumbStroke,\n trackFill,\n trackRounded,\n trackSize,\n ...rest\n }) => ({\n \"--indicator-fill\": varAttr(indicatorFill, \"colors\"),\n \"--indicator-rounded\": varAttr(indicatorRounded, \"radii\"),\n \"--range-fill\": varAttr(rangeFill, \"colors\"),\n \"--thumb-fill\": varAttr(thumbFill, \"colors\"),\n \"--thumb-rounded\": varAttr(thumbRounded, \"radii\"),\n \"--thumb-size\": varAttr(thumbSize, \"sizes\"),\n \"--thumb-stroke\": varAttr(thumbStroke, \"colors\"),\n \"--track-fill\": varAttr(trackFill, \"colors\"),\n \"--track-rounded\": varAttr(trackRounded, \"radii\"),\n \"--track-size\": varAttr(trackSize, \"sizes\"),\n ...rest,\n }),\n) as GenericsComponent<{\n <Y extends [number, number] | number = number>(\n props: SliderRootProps<Y>,\n ): ReactElement\n}>\n\ninterface SliderInputProps extends HTMLStyledProps<\"input\"> {}\n\nconst SliderInput: FC<SliderInputProps> = () => {\n const { range, getInputProps } = useComponentContext()\n\n return range ? (\n Array.from({ length: 2 }).map((_, index) => (\n <styled.input key={index} {...getInputProps({ index })} />\n ))\n ) : (\n <styled.input {...getInputProps()} />\n )\n}\n\nexport interface SliderTrackProps extends HTMLStyledProps {}\n\nexport const SliderTrack = withContext<\"div\", SliderTrackProps>(\"div\", \"track\")(\n undefined,\n (props) => {\n const { getTrackProps } = useComponentContext()\n\n return getTrackProps(props)\n },\n)\n\nexport interface SliderRangeProps extends HTMLStyledProps {}\n\nexport const SliderRange = withContext<\"div\", SliderRangeProps>(\"div\", \"range\")(\n undefined,\n (props) => {\n const { getRangeProps } = useComponentContext()\n\n return getRangeProps(props)\n },\n)\n\nexport interface SliderMarkProps extends HTMLStyledProps {\n /**\n * The value of the mark.\n */\n value: number\n /**\n * Whether the mark is an indicator.\n *\n * @default true\n */\n indicator?: boolean\n}\n\nexport const SliderMark = withContext<\"div\", SliderMarkProps>(\"div\", \"mark\")(\n undefined,\n ({ indicator = true, ...props }) => {\n const { getMarkProps } = useComponentContext()\n\n return getMarkProps({ \"data-indicator\": dataAttr(indicator), ...props })\n },\n)\n\nexport interface SliderMarksProps extends Omit<SliderMarkProps, \"value\"> {\n /**\n * The marks to display on the slider.\n */\n marks: (number | { label: ReactNode; value: number; indicator?: boolean })[]\n}\n\nexport const SliderMarks: FC<SliderMarksProps> = ({ marks, ...props }) => {\n return (\n <>\n {marks.map((mark, index) => {\n if (isNumber(mark)) {\n return <SliderMark key={index} value={mark} {...props} />\n } else {\n const { indicator, label, value } = mark\n\n return (\n <SliderMark key={index} indicator={indicator} value={value}>\n {label}\n </SliderMark>\n )\n }\n })}\n </>\n )\n}\n\nexport interface SliderThumbProps extends HTMLStyledProps {\n /**\n * The index of the thumb.\n */\n index?: number\n}\n\nexport const SliderThumb = withContext<\"div\", SliderThumbProps>(\"div\", \"thumb\")(\n undefined,\n (props) => {\n const { getThumbProps } = useComponentContext()\n\n return getThumbProps(props)\n },\n)\n\nexport interface SliderThumbsProps extends SliderThumbProps {}\n\nexport const SliderThumbs: FC<SliderThumbsProps> = (props) => {\n return (\n <>\n {Array.from({ length: 2 }).map((_, index) => (\n <SliderThumb key={index} index={index} {...props} />\n ))}\n </>\n )\n}\n"],"mappings":";;;;;;;;;;;AAmGA,MAAM,EACJ,kBACA,cAAc,oBACd,qBACA,iBAAiB,uBACjB,aACA,iBACEA,yBAAAA,oBACF,UACAC,qBAAAA,WACF;;;;;;AASA,MAAa,aAAa,cACuB,EAC7C,UACA,OACA,aAAa,iBACb,YACA,YACA,YACA,YACA,YACA,GAAG,WACqB;CAExB,MAAM,EACJ,OACA,eACA,cACA,eACA,cACA,eACA,kBACEC,mBAAAA,UAAa;EAAE,aATCC,8BAAAA,SAAS,eASA;EAAG,GAAG;CAAK,CAAC;CACzC,MAAM,oBAAA,GAAA,MAAA,QAAA,OAAiC;EACrC,IAAI,UAAU,OAAO;EAErB,OACE,iBAAA,GAAA,kBAAA,KAAA,CAAA,kBAAA,UAAA,EAAA,UAAA,CACE,iBAAA,GAAA,kBAAA,KAAA,CAAC,aAAD;GAAa,GAAI;aAAjB,CACE,iBAAA,GAAA,kBAAA,IAAA,CAAC,aAAD,EAAa,GAAI,WAAa,CAAA,GAE7B,QACC,iBAAA,GAAA,kBAAA,IAAA,CAAC,cAAD,EAAc,GAAI,WAAa,CAAA,IAE/B,iBAAA,GAAA,kBAAA,IAAA,CAAC,aAAD,EAAa,GAAI,WAAa,CAAA,CAErB;MAEZ,QAAQ,iBAAA,GAAA,kBAAA,IAAA,CAAC,aAAD;GAAoB;GAAO,GAAI;EAAa,CAAA,IAAI,IACzD,EAAA,CAAA;CAEN,GAAG;EAAC;EAAU;EAAO;EAAY;EAAO;EAAY;EAAY;CAAU,CAAC;CAoB3E,OACE,iBAAA,GAA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,MAAM,KAAK,EAAE,QAAQ,EAAE,CAAC,CAAC,CAAC,KAAK,GAAG,UACjC,iBAAA,GAAA,kBAAA,IAAA,CAAC,aAAD;EAAgC;EAAO,GAAI;CAAQ,GAAjC,KAAiC,CACpD,EACD,CAAA;AAEN"}
1
+ {"version":3,"file":"slider.cjs","names":["createSlotComponent","sliderStyle","useSlider","useValue","styled","varAttr"],"sources":["../../../../src/components/slider/slider.tsx"],"sourcesContent":["\"use client\"\n\nimport type { FC, ReactElement, ReactNode } from \"react\"\nimport type {\n CSSProps,\n GenericsComponent,\n HTMLStyledProps,\n ThemeProps,\n} from \"../../core\"\nimport type { SliderStyle } from \"./slider.style\"\nimport type { UseSliderProps, UseSliderReturn } from \"./use-slider\"\nimport { useMemo } from \"react\"\nimport { createSlotComponent, styled, varAttr } from \"../../core\"\nimport { useValue } from \"../../hooks/use-value\"\nimport { dataAttr, isNumber } from \"../../utils\"\nimport { sliderStyle } from \"./slider.style\"\nimport { useSlider } from \"./use-slider\"\n\ninterface ComponentContext extends Pick<\n UseSliderReturn,\n | \"getInputProps\"\n | \"getMarkProps\"\n | \"getRangeProps\"\n | \"getThumbProps\"\n | \"getTrackProps\"\n | \"range\"\n> {}\n\nexport interface SliderRootProps<Y extends [number, number] | number = number>\n extends\n Omit<HTMLStyledProps, \"defaultValue\" | \"onChange\" | \"ref\">,\n Omit<UseSliderProps<Y>, \"orientation\">,\n ThemeProps<SliderStyle> {\n /**\n * The fill color of the indicator.\n */\n indicatorFill?: CSSProps[\"color\"]\n /**\n * The rounded of the indicator.\n */\n indicatorRounded?: CSSProps[\"rounded\"]\n /**\n * The marks to display on the slider.\n */\n marks?: SliderMarksProps[\"marks\"]\n /**\n * The fill color of the range.\n */\n rangeFill?: CSSProps[\"color\"]\n /**\n * The fill color of the thumb.\n */\n thumbFill?: CSSProps[\"color\"]\n /**\n * The rounded of the thumb.\n */\n thumbRounded?: CSSProps[\"rounded\"]\n /**\n * The size of the thumb.\n */\n thumbSize?: CSSProps[\"boxSize\"]\n /**\n * The stroke color of the thumb.\n */\n thumbStroke?: CSSProps[\"color\"]\n /**\n * The fill color of the track.\n */\n trackFill?: CSSProps[\"color\"]\n /**\n * The rounded of the track.\n */\n trackRounded?: CSSProps[\"rounded\"]\n /**\n * The size of the track.\n */\n trackSize?: CSSProps[\"boxSize\"]\n /**\n * Props for the input element.\n */\n inputProps?: SliderInputProps\n /**\n * Props for the marks element.\n */\n marksProps?: Partial<SliderMarksProps>\n /**\n * Props for the range element.\n */\n rangeProps?: SliderRangeProps\n /**\n * Props for the thumb element.\n */\n thumbProps?: SliderThumbProps\n /**\n * Props for the track element.\n */\n trackProps?: SliderTrackProps\n}\n\nconst {\n ComponentContext,\n PropsContext: SliderPropsContext,\n useComponentContext,\n usePropsContext: useSliderPropsContext,\n withContext,\n withProvider,\n} = createSlotComponent<SliderRootProps, SliderStyle, ComponentContext>(\n \"slider\",\n sliderStyle,\n)\n\nexport { SliderPropsContext, useSliderPropsContext }\n\n/**\n * `Slider` is a component used for allowing users to select a value from a range.\n *\n * @see https://yamada-ui.com/docs/components/slider\n */\nexport const SliderRoot = withProvider<\"input\", SliderRootProps, \"orientation\">(\n <Y extends [number, number] | number = number>({\n children,\n marks,\n orientation: orientationProp,\n inputProps,\n marksProps,\n rangeProps,\n thumbProps,\n trackProps,\n ...rest\n }: SliderRootProps<Y>) => {\n const orientation = useValue(orientationProp)\n const {\n range,\n getInputProps,\n getMarkProps,\n getRangeProps,\n getRootProps,\n getThumbProps,\n getTrackProps,\n } = useSlider<Y>({ orientation, ...rest })\n const computedChildren = useMemo(() => {\n if (children) return children\n\n return (\n <>\n <SliderTrack {...trackProps}>\n <SliderRange {...rangeProps} />\n\n {range ? (\n <SliderThumbs {...thumbProps} />\n ) : (\n <SliderThumb {...thumbProps} />\n )}\n </SliderTrack>\n\n {marks ? <SliderMarks marks={marks} {...marksProps} /> : null}\n </>\n )\n }, [children, marks, marksProps, range, rangeProps, thumbProps, trackProps])\n const context = useMemo(\n () => ({\n range,\n getInputProps,\n getMarkProps,\n getRangeProps,\n getThumbProps,\n getTrackProps,\n }),\n [\n range,\n getInputProps,\n getMarkProps,\n getRangeProps,\n getThumbProps,\n getTrackProps,\n ],\n )\n\n return (\n <ComponentContext value={context}>\n <styled.div {...getRootProps()}>\n <SliderInput {...inputProps} />\n\n {computedChildren}\n </styled.div>\n </ComponentContext>\n )\n },\n \"root\",\n { transferProps: [\"orientation\"] },\n)(\n undefined,\n ({\n indicatorFill,\n indicatorRounded,\n rangeFill,\n thumbFill,\n thumbRounded,\n thumbSize,\n thumbStroke,\n trackFill,\n trackRounded,\n trackSize,\n ...rest\n }) => ({\n \"--indicator-fill\": varAttr(indicatorFill, \"colors\"),\n \"--indicator-rounded\": varAttr(indicatorRounded, \"radii\"),\n \"--range-fill\": varAttr(rangeFill, \"colors\"),\n \"--thumb-fill\": varAttr(thumbFill, \"colors\"),\n \"--thumb-rounded\": varAttr(thumbRounded, \"radii\"),\n \"--thumb-size\": varAttr(thumbSize, \"sizes\"),\n \"--thumb-stroke\": varAttr(thumbStroke, \"colors\"),\n \"--track-fill\": varAttr(trackFill, \"colors\"),\n \"--track-rounded\": varAttr(trackRounded, \"radii\"),\n \"--track-size\": varAttr(trackSize, \"sizes\"),\n ...rest,\n }),\n) as GenericsComponent<{\n <Y extends [number, number] | number = number>(\n props: SliderRootProps<Y>,\n ): ReactElement\n}>\n\ninterface SliderInputProps extends HTMLStyledProps<\"input\"> {}\n\nconst SliderInput: FC<SliderInputProps> = () => {\n const { range, getInputProps } = useComponentContext()\n\n return range ? (\n Array.from({ length: 2 }).map((_, index) => (\n <styled.input key={index} {...getInputProps({ index })} />\n ))\n ) : (\n <styled.input {...getInputProps()} />\n )\n}\n\nexport interface SliderTrackProps extends HTMLStyledProps {}\n\nexport const SliderTrack = withContext<\"div\", SliderTrackProps>(\"div\", \"track\")(\n undefined,\n (props) => {\n const { getTrackProps } = useComponentContext()\n\n return getTrackProps(props)\n },\n)\n\nexport interface SliderRangeProps extends HTMLStyledProps {}\n\nexport const SliderRange = withContext<\"div\", SliderRangeProps>(\"div\", \"range\")(\n undefined,\n (props) => {\n const { getRangeProps } = useComponentContext()\n\n return getRangeProps(props)\n },\n)\n\nexport interface SliderMarkProps extends HTMLStyledProps {\n /**\n * The value of the mark.\n */\n value: number\n /**\n * Whether the mark is an indicator.\n *\n * @default true\n */\n indicator?: boolean\n}\n\nexport const SliderMark = withContext<\"div\", SliderMarkProps>(\"div\", \"mark\")(\n undefined,\n ({ indicator = true, ...props }) => {\n const { getMarkProps } = useComponentContext()\n\n return getMarkProps({ \"data-indicator\": dataAttr(indicator), ...props })\n },\n)\n\nexport interface SliderMarksProps extends Omit<SliderMarkProps, \"value\"> {\n /**\n * The marks to display on the slider.\n */\n marks: (number | { label: ReactNode; value: number; indicator?: boolean })[]\n}\n\nexport const SliderMarks: FC<SliderMarksProps> = ({ marks, ...props }) => {\n return (\n <>\n {marks.map((mark, index) => {\n if (isNumber(mark)) {\n return <SliderMark key={index} value={mark} {...props} />\n } else {\n const { indicator, label, value } = mark\n\n return (\n <SliderMark key={index} indicator={indicator} value={value}>\n {label}\n </SliderMark>\n )\n }\n })}\n </>\n )\n}\n\nexport interface SliderThumbProps extends HTMLStyledProps {\n /**\n * The index of the thumb.\n */\n index?: number\n}\n\nexport const SliderThumb = withContext<\"div\", SliderThumbProps>(\"div\", \"thumb\")(\n undefined,\n (props) => {\n const { getThumbProps } = useComponentContext()\n\n return getThumbProps(props)\n },\n)\n\nexport interface SliderThumbsProps extends SliderThumbProps {}\n\nexport const SliderThumbs: FC<SliderThumbsProps> = (props) => {\n return (\n <>\n {Array.from({ length: 2 }).map((_, index) => (\n <SliderThumb key={index} index={index} {...props} />\n ))}\n </>\n )\n}\n"],"mappings":";;;;;;;;;;;AAmGA,MAAM,EACJ,kBACA,cAAc,oBACd,qBACA,iBAAiB,uBACjB,aACA,iBACEA,yBAAAA,oBACF,UACAC,qBAAAA,WACF;;;;;;AASA,MAAa,aAAa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,YAAY;CAClC,MAAM,EAAE,iBAAiB,oBAAoB;CAE7C,OAAO,aAAa;EAAE,mBAAA,GAAA,oBAAA,cAAA,SAAA,CAA2B,SAAS;EAAG,GAAG;CAAM,CAAC;AACzE,CACF;AASA,MAAa,eAAqC,EAAE,OAAO,GAAG,YAAY;CACxE,OACE,iBAAA,GAAA,kBAAA,IAAA,CAAA,kBAAA,UAAA,EAAA,UACG,MAAM,KAAK,MAAM,UAAU;EAC1B,KAAA,GAAA,oBAAA,cAAA,SAAA,CAAa,IAAI,GACf,OAAO,iBAAA,GAAA,kBAAA,IAAA,CAAC,YAAD;GAAwB,OAAO;GAAM,GAAI;EAAQ,GAAhC,KAAgC;OACnD;GACL,MAAM,EAAE,WAAW,OAAO,UAAU;GAEpC,OACE,iBAAA,GAAA,kBAAA,IAAA,CAAC,YAAD;IAAmC;IAAkB;cAClD;GACS,GAFK,KAEL;EAEhB;CACF,CAAC,EACD,CAAA;AAEN;AASA,MAAa,cAAc,YAAqC,OAAO,OAAO,CAAC,CAC7E,KAAA,IACC,UAAU;CACT,MAAM,EAAE,kBAAkB,oBAAoB;CAE9C,OAAO,cAAc,KAAK;AAC5B,CACF;AAIA,MAAa,gBAAuC,UAAU;CAC5D,OACE,iBAAA,GAAA,kBAAA,IAAA,CAAA,kBAAA,UAAA,EAAA,UACG,MAAM,KAAK,EAAE,QAAQ,EAAE,CAAC,CAAC,CAAC,KAAK,GAAG,UACjC,iBAAA,GAAA,kBAAA,IAAA,CAAC,aAAD;EAAgC;EAAO,GAAI;CAAQ,GAAjC,KAAiC,CACpD,EACD,CAAA;AAEN"}
@@ -25,7 +25,8 @@ const useSlider = (props = {}) => {
25
25
  const panValue = getPanValue(point, rect);
26
26
  if (range) {
27
27
  const start = currentIndex.current === 0;
28
- const oppositeValue = value[currentIndex.current === 0 ? 1 : 0];
28
+ const oppositeIndex = currentIndex.current === 0 ? 1 : 0;
29
+ const oppositeValue = value[oppositeIndex];
29
30
  onChangeEnd?.(start ? [panValue, oppositeValue] : [oppositeValue, panValue]);
30
31
  } else onChangeEnd?.(panValue);
31
32
  },