@sebgroup/green-core 1.67.2 → 1.67.3

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 (144) hide show
  1. package/chunks/{chunk.UEJZWDMS.js → chunk.2JGBCOIQ.js} +5 -1
  2. package/chunks/{chunk.TKK3J2TQ.js → chunk.2WFZ7U3F.js} +1 -1
  3. package/chunks/{chunk.H52APBDI.js → chunk.2Y6DFWW7.js} +1 -1
  4. package/chunks/{chunk.T57V24TB.js → chunk.3CMSBRTZ.js} +2 -2
  5. package/chunks/{chunk.3YDCI5TN.js → chunk.4JJ5U4J3.js} +2 -2
  6. package/chunks/{chunk.MOTMDOMF.js → chunk.5DOOWYSM.js} +1 -1
  7. package/chunks/{chunk.OQ5N7PQH.js → chunk.5IJ5QCHI.js} +6 -6
  8. package/chunks/{chunk.ZF4AT6MX.js → chunk.5Z7P2O6I.js} +2 -2
  9. package/chunks/{chunk.B7VBNGPU.js → chunk.6FFFUYXB.js} +1 -1
  10. package/chunks/{chunk.VWQM7XRX.js → chunk.7VYF3N2Y.js} +2 -2
  11. package/chunks/{chunk.5PD3PSK4.js → chunk.BOUKDWMI.js} +1 -1
  12. package/chunks/{chunk.DSCLYUJH.js → chunk.CNMGZCSX.js} +1 -1
  13. package/chunks/{chunk.Y7ALPKTD.js → chunk.CWO2JLIS.js} +2 -2
  14. package/chunks/{chunk.MXB46C5Z.js → chunk.D2LCUCWU.js} +1 -1
  15. package/chunks/{chunk.YNCPN53F.js → chunk.DADWUVRE.js} +1 -1
  16. package/chunks/{chunk.LR4JLKAP.js → chunk.DFLRXO3S.js} +2 -2
  17. package/chunks/{chunk.VQPL6OOY.js → chunk.DSZFY3II.js} +1 -1
  18. package/chunks/{chunk.4KOP3MDG.js → chunk.DUAKUCX5.js} +1 -1
  19. package/chunks/{chunk.M33XVFO4.js → chunk.EZXDCFT7.js} +2 -2
  20. package/chunks/{chunk.HP6WVPOD.js → chunk.FBTVLLWJ.js} +1 -1
  21. package/chunks/{chunk.XHNT35GH.js → chunk.HI573GSS.js} +2 -2
  22. package/chunks/{chunk.Z62P7O6Q.js → chunk.IFNY6OS5.js} +1 -1
  23. package/chunks/{chunk.UG52NHEU.js → chunk.ISBOH77G.js} +1 -1
  24. package/chunks/{chunk.TEHTECXG.js → chunk.IXB5YFY3.js} +1 -1
  25. package/chunks/{chunk.6YEOPBIX.js → chunk.J3UBPM6T.js} +1 -1
  26. package/chunks/{chunk.XJBJSFOF.js → chunk.KBQEVGI3.js} +2 -2
  27. package/chunks/{chunk.N33PIQO6.js → chunk.KKXHTZPV.js} +1 -1
  28. package/chunks/{chunk.TG2IMOLR.js → chunk.KLPIZUUJ.js} +1 -1
  29. package/chunks/{chunk.2KP7CXJ5.js → chunk.L7E5YRLW.js} +1 -1
  30. package/chunks/{chunk.PDLHNMEY.js → chunk.NCHJLNEI.js} +1 -1
  31. package/chunks/{chunk.IVSKSYIJ.js → chunk.NWTFR6C5.js} +3 -3
  32. package/chunks/{chunk.TQFIEGYC.js → chunk.PMI5573V.js} +109 -30
  33. package/chunks/chunk.QK3R23GV.js +1 -1
  34. package/chunks/{chunk.NQCWG32E.js → chunk.RXBISGDG.js} +2 -2
  35. package/chunks/{chunk.YJIZUKAI.js → chunk.SE5F2Q44.js} +2 -2
  36. package/chunks/{chunk.VOXIRTMQ.js → chunk.UYPWJOVD.js} +2 -2
  37. package/chunks/{chunk.ADQIHTFC.js → chunk.V2DWS2K2.js} +2 -2
  38. package/chunks/{chunk.U5GRU6XM.js → chunk.WYJPACL4.js} +1 -1
  39. package/chunks/{chunk.FSK42X7K.js → chunk.XVMY2HHO.js} +2 -2
  40. package/chunks/{chunk.6NZIC3TW.js → chunk.XW7OCTZA.js} +1 -1
  41. package/chunks/{chunk.7LIY65KP.js → chunk.YJ2UROCX.js} +1 -1
  42. package/chunks/{chunk.DCGFNDFX.js → chunk.ZP7HK4DQ.js} +1 -1
  43. package/components/badge/badge.js +4 -4
  44. package/components/badge/index.js +4 -4
  45. package/components/button/button.js +4 -4
  46. package/components/button/button.trans.styles.js +2 -2
  47. package/components/button/index.js +4 -4
  48. package/components/calendar/calendar.js +3 -3
  49. package/components/calendar/calendar.trans.styles.js +2 -2
  50. package/components/calendar/index.js +3 -3
  51. package/components/card/card.js +3 -3
  52. package/components/card/index.js +3 -3
  53. package/components/container/container.js +3 -3
  54. package/components/container/index.js +3 -3
  55. package/components/context-menu/context-menu.js +6 -6
  56. package/components/context-menu/context-menu.trans.styles.js +2 -2
  57. package/components/context-menu/index.js +7 -7
  58. package/components/datepicker/datepicker.js +16 -16
  59. package/components/datepicker/datepicker.trans.styles.js +2 -2
  60. package/components/datepicker/index.js +16 -16
  61. package/components/dialog/dialog.js +7 -7
  62. package/components/dialog/index.js +7 -7
  63. package/components/div/div.js +2 -2
  64. package/components/div/index.js +2 -2
  65. package/components/divider/divider.js +2 -2
  66. package/components/divider/index.js +2 -2
  67. package/components/dropdown/dropdown.js +13 -13
  68. package/components/dropdown/dropdown.trans.styles.js +2 -2
  69. package/components/dropdown/index.js +14 -14
  70. package/components/fab/fab.js +5 -5
  71. package/components/fab/index.js +5 -5
  72. package/components/filter-chips/filter-chip/filter-chip.js +5 -5
  73. package/components/filter-chips/filter-chip/filter-chip.trans.styles.js +2 -2
  74. package/components/filter-chips/filter-chip/index.js +5 -5
  75. package/components/filter-chips/filter-chips.js +5 -5
  76. package/components/filter-chips/filter-chips.trans.styles.js +2 -2
  77. package/components/filter-chips/index.js +5 -5
  78. package/components/flex/flex.js +3 -3
  79. package/components/flex/index.js +3 -3
  80. package/components/form/index.js +7 -7
  81. package/components/form/summary/index.js +7 -7
  82. package/components/form/summary/summary.js +7 -7
  83. package/components/grid/grid.js +3 -3
  84. package/components/grid/index.js +3 -3
  85. package/components/grouped-list/grouped-list.js +3 -3
  86. package/components/grouped-list/grouped-list.trans.styles.js +2 -2
  87. package/components/grouped-list/index.js +3 -3
  88. package/components/img/img.js +2 -2
  89. package/components/img/index.js +2 -2
  90. package/components/index.js +39 -39
  91. package/components/input/index.js +10 -10
  92. package/components/input/input.js +10 -10
  93. package/components/input/input.trans.styles.js +2 -2
  94. package/components/link/index.js +2 -2
  95. package/components/link/link.js +2 -2
  96. package/components/mask/index.js +4 -4
  97. package/components/mask/mask.js +4 -4
  98. package/components/menu-button/index.js +2 -2
  99. package/components/menu-button/menu-button.js +2 -2
  100. package/components/popover/index.js +3 -3
  101. package/components/popover/popover.js +3 -3
  102. package/components/popover/popover.trans.styles.js +2 -2
  103. package/components/rich-text/index.js +3 -3
  104. package/components/rich-text/rich-text.js +3 -3
  105. package/components/segmented-control/index.js +4 -4
  106. package/components/segmented-control/segment/index.js +3 -3
  107. package/components/segmented-control/segment/segment.js +3 -3
  108. package/components/segmented-control/segment/segment.trans.styles.js +2 -2
  109. package/components/segmented-control/segmented-control.js +4 -4
  110. package/components/segmented-control/segmented-control.trans.styles.js +2 -2
  111. package/components/select/index.js +10 -10
  112. package/components/select/select.js +10 -10
  113. package/components/select/select.trans.styles.js +2 -2
  114. package/components/signal/index.js +2 -2
  115. package/components/signal/signal.js +2 -2
  116. package/components/spacer/index.js +2 -2
  117. package/components/spacer/spacer.js +2 -2
  118. package/components/text/index.js +4 -4
  119. package/components/text/text.js +4 -4
  120. package/components/textarea/index.js +10 -10
  121. package/components/textarea/textarea.js +10 -10
  122. package/components/theme/index.js +3 -3
  123. package/components/theme/theme.js +3 -3
  124. package/components/theme/theme.trans.styles.js +2 -2
  125. package/components/video/index.js +2 -2
  126. package/components/video/video.js +2 -2
  127. package/index.js +39 -39
  128. package/package.json +1 -1
  129. package/primitives/field-base/field-base.js +3 -3
  130. package/primitives/field-base/index.js +3 -3
  131. package/primitives/form-control-footer/form-control-footer.js +4 -4
  132. package/primitives/form-control-footer/index.js +4 -4
  133. package/primitives/form-control-header/form-control-header.js +6 -6
  134. package/primitives/form-control-header/index.js +6 -6
  135. package/primitives/listbox/index.js +4 -4
  136. package/primitives/listbox/listbox.js +4 -4
  137. package/primitives/listbox/option.js +3 -3
  138. package/primitives/menu/index.js +4 -4
  139. package/primitives/menu/menu-heading.js +3 -3
  140. package/primitives/menu/menu-item.js +3 -3
  141. package/primitives/menu/menu.js +4 -4
  142. package/primitives/ripple/index.js +2 -2
  143. package/primitives/ripple/ripple.js +2 -2
  144. package/transitional-styles.js +2 -2
