@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
@@ -30,7 +30,7 @@
30
30
  );
31
31
  inline-size: var(--ui-control-min-block-size);
32
32
  block-size: var(--ui-control-min-block-size);
33
- display: inline-flex;
33
+ display: inline-flex !important;
34
34
  z-index: var(--ui-floating-action-button-z-index, 100);
35
35
  }
36
36
 
@@ -38,11 +38,11 @@
38
38
  appearance: none;
39
39
  border: none;
40
40
  border-radius: var(--ui-radius-round);
41
- margin: 0;
42
- padding: 0;
43
- display: inline-flex;
44
- align-items: center;
45
- justify-content: center;
41
+ margin: 0 !important;
42
+ padding: 0 !important;
43
+ display: inline-flex !important;
44
+ align-items: center !important;
45
+ justify-content: center !important;
46
46
  background: var(--ui-accent);
47
47
  color: var(--ui-on-accent);
48
48
  box-shadow: 0 4px 12px color-mix(in srgb, var(--ui-accent) 40%, transparent);
@@ -76,13 +76,13 @@
76
76
 
77
77
  @media (min-width: 768px) {
78
78
  :scope:where([data-component~="ui-floating-action-button"])[data-ui-floating-action-button-state~="mobileOnly"] {
79
- display: none;
79
+ display: none !important;
80
80
  }
81
81
  }
82
82
 
83
83
  /* A component that sets its display still honours the hidden attribute on its root. */
84
84
  :scope:where([data-component~="ui-floating-action-button"])[hidden] {
85
- display: none;
85
+ display: none !important;
86
86
  }
87
87
  }
88
88
  @scope ([data-component~="ui-floating-action-button"]) to ([data-component]) {
@@ -46,10 +46,10 @@
46
46
  --_ui-form-field-help-text: var(--ui-form-field-help-text);
47
47
  --_ui-form-field-help-font-size: var(--ui-form-field-help-font-size);
48
48
 
49
- display: grid;
50
- gap: var(--ui-space-2);
49
+ display: grid !important;
50
+ gap: var(--ui-space-2) !important;
51
51
  min-inline-size: var(--ui-form-field-min-inline-size, 0);
52
- align-content: start;
52
+ align-content: start !important;
53
53
  color: var(--ui-text-primary);
54
54
  }
55
55
 
@@ -58,7 +58,7 @@
58
58
  .label,
59
59
  .help,
60
60
  .error {
61
- display: contents;
61
+ display: contents !important;
62
62
  }
63
63
 
64
64
  .label {
@@ -70,19 +70,19 @@
70
70
  tall, centred on the first line and overflowing it. A button taller than a line of label
71
71
  text then never makes this field's label row taller than its neighbours' in a grid row. */
72
72
  .label:has(> .label-action > *) {
73
- display: flex;
74
- align-items: start;
75
- gap: var(--ui-space-1);
73
+ display: flex !important;
74
+ align-items: start !important;
75
+ gap: var(--ui-space-1) !important;
76
76
  }
77
77
 
78
78
  .label-action {
79
- display: flex;
80
- align-items: unsafe center;
79
+ display: flex !important;
80
+ align-items: unsafe center !important;
81
81
  block-size: 1lh;
82
82
  }
83
83
 
84
84
  .label-action:not(:has(> *)) {
85
- display: none;
85
+ display: none !important;
86
86
  }
87
87
 
88
88
  .help {
@@ -92,18 +92,18 @@
92
92
  }
93
93
 
94
94
  .error {
95
- display: none;
95
+ display: none !important;
96
96
  }
97
97
 
98
98
  :scope:where([data-component~="ui-form-field"])[data-ui-form-field-state~="invalid"] .error {
99
- display: contents;
99
+ display: contents !important;
100
100
  }
101
101
 
102
102
  /* An error reads in the danger colour, the one the invalid control's border takes. */
103
103
 
104
104
  /* A component that sets its display still honours the hidden attribute on its root. */
105
105
  :scope:where([data-component~="ui-form-field"])[hidden] {
106
- display: none;
106
+ display: none !important;
107
107
  }
108
108
  }
