@threadlabs/looma 0.21.5 → 0.22.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 (418) hide show
  1. package/components/ui-affordance-scope/ui-affordance-scope.html +1 -1
  2. package/components/ui-avatar/ui-avatar.html +4 -4
  3. package/components/ui-avatar-group/ui-avatar-group.html +14 -4
  4. package/components/ui-avatar-group/ui-avatar-group.js +1 -1
  5. package/components/ui-button/ui-button.html +10 -7
  6. package/components/ui-checkbox/ui-checkbox.html +1 -1
  7. package/components/ui-combobox/ui-combobox.html +18 -18
  8. package/components/ui-context-menu/ui-context-menu.html +1 -1
  9. package/components/ui-dialog/ui-dialog.html +2 -2
  10. package/components/ui-disclosure/ui-disclosure.html +4 -4
  11. package/components/ui-editable/ui-editable.html +3 -3
  12. package/components/ui-editor-insert-table-grid/ui-editor-insert-table-grid.html +5 -5
  13. package/components/ui-editor-mention-menu/ui-editor-mention-menu.html +5 -5
  14. package/components/ui-editor-slash-menu/ui-editor-slash-menu.html +3 -3
  15. package/components/ui-editor-table-context-menu/ui-editor-table-context-menu.html +2 -2
  16. package/components/ui-editor-table-overlay/ui-editor-table-overlay.html +3 -7
  17. package/components/ui-editor-table-toolbar/ui-editor-table-toolbar.html +6 -6
  18. package/components/ui-listbox/ui-listbox.html +6 -6
  19. package/components/ui-menu/ui-menu.html +1 -1
  20. package/components/ui-menu-item/ui-menu-item.html +1 -1
  21. package/components/ui-popover/ui-popover.html +1 -1
  22. package/components/ui-radio/ui-radio.html +1 -1
  23. package/components/ui-radio-group/ui-radio-group.html +1 -1
  24. package/components/ui-search-shell/ui-search-shell.html +1 -1
  25. package/components/ui-sidebar/ui-sidebar.html +2 -2
  26. package/components/ui-switch/ui-switch.html +1 -1
  27. package/components/ui-switcher/ui-switcher.html +1 -1
  28. package/components/ui-tabs/ui-tabs.html +2 -2
  29. package/components/ui-toast-region/ui-toast-region.html +1 -1
  30. package/components/ui-tooltip/ui-tooltip.html +1 -1
  31. package/components/ui-tree-item/ui-tree-item.html +4 -4
  32. package/dist/index.js +1 -1
  33. package/package.json +2 -2
  34. package/styles/ui-action-bar.css +1 -1
  35. package/styles/ui-affordance-scope.css +1 -1
  36. package/styles/ui-avatar-group.css +10 -1
  37. package/styles/ui-avatar.css +1 -1
  38. package/styles/ui-badge.css +1 -1
  39. package/styles/ui-breadcrumb-item.css +1 -1
  40. package/styles/ui-breadcrumbs.css +1 -1
  41. package/styles/ui-button.css +11 -7
  42. package/styles/ui-callout.css +1 -1
  43. package/styles/ui-card.css +1 -1
  44. package/styles/ui-checkbox.css +1 -1
  45. package/styles/ui-cluster.css +1 -1
  46. package/styles/ui-combobox.css +1 -1
  47. package/styles/ui-container.css +1 -1
  48. package/styles/ui-context-menu.css +1 -1
  49. package/styles/ui-cover.css +1 -1
  50. package/styles/ui-description-item.css +1 -1
  51. package/styles/ui-description-list.css +1 -1
  52. package/styles/ui-dialog.css +1 -1
  53. package/styles/ui-disclosure.css +1 -1
  54. package/styles/ui-editable.css +1 -1
  55. package/styles/ui-editor-insert-table-grid.css +1 -1
  56. package/styles/ui-editor-mention-menu-item.css +1 -1
  57. package/styles/ui-editor-mention-menu.css +1 -1
  58. package/styles/ui-editor-slash-menu-group.css +1 -1
  59. package/styles/ui-editor-slash-menu-item.css +1 -1
  60. package/styles/ui-editor-slash-menu.css +1 -1
  61. package/styles/ui-editor-table-context-menu.css +1 -1
  62. package/styles/ui-editor-table-overlay.css +1 -1
  63. package/styles/ui-editor-table-toolbar.css +1 -1
  64. package/styles/ui-editor-toolbar.css +1 -1
  65. package/styles/ui-floating-action-button.css +1 -1
  66. package/styles/ui-form-field.css +1 -1
  67. package/styles/ui-grid.css +1 -1
  68. package/styles/ui-icon-button.css +1 -1
  69. package/styles/ui-icon.css +1 -1
  70. package/styles/ui-input-group.css +1 -1
  71. package/styles/ui-input.css +1 -1
  72. package/styles/ui-list-item.css +1 -1
  73. package/styles/ui-list.css +1 -1
  74. package/styles/ui-listbox.css +1 -1
  75. package/styles/ui-menu-group.css +1 -1
  76. package/styles/ui-menu-item.css +1 -1
  77. package/styles/ui-menu.css +1 -1
  78. package/styles/ui-meter.css +1 -1
  79. package/styles/ui-nav-item.css +1 -1
  80. package/styles/ui-page-header.css +1 -1
  81. package/styles/ui-popover.css +1 -1
  82. package/styles/ui-radio-group.css +1 -1
  83. package/styles/ui-radio.css +1 -1
  84. package/styles/ui-reel.css +1 -1
  85. package/styles/ui-scroll-area.css +1 -1
  86. package/styles/ui-search-result-row.css +1 -1
  87. package/styles/ui-search-shell.css +1 -1
  88. package/styles/ui-section.css +1 -1
  89. package/styles/ui-select.css +1 -1
  90. package/styles/ui-separator.css +1 -1
  91. package/styles/ui-sidebar.css +1 -1
  92. package/styles/ui-spinner.css +1 -1
  93. package/styles/ui-stack.css +1 -1
  94. package/styles/ui-status-message.css +1 -1
  95. package/styles/ui-switch.css +1 -1
  96. package/styles/ui-switcher.css +1 -1
  97. package/styles/ui-table.css +1 -1
  98. package/styles/ui-tabs.css +1 -1
  99. package/styles/ui-text.css +1 -1
  100. package/styles/ui-textarea.css +1 -1
  101. package/styles/ui-toast-region.css +1 -1
  102. package/styles/ui-toast.css +1 -1
  103. package/styles/ui-tooltip.css +1 -1
  104. package/styles/ui-top-bar.css +1 -1
  105. package/styles/ui-tree-item.css +1 -1
  106. package/styles/ui-tree.css +1 -1
  107. package/vanilla/UiActionBar.d.ts +1 -1
  108. package/vanilla/UiActionBar.js +1 -1
  109. package/vanilla/UiAffordanceScope.d.ts +1 -1
  110. package/vanilla/UiAffordanceScope.js +2 -2
  111. package/vanilla/UiAvatar.d.ts +1 -1
  112. package/vanilla/UiAvatar.js +2 -2
  113. package/vanilla/UiAvatarGroup.d.ts +2 -2
  114. package/vanilla/UiAvatarGroup.js +2 -2
  115. package/vanilla/UiBadge.d.ts +1 -1
  116. package/vanilla/UiBadge.js +1 -1
  117. package/vanilla/UiBreadcrumbItem.d.ts +1 -1
  118. package/vanilla/UiBreadcrumbItem.js +1 -1
  119. package/vanilla/UiBreadcrumbs.d.ts +1 -1
  120. package/vanilla/UiBreadcrumbs.js +1 -1
  121. package/vanilla/UiButton.d.ts +1 -1
  122. package/vanilla/UiButton.js +1 -1
  123. package/vanilla/UiCallout.d.ts +1 -1
  124. package/vanilla/UiCallout.js +1 -1
  125. package/vanilla/UiCard.d.ts +1 -1
  126. package/vanilla/UiCard.js +1 -1
  127. package/vanilla/UiCheckbox.d.ts +1 -1
  128. package/vanilla/UiCheckbox.js +2 -2
  129. package/vanilla/UiCluster.d.ts +1 -1
  130. package/vanilla/UiCluster.js +1 -1
  131. package/vanilla/UiCombobox.d.ts +1 -1
  132. package/vanilla/UiCombobox.js +2 -2
  133. package/vanilla/UiContainer.d.ts +1 -1
  134. package/vanilla/UiContainer.js +1 -1
  135. package/vanilla/UiContextMenu.d.ts +1 -1
  136. package/vanilla/UiContextMenu.js +2 -2
  137. package/vanilla/UiCover.d.ts +1 -1
  138. package/vanilla/UiCover.js +1 -1
  139. package/vanilla/UiDescriptionItem.d.ts +1 -1
  140. package/vanilla/UiDescriptionItem.js +1 -1
  141. package/vanilla/UiDescriptionList.d.ts +1 -1
  142. package/vanilla/UiDescriptionList.js +1 -1
  143. package/vanilla/UiDialog.d.ts +1 -1
  144. package/vanilla/UiDialog.js +2 -2
  145. package/vanilla/UiDisclosure.d.ts +1 -1
  146. package/vanilla/UiDisclosure.js +2 -2
  147. package/vanilla/UiEditable.d.ts +1 -1
  148. package/vanilla/UiEditable.js +2 -2
  149. package/vanilla/UiEditorInsertTableGrid.d.ts +1 -1
  150. package/vanilla/UiEditorInsertTableGrid.js +2 -2
  151. package/vanilla/UiEditorMentionMenu.d.ts +1 -1
  152. package/vanilla/UiEditorMentionMenu.js +2 -2
  153. package/vanilla/UiEditorMentionMenuItem.d.ts +1 -1
  154. package/vanilla/UiEditorMentionMenuItem.js +1 -1
  155. package/vanilla/UiEditorSlashMenu.d.ts +1 -1
  156. package/vanilla/UiEditorSlashMenu.js +2 -2
  157. package/vanilla/UiEditorSlashMenuGroup.d.ts +1 -1
  158. package/vanilla/UiEditorSlashMenuGroup.js +1 -1
  159. package/vanilla/UiEditorSlashMenuItem.d.ts +1 -1
  160. package/vanilla/UiEditorSlashMenuItem.js +1 -1
  161. package/vanilla/UiEditorTableContextMenu.d.ts +1 -1
  162. package/vanilla/UiEditorTableContextMenu.js +2 -2
  163. package/vanilla/UiEditorTableOverlay.d.ts +1 -1
  164. package/vanilla/UiEditorTableOverlay.js +2 -2
  165. package/vanilla/UiEditorTableToolbar.d.ts +1 -1
  166. package/vanilla/UiEditorTableToolbar.js +2 -2
  167. package/vanilla/UiEditorToolbar.d.ts +1 -1
  168. package/vanilla/UiEditorToolbar.js +1 -1
  169. package/vanilla/UiFloatingActionButton.d.ts +1 -1
  170. package/vanilla/UiFloatingActionButton.js +1 -1
  171. package/vanilla/UiFormField.d.ts +1 -1
  172. package/vanilla/UiFormField.js +1 -1
  173. package/vanilla/UiGrid.d.ts +1 -1
  174. package/vanilla/UiGrid.js +1 -1
  175. package/vanilla/UiIcon.d.ts +1 -1
  176. package/vanilla/UiIcon.js +1 -1
  177. package/vanilla/UiIconButton.d.ts +1 -1
  178. package/vanilla/UiIconButton.js +1 -1
  179. package/vanilla/UiInput.d.ts +1 -1
  180. package/vanilla/UiInput.js +1 -1
  181. package/vanilla/UiInputGroup.d.ts +1 -1
  182. package/vanilla/UiInputGroup.js +1 -1
  183. package/vanilla/UiList.d.ts +1 -1
  184. package/vanilla/UiList.js +1 -1
  185. package/vanilla/UiListItem.d.ts +1 -1
  186. package/vanilla/UiListItem.js +1 -1
  187. package/vanilla/UiListbox.d.ts +1 -1
  188. package/vanilla/UiListbox.js +2 -2
  189. package/vanilla/UiMenu.d.ts +1 -1
  190. package/vanilla/UiMenu.js +2 -2
  191. package/vanilla/UiMenuGroup.d.ts +1 -1
  192. package/vanilla/UiMenuGroup.js +1 -1
  193. package/vanilla/UiMenuItem.d.ts +1 -1
  194. package/vanilla/UiMenuItem.js +2 -2
  195. package/vanilla/UiMeter.d.ts +1 -1
  196. package/vanilla/UiMeter.js +1 -1
  197. package/vanilla/UiNavItem.d.ts +1 -1
  198. package/vanilla/UiNavItem.js +1 -1
  199. package/vanilla/UiPageHeader.d.ts +1 -1
  200. package/vanilla/UiPageHeader.js +1 -1
  201. package/vanilla/UiPopover.d.ts +1 -1
  202. package/vanilla/UiPopover.js +2 -2
  203. package/vanilla/UiRadio.d.ts +1 -1
  204. package/vanilla/UiRadio.js +2 -2
  205. package/vanilla/UiRadioGroup.d.ts +1 -1
  206. package/vanilla/UiRadioGroup.js +2 -2
  207. package/vanilla/UiReel.d.ts +1 -1
  208. package/vanilla/UiReel.js +1 -1
  209. package/vanilla/UiScrollArea.d.ts +1 -1
  210. package/vanilla/UiScrollArea.js +1 -1
  211. package/vanilla/UiSearchResultRow.d.ts +1 -1
  212. package/vanilla/UiSearchResultRow.js +1 -1
  213. package/vanilla/UiSearchShell.d.ts +1 -1
  214. package/vanilla/UiSearchShell.js +2 -2
  215. package/vanilla/UiSection.d.ts +1 -1
  216. package/vanilla/UiSection.js +1 -1
  217. package/vanilla/UiSelect.d.ts +1 -1
  218. package/vanilla/UiSelect.js +1 -1
  219. package/vanilla/UiSeparator.d.ts +1 -1
  220. package/vanilla/UiSeparator.js +1 -1
  221. package/vanilla/UiSidebar.d.ts +1 -1
  222. package/vanilla/UiSidebar.js +2 -2
  223. package/vanilla/UiSpinner.d.ts +1 -1
  224. package/vanilla/UiSpinner.js +1 -1
  225. package/vanilla/UiStack.d.ts +1 -1
  226. package/vanilla/UiStack.js +1 -1
  227. package/vanilla/UiStatusMessage.d.ts +1 -1
  228. package/vanilla/UiStatusMessage.js +1 -1
  229. package/vanilla/UiSwitch.d.ts +1 -1
  230. package/vanilla/UiSwitch.js +2 -2
  231. package/vanilla/UiSwitcher.d.ts +1 -1
  232. package/vanilla/UiSwitcher.js +2 -2
  233. package/vanilla/UiTable.d.ts +1 -1
  234. package/vanilla/UiTable.js +1 -1
  235. package/vanilla/UiTabs.d.ts +1 -1
  236. package/vanilla/UiTabs.js +2 -2
  237. package/vanilla/UiText.d.ts +1 -1
  238. package/vanilla/UiText.js +1 -1
  239. package/vanilla/UiTextarea.d.ts +1 -1
  240. package/vanilla/UiTextarea.js +1 -1
  241. package/vanilla/UiToast.d.ts +1 -1
  242. package/vanilla/UiToast.js +1 -1
  243. package/vanilla/UiToastRegion.d.ts +1 -1
  244. package/vanilla/UiToastRegion.js +2 -2
  245. package/vanilla/UiTooltip.d.ts +1 -1
  246. package/vanilla/UiTooltip.js +2 -2
  247. package/vanilla/UiTopBar.d.ts +1 -1
  248. package/vanilla/UiTopBar.js +1 -1
  249. package/vanilla/UiTree.d.ts +1 -1
  250. package/vanilla/UiTree.js +1 -1
  251. package/vanilla/UiTreeItem.d.ts +1 -1
  252. package/vanilla/UiTreeItem.js +2 -2
  253. package/vue/UiActionBar.vue +1 -1
  254. package/vue/UiAffordanceScope.vue +25 -7
  255. package/vue/UiAvatar.vue +125 -30
  256. package/vue/UiAvatarGroup.d.ts +4 -4
  257. package/vue/UiAvatarGroup.vue +79 -24
  258. package/vue/UiBadge.vue +34 -8
  259. package/vue/UiBreadcrumbItem.vue +15 -4
  260. package/vue/UiBreadcrumbs.vue +14 -4
  261. package/vue/UiButton.vue +133 -49
  262. package/vue/UiCallout.vue +16 -4
  263. package/vue/UiCard.vue +46 -10
  264. package/vue/UiCheckbox.d.ts +5 -5
  265. package/vue/UiCheckbox.vue +73 -19
  266. package/vue/UiCluster.vue +39 -10
  267. package/vue/UiCombobox.d.ts +5 -5
  268. package/vue/UiCombobox.vue +317 -78
  269. package/vue/UiContainer.vue +23 -6
  270. package/vue/UiContextMenu.vue +24 -7
  271. package/vue/UiCover.vue +16 -4
  272. package/vue/UiDescriptionItem.vue +14 -4
  273. package/vue/UiDescriptionList.vue +33 -8
  274. package/vue/UiDialog.vue +79 -26
  275. package/vue/UiDisclosure.vue +101 -38
  276. package/vue/UiEditable.d.ts +3 -3
  277. package/vue/UiEditable.vue +107 -27
  278. package/vue/UiEditorInsertTableGrid.vue +47 -11
  279. package/vue/UiEditorMentionMenu.vue +99 -20
  280. package/vue/UiEditorMentionMenuItem.vue +29 -8
  281. package/vue/UiEditorSlashMenu.vue +85 -16
  282. package/vue/UiEditorSlashMenuGroup.vue +14 -4
  283. package/vue/UiEditorSlashMenuItem.vue +43 -12
  284. package/vue/UiEditorTableContextMenu.d.ts +1 -1
  285. package/vue/UiEditorTableContextMenu.vue +95 -19
  286. package/vue/UiEditorTableOverlay.vue +91 -7
  287. package/vue/UiEditorTableToolbar.vue +105 -16
  288. package/vue/UiEditorToolbar.vue +15 -4
  289. package/vue/UiFloatingActionButton.vue +31 -8
  290. package/vue/UiFormField.d.ts +1 -1
  291. package/vue/UiFormField.vue +31 -8
  292. package/vue/UiGrid.vue +30 -8
  293. package/vue/UiIcon.vue +15 -4
  294. package/vue/UiIconButton.vue +70 -24
  295. package/vue/UiInput.vue +114 -39
  296. package/vue/UiInputGroup.vue +15 -4
  297. package/vue/UiList.vue +47 -16
  298. package/vue/UiListItem.vue +24 -6
  299. package/vue/UiListbox.d.ts +3 -3
  300. package/vue/UiListbox.vue +72 -24
  301. package/vue/UiMenu.vue +55 -15
  302. package/vue/UiMenuGroup.vue +14 -4
  303. package/vue/UiMenuItem.d.ts +4 -4
  304. package/vue/UiMenuItem.vue +77 -27
  305. package/vue/UiMeter.vue +65 -16
  306. package/vue/UiNavItem.vue +48 -24
  307. package/vue/UiPageHeader.vue +16 -4
  308. package/vue/UiPopover.vue +46 -21
  309. package/vue/UiRadio.d.ts +4 -4
  310. package/vue/UiRadio.vue +58 -15
  311. package/vue/UiRadioGroup.d.ts +3 -3
  312. package/vue/UiRadioGroup.vue +66 -17
  313. package/vue/UiReel.d.ts +1 -1
  314. package/vue/UiReel.vue +31 -8
  315. package/vue/UiScrollArea.vue +16 -4
  316. package/vue/UiSearchResultRow.vue +23 -6
  317. package/vue/UiSearchShell.vue +38 -11
  318. package/vue/UiSection.vue +33 -8
  319. package/vue/UiSelect.d.ts +1 -1
  320. package/vue/UiSelect.vue +45 -20
  321. package/vue/UiSeparator.vue +16 -4
  322. package/vue/UiSidebar.d.ts +2 -2
  323. package/vue/UiSidebar.vue +86 -22
  324. package/vue/UiSpinner.vue +23 -6
  325. package/vue/UiStack.vue +31 -8
  326. package/vue/UiStatusMessage.vue +32 -8
  327. package/vue/UiSwitch.d.ts +4 -4
  328. package/vue/UiSwitch.vue +57 -15
  329. package/vue/UiSwitcher.vue +41 -17
  330. package/vue/UiTable.vue +24 -6
  331. package/vue/UiTabs.vue +60 -14
  332. package/vue/UiText.vue +98 -35
  333. package/vue/UiTextarea.d.ts +1 -1
  334. package/vue/UiTextarea.vue +67 -26
  335. package/vue/UiToast.vue +24 -6
  336. package/vue/UiToastRegion.vue +41 -13
  337. package/vue/UiTooltip.d.ts +1 -1
  338. package/vue/UiTooltip.vue +85 -30
  339. package/vue/UiTopBar.vue +1 -1
  340. package/vue/UiTree.vue +56 -14
  341. package/vue/UiTreeItem.d.ts +3 -3
  342. package/vue/UiTreeItem.vue +147 -36
  343. package/vue/chunks/UiActionBar.js +1 -1
  344. package/vue/chunks/UiAffordanceScope.js +34 -7
  345. package/vue/chunks/UiAvatar.js +141 -21
  346. package/vue/chunks/UiAvatarGroup.js +83 -12
  347. package/vue/chunks/UiBadge.js +57 -19
  348. package/vue/chunks/UiBreadcrumbItem.js +19 -6
  349. package/vue/chunks/UiBreadcrumbs.js +19 -6
  350. package/vue/chunks/UiButton.js +194 -42
  351. package/vue/chunks/UiCallout.js +27 -13
  352. package/vue/chunks/UiCard.js +83 -25
  353. package/vue/chunks/UiCheckbox.js +104 -17
  354. package/vue/chunks/UiCluster.js +70 -25
  355. package/vue/chunks/UiCombobox.js +441 -46
  356. package/vue/chunks/UiContainer.js +36 -11
  357. package/vue/chunks/UiContextMenu.js +33 -7
  358. package/vue/chunks/UiCover.js +20 -6
  359. package/vue/chunks/UiDescriptionItem.js +18 -5
  360. package/vue/chunks/UiDescriptionList.js +54 -17
  361. package/vue/chunks/UiDialog.js +115 -23
  362. package/vue/chunks/UiDisclosure.js +110 -24
  363. package/vue/chunks/UiEditable.js +146 -18
  364. package/vue/chunks/UiEditorInsertTableGrid.js +65 -10
  365. package/vue/chunks/UiEditorMentionMenu.js +210 -14
  366. package/vue/chunks/UiEditorMentionMenuItem.js +43 -8
  367. package/vue/chunks/UiEditorSlashMenu.js +186 -12
  368. package/vue/chunks/UiEditorSlashMenuGroup.js +19 -6
  369. package/vue/chunks/UiEditorSlashMenuItem.js +65 -10
  370. package/vue/chunks/UiEditorTableContextMenu.js +116 -16
  371. package/vue/chunks/UiEditorTableOverlay.js +188 -7
  372. package/vue/chunks/UiEditorTableToolbar.js +125 -16
  373. package/vue/chunks/UiEditorToolbar.js +19 -6
  374. package/vue/chunks/UiFloatingActionButton.js +43 -8
  375. package/vue/chunks/UiFormField.js +43 -8
  376. package/vue/chunks/UiGrid.js +52 -18
  377. package/vue/chunks/UiIcon.js +19 -6
  378. package/vue/chunks/UiIconButton.js +107 -21
  379. package/vue/chunks/UiInput.js +309 -30
  380. package/vue/chunks/UiInputGroup.js +19 -6
  381. package/vue/chunks/UiList.js +62 -10
  382. package/vue/chunks/UiListItem.js +33 -7
  383. package/vue/chunks/UiListbox.js +105 -13
  384. package/vue/chunks/UiMenu.js +79 -11
  385. package/vue/chunks/UiMenuGroup.js +19 -6
  386. package/vue/chunks/UiMenuItem.js +93 -28
  387. package/vue/chunks/UiMeter.js +96 -19
  388. package/vue/chunks/UiNavItem.js +74 -17
  389. package/vue/chunks/UiPageHeader.js +20 -6
  390. package/vue/chunks/UiPopover.js +58 -21
  391. package/vue/chunks/UiRadio.js +82 -15
  392. package/vue/chunks/UiRadioGroup.js +89 -12
  393. package/vue/chunks/UiReel.js +53 -18
  394. package/vue/chunks/UiScrollArea.js +20 -6
  395. package/vue/chunks/UiSearchResultRow.js +32 -7
  396. package/vue/chunks/UiSearchShell.js +55 -9
  397. package/vue/chunks/UiSection.js +49 -12
  398. package/vue/chunks/UiSelect.js +68 -13
  399. package/vue/chunks/UiSeparator.js +20 -6
  400. package/vue/chunks/UiSidebar.js +123 -19
  401. package/vue/chunks/UiSpinner.js +33 -7
  402. package/vue/chunks/UiStack.js +59 -24
  403. package/vue/chunks/UiStatusMessage.js +53 -16
  404. package/vue/chunks/UiSwitch.js +82 -15
  405. package/vue/chunks/UiSwitcher.js +70 -25
  406. package/vue/chunks/UiTable.js +33 -7
  407. package/vue/chunks/UiTabs.js +81 -11
  408. package/vue/chunks/UiText.js +169 -58
  409. package/vue/chunks/UiTextarea.js +101 -16
  410. package/vue/chunks/UiToast.js +39 -13
  411. package/vue/chunks/UiToastRegion.js +41 -14
  412. package/vue/chunks/UiTooltip.js +113 -30
  413. package/vue/chunks/UiTopBar.js +1 -1
  414. package/vue/chunks/UiTree.js +82 -15
  415. package/vue/chunks/UiTreeItem.js +184 -22
  416. package/vue/chunks/props.js +271 -35
  417. package/vue/components.css +1209 -1198
  418. package/vue/host.ts +6 -6
