ui-ingredients 0.15.0 → 0.15.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (406) hide show
  1. package/README.md +5 -60
  2. package/dist/accordion/accordion-item-content.svelte +55 -55
  3. package/dist/accordion/accordion-item-indicator.svelte +36 -36
  4. package/dist/accordion/accordion-item-trigger.svelte +36 -36
  5. package/dist/accordion/accordion-item.svelte +47 -47
  6. package/dist/accordion/accordion-root.svelte +66 -66
  7. package/dist/alert/alert-description.svelte +25 -25
  8. package/dist/alert/alert-indicator.svelte +25 -25
  9. package/dist/alert/alert-root.svelte +29 -29
  10. package/dist/alert/alert-title.svelte +25 -25
  11. package/dist/alert-dialog/alert-dialog-backdrop.svelte +49 -49
  12. package/dist/alert-dialog/alert-dialog-close-trigger.svelte +32 -32
  13. package/dist/alert-dialog/alert-dialog-content.svelte +41 -41
  14. package/dist/alert-dialog/alert-dialog-description.svelte +32 -32
  15. package/dist/alert-dialog/alert-dialog-positioner.svelte +40 -40
  16. package/dist/alert-dialog/alert-dialog-root.svelte +48 -48
  17. package/dist/alert-dialog/alert-dialog-title.svelte +30 -30
  18. package/dist/alert-dialog/alert-dialog-trigger.svelte +30 -30
  19. package/dist/avatar/avatar-fallback.svelte +30 -30
  20. package/dist/avatar/avatar-image.svelte +23 -23
  21. package/dist/avatar/avatar-root.svelte +46 -46
  22. package/dist/breadcrumbs/breadcrumbs-item.svelte +25 -25
  23. package/dist/breadcrumbs/breadcrumbs-link.svelte +33 -33
  24. package/dist/breadcrumbs/breadcrumbs-list.svelte +25 -25
  25. package/dist/breadcrumbs/breadcrumbs-root.svelte +29 -29
  26. package/dist/breadcrumbs/breadcrumbs-separator.svelte +25 -25
  27. package/dist/carousel/carousel-indicator-group.svelte +32 -32
  28. package/dist/carousel/carousel-indicator.svelte +41 -41
  29. package/dist/carousel/carousel-item-group.svelte +30 -30
  30. package/dist/carousel/carousel-item.svelte +42 -42
  31. package/dist/carousel/carousel-next-trigger.svelte +30 -30
  32. package/dist/carousel/carousel-prev-trigger.svelte +30 -30
  33. package/dist/carousel/carousel-root.svelte +56 -56
  34. package/dist/carousel/carousel-viewport.svelte +30 -30
  35. package/dist/checkbox/checkbox-control.svelte +30 -30
  36. package/dist/checkbox/checkbox-hidden-input.svelte +27 -27
  37. package/dist/checkbox/checkbox-indicator.svelte +30 -30
  38. package/dist/checkbox/checkbox-label.svelte +30 -30
  39. package/dist/checkbox/checkbox-root.svelte +59 -59
  40. package/dist/clipboard/clipboard-control.svelte +30 -30
  41. package/dist/clipboard/clipboard-indicator.svelte +37 -37
  42. package/dist/clipboard/clipboard-input.svelte +27 -27
  43. package/dist/clipboard/clipboard-label.svelte +30 -30
  44. package/dist/clipboard/clipboard-root.svelte +52 -52
  45. package/dist/clipboard/clipboard-trigger.svelte +30 -30
  46. package/dist/collapsible/collapsible-content.svelte +41 -41
  47. package/dist/collapsible/collapsible-root.svelte +75 -75
  48. package/dist/collapsible/collapsible-trigger.svelte +29 -29
  49. package/dist/color-picker/color-picker-area-background.svelte +36 -36
  50. package/dist/color-picker/color-picker-area-thumb.svelte +36 -36
  51. package/dist/color-picker/color-picker-area.svelte +44 -44
  52. package/dist/color-picker/color-picker-channel-input.svelte +41 -41
  53. package/dist/color-picker/color-picker-channel-slider-label.svelte +36 -36
  54. package/dist/color-picker/color-picker-channel-slider-thumb.svelte +45 -45
  55. package/dist/color-picker/color-picker-channel-slider-track.svelte +45 -45
  56. package/dist/color-picker/color-picker-channel-slider-value-text.svelte +45 -45
  57. package/dist/color-picker/color-picker-channel-slider.svelte +51 -51
  58. package/dist/color-picker/color-picker-content.svelte +41 -41
  59. package/dist/color-picker/color-picker-control.svelte +30 -30
  60. package/dist/color-picker/color-picker-eye-dropper-trigger.svelte +32 -32
  61. package/dist/color-picker/color-picker-format-select.svelte +40 -40
  62. package/dist/color-picker/color-picker-format-trigger.svelte +32 -32
  63. package/dist/color-picker/color-picker-hidden-input.svelte +29 -29
  64. package/dist/color-picker/color-picker-label.svelte +30 -30
  65. package/dist/color-picker/color-picker-positioner.svelte +38 -38
  66. package/dist/color-picker/color-picker-root.svelte +87 -87
  67. package/dist/color-picker/color-picker-swatch-group.svelte +32 -32
  68. package/dist/color-picker/color-picker-swatch-indicator.svelte +36 -36
  69. package/dist/color-picker/color-picker-swatch-trigger.svelte +44 -44
  70. package/dist/color-picker/color-picker-swatch.svelte +44 -44
  71. package/dist/color-picker/color-picker-transparency-grid.svelte +37 -37
  72. package/dist/color-picker/color-picker-trigger.svelte +30 -30
  73. package/dist/color-picker/color-picker-value-swatch.svelte +41 -41
  74. package/dist/color-picker/color-picker-value-text.svelte +36 -36
  75. package/dist/color-picker/color-picker-view.svelte +41 -41
  76. package/dist/combobox/combobox-clear-trigger.svelte +32 -32
  77. package/dist/combobox/combobox-content.svelte +37 -37
  78. package/dist/combobox/combobox-control.svelte +30 -30
  79. package/dist/combobox/combobox-input.svelte +25 -25
  80. package/dist/combobox/combobox-item-group-label.svelte +41 -41
  81. package/dist/combobox/combobox-item-group.svelte +45 -45
  82. package/dist/combobox/combobox-item-indicator.svelte +36 -36
  83. package/dist/combobox/combobox-item-text.svelte +40 -40
  84. package/dist/combobox/combobox-item.svelte +47 -47
  85. package/dist/combobox/combobox-label.svelte +30 -30
  86. package/dist/combobox/combobox-list.svelte +30 -30
  87. package/dist/combobox/combobox-positioner.svelte +40 -40
  88. package/dist/combobox/combobox-root.svelte +101 -101
  89. package/dist/combobox/combobox-trigger.svelte +30 -30
  90. package/dist/date-picker/date-picker-clear-trigger.svelte +32 -32
  91. package/dist/date-picker/date-picker-content.svelte +41 -41
  92. package/dist/date-picker/date-picker-control.svelte +30 -30
  93. package/dist/date-picker/date-picker-day-table-cell-trigger.svelte +36 -36
  94. package/dist/date-picker/date-picker-day-table-cell.svelte +52 -52
  95. package/dist/date-picker/date-picker-input.svelte +34 -34
  96. package/dist/date-picker/date-picker-label.svelte +37 -37
  97. package/dist/date-picker/date-picker-month-select.svelte +41 -41
  98. package/dist/date-picker/date-picker-month-table-cell-trigger.svelte +36 -36
  99. package/dist/date-picker/date-picker-month-table-cell.svelte +50 -50
  100. package/dist/date-picker/date-picker-next-trigger.svelte +36 -36
  101. package/dist/date-picker/date-picker-positioner.svelte +40 -40
  102. package/dist/date-picker/date-picker-preset-trigger.svelte +37 -37
  103. package/dist/date-picker/date-picker-prev-trigger.svelte +36 -36
  104. package/dist/date-picker/date-picker-range-text.svelte +34 -34
  105. package/dist/date-picker/date-picker-root.svelte +90 -90
  106. package/dist/date-picker/date-picker-table-body.svelte +36 -36
  107. package/dist/date-picker/date-picker-table-head.svelte +36 -36
  108. package/dist/date-picker/date-picker-table-header.svelte +36 -36
  109. package/dist/date-picker/date-picker-table-row.svelte +36 -36
  110. package/dist/date-picker/date-picker-table.svelte +46 -46
  111. package/dist/date-picker/date-picker-trigger.svelte +30 -30
  112. package/dist/date-picker/date-picker-view-control.svelte +36 -36
  113. package/dist/date-picker/date-picker-view-trigger.svelte +36 -36
  114. package/dist/date-picker/date-picker-view.svelte +41 -41
  115. package/dist/date-picker/date-picker-year-select.svelte +38 -38
  116. package/dist/date-picker/date-picker-year-table-cell-trigger.svelte +36 -36
  117. package/dist/date-picker/date-picker-year-table-cell.svelte +50 -50
  118. package/dist/dialog/dialog-backdrop.svelte +45 -45
  119. package/dist/dialog/dialog-close-trigger.svelte +30 -30
  120. package/dist/dialog/dialog-content.svelte +37 -37
  121. package/dist/dialog/dialog-description.svelte +30 -30
  122. package/dist/dialog/dialog-positioner.svelte +36 -36
  123. package/dist/dialog/dialog-root.svelte +48 -48
  124. package/dist/dialog/dialog-title.svelte +30 -30
  125. package/dist/dialog/dialog-trigger.svelte +30 -30
  126. package/dist/drawer/drawer-backdrop.svelte +45 -45
  127. package/dist/drawer/drawer-body.svelte +30 -30
  128. package/dist/drawer/drawer-close-trigger.svelte +30 -30
  129. package/dist/drawer/drawer-content.svelte +37 -37
  130. package/dist/drawer/drawer-description.svelte +30 -30
  131. package/dist/drawer/drawer-footer.svelte +30 -30
  132. package/dist/drawer/drawer-header.svelte +30 -30
  133. package/dist/drawer/drawer-positioner.svelte +36 -36
  134. package/dist/drawer/drawer-root.svelte +48 -48
  135. package/dist/drawer/drawer-title.svelte +30 -30
  136. package/dist/drawer/drawer-trigger.svelte +30 -30
  137. package/dist/editable/editable-area.svelte +30 -30
  138. package/dist/editable/editable-cancel-trigger.svelte +32 -32
  139. package/dist/editable/editable-control.svelte +30 -30
  140. package/dist/editable/editable-edit-trigger.svelte +30 -30
  141. package/dist/editable/editable-input.svelte +23 -23
  142. package/dist/editable/editable-label.svelte +30 -30
  143. package/dist/editable/editable-preview.svelte +37 -37
  144. package/dist/editable/editable-root.svelte +74 -74
  145. package/dist/editable/editable-submit-trigger.svelte +32 -32
  146. package/dist/environment-provider/environment-provider.svelte +41 -41
  147. package/dist/field/field-error-text.svelte +50 -50
  148. package/dist/field/field-helper-text.svelte +32 -32
  149. package/dist/field/field-input.svelte +23 -23
  150. package/dist/field/field-label.svelte +30 -30
  151. package/dist/field/field-required-indicator.svelte +36 -36
  152. package/dist/field/field-root.svelte +63 -63
  153. package/dist/field/field-select.svelte +28 -28
  154. package/dist/field/field-textarea.svelte +51 -51
  155. package/dist/file-upload/file-upload-clear-trigger.svelte +32 -32
  156. package/dist/file-upload/file-upload-dropzone.svelte +30 -30
  157. package/dist/file-upload/file-upload-hidden-input.svelte +29 -29
  158. package/dist/file-upload/file-upload-item-delete-trigger.svelte +36 -36
  159. package/dist/file-upload/file-upload-item-group.svelte +30 -30
  160. package/dist/file-upload/file-upload-item-name.svelte +40 -40
  161. package/dist/file-upload/file-upload-item-preview-image.svelte +41 -41
  162. package/dist/file-upload/file-upload-item-preview.svelte +36 -36
  163. package/dist/file-upload/file-upload-item-size-text.svelte +40 -40
  164. package/dist/file-upload/file-upload-item.svelte +43 -43
  165. package/dist/file-upload/file-upload-label.svelte +30 -30
  166. package/dist/file-upload/file-upload-root.svelte +66 -66
  167. package/dist/file-upload/file-upload-trigger.svelte +30 -30
  168. package/dist/floating-panel/floating-panel-body.svelte +30 -30
  169. package/dist/floating-panel/floating-panel-close-trigger.svelte +32 -32
  170. package/dist/floating-panel/floating-panel-content.svelte +41 -41
  171. package/dist/floating-panel/floating-panel-drag-trigger.svelte +32 -32
  172. package/dist/floating-panel/floating-panel-header.svelte +30 -30
  173. package/dist/floating-panel/floating-panel-maximize-trigger.svelte +32 -32
  174. package/dist/floating-panel/floating-panel-minimize-trigger.svelte +32 -32
  175. package/dist/floating-panel/floating-panel-positioner.svelte +40 -40
  176. package/dist/floating-panel/floating-panel-resize-trigger.svelte +44 -44
  177. package/dist/floating-panel/floating-panel-restore-trigger.svelte +32 -32
  178. package/dist/floating-panel/floating-panel-root.svelte +47 -47
  179. package/dist/floating-panel/floating-panel-title.svelte +30 -30
  180. package/dist/floating-panel/floating-panel-trigger.svelte +32 -32
  181. package/dist/highlight/highlight.svelte +42 -42
  182. package/dist/hover-card/hover-card-arrow-tip.svelte +30 -30
  183. package/dist/hover-card/hover-card-arrow.svelte +30 -30
  184. package/dist/hover-card/hover-card-content.svelte +37 -37
  185. package/dist/hover-card/hover-card-positioner.svelte +40 -40
  186. package/dist/hover-card/hover-card-root.svelte +52 -52
  187. package/dist/hover-card/hover-card-trigger.svelte +30 -30
  188. package/dist/locale-provider/local-provider.svelte +26 -26
  189. package/dist/menu/menu-arrow-tip.svelte +30 -30
  190. package/dist/menu/menu-arrow.svelte +30 -30
  191. package/dist/menu/menu-content.svelte +37 -37
  192. package/dist/menu/menu-context-trigger.svelte +30 -30
  193. package/dist/menu/menu-indicator.svelte +30 -30
  194. package/dist/menu/menu-item-group-label.svelte +42 -42
  195. package/dist/menu/menu-item-group.svelte +45 -45
  196. package/dist/menu/menu-item.svelte +47 -47
  197. package/dist/menu/menu-option-item-indicator.svelte +37 -37
  198. package/dist/menu/menu-option-item-text.svelte +41 -41
  199. package/dist/menu/menu-option-item.svelte +56 -56
  200. package/dist/menu/menu-positioner.svelte +36 -36
  201. package/dist/menu/menu-root.svelte +74 -74
  202. package/dist/menu/menu-separator.svelte +30 -30
  203. package/dist/menu/menu-trigger-item.svelte +30 -30
  204. package/dist/menu/menu-trigger.svelte +30 -30
  205. package/dist/number-input/number-input-control.svelte +30 -30
  206. package/dist/number-input/number-input-decrement-trigger.svelte +32 -32
  207. package/dist/number-input/number-input-increment-trigger.svelte +32 -32
  208. package/dist/number-input/number-input-input.svelte +27 -27
  209. package/dist/number-input/number-input-label.svelte +30 -30
  210. package/dist/number-input/number-input-root.svelte +74 -74
  211. package/dist/number-input/number-input-scrubber.svelte +30 -30
  212. package/dist/number-input/number-input-value-text.svelte +36 -36
  213. package/dist/pagination/pagination-ellipsis.svelte +41 -41
  214. package/dist/pagination/pagination-item.svelte +47 -47
  215. package/dist/pagination/pagination-next-trigger.svelte +32 -32
  216. package/dist/pagination/pagination-prev-trigger.svelte +32 -32
  217. package/dist/pagination/pagination-root.svelte +57 -57
  218. package/dist/pin-input/pin-input-clear-trigger.svelte +32 -32
  219. package/dist/pin-input/pin-input-control.svelte +30 -30
  220. package/dist/pin-input/pin-input-hidden-input.svelte +27 -27
  221. package/dist/pin-input/pin-input-input.svelte +34 -34
  222. package/dist/pin-input/pin-input-label.svelte +30 -30
  223. package/dist/pin-input/pin-input-root.svelte +68 -68
  224. package/dist/popover/popover-anchor.svelte +30 -30
  225. package/dist/popover/popover-arrow-tip.svelte +30 -30
  226. package/dist/popover/popover-arrow.svelte +30 -30
  227. package/dist/popover/popover-close-trigger.svelte +30 -30
  228. package/dist/popover/popover-content.svelte +37 -37
  229. package/dist/popover/popover-description.svelte +30 -30
  230. package/dist/popover/popover-indicator.svelte +30 -30
  231. package/dist/popover/popover-positioner.svelte +40 -40
  232. package/dist/popover/popover-root.svelte +60 -60
  233. package/dist/popover/popover-title.svelte +30 -30
  234. package/dist/popover/popover-trigger.svelte +30 -30
  235. package/dist/portal/portal.svelte +32 -32
  236. package/dist/presence/presence.svelte +48 -48
  237. package/dist/progress/progress-circle-range.svelte +30 -30
  238. package/dist/progress/progress-circle-track.svelte +30 -30
  239. package/dist/progress/progress-circle.svelte +30 -30
  240. package/dist/progress/progress-label.svelte +30 -30
  241. package/dist/progress/progress-range.svelte +30 -30
  242. package/dist/progress/progress-root.svelte +54 -54
  243. package/dist/progress/progress-track.svelte +30 -30
  244. package/dist/progress/progress-value-text.svelte +34 -34
  245. package/dist/progress/progress-view.svelte +32 -32
  246. package/dist/qr-code/qr-code-frame.svelte +30 -30
  247. package/dist/qr-code/qr-code-overlay.svelte +30 -30
  248. package/dist/qr-code/qr-code-pattern.svelte +30 -30
  249. package/dist/qr-code/qr-code-root.svelte +48 -48
  250. package/dist/radio-group/radio-group-indicator.svelte +30 -30
  251. package/dist/radio-group/radio-group-item-control.svelte +36 -36
  252. package/dist/radio-group/radio-group-item-hidden-input.svelte +33 -33
  253. package/dist/radio-group/radio-group-item-text.svelte +36 -36
  254. package/dist/radio-group/radio-group-item.svelte +48 -48
  255. package/dist/radio-group/radio-group-label.svelte +30 -30
  256. package/dist/radio-group/radio-group-root.svelte +56 -56
  257. package/dist/rating-group/rating-group-control.svelte +30 -30
  258. package/dist/rating-group/rating-group-hidden-input.svelte +29 -29
  259. package/dist/rating-group/rating-group-item.svelte +42 -42
  260. package/dist/rating-group/rating-group-label.svelte +30 -30
  261. package/dist/rating-group/rating-group-root.svelte +63 -63
  262. package/dist/segment-group/segment-group-indicator.svelte +32 -32
  263. package/dist/segment-group/segment-group-item-control.svelte +36 -36
  264. package/dist/segment-group/segment-group-item-hidden-input.svelte +33 -33
  265. package/dist/segment-group/segment-group-item-text.svelte +36 -36
  266. package/dist/segment-group/segment-group-item.svelte +47 -47
  267. package/dist/segment-group/segment-group-label.svelte +30 -30
  268. package/dist/segment-group/segment-group-root.svelte +58 -58
  269. package/dist/select/select-clear-trigger.svelte +30 -30
  270. package/dist/select/select-content.svelte +37 -37
  271. package/dist/select/select-control.svelte +30 -30
  272. package/dist/select/select-hidden-select.svelte +30 -30
  273. package/dist/select/select-indicator.svelte +30 -30
  274. package/dist/select/select-item-group-label.svelte +40 -40
  275. package/dist/select/select-item-group.svelte +45 -45
  276. package/dist/select/select-item-indicator.svelte +36 -36
  277. package/dist/select/select-item-text.svelte +40 -40
  278. package/dist/select/select-item.svelte +47 -47
  279. package/dist/select/select-label.svelte +30 -30
  280. package/dist/select/select-list.svelte +30 -30
  281. package/dist/select/select-positioner.svelte +36 -36
  282. package/dist/select/select-root.svelte +88 -88
  283. package/dist/select/select-trigger.svelte +32 -32
  284. package/dist/select/select-value-text.svelte +37 -37
  285. package/dist/signature-pad/signature-pad-clear-trigger.svelte +32 -32
  286. package/dist/signature-pad/signature-pad-control.svelte +30 -30
  287. package/dist/signature-pad/signature-pad-current-segment-path.svelte +39 -39
  288. package/dist/signature-pad/signature-pad-guide.svelte +30 -30
  289. package/dist/signature-pad/signature-pad-hidden-input.svelte +34 -34
  290. package/dist/signature-pad/signature-pad-label.svelte +30 -30
  291. package/dist/signature-pad/signature-pad-root.svelte +59 -59
  292. package/dist/signature-pad/signature-pad-segment-path.svelte +37 -37
  293. package/dist/signature-pad/signature-pad-segment.svelte +30 -30
  294. package/dist/slider/slider-control.svelte +30 -30
  295. package/dist/slider/slider-dragging-indicator.svelte +36 -36
  296. package/dist/slider/slider-hidden-input.svelte +33 -33
  297. package/dist/slider/slider-label.svelte +30 -30
  298. package/dist/slider/slider-marker-group.svelte +30 -30
  299. package/dist/slider/slider-marker.svelte +39 -39
  300. package/dist/slider/slider-range.svelte +30 -30
  301. package/dist/slider/slider-root.svelte +69 -69
  302. package/dist/slider/slider-thumb.svelte +43 -43
  303. package/dist/slider/slider-track.svelte +30 -30
  304. package/dist/slider/slider-value-text.svelte +34 -34
  305. package/dist/splitter/splitter-panel.svelte +38 -38
  306. package/dist/splitter/splitter-resize-trigger.svelte +52 -52
  307. package/dist/splitter/splitter-root.svelte +53 -53
  308. package/dist/steps/steps-completed-content.svelte +37 -37
  309. package/dist/steps/steps-content.svelte +32 -32
  310. package/dist/steps/steps-indicator.svelte +37 -37
  311. package/dist/steps/steps-item.svelte +48 -48
  312. package/dist/steps/steps-list.svelte +30 -30
  313. package/dist/steps/steps-next-trigger.svelte +30 -30
  314. package/dist/steps/steps-prev-trigger.svelte +30 -30
  315. package/dist/steps/steps-progress.svelte +30 -30
  316. package/dist/steps/steps-root.svelte +55 -55
  317. package/dist/steps/steps-separator.svelte +36 -36
  318. package/dist/steps/steps-trigger.svelte +36 -36
  319. package/dist/switch/switch-control.svelte +30 -30
  320. package/dist/switch/switch-hidden-input.svelte +27 -27
  321. package/dist/switch/switch-label.svelte +30 -30
  322. package/dist/switch/switch-root.svelte +59 -59
  323. package/dist/switch/switch-thumb.svelte +30 -30
  324. package/dist/tabs/tabs-content.svelte +38 -38
  325. package/dist/tabs/tabs-indicator.svelte +30 -30
  326. package/dist/tabs/tabs-list.svelte +30 -30
  327. package/dist/tabs/tabs-root.svelte +57 -57
  328. package/dist/tabs/tabs-trigger.svelte +41 -41
  329. package/dist/tags-input/tags-input-clear-trigger.svelte +32 -32
  330. package/dist/tags-input/tags-input-control.svelte +30 -30
  331. package/dist/tags-input/tags-input-hidden-input.svelte +29 -29
  332. package/dist/tags-input/tags-input-input.svelte +27 -27
  333. package/dist/tags-input/tags-input-item-delete-trigger.svelte +36 -36
  334. package/dist/tags-input/tags-input-item-input.svelte +33 -33
  335. package/dist/tags-input/tags-input-item-preview.svelte +36 -36
  336. package/dist/tags-input/tags-input-item-text.svelte +36 -36
  337. package/dist/tags-input/tags-input-item.svelte +48 -48
  338. package/dist/tags-input/tags-input-label.svelte +30 -30
  339. package/dist/tags-input/tags-input-root.svelte +74 -74
  340. package/dist/time-picker/time-picker-clear-trigger.svelte +32 -32
  341. package/dist/time-picker/time-picker-column.svelte +34 -34
  342. package/dist/time-picker/time-picker-content.svelte +39 -39
  343. package/dist/time-picker/time-picker-control.svelte +30 -30
  344. package/dist/time-picker/time-picker-hour-cell.svelte +34 -34
  345. package/dist/time-picker/time-picker-input.svelte +27 -27
  346. package/dist/time-picker/time-picker-label.svelte +30 -30
  347. package/dist/time-picker/time-picker-minute-cell.svelte +34 -34
  348. package/dist/time-picker/time-picker-period-cell.svelte +42 -42
  349. package/dist/time-picker/time-picker-positioner.svelte +38 -38
  350. package/dist/time-picker/time-picker-root.svelte +81 -81
  351. package/dist/time-picker/time-picker-second-cell.svelte +34 -34
  352. package/dist/time-picker/time-picker-spacer.svelte +30 -30
  353. package/dist/time-picker/time-picker-trigger.svelte +30 -30
  354. package/dist/timer/timer-action-trigger.svelte +37 -37
  355. package/dist/timer/timer-area.svelte +30 -30
  356. package/dist/timer/timer-control.svelte +30 -30
  357. package/dist/timer/timer-item-label.svelte +36 -36
  358. package/dist/timer/timer-item-value.svelte +40 -40
  359. package/dist/timer/timer-item.svelte +43 -43
  360. package/dist/timer/timer-root.svelte +55 -55
  361. package/dist/timer/timer-separator.svelte +30 -30
  362. package/dist/toast/toast-action-trigger.svelte +32 -32
  363. package/dist/toast/toast-actor.svelte +19 -19
  364. package/dist/toast/toast-close-trigger.svelte +30 -30
  365. package/dist/toast/toast-description.svelte +34 -34
  366. package/dist/toast/toast-ghost-after.svelte +30 -30
  367. package/dist/toast/toast-ghost-before.svelte +30 -30
  368. package/dist/toast/toast-root.svelte +33 -33
  369. package/dist/toast/toast-title.svelte +34 -34
  370. package/dist/toast/toaster.svelte +60 -60
  371. package/dist/toggle/toggle-root.svelte +50 -50
  372. package/dist/toggle-group/toggle-group-item.svelte +43 -43
  373. package/dist/toggle-group/toggle-group-root.svelte +58 -58
  374. package/dist/tooltip/tooltip-arrow-tip.svelte +30 -30
  375. package/dist/tooltip/tooltip-arrow.svelte +30 -30
  376. package/dist/tooltip/tooltip-content.svelte +37 -37
  377. package/dist/tooltip/tooltip-positioner.svelte +40 -40
  378. package/dist/tooltip/tooltip-root.svelte +44 -44
  379. package/dist/tooltip/tooltip-trigger.svelte +30 -30
  380. package/dist/tour/tour-action-trigger.svelte +39 -39
  381. package/dist/tour/tour-arrow-tip.svelte +32 -32
  382. package/dist/tour/tour-arrow.svelte +32 -32
  383. package/dist/tour/tour-backdrop.svelte +44 -44
  384. package/dist/tour/tour-close-trigger.svelte +30 -30
  385. package/dist/tour/tour-content.svelte +37 -37
  386. package/dist/tour/tour-description.svelte +34 -34
  387. package/dist/tour/tour-positioner.svelte +36 -36
  388. package/dist/tour/tour-progress-text.svelte +34 -34
  389. package/dist/tour/tour-root.svelte +47 -47
  390. package/dist/tour/tour-spotlight.svelte +30 -30
  391. package/dist/tour/tour-title.svelte +34 -34
  392. package/dist/tour/tour-trigger.svelte +30 -30
  393. package/dist/tree-view/tree-view-branch-content.svelte +55 -55
  394. package/dist/tree-view/tree-view-branch-control.svelte +35 -35
  395. package/dist/tree-view/tree-view-branch-indent-guide.svelte +35 -35
  396. package/dist/tree-view/tree-view-branch-indicator.svelte +35 -35
  397. package/dist/tree-view/tree-view-branch-text.svelte +35 -35
  398. package/dist/tree-view/tree-view-branch-trigger.svelte +35 -35
  399. package/dist/tree-view/tree-view-branch.svelte +47 -47
  400. package/dist/tree-view/tree-view-item-indicator.svelte +35 -35
  401. package/dist/tree-view/tree-view-item-text.svelte +35 -35
  402. package/dist/tree-view/tree-view-item.svelte +43 -43
  403. package/dist/tree-view/tree-view-label.svelte +29 -29
  404. package/dist/tree-view/tree-view-root.svelte +68 -68
  405. package/dist/tree-view/tree-view-tree.svelte +29 -29
  406. package/package.json +1 -1