@@ -4,10 +4,14 @@ var defaultStyles = css`
4
4
  @layer defaults {
5
5
  a:link {
6
6
  color: currentColor;
7
- text-undeline-offset: 0.2lh;
7
+ text-underline-offset: 0.1lh;
8
8
  font-weight: var(--gds-text-weight-book);
9
9
  }
10
10
 
11
+ a:visited {
12
+ color: currentColor;
13
+ }
14
+
11
15
  h1 {
12
16
  font-size: var(--gds-text-size-heading-xl);
13
17
  line-height: var(--gds-text-line-height-heading-xl);
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk.NUUST5OZ.js";
7
7
  import {
8
8
  tokens
9
- } from "./chunk.OQ5N7PQH.js";
9
+ } from "./chunk.5IJ5QCHI.js";
10
10
  import {
11
11
  GdsElement
12
12
  } from "./chunk.TMEWQZER.js";
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk.ZRKILGXZ.js";
5
5
  import {
6
6
  TransitionalStyles
7
- } from "./chunk.YNCPN53F.js";
7
+ } from "./chunk.DADWUVRE.js";
8
8
  import {
9
9
  GdsElement
10
10
  } from "./chunk.TMEWQZER.js";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  GdsFlex
3
- } from "./chunk.3YDCI5TN.js";
3
+ } from "./chunk.4JJ5U4J3.js";
4
4
  import {
5
5
  styleExpressionProperty
6
6
  } from "./chunk.NUUST5OZ.js";
7
7
  import {
8
8
  tokens
9
- } from "./chunk.OQ5N7PQH.js";
9
+ } from "./chunk.5IJ5QCHI.js";
10
10
  import {
11
11
  gdsCustomElement
12
12
  } from "./chunk.QK3R23GV.js";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  GdsDiv
3
- } from "./chunk.N33PIQO6.js";
3
+ } from "./chunk.KKXHTZPV.js";
4
4
  import {
5
5
  tokens
6
- } from "./chunk.OQ5N7PQH.js";
6
+ } from "./chunk.5IJ5QCHI.js";
7
7
  import {
8
8
  gdsCustomElement,
9
9
  html
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  TransitionalStyles
3
- } from "./chunk.YNCPN53F.js";
3
+ } from "./chunk.DADWUVRE.js";
4
4
  import {
5
5
  GdsElement
6
6
  } from "./chunk.TMEWQZER.js";
@@ -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 Mon, 03 Mar 2025 14:15:14 GMT
8
+ * Generated on Mon, 03 Mar 2025 15:53:13 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 Mon, 03 Mar 2025 14:15:14 GMT
122
+ * Generated on Mon, 03 Mar 2025 15:53:13 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 Mon, 03 Mar 2025 14:15:14 GMT
239
+ * Generated on Mon, 03 Mar 2025 15:53:13 GMT
240
240
  */
241
241
 
242
242
  :host {
@@ -255,7 +255,7 @@ var motion_default = `/**
255
255
  // dist/libs/tokens/internal/shadow.css?inline
256
256
  var shadow_default = `/**
257
257
  * Do not edit directly
258
- * Generated on Mon, 03 Mar 2025 14:15:14 GMT
258
+ * Generated on Mon, 03 Mar 2025 15:53:13 GMT
259
259
  */
