@sebgroup/green-core 1.69.0 → 1.69.1

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 (157) hide show
  1. package/chunks/{chunk.GJ6CZ6UN.js → chunk.342ILSLL.js} +2 -2
  2. package/chunks/{chunk.4D6PS3YB.js → chunk.3BWKKS5E.js} +1 -1
  3. package/chunks/{chunk.LUSRFI2X.js → chunk.3KS6FGJJ.js} +2 -2
  4. package/chunks/{chunk.NQQAFN6S.js → chunk.4N3AVWYC.js} +1 -1
  5. package/chunks/{chunk.NHCDT25A.js → chunk.5ZU43LMC.js} +2 -2
  6. package/chunks/{chunk.4KL2SL2I.js → chunk.7DWU4KWT.js} +1 -1
  7. package/chunks/{chunk.GRVFPKOG.js → chunk.7WHES4I7.js} +1 -1
  8. package/chunks/{chunk.FIRXUEIK.js → chunk.BA2QS7C2.js} +1 -1
  9. package/chunks/{chunk.N6GUDNJV.js → chunk.BFVWAUDD.js} +2 -2
  10. package/chunks/{chunk.GVAZGVX2.js → chunk.CD722D7G.js} +1 -1
  11. package/chunks/{chunk.ERTFEGJX.js → chunk.DFA342AA.js} +1 -1
  12. package/chunks/{chunk.3GQXXIAA.js → chunk.DWECWU2J.js} +2 -2
  13. package/chunks/{chunk.IT5VVUWI.js → chunk.DZ2SQDGQ.js} +1 -1
  14. package/chunks/{chunk.GZQMA4XI.js → chunk.E3NZCUN3.js} +1 -1
  15. package/chunks/{chunk.EPGFD7VH.js → chunk.FDNU4B26.js} +2 -2
  16. package/chunks/{chunk.I2YO744I.js → chunk.FSQFFDSV.js} +2 -2
  17. package/chunks/{chunk.VDIZOFXQ.js → chunk.GCFUFPFG.js} +1 -1
  18. package/chunks/{chunk.FB74W3AW.js → chunk.HENPVDLB.js} +19 -3
  19. package/chunks/{chunk.A7DPHMYA.js → chunk.HEZ24OUO.js} +1 -1
  20. package/chunks/{chunk.D73543IP.js → chunk.HGBWIZW3.js} +1 -1
  21. package/chunks/{chunk.OGXYFLYC.js → chunk.HWAZN4IB.js} +6 -6
  22. package/chunks/{chunk.BR67WBUE.js → chunk.HZ2VSQVA.js} +1 -1
  23. package/chunks/{chunk.ST5QI4XQ.js → chunk.I7FSS7R6.js} +2 -2
  24. package/chunks/{chunk.NSJATXHH.js → chunk.I7YHINXZ.js} +16 -20
  25. package/chunks/{chunk.UR2O7OZR.js → chunk.IHQVZL5Y.js} +2 -2
  26. package/chunks/{chunk.GOPGCNDC.js → chunk.IN7YLQ34.js} +2 -2
  27. package/chunks/{chunk.WSXUN75Q.js → chunk.JLFHKSE4.js} +2 -2
  28. package/chunks/{chunk.JFJHA6P6.js → chunk.JUW5TI7J.js} +1 -1
  29. package/chunks/{chunk.6PGW4W5E.js → chunk.JZC2XGSP.js} +1 -1
  30. package/chunks/{chunk.Q3QF6FIQ.js → chunk.KTYWXS6J.js} +2 -2
  31. package/chunks/{chunk.4GEYYFIK.js → chunk.KUZOZOPX.js} +13 -9
  32. package/chunks/{chunk.VL6WP6CO.js → chunk.LKMPQ6RB.js} +2 -2
  33. package/chunks/{chunk.FV4KNGDE.js → chunk.LYR6UAF3.js} +1 -1
  34. package/chunks/{chunk.JIL3VXPT.js → chunk.MXDLNQDV.js} +2 -2
  35. package/chunks/{chunk.JLTWJMDP.js → chunk.PRH4DHQO.js} +1 -1
  36. package/chunks/{chunk.BA4XMBLV.js → chunk.QF2IZULS.js} +1 -1
  37. package/chunks/chunk.QK3R23GV.js +1 -1
  38. package/chunks/{chunk.CHZ4Z2YY.js → chunk.QLV27YOP.js} +1 -1
  39. package/chunks/{chunk.XA77YAN3.js → chunk.R3FVBSGQ.js} +1 -1
  40. package/chunks/{chunk.UAED2ICJ.js → chunk.SAL4UI7W.js} +1 -1
  41. package/chunks/{chunk.HBGEHVVS.js → chunk.WOKRG5TE.js} +1 -1
  42. package/chunks/{chunk.WDV4K3NB.js → chunk.WRLZ2VM4.js} +2 -2
  43. package/chunks/{chunk.5PXMD6FN.js → chunk.XQCEITCK.js} +2 -2
  44. package/chunks/{chunk.ZRKILGXZ.js → chunk.YSAE26FD.js} +1 -1
  45. package/chunks/{chunk.OGHRZS7Z.js → chunk.YW67S5RN.js} +2 -2
  46. package/components/badge/badge.js +4 -4
  47. package/components/badge/index.js +4 -4
  48. package/components/button/button.js +4 -4
  49. package/components/button/button.trans.styles.js +2 -2
  50. package/components/button/index.js +4 -4
  51. package/components/calendar/calendar.js +3 -3
  52. package/components/calendar/calendar.trans.styles.js +2 -2
  53. package/components/calendar/index.js +3 -3
  54. package/components/card/card.js +3 -3
  55. package/components/card/index.js +3 -3
  56. package/components/container/container.js +3 -3
  57. package/components/container/index.js +3 -3
  58. package/components/context-menu/context-menu.js +7 -7
  59. package/components/context-menu/context-menu.trans.styles.js +2 -2
  60. package/components/context-menu/index.js +8 -8
  61. package/components/datepicker/datepicker.js +17 -17
  62. package/components/datepicker/datepicker.trans.styles.js +2 -2
  63. package/components/datepicker/index.js +17 -17
  64. package/components/dialog/dialog.js +7 -7
  65. package/components/dialog/index.js +7 -7
  66. package/components/div/div.js +2 -2
  67. package/components/div/index.js +2 -2
  68. package/components/divider/divider.js +2 -2
  69. package/components/divider/index.js +2 -2
  70. package/components/dropdown/dropdown.d.ts +1 -1
  71. package/components/dropdown/dropdown.js +14 -14
  72. package/components/dropdown/dropdown.trans.styles.js +2 -2
  73. package/components/dropdown/index.js +15 -15
  74. package/components/fab/fab.js +5 -5
  75. package/components/fab/index.js +5 -5
  76. package/components/filter-chips/filter-chip/filter-chip.js +5 -5
  77. package/components/filter-chips/filter-chip/filter-chip.trans.styles.js +2 -2
  78. package/components/filter-chips/filter-chip/index.js +5 -5
  79. package/components/filter-chips/filter-chips.js +5 -5
  80. package/components/filter-chips/filter-chips.trans.styles.js +2 -2
  81. package/components/filter-chips/index.js +5 -5
  82. package/components/flex/flex.js +3 -3
  83. package/components/flex/index.js +3 -3
  84. package/components/form/index.js +6 -6
  85. package/components/form/summary/index.js +6 -6
  86. package/components/form/summary/summary.js +6 -6
  87. package/components/grid/grid.js +3 -3
  88. package/components/grid/index.js +3 -3
  89. package/components/grouped-list/grouped-list.js +3 -3
  90. package/components/grouped-list/grouped-list.trans.styles.js +2 -2
  91. package/components/grouped-list/index.js +3 -3
  92. package/components/img/img.js +2 -2
  93. package/components/img/index.js +2 -2
  94. package/components/index.js +42 -42
  95. package/components/input/index.js +10 -10
  96. package/components/input/input.js +10 -10
  97. package/components/input/input.trans.styles.js +2 -2
  98. package/components/link/index.js +2 -2
  99. package/components/link/link.js +2 -2
  100. package/components/mask/index.js +4 -4
  101. package/components/mask/mask.js +4 -4
  102. package/components/menu-button/index.js +2 -2
  103. package/components/menu-button/menu-button.js +2 -2
  104. package/components/popover/index.js +3 -3
  105. package/components/popover/popover.d.ts +4 -0
  106. package/components/popover/popover.js +3 -3
  107. package/components/popover/popover.trans.styles.js +2 -2
  108. package/components/radio/index.js +10 -10
  109. package/components/radio/radio-group/radio-group.js +8 -8
  110. package/components/radio/radio.js +4 -4
  111. package/components/radio/radio.trans.styles.js +2 -2
  112. package/components/rich-text/index.js +2 -2
  113. package/components/rich-text/rich-text.js +2 -2
  114. package/components/segmented-control/index.js +4 -4
  115. package/components/segmented-control/segment/index.js +3 -3
  116. package/components/segmented-control/segment/segment.js +3 -3
  117. package/components/segmented-control/segment/segment.trans.styles.js +2 -2
  118. package/components/segmented-control/segmented-control.js +4 -4
  119. package/components/segmented-control/segmented-control.trans.styles.js +2 -2
  120. package/components/select/index.js +10 -10
  121. package/components/select/select.js +10 -10
  122. package/components/select/select.trans.styles.js +2 -2
  123. package/components/signal/index.js +2 -2
  124. package/components/signal/signal.js +2 -2
  125. package/components/spacer/index.js +2 -2
  126. package/components/spacer/spacer.js +2 -2
  127. package/components/spinner/gds-spinner.js +2 -2
  128. package/components/spinner/index.js +2 -2
  129. package/components/text/index.js +3 -3
  130. package/components/text/text.js +3 -3
  131. package/components/textarea/index.js +10 -10
  132. package/components/textarea/textarea.js +10 -10
  133. package/components/theme/index.js +3 -3
  134. package/components/theme/theme.js +3 -3
  135. package/components/theme/theme.trans.styles.js +2 -2
  136. package/components/video/index.js +2 -2
  137. package/components/video/video.js +2 -2
  138. package/index.js +42 -42
  139. package/package.json +1 -1
  140. package/primitives/field-base/field-base.js +3 -3
  141. package/primitives/field-base/index.js +3 -3
  142. package/primitives/form-control-footer/form-control-footer.js +4 -4
  143. package/primitives/form-control-footer/index.js +4 -4
  144. package/primitives/form-control-header/form-control-header.js +6 -6
  145. package/primitives/form-control-header/index.js +6 -6
  146. package/primitives/listbox/index.js +5 -5
  147. package/primitives/listbox/listbox.js +5 -5
  148. package/primitives/listbox/option.js +4 -4
  149. package/primitives/menu/index.js +5 -5
  150. package/primitives/menu/menu-heading.js +3 -3
  151. package/primitives/menu/menu-item.js +4 -4
  152. package/primitives/menu/menu.js +5 -5
  153. package/primitives/ripple/index.js +2 -2
  154. package/primitives/ripple/ripple.js +2 -2
  155. package/primitives/selection-controls/index.js +3 -3
  156. package/primitives/selection-controls/selection-field-label.js +3 -3
  157. package/transitional-styles.js +2 -2
