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

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 (487) hide show
  1. package/dist/components/accordion/anatomy/item-content.d.ts +3 -3
  2. package/dist/components/accordion/anatomy/item-content.d.ts.map +1 -1
  3. package/dist/components/accordion/anatomy/item-content.js +1 -1
  4. package/dist/components/accordion/anatomy/item-content.js.map +1 -1
  5. package/dist/components/accordion/anatomy/item-heading.d.ts +3 -3
  6. package/dist/components/accordion/anatomy/item-heading.d.ts.map +1 -1
  7. package/dist/components/accordion/anatomy/item-heading.js +1 -1
  8. package/dist/components/accordion/anatomy/item-heading.js.map +1 -1
  9. package/dist/components/accordion/anatomy/item-indicator.d.ts +3 -3
  10. package/dist/components/accordion/anatomy/item-indicator.d.ts.map +1 -1
  11. package/dist/components/accordion/anatomy/item-indicator.js +1 -1
  12. package/dist/components/accordion/anatomy/item-indicator.js.map +1 -1
  13. package/dist/components/accordion/anatomy/item-trigger.d.ts +3 -3
  14. package/dist/components/accordion/anatomy/item-trigger.d.ts.map +1 -1
  15. package/dist/components/accordion/anatomy/item-trigger.js +1 -1
  16. package/dist/components/accordion/anatomy/item-trigger.js.map +1 -1
  17. package/dist/components/accordion/anatomy/item.d.ts +2 -2
  18. package/dist/components/accordion/anatomy/item.d.ts.map +1 -1
  19. package/dist/components/accordion/anatomy/item.js +1 -1
  20. package/dist/components/accordion/anatomy/item.js.map +1 -1
  21. package/dist/components/accordion/anatomy/root-provider.d.ts +2 -2
  22. package/dist/components/accordion/anatomy/root-provider.js +1 -1
  23. package/dist/components/accordion/anatomy/root-provider.js.map +1 -1
  24. package/dist/components/accordion/anatomy/root.d.ts +2 -2
  25. package/dist/components/accordion/anatomy/root.js +1 -1
  26. package/dist/components/accordion/anatomy/root.js.map +1 -1
  27. package/dist/components/accordion/modules/root-context.js +0 -1
  28. package/dist/components/accordion/modules/root-context.js.map +1 -1
  29. package/dist/components/app-bar/anatomy/headline.d.ts +3 -3
  30. package/dist/components/app-bar/anatomy/headline.d.ts.map +1 -1
  31. package/dist/components/app-bar/anatomy/headline.js +1 -1
  32. package/dist/components/app-bar/anatomy/headline.js.map +1 -1
  33. package/dist/components/app-bar/anatomy/lead.d.ts +3 -3
  34. package/dist/components/app-bar/anatomy/lead.d.ts.map +1 -1
  35. package/dist/components/app-bar/anatomy/lead.js +1 -1
  36. package/dist/components/app-bar/anatomy/lead.js.map +1 -1
  37. package/dist/components/app-bar/anatomy/root.d.ts +3 -3
  38. package/dist/components/app-bar/anatomy/root.d.ts.map +1 -1
  39. package/dist/components/app-bar/anatomy/root.js +1 -1
  40. package/dist/components/app-bar/anatomy/root.js.map +1 -1
  41. package/dist/components/app-bar/anatomy/toolbar.d.ts +3 -3
  42. package/dist/components/app-bar/anatomy/toolbar.d.ts.map +1 -1
  43. package/dist/components/app-bar/anatomy/toolbar.js +1 -1
  44. package/dist/components/app-bar/anatomy/toolbar.js.map +1 -1
  45. package/dist/components/app-bar/anatomy/trail.d.ts +3 -3
  46. package/dist/components/app-bar/anatomy/trail.d.ts.map +1 -1
  47. package/dist/components/app-bar/anatomy/trail.js +1 -1
  48. package/dist/components/app-bar/anatomy/trail.js.map +1 -1
  49. package/dist/components/avatar/anatomy/fallback.d.ts +3 -3
  50. package/dist/components/avatar/anatomy/fallback.d.ts.map +1 -1
  51. package/dist/components/avatar/anatomy/fallback.js +1 -1
  52. package/dist/components/avatar/anatomy/fallback.js.map +1 -1
  53. package/dist/components/avatar/anatomy/image.d.ts +3 -3
  54. package/dist/components/avatar/anatomy/image.d.ts.map +1 -1
  55. package/dist/components/avatar/anatomy/image.js +1 -1
  56. package/dist/components/avatar/anatomy/image.js.map +1 -1
  57. package/dist/components/avatar/anatomy/root-provider.d.ts +2 -2
  58. package/dist/components/avatar/anatomy/root-provider.js +1 -1
  59. package/dist/components/avatar/anatomy/root-provider.js.map +1 -1
  60. package/dist/components/avatar/anatomy/root.d.ts +2 -2
  61. package/dist/components/avatar/anatomy/root.js +1 -1
  62. package/dist/components/avatar/anatomy/root.js.map +1 -1
  63. package/dist/components/combobox/anatomy/content.d.ts +11 -0
  64. package/dist/components/combobox/anatomy/content.d.ts.map +1 -0
  65. package/dist/components/combobox/anatomy/content.js +20 -0
  66. package/dist/components/combobox/anatomy/content.js.map +1 -0
  67. package/dist/components/combobox/anatomy/control.d.ts +11 -0
  68. package/dist/components/combobox/anatomy/control.d.ts.map +1 -0
  69. package/dist/components/combobox/anatomy/control.js +20 -0
  70. package/dist/components/combobox/anatomy/control.js.map +1 -0
  71. package/dist/components/combobox/anatomy/input.d.ts +11 -0
  72. package/dist/components/combobox/anatomy/input.d.ts.map +1 -0
  73. package/dist/components/combobox/anatomy/input.js +17 -0
  74. package/dist/components/combobox/anatomy/input.js.map +1 -0
  75. package/dist/components/combobox/anatomy/item-group-label.d.ts +12 -0
  76. package/dist/components/combobox/anatomy/item-group-label.d.ts.map +1 -0
  77. package/dist/components/combobox/anatomy/item-group-label.js +27 -0
  78. package/dist/components/combobox/anatomy/item-group-label.js.map +1 -0
  79. package/dist/components/combobox/anatomy/item-group.d.ts +11 -0
  80. package/dist/components/combobox/anatomy/item-group.d.ts.map +1 -0
  81. package/dist/components/combobox/anatomy/item-group.js +29 -0
  82. package/dist/components/combobox/anatomy/item-group.js.map +1 -0
  83. package/dist/components/combobox/anatomy/item-indicator.d.ts +11 -0
  84. package/dist/components/combobox/anatomy/item-indicator.d.ts.map +1 -0
  85. package/dist/components/combobox/anatomy/item-indicator.js +23 -0
  86. package/dist/components/combobox/anatomy/item-indicator.js.map +1 -0
  87. package/dist/components/combobox/anatomy/item-text.d.ts +11 -0
  88. package/dist/components/combobox/anatomy/item-text.d.ts.map +1 -0
  89. package/dist/components/combobox/anatomy/item-text.js +22 -0
  90. package/dist/components/combobox/anatomy/item-text.js.map +1 -0
  91. package/dist/components/combobox/anatomy/item.d.ts +11 -0
  92. package/dist/components/combobox/anatomy/item.d.ts.map +1 -0
  93. package/dist/components/combobox/anatomy/item.js +26 -0
  94. package/dist/components/combobox/anatomy/item.js.map +1 -0
  95. package/dist/components/combobox/anatomy/label.d.ts +11 -0
  96. package/dist/components/combobox/anatomy/label.d.ts.map +1 -0
  97. package/dist/components/combobox/anatomy/label.js +20 -0
  98. package/dist/components/combobox/anatomy/label.js.map +1 -0
  99. package/dist/components/combobox/anatomy/positioner.d.ts +11 -0
  100. package/dist/components/combobox/anatomy/positioner.d.ts.map +1 -0
  101. package/dist/components/combobox/anatomy/positioner.js +20 -0
  102. package/dist/components/combobox/anatomy/positioner.js.map +1 -0
  103. package/dist/components/combobox/anatomy/root-context.d.ts +11 -0
  104. package/dist/components/combobox/anatomy/root-context.d.ts.map +1 -0
  105. package/dist/components/combobox/anatomy/root-context.js +13 -0
  106. package/dist/components/combobox/anatomy/root-context.js.map +1 -0
  107. package/dist/components/combobox/anatomy/root-provider.d.ts +13 -0
  108. package/dist/components/combobox/anatomy/root-provider.d.ts.map +1 -0
  109. package/dist/components/combobox/anatomy/root-provider.js +21 -0
  110. package/dist/components/combobox/anatomy/root-provider.js.map +1 -0
  111. package/dist/components/combobox/anatomy/root.d.ts +11 -0
  112. package/dist/components/combobox/anatomy/root.d.ts.map +1 -0
  113. package/dist/components/combobox/anatomy/root.js +25 -0
  114. package/dist/components/combobox/anatomy/root.js.map +1 -0
  115. package/dist/components/combobox/anatomy/trigger.d.ts +11 -0
  116. package/dist/components/combobox/anatomy/trigger.d.ts.map +1 -0
  117. package/dist/components/combobox/anatomy/trigger.js +21 -0
  118. package/dist/components/combobox/anatomy/trigger.js.map +1 -0
  119. package/dist/components/combobox/modules/anatomy.d.ts +34 -0
  120. package/dist/components/combobox/modules/anatomy.d.ts.map +1 -0
  121. package/dist/components/combobox/modules/anatomy.js +35 -0
  122. package/dist/components/combobox/modules/anatomy.js.map +1 -0
  123. package/dist/components/combobox/modules/item-context.js +8 -0
  124. package/dist/components/combobox/modules/item-context.js.map +1 -0
  125. package/dist/components/combobox/modules/item-group-context.js +8 -0
  126. package/dist/components/combobox/modules/item-group-context.js.map +1 -0
  127. package/dist/components/combobox/modules/root-context.js +8 -0
  128. package/dist/components/combobox/modules/root-context.js.map +1 -0
  129. package/dist/components/combobox/modules/use-combobox.d.ts +8 -0
  130. package/dist/components/combobox/modules/use-combobox.d.ts.map +1 -0
  131. package/dist/components/combobox/modules/use-combobox.js +16 -0
  132. package/dist/components/combobox/modules/use-combobox.js.map +1 -0
  133. package/dist/components/dialog/anatomy/backdrop.d.ts +3 -3
  134. package/dist/components/dialog/anatomy/backdrop.d.ts.map +1 -1
  135. package/dist/components/dialog/anatomy/backdrop.js +1 -1
  136. package/dist/components/dialog/anatomy/backdrop.js.map +1 -1
  137. package/dist/components/dialog/anatomy/close-trigger.d.ts +3 -3
  138. package/dist/components/dialog/anatomy/close-trigger.d.ts.map +1 -1
  139. package/dist/components/dialog/anatomy/close-trigger.js +1 -1
  140. package/dist/components/dialog/anatomy/close-trigger.js.map +1 -1
  141. package/dist/components/dialog/anatomy/content.d.ts +3 -3
  142. package/dist/components/dialog/anatomy/content.d.ts.map +1 -1
  143. package/dist/components/dialog/anatomy/content.js +1 -1
  144. package/dist/components/dialog/anatomy/content.js.map +1 -1
  145. package/dist/components/dialog/anatomy/description.d.ts +3 -3
  146. package/dist/components/dialog/anatomy/description.d.ts.map +1 -1
  147. package/dist/components/dialog/anatomy/description.js +1 -1
  148. package/dist/components/dialog/anatomy/description.js.map +1 -1
  149. package/dist/components/dialog/anatomy/positioner.d.ts +3 -3
  150. package/dist/components/dialog/anatomy/positioner.d.ts.map +1 -1
  151. package/dist/components/dialog/anatomy/positioner.js +1 -1
  152. package/dist/components/dialog/anatomy/positioner.js.map +1 -1
  153. package/dist/components/dialog/anatomy/root-provider.d.ts +2 -2
  154. package/dist/components/dialog/anatomy/root.d.ts +2 -2
  155. package/dist/components/dialog/anatomy/title.d.ts +3 -3
  156. package/dist/components/dialog/anatomy/title.d.ts.map +1 -1
  157. package/dist/components/dialog/anatomy/title.js +1 -1
  158. package/dist/components/dialog/anatomy/title.js.map +1 -1
  159. package/dist/components/dialog/anatomy/trigger.d.ts +3 -3
  160. package/dist/components/dialog/anatomy/trigger.d.ts.map +1 -1
  161. package/dist/components/dialog/anatomy/trigger.js +1 -1
  162. package/dist/components/dialog/anatomy/trigger.js.map +1 -1
  163. package/dist/components/file-upload/anatomy/dropzone.d.ts +3 -3
  164. package/dist/components/file-upload/anatomy/dropzone.js +1 -1
  165. package/dist/components/file-upload/anatomy/dropzone.js.map +1 -1
  166. package/dist/components/file-upload/anatomy/hidden-input.d.ts +3 -3
  167. package/dist/components/file-upload/anatomy/hidden-input.js +1 -1
  168. package/dist/components/file-upload/anatomy/hidden-input.js.map +1 -1
  169. package/dist/components/file-upload/anatomy/item-delete-trigger.d.ts +3 -3
  170. package/dist/components/file-upload/anatomy/item-delete-trigger.js +1 -1
  171. package/dist/components/file-upload/anatomy/item-delete-trigger.js.map +1 -1
  172. package/dist/components/file-upload/anatomy/item-group.d.ts +3 -3
  173. package/dist/components/file-upload/anatomy/item-group.js +1 -1
  174. package/dist/components/file-upload/anatomy/item-group.js.map +1 -1
  175. package/dist/components/file-upload/anatomy/item-name.d.ts +3 -3
  176. package/dist/components/file-upload/anatomy/item-name.js +1 -1
  177. package/dist/components/file-upload/anatomy/item-name.js.map +1 -1
  178. package/dist/components/file-upload/anatomy/item-size-text.d.ts +3 -3
  179. package/dist/components/file-upload/anatomy/item-size-text.js +1 -1
  180. package/dist/components/file-upload/anatomy/item-size-text.js.map +1 -1
  181. package/dist/components/file-upload/anatomy/item.d.ts +2 -2
  182. package/dist/components/file-upload/anatomy/item.js +1 -1
  183. package/dist/components/file-upload/anatomy/item.js.map +1 -1
  184. package/dist/components/file-upload/anatomy/root-provider.d.ts +2 -2
  185. package/dist/components/file-upload/anatomy/root-provider.js +1 -1
  186. package/dist/components/file-upload/anatomy/root-provider.js.map +1 -1
  187. package/dist/components/file-upload/anatomy/root.d.ts +2 -2
  188. package/dist/components/file-upload/anatomy/root.js +1 -1
  189. package/dist/components/file-upload/anatomy/root.js.map +1 -1
  190. package/dist/components/file-upload/anatomy/trigger.d.ts +3 -3
  191. package/dist/components/file-upload/anatomy/trigger.d.ts.map +1 -1
  192. package/dist/components/file-upload/anatomy/trigger.js +1 -1
  193. package/dist/components/file-upload/anatomy/trigger.js.map +1 -1
  194. package/dist/components/popover/anatomy/arrow-tip.d.ts +3 -3
  195. package/dist/components/popover/anatomy/arrow-tip.d.ts.map +1 -1
  196. package/dist/components/popover/anatomy/arrow-tip.js +1 -1
  197. package/dist/components/popover/anatomy/arrow-tip.js.map +1 -1
  198. package/dist/components/popover/anatomy/arrow.d.ts +3 -3
  199. package/dist/components/popover/anatomy/arrow.d.ts.map +1 -1
  200. package/dist/components/popover/anatomy/arrow.js +1 -1
  201. package/dist/components/popover/anatomy/arrow.js.map +1 -1
  202. package/dist/components/popover/anatomy/close-trigger.d.ts +3 -3
  203. package/dist/components/popover/anatomy/close-trigger.d.ts.map +1 -1
  204. package/dist/components/popover/anatomy/close-trigger.js +1 -1
  205. package/dist/components/popover/anatomy/close-trigger.js.map +1 -1
  206. package/dist/components/popover/anatomy/content.d.ts +3 -3
  207. package/dist/components/popover/anatomy/content.d.ts.map +1 -1
  208. package/dist/components/popover/anatomy/content.js +1 -1
  209. package/dist/components/popover/anatomy/content.js.map +1 -1
  210. package/dist/components/popover/anatomy/description.d.ts +3 -3
  211. package/dist/components/popover/anatomy/description.d.ts.map +1 -1
  212. package/dist/components/popover/anatomy/description.js +1 -1
  213. package/dist/components/popover/anatomy/description.js.map +1 -1
  214. package/dist/components/popover/anatomy/positioner.d.ts +2 -2
  215. package/dist/components/popover/anatomy/positioner.d.ts.map +1 -1
  216. package/dist/components/popover/anatomy/positioner.js +1 -1
  217. package/dist/components/popover/anatomy/positioner.js.map +1 -1
  218. package/dist/components/popover/anatomy/root-provider.d.ts +2 -2
  219. package/dist/components/popover/anatomy/root-provider.d.ts.map +1 -1
  220. package/dist/components/popover/anatomy/root.d.ts +2 -2
  221. package/dist/components/popover/anatomy/root.d.ts.map +1 -1
  222. package/dist/components/popover/anatomy/title.d.ts +3 -3
  223. package/dist/components/popover/anatomy/title.d.ts.map +1 -1
  224. package/dist/components/popover/anatomy/title.js +1 -1
  225. package/dist/components/popover/anatomy/title.js.map +1 -1
  226. package/dist/components/popover/anatomy/trigger.d.ts +3 -3
  227. package/dist/components/popover/anatomy/trigger.d.ts.map +1 -1
  228. package/dist/components/popover/anatomy/trigger.js +1 -1
  229. package/dist/components/popover/anatomy/trigger.js.map +1 -1
  230. package/dist/components/progress-linear/anatomy/label.d.ts +3 -3
  231. package/dist/components/progress-linear/anatomy/label.js +1 -1
  232. package/dist/components/progress-linear/anatomy/label.js.map +1 -1
  233. package/dist/components/progress-linear/anatomy/range.d.ts +3 -3
  234. package/dist/components/progress-linear/anatomy/range.js +1 -1
  235. package/dist/components/progress-linear/anatomy/range.js.map +1 -1
  236. package/dist/components/progress-linear/anatomy/root-provider.d.ts +2 -2
  237. package/dist/components/progress-linear/anatomy/root-provider.js +1 -1
  238. package/dist/components/progress-linear/anatomy/root-provider.js.map +1 -1
  239. package/dist/components/progress-linear/anatomy/root.d.ts +2 -2
  240. package/dist/components/progress-linear/anatomy/root.js +1 -1
  241. package/dist/components/progress-linear/anatomy/root.js.map +1 -1
  242. package/dist/components/progress-linear/anatomy/track.d.ts +3 -3
  243. package/dist/components/progress-linear/anatomy/track.js +1 -1
  244. package/dist/components/progress-linear/anatomy/track.js.map +1 -1
  245. package/dist/components/rating-group/anatomy/control.d.ts +3 -3
  246. package/dist/components/rating-group/anatomy/control.js +1 -1
  247. package/dist/components/rating-group/anatomy/control.js.map +1 -1
  248. package/dist/components/rating-group/anatomy/hidden-input.d.ts +3 -3
  249. package/dist/components/rating-group/anatomy/hidden-input.js +1 -1
  250. package/dist/components/rating-group/anatomy/hidden-input.js.map +1 -1
  251. package/dist/components/rating-group/anatomy/item.d.ts +3 -3
  252. package/dist/components/rating-group/anatomy/item.js +2 -2
  253. package/dist/components/rating-group/anatomy/item.js.map +1 -1
  254. package/dist/components/rating-group/anatomy/label.d.ts +3 -3
  255. package/dist/components/rating-group/anatomy/label.js +1 -1
  256. package/dist/components/rating-group/anatomy/label.js.map +1 -1
  257. package/dist/components/rating-group/anatomy/root-provider.d.ts +2 -2
  258. package/dist/components/rating-group/anatomy/root-provider.js +1 -1
  259. package/dist/components/rating-group/anatomy/root-provider.js.map +1 -1
  260. package/dist/components/rating-group/anatomy/root.d.ts +2 -2
  261. package/dist/components/rating-group/anatomy/root.js +1 -1
  262. package/dist/components/rating-group/anatomy/root.js.map +1 -1
  263. package/dist/components/segmented-control/anatomy/indicator.d.ts +3 -3
  264. package/dist/components/segmented-control/anatomy/indicator.js +1 -1
  265. package/dist/components/segmented-control/anatomy/indicator.js.map +1 -1
  266. package/dist/components/segmented-control/anatomy/item-hidden-input.d.ts +3 -3
  267. package/dist/components/segmented-control/anatomy/item-hidden-input.js +1 -1
  268. package/dist/components/segmented-control/anatomy/item-hidden-input.js.map +1 -1
  269. package/dist/components/segmented-control/anatomy/item-text.d.ts +3 -3
  270. package/dist/components/segmented-control/anatomy/item-text.js +1 -1
  271. package/dist/components/segmented-control/anatomy/item-text.js.map +1 -1
  272. package/dist/components/segmented-control/anatomy/item.d.ts +2 -2
  273. package/dist/components/segmented-control/anatomy/item.js +1 -1
  274. package/dist/components/segmented-control/anatomy/item.js.map +1 -1
  275. package/dist/components/segmented-control/anatomy/root-provider.d.ts +2 -2
  276. package/dist/components/segmented-control/anatomy/root-provider.js +1 -1
  277. package/dist/components/segmented-control/anatomy/root-provider.js.map +1 -1
  278. package/dist/components/segmented-control/anatomy/root.d.ts +2 -2
  279. package/dist/components/segmented-control/anatomy/root.js +1 -1
  280. package/dist/components/segmented-control/anatomy/root.js.map +1 -1
  281. package/dist/components/slider/anatomy/control.d.ts +11 -0
  282. package/dist/components/slider/anatomy/control.d.ts.map +1 -0
  283. package/dist/components/slider/anatomy/control.js +20 -0
  284. package/dist/components/slider/anatomy/control.js.map +1 -0
  285. package/dist/components/slider/anatomy/hidden-input.d.ts +11 -0
  286. package/dist/components/slider/anatomy/hidden-input.d.ts.map +1 -0
  287. package/dist/components/slider/anatomy/hidden-input.js +19 -0
  288. package/dist/components/slider/anatomy/hidden-input.js.map +1 -0
  289. package/dist/components/slider/anatomy/label.d.ts +11 -0
  290. package/dist/components/slider/anatomy/label.d.ts.map +1 -0
  291. package/dist/components/slider/anatomy/label.js +20 -0
  292. package/dist/components/slider/anatomy/label.js.map +1 -0
  293. package/dist/components/slider/anatomy/marker-group.d.ts +11 -0
  294. package/dist/components/slider/anatomy/marker-group.d.ts.map +1 -0
  295. package/dist/components/slider/anatomy/marker-group.js +20 -0
  296. package/dist/components/slider/anatomy/marker-group.js.map +1 -0
  297. package/dist/components/slider/anatomy/marker.d.ts +12 -0
  298. package/dist/components/slider/anatomy/marker.d.ts.map +1 -0
  299. package/dist/components/slider/anatomy/marker.js +20 -0
  300. package/dist/components/slider/anatomy/marker.js.map +1 -0
  301. package/dist/components/slider/anatomy/range.d.ts +11 -0
  302. package/dist/components/slider/anatomy/range.d.ts.map +1 -0
  303. package/dist/components/slider/anatomy/range.js +20 -0
  304. package/dist/components/slider/anatomy/range.js.map +1 -0
  305. package/dist/components/slider/anatomy/root-context.d.ts +11 -0
  306. package/dist/components/slider/anatomy/root-context.d.ts.map +1 -0
  307. package/dist/components/slider/anatomy/root-context.js +13 -0
  308. package/dist/components/slider/anatomy/root-context.js.map +1 -0
  309. package/dist/components/slider/anatomy/root-provider.d.ts +13 -0
  310. package/dist/components/slider/anatomy/root-provider.d.ts.map +1 -0
  311. package/dist/components/slider/anatomy/root-provider.js +21 -0
  312. package/dist/components/slider/anatomy/root-provider.js.map +1 -0
  313. package/dist/components/slider/anatomy/root.d.ts +11 -0
  314. package/dist/components/slider/anatomy/root.d.ts.map +1 -0
  315. package/dist/components/slider/anatomy/root.js +25 -0
  316. package/dist/components/slider/anatomy/root.js.map +1 -0
  317. package/dist/components/slider/anatomy/thumb.d.ts +11 -0
  318. package/dist/components/slider/anatomy/thumb.d.ts.map +1 -0
  319. package/dist/components/slider/anatomy/thumb.js +26 -0
  320. package/dist/components/slider/anatomy/thumb.js.map +1 -0
  321. package/dist/components/slider/anatomy/track.d.ts +11 -0
  322. package/dist/components/slider/anatomy/track.d.ts.map +1 -0
  323. package/dist/components/slider/anatomy/track.js +20 -0
  324. package/dist/components/slider/anatomy/track.js.map +1 -0
  325. package/dist/components/slider/anatomy/value-text.d.ts +11 -0
  326. package/dist/components/slider/anatomy/value-text.d.ts.map +1 -0
  327. package/dist/components/slider/anatomy/value-text.js +20 -0
  328. package/dist/components/slider/anatomy/value-text.js.map +1 -0
  329. package/dist/components/slider/modules/anatomy.d.ts +30 -0
  330. package/dist/components/slider/modules/anatomy.d.ts.map +1 -0
  331. package/dist/components/slider/modules/anatomy.js +31 -0
  332. package/dist/components/slider/modules/anatomy.js.map +1 -0
  333. package/dist/components/slider/modules/root-context.js +8 -0
  334. package/dist/components/slider/modules/root-context.js.map +1 -0
  335. package/dist/components/slider/modules/thumb-context.js +8 -0
  336. package/dist/components/slider/modules/thumb-context.js.map +1 -0
  337. package/dist/components/slider/modules/use-slider.d.ts +8 -0
  338. package/dist/components/slider/modules/use-slider.d.ts.map +1 -0
  339. package/dist/components/slider/modules/use-slider.js +16 -0
  340. package/dist/components/slider/modules/use-slider.js.map +1 -0
  341. package/dist/components/switch/anatomy/control.d.ts +3 -3
  342. package/dist/components/switch/anatomy/control.d.ts.map +1 -1
  343. package/dist/components/switch/anatomy/control.js +1 -1
  344. package/dist/components/switch/anatomy/control.js.map +1 -1
  345. package/dist/components/switch/anatomy/hidden-input.d.ts +3 -3
  346. package/dist/components/switch/anatomy/hidden-input.d.ts.map +1 -1
  347. package/dist/components/switch/anatomy/hidden-input.js +1 -1
  348. package/dist/components/switch/anatomy/hidden-input.js.map +1 -1
  349. package/dist/components/switch/anatomy/label.d.ts +3 -3
  350. package/dist/components/switch/anatomy/label.js +1 -1
  351. package/dist/components/switch/anatomy/label.js.map +1 -1
  352. package/dist/components/switch/anatomy/root-provider.d.ts +2 -2
  353. package/dist/components/switch/anatomy/root-provider.js +1 -1
  354. package/dist/components/switch/anatomy/root-provider.js.map +1 -1
  355. package/dist/components/switch/anatomy/root.d.ts +2 -2
  356. package/dist/components/switch/anatomy/root.d.ts.map +1 -1
  357. package/dist/components/switch/anatomy/root.js +1 -1
  358. package/dist/components/switch/anatomy/root.js.map +1 -1
  359. package/dist/components/switch/anatomy/thumb.d.ts +3 -3
  360. package/dist/components/switch/anatomy/thumb.js +1 -1
  361. package/dist/components/switch/anatomy/thumb.js.map +1 -1
  362. package/dist/components/tabs/anatomy/content.d.ts +3 -3
  363. package/dist/components/tabs/anatomy/content.js +1 -1
  364. package/dist/components/tabs/anatomy/content.js.map +1 -1
  365. package/dist/components/tabs/anatomy/indicator.d.ts +3 -3
  366. package/dist/components/tabs/anatomy/indicator.js +1 -1
  367. package/dist/components/tabs/anatomy/indicator.js.map +1 -1
  368. package/dist/components/tabs/anatomy/list.d.ts +3 -3
  369. package/dist/components/tabs/anatomy/list.js +1 -1
  370. package/dist/components/tabs/anatomy/list.js.map +1 -1
  371. package/dist/components/tabs/anatomy/root-provider.d.ts +2 -2
  372. package/dist/components/tabs/anatomy/root-provider.js +1 -1
  373. package/dist/components/tabs/anatomy/root-provider.js.map +1 -1
  374. package/dist/components/tabs/anatomy/root.d.ts +2 -2
  375. package/dist/components/tabs/anatomy/root.js +1 -1
  376. package/dist/components/tabs/anatomy/root.js.map +1 -1
  377. package/dist/components/tabs/anatomy/trigger.d.ts +3 -3
  378. package/dist/components/tabs/anatomy/trigger.js +1 -1
  379. package/dist/components/tabs/anatomy/trigger.js.map +1 -1
  380. package/dist/components/tags-input/anatomy/clear-trigger.d.ts +3 -3
  381. package/dist/components/tags-input/anatomy/clear-trigger.js +1 -1
  382. package/dist/components/tags-input/anatomy/clear-trigger.js.map +1 -1
  383. package/dist/components/tags-input/anatomy/control.d.ts +3 -3
  384. package/dist/components/tags-input/anatomy/control.js +1 -1
  385. package/dist/components/tags-input/anatomy/control.js.map +1 -1
  386. package/dist/components/tags-input/anatomy/hidden-input.d.ts +3 -3
  387. package/dist/components/tags-input/anatomy/hidden-input.js +1 -1
  388. package/dist/components/tags-input/anatomy/hidden-input.js.map +1 -1
  389. package/dist/components/tags-input/anatomy/input.d.ts +3 -3
  390. package/dist/components/tags-input/anatomy/input.js +1 -1
  391. package/dist/components/tags-input/anatomy/input.js.map +1 -1
  392. package/dist/components/tags-input/anatomy/item-delete-trigger.d.ts +3 -3
  393. package/dist/components/tags-input/anatomy/item-delete-trigger.js +1 -1
  394. package/dist/components/tags-input/anatomy/item-delete-trigger.js.map +1 -1
  395. package/dist/components/tags-input/anatomy/item-input.d.ts +3 -3
  396. package/dist/components/tags-input/anatomy/item-input.js +1 -1
  397. package/dist/components/tags-input/anatomy/item-input.js.map +1 -1
  398. package/dist/components/tags-input/anatomy/item-preview.d.ts +3 -3
  399. package/dist/components/tags-input/anatomy/item-preview.js +1 -1
  400. package/dist/components/tags-input/anatomy/item-preview.js.map +1 -1
  401. package/dist/components/tags-input/anatomy/item-text.d.ts +3 -3
  402. package/dist/components/tags-input/anatomy/item-text.js +1 -1
  403. package/dist/components/tags-input/anatomy/item-text.js.map +1 -1
  404. package/dist/components/tags-input/anatomy/item.d.ts +2 -2
  405. package/dist/components/tags-input/anatomy/item.js +1 -1
  406. package/dist/components/tags-input/anatomy/item.js.map +1 -1
  407. package/dist/components/tags-input/anatomy/label.d.ts +3 -3
  408. package/dist/components/tags-input/anatomy/label.js +1 -1
  409. package/dist/components/tags-input/anatomy/label.js.map +1 -1
  410. package/dist/components/tags-input/anatomy/root-provider.d.ts +2 -2
  411. package/dist/components/tags-input/anatomy/root-provider.js +1 -1
  412. package/dist/components/tags-input/anatomy/root-provider.js.map +1 -1
  413. package/dist/components/tags-input/anatomy/root.d.ts +2 -2
  414. package/dist/components/tags-input/anatomy/root.js +1 -1
  415. package/dist/components/tags-input/anatomy/root.js.map +1 -1
  416. package/dist/components/toast/anatomy/action-trigger.d.ts +3 -3
  417. package/dist/components/toast/anatomy/action-trigger.d.ts.map +1 -1
  418. package/dist/components/toast/anatomy/action-trigger.js +1 -1
  419. package/dist/components/toast/anatomy/action-trigger.js.map +1 -1
  420. package/dist/components/toast/anatomy/close-trigger.d.ts +3 -3
  421. package/dist/components/toast/anatomy/close-trigger.js +1 -1
  422. package/dist/components/toast/anatomy/close-trigger.js.map +1 -1
  423. package/dist/components/toast/anatomy/description.d.ts +3 -3
  424. package/dist/components/toast/anatomy/description.js +1 -1
  425. package/dist/components/toast/anatomy/description.js.map +1 -1
  426. package/dist/components/toast/anatomy/group.d.ts +2 -2
  427. package/dist/components/toast/anatomy/group.js +1 -1
  428. package/dist/components/toast/anatomy/group.js.map +1 -1
  429. package/dist/components/toast/anatomy/message.d.ts +3 -3
  430. package/dist/components/toast/anatomy/message.js +1 -1
  431. package/dist/components/toast/anatomy/message.js.map +1 -1
  432. package/dist/components/toast/anatomy/root.d.ts +2 -2
  433. package/dist/components/toast/anatomy/root.js +1 -1
  434. package/dist/components/toast/anatomy/root.js.map +1 -1
  435. package/dist/components/toast/anatomy/title.d.ts +3 -3
  436. package/dist/components/toast/anatomy/title.js +1 -1
  437. package/dist/components/toast/anatomy/title.js.map +1 -1
  438. package/dist/components/tooltip/anatomy/arrow-tip.d.ts +3 -3
  439. package/dist/components/tooltip/anatomy/arrow-tip.d.ts.map +1 -1
  440. package/dist/components/tooltip/anatomy/arrow-tip.js +1 -1
  441. package/dist/components/tooltip/anatomy/arrow-tip.js.map +1 -1
  442. package/dist/components/tooltip/anatomy/arrow.d.ts +3 -3
  443. package/dist/components/tooltip/anatomy/arrow.d.ts.map +1 -1
  444. package/dist/components/tooltip/anatomy/arrow.js +1 -1
  445. package/dist/components/tooltip/anatomy/arrow.js.map +1 -1
  446. package/dist/components/tooltip/anatomy/content.d.ts +3 -3
  447. package/dist/components/tooltip/anatomy/content.d.ts.map +1 -1
  448. package/dist/components/tooltip/anatomy/content.js +1 -1
  449. package/dist/components/tooltip/anatomy/content.js.map +1 -1
  450. package/dist/components/tooltip/anatomy/positioner.d.ts +2 -2
  451. package/dist/components/tooltip/anatomy/positioner.d.ts.map +1 -1
  452. package/dist/components/tooltip/anatomy/positioner.js +1 -1
  453. package/dist/components/tooltip/anatomy/positioner.js.map +1 -1
  454. package/dist/components/tooltip/anatomy/root-provider.d.ts +2 -2
  455. package/dist/components/tooltip/anatomy/root-provider.d.ts.map +1 -1
  456. package/dist/components/tooltip/anatomy/root.d.ts +2 -2
  457. package/dist/components/tooltip/anatomy/root.d.ts.map +1 -1
  458. package/dist/components/tooltip/anatomy/trigger.d.ts +3 -3
  459. package/dist/components/tooltip/anatomy/trigger.d.ts.map +1 -1
  460. package/dist/components/tooltip/anatomy/trigger.js +1 -1
  461. package/dist/components/tooltip/anatomy/trigger.js.map +1 -1
  462. package/dist/hooks/use-list-collection.d.ts +7 -0
  463. package/dist/hooks/use-list-collection.d.ts.map +1 -0
  464. package/dist/hooks/use-list-collection.js +10 -0
  465. package/dist/hooks/use-list-collection.js.map +1 -0
  466. package/dist/index.d.ts +32 -1
  467. package/dist/index.js +6 -14
  468. package/dist/internal/components/check.js +26 -0
  469. package/dist/internal/components/check.js.map +1 -0
  470. package/dist/internal/components/chevron-down.js +21 -0
  471. package/dist/internal/components/chevron-down.js.map +1 -0
  472. package/dist/internal/components/x.js +2 -2
  473. package/dist/internal/components/x.js.map +1 -1
  474. package/package.json +11 -6
  475. package/dist/components/accordion/index.js +0 -4
  476. package/dist/components/app-bar/index.js +0 -3
  477. package/dist/components/avatar/index.js +0 -4
  478. package/dist/components/dialog/index.js +0 -4
  479. package/dist/components/file-upload/index.js +0 -4
  480. package/dist/components/popover/index.js +0 -4
  481. package/dist/components/progress-linear/index.js +0 -4
  482. package/dist/components/rating-group/index.js +0 -4
  483. package/dist/components/segmented-control/index.js +0 -4
  484. package/dist/components/switch/index.js +0 -4
  485. package/dist/components/tabs/index.js +0 -4
  486. package/dist/components/tags-input/index.js +0 -4
  487. package/dist/components/tooltip/index.js +0 -4