260
260
 
261
261
  :host {
@@ -270,7 +270,7 @@ var shadow_default = `/**
270
270
  // dist/libs/tokens/internal/size.css?inline
271
271
  var size_default = `/**
272
272
  * Do not edit directly
273
- * Generated on Mon, 03 Mar 2025 14:15:14 GMT
273
+ * Generated on Mon, 03 Mar 2025 15:53:13 GMT
274
274
  */
275
275
 
276
276
  :host {
@@ -297,7 +297,7 @@ var size_default = `/**
297
297
  // dist/libs/tokens/internal/text.css?inline
298
298
  var text_default = `/**
299
299
  * Do not edit directly
300
- * Generated on Mon, 03 Mar 2025 14:15:14 GMT
300
+ * Generated on Mon, 03 Mar 2025 15:53:13 GMT
301
301
  */
302
302
 
303
303
  :host {
@@ -8,13 +8,13 @@ import {
8
8
  } from "./chunk.TWXTKG4B.js";
9
9
  import {
10
10
  TransitionalStyles
11
- } from "./chunk.YNCPN53F.js";
11
+ } from "./chunk.DADWUVRE.js";
12
12
  import {
13
13
  watch
14
14
  } from "./chunk.TYGMNHNO.js";
15
15
  import {
16
16
  tokens
17
- } from "./chunk.OQ5N7PQH.js";
17
+ } from "./chunk.5IJ5QCHI.js";
18
18
  import {
19
19
  GdsElement
20
20
  } from "./chunk.TMEWQZER.js";
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk.E62NOHQC.js";
5
5
  import {
6
6
  TransitionalStyles
7
- } from "./chunk.YNCPN53F.js";
7
+ } from "./chunk.DADWUVRE.js";
8
8
  import {
9
9
  GdsElement
10
10
  } from "./chunk.TMEWQZER.js";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  GdsDiv
