@skeletonlabs/skeleton-react 2.0.0-next.12 → 2.0.0-next.14

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 (658) hide show
  1. package/README.md +7 -22
  2. package/dist/components/accordion/anatomy/item-content.d.ts +2 -3
  3. package/dist/components/accordion/anatomy/item-content.d.ts.map +1 -1
  4. package/dist/components/accordion/anatomy/item-content.js +4 -4
  5. package/dist/components/accordion/anatomy/item-content.js.map +1 -1
  6. package/dist/components/accordion/anatomy/item-heading.d.ts +2 -4
  7. package/dist/components/accordion/anatomy/item-heading.d.ts.map +1 -1
  8. package/dist/components/accordion/anatomy/item-indicator.d.ts +2 -3
  9. package/dist/components/accordion/anatomy/item-indicator.d.ts.map +1 -1
  10. package/dist/components/accordion/anatomy/item-indicator.js +4 -4
  11. package/dist/components/accordion/anatomy/item-indicator.js.map +1 -1
  12. package/dist/components/accordion/anatomy/item-trigger.d.ts +2 -3
  13. package/dist/components/accordion/anatomy/item-trigger.d.ts.map +1 -1
  14. package/dist/components/accordion/anatomy/item-trigger.js +4 -4
  15. package/dist/components/accordion/anatomy/item-trigger.js.map +1 -1
  16. package/dist/components/accordion/anatomy/item.d.ts +2 -2
  17. package/dist/components/accordion/anatomy/item.d.ts.map +1 -1
  18. package/dist/components/accordion/anatomy/item.js +4 -4
  19. package/dist/components/accordion/anatomy/item.js.map +1 -1
  20. package/dist/components/accordion/anatomy/root-context.d.ts +1 -1
  21. package/dist/components/accordion/anatomy/root-context.js +4 -4
  22. package/dist/components/accordion/anatomy/root-context.js.map +1 -1
  23. package/dist/components/accordion/anatomy/root-provider.d.ts +3 -3
  24. package/dist/components/accordion/anatomy/root-provider.d.ts.map +1 -1
  25. package/dist/components/accordion/anatomy/root-provider.js +2 -2
  26. package/dist/components/accordion/anatomy/root-provider.js.map +1 -1
  27. package/dist/components/accordion/anatomy/root.d.ts +2 -2
  28. package/dist/components/accordion/anatomy/root.d.ts.map +1 -1
  29. package/dist/components/accordion/anatomy/root.js +3 -3
  30. package/dist/components/accordion/anatomy/root.js.map +1 -1
  31. package/dist/components/accordion/modules/item-context.js +2 -2
  32. package/dist/components/accordion/modules/item-context.js.map +1 -1
  33. package/dist/components/accordion/modules/{use-accordion.d.ts → provider.d.ts} +2 -2
  34. package/dist/components/accordion/modules/provider.d.ts.map +1 -0
  35. package/dist/components/accordion/modules/{use-accordion.js → provider.js} +2 -2
  36. package/dist/components/accordion/modules/provider.js.map +1 -0
  37. package/dist/components/accordion/modules/root-context.js +2 -2
  38. package/dist/components/accordion/modules/root-context.js.map +1 -1
  39. package/dist/components/app-bar/anatomy/headline.d.ts +2 -3
  40. package/dist/components/app-bar/anatomy/headline.d.ts.map +1 -1
  41. package/dist/components/app-bar/anatomy/lead.d.ts +2 -3
  42. package/dist/components/app-bar/anatomy/lead.d.ts.map +1 -1
  43. package/dist/components/app-bar/anatomy/root.d.ts +2 -3
  44. package/dist/components/app-bar/anatomy/root.d.ts.map +1 -1
  45. package/dist/components/app-bar/anatomy/toolbar.d.ts +2 -3
  46. package/dist/components/app-bar/anatomy/toolbar.d.ts.map +1 -1
  47. package/dist/components/app-bar/anatomy/trail.d.ts +2 -3
  48. package/dist/components/app-bar/anatomy/trail.d.ts.map +1 -1
  49. package/dist/components/avatar/anatomy/fallback.d.ts +2 -3
  50. package/dist/components/avatar/anatomy/fallback.d.ts.map +1 -1
  51. package/dist/components/avatar/anatomy/fallback.js +2 -2
  52. package/dist/components/avatar/anatomy/fallback.js.map +1 -1
  53. package/dist/components/avatar/anatomy/image.d.ts +2 -3
  54. package/dist/components/avatar/anatomy/image.d.ts.map +1 -1
  55. package/dist/components/avatar/anatomy/image.js +2 -2
  56. package/dist/components/avatar/anatomy/image.js.map +1 -1
  57. package/dist/components/avatar/anatomy/root-context.d.ts +3 -3
  58. package/dist/components/avatar/anatomy/root-context.d.ts.map +1 -1
  59. package/dist/components/avatar/anatomy/root-context.js +4 -4
  60. package/dist/components/avatar/anatomy/root-context.js.map +1 -1
  61. package/dist/components/avatar/anatomy/root-provider.d.ts +3 -3
  62. package/dist/components/avatar/anatomy/root-provider.d.ts.map +1 -1
  63. package/dist/components/avatar/anatomy/root-provider.js +2 -2
  64. package/dist/components/avatar/anatomy/root-provider.js.map +1 -1
  65. package/dist/components/avatar/anatomy/root.d.ts +2 -2
  66. package/dist/components/avatar/anatomy/root.d.ts.map +1 -1
  67. package/dist/components/avatar/anatomy/root.js +3 -3
  68. package/dist/components/avatar/anatomy/root.js.map +1 -1
  69. package/dist/components/avatar/modules/anatomy.d.ts +2 -2
  70. package/dist/components/avatar/modules/anatomy.d.ts.map +1 -1
  71. package/dist/components/avatar/modules/anatomy.js +2 -2
  72. package/dist/components/avatar/modules/anatomy.js.map +1 -1
  73. package/dist/components/avatar/modules/{use-avatar.d.ts → provider.d.ts} +2 -2
  74. package/dist/components/avatar/modules/provider.d.ts.map +1 -0
  75. package/dist/components/avatar/modules/{use-avatar.js → provider.js} +2 -2
  76. package/dist/components/avatar/modules/provider.js.map +1 -0
  77. package/dist/components/avatar/modules/root-context.js +2 -2
  78. package/dist/components/avatar/modules/root-context.js.map +1 -1
  79. package/dist/components/combobox/anatomy/content.d.ts +2 -3
  80. package/dist/components/combobox/anatomy/content.d.ts.map +1 -1
  81. package/dist/components/combobox/anatomy/content.js +2 -2
  82. package/dist/components/combobox/anatomy/content.js.map +1 -1
  83. package/dist/components/combobox/anatomy/control.d.ts +2 -3
  84. package/dist/components/combobox/anatomy/control.d.ts.map +1 -1
  85. package/dist/components/combobox/anatomy/control.js +2 -2
  86. package/dist/components/combobox/anatomy/control.js.map +1 -1
  87. package/dist/components/combobox/anatomy/input.d.ts +2 -3
  88. package/dist/components/combobox/anatomy/input.d.ts.map +1 -1
  89. package/dist/components/combobox/anatomy/input.js +2 -2
  90. package/dist/components/combobox/anatomy/input.js.map +1 -1
  91. package/dist/components/combobox/anatomy/item-group-label.d.ts +2 -3
  92. package/dist/components/combobox/anatomy/item-group-label.d.ts.map +1 -1
  93. package/dist/components/combobox/anatomy/item-group-label.js +4 -4
  94. package/dist/components/combobox/anatomy/item-group-label.js.map +1 -1
  95. package/dist/components/combobox/anatomy/item-group.d.ts +2 -2
  96. package/dist/components/combobox/anatomy/item-group.d.ts.map +1 -1
  97. package/dist/components/combobox/anatomy/item-group.js +4 -4
  98. package/dist/components/combobox/anatomy/item-group.js.map +1 -1
  99. package/dist/components/combobox/anatomy/item-indicator.d.ts +2 -3
  100. package/dist/components/combobox/anatomy/item-indicator.d.ts.map +1 -1
  101. package/dist/components/combobox/anatomy/item-indicator.js +4 -4
  102. package/dist/components/combobox/anatomy/item-indicator.js.map +1 -1
  103. package/dist/components/combobox/anatomy/item-text.d.ts +2 -3
  104. package/dist/components/combobox/anatomy/item-text.d.ts.map +1 -1
  105. package/dist/components/combobox/anatomy/item-text.js +4 -4
  106. package/dist/components/combobox/anatomy/item-text.js.map +1 -1
  107. package/dist/components/combobox/anatomy/item.d.ts +2 -2
  108. package/dist/components/combobox/anatomy/item.d.ts.map +1 -1
  109. package/dist/components/combobox/anatomy/item.js +4 -4
  110. package/dist/components/combobox/anatomy/item.js.map +1 -1
  111. package/dist/components/combobox/anatomy/label.d.ts +2 -3
  112. package/dist/components/combobox/anatomy/label.d.ts.map +1 -1
  113. package/dist/components/combobox/anatomy/label.js +2 -2
  114. package/dist/components/combobox/anatomy/label.js.map +1 -1
  115. package/dist/components/combobox/anatomy/positioner.d.ts +2 -3
  116. package/dist/components/combobox/anatomy/positioner.d.ts.map +1 -1
  117. package/dist/components/combobox/anatomy/positioner.js +2 -2
  118. package/dist/components/combobox/anatomy/positioner.js.map +1 -1
  119. package/dist/components/combobox/anatomy/root-context.d.ts +1 -1
  120. package/dist/components/combobox/anatomy/root-context.js +4 -4
  121. package/dist/components/combobox/anatomy/root-context.js.map +1 -1
  122. package/dist/components/combobox/anatomy/root-provider.d.ts +3 -3
  123. package/dist/components/combobox/anatomy/root-provider.d.ts.map +1 -1
  124. package/dist/components/combobox/anatomy/root-provider.js +2 -2
  125. package/dist/components/combobox/anatomy/root-provider.js.map +1 -1
  126. package/dist/components/combobox/anatomy/root.d.ts +2 -2
  127. package/dist/components/combobox/anatomy/root.d.ts.map +1 -1
  128. package/dist/components/combobox/anatomy/root.js +3 -3
  129. package/dist/components/combobox/anatomy/root.js.map +1 -1
  130. package/dist/components/combobox/anatomy/trigger.d.ts +2 -3
  131. package/dist/components/combobox/anatomy/trigger.d.ts.map +1 -1
  132. package/dist/components/combobox/anatomy/trigger.js +2 -2
  133. package/dist/components/combobox/anatomy/trigger.js.map +1 -1
  134. package/dist/components/combobox/modules/item-context.js +2 -2
  135. package/dist/components/combobox/modules/item-context.js.map +1 -1
  136. package/dist/components/combobox/modules/item-group-context.js +2 -2
  137. package/dist/components/combobox/modules/item-group-context.js.map +1 -1
  138. package/dist/components/combobox/modules/{use-combobox.d.ts → provider.d.ts} +2 -2
  139. package/dist/components/combobox/modules/provider.d.ts.map +1 -0
  140. package/dist/components/combobox/modules/{use-combobox.js → provider.js} +2 -2
  141. package/dist/components/combobox/modules/provider.js.map +1 -0
  142. package/dist/components/combobox/modules/root-context.js +2 -2
  143. package/dist/components/combobox/modules/root-context.js.map +1 -1
  144. package/dist/components/dialog/anatomy/backdrop.d.ts +2 -3
  145. package/dist/components/dialog/anatomy/backdrop.d.ts.map +1 -1
  146. package/dist/components/dialog/anatomy/backdrop.js +2 -2
  147. package/dist/components/dialog/anatomy/backdrop.js.map +1 -1
  148. package/dist/components/dialog/anatomy/close-trigger.d.ts +2 -3
  149. package/dist/components/dialog/anatomy/close-trigger.d.ts.map +1 -1
  150. package/dist/components/dialog/anatomy/close-trigger.js +2 -2
  151. package/dist/components/dialog/anatomy/close-trigger.js.map +1 -1
  152. package/dist/components/dialog/anatomy/content.d.ts +2 -3
  153. package/dist/components/dialog/anatomy/content.d.ts.map +1 -1
  154. package/dist/components/dialog/anatomy/content.js +2 -2
  155. package/dist/components/dialog/anatomy/content.js.map +1 -1
  156. package/dist/components/dialog/anatomy/description.d.ts +2 -3
  157. package/dist/components/dialog/anatomy/description.d.ts.map +1 -1
  158. package/dist/components/dialog/anatomy/description.js +2 -2
  159. package/dist/components/dialog/anatomy/description.js.map +1 -1
  160. package/dist/components/dialog/anatomy/positioner.d.ts +2 -3
  161. package/dist/components/dialog/anatomy/positioner.d.ts.map +1 -1
  162. package/dist/components/dialog/anatomy/positioner.js +2 -2
  163. package/dist/components/dialog/anatomy/positioner.js.map +1 -1
  164. package/dist/components/dialog/anatomy/root-context.d.ts +1 -1
  165. package/dist/components/dialog/anatomy/root-context.js +4 -4
  166. package/dist/components/dialog/anatomy/root-context.js.map +1 -1
  167. package/dist/components/dialog/anatomy/root-provider.d.ts +3 -3
  168. package/dist/components/dialog/anatomy/root-provider.d.ts.map +1 -1
  169. package/dist/components/dialog/anatomy/root-provider.js +2 -2
  170. package/dist/components/dialog/anatomy/root-provider.js.map +1 -1
  171. package/dist/components/dialog/anatomy/root.d.ts +2 -2
  172. package/dist/components/dialog/anatomy/root.d.ts.map +1 -1
  173. package/dist/components/dialog/anatomy/root.js +3 -3
  174. package/dist/components/dialog/anatomy/root.js.map +1 -1
  175. package/dist/components/dialog/anatomy/title.d.ts +2 -3
  176. package/dist/components/dialog/anatomy/title.d.ts.map +1 -1
  177. package/dist/components/dialog/anatomy/title.js +2 -2
  178. package/dist/components/dialog/anatomy/title.js.map +1 -1
  179. package/dist/components/dialog/anatomy/trigger.d.ts +2 -3
  180. package/dist/components/dialog/anatomy/trigger.d.ts.map +1 -1
  181. package/dist/components/dialog/anatomy/trigger.js +2 -2
  182. package/dist/components/dialog/anatomy/trigger.js.map +1 -1
  183. package/dist/components/dialog/modules/{use-dialog.d.ts → provider.d.ts} +2 -2
  184. package/dist/components/dialog/modules/provider.d.ts.map +1 -0
  185. package/dist/components/dialog/modules/{use-dialog.js → provider.js} +2 -2
  186. package/dist/components/dialog/modules/provider.js.map +1 -0
  187. package/dist/components/dialog/modules/root-context.js +2 -2
  188. package/dist/components/dialog/modules/root-context.js.map +1 -1
  189. package/dist/components/file-upload/anatomy/dropzone.d.ts +2 -3
  190. package/dist/components/file-upload/anatomy/dropzone.d.ts.map +1 -1
  191. package/dist/components/file-upload/anatomy/dropzone.js +2 -2
  192. package/dist/components/file-upload/anatomy/dropzone.js.map +1 -1
  193. package/dist/components/file-upload/anatomy/hidden-input.d.ts +2 -3
  194. package/dist/components/file-upload/anatomy/hidden-input.d.ts.map +1 -1
  195. package/dist/components/file-upload/anatomy/hidden-input.js +2 -2
  196. package/dist/components/file-upload/anatomy/hidden-input.js.map +1 -1
  197. package/dist/components/file-upload/anatomy/item-delete-trigger.d.ts +2 -3
  198. package/dist/components/file-upload/anatomy/item-delete-trigger.d.ts.map +1 -1
  199. package/dist/components/file-upload/anatomy/item-delete-trigger.js +6 -6
  200. package/dist/components/file-upload/anatomy/item-delete-trigger.js.map +1 -1
  201. package/dist/components/file-upload/anatomy/item-group.d.ts +2 -3
  202. package/dist/components/file-upload/anatomy/item-group.d.ts.map +1 -1
  203. package/dist/components/file-upload/anatomy/item-group.js +2 -2
  204. package/dist/components/file-upload/anatomy/item-group.js.map +1 -1
  205. package/dist/components/file-upload/anatomy/item-name.d.ts +2 -3
  206. package/dist/components/file-upload/anatomy/item-name.d.ts.map +1 -1
  207. package/dist/components/file-upload/anatomy/item-name.js +4 -4
  208. package/dist/components/file-upload/anatomy/item-name.js.map +1 -1
  209. package/dist/components/file-upload/anatomy/item-size-text.d.ts +2 -3
  210. package/dist/components/file-upload/anatomy/item-size-text.d.ts.map +1 -1
  211. package/dist/components/file-upload/anatomy/item-size-text.js +4 -4
  212. package/dist/components/file-upload/anatomy/item-size-text.js.map +1 -1
  213. package/dist/components/file-upload/anatomy/item.d.ts +2 -2
  214. package/dist/components/file-upload/anatomy/item.js +4 -4
  215. package/dist/components/file-upload/anatomy/item.js.map +1 -1
  216. package/dist/components/file-upload/anatomy/root-context.d.ts +1 -1
  217. package/dist/components/file-upload/anatomy/root-context.js +4 -4
  218. package/dist/components/file-upload/anatomy/root-context.js.map +1 -1
  219. package/dist/components/file-upload/anatomy/root-provider.d.ts +3 -3
  220. package/dist/components/file-upload/anatomy/root-provider.js +2 -2
  221. package/dist/components/file-upload/anatomy/root-provider.js.map +1 -1
  222. package/dist/components/file-upload/anatomy/root.d.ts +2 -2
  223. package/dist/components/file-upload/anatomy/root.js +3 -3
  224. package/dist/components/file-upload/anatomy/root.js.map +1 -1
  225. package/dist/components/file-upload/anatomy/trigger.d.ts +2 -3
  226. package/dist/components/file-upload/anatomy/trigger.d.ts.map +1 -1
  227. package/dist/components/file-upload/anatomy/trigger.js +2 -2
  228. package/dist/components/file-upload/anatomy/trigger.js.map +1 -1
  229. package/dist/components/file-upload/modules/item-context.js +2 -2
  230. package/dist/components/file-upload/modules/item-context.js.map +1 -1
  231. package/dist/components/file-upload/modules/{use-file-upload.d.ts → provider.d.ts} +2 -2
  232. package/dist/components/file-upload/modules/provider.d.ts.map +1 -0
  233. package/dist/components/file-upload/modules/{use-file-upload.js → provider.js} +2 -2
  234. package/dist/components/file-upload/modules/provider.js.map +1 -0
  235. package/dist/components/file-upload/modules/root-context.js +2 -2
  236. package/dist/components/file-upload/modules/root-context.js.map +1 -1
  237. package/dist/components/popover/anatomy/arrow-tip.d.ts +2 -3
  238. package/dist/components/popover/anatomy/arrow-tip.d.ts.map +1 -1
  239. package/dist/components/popover/anatomy/arrow-tip.js +2 -2
  240. package/dist/components/popover/anatomy/arrow-tip.js.map +1 -1
  241. package/dist/components/popover/anatomy/arrow.d.ts +2 -3
  242. package/dist/components/popover/anatomy/arrow.d.ts.map +1 -1
  243. package/dist/components/popover/anatomy/arrow.js +2 -2
  244. package/dist/components/popover/anatomy/arrow.js.map +1 -1
  245. package/dist/components/popover/anatomy/close-trigger.d.ts +2 -3
  246. package/dist/components/popover/anatomy/close-trigger.d.ts.map +1 -1
  247. package/dist/components/popover/anatomy/close-trigger.js +2 -2
  248. package/dist/components/popover/anatomy/close-trigger.js.map +1 -1
  249. package/dist/components/popover/anatomy/content.d.ts +2 -3
  250. package/dist/components/popover/anatomy/content.d.ts.map +1 -1
  251. package/dist/components/popover/anatomy/content.js +2 -2
  252. package/dist/components/popover/anatomy/content.js.map +1 -1
  253. package/dist/components/popover/anatomy/description.d.ts +2 -3
  254. package/dist/components/popover/anatomy/description.d.ts.map +1 -1
  255. package/dist/components/popover/anatomy/description.js +2 -2
  256. package/dist/components/popover/anatomy/description.js.map +1 -1
  257. package/dist/components/popover/anatomy/positioner.d.ts +2 -2
  258. package/dist/components/popover/anatomy/positioner.d.ts.map +1 -1
  259. package/dist/components/popover/anatomy/positioner.js +6 -7
  260. package/dist/components/popover/anatomy/positioner.js.map +1 -1
  261. package/dist/components/popover/anatomy/root-context.d.ts +1 -1
  262. package/dist/components/popover/anatomy/root-context.js +4 -4
  263. package/dist/components/popover/anatomy/root-context.js.map +1 -1
  264. package/dist/components/popover/anatomy/root-provider.d.ts +3 -3
  265. package/dist/components/popover/anatomy/root-provider.d.ts.map +1 -1
  266. package/dist/components/popover/anatomy/root-provider.js +2 -2
  267. package/dist/components/popover/anatomy/root-provider.js.map +1 -1
  268. package/dist/components/popover/anatomy/root.d.ts +2 -2
  269. package/dist/components/popover/anatomy/root.d.ts.map +1 -1
  270. package/dist/components/popover/anatomy/root.js +3 -3
  271. package/dist/components/popover/anatomy/root.js.map +1 -1
  272. package/dist/components/popover/anatomy/title.d.ts +2 -3
  273. package/dist/components/popover/anatomy/title.d.ts.map +1 -1
  274. package/dist/components/popover/anatomy/title.js +2 -2
  275. package/dist/components/popover/anatomy/title.js.map +1 -1
  276. package/dist/components/popover/anatomy/trigger.d.ts +2 -3
  277. package/dist/components/popover/anatomy/trigger.d.ts.map +1 -1
  278. package/dist/components/popover/anatomy/trigger.js +2 -2
  279. package/dist/components/popover/anatomy/trigger.js.map +1 -1
  280. package/dist/components/popover/modules/{use-popover.d.ts → provider.d.ts} +2 -2
  281. package/dist/components/popover/modules/provider.d.ts.map +1 -0
  282. package/dist/components/popover/modules/{use-popover.js → provider.js} +2 -2
  283. package/dist/components/popover/modules/provider.js.map +1 -0
  284. package/dist/components/popover/modules/root-context.js +2 -2
  285. package/dist/components/popover/modules/root-context.js.map +1 -1
  286. package/dist/components/portal/anatomy/root.d.ts +22 -0
  287. package/dist/components/portal/anatomy/root.d.ts.map +1 -0
  288. package/dist/components/portal/anatomy/root.js +14 -0
  289. package/dist/components/portal/anatomy/root.js.map +1 -0
  290. package/dist/components/portal/modules/anatomy.d.ts +7 -0
  291. package/dist/components/portal/modules/anatomy.d.ts.map +1 -0
  292. package/dist/components/portal/modules/anatomy.js +8 -0
  293. package/dist/components/portal/modules/anatomy.js.map +1 -0
  294. package/dist/components/progress-linear/anatomy/label.d.ts +2 -3
  295. package/dist/components/progress-linear/anatomy/label.d.ts.map +1 -1
  296. package/dist/components/progress-linear/anatomy/label.js +2 -2
  297. package/dist/components/progress-linear/anatomy/label.js.map +1 -1
  298. package/dist/components/progress-linear/anatomy/range.d.ts +2 -3
  299. package/dist/components/progress-linear/anatomy/range.d.ts.map +1 -1
  300. package/dist/components/progress-linear/anatomy/range.js +2 -2
  301. package/dist/components/progress-linear/anatomy/range.js.map +1 -1
  302. package/dist/components/progress-linear/anatomy/root-context.d.ts +1 -1
  303. package/dist/components/progress-linear/anatomy/root-context.js +4 -4
  304. package/dist/components/progress-linear/anatomy/root-context.js.map +1 -1
  305. package/dist/components/progress-linear/anatomy/root-provider.d.ts +3 -3
  306. package/dist/components/progress-linear/anatomy/root-provider.js +2 -2
  307. package/dist/components/progress-linear/anatomy/root-provider.js.map +1 -1
  308. package/dist/components/progress-linear/anatomy/root.d.ts +2 -2
  309. package/dist/components/progress-linear/anatomy/root.js +3 -3
  310. package/dist/components/progress-linear/anatomy/root.js.map +1 -1
  311. package/dist/components/progress-linear/anatomy/track.d.ts +2 -3
  312. package/dist/components/progress-linear/anatomy/track.d.ts.map +1 -1
  313. package/dist/components/progress-linear/anatomy/track.js +2 -2
  314. package/dist/components/progress-linear/anatomy/track.js.map +1 -1
  315. package/dist/components/progress-linear/modules/{use-progress-linear.d.ts → provider.d.ts} +2 -2
  316. package/dist/components/progress-linear/modules/provider.d.ts.map +1 -0
  317. package/dist/components/progress-linear/modules/{use-progress-linear.js → provider.js} +2 -2
  318. package/dist/components/progress-linear/modules/provider.js.map +1 -0
  319. package/dist/components/progress-linear/modules/root-context.js +2 -2
  320. package/dist/components/progress-linear/modules/root-context.js.map +1 -1
  321. package/dist/components/rating-group/anatomy/control.d.ts +2 -3
  322. package/dist/components/rating-group/anatomy/control.d.ts.map +1 -1
  323. package/dist/components/rating-group/anatomy/control.js +2 -2
  324. package/dist/components/rating-group/anatomy/control.js.map +1 -1
  325. package/dist/components/rating-group/anatomy/hidden-input.d.ts +2 -3
  326. package/dist/components/rating-group/anatomy/hidden-input.d.ts.map +1 -1
  327. package/dist/components/rating-group/anatomy/hidden-input.js +2 -2
  328. package/dist/components/rating-group/anatomy/hidden-input.js.map +1 -1
  329. package/dist/components/rating-group/anatomy/item.d.ts +2 -3
  330. package/dist/components/rating-group/anatomy/item.d.ts.map +1 -1
  331. package/dist/components/rating-group/anatomy/item.js +2 -2
  332. package/dist/components/rating-group/anatomy/item.js.map +1 -1
  333. package/dist/components/rating-group/anatomy/label.d.ts +2 -3
  334. package/dist/components/rating-group/anatomy/label.d.ts.map +1 -1
  335. package/dist/components/rating-group/anatomy/label.js +2 -2
  336. package/dist/components/rating-group/anatomy/label.js.map +1 -1
  337. package/dist/components/rating-group/anatomy/root-context.d.ts +1 -1
  338. package/dist/components/rating-group/anatomy/root-context.js +4 -4
  339. package/dist/components/rating-group/anatomy/root-context.js.map +1 -1
  340. package/dist/components/rating-group/anatomy/root-provider.d.ts +3 -3
  341. package/dist/components/rating-group/anatomy/root-provider.js +2 -2
  342. package/dist/components/rating-group/anatomy/root-provider.js.map +1 -1
  343. package/dist/components/rating-group/anatomy/root.d.ts +2 -2
  344. package/dist/components/rating-group/anatomy/root.js +3 -3
  345. package/dist/components/rating-group/anatomy/root.js.map +1 -1
  346. package/dist/components/rating-group/modules/{use-rating-group.d.ts → provider.d.ts} +2 -2
  347. package/dist/components/rating-group/modules/provider.d.ts.map +1 -0
  348. package/dist/components/rating-group/modules/{use-rating-group.js → provider.js} +2 -2
  349. package/dist/components/rating-group/modules/provider.js.map +1 -0
  350. package/dist/components/rating-group/modules/root-context.js +2 -2
  351. package/dist/components/rating-group/modules/root-context.js.map +1 -1
  352. package/dist/components/segmented-control/anatomy/indicator.d.ts +2 -3
  353. package/dist/components/segmented-control/anatomy/indicator.d.ts.map +1 -1
  354. package/dist/components/segmented-control/anatomy/indicator.js +2 -2
  355. package/dist/components/segmented-control/anatomy/indicator.js.map +1 -1
  356. package/dist/components/segmented-control/anatomy/item-hidden-input.d.ts +2 -3
  357. package/dist/components/segmented-control/anatomy/item-hidden-input.d.ts.map +1 -1
  358. package/dist/components/segmented-control/anatomy/item-hidden-input.js +4 -4
  359. package/dist/components/segmented-control/anatomy/item-hidden-input.js.map +1 -1
  360. package/dist/components/segmented-control/anatomy/item-text.d.ts +2 -3
  361. package/dist/components/segmented-control/anatomy/item-text.d.ts.map +1 -1
  362. package/dist/components/segmented-control/anatomy/item-text.js +4 -4
  363. package/dist/components/segmented-control/anatomy/item-text.js.map +1 -1
  364. package/dist/components/segmented-control/anatomy/item.d.ts +2 -2
  365. package/dist/components/segmented-control/anatomy/item.js +4 -4
  366. package/dist/components/segmented-control/anatomy/item.js.map +1 -1
  367. package/dist/components/segmented-control/anatomy/root-context.d.ts +1 -1
  368. package/dist/components/segmented-control/anatomy/root-context.js +4 -4
  369. package/dist/components/segmented-control/anatomy/root-context.js.map +1 -1
  370. package/dist/components/segmented-control/anatomy/root-provider.d.ts +3 -3
  371. package/dist/components/segmented-control/anatomy/root-provider.js +2 -2
  372. package/dist/components/segmented-control/anatomy/root-provider.js.map +1 -1
  373. package/dist/components/segmented-control/anatomy/root.d.ts +2 -2
  374. package/dist/components/segmented-control/anatomy/root.js +3 -3
  375. package/dist/components/segmented-control/anatomy/root.js.map +1 -1
  376. package/dist/components/segmented-control/modules/item-context.js +2 -2
  377. package/dist/components/segmented-control/modules/item-context.js.map +1 -1
  378. package/dist/components/segmented-control/modules/{use-segmented-control.d.ts → provider.d.ts} +2 -2
  379. package/dist/components/segmented-control/modules/provider.d.ts.map +1 -0
  380. package/dist/components/segmented-control/modules/{use-segmented-control.js → provider.js} +2 -2
  381. package/dist/components/segmented-control/modules/provider.js.map +1 -0
  382. package/dist/components/segmented-control/modules/root-context.js +2 -2
  383. package/dist/components/segmented-control/modules/root-context.js.map +1 -1
  384. package/dist/components/slider/anatomy/control.d.ts +2 -3
  385. package/dist/components/slider/anatomy/control.d.ts.map +1 -1
  386. package/dist/components/slider/anatomy/control.js +2 -2
  387. package/dist/components/slider/anatomy/control.js.map +1 -1
  388. package/dist/components/slider/anatomy/hidden-input.d.ts +2 -3
  389. package/dist/components/slider/anatomy/hidden-input.d.ts.map +1 -1
  390. package/dist/components/slider/anatomy/hidden-input.js +4 -4
  391. package/dist/components/slider/anatomy/hidden-input.js.map +1 -1
  392. package/dist/components/slider/anatomy/label.d.ts +2 -3
  393. package/dist/components/slider/anatomy/label.d.ts.map +1 -1
  394. package/dist/components/slider/anatomy/label.js +2 -2
  395. package/dist/components/slider/anatomy/label.js.map +1 -1
  396. package/dist/components/slider/anatomy/marker-group.d.ts +2 -3
  397. package/dist/components/slider/anatomy/marker-group.d.ts.map +1 -1
  398. package/dist/components/slider/anatomy/marker-group.js +2 -2
  399. package/dist/components/slider/anatomy/marker-group.js.map +1 -1
  400. package/dist/components/slider/anatomy/marker.d.ts +2 -3
  401. package/dist/components/slider/anatomy/marker.d.ts.map +1 -1
  402. package/dist/components/slider/anatomy/marker.js +2 -2
  403. package/dist/components/slider/anatomy/marker.js.map +1 -1
  404. package/dist/components/slider/anatomy/range.d.ts +2 -3
  405. package/dist/components/slider/anatomy/range.d.ts.map +1 -1
  406. package/dist/components/slider/anatomy/range.js +2 -2
  407. package/dist/components/slider/anatomy/range.js.map +1 -1
  408. package/dist/components/slider/anatomy/root-context.d.ts +3 -3
  409. package/dist/components/slider/anatomy/root-context.d.ts.map +1 -1
  410. package/dist/components/slider/anatomy/root-context.js +4 -4
  411. package/dist/components/slider/anatomy/root-context.js.map +1 -1
  412. package/dist/components/slider/anatomy/root-provider.d.ts +3 -3
  413. package/dist/components/slider/anatomy/root-provider.js +2 -2
  414. package/dist/components/slider/anatomy/root-provider.js.map +1 -1
  415. package/dist/components/slider/anatomy/root.d.ts +2 -2
  416. package/dist/components/slider/anatomy/root.js +3 -3
  417. package/dist/components/slider/anatomy/root.js.map +1 -1
  418. package/dist/components/slider/anatomy/thumb.d.ts +2 -2
  419. package/dist/components/slider/anatomy/thumb.js +4 -4
  420. package/dist/components/slider/anatomy/thumb.js.map +1 -1
  421. package/dist/components/slider/anatomy/track.d.ts +2 -3
  422. package/dist/components/slider/anatomy/track.d.ts.map +1 -1
  423. package/dist/components/slider/anatomy/track.js +2 -2
  424. package/dist/components/slider/anatomy/track.js.map +1 -1
  425. package/dist/components/slider/anatomy/value-text.d.ts +2 -3
  426. package/dist/components/slider/anatomy/value-text.d.ts.map +1 -1
  427. package/dist/components/slider/anatomy/value-text.js +2 -2
  428. package/dist/components/slider/anatomy/value-text.js.map +1 -1
  429. package/dist/components/slider/modules/anatomy.d.ts +2 -2
  430. package/dist/components/slider/modules/anatomy.d.ts.map +1 -1
  431. package/dist/components/slider/modules/anatomy.js +2 -2
  432. package/dist/components/slider/modules/anatomy.js.map +1 -1
  433. package/dist/components/slider/modules/{use-slider.d.ts → provider.d.ts} +2 -2
  434. package/dist/components/slider/modules/provider.d.ts.map +1 -0
  435. package/dist/components/slider/modules/{use-slider.js → provider.js} +2 -2
  436. package/dist/components/slider/modules/provider.js.map +1 -0
  437. package/dist/components/slider/modules/root-context.js +2 -2
  438. package/dist/components/slider/modules/root-context.js.map +1 -1
  439. package/dist/components/slider/modules/thumb-context.js +2 -2
  440. package/dist/components/slider/modules/thumb-context.js.map +1 -1
  441. package/dist/components/switch/anatomy/control.d.ts +2 -3
  442. package/dist/components/switch/anatomy/control.d.ts.map +1 -1
  443. package/dist/components/switch/anatomy/control.js +2 -2
  444. package/dist/components/switch/anatomy/control.js.map +1 -1
  445. package/dist/components/switch/anatomy/hidden-input.d.ts +2 -3
  446. package/dist/components/switch/anatomy/hidden-input.d.ts.map +1 -1
  447. package/dist/components/switch/anatomy/hidden-input.js +2 -2
  448. package/dist/components/switch/anatomy/hidden-input.js.map +1 -1
  449. package/dist/components/switch/anatomy/label.d.ts +2 -3
  450. package/dist/components/switch/anatomy/label.d.ts.map +1 -1
  451. package/dist/components/switch/anatomy/label.js +2 -2
  452. package/dist/components/switch/anatomy/label.js.map +1 -1
  453. package/dist/components/switch/anatomy/root-context.d.ts +1 -1
  454. package/dist/components/switch/anatomy/root-context.js +4 -4
  455. package/dist/components/switch/anatomy/root-context.js.map +1 -1
  456. package/dist/components/switch/anatomy/root-provider.d.ts +3 -3
  457. package/dist/components/switch/anatomy/root-provider.js +2 -2
  458. package/dist/components/switch/anatomy/root-provider.js.map +1 -1
  459. package/dist/components/switch/anatomy/root.d.ts +2 -2
  460. package/dist/components/switch/anatomy/root.d.ts.map +1 -1
  461. package/dist/components/switch/anatomy/root.js +3 -3
  462. package/dist/components/switch/anatomy/root.js.map +1 -1
  463. package/dist/components/switch/anatomy/thumb.d.ts +2 -3
  464. package/dist/components/switch/anatomy/thumb.d.ts.map +1 -1
  465. package/dist/components/switch/anatomy/thumb.js +2 -2
  466. package/dist/components/switch/anatomy/thumb.js.map +1 -1
  467. package/dist/components/switch/modules/{use-switch.d.ts → provider.d.ts} +2 -2
  468. package/dist/components/switch/modules/provider.d.ts.map +1 -0
  469. package/dist/components/switch/modules/{use-switch.js → provider.js} +2 -2
  470. package/dist/components/switch/modules/provider.js.map +1 -0
  471. package/dist/components/switch/modules/root-context.js +2 -2
  472. package/dist/components/switch/modules/root-context.js.map +1 -1
  473. package/dist/components/tabs/anatomy/content.d.ts +2 -3
  474. package/dist/components/tabs/anatomy/content.d.ts.map +1 -1
  475. package/dist/components/tabs/anatomy/content.js +2 -2
  476. package/dist/components/tabs/anatomy/content.js.map +1 -1
  477. package/dist/components/tabs/anatomy/indicator.d.ts +2 -3
  478. package/dist/components/tabs/anatomy/indicator.d.ts.map +1 -1
  479. package/dist/components/tabs/anatomy/indicator.js +2 -2
  480. package/dist/components/tabs/anatomy/indicator.js.map +1 -1
  481. package/dist/components/tabs/anatomy/list.d.ts +2 -3
  482. package/dist/components/tabs/anatomy/list.d.ts.map +1 -1
  483. package/dist/components/tabs/anatomy/list.js +2 -2
  484. package/dist/components/tabs/anatomy/list.js.map +1 -1
  485. package/dist/components/tabs/anatomy/root-context.d.ts +1 -1
  486. package/dist/components/tabs/anatomy/root-context.js +4 -4
  487. package/dist/components/tabs/anatomy/root-context.js.map +1 -1
  488. package/dist/components/tabs/anatomy/root-provider.d.ts +3 -3
  489. package/dist/components/tabs/anatomy/root-provider.js +2 -2
  490. package/dist/components/tabs/anatomy/root-provider.js.map +1 -1
  491. package/dist/components/tabs/anatomy/root.d.ts +2 -2
  492. package/dist/components/tabs/anatomy/root.js +3 -3
  493. package/dist/components/tabs/anatomy/root.js.map +1 -1
  494. package/dist/components/tabs/anatomy/trigger.d.ts +2 -3
  495. package/dist/components/tabs/anatomy/trigger.d.ts.map +1 -1
  496. package/dist/components/tabs/anatomy/trigger.js +2 -2
  497. package/dist/components/tabs/anatomy/trigger.js.map +1 -1
  498. package/dist/components/tabs/modules/{use-tabs.d.ts → provider.d.ts} +2 -2
  499. package/dist/components/tabs/modules/provider.d.ts.map +1 -0
  500. package/dist/components/tabs/modules/{use-tabs.js → provider.js} +2 -2
  501. package/dist/components/tabs/modules/{use-tabs.js.map → provider.js.map} +1 -1
  502. package/dist/components/tabs/modules/root-context.js +2 -2
  503. package/dist/components/tabs/modules/root-context.js.map +1 -1
  504. package/dist/components/tags-input/anatomy/clear-trigger.d.ts +2 -3
  505. package/dist/components/tags-input/anatomy/clear-trigger.d.ts.map +1 -1
  506. package/dist/components/tags-input/anatomy/clear-trigger.js +2 -2
  507. package/dist/components/tags-input/anatomy/clear-trigger.js.map +1 -1
  508. package/dist/components/tags-input/anatomy/control.d.ts +2 -3
  509. package/dist/components/tags-input/anatomy/control.d.ts.map +1 -1
  510. package/dist/components/tags-input/anatomy/control.js +2 -2
  511. package/dist/components/tags-input/anatomy/control.js.map +1 -1
  512. package/dist/components/tags-input/anatomy/hidden-input.d.ts +2 -3
  513. package/dist/components/tags-input/anatomy/hidden-input.d.ts.map +1 -1
  514. package/dist/components/tags-input/anatomy/hidden-input.js +2 -2
  515. package/dist/components/tags-input/anatomy/hidden-input.js.map +1 -1
  516. package/dist/components/tags-input/anatomy/input.d.ts +2 -3
  517. package/dist/components/tags-input/anatomy/input.d.ts.map +1 -1
  518. package/dist/components/tags-input/anatomy/input.js +2 -2
  519. package/dist/components/tags-input/anatomy/input.js.map +1 -1
  520. package/dist/components/tags-input/anatomy/item-delete-trigger.d.ts +2 -3
  521. package/dist/components/tags-input/anatomy/item-delete-trigger.d.ts.map +1 -1
  522. package/dist/components/tags-input/anatomy/item-delete-trigger.js +6 -6
  523. package/dist/components/tags-input/anatomy/item-delete-trigger.js.map +1 -1
  524. package/dist/components/tags-input/anatomy/item-input.d.ts +2 -3
  525. package/dist/components/tags-input/anatomy/item-input.d.ts.map +1 -1
  526. package/dist/components/tags-input/anatomy/item-input.js +4 -4
  527. package/dist/components/tags-input/anatomy/item-input.js.map +1 -1
  528. package/dist/components/tags-input/anatomy/item-preview.d.ts +2 -3
  529. package/dist/components/tags-input/anatomy/item-preview.d.ts.map +1 -1
  530. package/dist/components/tags-input/anatomy/item-preview.js +4 -4
  531. package/dist/components/tags-input/anatomy/item-preview.js.map +1 -1
  532. package/dist/components/tags-input/anatomy/item-text.d.ts +2 -3
  533. package/dist/components/tags-input/anatomy/item-text.d.ts.map +1 -1
  534. package/dist/components/tags-input/anatomy/item-text.js +4 -4
  535. package/dist/components/tags-input/anatomy/item-text.js.map +1 -1
  536. package/dist/components/tags-input/anatomy/item.d.ts +2 -2
  537. package/dist/components/tags-input/anatomy/item.js +4 -4
  538. package/dist/components/tags-input/anatomy/item.js.map +1 -1
  539. package/dist/components/tags-input/anatomy/label.d.ts +2 -3
  540. package/dist/components/tags-input/anatomy/label.d.ts.map +1 -1
  541. package/dist/components/tags-input/anatomy/label.js +2 -2
  542. package/dist/components/tags-input/anatomy/label.js.map +1 -1
  543. package/dist/components/tags-input/anatomy/root-context.d.ts +1 -1
  544. package/dist/components/tags-input/anatomy/root-context.js +4 -4
  545. package/dist/components/tags-input/anatomy/root-context.js.map +1 -1
  546. package/dist/components/tags-input/anatomy/root-provider.d.ts +3 -3
  547. package/dist/components/tags-input/anatomy/root-provider.js +2 -2
  548. package/dist/components/tags-input/anatomy/root-provider.js.map +1 -1
  549. package/dist/components/tags-input/anatomy/root.d.ts +2 -2
  550. package/dist/components/tags-input/anatomy/root.js +3 -3
  551. package/dist/components/tags-input/anatomy/root.js.map +1 -1
  552. package/dist/components/tags-input/modules/item-context.js +2 -2
  553. package/dist/components/tags-input/modules/item-context.js.map +1 -1
  554. package/dist/components/tags-input/modules/{use-tags-input.d.ts → provider.d.ts} +2 -2
  555. package/dist/components/tags-input/modules/provider.d.ts.map +1 -0
  556. package/dist/components/tags-input/modules/{use-tags-input.js → provider.js} +2 -2
  557. package/dist/components/tags-input/modules/provider.js.map +1 -0
  558. package/dist/components/tags-input/modules/root-context.js +2 -2
  559. package/dist/components/tags-input/modules/root-context.js.map +1 -1
  560. package/dist/components/toast/anatomy/action-trigger.d.ts +2 -3
  561. package/dist/components/toast/anatomy/action-trigger.d.ts.map +1 -1
  562. package/dist/components/toast/anatomy/action-trigger.js +2 -2
  563. package/dist/components/toast/anatomy/action-trigger.js.map +1 -1
  564. package/dist/components/toast/anatomy/close-trigger.d.ts +2 -3
  565. package/dist/components/toast/anatomy/close-trigger.d.ts.map +1 -1
  566. package/dist/components/toast/anatomy/close-trigger.js +2 -2
  567. package/dist/components/toast/anatomy/close-trigger.js.map +1 -1
  568. package/dist/components/toast/anatomy/description.d.ts +2 -3
  569. package/dist/components/toast/anatomy/description.d.ts.map +1 -1
  570. package/dist/components/toast/anatomy/description.js +2 -2
  571. package/dist/components/toast/anatomy/description.js.map +1 -1
  572. package/dist/components/toast/anatomy/group.d.ts +2 -2
  573. package/dist/components/toast/anatomy/group.js +2 -2
  574. package/dist/components/toast/anatomy/group.js.map +1 -1
  575. package/dist/components/toast/anatomy/message.d.ts +2 -3
  576. package/dist/components/toast/anatomy/message.d.ts.map +1 -1
  577. package/dist/components/toast/anatomy/root-context.js +4 -4
  578. package/dist/components/toast/anatomy/root-context.js.map +1 -1
  579. package/dist/components/toast/anatomy/root.d.ts +2 -2
  580. package/dist/components/toast/anatomy/root.js +5 -5
  581. package/dist/components/toast/anatomy/root.js.map +1 -1
  582. package/dist/components/toast/anatomy/title.d.ts +2 -3
  583. package/dist/components/toast/anatomy/title.d.ts.map +1 -1
  584. package/dist/components/toast/anatomy/title.js +2 -2
  585. package/dist/components/toast/anatomy/title.js.map +1 -1
  586. package/dist/components/toast/modules/group-context.js +2 -2
  587. package/dist/components/toast/modules/group-context.js.map +1 -1
  588. package/dist/components/toast/modules/root-context.js +2 -2
  589. package/dist/components/toast/modules/root-context.js.map +1 -1
  590. package/dist/components/tooltip/anatomy/arrow-tip.d.ts +2 -3
  591. package/dist/components/tooltip/anatomy/arrow-tip.d.ts.map +1 -1
  592. package/dist/components/tooltip/anatomy/arrow-tip.js +2 -2
  593. package/dist/components/tooltip/anatomy/arrow-tip.js.map +1 -1
  594. package/dist/components/tooltip/anatomy/arrow.d.ts +2 -3
  595. package/dist/components/tooltip/anatomy/arrow.d.ts.map +1 -1
  596. package/dist/components/tooltip/anatomy/arrow.js +2 -2
  597. package/dist/components/tooltip/anatomy/arrow.js.map +1 -1
  598. package/dist/components/tooltip/anatomy/content.d.ts +2 -3
  599. package/dist/components/tooltip/anatomy/content.d.ts.map +1 -1
  600. package/dist/components/tooltip/anatomy/content.js +2 -2
  601. package/dist/components/tooltip/anatomy/content.js.map +1 -1
  602. package/dist/components/tooltip/anatomy/positioner.d.ts +2 -2
  603. package/dist/components/tooltip/anatomy/positioner.d.ts.map +1 -1
  604. package/dist/components/tooltip/anatomy/positioner.js +2 -2
  605. package/dist/components/tooltip/anatomy/positioner.js.map +1 -1
  606. package/dist/components/tooltip/anatomy/root-context.d.ts +1 -1
  607. package/dist/components/tooltip/anatomy/root-context.js +4 -4
  608. package/dist/components/tooltip/anatomy/root-context.js.map +1 -1
  609. package/dist/components/tooltip/anatomy/root-provider.d.ts +3 -3
  610. package/dist/components/tooltip/anatomy/root-provider.d.ts.map +1 -1
  611. package/dist/components/tooltip/anatomy/root-provider.js +2 -2
  612. package/dist/components/tooltip/anatomy/root-provider.js.map +1 -1
  613. package/dist/components/tooltip/anatomy/root.d.ts +2 -2
  614. package/dist/components/tooltip/anatomy/root.d.ts.map +1 -1
  615. package/dist/components/tooltip/anatomy/root.js +3 -3
  616. package/dist/components/tooltip/anatomy/root.js.map +1 -1
  617. package/dist/components/tooltip/anatomy/trigger.d.ts +2 -3
  618. package/dist/components/tooltip/anatomy/trigger.d.ts.map +1 -1
  619. package/dist/components/tooltip/anatomy/trigger.js +2 -2
  620. package/dist/components/tooltip/anatomy/trigger.js.map +1 -1
  621. package/dist/components/tooltip/modules/{use-tooltip.d.ts → provider.d.ts} +2 -2
  622. package/dist/components/tooltip/modules/provider.d.ts.map +1 -0
  623. package/dist/components/tooltip/modules/{use-tooltip.js → provider.js} +2 -2
  624. package/dist/components/tooltip/modules/provider.js.map +1 -0
  625. package/dist/components/tooltip/modules/root-context.js +2 -2
  626. package/dist/components/tooltip/modules/root-context.js.map +1 -1
  627. package/dist/index.d.ts +17 -15
  628. package/dist/index.js +16 -15
  629. package/dist/internal/props-with-element.d.ts +2 -2
  630. package/dist/internal/props-with-element.d.ts.map +1 -1
  631. package/package.json +1 -1
  632. package/dist/components/accordion/modules/use-accordion.d.ts.map +0 -1
  633. package/dist/components/accordion/modules/use-accordion.js.map +0 -1
  634. package/dist/components/avatar/modules/use-avatar.d.ts.map +0 -1
  635. package/dist/components/avatar/modules/use-avatar.js.map +0 -1
  636. package/dist/components/combobox/modules/use-combobox.d.ts.map +0 -1
  637. package/dist/components/combobox/modules/use-combobox.js.map +0 -1
  638. package/dist/components/dialog/modules/use-dialog.d.ts.map +0 -1
  639. package/dist/components/dialog/modules/use-dialog.js.map +0 -1
  640. package/dist/components/file-upload/modules/use-file-upload.d.ts.map +0 -1
  641. package/dist/components/file-upload/modules/use-file-upload.js.map +0 -1
  642. package/dist/components/popover/modules/use-popover.d.ts.map +0 -1
  643. package/dist/components/popover/modules/use-popover.js.map +0 -1
  644. package/dist/components/progress-linear/modules/use-progress-linear.d.ts.map +0 -1
  645. package/dist/components/progress-linear/modules/use-progress-linear.js.map +0 -1
  646. package/dist/components/rating-group/modules/use-rating-group.d.ts.map +0 -1
  647. package/dist/components/rating-group/modules/use-rating-group.js.map +0 -1
  648. package/dist/components/segmented-control/modules/use-segmented-control.d.ts.map +0 -1
  649. package/dist/components/segmented-control/modules/use-segmented-control.js.map +0 -1
  650. package/dist/components/slider/modules/use-slider.d.ts.map +0 -1
  651. package/dist/components/slider/modules/use-slider.js.map +0 -1
  652. package/dist/components/switch/modules/use-switch.d.ts.map +0 -1
  653. package/dist/components/switch/modules/use-switch.js.map +0 -1
  654. package/dist/components/tabs/modules/use-tabs.d.ts.map +0 -1
  655. package/dist/components/tags-input/modules/use-tags-input.d.ts.map +0 -1
  656. package/dist/components/tags-input/modules/use-tags-input.js.map +0 -1
  657. package/dist/components/tooltip/modules/use-tooltip.d.ts.map +0 -1
  658. package/dist/components/tooltip/modules/use-tooltip.js.map +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"provider.js","names":[],"sources":["../../../../src/components/slider/modules/provider.ts"],"sourcesContent":["import { normalizeProps, useMachine, type PropTypes } from '@zag-js/react';\nimport { connect, machine } from '@zag-js/slider';\nimport type { Api, Props } from '@zag-js/slider';\nimport { useId } from 'react';\n\nexport function useSlider(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,UAAU,QAA2B,EAAE,EAAkB;CACxE,MAAM,UAAU,WAAW,SAAS;EACnC,IAAI,OAAO;EACX,GAAG;EACH,CAAC;AACF,QAAO,QAAQ,SAAS,eAAe"}
