@sebgroup/green-core 1.68.3 → 1.68.5

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 (146) hide show
  1. package/chunks/{chunk.XBCXBRUE.js → chunk.2UGVYZW6.js} +2 -2
  2. package/chunks/{chunk.TBKPLEKX.js → chunk.3ER354IV.js} +2 -2
  3. package/chunks/{chunk.DEOWOJ5C.js → chunk.3JPQEXQG.js} +1 -1
  4. package/chunks/{chunk.XIXGL3VR.js → chunk.4RYCDDEL.js} +1 -1
  5. package/chunks/{chunk.FTS2LBL7.js → chunk.7Y2HXZTW.js} +2 -2
  6. package/chunks/{chunk.JF4WKP2Z.js → chunk.AYJAUUCZ.js} +1 -1
  7. package/chunks/{chunk.4JC4WNIF.js → chunk.CTQODNHP.js} +11 -5
  8. package/chunks/{chunk.ZKM2CAJL.js → chunk.DNBHE2HW.js} +1 -1
  9. package/chunks/{chunk.EUPWOK3H.js → chunk.DYN6322L.js} +2 -2
  10. package/chunks/{chunk.X6GBKRRG.js → chunk.F2SQQT5J.js} +93 -91
  11. package/chunks/{chunk.7K42DERJ.js → chunk.FFOHUW46.js} +1 -1
  12. package/chunks/{chunk.LFIH4N2V.js → chunk.G5A6TLEB.js} +1 -1
  13. package/chunks/{chunk.R67DPTZX.js → chunk.HXC56ASG.js} +1 -1
  14. package/chunks/{chunk.YB7NAYFZ.js → chunk.IJTVVDT5.js} +1 -1
  15. package/chunks/{chunk.NWUUVM4N.js → chunk.J5LBLNY4.js} +2 -2
  16. package/chunks/{chunk.7QMSEWXZ.js → chunk.JO7TMUNS.js} +1 -1
  17. package/chunks/{chunk.QFBIYIRD.js → chunk.KC6Z3HNY.js} +2 -2
  18. package/chunks/{chunk.X4AISXDE.js → chunk.KFICL24P.js} +1 -1
  19. package/chunks/{chunk.4TJKJPIH.js → chunk.KRR2MHH6.js} +1 -1
  20. package/chunks/{chunk.CDAVNV2N.js → chunk.KYGKWH6H.js} +2 -8
  21. package/chunks/{chunk.PFOHT3I6.js → chunk.L27GXXCR.js} +16 -4
  22. package/chunks/{chunk.SZORJ7WX.js → chunk.L5PE6QYR.js} +1 -1
  23. package/chunks/{chunk.DUVQZBLZ.js → chunk.L76SIVXL.js} +2 -2
  24. package/chunks/{chunk.W65UI5L6.js → chunk.M42OSKF3.js} +1 -1
  25. package/chunks/{chunk.WKWDXWZ7.js → chunk.M6XWWL3K.js} +2 -2
  26. package/chunks/{chunk.WVWJ4YHB.js → chunk.NGISBDVX.js} +6 -6
  27. package/chunks/{chunk.L7ULCU2S.js → chunk.OXFUYPNR.js} +1 -1
  28. package/chunks/chunk.QK3R23GV.js +1 -1
  29. package/chunks/{chunk.4YJSQOXC.js → chunk.R7PMRDER.js} +1 -1
  30. package/chunks/{chunk.E3ZGKYXN.js → chunk.R7SHJPQX.js} +1 -1
  31. package/chunks/{chunk.H7QDMWU6.js → chunk.RF56IWRC.js} +1 -1
  32. package/chunks/{chunk.QULNLUY5.js → chunk.SSMQSB4N.js} +1 -1
  33. package/chunks/{chunk.56GYGB3B.js → chunk.TOBY35JG.js} +1 -1
  34. package/chunks/{chunk.XFXBV2L3.js → chunk.TRS2VCUR.js} +1 -1
  35. package/chunks/{chunk.BV5L4CYQ.js → chunk.UPA7PT7F.js} +2 -2
  36. package/chunks/{chunk.N7BVFVPK.js → chunk.W7XFAJ4E.js} +2 -2
  37. package/chunks/{chunk.I3AQZJ2H.js → chunk.XB7K3C5P.js} +2 -2
  38. package/chunks/{chunk.ASKO2FFG.js → chunk.XHLTNW7U.js} +2 -2
  39. package/chunks/{chunk.4EASAPSE.js → chunk.Y2NHXTDW.js} +1 -1
  40. package/chunks/{chunk.5GWQRZ26.js → chunk.Y5YZV6CC.js} +1 -1
  41. package/chunks/{chunk.IEVYJGNZ.js → chunk.YDPMAYLA.js} +2 -2
  42. package/chunks/{chunk.3JTC3MOB.js → chunk.ZNRXC2JN.js} +2 -2
  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 +6 -6
  81. package/components/form/summary/index.js +6 -6
  82. package/components/form/summary/summary.js +6 -6
  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 +2 -2
  104. package/components/rich-text/rich-text.js +2 -2
  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/spinner/gds-spinner.js +2 -2
  119. package/components/spinner/index.js +2 -2
  120. package/components/text/index.js +3 -3
  121. package/components/text/text.js +3 -3
  122. package/components/textarea/index.js +10 -10
  123. package/components/textarea/textarea.js +10 -10
  124. package/components/theme/index.js +3 -3
  125. package/components/theme/theme.js +3 -3
  126. package/components/theme/theme.trans.styles.js +2 -2
  127. package/components/video/index.js +2 -2
  128. package/components/video/video.js +2 -2
  129. package/index.js +39 -39
  130. package/package.json +1 -1
  131. package/primitives/field-base/field-base.js +3 -3
  132. package/primitives/field-base/index.js +3 -3
  133. package/primitives/form-control-footer/form-control-footer.js +4 -4
  134. package/primitives/form-control-footer/index.js +4 -4
  135. package/primitives/form-control-header/form-control-header.js +6 -6
  136. package/primitives/form-control-header/index.js +6 -6
  137. package/primitives/listbox/index.js +4 -4
  138. package/primitives/listbox/listbox.js +4 -4
  139. package/primitives/listbox/option.js +3 -3
  140. package/primitives/menu/index.js +4 -4
  141. package/primitives/menu/menu-heading.js +3 -3
  142. package/primitives/menu/menu-item.js +3 -3
  143. package/primitives/menu/menu.js +4 -4
  144. package/primitives/ripple/index.js +2 -2
  145. package/primitives/ripple/ripple.js +2 -2
  146. package/transitional-styles.js +2 -2
