@sebgroup/green-core 2.4.1 → 2.5.0-rc.20250904131812192

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.
@@ -28,7 +28,7 @@ const style = css`
28
28
  block-size: var(--_block-size);
29
29
  background-color: var(--gds-sys-color-l3-neutral-01);
30
30
  color: var(--gds-sys-color-content-neutral-03);
31
- border-radius: var(--gds-sys-space-max);
31
+ border-radius: var(--gds-sys-radius-max);
32
32
  font-family: inherit;
33
33
  font: var(--gds-sys-text-detail-book-m);
34
34
  gap: var(--gds-sys-space-s);
@@ -66,8 +66,8 @@ const style = css`
66
66
  border-width: var(--gds-sys-space-3xs);
67
67
  border-style: solid;
68
68
  border-color: transparent;
69
- border-radius: var(--gds-sys-space-max);
70
- transition: background 0.2s; //might be removed
69
+ border-radius: var(--gds-sys-radius-max);
70
+ transition: background 0.2s;
71
71
  outline-style: solid;
72
72
  outline-color: transparent;
73
73
  outline-width: 0px;
@@ -174,7 +174,7 @@ const style = css`
174
174
  position: absolute;
175
175
  width: var(--gds-sys-space-xs);
176
176
  height: var(--gds-sys-space-xs);
177
- border-radius: var(--gds-sys-space-max);
177
+ border-radius: var(--gds-sys-radius-max);
178
178
  background: var(--gds-sys-color-l3-neutral-01);
179
179
  inset: calc(100% + var(--gds-sys-space-xs))
180
180
  calc(50% - var(--gds-sys-space-xs) / 2) auto auto;
@@ -18,7 +18,7 @@ declare const GdsContextMenu_base: (new (...args: any[]) => import("../../utils/
18
18
  */
19
19
  export declare class GdsContextMenu extends GdsContextMenu_base {
20
20
  #private;
21
- static styles: (import("lit").CSSResult | import("lit").CSSResult[])[];
21
+ static styles: import("lit").CSSResult[][];
22
22
  static shadowRootOptions: ShadowRootInit;
23
23
  /**
24
24
  * Whether the context menu popover is open.
@@ -25,7 +25,6 @@ import {
25
25
  import { GdsButton } from "../button/button.component.js";
26
26
  import { IconDotGridOneHorizontal } from "../icon/icons/dot-grid-one-horizontal.js";
27
27
  import { GdsPopover } from "../popover/popover.component.js";
28
- import ContextMenuStyles from "./context-menu.styles.js";
29
28
  import { GdsMenuHeading } from "../../primitives/menu/menu-heading.component.js";
30
29
  let GdsContextMenu = class extends withMarginProps(
31
30
  withLayoutChildProps(GdsElement)
@@ -111,7 +110,7 @@ _renderPopover = new WeakMap();
111
110
  handleItemClick_fn = function() {
112
111
  this.open = false;
113
112
  };
114
- GdsContextMenu.styles = [tokens, ContextMenuStyles];
113
+ GdsContextMenu.styles = [tokens];
115
114
  GdsContextMenu.shadowRootOptions = {
116
115
  mode: "open",
117
116
  delegatesFocus: true
@@ -24,7 +24,7 @@ const style = css`
24
24
  }
25
25
 
26
26
  .summary-icon {
27
- border-radius: var(--gds-sys-space-max);
27
+ border-radius: var(--gds-sys-radius-max);
28
28
  background-color: transparent;
29
29
  transition: all 280ms;
30
30
  aspect-ratio: 1;
@@ -37,7 +37,7 @@ const style = css`
37
37
  .summary-icon::after {
38
38
  content: '';
39
39
  position: absolute;
40
- border-radius: var(--gds-sys-space-max);
40
+ border-radius: var(--gds-sys-radius-max);
41
41
  transition: all 280ms;
42
42
  inset: 0;
43
43
  scale: 0.9;
@@ -89,7 +89,7 @@ const style = css`
89
89
  }
90
90
 
91
91
  .details:focus-visible {
92
- border-radius: var(--gds-sys-space-2xs);
92
+ border-radius: var(--gds-sys-radius-2xs);
93
93
  }
94
94
 
