@sebgroup/green-core 1.53.0 → 1.54.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 (110) hide show
  1. package/chunks/{chunk.J5DMXXVI.js → chunk.47ASHWGJ.js} +9 -9
  2. package/chunks/{chunk.JKGAGDGB.js → chunk.55YQ2AEP.js} +6 -4
  3. package/chunks/{chunk.4ZEY7PY3.js → chunk.5U3AAT52.js} +1 -1
  4. package/chunks/{chunk.M6XP56RZ.js → chunk.6BGALSTN.js} +1 -1
  5. package/chunks/{chunk.GR2UJWJ6.js → chunk.6BRWDGZB.js} +2 -2
  6. package/chunks/{chunk.63P446RK.js → chunk.6CVYINEE.js} +1 -1
  7. package/chunks/{chunk.73NZRIVS.js → chunk.AH3YKJ73.js} +3 -2
  8. package/chunks/{chunk.42PXLAME.js → chunk.AWTTYF3N.js} +1 -1
  9. package/chunks/{chunk.EOPGCWMH.js → chunk.CRFU6TUO.js} +1 -1
  10. package/chunks/{chunk.SNMFZLKM.js → chunk.CSNNQCHB.js} +1 -1
  11. package/chunks/{chunk.AQNM536Y.js → chunk.DDUBJV4O.js} +1 -1
  12. package/chunks/{chunk.L5CV67AQ.js → chunk.EKK7QSOY.js} +1 -1
  13. package/chunks/{chunk.DN2OAVGL.js → chunk.ESXDJQVI.js} +2 -2
  14. package/chunks/{chunk.FTNCVDPI.js → chunk.GWVKYKJF.js} +2 -2
  15. package/chunks/{chunk.FGC4UTL3.js → chunk.HW62Q5D3.js} +1 -1
  16. package/chunks/{chunk.SHNODDWS.js → chunk.JWPQJGRZ.js} +2 -2
  17. package/chunks/{chunk.HHIMJM3I.js → chunk.K6FUR23P.js} +7 -6
  18. package/chunks/chunk.MLXMQIEV.js +1 -1
  19. package/chunks/{chunk.D3L6HEPA.js → chunk.MQFE3PAE.js} +2 -2
  20. package/chunks/{chunk.J7DSST52.js → chunk.MURSGBEB.js} +1 -1
  21. package/chunks/{chunk.Q5OLRSYK.js → chunk.N4SENP7N.js} +1 -1
  22. package/chunks/{chunk.V7EJYOZX.js → chunk.NE34DSSV.js} +3 -2
  23. package/chunks/{chunk.TWRFSLE6.js → chunk.NKZ4SF67.js} +3 -2
  24. package/chunks/{chunk.YML4GZFK.js → chunk.NVTB6QQA.js} +3 -2
  25. package/chunks/{chunk.ZJJAPP2N.js → chunk.NXWIDNCS.js} +1 -1
  26. package/chunks/{chunk.G4MIWNYF.js → chunk.PEVPHEJW.js} +60 -14
  27. package/chunks/{chunk.SB7IYMZJ.js → chunk.PGUBIB7S.js} +4 -3
  28. package/chunks/{chunk.3EGZBI5M.js → chunk.PZHRM5AI.js} +1 -1
  29. package/chunks/{chunk.4TVLZNPT.js → chunk.R5ZYXPI5.js} +5 -4
  30. package/chunks/{chunk.O5GPUELM.js → chunk.STUOK7MU.js} +1 -1
  31. package/chunks/{chunk.QUEDVKUX.js → chunk.T2MLC3DR.js} +1 -1
  32. package/chunks/{chunk.X67XGMIT.js → chunk.UEJZWDMS.js} +1 -0
  33. package/chunks/{chunk.R4WVPY43.js → chunk.WHMW7ZCX.js} +1 -1
  34. package/chunks/{chunk.LD3DR5XF.js → chunk.X3B6WJCE.js} +19 -5
  35. package/components/badge/badge.js +2 -2
  36. package/components/badge/index.js +2 -2
  37. package/components/button/button.js +3 -3
  38. package/components/button/index.js +3 -3
  39. package/components/calendar/calendar.d.ts +1 -0
  40. package/components/calendar/calendar.js +2 -2
  41. package/components/calendar/index.js +2 -2
  42. package/components/card/card.js +3 -3
  43. package/components/card/index.js +3 -3
  44. package/components/container/container.js +2 -2
  45. package/components/container/index.js +2 -2
  46. package/components/context-menu/context-menu.js +2 -2
  47. package/components/context-menu/index.js +2 -2
  48. package/components/datepicker/datepicker.js +8 -8
  49. package/components/datepicker/index.js +8 -8
  50. package/components/dialog/dialog.js +7 -7
  51. package/components/dialog/index.js +7 -7
  52. package/components/divider/divider.js +2 -2
  53. package/components/divider/index.js +2 -2
  54. package/components/dropdown/dropdown.js +6 -6
  55. package/components/dropdown/index.js +6 -6
  56. package/components/fab/fab.js +4 -4
  57. package/components/fab/index.js +4 -4
  58. package/components/filter-chips/filter-chip/filter-chip.js +3 -3
  59. package/components/filter-chips/filter-chip/index.js +3 -3
  60. package/components/filter-chips/filter-chips.js +3 -3
  61. package/components/filter-chips/index.js +3 -3
  62. package/components/flex/flex.js +3 -3
  63. package/components/flex/index.js +3 -3
  64. package/components/form/index.js +4 -4
  65. package/components/form/summary/index.js +4 -4
  66. package/components/form/summary/summary.js +4 -4
  67. package/components/grid/grid.js +3 -3
  68. package/components/grid/index.js +3 -3
  69. package/components/img/img.js +2 -2
  70. package/components/img/index.js +2 -2
  71. package/components/index.js +30 -30
  72. package/components/input/index.js +9 -9
  73. package/components/input/input.js +9 -9
  74. package/components/link/index.js +2 -2
  75. package/components/link/link.js +2 -2
  76. package/components/mask/index.js +4 -4
  77. package/components/mask/mask.js +4 -4
  78. package/components/menu-button/index.js +2 -2
  79. package/components/menu-button/menu-button.js +2 -2
  80. package/components/popover/index.js +1 -1
  81. package/components/popover/popover.js +1 -1
  82. package/components/rich-text/index.js +3 -3
  83. package/components/rich-text/rich-text.js +3 -3
  84. package/components/segmented-control/index.js +3 -3
  85. package/components/segmented-control/segment/index.js +2 -2
  86. package/components/segmented-control/segment/segment.js +2 -2
  87. package/components/segmented-control/segmented-control.js +3 -3
  88. package/components/signal/index.js +2 -2
  89. package/components/signal/signal.js +2 -2
  90. package/components/spacer/index.js +2 -2
  91. package/components/spacer/spacer.js +2 -2
  92. package/components/text/index.js +3 -3
  93. package/components/text/text.js +3 -3
  94. package/components/textarea/index.js +9 -9
  95. package/components/textarea/textarea.js +9 -9
  96. package/components/theme/index.js +2 -2
  97. package/components/theme/theme.js +2 -2
  98. package/components/video/index.js +2 -2
  99. package/components/video/video.js +2 -2
  100. package/index.js +30 -30
  101. package/package.json +1 -1
  102. package/primitives/form-control-footer/form-control-footer.js +2 -2
  103. package/primitives/form-control-footer/index.js +2 -2
  104. package/primitives/form-control-header/form-control-header.js +6 -6
  105. package/primitives/form-control-header/index.js +6 -6
  106. package/primitives/listbox/index.js +2 -2
  107. package/primitives/listbox/listbox.js +2 -2
  108. package/primitives/listbox/option.js +2 -2
  109. package/primitives/ripple/index.js +2 -2
  110. package/primitives/ripple/ripple.js +2 -2
