@threadlabs/looma 0.22.8 → 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 (414) 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-badge/ui-badge.html +10 -0
  5. package/components/ui-button/ui-button.js +1 -1
  6. package/components/ui-checkbox/ui-checkbox.js +5 -5
  7. package/components/ui-combobox/ui-combobox.js +61 -61
  8. package/components/ui-context-menu/ui-context-menu.js +6 -6
  9. package/components/ui-dialog/ui-dialog.js +9 -9
  10. package/components/ui-disclosure/ui-disclosure.js +6 -6
  11. package/components/ui-editable/ui-editable.js +6 -6
  12. package/components/ui-editor-insert-table-grid/ui-editor-insert-table-grid.js +4 -4
  13. package/components/ui-editor-mention-menu/ui-editor-mention-menu.js +8 -8
  14. package/components/ui-editor-slash-menu/ui-editor-slash-menu.js +6 -6
  15. package/components/ui-editor-table-context-menu/ui-editor-table-context-menu.js +5 -5
  16. package/components/ui-editor-table-overlay/ui-editor-table-overlay.js +4 -4
  17. package/components/ui-editor-table-toolbar/ui-editor-table-toolbar.js +5 -5
  18. package/components/ui-form-field/ui-form-field.js +4 -4
  19. package/components/ui-icon-button/ui-icon-button.js +2 -2
  20. package/components/ui-input/ui-input.js +1 -1
  21. package/components/ui-input-group/ui-input-group.js +1 -1
  22. package/components/ui-listbox/ui-listbox.js +12 -12
  23. package/components/ui-menu/ui-menu.js +7 -7
  24. package/components/ui-menu-item/ui-menu-item.js +7 -7
  25. package/components/ui-popover/ui-popover.js +4 -4
  26. package/components/ui-radio/ui-radio.js +5 -5
  27. package/components/ui-radio-group/ui-radio-group.js +6 -6
  28. package/components/ui-scroll-area/ui-scroll-area.js +1 -1
  29. package/components/ui-search-shell/ui-search-shell.js +6 -6
  30. package/components/ui-select/ui-select.js +1 -1
  31. package/components/ui-sidebar/ui-sidebar.js +12 -12
  32. package/components/ui-switch/ui-switch.js +5 -5
  33. package/components/ui-switcher/ui-switcher.js +1 -1
  34. package/components/ui-tabs/ui-tabs.js +5 -5
  35. package/components/ui-textarea/ui-textarea.js +1 -1
  36. package/components/ui-toast/ui-toast.js +3 -3
  37. package/components/ui-toast-region/ui-toast-region.js +1 -1
  38. package/components/ui-tooltip/ui-tooltip.js +9 -9
  39. package/components/ui-tree/ui-tree.js +4 -4
  40. package/components/ui-tree-item/ui-tree-item.js +11 -11
  41. package/dist/index.js +1 -1
  42. package/package.json +2 -2
  43. package/styles/ui-action-bar.css +1 -1
  44. package/styles/ui-affordance-scope.css +1 -1
  45. package/styles/ui-avatar-group.css +1 -1
  46. package/styles/ui-avatar.css +1 -1
  47. package/styles/ui-badge.css +10 -1
  48. package/styles/ui-breadcrumb-item.css +1 -1
  49. package/styles/ui-breadcrumbs.css +1 -1
  50. package/styles/ui-button.css +1 -1
  51. package/styles/ui-callout.css +1 -1
  52. package/styles/ui-card.css +1 -1
  53. package/styles/ui-checkbox.css +1 -1
  54. package/styles/ui-cluster.css +1 -1
  55. package/styles/ui-combobox.css +1 -1
  56. package/styles/ui-container.css +1 -1
  57. package/styles/ui-context-menu.css +1 -1
  58. package/styles/ui-cover.css +1 -1
  59. package/styles/ui-description-item.css +1 -1
  60. package/styles/ui-description-list.css +1 -1
  61. package/styles/ui-dialog.css +1 -1
  62. package/styles/ui-disclosure.css +1 -1
  63. package/styles/ui-editable.css +1 -1
  64. package/styles/ui-editor-insert-table-grid.css +1 -1
  65. package/styles/ui-editor-mention-menu-item.css +1 -1
  66. package/styles/ui-editor-mention-menu.css +1 -1
  67. package/styles/ui-editor-slash-menu-group.css +1 -1
  68. package/styles/ui-editor-slash-menu-item.css +1 -1
  69. package/styles/ui-editor-slash-menu.css +1 -1
  70. package/styles/ui-editor-table-context-menu.css +1 -1
  71. package/styles/ui-editor-table-overlay.css +1 -1
  72. package/styles/ui-editor-table-toolbar.css +1 -1
  73. package/styles/ui-editor-toolbar.css +1 -1
  74. package/styles/ui-floating-action-button.css +1 -1
  75. package/styles/ui-form-field.css +1 -1
  76. package/styles/ui-grid.css +1 -1
  77. package/styles/ui-icon-button.css +1 -1
  78. package/styles/ui-icon.css +1 -1
  79. package/styles/ui-input-group.css +1 -1
  80. package/styles/ui-input.css +1 -1
  81. package/styles/ui-list-item.css +1 -1
  82. package/styles/ui-list.css +1 -1
  83. package/styles/ui-listbox.css +1 -1
  84. package/styles/ui-menu-group.css +1 -1
  85. package/styles/ui-menu-item.css +1 -1
  86. package/styles/ui-menu.css +1 -1
  87. package/styles/ui-meter.css +1 -1
  88. package/styles/ui-nav-item.css +1 -1
  89. package/styles/ui-page-header.css +1 -1
  90. package/styles/ui-popover.css +1 -1
  91. package/styles/ui-radio-group.css +1 -1
  92. package/styles/ui-radio.css +1 -1
  93. package/styles/ui-reel.css +1 -1
  94. package/styles/ui-scroll-area.css +1 -1
  95. package/styles/ui-search-result-row.css +1 -1
  96. package/styles/ui-search-shell.css +1 -1
  97. package/styles/ui-section.css +1 -1
  98. package/styles/ui-select.css +1 -1
  99. package/styles/ui-separator.css +1 -1
  100. package/styles/ui-sidebar.css +1 -1
  101. package/styles/ui-spinner.css +1 -1
  102. package/styles/ui-stack.css +1 -1
  103. package/styles/ui-status-message.css +1 -1
  104. package/styles/ui-switch.css +1 -1
  105. package/styles/ui-switcher.css +1 -1
  106. package/styles/ui-table.css +1 -1
  107. package/styles/ui-tabs.css +1 -1
  108. package/styles/ui-text.css +1 -1
  109. package/styles/ui-textarea.css +1 -1
  110. package/styles/ui-toast-region.css +1 -1
  111. package/styles/ui-toast.css +1 -1
  112. package/styles/ui-tooltip.css +1 -1
  113. package/styles/ui-top-bar.css +1 -1
  114. package/styles/ui-tree-item.css +1 -1
  115. package/styles/ui-tree.css +1 -1
  116. package/vanilla/UiActionBar.d.ts +1 -1
  117. package/vanilla/UiActionBar.js +1 -1
  118. package/vanilla/UiAffordanceScope.d.ts +1 -1
  119. package/vanilla/UiAffordanceScope.js +1 -1
  120. package/vanilla/UiAvatar.d.ts +1 -1
  121. package/vanilla/UiAvatar.js +1 -1
  122. package/vanilla/UiAvatarGroup.d.ts +1 -1
  123. package/vanilla/UiAvatarGroup.js +1 -1
  124. package/vanilla/UiBadge.d.ts +2 -1
  125. package/vanilla/UiBadge.js +5 -3
  126. package/vanilla/UiBreadcrumbItem.d.ts +1 -1
  127. package/vanilla/UiBreadcrumbItem.js +1 -1
  128. package/vanilla/UiBreadcrumbs.d.ts +1 -1
  129. package/vanilla/UiBreadcrumbs.js +1 -1
  130. package/vanilla/UiButton.d.ts +1 -1
  131. package/vanilla/UiButton.js +1 -1
  132. package/vanilla/UiCallout.d.ts +1 -1
  133. package/vanilla/UiCallout.js +1 -1
  134. package/vanilla/UiCard.d.ts +1 -1
  135. package/vanilla/UiCard.js +1 -1
  136. package/vanilla/UiCheckbox.d.ts +1 -1
  137. package/vanilla/UiCheckbox.js +1 -1
  138. package/vanilla/UiCluster.d.ts +1 -1
  139. package/vanilla/UiCluster.js +1 -1
  140. package/vanilla/UiCombobox.d.ts +1 -1
  141. package/vanilla/UiCombobox.js +1 -1
  142. package/vanilla/UiContainer.d.ts +1 -1
  143. package/vanilla/UiContainer.js +1 -1
  144. package/vanilla/UiContextMenu.d.ts +1 -1
  145. package/vanilla/UiContextMenu.js +1 -1
  146. package/vanilla/UiCover.d.ts +1 -1
  147. package/vanilla/UiCover.js +1 -1
  148. package/vanilla/UiDescriptionItem.d.ts +1 -1
  149. package/vanilla/UiDescriptionItem.js +1 -1
  150. package/vanilla/UiDescriptionList.d.ts +1 -1
  151. package/vanilla/UiDescriptionList.js +1 -1
  152. package/vanilla/UiDialog.d.ts +1 -1
  153. package/vanilla/UiDialog.js +1 -1
  154. package/vanilla/UiDisclosure.d.ts +1 -1
  155. package/vanilla/UiDisclosure.js +1 -1
  156. package/vanilla/UiEditable.d.ts +1 -1
  157. package/vanilla/UiEditable.js +1 -1
  158. package/vanilla/UiEditorInsertTableGrid.d.ts +1 -1
  159. package/vanilla/UiEditorInsertTableGrid.js +1 -1
  160. package/vanilla/UiEditorMentionMenu.d.ts +1 -1
  161. package/vanilla/UiEditorMentionMenu.js +1 -1
  162. package/vanilla/UiEditorMentionMenuItem.d.ts +1 -1
  163. package/vanilla/UiEditorMentionMenuItem.js +1 -1
  164. package/vanilla/UiEditorSlashMenu.d.ts +1 -1
  165. package/vanilla/UiEditorSlashMenu.js +1 -1
  166. package/vanilla/UiEditorSlashMenuGroup.d.ts +1 -1
  167. package/vanilla/UiEditorSlashMenuGroup.js +1 -1
  168. package/vanilla/UiEditorSlashMenuItem.d.ts +1 -1
  169. package/vanilla/UiEditorSlashMenuItem.js +1 -1
  170. package/vanilla/UiEditorTableContextMenu.d.ts +1 -1
  171. package/vanilla/UiEditorTableContextMenu.js +1 -1
  172. package/vanilla/UiEditorTableOverlay.d.ts +1 -1
  173. package/vanilla/UiEditorTableOverlay.js +1 -1
  174. package/vanilla/UiEditorTableToolbar.d.ts +1 -1
  175. package/vanilla/UiEditorTableToolbar.js +1 -1
  176. package/vanilla/UiEditorToolbar.d.ts +1 -1
  177. package/vanilla/UiEditorToolbar.js +1 -1
  178. package/vanilla/UiFloatingActionButton.d.ts +1 -1
  179. package/vanilla/UiFloatingActionButton.js +1 -1
  180. package/vanilla/UiFormField.d.ts +1 -1
  181. package/vanilla/UiFormField.js +1 -1
  182. package/vanilla/UiGrid.d.ts +1 -1
  183. package/vanilla/UiGrid.js +1 -1
  184. package/vanilla/UiIcon.d.ts +1 -1
  185. package/vanilla/UiIcon.js +1 -1
  186. package/vanilla/UiIconButton.d.ts +1 -1
  187. package/vanilla/UiIconButton.js +1 -1
  188. package/vanilla/UiInput.d.ts +1 -1
  189. package/vanilla/UiInput.js +1 -1
  190. package/vanilla/UiInputGroup.d.ts +1 -1
  191. package/vanilla/UiInputGroup.js +1 -1
  192. package/vanilla/UiList.d.ts +1 -1
  193. package/vanilla/UiList.js +1 -1
  194. package/vanilla/UiListItem.d.ts +1 -1
  195. package/vanilla/UiListItem.js +1 -1
  196. package/vanilla/UiListbox.d.ts +1 -1
  197. package/vanilla/UiListbox.js +1 -1
  198. package/vanilla/UiMenu.d.ts +1 -1
  199. package/vanilla/UiMenu.js +1 -1
  200. package/vanilla/UiMenuGroup.d.ts +1 -1
  201. package/vanilla/UiMenuGroup.js +1 -1
  202. package/vanilla/UiMenuItem.d.ts +1 -1
  203. package/vanilla/UiMenuItem.js +1 -1
  204. package/vanilla/UiMeter.d.ts +1 -1
  205. package/vanilla/UiMeter.js +1 -1
  206. package/vanilla/UiNavItem.d.ts +1 -1
  207. package/vanilla/UiNavItem.js +1 -1
  208. package/vanilla/UiPageHeader.d.ts +1 -1
  209. package/vanilla/UiPageHeader.js +1 -1
  210. package/vanilla/UiPopover.d.ts +1 -1
  211. package/vanilla/UiPopover.js +1 -1
  212. package/vanilla/UiRadio.d.ts +1 -1
  213. package/vanilla/UiRadio.js +1 -1
  214. package/vanilla/UiRadioGroup.d.ts +1 -1
  215. package/vanilla/UiRadioGroup.js +1 -1
  216. package/vanilla/UiReel.d.ts +1 -1
  217. package/vanilla/UiReel.js +1 -1
  218. package/vanilla/UiScrollArea.d.ts +1 -1
  219. package/vanilla/UiScrollArea.js +1 -1
  220. package/vanilla/UiSearchResultRow.d.ts +1 -1
  221. package/vanilla/UiSearchResultRow.js +1 -1
  222. package/vanilla/UiSearchShell.d.ts +1 -1
  223. package/vanilla/UiSearchShell.js +1 -1
  224. package/vanilla/UiSection.d.ts +1 -1
  225. package/vanilla/UiSection.js +1 -1
  226. package/vanilla/UiSelect.d.ts +1 -1
  227. package/vanilla/UiSelect.js +1 -1
  228. package/vanilla/UiSeparator.d.ts +1 -1
  229. package/vanilla/UiSeparator.js +1 -1
  230. package/vanilla/UiSidebar.d.ts +1 -1
  231. package/vanilla/UiSidebar.js +1 -1
  232. package/vanilla/UiSpinner.d.ts +1 -1
  233. package/vanilla/UiSpinner.js +1 -1
  234. package/vanilla/UiStack.d.ts +1 -1
  235. package/vanilla/UiStack.js +1 -1
  236. package/vanilla/UiStatusMessage.d.ts +1 -1
  237. package/vanilla/UiStatusMessage.js +1 -1
  238. package/vanilla/UiSwitch.d.ts +1 -1
  239. package/vanilla/UiSwitch.js +1 -1
  240. package/vanilla/UiSwitcher.d.ts +1 -1
  241. package/vanilla/UiSwitcher.js +1 -1
  242. package/vanilla/UiTable.d.ts +1 -1
  243. package/vanilla/UiTable.js +1 -1
  244. package/vanilla/UiTabs.d.ts +1 -1
  245. package/vanilla/UiTabs.js +1 -1
  246. package/vanilla/UiText.d.ts +1 -1
  247. package/vanilla/UiText.js +1 -1
  248. package/vanilla/UiTextarea.d.ts +1 -1
  249. package/vanilla/UiTextarea.js +1 -1
  250. package/vanilla/UiToast.d.ts +1 -1
  251. package/vanilla/UiToast.js +1 -1
  252. package/vanilla/UiToastRegion.d.ts +1 -1
  253. package/vanilla/UiToastRegion.js +1 -1
  254. package/vanilla/UiTooltip.d.ts +1 -1
  255. package/vanilla/UiTooltip.js +1 -1
  256. package/vanilla/UiTopBar.d.ts +1 -1
  257. package/vanilla/UiTopBar.js +1 -1
  258. package/vanilla/UiTree.d.ts +1 -1
  259. package/vanilla/UiTree.js +1 -1
  260. package/vanilla/UiTreeItem.d.ts +1 -1
  261. package/vanilla/UiTreeItem.js +1 -1
  262. package/vue/UiActionBar.vue +1 -1
  263. package/vue/UiAffordanceScope.vue +17 -4
  264. package/vue/UiAvatar.vue +38 -5
  265. package/vue/UiAvatarGroup.vue +32 -5
  266. package/vue/UiBadge.d.ts +9 -0
  267. package/vue/UiBadge.vue +41 -3
  268. package/vue/UiBreadcrumbItem.vue +5 -3
  269. package/vue/UiBreadcrumbs.vue +5 -3
  270. package/vue/UiButton.vue +72 -7
  271. package/vue/UiCallout.vue +5 -3
  272. package/vue/UiCard.vue +16 -6
  273. package/vue/UiCheckbox.vue +41 -4
  274. package/vue/UiCluster.vue +8 -3
  275. package/vue/UiCombobox.vue +98 -6
  276. package/vue/UiContainer.vue +6 -3
  277. package/vue/UiContextMenu.vue +17 -4
  278. package/vue/UiCover.vue +5 -3
  279. package/vue/UiDescriptionItem.vue +5 -3
  280. package/vue/UiDescriptionList.vue +11 -3
  281. package/vue/UiDialog.vue +38 -5
  282. package/vue/UiDisclosure.vue +28 -4
  283. package/vue/UiEditable.vue +50 -4
  284. package/vue/UiEditorInsertTableGrid.vue +24 -4
  285. package/vue/UiEditorMentionMenu.vue +41 -4
  286. package/vue/UiEditorMentionMenuItem.vue +7 -3
  287. package/vue/UiEditorSlashMenu.vue +28 -4
  288. package/vue/UiEditorSlashMenuGroup.vue +5 -3
  289. package/vue/UiEditorSlashMenuItem.vue +15 -3
  290. package/vue/UiEditorTableContextMenu.vue +28 -4
  291. package/vue/UiEditorTableOverlay.vue +17 -4
  292. package/vue/UiEditorTableToolbar.vue +28 -4
  293. package/vue/UiEditorToolbar.vue +16 -4
  294. package/vue/UiFloatingActionButton.vue +7 -3
  295. package/vue/UiFormField.vue +18 -4
  296. package/vue/UiGrid.vue +7 -3
  297. package/vue/UiIcon.vue +5 -3
  298. package/vue/UiIconButton.vue +47 -5
  299. package/vue/UiInput.vue +90 -37
  300. package/vue/UiInputGroup.vue +16 -4
  301. package/vue/UiList.vue +20 -7
  302. package/vue/UiListItem.vue +6 -3
  303. package/vue/UiListbox.vue +38 -5
  304. package/vue/UiMenu.vue +28 -4
  305. package/vue/UiMenuGroup.vue +5 -3
  306. package/vue/UiMenuItem.vue +27 -5
  307. package/vue/UiMeter.vue +19 -3
  308. package/vue/UiNavItem.vue +28 -6
  309. package/vue/UiPageHeader.vue +5 -3
  310. package/vue/UiPopover.vue +18 -5
  311. package/vue/UiRadio.vue +28 -4
  312. package/vue/UiRadioGroup.vue +30 -4
  313. package/vue/UiReel.vue +7 -3
  314. package/vue/UiScrollArea.vue +16 -4
  315. package/vue/UiSearchResultRow.d.ts +1 -1
  316. package/vue/UiSearchResultRow.vue +6 -3
  317. package/vue/UiSearchShell.vue +24 -4
  318. package/vue/UiSection.vue +7 -3
  319. package/vue/UiSelect.vue +33 -5
  320. package/vue/UiSeparator.vue +5 -3
  321. package/vue/UiSidebar.vue +44 -4
  322. package/vue/UiSpinner.vue +6 -3
  323. package/vue/UiStack.vue +7 -3
  324. package/vue/UiStatusMessage.vue +7 -3
  325. package/vue/UiSwitch.vue +28 -4
  326. package/vue/UiSwitcher.vue +30 -5
  327. package/vue/UiTable.vue +17 -4
  328. package/vue/UiTabs.vue +28 -4
  329. package/vue/UiText.vue +29 -15
  330. package/vue/UiTextarea.vue +39 -5
  331. package/vue/UiToast.vue +17 -4
  332. package/vue/UiToastRegion.vue +17 -5
  333. package/vue/UiTooltip.vue +30 -5
  334. package/vue/UiTopBar.vue +1 -1
  335. package/vue/UiTree.vue +28 -4
  336. package/vue/UiTreeItem.d.ts +1 -1
  337. package/vue/UiTreeItem.vue +59 -4
  338. package/vue/chunks/UiActionBar.js +1 -1
  339. package/vue/chunks/UiAffordanceScope.js +19 -5
  340. package/vue/chunks/UiAvatar.js +40 -11
  341. package/vue/chunks/UiAvatarGroup.js +31 -8
  342. package/vue/chunks/UiBadge.js +35 -6
  343. package/vue/chunks/UiBreadcrumbItem.js +5 -4
  344. package/vue/chunks/UiBreadcrumbs.js +5 -4
  345. package/vue/chunks/UiButton.js +60 -19
  346. package/vue/chunks/UiCallout.js +5 -4
  347. package/vue/chunks/UiCard.js +16 -10
  348. package/vue/chunks/UiCheckbox.js +40 -11
  349. package/vue/chunks/UiCluster.js +13 -7
  350. package/vue/chunks/UiCombobox.js +85 -26
  351. package/vue/chunks/UiContainer.js +9 -5
  352. package/vue/chunks/UiContextMenu.js +19 -5
  353. package/vue/chunks/UiCover.js +5 -4
  354. package/vue/chunks/UiDescriptionItem.js +5 -4
  355. package/vue/chunks/UiDescriptionList.js +11 -6
  356. package/vue/chunks/UiDialog.js +40 -11
  357. package/vue/chunks/UiDisclosure.js +34 -9
  358. package/vue/chunks/UiEditable.js +49 -14
  359. package/vue/chunks/UiEditorInsertTableGrid.js +28 -7
  360. package/vue/chunks/UiEditorMentionMenu.js +40 -11
  361. package/vue/chunks/UiEditorMentionMenuItem.js +11 -6
  362. package/vue/chunks/UiEditorSlashMenu.js +34 -9
  363. package/vue/chunks/UiEditorSlashMenuGroup.js +5 -4
  364. package/vue/chunks/UiEditorSlashMenuItem.js +15 -8
  365. package/vue/chunks/UiEditorTableContextMenu.js +34 -9
  366. package/vue/chunks/UiEditorTableOverlay.js +19 -5
  367. package/vue/chunks/UiEditorTableToolbar.js +34 -9
  368. package/vue/chunks/UiEditorToolbar.js +15 -4
  369. package/vue/chunks/UiFloatingActionButton.js +11 -6
  370. package/vue/chunks/UiFormField.js +26 -7
  371. package/vue/chunks/UiGrid.js +11 -6
  372. package/vue/chunks/UiIcon.js +5 -4
  373. package/vue/chunks/UiIconButton.js +41 -12
  374. package/vue/chunks/UiInput.js +53 -14
  375. package/vue/chunks/UiInputGroup.js +16 -5
  376. package/vue/chunks/UiList.js +14 -8
  377. package/vue/chunks/UiListItem.js +9 -5
  378. package/vue/chunks/UiListbox.js +40 -11
  379. package/vue/chunks/UiMenu.js +34 -9
  380. package/vue/chunks/UiMenuGroup.js +5 -4
  381. package/vue/chunks/UiMenuItem.js +32 -9
  382. package/vue/chunks/UiMeter.js +19 -10
  383. package/vue/chunks/UiNavItem.js +16 -9
  384. package/vue/chunks/UiPageHeader.js +5 -4
  385. package/vue/chunks/UiPopover.js +25 -6
  386. package/vue/chunks/UiRadio.js +34 -9
  387. package/vue/chunks/UiRadioGroup.js +37 -10
  388. package/vue/chunks/UiReel.js +11 -6
  389. package/vue/chunks/UiScrollArea.js +15 -4
  390. package/vue/chunks/UiSearchResultRow.js +9 -5
  391. package/vue/chunks/UiSearchShell.js +28 -7
  392. package/vue/chunks/UiSection.js +11 -6
  393. package/vue/chunks/UiSelect.js +33 -10
  394. package/vue/chunks/UiSeparator.js +5 -4
  395. package/vue/chunks/UiSidebar.js +43 -12
  396. package/vue/chunks/UiSpinner.js +9 -5
  397. package/vue/chunks/UiStack.js +11 -6
  398. package/vue/chunks/UiStatusMessage.js +11 -6
  399. package/vue/chunks/UiSwitch.js +34 -9
  400. package/vue/chunks/UiSwitcher.js +28 -7
  401. package/vue/chunks/UiTable.js +20 -6
  402. package/vue/chunks/UiTabs.js +34 -9
  403. package/vue/chunks/UiText.js +29 -20
  404. package/vue/chunks/UiTextarea.js +42 -13
  405. package/vue/chunks/UiToast.js +19 -5
  406. package/vue/chunks/UiToastRegion.js +19 -5
  407. package/vue/chunks/UiTooltip.js +37 -10
  408. package/vue/chunks/UiTopBar.js +1 -1
  409. package/vue/chunks/UiTree.js +35 -10
  410. package/vue/chunks/UiTreeItem.js +58 -17
  411. package/vue/chunks/host.js +22 -4
  412. package/vue/chunks/props.js +20 -7
  413. package/vue/components.css +1212 -1204
  414. package/vue/host.ts +50 -6