3
- } from "./chunk.N33PIQO6.js";
3
+ } from "./chunk.KKXHTZPV.js";
4
4
  import {
5
5
  styleExpressionProperty
6
6
  } from "./chunk.NUUST5OZ.js";
7
7
  import {
8
8
  tokens
9
- } from "./chunk.OQ5N7PQH.js";
9
+ } from "./chunk.5IJ5QCHI.js";
10
10
  import {
11
11
  gdsCustomElement,
12
12
  html
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  TransitionalStyles
3
- } from "./chunk.YNCPN53F.js";
3
+ } from "./chunk.DADWUVRE.js";
4
4
  import {
5
5
  watch
6
6
  } from "./chunk.TYGMNHNO.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  TransitionalStyles
3
- } from "./chunk.YNCPN53F.js";
3
+ } from "./chunk.DADWUVRE.js";
4
4
  import {
5
5
  GdsElement
6
6
  } from "./chunk.TMEWQZER.js";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  TransitionalStyles
3
- } from "./chunk.YNCPN53F.js";
3
+ } from "./chunk.DADWUVRE.js";
4
4
  import {
5
5
  watch
6
6
  } from "./chunk.TYGMNHNO.js";
7
7
  import {
8
8
  tokens
9
- } from "./chunk.OQ5N7PQH.js";
9
+ } from "./chunk.5IJ5QCHI.js";
10
10
  import {
11
11
  GdsElement
12
12
  } from "./chunk.TMEWQZER.js";
