@threadlabs/looma 0.29.17 → 0.30.0

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 (428) hide show
  1. package/components/ui-combobox/ui-combobox.html +47 -2
  2. package/components/ui-combobox/ui-combobox.js +2 -1
  3. package/components/ui-cover/ui-cover.html +2 -5
  4. package/components/ui-editor-link-card/ui-editor-link-card.html +5 -5
  5. package/components/ui-form-field/ui-form-field.html +1 -1
  6. package/components/ui-icon/ui-icon.html +10 -0
  7. package/components/ui-reel/ui-reel.html +7 -10
  8. package/components/ui-switcher/ui-switcher.html +17 -22
  9. package/components/ui-tooltip/ui-tooltip.js +2 -0
  10. package/dist/index.js +1 -1
  11. package/package.json +3 -3
  12. package/styles/ui-action-bar.css +1 -1
  13. package/styles/ui-affordance-scope.css +1 -1
  14. package/styles/ui-avatar-group.css +1 -1
  15. package/styles/ui-avatar.css +1 -1
  16. package/styles/ui-badge.css +1 -1
  17. package/styles/ui-breadcrumb-item.css +1 -1
  18. package/styles/ui-breadcrumbs.css +1 -1
  19. package/styles/ui-button.css +1 -1
  20. package/styles/ui-callout.css +1 -1
  21. package/styles/ui-card.css +1 -1
  22. package/styles/ui-checkbox.css +1 -1
  23. package/styles/ui-cluster.css +1 -1
  24. package/styles/ui-combobox.css +1 -1
  25. package/styles/ui-container.css +1 -1
  26. package/styles/ui-context-menu.css +1 -1
  27. package/styles/ui-cover.css +3 -6
  28. package/styles/ui-description-item.css +1 -1
  29. package/styles/ui-description-list.css +1 -1
  30. package/styles/ui-dialog.css +1 -1
  31. package/styles/ui-disclosure.css +1 -1
  32. package/styles/ui-editable.css +1 -1
  33. package/styles/ui-editor-block-actions.css +1 -1
  34. package/styles/ui-editor-chip-editor.css +1 -1
  35. package/styles/ui-editor-code-language.css +1 -1
  36. package/styles/ui-editor-image-toolbar.css +1 -1
  37. package/styles/ui-editor-insert-table-grid.css +1 -1
  38. package/styles/ui-editor-link-card.css +1 -1
  39. package/styles/ui-editor-link-form.css +1 -1
  40. package/styles/ui-editor-mention-menu-item.css +1 -1
  41. package/styles/ui-editor-mention-menu.css +1 -1
  42. package/styles/ui-editor-slash-menu-group.css +1 -1
  43. package/styles/ui-editor-slash-menu-item.css +1 -1
  44. package/styles/ui-editor-slash-menu.css +1 -1
  45. package/styles/ui-editor-surface.css +1 -1
  46. package/styles/ui-editor-table-context-menu.css +1 -1
  47. package/styles/ui-editor-table-overlay.css +1 -1
  48. package/styles/ui-editor-table-toolbar.css +1 -1
  49. package/styles/ui-editor-toolbar.css +1 -1
  50. package/styles/ui-floating-action-button.css +1 -1
  51. package/styles/ui-form-field.css +1 -1
  52. package/styles/ui-grid.css +1 -1
  53. package/styles/ui-icon-button.css +1 -1
  54. package/styles/ui-icon.css +9 -1
  55. package/styles/ui-image.css +1 -1
  56. package/styles/ui-input-group.css +1 -1
  57. package/styles/ui-input.css +1 -1
  58. package/styles/ui-list-item.css +1 -1
  59. package/styles/ui-list.css +1 -1
  60. package/styles/ui-listbox.css +1 -1
  61. package/styles/ui-menu-group.css +1 -1
  62. package/styles/ui-menu-item.css +1 -1
  63. package/styles/ui-menu.css +1 -1
  64. package/styles/ui-meter.css +1 -1
  65. package/styles/ui-nav-item.css +1 -1
  66. package/styles/ui-page-header.css +1 -1
  67. package/styles/ui-popover.css +1 -1
  68. package/styles/ui-radio-group.css +1 -1
  69. package/styles/ui-radio.css +1 -1
  70. package/styles/ui-reel.css +8 -11
  71. package/styles/ui-scroll-area.css +1 -1
  72. package/styles/ui-search-result-row.css +1 -1
  73. package/styles/ui-search-shell.css +1 -1
  74. package/styles/ui-section.css +1 -1
  75. package/styles/ui-select.css +1 -1
  76. package/styles/ui-separator.css +1 -1
  77. package/styles/ui-sidebar.css +1 -1
  78. package/styles/ui-spinner.css +1 -1
  79. package/styles/ui-stack.css +1 -1
  80. package/styles/ui-status-message.css +1 -1
  81. package/styles/ui-swatch.css +1 -1
  82. package/styles/ui-switch.css +1 -1
  83. package/styles/ui-switcher.css +23 -28
  84. package/styles/ui-table.css +1 -1
  85. package/styles/ui-tabs.css +1 -1
  86. package/styles/ui-text.css +1 -1
  87. package/styles/ui-textarea.css +1 -1
  88. package/styles/ui-toast-region.css +1 -1
  89. package/styles/ui-toast.css +1 -1
  90. package/styles/ui-tooltip.css +1 -1
  91. package/styles/ui-top-bar.css +1 -1
  92. package/styles/ui-tree-item.css +1 -1
  93. package/styles/ui-tree.css +1 -1
  94. package/vanilla/UiActionBar.d.ts +10 -1
  95. package/vanilla/UiActionBar.js +3 -2
  96. package/vanilla/UiAffordanceScope.d.ts +10 -1
  97. package/vanilla/UiAffordanceScope.js +3 -2
  98. package/vanilla/UiAvatar.d.ts +10 -1
  99. package/vanilla/UiAvatar.js +3 -2
  100. package/vanilla/UiAvatarGroup.d.ts +10 -1
  101. package/vanilla/UiAvatarGroup.js +3 -2
  102. package/vanilla/UiBadge.d.ts +10 -1
  103. package/vanilla/UiBadge.js +3 -2
  104. package/vanilla/UiBreadcrumbItem.d.ts +10 -1
  105. package/vanilla/UiBreadcrumbItem.js +3 -2
  106. package/vanilla/UiBreadcrumbs.d.ts +10 -1
  107. package/vanilla/UiBreadcrumbs.js +3 -2
  108. package/vanilla/UiButton.d.ts +10 -1
  109. package/vanilla/UiButton.js +3 -2
  110. package/vanilla/UiCallout.d.ts +10 -1
  111. package/vanilla/UiCallout.js +3 -2
  112. package/vanilla/UiCard.d.ts +10 -1
  113. package/vanilla/UiCard.js +3 -2
  114. package/vanilla/UiCheckbox.d.ts +10 -1
  115. package/vanilla/UiCheckbox.js +3 -2
  116. package/vanilla/UiCluster.d.ts +10 -1
  117. package/vanilla/UiCluster.js +3 -2
  118. package/vanilla/UiCombobox.d.ts +14 -1
  119. package/vanilla/UiCombobox.js +34 -11
  120. package/vanilla/UiContainer.d.ts +10 -1
  121. package/vanilla/UiContainer.js +3 -2
  122. package/vanilla/UiContextMenu.d.ts +10 -1
  123. package/vanilla/UiContextMenu.js +3 -2
  124. package/vanilla/UiCover.d.ts +10 -1
  125. package/vanilla/UiCover.js +3 -2
  126. package/vanilla/UiDescriptionItem.d.ts +10 -1
  127. package/vanilla/UiDescriptionItem.js +3 -2
  128. package/vanilla/UiDescriptionList.d.ts +10 -1
  129. package/vanilla/UiDescriptionList.js +3 -2
  130. package/vanilla/UiDialog.d.ts +10 -1
  131. package/vanilla/UiDialog.js +3 -2
  132. package/vanilla/UiDisclosure.d.ts +10 -1
  133. package/vanilla/UiDisclosure.js +3 -2
  134. package/vanilla/UiEditable.d.ts +10 -1
  135. package/vanilla/UiEditable.js +3 -2
  136. package/vanilla/UiEditorBlockActions.d.ts +10 -1
  137. package/vanilla/UiEditorBlockActions.js +3 -2
  138. package/vanilla/UiEditorChipEditor.d.ts +10 -1
  139. package/vanilla/UiEditorChipEditor.js +3 -2
  140. package/vanilla/UiEditorCodeLanguage.d.ts +10 -1
  141. package/vanilla/UiEditorCodeLanguage.js +3 -2
  142. package/vanilla/UiEditorImageToolbar.d.ts +10 -1
  143. package/vanilla/UiEditorImageToolbar.js +3 -2
  144. package/vanilla/UiEditorInsertTableGrid.d.ts +10 -1
  145. package/vanilla/UiEditorInsertTableGrid.js +3 -2
  146. package/vanilla/UiEditorLinkCard.d.ts +10 -1
  147. package/vanilla/UiEditorLinkCard.js +6 -5
  148. package/vanilla/UiEditorLinkForm.d.ts +10 -1
  149. package/vanilla/UiEditorLinkForm.js +3 -2
  150. package/vanilla/UiEditorMentionMenu.d.ts +10 -1
  151. package/vanilla/UiEditorMentionMenu.js +3 -2
  152. package/vanilla/UiEditorMentionMenuItem.d.ts +10 -1
  153. package/vanilla/UiEditorMentionMenuItem.js +3 -2
  154. package/vanilla/UiEditorSlashMenu.d.ts +10 -1
  155. package/vanilla/UiEditorSlashMenu.js +3 -2
  156. package/vanilla/UiEditorSlashMenuGroup.d.ts +10 -1
  157. package/vanilla/UiEditorSlashMenuGroup.js +3 -2
  158. package/vanilla/UiEditorSlashMenuItem.d.ts +10 -1
  159. package/vanilla/UiEditorSlashMenuItem.js +3 -2
  160. package/vanilla/UiEditorSurface.d.ts +10 -1
  161. package/vanilla/UiEditorSurface.js +3 -2
  162. package/vanilla/UiEditorTableContextMenu.d.ts +10 -1
  163. package/vanilla/UiEditorTableContextMenu.js +3 -2
  164. package/vanilla/UiEditorTableOverlay.d.ts +10 -1
  165. package/vanilla/UiEditorTableOverlay.js +3 -2
  166. package/vanilla/UiEditorTableToolbar.d.ts +10 -1
  167. package/vanilla/UiEditorTableToolbar.js +3 -2
  168. package/vanilla/UiEditorToolbar.d.ts +10 -1
  169. package/vanilla/UiEditorToolbar.js +3 -2
  170. package/vanilla/UiFloatingActionButton.d.ts +10 -1
  171. package/vanilla/UiFloatingActionButton.js +3 -2
  172. package/vanilla/UiFormField.d.ts +10 -1
  173. package/vanilla/UiFormField.js +4 -3
  174. package/vanilla/UiGrid.d.ts +10 -1
  175. package/vanilla/UiGrid.js +3 -2
  176. package/vanilla/UiIcon.d.ts +11 -1
  177. package/vanilla/UiIcon.js +11 -5
  178. package/vanilla/UiIconButton.d.ts +10 -1
  179. package/vanilla/UiIconButton.js +3 -2
  180. package/vanilla/UiImage.d.ts +10 -1
  181. package/vanilla/UiImage.js +3 -2
  182. package/vanilla/UiInput.d.ts +10 -1
  183. package/vanilla/UiInput.js +3 -2
  184. package/vanilla/UiInputGroup.d.ts +10 -1
  185. package/vanilla/UiInputGroup.js +3 -2
  186. package/vanilla/UiList.d.ts +10 -1
  187. package/vanilla/UiList.js +3 -2
  188. package/vanilla/UiListItem.d.ts +10 -1
  189. package/vanilla/UiListItem.js +3 -2
  190. package/vanilla/UiListbox.d.ts +10 -1
  191. package/vanilla/UiListbox.js +3 -2
  192. package/vanilla/UiMenu.d.ts +10 -1
  193. package/vanilla/UiMenu.js +3 -2
  194. package/vanilla/UiMenuGroup.d.ts +10 -1
  195. package/vanilla/UiMenuGroup.js +3 -2
  196. package/vanilla/UiMenuItem.d.ts +10 -1
  197. package/vanilla/UiMenuItem.js +3 -2
  198. package/vanilla/UiMeter.d.ts +10 -1
  199. package/vanilla/UiMeter.js +3 -2
  200. package/vanilla/UiNavItem.d.ts +10 -1
  201. package/vanilla/UiNavItem.js +3 -2
  202. package/vanilla/UiPageHeader.d.ts +10 -1
  203. package/vanilla/UiPageHeader.js +3 -2
  204. package/vanilla/UiPopover.d.ts +10 -1
  205. package/vanilla/UiPopover.js +3 -2
  206. package/vanilla/UiRadio.d.ts +10 -1
  207. package/vanilla/UiRadio.js +3 -2
  208. package/vanilla/UiRadioGroup.d.ts +10 -1
  209. package/vanilla/UiRadioGroup.js +3 -2
  210. package/vanilla/UiReel.d.ts +10 -1
  211. package/vanilla/UiReel.js +3 -2
  212. package/vanilla/UiScrollArea.d.ts +10 -1
  213. package/vanilla/UiScrollArea.js +3 -2
  214. package/vanilla/UiSearchResultRow.d.ts +10 -1
  215. package/vanilla/UiSearchResultRow.js +3 -2
  216. package/vanilla/UiSearchShell.d.ts +10 -1
  217. package/vanilla/UiSearchShell.js +3 -2
  218. package/vanilla/UiSection.d.ts +10 -1
  219. package/vanilla/UiSection.js +3 -2
  220. package/vanilla/UiSelect.d.ts +10 -1
  221. package/vanilla/UiSelect.js +3 -2
  222. package/vanilla/UiSeparator.d.ts +10 -1
  223. package/vanilla/UiSeparator.js +3 -2
  224. package/vanilla/UiSidebar.d.ts +10 -1
  225. package/vanilla/UiSidebar.js +3 -2
  226. package/vanilla/UiSpinner.d.ts +10 -1
  227. package/vanilla/UiSpinner.js +3 -2
  228. package/vanilla/UiStack.d.ts +10 -1
  229. package/vanilla/UiStack.js +3 -2
  230. package/vanilla/UiStatusMessage.d.ts +10 -1
  231. package/vanilla/UiStatusMessage.js +3 -2
  232. package/vanilla/UiSwatch.d.ts +10 -1
  233. package/vanilla/UiSwatch.js +3 -2
  234. package/vanilla/UiSwitch.d.ts +10 -1
  235. package/vanilla/UiSwitch.js +3 -2
  236. package/vanilla/UiSwitcher.d.ts +10 -1
  237. package/vanilla/UiSwitcher.js +4 -3
  238. package/vanilla/UiTable.d.ts +10 -1
  239. package/vanilla/UiTable.js +3 -2
  240. package/vanilla/UiTabs.d.ts +10 -1
  241. package/vanilla/UiTabs.js +3 -2
  242. package/vanilla/UiText.d.ts +10 -1
  243. package/vanilla/UiText.js +3 -2
  244. package/vanilla/UiTextarea.d.ts +10 -1
  245. package/vanilla/UiTextarea.js +3 -2
  246. package/vanilla/UiToast.d.ts +10 -1
  247. package/vanilla/UiToast.js +3 -2
  248. package/vanilla/UiToastRegion.d.ts +10 -1
  249. package/vanilla/UiToastRegion.js +3 -2
  250. package/vanilla/UiTooltip.d.ts +10 -1
  251. package/vanilla/UiTooltip.js +3 -2
  252. package/vanilla/UiTopBar.d.ts +10 -1
  253. package/vanilla/UiTopBar.js +3 -2
  254. package/vanilla/UiTree.d.ts +10 -1
  255. package/vanilla/UiTree.js +3 -2
  256. package/vanilla/UiTreeItem.d.ts +10 -1
  257. package/vanilla/UiTreeItem.js +3 -2
  258. package/vue/UiActionBar.vue +1 -1
  259. package/vue/UiAffordanceScope.vue +2 -2
  260. package/vue/UiAvatar.vue +2 -2
  261. package/vue/UiAvatarGroup.vue +2 -2
  262. package/vue/UiBadge.d.ts +1 -1
  263. package/vue/UiBadge.vue +2 -2
  264. package/vue/UiBreadcrumbItem.vue +2 -2
  265. package/vue/UiBreadcrumbs.vue +1 -1
  266. package/vue/UiButton.d.ts +1 -1
  267. package/vue/UiButton.vue +2 -2
  268. package/vue/UiCallout.vue +2 -2
  269. package/vue/UiCard.vue +2 -2
  270. package/vue/UiCheckbox.vue +2 -2
  271. package/vue/UiCluster.vue +2 -2
  272. package/vue/UiCombobox.d.ts +36 -13
  273. package/vue/UiCombobox.vue +130 -4
  274. package/vue/UiContainer.vue +2 -2
  275. package/vue/UiContextMenu.vue +1 -1
  276. package/vue/UiCover.vue +4 -7
  277. package/vue/UiDescriptionItem.vue +1 -1
  278. package/vue/UiDescriptionList.vue +2 -2
  279. package/vue/UiDialog.vue +2 -2
  280. package/vue/UiDisclosure.vue +2 -2
  281. package/vue/UiEditable.vue +2 -2
  282. package/vue/UiEditorBlockActions.vue +1 -1
  283. package/vue/UiEditorChipEditor.vue +1 -1
  284. package/vue/UiEditorCodeLanguage.vue +1 -1
  285. package/vue/UiEditorImageToolbar.vue +7 -4
  286. package/vue/UiEditorInsertTableGrid.vue +1 -1
  287. package/vue/UiEditorLinkCard.vue +6 -5
  288. package/vue/UiEditorLinkForm.vue +45 -45
  289. package/vue/UiEditorMentionMenu.vue +1 -1
  290. package/vue/UiEditorMentionMenuItem.vue +1 -1
  291. package/vue/UiEditorSlashMenu.vue +1 -1
  292. package/vue/UiEditorSlashMenuGroup.vue +1 -1
  293. package/vue/UiEditorSlashMenuItem.vue +1 -1
  294. package/vue/UiEditorSurface.vue +2 -2
  295. package/vue/UiEditorTableContextMenu.vue +1 -1
  296. package/vue/UiEditorTableOverlay.vue +1 -1
  297. package/vue/UiEditorTableToolbar.vue +1 -1
  298. package/vue/UiEditorToolbar.vue +2 -2
  299. package/vue/UiFloatingActionButton.vue +2 -2
  300. package/vue/UiFormField.d.ts +1 -1
  301. package/vue/UiFormField.vue +3 -3
  302. package/vue/UiGrid.vue +2 -2
  303. package/vue/UiIcon.d.ts +9 -0
  304. package/vue/UiIcon.vue +40 -2
  305. package/vue/UiIconButton.vue +2 -2
  306. package/vue/UiImage.vue +2 -2
  307. package/vue/UiInput.vue +2 -2
  308. package/vue/UiInputGroup.vue +2 -2
  309. package/vue/UiList.vue +2 -2
  310. package/vue/UiListItem.vue +2 -2
  311. package/vue/UiListbox.vue +1 -1
  312. package/vue/UiMenu.vue +2 -2
  313. package/vue/UiMenuGroup.vue +1 -1
  314. package/vue/UiMenuItem.vue +2 -2
  315. package/vue/UiMeter.vue +2 -2
  316. package/vue/UiNavItem.vue +2 -2
  317. package/vue/UiPageHeader.vue +2 -2
  318. package/vue/UiPopover.vue +2 -2
  319. package/vue/UiRadio.vue +2 -2
  320. package/vue/UiRadioGroup.vue +2 -2
  321. package/vue/UiReel.vue +9 -12
  322. package/vue/UiScrollArea.vue +3 -3
  323. package/vue/UiSearchResultRow.vue +2 -2
  324. package/vue/UiSearchShell.vue +1 -1
  325. package/vue/UiSection.vue +2 -2
  326. package/vue/UiSelect.vue +2 -2
  327. package/vue/UiSeparator.vue +2 -2
  328. package/vue/UiSidebar.vue +2 -2
  329. package/vue/UiSpinner.vue +2 -2
  330. package/vue/UiStack.vue +2 -2
  331. package/vue/UiStatusMessage.vue +2 -2
  332. package/vue/UiSwatch.vue +2 -2
  333. package/vue/UiSwitch.vue +2 -2
  334. package/vue/UiSwitcher.vue +23 -27
  335. package/vue/UiTable.vue +2 -2
  336. package/vue/UiTabs.vue +2 -2
  337. package/vue/UiText.d.ts +1 -1
  338. package/vue/UiText.vue +2 -2
  339. package/vue/UiTextarea.vue +2 -2
  340. package/vue/UiToast.vue +2 -2
  341. package/vue/UiToastRegion.vue +2 -2
  342. package/vue/UiTooltip.vue +2 -2
  343. package/vue/UiTopBar.vue +1 -1
  344. package/vue/UiTree.vue +2 -2
  345. package/vue/UiTreeItem.vue +2 -2
  346. package/vue/chunks/UiActionBar.js +1 -1
  347. package/vue/chunks/UiAffordanceScope.js +2 -2
  348. package/vue/chunks/UiAvatar.js +2 -2
  349. package/vue/chunks/UiAvatarGroup.js +2 -2
  350. package/vue/chunks/UiBadge.js +2 -2
  351. package/vue/chunks/UiBreadcrumbItem.js +2 -2
  352. package/vue/chunks/UiBreadcrumbs.js +1 -1
  353. package/vue/chunks/UiButton.js +2 -2
  354. package/vue/chunks/UiCallout.js +2 -2
  355. package/vue/chunks/UiCard.js +2 -2
  356. package/vue/chunks/UiCheckbox.js +2 -2
  357. package/vue/chunks/UiCluster.js +2 -2
  358. package/vue/chunks/UiCombobox.js +117 -5
  359. package/vue/chunks/UiContainer.js +2 -2
  360. package/vue/chunks/UiContextMenu.js +1 -1
  361. package/vue/chunks/UiCover.js +2 -2
  362. package/vue/chunks/UiDescriptionItem.js +1 -1
  363. package/vue/chunks/UiDescriptionList.js +2 -2
  364. package/vue/chunks/UiDialog.js +2 -2
  365. package/vue/chunks/UiDisclosure.js +3 -3
  366. package/vue/chunks/UiEditable.js +2 -2
  367. package/vue/chunks/UiEditorImageToolbar.js +3 -2
  368. package/vue/chunks/UiEditorInsertTableGrid.js +1 -1
  369. package/vue/chunks/UiEditorLinkCard.js +18 -22
  370. package/vue/chunks/UiEditorLinkForm.js +68 -71
  371. package/vue/chunks/UiEditorMentionMenu.js +1 -1
  372. package/vue/chunks/UiEditorMentionMenuItem.js +1 -1
  373. package/vue/chunks/UiEditorSlashMenu.js +1 -1
  374. package/vue/chunks/UiEditorSlashMenuGroup.js +1 -1
  375. package/vue/chunks/UiEditorSlashMenuItem.js +1 -1
  376. package/vue/chunks/UiEditorSurface.js +2 -2
  377. package/vue/chunks/UiEditorTableContextMenu.js +1 -1
  378. package/vue/chunks/UiEditorTableOverlay.js +2 -2
  379. package/vue/chunks/UiEditorTableToolbar.js +1 -1
  380. package/vue/chunks/UiEditorToolbar.js +2 -2
  381. package/vue/chunks/UiFloatingActionButton.js +2 -2
  382. package/vue/chunks/UiFormField.js +3 -3
  383. package/vue/chunks/UiGrid.js +2 -2
  384. package/vue/chunks/UiIcon.js +61 -21
  385. package/vue/chunks/UiIconButton.js +2 -2
  386. package/vue/chunks/UiImage.js +2 -2
  387. package/vue/chunks/UiInput.js +2 -2
  388. package/vue/chunks/UiInputGroup.js +2 -2
  389. package/vue/chunks/UiList.js +2 -2
  390. package/vue/chunks/UiListItem.js +2 -2
  391. package/vue/chunks/UiListbox.js +1 -1
  392. package/vue/chunks/UiMenu.js +2 -2
  393. package/vue/chunks/UiMenuGroup.js +1 -1
  394. package/vue/chunks/UiMenuItem.js +2 -2
  395. package/vue/chunks/UiMeter.js +2 -2
  396. package/vue/chunks/UiNavItem.js +2 -2
  397. package/vue/chunks/UiPageHeader.js +2 -2
  398. package/vue/chunks/UiPopover.js +2 -2
  399. package/vue/chunks/UiRadio.js +2 -2
  400. package/vue/chunks/UiRadioGroup.js +2 -2
  401. package/vue/chunks/UiReel.js +2 -2
  402. package/vue/chunks/UiScrollArea.js +4 -4
  403. package/vue/chunks/UiSearchResultRow.js +2 -2
  404. package/vue/chunks/UiSearchShell.js +1 -1
  405. package/vue/chunks/UiSection.js +2 -2
  406. package/vue/chunks/UiSelect.js +2 -2
  407. package/vue/chunks/UiSeparator.js +2 -2
  408. package/vue/chunks/UiSidebar.js +2 -2
  409. package/vue/chunks/UiSpinner.js +2 -2
  410. package/vue/chunks/UiStack.js +2 -2
  411. package/vue/chunks/UiStatusMessage.js +2 -2
  412. package/vue/chunks/UiSwatch.js +2 -2
  413. package/vue/chunks/UiSwitch.js +2 -2
  414. package/vue/chunks/UiSwitcher.js +2 -2
  415. package/vue/chunks/UiTable.js +2 -2
  416. package/vue/chunks/UiTabs.js +2 -2
  417. package/vue/chunks/UiText.js +2 -2
  418. package/vue/chunks/UiTextarea.js +2 -2
  419. package/vue/chunks/UiToast.js +2 -2
  420. package/vue/chunks/UiToastRegion.js +2 -2
  421. package/vue/chunks/UiTooltip.js +2 -2
  422. package/vue/chunks/UiTopBar.js +1 -1
  423. package/vue/chunks/UiTree.js +2 -2
  424. package/vue/chunks/UiTreeItem.js +2 -2
  425. package/vue/chunks/_plugin-vue_export-helper.js +13 -3
  426. package/vue/components.css +83 -76
  427. package/vue/editor/index.js +211 -30
  428. package/vue/host.ts +9 -5
