@threadlabs/looma 0.32.0 → 0.33.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 (337) hide show
  1. package/components/shared/icons.js +1 -0
  2. package/components/shared/overlay.js +1 -1
  3. package/components/ui-action-bar/ui-action-bar.html +11 -11
  4. package/components/ui-affordance-scope/ui-affordance-scope.html +2 -2
  5. package/components/ui-avatar/ui-avatar.html +8 -8
  6. package/components/ui-avatar-group/ui-avatar-group.html +14 -14
  7. package/components/ui-avatar-group/ui-avatar-group.js +3 -2
  8. package/components/ui-badge/ui-badge.html +43 -43
  9. package/components/ui-breadcrumb-item/ui-breadcrumb-item.html +13 -13
  10. package/components/ui-breadcrumbs/ui-breadcrumbs.html +8 -8
  11. package/components/ui-button/ui-button.html +32 -29
  12. package/components/ui-callout/ui-callout.html +9 -9
  13. package/components/ui-card/ui-card.html +11 -11
  14. package/components/ui-checkbox/ui-checkbox.html +52 -33
  15. package/components/ui-cluster/ui-cluster.html +21 -21
  16. package/components/ui-color-picker/ui-color-picker.html +135 -0
  17. package/components/ui-color-picker/ui-color-picker.js +76 -0
  18. package/components/ui-combobox/ui-combobox.html +43 -43
  19. package/components/ui-container/ui-container.html +7 -7
  20. package/components/ui-context-menu/ui-context-menu.html +9 -9
  21. package/components/ui-cover/ui-cover.html +8 -8
  22. package/components/ui-description-item/ui-description-item.html +7 -7
  23. package/components/ui-description-list/ui-description-list.html +4 -4
  24. package/components/ui-dialog/ui-dialog.html +26 -26
  25. package/components/ui-disclosure/ui-disclosure.html +23 -23
  26. package/components/ui-editable/ui-editable.html +16 -16
  27. package/components/ui-editor-insert-table-grid/ui-editor-insert-table-grid.html +9 -9
  28. package/components/ui-editor-link-form/ui-editor-link-form.html +1 -2
  29. package/components/ui-editor-mention-menu/ui-editor-mention-menu.html +23 -23
  30. package/components/ui-editor-mention-menu-item/ui-editor-mention-menu-item.html +10 -10
  31. package/components/ui-editor-slash-menu/ui-editor-slash-menu.html +29 -29
  32. package/components/ui-editor-slash-menu-group/ui-editor-slash-menu-group.html +5 -5
  33. package/components/ui-editor-slash-menu-item/ui-editor-slash-menu-item.html +11 -11
  34. package/components/ui-editor-surface/ui-editor-surface.html +2 -2
  35. package/components/ui-editor-table-context-menu/ui-editor-table-context-menu.html +25 -25
  36. package/components/ui-editor-table-overlay/ui-editor-table-overlay.html +13 -13
  37. package/components/ui-editor-table-toolbar/ui-editor-table-toolbar.html +31 -31
  38. package/components/ui-editor-toolbar/ui-editor-toolbar.html +13 -13
  39. package/components/ui-floating-action-button/ui-floating-action-button.html +8 -8
  40. package/components/ui-form-field/ui-form-field.html +15 -15
  41. package/components/ui-form-field/ui-form-field.js +12 -4
  42. package/components/ui-grid/ui-grid.html +4 -4
  43. package/components/ui-icon/ui-icon.html +3 -2
  44. package/components/ui-icon-button/ui-icon-button.html +15 -14
  45. package/components/ui-image/ui-image.html +14 -14
  46. package/components/ui-input/ui-input.html +8 -8
  47. package/components/ui-input-group/ui-input-group.html +18 -18
  48. package/components/ui-list/ui-list.html +11 -11
  49. package/components/ui-list-item/ui-list-item.html +18 -18
  50. package/components/ui-listbox/ui-listbox.html +10 -10
  51. package/components/ui-menu/ui-menu.html +18 -17
  52. package/components/ui-menu-group/ui-menu-group.html +4 -4
  53. package/components/ui-menu-item/ui-menu-item.html +20 -20
  54. package/components/ui-meter/ui-meter.html +5 -5
  55. package/components/ui-nav-item/ui-nav-item.html +20 -20
  56. package/components/ui-page-header/ui-page-header.html +18 -17
  57. package/components/ui-popover/ui-popover.html +8 -8
  58. package/components/ui-radio/ui-radio.html +25 -17
  59. package/components/ui-radio-group/ui-radio-group.html +10 -10
  60. package/components/ui-reel/ui-reel.html +5 -5
  61. package/components/ui-scroll-area/ui-scroll-area.html +10 -10
  62. package/components/ui-search-result-row/ui-search-result-row.html +19 -19
  63. package/components/ui-search-shell/ui-search-shell.html +22 -22
  64. package/components/ui-section/ui-section.html +24 -23
  65. package/components/ui-select/ui-select.html +10 -10
  66. package/components/ui-separator/ui-separator.html +2 -2
  67. package/components/ui-sidebar/ui-sidebar.html +8 -8
  68. package/components/ui-spinner/ui-spinner.html +6 -6
  69. package/components/ui-stack/ui-stack.html +12 -12
  70. package/components/ui-status-message/ui-status-message.html +17 -17
  71. package/components/ui-swatch/ui-swatch.html +2 -2
  72. package/components/ui-switch/ui-switch.html +36 -26
  73. package/components/ui-switcher/ui-switcher.html +7 -7
  74. package/components/ui-table/ui-table.html +6 -6
  75. package/components/ui-tabs/ui-tabs.html +16 -15
  76. package/components/ui-text/ui-text.html +3 -2
  77. package/components/ui-textarea/ui-textarea.html +10 -10
  78. package/components/ui-toast/ui-toast.html +9 -9
  79. package/components/ui-toast-region/ui-toast-region.html +12 -12
  80. package/components/ui-tooltip/ui-tooltip.html +15 -15
  81. package/components/ui-top-bar/ui-top-bar.html +11 -11
  82. package/components/ui-tree/ui-tree.html +5 -5
  83. package/components/ui-tree-item/ui-tree-item.html +36 -36
  84. package/dist/index.js +46 -45
  85. package/editor/chunks/extensions.js +17 -1
  86. package/editor/extensions/slash-command.d.ts +1 -1
  87. package/editor/file-uploads.d.ts +31 -0
  88. package/editor/icons.d.ts +1 -0
  89. package/editor/index.js +2 -1
  90. package/package.json +3 -2
  91. package/styles/ui-action-bar.css +11 -11
  92. package/styles/ui-affordance-scope.css +2 -2
  93. package/styles/ui-avatar-group.css +14 -14
  94. package/styles/ui-avatar.css +8 -8
  95. package/styles/ui-badge.css +41 -41
  96. package/styles/ui-breadcrumb-item.css +13 -13
  97. package/styles/ui-breadcrumbs.css +8 -8
  98. package/styles/ui-button.css +30 -28
  99. package/styles/ui-callout.css +9 -9
  100. package/styles/ui-card.css +11 -11
  101. package/styles/ui-checkbox.css +52 -33
  102. package/styles/ui-cluster.css +21 -21
  103. package/styles/ui-color-picker.css +120 -0
  104. package/styles/ui-combobox.css +86 -86
  105. package/styles/ui-container.css +7 -7
  106. package/styles/ui-context-menu.css +9 -9
  107. package/styles/ui-cover.css +8 -8
  108. package/styles/ui-description-item.css +7 -7
  109. package/styles/ui-description-list.css +4 -4
  110. package/styles/ui-dialog.css +52 -52
  111. package/styles/ui-disclosure.css +23 -23
  112. package/styles/ui-editable.css +16 -16
  113. package/styles/ui-editor-insert-table-grid.css +9 -9
  114. package/styles/ui-editor-mention-menu-item.css +10 -10
  115. package/styles/ui-editor-mention-menu.css +23 -23
  116. package/styles/ui-editor-slash-menu-group.css +5 -5
  117. package/styles/ui-editor-slash-menu-item.css +11 -11
  118. package/styles/ui-editor-slash-menu.css +29 -29
  119. package/styles/ui-editor-surface.css +2 -2
  120. package/styles/ui-editor-table-context-menu.css +25 -25
  121. package/styles/ui-editor-table-overlay.css +13 -13
  122. package/styles/ui-editor-table-toolbar.css +31 -31
  123. package/styles/ui-editor-toolbar.css +13 -13
  124. package/styles/ui-floating-action-button.css +8 -8
  125. package/styles/ui-form-field.css +13 -13
  126. package/styles/ui-grid.css +4 -4
  127. package/styles/ui-icon-button.css +13 -13
  128. package/styles/ui-icon.css +2 -2
  129. package/styles/ui-image.css +14 -14
  130. package/styles/ui-input-group.css +18 -18
  131. package/styles/ui-input.css +8 -8
  132. package/styles/ui-list-item.css +18 -18
  133. package/styles/ui-list.css +11 -11
  134. package/styles/ui-listbox.css +20 -20
  135. package/styles/ui-menu-group.css +4 -4
  136. package/styles/ui-menu-item.css +20 -20
  137. package/styles/ui-menu.css +16 -16
  138. package/styles/ui-meter.css +5 -5
  139. package/styles/ui-nav-item.css +20 -20
  140. package/styles/ui-page-header.css +18 -17
  141. package/styles/ui-popover.css +8 -8
  142. package/styles/ui-radio-group.css +10 -10
  143. package/styles/ui-radio.css +26 -18
  144. package/styles/ui-reel.css +5 -5
  145. package/styles/ui-scroll-area.css +10 -10
  146. package/styles/ui-search-result-row.css +19 -19
  147. package/styles/ui-search-shell.css +22 -22
  148. package/styles/ui-section.css +24 -23
  149. package/styles/ui-select.css +10 -10
  150. package/styles/ui-separator.css +2 -2
  151. package/styles/ui-sidebar.css +8 -8
  152. package/styles/ui-spinner.css +6 -6
  153. package/styles/ui-stack.css +12 -12
  154. package/styles/ui-status-message.css +17 -17
  155. package/styles/ui-swatch.css +2 -2
  156. package/styles/ui-switch.css +36 -28
  157. package/styles/ui-switcher.css +7 -7
  158. package/styles/ui-table.css +6 -6
  159. package/styles/ui-tabs.css +11 -11
  160. package/styles/ui-text.css +3 -2
  161. package/styles/ui-textarea.css +10 -10
  162. package/styles/ui-toast-region.css +24 -24
  163. package/styles/ui-toast.css +18 -18
  164. package/styles/ui-tooltip.css +15 -15
  165. package/styles/ui-top-bar.css +11 -11
  166. package/styles/ui-tree-item.css +71 -71
  167. package/styles/ui-tree.css +5 -5
  168. package/theme-system.css +80 -0
  169. package/tokens.css +14 -3
  170. package/vanilla/UiColorPicker.d.ts +30 -0
  171. package/vanilla/UiColorPicker.js +77 -0
  172. package/vanilla/UiIcon.js +1 -1
  173. package/vanilla/index.js +1 -0
  174. package/vue/UiActionBar.vue +11 -11
  175. package/vue/UiAffordanceScope.vue +2 -2
  176. package/vue/UiAvatar.vue +8 -8
  177. package/vue/UiAvatarGroup.vue +14 -14
  178. package/vue/UiBadge.vue +43 -42
  179. package/vue/UiBreadcrumbItem.vue +13 -13
  180. package/vue/UiBreadcrumbs.vue +8 -8
  181. package/vue/UiButton.vue +34 -29
  182. package/vue/UiCallout.vue +9 -9
  183. package/vue/UiCard.vue +11 -11
  184. package/vue/UiCheckbox.vue +57 -34
  185. package/vue/UiCluster.vue +21 -21
  186. package/vue/UiColorPicker.d.ts +65 -0
  187. package/vue/UiColorPicker.js +2 -0
  188. package/vue/UiColorPicker.vue +422 -0
  189. package/vue/UiCombobox.vue +86 -86
  190. package/vue/UiContainer.vue +7 -7
  191. package/vue/UiContextMenu.vue +9 -9
  192. package/vue/UiCover.vue +8 -8
  193. package/vue/UiDescriptionItem.vue +7 -7
  194. package/vue/UiDescriptionList.vue +4 -4
  195. package/vue/UiDialog.vue +52 -52
  196. package/vue/UiDisclosure.vue +23 -23
  197. package/vue/UiEditable.vue +16 -16
  198. package/vue/UiEditorInsertTableGrid.vue +9 -9
  199. package/vue/UiEditorMentionMenu.vue +23 -23
  200. package/vue/UiEditorMentionMenuItem.vue +10 -10
  201. package/vue/UiEditorSlashMenu.vue +29 -29
  202. package/vue/UiEditorSlashMenuGroup.vue +5 -5
  203. package/vue/UiEditorSlashMenuItem.vue +11 -11
  204. package/vue/UiEditorSurface.vue +2 -2
  205. package/vue/UiEditorTableContextMenu.vue +25 -25
  206. package/vue/UiEditorTableOverlay.vue +13 -13
  207. package/vue/UiEditorTableToolbar.vue +31 -31
  208. package/vue/UiEditorToolbar.vue +13 -13
  209. package/vue/UiFloatingActionButton.vue +8 -8
  210. package/vue/UiFormField.vue +14 -14
  211. package/vue/UiGrid.vue +4 -4
  212. package/vue/UiIcon.vue +6 -2
  213. package/vue/UiIconButton.vue +14 -14
  214. package/vue/UiImage.vue +14 -14
  215. package/vue/UiInput.vue +9 -8
  216. package/vue/UiInputGroup.vue +18 -18
  217. package/vue/UiList.vue +11 -11
  218. package/vue/UiListItem.vue +18 -18
  219. package/vue/UiListbox.vue +20 -20
  220. package/vue/UiMenu.vue +16 -16
  221. package/vue/UiMenuGroup.vue +4 -4
  222. package/vue/UiMenuItem.vue +20 -20
  223. package/vue/UiMeter.vue +5 -5
  224. package/vue/UiNavItem.vue +20 -20
  225. package/vue/UiPageHeader.vue +18 -17
  226. package/vue/UiPopover.vue +8 -8
  227. package/vue/UiRadio.vue +28 -17
  228. package/vue/UiRadioGroup.vue +10 -10
  229. package/vue/UiReel.vue +5 -5
  230. package/vue/UiScrollArea.vue +10 -10
  231. package/vue/UiSearchResultRow.vue +19 -19
  232. package/vue/UiSearchShell.vue +22 -22
  233. package/vue/UiSection.vue +24 -23
  234. package/vue/UiSelect.vue +11 -10
  235. package/vue/UiSeparator.vue +2 -2
  236. package/vue/UiSidebar.vue +8 -8
  237. package/vue/UiSpinner.vue +6 -6
  238. package/vue/UiStack.vue +12 -12
  239. package/vue/UiStatusMessage.vue +17 -17
  240. package/vue/UiSwatch.vue +2 -2
  241. package/vue/UiSwitch.vue +38 -25
  242. package/vue/UiSwitcher.vue +7 -7
  243. package/vue/UiTable.vue +6 -6
  244. package/vue/UiTabs.vue +13 -13
  245. package/vue/UiText.vue +3 -2
  246. package/vue/UiTextarea.vue +10 -10
  247. package/vue/UiToast.vue +18 -18
  248. package/vue/UiToastRegion.vue +24 -24
  249. package/vue/UiTooltip.vue +15 -15
  250. package/vue/UiTopBar.vue +11 -11
  251. package/vue/UiTree.vue +5 -5
  252. package/vue/UiTreeItem.vue +73 -71
  253. package/vue/chunks/UiActionBar.js +1 -1
  254. package/vue/chunks/UiAffordanceScope.js +1 -1
  255. package/vue/chunks/UiAvatar.js +1 -1
  256. package/vue/chunks/UiAvatarGroup.js +1 -1
  257. package/vue/chunks/UiBadge.js +2 -2
  258. package/vue/chunks/UiBreadcrumbItem.js +1 -1
  259. package/vue/chunks/UiBreadcrumbs.js +1 -1
  260. package/vue/chunks/UiButton.js +2 -2
  261. package/vue/chunks/UiCallout.js +1 -1
  262. package/vue/chunks/UiCard.js +1 -1
  263. package/vue/chunks/UiCheckbox.js +1 -1
  264. package/vue/chunks/UiCluster.js +1 -1
  265. package/vue/chunks/UiColorPicker.js +326 -0
  266. package/vue/chunks/UiCombobox.js +1 -1
  267. package/vue/chunks/UiContainer.js +1 -1
  268. package/vue/chunks/UiContextMenu.js +1 -1
  269. package/vue/chunks/UiCover.js +1 -1
  270. package/vue/chunks/UiDescriptionItem.js +1 -1
  271. package/vue/chunks/UiDescriptionList.js +1 -1
  272. package/vue/chunks/UiDialog.js +1 -1
  273. package/vue/chunks/UiDisclosure.js +1 -1
  274. package/vue/chunks/UiEditable.js +1 -1
  275. package/vue/chunks/UiEditorImageToolbar.js +1 -1
  276. package/vue/chunks/UiEditorInsertTableGrid.js +1 -1
  277. package/vue/chunks/UiEditorLinkForm.js +1 -1
  278. package/vue/chunks/UiEditorMentionMenu.js +1 -1
  279. package/vue/chunks/UiEditorMentionMenuItem.js +1 -1
  280. package/vue/chunks/UiEditorSlashMenu.js +1 -1
  281. package/vue/chunks/UiEditorSlashMenuGroup.js +1 -1
  282. package/vue/chunks/UiEditorSlashMenuItem.js +1 -1
  283. package/vue/chunks/UiEditorSurface.js +1 -1
  284. package/vue/chunks/UiEditorTableContextMenu.js +1 -1
  285. package/vue/chunks/UiEditorTableOverlay.js +1 -1
  286. package/vue/chunks/UiEditorTableToolbar.js +1 -1
  287. package/vue/chunks/UiEditorToolbar.js +1 -1
  288. package/vue/chunks/UiFloatingActionButton.js +1 -1
  289. package/vue/chunks/UiFormField.js +2 -2
  290. package/vue/chunks/UiGrid.js +1 -1
  291. package/vue/chunks/UiIcon.js +5 -1
  292. package/vue/chunks/UiIconButton.js +2 -2
  293. package/vue/chunks/UiImage.js +1 -1
  294. package/vue/chunks/UiInput.js +1 -1
  295. package/vue/chunks/UiInputGroup.js +1 -1
  296. package/vue/chunks/UiList.js +1 -1
  297. package/vue/chunks/UiListItem.js +1 -1
  298. package/vue/chunks/UiListbox.js +1 -1
  299. package/vue/chunks/UiMenu.js +1 -1
  300. package/vue/chunks/UiMenuGroup.js +1 -1
  301. package/vue/chunks/UiMenuItem.js +1 -1
  302. package/vue/chunks/UiMeter.js +1 -1
  303. package/vue/chunks/UiNavItem.js +1 -1
  304. package/vue/chunks/UiPageHeader.js +1 -1
  305. package/vue/chunks/UiPopover.js +1 -1
  306. package/vue/chunks/UiRadio.js +1 -1
  307. package/vue/chunks/UiRadioGroup.js +1 -1
  308. package/vue/chunks/UiReel.js +1 -1
  309. package/vue/chunks/UiScrollArea.js +1 -1
  310. package/vue/chunks/UiSearchResultRow.js +1 -1
  311. package/vue/chunks/UiSearchShell.js +1 -1
  312. package/vue/chunks/UiSection.js +1 -1
  313. package/vue/chunks/UiSelect.js +1 -1
  314. package/vue/chunks/UiSeparator.js +1 -1
  315. package/vue/chunks/UiSidebar.js +1 -1
  316. package/vue/chunks/UiSpinner.js +1 -1
  317. package/vue/chunks/UiStack.js +1 -1
  318. package/vue/chunks/UiStatusMessage.js +1 -1
  319. package/vue/chunks/UiSwatch.js +1 -1
  320. package/vue/chunks/UiSwitch.js +1 -1
  321. package/vue/chunks/UiSwitcher.js +1 -1
  322. package/vue/chunks/UiTable.js +1 -1
  323. package/vue/chunks/UiTabs.js +3 -3
  324. package/vue/chunks/UiText.js +1 -1
  325. package/vue/chunks/UiTextarea.js +1 -1
  326. package/vue/chunks/UiToast.js +1 -1
  327. package/vue/chunks/UiToastRegion.js +1 -1
  328. package/vue/chunks/UiTooltip.js +1 -1
  329. package/vue/chunks/UiTopBar.js +1 -1
  330. package/vue/chunks/UiTree.js +1 -1
  331. package/vue/chunks/UiTreeItem.js +1 -1
  332. package/vue/components.css +1857 -1654
  333. package/vue/editor/LoomaEditor.d.ts +18 -2
  334. package/vue/editor/index.d.ts +2 -1
  335. package/vue/editor/index.js +147 -16
  336. package/vue/index.d.ts +1 -0
  337. package/vue/index.js +3 -2
