@sebgroup/green-core 1.25.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.
Files changed (113) hide show
  1. package/chunks/{chunk.7JJ5VKPL.js → chunk.24V4XJDP.js} +3 -3
  2. package/chunks/chunk.3ULLOORV.js +22 -0
  3. package/chunks/{chunk.LQAZXKB4.js → chunk.5JXFH3CA.js} +77 -240
  4. package/chunks/chunk.6BQCB4IT.js +12 -0
  5. package/chunks/chunk.7WY5IUFF.js +38 -0
  6. package/chunks/chunk.ADPMTWTS.js +148 -0
  7. package/chunks/chunk.G5CTCHXH.js +61 -0
  8. package/chunks/{chunk.S2PCHWDW.js → chunk.GTJ3YNGN.js} +4 -4
  9. package/chunks/chunk.H4ZSHOXG.js +13 -0
  10. package/chunks/{chunk.HFSAPWTQ.js → chunk.JWYX2K5T.js} +3 -3
  11. package/chunks/chunk.JZ7LISSM.js +117 -0
  12. package/chunks/chunk.K54XRGDL.js +95 -0
  13. package/chunks/chunk.KK4QVD34.js +29 -0
  14. package/chunks/chunk.KYBMS7FP.js +31 -0
  15. package/chunks/chunk.LHZ2BQLT.js +65 -0
  16. package/chunks/chunk.NKSKWGNM.js +28 -0
  17. package/chunks/chunk.NY66JKJ2.js +109 -0
  18. package/chunks/chunk.OJK4O3JQ.js +0 -0
  19. package/chunks/chunk.P7MYL4LD.js +59 -0
  20. package/chunks/chunk.QIZMUQXZ.js +131 -0
  21. package/chunks/chunk.SXGACXKX.js +28 -0
  22. package/chunks/chunk.VOYMQ322.js +1 -1
  23. package/chunks/chunk.VS5JKIZQ.js +23 -0
  24. package/chunks/{chunk.HA34PFHO.js → chunk.XBQN74WW.js} +3 -3
  25. package/chunks/chunk.ZLHAIAQU.js +73 -0
  26. package/chunks/{chunk.JWG3HSMO.js → chunk.ZY3LVGNB.js} +13 -13
  27. package/components/button/button.js +3 -3
  28. package/components/button/index.js +3 -3
  29. package/components/calendar/calendar.js +2 -2
  30. package/components/calendar/index.js +2 -2
  31. package/components/content/divider/divider.d.ts +54 -0
  32. package/components/content/divider/divider.js +15 -0
  33. package/components/content/divider/divider.style.css.js +7 -0
  34. package/components/content/divider/index.d.ts +1 -0
  35. package/components/content/divider/index.js +15 -0
  36. package/components/content/spacer/index.d.ts +1 -0
  37. package/components/content/spacer/index.js +14 -0
  38. package/components/content/spacer/spacer.d.ts +23 -0
  39. package/components/content/spacer/spacer.js +14 -0
  40. package/components/content/text/index.d.ts +1 -0
  41. package/components/content/text/index.js +15 -0
  42. package/components/content/text/text.d.ts +122 -0
  43. package/components/content/text/text.js +15 -0
  44. package/components/content/text/text.style.css.d.ts +2 -0
  45. package/components/content/text/text.style.css.js +7 -0
  46. package/components/datepicker/datepicker.js +10 -10
  47. package/components/datepicker/index.js +10 -10
  48. package/components/dropdown/dropdown.js +1 -1
  49. package/components/dropdown/index.js +1 -1
  50. package/components/filter-chips/filter-chip/filter-chip.js +5 -5
  51. package/components/filter-chips/filter-chip/index.js +5 -5
  52. package/components/filter-chips/filter-chips.js +5 -5
  53. package/components/filter-chips/index.js +5 -5
  54. package/components/icon/icons/index.js +177 -177
  55. package/components/index.d.ts +9 -1
  56. package/components/index.js +60 -19
  57. package/components/layout/card/card.d.ts +118 -0
  58. package/components/layout/card/card.js +18 -0
  59. package/components/layout/card/card.style.css.d.ts +2 -0
  60. package/components/layout/card/card.style.css.js +7 -0
  61. package/components/layout/card/index.d.ts +1 -0
  62. package/components/layout/card/index.js +18 -0
  63. package/components/layout/container/container.d.ts +152 -0
  64. package/components/layout/container/container.js +15 -0
  65. package/components/layout/container/container.style.css.d.ts +2 -0
  66. package/components/layout/container/container.style.css.js +7 -0
  67. package/components/layout/container/index.d.ts +1 -0
  68. package/components/layout/container/index.js +16 -0
  69. package/components/layout/flex/flex.d.ts +49 -0
  70. package/components/layout/flex/flex.js +18 -0
  71. package/components/layout/flex/flex.style.css.d.ts +2 -0
  72. package/components/layout/flex/flex.style.css.js +7 -0
  73. package/components/layout/flex/index.d.ts +1 -0
  74. package/components/layout/flex/index.js +18 -0
  75. package/components/layout/grid/grid.d.ts +48 -0
  76. package/components/layout/grid/grid.js +15 -0
  77. package/components/layout/grid/grid.style.css.d.ts +2 -0
  78. package/components/layout/grid/grid.style.css.js +7 -0
  79. package/components/layout/grid/index.js +15 -0
  80. package/components/media/img/img.d.ts +137 -0
  81. package/components/media/img/img.js +15 -0
  82. package/components/media/img/img.style.css.d.ts +2 -0
  83. package/components/media/img/img.style.css.js +7 -0
  84. package/components/media/img/index.d.ts +1 -0
  85. package/components/media/img/index.js +15 -0
  86. package/components/media/video/index.d.ts +1 -0
  87. package/components/media/video/index.js +15 -0
  88. package/components/media/video/video.d.ts +135 -0
  89. package/components/media/video/video.js +15 -0
  90. package/components/media/video/video.style.css.d.ts +2 -0
  91. package/components/media/video/video.style.css.js +7 -0
  92. package/components/menu-button/index.js +2 -2
  93. package/components/menu-button/menu-button.js +2 -2
  94. package/components/segmented-control/index.js +3 -3
  95. package/components/segmented-control/segment/index.js +2 -2
  96. package/components/segmented-control/segment/segment.js +2 -2
  97. package/components/segmented-control/segmented-control.js +3 -3
  98. package/index.js +60 -19
  99. package/package.json +1 -1
  100. package/primitives/ripple/index.js +2 -2
  101. package/primitives/ripple/ripple.js +2 -2
  102. package/utils/decorators/style-expression-property.d.ts +12 -0
  103. package/utils/helpers/style-expression-parser.d.ts +25 -0
  104. package/chunks/chunk.H4WGDTHX.js +0 -196
  105. package/chunks/chunk.NBEFLQNK.js +0 -79
  106. package/components/grid/grid.d.ts +0 -90
  107. package/components/grid/grid.js +0 -14
  108. package/components/grid/grid.style.css.js +0 -7
  109. package/components/grid/index.js +0 -14
  110. package/chunks/{chunk.4CZBNTGL.js → chunk.65745UGT.js} +0 -0
  111. package/chunks/{chunk.BIHHI4LS.js → chunk.HOSMWBJK.js} +3 -3
  112. /package/components/{grid/grid.style.css.d.ts → content/divider/divider.style.css.d.ts} +0 -0
  113. /package/components/{grid → layout/grid}/index.d.ts +0 -0
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  tokens
3
- } from "./chunk.LQAZXKB4.js";
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-sys-radii-full);
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-sys-radii-full);
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 Mon, 01 Jul 2024 13:44:52 GMT
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 Mon, 01 Jul 2024 13:44:52 GMT
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 Mon, 01 Jul 2024 13:44:52 GMT
289
+ * Generated on Tue, 02 Jul 2024 12:45:56 GMT
290
290
  */
