@threadlabs/looma 0.32.1 → 0.33.1

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 (366) hide show
  1. package/README.md +15 -0
  2. package/bin/looma-docs.mjs +3 -0
  3. package/components/shared/icons.js +1 -0
  4. package/components/shared/overlay.js +1 -1
  5. package/components/ui-action-bar/ui-action-bar.html +11 -11
  6. package/components/ui-affordance-scope/ui-affordance-scope.html +2 -2
  7. package/components/ui-avatar/ui-avatar.html +8 -8
  8. package/components/ui-avatar-group/ui-avatar-group.html +14 -14
  9. package/components/ui-avatar-group/ui-avatar-group.js +3 -2
  10. package/components/ui-badge/ui-badge.html +43 -43
  11. package/components/ui-breadcrumb-item/ui-breadcrumb-item.html +13 -13
  12. package/components/ui-breadcrumbs/ui-breadcrumbs.html +8 -8
  13. package/components/ui-button/ui-button.html +32 -29
  14. package/components/ui-callout/ui-callout.html +9 -9
  15. package/components/ui-card/ui-card.html +11 -11
  16. package/components/ui-checkbox/ui-checkbox.html +52 -33
  17. package/components/ui-cluster/ui-cluster.html +21 -21
  18. package/components/ui-color-picker/ui-color-picker.html +135 -0
  19. package/components/ui-color-picker/ui-color-picker.js +76 -0
  20. package/components/ui-combobox/ui-combobox.html +43 -43
  21. package/components/ui-container/ui-container.html +7 -7
  22. package/components/ui-context-menu/ui-context-menu.html +9 -9
  23. package/components/ui-cover/ui-cover.html +8 -8
  24. package/components/ui-description-item/ui-description-item.html +7 -7
  25. package/components/ui-description-list/ui-description-list.html +4 -4
  26. package/components/ui-dialog/ui-dialog.html +26 -26
  27. package/components/ui-disclosure/ui-disclosure.html +23 -23
  28. package/components/ui-editable/ui-editable.html +16 -16
  29. package/components/ui-editor-insert-table-grid/ui-editor-insert-table-grid.html +9 -9
  30. package/components/ui-editor-link-form/ui-editor-link-form.html +1 -2
  31. package/components/ui-editor-mention-menu/ui-editor-mention-menu.html +23 -23
  32. package/components/ui-editor-mention-menu-item/ui-editor-mention-menu-item.html +10 -10
  33. package/components/ui-editor-slash-menu/ui-editor-slash-menu.html +29 -29
  34. package/components/ui-editor-slash-menu-group/ui-editor-slash-menu-group.html +5 -5
  35. package/components/ui-editor-slash-menu-item/ui-editor-slash-menu-item.html +11 -11
  36. package/components/ui-editor-surface/ui-editor-surface.html +2 -2
  37. package/components/ui-editor-table-context-menu/ui-editor-table-context-menu.html +25 -25
  38. package/components/ui-editor-table-overlay/ui-editor-table-overlay.html +13 -13
  39. package/components/ui-editor-table-toolbar/ui-editor-table-toolbar.html +31 -31
  40. package/components/ui-editor-toolbar/ui-editor-toolbar.html +13 -13
  41. package/components/ui-floating-action-button/ui-floating-action-button.html +8 -8
  42. package/components/ui-form-field/ui-form-field.html +15 -15
  43. package/components/ui-form-field/ui-form-field.js +12 -4
  44. package/components/ui-grid/ui-grid.html +4 -4
  45. package/components/ui-icon/ui-icon.html +3 -2
  46. package/components/ui-icon-button/ui-icon-button.html +15 -14
  47. package/components/ui-image/ui-image.html +14 -14
  48. package/components/ui-input/ui-input.html +8 -8
  49. package/components/ui-input-group/ui-input-group.html +18 -18
  50. package/components/ui-list/ui-list.html +11 -11
  51. package/components/ui-list-item/ui-list-item.html +18 -18
  52. package/components/ui-listbox/ui-listbox.html +10 -10
  53. package/components/ui-menu/ui-menu.html +18 -17
  54. package/components/ui-menu-group/ui-menu-group.html +4 -4
  55. package/components/ui-menu-item/ui-menu-item.html +20 -20
  56. package/components/ui-meter/ui-meter.html +5 -5
  57. package/components/ui-nav-item/ui-nav-item.html +20 -20
  58. package/components/ui-page-header/ui-page-header.html +18 -17
  59. package/components/ui-popover/ui-popover.html +8 -8
  60. package/components/ui-radio/ui-radio.html +25 -17
  61. package/components/ui-radio-group/ui-radio-group.html +10 -10
  62. package/components/ui-reel/ui-reel.html +5 -5
  63. package/components/ui-scroll-area/ui-scroll-area.html +10 -10
  64. package/components/ui-search-result-row/ui-search-result-row.html +19 -19
  65. package/components/ui-search-shell/ui-search-shell.html +22 -22
  66. package/components/ui-section/ui-section.html +24 -23
  67. package/components/ui-select/ui-select.html +10 -10
  68. package/components/ui-separator/ui-separator.html +2 -2
  69. package/components/ui-sidebar/ui-sidebar.html +8 -8
  70. package/components/ui-spinner/ui-spinner.html +6 -6
  71. package/components/ui-stack/ui-stack.html +12 -12
  72. package/components/ui-status-message/ui-status-message.html +17 -17
  73. package/components/ui-swatch/ui-swatch.html +2 -2
  74. package/components/ui-switch/ui-switch.html +36 -26
  75. package/components/ui-switcher/ui-switcher.html +7 -7
  76. package/components/ui-table/ui-table.html +6 -6
  77. package/components/ui-tabs/ui-tabs.html +16 -15
  78. package/components/ui-text/ui-text.html +3 -2
  79. package/components/ui-textarea/ui-textarea.html +10 -10
  80. package/components/ui-toast/ui-toast.html +9 -9
  81. package/components/ui-toast-region/ui-toast-region.html +12 -12
  82. package/components/ui-tooltip/ui-tooltip.html +15 -15
  83. package/components/ui-top-bar/ui-top-bar.html +11 -11
  84. package/components/ui-tree/ui-tree.html +5 -5
  85. package/components/ui-tree-item/ui-tree-item.html +36 -36
  86. package/dist/index.js +46 -45
  87. package/docs/README.md +116 -0
  88. package/docs/card.html +63 -0
  89. package/docs/card.js +32 -0
  90. package/docs/catalog-view.js +18 -0
  91. package/docs/catalog-view.mjs +11 -0
  92. package/docs/catalog.json +22974 -0
  93. package/docs/catalog.mjs +131 -0
  94. package/docs/cli.mjs +26 -0
  95. package/docs/commands.mjs +94 -0
  96. package/docs/customizer-render.mjs +40 -0
  97. package/docs/customizer.js +118 -0
  98. package/docs/documentation.css +8 -0
  99. package/docs/examples/ui-action-bar/examples/01-form-footer.behavior.js +7 -0
  100. package/docs/examples/ui-button/examples/08-loading.behavior.js +21 -0
  101. package/docs/examples/ui-checkbox/examples/02-checked-indeterminate-and-disabled.behavior.js +30 -0
  102. package/docs/examples/ui-combobox/examples/06-selected-values.behavior.js +11 -0
  103. package/docs/examples/ui-search-shell/examples/02-label-dismissible-status-and-footer.behavior.js +34 -0
  104. package/docs/examples/ui-toast/examples/01-authored.behavior.js +15 -0
  105. package/docs/examples/ui-toast/examples/02-danger.behavior.js +2 -0
  106. package/docs/examples/ui-tree/examples/03-max-depth-2-and-hover-expand-delay-300.behavior.js +30 -0
  107. package/docs/examples/ui-tree/examples/06-move-without-dragging.behavior.js +2 -0
  108. package/docs/examples/ui-tree/examples/07-multiple-selection.behavior.js +16 -0
  109. package/docs/examples/ui-tree-item/examples/02-container.behavior.js +1 -0
  110. package/docs/index.d.ts +54 -0
  111. package/docs/index.mjs +4 -0
  112. package/docs/local-server.mjs +68 -0
  113. package/docs/preview.js +20 -0
  114. package/docs/reference.html +1 -0
  115. package/docs/reference.js +36 -0
  116. package/docs/render.mjs +84 -0
  117. package/docs/site.mjs +198 -0
  118. package/docs/store.mjs +92 -0
  119. package/docs/theme.mjs +100 -0
  120. package/docs/workspace.mjs +32 -0
  121. package/package.json +28 -3
  122. package/styles/ui-action-bar.css +11 -11
  123. package/styles/ui-affordance-scope.css +2 -2
  124. package/styles/ui-avatar-group.css +14 -14
  125. package/styles/ui-avatar.css +8 -8
  126. package/styles/ui-badge.css +41 -41
  127. package/styles/ui-breadcrumb-item.css +13 -13
  128. package/styles/ui-breadcrumbs.css +8 -8
  129. package/styles/ui-button.css +30 -28
  130. package/styles/ui-callout.css +9 -9
  131. package/styles/ui-card.css +11 -11
  132. package/styles/ui-checkbox.css +52 -33
  133. package/styles/ui-cluster.css +21 -21
  134. package/styles/ui-color-picker.css +120 -0
  135. package/styles/ui-combobox.css +86 -86
  136. package/styles/ui-container.css +7 -7
  137. package/styles/ui-context-menu.css +9 -9
  138. package/styles/ui-cover.css +8 -8
  139. package/styles/ui-description-item.css +7 -7
  140. package/styles/ui-description-list.css +4 -4
  141. package/styles/ui-dialog.css +52 -52
  142. package/styles/ui-disclosure.css +23 -23
  143. package/styles/ui-editable.css +16 -16
  144. package/styles/ui-editor-insert-table-grid.css +9 -9
  145. package/styles/ui-editor-mention-menu-item.css +10 -10
  146. package/styles/ui-editor-mention-menu.css +23 -23
  147. package/styles/ui-editor-slash-menu-group.css +5 -5
  148. package/styles/ui-editor-slash-menu-item.css +11 -11
  149. package/styles/ui-editor-slash-menu.css +29 -29
  150. package/styles/ui-editor-surface.css +2 -2
  151. package/styles/ui-editor-table-context-menu.css +25 -25
  152. package/styles/ui-editor-table-overlay.css +13 -13
  153. package/styles/ui-editor-table-toolbar.css +31 -31
  154. package/styles/ui-editor-toolbar.css +13 -13
  155. package/styles/ui-floating-action-button.css +8 -8
  156. package/styles/ui-form-field.css +13 -13
  157. package/styles/ui-grid.css +4 -4
  158. package/styles/ui-icon-button.css +13 -13
  159. package/styles/ui-icon.css +2 -2
  160. package/styles/ui-image.css +14 -14
  161. package/styles/ui-input-group.css +18 -18
  162. package/styles/ui-input.css +8 -8
  163. package/styles/ui-list-item.css +18 -18
  164. package/styles/ui-list.css +11 -11
  165. package/styles/ui-listbox.css +20 -20
  166. package/styles/ui-menu-group.css +4 -4
  167. package/styles/ui-menu-item.css +20 -20
  168. package/styles/ui-menu.css +16 -16
  169. package/styles/ui-meter.css +5 -5
  170. package/styles/ui-nav-item.css +20 -20
  171. package/styles/ui-page-header.css +18 -17
  172. package/styles/ui-popover.css +8 -8
  173. package/styles/ui-radio-group.css +10 -10
  174. package/styles/ui-radio.css +26 -18
  175. package/styles/ui-reel.css +5 -5
  176. package/styles/ui-scroll-area.css +10 -10
  177. package/styles/ui-search-result-row.css +19 -19
  178. package/styles/ui-search-shell.css +22 -22
  179. package/styles/ui-section.css +24 -23
  180. package/styles/ui-select.css +10 -10
  181. package/styles/ui-separator.css +2 -2
  182. package/styles/ui-sidebar.css +8 -8
  183. package/styles/ui-spinner.css +6 -6
  184. package/styles/ui-stack.css +12 -12
  185. package/styles/ui-status-message.css +17 -17
  186. package/styles/ui-swatch.css +2 -2
  187. package/styles/ui-switch.css +36 -28
  188. package/styles/ui-switcher.css +7 -7
  189. package/styles/ui-table.css +6 -6
  190. package/styles/ui-tabs.css +11 -11
  191. package/styles/ui-text.css +3 -2
  192. package/styles/ui-textarea.css +10 -10
  193. package/styles/ui-toast-region.css +24 -24
  194. package/styles/ui-toast.css +18 -18
  195. package/styles/ui-tooltip.css +15 -15
  196. package/styles/ui-top-bar.css +11 -11
  197. package/styles/ui-tree-item.css +71 -71
  198. package/styles/ui-tree.css +5 -5
  199. package/theme-system.css +80 -0
  200. package/tokens.css +14 -3
  201. package/vanilla/UiColorPicker.d.ts +30 -0
  202. package/vanilla/UiColorPicker.js +77 -0
  203. package/vanilla/UiIcon.js +1 -1
  204. package/vanilla/index.js +1 -0
  205. package/vue/UiActionBar.vue +11 -11
  206. package/vue/UiAffordanceScope.vue +2 -2
  207. package/vue/UiAvatar.vue +8 -8
  208. package/vue/UiAvatarGroup.vue +14 -14
  209. package/vue/UiBadge.vue +43 -42
  210. package/vue/UiBreadcrumbItem.vue +13 -13
  211. package/vue/UiBreadcrumbs.vue +8 -8
  212. package/vue/UiButton.vue +34 -29
  213. package/vue/UiCallout.vue +9 -9
  214. package/vue/UiCard.vue +11 -11
  215. package/vue/UiCheckbox.vue +57 -34
  216. package/vue/UiCluster.vue +21 -21
  217. package/vue/UiColorPicker.d.ts +65 -0
  218. package/vue/UiColorPicker.js +2 -0
  219. package/vue/UiColorPicker.vue +422 -0
  220. package/vue/UiCombobox.vue +86 -86
  221. package/vue/UiContainer.vue +7 -7
  222. package/vue/UiContextMenu.vue +9 -9
  223. package/vue/UiCover.vue +8 -8
  224. package/vue/UiDescriptionItem.vue +7 -7
  225. package/vue/UiDescriptionList.vue +4 -4
  226. package/vue/UiDialog.vue +52 -52
  227. package/vue/UiDisclosure.vue +23 -23
  228. package/vue/UiEditable.vue +16 -16
  229. package/vue/UiEditorInsertTableGrid.vue +9 -9
  230. package/vue/UiEditorMentionMenu.vue +23 -23
  231. package/vue/UiEditorMentionMenuItem.vue +10 -10
  232. package/vue/UiEditorSlashMenu.vue +29 -29
  233. package/vue/UiEditorSlashMenuGroup.vue +5 -5
  234. package/vue/UiEditorSlashMenuItem.vue +11 -11
  235. package/vue/UiEditorSurface.vue +2 -2
  236. package/vue/UiEditorTableContextMenu.vue +25 -25
  237. package/vue/UiEditorTableOverlay.vue +13 -13
  238. package/vue/UiEditorTableToolbar.vue +31 -31
  239. package/vue/UiEditorToolbar.vue +13 -13
  240. package/vue/UiFloatingActionButton.vue +8 -8
  241. package/vue/UiFormField.vue +14 -14
  242. package/vue/UiGrid.vue +4 -4
  243. package/vue/UiIcon.vue +6 -2
  244. package/vue/UiIconButton.vue +14 -14
  245. package/vue/UiImage.vue +14 -14
  246. package/vue/UiInput.vue +9 -8
  247. package/vue/UiInputGroup.vue +18 -18
  248. package/vue/UiList.vue +11 -11
  249. package/vue/UiListItem.vue +18 -18
  250. package/vue/UiListbox.vue +20 -20
  251. package/vue/UiMenu.vue +16 -16
  252. package/vue/UiMenuGroup.vue +4 -4
  253. package/vue/UiMenuItem.vue +20 -20
  254. package/vue/UiMeter.vue +5 -5
  255. package/vue/UiNavItem.vue +20 -20
  256. package/vue/UiPageHeader.vue +18 -17
  257. package/vue/UiPopover.vue +8 -8
  258. package/vue/UiRadio.vue +28 -17
  259. package/vue/UiRadioGroup.vue +10 -10
  260. package/vue/UiReel.vue +5 -5
  261. package/vue/UiScrollArea.vue +10 -10
  262. package/vue/UiSearchResultRow.vue +19 -19
  263. package/vue/UiSearchShell.vue +22 -22
  264. package/vue/UiSection.vue +24 -23
  265. package/vue/UiSelect.vue +11 -10
  266. package/vue/UiSeparator.vue +2 -2
  267. package/vue/UiSidebar.vue +8 -8
  268. package/vue/UiSpinner.vue +6 -6
  269. package/vue/UiStack.vue +12 -12
  270. package/vue/UiStatusMessage.vue +17 -17
  271. package/vue/UiSwatch.vue +2 -2
  272. package/vue/UiSwitch.vue +38 -25
  273. package/vue/UiSwitcher.vue +7 -7
  274. package/vue/UiTable.vue +6 -6
  275. package/vue/UiTabs.vue +13 -13
  276. package/vue/UiText.vue +3 -2
  277. package/vue/UiTextarea.vue +10 -10
  278. package/vue/UiToast.vue +18 -18
  279. package/vue/UiToastRegion.vue +24 -24
  280. package/vue/UiTooltip.vue +15 -15
  281. package/vue/UiTopBar.vue +11 -11
  282. package/vue/UiTree.vue +5 -5
  283. package/vue/UiTreeItem.vue +73 -71
  284. package/vue/chunks/UiActionBar.js +1 -1
  285. package/vue/chunks/UiAffordanceScope.js +1 -1
  286. package/vue/chunks/UiAvatar.js +1 -1
  287. package/vue/chunks/UiAvatarGroup.js +1 -1
  288. package/vue/chunks/UiBadge.js +2 -2
  289. package/vue/chunks/UiBreadcrumbItem.js +1 -1
  290. package/vue/chunks/UiBreadcrumbs.js +1 -1
  291. package/vue/chunks/UiButton.js +2 -2
  292. package/vue/chunks/UiCallout.js +1 -1
  293. package/vue/chunks/UiCard.js +1 -1
  294. package/vue/chunks/UiCheckbox.js +1 -1
  295. package/vue/chunks/UiCluster.js +1 -1
  296. package/vue/chunks/UiColorPicker.js +326 -0
  297. package/vue/chunks/UiCombobox.js +1 -1
  298. package/vue/chunks/UiContainer.js +1 -1
  299. package/vue/chunks/UiContextMenu.js +1 -1
  300. package/vue/chunks/UiCover.js +1 -1
  301. package/vue/chunks/UiDescriptionItem.js +1 -1
  302. package/vue/chunks/UiDescriptionList.js +1 -1
  303. package/vue/chunks/UiDialog.js +1 -1
  304. package/vue/chunks/UiDisclosure.js +1 -1
  305. package/vue/chunks/UiEditable.js +1 -1
  306. package/vue/chunks/UiEditorImageToolbar.js +1 -1
  307. package/vue/chunks/UiEditorInsertTableGrid.js +1 -1
  308. package/vue/chunks/UiEditorLinkForm.js +1 -1
  309. package/vue/chunks/UiEditorMentionMenu.js +1 -1
  310. package/vue/chunks/UiEditorMentionMenuItem.js +1 -1
  311. package/vue/chunks/UiEditorSlashMenu.js +1 -1
  312. package/vue/chunks/UiEditorSlashMenuGroup.js +1 -1
  313. package/vue/chunks/UiEditorSlashMenuItem.js +1 -1
  314. package/vue/chunks/UiEditorSurface.js +1 -1
  315. package/vue/chunks/UiEditorTableContextMenu.js +1 -1
  316. package/vue/chunks/UiEditorTableOverlay.js +1 -1
  317. package/vue/chunks/UiEditorTableToolbar.js +1 -1
  318. package/vue/chunks/UiEditorToolbar.js +1 -1
  319. package/vue/chunks/UiFloatingActionButton.js +1 -1
  320. package/vue/chunks/UiFormField.js +2 -2
  321. package/vue/chunks/UiGrid.js +1 -1
  322. package/vue/chunks/UiIcon.js +5 -1
  323. package/vue/chunks/UiIconButton.js +2 -2
  324. package/vue/chunks/UiImage.js +1 -1
  325. package/vue/chunks/UiInput.js +1 -1
  326. package/vue/chunks/UiInputGroup.js +1 -1
  327. package/vue/chunks/UiList.js +1 -1
  328. package/vue/chunks/UiListItem.js +1 -1
  329. package/vue/chunks/UiListbox.js +1 -1
  330. package/vue/chunks/UiMenu.js +1 -1
  331. package/vue/chunks/UiMenuGroup.js +1 -1
  332. package/vue/chunks/UiMenuItem.js +1 -1
  333. package/vue/chunks/UiMeter.js +1 -1
  334. package/vue/chunks/UiNavItem.js +1 -1
  335. package/vue/chunks/UiPageHeader.js +1 -1
  336. package/vue/chunks/UiPopover.js +1 -1
  337. package/vue/chunks/UiRadio.js +1 -1
  338. package/vue/chunks/UiRadioGroup.js +1 -1
  339. package/vue/chunks/UiReel.js +1 -1
  340. package/vue/chunks/UiScrollArea.js +1 -1
  341. package/vue/chunks/UiSearchResultRow.js +1 -1
  342. package/vue/chunks/UiSearchShell.js +1 -1
  343. package/vue/chunks/UiSection.js +1 -1
  344. package/vue/chunks/UiSelect.js +1 -1
  345. package/vue/chunks/UiSeparator.js +1 -1
  346. package/vue/chunks/UiSidebar.js +1 -1
  347. package/vue/chunks/UiSpinner.js +1 -1
  348. package/vue/chunks/UiStack.js +1 -1
  349. package/vue/chunks/UiStatusMessage.js +1 -1
  350. package/vue/chunks/UiSwatch.js +1 -1
  351. package/vue/chunks/UiSwitch.js +1 -1
  352. package/vue/chunks/UiSwitcher.js +1 -1
  353. package/vue/chunks/UiTable.js +1 -1
  354. package/vue/chunks/UiTabs.js +3 -3
  355. package/vue/chunks/UiText.js +1 -1
  356. package/vue/chunks/UiTextarea.js +1 -1
  357. package/vue/chunks/UiToast.js +1 -1
  358. package/vue/chunks/UiToastRegion.js +1 -1
  359. package/vue/chunks/UiTooltip.js +1 -1
  360. package/vue/chunks/UiTopBar.js +1 -1
  361. package/vue/chunks/UiTree.js +1 -1
  362. package/vue/chunks/UiTreeItem.js +1 -1
  363. package/vue/components.css +1857 -1654
  364. package/vue/editor/index.js +28 -11
  365. package/vue/index.d.ts +1 -0
  366. package/vue/index.js +3 -2
