@threadlabs/looma 0.25.7 → 0.26.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 (434) hide show
  1. package/components/ui-avatar/ui-avatar.html +4 -4
  2. package/components/ui-avatar-group/ui-avatar-group.html +2 -2
  3. package/components/ui-breadcrumb-item/ui-breadcrumb-item.html +1 -1
  4. package/components/ui-breadcrumbs/ui-breadcrumbs.html +1 -1
  5. package/components/ui-button/ui-button.html +27 -27
  6. package/components/ui-callout/ui-callout.html +5 -5
  7. package/components/ui-card/ui-card.html +3 -3
  8. package/components/ui-checkbox/ui-checkbox.html +8 -8
  9. package/components/ui-combobox/ui-combobox.html +59 -59
  10. package/components/ui-dialog/ui-dialog.html +2 -2
  11. package/components/ui-disclosure/ui-disclosure.html +3 -3
  12. package/components/ui-editable/ui-editable.html +8 -8
  13. package/components/ui-editor-insert-table-grid/ui-editor-insert-table-grid.html +11 -11
  14. package/components/ui-editor-mention-menu/ui-editor-mention-menu.html +10 -10
  15. package/components/ui-editor-mention-menu-item/ui-editor-mention-menu-item.html +2 -2
  16. package/components/ui-editor-slash-menu/ui-editor-slash-menu.html +7 -7
  17. package/components/ui-editor-slash-menu-group/ui-editor-slash-menu-group.html +1 -1
  18. package/components/ui-editor-slash-menu-item/ui-editor-slash-menu-item.html +3 -3
  19. package/components/ui-editor-table-context-menu/ui-editor-table-context-menu.html +16 -16
  20. package/components/ui-editor-table-overlay/ui-editor-table-overlay.html +31 -31
  21. package/components/ui-editor-table-toolbar/ui-editor-table-toolbar.html +33 -33
  22. package/components/ui-floating-action-button/ui-floating-action-button.html +1 -1
  23. package/components/ui-grid/ui-grid.html +1 -1
  24. package/components/ui-icon/ui-icon.html +12 -12
  25. package/components/ui-icon-button/ui-icon-button.html +6 -6
  26. package/components/ui-image/ui-image.html +2 -2
  27. package/components/ui-input/ui-input.html +1 -1
  28. package/components/ui-list/ui-list.html +1 -1
  29. package/components/ui-list-item/ui-list-item.html +1 -1
  30. package/components/ui-listbox/ui-listbox.html +24 -24
  31. package/components/ui-menu-group/ui-menu-group.html +2 -2
  32. package/components/ui-menu-item/ui-menu-item.html +9 -9
  33. package/components/ui-meter/ui-meter.html +8 -8
  34. package/components/ui-nav-item/ui-nav-item.html +6 -6
  35. package/components/ui-radio/ui-radio.html +1 -1
  36. package/components/ui-radio-group/ui-radio-group.html +1 -1
  37. package/components/ui-search-result-row/ui-search-result-row.html +1 -1
  38. package/components/ui-search-shell/ui-search-shell.html +1 -1
  39. package/components/ui-section/ui-section.html +1 -1
  40. package/components/ui-select/ui-select.html +1 -1
  41. package/components/ui-separator/ui-separator.html +1 -1
  42. package/components/ui-sidebar/ui-sidebar.html +2 -2
  43. package/components/ui-spinner/ui-spinner.html +4 -4
  44. package/components/ui-stack/ui-stack.html +1 -1
  45. package/components/ui-status-message/ui-status-message.html +3 -3
  46. package/components/ui-switch/ui-switch.html +5 -5
  47. package/components/ui-tabs/ui-tabs.html +8 -8
  48. package/components/ui-text/ui-text.html +10 -10
  49. package/components/ui-textarea/ui-textarea.html +8 -8
  50. package/components/ui-toast/ui-toast.html +1 -1
  51. package/components/ui-toast-region/ui-toast-region.html +8 -8
  52. package/components/ui-tooltip/ui-tooltip.html +1 -1
  53. package/components/ui-tree-item/ui-tree-item.html +18 -18
  54. package/dist/index.js +1 -1
  55. package/package.json +3 -3
  56. package/styles/ui-action-bar.css +1 -1
  57. package/styles/ui-affordance-scope.css +1 -1
  58. package/styles/ui-avatar-group.css +1 -1
  59. package/styles/ui-avatar.css +1 -1
  60. package/styles/ui-badge.css +1 -1
  61. package/styles/ui-breadcrumb-item.css +1 -1
  62. package/styles/ui-breadcrumbs.css +1 -1
  63. package/styles/ui-button.css +1 -1
  64. package/styles/ui-callout.css +1 -1
  65. package/styles/ui-card.css +1 -1
  66. package/styles/ui-checkbox.css +1 -1
  67. package/styles/ui-cluster.css +1 -1
  68. package/styles/ui-combobox.css +1 -1
  69. package/styles/ui-container.css +1 -1
  70. package/styles/ui-context-menu.css +1 -1
  71. package/styles/ui-cover.css +1 -1
  72. package/styles/ui-description-item.css +1 -1
  73. package/styles/ui-description-list.css +1 -1
  74. package/styles/ui-dialog.css +1 -1
  75. package/styles/ui-disclosure.css +1 -1
  76. package/styles/ui-editable.css +1 -1
  77. package/styles/ui-editor-insert-table-grid.css +1 -1
  78. package/styles/ui-editor-mention-menu-item.css +1 -1
  79. package/styles/ui-editor-mention-menu.css +1 -1
  80. package/styles/ui-editor-slash-menu-group.css +1 -1
  81. package/styles/ui-editor-slash-menu-item.css +1 -1
  82. package/styles/ui-editor-slash-menu.css +1 -1
  83. package/styles/ui-editor-surface.css +1 -1
  84. package/styles/ui-editor-table-context-menu.css +1 -1
  85. package/styles/ui-editor-table-overlay.css +1 -1
  86. package/styles/ui-editor-table-toolbar.css +1 -1
  87. package/styles/ui-editor-toolbar.css +1 -1
  88. package/styles/ui-floating-action-button.css +1 -1
  89. package/styles/ui-form-field.css +1 -1
  90. package/styles/ui-grid.css +1 -1
  91. package/styles/ui-icon-button.css +1 -1
  92. package/styles/ui-icon.css +1 -1
  93. package/styles/ui-image.css +1 -1
  94. package/styles/ui-input-group.css +1 -1
  95. package/styles/ui-input.css +1 -1
  96. package/styles/ui-list-item.css +1 -1
  97. package/styles/ui-list.css +1 -1
  98. package/styles/ui-listbox.css +1 -1
  99. package/styles/ui-menu-group.css +1 -1
  100. package/styles/ui-menu-item.css +1 -1
  101. package/styles/ui-menu.css +1 -1
  102. package/styles/ui-meter.css +1 -1
  103. package/styles/ui-nav-item.css +1 -1
  104. package/styles/ui-page-header.css +1 -1
  105. package/styles/ui-popover.css +1 -1
  106. package/styles/ui-radio-group.css +1 -1
  107. package/styles/ui-radio.css +1 -1
  108. package/styles/ui-reel.css +1 -1
  109. package/styles/ui-scroll-area.css +1 -1
  110. package/styles/ui-search-result-row.css +1 -1
  111. package/styles/ui-search-shell.css +1 -1
  112. package/styles/ui-section.css +1 -1
  113. package/styles/ui-select.css +1 -1
  114. package/styles/ui-separator.css +1 -1
  115. package/styles/ui-sidebar.css +1 -1
  116. package/styles/ui-spinner.css +1 -1
  117. package/styles/ui-stack.css +1 -1
  118. package/styles/ui-status-message.css +1 -1
  119. package/styles/ui-switch.css +1 -1
  120. package/styles/ui-switcher.css +1 -1
  121. package/styles/ui-table.css +1 -1
  122. package/styles/ui-tabs.css +1 -1
  123. package/styles/ui-text.css +1 -1
  124. package/styles/ui-textarea.css +1 -1
  125. package/styles/ui-toast-region.css +1 -1
  126. package/styles/ui-toast.css +1 -1
  127. package/styles/ui-tooltip.css +1 -1
  128. package/styles/ui-top-bar.css +1 -1
  129. package/styles/ui-tree-item.css +1 -1
  130. package/styles/ui-tree.css +1 -1
  131. package/vanilla/UiActionBar.d.ts +1 -1
  132. package/vanilla/UiActionBar.js +70 -52
  133. package/vanilla/UiAffordanceScope.d.ts +1 -1
  134. package/vanilla/UiAffordanceScope.js +36 -17
  135. package/vanilla/UiAvatar.d.ts +1 -1
  136. package/vanilla/UiAvatar.js +72 -37
  137. package/vanilla/UiAvatarGroup.d.ts +1 -1
  138. package/vanilla/UiAvatarGroup.js +57 -26
  139. package/vanilla/UiBadge.d.ts +1 -1
  140. package/vanilla/UiBadge.js +49 -39
  141. package/vanilla/UiBreadcrumbItem.d.ts +1 -1
  142. package/vanilla/UiBreadcrumbItem.js +41 -26
  143. package/vanilla/UiBreadcrumbs.d.ts +1 -1
  144. package/vanilla/UiBreadcrumbs.js +35 -24
  145. package/vanilla/UiButton.d.ts +1 -1
  146. package/vanilla/UiButton.js +444 -156
  147. package/vanilla/UiCallout.d.ts +1 -1
  148. package/vanilla/UiCallout.js +135 -111
  149. package/vanilla/UiCard.d.ts +1 -1
  150. package/vanilla/UiCard.js +147 -47
  151. package/vanilla/UiCheckbox.d.ts +1 -1
  152. package/vanilla/UiCheckbox.js +100 -58
  153. package/vanilla/UiCluster.d.ts +1 -1
  154. package/vanilla/UiCluster.js +35 -29
  155. package/vanilla/UiCombobox.d.ts +1 -1
  156. package/vanilla/UiCombobox.js +879 -283
  157. package/vanilla/UiContainer.d.ts +1 -1
  158. package/vanilla/UiContainer.js +35 -19
  159. package/vanilla/UiContextMenu.d.ts +1 -1
  160. package/vanilla/UiContextMenu.js +34 -23
  161. package/vanilla/UiCover.d.ts +1 -1
  162. package/vanilla/UiCover.js +35 -15
  163. package/vanilla/UiDescriptionItem.d.ts +1 -1
  164. package/vanilla/UiDescriptionItem.js +37 -24
  165. package/vanilla/UiDescriptionList.d.ts +1 -1
  166. package/vanilla/UiDescriptionList.js +35 -21
  167. package/vanilla/UiDialog.d.ts +1 -1
  168. package/vanilla/UiDialog.js +83 -42
  169. package/vanilla/UiDisclosure.d.ts +1 -1
  170. package/vanilla/UiDisclosure.js +113 -72
  171. package/vanilla/UiEditable.d.ts +1 -1
  172. package/vanilla/UiEditable.js +125 -58
  173. package/vanilla/UiEditorInsertTableGrid.d.ts +1 -1
  174. package/vanilla/UiEditorInsertTableGrid.js +85 -30
  175. package/vanilla/UiEditorMentionMenu.d.ts +1 -1
  176. package/vanilla/UiEditorMentionMenu.js +193 -75
  177. package/vanilla/UiEditorMentionMenuItem.d.ts +1 -1
  178. package/vanilla/UiEditorMentionMenuItem.js +81 -44
  179. package/vanilla/UiEditorSlashMenu.d.ts +1 -1
  180. package/vanilla/UiEditorSlashMenu.js +123 -78
  181. package/vanilla/UiEditorSlashMenuGroup.d.ts +1 -1
  182. package/vanilla/UiEditorSlashMenuGroup.js +40 -34
  183. package/vanilla/UiEditorSlashMenuItem.d.ts +1 -1
  184. package/vanilla/UiEditorSlashMenuItem.js +98 -45
  185. package/vanilla/UiEditorSurface.d.ts +1 -1
  186. package/vanilla/UiEditorSurface.js +35 -15
  187. package/vanilla/UiEditorTableContextMenu.d.ts +1 -1
  188. package/vanilla/UiEditorTableContextMenu.js +143 -60
  189. package/vanilla/UiEditorTableOverlay.d.ts +1 -1
  190. package/vanilla/UiEditorTableOverlay.js +212 -109
  191. package/vanilla/UiEditorTableToolbar.d.ts +1 -1
  192. package/vanilla/UiEditorTableToolbar.js +330 -113
  193. package/vanilla/UiEditorToolbar.d.ts +1 -1
  194. package/vanilla/UiEditorToolbar.js +37 -20
  195. package/vanilla/UiFloatingActionButton.d.ts +1 -1
  196. package/vanilla/UiFloatingActionButton.js +44 -22
  197. package/vanilla/UiFormField.d.ts +1 -1
  198. package/vanilla/UiFormField.js +89 -65
  199. package/vanilla/UiGrid.d.ts +1 -1
  200. package/vanilla/UiGrid.js +39 -19
  201. package/vanilla/UiIcon.d.ts +1 -1
  202. package/vanilla/UiIcon.js +186 -27
  203. package/vanilla/UiIconButton.d.ts +1 -1
  204. package/vanilla/UiIconButton.js +82 -32
  205. package/vanilla/UiImage.d.ts +1 -1
  206. package/vanilla/UiImage.js +76 -69
  207. package/vanilla/UiInput.d.ts +1 -1
  208. package/vanilla/UiInput.js +51 -27
  209. package/vanilla/UiInputGroup.d.ts +1 -1
  210. package/vanilla/UiInputGroup.js +77 -56
  211. package/vanilla/UiList.d.ts +1 -1
  212. package/vanilla/UiList.js +91 -27
  213. package/vanilla/UiListItem.d.ts +1 -1
  214. package/vanilla/UiListItem.js +81 -74
  215. package/vanilla/UiListbox.d.ts +1 -1
  216. package/vanilla/UiListbox.js +204 -81
  217. package/vanilla/UiMenu.d.ts +1 -1
  218. package/vanilla/UiMenu.js +36 -20
  219. package/vanilla/UiMenuGroup.d.ts +1 -1
  220. package/vanilla/UiMenuGroup.js +60 -24
  221. package/vanilla/UiMenuItem.d.ts +1 -1
  222. package/vanilla/UiMenuItem.js +177 -77
  223. package/vanilla/UiMeter.d.ts +1 -1
  224. package/vanilla/UiMeter.js +77 -14
  225. package/vanilla/UiNavItem.d.ts +1 -1
  226. package/vanilla/UiNavItem.js +199 -123
  227. package/vanilla/UiPageHeader.d.ts +1 -1
  228. package/vanilla/UiPageHeader.js +91 -69
  229. package/vanilla/UiPopover.d.ts +1 -1
  230. package/vanilla/UiPopover.js +36 -20
  231. package/vanilla/UiRadio.d.ts +1 -1
  232. package/vanilla/UiRadio.js +82 -50
  233. package/vanilla/UiRadioGroup.d.ts +1 -1
  234. package/vanilla/UiRadioGroup.js +58 -30
  235. package/vanilla/UiReel.d.ts +1 -1
  236. package/vanilla/UiReel.js +35 -21
  237. package/vanilla/UiScrollArea.d.ts +1 -1
  238. package/vanilla/UiScrollArea.js +37 -20
  239. package/vanilla/UiSearchResultRow.d.ts +1 -1
  240. package/vanilla/UiSearchResultRow.js +98 -74
  241. package/vanilla/UiSearchShell.d.ts +1 -1
  242. package/vanilla/UiSearchShell.js +81 -64
  243. package/vanilla/UiSection.d.ts +1 -1
  244. package/vanilla/UiSection.js +71 -53
  245. package/vanilla/UiSelect.d.ts +1 -1
  246. package/vanilla/UiSelect.js +50 -26
  247. package/vanilla/UiSeparator.d.ts +1 -1
  248. package/vanilla/UiSeparator.js +23 -22
  249. package/vanilla/UiSidebar.d.ts +1 -1
  250. package/vanilla/UiSidebar.js +49 -37
  251. package/vanilla/UiSpinner.d.ts +1 -1
  252. package/vanilla/UiSpinner.js +43 -26
  253. package/vanilla/UiStack.d.ts +1 -1
  254. package/vanilla/UiStack.js +39 -19
  255. package/vanilla/UiStatusMessage.d.ts +1 -1
  256. package/vanilla/UiStatusMessage.js +70 -41
  257. package/vanilla/UiSwitch.d.ts +1 -1
  258. package/vanilla/UiSwitch.js +82 -51
  259. package/vanilla/UiSwitcher.d.ts +1 -1
  260. package/vanilla/UiSwitcher.js +36 -17
  261. package/vanilla/UiTable.d.ts +1 -1
  262. package/vanilla/UiTable.js +35 -17
  263. package/vanilla/UiTabs.d.ts +1 -1
  264. package/vanilla/UiTabs.js +97 -42
  265. package/vanilla/UiText.d.ts +1 -1
  266. package/vanilla/UiText.js +343 -117
  267. package/vanilla/UiTextarea.d.ts +1 -1
  268. package/vanilla/UiTextarea.js +56 -33
  269. package/vanilla/UiToast.d.ts +1 -1
  270. package/vanilla/UiToast.js +61 -40
  271. package/vanilla/UiToastRegion.d.ts +1 -1
  272. package/vanilla/UiToastRegion.js +85 -35
  273. package/vanilla/UiTooltip.d.ts +1 -1
  274. package/vanilla/UiTooltip.js +54 -31
  275. package/vanilla/UiTopBar.d.ts +1 -1
  276. package/vanilla/UiTopBar.js +70 -52
  277. package/vanilla/UiTree.d.ts +1 -1
  278. package/vanilla/UiTree.js +35 -17
  279. package/vanilla/UiTreeItem.d.ts +1 -1
  280. package/vanilla/UiTreeItem.js +219 -181
  281. package/vue/UiActionBar.vue +1 -1
  282. package/vue/UiAffordanceScope.vue +1 -1
  283. package/vue/UiAvatar.vue +7 -7
  284. package/vue/UiAvatarGroup.vue +3 -3
  285. package/vue/UiBadge.vue +1 -1
  286. package/vue/UiBreadcrumbItem.vue +1 -1
  287. package/vue/UiBreadcrumbs.vue +1 -1
  288. package/vue/UiButton.vue +1 -1
  289. package/vue/UiCallout.vue +1 -1
  290. package/vue/UiCard.vue +1 -1
  291. package/vue/UiCheckbox.vue +2 -2
  292. package/vue/UiCluster.vue +1 -1
  293. package/vue/UiCombobox.vue +25 -25
  294. package/vue/UiContainer.vue +1 -1
  295. package/vue/UiContextMenu.vue +1 -1
  296. package/vue/UiCover.vue +1 -1
  297. package/vue/UiDescriptionItem.vue +1 -1
  298. package/vue/UiDescriptionList.vue +1 -1
  299. package/vue/UiDialog.vue +2 -2
  300. package/vue/UiDisclosure.vue +6 -6
  301. package/vue/UiEditable.vue +3 -3
  302. package/vue/UiEditorInsertTableGrid.vue +4 -4
  303. package/vue/UiEditorMentionMenu.vue +2 -2
  304. package/vue/UiEditorMentionMenuItem.vue +1 -1
  305. package/vue/UiEditorSlashMenu.vue +2 -2
  306. package/vue/UiEditorSlashMenuGroup.vue +1 -1
  307. package/vue/UiEditorSlashMenuItem.vue +1 -1
  308. package/vue/UiEditorSurface.vue +1 -1
  309. package/vue/UiEditorTableContextMenu.vue +1 -1
  310. package/vue/UiEditorTableOverlay.vue +11 -11
  311. package/vue/UiEditorTableToolbar.vue +2 -2
  312. package/vue/UiEditorToolbar.vue +1 -1
  313. package/vue/UiFloatingActionButton.vue +1 -1
  314. package/vue/UiFormField.vue +1 -1
  315. package/vue/UiGrid.vue +1 -1
  316. package/vue/UiIcon.vue +1 -1
  317. package/vue/UiIconButton.vue +1 -1
  318. package/vue/UiImage.vue +1 -1
  319. package/vue/UiInput.vue +1 -1
  320. package/vue/UiInputGroup.vue +1 -1
  321. package/vue/UiList.vue +1 -1
  322. package/vue/UiListItem.vue +1 -1
  323. package/vue/UiListbox.vue +4 -4
  324. package/vue/UiMenu.vue +1 -1
  325. package/vue/UiMenuGroup.vue +1 -1
  326. package/vue/UiMenuItem.vue +2 -2
  327. package/vue/UiMeter.vue +1 -1
  328. package/vue/UiNavItem.vue +1 -1
  329. package/vue/UiPageHeader.vue +1 -1
  330. package/vue/UiPopover.vue +1 -1
  331. package/vue/UiRadio.vue +2 -2
  332. package/vue/UiRadioGroup.vue +1 -1
  333. package/vue/UiReel.vue +1 -1
  334. package/vue/UiScrollArea.vue +1 -1
  335. package/vue/UiSearchResultRow.vue +1 -1
  336. package/vue/UiSearchShell.vue +1 -1
  337. package/vue/UiSection.vue +1 -1
  338. package/vue/UiSelect.vue +1 -1
  339. package/vue/UiSeparator.vue +1 -1
  340. package/vue/UiSidebar.vue +3 -3
  341. package/vue/UiSpinner.vue +1 -1
  342. package/vue/UiStack.vue +1 -1
  343. package/vue/UiStatusMessage.vue +1 -1
  344. package/vue/UiSwitch.vue +2 -2
  345. package/vue/UiSwitcher.vue +1 -1
  346. package/vue/UiTable.vue +1 -1
  347. package/vue/UiTabs.vue +1 -1
  348. package/vue/UiText.vue +1 -1
  349. package/vue/UiTextarea.vue +1 -1
  350. package/vue/UiToast.vue +1 -1
  351. package/vue/UiToastRegion.vue +1 -1
  352. package/vue/UiTooltip.vue +2 -2
  353. package/vue/UiTopBar.vue +1 -1
  354. package/vue/UiTree.vue +1 -1
  355. package/vue/UiTreeItem.vue +6 -6
  356. package/vue/chunks/UiActionBar.js +1 -1
  357. package/vue/chunks/UiAffordanceScope.js +1 -1
  358. package/vue/chunks/UiAvatar.js +6 -6
  359. package/vue/chunks/UiAvatarGroup.js +3 -3
  360. package/vue/chunks/UiBadge.js +1 -1
  361. package/vue/chunks/UiBreadcrumbItem.js +1 -1
  362. package/vue/chunks/UiBreadcrumbs.js +1 -1
  363. package/vue/chunks/UiButton.js +1 -1
  364. package/vue/chunks/UiCallout.js +1 -1
  365. package/vue/chunks/UiCard.js +1 -1
  366. package/vue/chunks/UiCheckbox.js +2 -2
  367. package/vue/chunks/UiCluster.js +1 -1
  368. package/vue/chunks/UiCombobox.js +22 -22
  369. package/vue/chunks/UiContainer.js +1 -1
  370. package/vue/chunks/UiContextMenu.js +1 -1
  371. package/vue/chunks/UiCover.js +1 -1
  372. package/vue/chunks/UiDescriptionItem.js +1 -1
  373. package/vue/chunks/UiDescriptionList.js +1 -1
  374. package/vue/chunks/UiDialog.js +2 -2
  375. package/vue/chunks/UiDisclosure.js +6 -6
  376. package/vue/chunks/UiEditable.js +3 -3
  377. package/vue/chunks/UiEditorInsertTableGrid.js +4 -4
  378. package/vue/chunks/UiEditorMentionMenu.js +2 -2
  379. package/vue/chunks/UiEditorMentionMenuItem.js +1 -1
  380. package/vue/chunks/UiEditorSlashMenu.js +2 -2
  381. package/vue/chunks/UiEditorSlashMenuGroup.js +1 -1
  382. package/vue/chunks/UiEditorSlashMenuItem.js +1 -1
  383. package/vue/chunks/UiEditorSurface.js +1 -1
  384. package/vue/chunks/UiEditorTableContextMenu.js +1 -1
  385. package/vue/chunks/UiEditorTableOverlay.js +11 -11
  386. package/vue/chunks/UiEditorTableToolbar.js +2 -2
  387. package/vue/chunks/UiEditorToolbar.js +1 -1
  388. package/vue/chunks/UiFloatingActionButton.js +1 -1
  389. package/vue/chunks/UiFormField.js +1 -1
  390. package/vue/chunks/UiGrid.js +1 -1
  391. package/vue/chunks/UiIcon.js +1 -1
  392. package/vue/chunks/UiIconButton.js +1 -1
  393. package/vue/chunks/UiImage.js +1 -1
  394. package/vue/chunks/UiInput.js +1 -1
  395. package/vue/chunks/UiInputGroup.js +1 -1
  396. package/vue/chunks/UiList.js +1 -1
  397. package/vue/chunks/UiListItem.js +1 -1
  398. package/vue/chunks/UiListbox.js +4 -4
  399. package/vue/chunks/UiMenu.js +1 -1
  400. package/vue/chunks/UiMenuGroup.js +1 -1
  401. package/vue/chunks/UiMenuItem.js +2 -2
  402. package/vue/chunks/UiMeter.js +1 -1
  403. package/vue/chunks/UiNavItem.js +1 -1
  404. package/vue/chunks/UiPageHeader.js +1 -1
  405. package/vue/chunks/UiPopover.js +1 -1
  406. package/vue/chunks/UiRadio.js +2 -2
  407. package/vue/chunks/UiRadioGroup.js +1 -1
  408. package/vue/chunks/UiReel.js +1 -1
  409. package/vue/chunks/UiScrollArea.js +1 -1
  410. package/vue/chunks/UiSearchResultRow.js +1 -1
  411. package/vue/chunks/UiSearchShell.js +1 -1
  412. package/vue/chunks/UiSection.js +1 -1
  413. package/vue/chunks/UiSelect.js +1 -1
  414. package/vue/chunks/UiSeparator.js +1 -1
  415. package/vue/chunks/UiSidebar.js +2 -2
  416. package/vue/chunks/UiSpinner.js +1 -1
  417. package/vue/chunks/UiStack.js +1 -1
  418. package/vue/chunks/UiStatusMessage.js +1 -1
  419. package/vue/chunks/UiSwitch.js +2 -2
  420. package/vue/chunks/UiSwitcher.js +1 -1
  421. package/vue/chunks/UiTable.js +1 -1
  422. package/vue/chunks/UiTabs.js +1 -1
  423. package/vue/chunks/UiText.js +1 -1
  424. package/vue/chunks/UiTextarea.js +1 -1
  425. package/vue/chunks/UiToast.js +1 -1
  426. package/vue/chunks/UiToastRegion.js +1 -1
  427. package/vue/chunks/UiTooltip.js +2 -2
  428. package/vue/chunks/UiTopBar.js +1 -1
  429. package/vue/chunks/UiTree.js +1 -1
  430. package/vue/chunks/UiTreeItem.js +5 -5
  431. package/vue/chunks/control.js +41 -13
  432. package/vue/chunks/host.js +19 -18
  433. package/vue/components.css +1388 -1388
  434. package/vue/host.ts +22 -20
