@sebgroup/green-core 2.33.0 → 2.34.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.
package/gds-element.js CHANGED
@@ -12,7 +12,7 @@ class GdsElement extends LitElement {
12
12
  /**
13
13
  * The semantic version of this element. Can be used for troubleshooting to verify the version being used.
14
14
  */
15
- this.semanticVersion = "2.33.0";
15
+ this.semanticVersion = "2.34.0";
16
16
  this._isUsingTransitionalStyles = false;
17
17
  this._dynamicStylesController = new DynamicStylesController(this);
18
18
  }
@@ -1,5 +1,5 @@
1
1
  {
2
- "generatedAt": "2026-02-19T11:17:04.188Z",
2
+ "generatedAt": "2026-02-19T14:05:03.753Z",
3
3
  "components": [
4
4
  {
5
5
  "name": "gds-alert",
@@ -1,5 +1,5 @@
1
1
  {
2
- "generatedAt": "2026-02-19T11:17:04.188Z",
2
+ "generatedAt": "2026-02-19T14:05:03.753Z",
3
3
  "icons": [
4
4
  {
5
5
  "name": "gds-icon-ai",
@@ -1,5 +1,5 @@
1
1
  {
2
- "generatedAt": "2026-02-19T11:17:04.188Z",
2
+ "generatedAt": "2026-02-19T14:05:03.753Z",
3
3
  "instructions": "./INSTRUCTIONS.md",
4
4
  "components": "./components.json",
5
5
  "icons": "./icons.json",
@@ -43,17 +43,12 @@ export * from './theme/index.js';
43
43
  export * from './video/index.js';
44
44
  export * from './card-pattern-01/index.js';
45
45
  export * from './breadcrumb/index.js';
46
+ export * from './checkbox-group/index.js';
46
47
  export * from './icons/icon-details/index.js';
47
- export * from './formatted-account/index.js';
48
48
  export * from './filter-chip/index.js';
49
- export * from './checkbox-group/index.js';
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 './radio-group/index.js';
53
- export * from './segment/index.js';
54
- export * from './sensitive-account/index.js';
55
- export * from './sensitive-date/index.js';
56
- export * from './sensitive-number/index.js';
57
52
  export * from './icons/icon-ai/index.js';
58
53
  export * from './icons/icon-airplane-up/index.js';
59
54
  export * from './icons/icon-archive/index.js';
@@ -390,6 +385,11 @@ export * from './icons/icon-youtube/index.js';
390
385
  export * from './icons/icon-zap/index.js';
391
386
  export * from './icons/icon-zoom-in/index.js';
392
387
  export * from './icons/icon-zoom-out/index.js';
388
+ export * from './radio-group/index.js';
389
+ export * from './segment/index.js';
390
+ export * from './sensitive-account/index.js';
391
+ export * from './sensitive-number/index.js';
392
+ export * from './sensitive-date/index.js';
393
393
  export * from './menu-item/index.js';
394
394
  export * from './menu-heading/index.js';
395
395
  export * from './option/index.js';
@@ -43,17 +43,12 @@ export * from "./theme/index.js";
43
43
  export * from "./video/index.js";
44
44
  export * from "./card-pattern-01/index.js";
45
45
  export * from "./breadcrumb/index.js";
46
+ export * from "./checkbox-group/index.js";
46
47
  export * from "./icons/icon-details/index.js";
47
- export * from "./formatted-account/index.js";
48
48
  export * from "./filter-chip/index.js";
49
- export * from "./checkbox-group/index.js";
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 "./radio-group/index.js";
53
- export * from "./segment/index.js";
54
- export * from "./sensitive-account/index.js";
55
- export * from "./sensitive-date/index.js";
56
- export * from "./sensitive-number/index.js";
57
52
  export * from "./icons/icon-ai/index.js";
58
53
  export * from "./icons/icon-airplane-up/index.js";
59
54
  export * from "./icons/icon-archive/index.js";
@@ -390,6 +385,11 @@ export * from "./icons/icon-youtube/index.js";
390
385
  export * from "./icons/icon-zap/index.js";
391
386
  export * from "./icons/icon-zoom-in/index.js";
392
387
  export * from "./icons/icon-zoom-out/index.js";
388
+ export * from "./radio-group/index.js";
389
+ export * from "./segment/index.js";
390
+ export * from "./sensitive-account/index.js";
391
+ export * from "./sensitive-number/index.js";
392
+ export * from "./sensitive-date/index.js";
393
393
  export * from "./menu-item/index.js";
394
394
  export * from "./menu-heading/index.js";
395
395
  export * from "./option/index.js";
package/package.json CHANGED
@@ -1,12 +1,13 @@
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.33.0",
4
+ "version": "2.34.0",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
7
7
  "type": "module",
8
8
  "bin": {
9
- "green-core-mcp": "./bin/mcp-server/index.js"
9
+ "green-core-mcp": "./bin/mcp-server/index.js",
10
+ "green-core-context": "./bin/context-cli/index.js"
10
11
  },
11
12
  "author": "SEB Open Source <opensource@seb.se> (https://github.com/seb-oss)",
12
13
  "contributors": [],
@@ -1,6 +1,6 @@
1
1
  import "../../chunks/chunk.QU3DSPNU.js";
2
2
  import { html as litHtml } from "lit";
3
- const VER_SUFFIX = "-9f19f2";
3
+ const VER_SUFFIX = "-32d875";
4
4
  class ScopedElementRegistry {
5
5
  static get instance() {
6
6
  if (!globalThis.__gdsElementLookupTable?.[VER_SUFFIX])
@@ -1,6 +1,7 @@
1
1
  import "../../chunks/chunk.QU3DSPNU.js";
2
2
  import { html, render } from "lit";
3
3
  import { page, userEvent } from "@vitest/browser/context";
4
+ const CLICK_TIMEOUT_MS = 3e3;
4
5
  async function fixture(template) {
5
6
  const container = document.createElement("div");
6
7
  document.body.appendChild(container);
@@ -27,9 +28,12 @@ async function clickOnElement(el, _position = "center", _offsetX = 0, _offsetY =
27
28
  const rect = el.getBoundingClientRect();
28
29
  const position = getClickPosition(rect, _position, _offsetX, _offsetY);
29
30
  try {
30
- await withTimeout(userEvent.click(el, { position }), 1e3);
31
+ await withTimeout(userEvent.click(el, { position }), CLICK_TIMEOUT_MS);
31
32
  } catch (error) {
32
- await withTimeout(userEvent.click(el, { position, force: true }), 1e3);
33
+ await withTimeout(
34
+ userEvent.click(el, { position, force: true }),
35
+ CLICK_TIMEOUT_MS
36
+ );
33
37
  }
34
38
  }
35
39
  async function withTimeout(promise, ms) {