@@ -76,13 +76,13 @@
76
76
  }
77
77
 
78
78
  :host {
79
- display: flex;
80
- align-items: center;
81
- gap: var(--ui-space-2);
82
- box-sizing: border-box;
79
+ display: flex !important;
80
+ align-items: center !important;
81
+ gap: var(--ui-space-2) !important;
82
+ box-sizing: border-box !important;
83
83
  width: 100%;
84
84
  padding: var(--ui-menu-item-padding-block, var(--_ui-default-menu-item-padding-block, var(--ui-space-2)))
85
- var(--ui-menu-item-padding-inline, var(--_ui-default-menu-item-padding-inline, var(--ui-space-3)));
85
+ var(--ui-menu-item-padding-inline, var(--_ui-default-menu-item-padding-inline, var(--ui-space-3))) !important;
86
86
  text-align: left;
87
87
  border-radius: var(--ui-menu-item-radius, var(--_ui-default-menu-item-radius, var(--ui-selection-radius)));
88
88
  color: var(--ui-text-primary);
@@ -96,16 +96,16 @@
96
96
 
97
97
  /* A named icon has a fixed column; an icon-enabled menu reserves it on every row. */
98
98
  .icon {
99
- display: var(--_ui-default-menu-icon-display, none);
100
- align-items: center;
101
- justify-content: center;
99
+ display: var(--_ui-default-menu-icon-display, none) !important;
100
+ align-items: center !important;
101
+ justify-content: center !important;
102
102
  flex: none;
103
103
  inline-size: var(--ui-icon-size-sm);
104
104
  block-size: var(--ui-icon-size-sm);
105
105
  }
106
106
 
107
107
  .icon:not(:empty) {
108
- display: inline-flex;
108
+ display: inline-flex !important;
109
109
  }
110
110
 
111
111
  .icon :slotted(svg) {
@@ -118,19 +118,19 @@
118
118
  }
119
119
 
120
120
  .label {
121
- display: flex;
122
- align-items: center;
123
- gap: var(--ui-space-2);
121
+ display: flex !important;
122
+ align-items: center !important;
123
+ gap: var(--ui-space-2) !important;
124
124
  flex: 1;
125
125
  min-inline-size: 0;
126
126
  }
127
127
 
128
128
  .indicator {
129
- display: inline-flex;
130
- align-items: center;
131
- justify-content: center;
129
+ display: inline-flex !important;
130
+ align-items: center !important;
131
+ justify-content: center !important;
132
132
  flex: none;
133
- box-sizing: border-box;
133
+ box-sizing: border-box !important;
134
134
  inline-size: var(--_ui-default-menu-indicator-size, var(--ui-icon-size-sm));
135
135
  block-size: var(--_ui-default-menu-indicator-size, var(--ui-icon-size-sm));
136
136
  border: var(--ui-border-width) solid var(--ui-control-border);
@@ -140,7 +140,7 @@
140
140
  }
141
141
 
142
142
  :host([type="action"]) .indicator {
143
- display: none;
143
+ display: none !important;
144
144
  }
145
145
 
146
146
  :host([type="checkbox"])[aria-checked="true"] .indicator {
@@ -156,14 +156,14 @@
156
156
  }
157
157
 
158
158
  .shortcut {
159
- margin-inline-start: auto;
159
+ margin-inline-start: auto !important;
160
160
  color: var(--ui-text-secondary);
161
161
  font-size: var(--ui-font-size-sm);
162
162
  font-weight: var(--ui-font-normal);
163
163
  }
164
164
 
165
165
  .shortcut:empty {
166
- display: none;
166
+ display: none !important;
167
167
  }
168
168
 
169
169
  /* A <kbd> takes the browser's monospace; the hint reads in the item's own type. */
@@ -213,7 +213,7 @@
213
213
 
214
214
  /* A component that sets its display still honours the hidden attribute on its root. */
215
215
  :host[hidden] {
216
- display: none;
216
+ display: none !important;
217
217
  }
218
218
  </style>
219
219
  </template>
@@ -70,7 +70,7 @@
70
70
  :host {
71
71
  --_meter-fill: var(--ui-text-muted);
72
72
 
73
- display: inline-block;
73
+ display: inline-block !important;
74
74
  flex: none;
75
75
  vertical-align: middle;
76
76
  inline-size: var(--ui-meter-inline-size, 8rem);
@@ -90,7 +90,7 @@
90
90
  }
91
91
 
92
92
  .fill {
93
- display: block;
93
+ display: block !important;
94
94
  block-size: 100%;
95
95
  background-color: var(--_meter-fill);
96
96
  background-image: linear-gradient(to bottom, rgb(255 255 255 / 0.26), transparent 70%);
@@ -184,10 +184,10 @@
184
184
  /* A categorical distribution uses flex ratios, avoiding rounded percentages and retaining
185
185
  identical geometry before hydration. It has no progress mask or growing-value animation. */
186
186
  :host([variant="distribution"]) {
187
- display: flex;
187
+ display: flex !important;
188
188
  inline-size: 100%;
189
189
  block-size: var(--ui-space-4);
190
- gap: var(--ui-space-0-5);
190
+ gap: var(--ui-space-0-5) !important;
191
191
  }
192
192
 
193
193
  :host([variant="distribution"])[size="sm"] {
@@ -233,7 +233,7 @@
233
233
 
234
234
  /* A component that sets its display still honours the hidden attribute on its root. */
235
235
  :host[hidden] {
236
- display: none;
236
+ display: none !important;
237
237
  }
238
238
  </style>
239
239
  </template>
@@ -73,16 +73,16 @@
73
73
  --_indicator-width: var(--ui-nav-item-indicator-width, var(--ui-accent-line-width));
74
74
  --_indicator-color: var(--ui-nav-item-indicator-color, var(--ui-accent));
75
75
  position: relative;
76
- box-sizing: border-box;
77
- display: flex;
78
- align-items: center;
79
- gap: var(--ui-nav-gap);
76
+ box-sizing: border-box !important;
77
+ display: flex !important;
78
+ align-items: center !important;
79
+ gap: var(--ui-nav-gap) !important;
80
80
  inline-size: var(--ui-nav-item-inline-size, 100%);
81
81
  min-inline-size: 0;
82
82
  min-block-size: var(--ui-nav-min-block-size);
83
- margin: 0;
84
- padding-block: var(--ui-nav-padding-block);
85
- padding-inline: var(--ui-nav-padding-inline);
83
+ margin: 0 !important;
84
+ padding-block: var(--ui-nav-padding-block) !important;
85
+ padding-inline: var(--ui-nav-padding-inline) !important;
86
86
  border: 0;
87
87
  border-radius: var(--ui-selection-radius);
88
88
  background: transparent;
@@ -131,12 +131,12 @@
131
131
  position: absolute;
132
132
  inset-block: 0;
133
133
  inset-inline-start: 0;
134
- display: none;
134
+ display: none !important;
135
135
  border-inline-start: var(--_indicator-width) solid var(--_indicator-color);
136
136
  }
137
137
 
138
138
  :host([variant="line"])[aria-current] .indicator {
139
- display: block;
139
+ display: block !important;
140
140
  }
141
141
 
142
142
  @media (forced-colors: active) {
@@ -153,26 +153,26 @@
153
153
 
154
154
  .leading,
155
155
  .trailing {
156
- display: inline-flex;
156
+ display: inline-flex !important;
157
157
  flex: none;
158
- align-items: center;
159
- justify-content: center;
158
+ align-items: center !important;
159
+ justify-content: center !important;
160
160
  inline-size: var(--ui-nav-icon-size);
161
161
  color: inherit;
162
162
  font-size: var(--ui-nav-icon-size);
163
163
  }
164
164
 
165
165
  .content {
166
- display: flex;
166
+ display: flex !important;
167
167
  flex: 1;
168
- flex-direction: column;
169
- gap: var(--ui-space-0-5, 2px);
168
+ flex-direction: column !important;
169
+ gap: var(--ui-space-0-5, 2px) !important;
170
170
  min-inline-size: 0;
171
171
  }
172
172
 
173
173
  .label,
174
174
  .description {
175
- display: block;
175
+ display: block !important;
176
176
  min-inline-size: 0;
177
177
  overflow: hidden;
178
178
  text-overflow: ellipsis;
@@ -193,8 +193,8 @@
193
193
 
194
194
  :host([density="compact"]) {
195
195
  min-block-size: var(--ui-nav-compact-min-block-size);
196
- padding-block: var(--ui-nav-compact-padding-block);
197
- padding-inline: var(--ui-nav-compact-padding-inline);
196
+ padding-block: var(--ui-nav-compact-padding-block) !important;
197
+ padding-inline: var(--ui-nav-compact-padding-inline) !important;
198
198
  }
199
199
  :host([density="compact"]) .label {
200
200
  font-size: var(--ui-font-size-sm);
@@ -210,12 +210,12 @@
210
210
  .leading:empty,
211
211
  .trailing:empty,
212
212
  .description:empty {
213
- display: none;
213
+ display: none !important;
214
214
  }
215
215
 
216
216
  /* A component that sets its display still honours the hidden attribute on its root. */
217
217
  :host[hidden] {
218
- display: none;
218
+ display: none !important;
219
219
  }
220
220
  </style>
221
221
  </template>
@@ -18,16 +18,16 @@
18
18
  short eyebrow above it, a line or two of description under it, and the view's own actions at
19
19
  the end. Every view titles itself the same way, at the same size. */
20
20
  :host {
21
- display: flex;
22
- flex-wrap: wrap;
21
+ display: flex !important;
22
+ flex-wrap: wrap !important;
23
23
  inline-size: 100%;
24
- align-items: center;
25
- gap: var(--ui-space-3) var(--ui-space-4);
24
+ align-items: center !important;
25
+ gap: var(--ui-space-3) var(--ui-space-4) !important;
26
26
  min-inline-size: 0;
27
27
  }
28
28
 
29
29
  .leading {
30
- display: inline-flex;
30
+ display: inline-flex !important;
31
31
  flex: none;
32
32
  align-self: center;
33
33
  color: var(--ui-text-muted);
@@ -35,10 +35,10 @@
35
35
  }
36
36
 
37
37
  .copy {
38
- display: flex;
38
+ display: flex !important;
39
39
  flex: 1 1 16rem;
40
- flex-direction: column;
41
- gap: var(--ui-space-1);
40
+ flex-direction: column !important;
41
+ gap: var(--ui-space-1) !important;
42
42
  min-inline-size: 0;
43
43
  }
44
44
 
@@ -51,7 +51,8 @@
51
51
  }
52
52
 
53
53
  .title {
54
- margin: 0;
54
+ font-family: var(--ui-font-display, inherit);
55
+ margin: 0 !important;
55
56
  color: var(--ui-text-primary);
56
57
  font-size: var(--ui-font-size-2xl);
57
58
  font-weight: var(--ui-font-bold, 700);
@@ -66,20 +67,20 @@
66
67
  }
67
68
 
68
69
  .actions {
69
- display: inline-flex;
70
+ display: inline-flex !important;
70
71
  flex: none;
71
- flex-wrap: wrap;
72
- align-items: center;
73
- gap: var(--ui-space-2);
72
+ flex-wrap: wrap !important;
73
+ align-items: center !important;
74
+ gap: var(--ui-space-2) !important;
74
75
  }
75
76
 
76
77
  :host([align="center"]) {
77
- flex-direction: column;
78
+ flex-direction: column !important;
78
79
  text-align: center;
79
80
  }
80
81
 
81
82
  :host([align="center"]) .copy {
82
- align-items: center;
83
+ align-items: center !important;
83
84
  flex-basis: auto;
84
85
  }
85
86
 
@@ -87,12 +88,12 @@
87
88
  .eyebrow:empty,
88
89
  .description:empty,
89
90
  .actions:empty {
90
- display: none;
91
+ display: none !important;
91
92
  }
92
93
 
93
94
  /* A component that sets its display still honours the hidden attribute on its root. */
94
95
  :host[hidden] {
95
- display: none;
96
+ display: none !important;
96
97
  }
97
98
  </style>
98
99
  </template>
@@ -68,14 +68,14 @@
68
68
  --_ui-popover-radius: var(--ui-popover-radius);
69
69
  --_ui-popover-shadow: var(--ui-popover-shadow);
70
70
  --_ui-popover-padding: var(--ui-popover-padding);
71
- box-sizing: border-box;
71
+ box-sizing: border-box !important;
72
72
  max-inline-size: min(
73
73
  20rem,
74
74
  calc(100vw - var(--ui-popover-viewport-gap, var(--ui-space-2)) * 2)
75
75
  );
76
76
  max-block-size: calc(100dvh - var(--ui-popover-viewport-gap, var(--ui-space-2)) * 2);
77
77
  overflow: visible;
78
- padding: 0;
78
+ padding: 0 !important;
79
79
  border: 0;
80
80
  outline: 0;
81
81
  border-radius: 0;
@@ -84,11 +84,11 @@
84
84
  }
85
85
 
86
86
  .surface {
87
- box-sizing: border-box;
87
+ box-sizing: border-box !important;
88
88
  max-inline-size: inherit;
89
89
  max-block-size: inherit;
90
90
  overflow: auto;
91
- padding: var(--_ui-popover-padding, var(--ui-space-3));
91
+ padding: var(--_ui-popover-padding, var(--ui-space-3)) !important;
92
92
  background: var(--_ui-popover-surface, var(--ui-overlay-surface, var(--ui-surface-elevated)));
93
93
  border: var(--ui-border-width) solid var(--_ui-popover-border, var(--ui-overlay-border, var(--ui-border-strong)));
94
94
  border-radius: var(--_ui-popover-radius, var(--ui-overlay-radius, var(--ui-radius-lg)));
@@ -98,20 +98,20 @@
98
98
  /* A toolbar or card can supply its own surface, including an unclipped shadow. */
99
99
  :host([bare]) .surface {
100
100
  overflow: visible;
101
- padding: 0;
101
+ padding: 0 !important;
102
102
  border: 0;
103
103
  background: transparent;
104
104
  box-shadow: none;
105
105
  }
106
106
 
107
107
  :host(:not(:state(internalOpen))) {
108
- display: none;
108
+ display: none !important;
109
109
  }
110
110
 
111
111
  :host[popover] {
112
112
  position: fixed;
113
113
  inset: auto;
114
- margin: 0;
114
+ margin: 0 !important;
115
115
  opacity: 0;
116
116
  transform: translateY(-4px) scale(0.99);
117
117
  transition:
@@ -147,7 +147,7 @@
147
147
  }
148
148
 
149
149
  :host[hidden] {
150
- display: none;
150
+ display: none !important;
151
151
  }
152
152
 
153
153
  @media (prefers-reduced-motion: reduce) {
@@ -43,11 +43,15 @@
43
43
 
44
44
  :host {
45
45
  /* Hooks do not inherit, so the parts below read them from the root. */
46
- --_ui-radio-size: var(--ui-radio-size);
46
+ --_ui-radio-size: var(--ui-radio-size, var(--ui-choice-mark-size));
47
47
 
48
- display: inline-flex;
49
- align-items: flex-start;
50
- gap: var(--ui-radio-gap, var(--ui-space-2));
48
+ display: inline-flex !important;
49
+ align-items: flex-start !important;
50
+ flex-direction: row !important;
51
+ flex-wrap: nowrap !important;
52
+ padding: 0 !important;
53
+ line-height: var(--ui-line-height-md) !important;
54
+ gap: var(--ui-radio-gap, var(--ui-space-2)) !important;
51
55
  max-inline-size: 100%;
52
56
  color: var(--ui-text-primary);
53
57
  cursor: pointer;
@@ -55,15 +59,21 @@
55
59
 
56
60
  /* The label, and under it an optional line saying what the choice means. */
57
61
  .text {
58
- display: flex;
59
- flex-direction: column;
60
- gap: var(--ui-space-1);
62
+ font: inherit !important;
63
+ align-self: auto !important;
64
+ margin: 0 !important;
65
+ padding: 0 !important;
66
+ display: flex !important;
67
+ flex-direction: column !important;
68
+ gap: var(--ui-space-1) !important;
61
69
  min-inline-size: 0;
62
70
  }
63
71
 
64
72
  .label {
65
73
  min-inline-size: 0;
66
- line-height: var(--ui-line-height-md);
74
+ font: inherit !important;
75
+ line-height: var(--ui-line-height-md) !important;
76
+ padding-block: max(0px, calc((var(--_ui-radio-size, 1.125rem) - 1lh) / 2)) !important;
67
77
  }
68
78
 
69
79
  .description {
@@ -73,14 +83,17 @@
73
83
  }
74
84
 
75
85
  .description:empty {
76
- display: none;
86
+ display: none !important;
77
87
  }
78
88
 
79
89
  input {
90
+ font: inherit !important;
91
+ box-sizing: border-box !important;
92
+ align-self: auto !important;
80
93
  flex: 0 0 auto;
81
94
  inline-size: var(--_ui-radio-size, 1.125rem);
82
95
  block-size: var(--_ui-radio-size, 1.125rem);
83
- margin: calc(0.125em + 1px) 0 0;
96
+ margin: max(0px, calc((1lh - var(--_ui-radio-size, 1.125rem)) / 2)) 0 0 !important;
84
97
  accent-color: var(--ui-accent-solid);
85
98
  cursor: pointer;
86
99
  }
@@ -118,12 +131,7 @@
118
131
  :host([size="lg"]) {
119
132
  --_line: calc(var(--_font) * var(--ui-line-height-md));
120
133
  font-size: var(--_font);
121
- padding-block: calc((var(--_row) - var(--_line)) / 2);
122
- }
123
-
124
- :host([size="sm"]) input,
125
- :host([size="lg"]) input {
126
- margin-top: calc((var(--_line) - var(--_ui-radio-size, 1.125rem)) / 2 + 1px);
134
+ padding-block: max(0px, calc((var(--_row) - max(var(--_line), var(--_ui-radio-size, 1.125rem))) / 2)) !important;
127
135
  }
128
136
 
129
137
  @media (pointer: coarse) {
@@ -134,7 +142,7 @@
134
142
 
135
143
  /* A component that sets its display still honours the hidden attribute on its root. */
136
144
  :host[hidden] {
137
- display: none;
145
+ display: none !important;
138
146
  }
139
147
  </style>
140
148
  </template>
@@ -45,20 +45,20 @@
45
45
 
46
46
  :host {
47
47
  --_ui-radio-group-invalid-text: var(--ui-radio-group-invalid-text, var(--ui-field-danger, var(--ui-danger-solid)));
48
- display: inline-flex;
49
- align-items: center;
50
- gap: var(--ui-space-2);
48
+ display: inline-flex !important;
49
+ align-items: center !important;
50
+ gap: var(--ui-space-2) !important;
51
51
  min-inline-size: 0;
52
- margin: 0;
53
- padding: 0;
52
+ margin: 0 !important;
53
+ padding: 0 !important;
54
54
  border: 0;
55
55
  }
56
56
 
57
57
  legend {
58
58
  float: inline-start;
59
59
  inline-size: 100%;
60
- margin: 0 0 var(--ui-space-2);
61
- padding: 0;
60
+ margin: 0 0 var(--ui-space-2) !important;
61
+ padding: 0 !important;
62
62
  color: var(--ui-text-primary);
63
63
  font-weight: var(--ui-font-medium);
64
64
  }
@@ -81,13 +81,13 @@
81
81
  }
82
82
 
83
83
  :host([orientation="vertical"]) {
84
- display: inline-grid;
85
- justify-items: start;
84
+ display: inline-grid !important;
85
+ justify-items: start !important;
86
86
  }
87
87
 
88
88
  /* A component that sets its display still honours the hidden attribute on its root. */
89
89
  :host[hidden] {
90
- display: none;
90
+ display: none !important;
91
91
  }
92
92
  </style>
93
93
  </template>
@@ -27,15 +27,15 @@
27
27
  --_reel-item-width: max-content;
28
28
  /* Sizes its children from its own box: one row of columns, each the item width, that never
29
29
  shrinks to fit, so the reel scrolls once they overflow. */
30
- display: grid;
30
+ display: grid !important;
31
31
  grid-auto-flow: column;
32
32
  grid-auto-columns: var(--ui-reel-item-width, var(--_reel-item-width));
33
- justify-content: start;
33
+ justify-content: start !important;
34
34
  inline-size: 100%;
35
- gap: var(--ui-reel-gap, var(--_reel-gap));
35
+ gap: var(--ui-reel-gap, var(--_reel-gap)) !important;
36
36
  min-inline-size: 0;
37
37
  max-inline-size: 100%;
38
- margin: 0;
38
+ margin: 0 !important;
39
39
  overflow-x: auto;
40
40
  overflow-y: hidden;
41
41
  overscroll-behavior-inline: contain;
@@ -101,7 +101,7 @@
101
101
 
102
102
  /* A component that sets its display still honours the hidden attribute on its root. */
103
103
  :host[hidden] {
104
- display: none;
104
+ display: none !important;
105
105
  }
106
106
  </style>
107
107
  </template>
@@ -24,8 +24,8 @@
24
24
  }
25
25
 
26
26
  :host {
27
- display: block;
28
- box-sizing: border-box;
27
+ display: block !important;
28
+ box-sizing: border-box !important;
29
29
  min-block-size: 0;
30
30
  min-inline-size: 0;
31
31
  overflow-x: hidden;
@@ -44,16 +44,16 @@
44
44
  }
45
45
 
46
46
  .content {
47
- display: flow-root;
47
+ display: flow-root !important;
48
48
  }
49
49
 
50
50
  /* Trim projected edges without changing spacing inside an item. */
51
51
  :host([trim]) .content > :slotted(:first-child) {
52
- margin-block-start: 0;
52
+ margin-block-start: 0 !important;
53
53
  }
54
54
 
55
55
  :host([trim]) .content > :slotted(:last-child) {
56
- margin-block-end: 0;
56
+ margin-block-end: 0 !important;
57
57
  }
58
58
 
59
59
  :host([orientation="horizontal"]) {
@@ -77,21 +77,21 @@
77
77
  }
78
78
 
79
79
  :host([padding="xs"]) {
80
- padding: var(--ui-space-2);
80
+ padding: var(--ui-space-2) !important;
81
81
  }
82
82
  :host([padding="sm"]) {
83
- padding: var(--ui-space-3);
83
+ padding: var(--ui-space-3) !important;
84
84
  }
85
85
  :host([padding="md"]) {
86
- padding: var(--ui-space-5);
86
+ padding: var(--ui-space-5) !important;
87
87
  }
88
88
  :host([padding="lg"]) {
89
- padding: var(--ui-space-6);
89
+ padding: var(--ui-space-6) !important;
90
90
  }
91
91
 
92
92
  /* A component that sets its display still honours the hidden attribute on its root. */
93
93
  :host[hidden] {
94
- display: none;
94
+ display: none !important;
95
95
  }
96
96
  </style>
97
97
  </template>