@@ -1,8 +1,8 @@
1
1
  import { createContext } from "../../../internal/create-context.js";
2
2
 
3
3
  //#region src/components/slider/modules/root-context.ts
4
- const SliderRootContext = createContext();
4
+ const RootContext = createContext();
5
5
 
6
6
  //#endregion
7
- export { SliderRootContext };
7
+ export { RootContext };
8
8
  //# sourceMappingURL=root-context.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"root-context.js","names":[],"sources":["../../../../src/components/slider/modules/root-context.ts"],"sourcesContent":["import type { useSlider } from './use-slider';\nimport { createContext } from '@/internal/create-context';\n\nexport const SliderRootContext = createContext<ReturnType<typeof useSlider>>();\n"],"mappings":";;;AAGA,MAAa,oBAAoB,eAA6C"}
1
+ {"version":3,"file":"root-context.js","names":[],"sources":["../../../../src/components/slider/modules/root-context.ts"],"sourcesContent":["import type { useSlider } from './provider';\nimport { createContext } from '@/internal/create-context';\n\nexport const RootContext = createContext<ReturnType<typeof useSlider>>();\n"],"mappings":";;;AAGA,MAAa,cAAc,eAA6C"}
@@ -1,8 +1,8 @@
1
1
  import { createContext } from "../../../internal/create-context.js";
