@sebgroup/green-core 1.60.0 → 1.61.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 (163) hide show
  1. package/chunks/{chunk.HLWSHILT.js → chunk.27SYD4ZG.js} +6 -8
  2. package/chunks/{chunk.4F2WAZKO.js → chunk.2HVQ24BJ.js} +2 -2
  3. package/chunks/{chunk.BRHKDNFD.js → chunk.3HGZ5B5Q.js} +1 -1
  4. package/chunks/{chunk.TVJYFYLU.js → chunk.43JUKB53.js} +33 -11
  5. package/chunks/chunk.5HUS6CAH.js +0 -0
  6. package/chunks/{chunk.SHITJ27X.js → chunk.5L6LO6VX.js} +1 -1
  7. package/chunks/{chunk.RXOV7ZV4.js → chunk.77RJTA43.js} +1 -1
  8. package/chunks/{chunk.4VYS7SYU.js → chunk.A2VYZXDP.js} +14 -6
  9. package/chunks/{chunk.KSBQGJ4N.js → chunk.B525N4J3.js} +2 -2
  10. package/chunks/{chunk.2Z4W2TRI.js → chunk.B7X4UWIN.js} +1 -1
  11. package/chunks/{chunk.BGWGCMCR.js → chunk.BHWBJIPJ.js} +75 -57
  12. package/chunks/chunk.BYYROY6X.js +382 -0
  13. package/chunks/{chunk.B3BCODWZ.js → chunk.C3ZGNKY3.js} +2 -2
  14. package/chunks/{chunk.3WZNFNK6.js → chunk.DBFF5KCR.js} +1 -1
  15. package/chunks/{chunk.DG5H6P5X.js → chunk.DYKJT56X.js} +2 -2
  16. package/chunks/{chunk.3DRYWPZO.js → chunk.FCB5VT3N.js} +8 -4
  17. package/chunks/{chunk.QYSGJ5CP.js → chunk.GYV7S25D.js} +6 -13
  18. package/chunks/{chunk.P2DEMU5V.js → chunk.H26SOC3M.js} +2 -2
  19. package/chunks/{chunk.TPWB5DUJ.js → chunk.HJBA7FLT.js} +47 -17
  20. package/chunks/{chunk.ECWUT62F.js → chunk.HOH7FXB5.js} +20 -8
  21. package/chunks/{chunk.OXGED2L5.js → chunk.HORYYI6N.js} +2 -2
  22. package/chunks/{chunk.532242YD.js → chunk.IS6GBDKU.js} +1 -1
  23. package/chunks/{chunk.HVDSCK6U.js → chunk.JYTNQTK4.js} +2 -2
  24. package/chunks/{chunk.4ZHTAQDZ.js → chunk.KEPXMMGX.js} +3 -3
  25. package/chunks/{chunk.LJOYUM3A.js → chunk.KMMI2BYQ.js} +1 -1
  26. package/chunks/{chunk.KOSOFSBP.js → chunk.KTCN5HJV.js} +25 -3
  27. package/chunks/{chunk.EQK24GA7.js → chunk.M6S3B5GI.js} +1 -1
  28. package/chunks/chunk.MLXMQIEV.js +1 -1
  29. package/chunks/{chunk.DDEH4BLM.js → chunk.MSDETVDW.js} +1 -1
  30. package/chunks/{chunk.HZSYETQW.js → chunk.NCZAYYNU.js} +1 -1
  31. package/chunks/{chunk.HRNZCGRZ.js → chunk.OSIUU4NF.js} +20 -6
  32. package/chunks/{chunk.2QH66UQK.js → chunk.P2BOEVHE.js} +2 -2
  33. package/chunks/{chunk.AIJ6QFLC.js → chunk.PBUUPCPL.js} +1 -1
  34. package/chunks/{chunk.2FIMLN5K.js → chunk.QIE6QJ5O.js} +2 -2
  35. package/chunks/{chunk.6YX75PNT.js → chunk.QN5HFZCH.js} +1 -1
  36. package/chunks/{chunk.E5WWCN6L.js → chunk.RL2KSWKV.js} +1 -1
  37. package/chunks/{chunk.FAQESENL.js → chunk.RTE75ZOU.js} +13 -7
  38. package/chunks/{chunk.MXCTN4I7.js → chunk.S4DOMLSN.js} +2 -2
  39. package/chunks/{chunk.W6APMWG7.js → chunk.SGFAP56K.js} +1 -1
  40. package/chunks/{chunk.QRS6W5CU.js → chunk.SIRY2HVR.js} +2 -2
  41. package/chunks/chunk.T6P6LC4Y.js +26 -0
  42. package/chunks/{chunk.2RPIXTTF.js → chunk.U44LH2CF.js} +1 -1
  43. package/chunks/{chunk.JHTTWGJB.js → chunk.W6E54X7P.js} +1 -1
  44. package/chunks/{chunk.EXYL4FK6.js → chunk.WV7BXKV6.js} +2 -2
  45. package/chunks/{chunk.XFOLMVIU.js → chunk.WXBRUX3Q.js} +12 -12
  46. package/chunks/{chunk.ZKJKGAYQ.js → chunk.XAWXXWZ3.js} +2 -2
  47. package/chunks/{chunk.PIVMG24U.js → chunk.YAPDYZK6.js} +1 -1
  48. package/chunks/{chunk.WOGUULLN.js → chunk.YRHYEHLO.js} +1 -1
  49. package/chunks/{chunk.H7DJUX62.js → chunk.Z334YLO4.js} +1 -1
  50. package/chunks/{chunk.JYQY43ZR.js → chunk.Z3MHP5MN.js} +8 -1
  51. package/chunks/{chunk.UDVIBJU2.js → chunk.ZTRXED5A.js} +1 -1
  52. package/components/badge/badge.js +4 -4
  53. package/components/badge/index.js +4 -4
  54. package/components/button/button.js +5 -5
  55. package/components/button/button.trans.styles.js +1 -1
  56. package/components/button/index.js +5 -5
  57. package/components/calendar/calendar.js +3 -3
  58. package/components/calendar/calendar.trans.styles.js +1 -1
  59. package/components/calendar/index.js +3 -3
  60. package/components/card/card.js +3 -3
  61. package/components/card/index.js +3 -3
  62. package/components/container/container.js +2 -2
  63. package/components/container/index.js +2 -2
  64. package/components/context-menu/context-menu.js +6 -6
  65. package/components/context-menu/context-menu.trans.styles.js +1 -1
  66. package/components/context-menu/index.js +7 -7
  67. package/components/datepicker/datepicker.js +13 -13
  68. package/components/datepicker/datepicker.trans.styles.js +1 -1
  69. package/components/datepicker/index.js +13 -13
  70. package/components/dialog/dialog.js +8 -8
  71. package/components/dialog/index.js +8 -8
  72. package/components/divider/divider.js +2 -2
  73. package/components/divider/index.js +2 -2
  74. package/components/dropdown/dropdown.js +10 -10
  75. package/components/dropdown/dropdown.trans.styles.js +1 -1
  76. package/components/dropdown/index.js +11 -11
  77. package/components/fab/fab.js +6 -6
  78. package/components/fab/index.js +6 -6
  79. package/components/filter-chips/filter-chip/filter-chip.js +6 -6
  80. package/components/filter-chips/filter-chip/filter-chip.trans.styles.js +1 -1
  81. package/components/filter-chips/filter-chip/index.js +6 -6
  82. package/components/filter-chips/filter-chips.js +7 -7
  83. package/components/filter-chips/filter-chips.trans.styles.js +1 -1
  84. package/components/filter-chips/index.js +7 -7
  85. package/components/flex/flex.js +3 -3
  86. package/components/flex/index.js +3 -3
  87. package/components/form/form-control.d.ts +8 -0
  88. package/components/form/form-control.js +1 -1
  89. package/components/form/index.js +8 -7
  90. package/components/form/summary/index.js +8 -7
  91. package/components/form/summary/summary.d.ts +1 -1
  92. package/components/form/summary/summary.js +8 -7
  93. package/components/grid/grid.js +3 -3
  94. package/components/grid/index.js +3 -3
  95. package/components/grouped-list/grouped-list.js +2 -2
  96. package/components/grouped-list/grouped-list.trans.styles.js +1 -1
  97. package/components/grouped-list/index.js +2 -2
  98. package/components/icon/icons/back.js +1 -1
  99. package/components/icon/icons/brand-app-store.js +1 -1
  100. package/components/icon/icons/brand-chrome.js +1 -1
  101. package/components/icon/icons/brand-green.js +1 -1
  102. package/components/icon/icons/brand-play-store.js +1 -1
  103. package/components/icon/icons/brand-x.js +1 -1
  104. package/components/icon/icons/fast-forward.js +1 -1
  105. package/components/icon/icons/index.js +11 -11
  106. package/components/icon/icons/pause.js +1 -1
  107. package/components/img/img.js +2 -2
  108. package/components/img/index.js +2 -2
  109. package/components/index.js +44 -43
  110. package/components/input/index.js +11 -11
  111. package/components/input/input.d.ts +1 -1
  112. package/components/input/input.js +11 -11
  113. package/components/link/index.js +2 -2
  114. package/components/link/link.js +2 -2
  115. package/components/mask/index.js +4 -4
  116. package/components/mask/mask.js +4 -4
  117. package/components/menu-button/index.js +2 -2
  118. package/components/menu-button/menu-button.js +2 -2
  119. package/components/popover/index.js +2 -2
  120. package/components/popover/popover.js +2 -2
  121. package/components/popover/popover.trans.styles.js +1 -1
  122. package/components/rich-text/index.js +2 -2
  123. package/components/rich-text/rich-text.d.ts +15 -1
  124. package/components/rich-text/rich-text.js +2 -2
  125. package/components/segmented-control/index.js +4 -4
  126. package/components/segmented-control/segment/index.js +3 -3
  127. package/components/segmented-control/segment/segment.js +3 -3
  128. package/components/segmented-control/segment/segment.trans.styles.js +1 -1
  129. package/components/segmented-control/segmented-control.js +4 -4
  130. package/components/segmented-control/segmented-control.trans.styles.js +1 -1
  131. package/components/signal/index.js +2 -2
  132. package/components/signal/signal.js +2 -2
  133. package/components/spacer/index.js +2 -2
  134. package/components/spacer/spacer.js +2 -2
  135. package/components/text/index.js +3 -2
  136. package/components/text/text.js +2 -2
  137. package/components/textarea/index.js +11 -11
  138. package/components/textarea/textarea.d.ts +2 -1
  139. package/components/textarea/textarea.js +11 -11
  140. package/components/theme/index.js +3 -3
  141. package/components/theme/theme.js +3 -3
  142. package/components/theme/theme.trans.styles.js +1 -1
  143. package/components/video/index.js +2 -2
  144. package/components/video/video.js +2 -2
  145. package/index.js +44 -43
  146. package/package.json +1 -1
  147. package/primitives/form-control-footer/form-control-footer.js +4 -4
  148. package/primitives/form-control-footer/index.js +4 -4
  149. package/primitives/form-control-header/form-control-header.js +7 -7
  150. package/primitives/form-control-header/index.js +7 -7
  151. package/primitives/listbox/index.js +5 -5
  152. package/primitives/listbox/listbox.js +5 -5
  153. package/primitives/listbox/option.js +4 -4
  154. package/primitives/menu/index.js +4 -4
  155. package/primitives/menu/menu-heading.js +2 -2
  156. package/primitives/menu/menu-item.js +3 -3
  157. package/primitives/menu/menu.js +4 -4
  158. package/primitives/ripple/index.js +2 -2
  159. package/primitives/ripple/ripple.js +2 -2
  160. package/tokens.style.d.ts +3 -3
  161. package/transitional-styles.js +1 -1
  162. package/chunks/chunk.5OF4VUNB.js +0 -26
  163. package/chunks/chunk.VI2KPHVV.js +0 -797
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  TransitionalStyles
3
- } from "./chunk.2RPIXTTF.js";
3
+ } from "./chunk.U44LH2CF.js";
4
4
  import {
5
5
  watch
6
6
  } from "./chunk.TYGMNHNO.js";