109
109
  @scope ([data-component~="ui-form-field"]) to ([data-component]) {
@@ -20,8 +20,8 @@
20
20
  :scope:where([data-component~="ui-grid"]) {
21
21
  --_grid-gap: var(--ui-space-4);
22
22
  --_grid-min: 12rem;
23
- display: grid;
24
- gap: var(--ui-grid-gap, var(--_grid-gap));
23
+ display: grid !important;
24
+ gap: var(--ui-grid-gap, var(--_grid-gap)) !important;
25
25
  grid-template-columns:
26
26
  repeat(
27
27
  auto-fit,
@@ -38,7 +38,7 @@
38
38
  );
39
39
  min-inline-size: 0;
40
40
  max-inline-size: 100%;
41
- margin: 0;
41
+ margin: 0 !important;
42
42
  }
43
43
 
44
44
  :scope:where([data-component~="ui-grid"])[data-ui-grid-state~="gap=xs"] {
@@ -65,7 +65,7 @@
65
65
 
66
66
  /* A component that sets its display still honours the hidden attribute on its root. */
67
67
  :scope:where([data-component~="ui-grid"])[hidden] {
68
- display: none;
68
+ display: none !important;
69
69
  }
70
70
  }
71
71
  @scope ([data-component~="ui-grid"]) to ([data-component]) {
@@ -100,7 +100,7 @@
100
100
  --_ui-icon-button-icon-size: var(--ui-icon-button-icon-size);
101
101
  --_ui-icon-button-icon-stroke-width: var(--ui-icon-button-icon-stroke-width);
102
102
 
103
- display: inline-flex;
103
+ display: inline-flex !important;
104
104
  color: var(--ui-text-secondary);
105
105
  }
106
106
 
@@ -188,22 +188,22 @@
188
188
  block-size: var(--ui-icon-button-size, var(--_size));
189
189
  min-inline-size: var(--ui-icon-button-size, var(--_size));
190
190
  min-block-size: var(--ui-icon-button-size, var(--_size));
191
- padding: 0;
192
- margin: 0;
191
+ padding: 0 !important;
192
+ margin: 0 !important;
193
193
  border: var(--ui-border-width) solid transparent;
194
194
  border-radius: var(--ui-icon-button-radius, var(--ui-action-radius, var(--ui-radius-md)));
195
195
  background-color: var(--ui-icon-button-surface, transparent);
196
196
  color: inherit;
197
- display: inline-flex;
198
- align-items: center;
199
- justify-content: center;
197
+ display: inline-flex !important;
198
+ align-items: center !important;
199
+ justify-content: center !important;
200
200
  cursor: pointer;
201
201
  transition:
202
202
  background-color var(--ui-motion-fast) var(--ui-motion-ease),
203
203
  border-color var(--ui-motion-fast) var(--ui-motion-ease),
204
204
  color var(--ui-motion-fast) var(--ui-motion-ease),
205
205
  box-shadow var(--ui-motion-base) var(--ui-motion-ease),
206
- scale var(--ui-motion-fast) var(--ui-motion-ease);
206
+ scale var(--ui-motion-press, var(--ui-motion-fast)) var(--ui-motion-ease);
207
207
  }
208
208
 
209
209
  @media (hover: none), (pointer: coarse) {
@@ -333,7 +333,7 @@
333
333
  }
334
334
 
335
335
  :scope:where([data-component~="ui-icon-button"]):active:enabled:not([aria-disabled="true"]) {
336
- scale: var(--ui-icon-button-active-scale, 0.96);
336
+ scale: var(--ui-icon-button-active-scale, var(--ui-press-scale, 0.96));
337
337
  }
338
338
 
339
339
  :is(:scope:where([data-component~="ui-icon-button"])[data-ui-icon-button-state~="loading"], :scope:where([data-component~="ui-icon-button"])[data-ui-icon-button-state~="pending"]) {
@@ -341,13 +341,13 @@
341
341
  }
342
342
 
