@threadlabs/looma 0.23.16 → 0.23.17

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 (402) hide show
  1. package/components/ui-avatar/ui-avatar.html +1 -1
  2. package/components/ui-avatar-group/ui-avatar-group.html +1 -3
  3. package/components/ui-breadcrumb-item/ui-breadcrumb-item.html +1 -1
  4. package/components/ui-button/ui-button.html +4 -4
  5. package/components/ui-combobox/ui-combobox.html +19 -21
  6. package/components/ui-description-item/ui-description-item.html +1 -1
  7. package/components/ui-dialog/ui-dialog.html +1 -1
  8. package/components/ui-disclosure/ui-disclosure.html +1 -1
  9. package/components/ui-editable/ui-editable.html +4 -4
  10. package/components/ui-editor-insert-table-grid/ui-editor-insert-table-grid.html +1 -1
  11. package/components/ui-editor-mention-menu/ui-editor-mention-menu.html +2 -2
  12. package/components/ui-editor-mention-menu-item/ui-editor-mention-menu-item.html +2 -2
  13. package/components/ui-editor-slash-menu-group/ui-editor-slash-menu-group.html +1 -1
  14. package/components/ui-editor-slash-menu-item/ui-editor-slash-menu-item.html +1 -1
  15. package/components/ui-editor-table-context-menu/ui-editor-table-context-menu.html +2 -2
  16. package/components/ui-editor-table-toolbar/ui-editor-table-toolbar.html +2 -2
  17. package/components/ui-icon-button/ui-icon-button.html +1 -1
  18. package/components/ui-listbox/ui-listbox.html +2 -2
  19. package/components/ui-menu-group/ui-menu-group.html +1 -1
  20. package/components/ui-menu-item/ui-menu-item.html +1 -1
  21. package/components/ui-meter/ui-meter.html +7 -8
  22. package/components/ui-nav-item/ui-nav-item.html +2 -2
  23. package/components/ui-radio-group/ui-radio-group.html +1 -1
  24. package/components/ui-section/ui-section.html +1 -1
  25. package/components/ui-spinner/ui-spinner.html +4 -4
  26. package/components/ui-status-message/ui-status-message.html +2 -2
  27. package/components/ui-tabs/ui-tabs.html +1 -1
  28. package/components/ui-toast-region/ui-toast-region.html +1 -1
  29. package/components/ui-tree-item/ui-tree-item.html +3 -3
  30. package/dist/index.js +1 -1
  31. package/package.json +2 -2
  32. package/styles/ui-action-bar.css +1 -1
  33. package/styles/ui-affordance-scope.css +1 -1
  34. package/styles/ui-avatar-group.css +1 -1
  35. package/styles/ui-avatar.css +1 -1
  36. package/styles/ui-badge.css +1 -1
  37. package/styles/ui-breadcrumb-item.css +1 -1
  38. package/styles/ui-breadcrumbs.css +1 -1
  39. package/styles/ui-button.css +1 -1
  40. package/styles/ui-callout.css +1 -1
  41. package/styles/ui-card.css +1 -1
  42. package/styles/ui-checkbox.css +1 -1
  43. package/styles/ui-cluster.css +1 -1
  44. package/styles/ui-combobox.css +1 -1
  45. package/styles/ui-container.css +1 -1
  46. package/styles/ui-context-menu.css +1 -1
  47. package/styles/ui-cover.css +1 -1
  48. package/styles/ui-description-item.css +1 -1
  49. package/styles/ui-description-list.css +1 -1
  50. package/styles/ui-dialog.css +1 -1
  51. package/styles/ui-disclosure.css +1 -1
  52. package/styles/ui-editable.css +1 -1
  53. package/styles/ui-editor-insert-table-grid.css +1 -1
  54. package/styles/ui-editor-mention-menu-item.css +1 -1
  55. package/styles/ui-editor-mention-menu.css +1 -1
  56. package/styles/ui-editor-slash-menu-group.css +1 -1
  57. package/styles/ui-editor-slash-menu-item.css +1 -1
  58. package/styles/ui-editor-slash-menu.css +1 -1
  59. package/styles/ui-editor-table-context-menu.css +1 -1
  60. package/styles/ui-editor-table-overlay.css +1 -1
  61. package/styles/ui-editor-table-toolbar.css +1 -1
  62. package/styles/ui-editor-toolbar.css +1 -1
  63. package/styles/ui-floating-action-button.css +1 -1
  64. package/styles/ui-form-field.css +1 -1
  65. package/styles/ui-grid.css +1 -1
  66. package/styles/ui-icon-button.css +1 -1
  67. package/styles/ui-icon.css +1 -1
  68. package/styles/ui-input-group.css +1 -1
  69. package/styles/ui-input.css +1 -1
  70. package/styles/ui-list-item.css +1 -1
  71. package/styles/ui-list.css +1 -1
  72. package/styles/ui-listbox.css +1 -1
  73. package/styles/ui-menu-group.css +1 -1
  74. package/styles/ui-menu-item.css +1 -1
  75. package/styles/ui-menu.css +1 -1
  76. package/styles/ui-meter.css +1 -1
  77. package/styles/ui-nav-item.css +1 -1
  78. package/styles/ui-page-header.css +1 -1
  79. package/styles/ui-popover.css +1 -1
  80. package/styles/ui-radio-group.css +1 -1
  81. package/styles/ui-radio.css +1 -1
  82. package/styles/ui-reel.css +1 -1
  83. package/styles/ui-scroll-area.css +1 -1
  84. package/styles/ui-search-result-row.css +1 -1
  85. package/styles/ui-search-shell.css +1 -1
  86. package/styles/ui-section.css +1 -1
  87. package/styles/ui-select.css +1 -1
  88. package/styles/ui-separator.css +1 -1
  89. package/styles/ui-sidebar.css +1 -1
  90. package/styles/ui-spinner.css +1 -1
  91. package/styles/ui-stack.css +1 -1
  92. package/styles/ui-status-message.css +1 -1
  93. package/styles/ui-switch.css +1 -1
  94. package/styles/ui-switcher.css +1 -1
  95. package/styles/ui-table.css +1 -1
  96. package/styles/ui-tabs.css +1 -1
  97. package/styles/ui-text.css +1 -1
  98. package/styles/ui-textarea.css +1 -1
  99. package/styles/ui-toast-region.css +1 -1
  100. package/styles/ui-toast.css +1 -1
  101. package/styles/ui-tooltip.css +1 -1
  102. package/styles/ui-top-bar.css +1 -1
  103. package/styles/ui-tree-item.css +1 -1
  104. package/styles/ui-tree.css +1 -1
  105. package/vanilla/UiActionBar.d.ts +1 -1
  106. package/vanilla/UiActionBar.js +1 -1
  107. package/vanilla/UiAffordanceScope.d.ts +1 -1
  108. package/vanilla/UiAffordanceScope.js +1 -1
  109. package/vanilla/UiAvatar.d.ts +1 -1
  110. package/vanilla/UiAvatar.js +9 -7
  111. package/vanilla/UiAvatarGroup.d.ts +1 -1
  112. package/vanilla/UiAvatarGroup.js +4 -4
  113. package/vanilla/UiBadge.d.ts +1 -1
  114. package/vanilla/UiBadge.js +1 -1
  115. package/vanilla/UiBreadcrumbItem.d.ts +1 -1
  116. package/vanilla/UiBreadcrumbItem.js +2 -2
  117. package/vanilla/UiBreadcrumbs.d.ts +1 -1
  118. package/vanilla/UiBreadcrumbs.js +1 -1
  119. package/vanilla/UiButton.d.ts +1 -1
  120. package/vanilla/UiButton.js +2 -2
  121. package/vanilla/UiCallout.d.ts +1 -1
  122. package/vanilla/UiCallout.js +1 -1
  123. package/vanilla/UiCard.d.ts +1 -1
  124. package/vanilla/UiCard.js +1 -1
  125. package/vanilla/UiCheckbox.d.ts +1 -1
  126. package/vanilla/UiCheckbox.js +1 -1
  127. package/vanilla/UiCluster.d.ts +1 -1
  128. package/vanilla/UiCluster.js +1 -1
  129. package/vanilla/UiCombobox.d.ts +1 -1
  130. package/vanilla/UiCombobox.js +29 -25
  131. package/vanilla/UiContainer.d.ts +1 -1
  132. package/vanilla/UiContainer.js +1 -1
  133. package/vanilla/UiContextMenu.d.ts +1 -1
  134. package/vanilla/UiContextMenu.js +1 -1
  135. package/vanilla/UiCover.d.ts +1 -1
  136. package/vanilla/UiCover.js +1 -1
  137. package/vanilla/UiDescriptionItem.d.ts +1 -1
  138. package/vanilla/UiDescriptionItem.js +5 -5
  139. package/vanilla/UiDescriptionList.d.ts +1 -1
  140. package/vanilla/UiDescriptionList.js +1 -1
  141. package/vanilla/UiDialog.d.ts +1 -1
  142. package/vanilla/UiDialog.js +16 -14
  143. package/vanilla/UiDisclosure.d.ts +1 -1
  144. package/vanilla/UiDisclosure.js +4 -4
  145. package/vanilla/UiEditable.d.ts +1 -1
  146. package/vanilla/UiEditable.js +35 -27
  147. package/vanilla/UiEditorInsertTableGrid.d.ts +1 -1
  148. package/vanilla/UiEditorInsertTableGrid.js +20 -18
  149. package/vanilla/UiEditorMentionMenu.d.ts +1 -1
  150. package/vanilla/UiEditorMentionMenu.js +27 -25
  151. package/vanilla/UiEditorMentionMenuItem.d.ts +1 -1
  152. package/vanilla/UiEditorMentionMenuItem.js +6 -4
  153. package/vanilla/UiEditorSlashMenu.d.ts +1 -1
  154. package/vanilla/UiEditorSlashMenu.js +1 -1
  155. package/vanilla/UiEditorSlashMenuGroup.d.ts +1 -1
  156. package/vanilla/UiEditorSlashMenuGroup.js +9 -7
  157. package/vanilla/UiEditorSlashMenuItem.d.ts +1 -1
  158. package/vanilla/UiEditorSlashMenuItem.js +4 -2
  159. package/vanilla/UiEditorTableContextMenu.d.ts +1 -1
  160. package/vanilla/UiEditorTableContextMenu.js +2 -2
  161. package/vanilla/UiEditorTableOverlay.d.ts +1 -1
  162. package/vanilla/UiEditorTableOverlay.js +1 -1
  163. package/vanilla/UiEditorTableToolbar.d.ts +1 -1
  164. package/vanilla/UiEditorTableToolbar.js +2 -2
  165. package/vanilla/UiEditorToolbar.d.ts +1 -1
  166. package/vanilla/UiEditorToolbar.js +1 -1
  167. package/vanilla/UiFloatingActionButton.d.ts +1 -1
  168. package/vanilla/UiFloatingActionButton.js +1 -1
  169. package/vanilla/UiFormField.d.ts +1 -1
  170. package/vanilla/UiFormField.js +1 -1
  171. package/vanilla/UiGrid.d.ts +1 -1
  172. package/vanilla/UiGrid.js +1 -1
  173. package/vanilla/UiIcon.d.ts +1 -1
  174. package/vanilla/UiIcon.js +1 -1
  175. package/vanilla/UiIconButton.d.ts +1 -1
  176. package/vanilla/UiIconButton.js +2 -2
  177. package/vanilla/UiInput.d.ts +1 -1
  178. package/vanilla/UiInput.js +1 -1
  179. package/vanilla/UiInputGroup.d.ts +1 -1
  180. package/vanilla/UiInputGroup.js +1 -1
  181. package/vanilla/UiList.d.ts +1 -1
  182. package/vanilla/UiList.js +1 -1
  183. package/vanilla/UiListItem.d.ts +1 -1
  184. package/vanilla/UiListItem.js +1 -1
  185. package/vanilla/UiListbox.d.ts +1 -1
  186. package/vanilla/UiListbox.js +2 -2
  187. package/vanilla/UiMenu.d.ts +1 -1
  188. package/vanilla/UiMenu.js +1 -1
  189. package/vanilla/UiMenuGroup.d.ts +1 -1
  190. package/vanilla/UiMenuGroup.js +4 -2
  191. package/vanilla/UiMenuItem.d.ts +1 -1
  192. package/vanilla/UiMenuItem.js +2 -2
  193. package/vanilla/UiMeter.d.ts +1 -1
  194. package/vanilla/UiMeter.js +2 -2
  195. package/vanilla/UiNavItem.d.ts +1 -1
  196. package/vanilla/UiNavItem.js +2 -2
  197. package/vanilla/UiPageHeader.d.ts +1 -1
  198. package/vanilla/UiPageHeader.js +1 -1
  199. package/vanilla/UiPopover.d.ts +1 -1
  200. package/vanilla/UiPopover.js +1 -1
  201. package/vanilla/UiRadio.d.ts +1 -1
  202. package/vanilla/UiRadio.js +1 -1
  203. package/vanilla/UiRadioGroup.d.ts +1 -1
  204. package/vanilla/UiRadioGroup.js +4 -4
  205. package/vanilla/UiReel.d.ts +1 -1
  206. package/vanilla/UiReel.js +1 -1
  207. package/vanilla/UiScrollArea.d.ts +1 -1
  208. package/vanilla/UiScrollArea.js +1 -1
  209. package/vanilla/UiSearchResultRow.d.ts +1 -1
  210. package/vanilla/UiSearchResultRow.js +1 -1
  211. package/vanilla/UiSearchShell.d.ts +1 -1
  212. package/vanilla/UiSearchShell.js +1 -1
  213. package/vanilla/UiSection.d.ts +1 -1
  214. package/vanilla/UiSection.js +4 -4
  215. package/vanilla/UiSelect.d.ts +1 -1
  216. package/vanilla/UiSelect.js +1 -1
  217. package/vanilla/UiSeparator.d.ts +1 -1
  218. package/vanilla/UiSeparator.js +1 -1
  219. package/vanilla/UiSidebar.d.ts +1 -1
  220. package/vanilla/UiSidebar.js +1 -1
  221. package/vanilla/UiSpinner.d.ts +1 -1
  222. package/vanilla/UiSpinner.js +2 -2
  223. package/vanilla/UiStack.d.ts +1 -1
  224. package/vanilla/UiStack.js +1 -1
  225. package/vanilla/UiStatusMessage.d.ts +1 -1
  226. package/vanilla/UiStatusMessage.js +4 -4
  227. package/vanilla/UiSwitch.d.ts +1 -1
  228. package/vanilla/UiSwitch.js +1 -1
  229. package/vanilla/UiSwitcher.d.ts +1 -1
  230. package/vanilla/UiSwitcher.js +1 -1
  231. package/vanilla/UiTable.d.ts +1 -1
  232. package/vanilla/UiTable.js +1 -1
  233. package/vanilla/UiTabs.d.ts +1 -1
  234. package/vanilla/UiTabs.js +2 -2
  235. package/vanilla/UiText.d.ts +1 -1
  236. package/vanilla/UiText.js +1 -1
  237. package/vanilla/UiTextarea.d.ts +1 -1
  238. package/vanilla/UiTextarea.js +1 -1
  239. package/vanilla/UiToast.d.ts +1 -1
  240. package/vanilla/UiToast.js +1 -1
  241. package/vanilla/UiToastRegion.d.ts +1 -1
  242. package/vanilla/UiToastRegion.js +2 -2
  243. package/vanilla/UiTooltip.d.ts +1 -1
  244. package/vanilla/UiTooltip.js +1 -1
  245. package/vanilla/UiTopBar.d.ts +1 -1
  246. package/vanilla/UiTopBar.js +1 -1
  247. package/vanilla/UiTree.d.ts +1 -1
  248. package/vanilla/UiTree.js +1 -1
  249. package/vanilla/UiTreeItem.d.ts +1 -1
  250. package/vanilla/UiTreeItem.js +4 -4
  251. package/vue/UiActionBar.vue +1 -1
  252. package/vue/UiAffordanceScope.vue +1 -1
  253. package/vue/UiAvatar.vue +1 -1
  254. package/vue/UiAvatarGroup.vue +9 -2
  255. package/vue/UiBadge.vue +1 -1
  256. package/vue/UiBreadcrumbItem.vue +55 -9
  257. package/vue/UiBreadcrumbs.vue +1 -1
  258. package/vue/UiButton.vue +162 -37
  259. package/vue/UiCallout.vue +1 -1
  260. package/vue/UiCard.vue +1 -1
  261. package/vue/UiCheckbox.vue +8 -1
  262. package/vue/UiCluster.vue +1 -1
  263. package/vue/UiCombobox.d.ts +1 -1
  264. package/vue/UiCombobox.vue +190 -73
  265. package/vue/UiContainer.vue +1 -1
  266. package/vue/UiContextMenu.vue +1 -1
  267. package/vue/UiCover.vue +1 -1
  268. package/vue/UiDescriptionItem.vue +1 -1
  269. package/vue/UiDescriptionList.vue +1 -1
  270. package/vue/UiDialog.vue +1 -1
  271. package/vue/UiDisclosure.vue +1 -1
  272. package/vue/UiEditable.vue +9 -4
  273. package/vue/UiEditorInsertTableGrid.vue +19 -2
  274. package/vue/UiEditorMentionMenu.vue +20 -2
  275. package/vue/UiEditorMentionMenuItem.vue +1 -1
  276. package/vue/UiEditorSlashMenu.vue +1 -1
  277. package/vue/UiEditorSlashMenuGroup.vue +1 -1
  278. package/vue/UiEditorSlashMenuItem.vue +1 -1
  279. package/vue/UiEditorTableContextMenu.vue +46 -5
  280. package/vue/UiEditorTableOverlay.vue +55 -26
  281. package/vue/UiEditorTableToolbar.vue +46 -5
  282. package/vue/UiEditorToolbar.vue +1 -1
  283. package/vue/UiFloatingActionButton.vue +1 -1
  284. package/vue/UiFormField.vue +1 -1
  285. package/vue/UiGrid.vue +1 -1
  286. package/vue/UiIcon.vue +1 -1
  287. package/vue/UiIconButton.vue +58 -14
  288. package/vue/UiInput.vue +1 -1
  289. package/vue/UiInputGroup.vue +1 -1
  290. package/vue/UiList.vue +1 -1
  291. package/vue/UiListItem.vue +1 -1
  292. package/vue/UiListbox.vue +47 -13
  293. package/vue/UiMenu.vue +1 -1
  294. package/vue/UiMenuGroup.vue +1 -1
  295. package/vue/UiMenuItem.vue +46 -10
  296. package/vue/UiMeter.d.ts +2 -2
  297. package/vue/UiMeter.vue +675 -97
  298. package/vue/UiNavItem.vue +97 -39
  299. package/vue/UiPageHeader.vue +1 -1
  300. package/vue/UiPopover.vue +1 -1
  301. package/vue/UiRadio.vue +8 -1
  302. package/vue/UiRadioGroup.vue +1 -1
  303. package/vue/UiReel.vue +1 -1
  304. package/vue/UiScrollArea.vue +1 -1
  305. package/vue/UiSearchResultRow.vue +1 -1
  306. package/vue/UiSearchShell.vue +1 -1
  307. package/vue/UiSection.vue +1 -1
  308. package/vue/UiSelect.vue +1 -1
  309. package/vue/UiSeparator.vue +1 -1
  310. package/vue/UiSidebar.vue +1 -1
  311. package/vue/UiSpinner.vue +159 -31
  312. package/vue/UiStack.vue +1 -1
  313. package/vue/UiStatusMessage.vue +42 -4
  314. package/vue/UiSwitch.vue +8 -1
  315. package/vue/UiSwitcher.vue +1 -1
  316. package/vue/UiTable.vue +1 -1
  317. package/vue/UiTabs.vue +20 -2
  318. package/vue/UiText.d.ts +1 -1
  319. package/vue/UiText.vue +1 -1
  320. package/vue/UiTextarea.vue +1 -1
  321. package/vue/UiToast.vue +1 -1
  322. package/vue/UiToastRegion.vue +20 -2
  323. package/vue/UiTooltip.vue +1 -1
  324. package/vue/UiTopBar.vue +1 -1
  325. package/vue/UiTree.vue +1 -1
  326. package/vue/UiTreeItem.vue +113 -25
  327. package/vue/chunks/UiActionBar.js +1 -1
  328. package/vue/chunks/UiAffordanceScope.js +1 -1
  329. package/vue/chunks/UiAvatar.js +1 -1
  330. package/vue/chunks/UiAvatarGroup.js +7 -2
  331. package/vue/chunks/UiBadge.js +1 -1
  332. package/vue/chunks/UiBreadcrumbItem.js +27 -12
  333. package/vue/chunks/UiBreadcrumbs.js +1 -1
  334. package/vue/chunks/UiButton.js +67 -29
  335. package/vue/chunks/UiCallout.js +1 -1
  336. package/vue/chunks/UiCard.js +1 -1
  337. package/vue/chunks/UiCheckbox.js +6 -1
  338. package/vue/chunks/UiCluster.js +1 -1
  339. package/vue/chunks/UiCombobox.js +155 -56
  340. package/vue/chunks/UiContainer.js +1 -1
  341. package/vue/chunks/UiContextMenu.js +1 -1
  342. package/vue/chunks/UiCover.js +1 -1
  343. package/vue/chunks/UiDescriptionItem.js +1 -1
  344. package/vue/chunks/UiDescriptionList.js +1 -1
  345. package/vue/chunks/UiDialog.js +1 -1
  346. package/vue/chunks/UiDisclosure.js +1 -1
  347. package/vue/chunks/UiEditable.js +10 -5
  348. package/vue/chunks/UiEditorInsertTableGrid.js +18 -3
  349. package/vue/chunks/UiEditorMentionMenu.js +8 -2
  350. package/vue/chunks/UiEditorMentionMenuItem.js +1 -1
  351. package/vue/chunks/UiEditorSlashMenu.js +1 -1
  352. package/vue/chunks/UiEditorSlashMenuGroup.js +1 -1
  353. package/vue/chunks/UiEditorSlashMenuItem.js +1 -1
  354. package/vue/chunks/UiEditorTableContextMenu.js +13 -7
  355. package/vue/chunks/UiEditorTableOverlay.js +43 -23
  356. package/vue/chunks/UiEditorTableToolbar.js +13 -7
  357. package/vue/chunks/UiEditorToolbar.js +1 -1
  358. package/vue/chunks/UiFloatingActionButton.js +1 -1
  359. package/vue/chunks/UiFormField.js +1 -1
  360. package/vue/chunks/UiGrid.js +1 -1
  361. package/vue/chunks/UiIcon.js +1 -1
  362. package/vue/chunks/UiIconButton.js +25 -11
  363. package/vue/chunks/UiInput.js +1 -1
  364. package/vue/chunks/UiInputGroup.js +1 -1
  365. package/vue/chunks/UiList.js +1 -1
  366. package/vue/chunks/UiListItem.js +1 -1
  367. package/vue/chunks/UiListbox.js +29 -15
  368. package/vue/chunks/UiMenu.js +1 -1
  369. package/vue/chunks/UiMenuGroup.js +1 -1
  370. package/vue/chunks/UiMenuItem.js +23 -9
  371. package/vue/chunks/UiMeter.js +373 -37
  372. package/vue/chunks/UiNavItem.js +67 -39
  373. package/vue/chunks/UiPageHeader.js +1 -1
  374. package/vue/chunks/UiPopover.js +1 -1
  375. package/vue/chunks/UiRadio.js +6 -1
  376. package/vue/chunks/UiRadioGroup.js +1 -1
  377. package/vue/chunks/UiReel.js +1 -1
  378. package/vue/chunks/UiScrollArea.js +1 -1
  379. package/vue/chunks/UiSearchResultRow.js +1 -1
  380. package/vue/chunks/UiSearchShell.js +1 -1
  381. package/vue/chunks/UiSection.js +1 -1
  382. package/vue/chunks/UiSelect.js +1 -1
  383. package/vue/chunks/UiSeparator.js +1 -1
  384. package/vue/chunks/UiSidebar.js +1 -1
  385. package/vue/chunks/UiSpinner.js +75 -36
  386. package/vue/chunks/UiStack.js +1 -1
  387. package/vue/chunks/UiStatusMessage.js +21 -6
  388. package/vue/chunks/UiSwitch.js +6 -1
  389. package/vue/chunks/UiSwitcher.js +1 -1
  390. package/vue/chunks/UiTable.js +1 -1
  391. package/vue/chunks/UiTabs.js +8 -2
  392. package/vue/chunks/UiText.js +1 -1
  393. package/vue/chunks/UiTextarea.js +1 -1
  394. package/vue/chunks/UiToast.js +1 -1
  395. package/vue/chunks/UiToastRegion.js +8 -2
  396. package/vue/chunks/UiTooltip.js +1 -1
  397. package/vue/chunks/UiTopBar.js +1 -1
  398. package/vue/chunks/UiTree.js +1 -1
  399. package/vue/chunks/UiTreeItem.js +52 -19
  400. package/vue/chunks/props.js +11 -6
  401. package/vue/components.css +1302 -1302
  402. package/vue/host.ts +15 -3
