ui-ingredients 0.0.45 → 0.0.47

Sign up to get free protection for your applications and to get access to all the features.
Files changed (746) hide show
  1. package/dist/accordion/context.svelte.d.ts +2 -2
  2. package/dist/accordion/item-content.svelte +7 -2
  3. package/dist/accordion/item-content.svelte.d.ts +4 -0
  4. package/dist/accordion/item-indicator.svelte +7 -2
  5. package/dist/accordion/item-indicator.svelte.d.ts +3 -0
  6. package/dist/accordion/item-trigger.svelte +7 -2
  7. package/dist/accordion/item-trigger.svelte.d.ts +3 -0
  8. package/dist/accordion/item.svelte +2 -2
  9. package/dist/accordion/item.svelte.d.ts +4 -0
  10. package/dist/accordion/root.svelte +61 -61
  11. package/dist/accordion/root.svelte.d.ts +5 -0
  12. package/dist/avatar/context.svelte.d.ts +1 -1
  13. package/dist/avatar/fallback.svelte +2 -2
  14. package/dist/avatar/fallback.svelte.d.ts +3 -0
  15. package/dist/avatar/image.svelte +2 -2
  16. package/dist/avatar/image.svelte.d.ts +3 -0
  17. package/dist/avatar/root.svelte +2 -2
  18. package/dist/avatar/root.svelte.d.ts +4 -0
  19. package/dist/carousel/context.svelte.d.ts +1 -1
  20. package/dist/carousel/indicator-group.svelte +7 -2
  21. package/dist/carousel/indicator-group.svelte.d.ts +3 -0
  22. package/dist/carousel/indicator.svelte +33 -33
  23. package/dist/carousel/indicator.svelte.d.ts +4 -0
  24. package/dist/carousel/item-group.svelte +2 -2
  25. package/dist/carousel/item-group.svelte.d.ts +3 -0
  26. package/dist/carousel/item.svelte +34 -34
  27. package/dist/carousel/item.svelte.d.ts +4 -0
  28. package/dist/carousel/next-trigger.svelte +7 -2
  29. package/dist/carousel/next-trigger.svelte.d.ts +3 -0
  30. package/dist/carousel/prev-trigger.svelte +7 -2
  31. package/dist/carousel/prev-trigger.svelte.d.ts +3 -0
  32. package/dist/carousel/root.svelte +51 -51
  33. package/dist/carousel/root.svelte.d.ts +4 -0
  34. package/dist/carousel/viewport.svelte +2 -2
  35. package/dist/carousel/viewport.svelte.d.ts +3 -0
  36. package/dist/checkbox/context.svelte.d.ts +1 -1
  37. package/dist/checkbox/control.svelte +2 -2
  38. package/dist/checkbox/control.svelte.d.ts +3 -0
  39. package/dist/checkbox/hidden-input.svelte +2 -2
  40. package/dist/checkbox/hidden-input.svelte.d.ts +3 -0
  41. package/dist/checkbox/indicator.svelte +2 -2
  42. package/dist/checkbox/indicator.svelte.d.ts +3 -0
  43. package/dist/checkbox/label.svelte +2 -2
  44. package/dist/checkbox/label.svelte.d.ts +3 -0
  45. package/dist/checkbox/root.svelte +2 -2
  46. package/dist/checkbox/root.svelte.d.ts +4 -0
  47. package/dist/clipboard/context.svelte.d.ts +1 -1
  48. package/dist/clipboard/control.svelte +2 -2
  49. package/dist/clipboard/control.svelte.d.ts +3 -0
  50. package/dist/clipboard/indicator.svelte +2 -1
  51. package/dist/clipboard/indicator.svelte.d.ts +4 -0
  52. package/dist/clipboard/input.svelte +2 -2
  53. package/dist/clipboard/input.svelte.d.ts +3 -0
  54. package/dist/clipboard/label.svelte +2 -2
  55. package/dist/clipboard/label.svelte.d.ts +3 -0
  56. package/dist/clipboard/root.svelte +2 -2
  57. package/dist/clipboard/root.svelte.d.ts +4 -0
  58. package/dist/clipboard/trigger.svelte +2 -2
  59. package/dist/clipboard/trigger.svelte.d.ts +3 -0
  60. package/dist/collapsible/content.svelte +7 -2
  61. package/dist/collapsible/content.svelte.d.ts +3 -0
  62. package/dist/collapsible/context.svelte.d.ts +1 -1
  63. package/dist/collapsible/root.svelte +2 -2
  64. package/dist/collapsible/root.svelte.d.ts +4 -0
  65. package/dist/collapsible/trigger.svelte +7 -2
  66. package/dist/collapsible/trigger.svelte.d.ts +3 -0
  67. package/dist/color-picker/area-background.svelte.d.ts +3 -0
  68. package/dist/color-picker/area-thumb.svelte.d.ts +3 -0
  69. package/dist/color-picker/area.svelte.d.ts +4 -0
  70. package/dist/color-picker/channel-input.svelte.d.ts +4 -0
  71. package/dist/color-picker/channel-slider-label.svelte.d.ts +4 -0
  72. package/dist/color-picker/channel-slider-thumb.svelte.d.ts +3 -0
  73. package/dist/color-picker/channel-slider-track.svelte.d.ts +3 -0
  74. package/dist/color-picker/channel-slider-value-text.svelte.d.ts +3 -0
  75. package/dist/color-picker/channel-slider.svelte.d.ts +4 -0
  76. package/dist/color-picker/content.svelte.d.ts +4 -0
  77. package/dist/color-picker/context.svelte.d.ts +5 -5
  78. package/dist/color-picker/control.svelte.d.ts +3 -0
  79. package/dist/color-picker/eye-dropper-trigger.svelte.d.ts +3 -0
  80. package/dist/color-picker/format-select.svelte.d.ts +3 -0
  81. package/dist/color-picker/format-trigger.svelte.d.ts +3 -0
  82. package/dist/color-picker/hidden-input.svelte.d.ts +3 -0
  83. package/dist/color-picker/label.svelte.d.ts +3 -0
  84. package/dist/color-picker/positioner.svelte.d.ts +3 -0
  85. package/dist/color-picker/root.svelte.d.ts +4 -0
  86. package/dist/color-picker/swatch-group.svelte.d.ts +3 -0
  87. package/dist/color-picker/swatch-indicator.svelte.d.ts +3 -0
  88. package/dist/color-picker/swatch-trigger.svelte.d.ts +4 -0
  89. package/dist/color-picker/swatch.svelte.d.ts +4 -0
  90. package/dist/color-picker/transparency-grid.svelte.d.ts +4 -0
  91. package/dist/color-picker/trigger.svelte.d.ts +3 -0
  92. package/dist/color-picker/value-text.svelte.d.ts +3 -0
  93. package/dist/combobox/clear-trigger.svelte +7 -2
  94. package/dist/combobox/clear-trigger.svelte.d.ts +3 -0
  95. package/dist/combobox/content.svelte +2 -2
  96. package/dist/combobox/content.svelte.d.ts +4 -0
  97. package/dist/combobox/context.svelte.d.ts +3 -3
  98. package/dist/combobox/control.svelte +2 -2
  99. package/dist/combobox/control.svelte.d.ts +3 -0
  100. package/dist/combobox/input.svelte +2 -2
  101. package/dist/combobox/input.svelte.d.ts +3 -0
  102. package/dist/combobox/item-group-label.svelte +7 -2
  103. package/dist/combobox/item-group-label.svelte.d.ts +3 -0
  104. package/dist/combobox/item-group.svelte +8 -2
  105. package/dist/combobox/item-group.svelte.d.ts +3 -0
  106. package/dist/combobox/item-indicator.svelte +7 -2
  107. package/dist/combobox/item-indicator.svelte.d.ts +3 -0
  108. package/dist/combobox/item-text.svelte +2 -2
  109. package/dist/combobox/item-text.svelte.d.ts +3 -0
  110. package/dist/combobox/item.svelte +2 -2
  111. package/dist/combobox/item.svelte.d.ts +4 -0
  112. package/dist/combobox/label.svelte +2 -2
  113. package/dist/combobox/label.svelte.d.ts +3 -0
  114. package/dist/combobox/list.svelte +2 -2
  115. package/dist/combobox/list.svelte.d.ts +3 -0
  116. package/dist/combobox/positioner.svelte +7 -2
  117. package/dist/combobox/positioner.svelte.d.ts +3 -0
  118. package/dist/combobox/root.svelte +2 -2
  119. package/dist/combobox/root.svelte.d.ts +6 -1
  120. package/dist/combobox/trigger.svelte +2 -2
  121. package/dist/combobox/trigger.svelte.d.ts +3 -0
  122. package/dist/create-context.svelte.d.ts +8 -3
  123. package/dist/create-context.svelte.js +15 -12
  124. package/dist/date-picker/clear-trigger.svelte +7 -2
  125. package/dist/date-picker/clear-trigger.svelte.d.ts +3 -0
  126. package/dist/date-picker/content.svelte +2 -2
  127. package/dist/date-picker/content.svelte.d.ts +4 -0
  128. package/dist/date-picker/context.svelte.d.ts +5 -5
  129. package/dist/date-picker/control.svelte +2 -2
  130. package/dist/date-picker/control.svelte.d.ts +3 -0
  131. package/dist/date-picker/day-table-cell-trigger.svelte +7 -3
  132. package/dist/date-picker/day-table-cell-trigger.svelte.d.ts +3 -0
  133. package/dist/date-picker/day-table-cell.svelte +7 -2
  134. package/dist/date-picker/day-table-cell.svelte.d.ts +4 -0
  135. package/dist/date-picker/input.svelte +2 -2
  136. package/dist/date-picker/input.svelte.d.ts +4 -0
  137. package/dist/date-picker/label.svelte +8 -2
  138. package/dist/date-picker/label.svelte.d.ts +4 -0
  139. package/dist/date-picker/month-select.svelte +7 -2
  140. package/dist/date-picker/month-select.svelte.d.ts +3 -0
  141. package/dist/date-picker/month-table-cell-trigger.svelte +7 -3
  142. package/dist/date-picker/month-table-cell-trigger.svelte.d.ts +3 -0
  143. package/dist/date-picker/month-table-cell.svelte +7 -2
  144. package/dist/date-picker/month-table-cell.svelte.d.ts +4 -0
  145. package/dist/date-picker/next-trigger.svelte +7 -2
  146. package/dist/date-picker/next-trigger.svelte.d.ts +3 -0
  147. package/dist/date-picker/positioner.svelte +7 -2
  148. package/dist/date-picker/positioner.svelte.d.ts +3 -0
  149. package/dist/date-picker/preset-trigger.svelte +8 -3
  150. package/dist/date-picker/preset-trigger.svelte.d.ts +4 -0
  151. package/dist/date-picker/prev-trigger.svelte +7 -2
  152. package/dist/date-picker/prev-trigger.svelte.d.ts +3 -0
  153. package/dist/date-picker/range-text.svelte +7 -2
  154. package/dist/date-picker/range-text.svelte.d.ts +3 -0
  155. package/dist/date-picker/root.svelte +2 -2
  156. package/dist/date-picker/root.svelte.d.ts +5 -0
  157. package/dist/date-picker/table-body.svelte +7 -2
  158. package/dist/date-picker/table-body.svelte.d.ts +3 -0
  159. package/dist/date-picker/table-head.svelte +7 -2
  160. package/dist/date-picker/table-head.svelte.d.ts +3 -0
  161. package/dist/date-picker/table-header.svelte +7 -2
  162. package/dist/date-picker/table-header.svelte.d.ts +3 -0
  163. package/dist/date-picker/table-row.svelte +7 -2
  164. package/dist/date-picker/table-row.svelte.d.ts +3 -0
  165. package/dist/date-picker/table.svelte +9 -3
  166. package/dist/date-picker/table.svelte.d.ts +4 -0
  167. package/dist/date-picker/trigger.svelte +2 -2
  168. package/dist/date-picker/trigger.svelte.d.ts +3 -0
  169. package/dist/date-picker/view-control.svelte +7 -2
  170. package/dist/date-picker/view-control.svelte.d.ts +3 -0
  171. package/dist/date-picker/view-trigger.svelte +7 -2
  172. package/dist/date-picker/view-trigger.svelte.d.ts +3 -0
  173. package/dist/date-picker/view.svelte +2 -1
  174. package/dist/date-picker/view.svelte.d.ts +4 -0
  175. package/dist/date-picker/year-select.svelte +7 -2
  176. package/dist/date-picker/year-select.svelte.d.ts +3 -0
  177. package/dist/date-picker/year-table-cell-trigger.svelte +7 -3
  178. package/dist/date-picker/year-table-cell-trigger.svelte.d.ts +3 -0
  179. package/dist/date-picker/year-table-cell.svelte +7 -2
  180. package/dist/date-picker/year-table-cell.svelte.d.ts +4 -0
  181. package/dist/dialog/backdrop.svelte +2 -2
  182. package/dist/dialog/backdrop.svelte.d.ts +4 -0
  183. package/dist/dialog/close-trigger.svelte +7 -2
  184. package/dist/dialog/close-trigger.svelte.d.ts +3 -0
  185. package/dist/dialog/content.svelte +2 -2
  186. package/dist/dialog/content.svelte.d.ts +4 -0
  187. package/dist/dialog/context.svelte.d.ts +1 -1
  188. package/dist/dialog/description.svelte +2 -2
  189. package/dist/dialog/description.svelte.d.ts +3 -0
  190. package/dist/dialog/positioner.svelte +2 -2
  191. package/dist/dialog/positioner.svelte.d.ts +3 -0
  192. package/dist/dialog/root.svelte.d.ts +6 -0
  193. package/dist/dialog/title.svelte +2 -2
  194. package/dist/dialog/title.svelte.d.ts +3 -0
  195. package/dist/dialog/trigger.svelte +2 -2
  196. package/dist/dialog/trigger.svelte.d.ts +3 -0
  197. package/dist/editable/area.svelte +2 -2
  198. package/dist/editable/area.svelte.d.ts +3 -0
  199. package/dist/editable/cancel-trigger.svelte +7 -2
  200. package/dist/editable/cancel-trigger.svelte.d.ts +3 -0
  201. package/dist/editable/context.svelte.d.ts +1 -1
  202. package/dist/editable/control.svelte +2 -2
  203. package/dist/editable/control.svelte.d.ts +3 -0
  204. package/dist/editable/edit-trigger.svelte +7 -2
  205. package/dist/editable/edit-trigger.svelte.d.ts +3 -0
  206. package/dist/editable/input.svelte +2 -2
  207. package/dist/editable/input.svelte.d.ts +3 -0
  208. package/dist/editable/label.svelte +2 -2
  209. package/dist/editable/label.svelte.d.ts +3 -0
  210. package/dist/editable/preview.svelte +2 -2
  211. package/dist/editable/preview.svelte.d.ts +3 -0
  212. package/dist/editable/root.svelte +2 -2
  213. package/dist/editable/root.svelte.d.ts +4 -0
  214. package/dist/editable/submit-trigger.svelte +7 -2
  215. package/dist/editable/submit-trigger.svelte.d.ts +3 -0
  216. package/dist/environment-provider/context.svelte.d.ts +1 -1
  217. package/dist/environment-provider/root.svelte.d.ts +5 -0
  218. package/dist/field/context.svelte.d.ts +1 -1
  219. package/dist/field/error-text.svelte +2 -2
  220. package/dist/field/error-text.svelte.d.ts +3 -0
  221. package/dist/field/helper-text.svelte +2 -2
  222. package/dist/field/helper-text.svelte.d.ts +3 -0
  223. package/dist/field/input.svelte +2 -2
  224. package/dist/field/input.svelte.d.ts +3 -0
  225. package/dist/field/label.svelte +2 -2
  226. package/dist/field/label.svelte.d.ts +3 -0
  227. package/dist/field/root.svelte +2 -2
  228. package/dist/field/root.svelte.d.ts +4 -0
  229. package/dist/field/select.svelte +2 -2
  230. package/dist/field/select.svelte.d.ts +3 -0
  231. package/dist/field/textarea.svelte +2 -2
  232. package/dist/field/textarea.svelte.d.ts +3 -0
  233. package/dist/file-upload/context.svelte.d.ts +2 -2
  234. package/dist/file-upload/dropzone.svelte +7 -2
  235. package/dist/file-upload/dropzone.svelte.d.ts +3 -0
  236. package/dist/file-upload/hidden-input.svelte +2 -2
  237. package/dist/file-upload/hidden-input.svelte.d.ts +3 -0
  238. package/dist/file-upload/item-delete-trigger.svelte +7 -3
  239. package/dist/file-upload/item-delete-trigger.svelte.d.ts +3 -0
  240. package/dist/file-upload/item-group.svelte +7 -2
  241. package/dist/file-upload/item-group.svelte.d.ts +3 -0
  242. package/dist/file-upload/item-name.svelte +7 -2
  243. package/dist/file-upload/item-name.svelte.d.ts +3 -0
  244. package/dist/file-upload/item-preview-image.svelte +2 -2
  245. package/dist/file-upload/item-preview-image.svelte.d.ts +3 -0
  246. package/dist/file-upload/item-preview.svelte +7 -2
  247. package/dist/file-upload/item-preview.svelte.d.ts +3 -0
  248. package/dist/file-upload/item-size-text.svelte +7 -2
  249. package/dist/file-upload/item-size-text.svelte.d.ts +3 -0
  250. package/dist/file-upload/item.svelte +2 -2
  251. package/dist/file-upload/item.svelte.d.ts +4 -0
  252. package/dist/file-upload/label.svelte +2 -2
  253. package/dist/file-upload/label.svelte.d.ts +3 -0
  254. package/dist/file-upload/root.svelte +2 -2
  255. package/dist/file-upload/root.svelte.d.ts +4 -0
  256. package/dist/file-upload/trigger.svelte +2 -2
  257. package/dist/file-upload/trigger.svelte.d.ts +3 -0
  258. package/dist/floating-panel/body.svelte +2 -2
  259. package/dist/floating-panel/body.svelte.d.ts +3 -0
  260. package/dist/floating-panel/close-trigger.svelte +7 -2
  261. package/dist/floating-panel/close-trigger.svelte.d.ts +3 -0
  262. package/dist/floating-panel/content.svelte +7 -2
  263. package/dist/floating-panel/content.svelte.d.ts +4 -0
  264. package/dist/floating-panel/context.svelte.d.ts +1 -1
  265. package/dist/floating-panel/drag-trigger.svelte +7 -2
  266. package/dist/floating-panel/drag-trigger.svelte.d.ts +3 -0
  267. package/dist/floating-panel/header.svelte +7 -2
  268. package/dist/floating-panel/header.svelte.d.ts +3 -0
  269. package/dist/floating-panel/maximize-trigger.svelte +7 -3
  270. package/dist/floating-panel/maximize-trigger.svelte.d.ts +3 -0
  271. package/dist/floating-panel/minimize-trigger.svelte +7 -3
  272. package/dist/floating-panel/minimize-trigger.svelte.d.ts +3 -0
  273. package/dist/floating-panel/positioner.svelte +7 -2
  274. package/dist/floating-panel/positioner.svelte.d.ts +3 -0
  275. package/dist/floating-panel/resize-trigger.svelte +7 -2
  276. package/dist/floating-panel/resize-trigger.svelte.d.ts +4 -0
  277. package/dist/floating-panel/restore-trigger.svelte +7 -3
  278. package/dist/floating-panel/restore-trigger.svelte.d.ts +3 -0
  279. package/dist/floating-panel/root.svelte.d.ts +6 -0
  280. package/dist/floating-panel/title.svelte +7 -2
  281. package/dist/floating-panel/title.svelte.d.ts +3 -0
  282. package/dist/floating-panel/trigger.svelte +7 -2
  283. package/dist/floating-panel/trigger.svelte.d.ts +3 -0
  284. package/dist/highlight/highlight.svelte +2 -2
  285. package/dist/highlight/highlight.svelte.d.ts +4 -0
  286. package/dist/hover-card/arrow-tip.svelte +2 -2
  287. package/dist/hover-card/arrow-tip.svelte.d.ts +3 -0
  288. package/dist/hover-card/arrow.svelte +2 -2
  289. package/dist/hover-card/arrow.svelte.d.ts +3 -0
  290. package/dist/hover-card/content.svelte +2 -2
  291. package/dist/hover-card/content.svelte.d.ts +4 -0
  292. package/dist/hover-card/context.svelte.d.ts +1 -1
  293. package/dist/hover-card/positioner.svelte +7 -2
  294. package/dist/hover-card/positioner.svelte.d.ts +3 -0
  295. package/dist/hover-card/root.svelte.d.ts +6 -0
  296. package/dist/hover-card/trigger.svelte +2 -2
  297. package/dist/hover-card/trigger.svelte.d.ts +3 -0
  298. package/dist/is-object.js +16 -2
  299. package/dist/locale-provider/context.svelte.d.ts +1 -1
  300. package/dist/locale-provider/root.svelte.d.ts +5 -0
  301. package/dist/menu/arrow-tip.svelte +2 -2
  302. package/dist/menu/arrow-tip.svelte.d.ts +3 -0
  303. package/dist/menu/arrow.svelte +2 -2
  304. package/dist/menu/arrow.svelte.d.ts +3 -0
  305. package/dist/menu/content.svelte +2 -2
  306. package/dist/menu/content.svelte.d.ts +4 -0
  307. package/dist/menu/context-trigger.svelte +7 -2
  308. package/dist/menu/context-trigger.svelte.d.ts +3 -0
  309. package/dist/menu/context.svelte.d.ts +3 -3
  310. package/dist/menu/indicator.svelte +2 -2
  311. package/dist/menu/indicator.svelte.d.ts +3 -0
  312. package/dist/menu/item-group-label.svelte +7 -2
  313. package/dist/menu/item-group-label.svelte.d.ts +3 -0
  314. package/dist/menu/item-group.svelte +2 -2
  315. package/dist/menu/item-group.svelte.d.ts +3 -0
  316. package/dist/menu/item.svelte +2 -2
  317. package/dist/menu/item.svelte.d.ts +4 -0
  318. package/dist/menu/option-item-indicator.svelte +7 -2
  319. package/dist/menu/option-item-indicator.svelte.d.ts +3 -0
  320. package/dist/menu/option-item-text.svelte +7 -2
  321. package/dist/menu/option-item-text.svelte.d.ts +3 -0
  322. package/dist/menu/option-item.svelte +2 -2
  323. package/dist/menu/option-item.svelte.d.ts +4 -0
  324. package/dist/menu/positioner.svelte +2 -2
  325. package/dist/menu/positioner.svelte.d.ts +3 -0
  326. package/dist/menu/root.svelte.d.ts +6 -0
  327. package/dist/menu/separator.svelte +2 -2
  328. package/dist/menu/separator.svelte.d.ts +3 -0
  329. package/dist/menu/trigger-item.svelte +7 -2
  330. package/dist/menu/trigger-item.svelte.d.ts +3 -0
  331. package/dist/menu/trigger.svelte +2 -2
  332. package/dist/menu/trigger.svelte.d.ts +3 -0
  333. package/dist/number-input/context.svelte.d.ts +1 -1
  334. package/dist/number-input/control.svelte +7 -2
  335. package/dist/number-input/control.svelte.d.ts +3 -0
  336. package/dist/number-input/decrement-trigger.svelte +7 -3
  337. package/dist/number-input/decrement-trigger.svelte.d.ts +3 -0
  338. package/dist/number-input/increment-trigger.svelte +7 -3
  339. package/dist/number-input/increment-trigger.svelte.d.ts +3 -0
  340. package/dist/number-input/input.svelte +2 -2
  341. package/dist/number-input/input.svelte.d.ts +3 -0
  342. package/dist/number-input/label.svelte +2 -2
  343. package/dist/number-input/label.svelte.d.ts +3 -0
  344. package/dist/number-input/root.svelte +2 -2
  345. package/dist/number-input/root.svelte.d.ts +4 -0
  346. package/dist/number-input/scrubber.svelte +7 -2
  347. package/dist/number-input/scrubber.svelte.d.ts +3 -0
  348. package/dist/pagination/context.svelte.d.ts +1 -1
  349. package/dist/pagination/ellipsis.svelte +8 -2
  350. package/dist/pagination/ellipsis.svelte.d.ts +4 -0
  351. package/dist/pagination/item.svelte +8 -2
  352. package/dist/pagination/item.svelte.d.ts +4 -0
  353. package/dist/pagination/next-trigger.svelte +7 -2
  354. package/dist/pagination/next-trigger.svelte.d.ts +3 -0
  355. package/dist/pagination/prev-trigger.svelte +7 -2
  356. package/dist/pagination/prev-trigger.svelte.d.ts +3 -0
  357. package/dist/pagination/root.svelte +2 -2
  358. package/dist/pagination/root.svelte.d.ts +4 -0
  359. package/dist/pin-input/clear-trigger.svelte +7 -2
  360. package/dist/pin-input/clear-trigger.svelte.d.ts +3 -0
  361. package/dist/pin-input/context.svelte.d.ts +1 -1
  362. package/dist/pin-input/hidden-input.svelte +2 -2
  363. package/dist/pin-input/hidden-input.svelte.d.ts +3 -0
  364. package/dist/pin-input/input.svelte +2 -2
  365. package/dist/pin-input/input.svelte.d.ts +4 -0
  366. package/dist/pin-input/label.svelte +2 -2
  367. package/dist/pin-input/label.svelte.d.ts +3 -0
  368. package/dist/pin-input/root.svelte +2 -2
  369. package/dist/pin-input/root.svelte.d.ts +4 -0
  370. package/dist/popover/arrow-tip.svelte +2 -2
  371. package/dist/popover/arrow-tip.svelte.d.ts +3 -0
  372. package/dist/popover/arrow.svelte +2 -2
  373. package/dist/popover/arrow.svelte.d.ts +3 -0
  374. package/dist/popover/close-trigger.svelte +7 -2
  375. package/dist/popover/close-trigger.svelte.d.ts +3 -0
  376. package/dist/popover/content.svelte +2 -2
  377. package/dist/popover/content.svelte.d.ts +4 -0
  378. package/dist/popover/context.svelte.d.ts +1 -1
  379. package/dist/popover/description.svelte +7 -2
  380. package/dist/popover/description.svelte.d.ts +3 -0
  381. package/dist/popover/positioner.svelte +2 -2
  382. package/dist/popover/positioner.svelte.d.ts +3 -0
  383. package/dist/popover/root.svelte.d.ts +6 -0
  384. package/dist/popover/title.svelte +2 -2
  385. package/dist/popover/title.svelte.d.ts +3 -0
  386. package/dist/popover/trigger.svelte +2 -2
  387. package/dist/popover/trigger.svelte.d.ts +3 -0
  388. package/dist/portal/root.svelte.d.ts +7 -0
  389. package/dist/presence/context.svelte.d.ts +2 -2
  390. package/dist/presence/root.svelte.d.ts +5 -0
  391. package/dist/progress/circle-range.svelte +7 -2
  392. package/dist/progress/circle-range.svelte.d.ts +3 -0
  393. package/dist/progress/circle-track.svelte +7 -2
  394. package/dist/progress/circle-track.svelte.d.ts +3 -0
  395. package/dist/progress/circle.svelte +2 -2
  396. package/dist/progress/circle.svelte.d.ts +3 -0
  397. package/dist/progress/context.svelte.d.ts +1 -1
  398. package/dist/progress/label.svelte +2 -2
  399. package/dist/progress/label.svelte.d.ts +3 -0
  400. package/dist/progress/range.svelte +2 -2
  401. package/dist/progress/range.svelte.d.ts +3 -0
  402. package/dist/progress/root.svelte +2 -2
  403. package/dist/progress/root.svelte.d.ts +4 -0
  404. package/dist/progress/track.svelte +2 -2
  405. package/dist/progress/track.svelte.d.ts +3 -0
  406. package/dist/progress/value-text.svelte +2 -2
  407. package/dist/progress/value-text.svelte.d.ts +3 -0
  408. package/dist/progress/view.svelte +8 -2
  409. package/dist/progress/view.svelte.d.ts +4 -0
  410. package/dist/qr-code/context.svelte.d.ts +1 -1
  411. package/dist/qr-code/frame.svelte +2 -2
  412. package/dist/qr-code/frame.svelte.d.ts +3 -0
  413. package/dist/qr-code/overlay.svelte +2 -2
  414. package/dist/qr-code/overlay.svelte.d.ts +3 -0
  415. package/dist/qr-code/pattern.svelte +2 -2
  416. package/dist/qr-code/pattern.svelte.d.ts +3 -0
  417. package/dist/qr-code/root.svelte +2 -2
  418. package/dist/qr-code/root.svelte.d.ts +4 -0
  419. package/dist/radio-group/context.svelte.d.ts +2 -2
  420. package/dist/radio-group/indicator.svelte +7 -2
  421. package/dist/radio-group/indicator.svelte.d.ts +3 -0
  422. package/dist/radio-group/item-control.svelte +7 -2
  423. package/dist/radio-group/item-control.svelte.d.ts +3 -0
  424. package/dist/radio-group/item-hidden-input.svelte +2 -2
  425. package/dist/radio-group/item-hidden-input.svelte.d.ts +3 -0
  426. package/dist/radio-group/item-text.svelte +7 -2
  427. package/dist/radio-group/item-text.svelte.d.ts +3 -0
  428. package/dist/radio-group/item.svelte +2 -2
  429. package/dist/radio-group/item.svelte.d.ts +4 -0
  430. package/dist/radio-group/label.svelte +2 -2
  431. package/dist/radio-group/label.svelte.d.ts +3 -0
  432. package/dist/radio-group/root.svelte +2 -2
  433. package/dist/radio-group/root.svelte.d.ts +4 -0
  434. package/dist/rating-group/context.svelte.d.ts +1 -1
  435. package/dist/rating-group/control.svelte +7 -2
  436. package/dist/rating-group/control.svelte.d.ts +3 -0
  437. package/dist/rating-group/hidden-input.svelte +2 -2
  438. package/dist/rating-group/hidden-input.svelte.d.ts +3 -0
  439. package/dist/rating-group/item.svelte +8 -2
  440. package/dist/rating-group/item.svelte.d.ts +4 -0
  441. package/dist/rating-group/label.svelte +2 -2
  442. package/dist/rating-group/label.svelte.d.ts +3 -0
  443. package/dist/rating-group/root.svelte +2 -2
  444. package/dist/rating-group/root.svelte.d.ts +4 -0
  445. package/dist/segment-group/context.svelte.d.ts +2 -2
  446. package/dist/segment-group/indicator.svelte +7 -2
  447. package/dist/segment-group/indicator.svelte.d.ts +3 -0
  448. package/dist/segment-group/item-control.svelte +7 -2
  449. package/dist/segment-group/item-control.svelte.d.ts +3 -0
  450. package/dist/segment-group/item-hidden-input.svelte +2 -2
  451. package/dist/segment-group/item-hidden-input.svelte.d.ts +3 -0
  452. package/dist/segment-group/item-text.svelte +7 -2
  453. package/dist/segment-group/item-text.svelte.d.ts +3 -0
  454. package/dist/segment-group/item.svelte +2 -2
  455. package/dist/segment-group/item.svelte.d.ts +4 -0
  456. package/dist/segment-group/label.svelte +2 -2
  457. package/dist/segment-group/label.svelte.d.ts +3 -0
  458. package/dist/segment-group/root.svelte +2 -2
  459. package/dist/segment-group/root.svelte.d.ts +4 -0
  460. package/dist/select/clear-trigger.svelte +7 -2
  461. package/dist/select/clear-trigger.svelte.d.ts +3 -0
  462. package/dist/select/content.svelte +2 -2
  463. package/dist/select/content.svelte.d.ts +4 -0
  464. package/dist/select/context.svelte.d.ts +3 -3
  465. package/dist/select/control.svelte +2 -2
  466. package/dist/select/control.svelte.d.ts +3 -0
  467. package/dist/select/create-select.svelte.js +2 -2
  468. package/dist/select/hidden-select.svelte +7 -2
  469. package/dist/select/hidden-select.svelte.d.ts +3 -0
  470. package/dist/select/indicator.svelte +2 -2
  471. package/dist/select/indicator.svelte.d.ts +3 -0
  472. package/dist/select/item-group-label.svelte +7 -2
  473. package/dist/select/item-group-label.svelte.d.ts +3 -0
  474. package/dist/select/item-group.svelte +8 -2
  475. package/dist/select/item-group.svelte.d.ts +3 -0
  476. package/dist/select/item-indicator.svelte +7 -2
  477. package/dist/select/item-indicator.svelte.d.ts +3 -0
  478. package/dist/select/item-text.svelte +2 -2
  479. package/dist/select/item-text.svelte.d.ts +3 -0
  480. package/dist/select/item.svelte +2 -2
  481. package/dist/select/item.svelte.d.ts +4 -0
  482. package/dist/select/label.svelte +2 -2
  483. package/dist/select/label.svelte.d.ts +3 -0
  484. package/dist/select/list.svelte +2 -2
  485. package/dist/select/list.svelte.d.ts +3 -0
  486. package/dist/select/positioner.svelte +2 -2
  487. package/dist/select/positioner.svelte.d.ts +3 -0
  488. package/dist/select/root.svelte +2 -2
  489. package/dist/select/root.svelte.d.ts +6 -1
  490. package/dist/select/trigger.svelte +2 -2
  491. package/dist/select/trigger.svelte.d.ts +3 -0
  492. package/dist/select/value-text.svelte +8 -3
  493. package/dist/select/value-text.svelte.d.ts +3 -0
  494. package/dist/signature-pad/clear-trigger.svelte +7 -2
  495. package/dist/signature-pad/clear-trigger.svelte.d.ts +3 -0
  496. package/dist/signature-pad/context.svelte.d.ts +1 -1
  497. package/dist/signature-pad/control.svelte +7 -2
  498. package/dist/signature-pad/control.svelte.d.ts +3 -0
  499. package/dist/signature-pad/current-segment-path.svelte +7 -3
  500. package/dist/signature-pad/current-segment-path.svelte.d.ts +3 -0
  501. package/dist/signature-pad/guide.svelte +2 -2
  502. package/dist/signature-pad/guide.svelte.d.ts +3 -0
  503. package/dist/signature-pad/hidden-input.svelte +7 -2
  504. package/dist/signature-pad/hidden-input.svelte.d.ts +4 -0
  505. package/dist/signature-pad/label.svelte +2 -2
  506. package/dist/signature-pad/label.svelte.d.ts +3 -0
  507. package/dist/signature-pad/root.svelte +2 -2
  508. package/dist/signature-pad/root.svelte.d.ts +4 -0
  509. package/dist/signature-pad/segment-path.svelte +8 -3
  510. package/dist/signature-pad/segment-path.svelte.d.ts +4 -0
  511. package/dist/signature-pad/segment.svelte +7 -2
  512. package/dist/signature-pad/segment.svelte.d.ts +3 -0
  513. package/dist/slider/context.svelte.d.ts +2 -2
  514. package/dist/slider/control.svelte +2 -2
  515. package/dist/slider/control.svelte.d.ts +3 -0
  516. package/dist/slider/hidden-input.svelte +2 -2
  517. package/dist/slider/hidden-input.svelte.d.ts +3 -0
  518. package/dist/slider/label.svelte +2 -2
  519. package/dist/slider/label.svelte.d.ts +3 -0
  520. package/dist/slider/marker-group.svelte +2 -2
  521. package/dist/slider/marker-group.svelte.d.ts +3 -0
  522. package/dist/slider/marker.svelte +8 -2
  523. package/dist/slider/marker.svelte.d.ts +4 -0
  524. package/dist/slider/range.svelte +2 -2
  525. package/dist/slider/range.svelte.d.ts +3 -0
  526. package/dist/slider/root.svelte +2 -2
  527. package/dist/slider/root.svelte.d.ts +4 -0
  528. package/dist/slider/thumb.svelte +2 -2
  529. package/dist/slider/thumb.svelte.d.ts +4 -0
  530. package/dist/slider/track.svelte +2 -2
  531. package/dist/slider/track.svelte.d.ts +3 -0
  532. package/dist/slider/value-text.svelte +2 -2
  533. package/dist/slider/value-text.svelte.d.ts +3 -0
  534. package/dist/splitter/context.svelte.d.ts +1 -1
  535. package/dist/splitter/panel.svelte +2 -2
  536. package/dist/splitter/panel.svelte.d.ts +4 -0
  537. package/dist/splitter/resize-trigger.svelte +7 -2
  538. package/dist/splitter/resize-trigger.svelte.d.ts +12 -0
  539. package/dist/splitter/root.svelte +2 -2
  540. package/dist/splitter/root.svelte.d.ts +4 -0
  541. package/dist/steps/completed-content.svelte +7 -2
  542. package/dist/steps/completed-content.svelte.d.ts +3 -0
  543. package/dist/steps/content.svelte +8 -2
  544. package/dist/steps/content.svelte.d.ts +4 -0
  545. package/dist/steps/context.svelte.d.ts +2 -2
  546. package/dist/steps/indicator.svelte +2 -2
  547. package/dist/steps/indicator.svelte.d.ts +3 -0
  548. package/dist/steps/item.svelte +2 -2
  549. package/dist/steps/item.svelte.d.ts +4 -0
  550. package/dist/steps/list.svelte +2 -2
  551. package/dist/steps/list.svelte.d.ts +3 -0
  552. package/dist/steps/next-trigger.svelte +2 -2
  553. package/dist/steps/next-trigger.svelte.d.ts +3 -0
  554. package/dist/steps/prev-trigger.svelte +2 -2
  555. package/dist/steps/prev-trigger.svelte.d.ts +3 -0
  556. package/dist/steps/progress.svelte +2 -2
  557. package/dist/steps/progress.svelte.d.ts +3 -0
  558. package/dist/steps/root.svelte +2 -2
  559. package/dist/steps/root.svelte.d.ts +4 -0
  560. package/dist/steps/separator.svelte +2 -2
  561. package/dist/steps/separator.svelte.d.ts +3 -0
  562. package/dist/steps/trigger.svelte +2 -2
  563. package/dist/steps/trigger.svelte.d.ts +3 -0
  564. package/dist/switch/context.svelte.d.ts +1 -1
  565. package/dist/switch/control.svelte +4 -4
  566. package/dist/switch/control.svelte.d.ts +3 -0
  567. package/dist/switch/create-switch.svelte.d.ts +3 -3
  568. package/dist/switch/create-switch.svelte.js +3 -3
  569. package/dist/switch/hidden-input.svelte +4 -4
  570. package/dist/switch/hidden-input.svelte.d.ts +3 -0
  571. package/dist/switch/label.svelte +4 -4
  572. package/dist/switch/label.svelte.d.ts +3 -0
  573. package/dist/switch/root.svelte +7 -7
  574. package/dist/switch/root.svelte.d.ts +4 -0
  575. package/dist/switch/thumb.svelte +4 -4
  576. package/dist/switch/thumb.svelte.d.ts +3 -0
  577. package/dist/tabs/content.svelte +2 -2
  578. package/dist/tabs/content.svelte.d.ts +4 -0
  579. package/dist/tabs/context.svelte.d.ts +1 -1
  580. package/dist/tabs/list.svelte +2 -2
  581. package/dist/tabs/list.svelte.d.ts +3 -0
  582. package/dist/tabs/root.svelte +2 -2
  583. package/dist/tabs/root.svelte.d.ts +4 -0
  584. package/dist/tabs/trigger.svelte +2 -2
  585. package/dist/tabs/trigger.svelte.d.ts +4 -0
  586. package/dist/tags-input/clear-trigger.svelte +7 -2
  587. package/dist/tags-input/clear-trigger.svelte.d.ts +3 -0
  588. package/dist/tags-input/context.svelte.d.ts +2 -2
  589. package/dist/tags-input/control.svelte +2 -2
  590. package/dist/tags-input/control.svelte.d.ts +3 -0
  591. package/dist/tags-input/hidden-input.svelte +2 -2
  592. package/dist/tags-input/hidden-input.svelte.d.ts +3 -0
  593. package/dist/tags-input/input.svelte +2 -2
  594. package/dist/tags-input/input.svelte.d.ts +3 -0
  595. package/dist/tags-input/item-delete-trigger.svelte +7 -2
  596. package/dist/tags-input/item-delete-trigger.svelte.d.ts +3 -0
  597. package/dist/tags-input/item-input.svelte +2 -2
  598. package/dist/tags-input/item-input.svelte.d.ts +3 -0
  599. package/dist/tags-input/item-preview.svelte +7 -2
  600. package/dist/tags-input/item-preview.svelte.d.ts +3 -0
  601. package/dist/tags-input/item-text.svelte +2 -2
  602. package/dist/tags-input/item-text.svelte.d.ts +3 -0
  603. package/dist/tags-input/item.svelte +2 -2
  604. package/dist/tags-input/item.svelte.d.ts +4 -0
  605. package/dist/tags-input/label.svelte +2 -2
  606. package/dist/tags-input/label.svelte.d.ts +3 -0
  607. package/dist/tags-input/root.svelte +2 -2
  608. package/dist/tags-input/root.svelte.d.ts +4 -0
  609. package/dist/time-picker/clear-trigger.svelte +7 -2
  610. package/dist/time-picker/clear-trigger.svelte.d.ts +3 -0
  611. package/dist/time-picker/column.svelte +8 -2
  612. package/dist/time-picker/column.svelte.d.ts +4 -0
  613. package/dist/time-picker/content.svelte +2 -2
  614. package/dist/time-picker/content.svelte.d.ts +4 -0
  615. package/dist/time-picker/context.svelte.d.ts +1 -1
  616. package/dist/time-picker/control.svelte +2 -2
  617. package/dist/time-picker/control.svelte.d.ts +3 -0
  618. package/dist/time-picker/hour-cell.svelte +8 -2
  619. package/dist/time-picker/hour-cell.svelte.d.ts +4 -0
  620. package/dist/time-picker/input.svelte +2 -2
  621. package/dist/time-picker/input.svelte.d.ts +3 -0
  622. package/dist/time-picker/label.svelte +2 -2
  623. package/dist/time-picker/label.svelte.d.ts +3 -0
  624. package/dist/time-picker/minute-cell.svelte +8 -3
  625. package/dist/time-picker/minute-cell.svelte.d.ts +4 -0
  626. package/dist/time-picker/period-cell.svelte +8 -3
  627. package/dist/time-picker/period-cell.svelte.d.ts +4 -0
  628. package/dist/time-picker/positioner.svelte +7 -2
  629. package/dist/time-picker/positioner.svelte.d.ts +3 -0
  630. package/dist/time-picker/root.svelte +2 -2
  631. package/dist/time-picker/root.svelte.d.ts +5 -0
  632. package/dist/time-picker/second-cell.svelte +8 -3
  633. package/dist/time-picker/second-cell.svelte.d.ts +4 -0
  634. package/dist/time-picker/spacer.svelte +2 -2
  635. package/dist/time-picker/spacer.svelte.d.ts +3 -0
  636. package/dist/time-picker/trigger.svelte +2 -2
  637. package/dist/time-picker/trigger.svelte.d.ts +3 -0
  638. package/dist/timer/action-trigger.svelte +8 -2
  639. package/dist/timer/action-trigger.svelte.d.ts +4 -0
  640. package/dist/timer/area.svelte +24 -0
  641. package/dist/timer/area.svelte.d.ts +21 -0
  642. package/dist/timer/context.svelte.d.ts +2 -2
  643. package/dist/timer/control.svelte +24 -0
  644. package/dist/timer/control.svelte.d.ts +21 -0
  645. package/dist/timer/index.d.ts +2 -0
  646. package/dist/timer/item-label.svelte +2 -2
  647. package/dist/timer/item-label.svelte.d.ts +3 -0
  648. package/dist/timer/item-value.svelte +2 -2
  649. package/dist/timer/item-value.svelte.d.ts +3 -0
  650. package/dist/timer/item.svelte +2 -2
  651. package/dist/timer/item.svelte.d.ts +4 -0
  652. package/dist/timer/root.svelte +2 -2
  653. package/dist/timer/root.svelte.d.ts +4 -0
  654. package/dist/timer/separator.svelte +2 -2
  655. package/dist/timer/separator.svelte.d.ts +3 -0
  656. package/dist/timer/timer.d.ts +2 -0
  657. package/dist/timer/timer.js +2 -0
  658. package/dist/toast/action-trigger.svelte +7 -2
  659. package/dist/toast/action-trigger.svelte.d.ts +3 -0
  660. package/dist/toast/close-trigger.svelte +2 -2
  661. package/dist/toast/close-trigger.svelte.d.ts +3 -0
  662. package/dist/toast/context.svelte.d.ts +1 -1
  663. package/dist/toast/description.svelte +2 -2
  664. package/dist/toast/description.svelte.d.ts +3 -0
  665. package/dist/toast/ghost-after.svelte +2 -2
  666. package/dist/toast/ghost-after.svelte.d.ts +3 -0
  667. package/dist/toast/ghost-before.svelte +2 -2
  668. package/dist/toast/ghost-before.svelte.d.ts +3 -0
  669. package/dist/toast/root.svelte +2 -2
  670. package/dist/toast/root.svelte.d.ts +4 -0
  671. package/dist/toast/title.svelte +2 -2
  672. package/dist/toast/title.svelte.d.ts +3 -0
  673. package/dist/toast/toaster.svelte +2 -2
  674. package/dist/toast/toaster.svelte.d.ts +6 -0
  675. package/dist/toggle-group/context.svelte.d.ts +1 -1
  676. package/dist/toggle-group/item.svelte +2 -2
  677. package/dist/toggle-group/item.svelte.d.ts +4 -0
  678. package/dist/toggle-group/root.svelte +2 -2
  679. package/dist/toggle-group/root.svelte.d.ts +4 -0
  680. package/dist/tooltip/arrow-tip.svelte +2 -2
  681. package/dist/tooltip/arrow-tip.svelte.d.ts +3 -0
  682. package/dist/tooltip/arrow.svelte +2 -2
  683. package/dist/tooltip/arrow.svelte.d.ts +3 -0
  684. package/dist/tooltip/content.svelte +2 -2
  685. package/dist/tooltip/content.svelte.d.ts +4 -0
  686. package/dist/tooltip/context.svelte.d.ts +1 -1
  687. package/dist/tooltip/positioner.svelte +2 -2
  688. package/dist/tooltip/positioner.svelte.d.ts +3 -0
  689. package/dist/tooltip/root.svelte.d.ts +6 -0
  690. package/dist/tooltip/trigger.svelte +2 -2
  691. package/dist/tooltip/trigger.svelte.d.ts +3 -0
  692. package/dist/tour/arrow-tip.svelte +2 -2
  693. package/dist/tour/arrow-tip.svelte.d.ts +3 -0
  694. package/dist/tour/arrow.svelte +2 -2
  695. package/dist/tour/arrow.svelte.d.ts +3 -0
  696. package/dist/tour/close-trigger.svelte +2 -2
  697. package/dist/tour/close-trigger.svelte.d.ts +3 -0
  698. package/dist/tour/content.svelte +2 -2
  699. package/dist/tour/content.svelte.d.ts +3 -0
  700. package/dist/tour/context.svelte.d.ts +1 -1
  701. package/dist/tour/description.svelte +2 -2
  702. package/dist/tour/description.svelte.d.ts +3 -0
  703. package/dist/tour/next-trigger.svelte +2 -2
  704. package/dist/tour/next-trigger.svelte.d.ts +3 -0
  705. package/dist/tour/overlay.svelte +2 -2
  706. package/dist/tour/overlay.svelte.d.ts +3 -0
  707. package/dist/tour/positioner.svelte +2 -2
  708. package/dist/tour/positioner.svelte.d.ts +3 -0
  709. package/dist/tour/prev-trigger.svelte +2 -2
  710. package/dist/tour/prev-trigger.svelte.d.ts +3 -0
  711. package/dist/tour/progress-text.svelte +2 -2
  712. package/dist/tour/progress-text.svelte.d.ts +3 -0
  713. package/dist/tour/root.svelte.d.ts +6 -0
  714. package/dist/tour/skip-trigger.svelte +2 -2
  715. package/dist/tour/skip-trigger.svelte.d.ts +3 -0
  716. package/dist/tour/spotlight.svelte +2 -2
  717. package/dist/tour/spotlight.svelte.d.ts +3 -0
  718. package/dist/tour/title.svelte +2 -2
  719. package/dist/tour/title.svelte.d.ts +3 -0
  720. package/dist/tree-view/branch-content.svelte +7 -2
  721. package/dist/tree-view/branch-content.svelte.d.ts +3 -0
  722. package/dist/tree-view/branch-control.svelte +7 -2
  723. package/dist/tree-view/branch-control.svelte.d.ts +3 -0
  724. package/dist/tree-view/branch-indicator.svelte +7 -2
  725. package/dist/tree-view/branch-indicator.svelte.d.ts +3 -0
  726. package/dist/tree-view/branch-text.svelte +7 -2
  727. package/dist/tree-view/branch-text.svelte.d.ts +3 -0
  728. package/dist/tree-view/branch-trigger.svelte +7 -2
  729. package/dist/tree-view/branch-trigger.svelte.d.ts +3 -0
  730. package/dist/tree-view/branch.svelte +2 -2
  731. package/dist/tree-view/branch.svelte.d.ts +4 -0
  732. package/dist/tree-view/context.svelte.d.ts +3 -3
  733. package/dist/tree-view/item-indicator.svelte +7 -2
  734. package/dist/tree-view/item-indicator.svelte.d.ts +3 -0
  735. package/dist/tree-view/item-text.svelte +2 -2
  736. package/dist/tree-view/item-text.svelte.d.ts +3 -0
  737. package/dist/tree-view/item.svelte +2 -2
  738. package/dist/tree-view/item.svelte.d.ts +4 -0
  739. package/dist/tree-view/label.svelte +2 -2
  740. package/dist/tree-view/label.svelte.d.ts +3 -0
  741. package/dist/tree-view/root.svelte +2 -2
  742. package/dist/tree-view/root.svelte.d.ts +4 -0
  743. package/dist/tree-view/tree.svelte +2 -2
  744. package/dist/tree-view/tree.svelte.d.ts +3 -0
  745. package/dist/types.d.ts +2 -1
  746. package/package.json +56 -53