@@ -8,7 +8,7 @@ import {
8
8
  } from "./chunk.NUUST5OZ.js";
9
9
  import {
10
10
  tokens
11
- } from "./chunk.OQ5N7PQH.js";
11
+ } from "./chunk.5IJ5QCHI.js";
12
12
  import {
13
13
  GdsElement
14
14
  } from "./chunk.TMEWQZER.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  tokens
3
- } from "./chunk.OQ5N7PQH.js";
3
+ } from "./chunk.5IJ5QCHI.js";
4
4
  import {
5
5
  VER_SUFFIX
6
6
  } from "./chunk.QK3R23GV.js";
@@ -3,10 +3,10 @@ import {
3
3
  } from "./chunk.TWXTKG4B.js";
4
4
  import {
5
5
  TransitionalStyles
6
- } from "./chunk.YNCPN53F.js";
6
+ } from "./chunk.DADWUVRE.js";
7
7
  import {
8
8
  tokens
9
- } from "./chunk.OQ5N7PQH.js";
9
+ } from "./chunk.5IJ5QCHI.js";
10
10
  import {
11
11
  GdsElement
12
12
  } from "./chunk.TMEWQZER.js";
@@ -8,7 +8,7 @@ import {
8
8
  } from "./chunk.NUUST5OZ.js";
9
9
  import {
10
10
  tokens
11
- } from "./chunk.OQ5N7PQH.js";
11
+ } from "./chunk.5IJ5QCHI.js";
12
12
  import {
13
13
  GdsElement
14
14
  } from "./chunk.TMEWQZER.js";
@@ -14,7 +14,7 @@ import {
14
14
  } from "./chunk.TYGMNHNO.js";
15
15
  import {
16
16
  tokens
17
- } from "./chunk.OQ5N7PQH.js";
17
+ } from "./chunk.5IJ5QCHI.js";
18
18
  import {
19
19
  gdsCustomElement,
20
20
  html
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk.VHN4JEZC.js";
4
4
  import {
5
5
  forwardAttributes
6
- } from "./chunk.XJBJSFOF.js";
6
+ } from "./chunk.KBQEVGI3.js";
7
7
  import {
8
8
  GdsFormControlElement
9
9
  } from "./chunk.VA6TUMR2.js";
@@ -20,7 +20,7 @@ import {
20
20
  } from "./chunk.TYGMNHNO.js";
21
21
  import {
22
22
  tokens
23
- } from "./chunk.OQ5N7PQH.js";
23
+ } from "./chunk.5IJ5QCHI.js";
24
24
  import {
25
25
  gdsCustomElement,
26
26
  html
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk.E62NOHQC.js";
5
5
  import {
6
6
  TransitionalStyles
7
- } from "./chunk.YNCPN53F.js";
7
+ } from "./chunk.DADWUVRE.js";
8
8
  import {
9
9
  watch
10
10
  } from "./chunk.TYGMNHNO.js";
@@ -4,13 +4,13 @@ import {
4
4
  } from "./chunk.ZRKILGXZ.js";
5
5
  import {
6
6
  TransitionalStyles
7
- } from "./chunk.YNCPN53F.js";
7
+ } from "./chunk.DADWUVRE.js";
8
8
  import {
9
9
  watch
10
10
  } from "./chunk.TYGMNHNO.js";