@@ -5,7 +5,7 @@ import {
5
5
  // dist/libs/tokens/internal/dark.css?inline
6
6
  var dark_default = `/**
7
7
  * Do not edit directly
8
- * Generated on Wed, 06 Nov 2024 08:45:17 GMT
8
+ * Generated on Wed, 06 Nov 2024 13:57:41 GMT
9
9
  */
10
10
 
11
11
  color-scheme: dark;
@@ -119,7 +119,7 @@ color-scheme: dark;
119
119
  // dist/libs/tokens/internal/light.css?inline
120
120
  var light_default = `/**
121
121
  * Do not edit directly
122
- * Generated on Wed, 06 Nov 2024 08:45:17 GMT
122
+ * Generated on Wed, 06 Nov 2024 13:57:41 GMT
123
123
  */
124
124
 
125
125
  color-scheme: light;
@@ -236,7 +236,7 @@ import { css, unsafeCSS } from "lit";
236
236
  // dist/libs/tokens/internal/motion.css?inline
237
237
  var motion_default = `/**
238
238
  * Do not edit directly
239
- * Generated on Wed, 06 Nov 2024 08:45:17 GMT
239
+ * Generated on Wed, 06 Nov 2024 13:57:42 GMT
240
240
  */
241
241
 
242
242
  :host {
@@ -255,7 +255,7 @@ var motion_default = `/**
255
255
  // dist/libs/tokens/internal/pallet.css?inline
256
256
  var pallet_default = `/**
257
257
  * Do not edit directly
258
- * Generated on Wed, 06 Nov 2024 08:45:17 GMT
258
+ * Generated on Wed, 06 Nov 2024 13:57:41 GMT
259
259
  */
260
260
 
261
261
  :host {
@@ -416,7 +416,7 @@ var pallet_default = `/**
416
416
  // dist/libs/tokens/internal/shadow.css?inline
417
417
  var shadow_default = `/**
418
418
  * Do not edit directly
419
- * Generated on Wed, 06 Nov 2024 08:45:17 GMT
419
+ * Generated on Wed, 06 Nov 2024 13:57:42 GMT
420
420
  */
421
421
 
422
422
  :host {
@@ -431,7 +431,7 @@ var shadow_default = `/**
431
431
  // dist/libs/tokens/internal/size.css?inline
432
432
  var size_default = `/**
433
433
  * Do not edit directly
434
- * Generated on Wed, 06 Nov 2024 08:45:17 GMT
434
+ * Generated on Wed, 06 Nov 2024 13:57:41 GMT
435
435
  */
436
436
 
437
437
  :host {
@@ -458,7 +458,7 @@ var size_default = `/**
458
458
  // dist/libs/tokens/internal/text.css?inline
459
459
  var text_default = `/**
460
460
  * Do not edit directly
461
- * Generated on Wed, 06 Nov 2024 08:45:17 GMT
461
+ * Generated on Wed, 06 Nov 2024 13:57:41 GMT
462
462
  */
463
463
 
464
464
  :host {
@@ -519,7 +519,7 @@ var text_default = `/**
519
519
  // dist/libs/tokens/internal/theme/light.css?inline
520
520
  var light_default2 = `/**
521
521
  * Do not edit directly
522
- * Generated on Wed, 06 Nov 2024 08:45:17 GMT
522
+ * Generated on Wed, 06 Nov 2024 13:57:41 GMT
523
523
  */
524
524
 
525
525
  :host {
@@ -745,7 +745,7 @@ var light_default2 = `/**
745
745
  // dist/libs/tokens/internal/viewport.css?inline
746
746
  var viewport_default = `/**
747
747
  * Do not edit directly
748
- * Generated on Wed, 06 Nov 2024 08:45:17 GMT
748
+ * Generated on Wed, 06 Nov 2024 13:57:41 GMT
749
749
  */
750
750
 
751
751
  :host {
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  forwardAttributes
3
- } from "./chunk.J7DSST52.js";
3
+ } from "./chunk.MURSGBEB.js";
4
4
  import {
5
5
  GdsFormControlElement
6
6
  } from "./chunk.JPBBNSKG.js";
7
7
  import {
8
8
  tokens
9
- } from "./chunk.J5DMXXVI.js";
9
+ } from "./chunk.47ASHWGJ.js";
10
10
  import {
11
11
  gdsCustomElement,
12
12
  html
@@ -19,7 +19,7 @@ import {
19
19
  } from "./chunk.SEHSDSX2.js";
20
20
 
21
21
  // libs/core/src/components/input/input.ts
22
- import { msg } from "@lit/localize";
22
+ import { localized, msg } from "@lit/localize";
23
23
  import { property, query, queryAsync, state } from "lit/decorators.js";
24
24
  import { choose } from "lit/directives/choose.js";
25
25
  import { nothing } from "lit/html.js";
@@ -293,6 +293,7 @@ renderNativeInput_fn = function() {
293
293
  id="input"
294
294
  ?disabled=${this.disabled}
295
295
  aria-describedby="supporting-text"
296
+ aria-invalid=${this.invalid}
296
297
  placeholder=" "
297
298
  ${forwardAttributes(__privateGet(this, _forwardableAttrs))}
298
299
  />
@@ -366,7 +367,8 @@ __decorateClass([
366
367
  state()
367
368
  ], GdsInput.prototype, "trailSlotOccupied", 2);
368
369
  GdsInput = __decorateClass([
369
- gdsCustomElement("gds-input")
370
+ gdsCustomElement("gds-input"),
371
+ localized()
370
372
  ], GdsInput);
371
373
 
372
374
  export {
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk.H2KG3F2S.js";
4
4
  import {
5
5
  GdsButton
6
- } from "./chunk.J7DSST52.js";
6
+ } from "./chunk.MURSGBEB.js";
7
7
  import {
8
8
  gdsCustomElement
9
9
  } from "./chunk.MLXMQIEV.js";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk.H2KG3F2S.js";
4
4
  import {
5
5
  tokens
6
- } from "./chunk.J5DMXXVI.js";
6
+ } from "./chunk.47ASHWGJ.js";
7
7
  import {
8
8
  GdsElement
9
9
  } from "./chunk.6X2WDWO3.js";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  GdsContainer
3
- } from "./chunk.M6XP56RZ.js";
3
+ } from "./chunk.6BGALSTN.js";
4
4
  import {
5
5
  styleExpressionProperty
6
6
  } from "./chunk.H2KG3F2S.js";
7
7
  import {
8
8
  tokens
9
- } from "./chunk.J5DMXXVI.js";
9
+ } from "./chunk.47ASHWGJ.js";
10
10
  import {
11
11
  gdsCustomElement,
12
12
  html
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  tokens
3
- } from "./chunk.J5DMXXVI.js";
3
+ } from "./chunk.47ASHWGJ.js";
4
4
  import {
5
5
  GdsElement
6
6
  } from "./chunk.6X2WDWO3.js";
@@ -13,7 +13,7 @@ import {
13
13
  } from "./chunk.SEHSDSX2.js";
14
14
 
15
15
  // libs/core/src/primitives/form-control-header/form-control-header.ts
16
- import { msg } from "@lit/localize";
16
+ import { localized, msg } from "@lit/localize";
17
17
  import { property, query, state } from "lit/decorators.js";
18
18
  import { when } from "lit/directives/when.js";
19
19
 
@@ -160,7 +160,8 @@ __decorateClass([
160
160
  query("#extended-supporting-text")
161
161
  ], GdsFormControlHeader.prototype, "_extendedSupportingText", 2);
162
162
  GdsFormControlHeader = __decorateClass([
163
- gdsCustomElement("gds-form-control-header")
163
+ gdsCustomElement("gds-form-control-header"),
164
+ localized()
164
165
  ], GdsFormControlHeader);
165
166
 
166
167
  export {
@@ -7,7 +7,7 @@ import {
7
7
  import {
8
8
  dark_default,
9
9
  light_default
10
- } from "./chunk.J5DMXXVI.js";
10
+ } from "./chunk.47ASHWGJ.js";
11
11
  import {
12
12
  GdsElement
13
13
  } from "./chunk.6X2WDWO3.js";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk.H2KG3F2S.js";
4
4
  import {
5
5
  tokens
6
- } from "./chunk.J5DMXXVI.js";
6
+ } from "./chunk.47ASHWGJ.js";
7
7
  import {
8
8
  GdsElement
9
9
  } from "./chunk.6X2WDWO3.js";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk.H2KG3F2S.js";
4
4
  import {
5
5
  tokens
6
- } from "./chunk.J5DMXXVI.js";
6
+ } from "./chunk.47ASHWGJ.js";
7
7
  import {
8
8
  GdsElement
9
9
  } from "./chunk.6X2WDWO3.js";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk.H2KG3F2S.js";