@@ -41,39 +41,39 @@
41
41
  ></prop>
42
42
  </event>
43
43
  </defs>
44
- <div role="menu" from:hidden="not open">
45
- <div $if="swatches" class="section" role="none">
44
+ <div role="menu" from:hidden="not $open">
45
+ <div $if="$swatches" class="section" role="none">
46
46
  <div class="heading" role="presentation">Cell background</div>
47
47
  <div class="swatches" role="group" aria-label="Cell background">
48
48
  <button
49
- $each="swatch of swatches"
50
- $key="swatch.action"
49
+ $each="swatch of $swatches"
50
+ $key="$swatch.action"
51
51
  type="button"
52
52
  class="swatch-button"
53
- class:selected="swatch.selected"
53
+ class:selected="$swatch.selected"
54
54
  role="menuitemradio"
55
- from:aria-checked="swatch.selected"
56
- from:data-action="swatch.action"
55
+ from:aria-checked="$swatch.selected"
56
+ from:data-action="$swatch.action"
57
57
  >
58
- <span class="swatch" class:default="not swatch.color" style:--_swatch="swatch.color"></span>
58
+ <span class="swatch" class:default="not $swatch.color" style:--_swatch="$swatch.color"></span>
59
59
  <span class="swatch-label">{$swatch.label}</span>
