@skeletonlabs/skeleton-react 2.0.0-next.5 → 2.0.0-next.7

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 (527) hide show
  1. package/dist/components/accordion/anatomy/item-content.d.ts +12 -0
  2. package/dist/components/accordion/anatomy/item-content.d.ts.map +1 -0
  3. package/dist/components/accordion/anatomy/{content.js → item-content.js} +6 -6
  4. package/dist/components/accordion/anatomy/item-content.js.map +1 -0
  5. package/dist/components/accordion/anatomy/item-heading.d.ts +19 -0
  6. package/dist/components/accordion/anatomy/item-heading.d.ts.map +1 -0
  7. package/dist/components/accordion/anatomy/{heading.js → item-heading.js} +5 -5
  8. package/dist/components/accordion/anatomy/item-heading.js.map +1 -0
  9. package/dist/components/accordion/anatomy/item-indicator.d.ts +12 -0
  10. package/dist/components/accordion/anatomy/item-indicator.d.ts.map +1 -0
  11. package/dist/components/accordion/anatomy/{indicator.js → item-indicator.js} +6 -6
  12. package/dist/components/accordion/anatomy/item-indicator.js.map +1 -0
  13. package/dist/components/accordion/anatomy/item-trigger.d.ts +12 -0
  14. package/dist/components/accordion/anatomy/item-trigger.d.ts.map +1 -0
  15. package/dist/components/accordion/anatomy/{trigger.js → item-trigger.js} +6 -6
  16. package/dist/components/accordion/anatomy/item-trigger.js.map +1 -0
  17. package/dist/components/accordion/anatomy/item.d.ts +3 -3
  18. package/dist/components/accordion/anatomy/item.d.ts.map +1 -1
  19. package/dist/components/accordion/anatomy/item.js +5 -5
  20. package/dist/components/accordion/anatomy/item.js.map +1 -1
  21. package/dist/components/accordion/anatomy/root-context.js.map +1 -1
  22. package/dist/components/accordion/anatomy/root-provider.d.ts +3 -2
  23. package/dist/components/accordion/anatomy/root-provider.d.ts.map +1 -1
  24. package/dist/components/accordion/anatomy/root-provider.js +21 -0
  25. package/dist/components/accordion/anatomy/root-provider.js.map +1 -0
  26. package/dist/components/accordion/anatomy/root.d.ts +3 -3
  27. package/dist/components/accordion/anatomy/root.d.ts.map +1 -1
  28. package/dist/components/accordion/anatomy/root.js +5 -5
  29. package/dist/components/accordion/anatomy/root.js.map +1 -1
  30. package/dist/components/accordion/modules/anatomy.d.ts +14 -12
  31. package/dist/components/accordion/modules/anatomy.d.ts.map +1 -1
  32. package/dist/components/accordion/modules/anatomy.js +14 -12
  33. package/dist/components/accordion/modules/anatomy.js.map +1 -1
  34. package/dist/components/accordion/modules/item-context.js +2 -2
  35. package/dist/components/accordion/modules/item-context.js.map +1 -1
  36. package/dist/components/accordion/modules/root-context.js +1 -0
  37. package/dist/components/accordion/modules/root-context.js.map +1 -1
  38. package/dist/components/accordion/modules/use-accordion.d.ts +2 -1
  39. package/dist/components/accordion/modules/use-accordion.d.ts.map +1 -1
  40. package/dist/components/accordion/modules/use-accordion.js +2 -2
  41. package/dist/components/accordion/modules/use-accordion.js.map +1 -1
  42. package/dist/components/avatar/anatomy/fallback.d.ts +4 -4
  43. package/dist/components/avatar/anatomy/fallback.d.ts.map +1 -1
  44. package/dist/components/avatar/anatomy/fallback.js +4 -4
  45. package/dist/components/avatar/anatomy/fallback.js.map +1 -1
  46. package/dist/components/avatar/anatomy/image.d.ts +4 -4
  47. package/dist/components/avatar/anatomy/image.d.ts.map +1 -1
  48. package/dist/components/avatar/anatomy/image.js +4 -4
  49. package/dist/components/avatar/anatomy/image.js.map +1 -1
  50. package/dist/components/avatar/anatomy/root-context.js.map +1 -1
  51. package/dist/components/avatar/anatomy/root-provider.d.ts +3 -2
  52. package/dist/components/avatar/anatomy/root-provider.d.ts.map +1 -1
  53. package/dist/components/avatar/anatomy/root-provider.js +21 -0
  54. package/dist/components/avatar/anatomy/root-provider.js.map +1 -0
  55. package/dist/components/avatar/anatomy/root.d.ts +2 -2
  56. package/dist/components/avatar/anatomy/root.d.ts.map +1 -1
  57. package/dist/components/avatar/anatomy/root.js +1 -1
  58. package/dist/components/avatar/anatomy/root.js.map +1 -1
  59. package/dist/components/avatar/modules/anatomy.d.ts +6 -4
  60. package/dist/components/avatar/modules/anatomy.d.ts.map +1 -1
  61. package/dist/components/avatar/modules/anatomy.js +6 -4
  62. package/dist/components/avatar/modules/anatomy.js.map +1 -1
  63. package/dist/components/avatar/modules/root-context.js.map +1 -1
  64. package/dist/components/avatar/modules/use-avatar.d.ts +2 -1
  65. package/dist/components/avatar/modules/use-avatar.d.ts.map +1 -1
  66. package/dist/components/avatar/modules/use-avatar.js +2 -2
  67. package/dist/components/avatar/modules/use-avatar.js.map +1 -1
  68. package/dist/components/dialog/anatomy/backdrop.d.ts +11 -0
  69. package/dist/components/dialog/anatomy/backdrop.d.ts.map +1 -0
  70. package/dist/components/dialog/anatomy/backdrop.js +17 -0
  71. package/dist/components/dialog/anatomy/backdrop.js.map +1 -0
  72. package/dist/components/dialog/anatomy/close-trigger.d.ts +11 -0
  73. package/dist/components/dialog/anatomy/close-trigger.d.ts.map +1 -0
  74. package/dist/components/dialog/anatomy/close-trigger.js +20 -0
  75. package/dist/components/dialog/anatomy/close-trigger.js.map +1 -0
  76. package/dist/components/dialog/anatomy/content.d.ts +11 -0
  77. package/dist/components/dialog/anatomy/content.d.ts.map +1 -0
  78. package/dist/components/dialog/anatomy/content.js +20 -0
  79. package/dist/components/dialog/anatomy/content.js.map +1 -0
  80. package/dist/components/dialog/anatomy/description.d.ts +11 -0
  81. package/dist/components/dialog/anatomy/description.d.ts.map +1 -0
  82. package/dist/components/dialog/anatomy/description.js +20 -0
  83. package/dist/components/dialog/anatomy/description.js.map +1 -0
  84. package/dist/components/dialog/anatomy/positioner.d.ts +11 -0
  85. package/dist/components/dialog/anatomy/positioner.d.ts.map +1 -0
  86. package/dist/components/dialog/anatomy/positioner.js +20 -0
  87. package/dist/components/dialog/anatomy/positioner.js.map +1 -0
  88. package/dist/components/dialog/anatomy/root-context.d.ts +11 -0
  89. package/dist/components/dialog/anatomy/root-context.d.ts.map +1 -0
  90. package/dist/components/dialog/anatomy/root-context.js +13 -0
  91. package/dist/components/dialog/anatomy/root-context.js.map +1 -0
  92. package/dist/components/dialog/anatomy/root-provider.d.ts +12 -0
  93. package/dist/components/dialog/anatomy/root-provider.d.ts.map +1 -0
  94. package/dist/components/dialog/anatomy/root-provider.js +15 -0
  95. package/dist/components/dialog/anatomy/root-provider.js.map +1 -0
  96. package/dist/components/dialog/anatomy/root.d.ts +10 -0
  97. package/dist/components/dialog/anatomy/root.d.ts.map +1 -0
  98. package/dist/components/dialog/anatomy/root.js +20 -0
  99. package/dist/components/dialog/anatomy/root.js.map +1 -0
  100. package/dist/components/dialog/anatomy/title.d.ts +11 -0
  101. package/dist/components/dialog/anatomy/title.d.ts.map +1 -0
  102. package/dist/components/dialog/anatomy/title.js +20 -0
  103. package/dist/components/dialog/anatomy/title.js.map +1 -0
  104. package/dist/components/dialog/anatomy/trigger.d.ts +11 -0
  105. package/dist/components/dialog/anatomy/trigger.d.ts.map +1 -0
  106. package/dist/components/dialog/anatomy/trigger.js +20 -0
  107. package/dist/components/dialog/anatomy/trigger.js.map +1 -0
  108. package/dist/components/dialog/index.js +4 -0
  109. package/dist/components/dialog/modules/anatomy.d.ts +26 -0
  110. package/dist/components/dialog/modules/anatomy.d.ts.map +1 -0
  111. package/dist/components/dialog/modules/anatomy.js +27 -0
  112. package/dist/components/dialog/modules/anatomy.js.map +1 -0
  113. package/dist/components/dialog/modules/root-context.js +8 -0
  114. package/dist/components/dialog/modules/root-context.js.map +1 -0
  115. package/dist/components/dialog/modules/use-dialog.d.ts +8 -0
  116. package/dist/components/dialog/modules/use-dialog.d.ts.map +1 -0
  117. package/dist/components/dialog/modules/use-dialog.js +16 -0
  118. package/dist/components/dialog/modules/use-dialog.js.map +1 -0
  119. package/dist/components/file-upload/anatomy/dropzone.d.ts +3 -3
  120. package/dist/components/file-upload/anatomy/dropzone.d.ts.map +1 -1
  121. package/dist/components/file-upload/anatomy/dropzone.js +2 -2
  122. package/dist/components/file-upload/anatomy/dropzone.js.map +1 -1
  123. package/dist/components/file-upload/anatomy/hidden-input.d.ts +3 -3
  124. package/dist/components/file-upload/anatomy/hidden-input.d.ts.map +1 -1
  125. package/dist/components/file-upload/anatomy/hidden-input.js +2 -2
  126. package/dist/components/file-upload/anatomy/hidden-input.js.map +1 -1
  127. package/dist/components/file-upload/anatomy/item-delete-trigger.d.ts +3 -3
  128. package/dist/components/file-upload/anatomy/item-delete-trigger.d.ts.map +1 -1
  129. package/dist/components/file-upload/anatomy/item-delete-trigger.js +4 -4
  130. package/dist/components/file-upload/anatomy/item-delete-trigger.js.map +1 -1
  131. package/dist/components/file-upload/anatomy/item-group.d.ts +3 -3
  132. package/dist/components/file-upload/anatomy/item-group.d.ts.map +1 -1
  133. package/dist/components/file-upload/anatomy/item-group.js +2 -2
  134. package/dist/components/file-upload/anatomy/item-group.js.map +1 -1
  135. package/dist/components/file-upload/anatomy/item-name.d.ts +3 -3
  136. package/dist/components/file-upload/anatomy/item-name.d.ts.map +1 -1
  137. package/dist/components/file-upload/anatomy/item-name.js +2 -2
  138. package/dist/components/file-upload/anatomy/item-name.js.map +1 -1
  139. package/dist/components/file-upload/anatomy/item-size-text.d.ts +3 -3
  140. package/dist/components/file-upload/anatomy/item-size-text.d.ts.map +1 -1
  141. package/dist/components/file-upload/anatomy/item-size-text.js +2 -2
  142. package/dist/components/file-upload/anatomy/item-size-text.js.map +1 -1
  143. package/dist/components/file-upload/anatomy/item.d.ts +2 -2
  144. package/dist/components/file-upload/anatomy/item.d.ts.map +1 -1
  145. package/dist/components/file-upload/anatomy/item.js +2 -2
  146. package/dist/components/file-upload/anatomy/item.js.map +1 -1
  147. package/dist/components/file-upload/anatomy/root-context.js.map +1 -1
  148. package/dist/components/file-upload/anatomy/root-provider.d.ts +2 -2
  149. package/dist/components/file-upload/anatomy/root-provider.d.ts.map +1 -1
  150. package/dist/components/file-upload/anatomy/root-provider.js +1 -1
  151. package/dist/components/file-upload/anatomy/root-provider.js.map +1 -1
  152. package/dist/components/file-upload/anatomy/root.d.ts +2 -2
  153. package/dist/components/file-upload/anatomy/root.d.ts.map +1 -1
  154. package/dist/components/file-upload/anatomy/root.js +1 -1
  155. package/dist/components/file-upload/anatomy/root.js.map +1 -1
  156. package/dist/components/file-upload/anatomy/trigger.d.ts +3 -3
  157. package/dist/components/file-upload/anatomy/trigger.d.ts.map +1 -1
  158. package/dist/components/file-upload/anatomy/trigger.js +2 -2
  159. package/dist/components/file-upload/anatomy/trigger.js.map +1 -1
  160. package/dist/components/file-upload/modules/item-context.js.map +1 -1
  161. package/dist/components/file-upload/modules/root-context.js.map +1 -1
  162. package/dist/components/file-upload/modules/use-file-upload.d.ts +2 -1
  163. package/dist/components/file-upload/modules/use-file-upload.d.ts.map +1 -1
  164. package/dist/components/file-upload/modules/use-file-upload.js +1 -1
  165. package/dist/components/file-upload/modules/use-file-upload.js.map +1 -1
  166. package/dist/components/popover/anatomy/arrow-tip.d.ts +11 -0
  167. package/dist/components/popover/anatomy/arrow-tip.d.ts.map +1 -0
  168. package/dist/components/popover/anatomy/arrow-tip.js +20 -0
  169. package/dist/components/popover/anatomy/arrow-tip.js.map +1 -0
  170. package/dist/components/popover/anatomy/arrow.d.ts +11 -0
  171. package/dist/components/popover/anatomy/arrow.d.ts.map +1 -0
  172. package/dist/components/popover/anatomy/arrow.js +20 -0
  173. package/dist/components/popover/anatomy/arrow.js.map +1 -0
  174. package/dist/components/popover/anatomy/close-trigger.d.ts +11 -0
  175. package/dist/components/popover/anatomy/close-trigger.d.ts.map +1 -0
  176. package/dist/components/popover/anatomy/close-trigger.js +20 -0
  177. package/dist/components/popover/anatomy/close-trigger.js.map +1 -0
  178. package/dist/components/popover/anatomy/content.d.ts +11 -0
  179. package/dist/components/popover/anatomy/content.d.ts.map +1 -0
  180. package/dist/components/popover/anatomy/content.js +20 -0
  181. package/dist/components/popover/anatomy/content.js.map +1 -0
  182. package/dist/components/popover/anatomy/description.d.ts +11 -0
  183. package/dist/components/popover/anatomy/description.d.ts.map +1 -0
  184. package/dist/components/popover/anatomy/description.js +20 -0
  185. package/dist/components/popover/anatomy/description.js.map +1 -0
  186. package/dist/components/popover/anatomy/positioner.d.ts +10 -0
  187. package/dist/components/popover/anatomy/positioner.d.ts.map +1 -0
  188. package/dist/components/popover/anatomy/positioner.js +21 -0
  189. package/dist/components/popover/anatomy/positioner.js.map +1 -0
  190. package/dist/components/popover/anatomy/root-context.d.ts +11 -0
  191. package/dist/components/popover/anatomy/root-context.d.ts.map +1 -0
  192. package/dist/components/popover/anatomy/root-context.js +13 -0
  193. package/dist/components/popover/anatomy/root-context.js.map +1 -0
  194. package/dist/components/popover/anatomy/root-provider.d.ts +12 -0
  195. package/dist/components/popover/anatomy/root-provider.d.ts.map +1 -0
  196. package/dist/components/popover/anatomy/root-provider.js +15 -0
  197. package/dist/components/popover/anatomy/root-provider.js.map +1 -0
  198. package/dist/components/popover/anatomy/root.d.ts +10 -0
  199. package/dist/components/popover/anatomy/root.d.ts.map +1 -0
  200. package/dist/components/popover/anatomy/root.js +20 -0
  201. package/dist/components/popover/anatomy/root.js.map +1 -0
  202. package/dist/components/popover/anatomy/title.d.ts +11 -0
  203. package/dist/components/popover/anatomy/title.d.ts.map +1 -0
  204. package/dist/components/popover/anatomy/title.js +20 -0
  205. package/dist/components/popover/anatomy/title.js.map +1 -0
  206. package/dist/components/popover/anatomy/trigger.d.ts +12 -0
  207. package/dist/components/popover/anatomy/trigger.d.ts.map +1 -0
  208. package/dist/components/popover/anatomy/trigger.js +20 -0
  209. package/dist/components/popover/anatomy/trigger.js.map +1 -0
  210. package/dist/components/popover/index.js +4 -0
  211. package/dist/components/popover/modules/anatomy.d.ts +28 -0
  212. package/dist/components/popover/modules/anatomy.d.ts.map +1 -0
  213. package/dist/components/popover/modules/anatomy.js +29 -0
  214. package/dist/components/popover/modules/anatomy.js.map +1 -0
  215. package/dist/components/popover/modules/root-context.js +8 -0
  216. package/dist/components/popover/modules/root-context.js.map +1 -0
  217. package/dist/components/popover/modules/use-popover.d.ts +8 -0
  218. package/dist/components/popover/modules/use-popover.d.ts.map +1 -0
  219. package/dist/components/popover/modules/use-popover.js +16 -0
  220. package/dist/components/popover/modules/use-popover.js.map +1 -0
  221. package/dist/components/progress-linear/anatomy/label.d.ts +4 -4
  222. package/dist/components/progress-linear/anatomy/label.d.ts.map +1 -1
  223. package/dist/components/progress-linear/anatomy/label.js +4 -4
  224. package/dist/components/progress-linear/anatomy/label.js.map +1 -1
  225. package/dist/components/progress-linear/anatomy/range.d.ts +4 -4
  226. package/dist/components/progress-linear/anatomy/range.d.ts.map +1 -1
  227. package/dist/components/progress-linear/anatomy/range.js +4 -4
  228. package/dist/components/progress-linear/anatomy/range.js.map +1 -1
  229. package/dist/components/progress-linear/anatomy/root-context.d.ts +2 -2
  230. package/dist/components/progress-linear/anatomy/root-context.d.ts.map +1 -1
  231. package/dist/components/progress-linear/anatomy/root-context.js +2 -2
  232. package/dist/components/progress-linear/anatomy/root-context.js.map +1 -1
  233. package/dist/components/progress-linear/anatomy/root-provider.d.ts +3 -3
  234. package/dist/components/progress-linear/anatomy/root-provider.d.ts.map +1 -1
  235. package/dist/components/progress-linear/anatomy/root-provider.js +3 -3
  236. package/dist/components/progress-linear/anatomy/root-provider.js.map +1 -1
  237. package/dist/components/progress-linear/anatomy/root.d.ts +3 -3
  238. package/dist/components/progress-linear/anatomy/root.d.ts.map +1 -1
  239. package/dist/components/progress-linear/anatomy/root.js +3 -3
  240. package/dist/components/progress-linear/anatomy/root.js.map +1 -1
  241. package/dist/components/progress-linear/anatomy/track.d.ts +4 -4
  242. package/dist/components/progress-linear/anatomy/track.d.ts.map +1 -1
  243. package/dist/components/progress-linear/anatomy/track.js +4 -4
  244. package/dist/components/progress-linear/anatomy/track.js.map +1 -1
  245. package/dist/components/progress-linear/modules/anatomy.d.ts +12 -12
  246. package/dist/components/progress-linear/modules/anatomy.d.ts.map +1 -1
  247. package/dist/components/progress-linear/modules/anatomy.js +12 -12
  248. package/dist/components/progress-linear/modules/anatomy.js.map +1 -1
  249. package/dist/components/progress-linear/modules/root-context.js.map +1 -1
  250. package/dist/components/progress-linear/modules/use-progress-linear.d.ts +2 -1
  251. package/dist/components/progress-linear/modules/use-progress-linear.d.ts.map +1 -1
  252. package/dist/components/progress-linear/modules/use-progress-linear.js +2 -2
  253. package/dist/components/progress-linear/modules/use-progress-linear.js.map +1 -1
  254. package/dist/components/rating-group/anatomy/control.d.ts +4 -4
  255. package/dist/components/rating-group/anatomy/control.d.ts.map +1 -1
  256. package/dist/components/rating-group/anatomy/control.js +4 -4
  257. package/dist/components/rating-group/anatomy/control.js.map +1 -1
  258. package/dist/components/rating-group/anatomy/hidden-input.d.ts +4 -4
  259. package/dist/components/rating-group/anatomy/hidden-input.d.ts.map +1 -1
  260. package/dist/components/rating-group/anatomy/hidden-input.js +4 -4
  261. package/dist/components/rating-group/anatomy/hidden-input.js.map +1 -1
  262. package/dist/components/rating-group/anatomy/item.d.ts +4 -4
  263. package/dist/components/rating-group/anatomy/item.d.ts.map +1 -1
  264. package/dist/components/rating-group/anatomy/item.js +4 -4
  265. package/dist/components/rating-group/anatomy/item.js.map +1 -1
  266. package/dist/components/rating-group/anatomy/label.d.ts +4 -4
  267. package/dist/components/rating-group/anatomy/label.d.ts.map +1 -1
  268. package/dist/components/rating-group/anatomy/label.js +4 -4
  269. package/dist/components/rating-group/anatomy/label.js.map +1 -1
  270. package/dist/components/rating-group/anatomy/root-context.d.ts +2 -2
  271. package/dist/components/rating-group/anatomy/root-context.d.ts.map +1 -1
  272. package/dist/components/rating-group/anatomy/root-context.js +2 -2
  273. package/dist/components/rating-group/anatomy/root-context.js.map +1 -1
  274. package/dist/components/rating-group/anatomy/root-provider.d.ts +3 -3
  275. package/dist/components/rating-group/anatomy/root-provider.d.ts.map +1 -1
  276. package/dist/components/rating-group/anatomy/root-provider.js +3 -3
  277. package/dist/components/rating-group/anatomy/root-provider.js.map +1 -1
  278. package/dist/components/rating-group/anatomy/root.d.ts +3 -3
  279. package/dist/components/rating-group/anatomy/root.d.ts.map +1 -1
  280. package/dist/components/rating-group/anatomy/root.js +3 -3
  281. package/dist/components/rating-group/anatomy/root.js.map +1 -1
  282. package/dist/components/rating-group/modules/anatomy.d.ts +14 -14
  283. package/dist/components/rating-group/modules/anatomy.d.ts.map +1 -1
  284. package/dist/components/rating-group/modules/anatomy.js +14 -14
  285. package/dist/components/rating-group/modules/anatomy.js.map +1 -1
  286. package/dist/components/rating-group/modules/root-context.js.map +1 -1
  287. package/dist/components/rating-group/modules/use-rating-group.d.ts +2 -1
  288. package/dist/components/rating-group/modules/use-rating-group.d.ts.map +1 -1
  289. package/dist/components/rating-group/modules/use-rating-group.js +2 -2
  290. package/dist/components/rating-group/modules/use-rating-group.js.map +1 -1
  291. package/dist/components/switch/anatomy/control.d.ts +4 -4
  292. package/dist/components/switch/anatomy/control.d.ts.map +1 -1
  293. package/dist/components/switch/anatomy/control.js +4 -4
  294. package/dist/components/switch/anatomy/control.js.map +1 -1
  295. package/dist/components/switch/anatomy/hidden-input.d.ts +4 -4
  296. package/dist/components/switch/anatomy/hidden-input.d.ts.map +1 -1
  297. package/dist/components/switch/anatomy/hidden-input.js +4 -4
  298. package/dist/components/switch/anatomy/hidden-input.js.map +1 -1
  299. package/dist/components/switch/anatomy/label.d.ts +4 -4
  300. package/dist/components/switch/anatomy/label.d.ts.map +1 -1
  301. package/dist/components/switch/anatomy/label.js +4 -4
  302. package/dist/components/switch/anatomy/label.js.map +1 -1
  303. package/dist/components/switch/anatomy/root-context.d.ts +2 -2
  304. package/dist/components/switch/anatomy/root-context.d.ts.map +1 -1
  305. package/dist/components/switch/anatomy/root-context.js +2 -2
  306. package/dist/components/switch/anatomy/root-context.js.map +1 -1
  307. package/dist/components/switch/anatomy/root-provider.d.ts +3 -2
  308. package/dist/components/switch/anatomy/root-provider.d.ts.map +1 -1
  309. package/dist/components/switch/anatomy/root-provider.js +21 -0
  310. package/dist/components/switch/anatomy/root-provider.js.map +1 -0
  311. package/dist/components/switch/anatomy/root.d.ts +3 -3
  312. package/dist/components/switch/anatomy/root.d.ts.map +1 -1
  313. package/dist/components/switch/anatomy/root.js +3 -3
  314. package/dist/components/switch/anatomy/root.js.map +1 -1
  315. package/dist/components/switch/anatomy/thumb.d.ts +4 -4
  316. package/dist/components/switch/anatomy/thumb.d.ts.map +1 -1
  317. package/dist/components/switch/anatomy/thumb.js +4 -4
  318. package/dist/components/switch/anatomy/thumb.js.map +1 -1
  319. package/dist/components/switch/modules/anatomy.d.ts +14 -12
  320. package/dist/components/switch/modules/anatomy.d.ts.map +1 -1
  321. package/dist/components/switch/modules/anatomy.js +14 -12
  322. package/dist/components/switch/modules/anatomy.js.map +1 -1
  323. package/dist/components/switch/modules/root-context.js.map +1 -1
  324. package/dist/components/switch/modules/use-switch.d.ts +2 -1
  325. package/dist/components/switch/modules/use-switch.d.ts.map +1 -1
  326. package/dist/components/switch/modules/use-switch.js +2 -2
  327. package/dist/components/switch/modules/use-switch.js.map +1 -1
  328. package/dist/components/tabs/anatomy/content.d.ts +4 -4
  329. package/dist/components/tabs/anatomy/content.d.ts.map +1 -1
  330. package/dist/components/tabs/anatomy/content.js +4 -4
  331. package/dist/components/tabs/anatomy/content.js.map +1 -1
  332. package/dist/components/tabs/anatomy/indicator.d.ts +4 -4
  333. package/dist/components/tabs/anatomy/indicator.d.ts.map +1 -1
  334. package/dist/components/tabs/anatomy/indicator.js +4 -4
  335. package/dist/components/tabs/anatomy/indicator.js.map +1 -1
  336. package/dist/components/tabs/anatomy/list.d.ts +4 -4
  337. package/dist/components/tabs/anatomy/list.d.ts.map +1 -1
  338. package/dist/components/tabs/anatomy/list.js +4 -4
  339. package/dist/components/tabs/anatomy/list.js.map +1 -1
  340. package/dist/components/tabs/anatomy/root-context.js.map +1 -1
  341. package/dist/components/tabs/anatomy/root-provider.d.ts +3 -3
  342. package/dist/components/tabs/anatomy/root-provider.d.ts.map +1 -1
  343. package/dist/components/tabs/anatomy/root-provider.js +3 -3
  344. package/dist/components/tabs/anatomy/root-provider.js.map +1 -1
  345. package/dist/components/tabs/anatomy/root.d.ts +3 -3
  346. package/dist/components/tabs/anatomy/root.d.ts.map +1 -1
  347. package/dist/components/tabs/anatomy/root.js +3 -3
  348. package/dist/components/tabs/anatomy/root.js.map +1 -1
  349. package/dist/components/tabs/anatomy/trigger.d.ts +4 -4
  350. package/dist/components/tabs/anatomy/trigger.d.ts.map +1 -1
  351. package/dist/components/tabs/anatomy/trigger.js +4 -4
  352. package/dist/components/tabs/anatomy/trigger.js.map +1 -1
  353. package/dist/components/tabs/modules/anatomy.d.ts +12 -12
  354. package/dist/components/tabs/modules/anatomy.d.ts.map +1 -1
  355. package/dist/components/tabs/modules/anatomy.js +12 -12
  356. package/dist/components/tabs/modules/anatomy.js.map +1 -1
  357. package/dist/components/tabs/modules/root-context.js.map +1 -1
  358. package/dist/components/tabs/modules/use-tabs.d.ts +2 -1
  359. package/dist/components/tabs/modules/use-tabs.d.ts.map +1 -1
  360. package/dist/components/tabs/modules/use-tabs.js +2 -2
  361. package/dist/components/tabs/modules/use-tabs.js.map +1 -1
  362. package/dist/components/tags-input/anatomy/clear-trigger.d.ts +11 -0
  363. package/dist/components/tags-input/anatomy/clear-trigger.d.ts.map +1 -0
  364. package/dist/components/tags-input/anatomy/clear-trigger.js +20 -0
  365. package/dist/components/tags-input/anatomy/clear-trigger.js.map +1 -0
  366. package/dist/components/tags-input/anatomy/control.d.ts +11 -0
  367. package/dist/components/tags-input/anatomy/control.d.ts.map +1 -0
  368. package/dist/components/tags-input/anatomy/control.js +20 -0
  369. package/dist/components/tags-input/anatomy/control.js.map +1 -0
  370. package/dist/components/tags-input/anatomy/hidden-input.d.ts +11 -0
  371. package/dist/components/tags-input/anatomy/hidden-input.d.ts.map +1 -0
  372. package/dist/components/tags-input/anatomy/hidden-input.js +17 -0
  373. package/dist/components/tags-input/anatomy/hidden-input.js.map +1 -0
  374. package/dist/components/tags-input/anatomy/input.d.ts +11 -0
  375. package/dist/components/tags-input/anatomy/input.d.ts.map +1 -0
  376. package/dist/components/tags-input/anatomy/input.js +17 -0
  377. package/dist/components/tags-input/anatomy/input.js.map +1 -0
  378. package/dist/components/tags-input/anatomy/item-delete-trigger.d.ts +11 -0
  379. package/dist/components/tags-input/anatomy/item-delete-trigger.d.ts.map +1 -0
  380. package/dist/components/tags-input/anatomy/item-delete-trigger.js +22 -0
  381. package/dist/components/tags-input/anatomy/item-delete-trigger.js.map +1 -0
  382. package/dist/components/tags-input/anatomy/item-input.d.ts +11 -0
  383. package/dist/components/tags-input/anatomy/item-input.d.ts.map +1 -0
  384. package/dist/components/tags-input/anatomy/item-input.js +19 -0
  385. package/dist/components/tags-input/anatomy/item-input.js.map +1 -0
  386. package/dist/components/tags-input/anatomy/item-preview.d.ts +11 -0
  387. package/dist/components/tags-input/anatomy/item-preview.d.ts.map +1 -0
  388. package/dist/components/tags-input/anatomy/item-preview.js +22 -0
  389. package/dist/components/tags-input/anatomy/item-preview.js.map +1 -0
  390. package/dist/components/tags-input/anatomy/item-text.d.ts +11 -0
  391. package/dist/components/tags-input/anatomy/item-text.d.ts.map +1 -0
  392. package/dist/components/tags-input/anatomy/item-text.js +22 -0
  393. package/dist/components/tags-input/anatomy/item-text.js.map +1 -0
  394. package/dist/components/tags-input/anatomy/item.d.ts +11 -0
  395. package/dist/components/tags-input/anatomy/item.d.ts.map +1 -0
  396. package/dist/components/tags-input/anatomy/item.js +26 -0
  397. package/dist/components/tags-input/anatomy/item.js.map +1 -0
  398. package/dist/components/tags-input/anatomy/label.d.ts +11 -0
  399. package/dist/components/tags-input/anatomy/label.d.ts.map +1 -0
  400. package/dist/components/tags-input/anatomy/label.js +20 -0
  401. package/dist/components/tags-input/anatomy/label.js.map +1 -0
  402. package/dist/components/tags-input/anatomy/root-context.d.ts +11 -0
  403. package/dist/components/tags-input/anatomy/root-context.d.ts.map +1 -0
  404. package/dist/components/tags-input/anatomy/root-context.js +13 -0
  405. package/dist/components/tags-input/anatomy/root-context.js.map +1 -0
  406. package/dist/components/tags-input/anatomy/root-provider.d.ts +13 -0
  407. package/dist/components/tags-input/anatomy/root-provider.d.ts.map +1 -0
  408. package/dist/components/tags-input/anatomy/root-provider.js +21 -0
  409. package/dist/components/tags-input/anatomy/root-provider.js.map +1 -0
  410. package/dist/components/tags-input/anatomy/root.d.ts +11 -0
  411. package/dist/components/tags-input/anatomy/root.d.ts.map +1 -0
  412. package/dist/components/tags-input/anatomy/root.js +25 -0
  413. package/dist/components/tags-input/anatomy/root.js.map +1 -0
  414. package/dist/components/tags-input/index.js +4 -0
  415. package/dist/components/tags-input/modules/anatomy.d.ts +32 -0
  416. package/dist/components/tags-input/modules/anatomy.d.ts.map +1 -0
  417. package/dist/components/tags-input/modules/anatomy.js +33 -0
  418. package/dist/components/tags-input/modules/anatomy.js.map +1 -0
  419. package/dist/components/tags-input/modules/item-context.js +8 -0
  420. package/dist/components/tags-input/modules/item-context.js.map +1 -0
  421. package/dist/components/tags-input/modules/root-context.js +8 -0
  422. package/dist/components/tags-input/modules/root-context.js.map +1 -0
  423. package/dist/components/tags-input/modules/use-tags-input.d.ts +8 -0
  424. package/dist/components/tags-input/modules/use-tags-input.d.ts.map +1 -0
  425. package/dist/components/tags-input/modules/use-tags-input.js +16 -0
  426. package/dist/components/tags-input/modules/use-tags-input.js.map +1 -0
  427. package/dist/components/toast/anatomy/action-trigger.d.ts +4 -4
  428. package/dist/components/toast/anatomy/action-trigger.d.ts.map +1 -1
  429. package/dist/components/toast/anatomy/action-trigger.js +4 -4
  430. package/dist/components/toast/anatomy/action-trigger.js.map +1 -1
  431. package/dist/components/toast/anatomy/close-trigger.d.ts +4 -4
  432. package/dist/components/toast/anatomy/close-trigger.d.ts.map +1 -1
  433. package/dist/components/toast/anatomy/close-trigger.js +4 -4
  434. package/dist/components/toast/anatomy/close-trigger.js.map +1 -1
  435. package/dist/components/toast/anatomy/description.d.ts +4 -4
  436. package/dist/components/toast/anatomy/description.d.ts.map +1 -1
  437. package/dist/components/toast/anatomy/description.js +4 -4
  438. package/dist/components/toast/anatomy/description.js.map +1 -1
  439. package/dist/components/toast/anatomy/group.d.ts +3 -3
  440. package/dist/components/toast/anatomy/group.d.ts.map +1 -1
  441. package/dist/components/toast/anatomy/group.js +4 -4
  442. package/dist/components/toast/anatomy/group.js.map +1 -1
  443. package/dist/components/toast/anatomy/message.d.ts +4 -4
  444. package/dist/components/toast/anatomy/message.d.ts.map +1 -1
  445. package/dist/components/toast/anatomy/message.js +3 -3
  446. package/dist/components/toast/anatomy/message.js.map +1 -1
  447. package/dist/components/toast/anatomy/root-context.d.ts +4 -3
  448. package/dist/components/toast/anatomy/root-context.d.ts.map +1 -1
  449. package/dist/components/toast/anatomy/root-context.js +2 -2
  450. package/dist/components/toast/anatomy/root-context.js.map +1 -1
  451. package/dist/components/toast/anatomy/root.d.ts +2 -2
  452. package/dist/components/toast/anatomy/root.d.ts.map +1 -1
  453. package/dist/components/toast/anatomy/root.js +4 -4
  454. package/dist/components/toast/anatomy/root.js.map +1 -1
  455. package/dist/components/toast/anatomy/title.d.ts +4 -4
  456. package/dist/components/toast/anatomy/title.d.ts.map +1 -1
  457. package/dist/components/toast/anatomy/title.js +4 -4
  458. package/dist/components/toast/anatomy/title.js.map +1 -1
  459. package/dist/components/toast/modules/anatomy.d.ts +14 -14
  460. package/dist/components/toast/modules/anatomy.d.ts.map +1 -1
  461. package/dist/components/toast/modules/anatomy.js +14 -14
  462. package/dist/components/toast/modules/anatomy.js.map +1 -1
  463. package/dist/components/toast/modules/group-context.js.map +1 -1
  464. package/dist/components/toast/modules/root-context.js.map +1 -1
  465. package/dist/components/tooltip/anatomy/arrow-tip.d.ts +11 -0
  466. package/dist/components/tooltip/anatomy/arrow-tip.d.ts.map +1 -0
  467. package/dist/components/tooltip/anatomy/arrow-tip.js +20 -0
  468. package/dist/components/tooltip/anatomy/arrow-tip.js.map +1 -0
  469. package/dist/components/tooltip/anatomy/arrow.d.ts +11 -0
  470. package/dist/components/tooltip/anatomy/arrow.d.ts.map +1 -0
  471. package/dist/components/tooltip/anatomy/arrow.js +20 -0
  472. package/dist/components/tooltip/anatomy/arrow.js.map +1 -0
  473. package/dist/components/tooltip/anatomy/content.d.ts +11 -0
  474. package/dist/components/tooltip/anatomy/content.d.ts.map +1 -0
  475. package/dist/components/tooltip/anatomy/content.js +20 -0
  476. package/dist/components/tooltip/anatomy/content.js.map +1 -0
  477. package/dist/components/tooltip/anatomy/positioner.d.ts +10 -0
  478. package/dist/components/tooltip/anatomy/positioner.d.ts.map +1 -0
  479. package/dist/components/tooltip/anatomy/positioner.js +20 -0
  480. package/dist/components/tooltip/anatomy/positioner.js.map +1 -0
  481. package/dist/components/tooltip/anatomy/root-context.d.ts +11 -0
  482. package/dist/components/tooltip/anatomy/root-context.d.ts.map +1 -0
  483. package/dist/components/tooltip/anatomy/root-context.js +13 -0
  484. package/dist/components/tooltip/anatomy/root-context.js.map +1 -0
  485. package/dist/components/tooltip/anatomy/root-provider.d.ts +12 -0
  486. package/dist/components/tooltip/anatomy/root-provider.d.ts.map +1 -0
  487. package/dist/components/tooltip/anatomy/root-provider.js +15 -0
  488. package/dist/components/tooltip/anatomy/root-provider.js.map +1 -0
  489. package/dist/components/tooltip/anatomy/root.d.ts +10 -0
  490. package/dist/components/tooltip/anatomy/root.d.ts.map +1 -0
  491. package/dist/components/tooltip/anatomy/root.js +19 -0
  492. package/dist/components/tooltip/anatomy/root.js.map +1 -0
  493. package/dist/components/tooltip/anatomy/trigger.d.ts +11 -0
  494. package/dist/components/tooltip/anatomy/trigger.d.ts.map +1 -0
  495. package/dist/components/tooltip/anatomy/trigger.js +20 -0
  496. package/dist/components/tooltip/anatomy/trigger.js.map +1 -0
  497. package/dist/components/tooltip/index.js +4 -0
  498. package/dist/components/tooltip/modules/anatomy.d.ts +22 -0
  499. package/dist/components/tooltip/modules/anatomy.d.ts.map +1 -0
  500. package/dist/components/tooltip/modules/anatomy.js +23 -0
  501. package/dist/components/tooltip/modules/anatomy.js.map +1 -0
  502. package/dist/components/tooltip/modules/root-context.js +8 -0
  503. package/dist/components/tooltip/modules/root-context.js.map +1 -0
  504. package/dist/components/tooltip/modules/use-tooltip.d.ts +8 -0
  505. package/dist/components/tooltip/modules/use-tooltip.d.ts.map +1 -0
  506. package/dist/components/tooltip/modules/use-tooltip.js +16 -0
  507. package/dist/components/tooltip/modules/use-tooltip.js.map +1 -0
  508. package/dist/index.d.ts +53 -5
  509. package/dist/index.js +13 -1
  510. package/dist/internal/components/x.js +8 -3
  511. package/dist/internal/components/x.js.map +1 -1
  512. package/dist/internal/create-context.js +1 -1
  513. package/dist/internal/create-context.js.map +1 -1
  514. package/dist/internal/props-with-element.d.ts.map +1 -1
  515. package/package.json +30 -25
  516. package/dist/components/accordion/anatomy/content.d.ts +0 -12
  517. package/dist/components/accordion/anatomy/content.d.ts.map +0 -1
  518. package/dist/components/accordion/anatomy/content.js.map +0 -1
  519. package/dist/components/accordion/anatomy/heading.d.ts +0 -19
  520. package/dist/components/accordion/anatomy/heading.d.ts.map +0 -1
  521. package/dist/components/accordion/anatomy/heading.js.map +0 -1
  522. package/dist/components/accordion/anatomy/indicator.d.ts +0 -12
  523. package/dist/components/accordion/anatomy/indicator.d.ts.map +0 -1
  524. package/dist/components/accordion/anatomy/indicator.js.map +0 -1
  525. package/dist/components/accordion/anatomy/trigger.d.ts +0 -12
  526. package/dist/components/accordion/anatomy/trigger.d.ts.map +0 -1
  527. package/dist/components/accordion/anatomy/trigger.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"use-progress-linear.js","names":[],"sources":["../../../../src/components/progress-linear/modules/use-progress-linear.ts"],"sourcesContent":["import { type Api, connect, machine, type Props } from '@zag-js/progress';\nimport { normalizeProps, useMachine } from '@zag-js/react';\nimport { useId } from 'react';\n\nexport function useProgressLinear(props: Omit<Props, 'id'>): Api {\n\tconst service = useMachine(machine, {\n\t\tid: useId(),\n\t\t...props,\n\t});\n\treturn connect(service, normalizeProps);\n}\n"],"mappings":";;;;;AAIA,SAAgB,kBAAkB,OAA+B;CAChE,MAAM,UAAU,WAAW,SAAS;EACnC,IAAI,OAAO;EACX,GAAG;EACH,CAAC;AACF,QAAO,QAAQ,SAAS,eAAe"}
