@threadlabs/looma 0.30.1 → 0.30.3

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 (505) hide show
  1. package/EXPRESSIVE-MARKDOWN.md +5 -0
  2. package/components/ui-combobox/ui-combobox.html +10 -10
  3. package/components/ui-editor-table-overlay/ui-editor-table-overlay.html +2 -4
  4. package/components/ui-image/ui-image.html +2 -2
  5. package/components/ui-listbox/ui-listbox.html +1 -1
  6. package/components/ui-tree-item/ui-tree-item.html +4 -2
  7. package/dist/index.js +5 -4
  8. package/package.json +4 -4
  9. package/styles/ui-action-bar.css +1 -1
  10. package/styles/ui-affordance-scope.css +1 -1
  11. package/styles/ui-avatar-group.css +1 -1
  12. package/styles/ui-avatar.css +1 -1
  13. package/styles/ui-badge.css +1 -1
  14. package/styles/ui-breadcrumb-item.css +1 -1
  15. package/styles/ui-breadcrumbs.css +1 -1
  16. package/styles/ui-button.css +1 -1
  17. package/styles/ui-callout.css +1 -1
  18. package/styles/ui-card.css +1 -1
  19. package/styles/ui-checkbox.css +1 -1
  20. package/styles/ui-cluster.css +1 -1
  21. package/styles/ui-combobox.css +1 -1
  22. package/styles/ui-container.css +1 -1
  23. package/styles/ui-context-menu.css +1 -1
  24. package/styles/ui-cover.css +1 -1
  25. package/styles/ui-description-item.css +1 -1
  26. package/styles/ui-description-list.css +1 -1
  27. package/styles/ui-dialog.css +1 -1
  28. package/styles/ui-disclosure.css +1 -1
  29. package/styles/ui-editable.css +1 -1
  30. package/styles/ui-editor-block-actions.css +1 -1
  31. package/styles/ui-editor-chip-editor.css +1 -1
  32. package/styles/ui-editor-code-language.css +1 -1
  33. package/styles/ui-editor-image-toolbar.css +1 -1
  34. package/styles/ui-editor-insert-table-grid.css +1 -1
  35. package/styles/ui-editor-link-card.css +1 -1
  36. package/styles/ui-editor-link-form.css +1 -1
  37. package/styles/ui-editor-mention-menu-item.css +1 -1
  38. package/styles/ui-editor-mention-menu.css +1 -1
  39. package/styles/ui-editor-slash-menu-group.css +1 -1
  40. package/styles/ui-editor-slash-menu-item.css +1 -1
  41. package/styles/ui-editor-slash-menu.css +1 -1
  42. package/styles/ui-editor-surface.css +1 -1
  43. package/styles/ui-editor-table-context-menu.css +1 -1
  44. package/styles/ui-editor-table-overlay.css +1 -1
  45. package/styles/ui-editor-table-toolbar.css +1 -1
  46. package/styles/ui-editor-toolbar.css +1 -1
  47. package/styles/ui-floating-action-button.css +1 -1
  48. package/styles/ui-form-field.css +1 -1
  49. package/styles/ui-grid.css +1 -1
  50. package/styles/ui-icon-button.css +1 -1
  51. package/styles/ui-icon.css +1 -1
  52. package/styles/ui-image.css +1 -1
  53. package/styles/ui-input-group.css +1 -1
  54. package/styles/ui-input.css +1 -1
  55. package/styles/ui-list-item.css +1 -1
  56. package/styles/ui-list.css +1 -1
  57. package/styles/ui-listbox.css +1 -1
  58. package/styles/ui-menu-group.css +1 -1
  59. package/styles/ui-menu-item.css +1 -1
  60. package/styles/ui-menu.css +1 -1
  61. package/styles/ui-meter.css +1 -1
  62. package/styles/ui-nav-item.css +1 -1
  63. package/styles/ui-page-header.css +1 -1
  64. package/styles/ui-popover.css +1 -1
  65. package/styles/ui-radio-group.css +1 -1
  66. package/styles/ui-radio.css +1 -1
  67. package/styles/ui-reel.css +1 -1
  68. package/styles/ui-scroll-area.css +1 -1
  69. package/styles/ui-search-result-row.css +1 -1
  70. package/styles/ui-search-shell.css +1 -1
  71. package/styles/ui-section.css +1 -1
  72. package/styles/ui-select.css +1 -1
  73. package/styles/ui-separator.css +1 -1
  74. package/styles/ui-sidebar.css +1 -1
  75. package/styles/ui-spinner.css +1 -1
  76. package/styles/ui-stack.css +1 -1
  77. package/styles/ui-status-message.css +1 -1
  78. package/styles/ui-swatch.css +1 -1
  79. package/styles/ui-switch.css +1 -1
  80. package/styles/ui-switcher.css +1 -1
  81. package/styles/ui-table.css +1 -1
  82. package/styles/ui-tabs.css +1 -1
  83. package/styles/ui-text.css +1 -1
  84. package/styles/ui-textarea.css +1 -1
  85. package/styles/ui-toast-region.css +1 -1
  86. package/styles/ui-toast.css +1 -1
  87. package/styles/ui-tooltip.css +1 -1
  88. package/styles/ui-top-bar.css +1 -1
  89. package/styles/ui-tree-item.css +1 -1
  90. package/styles/ui-tree.css +1 -1
  91. package/vanilla/UiActionBar.d.ts +1 -1
  92. package/vanilla/UiActionBar.js +1 -1
  93. package/vanilla/UiAffordanceScope.d.ts +1 -1
  94. package/vanilla/UiAffordanceScope.js +4 -4
  95. package/vanilla/UiAvatar.d.ts +1 -1
  96. package/vanilla/UiAvatar.js +4 -4
  97. package/vanilla/UiAvatarGroup.d.ts +1 -1
  98. package/vanilla/UiAvatarGroup.js +4 -4
  99. package/vanilla/UiBadge.d.ts +1 -1
  100. package/vanilla/UiBadge.js +4 -4
  101. package/vanilla/UiBreadcrumbItem.d.ts +1 -1
  102. package/vanilla/UiBreadcrumbItem.js +3 -3
  103. package/vanilla/UiBreadcrumbs.d.ts +1 -1
  104. package/vanilla/UiBreadcrumbs.js +3 -3
  105. package/vanilla/UiButton.d.ts +1 -1
  106. package/vanilla/UiButton.js +6 -6
  107. package/vanilla/UiCallout.d.ts +1 -1
  108. package/vanilla/UiCallout.js +4 -4
  109. package/vanilla/UiCard.d.ts +1 -1
  110. package/vanilla/UiCard.js +6 -6
  111. package/vanilla/UiCheckbox.d.ts +1 -1
  112. package/vanilla/UiCheckbox.js +4 -4
  113. package/vanilla/UiCluster.d.ts +1 -1
  114. package/vanilla/UiCluster.js +4 -4
  115. package/vanilla/UiCombobox.d.ts +12 -12
  116. package/vanilla/UiCombobox.js +12 -10
  117. package/vanilla/UiContainer.d.ts +1 -1
  118. package/vanilla/UiContainer.js +4 -4
  119. package/vanilla/UiContextMenu.d.ts +2 -2
  120. package/vanilla/UiContextMenu.js +3 -3
  121. package/vanilla/UiCover.d.ts +1 -1
  122. package/vanilla/UiCover.js +4 -4
  123. package/vanilla/UiDescriptionItem.d.ts +1 -1
  124. package/vanilla/UiDescriptionItem.js +3 -3
  125. package/vanilla/UiDescriptionList.d.ts +1 -1
  126. package/vanilla/UiDescriptionList.js +4 -4
  127. package/vanilla/UiDialog.d.ts +1 -1
  128. package/vanilla/UiDialog.js +4 -4
  129. package/vanilla/UiDisclosure.d.ts +1 -1
  130. package/vanilla/UiDisclosure.js +4 -4
  131. package/vanilla/UiEditable.d.ts +1 -1
  132. package/vanilla/UiEditable.js +3 -3
  133. package/vanilla/UiEditorBlockActions.d.ts +1 -1
  134. package/vanilla/UiEditorBlockActions.js +4 -4
  135. package/vanilla/UiEditorChipEditor.d.ts +1 -1
  136. package/vanilla/UiEditorChipEditor.js +4 -4
  137. package/vanilla/UiEditorCodeLanguage.d.ts +1 -1
  138. package/vanilla/UiEditorCodeLanguage.js +3 -3
  139. package/vanilla/UiEditorImageToolbar.d.ts +1 -1
  140. package/vanilla/UiEditorImageToolbar.js +4 -4
  141. package/vanilla/UiEditorInsertTableGrid.d.ts +1 -1
  142. package/vanilla/UiEditorInsertTableGrid.js +3 -3
  143. package/vanilla/UiEditorLinkCard.d.ts +1 -1
  144. package/vanilla/UiEditorLinkCard.js +8 -6
  145. package/vanilla/UiEditorLinkForm.d.ts +2 -2
  146. package/vanilla/UiEditorLinkForm.js +9 -7
  147. package/vanilla/UiEditorMentionMenu.d.ts +3 -3
  148. package/vanilla/UiEditorMentionMenu.js +3 -3
  149. package/vanilla/UiEditorMentionMenuItem.d.ts +1 -1
  150. package/vanilla/UiEditorMentionMenuItem.js +3 -3
  151. package/vanilla/UiEditorSlashMenu.d.ts +3 -3
  152. package/vanilla/UiEditorSlashMenu.js +3 -3
  153. package/vanilla/UiEditorSlashMenuGroup.d.ts +1 -1
  154. package/vanilla/UiEditorSlashMenuGroup.js +3 -3
  155. package/vanilla/UiEditorSlashMenuItem.d.ts +1 -1
  156. package/vanilla/UiEditorSlashMenuItem.js +3 -3
  157. package/vanilla/UiEditorSurface.d.ts +1 -1
  158. package/vanilla/UiEditorSurface.js +4 -4
  159. package/vanilla/UiEditorTableContextMenu.d.ts +1 -1
  160. package/vanilla/UiEditorTableContextMenu.js +4 -4
  161. package/vanilla/UiEditorTableOverlay.d.ts +2 -2
  162. package/vanilla/UiEditorTableOverlay.js +4 -4
  163. package/vanilla/UiEditorTableToolbar.d.ts +1 -1
  164. package/vanilla/UiEditorTableToolbar.js +4 -4
  165. package/vanilla/UiEditorToolbar.d.ts +1 -1
  166. package/vanilla/UiEditorToolbar.js +3 -3
  167. package/vanilla/UiFloatingActionButton.d.ts +1 -1
  168. package/vanilla/UiFloatingActionButton.js +3 -3
  169. package/vanilla/UiFormField.d.ts +1 -1
  170. package/vanilla/UiFormField.js +3 -3
  171. package/vanilla/UiGrid.d.ts +1 -1
  172. package/vanilla/UiGrid.js +4 -4
  173. package/vanilla/UiIcon.d.ts +1 -1
  174. package/vanilla/UiIcon.js +9 -7
  175. package/vanilla/UiIconButton.d.ts +1 -1
  176. package/vanilla/UiIconButton.js +4 -4
  177. package/vanilla/UiImage.d.ts +1 -1
  178. package/vanilla/UiImage.js +4 -4
  179. package/vanilla/UiInput.d.ts +1 -1
  180. package/vanilla/UiInput.js +4 -4
  181. package/vanilla/UiInputGroup.d.ts +1 -1
  182. package/vanilla/UiInputGroup.js +4 -4
  183. package/vanilla/UiList.d.ts +1 -1
  184. package/vanilla/UiList.js +6 -6
  185. package/vanilla/UiListItem.d.ts +1 -1
  186. package/vanilla/UiListItem.js +4 -4
  187. package/vanilla/UiListbox.d.ts +2 -2
  188. package/vanilla/UiListbox.js +3 -3
  189. package/vanilla/UiMenu.d.ts +2 -2
  190. package/vanilla/UiMenu.js +4 -4
  191. package/vanilla/UiMenuGroup.d.ts +1 -1
  192. package/vanilla/UiMenuGroup.js +3 -3
  193. package/vanilla/UiMenuItem.d.ts +1 -1
  194. package/vanilla/UiMenuItem.js +6 -6
  195. package/vanilla/UiMeter.d.ts +1 -1
  196. package/vanilla/UiMeter.js +9 -7
  197. package/vanilla/UiNavItem.d.ts +1 -1
  198. package/vanilla/UiNavItem.js +6 -6
  199. package/vanilla/UiPageHeader.d.ts +1 -1
  200. package/vanilla/UiPageHeader.js +4 -4
  201. package/vanilla/UiPopover.d.ts +1 -1
  202. package/vanilla/UiPopover.js +4 -4
  203. package/vanilla/UiRadio.d.ts +1 -1
  204. package/vanilla/UiRadio.js +4 -4
  205. package/vanilla/UiRadioGroup.d.ts +1 -1
  206. package/vanilla/UiRadioGroup.js +4 -4
  207. package/vanilla/UiReel.d.ts +1 -1
  208. package/vanilla/UiReel.js +4 -4
  209. package/vanilla/UiScrollArea.d.ts +1 -1
  210. package/vanilla/UiScrollArea.js +4 -4
  211. package/vanilla/UiSearchResultRow.d.ts +1 -1
  212. package/vanilla/UiSearchResultRow.js +4 -4
  213. package/vanilla/UiSearchShell.d.ts +1 -1
  214. package/vanilla/UiSearchShell.js +3 -3
  215. package/vanilla/UiSection.d.ts +1 -1
  216. package/vanilla/UiSection.js +4 -4
  217. package/vanilla/UiSelect.d.ts +1 -1
  218. package/vanilla/UiSelect.js +4 -4
  219. package/vanilla/UiSeparator.d.ts +1 -1
  220. package/vanilla/UiSeparator.js +4 -4
  221. package/vanilla/UiSidebar.d.ts +1 -1
  222. package/vanilla/UiSidebar.js +4 -4
  223. package/vanilla/UiSpinner.d.ts +1 -1
  224. package/vanilla/UiSpinner.js +4 -4
  225. package/vanilla/UiStack.d.ts +1 -1
  226. package/vanilla/UiStack.js +4 -4
  227. package/vanilla/UiStatusMessage.d.ts +1 -1
  228. package/vanilla/UiStatusMessage.js +4 -4
  229. package/vanilla/UiSwatch.d.ts +1 -1
  230. package/vanilla/UiSwatch.js +9 -7
  231. package/vanilla/UiSwitch.d.ts +1 -1
  232. package/vanilla/UiSwitch.js +4 -4
  233. package/vanilla/UiSwitcher.d.ts +1 -1
  234. package/vanilla/UiSwitcher.js +4 -4
  235. package/vanilla/UiTable.d.ts +1 -1
  236. package/vanilla/UiTable.js +4 -4
  237. package/vanilla/UiTabs.d.ts +1 -1
  238. package/vanilla/UiTabs.js +4 -4
  239. package/vanilla/UiText.d.ts +1 -1
  240. package/vanilla/UiText.js +6 -6
  241. package/vanilla/UiTextarea.d.ts +1 -1
  242. package/vanilla/UiTextarea.js +4 -4
  243. package/vanilla/UiToast.d.ts +1 -1
  244. package/vanilla/UiToast.js +4 -4
  245. package/vanilla/UiToastRegion.d.ts +2 -2
  246. package/vanilla/UiToastRegion.js +4 -4
  247. package/vanilla/UiTooltip.d.ts +1 -1
  248. package/vanilla/UiTooltip.js +4 -4
  249. package/vanilla/UiTopBar.d.ts +1 -1
  250. package/vanilla/UiTopBar.js +1 -1
  251. package/vanilla/UiTree.d.ts +1 -1
  252. package/vanilla/UiTree.js +4 -4
  253. package/vanilla/UiTreeItem.d.ts +1 -1
  254. package/vanilla/UiTreeItem.js +35 -23
  255. package/vue/UiActionBar.vue +1 -1
  256. package/vue/UiAffordanceScope.d.ts +8 -8
  257. package/vue/UiAffordanceScope.vue +57 -20
  258. package/vue/UiAvatar.d.ts +9 -27
  259. package/vue/UiAvatar.vue +100 -68
  260. package/vue/UiAvatarGroup.d.ts +9 -18
  261. package/vue/UiAvatarGroup.vue +73 -44
  262. package/vue/UiBadge.d.ts +9 -15
  263. package/vue/UiBadge.vue +67 -39
  264. package/vue/UiBreadcrumbItem.d.ts +8 -5
  265. package/vue/UiBreadcrumbItem.vue +45 -12
  266. package/vue/UiBreadcrumbs.d.ts +8 -5
  267. package/vue/UiBreadcrumbs.vue +45 -12
  268. package/vue/UiButton.d.ts +9 -45
  269. package/vue/UiButton.vue +148 -119
  270. package/vue/UiCallout.d.ts +8 -8
  271. package/vue/UiCallout.vue +68 -25
  272. package/vue/UiCard.d.ts +8 -17
  273. package/vue/UiCard.vue +77 -53
  274. package/vue/UiCheckbox.d.ts +8 -29
  275. package/vue/UiCheckbox.vue +118 -76
  276. package/vue/UiCluster.d.ts +9 -24
  277. package/vue/UiCluster.vue +91 -66
  278. package/vue/UiCombobox.d.ts +135 -219
  279. package/vue/UiCombobox.vue +528 -496
  280. package/vue/UiContainer.d.ts +8 -11
  281. package/vue/UiContainer.vue +61 -28
  282. package/vue/UiContextMenu.d.ts +10 -10
  283. package/vue/UiContextMenu.vue +55 -22
  284. package/vue/UiCover.d.ts +8 -5
  285. package/vue/UiCover.vue +45 -12
  286. package/vue/UiDescriptionItem.d.ts +8 -5
  287. package/vue/UiDescriptionItem.vue +40 -12
  288. package/vue/UiDescriptionList.d.ts +8 -11
  289. package/vue/UiDescriptionList.vue +61 -34
  290. package/vue/UiDialog.d.ts +8 -26
  291. package/vue/UiDialog.vue +99 -74
  292. package/vue/UiDisclosure.d.ts +8 -29
  293. package/vue/UiDisclosure.vue +118 -79
  294. package/vue/UiEditable.d.ts +8 -35
  295. package/vue/UiEditable.vue +136 -92
  296. package/vue/UiEditorBlockActions.d.ts +8 -8
  297. package/vue/UiEditorBlockActions.vue +58 -23
  298. package/vue/UiEditorChipEditor.d.ts +8 -8
  299. package/vue/UiEditorChipEditor.vue +65 -20
  300. package/vue/UiEditorCodeLanguage.d.ts +8 -11
  301. package/vue/UiEditorCodeLanguage.vue +74 -31
  302. package/vue/UiEditorImageToolbar.d.ts +8 -11
  303. package/vue/UiEditorImageToolbar.vue +175 -144
  304. package/vue/UiEditorInsertTableGrid.d.ts +8 -14
  305. package/vue/UiEditorInsertTableGrid.vue +73 -36
  306. package/vue/UiEditorLinkCard.d.ts +8 -17
  307. package/vue/UiEditorLinkCard.vue +157 -90
  308. package/vue/UiEditorLinkForm.d.ts +10 -44
  309. package/vue/UiEditorLinkForm.vue +336 -228
  310. package/vue/UiEditorMentionMenu.d.ts +28 -60
  311. package/vue/UiEditorMentionMenu.vue +166 -121
  312. package/vue/UiEditorMentionMenuItem.d.ts +8 -11
  313. package/vue/UiEditorMentionMenuItem.vue +61 -28
  314. package/vue/UiEditorSlashMenu.d.ts +26 -52
  315. package/vue/UiEditorSlashMenu.vue +141 -104
  316. package/vue/UiEditorSlashMenuGroup.d.ts +8 -5
  317. package/vue/UiEditorSlashMenuGroup.vue +40 -12
  318. package/vue/UiEditorSlashMenuItem.d.ts +8 -17
  319. package/vue/UiEditorSlashMenuItem.vue +90 -48
  320. package/vue/UiEditorSurface.d.ts +8 -5
  321. package/vue/UiEditorSurface.vue +45 -15
  322. package/vue/UiEditorTableContextMenu.d.ts +8 -20
  323. package/vue/UiEditorTableContextMenu.vue +151 -113
  324. package/vue/UiEditorTableOverlay.d.ts +10 -29
  325. package/vue/UiEditorTableOverlay.vue +180 -153
  326. package/vue/UiEditorTableToolbar.d.ts +8 -20
  327. package/vue/UiEditorTableToolbar.vue +158 -116
  328. package/vue/UiEditorToolbar.d.ts +8 -5
  329. package/vue/UiEditorToolbar.vue +48 -12
  330. package/vue/UiFloatingActionButton.d.ts +8 -11
  331. package/vue/UiFloatingActionButton.vue +60 -28
  332. package/vue/UiFormField.d.ts +8 -11
  333. package/vue/UiFormField.vue +63 -28
  334. package/vue/UiGrid.d.ts +8 -11
  335. package/vue/UiGrid.vue +56 -28
  336. package/vue/UiIcon.d.ts +8 -8
  337. package/vue/UiIcon.vue +444 -395
  338. package/vue/UiIconButton.d.ts +9 -39
  339. package/vue/UiIconButton.vue +138 -103
  340. package/vue/UiImage.d.ts +8 -23
  341. package/vue/UiImage.vue +80 -60
  342. package/vue/UiInput.d.ts +4 -7
  343. package/vue/UiInput.vue +169 -149
  344. package/vue/UiInputGroup.d.ts +8 -17
  345. package/vue/UiInputGroup.vue +81 -47
  346. package/vue/UiList.d.ts +9 -15
  347. package/vue/UiList.vue +67 -39
  348. package/vue/UiListItem.d.ts +8 -20
  349. package/vue/UiListItem.vue +87 -52
  350. package/vue/UiListbox.d.ts +10 -28
  351. package/vue/UiListbox.vue +111 -71
  352. package/vue/UiMenu.d.ts +10 -25
  353. package/vue/UiMenu.vue +96 -65
  354. package/vue/UiMenuGroup.d.ts +8 -5
  355. package/vue/UiMenuGroup.vue +40 -12
  356. package/vue/UiMenuItem.d.ts +8 -20
  357. package/vue/UiMenuItem.vue +91 -55
  358. package/vue/UiMeter.d.ts +9 -33
  359. package/vue/UiMeter.vue +202 -147
  360. package/vue/UiNavItem.d.ts +9 -24
  361. package/vue/UiNavItem.vue +78 -63
  362. package/vue/UiPageHeader.d.ts +8 -5
  363. package/vue/UiPageHeader.vue +45 -12
  364. package/vue/UiPopover.d.ts +8 -14
  365. package/vue/UiPopover.vue +90 -58
  366. package/vue/UiRadio.d.ts +8 -20
  367. package/vue/UiRadio.vue +91 -52
  368. package/vue/UiRadioGroup.d.ts +8 -26
  369. package/vue/UiRadioGroup.vue +109 -74
  370. package/vue/UiReel.d.ts +8 -11
  371. package/vue/UiReel.vue +56 -28
  372. package/vue/UiScrollArea.d.ts +9 -18
  373. package/vue/UiScrollArea.vue +81 -53
  374. package/vue/UiSearchResultRow.d.ts +8 -11
  375. package/vue/UiSearchResultRow.vue +60 -31
  376. package/vue/UiSearchShell.d.ts +8 -14
  377. package/vue/UiSearchShell.vue +73 -36
  378. package/vue/UiSection.d.ts +8 -11
  379. package/vue/UiSection.vue +60 -31
  380. package/vue/UiSelect.d.ts +8 -17
  381. package/vue/UiSelect.vue +83 -51
  382. package/vue/UiSeparator.d.ts +9 -15
  383. package/vue/UiSeparator.vue +69 -39
  384. package/vue/UiSidebar.d.ts +8 -29
  385. package/vue/UiSidebar.vue +118 -76
  386. package/vue/UiSpinner.d.ts +8 -8
  387. package/vue/UiSpinner.vue +51 -20
  388. package/vue/UiStack.d.ts +9 -18
  389. package/vue/UiStack.vue +73 -53
  390. package/vue/UiStatusMessage.d.ts +8 -11
  391. package/vue/UiStatusMessage.vue +60 -33
  392. package/vue/UiSwatch.d.ts +8 -5
  393. package/vue/UiSwatch.vue +64 -22
  394. package/vue/UiSwitch.d.ts +8 -20
  395. package/vue/UiSwitch.vue +91 -52
  396. package/vue/UiSwitcher.d.ts +9 -15
  397. package/vue/UiSwitcher.vue +64 -39
  398. package/vue/UiTable.d.ts +8 -8
  399. package/vue/UiTable.vue +56 -23
  400. package/vue/UiTabs.d.ts +8 -23
  401. package/vue/UiTabs.vue +100 -66
  402. package/vue/UiText.d.ts +9 -36
  403. package/vue/UiText.vue +152 -109
  404. package/vue/UiTextarea.d.ts +8 -29
  405. package/vue/UiTextarea.vue +118 -83
  406. package/vue/UiToast.d.ts +8 -8
  407. package/vue/UiToast.vue +55 -20
  408. package/vue/UiToastRegion.d.ts +14 -14
  409. package/vue/UiToastRegion.vue +66 -28
  410. package/vue/UiTooltip.d.ts +8 -23
  411. package/vue/UiTooltip.vue +117 -82
  412. package/vue/UiTopBar.vue +1 -1
  413. package/vue/UiTree.d.ts +8 -23
  414. package/vue/UiTree.vue +99 -69
  415. package/vue/UiTreeItem.d.ts +8 -47
  416. package/vue/UiTreeItem.vue +178 -127
  417. package/vue/chunks/UiActionBar.js +1 -1
  418. package/vue/chunks/UiAffordanceScope.js +35 -22
  419. package/vue/chunks/UiAvatar.js +81 -70
  420. package/vue/chunks/UiAvatarGroup.js +58 -46
  421. package/vue/chunks/UiBadge.js +46 -38
  422. package/vue/chunks/UiBreadcrumbItem.js +22 -11
  423. package/vue/chunks/UiBreadcrumbs.js +22 -11
  424. package/vue/chunks/UiButton.js +115 -118
  425. package/vue/chunks/UiCallout.js +32 -22
  426. package/vue/chunks/UiCard.js +53 -46
  427. package/vue/chunks/UiCheckbox.js +84 -78
  428. package/vue/chunks/UiCluster.js +63 -62
  429. package/vue/chunks/UiCombobox.js +359 -382
  430. package/vue/chunks/UiContainer.js +35 -30
  431. package/vue/chunks/UiContextMenu.js +36 -23
  432. package/vue/chunks/UiCover.js +22 -11
  433. package/vue/chunks/UiDescriptionItem.js +22 -11
  434. package/vue/chunks/UiDescriptionList.js +38 -30
  435. package/vue/chunks/UiDialog.js +78 -70
  436. package/vue/chunks/UiDisclosure.js +87 -78
  437. package/vue/chunks/UiEditable.js +102 -94
  438. package/vue/chunks/UiEditorBlockActions.js +49 -23
  439. package/vue/chunks/UiEditorChipEditor.js +48 -25
  440. package/vue/chunks/UiEditorCodeLanguage.js +58 -41
  441. package/vue/chunks/UiEditorImageToolbar.js +153 -148
  442. package/vue/chunks/UiEditorInsertTableGrid.js +55 -38
  443. package/vue/chunks/UiEditorLinkCard.js +104 -82
  444. package/vue/chunks/UiEditorLinkForm.js +282 -258
  445. package/vue/chunks/UiEditorMentionMenu.js +156 -145
  446. package/vue/chunks/UiEditorMentionMenuItem.js +39 -30
  447. package/vue/chunks/UiEditorSlashMenu.js +141 -130
  448. package/vue/chunks/UiEditorSlashMenuGroup.js +22 -11
  449. package/vue/chunks/UiEditorSlashMenuItem.js +62 -47
  450. package/vue/chunks/UiEditorSurface.js +22 -11
  451. package/vue/chunks/UiEditorTableContextMenu.js +98 -87
  452. package/vue/chunks/UiEditorTableOverlay.js +286 -308
  453. package/vue/chunks/UiEditorTableToolbar.js +102 -87
  454. package/vue/chunks/UiEditorToolbar.js +24 -11
  455. package/vue/chunks/UiFloatingActionButton.js +39 -30
  456. package/vue/chunks/UiFormField.js +41 -30
  457. package/vue/chunks/UiGrid.js +35 -30
  458. package/vue/chunks/UiIcon.js +38 -25
  459. package/vue/chunks/UiIconButton.js +102 -102
  460. package/vue/chunks/UiImage.js +67 -62
  461. package/vue/chunks/UiInput.js +275 -274
  462. package/vue/chunks/UiInputGroup.js +55 -46
  463. package/vue/chunks/UiList.js +46 -38
  464. package/vue/chunks/UiListItem.js +60 -54
  465. package/vue/chunks/UiListbox.js +83 -72
  466. package/vue/chunks/UiMenu.js +71 -63
  467. package/vue/chunks/UiMenuGroup.js +22 -11
  468. package/vue/chunks/UiMenuItem.js +63 -54
  469. package/vue/chunks/UiMeter.js +124 -119
  470. package/vue/chunks/UiNavItem.js +64 -62
  471. package/vue/chunks/UiPageHeader.js +22 -11
  472. package/vue/chunks/UiPopover.js +49 -38
  473. package/vue/chunks/UiRadio.js +63 -54
  474. package/vue/chunks/UiRadioGroup.js +77 -70
  475. package/vue/chunks/UiReel.js +35 -30
  476. package/vue/chunks/UiScrollArea.js +55 -46
  477. package/vue/chunks/UiSearchResultRow.js +39 -30
  478. package/vue/chunks/UiSearchShell.js +49 -38
  479. package/vue/chunks/UiSection.js +39 -30
  480. package/vue/chunks/UiSelect.js +57 -48
  481. package/vue/chunks/UiSeparator.js +46 -38
  482. package/vue/chunks/UiSidebar.js +88 -78
  483. package/vue/chunks/UiSpinner.js +32 -22
  484. package/vue/chunks/UiStack.js +47 -46
  485. package/vue/chunks/UiStatusMessage.js +39 -30
  486. package/vue/chunks/UiSwatch.js +28 -14
  487. package/vue/chunks/UiSwitch.js +63 -54
  488. package/vue/chunks/UiSwitcher.js +44 -38
  489. package/vue/chunks/UiTable.js +34 -22
  490. package/vue/chunks/UiTabs.js +73 -62
  491. package/vue/chunks/UiText.js +95 -94
  492. package/vue/chunks/UiTextarea.js +84 -80
  493. package/vue/chunks/UiToast.js +34 -22
  494. package/vue/chunks/UiToastRegion.js +36 -23
  495. package/vue/chunks/UiTooltip.js +70 -62
  496. package/vue/chunks/UiTopBar.js +1 -1
  497. package/vue/chunks/UiTree.js +69 -62
  498. package/vue/chunks/UiTreeItem.js +154 -151
  499. package/vue/chunks/_plugin-vue_export-helper.js +185 -36
  500. package/vue/chunks/control.js +6 -1
  501. package/vue/chunks/props.js +435 -11
  502. package/vue/components.css +39 -39
  503. package/vue/editor/index.js +129 -291
  504. package/vue/host.ts +320 -14
  505. package/vue/props.d.ts +272 -0
