@sebgroup/green-core 1.24.0 → 1.26.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/chunks/{chunk.27R7X3C3.js → chunk.24V4XJDP.js} +3 -3
- package/chunks/{chunk.VJU6J3FA.js → chunk.2YTPPLUR.js} +1 -1
- package/chunks/chunk.3ULLOORV.js +22 -0
- package/chunks/{chunk.CUCCR5I2.js → chunk.5JXFH3CA.js} +77 -240
- package/chunks/chunk.6BQCB4IT.js +12 -0
- package/chunks/chunk.7WY5IUFF.js +38 -0
- package/chunks/chunk.ADPMTWTS.js +148 -0
- package/chunks/{chunk.RP6ZZ4QP.js → chunk.AIIIR7YQ.js} +1 -1
- package/chunks/{chunk.KTHP2O7D.js → chunk.BWE3LWZR.js} +4 -4
- package/chunks/{chunk.PKI5W62Y.js → chunk.F7RPWFJJ.js} +1 -1
- package/chunks/{chunk.JX4Q5BTZ.js → chunk.FMXZ2CBC.js} +1 -1
- package/chunks/chunk.G5CTCHXH.js +61 -0
- package/chunks/{chunk.RG4ALIDZ.js → chunk.GTJ3YNGN.js} +5 -5
- package/chunks/chunk.H4ZSHOXG.js +13 -0
- package/chunks/{chunk.K3GEZRU5.js → chunk.HNQ5BESO.js} +12 -9
- package/chunks/{chunk.5C4NFKBM.js → chunk.HOSMWBJK.js} +28 -24
- package/chunks/{chunk.QHKBUCE7.js → chunk.JWYX2K5T.js} +3 -3
- package/chunks/chunk.JZ7LISSM.js +117 -0
- package/chunks/{chunk.QD3OLQ7I.js → chunk.JZPPDKRE.js} +1 -1
- package/chunks/chunk.K54XRGDL.js +95 -0
- package/chunks/chunk.KK4QVD34.js +29 -0
- package/chunks/chunk.KYBMS7FP.js +31 -0
- package/chunks/{chunk.P2QL4AHI.js → chunk.LA5JE2G2.js} +1 -1
- package/chunks/chunk.LHZ2BQLT.js +65 -0
- package/chunks/{chunk.B35Y6NNU.js → chunk.MYA45ATV.js} +1 -1
- package/chunks/chunk.NKSKWGNM.js +28 -0
- package/chunks/{chunk.HGXKBXR6.js → chunk.NW6QJEJ7.js} +1 -1
- package/chunks/chunk.NY66JKJ2.js +109 -0
- package/chunks/chunk.OJK4O3JQ.js +0 -0
- package/chunks/chunk.P7MYL4LD.js +59 -0
- package/chunks/{chunk.DOKUYRLP.js → chunk.PLBDEP73.js} +3 -3
- package/chunks/chunk.QIZMUQXZ.js +131 -0
- package/chunks/{chunk.NNJ6DJO2.js → chunk.RB5IEYTY.js} +1 -1
- package/chunks/{chunk.CPCAGCFR.js → chunk.S63G7END.js} +1 -1
- package/chunks/chunk.SXGACXKX.js +28 -0
- package/chunks/chunk.VOYMQ322.js +1 -1
- package/chunks/chunk.VS5JKIZQ.js +23 -0
- package/chunks/{chunk.YWNV7RJ2.js → chunk.XBQN74WW.js} +4 -4
- package/chunks/{chunk.ZX42RSEL.js → chunk.ZDK6GCF7.js} +1 -1
- package/chunks/chunk.ZLHAIAQU.js +73 -0
- package/chunks/{chunk.Y3RSAFGU.js → chunk.ZY3LVGNB.js} +14 -14
- package/components/button/button.js +5 -5
- package/components/button/button.trans.styles.js +1 -1
- package/components/button/index.js +5 -5
- package/{primitives → components}/calendar/calendar.d.ts +5 -1
- package/{primitives → components}/calendar/calendar.js +3 -3
- package/components/calendar/calendar.trans.styles.js +11 -0
- package/{primitives → components}/calendar/functions.js +1 -1
- package/{primitives → components}/calendar/index.js +4 -4
- package/components/content/divider/divider.d.ts +54 -0
- package/components/content/divider/divider.js +15 -0
- package/components/content/divider/divider.style.css.js +7 -0
- package/components/content/divider/index.d.ts +1 -0
- package/components/content/divider/index.js +15 -0
- package/components/content/spacer/index.d.ts +1 -0
- package/components/content/spacer/index.js +14 -0
- package/components/content/spacer/spacer.d.ts +23 -0
- package/components/content/spacer/spacer.js +14 -0
- package/components/content/text/index.d.ts +1 -0
- package/components/content/text/index.js +15 -0
- package/components/content/text/text.d.ts +122 -0
- package/components/content/text/text.js +15 -0
- package/components/content/text/text.style.css.d.ts +2 -0
- package/components/content/text/text.style.css.js +7 -0
- package/components/context-menu/context-menu.js +6 -6
- package/components/context-menu/context-menu.trans.styles.js +1 -1
- package/components/context-menu/index.js +9 -9
- package/components/datepicker/datepicker.d.ts +1 -1
- package/components/datepicker/datepicker.js +18 -18
- package/components/datepicker/datepicker.trans.styles.js +2 -2
- package/components/datepicker/index.js +18 -18
- package/components/dropdown/dropdown.js +7 -7
- package/components/dropdown/dropdown.trans.styles.js +1 -1
- package/components/dropdown/index.js +8 -8
- package/components/filter-chips/filter-chip/filter-chip.js +8 -8
- package/components/filter-chips/filter-chip/filter-chip.trans.styles.js +2 -2
- package/components/filter-chips/filter-chip/index.js +8 -8
- package/components/filter-chips/filter-chips.js +9 -9
- package/components/filter-chips/filter-chips.trans.styles.js +2 -2
- package/components/filter-chips/index.js +9 -9
- package/components/grouped-list/grouped-list.js +2 -2
- package/components/grouped-list/grouped-list.trans.styles.js +2 -2
- package/components/grouped-list/index.js +2 -2
- package/components/icon/icons/index.js +3 -3
- package/components/index.d.ts +9 -1
- package/components/index.js +89 -48
- package/components/layout/card/card.d.ts +118 -0
- package/components/layout/card/card.js +18 -0
- package/components/layout/card/card.style.css.d.ts +2 -0
- package/components/layout/card/card.style.css.js +7 -0
- package/components/layout/card/index.d.ts +1 -0
- package/components/layout/card/index.js +18 -0
- package/components/layout/container/container.d.ts +152 -0
- package/components/layout/container/container.js +15 -0
- package/components/layout/container/container.style.css.d.ts +2 -0
- package/components/layout/container/container.style.css.js +7 -0
- package/components/layout/container/index.d.ts +1 -0
- package/components/layout/container/index.js +16 -0
- package/components/layout/flex/flex.d.ts +49 -0
- package/components/layout/flex/flex.js +18 -0
- package/components/layout/flex/flex.style.css.d.ts +2 -0
- package/components/layout/flex/flex.style.css.js +7 -0
- package/components/layout/flex/index.d.ts +1 -0
- package/components/layout/flex/index.js +18 -0
- package/components/layout/grid/grid.d.ts +48 -0
- package/components/layout/grid/grid.js +15 -0
- package/components/layout/grid/grid.style.css.d.ts +2 -0
- package/components/layout/grid/grid.style.css.js +7 -0
- package/components/layout/grid/index.js +15 -0
- package/components/media/img/img.d.ts +137 -0
- package/components/media/img/img.js +15 -0
- package/components/media/img/img.style.css.d.ts +2 -0
- package/components/media/img/img.style.css.js +7 -0
- package/components/media/img/index.d.ts +1 -0
- package/components/media/img/index.js +15 -0
- package/components/media/video/index.d.ts +1 -0
- package/components/media/video/index.js +15 -0
- package/components/media/video/video.d.ts +135 -0
- package/components/media/video/video.js +15 -0
- package/components/media/video/video.style.css.d.ts +2 -0
- package/components/media/video/video.style.css.js +7 -0
- package/components/menu-button/index.js +2 -2
- package/components/menu-button/menu-button.js +2 -2
- package/components/popover/index.js +2 -2
- package/components/popover/popover.js +2 -2
- package/components/popover/popover.trans.styles.js +1 -1
- package/components/segmented-control/index.js +4 -4
- package/components/segmented-control/segment/index.js +3 -3
- package/components/segmented-control/segment/segment.js +3 -3
- package/components/segmented-control/segment/segment.trans.styles.js +2 -2
- package/components/segmented-control/segmented-control.js +4 -4
- package/components/segmented-control/segmented-control.trans.styles.js +2 -2
- package/components/theme/index.js +2 -2
- package/components/theme/theme.js +2 -2
- package/components/theme/theme.trans.styles.js +2 -2
- package/index.js +90 -49
- package/package.json +1 -1
- package/primitives/listbox/index.js +3 -3
- package/primitives/listbox/listbox.js +3 -3
- package/primitives/listbox/option.js +2 -2
- package/primitives/menu/index.js +3 -3
- package/primitives/menu/menu-heading.js +2 -2
- package/primitives/menu/menu-item.js +2 -2
- package/primitives/menu/menu.js +3 -3
- package/primitives/ripple/index.js +2 -2
- package/primitives/ripple/ripple.js +2 -2
- package/transitional-styles.js +1 -1
- package/utils/decorators/style-expression-property.d.ts +12 -0
- package/utils/helpers/style-expression-parser.d.ts +25 -0
- package/chunks/chunk.GVBFAXSJ.js +0 -196
- package/chunks/chunk.NBEFLQNK.js +0 -79
- package/components/grid/grid.d.ts +0 -90
- package/components/grid/grid.js +0 -14
- package/components/grid/grid.style.css.js +0 -7
- package/components/grid/index.js +0 -14
- /package/chunks/{chunk.4CZBNTGL.js → chunk.65745UGT.js} +0 -0
- /package/chunks/{chunk.TMBQL2RO.js → chunk.DJ2OXJZN.js} +0 -0
- /package/{primitives → components}/calendar/calendar.styles.d.ts +0 -0
- /package/{primitives → components}/calendar/calendar.trans.styles.d.ts +0 -0
- /package/{primitives → components}/calendar/functions.d.ts +0 -0
- /package/{primitives → components}/calendar/index.d.ts +0 -0
- /package/components/{grid/grid.style.css.d.ts → content/divider/divider.style.css.d.ts} +0 -0
- /package/components/{grid → layout/grid}/index.d.ts +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
tokens
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.5JXFH3CA.js";
|
|
4
4
|
import {
|
|
5
5
|
gdsCustomElement
|
|
6
6
|
} from "./chunk.VOYMQ322.js";
|
|
@@ -20,7 +20,7 @@ var ripple_styles_default = `:host {
|
|
|
20
20
|
var(--gds-sys-motion-delay) var(--gds-sys-motion-iteration-count)
|
|
21
21
|
var(--gds-sys-motion-direction) var(--gds-sys-motion-fill-mode)
|
|
22
22
|
var(--gds-sys-motion-play-state);
|
|
23
|
-
border-radius: var(--gds-
|
|
23
|
+
border-radius: var(--gds-space-max);
|
|
24
24
|
contain: strict;
|
|
25
25
|
display: flex;
|
|
26
26
|
height: 100%;
|
|
@@ -32,7 +32,7 @@ var ripple_styles_default = `:host {
|
|
|
32
32
|
|
|
33
33
|
div {
|
|
34
34
|
background-color: currentColor;
|
|
35
|
-
border-radius: var(--gds-
|
|
35
|
+
border-radius: var(--gds-space-max);
|
|
36
36
|
display: flex;
|
|
37
37
|
height: 20px;
|
|
38
38
|
left: var(--gds-ripple-left, 50%);
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
// libs/core/src/components/layout/card/card.style.css.ts
|
|
2
|
+
import { css } from "lit";
|
|
3
|
+
var style = css`
|
|
4
|
+
:host {
|
|
5
|
+
--gds-shadow-xs: 0px 0px 1px 0px rgba(0, 0, 0, 0.1),
|
|
6
|
+
0px 0px 1px 0px rgba(0, 0, 0, 0.1);
|
|
7
|
+
--gds-shadow-s: 0px 1px 3px 0px rgba(0, 0, 0, 0.1),
|
|
8
|
+
0px 1px 2px 0px rgba(0, 0, 0, 0.06);
|
|
9
|
+
--gds-shadow-m: 0px 4px 8px -2px rgba(0, 0, 0, 0.1),
|
|
10
|
+
0px 2px 4px -2px rgba(0, 0, 0, 0.06);
|
|
11
|
+
--gds-shadow-l: 0px 12px 16px -4px rgba(0, 0, 0, 0.08),
|
|
12
|
+
0px 4px 6px -2px rgba(0, 0, 0, 0.03);
|
|
13
|
+
--gds-shadow-xl: 0px 20px 24px -4px rgba(0, 0, 0, 0.08),
|
|
14
|
+
0px 8px 8px -4px rgba(0, 0, 0, 0.03);
|
|
15
|
+
display: block;
|
|
16
|
+
}
|
|
17
|
+
`;
|
|
18
|
+
var card_style_css_default = style;
|
|
19
|
+
|
|
20
|
+
export {
|
|
21
|
+
card_style_css_default
|
|
22
|
+
};
|
|
@@ -4,7 +4,7 @@ import { unsafeCSS } from "lit";
|
|
|
4
4
|
// dist/libs/tokens/internal/pallet.css?inline
|
|
5
5
|
var pallet_default = `/**
|
|
6
6
|
* Do not edit directly
|
|
7
|
-
* Generated on
|
|
7
|
+
* Generated on Tue, 02 Jul 2024 12:45:56 GMT
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
:host {
|
|
@@ -165,7 +165,7 @@ var pallet_default = `/**
|
|
|
165
165
|
// dist/libs/tokens/internal/theme/light.css?inline
|
|
166
166
|
var light_default = `/**
|
|
167
167
|
* Do not edit directly
|
|
168
|
-
* Generated on
|
|
168
|
+
* Generated on Tue, 02 Jul 2024 12:45:56 GMT
|
|
169
169
|
*/
|
|
170
170
|
|
|
171
171
|
:host {
|
|
@@ -286,253 +286,89 @@ var light_default = `/**
|
|
|
286
286
|
// dist/libs/tokens/internal/size.css?inline
|
|
287
287
|
var size_default = `/**
|
|
288
288
|
* Do not edit directly
|
|
289
|
-
* Generated on
|
|
289
|
+
* Generated on Tue, 02 Jul 2024 12:45:56 GMT
|
|
290
290
|
*/
|
|
291
291
|
|
|
292
292
|
:host {
|
|
293
|
-
--gds-
|
|
294
|
-
--gds-
|
|
295
|
-
--gds-
|
|
296
|
-
--gds-
|
|
297
|
-
--gds-
|
|
298
|
-
--gds-
|
|
299
|
-
--gds-
|
|
300
|
-
--gds-
|
|
301
|
-
--gds-
|
|
302
|
-
--gds-
|
|
303
|
-
--gds-
|
|
304
|
-
--gds-
|
|
305
|
-
--gds-
|
|
306
|
-
--gds-
|
|
307
|
-
--gds-
|
|
308
|
-
--gds-
|
|
309
|
-
--gds-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
--gds-
|
|
321
|
-
--gds-
|
|
322
|
-
--gds-
|
|
323
|
-
--gds-
|
|
324
|
-
--gds-
|
|
325
|
-
--gds-
|
|
326
|
-
--gds-
|
|
327
|
-
--gds-
|
|
328
|
-
--gds-
|
|
329
|
-
--gds-
|
|
330
|
-
--gds-
|
|
331
|
-
--gds-
|
|
332
|
-
--gds-
|
|
333
|
-
--gds-
|
|
334
|
-
--gds-
|
|
335
|
-
--gds-
|
|
336
|
-
--gds-
|
|
337
|
-
--gds-
|
|
338
|
-
--gds-
|
|
339
|
-
--gds-
|
|
340
|
-
--gds-
|
|
341
|
-
--gds-
|
|
342
|
-
--gds-
|
|
343
|
-
--gds-
|
|
344
|
-
--gds-
|
|
345
|
-
--gds-
|
|
346
|
-
--gds-
|
|
347
|
-
--gds-
|
|
348
|
-
--gds-
|
|
349
|
-
--gds-
|
|
350
|
-
--gds-
|
|
351
|
-
--gds-
|
|
352
|
-
--gds-
|
|
353
|
-
--gds-
|
|
354
|
-
--gds-
|
|
355
|
-
--gds-
|
|
356
|
-
--gds-
|
|
357
|
-
--gds-
|
|
358
|
-
--gds-
|
|
359
|
-
--gds-
|
|
360
|
-
--gds-
|
|
361
|
-
--gds-
|
|
362
|
-
--gds-
|
|
363
|
-
--gds-
|
|
364
|
-
--gds-
|
|
365
|
-
--gds-ref-size-90: 360px;
|
|
366
|
-
--gds-ref-size-89: 356px;
|
|
367
|
-
--gds-ref-size-88: 352px;
|
|
368
|
-
--gds-ref-size-87: 348px;
|
|
369
|
-
--gds-ref-size-86: 344px;
|
|
370
|
-
--gds-ref-size-85: 340px;
|
|
371
|
-
--gds-ref-size-84: 336px;
|
|
372
|
-
--gds-ref-size-83: 332px;
|
|
373
|
-
--gds-ref-size-82: 328px;
|
|
374
|
-
--gds-ref-size-81: 324px;
|
|
375
|
-
--gds-ref-size-80: 320px;
|
|
376
|
-
--gds-ref-size-79: 316px;
|
|
377
|
-
--gds-ref-size-78: 312px;
|
|
378
|
-
--gds-ref-size-77: 308px;
|
|
379
|
-
--gds-ref-size-76: 304px;
|
|
380
|
-
--gds-ref-size-75: 300px;
|
|
381
|
-
--gds-ref-size-74: 296px;
|
|
382
|
-
--gds-ref-size-73: 292px;
|
|
383
|
-
--gds-ref-size-72: 288px;
|
|
384
|
-
--gds-ref-size-71: 284px;
|
|
385
|
-
--gds-ref-size-70: 280px;
|
|
386
|
-
--gds-ref-size-69: 276px;
|
|
387
|
-
--gds-ref-size-68: 272px;
|
|
388
|
-
--gds-ref-size-67: 268px;
|
|
389
|
-
--gds-ref-size-66: 264px;
|
|
390
|
-
--gds-ref-size-65: 260px;
|
|
391
|
-
--gds-ref-size-64: 256px;
|
|
392
|
-
--gds-ref-size-63: 252px;
|
|
393
|
-
--gds-ref-size-62: 248px;
|
|
394
|
-
--gds-ref-size-61: 244px;
|
|
395
|
-
--gds-ref-size-60: 240px;
|
|
396
|
-
--gds-ref-size-59: 236px;
|
|
397
|
-
--gds-ref-size-58: 232px;
|
|
398
|
-
--gds-ref-size-57: 228px;
|
|
399
|
-
--gds-ref-size-56: 224px;
|
|
400
|
-
--gds-ref-size-55: 220px;
|
|
401
|
-
--gds-ref-size-54: 216px;
|
|
402
|
-
--gds-ref-size-53: 212px;
|
|
403
|
-
--gds-ref-size-52: 208px;
|
|
404
|
-
--gds-ref-size-51: 204px;
|
|
405
|
-
--gds-ref-size-50: 200px;
|
|
406
|
-
--gds-ref-size-49: 196px;
|
|
407
|
-
--gds-ref-size-48: 192px;
|
|
408
|
-
--gds-ref-size-47: 188px;
|
|
409
|
-
--gds-ref-size-46: 184px;
|
|
410
|
-
--gds-ref-size-45: 180px;
|
|
411
|
-
--gds-ref-size-44: 176px;
|
|
412
|
-
--gds-ref-size-43: 172px;
|
|
413
|
-
--gds-ref-size-42: 168px;
|
|
414
|
-
--gds-ref-size-41: 164px;
|
|
415
|
-
--gds-ref-size-40: 160px;
|
|
416
|
-
--gds-ref-size-39: 156px;
|
|
417
|
-
--gds-ref-size-38: 152px;
|
|
418
|
-
--gds-ref-size-37: 148px;
|
|
419
|
-
--gds-ref-size-36: 144px;
|
|
420
|
-
--gds-ref-size-35: 140px;
|
|
421
|
-
--gds-ref-size-34: 136px;
|
|
422
|
-
--gds-ref-size-33: 132px;
|
|
423
|
-
--gds-ref-size-32: 128px;
|
|
424
|
-
--gds-ref-size-31: 124px;
|
|
425
|
-
--gds-ref-size-30: 120px;
|
|
426
|
-
--gds-ref-size-29: 116px;
|
|
427
|
-
--gds-ref-size-28: 112px;
|
|
428
|
-
--gds-ref-size-27: 108px;
|
|
429
|
-
--gds-ref-size-26: 104px;
|
|
430
|
-
--gds-ref-size-25: 100px;
|
|
431
|
-
--gds-ref-size-24: 96px;
|
|
432
|
-
--gds-ref-size-23: 92px;
|
|
433
|
-
--gds-ref-size-22: 88px;
|
|
434
|
-
--gds-ref-size-21: 84px;
|
|
435
|
-
--gds-ref-size-20: 80px;
|
|
436
|
-
--gds-ref-size-19: 76px;
|
|
437
|
-
--gds-ref-size-18: 72px;
|
|
438
|
-
--gds-ref-size-17: 68px;
|
|
439
|
-
--gds-ref-size-16: 64px;
|
|
440
|
-
--gds-ref-size-15: 60px;
|
|
441
|
-
--gds-ref-size-14: 56px;
|
|
442
|
-
--gds-ref-size-13: 52px;
|
|
443
|
-
--gds-ref-size-12: 48px;
|
|
444
|
-
--gds-ref-size-11: 44px;
|
|
445
|
-
--gds-ref-size-10: 40px;
|
|
446
|
-
--gds-ref-size-9: 36px;
|
|
447
|
-
--gds-ref-size-8: 32px;
|
|
448
|
-
--gds-ref-size-7: 28px;
|
|
449
|
-
--gds-ref-size-6: 24px;
|
|
450
|
-
--gds-ref-size-5: 20px;
|
|
451
|
-
--gds-ref-size-4: 16px;
|
|
452
|
-
--gds-ref-size-3: 12px;
|
|
453
|
-
--gds-ref-size-2: 8px;
|
|
454
|
-
--gds-ref-size-1: 4px;
|
|
455
|
-
--gds-ref-size-0: 0px;
|
|
456
|
-
--gds-sys-space-6xl: var(--gds-ref-size-14);
|
|
457
|
-
--gds-sys-space-5xl: var(--gds-ref-size-12);
|
|
458
|
-
--gds-sys-space-4xl: var(--gds-ref-size-10);
|
|
459
|
-
--gds-sys-space-3xl: var(--gds-ref-size-8);
|
|
460
|
-
--gds-sys-space-2xl: var(--gds-ref-size-6);
|
|
461
|
-
--gds-sys-space-xl: var(--gds-ref-size-5);
|
|
462
|
-
--gds-sys-space-spacer-6xl: var(--gds-ref-size-14);
|
|
463
|
-
--gds-sys-space-spacer-5xl: var(--gds-ref-size-12);
|
|
464
|
-
--gds-sys-space-spacer-4xl: var(--gds-ref-size-10);
|
|
465
|
-
--gds-sys-space-spacer-3xl: var(--gds-ref-size-8);
|
|
466
|
-
--gds-sys-space-spacer-2xl: var(--gds-ref-size-6);
|
|
467
|
-
--gds-sys-space-spacer-xl: var(--gds-ref-size-5);
|
|
468
|
-
--gds-sys-space-spacer-l: var(--gds-ref-size-4);
|
|
469
|
-
--gds-sys-space-spacer-m: var(--gds-ref-size-2);
|
|
470
|
-
--gds-sys-space-spacer-s: var(--gds-ref-size-1-5);
|
|
471
|
-
--gds-sys-space-spacer-xs: var(--gds-ref-size-1);
|
|
472
|
-
--gds-sys-space-spacer-2xs: var(--gds-ref-size-0-5);
|
|
473
|
-
--gds-sys-space-spacer-0: var(--gds-ref-size-0);
|
|
474
|
-
--gds-sys-space-padding-6xl: var(--gds-ref-size-14);
|
|
475
|
-
--gds-sys-space-padding-5xl: var(--gds-ref-size-12);
|
|
476
|
-
--gds-sys-space-padding-4xl: var(--gds-ref-size-10);
|
|
477
|
-
--gds-sys-space-padding-3xl: var(--gds-ref-size-8);
|
|
478
|
-
--gds-sys-space-padding-2xl: var(--gds-ref-size-6);
|
|
479
|
-
--gds-sys-space-padding-xl: var(--gds-ref-size-5);
|
|
480
|
-
--gds-sys-space-padding-l: var(--gds-ref-size-4);
|
|
481
|
-
--gds-sys-space-padding-m: var(--gds-ref-size-2);
|
|
482
|
-
--gds-sys-space-padding-s: var(--gds-ref-size-1-5);
|
|
483
|
-
--gds-sys-space-padding-xs: var(--gds-ref-size-1);
|
|
484
|
-
--gds-sys-space-padding-2xs: var(--gds-ref-size-0-5);
|
|
485
|
-
--gds-sys-space-padding-0: var(--gds-ref-size-0);
|
|
486
|
-
--gds-sys-space-margins-6xl: var(--gds-ref-size-14);
|
|
487
|
-
--gds-sys-space-margins-5xl: var(--gds-ref-size-12);
|
|
488
|
-
--gds-sys-space-margins-4xl: var(--gds-ref-size-10);
|
|
489
|
-
--gds-sys-space-margins-3xl: var(--gds-ref-size-8);
|
|
490
|
-
--gds-sys-space-margins-2xl: var(--gds-ref-size-6);
|
|
491
|
-
--gds-sys-space-margins-xl: var(--gds-ref-size-5);
|
|
492
|
-
--gds-sys-space-margins-l: var(--gds-ref-size-4);
|
|
493
|
-
--gds-sys-space-margins-m: var(--gds-ref-size-2);
|
|
494
|
-
--gds-sys-space-margins-s: var(--gds-ref-size-1-5);
|
|
495
|
-
--gds-sys-space-margins-xs: var(--gds-ref-size-1);
|
|
496
|
-
--gds-sys-space-margins-2xs: var(--gds-ref-size-0-5);
|
|
497
|
-
--gds-sys-space-margins-0: var(--gds-ref-size-0);
|
|
498
|
-
--gds-sys-radii-full: var(--gds-ref-size-15);
|
|
499
|
-
--gds-sys-radii-4xl: var(--gds-ref-size-12);
|
|
500
|
-
--gds-sys-radii-3xl: var(--gds-ref-size-9);
|
|
501
|
-
--gds-sys-radii-2xl: var(--gds-ref-size-7);
|
|
502
|
-
--gds-sys-radii-xl: var(--gds-ref-size-6);
|
|
503
|
-
--gds-sys-radii-l: var(--gds-ref-size-5);
|
|
504
|
-
--gds-sys-radii-m: var(--gds-ref-size-4);
|
|
505
|
-
--gds-sys-radii-s: var(--gds-ref-size-3);
|
|
506
|
-
--gds-sys-radii-xs: var(--gds-ref-size-2);
|
|
507
|
-
--gds-sys-radii-none: var(--gds-ref-size-0);
|
|
508
|
-
--gds-sys-grid-padding-3xl: var(--gds-ref-size-12);
|
|
509
|
-
--gds-sys-grid-padding-2xl: var(--gds-ref-size-9);
|
|
510
|
-
--gds-sys-grid-padding-xl: var(--gds-ref-size-7);
|
|
511
|
-
--gds-sys-grid-padding-l: var(--gds-ref-size-6);
|
|
512
|
-
--gds-sys-grid-padding-m: var(--gds-ref-size-5);
|
|
513
|
-
--gds-sys-grid-padding-s: var(--gds-ref-size-3);
|
|
514
|
-
--gds-sys-grid-padding-xs: var(--gds-ref-size-2);
|
|
515
|
-
--gds-sys-grid-padding-none: var(--gds-ref-size-0);
|
|
516
|
-
--gds-sys-grid-gap-3xl: var(--gds-ref-size-12);
|
|
517
|
-
--gds-sys-grid-gap-2xl: var(--gds-ref-size-9);
|
|
518
|
-
--gds-sys-grid-gap-xl: var(--gds-ref-size-7);
|
|
519
|
-
--gds-sys-grid-gap-l: var(--gds-ref-size-6);
|
|
520
|
-
--gds-sys-grid-gap-m: var(--gds-ref-size-5);
|
|
521
|
-
--gds-sys-grid-gap-s: var(--gds-ref-size-3);
|
|
522
|
-
--gds-sys-grid-gap-xs: var(--gds-ref-size-2);
|
|
523
|
-
--gds-sys-grid-gap-none: var(--gds-ref-size-0);
|
|
524
|
-
--gds-sys-grid-breakpoint-desktop-lg: var(--gds-sys-grid-columns-12);
|
|
525
|
-
--gds-sys-grid-breakpoint-desktop-md: var(--gds-sys-grid-columns-12);
|
|
526
|
-
--gds-sys-grid-breakpoint-desktop-sm: var(--gds-sys-grid-columns-12);
|
|
527
|
-
--gds-sys-grid-breakpoint-tablet: var(--gds-sys-grid-columns-12);
|
|
528
|
-
--gds-sys-grid-breakpoint-mobile: var(--gds-sys-grid-columns-4);
|
|
293
|
+
--gds-space-max: 999px;
|
|
294
|
+
--gds-space-8xl: 120px;
|
|
295
|
+
--gds-space-7xl: 112px;
|
|
296
|
+
--gds-space-6xl: 96px;
|
|
297
|
+
--gds-space-5xl: 80px;
|
|
298
|
+
--gds-space-4xl: 64px;
|
|
299
|
+
--gds-space-3xl: 48px;
|
|
300
|
+
--gds-space-2xl: 40px;
|
|
301
|
+
--gds-space-xl: 32px;
|
|
302
|
+
--gds-space-l: 24px;
|
|
303
|
+
--gds-space-m: 16px;
|
|
304
|
+
--gds-space-s: 12px;
|
|
305
|
+
--gds-space-xs: 8px;
|
|
306
|
+
--gds-space-2xs: 4px;
|
|
307
|
+
--gds-space-3xs: 2px;
|
|
308
|
+
--gds-space-4xs: 1px;
|
|
309
|
+
--gds-space-0: 0px;
|
|
310
|
+
}
|
|
311
|
+
`;
|
|
312
|
+
|
|
313
|
+
// dist/libs/tokens/internal/text.css?inline
|
|
314
|
+
var text_default = `/**
|
|
315
|
+
* Do not edit directly
|
|
316
|
+
* Generated on Tue, 02 Jul 2024 12:45:56 GMT
|
|
317
|
+
*/
|
|
318
|
+
|
|
319
|
+
:host {
|
|
320
|
+
--gds-text-weight-bold: 700;
|
|
321
|
+
--gds-text-weight-medium: 500;
|
|
322
|
+
--gds-text-weight-book: 450;
|
|
323
|
+
--gds-text-weight-regular: 400;
|
|
324
|
+
--gds-text-weight-light: 300;
|
|
325
|
+
--gds-text-size-label-overline: 14px;
|
|
326
|
+
--gds-text-size-label-input-medium: 14px;
|
|
327
|
+
--gds-text-size-label-input-large: 16px;
|
|
328
|
+
--gds-text-size-label-information-medium: 14px;
|
|
329
|
+
--gds-text-size-label-information-large: 16px;
|
|
330
|
+
--gds-text-size-label-small: 12px;
|
|
331
|
+
--gds-text-size-label-medium: 14px;
|
|
332
|
+
--gds-text-size-label-large: 16px;
|
|
333
|
+
--gds-text-size-body-small: 12px;
|
|
334
|
+
--gds-text-size-body-medium: 14px;
|
|
335
|
+
--gds-text-size-body-large: 16px;
|
|
336
|
+
--gds-text-size-title-small: 14px;
|
|
337
|
+
--gds-text-size-title-medium: 16px;
|
|
338
|
+
--gds-text-size-title-large: 22px;
|
|
339
|
+
--gds-text-size-headline-small: 24px;
|
|
340
|
+
--gds-text-size-headline-medium: 28px;
|
|
341
|
+
--gds-text-size-headline-large: 32px;
|
|
342
|
+
--gds-text-size-display-small: 40px;
|
|
343
|
+
--gds-text-size-display-medium: 64px;
|
|
344
|
+
--gds-text-size-display-large: 82px;
|
|
345
|
+
--gds-text-line-height-label-overline: 18px;
|
|
346
|
+
--gds-text-line-height-label-input-medium: 20px;
|
|
347
|
+
--gds-text-line-height-label-input-large: 20px;
|
|
348
|
+
--gds-text-line-height-label-information-medium: 20px;
|
|
349
|
+
--gds-text-line-height-label-information-large: 20px;
|
|
350
|
+
--gds-text-line-height-label-small: 16px;
|
|
351
|
+
--gds-text-line-height-label-medium: 20px;
|
|
352
|
+
--gds-text-line-height-label-large: 20px;
|
|
353
|
+
--gds-text-line-height-body-small: 16px;
|
|
354
|
+
--gds-text-line-height-body-medium: 20px;
|
|
355
|
+
--gds-text-line-height-body-large: 20px;
|
|
356
|
+
--gds-text-line-height-title-small: 20px;
|
|
357
|
+
--gds-text-line-height-title-medium: 24px;
|
|
358
|
+
--gds-text-line-height-title-large: 28px;
|
|
359
|
+
--gds-text-line-height-headline-small: 30px;
|
|
360
|
+
--gds-text-line-height-headline-medium: 36px;
|
|
361
|
+
--gds-text-line-height-headline-large: 40px;
|
|
362
|
+
--gds-text-line-height-display-small: 52px;
|
|
363
|
+
--gds-text-line-height-display-medium: 80px;
|
|
364
|
+
--gds-text-line-height-display-large: 98px;
|
|
529
365
|
}
|
|
530
366
|
`;
|
|
531
367
|
|
|
532
368
|
// dist/libs/tokens/internal/motion.css?inline
|
|
533
369
|
var motion_default = `/**
|
|
534
370
|
* Do not edit directly
|
|
535
|
-
* Generated on
|
|
371
|
+
* Generated on Tue, 02 Jul 2024 12:45:56 GMT
|
|
536
372
|
*/
|
|
537
373
|
|
|
538
374
|
:host {
|
|
@@ -552,6 +388,7 @@ var tokens = [
|
|
|
552
388
|
unsafeCSS(pallet_default),
|
|
553
389
|
unsafeCSS(light_default),
|
|
554
390
|
unsafeCSS(size_default),
|
|
391
|
+
unsafeCSS(text_default),
|
|
555
392
|
unsafeCSS(motion_default)
|
|
556
393
|
];
|
|
557
394
|
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import {
|
|
2
|
+
styleExpressionProperty
|
|
3
|
+
} from "./chunk.ADPMTWTS.js";
|
|
4
|
+
import {
|
|
5
|
+
tokens
|
|
6
|
+
} from "./chunk.5JXFH3CA.js";
|
|
7
|
+
import {
|
|
8
|
+
GdsElement
|
|
9
|
+
} from "./chunk.ZQ4D5K7J.js";
|
|
10
|
+
import {
|
|
11
|
+
gdsCustomElement,
|
|
12
|
+
html
|
|
13
|
+
} from "./chunk.VOYMQ322.js";
|
|
14
|
+
import {
|
|
15
|
+
__decorateClass
|
|
16
|
+
} from "./chunk.5VURDMKE.js";
|
|
17
|
+
|
|
18
|
+
// libs/core/src/components/content/spacer/spacer.ts
|
|
19
|
+
var GdsSpacer = class extends GdsElement {
|
|
20
|
+
render() {
|
|
21
|
+
return html`<div></div>`;
|
|
22
|
+
}
|
|
23
|
+
};
|
|
24
|
+
GdsSpacer.styles = [tokens];
|
|
25
|
+
__decorateClass([
|
|
26
|
+
styleExpressionProperty({
|
|
27
|
+
property: "height",
|
|
28
|
+
selector: "div",
|
|
29
|
+
valueTemplate: (v) => `var(--gds-space-${v})`
|
|
30
|
+
})
|
|
31
|
+
], GdsSpacer.prototype, "size", 2);
|
|
32
|
+
GdsSpacer = __decorateClass([
|
|
33
|
+
gdsCustomElement("gds-spacer")
|
|
34
|
+
], GdsSpacer);
|
|
35
|
+
|
|
36
|
+
export {
|
|
37
|
+
GdsSpacer
|
|
38
|
+
};
|
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
import {
|
|
2
|
+
watch
|
|
3
|
+
} from "./chunk.2WO4NHJ2.js";
|
|
4
|
+
|
|
5
|
+
// libs/core/src/utils/decorators/style-expression-property.ts
|
|
6
|
+
import { unsafeCSS } from "lit";
|
|
7
|
+
import { property } from "lit/decorators.js";
|
|
8
|
+
|
|
9
|
+
// libs/core/src/utils/helpers/style-expression-parser.ts
|
|
10
|
+
var viewportBreakpoints = {
|
|
11
|
+
"0": "0px",
|
|
12
|
+
"2xs": "320px",
|
|
13
|
+
xs: "425px",
|
|
14
|
+
s: "768px",
|
|
15
|
+
m: "1024px",
|
|
16
|
+
l: "1280px",
|
|
17
|
+
xl: "1440px",
|
|
18
|
+
"2xl": "2560px",
|
|
19
|
+
"3xl": "3840px",
|
|
20
|
+
"4xl": "4320px",
|
|
21
|
+
"5xl": "6016px",
|
|
22
|
+
"6xl": "7680px"
|
|
23
|
+
};
|
|
24
|
+
var breakpointValueRegex = /^([<|>]=?)?([0-9a-z]+)/;
|
|
25
|
+
var singleCharTokens = ["{", "}", ";", ","];
|
|
26
|
+
var whitespace = [" ", "/n"];
|
|
27
|
+
function tokenize(source) {
|
|
28
|
+
const lexemes = [];
|
|
29
|
+
let scanned = "";
|
|
30
|
+
for (let i = 0; i < source.length; i++) {
|
|
31
|
+
const c = source[i];
|
|
32
|
+
if (!whitespace.includes(c))
|
|
33
|
+
scanned += c;
|
|
34
|
+
if (singleCharTokens.includes(c)) {
|
|
35
|
+
lexemes.push(scanned.slice(0, -1));
|
|
36
|
+
lexemes.push(c);
|
|
37
|
+
scanned = "";
|
|
38
|
+
continue;
|
|
39
|
+
}
|
|
40
|
+
if (whitespace.includes(c) || i === source.length - 1) {
|
|
41
|
+
lexemes.push(scanned);
|
|
42
|
+
scanned = "";
|
|
43
|
+
continue;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
return lexemes.filter((l) => l !== "");
|
|
47
|
+
}
|
|
48
|
+
function parse(tokens) {
|
|
49
|
+
const tree = [];
|
|
50
|
+
let level = "bp";
|
|
51
|
+
let scope = void 0;
|
|
52
|
+
let expectMultiCondition = false;
|
|
53
|
+
for (const t of tokens) {
|
|
54
|
+
if (!singleCharTokens.includes(t)) {
|
|
55
|
+
if (level === "val" && scope) {
|
|
56
|
+
t !== "}" && scope.values.push(t);
|
|
57
|
+
} else {
|
|
58
|
+
if (scope && expectMultiCondition) {
|
|
59
|
+
scope.breakpoint += `,${t}`;
|
|
60
|
+
expectMultiCondition = false;
|
|
61
|
+
continue;
|
|
62
|
+
}
|
|
63
|
+
if (!scope) {
|
|
64
|
+
scope = { breakpoint: t, values: [] };
|
|
65
|
+
tree.push(scope);
|
|
66
|
+
} else {
|
|
67
|
+
level = "val";
|
|
68
|
+
scope.values.push(scope.breakpoint);
|
|
69
|
+
scope.values.push(t);
|
|
70
|
+
scope.breakpoint = "-";
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
continue;
|
|
74
|
+
}
|
|
75
|
+
if (t === ",") {
|
|
76
|
+
expectMultiCondition = true;
|
|
77
|
+
continue;
|
|
78
|
+
}
|
|
79
|
+
if (t === "{") {
|
|
80
|
+
level = "val";
|
|
81
|
+
continue;
|
|
82
|
+
}
|
|
83
|
+
if (t === "}" || t === ";") {
|
|
84
|
+
level = "bp";
|
|
85
|
+
scope = void 0;
|
|
86
|
+
continue;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
return tree.map((bp) => {
|
|
90
|
+
if (bp.values.length === 0) {
|
|
91
|
+
bp.values.push(bp.breakpoint);
|
|
92
|
+
bp.breakpoint = "-";
|
|
93
|
+
}
|
|
94
|
+
return bp;
|
|
95
|
+
});
|
|
96
|
+
}
|
|
97
|
+
function parseBreakpoint(bp) {
|
|
98
|
+
const bps = bp.split(",");
|
|
99
|
+
return bps.map((b) => {
|
|
100
|
+
const match = b.trim().match(breakpointValueRegex);
|
|
101
|
+
if (!match) {
|
|
102
|
+
throw new Error(`Invalid breakpoint specifier: ${b}`);
|
|
103
|
+
}
|
|
104
|
+
return { condition: match[1], value: match[2] };
|
|
105
|
+
});
|
|
106
|
+
}
|
|
107
|
+
function toCss(selector, property2, tree, valueTemplate = (v) => v, styleTemplate = (p, vs) => `${p}: ${vs.join(" ")};`) {
|
|
108
|
+
let css = "";
|
|
109
|
+
for (const bp of tree) {
|
|
110
|
+
const bpSpecs = bp.breakpoint === "-" ? [{ condition: ">=", value: "0" }] : parseBreakpoint(bp.breakpoint);
|
|
111
|
+
const query = bpSpecs.map(
|
|
112
|
+
(b) => {
|
|
113
|
+
var _a, _b;
|
|
114
|
+
return `(${((_a = b.condition) == null ? void 0 : _a.includes("<")) ? "max-width" : "min-width"}: ${(_b = viewportBreakpoints[b.value]) != null ? _b : b.value})`;
|
|
115
|
+
}
|
|
116
|
+
).join(" and ");
|
|
117
|
+
const mq = `@media ${query} {${selector}{${styleTemplate(property2, bp.values.map(valueTemplate))}}}`;
|
|
118
|
+
css += mq;
|
|
119
|
+
}
|
|
120
|
+
return css;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
// libs/core/src/utils/decorators/style-expression-property.ts
|
|
124
|
+
function styleExpressionProperty(options) {
|
|
125
|
+
return (proto, descriptor) => {
|
|
126
|
+
var _a, _b, _c;
|
|
127
|
+
const sel = (_a = options == null ? void 0 : options.selector) != null ? _a : String(":host");
|
|
128
|
+
const prop = (_b = options == null ? void 0 : options.property) != null ? _b : String(descriptor);
|
|
129
|
+
const valueTemplate = (_c = options == null ? void 0 : options.valueTemplate) != null ? _c : (v) => `var(--gds-space-${v})`;
|
|
130
|
+
const styleTemplate = options == null ? void 0 : options.styleTemplate;
|
|
131
|
+
property({ attribute: options == null ? void 0 : options.attribute })(proto, descriptor);
|
|
132
|
+
watch(descriptor)(proto, descriptor, {
|
|
133
|
+
value: function(oldValue, newValue) {
|
|
134
|
+
const ast = parse(tokenize(newValue));
|
|
135
|
+
const css = toCss(sel, prop, ast, valueTemplate, styleTemplate);
|
|
136
|
+
this[`__${String(descriptor)}_ast`] = ast;
|
|
137
|
+
this._dynamicStylesController.inject(
|
|
138
|
+
`sep_${String(descriptor)}`,
|
|
139
|
+
unsafeCSS(css)
|
|
140
|
+
);
|
|
141
|
+
}
|
|
142
|
+
});
|
|
143
|
+
};
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
export {
|
|
147
|
+
styleExpressionProperty
|
|
148
|
+
};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GdsFormControlElement
|
|
3
3
|
} from "./chunk.MZSK66DN.js";
|
|
4
|
+
import {
|
|
5
|
+
observeLightDOM
|
|
6
|
+
} from "./chunk.WM7HBMMV.js";
|
|
4
7
|
import {
|
|
5
8
|
constrainSlots
|
|
6
9
|
} from "./chunk.KBYQYDL3.js";
|
|
7
10
|
import {
|
|
8
11
|
TransitionalStyles
|
|
9
|
-
} from "./chunk.
|
|
10
|
-
import {
|
|
11
|
-
observeLightDOM
|
|
12
|
-
} from "./chunk.WM7HBMMV.js";
|
|
12
|
+
} from "./chunk.HNQ5BESO.js";
|
|
13
13
|
import {
|
|
14
14
|
watch
|
|
15
15
|
} from "./chunk.2WO4NHJ2.js";
|