@@ -3,10 +3,10 @@ import {
3
3
  } from "./chunk.TWXTKG4B.js";
4
4
  import {
5
5
  TransitionalStyles
6
- } from "./chunk.NHCDT25A.js";
6
+ } from "./chunk.5ZU43LMC.js";
7
7
  import {
8
8
  tokens
9
- } from "./chunk.OGXYFLYC.js";
9
+ } from "./chunk.HWAZN4IB.js";
10
10
  import {
11
11
  GdsElement
12
12
  } from "./chunk.TMEWQZER.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  TransitionalStyles
3
- } from "./chunk.NHCDT25A.js";
3
+ } from "./chunk.5ZU43LMC.js";
4
4
  import {
5
5
  watch
6
6
  } from "./chunk.TYGMNHNO.js";
@@ -4,10 +4,10 @@ import {
4
4
  } from "./chunk.TWXTKG4B.js";
5
5
  import {
6
6
  TransitionalStyles
7
- } from "./chunk.NHCDT25A.js";
7
+ } from "./chunk.5ZU43LMC.js";
8
8
  import {
9
9
  tokens
10
- } from "./chunk.OGXYFLYC.js";
10
+ } from "./chunk.HWAZN4IB.js";
11
11
  import {
12
12
  GdsElement
13
13
  } from "./chunk.TMEWQZER.js";
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk.TWXTKG4B.js";
5
5
  import {
6
6
  tokens
7
- } from "./chunk.OGXYFLYC.js";
7
+ } from "./chunk.HWAZN4IB.js";
8
8
  import {
9
9
  GdsElement
10
10
  } from "./chunk.TMEWQZER.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  tokens
