@threadlabs/looma 0.22.9 → 0.22.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (411) hide show
  1. package/components/ui-affordance-scope/ui-affordance-scope.js +2 -2
  2. package/components/ui-avatar/ui-avatar.js +5 -5
  3. package/components/ui-avatar-group/ui-avatar-group.js +5 -5
  4. package/components/ui-button/ui-button.js +1 -1
  5. package/components/ui-checkbox/ui-checkbox.js +5 -5
  6. package/components/ui-combobox/ui-combobox.js +61 -61
  7. package/components/ui-context-menu/ui-context-menu.js +6 -6
  8. package/components/ui-dialog/ui-dialog.js +9 -9
  9. package/components/ui-disclosure/ui-disclosure.js +6 -6
  10. package/components/ui-editable/ui-editable.js +6 -6
  11. package/components/ui-editor-insert-table-grid/ui-editor-insert-table-grid.js +4 -4
  12. package/components/ui-editor-mention-menu/ui-editor-mention-menu.js +8 -8
  13. package/components/ui-editor-slash-menu/ui-editor-slash-menu.js +6 -6
  14. package/components/ui-editor-table-context-menu/ui-editor-table-context-menu.js +5 -5
  15. package/components/ui-editor-table-overlay/ui-editor-table-overlay.js +4 -4
  16. package/components/ui-editor-table-toolbar/ui-editor-table-toolbar.js +5 -5
  17. package/components/ui-form-field/ui-form-field.js +4 -4
  18. package/components/ui-icon-button/ui-icon-button.js +2 -2
  19. package/components/ui-input/ui-input.js +1 -1
  20. package/components/ui-input-group/ui-input-group.js +1 -1
  21. package/components/ui-listbox/ui-listbox.js +12 -12
  22. package/components/ui-menu/ui-menu.js +7 -7
  23. package/components/ui-menu-item/ui-menu-item.js +7 -7
  24. package/components/ui-popover/ui-popover.js +4 -4
  25. package/components/ui-radio/ui-radio.js +5 -5
  26. package/components/ui-radio-group/ui-radio-group.js +6 -6
  27. package/components/ui-scroll-area/ui-scroll-area.js +1 -1
  28. package/components/ui-search-shell/ui-search-shell.js +6 -6
  29. package/components/ui-select/ui-select.js +1 -1
  30. package/components/ui-sidebar/ui-sidebar.js +12 -12
  31. package/components/ui-switch/ui-switch.js +5 -5
  32. package/components/ui-switcher/ui-switcher.js +1 -1
  33. package/components/ui-tabs/ui-tabs.js +5 -5
  34. package/components/ui-textarea/ui-textarea.js +1 -1
  35. package/components/ui-toast/ui-toast.js +3 -3
  36. package/components/ui-toast-region/ui-toast-region.js +1 -1
  37. package/components/ui-tooltip/ui-tooltip.js +9 -9
  38. package/components/ui-tree/ui-tree.js +4 -4
  39. package/components/ui-tree-item/ui-tree-item.js +11 -11
  40. package/package.json +2 -2
  41. package/styles/ui-action-bar.css +1 -1
  42. package/styles/ui-affordance-scope.css +1 -1
  43. package/styles/ui-avatar-group.css +1 -1
  44. package/styles/ui-avatar.css +1 -1
  45. package/styles/ui-badge.css +1 -1
  46. package/styles/ui-breadcrumb-item.css +1 -1
  47. package/styles/ui-breadcrumbs.css +1 -1
  48. package/styles/ui-button.css +1 -1
  49. package/styles/ui-callout.css +1 -1
  50. package/styles/ui-card.css +1 -1
  51. package/styles/ui-checkbox.css +1 -1
  52. package/styles/ui-cluster.css +1 -1
  53. package/styles/ui-combobox.css +1 -1
  54. package/styles/ui-container.css +1 -1
  55. package/styles/ui-context-menu.css +1 -1
  56. package/styles/ui-cover.css +1 -1
  57. package/styles/ui-description-item.css +1 -1
  58. package/styles/ui-description-list.css +1 -1
  59. package/styles/ui-dialog.css +1 -1
  60. package/styles/ui-disclosure.css +1 -1
  61. package/styles/ui-editable.css +1 -1
  62. package/styles/ui-editor-insert-table-grid.css +1 -1
  63. package/styles/ui-editor-mention-menu-item.css +1 -1
  64. package/styles/ui-editor-mention-menu.css +1 -1
  65. package/styles/ui-editor-slash-menu-group.css +1 -1
  66. package/styles/ui-editor-slash-menu-item.css +1 -1
  67. package/styles/ui-editor-slash-menu.css +1 -1
  68. package/styles/ui-editor-table-context-menu.css +1 -1
  69. package/styles/ui-editor-table-overlay.css +1 -1
  70. package/styles/ui-editor-table-toolbar.css +1 -1
  71. package/styles/ui-editor-toolbar.css +1 -1
  72. package/styles/ui-floating-action-button.css +1 -1
  73. package/styles/ui-form-field.css +1 -1
  74. package/styles/ui-grid.css +1 -1
  75. package/styles/ui-icon-button.css +1 -1
  76. package/styles/ui-icon.css +1 -1
  77. package/styles/ui-input-group.css +1 -1
  78. package/styles/ui-input.css +1 -1
  79. package/styles/ui-list-item.css +1 -1
  80. package/styles/ui-list.css +1 -1
  81. package/styles/ui-listbox.css +1 -1
  82. package/styles/ui-menu-group.css +1 -1
  83. package/styles/ui-menu-item.css +1 -1
  84. package/styles/ui-menu.css +1 -1
  85. package/styles/ui-meter.css +1 -1
  86. package/styles/ui-nav-item.css +1 -1
  87. package/styles/ui-page-header.css +1 -1
  88. package/styles/ui-popover.css +1 -1
  89. package/styles/ui-radio-group.css +1 -1
  90. package/styles/ui-radio.css +1 -1
  91. package/styles/ui-reel.css +1 -1
  92. package/styles/ui-scroll-area.css +1 -1
  93. package/styles/ui-search-result-row.css +1 -1
  94. package/styles/ui-search-shell.css +1 -1
  95. package/styles/ui-section.css +1 -1
  96. package/styles/ui-select.css +1 -1
  97. package/styles/ui-separator.css +1 -1
  98. package/styles/ui-sidebar.css +1 -1
  99. package/styles/ui-spinner.css +1 -1
  100. package/styles/ui-stack.css +1 -1
  101. package/styles/ui-status-message.css +1 -1
  102. package/styles/ui-switch.css +1 -1
  103. package/styles/ui-switcher.css +1 -1
  104. package/styles/ui-table.css +1 -1
  105. package/styles/ui-tabs.css +1 -1
  106. package/styles/ui-text.css +1 -1
  107. package/styles/ui-textarea.css +1 -1
  108. package/styles/ui-toast-region.css +1 -1
  109. package/styles/ui-toast.css +1 -1
  110. package/styles/ui-tooltip.css +1 -1
  111. package/styles/ui-top-bar.css +1 -1
  112. package/styles/ui-tree-item.css +1 -1
  113. package/styles/ui-tree.css +1 -1
  114. package/vanilla/UiActionBar.d.ts +1 -1
  115. package/vanilla/UiActionBar.js +1 -1
  116. package/vanilla/UiAffordanceScope.d.ts +1 -1
  117. package/vanilla/UiAffordanceScope.js +1 -1
  118. package/vanilla/UiAvatar.d.ts +1 -1
  119. package/vanilla/UiAvatar.js +1 -1
  120. package/vanilla/UiAvatarGroup.d.ts +1 -1
  121. package/vanilla/UiAvatarGroup.js +1 -1
  122. package/vanilla/UiBadge.d.ts +1 -1
  123. package/vanilla/UiBadge.js +1 -1
  124. package/vanilla/UiBreadcrumbItem.d.ts +1 -1
  125. package/vanilla/UiBreadcrumbItem.js +1 -1
  126. package/vanilla/UiBreadcrumbs.d.ts +1 -1
  127. package/vanilla/UiBreadcrumbs.js +1 -1
  128. package/vanilla/UiButton.d.ts +1 -1
  129. package/vanilla/UiButton.js +1 -1
  130. package/vanilla/UiCallout.d.ts +1 -1
  131. package/vanilla/UiCallout.js +1 -1
  132. package/vanilla/UiCard.d.ts +1 -1
  133. package/vanilla/UiCard.js +1 -1
  134. package/vanilla/UiCheckbox.d.ts +1 -1
  135. package/vanilla/UiCheckbox.js +1 -1
  136. package/vanilla/UiCluster.d.ts +1 -1
  137. package/vanilla/UiCluster.js +1 -1
  138. package/vanilla/UiCombobox.d.ts +1 -1
  139. package/vanilla/UiCombobox.js +1 -1
  140. package/vanilla/UiContainer.d.ts +1 -1
  141. package/vanilla/UiContainer.js +1 -1
  142. package/vanilla/UiContextMenu.d.ts +1 -1
  143. package/vanilla/UiContextMenu.js +1 -1
  144. package/vanilla/UiCover.d.ts +1 -1
  145. package/vanilla/UiCover.js +1 -1
  146. package/vanilla/UiDescriptionItem.d.ts +1 -1
  147. package/vanilla/UiDescriptionItem.js +1 -1
  148. package/vanilla/UiDescriptionList.d.ts +1 -1
  149. package/vanilla/UiDescriptionList.js +1 -1
  150. package/vanilla/UiDialog.d.ts +1 -1
  151. package/vanilla/UiDialog.js +1 -1
  152. package/vanilla/UiDisclosure.d.ts +1 -1
  153. package/vanilla/UiDisclosure.js +1 -1
  154. package/vanilla/UiEditable.d.ts +1 -1
  155. package/vanilla/UiEditable.js +1 -1
  156. package/vanilla/UiEditorInsertTableGrid.d.ts +1 -1
  157. package/vanilla/UiEditorInsertTableGrid.js +1 -1
  158. package/vanilla/UiEditorMentionMenu.d.ts +1 -1
  159. package/vanilla/UiEditorMentionMenu.js +1 -1
  160. package/vanilla/UiEditorMentionMenuItem.d.ts +1 -1
  161. package/vanilla/UiEditorMentionMenuItem.js +1 -1
  162. package/vanilla/UiEditorSlashMenu.d.ts +1 -1
  163. package/vanilla/UiEditorSlashMenu.js +1 -1
  164. package/vanilla/UiEditorSlashMenuGroup.d.ts +1 -1
  165. package/vanilla/UiEditorSlashMenuGroup.js +1 -1
  166. package/vanilla/UiEditorSlashMenuItem.d.ts +1 -1
  167. package/vanilla/UiEditorSlashMenuItem.js +1 -1
  168. package/vanilla/UiEditorTableContextMenu.d.ts +1 -1
  169. package/vanilla/UiEditorTableContextMenu.js +1 -1
  170. package/vanilla/UiEditorTableOverlay.d.ts +1 -1
  171. package/vanilla/UiEditorTableOverlay.js +1 -1
  172. package/vanilla/UiEditorTableToolbar.d.ts +1 -1
  173. package/vanilla/UiEditorTableToolbar.js +1 -1
  174. package/vanilla/UiEditorToolbar.d.ts +1 -1
  175. package/vanilla/UiEditorToolbar.js +1 -1
  176. package/vanilla/UiFloatingActionButton.d.ts +1 -1
  177. package/vanilla/UiFloatingActionButton.js +1 -1
  178. package/vanilla/UiFormField.d.ts +1 -1
  179. package/vanilla/UiFormField.js +1 -1
  180. package/vanilla/UiGrid.d.ts +1 -1
  181. package/vanilla/UiGrid.js +1 -1
  182. package/vanilla/UiIcon.d.ts +1 -1
  183. package/vanilla/UiIcon.js +1 -1
  184. package/vanilla/UiIconButton.d.ts +1 -1
  185. package/vanilla/UiIconButton.js +1 -1
  186. package/vanilla/UiInput.d.ts +1 -1
  187. package/vanilla/UiInput.js +1 -1
  188. package/vanilla/UiInputGroup.d.ts +1 -1
  189. package/vanilla/UiInputGroup.js +1 -1
  190. package/vanilla/UiList.d.ts +1 -1
  191. package/vanilla/UiList.js +1 -1
  192. package/vanilla/UiListItem.d.ts +1 -1
  193. package/vanilla/UiListItem.js +1 -1
  194. package/vanilla/UiListbox.d.ts +1 -1
  195. package/vanilla/UiListbox.js +1 -1
  196. package/vanilla/UiMenu.d.ts +1 -1
  197. package/vanilla/UiMenu.js +1 -1
  198. package/vanilla/UiMenuGroup.d.ts +1 -1
  199. package/vanilla/UiMenuGroup.js +1 -1
  200. package/vanilla/UiMenuItem.d.ts +1 -1
  201. package/vanilla/UiMenuItem.js +1 -1
  202. package/vanilla/UiMeter.d.ts +1 -1
  203. package/vanilla/UiMeter.js +1 -1
  204. package/vanilla/UiNavItem.d.ts +1 -1
  205. package/vanilla/UiNavItem.js +1 -1
  206. package/vanilla/UiPageHeader.d.ts +1 -1
  207. package/vanilla/UiPageHeader.js +1 -1
  208. package/vanilla/UiPopover.d.ts +1 -1
  209. package/vanilla/UiPopover.js +1 -1
  210. package/vanilla/UiRadio.d.ts +1 -1
  211. package/vanilla/UiRadio.js +1 -1
  212. package/vanilla/UiRadioGroup.d.ts +1 -1
  213. package/vanilla/UiRadioGroup.js +1 -1
  214. package/vanilla/UiReel.d.ts +1 -1
  215. package/vanilla/UiReel.js +1 -1
  216. package/vanilla/UiScrollArea.d.ts +1 -1
  217. package/vanilla/UiScrollArea.js +1 -1
  218. package/vanilla/UiSearchResultRow.d.ts +1 -1
  219. package/vanilla/UiSearchResultRow.js +1 -1
  220. package/vanilla/UiSearchShell.d.ts +1 -1
  221. package/vanilla/UiSearchShell.js +1 -1
  222. package/vanilla/UiSection.d.ts +1 -1
  223. package/vanilla/UiSection.js +1 -1
  224. package/vanilla/UiSelect.d.ts +1 -1
  225. package/vanilla/UiSelect.js +1 -1
  226. package/vanilla/UiSeparator.d.ts +1 -1
  227. package/vanilla/UiSeparator.js +1 -1
  228. package/vanilla/UiSidebar.d.ts +1 -1
  229. package/vanilla/UiSidebar.js +1 -1
  230. package/vanilla/UiSpinner.d.ts +1 -1
  231. package/vanilla/UiSpinner.js +1 -1
  232. package/vanilla/UiStack.d.ts +1 -1
  233. package/vanilla/UiStack.js +1 -1
  234. package/vanilla/UiStatusMessage.d.ts +1 -1
  235. package/vanilla/UiStatusMessage.js +1 -1
  236. package/vanilla/UiSwitch.d.ts +1 -1
  237. package/vanilla/UiSwitch.js +1 -1
  238. package/vanilla/UiSwitcher.d.ts +1 -1
  239. package/vanilla/UiSwitcher.js +1 -1
  240. package/vanilla/UiTable.d.ts +1 -1
  241. package/vanilla/UiTable.js +1 -1
  242. package/vanilla/UiTabs.d.ts +1 -1
  243. package/vanilla/UiTabs.js +1 -1
  244. package/vanilla/UiText.d.ts +1 -1
  245. package/vanilla/UiText.js +1 -1
  246. package/vanilla/UiTextarea.d.ts +1 -1
  247. package/vanilla/UiTextarea.js +1 -1
  248. package/vanilla/UiToast.d.ts +1 -1
  249. package/vanilla/UiToast.js +1 -1
  250. package/vanilla/UiToastRegion.d.ts +1 -1
  251. package/vanilla/UiToastRegion.js +1 -1
  252. package/vanilla/UiTooltip.d.ts +1 -1
  253. package/vanilla/UiTooltip.js +1 -1
  254. package/vanilla/UiTopBar.d.ts +1 -1
  255. package/vanilla/UiTopBar.js +1 -1
  256. package/vanilla/UiTree.d.ts +1 -1
  257. package/vanilla/UiTree.js +1 -1
  258. package/vanilla/UiTreeItem.d.ts +1 -1
  259. package/vanilla/UiTreeItem.js +1 -1
  260. package/vue/UiActionBar.vue +1 -1
  261. package/vue/UiAffordanceScope.vue +17 -4
  262. package/vue/UiAvatar.vue +38 -5
  263. package/vue/UiAvatarGroup.vue +32 -5
  264. package/vue/UiBadge.vue +13 -3
  265. package/vue/UiBreadcrumbItem.vue +5 -3
  266. package/vue/UiBreadcrumbs.vue +5 -3
  267. package/vue/UiButton.vue +72 -7
  268. package/vue/UiCallout.vue +5 -3
  269. package/vue/UiCard.vue +16 -6
  270. package/vue/UiCheckbox.vue +41 -4
  271. package/vue/UiCluster.vue +8 -3
  272. package/vue/UiCombobox.vue +98 -6
  273. package/vue/UiContainer.vue +6 -3
  274. package/vue/UiContextMenu.vue +17 -4
  275. package/vue/UiCover.vue +5 -3
  276. package/vue/UiDescriptionItem.vue +5 -3
  277. package/vue/UiDescriptionList.vue +11 -3
  278. package/vue/UiDialog.vue +38 -5
  279. package/vue/UiDisclosure.vue +28 -4
  280. package/vue/UiEditable.vue +50 -4
  281. package/vue/UiEditorInsertTableGrid.vue +24 -4
  282. package/vue/UiEditorMentionMenu.vue +41 -4
  283. package/vue/UiEditorMentionMenuItem.vue +7 -3
  284. package/vue/UiEditorSlashMenu.vue +28 -4
  285. package/vue/UiEditorSlashMenuGroup.vue +5 -3
  286. package/vue/UiEditorSlashMenuItem.vue +15 -3
  287. package/vue/UiEditorTableContextMenu.vue +28 -4
  288. package/vue/UiEditorTableOverlay.vue +17 -4
  289. package/vue/UiEditorTableToolbar.vue +28 -4
  290. package/vue/UiEditorToolbar.vue +16 -4
  291. package/vue/UiFloatingActionButton.vue +7 -3
  292. package/vue/UiFormField.vue +18 -4
  293. package/vue/UiGrid.vue +7 -3
  294. package/vue/UiIcon.vue +5 -3
  295. package/vue/UiIconButton.vue +47 -5
  296. package/vue/UiInput.vue +90 -37
  297. package/vue/UiInputGroup.vue +16 -4
  298. package/vue/UiList.vue +20 -7
  299. package/vue/UiListItem.vue +6 -3
  300. package/vue/UiListbox.vue +38 -5
  301. package/vue/UiMenu.vue +28 -4
  302. package/vue/UiMenuGroup.vue +5 -3
  303. package/vue/UiMenuItem.vue +27 -5
  304. package/vue/UiMeter.vue +19 -3
  305. package/vue/UiNavItem.vue +28 -6
  306. package/vue/UiPageHeader.vue +5 -3
  307. package/vue/UiPopover.vue +18 -5
  308. package/vue/UiRadio.vue +28 -4
  309. package/vue/UiRadioGroup.vue +30 -4
  310. package/vue/UiReel.vue +7 -3
  311. package/vue/UiScrollArea.vue +16 -4
  312. package/vue/UiSearchResultRow.d.ts +1 -1
  313. package/vue/UiSearchResultRow.vue +6 -3
  314. package/vue/UiSearchShell.vue +24 -4
  315. package/vue/UiSection.vue +7 -3
  316. package/vue/UiSelect.vue +33 -5
  317. package/vue/UiSeparator.vue +5 -3
  318. package/vue/UiSidebar.vue +44 -4
  319. package/vue/UiSpinner.vue +6 -3
  320. package/vue/UiStack.vue +7 -3
  321. package/vue/UiStatusMessage.vue +7 -3
  322. package/vue/UiSwitch.vue +28 -4
  323. package/vue/UiSwitcher.vue +30 -5
  324. package/vue/UiTable.vue +17 -4
  325. package/vue/UiTabs.vue +28 -4
  326. package/vue/UiText.vue +29 -15
  327. package/vue/UiTextarea.vue +39 -5
  328. package/vue/UiToast.vue +17 -4
  329. package/vue/UiToastRegion.vue +17 -5
  330. package/vue/UiTooltip.vue +30 -5
  331. package/vue/UiTopBar.vue +1 -1
  332. package/vue/UiTree.vue +28 -4
  333. package/vue/UiTreeItem.d.ts +1 -1
  334. package/vue/UiTreeItem.vue +59 -4
  335. package/vue/chunks/UiActionBar.js +1 -1
  336. package/vue/chunks/UiAffordanceScope.js +19 -5
  337. package/vue/chunks/UiAvatar.js +40 -11
  338. package/vue/chunks/UiAvatarGroup.js +31 -8
  339. package/vue/chunks/UiBadge.js +13 -7
  340. package/vue/chunks/UiBreadcrumbItem.js +5 -4
  341. package/vue/chunks/UiBreadcrumbs.js +5 -4
  342. package/vue/chunks/UiButton.js +60 -19
  343. package/vue/chunks/UiCallout.js +5 -4
  344. package/vue/chunks/UiCard.js +16 -10
  345. package/vue/chunks/UiCheckbox.js +40 -11
  346. package/vue/chunks/UiCluster.js +13 -7
  347. package/vue/chunks/UiCombobox.js +85 -26
  348. package/vue/chunks/UiContainer.js +9 -5
  349. package/vue/chunks/UiContextMenu.js +19 -5
  350. package/vue/chunks/UiCover.js +5 -4
  351. package/vue/chunks/UiDescriptionItem.js +5 -4
  352. package/vue/chunks/UiDescriptionList.js +11 -6
  353. package/vue/chunks/UiDialog.js +40 -11
  354. package/vue/chunks/UiDisclosure.js +34 -9
  355. package/vue/chunks/UiEditable.js +49 -14
  356. package/vue/chunks/UiEditorInsertTableGrid.js +28 -7
  357. package/vue/chunks/UiEditorMentionMenu.js +40 -11
  358. package/vue/chunks/UiEditorMentionMenuItem.js +11 -6
  359. package/vue/chunks/UiEditorSlashMenu.js +34 -9
  360. package/vue/chunks/UiEditorSlashMenuGroup.js +5 -4
  361. package/vue/chunks/UiEditorSlashMenuItem.js +15 -8
  362. package/vue/chunks/UiEditorTableContextMenu.js +34 -9
  363. package/vue/chunks/UiEditorTableOverlay.js +19 -5
  364. package/vue/chunks/UiEditorTableToolbar.js +34 -9
  365. package/vue/chunks/UiEditorToolbar.js +15 -4
  366. package/vue/chunks/UiFloatingActionButton.js +11 -6
  367. package/vue/chunks/UiFormField.js +26 -7
  368. package/vue/chunks/UiGrid.js +11 -6
  369. package/vue/chunks/UiIcon.js +5 -4
  370. package/vue/chunks/UiIconButton.js +41 -12
  371. package/vue/chunks/UiInput.js +53 -14
  372. package/vue/chunks/UiInputGroup.js +16 -5
  373. package/vue/chunks/UiList.js +14 -8
  374. package/vue/chunks/UiListItem.js +9 -5
  375. package/vue/chunks/UiListbox.js +40 -11
  376. package/vue/chunks/UiMenu.js +34 -9
  377. package/vue/chunks/UiMenuGroup.js +5 -4
  378. package/vue/chunks/UiMenuItem.js +32 -9
  379. package/vue/chunks/UiMeter.js +19 -10
  380. package/vue/chunks/UiNavItem.js +16 -9
  381. package/vue/chunks/UiPageHeader.js +5 -4
  382. package/vue/chunks/UiPopover.js +25 -6
  383. package/vue/chunks/UiRadio.js +34 -9
  384. package/vue/chunks/UiRadioGroup.js +37 -10
  385. package/vue/chunks/UiReel.js +11 -6
  386. package/vue/chunks/UiScrollArea.js +15 -4
  387. package/vue/chunks/UiSearchResultRow.js +9 -5
  388. package/vue/chunks/UiSearchShell.js +28 -7
  389. package/vue/chunks/UiSection.js +11 -6
  390. package/vue/chunks/UiSelect.js +33 -10
  391. package/vue/chunks/UiSeparator.js +5 -4
  392. package/vue/chunks/UiSidebar.js +43 -12
  393. package/vue/chunks/UiSpinner.js +9 -5
  394. package/vue/chunks/UiStack.js +11 -6
  395. package/vue/chunks/UiStatusMessage.js +11 -6
  396. package/vue/chunks/UiSwitch.js +34 -9
  397. package/vue/chunks/UiSwitcher.js +28 -7
  398. package/vue/chunks/UiTable.js +20 -6
  399. package/vue/chunks/UiTabs.js +34 -9
  400. package/vue/chunks/UiText.js +29 -20
  401. package/vue/chunks/UiTextarea.js +42 -13
  402. package/vue/chunks/UiToast.js +19 -5
  403. package/vue/chunks/UiToastRegion.js +19 -5
  404. package/vue/chunks/UiTooltip.js +37 -10
  405. package/vue/chunks/UiTopBar.js +1 -1
  406. package/vue/chunks/UiTree.js +35 -10
  407. package/vue/chunks/UiTreeItem.js +58 -17
  408. package/vue/chunks/host.js +22 -4
  409. package/vue/chunks/props.js +20 -7
  410. package/vue/components.css +1205 -1205
  411. package/vue/host.ts +50 -6
