@sebgroup/green-core 1.88.3 → 1.88.4

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.
@@ -1,3 +1,7 @@
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';
1
5
  export * from './alert/index.js';
2
6
  export * from './badge/index.js';
3
7
  export * from './blur/index.js';
@@ -41,21 +45,12 @@ export * from './text/index.js';
41
45
  export * from './textarea/index.js';
42
46
  export * from './theme/index.js';
43
47
  export * from './video/index.js';
44
- export * from './form-control-footer/index.js';
45
- export * from './form-control-header/index.js';
46
- export * from './menu-item/index.js';
47
- export * from './option/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';
59
54
  export * from './icons/icon-ai/index.js';
60
55
  export * from './icons/icon-airplane-up/index.js';
61
56
  export * from './icons/icon-archive/index.js';
@@ -346,3 +341,8 @@ export * from './icons/icon-youtube/index.js';
346
341
  export * from './icons/icon-zap/index.js';
347
342
  export * from './icons/icon-zoom-in/index.js';
348
343
  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,3 +1,7 @@
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";
1
5
  export * from "./alert/index.js";
2
6
  export * from "./badge/index.js";
3
7
  export * from "./blur/index.js";
@@ -41,21 +45,12 @@ export * from "./text/index.js";
41
45
  export * from "./textarea/index.js";
42
46
  export * from "./theme/index.js";
43
47
  export * from "./video/index.js";
44
- export * from "./form-control-footer/index.js";
45
- export * from "./form-control-header/index.js";
46
- export * from "./menu-item/index.js";
47
- export * from "./option/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";
59
54
  export * from "./icons/icon-ai/index.js";
60
55
  export * from "./icons/icon-airplane-up/index.js";
61
56
  export * from "./icons/icon-archive/index.js";
@@ -346,3 +341,8 @@ export * from "./icons/icon-youtube/index.js";
346
341
  export * from "./icons/icon-zap/index.js";
347
342
  export * from "./icons/icon-zoom-in/index.js";
348
343
  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.3",
4
+ "version": "1.88.4",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
7
7
  "type": "module",
@@ -47,12 +47,12 @@ const style = css`
47
47
 
48
48
  :host(:focus-visible) {
49
49
  outline: none;
50
+ }
50
51
 
51
- div::before {
52
- inset: var(--gds-sys-space-2xs);
53
- opacity: 1;
54
- visivility: visible;
55
- }
52
+ :host(:focus-visible) div::before {
53
+ inset: var(--gds-sys-space-2xs);
54
+ opacity: 1;
55
+ visivility: visible;
56
56
  }
57
57
 
58
58
  :host([inert]) {
@@ -1,7 +1,14 @@
1
1
  import { CSSResult } from 'lit';
2
+ import { VER_SUFFIX } from '../scoping';
2
3
  declare global {
3
- var __gdsGlobalStylesRegistry: GlobalStylesRegistry;
4
+ var __gdsGlobalStylesRegistry: {
5
+ [VER_SUFFIX]: GlobalStylesRegistry;
6
+ };
4
7
  }
8
+ /**
9
+ * GlobalStylesRegistry is a singleton class that manages global stylesheets in the document.
10
+ * The singleton is used to inject global styles that are not scoped to specific components.
11
+ */
5
12
  export declare class GlobalStylesRegistry {
6
13
  #private;
7
14
  /**
@@ -4,6 +4,7 @@ import {
4
4
  __privateMethod
5
5
  } from "../chunks/chunk.QTSIPXV3.js";
6
6
  var _useLegacyStylesheets, _styleSheets, _legacyStyleSheets, _initialStyleSheets, _injectStylesLegacy, injectStylesLegacy_fn, _injectStyles, injectStyles_fn;
7
+ import { VER_SUFFIX } from "../scoping.js";
7
8
  import { supportsConstructedStylesheets } from "../utils/controllers/dynamic-styles-controller.js";
8
9
  import { isServer } from "./helpers/platform.js";
9
10
  function getDocumentAdoptedStylesheet() {
@@ -24,9 +25,12 @@ const _GlobalStylesRegistry = class _GlobalStylesRegistry {
24
25
  * Get the global singleton instance of the GlobalStylesRegistry.
25
26
  */
26
27
  static get instance() {
27
- if (!globalThis.__gdsGlobalStylesRegistry)
28
- globalThis.__gdsGlobalStylesRegistry = new _GlobalStylesRegistry();
29
- return globalThis.__gdsGlobalStylesRegistry;
28
+ if (!globalThis.__gdsGlobalStylesRegistry?.[VER_SUFFIX])
29
+ globalThis.__gdsGlobalStylesRegistry = {
30
+ ...globalThis.__gdsGlobalStylesRegistry,
31
+ [VER_SUFFIX]: new _GlobalStylesRegistry()
32
+ };
33
+ return globalThis.__gdsGlobalStylesRegistry[VER_SUFFIX];
30
34
  }
31
35
  /**
32
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 = "-10d557";
3
+ const VER_SUFFIX = "-9066a0";
4
4
  class ScopedElementRegistry {
5
5
  static get instance() {
6
6
  if (!globalThis.__gdsElementLookupTable?.[VER_SUFFIX])