11
11
  import {
12
12
  tokens
13
- } from "./chunk.OQ5N7PQH.js";
13
+ } from "./chunk.5IJ5QCHI.js";
14
14
  import {
15
15
  GdsElement
16
16
  } from "./chunk.TMEWQZER.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  tokens
3
- } from "./chunk.OQ5N7PQH.js";
3
+ } from "./chunk.5IJ5QCHI.js";
4
4
  import {
5
5
  gdsCustomElement
6
6
  } from "./chunk.QK3R23GV.js";
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk.TYGMNHNO.js";
10
10
  import {
11
11
  tokens
12
- } from "./chunk.OQ5N7PQH.js";
12
+ } from "./chunk.5IJ5QCHI.js";
13
13
  import {
14
14
  gdsCustomElement,
15
15
  html
@@ -10,7 +10,7 @@ import {
10
10
  } from "./chunk.NUUST5OZ.js";
11
11
  import {
12
12
  tokens
13
- } from "./chunk.OQ5N7PQH.js";
13
+ } from "./chunk.5IJ5QCHI.js";
14
14
  import {
15
15
  GdsElement
16
16
  } from "./chunk.TMEWQZER.js";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk.NUUST5OZ.js";
4
4
  import {
5
5
  tokens
6
- } from "./chunk.OQ5N7PQH.js";
6
+ } from "./chunk.5IJ5QCHI.js";
7
7
  import {
8
8
  GdsElement
9
9
  } from "./chunk.TMEWQZER.js";
@@ -11,10 +11,10 @@ import {
11
11
  } from "./chunk.TWXTKG4B.js";
12
12
  import {
13
13
  TransitionalStyles
14
- } from "./chunk.YNCPN53F.js";
14
+ } from "./chunk.DADWUVRE.js";
15
15
  import {
16
16
  tokens
17
- } from "./chunk.OQ5N7PQH.js";
17
+ } from "./chunk.5IJ5QCHI.js";
18
18
  import {
19
19
  gdsCustomElement,
20
20
  html
@@ -16,7 +16,7 @@ import {
16
16
  } from "./chunk.NUUST5OZ.js";
17
17
  import {
18
18
  tokens
19
- } from "./chunk.OQ5N7PQH.js";
19
+ } from "./chunk.5IJ5QCHI.js";
20
20
  import {
21
21
  GdsElement
22
22
  } from "./chunk.TMEWQZER.js";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk.WM7HBMMV.js";
4
4
  import {
5
5
  TransitionalStyles
6
- } from "./chunk.YNCPN53F.js";
6
+ } from "./chunk.DADWUVRE.js";
7
7
  import {
8
8
  watch
9
9
  } from "./chunk.TYGMNHNO.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  GdsButton
3
- } from "./chunk.XJBJSFOF.js";
3
+ } from "./chunk.KBQEVGI3.js";
4
4
  import {
5
5
  withPositioningProps
6
6
  } from "./chunk.TWXTKG4B.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  GdsDiv
3
- } from "./chunk.N33PIQO6.js";
3
+ } from "./chunk.KKXHTZPV.js";
4
4
  import {
5
5
  gdsCustomElement
6
6
  } from "./chunk.QK3R23GV.js";
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  defaultStyles
3
- } from "./chunk.UEJZWDMS.js";
3
+ } from "./chunk.2JGBCOIQ.js";
4
4
  import {
5
5
  GdsDiv
6
- } from "./chunk.N33PIQO6.js";
6
+ } from "./chunk.KKXHTZPV.js";
7
7
  import {
8
8
  styleExpressionProperty
9
9
  } from "./chunk.NUUST5OZ.js";
10
10
  import {
11
11
  tokens
12
- } from "./chunk.OQ5N7PQH.js";
12
+ } from "./chunk.5IJ5QCHI.js";
13
13
  import {
14
14
  gdsCustomElement
15
15
  } from "./chunk.QK3R23GV.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  defaultStyles
3
- } from "./chunk.UEJZWDMS.js";
3
+ } from "./chunk.2JGBCOIQ.js";
4
4
  import {
5
5
  observeLightDOM
6
6
  } from "./chunk.WM7HBMMV.js";
