lutra 0.0.13 → 0.0.15
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/data/Stat.svelte +1 -1
- package/dist/display/Avatar.svelte +1 -1
- package/dist/display/Badge.svelte +1 -1
- package/dist/display/Callout.svelte +3 -3
- package/dist/display/Code.svelte +1 -1
- package/dist/display/ContextTip.svelte +1 -1
- package/dist/display/Details.svelte +1 -1
- package/dist/display/Hero.svelte +1 -1
- package/dist/display/Icon.svelte +9 -3
- package/dist/display/IconButton.svelte +9 -9
- package/dist/display/IconButton.svelte.d.ts +0 -2
- package/dist/display/Image.svelte +41 -0
- package/dist/display/Image.svelte.d.ts +24 -0
- package/dist/display/Indicator.svelte +1 -1
- package/dist/display/Inset.svelte +18 -0
- package/dist/display/Inset.svelte.d.ts +17 -0
- package/dist/display/Popup.svelte +1 -1
- package/dist/display/Popup.svelte.d.ts +1 -3
- package/dist/display/Table.svelte +21 -0
- package/dist/display/Table.svelte.d.ts +23 -0
- package/dist/display/Tag.svelte +2 -2
- package/dist/display/Tooltip.svelte +1 -1
- package/dist/display/index.d.ts +1 -0
- package/dist/display/index.js +1 -0
- package/dist/form/Button.svelte +1 -1
- package/dist/form/FieldActions.svelte +26 -6
- package/dist/form/FieldActions.svelte.d.ts +1 -0
- package/dist/form/FieldContainer.svelte +4 -3
- package/dist/form/FieldContent.svelte +54 -16
- package/dist/form/FieldError.svelte +1 -1
- package/dist/form/FieldSection.svelte +20 -47
- package/dist/form/Fieldset.svelte +10 -5
- package/dist/form/Fieldset.svelte.d.ts +2 -0
- package/dist/form/Form.svelte +1 -1
- package/dist/form/Input.svelte +19 -40
- package/dist/form/Input.svelte.d.ts +2 -0
- package/dist/form/InputLength.svelte +1 -1
- package/dist/form/Label.svelte +2 -1
- package/dist/form/Select.svelte +1 -1
- package/dist/grid/Column.svelte +1 -1
- package/dist/grid/Grid.svelte +1 -1
- package/dist/grid/Row.svelte +1 -1
- package/dist/icons/Alert.svelte +2 -2
- package/dist/icons/Copy.svelte +2 -2
- package/dist/icons/Done.svelte +2 -2
- package/dist/icons/Error.svelte +2 -2
- package/dist/icons/Help.svelte +2 -2
- package/dist/icons/Hide.svelte +2 -2
- package/dist/icons/Info.svelte +2 -2
- package/dist/icons/Link.svelte +2 -2
- package/dist/icons/MenuBurger.svelte +3 -0
- package/dist/icons/MenuBurger.svelte.d.ts +23 -0
- package/dist/icons/MenuDots.svelte +3 -0
- package/dist/icons/MenuDots.svelte.d.ts +23 -0
- package/dist/icons/Show.svelte +2 -2
- package/dist/icons/Success.svelte +2 -2
- package/dist/icons/Warning.svelte +2 -2
- package/dist/layout/Layout.svelte +1 -1
- package/dist/layout/LayoutFooter.svelte +1 -1
- package/dist/layout/LayoutGrid.svelte +1 -1
- package/dist/layout/LayoutHeader.svelte +1 -1
- package/dist/layout/PageContent.svelte +1 -1
- package/dist/layout/Theme.svelte +7 -7
- package/dist/layout/UIContent.svelte +1 -1
- package/dist/nav/Breadcrumb.svelte +1 -1
- package/dist/nav/Menu.svelte +177 -161
- package/dist/nav/Menu.svelte.d.ts +11 -3
- package/dist/nav/MenuItem.svelte +122 -0
- package/dist/nav/MenuItem.svelte.d.ts +17 -0
- package/dist/nav/MenuTypes.d.ts +24 -3
- package/dist/nav/NavMenu.svelte +183 -0
- package/dist/nav/NavMenu.svelte.d.ts +18 -0
- package/dist/nav/TabbedContent.svelte +1 -1
- package/dist/nav/Tabs.svelte +8 -8
- package/dist/nav/index.d.ts +2 -0
- package/dist/nav/index.js +1 -0
- package/dist/style.css +36 -24
- package/dist/typo/Clamp.svelte +1 -1
- package/dist/typo/H.svelte +3 -2
- package/dist/typo/H.svelte.d.ts +2 -0
- package/dist/typo/H1.svelte +3 -3
- package/dist/typo/H1.svelte.d.ts +2 -0
- package/dist/typo/H2.svelte +3 -2
- package/dist/typo/H2.svelte.d.ts +2 -0
- package/dist/typo/H3.svelte +3 -2
- package/dist/typo/H3.svelte.d.ts +2 -0
- package/dist/typo/H4.svelte +3 -2
- package/dist/typo/H4.svelte.d.ts +2 -0
- package/dist/typo/H5.svelte +3 -2
- package/dist/typo/H5.svelte.d.ts +2 -0
- package/dist/typo/H6.svelte +3 -2
- package/dist/typo/H6.svelte.d.ts +2 -0
- package/dist/typo/P.svelte +3 -1
- package/dist/typo/P.svelte.d.ts +2 -0
- package/dist/utils/StringOrComponentOrSnippet.svelte +13 -0
- package/dist/utils/StringOrComponentOrSnippet.svelte.d.ts +17 -0
- package/dist/utils/index.d.ts +8 -0
- package/dist/utils/index.js +5 -0
- package/dist/utils/keyboard.svelte.d.ts +3 -0
- package/dist/utils/keyboard.svelte.js +142 -0
- package/dist/utils/transitions.js +14 -7
- package/package.json +9 -13
- package/dist/datatable/DataTable.svelte +0 -31
- package/dist/datatable/DataTable.svelte.d.ts +0 -20
- package/dist/datatable/DataTableColumn.svelte +0 -20
- package/dist/datatable/DataTableColumn.svelte.d.ts +0 -18
- package/dist/datatable/DataTableRow.svelte +0 -59
- package/dist/datatable/DataTableRow.svelte.d.ts +0 -21
- package/dist/datatable/index.d.ts +0 -3
- package/dist/datatable/index.js +0 -3
- package/dist/form/server.d.ts +0 -21
- package/dist/form/server.js +0 -48
@@ -1,4 +1,4 @@
|
|
1
|
-
<script>import H5 from "../typo/H5.svelte";
|
1
|
+
<script lang="ts">import H5 from "../typo/H5.svelte";
|
2
2
|
import P from "../typo/P.svelte";
|
3
3
|
let {
|
4
4
|
title,
|
@@ -7,7 +7,7 @@ let {
|
|
7
7
|
} = $props();
|
8
8
|
</script>
|
9
9
|
|
10
|
-
<div class="FieldSection">
|
10
|
+
<div class="FieldSection" class:noTitle={!!title && !!description}>
|
11
11
|
{#if title || description}
|
12
12
|
<div class="FieldSectionTitle">
|
13
13
|
{#if title}
|
@@ -35,65 +35,38 @@ let {
|
|
35
35
|
.FieldSection {
|
36
36
|
padding: 0;
|
37
37
|
display: grid;
|
38
|
-
gap: 0rem;
|
39
38
|
grid-template-columns: subgrid;
|
39
|
+
grid-column: 1 / -1;
|
40
|
+
padding: calc(var(--fcc) * 3em);
|
40
41
|
}
|
41
|
-
.
|
42
|
+
.FieldSectionTitle {
|
42
43
|
display: flex;
|
43
44
|
flex-direction: column;
|
44
|
-
grid-column: 0 / 1;
|
45
45
|
background-color: var(--base);
|
46
|
-
gap:
|
47
|
-
|
48
|
-
border-bottom: var(--border);
|
46
|
+
gap: 1.25em;
|
47
|
+
text-wrap: balance;
|
49
48
|
}
|
50
49
|
.FieldSection:not(:first-child) {
|
51
50
|
border-top: calc(var(--fcc) * var(--border-size)) var(--border-style) var(--border-color);
|
52
51
|
}
|
53
|
-
.
|
54
|
-
padding: calc(var(--padding, 1.5em) * var(--fcc));
|
55
|
-
grid-column: 1 / -1;
|
52
|
+
.FieldSectionFields {
|
56
53
|
display: grid;
|
57
|
-
gap: 1.
|
54
|
+
gap: var(--gap, 1.5em);
|
58
55
|
}
|
59
|
-
|
60
|
-
|
61
|
-
gap: 3rem;
|
62
|
-
padding: calc(2rem * var(--fcc));
|
63
|
-
/*grid-template-columns: 1fr;*/
|
64
|
-
border-bottom: 1px dotted var(--border-light);
|
65
|
-
margin-bottom: 3rem;
|
66
|
-
border-radius: 0;
|
67
|
-
}
|
68
|
-
.FieldSection:has(.FieldSectionTitle) {
|
69
|
-
/*grid-template-columns: minmax(180px, 1fr) 3fr;*/
|
70
|
-
}
|
71
|
-
.FieldSection:last-child {
|
72
|
-
border-bottom: none;
|
73
|
-
margin-bottom: 0;
|
74
|
-
}
|
75
|
-
.FieldSection:not(:first-child) {
|
76
|
-
border-top: 0;
|
77
|
-
padding-top: 0;
|
78
|
-
}
|
79
|
-
.FieldSection .FieldSectionTitle {
|
80
|
-
gap: 1rem;
|
81
|
-
padding: 0;
|
82
|
-
background-color: transparent;
|
83
|
-
border-bottom: none;
|
84
|
-
}
|
85
|
-
.FieldSection .FieldSectionFields {
|
86
|
-
padding: 0;
|
87
|
-
}
|
56
|
+
.FieldSection.noTitle .FieldSectionFields {
|
57
|
+
grid-column: 1 / -1;
|
88
58
|
}
|
89
|
-
@container (
|
59
|
+
@container (max-width: 640px) {
|
90
60
|
.FieldSection {
|
91
|
-
|
92
|
-
|
61
|
+
padding: 2em;
|
62
|
+
}
|
63
|
+
.FieldSectionTitle {
|
64
|
+
gap: 0.5em;
|
65
|
+
padding-block-end: 1.5em;
|
93
66
|
}
|
94
|
-
.
|
95
|
-
|
96
|
-
|
67
|
+
.FieldSectionTitle,
|
68
|
+
.FieldSectionFields {
|
69
|
+
grid-column: 1 / -1;
|
97
70
|
}
|
98
71
|
}
|
99
72
|
</style>
|
@@ -1,4 +1,5 @@
|
|
1
|
-
<script>let {
|
1
|
+
<script lang="ts">let {
|
2
|
+
fullWidth,
|
2
3
|
description,
|
3
4
|
contained,
|
4
5
|
rounded,
|
@@ -13,7 +14,7 @@ let smColumns = columnsArray[2] || mdColumns;
|
|
13
14
|
</script>
|
14
15
|
|
15
16
|
<div class="FieldsetContainer">
|
16
|
-
<fieldset class:rounded class:contained class="cols-{columns}" style="--lg-cols: {lgColumns}; --md-cols: {mdColumns}; --sm-cols: {smColumns}">
|
17
|
+
<fieldset class:fullWidth class:rounded class:contained class="cols-{columns}" style="--lg-cols: {lgColumns}; --md-cols: {mdColumns}; --sm-cols: {smColumns}">
|
17
18
|
{#if legend}
|
18
19
|
<legend>
|
19
20
|
{#if typeof legend === 'string'}
|
@@ -40,15 +41,19 @@ let smColumns = columnsArray[2] || mdColumns;
|
|
40
41
|
}
|
41
42
|
fieldset {
|
42
43
|
display: grid;
|
44
|
+
width: var(--width, fit-content);
|
43
45
|
grid-template-columns: repeat(var(--lg-cols), 1fr);
|
44
|
-
gap:
|
46
|
+
gap: var(--gap, 1.5em);
|
45
47
|
}
|
46
48
|
legend {
|
47
|
-
|
49
|
+
font-weight: 500;
|
48
50
|
font-size: var(--font-size, 1em);
|
49
51
|
}
|
50
52
|
fieldset.contained {
|
51
|
-
padding:
|
53
|
+
padding: 1.5em;
|
54
|
+
}
|
55
|
+
fieldset.fullWidth {
|
56
|
+
width: 100%;
|
52
57
|
}
|
53
58
|
@container(max-width: 960px) {
|
54
59
|
fieldset {
|
@@ -2,6 +2,8 @@ import { SvelteComponent } from "svelte";
|
|
2
2
|
import type { Snippet } from "svelte";
|
3
3
|
declare const __propDef: {
|
4
4
|
props: {
|
5
|
+
/** Whether the fieldset should be full width. */
|
6
|
+
fullWidth?: boolean | undefined;
|
5
7
|
/** The description of the fieldset. */
|
6
8
|
description?: string | ((this: void) => typeof import("svelte").SnippetReturn & {
|
7
9
|
_: "functions passed to {@render ...} tags must use the `Snippet` type imported from \"svelte\"";
|
package/dist/form/Form.svelte
CHANGED
package/dist/form/Input.svelte
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
<script>import { getContext } from "svelte";
|
1
|
+
<script lang="ts">import { getContext } from "svelte";
|
2
2
|
import { createId } from "../utils/id.js";
|
3
3
|
import Copy from "../icons/Copy.svelte";
|
4
4
|
import Done from "../icons/Done.svelte";
|
@@ -54,6 +54,7 @@ let {
|
|
54
54
|
required,
|
55
55
|
results,
|
56
56
|
shape = "rounded",
|
57
|
+
size,
|
57
58
|
src,
|
58
59
|
step,
|
59
60
|
tabindex,
|
@@ -148,6 +149,7 @@ function copy(e) {
|
|
148
149
|
{readonly}
|
149
150
|
required={required || field?.required}
|
150
151
|
{results}
|
152
|
+
{size}
|
151
153
|
{src}
|
152
154
|
{step}
|
153
155
|
{tabindex}
|
@@ -162,55 +164,32 @@ function copy(e) {
|
|
162
164
|
{id}
|
163
165
|
{label}
|
164
166
|
{labelTip}
|
167
|
+
contained={type === "checkbox" || type === "radio" ? false : true}
|
165
168
|
direction={(type === "checkbox" || type === "radio") ? 'row' : 'column'}
|
166
169
|
{field}
|
167
170
|
{issue}
|
171
|
+
{prefix}
|
172
|
+
{suffix}
|
168
173
|
>
|
169
174
|
|
170
175
|
{#if type === "checkbox" || type === "radio"}
|
171
176
|
{@render input()}
|
172
177
|
{:else}
|
173
178
|
|
174
|
-
|
175
|
-
class="Field {type}"
|
176
|
-
class:hasPrefix={!!prefix}
|
177
|
-
class:hasSuffix={!!suffix}
|
178
|
-
class:invalid={field?.tainted && issue?.code}
|
179
|
-
>
|
180
|
-
{#if prefix}
|
181
|
-
<div class="Fix Prefix">
|
182
|
-
{#if typeof prefix === 'string'}
|
183
|
-
{prefix}
|
184
|
-
{:else}
|
185
|
-
{@render prefix()}
|
186
|
-
{/if}
|
187
|
-
</div>
|
188
|
-
{/if}
|
189
|
-
|
190
|
-
{@render input()}
|
179
|
+
{@render input()}
|
191
180
|
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
181
|
+
{#if copyable}
|
182
|
+
<Tooltip tip={copyTitle} open={copyTooltipOpen}>
|
183
|
+
<IconButton icon={copyBtnIcon} onclick={copy} disabled={copyTooltipOpen} />
|
184
|
+
</Tooltip>
|
185
|
+
{/if}
|
186
|
+
|
187
|
+
{#if type === "password" && viewable}
|
188
|
+
<Tooltip tip={viewTitle}>
|
189
|
+
<IconButton icon={viewBtnIcon} onclick={view} />
|
190
|
+
</Tooltip>
|
191
|
+
{/if}
|
203
192
|
|
204
|
-
{#if suffix}
|
205
|
-
<div class="Fix Suffix">
|
206
|
-
{#if typeof suffix === 'string'}
|
207
|
-
{suffix}
|
208
|
-
{:else}
|
209
|
-
{@render suffix()}
|
210
|
-
{/if}
|
211
|
-
</div>
|
212
|
-
{/if}
|
213
|
-
</div>
|
214
193
|
{/if}
|
215
194
|
</FieldContent>
|
216
195
|
|
@@ -239,7 +218,7 @@ function copy(e) {
|
|
239
218
|
.Fix {
|
240
219
|
display: flex;
|
241
220
|
align-items: center;
|
242
|
-
padding-inline: 0.
|
221
|
+
padding-inline: 0.65em;
|
243
222
|
font-size: 1em;
|
244
223
|
line-height: 1.5;
|
245
224
|
color: var(--text-subtle);
|
@@ -97,6 +97,8 @@ declare const __propDef: {
|
|
97
97
|
results?: number | undefined;
|
98
98
|
/** The shape of the input element. */
|
99
99
|
shape?: "default" | "circle" | "rounded" | "pill" | undefined;
|
100
|
+
/** The size of the input element. */
|
101
|
+
size?: number | undefined;
|
100
102
|
/** Source URL for the image type. */
|
101
103
|
src?: string | undefined;
|
102
104
|
/** Spellcheck the input. */
|
package/dist/form/Label.svelte
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
<script>import ContextTip from "../display/ContextTip.svelte";
|
1
|
+
<script lang="ts">import ContextTip from "../display/ContextTip.svelte";
|
2
2
|
let {
|
3
3
|
id,
|
4
4
|
label,
|
@@ -22,5 +22,6 @@ let {
|
|
22
22
|
<style>
|
23
23
|
label {
|
24
24
|
cursor: var(--cursor, default);
|
25
|
+
text-wrap: balance;
|
25
26
|
}
|
26
27
|
</style>
|
package/dist/form/Select.svelte
CHANGED
package/dist/grid/Column.svelte
CHANGED
package/dist/grid/Grid.svelte
CHANGED
package/dist/grid/Row.svelte
CHANGED
package/dist/icons/Alert.svelte
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg"
|
2
|
-
<
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 16 16">
|
2
|
+
<path fill="currentColor" d="M7.999,1.063C7.419,1.063 6.84,1.339 6.51,1.889L0.232,12.38C-0.435,13.489 0.42,14.937 1.717,14.937L14.277,14.937C15.578,14.937 16.433,13.489 15.77,12.38L9.488,1.889C9.159,1.339 8.579,1.063 7.999,1.063ZM7.999,2.114C8.22,2.114 8.441,2.223 8.575,2.44L14.852,12.926C15.115,13.364 14.823,13.869 14.277,13.869L1.717,13.869C1.175,13.869 0.883,13.364 1.146,12.926L7.423,2.44C7.557,2.223 7.778,2.114 7.999,2.114ZM7.457,11.733L7.457,12.801L8.525,12.801L8.525,11.733L7.457,11.733ZM7.457,5.326L7.457,10.665L8.525,10.665L8.525,5.326L7.457,5.326Z" />
|
3
3
|
</svg>
|
package/dist/icons/Copy.svelte
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg"
|
2
|
-
<path fill="currentColor" d="
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 16 16">
|
2
|
+
<path fill="currentColor" d="M1.714,0.571C0.772,0.571 0,1.344 0,2.286L0,11.429C0,12.371 0.772,13.143 1.714,13.143L3.429,13.143L3.429,13.714C3.429,14.656 4.201,15.429 5.143,15.429L14.286,15.429C15.228,15.429 16,14.656 16,13.714L16,4.571C16,3.629 15.228,2.857 14.286,2.857L12.571,2.857L12.571,2.286C12.571,1.344 11.799,0.571 10.857,0.571L1.714,0.571ZM12.571,4L14.286,4C14.607,4 14.857,4.25 14.857,4.571L14.857,13.714C14.857,14.036 14.607,14.286 14.286,14.286L5.143,14.286C4.821,14.286 4.571,14.036 4.571,13.714L4.571,13.143L10.857,13.143C11.799,13.143 12.571,12.371 12.571,11.429L12.571,4ZM1.714,1.714L10.857,1.714C11.179,1.714 11.429,1.964 11.429,2.286L11.429,11.429C11.429,11.75 11.179,12 10.857,12L1.714,12C1.393,12 1.143,11.75 1.143,11.429L1.143,2.286C1.143,1.964 1.393,1.714 1.714,1.714Z" />
|
3
3
|
</svg>
|
package/dist/icons/Done.svelte
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg"
|
2
|
-
<path fill="currentColor" d="
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 16 16">
|
2
|
+
<path fill="currentColor" d="M15.215,2.22L5.225,12.21L1.175,8.165L0.785,7.77L0,8.555L0.395,8.945L5.225,13.78L16,3.005L15.215,2.22Z" />
|
3
3
|
</svg>
|
package/dist/icons/Error.svelte
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg"
|
2
|
-
<
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 16 16">
|
2
|
+
<path fill="currentColor" d="M8,0.004C7.721,0.004 7.446,0.108 7.234,0.316L0.316,7.234C-0.1,7.655 -0.1,8.346 0.316,8.767L7.234,15.684C7.655,16.105 8.346,16.105 8.767,15.684L15.684,8.767C16.101,8.35 16.101,7.655 15.684,7.234L8.767,0.316C8.555,0.108 8.28,0.004 8,0.004ZM8.009,1.071L14.93,7.992C14.938,8 14.938,8.005 14.93,8.013L8.009,14.93C8,14.938 7.996,14.938 7.988,14.93L1.075,8.013C1.062,8 1.058,8 1.071,7.992L7.988,1.075C8,1.062 8,1.058 8.009,1.071ZM7.467,10.667L7.467,11.734L8.534,11.734L8.534,10.667L7.467,10.667ZM7.467,4.267L7.467,9.601L8.534,9.601L8.534,4.267L7.467,4.267Z" />
|
3
3
|
</svg>
|
package/dist/icons/Help.svelte
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg"
|
2
|
-
<
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 16 16">
|
2
|
+
<path fill="currentColor" d="M8,0C3.591,0 0,3.591 0,8C0,12.409 3.591,16 8,16C12.409,16 16,12.409 16,8C16,3.591 12.409,0 8,0ZM8,1.231C11.745,1.231 14.769,4.255 14.769,8C14.769,11.745 11.745,14.769 8,14.769C4.255,14.769 1.231,11.745 1.231,8C1.231,4.255 4.255,1.231 8,1.231ZM7.385,11.077L7.385,12.308L8.615,12.308L8.615,11.077L7.385,11.077ZM8.072,3.692C6.582,3.779 5.365,5.029 5.365,6.548L6.596,6.548C6.596,5.548 7.462,4.764 8.519,4.947C9.274,5.077 9.87,5.817 9.846,6.596C9.827,7.279 9.428,7.712 8.841,7.971C8.476,8.135 8.13,8.288 7.837,8.596C7.543,8.904 7.385,9.361 7.385,9.846L8.615,9.846C8.615,9.567 8.654,9.524 8.731,9.442C8.803,9.365 9.005,9.245 9.337,9.096C10.255,8.697 11.043,7.817 11.077,6.635C11.12,5.236 10.115,3.971 8.726,3.731C8.505,3.697 8.284,3.683 8.072,3.692Z" />
|
3
3
|
</svg>
|
package/dist/icons/Hide.svelte
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg"
|
2
|
-
<
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 16 16">
|
2
|
+
<path fill="currentColor" d="M1.773,1.015L1.015,1.773L3.496,4.258C1.095,5.585 0.147,7.657 0.093,7.783L0,7.998L0.093,8.213C0.173,8.402 2.177,12.85 7.998,12.85C8.196,12.85 8.373,12.824 8.562,12.816L8.571,12.816C9.678,12.753 10.643,12.546 11.464,12.226L14.218,14.985L14.985,14.218L12.509,11.746L11.772,11.009L11.704,10.946L9.455,8.689L7.307,6.541L5.378,4.616L4.528,3.769L1.773,1.015ZM4.999,5.757L6.549,7.316C6.452,7.522 6.381,7.749 6.381,7.998C6.381,8.891 7.105,9.615 7.998,9.615C8.246,9.615 8.474,9.544 8.68,9.447L10.238,10.997C9.611,11.472 8.844,11.772 7.998,11.772C5.917,11.772 4.224,10.078 4.224,7.998C4.224,7.151 4.523,6.385 4.999,5.757ZM4.081,5.176C3.5,5.972 3.146,6.941 3.146,7.998C3.146,9.059 3.5,10.036 4.081,10.832C2.346,9.902 1.474,8.529 1.188,7.998C1.474,7.467 2.354,6.111 4.081,5.176ZM7.998,3.146C7.4,3.146 6.857,3.205 6.339,3.289L7.341,4.292C7.556,4.254 7.77,4.224 7.998,4.224C10.078,4.224 11.772,5.917 11.772,7.998C11.772,8.225 11.742,8.44 11.704,8.655L12.58,9.531C12.74,9.047 12.85,8.537 12.85,7.998C12.85,6.937 12.496,5.959 11.915,5.159C13.65,6.094 14.522,7.467 14.808,7.998C14.598,8.39 14.058,9.249 13.094,10.045L13.86,10.811C15.267,9.611 15.861,8.314 15.903,8.213L16,7.998L15.903,7.783C15.823,7.594 13.818,3.146 7.998,3.146Z" />
|
3
3
|
</svg>
|
package/dist/icons/Info.svelte
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg"
|
2
|
-
<
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 16 16">
|
2
|
+
<path fill="currentColor" d="M8,0C3.591,0 0,3.591 0,8C0,12.409 3.591,16 8,16C12.409,16 16,12.409 16,8C16,3.591 12.409,0 8,0ZM8,1.231C11.745,1.231 14.769,4.255 14.769,8C14.769,11.745 11.745,14.769 8,14.769C4.255,14.769 1.231,11.745 1.231,8C1.231,4.255 4.255,1.231 8,1.231ZM7.385,6.154L7.385,12.308L8.615,12.308L8.615,6.154L7.385,6.154ZM7.385,3.692L7.385,4.923L8.615,4.923L8.615,3.692L7.385,3.692Z" />
|
3
3
|
</svg>
|
package/dist/icons/Link.svelte
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg"
|
2
|
-
<path fill="currentColor" d="
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 16 16">
|
2
|
+
<path fill="currentColor" d="M5.428,7.337C4.572,7.337 3.768,7.669 3.162,8.275L0.935,10.502C-0.316,11.753 -0.316,13.787 0.959,15.062C1.584,15.687 2.407,16 3.225,16C4.047,16 4.87,15.687 5.495,15.062L7.717,12.84C8.521,12.036 8.805,10.916 8.574,9.881L7.342,11.108C7.256,11.421 7.097,11.719 6.852,11.964L4.624,14.191C3.855,14.961 2.595,14.961 1.806,14.167C1.43,13.792 1.228,13.297 1.228,12.768C1.228,12.243 1.43,11.748 1.806,11.373L4.033,9.145C4.273,8.905 4.572,8.741 4.889,8.65L6.125,7.419C5.899,7.37 5.668,7.337 5.428,7.337ZM10.45,4.912C10.291,4.917 10.142,4.985 10.026,5.1L5.101,10.026C4.86,10.261 4.86,10.656 5.101,10.896C5.341,11.137 5.731,11.137 5.976,10.896L10.902,5.971C11.085,5.793 11.137,5.523 11.036,5.288C10.94,5.052 10.705,4.903 10.45,4.912ZM12.773,-0.008C11.917,-0.008 11.109,0.328 10.507,0.934L8.28,3.157C7.482,3.955 7.198,5.076 7.429,6.115L8.66,4.888C8.747,4.571 8.906,4.273 9.151,4.027L11.378,1.8C11.753,1.43 12.249,1.223 12.773,1.223C13.302,1.223 13.798,1.43 14.192,1.824C14.567,2.199 14.774,2.695 14.774,3.224C14.774,3.748 14.567,4.249 14.192,4.619L11.97,6.846C11.734,7.082 11.436,7.241 11.123,7.327L9.877,8.573C10.103,8.626 10.334,8.655 10.575,8.655C11.431,8.655 12.234,8.323 12.84,7.717L15.063,5.494C16.313,4.239 16.318,2.204 15.043,0.934C14.437,0.328 13.634,-0.008 12.773,-0.008Z" style="fill-rule:nonzero;"/>
|
3
3
|
</svg>
|
@@ -0,0 +1,23 @@
|
|
1
|
+
/** @typedef {typeof __propDef.props} MenuBurgerProps */
|
2
|
+
/** @typedef {typeof __propDef.events} MenuBurgerEvents */
|
3
|
+
/** @typedef {typeof __propDef.slots} MenuBurgerSlots */
|
4
|
+
export default class MenuBurger extends SvelteComponent<{
|
5
|
+
[x: string]: never;
|
6
|
+
}, {
|
7
|
+
[evt: string]: CustomEvent<any>;
|
8
|
+
}, {}> {
|
9
|
+
}
|
10
|
+
export type MenuBurgerProps = typeof __propDef.props;
|
11
|
+
export type MenuBurgerEvents = typeof __propDef.events;
|
12
|
+
export type MenuBurgerSlots = typeof __propDef.slots;
|
13
|
+
import { SvelteComponent } from "svelte";
|
14
|
+
declare const __propDef: {
|
15
|
+
props: {
|
16
|
+
[x: string]: never;
|
17
|
+
};
|
18
|
+
events: {
|
19
|
+
[evt: string]: CustomEvent<any>;
|
20
|
+
};
|
21
|
+
slots: {};
|
22
|
+
};
|
23
|
+
export {};
|
@@ -0,0 +1,3 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 16 16">
|
2
|
+
<path fill="currentColor" d="M8,12.029C9.096,12.029 9.986,12.918 9.986,14.014C9.986,15.11 9.096,16 8,16C6.904,16 6.014,15.11 6.014,14.014C6.014,12.918 6.904,12.029 8,12.029ZM8,6.014C9.096,6.014 9.986,6.904 9.986,8C9.986,9.096 9.096,9.986 8,9.986C6.904,9.986 6.014,9.096 6.014,8C6.014,6.904 6.904,6.014 8,6.014ZM8,0C9.096,0 9.986,0.89 9.986,1.986C9.986,3.082 9.096,3.971 8,3.971C6.904,3.971 6.014,3.082 6.014,1.986C6.014,0.89 6.904,0 8,0Z"/>
|
3
|
+
</svg>
|
@@ -0,0 +1,23 @@
|
|
1
|
+
/** @typedef {typeof __propDef.props} MenuDotsProps */
|
2
|
+
/** @typedef {typeof __propDef.events} MenuDotsEvents */
|
3
|
+
/** @typedef {typeof __propDef.slots} MenuDotsSlots */
|
4
|
+
export default class MenuDots extends SvelteComponent<{
|
5
|
+
[x: string]: never;
|
6
|
+
}, {
|
7
|
+
[evt: string]: CustomEvent<any>;
|
8
|
+
}, {}> {
|
9
|
+
}
|
10
|
+
export type MenuDotsProps = typeof __propDef.props;
|
11
|
+
export type MenuDotsEvents = typeof __propDef.events;
|
12
|
+
export type MenuDotsSlots = typeof __propDef.slots;
|
13
|
+
import { SvelteComponent } from "svelte";
|
14
|
+
declare const __propDef: {
|
15
|
+
props: {
|
16
|
+
[x: string]: never;
|
17
|
+
};
|
18
|
+
events: {
|
19
|
+
[evt: string]: CustomEvent<any>;
|
20
|
+
};
|
21
|
+
slots: {};
|
22
|
+
};
|
23
|
+
export {};
|
package/dist/icons/Show.svelte
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg"
|
2
|
-
<
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 16 16">
|
2
|
+
<path fill="currentColor" d="M8.002,3.217C2.269,3.217 0.081,7.776 0.081,7.776L-0.027,8L0.081,8.224C0.081,8.224 2.269,12.783 8.002,12.783C13.736,12.783 15.924,8.224 15.924,8.224L16.027,8L15.924,7.776C15.924,7.776 13.736,3.217 8.002,3.217ZM8.002,4.28C10.061,4.28 11.722,5.941 11.722,8C11.722,10.059 10.061,11.72 8.002,11.72C5.943,11.72 4.282,10.059 4.282,8C4.282,5.941 5.943,4.28 8.002,4.28ZM4.22,5.106C3.601,5.912 3.219,6.908 3.219,8C3.219,9.092 3.601,10.088 4.22,10.894C2.181,9.881 1.351,8.27 1.218,8C1.351,7.73 2.181,6.119 4.22,5.106ZM11.784,5.106C13.823,6.119 14.653,7.73 14.786,8C14.653,8.27 13.823,9.881 11.784,10.894C12.403,10.088 12.785,9.092 12.785,8C12.785,6.908 12.403,5.912 11.784,5.106ZM8.002,6.406C7.122,6.406 6.408,7.12 6.408,8C6.408,8.88 7.122,9.594 8.002,9.594C8.882,9.594 9.596,8.88 9.596,8C9.596,7.12 8.882,6.406 8.002,6.406Z" />
|
3
3
|
</svg>
|
@@ -1,3 +1,3 @@
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg"
|
2
|
-
<
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 16 16">
|
2
|
+
<path fill="currentColor" d="M8,0C3.591,0 0,3.591 0,8C0,12.409 3.591,16 8,16C12.409,16 16,12.409 16,8C16,3.591 12.409,0 8,0ZM8,1.231C11.745,1.231 14.769,4.255 14.769,8C14.769,11.745 11.745,14.769 8,14.769C4.255,14.769 1.231,11.745 1.231,8C1.231,4.255 4.255,1.231 8,1.231ZM11.255,5.106L6.769,9.591L4.74,7.567L3.875,8.433L6.769,11.332L12.13,5.971L11.255,5.106Z" />
|
3
3
|
</svg>
|
@@ -1,3 +1,3 @@
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg"
|
2
|
-
<
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 16 16">
|
2
|
+
<path fill="currentColor" d="M7.999,1.063C7.419,1.063 6.84,1.339 6.51,1.889L0.232,12.38C-0.435,13.489 0.42,14.937 1.717,14.937L14.277,14.937C15.578,14.937 16.433,13.489 15.77,12.38L9.488,1.889C9.159,1.339 8.579,1.063 7.999,1.063ZM7.999,2.114C8.22,2.114 8.441,2.223 8.575,2.44L14.852,12.926C15.115,13.364 14.823,13.869 14.277,13.869L1.717,13.869C1.175,13.869 0.883,13.364 1.146,12.926L7.423,2.44C7.557,2.223 7.778,2.114 7.999,2.114ZM7.457,11.733L7.457,12.801L8.525,12.801L8.525,11.733L7.457,11.733ZM7.457,5.326L7.457,10.665L8.525,10.665L8.525,5.326L7.457,5.326Z" />
|
3
3
|
</svg>
|
package/dist/layout/Theme.svelte
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
<script>import { browser } from "$app/environment";
|
1
|
+
<script lang="ts">import { browser } from "$app/environment";
|
2
2
|
import { getContext, setContext } from "svelte";
|
3
3
|
let {
|
4
4
|
theme,
|
@@ -112,10 +112,9 @@ setContext("theme", theme);
|
|
112
112
|
--menu-bg-active: var(--l-menu-bg-active);
|
113
113
|
--menu-bg-hover: var(--l-menu-bg-hover);
|
114
114
|
--menu-border: var(--l-menu-border);
|
115
|
-
--menu-
|
116
|
-
--menu-
|
117
|
-
--menu-
|
118
|
-
--menu-link-active-hover: var(--l-menu-link-active-hover);
|
115
|
+
--menu-text: var(--l-menu-text);
|
116
|
+
--menu-text-subtle: var(--l-menu-text-subtle);
|
117
|
+
--menu-text-active: var(--l-menu-text-active);
|
119
118
|
/* status */
|
120
119
|
--status-default: var(--l-status-default);
|
121
120
|
--status-ok: var(--l-status-ok);
|
@@ -207,8 +206,9 @@ setContext("theme", theme);
|
|
207
206
|
--menu-bg: var(--d-menu-bg);
|
208
207
|
--menu-bg-active: var(--d-menu-bg-active);
|
209
208
|
--menu-border: var(--d-menu-border);
|
210
|
-
--menu-
|
211
|
-
--menu-
|
209
|
+
--menu-text: var(--d-menu-text);
|
210
|
+
--menu-text-subtle: var(--d-menu-text-subtle);
|
211
|
+
--menu-text-active: var(--d-menu-text-active);
|
212
212
|
/* status */
|
213
213
|
--status-default: var(--d-status-default);
|
214
214
|
--status-ok: var(--d-status-ok);
|