7
7
  import {
8
8
  tokens
9
- } from "./chunk.VI2KPHVV.js";
9
+ } from "./chunk.BYYROY6X.js";
10
10
  import {
11
11
  GdsElement
12
12
  } from "./chunk.LQSWYCMZ.js";
@@ -64,7 +64,6 @@ var style = css`
64
64
  th {
65
65
  height: var(--gds-space-2xl);
66
66
  width: var(--gds-space-2xl);
67
- background: var(--gds-sys-color-container-container-bright);
68
67
  box-sizing: border-box;
69
68
  text-align: center;
70
69
  font-weight: normal;
@@ -91,18 +90,17 @@ var style = css`
91
90
 
92
91
  &:not(.disabled):hover,
93
92
  &[aria-selected='true'] {
94
- background: var(--gds-sys-color-base800);
93
+ background: var(--gds-color-l2-background-tertiary);
95
94
  cursor: pointer;
96
- color: var(--gds-sys-color-base-white);
95
+ color: var(--gds-color-l2-content-tertiary);
97
96
  }
98
97
 
99
98
  &.today {
100
- border-color: var(--gds-sys-color-base800);
99
+ border-color: var(--gds-color-l2-background-tertiary);
101
100
  }
102
101
 
103
102
  &.disabled {
104
- background-color: var(--gds-sys-color-base100);
105
- color: var(--gds-sys-color-base500);
103
+ color: var(--gds-color-l3-content-disabled);
106
104
  cursor: not-allowed;
107
105
  }