343
343
  .content {
344
- display: inline-flex;
345
- align-items: center;
346
- justify-content: center;
344
+ display: inline-flex !important;
345
+ align-items: center !important;
346
+ justify-content: center !important;
347
347
  }
348
348
 
349
349
  :is(:scope:where([data-component~="ui-icon-button"])[data-ui-icon-button-state~="loading"], :scope:where([data-component~="ui-icon-button"])[data-ui-icon-button-state~="pending"]) .content {
350
- display: none;
350
+ display: none !important;
351
351
  }
352
352
 
353
353
  @media (prefers-reduced-motion: reduce) {
@@ -428,7 +428,7 @@
428
428
 
429
429
  /* A component that sets its display still honours the hidden attribute on its root. */
430
430
  :scope:where([data-component~="ui-icon-button"])[hidden] {
431
- display: none;
431
+ display: none !important;
432
432
  }
433
433
  }
434
434
  @scope ([data-component~="ui-icon-button"]) to ([data-component]) {
@@ -22,7 +22,7 @@
22
22
  sizes the icons it renders sets --_ui-default-icon-*, which the icon's own hooks override. */
23
23
  --_ui-icon-stroke-width: var(--ui-icon-stroke-width, var(--_ui-default-icon-stroke-width));
24
24
 
25
- display: inline-flex;
25
+ display: inline-flex !important;
26
26
  flex: none;
27
27
  inline-size: var(--ui-icon-size, var(--_ui-default-icon-size, 1em));
28
28
  block-size: var(--ui-icon-size, var(--_ui-default-icon-size, 1em));
@@ -44,7 +44,7 @@
44
44
 
45
45
  /* A component that sets its display still honours the hidden attribute on its root. */
46
46
  :scope:where([data-component~="ui-icon"])[hidden] {
47
- display: none;
47
+ display: none !important;
48
48
  }
49
49
  }
50
50
  @scope ([data-component~="ui-icon"]) to ([data-component]) {
@@ -8,24 +8,24 @@
8
8
  }