@@ -8,7 +8,7 @@ import { jsx } from "react/jsx-runtime";
8
8
  function Label(props) {
9
9
  const switch_ = use(SwitchRootContext);
10
10
  const { element, children,...rest } = props;
11
- const attributes = mergeProps(switch_.getLabelProps(), rest, { className: classesSwitch.label });
11
+ const attributes = mergeProps(switch_.getLabelProps(), { className: classesSwitch.label }, rest);
12
12
  return element ? element(attributes) : /* @__PURE__ */ jsx("span", {
13
13
  ...attributes,
14
14
  children
@@ -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(switch_.getLabelProps(), rest, {\n\t\tclassName: classesSwitch.label,\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,WAAW,QAAQ,eAAe,EAAE,MAAM,EAC5D,WAAW,cAAc,OACzB,CAAC;AAEF,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 { 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,13 +1,13 @@
1
1
  import { HTMLAttributes } from "../../../internal/html-attributes.js";
2
2
  import { PropsWithElement } from "../../../internal/props-with-element.js";
3
3
  import { useSwitch } from "../modules/use-switch.js";
4
- import * as react_jsx_runtime60 from "react/jsx-runtime";
4
+ import * as react_jsx_runtime29 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_runtime60.JSX.Element;
10
+ declare function RootProvider(props: SwitchRootProviderProps): react_jsx_runtime29.JSX.Element;
11
11
  //#endregion
12
12
  export { RootProvider, SwitchRootProviderProps };
13
13
  //# sourceMappingURL=root-provider.d.ts.map
@@ -6,7 +6,7 @@ import { jsx } from "react/jsx-runtime";
6
6
  //#region src/components/switch/anatomy/root-provider.tsx
7
7
  function RootProvider(props) {
8
8
  const { element, children, value: switch_,...rest } = props;
9
- const attributes = mergeProps(switch_.getRootProps(), rest, { className: classesSwitch.root });
9
+ const attributes = mergeProps(switch_.getRootProps(), { className: classesSwitch.root }, rest);
10
10
  return /* @__PURE__ */ jsx(SwitchRootContext.Provider, {
11
11
  value: switch_,
12
12
  children: element ? element(attributes) : /* @__PURE__ */ jsx("label", {
@@ -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(switch_.getRootProps(), rest, {\n\t\tclassName: classesSwitch.root,\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,WAAW,QAAQ,cAAc,EAAE,MAAM,EAC3D,WAAW,cAAc,MACzB,CAAC;AAEF,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 { 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,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_runtime97 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime121 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_runtime97.JSX.Element;
8
+ declare function Root(props: SwitchRootProps): react_jsx_runtime121.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,mBAAA,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,oBAAA,CAAA,GAAA,CAAA"}
@@ -10,7 +10,7 @@ function Root(props) {
10
10
  const [switchProps, componentProps] = splitProps(props);
11
11
  const { element, children,...rest } = componentProps;
12
12
  const switch_ = useSwitch(switchProps);
13
- const attributes = mergeProps(switch_.getRootProps(), rest, { className: classesSwitch.root });
13
+ const attributes = mergeProps(switch_.getRootProps(), { className: classesSwitch.root }, rest);
14
14
  return /* @__PURE__ */ jsx(SwitchRootContext.Provider, {
15
15
  value: switch_,
16
16
  children: element ? element(attributes) : /* @__PURE__ */ jsx("label", {
@@ -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(switch_.getRootProps(), rest, {\n\t\tclassName: classesSwitch.root,\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,WAAW,QAAQ,cAAc,EAAE,MAAM,EAC3D,WAAW,cAAc,MACzB,CAAC;AAEF,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 { 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,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 react197 from "react";
4
- import * as react_jsx_runtime61 from "react/jsx-runtime";
3
+ import * as react109 from "react";
4
+ import * as react_jsx_runtime30 from "react/jsx-runtime";
5
5
 
6
6
  //#region src/components/switch/anatomy/thumb.d.ts
7
7
  interface SwitchThumbProps extends PropsWithElement<'span'>, HTMLAttributes<'span'> {}
8
- declare function Thumb(props: SwitchThumbProps): string | number | bigint | boolean | Iterable<react197.ReactNode> | Promise<string | number | bigint | boolean | react197.ReactPortal | react197.ReactElement<unknown, string | react197.JSXElementConstructor<any>> | Iterable<react197.ReactNode> | null | undefined> | react_jsx_runtime61.JSX.Element | null | undefined;
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;
9
9
  //#endregion
10
10
  export { SwitchThumbProps, Thumb };
11
11
  //# sourceMappingURL=thumb.d.ts.map
@@ -8,7 +8,7 @@ import { jsx } from "react/jsx-runtime";
8
8
  function Thumb(props) {
9
9
  const switch_ = use(SwitchRootContext);
10
10
  const { element, children,...rest } = props;
11
- const attributes = mergeProps(switch_.getThumbProps(), rest, { className: classesSwitch.thumb });
11
+ const attributes = mergeProps(switch_.getThumbProps(), { className: classesSwitch.thumb }, rest);
12
12
  return element ? element(attributes) : /* @__PURE__ */ jsx("span", {
13
13
  ...attributes,
14
14
  children
@@ -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(switch_.getThumbProps(), rest, {\n\t\tclassName: classesSwitch.thumb,\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,WAAW,QAAQ,eAAe,EAAE,MAAM,EAC5D,WAAW,cAAc,OACzB,CAAC;AAEF,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 { 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,12 +1,12 @@
1
1
  import { HTMLAttributes } from "../../../internal/html-attributes.js";
2
2
  import { PropsWithElement } from "../../../internal/props-with-element.js";
3
- import * as react282 from "react";
4
- import * as react_jsx_runtime83 from "react/jsx-runtime";
3
+ import * as react222 from "react";
4
+ import * as react_jsx_runtime65 from "react/jsx-runtime";
5
5
  import { ContentProps } from "@zag-js/tabs";
6
6
 
7
7
  //#region src/components/tabs/anatomy/content.d.ts
8
8
  interface TabsContentProps extends ContentProps, PropsWithElement<'div'>, HTMLAttributes<'div'> {}
9
- declare function Content(props: TabsContentProps): string | number | bigint | boolean | Iterable<react282.ReactNode> | Promise<string | number | bigint | boolean | react282.ReactPortal | react282.ReactElement<unknown, string | react282.JSXElementConstructor<any>> | Iterable<react282.ReactNode> | null | undefined> | react_jsx_runtime83.JSX.Element | null | undefined;
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;
10
10
  //#endregion
11
11
  export { Content, TabsContentProps };
12
12
  //# sourceMappingURL=content.d.ts.map
@@ -10,7 +10,7 @@ function Content(props) {
10
10
  const tabs = use(TabsRootContext);
11
11
  const [contentProps, componentProps] = splitContentProps(props);
12
12
  const { element, children,...rest } = componentProps;
13
- const attributes = mergeProps(tabs.getContentProps(contentProps), rest, { className: classesTabs.content });
13
+ const attributes = mergeProps(tabs.getContentProps(contentProps), { className: classesTabs.content }, rest);
14
14
  return element ? element(attributes) : /* @__PURE__ */ jsx("div", {
15
15
  ...attributes,
16
16
  children
@@ -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(tabs.getContentProps(contentProps), rest, {\n\t\tclassName: classesTabs.content,\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,WAAW,KAAK,gBAAgB,aAAa,EAAE,MAAM,EACvE,WAAW,YAAY,SACvB,CAAC;AAEF,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 { 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,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 react287 from "react";
4
- import * as react_jsx_runtime84 from "react/jsx-runtime";
3
+ import * as react227 from "react";
4
+ import * as react_jsx_runtime66 from "react/jsx-runtime";
5
5
 
6
6
  //#region src/components/tabs/anatomy/indicator.d.ts
7
7
  interface TabsIndicatorProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'children'> {}
8
- declare function Indicator(props: TabsIndicatorProps): string | number | bigint | boolean | Iterable<react287.ReactNode> | Promise<string | number | bigint | boolean | react287.ReactPortal | react287.ReactElement<unknown, string | react287.JSXElementConstructor<any>> | Iterable<react287.ReactNode> | null | undefined> | react_jsx_runtime84.JSX.Element | null | undefined;
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;
9
9
  //#endregion
10
10
  export { Indicator, TabsIndicatorProps };
11
11
  //# sourceMappingURL=indicator.d.ts.map
@@ -8,7 +8,7 @@ import { jsx } from "react/jsx-runtime";
8
8
  function Indicator(props) {
9
9
  const tabs = use(TabsRootContext);
10
10
  const { element,...rest } = props;
11
- const attributes = mergeProps(tabs.getIndicatorProps(), rest, { className: classesTabs.indicator });
11
+ const attributes = mergeProps(tabs.getIndicatorProps(), { className: classesTabs.indicator }, rest);
12
12
  return element ? element(attributes) : /* @__PURE__ */ jsx("div", { ...attributes });
13
13
  }
14
14
 
@@ -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(tabs.getIndicatorProps(), rest, {\n\t\tclassName: classesTabs.indicator,\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,WAAW,KAAK,mBAAmB,EAAE,MAAM,EAC7D,WAAW,YAAY,WACvB,CAAC;AAEF,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 { 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,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 react292 from "react";
4
- import * as react_jsx_runtime85 from "react/jsx-runtime";
3
+ import * as react232 from "react";
4
+ import * as react_jsx_runtime67 from "react/jsx-runtime";
5
5
 
6
6
  //#region src/components/tabs/anatomy/list.d.ts
7
7
  interface TabsListProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir'> {}
8
- declare function List(props: TabsListProps): string | number | bigint | boolean | Iterable<react292.ReactNode> | Promise<string | number | bigint | boolean | react292.ReactPortal | react292.ReactElement<unknown, string | react292.JSXElementConstructor<any>> | Iterable<react292.ReactNode> | null | undefined> | react_jsx_runtime85.JSX.Element | null | undefined;
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;
9
9
  //#endregion
10
10
  export { List, TabsListProps };
11
11
  //# sourceMappingURL=list.d.ts.map
@@ -8,7 +8,7 @@ import { jsx } from "react/jsx-runtime";
8
8
  function List(props) {
9
9
  const tabs = use(TabsRootContext);
10
10
  const { element, children,...rest } = props;
11
- const attributes = mergeProps(tabs.getListProps(), rest, { className: classesTabs.list });
11
+ const attributes = mergeProps(tabs.getListProps(), { className: classesTabs.list }, rest);
12
12
  return element ? element(attributes) : /* @__PURE__ */ jsx("div", {
13
13
  ...attributes,
14
14
  children
@@ -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(tabs.getListProps(), rest, {\n\t\tclassName: classesTabs.list,\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,WAAW,KAAK,cAAc,EAAE,MAAM,EACxD,WAAW,YAAY,MACvB,CAAC;AAEF,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 { 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,13 +1,13 @@
1
1
  import { HTMLAttributes } from "../../../internal/html-attributes.js";
2
2
  import { PropsWithElement } from "../../../internal/props-with-element.js";
3
3
  import { useTabs } from "../modules/use-tabs.js";
4
- import * as react_jsx_runtime87 from "react/jsx-runtime";
4
+ import * as react_jsx_runtime69 from "react/jsx-runtime";
5
5
 
6
6
  //#region src/components/tabs/anatomy/root-provider.d.ts
7
7
  interface TabsRootProviderProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir' | 'defaultValue'> {
8
8
  value: ReturnType<typeof useTabs>;
9
9
  }
10
- declare function RootProvider(props: TabsRootProviderProps): react_jsx_runtime87.JSX.Element;
10
+ declare function RootProvider(props: TabsRootProviderProps): react_jsx_runtime69.JSX.Element;
11
11
  //#endregion
12
12
  export { RootProvider, TabsRootProviderProps };
13
13
  //# sourceMappingURL=root-provider.d.ts.map
@@ -6,7 +6,7 @@ import { jsx } from "react/jsx-runtime";
6
6
  //#region src/components/tabs/anatomy/root-provider.tsx
7
7
  function RootProvider(props) {
8
8
  const { element, children, value: tabs,...rest } = props;
9
- const attributes = mergeProps(tabs.getRootProps(), rest, { className: classesTabs.root });
9
+ const attributes = mergeProps(tabs.getRootProps(), { className: classesTabs.root }, rest);
10
10
  return /* @__PURE__ */ jsx(TabsRootContext.Provider, {
11
11
  value: tabs,
12
12
  children: element ? element(attributes) : /* @__PURE__ */ jsx("div", {
@@ -1 +1 @@
1
- {"version":3,"file":"root-provider.js","names":[],"sources":["../../../../src/components/tabs/anatomy/root-provider.tsx"],"sourcesContent":["import { TabsRootContext } from '../modules/root-context';\nimport type { useTabs } from '../modules/use-tabs';\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';\n\nexport interface TabsRootProviderProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir' | 'defaultValue'> {\n\tvalue: ReturnType<typeof useTabs>;\n}\n\nexport default function RootProvider(props: TabsRootProviderProps) {\n\tconst { element, children, value: tabs, ...rest } = props;\n\n\tconst attributes = mergeProps(tabs.getRootProps(), rest, {\n\t\tclassName: classesTabs.root,\n\t});\n\n\treturn (\n\t\t<TabsRootContext.Provider value={tabs}>\n\t\t\t{element ? element(attributes) : <div {...attributes}>{children}</div>}\n\t\t</TabsRootContext.Provider>\n\t);\n}\n"],"mappings":";;;;;;AAWA,SAAwB,aAAa,OAA8B;CAClE,MAAM,EAAE,SAAS,UAAU,OAAO,KAAM,GAAG,SAAS;CAEpD,MAAM,aAAa,WAAW,KAAK,cAAc,EAAE,MAAM,EACxD,WAAW,YAAY,MACvB,CAAC;AAEF,QACC,oBAAC,gBAAgB;EAAS,OAAO;YAC/B,UAAU,QAAQ,WAAW,GAAG,oBAAC;GAAI,GAAI;GAAa;IAAe;GAC5C"}
1
+ {"version":3,"file":"root-provider.js","names":[],"sources":["../../../../src/components/tabs/anatomy/root-provider.tsx"],"sourcesContent":["import { TabsRootContext } from '../modules/root-context';\nimport type { useTabs } from '../modules/use-tabs';\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';\n\nexport interface TabsRootProviderProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir' | 'defaultValue'> {\n\tvalue: ReturnType<typeof useTabs>;\n}\n\nexport default function RootProvider(props: TabsRootProviderProps) {\n\tconst { element, children, value: tabs, ...rest } = props;\n\n\tconst attributes = mergeProps(\n\t\ttabs.getRootProps(),\n\t\t{\n\t\t\tclassName: classesTabs.root,\n\t\t},\n\t\trest,\n\t);\n\n\treturn (\n\t\t<TabsRootContext.Provider value={tabs}>\n\t\t\t{element ? element(attributes) : <div {...attributes}>{children}</div>}\n\t\t</TabsRootContext.Provider>\n\t);\n}\n"],"mappings":";;;;;;AAWA,SAAwB,aAAa,OAA8B;CAClE,MAAM,EAAE,SAAS,UAAU,OAAO,KAAM,GAAG,SAAS;CAEpD,MAAM,aAAa,WAClB,KAAK,cAAc,EACnB,EACC,WAAW,YAAY,MACvB,EACD,KACA;AAED,QACC,oBAAC,gBAAgB;EAAS,OAAO;YAC/B,UAAU,QAAQ,WAAW,GAAG,oBAAC;GAAI,GAAI;GAAa;IAAe;GAC5C"}
@@ -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_runtime86 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime68 from "react/jsx-runtime";
4
4
  import { Props } from "@zag-js/tabs";
5
5
 
6
6
  //#region src/components/tabs/anatomy/root.d.ts
7
7
  interface TabsRootProps extends Omit<Props, 'id'>, PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir' | 'defaultValue'> {}
8
- declare function Root(props: TabsRootProps): react_jsx_runtime86.JSX.Element;
8
+ declare function Root(props: TabsRootProps): react_jsx_runtime68.JSX.Element;
9
9
  //#endregion
10
10
  export { Root, TabsRootProps };
11
11
  //# sourceMappingURL=root.d.ts.map
@@ -10,7 +10,7 @@ function Root(props) {
10
10
  const [tabsProps, componentProps] = splitProps(props);
11
11
  const { element, children,...rest } = componentProps;
12
12
  const tabs = useTabs(tabsProps);
13
- const attributes = mergeProps(tabs.getRootProps(), rest, { className: classesTabs.root });
13
+ const attributes = mergeProps(tabs.getRootProps(), { className: classesTabs.root }, rest);
14
14
  return /* @__PURE__ */ jsx(TabsRootContext.Provider, {
15
15
  value: tabs,
16
16
  children: element ? element(attributes) : /* @__PURE__ */ jsx("div", {
@@ -1 +1 @@
1
- {"version":3,"file":"root.js","names":[],"sources":["../../../../src/components/tabs/anatomy/root.tsx"],"sourcesContent":["import { TabsRootContext } from '../modules/root-context';\nimport { useTabs } from '../modules/use-tabs';\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 { splitProps } from '@zag-js/tabs';\nimport type { Props } from '@zag-js/tabs';\n\nexport interface TabsRootProps extends Omit<Props, 'id'>, PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir' | 'defaultValue'> {}\n\nexport default function Root(props: TabsRootProps) {\n\tconst [tabsProps, componentProps] = splitProps(props);\n\tconst { element, children, ...rest } = componentProps;\n\n\tconst tabs = useTabs(tabsProps);\n\n\tconst attributes = mergeProps(tabs.getRootProps(), rest, {\n\t\tclassName: classesTabs.root,\n\t});\n\n\treturn (\n\t\t<TabsRootContext.Provider value={tabs}>\n\t\t\t{element ? element(attributes) : <div {...attributes}>{children}</div>}\n\t\t</TabsRootContext.Provider>\n\t);\n}\n"],"mappings":";;;;;;;;AAWA,SAAwB,KAAK,OAAsB;CAClD,MAAM,CAAC,WAAW,kBAAkB,WAAW,MAAM;CACrD,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,OAAO,QAAQ,UAAU;CAE/B,MAAM,aAAa,WAAW,KAAK,cAAc,EAAE,MAAM,EACxD,WAAW,YAAY,MACvB,CAAC;AAEF,QACC,oBAAC,gBAAgB;EAAS,OAAO;YAC/B,UAAU,QAAQ,WAAW,GAAG,oBAAC;GAAI,GAAI;GAAa;IAAe;GAC5C"}
1
+ {"version":3,"file":"root.js","names":[],"sources":["../../../../src/components/tabs/anatomy/root.tsx"],"sourcesContent":["import { TabsRootContext } from '../modules/root-context';\nimport { useTabs } from '../modules/use-tabs';\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 { splitProps } from '@zag-js/tabs';\nimport type { Props } from '@zag-js/tabs';\n\nexport interface TabsRootProps extends Omit<Props, 'id'>, PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir' | 'defaultValue'> {}\n\nexport default function Root(props: TabsRootProps) {\n\tconst [tabsProps, componentProps] = splitProps(props);\n\tconst { element, children, ...rest } = componentProps;\n\n\tconst tabs = useTabs(tabsProps);\n\n\tconst attributes = mergeProps(\n\t\ttabs.getRootProps(),\n\t\t{\n\t\t\tclassName: classesTabs.root,\n\t\t},\n\t\trest,\n\t);\n\n\treturn (\n\t\t<TabsRootContext.Provider value={tabs}>\n\t\t\t{element ? element(attributes) : <div {...attributes}>{children}</div>}\n\t\t</TabsRootContext.Provider>\n\t);\n}\n"],"mappings":";;;;;;;;AAWA,SAAwB,KAAK,OAAsB;CAClD,MAAM,CAAC,WAAW,kBAAkB,WAAW,MAAM;CACrD,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,OAAO,QAAQ,UAAU;CAE/B,MAAM,aAAa,WAClB,KAAK,cAAc,EACnB,EACC,WAAW,YAAY,MACvB,EACD,KACA;AAED,QACC,oBAAC,gBAAgB;EAAS,OAAO;YAC/B,UAAU,QAAQ,WAAW,GAAG,oBAAC;GAAI,GAAI;GAAa;IAAe;GAC5C"}
@@ -1,12 +1,12 @@
1
1
  import { HTMLAttributes } from "../../../internal/html-attributes.js";
2
2
  import { PropsWithElement } from "../../../internal/props-with-element.js";
3
- import * as react297 from "react";
4
- import * as react_jsx_runtime88 from "react/jsx-runtime";
3
+ import * as react237 from "react";
4
+ import * as react_jsx_runtime70 from "react/jsx-runtime";
5
5
  import { TriggerProps } from "@zag-js/tabs";
6
6
 
7
7
  //#region src/components/tabs/anatomy/trigger.d.ts
8
8
  interface TabsTriggerProps extends TriggerProps, PropsWithElement<'button'>, HTMLAttributes<'button', 'value'> {}
9
- declare function Trigger(props: TabsTriggerProps): string | number | bigint | boolean | Iterable<react297.ReactNode> | Promise<string | number | bigint | boolean | react297.ReactPortal | react297.ReactElement<unknown, string | react297.JSXElementConstructor<any>> | Iterable<react297.ReactNode> | null | undefined> | react_jsx_runtime88.JSX.Element | null | undefined;
9
+ declare function Trigger(props: TabsTriggerProps): string | number | bigint | boolean | Iterable<react237.ReactNode> | Promise<string | number | bigint | boolean | react237.ReactPortal | react237.ReactElement<unknown, string | react237.JSXElementConstructor<any>> | Iterable<react237.ReactNode> | null | undefined> | react_jsx_runtime70.JSX.Element | null | undefined;
10
10
  //#endregion
11
11
  export { TabsTriggerProps, Trigger };
12
12
  //# sourceMappingURL=trigger.d.ts.map
@@ -10,7 +10,7 @@ function Trigger(props) {
10
10
  const tabs = use(TabsRootContext);
11
11
  const [triggerProps, componentProps] = splitTriggerProps(props);
12
12
  const { element, children,...rest } = componentProps;
13
- const attributes = mergeProps(tabs.getTriggerProps(triggerProps), rest, { className: classesTabs.trigger });
13
+ const attributes = mergeProps(tabs.getTriggerProps(triggerProps), { className: classesTabs.trigger }, rest);
14
14
  return element ? element(attributes) : /* @__PURE__ */ jsx("button", {
15
15
  ...attributes,
16
16
  children
@@ -1 +1 @@
1
- {"version":3,"file":"trigger.js","names":[],"sources":["../../../../src/components/tabs/anatomy/trigger.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 { splitTriggerProps } from '@zag-js/tabs';\nimport type { TriggerProps } from '@zag-js/tabs';\nimport { use } from 'react';\n\nexport interface TabsTriggerProps extends TriggerProps, PropsWithElement<'button'>, HTMLAttributes<'button', 'value'> {}\n\nexport default function Trigger(props: TabsTriggerProps) {\n\tconst tabs = use(TabsRootContext);\n\n\tconst [triggerProps, componentProps] = splitTriggerProps(props);\n\tconst { element, children, ...rest } = componentProps;\n\n\tconst attributes = mergeProps(tabs.getTriggerProps(triggerProps), rest, {\n\t\tclassName: classesTabs.trigger,\n\t});\n\n\treturn element ? element(attributes) : <button {...attributes}>{children}</button>;\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,WAAW,KAAK,gBAAgB,aAAa,EAAE,MAAM,EACvE,WAAW,YAAY,SACvB,CAAC;AAEF,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC;EAAO,GAAI;EAAa;GAAkB"}
1
+ {"version":3,"file":"trigger.js","names":[],"sources":["../../../../src/components/tabs/anatomy/trigger.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 { splitTriggerProps } from '@zag-js/tabs';\nimport type { TriggerProps } from '@zag-js/tabs';\nimport { use } from 'react';\n\nexport interface TabsTriggerProps extends TriggerProps, PropsWithElement<'button'>, HTMLAttributes<'button', 'value'> {}\n\nexport default function Trigger(props: TabsTriggerProps) {\n\tconst tabs = use(TabsRootContext);\n\n\tconst [triggerProps, componentProps] = splitTriggerProps(props);\n\tconst { element, children, ...rest } = componentProps;\n\n\tconst attributes = mergeProps(\n\t\ttabs.getTriggerProps(triggerProps),\n\t\t{\n\t\t\tclassName: classesTabs.trigger,\n\t\t},\n\t\trest,\n\t);\n\n\treturn element ? element(attributes) : <button {...attributes}>{children}</button>;\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;EAAO,GAAI;EAAa;GAAkB"}
@@ -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 react202 from "react";
4
- import * as react_jsx_runtime62 from "react/jsx-runtime";
3
+ import * as react242 from "react";
4
+ import * as react_jsx_runtime71 from "react/jsx-runtime";
5
5
 
6
6
  //#region src/components/tags-input/anatomy/clear-trigger.d.ts
7
7
  interface TagsInputClearTriggerProps extends PropsWithElement<'button'>, HTMLAttributes<'button'> {}
8
- declare function ClearTrigger(props: TagsInputClearTriggerProps): string | number | bigint | boolean | Iterable<react202.ReactNode> | Promise<string | number | bigint | boolean | react202.ReactPortal | react202.ReactElement<unknown, string | react202.JSXElementConstructor<any>> | Iterable<react202.ReactNode> | null | undefined> | react_jsx_runtime62.JSX.Element | null | undefined;
8
+ declare function ClearTrigger(props: TagsInputClearTriggerProps): string | number | bigint | boolean | Iterable<react242.ReactNode> | Promise<string | number | bigint | boolean | react242.ReactPortal | react242.ReactElement<unknown, string | react242.JSXElementConstructor<any>> | Iterable<react242.ReactNode> | null | undefined> | react_jsx_runtime71.JSX.Element | null | undefined;
9
9
  //#endregion
10
10
  export { ClearTrigger, TagsInputClearTriggerProps };
11
11
  //# sourceMappingURL=clear-trigger.d.ts.map
@@ -8,7 +8,7 @@ import { jsx } from "react/jsx-runtime";
8
8
  function ClearTrigger(props) {
9
9
  const tagsInput = use(TagsInputRootContext);
10
10
  const { element, children,...rest } = props;
11
- const attributes = mergeProps(tagsInput.getClearTriggerProps(), rest, { className: classesTagsInput.clearTrigger });
11
+ const attributes = mergeProps(tagsInput.getClearTriggerProps(), { className: classesTagsInput.clearTrigger }, rest);
12
12
  return element ? element(attributes) : /* @__PURE__ */ jsx("button", {
13
13
  ...attributes,
14
14
  children
@@ -1 +1 @@
1
- {"version":3,"file":"clear-trigger.js","names":[],"sources":["../../../../src/components/tags-input/anatomy/clear-trigger.tsx"],"sourcesContent":["import { TagsInputRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesTagsInput } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface TagsInputClearTriggerProps extends PropsWithElement<'button'>, HTMLAttributes<'button'> {}\n\nexport default function ClearTrigger(props: TagsInputClearTriggerProps) {\n\tconst tagsInput = use(TagsInputRootContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(tagsInput.getClearTriggerProps(), rest, {\n\t\tclassName: classesTagsInput.clearTrigger,\n\t});\n\n\treturn element ? element(attributes) : <button {...attributes}>{children}</button>;\n}\n"],"mappings":";;;;;;;AASA,SAAwB,aAAa,OAAmC;CACvE,MAAM,YAAY,IAAI,qBAAqB;CAE3C,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,aAAa,WAAW,UAAU,sBAAsB,EAAE,MAAM,EACrE,WAAW,iBAAiB,cAC5B,CAAC;AAEF,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC;EAAO,GAAI;EAAa;GAAkB"}
1
+ {"version":3,"file":"clear-trigger.js","names":[],"sources":["../../../../src/components/tags-input/anatomy/clear-trigger.tsx"],"sourcesContent":["import { TagsInputRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesTagsInput } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface TagsInputClearTriggerProps extends PropsWithElement<'button'>, HTMLAttributes<'button'> {}\n\nexport default function ClearTrigger(props: TagsInputClearTriggerProps) {\n\tconst tagsInput = use(TagsInputRootContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(\n\t\ttagsInput.getClearTriggerProps(),\n\t\t{\n\t\t\tclassName: classesTagsInput.clearTrigger,\n\t\t},\n\t\trest,\n\t);\n\n\treturn element ? element(attributes) : <button {...attributes}>{children}</button>;\n}\n"],"mappings":";;;;;;;AASA,SAAwB,aAAa,OAAmC;CACvE,MAAM,YAAY,IAAI,qBAAqB;CAE3C,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,aAAa,WAClB,UAAU,sBAAsB,EAChC,EACC,WAAW,iBAAiB,cAC5B,EACD,KACA;AAED,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC;EAAO,GAAI;EAAa;GAAkB"}
@@ -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 react207 from "react";
4
- import * as react_jsx_runtime63 from "react/jsx-runtime";
3
+ import * as react247 from "react";
4
+ import * as react_jsx_runtime72 from "react/jsx-runtime";
5
5
 
6
6
  //#region src/components/tags-input/anatomy/control.d.ts
7
7
  interface TagsInputControlProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
8
- declare function Control(props: TagsInputControlProps): string | number | bigint | boolean | Iterable<react207.ReactNode> | Promise<string | number | bigint | boolean | react207.ReactPortal | react207.ReactElement<unknown, string | react207.JSXElementConstructor<any>> | Iterable<react207.ReactNode> | null | undefined> | react_jsx_runtime63.JSX.Element | null | undefined;
8
+ declare function Control(props: TagsInputControlProps): string | number | bigint | boolean | Iterable<react247.ReactNode> | Promise<string | number | bigint | boolean | react247.ReactPortal | react247.ReactElement<unknown, string | react247.JSXElementConstructor<any>> | Iterable<react247.ReactNode> | null | undefined> | react_jsx_runtime72.JSX.Element | null | undefined;
9
9
  //#endregion
10
10
  export { Control, TagsInputControlProps };
11
11
  //# sourceMappingURL=control.d.ts.map
@@ -8,7 +8,7 @@ import { jsx } from "react/jsx-runtime";
8
8
  function Control(props) {
9
9
  const tagsInput = use(TagsInputRootContext);
10
10
  const { element, children,...rest } = props;
11
- const attributes = mergeProps(tagsInput.getControlProps(), rest, { className: classesTagsInput.control });
11
+ const attributes = mergeProps(tagsInput.getControlProps(), { className: classesTagsInput.control }, rest);
12
12
  return element ? element(attributes) : /* @__PURE__ */ jsx("div", {
13
13
  ...attributes,
14
14
  children
@@ -1 +1 @@
1
- {"version":3,"file":"control.js","names":[],"sources":["../../../../src/components/tags-input/anatomy/control.tsx"],"sourcesContent":["import { TagsInputRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesTagsInput } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface TagsInputControlProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}\n\nexport default function Control(props: TagsInputControlProps) {\n\tconst tagsInput = use(TagsInputRootContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(tagsInput.getControlProps(), rest, {\n\t\tclassName: classesTagsInput.control,\n\t});\n\n\treturn element ? element(attributes) : <div {...attributes}>{children}</div>;\n}\n"],"mappings":";;;;;;;AASA,SAAwB,QAAQ,OAA8B;CAC7D,MAAM,YAAY,IAAI,qBAAqB;CAE3C,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,aAAa,WAAW,UAAU,iBAAiB,EAAE,MAAM,EAChE,WAAW,iBAAiB,SAC5B,CAAC;AAEF,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC;EAAI,GAAI;EAAa;GAAe"}
1
+ {"version":3,"file":"control.js","names":[],"sources":["../../../../src/components/tags-input/anatomy/control.tsx"],"sourcesContent":["import { TagsInputRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesTagsInput } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface TagsInputControlProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}\n\nexport default function Control(props: TagsInputControlProps) {\n\tconst tagsInput = use(TagsInputRootContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(\n\t\ttagsInput.getControlProps(),\n\t\t{\n\t\t\tclassName: classesTagsInput.control,\n\t\t},\n\t\trest,\n\t);\n\n\treturn element ? element(attributes) : <div {...attributes}>{children}</div>;\n}\n"],"mappings":";;;;;;;AASA,SAAwB,QAAQ,OAA8B;CAC7D,MAAM,YAAY,IAAI,qBAAqB;CAE3C,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,aAAa,WAClB,UAAU,iBAAiB,EAC3B,EACC,WAAW,iBAAiB,SAC5B,EACD,KACA;AAED,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC;EAAI,GAAI;EAAa;GAAe"}
@@ -1,11 +1,11 @@
1
1
  import { HTMLAttributes } from "../../../internal/html-attributes.js";
2
2
  import { PropsWithElement } from "../../../internal/props-with-element.js";
3
- import * as react212 from "react";
4
- import * as react_jsx_runtime64 from "react/jsx-runtime";
3
+ import * as react252 from "react";
4
+ import * as react_jsx_runtime73 from "react/jsx-runtime";
5
5
 
6
6
  //#region src/components/tags-input/anatomy/hidden-input.d.ts
7
7
  interface TagsInputHiddenInputProps extends PropsWithElement<'input'>, HTMLAttributes<'input', 'children'> {}
8
- declare function HiddenInput(props: TagsInputHiddenInputProps): string | number | bigint | boolean | Iterable<react212.ReactNode> | Promise<string | number | bigint | boolean | react212.ReactPortal | react212.ReactElement<unknown, string | react212.JSXElementConstructor<any>> | Iterable<react212.ReactNode> | null | undefined> | react_jsx_runtime64.JSX.Element | null | undefined;
8
+ declare function HiddenInput(props: TagsInputHiddenInputProps): string | number | bigint | boolean | Iterable<react252.ReactNode> | Promise<string | number | bigint | boolean | react252.ReactPortal | react252.ReactElement<unknown, string | react252.JSXElementConstructor<any>> | Iterable<react252.ReactNode> | null | undefined> | react_jsx_runtime73.JSX.Element | null | undefined;
9
9
  //#endregion
10
10
  export { HiddenInput, TagsInputHiddenInputProps };
11
11
  //# sourceMappingURL=hidden-input.d.ts.map
@@ -8,7 +8,7 @@ import { jsx } from "react/jsx-runtime";
8
8
  function HiddenInput(props) {
9
9
  const tagsInput = use(TagsInputRootContext);
10
10
  const { element,...rest } = props;
11
- const attributes = mergeProps(tagsInput.getHiddenInputProps(), rest, { className: classesTagsInput.hiddenInput });
11
+ const attributes = mergeProps(tagsInput.getHiddenInputProps(), { className: classesTagsInput.hiddenInput }, rest);
12
12
  return element ? element(attributes) : /* @__PURE__ */ jsx("input", { ...attributes });
13
13
  }
14
14
 
@@ -1 +1 @@
1
- {"version":3,"file":"hidden-input.js","names":[],"sources":["../../../../src/components/tags-input/anatomy/hidden-input.tsx"],"sourcesContent":["import { TagsInputRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesTagsInput } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface TagsInputHiddenInputProps extends PropsWithElement<'input'>, HTMLAttributes<'input', 'children'> {}\n\nexport default function HiddenInput(props: TagsInputHiddenInputProps) {\n\tconst tagsInput = use(TagsInputRootContext);\n\n\tconst { element, ...rest } = props;\n\n\tconst attributes = mergeProps(tagsInput.getHiddenInputProps(), rest, {\n\t\tclassName: classesTagsInput.hiddenInput,\n\t});\n\n\treturn element ? element(attributes) : <input {...attributes} />;\n}\n"],"mappings":";;;;;;;AASA,SAAwB,YAAY,OAAkC;CACrE,MAAM,YAAY,IAAI,qBAAqB;CAE3C,MAAM,EAAE,QAAS,GAAG,SAAS;CAE7B,MAAM,aAAa,WAAW,UAAU,qBAAqB,EAAE,MAAM,EACpE,WAAW,iBAAiB,aAC5B,CAAC;AAEF,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC,WAAM,GAAI,aAAc"}
1
+ {"version":3,"file":"hidden-input.js","names":[],"sources":["../../../../src/components/tags-input/anatomy/hidden-input.tsx"],"sourcesContent":["import { TagsInputRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesTagsInput } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface TagsInputHiddenInputProps extends PropsWithElement<'input'>, HTMLAttributes<'input', 'children'> {}\n\nexport default function HiddenInput(props: TagsInputHiddenInputProps) {\n\tconst tagsInput = use(TagsInputRootContext);\n\n\tconst { element, ...rest } = props;\n\n\tconst attributes = mergeProps(\n\t\ttagsInput.getHiddenInputProps(),\n\t\t{\n\t\t\tclassName: classesTagsInput.hiddenInput,\n\t\t},\n\t\trest,\n\t);\n\n\treturn element ? element(attributes) : <input {...attributes} />;\n}\n"],"mappings":";;;;;;;AASA,SAAwB,YAAY,OAAkC;CACrE,MAAM,YAAY,IAAI,qBAAqB;CAE3C,MAAM,EAAE,QAAS,GAAG,SAAS;CAE7B,MAAM,aAAa,WAClB,UAAU,qBAAqB,EAC/B,EACC,WAAW,iBAAiB,aAC5B,EACD,KACA;AAED,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC,WAAM,GAAI,aAAc"}
@@ -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 react217 from "react";
4
- import * as react_jsx_runtime65 from "react/jsx-runtime";
3
+ import * as react257 from "react";
4
+ import * as react_jsx_runtime74 from "react/jsx-runtime";
5
5
 
6
6
  //#region src/components/tags-input/anatomy/input.d.ts
7
7
  interface TagsInputInputProps extends PropsWithElement<'input'>, HTMLAttributes<'input', 'children'> {}
8
- declare function Input(props: TagsInputInputProps): string | number | bigint | boolean | Iterable<react217.ReactNode> | Promise<string | number | bigint | boolean | react217.ReactPortal | react217.ReactElement<unknown, string | react217.JSXElementConstructor<any>> | Iterable<react217.ReactNode> | null | undefined> | react_jsx_runtime65.JSX.Element | null | undefined;
8
+ declare function Input(props: TagsInputInputProps): string | number | bigint | boolean | Iterable<react257.ReactNode> | Promise<string | number | bigint | boolean | react257.ReactPortal | react257.ReactElement<unknown, string | react257.JSXElementConstructor<any>> | Iterable<react257.ReactNode> | null | undefined> | react_jsx_runtime74.JSX.Element | null | undefined;
9
9
  //#endregion
10
10
  export { Input, TagsInputInputProps };
11
11
  //# sourceMappingURL=input.d.ts.map
@@ -8,7 +8,7 @@ import { jsx } from "react/jsx-runtime";
8
8
  function Input(props) {
9
9
  const tagsInput = use(TagsInputRootContext);
10
10
  const { element,...rest } = props;
11
- const attributes = mergeProps(tagsInput.getInputProps(), rest, { className: classesTagsInput.input });
11
+ const attributes = mergeProps(tagsInput.getInputProps(), { className: classesTagsInput.input }, rest);
12
12
  return element ? element(attributes) : /* @__PURE__ */ jsx("input", { ...attributes });
13
13
  }
14
14
 
@@ -1 +1 @@
1
- {"version":3,"file":"input.js","names":[],"sources":["../../../../src/components/tags-input/anatomy/input.tsx"],"sourcesContent":["import { TagsInputRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesTagsInput } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface TagsInputInputProps extends PropsWithElement<'input'>, HTMLAttributes<'input', 'children'> {}\n\nexport default function Input(props: TagsInputInputProps) {\n\tconst tagsInput = use(TagsInputRootContext);\n\n\tconst { element, ...rest } = props;\n\n\tconst attributes = mergeProps(tagsInput.getInputProps(), rest, {\n\t\tclassName: classesTagsInput.input,\n\t});\n\n\treturn element ? element(attributes) : <input {...attributes} />;\n}\n"],"mappings":";;;;;;;AASA,SAAwB,MAAM,OAA4B;CACzD,MAAM,YAAY,IAAI,qBAAqB;CAE3C,MAAM,EAAE,QAAS,GAAG,SAAS;CAE7B,MAAM,aAAa,WAAW,UAAU,eAAe,EAAE,MAAM,EAC9D,WAAW,iBAAiB,OAC5B,CAAC;AAEF,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC,WAAM,GAAI,aAAc"}
1
+ {"version":3,"file":"input.js","names":[],"sources":["../../../../src/components/tags-input/anatomy/input.tsx"],"sourcesContent":["import { TagsInputRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesTagsInput } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface TagsInputInputProps extends PropsWithElement<'input'>, HTMLAttributes<'input', 'children'> {}\n\nexport default function Input(props: TagsInputInputProps) {\n\tconst tagsInput = use(TagsInputRootContext);\n\n\tconst { element, ...rest } = props;\n\n\tconst attributes = mergeProps(\n\t\ttagsInput.getInputProps(),\n\t\t{\n\t\t\tclassName: classesTagsInput.input,\n\t\t},\n\t\trest,\n\t);\n\n\treturn element ? element(attributes) : <input {...attributes} />;\n}\n"],"mappings":";;;;;;;AASA,SAAwB,MAAM,OAA4B;CACzD,MAAM,YAAY,IAAI,qBAAqB;CAE3C,MAAM,EAAE,QAAS,GAAG,SAAS;CAE7B,MAAM,aAAa,WAClB,UAAU,eAAe,EACzB,EACC,WAAW,iBAAiB,OAC5B,EACD,KACA;AAED,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC,WAAM,GAAI,aAAc"}
@@ -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 react222 from "react";
4
- import * as react_jsx_runtime67 from "react/jsx-runtime";
3
+ import * as react262 from "react";
4
+ import * as react_jsx_runtime76 from "react/jsx-runtime";
5
5
 
6
6
  //#region src/components/tags-input/anatomy/item-delete-trigger.d.ts
7
7
  interface TagsInputItemDeleteTriggerProps extends PropsWithElement<'button'>, HTMLAttributes<'button'> {}
8
- declare function ItemDeleteTrigger(props: TagsInputItemDeleteTriggerProps): 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_runtime67.JSX.Element | null | undefined;
8
+ declare function ItemDeleteTrigger(props: TagsInputItemDeleteTriggerProps): string | number | bigint | boolean | Iterable<react262.ReactNode> | Promise<string | number | bigint | boolean | react262.ReactPortal | react262.ReactElement<unknown, string | react262.JSXElementConstructor<any>> | Iterable<react262.ReactNode> | null | undefined> | react_jsx_runtime76.JSX.Element | null | undefined;
9
9
  //#endregion
10
10
  export { ItemDeleteTrigger, TagsInputItemDeleteTriggerProps };
11
11
  //# sourceMappingURL=item-delete-trigger.d.ts.map
@@ -10,7 +10,7 @@ function ItemDeleteTrigger(props) {
10
10
  const tagsInput = use(TagsInputRootContext);
11
11
  const itemProps = use(TagsInputItemContext);
12
12
  const { element, children = /* @__PURE__ */ jsx(Fragment$1, { children: "×" }),...rest } = props;
13
- const attributes = mergeProps(tagsInput.getItemDeleteTriggerProps(itemProps), rest, { className: classesTagsInput.itemDeleteTrigger });
13
+ const attributes = mergeProps(tagsInput.getItemDeleteTriggerProps(itemProps), { className: classesTagsInput.itemDeleteTrigger }, rest);
14
14
  return element ? element(attributes) : /* @__PURE__ */ jsx("button", {
15
15
  ...attributes,
16
16
  children
@@ -1 +1 @@
1
- {"version":3,"file":"item-delete-trigger.js","names":[],"sources":["../../../../src/components/tags-input/anatomy/item-delete-trigger.tsx"],"sourcesContent":["import { TagsInputItemContext } from '../modules/item-context';\nimport { TagsInputRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesTagsInput } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface TagsInputItemDeleteTriggerProps extends PropsWithElement<'button'>, HTMLAttributes<'button'> {}\n\nexport default function ItemDeleteTrigger(props: TagsInputItemDeleteTriggerProps) {\n\tconst tagsInput = use(TagsInputRootContext);\n\tconst itemProps = use(TagsInputItemContext);\n\n\tconst { element, children = <>&times;</>, ...rest } = props;\n\n\tconst attributes = mergeProps(tagsInput.getItemDeleteTriggerProps(itemProps), rest, {\n\t\tclassName: classesTagsInput.itemDeleteTrigger,\n\t});\n\n\treturn element ? element(attributes) : <button {...attributes}>{children}</button>;\n}\n"],"mappings":";;;;;;;;AAUA,SAAwB,kBAAkB,OAAwC;CACjF,MAAM,YAAY,IAAI,qBAAqB;CAC3C,MAAM,YAAY,IAAI,qBAAqB;CAE3C,MAAM,EAAE,SAAS,WAAW,4CAAE,MAAU,CAAE,GAAG,SAAS;CAEtD,MAAM,aAAa,WAAW,UAAU,0BAA0B,UAAU,EAAE,MAAM,EACnF,WAAW,iBAAiB,mBAC5B,CAAC;AAEF,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC;EAAO,GAAI;EAAa;GAAkB"}
1
+ {"version":3,"file":"item-delete-trigger.js","names":[],"sources":["../../../../src/components/tags-input/anatomy/item-delete-trigger.tsx"],"sourcesContent":["import { TagsInputItemContext } from '../modules/item-context';\nimport { TagsInputRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesTagsInput } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface TagsInputItemDeleteTriggerProps extends PropsWithElement<'button'>, HTMLAttributes<'button'> {}\n\nexport default function ItemDeleteTrigger(props: TagsInputItemDeleteTriggerProps) {\n\tconst tagsInput = use(TagsInputRootContext);\n\tconst itemProps = use(TagsInputItemContext);\n\n\tconst { element, children = <>&times;</>, ...rest } = props;\n\n\tconst attributes = mergeProps(\n\t\ttagsInput.getItemDeleteTriggerProps(itemProps),\n\t\t{\n\t\t\tclassName: classesTagsInput.itemDeleteTrigger,\n\t\t},\n\t\trest,\n\t);\n\n\treturn element ? element(attributes) : <button {...attributes}>{children}</button>;\n}\n"],"mappings":";;;;;;;;AAUA,SAAwB,kBAAkB,OAAwC;CACjF,MAAM,YAAY,IAAI,qBAAqB;CAC3C,MAAM,YAAY,IAAI,qBAAqB;CAE3C,MAAM,EAAE,SAAS,WAAW,4CAAE,MAAU,CAAE,GAAG,SAAS;CAEtD,MAAM,aAAa,WAClB,UAAU,0BAA0B,UAAU,EAC9C,EACC,WAAW,iBAAiB,mBAC5B,EACD,KACA;AAED,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC;EAAO,GAAI;EAAa;GAAkB"}