lapikit 0.5.8 → 0.6.0
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/@types/actions.d.ts +6 -0
- package/dist/@types/index.d.ts +1 -0
- package/dist/@types/index.js +1 -0
- package/dist/actions.d.ts +2 -0
- package/dist/actions.js +2 -0
- package/dist/components/dialog/dialog.svelte +1 -2
- package/dist/components/list/list.svelte +0 -35
- package/dist/components/list/modules/list-item.svelte +35 -0
- package/dist/{@legacy/stores/components.d.ts → components/modal/modal.d.ts} +1 -2
- package/dist/{@legacy/stores/components.js → components/modal/modal.js} +1 -1
- package/dist/components/modal/modal.svelte +1 -1
- package/dist/components/textfield/textfield.svelte.d.ts +1 -1
- package/dist/constants.d.ts +2 -2
- package/dist/constants.js +2 -2
- package/dist/utils/outside.d.ts +1 -0
- package/dist/utils/outside.js +5 -0
- package/dist/{@legacy/stores → utils}/themes.d.ts +1 -0
- package/dist/{@legacy/actions/use-theme.js → utils/themes.js} +4 -1
- package/package.json +11 -32
- package/dist/@legacy/actions/accordion.svelte.d.ts +0 -9
- package/dist/@legacy/actions/index.d.ts +0 -2
- package/dist/@legacy/actions/index.js +0 -2
- package/dist/@legacy/actions/use-theme.d.ts +0 -1
- package/dist/@legacy/assets/icons/arrow-down.svelte +0 -12
- package/dist/@legacy/assets/icons/arrow-down.svelte.d.ts +0 -18
- package/dist/@legacy/assets/icons/arrow-up.svelte +0 -12
- package/dist/@legacy/assets/icons/arrow-up.svelte.d.ts +0 -18
- package/dist/@legacy/assets/icons/close-fill.svelte +0 -12
- package/dist/@legacy/assets/icons/close-fill.svelte.d.ts +0 -18
- package/dist/@legacy/assets/icons/loading-fill.svelte +0 -31
- package/dist/@legacy/assets/icons/loading-fill.svelte.d.ts +0 -18
- package/dist/@legacy/components/accordion/accordion.css +0 -36
- package/dist/@legacy/components/accordion/accordion.svelte +0 -39
- package/dist/@legacy/components/accordion/accordion.svelte.d.ts +0 -4
- package/dist/@legacy/components/accordion/modules/accordion-item.css +0 -68
- package/dist/@legacy/components/accordion/modules/accordion-item.svelte +0 -94
- package/dist/@legacy/components/accordion/modules/accordion-item.svelte.d.ts +0 -4
- package/dist/@legacy/components/accordion/types.d.ts +0 -33
- package/dist/@legacy/components/alert/alert.css +0 -130
- package/dist/@legacy/components/alert/alert.svelte +0 -89
- package/dist/@legacy/components/alert/alert.svelte.d.ts +0 -4
- package/dist/@legacy/components/alert/types.d.ts +0 -28
- package/dist/@legacy/components/alert/types.js +0 -1
- package/dist/@legacy/components/app/app.css +0 -26
- package/dist/@legacy/components/app/app.svelte +0 -79
- package/dist/@legacy/components/app/app.svelte.d.ts +0 -4
- package/dist/@legacy/components/app/types.d.ts +0 -10
- package/dist/@legacy/components/app/types.js +0 -1
- package/dist/@legacy/components/appbar/appbar.css +0 -38
- package/dist/@legacy/components/appbar/appbar.svelte +0 -40
- package/dist/@legacy/components/appbar/appbar.svelte.d.ts +0 -4
- package/dist/@legacy/components/appbar/types.d.ts +0 -15
- package/dist/@legacy/components/appbar/types.js +0 -1
- package/dist/@legacy/components/aspect-ratio/aspect-ratio.css +0 -19
- package/dist/@legacy/components/aspect-ratio/aspect-ratio.svelte +0 -25
- package/dist/@legacy/components/aspect-ratio/aspect-ratio.svelte.d.ts +0 -4
- package/dist/@legacy/components/aspect-ratio/types.d.ts +0 -5
- package/dist/@legacy/components/aspect-ratio/types.js +0 -1
- package/dist/@legacy/components/avatar/avatar.css +0 -102
- package/dist/@legacy/components/avatar/avatar.svelte +0 -46
- package/dist/@legacy/components/avatar/avatar.svelte.d.ts +0 -4
- package/dist/@legacy/components/avatar/types.d.ts +0 -22
- package/dist/@legacy/components/avatar/types.js +0 -1
- package/dist/@legacy/components/button/button.css +0 -240
- package/dist/@legacy/components/button/button.svelte +0 -102
- package/dist/@legacy/components/button/button.svelte.d.ts +0 -4
- package/dist/@legacy/components/button/types.d.ts +0 -29
- package/dist/@legacy/components/button/types.js +0 -1
- package/dist/@legacy/components/card/card.css +0 -105
- package/dist/@legacy/components/card/card.svelte +0 -67
- package/dist/@legacy/components/card/card.svelte.d.ts +0 -4
- package/dist/@legacy/components/card/types.d.ts +0 -20
- package/dist/@legacy/components/card/types.js +0 -1
- package/dist/@legacy/components/chip/chip.css +0 -224
- package/dist/@legacy/components/chip/chip.svelte +0 -131
- package/dist/@legacy/components/chip/chip.svelte.d.ts +0 -4
- package/dist/@legacy/components/chip/types.d.ts +0 -32
- package/dist/@legacy/components/chip/types.js +0 -1
- package/dist/@legacy/components/dialog/dialog.css +0 -129
- package/dist/@legacy/components/dialog/dialog.svelte +0 -67
- package/dist/@legacy/components/dialog/dialog.svelte.d.ts +0 -4
- package/dist/@legacy/components/dialog/types.d.ts +0 -24
- package/dist/@legacy/components/dialog/types.js +0 -1
- package/dist/@legacy/components/dropdown/dropdown.css +0 -13
- package/dist/@legacy/components/dropdown/dropdown.svelte +0 -115
- package/dist/@legacy/components/dropdown/dropdown.svelte.d.ts +0 -4
- package/dist/@legacy/components/dropdown/types.d.ts +0 -26
- package/dist/@legacy/components/dropdown/types.js +0 -1
- package/dist/@legacy/components/icon/icon.css +0 -78
- package/dist/@legacy/components/icon/icon.svelte +0 -49
- package/dist/@legacy/components/icon/icon.svelte.d.ts +0 -4
- package/dist/@legacy/components/icon/types.d.ts +0 -16
- package/dist/@legacy/components/icon/types.js +0 -1
- package/dist/@legacy/components/index.d.ts +0 -22
- package/dist/@legacy/components/index.js +0 -23
- package/dist/@legacy/components/list/list.css +0 -149
- package/dist/@legacy/components/list/list.svelte +0 -44
- package/dist/@legacy/components/list/list.svelte.d.ts +0 -4
- package/dist/@legacy/components/list/modules/list-item.css +0 -67
- package/dist/@legacy/components/list/modules/list-item.svelte +0 -76
- package/dist/@legacy/components/list/modules/list-item.svelte.d.ts +0 -4
- package/dist/@legacy/components/list/types.d.ts +0 -33
- package/dist/@legacy/components/list/types.js +0 -1
- package/dist/@legacy/components/modal/modal.css +0 -137
- package/dist/@legacy/components/modal/modal.svelte +0 -118
- package/dist/@legacy/components/modal/modal.svelte.d.ts +0 -4
- package/dist/@legacy/components/modal/types.d.ts +0 -26
- package/dist/@legacy/components/modal/types.js +0 -1
- package/dist/@legacy/components/popover/popover.css +0 -13
- package/dist/@legacy/components/popover/popover.svelte +0 -73
- package/dist/@legacy/components/popover/popover.svelte.d.ts +0 -4
- package/dist/@legacy/components/popover/types.d.ts +0 -20
- package/dist/@legacy/components/popover/types.js +0 -1
- package/dist/@legacy/components/separator/separator.css +0 -42
- package/dist/@legacy/components/separator/separator.svelte +0 -37
- package/dist/@legacy/components/separator/separator.svelte.d.ts +0 -4
- package/dist/@legacy/components/separator/types.d.ts +0 -15
- package/dist/@legacy/components/separator/types.js +0 -1
- package/dist/@legacy/components/spacer/spacer.css +0 -3
- package/dist/@legacy/components/spacer/spacer.svelte +0 -7
- package/dist/@legacy/components/spacer/spacer.svelte.d.ts +0 -4
- package/dist/@legacy/components/spacer/types.d.ts +0 -4
- package/dist/@legacy/components/spacer/types.js +0 -1
- package/dist/@legacy/components/textfield/textfield.css +0 -298
- package/dist/@legacy/components/textfield/textfield.svelte +0 -193
- package/dist/@legacy/components/textfield/textfield.svelte.d.ts +0 -4
- package/dist/@legacy/components/textfield/types.d.ts +0 -37
- package/dist/@legacy/components/textfield/types.js +0 -1
- package/dist/@legacy/components/toolbar/toolbar.css +0 -106
- package/dist/@legacy/components/toolbar/toolbar.svelte +0 -47
- package/dist/@legacy/components/toolbar/toolbar.svelte.d.ts +0 -4
- package/dist/@legacy/components/toolbar/types.d.ts +0 -27
- package/dist/@legacy/components/toolbar/types.js +0 -1
- package/dist/@legacy/components/tooltip/tooltip.css +0 -116
- package/dist/@legacy/components/tooltip/tooltip.svelte +0 -113
- package/dist/@legacy/components/tooltip/tooltip.svelte.d.ts +0 -4
- package/dist/@legacy/components/tooltip/types.d.ts +0 -23
- package/dist/@legacy/components/tooltip/types.js +0 -1
- package/dist/@legacy/index.d.ts +0 -3
- package/dist/@legacy/index.js +0 -24
- package/dist/@legacy/internal/config/presets.d.ts +0 -149
- package/dist/@legacy/internal/config/presets.js +0 -169
- package/dist/@legacy/internal/config/variables.d.ts +0 -3
- package/dist/@legacy/internal/config/variables.js +0 -3
- package/dist/@legacy/internal/core/actions/assets.svelte.d.ts +0 -8
- package/dist/@legacy/internal/core/actions/assets.svelte.js +0 -54
- package/dist/@legacy/internal/core/actions/dropdown.svelte.d.ts +0 -7
- package/dist/@legacy/internal/core/actions/dropdown.svelte.js +0 -148
- package/dist/@legacy/internal/core/actions/popover.svelte.d.ts +0 -7
- package/dist/@legacy/internal/core/actions/popover.svelte.js +0 -134
- package/dist/@legacy/internal/core/actions/tooltip.svelte.d.ts +0 -7
- package/dist/@legacy/internal/core/actions/tooltip.svelte.js +0 -131
- package/dist/@legacy/internal/core/animations/ripple.d.ts +0 -12
- package/dist/@legacy/internal/core/animations/ripple.js +0 -96
- package/dist/@legacy/internal/core/bin/ansi.d.ts +0 -40
- package/dist/@legacy/internal/core/bin/ansi.js +0 -44
- package/dist/@legacy/internal/core/bin/terminal.d.ts +0 -1
- package/dist/@legacy/internal/core/bin/terminal.js +0 -12
- package/dist/@legacy/internal/core/css.d.ts +0 -1
- package/dist/@legacy/internal/core/css.js +0 -16
- package/dist/@legacy/internal/core/formatter/component.d.ts +0 -5
- package/dist/@legacy/internal/core/formatter/component.js +0 -60
- package/dist/@legacy/internal/core/formatter/device.d.ts +0 -5
- package/dist/@legacy/internal/core/formatter/device.js +0 -66
- package/dist/@legacy/internal/core/formatter/index.d.ts +0 -7
- package/dist/@legacy/internal/core/formatter/index.js +0 -35
- package/dist/@legacy/internal/core/formatter/style.d.ts +0 -4
- package/dist/@legacy/internal/core/formatter/style.js +0 -15
- package/dist/@legacy/internal/core/formatter/theme.d.ts +0 -5
- package/dist/@legacy/internal/core/formatter/theme.js +0 -44
- package/dist/@legacy/internal/core/formatter/typography.d.ts +0 -5
- package/dist/@legacy/internal/core/formatter/typography.js +0 -12
- package/dist/@legacy/internal/core/minify.d.ts +0 -1
- package/dist/@legacy/internal/core/minify.js +0 -10
- package/dist/@legacy/internal/core/standard-colors.d.ts +0 -75
- package/dist/@legacy/internal/core/standard-colors.js +0 -75
- package/dist/@legacy/internal/core/x11-colors.d.ts +0 -4
- package/dist/@legacy/internal/core/x11-colors.js +0 -151
- package/dist/@legacy/internal/helpers/colors.d.ts +0 -1
- package/dist/@legacy/internal/helpers/colors.js +0 -50
- package/dist/@legacy/internal/helpers/convert.d.ts +0 -1
- package/dist/@legacy/internal/helpers/convert.js +0 -17
- package/dist/@legacy/internal/helpers/deep-merge.d.ts +0 -44
- package/dist/@legacy/internal/helpers/deep-merge.js +0 -80
- package/dist/@legacy/internal/helpers/outside.d.ts +0 -9
- package/dist/@legacy/internal/helpers/outside.js +0 -34
- package/dist/@legacy/internal/helpers/parser.d.ts +0 -10
- package/dist/@legacy/internal/helpers/parser.js +0 -93
- package/dist/@legacy/internal/helpers/scroll.d.ts +0 -1
- package/dist/@legacy/internal/helpers/scroll.js +0 -5
- package/dist/@legacy/internal/plugins/vite.d.ts +0 -8
- package/dist/@legacy/internal/plugins/vite.js +0 -33
- package/dist/@legacy/internal/types/components.d.ts +0 -14
- package/dist/@legacy/internal/types/components.js +0 -1
- package/dist/@legacy/internal/types/configuration.d.ts +0 -63
- package/dist/@legacy/internal/types/configuration.js +0 -1
- package/dist/@legacy/internal/types/index.d.ts +0 -2
- package/dist/@legacy/internal/types/index.js +0 -2
- package/dist/@legacy/stores/breakpoints.d.ts +0 -6
- package/dist/@legacy/stores/breakpoints.js +0 -14
- package/dist/@legacy/stores/devices.d.ts +0 -6
- package/dist/@legacy/stores/devices.js +0 -9
- package/dist/@legacy/stores/index.d.ts +0 -5
- package/dist/@legacy/stores/index.js +0 -5
- package/dist/@legacy/stores/themes.js +0 -4
- package/dist/@legacy/stores/viewport.d.ts +0 -7
- package/dist/@legacy/stores/viewport.js +0 -7
- package/dist/@legacy/styles/animation.css +0 -33
- package/dist/@legacy/styles/keyframes.css +0 -30
- package/dist/@legacy/styles/reset.css +0 -133
- package/dist/@legacy/styles.css +0 -0
- package/dist/@legacy/styles.css.d.ts +0 -4
- package/dist/@legacy/themes.css +0 -0
- package/dist/@legacy/themes.css.d.ts +0 -4
- /package/dist/{@legacy/components/accordion/types.js → @types/actions.js} +0 -0
- /package/dist/{@legacy/actions → components/accordion}/accordion.svelte.js +0 -0
|
@@ -1,298 +0,0 @@
|
|
|
1
|
-
.kit-textfield {
|
|
2
|
-
flex: 1 1 auto;
|
|
3
|
-
font-size: 1rem;
|
|
4
|
-
display: grid;
|
|
5
|
-
grid-template-areas:
|
|
6
|
-
'prepend control append'
|
|
7
|
-
'a messages b';
|
|
8
|
-
grid-template-columns: max-content minmax(0, 1fr) max-content;
|
|
9
|
-
grid-template-rows: 1fr auto;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
/* variant */
|
|
13
|
-
.kit-textfield[breakpoint]kit-textfield--variant-filled .kit-field {
|
|
14
|
-
--textfield-border-color: var(--textfield-background, var(--kit-background-grouped-primary));
|
|
15
|
-
background-color: var(--textfield-background, var(--kit-background-grouped-primary));
|
|
16
|
-
border-radius: var(--textfield-shape, var(--system-shape-md));
|
|
17
|
-
color: var(--textfield-color, var(--kit-label-primary));
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.kit-textfield[breakpoint]kit-textfield--variant-outline .kit-field {
|
|
21
|
-
--textfield-border-color: var(--textfield-color);
|
|
22
|
-
background-color: var(--textfield-background);
|
|
23
|
-
border-radius: var(--textfield-shape);
|
|
24
|
-
color: var(--textfield-color);
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.kit-textfield[breakpoint]kit-textfield--variant-filled .kit-textfield-outline,
|
|
28
|
-
.kit-textfield[breakpoint]kit-textfield--variant-outline .kit-textfield-outline {
|
|
29
|
-
border-bottom: 1px solid var(--textfield-border-color);
|
|
30
|
-
border-top: 1px solid var(--textfield-border-color);
|
|
31
|
-
border-right: 1px solid var(--textfield-border-color);
|
|
32
|
-
border-left: 1px solid var(--textfield-border-color);
|
|
33
|
-
border-radius: var(--textfield-shape);
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.kit-textfield[breakpoint]kit-textfield--variant-text .kit-field {
|
|
37
|
-
--textfield-border-color: var(--textfield-color);
|
|
38
|
-
background-color: transparent;
|
|
39
|
-
border-radius: 0;
|
|
40
|
-
color: var(--textfield-color);
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.kit-textfield[breakpoint]kit-textfield--variant-text .kit-textfield-outline {
|
|
44
|
-
border-bottom: 1px solid var(--textfield-border-color);
|
|
45
|
-
border-top: 0;
|
|
46
|
-
border-right: 0;
|
|
47
|
-
border-left: 0;
|
|
48
|
-
border-radius: 0;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
.kit-textfield--hide-spin-buttons input[type='number'] {
|
|
52
|
-
-moz-appearance: textfield;
|
|
53
|
-
appearance: textfield;
|
|
54
|
-
}
|
|
55
|
-
.kit-textfield--hide-spin-buttons input[type='number']::-webkit-inner-spin-button,
|
|
56
|
-
.kit-textfield--hide-spin-buttons input[type='number']::-webkit-outer-spin-button {
|
|
57
|
-
display: none;
|
|
58
|
-
-webkit-appearance: none;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
.kit-textfield--disabled {
|
|
62
|
-
opacity: 0.5;
|
|
63
|
-
pointer-events: none;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
.kit-textfield--readonly {
|
|
67
|
-
pointer-events: none;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
.kit-textfield--error .kit-textfield-outline {
|
|
71
|
-
border: 1px solid var(--kit-accent-destructive);
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
.kit-textfield-outline {
|
|
75
|
-
align-items: stretch;
|
|
76
|
-
contain: layout;
|
|
77
|
-
display: flex;
|
|
78
|
-
height: 100%;
|
|
79
|
-
left: 0;
|
|
80
|
-
pointer-events: none;
|
|
81
|
-
position: absolute;
|
|
82
|
-
right: 0;
|
|
83
|
-
width: 100%;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
.kit-textfield .kit-textfield-prepend {
|
|
87
|
-
display: flex;
|
|
88
|
-
grid-area: prepend;
|
|
89
|
-
margin-inline-end: 16px;
|
|
90
|
-
align-items: center;
|
|
91
|
-
padding-top: 0;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
.kit-textfield .kit-textfield-append {
|
|
95
|
-
display: flex;
|
|
96
|
-
grid-area: append;
|
|
97
|
-
margin-inline-start: 16px;
|
|
98
|
-
align-items: center;
|
|
99
|
-
padding-top: 0;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
/* control */
|
|
103
|
-
.kit-textfield-control {
|
|
104
|
-
display: flex;
|
|
105
|
-
grid-area: control;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
.kit-textfield-control .kit-textfield-prepend-inner {
|
|
109
|
-
grid-area: prepend-inner;
|
|
110
|
-
display: flex;
|
|
111
|
-
align-items: center;
|
|
112
|
-
padding-top: 0;
|
|
113
|
-
}
|
|
114
|
-
.kit-textfield-control .kit-textfield-clearable {
|
|
115
|
-
cursor: pointer;
|
|
116
|
-
display: flex;
|
|
117
|
-
align-items: center;
|
|
118
|
-
padding-top: 0;
|
|
119
|
-
overflow: hidden;
|
|
120
|
-
margin-inline: 4px;
|
|
121
|
-
grid-area: clear;
|
|
122
|
-
opacity: 0;
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
.kit-textfield-clearable.kit-textfield-clearable--visible {
|
|
126
|
-
opacity: 1;
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
.kit-textfield-control .kit-textfield-append-inner {
|
|
130
|
-
grid-area: append-inner;
|
|
131
|
-
display: flex;
|
|
132
|
-
align-items: center;
|
|
133
|
-
padding-top: 0;
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
/* field prefix suffix */
|
|
137
|
-
.kit-field .kit-field--field .kit-field--field-prefix,
|
|
138
|
-
.kit-field .kit-field--field .kit-field--field-suffix {
|
|
139
|
-
align-items: center;
|
|
140
|
-
cursor: default;
|
|
141
|
-
display: flex;
|
|
142
|
-
transition: inherit;
|
|
143
|
-
white-space: nowrap;
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
/* field */
|
|
147
|
-
.kit-textfield-control .kit-field {
|
|
148
|
-
display: grid;
|
|
149
|
-
grid-template-areas: 'prepend-inner field clear append-inner';
|
|
150
|
-
grid-template-columns: max-content minmax(0, 1fr) max-content max-content;
|
|
151
|
-
font-size: calc(var(--system-spacing) * var(--textfield-multiplier-font-size));
|
|
152
|
-
max-width: 100%;
|
|
153
|
-
contain: layout;
|
|
154
|
-
flex: 1 0;
|
|
155
|
-
grid-area: control;
|
|
156
|
-
position: relative;
|
|
157
|
-
padding: calc(var(--system-spacing) * var(--textfield-multiplier-x))
|
|
158
|
-
calc(var(--system-spacing) * var(--textfield-multiplier-y));
|
|
159
|
-
gap: calc(var(--system-spacing) * var(--textfield-multiplier-gap));
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
.kit-textfield-control .kit-field .kit-field--field {
|
|
163
|
-
flex: 1 0;
|
|
164
|
-
grid-area: field;
|
|
165
|
-
position: relative;
|
|
166
|
-
align-items: flex-start;
|
|
167
|
-
display: flex;
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
.kit-field .kit-field--field input {
|
|
171
|
-
font: inherit;
|
|
172
|
-
border-radius: 0;
|
|
173
|
-
color: inherit;
|
|
174
|
-
flex: 1;
|
|
175
|
-
min-width: 0;
|
|
176
|
-
align-items: center;
|
|
177
|
-
color: inherit;
|
|
178
|
-
column-gap: 2px;
|
|
179
|
-
display: flex;
|
|
180
|
-
flex-wrap: wrap;
|
|
181
|
-
position: relative;
|
|
182
|
-
width: 100%;
|
|
183
|
-
row-gap: 8px;
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
.kit-field .kit-field--field input:focus,
|
|
187
|
-
.kit-field .kit-field--field input:focus-visible,
|
|
188
|
-
.kit-field .kit-field--field input:active {
|
|
189
|
-
outline: none;
|
|
190
|
-
box-shadow: none;
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
/* message */
|
|
194
|
-
.kit-textfield-message {
|
|
195
|
-
padding-inline: var(--textfield-spacing-y);
|
|
196
|
-
align-items: flex-end;
|
|
197
|
-
display: flex;
|
|
198
|
-
font-size: 0.75rem;
|
|
199
|
-
grid-area: messages;
|
|
200
|
-
min-height: 22px;
|
|
201
|
-
padding-top: var(--textfield-spacing-x);
|
|
202
|
-
overflow: hidden;
|
|
203
|
-
justify-content: space-between;
|
|
204
|
-
opacity: 0;
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
.kit-textfield-message.kit-textfield-message--visible {
|
|
208
|
-
opacity: 1;
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
.kit-message {
|
|
212
|
-
flex: 1 1 auto;
|
|
213
|
-
font-size: 12px;
|
|
214
|
-
min-height: 14px;
|
|
215
|
-
min-width: 1px;
|
|
216
|
-
position: relative;
|
|
217
|
-
display: grid;
|
|
218
|
-
gap: calc(var(--system-spacing) * var(--textfield-multiplier-gap));
|
|
219
|
-
grid-template-areas: 'message-prepend message message-append ';
|
|
220
|
-
grid-template-columns: max-content minmax(0, 1fr) max-content;
|
|
221
|
-
}
|
|
222
|
-
|
|
223
|
-
.kit-message.kit-message--message-error {
|
|
224
|
-
color: var(--kit-accent-destructive);
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
.kit-message .kit-message--message {
|
|
228
|
-
line-height: 12px;
|
|
229
|
-
word-break: break-word;
|
|
230
|
-
overflow-wrap: break-word;
|
|
231
|
-
word-wrap: break-word;
|
|
232
|
-
hyphens: auto;
|
|
233
|
-
grid-area: message;
|
|
234
|
-
}
|
|
235
|
-
|
|
236
|
-
.kit-message .kit-message--prepend,
|
|
237
|
-
.kit-message .kit-message--append {
|
|
238
|
-
line-height: 12px;
|
|
239
|
-
}
|
|
240
|
-
|
|
241
|
-
.kit-message .kit-message--prepend {
|
|
242
|
-
grid-area: message-prepend;
|
|
243
|
-
}
|
|
244
|
-
.kit-message .kit-message--append {
|
|
245
|
-
grid-area: message-append;
|
|
246
|
-
}
|
|
247
|
-
|
|
248
|
-
/* size */
|
|
249
|
-
.kit-textfield[breakpoint]kit-textfield--size-xs {
|
|
250
|
-
--textfield-multiplier-x: 2;
|
|
251
|
-
--textfield-multiplier-y: 2;
|
|
252
|
-
--textfield-multiplier-gap: 1;
|
|
253
|
-
--textfield-multiplier-font-size: 6;
|
|
254
|
-
}
|
|
255
|
-
|
|
256
|
-
.kit-textfield[breakpoint]kit-textfield--size-sm {
|
|
257
|
-
--textfield-multiplier-x: 3;
|
|
258
|
-
--textfield-multiplier-y: 4;
|
|
259
|
-
--textfield-multiplier-gap: 2;
|
|
260
|
-
--textfield-multiplier-font-size: 7;
|
|
261
|
-
}
|
|
262
|
-
|
|
263
|
-
.kit-textfield[breakpoint]kit-textfield--size-md {
|
|
264
|
-
--textfield-multiplier-x: 4;
|
|
265
|
-
--textfield-multiplier-y: 6;
|
|
266
|
-
--textfield-multiplier-gap: 2;
|
|
267
|
-
--textfield-multiplier-font-size: 8;
|
|
268
|
-
}
|
|
269
|
-
|
|
270
|
-
.kit-textfield[breakpoint]kit-textfield--size-lg {
|
|
271
|
-
--textfield-multiplier-x: 5;
|
|
272
|
-
--textfield-multiplier-y: 6;
|
|
273
|
-
--textfield-multiplier-gap: 2;
|
|
274
|
-
--textfield-multiplier-font-size: 9;
|
|
275
|
-
}
|
|
276
|
-
|
|
277
|
-
.kit-textfield[breakpoint]kit-textfield--size-xl {
|
|
278
|
-
--textfield-multiplier-x: 6;
|
|
279
|
-
--textfield-multiplier-y: 8;
|
|
280
|
-
--textfield-multiplier-gap: 3;
|
|
281
|
-
--textfield-multiplier-font-size: 10;
|
|
282
|
-
}
|
|
283
|
-
|
|
284
|
-
/*density */
|
|
285
|
-
.kit-textfield[breakpoint]kit-textfield--density-default {
|
|
286
|
-
--textfield-spacing-x: 0;
|
|
287
|
-
--textfield-spacing-y: calc(var(--system-spacing) * var(--textfield-multiplier-y));
|
|
288
|
-
}
|
|
289
|
-
|
|
290
|
-
.kit-textfield[breakpoint]kit-textfield--density-compact {
|
|
291
|
-
--textfield-spacing-x: calc(0 - 0.5rem);
|
|
292
|
-
--textfield-spacing-y: calc(var(--system-spacing) * var(--textfield-multiplier-y) - 0.5rem);
|
|
293
|
-
}
|
|
294
|
-
|
|
295
|
-
.kit-textfield[breakpoint]kit-textfield--density-comfortable {
|
|
296
|
-
--textfield-spacing-x: calc(0 + 0.5rem);
|
|
297
|
-
--textfield-spacing-y: calc(var(--system-spacing) * var(--textfield-multiplier-y) + 0.5rem);
|
|
298
|
-
}
|
|
@@ -1,193 +0,0 @@
|
|
|
1
|
-
<script lang="ts">
|
|
2
|
-
import { getAssets } from '../../internal/core/actions/assets.svelte.js';
|
|
3
|
-
import type { TextfieldProps } from './types.js';
|
|
4
|
-
|
|
5
|
-
//external
|
|
6
|
-
import { Icon } from '../index.js';
|
|
7
|
-
|
|
8
|
-
let {
|
|
9
|
-
ref = $bindable(),
|
|
10
|
-
prepend,
|
|
11
|
-
append,
|
|
12
|
-
prependInner,
|
|
13
|
-
appendInner,
|
|
14
|
-
value = $bindable(),
|
|
15
|
-
type = 'text',
|
|
16
|
-
density = 'default',
|
|
17
|
-
size = 'md',
|
|
18
|
-
variant = 'filled',
|
|
19
|
-
placeholder,
|
|
20
|
-
light,
|
|
21
|
-
dark,
|
|
22
|
-
counter,
|
|
23
|
-
min,
|
|
24
|
-
max,
|
|
25
|
-
prefix,
|
|
26
|
-
suffix,
|
|
27
|
-
message,
|
|
28
|
-
messagePrefix,
|
|
29
|
-
messageSuffix,
|
|
30
|
-
clearable,
|
|
31
|
-
persistentClear,
|
|
32
|
-
disabled,
|
|
33
|
-
error,
|
|
34
|
-
errorMessage,
|
|
35
|
-
persistentMessage,
|
|
36
|
-
hideSpinButtons, // only type="number"
|
|
37
|
-
readonly,
|
|
38
|
-
color,
|
|
39
|
-
background,
|
|
40
|
-
rounded,
|
|
41
|
-
...rest
|
|
42
|
-
}: TextfieldProps = $props();
|
|
43
|
-
|
|
44
|
-
const assets = getAssets();
|
|
45
|
-
|
|
46
|
-
let counterValue: number = $state(0);
|
|
47
|
-
let displayMessage: boolean = $state(false);
|
|
48
|
-
let displayClear: boolean = $state(false);
|
|
49
|
-
|
|
50
|
-
const inputClear = () => {
|
|
51
|
-
value = undefined;
|
|
52
|
-
};
|
|
53
|
-
|
|
54
|
-
const handleFocus = () => {
|
|
55
|
-
if (!error && !persistentMessage) displayMessage = true;
|
|
56
|
-
};
|
|
57
|
-
|
|
58
|
-
const handleBlur = () => {
|
|
59
|
-
if (!error && !persistentMessage) displayMessage = false;
|
|
60
|
-
};
|
|
61
|
-
|
|
62
|
-
$effect(() => {
|
|
63
|
-
if (persistentClear) displayClear = true;
|
|
64
|
-
if (persistentMessage) displayMessage = true;
|
|
65
|
-
else if (error) displayMessage = true;
|
|
66
|
-
else if (!error) displayMessage = false;
|
|
67
|
-
});
|
|
68
|
-
|
|
69
|
-
$effect(() => {
|
|
70
|
-
const valueStr = value?.toString() || '';
|
|
71
|
-
|
|
72
|
-
if (valueStr && typeof max === 'number' && max > 0 && valueStr.length > max) {
|
|
73
|
-
const truncated = valueStr.slice(0, max);
|
|
74
|
-
if (typeof value === 'number') {
|
|
75
|
-
const numValue = Number(truncated);
|
|
76
|
-
value = isNaN(numValue) ? undefined : numValue;
|
|
77
|
-
} else {
|
|
78
|
-
value = truncated;
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
counterValue = valueStr.length;
|
|
83
|
-
});
|
|
84
|
-
|
|
85
|
-
$effect(() => {
|
|
86
|
-
if (!persistentClear) {
|
|
87
|
-
if (value) displayClear = true;
|
|
88
|
-
else displayClear = false;
|
|
89
|
-
}
|
|
90
|
-
});
|
|
91
|
-
</script>
|
|
92
|
-
|
|
93
|
-
<div
|
|
94
|
-
bind:this={ref}
|
|
95
|
-
{...rest}
|
|
96
|
-
class={[
|
|
97
|
-
'kit-textfield',
|
|
98
|
-
light && 'light',
|
|
99
|
-
dark && 'dark',
|
|
100
|
-
size && assets.className('textfield', 'size', size),
|
|
101
|
-
variant && assets.className('textfield', 'variant', variant),
|
|
102
|
-
density && assets.className('textfield', 'density', density),
|
|
103
|
-
disabled && 'kit-textfield--disabled',
|
|
104
|
-
readonly && 'kit-textfield--readonly',
|
|
105
|
-
error && 'kit-textfield--error',
|
|
106
|
-
type === 'number' && hideSpinButtons && 'kit-textfield--hide-spin-buttons',
|
|
107
|
-
rest.class
|
|
108
|
-
]}
|
|
109
|
-
style:--textfield-background={assets.color(background)}
|
|
110
|
-
style:--textfield-color={assets.color(color)}
|
|
111
|
-
style:--textfield-shape={assets.shape(rounded)}
|
|
112
|
-
>
|
|
113
|
-
{#if prepend}
|
|
114
|
-
<div class="kit-textfield-prepend">
|
|
115
|
-
{@render prepend?.()}
|
|
116
|
-
</div>
|
|
117
|
-
{/if}
|
|
118
|
-
<div class="kit-textfield-control">
|
|
119
|
-
<div class="kit-field">
|
|
120
|
-
{#if prependInner}
|
|
121
|
-
<div class="kit-textfield-prepend-inner">
|
|
122
|
-
{@render prependInner?.()}
|
|
123
|
-
</div>
|
|
124
|
-
{/if}
|
|
125
|
-
<div class="kit-field--field">
|
|
126
|
-
{#if prefix}
|
|
127
|
-
<span class="kit-field--field-prefix">
|
|
128
|
-
<span class="kit-textfield--field-prefix--text">{prefix}</span>
|
|
129
|
-
</span>
|
|
130
|
-
{/if}
|
|
131
|
-
<input
|
|
132
|
-
{type}
|
|
133
|
-
size="1"
|
|
134
|
-
{placeholder}
|
|
135
|
-
bind:value
|
|
136
|
-
onfocus={handleFocus}
|
|
137
|
-
onblur={handleBlur}
|
|
138
|
-
{...max && { maxlength: max }}
|
|
139
|
-
{...min && { minlength: min }}
|
|
140
|
-
{...disabled && { disabled: true }}
|
|
141
|
-
{...readonly && { readonly: true }}
|
|
142
|
-
/>
|
|
143
|
-
{#if suffix}
|
|
144
|
-
<span class="kit-field--field-suffix">
|
|
145
|
-
<span class="kit-textfield--field-suffix--text">{suffix}</span>
|
|
146
|
-
</span>
|
|
147
|
-
{/if}
|
|
148
|
-
</div>
|
|
149
|
-
{#if clearable}
|
|
150
|
-
<div
|
|
151
|
-
class={['kit-textfield-clearable', displayClear && 'kit-textfield-clearable--visible']}
|
|
152
|
-
>
|
|
153
|
-
<Icon icon="mgc_close_circle_fill" onclick={() => inputClear()} />
|
|
154
|
-
</div>
|
|
155
|
-
{/if}
|
|
156
|
-
|
|
157
|
-
{#if appendInner}
|
|
158
|
-
<div class="kit-textfield-append-inner">
|
|
159
|
-
{@render appendInner?.()}
|
|
160
|
-
</div>
|
|
161
|
-
{/if}
|
|
162
|
-
|
|
163
|
-
<div class="kit-textfield-outline"></div>
|
|
164
|
-
</div>
|
|
165
|
-
</div>
|
|
166
|
-
{#if append}
|
|
167
|
-
<div class="kit-textfield-append">
|
|
168
|
-
{@render append?.()}
|
|
169
|
-
</div>
|
|
170
|
-
{/if}
|
|
171
|
-
|
|
172
|
-
<div class={['kit-textfield-message', displayMessage && 'kit-textfield-message--visible']}>
|
|
173
|
-
<div class={['kit-message', error && 'kit-message--message-error']}>
|
|
174
|
-
{#if messagePrefix}
|
|
175
|
-
<div class="kit-message--prepend">{messagePrefix}</div>
|
|
176
|
-
{/if}
|
|
177
|
-
{#if message || error}
|
|
178
|
-
<div class="kit-message--message">
|
|
179
|
-
{error ? errorMessage || message : message}
|
|
180
|
-
</div>
|
|
181
|
-
{/if}
|
|
182
|
-
{#if counter || messageSuffix}
|
|
183
|
-
<div class="kit-message--append">
|
|
184
|
-
{#if counter}
|
|
185
|
-
{counterValue}{max ? `/${max}` : ''}
|
|
186
|
-
{:else if messageSuffix}
|
|
187
|
-
{messageSuffix}
|
|
188
|
-
{/if}
|
|
189
|
-
</div>
|
|
190
|
-
{/if}
|
|
191
|
-
</div>
|
|
192
|
-
</div>
|
|
193
|
-
</div>
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import type { Component } from '../../internal/types/index.js';
|
|
2
|
-
import type { Snippet } from 'svelte';
|
|
3
|
-
export interface TextfieldProps extends Component {
|
|
4
|
-
ref?: HTMLElement | null;
|
|
5
|
-
dark?: boolean;
|
|
6
|
-
light?: boolean;
|
|
7
|
-
value?: string | number;
|
|
8
|
-
type?: 'text' | 'email' | 'password' | 'number';
|
|
9
|
-
placeholder?: string;
|
|
10
|
-
counter?: boolean;
|
|
11
|
-
min?: number;
|
|
12
|
-
max?: number;
|
|
13
|
-
variant?: 'outline' | 'text' | 'filled';
|
|
14
|
-
density?: 'compact' | 'comfortable' | 'default';
|
|
15
|
-
error?: boolean;
|
|
16
|
-
errorMessage?: string;
|
|
17
|
-
disabled?: boolean;
|
|
18
|
-
color?: string;
|
|
19
|
-
background?: string;
|
|
20
|
-
size?: string | {
|
|
21
|
-
[key: string]: string;
|
|
22
|
-
};
|
|
23
|
-
readonly?: boolean;
|
|
24
|
-
hideSpinButtons?: boolean;
|
|
25
|
-
persistentMessage?: boolean;
|
|
26
|
-
persistentClear?: boolean;
|
|
27
|
-
clearable?: boolean;
|
|
28
|
-
message?: string;
|
|
29
|
-
messagePrefix?: string;
|
|
30
|
-
messageSuffix?: string;
|
|
31
|
-
append?: Snippet;
|
|
32
|
-
prepend?: Snippet;
|
|
33
|
-
prependInner?: Snippet;
|
|
34
|
-
appendInner?: Snippet;
|
|
35
|
-
prefix?: string;
|
|
36
|
-
suffix?: string;
|
|
37
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
.kit-toolbar {
|
|
2
|
-
display: flex;
|
|
3
|
-
align-items: center;
|
|
4
|
-
border-style: solid;
|
|
5
|
-
border-width: 1px;
|
|
6
|
-
border-style: solid;
|
|
7
|
-
border-radius: var(--toolbar-shape, var(--system-shape-md));
|
|
8
|
-
color: var(--toolbar-color, var(--kit-label-primary));
|
|
9
|
-
background-color: var(--toolbar-background, var(--kit-background-grouped-tertiary));
|
|
10
|
-
border-color: var(--toolbar-background, var(--kit-background-grouped-tertiary));
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
/* density */
|
|
14
|
-
.kit-toolbar[breakpoint]kit-toolbar--density-default:not([class*='toolbar--orientation-vertical']) {
|
|
15
|
-
height: 3rem;
|
|
16
|
-
padding-inline: calc(var(--system-spacing) * 1.5);
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.kit-toolbar[breakpoint]kit-toolbar--density-default[class*='toolbar--orientation-vertical'] {
|
|
20
|
-
width: 3rem;
|
|
21
|
-
padding: calc(var(--system-spacing) * 1.5) 0;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.kit-toolbar[breakpoint]kit-toolbar--density-compact:not([class*='toolbar--orientation-vertical']) {
|
|
25
|
-
height: 2.625rem;
|
|
26
|
-
padding-inline: calc(var(--system-spacing) * 0.75);
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.kit-toolbar[breakpoint]kit-toolbar--density-compact[class*='toolbar--orientation-vertical'] {
|
|
30
|
-
width: 2.625rem;
|
|
31
|
-
padding: calc(var(--system-spacing) * 0.75) 0;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.kit-toolbar[breakpoint]kit-toolbar--density-comfortable:not(
|
|
35
|
-
[class*='toolbar--orientation-vertical']
|
|
36
|
-
) {
|
|
37
|
-
height: 3.5rem;
|
|
38
|
-
padding-inline: calc(var(--system-spacing) * 2.25);
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.kit-toolbar[breakpoint]kit-toolbar--density-comfortable[class*='toolbar--orientation-vertical'] {
|
|
42
|
-
width: 3.5rem;
|
|
43
|
-
padding: calc(var(--system-spacing) * 2.25) 0;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
.kit-toolbar[breakpoint]kit-toolbar--variant-text,
|
|
47
|
-
.kit-toolbar[breakpoint]kit-toolbar--variant-outline,
|
|
48
|
-
.kit-toolbar[breakpoint]kit-toolbar--variant-dash {
|
|
49
|
-
--toolbar-color: var(--base, var(--kit-background-grouped-primary));
|
|
50
|
-
background-color: transparent;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
.kit-toolbar[breakpoint]kit-toolbar--variant-outline {
|
|
54
|
-
border-color: currentColor;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
.kit-toolbar[breakpoint]kit-toolbar--variant-dash {
|
|
58
|
-
border-style: dashed;
|
|
59
|
-
border-color: currentColor;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
.kit-toolbar[breakpoint]kit-toolbar--orientation-horizontal {
|
|
63
|
-
flex-direction: row;
|
|
64
|
-
width: 100%;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
.kit-toolbar[breakpoint]kit-toolbar--orientation-vertical {
|
|
68
|
-
flex-direction: column;
|
|
69
|
-
min-height: fit-content;
|
|
70
|
-
width: fit-content;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
/* wrapper */
|
|
74
|
-
.kit-toolbar .kit-toolbar--wrapper {
|
|
75
|
-
display: flex;
|
|
76
|
-
align-items: center;
|
|
77
|
-
/* margin-left: auto;
|
|
78
|
-
margin-right: auto; */
|
|
79
|
-
flex-direction: row;
|
|
80
|
-
height: auto;
|
|
81
|
-
width: 100%;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
.kit-toolbar[breakpoint]kit-toolbar--orientation-vertical .kit-toolbar--wrapper {
|
|
85
|
-
flex-direction: column;
|
|
86
|
-
height: 100%;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
/* location */
|
|
90
|
-
.kit-toolbar[breakpoint]kit-toolbar--location-top {
|
|
91
|
-
top: 0px;
|
|
92
|
-
z-index: 1004;
|
|
93
|
-
transform: translateY(0px);
|
|
94
|
-
position: fixed;
|
|
95
|
-
left: 0px;
|
|
96
|
-
width: calc(100% + 0px);
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
.kit-toolbar[breakpoint]kit-toolbar--location-bottom {
|
|
100
|
-
z-index: 1004;
|
|
101
|
-
transform: translateY(0px);
|
|
102
|
-
position: fixed;
|
|
103
|
-
left: 0px;
|
|
104
|
-
width: calc(100% + 0px);
|
|
105
|
-
bottom: 0px;
|
|
106
|
-
}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
<script lang="ts">
|
|
2
|
-
import { getAssets } from '../../internal/core/actions/assets.svelte.js';
|
|
3
|
-
import type { ToolbarProps } from './types.js';
|
|
4
|
-
|
|
5
|
-
let {
|
|
6
|
-
children,
|
|
7
|
-
ref = $bindable(),
|
|
8
|
-
is = 'div',
|
|
9
|
-
classContent,
|
|
10
|
-
light,
|
|
11
|
-
dark,
|
|
12
|
-
variant,
|
|
13
|
-
rounded,
|
|
14
|
-
background,
|
|
15
|
-
color,
|
|
16
|
-
density = 'default',
|
|
17
|
-
orientation = 'horizontal',
|
|
18
|
-
location,
|
|
19
|
-
...rest
|
|
20
|
-
}: ToolbarProps = $props();
|
|
21
|
-
|
|
22
|
-
const assets = getAssets();
|
|
23
|
-
</script>
|
|
24
|
-
|
|
25
|
-
<svelte:element
|
|
26
|
-
this={is}
|
|
27
|
-
bind:this={ref}
|
|
28
|
-
{...rest}
|
|
29
|
-
role="toolbar"
|
|
30
|
-
class={[
|
|
31
|
-
'kit-toolbar',
|
|
32
|
-
light && 'light',
|
|
33
|
-
dark && 'dark',
|
|
34
|
-
variant && assets.className('toolbar', 'variant', variant),
|
|
35
|
-
density && assets.className('toolbar', 'density', density),
|
|
36
|
-
orientation && assets.className('toolbar', 'orientation', orientation),
|
|
37
|
-
location && assets.className('toolbar', 'location', location),
|
|
38
|
-
rest.class
|
|
39
|
-
]}
|
|
40
|
-
style:--toolbar-background={assets.color(background)}
|
|
41
|
-
style:--toolbar-color={assets.color(color)}
|
|
42
|
-
style:--toolbar-shape={assets.shape(rounded)}
|
|
43
|
-
>
|
|
44
|
-
<div class={['kit-toolbar--wrapper', classContent]}>
|
|
45
|
-
{@render children?.()}
|
|
46
|
-
</div>
|
|
47
|
-
</svelte:element>
|