@@ -30,7 +30,7 @@
30
30
  <slot></slot>
31
31
  <img class="image" $ref="image" from:src="src" alt="" aria-hidden="true" from:hidden="hasAuthoredImage or not hasImage">
32
32
  <span class="fallback" from:aria-hidden="hasImage" from:hidden="hasImage">
33
- <span from:hidden="showGlyph" $value="initials"></span>
33
+ <span from:hidden="showGlyph">{$initials}</span>
34
34
  <span from:hidden="not showGlyph"><ui-icon name="user-round"></ui-icon></span>
35
35
  </span>
36
36
  </span>
@@ -18,9 +18,7 @@
18
18
  </defs>
19
19
  <div role="group" from:aria-label="label">
20
20
  <slot></slot>
21
- <span class="overflow" $ref="overflow" role="img" from:hidden="not overflowCount" from:aria-label="overflowAnnouncement"><template
22
- $value="format('+%s', overflowCount)"
23
- ></template></span>
21
+ <span class="overflow" $ref="overflow" role="img" from:hidden="not overflowCount" from:aria-label="overflowAnnouncement">+{$overflowCount}</span>
24
22
  </div>
25
23
  <style>
26
24
  /* This component's hooks style the element they are set on, and never a nested one. */
@@ -3,7 +3,7 @@
3
3
  <prop name="current" type="boolean" default="false"
