@sebgroup/green-core 2.5.2 → 2.5.3-rc.20250915070923026

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.
@@ -52,8 +52,9 @@ declare class Button extends GdsFormControlElement<any> {
52
52
  download?: string;
53
53
  private _mainSlot?;
54
54
  private _button?;
55
- connectedCallback(): void;
56
55
  focus(options?: FocusOptions): void;
56
+ click(): void;
57
+ connectedCallback(): void;
57
58
  render(): import("lit-html").TemplateResult;
58
59
  protected _getValidityAnchor(): HTMLElement;
59
60
  private _attributeChanged;
@@ -60,14 +60,17 @@ class Button extends GdsFormControlElement {
60
60
  }
61
61
  });
62
62
  }
63
+ focus(options) {
64
+ this._getValidityAnchor()?.focus(options);
65
+ }
66
+ click() {
67
+ this._getValidityAnchor()?.click();
68
+ }
63
69
  connectedCallback() {
64
70
  super.connectedCallback();
65
71
  this.setAttribute("role", "none");
66
72
  TransitionalStyles.instance.apply(this, "gds-button");
67
73
  }
68
- focus(options) {
69
- this._getValidityAnchor()?.focus(options);
70
- }
71
74
  render() {
72
75
  const buttonClasses = {
73
76
  button: true,
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.2";
17
+ this.semanticVersion = "2.5.3-rc.20250915070923026";
18
18
  this._isUsingTransitionalStyles = false;
19
19
  this._dynamicStylesController = new DynamicStylesController(this);
20
20
  }
@@ -28,8 +28,9 @@ export declare const GdsButton: (props: React.ComponentProps<ReturnType<typeof g
28
28
  target?: ("_self" | "_blank" | "_parent" | "_top") | undefined;
29
29
  rel?: string | undefined;
30
30
  download?: string | undefined;
31
- connectedCallback?: (() => void) | undefined;
32
31
  focus?: ((options?: FocusOptions) => void) | undefined;
32
+ click?: (() => void) | undefined;
33
+ connectedCallback?: (() => void) | undefined;
33
34
  render?: (() => import("lit-html").TemplateResult) | undefined;
34
35
  validator?: import("../../../components/form/form-control").GdsValidator | undefined;
35
36
  required?: boolean | undefined;
@@ -79,7 +80,6 @@ export declare const GdsButton: (props: React.ComponentProps<ReturnType<typeof g
79
80
  title?: string | undefined;
80
81
  translate?: boolean | undefined;
81
82
  attachInternals?: (() => ElementInternals) | undefined;
82
- click?: (() => void) | undefined;
83
83
  hidePopover?: (() => void) | undefined;
84
84
  showPopover?: (() => void) | undefined;
85
85
  togglePopover?: ((force?: boolean) => boolean) | undefined;
@@ -33,6 +33,7 @@ export declare const GdsFab: (props: React.ComponentProps<ReturnType<typeof getR
33
33
  rel?: string | undefined;
34
34
  download?: string | undefined;
35
35
  focus?: ((options?: FocusOptions) => void) | undefined;
36
+ click?: (() => void) | undefined;
36
37
  render?: (() => import("lit-html").TemplateResult) | undefined;
37
38
  validator?: import("../../../components/form/form-control").GdsValidator | undefined;
38
39
  required?: boolean | undefined;
@@ -82,7 +83,6 @@ export declare const GdsFab: (props: React.ComponentProps<ReturnType<typeof getR
82
83
  title?: string | undefined;
83
84
  translate?: boolean | undefined;
84
85
  attachInternals?: (() => ElementInternals) | undefined;
85
- click?: (() => void) | undefined;
86
86
  hidePopover?: (() => void) | undefined;
87
87
  showPopover?: (() => void) | undefined;
88
88
  togglePopover?: ((force?: boolean) => boolean) | undefined;
@@ -11,9 +11,9 @@ export * from './context-menu/index.js';
11
11
  export * from './datepicker/index.js';
12
12
  export * from './details/index.js';
13
13
  export * from './dialog/index.js';
14
- export * from './div/index.js';
15
14
  export * from './divider/index.js';
16
15
  export * from './dropdown/index.js';
16
+ export * from './div/index.js';
17
17
  export * from './fab/index.js';
18
18
  export * from './filter-chips/index.js';
19
19
  export * from './flex/index.js';
@@ -49,6 +49,11 @@ 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 './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';
52
57
  export * from './icons/icon-ai/index.js';
53
58
  export * from './icons/icon-airplane-up/index.js';
54
59
  export * from './icons/icon-archive/index.js';
@@ -374,8 +379,3 @@ export * from './icons/icon-youtube/index.js';
374
379
  export * from './icons/icon-zap/index.js';
375
380
  export * from './icons/icon-zoom-in/index.js';
376
381
  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
- export * from './sensitive-number/index.js';
@@ -11,9 +11,9 @@ export * from "./context-menu/index.js";
11
11
  export * from "./datepicker/index.js";
12
12
  export * from "./details/index.js";
13
13
  export * from "./dialog/index.js";
14
- export * from "./div/index.js";
15
14
  export * from "./divider/index.js";
16
15
  export * from "./dropdown/index.js";
16
+ export * from "./div/index.js";
17
17
  export * from "./fab/index.js";
18
18
  export * from "./filter-chips/index.js";
19
19
  export * from "./flex/index.js";
@@ -49,6 +49,11 @@ 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 "./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";
52
57
  export * from "./icons/icon-ai/index.js";
53
58
  export * from "./icons/icon-airplane-up/index.js";
54
59
  export * from "./icons/icon-archive/index.js";
@@ -374,8 +379,3 @@ export * from "./icons/icon-youtube/index.js";
374
379
  export * from "./icons/icon-zap/index.js";
375
380
  export * from "./icons/icon-zoom-in/index.js";
376
381
  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
- 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.2",
4
+ "version": "2.5.3-rc.20250915070923026",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
7
7
  "type": "module",
@@ -1,6 +1,6 @@
1
1
  import "../../chunks/chunk.QU3DSPNU.js";
2
2
  import { html as litHtml } from "lit";
3
- const VER_SUFFIX = "-733b2e";
3
+ const VER_SUFFIX = "-55d5ff";
4
4
  class ScopedElementRegistry {
5
5
  static get instance() {
6
6
  if (!globalThis.__gdsElementLookupTable?.[VER_SUFFIX])