60
60
  </button>
61
61
  </div>
62
62
  </div>
63
- <template $each="section of sections" $key="section.heading">
63
+ <template $each="section of $sections" $key="$section.heading">
64
64
  <div class="sep"></div>
65
65
  <div class="section" role="none">
66
66
  <div class="heading" role="presentation">{$section.heading}</div>
67
67
  <button
68
- $each="item of section.items"
69
- $key="item.action"
68
+ $each="item of $section.items"
69
+ $key="$item.action"
70
70
  type="button"
71
- from:role="{ true: 'menuitemcheckbox', false: 'menuitem' }[concat(item.checkable)]"
72
- from:aria-checked="{ true: item.checked, false: null }[concat(item.checkable)]"
73
- class:danger="item.danger"
74
- from:data-action="item.action"
71
+ from:role="{ true: 'menuitemcheckbox', false: 'menuitem' }[concat($item.checkable)]"
72
+ from:aria-checked="{ true: $item.checked, false: null }[concat($item.checkable)]"
73
+ class:danger="$item.danger"
74
+ from:data-action="$item.action"
75
75
  >
76
- <ui-icon from:name="item.icon"></ui-icon>
76
+ <ui-icon from:name="$item.icon"></ui-icon>
77
77
  <span>{$item.label}</span>