package/vue/UiTable.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
 
@@ -27,7 +27,7 @@ const propValidityContract = {
27
27
  default: false,
28
28
  },
29
29
  },
30
- }
30
+ } as const
31
31
  const props = defineProps({
32
32
  density: {
33
33
  type: null as unknown as PropType<'comfortable' | 'compact' | null>,
@@ -35,18 +35,21 @@ const props = defineProps({
35
35
  },
36
36
  stickyHeader: { type: null as unknown as PropType<boolean | null>, default: false },
37
37
  })
38
+ const acceptedProps: Record<string, unknown> = { density: 'comfortable', stickyHeader: false }
38
39
  const checkedProps = computed(() => ({
39
40
  density: checkedProp<'comfortable' | 'compact'>(
40
41
  props['density'],
41
42
  { kind: 'terminal', name: 'keyword' },
42
43
  false,
43
44
  'density',
45
+ acceptedProps,
44
46
  ) as 'comfortable' | 'compact',
45
47
  stickyHeader: checkedProp<boolean>(
46
48
  props['stickyHeader'],
47
49
  { kind: 'terminal', name: 'boolean' },
48
50
  false,
49
51
  'stickyHeader',
52
+ acceptedProps,
50
53
  ) as boolean,
51
54
  }))
52
55
  void checkedProps.value
@@ -122,6 +125,16 @@ useComponentHost(() => import('../components/ui-table/ui-table.js'), {
122
125
  definition: './components/ui-table/ui-table.html',
123
126
  },
124
127
  props: checkedProps,
128
+ propInputs: (name: string) => {
129
+ const incoming = hydrationInstance?.vnode.props
130
+ const kebab = name.replace(/[A-Z]/g, (letter) => '-' + letter.toLowerCase())
131
+ return incoming !== null && incoming !== undefined
132
+ ? (incoming[name] ?? incoming[kebab] ?? null)
133
+ : null
134
+ },
135
+ propNames: ['density', 'stickyHeader'],
136
+ propValidity: (name: string) =>
137
+ propValidityState({ contract: propValidityContract, values: { ...props } }, name),
125
138
  })
126
139
  </script>
127
140
 
@@ -129,7 +142,7 @@ useComponentHost(() => import('../components/ui-table/ui-table.js'), {
129
142
  <div
130
143
  data-component="ui-table"
131
144
  v-bind="nativeAttrs($attrs)"
132
- v-prop-validity="{ contract: propValidityContract, values: { ...checkedProps } }"
145
+ v-prop-validity="{ contract: propValidityContract, values: { ...props } }"
133
146
  :data-density="reflectedProp('density', 'density', checkedProps.density, undefined, false)"
134
147
  :data-sticky-header="reflectedProp('stickyHeader', 'sticky-header', checkedProps.stickyHeader, undefined, false)"
135
148
  :data-ui-table-state="hostState || undefined"
package/vue/UiTabs.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 {
4
4
  computed,
@@ -12,7 +12,7 @@ import {
12
12
  } from 'vue'
13
13
  import type { PropType, VNode } from 'vue'
14
14
  import { createDispatch, useComponentHost } from './host'
15
- import { checkedProp, vPropValidity } from './props'
15
+ import { checkedProp, propValidityState, vPropValidity } from './props'
16
16
 
17
17
  defineOptions({ inheritAttrs: false })
18
18
 
@@ -69,7 +69,7 @@ const propValidityContract = {
69
69
  default: '',
70
70
  },
71
71
  },
72
- }
72
+ } as const
73
73
  const props = defineProps({
74
74
  activation: { type: null as unknown as PropType<'auto' | 'manual' | null>, default: 'auto' },
75
75
  density: {
@@ -84,42 +84,56 @@ const props = defineProps({
84
84
  stretch: { type: null as unknown as PropType<boolean | null>, default: false },
85
85
  value: { type: null as unknown as PropType<string | null>, default: '' },
86
86
  })
87
+ const acceptedProps: Record<string, unknown> = {
88
+ activation: 'auto',
89
+ density: 'comfortable',
90
+ label: 'Tabs',
91
+ orientation: 'horizontal',
92
+ stretch: false,
93
+ value: '',
94
+ }
87
95
  const checkedProps = computed(() => ({
88
96
  activation: checkedProp<'auto' | 'manual'>(
89
97
  props['activation'],
90
98
  { kind: 'terminal', name: 'keyword' },
91
99
  false,
92
100
  'activation',
101
+ acceptedProps,
93
102
  ) as 'auto' | 'manual',
94
103
  density: checkedProp<'comfortable' | 'compact'>(
95
104
  props['density'],
96
105
  { kind: 'terminal', name: 'keyword' },
97
106
  false,
98
107
  'density',
108
+ acceptedProps,
99
109
  ) as 'comfortable' | 'compact',
100
110
  label: checkedProp<string>(
101
111
  props['label'],
102
112
  { kind: 'terminal', name: 'string' },
103
113
  false,
104
114
  'label',
115
+ acceptedProps,
105
116
  ) as string,
106
117
  orientation: checkedProp<'horizontal' | 'vertical'>(
107
118
  props['orientation'],
108
119
  { kind: 'terminal', name: 'keyword' },
109
120
  false,
110
121
  'orientation',
122
+ acceptedProps,
111
123
  ) as 'horizontal' | 'vertical',
112
124
  stretch: checkedProp<boolean>(
113
125
  props['stretch'],
114
126
  { kind: 'terminal', name: 'boolean' },
115
127
  false,
116
128
  'stretch',
129
+ acceptedProps,
117
130
  ) as boolean,
118
131
  value: checkedProp<string>(
119
132
  props['value'],
120
133
  { kind: 'terminal', name: 'string' },
121
134
  false,
122
135
  'value',
136
+ acceptedProps,
123
137
  ) as string,
124
138
  }))
125
139
  void checkedProps.value
@@ -257,6 +271,16 @@ useComponentHost(() => import('../components/ui-tabs/ui-tabs.js'), {
257
271
  definition: './components/ui-tabs/ui-tabs.html',
258
272
  },
259
273
  props: checkedProps,
274
+ propInputs: (name: string) => {
275
+ const incoming = hydrationInstance?.vnode.props
276
+ const kebab = name.replace(/[A-Z]/g, (letter) => '-' + letter.toLowerCase())
277
+ return incoming !== null && incoming !== undefined
278
+ ? (incoming[name] ?? incoming[kebab] ?? null)
279
+ : null
280
+ },
281
+ propNames: ['activation', 'density', 'label', 'orientation', 'stretch', 'value'],
282
+ propValidity: (name: string) =>
283
+ propValidityState({ contract: propValidityContract, values: { ...props } }, name),
260
284
  refs: { list: listElement, panels: panelsElement },
261
285
  state: { internalValue, tabs },
262
286
  })
@@ -299,7 +323,7 @@ function uniqueKeys<T>(
299
323
  <div
300
324
  data-component="ui-tabs"
301
325
  v-bind="nativeAttrs($attrs)"
302
- v-prop-validity="{ contract: propValidityContract, values: { ...checkedProps } }"
326
+ v-prop-validity="{ contract: propValidityContract, values: { ...props } }"
303
327
  :data-activation="reflectedProp('activation', 'activation', checkedProps.activation, undefined, false)"
304
328
  :data-density="reflectedProp('density', 'density', checkedProps.density, undefined, false)"
305
329
  :data-label="reflectedProp('label', 'label', checkedProps.label, undefined, false)"
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"