package/vue/UiText.vue CHANGED
@@ -1,4 +1,4 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.18 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.19 for Vue 3.5. Do not edit. -->
2
2
  <script setup lang="ts">
3
3
  import { computed, getCurrentInstance, useTemplateRef, watchSyncEffect } from 'vue'
4
4
  import type { PropType } from 'vue'
@@ -70,7 +70,7 @@ const propValidityContract = {
70
70
  default: 'inherit',
71
71
  },
72
72
  },
73
- }
73
+ } as const
74
74
  const props = defineProps({
75
75
  align: { type: null as unknown as PropType<'start' | 'center' | null>, default: 'start' },
76
76
  as: {
@@ -107,16 +107,26 @@ const props = defineProps({
107
107
  default: 'inherit',
108
108
  },
109
109
  })
110
+ const acceptedProps: Record<string, unknown> = {
111
+ align: 'start',
112
+ as: 'p',
113
+ size: 'inherit',
114
+ tone: 'default',
115
+ truncate: false,
116
+ variant: 'body',
117
+ weight: 'inherit',
118
+ }
110
119
  const checkedProps = computed(() => ({
111
120
  align: checkedProp<'start' | 'center'>(
112
121
  props['align'],
113
122
  { kind: 'terminal', name: 'keyword' },
114
123
  false,
115
124
  'align',
125
+ acceptedProps,
116
126
  ) as 'start' | 'center',
117
127
  as: checkedProp<
118
128
  'p' | 'span' | 'div' | 'small' | 'strong' | 'label' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6'
119
- >(props['as'], { kind: 'terminal', name: 'keyword' }, false, 'as') as
129
+ >(props['as'], { kind: 'terminal', name: 'keyword' }, false, 'as', acceptedProps) as
120
130
  | 'p'
121
131
  | 'span'
122
132
  | 'div'
@@ -133,10 +143,11 @@ const checkedProps = computed(() => ({
133
143
  { kind: 'terminal', name: 'keyword' },
134
144
  false,
135
145
  'size',
146
+ acceptedProps,
136
147
  ) as 'inherit' | 'xs' | 'sm' | 'md' | 'lg',
137
148
  tone: checkedProp<
138
149
  'default' | 'secondary' | 'muted' | 'accent' | 'danger' | 'success' | 'info' | 'warning'
139
- >(props['tone'], { kind: 'terminal', name: 'keyword' }, false, 'tone') as
150
+ >(props['tone'], { kind: 'terminal', name: 'keyword' }, false, 'tone', acceptedProps) as
140
151
  | 'default'
141
152
  | 'secondary'
142
153
  | 'muted'
@@ -150,18 +161,21 @@ const checkedProps = computed(() => ({
150
161
  { kind: 'terminal', name: 'boolean' },
151
162
  false,
152
163
  'truncate',
164
+ acceptedProps,
153
165
  ) as boolean,
154
166
  variant: checkedProp<'body' | 'eyebrow' | 'code'>(
155
167
  props['variant'],
156
168
  { kind: 'terminal', name: 'keyword' },
157
169
  false,
158
170
  'variant',
171
+ acceptedProps,
159
172
  ) as 'body' | 'eyebrow' | 'code',
160
173
  weight: checkedProp<'inherit' | 'normal' | 'medium' | 'semibold'>(
161
174
  props['weight'],
162
175
  { kind: 'terminal', name: 'keyword' },
163
176
  false,
164
177
  'weight',
178
+ acceptedProps,
165
179
  ) as 'inherit' | 'normal' | 'medium' | 'semibold',
166
180
  }))
167
181
  void checkedProps.value
@@ -262,7 +276,7 @@ const hostState = computed(() =>
262
276
  v-if="checkedProps.as === 'span'"
263
277
  data-component="ui-text"
264
278
  v-bind="nativeAttrs($attrs)"
265
- v-prop-validity="{ contract: propValidityContract, values: { ...checkedProps } }"
279
+ v-prop-validity="{ contract: propValidityContract, values: { ...props } }"
266
280
  :data-align="reflectedProp('align', 'align', checkedProps.align, undefined, false)"
267
281
  :data-as="reflectedProp('as', 'as', checkedProps.as, undefined, false)"
268
282
  :data-size="reflectedProp('size', 'size', checkedProps.size, undefined, false)"
@@ -277,7 +291,7 @@ const hostState = computed(() =>
277
291
  v-else-if="checkedProps.as === 'div'"
278
292
  data-component="ui-text"
279
293
  v-bind="nativeAttrs($attrs)"
280
- v-prop-validity="{ contract: propValidityContract, values: { ...checkedProps } }"
294
+ v-prop-validity="{ contract: propValidityContract, values: { ...props } }"
281
295
  :data-align="reflectedProp('align', 'align', checkedProps.align, undefined, false)"
282
296
  :data-as="reflectedProp('as', 'as', checkedProps.as, undefined, false)"
283
297
  :data-size="reflectedProp('size', 'size', checkedProps.size, undefined, false)"
@@ -294,7 +308,7 @@ const hostState = computed(() =>
294
308
  v-else-if="checkedProps.as === 'small'"
295
309
  data-component="ui-text"
296
310
  v-bind="nativeAttrs($attrs)"
297
- v-prop-validity="{ contract: propValidityContract, values: { ...checkedProps } }"
311
+ v-prop-validity="{ contract: propValidityContract, values: { ...props } }"
298
312
  :data-align="reflectedProp('align', 'align', checkedProps.align, undefined, false)"
299
313
  :data-as="reflectedProp('as', 'as', checkedProps.as, undefined, false)"
300
314
  :data-size="reflectedProp('size', 'size', checkedProps.size, undefined, false)"
@@ -309,7 +323,7 @@ const hostState = computed(() =>
309
323
  v-else-if="checkedProps.as === 'strong'"
310
324
  data-component="ui-text"
311
325
  v-bind="nativeAttrs($attrs)"
312
- v-prop-validity="{ contract: propValidityContract, values: { ...checkedProps } }"
326
+ v-prop-validity="{ contract: propValidityContract, values: { ...props } }"
313
327
  :data-align="reflectedProp('align', 'align', checkedProps.align, undefined, false)"
314
328
  :data-as="reflectedProp('as', 'as', checkedProps.as, undefined, false)"
315
329
  :data-size="reflectedProp('size', 'size', checkedProps.size, undefined, false)"
@@ -324,7 +338,7 @@ const hostState = computed(() =>
324
338
  v-else-if="checkedProps.as === 'label'"
325
339
  data-component="ui-text"
326
340
  v-bind="nativeAttrs($attrs)"
327
- v-prop-validity="{ contract: propValidityContract, values: { ...checkedProps } }"
341
+ v-prop-validity="{ contract: propValidityContract, values: { ...props } }"
328
342
  :data-align="reflectedProp('align', 'align', checkedProps.align, undefined, false)"
329
343
  :data-as="reflectedProp('as', 'as', checkedProps.as, undefined, false)"
330
344
  :data-size="reflectedProp('size', 'size', checkedProps.size, undefined, false)"
@@ -339,7 +353,7 @@ const hostState = computed(() =>
339
353
  v-else-if="checkedProps.as === 'h2'"
340
354
  data-component="ui-text"
341
355
  v-bind="nativeAttrs($attrs)"
342
- v-prop-validity="{ contract: propValidityContract, values: { ...checkedProps } }"
356
+ v-prop-validity="{ contract: propValidityContract, values: { ...props } }"
343
357
  :data-align="reflectedProp('align', 'align', checkedProps.align, undefined, false)"
344
358
  :data-as="reflectedProp('as', 'as', checkedProps.as, undefined, false)"
345
359
  :data-size="reflectedProp('size', 'size', checkedProps.size, undefined, false)"
@@ -356,7 +370,7 @@ const hostState = computed(() =>
356
370
  v-else-if="checkedProps.as === 'h3'"
357
371
  data-component="ui-text"
358
372
  v-bind="nativeAttrs($attrs)"
359
- v-prop-validity="{ contract: propValidityContract, values: { ...checkedProps } }"
373
+ v-prop-validity="{ contract: propValidityContract, values: { ...props } }"
360
374
  :data-align="reflectedProp('align', 'align', checkedProps.align, undefined, false)"
361
375
  :data-as="reflectedProp('as', 'as', checkedProps.as, undefined, false)"
362
376
  :data-size="reflectedProp('size', 'size', checkedProps.size, undefined, false)"
@@ -373,7 +387,7 @@ const hostState = computed(() =>
373
387
  v-else-if="checkedProps.as === 'h4'"
374
388
  data-component="ui-text"
375
389
  v-bind="nativeAttrs($attrs)"
376
- v-prop-validity="{ contract: propValidityContract, values: { ...checkedProps } }"
390
+ v-prop-validity="{ contract: propValidityContract, values: { ...props } }"
377
391
  :data-align="reflectedProp('align', 'align', checkedProps.align, undefined, false)"
378
392
  :data-as="reflectedProp('as', 'as', checkedProps.as, undefined, false)"
379
393
  :data-size="reflectedProp('size', 'size', checkedProps.size, undefined, false)"
@@ -390,7 +404,7 @@ const hostState = computed(() =>
390
404
  v-else-if="checkedProps.as === 'h5'"
391
405
  data-component="ui-text"
392
406
  v-bind="nativeAttrs($attrs)"
393
- v-prop-validity="{ contract: propValidityContract, values: { ...checkedProps } }"
407
+ v-prop-validity="{ contract: propValidityContract, values: { ...props } }"
394
408
  :data-align="reflectedProp('align', 'align', checkedProps.align, undefined, false)"
395
409
  :data-as="reflectedProp('as', 'as', checkedProps.as, undefined, false)"
396
410
  :data-size="reflectedProp('size', 'size', checkedProps.size, undefined, false)"
@@ -407,7 +421,7 @@ const hostState = computed(() =>
407
421
  v-else-if="checkedProps.as === 'h6'"
408
422
  data-component="ui-text"
409
423
  v-bind="nativeAttrs($attrs)"
410
- v-prop-validity="{ contract: propValidityContract, values: { ...checkedProps } }"
424
+ v-prop-validity="{ contract: propValidityContract, values: { ...props } }"
411
425
  :data-align="reflectedProp('align', 'align', checkedProps.align, undefined, false)"
412
426
  :data-as="reflectedProp('as', 'as', checkedProps.as, undefined, false)"
413
427
  :data-size="reflectedProp('size', 'size', checkedProps.size, undefined, false)"
@@ -424,7 +438,7 @@ const hostState = computed(() =>
424
438
  v-else
425
439
  data-component="ui-text"
426
440
  v-bind="nativeAttrs($attrs)"
427
- v-prop-validity="{ contract: propValidityContract, values: { ...checkedProps } }"
441
+ v-prop-validity="{ contract: propValidityContract, values: { ...props } }"
428
442
  :data-align="reflectedProp('align', 'align', checkedProps.align, undefined, false)"
429
443
  :data-as="reflectedProp('as', 'as', checkedProps.as, undefined, false)"
430
444
  :data-size="reflectedProp('size', 'size', checkedProps.size, undefined, false)"
@@ -1,10 +1,10 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.18 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.19 for Vue 3.5. Do not edit. -->
2
2
  <script setup lang="ts">
3
3
  import { computed, getCurrentInstance, ref, watchSyncEffect } from 'vue'
4
4
  import type { PropType } from 'vue'
5
5
  import { readBoundControl, vBindControl } from './control'
6
6
  import { createDispatch, useComponentHost } from './host'
7
- import { checkedProp, vPropValidity } from './props'
7
+ import { checkedProp, propValidityState, vPropValidity } from './props'
8
8
 
9
9
  defineOptions({ inheritAttrs: false })
10
10
 
@@ -70,7 +70,7 @@ const propValidityContract = {
70
70
  'The textarea\'s text. Setting or changing it replaces the live text; between changes the user\'s typing stands, so follow input events to keep it in step. It\n is also the textarea\'s default, so a form reset returns to it.',
71
71
  },
72
72
  },
73
- }
73
+ } as const
74
74
  const props = defineProps({
75
75
  autosize: { type: null as unknown as PropType<boolean | null>, default: false },
76
76
  disabled: { type: null as unknown as PropType<boolean | null>, default: false },
@@ -82,55 +82,79 @@ const props = defineProps({
82
82
  value: { type: null as unknown as PropType<string | null>, default: null },
83
83
  modelValue: { type: null as unknown as PropType<string | null | undefined> },
84
84
  })
85
+ const acceptedProps: Record<string, unknown> = {
86
+ autosize: false,
87
+ disabled: false,
88
+ invalid: false,
89
+ readonly: false,
90
+ required: false,
91
+ rows: 4,
92
+ size: 'md',
93
+ value: null,
94
+ }
85
95
  const checkedProps = computed(() => ({
86
96
  autosize: checkedProp<boolean>(
87
97
  props['autosize'],
88
98
  { kind: 'terminal', name: 'boolean' },
89
99
  false,
90
100
  'autosize',
101
+ acceptedProps,
91
102
  ) as boolean,
92
103
  disabled: checkedProp<boolean>(
93
104
  props['disabled'],
94
105
  { kind: 'terminal', name: 'boolean' },
95
106
  false,
96
107
  'disabled',
108
+ acceptedProps,
97
109
  ) as boolean,
98
110
  invalid: checkedProp<boolean>(
99
111
  props['invalid'],
100
112
  { kind: 'terminal', name: 'boolean' },
101
113
  false,
102
114
  'invalid',
115
+ acceptedProps,
103
116
  ) as boolean,
104
117
  readonly: checkedProp<boolean>(
105
118
  props['readonly'],
106
119
  { kind: 'terminal', name: 'boolean' },
107
120
  false,
108
121
  'readonly',
122
+ acceptedProps,
109
123
  ) as boolean,
110
124
  required: checkedProp<boolean>(
111
125
  props['required'],
112
126
  { kind: 'terminal', name: 'boolean' },
113
127
  false,
114
128
  'required',
129
+ acceptedProps,
115
130
  ) as boolean,
116
131
  rows: checkedProp<number>(
117
132
  props['rows'],
118
133
  { kind: 'terminal', name: 'integer' },
119
134
  false,
120
135
  'rows',
136
+ acceptedProps,
121
137
  ) as number,
122
138
  size: checkedProp<'sm' | 'md' | 'lg'>(
123
139
  props['size'],
124
140
  { kind: 'terminal', name: 'keyword' },
125
141
  false,
126
142
  'size',
143
+ acceptedProps,
127
144
  ) as 'sm' | 'md' | 'lg',
128
- value: checkedProp<string>(props['value'], { kind: 'terminal', name: 'string' }, false, 'value'),
145
+ value: checkedProp<string>(
146
+ props['value'],
147
+ { kind: 'terminal', name: 'string' },
148
+ false,
149
+ 'value',
150
+ acceptedProps,
151
+ ),
129
152
  modelValue: checkedProp<string | null>(
130
153
  props.modelValue,
131
154
  { kind: 'terminal', name: 'string' },
132
155
  false,
133
156
  'modelValue',
157
+ acceptedProps,
134
158
  ),
135
159
  }))
136
160
  void checkedProps.value
@@ -215,6 +239,16 @@ useComponentHost(() => import('../components/ui-textarea/ui-textarea.js'), {
215
239
  definition: './components/ui-textarea/ui-textarea.html',
216
240
  },
217
241
  props: checkedProps,
242
+ propInputs: (name: string) => {
243
+ const incoming = hydrationInstance?.vnode.props
244
+ const kebab = name.replace(/[A-Z]/g, (letter) => '-' + letter.toLowerCase())
245
+ return incoming !== null && incoming !== undefined
246
+ ? (incoming[name] ?? incoming[kebab] ?? null)
247
+ : null
248
+ },
249
+ propNames: ['autosize', 'disabled', 'invalid', 'readonly', 'required', 'rows', 'size', 'value'],
250
+ propValidity: (name: string) =>
251
+ propValidityState({ contract: propValidityContract, values: { ...props } }, name),
218
252
  })
219
253
  </script>
220
254
 
@@ -228,7 +262,7 @@ useComponentHost(() => import('../components/ui-textarea/ui-textarea.js'), {
228
262
  :aria-invalid="checkedProps.invalid ?? undefined"
229
263
  :rows="checkedProps.rows ?? undefined"
230
264
  :style="{ '--_rows': checkedProps.rows ?? undefined }"
231
- v-prop-validity="{ contract: propValidityContract, values: { ...checkedProps } }"
265
+ v-prop-validity="{ contract: propValidityContract, values: { ...props } }"
232
266
  :data-autosize="reflectedProp('autosize', 'autosize', checkedProps.autosize, undefined, false)"
233
267
  :data-disabled="reflectedProp('disabled', 'disabled', checkedProps.disabled, undefined, false)"
234
268
  :data-invalid="reflectedProp('invalid', 'invalid', checkedProps.invalid, undefined, false)"
package/vue/UiToast.vue CHANGED
@@ -1,9 +1,9 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.18 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.19 for Vue 3.5. Do not edit. -->
2
2
  <script setup lang="ts">
3
3
  import { computed, getCurrentInstance, ref, useTemplateRef, watchSyncEffect } from 'vue'
4
4
  import type { PropType } from 'vue'
5
5
  import { createDispatch, useComponentHost } from './host'
6
- import { checkedProp, vPropValidity } from './props'
6
+ import { checkedProp, propValidityState, vPropValidity } from './props'
7
7
  import UiIcon from './UiIcon.vue'
8
8
  import UiIconButton from './UiIconButton.vue'
9
9
 
@@ -29,7 +29,7 @@ const propValidityContract = {
29
29
  default: 'neutral',
30
30
  },
31
31
  },
32
- }
32
+ } as const
33
33
  const props = defineProps({
34
34
  duration: { type: null as unknown as PropType<number | null>, default: 0 },
35
35
  tone: {
@@ -37,18 +37,21 @@ const props = defineProps({
37
37
  default: 'neutral',
38
38
  },
39
39
  })
40
+ const acceptedProps: Record<string, unknown> = { duration: 0, tone: 'neutral' }
40
41
  const checkedProps = computed(() => ({
41
42
  duration: checkedProp<number>(
42
43
  props['duration'],
43
44
  { kind: 'terminal', name: 'number' },
44
45
  false,
45
46
  'duration',
47
+ acceptedProps,
46
48
  ) as number,
47
49
  tone: checkedProp<'neutral' | 'info' | 'success' | 'warning' | 'danger'>(
48
50
  props['tone'],
49
51
  { kind: 'terminal', name: 'keyword' },
50
52
  false,
51
53
  'tone',
54
+ acceptedProps,
52
55
  ) as 'neutral' | 'info' | 'success' | 'warning' | 'danger',
53
56
  }))
54
57
  void checkedProps.value
@@ -147,6 +150,16 @@ useComponentHost(() => import('../components/ui-toast/ui-toast.js'), {
147
150
  definition: './components/ui-toast/ui-toast.html',
148
151
  },
149
152
  props: checkedProps,
153
+ propInputs: (name: string) => {
154
+ const incoming = hydrationInstance?.vnode.props
155
+ const kebab = name.replace(/[A-Z]/g, (letter) => '-' + letter.toLowerCase())
156
+ return incoming !== null && incoming !== undefined
157
+ ? (incoming[name] ?? incoming[kebab] ?? null)
158
+ : null
159
+ },
160
+ propNames: ['duration', 'tone'],
161
+ propValidity: (name: string) =>
162
+ propValidityState({ contract: propValidityContract, values: { ...props } }, name),
150
163
  refs: { action: actionElement },
151
164
  })
152
165
 
@@ -177,7 +190,7 @@ function attribute(value: unknown): any {
177
190
  danger: 'alert',
178
191
  }) as Record<string, any>)[checkedProps.tone],
179
192
  )"
180
- v-prop-validity="{ contract: propValidityContract, values: { ...checkedProps } }"
193
+ v-prop-validity="{ contract: propValidityContract, values: { ...props } }"
181
194
  :data-duration="reflectedProp('duration', 'duration', checkedProps.duration, undefined, false)"
182
195
  :data-tone="reflectedProp('tone', 'tone', checkedProps.tone, undefined, false)"
183
196
  :data-ui-toast-state="hostState || undefined"
@@ -1,4 +1,4 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.18 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.19 for Vue 3.5. Do not edit. -->
2
2
  <script setup lang="ts">
3
3
  import {
4
4
  computed,
@@ -11,7 +11,7 @@ import {
11
11
  } from 'vue'
12
12
  import type { PropType, VNode } from 'vue'
13
13
  import { createDispatch, useComponentHost } from './host'
14
- import { checkedProp, vPropValidity } from './props'
14
+ import { checkedProp, propValidityState, vPropValidity } from './props'
15
15
  import UiIcon from './UiIcon.vue'
16
16
  import UiIconButton from './UiIconButton.vue'
17
17
 
@@ -37,7 +37,7 @@ const propValidityContract = {
37
37
  default: 'top',
38
38
  },
39
39
  },
40
- }
40
+ } as const
41
41
  const props = defineProps({
42
42
  duration: { type: null as unknown as PropType<number | null>, default: 0 },
43
43
  placement: {
@@ -47,16 +47,18 @@ const props = defineProps({
47
47
  default: 'top',
48
48
  },
49
49
  })
50
+ const acceptedProps: Record<string, unknown> = { duration: 0, placement: 'top' }
50
51
  const checkedProps = computed(() => ({
51
52
  duration: checkedProp<number>(
52
53
  props['duration'],
53
54
  { kind: 'terminal', name: 'number' },
54
55
  false,
55
56
  'duration',
57
+ acceptedProps,
56
58
  ) as number,
57
59
  placement: checkedProp<
58
60
  'top' | 'top-start' | 'top-end' | 'bottom' | 'bottom-start' | 'bottom-end'
59
- >(props['placement'], { kind: 'terminal', name: 'keyword' }, false, 'placement') as
61
+ >(props['placement'], { kind: 'terminal', name: 'keyword' }, false, 'placement', acceptedProps) as
60
62
  | 'top'
61
63
  | 'top-start'
62
64
  | 'top-end'
@@ -201,6 +203,16 @@ const { host, ready } = useComponentHost(
201
203
  definition: './components/ui-toast-region/ui-toast-region.html',
202
204
  },
203
205
  props: checkedProps,
206
+ propInputs: (name: string) => {
207
+ const incoming = hydrationInstance?.vnode.props
208
+ const kebab = name.replace(/[A-Z]/g, (letter) => '-' + letter.toLowerCase())
209
+ return incoming !== null && incoming !== undefined
210
+ ? (incoming[name] ?? incoming[kebab] ?? null)
211
+ : null
212
+ },
213
+ propNames: ['duration', 'placement'],
214
+ propValidity: (name: string) =>
215
+ propValidityState({ contract: propValidityContract, values: { ...props } }, name),
204
216
  state: { toasts },
205
217
  },
206
218
  )
@@ -267,7 +279,7 @@ function uniqueKeys<T>(
267
279
  aria-live="polite"
268
280
  popover="manual"
269
281
  v-bind="nativeAttrs($attrs)"
270
- v-prop-validity="{ contract: propValidityContract, values: { ...checkedProps } }"
282
+ v-prop-validity="{ contract: propValidityContract, values: { ...props } }"
271
283
  :data-duration="reflectedProp('duration', 'duration', checkedProps.duration, undefined, false)"
272
284
  :data-placement="reflectedProp('placement', 'placement', checkedProps.placement, undefined, false)"
273
285
  :data-ui-toast-region-state="hostState || undefined"
package/vue/UiTooltip.vue CHANGED
@@ -1,9 +1,9 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.18 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.19 for Vue 3.5. Do not edit. -->
2
2
  <script setup lang="ts">
3
3
  import { computed, getCurrentInstance, provide, ref, watchSyncEffect } from 'vue'
4
4
  import type { PropType } from 'vue'
5
5
  import { createDispatch, useComponentHost } from './host'
6
- import { checkedProp, vPropValidity } from './props'
6
+ import { checkedProp, propValidityState, vPropValidity } from './props'
7
7
 
8
8
  defineOptions({ inheritAttrs: false })
9
9
 
@@ -77,7 +77,7 @@ const propValidityContract = {
77
77
  default: 'hover',
78
78
  },
79
79
  },
80
- }
80
+ } as const
81
81
  const props = defineProps({
82
82
  for: { type: null as unknown as PropType<string | null>, default: '' },
83
83
  hideDelay: { type: null as unknown as PropType<number | null>, default: 100 },
@@ -107,30 +107,43 @@ const props = defineProps({
107
107
  default: 'hover',
108
108
  },
109
109
  })
110
+ const acceptedProps: Record<string, unknown> = {
111
+ for: '',
112
+ hideDelay: 100,
113
+ inverse: false,
114
+ open: false,
115
+ placement: 'top',
116
+ showDelay: 500,
117
+ trigger: 'hover',
118
+ }
110
119
  const checkedProps = computed(() => ({
111
120
  for: checkedProp<string>(
112
121
  props['for'],
113
122
  { kind: 'terminal', name: 'string' },
114
123
  false,
115
124
  'for',
125
+ acceptedProps,
116
126
  ) as string,
117
127
  hideDelay: checkedProp<number>(
118
128
  props['hideDelay'],
119
129
  { kind: 'terminal', name: 'number' },
120
130
  false,
121
131
  'hideDelay',
132
+ acceptedProps,
122
133
  ) as number,
123
134
  inverse: checkedProp<boolean>(
124
135
  props['inverse'],
125
136
  { kind: 'terminal', name: 'boolean' },
126
137
  false,
127
138
  'inverse',
139
+ acceptedProps,
128
140
  ) as boolean,
129
141
  open: checkedProp<boolean>(
130
142
  props['open'],
131
143
  { kind: 'terminal', name: 'boolean' },
132
144
  false,
133
145
  'open',
146
+ acceptedProps,
134
147
  ) as boolean,
135
148
  placement: checkedProp<
136
149
  | 'top'
@@ -145,7 +158,7 @@ const checkedProps = computed(() => ({
145
158
  | 'right'
146
159
  | 'right-start'
147
160
  | 'right-end'
148
- >(props['placement'], { kind: 'terminal', name: 'keyword' }, false, 'placement') as
161
+ >(props['placement'], { kind: 'terminal', name: 'keyword' }, false, 'placement', acceptedProps) as
149
162
  | 'top'
150
163
  | 'top-start'
151
164
  | 'top-end'
@@ -163,12 +176,14 @@ const checkedProps = computed(() => ({
163
176
  { kind: 'terminal', name: 'number' },
164
177
  false,
165
178
  'showDelay',
179
+ acceptedProps,
166
180
  ) as number,
167
181
  trigger: checkedProp<'hover' | 'click' | 'focus'>(
168
182
  props['trigger'],
169
183
  { kind: 'terminal', name: 'keyword' },
170
184
  false,
171
185
  'trigger',
186
+ acceptedProps,
172
187
  ) as 'hover' | 'click' | 'focus',
173
188
  }))
174
189
  void checkedProps.value
@@ -292,6 +307,16 @@ useComponentHost(() => import('../components/ui-tooltip/ui-tooltip.js'), {
292
307
  definition: './components/ui-tooltip/ui-tooltip.html',
293
308
  },
294
309
  props: checkedProps,
310
+ propInputs: (name: string) => {
311
+ const incoming = hydrationInstance?.vnode.props
312
+ const kebab = name.replace(/[A-Z]/g, (letter) => '-' + letter.toLowerCase())
313
+ return incoming !== null && incoming !== undefined
314
+ ? (incoming[name] ?? incoming[kebab] ?? null)
315
+ : null
316
+ },
317
+ propNames: ['for', 'hideDelay', 'inverse', 'open', 'placement', 'showDelay', 'trigger'],
318
+ propValidity: (name: string) =>
319
+ propValidityState({ contract: propValidityContract, values: { ...props } }, name),
295
320
  state: { internalOpen },
296
321
  })
297
322
  </script>
@@ -302,7 +327,7 @@ useComponentHost(() => import('../components/ui-tooltip/ui-tooltip.js'), {
302
327
  role="tooltip"
303
328
  v-bind="nativeAttrs($attrs)"
304
329
  :hidden="guarded"
305
- v-prop-validity="{ contract: propValidityContract, values: { ...checkedProps } }"
330
+ v-prop-validity="{ contract: propValidityContract, values: { ...props } }"
306
331
  :data-for="reflectedProp('for', 'for', checkedProps.for, undefined, false)"
307
332
  :data-hide-delay="reflectedProp('hideDelay', 'hide-delay', checkedProps.hideDelay, undefined, false)"
308
333
  :data-inverse="reflectedProp('inverse', 'inverse', checkedProps.inverse, undefined, false)"
package/vue/UiTopBar.vue CHANGED
@@ -1,4 +1,4 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.18 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.19 for Vue 3.5. Do not edit. -->
2
2
  <script setup lang="ts">
3
3
  import { getCurrentInstance } from 'vue'
4
4
 
package/vue/UiTree.vue CHANGED
@@ -1,9 +1,9 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.18 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.19 for Vue 3.5. Do not edit. -->
2
2
  <script setup lang="ts">
3
3
  import { computed, getCurrentInstance, ref, watchSyncEffect } from 'vue'
4
4
  import type { PropType } from 'vue'
5
5
  import { createDispatch, useComponentHost } from './host'
6
- import { checkedProp, vPropValidity } from './props'
6
+ import { checkedProp, propValidityState, vPropValidity } from './props'
7
7
 
8
8
  defineOptions({ inheritAttrs: false })
9
9
 
@@ -59,7 +59,7 @@ const propValidityContract = {
59
59
  default: 'none',
60
60
  },
61
61
  },
62
- }
62
+ } as const
63
63
  const props = defineProps({
64
64
  density: {
65
65
  type: null as unknown as PropType<'comfortable' | 'compact' | null>,
@@ -74,42 +74,56 @@ const props = defineProps({
74
74
  default: 'none',
75
75
  },
76
76
  })
77
+ const acceptedProps: Record<string, unknown> = {
78
+ density: 'comfortable',
79
+ hoverExpandDelay: 700,
80
+ label: 'Tree',
81
+ marquee: false,
82
+ maxDepth: 0,
83
+ selection: 'none',
84
+ }
77
85
  const checkedProps = computed(() => ({
78
86
  density: checkedProp<'comfortable' | 'compact'>(
79
87
  props['density'],
80
88
  { kind: 'terminal', name: 'keyword' },
81
89
  false,
82
90
  'density',
91
+ acceptedProps,
83
92
  ) as 'comfortable' | 'compact',
84
93
  hoverExpandDelay: checkedProp<number>(
85
94
  props['hoverExpandDelay'],
86
95
  { kind: 'terminal', name: 'number' },
87
96
  false,
88
97
  'hoverExpandDelay',
98
+ acceptedProps,
89
99
  ) as number,
90
100
  label: checkedProp<string>(
91
101
  props['label'],
92
102
  { kind: 'terminal', name: 'string' },
93
103
  false,
94
104
  'label',
105
+ acceptedProps,
95
106
  ) as string,
96
107
  marquee: checkedProp<boolean>(
97
108
  props['marquee'],
98
109
  { kind: 'terminal', name: 'boolean' },
99
110
  false,
100
111
  'marquee',
112
+ acceptedProps,
101
113
  ) as boolean,
102
114
  maxDepth: checkedProp<number>(
103
115
  props['maxDepth'],
104
116
  { kind: 'terminal', name: 'number' },
105
117
  false,
106
118
  'maxDepth',
119
+ acceptedProps,
107
120
  ) as number,
108
121
  selection: checkedProp<'none' | 'single' | 'multiple'>(
109
122
  props['selection'],
110
123
  { kind: 'terminal', name: 'keyword' },
111
124
  false,
112
125
  'selection',
126
+ acceptedProps,
113
127
  ) as 'none' | 'single' | 'multiple',
114
128
  }))
115
129
  void checkedProps.value
@@ -283,6 +297,16 @@ useComponentHost(() => import('../components/ui-tree/ui-tree.js'), {
283
297
  definition: './components/ui-tree/ui-tree.html',
284
298
  },
285
299
  props: checkedProps,
300
+ propInputs: (name: string) => {
301
+ const incoming = hydrationInstance?.vnode.props
302
+ const kebab = name.replace(/[A-Z]/g, (letter) => '-' + letter.toLowerCase())
303
+ return incoming !== null && incoming !== undefined
304
+ ? (incoming[name] ?? incoming[kebab] ?? null)
305
+ : null
306
+ },
307
+ propNames: ['density', 'hoverExpandDelay', 'label', 'marquee', 'maxDepth', 'selection'],
308
+ propValidity: (name: string) =>
309
+ propValidityState({ contract: propValidityContract, values: { ...props } }, name),
286
310
  })
287
311
  </script>
288
312
 
@@ -291,7 +315,7 @@ useComponentHost(() => import('../components/ui-tree/ui-tree.js'), {
291
315
  data-component="ui-tree"
292
316
  role="tree"
293
317
  v-bind="nativeAttrs($attrs)"
294
- v-prop-validity="{ contract: propValidityContract, values: { ...checkedProps } }"
318
+ v-prop-validity="{ contract: propValidityContract, values: { ...props } }"
295
319
  :data-density="reflectedProp('density', 'density', checkedProps.density, undefined, false)"
296
320
  :data-hover-expand-delay="reflectedProp(
297
321
  'hoverExpandDelay',
@@ -140,8 +140,8 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
140
140
  }>, {
141
141
  label: string | null;
142
142
  marquee: boolean | null;
143
- disabled: boolean | null;
144
143
  selected: boolean | null;
144
+ disabled: boolean | null;
145
145
  expanded: boolean | null;
146
146
  container: boolean | null;
147
147
  lazy: boolean | null;