@@ -4,7 +4,7 @@
4
4
  <prop name="guide" type="keyword" values="dot, none" default="dot"
5
5
  >What marks an anticipatory control at rest. dot shows a small guide dot where it will appear; none shows nothing until the pointer nears it, it is hovered,
6
6
  or it takes focus. Every guide inside the scope follows it, including a sidebar's resize line and the editor table's handles.</prop>
7
- <state name="engaged" :value="false"></state>
7
+ <state type="boolean" name="engaged" value="false"></state>
8
8
  </defs>
9
9
  <span><slot></slot></span>
10
10
  <style>
@@ -21,10 +21,10 @@
21
21
  <prop name="active" type="boolean" default="false"
22
22
  >Marks the person as active now, such as editing the same page: a fine accent ring around the avatar. The ring is not announced, so say what it means in alt
23
23
  ("Ada Lovelace, editing").</prop>
24
- <state name="hasImage" :value="false"></state>
25
- <state name="hasAuthoredImage" :value="false"></state>
26
- <state name="initials" :value="'?'"></state>
27
- <state name="showGlyph" :value="false"></state>
24
+ <state type="boolean" name="hasImage" value="false"></state>
25
+ <state type="boolean" name="hasAuthoredImage" value="false"></state>
26
+ <state type="string" name="initials" value="?"></state>
27
+ <state type="boolean" name="showGlyph" value="false"></state>
28
28
  </defs>