4
4
  >Marks the step as the view you are on: it is plain text with aria-current="page". Every other step holds a link.</prop>
5
5
  </defs>
6
- <li from:aria-current="{ true: 'page', false: null }[format('%s', current)]">
6
+ <li from:aria-current="{ true: 'page', false: null }[concat(current)]">
7
7
  <span class="separator" aria-hidden="true"><ui-icon name="chevron-right"></ui-icon></span>
8
8
  <span class="content"><slot></slot></span>
9
9
  </li>
@@ -39,12 +39,12 @@
39
39
  <template $match>
40
40
  <a
41
41
  $when="as = 'a'"
42
- from:href="{ true: null, false: href }[format('%s', disabled or loading or pending)]"
42
+ from:href="{ true: null, false: href }[concat(disabled or loading or pending)]"
43
43
  from:target="target"
44
44
  from:rel="rel"
45
- from:aria-disabled="{ true: 'true', false: null }[format('%s', disabled or loading or pending)]"
45
+ from:aria-disabled="{ true: 'true', false: null }[concat(disabled or loading or pending)]"
46
46
  from:aria-busy="loading or pending"
47
- from:tabindex="{ true: '0', false: null }[format('%s', (loading or pending) and not disabled)]"
47
+ from:tabindex="{ true: '0', false: null }[concat((loading or pending) and not disabled)]"
48
48
  >