78
78
  </button>
79
79
  </div>
@@ -106,25 +106,25 @@
106
106
  type="object({ rowIndex: integer, columnIndex: integer, anchor: object({ left: number, top: number, right: number, bottom: number }) })"
107
107
  ></event>
108
108
  </defs>
109
- <div aria-label="Table controls" from:hidden="not open">
109
+ <div aria-label="Table controls" from:hidden="not $open">
110
110
  <div class="rows">
111
111
  <div
112
- $each="control of rows"
113
- $key="control.key"
112
+ $each="control of $rows"
113
+ $key="$control.key"
114
114
  class="control row"
115
- class:active="control.key = activeKey"
116
- style:top="control.offset"
117
- from:data-control-key="control.key"
115
+ class:active="$control.key = $activeKey"
116
+ style:top="$control.offset"
117
+ from:data-control-key="$control.key"
118
118
  >
119
119
  <span class="line" aria-hidden="true"></span>
120
120
  <span class="guide" data-ui-guide aria-hidden="true"></span>
121
121
  <button
122
122
  type="button"
123
123
  class="handle"
124
- from:data-ui-affordance="control.affordance"
125
- from:data-action="control.action"
126
- from:data-boundary-index="control.index"
127
- from:aria-label="control.label"
124
+ from:data-ui-affordance="$control.affordance"
125
+ from:data-action="$control.action"
126
+ from:data-boundary-index="$control.index"
127
+ from:aria-label="$control.label"
128
128
  >
