@sebgroup/green-core 2.29.0 → 2.30.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.29.0";
15
+ this.semanticVersion = "2.30.0";
16
16
  this._isUsingTransitionalStyles = false;
17
17
  this._dynamicStylesController = new DynamicStylesController(this);
18
18
  }
@@ -33,6 +33,7 @@
33
33
  | `variant` | `\| 'brand' \| 'neutral' \| 'positive' \| 'negative' \| 'notice' \| 'warning'` | `-` | Defines which variant the button belongs to. Defaults to "neutral". |
34
34
  | `size` | `'xs' \| 'small' \| 'medium' \| 'large'` | `-` | Sets the size of the button. Defaults to "medium". |
35
35
  | `label` | `string` | `-` | The label of the button. Use this to add an accessible label to the button when no text is provided in the default slot. |
36
+ | `wrapped` | `boolean` | `-` | When set, adds a wrapped class to the button. |
36
37
  | `href` | `string` | `-` | When set, the underlying button will be rendered as an anchor element. |
37
38
  | `target` | `'_self' \| '_blank' \| '_parent' \| '_top' \| undefined` | `-` | Where to display the linked URL. Only used when href is present. |
38
39
  | `rel` | `string \| undefined` | `-` | The relationship of the linked URL as space-separated link types. Only used when href is present. Defaults to "noreferrer noopener" for security reasons when target is set. |
