@signal9/era-ui 3.13.0 → 3.13.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.
|
@@ -457,7 +457,17 @@
|
|
|
457
457
|
.era-notes-prose :global(.tiptap .column-resize-handle) {
|
|
458
458
|
background-color: var(--color-primary);
|
|
459
459
|
}
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
460
|
+
/* NO ::selection rule here, deliberately.
|
|
461
|
+
*
|
|
462
|
+
* era owns text selection as a surface token contract — --era-selection-bg /
|
|
463
|
+
* -fg / -shadow (surfaces/base.css), which is how flat gets inverse video,
|
|
464
|
+
* glass a glowing wash, and bevel an opaque accent bar. This file used to
|
|
465
|
+
* override it with `background: var(--color-4)` and no `color`, which threw
|
|
466
|
+
* all of that away AND left body text on a mid-scale grey: the band barely
|
|
467
|
+
* separated from the page and the glyphs sat on top of it at whatever
|
|
468
|
+
* contrast happened to fall out. Dropping the override restores both the
|
|
469
|
+
* contrast (bright fill, --color-1 glyphs) and the per-surface treatment.
|
|
470
|
+
*
|
|
471
|
+
* The ProseMirror overrides above are still needed — those replace hardcoded
|
|
472
|
+
* library chrome that no era token would otherwise reach. */
|
|
463
473
|
</style>
|
|
@@ -223,7 +223,7 @@
|
|
|
223
223
|
{#if note.icon}
|
|
224
224
|
{note.icon}
|
|
225
225
|
{:else}
|
|
226
|
-
<FileText class="size-
|
|
226
|
+
<FileText class="size-(--era-icon-xxs) text-muted" />
|
|
227
227
|
{/if}
|
|
228
228
|
</span>
|
|
229
229
|
|
|
@@ -232,7 +232,9 @@
|
|
|
232
232
|
<!-- One cell, three occupants: the age at rest, the actions on
|
|
233
233
|
hover. Swapping them in place keeps the row from reflowing. -->
|
|
234
234
|
<span class="shrink-0 text-muted group-hover:hidden">
|
|
235
|
-
{#if note.pinned}<Pin class="size-
|
|
235
|
+
{#if note.pinned}<Pin class="size-(--era-icon-xxs)" />{:else}{formatAge(
|
|
236
|
+
note.updatedAt
|
|
237
|
+
)}{/if}
|
|
236
238
|
</span>
|
|
237
239
|
<span class="hidden shrink-0 items-center gap-(--era-xs-inset-md) group-hover:flex">
|
|
238
240
|
<Button
|
|
@@ -276,9 +278,15 @@
|
|
|
276
278
|
<!-- Document pane -->
|
|
277
279
|
<div class="flex min-w-0 flex-1 flex-col">
|
|
278
280
|
{#if selected}
|
|
279
|
-
|
|
281
|
+
<!-- md and xxs-padded, exactly like the sidebar's filter bar: the two
|
|
282
|
+
headers sit side by side across the top of the app, so an lg bar
|
|
283
|
+
here left the document header 8px taller than the list header. -->
|
|
284
|
+
<Bar
|
|
285
|
+
size="md"
|
|
286
|
+
class="shrink-0 gap-(--era-xxs-inset-md) rounded-none border-b border-divider-faded px-(--era-xxs-inset-md)"
|
|
287
|
+
>
|
|
280
288
|
<Popover.Root bind:open={iconPickerOpen}>
|
|
281
|
-
<Popover.Trigger icon aria-label="Change icon" title="Change icon">
|
|
289
|
+
<Popover.Trigger icon size="xxs" aria-label="Change icon" title="Change icon">
|
|
282
290
|
{#if selected.icon}
|
|
283
291
|
<span aria-hidden="true">{selected.icon}</span>
|
|
284
292
|
{:else}
|
|
@@ -321,8 +329,11 @@
|
|
|
321
329
|
</Popover.Content>
|
|
322
330
|
</Popover.Root>
|
|
323
331
|
|
|
332
|
+
<!-- Chromeless, like the filter input: an h-md Input inside an h-md bar
|
|
333
|
+
fills it edge to edge, so the well would draw a box with no room
|
|
334
|
+
around it. The bar is the container. -->
|
|
324
335
|
<Input
|
|
325
|
-
class="min-w-0 flex-1 bg-transparent shadow-none"
|
|
336
|
+
class="h-full min-w-0 flex-1 bg-transparent px-0 shadow-none"
|
|
326
337
|
aria-label="Note title"
|
|
327
338
|
placeholder="Untitled"
|
|
328
339
|
value={selected.title}
|