@signal9/era-ui 4.3.0 → 4.3.2
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/dist/apps/notes/notes.svelte +12 -19
- package/dist/era-ui.css +1 -1
- package/dist/styles/density.css +3 -0
- package/dist/styles/themes.css +28 -18
- package/dist/ui/button/variants.js +9 -0
- package/dist/ui/combobox/combobox-input.svelte +5 -1
- package/dist/ui/command/command-input.svelte +18 -28
- package/dist/ui/date-field/date-field-input.svelte +4 -1
- package/dist/ui/date-picker/date-picker-input.svelte +4 -1
- package/dist/ui/date-range-field/date-range-field-input.svelte +4 -1
- package/dist/ui/date-range-picker/date-range-picker-input.svelte +4 -1
- package/dist/ui/input/index.d.ts +1 -0
- package/dist/ui/input/index.js +3 -0
- package/dist/ui/input/input.svelte +12 -38
- package/dist/ui/input/input.svelte.d.ts +0 -45
- package/dist/ui/input/textarea.svelte +6 -1
- package/dist/ui/input/variants.d.ts +108 -0
- package/dist/ui/input/variants.js +63 -0
- package/dist/ui/time-field/time-field-input.svelte +4 -1
- package/dist/ui/time-range-field/time-range-field-input.svelte +4 -1
- package/package.json +1 -1
|
@@ -151,24 +151,22 @@
|
|
|
151
151
|
>
|
|
152
152
|
<!-- Sidebar: filter + note list -->
|
|
153
153
|
<div class="flex w-56 shrink-0 flex-col border-r border-divider-faded">
|
|
154
|
-
<!--
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
>
|
|
154
|
+
<!-- Default lg bar holding md controls, which is the pairing Bar documents:
|
|
155
|
+
(32-24)/2 lands on the bar's own xs-inset-sm padding, so the field sits
|
|
156
|
+
concentric. This was md with a chromeless field — compact, but it made
|
|
157
|
+
the filter the ONLY input in the library without a field fill. At md a
|
|
158
|
+
real field is the same height as the bar and overflows it by the
|
|
159
|
+
border. -->
|
|
160
|
+
<Bar class="shrink-0 rounded-none border-b border-divider-faded">
|
|
162
161
|
<Input
|
|
163
162
|
icon={Search}
|
|
164
|
-
bare
|
|
165
163
|
class="min-w-0 flex-1"
|
|
166
164
|
type="text"
|
|
167
165
|
placeholder="Filter…"
|
|
168
166
|
aria-label="Filter notes"
|
|
169
167
|
bind:value={query}
|
|
170
168
|
/>
|
|
171
|
-
<Button icon
|
|
169
|
+
<Button icon aria-label="New note" title="New note" onclick={createNote}>
|
|
172
170
|
<Plus />
|
|
173
171
|
</Button>
|
|
174
172
|
</Bar>
|
|
@@ -307,15 +305,11 @@
|
|
|
307
305
|
<!-- Document pane -->
|
|
308
306
|
<div class="flex min-w-0 flex-1 flex-col">
|
|
309
307
|
{#if selected}
|
|
310
|
-
<!--
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
<Bar
|
|
314
|
-
size="md"
|
|
315
|
-
class="shrink-0 gap-(--era-xxs-inset-md) rounded-none border-b border-divider-faded px-(--era-xxs-inset-md)"
|
|
316
|
-
>
|
|
308
|
+
<!-- Matches the sidebar's filter bar exactly — the two headers sit side by
|
|
309
|
+
side across the top of the app, so they must be the same tier. -->
|
|
310
|
+
<Bar class="shrink-0 rounded-none border-b border-divider-faded">
|
|
317
311
|
<Popover.Root bind:open={iconPickerOpen}>
|
|
318
|
-
<Popover.Trigger icon
|
|
312
|
+
<Popover.Trigger icon aria-label="Change icon" title="Change icon">
|
|
319
313
|
{#if selected.icon}
|
|
320
314
|
<span aria-hidden="true">{selected.icon}</span>
|
|
321
315
|
{:else}
|
|
@@ -359,7 +353,6 @@
|
|
|
359
353
|
</Popover.Root>
|
|
360
354
|
|
|
361
355
|
<Input
|
|
362
|
-
bare
|
|
363
356
|
class="min-w-0 flex-1"
|
|
364
357
|
aria-label="Note title"
|
|
365
358
|
placeholder="Untitled"
|