@threadlabs/looma 0.44.5 → 0.45.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/README.md +24 -0
- package/components/shared/icons.js +1 -0
- package/components/ui-button/ui-button.html +3 -1
- package/components/ui-icon/ui-icon.html +1 -0
- package/components/ui-icon-button/ui-icon-button.html +3 -1
- package/components/ui-site-header/ui-site-header.html +163 -31
- package/components/ui-site-header/ui-site-header.js +82 -0
- package/dist/index.js +14 -13
- package/docs/card.html +11 -7
- package/docs/catalog.json +99 -14
- package/editor/icons.d.ts +1 -0
- package/editor/index.js +2 -1
- package/package.json +1 -1
- package/styles/ui-button.css +3 -1
- package/styles/ui-icon-button.css +3 -1
- package/styles/ui-site-header.css +353 -27
- package/vanilla/UiIcon.js +1 -1
- package/vanilla/UiSiteHeader.d.ts +2 -0
- package/vanilla/UiSiteHeader.js +72 -27
- package/vue/UiButton.vue +6 -1
- package/vue/UiIcon.vue +4 -0
- package/vue/UiIconButton.vue +6 -1
- package/vue/UiSiteHeader.d.ts +17 -5
- package/vue/UiSiteHeader.vue +599 -40
- package/vue/chunks/UiButton.js +1 -1
- package/vue/chunks/UiIcon.js +15 -1
- package/vue/chunks/UiIconButton.js +1 -1
- package/vue/chunks/UiSiteHeader.js +225 -18
- package/vue/components.css +396 -36
- package/vue/editor/index.js +14 -0
|
@@ -27,16 +27,13 @@
|
|
|
27
27
|
inset-block-start: 0;
|
|
28
28
|
z-index: var(--ui-site-header-z-index, 10);
|
|
29
29
|
}
|
|
30
|
-
.
|
|
31
|
-
display:
|
|
30
|
+
.actions {
|
|
31
|
+
display: grid !important;
|
|
32
32
|
flex: none;
|
|
33
33
|
align-items: center !important;
|
|
34
34
|
gap: var(--ui-space-2) !important;
|
|
35
35
|
min-inline-size: 0;
|
|
36
36
|
max-inline-size: 100%;
|
|
37
|
-
}
|
|
38
|
-
.actions {
|
|
39
|
-
display: grid !important;
|
|
40
37
|
grid-auto-flow: column !important;
|
|
41
38
|
grid-auto-columns: minmax(max-content, var(--ui-control-min-block-size)) !important;
|
|
42
39
|
justify-items: center !important;
|
|
@@ -65,11 +62,7 @@
|
|
|
65
62
|
font-size: var(--ui-font-size-sm);
|
|
66
63
|
font-weight: var(--ui-font-semibold);
|
|
67
64
|
}
|
|
68
|
-
|
|
69
|
-
:scope:where([data-component~="ui-site-header"]):has(> .menu:not(:empty)) .navigation {
|
|
70
|
-
display: none !important;
|
|
71
|
-
}
|
|
72
|
-
.menu:empty, .actions:empty, .brand:empty, .navigation:empty {
|
|
65
|
+
.actions:empty, .brand:empty, .navigation:empty {
|
|
73
66
|
display: none !important;
|
|
74
67
|
}
|
|
75
68
|
@media (min-width: 40rem) {
|
|
@@ -77,35 +70,150 @@
|
|
|
77
70
|
min-block-size: var(--ui-site-header-height, 4.25rem);
|
|
78
71
|
column-gap: var(--ui-space-4) !important;
|
|
79
72
|
}
|
|
80
|
-
:scope:where([data-component~="ui-site-header"])[data-ui-site-header-state~="breakpoint=sm"] .navigation:not(:empty) {
|
|
81
|
-
display: flex !important;
|
|
82
|
-
}
|
|
83
|
-
:scope:where([data-component~="ui-site-header"])[data-ui-site-header-state~="breakpoint=sm"] .menu {
|
|
84
|
-
display: none !important;
|
|
85
|
-
}
|
|
86
73
|
}
|
|
87
74
|
@media (min-width: 48rem) {
|
|
88
75
|
:scope:where([data-component~="ui-site-header"])[data-ui-site-header-state~="breakpoint=md"] {
|
|
89
76
|
min-block-size: var(--ui-site-header-height, 4.25rem);
|
|
90
77
|
column-gap: var(--ui-space-4) !important;
|
|
91
78
|
}
|
|
92
|
-
:scope:where([data-component~="ui-site-header"])[data-ui-site-header-state~="breakpoint=md"] .navigation:not(:empty) {
|
|
93
|
-
display: flex !important;
|
|
94
|
-
}
|
|
95
|
-
:scope:where([data-component~="ui-site-header"])[data-ui-site-header-state~="breakpoint=md"] .menu {
|
|
96
|
-
display: none !important;
|
|
97
|
-
}
|
|
98
79
|
}
|
|
99
80
|
@media (min-width: 64rem) {
|
|
100
81
|
:scope:where([data-component~="ui-site-header"])[data-ui-site-header-state~="breakpoint=lg"] {
|
|
101
82
|
min-block-size: var(--ui-site-header-height, 4.25rem);
|
|
102
83
|
column-gap: var(--ui-space-4) !important;
|
|
103
84
|
}
|
|
104
|
-
|
|
105
|
-
|
|
85
|
+
}
|
|
86
|
+
/* The same navigation remains inline before upgrade and on desktop. No links are cloned or moved. */
|
|
87
|
+
.navigation-panel {
|
|
88
|
+
position: static;
|
|
89
|
+
display: flex !important;
|
|
90
|
+
align-items: baseline !important;
|
|
91
|
+
min-inline-size: 0;
|
|
92
|
+
max-inline-size: none;
|
|
93
|
+
margin: 0 !important;
|
|
94
|
+
padding: 0 !important;
|
|
95
|
+
border: 0;
|
|
96
|
+
background: transparent;
|
|
97
|
+
color: inherit;
|
|
98
|
+
}
|
|
99
|
+
.navigation-panel:not([open]), .menu, .panel-heading {
|
|
100
|
+
display: none !important;
|
|
101
|
+
}
|
|
102
|
+
:scope:where([data-component~="ui-site-header"])[data-ui-site-header-state~="drawer"] .identity {
|
|
103
|
+
flex-wrap: nowrap !important;
|
|
104
|
+
align-items: center !important;
|
|
105
|
+
}
|
|
106
|
+
:scope:where([data-component~="ui-site-header"])[data-ui-site-header-state~="drawer"] .brand {
|
|
107
|
+
flex: 1 1 0;
|
|
108
|
+
}
|
|
109
|
+
:scope:where([data-component~="ui-site-header"])[data-ui-site-header-state~="enhanced"][data-ui-site-header-state~="drawer"]:has(.navigation:not(:empty), .custom-menu:not(:empty)) .menu {
|
|
110
|
+
display: grid !important;
|
|
111
|
+
grid-template-columns: minmax(max-content, var(--ui-control-min-block-size)) !important;
|
|
112
|
+
justify-items: center !important;
|
|
113
|
+
flex: none;
|
|
114
|
+
}
|
|
115
|
+
.automatic-menu {
|
|
116
|
+
display: grid !important;
|
|
117
|
+
justify-items: center !important;
|
|
118
|
+
}
|
|
119
|
+
.custom-menu:empty, .menu:has(> .custom-menu:not(:empty)) .automatic-menu {
|
|
120
|
+
display: none !important;
|
|
121
|
+
}
|
|
122
|
+
:scope:where([data-component~="ui-site-header"])[data-ui-site-header-state~="drawer"] .navigation-panel {
|
|
123
|
+
position: fixed;
|
|
124
|
+
inset-block: 0;
|
|
125
|
+
inset-inline-start: 0;
|
|
126
|
+
inset-inline-end: auto;
|
|
127
|
+
box-sizing: border-box !important;
|
|
128
|
+
inline-size: min(var(--ui-site-header-navigation-width, 280px), 85vw);
|
|
129
|
+
max-inline-size: none;
|
|
130
|
+
block-size: 100dvh;
|
|
131
|
+
max-block-size: none;
|
|
132
|
+
margin: 0 !important;
|
|
133
|
+
padding: 0 !important;
|
|
134
|
+
overflow: hidden;
|
|
135
|
+
border: 0;
|
|
136
|
+
border-inline-end: var(--ui-border-width) solid var(--ui-overlay-border, var(--ui-border-divider));
|
|
137
|
+
background: var(--ui-overlay-surface, var(--ui-surface-elevated));
|
|
138
|
+
color: var(--ui-text-primary);
|
|
139
|
+
box-shadow: var(--ui-elevation-overlay, var(--ui-shadow-lg));
|
|
140
|
+
transform: translateX(-100%);
|
|
141
|
+
transition:
|
|
142
|
+
transform var(--ui-motion-reveal) var(--ui-motion-reveal-ease),
|
|
143
|
+
display var(--ui-motion-reveal) allow-discrete,
|
|
144
|
+
overlay var(--ui-motion-reveal) allow-discrete;
|
|
145
|
+
}
|
|
146
|
+
:scope:where([data-component~="ui-site-header"])[data-ui-site-header-state~="drawer"] .navigation-panel[open] {
|
|
147
|
+
display: flex !important;
|
|
148
|
+
flex-direction: column !important;
|
|
149
|
+
align-items: stretch !important;
|
|
150
|
+
transform: translateX(0);
|
|
151
|
+
}
|
|
152
|
+
:scope:where([data-component~="ui-site-header"])[data-ui-site-header-state~="drawer"] .navigation-panel:dir(rtl):not([open]) {
|
|
153
|
+
transform: translateX(100%);
|
|
154
|
+
}
|
|
155
|
+
@starting-style {
|
|
156
|
+
:scope:where([data-component~="ui-site-header"])[data-ui-site-header-state~="drawer"] .navigation-panel[open] {
|
|
157
|
+
transform: translateX(-100%);
|
|
158
|
+
}
|
|
159
|
+
:scope:where([data-component~="ui-site-header"])[data-ui-site-header-state~="drawer"] .navigation-panel[open]:dir(rtl) {
|
|
160
|
+
transform: translateX(100%);
|
|
106
161
|
}
|
|
107
|
-
|
|
108
|
-
|
|
162
|
+
}
|
|
163
|
+
:scope:where([data-component~="ui-site-header"]) {
|
|
164
|
+
--_ui-site-header-backdrop: var(--ui-overlay-backdrop, rgb(0 0 0 / 0.32));
|
|
165
|
+
}
|
|
166
|
+
.navigation-panel:where(:not([data-component], [data-slotted]))::backdrop {
|
|
167
|
+
background: var(--_ui-site-header-backdrop);
|
|
168
|
+
}
|
|
169
|
+
.navigation-panel[data-ui-backdrop-hidden]:where(:not([data-component], [data-slotted]))::backdrop {
|
|
170
|
+
background: transparent;
|
|
171
|
+
}
|
|
172
|
+
:scope:where([data-component~="ui-site-header"])[data-ui-site-header-state~="drawer"] .panel-heading {
|
|
173
|
+
display: flex !important;
|
|
174
|
+
align-items: center !important;
|
|
175
|
+
justify-content: space-between !important;
|
|
176
|
+
gap: var(--ui-space-3) !important;
|
|
177
|
+
padding: var(--ui-space-4) !important;
|
|
178
|
+
flex: none;
|
|
179
|
+
border-block-end: var(--ui-border-width) solid var(--ui-border-divider);
|
|
180
|
+
}
|
|
181
|
+
.panel-title {
|
|
182
|
+
font-size: var(--ui-font-size-lg);
|
|
183
|
+
font-weight: var(--ui-font-semibold);
|
|
184
|
+
line-height: var(--ui-line-height-tight);
|
|
185
|
+
}
|
|
186
|
+
:scope:where([data-component~="ui-site-header"])[data-ui-site-header-state~="drawer"] .navigation {
|
|
187
|
+
font-weight: var(--ui-font-normal);
|
|
188
|
+
flex: 1 1 auto;
|
|
189
|
+
flex-direction: column !important;
|
|
190
|
+
flex-wrap: nowrap !important;
|
|
191
|
+
align-items: stretch !important;
|
|
192
|
+
gap: var(--ui-space-4) !important;
|
|
193
|
+
min-block-size: 0;
|
|
194
|
+
overflow: auto;
|
|
195
|
+
--_ui-scroll-fade-direction: to bottom;
|
|
196
|
+
--_ui-scroll-fade-size: var(--ui-scroll-fade-size, 24px);
|
|
197
|
+
mask-image: linear-gradient(
|
|
198
|
+
var(--_ui-scroll-fade-direction),
|
|
199
|
+
transparent,
|
|
200
|
+
#000 var(--_ui-scroll-fade-start),
|
|
201
|
+
#000 calc(100% - var(--_ui-scroll-fade-end)),
|
|
202
|
+
transparent
|
|
203
|
+
);
|
|
204
|
+
animation: ui-scroll-fade-start linear, ui-scroll-fade-start-hold linear, ui-scroll-fade-end-hold linear, ui-scroll-fade-end linear;
|
|
205
|
+
animation-timeline: scroll(self block);
|
|
206
|
+
animation-range:
|
|
207
|
+
0 var(--_ui-scroll-fade-size),
|
|
208
|
+
var(--_ui-scroll-fade-size) calc(100% + 1px),
|
|
209
|
+
-1px calc(100% - var(--_ui-scroll-fade-size)),
|
|
210
|
+
calc(100% - var(--_ui-scroll-fade-size)) 100%;
|
|
211
|
+
overscroll-behavior: contain;
|
|
212
|
+
padding: var(--ui-space-4) !important;
|
|
213
|
+
}
|
|
214
|
+
@media (prefers-reduced-motion: reduce) {
|
|
215
|
+
:scope:where([data-component~="ui-site-header"])[data-ui-site-header-state~="drawer"] .navigation-panel {
|
|
216
|
+
transition: none;
|
|
109
217
|
}
|
|
110
218
|
}
|
|
111
219
|
:scope:where([data-component~="ui-site-header"])[hidden] {
|
|
@@ -123,7 +231,6 @@
|
|
|
123
231
|
color: inherit;
|
|
124
232
|
text-decoration: none;
|
|
125
233
|
}
|
|
126
|
-
/* Without a supplied menu trigger, keep the destinations available on narrow screens. */
|
|
127
234
|
.navigation > :where([data-slotted], [data-slotted] *):is(a) {
|
|
128
235
|
color: inherit;
|
|
129
236
|
text-decoration: none;
|
|
@@ -141,4 +248,223 @@
|
|
|
141
248
|
}
|
|
142
249
|
@media (min-width: 64rem) {
|
|
143
250
|
}
|
|
251
|
+
/* The same navigation remains inline before upgrade and on desktop. No links are cloned or moved. */
|
|
252
|
+
@starting-style {
|
|
253
|
+
}
|
|
254
|
+
@media (prefers-reduced-motion: reduce) {
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
@scope ([data-slotted~="ui-site-header"]:not([data-component])) to ([data-component], [data-slotted]) {
|
|
258
|
+
:where([data-component~="ui-site-header"]):where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-site-header"]))) {
|
|
259
|
+
box-sizing: border-box !important;
|
|
260
|
+
display: flex !important;
|
|
261
|
+
flex-wrap: wrap !important;
|
|
262
|
+
align-items: center !important;
|
|
263
|
+
align-content: center !important;
|
|
264
|
+
gap: var(--ui-space-2) !important;
|
|
265
|
+
inline-size: 100%;
|
|
266
|
+
min-inline-size: 0;
|
|
267
|
+
min-block-size: var(--ui-site-header-compact-height, 3.75rem);
|
|
268
|
+
padding: var(--ui-space-2) var(--ui-site-header-padding-inline, var(--ui-space-4)) !important;
|
|
269
|
+
border-block-end: var(--ui-border-width) solid var(--ui-site-header-border, var(--ui-border));
|
|
270
|
+
background: var(--ui-site-header-surface, var(--ui-surface));
|
|
271
|
+
color: var(--ui-text-primary);
|
|
272
|
+
}
|
|
273
|
+
:where([data-component~="ui-site-header"])[data-ui-site-header-state~="sticky"]:where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-site-header"]))) {
|
|
274
|
+
position: sticky;
|
|
275
|
+
inset-block-start: 0;
|
|
276
|
+
z-index: var(--ui-site-header-z-index, 10);
|
|
277
|
+
}
|
|
278
|
+
.actions:where(:scope, :scope *) {
|
|
279
|
+
display: grid !important;
|
|
280
|
+
flex: none;
|
|
281
|
+
align-items: center !important;
|
|
282
|
+
gap: var(--ui-space-2) !important;
|
|
283
|
+
min-inline-size: 0;
|
|
284
|
+
max-inline-size: 100%;
|
|
285
|
+
grid-auto-flow: column !important;
|
|
286
|
+
grid-auto-columns: minmax(max-content, var(--ui-control-min-block-size)) !important;
|
|
287
|
+
justify-items: center !important;
|
|
288
|
+
margin-inline-start: auto !important;
|
|
289
|
+
}
|
|
290
|
+
/* Text shares a baseline inside one group; the group is centred beside any control height. */
|
|
291
|
+
.identity:where(:scope, :scope *) {
|
|
292
|
+
display: flex !important;
|
|
293
|
+
flex: 1 1 0;
|
|
294
|
+
flex-wrap: wrap !important;
|
|
295
|
+
align-items: baseline !important;
|
|
296
|
+
gap: var(--ui-space-2) var(--ui-space-6) !important;
|
|
297
|
+
min-inline-size: 0;
|
|
298
|
+
}
|
|
299
|
+
.brand:where(:scope, :scope *) {
|
|
300
|
+
min-inline-size: 0;
|
|
301
|
+
font-size: var(--ui-font-size-lg);
|
|
302
|
+
font-weight: var(--ui-font-bold);
|
|
303
|
+
}
|
|
304
|
+
.navigation:where(:scope, :scope *) {
|
|
305
|
+
display: flex !important;
|
|
306
|
+
flex-wrap: wrap !important;
|
|
307
|
+
align-items: baseline !important;
|
|
308
|
+
gap: var(--ui-space-2) var(--ui-space-5) !important;
|
|
309
|
+
min-inline-size: 0;
|
|
310
|
+
font-size: var(--ui-font-size-sm);
|
|
311
|
+
font-weight: var(--ui-font-semibold);
|
|
312
|
+
}
|
|
313
|
+
.actions:empty:where(:scope, :scope *), .brand:empty:where(:scope, :scope *), .navigation:empty:where(:scope, :scope *) {
|
|
314
|
+
display: none !important;
|
|
315
|
+
}
|
|
316
|
+
@media (min-width: 40rem) {
|
|
317
|
+
:where([data-component~="ui-site-header"])[data-ui-site-header-state~="breakpoint=sm"]:where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-site-header"]))) {
|
|
318
|
+
min-block-size: var(--ui-site-header-height, 4.25rem);
|
|
319
|
+
column-gap: var(--ui-space-4) !important;
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
@media (min-width: 48rem) {
|
|
323
|
+
:where([data-component~="ui-site-header"])[data-ui-site-header-state~="breakpoint=md"]:where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-site-header"]))) {
|
|
324
|
+
min-block-size: var(--ui-site-header-height, 4.25rem);
|
|
325
|
+
column-gap: var(--ui-space-4) !important;
|
|
326
|
+
}
|
|
327
|
+
}
|
|
328
|
+
@media (min-width: 64rem) {
|
|
329
|
+
:where([data-component~="ui-site-header"])[data-ui-site-header-state~="breakpoint=lg"]:where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-site-header"]))) {
|
|
330
|
+
min-block-size: var(--ui-site-header-height, 4.25rem);
|
|
331
|
+
column-gap: var(--ui-space-4) !important;
|
|
332
|
+
}
|
|
333
|
+
}
|
|
334
|
+
/* The same navigation remains inline before upgrade and on desktop. No links are cloned or moved. */
|
|
335
|
+
.navigation-panel:where(:scope, :scope *) {
|
|
336
|
+
position: static;
|
|
337
|
+
display: flex !important;
|
|
338
|
+
align-items: baseline !important;
|
|
339
|
+
min-inline-size: 0;
|
|
340
|
+
max-inline-size: none;
|
|
341
|
+
margin: 0 !important;
|
|
342
|
+
padding: 0 !important;
|
|
343
|
+
border: 0;
|
|
344
|
+
background: transparent;
|
|
345
|
+
color: inherit;
|
|
346
|
+
}
|
|
347
|
+
.navigation-panel:not([open]):where(:scope, :scope *), .menu:where(:scope, :scope *), .panel-heading:where(:scope, :scope *) {
|
|
348
|
+
display: none !important;
|
|
349
|
+
}
|
|
350
|
+
:where([data-component~="ui-site-header"])[data-ui-site-header-state~="drawer"] .identity:where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-site-header"]))) {
|
|
351
|
+
flex-wrap: nowrap !important;
|
|
352
|
+
align-items: center !important;
|
|
353
|
+
}
|
|
354
|
+
:where([data-component~="ui-site-header"])[data-ui-site-header-state~="drawer"] .brand:where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-site-header"]))) {
|
|
355
|
+
flex: 1 1 0;
|
|
356
|
+
}
|
|
357
|
+
:where([data-component~="ui-site-header"])[data-ui-site-header-state~="enhanced"][data-ui-site-header-state~="drawer"]:has(.navigation:not(:empty), .custom-menu:not(:empty)) .menu:where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-site-header"]))) {
|
|
358
|
+
display: grid !important;
|
|
359
|
+
grid-template-columns: minmax(max-content, var(--ui-control-min-block-size)) !important;
|
|
360
|
+
justify-items: center !important;
|
|
361
|
+
flex: none;
|
|
362
|
+
}
|
|
363
|
+
.automatic-menu:where(:scope, :scope *) {
|
|
364
|
+
display: grid !important;
|
|
365
|
+
justify-items: center !important;
|
|
366
|
+
}
|
|
367
|
+
.custom-menu:empty:where(:scope, :scope *), .menu:has(> .custom-menu:not(:empty)):where(:scope, :scope *) .automatic-menu {
|
|
368
|
+
display: none !important;
|
|
369
|
+
}
|
|
370
|
+
:where([data-component~="ui-site-header"])[data-ui-site-header-state~="drawer"] .navigation-panel:where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-site-header"]))) {
|
|
371
|
+
position: fixed;
|
|
372
|
+
inset-block: 0;
|
|
373
|
+
inset-inline-start: 0;
|
|
374
|
+
inset-inline-end: auto;
|
|
375
|
+
box-sizing: border-box !important;
|
|
376
|
+
inline-size: min(var(--ui-site-header-navigation-width, 280px), 85vw);
|
|
377
|
+
max-inline-size: none;
|
|
378
|
+
block-size: 100dvh;
|
|
379
|
+
max-block-size: none;
|
|
380
|
+
margin: 0 !important;
|
|
381
|
+
padding: 0 !important;
|
|
382
|
+
overflow: hidden;
|
|
383
|
+
border: 0;
|
|
384
|
+
border-inline-end: var(--ui-border-width) solid var(--ui-overlay-border, var(--ui-border-divider));
|
|
385
|
+
background: var(--ui-overlay-surface, var(--ui-surface-elevated));
|
|
386
|
+
color: var(--ui-text-primary);
|
|
387
|
+
box-shadow: var(--ui-elevation-overlay, var(--ui-shadow-lg));
|
|
388
|
+
transform: translateX(-100%);
|
|
389
|
+
transition:
|
|
390
|
+
transform var(--ui-motion-reveal) var(--ui-motion-reveal-ease),
|
|
391
|
+
display var(--ui-motion-reveal) allow-discrete,
|
|
392
|
+
overlay var(--ui-motion-reveal) allow-discrete;
|
|
393
|
+
}
|
|
394
|
+
:where([data-component~="ui-site-header"])[data-ui-site-header-state~="drawer"] .navigation-panel[open]:where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-site-header"]))) {
|
|
395
|
+
display: flex !important;
|
|
396
|
+
flex-direction: column !important;
|
|
397
|
+
align-items: stretch !important;
|
|
398
|
+
transform: translateX(0);
|
|
399
|
+
}
|
|
400
|
+
:where([data-component~="ui-site-header"])[data-ui-site-header-state~="drawer"] .navigation-panel:dir(rtl):not([open]):where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-site-header"]))) {
|
|
401
|
+
transform: translateX(100%);
|
|
402
|
+
}
|
|
403
|
+
@starting-style {
|
|
404
|
+
:where([data-component~="ui-site-header"])[data-ui-site-header-state~="drawer"] .navigation-panel[open]:where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-site-header"]))) {
|
|
405
|
+
transform: translateX(-100%);
|
|
406
|
+
}
|
|
407
|
+
:where([data-component~="ui-site-header"])[data-ui-site-header-state~="drawer"] .navigation-panel[open]:dir(rtl):where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-site-header"]))) {
|
|
408
|
+
transform: translateX(100%);
|
|
409
|
+
}
|
|
410
|
+
}
|
|
411
|
+
:where([data-component~="ui-site-header"]):where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-site-header"]))) {
|
|
412
|
+
--_ui-site-header-backdrop: var(--ui-overlay-backdrop, rgb(0 0 0 / 0.32));
|
|
413
|
+
}
|
|
414
|
+
.navigation-panel:where(:not([data-component], [data-slotted]:not([data-slotted~="ui-site-header"]))):where(:scope, :scope *)::backdrop {
|
|
415
|
+
background: var(--_ui-site-header-backdrop);
|
|
416
|
+
}
|
|
417
|
+
.navigation-panel[data-ui-backdrop-hidden]:where(:not([data-component], [data-slotted]:not([data-slotted~="ui-site-header"]))):where(:scope, :scope *)::backdrop {
|
|
418
|
+
background: transparent;
|
|
419
|
+
}
|
|
420
|
+
:where([data-component~="ui-site-header"])[data-ui-site-header-state~="drawer"] .panel-heading:where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-site-header"]))) {
|
|
421
|
+
display: flex !important;
|
|
422
|
+
align-items: center !important;
|
|
423
|
+
justify-content: space-between !important;
|
|
424
|
+
gap: var(--ui-space-3) !important;
|
|
425
|
+
padding: var(--ui-space-4) !important;
|
|
426
|
+
flex: none;
|
|
427
|
+
border-block-end: var(--ui-border-width) solid var(--ui-border-divider);
|
|
428
|
+
}
|
|
429
|
+
.panel-title:where(:scope, :scope *) {
|
|
430
|
+
font-size: var(--ui-font-size-lg);
|
|
431
|
+
font-weight: var(--ui-font-semibold);
|
|
432
|
+
line-height: var(--ui-line-height-tight);
|
|
433
|
+
}
|
|
434
|
+
:where([data-component~="ui-site-header"])[data-ui-site-header-state~="drawer"] .navigation:where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-site-header"]))) {
|
|
435
|
+
font-weight: var(--ui-font-normal);
|
|
436
|
+
flex: 1 1 auto;
|
|
437
|
+
flex-direction: column !important;
|
|
438
|
+
flex-wrap: nowrap !important;
|
|
439
|
+
align-items: stretch !important;
|
|
440
|
+
gap: var(--ui-space-4) !important;
|
|
441
|
+
min-block-size: 0;
|
|
442
|
+
overflow: auto;
|
|
443
|
+
--_ui-scroll-fade-direction: to bottom;
|
|
444
|
+
--_ui-scroll-fade-size: var(--ui-scroll-fade-size, 24px);
|
|
445
|
+
mask-image: linear-gradient(
|
|
446
|
+
var(--_ui-scroll-fade-direction),
|
|
447
|
+
transparent,
|
|
448
|
+
#000 var(--_ui-scroll-fade-start),
|
|
449
|
+
#000 calc(100% - var(--_ui-scroll-fade-end)),
|
|
450
|
+
transparent
|
|
451
|
+
);
|
|
452
|
+
animation: ui-scroll-fade-start linear, ui-scroll-fade-start-hold linear, ui-scroll-fade-end-hold linear, ui-scroll-fade-end linear;
|
|
453
|
+
animation-timeline: scroll(self block);
|
|
454
|
+
animation-range:
|
|
455
|
+
0 var(--_ui-scroll-fade-size),
|
|
456
|
+
var(--_ui-scroll-fade-size) calc(100% + 1px),
|
|
457
|
+
-1px calc(100% - var(--_ui-scroll-fade-size)),
|
|
458
|
+
calc(100% - var(--_ui-scroll-fade-size)) 100%;
|
|
459
|
+
overscroll-behavior: contain;
|
|
460
|
+
padding: var(--ui-space-4) !important;
|
|
461
|
+
}
|
|
462
|
+
@media (prefers-reduced-motion: reduce) {
|
|
463
|
+
:where([data-component~="ui-site-header"])[data-ui-site-header-state~="drawer"] .navigation-panel:where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-site-header"]))) {
|
|
464
|
+
transition: none;
|
|
465
|
+
}
|
|
466
|
+
}
|
|
467
|
+
:where([data-component~="ui-site-header"])[hidden]:where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-site-header"]))) {
|
|
468
|
+
display: none !important;
|
|
469
|
+
}
|
|
144
470
|
}
|
package/vanilla/UiIcon.js
CHANGED
|
@@ -29,7 +29,7 @@ export function createUiIcon(options = {}, html) {
|
|
|
29
29
|
const inputStatus = (j) => { if (j >= 0 && j < 1) { g(j); return CS[j] ?? UNRESOLVED_INPUT; } if (j === 1) return awaitInput(B, "name", true); if (j === 2) return awaitInput(B, "tone", true); return v[j] === undefined ? UNRESOLVED_INPUT : READY_INPUT; };
|
|
30
30
|
const X = { e: 0, g: (j) => g(j), w: new Set(), a: CS, i: inputStatus };
|
|
31
31
|
const ke = [];
|
|
32
|
-
const K = [() => readIndex({ "align-center": [{ "tag": "path", "d": "M21 5H3" }, { "tag": "path", "d": "M17 12H7" }, { "tag": "path", "d": "M19 19H5" }], "align-left": [{ "tag": "path", "d": "M21 5H3" }, { "tag": "path", "d": "M15 12H3" }, { "tag": "path", "d": "M17 19H3" }], "align-right": [{ "tag": "path", "d": "M21 5H3" }, { "tag": "path", "d": "M21 12H9" }, { "tag": "path", "d": "M21 19H7" }], "arrow-left": [{ "tag": "path", "d": "m12 19-7-7 7-7" }, { "tag": "path", "d": "M19 12H5" }], "bell": [{ "tag": "path", "d": "M10.268 21a2 2 0 0 0 3.464 0" }, { "tag": "path", "d": "M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326" }], "bold": [{ "tag": "path", "d": "M6 12h9a4 4 0 0 1 0 8H7a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h7a4 4 0 0 1 0 8" }], "book-user": [{ "tag": "path", "d": "M15 13a3 3 0 1 0-6 0" }, { "tag": "path", "d": "M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20" }, { "tag": "circle", "cx": "12", "cy": "8", "r": "2" }], "braces": [{ "tag": "path", "d": "M8 3H7a2 2 0 0 0-2 2v5a2 2 0 0 1-2 2 2 2 0 0 1 2 2v5c0 1.1.9 2 2 2h1" }, { "tag": "path", "d": "M16 21h1a2 2 0 0 0 2-2v-5c0-1.1.9-2 2-2a2 2 0 0 1-2-2V5a2 2 0 0 0-2-2h-1" }], "calculator": [{ "tag": "rect", "width": "16", "height": "20", "x": "4", "y": "2", "rx": "2" }, { "tag": "line", "x1": "8", "x2": "16", "y1": "6", "y2": "6" }, { "tag": "line", "x1": "16", "x2": "16", "y1": "14", "y2": "18" }, { "tag": "path", "d": "M16 10h.01" }, { "tag": "path", "d": "M12 10h.01" }, { "tag": "path", "d": "M8 10h.01" }, { "tag": "path", "d": "M12 14h.01" }, { "tag": "path", "d": "M8 14h.01" }, { "tag": "path", "d": "M12 18h.01" }, { "tag": "path", "d": "M8 18h.01" }], "check": [{ "tag": "path", "d": "M20 6 9 17l-5-5" }], "chevron-down": [{ "tag": "path", "d": "m6 9 6 6 6-6" }], "chevron-left": [{ "tag": "path", "d": "m15 18-6-6 6-6" }], "chevron-right": [{ "tag": "path", "d": "m9 18 6-6-6-6" }], "circle-check": [{ "tag": "circle", "cx": "12", "cy": "12", "r": "10" }, { "tag": "path", "d": "m9 12 2 2 4-4" }], "circle-dot": [{ "tag": "circle", "cx": "12", "cy": "12", "r": "10" }, { "tag": "circle", "cx": "12", "cy": "12", "r": "1" }], "circle-x": [{ "tag": "circle", "cx": "12", "cy": "12", "r": "10" }, { "tag": "path", "d": "m15 9-6 6" }, { "tag": "path", "d": "m9 9 6 6" }], "code-xml": [{ "tag": "path", "d": "m18 16 4-4-4-4" }, { "tag": "path", "d": "m6 8-4 4 4 4" }, { "tag": "path", "d": "m14.5 4-5 16" }], "columns": [{ "tag": "rect", "width": "18", "height": "18", "x": "3", "y": "3", "rx": "2" }, { "tag": "path", "d": "M9 3v18" }, { "tag": "path", "d": "M15 3v18" }], "compass": [{ "tag": "path", "d": "m16.24 7.76-1.804 5.411a2 2 0 0 1-1.265 1.265L7.76 16.24l1.804-5.411a2 2 0 0 1 1.265-1.265z" }, { "tag": "circle", "cx": "12", "cy": "12", "r": "10" }], "credit-card": [{ "tag": "rect", "width": "20", "height": "14", "x": "2", "y": "5", "rx": "2" }, { "tag": "line", "x1": "2", "x2": "22", "y1": "10", "y2": "10" }], "ellipsis": [{ "tag": "circle", "cx": "12", "cy": "12", "r": "1" }, { "tag": "circle", "cx": "19", "cy": "12", "r": "1" }, { "tag": "circle", "cx": "5", "cy": "12", "r": "1" }], "eraser": [{ "tag": "path", "d": "M21 21H8a2 2 0 0 1-1.42-.587l-3.994-3.999a2 2 0 0 1 0-2.828l10-10a2 2 0 0 1 2.829 0l5.999 6a2 2 0 0 1 0 2.828L12.834 21" }, { "tag": "path", "d": "m5.082 11.09 8.828 8.828" }], "external-link": [{ "tag": "path", "d": "M15 3h6v6" }, { "tag": "path", "d": "M10 14 21 3" }, { "tag": "path", "d": "M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6" }], "file-text": [{ "tag": "path", "d": "M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z" }, { "tag": "path", "d": "M14 2v5a1 1 0 0 0 1 1h5" }, { "tag": "path", "d": "M10 9H8" }, { "tag": "path", "d": "M16 13H8" }, { "tag": "path", "d": "M16 17H8" }], "folder": [{ "tag": "path", "d": "M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z" }], "grip-horizontal": [{ "tag": "circle", "cx": "12", "cy": "9", "r": "1" }, { "tag": "circle", "cx": "19", "cy": "9", "r": "1" }, { "tag": "circle", "cx": "5", "cy": "9", "r": "1" }, { "tag": "circle", "cx": "12", "cy": "15", "r": "1" }, { "tag": "circle", "cx": "19", "cy": "15", "r": "1" }, { "tag": "circle", "cx": "5", "cy": "15", "r": "1" }], "grip-vertical": [{ "tag": "circle", "cx": "9", "cy": "12", "r": "1" }, { "tag": "circle", "cx": "9", "cy": "5", "r": "1" }, { "tag": "circle", "cx": "9", "cy": "19", "r": "1" }, { "tag": "circle", "cx": "15", "cy": "12", "r": "1" }, { "tag": "circle", "cx": "15", "cy": "5", "r": "1" }, { "tag": "circle", "cx": "15", "cy": "19", "r": "1" }], "heading-1": [{ "tag": "path", "d": "M4 12h8" }, { "tag": "path", "d": "M4 18V6" }, { "tag": "path", "d": "M12 18V6" }, { "tag": "path", "d": "m17 12 3-2v8" }], "heading-2": [{ "tag": "path", "d": "M4 12h8" }, { "tag": "path", "d": "M4 18V6" }, { "tag": "path", "d": "M12 18V6" }, { "tag": "path", "d": "M21 18h-4c0-4 4-3 4-6 0-1.5-2-2.5-4-1" }], "heading-3": [{ "tag": "path", "d": "M4 12h8" }, { "tag": "path", "d": "M4 18V6" }, { "tag": "path", "d": "M12 18V6" }, { "tag": "path", "d": "M17.5 10.5c1.7-1 3.5 0 3.5 1.5a2 2 0 0 1-2 2" }, { "tag": "path", "d": "M17 17.5c2 1.5 4 .3 4-1.5a2 2 0 0 0-2-2" }], "help": [{ "tag": "circle", "cx": "12", "cy": "12", "r": "10" }, { "tag": "path", "d": "M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3" }, { "tag": "path", "d": "M12 17h.01" }], "highlighter": [{ "tag": "path", "d": "m9 11-6 6v3h9l3-3" }, { "tag": "path", "d": "m22 12-4.6 4.6a2 2 0 0 1-2.8 0l-5.2-5.2a2 2 0 0 1 0-2.8L14 4" }], "history": [{ "tag": "path", "d": "M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8" }, { "tag": "path", "d": "M3 3v5h5" }, { "tag": "path", "d": "M12 7v5l4 2" }], "image": [{ "tag": "rect", "width": "18", "height": "18", "x": "3", "y": "3", "rx": "2", "ry": "2" }, { "tag": "circle", "cx": "9", "cy": "9", "r": "2" }, { "tag": "path", "d": "m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21" }], "info": [{ "tag": "circle", "cx": "12", "cy": "12", "r": "10" }, { "tag": "path", "d": "M12 16v-4" }, { "tag": "path", "d": "M12 8h.01" }], "italic": [{ "tag": "line", "x1": "19", "x2": "10", "y1": "4", "y2": "4" }, { "tag": "line", "x1": "14", "x2": "5", "y1": "20", "y2": "20" }, { "tag": "line", "x1": "15", "x2": "9", "y1": "4", "y2": "20" }], "layout-dashboard": [{ "tag": "rect", "width": "7", "height": "9", "x": "3", "y": "3", "rx": "1" }, { "tag": "rect", "width": "7", "height": "5", "x": "14", "y": "3", "rx": "1" }, { "tag": "rect", "width": "7", "height": "9", "x": "14", "y": "12", "rx": "1" }, { "tag": "rect", "width": "7", "height": "5", "x": "3", "y": "16", "rx": "1" }], "lightbulb": [{ "tag": "path", "d": "M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5" }, { "tag": "path", "d": "M9 18h6" }, { "tag": "path", "d": "M10 22h4" }], "link": [{ "tag": "path", "d": "M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71" }, { "tag": "path", "d": "M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71" }], "list": [{ "tag": "path", "d": "M3 5h.01" }, { "tag": "path", "d": "M3 12h.01" }, { "tag": "path", "d": "M3 19h.01" }, { "tag": "path", "d": "M8 5h13" }, { "tag": "path", "d": "M8 12h13" }, { "tag": "path", "d": "M8 19h13" }], "list-ordered": [{ "tag": "path", "d": "M11 5h10" }, { "tag": "path", "d": "M11 12h10" }, { "tag": "path", "d": "M11 19h10" }, { "tag": "path", "d": "M4 4h1v5" }, { "tag": "path", "d": "M4 9h2" }, { "tag": "path", "d": "M6.5 20H3.4c0-1 2.6-1.925 2.6-3.5a1.5 1.5 0 0 0-2.6-1.02" }], "list-todo": [{ "tag": "path", "d": "M13 5h8" }, { "tag": "path", "d": "M13 12h8" }, { "tag": "path", "d": "M13 19h8" }, { "tag": "path", "d": "m3 17 2 2 4-4" }, { "tag": "rect", "x": "3", "y": "4", "width": "6", "height": "6", "rx": "1" }], "loader": [{ "tag": "path", "d": "M21 12a9 9 0 1 1-6.219-8.56" }], "merge": [{ "tag": "path", "d": "m8 6 4-4 4 4" }, { "tag": "path", "d": "M12 2v10.3a4 4 0 0 1-1.172 2.872L4 22" }, { "tag": "path", "d": "m20 22-5-5" }], "message-square-warning": [{ "tag": "path", "d": "M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z" }, { "tag": "path", "d": "M12 15h.01" }, { "tag": "path", "d": "M12 7v4" }], "minus": [{ "tag": "path", "d": "M5 12h14" }], "monitor": [{ "tag": "rect", "width": "20", "height": "14", "x": "2", "y": "3", "rx": "2" }, { "tag": "line", "x1": "8", "x2": "16", "y1": "21", "y2": "21" }, { "tag": "line", "x1": "12", "x2": "12", "y1": "17", "y2": "21" }], "moon": [{ "tag": "path", "d": "M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401" }], "notebook-pen": [{ "tag": "path", "d": "M13.4 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-7.4" }, { "tag": "path", "d": "M2 6h4" }, { "tag": "path", "d": "M2 10h4" }, { "tag": "path", "d": "M2 14h4" }, { "tag": "path", "d": "M2 18h4" }, { "tag": "path", "d": "M21.378 5.626a1 1 0 1 0-3.004-3.004l-5.01 5.012a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506z" }], "paint-bucket": [{ "tag": "path", "d": "m19 11-8-8-8.6 8.6a2 2 0 0 0 0 2.8l5.2 5.2c.8.8 2 .8 2.8 0L19 11Z" }, { "tag": "path", "d": "m5 2 5 5" }, { "tag": "path", "d": "M2 13h15" }, { "tag": "path", "d": "M22 20a2 2 0 1 1-4 0c0-1.6 1.7-2.4 2-4 .3 1.6 2 2.4 2 4Z" }], "panel-bottom": [{ "tag": "rect", "width": "18", "height": "18", "x": "3", "y": "3", "rx": "2" }, { "tag": "path", "d": "M3 15h18" }], "panel-left": [{ "tag": "rect", "width": "18", "height": "18", "x": "3", "y": "3", "rx": "2" }, { "tag": "path", "d": "M9 3v18" }], "panel-right": [{ "tag": "rect", "width": "18", "height": "18", "x": "3", "y": "3", "rx": "2" }, { "tag": "path", "d": "M15 3v18" }], "panel-top": [{ "tag": "rect", "width": "18", "height": "18", "x": "3", "y": "3", "rx": "2" }, { "tag": "path", "d": "M3 9h18" }], "paperclip": [{ "tag": "path", "d": "m16 6-8.414 8.586a2 2 0 0 0 2.829 2.829l8.414-8.586a4 4 0 1 0-5.657-5.657l-8.379 8.551a6 6 0 1 0 8.485 8.485l8.379-8.551" }], "pencil": [{ "tag": "path", "d": "M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z" }, { "tag": "path", "d": "m15 5 4 4" }], "pilcrow": [{ "tag": "path", "d": "M13 4v16" }, { "tag": "path", "d": "M17 4v16" }, { "tag": "path", "d": "M19 4H9.5a4.5 4.5 0 0 0 0 9H13" }], "plus": [{ "tag": "path", "d": "M5 12h14" }, { "tag": "path", "d": "M12 5v14" }], "quote": [{ "tag": "path", "d": "M16 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z" }, { "tag": "path", "d": "M5 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z" }], "receipt": [{ "tag": "path", "d": "M4 2v20l2-1 2 1 2-1 2 1 2-1 2 1 2-1 2 1V2l-2 1-2-1-2 1-2-1-2 1-2-1-2 1Z" }, { "tag": "path", "d": "M16 8h-6a2 2 0 1 0 0 4h4a2 2 0 1 1 0 4H8" }, { "tag": "path", "d": "M12 17.5v-11" }], "redo": [{ "tag": "path", "d": "m15 14 5-5-5-5" }, { "tag": "path", "d": "M20 9H9.5A5.5 5.5 0 0 0 4 14.5A5.5 5.5 0 0 0 9.5 20H13" }], "rows": [{ "tag": "rect", "width": "18", "height": "18", "x": "3", "y": "3", "rx": "2" }, { "tag": "path", "d": "M21 9H3" }, { "tag": "path", "d": "M21 15H3" }], "search": [{ "tag": "path", "d": "m21 21-4.34-4.34" }, { "tag": "circle", "cx": "11", "cy": "11", "r": "8" }], "settings": [{ "tag": "path", "d": "M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915" }, { "tag": "circle", "cx": "12", "cy": "12", "r": "3" }], "slash": [{ "tag": "path", "d": "M22 2 2 22" }], "split": [{ "tag": "path", "d": "M16 3h5v5" }, { "tag": "path", "d": "M8 3H3v5" }, { "tag": "path", "d": "M12 22v-8.3a4 4 0 0 0-1.172-2.872L3 3" }, { "tag": "path", "d": "m15 9 6-6" }], "strikethrough": [{ "tag": "path", "d": "M16 4H9a3 3 0 0 0-2.83 4" }, { "tag": "path", "d": "M14 12a4 4 0 0 1 0 8H6" }, { "tag": "line", "x1": "4", "x2": "20", "y1": "12", "y2": "12" }], "sun": [{ "tag": "circle", "cx": "12", "cy": "12", "r": "4" }, { "tag": "path", "d": "M12 2v2" }, { "tag": "path", "d": "M12 20v2" }, { "tag": "path", "d": "m4.93 4.93 1.41 1.41" }, { "tag": "path", "d": "m17.66 17.66 1.41 1.41" }, { "tag": "path", "d": "M2 12h2" }, { "tag": "path", "d": "M20 12h2" }, { "tag": "path", "d": "m6.34 17.66-1.41 1.41" }, { "tag": "path", "d": "m19.07 4.93-1.41 1.41" }], "superscript": [{ "tag": "path", "d": "m4 19 8-8" }, { "tag": "path", "d": "m12 19-8-8" }, { "tag": "path", "d": "M20 12h-4c0-1.5.442-2 1.5-2.5S20 8.334 20 7.002c0-.472-.17-.93-.484-1.29a2.105 2.105 0 0 0-2.617-.436c-.42.239-.738.614-.899 1.06" }], "table": [{ "tag": "path", "d": "M9 3H5a2 2 0 0 0-2 2v4m6-6h10a2 2 0 0 1 2 2v4M9 3v18m0 0h10a2 2 0 0 0 2-2V9M9 21H5a2 2 0 0 1-2-2V9m0 0h18" }], "tag": [{ "tag": "path", "d": "M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z" }, { "tag": "circle", "cx": "7.5", "cy": "7.5", "r": ".5", "fill": "currentColor" }], "trash": [{ "tag": "path", "d": "M10 11v6" }, { "tag": "path", "d": "M14 11v6" }, { "tag": "path", "d": "M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6" }, { "tag": "path", "d": "M3 6h18" }, { "tag": "path", "d": "M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2" }], "triangle-alert": [{ "tag": "path", "d": "m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3" }, { "tag": "path", "d": "M12 9v4" }, { "tag": "path", "d": "M12 17h.01" }], "truck": [{ "tag": "path", "d": "M14 18V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v11a1 1 0 0 0 1 1h2" }, { "tag": "path", "d": "M15 18H9" }, { "tag": "path", "d": "M19 18h2a1 1 0 0 0 1-1v-3.65a1 1 0 0 0-.22-.624l-3.48-4.35A1 1 0 0 0 17.52 8H14" }, { "tag": "circle", "cx": "17", "cy": "18", "r": "2" }, { "tag": "circle", "cx": "7", "cy": "18", "r": "2" }], "underline": [{ "tag": "path", "d": "M6 4v6a6 6 0 0 0 12 0V4" }, { "tag": "line", "x1": "4", "x2": "20", "y1": "20", "y2": "20" }], "undo": [{ "tag": "path", "d": "M9 14 4 9l5-5" }, { "tag": "path", "d": "M4 9h10.5a5.5 5.5 0 0 1 5.5 5.5a5.5 5.5 0 0 1-5.5 5.5H11" }], "unlink": [{ "tag": "path", "d": "m18.84 12.25 1.72-1.71h-.02a5.004 5.004 0 0 0-.12-7.07 5.006 5.006 0 0 0-6.95 0l-1.72 1.71" }, { "tag": "path", "d": "m5.17 11.75-1.71 1.71a5.004 5.004 0 0 0 .12 7.07 5.006 5.006 0 0 0 6.95 0l1.71-1.71" }, { "tag": "line", "x1": "8", "x2": "8", "y1": "2", "y2": "5" }, { "tag": "line", "x1": "2", "x2": "5", "y1": "8", "y2": "8" }, { "tag": "line", "x1": "16", "x2": "16", "y1": "19", "y2": "22" }, { "tag": "line", "x1": "19", "x2": "22", "y1": "16", "y2": "16" }], "user-round": [{ "tag": "circle", "cx": "12", "cy": "8", "r": "5" }, { "tag": "path", "d": "M20 21a8 8 0 0 0-16 0" }], "users": [{ "tag": "path", "d": "M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2" }, { "tag": "path", "d": "M16 3.128a4 4 0 0 1 0 7.744" }, { "tag": "path", "d": "M22 21v-2a4 4 0 0 0-3-3.87" }, { "tag": "circle", "cx": "9", "cy": "7", "r": "4" }], "x": [{ "tag": "path", "d": "M18 6 6 18" }, { "tag": "path", "d": "m6 6 12 12" }] }, inputRead(v[1], inputStatus(1)))];
|
|
32
|
+
const K = [() => readIndex({ "align-center": [{ "tag": "path", "d": "M21 5H3" }, { "tag": "path", "d": "M17 12H7" }, { "tag": "path", "d": "M19 19H5" }], "align-left": [{ "tag": "path", "d": "M21 5H3" }, { "tag": "path", "d": "M15 12H3" }, { "tag": "path", "d": "M17 19H3" }], "align-right": [{ "tag": "path", "d": "M21 5H3" }, { "tag": "path", "d": "M21 12H9" }, { "tag": "path", "d": "M21 19H7" }], "arrow-left": [{ "tag": "path", "d": "m12 19-7-7 7-7" }, { "tag": "path", "d": "M19 12H5" }], "bell": [{ "tag": "path", "d": "M10.268 21a2 2 0 0 0 3.464 0" }, { "tag": "path", "d": "M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326" }], "bold": [{ "tag": "path", "d": "M6 12h9a4 4 0 0 1 0 8H7a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h7a4 4 0 0 1 0 8" }], "book-user": [{ "tag": "path", "d": "M15 13a3 3 0 1 0-6 0" }, { "tag": "path", "d": "M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20" }, { "tag": "circle", "cx": "12", "cy": "8", "r": "2" }], "braces": [{ "tag": "path", "d": "M8 3H7a2 2 0 0 0-2 2v5a2 2 0 0 1-2 2 2 2 0 0 1 2 2v5c0 1.1.9 2 2 2h1" }, { "tag": "path", "d": "M16 21h1a2 2 0 0 0 2-2v-5c0-1.1.9-2 2-2a2 2 0 0 1-2-2V5a2 2 0 0 0-2-2h-1" }], "calculator": [{ "tag": "rect", "width": "16", "height": "20", "x": "4", "y": "2", "rx": "2" }, { "tag": "line", "x1": "8", "x2": "16", "y1": "6", "y2": "6" }, { "tag": "line", "x1": "16", "x2": "16", "y1": "14", "y2": "18" }, { "tag": "path", "d": "M16 10h.01" }, { "tag": "path", "d": "M12 10h.01" }, { "tag": "path", "d": "M8 10h.01" }, { "tag": "path", "d": "M12 14h.01" }, { "tag": "path", "d": "M8 14h.01" }, { "tag": "path", "d": "M12 18h.01" }, { "tag": "path", "d": "M8 18h.01" }], "check": [{ "tag": "path", "d": "M20 6 9 17l-5-5" }], "chevron-down": [{ "tag": "path", "d": "m6 9 6 6 6-6" }], "chevron-left": [{ "tag": "path", "d": "m15 18-6-6 6-6" }], "chevron-right": [{ "tag": "path", "d": "m9 18 6-6-6-6" }], "circle-check": [{ "tag": "circle", "cx": "12", "cy": "12", "r": "10" }, { "tag": "path", "d": "m9 12 2 2 4-4" }], "circle-dot": [{ "tag": "circle", "cx": "12", "cy": "12", "r": "10" }, { "tag": "circle", "cx": "12", "cy": "12", "r": "1" }], "circle-x": [{ "tag": "circle", "cx": "12", "cy": "12", "r": "10" }, { "tag": "path", "d": "m15 9-6 6" }, { "tag": "path", "d": "m9 9 6 6" }], "code-xml": [{ "tag": "path", "d": "m18 16 4-4-4-4" }, { "tag": "path", "d": "m6 8-4 4 4 4" }, { "tag": "path", "d": "m14.5 4-5 16" }], "columns": [{ "tag": "rect", "width": "18", "height": "18", "x": "3", "y": "3", "rx": "2" }, { "tag": "path", "d": "M9 3v18" }, { "tag": "path", "d": "M15 3v18" }], "compass": [{ "tag": "path", "d": "m16.24 7.76-1.804 5.411a2 2 0 0 1-1.265 1.265L7.76 16.24l1.804-5.411a2 2 0 0 1 1.265-1.265z" }, { "tag": "circle", "cx": "12", "cy": "12", "r": "10" }], "credit-card": [{ "tag": "rect", "width": "20", "height": "14", "x": "2", "y": "5", "rx": "2" }, { "tag": "line", "x1": "2", "x2": "22", "y1": "10", "y2": "10" }], "ellipsis": [{ "tag": "circle", "cx": "12", "cy": "12", "r": "1" }, { "tag": "circle", "cx": "19", "cy": "12", "r": "1" }, { "tag": "circle", "cx": "5", "cy": "12", "r": "1" }], "eraser": [{ "tag": "path", "d": "M21 21H8a2 2 0 0 1-1.42-.587l-3.994-3.999a2 2 0 0 1 0-2.828l10-10a2 2 0 0 1 2.829 0l5.999 6a2 2 0 0 1 0 2.828L12.834 21" }, { "tag": "path", "d": "m5.082 11.09 8.828 8.828" }], "external-link": [{ "tag": "path", "d": "M15 3h6v6" }, { "tag": "path", "d": "M10 14 21 3" }, { "tag": "path", "d": "M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6" }], "file-text": [{ "tag": "path", "d": "M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z" }, { "tag": "path", "d": "M14 2v5a1 1 0 0 0 1 1h5" }, { "tag": "path", "d": "M10 9H8" }, { "tag": "path", "d": "M16 13H8" }, { "tag": "path", "d": "M16 17H8" }], "folder": [{ "tag": "path", "d": "M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z" }], "grip-horizontal": [{ "tag": "circle", "cx": "12", "cy": "9", "r": "1" }, { "tag": "circle", "cx": "19", "cy": "9", "r": "1" }, { "tag": "circle", "cx": "5", "cy": "9", "r": "1" }, { "tag": "circle", "cx": "12", "cy": "15", "r": "1" }, { "tag": "circle", "cx": "19", "cy": "15", "r": "1" }, { "tag": "circle", "cx": "5", "cy": "15", "r": "1" }], "grip-vertical": [{ "tag": "circle", "cx": "9", "cy": "12", "r": "1" }, { "tag": "circle", "cx": "9", "cy": "5", "r": "1" }, { "tag": "circle", "cx": "9", "cy": "19", "r": "1" }, { "tag": "circle", "cx": "15", "cy": "12", "r": "1" }, { "tag": "circle", "cx": "15", "cy": "5", "r": "1" }, { "tag": "circle", "cx": "15", "cy": "19", "r": "1" }], "heading-1": [{ "tag": "path", "d": "M4 12h8" }, { "tag": "path", "d": "M4 18V6" }, { "tag": "path", "d": "M12 18V6" }, { "tag": "path", "d": "m17 12 3-2v8" }], "heading-2": [{ "tag": "path", "d": "M4 12h8" }, { "tag": "path", "d": "M4 18V6" }, { "tag": "path", "d": "M12 18V6" }, { "tag": "path", "d": "M21 18h-4c0-4 4-3 4-6 0-1.5-2-2.5-4-1" }], "heading-3": [{ "tag": "path", "d": "M4 12h8" }, { "tag": "path", "d": "M4 18V6" }, { "tag": "path", "d": "M12 18V6" }, { "tag": "path", "d": "M17.5 10.5c1.7-1 3.5 0 3.5 1.5a2 2 0 0 1-2 2" }, { "tag": "path", "d": "M17 17.5c2 1.5 4 .3 4-1.5a2 2 0 0 0-2-2" }], "help": [{ "tag": "circle", "cx": "12", "cy": "12", "r": "10" }, { "tag": "path", "d": "M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3" }, { "tag": "path", "d": "M12 17h.01" }], "highlighter": [{ "tag": "path", "d": "m9 11-6 6v3h9l3-3" }, { "tag": "path", "d": "m22 12-4.6 4.6a2 2 0 0 1-2.8 0l-5.2-5.2a2 2 0 0 1 0-2.8L14 4" }], "history": [{ "tag": "path", "d": "M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8" }, { "tag": "path", "d": "M3 3v5h5" }, { "tag": "path", "d": "M12 7v5l4 2" }], "image": [{ "tag": "rect", "width": "18", "height": "18", "x": "3", "y": "3", "rx": "2", "ry": "2" }, { "tag": "circle", "cx": "9", "cy": "9", "r": "2" }, { "tag": "path", "d": "m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21" }], "info": [{ "tag": "circle", "cx": "12", "cy": "12", "r": "10" }, { "tag": "path", "d": "M12 16v-4" }, { "tag": "path", "d": "M12 8h.01" }], "italic": [{ "tag": "line", "x1": "19", "x2": "10", "y1": "4", "y2": "4" }, { "tag": "line", "x1": "14", "x2": "5", "y1": "20", "y2": "20" }, { "tag": "line", "x1": "15", "x2": "9", "y1": "4", "y2": "20" }], "layout-dashboard": [{ "tag": "rect", "width": "7", "height": "9", "x": "3", "y": "3", "rx": "1" }, { "tag": "rect", "width": "7", "height": "5", "x": "14", "y": "3", "rx": "1" }, { "tag": "rect", "width": "7", "height": "9", "x": "14", "y": "12", "rx": "1" }, { "tag": "rect", "width": "7", "height": "5", "x": "3", "y": "16", "rx": "1" }], "lightbulb": [{ "tag": "path", "d": "M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5" }, { "tag": "path", "d": "M9 18h6" }, { "tag": "path", "d": "M10 22h4" }], "link": [{ "tag": "path", "d": "M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71" }, { "tag": "path", "d": "M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71" }], "list": [{ "tag": "path", "d": "M3 5h.01" }, { "tag": "path", "d": "M3 12h.01" }, { "tag": "path", "d": "M3 19h.01" }, { "tag": "path", "d": "M8 5h13" }, { "tag": "path", "d": "M8 12h13" }, { "tag": "path", "d": "M8 19h13" }], "list-ordered": [{ "tag": "path", "d": "M11 5h10" }, { "tag": "path", "d": "M11 12h10" }, { "tag": "path", "d": "M11 19h10" }, { "tag": "path", "d": "M4 4h1v5" }, { "tag": "path", "d": "M4 9h2" }, { "tag": "path", "d": "M6.5 20H3.4c0-1 2.6-1.925 2.6-3.5a1.5 1.5 0 0 0-2.6-1.02" }], "list-todo": [{ "tag": "path", "d": "M13 5h8" }, { "tag": "path", "d": "M13 12h8" }, { "tag": "path", "d": "M13 19h8" }, { "tag": "path", "d": "m3 17 2 2 4-4" }, { "tag": "rect", "x": "3", "y": "4", "width": "6", "height": "6", "rx": "1" }], "loader": [{ "tag": "path", "d": "M21 12a9 9 0 1 1-6.219-8.56" }], "menu": [{ "tag": "path", "d": "M4 5h16" }, { "tag": "path", "d": "M4 12h16" }, { "tag": "path", "d": "M4 19h16" }], "merge": [{ "tag": "path", "d": "m8 6 4-4 4 4" }, { "tag": "path", "d": "M12 2v10.3a4 4 0 0 1-1.172 2.872L4 22" }, { "tag": "path", "d": "m20 22-5-5" }], "message-square-warning": [{ "tag": "path", "d": "M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z" }, { "tag": "path", "d": "M12 15h.01" }, { "tag": "path", "d": "M12 7v4" }], "minus": [{ "tag": "path", "d": "M5 12h14" }], "monitor": [{ "tag": "rect", "width": "20", "height": "14", "x": "2", "y": "3", "rx": "2" }, { "tag": "line", "x1": "8", "x2": "16", "y1": "21", "y2": "21" }, { "tag": "line", "x1": "12", "x2": "12", "y1": "17", "y2": "21" }], "moon": [{ "tag": "path", "d": "M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401" }], "notebook-pen": [{ "tag": "path", "d": "M13.4 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-7.4" }, { "tag": "path", "d": "M2 6h4" }, { "tag": "path", "d": "M2 10h4" }, { "tag": "path", "d": "M2 14h4" }, { "tag": "path", "d": "M2 18h4" }, { "tag": "path", "d": "M21.378 5.626a1 1 0 1 0-3.004-3.004l-5.01 5.012a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506z" }], "paint-bucket": [{ "tag": "path", "d": "m19 11-8-8-8.6 8.6a2 2 0 0 0 0 2.8l5.2 5.2c.8.8 2 .8 2.8 0L19 11Z" }, { "tag": "path", "d": "m5 2 5 5" }, { "tag": "path", "d": "M2 13h15" }, { "tag": "path", "d": "M22 20a2 2 0 1 1-4 0c0-1.6 1.7-2.4 2-4 .3 1.6 2 2.4 2 4Z" }], "panel-bottom": [{ "tag": "rect", "width": "18", "height": "18", "x": "3", "y": "3", "rx": "2" }, { "tag": "path", "d": "M3 15h18" }], "panel-left": [{ "tag": "rect", "width": "18", "height": "18", "x": "3", "y": "3", "rx": "2" }, { "tag": "path", "d": "M9 3v18" }], "panel-right": [{ "tag": "rect", "width": "18", "height": "18", "x": "3", "y": "3", "rx": "2" }, { "tag": "path", "d": "M15 3v18" }], "panel-top": [{ "tag": "rect", "width": "18", "height": "18", "x": "3", "y": "3", "rx": "2" }, { "tag": "path", "d": "M3 9h18" }], "paperclip": [{ "tag": "path", "d": "m16 6-8.414 8.586a2 2 0 0 0 2.829 2.829l8.414-8.586a4 4 0 1 0-5.657-5.657l-8.379 8.551a6 6 0 1 0 8.485 8.485l8.379-8.551" }], "pencil": [{ "tag": "path", "d": "M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z" }, { "tag": "path", "d": "m15 5 4 4" }], "pilcrow": [{ "tag": "path", "d": "M13 4v16" }, { "tag": "path", "d": "M17 4v16" }, { "tag": "path", "d": "M19 4H9.5a4.5 4.5 0 0 0 0 9H13" }], "plus": [{ "tag": "path", "d": "M5 12h14" }, { "tag": "path", "d": "M12 5v14" }], "quote": [{ "tag": "path", "d": "M16 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z" }, { "tag": "path", "d": "M5 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z" }], "receipt": [{ "tag": "path", "d": "M4 2v20l2-1 2 1 2-1 2 1 2-1 2 1 2-1 2 1V2l-2 1-2-1-2 1-2-1-2 1-2-1-2 1Z" }, { "tag": "path", "d": "M16 8h-6a2 2 0 1 0 0 4h4a2 2 0 1 1 0 4H8" }, { "tag": "path", "d": "M12 17.5v-11" }], "redo": [{ "tag": "path", "d": "m15 14 5-5-5-5" }, { "tag": "path", "d": "M20 9H9.5A5.5 5.5 0 0 0 4 14.5A5.5 5.5 0 0 0 9.5 20H13" }], "rows": [{ "tag": "rect", "width": "18", "height": "18", "x": "3", "y": "3", "rx": "2" }, { "tag": "path", "d": "M21 9H3" }, { "tag": "path", "d": "M21 15H3" }], "search": [{ "tag": "path", "d": "m21 21-4.34-4.34" }, { "tag": "circle", "cx": "11", "cy": "11", "r": "8" }], "settings": [{ "tag": "path", "d": "M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915" }, { "tag": "circle", "cx": "12", "cy": "12", "r": "3" }], "slash": [{ "tag": "path", "d": "M22 2 2 22" }], "split": [{ "tag": "path", "d": "M16 3h5v5" }, { "tag": "path", "d": "M8 3H3v5" }, { "tag": "path", "d": "M12 22v-8.3a4 4 0 0 0-1.172-2.872L3 3" }, { "tag": "path", "d": "m15 9 6-6" }], "strikethrough": [{ "tag": "path", "d": "M16 4H9a3 3 0 0 0-2.83 4" }, { "tag": "path", "d": "M14 12a4 4 0 0 1 0 8H6" }, { "tag": "line", "x1": "4", "x2": "20", "y1": "12", "y2": "12" }], "sun": [{ "tag": "circle", "cx": "12", "cy": "12", "r": "4" }, { "tag": "path", "d": "M12 2v2" }, { "tag": "path", "d": "M12 20v2" }, { "tag": "path", "d": "m4.93 4.93 1.41 1.41" }, { "tag": "path", "d": "m17.66 17.66 1.41 1.41" }, { "tag": "path", "d": "M2 12h2" }, { "tag": "path", "d": "M20 12h2" }, { "tag": "path", "d": "m6.34 17.66-1.41 1.41" }, { "tag": "path", "d": "m19.07 4.93-1.41 1.41" }], "superscript": [{ "tag": "path", "d": "m4 19 8-8" }, { "tag": "path", "d": "m12 19-8-8" }, { "tag": "path", "d": "M20 12h-4c0-1.5.442-2 1.5-2.5S20 8.334 20 7.002c0-.472-.17-.93-.484-1.29a2.105 2.105 0 0 0-2.617-.436c-.42.239-.738.614-.899 1.06" }], "table": [{ "tag": "path", "d": "M9 3H5a2 2 0 0 0-2 2v4m6-6h10a2 2 0 0 1 2 2v4M9 3v18m0 0h10a2 2 0 0 0 2-2V9M9 21H5a2 2 0 0 1-2-2V9m0 0h18" }], "tag": [{ "tag": "path", "d": "M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z" }, { "tag": "circle", "cx": "7.5", "cy": "7.5", "r": ".5", "fill": "currentColor" }], "trash": [{ "tag": "path", "d": "M10 11v6" }, { "tag": "path", "d": "M14 11v6" }, { "tag": "path", "d": "M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6" }, { "tag": "path", "d": "M3 6h18" }, { "tag": "path", "d": "M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2" }], "triangle-alert": [{ "tag": "path", "d": "m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3" }, { "tag": "path", "d": "M12 9v4" }, { "tag": "path", "d": "M12 17h.01" }], "truck": [{ "tag": "path", "d": "M14 18V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v11a1 1 0 0 0 1 1h2" }, { "tag": "path", "d": "M15 18H9" }, { "tag": "path", "d": "M19 18h2a1 1 0 0 0 1-1v-3.65a1 1 0 0 0-.22-.624l-3.48-4.35A1 1 0 0 0 17.52 8H14" }, { "tag": "circle", "cx": "17", "cy": "18", "r": "2" }, { "tag": "circle", "cx": "7", "cy": "18", "r": "2" }], "underline": [{ "tag": "path", "d": "M6 4v6a6 6 0 0 0 12 0V4" }, { "tag": "line", "x1": "4", "x2": "20", "y1": "20", "y2": "20" }], "undo": [{ "tag": "path", "d": "M9 14 4 9l5-5" }, { "tag": "path", "d": "M4 9h10.5a5.5 5.5 0 0 1 5.5 5.5a5.5 5.5 0 0 1-5.5 5.5H11" }], "unlink": [{ "tag": "path", "d": "m18.84 12.25 1.72-1.71h-.02a5.004 5.004 0 0 0-.12-7.07 5.006 5.006 0 0 0-6.95 0l-1.72 1.71" }, { "tag": "path", "d": "m5.17 11.75-1.71 1.71a5.004 5.004 0 0 0 .12 7.07 5.006 5.006 0 0 0 6.95 0l1.71-1.71" }, { "tag": "line", "x1": "8", "x2": "8", "y1": "2", "y2": "5" }, { "tag": "line", "x1": "2", "x2": "5", "y1": "8", "y2": "8" }, { "tag": "line", "x1": "16", "x2": "16", "y1": "19", "y2": "22" }, { "tag": "line", "x1": "19", "x2": "22", "y1": "16", "y2": "16" }], "user-round": [{ "tag": "circle", "cx": "12", "cy": "8", "r": "5" }, { "tag": "path", "d": "M20 21a8 8 0 0 0-16 0" }], "users": [{ "tag": "path", "d": "M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2" }, { "tag": "path", "d": "M16 3.128a4 4 0 0 1 0 7.744" }, { "tag": "path", "d": "M22 21v-2a4 4 0 0 0-3-3.87" }, { "tag": "circle", "cx": "9", "cy": "7", "r": "4" }], "x": [{ "tag": "path", "d": "M18 6 6 18" }, { "tag": "path", "d": "m6 6 12 12" }] }, inputRead(v[1], inputStatus(1)))];
|
|
33
33
|
const g = (j) => {
|
|
34
34
|
const i = j - 0;
|
|
35
35
|
if (ke[i] === X.e) return v[j];
|
|
@@ -11,7 +11,9 @@ export interface UiSiteHeaderElement extends HTMLElement {
|
|
|
11
11
|
}
|
|
12
12
|
export interface UiSiteHeaderProps {
|
|
13
13
|
breakpoint?: "sm" | "md" | "lg" | null;
|
|
14
|
+
closeLabel?: string | null;
|
|
14
15
|
label?: string | null;
|
|
16
|
+
menuLabel?: string | null;
|
|
15
17
|
sticky?: boolean | null;
|
|
16
18
|
attributes?: Readonly<Record<string, string | number | boolean | null | undefined>>;
|
|
17
19
|
children?: readonly (string | Node)[];
|