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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (527) hide show
  1. package/dist/components/accordion/anatomy/item-content.d.ts +12 -0
  2. package/dist/components/accordion/anatomy/item-content.d.ts.map +1 -0
  3. package/dist/components/accordion/anatomy/{content.js → item-content.js} +6 -6
  4. package/dist/components/accordion/anatomy/item-content.js.map +1 -0
  5. package/dist/components/accordion/anatomy/item-heading.d.ts +19 -0
  6. package/dist/components/accordion/anatomy/item-heading.d.ts.map +1 -0
  7. package/dist/components/accordion/anatomy/{heading.js → item-heading.js} +5 -5
  8. package/dist/components/accordion/anatomy/item-heading.js.map +1 -0
  9. package/dist/components/accordion/anatomy/item-indicator.d.ts +12 -0
  10. package/dist/components/accordion/anatomy/item-indicator.d.ts.map +1 -0
  11. package/dist/components/accordion/anatomy/{indicator.js → item-indicator.js} +6 -6
  12. package/dist/components/accordion/anatomy/item-indicator.js.map +1 -0
  13. package/dist/components/accordion/anatomy/item-trigger.d.ts +12 -0
  14. package/dist/components/accordion/anatomy/item-trigger.d.ts.map +1 -0
  15. package/dist/components/accordion/anatomy/{trigger.js → item-trigger.js} +6 -6
  16. package/dist/components/accordion/anatomy/item-trigger.js.map +1 -0
  17. package/dist/components/accordion/anatomy/item.d.ts +3 -3
  18. package/dist/components/accordion/anatomy/item.d.ts.map +1 -1
  19. package/dist/components/accordion/anatomy/item.js +5 -5
  20. package/dist/components/accordion/anatomy/item.js.map +1 -1
  21. package/dist/components/accordion/anatomy/root-context.js.map +1 -1
  22. package/dist/components/accordion/anatomy/root-provider.d.ts +3 -2
  23. package/dist/components/accordion/anatomy/root-provider.d.ts.map +1 -1
  24. package/dist/components/accordion/anatomy/root-provider.js +21 -0
  25. package/dist/components/accordion/anatomy/root-provider.js.map +1 -0
  26. package/dist/components/accordion/anatomy/root.d.ts +3 -3
  27. package/dist/components/accordion/anatomy/root.d.ts.map +1 -1
  28. package/dist/components/accordion/anatomy/root.js +5 -5
  29. package/dist/components/accordion/anatomy/root.js.map +1 -1
  30. package/dist/components/accordion/modules/anatomy.d.ts +14 -12
  31. package/dist/components/accordion/modules/anatomy.d.ts.map +1 -1
  32. package/dist/components/accordion/modules/anatomy.js +14 -12
  33. package/dist/components/accordion/modules/anatomy.js.map +1 -1
  34. package/dist/components/accordion/modules/item-context.js +2 -2
  35. package/dist/components/accordion/modules/item-context.js.map +1 -1
  36. package/dist/components/accordion/modules/root-context.js +1 -0
  37. package/dist/components/accordion/modules/root-context.js.map +1 -1
  38. package/dist/components/accordion/modules/use-accordion.d.ts +2 -1
  39. package/dist/components/accordion/modules/use-accordion.d.ts.map +1 -1
  40. package/dist/components/accordion/modules/use-accordion.js +2 -2
  41. package/dist/components/accordion/modules/use-accordion.js.map +1 -1
  42. package/dist/components/avatar/anatomy/fallback.d.ts +4 -4
  43. package/dist/components/avatar/anatomy/fallback.d.ts.map +1 -1
  44. package/dist/components/avatar/anatomy/fallback.js +4 -4
  45. package/dist/components/avatar/anatomy/fallback.js.map +1 -1
  46. package/dist/components/avatar/anatomy/image.d.ts +4 -4
  47. package/dist/components/avatar/anatomy/image.d.ts.map +1 -1
  48. package/dist/components/avatar/anatomy/image.js +4 -4
  49. package/dist/components/avatar/anatomy/image.js.map +1 -1
  50. package/dist/components/avatar/anatomy/root-context.js.map +1 -1
  51. package/dist/components/avatar/anatomy/root-provider.d.ts +3 -2
  52. package/dist/components/avatar/anatomy/root-provider.d.ts.map +1 -1
  53. package/dist/components/avatar/anatomy/root-provider.js +21 -0
  54. package/dist/components/avatar/anatomy/root-provider.js.map +1 -0
  55. package/dist/components/avatar/anatomy/root.d.ts +2 -2
  56. package/dist/components/avatar/anatomy/root.d.ts.map +1 -1
  57. package/dist/components/avatar/anatomy/root.js +1 -1
  58. package/dist/components/avatar/anatomy/root.js.map +1 -1
  59. package/dist/components/avatar/modules/anatomy.d.ts +6 -4
  60. package/dist/components/avatar/modules/anatomy.d.ts.map +1 -1
  61. package/dist/components/avatar/modules/anatomy.js +6 -4
  62. package/dist/components/avatar/modules/anatomy.js.map +1 -1
  63. package/dist/components/avatar/modules/root-context.js.map +1 -1
  64. package/dist/components/avatar/modules/use-avatar.d.ts +2 -1
  65. package/dist/components/avatar/modules/use-avatar.d.ts.map +1 -1
  66. package/dist/components/avatar/modules/use-avatar.js +2 -2
  67. package/dist/components/avatar/modules/use-avatar.js.map +1 -1
  68. package/dist/components/dialog/anatomy/backdrop.d.ts +11 -0
  69. package/dist/components/dialog/anatomy/backdrop.d.ts.map +1 -0
  70. package/dist/components/dialog/anatomy/backdrop.js +17 -0
  71. package/dist/components/dialog/anatomy/backdrop.js.map +1 -0
  72. package/dist/components/dialog/anatomy/close-trigger.d.ts +11 -0
  73. package/dist/components/dialog/anatomy/close-trigger.d.ts.map +1 -0
  74. package/dist/components/dialog/anatomy/close-trigger.js +20 -0
  75. package/dist/components/dialog/anatomy/close-trigger.js.map +1 -0
  76. package/dist/components/dialog/anatomy/content.d.ts +11 -0
  77. package/dist/components/dialog/anatomy/content.d.ts.map +1 -0
  78. package/dist/components/dialog/anatomy/content.js +20 -0
  79. package/dist/components/dialog/anatomy/content.js.map +1 -0
  80. package/dist/components/dialog/anatomy/description.d.ts +11 -0
  81. package/dist/components/dialog/anatomy/description.d.ts.map +1 -0
  82. package/dist/components/dialog/anatomy/description.js +20 -0
  83. package/dist/components/dialog/anatomy/description.js.map +1 -0
  84. package/dist/components/dialog/anatomy/positioner.d.ts +11 -0
  85. package/dist/components/dialog/anatomy/positioner.d.ts.map +1 -0
  86. package/dist/components/dialog/anatomy/positioner.js +20 -0
  87. package/dist/components/dialog/anatomy/positioner.js.map +1 -0
  88. package/dist/components/dialog/anatomy/root-context.d.ts +11 -0
  89. package/dist/components/dialog/anatomy/root-context.d.ts.map +1 -0
  90. package/dist/components/dialog/anatomy/root-context.js +13 -0
  91. package/dist/components/dialog/anatomy/root-context.js.map +1 -0
  92. package/dist/components/dialog/anatomy/root-provider.d.ts +12 -0
  93. package/dist/components/dialog/anatomy/root-provider.d.ts.map +1 -0
  94. package/dist/components/dialog/anatomy/root-provider.js +15 -0
  95. package/dist/components/dialog/anatomy/root-provider.js.map +1 -0
  96. package/dist/components/dialog/anatomy/root.d.ts +10 -0
  97. package/dist/components/dialog/anatomy/root.d.ts.map +1 -0
  98. package/dist/components/dialog/anatomy/root.js +20 -0
  99. package/dist/components/dialog/anatomy/root.js.map +1 -0
  100. package/dist/components/dialog/anatomy/title.d.ts +11 -0
  101. package/dist/components/dialog/anatomy/title.d.ts.map +1 -0
  102. package/dist/components/dialog/anatomy/title.js +20 -0
  103. package/dist/components/dialog/anatomy/title.js.map +1 -0
  104. package/dist/components/dialog/anatomy/trigger.d.ts +11 -0
  105. package/dist/components/dialog/anatomy/trigger.d.ts.map +1 -0
  106. package/dist/components/dialog/anatomy/trigger.js +20 -0
  107. package/dist/components/dialog/anatomy/trigger.js.map +1 -0
  108. package/dist/components/dialog/index.js +4 -0
  109. package/dist/components/dialog/modules/anatomy.d.ts +26 -0
  110. package/dist/components/dialog/modules/anatomy.d.ts.map +1 -0
  111. package/dist/components/dialog/modules/anatomy.js +27 -0
  112. package/dist/components/dialog/modules/anatomy.js.map +1 -0
  113. package/dist/components/dialog/modules/root-context.js +8 -0
  114. package/dist/components/dialog/modules/root-context.js.map +1 -0
  115. package/dist/components/dialog/modules/use-dialog.d.ts +8 -0
  116. package/dist/components/dialog/modules/use-dialog.d.ts.map +1 -0
  117. package/dist/components/dialog/modules/use-dialog.js +16 -0
  118. package/dist/components/dialog/modules/use-dialog.js.map +1 -0
  119. package/dist/components/file-upload/anatomy/dropzone.d.ts +3 -3
  120. package/dist/components/file-upload/anatomy/dropzone.d.ts.map +1 -1
  121. package/dist/components/file-upload/anatomy/dropzone.js +2 -2
  122. package/dist/components/file-upload/anatomy/dropzone.js.map +1 -1
  123. package/dist/components/file-upload/anatomy/hidden-input.d.ts +3 -3
  124. package/dist/components/file-upload/anatomy/hidden-input.d.ts.map +1 -1
  125. package/dist/components/file-upload/anatomy/hidden-input.js +2 -2
  126. package/dist/components/file-upload/anatomy/hidden-input.js.map +1 -1
  127. package/dist/components/file-upload/anatomy/item-delete-trigger.d.ts +3 -3
  128. package/dist/components/file-upload/anatomy/item-delete-trigger.d.ts.map +1 -1
  129. package/dist/components/file-upload/anatomy/item-delete-trigger.js +4 -4
  130. package/dist/components/file-upload/anatomy/item-delete-trigger.js.map +1 -1
  131. package/dist/components/file-upload/anatomy/item-group.d.ts +3 -3
  132. package/dist/components/file-upload/anatomy/item-group.d.ts.map +1 -1
  133. package/dist/components/file-upload/anatomy/item-group.js +2 -2
  134. package/dist/components/file-upload/anatomy/item-group.js.map +1 -1
  135. package/dist/components/file-upload/anatomy/item-name.d.ts +3 -3
  136. package/dist/components/file-upload/anatomy/item-name.d.ts.map +1 -1
  137. package/dist/components/file-upload/anatomy/item-name.js +2 -2
  138. package/dist/components/file-upload/anatomy/item-name.js.map +1 -1
  139. package/dist/components/file-upload/anatomy/item-size-text.d.ts +3 -3
  140. package/dist/components/file-upload/anatomy/item-size-text.d.ts.map +1 -1
  141. package/dist/components/file-upload/anatomy/item-size-text.js +2 -2
  142. package/dist/components/file-upload/anatomy/item-size-text.js.map +1 -1
  143. package/dist/components/file-upload/anatomy/item.d.ts +2 -2
  144. package/dist/components/file-upload/anatomy/item.d.ts.map +1 -1
  145. package/dist/components/file-upload/anatomy/item.js +2 -2
  146. package/dist/components/file-upload/anatomy/item.js.map +1 -1
  147. package/dist/components/file-upload/anatomy/root-context.js.map +1 -1
  148. package/dist/components/file-upload/anatomy/root-provider.d.ts +2 -2
  149. package/dist/components/file-upload/anatomy/root-provider.d.ts.map +1 -1
  150. package/dist/components/file-upload/anatomy/root-provider.js +1 -1
  151. package/dist/components/file-upload/anatomy/root-provider.js.map +1 -1
  152. package/dist/components/file-upload/anatomy/root.d.ts +2 -2
  153. package/dist/components/file-upload/anatomy/root.d.ts.map +1 -1
  154. package/dist/components/file-upload/anatomy/root.js +1 -1
  155. package/dist/components/file-upload/anatomy/root.js.map +1 -1
  156. package/dist/components/file-upload/anatomy/trigger.d.ts +3 -3
  157. package/dist/components/file-upload/anatomy/trigger.d.ts.map +1 -1
  158. package/dist/components/file-upload/anatomy/trigger.js +2 -2
  159. package/dist/components/file-upload/anatomy/trigger.js.map +1 -1
  160. package/dist/components/file-upload/modules/item-context.js.map +1 -1
  161. package/dist/components/file-upload/modules/root-context.js.map +1 -1
  162. package/dist/components/file-upload/modules/use-file-upload.d.ts +2 -1
  163. package/dist/components/file-upload/modules/use-file-upload.d.ts.map +1 -1
  164. package/dist/components/file-upload/modules/use-file-upload.js +1 -1
  165. package/dist/components/file-upload/modules/use-file-upload.js.map +1 -1
  166. package/dist/components/popover/anatomy/arrow-tip.d.ts +11 -0
  167. package/dist/components/popover/anatomy/arrow-tip.d.ts.map +1 -0
  168. package/dist/components/popover/anatomy/arrow-tip.js +20 -0
  169. package/dist/components/popover/anatomy/arrow-tip.js.map +1 -0
  170. package/dist/components/popover/anatomy/arrow.d.ts +11 -0
  171. package/dist/components/popover/anatomy/arrow.d.ts.map +1 -0
  172. package/dist/components/popover/anatomy/arrow.js +20 -0
  173. package/dist/components/popover/anatomy/arrow.js.map +1 -0
  174. package/dist/components/popover/anatomy/close-trigger.d.ts +11 -0
  175. package/dist/components/popover/anatomy/close-trigger.d.ts.map +1 -0
  176. package/dist/components/popover/anatomy/close-trigger.js +20 -0
  177. package/dist/components/popover/anatomy/close-trigger.js.map +1 -0
  178. package/dist/components/popover/anatomy/content.d.ts +11 -0
  179. package/dist/components/popover/anatomy/content.d.ts.map +1 -0
  180. package/dist/components/popover/anatomy/content.js +20 -0
  181. package/dist/components/popover/anatomy/content.js.map +1 -0
  182. package/dist/components/popover/anatomy/description.d.ts +11 -0
  183. package/dist/components/popover/anatomy/description.d.ts.map +1 -0
  184. package/dist/components/popover/anatomy/description.js +20 -0
  185. package/dist/components/popover/anatomy/description.js.map +1 -0
  186. package/dist/components/popover/anatomy/positioner.d.ts +10 -0
  187. package/dist/components/popover/anatomy/positioner.d.ts.map +1 -0
  188. package/dist/components/popover/anatomy/positioner.js +21 -0
  189. package/dist/components/popover/anatomy/positioner.js.map +1 -0
  190. package/dist/components/popover/anatomy/root-context.d.ts +11 -0
  191. package/dist/components/popover/anatomy/root-context.d.ts.map +1 -0
  192. package/dist/components/popover/anatomy/root-context.js +13 -0
  193. package/dist/components/popover/anatomy/root-context.js.map +1 -0
  194. package/dist/components/popover/anatomy/root-provider.d.ts +12 -0
  195. package/dist/components/popover/anatomy/root-provider.d.ts.map +1 -0
  196. package/dist/components/popover/anatomy/root-provider.js +15 -0
  197. package/dist/components/popover/anatomy/root-provider.js.map +1 -0
  198. package/dist/components/popover/anatomy/root.d.ts +10 -0
  199. package/dist/components/popover/anatomy/root.d.ts.map +1 -0
  200. package/dist/components/popover/anatomy/root.js +20 -0
  201. package/dist/components/popover/anatomy/root.js.map +1 -0
  202. package/dist/components/popover/anatomy/title.d.ts +11 -0
  203. package/dist/components/popover/anatomy/title.d.ts.map +1 -0
  204. package/dist/components/popover/anatomy/title.js +20 -0
  205. package/dist/components/popover/anatomy/title.js.map +1 -0
  206. package/dist/components/popover/anatomy/trigger.d.ts +12 -0
  207. package/dist/components/popover/anatomy/trigger.d.ts.map +1 -0
  208. package/dist/components/popover/anatomy/trigger.js +20 -0
  209. package/dist/components/popover/anatomy/trigger.js.map +1 -0
  210. package/dist/components/popover/index.js +4 -0
  211. package/dist/components/popover/modules/anatomy.d.ts +28 -0
  212. package/dist/components/popover/modules/anatomy.d.ts.map +1 -0
  213. package/dist/components/popover/modules/anatomy.js +29 -0
  214. package/dist/components/popover/modules/anatomy.js.map +1 -0
  215. package/dist/components/popover/modules/root-context.js +8 -0
  216. package/dist/components/popover/modules/root-context.js.map +1 -0
  217. package/dist/components/popover/modules/use-popover.d.ts +8 -0
  218. package/dist/components/popover/modules/use-popover.d.ts.map +1 -0
  219. package/dist/components/popover/modules/use-popover.js +16 -0
  220. package/dist/components/popover/modules/use-popover.js.map +1 -0
  221. package/dist/components/progress-linear/anatomy/label.d.ts +4 -4
  222. package/dist/components/progress-linear/anatomy/label.d.ts.map +1 -1
  223. package/dist/components/progress-linear/anatomy/label.js +4 -4
  224. package/dist/components/progress-linear/anatomy/label.js.map +1 -1
  225. package/dist/components/progress-linear/anatomy/range.d.ts +4 -4
  226. package/dist/components/progress-linear/anatomy/range.d.ts.map +1 -1
  227. package/dist/components/progress-linear/anatomy/range.js +4 -4
  228. package/dist/components/progress-linear/anatomy/range.js.map +1 -1
  229. package/dist/components/progress-linear/anatomy/root-context.d.ts +2 -2
  230. package/dist/components/progress-linear/anatomy/root-context.d.ts.map +1 -1
  231. package/dist/components/progress-linear/anatomy/root-context.js +2 -2
  232. package/dist/components/progress-linear/anatomy/root-context.js.map +1 -1
  233. package/dist/components/progress-linear/anatomy/root-provider.d.ts +3 -3
  234. package/dist/components/progress-linear/anatomy/root-provider.d.ts.map +1 -1
  235. package/dist/components/progress-linear/anatomy/root-provider.js +3 -3
  236. package/dist/components/progress-linear/anatomy/root-provider.js.map +1 -1
  237. package/dist/components/progress-linear/anatomy/root.d.ts +3 -3
  238. package/dist/components/progress-linear/anatomy/root.d.ts.map +1 -1
  239. package/dist/components/progress-linear/anatomy/root.js +3 -3
  240. package/dist/components/progress-linear/anatomy/root.js.map +1 -1
  241. package/dist/components/progress-linear/anatomy/track.d.ts +4 -4
  242. package/dist/components/progress-linear/anatomy/track.d.ts.map +1 -1
  243. package/dist/components/progress-linear/anatomy/track.js +4 -4
  244. package/dist/components/progress-linear/anatomy/track.js.map +1 -1
  245. package/dist/components/progress-linear/modules/anatomy.d.ts +12 -12
  246. package/dist/components/progress-linear/modules/anatomy.d.ts.map +1 -1
  247. package/dist/components/progress-linear/modules/anatomy.js +12 -12
  248. package/dist/components/progress-linear/modules/anatomy.js.map +1 -1
  249. package/dist/components/progress-linear/modules/root-context.js.map +1 -1
  250. package/dist/components/progress-linear/modules/use-progress-linear.d.ts +2 -1
  251. package/dist/components/progress-linear/modules/use-progress-linear.d.ts.map +1 -1
  252. package/dist/components/progress-linear/modules/use-progress-linear.js +2 -2
  253. package/dist/components/progress-linear/modules/use-progress-linear.js.map +1 -1
  254. package/dist/components/rating-group/anatomy/control.d.ts +4 -4
  255. package/dist/components/rating-group/anatomy/control.d.ts.map +1 -1
  256. package/dist/components/rating-group/anatomy/control.js +4 -4
  257. package/dist/components/rating-group/anatomy/control.js.map +1 -1
  258. package/dist/components/rating-group/anatomy/hidden-input.d.ts +4 -4
  259. package/dist/components/rating-group/anatomy/hidden-input.d.ts.map +1 -1
  260. package/dist/components/rating-group/anatomy/hidden-input.js +4 -4
  261. package/dist/components/rating-group/anatomy/hidden-input.js.map +1 -1
  262. package/dist/components/rating-group/anatomy/item.d.ts +4 -4
  263. package/dist/components/rating-group/anatomy/item.d.ts.map +1 -1
  264. package/dist/components/rating-group/anatomy/item.js +4 -4
  265. package/dist/components/rating-group/anatomy/item.js.map +1 -1
  266. package/dist/components/rating-group/anatomy/label.d.ts +4 -4
  267. package/dist/components/rating-group/anatomy/label.d.ts.map +1 -1
  268. package/dist/components/rating-group/anatomy/label.js +4 -4
  269. package/dist/components/rating-group/anatomy/label.js.map +1 -1
  270. package/dist/components/rating-group/anatomy/root-context.d.ts +2 -2
  271. package/dist/components/rating-group/anatomy/root-context.d.ts.map +1 -1
  272. package/dist/components/rating-group/anatomy/root-context.js +2 -2
  273. package/dist/components/rating-group/anatomy/root-context.js.map +1 -1
  274. package/dist/components/rating-group/anatomy/root-provider.d.ts +3 -3
  275. package/dist/components/rating-group/anatomy/root-provider.d.ts.map +1 -1
  276. package/dist/components/rating-group/anatomy/root-provider.js +3 -3
  277. package/dist/components/rating-group/anatomy/root-provider.js.map +1 -1
  278. package/dist/components/rating-group/anatomy/root.d.ts +3 -3
  279. package/dist/components/rating-group/anatomy/root.d.ts.map +1 -1
  280. package/dist/components/rating-group/anatomy/root.js +3 -3
  281. package/dist/components/rating-group/anatomy/root.js.map +1 -1
  282. package/dist/components/rating-group/modules/anatomy.d.ts +14 -14
  283. package/dist/components/rating-group/modules/anatomy.d.ts.map +1 -1
  284. package/dist/components/rating-group/modules/anatomy.js +14 -14
  285. package/dist/components/rating-group/modules/anatomy.js.map +1 -1
  286. package/dist/components/rating-group/modules/root-context.js.map +1 -1
  287. package/dist/components/rating-group/modules/use-rating-group.d.ts +2 -1
  288. package/dist/components/rating-group/modules/use-rating-group.d.ts.map +1 -1
  289. package/dist/components/rating-group/modules/use-rating-group.js +2 -2
  290. package/dist/components/rating-group/modules/use-rating-group.js.map +1 -1
  291. package/dist/components/switch/anatomy/control.d.ts +4 -4
  292. package/dist/components/switch/anatomy/control.d.ts.map +1 -1
  293. package/dist/components/switch/anatomy/control.js +4 -4
  294. package/dist/components/switch/anatomy/control.js.map +1 -1
  295. package/dist/components/switch/anatomy/hidden-input.d.ts +4 -4
  296. package/dist/components/switch/anatomy/hidden-input.d.ts.map +1 -1
  297. package/dist/components/switch/anatomy/hidden-input.js +4 -4
  298. package/dist/components/switch/anatomy/hidden-input.js.map +1 -1
  299. package/dist/components/switch/anatomy/label.d.ts +4 -4
  300. package/dist/components/switch/anatomy/label.d.ts.map +1 -1
  301. package/dist/components/switch/anatomy/label.js +4 -4
  302. package/dist/components/switch/anatomy/label.js.map +1 -1
  303. package/dist/components/switch/anatomy/root-context.d.ts +2 -2
  304. package/dist/components/switch/anatomy/root-context.d.ts.map +1 -1
  305. package/dist/components/switch/anatomy/root-context.js +2 -2
  306. package/dist/components/switch/anatomy/root-context.js.map +1 -1
  307. package/dist/components/switch/anatomy/root-provider.d.ts +3 -2
  308. package/dist/components/switch/anatomy/root-provider.d.ts.map +1 -1
  309. package/dist/components/switch/anatomy/root-provider.js +21 -0
  310. package/dist/components/switch/anatomy/root-provider.js.map +1 -0
  311. package/dist/components/switch/anatomy/root.d.ts +3 -3
  312. package/dist/components/switch/anatomy/root.d.ts.map +1 -1
  313. package/dist/components/switch/anatomy/root.js +3 -3
  314. package/dist/components/switch/anatomy/root.js.map +1 -1
  315. package/dist/components/switch/anatomy/thumb.d.ts +4 -4
  316. package/dist/components/switch/anatomy/thumb.d.ts.map +1 -1
  317. package/dist/components/switch/anatomy/thumb.js +4 -4
  318. package/dist/components/switch/anatomy/thumb.js.map +1 -1
  319. package/dist/components/switch/modules/anatomy.d.ts +14 -12
  320. package/dist/components/switch/modules/anatomy.d.ts.map +1 -1
  321. package/dist/components/switch/modules/anatomy.js +14 -12
  322. package/dist/components/switch/modules/anatomy.js.map +1 -1
  323. package/dist/components/switch/modules/root-context.js.map +1 -1
  324. package/dist/components/switch/modules/use-switch.d.ts +2 -1
  325. package/dist/components/switch/modules/use-switch.d.ts.map +1 -1
  326. package/dist/components/switch/modules/use-switch.js +2 -2
  327. package/dist/components/switch/modules/use-switch.js.map +1 -1
  328. package/dist/components/tabs/anatomy/content.d.ts +4 -4
  329. package/dist/components/tabs/anatomy/content.d.ts.map +1 -1
  330. package/dist/components/tabs/anatomy/content.js +4 -4
  331. package/dist/components/tabs/anatomy/content.js.map +1 -1
  332. package/dist/components/tabs/anatomy/indicator.d.ts +4 -4
  333. package/dist/components/tabs/anatomy/indicator.d.ts.map +1 -1
  334. package/dist/components/tabs/anatomy/indicator.js +4 -4
  335. package/dist/components/tabs/anatomy/indicator.js.map +1 -1
  336. package/dist/components/tabs/anatomy/list.d.ts +4 -4
  337. package/dist/components/tabs/anatomy/list.d.ts.map +1 -1
  338. package/dist/components/tabs/anatomy/list.js +4 -4
  339. package/dist/components/tabs/anatomy/list.js.map +1 -1
  340. package/dist/components/tabs/anatomy/root-context.js.map +1 -1
  341. package/dist/components/tabs/anatomy/root-provider.d.ts +3 -3
  342. package/dist/components/tabs/anatomy/root-provider.d.ts.map +1 -1
  343. package/dist/components/tabs/anatomy/root-provider.js +3 -3
  344. package/dist/components/tabs/anatomy/root-provider.js.map +1 -1
  345. package/dist/components/tabs/anatomy/root.d.ts +3 -3
  346. package/dist/components/tabs/anatomy/root.d.ts.map +1 -1
  347. package/dist/components/tabs/anatomy/root.js +3 -3
  348. package/dist/components/tabs/anatomy/root.js.map +1 -1
  349. package/dist/components/tabs/anatomy/trigger.d.ts +4 -4
  350. package/dist/components/tabs/anatomy/trigger.d.ts.map +1 -1
  351. package/dist/components/tabs/anatomy/trigger.js +4 -4
  352. package/dist/components/tabs/anatomy/trigger.js.map +1 -1
  353. package/dist/components/tabs/modules/anatomy.d.ts +12 -12
  354. package/dist/components/tabs/modules/anatomy.d.ts.map +1 -1
  355. package/dist/components/tabs/modules/anatomy.js +12 -12
  356. package/dist/components/tabs/modules/anatomy.js.map +1 -1
  357. package/dist/components/tabs/modules/root-context.js.map +1 -1
  358. package/dist/components/tabs/modules/use-tabs.d.ts +2 -1
  359. package/dist/components/tabs/modules/use-tabs.d.ts.map +1 -1
  360. package/dist/components/tabs/modules/use-tabs.js +2 -2
  361. package/dist/components/tabs/modules/use-tabs.js.map +1 -1
  362. package/dist/components/tags-input/anatomy/clear-trigger.d.ts +11 -0
  363. package/dist/components/tags-input/anatomy/clear-trigger.d.ts.map +1 -0
  364. package/dist/components/tags-input/anatomy/clear-trigger.js +20 -0
  365. package/dist/components/tags-input/anatomy/clear-trigger.js.map +1 -0
  366. package/dist/components/tags-input/anatomy/control.d.ts +11 -0
  367. package/dist/components/tags-input/anatomy/control.d.ts.map +1 -0
  368. package/dist/components/tags-input/anatomy/control.js +20 -0
  369. package/dist/components/tags-input/anatomy/control.js.map +1 -0
  370. package/dist/components/tags-input/anatomy/hidden-input.d.ts +11 -0
  371. package/dist/components/tags-input/anatomy/hidden-input.d.ts.map +1 -0
  372. package/dist/components/tags-input/anatomy/hidden-input.js +17 -0
  373. package/dist/components/tags-input/anatomy/hidden-input.js.map +1 -0
  374. package/dist/components/tags-input/anatomy/input.d.ts +11 -0
  375. package/dist/components/tags-input/anatomy/input.d.ts.map +1 -0
  376. package/dist/components/tags-input/anatomy/input.js +17 -0
  377. package/dist/components/tags-input/anatomy/input.js.map +1 -0
  378. package/dist/components/tags-input/anatomy/item-delete-trigger.d.ts +11 -0
  379. package/dist/components/tags-input/anatomy/item-delete-trigger.d.ts.map +1 -0
  380. package/dist/components/tags-input/anatomy/item-delete-trigger.js +22 -0
  381. package/dist/components/tags-input/anatomy/item-delete-trigger.js.map +1 -0
  382. package/dist/components/tags-input/anatomy/item-input.d.ts +11 -0
  383. package/dist/components/tags-input/anatomy/item-input.d.ts.map +1 -0
  384. package/dist/components/tags-input/anatomy/item-input.js +19 -0
  385. package/dist/components/tags-input/anatomy/item-input.js.map +1 -0
  386. package/dist/components/tags-input/anatomy/item-preview.d.ts +11 -0
  387. package/dist/components/tags-input/anatomy/item-preview.d.ts.map +1 -0
  388. package/dist/components/tags-input/anatomy/item-preview.js +22 -0
  389. package/dist/components/tags-input/anatomy/item-preview.js.map +1 -0
  390. package/dist/components/tags-input/anatomy/item-text.d.ts +11 -0
  391. package/dist/components/tags-input/anatomy/item-text.d.ts.map +1 -0
  392. package/dist/components/tags-input/anatomy/item-text.js +22 -0
  393. package/dist/components/tags-input/anatomy/item-text.js.map +1 -0
  394. package/dist/components/tags-input/anatomy/item.d.ts +11 -0
  395. package/dist/components/tags-input/anatomy/item.d.ts.map +1 -0
  396. package/dist/components/tags-input/anatomy/item.js +26 -0
  397. package/dist/components/tags-input/anatomy/item.js.map +1 -0
  398. package/dist/components/tags-input/anatomy/label.d.ts +11 -0
  399. package/dist/components/tags-input/anatomy/label.d.ts.map +1 -0
  400. package/dist/components/tags-input/anatomy/label.js +20 -0
  401. package/dist/components/tags-input/anatomy/label.js.map +1 -0
  402. package/dist/components/tags-input/anatomy/root-context.d.ts +11 -0
  403. package/dist/components/tags-input/anatomy/root-context.d.ts.map +1 -0
  404. package/dist/components/tags-input/anatomy/root-context.js +13 -0
  405. package/dist/components/tags-input/anatomy/root-context.js.map +1 -0
  406. package/dist/components/tags-input/anatomy/root-provider.d.ts +13 -0
  407. package/dist/components/tags-input/anatomy/root-provider.d.ts.map +1 -0
  408. package/dist/components/tags-input/anatomy/root-provider.js +21 -0
  409. package/dist/components/tags-input/anatomy/root-provider.js.map +1 -0
  410. package/dist/components/tags-input/anatomy/root.d.ts +11 -0
  411. package/dist/components/tags-input/anatomy/root.d.ts.map +1 -0
  412. package/dist/components/tags-input/anatomy/root.js +25 -0
  413. package/dist/components/tags-input/anatomy/root.js.map +1 -0
  414. package/dist/components/tags-input/index.js +4 -0
  415. package/dist/components/tags-input/modules/anatomy.d.ts +32 -0
  416. package/dist/components/tags-input/modules/anatomy.d.ts.map +1 -0
  417. package/dist/components/tags-input/modules/anatomy.js +33 -0
  418. package/dist/components/tags-input/modules/anatomy.js.map +1 -0
  419. package/dist/components/tags-input/modules/item-context.js +8 -0
  420. package/dist/components/tags-input/modules/item-context.js.map +1 -0
  421. package/dist/components/tags-input/modules/root-context.js +8 -0
  422. package/dist/components/tags-input/modules/root-context.js.map +1 -0
  423. package/dist/components/tags-input/modules/use-tags-input.d.ts +8 -0
  424. package/dist/components/tags-input/modules/use-tags-input.d.ts.map +1 -0
  425. package/dist/components/tags-input/modules/use-tags-input.js +16 -0
  426. package/dist/components/tags-input/modules/use-tags-input.js.map +1 -0
  427. package/dist/components/toast/anatomy/action-trigger.d.ts +4 -4
  428. package/dist/components/toast/anatomy/action-trigger.d.ts.map +1 -1
  429. package/dist/components/toast/anatomy/action-trigger.js +4 -4
  430. package/dist/components/toast/anatomy/action-trigger.js.map +1 -1
  431. package/dist/components/toast/anatomy/close-trigger.d.ts +4 -4
  432. package/dist/components/toast/anatomy/close-trigger.d.ts.map +1 -1
  433. package/dist/components/toast/anatomy/close-trigger.js +4 -4
  434. package/dist/components/toast/anatomy/close-trigger.js.map +1 -1
  435. package/dist/components/toast/anatomy/description.d.ts +4 -4
  436. package/dist/components/toast/anatomy/description.d.ts.map +1 -1
  437. package/dist/components/toast/anatomy/description.js +4 -4
  438. package/dist/components/toast/anatomy/description.js.map +1 -1
  439. package/dist/components/toast/anatomy/group.d.ts +3 -3
  440. package/dist/components/toast/anatomy/group.d.ts.map +1 -1
  441. package/dist/components/toast/anatomy/group.js +4 -4
  442. package/dist/components/toast/anatomy/group.js.map +1 -1
  443. package/dist/components/toast/anatomy/message.d.ts +4 -4
  444. package/dist/components/toast/anatomy/message.d.ts.map +1 -1
  445. package/dist/components/toast/anatomy/message.js +3 -3
  446. package/dist/components/toast/anatomy/message.js.map +1 -1
  447. package/dist/components/toast/anatomy/root-context.d.ts +4 -3
  448. package/dist/components/toast/anatomy/root-context.d.ts.map +1 -1
  449. package/dist/components/toast/anatomy/root-context.js +2 -2
  450. package/dist/components/toast/anatomy/root-context.js.map +1 -1
  451. package/dist/components/toast/anatomy/root.d.ts +2 -2
  452. package/dist/components/toast/anatomy/root.d.ts.map +1 -1
  453. package/dist/components/toast/anatomy/root.js +4 -4
  454. package/dist/components/toast/anatomy/root.js.map +1 -1
  455. package/dist/components/toast/anatomy/title.d.ts +4 -4
  456. package/dist/components/toast/anatomy/title.d.ts.map +1 -1
  457. package/dist/components/toast/anatomy/title.js +4 -4
  458. package/dist/components/toast/anatomy/title.js.map +1 -1
  459. package/dist/components/toast/modules/anatomy.d.ts +14 -14
  460. package/dist/components/toast/modules/anatomy.d.ts.map +1 -1
  461. package/dist/components/toast/modules/anatomy.js +14 -14
  462. package/dist/components/toast/modules/anatomy.js.map +1 -1
  463. package/dist/components/toast/modules/group-context.js.map +1 -1
  464. package/dist/components/toast/modules/root-context.js.map +1 -1
  465. package/dist/components/tooltip/anatomy/arrow-tip.d.ts +11 -0
  466. package/dist/components/tooltip/anatomy/arrow-tip.d.ts.map +1 -0
  467. package/dist/components/tooltip/anatomy/arrow-tip.js +20 -0
  468. package/dist/components/tooltip/anatomy/arrow-tip.js.map +1 -0
  469. package/dist/components/tooltip/anatomy/arrow.d.ts +11 -0
  470. package/dist/components/tooltip/anatomy/arrow.d.ts.map +1 -0
  471. package/dist/components/tooltip/anatomy/arrow.js +20 -0
  472. package/dist/components/tooltip/anatomy/arrow.js.map +1 -0
  473. package/dist/components/tooltip/anatomy/content.d.ts +11 -0
  474. package/dist/components/tooltip/anatomy/content.d.ts.map +1 -0
  475. package/dist/components/tooltip/anatomy/content.js +20 -0
  476. package/dist/components/tooltip/anatomy/content.js.map +1 -0
  477. package/dist/components/tooltip/anatomy/positioner.d.ts +10 -0
  478. package/dist/components/tooltip/anatomy/positioner.d.ts.map +1 -0
  479. package/dist/components/tooltip/anatomy/positioner.js +20 -0
  480. package/dist/components/tooltip/anatomy/positioner.js.map +1 -0
  481. package/dist/components/tooltip/anatomy/root-context.d.ts +11 -0
  482. package/dist/components/tooltip/anatomy/root-context.d.ts.map +1 -0
  483. package/dist/components/tooltip/anatomy/root-context.js +13 -0
  484. package/dist/components/tooltip/anatomy/root-context.js.map +1 -0
  485. package/dist/components/tooltip/anatomy/root-provider.d.ts +12 -0
  486. package/dist/components/tooltip/anatomy/root-provider.d.ts.map +1 -0
  487. package/dist/components/tooltip/anatomy/root-provider.js +15 -0
  488. package/dist/components/tooltip/anatomy/root-provider.js.map +1 -0
  489. package/dist/components/tooltip/anatomy/root.d.ts +10 -0
  490. package/dist/components/tooltip/anatomy/root.d.ts.map +1 -0
  491. package/dist/components/tooltip/anatomy/root.js +19 -0
  492. package/dist/components/tooltip/anatomy/root.js.map +1 -0
  493. package/dist/components/tooltip/anatomy/trigger.d.ts +11 -0
  494. package/dist/components/tooltip/anatomy/trigger.d.ts.map +1 -0
  495. package/dist/components/tooltip/anatomy/trigger.js +20 -0
  496. package/dist/components/tooltip/anatomy/trigger.js.map +1 -0
  497. package/dist/components/tooltip/index.js +4 -0
  498. package/dist/components/tooltip/modules/anatomy.d.ts +22 -0
  499. package/dist/components/tooltip/modules/anatomy.d.ts.map +1 -0
  500. package/dist/components/tooltip/modules/anatomy.js +23 -0
  501. package/dist/components/tooltip/modules/anatomy.js.map +1 -0
  502. package/dist/components/tooltip/modules/root-context.js +8 -0
  503. package/dist/components/tooltip/modules/root-context.js.map +1 -0
  504. package/dist/components/tooltip/modules/use-tooltip.d.ts +8 -0
  505. package/dist/components/tooltip/modules/use-tooltip.d.ts.map +1 -0
  506. package/dist/components/tooltip/modules/use-tooltip.js +16 -0
  507. package/dist/components/tooltip/modules/use-tooltip.js.map +1 -0
  508. package/dist/index.d.ts +53 -5
  509. package/dist/index.js +13 -1
  510. package/dist/internal/components/x.js +8 -3
  511. package/dist/internal/components/x.js.map +1 -1
  512. package/dist/internal/create-context.js +1 -1
  513. package/dist/internal/create-context.js.map +1 -1
  514. package/dist/internal/props-with-element.d.ts.map +1 -1
  515. package/package.json +30 -25
  516. package/dist/components/accordion/anatomy/content.d.ts +0 -12
  517. package/dist/components/accordion/anatomy/content.d.ts.map +0 -1
  518. package/dist/components/accordion/anatomy/content.js.map +0 -1
  519. package/dist/components/accordion/anatomy/heading.d.ts +0 -19
  520. package/dist/components/accordion/anatomy/heading.d.ts.map +0 -1
  521. package/dist/components/accordion/anatomy/heading.js.map +0 -1
  522. package/dist/components/accordion/anatomy/indicator.d.ts +0 -12
  523. package/dist/components/accordion/anatomy/indicator.d.ts.map +0 -1
  524. package/dist/components/accordion/anatomy/indicator.js.map +0 -1
  525. package/dist/components/accordion/anatomy/trigger.d.ts +0 -12
  526. package/dist/components/accordion/anatomy/trigger.d.ts.map +0 -1
  527. package/dist/components/accordion/anatomy/trigger.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"close-trigger.js","names":[],"sources":["../../../../src/components/toast/anatomy/close-trigger.tsx"],"sourcesContent":["import { classesToast } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nimport X from '@/internal/components/x';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\n\nimport { ToastRootContext } from '../modules/root-context.js';\n\nexport interface ToastCloseTriggerProps extends PropsWithElement<'button'>, HTMLAttributes<'button'> {}\n\nexport default function ToastCloseTrigger(props: ToastCloseTriggerProps) {\n\tconst toast = use(ToastRootContext);\n\n\tconst { element, children = <X />, ...rest } = props;\n\n\tconst attributes = mergeProps(toast.getCloseTriggerProps(), rest, {\n\t\tclassName: classesToast.closeTrigger,\n\t});\n\n\treturn element ? element(attributes) : <button {...attributes}>{children}</button>;\n}\n"],"mappings":";;;;;;;;AAYA,SAAwB,kBAAkB,OAA+B;CACxE,MAAM,QAAQ,IAAI,iBAAiB;CAEnC,MAAM,EAAE,SAAS,WAAW,oBAAC,MAAI,CAAE,GAAG,SAAS;CAE/C,MAAM,aAAa,WAAW,MAAM,sBAAsB,EAAE,MAAM,EACjE,WAAW,aAAa,cACxB,CAAC;AAEF,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC;EAAO,GAAI;EAAa;GAAkB"}