129
129
  <ui-icon name="plus"></ui-icon>
130
130
  <span class="tooltip" role="tooltip">{$control.label}</span>
@@ -133,36 +133,36 @@
133
133
  </div>
134
134
  <div class="cols">
135
135
  <div
136
- $each="control of cols"
137
- $key="control.key"
136
+ $each="control of $cols"
137
+ $key="$control.key"
138
138
  class="control col"
139
- class:active="control.key = activeKey"
140
- style:left="control.offset"
141
- from:data-control-key="control.key"
139
+ class:active="$control.key = $activeKey"
140
+ style:left="$control.offset"
141
+ from:data-control-key="$control.key"
142
142
  >
143
143
  <span class="line" aria-hidden="true"></span>
144
144
  <span class="guide" data-ui-guide aria-hidden="true"></span>
145
145
  <button
146
146
  type="button"
147
147
  class="handle"
148
- from:data-ui-affordance="control.affordance"
149
- from:data-action="control.action"
150
- from:data-boundary-index="control.index"
151
- from:aria-label="control.label"
148
+ from:data-ui-affordance="$control.affordance"
149
+ from:data-action="$control.action"
150
+ from:data-boundary-index="$control.index"
151
+ from:aria-label="$control.label"
152
152
  >
153
153
  <ui-icon name="plus"></ui-icon>
154
154
  <span class="tooltip" role="tooltip">{$control.label}</span>
155
155
  </button>
156
156
  </div>
157
157
  </div>
158
- <template $if="hovered">
158
+ <template $if="$hovered">
159
159
  <button
160
160
  type="button"
161
161
  class="selector row"
162
- style:top="hovered.rowOffset"
162
+ style:top="$hovered.rowOffset"
163
163
  data-action="select-row"
164
- from:data-row-index="hovered.rowIndex"
165
- from:data-column-index="hovered.columnIndex"
164
+ from:data-row-index="$hovered.rowIndex"
165
+ from:data-column-index="$hovered.columnIndex"
166
166
  title="Drag row to reorder; click for actions"
167
167
  aria-label="Row actions"
168
168
  >
@@ -171,10 +171,10 @@
171
171
  <button
172
172
  type="button"
173
173
  class="selector column"
174
- style:left="hovered.columnOffset"
174
+ style:left="$hovered.columnOffset"
175
175
  data-action="select-column"
176
- from:data-row-index="hovered.rowIndex"
177
- from:data-column-index="hovered.columnIndex"
176
+ from:data-row-index="$hovered.rowIndex"
177
+ from:data-column-index="$hovered.columnIndex"
178
178
  title="Drag column to reorder; click for actions"
179
179
  aria-label="Column actions"
180
180
  >
@@ -182,14 +182,14 @@
182
182
  </button>
183
183
  </template>
184
184
  <button
185
- $if="active"
185
+ $if="$active"
186
186
  type="button"
187
187
  class="cell-menu"
188
- style:left="active.menuLeft"
189
- style:top="active.menuTop"
188
+ style:left="$active.menuLeft"
189
+ style:top="$active.menuTop"
190
190
  data-action="open-cell-menu"
191
- from:data-row-index="active.rowIndex"
192
- from:data-column-index="active.columnIndex"
191
+ from:data-row-index="$active.rowIndex"
192
+ from:data-column-index="$active.columnIndex"
193
193
  title="Cell actions"