95
95
  .details.open .content {
@@ -1,5 +1,5 @@
1
1
  import { GdsElement } from '../../gds-element';
2
- declare const GdsDialog_base: (new (...args: any[]) => import("../../utils/mixins/declarative-layout-mixins").SizeXProps) & (new (...args: any[]) => import("../../utils/mixins/declarative-layout-mixins").SizeYProps) & typeof GdsElement;
2
+ declare const GdsDialog_base: (new (...args: any[]) => import("../../utils/mixins/declarative-layout-mixins").SizeXProps) & (new (...args: any[]) => import("../../utils/mixins/declarative-layout-mixins").SizeYProps) & (new (...args: any[]) => import("../../utils/mixins/declarative-layout-mixins").PaddingProps) & typeof GdsElement;
3
3
  /**
4
4
  * @element gds-dialog
5
5
  *
@@ -34,9 +34,13 @@ export declare class GdsDialog extends GdsDialog_base {
34
34
  */
35
35
  placement: 'initial' | 'top' | 'bottom' | 'left' | 'right';
36
36
  /**
37
- * The dialog's padding.
37
+ * Whether the inner content of the dialog should have scrollable overflow. Scroll will appear if
38
+ * the content exceeds the dialog's height, which can be controlled using the `height` property.
39
+ *
40
+ * This property have no effect if the `dialog` slot is used. In that case, you need to add overflow
41
+ * styles to the content inside the `dialog` slot.
38
42
  */
39
- padding?: string;
43
+ scrollable: boolean;
40
44
  private _elDialog;
41
45
  private _elTriggerSlot;
42
46
  /**
@@ -7,6 +7,7 @@ import {
7
7
  } from "../../chunks/chunk.QU3DSPNU.js";
8
8
  var _returnValue, _handleNativeClose, _dispatchCloseEvent, _dispatchShowEvent, _dispatchUiStateEvent, _GdsDialog_instances, handleTriggerSlotChange_fn, _handleTriggerClick, _handleClickOutside;
9
9
  import { localized, msg } from "@lit/localize";
10
+ import { nothing } from "lit";
10
11
  import { property, query } from "lit/decorators.js";
11
12
  import { classMap } from "lit/directives/class-map.js";
12
13
  import { ifDefined } from "lit/directives/if-defined.js";
@@ -19,6 +20,7 @@ import {
19
20
  } from "../../utils/helpers/custom-element-scoping.js";
20
21
  import { isIOS } from "../../utils/helpers/platform.js";
21
22
  import {
23
+ withPaddingProps,
22
24
  withSizeXProps,
23
25
  withSizeYProps
24
26
  } from "../../utils/mixins/declarative-layout-mixins.js";
@@ -34,14 +36,16 @@ import {
34
36
  unlockBodyScrolling
35
37
  } from "./scroll-lock.js";
36
38
  registerGlobalScrollLockStyles();
37
- let GdsDialog = class extends withSizeXProps(withSizeYProps(GdsElement)) {
39
+ let GdsDialog = class extends withSizeXProps(
40
+ withSizeYProps(withPaddingProps(GdsElement))
41
+ ) {
38
42
  constructor() {
39
43
  super(...arguments);
40
44
  __privateAdd(this, _GdsDialog_instances);
41
45
  this.open = false;
42
46
  this.variant = "default";
43
47
  this.placement = "initial";
44
- this.padding = "l";
48
+ this.scrollable = false;
45
49
  __privateAdd(this, _returnValue);
46
50
  __privateAdd(this, _handleNativeClose, (e) => {
47
51
  const dialog = e.target;
@@ -125,13 +129,10 @@ let GdsDialog = class extends withSizeXProps(withSizeYProps(GdsElement)) {
125
129
  >
126
130
  <gds-card
127
131
  class="card"
128
- display="flex"
129
132
  variant="secondary"
130
133
  box-shadow="xl"
131
- padding=${ifDefined(this.padding)}
132
134
  gap="l"
133
135
  border-radius="s"
134
- min-height="min-content"
135
136
  >
136
137
  <slot name="dialog">
137
138
  <gds-flex justify-content="space-between">
@@ -145,7 +146,11 @@ let GdsDialog = class extends withSizeXProps(withSizeYProps(GdsElement)) {
145
146
  ><gds-icon-cross-small></gds-icon-cross-small
146
147
  ></gds-button>
147
148
  </gds-flex>
148
- <gds-div id="content" flex="1">
149
+ <gds-div
150
+ id="content"
151
+ flex="1"
152
+ overflow=${ifDefined(this.scrollable) ? "auto" : nothing}
153
+ >
149
154
  <slot></slot>
150
155
  </gds-div>
151
156
  <gds-flex
@@ -210,7 +215,7 @@ handleTriggerSlotChange_fn = function() {
210
215
  _handleTriggerClick = new WeakMap();
211
216
  _handleClickOutside = new WeakMap();
212
217
  GdsDialog.styles = [DialogStyles];
213
- GdsDialog.styleExpressionBaseSelector = "dialog";
218
+ GdsDialog.styleExpressionBaseSelector = ".card";
214
219
  __decorateClass([
215
220
  property({ type: Boolean, reflect: true })
216
221
  ], GdsDialog.prototype, "open", 2);
@@ -224,8 +229,8 @@ __decorateClass([
224
229
  property()
225
230
  ], GdsDialog.prototype, "placement", 2);
226
231
  __decorateClass([
227
- property()
228
- ], GdsDialog.prototype, "padding", 2);
232
+ property({ type: Boolean })
233
+ ], GdsDialog.prototype, "scrollable", 2);
229
234
  __decorateClass([
230
235
  query("dialog")
231
236
  ], GdsDialog.prototype, "_elDialog", 2);
@@ -7,6 +7,7 @@ import { tokens } from "../../tokens.style.js";
7
7
  import { styleExpressionProperty } from "../../utils/decorators/style-expression-property.js";
8
8
  import {
9
9
  forColorTokens,
10
+ forRadiusTokens,
10
11
  forSpaceTokens,
11
12
  parseColorValue
12
13
  } from "../../utils/helpers/index.js";
@@ -76,7 +77,7 @@ __decorateClass([
76
77
  styleExpressionProperty()
77
78
  ], GdsDiv.prototype, "border-style", 2);
78
79
  __decorateClass([
79
- styleExpressionProperty(forSpaceTokens)
80
+ styleExpressionProperty(forRadiusTokens)
80
81
  ], GdsDiv.prototype, "border-radius", 2);
81
82
  __decorateClass([
82
83
  styleExpressionProperty({
@@ -33,7 +33,7 @@ const style = css`
33
33
  }
34
34
 
35
35
  input[type='text'] {
36
- border-radius: var(--gds-sys-space-xs);
36
+ border-radius: var(--gds-sys-radius-xs);
37
37
  border-bottom-left-radius: 0;
38
38
  border-bottom-right-radius: 0;
39
39
  font-size: inherit;
@@ -1,7 +1,6 @@
1
1
  import { GdsDiv } from '../div/div.component';
2
2
  /**
3
3
  * @element gds-flex
4
- * @status beta
5
4
  *
6
5
  * The `gds-flex` component extends the `gds-div` and sets the display property to `flex` by default. It is otherwise identical to the `gds-div` component.
7
6
  */
@@ -143,7 +143,7 @@ const style = css`
143
143
  */
144
144
  img {
145
145
  display: block;
146
- border-radius: var(--gds-sys-space-xs);
146
+ border-radius: var(--gds-sys-radius-xs);
147
147
  }
148
148
 
149
149
  figure {
@@ -166,7 +166,7 @@ const style = css`
166
166
  border-spacing: 0;
167
167
  width: 100%;
168
168
  border: var(--default-border);
169
- border-radius: var(--gds-sys-space-s);
169
+ border-radius: var(--gds-sys-radius-s);
170
170
  margin-top: var(--gds-sys-space-xl);
171
171
  }