4
4
  import {
5
5
  tokens
6
- } from "./chunk.J5DMXXVI.js";
6
+ } from "./chunk.47ASHWGJ.js";
7
7
  import {
8
8
  GdsElement
9
9
  } from "./chunk.6X2WDWO3.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  tokens
3
- } from "./chunk.J5DMXXVI.js";
3
+ } from "./chunk.47ASHWGJ.js";
4
4
  import {
5
5
  gdsCustomElement
6
6
  } from "./chunk.MLXMQIEV.js";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  defaultStyles
3
- } from "./chunk.X67XGMIT.js";
3
+ } from "./chunk.UEJZWDMS.js";
4
4
  import {
5
5
  styleExpressionProperty
6
6
  } from "./chunk.H2KG3F2S.js";
7
7
  import {
8
8
  tokens
9
- } from "./chunk.J5DMXXVI.js";
9
+ } from "./chunk.47ASHWGJ.js";
10
10
  import {
11
11
  GdsElement
12
12
  } from "./chunk.6X2WDWO3.js";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  GdsContainer
3
- } from "./chunk.M6XP56RZ.js";
3
+ } from "./chunk.6BGALSTN.js";
4
4
  import {
5
5
  styleExpressionProperty
6
6
  } from "./chunk.H2KG3F2S.js";