108
106
 
@@ -12,9 +12,9 @@ import {
12
12
  var IconBack = class extends GdsIcon {
13
13
  };
14
14
  /** @private */
15
- IconBack._regularSVG = `<path fill-rule="evenodd" clip-rule="evenodd" d="M19.609 4.09151C19.368 3.96011 19.0745 3.97087 18.8437 4.11957L7.59372 11.3696C7.37946 11.5077 7.25 11.7451 7.25 12C7.25 12.2549 7.37946 12.4924 7.59372 12.6304L18.8437 19.8804C19.0745 20.0291 19.368 20.0399 19.609 19.9085C19.85 19.7771 20 19.5245 20 19.25V4.75C20 4.47549 19.85 4.22292 19.609 4.09151ZM4.75 4C4.33579 4 4 4.33579 4 4.75V19.25C4 19.6642 4.33579 20 4.75 20C5.16421 20 5.5 19.6642 5.5 19.25V4.75C5.5 4.33579 5.16421 4 4.75 4ZM18.5 6.12558V17.8744L9.38453 12L18.5 6.12558Z" fill="black"/>`;
15
+ IconBack._regularSVG = `<path fill-rule="evenodd" clip-rule="evenodd" d="M19.609 4.09151C19.368 3.96011 19.0745 3.97087 18.8437 4.11957L7.59372 11.3696C7.37946 11.5077 7.25 11.7451 7.25 12C7.25 12.2549 7.37946 12.4924 7.59372 12.6304L18.8437 19.8804C19.0745 20.0291 19.368 20.0399 19.609 19.9085C19.85 19.7771 20 19.5245 20 19.25V4.75C20 4.47549 19.85 4.22292 19.609 4.09151ZM4.75 4C4.33579 4 4 4.33579 4 4.75V19.25C4 19.6642 4.33579 20 4.75 20C5.16421 20 5.5 19.6642 5.5 19.25V4.75C5.5 4.33579 5.16421 4 4.75 4ZM18.5 6.12558V17.8744L9.38453 12L18.5 6.12558Z" fill="currentColor"/>`;
16
16
  /** @private */
17
- IconBack._solidSVG = `<path d="M18.8437 4.11957C19.0745 3.97087 19.368 3.96011 19.609 4.09151C19.85 4.22292 20 4.47549 20 4.75V19.25C20 19.5245 19.85 19.7771 19.609 19.9085C19.368 20.0399 19.0745 20.0291 18.8437 19.8804L7.59372 12.6304C7.37946 12.4923 7.25 12.2549 7.25 12C7.25 11.7451 7.37946 11.5077 7.59372 11.3696L18.8437 4.11957Z" fill="black"/><path d="M4 4.75C4 4.33579 4.33579 4 4.75 4C5.16421 4 5.5 4.33579 5.5 4.75V19.25C5.5 19.6642 5.16421 20 4.75 20C4.33579 20 4 19.6642 4 19.25V4.75Z" fill="black"/>`;
17
+ IconBack._solidSVG = `<path d="M18.8437 4.11957C19.0745 3.97087 19.368 3.96011 19.609 4.09151C19.85 4.22292 20 4.47549 20 4.75V19.25C20 19.5245 19.85 19.7771 19.609 19.9085C19.368 20.0399 19.0745 20.0291 18.8437 19.8804L7.59372 12.6304C7.37946 12.4923 7.25 12.2549 7.25 12C7.25 11.7451 7.37946 11.5077 7.59372 11.3696L18.8437 4.11957Z" fill="currentColor"/><path d="M4 4.75C4 4.33579 4.33579 4 4.75 4C5.16421 4 5.5 4.33579 5.5 4.75V19.25C5.5 19.6642 5.16421 20 4.75 20C4.33579 20 4 19.6642 4 19.25V4.75Z" fill="currentColor"/>`;
18
18
  /** @private */
19
19
  IconBack._name = "back";
20
20
  IconBack = __decorateClass([
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk.C3ECHGX7.js";
7
7
  import {
8
8
  GdsFormControlElement
9
- } from "./chunk.JYQY43ZR.js";
9
+ } from "./chunk.Z3MHP5MN.js";
10
10
  import {
11
11
  watch
12
12
  } from "./chunk.TYGMNHNO.js";
@@ -38,7 +38,7 @@ var style = css`
38
38
 
39
39
  @layer base {
40
40
  :host(:not(:last-child)) {
41
- border-bottom: 1px solid var(--gds-sys-color-border-stroke-variant2);
41
+ border-bottom: 1px solid var(--gds-color-l2-border-primary);
42
42
  }
43
43
 
44
44
  :host div {
@@ -54,22 +54,44 @@ var style = css`
54
54
  gap: 1ch;
55
55
  max-width: 100%;
56
56
  box-sizing: border-box;
57
+ position: relative;
58
+ transition:
59
+ background-color 0.2s,
60
+ border-color 0.2s,
61
+ color 0.2s,
62
+ outline-color 422ms;
63
+
64
+ &::before {
65
+ content: ' ';
66
+ display: flex;
67
+ inset: var(--gds-space-2xs);
68
+ position: absolute;
69
+ border: var(--gds-space-3xs) solid currentColor;
70
+ border-radius: var(--gds-space-xs);
71
+ opacity: 0;
72
+ visitility: hidden;
73
+ pointer-events: none;
74
+ transition: opacity 422ms;
75
+ }
57
76
  }
58
77
 
59
- :host([highlighted]) div {
60
- background-color: var(--gds-sys-color-container-container-shade1);
61
- color: var(--gds-sys-color-content-content-inverse);
78
+ :host([highlighted]) {
79
+ background-color: var(--gds-color-l2-background-tertiary);
80
+ color: var(--gds-color-l2-content-tertiary);
62
81
  }
63
82
 
64
83
  :host(:hover:not([highlighted])) div {
65
- background-color: var(--gds-sys-color-container-container-dim1);
84
+ background-color: var(--gds-color-l3-background-secondary);
66
85
  }
67
86
 
68
87
  :host(:focus-visible) {
69
- outline: auto;
70
- outline-offset: -6px;
71
- outline-color: currentColor;
72
- outline-width: 2px;
88
+ outline: none;
89
+
90
+ div::before {
91
+ inset: var(--gds-space-2xs);
92
+ opacity: 1;
93
+ visivility: visible;
94
+ }
73
95
  }
74
96
 
75
97
  :host([aria-hidden='true']) div {
@@ -81,7 +103,7 @@ var style = css`
81
103
  align-items: center;
82
104
  justify-content: center;
83
105
  height: 1lh;
84
- width: auto;
106
+ width: 1lh;
85
107
  box-sizing: border-box;
86
108
  position: relative;
87
109
  aspect-ratio: 1/1;
@@ -94,7 +116,7 @@ var style = css`
94
116
 
95
117
  gds-icon-checkmark {
96
118
  &::part(icon) {
97
- color: var(--gds-sys-color-base-white);
119
+ color: var(--gds-color-l2-content-tertiary);
98
120
  stroke-width: var(--gds-space-2xs);
99
121
  }
100
122
  }
File without changes
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  TransitionalStyles
3
- } from "./chunk.2RPIXTTF.js";
3
+ } from "./chunk.U44LH2CF.js";
4
4
  import {
5
5
  GdsElement
6
6
  } from "./chunk.LQSWYCMZ.js";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk.WM7HBMMV.js";
4
4
  import {
5
5
  TransitionalStyles
6
- } from "./chunk.2RPIXTTF.js";
6
+ } from "./chunk.U44LH2CF.js";
7
7
  import {
8
8
  watch
9
9
  } from "./chunk.TYGMNHNO.js";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  forwardAttributes