2
2
 
3
3
  //#region src/components/slider/modules/thumb-context.ts
4
- const SliderThumbContext = createContext();
4
+ const ThumbContext = createContext();
5
5
 
6
6
  //#endregion
7
- export { SliderThumbContext };
7
+ export { ThumbContext };
8
8
  //# sourceMappingURL=thumb-context.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"thumb-context.js","names":[],"sources":["../../../../src/components/slider/modules/thumb-context.ts"],"sourcesContent":["import { createContext } from '@/internal/create-context';\nimport type { ThumbProps } from '@zag-js/slider';\n\nexport const SliderThumbContext = createContext<ThumbProps>();\n"],"mappings":";;;AAGA,MAAa,qBAAqB,eAA2B"}
1
+ {"version":3,"file":"thumb-context.js","names":[],"sources":["../../../../src/components/slider/modules/thumb-context.ts"],"sourcesContent":["import { createContext } from '@/internal/create-context';\nimport type { ThumbProps } from '@zag-js/slider';\n\nexport const ThumbContext = createContext<ThumbProps>();\n"],"mappings":";;;AAGA,MAAa,eAAe,eAA2B"}
@@ -1,11 +1,10 @@
1
1
  import { HTMLAttributes } from "../../../internal/html-attributes.js";
2
2
  import { PropsWithElement } from "../../../internal/props-with-element.js";