@@ -1,51 +1,51 @@
1
- <script lang="ts" module>
2
- import type {Assign, HtmlIngredientProps} from '../types.js';
3
- import type {
4
- CreateCarouselProps,
5
- CreateCarouselReturn,
6
- } from './create-carousel.svelte.js';
7
-
8
- export interface CarouselProps
9
- extends Assign<
10
- HtmlIngredientProps<'div', CreateCarouselReturn>,
11
- CreateCarouselProps
12
- > {}
13
- </script>
14
-
15
- <script lang="ts">
16
- import {mergeProps} from '../merge-props.js';
17
- import {reflect} from '@zag-js/svelte';
18
- import {createSplitProps} from '@zag-js/utils';
19
- import {setCarouselContext} from './context.svelte.js';
20
- import {createCarousel} from './create-carousel.svelte.js';
21
-
22
- let {asChild, children, ...props}: CarouselProps = $props();
23
-
24
- let [carouselProps, localProps] = $derived(
25
- createSplitProps<CreateCarouselProps>([
26
- 'id',
27
- 'ids',
28
- 'loop',
29
- 'align',
30
- 'index',
31
- 'spacing',
32
- 'orientation',
33
- 'slidesPerView',
34
- 'onIndexChange',
35
- ])(props),
36
- );
37
-
38
- let carousel = createCarousel(reflect(() => carouselProps));
39
-
40
- let mergedProps = $derived(mergeProps(localProps, carousel.getRootProps()));
41
-
42
- setCarouselContext(carousel);
43
- </script>
44
-
45
- {#if asChild}
46
- {@render asChild(mergedProps, carousel)}
47
- {:else}
48
- <div {...mergedProps}>
49
- {@render children?.(carousel)}
50
- </div>
51
- {/if}
1
+ <script lang="ts" module>
2
+ import type {Assign, HtmlIngredientProps} from '../types.js';
3
+ import type {
4
+ CreateCarouselProps,
5
+ CreateCarouselReturn,
6
+ } from './create-carousel.svelte.js';
7
+
8
+ export interface CarouselProps
9
+ extends Assign<
10
+ HtmlIngredientProps<'div', CreateCarouselReturn>,
11
+ CreateCarouselProps
12
+ > {}
13
+ </script>
14
+
15
+ <script lang="ts">
16
+ import {mergeProps} from '../merge-props.js';
17
+ import {reflect} from '@zag-js/svelte';
18
+ import {createSplitProps} from '@zag-js/utils';
19
+ import {setCarouselContext} from './context.svelte.js';
20
+ import {createCarousel} from './create-carousel.svelte.js';
21
+
22
+ let {this: e, asChild, children, ...props}: CarouselProps = $props();
23
+
24
+ let [carouselProps, localProps] = $derived(
25
+ createSplitProps<CreateCarouselProps>([
26
+ 'id',
27
+ 'ids',
28
+ 'loop',
29
+ 'align',
30
+ 'index',
31
+ 'spacing',
32
+ 'orientation',
33
+ 'slidesPerView',
34
+ 'onIndexChange',
35
+ ])(props),
36
+ );
37
+
38
+ let carousel = createCarousel(reflect(() => carouselProps));
39
+
40
+ let mergedProps = $derived(mergeProps(localProps, carousel.getRootProps()));
41
+
42
+ setCarouselContext(carousel);
43
+ </script>
44
+
45
+ {#if asChild}
46
+ {@render asChild(mergedProps, carousel)}
47
+ {:else}
48
+ <div bind:this={e} {...mergedProps}>
49
+ {@render children?.(carousel)}
50
+ </div>
51
+ {/if}
@@ -1,3 +1,7 @@
1
+ import type { Assign, HtmlIngredientProps } from '../types.js';
2
+ import type { CreateCarouselProps, CreateCarouselReturn } from './create-carousel.svelte.js';
3
+ export interface CarouselProps extends Assign<HtmlIngredientProps<'div', CreateCarouselReturn>, CreateCarouselProps> {
4
+ }
1
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> {
2
6
  new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
3
7
  $$bindings?: Bindings;
@@ -8,7 +8,7 @@
8
8
  import {mergeProps} from '../merge-props.js';
9
9
  import {getCarouselContext} from './context.svelte.js';
10
10
 
11
- let {asChild, children, ...props}: CarouselViewportProps = $props();
11
+ let {this: e, asChild, children, ...props}: CarouselViewportProps = $props();
12
12
 
13
13
  let carousel = getCarouselContext();
14
14
 
@@ -18,7 +18,7 @@
18
18
  {#if asChild}
19
19
  {@render asChild(mergedProps)}
20
20
  {:else}
21
- <div {...mergedProps}>
21
+ <div bind:this={e} {...mergedProps}>
22
22
  {@render children?.()}
23
23
  </div>
24
24
  {/if}
@@ -1,3 +1,6 @@
1
+ import type { HtmlIngredientProps } from '../types.js';
2
+ export interface CarouselViewportProps extends HtmlIngredientProps<'div'> {
3
+ }
1
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> {
2
5
  new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
3
6
  $$bindings?: Bindings;
@@ -1,2 +1,2 @@
1
1
  import type { CreateCheckboxReturn } from './create-checkbox.svelte.js';
2
- export declare const getCheckboxContext: () => CreateCheckboxReturn, setCheckboxContext: (context: CreateCheckboxReturn | (() => CreateCheckboxReturn)) => void;
2
+ export declare const getCheckboxContext: () => CreateCheckboxReturn, setCheckboxContext: (context: CreateCheckboxReturn | (() => CreateCheckboxReturn)) => CreateCheckboxReturn;
@@ -8,7 +8,7 @@
8
8
  import {mergeProps} from '../merge-props.js';
9
9
  import {getCheckboxContext} from './context.svelte.js';
10
10
 
11
- let {asChild, children, ...props}: CheckboxControlProps = $props();
11
+ let {this: e, asChild, children, ...props}: CheckboxControlProps = $props();
12
12
 
13
13
  let checkbox = getCheckboxContext();
14
14
 
@@ -18,7 +18,7 @@
18
18
  {#if asChild}
19
19
  {@render asChild(mergedProps)}
20
20
  {:else}
21
- <div {...mergedProps}>
21
+ <div bind:this={e} {...mergedProps}>
22
22
  {@render children?.()}
23
23
  </div>
24
24
  {/if}
@@ -1,3 +1,6 @@
1
+ import type { HtmlIngredientProps } from '../types.js';
2
+ export interface CheckboxControlProps extends HtmlIngredientProps<'div'> {
3
+ }
1
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> {
2
5
  new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
3
6
  $$bindings?: Bindings;
@@ -9,7 +9,7 @@
9
9
  import {mergeProps} from '../merge-props.js';
10
10
  import {getCheckboxContext} from './context.svelte.js';
11
11
 
12
- let {asChild, ...props}: CheckboxHiddenInputProps = $props();
12
+ let {this: e, asChild, ...props}: CheckboxHiddenInputProps = $props();
13
13
 
14
14
  let checkbox = getCheckboxContext();
15
15
 
@@ -19,5 +19,5 @@
19
19
  {#if asChild}
20
20
  {@render asChild(mergedProps)}
21
21
  {:else}
22
- <input {...mergedProps} />
22
+ <input bind:this={e} {...mergedProps} />
23
23
  {/if}
@@ -1,3 +1,6 @@
1
+ import type { HtmlIngredientProps } from '../types.js';
2
+ export interface CheckboxHiddenInputProps extends HtmlIngredientProps<'input'> {
3
+ }
1
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> {
2
5
  new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
3
6
  $$bindings?: Bindings;
@@ -8,7 +8,7 @@
8
8
  import {mergeProps} from '../merge-props.js';
9
9
  import {getCheckboxContext} from './context.svelte.js';
10
10
 
11
- let {asChild, children, ...props}: CheckboxIndicatorProps = $props();
11
+ let {this: e, asChild, children, ...props}: CheckboxIndicatorProps = $props();
12
12
 
13
13
  let checkbox = getCheckboxContext();
14
14
 
@@ -18,7 +18,7 @@
18
18
  {#if asChild}
19
19
  {@render asChild(mergedProps)}
20
20
  {:else}
21
- <div {...mergedProps}>
21
+ <div bind:this={e} {...mergedProps}>
22
22
  {@render children?.()}
23
23
  </div>
24
24
  {/if}
@@ -1,3 +1,6 @@
1
+ import type { HtmlIngredientProps } from '../types.js';
2
+ export interface CheckboxIndicatorProps extends HtmlIngredientProps<'div'> {
3
+ }
1
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> {
2
5
  new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
3
6
  $$bindings?: Bindings;
@@ -8,7 +8,7 @@
8
8
  import {mergeProps} from '../merge-props.js';
9
9
  import {getCheckboxContext} from './context.svelte.js';
10
10
 
11
- let {asChild, children, ...props}: CheckboxLabelProps = $props();
11
+ let {this: e, asChild, children, ...props}: CheckboxLabelProps = $props();
12
12
 
13
13
  let checkbox = getCheckboxContext();
14
14
 
@@ -18,7 +18,7 @@
18
18
  {#if asChild}
19
19
  {@render asChild(mergedProps)}
20
20
  {:else}
21
- <span {...mergedProps}>
21
+ <span bind:this={e} {...mergedProps}>
22
22
  {@render children?.()}
23
23
  </span>
24
24
  {/if}
@@ -1,3 +1,6 @@
1
+ import type { HtmlIngredientProps } from '../types.js';
2
+ export interface CheckboxLabelProps extends HtmlIngredientProps<'span'> {
3
+ }
1
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> {
2
5
  new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
3
6
  $$bindings?: Bindings;
@@ -20,7 +20,7 @@
20
20
 
21
21
  import {reflect} from '@zag-js/svelte';
22
22
 
23
- let {asChild, children, ...props}: CheckboxProps = $props();
23
+ let {this: e, asChild, children, ...props}: CheckboxProps = $props();
24
24
 
25
25
  let [checkboxProps, localProps] = $derived(
26
26
  createSplitProps<CreateCheckboxProps>([
@@ -48,7 +48,7 @@
48
48
  {#if asChild}
49
49
  {@render asChild(mergedProps, checkbox)}
50
50
  {:else}
51
- <label {...mergedProps}>
51
+ <label bind:this={e} {...mergedProps}>
52
52
  {@render children?.(checkbox)}
53
53
  </label>
54
54
  {/if}
@@ -1,3 +1,7 @@
1
+ import type { Assign, HtmlIngredientProps } from '../types.js';
2
+ import type { CreateCheckboxProps, CreateCheckboxReturn } from './create-checkbox.svelte.js';
3
+ export interface CheckboxProps extends Assign<HtmlIngredientProps<'label', CreateCheckboxReturn>, CreateCheckboxProps> {
4
+ }
1
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> {
2
6
  new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
3
7
  $$bindings?: Bindings;
@@ -1,2 +1,2 @@
1
1
  import type { CreateClipboardReturn } from './create-clipboard.svelte.js';
2
- export declare const getClipboardContext: () => CreateClipboardReturn, setClipboardContext: (context: CreateClipboardReturn | (() => CreateClipboardReturn)) => void;
2
+ export declare const getClipboardContext: () => CreateClipboardReturn, setClipboardContext: (context: CreateClipboardReturn | (() => CreateClipboardReturn)) => CreateClipboardReturn;
@@ -8,7 +8,7 @@
8
8
  import {mergeProps} from '../merge-props.js';
9
9
  import {getClipboardContext} from './context.svelte.js';
10
10
 
11
- let {asChild, children, ...props}: ClipboardControlProps = $props();
11
+ let {this: e, asChild, children, ...props}: ClipboardControlProps = $props();
12
12
 
13
13
  let clipboard = getClipboardContext();
14
14
 
@@ -18,7 +18,7 @@
18
18
  {#if asChild}
19
19
  {@render asChild(mergedProps)}
20
20
  {:else}
21
- <div {...mergedProps}>
21
+ <div bind:this={e} {...mergedProps}>
22
22
  {@render children?.()}
23
23
  </div>
24
24
  {/if}
@@ -1,3 +1,6 @@
1
+ import type { HtmlIngredientProps } from '../types.js';
2
+ export interface ClipboardControlProps extends HtmlIngredientProps<'div'> {
3
+ }
1
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> {
2
5
  new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
3
6
  $$bindings?: Bindings;
@@ -11,6 +11,7 @@
11
11
  import {getClipboardContext} from './context.svelte.js';
12
12
 
13
13
  let {
14
+ this: e,
14
15
  copied = false,
15
16
  asChild,
16
17
  children,
@@ -27,7 +28,7 @@
27
28
  {#if asChild}
28
29
  {@render asChild(mergedProps)}
29
30
  {:else}
30
- <span {...mergedProps}>
31
+ <span bind:this={e} {...mergedProps}>
31
32
  {@render children?.()}
32
33
  </span>
33
34
  {/if}
@@ -1,3 +1,7 @@
1
+ import type { Assign, HtmlIngredientProps } from '../types.js';
2
+ import type { IndicatorProps } from '@zag-js/clipboard';
3
+ export interface ClipboardIndicatorProps extends Assign<HtmlIngredientProps<'span'>, Partial<IndicatorProps>> {
4
+ }
1
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> {
2
6
  new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
3
7
  $$bindings?: Bindings;
@@ -8,7 +8,7 @@
8
8
  import {mergeProps} from '../merge-props.js';
9
9
  import {getClipboardContext} from './context.svelte.js';
10
10
 
11
- let {asChild, ...props}: ClipboardInputProps = $props();
11
+ let {this: e, asChild, ...props}: ClipboardInputProps = $props();
12
12
 
13
13
  let clipboard = getClipboardContext();
14
14
 
@@ -18,5 +18,5 @@
18
18
  {#if asChild}
19
19
  {@render asChild(mergedProps)}
20
20
  {:else}
21
- <input {...mergedProps} />
21
+ <input bind:this={e} {...mergedProps} />
22
22
  {/if}
@@ -1,3 +1,6 @@
1
+ import type { HtmlIngredientProps } from '../types.js';
2
+ export interface ClipboardInputProps extends HtmlIngredientProps<'input'> {
3
+ }
1
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> {
2
5
  new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
3
6
  $$bindings?: Bindings;
@@ -8,7 +8,7 @@
8
8
  import {mergeProps} from '../merge-props.js';
9
9
  import {getClipboardContext} from './context.svelte.js';
10
10
 
11
- let {asChild, children, ...props}: ClipboardLabelProps = $props();
11
+ let {this: e, asChild, children, ...props}: ClipboardLabelProps = $props();
12
12
 
13
13
  let clipboard = getClipboardContext();
14
14
 
@@ -18,7 +18,7 @@
18
18
  {#if asChild}
19
19
  {@render asChild(mergedProps)}
20
20
  {:else}
21
- <label {...mergedProps}>
21
+ <label bind:this={e} {...mergedProps}>
22
22
  {@render children?.()}
23
23
  </label>
24
24
  {/if}
@@ -1,3 +1,6 @@
1
+ import type { HtmlIngredientProps } from '../types.js';
2
+ export interface ClipboardLabelProps extends HtmlIngredientProps<'label'> {
3
+ }
1
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> {
2
5
  new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
3
6
  $$bindings?: Bindings;
@@ -19,7 +19,7 @@
19
19
  import {setClipboardContext} from './context.svelte.js';
20
20
  import {createClipboard} from './create-clipboard.svelte.js';
21
21
 
22
- let {asChild, children, ...props}: ClipboardProps = $props();
22
+ let {this: e, asChild, children, ...props}: ClipboardProps = $props();
23
23
 
24
24
  let [clipboardProps, localProps] = $derived(
25
25
  createSplitProps<CreateClipboardProps>([
@@ -41,7 +41,7 @@
41
41
  {#if asChild}
42
42
  {@render asChild(mergedProps, clipboard)}
43
43
  {:else}
44
- <div {...mergedProps}>
44
+ <div bind:this={e} {...mergedProps}>
45
45
  {@render children?.(clipboard)}
46
46
  </div>
47
47
  {/if}
@@ -1,3 +1,7 @@
1
+ import type { Assign, HtmlIngredientProps } from '../types.js';
2
+ import type { CreateClipboardProps, CreateClipboardReturn } from './create-clipboard.svelte.js';
3
+ export interface ClipboardProps extends Assign<HtmlIngredientProps<'div', CreateClipboardReturn>, CreateClipboardProps> {
4
+ }
1
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> {
2
6
  new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
3
7
  $$bindings?: Bindings;
@@ -9,7 +9,7 @@
9
9
  import {mergeProps} from '../merge-props.js';
10
10
  import {getClipboardContext} from './context.svelte.js';
11
11
 
12
- let {asChild, children, ...props}: ClipboardTriggerProps = $props();
12
+ let {this: e, asChild, children, ...props}: ClipboardTriggerProps = $props();
13
13
 
14
14
  let clipboard = getClipboardContext();
15
15
 
@@ -19,7 +19,7 @@
19
19
  {#if asChild}
20
20
  {@render asChild(mergedProps)}
21
21
  {:else}
22
- <button type="button" {...mergedProps}>
22
+ <button bind:this={e} type="button" {...mergedProps}>
23
23
  {@render children?.()}
24
24
  </button>
25
25
  {/if}
@@ -1,3 +1,6 @@
1
+ import type { HtmlIngredientProps } from '../types.js';
2
+ export interface ClipboardTriggerProps extends HtmlIngredientProps<'button'> {
3
+ }
1
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> {
2
5
  new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
3
6
  $$bindings?: Bindings;
@@ -8,7 +8,12 @@
8
8
  import {mergeProps} from '../merge-props.js';
9
9
  import {getCollapsibleContext} from './context.svelte.js';
10
10
 
11
- let {asChild, children, ...props}: CollapsibleContentProps = $props();
11
+ let {
12
+ this: e,
13
+ asChild,
14
+ children,
15
+ ...props
16
+ }: CollapsibleContentProps = $props();
12
17
 
13
18
  let collapsible = getCollapsibleContext();
14
19
 
@@ -18,7 +23,7 @@
18
23
  {#if asChild}
19
24
  {@render asChild(mergedProps)}
20
25
  {:else}
21
- <div {...mergedProps}>
26
+ <div bind:this={e} {...mergedProps}>
22
27
  {@render children?.()}
23
28
  </div>
24
29
  {/if}
@@ -1,3 +1,6 @@
1
+ import type { HtmlIngredientProps } from '../types.js';
2
+ export interface CollapsibleContentProps extends HtmlIngredientProps<'div'> {
3
+ }
1
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> {
2
5
  new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
3
6
  $$bindings?: Bindings;
@@ -1,2 +1,2 @@
1
1
  import type { CreateCollapsibleReturn } from './create-collapsible.svelte.js';
2
- export declare const getCollapsibleContext: () => CreateCollapsibleReturn, setCollapsibleContext: (context: CreateCollapsibleReturn | (() => CreateCollapsibleReturn)) => void;
2
+ export declare const getCollapsibleContext: () => CreateCollapsibleReturn, setCollapsibleContext: (context: CreateCollapsibleReturn | (() => CreateCollapsibleReturn)) => CreateCollapsibleReturn;
@@ -19,7 +19,7 @@
19
19
  import {setCollapsibleContext} from './context.svelte.js';
20
20
  import {createCollapsible} from './create-collapsible.svelte.js';
21
21
 
22
- let {asChild, children, ...props}: CollapsibleProps = $props();
22
+ let {this: e, asChild, children, ...props}: CollapsibleProps = $props();
23
23
 
24
24
  let [collapsibleProps, localProps] = $derived(
25
25
  createSplitProps<CreateCollapsibleProps>([
@@ -45,7 +45,7 @@
45
45
  {#if asChild}
46
46
  {@render asChild(mergedProps, collapsible)}
47
47
  {:else}
48
- <div {...mergedProps}>
48
+ <div bind:this={e} {...mergedProps}>
49
49
  {@render children?.(collapsible)}
50
50
  </div>
51
51
  {/if}
@@ -1,3 +1,7 @@
1
+ import type { Assign, HtmlIngredientProps } from '../types.js';
2
+ import type { CreateCollapsibleProps, CreateCollapsibleReturn } from './create-collapsible.svelte.js';
3
+ export interface CollapsibleProps extends Assign<HtmlIngredientProps<'div', CreateCollapsibleReturn>, CreateCollapsibleProps> {
4
+ }
1
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> {
2
6
  new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
3
7
  $$bindings?: Bindings;
@@ -9,7 +9,12 @@
9
9
  import {mergeProps} from '../merge-props.js';
10
10
  import {getCollapsibleContext} from './context.svelte.js';
11
11
 
12
- let {asChild, children, ...props}: CollapsibleTriggerProps = $props();
12
+ let {
13
+ this: e,
14
+ asChild,
15
+ children,
16
+ ...props
17
+ }: CollapsibleTriggerProps = $props();
13
18
 
14
19
  let collapsible = getCollapsibleContext();
15
20
 
@@ -19,7 +24,7 @@
19
24
  {#if asChild}
20
25
  {@render asChild(mergedProps)}
21
26
  {:else}
22
- <button type="button" {...mergedProps}>
27
+ <button bind:this={e} type="button" {...mergedProps}>
23
28
  {@render children?.()}
24
29
  </button>
25
30
  {/if}
@@ -1,3 +1,6 @@
1
+ import type { HtmlIngredientProps } from '../types.js';
2
+ export interface CollapsibleTriggerProps extends HtmlIngredientProps<'button'> {
3
+ }
1
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> {
2
5
  new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
3
6
  $$bindings?: Bindings;
@@ -1,3 +1,6 @@
1
+ import type { HtmlIngredientProps } from '../types.js';
2
+ export interface ColorPickerAreaBackgroundProps extends HtmlIngredientProps<'div'> {
3
+ }
1
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> {
2
5
  new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
3
6
  $$bindings?: Bindings;
@@ -1,3 +1,6 @@
1
+ import type { HtmlIngredientProps } from '../types.js';
2
+ export interface ColorPickerAreaThumbProps extends HtmlIngredientProps<'div'> {
3
+ }
1
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> {
2
5
  new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
3
6
  $$bindings?: Bindings;
@@ -1,3 +1,7 @@
1
+ import type { Assign, HtmlIngredientProps } from '../types.js';
2
+ import type { AreaProps } from '@zag-js/color-picker';
3
+ export interface ColorPickerAreaProps extends Assign<HtmlIngredientProps<'div'>, AreaProps> {
4
+ }
1
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> {
2
6
  new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
3
7
  $$bindings?: Bindings;
@@ -1,3 +1,7 @@
1
+ import type { Assign, HtmlIngredientProps } from '../types.js';
2
+ import type { ChannelInputProps } from '@zag-js/color-picker';
3
+ export interface ColorPickerChannelInputProps extends Assign<HtmlIngredientProps<'input'>, ChannelInputProps> {
4
+ }
1
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> {
2
6
  new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
3
7
  $$bindings?: Bindings;
@@ -1,3 +1,7 @@
1
+ import type { Assign, HtmlIngredientProps } from '../types.js';
2
+ import type { ChannelProps } from '@zag-js/color-picker';
3
+ export interface ColorPickerChannelSliderLabelProps extends Assign<HtmlIngredientProps<'div'>, ChannelProps> {
4
+ }
1
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> {
2
6
  new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
3
7
  $$bindings?: Bindings;
@@ -1,3 +1,6 @@
1
+ import type { HtmlIngredientProps } from '../types.js';
2
+ export interface ColorPickerChannelSliderThumbProps extends HtmlIngredientProps<'div'> {
3
+ }
1
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> {
2
5
  new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
3
6
  $$bindings?: Bindings;
@@ -1,3 +1,6 @@
1
+ import type { HtmlIngredientProps } from '../types.js';
2
+ export interface ColorPickerChannelSliderTrackProps extends HtmlIngredientProps<'div'> {
3
+ }
1
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> {
2
5
  new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
3
6
  $$bindings?: Bindings;
@@ -1,3 +1,6 @@
1
+ import type { HtmlIngredientProps } from '../types.js';
2
+ export interface ColorPickerChannelSliderValueTextProps extends HtmlIngredientProps<'div'> {
3
+ }
1
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> {
2
5
  new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
3
6
  $$bindings?: Bindings;
@@ -1,3 +1,7 @@
1
+ import type { Assign, HtmlIngredientProps } from '../types.js';
2
+ import type { ChannelSliderProps } from '@zag-js/color-picker';
3
+ export interface ColorPickerChannelSliderProps extends Assign<HtmlIngredientProps<'div'>, ChannelSliderProps> {
4
+ }
1
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> {
2
6
  new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
3
7
  $$bindings?: Bindings;
@@ -1,3 +1,7 @@
1
+ import type { HtmlIngredientProps } from '../types.js';
2
+ import type { Action } from 'svelte/action';
3
+ export interface ColorPickerContentProps extends HtmlIngredientProps<'div', never, Action> {
4
+ }
1
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> {
2
6
  new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
3
7
  $$bindings?: Bindings;