@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
@@ -8,21 +8,21 @@
8
8
  }
9
9
  @scope ([data-component~="ui-editor-slash-menu-group"]) to ([data-component], [data-slotted]) {
10
10
  :scope:where([data-component~="ui-editor-slash-menu-group"]) {
11
- display: block;
11
+ display: block !important;
12
12
  list-style: none;
13
13
  }
14
14
  .heading {
15
- padding: var(--ui-space-2) var(--ui-space-3) var(--ui-space-1);
15
+ padding: var(--ui-space-2) var(--ui-space-3) var(--ui-space-1) !important;
16
16
  color: var(--ui-text-muted);
17
17
  font-size: var(--ui-font-size-xs);
18
18
  font-weight: var(--ui-font-semibold);
19
19
  }
20
20
  ul {
21
- margin: 0;
22
- padding: 0;
21
+ margin: 0 !important;
22
+ padding: 0 !important;
23
23
  list-style: none;
24
24
  }
25
25
  :scope:where([data-component~="ui-editor-slash-menu-group"])[hidden] {
26
- display: none;
26
+ display: none !important;
27
27
  }
28
28
  }
@@ -8,11 +8,11 @@
8
8
  }
9
9
  @scope ([data-component~="ui-editor-slash-menu-item"]) to ([data-component], [data-slotted]) {
10
10
  :scope:where([data-component~="ui-editor-slash-menu-item"]) {
11
- display: flex;
12
- align-items: center;
13
- gap: var(--ui-space-3);
11
+ display: flex !important;
12
+ align-items: center !important;
13
+ gap: var(--ui-space-3) !important;
14
14
  min-block-size: 44px;
15
- padding: var(--ui-space-2) var(--ui-space-3);
15
+ padding: var(--ui-space-2) var(--ui-space-3) !important;
16
16
  cursor: pointer;
17
17
  list-style: none;
18
18
  }
@@ -31,9 +31,9 @@
31
31
  }
32
32
 
33
33
  .icon {
34
- display: flex;
35
- align-items: center;
36
- justify-content: center;
34
+ display: flex !important;
35
+ align-items: center !important;
36
+ justify-content: center !important;
37
37
  inline-size: 32px;
38
38
  block-size: 32px;
39
39
  flex: 0 0 auto;
@@ -48,10 +48,10 @@
48
48
  }
49
49
 
50
50
  .body {
51
- display: flex;
51
+ display: flex !important;
52
52
  min-inline-size: 0;
53
- flex-direction: column;
54
- gap: 1px;
53
+ flex-direction: column !important;
54
+ gap: 1px !important;
55
55
  }
56
56
  .title, .description {
57
57
  overflow: hidden;
@@ -69,6 +69,6 @@
69
69
  }
70
70
 
71
71
  :scope:where([data-component~="ui-editor-slash-menu-item"])[hidden] {
72
- display: none;
72
+ display: none !important;
73
73
  }
74
74
  }
@@ -10,7 +10,7 @@
10
10
  :scope:where([data-component~="ui-editor-slash-menu"])[popover] {
11
11
  position: fixed;
12
12
  inset: auto;
13
- margin: 0;
13
+ margin: 0 !important;
14
14
  }
15
15
 
16
16
  :scope:where([data-component~="ui-editor-slash-menu"]) {
@@ -23,8 +23,8 @@
23
23
  border-radius: var(--ui-radius-dialog);
24
24
  box-shadow: var(--ui-shadow-lg, 0 8px 24px rgb(0 0 0 / 0.12));
25
25
  overflow: hidden;
26
- display: flex;
27
- flex-direction: column;
26
+ display: flex !important;
27
+ flex-direction: column !important;
28
28
  }
29
29
 
30
30
  @media (max-width: 767px) {
@@ -35,10 +35,10 @@
35
35
  }
36
36
 
37
37
  .header {
38
- display: none;
39
- align-items: center;
40
- gap: var(--ui-space-2);
41
- padding: var(--ui-space-3) var(--ui-space-4);
38
+ display: none !important;
39
+ align-items: center !important;
40
+ gap: var(--ui-space-2) !important;
41
+ padding: var(--ui-space-3) var(--ui-space-4) !important;
42
42
  border-bottom: var(--ui-border-width) solid var(--ui-border-divider);
43
43
  font-size: var(--ui-font-size-xs);
44
44
  color: var(--ui-text-muted);
@@ -48,25 +48,25 @@
48
48
  }
49
49
 