29
29
  <span>
30
30
  <slot></slot>
@@ -10,10 +10,11 @@
10
10
  >Accessible label for the overflow badge. Replace {count} with the number of people beyond the visible avatars.</prop>
11
11
  <prop name="label" type="string" default="People"
12
12
  >The group's accessible name, announced for the set of avatars as a whole. Name who they are rather than repeating the default.</prop>
13
- <prop name="size" type="keyword" values="sm, md" default="md"
14
- >The size of the avatars inside, matched by the +N badge and the overlap. Give each Avatar the same size.</prop>
15
- <state name="overflowCount" :value="0"></state>
16
- <state name="overflowAnnouncement" :value="''"></state>
13
+ <prop name="size" type="keyword" values="xs, sm, md" default="md"
14
+ >The size of the avatars inside, matched by the +N badge and the overlap. Give each Avatar the same size. xs suits a group inside a line of small text, such
15
+ as the people listed under a title.</prop>
16
+ <state type="integer" name="overflowCount" value="0"></state>
17
+ <state type="string" name="overflowAnnouncement" value=""></state>
17
18
  </defs>
18
19
  <div role="group" from:aria-label="label">
19
20
  <slot></slot>
@@ -88,6 +89,15 @@
88
89
  block-size: 1.75rem;
89
90
  }