194
194
  aria-label="Cell actions"
195
195
  >
@@ -51,67 +51,67 @@
51
51
  ></prop>
52
52
  </event>
53
53
  </defs>
54
- <div role="toolbar" aria-label="Table actions" from:hidden="not open">
55
- <div $if="alignments" class="group" role="group" aria-label="Cell alignment">
54
+ <div role="toolbar" aria-label="Table actions" from:hidden="not $open">
55
+ <div $if="$alignments" class="group" role="group" aria-label="Cell alignment">
56
56
  <button
57
- $each="item of alignments"
58
- $key="item.action"
57
+ $each="item of $alignments"
58
+ $key="$item.action"
59
59
  type="button"
60
60
  class="icon-button"
61
- class:active="item.active"
62
- from:data-action="item.action"
63
- from:aria-label="item.label"
64
- from:title="item.label"
65
- from:aria-pressed="item.active"
61
+ class:active="$item.active"
62
+ from:data-action="$item.action"
63
+ from:aria-label="$item.label"
64
+ from:title="$item.label"
65
+ from:aria-pressed="$item.active"
66
66
  >
67
- <ui-icon from:name="item.action"></ui-icon>
67
+ <ui-icon from:name="$item.action"></ui-icon>
68
68
  </button>
69
69
  </div>
70
- <div $if="alignments and structure" class="sep" aria-hidden="true"></div>
71
- <div $if="structure" class="group" role="group" aria-label="Table structure">
72
- <button $each="item of structure" $key="item.action" type="button" from:data-action="item.action">
73
- <ui-icon from:name="item.icon"></ui-icon>
70
+ <div $if="$alignments and $structure" class="sep" aria-hidden="true"></div>
71
+ <div $if="$structure" class="group" role="group" aria-label="Table structure">
72
+ <button $each="item of $structure" $key="$item.action" type="button" from:data-action="$item.action">
73
+ <ui-icon from:name="$item.icon"></ui-icon>
74
74
  <span>{$item.label}</span>
75
75
  </button>
76
76
  </div>
77
- <div $if="(alignments or structure) and hasOverflow" class="sep" aria-hidden="true"></div>
78
- <div $if="hasOverflow" class="overflow">
79
- <button type="button" class="more" data-action="toggle-overflow" aria-haspopup="menu" from:aria-expanded="overflowOpen">
77
+ <div $if="($alignments or $structure) and $hasOverflow" class="sep" aria-hidden="true"></div>
78
+ <div $if="$hasOverflow" class="overflow">
79
+ <button type="button" class="more" data-action="toggle-overflow" aria-haspopup="menu" from:aria-expanded="$overflowOpen">
80
80
  <ui-icon name="table"></ui-icon>
81
81
  <span>Table options</span>
82
82
  <span class="chevron"><ui-icon name="chevron-down"></ui-icon></span>
83
83
  </button>
84
- <div $if="overflowOpen" class="menu" role="menu" aria-label="More table actions">
85
- <div $if="swatches" class="menu-section" role="none">
84
+ <div $if="$overflowOpen" class="menu" role="menu" aria-label="More table actions">
85
+ <div $if="$swatches" class="menu-section" role="none">
86
86
  <div class="menu-heading" role="presentation">Background</div>
87
87
  <div class="swatches" role="group" aria-label="Cell background">
88
88
  <button
89
- $each="swatch of swatches"
90
- $key="swatch.action"
89
+ $each="swatch of $swatches"
90
+ $key="$swatch.action"
91
91
  type="button"
92
92
  class="swatch-button"
93
- class:selected="swatch.selected"
93
+ class:selected="$swatch.selected"
94
94
  role="menuitemradio"
95
- from:aria-checked="swatch.selected"
96
- from:data-action="swatch.action"
95
+ from:aria-checked="$swatch.selected"
96
+ from:data-action="$swatch.action"
97
97
  >
98
- <span class="swatch" class:default="not swatch.color" style:--_swatch="swatch.color"></span>
98
+ <span class="swatch" class:default="not $swatch.color" style:--_swatch="$swatch.color"></span>
99
99
  <span>{$swatch.label}</span>
100
100
  </button>
101
101
  </div>
102
102
  </div>
103
- <div $each="section of sections" $key="section.heading" class="menu-section divided" role="none">
103
+ <div $each="section of $sections" $key="$section.heading" class="menu-section divided" role="none">
104
104
  <div class="menu-heading" role="presentation">{$section.heading}</div>
105
105
  <button
106
- $each="item of section.items"
107
- $key="item.action"
106
+ $each="item of $section.items"
107
+ $key="$item.action"
108
108
  type="button"
109
- from:role="{ true: 'menuitemcheckbox', false: 'menuitem' }[concat(item.checkable)]"
110
- from:aria-checked="{ true: item.checked, false: null }[concat(item.checkable)]"
111
- class:danger="item.danger"
112
- from:data-action="item.action"
109
+ from:role="{ true: 'menuitemcheckbox', false: 'menuitem' }[concat($item.checkable)]"
110
+ from:aria-checked="{ true: $item.checked, false: null }[concat($item.checkable)]"
111
+ class:danger="$item.danger"
112
+ from:data-action="$item.action"
113
113
  >
114
- <ui-icon from:name="item.icon"></ui-icon>
114
+ <ui-icon from:name="$item.icon"></ui-icon>
115
115
  <span>{$item.label}</span>
116
116
  </button>
117
117
  </div>
@@ -6,7 +6,7 @@
6
6
  widths.</prop>
7
7
  <prop name="label" type="string" default="">The button's accessible name. The button usually holds only an icon, so name the action it performs.</prop>
8
8
  </defs>
9
- <button type="button" from:aria-label="label" from:disabled="disabled"><slot></slot></button>
9
+ <button type="button" from:aria-label="$label" from:disabled="$disabled"><slot></slot></button>
10
10
  <style>
11
11
  /* This component's hooks style the element they are set on, and never a nested one. */
12
12
  @property --ui-floating-action-button-inset-block-end {
@@ -9,7 +9,7 @@
9
9
  <prop name="columns" type="integer"
10
10
  >Maximum columns when there is room. Omit for no cap. The grid still drops columns as its container narrows; it never forces a fixed column count.</prop>
11
11
  </defs>
12
- <div style:--_grid-column-cap="columns"><slot></slot></div>
12
+ <div style:--_grid-column-cap="$columns"><slot></slot></div>
13
13
  <style>
14
14
  /* This component's hooks style the element they are set on, and never a nested one. */
15
15
  @property --ui-grid-gap {
@@ -79,25 +79,25 @@
79
79
  'user-round': [{ tag: 'circle', cx: '12', cy: '8', r: '5' }, { tag: 'path', d: 'M20 21a8 8 0 0 0-16 0' }],
80
80
  'users': [{ tag: 'path', d: 'M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2' }, { tag: 'path', d: 'M16 3.128a4 4 0 0 1 0 7.744' }, { tag: 'path', d: 'M22 21v-2a4 4 0 0 0-3-3.87' }, { tag: 'circle', cx: '9', cy: '7', r: '4' }],
81
81
  'x': [{ tag: 'path', d: 'M18 6 6 18' }, { tag: 'path', d: 'm6 6 12 12' }],
82
- }[name]"
82
+ }[$name]"
83
83
  ></computed>
