@sebgroup/green-core 1.22.6 → 1.22.8

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 (71) hide show
  1. package/chunks/{chunk.SPU6LGY6.js → chunk.5C4NFKBM.js} +1 -1
  2. package/chunks/{chunk.2WGZEROP.js → chunk.5PSZXHKV.js} +1 -1
  3. package/chunks/{chunk.PME7HPSR.js → chunk.B35Y6NNU.js} +1 -1
  4. package/chunks/{chunk.3J7NBKCM.js → chunk.CPCAGCFR.js} +1 -1
  5. package/chunks/{chunk.X2VQYOI4.js → chunk.F4SNZJRS.js} +2 -2
  6. package/chunks/{chunk.KQ7KXFPT.js → chunk.GFXPSAGQ.js} +2 -2
  7. package/chunks/{chunk.4FZLD4GF.js → chunk.GIM3T2GL.js} +1 -1
  8. package/chunks/{chunk.TCK22ZSS.js → chunk.HGXKBXR6.js} +1 -1
  9. package/chunks/{chunk.BOXKLSQ4.js → chunk.IG427B6W.js} +1 -1
  10. package/chunks/{chunk.Z7XFIUQM.js → chunk.JX4Q5BTZ.js} +1 -1
  11. package/chunks/{chunk.ERRPHNRC.js → chunk.K3GEZRU5.js} +34 -33
  12. package/chunks/{chunk.SSWIRJTS.js → chunk.P2QL4AHI.js} +1 -1
  13. package/chunks/{chunk.AYS4XTWL.js → chunk.PKI5W62Y.js} +1 -1
  14. package/chunks/{chunk.PFAU5MJG.js → chunk.Q7575PYR.js} +4 -4
  15. package/chunks/{chunk.SBLVBDYS.js → chunk.QD3OLQ7I.js} +1 -1
  16. package/chunks/{chunk.V2BEG77G.js → chunk.RP6ZZ4QP.js} +30 -19
  17. package/chunks/{chunk.5IDY3R3B.js → chunk.VJU6J3FA.js} +1 -1
  18. package/chunks/chunk.VOYMQ322.js +1 -1
  19. package/chunks/{chunk.KMVEBCWE.js → chunk.Y73KCVPN.js} +1 -1
  20. package/chunks/{chunk.KW7NXQEL.js → chunk.ZKYFM56B.js} +3 -3
  21. package/chunks/{chunk.SKRG4C7O.js → chunk.ZX42RSEL.js} +1 -1
  22. package/components/button/button.js +4 -4
  23. package/components/button/button.trans.styles.js +1 -1
  24. package/components/button/index.js +4 -4
  25. package/components/context-menu/context-menu.js +5 -5
  26. package/components/context-menu/context-menu.trans.styles.js +1 -1
  27. package/components/context-menu/index.js +6 -6
  28. package/components/datepicker/datepicker.js +11 -11
  29. package/components/datepicker/datepicker.trans.styles.js +1 -1
  30. package/components/datepicker/index.js +11 -11
  31. package/components/dropdown/dropdown.js +5 -5
  32. package/components/dropdown/dropdown.trans.styles.js +1 -1
  33. package/components/dropdown/index.js +6 -6
  34. package/components/filter-chips/filter-chip/filter-chip.js +5 -5
  35. package/components/filter-chips/filter-chip/filter-chip.trans.styles.js +1 -1
  36. package/components/filter-chips/filter-chip/index.js +5 -5
  37. package/components/filter-chips/filter-chips.js +5 -5
  38. package/components/filter-chips/filter-chips.trans.styles.js +1 -1
  39. package/components/filter-chips/index.js +5 -5
  40. package/components/grid/grid.js +2 -2
  41. package/components/grid/index.js +2 -2
  42. package/components/grouped-list/grouped-list.js +2 -2
  43. package/components/grouped-list/grouped-list.trans.styles.js +1 -1
  44. package/components/grouped-list/index.js +2 -2
  45. package/components/index.js +20 -20
  46. package/components/popover/index.js +2 -2
  47. package/components/popover/popover.js +2 -2
  48. package/components/popover/popover.trans.styles.js +1 -1
  49. package/components/segmented-control/index.js +4 -4
  50. package/components/segmented-control/segment/index.js +3 -3
  51. package/components/segmented-control/segment/segment.js +3 -3
  52. package/components/segmented-control/segment/segment.trans.styles.js +1 -1
  53. package/components/segmented-control/segmented-control.js +4 -4
  54. package/components/segmented-control/segmented-control.trans.styles.js +1 -1
  55. package/components/theme/index.js +2 -2
  56. package/components/theme/theme.js +2 -2
  57. package/components/theme/theme.trans.styles.js +1 -1
  58. package/index.js +20 -20
  59. package/package.json +1 -1
  60. package/primitives/calendar/calendar.js +2 -2
  61. package/primitives/calendar/index.js +2 -2
  62. package/primitives/listbox/index.js +3 -3
  63. package/primitives/listbox/listbox.js +3 -3
  64. package/primitives/listbox/option.js +2 -2
  65. package/primitives/menu/index.js +3 -3
  66. package/primitives/menu/menu-heading.js +2 -2
  67. package/primitives/menu/menu-item.js +2 -2
  68. package/primitives/menu/menu.js +3 -3
  69. package/primitives/ripple/index.js +2 -2
  70. package/primitives/ripple/ripple.js +2 -2
  71. package/transitional-styles.js +1 -1
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk.NNJ6DJO2.js";
4
4
  import {
5
5
  TransitionalStyles
6
- } from "./chunk.ERRPHNRC.js";
6
+ } from "./chunk.K3GEZRU5.js";
7
7
  import {
8
8
  GdsElement
9
9
  } from "./chunk.ZQ4D5K7J.js";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk.NBEFLQNK.js";
