@sebgroup/green-core 3.27.0 → 3.28.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/index.d.ts +1 -0
- package/components/index.js +1 -0
- package/components/progress/index.d.ts +1 -0
- package/components/progress/index.js +1 -0
- package/components/progress/progress.component.d.ts +67 -0
- package/components/progress/progress.component.js +172 -0
- package/components/progress/progress.d.ts +2 -0
- package/components/progress/progress.js +6 -0
- package/components/progress/progress.styles.d.ts +2 -0
- package/components/progress/progress.styles.js +175 -0
- package/components/rich-text/rich-text.component.js +7 -3
- package/custom-elements.json +37045 -36108
- package/gds-element.js +1 -1
- package/generated/mcp/components.json +13 -1
- package/generated/mcp/icons.json +1 -1
- package/generated/mcp/index.json +1 -1
- package/generated/mcp/progress/angular.md +15 -0
- package/generated/mcp/progress/api.md +41 -0
- package/generated/mcp/progress/index.json +8 -0
- package/generated/mcp/progress/react.md +15 -0
- package/generated/mcp/tokens.json +1 -1
- package/generated/react/index.d.ts +10 -9
- package/generated/react/index.js +10 -9
- package/generated/react/progress/index.d.ts +701 -0
- package/generated/react/progress/index.js +14 -0
- package/package.json +3 -1
- package/pure.d.ts +1 -0
- package/pure.js +1 -0
- package/utils/helpers/custom-element-scoping.js +1 -1
package/gds-element.js
CHANGED
|
@@ -16,7 +16,7 @@ class GdsElement extends LitElement {
|
|
|
16
16
|
/**
|
|
17
17
|
* The semantic version of this element. Can be used for troubleshooting to verify the version being used.
|
|
18
18
|
*/
|
|
19
|
-
this.semanticVersion = "3.
|
|
19
|
+
this.semanticVersion = "3.28.0";
|
|
20
20
|
this.syncFirstRender = false;
|
|
21
21
|
this._isUsingTransitionalStyles = false;
|
|
22
22
|
this._dynamicStylesController = new DynamicStylesController(this);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"generatedAt": "2026-10-
|
|
2
|
+
"generatedAt": "2026-10-09T13:37:49.681Z",
|
|
3
3
|
"components": [
|
|
4
4
|
{
|
|
5
5
|
"name": "gds-alert",
|
|
@@ -576,6 +576,18 @@
|
|
|
576
576
|
"react"
|
|
577
577
|
]
|
|
578
578
|
},
|
|
579
|
+
{
|
|
580
|
+
"name": "gds-progress",
|
|
581
|
+
"tagName": "gds-progress",
|
|
582
|
+
"className": "GdsProgress",
|
|
583
|
+
"description": "",
|
|
584
|
+
"path": "progress/",
|
|
585
|
+
"files": [
|
|
586
|
+
"api",
|
|
587
|
+
"angular",
|
|
588
|
+
"react"
|
|
589
|
+
]
|
|
590
|
+
},
|
|
579
591
|
{
|
|
580
592
|
"name": "gds-radio",
|
|
581
593
|
"tagName": "gds-radio",
|
package/generated/mcp/icons.json
CHANGED
package/generated/mcp/index.json
CHANGED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# gds-progress
|
|
2
|
+
|
|
3
|
+
**Class**: `GdsProgress`
|
|
4
|
+
|
|
5
|
+
**Tag**: `<gds-progress>`
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
## Properties
|
|
9
|
+
|
|
10
|
+
> Some properties accept design token names. Use `get_tokens` with the appropriate category to discover valid token names and their resolved values.
|
|
11
|
+
|
|
12
|
+
| Name | Type | Default | Description |
|
|
13
|
+
|------|------|---------|-------------|
|
|
14
|
+
| `width` | `string \| undefined` | `-` | Style Expression Property that controls the `width` property. Supports space tokens and all valid CSS `width` values. |
|
|
15
|
+
| `'min-width'` | `string \| undefined` | `-` | Style Expression Property that controls the `min-width` property. Supports space tokens and all valid CSS `min-width` values. |
|
|
16
|
+
| `'max-width'` | `string \| undefined` | `-` | Style Expression Property that controls the `max-width` property. Supports space tokens and all valid CSS `max-width` values. |
|
|
17
|
+
| `'inline-size'` | `string \| undefined` | `-` | Style Expression Property that controls the `inline-size` property. Supports space tokens and all valid CSS `inline-size` values |
|
|
18
|
+
| `'min-inline-size'` | `string \| undefined` | `-` | Style Expression Property that controls the `min-inline-size` property. Supports space tokens and all valid CSS `min-inline-size` values. |
|
|
19
|
+
| `'max-inline-size'` | `string \| undefined` | `-` | Style Expression Property that controls the `max-inline-size` property. Supports space tokens and all valid CSS `max-inline-size` values. |
|
|
20
|
+
| `margin` | `string \| undefined` | `-` | Style Expression Property that controls the `margin` property. Only accepts space tokens. |
|
|
21
|
+
| `'margin-inline'` | `string \| undefined` | `-` | Style Expression Property that controls the `margin-inline` property. Only accepts space tokens. |
|
|
22
|
+
| `'margin-block'` | `string \| undefined` | `-` | Style Expression Property that controls the `margin-block` property. Only accepts space tokens. |
|
|
23
|
+
| `'align-self'` | `string \| undefined` | `-` | Style Expression Property that controls the `align-self` property. Supports all valid CSS `align-self` values. |
|
|
24
|
+
| `'justify-self'` | `string \| undefined` | `-` | Style Expression Property that controls the `justify-self` property. Supports all valid CSS `justify-self` values. |
|
|
25
|
+
| `'place-self'` | `string \| undefined` | `-` | Style Expression Property that controls the `place-self` property. Supports all valid CSS `place-self` values. |
|
|
26
|
+
| `'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 |
|
|
27
|
+
| `'grid-row'` | `string \| undefined` | `-` | Style Expression Property that controls the `grid-row` property. Supports all valid CSS `grid-row` values. |
|
|
28
|
+
| `'grid-area'` | `string \| undefined` | `-` | Style Expression Property that controls the `grid-area` property. Supports all valid CSS `grid-area` values. |
|
|
29
|
+
| `flex` | `string \| undefined` | `-` | Style Expression Property that controls the `flex` property. Supports all valid CSS `flex` values. |
|
|
30
|
+
| `order` | `string \| undefined` | `-` | Style Expression Property that controls the `order` property. Supports all valid CSS `order` values. |
|
|
31
|
+
| `label` | `string` | `-` | The accessible label for the progress bar. Also rendered as visible text unless `plain` is set. |
|
|
32
|
+
| `value` | `number` | `-` | The current progress, expressed on a scale from 0 to `max`. |
|
|
33
|
+
| `max` | `number` | `-` | The upper bound of the progress scale. Values of 0 or less fall back to 100. |
|
|
34
|
+
| `variant` | `GdsProgressVariant` | `-` | Visual state of the progress bar. `positive` and `negative` also swap the trailing value text for a status icon. |
|
|
35
|
+
| `size` | `'large' \| 'small'` | `-` | Controls the font-size of texts and the track height. |
|
|
36
|
+
| `'flex-direction'` | `string \| undefined` | `-` | Style Expression Property that controls the `flex-direction` property. Supports all valid CSS `flex-direction` values. Use `column-reverse` to place the label row below the bar. |
|
|
37
|
+
| `indeterminate` | `boolean` | `-` | Renders an animated, non-measurable progress bar. The native `<progress>` element is left without a value, so assistive tech announces it as indeterminate. |
|
|
38
|
+
| `plain` | `boolean` | `-` | Hides the label row, while still keeping the accessible label. |
|
|
39
|
+
| `hideValue` | `boolean` | `-` | Hides the trailing text and status icon. |
|
|
40
|
+
| `trail` | `string \| undefined` | `-` | Text rendered at the end of the label row, in place of the automatically formatted percentage or the status icon. |
|
|
41
|
+
| `syncFirstRender` | `boolean` | `-` | Force the element to perform a synchronous first render and apply style expression properties in `connectedCallback`. This guarantees that the child DOM always remains projected in DOM, since the element will attach the shadowRoot and run the first render pass in the same event loop cycle, and that declarative layout will be applied once slotted DOM is projected. Note: This will cause the first render pass to be blocking. Use sparingly and only when necessary, such as when the element needs to be measured synchronously after being added to the DOM. |
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
export * from './list-item-pattern-01/index.js';
|
|
2
|
-
export * from './card-pattern-01/index.js';
|
|
3
1
|
export * from './alert/index.js';
|
|
4
2
|
export * from './avatar/index.js';
|
|
5
3
|
export * from './badge/index.js';
|
|
@@ -8,9 +6,9 @@ export * from './breadcrumbs/index.js';
|
|
|
8
6
|
export * from './button/index.js';
|
|
9
7
|
export * from './calendar/index.js';
|
|
10
8
|
export * from './card/index.js';
|
|
11
|
-
export * from './card-linked/index.js';
|
|
12
9
|
export * from './checkbox/index.js';
|
|
13
10
|
export * from './coachmark/index.js';
|
|
11
|
+
export * from './card-linked/index.js';
|
|
14
12
|
export * from './context-menu/index.js';
|
|
15
13
|
export * from './datepicker/index.js';
|
|
16
14
|
export * from './details/index.js';
|
|
@@ -19,8 +17,8 @@ export * from './div/index.js';
|
|
|
19
17
|
export * from './divider/index.js';
|
|
20
18
|
export * from './dropdown/index.js';
|
|
21
19
|
export * from './option/index.js';
|
|
22
|
-
export * from './fab/index.js';
|
|
23
20
|
export * from './filter-chips/index.js';
|
|
21
|
+
export * from './fab/index.js';
|
|
24
22
|
export * from './flex/index.js';
|
|
25
23
|
export * from './form-summary/index.js';
|
|
26
24
|
export * from './grid/index.js';
|
|
@@ -28,16 +26,17 @@ export * from './grouped-list/index.js';
|
|
|
28
26
|
export * from './img/index.js';
|
|
29
27
|
export * from './input/index.js';
|
|
30
28
|
export * from './link/index.js';
|
|
31
|
-
export * from './list/index.js';
|
|
32
29
|
export * from './mask/index.js';
|
|
30
|
+
export * from './list/index.js';
|
|
33
31
|
export * from './menu-button/index.js';
|
|
34
32
|
export * from './pagination/index.js';
|
|
33
|
+
export * from './progress/index.js';
|
|
35
34
|
export * from './backdrop/index.js';
|
|
36
35
|
export * from './popover/index.js';
|
|
37
36
|
export * from './radio/index.js';
|
|
38
37
|
export * from './rich-text/index.js';
|
|
39
|
-
export * from './segmented-control/index.js';
|
|
40
38
|
export * from './select/index.js';
|
|
39
|
+
export * from './segmented-control/index.js';
|
|
41
40
|
export * from './signal/index.js';
|
|
42
41
|
export * from './slider/index.js';
|
|
43
42
|
export * from './spinner/index.js';
|
|
@@ -48,6 +47,8 @@ export * from './text/index.js';
|
|
|
48
47
|
export * from './textarea/index.js';
|
|
49
48
|
export * from './theme/index.js';
|
|
50
49
|
export * from './video/index.js';
|
|
50
|
+
export * from './card-pattern-01/index.js';
|
|
51
|
+
export * from './list-item-pattern-01/index.js';
|
|
51
52
|
export * from './avatar-group/index.js';
|
|
52
53
|
export * from './breadcrumb/index.js';
|
|
53
54
|
export * from './checkbox-group/index.js';
|
|
@@ -59,9 +60,6 @@ export * from './formatted-number/index.js';
|
|
|
59
60
|
export * from './list-item/index.js';
|
|
60
61
|
export * from './radio-group/index.js';
|
|
61
62
|
export * from './segment/index.js';
|
|
62
|
-
export * from './sensitive-account/index.js';
|
|
63
|
-
export * from './sensitive-date/index.js';
|
|
64
|
-
export * from './sensitive-number/index.js';
|
|
65
63
|
export * from './icons/icon-ai/index.js';
|
|
66
64
|
export * from './icons/icon-airplane-up/index.js';
|
|
67
65
|
export * from './icons/icon-archive/index.js';
|
|
@@ -374,6 +372,9 @@ export * from './icons/icon-youtube/index.js';
|
|
|
374
372
|
export * from './icons/icon-zap/index.js';
|
|
375
373
|
export * from './icons/icon-zoom-in/index.js';
|
|
376
374
|
export * from './icons/icon-zoom-out/index.js';
|
|
375
|
+
export * from './sensitive-account/index.js';
|
|
376
|
+
export * from './sensitive-date/index.js';
|
|
377
|
+
export * from './sensitive-number/index.js';
|
|
377
378
|
export * from './tab/index.js';
|
|
378
379
|
export * from './tab-panel/index.js';
|
|
379
380
|
export * from './menu-item/index.js';
|
package/generated/react/index.js
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
export * from "./list-item-pattern-01/index.js";
|
|
2
|
-
export * from "./card-pattern-01/index.js";
|
|
3
1
|
export * from "./alert/index.js";
|
|
4
2
|
export * from "./avatar/index.js";
|
|
5
3
|
export * from "./badge/index.js";
|
|
@@ -8,9 +6,9 @@ export * from "./breadcrumbs/index.js";
|
|
|
8
6
|
export * from "./button/index.js";
|
|
9
7
|
export * from "./calendar/index.js";
|
|
10
8
|
export * from "./card/index.js";
|
|
11
|
-
export * from "./card-linked/index.js";
|
|
12
9
|
export * from "./checkbox/index.js";
|
|
13
10
|
export * from "./coachmark/index.js";
|
|
11
|
+
export * from "./card-linked/index.js";
|
|
14
12
|
export * from "./context-menu/index.js";
|
|
15
13
|
export * from "./datepicker/index.js";
|
|
16
14
|
export * from "./details/index.js";
|
|
@@ -19,8 +17,8 @@ export * from "./div/index.js";
|
|
|
19
17
|
export * from "./divider/index.js";
|
|
20
18
|
export * from "./dropdown/index.js";
|
|
21
19
|
export * from "./option/index.js";
|
|
22
|
-
export * from "./fab/index.js";
|
|
23
20
|
export * from "./filter-chips/index.js";
|
|
21
|
+
export * from "./fab/index.js";
|
|
24
22
|
export * from "./flex/index.js";
|
|
25
23
|
export * from "./form-summary/index.js";
|
|
26
24
|
export * from "./grid/index.js";
|
|
@@ -28,16 +26,17 @@ export * from "./grouped-list/index.js";
|
|
|
28
26
|
export * from "./img/index.js";
|
|
29
27
|
export * from "./input/index.js";
|
|
30
28
|
export * from "./link/index.js";
|
|
31
|
-
export * from "./list/index.js";
|
|
32
29
|
export * from "./mask/index.js";
|
|
30
|
+
export * from "./list/index.js";
|
|
33
31
|
export * from "./menu-button/index.js";
|
|
34
32
|
export * from "./pagination/index.js";
|
|
33
|
+
export * from "./progress/index.js";
|
|
35
34
|
export * from "./backdrop/index.js";
|
|
36
35
|
export * from "./popover/index.js";
|
|
37
36
|
export * from "./radio/index.js";
|
|
38
37
|
export * from "./rich-text/index.js";
|
|
39
|
-
export * from "./segmented-control/index.js";
|
|
40
38
|
export * from "./select/index.js";
|
|
39
|
+
export * from "./segmented-control/index.js";
|
|
41
40
|
export * from "./signal/index.js";
|
|
42
41
|
export * from "./slider/index.js";
|
|
43
42
|
export * from "./spinner/index.js";
|
|
@@ -48,6 +47,8 @@ export * from "./text/index.js";
|
|
|
48
47
|
export * from "./textarea/index.js";
|
|
49
48
|
export * from "./theme/index.js";
|
|
50
49
|
export * from "./video/index.js";
|
|
50
|
+
export * from "./card-pattern-01/index.js";
|
|
51
|
+
export * from "./list-item-pattern-01/index.js";
|
|
51
52
|
export * from "./avatar-group/index.js";
|
|
52
53
|
export * from "./breadcrumb/index.js";
|
|
53
54
|
export * from "./checkbox-group/index.js";
|
|
@@ -59,9 +60,6 @@ export * from "./formatted-number/index.js";
|
|
|
59
60
|
export * from "./list-item/index.js";
|
|
60
61
|
export * from "./radio-group/index.js";
|
|
61
62
|
export * from "./segment/index.js";
|
|
62
|
-
export * from "./sensitive-account/index.js";
|
|
63
|
-
export * from "./sensitive-date/index.js";
|
|
64
|
-
export * from "./sensitive-number/index.js";
|
|
65
63
|
export * from "./icons/icon-ai/index.js";
|
|
66
64
|
export * from "./icons/icon-airplane-up/index.js";
|
|
67
65
|
export * from "./icons/icon-archive/index.js";
|
|
@@ -374,6 +372,9 @@ export * from "./icons/icon-youtube/index.js";
|
|
|
374
372
|
export * from "./icons/icon-zap/index.js";
|
|
375
373
|
export * from "./icons/icon-zoom-in/index.js";
|
|
376
374
|
export * from "./icons/icon-zoom-out/index.js";
|
|
375
|
+
export * from "./sensitive-account/index.js";
|
|
376
|
+
export * from "./sensitive-date/index.js";
|
|
377
|
+
export * from "./sensitive-number/index.js";
|
|
377
378
|
export * from "./tab/index.js";
|
|
378
379
|
export * from "./tab-panel/index.js";
|
|
379
380
|
export * from "./menu-item/index.js";
|