ui-ingredients 0.0.9 → 0.0.11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (499) hide show
  1. package/README.md +3 -1
  2. package/dist/accordion/accordion.d.ts +5 -0
  3. package/dist/accordion/accordion.js +5 -0
  4. package/dist/accordion/context.svelte.d.ts +1 -1
  5. package/dist/accordion/context.svelte.js +1 -1
  6. package/dist/accordion/index.d.ts +7 -5
  7. package/dist/accordion/index.js +2 -5
  8. package/dist/accordion/item-content.svelte +3 -2
  9. package/dist/accordion/item-content.svelte.d.ts +2 -2
  10. package/dist/accordion/item-indicator.svelte +3 -2
  11. package/dist/accordion/item-indicator.svelte.d.ts +2 -2
  12. package/dist/accordion/item-trigger.svelte +2 -2
  13. package/dist/accordion/item-trigger.svelte.d.ts +2 -2
  14. package/dist/accordion/item.svelte +2 -2
  15. package/dist/accordion/item.svelte.d.ts +2 -2
  16. package/dist/accordion/root.svelte +2 -2
  17. package/dist/accordion/root.svelte.d.ts +2 -2
  18. package/dist/avatar/avatar.d.ts +3 -0
  19. package/dist/avatar/avatar.js +3 -0
  20. package/dist/avatar/fallback.svelte +2 -2
  21. package/dist/avatar/fallback.svelte.d.ts +2 -2
  22. package/dist/avatar/image.svelte +2 -2
  23. package/dist/avatar/image.svelte.d.ts +2 -2
  24. package/dist/avatar/index.d.ts +5 -3
  25. package/dist/avatar/index.js +2 -3
  26. package/dist/avatar/root.svelte +2 -2
  27. package/dist/avatar/root.svelte.d.ts +2 -2
  28. package/dist/carousel/carousel.d.ts +8 -0
  29. package/dist/carousel/carousel.js +8 -0
  30. package/dist/carousel/index.d.ts +10 -8
  31. package/dist/carousel/index.js +2 -8
  32. package/dist/carousel/indicator-group.svelte +3 -2
  33. package/dist/carousel/indicator-group.svelte.d.ts +2 -2
  34. package/dist/carousel/indicator.svelte +2 -2
  35. package/dist/carousel/indicator.svelte.d.ts +2 -2
  36. package/dist/carousel/item-group.svelte +2 -2
  37. package/dist/carousel/item-group.svelte.d.ts +2 -2
  38. package/dist/carousel/item.svelte +2 -2
  39. package/dist/carousel/item.svelte.d.ts +2 -2
  40. package/dist/carousel/next-trigger.svelte +3 -2
  41. package/dist/carousel/next-trigger.svelte.d.ts +2 -2
  42. package/dist/carousel/prev-trigger.svelte +3 -2
  43. package/dist/carousel/prev-trigger.svelte.d.ts +2 -2
  44. package/dist/carousel/root.svelte +2 -2
  45. package/dist/carousel/root.svelte.d.ts +2 -2
  46. package/dist/carousel/viewport.svelte +2 -2
  47. package/dist/carousel/viewport.svelte.d.ts +2 -2
  48. package/dist/checkbox/checkbox.d.ts +5 -0
  49. package/dist/checkbox/checkbox.js +5 -0
  50. package/dist/checkbox/control.svelte +2 -2
  51. package/dist/checkbox/control.svelte.d.ts +2 -2
  52. package/dist/checkbox/hidden-input.svelte +3 -2
  53. package/dist/checkbox/hidden-input.svelte.d.ts +2 -2
  54. package/dist/checkbox/index.d.ts +7 -5
  55. package/dist/checkbox/index.js +2 -5
  56. package/dist/checkbox/indicator.svelte +2 -2
  57. package/dist/checkbox/indicator.svelte.d.ts +2 -2
  58. package/dist/checkbox/label.svelte +2 -2
  59. package/dist/checkbox/label.svelte.d.ts +2 -2
  60. package/dist/checkbox/root.svelte +2 -2
  61. package/dist/checkbox/root.svelte.d.ts +2 -2
  62. package/dist/clipboard/clipboard.d.ts +6 -0
  63. package/dist/clipboard/clipboard.js +6 -0
  64. package/dist/clipboard/control.svelte +2 -2
  65. package/dist/clipboard/control.svelte.d.ts +2 -2
  66. package/dist/clipboard/index.d.ts +8 -6
  67. package/dist/clipboard/index.js +2 -6
  68. package/dist/clipboard/indicator.svelte +2 -2
  69. package/dist/clipboard/indicator.svelte.d.ts +2 -2
  70. package/dist/clipboard/input.svelte +2 -2
  71. package/dist/clipboard/input.svelte.d.ts +2 -2
  72. package/dist/clipboard/label.svelte +2 -2
  73. package/dist/clipboard/label.svelte.d.ts +2 -2
  74. package/dist/clipboard/root.svelte +2 -2
  75. package/dist/clipboard/root.svelte.d.ts +2 -2
  76. package/dist/clipboard/trigger.svelte +3 -2
  77. package/dist/clipboard/trigger.svelte.d.ts +2 -2
  78. package/dist/collapsible/collapsible.d.ts +3 -0
  79. package/dist/collapsible/collapsible.js +3 -0
  80. package/dist/collapsible/content.svelte +2 -2
  81. package/dist/collapsible/content.svelte.d.ts +2 -2
  82. package/dist/collapsible/index.d.ts +5 -3
  83. package/dist/collapsible/index.js +2 -3
  84. package/dist/collapsible/root.svelte +2 -2
  85. package/dist/collapsible/root.svelte.d.ts +2 -2
  86. package/dist/collapsible/trigger.svelte +3 -2
  87. package/dist/collapsible/trigger.svelte.d.ts +2 -2
  88. package/dist/combobox/clear-trigger.svelte +2 -2
  89. package/dist/combobox/clear-trigger.svelte.d.ts +2 -2
  90. package/dist/combobox/combobox.d.ts +14 -0
  91. package/dist/combobox/combobox.js +14 -0
  92. package/dist/combobox/content.svelte +2 -2
  93. package/dist/combobox/content.svelte.d.ts +2 -2
  94. package/dist/combobox/control.svelte +2 -2
  95. package/dist/combobox/control.svelte.d.ts +2 -2
  96. package/dist/combobox/index.d.ts +16 -14
  97. package/dist/combobox/index.js +2 -14
  98. package/dist/combobox/input.svelte +2 -2
  99. package/dist/combobox/input.svelte.d.ts +2 -2
  100. package/dist/combobox/item-group-label.svelte +2 -2
  101. package/dist/combobox/item-group-label.svelte.d.ts +2 -2
  102. package/dist/combobox/item-group.svelte +2 -2
  103. package/dist/combobox/item-group.svelte.d.ts +2 -2
  104. package/dist/combobox/item-indicator.svelte +3 -2
  105. package/dist/combobox/item-indicator.svelte.d.ts +2 -2
  106. package/dist/combobox/item-text.svelte +2 -2
  107. package/dist/combobox/item-text.svelte.d.ts +2 -2
  108. package/dist/combobox/item.svelte +2 -2
  109. package/dist/combobox/item.svelte.d.ts +2 -2
  110. package/dist/combobox/label.svelte +2 -2
  111. package/dist/combobox/label.svelte.d.ts +2 -2
  112. package/dist/combobox/list.svelte +2 -2
  113. package/dist/combobox/list.svelte.d.ts +2 -2
  114. package/dist/combobox/positioner.svelte +2 -2
  115. package/dist/combobox/positioner.svelte.d.ts +2 -2
  116. package/dist/combobox/root.svelte +2 -2
  117. package/dist/combobox/root.svelte.d.ts +2 -2
  118. package/dist/combobox/trigger.svelte +2 -2
  119. package/dist/combobox/trigger.svelte.d.ts +2 -2
  120. package/dist/dialog/backdrop.svelte +2 -2
  121. package/dist/dialog/backdrop.svelte.d.ts +2 -2
  122. package/dist/dialog/close-trigger.svelte +3 -2
  123. package/dist/dialog/close-trigger.svelte.d.ts +2 -2
  124. package/dist/dialog/content.svelte +2 -2
  125. package/dist/dialog/content.svelte.d.ts +2 -2
  126. package/dist/dialog/description.svelte +2 -2
  127. package/dist/dialog/description.svelte.d.ts +2 -2
  128. package/dist/dialog/dialog.d.ts +8 -0
  129. package/dist/dialog/dialog.js +8 -0
  130. package/dist/dialog/index.d.ts +10 -8
  131. package/dist/dialog/index.js +2 -8
  132. package/dist/dialog/positioner.svelte +2 -2
  133. package/dist/dialog/positioner.svelte.d.ts +2 -2
  134. package/dist/dialog/title.svelte +2 -2
  135. package/dist/dialog/title.svelte.d.ts +2 -2
  136. package/dist/dialog/trigger.svelte +2 -2
  137. package/dist/dialog/trigger.svelte.d.ts +2 -2
  138. package/dist/editable/area.svelte +2 -2
  139. package/dist/editable/area.svelte.d.ts +2 -2
  140. package/dist/editable/cancel-trigger.svelte +2 -2
  141. package/dist/editable/cancel-trigger.svelte.d.ts +2 -2
  142. package/dist/editable/control.svelte +2 -2
  143. package/dist/editable/control.svelte.d.ts +2 -2
  144. package/dist/editable/edit-trigger.svelte +3 -2
  145. package/dist/editable/edit-trigger.svelte.d.ts +2 -2
  146. package/dist/editable/editable.d.ts +9 -0
  147. package/dist/editable/editable.js +9 -0
  148. package/dist/editable/index.d.ts +11 -9
  149. package/dist/editable/index.js +2 -9
  150. package/dist/editable/input.svelte +2 -2
  151. package/dist/editable/input.svelte.d.ts +2 -2
  152. package/dist/editable/label.svelte +2 -2
  153. package/dist/editable/label.svelte.d.ts +2 -2
  154. package/dist/editable/preview.svelte +2 -2
  155. package/dist/editable/preview.svelte.d.ts +2 -2
  156. package/dist/editable/submit-trigger.svelte +2 -2
  157. package/dist/editable/submit-trigger.svelte.d.ts +2 -2
  158. package/dist/hover-card/arrow-tip.svelte +2 -2
  159. package/dist/hover-card/arrow-tip.svelte.d.ts +2 -2
  160. package/dist/hover-card/arrow.svelte +2 -2
  161. package/dist/hover-card/arrow.svelte.d.ts +2 -2
  162. package/dist/hover-card/content.svelte +2 -2
  163. package/dist/hover-card/content.svelte.d.ts +2 -2
  164. package/dist/hover-card/hover-card.d.ts +6 -0
  165. package/dist/hover-card/hover-card.js +6 -0
  166. package/dist/hover-card/index.d.ts +8 -6
  167. package/dist/hover-card/index.js +2 -6
  168. package/dist/hover-card/positioner.svelte +3 -2
  169. package/dist/hover-card/positioner.svelte.d.ts +2 -2
  170. package/dist/hover-card/trigger.svelte +2 -2
  171. package/dist/hover-card/trigger.svelte.d.ts +2 -2
  172. package/dist/index.d.ts +29 -87
  173. package/dist/index.js +28 -60
  174. package/dist/number-input/control.svelte +2 -2
  175. package/dist/number-input/control.svelte.d.ts +2 -2
  176. package/dist/number-input/decrement-trigger.svelte +2 -2
  177. package/dist/number-input/decrement-trigger.svelte.d.ts +2 -2
  178. package/dist/number-input/increment-trigger.svelte +2 -2
  179. package/dist/number-input/increment-trigger.svelte.d.ts +2 -2
  180. package/dist/number-input/index.d.ts +9 -7
  181. package/dist/number-input/index.js +2 -7
  182. package/dist/number-input/input.svelte +2 -2
  183. package/dist/number-input/input.svelte.d.ts +2 -2
  184. package/dist/number-input/label.svelte +2 -2
  185. package/dist/number-input/label.svelte.d.ts +2 -2
  186. package/dist/number-input/number-input.d.ts +7 -0
  187. package/dist/number-input/number-input.js +7 -0
  188. package/dist/number-input/root.svelte +2 -2
  189. package/dist/number-input/root.svelte.d.ts +2 -2
  190. package/dist/number-input/scrubber.svelte +3 -2
  191. package/dist/number-input/scrubber.svelte.d.ts +2 -2
  192. package/dist/pagination/ellipsis.svelte +2 -2
  193. package/dist/pagination/ellipsis.svelte.d.ts +2 -2
  194. package/dist/pagination/index.d.ts +7 -5
  195. package/dist/pagination/index.js +2 -5
  196. package/dist/pagination/item.svelte +2 -2
  197. package/dist/pagination/item.svelte.d.ts +2 -2
  198. package/dist/pagination/next-trigger.svelte +2 -2
  199. package/dist/pagination/next-trigger.svelte.d.ts +2 -2
  200. package/dist/pagination/pagination.d.ts +5 -0
  201. package/dist/pagination/pagination.js +5 -0
  202. package/dist/pagination/prev-trigger.svelte +2 -2
  203. package/dist/pagination/prev-trigger.svelte.d.ts +2 -2
  204. package/dist/pagination/root.svelte +2 -2
  205. package/dist/pagination/root.svelte.d.ts +2 -2
  206. package/dist/pin-input/clear-trigger.svelte +2 -2
  207. package/dist/pin-input/clear-trigger.svelte.d.ts +2 -2
  208. package/dist/pin-input/hidden-input.svelte +3 -2
  209. package/dist/pin-input/hidden-input.svelte.d.ts +2 -2
  210. package/dist/pin-input/index.d.ts +7 -5
  211. package/dist/pin-input/index.js +2 -5
  212. package/dist/pin-input/input.svelte +2 -2
  213. package/dist/pin-input/input.svelte.d.ts +2 -2
  214. package/dist/pin-input/label.svelte +2 -2
  215. package/dist/pin-input/label.svelte.d.ts +2 -2
  216. package/dist/pin-input/pin-input.d.ts +5 -0
  217. package/dist/pin-input/pin-input.js +5 -0
  218. package/dist/pin-input/root.svelte +2 -2
  219. package/dist/pin-input/root.svelte.d.ts +2 -2
  220. package/dist/popover/arrow-tip.svelte +2 -2
  221. package/dist/popover/arrow-tip.svelte.d.ts +2 -2
  222. package/dist/popover/arrow.svelte +2 -2
  223. package/dist/popover/arrow.svelte.d.ts +2 -2
  224. package/dist/popover/close-trigger.svelte +3 -2
  225. package/dist/popover/close-trigger.svelte.d.ts +2 -2
  226. package/dist/popover/content.svelte +2 -2
  227. package/dist/popover/content.svelte.d.ts +2 -2
  228. package/dist/popover/description.svelte +2 -2
  229. package/dist/popover/description.svelte.d.ts +2 -2
  230. package/dist/popover/index.d.ts +11 -9
  231. package/dist/popover/index.js +2 -9
  232. package/dist/popover/popover.d.ts +9 -0
  233. package/dist/popover/popover.js +9 -0
  234. package/dist/popover/positioner.svelte +2 -2
  235. package/dist/popover/positioner.svelte.d.ts +2 -2
  236. package/dist/popover/title.svelte +2 -2
  237. package/dist/popover/title.svelte.d.ts +2 -2
  238. package/dist/popover/trigger.svelte +2 -2
  239. package/dist/popover/trigger.svelte.d.ts +2 -2
  240. package/dist/presence/root.svelte +2 -2
  241. package/dist/presence/root.svelte.d.ts +2 -2
  242. package/dist/progress/circle-range.svelte +3 -2
  243. package/dist/progress/circle-range.svelte.d.ts +2 -2
  244. package/dist/progress/circle-track.svelte +3 -2
  245. package/dist/progress/circle-track.svelte.d.ts +2 -2
  246. package/dist/progress/circle.svelte +2 -2
  247. package/dist/progress/circle.svelte.d.ts +2 -2
  248. package/dist/progress/index.d.ts +10 -8
  249. package/dist/progress/index.js +2 -8
  250. package/dist/progress/label.svelte +2 -2
  251. package/dist/progress/label.svelte.d.ts +2 -2
  252. package/dist/progress/progress.d.ts +8 -0
  253. package/dist/progress/progress.js +8 -0
  254. package/dist/progress/range.svelte +2 -2
  255. package/dist/progress/range.svelte.d.ts +2 -2
  256. package/dist/progress/root.svelte +2 -2
  257. package/dist/progress/root.svelte.d.ts +2 -2
  258. package/dist/progress/track.svelte +2 -2
  259. package/dist/progress/track.svelte.d.ts +2 -2
  260. package/dist/progress/value-text.svelte +2 -2
  261. package/dist/progress/value-text.svelte.d.ts +2 -2
  262. package/dist/qr-code/frame.svelte +2 -2
  263. package/dist/qr-code/frame.svelte.d.ts +2 -2
  264. package/dist/qr-code/index.d.ts +6 -4
  265. package/dist/qr-code/index.js +2 -4
  266. package/dist/qr-code/overlay.svelte +2 -2
  267. package/dist/qr-code/overlay.svelte.d.ts +2 -2
  268. package/dist/qr-code/pattern.svelte +2 -2
  269. package/dist/qr-code/pattern.svelte.d.ts +2 -2
  270. package/dist/qr-code/qr-code.d.ts +4 -0
  271. package/dist/qr-code/qr-code.js +4 -0
  272. package/dist/qr-code/root.svelte +2 -2
  273. package/dist/qr-code/root.svelte.d.ts +2 -2
  274. package/dist/radio-group/index.d.ts +9 -7
  275. package/dist/radio-group/index.js +2 -7
  276. package/dist/radio-group/indicator.svelte +3 -2
  277. package/dist/radio-group/indicator.svelte.d.ts +2 -2
  278. package/dist/radio-group/item-control.svelte +3 -2
  279. package/dist/radio-group/item-control.svelte.d.ts +2 -2
  280. package/dist/radio-group/item-hidden-input.svelte +2 -2
  281. package/dist/radio-group/item-hidden-input.svelte.d.ts +2 -2
  282. package/dist/radio-group/item-text.svelte +3 -2
  283. package/dist/radio-group/item-text.svelte.d.ts +2 -2
  284. package/dist/radio-group/item.svelte +2 -2
  285. package/dist/radio-group/item.svelte.d.ts +2 -2
  286. package/dist/radio-group/label.svelte +2 -2
  287. package/dist/radio-group/label.svelte.d.ts +2 -2
  288. package/dist/radio-group/radio-group.d.ts +7 -0
  289. package/dist/radio-group/radio-group.js +7 -0
  290. package/dist/radio-group/root.svelte +2 -2
  291. package/dist/radio-group/root.svelte.d.ts +2 -2
  292. package/dist/rating-group/control.svelte +2 -2
  293. package/dist/rating-group/control.svelte.d.ts +2 -2
  294. package/dist/rating-group/hidden-input.svelte +2 -2
  295. package/dist/rating-group/hidden-input.svelte.d.ts +2 -2
  296. package/dist/rating-group/index.d.ts +7 -5
  297. package/dist/rating-group/index.js +2 -5
  298. package/dist/rating-group/item.svelte +2 -2
  299. package/dist/rating-group/item.svelte.d.ts +2 -2
  300. package/dist/rating-group/label.svelte +2 -2
  301. package/dist/rating-group/label.svelte.d.ts +2 -2
  302. package/dist/rating-group/rating-group.d.ts +5 -0
  303. package/dist/rating-group/rating-group.js +5 -0
  304. package/dist/rating-group/root.svelte +2 -2
  305. package/dist/rating-group/root.svelte.d.ts +2 -2
  306. package/dist/segment-group/anatomy.js +2 -0
  307. package/dist/segment-group/index.d.ts +2 -0
  308. package/dist/segment-group/index.js +2 -0
  309. package/dist/select/clear-trigger.svelte +3 -2
  310. package/dist/select/clear-trigger.svelte.d.ts +2 -2
  311. package/dist/select/content.svelte +2 -2
  312. package/dist/select/content.svelte.d.ts +2 -2
  313. package/dist/select/control.svelte +2 -2
  314. package/dist/select/control.svelte.d.ts +2 -2
  315. package/dist/select/hidden-select.svelte +3 -2
  316. package/dist/select/hidden-select.svelte.d.ts +2 -2
  317. package/dist/select/index.d.ts +18 -16
  318. package/dist/select/index.js +2 -16
  319. package/dist/select/indicator.svelte +2 -2
  320. package/dist/select/indicator.svelte.d.ts +2 -2
  321. package/dist/select/item-group-label.svelte +3 -2
  322. package/dist/select/item-group-label.svelte.d.ts +2 -2
  323. package/dist/select/item-group.svelte +2 -2
  324. package/dist/select/item-group.svelte.d.ts +2 -2
  325. package/dist/select/item-indicator.svelte +3 -2
  326. package/dist/select/item-indicator.svelte.d.ts +2 -2
  327. package/dist/select/item-text.svelte +2 -2
  328. package/dist/select/item-text.svelte.d.ts +2 -2
  329. package/dist/select/item.svelte +2 -2
  330. package/dist/select/item.svelte.d.ts +2 -2
  331. package/dist/select/label.svelte +2 -2
  332. package/dist/select/label.svelte.d.ts +2 -2
  333. package/dist/select/list.svelte +2 -2
  334. package/dist/select/list.svelte.d.ts +2 -2
  335. package/dist/select/positioner.svelte +2 -2
  336. package/dist/select/positioner.svelte.d.ts +2 -2
  337. package/dist/select/root.svelte +2 -2
  338. package/dist/select/root.svelte.d.ts +2 -2
  339. package/dist/select/select.d.ts +16 -0
  340. package/dist/select/select.js +16 -0
  341. package/dist/select/trigger.svelte +2 -2
  342. package/dist/select/trigger.svelte.d.ts +2 -2
  343. package/dist/select/value-text.svelte +2 -2
  344. package/dist/select/value-text.svelte.d.ts +2 -2
  345. package/dist/slider/control.svelte +2 -2
  346. package/dist/slider/control.svelte.d.ts +2 -2
  347. package/dist/slider/hidden-input.svelte +3 -2
  348. package/dist/slider/hidden-input.svelte.d.ts +2 -2
  349. package/dist/slider/index.d.ts +12 -10
  350. package/dist/slider/index.js +2 -10
  351. package/dist/slider/label.svelte +2 -2
  352. package/dist/slider/label.svelte.d.ts +2 -2
  353. package/dist/slider/marker-group.svelte +2 -2
  354. package/dist/slider/marker-group.svelte.d.ts +2 -2
  355. package/dist/slider/marker.svelte +2 -2
  356. package/dist/slider/marker.svelte.d.ts +2 -2
  357. package/dist/slider/range.svelte +2 -2
  358. package/dist/slider/range.svelte.d.ts +2 -2
  359. package/dist/slider/root.svelte +2 -2
  360. package/dist/slider/root.svelte.d.ts +2 -2
  361. package/dist/slider/slider.d.ts +10 -0
  362. package/dist/slider/slider.js +10 -0
  363. package/dist/slider/thumb.svelte +2 -2
  364. package/dist/slider/thumb.svelte.d.ts +2 -2
  365. package/dist/slider/track.svelte +2 -2
  366. package/dist/slider/track.svelte.d.ts +2 -2
  367. package/dist/slider/value-text.svelte +2 -2
  368. package/dist/slider/value-text.svelte.d.ts +2 -2
  369. package/dist/steps/content.svelte +2 -2
  370. package/dist/steps/content.svelte.d.ts +2 -2
  371. package/dist/steps/index.d.ts +12 -10
  372. package/dist/steps/index.js +2 -10
  373. package/dist/steps/indicator.svelte +2 -2
  374. package/dist/steps/indicator.svelte.d.ts +2 -2
  375. package/dist/steps/item.svelte +2 -2
  376. package/dist/steps/item.svelte.d.ts +2 -2
  377. package/dist/steps/list.svelte +2 -2
  378. package/dist/steps/list.svelte.d.ts +2 -2
  379. package/dist/steps/next-trigger.svelte +3 -2
  380. package/dist/steps/next-trigger.svelte.d.ts +2 -2
  381. package/dist/steps/prev-trigger.svelte +3 -2
  382. package/dist/steps/prev-trigger.svelte.d.ts +2 -2
  383. package/dist/steps/progress.svelte +2 -2
  384. package/dist/steps/progress.svelte.d.ts +2 -2
  385. package/dist/steps/root.svelte +2 -2
  386. package/dist/steps/root.svelte.d.ts +2 -2
  387. package/dist/steps/separator.svelte +2 -2
  388. package/dist/steps/separator.svelte.d.ts +2 -2
  389. package/dist/steps/steps.d.ts +10 -0
  390. package/dist/steps/steps.js +10 -0
  391. package/dist/steps/trigger.svelte +2 -2
  392. package/dist/steps/trigger.svelte.d.ts +2 -2
  393. package/dist/switch/control.svelte +2 -2
  394. package/dist/switch/control.svelte.d.ts +2 -2
  395. package/dist/switch/hidden-input.svelte +3 -2
  396. package/dist/switch/hidden-input.svelte.d.ts +2 -2
  397. package/dist/switch/index.d.ts +7 -5
  398. package/dist/switch/index.js +2 -5
  399. package/dist/switch/label.svelte +2 -2
  400. package/dist/switch/label.svelte.d.ts +2 -2
  401. package/dist/switch/root.svelte +2 -2
  402. package/dist/switch/root.svelte.d.ts +2 -2
  403. package/dist/switch/switch.d.ts +5 -0
  404. package/dist/switch/switch.js +5 -0
  405. package/dist/switch/thumb.svelte +2 -2
  406. package/dist/switch/thumb.svelte.d.ts +2 -2
  407. package/dist/tabs/content.svelte +2 -2
  408. package/dist/tabs/content.svelte.d.ts +2 -2
  409. package/dist/tabs/index.d.ts +6 -4
  410. package/dist/tabs/index.js +2 -4
  411. package/dist/tabs/list.svelte +2 -2
  412. package/dist/tabs/list.svelte.d.ts +2 -2
  413. package/dist/tabs/root.svelte +2 -2
  414. package/dist/tabs/root.svelte.d.ts +2 -2
  415. package/dist/tabs/tabs.d.ts +4 -0
  416. package/dist/tabs/tabs.js +4 -0
  417. package/dist/tabs/trigger.svelte +2 -2
  418. package/dist/tabs/trigger.svelte.d.ts +2 -2
  419. package/dist/tags-input/clear-trigger.svelte +2 -2
  420. package/dist/tags-input/clear-trigger.svelte.d.ts +2 -2
  421. package/dist/tags-input/control.svelte +2 -2
  422. package/dist/tags-input/control.svelte.d.ts +2 -2
  423. package/dist/tags-input/hidden-input.svelte +3 -2
  424. package/dist/tags-input/hidden-input.svelte.d.ts +2 -2
  425. package/dist/tags-input/index.d.ts +13 -11
  426. package/dist/tags-input/index.js +2 -11
  427. package/dist/tags-input/input.svelte +2 -2
  428. package/dist/tags-input/input.svelte.d.ts +2 -2
  429. package/dist/tags-input/item-delete-trigger.svelte +2 -2
  430. package/dist/tags-input/item-delete-trigger.svelte.d.ts +2 -2
  431. package/dist/tags-input/item-input.svelte +3 -2
  432. package/dist/tags-input/item-input.svelte.d.ts +2 -2
  433. package/dist/tags-input/item-preview.svelte +3 -2
  434. package/dist/tags-input/item-preview.svelte.d.ts +2 -2
  435. package/dist/tags-input/item-text.svelte +2 -2
  436. package/dist/tags-input/item-text.svelte.d.ts +2 -2
  437. package/dist/tags-input/item.svelte +2 -2
  438. package/dist/tags-input/item.svelte.d.ts +2 -2
  439. package/dist/tags-input/label.svelte +2 -2
  440. package/dist/tags-input/label.svelte.d.ts +2 -2
  441. package/dist/tags-input/root.svelte +2 -2
  442. package/dist/tags-input/root.svelte.d.ts +2 -2
  443. package/dist/tags-input/tags-input.d.ts +11 -0
  444. package/dist/tags-input/tags-input.js +11 -0
  445. package/dist/timer/action-trigger.svelte +2 -2
  446. package/dist/timer/action-trigger.svelte.d.ts +2 -2
  447. package/dist/timer/index.d.ts +8 -6
  448. package/dist/timer/index.js +2 -6
  449. package/dist/timer/item-label.svelte +2 -2
  450. package/dist/timer/item-label.svelte.d.ts +2 -2
  451. package/dist/timer/item-value.svelte +2 -2
  452. package/dist/timer/item-value.svelte.d.ts +2 -2
  453. package/dist/timer/item.svelte +2 -2
  454. package/dist/timer/item.svelte.d.ts +2 -2
  455. package/dist/timer/root.svelte +2 -2
  456. package/dist/timer/root.svelte.d.ts +2 -2
  457. package/dist/timer/separator.svelte +2 -2
  458. package/dist/timer/separator.svelte.d.ts +2 -2
  459. package/dist/timer/timer.d.ts +6 -0
  460. package/dist/timer/timer.js +6 -0
  461. package/dist/toast/action-trigger.svelte +3 -2
  462. package/dist/toast/action-trigger.svelte.d.ts +2 -2
  463. package/dist/toast/close-trigger.svelte +3 -2
  464. package/dist/toast/close-trigger.svelte.d.ts +2 -2
  465. package/dist/toast/description.svelte +2 -2
  466. package/dist/toast/description.svelte.d.ts +2 -2
  467. package/dist/toast/index.d.ts +6 -1
  468. package/dist/toast/index.js +6 -0
  469. package/dist/toast/root.svelte +3 -2
  470. package/dist/toast/root.svelte.d.ts +2 -2
  471. package/dist/toast/title.svelte +2 -2
  472. package/dist/toast/title.svelte.d.ts +2 -2
  473. package/dist/toast/toaster.svelte +2 -2
  474. package/dist/toast/toaster.svelte.d.ts +2 -2
  475. package/dist/toggle-group/index.d.ts +4 -2
  476. package/dist/toggle-group/index.js +2 -2
  477. package/dist/toggle-group/item.svelte +2 -2
  478. package/dist/toggle-group/item.svelte.d.ts +2 -2
  479. package/dist/toggle-group/root.svelte +2 -2
  480. package/dist/toggle-group/root.svelte.d.ts +2 -2
  481. package/dist/toggle-group/toggle-group.d.ts +2 -0
  482. package/dist/toggle-group/toggle-group.js +2 -0
  483. package/dist/tooltip/arrow-tip.svelte +2 -2
  484. package/dist/tooltip/arrow-tip.svelte.d.ts +2 -2
  485. package/dist/tooltip/arrow.svelte +2 -2
  486. package/dist/tooltip/arrow.svelte.d.ts +2 -2
  487. package/dist/tooltip/content.svelte +2 -2
  488. package/dist/tooltip/content.svelte.d.ts +2 -2
  489. package/dist/tooltip/index.d.ts +8 -6
  490. package/dist/tooltip/index.js +2 -6
  491. package/dist/tooltip/positioner.svelte +2 -2
  492. package/dist/tooltip/positioner.svelte.d.ts +2 -2
  493. package/dist/tooltip/tooltip.d.ts +6 -0
  494. package/dist/tooltip/tooltip.js +6 -0
  495. package/dist/tooltip/trigger.svelte +2 -2
  496. package/dist/tooltip/trigger.svelte.d.ts +2 -2
  497. package/dist/tree-view/.gitkeep +0 -0
  498. package/dist/types.d.ts +6 -2
  499. package/package.json +40 -39