3
- } from "./chunk.BGWGCMCR.js";
3
+ } from "./chunk.BHWBJIPJ.js";
4
4
  import {
5
5
  GdsFormControlElement
6
- } from "./chunk.JYQY43ZR.js";
6
+ } from "./chunk.Z3MHP5MN.js";
7
7
  import {
8
8
  tokens
9
- } from "./chunk.VI2KPHVV.js";
9
+ } from "./chunk.BYYROY6X.js";
10
10
  import {
11
11
  gdsCustomElement,
12
12
  html
@@ -196,6 +196,12 @@ var GdsInput = class extends GdsFormControlElement {
196
196
  composed: true
197
197
  })
198
198
  );
199
+ this.dispatchEvent(
200
+ new Event("input", {
201
+ bubbles: true,
202
+ composed: true
203
+ })
204
+ );
199
205
  });
200
206
  }
201
207
  connectedCallback() {
@@ -216,6 +222,7 @@ var GdsInput = class extends GdsFormControlElement {
216
222
  };
217
223
  _renderDefault = new WeakSet();
218
224
  renderDefault_fn = function() {
225
+ var _a;
219
226
  return html`
220
227
  <gds-form-control-header class="size-${this.size}">
221
228
  <label for="input" slot="label">${this.label}</label>
@@ -253,8 +260,8 @@ renderDefault_fn = function() {
253
260
 
254
261
  <gds-form-control-footer
255
262
  class="size-${this.size}"
256
- .charCounter=${__privateGet(this, _shouldShowRemainingChars, shouldShowRemainingChars_get) && this.maxlength - this.value.length}
257
- .validationMessage=${this.invalid && this.validationMessage}
263
+ .charCounter=${__privateGet(this, _shouldShowRemainingChars, shouldShowRemainingChars_get) && this.maxlength - (((_a = this.value) == null ? void 0 : _a.length) || 0)}
264
+ .validationMessage=${this.invalid && (this.errorMessage || this.validationMessage)}
258
265
  ></gds-form-control-footer>
259
266
  `;
260
267
  };
@@ -307,7 +314,8 @@ renderNativeInput_fn = function() {
307
314
  };
308
315
  _renderClearButton = new WeakSet();
309
316
  renderClearButton_fn = function() {
310
- if (this.clearable && this.value.length > 0)
317
+ var _a;
318
+ if (this.clearable && (((_a = this.value) == null ? void 0 : _a.length) || 0) > 0)
311
319
  return html`
312
320
  <gds-button
313
321
  size="${this.size === "small" ? "xs" : "small"}"
@@ -12,9 +12,9 @@ import {
12
12
  var IconPause = class extends GdsIcon {
13
13
  };
14
14
  /** @private */
15
- IconPause._regularSVG = `<path d="M4.75 4.75C4.75 4.19772 5.19772 3.75 5.75 3.75H8.25C8.80228 3.75 9.25 4.19772 9.25 4.75V19.25C9.25 19.8023 8.80228 20.25 8.25 20.25H5.75C5.19772 20.25 4.75 19.8023 4.75 19.25V4.75Z" stroke="black" stroke-width="1.5" stroke-linejoin="round"/><path d="M14.75 4.75C14.75 4.19772 15.1977 3.75 15.75 3.75H18.25C18.8023 3.75 19.25 4.19772 19.25 4.75V19.25C19.25 19.8023 18.8023 20.25 18.25 20.25H15.75C15.1977 20.25 14.75 19.8023 14.75 19.25V4.75Z" stroke="black" stroke-width="1.5" stroke-linejoin="round"/>`;
15
+ IconPause._regularSVG = `<path d="M4.75 4.75C4.75 4.19772 5.19772 3.75 5.75 3.75H8.25C8.80228 3.75 9.25 4.19772 9.25 4.75V19.25C9.25 19.8023 8.80228 20.25 8.25 20.25H5.75C5.19772 20.25 4.75 19.8023 4.75 19.25V4.75Z" stroke="currentColor" stroke-width="1.5" stroke-linejoin="round"/><path d="M14.75 4.75C14.75 4.19772 15.1977 3.75 15.75 3.75H18.25C18.8023 3.75 19.25 4.19772 19.25 4.75V19.25C19.25 19.8023 18.8023 20.25 18.25 20.25H15.75C15.1977 20.25 14.75 19.8023 14.75 19.25V4.75Z" stroke="currentColor" stroke-width="1.5" stroke-linejoin="round"/>`;
16
16
  /** @private */
17
- IconPause._solidSVG = `<path d="M4.75 3C4.33579 3 4 3.33579 4 3.75V20.25C4 20.6642 4.33579 21 4.75 21H9.25C9.66421 21 10 20.6642 10 20.25V3.75C10 3.33579 9.66421 3 9.25 3H4.75Z" fill="black"/><path d="M14.75 3C14.3358 3 14 3.33579 14 3.75V20.25C14 20.6642 14.3358 21 14.75 21H19.25C19.6642 21 20 20.6642 20 20.25V3.75C20 3.33579 19.6642 3 19.25 3H14.75Z" fill="black"/>`;
17
+ IconPause._solidSVG = `<path d="M4.75 3C4.33579 3 4 3.33579 4 3.75V20.25C4 20.6642 4.33579 21 4.75 21H9.25C9.66421 21 10 20.6642 10 20.25V3.75C10 3.33579 9.66421 3 9.25 3H4.75Z" fill="currentColor"/><path d="M14.75 3C14.3358 3 14 3.33579 14 3.75V20.25C14 20.6642 14.3358 21 14.75 21H19.25C19.6642 21 20 20.6642 20 20.25V3.75C20 3.33579 19.6642 3 19.25 3H14.75Z" fill="currentColor"/>`;
18
18
  /** @private */
19
19
  IconPause._name = "pause";
20
20
  IconPause = __decorateClass([
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk.H2KG3F2S.js";
7
7
  import {
8
8
  tokens
9
- } from "./chunk.VI2KPHVV.js";
9
+ } from "./chunk.BYYROY6X.js";
10
10
  import {
11
11
  GdsElement
12
12
  } from "./chunk.LQSWYCMZ.js";
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  GdsFormControlElement
3
- } from "./chunk.JYQY43ZR.js";
3
+ } from "./chunk.Z3MHP5MN.js";
4
4
  import {
5
5
  observeLightDOM
6
6
  } from "./chunk.WM7HBMMV.js";
7
7
  import {
8
8
  TransitionalStyles
9
- } from "./chunk.2RPIXTTF.js";
9
+ } from "./chunk.U44LH2CF.js";
10
10
  import {
11
11
  tokens
12
- } from "./chunk.VI2KPHVV.js";
12
+ } from "./chunk.BYYROY6X.js";
13
13
  import {
14
14
  gdsCustomElement,
15
15
  html
@@ -130,12 +130,14 @@ var button_style_default = `@layer tokens, core, a11y, ranks, sizes, variants, d
130
130
  }
131
131
  }