49
49
  <span $if="loading or pending" class="spinner-wrap"><ui-spinner size="sm"></ui-spinner></span>
50
50
  <slot></slot>
@@ -53,7 +53,7 @@
53
53
  $else
54
54
  from:type="type"
55
55
  from:disabled="disabled"
56
- from:aria-disabled="{ true: 'true', false: null }[format('%s', loading or pending)]"
56
+ from:aria-disabled="{ true: 'true', false: null }[concat(loading or pending)]"
57
57
  from:aria-busy="loading or pending"
58
58
  >
59
59
  <span $if="loading or pending" class="spinner-wrap"><ui-spinner size="sm"></ui-spinner></span>
@@ -371,7 +371,7 @@
371
371
  <method name="focusInput" export="focusInput" returns="promise(undefined)"></method>
372
372
  </defs>
373
373
  <div>
374
- <label from:for="format('%s-input', uid)" class:sr-only="labelVisibility = 'sr-only'"><template $value="label"></template><template $if="required">
374
+ <label from:for="concat(uid, '-input')" class:sr-only="labelVisibility = 'sr-only'">{$label}<template $if="required">
375
375
  *</template></label>
376
376
  <div class="control">
377
377
  <div class="field" $ref="field">
@@ -386,18 +386,18 @@
386
386
  tabindex="-1"