3
- } from "./chunk.OGXYFLYC.js";
3
+ } from "./chunk.HWAZN4IB.js";
4
4
  import {
5
5
  VER_SUFFIX
6
6
  } from "./chunk.QK3R23GV.js";
@@ -147,7 +147,7 @@ var option_trans_styles_default = `/**
147
147
  outline-color: #000;
148
148
  outline-offset: -0.25rem;
149
149
  }
150
- :host([aria-hidden=true]) {
150
+ :host([inert]) {
151
151
  display: none;
152
152
  }
153
153
  :host([highlighted]) div {
@@ -5,7 +5,7 @@ import {
5
5
  } from "./chunk.TWXTKG4B.js";
6
6
  import {
7
7
  tokens
8
- } from "./chunk.OGXYFLYC.js";
8
+ } from "./chunk.HWAZN4IB.js";
9
9
  import {
10
10
  GdsElement
11
11
  } from "./chunk.TMEWQZER.js";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk.NUUST5OZ.js";
4
4
  import {
5
5
  tokens
6
- } from "./chunk.OGXYFLYC.js";
6
+ } from "./chunk.HWAZN4IB.js";
7
7
  import {
8
8
  GdsElement
9
9
  } from "./chunk.TMEWQZER.js";
@@ -16,7 +16,7 @@ import {
16
16
  } from "./chunk.NUUST5OZ.js";
17
17
  import {
18
18
  tokens
19
- } from "./chunk.OGXYFLYC.js";
19
+ } from "./chunk.HWAZN4IB.js";
20
20
  import {
21
21
  GdsElement
22
22
  } from "./chunk.TMEWQZER.js";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  GdsFlex
3
- } from "./chunk.JIL3VXPT.js";
3
+ } from "./chunk.MXDLNQDV.js";
4
4
  import {
5
5
  styleExpressionProperty
6
6
  } from "./chunk.NUUST5OZ.js";
7
7
  import {
8
8
  tokens
9
- } from "./chunk.OGXYFLYC.js";
9
+ } from "./chunk.HWAZN4IB.js";
10
10
  import {
11
11
  gdsCustomElement
12
12
  } from "./chunk.QK3R23GV.js";
@@ -10,7 +10,7 @@ import {
10
10
  } from "./chunk.TWXTKG4B.js";
11
11
  import {
12
12
  tokens
13
- } from "./chunk.OGXYFLYC.js";
13
+ } from "./chunk.HWAZN4IB.js";
14
14
  import {
15
15
  GdsElement
16
16
  } from "./chunk.TMEWQZER.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  GdsButton
3
- } from "./chunk.I2YO744I.js";
3
+ } from "./chunk.FSQFFDSV.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.FIRXUEIK.js";
3
+ } from "./chunk.BA2QS7C2.js";
4
4
  import {
5
5
  forSpaceTokens
6
6
  } from "./chunk.76QWARGM.js";
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk.NUUST5OZ.js";
10
10
  import {
11
11
  tokens
12
- } from "./chunk.OGXYFLYC.js";
12
+ } from "./chunk.HWAZN4IB.js";
13
13
  import {
14
14
  gdsCustomElement,
15
15
  html
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk.E62NOHQC.js";
5
5
  import {
6
6
  TransitionalStyles
7
- } from "./chunk.NHCDT25A.js";
7
+ } from "./chunk.5ZU43LMC.js";
8
8
  import {
9
9
  watch
10
10
  } from "./chunk.TYGMNHNO.js";
@@ -10,7 +10,7 @@ import {
10
10
  } from "./chunk.NUUST5OZ.js";
11
11
  import {
12
12
  tokens
13
- } from "./chunk.OGXYFLYC.js";
13
+ } from "./chunk.HWAZN4IB.js";
14
14
  import {
15
15
  GdsElement
16
16
  } from "./chunk.TMEWQZER.js";
@@ -8,13 +8,13 @@ import {
8
8
  } from "./chunk.TWXTKG4B.js";
9
9
  import {
10
10
  TransitionalStyles
11
- } from "./chunk.NHCDT25A.js";
11
+ } from "./chunk.5ZU43LMC.js";
12
12
  import {
13
13
  watch
14
14
  } from "./chunk.TYGMNHNO.js";
15
15
  import {
16
16
  tokens
17
- } from "./chunk.OGXYFLYC.js";
17
+ } from "./chunk.HWAZN4IB.js";
18
18
  import {
19
19
  GdsElement
20
20
  } from "./chunk.TMEWQZER.js";
@@ -11,10 +11,10 @@ import {
11
11
  } from "./chunk.TWXTKG4B.js";
12
12
  import {
13
13
  TransitionalStyles
14
- } from "./chunk.NHCDT25A.js";
14
+ } from "./chunk.5ZU43LMC.js";
15
15
  import {
16
16
  tokens
17
- } from "./chunk.OGXYFLYC.js";
17
+ } from "./chunk.HWAZN4IB.js";
18
18
  import {
19
19
  gdsCustomElement,
20
20
  html
@@ -8,7 +8,7 @@ import {
8
8
  } from "./chunk.TYGMNHNO.js";
9
9
  import {
10
10
  tokens
11
- } from "./chunk.OGXYFLYC.js";
11
+ } from "./chunk.HWAZN4IB.js";
12
12
  import {
13
13
  GdsElement
14
14
  } from "./chunk.TMEWQZER.js";
@@ -1,3 +1,6 @@
1
+ import {
2
+ GdsPopover
3
+ } from "./chunk.KUZOZOPX.js";
1
4
  import {
2
5
  GdsFormControlElement
3
6
  } from "./chunk.VA6TUMR2.js";
@@ -9,7 +12,7 @@ import {
9
12
  } from "./chunk.TYGMNHNO.js";
10
13
  import {
11
14
  tokens
12
- } from "./chunk.OGXYFLYC.js";
15
+ } from "./chunk.HWAZN4IB.js";
13
16
  import {
14
17
  gdsCustomElement,
15
18
  html
@@ -28,6 +31,7 @@ import { property, query, queryAsync } from "lit/decorators.js";
28
31
  import { ifDefined } from "lit/directives/if-defined.js";
29
32
  import { unsafeHTML } from "lit/directives/unsafe-html.js";
30
33
  import { when } from "lit/directives/when.js";
34
+ import { flip, offset } from "@floating-ui/dom";
31
35
 
32
36
  // libs/core/src/components/dropdown/dropdown.styles.ts
33
37
  import { css } from "lit";
@@ -210,6 +214,16 @@ var GdsDropdown = class extends GdsFormControlElement {
210
214
  `;
211
215
  });
212
216
  __privateAdd(this, _calcMaxHeight, (trigger) => {
217
+ if (this.combobox) {
218
+ const triggerRect = trigger.getBoundingClientRect();
219
+ const windowHeight = window.innerHeight;
220
+ const bottomSpace = windowHeight - triggerRect.bottom;
221
+ const topSpace = triggerRect.top;
222
+ let height2 = Math.min(topSpace, this.maxHeight);
223
+ if (bottomSpace > topSpace)
224
+ height2 = Math.min(bottomSpace, this.maxHeight);
225
+ return `${height2 - 16}px`;
226
+ }
213
227
  const height = Math.min(window.innerHeight, this.maxHeight);
214
228
  return `${height - 16}px`;
215
229
  });
@@ -381,6 +395,7 @@ var GdsDropdown = class extends GdsFormControlElement {
381
395
  this.updateComplete.then(() => {
382
396
  this._handleLightDOMChange();
383
397
  this._handleValueChange();
398
+ this._handleOpenChange();
384
399
  });
385
400
  }
386
401
  render() {
@@ -414,6 +429,7 @@ var GdsDropdown = class extends GdsFormControlElement {
414
429
  .calcMaxHeight=${__privateGet(this, _calcMaxHeight)}
415
430
  .disableMobileStyles=${this.disableMobileStyles || this.combobox}
416
431
  .nonmodal=${this.combobox}
432
+ .floatingUIMiddleware=${this.combobox ? [offset(8), flip()] : GdsPopover.DefaultMiddleware}
417
433
  @gds-ui-state=${__privateGet(this, _handlePopoverStateChange)}
418
434
  >
419
435
  <gds-field-base
@@ -507,7 +523,7 @@ var GdsDropdown = class extends GdsFormControlElement {
507
523
  }
508
524
  });
509
525
  }
510
- _onOpenChange() {
526
+ _handleOpenChange() {
511
527
  var _a;
512
528
  const open = this.open;
513
529
  (_a = __privateGet(this, _optionElements)) == null ? void 0 : _a.forEach((o) => o.hidden = !open);
@@ -631,7 +647,7 @@ __decorateClass([
631
647
  ], GdsDropdown.prototype, "_handleValueChange", 1);
632
648
  __decorateClass([
633
649
  watch("open")
634
- ], GdsDropdown.prototype, "_onOpenChange", 1);
650
+ ], GdsDropdown.prototype, "_handleOpenChange", 1);
635
651
  GdsDropdown = __decorateClass([
636
652
  gdsCustomElement("gds-dropdown"),
637
653
  localized()
@@ -14,7 +14,7 @@ import {
14
14
  } from "./chunk.TYGMNHNO.js";
15
15
  import {
16
16
  tokens
17
- } from "./chunk.OGXYFLYC.js";
17
+ } from "./chunk.HWAZN4IB.js";
18
18
  import {
19
19
  gdsCustomElement,
20
20
  html
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk.NUUST5OZ.js";
4
4
  import {
5
5
  tokens
6
- } from "./chunk.OGXYFLYC.js";
6
+ } from "./chunk.HWAZN4IB.js";
7
7
  import {
8
8
  GdsElement
9
9
  } 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 Thu, 13 Mar 2025 14:30:10 GMT
8
+ * Generated on Mon, 17 Mar 2025 12:13:52 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 Thu, 13 Mar 2025 14:30:10 GMT
122
+ * Generated on Mon, 17 Mar 2025 12:13:52 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 Thu, 13 Mar 2025 14:30:10 GMT
239
+ * Generated on Mon, 17 Mar 2025 12:13:52 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 Thu, 13 Mar 2025 14:30:10 GMT
258
+ * Generated on Mon, 17 Mar 2025 12:13:52 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 Thu, 13 Mar 2025 14:30:10 GMT
273
+ * Generated on Mon, 17 Mar 2025 12:13:52 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 Thu, 13 Mar 2025 14:30:10 GMT
300
+ * Generated on Mon, 17 Mar 2025 12:13:52 GMT
301
301
  */
302
302
 
303
303
  :host {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  TransitionalStyles
3
- } from "./chunk.NHCDT25A.js";
3
+ } from "./chunk.5ZU43LMC.js";
4
4
  import {
5
5
  GdsElement
6
6
  } from "./chunk.TMEWQZER.js";