7
7
  import {
8
8
  tokens
9
- } from "./chunk.J5DMXXVI.js";
9
+ } from "./chunk.47ASHWGJ.js";
10
10
  import {
11
11
  gdsCustomElement,
12
12
  html
@@ -12,7 +12,7 @@ import {
12
12
  } from "./chunk.TYGMNHNO.js";
13
13
  import {
14
14
  tokens
15
- } from "./chunk.J5DMXXVI.js";
15
+ } from "./chunk.47ASHWGJ.js";
16
16
  import {
17
17
  gdsCustomElement,
18
18
  html
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  GdsContainer
3
- } from "./chunk.M6XP56RZ.js";
3
+ } from "./chunk.6BGALSTN.js";
4
4
  import {
5
5
  styleExpressionProperty
6
6
  } from "./chunk.H2KG3F2S.js";
7
7
  import {
8
8
  tokens
9
- } from "./chunk.J5DMXXVI.js";
9
+ } from "./chunk.47ASHWGJ.js";
10
10
  import {
11
11
  gdsCustomElement,
12
12
  html
@@ -13,7 +13,7 @@ import {
13
13
  } from "./chunk.TYGMNHNO.js";
14
14
  import {
15
15
  tokens
16
- } from "./chunk.J5DMXXVI.js";
16
+ } from "./chunk.47ASHWGJ.js";
17
17
  import {
18
18
  gdsCustomElement,
19
19
  html
@@ -27,7 +27,7 @@ import {
27
27
  } from "./chunk.SEHSDSX2.js";
28
28
 
29
29
  // libs/core/src/components/datepicker/datepicker.ts
30
- import { msg } from "@lit/localize";
30
+ import { localized, msg } from "@lit/localize";
31
31
  import { nothing } from "lit";
32
32
  import { property, query, queryAll, queryAsync, state } from "lit/decorators.js";
33
33
  import { classMap } from "lit/directives/class-map.js";
@@ -422,7 +422,7 @@ var GdsDatepicker = class extends GdsFormControlElement {
422
422
  () => html`<label for="spinner-0" id="label">${this.label}</label>`
423
423
  )}