387
387
  from:data-index="index"
388
388
  from:disabled="disabled or readonly or item.disabled"
389
- from:aria-label="format('%s, press Delete or Backspace to remove', item.label)"
389
+ from:aria-label="concat(item.label, ', press Delete or Backspace to remove')"
390
390
  >
391
- <slot from:name="format('item-%s', item.id)"><ui-badge $value="item.label"></ui-badge></slot>
391
+ <slot from:name="concat('item-', item.id)"><ui-badge $value="item.label"></ui-badge></slot>
392
392
  </button>
393
393
  </template>
394
394
  <input
395
395
  $ref="input"
396
- from:id="format('%s-input', uid)"
396
+ from:id="concat(uid, '-input')"
397
397
  role="combobox"
398
398
  aria-autocomplete="list"
399
399
  autocomplete="off"
400
- from:aria-controls="format('%s-listbox', uid)"
400
+ from:aria-controls="concat(uid, '-listbox')"
401
401
  from:aria-expanded="expanded"
402
402
  from:aria-invalid="invalid or validationStatus = 'error'"
403
403
  from:aria-busy="loading or validationStatus = 'pending'"
@@ -429,7 +429,7 @@
429
429
  data-combobox-action="disclosure"
430
430
  tabindex="-1"
431
431
  aria-label="Show suggestions"
432
- from:aria-controls="format('%s-listbox', uid)"
432
+ from:aria-controls="concat(uid, '-listbox')"
433
433
  from:disabled="disabled or readonly"
434
434
  >
435
435
  <svg
@@ -446,7 +446,7 @@
446
446
  </svg>
447
447
  </button>
448
448
  </div>
449
- <button $if="help" class="help" from:id="format('%s-help', uid)" type="button" aria-label="Help" from:disabled="disabled">
449
+ <button $if="help" class="help" from:id="concat(uid, '-help')" type="button" aria-label="Help" from:disabled="disabled">
450
450
  <svg
451
451
  class="help-icon"
452
452
  aria-hidden="true"
@@ -463,11 +463,9 @@
463
463
  </svg>
464
464
  </button>
465
465
  </div>
466
- <ui-tooltip $if="help" trigger="click" from:id="format('%s-help-text', uid)" from:for="format('%s-help', uid)"><template
467
- $value="help"
468
- ></template></ui-tooltip>
466
+ <ui-tooltip $if="help" trigger="click" from:id="concat(uid, '-help-text')" from:for="concat(uid, '-help')">{$help}</ui-tooltip>
469
467
  <div class="popup" $ref="popup" from:hidden="not expanded">
470
- <div role="listbox" $ref="listbox" from:id="format('%s-listbox', uid)" from:aria-label="format('%s suggestions', label)" from:aria-busy="loading">
468
+ <div role="listbox" $ref="listbox" from:id="concat(uid, '-listbox')" from:aria-label="concat(label, ' suggestions')" from:aria-busy="loading">
471
469
  <div $each="group of groups" $key="group.name" from:role="group.role" from:aria-label="group.label">
472
470
  <div $if="group.name" class="group" $value="group.name"></div>
473
471
  <div
@@ -478,23 +476,23 @@
478
476
  role="option"
479
477
  data-ui-choice-option
480
478
  from:data-multiple="multiple"
481
- from:id="format('%s-option-%s', uid, row.index)"
479
+ from:id="concat(uid, '-option-', row.index)"
482
480
  from:aria-selected="row.selected"
483
481
  from:aria-disabled="row.disabled"
484
482
  from:data-index="row.index"
485
483
  from:aria-labelledby="row.labelledBy"
486
484
  from:aria-describedby="row.detail"
487
485
  >
488
- <slot from:name="format('option-%s', row.id)">
486
+ <slot from:name="concat('option-', row.id)">
489
487
  <span $if="row.detail" class="detail">
490
488
  <span class="line">
