ui-ingredients 0.0.64 → 0.0.66

Sign up to get free protection for your applications and to get access to all the features.
Files changed (416) hide show
  1. package/dist/accordion/accordion-item-content.svelte +1 -1
  2. package/dist/accordion/accordion-item-indicator.svelte +1 -1
  3. package/dist/accordion/accordion-item-trigger.svelte +1 -1
  4. package/dist/accordion/accordion-item.svelte +1 -1
  5. package/dist/accordion/accordion-root.svelte +1 -1
  6. package/dist/accordion/create-accordion.svelte.d.ts +1 -1
  7. package/dist/avatar/avatar-fallback.svelte +1 -1
  8. package/dist/avatar/avatar-image.svelte +1 -1
  9. package/dist/avatar/avatar-root.svelte +1 -1
  10. package/dist/avatar/create-avatar.svelte.d.ts +1 -1
  11. package/dist/carousel/carousel-indicator-group.svelte +1 -1
  12. package/dist/carousel/carousel-indicator.svelte +1 -1
  13. package/dist/carousel/carousel-item-group.svelte +1 -1
  14. package/dist/carousel/carousel-item.svelte +1 -1
  15. package/dist/carousel/carousel-next-trigger.svelte +1 -1
  16. package/dist/carousel/carousel-prev-trigger.svelte +1 -1
  17. package/dist/carousel/carousel-root.svelte +1 -1
  18. package/dist/carousel/carousel-viewport.svelte +1 -1
  19. package/dist/carousel/create-carousel.svelte.d.ts +1 -1
  20. package/dist/checkbox/checkbox-control.svelte +1 -1
  21. package/dist/checkbox/checkbox-hidden-input.svelte +1 -1
  22. package/dist/checkbox/checkbox-indicator.svelte +1 -1
  23. package/dist/checkbox/checkbox-label.svelte +1 -1
  24. package/dist/checkbox/checkbox-root.svelte +1 -1
  25. package/dist/checkbox/create-checkbox.svelte.d.ts +1 -1
  26. package/dist/clipboard/clipboard-control.svelte +1 -1
  27. package/dist/clipboard/clipboard-indicator.svelte +1 -1
  28. package/dist/clipboard/clipboard-input.svelte +1 -1
  29. package/dist/clipboard/clipboard-label.svelte +1 -1
  30. package/dist/clipboard/clipboard-root.svelte +1 -1
  31. package/dist/clipboard/clipboard-trigger.svelte +1 -1
  32. package/dist/clipboard/create-clipboard.svelte.d.ts +1 -1
  33. package/dist/collapsible/collapsible-content.svelte +1 -1
  34. package/dist/collapsible/collapsible-root.svelte +2 -2
  35. package/dist/collapsible/collapsible-trigger.svelte +1 -1
  36. package/dist/collapsible/create-collapsible.svelte.d.ts +2 -2
  37. package/dist/collapsible/create-collapsible.svelte.js +3 -4
  38. package/dist/color-picker/color-picker-area-background.svelte +1 -1
  39. package/dist/color-picker/color-picker-area-thumb.svelte +1 -1
  40. package/dist/color-picker/color-picker-area.svelte +1 -1
  41. package/dist/color-picker/color-picker-channel-input.svelte +1 -1
  42. package/dist/color-picker/color-picker-channel-slider-label.svelte +1 -1
  43. package/dist/color-picker/color-picker-channel-slider-thumb.svelte +1 -1
  44. package/dist/color-picker/color-picker-channel-slider-track.svelte +1 -1
  45. package/dist/color-picker/color-picker-channel-slider-value-text.svelte +1 -1
  46. package/dist/color-picker/color-picker-channel-slider.svelte +1 -1
  47. package/dist/color-picker/color-picker-content.svelte +1 -1
  48. package/dist/color-picker/color-picker-control.svelte +1 -1
  49. package/dist/color-picker/color-picker-eye-dropper-trigger.svelte +1 -1
  50. package/dist/color-picker/color-picker-format-select.svelte +1 -1
  51. package/dist/color-picker/color-picker-format-trigger.svelte +1 -1
  52. package/dist/color-picker/color-picker-hidden-input.svelte +1 -1
  53. package/dist/color-picker/color-picker-label.svelte +1 -1
  54. package/dist/color-picker/color-picker-positioner.svelte +1 -1
  55. package/dist/color-picker/color-picker-root.svelte +2 -2
  56. package/dist/color-picker/color-picker-swatch-group.svelte +1 -1
  57. package/dist/color-picker/color-picker-swatch-indicator.svelte +1 -1
  58. package/dist/color-picker/color-picker-swatch-trigger.svelte +1 -1
  59. package/dist/color-picker/color-picker-swatch.svelte +1 -1
  60. package/dist/color-picker/color-picker-transparency-grid.svelte +1 -1
  61. package/dist/color-picker/color-picker-trigger.svelte +1 -1
  62. package/dist/color-picker/color-picker-value-swatch.svelte +1 -1
  63. package/dist/color-picker/color-picker-value-text.svelte +1 -1
  64. package/dist/color-picker/color-picker-view.svelte +1 -1
  65. package/dist/color-picker/create-color-picker.svelte.d.ts +2 -2
  66. package/dist/color-picker/create-color-picker.svelte.js +3 -4
  67. package/dist/combobox/combobox-clear-trigger.svelte +1 -1
  68. package/dist/combobox/combobox-content.svelte +1 -1
  69. package/dist/combobox/combobox-control.svelte +1 -1
  70. package/dist/combobox/combobox-input.svelte +1 -3
  71. package/dist/combobox/combobox-item-group-label.svelte +1 -1
  72. package/dist/combobox/combobox-item-group.svelte +1 -1
  73. package/dist/combobox/combobox-item-indicator.svelte +1 -1
  74. package/dist/combobox/combobox-item-text.svelte +1 -1
  75. package/dist/combobox/combobox-item.svelte +1 -1
  76. package/dist/combobox/combobox-label.svelte +1 -1
  77. package/dist/combobox/combobox-list.svelte +1 -1
  78. package/dist/combobox/combobox-positioner.svelte +1 -1
  79. package/dist/combobox/combobox-root.svelte +2 -2
  80. package/dist/combobox/combobox-trigger.svelte +1 -1
  81. package/dist/combobox/create-combobox.svelte.d.ts +2 -2
  82. package/dist/combobox/create-combobox.svelte.js +4 -4
  83. package/dist/date-picker/create-date-picker.svelte.d.ts +2 -2
  84. package/dist/date-picker/create-date-picker.svelte.js +4 -5
  85. package/dist/date-picker/date-picker-clear-trigger.svelte +1 -1
  86. package/dist/date-picker/date-picker-content.svelte +1 -1
  87. package/dist/date-picker/date-picker-control.svelte +1 -1
  88. package/dist/date-picker/date-picker-day-table-cell-trigger.svelte +1 -1
  89. package/dist/date-picker/date-picker-day-table-cell.svelte +1 -1
  90. package/dist/date-picker/date-picker-input.svelte +1 -1
  91. package/dist/date-picker/date-picker-label.svelte +1 -1
  92. package/dist/date-picker/date-picker-month-select.svelte +1 -1
  93. package/dist/date-picker/date-picker-month-table-cell-trigger.svelte +1 -1
  94. package/dist/date-picker/date-picker-month-table-cell.svelte +1 -1
  95. package/dist/date-picker/date-picker-next-trigger.svelte +1 -1
  96. package/dist/date-picker/date-picker-positioner.svelte +1 -1
  97. package/dist/date-picker/date-picker-preset-trigger.svelte +1 -1
  98. package/dist/date-picker/date-picker-prev-trigger.svelte +1 -1
  99. package/dist/date-picker/date-picker-range-text.svelte +1 -1
  100. package/dist/date-picker/date-picker-root.svelte +2 -2
  101. package/dist/date-picker/date-picker-table-body.svelte +1 -1
  102. package/dist/date-picker/date-picker-table-head.svelte +1 -1
  103. package/dist/date-picker/date-picker-table-header.svelte +1 -1
  104. package/dist/date-picker/date-picker-table-row.svelte +1 -1
  105. package/dist/date-picker/date-picker-table.svelte +1 -1
  106. package/dist/date-picker/date-picker-trigger.svelte +1 -1
  107. package/dist/date-picker/date-picker-view-control.svelte +1 -1
  108. package/dist/date-picker/date-picker-view-trigger.svelte +1 -1
  109. package/dist/date-picker/date-picker-view.svelte +1 -1
  110. package/dist/date-picker/date-picker-year-select.svelte +1 -1
  111. package/dist/date-picker/date-picker-year-table-cell-trigger.svelte +1 -1
  112. package/dist/date-picker/date-picker-year-table-cell.svelte +1 -1
  113. package/dist/dialog/create-dialog.svelte.d.ts +2 -2
  114. package/dist/dialog/create-dialog.svelte.js +3 -4
  115. package/dist/dialog/dialog-backdrop.svelte +1 -1
  116. package/dist/dialog/dialog-close-trigger.svelte +1 -1
  117. package/dist/dialog/dialog-content.svelte +1 -1
  118. package/dist/dialog/dialog-description.svelte +1 -1
  119. package/dist/dialog/dialog-positioner.svelte +1 -1
  120. package/dist/dialog/dialog-title.svelte +1 -1
  121. package/dist/dialog/dialog-trigger.svelte +1 -1
  122. package/dist/editable/create-editable.svelte.d.ts +2 -2
  123. package/dist/editable/create-editable.svelte.js +3 -4
  124. package/dist/editable/editable-area.svelte +1 -1
  125. package/dist/editable/editable-cancel-trigger.svelte +1 -1
  126. package/dist/editable/editable-control.svelte +1 -1
  127. package/dist/editable/editable-edit-trigger.svelte +1 -1
  128. package/dist/editable/editable-input.svelte +1 -1
  129. package/dist/editable/editable-label.svelte +1 -1
  130. package/dist/editable/editable-preview.svelte +1 -1
  131. package/dist/editable/editable-root.svelte +2 -2
  132. package/dist/editable/editable-submit-trigger.svelte +1 -1
  133. package/dist/field/create-field.svelte.d.ts +1 -1
  134. package/dist/field/field-error-text.svelte +1 -1
  135. package/dist/field/field-helper-text.svelte +1 -1
  136. package/dist/field/field-input.svelte +1 -1
  137. package/dist/field/field-label.svelte +1 -1
  138. package/dist/field/field-root.svelte +1 -1
  139. package/dist/field/field-select.svelte +1 -1
  140. package/dist/field/field-textarea.svelte +1 -1
  141. package/dist/file-upload/create-file-upload.svelte.d.ts +1 -1
  142. package/dist/file-upload/file-upload-clear-trigger.svelte +1 -1
  143. package/dist/file-upload/file-upload-dropzone.svelte +1 -1
  144. package/dist/file-upload/file-upload-hidden-input.svelte +1 -1
  145. package/dist/file-upload/file-upload-item-delete-trigger.svelte +1 -1
  146. package/dist/file-upload/file-upload-item-group.svelte +1 -1
  147. package/dist/file-upload/file-upload-item-name.svelte +1 -1
  148. package/dist/file-upload/file-upload-item-preview-image.svelte +1 -1
  149. package/dist/file-upload/file-upload-item-preview.svelte +1 -1
  150. package/dist/file-upload/file-upload-item-size-text.svelte +1 -1
  151. package/dist/file-upload/file-upload-item.svelte +1 -1
  152. package/dist/file-upload/file-upload-label.svelte +1 -1
  153. package/dist/file-upload/file-upload-root.svelte +1 -1
  154. package/dist/file-upload/file-upload-trigger.svelte +1 -1
  155. package/dist/floating-panel/create-floating-panel.svelte.d.ts +1 -1
  156. package/dist/floating-panel/floating-panel-body.svelte +1 -1
  157. package/dist/floating-panel/floating-panel-close-trigger.svelte +1 -1
  158. package/dist/floating-panel/floating-panel-content.svelte +1 -1
  159. package/dist/floating-panel/floating-panel-drag-trigger.svelte +1 -1
  160. package/dist/floating-panel/floating-panel-header.svelte +1 -1
  161. package/dist/floating-panel/floating-panel-maximize-trigger.svelte +1 -1
  162. package/dist/floating-panel/floating-panel-minimize-trigger.svelte +1 -1
  163. package/dist/floating-panel/floating-panel-positioner.svelte +1 -1
  164. package/dist/floating-panel/floating-panel-resize-trigger.svelte +1 -1
  165. package/dist/floating-panel/floating-panel-restore-trigger.svelte +1 -1
  166. package/dist/floating-panel/floating-panel-title.svelte +1 -1
  167. package/dist/floating-panel/floating-panel-trigger.svelte +1 -1
  168. package/dist/hover-card/create-hover-card.svelte.d.ts +2 -2
  169. package/dist/hover-card/create-hover-card.svelte.js +3 -4
  170. package/dist/hover-card/hover-card-arrow-tip.svelte +1 -1
  171. package/dist/hover-card/hover-card-arrow.svelte +1 -1
  172. package/dist/hover-card/hover-card-content.svelte +1 -1
  173. package/dist/hover-card/hover-card-positioner.svelte +1 -1
  174. package/dist/hover-card/hover-card-root.svelte +1 -1
  175. package/dist/hover-card/hover-card-trigger.svelte +1 -1
  176. package/dist/menu/create-menu.svelte.d.ts +2 -2
  177. package/dist/menu/create-menu.svelte.js +3 -4
  178. package/dist/menu/menu-arrow-tip.svelte +1 -1
  179. package/dist/menu/menu-arrow.svelte +1 -1
  180. package/dist/menu/menu-content.svelte +1 -1
  181. package/dist/menu/menu-context-trigger.svelte +1 -1
  182. package/dist/menu/menu-context.svelte.d.ts +2 -2
  183. package/dist/menu/menu-indicator.svelte +1 -1
  184. package/dist/menu/menu-item-group-label.svelte +1 -1
  185. package/dist/menu/menu-item-group.svelte +1 -1
  186. package/dist/menu/menu-item.svelte +1 -1
  187. package/dist/menu/menu-option-item-indicator.svelte +1 -1
  188. package/dist/menu/menu-option-item-text.svelte +1 -1
  189. package/dist/menu/menu-option-item.svelte +1 -1
  190. package/dist/menu/menu-positioner.svelte +1 -1
  191. package/dist/menu/menu-root.svelte +12 -12
  192. package/dist/menu/menu-separator.svelte +1 -1
  193. package/dist/menu/menu-trigger-item.svelte +1 -1
  194. package/dist/menu/menu-trigger.svelte +1 -1
  195. package/dist/number-input/create-number-input.svelte.d.ts +1 -1
  196. package/dist/number-input/number-input-control.svelte +1 -1
  197. package/dist/number-input/number-input-decrement-trigger.svelte +1 -1
  198. package/dist/number-input/number-input-increment-trigger.svelte +1 -1
  199. package/dist/number-input/number-input-input.svelte +1 -1
  200. package/dist/number-input/number-input-label.svelte +1 -1
  201. package/dist/number-input/number-input-root.svelte +1 -1
  202. package/dist/number-input/number-input-scrubber.svelte +1 -1
  203. package/dist/pagination/create-pagination.svelte.d.ts +1 -1
  204. package/dist/pagination/pagination-ellipsis.svelte +1 -1
  205. package/dist/pagination/pagination-item.svelte +1 -1
  206. package/dist/pagination/pagination-next-trigger.svelte +1 -1
  207. package/dist/pagination/pagination-prev-trigger.svelte +1 -1
  208. package/dist/pagination/pagination-root.svelte +1 -1
  209. package/dist/pin-input/create-pin-input.svelte.d.ts +3 -3
  210. package/dist/pin-input/pin-input-clear-trigger.svelte +2 -2
  211. package/dist/pin-input/pin-input-hidden-input.svelte +1 -1
  212. package/dist/pin-input/pin-input-input.svelte +1 -1
  213. package/dist/pin-input/pin-input-label.svelte +1 -1
  214. package/dist/pin-input/pin-input-root.svelte +1 -1
  215. package/dist/popover/create-popover.svelte.d.ts +2 -2
  216. package/dist/popover/create-popover.svelte.js +3 -4
  217. package/dist/popover/popover-arrow-tip.svelte +1 -1
  218. package/dist/popover/popover-arrow.svelte +1 -1
  219. package/dist/popover/popover-close-trigger.svelte +1 -1
  220. package/dist/popover/popover-content.svelte +1 -1
  221. package/dist/popover/popover-description.svelte +1 -1
  222. package/dist/popover/popover-positioner.svelte +1 -1
  223. package/dist/popover/popover-root.svelte +11 -11
  224. package/dist/popover/popover-title.svelte +1 -1
  225. package/dist/popover/popover-trigger.svelte +1 -1
  226. package/dist/presence/create-presence.svelte.d.ts +1 -1
  227. package/dist/presence/presence.svelte +1 -1
  228. package/dist/progress/create-progress.svelte.d.ts +1 -1
  229. package/dist/progress/progress-circle-range.svelte +1 -1
  230. package/dist/progress/progress-circle-track.svelte +1 -1
  231. package/dist/progress/progress-circle.svelte +1 -1
  232. package/dist/progress/progress-label.svelte +1 -1
  233. package/dist/progress/progress-range.svelte +1 -1
  234. package/dist/progress/progress-root.svelte +1 -1
  235. package/dist/progress/progress-track.svelte +1 -1
  236. package/dist/progress/progress-value-text.svelte +1 -1
  237. package/dist/progress/progress-view.svelte +1 -1
  238. package/dist/qr-code/create-qr-code.svelte.d.ts +1 -1
  239. package/dist/qr-code/qr-code-frame.svelte +1 -1
  240. package/dist/qr-code/qr-code-overlay.svelte +1 -1
  241. package/dist/qr-code/qr-code-pattern.svelte +1 -1
  242. package/dist/qr-code/qr-code-root.svelte +1 -1
  243. package/dist/radio-group/create-radio-group.svelte.d.ts +1 -1
  244. package/dist/radio-group/radio-group-indicator.svelte +1 -1
  245. package/dist/radio-group/radio-group-item-control.svelte +1 -1
  246. package/dist/radio-group/radio-group-item-hidden-input.svelte +1 -1
  247. package/dist/radio-group/radio-group-item-text.svelte +1 -1
  248. package/dist/radio-group/radio-group-item.svelte +1 -1
  249. package/dist/radio-group/radio-group-label.svelte +1 -1
  250. package/dist/radio-group/radio-group-root.svelte +1 -1
  251. package/dist/rating-group/create-rating-group.svelte.d.ts +1 -1
  252. package/dist/rating-group/rating-group-control.svelte +1 -1
  253. package/dist/rating-group/rating-group-hidden-input.svelte +1 -1
  254. package/dist/rating-group/rating-group-item.svelte +1 -1
  255. package/dist/rating-group/rating-group-label.svelte +1 -1
  256. package/dist/rating-group/rating-group-root.svelte +1 -1
  257. package/dist/segment-group/create-segment-group.svelte.d.ts +1 -1
  258. package/dist/segment-group/segment-group-indicator.svelte +1 -1
  259. package/dist/segment-group/segment-group-item-control.svelte +1 -1
  260. package/dist/segment-group/segment-group-item-hidden-input.svelte +1 -1
  261. package/dist/segment-group/segment-group-item-text.svelte +1 -1
  262. package/dist/segment-group/segment-group-item.svelte +1 -1
  263. package/dist/segment-group/segment-group-label.svelte +1 -1
  264. package/dist/segment-group/segment-group-root.svelte +1 -1
  265. package/dist/select/create-select.svelte.d.ts +2 -2
  266. package/dist/select/create-select.svelte.js +3 -4
  267. package/dist/select/select-clear-trigger.svelte +1 -1
  268. package/dist/select/select-content.svelte +1 -1
  269. package/dist/select/select-control.svelte +1 -1
  270. package/dist/select/select-hidden-select.svelte +1 -1
  271. package/dist/select/select-indicator.svelte +1 -1
  272. package/dist/select/select-item-group-label.svelte +1 -1
  273. package/dist/select/select-item-group.svelte +1 -1
  274. package/dist/select/select-item-indicator.svelte +1 -1
  275. package/dist/select/select-item-text.svelte +1 -1
  276. package/dist/select/select-item.svelte +1 -1
  277. package/dist/select/select-label.svelte +1 -1
  278. package/dist/select/select-list.svelte +1 -1
  279. package/dist/select/select-positioner.svelte +1 -1
  280. package/dist/select/select-root.svelte +2 -2
  281. package/dist/select/select-trigger.svelte +1 -1
  282. package/dist/select/select-value-text.svelte +1 -1
  283. package/dist/signature-pad/create-signature-pad.svelte.d.ts +1 -1
  284. package/dist/signature-pad/signature-pad-clear-trigger.svelte +1 -1
  285. package/dist/signature-pad/signature-pad-control.svelte +1 -1
  286. package/dist/signature-pad/signature-pad-current-segment-path.svelte +1 -1
  287. package/dist/signature-pad/signature-pad-guide.svelte +1 -1
  288. package/dist/signature-pad/signature-pad-hidden-input.svelte +1 -1
  289. package/dist/signature-pad/signature-pad-label.svelte +1 -1
  290. package/dist/signature-pad/signature-pad-root.svelte +1 -1
  291. package/dist/signature-pad/signature-pad-segment-path.svelte +1 -1
  292. package/dist/signature-pad/signature-pad-segment.svelte +1 -1
  293. package/dist/slider/create-slider.svelte.d.ts +1 -1
  294. package/dist/slider/slider-control.svelte +1 -1
  295. package/dist/slider/slider-hidden-input.svelte +1 -1
  296. package/dist/slider/slider-label.svelte +1 -1
  297. package/dist/slider/slider-marker-group.svelte +1 -1
  298. package/dist/slider/slider-marker.svelte +1 -1
  299. package/dist/slider/slider-range.svelte +1 -1
  300. package/dist/slider/slider-root.svelte +1 -1
  301. package/dist/slider/slider-thumb.svelte +1 -1
  302. package/dist/slider/slider-track.svelte +1 -1
  303. package/dist/slider/slider-value-text.svelte +1 -1
  304. package/dist/splitter/create-splitter.svelte.d.ts +1 -1
  305. package/dist/splitter/splitter-panel.svelte +1 -1
  306. package/dist/splitter/splitter-resize-trigger.svelte +1 -1
  307. package/dist/splitter/splitter-root.svelte +1 -1
  308. package/dist/steps/create-steps.svelte.d.ts +1 -1
  309. package/dist/steps/steps-completed-content.svelte +1 -1
  310. package/dist/steps/steps-content.svelte +1 -1
  311. package/dist/steps/steps-indicator.svelte +1 -1
  312. package/dist/steps/steps-item.svelte +1 -1
  313. package/dist/steps/steps-list.svelte +1 -1
  314. package/dist/steps/steps-next-trigger.svelte +1 -1
  315. package/dist/steps/steps-prev-trigger.svelte +1 -1
  316. package/dist/steps/steps-progress.svelte +1 -1
  317. package/dist/steps/steps-root.svelte +1 -1
  318. package/dist/steps/steps-separator.svelte +1 -1
  319. package/dist/steps/steps-trigger.svelte +1 -1
  320. package/dist/switch/create-switch.svelte.d.ts +1 -1
  321. package/dist/switch/switch-control.svelte +1 -1
  322. package/dist/switch/switch-hidden-input.svelte +1 -1
  323. package/dist/switch/switch-label.svelte +1 -1
  324. package/dist/switch/switch-root.svelte +1 -1
  325. package/dist/switch/switch-thumb.svelte +1 -1
  326. package/dist/tabs/create-tabs.svelte.d.ts +1 -1
  327. package/dist/tabs/tabs-content.svelte +1 -1
  328. package/dist/tabs/tabs-list.svelte +1 -1
  329. package/dist/tabs/tabs-root.svelte +1 -1
  330. package/dist/tabs/tabs-trigger.svelte +1 -1
  331. package/dist/tags-input/create-tags-input.svelte.d.ts +1 -1
  332. package/dist/tags-input/tags-input-clear-trigger.svelte +1 -1
  333. package/dist/tags-input/tags-input-control.svelte +1 -1
  334. package/dist/tags-input/tags-input-hidden-input.svelte +1 -1
  335. package/dist/tags-input/tags-input-input.svelte +1 -1
  336. package/dist/tags-input/tags-input-item-delete-trigger.svelte +1 -1
  337. package/dist/tags-input/tags-input-item-input.svelte +1 -1
  338. package/dist/tags-input/tags-input-item-preview.svelte +1 -1
  339. package/dist/tags-input/tags-input-item-text.svelte +1 -1
  340. package/dist/tags-input/tags-input-item.svelte +1 -1
  341. package/dist/tags-input/tags-input-label.svelte +1 -1
  342. package/dist/tags-input/tags-input-root.svelte +1 -1
  343. package/dist/time-picker/create-time-picker.svelte.d.ts +2 -2
  344. package/dist/time-picker/create-time-picker.svelte.js +4 -5
  345. package/dist/time-picker/time-picker-clear-trigger.svelte +1 -1
  346. package/dist/time-picker/time-picker-column.svelte +1 -1
  347. package/dist/time-picker/time-picker-content.svelte +1 -1
  348. package/dist/time-picker/time-picker-control.svelte +1 -1
  349. package/dist/time-picker/time-picker-hour-cell.svelte +1 -1
  350. package/dist/time-picker/time-picker-input.svelte +1 -1
  351. package/dist/time-picker/time-picker-label.svelte +1 -1
  352. package/dist/time-picker/time-picker-minute-cell.svelte +1 -1
  353. package/dist/time-picker/time-picker-period-cell.svelte +1 -1
  354. package/dist/time-picker/time-picker-positioner.svelte +1 -1
  355. package/dist/time-picker/time-picker-root.svelte +2 -2
  356. package/dist/time-picker/time-picker-second-cell.svelte +1 -1
  357. package/dist/time-picker/time-picker-spacer.svelte +1 -1
  358. package/dist/time-picker/time-picker-trigger.svelte +1 -1
  359. package/dist/timer/create-timer.svelte.d.ts +1 -1
  360. package/dist/timer/timer-action-trigger.svelte +1 -1
  361. package/dist/timer/timer-area.svelte +1 -1
  362. package/dist/timer/timer-control.svelte +1 -1
  363. package/dist/timer/timer-item-label.svelte +1 -1
  364. package/dist/timer/timer-item-value.svelte +1 -1
  365. package/dist/timer/timer-item.svelte +1 -1
  366. package/dist/timer/timer-root.svelte +1 -1
  367. package/dist/timer/timer-separator.svelte +1 -1
  368. package/dist/toast/create-toaster.svelte.d.ts +1 -1
  369. package/dist/toast/toast-action-trigger.svelte +1 -1
  370. package/dist/toast/toast-actor.svelte +3 -3
  371. package/dist/toast/toast-actor.svelte.d.ts +1 -1
  372. package/dist/toast/toast-close-trigger.svelte +1 -1
  373. package/dist/toast/toast-description.svelte +1 -1
  374. package/dist/toast/toast-ghost-after.svelte +1 -1
  375. package/dist/toast/toast-ghost-before.svelte +1 -1
  376. package/dist/toast/toast-root.svelte +1 -1
  377. package/dist/toast/toast-title.svelte +1 -1
  378. package/dist/toast/toaster.svelte +6 -4
  379. package/dist/toggle-group/create-toggle-group.svelte.d.ts +1 -1
  380. package/dist/toggle-group/toggle-group-item.svelte +1 -1
  381. package/dist/toggle-group/toggle-group-root.svelte +1 -1
  382. package/dist/tooltip/create-tooltip.svelte.d.ts +2 -2
  383. package/dist/tooltip/create-tooltip.svelte.js +3 -4
  384. package/dist/tooltip/tooltip-arrow-tip.svelte +1 -1
  385. package/dist/tooltip/tooltip-arrow.svelte +1 -1
  386. package/dist/tooltip/tooltip-content.svelte +1 -1
  387. package/dist/tooltip/tooltip-positioner.svelte +1 -1
  388. package/dist/tooltip/tooltip-trigger.svelte +1 -1
  389. package/dist/tour/create-tour.svelte.d.ts +1 -1
  390. package/dist/tour/tour-arrow-tip.svelte +1 -1
  391. package/dist/tour/tour-arrow.svelte +1 -1
  392. package/dist/tour/tour-close-trigger.svelte +1 -1
  393. package/dist/tour/tour-content.svelte +1 -1
  394. package/dist/tour/tour-description.svelte +1 -1
  395. package/dist/tour/tour-next-trigger.svelte +1 -1
  396. package/dist/tour/tour-overlay.svelte +1 -1
  397. package/dist/tour/tour-positioner.svelte +1 -1
  398. package/dist/tour/tour-prev-trigger.svelte +1 -1
  399. package/dist/tour/tour-progress-text.svelte +1 -1
  400. package/dist/tour/tour-skip-trigger.svelte +1 -1
  401. package/dist/tour/tour-spotlight.svelte +1 -1
  402. package/dist/tour/tour-title.svelte +1 -1
  403. package/dist/tree-view/create-tree-view.svelte.d.ts +1 -1
  404. package/dist/tree-view/tree-view-branch-content.svelte +1 -1
  405. package/dist/tree-view/tree-view-branch-control.svelte +1 -1
  406. package/dist/tree-view/tree-view-branch-indicator.svelte +1 -1
  407. package/dist/tree-view/tree-view-branch-text.svelte +1 -1
  408. package/dist/tree-view/tree-view-branch-trigger.svelte +1 -1
  409. package/dist/tree-view/tree-view-branch.svelte +1 -1
  410. package/dist/tree-view/tree-view-item-indicator.svelte +1 -1
  411. package/dist/tree-view/tree-view-item-text.svelte +1 -1
  412. package/dist/tree-view/tree-view-item.svelte +1 -1
  413. package/dist/tree-view/tree-view-label.svelte +1 -1
  414. package/dist/tree-view/tree-view-root.svelte +1 -1
  415. package/dist/tree-view/tree-view-tree.svelte +1 -1
  416. package/package.json +5 -5