@@ -19,11 +19,15 @@
19
19
 
20
20
  :scope:where([data-component~="ui-radio"]) {
21
21
  /* Hooks do not inherit, so the parts below read them from the root. */
22
- --_ui-radio-size: var(--ui-radio-size);
23
-
24
- display: inline-flex;
25
- align-items: flex-start;
26
- gap: var(--ui-radio-gap, var(--ui-space-2));
22
+ --_ui-radio-size: var(--ui-radio-size, var(--ui-choice-mark-size));
23
+
24
+ display: inline-flex !important;
25
+ align-items: flex-start !important;
26
+ flex-direction: row !important;
27
+ flex-wrap: nowrap !important;
28
+ padding: 0 !important;
29
+ line-height: var(--ui-line-height-md) !important;
30
+ gap: var(--ui-radio-gap, var(--ui-space-2)) !important;
27
31
  max-inline-size: 100%;
28
32
  color: var(--ui-text-primary);
29
33
  cursor: pointer;
@@ -31,15 +35,21 @@
31
35
 
32
36
  /* The label, and under it an optional line saying what the choice means. */
33
37
  .text {
34
- display: flex;
35
- flex-direction: column;
36
- gap: var(--ui-space-1);
38
+ font: inherit !important;
39
+ align-self: auto !important;
40
+ margin: 0 !important;
41
+ padding: 0 !important;
42
+ display: flex !important;
43
+ flex-direction: column !important;
44
+ gap: var(--ui-space-1) !important;
37
45
  min-inline-size: 0;
38
46
  }
39
47
 
40
48
  .label {
41
49
  min-inline-size: 0;
42
- line-height: var(--ui-line-height-md);
50
+ font: inherit !important;
51
+ line-height: var(--ui-line-height-md) !important;
52
+ padding-block: max(0px, calc((var(--_ui-radio-size, 1.125rem) - 1lh) / 2)) !important;
43
53
  }
44
54
 
45
55
  .description {
@@ -49,14 +59,17 @@
49
59
  }
50
60
 
51
61
  .description:empty {
52
- display: none;
62
+ display: none !important;
53
63
  }
54
64
 
55
65
  input {
66
+ font: inherit !important;
67
+ box-sizing: border-box !important;
68
+ align-self: auto !important;
56
69
  flex: 0 0 auto;
57
70
  inline-size: var(--_ui-radio-size, 1.125rem);
58
71
  block-size: var(--_ui-radio-size, 1.125rem);
59
- margin: calc(0.125em + 1px) 0 0;
72
+ margin: max(0px, calc((1lh - var(--_ui-radio-size, 1.125rem)) / 2)) 0 0 !important;
60
73
  accent-color: var(--ui-accent-solid);
61
74
  cursor: pointer;
62
75
  }
@@ -94,12 +107,7 @@
94
107
  :scope:where([data-component~="ui-radio"])[data-ui-radio-state~="size=lg"] {
95
108
  --_line: calc(var(--_font) * var(--ui-line-height-md));
96
109
  font-size: var(--_font);
97
- padding-block: calc((var(--_row) - var(--_line)) / 2);
98
- }
99
-
100
- :scope:where([data-component~="ui-radio"])[data-ui-radio-state~="size=sm"] input,
101
- :scope:where([data-component~="ui-radio"])[data-ui-radio-state~="size=lg"] input {
102
- margin-top: calc((var(--_line) - var(--_ui-radio-size, 1.125rem)) / 2 + 1px);
110
+ padding-block: max(0px, calc((var(--_row) - max(var(--_line), var(--_ui-radio-size, 1.125rem))) / 2)) !important;
103
111
  }
104
112
 
105
113
  @media (pointer: coarse) {
@@ -110,7 +118,7 @@
110
118
 
111
119
  /* A component that sets its display still honours the hidden attribute on its root. */
112
120
  :scope:where([data-component~="ui-radio"])[hidden] {
113
- display: none;
121
+ display: none !important;
114
122
  }
115
123
  }
116
124
  @scope ([data-component~="ui-radio"]) to ([data-component]) {
@@ -22,15 +22,15 @@
22
22
  --_reel-item-width: max-content;
23
23
  /* Sizes its children from its own box: one row of columns, each the item width, that never
24
24
  shrinks to fit, so the reel scrolls once they overflow. */
25
- display: grid;
25
+ display: grid !important;
26
26
  grid-auto-flow: column;
27
27
  grid-auto-columns: var(--ui-reel-item-width, var(--_reel-item-width));
28
- justify-content: start;
28
+ justify-content: start !important;
29
29
  inline-size: 100%;
30
- gap: var(--ui-reel-gap, var(--_reel-gap));
30
+ gap: var(--ui-reel-gap, var(--_reel-gap)) !important;
31
31
  min-inline-size: 0;
32
32
  max-inline-size: 100%;
33
- margin: 0;
33
+ margin: 0 !important;
34
34
  overflow-x: auto;
35
35
  overflow-y: hidden;
36
36
  overscroll-behavior-inline: contain;
@@ -90,7 +90,7 @@
90
90
 
91
91
  /* A component that sets its display still honours the hidden attribute on its root. */
92
92
  :scope:where([data-component~="ui-reel"])[hidden] {
93
- display: none;
93
+ display: none !important;
94
94
  }
95
95
  }
96
96
  @scope ([data-component~="ui-reel"]) to ([data-component]) {
@@ -15,8 +15,8 @@
15
15
  }
16
16
 
17
17
  :scope:where([data-component~="ui-scroll-area"]) {
18
- display: block;
19
- box-sizing: border-box;
18
+ display: block !important;
19
+ box-sizing: border-box !important;
20
20
  min-block-size: 0;
21
21
  min-inline-size: 0;
22
22
  overflow-x: hidden;
@@ -35,7 +35,7 @@
35
35
  }
36
36
 
37
37
  .content {
38
- display: flow-root;
38
+ display: flow-root !important;
39
39
  }
40
40
 
41
41
  /* Trim projected edges without changing spacing inside an item. */
@@ -61,21 +61,21 @@
61
61
  }