4
4
  import {
5
5
  tokens
6
- } from "./chunk.PFAU5MJG.js";
6
+ } from "./chunk.Q7575PYR.js";
7
7
  import {
8
8
  GdsElement
9
9
  } from "./chunk.ZQ4D5K7J.js";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk.KBYQYDL3.js";
4
4
  import {
5
5
  TransitionalStyles
6
- } from "./chunk.ERRPHNRC.js";
6
+ } from "./chunk.K3GEZRU5.js";
7
7
  import {
8
8
  GdsElement
9
9
  } from "./chunk.ZQ4D5K7J.js";
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk.2X23R32H.js";
5
5
  import {
6
6
  TransitionalStyles
7
- } from "./chunk.ERRPHNRC.js";
7
+ } from "./chunk.K3GEZRU5.js";
8
8
  import {
9
9
  GdsElement
10
10
  } from "./chunk.ZQ4D5K7J.js";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  tokens
3
- } from "./chunk.PFAU5MJG.js";
3
+ } from "./chunk.Q7575PYR.js";
4
4
  import {
5
5
  TransitionalStyles
6
- } from "./chunk.ERRPHNRC.js";
6
+ } from "./chunk.K3GEZRU5.js";
7
7
  import {
8
8
  GdsElement
9
9
  } from "./chunk.ZQ4D5K7J.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  tokens
3
- } from "./chunk.PFAU5MJG.js";
3
+ } from "./chunk.Q7575PYR.js";
4
4
  import {
5
5
  GdsFormControlElement
6
6
  } from "./chunk.MZSK66DN.js";
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk.KBYQYDL3.js";
10
10
  import {
11
11
  TransitionalStyles
12
- } from "./chunk.ERRPHNRC.js";
12
+ } from "./chunk.K3GEZRU5.js";
13
13
  import {
14
14
  gdsCustomElement,
15
15
  html
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  TransitionalStyles
3
- } from "./chunk.ERRPHNRC.js";
3
+ } from "./chunk.K3GEZRU5.js";
4
4
  import {
5
5
  watchMediaQuery
6
6
  } from "./chunk.WM7HBMMV.js";
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk.2ND5EWHE.js";
5
5
  import {
6
6
  TransitionalStyles
7
- } from "./chunk.ERRPHNRC.js";
7
+ } from "./chunk.K3GEZRU5.js";
8
8
  import {
9
9
  GdsElement
10
10
  } from "./chunk.ZQ4D5K7J.js";
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk.KBYQYDL3.js";
7
7
  import {
8
8
  TransitionalStyles
9
- } from "./chunk.ERRPHNRC.js";
9
+ } from "./chunk.K3GEZRU5.js";
10
10
  import {
11
11
  observeLightDOM
12
12
  } from "./chunk.WM7HBMMV.js";
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk.2ND5EWHE.js";
5
5
  import {
6
6
  TransitionalStyles
7
- } from "./chunk.ERRPHNRC.js";
7
+ } from "./chunk.K3GEZRU5.js";
8
8
  import {
9
9
  GdsElement
10
10
  } from "./chunk.ZQ4D5K7J.js";