50
50
  :scope:where([data-component~="ui-editor-slash-menu"]) > .header:empty, :scope:where([data-component~="ui-editor-slash-menu"]) > .footer:empty, :scope:where([data-component~="ui-editor-slash-menu"]) > .empty:empty {
51
- display: none;
51
+ display: none !important;
52
52
  }
53
53
 
54
54
  .empty {
55
- padding: var(--ui-space-3);
55
+ padding: var(--ui-space-3) !important;
56
56
  color: var(--ui-text-muted);
57
57
  font-size: var(--ui-font-size-sm);
58
58
  }
59
59
 
60
60
  @media (max-width: 767px) {
61
61
  .header {
62
- display: flex;
62
+ display: flex !important;
63
63
  }
64
64
  }
65
65
 
66
66
  .list {
67
67
  list-style: none;
68
- margin: 0;
69
- padding: var(--ui-space-1) 0;
68
+ margin: 0 !important;
69
+ padding: var(--ui-space-1) 0 !important;
70
70
  overflow-y: auto;
71
71
  max-height: 280px;
72
72
  overscroll-behavior: contain;
@@ -92,15 +92,15 @@
92
92
  @media (max-width: 767px) {
93
93
  .list {
94
94
  max-height: calc(60dvh - 80px);
95
- padding: var(--ui-space-1) 0 var(--ui-space-2);
95
+ padding: var(--ui-space-1) 0 var(--ui-space-2) !important;
96
96
  }
97
97
  }
98
98
 
99
99
  .item {
100
- display: flex;
101
- align-items: center;
102
- gap: var(--ui-space-3);
103
- padding: var(--ui-space-2) var(--ui-space-3);
100
+ display: flex !important;
101
+ align-items: center !important;
102
+ gap: var(--ui-space-3) !important;
103
+ padding: var(--ui-space-2) var(--ui-space-3) !important;
104
104
  min-height: 44px;
105
105
  cursor: pointer;
106
106
  transition: background-color 120ms ease;
@@ -111,9 +111,9 @@
111
111
  }
112
112
 
113
113
  .icon {
114
- display: flex;
115
- align-items: center;
116
- justify-content: center;
114
+ display: flex !important;
115
+ align-items: center !important;
116
+ justify-content: center !important;
117
117
  width: 32px;
118
118
  height: 32px;
119
119
  background: var(--ui-surface-hover);
@@ -139,10 +139,10 @@
139
139
  }
140
140
 
141
141
  .body {
142
- display: flex;
142
+ display: flex !important;
143
143
  min-width: 0;
144
- flex-direction: column;
145
- gap: 1px;
144
+ flex-direction: column !important;
145
+ gap: 1px !important;
146
146
  }
147
147
 
148
148
  .title {
@@ -163,27 +163,27 @@
163
163
  }
164
164
 
165
165
  .footer {
166
- padding: var(--ui-space-2) var(--ui-space-3);
166
+ padding: var(--ui-space-2) var(--ui-space-3) !important;
167
167
  border-top: var(--ui-border-width) solid var(--ui-border-divider);
168
168
  font-size: var(--ui-font-size-xs);
169
169
  color: var(--ui-text-muted);
170
170
  }
171
171
 
172
172
  :scope:where([data-component~="ui-editor-slash-menu"]) kbd {
173
- display: inline-flex;
174
- align-items: center;
175
- justify-content: center;
173
+ display: inline-flex !important;
174
+ align-items: center !important;
175
+ justify-content: center !important;
176
176
  font-family: var(--ui-font-family-mono, ui-monospace, monospace);
177
177
  font-size: var(--ui-font-size-2xs);
178
178
  background: var(--ui-surface-hover);
179
179
  border: var(--ui-border-width) solid var(--ui-border);
180
180
  border-radius: var(--ui-radius-sm);
181
- padding: 0 3px;
181
+ padding: 0 3px !important;
182
182
  color: var(--ui-text-secondary);
183
183
  }
184
184
 
185
185
  :scope:where([data-component~="ui-editor-slash-menu"])[hidden] {
186
- display: none;
186
+ display: none !important;
187
187
  }
188
188
  }
189
189
  @scope ([data-component~="ui-editor-slash-menu"]) to ([data-component]) {
@@ -8,8 +8,8 @@
8
8
  }