@@ -12,13 +12,13 @@ import {
12
12
  } from "./chunk.TWXTKG4B.js";
13
13
  import {
14
14
  TransitionalStyles
15
- } from "./chunk.NHCDT25A.js";
15
+ } from "./chunk.5ZU43LMC.js";
16
16
  import {
17
17
  watch
18
18
  } from "./chunk.TYGMNHNO.js";
19
19
  import {
20
20
  tokens
21
- } from "./chunk.OGXYFLYC.js";
21
+ } from "./chunk.HWAZN4IB.js";
22
22
  import {
23
23
  gdsCustomElement,
24
24
  html
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  Focusable,
3
3
  option_styles_default
4
- } from "./chunk.ZRKILGXZ.js";
4
+ } from "./chunk.YSAE26FD.js";
5
5
  import {
6
6
  TransitionalStyles
7
- } from "./chunk.NHCDT25A.js";
7
+ } from "./chunk.5ZU43LMC.js";
8
8
  import {
9
9
  watch
10
10
  } from "./chunk.TYGMNHNO.js";
11
11
  import {
12
12
  tokens
13
- } from "./chunk.OGXYFLYC.js";
13
+ } from "./chunk.HWAZN4IB.js";
14
14
  import {
15
15
  GdsElement
16
16
  } from "./chunk.TMEWQZER.js";
@@ -50,32 +50,28 @@ var GdsOption = class extends Focusable(GdsElement) {
50
50
  return __privateGet(this, _hidden);
51
51
  }
52
52
  set hidden(value) {
53
- if (this.isPlaceholder)
54
- return;
55
- __privateSet(this, _hidden, value === "true" || value === true);
56
- this.setAttribute("aria-hidden", value.toString());
53
+ const strValue = value.toString();
54
+ __privateSet(this, _hidden, strValue === "true");
55
+ __privateGet(this, _hidden) ? this.setAttribute("inert", "") : this.removeAttribute("inert");
57
56
  }
