@threadlabs/looma 0.22.2 → 0.22.3
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.
- package/components/ui-editor-mention-menu/ui-editor-mention-menu.html +7 -0
- package/components/ui-editor-mention-menu-item/ui-editor-mention-menu-item.html +13 -0
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/styles/ui-editor-mention-menu-item.css +19 -0
- package/styles/ui-editor-mention-menu.css +11 -1
- package/vue/UiEditorMentionMenu.vue +7 -0
- package/vue/UiEditorMentionMenuItem.vue +13 -0
- package/vue/chunks/UiEditorMentionMenu.js +1 -1
- package/vue/chunks/UiEditorMentionMenuItem.js +1 -1
- package/vue/components.css +49 -29
|
@@ -127,6 +127,13 @@
|
|
|
127
127
|
background: var(--ui-accent-subtle, rgb(59 130 246 / 0.1));
|
|
128
128
|
}
|
|
129
129
|
|
|
130
|
+
/* The highlight and the initials circle share a tint; on the highlighted row the circle takes
|
|
131
|
+
the surface and a fine accent ring, so the initials stay visible. */
|
|
132
|
+
.item.active .avatar {
|
|
133
|
+
background: var(--ui-surface);
|
|
134
|
+
box-shadow: inset 0 0 0 1px var(--ui-accent-soft, var(--ui-accent-subtle));
|
|
135
|
+
}
|
|
136
|
+
|
|
130
137
|
.avatar {
|
|
131
138
|
display: inline-flex;
|
|
132
139
|
align-items: center;
|
|
@@ -23,6 +23,19 @@
|
|
|
23
23
|
background: var(--ui-accent-subtle);
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
+
/* The highlight and the initials circle share a tint; on the highlighted row the circle takes
|
|
27
|
+
the surface and a fine accent ring, so the initials stay visible. */
|
|
28
|
+
:host[aria-selected="true"] .avatar {
|
|
29
|
+
background: var(--ui-surface);
|
|
30
|
+
box-shadow: inset 0 0 0 1px var(--ui-accent-soft);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
/* A slotted Avatar (a person's photo) is its own circle. */
|
|
34
|
+
:host .avatar:has(> [data-component~="ui-avatar"]) {
|
|
35
|
+
background: none;
|
|
36
|
+
box-shadow: none;
|
|
37
|
+
}
|
|
38
|
+
|
|
26
39
|
.avatar {
|
|
27
40
|
display: inline-flex;
|
|
28
41
|
align-items: center;
|