9
9
  @scope ([data-component~="ui-image"]) to ([data-component], [data-slotted]) {
10
10
  :scope:where([data-component~="ui-image"]) {
11
- display: flex;
12
- justify-content: flex-start;
13
- box-sizing: border-box;
11
+ display: flex !important;
12
+ justify-content: flex-start !important;
13
+ box-sizing: border-box !important;
14
14
  max-inline-size: 100%;
15
15
  min-inline-size: 0;
16
- margin: 0;
17
- padding: var(--ui-space-3) 0;
16
+ margin: 0 !important;
17
+ padding: var(--ui-space-3) 0 !important;
18
18
  }
19
19
  :scope:where([data-component~="ui-image"])[data-ui-image-state~="placement=center"] {
20
- justify-content: center;
20
+ justify-content: center !important;
21
21
  }
22
22
  :scope:where([data-component~="ui-image"])[data-ui-image-state~="placement=wrap-left"] {
23
23
  float: left;
24
- padding-inline-end: var(--ui-space-4);
24
+ padding-inline-end: var(--ui-space-4) !important;
25
25
  }
26
26
  :scope:where([data-component~="ui-image"])[data-ui-image-state~="placement=wrap-right"] {
27
27
  float: right;
28
- padding-inline-start: var(--ui-space-4);
28
+ padding-inline-start: var(--ui-space-4) !important;
29
29
  }
30
30
  :scope:where([data-component~="ui-image"]):is(:scope:where([data-component~="ui-image"])[data-ui-image-state~="placement=wrap-left"], :scope:where([data-component~="ui-image"])[data-ui-image-state~="placement=wrap-right"]) {
31
31
  inline-size: calc(var(--_ui-image-width, calc(100% / 3)) + var(--ui-space-4));
@@ -51,7 +51,7 @@
51
51
  z-index: 1;
52
52
  inline-size: 24px;
53
53
  block-size: 24px;
54
- padding: 0;
54
+ padding: 0 !important;
55
55
  border: 0;
56
56
  background: transparent;
57
57
  touch-action: none;
@@ -89,16 +89,16 @@
89
89
  cursor: nwse-resize;
90
90
  }
91
91
  .handles[hidden], :scope:where([data-component~="ui-image"])[hidden] {
92
- display: none;
92
+ display: none !important;
93
93
  }
94
94
  @media (max-width: 767px) {
95
95
  :scope:where([data-component~="ui-image"]):is(:scope:where([data-component~="ui-image"])[data-ui-image-state~="placement=wrap-left"], :scope:where([data-component~="ui-image"])[data-ui-image-state~="placement=wrap-right"]) {
96
96
  float: none;
97
97
  inline-size: 100%;
98
- padding-inline: 0;
98
+ padding-inline: 0 !important;
99
99
  }
100
100
  :scope:where([data-component~="ui-image"]):is(:scope:where([data-component~="ui-image"])[data-ui-image-state~="placement=wrap-left"], :scope:where([data-component~="ui-image"])[data-ui-image-state~="placement=wrap-right"]) .handles {
101
- display: none;
101
+ display: none !important;
102
102
  }
103
103
  }
104
104
  @media (pointer: coarse) {
@@ -142,10 +142,10 @@
142
142
  inline-size: 100%;
143
143
  }
144
144
  .frame img, .frame :where([data-slotted], [data-slotted] *):is(img) {
145
- display: block;
145
+ display: block !important;
146
146
  max-inline-size: 100%;
147
147
  block-size: auto;
148
- margin: 0;
148
+ margin: 0 !important;
149
149
  border-radius: inherit;
150
150
  }
151
151
  :scope:where([data-component~="ui-image"])[data-resizing] .frame img, :scope:where([data-component~="ui-image"])[data-resizing] .frame :where([data-slotted], [data-slotted] *):is(img) {
@@ -54,9 +54,9 @@
54
54
  --_ui-default-textarea-radius: 0;
55
55
  --_ui-default-textarea-surface: transparent;
56
56
 
57
- display: flex;
58
- align-items: stretch;
59
- box-sizing: border-box;
57
+ display: flex !important;
58
+ align-items: stretch !important;
59
+ box-sizing: border-box !important;
60
60
  inline-size: 100%;
61
61
  min-inline-size: 0;
62
62
  min-block-size: var(--ui-control-size-md);
@@ -141,16 +141,16 @@
141
141
  }
142
142
 
143
143
  .field {
144
- display: flex;
144
+ display: flex !important;
145
145
  flex: 1;
146
146
  min-inline-size: 0;
147
147
  }
148
148
 
149
149
  .affix {
150
- display: inline-flex;
150
+ display: inline-flex !important;
151
151
  flex: none;
152
- align-items: center;
153
- padding-inline: var(--ui-space-2);
152
+ align-items: center !important;
153
+ padding-inline: var(--ui-space-2) !important;
154
154
  color: var(--ui-text-muted);
155
155
  font-family: var(--ui-font-family-mono);
156
156
  font-size: var(--ui-font-size-sm);
@@ -175,7 +175,7 @@
175
175
  --_ui-default-input-padding-inline-start: var(--ui-space-2);
176
176
  }
177
177
  :scope:where([data-component~="ui-input-group"])[data-ui-input-group-state~="prefixKind=icon"] .affix:first-child {
178
- padding-inline-end: 0;
178
+ padding-inline-end: 0 !important;
179
179
  border-inline-end: 0;
180
180
  background: transparent;
181
181
  }
@@ -183,15 +183,15 @@
183
183
  /* Centred rather than padded above and below: the group is exactly a lone Input's height, so a
184
184
  small button sits inside it with the difference split evenly, and the field keeps its height. */
185
185
  .action {
186
- display: flex;
186
+ display: flex !important;
187
187
  flex: none;
188
- align-items: center;
189
- padding-inline: var(--ui-space-1);
188
+ align-items: center !important;
189
+ padding-inline: var(--ui-space-1) !important;
190
190
  }
191
191
 
192
192
  /* Multiline text owns the first row; its action remains inside the same frame below it. */
193
193
  :scope:where([data-component~="ui-input-group"])[data-ui-input-group-state~="multiline"] {
194
- display: grid;
194
+ display: grid !important;
195
195
  grid-template-columns: auto minmax(0, 1fr) auto;
196
196
  }
197
197
 
@@ -201,9 +201,9 @@
201
201
 
202
202
  :scope:where([data-component~="ui-input-group"])[data-ui-input-group-state~="multiline"] .action {
203
203
  grid-column: 1 / -1;
204
- justify-content: end;
205
- padding: var(--ui-space-2);
206
- padding-block-start: 0;
204
+ justify-content: end !important;
205
+ padding: var(--ui-space-2) !important;
206
+ padding-block-start: 0 !important;
207
207
  }
208
208
 
209
209
  /* The same textarea keeps its full resizeable box. Its text reserves the action's live width,
@@ -221,17 +221,17 @@
221
221
  grid-row: 1;
222
222
  align-self: start;
223
223
  justify-self: end;
224
- padding: var(--ui-space-2);
224
+ padding: var(--ui-space-2) !important;
225
225
  }
226
226
 
227
227
  .affix:empty,
228
228
  .action:empty {
229
- display: none;
229
+ display: none !important;
230
230
  }
231
231
 
232
232
  /* A component that sets its display still honours the hidden attribute on its root. */
233
233
  :scope:where([data-component~="ui-input-group"])[hidden] {
234
- display: none;
234
+ display: none !important;
235
235
  }
236
236
  }
237
237
  @scope ([data-component~="ui-input-group"]) to ([data-component]) {
@@ -63,15 +63,15 @@
63
63
  }
64
64
 
65
65
  :scope:where([data-component~="ui-input"]) {
66
- box-sizing: border-box;
67
- display: inline-block;
66
+ box-sizing: border-box !important;
67
+ display: inline-block !important;
68
68
  inline-size: var(--ui-input-inline-size, 100%);
69
69
  min-inline-size: 0;
70
70
  min-block-size: var(--ui-input-min-block-size, var(--_ui-default-input-min-block-size, var(--ui-control-size-md)));
71
- margin: 0;
72
- padding: var(--ui-space-2) var(--ui-space-3);
71
+ margin: 0 !important;
72
+ padding: var(--ui-control-inset-block-md, var(--ui-space-2)) var(--ui-space-3) !important;
73
73
  appearance: none;
74
- padding-inline-start: var(--_ui-default-input-padding-inline-start, var(--ui-space-3));
74
+ padding-inline-start: var(--_ui-default-input-padding-inline-start, var(--ui-space-3)) !important;
75
75
  border: var(--ui-input-border-width, var(--_ui-default-input-border-width, var(--ui-border-width))) solid
76
76
  var(--ui-input-border, var(--_ui-default-input-border, var(--ui-control-border, var(--ui-border-strong))));
77
77
  border-radius: var(--ui-input-radius, var(--_ui-default-input-radius, var(--ui-field-radius, var(--ui-radius-md))));
@@ -89,13 +89,13 @@
89
89
  /* Each size reads the hook and then an Input Group's default first, so a group, which draws the frame, can zero it. */
90
90
  :scope:where([data-component~="ui-input"])[data-ui-input-state~="size=sm"] {
91
91
  min-block-size: var(--ui-input-min-block-size, var(--_ui-default-input-min-block-size, var(--ui-control-size-sm)));
92
- padding: var(--ui-space-1) var(--ui-space-2);
92
+ padding: var(--ui-control-inset-block-sm, var(--ui-space-1)) var(--ui-space-2) !important;
93
93
  font-size: var(--ui-font-size-sm);
94
94
  }
95
95
 
96
96
  :scope:where([data-component~="ui-input"])[data-ui-input-state~="size=lg"] {
97
97
  min-block-size: var(--ui-input-min-block-size, var(--_ui-default-input-min-block-size, var(--ui-control-size-lg)));
98
- padding: var(--ui-space-3) var(--ui-space-4);
98
+ padding: var(--ui-control-inset-block-lg, var(--ui-space-3)) var(--ui-space-4) !important;
99
99
  font-size: var(--ui-font-size-md);
100
100
  }
101
101
 
@@ -182,7 +182,7 @@
182
182
 
183
183
  /* A component that sets its display still honours the hidden attribute on its root. */
184
184
  :scope:where([data-component~="ui-input"])[hidden] {
185
- display: none;
185
+ display: none !important;
186
186
  }
187
187
  }