58
57
  connectedCallback() {
59
58
  super.connectedCallback();
60
59
  this.setAttribute("role", "option");
61
- if (this.isPlaceholder) {
62
- __privateSet(this, _hidden, true);
63
- this.setAttribute("aria-hidden", "true");
64
- }
65
- this.updateComplete.then(
66
- () => TransitionalStyles.instance.apply(this, "gds-option")
67
- );
60
+ this.updateComplete.then(() => {
61
+ if (this.isPlaceholder) {
62
+ this.hidden = true;
63
+ }
64
+ TransitionalStyles.instance.apply(this, "gds-option");
65
+ });
68
66
  }
69
67
  get parentElement() {
70
68
  return super.parentElement;
71
69
  }
72
70
  _handlePlaceholderStatusChange() {
73
71
  if (this.isPlaceholder) {
74
- __privateSet(this, _hidden, true);
75
- this.setAttribute("aria-hidden", "true");
72
+ this.hidden = true;
76
73
  } else {
77
- __privateSet(this, _hidden, false);
78
- this.setAttribute("aria-hidden", "false");
74
+ this.hidden = false;
79
75
  }
80
76
  }
81
77
  render() {
@@ -119,7 +115,7 @@ __decorateClass([
119
115
  ], GdsOption.prototype, "value", 2);
120
116
  __decorateClass([
121
117
  property({
122
- attribute: "aria-hidden",
118
+ type: Boolean,
123
119
  reflect: true
124
120
  })
125
121
  ], GdsOption.prototype, "hidden", 1);
@@ -133,7 +129,7 @@ __decorateClass([
133
129
  property({ type: Boolean, reflect: true })
134
130
  ], GdsOption.prototype, "isPlaceholder", 2);
135
131
  __decorateClass([
136
- watch("isplaceholder")
132
+ watch("isPlaceholder")
137
133
  ], GdsOption.prototype, "_handlePlaceholderStatusChange", 1);
138
134
  GdsOption = __decorateClass([
139
135
  gdsCustomElement("gds-option")
@@ -3,13 +3,13 @@ import {
3
3
  } from "./chunk.2JGBCOIQ.js";
4
4
  import {
5
5
  GdsDiv
6
- } from "./chunk.FIRXUEIK.js";
6
+ } from "./chunk.BA2QS7C2.js";
7
7
  import {
8
8
  styleExpressionProperty
9
9
  } from "./chunk.NUUST5OZ.js";
10
10
  import {
11
11
  tokens
12
- } from "./chunk.OGXYFLYC.js";
12
+ } from "./chunk.HWAZN4IB.js";
13
13
  import {
14
14
  gdsCustomElement
15
15
  } from "./chunk.QK3R23GV.js";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  Focusable,
3
3
  option_styles_default
4
- } from "./chunk.ZRKILGXZ.js";
4
+ } from "./chunk.YSAE26FD.js";
5
5
  import {
6
6
  TransitionalStyles
7
- } from "./chunk.NHCDT25A.js";
7
+ } from "./chunk.5ZU43LMC.js";
8
8
  import {
9
9
  GdsElement
10
10
  } from "./chunk.TMEWQZER.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  TransitionalStyles
3
- } from "./chunk.NHCDT25A.js";
3
+ } from "./chunk.5ZU43LMC.js";
4
4
  import {
5
5
  watch
6
6
  } from "./chunk.TYGMNHNO.js";
@@ -8,7 +8,7 @@ import {
8
8
  dark_default,
9
9
  light_default,
10
10
  tokens
11
- } from "./chunk.OGXYFLYC.js";
11
+ } from "./chunk.HWAZN4IB.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.OGXYFLYC.js";
3
+ } from "./chunk.HWAZN4IB.js";
4
4
  import {
5
5
  gdsCustomElement
6
6
  } from "./chunk.QK3R23GV.js";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk.TYGMNHNO.js";
4
4
  import {
5
5
  tokens
6
- } from "./chunk.OGXYFLYC.js";
6
+ } from "./chunk.HWAZN4IB.js";
7
7
  import {
8
8
  GdsElement
9
9
  } from "./chunk.TMEWQZER.js";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  GdsDiv
3
- } from "./chunk.FIRXUEIK.js";
3
+ } from "./chunk.BA2QS7C2.js";
4
4
  import {
5
5
  styleExpressionProperty
6
6
  } from "./chunk.NUUST5OZ.js";