84
84
  </defs>
85
85
  <span aria-hidden="true">
86
86
  <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" focusable="false">
87
- <g $each="shape of shapes">
88
- <path $if="shape.tag = 'path'" from:d="shape.d"></path>
89
- <circle $if="shape.tag = 'circle'" from:cx="shape.cx" from:cy="shape.cy" from:r="shape.r"></circle>
87
+ <g $each="shape of $shapes">
88
+ <path $if="$shape.tag = 'path'" from:d="$shape.d"></path>
89
+ <circle $if="$shape.tag = 'circle'" from:cx="$shape.cx" from:cy="$shape.cy" from:r="$shape.r"></circle>
90
90
  <rect
91
- $if="shape.tag = 'rect'"
92
- from:x="shape.x"
93
- from:y="shape.y"
94
- from:width="shape.width"
95
- from:height="shape.height"
96
- from:rx="shape.rx"
97
- from:ry="shape.ry"
91
+ $if="$shape.tag = 'rect'"
92
+ from:x="$shape.x"
93
+ from:y="$shape.y"
94
+ from:width="$shape.width"
95
+ from:height="$shape.height"
96
+ from:rx="$shape.rx"
97
+ from:ry="$shape.ry"
98
98
  >
99
99
  </rect>
100
- <line $if="shape.tag = 'line'" from:x1="shape.x1" from:y1="shape.y1" from:x2="shape.x2" from:y2="shape.y2"></line>
100
+ <line $if="$shape.tag = 'line'" from:x1="$shape.x1" from:y1="$shape.y1" from:x2="$shape.x2" from:y2="$shape.y2"></line>
101
101
  </g>
102
102
  </svg>
103
103
  </span>
@@ -23,14 +23,14 @@
23
23
  <prop name="round" type="boolean" default="false">Use a fully circular shape.</prop>
24
24
  </defs>
25
25
  <button
26
- from:disabled="disabled"
26
+ from:disabled="$disabled"
27
27
  type="button"
28
- from:aria-label="label"
29
- from:data-match-button="matchButton"
30
- from:aria-disabled="{ true: 'true', false: null }[concat(loading or pending)]"
31
- from:aria-busy="loading or pending"
28
+ from:aria-label="$label"
29
+ from:data-match-button="$matchButton"
30
+ from:aria-disabled="{ true: 'true', false: null }[concat($loading or $pending)]"
31
+ from:aria-busy="$loading or $pending"
32
32
  >
33
- <ui-spinner $if="loading or pending" size="sm"></ui-spinner>
33
+ <ui-spinner $if="$loading or $pending" size="sm"></ui-spinner>
34
34
  <span class="content"><slot></slot></span>
35
35
  </button>
36
36
  <style>
@@ -20,8 +20,8 @@
20
20
  </defs>
21
21
  <figure>
22
22
  <div class="frame" $ref="frame">
23
- <slot name="media"><img from:src="src" from:alt="alt" from:width="width" from:height="height"></slot>
24
- <div class="handles" from:hidden="not (selected and resizable)">
23
+ <slot name="media"><img from:src="$src" from:alt="$alt" from:width="$width" from:height="$height"></slot>
24
+ <div class="handles" from:hidden="not ($selected and $resizable)">
25
25
  <button type="button" class="handle" data-corner="top-left" aria-label="Resize image from top left"></button>
26
26
  <button type="button" class="handle" data-corner="top-right" aria-label="Resize image from top right"></button>
27
27
  <button type="button" class="handle" data-corner="bottom-left" aria-label="Resize image from bottom left"></button>
@@ -38,7 +38,7 @@
38
38
  coarse pointer, sm grows to the 44px touch minimum and keeps body-size text. Change it after render through this option; the element's size property is
39
39
  the native one.</prop>
40
40
  </defs>
41
- <input from:type="type" from:value="value" from:disabled="disabled" from:readonly="readonly" from:required="required" from:aria-invalid="invalid">
41
+ <input from:type="$type" from:value="$value" from:disabled="$disabled" from:readonly="$readonly" from:required="$required" from:aria-invalid="$invalid">
42
42
  <style>
43
43
  /* This component's hooks style the element they are set on, and never a nested one. An Input
44
44
  Group sets --_ui-default-input-* for the input inside it, below the input's own hooks. */
@@ -11,7 +11,7 @@
11
11
  padding, for a short list of facts inside other content, such as the features a plan includes.</prop>
12
12
  </defs>
13
13
  <template $match>
14
- <ol $when="as = 'ol'"><slot></slot></ol>
14
+ <ol $when="$as = 'ol'"><slot></slot></ol>
15
15
  <ul $else role="list"><slot></slot></ul>
16
16
  </template>
17
17
  <style>
@@ -15,7 +15,7 @@
15
15
  >Gives an item a quiet accent wash without changing its text or announcing selection. Several items may be highlighted, such as new messages. Describe the
16
16
  reason in the item's text; use current only for the current destination.</prop>
17
17
  </defs>
18
- <li from:aria-current="current">
18
+ <li from:aria-current="$current">
19
19
  <span class="leading"><slot name="leading"></slot></span>
20
20
  <span class="content">
21
21
  <span class="title"><slot></slot></span>
@@ -25,26 +25,26 @@
25
25
  </defs>
26
26
  <div
27
27
  role="listbox"
28
- from:tabindex="{ true: '-1', false: '0' }[concat(disabled)]"
29
- from:aria-multiselectable="multiple"
30
- from:aria-disabled="disabled"
31
- from:aria-required="required"
32
- from:aria-invalid="invalid or validationError"
33
- style:--_rows="rows"
28
+ from:tabindex="{ true: '-1', false: '0' }[concat($disabled)]"
29
+ from:aria-multiselectable="$multiple"
30
+ from:aria-disabled="$disabled"
31
+ from:aria-required="$required"
32
+ from:aria-invalid="$invalid or $validationError"
33
+ style:--_rows="$rows"
34
34
  >
35
35
  <ui-scroll-area class="choices" $ref="choices">
36
36
  <div
37
- $each="choice of choices"
38
- $key="choice.index"
37
+ $each="choice of $choices"
38
+ $key="$choice.index"
39
39
  class="option"
40
- class:active="choice.index = active"
40
+ class:active="$choice.index = $active"
41
41
  role="option"
42
42
  data-ui-choice-option
43
- from:data-multiple="multiple"
44
- from:id="concat(uid, '-option-', choice.index)"
45
- from:data-index="choice.index"
46
- from:aria-selected="choice.selected"
47
- from:aria-disabled="choice.disabled"
43
+ from:data-multiple="$multiple"
44
+ from:id="concat($uid, '-option-', $choice.index)"
45
+ from:data-index="$choice.index"
46
+ from:aria-selected="$choice.selected"
47
+ from:aria-disabled="$choice.disabled"
48
48
  >