@@ -265,13 +265,13 @@ var dropdown_trans_styles_default = `/**
265
265
  :host {
266
266
  display: block;
267
267
  }
268
- :host(:invalid) button + .form-info {
268
+ :host(:invalid) [gds-element=gds-popover] + .form-info {
269
269
  position: relative;
270
270
  transition: all 200ms ease-in-out, outline-offset 0s, outline-width 0s;
271
271
  color: var(--intent-danger-background);
272
272
  opacity: 1;
273
273
  }
274
- :host(:invalid) button + .form-info::before {
274
+ :host(:invalid) [gds-element=gds-popover] + .form-info::before {
275
275
  background: transparent;
276
276
  border-radius: 0 0 4px 4px;
277
277
  clip-path: inset(4px 0 0 0);
@@ -283,7 +283,7 @@ var dropdown_trans_styles_default = `/**
283
283
  transition: 300ms ease-in-out;
284
284
  width: 100%;
285
285
  }
286
- :host(:invalid) button + .form-info::before {
286
+ :host(:invalid) [gds-element=gds-popover] + .form-info::before {
287
287
  background: var(--intent-danger-background);
288
288
  clip-path: inset(1px 0 0 0);
289
289
  }
@@ -787,12 +787,13 @@ function register2() {
787
787
  var popover_trans_styles_default2 = register2;
788
788
 
789
789
  // libs/core/src/components/dropdown/dropdown.trans.styles.ts
790
- function register3() {
790
+ function register4() {
791
791
  register();
792
792
  register2();
793
+ register3();
793
794
  TransitionalStyles.instance.register("gds-dropdown", dropdown_trans_styles_default.toString());
794
795
  }
795
- var dropdown_trans_styles_default2 = register3;
796
+ var dropdown_trans_styles_default2 = register4;
796
797
 
797
798
  // libs/core/src/components/context-menu/context-menu.trans.styles.scss?inline
798
799
  var context_menu_trans_styles_default = `/* stylelint-disable max-nesting-depth */
@@ -987,12 +988,12 @@ i.sg-icon.sg-icon-ellipsis::before {
987
988
  }`;
988
989
 
989
990
  // libs/core/src/components/context-menu/context-menu.trans.styles.ts
990
- function register4() {
991
+ function register5() {
991
992
  TransitionalStyles.instance.register("gds-context-menu", context_menu_trans_styles_default.toString());
992
993
  register2();
993
994
  register();
994
995
  }
995
- var context_menu_trans_styles_default2 = register4;
996
+ var context_menu_trans_styles_default2 = register5;
996
997
 
997
998
  // libs/core/src/components/datepicker/datepicker.trans.styles.scss?inline
998
999
  var datepicker_trans_styles_default = `/* stylelint-disable max-nesting-depth */
@@ -1396,18 +1397,18 @@ var calendar_trans_styles_default = `/* stylelint-disable max-nesting-depth */
1396
1397
  }`;
1397
1398
 
1398
1399
  // libs/core/src/primitives/calendar/calendar.trans.styles.ts
