@sebgroup/green-core 3.26.1 → 3.26.2

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
@@ -16,7 +16,7 @@ class GdsElement extends LitElement {
16
16
  /**
17
17
  * The semantic version of this element. Can be used for troubleshooting to verify the version being used.
18
18
  */
19
- this.semanticVersion = "3.26.1";
19
+ this.semanticVersion = "3.26.2";
20
20
  this.syncFirstRender = false;
21
21
  this._isUsingTransitionalStyles = false;
22
22
  this._dynamicStylesController = new DynamicStylesController(this);
@@ -1,5 +1,5 @@
1
1
  {
2
- "generatedAt": "2026-10-02T14:13:22.005Z",
2
+ "generatedAt": "2026-10-06T11:23:04.514Z",
3
3
  "components": [
4
4
  {
5
5
  "name": "gds-alert",
@@ -1,5 +1,5 @@
1
1
  {
2
- "generatedAt": "2026-10-02T14:13:22.005Z",
2
+ "generatedAt": "2026-10-06T11:23:04.514Z",
3
3
  "icons": [
4
4
  {
5
5
  "name": "gds-icon-ai",
@@ -1,5 +1,5 @@
1
1
  {
2
- "generatedAt": "2026-10-02T14:13:22.005Z",
2
+ "generatedAt": "2026-10-06T11:23:04.514Z",
3
3
  "instructions": "./INSTRUCTIONS.md",
4
4
  "components": "./components.json",
5
5
  "icons": "./icons.json",
@@ -1,5 +1,5 @@
1
1
  {
2
- "generatedAt": "2026-10-02T14:13:20.025Z",
2
+ "generatedAt": "2026-10-06T11:23:04.418Z",
3
3
  "categories": {
4
4
  "space": {
5
5
  "description": "Spacing tokens for padding, margin, gap, and other spacing",
@@ -1,8 +1,8 @@
1
1
  export * from './alert/index.js';
2
2
  export * from './avatar/index.js';
3
+ export * from './blur/index.js';
3
4
  export * from './badge/index.js';
4
5
  export * from './breadcrumbs/index.js';
5
- export * from './blur/index.js';
6
6
  export * from './button/index.js';
7
7
  export * from './calendar/index.js';
8
8
  export * from './card/index.js';
@@ -32,16 +32,16 @@ export * from './menu-button/index.js';
32
32
  export * from './pagination/index.js';
33
33
  export * from './backdrop/index.js';
34
34
  export * from './popover/index.js';
35
- export * from './radio/index.js';
36
35
  export * from './rich-text/index.js';
36
+ export * from './radio/index.js';
37
37
  export * from './segmented-control/index.js';
38
38
  export * from './select/index.js';
39
39
  export * from './signal/index.js';
40
40
  export * from './slider/index.js';
41
- export * from './spinner/index.js';
42
41
  export * from './switch/index.js';
43
42
  export * from './table/index.js';
44
43
  export * from './tabs/index.js';
44
+ export * from './spinner/index.js';
45
45
  export * from './text/index.js';
46
46
  export * from './textarea/index.js';
47
47
  export * from './theme/index.js';
@@ -1,8 +1,8 @@
1
1
  export * from "./alert/index.js";
2
2
  export * from "./avatar/index.js";
3
+ export * from "./blur/index.js";
3
4
  export * from "./badge/index.js";
4
5
  export * from "./breadcrumbs/index.js";
5
- export * from "./blur/index.js";
6
6
  export * from "./button/index.js";
7
7
  export * from "./calendar/index.js";
8
8
  export * from "./card/index.js";
@@ -32,16 +32,16 @@ export * from "./menu-button/index.js";
32
32
  export * from "./pagination/index.js";
33
33
  export * from "./backdrop/index.js";
34
34
  export * from "./popover/index.js";
35
- export * from "./radio/index.js";
36
35
  export * from "./rich-text/index.js";
36
+ export * from "./radio/index.js";
37
37
  export * from "./segmented-control/index.js";
38
38
  export * from "./select/index.js";
39
39
  export * from "./signal/index.js";
40
40
  export * from "./slider/index.js";
41
- export * from "./spinner/index.js";
42
41
  export * from "./switch/index.js";
43
42
  export * from "./table/index.js";
44
43
  export * from "./tabs/index.js";
44
+ export * from "./spinner/index.js";
45
45
  export * from "./text/index.js";
46
46
  export * from "./textarea/index.js";
47
47
  export * from "./theme/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": "3.26.1",
4
+ "version": "3.26.2",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
7
7
  "type": "module",
@@ -6,7 +6,7 @@ function observeLightDOM(observerConfig = {
6
6
  characterData: true
7
7
  }) {
8
8
  return (proto, _propertyKey, descriptor) => {
9
- let observer;
9
+ const observers = /* @__PURE__ */ new WeakMap();
10
10
  const connectedCallback = proto.connectedCallback;
11
11
  const disconnectedCallback = proto.disconnectedCallback;
12
12
  proto.connectedCallback = function() {
@@ -14,12 +14,14 @@ function observeLightDOM(observerConfig = {
14
14
  const callback = (_mutationList, _observer) => {
15
15
  descriptor.value?.call(this);
16
16
  };
17
- observer = new MutationObserver(callback);
17
+ const observer = new MutationObserver(callback);
18
18
  observer.observe(this, observerConfig);
19
+ observers.set(this, observer);
19
20
  };
20
21
  proto.disconnectedCallback = function() {
21
22
  disconnectedCallback?.call(this);
22
- observer.disconnect();
23
+ observers.get(this)?.disconnect();
24
+ observers.delete(this);
23
25
  };
24
26
  };
25
27
  }
@@ -1,6 +1,6 @@
1
1
  import "../../chunks/chunk.H2T4A5YY.js";
2
2
  import { html as litHtml } from "lit";
3
- const VER_SUFFIX = "-cb2c14";
3
+ const VER_SUFFIX = "-d64bde";
4
4
  class ScopedElementRegistry {
5
5
  static get instance() {
6
6
  if (!globalThis.__gdsElementLookupTable?.[VER_SUFFIX])