62
62
 
63
63
  :scope:where([data-component~="ui-scroll-area"])[data-ui-scroll-area-state~="padding=xs"] {
64
- padding: var(--ui-space-2);
64
+ padding: var(--ui-space-2) !important;
65
65
  }
66
66
  :scope:where([data-component~="ui-scroll-area"])[data-ui-scroll-area-state~="padding=sm"] {
67
- padding: var(--ui-space-3);
67
+ padding: var(--ui-space-3) !important;
68
68
  }
69
69
  :scope:where([data-component~="ui-scroll-area"])[data-ui-scroll-area-state~="padding=md"] {
70
- padding: var(--ui-space-5);
70
+ padding: var(--ui-space-5) !important;
71
71
  }
72
72
  :scope:where([data-component~="ui-scroll-area"])[data-ui-scroll-area-state~="padding=lg"] {
73
- padding: var(--ui-space-6);
73
+ padding: var(--ui-space-6) !important;
74
74
  }
75
75
 
76
76
  /* A component that sets its display still honours the hidden attribute on its root. */
77
77
  :scope:where([data-component~="ui-scroll-area"])[hidden] {
78
- display: none;
78
+ display: none !important;
79
79
  }
80
80
  }
81
81
  @scope ([data-component~="ui-scroll-area"]) to ([data-component]) {
@@ -85,11 +85,11 @@
85
85
 
86
86
  /* Trim projected edges without changing spacing inside an item. */
87
87
  :scope:where([data-component~="ui-scroll-area"])[data-ui-scroll-area-state~="trim"] .content > :where([data-slotted], [data-slotted] *):is(:first-child) {
88
- margin-block-start: 0;
88
+ margin-block-start: 0 !important;
89
89
  }
90
90
 
91
91
  :scope:where([data-component~="ui-scroll-area"])[data-ui-scroll-area-state~="trim"] .content > :where([data-slotted], [data-slotted] *):is(:last-child) {
92
- margin-block-end: 0;
92
+ margin-block-end: 0 !important;
93
93
  }
94
94
 
95
95
  /* A component that sets its display still honours the hidden attribute on its root. */
@@ -45,12 +45,12 @@
45
45
  appearance: none;
46
46
  inline-size: 100%;
47
47
  min-block-size: var(--ui-search-result-row-min-height, 56px);
48
- margin: 0;
49
- padding-block: var(--ui-search-result-row-padding-block, var(--ui-space-3));
50
- padding-inline: var(--ui-search-result-row-padding-inline, var(--ui-space-4));
51
- display: flex;
52
- align-items: flex-start;
53
- gap: var(--ui-search-result-row-gap, var(--ui-space-3));
48
+ margin: 0 !important;
49
+ padding-block: var(--ui-search-result-row-padding-block, var(--ui-space-3)) !important;
50
+ padding-inline: var(--ui-search-result-row-padding-inline, var(--ui-space-4)) !important;
51
+ display: flex !important;
52
+ align-items: flex-start !important;
53
+ gap: var(--ui-search-result-row-gap, var(--ui-space-3)) !important;
54
54
  background: var(--ui-search-result-row-surface, transparent);
55
55
  border: var(--ui-border-width) solid var(--ui-search-result-row-border, transparent);
56
56
  border-radius: var(--ui-selection-radius);
@@ -62,10 +62,10 @@
62
62
 
63
63
  :scope:where([data-component~="ui-search-result-row"])[data-ui-search-result-row-state~="density=compact"] {
64
64
  min-block-size: var(--ui-search-result-row-min-height, 3.125rem);
65
- padding-block: var(--ui-search-result-row-padding-block, var(--ui-space-1));
66
- padding-inline: var(--ui-search-result-row-padding-inline, var(--ui-space-2));
67
- gap: var(--ui-search-result-row-gap, var(--ui-space-2));
68
- align-items: center;
65
+ padding-block: var(--ui-search-result-row-padding-block, var(--ui-space-1)) !important;
66
+ padding-inline: var(--ui-search-result-row-padding-inline, var(--ui-space-2)) !important;
67
+ gap: var(--ui-search-result-row-gap, var(--ui-space-2)) !important;
68
+ align-items: center !important;
69
69
  font-family: var(--ui-font-family-sans, sans-serif);
70
70
  }
71
71
 
@@ -105,22 +105,22 @@
105
105
 
106
106
  .leading,
107
107
  .trailing {
108
- display: inline-flex;
109
- align-items: flex-start;
108
+ display: inline-flex !important;
109
+ align-items: flex-start !important;
110
110
  flex-shrink: 0;
111
111
  }
112
112
 
113
113
  .content {
114
114
  min-inline-size: 0;
115
115
  flex: 1;
116
- display: flex;
117
- flex-direction: column;
116
+ display: flex !important;
117
+ flex-direction: column !important;
118
118
  }
119
119
 
120
120
  .title,
121
121
  .meta,
122
122
  .excerpt {
123
- display: block;
123
+ display: block !important;
124
124
  min-inline-size: 0;
125
125
  }
126
126
 
@@ -129,7 +129,7 @@
129
129
  .meta:empty,
130
130
  .excerpt:empty,
131
131
  .trailing:empty {
132
- display: none;
132
+ display: none !important;
133
133
  }
134
134
 
135
135
  @media (forced-colors: active) {
@@ -141,7 +141,7 @@
141
141
 
142
142
  /* A component that sets its display still honours the hidden attribute on its root. */
143
143
  :scope:where([data-component~="ui-search-result-row"])[hidden] {
144
- display: none;
144
+ display: none !important;
145
145
  }
146
146
  }
147
147
  @scope ([data-component~="ui-search-result-row"]) to ([data-component]) {
@@ -154,8 +154,8 @@
154
154
  :where([data-slotted], [data-slotted] *):is([slot="title"]),
155
155
  :where([data-slotted], [data-slotted] *):is([slot="meta"]),
156
156
  :where([data-slotted], [data-slotted] *):is([slot="excerpt"]) {
157
- display: block;
158
- margin: 0;
157
+ display: block !important;
158
+ margin: 0 !important;
159
159
  }
160
160
 
161
161
  @media (forced-colors: active) {
@@ -62,21 +62,21 @@
62
62
  --_ui-search-shell-shadow: var(--ui-search-shell-shadow);
63
63
  --_ui-search-shell-focus-color: var(--ui-search-shell-focus-color);
64
64
 
65
- display: contents;
65
+ display: contents !important;
66
66
  }
67
67
 
68
68
  dialog {
69
69
  position: fixed;
70
70
  inset: 0;
71
71
  z-index: var(--_ui-search-shell-z-index, 400);
72
- box-sizing: border-box;
72
+ box-sizing: border-box !important;
73
73
  inline-size: 100%;
74
74
  max-inline-size: none;
75
75
  block-size: 100%;
76
76
  max-block-size: none;
77
- margin: 0;
77
+ margin: 0 !important;
78
78
  padding: var(--_ui-search-shell-padding-top, 10vh) var(--_ui-search-shell-viewport-gap, var(--ui-space-4))
79
- var(--_ui-search-shell-viewport-gap, var(--ui-space-4));
79
+ var(--_ui-search-shell-viewport-gap, var(--ui-space-4)) !important;
80
80
  overflow: auto;
81
81
  border: 0;
82
82
  background: var(--ui-overlay-backdrop);
@@ -97,11 +97,11 @@
97
97
 
98
98
  .panel {
99
99
  position: relative;
100
- display: flex;
101
- flex-direction: column;
100
+ display: flex !important;
101
+ flex-direction: column !important;
102
102
  inline-size: min(100%, var(--_ui-search-shell-max-width, 40rem));
103
103
  max-block-size: var(--_ui-search-shell-max-height, 80vh);
104
- margin-inline: auto;
104
+ margin-inline: auto !important;
105
105
  overflow: hidden;
106
106
  background: var(--_ui-search-shell-surface, var(--ui-overlay-surface, var(--ui-surface-elevated)));
107
107
  border: var(--ui-border-width) solid var(--_ui-search-shell-border, var(--ui-overlay-border, var(--ui-border-strong)));
@@ -110,41 +110,41 @@
110
110
  }
111
111
 
112
112
  .search {
113
- padding: var(--ui-space-3);
113
+ padding: var(--ui-space-3) !important;
114
114
  }
115
115
 
116
116
  .status,
117
117
  .actions {
118
118
  flex-shrink: 0;
119
- padding: var(--ui-space-2) var(--ui-space-4);
119
+ padding: var(--ui-space-2) var(--ui-space-4) !important;
120
120
  color: var(--ui-text-secondary);
121
121
  font-size: var(--ui-font-size-sm);
122
122
  }
123
123
 
124
124
  .status {
125
- padding-block-start: 0;
125
+ padding-block-start: 0 !important;
126
126
  }
127
127
 
128
128
  /* Laid out like the dialog's action row: actions right-aligned, spaced as buttons, no fill. */
129
129
  .actions {
130
- display: flex;
131
- flex-wrap: wrap;
132
- align-items: center;
133
- justify-content: flex-end;
134
- gap: var(--ui-space-2);
135
- padding: var(--ui-space-3) var(--ui-space-4);
130
+ display: flex !important;
131
+ flex-wrap: wrap !important;
132
+ align-items: center !important;
133
+ justify-content: flex-end !important;
134
+ gap: var(--ui-space-2) !important;
135
+ padding: var(--ui-space-3) var(--ui-space-4) !important;
136
136
  }
137
137
 
138
138
  .status:empty,
139
139
  .actions:empty {
140
- display: none;
140
+ display: none !important;
141
141
  }
142
142
 
143
143
  .body {
144
144
  flex: 1;
145
145
  min-block-size: 0;
146
146
  overflow: auto;
147
- padding: var(--ui-space-2);
147
+ padding: var(--ui-space-2) !important;
148
148
  /* Each edge that hides content fades: the scroll fade every Looma scroller uses (see ui-scroll-area). */
149
149
  --_ui-scroll-fade-direction: to bottom;
150
150
  --_ui-scroll-fade-size: var(--ui-scroll-fade-size, 24px);
@@ -166,7 +166,7 @@
166
166
 
167
167
  @media (max-width: 47.9375rem) {
168
168
  dialog {
169
- padding: 0;
169
+ padding: 0 !important;
170
170
  }
171
171
 
172
172
  .panel {
@@ -180,17 +180,17 @@
180
180
 
181
181
  /* A component that sets its display still honours the hidden attribute on its root. */
182
182
  :scope:where([data-component~="ui-search-shell"])[hidden] {
183
- display: none;
183
+ display: none !important;
184
184
  }
185
185
  }
186
186
  @scope ([data-component~="ui-search-shell"]) to ([data-component]) {
187
187
  /* This component's hooks style the element they are set on, and never a nested one. */
188
188
 
189
189
  :where([data-slotted], [data-slotted] *):is(input[slot="search"]) {
190
- box-sizing: border-box;
190
+ box-sizing: border-box !important;
191
191
  inline-size: 100%;
192
192
  min-block-size: var(--ui-control-min-block-size);
193
- padding: var(--ui-space-2) var(--ui-space-3);
193
+ padding: var(--ui-space-2) var(--ui-space-3) !important;
194
194
  border: var(--ui-border-width) solid var(--ui-control-border);
195
195
  border-radius: var(--ui-field-radius, var(--ui-radius-md));
196
196
  background: var(--ui-control-surface);
@@ -10,9 +10,9 @@
10
10
  /* A part of a view: a heading, an optional line under it, actions for the whole section at its
11
11
  end, and the content. Sections space themselves out through the Stack around them. */
12
12
  :scope:where([data-component~="ui-section"]) {
13
- display: flex;
14
- flex-direction: column;
15
- gap: var(--ui-space-4);
13
+ display: flex !important;
14
+ flex-direction: column !important;
15
+ gap: var(--ui-space-4) !important;
16
16
  min-inline-size: 0;
17
17
  }
18
18
 
@@ -20,14 +20,14 @@
20
20
  --_ui-selection-context-surface: initial;
21
21
  --_ui-selection-context-border: initial;
22
22
  --_ui-selection-context-text: initial;
23
- padding: var(--ui-space-5);
23
+ padding: var(--ui-space-5) !important;
24
24
  border: var(--ui-border-width) solid var(--ui-border-strong);
25
25
  border-radius: var(--ui-radius-lg);
26
26
  background: var(--ui-surface-raised);
27
27
  }
28
28
 
29
29
  :scope:where([data-component~="ui-section"])[data-ui-section-state~="variant=divided"] {
30
- padding-block-start: var(--ui-space-6);
30
+ padding-block-start: var(--ui-space-6) !important;
31
31
  border-block-start: var(--ui-border-width) solid var(--ui-border-divider);
32
32
  }
33
33
 
@@ -50,23 +50,24 @@
50
50
  }
51
51
 
52
52
  .head {
53
- display: flex;
54
- flex-wrap: wrap;
55
- align-items: flex-start;
56
- justify-content: space-between;
57
- gap: var(--ui-space-2) var(--ui-space-4);
53
+ display: flex !important;
54
+ flex-wrap: wrap !important;
55
+ align-items: flex-start !important;
56
+ justify-content: space-between !important;
57
+ gap: var(--ui-space-2) var(--ui-space-4) !important;
58
58
  }
59
59
 
60
60
  .copy {
61
- display: flex;
61
+ display: flex !important;
62
62
  flex: 1 1 16rem;
63
- flex-direction: column;
64
- gap: var(--ui-space-1);
63
+ flex-direction: column !important;
64
+ gap: var(--ui-space-1) !important;
65
65
  min-inline-size: 0;
66
66
  }
67
67
 
68
68
  .heading {
69
- margin: 0;
69
+ font-family: var(--ui-font-display, inherit);
70
+ margin: 0 !important;
70
71
  color: var(--ui-text-primary);
71
72
  font-size: var(--ui-font-size-lg);
72
73
  font-weight: var(--ui-font-semibold);
@@ -84,30 +85,30 @@
84
85
  }
85
86
 
86
87
  .actions {
87
- display: inline-flex;
88
- flex-wrap: wrap;
89
- gap: var(--ui-space-2);
88
+ display: inline-flex !important;
89
+ flex-wrap: wrap !important;
90
+ gap: var(--ui-space-2) !important;
90
91
  }
91
92
 
92
93
  .body {
93
- display: flex;
94
- flex-direction: column;
95
- gap: var(--ui-space-4);
94
+ display: flex !important;
95
+ flex-direction: column !important;
96
+ gap: var(--ui-space-4) !important;
96
97
  min-inline-size: 0;
97
98
  }
98
99
 
99
100
  .description:empty,
100
101
  .actions:empty {
101
- display: none;
102
+ display: none !important;
102
103
  }
103
104
 
104
105
  .head:has(.heading[hidden]):has(.description:empty):has(.actions:empty) {
105
- display: none;
106
+ display: none !important;
106
107
  }
107
108
 
108
109
  /* A component that sets its display still honours the hidden attribute on its root. */
109
110
  :scope:where([data-component~="ui-section"])[hidden] {
110
- display: none;
111
+ display: none !important;
111
112
  }
112
113
  }
113
114
  @scope ([data-component~="ui-section"]) to ([data-component]) {
@@ -50,13 +50,13 @@
50
50
  }
51
51
 
52
52
  :scope:where([data-component~="ui-select"]) {
53
- box-sizing: border-box;
54
- display: inline-block;
53
+ box-sizing: border-box !important;
54
+ display: inline-block !important;
55
55
  inline-size: var(--ui-select-inline-size, 100%);
56
56
  min-inline-size: 0;
57
57
  min-block-size: var(--ui-control-size-md);
58
- margin: 0;
59
- padding: var(--ui-space-2) var(--ui-space-3);
58
+ margin: 0 !important;
59
+ padding: var(--ui-control-inset-block-md, var(--ui-space-2)) var(--ui-space-3) !important;
60
60
  border: var(--ui-border-width) solid var(--ui-select-border, var(--ui-control-border, var(--ui-border-strong)));
61
61
  border-radius: var(--ui-select-radius, var(--ui-field-radius, var(--ui-radius-md)));
62
62
  background-color: var(--ui-select-surface, var(--ui-control-surface, var(--ui-surface-elevated)));
@@ -75,7 +75,7 @@
75
75
  * The root stays a native <s-lect>, so the icon is a background image rather than an element. */
76
76
  :scope:where([data-component~="ui-select"]) {
77
77
  appearance: none;
78
- padding-inline-end: calc(var(--ui-space-3) + 1.5rem);
78
+ padding-inline-end: calc(var(--ui-space-3) + 1.5rem) !important;
79
79
  background-image: var(
80
80
  --ui-select-chevron,
81
81
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235c5c58' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")
@@ -122,8 +122,8 @@
122
122
 
123
123
  :scope:where([data-component~="ui-select"])[data-ui-select-state~="size=sm"] {
124
124
  min-block-size: var(--ui-control-size-sm);
125
- padding: var(--ui-space-1) var(--ui-space-2);
126
- padding-inline-end: calc(var(--ui-space-2) + var(--ui-icon-size-sm) + var(--ui-space-1));
125
+ padding: var(--ui-control-inset-block-sm, var(--ui-space-1)) var(--ui-space-2) !important;
126
+ padding-inline-end: calc(var(--ui-space-2) + var(--ui-icon-size-sm) + var(--ui-space-1)) !important;
127
127
  background-position: right var(--ui-space-2) center;
128
128
  background-size: var(--ui-icon-size-sm) var(--ui-icon-size-sm);
129
129
  font-size: var(--ui-font-size-sm);
@@ -131,8 +131,8 @@
131
131
 
132
132
  :scope:where([data-component~="ui-select"])[data-ui-select-state~="size=lg"] {
133
133
  min-block-size: var(--ui-control-size-lg);
134
- padding: var(--ui-space-3) var(--ui-space-4);
135
- padding-inline-end: calc(var(--ui-space-4) + 1.5rem);
134
+ padding: var(--ui-control-inset-block-lg, var(--ui-space-3)) var(--ui-space-4) !important;
135
+ padding-inline-end: calc(var(--ui-space-4) + 1.5rem) !important;
136
136
  background-position: right var(--ui-space-4) center;
137
137
  font-size: var(--ui-font-size-md);
138
138
  }
@@ -152,7 +152,7 @@
152
152
 
153
153
  /* A component that sets its display still honours the hidden attribute on its root. */
154
154
  :scope:where([data-component~="ui-select"])[hidden] {
155
- display: none;
155
+ display: none !important;
156
156
  }
157
157
  }
158
158
  @scope ([data-component~="ui-select"]) to ([data-component]) {
@@ -15,9 +15,9 @@
15
15
 
16
16
  /* The root is the hr, so the rules name :host; a bare hr matches only a descendant. */
17
17
  :scope:where([data-component~="ui-separator"]) {
18
- box-sizing: border-box;
18
+ box-sizing: border-box !important;
19
19
  align-self: stretch;
20
- margin: 0;
20
+ margin: 0 !important;
21
21
  border: 0;
22
22
  border-block-start: var(--ui-border-width) solid var(--ui-separator-color, var(--_separator-color, var(--ui-border-divider)));
23
23
  }
@@ -35,9 +35,9 @@
35
35
  --_ui-sidebar-expanded-width: var(--_sidebar-width, var(--ui-sidebar-width, 280px));
36
36
 
37
37
  position: relative;
38
- box-sizing: border-box;
39
- display: flex;
40
- flex-direction: column;
38
+ box-sizing: border-box !important;
39
+ display: flex !important;
40
+ flex-direction: column !important;
41
41
  flex: none;
42
42
  inline-size: var(--_sidebar-width, var(--ui-sidebar-width, 280px));
43
43
  max-inline-size: 100%;
@@ -113,7 +113,7 @@
113
113
  }
114
114
 
115
115
  .resizer[hidden] {
116
- display: none;
116
+ display: none !important;
117
117
  }
118
118
 
119
119
  :scope:where([data-component~="ui-sidebar"])[data-ui-sidebar-state~="side=end"] .resizer {
@@ -165,8 +165,8 @@
165
165
  inset-block: 0;
166
166
  inset-inline-start: 0;
167
167
  inset-inline-end: auto;
168
- margin: 0;
169
- padding: 0;
168
+ margin: 0 !important;
169
+ padding: 0 !important;
170
170
  inline-size: min(var(--_sidebar-width, var(--ui-sidebar-width, 280px)), 85vw);
171
171
  max-block-size: none;
172
172
  block-size: 100dvh;
@@ -181,7 +181,7 @@
181
181
 
182
182
  /* The author display above would otherwise override the UA rule that hides a closed popover. */
183
183
  :scope:where([data-component~="ui-sidebar"])[popover]:not(:popover-open) {
184
- display: none;
184
+ display: none !important;
185
185
  transform: translateX(-100%);
186
186
  }
187
187
 
@@ -220,7 +220,7 @@
220
220
 
221
221
  /* A component that sets its display still honours the hidden attribute on its root. */
222
222
  :scope:where([data-component~="ui-sidebar"])[hidden] {
223
- display: none;
223
+ display: none !important;
224
224
  }
225
225
  }
226
226
  @scope ([data-component~="ui-sidebar"]) to ([data-component]) {
@@ -9,11 +9,11 @@
9
9
  @scope ([data-component~="ui-spinner"]) to ([data-component], [data-slotted]) {
10
10
  /* A rounded SVG arc grows and recedes over a quiet full-circle track. */
11
11
  :scope:where([data-component~="ui-spinner"]) {
12
- display: inline-flex;
12
+ display: inline-flex !important;
13
13
  flex: none;
14
- align-items: center;
15
- justify-content: center;
16
- box-sizing: border-box;
14
+ align-items: center !important;
15
+ justify-content: center !important;
16
+ box-sizing: border-box !important;
17
17
  inline-size: 1em;
18
18
  block-size: 1em;
19
19
  color: currentColor;
@@ -26,7 +26,7 @@
26
26
  }
27
27
 
28
28
  svg {
29
- display: block;
29
+ display: block !important;
30
30
  inline-size: 100%;
31
31
  block-size: 100%;
32
32
  animation: ui-spinner-rotate 2s linear infinite;
@@ -78,7 +78,7 @@
78
78
 
79
79
  /* A component that sets its display still honours the hidden attribute on its root. */
80
80
  :scope:where([data-component~="ui-spinner"])[hidden] {
81
- display: none;
81
+ display: none !important;
82
82
  }
83
83
  }
84
84
  @scope ([data-component~="ui-spinner"]) to ([data-component]) {