@sebgroup/green-core 2.34.1 → 2.35.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/assets/icons/regular/asterisk.svg +1 -0
- package/assets/icons/regular/credit-card-add.svg +1 -0
- package/assets/icons/regular/power.svg +1 -0
- package/assets/icons/regular/settings-slider-ver.svg +1 -3
- package/assets/icons/solid/asterisk.svg +1 -0
- package/assets/icons/solid/credit-card-add.svg +2 -0
- package/assets/icons/solid/power.svg +1 -0
- package/assets/icons/solid/settings-slider-ver.svg +2 -4
- package/assets/icons/solid/trending-three.svg +1 -1
- package/components/icon/icons/asterisk.component.d.ts +18 -0
- package/components/icon/icons/asterisk.component.js +25 -0
- package/components/icon/icons/asterisk.d.ts +2 -0
- package/components/icon/icons/asterisk.js +6 -0
- package/components/icon/icons/credit-card-add.component.d.ts +18 -0
- package/components/icon/icons/credit-card-add.component.js +25 -0
- package/components/icon/icons/credit-card-add.d.ts +2 -0
- package/components/icon/icons/credit-card-add.js +6 -0
- package/components/icon/icons/index.d.ts +3 -0
- package/components/icon/icons/index.js +3 -0
- package/components/icon/icons/power.component.d.ts +18 -0
- package/components/icon/icons/power.component.js +25 -0
- package/components/icon/icons/power.d.ts +2 -0
- package/components/icon/icons/power.js +6 -0
- package/components/icon/icons/pure.d.ts +3 -0
- package/components/icon/icons/pure.js +3 -0
- package/components/icon/icons/trending-three.component.js +1 -1
- package/custom-elements.json +13204 -11536
- package/gds-element.js +1 -1
- package/generated/mcp/components.json +1 -1
- package/generated/mcp/icon-asterisk/angular.md +15 -0
- package/generated/mcp/icon-asterisk/api.md +28 -0
- package/generated/mcp/icon-asterisk/index.json +8 -0
- package/generated/mcp/icon-asterisk/react.md +15 -0
- package/generated/mcp/icon-credit-card-add/angular.md +15 -0
- package/generated/mcp/icon-credit-card-add/api.md +28 -0
- package/generated/mcp/icon-credit-card-add/index.json +8 -0
- package/generated/mcp/icon-credit-card-add/react.md +15 -0
- package/generated/mcp/icon-power/angular.md +15 -0
- package/generated/mcp/icon-power/api.md +28 -0
- package/generated/mcp/icon-power/index.json +8 -0
- package/generated/mcp/icon-power/react.md +15 -0
- package/generated/mcp/icons.json +37 -1
- package/generated/mcp/index.json +1 -1
- package/generated/react/icons/icon-asterisk/index.d.ts +393 -0
- package/generated/react/icons/icon-asterisk/index.js +14 -0
- package/generated/react/icons/icon-credit-card-add/index.d.ts +393 -0
- package/generated/react/icons/icon-credit-card-add/index.js +16 -0
- package/generated/react/icons/icon-power/index.d.ts +393 -0
- package/generated/react/icons/icon-power/index.js +14 -0
- package/generated/react/index.d.ts +4 -1
- package/generated/react/index.js +4 -1
- package/package.json +4 -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.35.0";
|
|
16
16
|
this._isUsingTransitionalStyles = false;
|
|
17
17
|
this._dynamicStylesController = new DynamicStylesController(this);
|
|
18
18
|
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# gds-icon-asterisk - Angular
|
|
2
|
+
|
|
3
|
+
## Import
|
|
4
|
+
|
|
5
|
+
```typescript
|
|
6
|
+
import { IconAsteriskComponent } from '@sebgroup/green-core-ng'
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
## Usage
|
|
10
|
+
|
|
11
|
+
Use the component in your Angular templates:
|
|
12
|
+
|
|
13
|
+
```html
|
|
14
|
+
<gds-icon-asterisk></gds-icon-asterisk>
|
|
15
|
+
```
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# gds-icon-asterisk
|
|
2
|
+
|
|
3
|
+
**Class**: `IconAsterisk`
|
|
4
|
+
|
|
5
|
+
**Tag**: `<gds-icon-asterisk>`
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
## Properties
|
|
9
|
+
|
|
10
|
+
| Name | Type | Default | Description |
|
|
11
|
+
|------|------|---------|-------------|
|
|
12
|
+
| `margin` | `string \| undefined` | `-` | Style Expression Property that controls the `margin` property. Only accepts space tokens. |
|
|
13
|
+
| `'margin-inline'` | `string \| undefined` | `-` | Style Expression Property that controls the `margin-inline` property. Only accepts space tokens. |
|
|
14
|
+
| `'margin-block'` | `string \| undefined` | `-` | Style Expression Property that controls the `margin-block` property. Only accepts space tokens. |
|
|
15
|
+
| `'align-self'` | `string \| undefined` | `-` | Style Expression Property that controls the `align-self` property. Supports all valid CSS `align-self` values. |
|
|
16
|
+
| `'justify-self'` | `string \| undefined` | `-` | Style Expression Property that controls the `justify-self` property. Supports all valid CSS `justify-self` values. |
|
|
17
|
+
| `'place-self'` | `string \| undefined` | `-` | Style Expression Property that controls the `place-self` property. Supports all valid CSS `place-self` values. |
|
|
18
|
+
| `'grid-column'` | `string \| undefined` | `-` | Style Expression Property that controls the `grid-column` property. Supports all valid CSS grid-column values. Documentation: https://developer.mozilla.org/en-US/docs/Web/CSS/grid-column |
|
|
19
|
+
| `'grid-row'` | `string \| undefined` | `-` | Style Expression Property that controls the `grid-row` property. Supports all valid CSS `grid-row` values. |
|
|
20
|
+
| `'grid-area'` | `string \| undefined` | `-` | Style Expression Property that controls the `grid-area` property. Supports all valid CSS `grid-area` values. |
|
|
21
|
+
| `flex` | `string \| undefined` | `-` | Style Expression Property that controls the `flex` property. Supports all valid CSS `flex` values. |
|
|
22
|
+
| `order` | `string \| undefined` | `-` | Style Expression Property that controls the `order` property. Supports all valid CSS `order` values. |
|
|
23
|
+
| `size` | `string \| undefined` | `-` | This property allow you to set the size of the icon with the token and custom values. If not provided, uses the icon's default size. The size is a shorthand for setting both width and height at once. |
|
|
24
|
+
| `solid` | `boolean` | `-` | When set to true, the solid version of the icon is displayed. When set to false or not provided, the regular version of the icon is displayed. |
|
|
25
|
+
| `stroke` | `number \| undefined` | `-` | When set to true, you can apply custom stroke width to the icon. |
|
|
26
|
+
| `level` | `GdsColorLevel` | `-` | The level of the icon is used to resolve the color tokens from the corresponding level. Check the [Color System documentation page](./?path=/docs/style-colors--docs) for more information. Default for `gds-icon-*` is level 2. |
|
|
27
|
+
| `color` | `string \| undefined` | `-` | Style Expression Property that controls the `color` property. Only accepts color tokens and an optional transparency value, in the format tokenName/transparency. ```html <gds-icon-ai color="neutral-01/0.2"></gds-icon-ai> ``` |
|
|
28
|
+
| `label` | `string` | `-` | This property allow you to set the accessible label of the icon. If not provided, the icon will be presentational. |
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# gds-icon-credit-card-add - Angular
|
|
2
|
+
|
|
3
|
+
## Import
|
|
4
|
+
|
|
5
|
+
```typescript
|
|
6
|
+
import { IconCreditCardAddComponent } from '@sebgroup/green-core-ng'
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
## Usage
|
|
10
|
+
|
|
11
|
+
Use the component in your Angular templates:
|
|
12
|
+
|
|
13
|
+
```html
|
|
14
|
+
<gds-icon-credit-card-add></gds-icon-credit-card-add>
|
|
15
|
+
```
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# gds-icon-credit-card-add
|
|
2
|
+
|
|
3
|
+
**Class**: `IconCreditCardAdd`
|
|
4
|
+
|
|
5
|
+
**Tag**: `<gds-icon-credit-card-add>`
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
## Properties
|
|
9
|
+
|
|
10
|
+
| Name | Type | Default | Description |
|
|
11
|
+
|------|------|---------|-------------|
|
|
12
|
+
| `margin` | `string \| undefined` | `-` | Style Expression Property that controls the `margin` property. Only accepts space tokens. |
|
|
13
|
+
| `'margin-inline'` | `string \| undefined` | `-` | Style Expression Property that controls the `margin-inline` property. Only accepts space tokens. |
|
|
14
|
+
| `'margin-block'` | `string \| undefined` | `-` | Style Expression Property that controls the `margin-block` property. Only accepts space tokens. |
|
|
15
|
+
| `'align-self'` | `string \| undefined` | `-` | Style Expression Property that controls the `align-self` property. Supports all valid CSS `align-self` values. |
|
|
16
|
+
| `'justify-self'` | `string \| undefined` | `-` | Style Expression Property that controls the `justify-self` property. Supports all valid CSS `justify-self` values. |
|
|
17
|
+
| `'place-self'` | `string \| undefined` | `-` | Style Expression Property that controls the `place-self` property. Supports all valid CSS `place-self` values. |
|
|
18
|
+
| `'grid-column'` | `string \| undefined` | `-` | Style Expression Property that controls the `grid-column` property. Supports all valid CSS grid-column values. Documentation: https://developer.mozilla.org/en-US/docs/Web/CSS/grid-column |
|
|
19
|
+
| `'grid-row'` | `string \| undefined` | `-` | Style Expression Property that controls the `grid-row` property. Supports all valid CSS `grid-row` values. |
|
|
20
|
+
| `'grid-area'` | `string \| undefined` | `-` | Style Expression Property that controls the `grid-area` property. Supports all valid CSS `grid-area` values. |
|
|
21
|
+
| `flex` | `string \| undefined` | `-` | Style Expression Property that controls the `flex` property. Supports all valid CSS `flex` values. |
|
|
22
|
+
| `order` | `string \| undefined` | `-` | Style Expression Property that controls the `order` property. Supports all valid CSS `order` values. |
|
|
23
|
+
| `size` | `string \| undefined` | `-` | This property allow you to set the size of the icon with the token and custom values. If not provided, uses the icon's default size. The size is a shorthand for setting both width and height at once. |
|
|
24
|
+
| `solid` | `boolean` | `-` | When set to true, the solid version of the icon is displayed. When set to false or not provided, the regular version of the icon is displayed. |
|
|
25
|
+
| `stroke` | `number \| undefined` | `-` | When set to true, you can apply custom stroke width to the icon. |
|
|
26
|
+
| `level` | `GdsColorLevel` | `-` | The level of the icon is used to resolve the color tokens from the corresponding level. Check the [Color System documentation page](./?path=/docs/style-colors--docs) for more information. Default for `gds-icon-*` is level 2. |
|
|
27
|
+
| `color` | `string \| undefined` | `-` | Style Expression Property that controls the `color` property. Only accepts color tokens and an optional transparency value, in the format tokenName/transparency. ```html <gds-icon-ai color="neutral-01/0.2"></gds-icon-ai> ``` |
|
|
28
|
+
| `label` | `string` | `-` | This property allow you to set the accessible label of the icon. If not provided, the icon will be presentational. |
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# gds-icon-power
|
|
2
|
+
|
|
3
|
+
**Class**: `IconPower`
|
|
4
|
+
|
|
5
|
+
**Tag**: `<gds-icon-power>`
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
## Properties
|
|
9
|
+
|
|
10
|
+
| Name | Type | Default | Description |
|
|
11
|
+
|------|------|---------|-------------|
|
|
12
|
+
| `margin` | `string \| undefined` | `-` | Style Expression Property that controls the `margin` property. Only accepts space tokens. |
|
|
13
|
+
| `'margin-inline'` | `string \| undefined` | `-` | Style Expression Property that controls the `margin-inline` property. Only accepts space tokens. |
|
|
14
|
+
| `'margin-block'` | `string \| undefined` | `-` | Style Expression Property that controls the `margin-block` property. Only accepts space tokens. |
|
|
15
|
+
| `'align-self'` | `string \| undefined` | `-` | Style Expression Property that controls the `align-self` property. Supports all valid CSS `align-self` values. |
|
|
16
|
+
| `'justify-self'` | `string \| undefined` | `-` | Style Expression Property that controls the `justify-self` property. Supports all valid CSS `justify-self` values. |
|
|
17
|
+
| `'place-self'` | `string \| undefined` | `-` | Style Expression Property that controls the `place-self` property. Supports all valid CSS `place-self` values. |
|
|
18
|
+
| `'grid-column'` | `string \| undefined` | `-` | Style Expression Property that controls the `grid-column` property. Supports all valid CSS grid-column values. Documentation: https://developer.mozilla.org/en-US/docs/Web/CSS/grid-column |
|
|
19
|
+
| `'grid-row'` | `string \| undefined` | `-` | Style Expression Property that controls the `grid-row` property. Supports all valid CSS `grid-row` values. |
|
|
20
|
+
| `'grid-area'` | `string \| undefined` | `-` | Style Expression Property that controls the `grid-area` property. Supports all valid CSS `grid-area` values. |
|
|
21
|
+
| `flex` | `string \| undefined` | `-` | Style Expression Property that controls the `flex` property. Supports all valid CSS `flex` values. |
|
|
22
|
+
| `order` | `string \| undefined` | `-` | Style Expression Property that controls the `order` property. Supports all valid CSS `order` values. |
|
|
23
|
+
| `size` | `string \| undefined` | `-` | This property allow you to set the size of the icon with the token and custom values. If not provided, uses the icon's default size. The size is a shorthand for setting both width and height at once. |
|
|
24
|
+
| `solid` | `boolean` | `-` | When set to true, the solid version of the icon is displayed. When set to false or not provided, the regular version of the icon is displayed. |
|
|
25
|
+
| `stroke` | `number \| undefined` | `-` | When set to true, you can apply custom stroke width to the icon. |
|
|
26
|
+
| `level` | `GdsColorLevel` | `-` | The level of the icon is used to resolve the color tokens from the corresponding level. Check the [Color System documentation page](./?path=/docs/style-colors--docs) for more information. Default for `gds-icon-*` is level 2. |
|
|
27
|
+
| `color` | `string \| undefined` | `-` | Style Expression Property that controls the `color` property. Only accepts color tokens and an optional transparency value, in the format tokenName/transparency. ```html <gds-icon-ai color="neutral-01/0.2"></gds-icon-ai> ``` |
|
|
28
|
+
| `label` | `string` | `-` | This property allow you to set the accessible label of the icon. If not provided, the icon will be presentational. |
|
package/generated/mcp/icons.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"generatedAt": "2026-02-
|
|
2
|
+
"generatedAt": "2026-02-20T09:37:11.494Z",
|
|
3
3
|
"icons": [
|
|
4
4
|
{
|
|
5
5
|
"name": "gds-icon-ai",
|
|
@@ -361,6 +361,18 @@
|
|
|
361
361
|
"react"
|
|
362
362
|
]
|
|
363
363
|
},
|
|
364
|
+
{
|
|
365
|
+
"name": "gds-icon-asterisk",
|
|
366
|
+
"tagName": "gds-icon-asterisk",
|
|
367
|
+
"className": "IconAsterisk",
|
|
368
|
+
"description": "",
|
|
369
|
+
"path": "icon-asterisk/",
|
|
370
|
+
"files": [
|
|
371
|
+
"api",
|
|
372
|
+
"angular",
|
|
373
|
+
"react"
|
|
374
|
+
]
|
|
375
|
+
},
|
|
364
376
|
{
|
|
365
377
|
"name": "gds-icon-at",
|
|
366
378
|
"tagName": "gds-icon-at",
|
|
@@ -1549,6 +1561,18 @@
|
|
|
1549
1561
|
"react"
|
|
1550
1562
|
]
|
|
1551
1563
|
},
|
|
1564
|
+
{
|
|
1565
|
+
"name": "gds-icon-credit-card-add",
|
|
1566
|
+
"tagName": "gds-icon-credit-card-add",
|
|
1567
|
+
"className": "IconCreditCardAdd",
|
|
1568
|
+
"description": "",
|
|
1569
|
+
"path": "icon-credit-card-add/",
|
|
1570
|
+
"files": [
|
|
1571
|
+
"api",
|
|
1572
|
+
"angular",
|
|
1573
|
+
"react"
|
|
1574
|
+
]
|
|
1575
|
+
},
|
|
1552
1576
|
{
|
|
1553
1577
|
"name": "gds-icon-cross-large",
|
|
1554
1578
|
"tagName": "gds-icon-cross-large",
|
|
@@ -3013,6 +3037,18 @@
|
|
|
3013
3037
|
"react"
|
|
3014
3038
|
]
|
|
3015
3039
|
},
|
|
3040
|
+
{
|
|
3041
|
+
"name": "gds-icon-power",
|
|
3042
|
+
"tagName": "gds-icon-power",
|
|
3043
|
+
"className": "IconPower",
|
|
3044
|
+
"description": "",
|
|
3045
|
+
"path": "icon-power/",
|
|
3046
|
+
"files": [
|
|
3047
|
+
"api",
|
|
3048
|
+
"angular",
|
|
3049
|
+
"react"
|
|
3050
|
+
]
|
|
3051
|
+
},
|
|
3016
3052
|
{
|
|
3017
3053
|
"name": "gds-icon-power-plant",
|
|
3018
3054
|
"tagName": "gds-icon-power-plant",
|
package/generated/mcp/index.json
CHANGED