@sebgroup/green-core 1.9.2 → 1.11.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.
@@ -16,6 +16,7 @@ import '../../primitives/menu/menu';
16
16
  */
17
17
  export declare class GdsContextMenu extends GdsElement {
18
18
  #private;
19
+ static styles: import("lit").CSSResult[];
19
20
  static shadowRootOptions: ShadowRootInit;
20
21
  /**
21
22
  * Whether the context menu popover is open.
@@ -0,0 +1,2 @@
1
+ declare const style: import("lit").CSSResult;
2
+ export default style;
@@ -0,0 +1,85 @@
1
+ import { CSSResult, LitElement } from 'lit';
2
+ declare type GridSizes = 'none' | 'xs' | 's' | 'm' | 'l' | 'xl' | '2xl' | '3xl';
3
+ /**
4
+ * @element gds-grid
5
+ * The `gds-grid` is a custom element that provides a flexible grid system. It uses CSS grid layout to arrange its child elements into columns. This component is highly customizable and responsive, allowing you to specify the number of `columns`, `gap`, `padding`, and fluidity for different devices with automated column size based on the content using the `auto-columns` attribute.
6
+ *
7
+ * @status beta
8
+ *
9
+ */
10
+ export declare class GdsGrid extends LitElement {
11
+ static styles: (CSSResult | CSSResult[])[];
12
+ static shadowRootOptions: ShadowRootInit;
13
+ /**
14
+ * @property {string} columns - The number of columns for the grid. This can be a single value that applies to all breakpoints, or a string of three space-separated tokens in the format "l:desktop m:tablet s:mobile", each token specifying the number of columns for that device type respectively.
15
+ * @example
16
+ * ```html
17
+ * <gds-grid columns="2"></gds-grid> <!-- applies to all breakpoints -->
18
+ * <gds-grid columns="l:8 m:4 s:2"></gds-grid> <!-- different values for each breakpoint -->
19
+ * ```
20
+ */
21
+ columns?: string | undefined;
22
+ /**
23
+ * @property {string} gap - Defines the gap size between grid items. Accepts a single value for all breakpoints or a "l:desktop m:tablet s:mobile" format. Sizes can be 'none', 'xs', 's', 'm', 'l', 'xl', '2xl', '3xl'.
24
+ * @example
25
+ * ```html
26
+ * <gds-grid gap="m"></gds-grid> <!-- applies to all breakpoints -->
27
+ * <gds-grid gap="l:m m:s s:xs"></gds-grid> <!-- different values for each breakpoint -->
28
+ * ```
29
+ */
30
+ gap?: GridSizes;
31
+ /**
32
+ * @property {string} padding - Defines the padding size around the grid. Accepts a single value for all breakpoints or a "l:desktop m:tablet s:mobile" format. Sizes can be 'none', 'xs', 's', 'm', 'l', 'xl', '2xl', '3xl'.
33
+ * @example
34
+ * ```html
35
+ * <gds-grid padding="m"></gds-grid> <!-- applies to all breakpoints -->
36
+ * <gds-grid padding="l:m m:s s:xs"></gds-grid> <!-- different values for each breakpoint -->
37
+ * ```
38
+ */
39
+ padding?: GridSizes;
40
+ /**
41
+ * @property {string} auto-columns - Defines the minimum column width in pixels. Accepts a single value for all breakpoints or a "l:desktop m:tablet s:mobile" format. If set, the grid adjusts column size based on content and available width, even without other attributes.
42
+ * @example
43
+ * ```html
44
+ * <gds-grid auto-columns="200"></gds-grid> <!-- applies to all breakpoints -->
45
+ * <gds-grid auto-columns="l:200 m:100 s:80"></gds-grid> <!-- different values for each breakpoint -->
46
+ * ```
47
+ */
48
+ autoColumns?: GridSizes;
49
+ /**
50
+ * Lifecycle method called when the element is connected to the DOM.
51
+ * It updates the column, gap, and padding variables.
52
+ */
53
+ connectedCallback(): void;
54
+ /**
55
+ * State variable that holds the CSS variables for column, gap, and padding.
56
+ */
57
+ private _gridVariables;
58
+ /**
59
+ * Watcher for the 'columns' property.
60
+ * It updates the column CSS variables when the 'columns' property changes.
61
+ */
62
+ private _updateColumnVariables;
63
+ /**
64
+ * Watcher for the 'gap' property.
65
+ * It updates the gap CSS variables when the 'gap' property changes.
66
+ */
67
+ private _updateGapVariables;
68
+ /**
69
+ * Watcher for the 'padding' property.
70
+ * It updates the padding CSS variables when the 'padding' property changes.
71
+ */
72
+ private _updatePaddingVariables;
73
+ /**
74
+ * Watcher for the 'autoColumns' property.
75
+ * It updates the min-width for each column on a "--_col-width" variable.
76
+ */
77
+ private _updateAutoColumnsVariables;
78
+ /**
79
+ * Watcher for the '_gridVariables' property.
80
+ * It updates the CSS stylesheet when the '_gridVariables' property changes.
81
+ */
82
+ private _updateGridCss;
83
+ render(): any;
84
+ }
85
+ export {};
@@ -0,0 +1,2 @@
1
+ declare const style: import("lit").CSSResult;
2
+ export default style;
@@ -4,4 +4,5 @@ export * from '../primitives/menu/menu-heading';
4
4
  export * from './context-menu/context-menu';
5
5
  export * from '../primitives/menu/menu-item';
6
6
  export * from './datepicker/datepicker';
7
+ export * from './grid/grid';
7
8
  export * from './grouped-list/grouped-list';
package/index.js CHANGED
@@ -77,8 +77,8 @@ function watch(propertyName, options) {
77
77
  const { update } = proto;
78
78
  const watchedProperties = Array.isArray(propertyName) ? propertyName : [propertyName];
79
79
  proto.update = function(changedProps) {
80
- watchedProperties.forEach((property11) => {
81
- const key = property11;
80
+ watchedProperties.forEach((property12) => {
81
+ const key = property12;
82
82
  if (changedProps.has(key)) {
83
83
  const oldValue = changedProps.get(key);
84
84
  const newValue = this[key];
@@ -144,7 +144,7 @@ function watchMediaQuery(q) {
144
144
  // libs/core/src/utils/helpers/custom-element-scoping.ts
145
145
  import { html as litHtml } from "lit";
146
146
  import { customElement } from "lit/decorators.js";
147
- var VER_SUFFIX = "-2d68d7";
147
+ var VER_SUFFIX = "-8cc777";
148
148
  var elementLookupTable = /* @__PURE__ */ new Map();
149
149
  var gdsCustomElement = (tagName) => {
150
150
  if (globalThis.GDS_DISABLE_VERSIONED_ELEMENTS) {
@@ -509,12 +509,23 @@ var style2 = css2`
509
509
  @layer base, reset, transitional-styles;
510
510
  @layer base {
511
511
  :host {
512
- padding: 0.5 1rem;
512
+ display: block;
513
+ padding: 1rem 1.5rem;
513
514
  cursor: pointer;
514
515
  }
515
516
 
517
+ :host(:not(:last-child)) {
518
+ border-bottom: 1px solid #e0e0e0;
519
+ }
520
+
516
521
  :host(:hover) {
517
- background-color: grey;
522
+ background-color: #ededed;
523
+ }
524
+
525
+ :host(:focus-visible) {
526
+ outline: auto;
527
+ outline-offset: -6px;
528
+ outline-color: #666;
518
529
  }
519
530
  }
520
531
  `;
@@ -694,8 +705,21 @@ var style3 = css3`
694
705
  overflow: hidden;
695
706
  padding: 0px;
696
707
  box-sizing: border-box;
697
- border-width: 0;
698
708
  right: 0;
709
+ margin: 0;
710
+ box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2), 0 1rem 28px rgba(0, 0, 0, 0.15);
711
+ border-width: 0;
712
+ border-radius: 0.5rem;
713
+ }
714
+
715
+ header {
716
+ display: none;
717
+ }
718
+
719
+ dialog::backdrop {
720
+ background-color: transparent;
721
+ display: block;
722
+ position: fixed;
699
723
  }
700
724
  }
701
725
  `;
@@ -1505,6 +1529,30 @@ import { msg as msg3 } from "@lit/localize";
1505
1529
  import { classMap as classMap4 } from "lit-html/directives/class-map.js";
1506
1530
  import { property as property6, queryAsync as queryAsync2, state as state6 } from "lit/decorators.js";
1507
1531
 
1532
+ // libs/core/src/components/context-menu/context-menu.styles.ts
1533
+ import { css as css6 } from "lit";
1534
+ var style6 = css6`
1535
+ @layer base, reset, transitional-styles;
1536
+ @layer base {
1537
+ button {
1538
+ display: flex;
1539
+ border-width: 0;
1540
+ background-color: #ededed;
1541
+ border-radius: calc(1px * infinity);
1542
+ padding: 0.4rem 0.8rem;
1543
+ font-family: inherit;
1544
+ cursor: pointer;
1545
+ align-items: center;
1546
+ gap: 0.5rem;
1547
+ }
1548
+
1549
+ button:hover {
1550
+ background-color: #dcdcdc;
1551
+ }
1552
+ }
1553
+ `;
1554
+ var context_menu_styles_default = style6;
1555
+
1508
1556
  // libs/core/src/primitives/menu/menu.ts
1509
1557
  import { createRef as createRef3, ref as ref3 } from "lit/directives/ref.js";
1510
1558
  import { state as state5 } from "lit/decorators.js";
@@ -1581,7 +1629,12 @@ var GdsContextMenu = class extends GdsElement {
1581
1629
  >
1582
1630
  <slot name="trigger">
1583
1631
  ${this.showLabel ? this.buttonLabel ?? this.label : nothing}
1584
- <i class="sg-icon sg-icon-ellipsis"></i>
1632
+ <svg width="24" height="24" viewBox="0 0 24 24">
1633
+ <path
1634
+ d="M14 12C14 13.1042 13.1042 14 12 14C10.8958 14 10 13.1042 10 12C10 10.8958 10.8958 10 12 10C13.1042 10 14 10.8958 14 12ZM19 10C17.8958 10 17 10.8958 17 12C17 13.1042 17.8958 14 19 14C20.1042 14 21 13.1042 21 12C21 10.8958 20.1042 10 19 10ZM5 10C3.89583 10 3 10.8958 3 12C3 13.1042 3.89583 14 5 14C6.10417 14 7 13.1042 7 12C7 10.8958 6.10417 10 5 10Z"
1635
+ fill="#353531"
1636
+ />
1637
+ </svg>
1585
1638
  </slot>
1586
1639
  </button>
1587
1640
  <gds-popover
@@ -1605,6 +1658,7 @@ _handleItemClick = new WeakSet();
1605
1658
  handleItemClick_fn = function() {
1606
1659
  this.open = false;
1607
1660
  };
1661
+ GdsContextMenu.styles = [context_menu_styles_default];
1608
1662
  GdsContextMenu.shadowRootOptions = {
1609
1663
  mode: "open",
1610
1664
  delegatesFocus: true
@@ -1640,17 +1694,18 @@ GdsContextMenu = __decorateClass([
1640
1694
 
1641
1695
  // libs/core/src/primitives/menu/menu-item.ts
1642
1696
  import { state as state7 } from "lit/decorators.js";
1697
+ var _handleOnClick;
1643
1698
  var GdsMenuItem = class extends Focusable(GdsElement) {
1644
1699
  constructor() {
1645
1700
  super(...arguments);
1646
- this.#handleOnClick = () => {
1701
+ __privateAdd(this, _handleOnClick, () => {
1647
1702
  this.dispatchEvent(
1648
1703
  new CustomEvent("gds-menu-item-click", {
1649
1704
  bubbles: true,
1650
1705
  composed: true
1651
1706
  })
1652
1707
  );
1653
- };
1708
+ });
1654
1709
  }
1655
1710
  connectedCallback() {
1656
1711
  super.connectedCallback();
@@ -1661,14 +1716,15 @@ var GdsMenuItem = class extends Focusable(GdsElement) {
1661
1716
  e.preventDefault();
1662
1717
  this.click();
1663
1718
  });
1664
- this.addEventListener("click", this.#handleOnClick);
1719
+ this.addEventListener("click", __privateGet(this, _handleOnClick));
1665
1720
  TransitionalStyles.instance.apply(this, "gds-option");
1666
1721
  }
1667
- #handleOnClick;
1668
1722
  render() {
1669
1723
  return html`${this._tStyles}<slot></slot>`;
1670
1724
  }
1671
1725
  };
1726
+ _handleOnClick = new WeakMap();
1727
+ GdsMenuItem.styles = [option_styles_default];
1672
1728
  __decorateClass([
1673
1729
  state7()
1674
1730
  ], GdsMenuItem.prototype, "_tStyles", 2);
@@ -1729,8 +1785,8 @@ function renderMonthGridView(date, template) {
1729
1785
  }
1730
1786
 
1731
1787
  // libs/core/src/primitives/calendar/calendar.styles.ts
1732
- import { css as css6 } from "lit";
1733
- var style6 = css6`
1788
+ import { css as css7 } from "lit";
1789
+ var style7 = css7`
1734
1790
  @layer base, reset, transitional-styles;
1735
1791
  @layer base {
1736
1792
  td.disabled {
@@ -1742,7 +1798,7 @@ var style6 = css6`
1742
1798
  }
1743
1799
  }
1744
1800
  `;
1745
- var calendar_styles_default = style6;
1801
+ var calendar_styles_default = style7;
1746
1802
 
1747
1803
  // libs/core/src/primitives/calendar/calendar.ts
1748
1804
  var _setSelectedDate, setSelectedDate_fn, _handleKeyDown, handleKeyDown_fn;
@@ -2135,8 +2191,8 @@ GdsDatePartSpinner = __decorateClass([
2135
2191
  ], GdsDatePartSpinner);
2136
2192
 
2137
2193
  // libs/core/src/components/datepicker/datepicker.styles.ts
2138
- import { css as css7 } from "lit";
2139
- var styles = css7`
2194
+ import { css as css8 } from "lit";
2195
+ var styles = css8`
2140
2196
  @layer base, reset, transitional-styles;
2141
2197
  @layer base {
2142
2198
  label {
@@ -2742,8 +2798,705 @@ GdsDatepicker = __decorateClass([
2742
2798
  gdsCustomElement("gds-datepicker")
2743
2799
  ], GdsDatepicker);
2744
2800
 
2801
+ // libs/core/src/components/grid/grid.ts
2802
+ import { css as css10, LitElement as LitElement7, unsafeCSS as unsafeCSS3 } from "lit";
2803
+ import { property as property10, state as state11 } from "lit/decorators.js";
2804
+
2805
+ // libs/core/src/tokens.style.ts
2806
+ import { unsafeCSS as unsafeCSS2 } from "lit";
2807
+
2808
+ // dist/libs/tokens/internal/pallet.css
2809
+ var pallet_default = `/**
2810
+ * Do not edit directly
2811
+ * Generated on Tue, 02 Apr 2024 11:52:08 GMT
2812
+ */
2813
+
2814
+ :host {
2815
+ --gds-ref-color-neutral000: #ffffff;
2816
+ --gds-ref-color-neutral050: #f8f8f8;
2817
+ --gds-ref-color-neutral100: #e9e9e9;
2818
+ --gds-ref-color-neutral150: #eeeeee;
2819
+ --gds-ref-color-neutral200: #dedede;
2820
+ --gds-ref-color-neutral250: #cecece;
2821
+ --gds-ref-color-neutral300: #ababab;
2822
+ --gds-ref-color-neutral350: #adadad;
2823
+ --gds-ref-color-neutral400: #868686;
2824
+ --gds-ref-color-neutral450: #757575;
2825
+ --gds-ref-color-neutral500: #494949;
2826
+ --gds-ref-color-neutral525: #464646;
2827
+ --gds-ref-color-neutral550: #333333;
2828
+ --gds-ref-color-neutral600: #2c2c2c;
2829
+ --gds-ref-color-neutral650: #272727;
2830
+ --gds-ref-color-neutral700: #222222;
2831
+ --gds-ref-color-neutral750: #1a1a1a;
2832
+ --gds-ref-color-neutral800: #121212;
2833
+ --gds-ref-color-blue100: #58b8ee;
2834
+ --gds-ref-color-blue200: #41b0ee;
2835
+ --gds-ref-color-blue300: #00adff;
2836
+ --gds-ref-color-blue400: #2c9cd9;
2837
+ --gds-ref-color-blue500: #0092e1;
2838
+ --gds-ref-color-blue600: #007ac7;
2839
+ --gds-ref-color-blue700: #0062bc;
2840
+ --gds-ref-color-green100: #75b44a;
2841
+ --gds-ref-color-green200: #60cd18;
2842
+ --gds-ref-color-green300: #45b400;
2843
+ --gds-ref-color-green400: #308800;
2844
+ --gds-ref-color-red100: #f7706d;
2845
+ --gds-ref-color-red200: #ff594f;
2846
+ --gds-ref-color-red300: #f03529;
2847
+ --gds-ref-color-red400: #d81a1a;
2848
+ --gds-ref-color-red500: #c82a29;
2849
+ --gds-ref-color-red600: #bb000c;
2850
+ --gds-ref-color-red700: #9f000a;
2851
+ --gds-ref-color-red800: #9e2120;
2852
+ --gds-ref-color-purple100: #ad91dc;
2853
+ --gds-ref-color-purple200: #7e52cc;
2854
+ --gds-ref-color-purple300: #673ab6;
2855
+ --gds-ref-color-purple400: #4f2C99;
2856
+ --gds-ref-color-purple500: #4a328f;
2857
+ --gds-ref-color-purple600: #3f2587;
2858
+ --gds-ref-color-yellow100: #ffe182;
2859
+ --gds-ref-color-yellow200: #ffc500;
2860
+ --gds-ref-color-yellow300: #ffb400;
2861
+ --gds-ref-color-yellow400: #f8a000;
2862
+ --gds-ref-color-yellow500: #f0be47;
2863
+ --gds-ref-color-yellow600: #ebab39;
2864
+ --gds-ref-color-blue-5: #001127;
2865
+ --gds-ref-color-blue-10: #001C39;
2866
+ --gds-ref-color-blue-15: #00264B;
2867
+ --gds-ref-color-blue-20: #00315D;
2868
+ --gds-ref-color-blue-25: #003C70;
2869
+ --gds-ref-color-blue-30: #004883;
2870
+ --gds-ref-color-blue-35: #005397;
2871
+ --gds-ref-color-blue-40: #005FAC;
2872
+ --gds-ref-color-blue-45: #006CC1;
2873
+ --gds-ref-color-blue-50: #0078D7;
2874
+ --gds-ref-color-blue-55: #0085EC;
2875
+ --gds-ref-color-blue-60: #1992FF;
2876
+ --gds-ref-color-blue-65: #4EA0FF;
2877
+ --gds-ref-color-blue-70: #6FAEFF;
2878
+ --gds-ref-color-blue-75: #8ABBFF;
2879
+ --gds-ref-color-blue-80: #A4C9FF;
2880
+ --gds-ref-color-blue-85: #BCD6FF;
2881
+ --gds-ref-color-blue-90: #D4E3FF;
2882
+ --gds-ref-color-blue-95: #EBF1FF;
2883
+ --gds-ref-color-blue-98: #F8F9FF;
2884
+ --gds-ref-color-green-5: #001505;
2885
+ --gds-ref-color-green-10: #00210E;
2886
+ --gds-ref-color-green-15: #002D10;
2887
+ --gds-ref-color-green-20: #003916;
2888
+ --gds-ref-color-green-25: #00461D;
2889
+ --gds-ref-color-green-30: #005323;
2890
+ --gds-ref-color-green-35: #00602A;
2891
+ --gds-ref-color-green-40: #006D31;
2892
+ --gds-ref-color-green-45: #007B38;
2893
+ --gds-ref-color-green-50: #138942;
2894
+ --gds-ref-color-green-55: #29964D;
2895
+ --gds-ref-color-green-60: #39A459;
2896
+ --gds-ref-color-green-65: #48B265;
2897
+ --gds-ref-color-green-70: #57C071;
2898
+ --gds-ref-color-green-75: #65CE7E;
2899
+ --gds-ref-color-green-80: #73DC8A;
2900
+ --gds-ref-color-green-85: #81EA97;
2901
+ --gds-ref-color-green-90: #8FF9A4;
2902
+ --gds-ref-color-green-95: #C5FFCA;
2903
+ --gds-ref-color-green-98: #EAFFE8;
2904
+ --gds-ref-color-black: #000000;
2905
+ --gds-ref-color-white: #FFFFFF;
2906
+ --gds-ref-color-grey-5: #0D0D0C;
2907
+ --gds-ref-color-grey-10: #1B1B18;
2908
+ --gds-ref-color-grey-15: #282825;
2909
+ --gds-ref-color-grey-20: #353531;
2910
+ --gds-ref-color-grey-25: #42423D;
2911
+ --gds-ref-color-grey-30: #505049;
2912
+ --gds-ref-color-grey-35: #5D5D56;
2913
+ --gds-ref-color-grey-40: #6A6A62;
2914
+ --gds-ref-color-grey-45: #77776E;
2915
+ --gds-ref-color-grey-50: #85857A;
2916
+ --gds-ref-color-grey-55: #919188;
2917
+ --gds-ref-color-grey-60: #9D9D95;
2918
+ --gds-ref-color-grey-65: #A9A9A2;
2919
+ --gds-ref-color-grey-70: #B6B6AF;
2920
+ --gds-ref-color-grey-75: #C2C2BD;
2921
+ --gds-ref-color-grey-80: #CECECA;
2922
+ --gds-ref-color-grey-85: #DADAD7;
2923
+ --gds-ref-color-grey-90: #E7E7E4;
2924
+ --gds-ref-color-grey-95: #F3F3F2;
2925
+ --gds-ref-color-grey-98: #F9F9F9;
2926
+ --gds-ref-color-orange-5: #1A0F00;
2927
+ --gds-ref-color-orange-10: #271900;
2928
+ --gds-ref-color-orange-15: #352200;
2929
+ --gds-ref-color-orange-20: #422C00;
2930
+ --gds-ref-color-orange-25: #503700;
2931
+ --gds-ref-color-orange-30: #503700;
2932
+ --gds-ref-color-orange-35: #6E4C00;
2933
+ --gds-ref-color-orange-40: #7D5700;
2934
+ --gds-ref-color-orange-45: #8D6300;
2935
+ --gds-ref-color-orange-50: #9D6E00;
2936
+ --gds-ref-color-orange-55: #AE7A00;
2937
+ --gds-ref-color-orange-60: #BE8600;
2938
+ --gds-ref-color-orange-65: #CF9300;
2939
+ --gds-ref-color-orange-70: #E19F00;
2940
+ --gds-ref-color-orange-75: #F2AC00;
2941
+ --gds-ref-color-orange-80: #FFBA30;
2942
+ --gds-ref-color-orange-85: #FFCC77;
2943
+ --gds-ref-color-orange-90: #FFDEAB;
2944
+ --gds-ref-color-orange-95: #FFEED9;
2945
+ --gds-ref-color-orange-98: #FFF8F3;
2946
+ --gds-ref-color-red-5: #2B0200;
2947
+ --gds-ref-color-red-10: #3E0400;
2948
+ --gds-ref-color-red-15: #510700;
2949
+ --gds-ref-color-red-20: #650B00;
2950
+ --gds-ref-color-red-25: #790F00;
2951
+ --gds-ref-color-red-30: #8E1400;
2952
+ --gds-ref-color-red-35: #A31800;
2953
+ --gds-ref-color-red-40: #BA1D00;
2954
+ --gds-ref-color-red-45: #D02200;
2955
+ --gds-ref-color-red-50: #E23010;
2956
+ --gds-ref-color-red-55: #F53E1D;
2957
+ --gds-ref-color-red-60: #FF5636;
2958
+ --gds-ref-color-red-65: #FF7257;
2959
+ --gds-ref-color-red-70: #FF8A73;
2960
+ --gds-ref-color-red-75: #FFA08D;
2961
+ --gds-ref-color-red-80: #FFB4A5;
2962
+ --gds-ref-color-red-85: #FFC8BC;
2963
+ --gds-ref-color-red-90: #FFDAD3;
2964
+ --gds-ref-color-red-95: #FFEDE9;
2965
+ --gds-ref-color-red-98: #FFF8F6;
2966
+ }
2967
+ `;
2968
+
2969
+ // dist/libs/tokens/internal/theme/light.css
2970
+ var light_default = `/**
2971
+ * Do not edit directly
2972
+ * Generated on Tue, 02 Apr 2024 11:52:08 GMT
2973
+ */
2974
+
2975
+ :host {
2976
+ color-scheme: light;
2977
+ --gds-sys-color-blue: #41b0ee;
2978
+ --gds-sys-color-dark-blue-1: #41b0ee;
2979
+ --gds-sys-color-dark-blue-2: #007ac7;
2980
+ --gds-sys-color-green: #60cd18;
2981
+ --gds-sys-color-dark-green-1: #45b400;
2982
+ --gds-sys-color-dark-green-2: #308800;
2983
+ --gds-sys-color-yellow: #ffc500;
2984
+ --gds-sys-color-dark-yellow-1: #ffb400;
2985
+ --gds-sys-color-dark-yellow-2: #f8a000;
2986
+ --gds-sys-color-primary-text: #333333;
2987
+ --gds-sys-color-secondary-text: #ababab;
2988
+ --gds-sys-color-white-text: #ffffff;
2989
+ --gds-sys-color-link-text: #0062bc;
2990
+ --gds-sys-color-error-text: #9f000a;
2991
+ --gds-sys-color-disabled-text: #adadad;
2992
+ --gds-sys-color-red: #f03529;
2993
+ --gds-sys-color-dark-red-1: #d81a1a;
2994
+ --gds-sys-color-dark-red-2: #bb000c;
2995
+ --gds-sys-color-purple: #673ab6;
2996
+ --gds-sys-color-dark-purple-1: #4f2C99;
2997
+ --gds-sys-color-dark-purple-2: #3f2587;
2998
+ --gds-sys-color-base-white: #ffffff;
2999
+ --gds-sys-color-base100: #f8f8f8;
3000
+ --gds-sys-color-base200: #e9e9e9;
3001
+ --gds-sys-color-base300: #dedede;
3002
+ --gds-sys-color-base400: #cecece;
3003
+ --gds-sys-color-base500: #adadad;
3004
+ --gds-sys-color-base600: #868686;
3005
+ --gds-sys-color-base700: #494949;
3006
+ --gds-sys-color-base800: #333333;
3007
+ --gds-sys-color-base900: #1a1a1a;
3008
+ --gds-sys-color-accent-accent-green: #006D31;
3009
+ --gds-sys-color-accent-accent-orange: #FFBA30;
3010
+ --gds-sys-color-background-background: #FFFFFF;
3011
+ --gds-sys-color-background-background-dim: #F3F3F2;
3012
+ --gds-sys-color-container-container: #F3F3F2;
3013
+ --gds-sys-color-container-dim1: #E7E7E4;
3014
+ --gds-sys-color-container-dim2: #DADAD7;
3015
+ --gds-sys-color-container-bright: #FFFFFF;
3016
+ --gds-sys-color-container-shade1: #353531;
3017
+ --gds-sys-color-container-shade2: #1B1B18;
3018
+ --gds-sys-color-container-disabled: #F9F9F9;
3019
+ --gds-sys-color-container-positive: #006D31;
3020
+ --gds-sys-color-container-negative: #BA1D00;
3021
+ --gds-sys-color-content-content: #353531;
3022
+ --gds-sys-color-content-content-inverse: #FFFFFF;
3023
+ --gds-sys-color-content-content-secondary: #6A6A62;
3024
+ --gds-sys-color-content-content-positive: #006D31;
3025
+ --gds-sys-color-content-content-negative: #BA1D00;
3026
+ --gds-sys-color-content-content-negative-bright: #FFF8F6;
3027
+ --gds-sys-color-content-content-custom-blue-bright: #F8F9FF;
3028
+ --gds-sys-color-content-content-disabled: #9D9D95;
3029
+ --gds-sys-color-custom-custom-blue: #005FAC;
3030
+ --gds-sys-color-custom-on-custom-blue: #D4E3FF;
3031
+ --gds-sys-color-custom-custom-blue-bright: #D4E3FF;
3032
+ --gds-sys-color-custom-on-custom-blue-bright: #00315D;
3033
+ --gds-sys-color-custom-custom-green: #003916;
3034
+ --gds-sys-color-custom-on-custom-green: #EAFFE8;
3035
+ --gds-sys-color-custom-custom-green-bright: #EAFFE8;
3036
+ --gds-sys-color-custom-on-custom-green-bright: #003916;
3037
+ --gds-sys-color-custom-custom-grey: #353531;
3038
+ --gds-sys-color-custom-on-custom-grey: #E7E7E4;
3039
+ --gds-sys-color-custom-custom-grey-bright: #E7E7E4;
3040
+ --gds-sys-color-custom-on-custom-grey-bright: #353531;
3041
+ --gds-sys-color-primary-primary: #353531;
3042
+ --gds-sys-color-state-layers-state-black: #000000 10%;
3043
+ --gds-sys-color-state-layers-state-black-dim1: #000000 20%;
3044
+ --gds-sys-color-state-layers-state-black-dim2: #000000 40%;
3045
+ --gds-sys-color-state-layers-state-black-shade: #000000 60%;
3046
+ --gds-sys-color-state-layers-state-positive: #006d31 10%;
3047
+ --gds-sys-color-state-layers-state-positive-dim: #006d31 20%;
3048
+ --gds-sys-color-state-layers-state-negative: #ba1d00 10%;
3049
+ --gds-sys-color-state-layers-state-negative-dim: #ba1d00 20%;
3050
+ --gds-sys-color-state-layers-state-custom-blue: #005fac 20%;
3051
+ --gds-sys-color-status-information-information: #353531;
3052
+ --gds-sys-color-status-information-on-information: #FFFFFF;
3053
+ --gds-sys-color-status-information-information-bright: #F3F3F2;
3054
+ --gds-sys-color-status-information-on-information-bright: #353531;
3055
+ --gds-sys-color-status-negative-negative: #BA1D00;
3056
+ --gds-sys-color-status-negative-on-negative: #FFFFFF;
3057
+ --gds-sys-color-status-negative-negative-bright: #FFEDE9;
3058
+ --gds-sys-color-status-negative-on-negative-bright: #BA1D00;
3059
+ --gds-sys-color-status-warning-warning: #9D6E00;
3060
+ --gds-sys-color-status-warning-on-warning: #FFFFFF;
3061
+ --gds-sys-color-status-warning-warning-bright: #FFEED9;
3062
+ --gds-sys-color-status-warning-on-warning-bright: #7D5700;
3063
+ --gds-sys-color-status-positive-positive: #006D31;
3064
+ --gds-sys-color-status-positive-on-positive: #FFFFFF;
3065
+ --gds-sys-color-status-positive-positive-bright: #EAFFE8;
3066
+ --gds-sys-color-status-positive-on-positive-bright: #006D31;
3067
+ --gds-sys-color-status-notice-notice: #005FAC;
3068
+ --gds-sys-color-status-notice-on-notice: #FFFFFF;
3069
+ --gds-sys-color-status-notice-notice-bright: #EBF1FF;
3070
+ --gds-sys-color-status-notice-on-notice-bright: #005FAC;
3071
+ --gds-sys-color-stroke-stroke: #353531;
3072
+ --gds-sys-color-stroke-stroke-variant1: #85857A;
3073
+ --gds-sys-color-stroke-stroke-variant2: #CECECA;
3074
+ --gds-sys-color-stroke-stroke-disabled: #9D9D95;
3075
+ --gds-sys-color-stroke-stroke-notice: #005FAC;
3076
+ --gds-sys-color-stroke-stroke-positive: #006D31;
3077
+ --gds-sys-color-stroke-stroke-warning: #7D5700;
3078
+ --gds-sys-color-stroke-stroke-negative: #BA1D00;
3079
+ --gds-sys-color-stroke-stroke-custom-blue: #BA1D00;
3080
+ }
3081
+ `;
3082
+
3083
+ // dist/libs/tokens/internal/size.css
3084
+ var size_default = `/**
3085
+ * Do not edit directly
3086
+ * Generated on Tue, 02 Apr 2024 11:52:08 GMT
3087
+ */
3088
+
3089
+ :host {
3090
+ --gds-sys-typography-weight-bold: 700;
3091
+ --gds-sys-typography-weight-medium: 500;
3092
+ --gds-sys-typography-weight-book: 450;
3093
+ --gds-sys-typography-weight-regular: 400;
3094
+ --gds-sys-typography-weight-light: 300;
3095
+ --gds-sys-typography-size-label-overline: 14px;
3096
+ --gds-sys-typography-size-label-input-medium: 14px;
3097
+ --gds-sys-typography-size-label-input-large: 16px;
3098
+ --gds-sys-typography-size-label-information-medium: 14px;
3099
+ --gds-sys-typography-size-label-information-large: 16px;
3100
+ --gds-sys-typography-size-label-small: 12px;
3101
+ --gds-sys-typography-size-label-medium: 14px;
3102
+ --gds-sys-typography-size-label-large: 16px;
3103
+ --gds-sys-typography-size-body-small: 12px;
3104
+ --gds-sys-typography-size-body-medium: 14px;
3105
+ --gds-sys-typography-size-body-large: 16px;
3106
+ --gds-sys-typography-size-title-small: 14px;
3107
+ --gds-sys-typography-size-title-medium: 16px;
3108
+ --gds-sys-typography-size-title-large: 22px;
3109
+ --gds-sys-typography-size-headline-small: 24px;
3110
+ --gds-sys-typography-size-headline-medium: 28px;
3111
+ --gds-sys-typography-size-headline-large: 32px;
3112
+ --gds-sys-typography-size-display-small: 40px;
3113
+ --gds-sys-typography-size-display-medium: 64px;
3114
+ --gds-sys-typography-size-display-large: 82px;
3115
+ --gds-sys-typography-line-height-label-overline: 18px;
3116
+ --gds-sys-typography-line-height-label-input-medium: 20px;
3117
+ --gds-sys-typography-line-height-label-input-large: 20px;
3118
+ --gds-sys-typography-line-height-label-information-medium: 20px;
3119
+ --gds-sys-typography-line-height-label-information-large: 20px;
3120
+ --gds-sys-typography-line-height-label-small: 16px;
3121
+ --gds-sys-typography-line-height-label-medium: 20px;
3122
+ --gds-sys-typography-line-height-label-large: 20px;
3123
+ --gds-sys-typography-line-height-body-small: 16px;
3124
+ --gds-sys-typography-line-height-body-medium: 20px;
3125
+ --gds-sys-typography-line-height-body-large: 20px;
3126
+ --gds-sys-typography-line-height-title-small: 20px;
3127
+ --gds-sys-typography-line-height-title-medium: 24px;
3128
+ --gds-sys-typography-line-height-title-large: 28px;
3129
+ --gds-sys-typography-line-height-headline-small: 30px;
3130
+ --gds-sys-typography-line-height-headline-medium: 36px;
3131
+ --gds-sys-typography-line-height-headline-large: 40px;
3132
+ --gds-sys-typography-line-height-display-small: 52px;
3133
+ --gds-sys-typography-line-height-display-medium: 80px;
3134
+ --gds-sys-typography-line-height-display-large: 98px;
3135
+ --gds-sys-state-hover-state-layer-opacity: 0.10;
3136
+ --gds-sys-grid-width-desktop-lg: 2560px;
3137
+ --gds-sys-grid-width-desktop-md: 1440px;
3138
+ --gds-sys-grid-width-desktop-sm: 1024px;
3139
+ --gds-sys-grid-width-tablet: 768px;
3140
+ --gds-sys-grid-width-mobile: 425px;
3141
+ --gds-sys-grid-columns-24: 24;
3142
+ --gds-sys-grid-columns-12: 12;
3143
+ --gds-sys-grid-columns-8: 8;
3144
+ --gds-sys-grid-columns-6: 6;
3145
+ --gds-sys-grid-columns-4: 4;
3146
+ --gds-sys-grid-columns-2: 2;
3147
+ --gds-ref-size-15: 9999px;
3148
+ --gds-ref-size-14: 128px;
3149
+ --gds-ref-size-13: 112px;
3150
+ --gds-ref-size-12: 96px;
3151
+ --gds-ref-size-11: 80px;
3152
+ --gds-ref-size-10: 64px;
3153
+ --gds-ref-size-9: 48px;
3154
+ --gds-ref-size-8: 40px;
3155
+ --gds-ref-size-7: 32px;
3156
+ --gds-ref-size-6: 24px;
3157
+ --gds-ref-size-5: 16px;
3158
+ --gds-ref-size-4: 12px;
3159
+ --gds-ref-size-3: 8px;
3160
+ --gds-ref-size-2: 4px;
3161
+ --gds-ref-size-1: 2px;
3162
+ --gds-ref-size-0: 0px;
3163
+ --gds-sys-space-spacer-120: var(--gds-ref-size-14);
3164
+ --gds-sys-space-spacer-112: var(--gds-ref-size-13);
3165
+ --gds-sys-space-spacer-96: var(--gds-ref-size-12);
3166
+ --gds-sys-space-spacer-80: var(--gds-ref-size-11);
3167
+ --gds-sys-space-spacer-64: var(--gds-ref-size-10);
3168
+ --gds-sys-space-spacer-48: var(--gds-ref-size-9);
3169
+ --gds-sys-space-spacer-40: var(--gds-ref-size-8);
3170
+ --gds-sys-space-spacer-32: var(--gds-ref-size-7);
3171
+ --gds-sys-space-spacer-24: var(--gds-ref-size-6);
3172
+ --gds-sys-space-spacer-16: var(--gds-ref-size-5);
3173
+ --gds-sys-space-spacer-12: var(--gds-ref-size-4);
3174
+ --gds-sys-space-spacer-8: var(--gds-ref-size-3);
3175
+ --gds-sys-space-spacer-4: var(--gds-ref-size-2);
3176
+ --gds-sys-space-spacer-2: var(--gds-ref-size-1);
3177
+ --gds-sys-space-spacer-0: var(--gds-ref-size-0);
3178
+ --gds-sys-space-padding-120: var(--gds-ref-size-14);
3179
+ --gds-sys-space-padding-112: var(--gds-ref-size-13);
3180
+ --gds-sys-space-padding-96: var(--gds-ref-size-12);
3181
+ --gds-sys-space-padding-80: var(--gds-ref-size-11);
3182
+ --gds-sys-space-padding-64: var(--gds-ref-size-10);
3183
+ --gds-sys-space-padding-48: var(--gds-ref-size-9);
3184
+ --gds-sys-space-padding-40: var(--gds-ref-size-8);
3185
+ --gds-sys-space-padding-32: var(--gds-ref-size-7);
3186
+ --gds-sys-space-padding-24: var(--gds-ref-size-6);
3187
+ --gds-sys-space-padding-16: var(--gds-ref-size-5);
3188
+ --gds-sys-space-padding-12: var(--gds-ref-size-4);
3189
+ --gds-sys-space-padding-8: var(--gds-ref-size-3);
3190
+ --gds-sys-space-padding-4: var(--gds-ref-size-2);
3191
+ --gds-sys-space-padding-2: var(--gds-ref-size-1);
3192
+ --gds-sys-space-padding-0: var(--gds-ref-size-0);
3193
+ --gds-sys-space-margins-120: var(--gds-ref-size-14);
3194
+ --gds-sys-space-margins-112: var(--gds-ref-size-13);
3195
+ --gds-sys-space-margins-96: var(--gds-ref-size-12);
3196
+ --gds-sys-space-margins-80: var(--gds-ref-size-11);
3197
+ --gds-sys-space-margins-64: var(--gds-ref-size-10);
3198
+ --gds-sys-space-margins-48: var(--gds-ref-size-9);
3199
+ --gds-sys-space-margins-40: var(--gds-ref-size-8);
3200
+ --gds-sys-space-margins-32: var(--gds-ref-size-7);
3201
+ --gds-sys-space-margins-24: var(--gds-ref-size-6);
3202
+ --gds-sys-space-margins-16: var(--gds-ref-size-5);
3203
+ --gds-sys-space-margins-12: var(--gds-ref-size-4);
3204
+ --gds-sys-space-margins-8: var(--gds-ref-size-3);
3205
+ --gds-sys-space-margins-4: var(--gds-ref-size-2);
3206
+ --gds-sys-space-margins-2: var(--gds-ref-size-1);
3207
+ --gds-sys-space-margins-0: var(--gds-ref-size-0);
3208
+ --gds-sys-radii-full: var(--gds-ref-size-15);
3209
+ --gds-sys-radii-4xl: var(--gds-ref-size-12);
3210
+ --gds-sys-radii-3xl: var(--gds-ref-size-9);
3211
+ --gds-sys-radii-2xl: var(--gds-ref-size-7);
3212
+ --gds-sys-radii-xl: var(--gds-ref-size-6);
3213
+ --gds-sys-radii-l: var(--gds-ref-size-5);
3214
+ --gds-sys-radii-m: var(--gds-ref-size-4);
3215
+ --gds-sys-radii-s: var(--gds-ref-size-3);
3216
+ --gds-sys-radii-xs: var(--gds-ref-size-2);
3217
+ --gds-sys-radii-none: var(--gds-ref-size-0);
3218
+ --gds-sys-grid-padding-3xl: var(--gds-ref-size-12);
3219
+ --gds-sys-grid-padding-2xl: var(--gds-ref-size-9);
3220
+ --gds-sys-grid-padding-xl: var(--gds-ref-size-7);
3221
+ --gds-sys-grid-padding-l: var(--gds-ref-size-6);
3222
+ --gds-sys-grid-padding-m: var(--gds-ref-size-5);
3223
+ --gds-sys-grid-padding-s: var(--gds-ref-size-3);
3224
+ --gds-sys-grid-padding-xs: var(--gds-ref-size-2);
3225
+ --gds-sys-grid-padding-none: var(--gds-ref-size-0);
3226
+ --gds-sys-grid-gap-3xl: var(--gds-ref-size-12);
3227
+ --gds-sys-grid-gap-2xl: var(--gds-ref-size-9);
3228
+ --gds-sys-grid-gap-xl: var(--gds-ref-size-7);
3229
+ --gds-sys-grid-gap-l: var(--gds-ref-size-6);
3230
+ --gds-sys-grid-gap-m: var(--gds-ref-size-5);
3231
+ --gds-sys-grid-gap-s: var(--gds-ref-size-3);
3232
+ --gds-sys-grid-gap-xs: var(--gds-ref-size-2);
3233
+ --gds-sys-grid-gap-none: var(--gds-ref-size-0);
3234
+ --gds-sys-grid-breakpoint-desktop-lg: var(--gds-sys-grid-columns-12);
3235
+ --gds-sys-grid-breakpoint-desktop-md: var(--gds-sys-grid-columns-12);
3236
+ --gds-sys-grid-breakpoint-desktop-sm: var(--gds-sys-grid-columns-12);
3237
+ --gds-sys-grid-breakpoint-tablet: var(--gds-sys-grid-columns-12);
3238
+ --gds-sys-grid-breakpoint-mobile: var(--gds-sys-grid-columns-4);
3239
+ }
3240
+ `;
3241
+
3242
+ // libs/core/src/tokens.style.ts
3243
+ var tokens = [
3244
+ unsafeCSS2(pallet_default),
3245
+ unsafeCSS2(light_default),
3246
+ unsafeCSS2(size_default)
3247
+ ];
3248
+
3249
+ // libs/core/src/components/grid/grid.style.css.ts
3250
+ import { css as css9 } from "lit";
3251
+ var style8 = css9`
3252
+ @layer grid, grid.desktop, grid.tablet, grid.mobile, grid.span, grid.space, grid.align, grid.debug;
3253
+
3254
+ @layer grid {
3255
+ :host {
3256
+ --_c: var(--gds-sys-grid-columns-12);
3257
+ --_grid-col: repeat(var(--_c), 1fr);
3258
+ --_grid-col-start: 1;
3259
+ --_grid-col-end: -1;
3260
+ --_gap-column: 0;
3261
+ display: grid;
3262
+ width: 100%;
3263
+ grid-template-columns: var(--_grid-col);
3264
+ grid-column-gap: var(--_gap-column);
3265
+ padding: var(--_grid-padding);
3266
+ text-wrap: balance;
3267
+ }
3268
+
3269
+ :host([auto-columns]) {
3270
+ --_col-count: var(--_c, 0);
3271
+ --_gap-count: calc(var(--_col-count) - 1);
3272
+ --_total-gap-width: calc(var(--_gap-count) * var(--_gap-column, 0px));
3273
+ --_col-width-max: calc(
3274
+ (100% - var(--_total-gap-width)) / var(--_col-count)
3275
+ );
3276
+ grid-template-columns: repeat(
3277
+ auto-fill,
3278
+ minmax(max(var(--_col-width), var(--_col-width-max)), 1fr)
3279
+ );
3280
+ }
3281
+ }
3282
+
3283
+ /* Responsive */
3284
+ :host {
3285
+ --_c: var(--_columns-desktop);
3286
+ --_gap-column: var(--_gap-desktop);
3287
+ --_grid-padding: var(--_padding-desktop);
3288
+ --_col-width: var(--_col-width-desktop);
3289
+ }
3290
+
3291
+ @media only screen and (max-width: 768px) {
3292
+ :host(:not([auto-columns])) {
3293
+ --_c: var(--_columns-tablet);
3294
+ --_gap-column: var(--_gap-tablet);
3295
+ --_grid-padding: var(--_padding-tablet);
3296
+ --_col-width: var(--_col-width-tablet);
3297
+ }
3298
+ }
3299
+
3300
+ @media only screen and (max-width: 425px) {
3301
+ :host(:not([auto-columns])) {
3302
+ --_c: var(--_columns-mobile);
3303
+ --_gap-column: var(--_gap-mobile);
3304
+ --_grid-padding: var(--_padding-mobile);
3305
+ --_col-width: var(--_col-width-mobile);
3306
+ }
3307
+ }
3308
+ `;
3309
+ var grid_style_css_default = style8;
3310
+
3311
+ // libs/core/src/components/grid/grid.ts
3312
+ var BreakpointPattern = /(?<l>l:([a-z0-9]+))?\s*(?<m>m:([a-z0-9]+))?\s*(?<s>s:([a-z0-9]+))?/;
3313
+ var GdsGrid = class extends LitElement7 {
3314
+ constructor() {
3315
+ super(...arguments);
3316
+ this._gridVariables = {
3317
+ varsColumn: css10``,
3318
+ varsGap: css10``,
3319
+ varsPadding: css10``,
3320
+ varsAutoColumns: css10``
3321
+ };
3322
+ }
3323
+ /**
3324
+ * Lifecycle method called when the element is connected to the DOM.
3325
+ * It updates the column, gap, and padding variables.
3326
+ */
3327
+ connectedCallback() {
3328
+ super.connectedCallback();
3329
+ this._updateColumnVariables();
3330
+ this._updateGapVariables();
3331
+ this._updatePaddingVariables();
3332
+ this._updateAutoColumnsVariables();
3333
+ }
3334
+ _updateColumnVariables() {
3335
+ const match = this.columns?.match(BreakpointPattern);
3336
+ let columnsDesktop, columnsTablet, columnsMobile;
3337
+ if (this.columns && !isNaN(Number(this.columns))) {
3338
+ columnsDesktop = columnsTablet = columnsMobile = Number(this.columns);
3339
+ } else {
3340
+ const { l, m, s } = match?.groups || {};
3341
+ columnsDesktop = l ? Number(l.split(":")[1]) : void 0;
3342
+ columnsTablet = m ? Number(m.split(":")[1]) : void 0;
3343
+ columnsMobile = s ? Number(s.split(":")[1]) : void 0;
3344
+ }
3345
+ const columnProperties = [
3346
+ { name: "_columns-desktop", value: columnsDesktop },
3347
+ { name: "_columns-tablet", value: columnsTablet },
3348
+ { name: "_columns-mobile", value: columnsMobile }
3349
+ ];
3350
+ const cssVariables = columnProperties.filter(({ value }) => value !== void 0).map(({ name, value }) => `--${name}: ${value};`).join(" ");
3351
+ this._gridVariables = {
3352
+ ...this._gridVariables,
3353
+ varsColumn: css10`
3354
+ ${unsafeCSS3(cssVariables)}
3355
+ `
3356
+ };
3357
+ this.requestUpdate("_gridVariables");
3358
+ }
3359
+ _updateGapVariables() {
3360
+ const match = this.gap?.match(BreakpointPattern);
3361
+ let gapDesktop, gapTablet, gapMobile;
3362
+ if (this.gap && !this.gap.includes(" ")) {
3363
+ gapDesktop = gapTablet = gapMobile = `var(--gds-sys-grid-gap-${this.gap})`;
3364
+ } else {
3365
+ const { l, m, s } = match?.groups || {};
3366
+ gapDesktop = l ? `var(--gds-sys-grid-gap-${l.split(":")[1]})` : void 0;
3367
+ gapTablet = m ? `var(--gds-sys-grid-gap-${m.split(":")[1]})` : void 0;
3368
+ gapMobile = s ? `var(--gds-sys-grid-gap-${s.split(":")[1]})` : void 0;
3369
+ }
3370
+ const gapProperties = [
3371
+ { name: "_gap-desktop", value: gapDesktop },
3372
+ { name: "_gap-tablet", value: gapTablet },
3373
+ { name: "_gap-mobile", value: gapMobile }
3374
+ ];
3375
+ const cssVariables = gapProperties.filter(({ value }) => value !== void 0).map(({ name, value }) => `--${name}: ${value};`).join(" ");
3376
+ this._gridVariables = {
3377
+ ...this._gridVariables,
3378
+ varsGap: css10`
3379
+ ${unsafeCSS3(cssVariables)}
3380
+ `
3381
+ };
3382
+ this.requestUpdate("_gridVariables");
3383
+ }
3384
+ _updatePaddingVariables() {
3385
+ const match = this.padding?.match(BreakpointPattern);
3386
+ let paddingDesktop, paddingTablet, paddingMobile;
3387
+ if (this.padding && !this.padding.includes(" ")) {
3388
+ paddingDesktop = paddingTablet = paddingMobile = `var(--gds-sys-grid-gap-${this.gap})`;
3389
+ } else {
3390
+ const { l, m, s } = match?.groups || {};
3391
+ paddingDesktop = l ? `var(--gds-sys-grid-gap-${l.split(":")[1]})` : void 0;
3392
+ paddingTablet = m ? `var(--gds-sys-grid-gap-${m.split(":")[1]})` : void 0;
3393
+ paddingMobile = s ? `var(--gds-sys-grid-gap-${s.split(":")[1]})` : void 0;
3394
+ }
3395
+ const paddingProperties = [
3396
+ { name: "_padding-desktop", value: paddingDesktop },
3397
+ { name: "_padding-tablet", value: paddingTablet },
3398
+ { name: "_padding-mobile", value: paddingMobile }
3399
+ ];
3400
+ const cssVariables = paddingProperties.filter(({ value }) => value !== void 0).map(({ name, value }) => `--${name}: ${value};`).join(" ");
3401
+ this._gridVariables = {
3402
+ ...this._gridVariables,
3403
+ varsPadding: css10`
3404
+ ${unsafeCSS3(cssVariables)}
3405
+ `
3406
+ };
3407
+ this.requestUpdate("_gridVariables");
3408
+ }
3409
+ _updateAutoColumnsVariables() {
3410
+ const match = this.autoColumns?.match(BreakpointPattern);
3411
+ let widthDesktop, widthTablet, widthMobile;
3412
+ if (this.autoColumns && !this.autoColumns.includes(" ")) {
3413
+ widthDesktop = widthTablet = widthMobile = `${this.autoColumns}px`;
3414
+ } else {
3415
+ const { l, m, s } = match?.groups || {};
3416
+ widthDesktop = l ? `${l.split(":")[1]}px` : void 0;
3417
+ widthTablet = m ? `${m.split(":")[1]}px` : void 0;
3418
+ widthMobile = s ? `${s.split(":")[1]}px` : void 0;
3419
+ }
3420
+ const widthProperties = [
3421
+ { name: "_col-width-mobile", value: widthMobile },
3422
+ { name: "_col-width-tablet", value: widthTablet },
3423
+ { name: "_col-width-desktop", value: widthDesktop }
3424
+ ];
3425
+ const cssVariables = widthProperties.filter(({ value }) => value !== void 0).map(({ name, value }) => `--${name}: ${value};`).join(" ");
3426
+ this._gridVariables = {
3427
+ ...this._gridVariables,
3428
+ varsAutoColumns: css10`
3429
+ ${unsafeCSS3(cssVariables)}
3430
+ `
3431
+ };
3432
+ this.requestUpdate("_gridVariables");
3433
+ }
3434
+ _updateGridCss() {
3435
+ const sheet = new CSSStyleSheet();
3436
+ sheet.replaceSync(`:host {${Object.values(this._gridVariables).join("")}} `);
3437
+ if (this.shadowRoot) {
3438
+ const styles2 = Array.isArray(GdsGrid.styles) ? GdsGrid.styles : [GdsGrid.styles];
3439
+ const styleSheets = styles2.flatMap((style9) => {
3440
+ if (Array.isArray(style9)) {
3441
+ return style9.map((s) => {
3442
+ const newSheet = new CSSStyleSheet();
3443
+ newSheet.replaceSync(s.cssText);
3444
+ return newSheet;
3445
+ });
3446
+ } else {
3447
+ const newSheet = new CSSStyleSheet();
3448
+ newSheet.replaceSync(style9.cssText);
3449
+ return [newSheet];
3450
+ }
3451
+ });
3452
+ this.shadowRoot.adoptedStyleSheets = [sheet, ...styleSheets];
3453
+ }
3454
+ }
3455
+ render() {
3456
+ return html` <slot></slot> `;
3457
+ }
3458
+ };
3459
+ GdsGrid.styles = [tokens, grid_style_css_default];
3460
+ GdsGrid.shadowRootOptions = {
3461
+ mode: "open",
3462
+ delegatesFocus: true
3463
+ };
3464
+ __decorateClass([
3465
+ property10({ attribute: "columns", type: String })
3466
+ ], GdsGrid.prototype, "columns", 2);
3467
+ __decorateClass([
3468
+ property10({ attribute: "gap", type: String })
3469
+ ], GdsGrid.prototype, "gap", 2);
3470
+ __decorateClass([
3471
+ property10({ attribute: "padding", type: String })
3472
+ ], GdsGrid.prototype, "padding", 2);
3473
+ __decorateClass([
3474
+ property10({ attribute: "auto-columns", type: String })
3475
+ ], GdsGrid.prototype, "autoColumns", 2);
3476
+ __decorateClass([
3477
+ state11()
3478
+ ], GdsGrid.prototype, "_gridVariables", 2);
3479
+ __decorateClass([
3480
+ watch("columns")
3481
+ ], GdsGrid.prototype, "_updateColumnVariables", 1);
3482
+ __decorateClass([
3483
+ watch("gap")
3484
+ ], GdsGrid.prototype, "_updateGapVariables", 1);
3485
+ __decorateClass([
3486
+ watch("padding")
3487
+ ], GdsGrid.prototype, "_updatePaddingVariables", 1);
3488
+ __decorateClass([
3489
+ watch("autoColumns")
3490
+ ], GdsGrid.prototype, "_updateAutoColumnsVariables", 1);
3491
+ __decorateClass([
3492
+ watch("_gridVariables")
3493
+ ], GdsGrid.prototype, "_updateGridCss", 1);
3494
+ GdsGrid = __decorateClass([
3495
+ gdsCustomElement("gds-grid")
3496
+ ], GdsGrid);
3497
+
2745
3498
  // libs/core/src/components/grouped-list/grouped-list.ts
2746
- import { state as state11, property as property10 } from "lit/decorators.js";
3499
+ import { state as state12, property as property11 } from "lit/decorators.js";
2747
3500
  import { when as when5 } from "lit/directives/when.js";
2748
3501
 
2749
3502
  // libs/core/src/components/grouped-list/list-item.ts
@@ -2784,10 +3537,10 @@ var GdsGroupedList = class extends GdsElement {
2784
3537
  }
2785
3538
  };
2786
3539
  __decorateClass([
2787
- state11()
3540
+ state12()
2788
3541
  ], GdsGroupedList.prototype, "_tStyles", 2);
2789
3542
  __decorateClass([
2790
- property10()
3543
+ property11()
2791
3544
  ], GdsGroupedList.prototype, "label", 2);
2792
3545
  GdsGroupedList = __decorateClass([
2793
3546
  gdsCustomElement("gds-grouped-list")
@@ -2796,6 +3549,7 @@ export {
2796
3549
  GdsContextMenu,
2797
3550
  GdsDatepicker,
2798
3551
  GdsDropdown,
3552
+ GdsGrid,
2799
3553
  GdsGroupedList,
2800
3554
  GdsMenuHeading,
2801
3555
  GdsMenuItem,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sebgroup/green-core",
3
3
  "description": "A carefully crafted set of Web Components, laying the foundation of the Green Design System.",
4
- "version": "1.9.2",
4
+ "version": "1.11.0",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
7
7
  "type": "module",
@@ -7,6 +7,7 @@ declare const GdsMenuItem_base: (new (...args: any[]) => LitElement) & typeof Gd
7
7
  */
8
8
  export declare class GdsMenuItem extends GdsMenuItem_base {
9
9
  #private;
10
+ static styles: import("lit").CSSResult[];
10
11
  private _tStyles?;
11
12
  connectedCallback(): void;
12
13
  render(): any;
@@ -0,0 +1,2 @@
1
+ declare const tokens: import("lit").CSSResult[];
2
+ export { tokens };
@@ -152,15 +152,15 @@ var option_trans_styles_default = `/**
152
152
  var menu_heading_trans_styles_default = `@layer base, reset, transitional-styles;
153
153
  @layer transitional-styles {
154
154
  :host {
155
- padding: 0.75rem 1rem;
156
155
  background-color: var(--gds-ref-pallet-base300);
157
156
  color: var(--gds-ref-pallet-base800);
158
157
  display: flex;
158
+ font-size: 0.875rem;
159
+ font-weight: 500;
160
+ padding: 0.75rem 1rem;
159
161
  -webkit-user-select: none;
160
162
  -moz-user-select: none;
161
163
  user-select: none;
162
- font-size: 0.875rem;
163
- font-weight: 500;
164
164
  }
165
165
  :host([aria-hidden=true]) {
166
166
  display: none;
@@ -2064,7 +2064,7 @@ a.button.tertiary.danger:focus-visible {
2064
2064
  }
2065
2065
  }
2066
2066
  header button.close {
2067
- margin: 0rem;
2067
+ margin: 0;
2068
2068
  padding: 0;
2069
2069
  }
2070
2070
  header h2 {
@@ -2084,11 +2084,11 @@ a.button.tertiary.danger:focus-visible {
2084
2084
  position: fixed;
2085
2085
  visibility: hidden;
2086
2086
  z-index: var(--z-index);
2087
+ color: var(--text-primary-color);
2087
2088
  inset: 0;
2088
2089
  overflow: hidden;
2089
2090
  padding: 0;
2090
2091
  right: 0;
2091
- color: var(--text-primary-color);
2092
2092
  }
2093
2093
  @media (max-width: 35.98em) {
2094
2094
  dialog {
@@ -2136,9 +2136,9 @@ a.button.tertiary.danger:focus-visible {
2136
2136
  }
2137
2137
  @media (max-width: 35.98em) {
2138
2138
  dialog {
2139
- max-height: 80svh;
2140
- border-radius: 0.25rem;
2141
2139
  border: 1px solid var(--border-color);
2140
+ border-radius: 0.25rem;
2141
+ max-height: 80svh;
2142
2142
  padding-bottom: 0;
2143
2143
  }
2144
2144
  dialog.v-kb-visible {
@@ -2700,6 +2700,10 @@ i.sg-icon.sg-icon-ellipsis::before {
2700
2700
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3C!--! Font Awesome Pro 6.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc.--%3E%3Cpath d='M8 256a56 56 0 1 1 112 0A56 56 0 1 1 8 256zm160 0a56 56 0 1 1 112 0 56 56 0 1 1 -112 0zm216-56a56 56 0 1 1 0 112 56 56 0 1 1 0-112z'/%3E%3C/svg%3E");
2701
2701
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3C!--! Font Awesome Pro 6.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc.--%3E%3Cpath d='M8 256a56 56 0 1 1 112 0A56 56 0 1 1 8 256zm160 0a56 56 0 1 1 112 0 56 56 0 1 1 -112 0zm216-56a56 56 0 1 1 0 112 56 56 0 1 1 0-112z'/%3E%3C/svg%3E");
2702
2702
  }
2703
+ i.sg-icon.sg-icon-grip-vertical::before {
2704
+ -webkit-mask-image: url("data:image/svg+xml, %3Csvg height='1em' viewBox='0 0 320 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M40 352l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zm192 0l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zM40 320c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0zM232 192l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zM40 160c-22.1 0-40-17.9-40-40L0 72C0 49.9 17.9 32 40 32l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0zM232 32l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40z' /%3E%3C/svg%3E");
2705
+ mask-image: url("data:image/svg+xml, %3Csvg height='1em' viewBox='0 0 320 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M40 352l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zm192 0l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zM40 320c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0zM232 192l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zM40 160c-22.1 0-40-17.9-40-40L0 72C0 49.9 17.9 32 40 32l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0zM232 32l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40z' /%3E%3C/svg%3E");
2706
+ }
2703
2707
  i.sg-icon.sg-icon-next::before {
2704
2708
  background: none;
2705
2709
  border-bottom: 2px solid;
@@ -2884,10 +2888,10 @@ var calendar_trans_styles_default = `/* stylelint-disable max-nesting-depth */
2884
2888
  }
2885
2889
  :host table tr th,
2886
2890
  :host table tr td {
2891
+ box-sizing: border-box;
2887
2892
  height: 2.75rem;
2888
2893
  text-align: center;
2889
2894
  width: 2.75rem;
2890
- box-sizing: border-box;
2891
2895
  }
2892
2896
  :host table thead th {
2893
2897
  background: var(--sg-bg-level-2);
@@ -2917,8 +2921,8 @@ var calendar_trans_styles_default = `/* stylelint-disable max-nesting-depth */
2917
2921
  :host table tbody tr td.today {
2918
2922
  background: transparent;
2919
2923
  border-radius: 4px;
2920
- color: var(--grey-1000);
2921
2924
  box-shadow: inset 0 0 0 2px var(--grey-1000);
2925
+ color: var(--grey-1000);
2922
2926
  }
2923
2927
  :host table tbody tr td:hover:not(.disabled) {
2924
2928
  background: var(--grey-500);
@@ -2961,11 +2965,11 @@ var calendar_trans_styles_default = `/* stylelint-disable max-nesting-depth */
2961
2965
  }
2962
2966
  :host table tbody tr td.disabled {
2963
2967
  background: hsl(var(--sg-hsl-disabled-background));
2968
+ border: solid 1px var(--sg-bg-level-2);
2969
+ border-radius: 4px;
2964
2970
  color: hsl(var(--sg-hsl-disabled-color));
2965
2971
  cursor: not-allowed;
2966
2972
  font-weight: 400;
2967
- border-radius: 4px;
2968
- border: solid 1px var(--sg-bg-level-2);
2969
2973
  }
2970
2974
  :host table tbody tr td.disabled.sg-date-holiday {
2971
2975
  color: hsla(var(--sg-hsl-red-2), 0.25);
@@ -3035,6 +3039,10 @@ i.sg-icon.sg-icon-ellipsis::before {
3035
3039
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3C!--! Font Awesome Pro 6.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc.--%3E%3Cpath d='M8 256a56 56 0 1 1 112 0A56 56 0 1 1 8 256zm160 0a56 56 0 1 1 112 0 56 56 0 1 1 -112 0zm216-56a56 56 0 1 1 0 112 56 56 0 1 1 0-112z'/%3E%3C/svg%3E");
3036
3040
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3C!--! Font Awesome Pro 6.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc.--%3E%3Cpath d='M8 256a56 56 0 1 1 112 0A56 56 0 1 1 8 256zm160 0a56 56 0 1 1 112 0 56 56 0 1 1 -112 0zm216-56a56 56 0 1 1 0 112 56 56 0 1 1 0-112z'/%3E%3C/svg%3E");
3037
3041
  }
3042
+ i.sg-icon.sg-icon-grip-vertical::before {
3043
+ -webkit-mask-image: url("data:image/svg+xml, %3Csvg height='1em' viewBox='0 0 320 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M40 352l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zm192 0l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zM40 320c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0zM232 192l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zM40 160c-22.1 0-40-17.9-40-40L0 72C0 49.9 17.9 32 40 32l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0zM232 32l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40z' /%3E%3C/svg%3E");
3044
+ mask-image: url("data:image/svg+xml, %3Csvg height='1em' viewBox='0 0 320 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M40 352l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zm192 0l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zM40 320c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0zM232 192l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zM40 160c-22.1 0-40-17.9-40-40L0 72C0 49.9 17.9 32 40 32l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0zM232 32l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40z' /%3E%3C/svg%3E");
3045
+ }
3038
3046
  i.sg-icon.sg-icon-next::before {
3039
3047
  background: none;
3040
3048
  border-bottom: 2px solid;
@@ -3090,16 +3098,15 @@ i.sg-icon.sg-icon-ellipsis::before {
3090
3098
  border-radius: var(--sg-border-radius);
3091
3099
  border: solid var(--sg-border-width) var(--sg-border-color);
3092
3100
  --border-color: var(--sg-border-color);
3093
- align-items: center;
3101
+ align-items: stretch;
3094
3102
  background-color: var(--sg-form-control-bg);
3095
3103
  box-sizing: border-box;
3096
3104
  color: var(--sg-text-primary);
3105
+ cursor: text;
3097
3106
  display: flex;
3098
3107
  justify-content: space-between;
3099
- align-items: stretch;
3100
3108
  margin: 0.5rem 0;
3101
3109
  min-height: 2.75rem;
3102
- cursor: text;
3103
3110
  }
3104
3111
  .field:hover {
3105
3112
  background-color: var(--grey-200);
@@ -3108,9 +3115,9 @@ i.sg-icon.sg-icon-ellipsis::before {
3108
3115
  padding-left: 1rem;
3109
3116
  padding-right: 1rem;
3110
3117
  border-radius: var(--sg-border-radius);
3111
- flex-grow: 1;
3112
- display: flex;
3113
3118
  align-items: center;
3119
+ display: flex;
3120
+ flex-grow: 1;
3114
3121
  }
3115
3122
  .field .input:focus:not(:focus-visible) {
3116
3123
  box-shadow: none;
@@ -3139,8 +3146,8 @@ i.sg-icon.sg-icon-ellipsis::before {
3139
3146
  display: inline-block;
3140
3147
  }
3141
3148
  .field [role=spinbutton]:focus {
3142
- outline: none;
3143
3149
  background: color-mix(in srgb, var(--gds-sys-color-blue) 50%, transparent);
3150
+ outline: none;
3144
3151
  }
3145
3152
  .field [role=spinbutton]::-moz-selection {
3146
3153
  background: transparent;
@@ -3153,12 +3160,12 @@ i.sg-icon.sg-icon-ellipsis::before {
3153
3160
  -webkit-appearance: none;
3154
3161
  -moz-appearance: none;
3155
3162
  appearance: none;
3163
+ background: transparent;
3156
3164
  border: 0;
3157
3165
  box-sizing: border-box;
3166
+ color: var(--text-primary-color);
3158
3167
  cursor: pointer;
3159
3168
  width: 2.75rem;
3160
- background: transparent;
3161
- color: var(--text-primary-color);
3162
3169
  }
3163
3170
  .field button:focus:not(:focus-visible) {
3164
3171
  box-shadow: none;
@@ -3174,8 +3181,8 @@ i.sg-icon.sg-icon-ellipsis::before {
3174
3181
  background: var(--grey-500);
3175
3182
  }
3176
3183
  .field button svg {
3177
- width: 1rem;
3178
3184
  height: 1rem;
3185
+ width: 1rem;
3179
3186
  }
3180
3187
  .field button svg > * {
3181
3188
  fill: none;
@@ -3185,8 +3192,8 @@ i.sg-icon.sg-icon-ellipsis::before {
3185
3192
  stroke-width: 2px;
3186
3193
  }
3187
3194
  .field.small {
3188
- min-height: 2rem;
3189
3195
  font-size: 0.875rem;
3196
+ min-height: 2rem;
3190
3197
  }
3191
3198
  :host(:invalid) .field + .form-info {
3192
3199
  position: relative;
@@ -3238,9 +3245,9 @@ i.sg-icon.sg-icon-ellipsis::before {
3238
3245
  background: transparent;
3239
3246
  border: 0;
3240
3247
  cursor: pointer;
3241
- padding: 0.5rem 0.5rem;
3242
- width: 2.75rem;
3243
3248
  margin: 0.125rem 0.25rem;
3249
+ padding: 0.5rem;
3250
+ width: 2.75rem;
3244
3251
  }
3245
3252
  .header button:focus:not(:focus-visible) {
3246
3253
  box-shadow: none;
@@ -3333,21 +3340,20 @@ var grouped_list_trans_styles_default = `@layer base, reset, transitional-styles
3333
3340
  }
3334
3341
  @layer _base {
3335
3342
  .gds-list-heading {
3336
- padding: 0.5rem 1rem;
3343
+ background-color: var(--gds-ref-pallet-base200, #e9e9e9);
3337
3344
  font-size: 0.875rem;
3338
3345
  font-weight: 500;
3339
- background-color: var(--gds-ref-pallet-base200, #e9e9e9);
3346
+ padding: 0.5rem 1rem;
3340
3347
  }
3341
3348
  ::slotted([gds-element=gds-list-item]) {
3342
3349
  all: revert;
3350
+ border-bottom: 1px solid var(--gds-ref-pallet-base200, #e9e9e9);
3343
3351
  display: flex;
3344
3352
  gap: 0.25rem;
3345
3353
  justify-content: space-between;
3346
3354
  padding: 1rem;
3347
- border-bottom: 1px solid var(--gds-ref-pallet-base200, #e9e9e9);
3348
3355
  }
3349
3356
  }
3350
- @layer _overrides {}
3351
3357
  }`;
3352
3358
 
3353
3359
  // libs/core/src/components/grouped-list/grouped-list.trans.styles.ts
@@ -3358,7 +3364,7 @@ function register7() {
3358
3364
  // libs/core/src/utils/helpers/custom-element-scoping.ts
3359
3365
  import { html as litHtml } from "lit";
3360
3366
  import { customElement } from "lit/decorators.js";
3361
- var VER_SUFFIX = "-2d68d7";
3367
+ var VER_SUFFIX = "-8cc777";
3362
3368
  var elementLookupTable = /* @__PURE__ */ new Map();
3363
3369
  var templateCache = /* @__PURE__ */ new WeakMap();
3364
3370
  function applyElementScoping(strings, ...values) {