@@ -1,4 +1,4 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.57 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.58 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'
@@ -393,13 +393,16 @@ useComponentHost(() => import('../components/ui-editor-image-toolbar/ui-editor-i
393
393
  :open="describing"
394
394
  ref="descriptionElement"
395
395
  ><form aria-label="Image description">
396
- <UiStack gap="s"><UiFormField><label slot="label" :for="guardedBinding18">Alt text</label>
397
- <UiInput
396
+ <UiStack gap="s"><UiFormField><UiInput
398
397
  size="sm"
399
398
  :id="guardedBinding19"
400
399
  :value="draft"
401
400
  ref="altElement"
402
- /></UiFormField>{{ ' ' }}<UiText size="xs" tone="secondary"
401
+ />
402
+ <template #label><label slot="label" :for="guardedBinding18"
403
+ >Alt text</label></template></UiFormField>{{ ' ' }}<UiText
404
+ size="xs"
405
+ tone="secondary"
403
406
  >Describe the image for people using a screen reader.</UiText>{{ ' ' }}<UiCluster
404
407
  justify="end"
405
408
  gap="xs"
@@ -1,4 +1,4 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.57 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.58 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'
@@ -1,4 +1,4 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.57 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.58 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'
@@ -267,16 +267,17 @@ useComponentHost(() => import('../components/ui-editor-link-card/ui-editor-link-
267
267
  :data-ui-editor-link-card-prop-target-label="reflectedProp('targetLabel', 'target-label', checkedProps.targetLabel, undefined, false)"
268
268
  ref="root"
269
269
  >
270
- <UiCard variant="elevated" padding="xs" size="content"><UiCluster
270
+ <UiCard variant="elevated" padding="xs" size="sm"><UiCluster
271
271
  gap="xs"
272
272
  wrap="nowrap"
273
273
  role="group"
274
274
  aria-label="Link actions"
275
275
  ><UiIcon :name="guarded" />{{ ' ' }}<UiStack
276
276
  gap="none"
277
+ :fill="true"
277
278
  :title="checkedProps.href"
278
279
  :aria-label="guardedBinding"
279
- ><UiText as="strong" size="sm" weight="medium" font="sans" wrap="anywhere">{{
280
+ ><UiText as="strong" size="sm" weight="medium" font="sans" :truncate="true">{{
280
281
  text(shown)
281
282
  }}</UiText>{{ ' ' }}<UiText
282
283
  v-if="checkedProps.detail !== ''"
@@ -284,6 +285,7 @@ useComponentHost(() => import('../components/ui-editor-link-card/ui-editor-link-
284
285
  size="xs"
285
286
  tone="secondary"
286
287
  font="sans"
288
+ :truncate="true"
287
289
  >{{ checkedProps.detail }}</UiText></UiStack>{{ ' ' }}<template
288
290
  v-if="checkedProps.openHref !== ''"
289
291
  >{{ ' ' }}<UiButton
@@ -296,8 +298,7 @@ useComponentHost(() => import('../components/ui-editor-link-card/ui-editor-link-
296
298
  aria-label="Open link"
297
299
  :id="guardedBinding2"
298
300
  :href="checkedProps.openHref"
299
- ><UiCluster gap="xs" wrap="nowrap"><UiIcon name="external-link" />Open
300
- link</UiCluster></UiButton>{{ ' ' }}<UiTooltip :for="guardedBinding3"
301
+ ><UiIcon name="external-link" /></UiButton>{{ ' ' }}<UiTooltip :for="guardedBinding3"
301
302
  >Open link</UiTooltip>{{ ' ' }}</template>{{ ' ' }}<UiIconButton
302
303
  label="Edit link"
303
304
  variant="ghost"
@@ -1,4 +1,4 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.57 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.58 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'
@@ -464,15 +464,10 @@ useComponentHost(() => import('../components/ui-editor-link-form/ui-editor-link-
464
464
  >
465
465
  <UiStack gap="s"><UiText as="h3" size="sm" weight="semibold">{{ text(heading) }}</UiText>{{
466
466
  ' '
467
- }}<UiStack gap="s"><UiFormField :invalid="checkedProps.error !== ''"><label
468
- slot="label"
469
- :for="guarded"
470
- >{{ text(fieldLabel) }}</label>
471
- <UiInputGroup v-if="checkedProps.searchable" prefix-kind="icon"><UiIcon
472
- slot="prefix"
473
- :name="guardedBinding"
474
- />
475
- <UiInput
467
+ }}<UiStack gap="s"><UiFormField :invalid="checkedProps.error !== ''"><UiInputGroup
468
+ v-if="checkedProps.searchable"
469
+ prefix-kind="icon"
470
+ ><UiInput
476
471
  data-link-destination=""
477
472
  data-link-search=""
478
473
  type="text"
@@ -482,14 +477,15 @@ useComponentHost(() => import('../components/ui-editor-link-form/ui-editor-link-
482
477
  :placeholder="checkedProps.placeholder"
483
478
  :value="checkedProps.value"
484
479
  />
485
- <UiIconButton
486
- v-if="checkedProps.value !== ''"
487
- slot="action"
488
- label="Clear search"
489
- variant="ghost"
490
- size="sm"
491
- data-link-clear=""
492
- ><UiIcon name="x" /></UiIconButton></UiInputGroup>{{ ' ' }}<template
480
+ <template #prefix><UiIcon slot="prefix" :name="guardedBinding" /></template>
481
+ <template #action><UiIconButton
482
+ v-if="checkedProps.value !== ''"
483
+ slot="action"
484
+ label="Clear search"
485
+ variant="ghost"
486
+ size="sm"
487
+ data-link-clear=""
488
+ ><UiIcon name="x" /></UiIconButton></template></UiInputGroup>{{ ' ' }}<template
493
489
  v-if="!checkedProps.searchable"
494
490
  >{{ ' ' }}<UiInput
495
491
  data-link-destination=""
@@ -499,7 +495,10 @@ useComponentHost(() => import('../components/ui-editor-link-form/ui-editor-link-
499
495
  :id="guardedBinding3"
500
496
  :placeholder="checkedProps.placeholder"
501
497
  :value="checkedProps.value"
502
- />{{ ' ' }}</template></UiFormField>{{ ' ' }}<UiScrollArea
498
+ />{{ ' ' }}</template>
499
+ <template #label><label slot="label" :for="guarded">{{
500
+ text(fieldLabel)
501
+ }}</label></template></UiFormField>{{ ' ' }}<UiScrollArea
503
502
  v-if="checkedProps.mode === 'target'"
504
503
  size="sm"
505
504
  aria-label="Destination search results"
@@ -512,40 +511,41 @@ useComponentHost(() => import('../components/ui-editor-link-form/ui-editor-link-
512
511
  data-link-result=""
513
512
  :selected="result.id === checkedProps.selected"
514
513
  :data-link-id="result.id"
515
- ><UiIcon slot="leading" name="file-text" />
516
- <UiText
517
- slot="title"
518
- as="strong"
519
- size="sm"
520
- weight="medium"
521
- :truncate="true"
522
- :title="result.label"
523
- >{{ result.label }}</UiText>
524
- <UiText
525
- v-if="result.detail"
526
- slot="meta"
527
- as="span"
528
- size="xs"
529
- tone="secondary"
530
- :truncate="true"
531
- :title="result.detail"
532
- >{{ result.detail }}</UiText>
533
- <UiIcon
534
- v-if="result.id === checkedProps.selected"
535
- slot="trailing"
536
- name="check"
537
- /></UiSearchResultRow></KeyedBoundary></UiScrollArea>{{ ' ' }}<template
514
+ ><template #leading><UiIcon slot="leading" name="file-text" /></template>
515
+ <template #title><UiText
516
+ slot="title"
517
+ as="strong"
518
+ size="sm"
519
+ weight="medium"
520
+ :truncate="true"
521
+ :title="result.label"
522
+ >{{ result.label }}</UiText></template>
523
+ <template #meta><UiText
524
+ v-if="result.detail"
525
+ slot="meta"
526
+ as="span"
527
+ size="xs"
528
+ tone="secondary"
529
+ :truncate="true"
530
+ :title="result.detail"
531
+ >{{ result.detail }}</UiText></template>
532
+ <template #trailing><UiIcon
533
+ v-if="result.id === checkedProps.selected"
534
+ slot="trailing"
535
+ name="check"
536
+ /></template></UiSearchResultRow></KeyedBoundary></UiScrollArea>{{ ' ' }}<template
538
537
  v-if="checkedProps.mode === 'url'"
539
538
  >{{ ' ' }}<UiCheckbox size="sm" data-link-new-tab="" :checked="checkedProps.newTab"
540
539
  >Open in new tab</UiCheckbox>{{ ' ' }}</template></UiStack>{{ ' ' }}<template
541
540
  v-if="checkedProps.textEditable"
542
- >{{ ' ' }}<UiFormField><label slot="label" :for="guardedBinding4">Text</label>
543
- <UiInput
541
+ >{{ ' ' }}<UiFormField><UiInput
544
542
  data-link-text=""
545
543
  size="sm"
546
544
  :id="guardedBinding5"
547
545
  :value="checkedProps.text"
548
- /></UiFormField>{{ ' ' }}</template>{{ ' ' }}<UiText
546
+ />
547
+ <template #label><label slot="label" :for="guardedBinding4"
548
+ >Text</label></template></UiFormField>{{ ' ' }}</template>{{ ' ' }}<UiText
549
549
  v-if="checkedProps.error !== ''"
550
550
  size="sm"
551
551
  tone="danger"
@@ -1,4 +1,4 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.57 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.58 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'
@@ -1,4 +1,4 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.57 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.58 for Vue 3.5. Do not edit. -->
2
2
  <script setup lang="ts">
3
3
  import { computed, watchSyncEffect } from 'vue'
4
4
  import type { PropType } from 'vue'
@@ -1,4 +1,4 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.57 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.58 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'
@@ -1,4 +1,4 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.57 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.58 for Vue 3.5. Do not edit. -->
2
2
  <script setup lang="ts">
3
3
  import { computed, watchSyncEffect } from 'vue'
4
4
  import type { PropType } from 'vue'
@@ -1,4 +1,4 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.57 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.58 for Vue 3.5. Do not edit. -->
2
2
  <script setup lang="ts">
3
3
  import { computed, watchSyncEffect } from 'vue'
4
4
  import type { PropType } from 'vue'
@@ -1,4 +1,4 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.57 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.58 for Vue 3.5. Do not edit. -->
2
2
  <script setup lang="ts">
3
3
  import { computed, watchSyncEffect } from 'vue'
4
4
  import type { PropType } from 'vue'
@@ -44,7 +44,7 @@ const reflectedProp = useReflectedProp()
44
44
 
45
45
  checkHydratedRoot('div', 'ui-editor-surface')
46
46
 
47
- /** The values the styles' :host() prop and state rules test. */
47
+ /** The values the styles' :host() and :state() rules test. */
48
48
  const hostState = computed(() =>
49
49
  [
50
50
  checkedProps.value.density && 'density',
@@ -1,4 +1,4 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.57 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.58 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'
@@ -1,4 +1,4 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.57 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.58 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'
@@ -1,4 +1,4 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.57 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.58 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'
@@ -1,4 +1,4 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.57 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.58 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'
@@ -49,7 +49,7 @@ const root = ref<HTMLElement | null>(null)
49
49
  const stripElement = useTemplateRef<HTMLElement>('stripElement')
50
50
  checkHydratedRoot('div', 'ui-editor-toolbar')
51
51
 
52
- /** The values the styles' :host() prop and state rules test. */
52
+ /** The values the styles' :host() and :state() rules test. */
53
53
  const hostState = computed(() =>
54
54
  [
55
55
  checkedProps.value.floating && 'floating',
@@ -1,4 +1,4 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.57 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.58 for Vue 3.5. Do not edit. -->
2
2
  <script setup lang="ts">
3
3
  import { computed, watchSyncEffect } from 'vue'
4
4
  import type { PropType } from 'vue'
@@ -72,7 +72,7 @@ const reflectedProp = useReflectedProp()
72
72
 
73
73
  checkHydratedRoot('button', 'ui-floating-action-button')
74
74
 
75
- /** The values the styles' :host() prop and state rules test. */
75
+ /** The values the styles' :host() and :state() rules test. */
76
76
  const hostState = computed(() =>
77
77
  [
78
78
  checkedProps.value.mobileOnly && 'mobileOnly',
@@ -3,7 +3,7 @@ declare var __VLS_1: {}, __VLS_3: {}, __VLS_5: {}, __VLS_7: {}, __VLS_9: {};
3
3
  type __VLS_Slots = {} & {
4
4
  label?: (props: typeof __VLS_1) => any;
5
5
  } & {
6
- 'label-action'?: (props: typeof __VLS_3) => any;
6
+ labelAction?: (props: typeof __VLS_3) => any;
7
7
  } & {
8
8
  default?: (props: typeof __VLS_5) => any;
9
9
  } & {
@@ -1,4 +1,4 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.57 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.58 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'
@@ -80,7 +80,7 @@ const hydrationInstance = getCurrentInstance()
80
80
  const root = ref<HTMLElement | null>(null)
81
81
  checkHydratedRoot('div', 'ui-form-field')
82
82
 
83
- /** The values the styles' :host() prop and state rules test. */
83
+ /** The values the styles' :host() and :state() rules test. */
84
84
  const hostState = computed(() =>
85
85
  [
86
86
  checkedProps.value.invalid && 'invalid',
@@ -125,7 +125,7 @@ useComponentHost(() => import('../components/ui-form-field/ui-form-field.js'), {
125
125
  >
126
126
  <div class="label" data-hn-ui-form-field>
127
127
  <slot name="label" />{{ ' ' }}<span class="label-action" data-hn-ui-form-field><slot
128
- name="label-action"
128
+ name="labelAction"
129
129
  /></span>
130
130
  </div>
131
131
  <slot />
package/vue/UiGrid.vue CHANGED
@@ -1,4 +1,4 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.57 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.58 for Vue 3.5. Do not edit. -->
2
2
  <script setup lang="ts">
3
3
  import { computed, watchSyncEffect } from 'vue'
4
4
  import type { PropType } from 'vue'
@@ -71,7 +71,7 @@ const reflectedProp = useReflectedProp()
71
71
 
72
72
  checkHydratedRoot('div', 'ui-grid')
73
73
 
74
- /** The values the styles' :host() prop and state rules test. */
74
+ /** The values the styles' :host() and :state() rules test. */
75
75
  const hostState = computed(() =>
76
76
  [
77
77
  checkedProps.value.gap && 'gap',
package/vue/UiIcon.d.ts CHANGED
@@ -4,13 +4,22 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
4
4
  type: PropType<string | null>;
5
5
  default: string;
6
6
  };
7
+ tone: {
8
+ type: PropType<"inherit" | "secondary" | "muted" | null>;
9
+ default: string;
10
+ };
7
11
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
8
12
  name: {
9
13
  type: PropType<string | null>;
10
14
  default: string;
11
15
  };
16
+ tone: {
17
+ type: PropType<"inherit" | "secondary" | "muted" | null>;
18
+ default: string;
19
+ };
12
20
  }>> & Readonly<{}>, {
13
21
  name: string | null;
22
+ tone: "secondary" | "inherit" | "muted" | null;
14
23
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
15
24
  declare const _default: typeof __VLS_export;
16
25
  export default _default;
package/vue/UiIcon.vue CHANGED
@@ -1,4 +1,4 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.57 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.58 for Vue 3.5. Do not edit. -->
2
2
  <script setup lang="ts">
3
3
  import { computed, watchSyncEffect } from 'vue'
4
4
  import type { PropType } from 'vue'
@@ -24,12 +24,25 @@ const propValidityContract = {
24
24
  'Which icon to draw, by its name in Looma\'s icon set (LOOMA_ICONS), such as "align-left". An unknown or empty name draws nothing. The icon is hidden from\n assistive technology, so name the control it sits in.',
25
25
  default: '',
26
26
  },
27
+ tone: {
28
+ type: { kind: 'terminal', name: 'keyword' },
29
+ required: false,
30
+ target: { attribute: 'tone' },
31
+ description:
32
+ 'Icon colour. inherit follows its control; secondary and muted keep a supporting icon quiet without a text wrapper.',
33
+ values: ['inherit', 'secondary', 'muted'],
34
+ default: 'inherit',
35
+ },
27
36
  },
28
37
  } as const
29
38
  const props = defineProps({
30
39
  name: { type: null as unknown as PropType<string | null>, default: '' },
40
+ tone: {
41
+ type: null as unknown as PropType<'inherit' | 'secondary' | 'muted' | null>,
42
+ default: 'inherit',
43
+ },
31
44
  })
32
- const acceptedProps: Record<string, unknown> = { name: '' }
45
+ const acceptedProps: Record<string, unknown> = { name: '', tone: 'inherit' }
33
46
  const checkedProps = computed(() => ({
34
47
  name: checkedProp<string>(
35
48
  props['name'],
@@ -38,6 +51,13 @@ const checkedProps = computed(() => ({
38
51
  'name',
39
52
  acceptedProps,
40
53
  ) as string,
54
+ tone: checkedProp<'inherit' | 'secondary' | 'muted'>(
55
+ props['tone'],
56
+ { kind: 'terminal', name: 'keyword' },
57
+ false,
58
+ 'tone',
59
+ acceptedProps,
60
+ ) as 'inherit' | 'secondary' | 'muted',
41
61
  }))
42
62
  void checkedProps.value
43
63
  watchSyncEffect(() => {
@@ -418,6 +438,14 @@ const shapes = cycleCheckedComputed(() =>
418
438
  }) as Record<string, any>)[checkedProps.value.name]
419
439
  )
420
440
  checkHydratedRoot('span', 'ui-icon')
441
+
442
+ /** The values the styles' :host() and :state() rules test. */
443
+ const hostState = computed(() =>
444
+ [
445
+ checkedProps.value.tone && 'tone',
446
+ checkedProps.value.tone != null && `tone=${encodeURIComponent(checkedProps.value.tone)}`,
447
+ ].filter(Boolean).join(' ')
448
+ )
421
449
  </script>
422
450
 
423
451
  <template>
@@ -428,6 +456,8 @@ checkHydratedRoot('span', 'ui-icon')
428
456
  data-hn
429
457
  v-prop-validity="{ contract: propValidityContract, values: { ...props } }"
430
458
  :data-ui-icon-prop-name="reflectedProp('name', 'name', checkedProps.name, undefined, false)"
459
+ :data-ui-icon-prop-tone="reflectedProp('tone', 'tone', checkedProps.tone, undefined, false)"
460
+ :data-ui-icon-state="hostState || undefined"
431
461
  ><svg
432
462
  viewBox="0 0 24 24"
433
463
  fill="none"
@@ -493,6 +523,14 @@ checkHydratedRoot('span', 'ui-icon')
493
523
  block-size: var(--ui-icon-size, var(--_ui-default-icon-size, 1em));
494
524
  }
495
525
 
526
+ :global(:scope[data-ui-icon-state~="tone=secondary"]) {
527
+ color: var(--ui-text-secondary);
528
+ }
529
+
530
+ :global(:scope[data-ui-icon-state~="tone=muted"]) {
531
+ color: var(--ui-text-muted);
532
+ }
533
+
496
534
  :global(svg) {
497
535
  inline-size: 100%;
498
536
  block-size: 100%;
@@ -1,4 +1,4 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.57 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.58 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'
@@ -280,7 +280,7 @@ const guarded = computed(() => {
280
280
  })
281
281
  checkHydratedRoot('button', 'ui-icon-button')
282
282
 
283
- /** The values the styles' :host() prop and state rules test. */
283
+ /** The values the styles' :host() and :state() rules test. */
284
284
  const hostState = computed(() =>
285
285
  [
286
286
  checkedProps.value.tone && 'tone',
package/vue/UiImage.vue CHANGED
@@ -1,4 +1,4 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.57 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.58 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'
@@ -166,7 +166,7 @@ const root = ref<HTMLElement | null>(null)
166
166
  const frameElement = useTemplateRef<HTMLElement>('frameElement')
167
167
  checkHydratedRoot('figure', 'ui-image')
168
168
 
169
- /** The values the styles' :host() prop and state rules test. */
169
+ /** The values the styles' :host() and :state() rules test. */
170
170
  const hostState = computed(() =>
171
171
  [
172
172
  checkedProps.value.placement && 'placement',
package/vue/UiInput.vue CHANGED
@@ -1,4 +1,4 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.57 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.58 for Vue 3.5. Do not edit. -->
2
2
  <script
3
3
  setup
4
4
  lang="ts"
@@ -400,7 +400,7 @@ const model = computed({
400
400
  const root = ref<HTMLElement | null>(null)
401
401
  checkHydratedRoot('input', 'ui-input')
402
402
 
403
- /** The values the styles' :host() prop and state rules test. */
403
+ /** The values the styles' :host() and :state() rules test. */
404
404
  const hostState = computed(() =>
405
405
  [
406
406
  checkedProps.value.size && 'size',
@@ -1,4 +1,4 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.57 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.58 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'
@@ -123,7 +123,7 @@ const hydrationInstance = getCurrentInstance()
123
123
  const root = ref<HTMLElement | null>(null)
124
124
  checkHydratedRoot('div', 'ui-input-group')
125
125
 
126
- /** The values the styles' :host() prop and state rules test. */
126
+ /** The values the styles' :host() and :state() rules test. */
127
127
  const hostState = computed(() =>
128
128
  [
129
129
  checkedProps.value.variant && 'variant',
package/vue/UiList.vue CHANGED
@@ -1,4 +1,4 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.57 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.58 for Vue 3.5. Do not edit. -->
2
2
  <script setup lang="ts">
3
3
  import { computed, useTemplateRef, watchSyncEffect } from 'vue'
4
4
  import type { PropType } from 'vue'
@@ -103,7 +103,7 @@ const root = rootArmElement
103
103
  preserveRootFocus(root)
104
104
  checkHydratedRoot((checkedProps.value.as === 'ol') ? 'ol' : ('ul'), 'ui-list')
105
105
 
106
- /** The values the styles' :host() prop and state rules test. */
106
+ /** The values the styles' :host() and :state() rules test. */
107
107
  const hostState = computed(() =>
108
108
  [
109
109
  checkedProps.value.as && 'as',
@@ -1,4 +1,4 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.57 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.58 for Vue 3.5. Do not edit. -->
2
2
  <script setup lang="ts">
3
3
  import { computed, watchSyncEffect } from 'vue'
4
4
  import type { PropType } from 'vue'
@@ -129,7 +129,7 @@ const reflectedProp = useReflectedProp()
129
129
 
130
130
  checkHydratedRoot('li', 'ui-list-item')
131
131
 
132
- /** The values the styles' :host() prop and state rules test. */
132
+ /** The values the styles' :host() and :state() rules test. */
133
133
  const hostState = computed(() =>
134
134
  [
135
135
  checkedProps.value.variant && 'variant',
package/vue/UiListbox.vue CHANGED
@@ -1,4 +1,4 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.57 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.58 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'
package/vue/UiMenu.vue CHANGED
@@ -1,4 +1,4 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.57 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.58 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'
@@ -186,7 +186,7 @@ const internalOpen = ref(false)
186
186
  provide('html-next:ui-menu:internalOpen', internalOpen)
187
187
  checkHydratedRoot('div', 'ui-menu')
188
188
 
189
- /** The values the styles' :host() prop and state rules test. */
189
+ /** The values the styles' :host() and :state() rules test. */
190
190
  const hostState = computed(() =>
191
191
  [
192
192
  checkedProps.value.density && 'density',
@@ -1,4 +1,4 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.57 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.58 for Vue 3.5. Do not edit. -->
2
2
  <script setup lang="ts">
3
3
  import { computed, watchSyncEffect } from 'vue'
4
4
  import type { PropType } from 'vue'
@@ -1,4 +1,4 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.57 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.58 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'
@@ -187,7 +187,7 @@ checkHydratedRoot(
187
187
  'ui-menu-item',
188
188
  )
189
189
 
190
- /** The values the styles' :host() prop and state rules test. */
190
+ /** The values the styles' :host() and :state() rules test. */
191
191
  const hostState = computed(() =>
192
192
  [
193
193
  checkedProps.value.tone && 'tone',
package/vue/UiMeter.vue CHANGED
@@ -1,4 +1,4 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.57 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.58 for Vue 3.5. Do not edit. -->
2
2
  <script setup lang="ts">
3
3
  import { computed, watchSyncEffect } from 'vue'
4
4
  import type { PropType } from 'vue'
@@ -784,7 +784,7 @@ const guardedBinding7 = computed(() => {
784
784
  })
785
785
  checkHydratedRoot('span', 'ui-meter')
786
786
 
787
- /** The values the styles' :host() prop and state rules test. */
787
+ /** The values the styles' :host() and :state() rules test. */
788
788
  const hostState = computed(() =>
789
789
  [
790
790
  checkedProps.value.size && 'size',