@@ -1,30 +1,30 @@
1
- <script lang="ts" module>
2
- import type {HtmlIngredientProps} from '../types.js';
3
-
4
- export interface SliderTrackProps
5
- extends HtmlIngredientProps<'div', HTMLDivElement> {}
6
- </script>
7
-
8
- <script lang="ts">
9
- import {mergeProps} from '../merge-props.js';
10
- import {getSliderContext} from './slider-context.svelte.js';
11
-
12
- let {
13
- ref = $bindable(null),
14
- asChild,
15
- children,
16
- ...props
17
- }: SliderTrackProps = $props();
18
-
19
- let slider = getSliderContext();
20
-
21
- let mergedProps = $derived(mergeProps(slider.getTrackProps(), props));
22
- </script>
23
-
24
- {#if asChild}
25
- {@render asChild(mergedProps)}
26
- {:else}
27
- <div bind:this={ref} {...mergedProps}>
28
- {@render children?.()}
29
- </div>
30
- {/if}
1
+ <script lang="ts" module>
2
+ import type {HtmlIngredientProps} from '../types.js';
3
+
4
+ export interface SliderTrackProps
5
+ extends HtmlIngredientProps<'div', HTMLDivElement> {}
6
+ </script>
7
+
8
+ <script lang="ts">
9
+ import {mergeProps} from '../merge-props.js';
10
+ import {getSliderContext} from './slider-context.svelte.js';
11
+
12
+ let {
13
+ ref = $bindable(null),
14
+ asChild,
15
+ children,
16
+ ...props
17
+ }: SliderTrackProps = $props();
18
+
19
+ let slider = getSliderContext();
20
+
21
+ let mergedProps = $derived(mergeProps(slider.getTrackProps(), props));
22
+ </script>
23
+
24
+ {#if asChild}
25
+ {@render asChild(mergedProps)}
26
+ {:else}
27
+ <div bind:this={ref} {...mergedProps}>
28
+ {@render children?.()}
29
+ </div>
30
+ {/if}
@@ -1,34 +1,34 @@
1
- <script lang="ts" module>
2
- import type {HtmlIngredientProps} from '../types.js';
3
-
4
- export interface SliderValueTextProps
5
- extends HtmlIngredientProps<'span', HTMLSpanElement> {}
6
- </script>
7
-
8
- <script lang="ts">
9
- import {mergeProps} from '../merge-props.js';
10
- import {getSliderContext} from './slider-context.svelte.js';
11
-
12
- let {
13
- ref = $bindable(null),
14
- asChild,
15
- children,
16
- ...props
17
- }: SliderValueTextProps = $props();
18
-
19
- let slider = getSliderContext();
20
-
21
- let mergedProps = $derived(mergeProps(slider.getValueTextProps(), props));
22
- </script>
23
-
24
- {#if asChild}
25
- {@render asChild(mergedProps)}
26
- {:else}
27
- <span bind:this={ref} {...mergedProps}>
28
- {#if children}
29
- {@render children()}
30
- {:else}
31
- {slider.value.join(', ')}
32
- {/if}
33
- </span>
34
- {/if}
1
+ <script lang="ts" module>
2
+ import type {HtmlIngredientProps} from '../types.js';
3
+
4
+ export interface SliderValueTextProps
5
+ extends HtmlIngredientProps<'span', HTMLSpanElement> {}
6
+ </script>
7
+
8
+ <script lang="ts">
9
+ import {mergeProps} from '../merge-props.js';
10
+ import {getSliderContext} from './slider-context.svelte.js';
11
+
12
+ let {
13
+ ref = $bindable(null),
14
+ asChild,
15
+ children,
16
+ ...props
17
+ }: SliderValueTextProps = $props();
18
+
19
+ let slider = getSliderContext();
20
+
21
+ let mergedProps = $derived(mergeProps(slider.getValueTextProps(), props));
22
+ </script>
23
+
24
+ {#if asChild}
25
+ {@render asChild(mergedProps)}
26
+ {:else}
27
+ <span bind:this={ref} {...mergedProps}>
28
+ {#if children}
29
+ {@render children()}
30
+ {:else}
31
+ {slider.value.join(', ')}
32
+ {/if}
33
+ </span>
34
+ {/if}
@@ -1,38 +1,38 @@
1
- <script lang="ts" module>
2
- import type {Assign, HtmlIngredientProps} from '../types.js';
3
- import type {PanelProps} from '@zag-js/splitter';
4
-
5
- export interface SplitterPanelProps
6
- extends Assign<HtmlIngredientProps<'div', HTMLDivElement>, PanelProps> {}
7
- </script>
8
-
9
- <script lang="ts">
10
- import {mergeProps} from '../merge-props.js';
11
- import {createSplitProps} from '@zag-js/utils';
12
- import {getSplitterContext} from './splitter-context.svelte.js';
13
-
14
- let {
15
- ref = $bindable(null),
16
- asChild,
17
- children,
18
- ...props
19
- }: SplitterPanelProps = $props();
20
-
21
- let splitter = getSplitterContext();
22
-
23
- let [panelProps, localProps] = $derived(
24
- createSplitProps<PanelProps>(['id', 'snapSize'])(props),
25
- );
26
-
27
- let mergedProps = $derived(
28
- mergeProps(splitter.getPanelProps(panelProps), localProps),
29
- );
30
- </script>
31
-
32
- {#if asChild}
33
- {@render asChild(mergedProps)}
34
- {:else}
35
- <div bind:this={ref} {...mergedProps}>
36
- {@render children?.()}
37
- </div>
38
- {/if}
1
+ <script lang="ts" module>
2
+ import type {Assign, HtmlIngredientProps} from '../types.js';
3
+ import type {PanelProps} from '@zag-js/splitter';
4
+
5
+ export interface SplitterPanelProps
6
+ extends Assign<HtmlIngredientProps<'div', HTMLDivElement>, PanelProps> {}
7
+ </script>
8
+
9
+ <script lang="ts">
10
+ import {mergeProps} from '../merge-props.js';
11
+ import {createSplitProps} from '@zag-js/utils';
12
+ import {getSplitterContext} from './splitter-context.svelte.js';
13
+
14
+ let {
15
+ ref = $bindable(null),
16
+ asChild,
17
+ children,
18
+ ...props
19
+ }: SplitterPanelProps = $props();
20
+
21
+ let splitter = getSplitterContext();
22
+
23
+ let [panelProps, localProps] = $derived(
24
+ createSplitProps<PanelProps>(['id', 'snapSize'])(props),
25
+ );
26
+
27
+ let mergedProps = $derived(
28
+ mergeProps(splitter.getPanelProps(panelProps), localProps),
29
+ );
30
+ </script>
31
+
32
+ {#if asChild}
33
+ {@render asChild(mergedProps)}
34
+ {:else}
35
+ <div bind:this={ref} {...mergedProps}>
36
+ {@render children?.()}
37
+ </div>
38
+ {/if}
@@ -1,52 +1,52 @@
1
- <script lang="ts" module>
2
- import type {Assign, HtmlIngredientProps} from '../types.js';
3
- import type {ResizeTriggerProps} from '@zag-js/splitter';
4
-
5
- interface ResizeTriggerState {
6
- min: number | undefined;
7
- max: number | undefined;
8
- value: number;
9
- focused: boolean;
10
- disabled: boolean;
11
- panelIds: string[];
12
- }
13
-
14
- export interface SplitterResizeTriggerProps
15
- extends Assign<
16
- HtmlIngredientProps<'div', HTMLDivElement, ResizeTriggerState>,
17
- ResizeTriggerProps
18
- > {}
19
- </script>
20
-
21
- <script lang="ts">
22
- import {mergeProps} from '../merge-props.js';
23
- import {createSplitProps} from '@zag-js/utils';
24
- import {getSplitterContext} from './splitter-context.svelte.js';
25
-
26
- let {
27
- ref = $bindable(null),
28
- asChild,
29
- children,
30
- ...props
31
- }: SplitterResizeTriggerProps = $props();
32
-
33
- let splitter = getSplitterContext();
34
-
35
- let [resizeTriggerProps, localProps] = $derived(
36
- createSplitProps<ResizeTriggerProps>(['id', 'step', 'disabled'])(props),
37
- );
38
-
39
- let itemState = $derived(splitter.getResizeTriggerState(resizeTriggerProps));
40
-
41
- let mergedProps = $derived(
42
- mergeProps(splitter.getResizeTriggerProps(resizeTriggerProps), localProps),
43
- );
44
- </script>
45
-
46
- {#if asChild}
47
- {@render asChild(mergedProps, itemState)}
48
- {:else}
49
- <div bind:this={ref} {...mergedProps}>
50
- {@render children?.(itemState)}
51
- </div>
52
- {/if}
1
+ <script lang="ts" module>
2
+ import type {Assign, HtmlIngredientProps} from '../types.js';
3
+ import type {ResizeTriggerProps} from '@zag-js/splitter';
4
+
5
+ interface ResizeTriggerState {
6
+ min: number | undefined;
7
+ max: number | undefined;
8
+ value: number;
9
+ focused: boolean;
10
+ disabled: boolean;
11
+ panelIds: string[];
12
+ }
13
+
14
+ export interface SplitterResizeTriggerProps
15
+ extends Assign<
16
+ HtmlIngredientProps<'div', HTMLDivElement, ResizeTriggerState>,
17
+ ResizeTriggerProps
18
+ > {}
19
+ </script>
20
+
21
+ <script lang="ts">
22
+ import {mergeProps} from '../merge-props.js';
23
+ import {createSplitProps} from '@zag-js/utils';
24
+ import {getSplitterContext} from './splitter-context.svelte.js';
25
+
26
+ let {
27
+ ref = $bindable(null),
28
+ asChild,
29
+ children,
30
+ ...props
31
+ }: SplitterResizeTriggerProps = $props();
32
+
33
+ let splitter = getSplitterContext();
34
+
35
+ let [resizeTriggerProps, localProps] = $derived(
36
+ createSplitProps<ResizeTriggerProps>(['id', 'step', 'disabled'])(props),
37
+ );
38
+
39
+ let itemState = $derived(splitter.getResizeTriggerState(resizeTriggerProps));
40
+
41
+ let mergedProps = $derived(
42
+ mergeProps(splitter.getResizeTriggerProps(resizeTriggerProps), localProps),
43
+ );
44
+ </script>
45
+
46
+ {#if asChild}
47
+ {@render asChild(mergedProps, itemState)}
48
+ {:else}
49
+ <div bind:this={ref} {...mergedProps}>
50
+ {@render children?.(itemState)}
51
+ </div>
52
+ {/if}
@@ -1,53 +1,53 @@
1
- <script lang="ts" module>
2
- import type {Assign, HtmlIngredientProps} from '../types.js';
3
- import type {
4
- CreateSplitterProps,
5
- CreateSplitterReturn,
6
- } from './create-splitter.svelte.js';
7
-
8
- export interface SplitterProps
9
- extends Assign<
10
- HtmlIngredientProps<'div', HTMLDivElement, CreateSplitterReturn>,
11
- CreateSplitterProps
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 {createSplitter} from './create-splitter.svelte.js';
20
- import {setSplitterContext} from './splitter-context.svelte.js';
21
-
22
- let {
23
- ref = $bindable(null),
24
- asChild,
25
- children,
26
- ...props
27
- }: SplitterProps = $props();
28
-
29
- let [createSplitterProps, localProps] = $derived(
30
- createSplitProps<CreateSplitterProps>([
31
- 'id',
32
- 'ids',
33
- 'size',
34
- 'orientation',
35
- 'onSizeChange',
36
- 'onSizeChangeEnd',
37
- ])(props),
38
- );
39
-
40
- let splitter = createSplitter(reflect(() => createSplitterProps));
41
-
42
- let mergedProps = $derived(mergeProps(splitter.getRootProps(), localProps));
43
-
44
- setSplitterContext(splitter);
45
- </script>
46
-
47
- {#if asChild}
48
- {@render asChild(mergedProps, splitter)}
49
- {:else}
50
- <div bind:this={ref} {...mergedProps}>
51
- {@render children?.(splitter)}
52
- </div>
53
- {/if}
1
+ <script lang="ts" module>
2
+ import type {Assign, HtmlIngredientProps} from '../types.js';
3
+ import type {
4
+ CreateSplitterProps,
5
+ CreateSplitterReturn,
6
+ } from './create-splitter.svelte.js';
7
+
8
+ export interface SplitterProps
9
+ extends Assign<
10
+ HtmlIngredientProps<'div', HTMLDivElement, CreateSplitterReturn>,
11
+ CreateSplitterProps
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 {createSplitter} from './create-splitter.svelte.js';
20
+ import {setSplitterContext} from './splitter-context.svelte.js';
21
+
22
+ let {
23
+ ref = $bindable(null),
24
+ asChild,
25
+ children,
26
+ ...props
27
+ }: SplitterProps = $props();
28
+
29
+ let [createSplitterProps, localProps] = $derived(
30
+ createSplitProps<CreateSplitterProps>([
31
+ 'id',
32
+ 'ids',
33
+ 'size',
34
+ 'orientation',
35
+ 'onSizeChange',
36
+ 'onSizeChangeEnd',
37
+ ])(props),
38
+ );
39
+
40
+ let splitter = createSplitter(reflect(() => createSplitterProps));
41
+
42
+ let mergedProps = $derived(mergeProps(splitter.getRootProps(), localProps));
43
+
44
+ setSplitterContext(splitter);
45
+ </script>
46
+
47
+ {#if asChild}
48
+ {@render asChild(mergedProps, splitter)}
49
+ {:else}
50
+ <div bind:this={ref} {...mergedProps}>
51
+ {@render children?.(splitter)}
52
+ </div>
53
+ {/if}
@@ -1,37 +1,37 @@
1
- <script lang="ts" module>
2
- import type {HtmlIngredientProps} from '../types.js';
3
-
4
- export interface StepsCompletedContentProps
5
- extends HtmlIngredientProps<'div', HTMLDivElement> {}
6
- </script>
7
-
8
- <script lang="ts">
9
- import {mergeProps} from '../merge-props.js';
10
- import {getStepsContext} from './steps-context.svelte.js';
11
-
12
- let {
13
- ref = $bindable(null),
14
- asChild,
15
- children,
16
- ...props
17
- }: StepsCompletedContentProps = $props();
18
-
19
- let steps = getStepsContext();
20
-
21
- let mergedProps = $derived(
22
- mergeProps(
23
- steps.getContentProps({
24
- index: steps.count,
25
- }),
26
- props,
27
- ),
28
- );
29
- </script>
30
-
31
- {#if asChild}
32
- {@render asChild(mergedProps)}
33
- {:else}
34
- <div bind:this={ref} {...mergedProps}>
35
- {@render children?.()}
36
- </div>
37
- {/if}
1
+ <script lang="ts" module>
2
+ import type {HtmlIngredientProps} from '../types.js';
3
+
4
+ export interface StepsCompletedContentProps
5
+ extends HtmlIngredientProps<'div', HTMLDivElement> {}
6
+ </script>
7
+
8
+ <script lang="ts">
9
+ import {mergeProps} from '../merge-props.js';
10
+ import {getStepsContext} from './steps-context.svelte.js';
11
+
12
+ let {
13
+ ref = $bindable(null),
14
+ asChild,
15
+ children,
16
+ ...props
17
+ }: StepsCompletedContentProps = $props();
18
+
19
+ let steps = getStepsContext();
20
+
21
+ let mergedProps = $derived(
22
+ mergeProps(
23
+ steps.getContentProps({
24
+ index: steps.count,
25
+ }),
26
+ props,
27
+ ),
28
+ );
29
+ </script>
30
+
31
+ {#if asChild}
32
+ {@render asChild(mergedProps)}
33
+ {:else}
34
+ <div bind:this={ref} {...mergedProps}>
35
+ {@render children?.()}
36
+ </div>
37
+ {/if}
@@ -1,32 +1,32 @@
1
- <script lang="ts" module>
2
- import type {Assign, HtmlIngredientProps} from '../types.js';
3
- import type {ItemProps} from '@zag-js/steps';
4
-
5
- export interface StepsContentProps
6
- extends Assign<HtmlIngredientProps<'div', HTMLDivElement>, ItemProps> {}
7
- </script>
8
-
9
- <script lang="ts">
10
- import {mergeProps} from '../merge-props.js';
11
- import {getStepsContext} from './steps-context.svelte.js';
12
-
13
- let {
14
- ref = $bindable(null),
15
- index,
16
- asChild,
17
- children,
18
- ...props
19
- }: StepsContentProps = $props();
20
-
21
- let steps = getStepsContext();
22
-
23
- let mergedProps = $derived(mergeProps(steps.getContentProps({index}), props));
24
- </script>
25
-
26
- {#if asChild}
27
- {@render asChild(mergedProps)}
28
- {:else}
29
- <div bind:this={ref} {...mergedProps}>
30
- {@render children?.()}
31
- </div>
32
- {/if}
1
+ <script lang="ts" module>
2
+ import type {Assign, HtmlIngredientProps} from '../types.js';
3
+ import type {ItemProps} from '@zag-js/steps';
4
+
5
+ export interface StepsContentProps
6
+ extends Assign<HtmlIngredientProps<'div', HTMLDivElement>, ItemProps> {}
7
+ </script>
8
+
9
+ <script lang="ts">
10
+ import {mergeProps} from '../merge-props.js';
11
+ import {getStepsContext} from './steps-context.svelte.js';
12
+
13
+ let {
14
+ ref = $bindable(null),
15
+ index,
16
+ asChild,
17
+ children,
18
+ ...props
19
+ }: StepsContentProps = $props();
20
+
21
+ let steps = getStepsContext();
22
+
23
+ let mergedProps = $derived(mergeProps(steps.getContentProps({index}), props));
24
+ </script>
25
+
26
+ {#if asChild}
27
+ {@render asChild(mergedProps)}
28
+ {:else}
29
+ <div bind:this={ref} {...mergedProps}>
30
+ {@render children?.()}
31
+ </div>
32
+ {/if}
@@ -1,37 +1,37 @@
1
- <script lang="ts" module>
2
- import type {HtmlIngredientProps} from '../types.js';
3
-
4
- export interface StepsIndicatorProps
5
- extends HtmlIngredientProps<'span', HTMLSpanElement> {}
6
- </script>
7
-
8
- <script lang="ts">
9
- import {mergeProps} from '../merge-props.js';
10
- import {
11
- getStepsContext,
12
- getStepsItemPropsContext,
13
- } from './steps-context.svelte.js';
14
-
15
- let {
16
- ref = $bindable(null),
17
- asChild,
18
- children,
19
- ...props
20
- }: StepsIndicatorProps = $props();
21
-
22
- let steps = getStepsContext();
23
-
24
- let itemProps = getStepsItemPropsContext();
25
-
26
- let mergedProps = $derived(
27
- mergeProps(steps.getIndicatorProps(itemProps), props),
28
- );
29
- </script>
30
-
31
- {#if asChild}
32
- {@render asChild(mergedProps)}
33
- {:else}
34
- <span bind:this={ref} {...mergedProps}>
35
- {@render children?.()}
36
- </span>
37
- {/if}
1
+ <script lang="ts" module>
2
+ import type {HtmlIngredientProps} from '../types.js';
3
+
4
+ export interface StepsIndicatorProps
5
+ extends HtmlIngredientProps<'span', HTMLSpanElement> {}
6
+ </script>
7
+
8
+ <script lang="ts">
9
+ import {mergeProps} from '../merge-props.js';
10
+ import {
11
+ getStepsContext,
12
+ getStepsItemPropsContext,
13
+ } from './steps-context.svelte.js';
14
+
15
+ let {
16
+ ref = $bindable(null),
17
+ asChild,
18
+ children,
19
+ ...props
20
+ }: StepsIndicatorProps = $props();
21
+
22
+ let steps = getStepsContext();
23
+
24
+ let itemProps = getStepsItemPropsContext();
25
+
26
+ let mergedProps = $derived(
27
+ mergeProps(steps.getIndicatorProps(itemProps), props),
28
+ );
29
+ </script>
30
+
31
+ {#if asChild}
32
+ {@render asChild(mergedProps)}
33
+ {:else}
34
+ <span bind:this={ref} {...mergedProps}>
35
+ {@render children?.()}
36
+ </span>
37
+ {/if}