1
+ {"version":3,"file":"use-progress-linear.js","names":[],"sources":["../../../../src/components/progress-linear/modules/use-progress-linear.ts"],"sourcesContent":["import { connect, machine } from '@zag-js/progress';\nimport type { Api, Props } from '@zag-js/progress';\nimport { normalizeProps, useMachine, type PropTypes } from '@zag-js/react';\nimport { useId } from 'react';\n\nexport function useProgressLinear(props: Omit<Props, 'id'> = {}): Api<PropTypes> {\n\tconst service = useMachine(machine, {\n\t\tid: useId(),\n\t\t...props,\n\t});\n\treturn connect(service, normalizeProps);\n}\n"],"mappings":";;;;;AAKA,SAAgB,kBAAkB,QAA2B,EAAE,EAAkB;CAChF,MAAM,UAAU,WAAW,SAAS;EACnC,IAAI,OAAO;EACX,GAAG;EACH,CAAC;AACF,QAAO,QAAQ,SAAS,eAAe"}
@@ -1,11 +1,11 @@
1
1
  import { HTMLAttributes } from "../../../internal/html-attributes.js";
2
2
  import { PropsWithElement } from "../../../internal/props-with-element.js";
3
- import * as react119 from "react";
4
- import * as react_jsx_runtime36 from "react/jsx-runtime";
3
+ import * as react139 from "react";
4
+ import * as react_jsx_runtime42 from "react/jsx-runtime";
5
5
 