@@ -8,13 +8,13 @@ import {
8
8
  } from "./chunk.TWXTKG4B.js";
9
9
  import {
10
10
  TransitionalStyles
11
- } from "./chunk.4EASAPSE.js";
11
+ } from "./chunk.Y2NHXTDW.js";
12
12
  import {
13
13
  watch
14
14
  } from "./chunk.TYGMNHNO.js";
15
15
  import {
16
16
  tokens
17
- } from "./chunk.WVWJ4YHB.js";
17
+ } from "./chunk.NGISBDVX.js";
18
18
  import {
19
19
  GdsElement
20
20
  } from "./chunk.TMEWQZER.js";
@@ -4,10 +4,10 @@ import {
4
4
  } from "./chunk.TWXTKG4B.js";
5
5
  import {
6
6
  TransitionalStyles
7
- } from "./chunk.4EASAPSE.js";
7
+ } from "./chunk.Y2NHXTDW.js";
8
8
  import {
9
9
  tokens
10
- } from "./chunk.WVWJ4YHB.js";
10
+ } from "./chunk.NGISBDVX.js";
11
11
  import {
12
12
  GdsElement
13
13
  } from "./chunk.TMEWQZER.js";
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk.NUUST5OZ.js";
7
7
  import {
8
8
  tokens
9
- } from "./chunk.WVWJ4YHB.js";
9
+ } from "./chunk.NGISBDVX.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.WVWJ4YHB.js";
11
+ } from "./chunk.NGISBDVX.js";
12
12
  import {
13
13
  GdsElement
14
14
  } from "./chunk.TMEWQZER.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  forwardAttributes