132
132
 
133
- &:hover {
134
- background-color: color-mix(
135
- in srgb,
136
- var(--gds-color-l3-background-primary),
137
- var(--gds-color-l3-states-dark-hover)
138
- );
133
+ @media (pointer: fine) {
134
+ &:hover {
135
+ background-color: color-mix(
136
+ in srgb,
137
+ var(--gds-color-l3-background-primary),
138
+ var(--gds-color-l3-states-dark-hover)
139
+ );
140
+ }
139
141
  }
140
142
 
141
143
  &:active {
@@ -173,12 +175,14 @@ var button_style_default = `@layer tokens, core, a11y, ranks, sizes, variants, d
173
175
  background-color: var(--gds-color-l3-background-secondary);
174
176
  color: var(--gds-color-l3-content-tertiary);
175
177
 
176
- &:hover {
177
- background-color: color-mix(
178
- in srgb,
179
- var(--gds-color-l3-background-secondary),
180
- var(--gds-color-l3-states-light-hover)
181
- );
178
+ @media (pointer: fine) {
179
+ &:hover {
180
+ background-color: color-mix(
181
+ in srgb,
182
+ var(--gds-color-l3-background-secondary),
183
+ var(--gds-color-l3-states-light-hover)
184
+ );
185
+ }
182
186
  }
183
187
 
184
188
  &:active {
@@ -194,12 +198,14 @@ var button_style_default = `@layer tokens, core, a11y, ranks, sizes, variants, d
194
198
  background-color: transparent;
195
199
  color: var(--gds-color-l3-content-tertiary);
196
200
 
197
- &:hover {
198
- background-color: color-mix(
199
- in srgb,
200
- transparent,
201
- var(--gds-color-l3-states-light-hover)
202
- );
201
+ @media (pointer: fine) {
202
+ &:hover {
203
+ background-color: color-mix(
204
+ in srgb,
205
+ transparent,
206
+ var(--gds-color-l3-states-light-hover)
207
+ );
208
+ }
203
209
  }
204
210
 
205
211
  &:active {
@@ -238,12 +244,14 @@ var button_style_default = `@layer tokens, core, a11y, ranks, sizes, variants, d
238
244
  .positive {
239
245
  background-color: var(--gds-color-l3-background-positive);
240
246
 
241
- &:hover {
242
- background-color: color-mix(
243
- in srgb,
244
- var(--gds-color-l3-background-positive),
245
- var(--gds-color-l3-states-dark-hover)
246
- );
247
+ @media (pointer: fine) {
248
+ &:hover {
249
+ background-color: color-mix(
250
+ in srgb,
251
+ var(--gds-color-l3-background-positive),
252
+ var(--gds-color-l3-states-dark-hover)
253
+ );
254
+ }
247
255
  }
248
256
 
249
257
  &:active {
@@ -258,12 +266,14 @@ var button_style_default = `@layer tokens, core, a11y, ranks, sizes, variants, d
258
266
  background-color: var(--gds-color-l3-background-positive-secondary);
259
267
  color: var(--gds-color-l3-content-positive);
260
268
 
261
- &:hover {
262
- background-color: color-mix(
263
- in srgb,
264
- var(--gds-color-l3-background-positive-secondary),
265
- var(--gds-color-l3-states-positive-hover)
266
- );
269
+ @media (pointer: fine) {
270
+ &:hover {
271
+ background-color: color-mix(
272
+ in srgb,
273
+ var(--gds-color-l3-background-positive-secondary),
274
+ var(--gds-color-l3-states-positive-hover)
275
+ );
276
+ }
267
277
  }
268
278
 
269
279
  &:active {
@@ -279,12 +289,14 @@ var button_style_default = `@layer tokens, core, a11y, ranks, sizes, variants, d
279
289
  background-color: transparent;
280
290
  color: var(--gds-color-l3-content-positive);
281
291
 
282
- &:hover {
283
- background-color: color-mix(
284
- in srgb,
285
- transparent,
286
- var(--gds-color-l3-states-positive-hover)
287
- );
292
+ @media (pointer: fine) {
293
+ &:hover {
294
+ background-color: color-mix(
295
+ in srgb,
296
+ transparent,
297
+ var(--gds-color-l3-states-positive-hover)
298
+ );
299
+ }
288
300
  }
289
301
 
290
302
  &:active {
@@ -300,12 +312,14 @@ var button_style_default = `@layer tokens, core, a11y, ranks, sizes, variants, d
300
312
  .negative {
301
313
  background-color: var(--gds-color-l3-background-negative);
302
314
 
303
- &:hover {
304
- background-color: color-mix(
305
- in srgb,
306
- var(--gds-color-l3-background-negative),
307
- var(--gds-color-l3-states-dark-hover)
308
- );
315
+ @media (pointer: fine) {
316
+ &:hover {
317
+ background-color: color-mix(
318
+ in srgb,
319
+ var(--gds-color-l3-background-negative),
320
+ var(--gds-color-l3-states-dark-hover)
321
+ );
322
+ }
309
323
  }
310
324
 
311
325
  &:active {
@@ -320,12 +334,14 @@ var button_style_default = `@layer tokens, core, a11y, ranks, sizes, variants, d
320
334
  background-color: var(--gds-color-l3-background-negative-secondary);
321
335
  color: var(--gds-color-l3-content-negative);
322
336
 
323
- &:hover {
324
- background-color: color-mix(
325
- in srgb,
326
- var(--gds-color-l3-background-negative-secondary),
327
- var(--gds-color-l3-states-negative-hover)
328
- );
337
+ @media (pointer: fine) {
338
+ &:hover {
339
+ background-color: color-mix(
340
+ in srgb,
341
+ var(--gds-color-l3-background-negative-secondary),
342
+ var(--gds-color-l3-states-negative-hover)
343
+ );
344
+ }
329
345
  }
330
346
 
331
347
  &:active {
@@ -341,12 +357,14 @@ var button_style_default = `@layer tokens, core, a11y, ranks, sizes, variants, d
341
357
  background-color: transparent;
342
358
  color: var(--gds-color-l3-content-negative);
343
359
 
344
- &:hover {
345
- background-color: color-mix(
346
- in srgb,
347
- transparent,
348
- var(--gds-color-l3-states-negative-hover)
349
- );
360
+ @media (pointer: fine) {
361
+ &:hover {
362
+ background-color: color-mix(
363
+ in srgb,
364
+ transparent,
365
+ var(--gds-color-l3-states-negative-hover)
366
+ );
367
+ }
350
368
  }
351
369
 
352
370
  &:active {