7
7
  import {
8
8
  tokens
9
- } from "./chunk.OGXYFLYC.js";
9
+ } from "./chunk.HWAZN4IB.js";
10
10
  import {
11
11
  gdsCustomElement,
12
12
  html
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk.WM7HBMMV.js";
4
4
  import {
5
5
  TransitionalStyles
6
- } from "./chunk.NHCDT25A.js";
6
+ } from "./chunk.5ZU43LMC.js";
7
7
  import {
8
8
  watch
9
9
  } from "./chunk.TYGMNHNO.js";
@@ -147,13 +147,7 @@ var GdsPopover = class extends GdsElement {
147
147
  this.calcMinHeight = (_referenceEl) => `auto`;
148
148
  this.calcMaxHeight = (_referenceEl) => `${window.innerHeight - 16}px`;
149
149
  this.nonmodal = false;
150
- this.floatingUIMiddleware = [
151
- offset(8),
152
- shift({
153
- crossAxis: true,
154
- padding: 8
155
- })
156
- ];
150
+ this.floatingUIMiddleware = GdsPopover.DefaultMiddleware;
157
151
  this._trigger = void 0;
158
152
  this._anchor = void 0;
159
153
  this._isVirtKbVisible = false;
@@ -289,7 +283,7 @@ var GdsPopover = class extends GdsElement {
289
283
  "use-modal-in-mobile": !this.disableMobileStyles,
290
284
  "has-backdrop": Boolean(this.backdrop && this.backdrop === "true")
291
285
  })}"
292
- aria-hidden="${String(!this.open)}"
286
+ ?inert="${!this.open}"
293
287
  @close=${() => this.open && __privateGet(this, _handleCancel).call(this)}
294
288
  >
295
289
  <header>
@@ -447,6 +441,16 @@ _handleTriggerClick = new WeakMap();
447
441
  _focusFirstSlottedChild = new WeakMap();
448
442
  _handleClickOutside = new WeakMap();
449
443
  GdsPopover.styles = unsafeCSS(popover_styles_default);
444
+ /**
445
+ * The default set of middleware for Floating UI positioning used by GdsPopover.
446
+ */
447
+ GdsPopover.DefaultMiddleware = [
448
+ offset(8),
449
+ shift({
450
+ crossAxis: true,
451
+ padding: 8
452
+ })
453
+ ];
450
454
  __decorateClass([
451
455
  property({ type: Boolean, reflect: true })
452
456
  ], GdsPopover.prototype, "open", 2);
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  TransitionalStyles
3
- } from "./chunk.NHCDT25A.js";
3
+ } from "./chunk.5ZU43LMC.js";
4
4
  import {
5
5
  tokens
6
- } from "./chunk.OGXYFLYC.js";
6
+ } from "./chunk.HWAZN4IB.js";
7
7
  import {
8
8
  GdsElement
9
9
  } from "./chunk.TMEWQZER.js";
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk.E62NOHQC.js";
5
5
  import {
6
6
  TransitionalStyles
7
- } from "./chunk.NHCDT25A.js";
7
+ } from "./chunk.5ZU43LMC.js";
8
8
  import {
9
9
  GdsElement
10
10
  } from "./chunk.TMEWQZER.js";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  GdsDiv
3
- } from "./chunk.FIRXUEIK.js";
3
+ } from "./chunk.BA2QS7C2.js";
4
4
  import {
5
5
  tokens
6
- } from "./chunk.OGXYFLYC.js";
6
+ } from "./chunk.HWAZN4IB.js";
7
7
  import {
8
8
  gdsCustomElement,
9
9
  html
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  TransitionalStyles
3
- } from "./chunk.NHCDT25A.js";
3
+ } from "./chunk.5ZU43LMC.js";
4
4
  import {
5
5
  GdsElement
6
6
  } from "./chunk.TMEWQZER.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  GdsDiv
3
- } from "./chunk.FIRXUEIK.js";
3
+ } from "./chunk.BA2QS7C2.js";
4
4
  import {
5
5
  gdsCustomElement
6
6
  } from "./chunk.QK3R23GV.js";
@@ -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 = "-1e0e02";
9
+ var VER_SUFFIX = "-d92d23";
10
10
  var ScopedElementRegistry = class {
11
11
  static get instance() {
12
12
  var _a;