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
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 HoverCardArrowTipProps extends SvelteHtmlProps<'div'> {}
4
+ export interface HoverCardArrowTipProps 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 HoverCardArrowTipProps extends SvelteHtmlProps<'div'> {
1
+ import type { HtmlIngredientProps } from '../types.js';
2
+ export interface HoverCardArrowTipProps 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 HoverCardArrowProps extends SvelteHtmlProps<'div'> {}
4
+ export interface HoverCardArrowProps 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 HoverCardArrowProps extends SvelteHtmlProps<'div'> {
1
+ import type { HtmlIngredientProps } from '../types.js';
2
+ export interface HoverCardArrowProps 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 HoverCardContentProps extends SvelteHtmlProps<'div'> {}
4
+ export interface HoverCardContentProps 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 HoverCardContentProps extends SvelteHtmlProps<'div'> {
1
+ import type { HtmlIngredientProps } from '../types.js';
2
+ export interface HoverCardContentProps 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,6 +1,8 @@
1
- export { default as ArrowTip, type HoverCardArrowTipProps, } from './arrow-tip.svelte';
2
- export { default as Arrow, type HoverCardArrowProps } from './arrow.svelte';
3
- export { default as Content, type HoverCardContentProps } from './content.svelte';
4
- export { default as Positioner, type HoverCardPositionerProps, } from './positioner.svelte';
5
- export { default as Root, type HoverCardProps } from './root.svelte';
6
- export { default as Trigger, type HoverCardTriggerProps } from './trigger.svelte';
1
+ export { anatomy as hoverCardAnatomy } from '@zag-js/hover-card';
2
+ export type { HoverCardArrowTipProps } from './arrow-tip.svelte';
3
+ export type { HoverCardArrowProps } from './arrow.svelte';
4
+ export type { HoverCardContentProps } from './content.svelte';
5
+ export * as HoverCard from './hover-card.js';
6
+ export type { HoverCardPositionerProps } from './positioner.svelte';
7
+ export type { HoverCardProps } from './root.svelte';
8
+ export type { HoverCardTriggerProps } 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 hoverCardAnatomy } from '@zag-js/hover-card';
2
+ export * as HoverCard from './hover-card.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 HoverCardPositionerProps extends SvelteHtmlProps<'div'> {}
4
+ export interface HoverCardPositionerProps
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 HoverCardPositionerProps extends SvelteHtmlProps<'div'> {
1
+ import type { HtmlIngredientProps } from '../types.js';
2
+ export interface HoverCardPositionerProps 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 HoverCardTriggerProps extends SvelteHtmlProps<'a'> {}
4
+ export interface HoverCardTriggerProps extends HtmlIngredientProps<'a'> {}
5
5
  </script>
6
6
 
7
7
  <script lang="ts">
@@ -1,5 +1,5 @@
1
- import type { SvelteHtmlProps } from '../types.js';
2
- export interface HoverCardTriggerProps extends SvelteHtmlProps<'a'> {
1
+ import type { HtmlIngredientProps } from '../types.js';
2
+ export interface HoverCardTriggerProps extends HtmlIngredientProps<'a'> {
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> & {
package/dist/index.d.ts CHANGED
@@ -1,90 +1,32 @@
1
- export * as Accordion from './accordion/index.js';
2
- export type { AccordionIndicatorProps, AccordionItemContentProps, AccordionItemProps, AccordionItemTriggerProps, AccordionProps, } from './accordion/index.js';
3
- export * as Avatar from './avatar/index.js';
4
- export type { AvatarFallbackProps, AvatarImageProps, AvatarProps, } from './avatar/index.js';
5
- export * as Carousel from './carousel/index.js';
6
- export type { CarouselIndicatorGroupProps, CarouselIndicatorProps, CarouselItemGroupProps, CarouselItemProps, CarouselNextTriggerProps, CarouselPrevTriggerProps, CarouselProps, CarouselViewportProps, } from './carousel/index.js';
7
- export * as Checkbox from './checkbox/index.js';
8
- export type { CheckboxControlProps, CheckboxHiddenInputProps, CheckboxIndicatorProps, CheckboxLabelProps, CheckboxProps, } from './checkbox/index.js';
9
- export * as Clipboard from './clipboard/index.js';
10
- export type { ClipboardControlProps, ClipboardIndicatorProps, ClipboardInputProps, ClipboardLabelProps, ClipboardProps, ClipboardTriggerProps, } from './clipboard/index.js';
11
- export * as Collapsible from './collapsible/index.js';
12
- export type { CollapsibleContentProps, CollapsibleProps, CollapsibleTriggerProps, } from './collapsible/index.js';
13
- export * as Combobox from './combobox/index.js';
14
- export type { ComboboxClearTriggerProps, ComboboxContentProps, ComboboxControlProps, ComboboxInputProps, ComboboxItemGroupLabelProps, ComboboxItemGroupProps, ComboboxItemIndicatorProps, ComboboxItemProps, ComboboxItemTextProps, ComboboxLabelProps, ComboboxListProps, ComboboxPositionerProps, ComboboxProps, ComboboxTriggerProps, } from './combobox/index.js';
15
- export * as Dialog from './dialog/index.js';
16
- export type { DialogBackdropProps, DialogCloseTriggerProps, DialogContentProps, DialogDescriptionProps, DialogPositionerProps, DialogProps, DialogTitleProps, DialogTriggerProps, } from './dialog/index.js';
17
- export * as Editable from './editable/index.js';
18
- export type { EditableAreaProps, EditableCancelTriggerProps, EditableControlProps, EditableEditTriggerProps, EditableInputProps, EditableLabelProps, EditablePreviewProps, EditableProps, EditableSubmitTriggerProps, } from './editable/index.js';
19
- export * as HoverCard from './hover-card/index.js';
20
- export type { HoverCardArrowProps, HoverCardArrowTipProps, HoverCardContentProps, HoverCardPositionerProps, HoverCardProps, HoverCardTriggerProps, } from './hover-card/index.js';
21
- export * as NumberInput from './number-input/index.js';
22
- export type { NumberInputControlTriggerProps, NumberInputDecrementTriggerProps, NumberInputIncrementTriggerProps, NumberInputInputProps, NumberInputLabelProps, NumberInputProps, NumberInputScrubberProps, } from './number-input/index.js';
23
- export * as Pagination from './pagination/index.js';
24
- export type { PaginationEllipsisProps, PaginationItemProps, PaginationNextTriggerProps, PaginationPrevTriggerProps, PaginationProps, } from './pagination/index.js';
25
- export * as PinInput from './pin-input/index.js';
26
- export type { PinInputClearTriggerProps, PinInputHiddenInputProps, PinInputInputProps, PinInputLabelProps, PinInputProps, } from './pin-input/index.js';
27
- export * as Popover from './popover/index.js';
28
- export type { PopoverArrowProps, PopoverArrowTipProps, PopoverCloseTriggerProps, PopoverContentProps, PopoverDescriptionProps, PopoverPositionerProps, PopoverProps, PopoverTitleProps, PopoverTriggerProps, } from './popover/index.js';
29
- export * as Progress from './progress/index.js';
30
- export type { ProgressCircleProps, ProgressCircleRangeProps, ProgressCircleTrackProps, ProgressLabelProps, ProgressProps, ProgressRangeProps, ProgressTrackProps, ProgressValueTextProps, } from './progress/index.js';
31
- export * as QRCode from './qr-code/index.js';
32
- export type { QRCodeFrameProps, QRCodeOverlayProps, QRCodePatternProps, QRCodeProps, } from './qr-code/index.js';
33
- export * as RadioGroup from './radio-group/index.js';
34
- export type { RadioGroupIndicatorProps, RadioGroupItemControlProps, RadioGroupItemHiddenInputProps, RadioGroupItemProps, RadioGroupItemTextProps, RadioGroupLabelProps, RadioGroupProps, } from './radio-group/index.js';
35
- export * as RatingGroup from './rating-group/index.js';
36
- export type { RatingGroupControlProps, RatingGroupHiddenInputProps, RatingGroupItemProps, RatingGroupLabelProps, RatingGroupProps, } from './rating-group/index.js';
37
- export * as Select from './select/index.js';
38
- export type { SelectClearTriggerProps, SelectContentProps, SelectControlProps, SelectHiddenSelectProps, SelectIndicatorProps, SelectItemGroupLabelProps, SelectItemGroupProps, SelectItemIndicatorProps, SelectItemProps, SelectItemTextProps, SelectLabelProps, SelectListProps, SelectPositionerProps, SelectProps, SelectTriggerProps, SelectValueTextProps, } from './select/index.js';
39
- export * as Slider from './slider/index.js';
40
- export type { SliderControlProps, SliderHiddenInputProps, SliderLabelProps, SliderMarkerGroupProps, SliderMarkerProps, SliderProps, SliderRangeProps, SliderThumbProps, SliderTrackProps, SliderValueTextProps, } from './slider/index.js';
41
- export * as Steps from './steps/index.js';
42
- export type { StepsContentProps, StepsIndicatorProps, StepsItemProps, StepsListProps, StepsNextTriggerProps, StepsPrevTriggerProps, StepsProgressProps, StepsProps, StepsSeparatorProps, StepsTriggerProps, } from './steps/index.js';
43
- export * as Switch from './switch/index.js';
44
- export type { SwitchControlProps, SwitchHiddenInputProps, SwitchLabelProps, SwitchProps, SwitchThumbProps, } from './switch/index.js';
45
- export * as Tabs from './tabs/index.js';
46
- export type { TabsContentProps, TabsListProps, TabsProps, TabsTriggerProps, } from './tabs/index.js';
47
- export * as TagsInput from './tags-input/index.js';
48
- export type { TagsInputClearTriggerProps, TagsInputControlProps, TagsInputHiddenInputProps, TagsInputInputProps, TagsInputItemDeleteTriggerProps, TagsInputItemInputProps, TagsInputItemPreviewProps, TagsInputItemProps, TagsInputItemTextProps, TagsInputLabelProps, TagsInputProps, } from './tags-input/index.js';
49
- export * as Timer from './timer/index.js';
50
- export type { TimerActionTriggerProps, TimerItemLabelProps, TimerItemProps, TimerItemValueProps, TimerProps, TimerSeparatorProps, } from './timer/index.js';
51
- export * as ToggleGroup from './toggle-group/index.js';
52
- export type { ToggleGroupItemProps, ToggleGroupProps, } from './toggle-group/index.js';
53
- export * as Tooltip from './tooltip/index.js';
54
- export type { TooltipArrowProps, TooltipArrowTipProps, TooltipContentProps, TooltipPositionerProps, TooltipProps, TooltipTriggerProps, } from './tooltip/index.js';
1
+ export * from './accordion/index.js';
2
+ export * from './avatar/index.js';
3
+ export * from './carousel/index.js';
4
+ export * from './checkbox/index.js';
5
+ export * from './clipboard/index.js';
6
+ export * from './collapsible/index.js';
7
+ export * from './combobox/index.js';
8
+ export * from './dialog/index.js';
9
+ export * from './editable/index.js';
10
+ export * from './hover-card/index.js';
11
+ export * from './number-input/index.js';
12
+ export * from './pagination/index.js';
13
+ export * from './pin-input/index.js';
14
+ export * from './popover/index.js';
55
15
  export * from './portal/index.js';
56
16
  export * from './presence/index.js';
17
+ export * from './progress/index.js';
18
+ export * from './qr-code/index.js';
19
+ export * from './radio-group/index.js';
20
+ export * from './rating-group/index.js';
21
+ export * from './segment-group/index.js';
22
+ export * from './select/index.js';
23
+ export * from './slider/index.js';
24
+ export * from './steps/index.js';
25
+ export * from './switch/index.js';
26
+ export * from './tabs/index.js';
27
+ export * from './tags-input/index.js';
28
+ export * from './timer/index.js';
57
29
  export * from './toast/index.js';
58
- export { anatomy as accordionAnatomy } from '@zag-js/accordion';
59
- export { anatomy as avatarAnatomy } from '@zag-js/avatar';
60
- export { anatomy as carouselAnatomy } from '@zag-js/carousel';
61
- export { anatomy as checkboxAnatomy } from '@zag-js/checkbox';
62
- export { anatomy as clipboardAnatomy } from '@zag-js/clipboard';
63
- export { anatomy as collapsibleAnatomy } from '@zag-js/collapsible';
64
- export { anatomy as colorPickerAnatomy } from '@zag-js/color-picker';
65
- export { anatomy as comboboxAnatomy } from '@zag-js/combobox';
66
- export { anatomy as datePickerAnatomy } from '@zag-js/date-picker';
67
- export { anatomy as dialogAnatomy } from '@zag-js/dialog';
68
- export { anatomy as editableAnatomy } from '@zag-js/editable';
69
- export { anatomy as fileUploadAnatomy } from '@zag-js/file-upload';
70
- export { anatomy as hoverCardAnatomy } from '@zag-js/hover-card';
71
- export { anatomy as menuAnatomy } from '@zag-js/menu';
72
- export { anatomy as numberInputAnatomy } from '@zag-js/number-input';
73
- export { anatomy as paginationAnatomy } from '@zag-js/pagination';
74
- export { anatomy as pinInputAnatomy } from '@zag-js/pin-input';
75
- export { anatomy as popoverAnatomy } from '@zag-js/popover';
76
- export { anatomy as progressAnatomy } from '@zag-js/progress';
77
- export { anatomy as qrCodeAnatomy } from '@zag-js/qr-code';
78
- export { anatomy as radioGroupAnatomy } from '@zag-js/radio-group';
79
- export { anatomy as ratingGroupAnatomy } from '@zag-js/rating-group';
80
- export { anatomy as selectAnatomy } from '@zag-js/select';
81
- export { anatomy as signaturePadAnatomy } from '@zag-js/signature-pad';
82
- export { anatomy as sliderAnatomy } from '@zag-js/slider';
83
- export { anatomy as stepsAnatomy } from '@zag-js/steps';
84
- export { anatomy as switchAnatomy } from '@zag-js/switch';
85
- export { anatomy as tabsAnatomy } from '@zag-js/tabs';
86
- export { anatomy as tagsInputAnatomy } from '@zag-js/tags-input';
87
- export { anatomy as timerAnatomy } from '@zag-js/timer';
88
- export { anatomy as toastAnatomy } from '@zag-js/toast';
89
- export { anatomy as toggleGroupAnatomy } from '@zag-js/toggle-group';
90
- export { anatomy as tooltipAnatomy } from '@zag-js/tooltip';
30
+ export * from './toggle-group/index.js';
31
+ export * from './tooltip/index.js';
32
+ export type { HtmlIngredientProps } from './types.js';
package/dist/index.js CHANGED
@@ -1,63 +1,31 @@
1
- export * as Accordion from './accordion/index.js';
2
- export * as Avatar from './avatar/index.js';
3
- export * as Carousel from './carousel/index.js';
4
- export * as Checkbox from './checkbox/index.js';
5
- export * as Clipboard from './clipboard/index.js';
6
- export * as Collapsible from './collapsible/index.js';
7
- export * as Combobox from './combobox/index.js';
8
- export * as Dialog from './dialog/index.js';
9
- export * as Editable from './editable/index.js';
10
- export * as HoverCard from './hover-card/index.js';
11
- export * as NumberInput from './number-input/index.js';
12
- export * as Pagination from './pagination/index.js';
13
- export * as PinInput from './pin-input/index.js';
14
- export * as Popover from './popover/index.js';
15
- export * as Progress from './progress/index.js';
16
- export * as QRCode from './qr-code/index.js';
17
- export * as RadioGroup from './radio-group/index.js';
18
- export * as RatingGroup from './rating-group/index.js';
19
- export * as Select from './select/index.js';
20
- export * as Slider from './slider/index.js';
21
- export * as Steps from './steps/index.js';
22
- export * as Switch from './switch/index.js';
23
- export * as Tabs from './tabs/index.js';
24
- export * as TagsInput from './tags-input/index.js';
25
- export * as Timer from './timer/index.js';
26
- export * as ToggleGroup from './toggle-group/index.js';
27
- export * as Tooltip from './tooltip/index.js';
1
+ export * from './accordion/index.js';
2
+ export * from './avatar/index.js';
3
+ export * from './carousel/index.js';
4
+ export * from './checkbox/index.js';
5
+ export * from './clipboard/index.js';
6
+ export * from './collapsible/index.js';
7
+ export * from './combobox/index.js';
8
+ export * from './dialog/index.js';
9
+ export * from './editable/index.js';
10
+ export * from './hover-card/index.js';
11
+ export * from './number-input/index.js';
12
+ export * from './pagination/index.js';
13
+ export * from './pin-input/index.js';
14
+ export * from './popover/index.js';
28
15
  export * from './portal/index.js';
29
16
  export * from './presence/index.js';
17
+ export * from './progress/index.js';
18
+ export * from './qr-code/index.js';
19
+ export * from './radio-group/index.js';
20
+ export * from './rating-group/index.js';
21
+ export * from './segment-group/index.js';
22
+ export * from './select/index.js';
23
+ export * from './slider/index.js';
24
+ export * from './steps/index.js';
25
+ export * from './switch/index.js';
26
+ export * from './tabs/index.js';
27
+ export * from './tags-input/index.js';
28
+ export * from './timer/index.js';
30
29
  export * from './toast/index.js';
31
- export { anatomy as accordionAnatomy } from '@zag-js/accordion';
32
- export { anatomy as avatarAnatomy } from '@zag-js/avatar';
33
- export { anatomy as carouselAnatomy } from '@zag-js/carousel';
34
- export { anatomy as checkboxAnatomy } from '@zag-js/checkbox';
35
- export { anatomy as clipboardAnatomy } from '@zag-js/clipboard';
36
- export { anatomy as collapsibleAnatomy } from '@zag-js/collapsible';
37
- export { anatomy as colorPickerAnatomy } from '@zag-js/color-picker';
38
- export { anatomy as comboboxAnatomy } from '@zag-js/combobox';
39
- export { anatomy as datePickerAnatomy } from '@zag-js/date-picker';
40
- export { anatomy as dialogAnatomy } from '@zag-js/dialog';
41
- export { anatomy as editableAnatomy } from '@zag-js/editable';
42
- export { anatomy as fileUploadAnatomy } from '@zag-js/file-upload';
43
- export { anatomy as hoverCardAnatomy } from '@zag-js/hover-card';
44
- export { anatomy as menuAnatomy } from '@zag-js/menu';
45
- export { anatomy as numberInputAnatomy } from '@zag-js/number-input';
46
- export { anatomy as paginationAnatomy } from '@zag-js/pagination';
47
- export { anatomy as pinInputAnatomy } from '@zag-js/pin-input';
48
- export { anatomy as popoverAnatomy } from '@zag-js/popover';
49
- export { anatomy as progressAnatomy } from '@zag-js/progress';
50
- export { anatomy as qrCodeAnatomy } from '@zag-js/qr-code';
51
- export { anatomy as radioGroupAnatomy } from '@zag-js/radio-group';
52
- export { anatomy as ratingGroupAnatomy } from '@zag-js/rating-group';
53
- export { anatomy as selectAnatomy } from '@zag-js/select';
54
- export { anatomy as signaturePadAnatomy } from '@zag-js/signature-pad';
55
- export { anatomy as sliderAnatomy } from '@zag-js/slider';
56
- export { anatomy as stepsAnatomy } from '@zag-js/steps';
57
- export { anatomy as switchAnatomy } from '@zag-js/switch';
58
- export { anatomy as tabsAnatomy } from '@zag-js/tabs';
59
- export { anatomy as tagsInputAnatomy } from '@zag-js/tags-input';
60
- export { anatomy as timerAnatomy } from '@zag-js/timer';
61
- export { anatomy as toastAnatomy } from '@zag-js/toast';
62
- export { anatomy as toggleGroupAnatomy } from '@zag-js/toggle-group';
63
- export { anatomy as tooltipAnatomy } from '@zag-js/tooltip';
30
+ export * from './toggle-group/index.js';
31
+ export * from './tooltip/index.js';
@@ -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 NumberInputControlTriggerProps
5
- extends SvelteHtmlProps<'div'> {}
5
+ extends HtmlIngredientProps<'div'> {}
6
6
  </script>
7
7
 
8
8
  <script lang="ts">
@@ -1,5 +1,5 @@
1
- import type { SvelteHtmlProps } from '../types.js';
2
- export interface NumberInputControlTriggerProps extends SvelteHtmlProps<'div'> {
1
+ import type { HtmlIngredientProps } from '../types.js';
2
+ export interface NumberInputControlTriggerProps 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,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 NumberInputDecrementTriggerProps
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 NumberInputDecrementTriggerProps extends SvelteHtmlProps<'button'> {
1
+ import type { HtmlIngredientProps } from '../types.js';
2
+ export interface NumberInputDecrementTriggerProps 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,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 NumberInputIncrementTriggerProps
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 NumberInputIncrementTriggerProps extends SvelteHtmlProps<'button'> {
1
+ import type { HtmlIngredientProps } from '../types.js';
2
+ export interface NumberInputIncrementTriggerProps 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,9 @@
1
- export { default as Control, type NumberInputControlTriggerProps, } from './control.svelte';
2
- export { default as DecrementTrigger, type NumberInputDecrementTriggerProps, } from './decrement-trigger.svelte';
3
- export { default as IncrementTrigger, type NumberInputIncrementTriggerProps, } from './increment-trigger.svelte';
4
- export { default as Input, type NumberInputInputProps } from './input.svelte';
5
- export { default as Label, type NumberInputLabelProps } from './label.svelte';
6
- export { default as Root, type NumberInputProps } from './root.svelte';
7
- export { default as Scrubber, type NumberInputScrubberProps, } from './scrubber.svelte';
1
+ export { anatomy as numberInputAnatomy } from '@zag-js/number-input';
2
+ export type { NumberInputControlTriggerProps } from './control.svelte';
3
+ export type { NumberInputDecrementTriggerProps } from './decrement-trigger.svelte';
4
+ export type { NumberInputIncrementTriggerProps } from './increment-trigger.svelte';
5
+ export type { NumberInputInputProps } from './input.svelte';
6
+ export type { NumberInputLabelProps } from './label.svelte';
7
+ export * as NumberInput from './number-input.js';
8
+ export type { NumberInputProps } from './root.svelte';
9
+ export type { NumberInputScrubberProps } from './scrubber.svelte';
@@ -1,7 +1,2 @@
1
- export { default as Control, } from './control.svelte';
2
- export { default as DecrementTrigger, } from './decrement-trigger.svelte';
3
- export { default as IncrementTrigger, } from './increment-trigger.svelte';
4
- export { default as Input } from './input.svelte';
5
- export { default as Label } from './label.svelte';
6
- export { default as Root } from './root.svelte';
7
- export { default as Scrubber, } from './scrubber.svelte';
1
+ export { anatomy as numberInputAnatomy } from '@zag-js/number-input';
2
+ export * as NumberInput from './number-input.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 NumberInputInputProps extends SvelteHtmlProps<'input'> {}
4
+ export interface NumberInputInputProps extends HtmlIngredientProps<'input'> {}
5
5
  </script>
6
6
 
7
7
  <script lang="ts">
@@ -1,5 +1,5 @@
1
- import type { SvelteHtmlProps } from '../types.js';
2
- export interface NumberInputInputProps extends SvelteHtmlProps<'input'> {
1
+ import type { HtmlIngredientProps } from '../types.js';
2
+ export interface NumberInputInputProps 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> & {
@@ -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 NumberInputLabelProps extends SvelteHtmlProps<'label'> {}
4
+ export interface NumberInputLabelProps extends HtmlIngredientProps<'label'> {}
5
5
  </script>
6
6
 
7
7
  <script lang="ts">
@@ -1,5 +1,5 @@
1
- import type { SvelteHtmlProps } from '../types.js';
2
- export interface NumberInputLabelProps extends SvelteHtmlProps<'label'> {
1
+ import type { HtmlIngredientProps } from '../types.js';
2
+ export interface NumberInputLabelProps extends HtmlIngredientProps<'label'> {
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,7 @@
1
+ export { default as Control } from './control.svelte';
2
+ export { default as DecrementTrigger } from './decrement-trigger.svelte';
3
+ export { default as IncrementTrigger } from './increment-trigger.svelte';
4
+ export { default as Input } from './input.svelte';
5
+ export { default as Label } from './label.svelte';
6
+ export { default as Root } from './root.svelte';
7
+ export { default as Scrubber } from './scrubber.svelte';
@@ -0,0 +1,7 @@
1
+ export { default as Control } from './control.svelte';
2
+ export { default as DecrementTrigger } from './decrement-trigger.svelte';
3
+ export { default as IncrementTrigger } from './increment-trigger.svelte';
4
+ export { default as Input } from './input.svelte';
5
+ export { default as Label } from './label.svelte';
6
+ export { default as Root } from './root.svelte';
7
+ export { default as Scrubber } from './scrubber.svelte';
@@ -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
  CreateNumberInputContextProps,
@@ -8,7 +8,7 @@
8
8
 
9
9
  export interface NumberInputProps
10
10
  extends Assign<
11
- Omit<SvelteHtmlProps<'div'>, 'children'>,
11
+ Omit<HtmlIngredientProps<'div'>, 'children'>,
12
12
  Omit<CreateNumberInputContextProps, 'id'>
13
13
  > {
14
14
  children?: Snippet<[context: CreateNumberInputContextReturn]>;
@@ -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 { CreateNumberInputContextProps, CreateNumberInputContextReturn } from './context.svelte.js';
4
- export interface NumberInputProps extends Assign<Omit<SvelteHtmlProps<'div'>, 'children'>, Omit<CreateNumberInputContextProps, 'id'>> {
4
+ export interface NumberInputProps extends Assign<Omit<HtmlIngredientProps<'div'>, 'children'>, Omit<CreateNumberInputContextProps, 'id'>> {
5
5
  children?: Snippet<[context: CreateNumberInputContextReturn]>;
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 NumberInputScrubberProps extends SvelteHtmlProps<'div'> {}
4
+ export interface NumberInputScrubberProps
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 NumberInputScrubberProps extends SvelteHtmlProps<'div'> {
1
+ import type { HtmlIngredientProps } from '../types.js';
2
+ export interface NumberInputScrubberProps 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 {EllipsisProps} from '@zag-js/pagination';
4
4
 
5
5
  export interface PaginationEllipsisProps
6
- extends Assign<SvelteHtmlProps<'span'>, EllipsisProps> {}
6
+ extends Assign<HtmlIngredientProps<'span'>, EllipsisProps> {}
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 { EllipsisProps } from '@zag-js/pagination';
3
- export interface PaginationEllipsisProps extends Assign<SvelteHtmlProps<'span'>, EllipsisProps> {
3
+ export interface PaginationEllipsisProps extends Assign<HtmlIngredientProps<'span'>, EllipsisProps> {
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> & {