1399
- function register5() {
1400
+ function register6() {
1400
1401
  TransitionalStyles.instance.register("gds-calendar", calendar_trans_styles_default.toString());
1401
1402
  }
1402
1403
 
1403
1404
  // libs/core/src/components/datepicker/datepicker.trans.styles.ts
1404
- function register6() {
1405
+ function register7() {
1405
1406
  TransitionalStyles.instance.register("gds-datepicker", datepicker_trans_styles_default.toString());
1406
- register3();
1407
+ register4();
1407
1408
  register2();
1408
- register5();
1409
+ register6();
1409
1410
  }
1410
- var datepicker_trans_styles_default2 = register6;
1411
+ var datepicker_trans_styles_default2 = register7;
1411
1412
 
1412
1413
  // libs/core/src/components/grouped-list/grouped-list.trans.styles.scss?inline
1413
1414
  var grouped_list_trans_styles_default = `@layer base, reset, transitional-styles;
@@ -1436,10 +1437,10 @@ var grouped_list_trans_styles_default = `@layer base, reset, transitional-styles
1436
1437
  }`;
1437
1438
 
1438
1439
  // libs/core/src/components/grouped-list/grouped-list.trans.styles.ts
1439
- function register7() {
1440
+ function register8() {
1440
1441
  TransitionalStyles.instance.register("gds-grouped-list", grouped_list_trans_styles_default.toString());
1441
1442
  }
1442
- var grouped_list_trans_styles_default2 = register7;
1443
+ var grouped_list_trans_styles_default2 = register8;
1443
1444
 
1444
1445
  // libs/core/src/components/segmented-control/segmented-control.trans.styles.css?inline
1445
1446
  var segmented_control_trans_styles_default = `@layer base, reset, transitional-styles;
@@ -1596,20 +1597,20 @@ var segment_trans_styles_default = `@layer base, reset, transitional-styles;
1596
1597
  `;
1597
1598
 
1598
1599
  // libs/core/src/components/segmented-control/segment/segment.trans.styles.ts
1599
- function register8() {
1600
+ function register9() {
1600
1601
  TransitionalStyles.instance.register("gds-segmented", segment_trans_styles_default.toString());
1601
1602
  }
1602
- var segment_trans_styles_default2 = register8;
1603
+ var segment_trans_styles_default2 = register9;
1603
1604
 
1604
1605
  // libs/core/src/components/segmented-control/segmented-control.trans.styles.ts
1605
- function register9() {
1606
+ function register10() {
1606
1607
  TransitionalStyles.instance.register(
1607
1608
  "gds-segmented-control",
1608
1609
  segmented_control_trans_styles_default.toString()
1609
1610
  );
1610
- register8();
1611
+ register9();
1611
1612
  }
1612
- var segmented_control_trans_styles_default2 = register9;
1613
+ var segmented_control_trans_styles_default2 = register10;
1613
1614
 
1614
1615
  // libs/core/src/components/filter-chips/filter-chips.trans.styles.scss?inline
1615
1616
  var filter_chips_trans_styles_default = `@layer base, reset, transitional-styles;
@@ -1636,7 +1637,7 @@ var filter_chip_trans_styles_default = `@layer base, reset, transitional-styles;
1636
1637
  // libs/core/src/components/filter-chips/filter-chip/filter-chip.trans.styles.ts
1637
1638
  function register11() {
1638
1639
  TransitionalStyles.instance.register("gds-filter-chip", filter_chip_trans_styles_default.toString());
1639
- register10();
1640
+ register3();
1640
1641
  }
1641
1642
  var filter_chip_trans_styles_default2 = register11;
1642
1643
 
@@ -2243,13 +2244,13 @@ var theme_trans_styles_default = register13;
2243
2244
  // libs/core/src/utils/transitional-styles/transitional-styles.ts
2244
2245
  var registerTransitionalStyles = () => {
2245
2246
  register13();
2246
- register3();
2247
2247
  register4();
2248
- register6();
2248
+ register5();
2249
2249
  register7();
2250
- register9();
2251
- register12();
2250
+ register8();
2252
2251
  register10();
2252
+ register12();
2253
+ register3();
2253
2254
  };
2254
2255
  var _styles, _elements, _useLegacyStylesheets;
2255
2256
  var _TransitionalStyles = class _TransitionalStyles {
@@ -2750,27 +2751,27 @@ i.sg-icon.sg-icon-ellipsis::before {
2750
2751
  }`;
2751
2752
 
2752
2753
  // libs/core/src/components/button/button.trans.styles.ts
2753
- function register10() {
2754
+ function register3() {
2754
2755
  TransitionalStyles.instance.register("gds-button", button_trans_styles_default.toString());
2755
2756
  }
2756
- var button_trans_styles_default2 = register10;
2757
+ var button_trans_styles_default2 = register3;
2757
2758
 
2758
2759
  export {
2759
- register10 as register,
2760
+ register3 as register,
2760
2761
  button_trans_styles_default2 as button_trans_styles_default,
2761
2762
  register2,
2762
2763
  popover_trans_styles_default2 as popover_trans_styles_default,
2763
- register3,
2764
+ register4 as register3,
2764
2765
  dropdown_trans_styles_default2 as dropdown_trans_styles_default,
2765
- register4,
2766
+ register5 as register4,
2766
2767
  context_menu_trans_styles_default2 as context_menu_trans_styles_default,
2767
- register6 as register5,
2768
+ register7 as register5,
2768
2769
  datepicker_trans_styles_default2 as datepicker_trans_styles_default,
2769
- register7 as register6,
2770
+ register8 as register6,
2770
2771
  grouped_list_trans_styles_default2 as grouped_list_trans_styles_default,
2771
- register8 as register7,
2772
+ register9 as register7,
2772
2773
  segment_trans_styles_default2 as segment_trans_styles_default,
2773
- register9 as register8,
2774
+ register10 as register8,
2774
2775
  segmented_control_trans_styles_default2 as segmented_control_trans_styles_default,
2775
2776
  register11 as register9,
2776
2777
  filter_chip_trans_styles_default2 as filter_chip_trans_styles_default,
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk.2X23R32H.js";
5
5
  import {
6
6
  TransitionalStyles
7
- } from "./chunk.ERRPHNRC.js";
7
+ } from "./chunk.K3GEZRU5.js";
8
8
  import {
9
9
  GdsElement
10
10
  } from "./chunk.ZQ4D5K7J.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  TransitionalStyles
3
- } from "./chunk.ERRPHNRC.js";
3
+ } from "./chunk.K3GEZRU5.js";
4
4
  import {
5
5
  GdsElement
6
6
  } from "./chunk.ZQ4D5K7J.js";
@@ -4,7 +4,7 @@ import { unsafeCSS } from "lit";
4
4
  // dist/libs/tokens/internal/pallet.css?inline
5
5
  var pallet_default = `/**
6
6
  * Do not edit directly
7
- * Generated on Fri, 14 Jun 2024 09:06:20 GMT
7
+ * Generated on Wed, 19 Jun 2024 07:44:31 GMT
8
8
  */
9
9
 
10
10
  :host {
@@ -165,7 +165,7 @@ var pallet_default = `/**
165
165
  // dist/libs/tokens/internal/theme/light.css?inline
166
166
  var light_default = `/**
167
167
  * Do not edit directly
168
- * Generated on Fri, 14 Jun 2024 09:06:20 GMT
168
+ * Generated on Wed, 19 Jun 2024 07:44:31 GMT
169
169
  */
170
170
 
171
171
  :host {
@@ -286,7 +286,7 @@ var light_default = `/**
286
286
  // dist/libs/tokens/internal/size.css?inline
287
287
  var size_default = `/**
288
288
  * Do not edit directly
289
- * Generated on Fri, 14 Jun 2024 09:06:20 GMT
289
+ * Generated on Wed, 19 Jun 2024 07:44:31 GMT
290
290
  */
291
291
 
292
292
  :host {
@@ -532,7 +532,7 @@ var size_default = `/**
532
532
  // dist/libs/tokens/internal/motion.css?inline
533
533
  var motion_default = `/**
534
534
  * Do not edit directly
535
- * Generated on Fri, 14 Jun 2024 09:06:20 GMT
535
+ * Generated on Wed, 19 Jun 2024 07:44:31 GMT
536
536
  */
537
537
 
538
538
  :host {
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk.KBYQYDL3.js";
4
4
  import {
5
5
  TransitionalStyles
6
- } from "./chunk.ERRPHNRC.js";
6
+ } from "./chunk.K3GEZRU5.js";
7
7
  import {
8
8
  GdsElement
9
9
  } from "./chunk.ZQ4D5K7J.js";
@@ -7,7 +7,7 @@ import {
7
7
  } from "./chunk.MZSK66DN.js";
8
8
  import {
9
9
  TransitionalStyles
10
- } from "./chunk.ERRPHNRC.js";
10
+ } from "./chunk.K3GEZRU5.js";
11
11
  import {
12
12
  watch
13
13
  } from "./chunk.2WO4NHJ2.js";
@@ -116,20 +116,23 @@ var GdsDatepicker = class extends GdsFormControlElement {
116
116
  const pasted = (_a = e.clipboardData) == null ? void 0 : _a.getData("text/plain");
117
117
  if (!pasted)
118
118
  return;
119
- let pastedDate = new Date(pasted);
120
- if (pastedDate.toString() === "Invalid Date") {
121
- const parts = pasted.split(this._dateFormatLayout.delimiter);
122
- if (parts.length === 3) {
123
- const layout = this._dateFormatLayout.layout;
124
- const year = parseInt(parts[layout.findIndex((f) => f.token === "y")]);
125
- const month = parseInt(parts[layout.findIndex((f) => f.token === "m")]) - 1;
126
- const day = parseInt(parts[layout.findIndex((f) => f.token === "d")]);
127
- if (!isNaN(year) && !isNaN(month) && !isNaN(day)) {
128
- pastedDate = /* @__PURE__ */ new Date(`${year}-${month + 1}-${day}`);
129
- }
119
+ let pastedDate = /* @__PURE__ */ new Date("-");
120
+ const invalid = "Invalid Date";
121
+ const parts = pasted.split(this._dateFormatLayout.delimiter);
122
+ if (parts.length === 3) {
123
+ const layout = this._dateFormatLayout.layout;
124
+ const year = parseInt(parts[layout.findIndex((f) => f.token === "y")]);
125
+ const month = parseInt(parts[layout.findIndex((f) => f.token === "m")]) - 1;
126
+ const day = parseInt(parts[layout.findIndex((f) => f.token === "d")]);
127
+ if (!isNaN(year) && !isNaN(month) && !isNaN(day)) {
128
+ pastedDate = /* @__PURE__ */ new Date(`${year}-${month + 1}-${day}`);
130
129
  }
131
- if (pastedDate.toString() === "Invalid Date")
130
+ }
131
+ if (pastedDate.toString() === invalid) {
132
+ pastedDate = new Date(pasted);
133
+ if (pastedDate.toString() === invalid) {
132
134
  return;
135
+ }
133
136
  }
134
137
  this.value = pastedDate;
135
138
  __privateMethod(this, _dispatchChangeEvent, dispatchChangeEvent_fn).call(this);
@@ -413,7 +416,8 @@ var GdsDatepicker = class extends GdsFormControlElement {
413
416
  <gds-button
414
417
  rank="tertiary"
415
418
  size="small"
416
- @click=${() => {
419
+ @click=${(e) => {
420
+ e.stopPropagation();
417
421
  this.value = void 0;
418
422
  this.open = false;
419
423
  __privateMethod(this, _dispatchChangeEvent, dispatchChangeEvent_fn).call(this);
@@ -425,7 +429,8 @@ var GdsDatepicker = class extends GdsFormControlElement {
425
429
  <gds-button
426
430
  rank="tertiary"
427
431
  size="small"
428
- @click=${() => {
432
+ @click=${(e) => {
433
+ e.stopPropagation();
429
434
  __privateMethod(this, _focusDate, focusDate_fn).call(this, /* @__PURE__ */ new Date());
430
435
  }}
431
436
  >
@@ -466,10 +471,16 @@ renderBackToValidRangeButton_fn = async function() {
466
471
  let buttonAction;
467
472
  if (focusedDate && focusedDate > this.max) {
468
473
  buttonTxt = msg("Last available date");
469
- buttonAction = () => __privateMethod(this, _focusDate, focusDate_fn).call(this, this.max);
474
+ buttonAction = (e) => {
475
+ e.stopPropagation();
476
+ __privateMethod(this, _focusDate, focusDate_fn).call(this, this.max);
477
+ };
470
478
  } else if (focusedDate && focusedDate < this.min) {
471
479
  buttonTxt = msg("First available date");
472
- buttonAction = () => __privateMethod(this, _focusDate, focusDate_fn).call(this, this.min);
480
+ buttonAction = (e) => {
481
+ e.stopPropagation();
482
+ __privateMethod(this, _focusDate, focusDate_fn).call(this, this.min);
483
+ };
473
484
  }
474
485
  return html`${when(
475
486
  buttonTxt.length > 0,
@@ -481,8 +492,8 @@ renderBackToValidRangeButton_fn = async function() {
481
492
  };
482
493
  _focusDate = new WeakSet();
483
494
  focusDate_fn = function(d) {
484
- const firstValidDate = new Date(d);
485
- this._elCalendar.then((el) => el.focusedDate = firstValidDate).then(__privateGet(this, _handleCalendarFocusChange));
495
+ const focusDate = new Date(d);
496
+ this._elCalendar.then((el) => el.focusedDate = focusDate).then(__privateGet(this, _handleCalendarFocusChange));
486
497
  };
487
498
  _getSpinnerLabel = new WeakSet();
488
499
  getSpinnerLabel_fn = function(name) {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  TransitionalStyles
3
- } from "./chunk.ERRPHNRC.js";
3
+ } from "./chunk.K3GEZRU5.js";
4
4
  import {
5
5
  GdsElement
6
6
  } from "./chunk.ZQ4D5K7J.js";
@@ -1,7 +1,7 @@
1
1
  // libs/core/src/utils/helpers/custom-element-scoping.ts
2
2
  import { html as litHtml } from "lit";
3
3
  import { customElement } from "lit/decorators.js";
4
- var VER_SUFFIX = "-10d718";
4
+ var VER_SUFFIX = "-97b29f";
5
5
  var elementLookupTable = /* @__PURE__ */ new Map();
6
6
  var gdsCustomElement = (tagName) => {
7
7
  if (globalThis.GDS_DISABLE_VERSIONED_ELEMENTS) {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  tokens
3
- } from "./chunk.PFAU5MJG.js";
3
+ } from "./chunk.Q7575PYR.js";
4
4
  import {
5
5
  gdsCustomElement
6
6
  } from "./chunk.VOYMQ322.js";
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  GdsSegment
3
- } from "./chunk.X2VQYOI4.js";
3
+ } from "./chunk.F4SNZJRS.js";
4
4
  import {
5
5
  resizeObserver
6
6
  } from "./chunk.VHN4JEZC.js";
7
7
  import {
8
8
  tokens
9
- } from "./chunk.PFAU5MJG.js";
9
+ } from "./chunk.Q7575PYR.js";
10
10
  import {
11
11
  TransitionalStyles
12
- } from "./chunk.ERRPHNRC.js";
12
+ } from "./chunk.K3GEZRU5.js";
13
13
  import {
14
14
  GdsElement
15
15
  } from "./chunk.ZQ4D5K7J.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  TransitionalStyles
3
- } from "./chunk.ERRPHNRC.js";
3
+ } from "./chunk.K3GEZRU5.js";
4
4
  import {
5
5
  GdsElement
6
6
  } from "./chunk.ZQ4D5K7J.js";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  GdsButton
3
- } from "../../chunks/chunk.KQ7KXFPT.js";
3
+ } from "../../chunks/chunk.GFXPSAGQ.js";
4
4
  import "../../chunks/chunk.TX64TTBN.js";
5
- import "../../chunks/chunk.KMVEBCWE.js";
6
- import "../../chunks/chunk.PFAU5MJG.js";
5
+ import "../../chunks/chunk.Y73KCVPN.js";
6
+ import "../../chunks/chunk.Q7575PYR.js";
7
7
  import "../../chunks/chunk.MZSK66DN.js";
8
8
  import "../../chunks/chunk.KBYQYDL3.js";
9
- import "../../chunks/chunk.ERRPHNRC.js";
9
+ import "../../chunks/chunk.K3GEZRU5.js";
10
10
  import "../../chunks/chunk.WM7HBMMV.js";
11
11
  import "../../chunks/chunk.ZQ4D5K7J.js";
12
12
  import "../../chunks/chunk.W7CV3QYI.js";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  button_trans_styles_default,
3
3
  register
4
- } from "../../chunks/chunk.ERRPHNRC.js";
4
+ } from "../../chunks/chunk.K3GEZRU5.js";
5
5
  import "../../chunks/chunk.W7CV3QYI.js";
6
6
  import "../../chunks/chunk.VOYMQ322.js";
7
7
  import "../../chunks/chunk.5VURDMKE.js";
@@ -1,13 +1,13 @@
1
1
  import "../../chunks/chunk.JGTSJ4J6.js";
2
2
  import {
3
3
  GdsButton
4
- } from "../../chunks/chunk.KQ7KXFPT.js";
4
+ } from "../../chunks/chunk.GFXPSAGQ.js";
5
5
  import "../../chunks/chunk.TX64TTBN.js";
6
- import "../../chunks/chunk.KMVEBCWE.js";
7
- import "../../chunks/chunk.PFAU5MJG.js";
6
+ import "../../chunks/chunk.Y73KCVPN.js";
7
+ import "../../chunks/chunk.Q7575PYR.js";
8
8
  import "../../chunks/chunk.MZSK66DN.js";
9
9
  import "../../chunks/chunk.KBYQYDL3.js";
10
- import "../../chunks/chunk.ERRPHNRC.js";
10
+ import "../../chunks/chunk.K3GEZRU5.js";
11
11
  import "../../chunks/chunk.WM7HBMMV.js";
12
12
  import "../../chunks/chunk.ZQ4D5K7J.js";
13
13
  import "../../chunks/chunk.W7CV3QYI.js";
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  GdsContextMenu
3
- } from "../../chunks/chunk.SBLVBDYS.js";
3
+ } from "../../chunks/chunk.QD3OLQ7I.js";
4
4
  import "../../chunks/chunk.UF6IEONX.js";
5
- import "../../chunks/chunk.3J7NBKCM.js";
6
- import "../../chunks/chunk.Z7XFIUQM.js";
5
+ import "../../chunks/chunk.CPCAGCFR.js";
6
+ import "../../chunks/chunk.JX4Q5BTZ.js";
7
7
  import "../../chunks/chunk.7TCXY7BP.js";
8
8
  import "../../chunks/chunk.2X23R32H.js";
9
9
  import "../../chunks/chunk.2ND5EWHE.js";
10
10
  import "../../chunks/chunk.4HJGQCBX.js";
11
- import "../../chunks/chunk.4FZLD4GF.js";
11
+ import "../../chunks/chunk.GIM3T2GL.js";
12
12
  import "../../chunks/chunk.3BCIYHO6.js";
13
13
  import "../../chunks/chunk.M5FNUZ66.js";
14
14
  import "../../chunks/chunk.L7I7KHQL.js";
15
15
  import "../../chunks/chunk.KBYQYDL3.js";
16
- import "../../chunks/chunk.ERRPHNRC.js";
16
+ import "../../chunks/chunk.K3GEZRU5.js";
17
17
  import "../../chunks/chunk.WM7HBMMV.js";
18
18
  import "../../chunks/chunk.ZQ4D5K7J.js";
19
19
  import "../../chunks/chunk.W7CV3QYI.js";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  context_menu_trans_styles_default,
3
3
  register4 as register
4
- } from "../../chunks/chunk.ERRPHNRC.js";
4
+ } from "../../chunks/chunk.K3GEZRU5.js";
5
5
  import "../../chunks/chunk.W7CV3QYI.js";
6
6
  import "../../chunks/chunk.VOYMQ322.js";
7
7
  import "../../chunks/chunk.5VURDMKE.js";
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  GdsContextMenu
3
- } from "../../chunks/chunk.SBLVBDYS.js";
3
+ } from "../../chunks/chunk.QD3OLQ7I.js";
4
4
  import "../../chunks/chunk.UF6IEONX.js";
5
- import "../../chunks/chunk.3J7NBKCM.js";
5
+ import "../../chunks/chunk.CPCAGCFR.js";
6
6
  import {
7
7
  GdsMenuItem
8
- } from "../../chunks/chunk.Z7XFIUQM.js";
8
+ } from "../../chunks/chunk.JX4Q5BTZ.js";
9
9
  import "../../chunks/chunk.7TCXY7BP.js";
10
10
  import {
11
11
  GdsMenuHeading
12
- } from "../../chunks/chunk.SKRG4C7O.js";
12
+ } from "../../chunks/chunk.ZX42RSEL.js";
13
13
  import "../../chunks/chunk.2X23R32H.js";
14
14
  import "../../chunks/chunk.2ND5EWHE.js";
15
15
  import "../../chunks/chunk.4HJGQCBX.js";
16
- import "../../chunks/chunk.4FZLD4GF.js";
16
+ import "../../chunks/chunk.GIM3T2GL.js";
17
17
  import "../../chunks/chunk.3BCIYHO6.js";
18
18
  import "../../chunks/chunk.M5FNUZ66.js";
19
19
  import "../../chunks/chunk.L7I7KHQL.js";
20
20
  import "../../chunks/chunk.KBYQYDL3.js";
21
- import "../../chunks/chunk.ERRPHNRC.js";
21
+ import "../../chunks/chunk.K3GEZRU5.js";
22
22
  import "../../chunks/chunk.WM7HBMMV.js";
23
23
  import "../../chunks/chunk.ZQ4D5K7J.js";
24
24
  import "../../chunks/chunk.W7CV3QYI.js";