@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/components/button/button.component.d.ts +4 -0
- package/components/button/button.component.js +10 -1
- package/components/button/button.styles.js +6 -3
- package/components/radio/radio-group/radio-group.component.d.ts +1 -1
- package/components/radio/radio.component.d.ts +1 -1
- package/components/radio/radio.component.js +2 -2
- package/custom-elements.json +430 -374
- package/gds-element.js +1 -1
- package/generated/mcp/button/api.md +1 -0
- package/generated/mcp/components.json +1 -1
- package/generated/mcp/fab/api.md +1 -0
- package/generated/mcp/icons.json +1 -1
- package/generated/mcp/index.json +1 -1
- package/generated/mcp/radio/api.md +1 -1
- package/generated/react/button/index.d.ts +1 -0
- package/generated/react/fab/index.d.ts +1 -0
- package/generated/react/index.d.ts +3 -3
- package/generated/react/index.js +3 -3
- package/generated/react/radio/index.d.ts +1 -1
- package/generated/react/radio-group/index.d.ts +1 -1
- package/package.json +1 -1
- package/utils/helpers/custom-element-scoping.js +1 -1
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.
|
|
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. |
|
package/generated/mcp/fab/api.md
CHANGED
|
@@ -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. |
|
package/generated/mcp/icons.json
CHANGED
package/generated/mcp/index.json
CHANGED
|
@@ -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';
|
package/generated/react/index.js
CHANGED
|
@@ -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