3
- import * as react94 from "react";
4
- import * as react_jsx_runtime26 from "react/jsx-runtime";
3
+ import * as react56 from "react";
5
4
 
6
5
  //#region src/components/switch/anatomy/control.d.ts
7
6
  interface SwitchControlProps extends PropsWithElement<'span'>, HTMLAttributes<'span'> {}
8
- declare function Control(props: SwitchControlProps): string | number | bigint | boolean | Iterable<react94.ReactNode> | Promise<string | number | bigint | boolean | react94.ReactPortal | react94.ReactElement<unknown, string | react94.JSXElementConstructor<any>> | Iterable<react94.ReactNode> | null | undefined> | react_jsx_runtime26.JSX.Element | null | undefined;
7
+ declare function Control(props: SwitchControlProps): react56.JSX.Element;
9
8
  //#endregion
10
9
  export { Control, SwitchControlProps };
11
10
  //# sourceMappingURL=control.d.ts.map
@@ -1 +1 @@
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,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,qBAAkB,OAAA,CAAA,GAAA,CAAA"}
@@ -1,4 +1,4 @@
1
- import { SwitchRootContext } from "../modules/root-context.js";
1
+ import { RootContext } from "../modules/root-context.js";
2
2
  import { use } from "react";
3
3
  import { mergeProps } from "@zag-js/react";