291
291
 
292
292
  :host {
293
- --gds-sys-typography-weight-bold: 700;
294
- --gds-sys-typography-weight-medium: 500;
295
- --gds-sys-typography-weight-book: 450;
296
- --gds-sys-typography-weight-regular: 400;
297
- --gds-sys-typography-weight-light: 300;
298
- --gds-sys-typography-size-label-overline: 14px;
299
- --gds-sys-typography-size-label-input-medium: 14px;
300
- --gds-sys-typography-size-label-input-large: 16px;
301
- --gds-sys-typography-size-label-information-medium: 14px;
302
- --gds-sys-typography-size-label-information-large: 16px;
303
- --gds-sys-typography-size-label-small: 12px;
304
- --gds-sys-typography-size-label-medium: 14px;
305
- --gds-sys-typography-size-label-large: 16px;
306
- --gds-sys-typography-size-body-small: 12px;
307
- --gds-sys-typography-size-body-medium: 14px;
308
- --gds-sys-typography-size-body-large: 16px;
309
- --gds-sys-typography-size-title-small: 14px;
310
- --gds-sys-typography-size-title-medium: 16px;
311
- --gds-sys-typography-size-title-large: 22px;
312
- --gds-sys-typography-size-headline-small: 24px;
313
- --gds-sys-typography-size-headline-medium: 28px;
314
- --gds-sys-typography-size-headline-large: 32px;
315
- --gds-sys-typography-size-display-small: 40px;
316
- --gds-sys-typography-size-display-medium: 64px;
317
- --gds-sys-typography-size-display-large: 82px;
318
- --gds-sys-typography-line-height-label-overline: 18px;
319
- --gds-sys-typography-line-height-label-input-medium: 20px;
320
- --gds-sys-typography-line-height-label-input-large: 20px;
321
- --gds-sys-typography-line-height-label-information-medium: 20px;
322
- --gds-sys-typography-line-height-label-information-large: 20px;
323
- --gds-sys-typography-line-height-label-small: 16px;
324
- --gds-sys-typography-line-height-label-medium: 20px;
325
- --gds-sys-typography-line-height-label-large: 20px;
326
- --gds-sys-typography-line-height-body-small: 16px;
327
- --gds-sys-typography-line-height-body-medium: 20px;
328
- --gds-sys-typography-line-height-body-large: 20px;
329
- --gds-sys-typography-line-height-title-small: 20px;
330
- --gds-sys-typography-line-height-title-medium: 24px;
331
- --gds-sys-typography-line-height-title-large: 28px;
332
- --gds-sys-typography-line-height-headline-small: 30px;
333
- --gds-sys-typography-line-height-headline-medium: 36px;
334
- --gds-sys-typography-line-height-headline-large: 40px;
335
- --gds-sys-typography-line-height-display-small: 52px;
336
- --gds-sys-typography-line-height-display-medium: 80px;
337
- --gds-sys-typography-line-height-display-large: 98px;
338
- --gds-sys-state-hover-state-layer-opacity: 0.10;
339
- --gds-sys-grid-width-desktop-lg: 2560px;
340
- --gds-sys-grid-width-desktop-md: 1440px;
341
- --gds-sys-grid-width-desktop-sm: 1024px;
342
- --gds-sys-grid-width-tablet: 768px;
343
- --gds-sys-grid-width-mobile: 425px;
344
- --gds-sys-grid-columns-24: 24;
345
- --gds-sys-grid-columns-12: 12;
346
- --gds-sys-grid-columns-8: 8;
347
- --gds-sys-grid-columns-6: 6;
348
- --gds-sys-grid-columns-4: 4;
349
- --gds-sys-grid-columns-2: 2;
350
- --gds-ref-size-full: 9999px;
351
- --gds-ref-size-3-5: 14px;
352
- --gds-ref-size-2-5: 10px;
353
- --gds-ref-size-1-5: 6px;
354
- --gds-ref-size-0-5: 2px;
355
- --gds-ref-size-100: 400px;
356
- --gds-ref-size-99: 396px;
357
- --gds-ref-size-98: 392px;
358
- --gds-ref-size-97: 388px;
359
- --gds-ref-size-96: 384px;
360
- --gds-ref-size-95: 380px;
361
- --gds-ref-size-94: 376px;
362
- --gds-ref-size-93: 372px;
363
- --gds-ref-size-92: 368px;
364
- --gds-ref-size-91: 364px;
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 Mon, 01 Jul 2024 13:44:52 GMT
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,12 @@
1
+ // libs/core/src/components/layout/container/container.style.css.ts
2
+ import { css } from "lit";
3
+ var style = css`
4
+ :host {
5
+ box-sizing: border-box;
6
+ }
7
+ `;
8
+ var container_style_css_default = style;
9
+
10
+ export {
11
+ container_style_css_default
12
+ };
@@ -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
+ };
@@ -0,0 +1,61 @@
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
+ divider_style_css_default
16
+ } from "./chunk.VS5JKIZQ.js";
17
+ import {
18
+ __decorateClass
19
+ } from "./chunk.5VURDMKE.js";
20
+
21
+ // libs/core/src/components/content/divider/divider.ts
22
+ var GdsDivider = class extends GdsElement {
23
+ render() {
24
+ return html`<hr />`;
25
+ }
26
+ };
27
+ GdsDivider.styles = [tokens, divider_style_css_default];
28
+ __decorateClass([
29
+ styleExpressionProperty({
30
+ property: "color",
31
+ valueTemplate: (v) => {
32
+ const [colorName, transparency] = v.split("/");
33
+ if (transparency) {
34
+ return `color-mix(in srgb, var(--gds-sys-color-${colorName}) ${parseFloat(transparency) * 100}%, transparent 0%)`;
35
+ } else {
36
+ return `var(--gds-sys-color-${colorName})`;
37
+ }
38
+ }
39
+ })
40
+ ], GdsDivider.prototype, "color", 2);
41
+ __decorateClass([
42
+ styleExpressionProperty({
43
+ property: "--_size",
44
+ selector: "hr",
45
+ valueTemplate: (v) => `var(--gds-space-${v})`
46
+ })
47
+ ], GdsDivider.prototype, "size", 2);
48
+ __decorateClass([
49
+ styleExpressionProperty({
50
+ property: "opacity",
51
+ selector: "hr",
52
+ valueTemplate: (v) => v
53
+ })
54
+ ], GdsDivider.prototype, "opacity", 2);
55
+ GdsDivider = __decorateClass([
56
+ gdsCustomElement("gds-divider")
57
+ ], GdsDivider);
58
+
59
+ export {
60
+ GdsDivider
61
+ };