424
424
 
425
- <div class="form-info"><slot name="sub-label"></slot></div>
425
+ <div class="form-info" id="sub-label"><slot name="sub-label"></slot></div>
426
426
 
427
427
  <div
428
428
  class=${classMap({ field: true, small: this.size === "small" })}
@@ -446,7 +446,7 @@ var GdsDatepicker = class extends GdsFormControlElement {
446
446
  aria-valuemin=${__privateMethod(this, _getMinSpinnerValue, getMinSpinnerValue_fn).call(this, f.name)}
447
447
  aria-valuemax=${__privateMethod(this, _getMaxSpinnerValue, getMaxSpinnerValue_fn).call(this, f.name)}
448
448
  aria-label=${__privateMethod(this, _getSpinnerLabel, getSpinnerLabel_fn).call(this, f.name)}
449
- aria-describedby="label"
449
+ aria-describedby="label sub-label message"
450
450
  @keydown=${__privateGet(this, _handleSpinnerKeydown)}
451
451
  @change=${(e) => __privateGet(this, _handleSpinnerChange).call(this, e.detail.value, f.name)}
452
452
  @focus=${__privateGet(this, _handleSpinnerFocus)}
@@ -472,7 +472,7 @@ var GdsDatepicker = class extends GdsFormControlElement {
472
472
  </button>
473
473
  </div>
474
474
 
475
- <div class="form-info">
475
+ <div class="form-info" aria-live="polite" id="message">
476
476
  <slot name="message">${this.validationMessage}</slot>
477
477
  </div>
478
478
 
@@ -818,7 +818,8 @@ __decorateClass([
818
818
  watch("open")
819
819
  ], GdsDatepicker.prototype, "_handleOpenChange", 1);
820
820
  GdsDatepicker = __decorateClass([
821
- gdsCustomElement("gds-datepicker")
821
+ gdsCustomElement("gds-datepicker"),
822
+ localized()
822
823
  ], GdsDatepicker);
823
824
 
824
825
  export {
@@ -6,7 +6,7 @@ import {
6
6
  // libs/core/src/utils/helpers/custom-element-scoping.ts
7
7
  import { html as litHtml } from "lit";
8
8
  import { customElement } from "lit/decorators.js";
9
- var VER_SUFFIX = "-dc75ab";
9
+ var VER_SUFFIX = "-2c2afd";
10
10
  var ScopedElementRegistry = class {
11
11
  static get instance() {
12
12
  var _a;
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  GdsFlex
3
- } from "./chunk.SHNODDWS.js";
3
+ } from "./chunk.JWPQJGRZ.js";
4
4
  import {
5
5
  styleExpressionProperty
6
6
  } from "./chunk.H2KG3F2S.js";
7
7
  import {
8
8
  tokens
9
- } from "./chunk.J5DMXXVI.js";
9
+ } from "./chunk.47ASHWGJ.js";
10
10
  import {
11
11
  gdsCustomElement
12
12
  } from "./chunk.MLXMQIEV.js";
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk.JMP5YJFE.js";
10
10
  import {
11
11
  tokens
12
- } from "./chunk.J5DMXXVI.js";
12
+ } from "./chunk.47ASHWGJ.js";
13
13
  import {
14
14
  gdsCustomElement,
15
15
  html
@@ -10,7 +10,7 @@ import {
10
10
  } from "./chunk.TYGMNHNO.js";
11
11
  import {
12
12
  tokens
13
- } from "./chunk.J5DMXXVI.js";
13
+ } from "./chunk.47ASHWGJ.js";
14
14
  import {
15
15
  GdsElement
16
16
  } from "./chunk.6X2WDWO3.js";
@@ -23,7 +23,7 @@ import {
23
23
  } from "./chunk.SEHSDSX2.js";
24
24
 
25
25
  // libs/core/src/components/popover/popover.ts
26
- import { msg } from "@lit/localize";
26
+ import { localized, msg } from "@lit/localize";
27
27
  import { unsafeCSS } from "lit";
28
28
  import { property, query, state } from "lit/decorators.js";
29
29
  import { classMap } from "lit/directives/class-map.js";
@@ -472,7 +472,8 @@ __decorateClass([
472
472
  watchMediaQuery("(max-width: 576px)")
473
473
  ], GdsPopover.prototype, "_handleMobileLayout", 1);
474
474
  GdsPopover = __decorateClass([
475
- gdsCustomElement("gds-popover")
475
+ gdsCustomElement("gds-popover"),
476
+ localized()
476
477
  ], GdsPopover);
477
478
 
478
479
  export {
@@ -22,6 +22,7 @@ import {
22
22
  } from "./chunk.SEHSDSX2.js";
23
23
 
24
24
  // libs/core/src/components/dialog/dialog.ts
25
+ import { localized, msg } from "@lit/localize";
25
26
  import { property, query } from "lit/decorators.js";
26
27
  import { when } from "lit/directives/when.js";
27
28
 
@@ -97,7 +98,6 @@ var styles = css`
97
98
  `;
98
99
 
99
100
  // libs/core/src/components/dialog/dialog.ts
100
- import { msg } from "@lit/localize";
101
101
  registerGlobalScrollLockStyles();
102
102
  var _returnValue, _handleNativeClose, _dispatchCloseEvent, _dispatchShowEvent, _dispatchUiStateEvent, _handleTriggerSlotChange, handleTriggerSlotChange_fn, _handleTriggerClick;
103
103
  var GdsDialog = class extends GdsElement {
@@ -284,7 +284,8 @@ __decorateClass([
284
284
  watch("open")
285
285
  ], GdsDialog.prototype, "_handleOpenChange", 1);
286
286
  GdsDialog = __decorateClass([
287
- gdsCustomElement("gds-dialog")
287
+ gdsCustomElement("gds-dialog"),
288
+ localized()
288
289
  ], GdsDialog);
289
290
 
290
291
  export {
@@ -15,7 +15,7 @@ import {
15
15
  } from "./chunk.SEHSDSX2.js";
16
16
 
17
17
  // libs/core/src/components/context-menu/context-menu.ts
18
- import { msg } from "@lit/localize";
18
+ import { localized, msg } from "@lit/localize";
19
19
  import { nothing } from "lit";
20
20
  import { property, queryAsync } from "lit/decorators.js";
21
21
  import { classMap } from "lit/directives/class-map.js";
@@ -138,7 +138,8 @@ __decorateClass([
138
138
  queryAsync("#trigger")
139
139
  ], GdsContextMenu.prototype, "elTriggerBtn", 2);
140
140
  GdsContextMenu = __decorateClass([
141
- gdsCustomElement("gds-context-menu")
141
+ gdsCustomElement("gds-context-menu"),
142
+ localized()
142
143
  ], GdsContextMenu);
143
144
 
144
145
  export {
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk.H2KG3F2S.js";
4
4
  import {
5
5
  tokens
6
- } from "./chunk.J5DMXXVI.js";
6
+ } from "./chunk.47ASHWGJ.js";
7
7
  import {
8
8
  GdsElement
9
9
  } from "./chunk.6X2WDWO3.js";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  defaultStyles
3
- } from "./chunk.X67XGMIT.js";
3
+ } from "./chunk.UEJZWDMS.js";
4
4
  import {
5
5
  observeLightDOM
6
6
  } from "./chunk.WM7HBMMV.js";
7
7
  import {
8
8
  tokens
9
- } from "./chunk.J5DMXXVI.js";
9
+ } from "./chunk.47ASHWGJ.js";
10
10
  import {
11
11
  GdsElement
12
12
  } from "./chunk.6X2WDWO3.js";
@@ -25,6 +25,7 @@ var styles = css`
25
25
  line-height: var(--gds-text-line-height-body-m);
26
26
  --default-border: 1px solid
27
27
  color-mix(in srgb, currentColor, transparent 80%);
28
+ letter-spacing: 0.0125rem;
28
29
  }
29
30
 
30
31
  :host > :first-child {
@@ -47,12 +48,15 @@ var styles = css`
47
48
 
48
49
  p {
49
50
  margin-bottom: 1lh;
51
+ max-width: 80ch;
50
52
  }
51
53
 
52
54
  blockquote {
53
55
  margin: unset;
56
+ margin-block: 2lh;
54
57
  border-left: 0.2rem solid currentColor;
55
- padding-left: 1ch;
58
+ padding-left: 2ch;
59
+ max-width: 40ch;
56
60
  }
57
61
 
58
62
  s {
@@ -97,6 +101,7 @@ var styles = css`
97
101
  }
98
102
  figcaption {
99
103
  font-size: smaller;
104
+ margin-block-start: 0.4lh;
100
105
  }
101
106
 
102
107
  /*
@@ -104,17 +109,28 @@ var styles = css`
104
109
  * -----------------------------------------------------------
105
110
  */
106
111
  table {
107
- border-collapse: collapse;
112
+ border-collapse: separate;
113
+ border-spacing: 0;
108
114
  width: 100%;
115
+ border: var(--default-border);
116
+ border-radius: var(--gds-space-s);
109
117
  }
110
118
  th {
111
119
  font-weight: var(--gds-text-weight-book);
112
120
  text-align: left;
113
121
  border-bottom: var(--default-border);
122
+ border-left: transparent;
123
+ border-right: transparent;
124
+ color: var(--gds-color-l3-content-secondary);
125
+ }
126
+
127
+ th:not(:last-child) {
128
+ border-right: var(--default-border);
114
129
  }
130
+
115
131
  th,
116
132
  td {
117
- padding: 0.3lh 0.6ch;
133
+ padding: 0.3lh 2ch;
118
134
  }
119
135
  td:not(:last-child) {
120
136
  border-right: var(--default-border);
@@ -128,24 +144,54 @@ var styles = css`
128
144
  * -----------------------------------------------------------
129
145
  */
130
146
  details {
131
- border: var(--default-border);
132
- border-radius: var(--gds-space-xs);
133
- padding: 0.5em 0.5em 0;
147
+ border-top: solid var(--gds-space-4xs) var(--gds-color-l3-border-tertiary);
148
+ font-size: var(--gds-text-size-body-m);
149
+ line-height: var(--gds-text-line-height-body-m);
150
+ color: var(--gds-color-l2-content-secondary);
134
151
  }
135
152
 
136
153
  summary {
137
- font-weight: var(--gds-text-weight-book);
138
- margin: -0.5em -0.5em 0;
139
- padding: 0.5em;
154
+ font-weight: var(--gds-text-weight-regular);
155
+ list-style: none;
156
+ padding: 0.4lh 0.2ch;
157
+ font-size: var(--gds-text-size-body-l);
158
+ line-height: var(--gds-text-line-height-body-l);
159
+ color: var(--gds-color-l2-content-primary);
160
+ display: flex;
161
+ justify-content: space-between;
162
+ align-items: center;
163
+ cursor: pointer;
164
+ user-select: none;
165
+ outline-offset: var(--gds-space-2xs);
166
+ outline-color: currentColor;
167
+
168
+ &:focus-visible {
169
+ border-radius: var(--gds-space-2xs);
170
+ }
171
+ }
172
+
173
+ summary::after {
174
+ content: '+';
175
+ display: flex;
176
+ align-items: center;
177
+ justify-content: center;
178
+ width: 24px;
179
+ height: 24px;
180
+ font-weight: var(--gds-text-weight-regular);
181
+ font-size: var(--gds-text-size-body-l);
182
+ }
183
+
184
+ details[open] summary::after {
185
+ content: '-';
140
186
  }
141
187
 
142
188
  details[open] {
143
- padding: 0.5em;
189
+ margin-bottom: 1lh;
144
190
  }
145
191
 
146
192
  details[open] summary {
147
- border-bottom: var(--default-border);
148
- margin-bottom: 0.5em;
193
+ border-bottom: var(--gds-space-4xs) solid
194
+ var(--gds-color-l3-border-tertiary);
149
195
  }
150
196
  `;
151
197
 
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk.TYGMNHNO.js";
10
10
  import {
11
11
  tokens
12
- } from "./chunk.J5DMXXVI.js";
12
+ } from "./chunk.47ASHWGJ.js";
13
13
  import {
14
14
  GdsElement
15
15
  } from "./chunk.6X2WDWO3.js";
@@ -26,7 +26,7 @@ import {
26
26
  } from "./chunk.SEHSDSX2.js";
27
27
 
28
28
  // libs/core/src/components/segmented-control/segmented-control.ts
29
- import { msg } from "@lit/localize";
29
+ import { localized, msg } from "@lit/localize";
30
30
  import { unsafeCSS } from "lit";
31
31
  import { property, query, state } from "lit/decorators.js";
32
32
 
@@ -344,7 +344,8 @@ __decorateClass([
344
344
  watch("segMinWidth")
345
345
  ], GdsSegmentedControl.prototype, "_recalculateMinWidth", 1);
346
346
  GdsSegmentedControl = __decorateClass([
347
- gdsCustomElement("gds-segmented-control")
347
+ gdsCustomElement("gds-segmented-control"),
348
+ localized()
348
349
  ], GdsSegmentedControl);
349
350
 
350
351
  export {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  tokens
3
- } from "./chunk.J5DMXXVI.js";
3
+ } from "./chunk.47ASHWGJ.js";
4
4
  import {
5
5
  GdsElement
6
6
  } from "./chunk.6X2WDWO3.js";