90
91
 
92
+ :host-state([size="xs"]) .overflow {
93
+ margin-inline-start: -0.1875rem;
94
+ inline-size: 1.25rem;
95
+ block-size: 1.25rem;
96
+ /* Matches the xs Avatar's initials. */
97
+ font-size: calc(var(--ui-font-size) * 0.5625);
98
+ line-height: 1;
99
+ }
100
+
91
101
  .overflow[hidden] {
92
102
  display: none;
93
103
  }
@@ -7,7 +7,7 @@ export default function controller(host) {
7
7
  const visible = Number.isFinite(max) ? Math.max(0, Math.floor(max)) : 0;
8
8
  const avatars = Array.from(element.children).filter((child) => child !== host.refs.overflow);
9
9
  // Small avatars overlap less, so their initials stay clear of the next one.
10
- const overlap = host.state.size === "sm" ? "-0.25rem" : "-0.5rem";
10
+ const overlap = { xs: "-0.1875rem", sm: "-0.25rem" }[host.state.size] ?? "-0.5rem";
11
11
  avatars.forEach((avatar, index) => {
12
12
  avatar.style.display = index >= visible ? "none" : "";
13
13
  avatar.style.marginInlineStart = index === 0 ? "0px" : overlap;
@@ -6,8 +6,8 @@
6
6
  hovered, and link is an inline text action that reads as a link. danger is solid in the danger tone, kept for the call sites that name it.</prop>
7
7
  <prop name="size" type="keyword" values="xs, sm, md, lg" default="md"
8
8
  >Height, padding, and type size. xs is 1.5rem with the smallest text, for a control inside a line of small text; sm is the small control height (2rem by
9
- default) with tighter padding and smaller text, md is the standard control height (2.5rem), and lg is taller (3rem) with roomier padding. Under touch, xs
10
- and sm grow to the touch minimum.</prop>
9
+ default) with tighter padding and smaller text, md is the standard control height (2.5rem), and lg is taller (3rem) with roomier padding. Under touch, sm
10
+ grows to the touch minimum, while xs keeps its size inside its line and gains an invisible touch-sized hit area.</prop>
11
11
  <prop name="shape" type="keyword" values="rounded, pill" default="rounded"
12
12
  >rounded uses the theme's action radius; pill rounds the ends fully, for a compact choice such as a status or a person.</prop>
13
13
  <prop name="tone" type="keyword" values="accent, neutral, danger, success, warning, info" default="accent"
@@ -213,7 +213,7 @@
213
213
 
214
214
  :host-state([size="xs"]) {
215
215
  min-block-size: 1.5rem;
216
- padding: var(--ui-space-0-5) calc(var(--ui-space-1) * 1.5);
216
+ padding: calc(var(--ui-space-0-5) * 1.5) calc(var(--ui-space-1) * 1.25);
217
217
  font-size: var(--ui-font-size-xs);
218
218
  }
219
219
 
@@ -368,7 +368,7 @@
368
368
 
369
369
  /* The size states outrank :host, so sm is named too, or a small button would stay small. */
370
370
  @media (pointer: coarse) {
371
- :host, :host-state([size="sm"]), :host-state([size="xs"]) {
371
+ :host, :host-state([size="sm"]) {
372
372
  min-block-size: var(--ui-control-min-block-size);
373
373
  }
374
374
  }
@@ -376,12 +376,15 @@
376
376
  /* Under touch, a link-style button's press lands within the control minimum: an invisible hit
377
377
  area, centred on it, like IconButton's. A boxed button grows to the minimum itself (below);
378
378
  a link-style one keeps its text size, so a standalone one ("See all" under a list) needs the
379
- area. Only the link needs it: a hit area on every button would reach over its neighbours. */
380
- html[data-ui-input-modality="touch"] :host-state([variant="link"]) {
379
+ area. xs sits inside a line of text the same way, so it keeps its size and gains the area too.
380
+ Only these need it: a hit area on every button would reach over its neighbours. */
381
+ html[data-ui-input-modality="touch"] :host-state([variant="link"]),
382
+ html[data-ui-input-modality="touch"] :host-state([size="xs"]) {
381
383
  position: relative;
382
384
  }
383
385
 
384
- html[data-ui-input-modality="touch"] :host-state([variant="link"])::after {
386
+ html[data-ui-input-modality="touch"] :host-state([variant="link"])::after,
387
+ html[data-ui-input-modality="touch"] :host-state([size="xs"])::after {
385
388
  position: absolute;
386
389
  inset: 50% auto auto 50%;
387
390
  inline-size: max(100%, var(--ui-control-min-block-size));
@@ -19,7 +19,7 @@
19
19
  >Aligns the checkbox with fields and buttons of the same size. It keeps its box size; the label takes that size's field type size and its first line centres
20
20
  in that control height (sm 2rem, lg 3rem by default), so in a row of inputs, selects, and buttons of one size it shares their height and their text
21
21
  baseline. Under a coarse pointer an sm row grows to the 44px touch minimum, as they do. md is the standard layout.</prop>
22
- <state name="internalChecked" :value="false"></state>
22
+ <state type="boolean" name="internalChecked" value="false"></state>
23
23
  <event name="change" type="object">
24
24
  <prop name="checked" required type="boolean"></prop>
25
25
  <prop name="value" required type="string"></prop>
@@ -91,7 +91,7 @@
91
91
  <state
92
92
  name="internalItems"
93
93
  type="list"
94
- :value="[]"
94
+ value="[]"
95
95
  >
96
96
  <prop type="object">
97
97
  <prop name="id" required type="string"></prop>
@@ -107,14 +107,14 @@
107
107
  </prop>
108
108
  </prop>
109
109
  </state>
110
- <state name="raw" :value="''"></state>
111
- <state name="display" :value="''"></state>
112
- <state name="selected" type="string" :value="null" nullable></state>
113
- <state name="expanded" :value="false"></state>
110
+ <state type="string" name="raw" value=""></state>
111
+ <state type="string" name="display" value=""></state>
112
+ <state name="selected" type="string"></state>
113
+ <state type="boolean" name="expanded" value="false"></state>
114
114
  <state
115
115
  name="rows"
116
116
  type="list"
117
- :value="[]"
117
+ value="[]"
118
118
  >
119
119
  <prop type="object">
120
120
  <prop name="id" required type="string"></prop>
@@ -131,13 +131,13 @@
131
131
  </prop>
132
132
  </prop>
133
133
  </state>
134
- <state name="active" :value="-1"></state>
135
- <state name="helpOpen" :value="false"></state>
136
- <state name="lookupError" :value="''"></state>
134
+ <state type="integer" name="active" value="-1"></state>
135
+ <state type="boolean" name="helpOpen" value="false"></state>
136
+ <state type="string" name="lookupError" value=""></state>
137
137
  <state
138
138
  name="validation"
139
139
  type="object"
140
- :value="{ status: 'pristine', touched: false, dirty: false, issues: [] }"
140
+ value="{ status: 'pristine', touched: false, dirty: false, issues: [] }"
141
141
  open
142
142
  >
143
143
  <prop name="status" required type="keyword" values="pristine, pending, valid, warning, error"></prop>
@@ -149,12 +149,12 @@
149
149
  </prop>
150
150
  </prop>
151
151
  </state>
152
- <state name="uid" :value="''"></state>
153
- <state name="submitted" :value="''"></state>
152
+ <state type="string" name="uid" value=""></state>
153
+ <state type="string" name="submitted" value=""></state>
154
154
  <state
155
155
  name="groups"
156
156
  type="list"
157
- :value="[]"
157
+ value="[]"
158
158
  >
159
159
  <prop type="object">
160
160
  <prop name="name" required type="string"></prop>
@@ -181,11 +181,11 @@
181
181
  </prop>
182
182
  </prop>
183
183
  </state>
184
- <state name="creatable" :value="false"></state>
185
- <state name="createIndex" :value="0"></state>
186
- <state name="message" :value="''"></state>
187
- <state name="statusText" :value="''"></state>
188
- <state name="validationStatus" :value="'pristine'"></state>
184
+ <state type="boolean" name="creatable" value="false"></state>
185
+ <state type="integer" name="createIndex" value="0"></state>
186
+ <state type="string" name="message" value=""></state>
187
+ <state type="string" name="statusText" value=""></state>
188
+ <state type="string" name="validationStatus" value="pristine"></state>
189
189
  <event name="query-change" type="object">
190
190
  <prop name="query" required type="string"></prop>
191
191
  <prop name="display" required type="string"></prop>
@@ -2,7 +2,7 @@
2
2
  <defs>
3
3
  <prop name="open" type="boolean" default="false">Whether the context menu is open initially or when set externally.</prop>
4
4
  <prop name="for" type="string" default="">ID of the element whose context click (right-click, long-press, Shift+F10, or the Menu key) opens the menu.</prop>
5
- <state name="internalOpen" :value="false"></state>
5
+ <state type="boolean" name="internalOpen" value="false"></state>
6
6
  <event
7
7
  name="open"
8
8
  type="object"
@@ -16,8 +16,8 @@
16
16
  <prop name="size" type="keyword" values="sm, md, lg, fullscreen" default="md">Choose a compact, standard, wide, or viewport-filling dialog.</prop>
17
17
  <prop name="label" type="string">Visible title in the dialog header; also its accessible name.</prop>
18
18
  <prop name="for" type="string" default="">ID of the control that opens the dialog.</prop>
19
- <state name="internalOpen" :value="false"></state>
20
- <state name="accessibleLabel" :value="'Dialog'"></state>
19
+ <state type="boolean" name="internalOpen" value="false"></state>
20
+ <state type="string" name="accessibleLabel" value="Dialog"></state>
21
21
  <event
22
22
  name="open"
23
23
  type="object"
@@ -13,10 +13,10 @@
13
13
  items.</prop>
14
14
  <prop name="headingLevel" type="integer" default="0"
15
15
  >Adds heading semantics around the trigger at level 2 through 6. Zero leaves it a plain disclosure; choose a level that matches the page outline.</prop>
16
- <state name="internalOpen" :value="false"></state>
17
- <state name="contentId" :value="''"></state>
18
- <state name="headingRole" :value="null"></state>
19
- <state name="headingAriaLevel" :value="null"></state>
16
+ <state type="boolean" name="internalOpen" value="false"></state>
17
+ <state type="string" name="contentId" value=""></state>
18
+ <state type="keyword" name="headingRole"></state>
19
+ <state type="integer" name="headingAriaLevel"></state>
20
20
  <event
21
21
  name="open"
22
22
  type="object"
@@ -14,9 +14,9 @@
14
14
  <prop name="placeholder" type="string" default="">Hint shown in the text input while the draft is empty.</prop>
15
15
  <prop name="required" type="boolean" default="false">Prevent an empty draft from being saved.</prop>
16
16
  <prop name="maxLength" type="number" default="0">Maximum draft length; 0 leaves the length unrestricted.</prop>
17
- <state name="internalEdit" :value="false"></state>
18
- <state name="internalValue" :value="''"></state>
19
- <state name="draft" :value="''"></state>
17
+ <state type="boolean" name="internalEdit" value="false"></state>
18
+ <state type="string" name="internalValue" value=""></state>
19
+ <state type="string" name="draft" value=""></state>
20
20
  <event name="input" type="object">
21
21
  <prop name="value" required type="string"></prop>
22
22
  <prop name="trigger" required type="keyword" values="keyboard, pointer, programmatic"></prop>
@@ -7,12 +7,12 @@
7
7
  <state
8
8
  name="cells"
9
9
  type="list(object({ key: string, row: integer, col: integer, label: string, selected: boolean, tabIndex: integer }))"
10
- :value="[]"
10
+ value="[]"
11
11
  ></state>
12
- <state name="rows" :value="8"></state>
13
- <state name="cols" :value="8"></state>
14
- <state name="hint" :value="''"></state>
15
- <state name="withHeaderRow" :value="false"></state>
12
+ <state type="integer" name="rows" value="8"></state>
13
+ <state type="integer" name="cols" value="8"></state>
14
+ <state type="string" name="hint" value=""></state>
15
+ <state type="boolean" name="withHeaderRow" value="false"></state>
16
16
  <event name="insert" type="object({ rows: integer, cols: integer, withHeaderRow: boolean })"></event>
17
17
  </defs>
18
18
  <div from:hidden="not open">
@@ -14,11 +14,11 @@
14
14
  name="anchorRect"
15
15
  type="object({ left?: number, top?: number, right?: number, bottom?: number, x?: number, y?: number, width?: number, height?: number })"
16
16
  >Where the @ was typed, in viewport coordinates.</prop>
17
- <state name="visible" :value="false"></state>
18
- <state name="rows" type="list(object({ id: string, label: string, detail?: string, initials: string }))" :value="[]"></state>
19
- <state name="searching" :value="false"></state>
20
- <state name="active" :value="0"></state>
21
- <state name="prefix" :value="'ui-editor-mention-menu'"></state>
17
+ <state type="boolean" name="visible" value="false"></state>
18
+ <state name="rows" type="list(object({ id: string, label: string, detail?: string, initials: string }))" value="[]"></state>
19
+ <state type="boolean" name="searching" value="false"></state>
20
+ <state type="integer" name="active" value="0"></state>
21
+ <state type="string" name="prefix" value="ui-editor-mention-menu"></state>
22
22
  <event name="highlight" type="object({ index: integer, value: string })"></event>
23
23
  <event name="select" type="object({ index: integer, value: string })"></event>
24
24
  </defs>
@@ -16,9 +16,9 @@
16
16
  name="anchorRect"
17
17
  type="object({ left?: number, top?: number, right?: number, bottom?: number, x?: number, y?: number, width?: number, height?: number })"
18
18
  >Where the slash was typed, in viewport coordinates.</prop>
19
- <state name="visible" :value="false"></state>
20
- <state name="active" :value="0"></state>
21
- <state name="rows" type="list(object({ value: string, title: string, description: string, icon: string }))" :value="[]"></state>
19
+ <state type="boolean" name="visible" value="false"></state>
20
+ <state type="integer" name="active" value="0"></state>
21
+ <state name="rows" type="list(object({ value: string, title: string, description: string, icon: string }))" value="[]"></state>
22
22
  <event name="highlight" type="object({ index: integer, value: string })"></event>
23
23
  <event name="select" type="object({ index: integer, value: string })"></event>
24
24
  </defs>
@@ -16,7 +16,7 @@
16
16
  ></prop>
17
17
  The complete set of commands the current selection permits.
18
18
  </prop>
19
- <state name="swatches" type="list" :value="[]" nullable>
19
+ <state name="swatches" type="list" value="[]">
20
20
  <prop type="object">
21
21
  <prop name="action" required type="string"></prop>
22
22
  <prop name="label" required type="string"></prop>
@@ -27,7 +27,7 @@
27
27
  <state
28
28
  name="sections"
29
29
  type="list(object({ heading: string, items: list(object({ action: string, label: string, icon: string, danger: boolean, checkable: boolean, checked: boolean })) }))"
30
- :value="[]"
30
+ value="[]"
31
31
  ></state>
32
32
  <event
33
33
  name="action"
@@ -33,7 +33,7 @@
33
33
  <state
34
34
  name="rows"
35
35
  type="list"
36
- :value="[]"
36
+ value="[]"
37
37
  >
38
38
  <prop type="object">
39
39
  <prop name="key" required type="string"></prop>
@@ -47,7 +47,7 @@
47
47
  <state
48
48
  name="cols"
49
49
  type="list"
50
- :value="[]"
50
+ value="[]"
51
51
  >
52
52
  <prop type="object">
53
53
  <prop name="key" required type="string"></prop>
@@ -61,8 +61,6 @@
61
61
  <state
62
62
  name="hovered"
63
63
  type="object"
64
- :value="null"
65
- nullable
66
64
  >
67
65
  <prop name="left" required type="number"></prop>
68
66
  <prop name="top" required type="number"></prop>
@@ -76,8 +74,6 @@
76
74
  <state
77
75
  name="active"
78
76
  type="object"
79
- :value="null"
80
- nullable
81
77
  >
82
78
  <prop name="left" required type="number"></prop>
83
79
  <prop name="top" required type="number"></prop>
@@ -88,7 +84,7 @@
88
84
  <prop name="menuLeft" required type="string"></prop>
89
85
  <prop name="menuTop" required type="string"></prop>
90
86
  </state>
91
- <state name="activeKey" :value="''"></state>
87
+ <state type="string" name="activeKey" value=""></state>
92
88
  <event name="add-row-before" type="object({ boundaryIndex: integer })"></event>
93
89
  <event name="add-row-after" type="object({ boundaryIndex: integer })"></event>
94
90
  <event name="add-column-before" type="object({ boundaryIndex: integer })"></event>
@@ -17,28 +17,28 @@
17
17
  ></prop>
18
18
  The complete set of commands the current selection permits.
19
19
  </prop>
20
- <state name="alignments" type="list" :value="[]">
20
+ <state name="alignments" type="list" value="[]">
21
21
  <prop type="object">
22
22
  <prop name="action" required type="keyword" values="align-left, align-center, align-right"></prop>
23
23
  <prop name="label" required type="string"></prop>
24
24
  <prop name="active" required type="boolean"></prop>
25
25
  </prop>
26
26
  </state>
27
- <state name="structure" type="list" :value="[]">
27
+ <state name="structure" type="list" value="[]">
28
28
  <prop type="object">
29
29
  <prop name="action" required type="keyword" values="add-row-after, add-column-after"></prop>
30
30
  <prop name="label" required type="string"></prop>
31
31
  <prop name="icon" required type="string"></prop>
32
32
  </prop>
33
33
  </state>
34
- <state name="swatches" type="list(object({ action: string, label: string, color: string, selected: boolean }))" :value="[]"></state>
34
+ <state name="swatches" type="list(object({ action: string, label: string, color: string, selected: boolean }))" value="[]"></state>
35
35
  <state
36
36
  name="sections"
37
37
  type="list(object({ heading: string, items: list(object({ action: string, label: string, icon: string, danger: boolean, checkable: boolean, checked: boolean })) }))"
38
- :value="[]"
38
+ value="[]"
39
39
  ></state>
40
- <state name="hasOverflow" :value="false"></state>
41
- <state name="overflowOpen" :value="false"></state>
40
+ <state type="boolean" name="hasOverflow" value="false"></state>
41
+ <state type="boolean" name="overflowOpen" value="false"></state>
42
42
  <event
43
43
  name="action"
44
44
  type="object"
@@ -9,12 +9,12 @@
9
9
  <prop name="disabled" type="boolean" default="false">Prevents selection and form submission.</prop>
10
10
  <prop name="required" type="boolean" default="false">Requires at least one choice before form submission.</prop>
11
11
  <prop name="invalid" type="boolean" default="false">Exposes invalid state to assistive technology and styling.</prop>
12
- <state name="choices" type="list(object({ value: string, label: string, disabled: boolean, selected: boolean, index: integer }))" :value="[]"></state>
13
- <state name="selection" type="list(string)" :value="[]"></state>
14
- <state name="hasSelection" type="boolean" :value="false"></state>
15
- <state name="active" type="integer" :value="-1"></state>
16
- <state name="uid" type="string" :value="''"></state>
17
- <state name="validationError" type="boolean" :value="false"></state>
12
+ <state name="choices" type="list(object({ value: string, label: string, disabled: boolean, selected: boolean, index: integer }))" value="[]"></state>
13
+ <state name="selection" type="list(string)" value="[]"></state>
14
+ <state name="hasSelection" type="boolean" value="false"></state>
15
+ <state name="active" type="integer" value="-1"></state>
16
+ <state name="uid" type="string" value=""></state>
17
+ <state name="validationError" type="boolean" value="false"></state>
18
18
  <event name="change" type="object">
19
19
  <prop name="value" required nullable type="string"></prop>
20
20
  <prop name="values" required type="list">
@@ -9,7 +9,7 @@
9
9
  <prop name="inline" type="boolean" default="false">Displays the menu in the page flow without an overlay or trigger, for an embedded list of actions.</prop>
10
10
  <prop name="for" type="string" default="">ID of the control that toggles and anchors the menu.</prop>
11
11
  <prop name="placement" type="string" default="bottom-start">Positions an associated menu relative to its trigger.</prop>
12
- <state name="internalOpen" :value="false"></state>
12
+ <state type="boolean" name="internalOpen" value="false"></state>
13
13
  <event name="select" type="object">
14
14
  <prop name="value" required type="string"></prop>
15
15
  <prop name="checked" type="boolean"></prop>
@@ -10,7 +10,7 @@
10
10
  <prop name="type" type="keyword" values="action, checkbox, radio" default="action"
11
11
  >An action closes its menu; a checkbox toggles, and a radio chooses one item within its nearest Menu Group. Checkable items keep the menu open.</prop>
12
12
  <prop name="checked" type="boolean" default="false">Initial or externally controlled checked state of a checkbox or radio item.</prop>
13
- <state name="internalChecked" :value="false"></state>
13
+ <state type="boolean" name="internalChecked" value="false"></state>
14
14
  <event name="change" type="object">
15
15
  <prop name="checked" required type="boolean"></prop>
16
16
  <prop name="value" required type="string"></prop>
@@ -8,7 +8,7 @@
8
8
  values="top, top-start, top-end, bottom, bottom-start, bottom-end, left, left-start, left-end, right, right-start, right-end"
9
9
  default="bottom-start"
10
10
  >Positions the surface around its trigger. Start and end on top or bottom follow the writing direction.</prop>
11
- <state name="internalOpen" :value="false"></state>
11
+ <state type="boolean" name="internalOpen" value="false"></state>
12
12
  <event
13
13
  name="open"
14
14
  type="object"
@@ -16,7 +16,7 @@
16
16
  >Aligns the radio with fields and buttons of the same size. It keeps its box size; the label takes that size's field type size and its first line centres in
17
17
  that control height (sm 2rem, lg 3rem by default), so in a row of inputs, selects, and buttons of one size it shares their height and their text baseline.
18
18
  Under a coarse pointer an sm row grows to the 44px touch minimum, as they do. md is the standard layout.</prop>
19
- <state name="internalChecked" :value="false"></state>
19
+ <state type="boolean" name="internalChecked" value="false"></state>
20
20
  <event name="change" type="object">
21
21
  <prop name="checked" required type="boolean"></prop>
22
22
  <prop name="value" required type="string"></prop>
@@ -18,7 +18,7 @@
18
18
  form validation fails until one is checked.</prop>
19
19
  <prop name="invalid" type="boolean" default="false"
20
20
  >Exposes an externally validated error on the group and styles its legend with the field danger colour.</prop>
21
- <state name="internalValue" :value="''"></state>
21
+ <state type="string" name="internalValue" value=""></state>
22
22
  <event name="select" type="object">
23
23
  <prop name="value" required type="string"></prop>
24
24
  <prop name="previousValue" required type="string"></prop>
@@ -4,7 +4,7 @@
4
4
  <prop name="modal" type="boolean" default="false">Makes the rest of the page inert while the search surface is open.</prop>
5
5
  <prop name="dismissible" type="boolean" default="false">Allows backdrop activation to close the search surface. Escape always closes it.</prop>
6
6
  <prop name="label" type="string" default="Search">Provides the native dialog's accessible name.</prop>
7
- <state name="internalOpen" :value="false"></state>
7
+ <state type="boolean" name="internalOpen" value="false"></state>
8
8
  <event
9
9
  name="close"
10
10
  type="object"
@@ -10,8 +10,8 @@
10
10
  <prop name="collapsed" type="boolean" default="false">Whether the docked sidebar is collapsed.</prop>
11
11
  <prop name="breakpoint" type="keyword" values="sm, md, lg" default="md"
12
12
  >Below this viewport width (40rem, 48rem, 64rem) the sidebar becomes an off-canvas drawer, closed until toggled.</prop>
13
- <state name="internalCollapsed" :value="false"></state>
14
- <state name="drawer" :value="false"></state>
13
+ <state type="boolean" name="internalCollapsed" value="false"></state>
14
+ <state type="boolean" name="drawer" value="false"></state>
15
15
  <event name="resize" type="object">
16
16
  <prop name="width" required type="number"></prop>
17
17
  <prop name="trigger" required type="keyword" values="keyboard, pointer, programmatic"></prop>
@@ -13,7 +13,7 @@
13
13
  >Aligns the switch with fields and buttons of the same size. It keeps its track size; the label takes that size's field type size and its first line centres
14
14
  in that control height (sm 2rem, lg 3rem by default), so in a row of inputs, selects, and buttons of one size it shares their height and their text
15
15
  baseline. Under a coarse pointer an sm row grows to the 44px touch minimum, as they do. md is the standard layout.</prop>
16
- <state name="internalChecked" :value="false"></state>
16
+ <state type="boolean" name="internalChecked" value="false"></state>
17
17
  <event name="change" type="object">
18
18
  <prop name="checked" required type="boolean"></prop>
19
19
  <prop name="value" required type="string"></prop>
@@ -11,7 +11,7 @@
11
11
  bottoms.</prop>
12
12
  <prop name="limit" type="integer"
13
13
  >Most children allowed in a horizontal row. When the count exceeds this value, every child stacks regardless of width. Omit it for no count limit.</prop>
14
- <state name="overLimit" :value="false"></state>
14
+ <state type="boolean" name="overLimit" value="false"></state>
15
15
  </defs>
16
16
  <div><slot></slot></div>
17
17
  <style>
@@ -14,8 +14,8 @@
14
14
  >In auto mode, arrow keys move focus and select the next panel. In manual mode, arrows move focus while Enter or Space selects a panel. Use manual when
15
15
  displaying a panel takes time.</prop>
16
16
  <prop name="stretch" type="boolean" default="false">Share the full width of the tab list equally between tabs instead of sizing each to its label.</prop>
17
- <state name="internalValue" :value="''"></state>
18
- <state name="tabs" type="list(object({ id: string, label: string }))" :value="[]"></state>
17
+ <state type="string" name="internalValue" value=""></state>
18
+ <state name="tabs" type="list(object({ id: string, label: string }))" value="[]"></state>
19
19
  <event name="select" type="object">
20
20
  <prop name="value" required type="string"></prop>
21
21
  <prop name="previousValue" required type="string"></prop>
@@ -9,7 +9,7 @@
9
9
  <state
10
10
  name="toasts"
11
11
  type="list"
12
- :value="[]"
12
+ value="[]"
13
13
  >
14
14
  <prop type="object">
15
15
  <prop name="id" required type="string"></prop>
@@ -14,7 +14,7 @@
14
14
  <prop name="showDelay" type="number" default="500">Waits this many milliseconds before showing after pointer entry.</prop>
15
15
  <prop name="hideDelay" type="number" default="100">Waits this many milliseconds before hiding after pointer exit.</prop>
16
16
  <prop name="inverse" type="boolean" default="false">Use the high-contrast inverse surface (dark on light themes, light on dark themes).</prop>
17
- <state name="internalOpen" :value="false"></state>
17
+ <state type="boolean" name="internalOpen" value="false"></state>
18
18
  <event
19
19
  name="open"
20
20
  type="object"
@@ -40,10 +40,10 @@
40
40
  still list.</prop>
41
41
  <prop name="disabled" type="boolean" default="false"
42
42
  >Makes the item unavailable: faded, skipped by keyboard navigation, unable to expand or be dragged, and closed to drops inside it.</prop>
43
- <state name="internalExpanded" :value="false"></state>
44
- <state name="structuralLevel" :value="1"></state>
45
- <state name="tabStop" :value="false"></state>
46
- <state name="isContainer" :value="false"></state>
43
+ <state type="boolean" name="internalExpanded" value="false"></state>
44
+ <state type="integer" name="structuralLevel" value="1"></state>
45
+ <state type="boolean" name="tabStop" value="false"></state>
46
+ <state type="boolean" name="isContainer" value="false"></state>
47
47
  <event name="expand" bubbles="false" type="object">
48
48
  <prop name="id" required type="string"></prop>
49
49
  <prop name="expanded" required type="boolean"></prop>