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
package/README.md CHANGED
@@ -46,7 +46,7 @@ npm install ui-ingredients
46
46
  - 🟡 DatePicker
47
47
  - 🟢 Dialog
48
48
  - 🟢 Editable
49
- - FileUpload
49
+ - 🟡 FileUpload
50
50
  - 🟢 HoverCard
51
51
  - 🟡 Menu
52
52
  - 🟢 NumberInput
@@ -60,6 +60,7 @@ npm install ui-ingredients
60
60
  - 🟢 RadioGroup
61
61
  - 🟢 RatingGroup
62
62
  - 🟢 Select
63
+ - 🟢 SegmentGroup
63
64
  - ⚪ SignaturePad
64
65
  - 🟢 Slider
65
66
  - ⚪ Splitter
@@ -71,5 +72,6 @@ npm install ui-ingredients
71
72
  - 🟢 Toast
72
73
  - 🟢 ToggleGroup
73
74
  - 🟢 Tooltip
75
+ - ⚪ TreeView
74
76
 
75
77
  View components demo [here](https://ui-ingredients.vercel.app/)
@@ -0,0 +1,5 @@
1
+ export { default as ItemContent } from './item-content.svelte';
2
+ export { default as ItemIndicator } from './item-indicator.svelte';
3
+ export { default as ItemTrigger } from './item-trigger.svelte';
4
+ export { default as Item } from './item.svelte';
5
+ export { default as Root } from './root.svelte';
@@ -0,0 +1,5 @@
1
+ export { default as ItemContent } from './item-content.svelte';
2
+ export { default as ItemIndicator } from './item-indicator.svelte';
3
+ export { default as ItemTrigger } from './item-trigger.svelte';
4
+ export { default as Item } from './item.svelte';
5
+ export { default as Root } from './root.svelte';
@@ -4,7 +4,7 @@ export interface CreateAccordionContextProps extends accordion.Context {
4
4
  export interface CreateAccordionContextReturn extends ReturnType<typeof createAccordionContext> {
5
5
  }
6
6
  export declare function createAccordionContext(props: CreateAccordionContextProps): accordion.Api;
7
- export declare function setAccordionContext(value: CreateAccordionContextReturn): any;
7
+ export declare function setAccordionContext(value: CreateAccordionContextReturn): CreateAccordionContextReturn;
8
8
  export declare function useAccordionContext(): CreateAccordionContextReturn;
9
9
  export declare function setAccordionItemContext(value: accordion.ItemProps): void;
10
10
  export declare function useAccordionItemContext(): accordion.ItemProps;
@@ -7,7 +7,7 @@ export function createAccordionContext(props) {
7
7
  return api;
8
8
  }
9
9
  export function setAccordionContext(value) {
10
- return setContext('Accordion', reflect(() => value));
10
+ return setContext('Accordion', value);
11
11
  }
12
12
  export function useAccordionContext() {
13
13
  return getContext('Accordion');
@@ -1,5 +1,7 @@
1
- export { default as ItemContent, type AccordionItemContentProps, } from './item-content.svelte';
2
- export { default as ItemIndicator, type AccordionIndicatorProps, } from './item-indicator.svelte';
3
- export { default as ItemTrigger, type AccordionItemTriggerProps, } from './item-trigger.svelte';
4
- export { default as Item, type AccordionItemProps } from './item.svelte';
5
- export { default as Root, type AccordionProps } from './root.svelte';
1
+ export { anatomy as accordionAnatomy } from '@zag-js/accordion';
2
+ export * as Accordion from './accordion.js';
3
+ export type { AccordionItemContentProps } from './item-content.svelte';
4
+ export type { AccordionIndicatorProps } from './item-indicator.svelte';
5
+ export type { AccordionItemTriggerProps } from './item-trigger.svelte';
6
+ export type { AccordionItemProps } from './item.svelte';
7
+ export type { AccordionProps } from './root.svelte';
@@ -1,5 +1,2 @@
1
- export { default as ItemContent, } from './item-content.svelte';
2
- export { default as ItemIndicator, } from './item-indicator.svelte';
3
- export { default as ItemTrigger, } from './item-trigger.svelte';
4
- export { default as Item } from './item.svelte';
5
- export { default as Root } from './root.svelte';
1
+ export { anatomy as accordionAnatomy } from '@zag-js/accordion';
2
+ export * as Accordion from './accordion.js';
@@ -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 AccordionItemContentProps extends SvelteHtmlProps<'div'> {}
4
+ export interface AccordionItemContentProps
5
+ extends HtmlIngredientProps<'div'> {}
5
6
  </script>
6
7
 
7
8
  <script lang="ts">
@@ -1,5 +1,5 @@
1
- import type { SvelteHtmlProps } from '../types.js';
2
- export interface AccordionItemContentProps extends SvelteHtmlProps<'div'> {
1
+ import type { HtmlIngredientProps } from '../types.js';
2
+ export interface AccordionItemContentProps 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,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 AccordionIndicatorProps extends SvelteHtmlProps<'span'> {}
4
+ export interface AccordionIndicatorProps
5
+ extends HtmlIngredientProps<'span'> {}
5
6
  </script>
6
7
 
7
8
  <script lang="ts">
@@ -1,5 +1,5 @@
1
- import type { SvelteHtmlProps } from '../types.js';
2
- export interface AccordionIndicatorProps extends SvelteHtmlProps<'span'> {
1
+ import type { HtmlIngredientProps } from '../types.js';
2
+ export interface AccordionIndicatorProps 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> & {
@@ -1,8 +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
4
  export interface AccordionItemTriggerProps
5
- extends SvelteHtmlProps<'button'> {}
5
+ extends HtmlIngredientProps<'button'> {}
6
6
  </script>
7
7
 
8
8
  <script lang="ts">
@@ -1,5 +1,5 @@
1
- import type { SvelteHtmlProps } from '../types.js';
2
- export interface AccordionItemTriggerProps extends SvelteHtmlProps<'button'> {
1
+ import type { HtmlIngredientProps } from '../types.js';
2
+ export interface AccordionItemTriggerProps 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,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/accordion';
4
4
  import type {Snippet} from 'svelte';
5
5
 
6
6
  export interface AccordionItemProps
7
- extends Assign<Omit<SvelteHtmlProps<'div'>, 'children'>, ItemProps> {
7
+ extends Assign<Omit<HtmlIngredientProps<'div'>, '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/accordion';
3
3
  import type { Snippet } from 'svelte';
4
- export interface AccordionItemProps extends Assign<Omit<SvelteHtmlProps<'div'>, 'children'>, ItemProps> {
4
+ export interface AccordionItemProps extends Assign<Omit<HtmlIngredientProps<'div'>, '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
  CreateAccordionContextProps,
@@ -8,7 +8,7 @@
8
8
 
9
9
  export interface AccordionProps
10
10
  extends Assign<
11
- Omit<SvelteHtmlProps<'div'>, 'children'>,
11
+ Omit<HtmlIngredientProps<'div'>, 'children'>,
12
12
  Omit<CreateAccordionContextProps, 'id'>
13
13
  > {
14
14
  children?: Snippet<[context: CreateAccordionContextReturn]>;
@@ -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 { CreateAccordionContextProps, CreateAccordionContextReturn } from './context.svelte.js';
4
- export interface AccordionProps extends Assign<Omit<SvelteHtmlProps<'div'>, 'children'>, Omit<CreateAccordionContextProps, 'id'>> {
4
+ export interface AccordionProps extends Assign<Omit<HtmlIngredientProps<'div'>, 'children'>, Omit<CreateAccordionContextProps, 'id'>> {
5
5
  children?: Snippet<[context: CreateAccordionContextReturn]>;
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,3 @@
1
+ export { default as Fallback } from './fallback.svelte';
2
+ export { default as Image } from './image.svelte';
3
+ export { default as Root } from './root.svelte';
@@ -0,0 +1,3 @@
1
+ export { default as Fallback } from './fallback.svelte';
2
+ export { default as Image } from './image.svelte';
3
+ 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 AvatarFallbackProps extends SvelteHtmlProps<'div'> {}
4
+ export interface AvatarFallbackProps 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 AvatarFallbackProps extends SvelteHtmlProps<'div'> {
1
+ import type { HtmlIngredientProps } from '../types.js';
2
+ export interface AvatarFallbackProps 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 AvatarImageProps extends SvelteHtmlProps<'img'> {}
4
+ export interface AvatarImageProps extends HtmlIngredientProps<'img'> {}
5
5
  </script>
6
6
 
7
7
  <script lang="ts">
@@ -1,5 +1,5 @@
1
- import type { SvelteHtmlProps } from '../types.js';
2
- export interface AvatarImageProps extends SvelteHtmlProps<'img'> {
1
+ import type { HtmlIngredientProps } from '../types.js';
2
+ export interface AvatarImageProps extends HtmlIngredientProps<'img'> {
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,3 +1,5 @@
1
- export { default as Fallback, type AvatarFallbackProps } from './fallback.svelte';
2
- export { default as Image, type AvatarImageProps } from './image.svelte';
3
- export { default as Root, type AvatarProps } from './root.svelte';
1
+ export { anatomy as avatarAnatomy } from '@zag-js/avatar';
2
+ export * as Avatar from './avatar.js';
3
+ export type { AvatarFallbackProps } from './fallback.svelte';
4
+ export type { AvatarImageProps } from './image.svelte';
5
+ export type { AvatarProps } from './root.svelte';
@@ -1,3 +1,2 @@
1
- export { default as Fallback } from './fallback.svelte';
2
- export { default as Image } from './image.svelte';
3
- export { default as Root } from './root.svelte';
1
+ export { anatomy as avatarAnatomy } from '@zag-js/avatar';
2
+ export * as Avatar from './avatar.js';
@@ -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 {
5
5
  type CreateAvatarContextProps,
@@ -8,7 +8,7 @@
8
8
 
9
9
  export interface AvatarProps
10
10
  extends Assign<
11
- Omit<SvelteHtmlProps<'div'>, 'children'>,
11
+ Omit<HtmlIngredientProps<'div'>, 'children'>,
12
12
  Omit<CreateAvatarContextProps, 'id'>
13
13
  > {
14
14
  children?: Snippet<[context: CreateAvatarContextReturn]>;
@@ -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 CreateAvatarContextProps, type CreateAvatarContextReturn } from './context.svelte.js';
4
- export interface AvatarProps extends Assign<Omit<SvelteHtmlProps<'div'>, 'children'>, Omit<CreateAvatarContextProps, 'id'>> {
4
+ export interface AvatarProps extends Assign<Omit<HtmlIngredientProps<'div'>, 'children'>, Omit<CreateAvatarContextProps, 'id'>> {
5
5
  children?: Snippet<[context: CreateAvatarContextReturn]>;
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,8 @@
1
+ export { default as IndicatorGroup } from './indicator-group.svelte';
2
+ export { default as Indicator } from './indicator.svelte';
3
+ export { default as ItemGroup } from './item-group.svelte';
4
+ export { default as Item } from './item.svelte';
5
+ export { default as NextTrigger } from './next-trigger.svelte';
6
+ export { default as PrevTrigger } from './prev-trigger.svelte';
7
+ export { default as Root } from './root.svelte';
8
+ export { default as Viewport } from './viewport.svelte';
@@ -0,0 +1,8 @@
1
+ export { default as IndicatorGroup } from './indicator-group.svelte';
2
+ export { default as Indicator } from './indicator.svelte';
3
+ export { default as ItemGroup } from './item-group.svelte';
4
+ export { default as Item } from './item.svelte';
5
+ export { default as NextTrigger } from './next-trigger.svelte';
6
+ export { default as PrevTrigger } from './prev-trigger.svelte';
7
+ export { default as Root } from './root.svelte';
8
+ export { default as Viewport } from './viewport.svelte';
@@ -1,8 +1,10 @@
1
- export { default as IndicatorGroup, type CarouselIndicatorGroupProps, } from './indicator-group.svelte';
2
- export { default as Indicator, type CarouselIndicatorProps, } from './indicator.svelte';
3
- export { default as ItemGroup, type CarouselItemGroupProps, } from './item-group.svelte';
4
- export { default as Item, type CarouselItemProps } from './item.svelte';
5
- export { default as NextTrigger, type CarouselNextTriggerProps, } from './next-trigger.svelte';
6
- export { default as PrevTrigger, type CarouselPrevTriggerProps, } from './prev-trigger.svelte';
7
- export { default as Root, type CarouselProps } from './root.svelte';
8
- export { default as Viewport, type CarouselViewportProps, } from './viewport.svelte';
1
+ export { anatomy as carouselAnatomy } from '@zag-js/carousel';
2
+ export * as Carousel from './carousel.js';
3
+ export type { CarouselIndicatorGroupProps } from './indicator-group.svelte';
4
+ export type { CarouselIndicatorProps } from './indicator.svelte';
5
+ export type { CarouselItemGroupProps } from './item-group.svelte';
6
+ export type { CarouselItemProps } from './item.svelte';
7
+ export type { CarouselNextTriggerProps } from './next-trigger.svelte';
8
+ export type { CarouselPrevTriggerProps } from './prev-trigger.svelte';
9
+ export type { CarouselProps } from './root.svelte';
10
+ export type { CarouselViewportProps } from './viewport.svelte';
@@ -1,8 +1,2 @@
1
- export { default as IndicatorGroup, } from './indicator-group.svelte';
2
- export { default as Indicator, } from './indicator.svelte';
3
- export { default as ItemGroup, } from './item-group.svelte';
4
- export { default as Item } from './item.svelte';
5
- export { default as NextTrigger, } from './next-trigger.svelte';
6
- export { default as PrevTrigger, } from './prev-trigger.svelte';
7
- export { default as Root } from './root.svelte';
8
- export { default as Viewport, } from './viewport.svelte';
1
+ export { anatomy as carouselAnatomy } from '@zag-js/carousel';
2
+ export * as Carousel from './carousel.js';
@@ -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 CarouselIndicatorGroupProps extends SvelteHtmlProps<'div'> {}
4
+ export interface CarouselIndicatorGroupProps
5
+ extends HtmlIngredientProps<'div'> {}
5
6
  </script>
6
7
 
7
8
  <script lang="ts">
@@ -1,5 +1,5 @@
1
- import type { SvelteHtmlProps } from '../types.js';
2
- export interface CarouselIndicatorGroupProps extends SvelteHtmlProps<'div'> {
1
+ import type { HtmlIngredientProps } from '../types.js';
2
+ export interface CarouselIndicatorGroupProps 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,9 +1,9 @@
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 {IndicatorProps} from '@zag-js/carousel';
4
4
 
5
5
  export interface CarouselIndicatorProps
6
- extends Assign<SvelteHtmlProps<'button'>, IndicatorProps> {}
6
+ extends Assign<HtmlIngredientProps<'button'>, IndicatorProps> {}
7
7
  </script>
8
8
 
9
9
  <script lang="ts">
@@ -1,6 +1,6 @@
1
- import type { Assign, SvelteHtmlProps } from '../types.js';
1
+ import type { Assign, HtmlIngredientProps } from '../types.js';
2
2
  import type { IndicatorProps } from '@zag-js/carousel';
3
- export interface CarouselIndicatorProps extends Assign<SvelteHtmlProps<'button'>, IndicatorProps> {
3
+ export interface CarouselIndicatorProps extends Assign<HtmlIngredientProps<'button'>, IndicatorProps> {
4
4
  }
5
5
  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> {
6
6
  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 CarouselItemGroupProps extends SvelteHtmlProps<'div'> {}
4
+ export interface CarouselItemGroupProps 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 CarouselItemGroupProps extends SvelteHtmlProps<'div'> {
1
+ import type { HtmlIngredientProps } from '../types.js';
2
+ export interface CarouselItemGroupProps 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,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/carousel';
4
4
  import type {Snippet} from 'svelte';
5
5
 
6
6
  export interface CarouselItemProps
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/carousel';
3
3
  import type { Snippet } from 'svelte';
4
- export interface CarouselItemProps extends Assign<Omit<SvelteHtmlProps<'button'>, 'children'>, ItemProps> {
4
+ export interface CarouselItemProps 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,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 CarouselNextTriggerProps extends SvelteHtmlProps<'button'> {}
4
+ export interface CarouselNextTriggerProps
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 CarouselNextTriggerProps extends SvelteHtmlProps<'button'> {
1
+ import type { HtmlIngredientProps } from '../types.js';
2
+ export interface CarouselNextTriggerProps 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 CarouselPrevTriggerProps extends SvelteHtmlProps<'button'> {}
4
+ export interface CarouselPrevTriggerProps
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 CarouselPrevTriggerProps extends SvelteHtmlProps<'button'> {
1
+ import type { HtmlIngredientProps } from '../types.js';
2
+ export interface CarouselPrevTriggerProps 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,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
  CreateCarouselContextProps,
@@ -8,7 +8,7 @@
8
8
 
9
9
  export interface CarouselProps
10
10
  extends Assign<
11
- Omit<SvelteHtmlProps<'div'>, 'children'>,
11
+ Omit<HtmlIngredientProps<'div'>, 'children'>,
12
12
  Omit<CreateCarouselContextProps, 'id'>
13
13
  > {
14
14
  children?: Snippet<[context: CreateCarouselContextReturn]>;
@@ -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 { CreateCarouselContextProps, CreateCarouselContextReturn } from './context.svelte.js';
4
- export interface CarouselProps extends Assign<Omit<SvelteHtmlProps<'div'>, 'children'>, Omit<CreateCarouselContextProps, 'id'>> {
4
+ export interface CarouselProps extends Assign<Omit<HtmlIngredientProps<'div'>, 'children'>, Omit<CreateCarouselContextProps, 'id'>> {
5
5
  children?: Snippet<[context: CreateCarouselContextReturn]>;
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 CarouselViewportProps extends SvelteHtmlProps<'div'> {}
4
+ export interface CarouselViewportProps 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 CarouselViewportProps extends SvelteHtmlProps<'div'> {
1
+ import type { HtmlIngredientProps } from '../types.js';
2
+ export interface CarouselViewportProps 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,5 @@
1
+ export { default as Control } from './control.svelte';
2
+ export { default as HiddenInput } from './hidden-input.svelte';
3
+ export { default as Indicator } from './indicator.svelte';
4
+ export { default as Label } from './label.svelte';
5
+ export { default as Root } from './root.svelte';
@@ -0,0 +1,5 @@
1
+ export { default as Control } from './control.svelte';
2
+ export { default as HiddenInput } from './hidden-input.svelte';
3
+ export { default as Indicator } from './indicator.svelte';
4
+ export { default as Label } from './label.svelte';
5
+ 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 CheckboxControlProps extends SvelteHtmlProps<'div'> {}
4
+ export interface CheckboxControlProps 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 CheckboxControlProps extends SvelteHtmlProps<'div'> {
1
+ import type { HtmlIngredientProps } from '../types.js';
2
+ export interface CheckboxControlProps 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,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 CheckboxHiddenInputProps extends SvelteHtmlProps<'input'> {}
4
+ export interface CheckboxHiddenInputProps
5
+ extends HtmlIngredientProps<'input'> {}
5
6
  </script>
6
7
 
7
8
  <script lang="ts">
@@ -1,5 +1,5 @@
1
- import type { SvelteHtmlProps } from '../types.js';
2
- export interface CheckboxHiddenInputProps extends SvelteHtmlProps<'input'> {
1
+ import type { HtmlIngredientProps } from '../types.js';
2
+ export interface CheckboxHiddenInputProps extends HtmlIngredientProps<'input'> {
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> & {