172
172
 
@@ -225,7 +225,7 @@ const style = css`
225
225
  }
226
226
 
227
227
  summary:focus-visible {
228
- border-radius: var(--gds-sys-space-2xs);
228
+ border-radius: var(--gds-sys-radius-2xs);
229
229
  }
230
230
 
231
231
  details:hover summary {
@@ -282,7 +282,7 @@ const style = css`
282
282
  */
283
283
  iframe {
284
284
  border: var(--gds-sys-space-4xs) solid var(--gds-sys-color-border-subtle-01);
285
- border-radius: var(--gds-sys-space-xs);
285
+ border-radius: var(--gds-sys-radius-xs);
286
286
  min-width: 100%;
287
287
  margin-bottom: var(--gds-sys-space-l);
288
288
  }
@@ -10,7 +10,7 @@ const style = css`
10
10
  button {
11
11
  appearance: none;
12
12
  background: transparent;
13
- border-radius: var(--gds-sys-space-max);
13
+ border-radius: var(--gds-sys-radius-max);
14
14
  border-width: 0;
15
15
  color: var(--gds-sys-color-content-neutral-01);
16
16
  cursor: pointer;
@@ -5,7 +5,7 @@ const style = css`
5
5
  :host {
6
6
  background-color: var(--gds-sys-color-l3-neutral-02);
7
7
  border: 0.25rem solid transparent;
8
- border-radius: var(--gds-sys-space-max);
8
+ border-radius: var(--gds-sys-radius-max);
9
9
  box-sizing: border-box;
10
10
  contain: layout;
11
11
  display: inline-flex;
@@ -42,7 +42,7 @@ const style = css`
42
42
  align-items: center;
43
43
  appearance: none;
44
44
  aspect-ratio: 1;
45
- border-radius: var(--gds-sys-space-max);
45
+ border-radius: var(--gds-sys-radius-max);
46
46
  border-width: 0;
47
47
  background-color: var(--gds-sys-color-l3-neutral-02);
48
48
  color: var(--gds-sys-color-content-neutral-01);
@@ -97,7 +97,7 @@ const style = css`
97
97
 
98
98
  #indicator {
99
99
  background-color: var(--gds-sys-color-l3-neutral-04);
100
- border-radius: var(--gds-sys-space-max);
100
+ border-radius: var(--gds-sys-radius-max);
101
101
  height: 100%;
102
102
  left: 0;
103
103
  position: absolute;
@@ -12,7 +12,7 @@ const style = css`
12
12
  position: relative;
13
13
  width: 6px;
14
14
  height: 6px;
15
- border-radius: var(--gds-sys-space-max);
15
+ border-radius: var(--gds-sys-radius-max);
16
16
  background-color: currentColor;
17
17
  transition: all 0.4s;
18
18
 
@@ -65,6 +65,7 @@ GdsTheme.styles = [
65
65
  :host {
66
66
  display: contents;
67
67
  color: var(--gds-sys-color-content-neutral-01);
68
+ font-family: var(--gds-sys-text-family);
68
69
  }
69
70
  `
70
71
  ];