@@ -24,7 +24,7 @@
24
24
  let colorPicker = getColorPickerContext();
25
25
 
26
26
  let mergedProps = $derived(
27
- mergeProps(props, colorPicker.getTransparencyGridProps({size})),
27
+ mergeProps(colorPicker.getTransparencyGridProps({size}), props),
28
28
  );
29
29
  </script>
30
30
 
@@ -18,7 +18,7 @@
18
18
 
19
19
  let colorPicker = getColorPickerContext();
20
20
 
21
- let mergedProps = $derived(mergeProps(props, colorPicker.getTriggerProps()));
21
+ let mergedProps = $derived(mergeProps(colorPicker.getTriggerProps(), props));
22
22
  </script>
23
23
 
24
24
  {#if asChild}
@@ -28,7 +28,7 @@
28
28
  });
29
29
 
30
30
  let mergedProps = $derived(
31
- mergeProps(props, colorPicker.getSwatchProps(swatchProps)),
31
+ mergeProps(colorPicker.getSwatchProps(swatchProps), props),
32
32
  );
33
33
  </script>
34
34
 
@@ -19,7 +19,7 @@
19
19
  let colorPicker = getColorPickerContext();
20
20
 
21
21
  let mergedProps = $derived(
22
- mergeProps(props, colorPicker.getValueTextProps()),
22
+ mergeProps(colorPicker.getValueTextProps(), props),
23
23
  );