4
4
  import { classesSwitch } from "@skeletonlabs/skeleton-common";
@@ -6,7 +6,7 @@ import { jsx } from "react/jsx-runtime";
6
6
 
7
7
  //#region src/components/switch/anatomy/control.tsx
8
8
  function Control(props) {
9
- const switch_ = use(SwitchRootContext);
9
+ const switch_ = use(RootContext);
10
10
  const { element, children,...rest } = props;
11
11
  const attributes = mergeProps(switch_.getControlProps(), { className: classesSwitch.control }, rest);
12
12
  return element ? element(attributes) : /* @__PURE__ */ jsx("span", {
@@ -1 +1 @@
1
- {"version":3,"file":"control.js","names":[],"sources":["../../../../src/components/switch/anatomy/control.tsx"],"sourcesContent":["import { SwitchRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesSwitch } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface SwitchControlProps extends PropsWithElement<'span'>, HTMLAttributes<'span'> {}\n\nexport default function Control(props: SwitchControlProps) {\n\tconst switch_ = use(SwitchRootContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(\n\t\tswitch_.getControlProps(),\n\t\t{\n\t\t\tclassName: classesSwitch.control,\n\t\t},\n\t\trest,\n\t);\n\n\treturn element ? element(attributes) : <span {...attributes}>{children}</span>;\n}\n"],"mappings":";;;;;;;AASA,SAAwB,QAAQ,OAA2B;CAC1D,MAAM,UAAU,IAAI,kBAAkB;CAEtC,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,aAAa,WAClB,QAAQ,iBAAiB,EACzB,EACC,WAAW,cAAc,SACzB,EACD,KACA;AAED,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC;EAAK,GAAI;EAAa;GAAgB"}
1
+ {"version":3,"file":"control.js","names":[],"sources":["../../../../src/components/switch/anatomy/control.tsx"],"sourcesContent":["import { RootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesSwitch } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface SwitchControlProps extends PropsWithElement<'span'>, HTMLAttributes<'span'> {}\n\nexport default function Control(props: SwitchControlProps) {\n\tconst switch_ = use(RootContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(\n\t\tswitch_.getControlProps(),\n\t\t{\n\t\t\tclassName: classesSwitch.control,\n\t\t},\n\t\trest,\n\t);\n\n\treturn element ? element(attributes) : <span {...attributes}>{children}</span>;\n}\n"],"mappings":";;;;;;;AASA,SAAwB,QAAQ,OAA2B;CAC1D,MAAM,UAAU,IAAI,YAAY;CAEhC,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,aAAa,WAClB,QAAQ,iBAAiB,EACzB,EACC,WAAW,cAAc,SACzB,EACD,KACA;AAED,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC;EAAK,GAAI;EAAa;GAAgB"}
@@ -1,11 +1,10 @@
1
1
  import { HTMLAttributes } from "../../../internal/html-attributes.js";
2
2
  import { PropsWithElement } from "../../../internal/props-with-element.js";
3
- import * as react99 from "react";
4
- import * as react_jsx_runtime27 from "react/jsx-runtime";
3
+ import * as react57 from "react";
5
4
 
6
5
  //#region src/components/switch/anatomy/hidden-input.d.ts
7
6
  interface SwitchHiddenInputProps extends PropsWithElement<'input'>, HTMLAttributes<'input', 'children'> {}
8
- declare function HiddenInput(props: SwitchHiddenInputProps): string | number | bigint | boolean | Iterable<react99.ReactNode> | Promise<string | number | bigint | boolean | react99.ReactPortal | react99.ReactElement<unknown, string | react99.JSXElementConstructor<any>> | Iterable<react99.ReactNode> | null | undefined> | react_jsx_runtime27.JSX.Element | null | undefined;
7
+ declare function HiddenInput(props: SwitchHiddenInputProps): react57.JSX.Element;
9
8
  //#endregion
10
9
  export { HiddenInput, SwitchHiddenInputProps };
11
10
  //# sourceMappingURL=hidden-input.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"hidden-input.d.ts","names":[],"sources":["../../../../src/components/switch/anatomy/hidden-input.tsx"],"sourcesContent":[],"mappings":";;;;;;UAOiB,sBAAA,SAA+B,2BAA2B;iBAEnD,WAAA,QAAmB,8DAAsB,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":"hidden-input.d.ts","names":[],"sources":["../../../../src/components/switch/anatomy/hidden-input.tsx"],"sourcesContent":[],"mappings":";;;;;UAOiB,sBAAA,SAA+B,2BAA2B;iBAEnD,WAAA,QAAmB,yBAAsB,OAAA,CAAA,GAAA,CAAA"}
@@ -1,4 +1,4 @@
1
- import { SwitchRootContext } from "../modules/root-context.js";
1
+ import { RootContext } from "../modules/root-context.js";
2
2
  import { use } from "react";
3
3
  import { mergeProps } from "@zag-js/react";
4
4
  import { classesSwitch } from "@skeletonlabs/skeleton-common";
@@ -6,7 +6,7 @@ import { jsx } from "react/jsx-runtime";
6
6
 
7
7
  //#region src/components/switch/anatomy/hidden-input.tsx
8
8
  function HiddenInput(props) {
9
- const switch_ = use(SwitchRootContext);
9
+ const switch_ = use(RootContext);
10
10
  const { element,...rest } = props;
11
11
  const attributes = mergeProps(switch_.getHiddenInputProps(), { className: classesSwitch.hiddenInput }, rest);
12
12
  return element ? element(attributes) : /* @__PURE__ */ jsx("input", { ...attributes });
@@ -1 +1 @@
1
- {"version":3,"file":"hidden-input.js","names":[],"sources":["../../../../src/components/switch/anatomy/hidden-input.tsx"],"sourcesContent":["import { SwitchRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesSwitch } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface SwitchHiddenInputProps extends PropsWithElement<'input'>, HTMLAttributes<'input', 'children'> {}\n\nexport default function HiddenInput(props: SwitchHiddenInputProps) {\n\tconst switch_ = use(SwitchRootContext);\n\n\tconst { element, ...rest } = props;\n\n\tconst attributes = mergeProps(\n\t\tswitch_.getHiddenInputProps(),\n\t\t{\n\t\t\tclassName: classesSwitch.hiddenInput,\n\t\t},\n\t\trest,\n\t);\n\n\treturn element ? element(attributes) : <input {...attributes} />;\n}\n"],"mappings":";;;;;;;AASA,SAAwB,YAAY,OAA+B;CAClE,MAAM,UAAU,IAAI,kBAAkB;CAEtC,MAAM,EAAE,QAAS,GAAG,SAAS;CAE7B,MAAM,aAAa,WAClB,QAAQ,qBAAqB,EAC7B,EACC,WAAW,cAAc,aACzB,EACD,KACA;AAED,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC,WAAM,GAAI,aAAc"}
1
+ {"version":3,"file":"hidden-input.js","names":[],"sources":["../../../../src/components/switch/anatomy/hidden-input.tsx"],"sourcesContent":["import { RootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesSwitch } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface SwitchHiddenInputProps extends PropsWithElement<'input'>, HTMLAttributes<'input', 'children'> {}\n\nexport default function HiddenInput(props: SwitchHiddenInputProps) {\n\tconst switch_ = use(RootContext);\n\n\tconst { element, ...rest } = props;\n\n\tconst attributes = mergeProps(\n\t\tswitch_.getHiddenInputProps(),\n\t\t{\n\t\t\tclassName: classesSwitch.hiddenInput,\n\t\t},\n\t\trest,\n\t);\n\n\treturn element ? element(attributes) : <input {...attributes} />;\n}\n"],"mappings":";;;;;;;AASA,SAAwB,YAAY,OAA+B;CAClE,MAAM,UAAU,IAAI,YAAY;CAEhC,MAAM,EAAE,QAAS,GAAG,SAAS;CAE7B,MAAM,aAAa,WAClB,QAAQ,qBAAqB,EAC7B,EACC,WAAW,cAAc,aACzB,EACD,KACA;AAED,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC,WAAM,GAAI,aAAc"}
@@ -1,11 +1,10 @@
1
1
  import { HTMLAttributes } from "../../../internal/html-attributes.js";
2
2
  import { PropsWithElement } from "../../../internal/props-with-element.js";
3
- import * as react104 from "react";
4
- import * as react_jsx_runtime28 from "react/jsx-runtime";
3
+ import * as react58 from "react";
5
4
 
6
5
  //#region src/components/switch/anatomy/label.d.ts
7
6
  interface SwitchLabelProps extends PropsWithElement<'span'>, HTMLAttributes<'span'> {}
8
- declare function Label(props: SwitchLabelProps): string | number | bigint | boolean | Iterable<react104.ReactNode> | Promise<string | number | bigint | boolean | react104.ReactPortal | react104.ReactElement<unknown, string | react104.JSXElementConstructor<any>> | Iterable<react104.ReactNode> | null | undefined> | react_jsx_runtime28.JSX.Element | null | undefined;
7
+ declare function Label(props: SwitchLabelProps): react58.JSX.Element;
9
8
  //#endregion
10
9
  export { Label, SwitchLabelProps };
11
10
  //# sourceMappingURL=label.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"label.d.ts","names":[],"sources":["../../../../src/components/switch/anatomy/label.tsx"],"sourcesContent":[],"mappings":";;;;;;UAOiB,gBAAA,SAAyB,0BAA0B;iBAE5C,KAAA,QAAa,wDAAgB,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/switch/anatomy/label.tsx"],"sourcesContent":[],"mappings":";;;;;UAOiB,gBAAA,SAAyB,0BAA0B;iBAE5C,KAAA,QAAa,mBAAgB,OAAA,CAAA,GAAA,CAAA"}
@@ -1,4 +1,4 @@
1
- import { SwitchRootContext } from "../modules/root-context.js";
1
+ import { RootContext } from "../modules/root-context.js";
2
2
  import { use } from "react";
3
3
  import { mergeProps } from "@zag-js/react";
4
4
  import { classesSwitch } from "@skeletonlabs/skeleton-common";
@@ -6,7 +6,7 @@ import { jsx } from "react/jsx-runtime";
6
6
 
7
7
  //#region src/components/switch/anatomy/label.tsx
8
8
  function Label(props) {
9
- const switch_ = use(SwitchRootContext);
9
+ const switch_ = use(RootContext);
10
10
  const { element, children,...rest } = props;
11
11
  const attributes = mergeProps(switch_.getLabelProps(), { className: classesSwitch.label }, rest);
12
12
  return element ? element(attributes) : /* @__PURE__ */ jsx("span", {
@@ -1 +1 @@
1
- {"version":3,"file":"label.js","names":[],"sources":["../../../../src/components/switch/anatomy/label.tsx"],"sourcesContent":["import { SwitchRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesSwitch } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface SwitchLabelProps extends PropsWithElement<'span'>, HTMLAttributes<'span'> {}\n\nexport default function Label(props: SwitchLabelProps) {\n\tconst switch_ = use(SwitchRootContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(\n\t\tswitch_.getLabelProps(),\n\t\t{\n\t\t\tclassName: classesSwitch.label,\n\t\t},\n\t\trest,\n\t);\n\n\treturn element ? element(attributes) : <span {...attributes}>{children}</span>;\n}\n"],"mappings":";;;;;;;AASA,SAAwB,MAAM,OAAyB;CACtD,MAAM,UAAU,IAAI,kBAAkB;CAEtC,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,aAAa,WAClB,QAAQ,eAAe,EACvB,EACC,WAAW,cAAc,OACzB,EACD,KACA;AAED,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC;EAAK,GAAI;EAAa;GAAgB"}
1
+ {"version":3,"file":"label.js","names":[],"sources":["../../../../src/components/switch/anatomy/label.tsx"],"sourcesContent":["import { RootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesSwitch } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface SwitchLabelProps extends PropsWithElement<'span'>, HTMLAttributes<'span'> {}\n\nexport default function Label(props: SwitchLabelProps) {\n\tconst switch_ = use(RootContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(\n\t\tswitch_.getLabelProps(),\n\t\t{\n\t\t\tclassName: classesSwitch.label,\n\t\t},\n\t\trest,\n\t);\n\n\treturn element ? element(attributes) : <span {...attributes}>{children}</span>;\n}\n"],"mappings":";;;;;;;AASA,SAAwB,MAAM,OAAyB;CACtD,MAAM,UAAU,IAAI,YAAY;CAEhC,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,aAAa,WAClB,QAAQ,eAAe,EACvB,EACC,WAAW,cAAc,OACzB,EACD,KACA;AAED,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC;EAAK,GAAI;EAAa;GAAgB"}
@@ -1,4 +1,4 @@
1
- import { useSwitch } from "../modules/use-switch.js";
1
+ import { useSwitch } from "../modules/provider.js";
2
2
  import { ReactNode } from "react";
3
3
 
4
4
  //#region src/components/switch/anatomy/root-context.d.ts
@@ -1,13 +1,13 @@
1
- import { SwitchRootContext } from "../modules/root-context.js";
1
+ import { RootContext } from "../modules/root-context.js";
2
2
  import { use } from "react";
3
3
 
4
4
  //#region src/components/switch/anatomy/root-context.tsx
5
- function RootContext(props) {
6
- const switch_ = use(SwitchRootContext);
5
+ function RootContext$1(props) {
6
+ const switch_ = use(RootContext);
7
7
  const { children } = props;
8
8
  return children(switch_);
9
9
  }
10
10
 
11
11
  //#endregion
12
- export { RootContext as default };
12
+ export { RootContext$1 as default };
13
13
  //# sourceMappingURL=root-context.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"root-context.js","names":[],"sources":["../../../../src/components/switch/anatomy/root-context.tsx"],"sourcesContent":["import { SwitchRootContext } from '../modules/root-context';\nimport type { useSwitch } from '../modules/use-switch';\nimport { use } from 'react';\nimport type { ReactNode } from 'react';\n\nexport interface SwitchRootContextProps {\n\tchildren: (switch_: ReturnType<typeof useSwitch>) => ReactNode;\n}\n\nexport default function RootContext(props: SwitchRootContextProps) {\n\tconst switch_ = use(SwitchRootContext);\n\n\tconst { children } = props;\n\n\treturn children(switch_);\n}\n"],"mappings":";;;;AASA,SAAwB,YAAY,OAA+B;CAClE,MAAM,UAAU,IAAI,kBAAkB;CAEtC,MAAM,EAAE,aAAa;AAErB,QAAO,SAAS,QAAQ"}
1
+ {"version":3,"file":"root-context.js","names":["RootContext","RootContext_"],"sources":["../../../../src/components/switch/anatomy/root-context.tsx"],"sourcesContent":["import type { useSwitch } from '../modules/provider';\nimport { RootContext as RootContext_ } from '../modules/root-context';\nimport { use } from 'react';\nimport type { ReactNode } from 'react';\n\nexport interface SwitchRootContextProps {\n\tchildren: (switch_: ReturnType<typeof useSwitch>) => ReactNode;\n}\n\nexport default function RootContext(props: SwitchRootContextProps) {\n\tconst switch_ = use(RootContext_);\n\n\tconst { children } = props;\n\n\treturn children(switch_);\n}\n"],"mappings":";;;;AASA,SAAwBA,cAAY,OAA+B;CAClE,MAAM,UAAU,IAAIC,YAAa;CAEjC,MAAM,EAAE,aAAa;AAErB,QAAO,SAAS,QAAQ"}
@@ -1,13 +1,13 @@
1
1
  import { HTMLAttributes } from "../../../internal/html-attributes.js";
2
2
  import { PropsWithElement } from "../../../internal/props-with-element.js";
3
- import { useSwitch } from "../modules/use-switch.js";
4
- import * as react_jsx_runtime29 from "react/jsx-runtime";
3
+ import { useSwitch } from "../modules/provider.js";
4
+ import * as react_jsx_runtime26 from "react/jsx-runtime";
5
5
 
6
6
  //#region src/components/switch/anatomy/root-provider.d.ts
7
7
  interface SwitchRootProviderProps extends PropsWithElement<'label'>, HTMLAttributes<'label', 'id' | 'dir'> {
8
8
  value: ReturnType<typeof useSwitch>;
9
9
  }
10
- declare function RootProvider(props: SwitchRootProviderProps): react_jsx_runtime29.JSX.Element;
10
+ declare function RootProvider(props: SwitchRootProviderProps): react_jsx_runtime26.JSX.Element;
11
11
  //#endregion
12
12
  export { RootProvider, SwitchRootProviderProps };
13
13
  //# sourceMappingURL=root-provider.d.ts.map
@@ -1,4 +1,4 @@
1
- import { SwitchRootContext } from "../modules/root-context.js";
1
+ import { RootContext } from "../modules/root-context.js";
2
2
  import { mergeProps } from "@zag-js/react";
3
3
  import { classesSwitch } from "@skeletonlabs/skeleton-common";
4
4
  import { jsx } from "react/jsx-runtime";
@@ -7,7 +7,7 @@ import { jsx } from "react/jsx-runtime";
7
7
  function RootProvider(props) {
8
8
  const { element, children, value: switch_,...rest } = props;
9
9
  const attributes = mergeProps(switch_.getRootProps(), { className: classesSwitch.root }, rest);
10
- return /* @__PURE__ */ jsx(SwitchRootContext.Provider, {
10
+ return /* @__PURE__ */ jsx(RootContext.Provider, {
11
11
  value: switch_,
12
12
  children: element ? element(attributes) : /* @__PURE__ */ jsx("label", {
13
13
  ...attributes,
@@ -1 +1 @@
1
- {"version":3,"file":"root-provider.js","names":[],"sources":["../../../../src/components/switch/anatomy/root-provider.tsx"],"sourcesContent":["import { SwitchRootContext } from '../modules/root-context';\nimport type { useSwitch } from '../modules/use-switch';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesSwitch } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\n\nexport interface SwitchRootProviderProps extends PropsWithElement<'label'>, HTMLAttributes<'label', 'id' | 'dir'> {\n\tvalue: ReturnType<typeof useSwitch>;\n}\n\nexport default function RootProvider(props: SwitchRootProviderProps) {\n\tconst { element, children, value: switch_, ...rest } = props;\n\n\tconst attributes = mergeProps(\n\t\tswitch_.getRootProps(),\n\t\t{\n\t\t\tclassName: classesSwitch.root,\n\t\t},\n\t\trest,\n\t);\n\n\treturn (\n\t\t<SwitchRootContext.Provider value={switch_}>\n\t\t\t{element ? element(attributes) : <label {...attributes}>{children}</label>}\n\t\t</SwitchRootContext.Provider>\n\t);\n}\n"],"mappings":";;;;;;AAWA,SAAwB,aAAa,OAAgC;CACpE,MAAM,EAAE,SAAS,UAAU,OAAO,QAAS,GAAG,SAAS;CAEvD,MAAM,aAAa,WAClB,QAAQ,cAAc,EACtB,EACC,WAAW,cAAc,MACzB,EACD,KACA;AAED,QACC,oBAAC,kBAAkB;EAAS,OAAO;YACjC,UAAU,QAAQ,WAAW,GAAG,oBAAC;GAAM,GAAI;GAAa;IAAiB;GAC9C"}
1
+ {"version":3,"file":"root-provider.js","names":[],"sources":["../../../../src/components/switch/anatomy/root-provider.tsx"],"sourcesContent":["import type { useSwitch } from '../modules/provider';\nimport { RootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesSwitch } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\n\nexport interface SwitchRootProviderProps extends PropsWithElement<'label'>, HTMLAttributes<'label', 'id' | 'dir'> {\n\tvalue: ReturnType<typeof useSwitch>;\n}\n\nexport default function RootProvider(props: SwitchRootProviderProps) {\n\tconst { element, children, value: switch_, ...rest } = props;\n\n\tconst attributes = mergeProps(\n\t\tswitch_.getRootProps(),\n\t\t{\n\t\t\tclassName: classesSwitch.root,\n\t\t},\n\t\trest,\n\t);\n\n\treturn (\n\t\t<RootContext.Provider value={switch_}>{element ? element(attributes) : <label {...attributes}>{children}</label>}</RootContext.Provider>\n\t);\n}\n"],"mappings":";;;;;;AAWA,SAAwB,aAAa,OAAgC;CACpE,MAAM,EAAE,SAAS,UAAU,OAAO,QAAS,GAAG,SAAS;CAEvD,MAAM,aAAa,WAClB,QAAQ,cAAc,EACtB,EACC,WAAW,cAAc,MACzB,EACD,KACA;AAED,QACC,oBAAC,YAAY;EAAS,OAAO;YAAU,UAAU,QAAQ,WAAW,GAAG,oBAAC;GAAM,GAAI;GAAa;IAAiB;GAAwB"}
@@ -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_runtime121 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime37 from "react/jsx-runtime";
4
4
  import { Props } from "@zag-js/switch";
5
5
 
6
6
  //#region src/components/switch/anatomy/root.d.ts
7
7
  interface SwitchRootProps extends Omit<Props, 'id'>, PropsWithElement<'label'>, HTMLAttributes<'label', 'id' | 'dir'> {}
8
- declare function Root(props: SwitchRootProps): react_jsx_runtime121.JSX.Element;
8
+ declare function Root(props: SwitchRootProps): react_jsx_runtime37.JSX.Element;
9
9
  //#endregion
10
10
  export { Root };
11
11
  //# sourceMappingURL=root.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"root.d.ts","names":[],"sources":["../../../../src/components/switch/anatomy/root.tsx"],"sourcesContent":[],"mappings":";;;;;;UASiB,eAAA,SAAwB,KAAK,cAAc,2BAA2B;iBAE/D,IAAA,QAAY,kBAAe,oBAAA,CAAA,GAAA,CAAA"}
1
+ {"version":3,"file":"root.d.ts","names":[],"sources":["../../../../src/components/switch/anatomy/root.tsx"],"sourcesContent":[],"mappings":";;;;;;UASiB,eAAA,SAAwB,KAAK,cAAc,2BAA2B;iBAE/D,IAAA,QAAY,kBAAe,mBAAA,CAAA,GAAA,CAAA"}
@@ -1,5 +1,5 @@
1
- import { SwitchRootContext } from "../modules/root-context.js";
2
- import { useSwitch } from "../modules/use-switch.js";
1
+ import { RootContext } from "../modules/root-context.js";
2
+ import { useSwitch } from "../modules/provider.js";
3
3
  import { mergeProps } from "@zag-js/react";
4
4
  import { classesSwitch } from "@skeletonlabs/skeleton-common";
5
5
  import { jsx } from "react/jsx-runtime";
@@ -11,7 +11,7 @@ function Root(props) {
11
11
  const { element, children,...rest } = componentProps;
12
12
  const switch_ = useSwitch(switchProps);
13
13
  const attributes = mergeProps(switch_.getRootProps(), { className: classesSwitch.root }, rest);
14
- return /* @__PURE__ */ jsx(SwitchRootContext.Provider, {
14
+ return /* @__PURE__ */ jsx(RootContext.Provider, {
15
15
  value: switch_,
16
16
  children: element ? element(attributes) : /* @__PURE__ */ jsx("label", {
17
17
  ...attributes,
@@ -1 +1 @@
1
- {"version":3,"file":"root.js","names":[],"sources":["../../../../src/components/switch/anatomy/root.tsx"],"sourcesContent":["import { SwitchRootContext } from '../modules/root-context';\nimport { useSwitch } from '../modules/use-switch';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesSwitch } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { splitProps } from '@zag-js/switch';\nimport type { Props } from '@zag-js/switch';\n\nexport interface SwitchRootProps extends Omit<Props, 'id'>, PropsWithElement<'label'>, HTMLAttributes<'label', 'id' | 'dir'> {}\n\nexport default function Root(props: SwitchRootProps) {\n\tconst [switchProps, componentProps] = splitProps(props);\n\tconst { element, children, ...rest } = componentProps;\n\n\tconst switch_ = useSwitch(switchProps);\n\n\tconst attributes = mergeProps(\n\t\tswitch_.getRootProps(),\n\t\t{\n\t\t\tclassName: classesSwitch.root,\n\t\t},\n\t\trest,\n\t);\n\n\treturn (\n\t\t<SwitchRootContext.Provider value={switch_}>\n\t\t\t{element ? element(attributes) : <label {...attributes}>{children}</label>}\n\t\t</SwitchRootContext.Provider>\n\t);\n}\n"],"mappings":";;;;;;;;AAWA,SAAwB,KAAK,OAAwB;CACpD,MAAM,CAAC,aAAa,kBAAkB,WAAW,MAAM;CACvD,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,UAAU,UAAU,YAAY;CAEtC,MAAM,aAAa,WAClB,QAAQ,cAAc,EACtB,EACC,WAAW,cAAc,MACzB,EACD,KACA;AAED,QACC,oBAAC,kBAAkB;EAAS,OAAO;YACjC,UAAU,QAAQ,WAAW,GAAG,oBAAC;GAAM,GAAI;GAAa;IAAiB;GAC9C"}
1
+ {"version":3,"file":"root.js","names":[],"sources":["../../../../src/components/switch/anatomy/root.tsx"],"sourcesContent":["import { useSwitch } from '../modules/provider';\nimport { RootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesSwitch } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { splitProps } from '@zag-js/switch';\nimport type { Props } from '@zag-js/switch';\n\nexport interface SwitchRootProps extends Omit<Props, 'id'>, PropsWithElement<'label'>, HTMLAttributes<'label', 'id' | 'dir'> {}\n\nexport default function Root(props: SwitchRootProps) {\n\tconst [switchProps, componentProps] = splitProps(props);\n\tconst { element, children, ...rest } = componentProps;\n\n\tconst switch_ = useSwitch(switchProps);\n\n\tconst attributes = mergeProps(\n\t\tswitch_.getRootProps(),\n\t\t{\n\t\t\tclassName: classesSwitch.root,\n\t\t},\n\t\trest,\n\t);\n\n\treturn (\n\t\t<RootContext.Provider value={switch_}>{element ? element(attributes) : <label {...attributes}>{children}</label>}</RootContext.Provider>\n\t);\n}\n"],"mappings":";;;;;;;;AAWA,SAAwB,KAAK,OAAwB;CACpD,MAAM,CAAC,aAAa,kBAAkB,WAAW,MAAM;CACvD,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,UAAU,UAAU,YAAY;CAEtC,MAAM,aAAa,WAClB,QAAQ,cAAc,EACtB,EACC,WAAW,cAAc,MACzB,EACD,KACA;AAED,QACC,oBAAC,YAAY;EAAS,OAAO;YAAU,UAAU,QAAQ,WAAW,GAAG,oBAAC;GAAM,GAAI;GAAa;IAAiB;GAAwB"}
@@ -1,11 +1,10 @@
1
1
  import { HTMLAttributes } from "../../../internal/html-attributes.js";
2
2
  import { PropsWithElement } from "../../../internal/props-with-element.js";
3
- import * as react109 from "react";
4
- import * as react_jsx_runtime30 from "react/jsx-runtime";
3
+ import * as react59 from "react";
5
4
 
6
5
  //#region src/components/switch/anatomy/thumb.d.ts
7
6
  interface SwitchThumbProps extends PropsWithElement<'span'>, HTMLAttributes<'span'> {}
8
- declare function Thumb(props: SwitchThumbProps): string | number | bigint | boolean | Iterable<react109.ReactNode> | Promise<string | number | bigint | boolean | react109.ReactPortal | react109.ReactElement<unknown, string | react109.JSXElementConstructor<any>> | Iterable<react109.ReactNode> | null | undefined> | react_jsx_runtime30.JSX.Element | null | undefined;
7
+ declare function Thumb(props: SwitchThumbProps): react59.JSX.Element;
9
8
  //#endregion
10
9
  export { SwitchThumbProps, Thumb };
11
10
  //# sourceMappingURL=thumb.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"thumb.d.ts","names":[],"sources":["../../../../src/components/switch/anatomy/thumb.tsx"],"sourcesContent":[],"mappings":";;;;;;UAOiB,gBAAA,SAAyB,0BAA0B;iBAE5C,KAAA,QAAa,wDAAgB,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":"thumb.d.ts","names":[],"sources":["../../../../src/components/switch/anatomy/thumb.tsx"],"sourcesContent":[],"mappings":";;;;;UAOiB,gBAAA,SAAyB,0BAA0B;iBAE5C,KAAA,QAAa,mBAAgB,OAAA,CAAA,GAAA,CAAA"}
@@ -1,4 +1,4 @@
1
- import { SwitchRootContext } from "../modules/root-context.js";
1
+ import { RootContext } from "../modules/root-context.js";
2
2
  import { use } from "react";
3
3
  import { mergeProps } from "@zag-js/react";
4
4
  import { classesSwitch } from "@skeletonlabs/skeleton-common";
@@ -6,7 +6,7 @@ import { jsx } from "react/jsx-runtime";
6
6
 
7
7
  //#region src/components/switch/anatomy/thumb.tsx
8
8
  function Thumb(props) {
9
- const switch_ = use(SwitchRootContext);
9
+ const switch_ = use(RootContext);
10
10
  const { element, children,...rest } = props;
11
11
  const attributes = mergeProps(switch_.getThumbProps(), { className: classesSwitch.thumb }, rest);
12
12
  return element ? element(attributes) : /* @__PURE__ */ jsx("span", {
@@ -1 +1 @@
1
- {"version":3,"file":"thumb.js","names":[],"sources":["../../../../src/components/switch/anatomy/thumb.tsx"],"sourcesContent":["import { SwitchRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesSwitch } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface SwitchThumbProps extends PropsWithElement<'span'>, HTMLAttributes<'span'> {}\n\nexport default function Thumb(props: SwitchThumbProps) {\n\tconst switch_ = use(SwitchRootContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(\n\t\tswitch_.getThumbProps(),\n\t\t{\n\t\t\tclassName: classesSwitch.thumb,\n\t\t},\n\t\trest,\n\t);\n\n\treturn element ? element(attributes) : <span {...attributes}>{children}</span>;\n}\n"],"mappings":";;;;;;;AASA,SAAwB,MAAM,OAAyB;CACtD,MAAM,UAAU,IAAI,kBAAkB;CAEtC,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,aAAa,WAClB,QAAQ,eAAe,EACvB,EACC,WAAW,cAAc,OACzB,EACD,KACA;AAED,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC;EAAK,GAAI;EAAa;GAAgB"}
1
+ {"version":3,"file":"thumb.js","names":[],"sources":["../../../../src/components/switch/anatomy/thumb.tsx"],"sourcesContent":["import { RootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesSwitch } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface SwitchThumbProps extends PropsWithElement<'span'>, HTMLAttributes<'span'> {}\n\nexport default function Thumb(props: SwitchThumbProps) {\n\tconst switch_ = use(RootContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(\n\t\tswitch_.getThumbProps(),\n\t\t{\n\t\t\tclassName: classesSwitch.thumb,\n\t\t},\n\t\trest,\n\t);\n\n\treturn element ? element(attributes) : <span {...attributes}>{children}</span>;\n}\n"],"mappings":";;;;;;;AASA,SAAwB,MAAM,OAAyB;CACtD,MAAM,UAAU,IAAI,YAAY;CAEhC,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,aAAa,WAClB,QAAQ,eAAe,EACvB,EACC,WAAW,cAAc,OACzB,EACD,KACA;AAED,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC;EAAK,GAAI;EAAa;GAAgB"}
@@ -1,8 +1,8 @@
1
1
  import { PropTypes } from "@zag-js/react";
2
2
  import { Api, Props } from "@zag-js/switch";
3
3
 
4
- //#region src/components/switch/modules/use-switch.d.ts
4
+ //#region src/components/switch/modules/provider.d.ts
5
5
  declare function useSwitch(props?: Omit<Props, 'id'>): Api<PropTypes>;
6
6
  //#endregion
7
7
  export { useSwitch };
8
- //# sourceMappingURL=use-switch.d.ts.map
8
+ //# sourceMappingURL=provider.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"provider.d.ts","names":[],"sources":["../../../../src/components/switch/modules/provider.ts"],"sourcesContent":[],"mappings":";;;;iBAKgB,SAAA,SAAiB,KAAK,eAAoB,IAAI"}
@@ -2,7 +2,7 @@ import { useId } from "react";
2
2
  import { normalizeProps, useMachine } from "@zag-js/react";
3
3
  import { connect, machine } from "@zag-js/switch";
4
4
 
5
- //#region src/components/switch/modules/use-switch.ts
5
+ //#region src/components/switch/modules/provider.ts
6
6
  function useSwitch(props = {}) {
7
7
  const service = useMachine(machine, {
8
8
  id: useId(),
@@ -13,4 +13,4 @@ function useSwitch(props = {}) {
13
13
 
14
14
  //#endregion
15
15
  export { useSwitch };
16
- //# sourceMappingURL=use-switch.js.map
16
+ //# sourceMappingURL=provider.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"provider.js","names":[],"sources":["../../../../src/components/switch/modules/provider.ts"],"sourcesContent":["import { normalizeProps, useMachine, type PropTypes } from '@zag-js/react';\nimport { connect, machine } from '@zag-js/switch';\nimport type { Api, Props } from '@zag-js/switch';\nimport { useId } from 'react';\n\nexport function useSwitch(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,UAAU,QAA2B,EAAE,EAAkB;CACxE,MAAM,UAAU,WAAW,SAAS;EACnC,IAAI,OAAO;EACX,GAAG;EACH,CAAC;AACF,QAAO,QAAQ,SAAS,eAAe"}
@@ -1,8 +1,8 @@
1
1
  import { createContext } from "../../../internal/create-context.js";
2
2
 
3
3
  //#region src/components/switch/modules/root-context.ts
4
- const SwitchRootContext = createContext();
4
+ const RootContext = createContext();
5
5
 
6
6
  //#endregion
7
- export { SwitchRootContext };
7
+ export { RootContext };
8
8
  //# sourceMappingURL=root-context.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"root-context.js","names":[],"sources":["../../../../src/components/switch/modules/root-context.ts"],"sourcesContent":["import type { useSwitch } from './use-switch';\nimport { createContext } from '@/internal/create-context';\n\nexport const SwitchRootContext = createContext<ReturnType<typeof useSwitch>>();\n"],"mappings":";;;AAGA,MAAa,oBAAoB,eAA6C"}
1
+ {"version":3,"file":"root-context.js","names":[],"sources":["../../../../src/components/switch/modules/root-context.ts"],"sourcesContent":["import type { useSwitch } from './provider';\nimport { createContext } from '@/internal/create-context';\n\nexport const RootContext = createContext<ReturnType<typeof useSwitch>>();\n"],"mappings":";;;AAGA,MAAa,cAAc,eAA6C"}
@@ -1,12 +1,11 @@
1
1
  import { HTMLAttributes } from "../../../internal/html-attributes.js";
2
2
  import { PropsWithElement } from "../../../internal/props-with-element.js";
3
- import * as react222 from "react";
4
- import * as react_jsx_runtime65 from "react/jsx-runtime";
3
+ import * as react60 from "react";
5
4
  import { ContentProps } from "@zag-js/tabs";
6
5
 
7
6
  //#region src/components/tabs/anatomy/content.d.ts
8
7
  interface TabsContentProps extends ContentProps, PropsWithElement<'div'>, HTMLAttributes<'div'> {}
9
- declare function Content(props: TabsContentProps): string | number | bigint | boolean | Iterable<react222.ReactNode> | Promise<string | number | bigint | boolean | react222.ReactPortal | react222.ReactElement<unknown, string | react222.JSXElementConstructor<any>> | Iterable<react222.ReactNode> | null | undefined> | react_jsx_runtime65.JSX.Element | null | undefined;
8
+ declare function Content(props: TabsContentProps): react60.JSX.Element;
10
9
  //#endregion
11
10
  export { Content, TabsContentProps };
12
11
  //# sourceMappingURL=content.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"content.d.ts","names":[],"sources":["../../../../src/components/tabs/anatomy/content.tsx"],"sourcesContent":[],"mappings":";;;;;;;UASiB,gBAAA,SAAyB,cAAc,yBAAyB;iBAEzD,OAAA,QAAe,wDAAgB,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":"content.d.ts","names":[],"sources":["../../../../src/components/tabs/anatomy/content.tsx"],"sourcesContent":[],"mappings":";;;;;;UASiB,gBAAA,SAAyB,cAAc,yBAAyB;iBAEzD,OAAA,QAAe,mBAAgB,OAAA,CAAA,GAAA,CAAA"}
@@ -1,4 +1,4 @@
1
- import { TabsRootContext } from "../modules/root-context.js";
1
+ import { RootContext } from "../modules/root-context.js";
2
2
  import { use } from "react";
3
3
  import { mergeProps } from "@zag-js/react";
4
4
  import { classesTabs } from "@skeletonlabs/skeleton-common";
@@ -7,7 +7,7 @@ import { splitContentProps } from "@zag-js/tabs";
7
7
 
8
8
  //#region src/components/tabs/anatomy/content.tsx
9
9
  function Content(props) {
10
- const tabs = use(TabsRootContext);
10
+ const tabs = use(RootContext);
11
11
  const [contentProps, componentProps] = splitContentProps(props);
12
12
  const { element, children,...rest } = componentProps;
13
13
  const attributes = mergeProps(tabs.getContentProps(contentProps), { className: classesTabs.content }, rest);
@@ -1 +1 @@
1
- {"version":3,"file":"content.js","names":[],"sources":["../../../../src/components/tabs/anatomy/content.tsx"],"sourcesContent":["import { TabsRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesTabs } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { splitContentProps } from '@zag-js/tabs';\nimport type { ContentProps } from '@zag-js/tabs';\nimport { use } from 'react';\n\nexport interface TabsContentProps extends ContentProps, PropsWithElement<'div'>, HTMLAttributes<'div'> {}\n\nexport default function Content(props: TabsContentProps) {\n\tconst tabs = use(TabsRootContext);\n\n\tconst [contentProps, componentProps] = splitContentProps(props);\n\tconst { element, children, ...rest } = componentProps;\n\n\tconst attributes = mergeProps(\n\t\ttabs.getContentProps(contentProps),\n\t\t{\n\t\t\tclassName: classesTabs.content,\n\t\t},\n\t\trest,\n\t);\n\n\treturn element ? element(attributes) : <div {...attributes}>{children}</div>;\n}\n"],"mappings":";;;;;;;;AAWA,SAAwB,QAAQ,OAAyB;CACxD,MAAM,OAAO,IAAI,gBAAgB;CAEjC,MAAM,CAAC,cAAc,kBAAkB,kBAAkB,MAAM;CAC/D,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,aAAa,WAClB,KAAK,gBAAgB,aAAa,EAClC,EACC,WAAW,YAAY,SACvB,EACD,KACA;AAED,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC;EAAI,GAAI;EAAa;GAAe"}
1
+ {"version":3,"file":"content.js","names":[],"sources":["../../../../src/components/tabs/anatomy/content.tsx"],"sourcesContent":["import { RootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesTabs } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { splitContentProps } from '@zag-js/tabs';\nimport type { ContentProps } from '@zag-js/tabs';\nimport { use } from 'react';\n\nexport interface TabsContentProps extends ContentProps, PropsWithElement<'div'>, HTMLAttributes<'div'> {}\n\nexport default function Content(props: TabsContentProps) {\n\tconst tabs = use(RootContext);\n\n\tconst [contentProps, componentProps] = splitContentProps(props);\n\tconst { element, children, ...rest } = componentProps;\n\n\tconst attributes = mergeProps(\n\t\ttabs.getContentProps(contentProps),\n\t\t{\n\t\t\tclassName: classesTabs.content,\n\t\t},\n\t\trest,\n\t);\n\n\treturn element ? element(attributes) : <div {...attributes}>{children}</div>;\n}\n"],"mappings":";;;;;;;;AAWA,SAAwB,QAAQ,OAAyB;CACxD,MAAM,OAAO,IAAI,YAAY;CAE7B,MAAM,CAAC,cAAc,kBAAkB,kBAAkB,MAAM;CAC/D,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,aAAa,WAClB,KAAK,gBAAgB,aAAa,EAClC,EACC,WAAW,YAAY,SACvB,EACD,KACA;AAED,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC;EAAI,GAAI;EAAa;GAAe"}
@@ -1,11 +1,10 @@
1
1
  import { HTMLAttributes } from "../../../internal/html-attributes.js";
2
2
  import { PropsWithElement } from "../../../internal/props-with-element.js";
3
- import * as react227 from "react";
4
- import * as react_jsx_runtime66 from "react/jsx-runtime";
3
+ import * as react61 from "react";
5
4
 
6
5
  //#region src/components/tabs/anatomy/indicator.d.ts
7
6
  interface TabsIndicatorProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'children'> {}
8
- declare function Indicator(props: TabsIndicatorProps): string | number | bigint | boolean | Iterable<react227.ReactNode> | Promise<string | number | bigint | boolean | react227.ReactPortal | react227.ReactElement<unknown, string | react227.JSXElementConstructor<any>> | Iterable<react227.ReactNode> | null | undefined> | react_jsx_runtime66.JSX.Element | null | undefined;
7
+ declare function Indicator(props: TabsIndicatorProps): react61.JSX.Element;
9
8
  //#endregion
10
9
  export { Indicator, TabsIndicatorProps };
11
10
  //# sourceMappingURL=indicator.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"indicator.d.ts","names":[],"sources":["../../../../src/components/tabs/anatomy/indicator.tsx"],"sourcesContent":[],"mappings":";;;;;;UAOiB,kBAAA,SAA2B,yBAAyB;iBAE7C,SAAA,QAAiB,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
+ {"version":3,"file":"indicator.d.ts","names":[],"sources":["../../../../src/components/tabs/anatomy/indicator.tsx"],"sourcesContent":[],"mappings":";;;;;UAOiB,kBAAA,SAA2B,yBAAyB;iBAE7C,SAAA,QAAiB,qBAAkB,OAAA,CAAA,GAAA,CAAA"}
@@ -1,4 +1,4 @@
1
- import { TabsRootContext } from "../modules/root-context.js";
1
+ import { RootContext } from "../modules/root-context.js";
2
2
  import { use } from "react";
3
3
  import { mergeProps } from "@zag-js/react";
4
4
  import { classesTabs } from "@skeletonlabs/skeleton-common";
@@ -6,7 +6,7 @@ import { jsx } from "react/jsx-runtime";
6
6
 
7
7
  //#region src/components/tabs/anatomy/indicator.tsx
8
8
  function Indicator(props) {
9
- const tabs = use(TabsRootContext);
9
+ const tabs = use(RootContext);
10
10
  const { element,...rest } = props;
11
11
  const attributes = mergeProps(tabs.getIndicatorProps(), { className: classesTabs.indicator }, rest);
12
12
  return element ? element(attributes) : /* @__PURE__ */ jsx("div", { ...attributes });
@@ -1 +1 @@
1
- {"version":3,"file":"indicator.js","names":[],"sources":["../../../../src/components/tabs/anatomy/indicator.tsx"],"sourcesContent":["import { TabsRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesTabs } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface TabsIndicatorProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'children'> {}\n\nexport default function Indicator(props: TabsIndicatorProps) {\n\tconst tabs = use(TabsRootContext);\n\n\tconst { element, ...rest } = props;\n\n\tconst attributes = mergeProps(\n\t\ttabs.getIndicatorProps(),\n\t\t{\n\t\t\tclassName: classesTabs.indicator,\n\t\t},\n\t\trest,\n\t);\n\n\treturn element ? element(attributes) : <div {...attributes} />;\n}\n"],"mappings":";;;;;;;AASA,SAAwB,UAAU,OAA2B;CAC5D,MAAM,OAAO,IAAI,gBAAgB;CAEjC,MAAM,EAAE,QAAS,GAAG,SAAS;CAE7B,MAAM,aAAa,WAClB,KAAK,mBAAmB,EACxB,EACC,WAAW,YAAY,WACvB,EACD,KACA;AAED,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC,SAAI,GAAI,aAAc"}
1
+ {"version":3,"file":"indicator.js","names":[],"sources":["../../../../src/components/tabs/anatomy/indicator.tsx"],"sourcesContent":["import { RootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesTabs } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface TabsIndicatorProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'children'> {}\n\nexport default function Indicator(props: TabsIndicatorProps) {\n\tconst tabs = use(RootContext);\n\n\tconst { element, ...rest } = props;\n\n\tconst attributes = mergeProps(\n\t\ttabs.getIndicatorProps(),\n\t\t{\n\t\t\tclassName: classesTabs.indicator,\n\t\t},\n\t\trest,\n\t);\n\n\treturn element ? element(attributes) : <div {...attributes} />;\n}\n"],"mappings":";;;;;;;AASA,SAAwB,UAAU,OAA2B;CAC5D,MAAM,OAAO,IAAI,YAAY;CAE7B,MAAM,EAAE,QAAS,GAAG,SAAS;CAE7B,MAAM,aAAa,WAClB,KAAK,mBAAmB,EACxB,EACC,WAAW,YAAY,WACvB,EACD,KACA;AAED,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC,SAAI,GAAI,aAAc"}
@@ -1,11 +1,10 @@
1
1
  import { HTMLAttributes } from "../../../internal/html-attributes.js";
2
2
  import { PropsWithElement } from "../../../internal/props-with-element.js";
3
- import * as react232 from "react";
4
- import * as react_jsx_runtime67 from "react/jsx-runtime";
3
+ import * as react62 from "react";
5
4
 
6
5
  //#region src/components/tabs/anatomy/list.d.ts
7
6
  interface TabsListProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir'> {}
8
- declare function List(props: TabsListProps): string | number | bigint | boolean | Iterable<react232.ReactNode> | Promise<string | number | bigint | boolean | react232.ReactPortal | react232.ReactElement<unknown, string | react232.JSXElementConstructor<any>> | Iterable<react232.ReactNode> | null | undefined> | react_jsx_runtime67.JSX.Element | null | undefined;
7
+ declare function List(props: TabsListProps): react62.JSX.Element;
9
8
  //#endregion
10
9
  export { List, TabsListProps };
11
10
  //# sourceMappingURL=list.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list.d.ts","names":[],"sources":["../../../../src/components/tabs/anatomy/list.tsx"],"sourcesContent":[],"mappings":";;;;;;UAOiB,aAAA,SAAsB,yBAAyB;iBAExC,IAAA,QAAY,qDAAa,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":"list.d.ts","names":[],"sources":["../../../../src/components/tabs/anatomy/list.tsx"],"sourcesContent":[],"mappings":";;;;;UAOiB,aAAA,SAAsB,yBAAyB;iBAExC,IAAA,QAAY,gBAAa,OAAA,CAAA,GAAA,CAAA"}
@@ -1,4 +1,4 @@
1
- import { TabsRootContext } from "../modules/root-context.js";
1
+ import { RootContext } from "../modules/root-context.js";
2
2
  import { use } from "react";
3
3
  import { mergeProps } from "@zag-js/react";
4
4
  import { classesTabs } from "@skeletonlabs/skeleton-common";
@@ -6,7 +6,7 @@ import { jsx } from "react/jsx-runtime";
6
6
 
7
7
  //#region src/components/tabs/anatomy/list.tsx
8
8
  function List(props) {
9
- const tabs = use(TabsRootContext);
9
+ const tabs = use(RootContext);
10
10
  const { element, children,...rest } = props;
11
11
  const attributes = mergeProps(tabs.getListProps(), { className: classesTabs.list }, rest);
12
12
  return element ? element(attributes) : /* @__PURE__ */ jsx("div", {
@@ -1 +1 @@
1
- {"version":3,"file":"list.js","names":[],"sources":["../../../../src/components/tabs/anatomy/list.tsx"],"sourcesContent":["import { TabsRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesTabs } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface TabsListProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir'> {}\n\nexport default function List(props: TabsListProps) {\n\tconst tabs = use(TabsRootContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(\n\t\ttabs.getListProps(),\n\t\t{\n\t\t\tclassName: classesTabs.list,\n\t\t},\n\t\trest,\n\t);\n\n\treturn element ? element(attributes) : <div {...attributes}>{children}</div>;\n}\n"],"mappings":";;;;;;;AASA,SAAwB,KAAK,OAAsB;CAClD,MAAM,OAAO,IAAI,gBAAgB;CAEjC,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,aAAa,WAClB,KAAK,cAAc,EACnB,EACC,WAAW,YAAY,MACvB,EACD,KACA;AAED,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC;EAAI,GAAI;EAAa;GAAe"}
1
+ {"version":3,"file":"list.js","names":[],"sources":["../../../../src/components/tabs/anatomy/list.tsx"],"sourcesContent":["import { RootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesTabs } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface TabsListProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir'> {}\n\nexport default function List(props: TabsListProps) {\n\tconst tabs = use(RootContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(\n\t\ttabs.getListProps(),\n\t\t{\n\t\t\tclassName: classesTabs.list,\n\t\t},\n\t\trest,\n\t);\n\n\treturn element ? element(attributes) : <div {...attributes}>{children}</div>;\n}\n"],"mappings":";;;;;;;AASA,SAAwB,KAAK,OAAsB;CAClD,MAAM,OAAO,IAAI,YAAY;CAE7B,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,aAAa,WAClB,KAAK,cAAc,EACnB,EACC,WAAW,YAAY,MACvB,EACD,KACA;AAED,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC;EAAI,GAAI;EAAa;GAAe"}
@@ -1,4 +1,4 @@
1
- import { useTabs } from "../modules/use-tabs.js";
1
+ import { useTabs } from "../modules/provider.js";
2
2
  import { ReactNode } from "react";
3
3
 
4
4
  //#region src/components/tabs/anatomy/root-context.d.ts
@@ -1,13 +1,13 @@
1
- import { TabsRootContext } from "../modules/root-context.js";
1
+ import { RootContext } from "../modules/root-context.js";
2
2
  import { use } from "react";
3
3
 
4
4
  //#region src/components/tabs/anatomy/root-context.tsx
5
- function RootContext(props) {
6
- const tabs = use(TabsRootContext);
5
+ function RootContext$1(props) {
6
+ const tabs = use(RootContext);
7
7
  const { children } = props;
8
8
  return children(tabs);
9
9
  }
10
10
 
11
11
  //#endregion
12
- export { RootContext as default };
12
+ export { RootContext$1 as default };
13
13
  //# sourceMappingURL=root-context.js.map