491
- <span class="primary" from:id="format('%s-option-%s-label', uid, row.index)" $value="row.label"></span>
489
+ <span class="primary" from:id="concat(uid, '-option-', row.index, '-label')" $value="row.label"></span>
492
490
  <ui-badge $if="row.tag" from:tone="row.tag.tone" style:--ui-badge-color="row.tag.color"><span
493
- from:id="format('%s-option-%s-tag', uid, row.index)"
491
+ from:id="concat(uid, '-option-', row.index, '-tag')"
494
492
  $value="row.tag.label"
495
493
  ></span></ui-badge>
496
494
  </span>
497
- <span $if="row.description" class="description" from:id="format('%s-option-%s-description', uid, row.index)" $value="row.description"></span>
495
+ <span $if="row.description" class="description" from:id="concat(uid, '-option-', row.index, '-description')" $value="row.description"></span>
498
496
  </span>
499
497
  <span $if="not row.detail" class="primary" $value="row.label"></span>
500
498
  </slot>
@@ -508,20 +506,20 @@
508
506
  data-ui-choice-option
509
507
  from:data-multiple="multiple"
510
508
  aria-selected="false"
511
- from:id="format('%s-option-%s', uid, createIndex)"
509
+ from:id="concat(uid, '-option-', createIndex)"
512
510
  from:data-index="createIndex"
513
- $value="format('Create “%s”', raw)"
511
+ $value="concat('Create “', raw, '”')"
514
512
  >
515
513
  </div>
516
- <div $if="message" class="message" $value="message"></div>
514
+ <div $if="message" class="message">{$message}</div>
517
515
  <div $if="not loading and not rows.0 and not creatable and not lookupError" class="message"><slot name="empty">No suggestions.</slot></div>
518
516
  </div>
519
517
  <slot name="footer"></slot>
520
518
  </div>
521
- <div class="message" from:id="format('%s-validation', uid)" from:hidden="not validation.issues.length">
519
+ <div class="message" from:id="concat(uid, '-validation')" from:hidden="not validation.issues.length">
522
520
  <div $each="issue of validation.issues" $value="issue.message"></div>
523
521
  </div>
524
- <div class="sr-only" role="status" aria-live="polite" aria-atomic="true" $value="statusText"></div>
522
+ <div class="sr-only" role="status" aria-live="polite" aria-atomic="true">{$statusText}</div>
525
523
  <div class="authored-options" $ref="options" hidden aria-hidden="true"><slot></slot></div>
526
524
  </div>
527
525
  <style>
@@ -3,7 +3,7 @@
3
3
  <prop name="term" type="string" default="">What the value is, such as "Invited by". The value is the item's content.</prop>
4
4
  </defs>
5
5
  <div>
6
- <dt><template $value="term"></template></dt>
6
+ <dt>{$term}</dt>
7
7
  <dd><slot></slot></dd>
8
8
  </div>
9
9
  <style>
@@ -37,7 +37,7 @@
37
37
  </defs>
38
38
  <dialog from:aria-label="accessibleLabel">
39
39
  <header>
40
- <h2 class="title" $if="label" $value="label"></h2>
40
+ <h2 class="title" $if="label">{$label}</h2>
41
41
  <button class="close" $ref="close" type="button" aria-label="Close"></button>
42
42
  </header>
43
43
  <ui-scroll-area class="body"><slot></slot></ui-scroll-area>
@@ -47,7 +47,7 @@
47
47
  <div class="heading" $ref="heading" from:role="headingRole" from:aria-level="headingAriaLevel">
48
48
  <button class="trigger" type="button" $ref="trigger" from:aria-controls="contentId" from:aria-expanded="internalOpen" from:disabled="disabled">
49
49
  <span class="leading"><slot name="leading"></slot></span>
50
- <span class="summary"><slot name="summary"><template $value="summary"></template></slot></span>
50
+ <span class="summary"><slot name="summary">{$summary}</slot></span>
51
51
  <span class="indicator" aria-hidden="true"><slot name="indicator"><span class="chevron"></span></slot></span>
52
52
  </button>
53
53
  </div>
@@ -38,8 +38,8 @@
38
38
  <div>
39
39
  <div class="field">
40
40
  <button class="preview" $ref="preview" type="button" from:disabled="disabled">
41
- <span class="text" $value="internalValue"></span>
42
- <span $if="hint" class="hint" aria-hidden="true" $value="hint"></span>
41
+ <span class="text">{$internalValue}</span>
42
+ <span $if="hint" class="hint" aria-hidden="true">{$hint}</span>
43
43
  </button>
44
44
  <input
45
45
  class="input"
@@ -53,8 +53,8 @@
53
53
  >
54
54
  </div>
55
55
  <div $if="actions" class="actions">
56
- <button class="save" type="button" $value="saveLabel"></button>
57
- <button class="cancel" type="button" $value="cancelLabel"></button>
56
+ <button class="save" type="button">{$saveLabel}</button>
57
+ <button class="cancel" type="button">{$cancelLabel}</button>
58
58
  </div>
59
59
  </div>
60
60
  <style>
@@ -16,7 +16,7 @@
16
16
  <event name="insert" type="object({ rows: integer, cols: integer, withHeaderRow: boolean })"></event>
17
17
  </defs>
18
18
  <div from:hidden="not open">
19
- <p class="hint" $value="hint"></p>
19
+ <p class="hint">{$hint}</p>
20
20
  <div class="grid" $ref="grid" role="group" aria-label="Table dimensions" style:--_rows="rows" style:--_cols="cols">
21
21
  <button
22
22
  $each="cell of cells"
@@ -24,11 +24,11 @@
24
24
  </defs>
25
25
  <div role="listbox" from:aria-busy="loading" from:hidden="not visible">
26
26
  <div class="header"><slot name="header"></slot></div>
27
- <div $if="searching" class="loading" role="status" $value="loadingLabel"></div>
27
+ <div $if="searching" class="loading" role="status">{$loadingLabel}</div>
28
28
  <ul $if="not searching" class="list" role="presentation">
29
29
  <li
30
30
  $each="row, index of rows"
31
- from:id="format('%s-option-%s', prefix, index)"
31
+ from:id="concat(prefix, '-option-', index)"
32
32
  class="item"
33
33
  class:active="index = active"
34
34
  role="option"
@@ -5,8 +5,8 @@
5
5
  <prop name="initials" type="string" default="">Text fallback for the start slot when no avatar is supplied.</prop>
6
6
  </defs>
7
7
  <li role="option" tabindex="-1" from:data-value="value">
8
- <span class="avatar" aria-hidden="true"><slot name="start"><template $value="initials"></template></slot></span>
9
- <span class="body"><span class="label"><slot></slot></span><span $if="detail" class="detail" $value="detail"></span></span>
8
+ <span class="avatar" aria-hidden="true"><slot name="start">{$initials}</slot></span>
9
+ <span class="body"><span class="label"><slot></slot></span><span $if="detail" class="detail">{$detail}</span></span>
10
10
  </li>