3
- } from "./chunk.N7BVFVPK.js";
3
+ } from "./chunk.W7XFAJ4E.js";
4
4
  import {
5
5
  GdsFormControlElement
6
6
  } from "./chunk.VA6TUMR2.js";
@@ -11,7 +11,7 @@ import {
11
11
  } from "./chunk.TWXTKG4B.js";
12
12
  import {
13
13
  tokens
14
- } from "./chunk.WVWJ4YHB.js";
14
+ } from "./chunk.NGISBDVX.js";
15
15
  import {
16
16
  gdsCustomElement,
17
17
  html
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk.E62NOHQC.js";
5
5
  import {
6
6
  TransitionalStyles
7
- } from "./chunk.4EASAPSE.js";
7
+ } from "./chunk.Y2NHXTDW.js";
8
8
  import {
9
9
  GdsElement
10
10
  } from "./chunk.TMEWQZER.js";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk.WM7HBMMV.js";
4
4
  import {
5
5
  TransitionalStyles
6
- } from "./chunk.4EASAPSE.js";
6
+ } from "./chunk.Y2NHXTDW.js";
7
7
  import {
8
8
  watch
9
9
  } from "./chunk.TYGMNHNO.js";
@@ -30,8 +30,8 @@ import { classMap } from "lit/directives/class-map.js";
30
30
  import {
31
31
  autoUpdate,
32
32
  computePosition,
33
- flip,
34
- offset
33
+ offset,
34
+ shift
35
35
  } from "@floating-ui/dom";
36
36
 
37
37
  // libs/core/src/components/popover/popover.styles.ts
@@ -145,9 +145,15 @@ var GdsPopover = class extends GdsElement {
145
145
  this.calcMinWidth = (referenceEl) => `${referenceEl.offsetWidth}px`;
146
146
  this.calcMaxWidth = (_referenceEl) => `auto`;
147
147
  this.calcMinHeight = (_referenceEl) => `auto`;
148
- this.calcMaxHeight = (_referenceEl) => `500px`;
148
+ this.calcMaxHeight = (_referenceEl) => `${window.innerHeight - 16}px`;
149
149
  this.nonmodal = false;
150
- this.floatingUIMiddleware = [offset(8), flip()];
150
+ this.floatingUIMiddleware = [
151
+ offset(8),
152
+ shift({
153
+ crossAxis: true,
154
+ padding: 8
155
+ })
156
+ ];
151
157
  this._trigger = void 0;
152
158
  this._anchor = void 0;
153
159
  this._isVirtKbVisible = false;
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk.NUUST5OZ.js";
4
4
  import {
5
5
  tokens
6
- } from "./chunk.WVWJ4YHB.js";
6
+ } from "./chunk.NGISBDVX.js";
7
7
  import {
8
8
  GdsElement
9
9
  } from "./chunk.TMEWQZER.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  GdsDiv
3
- } from "./chunk.4YJSQOXC.js";
3
+ } from "./chunk.R7PMRDER.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.WVWJ4YHB.js";
12
+ } from "./chunk.NGISBDVX.js";
13
13
  import {
14
14
  gdsCustomElement,
15
15
  html
@@ -12,13 +12,13 @@ import {
12
12
  } from "./chunk.TWXTKG4B.js";
13
13
  import {
14
14
  TransitionalStyles
15
- } from "./chunk.4EASAPSE.js";
15
+ } from "./chunk.Y2NHXTDW.js";
16
16
  import {
17
17
  watch
18
18
  } from "./chunk.TYGMNHNO.js";
19
19
  import {
20
20
  tokens
21
- } from "./chunk.WVWJ4YHB.js";
21
+ } from "./chunk.NGISBDVX.js";
22
22
  import {
23
23
  gdsCustomElement,
24
24
  html
@@ -454,110 +454,112 @@ var Datepicker = class extends GdsFormControlElement {
454
454
  this._elCalendar.then((cal) => cal.focus());
455
455
  }}
456
456
  >