@@ -10,7 +10,7 @@ import {
10
10
  } from "./chunk.TWXTKG4B.js";
11
11
  import {
12
12
  tokens
13
- } from "./chunk.OQ5N7PQH.js";
13
+ } from "./chunk.5IJ5QCHI.js";
14
14
  import {
15
15
  GdsElement
16
16
  } from "./chunk.TMEWQZER.js";
@@ -36,26 +36,47 @@ var styles = css`
36
36
  display: block;
37
37
  }
38
38
 
39
- :host > :first-child {
40
- margin-top: 0;
41
- }
42
-
43
- /*
44
- * typography
45
- * -----------------------------------------------------------
46
- */
47
39
  h1,
48
40
  h2,
49
41
  h3,
50
42
  h4,
51
43
  h5,
52
44
  h6 {
53
- margin-top: 0.6lh;
54
- margin-bottom: 0.3lh;
45
+ margin-top: var(--gds-space-2xl);
46
+ margin-bottom: var(--gds-space-xs);
47
+ }
48
+
49
+ :is(h1, h2, h3, h4, h5, h6):first-of-type {
50
+ margin-top: unset;
51
+ }
52
+
53
+ h1 + h2 {
54
+ margin-top: 0;
55
+ }
56
+
57
+ h2 + h3 {
58
+ margin-top: 0;
59
+ }
60
+
61
+ h3 + h4 {
62
+ margin-top: 0;
63
+ }
64
+
65
+ h4 + h5 {
66
+ margin-top: 0;
67
+ }
68
+
69
+ h4 + h5 {
70
+ margin-top: 0;
71
+ }
72
+
73
+ h5 + h6 {
74
+ margin-top: 0;
55
75
  }
56
76
 
57
77
  p {
58
- margin-bottom: 1lh;
78
+ margin: 0;
79
+ margin-bottom: var(--gds-space-xs);
59
80
  max-width: 80ch;
60
81
  }
61
82
 
@@ -67,6 +88,12 @@ var styles = css`
67
88
  max-width: 40ch;
68
89
  }
69
90
 
91
+ hr {
92
+ border: none;
93
+ border-top: var(--default-border);
94
+ margin: var(--gds-space-xl) 0;
95
+ }
96
+
70
97
  s {
71
98
  text-decoration: underline;
72
99
  text-decoration-skip-ink: none;
@@ -82,13 +109,28 @@ var styles = css`
82
109
  * lists
83
110
  * -----------------------------------------------------------
84
111
  */
85
- ul {
112
+ ul,
113
+ ol {
86
114
  padding-inline-start: 2ch;
115
+ margin: unset;
116
+ margin-bottom: 1lh;
117
+ max-width: 80ch;
87
118
  }
88
119
 
89
120
  ol {
90
- margin-left: 3ch;
91
- margin-bottom: 1lh;
121
+ counter-reset: list-counter;
122
+ list-style-type: none;
123
+ padding-inline-start: 1ch;
124
+ }
125
+
126
+ ol li {
127
+ display: flex;
128
+ counter-increment: list-counter;
129
+ }
130
+
131
+ ol li::before {
132
+ content: counter(list-counter) '. ';
133
+ min-width: 3ch;
92
134
  }
93
135
 
94
136
  li {
@@ -104,19 +146,23 @@ var styles = css`
104
146
  }
105
147
 
106
148
  /*
107
- * figure
149
+ * figure and image
108
150
  * -----------------------------------------------------------
109
151
  */
152
+ img {
153
+ display: block;
154
+ border-radius: var(--gds-space-xs);
155
+ }
156
+
110
157
  figure {
111
158
  margin: 0;
112
159
  padding: 0;
113
- & img {
114
- display: block;
115
- }
160
+ margin-top: var(--gds-space-xl);
116
161
  }
162
+
117
163
  figcaption {
118
164
  font-size: smaller;
119
- margin-block-start: 0.4lh;
165
+ margin-block-start: var(--gds-space-xs);
120
166
  }
121
167
 