11
11
  <style>
12
12
  :host {
@@ -4,7 +4,7 @@
4
4
  </defs>
5
5
  <li role="presentation">
6
6
  <div role="group" from:aria-label="label">
7
- <div class="heading" $value="label"></div>
7
+ <div class="heading">{$label}</div>
8
8
  <ul role="presentation"><slot></slot></ul>
9
9
  </div>
10
10
  </li>
@@ -9,7 +9,7 @@
9
9
  </defs>
10
10
  <li role="option" tabindex="-1" from:aria-disabled="disabled" from:data-value="value" from:data-keywords="keywords">
11
11
  <span $if="icon" class="icon" aria-hidden="true"><ui-icon from:name="icon"></ui-icon></span>
12
- <span class="body"><span class="title"><slot></slot></span><span $if="description" class="description" $value="description"></span></span>
12
+ <span class="body"><span class="title"><slot></slot></span><span $if="description" class="description">{$description}</span></span>
13
13
  </li>
14
14
  <style>
15
15
  :host {
@@ -68,8 +68,8 @@
68
68
  $each="item of section.items"
69
69
  $key="item.action"
70
70
  type="button"
71
- from:role="{ true: 'menuitemcheckbox', false: 'menuitem' }[format('%s', item.checkable)]"
72
- from:aria-checked="{ true: item.checked, false: null }[format('%s', item.checkable)]"
71
+ from:role="{ true: 'menuitemcheckbox', false: 'menuitem' }[concat(item.checkable)]"
72
+ from:aria-checked="{ true: item.checked, false: null }[concat(item.checkable)]"
73
73
  class:danger="item.danger"
74
74
  from:data-action="item.action"
75
75
  >
@@ -106,8 +106,8 @@
106
106
  $each="item of section.items"
107
107
  $key="item.action"
108
108
  type="button"
109
- from:role="{ true: 'menuitemcheckbox', false: 'menuitem' }[format('%s', item.checkable)]"
110
- from:aria-checked="{ true: item.checked, false: null }[format('%s', item.checkable)]"
109
+ from:role="{ true: 'menuitemcheckbox', false: 'menuitem' }[concat(item.checkable)]"
110
+ from:aria-checked="{ true: item.checked, false: null }[concat(item.checkable)]"
111
111
  class:danger="item.danger"
112
112
  from:data-action="item.action"
113
113
  >
@@ -27,7 +27,7 @@
27
27
  type="button"
28
28
  from:aria-label="label"
29
29
  from:data-match-button="matchButton"
30
- from:aria-disabled="{ true: 'true', false: null }[format('%s', loading or pending)]"
30
+ from:aria-disabled="{ true: 'true', false: null }[concat(loading or pending)]"
31
31
  from:aria-busy="loading or pending"
32
32
  >
33
33
  <ui-spinner $if="loading or pending" size="sm"></ui-spinner>
@@ -25,7 +25,7 @@
25
25
  </defs>
26
26
  <div
27
27
  role="listbox"
28
- from:tabindex="{ true: '-1', false: '0' }[format('%s', disabled)]"
28
+ from:tabindex="{ true: '-1', false: '0' }[concat(disabled)]"
29
29
  from:aria-multiselectable="multiple"
30
30
  from:aria-disabled="disabled"
31
31
  from:aria-required="required"
@@ -41,7 +41,7 @@
41
41
  role="option"
42
42
  data-ui-choice-option
43
43
  from:data-multiple="multiple"
44
- from:id="format('%s-option-%s', uid, choice.index)"
44
+ from:id="concat(uid, '-option-', choice.index)"
45
45
  from:data-index="choice.index"
46
46
  from:aria-selected="choice.selected"
47
47
  from:aria-disabled="choice.disabled"
@@ -3,7 +3,7 @@
3
3
  <prop name="label" type="string" default="">Visible heading and accessible name for this group of menu items.</prop>
4
4
  </defs>
5
5
  <div role="group" from:aria-label="label">
6
- <div class="heading" $if="label" $value="label"></div>
6
+ <div class="heading" $if="label">{$label}</div>
7
7
  <slot></slot>
8
8
  </div>
9
9
  <style>
@@ -25,7 +25,7 @@
25
25
  tabindex="-1"
26
26
  from:aria-disabled="disabled"
27
27
  from:data-value="value"
28
- from:href="{ true: null, false: href }[format('%s', disabled)]"
28
+ from:href="{ true: null, false: href }[concat(disabled)]"
29
29
  >
30
30
  <span class="label"><slot></slot></span>
31
31
  <span class="shortcut" aria-hidden="true"><slot name="shortcut"></slot></span>
@@ -18,23 +18,22 @@
18
18
  <prop name="label" type="string" default=""
19
19
  >What the meter measures, as its accessible name ("Collected"). Leave it empty only when aria-labelledby names the meter from visible text.</prop>
20
20
  <prop name="valueText" type="string" default=""
21
- >The value as assistive technology reads it ("$750 of $1,240 collected", "3 of 5 done, overdue"). Empty reads the percentage.</prop>
21
+ >The value as assistive technology reads it ("$750 of $1,240 collected", "3 of 5 done, overdue"). Empty reads the whole percentage in the current
22
+ locale.</prop>
22
23
  <!-- Derived as it renders, so every render path, a server render included, draws the bar and states its value without JavaScript. -->
23
24
  <computed name="amount" from="clamp(0, value, max)"></computed>
24
- <computed name="percent" from="{ true: amount / max * 100, false: 0 }[format('%s', max > 0)]"></computed>
25
- <!-- percent rounded half up, for the text: round() on a derived number does not compile to Vue yet. -->
26
- <computed name="whole" from="percent + 0.5 - (percent + 0.5) % 1"></computed>
25
+ <computed name="percent" from="{ true: amount / max * 100, false: 0 }[concat(max > 0)]"></computed>
27
26
  </defs>
28
27
  <span
29
28
  role="meter"
30
29
  aria-valuemin="0"
31
30
  from:aria-valuemax="max"
32
31
  from:aria-valuenow="amount"
33
- from:aria-valuetext="{ true: valueText, false: format('%s%', whole) }[format('%s', valueText != '')]"
34
- from:aria-label="{ true: label, false: null }[format('%s', label != '')]"
35
- from:data-ui-meter-segments="{ true: segments, false: null }[format('%s', segments > 1)]"
32
+ from:aria-valuetext="{ true: valueText, false: format($percent / 100, 'percent', { maximumFractionDigits: 0 }) }[concat(valueText != '')]"
33
+ from:aria-label="{ true: label, false: null }[concat(label != '')]"
34
+ from:data-ui-meter-segments="{ true: segments, false: null }[concat(segments > 1)]"
36
35
  >
37
- <span class="fill" style:inline-size="format('%s%', percent)"></span>
36
+ <span class="fill" style:inline-size="concat(percent, '%')"></span>
38
37
  </span>
39
38
  <style>
40
39
  /* How far along something is: a track, filled from the start in the tone's colour. The track is a
@@ -26,7 +26,7 @@
26
26
  from:href="href"
27
27
  from:target="target"
28
28
  from:rel="rel"
29
- from:aria-current="{ true: 'page', false: null, page: 'page', step: 'step', location: 'location' }[format('%s', current)]"
29
+ from:aria-current="{ true: 'page', false: null, page: 'page', step: 'step', location: 'location' }[concat(current)]"
30
30
  >
31
31
  <span class="indicator" aria-hidden="true"></span>
32
32
  <span class="leading"><slot name="leading"></slot></span>
@@ -36,7 +36,7 @@
36
36
  </span>
37
37
  <span class="trailing"><slot name="trailing"></slot></span>
38
38
  </a>
39
- <button $else type="button" from:aria-current="{ true: 'page', false: null, page: 'page', step: 'step', location: 'location' }[format('%s', current)]">
39
+ <button $else type="button" from:aria-current="{ true: 'page', false: null, page: 'page', step: 'step', location: 'location' }[concat(current)]">
40
40
  <span class="indicator" aria-hidden="true"></span>
41
41
  <span class="leading"><slot name="leading"></slot></span>
42
42
  <span class="content">
@@ -31,7 +31,7 @@
31
31
  </event>
32
32
  </defs>
33
33
  <fieldset role="radiogroup" from:aria-required="required" from:aria-invalid="invalid" from:disabled="disabled">
34
- <legend><template $value="label"></template></legend>
34
+ <legend>{$label}</legend>
35
35
  <slot></slot>
36
36
  </fieldset>
37
37
  <style>
@@ -11,7 +11,7 @@
11
11
  <section>
12
12
  <span class="head">
13
13
  <span class="copy">
14
- <h2 class="heading" from:hidden="not heading"><template $value="heading"></template></h2>
14
+ <h2 class="heading" from:hidden="not heading">{$heading}</h2>
15
15
  <span class="description"><slot name="description"></slot></span>
16
16
  </span>
17
17
  <span class="actions"><slot name="actions"></slot></span>
@@ -7,10 +7,10 @@
7
7
  </defs>
8
8
  <span
9
9
  class="ring"
10
- from:role="{ true: 'status', false: null }[format('%s', label != '')]"
11
- from:aria-label="{ true: label, false: null }[format('%s', label != '')]"
12
- from:aria-live="{ true: 'polite', false: null }[format('%s', label != '')]"
13
- from:aria-hidden="{ true: null, false: 'true' }[format('%s', label != '')]"
10
+ from:role="{ true: 'status', false: null }[concat(label != '')]"
11
+ from:aria-label="{ true: label, false: null }[concat(label != '')]"
12
+ from:aria-live="{ true: 'polite', false: null }[concat(label != '')]"
13
+ from:aria-hidden="{ true: null, false: 'true' }[concat(label != '')]"
14
14
  >
15
15
  <svg viewBox="0 0 50 50" fill="none" aria-hidden="true" focusable="false">
16
16
  <circle class="track" cx="25" cy="25" r="20"></circle>
@@ -8,10 +8,10 @@
8
8
  >Where it sits. inline takes its place in the view's flow; panel sits it on a dashed surface, for an empty area in a page; fill centres it in all the space
9
9
  it is given, for a whole view that is loading or failed.</prop>
10
10
  </defs>
11
- <div from:role="{ true: 'alert', false: 'status' }[format('%s', kind = 'error')]">
11
+ <div from:role="{ true: 'alert', false: 'status' }[concat(kind = 'error')]">
12
12
  <ui-spinner size="sm" from:hidden="kind != 'loading'"></ui-spinner>
13
13
  <span class="copy">
14
- <strong class="heading" from:hidden="not heading"><template $value="heading"></template></strong>
14
+ <strong class="heading" from:hidden="not heading">{$heading}</strong>
15
15
  <span class="message"><slot></slot></span>
16
16
  </span>
17
17
  <span class="action"><slot name="action"></slot></span>
@@ -30,7 +30,7 @@
30
30
  $key="tab.id"
31
31
  type="button"
32
32
  role="tab"
33
- from:id="format('%s-tab', tab.id)"
33
+ from:id="concat(tab.id, '-tab')"
34
34
  from:value="tab.id"
35
35
  from:aria-controls="tab.id"
36
36
  from:aria-selected="tab.id = internalValue"
@@ -39,7 +39,7 @@
39
39
  >
40
40
  <span class="message" $value="toast.message"></span>
41
41
  <span class="dismiss" from:data-toast="toast.id">
42
- <ui-icon-button size="sm" variant="ghost" from:round="true" from:label="format('Dismiss %s', toast.message)">
42
+ <ui-icon-button size="sm" variant="ghost" from:round="true" from:label="concat('Dismiss ', toast.message)">
43
43
  <ui-icon name="x"></ui-icon>
44
44
  </ui-icon-button>
45
45
  </span>
@@ -72,7 +72,7 @@
72
72
  $ref="dragHandle"
73
73
  type="button"
74
74
  draggable="true"
75
- from:aria-label="{ true: format('Cancel moving %s', label), false: format('Drag %s to reorder', label) }[format('%s', moving)]"
75
+ from:aria-label="{ true: concat('Cancel moving ', label), false: concat('Drag ', label, ' to reorder') }[concat(moving)]"
76
76
  >
77
77
  <svg
78
78
  aria-hidden="true"
@@ -101,10 +101,10 @@
101
101
  tabindex="-1"
102
102
  from:checked="selected"
103
103
  from:disabled="disabled"
104
- from:aria-label="format('Select %s', label)"
104
+ from:aria-label="concat('Select ', label)"
105
105
  ></label>
106
106
  <span class="leading" $ref="leading"><slot name="leading"></slot></span>
107
- <span class="label" $ref="label"><span class="label-text" $ref="labelText"><slot name="label"><template $value="label"></template></slot></span></span>
107
+ <span class="label" $ref="label"><span class="label-text" $ref="labelText"><slot name="label">{$label}</slot></span></span>
108
108
  <span class="actions" $ref="actions">
109
109
  <ui-button $if="moving" data-tree-cancel-move variant="ghost" tone="neutral" size="sm" aria-label="Cancel move">Cancel</ui-button>
110
110
  <span $else><slot name="actions"></slot></span>