6
6
  //#region src/components/rating-group/anatomy/control.d.ts
7
7
  interface RatingGroupControlProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir'> {}
8
- declare function RatingGroupControl(props: RatingGroupControlProps): string | number | bigint | boolean | Iterable<react119.ReactNode> | Promise<string | number | bigint | boolean | react119.ReactPortal | react119.ReactElement<unknown, string | react119.JSXElementConstructor<any>> | Iterable<react119.ReactNode> | null | undefined> | react_jsx_runtime36.JSX.Element | null | undefined;
8
+ declare function Control(props: RatingGroupControlProps): string | number | bigint | boolean | Iterable<react139.ReactNode> | Promise<string | number | bigint | boolean | react139.ReactPortal | react139.ReactElement<unknown, string | react139.JSXElementConstructor<any>> | Iterable<react139.ReactNode> | null | undefined> | react_jsx_runtime42.JSX.Element | null | undefined;
9
9
  //#endregion
10
- export { RatingGroupControl, RatingGroupControlProps };
10
+ export { Control, RatingGroupControlProps };
11
11
  //# sourceMappingURL=control.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"control.d.ts","names":[],"sources":["../../../../src/components/rating-group/anatomy/control.tsx"],"sourcesContent":[],"mappings":";;;;;;UASiB,uBAAA,SAAgC,yBAAyB;iBAElD,kBAAA,QAA0B,+DAAuB,SAAA,QAAA,CAAA,SAAA,IAAA,6CAAA,QAAA,CAAA,WAAA,GAAA,QAAA,CAAA,+BAAA,QAAA,CAAA,8BAAA,SAAA,QAAA,CAAA,SAAA,wBAAA,mBAAA,CAAA,GAAA,CAAA,OAAA"}