@@ -1,5 +1,5 @@
1
1
  {
2
- "generatedAt": "2026-02-12T10:05:18.599Z",
2
+ "generatedAt": "2026-02-12T12:14:12.487Z",
3
3
  "components": [
4
4
  {
5
5
  "name": "gds-alert",
@@ -36,6 +36,7 @@
36
36
  | `variant` | `\| 'brand' \| 'neutral' \| 'positive' \| 'negative' \| 'notice' \| 'warning'` | `-` | Defines which variant the button belongs to. Defaults to "neutral". |
37
37
  | `size` | `'xs' \| 'small' \| 'medium' \| 'large'` | `-` | Sets the size of the button. Defaults to "medium". |
38
38
  | `label` | `string` | `-` | The label of the button. Use this to add an accessible label to the button when no text is provided in the default slot. |
39
+ | `wrapped` | `boolean` | `-` | When set, adds a wrapped class to the button. |
39
40
  | `href` | `string` | `-` | When set, the underlying button will be rendered as an anchor element. |
40
41
  | `target` | `'_self' \| '_blank' \| '_parent' \| '_top' \| undefined` | `-` | Where to display the linked URL. Only used when href is present. |
41
42
  | `rel` | `string \| undefined` | `-` | The relationship of the linked URL as space-separated link types. Only used when href is present. Defaults to "noreferrer noopener" for security reasons when target is set. |
@@ -1,5 +1,5 @@
1
1
  {
2
- "generatedAt": "2026-02-12T10:05:18.599Z",
2
+ "generatedAt": "2026-02-12T12:14:12.487Z",
3
3
  "icons": [
4
4
  {
5
5
  "name": "gds-icon-ai",
@@ -1,5 +1,5 @@
1
1
  {
2
- "generatedAt": "2026-02-12T10:05:18.599Z",
2
+ "generatedAt": "2026-02-12T12:14:12.487Z",
3
3
  "instructions": "./INSTRUCTIONS.md",
4
4
  "components": "./components.json",
5
5
  "icons": "./icons.json",
@@ -11,7 +11,7 @@
11
11
  |------|------|---------|-------------|
12
12
  | `label` | `string` | `-` | The label displayed next to the radio button. |
13
13
  | `supportingText` | `string` | `-` | The supporting text displayed below the label. This text provides additional context or information to the user. |
14
- | `value` | `string` | `-` | The value of the radio button. |
14
+ | `value` | `string \| boolean` | `-` | The value of the radio button. |
15
15
  | `checked` | `boolean` | `-` | Whether the radio button is checked or not. |
16
16
  | `disabled` | `boolean` | `-` | Whether the radio button is disabled or not. |
17
17
  | `invalid` | `boolean` | `-` | Whether the radio button is invalid or not. |
@@ -40,6 +40,7 @@ export declare const GdsButton: {
40
40
  variant?: "brand" | "neutral" | "positive" | "negative" | "notice" | "warning" | undefined;
41
41
  size?: "small" | "xs" | "medium" | "large" | undefined;
42
42
  label?: string | undefined;
43
+ wrapped?: boolean | undefined;
43
44
  href?: string | undefined;
44
45
  target?: ("_self" | "_blank" | "_parent" | "_top") | undefined;
45
46
  rel?: string | undefined;
@@ -42,6 +42,7 @@ export declare const GdsFab: {
42
42
  variant?: "brand" | "neutral" | "positive" | "negative" | "notice" | "warning" | undefined;
43
43
  size?: "small" | "xs" | "medium" | "large" | undefined;
44
44
  label?: string | undefined;
45
+ wrapped?: boolean | undefined;
45
46
  href?: string | undefined;
46
47
  target?: ("_self" | "_blank" | "_parent" | "_top") | undefined;
47
48
  rel?: string | undefined;
@@ -51,6 +51,9 @@ export * from './formatted-date/index.js';
51
51
  export * from './formatted-number/index.js';
52
52
  export * from './radio-group/index.js';
53
53
  export * from './segment/index.js';
54
+ export * from './sensitive-account/index.js';
55
+ export * from './sensitive-number/index.js';
56
+ export * from './sensitive-date/index.js';
54
57
  export * from './icons/icon-ai/index.js';
55
58
  export * from './icons/icon-airplane-up/index.js';
56
59
  export * from './icons/icon-archive/index.js';
@@ -386,9 +389,6 @@ export * from './icons/icon-youtube/index.js';
386
389
  export * from './icons/icon-zap/index.js';
387
390
  export * from './icons/icon-zoom-in/index.js';
388
391
  export * from './icons/icon-zoom-out/index.js';
389
- export * from './sensitive-account/index.js';
390
- export * from './sensitive-date/index.js';
391
- export * from './sensitive-number/index.js';
392
392
  export * from './menu-item/index.js';
393
393
  export * from './menu-heading/index.js';
394
394
  export * from './option/index.js';
@@ -51,6 +51,9 @@ export * from "./formatted-date/index.js";
51
51
  export * from "./formatted-number/index.js";
52
52
  export * from "./radio-group/index.js";
53
53
  export * from "./segment/index.js";
54
+ export * from "./sensitive-account/index.js";
55
+ export * from "./sensitive-number/index.js";
56
+ export * from "./sensitive-date/index.js";
54
57
  export * from "./icons/icon-ai/index.js";
55
58
  export * from "./icons/icon-airplane-up/index.js";
56
59
  export * from "./icons/icon-archive/index.js";
@@ -386,9 +389,6 @@ export * from "./icons/icon-youtube/index.js";
386
389
  export * from "./icons/icon-zap/index.js";
387
390
  export * from "./icons/icon-zoom-in/index.js";
388
391
  export * from "./icons/icon-zoom-out/index.js";
389
- export * from "./sensitive-account/index.js";
390
- export * from "./sensitive-date/index.js";
391
- export * from "./sensitive-number/index.js";
392
392
  export * from "./menu-item/index.js";
393
393
  export * from "./menu-heading/index.js";
394
394
  export * from "./option/index.js";
@@ -10,7 +10,7 @@ export declare const GdsRadio: {
10
10
  }): import("react").ReactElement<Omit<{
11
11
  label?: string | undefined;
12
12
  supportingText?: string | undefined;
13
- value?: string | undefined;
13
+ value?: string | boolean | undefined;
14
14
  checked?: boolean | undefined;
15
15
  disabled?: boolean | undefined;
16
16
  invalid?: boolean | undefined;
@@ -45,7 +45,7 @@ export declare const GdsRadioGroup: {
45
45
  errorMessage?: string | undefined;
46
46
  invalid?: boolean | undefined;
47
47
  label?: string | undefined;
48
- value?: string | undefined;
48
+ value?: string | boolean | undefined;
49
49
  name?: string | undefined;
50
50
  disabled?: boolean | undefined;
51
51
  readonly form?: HTMLFormElement | null | undefined;
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.29.0",
4
+ "version": "2.30.0",
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 = "-581e8a";
3
+ const VER_SUFFIX = "-9f5871";
4
4
  class ScopedElementRegistry {
5
5
  static get instance() {
6
6
  if (!globalThis.__gdsElementLookupTable?.[VER_SUFFIX])