188
188
  @scope ([data-component~="ui-input"]) to ([data-component]) {
@@ -39,22 +39,22 @@
39
39
  --_ui-list-item-icon-size: var(--ui-list-item-icon-size);
40
40
 
41
41
  position: relative;
42
- box-sizing: border-box;
43
- display: flex;
44
- align-items: center;
45
- gap: var(--ui-list-item-gap, var(--ui-space-3));
42
+ box-sizing: border-box !important;
43
+ display: flex !important;
44
+ align-items: center !important;
45
+ gap: var(--ui-list-item-gap, var(--ui-space-3)) !important;
46
46
  min-inline-size: 0;
47
47
  min-block-size: var(--_ui-list-item-min-size, var(--ui-control-size, 2.5rem));
48
- padding-block: var(--ui-list-item-padding-block, var(--_ui-list-item-padding-block, var(--ui-space-2)));
49
- padding-inline: var(--ui-list-item-padding-inline, var(--_ui-list-item-padding-inline, var(--ui-space-3)));
48
+ padding-block: var(--ui-list-item-padding-block, var(--_ui-list-item-padding-block, var(--ui-space-2))) !important;
49
+ padding-inline: var(--ui-list-item-padding-inline, var(--_ui-list-item-padding-inline, var(--ui-space-3))) !important;
50
50
  border-radius: var(--ui-selection-radius);
51
51
  color: var(--ui-text-primary);
52
52
  transition: background-color var(--ui-motion-fast) var(--ui-motion-ease), border-color var(--ui-motion-fast) var(--ui-motion-ease);
53
53
  }
54
54
 