1
+ {"version":3,"file":"close-trigger.js","names":[],"sources":["../../../../src/components/toast/anatomy/close-trigger.tsx"],"sourcesContent":["import { ToastRootContext } from '../modules/root-context.js';\nimport X from '@/internal/components/x';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesToast } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface ToastCloseTriggerProps extends PropsWithElement<'button'>, HTMLAttributes<'button'> {}\n\nexport default function CloseTrigger(props: ToastCloseTriggerProps) {\n\tconst toast = use(ToastRootContext);\n\n\tconst { element, children = <X />, ...rest } = props;\n\n\tconst attributes = mergeProps(toast.getCloseTriggerProps(), rest, {\n\t\tclassName: classesToast.closeTrigger,\n\t});\n\n\treturn element ? element(attributes) : <button {...attributes}>{children}</button>;\n}\n"],"mappings":";;;;;;;;AAUA,SAAwB,aAAa,OAA+B;CACnE,MAAM,QAAQ,IAAI,iBAAiB;CAEnC,MAAM,EAAE,SAAS,WAAW,oBAAC,MAAI,CAAE,GAAG,SAAS;CAE/C,MAAM,aAAa,WAAW,MAAM,sBAAsB,EAAE,MAAM,EACjE,WAAW,aAAa,cACxB,CAAC;AAEF,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 react142 from "react";
4
- import * as react_jsx_runtime43 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/toast/anatomy/description.d.ts
7
7
  interface ToastDescriptionProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
8
- declare function ToastDescription(props: ToastDescriptionProps): string | number | bigint | boolean | Iterable<react142.ReactNode> | Promise<string | number | bigint | boolean | react142.ReactPortal | react142.ReactElement<unknown, string | react142.JSXElementConstructor<any>> | Iterable<react142.ReactNode> | null | undefined> | react_jsx_runtime43.JSX.Element | null | undefined;
8
+ declare function Description(props: ToastDescriptionProps): 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
- export { ToastDescription, ToastDescriptionProps };
10
+ export { Description, ToastDescriptionProps };
11
11
  //# sourceMappingURL=description.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"description.d.ts","names":[],"sources":["../../../../src/components/toast/anatomy/description.tsx"],"sourcesContent":[],"mappings":";;;;;;UASiB,qBAAA,SAA8B,yBAAyB;iBAEhD,gBAAA,QAAwB,6DAAqB,SAAA,QAAA,CAAA,SAAA,IAAA,6CAAA,QAAA,CAAA,WAAA,GAAA,QAAA,CAAA,+BAAA,QAAA,CAAA,8BAAA,SAAA,QAAA,CAAA,SAAA,wBAAA,mBAAA,CAAA,GAAA,CAAA,OAAA"}
1
+ {"version":3,"file":"description.d.ts","names":[],"sources":["../../../../src/components/toast/anatomy/description.tsx"],"sourcesContent":[],"mappings":";;;;;;UAOiB,qBAAA,SAA8B,yBAAyB;iBAEhD,WAAA,QAAmB,6DAAqB,SAAA,QAAA,CAAA,SAAA,IAAA,6CAAA,QAAA,CAAA,WAAA,GAAA,QAAA,CAAA,+BAAA,QAAA,CAAA,8BAAA,SAAA,QAAA,CAAA,SAAA,wBAAA,mBAAA,CAAA,GAAA,CAAA,OAAA"}
@@ -1,11 +1,11 @@
1
1
  import { ToastRootContext } from "../modules/root-context.js";
2
- import { classesToast } from "@skeletonlabs/skeleton-common";
3
- import { mergeProps } from "@zag-js/react";
4
2
  import { use } from "react";
3
+ import { mergeProps } from "@zag-js/react";
4
+ import { classesToast } from "@skeletonlabs/skeleton-common";
5
5
  import { jsx } from "react/jsx-runtime";
6
6
 
7
7
  //#region src/components/toast/anatomy/description.tsx
8
- function ToastDescription(props) {
8
+ function Description(props) {
9
9
  const toast = use(ToastRootContext);
10
10
  const { element, children,...rest } = props;
11
11
  const attributes = mergeProps(toast.getDescriptionProps(), rest, { className: classesToast.description });
@@ -16,5 +16,5 @@ function ToastDescription(props) {
16
16
  }
17
17
 
18
18
  //#endregion
19
- export { ToastDescription as default };
19
+ export { Description as default };
20
20
  //# sourceMappingURL=description.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"description.js","names":[],"sources":["../../../../src/components/toast/anatomy/description.tsx"],"sourcesContent":["import { classesToast } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\n\nimport { ToastRootContext } from '../modules/root-context';\n\nexport interface ToastDescriptionProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}\n\nexport default function ToastDescription(props: ToastDescriptionProps) {\n\tconst toast = use(ToastRootContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(toast.getDescriptionProps(), rest, {\n\t\tclassName: classesToast.description,\n\t});\n\n\treturn element ? element(attributes) : <div {...attributes}>{children}</div>;\n}\n"],"mappings":";;;;;;;AAWA,SAAwB,iBAAiB,OAA8B;CACtE,MAAM,QAAQ,IAAI,iBAAiB;CAEnC,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,aAAa,WAAW,MAAM,qBAAqB,EAAE,MAAM,EAChE,WAAW,aAAa,aACxB,CAAC;AAEF,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC;EAAI,GAAI;EAAa;GAAe"}
1
+ {"version":3,"file":"description.js","names":[],"sources":["../../../../src/components/toast/anatomy/description.tsx"],"sourcesContent":["import { ToastRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesToast } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface ToastDescriptionProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}\n\nexport default function Description(props: ToastDescriptionProps) {\n\tconst toast = use(ToastRootContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(toast.getDescriptionProps(), rest, {\n\t\tclassName: classesToast.description,\n\t});\n\n\treturn element ? element(attributes) : <div {...attributes}>{children}</div>;\n}\n"],"mappings":";;;;;;;AASA,SAAwB,YAAY,OAA8B;CACjE,MAAM,QAAQ,IAAI,iBAAiB;CAEnC,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,aAAa,WAAW,MAAM,qBAAqB,EAAE,MAAM,EAChE,WAAW,aAAa,aACxB,CAAC;AAEF,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC;EAAI,GAAI;EAAa;GAAe"}
@@ -1,7 +1,7 @@
1
1
  import { HTMLAttributes } from "../../../internal/html-attributes.js";
2
2
  import { PropsWithElement } from "../../../internal/props-with-element.js";
3
3
  import { JSX } from "react";
4
- import * as react_jsx_runtime44 from "react/jsx-runtime";
4
+ import * as react_jsx_runtime73 from "react/jsx-runtime";
5
5
  import { Props, Store } from "@zag-js/toast";
6
6
 
7
7
  //#region src/components/toast/anatomy/group.d.ts
@@ -9,7 +9,7 @@ interface ToastGroupProps extends PropsWithElement<'div'>, HTMLAttributes<'div',
9
9
  toaster: Store;
10
10
  children?: (toast: Props) => JSX.Element | null;
11
11
  }
12
- declare function ToastGroup(props: ToastGroupProps): react_jsx_runtime44.JSX.Element;
12
+ declare function Group(props: ToastGroupProps): react_jsx_runtime73.JSX.Element;
13
13
  //#endregion
14
- export { ToastGroup, ToastGroupProps };
14
+ export { Group, ToastGroupProps };
15
15
  //# sourceMappingURL=group.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"group.d.ts","names":[],"sources":["../../../../src/components/toast/anatomy/group.tsx"],"sourcesContent":[],"mappings":";;;;;;;UAWiB,eAAA,SAAwB,yBAAyB;WACxD;qBACU,UAAU,GAAA,CAAI;AAFlC;AAAiC,iBAKT,UAAA,CALS,KAAA,EAKS,eALT,CAAA,EAKwB,mBAAA,CAAA,GAAA,CAAA,OALxB"}
1
+ {"version":3,"file":"group.d.ts","names":[],"sources":["../../../../src/components/toast/anatomy/group.tsx"],"sourcesContent":[],"mappings":";;;;;;;UAUiB,eAAA,SAAwB,yBAAyB;WACxD;qBACU,UAAU,GAAA,CAAI;AAFlC;AAAiC,iBAKT,KAAA,CALS,KAAA,EAKI,eALJ,CAAA,EAKmB,mBAAA,CAAA,GAAA,CAAA,OALnB"}
@@ -1,12 +1,12 @@
1
1
  import { ToastGroupContext } from "../modules/group-context.js";
2
- import { classesToast } from "@skeletonlabs/skeleton-common";
3
- import { mergeProps, normalizeProps, useMachine } from "@zag-js/react";
4
2
  import { useId } from "react";
3
+ import { mergeProps, normalizeProps, useMachine } from "@zag-js/react";
4
+ import { classesToast } from "@skeletonlabs/skeleton-common";
5
5
  import { jsx } from "react/jsx-runtime";
6
6
  import { group } from "@zag-js/toast";
7
7
 
8
8
  //#region src/components/toast/anatomy/group.tsx
9
- function ToastGroup(props) {
9
+ function Group(props) {
10
10
  const { element, children, toaster,...rest } = props;
11
11
  const service = useMachine(group.machine, {
12
12
  id: useId(),
@@ -24,5 +24,5 @@ function ToastGroup(props) {
24
24
  }
25
25
 
26
26
  //#endregion
27
- export { ToastGroup as default };
27
+ export { Group as default };
28
28
  //# sourceMappingURL=group.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"group.js","names":[],"sources":["../../../../src/components/toast/anatomy/group.tsx"],"sourcesContent":["import { classesToast } from '@skeletonlabs/skeleton-common';\nimport { mergeProps, normalizeProps, useMachine } from '@zag-js/react';\nimport { group, type Props, type Store } from '@zag-js/toast';\nimport type { JSX } from 'react';\nimport { useId } from 'react';\n\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\n\nimport { ToastGroupContext } from '../modules/group-context';\n\nexport interface ToastGroupProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir' | 'children'> {\n\ttoaster: Store;\n\tchildren?: (toast: Props) => JSX.Element | null;\n}\n\nexport default function ToastGroup(props: ToastGroupProps) {\n\tconst { element, children, toaster, ...rest } = props;\n\n\tconst service = useMachine(group.machine, {\n\t\tid: useId(),\n\t\tstore: toaster,\n\t});\n\tconst api = group.connect(service, normalizeProps);\n\n\tconst attributes = mergeProps(api.getGroupProps(), rest, {\n\t\tclassName: classesToast.group,\n\t});\n\n\treturn (\n\t\t<ToastGroupContext.Provider value={service}>\n\t\t\t{element ? element(attributes) : <div {...attributes}>{api.getToasts().map((toast) => children?.(toast))}</div>}\n\t\t</ToastGroupContext.Provider>\n\t);\n}\n"],"mappings":";;;;;;;;AAgBA,SAAwB,WAAW,OAAwB;CAC1D,MAAM,EAAE,SAAS,UAAU,QAAS,GAAG,SAAS;CAEhD,MAAM,UAAU,WAAW,MAAM,SAAS;EACzC,IAAI,OAAO;EACX,OAAO;EACP,CAAC;CACF,MAAM,MAAM,MAAM,QAAQ,SAAS,eAAe;CAElD,MAAM,aAAa,WAAW,IAAI,eAAe,EAAE,MAAM,EACxD,WAAW,aAAa,OACxB,CAAC;AAEF,QACC,oBAAC,kBAAkB;EAAS,OAAO;YACjC,UAAU,QAAQ,WAAW,GAAG,oBAAC;GAAI,GAAI;aAAa,IAAI,WAAW,CAAC,KAAK,UAAU,WAAW,MAAM,CAAC;IAAO;GACnF"}
1
+ {"version":3,"file":"group.js","names":[],"sources":["../../../../src/components/toast/anatomy/group.tsx"],"sourcesContent":["import { ToastGroupContext } from '../modules/group-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesToast } from '@skeletonlabs/skeleton-common';\nimport { mergeProps, normalizeProps, useMachine } from '@zag-js/react';\nimport { group } from '@zag-js/toast';\nimport type { Props, Store } from '@zag-js/toast';\nimport type { JSX } from 'react';\nimport { useId } from 'react';\n\nexport interface ToastGroupProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir' | 'children'> {\n\ttoaster: Store;\n\tchildren?: (toast: Props) => JSX.Element | null;\n}\n\nexport default function Group(props: ToastGroupProps) {\n\tconst { element, children, toaster, ...rest } = props;\n\n\tconst service = useMachine(group.machine, {\n\t\tid: useId(),\n\t\tstore: toaster,\n\t});\n\tconst api = group.connect(service, normalizeProps);\n\n\tconst attributes = mergeProps(api.getGroupProps(), rest, {\n\t\tclassName: classesToast.group,\n\t});\n\n\treturn (\n\t\t<ToastGroupContext.Provider value={service}>\n\t\t\t{element ? element(attributes) : <div {...attributes}>{api.getToasts().map((toast) => children?.(toast))}</div>}\n\t\t</ToastGroupContext.Provider>\n\t);\n}\n"],"mappings":";;;;;;;;AAeA,SAAwB,MAAM,OAAwB;CACrD,MAAM,EAAE,SAAS,UAAU,QAAS,GAAG,SAAS;CAEhD,MAAM,UAAU,WAAW,MAAM,SAAS;EACzC,IAAI,OAAO;EACX,OAAO;EACP,CAAC;CACF,MAAM,MAAM,MAAM,QAAQ,SAAS,eAAe;CAElD,MAAM,aAAa,WAAW,IAAI,eAAe,EAAE,MAAM,EACxD,WAAW,aAAa,OACxB,CAAC;AAEF,QACC,oBAAC,kBAAkB;EAAS,OAAO;YACjC,UAAU,QAAQ,WAAW,GAAG,oBAAC;GAAI,GAAI;aAAa,IAAI,WAAW,CAAC,KAAK,UAAU,WAAW,MAAM,CAAC;IAAO;GACnF"}
@@ -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 react147 from "react";
4
- import * as react_jsx_runtime45 from "react/jsx-runtime";
3
+ import * as react252 from "react";
4
+ import * as react_jsx_runtime74 from "react/jsx-runtime";
5
5
 
6
6
  //#region src/components/toast/anatomy/message.d.ts
7
7
  interface ToastMessageProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
8
- declare function ToastMessage(props: ToastMessageProps): string | number | bigint | boolean | Iterable<react147.ReactNode> | Promise<string | number | bigint | boolean | react147.ReactPortal | react147.ReactElement<unknown, string | react147.JSXElementConstructor<any>> | Iterable<react147.ReactNode> | null | undefined> | react_jsx_runtime45.JSX.Element | null | undefined;
8
+ declare function Message(props: ToastMessageProps): 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_runtime74.JSX.Element | null | undefined;
9
9
  //#endregion
10
- export { ToastMessage, ToastMessageProps };
10
+ export { Message, ToastMessageProps };
11
11
  //# sourceMappingURL=message.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"message.d.ts","names":[],"sources":["../../../../src/components/toast/anatomy/message.tsx"],"sourcesContent":[],"mappings":";;;;;;UAMiB,iBAAA,SAA0B,yBAAyB;iBAE5C,YAAA,QAAoB,yDAAiB,SAAA,QAAA,CAAA,SAAA,IAAA,6CAAA,QAAA,CAAA,WAAA,GAAA,QAAA,CAAA,+BAAA,QAAA,CAAA,8BAAA,SAAA,QAAA,CAAA,SAAA,wBAAA,mBAAA,CAAA,GAAA,CAAA,OAAA"}
1
+ {"version":3,"file":"message.d.ts","names":[],"sources":["../../../../src/components/toast/anatomy/message.tsx"],"sourcesContent":[],"mappings":";;;;;;UAKiB,iBAAA,SAA0B,yBAAyB;iBAE5C,OAAA,QAAe,yDAAiB,SAAA,QAAA,CAAA,SAAA,IAAA,6CAAA,QAAA,CAAA,WAAA,GAAA,QAAA,CAAA,+BAAA,QAAA,CAAA,8BAAA,SAAA,QAAA,CAAA,SAAA,wBAAA,mBAAA,CAAA,GAAA,CAAA,OAAA"}
@@ -1,9 +1,9 @@
1
- import { classesToast } from "@skeletonlabs/skeleton-common";
2
1
  import { mergeProps } from "@zag-js/react";
2
+ import { classesToast } from "@skeletonlabs/skeleton-common";
3
3
  import { jsx } from "react/jsx-runtime";
4
4
 
5
5
  //#region src/components/toast/anatomy/message.tsx
6
- function ToastMessage(props) {
6
+ function Message(props) {
7
7
  const { element, children,...rest } = props;
8
8
  const attributes = mergeProps(rest, { className: classesToast.message });
9
9
  return element ? element(attributes) : /* @__PURE__ */ jsx("div", {
@@ -13,5 +13,5 @@ function ToastMessage(props) {
13
13
  }
14
14
 
15
15
  //#endregion
16
- export { ToastMessage as default };
16
+ export { Message as default };
17
17
  //# sourceMappingURL=message.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"message.js","names":[],"sources":["../../../../src/components/toast/anatomy/message.tsx"],"sourcesContent":["import { classesToast } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\n\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\n\nexport interface ToastMessageProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}\n\nexport default function ToastMessage(props: ToastMessageProps) {\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(rest, {\n\t\tclassName: classesToast.message,\n\t});\n\n\treturn element ? element(attributes) : <div {...attributes}>{children}</div>;\n}\n"],"mappings":";;;;;AAQA,SAAwB,aAAa,OAA0B;CAC9D,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,aAAa,WAAW,MAAM,EACnC,WAAW,aAAa,SACxB,CAAC;AAEF,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC;EAAI,GAAI;EAAa;GAAe"}
1
+ {"version":3,"file":"message.js","names":[],"sources":["../../../../src/components/toast/anatomy/message.tsx"],"sourcesContent":["import type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesToast } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\n\nexport interface ToastMessageProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}\n\nexport default function Message(props: ToastMessageProps) {\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(rest, {\n\t\tclassName: classesToast.message,\n\t});\n\n\treturn element ? element(attributes) : <div {...attributes}>{children}</div>;\n}\n"],"mappings":";;;;;AAOA,SAAwB,QAAQ,OAA0B;CACzD,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,aAAa,WAAW,MAAM,EACnC,WAAW,aAAa,SACxB,CAAC;AAEF,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC;EAAI,GAAI;EAAa;GAAe"}
@@ -1,11 +1,12 @@
1
1
  import { ReactNode } from "react";
2
+ import { PropTypes } from "@zag-js/react";
2
3
  import { Api } from "@zag-js/toast";
3
4
 
4
5
  //#region src/components/toast/anatomy/root-context.d.ts
5
6
  interface ToastRootContextProps {
6
- children: (toast: Api) => ReactNode;
7
+ children: (toast: Api<PropTypes>) => ReactNode;
7
8
  }
8
- declare function ToastRootContextComponent(props: ToastRootContextProps): ReactNode;
9
+ declare function RootContext(props: ToastRootContextProps): ReactNode;
9
10
  //#endregion
10
- export { ToastRootContextComponent, ToastRootContextProps };
11
+ export { RootContext, ToastRootContextProps };
11
12
  //# sourceMappingURL=root-context.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"root-context.d.ts","names":[],"sources":["../../../../src/components/toast/anatomy/root-context.tsx"],"sourcesContent":[],"mappings":";;;;UAKiB,qBAAA;oBACE,QAAQ;AAD3B;AAAsC,iBAId,yBAAA,CAJc,KAAA,EAImB,qBAJnB,CAAA,EAIwC,SAJxC"}
1
+ {"version":3,"file":"root-context.d.ts","names":[],"sources":["../../../../src/components/toast/anatomy/root-context.tsx"],"sourcesContent":[],"mappings":";;;;;UAMiB,qBAAA;oBACE,IAAI,eAAe;AADtC;AAAsC,iBAId,WAAA,CAJc,KAAA,EAIK,qBAJL,CAAA,EAI0B,SAJ1B"}
@@ -2,12 +2,12 @@ import { ToastRootContext } from "../modules/root-context.js";
2
2
  import { use } from "react";
3
3
 
4
4
  //#region src/components/toast/anatomy/root-context.tsx
5
- function ToastRootContextComponent(props) {
5
+ function RootContext(props) {
6
6
  const toast = use(ToastRootContext);
7
7
  const { children } = props;
8
8
  return children(toast);
9
9
  }
10
10
 
11
11
  //#endregion
12
- export { ToastRootContextComponent as default };
12
+ export { RootContext as default };
13
13
  //# sourceMappingURL=root-context.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"root-context.js","names":[],"sources":["../../../../src/components/toast/anatomy/root-context.tsx"],"sourcesContent":["import type { Api } from '@zag-js/toast';\nimport { type ReactNode, use } from 'react';\n\nimport { ToastRootContext } from '../modules/root-context';\n\nexport interface ToastRootContextProps {\n\tchildren: (toast: Api) => ReactNode;\n}\n\nexport default function ToastRootContextComponent(props: ToastRootContextProps) {\n\tconst toast = use(ToastRootContext);\n\n\tconst { children } = props;\n\n\treturn children(toast);\n}\n"],"mappings":";;;;AASA,SAAwB,0BAA0B,OAA8B;CAC/E,MAAM,QAAQ,IAAI,iBAAiB;CAEnC,MAAM,EAAE,aAAa;AAErB,QAAO,SAAS,MAAM"}
1
+ {"version":3,"file":"root-context.js","names":[],"sources":["../../../../src/components/toast/anatomy/root-context.tsx"],"sourcesContent":["import { ToastRootContext } from '../modules/root-context';\nimport type { PropTypes } from '@zag-js/react';\nimport type { Api } from '@zag-js/toast';\nimport { use } from 'react';\nimport type { ReactNode } from 'react';\n\nexport interface ToastRootContextProps {\n\tchildren: (toast: Api<PropTypes>) => ReactNode;\n}\n\nexport default function RootContext(props: ToastRootContextProps) {\n\tconst toast = use(ToastRootContext);\n\n\tconst { children } = props;\n\n\treturn children(toast);\n}\n"],"mappings":";;;;AAUA,SAAwB,YAAY,OAA8B;CACjE,MAAM,QAAQ,IAAI,iBAAiB;CAEnC,MAAM,EAAE,aAAa;AAErB,QAAO,SAAS,MAAM"}
@@ -1,13 +1,13 @@
1
1
  import { HTMLAttributes } from "../../../internal/html-attributes.js";
2
2
  import { PropsWithElement } from "../../../internal/props-with-element.js";
3
- import * as react_jsx_runtime46 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime75 from "react/jsx-runtime";
4
4
  import { Options } from "@zag-js/toast";
5
5
 
6
6
  //#region src/components/toast/anatomy/root.d.ts
7
7
  interface ToastRootProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir'> {
8
8
  toast: Omit<Options, 'id' | 'parent'>;
9
9
  }
10
- declare function Root(props: ToastRootProps): react_jsx_runtime46.JSX.Element;
10
+ declare function Root(props: ToastRootProps): react_jsx_runtime75.JSX.Element;
11
11
  //#endregion
12
12
  export { Root, ToastRootProps };
13
13
  //# sourceMappingURL=root.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"root.d.ts","names":[],"sources":["../../../../src/components/toast/anatomy/root.tsx"],"sourcesContent":[],"mappings":";;;;;;UAWiB,cAAA,SAAuB,yBAAyB;SACzD,KAAK;;AADI,iBAIO,IAAA,CAJQ,KAAA,EAII,cAJJ,CAAA,EAIkB,mBAAA,CAAA,GAAA,CAAA,OAJlB"}
1
+ {"version":3,"file":"root.d.ts","names":[],"sources":["../../../../src/components/toast/anatomy/root.tsx"],"sourcesContent":[],"mappings":";;;;;;UAUiB,cAAA,SAAuB,yBAAyB;SACzD,KAAK;;AADI,iBAIO,IAAA,CAJQ,KAAA,EAII,cAJJ,CAAA,EAIkB,mBAAA,CAAA,GAAA,CAAA,OAJlB"}
@@ -1,9 +1,9 @@
1
1
  import { ToastRootContext } from "../modules/root-context.js";
2
2
  import { ToastGroupContext } from "../modules/group-context.js";
3
- import { classesToast } from "@skeletonlabs/skeleton-common";
4
- import { mergeProps, normalizeProps, useMachine } from "@zag-js/react";
5
3
  import { use, useId } from "react";
6
- import { Fragment, jsx, jsxs } from "react/jsx-runtime";
4
+ import { mergeProps, normalizeProps, useMachine } from "@zag-js/react";
5
+ import { classesToast } from "@skeletonlabs/skeleton-common";
6
+ import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
7
7
  import { connect, machine } from "@zag-js/toast";
8
8
 
9
9
  //#region src/components/toast/anatomy/root.tsx
@@ -17,7 +17,7 @@ function Root(props) {
17
17
  });
18
18
  const toast = connect(service, normalizeProps);
19
19
  const attributes = mergeProps(toast.getRootProps(), rest, { className: classesToast.root });
20
- return /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsxs(ToastRootContext.Provider, {
20
+ return /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsxs(ToastRootContext.Provider, {
21
21
  value: toast,
22
22
  children: [
23
23
  /* @__PURE__ */ jsx("div", { ...toast.getGhostBeforeProps() }),
@@ -1 +1 @@
1
- {"version":3,"file":"root.js","names":["group"],"sources":["../../../../src/components/toast/anatomy/root.tsx"],"sourcesContent":["import { classesToast } from '@skeletonlabs/skeleton-common';\nimport { mergeProps, normalizeProps, useMachine } from '@zag-js/react';\nimport { connect, machine, type Options } from '@zag-js/toast';\nimport { use, useId } from 'react';\n\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\n\nimport { ToastGroupContext } from '../modules/group-context';\nimport { ToastRootContext } from '../modules/root-context';\n\nexport interface ToastRootProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir'> {\n\ttoast: Omit<Options, 'id' | 'parent'>;\n}\n\nexport default function Root(props: ToastRootProps) {\n\tconst group = use(ToastGroupContext);\n\n\tconst { element, children, toast: toastProps, ...rest } = props;\n\n\tconst service = useMachine(machine, {\n\t\tid: useId(),\n\t\tparent: group,\n\t\t...toastProps,\n\t});\n\tconst toast = connect(service, normalizeProps);\n\n\tconst attributes = mergeProps(toast.getRootProps(), rest, {\n\t\tclassName: classesToast.root,\n\t});\n\n\treturn (\n\t\t<>\n\t\t\t<ToastRootContext.Provider value={toast}>\n\t\t\t\t<div {...toast.getGhostBeforeProps()}></div>\n\t\t\t\t{element ? element(attributes) : <div {...attributes}>{children}</div>}\n\t\t\t\t<div {...toast.getGhostAfterProps()}></div>\n\t\t\t</ToastRootContext.Provider>\n\t\t\t<style>{`\n [data-part='root'] {\n translate: var(--x) var(--y);\n scale: var(--scale);\n z-index: var(--z-index);\n height: var(--height);\t\n opacity: var(--opacity);\n will-change: translate, opacity, scale;\n }\n [data-part='root'] {\n transition:\n translate 400ms,\n scale 400ms,\n opacity 400ms;\n transition-timing-function: cubic-bezier(0.21, 1.02, 0.73, 1);\n }\n [data-part='root'][data-state='closed'] {\n transition:\n translate 400ms,\n scale 400ms,\n opacity 200ms;\n transition-timing-function: cubic-bezier(0.06, 0.71, 0.55, 1);\n }\n `}</style>\n\t\t</>\n\t);\n}\n"],"mappings":";;;;;;;;;AAeA,SAAwB,KAAK,OAAuB;CACnD,MAAMA,UAAQ,IAAI,kBAAkB;CAEpC,MAAM,EAAE,SAAS,UAAU,OAAO,WAAY,GAAG,SAAS;CAE1D,MAAM,UAAU,WAAW,SAAS;EACnC,IAAI,OAAO;EACX,QAAQA;EACR,GAAG;EACH,CAAC;CACF,MAAM,QAAQ,QAAQ,SAAS,eAAe;CAE9C,MAAM,aAAa,WAAW,MAAM,cAAc,EAAE,MAAM,EACzD,WAAW,aAAa,MACxB,CAAC;AAEF,QACC,4CACC,qBAAC,iBAAiB;EAAS,OAAO;;GACjC,oBAAC,SAAI,GAAI,MAAM,qBAAqB,GAAQ;GAC3C,UAAU,QAAQ,WAAW,GAAG,oBAAC;IAAI,GAAI;IAAa;KAAe;GACtE,oBAAC,SAAI,GAAI,MAAM,oBAAoB,GAAQ;;GAChB,EAC5B,oBAAC,qBAAO;;;;;;;;;;;;;;;;;;;;;;;gBAuBW,IACjB"}
1
+ {"version":3,"file":"root.js","names":["group"],"sources":["../../../../src/components/toast/anatomy/root.tsx"],"sourcesContent":["import { ToastGroupContext } from '../modules/group-context';\nimport { ToastRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesToast } from '@skeletonlabs/skeleton-common';\nimport { mergeProps, normalizeProps, useMachine } from '@zag-js/react';\nimport { connect, machine } from '@zag-js/toast';\nimport type { Options } from '@zag-js/toast';\nimport { use, useId } from 'react';\n\nexport interface ToastRootProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir'> {\n\ttoast: Omit<Options, 'id' | 'parent'>;\n}\n\nexport default function Root(props: ToastRootProps) {\n\tconst group = use(ToastGroupContext);\n\n\tconst { element, children, toast: toastProps, ...rest } = props;\n\n\tconst service = useMachine(machine, {\n\t\tid: useId(),\n\t\tparent: group,\n\t\t...toastProps,\n\t});\n\tconst toast = connect(service, normalizeProps);\n\n\tconst attributes = mergeProps(toast.getRootProps(), rest, {\n\t\tclassName: classesToast.root,\n\t});\n\n\treturn (\n\t\t<>\n\t\t\t<ToastRootContext.Provider value={toast}>\n\t\t\t\t<div {...toast.getGhostBeforeProps()} />\n\t\t\t\t{element ? element(attributes) : <div {...attributes}>{children}</div>}\n\t\t\t\t<div {...toast.getGhostAfterProps()} />\n\t\t\t</ToastRootContext.Provider>\n\t\t\t<style>{`\n [data-part='root'] {\n translate: var(--x) var(--y);\n scale: var(--scale);\n z-index: var(--z-index);\n height: var(--height);\t\n opacity: var(--opacity);\n will-change: translate, opacity, scale;\n }\n [data-part='root'] {\n transition:\n translate 400ms,\n scale 400ms,\n opacity 400ms;\n transition-timing-function: cubic-bezier(0.21, 1.02, 0.73, 1);\n }\n [data-part='root'][data-state='closed'] {\n transition:\n translate 400ms,\n scale 400ms,\n opacity 200ms;\n transition-timing-function: cubic-bezier(0.06, 0.71, 0.55, 1);\n }\n `}</style>\n\t\t</>\n\t);\n}\n"],"mappings":";;;;;;;;;AAcA,SAAwB,KAAK,OAAuB;CACnD,MAAMA,UAAQ,IAAI,kBAAkB;CAEpC,MAAM,EAAE,SAAS,UAAU,OAAO,WAAY,GAAG,SAAS;CAE1D,MAAM,UAAU,WAAW,SAAS;EACnC,IAAI,OAAO;EACX,QAAQA;EACR,GAAG;EACH,CAAC;CACF,MAAM,QAAQ,QAAQ,SAAS,eAAe;CAE9C,MAAM,aAAa,WAAW,MAAM,cAAc,EAAE,MAAM,EACzD,WAAW,aAAa,MACxB,CAAC;AAEF,QACC,8CACC,qBAAC,iBAAiB;EAAS,OAAO;;GACjC,oBAAC,SAAI,GAAI,MAAM,qBAAqB,GAAI;GACvC,UAAU,QAAQ,WAAW,GAAG,oBAAC;IAAI,GAAI;IAAa;KAAe;GACtE,oBAAC,SAAI,GAAI,MAAM,oBAAoB,GAAI;;GACZ,EAC5B,oBAAC,qBAAO;;;;;;;;;;;;;;;;;;;;;;;gBAuBW,IACjB"}
@@ -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 react152 from "react";
4
- import * as react_jsx_runtime47 from "react/jsx-runtime";
3
+ import * as react257 from "react";
4
+ import * as react_jsx_runtime76 from "react/jsx-runtime";
5
5
 
6
6
  //#region src/components/toast/anatomy/title.d.ts
7
7
  interface ToastTitleProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
8
- declare function ToastTitle(props: ToastTitleProps): string | number | bigint | boolean | Iterable<react152.ReactNode> | Promise<string | number | bigint | boolean | react152.ReactPortal | react152.ReactElement<unknown, string | react152.JSXElementConstructor<any>> | Iterable<react152.ReactNode> | null | undefined> | react_jsx_runtime47.JSX.Element | null | undefined;
8
+ declare function Title(props: ToastTitleProps): 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_runtime76.JSX.Element | null | undefined;
9
9
  //#endregion
10
- export { ToastTitle, ToastTitleProps };
10
+ export { Title, ToastTitleProps };
11
11
  //# sourceMappingURL=title.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"title.d.ts","names":[],"sources":["../../../../src/components/toast/anatomy/title.tsx"],"sourcesContent":[],"mappings":";;;;;;UASiB,eAAA,SAAwB,yBAAyB;iBAE1C,UAAA,QAAkB,uDAAe,SAAA,QAAA,CAAA,SAAA,IAAA,6CAAA,QAAA,CAAA,WAAA,GAAA,QAAA,CAAA,+BAAA,QAAA,CAAA,8BAAA,SAAA,QAAA,CAAA,SAAA,wBAAA,mBAAA,CAAA,GAAA,CAAA,OAAA"}
1
+ {"version":3,"file":"title.d.ts","names":[],"sources":["../../../../src/components/toast/anatomy/title.tsx"],"sourcesContent":[],"mappings":";;;;;;UAOiB,eAAA,SAAwB,yBAAyB;iBAE1C,KAAA,QAAa,uDAAe,SAAA,QAAA,CAAA,SAAA,IAAA,6CAAA,QAAA,CAAA,WAAA,GAAA,QAAA,CAAA,+BAAA,QAAA,CAAA,8BAAA,SAAA,QAAA,CAAA,SAAA,wBAAA,mBAAA,CAAA,GAAA,CAAA,OAAA"}
@@ -1,11 +1,11 @@
1
1
  import { ToastRootContext } from "../modules/root-context.js";
2
- import { classesToast } from "@skeletonlabs/skeleton-common";
3
- import { mergeProps } from "@zag-js/react";
4
2
  import { use } from "react";
3
+ import { mergeProps } from "@zag-js/react";
4
+ import { classesToast } from "@skeletonlabs/skeleton-common";
5
5
  import { jsx } from "react/jsx-runtime";
6
6
 
7
7
  //#region src/components/toast/anatomy/title.tsx
8
- function ToastTitle(props) {
8
+ function Title(props) {
9
9
  const toast = use(ToastRootContext);
10
10
  const { element, children,...rest } = props;
11
11
  const attributes = mergeProps(toast.getTitleProps(), rest, { className: classesToast.title });
@@ -16,5 +16,5 @@ function ToastTitle(props) {
16
16
  }
17
17
 
18
18
  //#endregion
19
- export { ToastTitle as default };
19
+ export { Title as default };
20
20
  //# sourceMappingURL=title.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"title.js","names":[],"sources":["../../../../src/components/toast/anatomy/title.tsx"],"sourcesContent":["import { classesToast } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\n\nimport { ToastRootContext } from '../modules/root-context';\n\nexport interface ToastTitleProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}\n\nexport default function ToastTitle(props: ToastTitleProps) {\n\tconst toast = use(ToastRootContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(toast.getTitleProps(), rest, {\n\t\tclassName: classesToast.title,\n\t});\n\n\treturn element ? element(attributes) : <div {...attributes}>{children}</div>;\n}\n"],"mappings":";;;;;;;AAWA,SAAwB,WAAW,OAAwB;CAC1D,MAAM,QAAQ,IAAI,iBAAiB;CAEnC,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,aAAa,WAAW,MAAM,eAAe,EAAE,MAAM,EAC1D,WAAW,aAAa,OACxB,CAAC;AAEF,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC;EAAI,GAAI;EAAa;GAAe"}
1
+ {"version":3,"file":"title.js","names":[],"sources":["../../../../src/components/toast/anatomy/title.tsx"],"sourcesContent":["import { ToastRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesToast } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface ToastTitleProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}\n\nexport default function Title(props: ToastTitleProps) {\n\tconst toast = use(ToastRootContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(toast.getTitleProps(), rest, {\n\t\tclassName: classesToast.title,\n\t});\n\n\treturn element ? element(attributes) : <div {...attributes}>{children}</div>;\n}\n"],"mappings":";;;;;;;AASA,SAAwB,MAAM,OAAwB;CACrD,MAAM,QAAQ,IAAI,iBAAiB;CAEnC,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,aAAa,WAAW,MAAM,eAAe,EAAE,MAAM,EAC1D,WAAW,aAAa,OACxB,CAAC;AAEF,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC;EAAI,GAAI;EAAa;GAAe"}
@@ -1,21 +1,21 @@
1
- import { ToastCloseTrigger } from "../anatomy/close-trigger.js";
2
- import { ToastDescription } from "../anatomy/description.js";
3
- import { ToastGroup } from "../anatomy/group.js";
4
- import { ToastMessage } from "../anatomy/message.js";
1
+ import { CloseTrigger } from "../anatomy/close-trigger.js";
2
+ import { Description } from "../anatomy/description.js";
3
+ import { Group } from "../anatomy/group.js";
4
+ import { Message } from "../anatomy/message.js";
5
5
  import { Root } from "../anatomy/root.js";
6
- import { ToastRootContextComponent } from "../anatomy/root-context.js";
7
- import { ToastTitle } from "../anatomy/title.js";
8
- import { ToastActionTrigger } from "../anatomy/action-trigger.js";
6
+ import { RootContext } from "../anatomy/root-context.js";
7
+ import { Title } from "../anatomy/title.js";
8
+ import { ActionTrigger } from "../anatomy/action-trigger.js";
9
9
 
10
10
  //#region src/components/toast/modules/anatomy.d.ts
11
11
  declare const Toast: typeof Root & {
12
- Context: typeof ToastRootContextComponent;
13
- Group: typeof ToastGroup;
14
- Message: typeof ToastMessage;
15
- Title: typeof ToastTitle;
16
- Description: typeof ToastDescription;
17
- ActionTrigger: typeof ToastActionTrigger;
18
- CloseTrigger: typeof ToastCloseTrigger;
12
+ Context: typeof RootContext;
13
+ Group: typeof Group;
14
+ Message: typeof Message;
15
+ Title: typeof Title;
16
+ Description: typeof Description;
17
+ ActionTrigger: typeof ActionTrigger;
18
+ CloseTrigger: typeof CloseTrigger;
19
19
  };
20
20
  //#endregion
21
21
  export { Toast };
@@ -1 +1 @@
1
- {"version":3,"file":"anatomy.d.ts","names":[],"sources":["../../../../src/components/toast/modules/anatomy.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;cASa,cAAK;;EAAL,KAAA,EAAA,iBAQX;EAAA,OAAA,EAAA,mBAAA;OARgB,EAAA,iBAAA"}
1
+ {"version":3,"file":"anatomy.d.ts","names":[],"sources":["../../../../src/components/toast/modules/anatomy.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;cASa,cAAK;;EAAL,KAAA,EAAA,YAQX;EAAA,OAAA,EAAA,cAAA;OARgB,EAAA,YAAA"}
@@ -1,21 +1,21 @@
1
- import ToastActionTrigger from "../anatomy/action-trigger.js";
2
- import ToastCloseTrigger from "../anatomy/close-trigger.js";
3
- import ToastDescription from "../anatomy/description.js";
4
- import ToastGroup from "../anatomy/group.js";
5
- import ToastMessage from "../anatomy/message.js";
1
+ import ActionTrigger from "../anatomy/action-trigger.js";
2
+ import CloseTrigger from "../anatomy/close-trigger.js";
3
+ import Description from "../anatomy/description.js";
4
+ import Group from "../anatomy/group.js";
5
+ import Message from "../anatomy/message.js";
6
6
  import Root from "../anatomy/root.js";
7
- import ToastRootContextComponent from "../anatomy/root-context.js";
8
- import ToastTitle from "../anatomy/title.js";
7
+ import RootContext from "../anatomy/root-context.js";
8
+ import Title from "../anatomy/title.js";
9
9
 
10
10
  //#region src/components/toast/modules/anatomy.ts
11
11
  const Toast = Object.assign(Root, {
12
- Context: ToastRootContextComponent,
13
- Group: ToastGroup,
14
- Message: ToastMessage,
15
- Title: ToastTitle,
16
- Description: ToastDescription,
17
- ActionTrigger: ToastActionTrigger,
18
- CloseTrigger: ToastCloseTrigger
12
+ Context: RootContext,
13
+ Group,
14
+ Message,
15
+ Title,
16
+ Description,
17
+ ActionTrigger,
18
+ CloseTrigger
19
19
  });
20
20
 
21
21
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"anatomy.js","names":["RootContext","Group","Message","Title","Description","ActionTrigger","CloseTrigger"],"sources":["../../../../src/components/toast/modules/anatomy.ts"],"sourcesContent":["import ActionTrigger from '../anatomy/action-trigger';\nimport CloseTrigger from '../anatomy/close-trigger';\nimport Description from '../anatomy/description';\nimport Group from '../anatomy/group';\nimport Message from '../anatomy/message';\nimport Root from '../anatomy/root';\nimport RootContext from '../anatomy/root-context';\nimport Title from '../anatomy/title';\n\nexport const Toast = Object.assign(Root, {\n\tContext: RootContext,\n\tGroup: Group,\n\tMessage: Message,\n\tTitle: Title,\n\tDescription: Description,\n\tActionTrigger: ActionTrigger,\n\tCloseTrigger: CloseTrigger,\n});\n"],"mappings":";;;;;;;;;;AASA,MAAa,QAAQ,OAAO,OAAO,MAAM;CACxC,SAASA;CACT,OAAOC;CACP,SAASC;CACT,OAAOC;CACP,aAAaC;CACb,eAAeC;CACf,cAAcC;CACd,CAAC"}
1
+ {"version":3,"file":"anatomy.js","names":[],"sources":["../../../../src/components/toast/modules/anatomy.ts"],"sourcesContent":["import ActionTrigger from '../anatomy/action-trigger';\nimport CloseTrigger from '../anatomy/close-trigger';\nimport Description from '../anatomy/description';\nimport Group from '../anatomy/group';\nimport Message from '../anatomy/message';\nimport Root from '../anatomy/root';\nimport RootContext from '../anatomy/root-context';\nimport Title from '../anatomy/title';\n\nexport const Toast = Object.assign(Root, {\n\tContext: RootContext,\n\tGroup: Group,\n\tMessage: Message,\n\tTitle: Title,\n\tDescription: Description,\n\tActionTrigger: ActionTrigger,\n\tCloseTrigger: CloseTrigger,\n});\n"],"mappings":";;;;;;;;;;AASA,MAAa,QAAQ,OAAO,OAAO,MAAM;CACxC,SAAS;CACF;CACE;CACF;CACM;CACE;CACD;CACd,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"group-context.js","names":[],"sources":["../../../../src/components/toast/modules/group-context.ts"],"sourcesContent":["import type { GroupService } from '@zag-js/toast';\n\nimport { createContext } from '@/internal/create-context';\n\nexport const ToastGroupContext = createContext<GroupService>();\n"],"mappings":";;;AAIA,MAAa,oBAAoB,eAA6B"}
1
+ {"version":3,"file":"group-context.js","names":[],"sources":["../../../../src/components/toast/modules/group-context.ts"],"sourcesContent":["import { createContext } from '@/internal/create-context';\nimport type { GroupService } from '@zag-js/toast';\n\nexport const ToastGroupContext = createContext<GroupService>();\n"],"mappings":";;;AAGA,MAAa,oBAAoB,eAA6B"}
@@ -1 +1 @@
1
- {"version":3,"file":"root-context.js","names":[],"sources":["../../../../src/components/toast/modules/root-context.ts"],"sourcesContent":["import type { Api } from '@zag-js/toast';\n\nimport { createContext } from '@/internal/create-context';\n\nexport const ToastRootContext = createContext<Api>();\n"],"mappings":";;;AAIA,MAAa,mBAAmB,eAAoB"}
1
+ {"version":3,"file":"root-context.js","names":[],"sources":["../../../../src/components/toast/modules/root-context.ts"],"sourcesContent":["import { createContext } from '@/internal/create-context';\nimport type { PropTypes } from '@zag-js/react';\nimport type { Api } from '@zag-js/toast';\n\nexport const ToastRootContext = createContext<Api<PropTypes>>();\n"],"mappings":";;;AAIA,MAAa,mBAAmB,eAA+B"}
@@ -0,0 +1,11 @@
1
+ import { HTMLAttributes } from "../../../internal/html-attributes.js";
2
+ import { PropsWithElement } from "../../../internal/props-with-element.js";
3
+ import * as react267 from "react";
4
+ import * as react_jsx_runtime78 from "react/jsx-runtime";
5
+
6
+ //#region src/components/tooltip/anatomy/arrow-tip.d.ts
7
+ interface TooltipArrowTipProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
8
+ declare function ArrowTip(props: TooltipArrowTipProps): string | number | bigint | boolean | Iterable<react267.ReactNode> | Promise<string | number | bigint | boolean | react267.ReactPortal | react267.ReactElement<unknown, string | react267.JSXElementConstructor<any>> | Iterable<react267.ReactNode> | null | undefined> | react_jsx_runtime78.JSX.Element | null | undefined;
9
+ //#endregion
10
+ export { ArrowTip, TooltipArrowTipProps };
11
+ //# sourceMappingURL=arrow-tip.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"arrow-tip.d.ts","names":[],"sources":["../../../../src/components/tooltip/anatomy/arrow-tip.tsx"],"sourcesContent":[],"mappings":";;;;;;UAOiB,oBAAA,SAA6B,yBAAyB;iBAE/C,QAAA,QAAgB,4DAAoB,SAAA,QAAA,CAAA,SAAA,IAAA,6CAAA,QAAA,CAAA,WAAA,GAAA,QAAA,CAAA,+BAAA,QAAA,CAAA,8BAAA,SAAA,QAAA,CAAA,SAAA,wBAAA,mBAAA,CAAA,GAAA,CAAA,OAAA"}
@@ -0,0 +1,20 @@
1
+ import { TooltipRootContext } from "../modules/root-context.js";
2
+ import { use } from "react";
3
+ import { mergeProps } from "@zag-js/react";
4
+ import { classesTooltip } from "@skeletonlabs/skeleton-common";
5
+ import { jsx } from "react/jsx-runtime";
6
+
7
+ //#region src/components/tooltip/anatomy/arrow-tip.tsx
8
+ function ArrowTip(props) {
9
+ const tooltip = use(TooltipRootContext);
10
+ const { element, children,...rest } = props;
11
+ const attributes = mergeProps(tooltip.getArrowTipProps(), rest, { className: classesTooltip.arrowTip });
12
+ return element ? element(attributes) : /* @__PURE__ */ jsx("div", {
13
+ ...attributes,
14
+ children
15
+ });
16
+ }
17
+
18
+ //#endregion
19
+ export { ArrowTip as default };
20
+ //# sourceMappingURL=arrow-tip.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"arrow-tip.js","names":[],"sources":["../../../../src/components/tooltip/anatomy/arrow-tip.tsx"],"sourcesContent":["import { TooltipRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesTooltip } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface TooltipArrowTipProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}\n\nexport default function ArrowTip(props: TooltipArrowTipProps) {\n\tconst tooltip = use(TooltipRootContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(tooltip.getArrowTipProps(), rest, {\n\t\tclassName: classesTooltip.arrowTip,\n\t});\n\n\treturn element ? element(attributes) : <div {...attributes}>{children}</div>;\n}\n"],"mappings":";;;;;;;AASA,SAAwB,SAAS,OAA6B;CAC7D,MAAM,UAAU,IAAI,mBAAmB;CAEvC,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,aAAa,WAAW,QAAQ,kBAAkB,EAAE,MAAM,EAC/D,WAAW,eAAe,UAC1B,CAAC;AAEF,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC;EAAI,GAAI;EAAa;GAAe"}
@@ -0,0 +1,11 @@
1
+ import { HTMLAttributes } from "../../../internal/html-attributes.js";
2
+ import { PropsWithElement } from "../../../internal/props-with-element.js";
3
+ import * as react262 from "react";
4
+ import * as react_jsx_runtime77 from "react/jsx-runtime";
5
+
6
+ //#region src/components/tooltip/anatomy/arrow.d.ts
7
+ interface TooltipArrowProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
8
+ declare function Arrow(props: TooltipArrowProps): 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_runtime77.JSX.Element | null | undefined;
9
+ //#endregion
10
+ export { Arrow, TooltipArrowProps };
11
+ //# sourceMappingURL=arrow.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"arrow.d.ts","names":[],"sources":["../../../../src/components/tooltip/anatomy/arrow.tsx"],"sourcesContent":[],"mappings":";;;;;;UAOiB,iBAAA,SAA0B,yBAAyB;iBAE5C,KAAA,QAAa,yDAAiB,SAAA,QAAA,CAAA,SAAA,IAAA,6CAAA,QAAA,CAAA,WAAA,GAAA,QAAA,CAAA,+BAAA,QAAA,CAAA,8BAAA,SAAA,QAAA,CAAA,SAAA,wBAAA,mBAAA,CAAA,GAAA,CAAA,OAAA"}
@@ -0,0 +1,20 @@
1
+ import { TooltipRootContext } from "../modules/root-context.js";
2
+ import { use } from "react";
3
+ import { mergeProps } from "@zag-js/react";
4
+ import { classesTooltip } from "@skeletonlabs/skeleton-common";
5
+ import { jsx } from "react/jsx-runtime";
6
+
7
+ //#region src/components/tooltip/anatomy/arrow.tsx
8
+ function Arrow(props) {
9
+ const tooltip = use(TooltipRootContext);
10
+ const { element, children,...rest } = props;
11
+ const attributes = mergeProps(tooltip.getArrowProps(), rest, { className: classesTooltip.arrow });
12
+ return element ? element(attributes) : /* @__PURE__ */ jsx("div", {
13
+ ...attributes,
14
+ children
15
+ });
16
+ }
17
+
18
+ //#endregion
19
+ export { Arrow as default };
20
+ //# sourceMappingURL=arrow.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"arrow.js","names":[],"sources":["../../../../src/components/tooltip/anatomy/arrow.tsx"],"sourcesContent":["import { TooltipRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesTooltip } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface TooltipArrowProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}\n\nexport default function Arrow(props: TooltipArrowProps) {\n\tconst tooltip = use(TooltipRootContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(tooltip.getArrowProps(), rest, {\n\t\tclassName: classesTooltip.arrow,\n\t});\n\n\treturn element ? element(attributes) : <div {...attributes}>{children}</div>;\n}\n"],"mappings":";;;;;;;AASA,SAAwB,MAAM,OAA0B;CACvD,MAAM,UAAU,IAAI,mBAAmB;CAEvC,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,aAAa,WAAW,QAAQ,eAAe,EAAE,MAAM,EAC5D,WAAW,eAAe,OAC1B,CAAC;AAEF,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC;EAAI,GAAI;EAAa;GAAe"}
@@ -0,0 +1,11 @@
1
+ import { HTMLAttributes } from "../../../internal/html-attributes.js";
2
+ import { PropsWithElement } from "../../../internal/props-with-element.js";
3
+ import * as react272 from "react";
4
+ import * as react_jsx_runtime79 from "react/jsx-runtime";
5
+
6
+ //#region src/components/tooltip/anatomy/content.d.ts
7
+ interface TooltipContentProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
8
+ declare function Content(props: TooltipContentProps): string | number | bigint | boolean | Iterable<react272.ReactNode> | Promise<string | number | bigint | boolean | react272.ReactPortal | react272.ReactElement<unknown, string | react272.JSXElementConstructor<any>> | Iterable<react272.ReactNode> | null | undefined> | react_jsx_runtime79.JSX.Element | null | undefined;
9
+ //#endregion
10
+ export { Content, TooltipContentProps };
11
+ //# sourceMappingURL=content.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"content.d.ts","names":[],"sources":["../../../../src/components/tooltip/anatomy/content.tsx"],"sourcesContent":[],"mappings":";;;;;;UAOiB,mBAAA,SAA4B,yBAAyB;iBAE9C,OAAA,QAAe,2DAAmB,SAAA,QAAA,CAAA,SAAA,IAAA,6CAAA,QAAA,CAAA,WAAA,GAAA,QAAA,CAAA,+BAAA,QAAA,CAAA,8BAAA,SAAA,QAAA,CAAA,SAAA,wBAAA,mBAAA,CAAA,GAAA,CAAA,OAAA"}
@@ -0,0 +1,20 @@
1
+ import { TooltipRootContext } from "../modules/root-context.js";
2
+ import { use } from "react";
3
+ import { mergeProps } from "@zag-js/react";
4
+ import { classesTooltip } from "@skeletonlabs/skeleton-common";
5
+ import { jsx } from "react/jsx-runtime";
6
+
7
+ //#region src/components/tooltip/anatomy/content.tsx
8
+ function Content(props) {
9
+ const tooltip = use(TooltipRootContext);
10
+ const { element, children,...rest } = props;
11
+ const attributes = mergeProps(tooltip.getContentProps(), rest, { className: classesTooltip.content });
12
+ return element ? element(attributes) : /* @__PURE__ */ jsx("div", {
13
+ ...attributes,
14
+ children
15
+ });
16
+ }
17
+
18
+ //#endregion
19
+ export { Content as default };
20
+ //# sourceMappingURL=content.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"content.js","names":[],"sources":["../../../../src/components/tooltip/anatomy/content.tsx"],"sourcesContent":["import { TooltipRootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesTooltip } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface TooltipContentProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}\n\nexport default function Content(props: TooltipContentProps) {\n\tconst tooltip = use(TooltipRootContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(tooltip.getContentProps(), rest, {\n\t\tclassName: classesTooltip.content,\n\t});\n\n\treturn element ? element(attributes) : <div {...attributes}>{children}</div>;\n}\n"],"mappings":";;;;;;;AASA,SAAwB,QAAQ,OAA4B;CAC3D,MAAM,UAAU,IAAI,mBAAmB;CAEvC,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,aAAa,WAAW,QAAQ,iBAAiB,EAAE,MAAM,EAC9D,WAAW,eAAe,SAC1B,CAAC;AAEF,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC;EAAI,GAAI;EAAa;GAAe"}