package/gds-element.js CHANGED
@@ -14,7 +14,7 @@ class GdsElement extends LitElement {
14
14
  /**
15
15
  * The semantic version of this element. Can be used for troubleshooting to verify the version being used.
16
16
  */
17
- this.semanticVersion = "2.4.1";
17
+ this.semanticVersion = "2.5.0-rc.20250904131812192";
18
18
  this._isUsingTransitionalStyles = false;
19
19
  this._dynamicStylesController = new DynamicStylesController(this);
20
20
  }
@@ -5,7 +5,7 @@ export declare const GdsDialog: (props: React.ComponentProps<ReturnType<typeof g
5
5
  heading?: string | undefined;
6
6
  variant?: "default" | "slide-out" | undefined;
7
7
  placement?: "top" | "right" | "bottom" | "left" | "initial" | undefined;
8
- padding?: string | undefined;
8
+ scrollable?: boolean | undefined;
9
9
  show?: ((reason?: string) => void) | undefined;
10
10
  close?: ((reason: string) => void) | undefined;
11
11
  disconnectedCallback?: (() => void) | undefined;
@@ -22,6 +22,9 @@ export declare const GdsDialog: (props: React.ComponentProps<ReturnType<typeof g
22
22
  'block-size'?: string | undefined;
23
23
  'min-block-size'?: string | undefined;
24
24
  'max-block-size'?: string | undefined;
25
+ padding?: string | undefined;
26
+ 'padding-inline'?: string | undefined;
27
+ 'padding-block'?: string | undefined;
25
28
  readonly semanticVersion?: "__GDS_SEM_VER__" | undefined;
26
29
  gdsElementName?: string | undefined;
27
30
  _isUsingTransitionalStyles?: boolean | undefined;
@@ -41,8 +41,8 @@ export * from './theme/index.js';
41
41
  export * from './video/index.js';
42
42
  export * from './form-control-footer/index.js';
43
43
  export * from './form-control-header/index.js';
44
- export * from './menu-item/index.js';
45
44
  export * from './option/index.js';
45
+ export * from './menu-item/index.js';
46
46
  export * from './checkbox-group/index.js';
47
47
  export * from './icons/icon-details/index.js';
48
48
  export * from './filter-chip/index.js';
@@ -41,8 +41,8 @@ export * from "./theme/index.js";
41
41
  export * from "./video/index.js";
42
42
  export * from "./form-control-footer/index.js";
43
43
  export * from "./form-control-header/index.js";
44
- export * from "./menu-item/index.js";
45
44
  export * from "./option/index.js";
45
+ export * from "./menu-item/index.js";
46
46
  export * from "./checkbox-group/index.js";
47
47
  export * from "./icons/icon-details/index.js";
48
48
  export * from "./filter-chip/index.js";
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": "2.4.1",
4
+ "version": "2.5.0-rc.20250904131812192",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
7
7
  "type": "module",
@@ -1,2 +1,2 @@
1
- const styles = "/**\n * Do not edit directly, this file was auto-generated.\n */\n\n --gds-sys-state-hover-state-layer-opacity: 0.1;\n --gds-sys-motion-easing-ease-in: 0.64, 0, 0.78, 0;\n --gds-sys-motion-easing-ease-in-out: 0.83, 0, 0.17, 1;\n --gds-sys-motion-easing-ease-out: 0.22, 1, 0.36, 1;\n --gds-sys-motion-easing-linear: 0, 0, 1, 1;\n --gds-sys-motion-duration-fastest: .2s;\n --gds-sys-motion-duration-fast: .4s;\n --gds-sys-motion-duration-default: .5s;\n --gds-sys-motion-duration-slow: 1s;\n --gds-sys-motion-duration-slowest: 1.5s;\n --gds-sys-viewport-xs: 375;\n --gds-sys-viewport-s: 430;\n --gds-sys-viewport-m: 768;\n --gds-sys-viewport-l: 1024;\n --gds-sys-viewport-xl: 1440;\n --gds-sys-viewport-2xl: 2560;\n --gds-sys-viewport-3xl: 3840;\n --gds-sys-text-family: SEB SansSerif GDS;\n --gds-sys-text-weight-light: 300;\n --gds-sys-text-weight-regular: 400;\n --gds-sys-text-weight-book: 450;\n --gds-sys-text-weight-medium: 500;\n --gds-sys-text-weight-bold: 700;\n --gds-sys-text-heading-xl: 450 32px/44px SEB SansSerif GDS;\n --gds-sys-text-heading-l: 450 28px/40px SEB SansSerif GDS;\n --gds-sys-text-heading-m: 450 24px/32px SEB SansSerif GDS;\n --gds-sys-text-heading-s: 450 20px/28px SEB SansSerif GDS;\n --gds-sys-text-heading-xs: 450 16px/24px SEB SansSerif GDS;\n --gds-sys-text-heading-2xs: 450 14px/20px SEB SansSerif GDS;\n --gds-sys-text-detail-book-m: 450 16px/20px SEB SansSerif GDS;\n --gds-sys-text-detail-book-s: 450 14px/18px SEB SansSerif GDS;\n --gds-sys-text-detail-book-xs: 450 12px/16px SEB SansSerif GDS;\n --gds-sys-text-detail-regular-m: 400 16px/20px SEB SansSerif GDS;\n --gds-sys-text-detail-regular-s: 400 14px/18px SEB SansSerif GDS;\n --gds-sys-text-detail-regular-xs: 400 12px/16px SEB SansSerif GDS;\n --gds-sys-text-body-book-l: 450 20px/26px SEB SansSerif GDS;\n --gds-sys-text-body-book-m: 450 16px/24px SEB SansSerif GDS;\n --gds-sys-text-body-book-s: 450 14px/20px SEB SansSerif GDS;\n --gds-sys-text-body-regular-l: 400 20px/26px SEB SansSerif GDS;\n --gds-sys-text-body-regular-m: 400 16px/24px SEB SansSerif GDS;\n --gds-sys-text-body-regular-s: 400 14px/20px SEB SansSerif GDS;\n --gds-sys-text-body-italic-l: italic 400 20px/26px SEB SansSerif GDS;\n --gds-sys-text-body-italic-m: italic 400 16px/24px SEB SansSerif GDS;\n --gds-sys-text-body-italic-s: italic 400 14px/20px SEB SansSerif GDS;\n --gds-sys-text-display-2xl: 450 82px/90px SEB SansSerif GDS;\n --gds-sys-text-display-xl: 450 64px/72px SEB SansSerif GDS;\n --gds-sys-text-display-l: 450 48px/56px SEB SansSerif GDS;\n --gds-sys-text-display-m: 450 36px/44px SEB SansSerif GDS;\n --gds-sys-text-display-s: 450 32px/40px SEB SansSerif GDS;\n --gds-sys-text-preamble-2xl: 450 32px/40px SEB SansSerif GDS;\n --gds-sys-text-preamble-xl: 450 28px/36px SEB SansSerif GDS;\n --gds-sys-text-preamble-l: 450 24px/32px SEB SansSerif GDS;\n --gds-sys-text-preamble-m: 450 20px/28px SEB SansSerif GDS;\n --gds-sys-text-preamble-s: 450 18px/26px SEB SansSerif GDS;\n --gds-sys-text-preamble-xs: 450 16px/24px SEB SansSerif GDS;\n --gds-sys-space-0: 0px;\n --gds-sys-space-4xs: 1px;\n --gds-sys-space-3xs: 2px;\n --gds-sys-space-2xs: 4px;\n --gds-sys-space-xs: 8px;\n --gds-sys-space-s: 12px;\n --gds-sys-space-m: 16px;\n --gds-sys-space-l: 24px;\n --gds-sys-space-xl: 32px;\n --gds-sys-space-2xl: 40px;\n --gds-sys-space-3xl: 48px;\n --gds-sys-space-4xl: 64px;\n --gds-sys-space-5xl: 80px;\n --gds-sys-space-6xl: 96px;\n --gds-sys-space-7xl: 112px;\n --gds-sys-space-8xl: 120px;\n --gds-sys-space-max: 999px;\n --gds-sys-radius-none: 0px;\n --gds-sys-radius-2xs: 2px;\n --gds-sys-radius-xs: 4px;\n --gds-sys-radius-s: 8px;\n --gds-sys-radius-m: 16px;\n --gds-sys-radius-l: 24px;\n --gds-sys-radius-xl: 32px;\n --gds-sys-radius-2xl: 40px;\n --gds-sys-radius-max: 999px;";
1
+ const styles = "/**\n * Do not edit directly, this file was auto-generated.\n */\n\n --gds-sys-state-hover-state-layer-opacity: 0.1;\n --gds-sys-motion-easing-ease-in: 0.64, 0, 0.78, 0;\n --gds-sys-motion-easing-ease-in-out: 0.83, 0, 0.17, 1;\n --gds-sys-motion-easing-ease-out: 0.22, 1, 0.36, 1;\n --gds-sys-motion-easing-linear: 0, 0, 1, 1;\n --gds-sys-motion-duration-fastest: .2s;\n --gds-sys-motion-duration-fast: .4s;\n --gds-sys-motion-duration-default: .5s;\n --gds-sys-motion-duration-slow: 1s;\n --gds-sys-motion-duration-slowest: 1.5s;\n --gds-sys-viewport-xs: 375;\n --gds-sys-viewport-s: 430;\n --gds-sys-viewport-m: 768;\n --gds-sys-viewport-l: 1024;\n --gds-sys-viewport-xl: 1440;\n --gds-sys-viewport-2xl: 2560;\n --gds-sys-viewport-3xl: 3840;\n --gds-sys-text-family: SEB SansSerif, SEB SansSerif GDS, SEBSansSerif;\n --gds-sys-text-weight-light: 300;\n --gds-sys-text-weight-regular: 400;\n --gds-sys-text-weight-book: 450;\n --gds-sys-text-weight-medium: 500;\n --gds-sys-text-weight-bold: 700;\n --gds-sys-text-heading-xl: 450 32px/44px SEB SansSerif, SEB SansSerif GDS, SEBSansSerif;\n --gds-sys-text-heading-l: 450 28px/40px SEB SansSerif, SEB SansSerif GDS, SEBSansSerif;\n --gds-sys-text-heading-m: 450 24px/32px SEB SansSerif, SEB SansSerif GDS, SEBSansSerif;\n --gds-sys-text-heading-s: 450 20px/28px SEB SansSerif, SEB SansSerif GDS, SEBSansSerif;\n --gds-sys-text-heading-xs: 450 16px/24px SEB SansSerif, SEB SansSerif GDS, SEBSansSerif;\n --gds-sys-text-heading-2xs: 450 14px/20px SEB SansSerif, SEB SansSerif GDS, SEBSansSerif;\n --gds-sys-text-detail-book-m: 450 16px/20px SEB SansSerif, SEB SansSerif GDS, SEBSansSerif;\n --gds-sys-text-detail-book-s: 450 14px/18px SEB SansSerif, SEB SansSerif GDS, SEBSansSerif;\n --gds-sys-text-detail-book-xs: 450 12px/16px SEB SansSerif, SEB SansSerif GDS, SEBSansSerif;\n --gds-sys-text-detail-regular-m: 400 16px/20px SEB SansSerif, SEB SansSerif GDS, SEBSansSerif;\n --gds-sys-text-detail-regular-s: 400 14px/18px SEB SansSerif, SEB SansSerif GDS, SEBSansSerif;\n --gds-sys-text-detail-regular-xs: 400 12px/16px SEB SansSerif, SEB SansSerif GDS, SEBSansSerif;\n --gds-sys-text-body-book-l: 450 20px/26px SEB SansSerif, SEB SansSerif GDS, SEBSansSerif;\n --gds-sys-text-body-book-m: 450 16px/24px SEB SansSerif, SEB SansSerif GDS, SEBSansSerif;\n --gds-sys-text-body-book-s: 450 14px/20px SEB SansSerif, SEB SansSerif GDS, SEBSansSerif;\n --gds-sys-text-body-regular-l: 400 20px/26px SEB SansSerif, SEB SansSerif GDS, SEBSansSerif;\n --gds-sys-text-body-regular-m: 400 16px/24px SEB SansSerif, SEB SansSerif GDS, SEBSansSerif;\n --gds-sys-text-body-regular-s: 400 14px/20px SEB SansSerif, SEB SansSerif GDS, SEBSansSerif;\n --gds-sys-text-body-italic-l: italic 400 20px/26px SEB SansSerif, SEB SansSerif GDS, SEBSansSerif;\n --gds-sys-text-body-italic-m: italic 400 16px/24px SEB SansSerif, SEB SansSerif GDS, SEBSansSerif;\n --gds-sys-text-body-italic-s: italic 400 14px/20px SEB SansSerif, SEB SansSerif GDS, SEBSansSerif;\n --gds-sys-text-display-2xl: 450 82px/90px SEB SansSerif, SEB SansSerif GDS, SEBSansSerif;\n --gds-sys-text-display-xl: 450 64px/72px SEB SansSerif, SEB SansSerif GDS, SEBSansSerif;\n --gds-sys-text-display-l: 450 48px/56px SEB SansSerif, SEB SansSerif GDS, SEBSansSerif;\n --gds-sys-text-display-m: 450 36px/44px SEB SansSerif, SEB SansSerif GDS, SEBSansSerif;\n --gds-sys-text-display-s: 450 32px/40px SEB SansSerif, SEB SansSerif GDS, SEBSansSerif;\n --gds-sys-text-preamble-2xl: 450 32px/40px SEB SansSerif, SEB SansSerif GDS, SEBSansSerif;\n --gds-sys-text-preamble-xl: 450 28px/36px SEB SansSerif, SEB SansSerif GDS, SEBSansSerif;\n --gds-sys-text-preamble-l: 450 24px/32px SEB SansSerif, SEB SansSerif GDS, SEBSansSerif;\n --gds-sys-text-preamble-m: 450 20px/28px SEB SansSerif, SEB SansSerif GDS, SEBSansSerif;\n --gds-sys-text-preamble-s: 450 18px/26px SEB SansSerif, SEB SansSerif GDS, SEBSansSerif;\n --gds-sys-text-preamble-xs: 450 16px/24px SEB SansSerif, SEB SansSerif GDS, SEBSansSerif;\n --gds-sys-space-0: 0px;\n --gds-sys-space-4xs: 1px;\n --gds-sys-space-3xs: 2px;\n --gds-sys-space-2xs: 4px;\n --gds-sys-space-xs: 8px;\n --gds-sys-space-s: 12px;\n --gds-sys-space-m: 16px;\n --gds-sys-space-l: 24px;\n --gds-sys-space-xl: 32px;\n --gds-sys-space-2xl: 40px;\n --gds-sys-space-3xl: 48px;\n --gds-sys-space-4xl: 64px;\n --gds-sys-space-5xl: 80px;\n --gds-sys-space-6xl: 96px;\n --gds-sys-space-7xl: 112px;\n --gds-sys-space-8xl: 120px;\n --gds-sys-space-max: 999px;\n --gds-sys-radius-none: 0px;\n --gds-sys-radius-2xs: 2px;\n --gds-sys-radius-xs: 4px;\n --gds-sys-radius-s: 8px;\n --gds-sys-radius-m: 16px;\n --gds-sys-radius-l: 24px;\n --gds-sys-radius-xl: 32px;\n --gds-sys-radius-2xl: 40px;\n --gds-sys-radius-max: 999px;";
2
2
  export default styles;
@@ -1,6 +1,6 @@
1
1
  import "../../chunks/chunk.QU3DSPNU.js";
2
2
  import { html as litHtml } from "lit";
3
- const VER_SUFFIX = "-f0000c";
3
+ const VER_SUFFIX = "-dc5b4b";
4
4
  class ScopedElementRegistry {
5
5
  static get instance() {
6
6
  if (!globalThis.__gdsElementLookupTable?.[VER_SUFFIX])
@@ -22,6 +22,10 @@ export declare function forColorTokens(context: string): StyleExpressionProperty
22
22
  * Create options for style expression properties that expect space tokens.
23
23
  */
24
24
  export declare const forSpaceTokens: StyleExpressionPropertyOptions;
25
+ /**
26
+ * Create options for style expression properties that expect radius tokens.
27
+ */
28
+ export declare const forRadiusTokens: StyleExpressionPropertyOptions;
25
29
  /**
26
30
  * Create options for style expression properties that expect space tokens.
27
31
  */
@@ -22,6 +22,9 @@ function forColorTokens(context) {
22
22
  const forSpaceTokens = {
23
23
  valueTemplate: (value) => `var(--gds-sys-space-${value}, 0)`
24
24
  };
25
+ const forRadiusTokens = {
26
+ valueTemplate: (value) => `var(--gds-sys-radius-${value}, 0)`
27
+ };
25
28
  const forSpaceTokensAndCustomValues = {
26
29
  valueTemplate: (value) => `var(--gds-sys-space-${sanitizeVariableName(value)}, ${value})`
27
30
  };
@@ -45,6 +48,7 @@ function sanitizeVariableName(name) {
45
48
  }
46
49
  export {
47
50
  forColorTokens,
51
+ forRadiusTokens,
48
52
  forSpaceTokens,
49
53
  forSpaceTokensAndCustomValues,
50
54
  forSpaceTokensSupportingNegative,
@@ -1,2 +0,0 @@
1
- declare const style: import("lit").CSSResult;
2
- export default style;
@@ -1,41 +0,0 @@
1
- import "../../chunks/chunk.QU3DSPNU.js";
2
- import { css } from "lit";
3
- const style = css`
4
- @layer base, reset, transitional-styles;
5
- @layer base {
6
- :host {
7
- display: inline-block;
8
- }
9
-
10
- button {
11
- display: flex;
12
- border-width: 0;
13
- background-color: var(--gds-sys-color-l3-neutral-02);
14
- border-radius: calc(1px * infinity);
15
- padding: 0.4rem 0.8rem;
16
- font-family: inherit;
17
- cursor: pointer;
18
- align-items: center;
19
- gap: 0.5rem;
20
-
21
- &:focus-visible {
22
- outline-offset: var(--gds-sys-space-3xs);
23
- outline-style: solid;
24
- outline-width: var(--gds-sys-space-3xs);
25
- outline-color: var(--gds-sys-color-content-neutral-01);
26
- }
27
- }
28
-
29
- button:hover {
30
- background-color: color-mix(
31
- in srgb,
32
- var(--gds-sys-color-l3-neutral-02),
33
- var(--gds-sys-color-state-neutral-03)
34
- );
35
- }
36
- }
37
- `;
38
- var context_menu_styles_default = style;
39
- export {
40
- context_menu_styles_default as default
41
- };