9
9
  @scope ([data-component~="ui-editor-surface"]) to ([data-component], [data-slotted]) {
10
10
  :scope:where([data-component~="ui-editor-surface"]) {
11
- display: flex;
12
- flex-direction: column;
11
+ display: flex !important;
12
+ flex-direction: column !important;
13
13
  min-inline-size: 0;
14
14
  max-inline-size: 100%;
15
15
  }
@@ -10,42 +10,42 @@
10
10
  :scope:where([data-component~="ui-editor-table-context-menu"])[popover] {
11
11
  position: fixed;
12
12
  inset: auto;
13
- margin: 0;
13
+ margin: 0 !important;
14
14
  }
15
15
 
16
16
  :scope:where([data-component~="ui-editor-table-context-menu"]) {
17
17
  /* The max-width is a promise about the menu's footprint, so it counts padding and border. */
18
- box-sizing: border-box;
18
+ box-sizing: border-box !important;
19
19
  min-width: min(14rem, calc(100vw - 24px));
20
20
  max-width: min(17rem, calc(100vw - 24px));
21
21
  max-height: min(28rem, calc(100vh - 24px));
22
- padding: var(--ui-space-2);
22
+ padding: var(--ui-space-2) !important;
23
23
  background: var(--ui-surface);
24
24
  border: var(--ui-border-width) solid var(--ui-border-strong);
25
25
  border-radius: var(--ui-radius-lg);
26
26
  box-shadow: var(--ui-shadow-lg, 0 10px 15px -3px rgb(0 0 0 / 0.1));
27
- display: flex;
28
- flex-direction: column;
29
- gap: 2px;
27
+ display: flex !important;
28
+ flex-direction: column !important;
29
+ gap: 2px !important;
30
30
  overflow-y: auto;
31
31
  overscroll-behavior: contain;
32
32
  scrollbar-width: thin;
33
33
  }
34
34
 
35
35
  .section {
36
- display: flex;
37
- flex-direction: column;
38
- gap: 3px;
36
+ display: flex !important;
37
+ flex-direction: column !important;
38
+ gap: 3px !important;
39
39
  }
40
40
 
41
41
  :scope:where([data-component~="ui-editor-table-context-menu"]) button {
42
- display: flex;
43
- align-items: center;
44
- gap: var(--ui-space-2);
42
+ display: flex !important;
43
+ align-items: center !important;
44
+ gap: var(--ui-space-2) !important;
45
45
  width: 100%;
46
46
  text-align: left;
47
47
  min-height: 32px;
48
- padding: var(--ui-space-2) var(--ui-space-2);
48
+ padding: var(--ui-space-2) var(--ui-space-2) !important;
49
49
  border: none;
50
50
  border-radius: var(--ui-radius-sm);
51
51
  background: none;
@@ -73,24 +73,24 @@
73
73
 
74
74
  /* Swatches wrap like words: the row asks for the menu's full width, and a narrower menu fits fewer. */
75
75
  .swatches {
76
- display: flex;
77
- flex-wrap: wrap;
78
- gap: 3px;
76
+ display: flex !important;
77
+ flex-wrap: wrap !important;
78
+ gap: 3px !important;
79
79
  }
80
80
 
81
81
  /* Three to a row at the menu's full width; 5rem keeps the longest label, "Default", whole. */
82
82
  :scope:where([data-component~="ui-editor-table-context-menu"]) .swatch-button {
83
- display: inline-flex;
84
- align-items: center;
85
- gap: var(--ui-space-2);
83
+ display: inline-flex !important;
84
+ align-items: center !important;
85
+ gap: var(--ui-space-2) !important;
86
86
  flex: 1 0 5rem;
87
87
  min-width: 5rem;
88
88
  max-width: calc((100% - 6px) / 3);
89
- padding-inline-end: var(--ui-space-1);
89
+ padding-inline-end: var(--ui-space-1) !important;
90
90
  }
91
91
 
92
92
  .swatch {
93
- display: inline-flex;
93
+ display: inline-flex !important;
94
94
  width: 1rem;
95
95
  height: 1rem;
96
96
  border-radius: var(--ui-radius-round);
@@ -119,7 +119,7 @@
119
119
  }
120
120
 
121
121
  .heading {
122
- padding: var(--ui-space-1) var(--ui-space-2);
122
+ padding: var(--ui-space-1) var(--ui-space-2) !important;
123
123
  font-size: var(--ui-font-size-2xs);
124
124
  font-weight: 700;
125
125
  letter-spacing: 0.05em;
@@ -130,16 +130,16 @@
130
130
  .sep {
131
131
  height: 1px;
132
132
  background: var(--ui-border-divider);
133
- margin: var(--ui-space-1) 0;
133
+ margin: var(--ui-space-1) 0 !important;
134
134
  }
135
135
 
136
136
  /* Separators divide sections, so none sits above the first. */
137
137
  .sep:first-child {
138
- display: none;
138
+ display: none !important;
139
139
  }
140
140
 
141
141
  :scope:where([data-component~="ui-editor-table-context-menu"])[hidden] {
142
- display: none;
142
+ display: none !important;
143
143
  }
144
144
  }
145
145
  @scope ([data-component~="ui-editor-table-context-menu"]) to ([data-component]) {
@@ -8,7 +8,7 @@
8
8
  }
9
9
  @scope ([data-component~="ui-editor-table-overlay"]) to ([data-component], [data-slotted]) {
10
10
  :scope:where([data-component~="ui-editor-table-overlay"]) {
11
- display: block;
11
+ display: block !important;
12
12
  width: 100%;
13
13
  height: 100%;
14
14
  overflow: visible;
@@ -47,12 +47,12 @@
47
47
 
48
48
  .handle {
49
49
  position: absolute;
50
- display: inline-flex;
51
- align-items: center;
52
- justify-content: center;
50
+ display: inline-flex !important;
51
+ align-items: center !important;
52
+ justify-content: center !important;
53
53
  width: 24px;
54
54
  height: 24px;
55
- padding: 0;
55
+ padding: 0 !important;
56
56
  border: var(--ui-border-width) solid var(--ui-affordance-near-color, var(--ui-border-strong));
57
57
  border-radius: var(--ui-radius-round);
58
58
  background: color-mix(in srgb, var(--ui-surface-elevated) 96%, transparent);
@@ -175,7 +175,7 @@
175
175
  left: 50%;
176
176
  width: max-content;
177
177
  max-width: 14rem;
178
- padding: var(--ui-space-1) var(--ui-space-2);
178
+ padding: var(--ui-space-1) var(--ui-space-2) !important;
179
179
  border-radius: var(--ui-radius-sm);
180
180
  background: var(--ui-text-primary);
181
181
  color: var(--ui-surface-elevated);
@@ -204,10 +204,10 @@
204
204
  .cell-menu {
205
205
  position: absolute;
206
206
  z-index: 2;
207
- display: inline-flex;
208
- align-items: center;
209
- justify-content: center;
210
- padding: 0;
207
+ display: inline-flex !important;
208
+ align-items: center !important;
209
+ justify-content: center !important;
210
+ padding: 0 !important;
211
211
  border: var(--ui-border-width) solid transparent;
212
212
  background: transparent;
213
213
  color: var(--ui-text-secondary);
@@ -251,7 +251,7 @@
251
251
  }
252
252
 
253
253
  .selector .glyph {
254
- display: block;
254
+ display: block !important;
255
255
  width: 14px;
256
256
  height: 14px;
257
257
  --_ui-default-icon-size: 14px;
@@ -342,11 +342,11 @@
342
342
  }
343
343
 
344
344
  .drop-indicator[hidden] {
345
- display: none;
345
+ display: none !important;
346
346
  }
347
347
 
348
348
  :scope:where([data-component~="ui-editor-table-overlay"])[hidden] {
349
- display: none;
349
+ display: none !important;
350
350
  }
351
351
  }
352
352
  @scope ([data-component~="ui-editor-table-overlay"]) to ([data-component]) {
@@ -10,7 +10,7 @@
10
10
  .looma-editor__mobile-toolbar-shell :scope:where([data-component~="ui-editor-table-toolbar"]) {
11
11
  min-width: max-content;
12
12
  min-height: 100%;
13
- padding: 0;
13
+ padding: 0 !important;
14
14
  background: transparent;
15
15
  border: 0;
16
16
  border-radius: 0;
@@ -29,10 +29,10 @@
29
29
  }
30
30
 
31
31
  :scope:where([data-component~="ui-editor-table-toolbar"]) {
32
- display: inline-flex;
33
- align-items: center;
34
- gap: var(--ui-space-1);
35
- padding: var(--ui-space-1);
32
+ display: inline-flex !important;
33
+ align-items: center !important;
34
+ gap: var(--ui-space-1) !important;
35
+ padding: var(--ui-space-1) !important;
36
36
  background: color-mix(in srgb, var(--ui-surface) 94%, transparent);
37
37
  border: var(--ui-border-width) solid var(--ui-border-strong);
38
38
  border-radius: calc(var(--ui-radius-md) + 2 * var(--ui-border-width));
@@ -41,9 +41,9 @@
41
41
  }
42
42
 
43
43
  .group {
44
- display: inline-flex;
45
- align-items: center;
46
- gap: 2px;
44
+ display: inline-flex !important;
45
+ align-items: center !important;
46
+ gap: 2px !important;
47
47
  overflow: hidden;
48
48
  }
49
49
 
@@ -58,10 +58,10 @@
58
58
  }
59
59
 
60
60
  :scope:where([data-component~="ui-editor-table-toolbar"]) button {
61
- display: inline-flex;
62
- align-items: center;
63
- justify-content: center;
64
- gap: var(--ui-space-2);
61
+ display: inline-flex !important;
62
+ align-items: center !important;
63
+ justify-content: center !important;
64
+ gap: var(--ui-space-2) !important;
65
65
  min-height: 32px;
66
66
  border: 0;
67
67
  border-radius: var(--ui-radius-sm);
@@ -71,7 +71,7 @@
71
71
  font-size: var(--ui-font-size-sm);
72
72
  font-weight: 500;
73
73
  line-height: 1;
74
- padding: var(--ui-space-2) var(--ui-space-2);
74
+ padding: var(--ui-space-2) var(--ui-space-2) !important;
75
75
  white-space: nowrap;
76
76
  }
77
77
 
@@ -107,30 +107,30 @@
107
107
  }
108
108
 
109
109
  .chevron {
110
- display: inline-flex;
110
+ display: inline-flex !important;
111
111
  --_ui-default-icon-size: 0.875rem;
112
112
  }
113
113
 
114
114
  :scope:where([data-component~="ui-editor-table-toolbar"]) .icon-button {
115
115
  width: 32px;
116
- padding-inline: 0;
116
+ padding-inline: 0 !important;
117
117
  }
118
118
 
119
119
  .menu {
120
- box-sizing: border-box;
120
+ box-sizing: border-box !important;
121
121
  position: fixed;
122
122
  inset: auto;
123
- margin: 0;
123
+ margin: 0 !important;
124
124
  min-width: 12rem;
125
125
  max-width: min(17rem, calc(100vw - 24px));
126
- padding: var(--ui-space-1);
126
+ padding: var(--ui-space-1) !important;
127
127
  background: var(--ui-surface);
128
128
  border: var(--ui-border-width) solid var(--ui-border-strong);
129
129
  border-radius: var(--ui-radius-md);
130
130
  box-shadow: var(--ui-shadow-lg, 0 10px 15px -3px rgb(0 0 0 / 0.1));
131
- display: flex;
132
- flex-direction: column;
133
- gap: 2px;
131
+ display: flex !important;
132
+ flex-direction: column !important;
133
+ gap: 2px !important;
134
134
  z-index: 2;
135
135
  overflow-y: auto;
136
136
  overscroll-behavior: contain;
@@ -138,13 +138,13 @@
138
138
  }
139
139
 
140
140
  .menu-section + .menu-section {
141
- margin-top: var(--ui-space-1);
142
- padding-top: var(--ui-space-1);
141
+ margin-top: var(--ui-space-1) !important;
142
+ padding-top: var(--ui-space-1) !important;
143
143
  border-top: var(--ui-border-width) solid var(--ui-border-divider);
144
144
  }
145
145
 
146
146
  .menu-heading {
147
- padding: var(--ui-space-1) var(--ui-space-2);
147
+ padding: var(--ui-space-1) var(--ui-space-2) !important;
148
148
  font-size: var(--ui-font-size-2xs);
149
149
  font-weight: 700;
150
150
  letter-spacing: 0.05em;
@@ -153,21 +153,21 @@
153
153
  }
154
154
 
155
155
  .menu button {
156
- display: flex;
157
- justify-content: flex-start;
156
+ display: flex !important;
157
+ justify-content: flex-start !important;
158
158
  width: 100%;
159
159
  text-align: left;
160
160
  }
161
161
 
162
162
  .swatches {
163
- display: grid;
163
+ display: grid !important;
164
164
  grid-template-columns: repeat(2, minmax(0, 1fr));
165
- gap: 2px;
165
+ gap: 2px !important;
166
166
  }
167
167
 
168
168
  :scope:where([data-component~="ui-editor-table-toolbar"]) .swatch-button {
169
- gap: var(--ui-space-1);
170
- justify-content: flex-start;
169
+ gap: var(--ui-space-1) !important;
170
+ justify-content: flex-start !important;
171
171
  }
172
172
 
173
173
  .swatch {
@@ -190,6 +190,6 @@
190
190
  }
191
191
 
192
192
  :scope:where([data-component~="ui-editor-table-toolbar"])[hidden] {
193
- display: none;
193
+ display: none !important;
194
194
  }
195
195
  }
@@ -11,9 +11,9 @@
11
11
  position: sticky;
12
12
  top: 0;
13
13
  z-index: var(--ui-editor-toolbar-z-index, 10);
14
- display: flex;
15
- align-items: center;
16
- padding: var(--ui-editor-toolbar-padding-block, 6px) var(--ui-editor-toolbar-padding-inline, 12px);
14
+ display: flex !important;
15
+ align-items: center !important;
16
+ padding: var(--ui-editor-toolbar-padding-block, 6px) var(--ui-editor-toolbar-padding-inline, 12px) !important;
17
17
  min-height: var(--ui-editor-toolbar-min-height, 48px);
18
18
  background: var(--ui-editor-toolbar-surface, var(--ui-surface));
19
19
  border-bottom: var(--ui-border-width) solid var(--ui-editor-toolbar-border, var(--ui-border-divider));
@@ -22,11 +22,11 @@
22
22
  /* One row, always. When the controls outgrow the space, the row scrolls sideways rather than
23
23
  wrapping into several lines, and a fade at each edge that has more to show says so. */
24
24
  .strip {
25
- display: flex;
25
+ display: flex !important;
26
26
  flex: 1 1 auto;
27
- align-items: center;
28
- justify-content: flex-start;
29
- gap: var(--ui-editor-toolbar-gap, 2px);
27
+ align-items: center !important;
28
+ justify-content: flex-start !important;
29
+ gap: var(--ui-editor-toolbar-gap, 2px) !important;
30
30
  min-width: 0;
31
31
  overflow-x: auto;
32
32
  overflow-y: hidden;
@@ -35,7 +35,7 @@
35
35
  }
36
36
 
37
37
  .strip:where(:not([data-component], [data-slotted]))::-webkit-scrollbar {
38
- display: none;
38
+ display: none !important;
39
39
  }
40
40
 
41
41
  /* The edge fades are the scroll fade every Looma scroller uses (see ui-scroll-area), a mask on the
@@ -64,13 +64,13 @@
64
64
  }
65
65
 
66
66
  :scope:where([data-component~="ui-editor-toolbar"])[data-ui-editor-toolbar-state~="floating"] {
67
- box-sizing: border-box;
67
+ box-sizing: border-box !important;
68
68
  position: relative;
69
69
  top: auto;
70
70
  width: max-content;
71
71
  max-width: min(calc(100vw - 24px), 100%);
72
72
  min-height: auto;
73
- padding: var(--ui-editor-toolbar-floating-padding, 4px);
73
+ padding: var(--ui-editor-toolbar-floating-padding, 4px) !important;
74
74
  background: color-mix(in srgb, var(--ui-editor-toolbar-surface, var(--ui-surface)) 96%, transparent);
75
75
  border: var(--ui-border-width) solid var(--ui-editor-toolbar-border, var(--ui-border-strong));
76
76
  border-radius: var(--ui-editor-toolbar-floating-radius, var(--ui-radius-lg));
@@ -115,7 +115,7 @@
115
115
  width: 100%;
116
116
  max-width: none;
117
117
  min-height: 100%;
118
- padding: 0;
118
+ padding: 0 !important;
119
119
  background: transparent;
120
120
  border: 0;
121
121
  border-radius: 0;
@@ -129,7 +129,7 @@
129
129
 
130
130
  /* A component that sets its display still honours the hidden attribute on its root. */
131
131
  :scope:where([data-component~="ui-editor-toolbar"])[hidden] {
132
- display: none;
132
+ display: none !important;
133
133
  }
134
134
  }
135
135
  @scope ([data-component~="ui-editor-toolbar"]) to ([data-component]) {
@@ -148,7 +148,7 @@
148
148
  height: 20px;
149
149
  background: var(--ui-editor-toolbar-divider, var(--ui-border-divider));
150
150
  flex-shrink: 0;
151
- margin: 0 var(--ui-editor-toolbar-divider-margin, 4px);
151
+ margin: 0 var(--ui-editor-toolbar-divider-margin, 4px) !important;
152
152
  }
153
153
 
154
154
  @media (max-width: 767px) {