1
+ {"version":3,"file":"control.d.ts","names":[],"sources":["../../../../src/components/rating-group/anatomy/control.tsx"],"sourcesContent":[],"mappings":";;;;;;UAOiB,uBAAA,SAAgC,yBAAyB;iBAElD,OAAA,QAAe,+DAAuB,SAAA,QAAA,CAAA,SAAA,IAAA,6CAAA,QAAA,CAAA,WAAA,GAAA,QAAA,CAAA,+BAAA,QAAA,CAAA,8BAAA,SAAA,QAAA,CAAA,SAAA,wBAAA,mBAAA,CAAA,GAAA,CAAA,OAAA"}
@@ -1,11 +1,11 @@
1
1
  import { RatingGroupRootContext } from "../modules/root-context.js";
2
- import { classesRatingGroup } from "@skeletonlabs/skeleton-common";
3
- import { mergeProps } from "@zag-js/react";
4
2
  import { use } from "react";
3
+ import { mergeProps } from "@zag-js/react";
4
+ import { classesRatingGroup } from "@skeletonlabs/skeleton-common";
5
5
  import { jsx } from "react/jsx-runtime";
6
6
 
7
7
  //#region src/components/rating-group/anatomy/control.tsx
8
- function RatingGroupControl(props) {
8
+ function Control(props) {
9
9
  const ratingGroup = use(RatingGroupRootContext);
10
10
  const { element, children,...rest } = props;
11
11
  const attributes = mergeProps(ratingGroup.getControlProps(), rest, { className: classesRatingGroup.control });
@@ -16,5 +16,5 @@ function RatingGroupControl(props) {
16
16
  }
17
17
 
18
18
  //#endregion
19
- export { RatingGroupControl as default };
19
+ export { Control as default };
20
20
  //# sourceMappingURL=control.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"control.js","names":[],"sources":["../../../../src/components/rating-group/anatomy/control.tsx"],"sourcesContent":["import { classesRatingGroup } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\n\nimport { RatingGroupRootContext } from '../modules/root-context';\n\nexport interface RatingGroupControlProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir'> {}\n\nexport default function RatingGroupControl(props: RatingGroupControlProps) {\n\tconst ratingGroup = use(RatingGroupRootContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(ratingGroup.getControlProps(), rest, {\n\t\tclassName: classesRatingGroup.control,\n\t});\n\n\treturn element ? element(attributes) : <div {...attributes}>{children}</div>;\n}\n"],"mappings":";;;;;;;AAWA,SAAwB,mBAAmB,OAAgC;CAC1E,MAAM,cAAc,IAAI,uBAAuB;CAE/C,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,aAAa,WAAW,YAAY,iBAAiB,EAAE,MAAM,EAClE,WAAW,mBAAmB,SAC9B,CAAC;AAEF,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC;EAAI,GAAI;EAAa;GAAe"}
1
+ {"version":3,"file":"control.js","names":[],"sources":["../../../../src/components/rating-group/anatomy/control.tsx"],"sourcesContent":["import { RatingGroupRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesRatingGroup } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface RatingGroupControlProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir'> {}\n\nexport default function Control(props: RatingGroupControlProps) {\n\tconst ratingGroup = use(RatingGroupRootContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(ratingGroup.getControlProps(), rest, {\n\t\tclassName: classesRatingGroup.control,\n\t});\n\n\treturn element ? element(attributes) : <div {...attributes}>{children}</div>;\n}\n"],"mappings":";;;;;;;AASA,SAAwB,QAAQ,OAAgC;CAC/D,MAAM,cAAc,IAAI,uBAAuB;CAE/C,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,aAAa,WAAW,YAAY,iBAAiB,EAAE,MAAM,EAClE,WAAW,mBAAmB,SAC9B,CAAC;AAEF,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC;EAAI,GAAI;EAAa;GAAe"}
@@ -1,11 +1,11 @@
1
1
  import { HTMLAttributes } from "../../../internal/html-attributes.js";
2
2
  import { PropsWithElement } from "../../../internal/props-with-element.js";
3
- import * as react124 from "react";
4
- import * as react_jsx_runtime37 from "react/jsx-runtime";
3
+ import * as react144 from "react";
4
+ import * as react_jsx_runtime43 from "react/jsx-runtime";
5
5
 
6
6
  //#region src/components/rating-group/anatomy/hidden-input.d.ts
7
7
  interface RatingGroupHiddenInputProps extends PropsWithElement<'input'>, HTMLAttributes<'input', 'id' | 'dir' | 'children'> {}
8
- declare function RatingGroupHiddenInput(props: RatingGroupHiddenInputProps): string | number | bigint | boolean | Iterable<react124.ReactNode> | Promise<string | number | bigint | boolean | react124.ReactPortal | react124.ReactElement<unknown, string | react124.JSXElementConstructor<any>> | Iterable<react124.ReactNode> | null | undefined> | react_jsx_runtime37.JSX.Element | null | undefined;
8
+ declare function HiddenInput(props: RatingGroupHiddenInputProps): string | number | bigint | boolean | Iterable<react144.ReactNode> | Promise<string | number | bigint | boolean | react144.ReactPortal | react144.ReactElement<unknown, string | react144.JSXElementConstructor<any>> | Iterable<react144.ReactNode> | null | undefined> | react_jsx_runtime43.JSX.Element | null | undefined;
9
9
  //#endregion
10
- export { RatingGroupHiddenInput, RatingGroupHiddenInputProps };
10
+ export { HiddenInput, RatingGroupHiddenInputProps };
11
11
  //# sourceMappingURL=hidden-input.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"hidden-input.d.ts","names":[],"sources":["../../../../src/components/rating-group/anatomy/hidden-input.tsx"],"sourcesContent":[],"mappings":";;;;;;UASiB,2BAAA,SAAoC,2BAA2B;iBAExD,sBAAA,QAA8B,mEAA2B,SAAA,QAAA,CAAA,SAAA,IAAA,6CAAA,QAAA,CAAA,WAAA,GAAA,QAAA,CAAA,+BAAA,QAAA,CAAA,8BAAA,SAAA,QAAA,CAAA,SAAA,wBAAA,mBAAA,CAAA,GAAA,CAAA,OAAA"}
1
+ {"version":3,"file":"hidden-input.d.ts","names":[],"sources":["../../../../src/components/rating-group/anatomy/hidden-input.tsx"],"sourcesContent":[],"mappings":";;;;;;UAOiB,2BAAA,SAAoC,2BAA2B;iBAExD,WAAA,QAAmB,mEAA2B,SAAA,QAAA,CAAA,SAAA,IAAA,6CAAA,QAAA,CAAA,WAAA,GAAA,QAAA,CAAA,+BAAA,QAAA,CAAA,8BAAA,SAAA,QAAA,CAAA,SAAA,wBAAA,mBAAA,CAAA,GAAA,CAAA,OAAA"}
@@ -1,11 +1,11 @@
1
1
  import { RatingGroupRootContext } from "../modules/root-context.js";
2
- import { classesRatingGroup } from "@skeletonlabs/skeleton-common";
3
- import { mergeProps } from "@zag-js/react";
4
2
  import { use } from "react";
3
+ import { mergeProps } from "@zag-js/react";
4
+ import { classesRatingGroup } from "@skeletonlabs/skeleton-common";
5
5
  import { jsx } from "react/jsx-runtime";
6
6
 
7
7
  //#region src/components/rating-group/anatomy/hidden-input.tsx
8
- function RatingGroupHiddenInput(props) {
8
+ function HiddenInput(props) {
9
9
  const ratingGroup = use(RatingGroupRootContext);
10
10
  const { element,...rest } = props;
11
11
  const attributes = mergeProps(ratingGroup.getHiddenInputProps(), rest, { className: classesRatingGroup.hiddenInput });
@@ -13,5 +13,5 @@ function RatingGroupHiddenInput(props) {
13
13
  }
14
14
 
15
15
  //#endregion
16
- export { RatingGroupHiddenInput as default };
16
+ export { HiddenInput as default };
17
17
  //# sourceMappingURL=hidden-input.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"hidden-input.js","names":[],"sources":["../../../../src/components/rating-group/anatomy/hidden-input.tsx"],"sourcesContent":["import { classesRatingGroup } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\n\nimport { RatingGroupRootContext } from '../modules/root-context';\n\nexport interface RatingGroupHiddenInputProps extends PropsWithElement<'input'>, HTMLAttributes<'input', 'id' | 'dir' | 'children'> {}\n\nexport default function RatingGroupHiddenInput(props: RatingGroupHiddenInputProps) {\n\tconst ratingGroup = use(RatingGroupRootContext);\n\n\tconst { element, ...rest } = props;\n\n\tconst attributes = mergeProps(ratingGroup.getHiddenInputProps(), rest, {\n\t\tclassName: classesRatingGroup.hiddenInput,\n\t});\n\n\treturn element ? element(attributes) : <input {...attributes} />;\n}\n"],"mappings":";;;;;;;AAWA,SAAwB,uBAAuB,OAAoC;CAClF,MAAM,cAAc,IAAI,uBAAuB;CAE/C,MAAM,EAAE,QAAS,GAAG,SAAS;CAE7B,MAAM,aAAa,WAAW,YAAY,qBAAqB,EAAE,MAAM,EACtE,WAAW,mBAAmB,aAC9B,CAAC;AAEF,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC,WAAM,GAAI,aAAc"}
1
+ {"version":3,"file":"hidden-input.js","names":[],"sources":["../../../../src/components/rating-group/anatomy/hidden-input.tsx"],"sourcesContent":["import { RatingGroupRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesRatingGroup } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface RatingGroupHiddenInputProps extends PropsWithElement<'input'>, HTMLAttributes<'input', 'id' | 'dir' | 'children'> {}\n\nexport default function HiddenInput(props: RatingGroupHiddenInputProps) {\n\tconst ratingGroup = use(RatingGroupRootContext);\n\n\tconst { element, ...rest } = props;\n\n\tconst attributes = mergeProps(ratingGroup.getHiddenInputProps(), rest, {\n\t\tclassName: classesRatingGroup.hiddenInput,\n\t});\n\n\treturn element ? element(attributes) : <input {...attributes} />;\n}\n"],"mappings":";;;;;;;AASA,SAAwB,YAAY,OAAoC;CACvE,MAAM,cAAc,IAAI,uBAAuB;CAE/C,MAAM,EAAE,QAAS,GAAG,SAAS;CAE7B,MAAM,aAAa,WAAW,YAAY,qBAAqB,EAAE,MAAM,EACtE,WAAW,mBAAmB,aAC9B,CAAC;AAEF,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC,WAAM,GAAI,aAAc"}
@@ -1,8 +1,8 @@
1
1
  import { HTMLAttributes } from "../../../internal/html-attributes.js";
2
2
  import { PropsWithElement } from "../../../internal/props-with-element.js";
3
- import * as react129 from "react";
3
+ import * as react149 from "react";
4
4
  import { ReactNode } from "react";
5
- import * as react_jsx_runtime38 from "react/jsx-runtime";
5
+ import * as react_jsx_runtime44 from "react/jsx-runtime";
6
6
  import { ItemProps } from "@zag-js/rating-group";
7
7
 
8
8
  //#region src/components/rating-group/anatomy/item.d.ts
@@ -26,7 +26,7 @@ interface RatingGroupItemProps extends ItemProps, PropsWithElement<'span'>, HTML
26
26
  */
27
27
  full?: ReactNode;
28
28
  }
29
- declare function RatingGroupItem(props: RatingGroupItemProps): string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | react129.ReactPortal | react129.ReactElement<unknown, string | react129.JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | react_jsx_runtime38.JSX.Element | null | undefined;
29
+ declare function Item(props: RatingGroupItemProps): string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | react149.ReactPortal | react149.ReactElement<unknown, string | react149.JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | react_jsx_runtime44.JSX.Element | null | undefined;
30
30
  //#endregion
31
- export { RatingGroupItem, RatingGroupItemProps };
31
+ export { Item, RatingGroupItemProps };
32
32
  //# sourceMappingURL=item.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"item.d.ts","names":[],"sources":["../../../../src/components/rating-group/anatomy/item.tsx"],"sourcesContent":[],"mappings":";;;;;;;;UAaiB,oBAAA,SAA6B,WAAW,0BAA0B;;;;AAAnF;;OAMS,CAAA,EAAA,SAAA;;;;;;EANwF,IAAA,CAAA,EAYzF,SAZyF;EAqBzE;;;;;MAA2C,CAAA,EAH3D,SAG2D;;AAAA,iBAA3C,eAAA,CAA2C,KAAA,EAApB,oBAAoB,CAAA,EAAA,MAAA,GAAA,MAAA,GAAA,MAAA,GAAA,OAAA,GAAA,QAAA,CAAA,SAAA,CAAA,GAAA,OAAA,CAAA,MAAA,GAAA,MAAA,GAAA,MAAA,GAAA,OAAA,GAAA,QAAA,CAAA,WAAA,GAAA,QAAA,CAAA,YAAA,CAAA,OAAA,EAAA,MAAA,GAAA,QAAA,CAAA,qBAAA,CAAA,GAAA,CAAA,CAAA,GAAA,QAAA,CAAA,SAAA,CAAA,GAAA,IAAA,GAAA,SAAA,CAAA,GAAA,mBAAA,CAAA,GAAA,CAAA,OAAA,GAAA,IAAA,GAAA,SAAA"}
1
+ {"version":3,"file":"item.d.ts","names":[],"sources":["../../../../src/components/rating-group/anatomy/item.tsx"],"sourcesContent":[],"mappings":";;;;;;;;UAaiB,oBAAA,SAA6B,WAAW,0BAA0B;;;;AAAnF;;OAMS,CAAA,EAAA,SAAA;;;;;;EANwF,IAAA,CAAA,EAYzF,SAZyF;EAqBzE;;;;;MAAgC,CAAA,EAHhD,SAGgD;;AAAA,iBAAhC,IAAA,CAAgC,KAAA,EAApB,oBAAoB,CAAA,EAAA,MAAA,GAAA,MAAA,GAAA,MAAA,GAAA,OAAA,GAAA,QAAA,CAAA,SAAA,CAAA,GAAA,OAAA,CAAA,MAAA,GAAA,MAAA,GAAA,MAAA,GAAA,OAAA,GAAA,QAAA,CAAA,WAAA,GAAA,QAAA,CAAA,YAAA,CAAA,OAAA,EAAA,MAAA,GAAA,QAAA,CAAA,qBAAA,CAAA,GAAA,CAAA,CAAA,GAAA,QAAA,CAAA,SAAA,CAAA,GAAA,IAAA,GAAA,SAAA,CAAA,GAAA,mBAAA,CAAA,GAAA,CAAA,OAAA,GAAA,IAAA,GAAA,SAAA"}
@@ -2,14 +2,14 @@ import { RatingGroupRootContext } from "../modules/root-context.js";
2
2
  import StarEmpty from "../../../internal/components/star-empty.js";
3
3
  import StarFull from "../../../internal/components/star-full.js";
4
4
  import StarHalf from "../../../internal/components/star-half.js";
5
- import { classesAccordion } from "@skeletonlabs/skeleton-common";
6
- import { mergeProps } from "@zag-js/react";
7
5
  import { use } from "react";
6
+ import { mergeProps } from "@zag-js/react";
7
+ import { classesAccordion } from "@skeletonlabs/skeleton-common";
8
8
  import { jsx } from "react/jsx-runtime";
9
9
  import { splitItemProps } from "@zag-js/rating-group";
10
10
 
11
11
  //#region src/components/rating-group/anatomy/item.tsx
12
- function RatingGroupItem(props) {
12
+ function Item(props) {
13
13
  const ratingGroup = use(RatingGroupRootContext);
14
14
  const [itemProps, componentProps] = splitItemProps(props);
15
15
  const { element, children, empty = /* @__PURE__ */ jsx(StarEmpty, {}), half = /* @__PURE__ */ jsx(StarHalf, {}), full = /* @__PURE__ */ jsx(StarFull, {}),...rest } = componentProps;
@@ -22,5 +22,5 @@ function RatingGroupItem(props) {
22
22
  }
23
23
 
24
24
  //#endregion
25
- export { RatingGroupItem as default };
25
+ export { Item as default };
26
26
  //# sourceMappingURL=item.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"item.js","names":[],"sources":["../../../../src/components/rating-group/anatomy/item.tsx"],"sourcesContent":["import { classesAccordion } from '@skeletonlabs/skeleton-common';\nimport { type ItemProps, splitItemProps } from '@zag-js/rating-group';\nimport { mergeProps } from '@zag-js/react';\nimport { type ReactNode, use } from 'react';\n\nimport StarEmpty from '@/internal/components/star-empty';\nimport StarFull from '@/internal/components/star-full';\nimport StarHalf from '@/internal/components/star-half';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\n\nimport { RatingGroupRootContext } from '../modules/root-context';\n\nexport interface RatingGroupItemProps extends ItemProps, PropsWithElement<'span'>, HTMLAttributes<'span', 'id' | 'dir'> {\n\t/**\n\t * The content to render when the item is in the empty state.\n\t *\n\t * @default StarEmpty (SVG)\n\t */\n\tempty?: ReactNode;\n\t/**\n\t * The content to render when the item is in the half state.\n\t *\n\t * @default StarHalf (SVG)\n\t */\n\thalf?: ReactNode;\n\t/**\n\t * The content to render when the item is in the full state.\n\t *\n\t * @default StarFull (SVG)\n\t */\n\tfull?: ReactNode;\n}\n\nexport default function RatingGroupItem(props: RatingGroupItemProps) {\n\tconst ratingGroup = use(RatingGroupRootContext);\n\n\tconst [itemProps, componentProps] = splitItemProps(props);\n\tconst { element, children, empty = <StarEmpty />, half = <StarHalf />, full = <StarFull />, ...rest } = componentProps;\n\n\tconst itemState = ratingGroup.getItemState(itemProps);\n\n\tconst attributes = mergeProps(ratingGroup.getItemProps(itemProps), rest, {\n\t\tclassName: classesAccordion.item,\n\t});\n\n\treturn element ? (\n\t\telement(attributes)\n\t) : (\n\t\t<div {...attributes}>{children ? children : !itemState.highlighted ? empty : itemState.half ? half : full}</div>\n\t);\n}\n"],"mappings":";;;;;;;;;;;AAkCA,SAAwB,gBAAgB,OAA6B;CACpE,MAAM,cAAc,IAAI,uBAAuB;CAE/C,MAAM,CAAC,WAAW,kBAAkB,eAAe,MAAM;CACzD,MAAM,EAAE,SAAS,UAAU,QAAQ,oBAAC,cAAY,EAAE,OAAO,oBAAC,aAAW,EAAE,OAAO,oBAAC,aAAW,CAAE,GAAG,SAAS;CAExG,MAAM,YAAY,YAAY,aAAa,UAAU;CAErD,MAAM,aAAa,WAAW,YAAY,aAAa,UAAU,EAAE,MAAM,EACxE,WAAW,iBAAiB,MAC5B,CAAC;AAEF,QAAO,UACN,QAAQ,WAAW,GAEnB,oBAAC;EAAI,GAAI;YAAa,WAAW,WAAW,CAAC,UAAU,cAAc,QAAQ,UAAU,OAAO,OAAO;GAAW"}
1
+ {"version":3,"file":"item.js","names":[],"sources":["../../../../src/components/rating-group/anatomy/item.tsx"],"sourcesContent":["import { RatingGroupRootContext } from '../modules/root-context';\nimport StarEmpty from '@/internal/components/star-empty';\nimport StarFull from '@/internal/components/star-full';\nimport StarHalf from '@/internal/components/star-half';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesAccordion } from '@skeletonlabs/skeleton-common';\nimport { splitItemProps } from '@zag-js/rating-group';\nimport type { ItemProps } from '@zag-js/rating-group';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\nimport type { ReactNode } from 'react';\n\nexport interface RatingGroupItemProps extends ItemProps, PropsWithElement<'span'>, HTMLAttributes<'span', 'id' | 'dir'> {\n\t/**\n\t * The content to render when the item is in the empty state.\n\t *\n\t * @default StarEmpty (SVG)\n\t */\n\tempty?: ReactNode;\n\t/**\n\t * The content to render when the item is in the half state.\n\t *\n\t * @default StarHalf (SVG)\n\t */\n\thalf?: ReactNode;\n\t/**\n\t * The content to render when the item is in the full state.\n\t *\n\t * @default StarFull (SVG)\n\t */\n\tfull?: ReactNode;\n}\n\nexport default function Item(props: RatingGroupItemProps) {\n\tconst ratingGroup = use(RatingGroupRootContext);\n\n\tconst [itemProps, componentProps] = splitItemProps(props);\n\tconst { element, children, empty = <StarEmpty />, half = <StarHalf />, full = <StarFull />, ...rest } = componentProps;\n\n\tconst itemState = ratingGroup.getItemState(itemProps);\n\n\tconst attributes = mergeProps(ratingGroup.getItemProps(itemProps), rest, {\n\t\tclassName: classesAccordion.item,\n\t});\n\n\treturn element ? (\n\t\telement(attributes)\n\t) : (\n\t\t<div {...attributes}>{children ? children : !itemState.highlighted ? empty : itemState.half ? half : full}</div>\n\t);\n}\n"],"mappings":";;;;;;;;;;;AAkCA,SAAwB,KAAK,OAA6B;CACzD,MAAM,cAAc,IAAI,uBAAuB;CAE/C,MAAM,CAAC,WAAW,kBAAkB,eAAe,MAAM;CACzD,MAAM,EAAE,SAAS,UAAU,QAAQ,oBAAC,cAAY,EAAE,OAAO,oBAAC,aAAW,EAAE,OAAO,oBAAC,aAAW,CAAE,GAAG,SAAS;CAExG,MAAM,YAAY,YAAY,aAAa,UAAU;CAErD,MAAM,aAAa,WAAW,YAAY,aAAa,UAAU,EAAE,MAAM,EACxE,WAAW,iBAAiB,MAC5B,CAAC;AAEF,QAAO,UACN,QAAQ,WAAW,GAEnB,oBAAC;EAAI,GAAI;YAAa,WAAW,WAAW,CAAC,UAAU,cAAc,QAAQ,UAAU,OAAO,OAAO;GAAW"}
@@ -1,11 +1,11 @@
1
1
  import { HTMLAttributes } from "../../../internal/html-attributes.js";
2
2
  import { PropsWithElement } from "../../../internal/props-with-element.js";
3
- import * as react132 from "react";
4
- import * as react_jsx_runtime39 from "react/jsx-runtime";
3
+ import * as react152 from "react";
4
+ import * as react_jsx_runtime45 from "react/jsx-runtime";
5
5
 
6
6
  //#region src/components/rating-group/anatomy/label.d.ts
7
7
  interface RatingGroupLabelProps extends PropsWithElement<'label'>, HTMLAttributes<'label', 'id' | 'dir'> {}
8
- declare function RatingGroupLabel(props: RatingGroupLabelProps): string | number | bigint | boolean | Iterable<react132.ReactNode> | Promise<string | number | bigint | boolean | react132.ReactPortal | react132.ReactElement<unknown, string | react132.JSXElementConstructor<any>> | Iterable<react132.ReactNode> | null | undefined> | react_jsx_runtime39.JSX.Element | null | undefined;
8
+ declare function Label(props: RatingGroupLabelProps): string | number | bigint | boolean | Iterable<react152.ReactNode> | Promise<string | number | bigint | boolean | react152.ReactPortal | react152.ReactElement<unknown, string | react152.JSXElementConstructor<any>> | Iterable<react152.ReactNode> | null | undefined> | react_jsx_runtime45.JSX.Element | null | undefined;
9
9
  //#endregion
10
- export { RatingGroupLabel, RatingGroupLabelProps };
10
+ export { Label, RatingGroupLabelProps };
11
11
  //# sourceMappingURL=label.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"label.d.ts","names":[],"sources":["../../../../src/components/rating-group/anatomy/label.tsx"],"sourcesContent":[],"mappings":";;;;;;UASiB,qBAAA,SAA8B,2BAA2B;iBAElD,gBAAA,QAAwB,6DAAqB,SAAA,QAAA,CAAA,SAAA,IAAA,6CAAA,QAAA,CAAA,WAAA,GAAA,QAAA,CAAA,+BAAA,QAAA,CAAA,8BAAA,SAAA,QAAA,CAAA,SAAA,wBAAA,mBAAA,CAAA,GAAA,CAAA,OAAA"}
1
+ {"version":3,"file":"label.d.ts","names":[],"sources":["../../../../src/components/rating-group/anatomy/label.tsx"],"sourcesContent":[],"mappings":";;;;;;UAOiB,qBAAA,SAA8B,2BAA2B;iBAElD,KAAA,QAAa,6DAAqB,SAAA,QAAA,CAAA,SAAA,IAAA,6CAAA,QAAA,CAAA,WAAA,GAAA,QAAA,CAAA,+BAAA,QAAA,CAAA,8BAAA,SAAA,QAAA,CAAA,SAAA,wBAAA,mBAAA,CAAA,GAAA,CAAA,OAAA"}
@@ -1,11 +1,11 @@
1
1
  import { RatingGroupRootContext } from "../modules/root-context.js";
2
- import { classesRatingGroup } from "@skeletonlabs/skeleton-common";
3
- import { mergeProps } from "@zag-js/react";
4
2
  import { use } from "react";
3
+ import { mergeProps } from "@zag-js/react";
4
+ import { classesRatingGroup } from "@skeletonlabs/skeleton-common";
5
5
  import { jsx } from "react/jsx-runtime";
6
6
 
7
7
  //#region src/components/rating-group/anatomy/label.tsx
8
- function RatingGroupLabel(props) {
8
+ function Label(props) {
9
9
  const ratingGroup = use(RatingGroupRootContext);
10
10
  const { element, children,...rest } = props;
11
11
  const attributes = mergeProps(ratingGroup.getLabelProps(), rest, { className: classesRatingGroup.label });
@@ -16,5 +16,5 @@ function RatingGroupLabel(props) {
16
16
  }
17
17
 
18
18
  //#endregion
19
- export { RatingGroupLabel as default };
19
+ export { Label as default };
20
20
  //# sourceMappingURL=label.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"label.js","names":[],"sources":["../../../../src/components/rating-group/anatomy/label.tsx"],"sourcesContent":["import { classesRatingGroup } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\n\nimport { RatingGroupRootContext } from '../modules/root-context';\n\nexport interface RatingGroupLabelProps extends PropsWithElement<'label'>, HTMLAttributes<'label', 'id' | 'dir'> {}\n\nexport default function RatingGroupLabel(props: RatingGroupLabelProps) {\n\tconst ratingGroup = use(RatingGroupRootContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(ratingGroup.getLabelProps(), rest, {\n\t\tclassName: classesRatingGroup.label,\n\t});\n\n\treturn element ? element(attributes) : <label {...attributes}>{children}</label>;\n}\n"],"mappings":";;;;;;;AAWA,SAAwB,iBAAiB,OAA8B;CACtE,MAAM,cAAc,IAAI,uBAAuB;CAE/C,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,aAAa,WAAW,YAAY,eAAe,EAAE,MAAM,EAChE,WAAW,mBAAmB,OAC9B,CAAC;AAEF,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC;EAAM,GAAI;EAAa;GAAiB"}
1
+ {"version":3,"file":"label.js","names":[],"sources":["../../../../src/components/rating-group/anatomy/label.tsx"],"sourcesContent":["import { RatingGroupRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesRatingGroup } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface RatingGroupLabelProps extends PropsWithElement<'label'>, HTMLAttributes<'label', 'id' | 'dir'> {}\n\nexport default function Label(props: RatingGroupLabelProps) {\n\tconst ratingGroup = use(RatingGroupRootContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(ratingGroup.getLabelProps(), rest, {\n\t\tclassName: classesRatingGroup.label,\n\t});\n\n\treturn element ? element(attributes) : <label {...attributes}>{children}</label>;\n}\n"],"mappings":";;;;;;;AASA,SAAwB,MAAM,OAA8B;CAC3D,MAAM,cAAc,IAAI,uBAAuB;CAE/C,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,aAAa,WAAW,YAAY,eAAe,EAAE,MAAM,EAChE,WAAW,mBAAmB,OAC9B,CAAC;AAEF,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC;EAAM,GAAI;EAAa;GAAiB"}
@@ -5,7 +5,7 @@ import { ReactNode } from "react";
5
5
  interface RatingGroupRootContextProps {
6
6
  children: (ratingGroup: ReturnType<typeof useRatingGroup>) => ReactNode;
7
7
  }
8
- declare function RatingGroupRootContextComponent(props: RatingGroupRootContextProps): ReactNode;
8
+ declare function RootContext(props: RatingGroupRootContextProps): ReactNode;
9
9
  //#endregion
10
- export { RatingGroupRootContextComponent, RatingGroupRootContextProps };
10
+ export { RatingGroupRootContextProps, RootContext };
11
11
  //# sourceMappingURL=root-context.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"root-context.d.ts","names":[],"sources":["../../../../src/components/rating-group/anatomy/root-context.tsx"],"sourcesContent":[],"mappings":";;;;UAKiB,2BAAA;0BACQ,kBAAkB,oBAAoB;AAD/D;AAA4C,iBAIpB,+BAAA,CAJoB,KAAA,EAImB,2BAJnB,CAAA,EAI8C,SAJ9C"}
1
+ {"version":3,"file":"root-context.d.ts","names":[],"sources":["../../../../src/components/rating-group/anatomy/root-context.tsx"],"sourcesContent":[],"mappings":";;;;UAKiB,2BAAA;0BACQ,kBAAkB,oBAAoB;AAD/D;AAA4C,iBAIpB,WAAA,CAJoB,KAAA,EAID,2BAJC,CAAA,EAI0B,SAJ1B"}
@@ -2,12 +2,12 @@ import { RatingGroupRootContext } from "../modules/root-context.js";
2
2
  import { use } from "react";
3
3
 
4
4
  //#region src/components/rating-group/anatomy/root-context.tsx
5
- function RatingGroupRootContextComponent(props) {
5
+ function RootContext(props) {
6
6
  const ratingGroup = use(RatingGroupRootContext);
7
7
  const { children } = props;
8
8
  return children(ratingGroup);
9
9
  }
10
10
 
11
11
  //#endregion
12
- export { RatingGroupRootContextComponent as default };
12
+ export { RootContext as default };
13
13
  //# sourceMappingURL=root-context.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"root-context.js","names":[],"sources":["../../../../src/components/rating-group/anatomy/root-context.tsx"],"sourcesContent":["import { type ReactNode, use } from 'react';\n\nimport { RatingGroupRootContext } from '../modules/root-context';\nimport type { useRatingGroup } from '../modules/use-rating-group';\n\nexport interface RatingGroupRootContextProps {\n\tchildren: (ratingGroup: ReturnType<typeof useRatingGroup>) => ReactNode;\n}\n\nexport default function RatingGroupRootContextComponent(props: RatingGroupRootContextProps) {\n\tconst ratingGroup = use(RatingGroupRootContext);\n\n\tconst { children } = props;\n\n\treturn children(ratingGroup);\n}\n"],"mappings":";;;;AASA,SAAwB,gCAAgC,OAAoC;CAC3F,MAAM,cAAc,IAAI,uBAAuB;CAE/C,MAAM,EAAE,aAAa;AAErB,QAAO,SAAS,YAAY"}
1
+ {"version":3,"file":"root-context.js","names":[],"sources":["../../../../src/components/rating-group/anatomy/root-context.tsx"],"sourcesContent":["import { RatingGroupRootContext } from '../modules/root-context';\nimport type { useRatingGroup } from '../modules/use-rating-group';\nimport { use } from 'react';\nimport type { ReactNode } from 'react';\n\nexport interface RatingGroupRootContextProps {\n\tchildren: (ratingGroup: ReturnType<typeof useRatingGroup>) => ReactNode;\n}\n\nexport default function RootContext(props: RatingGroupRootContextProps) {\n\tconst ratingGroup = use(RatingGroupRootContext);\n\n\tconst { children } = props;\n\n\treturn children(ratingGroup);\n}\n"],"mappings":";;;;AASA,SAAwB,YAAY,OAAoC;CACvE,MAAM,cAAc,IAAI,uBAAuB;CAE/C,MAAM,EAAE,aAAa;AAErB,QAAO,SAAS,YAAY"}
@@ -1,13 +1,13 @@
1
1
  import { HTMLAttributes } from "../../../internal/html-attributes.js";
2
2
  import { PropsWithElement } from "../../../internal/props-with-element.js";
3
3
  import { useRatingGroup } from "../modules/use-rating-group.js";
4
- import * as react_jsx_runtime41 from "react/jsx-runtime";
4
+ import * as react_jsx_runtime47 from "react/jsx-runtime";
5
5
 
6
6
  //#region src/components/rating-group/anatomy/root-provider.d.ts
7
7
  interface RatingGroupRootProviderProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir' | 'defaultValue'> {
8
8
  value: ReturnType<typeof useRatingGroup>;
9
9
  }
10
- declare function RatingGroupRootProvider(props: RatingGroupRootProviderProps): react_jsx_runtime41.JSX.Element;
10
+ declare function RootProvider(props: RatingGroupRootProviderProps): react_jsx_runtime47.JSX.Element;
11
11
  //#endregion
12
- export { RatingGroupRootProvider, RatingGroupRootProviderProps };
12
+ export { RatingGroupRootProviderProps, RootProvider };
13
13
  //# sourceMappingURL=root-provider.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"root-provider.d.ts","names":[],"sources":["../../../../src/components/rating-group/anatomy/root-provider.tsx"],"sourcesContent":[],"mappings":";;;;;;UASiB,4BAAA,SAAqC,yBAAyB;SACvE,kBAAkB;;AADT,iBAIO,uBAAA,CAJsB,KAAA,EAIS,4BAJT,CAAA,EAIqC,mBAAA,CAAA,GAAA,CAAA,OAJrC"}
1
+ {"version":3,"file":"root-provider.d.ts","names":[],"sources":["../../../../src/components/rating-group/anatomy/root-provider.tsx"],"sourcesContent":[],"mappings":";;;;;;UAOiB,4BAAA,SAAqC,yBAAyB;SACvE,kBAAkB;;AADT,iBAIO,YAAA,CAJsB,KAAA,EAIF,4BAJE,CAAA,EAI0B,mBAAA,CAAA,GAAA,CAAA,OAJ1B"}
@@ -1,10 +1,10 @@
1
1
  import { RatingGroupRootContext } from "../modules/root-context.js";
2
- import { classesRatingGroup } from "@skeletonlabs/skeleton-common";
3
2
  import { mergeProps } from "@zag-js/react";
3
+ import { classesRatingGroup } from "@skeletonlabs/skeleton-common";
4
4
  import { jsx } from "react/jsx-runtime";
5
5
 
6
6
  //#region src/components/rating-group/anatomy/root-provider.tsx
7
- function RatingGroupRootProvider(props) {
7
+ function RootProvider(props) {
8
8
  const { element, children, value: ratingGroup,...rest } = props;
9
9
  const attributes = mergeProps(ratingGroup.getRootProps(), rest, { className: classesRatingGroup.root });
10
10
  return /* @__PURE__ */ jsx(RatingGroupRootContext.Provider, {
@@ -17,5 +17,5 @@ function RatingGroupRootProvider(props) {
17
17
  }
18
18
 
19
19
  //#endregion
20
- export { RatingGroupRootProvider as default };
20
+ export { RootProvider as default };
21
21
  //# sourceMappingURL=root-provider.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"root-provider.js","names":[],"sources":["../../../../src/components/rating-group/anatomy/root-provider.tsx"],"sourcesContent":["import { classesRatingGroup } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\n\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\n\nimport { RatingGroupRootContext } from '../modules/root-context';\nimport type { useRatingGroup } from '../modules/use-rating-group';\n\nexport interface RatingGroupRootProviderProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir' | 'defaultValue'> {\n\tvalue: ReturnType<typeof useRatingGroup>;\n}\n\nexport default function RatingGroupRootProvider(props: RatingGroupRootProviderProps) {\n\tconst { element, children, value: ratingGroup, ...rest } = props;\n\n\tconst attributes = mergeProps(ratingGroup.getRootProps(), rest, {\n\t\tclassName: classesRatingGroup.root,\n\t});\n\n\treturn (\n\t\t<RatingGroupRootContext.Provider value={ratingGroup}>\n\t\t\t{element ? element(attributes) : <div {...attributes}>{children}</div>}\n\t\t</RatingGroupRootContext.Provider>\n\t);\n}\n"],"mappings":";;;;;;AAaA,SAAwB,wBAAwB,OAAqC;CACpF,MAAM,EAAE,SAAS,UAAU,OAAO,YAAa,GAAG,SAAS;CAE3D,MAAM,aAAa,WAAW,YAAY,cAAc,EAAE,MAAM,EAC/D,WAAW,mBAAmB,MAC9B,CAAC;AAEF,QACC,oBAAC,uBAAuB;EAAS,OAAO;YACtC,UAAU,QAAQ,WAAW,GAAG,oBAAC;GAAI,GAAI;GAAa;IAAe;GACrC"}
1
+ {"version":3,"file":"root-provider.js","names":[],"sources":["../../../../src/components/rating-group/anatomy/root-provider.tsx"],"sourcesContent":["import { RatingGroupRootContext } from '../modules/root-context';\nimport type { useRatingGroup } from '../modules/use-rating-group';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesRatingGroup } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\n\nexport interface RatingGroupRootProviderProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir' | 'defaultValue'> {\n\tvalue: ReturnType<typeof useRatingGroup>;\n}\n\nexport default function RootProvider(props: RatingGroupRootProviderProps) {\n\tconst { element, children, value: ratingGroup, ...rest } = props;\n\n\tconst attributes = mergeProps(ratingGroup.getRootProps(), rest, {\n\t\tclassName: classesRatingGroup.root,\n\t});\n\n\treturn (\n\t\t<RatingGroupRootContext.Provider value={ratingGroup}>\n\t\t\t{element ? element(attributes) : <div {...attributes}>{children}</div>}\n\t\t</RatingGroupRootContext.Provider>\n\t);\n}\n"],"mappings":";;;;;;AAWA,SAAwB,aAAa,OAAqC;CACzE,MAAM,EAAE,SAAS,UAAU,OAAO,YAAa,GAAG,SAAS;CAE3D,MAAM,aAAa,WAAW,YAAY,cAAc,EAAE,MAAM,EAC/D,WAAW,mBAAmB,MAC9B,CAAC;AAEF,QACC,oBAAC,uBAAuB;EAAS,OAAO;YACtC,UAAU,QAAQ,WAAW,GAAG,oBAAC;GAAI,GAAI;GAAa;IAAe;GACrC"}
@@ -1,11 +1,11 @@
1
1
  import { HTMLAttributes } from "../../../internal/html-attributes.js";
2
2
  import { PropsWithElement } from "../../../internal/props-with-element.js";
3
- import * as react_jsx_runtime40 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime46 from "react/jsx-runtime";
4
4
  import { Props } from "@zag-js/rating-group";
5
5
 
6
6
  //#region src/components/rating-group/anatomy/root.d.ts
7
7
  interface RatingGroupRootProps extends Omit<Props, 'id'>, PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir' | 'defaultValue'> {}
8
- declare function RatingGroupRoot(props: RatingGroupRootProps): react_jsx_runtime40.JSX.Element;
8
+ declare function Root(props: RatingGroupRootProps): react_jsx_runtime46.JSX.Element;
9
9
  //#endregion
10
- export { RatingGroupRoot, RatingGroupRootProps };
10
+ export { RatingGroupRootProps, Root };
11
11
  //# sourceMappingURL=root.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"root.d.ts","names":[],"sources":["../../../../src/components/rating-group/anatomy/root.tsx"],"sourcesContent":[],"mappings":";;;;;;UAUiB,oBAAA,SACR,KAAK,cACZ,yBACA;iBAEsB,eAAA,QAAuB,uBAAoB,mBAAA,CAAA,GAAA,CAAA"}
1
+ {"version":3,"file":"root.d.ts","names":[],"sources":["../../../../src/components/rating-group/anatomy/root.tsx"],"sourcesContent":[],"mappings":";;;;;;UASiB,oBAAA,SACR,KAAK,cACZ,yBACA;iBAEsB,IAAA,QAAY,uBAAoB,mBAAA,CAAA,GAAA,CAAA"}
@@ -1,12 +1,12 @@
1
1
  import { RatingGroupRootContext } from "../modules/root-context.js";
2
2
  import { useRatingGroup } from "../modules/use-rating-group.js";
3
- import { classesRatingGroup } from "@skeletonlabs/skeleton-common";
4
3
  import { mergeProps } from "@zag-js/react";
4
+ import { classesRatingGroup } from "@skeletonlabs/skeleton-common";
5
5
  import { jsx } from "react/jsx-runtime";
6
6
  import { splitProps } from "@zag-js/rating-group";
7
7
 
8
8
  //#region src/components/rating-group/anatomy/root.tsx
9
- function RatingGroupRoot(props) {
9
+ function Root(props) {
10
10
  const [ratingGroupProps, componentProps] = splitProps(props);
11
11
  const { element, children,...rest } = componentProps;
12
12
  const ratingGroup = useRatingGroup(ratingGroupProps);
@@ -21,5 +21,5 @@ function RatingGroupRoot(props) {
21
21
  }
22
22
 
23
23
  //#endregion
24
- export { RatingGroupRoot as default };
24
+ export { Root as default };
25
25
  //# sourceMappingURL=root.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"root.js","names":[],"sources":["../../../../src/components/rating-group/anatomy/root.tsx"],"sourcesContent":["import { classesRatingGroup } from '@skeletonlabs/skeleton-common';\nimport { type Props, splitProps } from '@zag-js/rating-group';\nimport { mergeProps } from '@zag-js/react';\n\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\n\nimport { RatingGroupRootContext } from '../modules/root-context';\nimport { useRatingGroup } from '../modules/use-rating-group';\n\nexport interface RatingGroupRootProps\n\textends Omit<Props, 'id'>,\n\t\tPropsWithElement<'div'>,\n\t\tHTMLAttributes<'div', 'id' | 'dir' | 'defaultValue'> {}\n\nexport default function RatingGroupRoot(props: RatingGroupRootProps) {\n\tconst [ratingGroupProps, componentProps] = splitProps(props);\n\tconst { element, children, ...rest } = componentProps;\n\n\tconst ratingGroup = useRatingGroup(ratingGroupProps);\n\n\tconst attributes = mergeProps(ratingGroup.getRootProps(), rest, {\n\t\tclassName: classesRatingGroup.root,\n\t});\n\n\treturn (\n\t\t<RatingGroupRootContext.Provider value={ratingGroup}>\n\t\t\t{element ? element(attributes) : <div {...attributes}>{children}</div>}\n\t\t</RatingGroupRootContext.Provider>\n\t);\n}\n"],"mappings":";;;;;;;;AAeA,SAAwB,gBAAgB,OAA6B;CACpE,MAAM,CAAC,kBAAkB,kBAAkB,WAAW,MAAM;CAC5D,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,cAAc,eAAe,iBAAiB;CAEpD,MAAM,aAAa,WAAW,YAAY,cAAc,EAAE,MAAM,EAC/D,WAAW,mBAAmB,MAC9B,CAAC;AAEF,QACC,oBAAC,uBAAuB;EAAS,OAAO;YACtC,UAAU,QAAQ,WAAW,GAAG,oBAAC;GAAI,GAAI;GAAa;IAAe;GACrC"}
1
+ {"version":3,"file":"root.js","names":[],"sources":["../../../../src/components/rating-group/anatomy/root.tsx"],"sourcesContent":["import { RatingGroupRootContext } from '../modules/root-context';\nimport { useRatingGroup } from '../modules/use-rating-group';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesRatingGroup } from '@skeletonlabs/skeleton-common';\nimport { splitProps } from '@zag-js/rating-group';\nimport type { Props } from '@zag-js/rating-group';\nimport { mergeProps } from '@zag-js/react';\n\nexport interface RatingGroupRootProps\n\textends Omit<Props, 'id'>,\n\t\tPropsWithElement<'div'>,\n\t\tHTMLAttributes<'div', 'id' | 'dir' | 'defaultValue'> {}\n\nexport default function Root(props: RatingGroupRootProps) {\n\tconst [ratingGroupProps, componentProps] = splitProps(props);\n\tconst { element, children, ...rest } = componentProps;\n\n\tconst ratingGroup = useRatingGroup(ratingGroupProps);\n\n\tconst attributes = mergeProps(ratingGroup.getRootProps(), rest, {\n\t\tclassName: classesRatingGroup.root,\n\t});\n\n\treturn (\n\t\t<RatingGroupRootContext.Provider value={ratingGroup}>\n\t\t\t{element ? element(attributes) : <div {...attributes}>{children}</div>}\n\t\t</RatingGroupRootContext.Provider>\n\t);\n}\n"],"mappings":";;;;;;;;AAcA,SAAwB,KAAK,OAA6B;CACzD,MAAM,CAAC,kBAAkB,kBAAkB,WAAW,MAAM;CAC5D,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,cAAc,eAAe,iBAAiB;CAEpD,MAAM,aAAa,WAAW,YAAY,cAAc,EAAE,MAAM,EAC/D,WAAW,mBAAmB,MAC9B,CAAC;AAEF,QACC,oBAAC,uBAAuB;EAAS,OAAO;YACtC,UAAU,QAAQ,WAAW,GAAG,oBAAC;GAAI,GAAI;GAAa;IAAe;GACrC"}
@@ -1,19 +1,19 @@
1
- import { RatingGroupControl } from "../anatomy/control.js";
2
- import { RatingGroupHiddenInput } from "../anatomy/hidden-input.js";
3
- import { RatingGroupItem } from "../anatomy/item.js";
4
- import { RatingGroupLabel } from "../anatomy/label.js";
5
- import { RatingGroupRoot } from "../anatomy/root.js";
6
- import { RatingGroupRootContextComponent } from "../anatomy/root-context.js";
7
- import { RatingGroupRootProvider } from "../anatomy/root-provider.js";
1
+ import { Control } from "../anatomy/control.js";
2
+ import { HiddenInput } from "../anatomy/hidden-input.js";
3
+ import { Item } from "../anatomy/item.js";
4
+ import { Label } from "../anatomy/label.js";
5
+ import { Root } from "../anatomy/root.js";
6
+ import { RootContext } from "../anatomy/root-context.js";
7
+ import { RootProvider } from "../anatomy/root-provider.js";
8
8
 
9
9
  //#region src/components/rating-group/modules/anatomy.d.ts
10
- declare const RatingGroup: typeof RatingGroupRoot & {
11
- Provider: typeof RatingGroupRootProvider;
12
- Context: typeof RatingGroupRootContextComponent;
13
- Label: typeof RatingGroupLabel;
14
- Control: typeof RatingGroupControl;
15
- Item: typeof RatingGroupItem;
16
- HiddenInput: typeof RatingGroupHiddenInput;
10
+ declare const RatingGroup: typeof Root & {
11
+ Provider: typeof RootProvider;
12
+ Context: typeof RootContext;
13
+ Label: typeof Label;
14
+ Control: typeof Control;
15
+ Item: typeof Item;
16
+ HiddenInput: typeof HiddenInput;
17
17
  };
18
18
  //#endregion
19
19
  export { RatingGroup };
@@ -1 +1 @@
1
- {"version":3,"file":"anatomy.d.ts","names":[],"sources":["../../../../src/components/rating-group/modules/anatomy.ts"],"sourcesContent":[],"mappings":";;;;;;;;;cAQM,oBAAW;;EAAX,OAAA,EAAA,sCAOJ;EAAA,KAAA,EAAA,uBAAA;SAPe,EAAA,yBAAA"}
1
+ {"version":3,"file":"anatomy.d.ts","names":[],"sources":["../../../../src/components/rating-group/modules/anatomy.ts"],"sourcesContent":[],"mappings":";;;;;;;;;cAQM,oBAAW;;EAAX,OAAA,EAAA,kBAOJ;EAAA,KAAA,EAAA,YAAA;SAPe,EAAA,cAAA"}
@@ -1,19 +1,19 @@
1
- import RatingGroupControl from "../anatomy/control.js";
2
- import RatingGroupHiddenInput from "../anatomy/hidden-input.js";
3
- import RatingGroupItem from "../anatomy/item.js";
4
- import RatingGroupLabel from "../anatomy/label.js";
5
- import RatingGroupRoot from "../anatomy/root.js";
6
- import RatingGroupRootContextComponent from "../anatomy/root-context.js";
7
- import RatingGroupRootProvider from "../anatomy/root-provider.js";
1
+ import Control from "../anatomy/control.js";
2
+ import HiddenInput from "../anatomy/hidden-input.js";
3
+ import Item from "../anatomy/item.js";
4
+ import Label from "../anatomy/label.js";
5
+ import Root from "../anatomy/root.js";
6
+ import RootContext from "../anatomy/root-context.js";
7
+ import RootProvider from "../anatomy/root-provider.js";
8
8
 
9
9
  //#region src/components/rating-group/modules/anatomy.ts
10
- const RatingGroup = Object.assign(RatingGroupRoot, {
11
- Provider: RatingGroupRootProvider,
12
- Context: RatingGroupRootContextComponent,
13
- Label: RatingGroupLabel,
14
- Control: RatingGroupControl,
15
- Item: RatingGroupItem,
16
- HiddenInput: RatingGroupHiddenInput
10
+ const RatingGroup = Object.assign(Root, {
11
+ Provider: RootProvider,
12
+ Context: RootContext,
13
+ Label,
14
+ Control,
15
+ Item,
16
+ HiddenInput
17
17
  });
18
18
 
19
19
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"anatomy.js","names":["Root","RootProvider","RootContext","Label","Control","Item","HiddenInput"],"sources":["../../../../src/components/rating-group/modules/anatomy.ts"],"sourcesContent":["import Control from '../anatomy/control';\nimport HiddenInput from '../anatomy/hidden-input';\nimport Item from '../anatomy/item';\nimport Label from '../anatomy/label';\nimport Root from '../anatomy/root';\nimport RootContext from '../anatomy/root-context';\nimport RootProvider from '../anatomy/root-provider';\n\nconst RatingGroup = Object.assign(Root, {\n\tProvider: RootProvider,\n\tContext: RootContext,\n\tLabel: Label,\n\tControl: Control,\n\tItem: Item,\n\tHiddenInput: HiddenInput,\n});\n\nexport { RatingGroup };\n"],"mappings":";;;;;;;;;AAQA,MAAM,cAAc,OAAO,OAAOA,iBAAM;CACvC,UAAUC;CACV,SAASC;CACT,OAAOC;CACP,SAASC;CACT,MAAMC;CACN,aAAaC;CACb,CAAC"}
1
+ {"version":3,"file":"anatomy.js","names":[],"sources":["../../../../src/components/rating-group/modules/anatomy.ts"],"sourcesContent":["import Control from '../anatomy/control';\nimport HiddenInput from '../anatomy/hidden-input';\nimport Item from '../anatomy/item';\nimport Label from '../anatomy/label';\nimport Root from '../anatomy/root';\nimport RootContext from '../anatomy/root-context';\nimport RootProvider from '../anatomy/root-provider';\n\nconst RatingGroup = Object.assign(Root, {\n\tProvider: RootProvider,\n\tContext: RootContext,\n\tLabel: Label,\n\tControl: Control,\n\tItem: Item,\n\tHiddenInput: HiddenInput,\n});\n\nexport { RatingGroup };\n"],"mappings":";;;;;;;;;AAQA,MAAM,cAAc,OAAO,OAAO,MAAM;CACvC,UAAU;CACV,SAAS;CACF;CACE;CACH;CACO;CACb,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"root-context.js","names":[],"sources":["../../../../src/components/rating-group/modules/root-context.ts"],"sourcesContent":["import { createContext } from '@/internal/create-context';\n\nimport type { useRatingGroup } from './use-rating-group';\n\nexport const RatingGroupRootContext = createContext<ReturnType<typeof useRatingGroup>>();\n"],"mappings":";;;AAIA,MAAa,yBAAyB,eAAkD"}
1
+ {"version":3,"file":"root-context.js","names":[],"sources":["../../../../src/components/rating-group/modules/root-context.ts"],"sourcesContent":["import type { useRatingGroup } from './use-rating-group';\nimport { createContext } from '@/internal/create-context';\n\nexport const RatingGroupRootContext = createContext<ReturnType<typeof useRatingGroup>>();\n"],"mappings":";;;AAGA,MAAa,yBAAyB,eAAkD"}
@@ -1,7 +1,8 @@
1
+ import { PropTypes } from "@zag-js/react";
1
2
  import { Api, Props } from "@zag-js/rating-group";
2
3
 
3
4
  //#region src/components/rating-group/modules/use-rating-group.d.ts
4
- declare function useRatingGroup(props: Omit<Props, 'id'>): Api;
5
+ declare function useRatingGroup(props?: Omit<Props, 'id'>): Api<PropTypes>;
5
6
  //#endregion
6
7
  export { useRatingGroup };
7
8
  //# sourceMappingURL=use-rating-group.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"use-rating-group.d.ts","names":[],"sources":["../../../../src/components/rating-group/modules/use-rating-group.ts"],"sourcesContent":[],"mappings":";;;iBAIgB,cAAA,QAAsB,KAAK,eAAe"}
1
+ {"version":3,"file":"use-rating-group.d.ts","names":[],"sources":["../../../../src/components/rating-group/modules/use-rating-group.ts"],"sourcesContent":[],"mappings":";;;;iBAKgB,cAAA,SAAsB,KAAK,eAAoB,IAAI"}
@@ -1,9 +1,9 @@
1
- import { normalizeProps, useMachine } from "@zag-js/react";
2
1
  import { useId } from "react";
2
+ import { normalizeProps, useMachine } from "@zag-js/react";
3
3
  import { connect, machine } from "@zag-js/rating-group";
4
4
 
5
5
  //#region src/components/rating-group/modules/use-rating-group.ts
6
- function useRatingGroup(props) {
6
+ function useRatingGroup(props = {}) {
7
7
  const service = useMachine(machine, {
8
8
  id: useId(),
9
9
  ...props
@@ -1 +1 @@
1
- {"version":3,"file":"use-rating-group.js","names":[],"sources":["../../../../src/components/rating-group/modules/use-rating-group.ts"],"sourcesContent":["import { type Api, connect, machine, type Props } from '@zag-js/rating-group';\nimport { normalizeProps, useMachine } from '@zag-js/react';\nimport { useId } from 'react';\n\nexport function useRatingGroup(props: Omit<Props, 'id'>): Api {\n\tconst service = useMachine(machine, {\n\t\tid: useId(),\n\t\t...props,\n\t});\n\treturn connect(service, normalizeProps);\n}\n"],"mappings":";;;;;AAIA,SAAgB,eAAe,OAA+B;CAC7D,MAAM,UAAU,WAAW,SAAS;EACnC,IAAI,OAAO;EACX,GAAG;EACH,CAAC;AACF,QAAO,QAAQ,SAAS,eAAe"}
1
+ {"version":3,"file":"use-rating-group.js","names":[],"sources":["../../../../src/components/rating-group/modules/use-rating-group.ts"],"sourcesContent":["import { connect, machine } from '@zag-js/rating-group';\nimport type { Api, Props } from '@zag-js/rating-group';\nimport { normalizeProps, useMachine, type PropTypes } from '@zag-js/react';\nimport { useId } from 'react';\n\nexport function useRatingGroup(props: Omit<Props, 'id'> = {}): Api<PropTypes> {\n\tconst service = useMachine(machine, {\n\t\tid: useId(),\n\t\t...props,\n\t});\n\treturn connect(service, normalizeProps);\n}\n"],"mappings":";;;;;AAKA,SAAgB,eAAe,QAA2B,EAAE,EAAkB;CAC7E,MAAM,UAAU,WAAW,SAAS;EACnC,IAAI,OAAO;EACX,GAAG;EACH,CAAC;AACF,QAAO,QAAQ,SAAS,eAAe"}
@@ -1,11 +1,11 @@
1
1
  import { HTMLAttributes } from "../../../internal/html-attributes.js";
2
2
  import { PropsWithElement } from "../../../internal/props-with-element.js";
3
- import * as react49 from "react";
4
- import * as react_jsx_runtime14 from "react/jsx-runtime";
3
+ import * as react157 from "react";
4
+ import * as react_jsx_runtime48 from "react/jsx-runtime";
5
5
 
6
6
  //#region src/components/switch/anatomy/control.d.ts
7
7
  interface SwitchControlProps extends PropsWithElement<'span'>, HTMLAttributes<'span'> {}
8
- declare function SwitchControl(props: SwitchControlProps): string | number | bigint | boolean | Iterable<react49.ReactNode> | Promise<string | number | bigint | boolean | react49.ReactPortal | react49.ReactElement<unknown, string | react49.JSXElementConstructor<any>> | Iterable<react49.ReactNode> | null | undefined> | react_jsx_runtime14.JSX.Element | null | undefined;
8
+ declare function Control(props: SwitchControlProps): string | number | bigint | boolean | Iterable<react157.ReactNode> | Promise<string | number | bigint | boolean | react157.ReactPortal | react157.ReactElement<unknown, string | react157.JSXElementConstructor<any>> | Iterable<react157.ReactNode> | null | undefined> | react_jsx_runtime48.JSX.Element | null | undefined;
9
9
  //#endregion
10
- export { SwitchControl, SwitchControlProps };
10
+ export { Control, SwitchControlProps };
11
11
  //# sourceMappingURL=control.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"control.d.ts","names":[],"sources":["../../../../src/components/switch/anatomy/control.tsx"],"sourcesContent":[],"mappings":";;;;;;UASiB,kBAAA,SAA2B,0BAA0B;iBAE9C,aAAA,QAAqB,0DAAkB,SAAA,OAAA,CAAA,SAAA,IAAA,6CAAA,OAAA,CAAA,WAAA,GAAA,OAAA,CAAA,+BAAA,OAAA,CAAA,8BAAA,SAAA,OAAA,CAAA,SAAA,wBAAA,mBAAA,CAAA,GAAA,CAAA,OAAA"}
1
+ {"version":3,"file":"control.d.ts","names":[],"sources":["../../../../src/components/switch/anatomy/control.tsx"],"sourcesContent":[],"mappings":";;;;;;UAOiB,kBAAA,SAA2B,0BAA0B;iBAE9C,OAAA,QAAe,0DAAkB,SAAA,QAAA,CAAA,SAAA,IAAA,6CAAA,QAAA,CAAA,WAAA,GAAA,QAAA,CAAA,+BAAA,QAAA,CAAA,8BAAA,SAAA,QAAA,CAAA,SAAA,wBAAA,mBAAA,CAAA,GAAA,CAAA,OAAA"}
@@ -1,11 +1,11 @@
1
1
  import { SwitchRootContext } from "../modules/root-context.js";
2
- import { classesSwitch } from "@skeletonlabs/skeleton-common";
3
- import { mergeProps } from "@zag-js/react";
4
2
  import { use } from "react";
3
+ import { mergeProps } from "@zag-js/react";
4
+ import { classesSwitch } from "@skeletonlabs/skeleton-common";
5
5
  import { jsx } from "react/jsx-runtime";
6
6
 
7
7
  //#region src/components/switch/anatomy/control.tsx
8
- function SwitchControl(props) {
8
+ function Control(props) {
9
9
  const switch_ = use(SwitchRootContext);
10
10
  const { element, children,...rest } = props;
11
11
  const attributes = mergeProps(switch_.getControlProps(), rest, { className: classesSwitch.control });
@@ -16,5 +16,5 @@ function SwitchControl(props) {
16
16
  }
17
17
 
18
18
  //#endregion
19
- export { SwitchControl as default };
19
+ export { Control as default };
20
20
  //# sourceMappingURL=control.js.map