457
- <gds-flex
458
- align-items="center"
459
- justify-content="space-between"
460
- gap="s"
461
- padding="m m 0 m"
462
- >
463
- <gds-button
464
- @click=${__privateGet(this, _handleDecrementFocusedMonth)}
465
- aria-label=${msg("Previous month")}
466
- rank="tertiary"
467
- size="small"
468
- >
469
- <gds-icon-chevron-left></gds-icon-chevron-left>
470
- </gds-button>
471
- <gds-dropdown
472
- .value=${this._focusedMonth.toString()}
473
- @change=${__privateGet(this, _handleMonthChange)}
474
- .maxHeight=${300}
475
- label="${msg("Month")}"
476
- size="small"
477
- class="month"
478
- hide-label
457
+ <gds-div overflow="auto">
458
+ <gds-flex
459
+ align-items="center"
460
+ justify-content="space-between"
461
+ gap="s"
462
+ padding="m m 0 m"
479
463
  >
480
- <gds-option value="0">${msg("January")}</gds-option>
481
- <gds-option value="1">${msg("February")}</gds-option>
482
- <gds-option value="2">${msg("March")}</gds-option>
483
- <gds-option value="3">${msg("April")}</gds-option>
484
- <gds-option value="4">${msg("May")}</gds-option>
485
- <gds-option value="5">${msg("June")}</gds-option>
486
- <gds-option value="6">${msg("July")}</gds-option>
487
- <gds-option value="7">${msg("August")}</gds-option>
488
- <gds-option value="8">${msg("September")}</gds-option>
489
- <gds-option value="9">${msg("October")}</gds-option>
490
- <gds-option value="10">${msg("November")}</gds-option>
491
- <gds-option value="11">${msg("December")}</gds-option>
492
- </gds-dropdown>
493
- <gds-dropdown
494
- .value=${this._focusedYear.toString()}
495
- @change=${__privateGet(this, _handleYearChange)}
496
- .maxHeight=${300}
497
- label="${msg("Year")}"
498
- size="small"
499
- class="year"
500
- hide-label
501
- >
502
- ${repeat(
464
+ <gds-button
465
+ @click=${__privateGet(this, _handleDecrementFocusedMonth)}
466
+ aria-label=${msg("Previous month")}
467
+ rank="tertiary"
468
+ size="small"
469
+ >
470
+ <gds-icon-chevron-left></gds-icon-chevron-left>
471
+ </gds-button>
472
+ <gds-dropdown
473
+ .value=${this._focusedMonth.toString()}
474
+ @change=${__privateGet(this, _handleMonthChange)}
475
+ .maxHeight=${300}
476
+ label="${msg("Month")}"
477
+ size="small"
478
+ class="month"
479
+ hide-label
480
+ >
481
+ <gds-option value="0">${msg("January")}</gds-option>
482
+ <gds-option value="1">${msg("February")}</gds-option>
483
+ <gds-option value="2">${msg("March")}</gds-option>
484
+ <gds-option value="3">${msg("April")}</gds-option>
485
+ <gds-option value="4">${msg("May")}</gds-option>
486
+ <gds-option value="5">${msg("June")}</gds-option>
487
+ <gds-option value="6">${msg("July")}</gds-option>
488
+ <gds-option value="7">${msg("August")}</gds-option>
489
+ <gds-option value="8">${msg("September")}</gds-option>
490
+ <gds-option value="9">${msg("October")}</gds-option>
491
+ <gds-option value="10">${msg("November")}</gds-option>
492
+ <gds-option value="11">${msg("December")}</gds-option>
493
+ </gds-dropdown>
494
+ <gds-dropdown
495
+ .value=${this._focusedYear.toString()}
496
+ @change=${__privateGet(this, _handleYearChange)}
497
+ .maxHeight=${300}
498
+ label="${msg("Year")}"
499
+ size="small"
500
+ class="year"
501
+ hide-label
502
+ >
503
+ ${repeat(
503
504
  __privateGet(this, _years, years_get),
504
505
  (year) => year,
505
506
  (year) => html`<gds-option value=${year}>${year}</gds-option>`
506
507
  )}
507
- </gds-dropdown>
508
- <gds-button
509
- @click=${__privateGet(this, _handleIncrementFocusedMonth)}
510
- aria-label=${msg("Next month")}
511
- rank="tertiary"
512
- size="small"
513
- >
514
- <gds-icon-chevron-right></gds-icon-chevron-right>
515
- </gds-button>
516
- </gds-flex>
508
+ </gds-dropdown>
509
+ <gds-button
510
+ @click=${__privateGet(this, _handleIncrementFocusedMonth)}
511
+ aria-label=${msg("Next month")}
512
+ rank="tertiary"
513
+ size="small"
514
+ >
515
+ <gds-icon-chevron-right></gds-icon-chevron-right>
516
+ </gds-button>
517
+ </gds-flex>
517
518
 
518
- <gds-calendar
519
- id="calendar"
520
- @change=${__privateGet(this, _handleCalendarChange)}
521
- @gds-date-focused=${__privateGet(this, _handleCalendarFocusChange)}
522
- .focusedMonth=${this._focusedMonth}
523
- .focusedYear=${this._focusedYear}
524
- .value=${this.value}
525
- .min=${this.min}
526
- .max=${this.max}
527
- .showWeekNumbers=${this.showWeekNumbers}
528
- .disabledWeekends=${this.disabledWeekends}
529
- .disabledDates=${this.disabledDates}
530
- ></gds-calendar>
519
+ <gds-calendar
520
+ id="calendar"
521
+ @change=${__privateGet(this, _handleCalendarChange)}
522
+ @gds-date-focused=${__privateGet(this, _handleCalendarFocusChange)}
523
+ .focusedMonth=${this._focusedMonth}
524
+ .focusedYear=${this._focusedYear}
525
+ .value=${this.value}
526
+ .min=${this.min}
527
+ .max=${this.max}
528
+ .showWeekNumbers=${this.showWeekNumbers}
529
+ .disabledWeekends=${this.disabledWeekends}
530
+ .disabledDates=${this.disabledDates}
531
+ ></gds-calendar>
531
532
 
532
- <gds-flex
533
- align-items="center"
534
- justify-content="space-between"
535
- padding="0 m m m"
536
- >
537
- <gds-button
538
- rank="tertiary"
539
- size="small"
540
- @click=${(e) => {
533
+ <gds-flex
534
+ align-items="center"
535
+ justify-content="space-between"
536
+ padding="0 m m m"
537
+ >
538
+ <gds-button
539
+ rank="tertiary"
540
+ size="small"
541
+ @click=${(e) => {
541
542
  e.stopPropagation();
542
543
  this.value = void 0;
543
544
  this.open = false;
544
545
  __privateMethod(this, _dispatchChangeEvent, dispatchChangeEvent_fn).call(this);
545
546
  }}
546
- >
547
- ${msg("Clear")}
548
- </gds-button>
549
- ${until(__privateMethod(this, _renderBackToValidRangeButton, renderBackToValidRangeButton_fn).call(this), nothing)}
550
- <gds-button
551
- rank="tertiary"
552
- size="small"
553
- @click=${(e) => {
547
+ >
548
+ ${msg("Clear")}
549
+ </gds-button>
550
+ ${until(__privateMethod(this, _renderBackToValidRangeButton, renderBackToValidRangeButton_fn).call(this), nothing)}
551
+ <gds-button
552
+ rank="tertiary"
553
+ size="small"
554
+ @click=${(e) => {
554
555
  e.stopPropagation();
555
556
  __privateMethod(this, _focusDate, focusDate_fn).call(this, /* @__PURE__ */ new Date());
556
557
  }}
557
- >
558
- ${msg("Today")}
559
- </gds-button>
560
- </gds-flex>
558
+ >
559
+ ${msg("Today")}
560
+ </gds-button>
561
+ </gds-flex>
562
+ </gds-div>
561
563
  </gds-popover>
562
564
  `;
563
565
  }
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  TransitionalStyles
3
- } from "./chunk.4EASAPSE.js";
3
+ } from "./chunk.Y2NHXTDW.js";
4
4
  import {
5
5
  GdsElement
6
6
  } from "./chunk.TMEWQZER.js";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk.NUUST5OZ.js";
4
4
  import {
5
5
  tokens
6
- } from "./chunk.WVWJ4YHB.js";
6
+ } from "./chunk.NGISBDVX.js";
7
7
  import {
8
8
  GdsElement
9
9
  } from "./chunk.TMEWQZER.js";
@@ -14,7 +14,7 @@ import {
14
14
  } from "./chunk.TYGMNHNO.js";
15
15
  import {
16
16
  tokens
17
- } from "./chunk.WVWJ4YHB.js";
17
+ } from "./chunk.NGISBDVX.js";
18
18
  import {
19
19
  gdsCustomElement,
20
20
  html
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  TransitionalStyles
3
- } from "./chunk.4EASAPSE.js";
3
+ } from "./chunk.Y2NHXTDW.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.4EASAPSE.js";
3
+ } from "./chunk.Y2NHXTDW.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.WVWJ4YHB.js";
11
+ } from "./chunk.NGISBDVX.js";
12
12
  import {
13
13
  GdsElement
14
14
  } from "./chunk.TMEWQZER.js";
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk.TWXTKG4B.js";
5
5
  import {
6
6
  tokens
7
- } from "./chunk.WVWJ4YHB.js";
7
+ } from "./chunk.NGISBDVX.js";
8
8
  import {
9
9
  GdsElement
10
10
  } from "./chunk.TMEWQZER.js";
@@ -3,13 +3,13 @@ import {
3
3
  } from "./chunk.2JGBCOIQ.js";
4
4
  import {
5
5
  GdsDiv
6
- } from "./chunk.4YJSQOXC.js";
6
+ } from "./chunk.R7PMRDER.js";
7
7
  import {
8
8
  styleExpressionProperty
9
9
  } from "./chunk.NUUST5OZ.js";
10
10
  import {
11
11
  tokens
12
- } from "./chunk.WVWJ4YHB.js";
12
+ } from "./chunk.NGISBDVX.js";
13
13
  import {
14
14
  gdsCustomElement
15
15
  } from "./chunk.QK3R23GV.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  tokens
3
- } from "./chunk.WVWJ4YHB.js";
3
+ } from "./chunk.NGISBDVX.js";
4
4
  import {
5
5
  gdsCustomElement
6
6
  } from "./chunk.QK3R23GV.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  TransitionalStyles
3
- } from "./chunk.4EASAPSE.js";
3
+ } from "./chunk.Y2NHXTDW.js";
4
4
  import {
5
5
  GdsElement
6
6
  } from "./chunk.TMEWQZER.js";
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk.TYGMNHNO.js";
10
10
  import {
11
11
  tokens
12
- } from "./chunk.WVWJ4YHB.js";
12
+ } from "./chunk.NGISBDVX.js";
13
13
  import {
14
14
  gdsCustomElement,
15
15
  html
@@ -210,13 +210,7 @@ var GdsDropdown = class extends GdsFormControlElement {
210
210
  `;
211
211
  });
212
212
  __privateAdd(this, _calcMaxHeight, (trigger) => {
213
- const triggerRect = trigger.getBoundingClientRect();
214
- const windowHeight = window.innerHeight;
215
- const bottomSpace = windowHeight - triggerRect.bottom;
216
- const topSpace = triggerRect.top;
217
- let height = Math.min(topSpace, this.maxHeight);
218
- if (bottomSpace > topSpace)
219
- height = Math.min(bottomSpace, this.maxHeight);
213
+ const height = Math.min(window.innerHeight, this.maxHeight);
220
214
  return `${height - 16}px`;
221
215
  });
222
216
  __privateAdd(this, _dispatchUISateEvent, (toState, reason) => this.dispatchEvent(
@@ -10,7 +10,7 @@ import {
10
10
  } from "./chunk.TWXTKG4B.js";
11
11
  import {
12
12
  tokens
13
- } from "./chunk.WVWJ4YHB.js";
13
+ } from "./chunk.NGISBDVX.js";
14
14
  import {
15
15
  GdsElement
16
16
  } from "./chunk.TMEWQZER.js";
@@ -125,17 +125,25 @@ var styles = css`
125
125
  }
126
126
 
127
127
  ol li {
128
- padding-left: 3ch;
128
+ padding-left: 3.6ch;
129
129
  position: relative;
130
130
  }
131
131
 
132
132
  ol li:before {
133
133
  counter-increment: ordered-list;
134
- content: counter(ordered-list, decimal-leading-zero) '.';
135
- left: 0;
134
+ content: counter(ordered-list) '.';
135
+ left: 0.2rem;
136
136
  position: absolute;
137
137
  }
138
138
 
139
+ ol:not(:has(li:nth-child(10))) li {
140
+ padding-left: 2.4ch;
141
+ }
142
+
143
+ ol:has(li:nth-child(10)) li:nth-child(-n + 9):before {
144
+ left: 1.4ch;
145
+ }
146
+
139
147
  li {
140
148
  padding: 0 0 0.3lh 0;
141
149
  }
@@ -233,6 +241,10 @@ var styles = css`
233
241
  padding-inline: var(--gds-space-m);
234
242
  }
235
243
 
244
+ details summary::-webkit-details-marker {
245
+ display: none;
246
+ }
247
+
236
248
  summary:focus-visible {
237
249
  border-radius: var(--gds-space-2xs);
238
250
  }
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  TransitionalStyles
3
- } from "./chunk.4EASAPSE.js";
3
+ } from "./chunk.Y2NHXTDW.js";
4
4
  import {
5
5
  GdsElement
6
6
  } from "./chunk.TMEWQZER.js";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  GdsDiv
3
- } from "./chunk.4YJSQOXC.js";
3
+ } from "./chunk.R7PMRDER.js";
4
4
  import {
5
5
  styleExpressionProperty
6
6
  } from "./chunk.NUUST5OZ.js";