24
24
  </script>
25
25
 
@@ -26,7 +26,7 @@
26
26
  let colorPicker = getColorPickerContext();
27
27
  let formatProps = $derived({format});
28
28
  let mergedProps = $derived(
29
- mergeProps(props, colorPicker.getViewProps(formatProps)),
29
+ mergeProps(colorPicker.getViewProps(formatProps), props),
30
30
  );
31
31
 
32
32
  setColorPickerFormatPropsContext(() => formatProps);
@@ -2,9 +2,9 @@ import type { GenericObject } from '../types.js';
2
2
  import * as colorPicker from '@zag-js/color-picker';
3
3
  type Omitted = 'id' | 'dir' | 'value' | 'getRootNode' | 'open.controlled';
4
4
  export interface CreateColorPickerProps extends Omit<colorPicker.Context, Omitted> {
5
- id?: string | null;
5
+ id?: string;
6
6
  value?: string;
7
- defaultOpen?: boolean;
7
+ openControlled?: boolean;
8
8
  }
9
9
  export interface CreateColorPickerReturn extends colorPicker.Api {
10
10
  getViewProps(props: {
@@ -9,13 +9,12 @@ export function createColorPicker(props) {
9
9
  const environment = getEnvironmentContext();
10
10
  const id = uid();
11
11
  const context = $derived.by(() => ({
12
- ...props,
13
- id: props.id ?? id,
12
+ id,
14
13
  dir: locale?.dir,
15
- open: props.defaultOpen ?? props.open,
14
+ ...props,
16
15
  value: props.value ? colorPicker.parse(props.value) : undefined,
17
16
  getRootNode: environment?.getRootNode,
18
- 'open.controlled': props.open != null,
17
+ 'open.controlled': props.openControlled,
19
18
  }));
20
19
  const [state, send] = useMachine(colorPicker.machine(context), { context });
21
20
  return reflect(() => {
@@ -19,7 +19,7 @@
19
19
  let combobox = getComboboxContext();
20
20
 
21
21
  let mergedProps = $derived(
22
- mergeProps(props, combobox.getClearTriggerProps()),
22
+ mergeProps(combobox.getClearTriggerProps(), props),
23
23
  );
24
24
  </script>
25
25
 
@@ -22,7 +22,7 @@
22
22
  let presence = getPresenceContext();
23
23
 
24
24
  let mergedProps = $derived(
25
- mergeProps(props, combobox.getContentProps(), presence.getPresenceProps()),
25
+ mergeProps(combobox.getContentProps(), presence.getPresenceProps(), props),
26
26
  );
27
27
  </script>
28
28
 
@@ -18,7 +18,7 @@
18
18
 
19
19
  let combobox = getComboboxContext();
20
20
 
21
- let mergedProps = $derived(mergeProps(props, combobox.getControlProps()));
21
+ let mergedProps = $derived(mergeProps(combobox.getControlProps(), props));
22
22
  </script>
23
23
 
24
24
  {#if asChild}
@@ -13,9 +13,7 @@
13
13
 
14
14
  let combobox = getComboboxContext();
15
15
 
16
- let mergedProps = $derived(
17
- mergeProps({...props, 'aria-expanded': false}, combobox.getInputProps()),
18
- );
16
+ let mergedProps = $derived(mergeProps(combobox.getInputProps(), props));
19
17
  </script>
20
18
 
21
19
  {#if asChild}
@@ -24,10 +24,10 @@
24
24
 
25
25
  let mergedProps = $derived(
26
26
  mergeProps(
27
- props,
28
27
  combobox.getItemGroupLabelProps({
29
28
  htmlFor: itemGroupProps.id,
30
29
  }),
30
+ props,
31
31
  ),
32
32
  );
33
33
  </script>
@@ -30,7 +30,7 @@
30
30
  });
31
31
 
32
32
  let mergedProps = $derived(
33
- mergeProps(props, combobox.getItemGroupProps(comboboxItemGroupProps)),
33
+ mergeProps(combobox.getItemGroupProps(comboboxItemGroupProps), props),
34
34
  );
35
35
 
36
36
  setComboboxItemGroupPropsContext(() => comboboxItemGroupProps);
@@ -23,7 +23,7 @@
23
23
  let itemProps = getComboboxItemPropsContext();
24
24
 
25
25
  let mergedProps = $derived(
26
- mergeProps(props, combobox.getItemIndicatorProps(itemProps)),
26
+ mergeProps(combobox.getItemIndicatorProps(itemProps), props),
27
27
  );
28
28
  </script>
29
29
 
@@ -23,7 +23,7 @@
23
23
  let itemProps = getComboboxItemPropsContext();
24
24
 
25
25
  let mergedProps = $derived(
26
- mergeProps(props, combobox.getItemTextProps(itemProps)),
26
+ mergeProps(combobox.getItemTextProps(itemProps), props),
27
27
  );
28
28
  </script>
29
29
 
@@ -32,7 +32,7 @@
32
32
 
33
33
  let itemState = $derived(combobox.getItemState(itemProps));
34
34
  let mergedProps = $derived(
35
- mergeProps(localProps, combobox.getItemProps(itemProps)),
35
+ mergeProps(combobox.getItemProps(itemProps), localProps),
36
36
  );
37
37
 
38
38
  setComboboxItemPropsContext(() => itemProps);
@@ -18,7 +18,7 @@
18
18
 
19
19
  let combobox = getComboboxContext();
20
20
 
21
- let mergedProps = $derived(mergeProps(props, combobox.getLabelProps()));
21
+ let mergedProps = $derived(mergeProps(combobox.getLabelProps(), props));
22
22
  </script>
23
23
 
24
24
  {#if asChild}
@@ -18,7 +18,7 @@
18
18
 
19
19
  let combobox = getComboboxContext();
20
20
 
21
- let mergedProps = $derived(mergeProps(props, combobox.getListProps()));
21
+ let mergedProps = $derived(mergeProps(combobox.getListProps(), props));
22
22
  </script>
23
23
 
24
24
  {#if asChild}
@@ -22,9 +22,9 @@
22
22
 
23
23
  let mergedProps = $derived(
24
24
  mergeProps(
25
- props,
26
25
  combobox.getPositionerProps(),
27
26
  presence.getPresenceProps(),
27
+ props,
28
28
  ),
29
29
  );
30
30
  </script>
@@ -43,7 +43,7 @@
43
43
  'name',
44
44
  'form',
45
45
  'open',
46
- 'defaultOpen',
46
+ 'openControlled',
47
47
  'items',
48
48
  'value',
49
49
  'invalid',
@@ -90,7 +90,7 @@
90
90
  })),
91
91
  );
92
92
 
93
- let mergedProps = $derived(mergeProps(localProps, combobox.getRootProps()));
93
+ let mergedProps = $derived(mergeProps(combobox.getRootProps(), localProps));
94
94
 
95
95
  setComboboxContext(combobox);
96
96
  setPresenceContext(presence);
@@ -18,7 +18,7 @@
18
18
 
19
19
  let combobox = getComboboxContext();
20
20
 
21
- let mergedProps = $derived(mergeProps(props, combobox.getTriggerProps()));
21
+ let mergedProps = $derived(mergeProps(combobox.getTriggerProps(), props));
22
22
  </script>
23
23
 
24
24
  {#if asChild}
@@ -1,8 +1,8 @@
1
1
  import * as combobox from '@zag-js/combobox';
2
2
  type Omitted = 'id' | 'dir' | 'collection' | 'getRootNode' | 'open.controlled';
3
3
  export interface CreateComboboxProps<T> extends combobox.CollectionOptions<T>, Omit<combobox.Context, Omitted> {
4
- id?: string | null;
5
- defaultOpen?: boolean;
4
+ id?: string;
5
+ openControlled?: boolean;
6
6
  }
7
7
  export interface CreateComboboxReturn extends combobox.Api {
8
8
  }
@@ -18,22 +18,22 @@ export function createCombobox(props) {
18
18
  const environment = getEnvironmentContext();
19
19
  const id = uid();
20
20
  const context = reflect(() => ({
21
+ id,
21
22
  ids: {
22
23
  label: field?.ids.label,
23
24
  input: field?.ids.control,
24
25
  },
26
+ dir: locale?.dir,
25
27
  invalid: field?.invalid,
26
28
  disabled: field?.disabled,
27
29
  readOnly: field?.readOnly,
28
30
  required: field?.required,
29
31
  ...comboboxProps,
30
- id: props.id ?? id,
31
- dir: locale?.dir,
32
- open: props.defaultOpen ?? props.open,
33
- 'open.controlled': props.open != null,
34
32
  getRootNode: environment?.getRootNode,
33
+ 'open.controlled': props.openControlled,
35
34
  collection,
36
35
  }));
36
+ /* FIXME: pass controlled context */
37
37
  const [state, send] = useMachine(combobox.machine(context));
38
38
  return reflect(() => {
39
39
  const o = combobox.connect(state, send, normalizeProps);
@@ -2,12 +2,12 @@ import type { GenericObject } from '../types.js';
2
2
  import * as datePicker from '@zag-js/date-picker';
3
3
  type Omitted = 'id' | 'dir' | 'min' | 'max' | 'value' | 'focusedValue' | 'getRootNode' | 'open.controlled';
4
4
  export interface CreateDatePickerProps extends Omit<datePicker.Context, Omitted> {
5
- id?: string | null;
5
+ id?: string;
6
6
  min?: string | Date;
7
7
  max?: string | Date;
8
8
  value?: string[] | Date[];
9
9
  focusedValue?: string | Date;
10
- defaultOpen?: boolean;
10
+ openControlled?: boolean;
11
11
  }
12
12
  export interface CreateDatePickerReturn extends datePicker.Api {
13
13
  getViewProps(props: datePicker.ViewProps): GenericObject;
@@ -10,19 +10,18 @@ export function createDatePicker(props) {
10
10
  const id = uid();
11
11
  /* FIXME: use reflect */
12
12
  const context = $derived.by(() => ({
13
- ...props,
14
- id: props.id ?? id,
13
+ id,
15
14
  dir: locale?.dir,
15
+ locale: locale?.locale,
16
+ ...props,
16
17
  min: props.min ? datePicker.parse(props.min) : undefined,
17
18
  max: props.max ? datePicker.parse(props.max) : undefined,
18
19
  value: props.value ? datePicker.parse(props.value) : undefined,
19
20
  focusedValue: props.focusedValue
20
21
  ? datePicker.parse(props.focusedValue)
21
22
  : undefined,
22
- open: props.defaultOpen ?? props.open,
23
- 'open.controlled': props.open != null,
24
- locale: props.locale ?? locale?.locale,
25
23
  getRootNode: environment?.getRootNode,
24
+ 'open.controlled': props.openControlled,
26
25
  }));
27
26
  const [state, send] = useMachine(datePicker.machine(context), { context });
28
27
  return reflect(() => {
@@ -19,7 +19,7 @@
19
19
  let datePicker = getDatePickerContext();
20
20
 
21
21
  let mergedProps = $derived(
22
- mergeProps(props, datePicker.getClearTriggerProps()),
22
+ mergeProps(datePicker.getClearTriggerProps(), props),
23
23
  );
24
24
  </script>
25
25
 
@@ -23,9 +23,9 @@
23
23
 
24
24
  let mergedProps = $derived(
25
25
  mergeProps(
26
- props,
27
26
  datePicker.getContentProps(),
28
27
  presence.getPresenceProps(),
28
+ props,
29
29
  ),
30
30
  );
31
31
  </script>
@@ -18,7 +18,7 @@
18
18
 
19
19
  let datePicker = getDatePickerContext();
20
20
 
21
- let mergedProps = $derived(mergeProps(props, datePicker.getControlProps()));
21
+ let mergedProps = $derived(mergeProps(datePicker.getControlProps(), props));
22
22
  </script>
23
23
 
24
24
  {#if asChild}
@@ -23,7 +23,7 @@
23
23
  let tableCellProps = getDatePickerDayTableCellPropsContext();
24
24
 
25
25
  let mergedProps = $derived(
26
- mergeProps(props, datePicker.getDayTableCellTriggerProps(tableCellProps)),
26
+ mergeProps(datePicker.getDayTableCellTriggerProps(tableCellProps), props),
27
27
  );
28
28
  </script>
29
29
 
@@ -37,7 +37,7 @@
37
37
  );
38
38
 
39
39
  let mergedProps = $derived(
40
- mergeProps(localProps, datePicker.getDayTableCellProps(tableCellProps)),
40
+ mergeProps(datePicker.getDayTableCellProps(tableCellProps), localProps),
41
41
  );
42
42
 
43
43
  setDatePickerDayTableCellPropsContext(() => tableCellProps);
@@ -23,7 +23,7 @@
23
23
  let datePicker = getDatePickerContext();
24
24
 
25
25
  let mergedProps = $derived(
26
- mergeProps(props, datePicker.getInputProps({index})),
26
+ mergeProps(datePicker.getInputProps({index}), props),
27
27
  );
28
28
  </script>
29
29
 
@@ -24,7 +24,7 @@
24
24
  let datePicker = getDatePickerContext();
25
25
 
26
26
  let mergedProps = $derived(
27
- mergeProps(props, datePicker.getLabelProps({index})),
27
+ mergeProps(datePicker.getLabelProps({index}), props),
28
28
  );
29
29
  </script>
30
30
 
@@ -22,7 +22,7 @@
22
22
  let datePicker = getDatePickerContext();
23
23
 
24
24
  let mergedProps = $derived(
25
- mergeProps(props, datePicker.getMonthSelectProps()),
25
+ mergeProps(datePicker.getMonthSelectProps(), props),
26
26
  );
27
27
  </script>
28
28
 
@@ -23,7 +23,7 @@
23
23
  let tableCellProps = getDatePickerTableCellPropsContext();
24
24
 
25
25
  let mergedProps = $derived(
26
- mergeProps(props, datePicker.getMonthTableCellTriggerProps(tableCellProps)),
26
+ mergeProps(datePicker.getMonthTableCellTriggerProps(tableCellProps), props),
27
27
  );
28
28
  </script>
29
29
 
@@ -35,7 +35,7 @@
35
35
  );
36
36
 
37
37
  let mergedProps = $derived(
38
- mergeProps(localProps, datePicker.getMonthTableCellProps(tableCellProps)),
38
+ mergeProps(datePicker.getMonthTableCellProps(tableCellProps), localProps),
39
39
  );
40
40
 
41
41
  setDatePickerTableCellPropsContext(() => tableCellProps);
@@ -23,7 +23,7 @@
23
23
  let viewProps = getDatePickerViewPropsContext();
24
24
 
25
25
  let mergedProps = $derived(
26
- mergeProps(props, datePicker.getNextTriggerProps(viewProps)),
26
+ mergeProps(datePicker.getNextTriggerProps(viewProps), props),
27
27
  );
28
28
  </script>
29
29
 
@@ -22,9 +22,9 @@
22
22
 
23
23
  let mergedProps = $derived(
24
24
  mergeProps(
25
- props,
26
25
  datePicker.getPositionerProps(),
27
26
  presence.getPresenceProps(),
27
+ props,
28
28
  ),
29
29
  );
30
30
  </script>
@@ -24,7 +24,7 @@
24
24
  let datePicker = getDatePickerContext();
25
25
 
26
26
  let mergedProps = $derived(
27
- mergeProps(props, datePicker.getPresetTriggerProps({value})),
27
+ mergeProps(datePicker.getPresetTriggerProps({value}), props),
28
28
  );
29
29
  </script>
30
30
 
@@ -23,7 +23,7 @@
23
23
  let viewProps = getDatePickerViewPropsContext();
24
24
 
25
25
  let mergedProps = $derived(
26
- mergeProps(props, datePicker.getPrevTriggerProps(viewProps)),
26
+ mergeProps(datePicker.getPrevTriggerProps(viewProps), props),
27
27
  );
28
28
  </script>
29
29
 
@@ -18,7 +18,7 @@
18
18
 
19
19
  let datePicker = getDatePickerContext();
20
20
 
21
- let mergedProps = $derived(mergeProps(props, datePicker.getRangeTextProps()));
21
+ let mergedProps = $derived(mergeProps(datePicker.getRangeTextProps(), props));
22
22
  </script>
23
23
 
24
24
  {#if asChild}
@@ -42,6 +42,7 @@
42
42
  'max',
43
43
  'name',
44
44
  'open',
45
+ 'openControlled',
45
46
  'view',
46
47
  'value',
47
48
  'modal',
@@ -52,7 +53,6 @@
52
53
  'timeZone',
53
54
  'fixedWeeks',
54
55
  'startOfWeek',
55
- 'defaultOpen',
56
56
  'positioning',
57
57
  'numOfMonths',
58
58
  'translations',
@@ -75,7 +75,7 @@
75
75
  })),
76
76
  );
77
77
 
78
- let mergedProps = $derived(mergeProps(localProps, datePicker.getRootProps()));
78
+ let mergedProps = $derived(mergeProps(datePicker.getRootProps(), localProps));
79
79
 
80
80
  setDatePickerContext(datePicker);
81
81
  setPresenceContext(presence);
@@ -23,7 +23,7 @@
23
23
  let tableProps = getDatePickerTablePropsContext();
24
24
 
25
25
  let mergedProps = $derived(
26
- mergeProps(props, datePicker.getTableBodyProps(tableProps)),
26
+ mergeProps(datePicker.getTableBodyProps(tableProps), props),
27
27
  );
28
28
  </script>
29
29
 
@@ -23,7 +23,7 @@
23
23
  let tableProps = getDatePickerTablePropsContext();
24
24
 
25
25
  let mergedProps = $derived(
26
- mergeProps(props, datePicker.getTableHeadProps(tableProps)),
26
+ mergeProps(datePicker.getTableHeadProps(tableProps), props),
27
27
  );
28
28
  </script>
29
29
 
@@ -23,7 +23,7 @@
23
23
  let tableProps = getDatePickerTablePropsContext();
24
24
 
25
25
  let mergedProps = $derived(
26
- mergeProps(props, datePicker.getTableHeaderProps(tableProps)),
26
+ mergeProps(datePicker.getTableHeaderProps(tableProps), props),
27
27
  );
28
28
  </script>
29
29
 
@@ -23,7 +23,7 @@
23
23
  let tableProps = getDatePickerTablePropsContext();
24
24
 
25
25
  let mergedProps = $derived(
26
- mergeProps(props, datePicker.getTableRowProps(tableProps)),
26
+ mergeProps(datePicker.getTableRowProps(tableProps), props),
27
27
  );
28
28
  </script>
29
29
 
@@ -31,7 +31,7 @@
31
31
  let tableProps: TableProps = $derived({...viewProps, id, columns});
32
32
 
33
33
  let mergedProps = $derived(
34
- mergeProps(props, datePicker.getTableProps(tableProps)),
34
+ mergeProps(datePicker.getTableProps(tableProps), props),
35
35
  );
36
36
 
37
37
  setDatePickerTablePropsContext(() => tableProps);
@@ -18,7 +18,7 @@
18
18
 
19
19
  let datePicker = getDatePickerContext();
20
20
 
21
- let mergedProps = $derived(mergeProps(props, datePicker.getTriggerProps()));
21
+ let mergedProps = $derived(mergeProps(datePicker.getTriggerProps(), props));
22
22
  </script>
23
23
 
24
24
  {#if asChild}
@@ -23,7 +23,7 @@
23
23
  let viewProps = getDatePickerViewPropsContext();
24
24
 
25
25
  let mergedProps = $derived(
26
- mergeProps(props, datePicker.getViewControlProps(viewProps)),
26
+ mergeProps(datePicker.getViewControlProps(viewProps), props),
27
27
  );
28
28
  </script>
29
29
 
@@ -23,7 +23,7 @@
23
23
  let viewProps = getDatePickerViewPropsContext();
24
24
 
25
25
  let mergedProps = $derived(
26
- mergeProps(props, datePicker.getViewTriggerProps(viewProps)),
26
+ mergeProps(datePicker.getViewTriggerProps(viewProps), props),
27
27
  );
28
28
  </script>
29
29
 
@@ -26,7 +26,7 @@
26
26
  let viewProps: ViewProps = $derived({view});
27
27
 
28
28
  let mergedProps = $derived(
29
- mergeProps(props, datePicker.getViewProps(viewProps)),
29
+ mergeProps(datePicker.getViewProps(viewProps), props),
30
30
  );
31
31
 
32
32
  setDatePickerViewPropsContext(() => viewProps);
@@ -19,7 +19,7 @@
19
19
  let datePicker = getDatePickerContext();
20
20
 
21
21
  let mergedProps = $derived(
22
- mergeProps(props, datePicker.getYearSelectProps()),
22
+ mergeProps(datePicker.getYearSelectProps(), props),
23
23
  );
24
24
  </script>
25
25
 
@@ -23,7 +23,7 @@
23
23
  let tableCellProps = getDatePickerTableCellPropsContext();
24
24
 
25
25
  let mergedProps = $derived(
26
- mergeProps(props, datePicker.getYearTableCellTriggerProps(tableCellProps)),
26
+ mergeProps(datePicker.getYearTableCellTriggerProps(tableCellProps), props),
27
27
  );
28
28
  </script>
29
29
 
@@ -35,7 +35,7 @@
35
35
  );
36
36
 
37
37
  let mergedProps = $derived(
38
- mergeProps(localProps, datePicker.getYearTableCellProps(tableCellProps)),
38
+ mergeProps(datePicker.getYearTableCellProps(tableCellProps), localProps),
39
39
  );
40
40
 
41
41
  setDatePickerTableCellPropsContext(() => tableCellProps);
@@ -1,7 +1,7 @@
1
1
  import * as dialog from '@zag-js/dialog';
2
2
  export interface CreateDialogProps extends Omit<dialog.Context, 'id' | 'dir' | 'getRootNode' | 'open.controlled'> {
3
- id?: string | null;
4
- defaultOpen?: boolean;
3
+ id?: string;
4
+ openControlled?: boolean;
5
5
  }
6
6
  export interface CreateDialogReturn extends dialog.Api {
7
7
  }