@threadlabs/looma 0.7.4 → 0.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. package/components/ui-avatar/ui-avatar.html +1 -1
  2. package/components/ui-avatar-group/ui-avatar-group.html +1 -1
  3. package/components/ui-button/ui-button.html +2 -2
  4. package/components/ui-combobox/ui-combobox.html +1 -1
  5. package/components/ui-editor-slash-menu/ui-editor-slash-menu.html +1 -1
  6. package/components/ui-editor-table-context-menu/ui-editor-table-context-menu.html +1 -1
  7. package/components/ui-editor-table-toolbar/ui-editor-table-toolbar.html +1 -1
  8. package/components/ui-form-field/ui-form-field.html +3 -3
  9. package/components/ui-tree-item/ui-tree-item.html +1 -1
  10. package/dist/index.js +1 -1
  11. package/editor/chunks/extensions.js +89 -38
  12. package/editor/extensions/active-block.d.ts +23 -7
  13. package/editor/extensions/index.d.ts +1 -1
  14. package/editor/extensions/index.js +2 -2
  15. package/editor/index.js +2 -2
  16. package/package.json +1 -1
  17. package/styles/ui-avatar-group.css +1 -1
  18. package/styles/ui-avatar.css +1 -1
  19. package/styles/ui-button.css +2 -2
  20. package/styles/ui-combobox.css +1 -1
  21. package/styles/ui-editor-slash-menu.css +1 -1
  22. package/styles/ui-editor-table-context-menu.css +1 -1
  23. package/styles/ui-editor-table-toolbar.css +1 -1
  24. package/styles/ui-form-field.css +3 -3
  25. package/styles/ui-tree-item.css +1 -1
  26. package/tokens.css +2 -3
  27. package/vue/UiAvatar.vue +1 -1
  28. package/vue/UiAvatarGroup.vue +1 -1
  29. package/vue/UiButton.vue +2 -2
  30. package/vue/UiCombobox.vue +1 -1
  31. package/vue/UiEditorSlashMenu.vue +1 -1
  32. package/vue/UiEditorTableContextMenu.vue +1 -1
  33. package/vue/UiEditorTableToolbar.vue +1 -1
  34. package/vue/UiFormField.vue +3 -3
  35. package/vue/UiTreeItem.vue +1 -1
  36. package/vue/chunks/UiAvatar.js +1 -1
  37. package/vue/chunks/UiAvatarGroup.js +1 -1
  38. package/vue/chunks/UiButton.js +1 -1
  39. package/vue/chunks/UiCombobox.js +1 -1
  40. package/vue/chunks/UiEditorSlashMenu.js +1 -1
  41. package/vue/chunks/UiEditorTableContextMenu.js +1 -1
  42. package/vue/chunks/UiEditorTableToolbar.js +1 -1
  43. package/vue/chunks/UiFormField.js +1 -1
  44. package/vue/chunks/UiTreeItem.js +1 -1
  45. package/vue/components.css +238 -230
@@ -25,7 +25,7 @@
25
25
  background: var(--ui-avatar-surface, var(--ui-accent-soft));
26
26
  color: var(--ui-avatar-text, var(--ui-accent-solid));
27
27
  font: inherit;
28
- font-size: 0.875rem;
28
+ font-size: var(--ui-font-size-sm);
29
29
  font-weight: 600;
30
30
  text-transform: uppercase;
31
31
  }
@@ -50,7 +50,7 @@
50
50
  var(--ui-avatar-group-overlap-shadow, var(--_overlap-shadow)),
51
51
  var(--ui-avatar-group-edge-ring, var(--_edge-ring));
52
52
  font: inherit;
53
- font-size: 0.75rem;
53
+ font-size: var(--ui-font-size-xs);
54
54
  font-weight: 600;
55
55
  flex-shrink: 0;
56
56
  }
@@ -99,13 +99,13 @@
99
99
  :host-state([size="sm"]) {
100
100
  min-block-size: var(--ui-control-size-sm);
101
101
  padding: var(--ui-space-1) var(--ui-space-2);
102
- font-size: 0.875rem;
102
+ font-size: var(--ui-font-size-sm);
103
103
  }
104
104
 
105
105
  :host-state([size="lg"]) {
106
106
  min-block-size: var(--ui-control-size-lg);
107
107
  padding: var(--ui-space-3) var(--ui-space-4);
108
- font-size: 1rem;
108
+ font-size: var(--ui-font-size-md);
109
109
  }
110
110
 
111
111
  /* A link is never :enabled, so interactive states test "not unavailable" instead: for a button that
@@ -212,7 +212,7 @@
212
212
  }
213
213
  label {
214
214
  color: var(--ui-combobox-label-text, var(--ui-text-primary));
215
- font-size: var(--ui-combobox-label-font-size, 0.875rem);
215
+ font-size: var(--ui-combobox-label-font-size, var(--ui-font-size-sm));
216
216
  font-weight: 500;
217
217
  }
218
218
  /* The field and anything that annotates it sit on one row; the help button is beside the box,
@@ -182,7 +182,7 @@
182
182
  align-items: center;
183
183
  justify-content: center;
184
184
  font-family: var(--ui-font-family-mono, ui-monospace, monospace);
185
- font-size: 10px;
185
+ font-size: var(--ui-font-size-2xs);
186
186
  background: var(--ui-surface-hover);
187
187
  border: 1px solid var(--ui-border);
188
188
  border-radius: 3px;
@@ -150,7 +150,7 @@
150
150
 
151
151
  .heading {
152
152
  padding: var(--ui-space-1) var(--ui-space-2);
153
- font-size: 0.6875rem;
153
+ font-size: var(--ui-font-size-2xs);
154
154
  font-weight: 700;
155
155
  letter-spacing: 0.05em;
156
156
  text-transform: uppercase;
@@ -224,7 +224,7 @@
224
224
 
225
225
  .menu-heading {
226
226
  padding: var(--ui-space-1) var(--ui-space-2);
227
- font-size: 0.6875rem;
227
+ font-size: var(--ui-font-size-2xs);
228
228
  font-weight: 700;
229
229
  letter-spacing: 0.05em;
230
230
  text-transform: uppercase;
@@ -29,12 +29,12 @@
29
29
 
30
30
  .label {
31
31
  color: var(--ui-text-secondary);
32
- font-size: 0.95rem;
32
+ font-size: var(--ui-font-size-sm);
33
33
  }
34
34
 
35
35
  .help {
36
36
  color: var(--ui-text-muted);
37
- font-size: 0.875rem;
37
+ font-size: var(--ui-font-size-sm);
38
38
  line-height: var(--ui-line-height-md);
39
39
  }
40
40
 
@@ -45,7 +45,7 @@
45
45
  .error,
46
46
  :slotted([role="alert"]) {
47
47
  color: var(--ui-accent-active);
48
- font-size: 0.875rem;
48
+ font-size: var(--ui-font-size-sm);
49
49
  }
50
50
 
51
51
  /* A component that sets its display still honours the hidden attribute on its root. */
@@ -87,7 +87,7 @@
87
87
  align-items: center;
88
88
  min-block-size: var(--ui-tree-item-min-block-size, var(--_tree-row-min-height));
89
89
  min-inline-size: 0;
90
- font-size: var(--ui-tree-item-font-size, var(--ui-font-size-ui));
90
+ font-size: var(--ui-tree-item-font-size, var(--ui-font-size-sm));
91
91
  border-radius: var(--ui-radius-md);
92
92
  color: var(--ui-text-secondary);
93
93
  transition: