@sebgroup/green-core 1.65.2 → 1.66.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 (181) hide show
  1. package/chunks/{chunk.MNBT4BBM.js → chunk.2OB745JA.js} +17 -16
  2. package/chunks/{chunk.QQZ6OU7Y.js → chunk.3H5ICQVZ.js} +7 -43
  3. package/chunks/{chunk.HLECFPM7.js → chunk.3ONXWPQW.js} +2 -2
  4. package/chunks/{chunk.NXCMDWVV.js → chunk.5UF3G7BV.js} +13 -31
  5. package/chunks/{chunk.ZJAOT2TY.js → chunk.6IPE43TE.js} +13 -9
  6. package/chunks/chunk.76QWARGM.js +48 -0
  7. package/chunks/{chunk.3HYF3OQJ.js → chunk.ANVDAFT6.js} +1 -1
  8. package/chunks/{chunk.6AXAS42G.js → chunk.AOL7I7LG.js} +1 -1
  9. package/chunks/{chunk.5KH5FC7L.js → chunk.B3QCLV6X.js} +27 -18
  10. package/chunks/{chunk.33KNAKAX.js → chunk.BCTJIMKU.js} +1 -1
  11. package/chunks/chunk.C6D7M75U.js +189 -0
  12. package/chunks/{chunk.WXLGEKTJ.js → chunk.C7QZFHHI.js} +2 -2
  13. package/chunks/{chunk.ZRVWDJF3.js → chunk.D7OG6JDU.js} +19 -39
  14. package/chunks/{chunk.I26S7X2I.js → chunk.ESW6XPZT.js} +1 -1
  15. package/chunks/{chunk.IVF6XCAV.js → chunk.FHNILNLX.js} +33 -22
  16. package/chunks/chunk.G2WTHFPE.js +136 -0
  17. package/chunks/{chunk.ERDZD4ZA.js → chunk.GB5SVW2I.js} +18 -42
  18. package/chunks/{chunk.72P5ER45.js → chunk.JKCCH7B5.js} +2 -2
  19. package/chunks/{chunk.RZC5YKY2.js → chunk.KHEFX7ET.js} +1 -1
  20. package/chunks/{chunk.S6H4MUKG.js → chunk.LNQWCKU7.js} +39 -1
  21. package/chunks/chunk.M5C2HLKD.js +0 -0
  22. package/chunks/{chunk.TMGAZY2U.js → chunk.MHE47HSD.js} +3 -8
  23. package/chunks/{chunk.K4KPKUH4.js → chunk.NUUST5OZ.js} +5 -5
  24. package/chunks/{chunk.FQ5S3SPL.js → chunk.O5MF3AWQ.js} +39 -28
  25. package/chunks/{chunk.7RH4YLXP.js → chunk.OGQ5SET4.js} +1 -1
  26. package/chunks/{chunk.E2DI7SCS.js → chunk.OPSLMB6U.js} +3 -3
  27. package/chunks/{chunk.IDLO4SF7.js → chunk.OXIKAUCN.js} +3 -4
  28. package/chunks/{chunk.WVIONKU4.js → chunk.PVDNSDQ5.js} +1 -1
  29. package/chunks/{chunk.AOTGGABX.js → chunk.PZHMIVFF.js} +10 -3
  30. package/chunks/chunk.QK3R23GV.js +1 -1
  31. package/chunks/{chunk.JIYNFF4D.js → chunk.QL3SRQMU.js} +5 -20
  32. package/chunks/{chunk.N5YJ6GYI.js → chunk.RW5RXCBK.js} +10 -3
  33. package/chunks/{chunk.RWKRHNWT.js → chunk.SHOSMOYU.js} +1 -1
  34. package/chunks/{chunk.BJYILCTQ.js → chunk.SPON3Z5D.js} +1 -1
  35. package/chunks/{chunk.N7UBPAKJ.js → chunk.SVOA74C3.js} +5 -4
  36. package/chunks/{chunk.3YLD22MP.js → chunk.TF6J2JQN.js} +11 -2
  37. package/chunks/{chunk.NXUVLTO7.js → chunk.UBXNWORG.js} +25 -14
  38. package/chunks/chunk.UGHZGD2M.js +38 -0
  39. package/chunks/{chunk.UQ24RS46.js → chunk.VQ7OJPCU.js} +8 -2
  40. package/chunks/{chunk.L2TDNB6Z.js → chunk.WBBCGR25.js} +6 -6
  41. package/chunks/{chunk.M3LCBAMM.js → chunk.WSOQAUSR.js} +23 -12
  42. package/chunks/{chunk.7M5L527M.js → chunk.WXOLDCJC.js} +10 -3
  43. package/chunks/{chunk.QOMPMV5S.js → chunk.XER65FVD.js} +9 -2
  44. package/chunks/chunk.XHVRV33B.js +20 -0
  45. package/chunks/{chunk.6J4YIHNE.js → chunk.ZCIBIPPR.js} +1 -1
  46. package/chunks/{chunk.D7J47HUV.js → chunk.ZHRMYWJY.js} +5 -18
  47. package/components/badge/badge.d.ts +3 -1
  48. package/components/badge/badge.js +9 -7
  49. package/components/badge/index.js +9 -7
  50. package/components/button/button.d.ts +16 -12
  51. package/components/button/button.js +8 -5
  52. package/components/button/button.trans.styles.js +2 -2
  53. package/components/button/index.js +8 -5
  54. package/components/calendar/calendar.js +4 -4
  55. package/components/calendar/calendar.trans.styles.js +2 -2
  56. package/components/calendar/index.js +4 -4
  57. package/components/card/card.d.ts +6 -5
  58. package/components/card/card.js +7 -5
  59. package/components/card/index.js +7 -5
  60. package/components/container/container.d.ts +3 -392
  61. package/components/container/container.js +8 -3
  62. package/components/container/index.js +8 -3
  63. package/components/context-menu/context-menu.d.ts +3 -1
  64. package/components/context-menu/context-menu.js +10 -7
  65. package/components/context-menu/context-menu.trans.styles.js +2 -2
  66. package/components/context-menu/index.js +11 -8
  67. package/components/datepicker/datepicker.d.ts +19 -15
  68. package/components/datepicker/datepicker.js +26 -24
  69. package/components/datepicker/datepicker.trans.styles.js +2 -2
  70. package/components/datepicker/index.js +26 -24
  71. package/components/dialog/dialog.js +13 -11
  72. package/components/dialog/index.js +13 -11
  73. package/components/div/div.d.ts +173 -0
  74. package/components/div/div.js +15 -0
  75. package/components/div/index.d.ts +1 -0
  76. package/components/div/index.js +16 -0
  77. package/components/divider/divider.d.ts +10 -8
  78. package/components/divider/divider.js +4 -3
  79. package/components/divider/index.js +4 -3
  80. package/components/dropdown/dropdown.js +20 -18
  81. package/components/dropdown/dropdown.trans.styles.js +2 -2
  82. package/components/dropdown/index.js +21 -19
  83. package/components/fab/fab.d.ts +3 -17
  84. package/components/fab/fab.js +9 -7
  85. package/components/fab/index.js +9 -7
  86. package/components/filter-chips/filter-chip/filter-chip.js +9 -6
  87. package/components/filter-chips/filter-chip/filter-chip.trans.styles.js +2 -2
  88. package/components/filter-chips/filter-chip/index.js +9 -6
  89. package/components/filter-chips/filter-chips.js +9 -6
  90. package/components/filter-chips/filter-chips.trans.styles.js +2 -2
  91. package/components/filter-chips/index.js +9 -6
  92. package/components/flex/flex.d.ts +3 -76
  93. package/components/flex/flex.js +7 -5
  94. package/components/flex/index.js +7 -5
  95. package/components/form/index.js +12 -8
  96. package/components/form/summary/index.js +12 -8
  97. package/components/form/summary/summary.js +12 -8
  98. package/components/grid/grid.d.ts +5 -6
  99. package/components/grid/grid.js +7 -5
  100. package/components/grid/index.js +7 -5
  101. package/components/grouped-list/grouped-list.js +4 -4
  102. package/components/grouped-list/grouped-list.trans.styles.js +2 -2
  103. package/components/grouped-list/index.js +4 -4
  104. package/components/icon/icons/index.js +132 -132
  105. package/components/img/img.d.ts +17 -77
  106. package/components/img/img.js +5 -3
  107. package/components/img/index.js +5 -3
  108. package/components/index.js +63 -59
  109. package/components/input/index.js +17 -15
  110. package/components/input/input.d.ts +19 -15
  111. package/components/input/input.js +17 -15
  112. package/components/input/input.trans.styles.js +2 -2
  113. package/components/link/index.js +6 -4
  114. package/components/link/link.d.ts +3 -1
  115. package/components/link/link.js +6 -4
  116. package/components/mask/index.js +8 -6
  117. package/components/mask/mask.d.ts +1 -0
  118. package/components/mask/mask.js +8 -6
  119. package/components/menu-button/index.js +6 -3
  120. package/components/menu-button/menu-button.d.ts +3 -1
  121. package/components/menu-button/menu-button.js +6 -3
  122. package/components/popover/index.js +6 -6
  123. package/components/popover/popover.js +4 -4
  124. package/components/popover/popover.trans.styles.js +2 -2
  125. package/components/rich-text/index.js +6 -3
  126. package/components/rich-text/rich-text.d.ts +3 -1
  127. package/components/rich-text/rich-text.js +6 -3
  128. package/components/segmented-control/index.js +9 -7
  129. package/components/segmented-control/segment/index.js +7 -5
  130. package/components/segmented-control/segment/segment.d.ts +3 -13
  131. package/components/segmented-control/segment/segment.js +7 -5
  132. package/components/segmented-control/segment/segment.trans.styles.js +2 -2
  133. package/components/segmented-control/segmented-control.d.ts +3 -1
  134. package/components/segmented-control/segmented-control.js +9 -7
  135. package/components/segmented-control/segmented-control.trans.styles.js +2 -2
  136. package/components/select/index.js +17 -15
  137. package/components/select/select.d.ts +31 -27
  138. package/components/select/select.js +17 -15
  139. package/components/select/select.trans.styles.js +2 -2
  140. package/components/signal/index.js +3 -3
  141. package/components/signal/signal.js +3 -3
  142. package/components/spacer/index.js +3 -3
  143. package/components/spacer/spacer.d.ts +3 -0
  144. package/components/spacer/spacer.js +3 -3
  145. package/components/text/index.js +7 -5
  146. package/components/text/text.d.ts +9 -87
  147. package/components/text/text.js +7 -5
  148. package/components/textarea/index.js +17 -15
  149. package/components/textarea/textarea.d.ts +19 -15
  150. package/components/textarea/textarea.js +17 -15
  151. package/components/theme/index.js +4 -4
  152. package/components/theme/theme.js +4 -4
  153. package/components/theme/theme.trans.styles.js +2 -2
  154. package/components/video/index.js +5 -3
  155. package/components/video/video.d.ts +5 -31
  156. package/components/video/video.js +5 -3
  157. package/index.js +63 -59
  158. package/package.json +1 -1
  159. package/primitives/field-base/field-base.js +4 -4
  160. package/primitives/field-base/index.js +4 -4
  161. package/primitives/form-control-footer/form-control-footer.js +9 -7
  162. package/primitives/form-control-footer/index.js +9 -7
  163. package/primitives/form-control-header/form-control-header.js +11 -9
  164. package/primitives/form-control-header/index.js +11 -9
  165. package/primitives/listbox/index.js +5 -5
  166. package/primitives/listbox/listbox.js +5 -5
  167. package/primitives/listbox/option.js +4 -4
  168. package/primitives/menu/index.js +5 -5
  169. package/primitives/menu/menu-heading.js +4 -4
  170. package/primitives/menu/menu-item.js +4 -4
  171. package/primitives/menu/menu.js +5 -5
  172. package/primitives/ripple/index.js +3 -3
  173. package/primitives/ripple/ripple.js +3 -3
  174. package/transitional-styles.js +2 -2
  175. package/utils/helpers/index.d.ts +1 -0
  176. package/utils/helpers/style-expression-helpers.d.ts +33 -0
  177. package/utils/mixins/declarative-layout-mixins.d.ts +69 -0
  178. package/utils/mixins/mixin-builder.d.ts +24 -0
  179. package/chunks/chunk.5SFGYE7C.js +0 -106
  180. package/chunks/chunk.N4DG6Q7H.js +0 -381
  181. /package/components/{container/container.style.d.ts → div/div.style.d.ts} +0 -0
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  tokens
3
- } from "./chunk.L2TDNB6Z.js";
3
+ } from "./chunk.WBBCGR25.js";
4
4
  import {
5
5
  VER_SUFFIX
6
6
  } from "./chunk.QK3R23GV.js";
@@ -1213,6 +1213,44 @@ Values for light mode are used by default.
1213
1213
  --gds-sys-color-font: var(--gds-ref-pallet-base800);
1214
1214
  --gds-sys-color-base-container: var(--gds-ref-pallet-base500);
1215
1215
  --gds-sys-color-focus-outline: var(--gds-ref-pallet-base1000);
1216
+ --gds-sys-color-blue: #41b0ee;
1217
+ --gds-sys-color-dark-blue-1: #41b0ee;
1218
+ --gds-sys-color-dark-blue-2: #007ac7;
1219
+ --gds-sys-color-green: #60cd18;
1220
+ --gds-sys-color-dark-green-1: #45b400;
1221
+ --gds-sys-color-dark-green-2: #308800;
1222
+ --gds-sys-color-yellow: #ffc500;
1223
+ --gds-sys-color-dark-yellow-1: #ffb400;
1224
+ --gds-sys-color-dark-yellow-2: #f8a000;
1225
+ --gds-sys-color-text-primary: #333333;
1226
+ --gds-sys-color-text-secondary: #ababab;
1227
+ --gds-sys-color-text-white: #ffffff;
1228
+ --gds-sys-color-text-black: #333333;
1229
+ --gds-sys-color-text-inverted: #ffffff;
1230
+ --gds-sys-color-text-link: #0062bc;
1231
+ --gds-sys-color-text-error: #9f000a;
1232
+ --gds-sys-color-text-disabled: #adadad;
1233
+ --gds-sys-color-red: #f03529;
1234
+ --gds-sys-color-dark-red-1: #d81a1a;
1235
+ --gds-sys-color-dark-red-2: #bb000c;
1236
+ --gds-sys-color-purple: #673ab6;
1237
+ --gds-sys-color-dark-purple-1: #4f2c99;
1238
+ --gds-sys-color-dark-purple-2: #3f2587;
1239
+ --gds-sys-color-white: #ffffff;
1240
+ --gds-sys-color-black: #000000;
1241
+ --gds-sys-color-background-primary: #ffffff;
1242
+ --gds-sys-color-background-secondary: #eeeeee;
1243
+ --gds-sys-color-base-100: #f8f8f8;
1244
+ --gds-sys-color-base-200: #e9e9e9;
1245
+ --gds-sys-color-base-300: #dedede;
1246
+ --gds-sys-color-base-400: #cecece;
1247
+ --gds-sys-color-base-500: #adadad;
1248
+ --gds-sys-color-base-600: #868686;
1249
+ --gds-sys-color-base-700: #494949;
1250
+ --gds-sys-color-base-800: #333333;
1251
+ --gds-sys-color-base-900: #1a1a1a;
1252
+ --gds-sys-color-hover-10: rgba(255, 255, 255, 0.1);
1253
+ --gds-sys-color-hover-20: rgba(255, 255, 255, 0.2);
1216
1254
  --gds-comp-checkbox-container-height: 1rem;
1217
1255
  --gds-comp-checkbox-container-width: 1rem;
1218
1256
  --gds-comp-checkbox-container-color: var(--gds-sys-color-surface);
File without changes
@@ -188,7 +188,7 @@ var GdsDialog = class extends GdsElement {
188
188
  >
189
189
  <gds-flex
190
190
  justify-content="space-between"
191
- border="0 0 4xs/primary 0"
191
+ border-width="0 0 4xs 0"
192
192
  margin="0 -s"
193
193
  padding="0 s s"
194
194
  background-color="secondary"
@@ -203,14 +203,9 @@ var GdsDialog = class extends GdsElement {
203
203
  ><gds-icon-cross-large></gds-icon-cross-large
204
204
  ></gds-button>
205
205
  </gds-flex>
206
- <gds-container
207
- id="content"
208
- padding="m 0"
209
- overflow="auto"
210
- flex="1"
211
- >
206
+ <gds-div id="content" padding="m 0" overflow="auto" flex="1">
212
207
  <slot></slot>
213
- </gds-container>
208
+ </gds-div>
214
209
  <gds-flex
215
210
  class="footer"
216
211
  justify-content="center"
@@ -125,12 +125,12 @@ function toCss(selector, property2, tree, valueTemplate = (v) => v, styleTemplat
125
125
  var styleCache = /* @__PURE__ */ new Map();
126
126
  function styleExpressionProperty(options) {
127
127
  return (proto, descriptor) => {
128
- var _a, _b, _c, _d;
128
+ var _a, _b, _c;
129
129
  const sel = (_a = options == null ? void 0 : options.selector) != null ? _a : String(":host");
130
130
  const prop = (_b = options == null ? void 0 : options.property) != null ? _b : String(descriptor);
131
- const valueTemplate = (_c = options == null ? void 0 : options.valueTemplate) != null ? _c : (v) => `var(--gds-space-${v}, 0)`;
131
+ const valueTemplate = options == null ? void 0 : options.valueTemplate;
132
132
  const styleTemplate = options == null ? void 0 : options.styleTemplate;
133
- const cacheKey = (_d = options == null ? void 0 : options.cacheOverrideKey) != null ? _d : `0`;
133
+ const cacheKey = (_c = options == null ? void 0 : options.cacheOverrideKey) != null ? _c : `0`;
134
134
  property({ attribute: options == null ? void 0 : options.attribute, noAccessor: true })(
135
135
  proto,
136
136
  descriptor
@@ -144,7 +144,7 @@ function styleExpressionProperty(options) {
144
144
  if (!newValue)
145
145
  return;
146
146
  this["__" + String(descriptor)] = newValue;
147
- await this.updateComplete;
147
+ await this.firstUpdated();
148
148
  const lvl = (_a2 = this.level) != null ? _a2 : "0";
149
149
  const styleKey = sel + prop + newValue + lvl + cacheKey;
150
150
  if (styleCache.has(styleKey)) {
@@ -160,7 +160,7 @@ function styleExpressionProperty(options) {
160
160
  sel,
161
161
  prop,
162
162
  ast,
163
- valueTemplate.bind(this),
163
+ valueTemplate == null ? void 0 : valueTemplate.bind(this),
164
164
  styleTemplate == null ? void 0 : styleTemplate.bind(this)
165
165
  );
166
166
  const style = unsafeCSS(css);
@@ -5,15 +5,20 @@ import {
5
5
  import {
6
6
  GdsFormControlElement
7
7
  } from "./chunk.VA6TUMR2.js";
8
+ import {
9
+ withLayoutChildProps,
10
+ withMarginProps,
11
+ withSizeXProps
12
+ } from "./chunk.G2WTHFPE.js";
8
13
  import {
9
14
  TransitionalStyles
10
- } from "./chunk.S6H4MUKG.js";
15
+ } from "./chunk.LNQWCKU7.js";
11
16
  import {
12
17
  watch
13
18
  } from "./chunk.TYGMNHNO.js";
14
19
  import {
15
20
  tokens
16
- } from "./chunk.L2TDNB6Z.js";
21
+ } from "./chunk.WBBCGR25.js";
17
22
  import {
18
23
  gdsCustomElement,
19
24
  html
@@ -92,7 +97,7 @@ var styles = css`
92
97
 
93
98
  // libs/core/src/components/datepicker/datepicker.ts
94
99
  var _valueOnOpen, _renderBackToValidRangeButton, renderBackToValidRangeButton_fn, _focusDate, focusDate_fn, _getSpinnerLabel, getSpinnerLabel_fn, _getMinSpinnerValue, getMinSpinnerValue_fn, _getMaxSpinnerValue, getMaxSpinnerValue_fn, _dispatchChangeEvent, dispatchChangeEvent_fn, _dispatchInputEvent, dispatchInputEvent_fn, _handleFieldFocusOut, _handleSpinnerFocus, _handleClipboardCopy, _handleClipboardPaste, _handleFieldClick, _handleCalendarChange, _handleMonthChange, _handleYearChange, _handleIncrementFocusedMonth, _handleDecrementFocusedMonth, _handleCalendarFocusChange, _handlePopoverStateChange, _handleSpinnerKeydown, _parseDateFormat, parseDateFormat_fn, _handleSpinnerChange, _spinnerState, _years, years_get, _isValueOutsideRange, isValueOutsideRange_get;
95
- var GdsDatepicker = class extends GdsFormControlElement {
100
+ var Datepicker = class extends GdsFormControlElement {
96
101
  constructor() {
97
102
  super(...arguments);
98
103
  __privateAdd(this, _renderBackToValidRangeButton);
@@ -713,76 +718,82 @@ isValueOutsideRange_get = function() {
713
718
  return false;
714
719
  return this.value.getFullYear() < this.min.getFullYear() || this.value.getFullYear() > this.max.getFullYear();
715
720
  };
716
- GdsDatepicker.styles = [tokens, styles];
721
+ Datepicker.styles = [tokens, styles];
717
722
  __decorateClass([
718
723
  property({ converter: dateConverter })
719
- ], GdsDatepicker.prototype, "value", 1);
724
+ ], Datepicker.prototype, "value", 1);
720
725
  __decorateClass([
721
726
  property({ converter: dateConverter })
722
- ], GdsDatepicker.prototype, "min", 2);
727
+ ], Datepicker.prototype, "min", 2);
723
728
  __decorateClass([
724
729
  property({ converter: dateConverter })
725
- ], GdsDatepicker.prototype, "max", 2);
730
+ ], Datepicker.prototype, "max", 2);
726
731
  __decorateClass([
727
732
  property({ type: Boolean })
728
- ], GdsDatepicker.prototype, "open", 2);
733
+ ], Datepicker.prototype, "open", 2);
729
734
  __decorateClass([
730
735
  property({ attribute: "supporting-text" })
731
- ], GdsDatepicker.prototype, "supportingText", 2);
736
+ ], Datepicker.prototype, "supportingText", 2);
732
737
  __decorateClass([
733
738
  property({ type: String })
734
- ], GdsDatepicker.prototype, "size", 2);
739
+ ], Datepicker.prototype, "size", 2);
735
740
  __decorateClass([
736
741
  property({ type: Boolean, attribute: "show-week-numbers" })
737
- ], GdsDatepicker.prototype, "showWeekNumbers", 2);
742
+ ], Datepicker.prototype, "showWeekNumbers", 2);
738
743
  __decorateClass([
739
744
  property({ type: Boolean, attribute: "hide-label" })
740
- ], GdsDatepicker.prototype, "hideLabel", 2);
745
+ ], Datepicker.prototype, "hideLabel", 2);
741
746
  __decorateClass([
742
747
  property()
743
- ], GdsDatepicker.prototype, "dateformat", 1);
748
+ ], Datepicker.prototype, "dateformat", 1);
744
749
  __decorateClass([
745
750
  property({ type: Boolean, attribute: "disabled-weekends" })
746
- ], GdsDatepicker.prototype, "disabledWeekends", 2);
751
+ ], Datepicker.prototype, "disabledWeekends", 2);
747
752
  __decorateClass([
748
753
  property({ converter: dateArrayConverter, attribute: "disabled-dates" })
749
- ], GdsDatepicker.prototype, "disabledDates", 2);
754
+ ], Datepicker.prototype, "disabledDates", 2);
750
755
  __decorateClass([
751
756
  queryAsync("#calendar-button")
752
- ], GdsDatepicker.prototype, "test_calendarButton", 2);
757
+ ], Datepicker.prototype, "test_calendarButton", 2);
753
758
  __decorateClass([
754
759
  state()
755
- ], GdsDatepicker.prototype, "_focusedMonth", 2);
760
+ ], Datepicker.prototype, "_focusedMonth", 2);
756
761
  __decorateClass([
757
762
  state()
758
- ], GdsDatepicker.prototype, "_focusedYear", 2);
763
+ ], Datepicker.prototype, "_focusedYear", 2);
759
764
  __decorateClass([
760
765
  state()
761
- ], GdsDatepicker.prototype, "_dateFormatLayout", 2);
766
+ ], Datepicker.prototype, "_dateFormatLayout", 2);
762
767
  __decorateClass([
763
768
  queryAsync("#calendar")
764
- ], GdsDatepicker.prototype, "_elCalendar", 2);
769
+ ], Datepicker.prototype, "_elCalendar", 2);
765
770
  __decorateClass([
766
771
  queryAsync("#calendar-button")
767
- ], GdsDatepicker.prototype, "_elTrigger", 2);
772
+ ], Datepicker.prototype, "_elTrigger", 2);
768
773
  __decorateClass([
769
774
  queryAsync("#field")
770
- ], GdsDatepicker.prototype, "_elFieldAsync", 2);
775
+ ], Datepicker.prototype, "_elFieldAsync", 2);
771
776
  __decorateClass([
772
777
  queryAll("[role=spinbutton]")
773
- ], GdsDatepicker.prototype, "_elSpinners", 2);
778
+ ], Datepicker.prototype, "_elSpinners", 2);
774
779
  __decorateClass([
775
780
  query("#field")
776
- ], GdsDatepicker.prototype, "_elField", 2);
781
+ ], Datepicker.prototype, "_elField", 2);
777
782
  __decorateClass([
778
783
  watch("value")
779
- ], GdsDatepicker.prototype, "_handleValueChange", 1);
784
+ ], Datepicker.prototype, "_handleValueChange", 1);
780
785
  __decorateClass([
781
786
  watch("open")
782
- ], GdsDatepicker.prototype, "_handleOpenChange", 1);
783
- GdsDatepicker = __decorateClass([
784
- gdsCustomElement("gds-datepicker"),
787
+ ], Datepicker.prototype, "_handleOpenChange", 1);
788
+ Datepicker = __decorateClass([
785
789
  localized()
790
+ ], Datepicker);
791
+ var GdsDatepicker = class extends withSizeXProps(
792
+ withMarginProps(withLayoutChildProps(Datepicker))
793
+ ) {
794
+ };
795
+ GdsDatepicker = __decorateClass([
796
+ gdsCustomElement("gds-datepicker")
786
797
  ], GdsDatepicker);
787
798
 
788
799
  export {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  TransitionalStyles
3
- } from "./chunk.S6H4MUKG.js";
3
+ } from "./chunk.LNQWCKU7.js";
4
4
  import {
5
5
  GdsElement
6
6
  } from "./chunk.TMEWQZER.js";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  GdsFlex
3
- } from "./chunk.5SFGYE7C.js";
3
+ } from "./chunk.UGHZGD2M.js";
4
4
  import {
5
5
  styleExpressionProperty
6
- } from "./chunk.K4KPKUH4.js";
6
+ } from "./chunk.NUUST5OZ.js";
7
7
  import {
8
8
  tokens
9
- } from "./chunk.L2TDNB6Z.js";
9
+ } from "./chunk.WBBCGR25.js";
10
10
  import {
11
11
  gdsCustomElement
12
12
  } from "./chunk.QK3R23GV.js";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  styleExpressionProperty
3
- } from "./chunk.K4KPKUH4.js";
3
+ } from "./chunk.NUUST5OZ.js";
4
4
  import {
5
5
  tokens
6
- } from "./chunk.L2TDNB6Z.js";
6
+ } from "./chunk.WBBCGR25.js";
7
7
  import {
8
8
  GdsElement
9
9
  } from "./chunk.TMEWQZER.js";
@@ -18,14 +18,13 @@ import {
18
18
  // libs/core/src/components/spacer/spacer.ts
19
19
  var GdsSpacer = class extends GdsElement {
20
20
  render() {
21
- return html`<div></div>`;
21
+ return html``;
22
22
  }
23
23
  };
24
24
  GdsSpacer.styles = [tokens];
25
25
  __decorateClass([
26
26
  styleExpressionProperty({
27
27
  property: "height",
28
- selector: "div",
29
28
  valueTemplate: (v) => `var(--gds-space-${v})`
30
29
  })
31
30
  ], GdsSpacer.prototype, "size", 2);
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk.E62NOHQC.js";
5
5
  import {
6
6
  TransitionalStyles
7
- } from "./chunk.S6H4MUKG.js";
7
+ } from "./chunk.LNQWCKU7.js";
8
8
  import {
9
9
  GdsElement
10
10
  } from "./chunk.TMEWQZER.js";
@@ -1,6 +1,11 @@
1
+ import {
2
+ withLayoutChildProps,
3
+ withMarginProps,
4
+ withSizeXProps
5
+ } from "./chunk.G2WTHFPE.js";
1
6
  import {
2
7
  tokens
3
- } from "./chunk.L2TDNB6Z.js";
8
+ } from "./chunk.WBBCGR25.js";
4
9
  import {
5
10
  GdsElement
6
11
  } from "./chunk.TMEWQZER.js";
@@ -40,7 +45,9 @@ var badge_style_default = style;
40
45
 
41
46
  // libs/core/src/components/badge/badge.ts
42
47
  var _renderLeadSlot, renderLeadSlot_fn, _renderMainSlot, renderMainSlot_fn, _handleSlotChange, handleSlotChange_fn, _renderTrailSlot, renderTrailSlot_fn;
43
- var GdsBadge = class extends GdsElement {
48
+ var GdsBadge = class extends withSizeXProps(
49
+ withMarginProps(withLayoutChildProps(GdsElement))
50
+ ) {
44
51
  constructor() {
45
52
  super();
46
53
  __privateAdd(this, _renderLeadSlot);
@@ -69,7 +76,7 @@ var GdsBadge = class extends GdsElement {
69
76
  padding-inline="${padding}"
70
77
  border-radius="${this.notification || this.rounded ? "max" : "2xs"}"
71
78
  block-size="${blockSize}"
72
- width="max-content"
79
+ width="100%"
73
80
  font-size="${this.size === "small" || this.notification ? "detail-xs" : "detail-s"}"
74
81
  pointer-events=${this.disabled ? "none" : "auto"}
75
82
  user-select="${this.disabled ? "none" : "auto"}"
@@ -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 = "-6e0f7e";
9
+ var VER_SUFFIX = "-f25474";
10
10
  var ScopedElementRegistry = class {
11
11
  static get instance() {
12
12
  var _a;
@@ -1,9 +1,9 @@
1
- import {
2
- styleExpressionProperty
3
- } from "./chunk.K4KPKUH4.js";
4
1
  import {
5
2
  GdsButton
6
- } from "./chunk.5KH5FC7L.js";
3
+ } from "./chunk.B3QCLV6X.js";
4
+ import {
5
+ withPositioningProps
6
+ } from "./chunk.G2WTHFPE.js";
7
7
  import {
8
8
  gdsCustomElement
9
9
  } from "./chunk.QK3R23GV.js";
@@ -29,27 +29,12 @@ var style = css`
29
29
  var fab_styles_default = style;
30
30
 
31
31
  // libs/core/src/components/fab/fab.ts
32
- var GdsFab = class extends GdsButton {
32
+ var GdsFab = class extends withPositioningProps(GdsButton) {
33
33
  connectedCallback() {
34
34
  super.connectedCallback();
35
35
  this._dynamicStylesController.inject("FAB_styles", fab_styles_default);
36
36
  }
37
37
  };
38
- __decorateClass([
39
- styleExpressionProperty({
40
- valueTemplate: (v) => v
41
- })
42
- ], GdsFab.prototype, "position", 2);
43
- __decorateClass([
44
- styleExpressionProperty({
45
- valueTemplate: (v) => v
46
- })
47
- ], GdsFab.prototype, "transform", 2);
48
- __decorateClass([
49
- styleExpressionProperty({
50
- valueTemplate: (v) => v
51
- })
52
- ], GdsFab.prototype, "inset", 2);
53
38
  GdsFab = __decorateClass([
54
39
  gdsCustomElement("gds-fab")
55
40
  ], GdsFab);
@@ -1,9 +1,14 @@
1
+ import {
2
+ withLayoutChildProps,
3
+ withMarginProps,
4
+ withSizeXProps
5
+ } from "./chunk.G2WTHFPE.js";
1
6
  import {
2
7
  styleExpressionProperty
3
- } from "./chunk.K4KPKUH4.js";
8
+ } from "./chunk.NUUST5OZ.js";
4
9
  import {
5
10
  tokens
6
- } from "./chunk.L2TDNB6Z.js";
11
+ } from "./chunk.WBBCGR25.js";
7
12
  import {
8
13
  GdsElement
9
14
  } from "./chunk.TMEWQZER.js";
@@ -61,7 +66,9 @@ var link_styles_default = style;
61
66
 
62
67
  // libs/core/src/components/link/link.ts
63
68
  var _defaultRel, defaultRel_get;
64
- var GdsLink = class extends GdsElement {
69
+ var GdsLink = class extends withMarginProps(
70
+ withSizeXProps(withLayoutChildProps(GdsElement))
71
+ ) {
65
72
  constructor() {
66
73
  super();
67
74
  __privateAdd(this, _defaultRel);
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  TransitionalStyles
3
- } from "./chunk.S6H4MUKG.js";
3
+ } from "./chunk.LNQWCKU7.js";
4
4
  import {
5
5
  GdsElement
6
6
  } from "./chunk.TMEWQZER.js";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk.WM7HBMMV.js";
4
4
  import {
5
5
  TransitionalStyles
6
- } from "./chunk.S6H4MUKG.js";
6
+ } from "./chunk.LNQWCKU7.js";
7
7
  import {
8
8
  watch
9
9
  } from "./chunk.TYGMNHNO.js";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  TransitionalStyles
3
- } from "./chunk.S6H4MUKG.js";
3
+ } from "./chunk.LNQWCKU7.js";
4
4
  import {
5
5
  watch
6
6
  } from "./chunk.TYGMNHNO.js";
7
7
  import {
8
8
  tokens
9
- } from "./chunk.L2TDNB6Z.js";
9
+ } from "./chunk.WBBCGR25.js";
10
10
  import {
11
11
  GdsElement
12
12
  } from "./chunk.TMEWQZER.js";
@@ -82,7 +82,7 @@ var style = css`
82
82
  border-style: solid;
83
83
  border-color: transparent;
84
84
  border-radius: var(--gds-space-2xs);
85
- transition: all 0.2s;
85
+ transition: background 0.2s;
86
86
  outline-style: solid;
87
87
  outline-color: transparent;
88
88
  outline-width: 0px;
@@ -109,7 +109,8 @@ var style = css`
109
109
  }
110
110
 
111
111
  &:focus-visible {
112
- outline-color: color-mix(in srgb, currentColor, transparent 50%);
112
+ outline-color: var(--gds-color-l2-content-primary);
113
+ outline-width: var(--gds-space-3xs);
113
114
  }
114
115
  }
115
116
 
@@ -1,6 +1,10 @@
1
+ import {
2
+ withLayoutChildProps,
3
+ withMarginProps
4
+ } from "./chunk.G2WTHFPE.js";
1
5
  import {
2
6
  TransitionalStyles
3
- } from "./chunk.S6H4MUKG.js";
7
+ } from "./chunk.LNQWCKU7.js";
4
8
  import {
5
9
  GdsElement
6
10
  } from "./chunk.TMEWQZER.js";
@@ -25,6 +29,9 @@ import { css } from "lit";
25
29
  var style = css`
26
30
  @layer base, reset, transitional-styles;
27
31
  @layer base {
32
+ :host {
33
+ display: inline-block;
34
+ }
28
35
  button {
29
36
  display: flex;
30
37
  border-width: 0;
@@ -46,7 +53,9 @@ var context_menu_styles_default = style;
46
53
 
47
54
  // libs/core/src/components/context-menu/context-menu.ts
48
55
  var _handleItemClick, handleItemClick_fn;
49
- var GdsContextMenu = class extends GdsElement {
56
+ var GdsContextMenu = class extends withMarginProps(
57
+ withLayoutChildProps(GdsElement)
58
+ ) {
50
59
  constructor() {
51
60
  super();
52
61
  __privateAdd(this, _handleItemClick);
@@ -1,12 +1,17 @@
1
1
  import {
2
2
  forwardAttributes
3
- } from "./chunk.5KH5FC7L.js";
3
+ } from "./chunk.B3QCLV6X.js";
4
4
  import {
5
5
  GdsFormControlElement
6
6
  } from "./chunk.VA6TUMR2.js";
7
+ import {
8
+ withLayoutChildProps,
9
+ withMarginProps,
10
+ withSizeXProps
11
+ } from "./chunk.G2WTHFPE.js";
7
12
  import {
8
13
  tokens
9
- } from "./chunk.L2TDNB6Z.js";
14
+ } from "./chunk.WBBCGR25.js";
10
15
  import {
11
16
  gdsCustomElement,
12
17
  html
@@ -90,7 +95,7 @@ var styles = css`
90
95
 
91
96
  // libs/core/src/components/input/input.ts
92
97
  var _renderDefault, renderDefault_fn, _renderFloatingLabel, renderFloatingLabel_fn, _forwardableAttrs, _handleOnInput, _handleOnChange, _handleFieldClick, _handleClearBtnClick, _renderFieldContents, renderFieldContents_fn, _renderSlotLead, renderSlotLead_fn, _renderSlotTrail, renderSlotTrail_fn, _renderNativeInput, renderNativeInput_fn, _renderClearButton, renderClearButton_fn, _shouldShowRemainingChars, shouldShowRemainingChars_get;
93
- var GdsInput = class extends GdsFormControlElement {
98
+ var Input = class extends GdsFormControlElement {
94
99
  constructor() {
95
100
  super();
96
101
  __privateAdd(this, _renderDefault);
@@ -267,38 +272,44 @@ _shouldShowRemainingChars = new WeakSet();
267
272
  shouldShowRemainingChars_get = function() {
268
273
  return this.maxlength < Number.MAX_SAFE_INTEGER;
269
274
  };
270
- GdsInput.styles = [tokens, styles];
275
+ Input.styles = [tokens, styles];
271
276
  __decorateClass([
272
277
  property({ attribute: "supporting-text" })
273
- ], GdsInput.prototype, "supportingText", 2);
278
+ ], Input.prototype, "supportingText", 2);
274
279
  __decorateClass([
275
280
  property({
276
281
  attribute: "show-extended-supporting-text",
277
282
  type: Boolean,
278
283
  reflect: true
279
284
  })
280
- ], GdsInput.prototype, "showExtendedSupportingText", 2);
285
+ ], Input.prototype, "showExtendedSupportingText", 2);
281
286
  __decorateClass([
282
287
  property({ type: Boolean })
283
- ], GdsInput.prototype, "clearable", 2);
288
+ ], Input.prototype, "clearable", 2);
284
289
  __decorateClass([
285
290
  property({ type: Number })
286
- ], GdsInput.prototype, "maxlength", 2);
291
+ ], Input.prototype, "maxlength", 2);
287
292
  __decorateClass([
288
293
  property({ type: String })
289
- ], GdsInput.prototype, "variant", 2);
294
+ ], Input.prototype, "variant", 2);
290
295
  __decorateClass([
291
296
  property({ type: String })
292
- ], GdsInput.prototype, "size", 2);
297
+ ], Input.prototype, "size", 2);
293
298
  __decorateClass([
294
299
  queryAsync("input")
295
- ], GdsInput.prototype, "elInputAsync", 2);
300
+ ], Input.prototype, "elInputAsync", 2);
296
301
  __decorateClass([
297
302
  query("input")
298
- ], GdsInput.prototype, "elInput", 2);
299
- GdsInput = __decorateClass([
300
- gdsCustomElement("gds-input"),
303
+ ], Input.prototype, "elInput", 2);
304
+ Input = __decorateClass([
301
305
  localized()
306
+ ], Input);
307
+ var GdsInput = class extends withSizeXProps(
308
+ withMarginProps(withLayoutChildProps(Input))
309
+ ) {
310
+ };
311
+ GdsInput = __decorateClass([
312
+ gdsCustomElement("gds-input")
302
313
  ], GdsInput);
303
314
 
304
315
  export {
@@ -0,0 +1,38 @@
1
+ import {
2
+ GdsDiv
3
+ } from "./chunk.C6D7M75U.js";
4
+ import {
5
+ tokens
6
+ } from "./chunk.WBBCGR25.js";
7
+ import {
8
+ gdsCustomElement,
9
+ html
10
+ } from "./chunk.QK3R23GV.js";
11
+ import {
12
+ __decorateClass
13
+ } from "./chunk.SEHSDSX2.js";
14
+
15
+ // libs/core/src/components/flex/flex.styles.ts
16
+ import { css } from "lit";
17
+ var style = css`
18
+ :host {
19
+ display: flex;
20
+ box-sizing: border-box;
21
+ }
22
+ `;
23
+ var flex_styles_default = style;
24
+
25
+ // libs/core/src/components/flex/flex.ts
26
+ var GdsFlex = class extends GdsDiv {
27
+ render() {
28
+ return html`<slot></slot>`;
29
+ }
30
+ };
31
+ GdsFlex.styles = [tokens, flex_styles_default];
32
+ GdsFlex = __decorateClass([
33
+ gdsCustomElement("gds-flex")
34
+ ], GdsFlex);
35
+
36
+ export {
37
+ GdsFlex
38
+ };
@@ -1,6 +1,10 @@
1
+ import {
2
+ withLayoutChildProps,
3
+ withSizeXProps
4
+ } from "./chunk.G2WTHFPE.js";
1
5
  import {
2
6
  tokens
3
- } from "./chunk.L2TDNB6Z.js";
7
+ } from "./chunk.WBBCGR25.js";
4
8
  import {
5
9
  GdsElement
6
10
  } from "./chunk.TMEWQZER.js";
@@ -158,7 +162,9 @@ var menu_button_styles_default = style;
158
162
 
159
163
  // libs/core/src/components/menu-button/menu-button.ts
160
164
  var _isLink, isLink_get, _defaultRel, defaultRel_get;
161
- var GdsMenuButton = class extends GdsElement {
165
+ var GdsMenuButton = class extends withSizeXProps(
166
+ withLayoutChildProps(GdsElement)
167
+ ) {
162
168
  constructor() {
163
169
  super();
164
170
  __privateAdd(this, _isLink);