122
168
  /*
@@ -129,14 +175,16 @@ var styles = css`
129
175
  width: 100%;
130
176
  border: var(--default-border);
131
177
  border-radius: var(--gds-space-s);
178
+ margin-top: var(--gds-space-xl);
132
179
  }
180
+
133
181
  th {
134
182
  font-weight: var(--gds-text-weight-book);
135
183
  text-align: left;
136
184
  border-bottom: var(--default-border);
137
185
  border-left: transparent;
138
186
  border-right: transparent;
139
- color: var(--gds-color-l3-content-secondary);
187
+ color: currentColor;
140
188
  }
141
189
 
142
190
  th:not(:last-child) {
@@ -159,10 +207,10 @@ var styles = css`
159
207
  * -----------------------------------------------------------
160
208
  */
161
209
  details {
162
- border-top: solid var(--gds-space-4xs) var(--gds-color-l3-border-tertiary);
210
+ border-top: solid var(--gds-space-4xs)
211
+ color-mix(in srgb, currentColor, transparent 90%);
163
212
  font-size: var(--gds-text-size-body-m);
164
213
  line-height: var(--gds-text-line-height-body-m);
165
- color: var(--gds-color-l2-content-secondary);
166
214
  }
167
215
 
168
216
  summary {
@@ -171,7 +219,7 @@ var styles = css`
171
219
  padding: 0.4lh 0.2ch;
172
220
  font-size: var(--gds-text-size-body-l);
173
221
  line-height: var(--gds-text-line-height-body-l);
174
- color: var(--gds-color-l2-content-primary);
222
+ color: currentColor;
175
223
  display: flex;
176
224
  justify-content: space-between;
177
225
  align-items: center;
@@ -179,10 +227,15 @@ var styles = css`
179
227
  user-select: none;
180
228
  outline-offset: var(--gds-space-2xs);
181
229
  outline-color: currentColor;
230
+ padding-inline: var(--gds-space-m);
231
+ }
182
232
 
183
- &:focus-visible {
184
- border-radius: var(--gds-space-2xs);
185
- }
233
+ summary:focus-visible {
234
+ border-radius: var(--gds-space-2xs);
235
+ }
236
+
237
+ details:hover summary {
238
+ background: color-mix(in srgb, currentColor, transparent 95%);
186
239
  }
187
240
 
188
241
  summary::after {
@@ -201,18 +254,44 @@ var styles = css`
201
254
  }
202
255
 
203
256
  details[open] {
204
- margin-bottom: 1lh;
257
+ border-bottom: var(--gds-space-4xs) solid
258
+ color-mix(in srgb, currentColor, transparent 95%);
259
+ padding-bottom: 0.4lh;
260
+ background: color-mix(in srgb, currentColor, transparent 95%);
261
+ }
262
+
263
+ details[open] > *:not(summary) {
264
+ margin-left: var(--gds-space-m);
205
265
  }
206
266
 
207
267
  details[open] summary {
268
+ margin-bottom: 0.4lh;
269
+ }
270
+
271
+ details[open] + details {
272
+ border: none;
273
+ }
274
+
275
+ details:last-of-type {
208
276
  border-bottom: var(--gds-space-4xs) solid
209
- var(--gds-color-l3-border-tertiary);
277
+ color-mix(in srgb, currentColor, transparent 90%);
278
+ margin-bottom: var(--gds-space-xl);
210
279
  }
211
280
 
212
281
  a {
213
282
  color: currentColor;
214
283
  text-decoration-color: currentColor;
215
284
  }
285
+
286
+ /*
287
+ * Iframe
288
+ */
289
+ iframe {
290
+ border: var(--gds-space-4xs) solid var(--gds-color-l2-border-primary);
291
+ border-radius: var(--gds-space-xs);
292
+ min-width: 100%;
293
+ margin-bottom: var(--gds-space-l);
294
+ }
216
295
  `;
217
296
 
218
297
  // libs/core/src/components/rich-text/rich-text.ts
@@ -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 = "-2783c6";
9
+ var VER_SUFFIX = "-27861f";
10
10
  var ScopedElementRegistry = class {
11
11
  static get instance() {
12
12
  var _a;