49
49
  <span>{$choice.label}</span>
50
50
  </div>
@@ -52,25 +52,25 @@
52
52
  <select
53
53
  class="fallback"
54
54
  $ref="options"
55
- from:size="rows"
56
- from:multiple="multiple"
57
- from:disabled="disabled"
58
- from:required="required"
59
- from:name="name"
55
+ from:size="$rows"
56
+ from:multiple="$multiple"
57
+ from:disabled="$disabled"
58
+ from:required="$required"
59
+ from:name="$name"
60
60
  aria-label="Choices"
61
61
  >
62
62
  <slot></slot>
63
63
  </select>
64
- <template $if="name and not disabled">
65
- <input $each="selected of selection" type="hidden" from:name="name" from:value="selected">
64
+ <template $if="$name and not $disabled">
65
+ <input $each="selected of $selection" type="hidden" from:name="$name" from:value="$selected">
66
66
  </template>
67
67
  <input
68
68
  class="validity"
69
69
  $ref="validity"
70
70
  type="checkbox"
71
- from:required="required and not hasSelection and not disabled"
72
- from:checked="hasSelection"
73
- from:disabled="disabled"
71
+ from:required="$required and not $hasSelection and not $disabled"
72
+ from:checked="$hasSelection"
73
+ from:disabled="$disabled"
74
74
  aria-hidden="true"
75
75
  tabindex="-1"
76
76
  >
@@ -2,8 +2,8 @@
2
2
  <defs>
3
3
  <prop name="label" type="string" default="">Visible heading and accessible name for this group of menu items.</prop>
4
4
  </defs>
5
- <div role="group" from:aria-label="label">
6
- <div class="heading" $if="label">{$label}</div>
5
+ <div role="group" from:aria-label="$label">
6
+ <div class="heading" $if="$label">{$label}</div>
7
7
  <slot></slot>
8
8
  </div>
9
9
  <style>
@@ -20,26 +20,26 @@
20
20
  </defs>
21
21
  <template $match>
22
22
  <a
23
- $when="href and type = 'action'"
23
+ $when="$href and $type = 'action'"
24
24
  role="menuitem"
25
25
  tabindex="-1"
26
- from:aria-disabled="disabled"
27
- from:data-value="value"
28
- from:href="{ true: null, false: href }[concat(disabled)]"
26
+ from:aria-disabled="$disabled"
27
+ from:data-value="$value"
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>
32
32
  </a>
33
33
  <div
34
34
  $else
35
- from:role="{ action: 'menuitem', checkbox: 'menuitemcheckbox', radio: 'menuitemradio' }[type]"
36
- from:aria-checked="{ action: null, checkbox: internalChecked, radio: internalChecked }[type]"
35
+ from:role="{ action: 'menuitem', checkbox: 'menuitemcheckbox', radio: 'menuitemradio' }[$type]"
36
+ from:aria-checked="{ action: null, checkbox: $internalChecked, radio: $internalChecked }[$type]"
37
37
  tabindex="-1"
38
- from:aria-disabled="disabled"
39
- from:data-value="value"
38
+ from:aria-disabled="$disabled"
39
+ from:data-value="$value"
40
40
  >
41
41
  <span class="indicator" aria-hidden="true">
42
- <ui-icon $if="(type = 'checkbox' or type = 'radio') and internalChecked" name="check"></ui-icon>
42
+ <ui-icon $if="($type = 'checkbox' or $type = 'radio') and $internalChecked" name="check"></ui-icon>
43
43
  </span>
44
44
  <span class="label"><slot></slot></span>
45
45
  <span class="shortcut" aria-hidden="true"><slot name="shortcut"></slot></span>
@@ -21,19 +21,19 @@
21
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
22
  locale.</prop>
23
23
  <!-- Derived as it renders, so every render path, a server render included, draws the bar and states its value without JavaScript. -->
24
- <computed name="amount" from="clamp(0, value, max)"></computed>
25
- <computed name="percent" from="{ true: amount / max * 100, false: 0 }[concat(max > 0)]"></computed>
24
+ <computed name="amount" from="clamp(0, $value, $max)"></computed>
25
+ <computed name="percent" from="{ true: $amount / $max * 100, false: 0 }[concat($max > 0)]"></computed>
26
26
  </defs>
27
27
  <span
28
28
  role="meter"
29
29
  aria-valuemin="0"
30
- from:aria-valuemax="max"
31
- from:aria-valuenow="amount"
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)]"
30
+ from:aria-valuemax="$max"
31
+ from:aria-valuenow="$amount"
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)]"
35
35
  >
36
- <span class="fill" style:inline-size="concat(percent, '%')"></span>
36
+ <span class="fill" style:inline-size="concat($percent, '%')"></span>
37
37
  </span>
38
38
  <style>
39
39
  /* How far along something is: a track, filled from the start in the tone's colour. The track is a
@@ -22,11 +22,11 @@
22
22
  </defs>
23
23
  <template $match>
24
24
  <a
25
- $when="as = 'a'"
26
- from:href="href"
27
- from:target="target"
28
- from:rel="rel"
29
- from:aria-current="{ true: 'page', false: null, page: 'page', step: 'step', location: 'location' }[concat(current)]"
25
+ $when="$as = 'a'"
26
+ from:href="$href"
27
+ from:target="$target"
28
+ from:rel="$rel"
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' }[concat(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">
@@ -24,7 +24,7 @@
24
24
  </event>
25
25
  </defs>
26
26
  <label>
27
- <input type="radio" $ref="input" .checked="internalChecked" from:disabled="disabled" from:required="required" from:value="value" from:name="name">
27
+ <input type="radio" $ref="input" .checked="$internalChecked" from:disabled="$disabled" from:required="$required" from:value="$value" from:name="$name">
28
28
  <span class="text">
29
29
  <span class="label"><slot></slot></span>
30
30
  <span class="description" $ref="description" aria-hidden="true"><slot name="description"></slot></span>
@@ -30,7 +30,7 @@
30
30
  <prop name="trigger" required type="keyword" values="keyboard, pointer, programmatic"></prop>
31
31
  </event>
32
32
  </defs>
33
- <fieldset role="radiogroup" from:aria-required="required" from:aria-invalid="invalid" from:disabled="disabled">
33
+ <fieldset role="radiogroup" from:aria-required="$required" from:aria-invalid="$invalid" from:disabled="$disabled">
34
34
  <legend>{$label}</legend>
35
35
  <slot></slot>
36
36
  </fieldset>
@@ -8,7 +8,7 @@
8
8
  >Marks the row as the current result: it gets the hover surface and aria-current="true", which assistive technology announces as current. Set it on one row
9
9
  at a time, such as the result the arrow keys have moved to.</prop>
10
10
  </defs>
11
- <button type="button" from:disabled="disabled" from:aria-current="selected">
11
+ <button type="button" from:disabled="$disabled" from:aria-current="$selected">
12
12
  <span class="leading"><slot name="leading"></slot></span>
13
13
  <span class="content">
14
14
  <span class="title"><slot name="title"></slot></span>