7
7
  import {
8
8
  tokens
9
- } from "./chunk.WVWJ4YHB.js";
9
+ } from "./chunk.NGISBDVX.js";
10
10
  import {
11
11
  gdsCustomElement,
12
12
  html
@@ -8,7 +8,7 @@ import {
8
8
  } from "./chunk.TYGMNHNO.js";
9
9
  import {
10
10
  tokens
11
- } from "./chunk.WVWJ4YHB.js";
11
+ } from "./chunk.NGISBDVX.js";
12
12
  import {
13
13
  GdsElement
14
14
  } from "./chunk.TMEWQZER.js";
@@ -4,13 +4,13 @@ import {
4
4
  } from "./chunk.ZRKILGXZ.js";
5
5
  import {
6
6
  TransitionalStyles
7
- } from "./chunk.4EASAPSE.js";
7
+ } from "./chunk.Y2NHXTDW.js";
8
8
  import {
9
9
  watch
10
10
  } from "./chunk.TYGMNHNO.js";
11
11
  import {
12
12
  tokens
13
- } from "./chunk.WVWJ4YHB.js";
13
+ } from "./chunk.NGISBDVX.js";
14
14
  import {
15
15
  GdsElement
16
16
  } 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 Fri, 07 Mar 2025 13:01:50 GMT
8
+ * Generated on Wed, 12 Mar 2025 20:07:25 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 Fri, 07 Mar 2025 13:01:50 GMT
122
+ * Generated on Wed, 12 Mar 2025 20:07:25 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 Fri, 07 Mar 2025 13:01:50 GMT
239
+ * Generated on Wed, 12 Mar 2025 20:07:25 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 Fri, 07 Mar 2025 13:01:50 GMT
258
+ * Generated on Wed, 12 Mar 2025 20:07:25 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 Fri, 07 Mar 2025 13:01:50 GMT
273
+ * Generated on Wed, 12 Mar 2025 20:07:25 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 Fri, 07 Mar 2025 13:01:50 GMT
300
+ * Generated on Wed, 12 Mar 2025 20:07:25 GMT
301
301
  */
302
302
 
303
303
  :host {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  GdsButton
3
- } from "./chunk.N7BVFVPK.js";
3
+ } from "./chunk.W7XFAJ4E.js";
4
4
  import {
5
5
  withPositioningProps
6
6
  } from "./chunk.TWXTKG4B.js";