@sebgroup/green-core 1.88.4 → 1.88.5

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.
@@ -153,7 +153,7 @@ let Select = class extends GdsFormControlElement {
153
153
  __privateMethod(this, _shouldShowFooter, shouldShowFooter_fn).call(this),
154
154
  () => html`<gds-form-control-footer
155
155
  class="size-${this.size}"
156
- .validationMessage=${this.invalid && (this.errorMessage || this.validationMessage)}
156
+ .errorMessage=${this.invalid ? this.errorMessage : void 0}
157
157
  ></gds-form-control-footer>`
158
158
  )}
159
159
  `;
@@ -1,7 +1,3 @@
1
- export * from './form-control-footer/index.js';
2
- export * from './form-control-header/index.js';
3
- export * from './option/index.js';
4
- export * from './menu-item/index.js';
5
1
  export * from './alert/index.js';
6
2
  export * from './badge/index.js';
7
3
  export * from './blur/index.js';
@@ -24,11 +20,11 @@ export * from './filter-chips/index.js';
24
20
  export * from './flex/index.js';
25
21
  export * from './form-summary/index.js';
26
22
  export * from './grid/index.js';
27
- export * from './grouped-list/index.js';
28
- export * from './list-item/index.js';
29
23
  export * from './icons/icon/index.js';
30
24
  export * from './img/index.js';
31
25
  export * from './input/index.js';
26
+ export * from './grouped-list/index.js';
27
+ export * from './list-item/index.js';
32
28
  export * from './link/index.js';
33
29
  export * from './mask/index.js';
34
30
  export * from './menu-button/index.js';
@@ -39,18 +35,27 @@ export * from './rich-text/index.js';
39
35
  export * from './segmented-control/index.js';
40
36
  export * from './select/index.js';
41
37
  export * from './signal/index.js';
42
- export * from './spacer/index.js';
43
38
  export * from './spinner/index.js';
44
39
  export * from './text/index.js';
40
+ export * from './spacer/index.js';
45
41
  export * from './textarea/index.js';
46
42
  export * from './theme/index.js';
47
43
  export * from './video/index.js';
44
+ export * from './form-control-footer/index.js';
45
+ export * from './form-control-header/index.js';
46
+ export * from './option/index.js';
47
+ export * from './menu-item/index.js';
48
48
  export * from './checkbox-group/index.js';
49
49
  export * from './icons/icon-details/index.js';
50
50
  export * from './filter-chip/index.js';
51
51
  export * from './formatted-account/index.js';
52
52
  export * from './formatted-date/index.js';
53
53
  export * from './formatted-number/index.js';
54
+ export * from './radio-group/index.js';
55
+ export * from './segment/index.js';
56
+ export * from './sensitive-account/index.js';
57
+ export * from './sensitive-date/index.js';
58
+ export * from './sensitive-number/index.js';
54
59
  export * from './icons/icon-ai/index.js';
55
60
  export * from './icons/icon-airplane-up/index.js';
56
61
  export * from './icons/icon-archive/index.js';
@@ -341,8 +346,3 @@ export * from './icons/icon-youtube/index.js';
341
346
  export * from './icons/icon-zap/index.js';
342
347
  export * from './icons/icon-zoom-in/index.js';
343
348
  export * from './icons/icon-zoom-out/index.js';
344
- export * from './radio-group/index.js';
345
- export * from './segment/index.js';
346
- export * from './sensitive-account/index.js';
347
- export * from './sensitive-number/index.js';
348
- export * from './sensitive-date/index.js';
@@ -1,7 +1,3 @@
1
- export * from "./form-control-footer/index.js";
2
- export * from "./form-control-header/index.js";
3
- export * from "./option/index.js";
4
- export * from "./menu-item/index.js";
5
1
  export * from "./alert/index.js";
6
2
  export * from "./badge/index.js";
7
3
  export * from "./blur/index.js";
@@ -24,11 +20,11 @@ export * from "./filter-chips/index.js";
24
20
  export * from "./flex/index.js";
25
21
  export * from "./form-summary/index.js";
26
22
  export * from "./grid/index.js";
27
- export * from "./grouped-list/index.js";
28
- export * from "./list-item/index.js";
29
23
  export * from "./icons/icon/index.js";
30
24
  export * from "./img/index.js";
31
25
  export * from "./input/index.js";
26
+ export * from "./grouped-list/index.js";
27
+ export * from "./list-item/index.js";
32
28
  export * from "./link/index.js";
33
29
  export * from "./mask/index.js";
34
30
  export * from "./menu-button/index.js";
@@ -39,18 +35,27 @@ export * from "./rich-text/index.js";
39
35
  export * from "./segmented-control/index.js";
40
36
  export * from "./select/index.js";
41
37
  export * from "./signal/index.js";
42
- export * from "./spacer/index.js";
43
38
  export * from "./spinner/index.js";
44
39
  export * from "./text/index.js";
40
+ export * from "./spacer/index.js";
45
41
  export * from "./textarea/index.js";
46
42
  export * from "./theme/index.js";
47
43
  export * from "./video/index.js";
44
+ export * from "./form-control-footer/index.js";
45
+ export * from "./form-control-header/index.js";
46
+ export * from "./option/index.js";
47
+ export * from "./menu-item/index.js";
48
48
  export * from "./checkbox-group/index.js";
49
49
  export * from "./icons/icon-details/index.js";
50
50
  export * from "./filter-chip/index.js";
51
51
  export * from "./formatted-account/index.js";
52
52
  export * from "./formatted-date/index.js";
53
53
  export * from "./formatted-number/index.js";
54
+ export * from "./radio-group/index.js";
55
+ export * from "./segment/index.js";
56
+ export * from "./sensitive-account/index.js";
57
+ export * from "./sensitive-date/index.js";
58
+ export * from "./sensitive-number/index.js";
54
59
  export * from "./icons/icon-ai/index.js";
55
60
  export * from "./icons/icon-airplane-up/index.js";
56
61
  export * from "./icons/icon-archive/index.js";
@@ -341,8 +346,3 @@ export * from "./icons/icon-youtube/index.js";
341
346
  export * from "./icons/icon-zap/index.js";
342
347
  export * from "./icons/icon-zoom-in/index.js";
343
348
  export * from "./icons/icon-zoom-out/index.js";
344
- export * from "./radio-group/index.js";
345
- export * from "./segment/index.js";
346
- export * from "./sensitive-account/index.js";
347
- export * from "./sensitive-number/index.js";
348
- export * from "./sensitive-date/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": "1.88.4",
4
+ "version": "1.88.5",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
7
7
  "type": "module",
@@ -1,7 +1,7 @@
1
1
  import { CSSResult } from 'lit';
2
2
  import { VER_SUFFIX } from '../scoping';
3
3
  declare global {
4
- var __gdsGlobalStylesRegistry: {
4
+ var __gdsGlobalStylesRegistryScoped: {
5
5
  [VER_SUFFIX]: GlobalStylesRegistry;
6
6
  };
7
7
  }
@@ -25,12 +25,12 @@ const _GlobalStylesRegistry = class _GlobalStylesRegistry {
25
25
  * Get the global singleton instance of the GlobalStylesRegistry.
26
26
  */
27
27
  static get instance() {
28
- if (!globalThis.__gdsGlobalStylesRegistry?.[VER_SUFFIX])
29
- globalThis.__gdsGlobalStylesRegistry = {
30
- ...globalThis.__gdsGlobalStylesRegistry,
28
+ if (!globalThis.__gdsGlobalStylesRegistryScoped?.[VER_SUFFIX])
29
+ globalThis.__gdsGlobalStylesRegistryScoped = {
30
+ ...globalThis.__gdsGlobalStylesRegistryScoped,
31
31
  [VER_SUFFIX]: new _GlobalStylesRegistry()
32
32
  };
33
- return globalThis.__gdsGlobalStylesRegistry[VER_SUFFIX];
33
+ return globalThis.__gdsGlobalStylesRegistryScoped[VER_SUFFIX];
34
34
  }
35
35
  /**
36
36
  * Injects global styles into the document. This function is intended to be used for global styles
@@ -1,6 +1,6 @@
1
1
  import "../../chunks/chunk.QTSIPXV3.js";
2
2
  import { html as litHtml } from "lit";
3
- const VER_SUFFIX = "-9066a0";
3
+ const VER_SUFFIX = "-a65924";
4
4
  class ScopedElementRegistry {
5
5
  static get instance() {
6
6
  if (!globalThis.__gdsElementLookupTable?.[VER_SUFFIX])