@@ -1,4 +1,5 @@
1
1
  import type { PropType } from 'vue';
2
+ import { type InputBindings } from './props.js';
2
3
  declare var __VLS_1: {};
3
4
  type __VLS_Slots = {} & {
4
5
  default?: (props: typeof __VLS_1) => any;
@@ -6,25 +7,24 @@ type __VLS_Slots = {} & {
6
7
  declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
7
8
  guide: {
8
9
  type: PropType<"dot" | "none" | null>;
9
- default: string;
10
10
  };
11
11
  nearRadius: {
12
12
  type: PropType<number | null>;
13
- default: number;
13
+ };
14
+ "\0htmlNextInputStatus": {
15
+ type: PropType<InputBindings>;
14
16
  };
15
17
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
16
18
  guide: {
17
19
  type: PropType<"dot" | "none" | null>;
18
- default: string;
19
20
  };
20
21
  nearRadius: {
21
22
  type: PropType<number | null>;
22
- default: number;
23
23
  };
24
- }>> & Readonly<{}>, {
25
- guide: "none" | "dot" | null;
26
- nearRadius: number | null;
27
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
24
+ "\0htmlNextInputStatus": {
25
+ type: PropType<InputBindings>;
26
+ };
27
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
28
28
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
29
29
  declare const _default: typeof __VLS_export;
30
30
  export default _default;
@@ -1,4 +1,4 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.58 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.63 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'
@@ -10,7 +10,18 @@ import {
10
10
  useReflectedProp,
11
11
  } from './host'
12
12
  import { acceptsControllerWrite } from './props'
13
- import { checkedProp, propValidityState, vPropValidity } from './props'
13
+ import {
14
+ BINDING_INPUTS_PROP,
15
+ checkedProp,
16
+ checkPropInput,
17
+ type InputBindings,
18
+ propValidityState,
19
+ READY_INPUT,
20
+ requireInputStatus,
21
+ UNRESOLVED_INPUT,
22
+ vPropValidity,
23
+ vuePropInputs,
24
+ } from './props'
14
25
 
15
26
  defineOptions({ inheritAttrs: false })
16
27
 
@@ -35,26 +46,49 @@ const propValidityContract = {
35
46
  },
36
47
  } as const
37
48
  const props = defineProps({
38
- guide: { type: null as unknown as PropType<'dot' | 'none' | null>, default: 'dot' },
39
- nearRadius: { type: null as unknown as PropType<number | null>, default: 16 },
49
+ guide: { type: null as unknown as PropType<'dot' | 'none' | null> },
50
+ nearRadius: { type: null as unknown as PropType<number | null> },
51
+ [BINDING_INPUTS_PROP]: { type: null as unknown as PropType<InputBindings> },
40
52
  })
41
53
  const acceptedProps: Record<string, unknown> = { guide: 'dot', nearRadius: 16 }
42
- const checkedProps = computed(() => ({
43
- guide: checkedProp<'dot' | 'none'>(
44
- props['guide'],
45
- { kind: 'terminal', name: 'keyword' },
46
- false,
47
- 'guide',
48
- acceptedProps,
49
- ) as 'dot' | 'none',
50
- nearRadius: checkedProp<number>(
51
- props['nearRadius'],
52
- { kind: 'terminal', name: 'number' },
53
- false,
54
- 'nearRadius',
55
- acceptedProps,
56
- ) as number,
57
- }))
54
+ const inputTracking = vuePropInputs(
55
+ acceptedProps,
56
+ { guide: 'dot', nearRadius: 16 },
57
+ (name, value, source, values) => {
58
+ switch (name) {
59
+ case 'guide':
60
+ return checkPropInput(value, { kind: 'terminal', name: 'keyword' }, true, true)
61
+ case 'nearRadius':
62
+ return checkPropInput(value, { kind: 'terminal', name: 'number' }, true, true)
63
+ default:
64
+ return { ok: false }
65
+ }
66
+ },
67
+ () => {
68
+ void checkedProps.value
69
+ },
70
+ )
71
+ const propInputs = inputTracking.inputs
72
+ const checkedProps = computed(() => {
73
+ void inputTracking.version.value
74
+ return ({
75
+ guide: propInputs.value<'dot' | 'none' | null>(
76
+ 'guide',
77
+ props['guide'],
78
+ props[BINDING_INPUTS_PROP],
79
+ ) as 'dot' | 'none',
80
+ nearRadius: propInputs.value<number | null>(
81
+ 'nearRadius',
82
+ props['nearRadius'],
83
+ props[BINDING_INPUTS_PROP],
84
+ ) as number,
85
+ })
86
+ })
87
+ const inputStatus = (name: string, handlesError: boolean) => {
88
+ void checkedProps.value
89
+ void inputTracking.version.value
90
+ return requireInputStatus(propInputs.status(name), handlesError)
91
+ }
58
92
  void checkedProps.value
59
93
  watchSyncEffect(() => {
60
94
  void checkedProps.value
@@ -87,11 +121,14 @@ useComponentHost(() => import('../components/ui-affordance-scope/ui-affordance-s
87
121
  ({ engaged: { kind: 'terminal', name: 'boolean' } } as Record<string, any>)[name],
88
122
  keys,
89
123
  ),
124
+ initials: { engaged: false },
90
125
  controllerSource: {
91
126
  specifier: '../components/ui-affordance-scope/ui-affordance-scope.js',
92
127
  definition: './components/ui-affordance-scope/ui-affordance-scope.html',
93
128
  },
94
129
  props: checkedProps,
130
+ inputs: propInputs,
131
+ inputTracking,
95
132
  propInputs: (name: string) => {
96
133
  const incoming = hydrationInstance?.vnode.props
97
134
  const kebab = name.replace(/[A-Z]/g, (letter) => '-' + letter.toLowerCase())
package/vue/UiAvatar.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  import type { PropType } from 'vue';
2
+ import { type InputBindings } from './props.js';
2
3
  declare var __VLS_1: {};
3
4
  type __VLS_Slots = {} & {
4
5
  default?: (props: typeof __VLS_1) => any;
@@ -6,79 +7,60 @@ type __VLS_Slots = {} & {
6
7
  declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
7
8
  active: {
8
9
  type: PropType<boolean | null>;
9
- default: boolean;
10
10
  };
11
11
  alt: {
12
12
  type: PropType<string | null>;
13
- default: string;
14
13
  };
15
14
  decorative: {
16
15
  type: PropType<boolean | null>;
17
- default: boolean;
18
16
  };
19
17
  fallback: {
20
18
  type: PropType<string | null>;
21
- default: string;
22
19
  };
23
20
  name: {
24
21
  type: PropType<string | null>;
25
- default: string;
26
22
  };
27
23
  shape: {
28
24
  type: PropType<"circle" | "square" | null>;
29
- default: string;
30
25
  };
31
26
  size: {
32
27
  type: PropType<"xs" | "sm" | "md" | null>;
33
- default: string;
34
28
  };
35
29
  src: {
36
30
  type: PropType<string | null>;
37
- default: null;
31
+ };
32
+ "\0htmlNextInputStatus": {
33
+ type: PropType<InputBindings>;
38
34
  };
39
35
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
40
36
  active: {
41
37
  type: PropType<boolean | null>;
42
- default: boolean;
43
38
  };
44
39
  alt: {
45
40
  type: PropType<string | null>;
46
- default: string;
47
41
  };
48
42
  decorative: {
49
43
  type: PropType<boolean | null>;
50
- default: boolean;
51
44
  };
52
45
  fallback: {
53
46
  type: PropType<string | null>;
54
- default: string;
55
47
  };
56
48
  name: {
57
49
  type: PropType<string | null>;
58
- default: string;
59
50
  };
60
51
  shape: {
61
52
  type: PropType<"circle" | "square" | null>;
62
- default: string;
63
53
  };
64
54
  size: {
65
55
  type: PropType<"xs" | "sm" | "md" | null>;
66
- default: string;
67
56
  };
68
57
  src: {
69
58
  type: PropType<string | null>;
70
- default: null;
71
- };
72
- }>> & Readonly<{}>, {
73
- name: string | null;
74
- alt: string | null;
75
- size: "xs" | "sm" | "md" | null;
76
- shape: "circle" | "square" | null;
77
- active: boolean | null;
78
- decorative: boolean | null;
79
- fallback: string | null;
80
- src: string | null;
81
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
59
+ };
60
+ "\0htmlNextInputStatus": {
61
+ type: PropType<InputBindings>;
62
+ };
63
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
82
64
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
83
65
  declare const _default: typeof __VLS_export;
84
66
  export default _default;
package/vue/UiAvatar.vue CHANGED
@@ -1,4 +1,4 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.58 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.63 for Vue 3.5. Do not edit. -->
2
2
  <script setup lang="ts">
3
3
  import { computed, getCurrentInstance, provide, ref, useTemplateRef, watchSyncEffect } from 'vue'
4
4
  import type { PropType } from 'vue'
@@ -10,7 +10,18 @@ import {
10
10
  useReflectedProp,
11
11
  } from './host'
12
12
  import { acceptsControllerWrite } from './props'
13
- import { checkedProp, propValidityState, vPropValidity } from './props'
13
+ import {
14
+ BINDING_INPUTS_PROP,
15
+ checkedProp,
16
+ checkPropInput,
17
+ type InputBindings,
18
+ propValidityState,
19
+ READY_INPUT,
20
+ requireInputStatus,
21
+ UNRESOLVED_INPUT,
22
+ vPropValidity,
23
+ vuePropInputs,
24
+ } from './props'
14
25
  import UiIcon from './UiIcon.vue'
15
26
 
16
27
  defineOptions({ inheritAttrs: false })
@@ -85,14 +96,15 @@ const propValidityContract = {
85
96
  },
86
97
  } as const
87
98
  const props = defineProps({
88
- active: { type: null as unknown as PropType<boolean | null>, default: false },
89
- alt: { type: null as unknown as PropType<string | null>, default: '' },
90
- decorative: { type: null as unknown as PropType<boolean | null>, default: false },
91
- fallback: { type: null as unknown as PropType<string | null>, default: '' },
92
- name: { type: null as unknown as PropType<string | null>, default: '' },
93
- shape: { type: null as unknown as PropType<'circle' | 'square' | null>, default: 'circle' },
94
- size: { type: null as unknown as PropType<'xs' | 'sm' | 'md' | null>, default: 'md' },
95
- src: { type: null as unknown as PropType<string | null>, default: null },
99
+ active: { type: null as unknown as PropType<boolean | null> },
100
+ alt: { type: null as unknown as PropType<string | null> },
101
+ decorative: { type: null as unknown as PropType<boolean | null> },
102
+ fallback: { type: null as unknown as PropType<string | null> },
103
+ name: { type: null as unknown as PropType<string | null> },
104
+ shape: { type: null as unknown as PropType<'circle' | 'square' | null> },
105
+ size: { type: null as unknown as PropType<'xs' | 'sm' | 'md' | null> },
106
+ src: { type: null as unknown as PropType<string | null> },
107
+ [BINDING_INPUTS_PROP]: { type: null as unknown as PropType<InputBindings> },
96
108
  })
97
109
  const acceptedProps: Record<string, unknown> = {
98
110
  active: false,
@@ -104,64 +116,81 @@ const acceptedProps: Record<string, unknown> = {
104
116
  size: 'md',
105
117
  src: null,
106
118
  }
107
- const checkedProps = computed(() => ({
108
- active: checkedProp<boolean>(
109
- props['active'],
110
- { kind: 'terminal', name: 'boolean' },
111
- false,
112
- 'active',
113
- acceptedProps,
114
- ) as boolean,
115
- alt: checkedProp<string>(
116
- props['alt'],
117
- { kind: 'terminal', name: 'string' },
118
- false,
119
- 'alt',
120
- acceptedProps,
121
- ) as string,
122
- decorative: checkedProp<boolean>(
123
- props['decorative'],
124
- { kind: 'terminal', name: 'boolean' },
125
- false,
126
- 'decorative',
127
- acceptedProps,
128
- ) as boolean,
129
- fallback: checkedProp<string>(
130
- props['fallback'],
131
- { kind: 'terminal', name: 'string' },
132
- false,
133
- 'fallback',
134
- acceptedProps,
135
- ) as string,
136
- name: checkedProp<string>(
137
- props['name'],
138
- { kind: 'terminal', name: 'string' },
139
- false,
140
- 'name',
141
- acceptedProps,
142
- ) as string,
143
- shape: checkedProp<'circle' | 'square'>(
144
- props['shape'],
145
- { kind: 'terminal', name: 'keyword' },
146
- false,
147
- 'shape',
148
- acceptedProps,
149
- ) as 'circle' | 'square',
150
- size: checkedProp<'xs' | 'sm' | 'md'>(
151
- props['size'],
152
- { kind: 'terminal', name: 'keyword' },
153
- false,
154
- 'size',
155
- acceptedProps,
156
- ) as 'xs' | 'sm' | 'md',
157
- src: checkedProp<string>(
158
- props['src'],
159
- { kind: 'terminal', name: 'string' },
160
- false,
161
- 'src',
162
- acceptedProps,
163
- ),
164
- }))
119
+ const inputTracking = vuePropInputs(acceptedProps, {
120
+ active: false,
121
+ alt: '',
122
+ decorative: false,
123
+ fallback: '',
124
+ name: '',
125
+ shape: 'circle',
126
+ size: 'md',
127
+ }, (name, value, source, values) => {
128
+ switch (name) {
129
+ case 'active':
130
+ return checkPropInput(value, { kind: 'terminal', name: 'boolean' }, true, true)
131
+ case 'alt':
132
+ return checkPropInput(value, { kind: 'terminal', name: 'string' }, true, true)
133
+ case 'decorative':
134
+ return checkPropInput(value, { kind: 'terminal', name: 'boolean' }, true, true)
135
+ case 'fallback':
136
+ return checkPropInput(value, { kind: 'terminal', name: 'string' }, true, true)
137
+ case 'name':
138
+ return checkPropInput(value, { kind: 'terminal', name: 'string' }, true, true)
139
+ case 'shape':
140
+ return checkPropInput(value, { kind: 'terminal', name: 'keyword' }, true, true)
141
+ case 'size':
142
+ return checkPropInput(value, { kind: 'terminal', name: 'keyword' }, true, true)
143
+ case 'src':
144
+ return checkPropInput(value, { kind: 'terminal', name: 'string' }, true, true)
145
+ default:
146
+ return { ok: false }
147
+ }
148
+ }, () => {
149
+ void checkedProps.value
150
+ })
151
+ const propInputs = inputTracking.inputs
152
+ const checkedProps = computed(() => {
153
+ void inputTracking.version.value
154
+ return ({
155
+ active: propInputs.value<boolean | null>(
156
+ 'active',
157
+ props['active'],
158
+ props[BINDING_INPUTS_PROP],
159
+ ) as boolean,
160
+ alt: propInputs.value<string | null>('alt', props['alt'], props[BINDING_INPUTS_PROP]) as string,
161
+ decorative: propInputs.value<boolean | null>(
162
+ 'decorative',
163
+ props['decorative'],
164
+ props[BINDING_INPUTS_PROP],
165
+ ) as boolean,
166
+ fallback: propInputs.value<string | null>(
167
+ 'fallback',
168
+ props['fallback'],
169
+ props[BINDING_INPUTS_PROP],
170
+ ) as string,
171
+ name: propInputs.value<string | null>(
172
+ 'name',
173
+ props['name'],
174
+ props[BINDING_INPUTS_PROP],
175
+ ) as string,
176
+ shape: propInputs.value<'circle' | 'square' | null>(
177
+ 'shape',
178
+ props['shape'],
179
+ props[BINDING_INPUTS_PROP],
180
+ ) as 'circle' | 'square',
181
+ size: propInputs.value<'xs' | 'sm' | 'md' | null>(
182
+ 'size',
183
+ props['size'],
184
+ props[BINDING_INPUTS_PROP],
185
+ ) as 'xs' | 'sm' | 'md',
186
+ src: propInputs.value<string | null>('src', props['src'], props[BINDING_INPUTS_PROP]),
187
+ })
188
+ })
189
+ const inputStatus = (name: string, handlesError: boolean) => {
190
+ void checkedProps.value
191
+ void inputTracking.version.value
192
+ return requireInputStatus(propInputs.status(name), handlesError)
193
+ }
165
194
  void checkedProps.value
166
195
  watchSyncEffect(() => {
167
196
  void checkedProps.value
@@ -209,11 +238,14 @@ useComponentHost(() => import('../components/ui-avatar/ui-avatar.js'), {
209
238
  } as Record<string, any>)[name],
210
239
  keys,
211
240
  ),
241
+ initials: { hasImage: false, hasAuthoredImage: false, initials: '?', showGlyph: false },
212
242
  controllerSource: {
213
243
  specifier: '../components/ui-avatar/ui-avatar.js',
214
244
  definition: './components/ui-avatar/ui-avatar.html',
215
245
  },
216
246
  props: checkedProps,
247
+ inputs: propInputs,
248
+ inputTracking,
217
249
  propInputs: (name: string) => {
218
250
  const incoming = hydrationInstance?.vnode.props
219
251
  const kebab = name.replace(/[A-Z]/g, (letter) => '-' + letter.toLowerCase())
@@ -1,4 +1,5 @@
1
1
  import type { PropType } from 'vue';
2
+ import { type InputBindings } from './props.js';
2
3
  declare var __VLS_1: {};
3
4
  type __VLS_Slots = {} & {
4
5
  default?: (props: typeof __VLS_1) => any;
@@ -6,52 +7,42 @@ type __VLS_Slots = {} & {
6
7
  declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
7
8
  label: {
8
9
  type: PropType<string | null>;
9
- default: string;
10
10
  };
11
11
  max: {
12
12
  type: PropType<number | null>;
13
- default: number;
14
13
  };
15
14
  overflowLabel: {
16
15
  type: PropType<string | null>;
17
- default: string;
18
16
  };
19
17
  size: {
20
18
  type: PropType<"xs" | "sm" | "md" | null>;
21
- default: string;
22
19
  };
23
20
  total: {
24
21
  type: PropType<number | null>;
25
- default: null;
22
+ };
23
+ "\0htmlNextInputStatus": {
24
+ type: PropType<InputBindings>;
26
25
  };
27
26
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
28
27
  label: {
29
28
  type: PropType<string | null>;
30
- default: string;
31
29
  };
32
30
  max: {
33
31
  type: PropType<number | null>;
34
- default: number;
35
32
  };
36
33
  overflowLabel: {
37
34
  type: PropType<string | null>;
38
- default: string;
39
35
  };
40
36
  size: {
41
37
  type: PropType<"xs" | "sm" | "md" | null>;
42
- default: string;
43
38
  };
44
39
  total: {
45
40
  type: PropType<number | null>;
46
- default: null;
47
- };
48
- }>> & Readonly<{}>, {
49
- label: string | null;
50
- size: "xs" | "sm" | "md" | null;
51
- max: number | null;
52
- total: number | null;
53
- overflowLabel: string | null;
54
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
41
+ };
42
+ "\0htmlNextInputStatus": {
43
+ type: PropType<InputBindings>;
44
+ };
45
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
55
46
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
56
47
  declare const _default: typeof __VLS_export;
57
48
  export default _default;
@@ -1,4 +1,4 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.58 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.63 for Vue 3.5. Do not edit. -->
2
2
  <script setup lang="ts">
3
3
  import { computed, getCurrentInstance, provide, ref, useTemplateRef, watchSyncEffect } from 'vue'
4
4
  import type { PropType } from 'vue'
@@ -10,7 +10,18 @@ import {
10
10
  useReflectedProp,
11
11
  } from './host'
12
12
  import { acceptsControllerWrite } from './props'
13
- import { checkedProp, propValidityState, vPropValidity } from './props'
13
+ import {
14
+ BINDING_INPUTS_PROP,
15
+ checkedProp,
16
+ checkPropInput,
17
+ type InputBindings,
18
+ propValidityState,
19
+ READY_INPUT,
20
+ requireInputStatus,
21
+ UNRESOLVED_INPUT,
22
+ vPropValidity,
23
+ vuePropInputs,
24
+ } from './props'
14
25
 
15
26
  defineOptions({ inheritAttrs: false })
16
27
 
@@ -59,11 +70,12 @@ const propValidityContract = {
59
70
  },
60
71
  } as const
61
72
  const props = defineProps({
62
- label: { type: null as unknown as PropType<string | null>, default: 'People' },
63
- max: { type: null as unknown as PropType<number | null>, default: 5 },
64
- overflowLabel: { type: null as unknown as PropType<string | null>, default: '{count} more' },
65
- size: { type: null as unknown as PropType<'xs' | 'sm' | 'md' | null>, default: 'md' },
66
- total: { type: null as unknown as PropType<number | null>, default: null },
73
+ label: { type: null as unknown as PropType<string | null> },
74
+ max: { type: null as unknown as PropType<number | null> },
75
+ overflowLabel: { type: null as unknown as PropType<string | null> },
76
+ size: { type: null as unknown as PropType<'xs' | 'sm' | 'md' | null> },
77
+ total: { type: null as unknown as PropType<number | null> },
78
+ [BINDING_INPUTS_PROP]: { type: null as unknown as PropType<InputBindings> },
67
79
  })
68
80
  const acceptedProps: Record<string, unknown> = {
69
81
  label: 'People',
@@ -72,43 +84,57 @@ const acceptedProps: Record<string, unknown> = {
72
84
  size: 'md',
73
85
  total: null,
74
86
  }
75
- const checkedProps = computed(() => ({
76
- label: checkedProp<string>(
77
- props['label'],
78
- { kind: 'terminal', name: 'string' },
79
- false,
80
- 'label',
81
- acceptedProps,
82
- ) as string,
83
- max: checkedProp<number>(
84
- props['max'],
85
- { kind: 'terminal', name: 'number' },
86
- false,
87
- 'max',
88
- acceptedProps,
89
- ) as number,
90
- overflowLabel: checkedProp<string>(
91
- props['overflowLabel'],
92
- { kind: 'terminal', name: 'string' },
93
- false,
94
- 'overflowLabel',
95
- acceptedProps,
96
- ) as string,
97
- size: checkedProp<'xs' | 'sm' | 'md'>(
98
- props['size'],
99
- { kind: 'terminal', name: 'keyword' },
100
- false,
101
- 'size',
102
- acceptedProps,
103
- ) as 'xs' | 'sm' | 'md',
104
- total: checkedProp<number>(
105
- props['total'],
106
- { kind: 'terminal', name: 'integer' },
107
- false,
108
- 'total',
109
- acceptedProps,
110
- ),
111
- }))
87
+ const inputTracking = vuePropInputs(acceptedProps, {
88
+ label: 'People',
89
+ max: 5,
90
+ overflowLabel: '{count} more',
91
+ size: 'md',
92
+ }, (name, value, source, values) => {
93
+ switch (name) {
94
+ case 'label':
95
+ return checkPropInput(value, { kind: 'terminal', name: 'string' }, true, true)
96
+ case 'max':
97
+ return checkPropInput(value, { kind: 'terminal', name: 'number' }, true, true)
98
+ case 'overflowLabel':
99
+ return checkPropInput(value, { kind: 'terminal', name: 'string' }, true, true)
100
+ case 'size':
101
+ return checkPropInput(value, { kind: 'terminal', name: 'keyword' }, true, true)
102
+ case 'total':
103
+ return checkPropInput(value, { kind: 'terminal', name: 'integer' }, true, true)
104
+ default:
105
+ return { ok: false }
106
+ }
107
+ }, () => {
108
+ void checkedProps.value
109
+ })
110
+ const propInputs = inputTracking.inputs
111
+ const checkedProps = computed(() => {
112
+ void inputTracking.version.value
113
+ return ({
114
+ label: propInputs.value<string | null>(
115
+ 'label',
116
+ props['label'],
117
+ props[BINDING_INPUTS_PROP],
118
+ ) as string,
119
+ max: propInputs.value<number | null>('max', props['max'], props[BINDING_INPUTS_PROP]) as number,
120
+ overflowLabel: propInputs.value<string | null>(
121
+ 'overflowLabel',
122
+ props['overflowLabel'],
123
+ props[BINDING_INPUTS_PROP],
124
+ ) as string,
125
+ size: propInputs.value<'xs' | 'sm' | 'md' | null>(
126
+ 'size',
127
+ props['size'],
128
+ props[BINDING_INPUTS_PROP],
129
+ ) as 'xs' | 'sm' | 'md',
130
+ total: propInputs.value<number | null>('total', props['total'], props[BINDING_INPUTS_PROP]),
131
+ })
132
+ })
133
+ const inputStatus = (name: string, handlesError: boolean) => {
134
+ void checkedProps.value
135
+ void inputTracking.version.value
136
+ return requireInputStatus(propInputs.status(name), handlesError)
137
+ }
112
138
  void checkedProps.value
113
139
  watchSyncEffect(() => {
114
140
  void checkedProps.value
@@ -146,11 +172,14 @@ useComponentHost(() => import('../components/ui-avatar-group/ui-avatar-group.js'
146
172
  } as Record<string, any>)[name],
147
173
  keys,
148
174
  ),
175
+ initials: { overflowCount: 0, overflowAnnouncement: '' },
149
176
  controllerSource: {
150
177
  specifier: '../components/ui-avatar-group/ui-avatar-group.js',
151
178
  definition: './components/ui-avatar-group/ui-avatar-group.html',
152
179
  },
153
180
  props: checkedProps,
181
+ inputs: propInputs,
182
+ inputTracking,
154
183
  propInputs: (name: string) => {
155
184
  const incoming = hydrationInstance?.vnode.props
156
185
  const kebab = name.replace(/[A-Z]/g, (letter) => '-' + letter.toLowerCase())