@sebgroup/green-core 2.5.0 → 2.5.1

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.
@@ -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.5.0";
17
+ this.semanticVersion = "2.5.1";
18
18
  this._isUsingTransitionalStyles = false;
19
19
  this._dynamicStylesController = new DynamicStylesController(this);
20
20
  }
@@ -12,9 +12,9 @@ export * from './datepicker/index.js';
12
12
  export * from './details/index.js';
13
13
  export * from './dialog/index.js';
14
14
  export * from './div/index.js';
15
- export * from './divider/index.js';
16
15
  export * from './dropdown/index.js';
17
16
  export * from './fab/index.js';
17
+ export * from './divider/index.js';
18
18
  export * from './filter-chips/index.js';
19
19
  export * from './flex/index.js';
20
20
  export * from './form-summary/index.js';
@@ -22,10 +22,10 @@ export * from './grid/index.js';
22
22
  export * from './grouped-list/index.js';
23
23
  export * from './list-item/index.js';
24
24
  export * from './icons/icon/index.js';
25
- export * from './img/index.js';
26
25
  export * from './input/index.js';
27
26
  export * from './link/index.js';
28
27
  export * from './mask/index.js';
28
+ export * from './img/index.js';
29
29
  export * from './menu-button/index.js';
30
30
  export * from './backdrop/index.js';
31
31
  export * from './popover/index.js';
@@ -49,10 +49,6 @@ export * from './filter-chip/index.js';
49
49
  export * from './formatted-account/index.js';
50
50
  export * from './formatted-date/index.js';
51
51
  export * from './formatted-number/index.js';
52
- export * from './segment/index.js';
53
- export * from './sensitive-account/index.js';
54
- export * from './radio-group/index.js';
55
- export * from './sensitive-date/index.js';
56
52
  export * from './icons/icon-ai/index.js';
57
53
  export * from './icons/icon-airplane-up/index.js';
58
54
  export * from './icons/icon-archive/index.js';
@@ -378,4 +374,8 @@ export * from './icons/icon-youtube/index.js';
378
374
  export * from './icons/icon-zap/index.js';
379
375
  export * from './icons/icon-zoom-in/index.js';
380
376
  export * from './icons/icon-zoom-out/index.js';
377
+ export * from './radio-group/index.js';
378
+ export * from './segment/index.js';
379
+ export * from './sensitive-account/index.js';
380
+ export * from './sensitive-date/index.js';
381
381
  export * from './sensitive-number/index.js';
@@ -12,9 +12,9 @@ export * from "./datepicker/index.js";
12
12
  export * from "./details/index.js";
13
13
  export * from "./dialog/index.js";
14
14
  export * from "./div/index.js";
15
- export * from "./divider/index.js";
16
15
  export * from "./dropdown/index.js";
17
16
  export * from "./fab/index.js";
17
+ export * from "./divider/index.js";
18
18
  export * from "./filter-chips/index.js";
19
19
  export * from "./flex/index.js";
20
20
  export * from "./form-summary/index.js";
@@ -22,10 +22,10 @@ export * from "./grid/index.js";
22
22
  export * from "./grouped-list/index.js";
23
23
  export * from "./list-item/index.js";
24
24
  export * from "./icons/icon/index.js";
25
- export * from "./img/index.js";
26
25
  export * from "./input/index.js";
27
26
  export * from "./link/index.js";
28
27
  export * from "./mask/index.js";
28
+ export * from "./img/index.js";
29
29
  export * from "./menu-button/index.js";
30
30
  export * from "./backdrop/index.js";
31
31
  export * from "./popover/index.js";
@@ -49,10 +49,6 @@ export * from "./filter-chip/index.js";
49
49
  export * from "./formatted-account/index.js";
50
50
  export * from "./formatted-date/index.js";
51
51
  export * from "./formatted-number/index.js";
52
- export * from "./segment/index.js";
53
- export * from "./sensitive-account/index.js";
54
- export * from "./radio-group/index.js";
55
- export * from "./sensitive-date/index.js";
56
52
  export * from "./icons/icon-ai/index.js";
57
53
  export * from "./icons/icon-airplane-up/index.js";
58
54
  export * from "./icons/icon-archive/index.js";
@@ -378,4 +374,8 @@ export * from "./icons/icon-youtube/index.js";
378
374
  export * from "./icons/icon-zap/index.js";
379
375
  export * from "./icons/icon-zoom-in/index.js";
380
376
  export * from "./icons/icon-zoom-out/index.js";
377
+ export * from "./radio-group/index.js";
378
+ export * from "./segment/index.js";
379
+ export * from "./sensitive-account/index.js";
380
+ export * from "./sensitive-date/index.js";
381
381
  export * from "./sensitive-number/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.5.0",
4
+ "version": "2.5.1",
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 = "-1b408b";
3
+ const VER_SUFFIX = "-d59541";
4
4
  class ScopedElementRegistry {
5
5
  static get instance() {
6
6
  if (!globalThis.__gdsElementLookupTable?.[VER_SUFFIX])