55
55
  :scope:where([data-component~="ui-list-item"])[data-ui-list-item-state~="variant=card"] {
56
- padding-block: var(--ui-list-item-padding-block, var(--ui-space-3));
57
- padding-inline: var(--ui-list-item-padding-inline, var(--ui-space-4));
56
+ padding-block: var(--ui-list-item-padding-block, var(--ui-space-3)) !important;
57
+ padding-inline: var(--ui-list-item-padding-inline, var(--ui-space-4)) !important;
58
58
  border: var(--ui-border-width) solid var(--ui-border-strong);
59
59
  border-radius: var(--ui-radius-lg);
60
60
  background: var(--ui-surface-raised);
@@ -86,10 +86,10 @@
86
86
 
87
87
  .leading,
88
88
  .trailing {
89
- display: inline-flex;
89
+ display: inline-flex !important;
90
90
  flex: none;
91
- align-items: center;
92
- gap: var(--ui-space-2);
91
+ align-items: center !important;
92
+ gap: var(--ui-space-2) !important;
93
93
  }
94
94
 
95
95
  .leading {
@@ -116,16 +116,16 @@
116
116
  }
117
117
 
118
118
  .content {
119
- display: flex;
119
+ display: flex !important;
120
120
  flex: 1;
121
- flex-direction: column;
122
- gap: var(--ui-space-0-5, 2px);
121
+ flex-direction: column !important;
122
+ gap: var(--ui-space-0-5, 2px) !important;
123
123
  min-inline-size: 0;
124
124
  }
125
125
 
126
126
  .title,
127
127
  .description {
128
- display: block;
128
+ display: block !important;
129
129
  min-inline-size: 0;
130
130
  overflow: hidden;
131
131
  text-overflow: ellipsis;
@@ -146,7 +146,7 @@
146
146
 
147
147
  /* Keep identity and disclosure marks beside the first line, even with a long description. */
148
148
  :scope:where([data-component~="ui-list-item"])[data-ui-list-item-state~="align=title"] {
149
- align-items: flex-start;
149
+ align-items: flex-start !important;
150
150
  }
151
151
 
152
152
  :scope:where([data-component~="ui-list-item"])[data-ui-list-item-state~="align=title"] .leading,
@@ -164,7 +164,7 @@
164
164
  .leading:empty,
165
165
  .description:empty,
166
166
  .trailing:empty {
167
- display: none;
167
+ display: none !important;
168
168
  }
169
169
 
170
170
  @media (forced-colors: active) {
@@ -180,7 +180,7 @@
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-list-item"])[hidden] {
183
- display: none;
183
+ display: none !important;
184
184
  }
185
185
  }
186
186
  @scope ([data-component~="ui-list-item"]) to ([data-component]) {
@@ -23,19 +23,19 @@
23
23
  :scope:where([data-component~="ui-list"]) {
24
24
  --_list-gap: var(--ui-list-gap, var(--ui-space-1));
25
25
  --_list-min-item-width: var(--ui-list-min-item-width, 14rem);
26
- display: flex;
27
- flex-direction: column;
26
+ display: flex !important;
27
+ flex-direction: column !important;
28
28
  inline-size: 100%;
29
- gap: var(--_list-gap);
29
+ gap: var(--_list-gap) !important;
30
30
  min-inline-size: 0;
31
- margin: 0;
32
- padding: 0;
31
+ margin: 0 !important;
32
+ padding: 0 !important;
33
33
  list-style: none;
34
34
  }
35
35
 
36
36
  :scope:where([data-component~="ui-list"])[data-ui-list-state~="as=ol"],
37
37
  :scope:where([data-component~="ui-list"])[data-ui-list-state~="markers=disc"] {
38
- padding-inline-start: var(--ui-space-5);
38
+ padding-inline-start: var(--ui-space-5) !important;
39
39
  }
40
40
 
41
41
  :scope:where([data-component~="ui-list"])[data-ui-list-state~="as=ol"] {
@@ -59,13 +59,13 @@
59
59
 
60
60
  :scope:where([data-component~="ui-list"])[data-ui-list-state~="layout=grid"] {
61
61
  --_list-gap: var(--ui-list-gap, var(--ui-space-3));
62
- display: grid;
62
+ display: grid !important;
63
63
  grid-template-columns: repeat(auto-fill, minmax(min(100%, var(--_list-min-item-width)), 1fr));
64
64
  }
65
65
 
66
66
  /* A component that sets its display still honours the hidden attribute on its root. */
67
67
  :scope:where([data-component~="ui-list"])[hidden] {
68
- display: none;
68
+ display: none !important;
69
69
  }
70
70
  }
71
71
  @scope ([data-component~="ui-list"]) to ([data-component]) {
@@ -76,16 +76,16 @@
76
76
  markers. */
77
77
 
78
78
  :scope:where([data-component~="ui-list"]) > :where([data-slotted], [data-slotted] *):is(li) {
79
- box-sizing: border-box;
79
+ box-sizing: border-box !important;
80
80
  min-inline-size: 0;
81
- padding: var(--_ui-list-native-padding-block, var(--ui-space-2)) var(--_ui-list-native-padding-inline, var(--ui-space-3));
81
+ padding: var(--_ui-list-native-padding-block, var(--ui-space-2)) var(--_ui-list-native-padding-inline, var(--ui-space-3)) !important;
82
82
  border-radius: var(--ui-radius-md);
83
83
  color: var(--ui-text-primary);
84
84
  list-style: inherit;
85
85
  }
86
86
 
87
87
  :scope:where([data-component~="ui-list"]) > :where([data-slotted], [data-slotted] *):is(li.card) {
88
- padding: var(--_ui-list-native-padding-block, var(--ui-space-3)) var(--_ui-list-native-padding-inline, var(--ui-space-4));
88
+ padding: var(--_ui-list-native-padding-block, var(--ui-space-3)) var(--_ui-list-native-padding-inline, var(--ui-space-4)) !important;
89
89
  border: var(--ui-border-width) solid var(--ui-border-strong);
90
90
  border-radius: var(--ui-radius-lg);
91
91
  background: var(--ui-surface-raised);