@sebgroup/green-core 3.26.3 → 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/avatar/avatar.component.d.ts +1 -1
- package/components/div/div.component.d.ts +1 -1
- package/components/icon/icon.component.d.ts +1 -1
- package/components/index.d.ts +1 -0
- package/components/index.js +1 -0
- package/components/input/input.styles.js +5 -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/components/slider/slider.component.d.ts +16 -0
- package/components/slider/slider.component.js +119 -13
- package/components/slider/slider.styles.js +107 -45
- package/custom-elements.json +19567 -18559
- 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/slider/api.md +2 -0
- package/generated/mcp/tokens.json +1 -1
- package/generated/react/index.d.ts +11 -10
- package/generated/react/index.js +11 -10
- package/generated/react/progress/index.d.ts +701 -0
- package/generated/react/progress/index.js +14 -0
- package/generated/react/slider/index.d.ts +2 -0
- package/package.json +3 -1
- package/primitives/field-base/field-base.styles.js +10 -6
- package/pure.d.ts +1 -0
- package/pure.js +1 -0
- package/utils/decorators/aria-forwarding.d.ts +2 -1
- package/utils/decorators/aria-forwarding.js +5 -1
- 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. |
|
|
@@ -40,6 +40,8 @@
|
|
|
40
40
|
| `range` | `boolean` | `-` | Renders a dual-thumb range slider when true. |
|
|
41
41
|
| `value` | `GdsSliderValue` | `-` | The current value. A plain number in single-value mode, or a `[start, end]` tuple when `range` is set. |
|
|
42
42
|
| `hideTextbox` | `boolean` | `-` | Hides the interactive min/max value textboxes. |
|
|
43
|
+
| `minLabel` | `string` | `-` | Label rendered underneath the control, pinned to its start edge. Works with or without the value textboxes. |
|
|
44
|
+
| `maxLabel` | `string` | `-` | Label rendered underneath the control, pinned to its end edge. Works with or without the value textboxes. |
|
|
43
45
|
| `readonly` | `boolean` | `-` | Makes the entire control read-only — slider thumbs and textbox inputs are non-interactive. |
|
|
44
46
|
| `validator` | `GdsValidator \| undefined` | `-` | A validator that can be used to validate the form control and set an error message. |
|
|
45
47
|
| `required` | `boolean` | `-` | The required attribute can be used to communicate to users of assistive technology that the control is required. Validation still needs to be done in a validator or equivalent. |
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
export * from './alert/index.js';
|
|
2
|
-
export * from './badge/index.js';
|
|
3
2
|
export * from './avatar/index.js';
|
|
4
|
-
export * from './
|
|
3
|
+
export * from './badge/index.js';
|
|
5
4
|
export * from './blur/index.js';
|
|
6
5
|
export * from './breadcrumbs/index.js';
|
|
6
|
+
export * from './button/index.js';
|
|
7
7
|
export * from './calendar/index.js';
|
|
8
8
|
export * from './card/index.js';
|
|
9
|
-
export * from './card-linked/index.js';
|
|
10
9
|
export * from './checkbox/index.js';
|
|
11
10
|
export * from './coachmark/index.js';
|
|
11
|
+
export * from './card-linked/index.js';
|
|
12
12
|
export * from './context-menu/index.js';
|
|
13
13
|
export * from './datepicker/index.js';
|
|
14
14
|
export * from './details/index.js';
|
|
@@ -17,8 +17,8 @@ export * from './div/index.js';
|
|
|
17
17
|
export * from './divider/index.js';
|
|
18
18
|
export * from './dropdown/index.js';
|
|
19
19
|
export * from './option/index.js';
|
|
20
|
-
export * from './fab/index.js';
|
|
21
20
|
export * from './filter-chips/index.js';
|
|
21
|
+
export * from './fab/index.js';
|
|
22
22
|
export * from './flex/index.js';
|
|
23
23
|
export * from './form-summary/index.js';
|
|
24
24
|
export * from './grid/index.js';
|
|
@@ -26,16 +26,17 @@ export * from './grouped-list/index.js';
|
|
|
26
26
|
export * from './img/index.js';
|
|
27
27
|
export * from './input/index.js';
|
|
28
28
|
export * from './link/index.js';
|
|
29
|
-
export * from './list/index.js';
|
|
30
29
|
export * from './mask/index.js';
|
|
30
|
+
export * from './list/index.js';
|
|
31
31
|
export * from './menu-button/index.js';
|
|
32
32
|
export * from './pagination/index.js';
|
|
33
|
+
export * from './progress/index.js';
|
|
33
34
|
export * from './backdrop/index.js';
|
|
34
35
|
export * from './popover/index.js';
|
|
35
36
|
export * from './radio/index.js';
|
|
36
37
|
export * from './rich-text/index.js';
|
|
37
|
-
export * from './segmented-control/index.js';
|
|
38
38
|
export * from './select/index.js';
|
|
39
|
+
export * from './segmented-control/index.js';
|
|
39
40
|
export * from './signal/index.js';
|
|
40
41
|
export * from './slider/index.js';
|
|
41
42
|
export * from './spinner/index.js';
|
|
@@ -59,10 +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
|
-
export * from './tab/index.js';
|
|
66
63
|
export * from './icons/icon-ai/index.js';
|
|
67
64
|
export * from './icons/icon-airplane-up/index.js';
|
|
68
65
|
export * from './icons/icon-archive/index.js';
|
|
@@ -375,6 +372,10 @@ export * from './icons/icon-youtube/index.js';
|
|
|
375
372
|
export * from './icons/icon-zap/index.js';
|
|
376
373
|
export * from './icons/icon-zoom-in/index.js';
|
|
377
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';
|
|
378
|
+
export * from './tab/index.js';
|
|
378
379
|
export * from './tab-panel/index.js';
|
|
379
380
|
export * from './menu-item/index.js';
|
|
380
381
|
export * from './menu-heading/index.js';
|
package/generated/react/index.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
export * from "./alert/index.js";
|
|
2
|
-
export * from "./badge/index.js";
|
|
3
2
|
export * from "./avatar/index.js";
|
|
4
|
-
export * from "./
|
|
3
|
+
export * from "./badge/index.js";
|
|
5
4
|
export * from "./blur/index.js";
|
|
6
5
|
export * from "./breadcrumbs/index.js";
|
|
6
|
+
export * from "./button/index.js";
|
|
7
7
|
export * from "./calendar/index.js";
|
|
8
8
|
export * from "./card/index.js";
|
|
9
|
-
export * from "./card-linked/index.js";
|
|
10
9
|
export * from "./checkbox/index.js";
|
|
11
10
|
export * from "./coachmark/index.js";
|
|
11
|
+
export * from "./card-linked/index.js";
|
|
12
12
|
export * from "./context-menu/index.js";
|
|
13
13
|
export * from "./datepicker/index.js";
|
|
14
14
|
export * from "./details/index.js";
|
|
@@ -17,8 +17,8 @@ export * from "./div/index.js";
|
|
|
17
17
|
export * from "./divider/index.js";
|
|
18
18
|
export * from "./dropdown/index.js";
|
|
19
19
|
export * from "./option/index.js";
|
|
20
|
-
export * from "./fab/index.js";
|
|
21
20
|
export * from "./filter-chips/index.js";
|
|
21
|
+
export * from "./fab/index.js";
|
|
22
22
|
export * from "./flex/index.js";
|
|
23
23
|
export * from "./form-summary/index.js";
|
|
24
24
|
export * from "./grid/index.js";
|
|
@@ -26,16 +26,17 @@ export * from "./grouped-list/index.js";
|
|
|
26
26
|
export * from "./img/index.js";
|
|
27
27
|
export * from "./input/index.js";
|
|
28
28
|
export * from "./link/index.js";
|
|
29
|
-
export * from "./list/index.js";
|
|
30
29
|
export * from "./mask/index.js";
|
|
30
|
+
export * from "./list/index.js";
|
|
31
31
|
export * from "./menu-button/index.js";
|
|
32
32
|
export * from "./pagination/index.js";
|
|
33
|
+
export * from "./progress/index.js";
|
|
33
34
|
export * from "./backdrop/index.js";
|
|
34
35
|
export * from "./popover/index.js";
|
|
35
36
|
export * from "./radio/index.js";
|
|
36
37
|
export * from "./rich-text/index.js";
|
|
37
|
-
export * from "./segmented-control/index.js";
|
|
38
38
|
export * from "./select/index.js";
|
|
39
|
+
export * from "./segmented-control/index.js";
|
|
39
40
|
export * from "./signal/index.js";
|
|
40
41
|
export * from "./slider/index.js";
|
|
41
42
|
export * from "./spinner/index.js";
|
|
@@ -59,10 +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
|
-
export * from "./tab/index.js";
|
|
66
63
|
export * from "./icons/icon-ai/index.js";
|
|
67
64
|
export * from "./icons/icon-airplane-up/index.js";
|
|
68
65
|
export * from "./icons/icon-archive/index.js";
|
|
@@ -375,6 +372,10 @@ export * from "./icons/icon-youtube/index.js";
|
|
|
375
372
|
export * from "./icons/icon-zap/index.js";
|
|
376
373
|
export * from "./icons/icon-zoom-in/index.js";
|
|
377
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";
|
|
378
|
+
export * from "./tab/index.js";
|
|
378
379
|
export * from "./tab-panel/index.js";
|
|
379
380
|
export * from "./menu-item/index.js";
|
|
380
381
|
export * from "./menu-heading/index.js";
|