@@ -1,7 +1,7 @@
1
- import type { Assign, SvelteHtmlProps } from '../types.js';
1
+ import type { Assign, HtmlIngredientProps } from '../types.js';
2
2
  import type { Snippet } from 'svelte';
3
3
  import type { CreateTimerContextProps, CreateTimerContextReturn } from './context.svelte.js';
4
- export interface TimerProps extends Assign<Omit<SvelteHtmlProps<'div'>, 'children'>, Omit<CreateTimerContextProps, 'id'>> {
4
+ export interface TimerProps extends Assign<Omit<HtmlIngredientProps<'div'>, 'children'>, Omit<CreateTimerContextProps, 'id'>> {
5
5
  children?: Snippet<[context: CreateTimerContextReturn]>;
6
6
  }
7
7
  interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
@@ -1,7 +1,7 @@
1
1
  <script lang="ts" context="module">
2
- import type {SvelteHtmlProps} from '../types.js';
2
+ import type {HtmlIngredientProps} from '../types.js';
3
3
 
4
- export interface TimerSeparatorProps extends SvelteHtmlProps<'span'> {}
4
+ export interface TimerSeparatorProps extends HtmlIngredientProps<'span'> {}
5
5
  </script>
6
6
 
7
7
  <script lang="ts">
@@ -1,5 +1,5 @@
1
- import type { SvelteHtmlProps } from '../types.js';
2
- export interface TimerSeparatorProps extends SvelteHtmlProps<'span'> {
1
+ import type { HtmlIngredientProps } from '../types.js';
2
+ export interface TimerSeparatorProps extends HtmlIngredientProps<'span'> {
3
3
  }
4
4
  interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
5
5
  new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
@@ -0,0 +1,6 @@
1
+ export { default as ActionTrigger } from './action-trigger.svelte';
2
+ export { default as ItemLabel } from './item-label.svelte';
3
+ export { default as ItemValue } from './item-value.svelte';
4
+ export { default as Item } from './item.svelte';
5
+ export { default as Root } from './root.svelte';
6
+ export { default as Separator } from './separator.svelte';
@@ -0,0 +1,6 @@
1
+ export { default as ActionTrigger } from './action-trigger.svelte';
2
+ export { default as ItemLabel } from './item-label.svelte';
3
+ export { default as ItemValue } from './item-value.svelte';
4
+ export { default as Item } from './item.svelte';
5
+ export { default as Root } from './root.svelte';
6
+ export { default as Separator } from './separator.svelte';
@@ -1,7 +1,8 @@
1
1
  <script lang="ts" context="module">
2
- import type {SvelteHtmlProps} from '../types.js';
2
+ import type {HtmlIngredientProps} from '../types.js';
3
3
 
4
- export interface ToastActionTriggerProps extends SvelteHtmlProps<'button'> {}
4
+ export interface ToastActionTriggerProps
5
+ extends HtmlIngredientProps<'button'> {}
5
6
  </script>
6
7
 
7
8
  <script lang="ts">
@@ -1,5 +1,5 @@
1
- import type { SvelteHtmlProps } from '../types.js';
2
- export interface ToastActionTriggerProps extends SvelteHtmlProps<'button'> {
1
+ import type { HtmlIngredientProps } from '../types.js';
2
+ export interface ToastActionTriggerProps extends HtmlIngredientProps<'button'> {
3
3
  }
4
4
  interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
5
5
  new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
@@ -1,7 +1,8 @@
1
1
  <script lang="ts" context="module">
2
- import type {SvelteHtmlProps} from '../types.js';
2
+ import type {HtmlIngredientProps} from '../types.js';
3
3
 
4
- export interface ToastCloseTriggerProps extends SvelteHtmlProps<'button'> {}
4
+ export interface ToastCloseTriggerProps
5
+ extends HtmlIngredientProps<'button'> {}
5
6
  </script>
6
7
 
7
8
  <script lang="ts">
@@ -1,5 +1,5 @@
1
- import type { SvelteHtmlProps } from '../types.js';
2
- export interface ToastCloseTriggerProps extends SvelteHtmlProps<'button'> {
1
+ import type { HtmlIngredientProps } from '../types.js';
2
+ export interface ToastCloseTriggerProps extends HtmlIngredientProps<'button'> {
3
3
  }
4
4
  interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
5
5
  new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
@@ -1,7 +1,7 @@
1
1
  <script lang="ts" context="module">
2
- import type {SvelteHtmlProps} from '../types.js';
2
+ import type {HtmlIngredientProps} from '../types.js';
3
3
 
4
- export interface ToastDescriptionProps extends SvelteHtmlProps<'div'> {}
4
+ export interface ToastDescriptionProps extends HtmlIngredientProps<'div'> {}
5
5
  </script>
6
6
 
7
7
  <script lang="ts">
@@ -1,5 +1,5 @@
1
- import type { SvelteHtmlProps } from '../types.js';
2
- export interface ToastDescriptionProps extends SvelteHtmlProps<'div'> {
1
+ import type { HtmlIngredientProps } from '../types.js';
2
+ export interface ToastDescriptionProps extends HtmlIngredientProps<'div'> {
3
3
  }
4
4
  interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
5
5
  new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
@@ -1,4 +1,9 @@
1
+ export { anatomy as toastAnatomy } from '@zag-js/toast';
2
+ export { type ToastActionTriggerProps } from './action-trigger.svelte';
3
+ export { type ToastCloseTriggerProps } from './close-trigger.svelte';
1
4
  export { default as createToaster, type CreateToasterProps, type CreateToasterReturn, } from './create-toaster.svelte.js';
5
+ export { type ToastDescriptionProps } from './description.svelte';
6
+ export { type ToastProps } from './root.svelte';
7
+ export { type ToastTitleProps } from './title.svelte';
2
8
  export * as Toast from './toast.js';
3
- export type { ToastActionTriggerProps, ToastCloseTriggerProps, ToastDescriptionProps, ToastProps, ToastTitleProps, } from './toast.js';
4
9
  export { default as Toaster, type ToasterProps } from './toaster.svelte';
@@ -1,3 +1,9 @@
1
+ export { anatomy as toastAnatomy } from '@zag-js/toast';
2
+ export {} from './action-trigger.svelte';
3
+ export {} from './close-trigger.svelte';
1
4
  export { default as createToaster, } from './create-toaster.svelte.js';
5
+ export {} from './description.svelte';
6
+ export {} from './root.svelte';
7
+ export {} from './title.svelte';
2
8
  export * as Toast from './toast.js';
3
9
  export { default as Toaster } from './toaster.svelte';
@@ -1,9 +1,10 @@
1
1
  <script lang="ts" context="module">
2
- import type {SvelteHtmlProps} from '../types.js';
2
+ import type {HtmlIngredientProps} from '../types.js';
3
3
  import type {Snippet} from 'svelte';
4
4
  import type {CreateToastContextReturn} from './context.svelte.js';
5
5
 
6
- export interface ToastProps extends Omit<SvelteHtmlProps<'div'>, 'children'> {
6
+ export interface ToastProps
7
+ extends Omit<HtmlIngredientProps<'div'>, 'children'> {
7
8
  children?: Snippet<[context: CreateToastContextReturn]>;
8
9
  }
9
10
  </script>
@@ -1,7 +1,7 @@
1
- import type { SvelteHtmlProps } from '../types.js';
1
+ import type { HtmlIngredientProps } from '../types.js';
2
2
  import type { Snippet } from 'svelte';
3
3
  import type { CreateToastContextReturn } from './context.svelte.js';
4
- export interface ToastProps extends Omit<SvelteHtmlProps<'div'>, 'children'> {
4
+ export interface ToastProps extends Omit<HtmlIngredientProps<'div'>, 'children'> {
5
5
  children?: Snippet<[context: CreateToastContextReturn]>;
6
6
  }
7
7
  interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
@@ -1,7 +1,7 @@
1
1
  <script lang="ts" context="module">
2
- import type {SvelteHtmlProps} from '../types.js';
2
+ import type {HtmlIngredientProps} from '../types.js';
3
3
 
4
- export interface ToastTitleProps extends SvelteHtmlProps<'div'> {}
4
+ export interface ToastTitleProps extends HtmlIngredientProps<'div'> {}
5
5
  </script>
6
6
 
7
7
  <script lang="ts">
@@ -1,5 +1,5 @@
1
- import type { SvelteHtmlProps } from '../types.js';
2
- export interface ToastTitleProps extends SvelteHtmlProps<'div'> {
1
+ import type { HtmlIngredientProps } from '../types.js';
2
+ export interface ToastTitleProps extends HtmlIngredientProps<'div'> {
3
3
  }
4
4
  interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
5
5
  new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
@@ -1,11 +1,11 @@
1
1
  <script lang="ts" context="module">
2
- import type {SvelteHtmlProps} from '../types.js';
2
+ import type {HtmlIngredientProps} from '../types.js';
3
3
  import type {Snippet} from 'svelte';
4
4
  import type {CreateToastContextReturn} from './context.svelte.js';
5
5
  import type {CreateToasterReturn} from './create-toaster.svelte.js';
6
6
 
7
7
  export interface ToasterProps
8
- extends Omit<SvelteHtmlProps<'div'>, 'children'> {
8
+ extends Omit<HtmlIngredientProps<'div'>, 'children'> {
9
9
  toaster: CreateToasterReturn;
10
10
  children: Snippet<[CreateToastContextReturn]>;
11
11
  }
@@ -1,8 +1,8 @@
1
- import type { SvelteHtmlProps } from '../types.js';
1
+ import type { HtmlIngredientProps } from '../types.js';
2
2
  import type { Snippet } from 'svelte';
3
3
  import type { CreateToastContextReturn } from './context.svelte.js';
4
4
  import type { CreateToasterReturn } from './create-toaster.svelte.js';
5
- export interface ToasterProps extends Omit<SvelteHtmlProps<'div'>, 'children'> {
5
+ export interface ToasterProps extends Omit<HtmlIngredientProps<'div'>, 'children'> {
6
6
  toaster: CreateToasterReturn;
7
7
  children: Snippet<[CreateToastContextReturn]>;
8
8
  }
@@ -1,2 +1,4 @@
1
- export { default as Item, type ToggleGroupItemProps } from './item.svelte';
2
- export { default as Root, type ToggleGroupProps } from './root.svelte';
1
+ export { anatomy as toggleGroupAnatomy } from '@zag-js/toggle-group';
2
+ export type { ToggleGroupItemProps } from './item.svelte';
3
+ export type { ToggleGroupProps } from './root.svelte';
4
+ export * as ToggleGroup from './toggle-group.js';
@@ -1,2 +1,2 @@
1
- export { default as Item } from './item.svelte';
2
- export { default as Root } from './root.svelte';
1
+ export { anatomy as toggleGroupAnatomy } from '@zag-js/toggle-group';
2
+ export * as ToggleGroup from './toggle-group.js';
@@ -1,10 +1,10 @@
1
1
  <script lang="ts" context="module">
2
- import type {Assign, SvelteHtmlProps} from '../types.js';
2
+ import type {Assign, HtmlIngredientProps} from '../types.js';
3
3
  import type {ItemProps, ItemState} from '@zag-js/toggle-group';
4
4
  import type {Snippet} from 'svelte';
5
5
 
6
6
  export interface ToggleGroupItemProps
7
- extends Assign<Omit<SvelteHtmlProps<'button'>, 'children'>, ItemProps> {
7
+ extends Assign<Omit<HtmlIngredientProps<'button'>, 'children'>, ItemProps> {
8
8
  children?: Snippet<[state: ItemState]>;
9
9
  }
10
10
  </script>
@@ -1,7 +1,7 @@
1
- import type { Assign, SvelteHtmlProps } from '../types.js';
1
+ import type { Assign, HtmlIngredientProps } from '../types.js';
2
2
  import type { ItemProps, ItemState } from '@zag-js/toggle-group';
3
3
  import type { Snippet } from 'svelte';
4
- export interface ToggleGroupItemProps extends Assign<Omit<SvelteHtmlProps<'button'>, 'children'>, ItemProps> {
4
+ export interface ToggleGroupItemProps extends Assign<Omit<HtmlIngredientProps<'button'>, 'children'>, ItemProps> {
5
5
  children?: Snippet<[state: ItemState]>;
6
6
  }
7
7
  interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
@@ -1,5 +1,5 @@
1
1
  <script lang="ts" context="module">
2
- import type {Assign, SvelteHtmlProps} from '../types.js';
2
+ import type {Assign, HtmlIngredientProps} from '../types.js';
3
3
  import type {Snippet} from 'svelte';
4
4
  import type {
5
5
  CreateToggleGroupContextProps,
@@ -8,7 +8,7 @@
8
8
 
9
9
  export interface ToggleGroupProps
10
10
  extends Assign<
11
- Omit<SvelteHtmlProps<'div'>, 'children'>,
11
+ Omit<HtmlIngredientProps<'div'>, 'children'>,
12
12
  Omit<CreateToggleGroupContextProps, 'id'>
13
13
  > {
14
14
  children?: Snippet<[context: CreateToggleGroupContextReturn]>;
@@ -1,7 +1,7 @@
1
- import type { Assign, SvelteHtmlProps } from '../types.js';
1
+ import type { Assign, HtmlIngredientProps } from '../types.js';
2
2
  import type { Snippet } from 'svelte';
3
3
  import type { CreateToggleGroupContextProps, CreateToggleGroupContextReturn } from './context.svelte.js';
4
- export interface ToggleGroupProps extends Assign<Omit<SvelteHtmlProps<'div'>, 'children'>, Omit<CreateToggleGroupContextProps, 'id'>> {
4
+ export interface ToggleGroupProps extends Assign<Omit<HtmlIngredientProps<'div'>, 'children'>, Omit<CreateToggleGroupContextProps, 'id'>> {
5
5
  children?: Snippet<[context: CreateToggleGroupContextReturn]>;
6
6
  }
7
7
  interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
@@ -0,0 +1,2 @@
1
+ export { default as Item } from './item.svelte';
2
+ export { default as Root } from './root.svelte';
@@ -0,0 +1,2 @@
1
+ export { default as Item } from './item.svelte';
2
+ export { default as Root } from './root.svelte';
@@ -1,7 +1,7 @@
1
1
  <script lang="ts" context="module">
2
- import type {SvelteHtmlProps} from '../types.js';
2
+ import type {HtmlIngredientProps} from '../types.js';
3
3
 
4
- export interface TooltipArrowTipProps extends SvelteHtmlProps<'div'> {}
4
+ export interface TooltipArrowTipProps extends HtmlIngredientProps<'div'> {}
5
5
  </script>
6
6
 
7
7
  <script lang="ts">
@@ -1,5 +1,5 @@
1
- import type { SvelteHtmlProps } from '../types.js';
2
- export interface TooltipArrowTipProps extends SvelteHtmlProps<'div'> {
1
+ import type { HtmlIngredientProps } from '../types.js';
2
+ export interface TooltipArrowTipProps extends HtmlIngredientProps<'div'> {
3
3
  }
4
4
  interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
5
5
  new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
@@ -1,7 +1,7 @@
1
1
  <script lang="ts" context="module">
2
- import type {SvelteHtmlProps} from '../types.js';
2
+ import type {HtmlIngredientProps} from '../types.js';
3
3
 
4
- export interface TooltipArrowProps extends SvelteHtmlProps<'div'> {}
4
+ export interface TooltipArrowProps extends HtmlIngredientProps<'div'> {}
5
5
  </script>
6
6
 
7
7
  <script lang="ts">
@@ -1,5 +1,5 @@
1
- import type { SvelteHtmlProps } from '../types.js';
2
- export interface TooltipArrowProps extends SvelteHtmlProps<'div'> {
1
+ import type { HtmlIngredientProps } from '../types.js';
2
+ export interface TooltipArrowProps extends HtmlIngredientProps<'div'> {
3
3
  }
4
4
  interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
5
5
  new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
@@ -1,7 +1,7 @@
1
1
  <script lang="ts" context="module">
2
- import type {SvelteHtmlProps} from '../types.js';
2
+ import type {HtmlIngredientProps} from '../types.js';
3
3
 
4
- export interface TooltipContentProps extends SvelteHtmlProps<'div'> {}
4
+ export interface TooltipContentProps extends HtmlIngredientProps<'div'> {}
5
5
  </script>
6
6
 
7
7
  <script lang="ts">
@@ -1,5 +1,5 @@
1
- import type { SvelteHtmlProps } from '../types.js';
2
- export interface TooltipContentProps extends SvelteHtmlProps<'div'> {
1
+ import type { HtmlIngredientProps } from '../types.js';
2
+ export interface TooltipContentProps extends HtmlIngredientProps<'div'> {
3
3
  }
4
4
  interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
5
5
  new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
@@ -1,6 +1,8 @@
1
- export { default as ArrowTip, type TooltipArrowTipProps, } from './arrow-tip.svelte';
2
- export { default as Arrow, type TooltipArrowProps } from './arrow.svelte';
3
- export { default as Content, type TooltipContentProps } from './content.svelte';
4
- export { default as Positioner, type TooltipPositionerProps, } from './positioner.svelte';
5
- export { default as Root, type TooltipProps } from './root.svelte';
6
- export { default as Trigger, type TooltipTriggerProps } from './trigger.svelte';
1
+ export { anatomy as tooltipAnatomy } from '@zag-js/tooltip';
2
+ export type { TooltipArrowTipProps } from './arrow-tip.svelte';
3
+ export type { TooltipArrowProps } from './arrow.svelte';
4
+ export type { TooltipContentProps } from './content.svelte';
5
+ export type { TooltipPositionerProps } from './positioner.svelte';
6
+ export type { TooltipProps } from './root.svelte';
7
+ export * as Tooltip from './tooltip.js';
8
+ export type { TooltipTriggerProps } from './trigger.svelte';
@@ -1,6 +1,2 @@
1
- export { default as ArrowTip, } from './arrow-tip.svelte';
2
- export { default as Arrow } from './arrow.svelte';
3
- export { default as Content } from './content.svelte';
4
- export { default as Positioner, } from './positioner.svelte';
5
- export { default as Root } from './root.svelte';
6
- export { default as Trigger } from './trigger.svelte';
1
+ export { anatomy as tooltipAnatomy } from '@zag-js/tooltip';
2
+ export * as Tooltip from './tooltip.js';
@@ -1,7 +1,7 @@
1
1
  <script lang="ts" context="module">
2
- import type {SvelteHtmlProps} from '../types.js';
2
+ import type {HtmlIngredientProps} from '../types.js';
3
3
 
4
- export interface TooltipPositionerProps extends SvelteHtmlProps<'div'> {}
4
+ export interface TooltipPositionerProps extends HtmlIngredientProps<'div'> {}
5
5
  </script>
6
6
 
7
7
  <script lang="ts">
@@ -1,5 +1,5 @@
1
- import type { SvelteHtmlProps } from '../types.js';
2
- export interface TooltipPositionerProps extends SvelteHtmlProps<'div'> {
1
+ import type { HtmlIngredientProps } from '../types.js';
2
+ export interface TooltipPositionerProps extends HtmlIngredientProps<'div'> {
3
3
  }
4
4
  interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
5
5
  new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
@@ -0,0 +1,6 @@
1
+ export { default as ArrowTip } from './arrow-tip.svelte';
2
+ export { default as Arrow } from './arrow.svelte';
3
+ export { default as Content } from './content.svelte';
4
+ export { default as Positioner } from './positioner.svelte';
5
+ export { default as Root } from './root.svelte';
6
+ export { default as Trigger } from './trigger.svelte';
@@ -0,0 +1,6 @@
1
+ export { default as ArrowTip } from './arrow-tip.svelte';
2
+ export { default as Arrow } from './arrow.svelte';
3
+ export { default as Content } from './content.svelte';
4
+ export { default as Positioner } from './positioner.svelte';
5
+ export { default as Root } from './root.svelte';
6
+ export { default as Trigger } from './trigger.svelte';
@@ -1,7 +1,7 @@
1
1
  <script lang="ts" context="module">
2
- import type {SvelteHtmlProps} from '../types.js';
2
+ import type {HtmlIngredientProps} from '../types.js';
3
3
 
4
- export interface TooltipTriggerProps extends SvelteHtmlProps<'button'> {}
4
+ export interface TooltipTriggerProps extends HtmlIngredientProps<'button'> {}
5
5
  </script>
6
6
 
7
7
  <script lang="ts">
@@ -1,5 +1,5 @@
1
- import type { SvelteHtmlProps } from '../types.js';
2
- export interface TooltipTriggerProps extends SvelteHtmlProps<'button'> {
1
+ import type { HtmlIngredientProps } from '../types.js';
2
+ export interface TooltipTriggerProps extends HtmlIngredientProps<'button'> {
3
3
  }
4
4
  interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
5
5
  new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
File without changes
package/dist/types.d.ts CHANGED
@@ -3,6 +3,10 @@ export type Assign<Target, Source> = Omit<Target, keyof Source> & Source;
3
3
  type KnownKeys<T> = keyof {
4
4
  [K in keyof T as string extends K ? never : number extends K ? never : K]: string;
5
5
  };
6
- type SvelteHtmlPropKeys = KnownKeys<SvelteHTMLElements>;
7
- export type SvelteHtmlProps<T extends SvelteHtmlPropKeys> = Assign<SvelteHTMLElements[T], {}>;
6
+ interface IngredientProps {
7
+ /** TODO */
8
+ asChild?: never;
9
+ }
10
+ type IntrinsicElements = KnownKeys<SvelteHTMLElements>;
11
+ export type HtmlIngredientProps<T extends IntrinsicElements> = Assign<SvelteHTMLElements[T], IngredientProps>;
8
12
  export {};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ui-ingredients",
3
3
  "type": "module",
4
- "version": "0.0.9",
4
+ "version": "0.0.11",
5
5
  "packageManager": "pnpm@9.7.0",
6
6
  "svelte": "./dist/index.js",
7
7
  "types": "./dist/index.d.ts",
@@ -85,42 +85,43 @@
85
85
  "release": "release-it"
86
86
  },
87
87
  "dependencies": {
88
- "@zag-js/accordion": "0.65.0",
89
- "@zag-js/avatar": "0.65.0",
90
- "@zag-js/carousel": "0.65.0",
91
- "@zag-js/checkbox": "0.65.0",
92
- "@zag-js/clipboard": "0.65.0",
93
- "@zag-js/collapsible": "0.65.0",
94
- "@zag-js/color-picker": "0.65.0",
95
- "@zag-js/combobox": "0.65.0",
96
- "@zag-js/date-picker": "0.65.0",
97
- "@zag-js/dialog": "0.65.0",
98
- "@zag-js/editable": "0.65.0",
99
- "@zag-js/file-upload": "0.65.0",
100
- "@zag-js/hover-card": "0.65.0",
101
- "@zag-js/menu": "0.65.0",
102
- "@zag-js/number-input": "0.65.0",
103
- "@zag-js/pagination": "0.65.0",
104
- "@zag-js/pin-input": "0.65.0",
105
- "@zag-js/popover": "0.65.0",
106
- "@zag-js/presence": "0.65.0",
107
- "@zag-js/progress": "0.65.0",
108
- "@zag-js/qr-code": "0.65.0",
109
- "@zag-js/radio-group": "0.65.0",
110
- "@zag-js/rating-group": "0.65.0",
111
- "@zag-js/select": "0.65.0",
112
- "@zag-js/signature-pad": "0.65.0",
113
- "@zag-js/slider": "0.65.0",
114
- "@zag-js/splitter": "0.65.0",
115
- "@zag-js/steps": "0.65.0",
116
- "@zag-js/svelte": "0.65.0",
117
- "@zag-js/switch": "0.65.0",
118
- "@zag-js/tabs": "0.65.0",
119
- "@zag-js/tags-input": "0.65.0",
120
- "@zag-js/timer": "0.65.0",
121
- "@zag-js/toast": "0.65.0",
122
- "@zag-js/toggle-group": "0.65.0",
123
- "@zag-js/tooltip": "0.65.0",
88
+ "@zag-js/accordion": "0.65.1",
89
+ "@zag-js/avatar": "0.65.1",
90
+ "@zag-js/carousel": "0.65.1",
91
+ "@zag-js/checkbox": "0.65.1",
92
+ "@zag-js/clipboard": "0.65.1",
93
+ "@zag-js/collapsible": "0.65.1",
94
+ "@zag-js/color-picker": "0.65.1",
95
+ "@zag-js/combobox": "0.65.1",
96
+ "@zag-js/date-picker": "0.65.1",
97
+ "@zag-js/dialog": "0.65.1",
98
+ "@zag-js/editable": "0.65.1",
99
+ "@zag-js/file-upload": "0.65.1",
100
+ "@zag-js/hover-card": "0.65.1",
101
+ "@zag-js/menu": "0.65.1",
102
+ "@zag-js/number-input": "0.65.1",
103
+ "@zag-js/pagination": "0.65.1",
104
+ "@zag-js/pin-input": "0.65.1",
105
+ "@zag-js/popover": "0.65.1",
106
+ "@zag-js/presence": "0.65.1",
107
+ "@zag-js/progress": "0.65.1",
108
+ "@zag-js/qr-code": "0.65.1",
109
+ "@zag-js/radio-group": "0.65.1",
110
+ "@zag-js/rating-group": "0.65.1",
111
+ "@zag-js/select": "0.65.1",
112
+ "@zag-js/signature-pad": "0.65.1",
113
+ "@zag-js/slider": "0.65.1",
114
+ "@zag-js/splitter": "0.65.1",
115
+ "@zag-js/steps": "0.65.1",
116
+ "@zag-js/svelte": "0.65.1",
117
+ "@zag-js/switch": "0.65.1",
118
+ "@zag-js/tabs": "0.65.1",
119
+ "@zag-js/tags-input": "0.65.1",
120
+ "@zag-js/timer": "0.65.1",
121
+ "@zag-js/toast": "0.65.1",
122
+ "@zag-js/toggle-group": "0.65.1",
123
+ "@zag-js/tooltip": "0.65.1",
124
+ "@zag-js/tree-view": "0.65.1",
124
125
  "nanoid": "5.0.7"
125
126
  },
126
127
  "peerDependencies": {
@@ -136,11 +137,11 @@
136
137
  "postcss": "8.4.41",
137
138
  "publint": "0.2.10",
138
139
  "release-it": "17.6.0",
139
- "svelte": "5.0.0-next.225",
140
+ "svelte": "5.0.0-next.229",
140
141
  "svelte-check": "3.8.5",
141
142
  "tailwindcss": "3.4.10",
142
143
  "typescript": "5.5.4",
143
- "vite": "5.4.1",
144
+ "vite": "5.4.2",
144
145
  "vitest": "2.0.5"
145
146
  },
146
147
  "release-it": {