@maggioli-design-system/mds-progress 3.2.1 → 3.2.2
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/dist/cjs/mds-progress.cjs.entry.js +1 -1
- package/dist/collection/components/mds-progress/mds-progress.css +9 -4
- package/dist/collection/components/mds-progress/mds-progress.js +1 -1
- package/dist/collection/dictionary/button.js +3 -2
- package/dist/collection/dictionary/variant.js +14 -2
- package/dist/components/mds-progress.js +1 -1
- package/dist/documentation.json +8 -4
- package/dist/esm/mds-progress.entry.js +1 -1
- package/dist/esm-es5/mds-progress.entry.js +1 -1
- package/dist/mds-progress/mds-progress.esm.js +1 -1
- package/dist/mds-progress/p-1d5b5b51.system.js +1 -1
- package/dist/mds-progress/p-7a09a95a.entry.js +1 -0
- package/dist/mds-progress/p-eaa61e27.system.entry.js +1 -0
- package/dist/stats.json +17 -17
- package/dist/types/type/button.d.ts +1 -1
- package/dist/types/type/input.d.ts +1 -1
- package/dist/types/type/variant.d.ts +2 -2
- package/documentation.json +55 -21
- package/package.json +2 -2
- package/readme.md +6 -6
- package/src/components/mds-progress/css/mds-progress-variant.css +9 -4
- package/src/components/mds-progress/readme.md +6 -6
- package/src/dictionary/button.ts +3 -2
- package/src/dictionary/variant.ts +14 -2
- package/src/fixtures/icons.json +17 -0
- package/src/type/button.ts +6 -5
- package/src/type/input.ts +4 -0
- package/src/type/variant.ts +14 -2
- package/www/build/mds-progress.esm.js +1 -1
- package/www/build/p-1d5b5b51.system.js +1 -1
- package/www/build/p-7a09a95a.entry.js +1 -0
- package/www/build/p-eaa61e27.system.entry.js +1 -0
- package/dist/mds-progress/p-69cd397a.entry.js +0 -1
- package/dist/mds-progress/p-cd904a06.system.entry.js +0 -1
- package/www/build/p-69cd397a.entry.js +0 -1
- package/www/build/p-cd904a06.system.entry.js +0 -1
package/documentation.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2025-
|
|
2
|
+
"timestamp": "2025-05-14T12:14:14",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@stencil/core",
|
|
5
5
|
"version": "4.27.2",
|
|
@@ -103,10 +103,10 @@
|
|
|
103
103
|
},
|
|
104
104
|
{
|
|
105
105
|
"name": "variant",
|
|
106
|
-
"type": "\"dark\" | \"error\" | \"info\" | \"light\" | \"primary\" | \"success\" | \"warning\"",
|
|
106
|
+
"type": "\"ai\" | \"dark\" | \"error\" | \"info\" | \"light\" | \"primary\" | \"success\" | \"warning\"",
|
|
107
107
|
"complexType": {
|
|
108
108
|
"original": "ThemeVariantType",
|
|
109
|
-
"resolved": "\"dark\" | \"error\" | \"info\" | \"light\" | \"primary\" | \"success\" | \"warning\"",
|
|
109
|
+
"resolved": "\"ai\" | \"dark\" | \"error\" | \"info\" | \"light\" | \"primary\" | \"success\" | \"warning\"",
|
|
110
110
|
"references": {
|
|
111
111
|
"ThemeVariantType": {
|
|
112
112
|
"location": "import",
|
|
@@ -122,6 +122,10 @@
|
|
|
122
122
|
"docsTags": [],
|
|
123
123
|
"default": "'primary'",
|
|
124
124
|
"values": [
|
|
125
|
+
{
|
|
126
|
+
"value": "ai",
|
|
127
|
+
"type": "string"
|
|
128
|
+
},
|
|
125
129
|
{
|
|
126
130
|
"value": "dark",
|
|
127
131
|
"type": "string"
|
|
@@ -213,6 +217,11 @@
|
|
|
213
217
|
}
|
|
214
218
|
],
|
|
215
219
|
"typeLibrary": {
|
|
220
|
+
"src/components/mds-input-date-range/mds-input-date-range.tsx::EventDate": {
|
|
221
|
+
"declaration": "export interface EventDate {\n caller: HTMLMdsInputDateRangePreselectionElement\n start: string,\n end?: string\n}",
|
|
222
|
+
"docstring": "",
|
|
223
|
+
"path": "src/components/mds-input-date-range/mds-input-date-range.tsx"
|
|
224
|
+
},
|
|
216
225
|
"src/components/mds-accordion/meta/event-detail.ts::MdsAccordionEventDetail": {
|
|
217
226
|
"declaration": "export interface MdsAccordionEventDetail {\n children: NodeListOf<HTMLMdsAccordionItemElement>\n selected: string\n}",
|
|
218
227
|
"docstring": "",
|
|
@@ -248,6 +257,11 @@
|
|
|
248
257
|
"docstring": "",
|
|
249
258
|
"path": "src/type/variant.ts"
|
|
250
259
|
},
|
|
260
|
+
"src/components/mds-avatar-stack/meta/types.ts::AvatarSizeType": {
|
|
261
|
+
"declaration": "export type AvatarSizeType =\n | 'sm'\n | 'md'\n | 'lg'",
|
|
262
|
+
"docstring": "",
|
|
263
|
+
"path": "src/components/mds-avatar-stack/meta/types.ts"
|
|
264
|
+
},
|
|
251
265
|
"src/type/variant.ts::ThemeFullVariantType": {
|
|
252
266
|
"declaration": "export type ThemeFullVariantType =\n | 'amaranth'\n | 'aqua'\n | 'blue'\n | 'dark'\n | 'error'\n | 'green'\n | 'info'\n | 'light'\n | 'lime'\n | 'orange'\n | 'orchid'\n | 'sky'\n | 'success'\n | 'violet'\n | 'warning'\n | 'yellow'",
|
|
253
267
|
"docstring": "",
|
|
@@ -274,7 +288,7 @@
|
|
|
274
288
|
"path": "src/type/typography.ts"
|
|
275
289
|
},
|
|
276
290
|
"src/type/variant.ts::ThemeVariantType": {
|
|
277
|
-
"declaration": "export type ThemeVariantType =\n | 'dark'\n | 'error'\n | 'info'\n | 'light'\n | 'primary'\n | 'success'\n | 'warning'",
|
|
291
|
+
"declaration": "export type ThemeVariantType =\n | 'ai'\n | 'dark'\n | 'error'\n | 'info'\n | 'light'\n | 'primary'\n | 'success'\n | 'warning'",
|
|
278
292
|
"docstring": "",
|
|
279
293
|
"path": "src/type/variant.ts"
|
|
280
294
|
},
|
|
@@ -319,7 +333,7 @@
|
|
|
319
333
|
"path": "src/type/button.ts"
|
|
320
334
|
},
|
|
321
335
|
"src/type/button.ts::ButtonVariantType": {
|
|
322
|
-
"declaration": "export type ButtonVariantType =\n | '
|
|
336
|
+
"declaration": "export type ButtonVariantType =\n | 'ai'\n | 'apple'\n | 'dark'\n | 'error'\n | 'google'\n | 'info'\n | 'light'\n | 'primary'\n | 'secondary'\n | 'success'\n | 'warning'",
|
|
323
337
|
"docstring": "",
|
|
324
338
|
"path": "src/type/button.ts"
|
|
325
339
|
},
|
|
@@ -338,8 +352,23 @@
|
|
|
338
352
|
"docstring": "",
|
|
339
353
|
"path": "src/type/text.ts"
|
|
340
354
|
},
|
|
355
|
+
"src/components/mds-calendar-cell/meta/types.ts::CalendarCellType": {
|
|
356
|
+
"declaration": "export type CalendarCellType =\n | 'other'\n | 'current'\n | 'weekend'",
|
|
357
|
+
"docstring": "",
|
|
358
|
+
"path": "src/components/mds-calendar-cell/meta/types.ts"
|
|
359
|
+
},
|
|
360
|
+
"src/components/mds-calendar-cell/meta/types.ts::CalendarCellSelectionOrieintationType": {
|
|
361
|
+
"declaration": "export type CalendarCellSelectionOrieintationType =\n | 'both'\n | 'horizontal'\n | 'vertical'",
|
|
362
|
+
"docstring": "",
|
|
363
|
+
"path": "src/components/mds-calendar-cell/meta/types.ts"
|
|
364
|
+
},
|
|
365
|
+
"src/components/mds-calendar-cell/meta/types.ts::CalendarCellSelectionPositionType": {
|
|
366
|
+
"declaration": "export type CalendarCellSelectionPositionType =\n | 'end'\n | 'middle'\n | 'none'\n | 'start'\n | 'single'",
|
|
367
|
+
"docstring": "",
|
|
368
|
+
"path": "src/components/mds-calendar-cell/meta/types.ts"
|
|
369
|
+
},
|
|
341
370
|
"src/type/variant.ts::ChipVariantType": {
|
|
342
|
-
"declaration": "export type ChipVariantType =\n | '
|
|
371
|
+
"declaration": "export type ChipVariantType =\n | 'ai'\n | 'amaranth'\n | 'aqua'\n | 'blue'\n | 'dark'\n | 'error'\n | 'green'\n | 'info'\n | 'lime'\n | 'orange'\n | 'orchid'\n | 'primary'\n | 'secondary'\n | 'sky'\n | 'success'\n | 'violet'\n | 'warning'\n | 'yellow'",
|
|
343
372
|
"docstring": "",
|
|
344
373
|
"path": "src/type/variant.ts"
|
|
345
374
|
},
|
|
@@ -469,7 +498,7 @@
|
|
|
469
498
|
"path": "src/type/variant.ts"
|
|
470
499
|
},
|
|
471
500
|
"src/type/input.ts::InputTextType": {
|
|
472
|
-
"declaration": "export type InputTextType =\n | 'date'\n | 'email'\n | 'number'\n | 'password'\n | 'search'\n | 'tel'\n | 'text'\n | 'textarea'\n | 'time'\n | 'url'",
|
|
501
|
+
"declaration": "export type InputTextType =\n | 'date'\n | 'email'\n | 'number'\n | 'password'\n | 'search'\n | 'tel'\n | 'text'\n | 'textarea'\n | 'time'\n | 'url'\n | 'cc'\n | 'cf'\n | 'isbn'\n | 'piva'",
|
|
473
502
|
"docstring": "",
|
|
474
503
|
"path": "src/type/input.ts"
|
|
475
504
|
},
|
|
@@ -483,20 +512,15 @@
|
|
|
483
512
|
"docstring": "",
|
|
484
513
|
"path": "src/type/input.ts"
|
|
485
514
|
},
|
|
486
|
-
"src/components/mds-input
|
|
487
|
-
"declaration": "export type InputFieldType =\n | 'date'\n | 'email'\n | 'number'\n | 'password'\n | 'search'\n | 'tel'\n | 'text'\n | 'textarea'\n | 'time'\n | 'url'\n | 'cc'\n | 'cf'\n | 'isbn'\n | 'piva'",
|
|
488
|
-
"docstring": "",
|
|
489
|
-
"path": "src/components/mds-input-field/meta/types.ts"
|
|
490
|
-
},
|
|
491
|
-
"src/components/mds-input-field/meta/validators.ts::MdsValidatorFn": {
|
|
515
|
+
"src/components/mds-input/meta/validators.ts::MdsValidatorFn": {
|
|
492
516
|
"declaration": "(input: string) => null | MdsValidationErrors",
|
|
493
517
|
"docstring": "",
|
|
494
|
-
"path": "src/components/mds-input
|
|
518
|
+
"path": "src/components/mds-input/meta/validators.ts"
|
|
495
519
|
},
|
|
496
|
-
"src/components/mds-input
|
|
520
|
+
"src/components/mds-input/meta/validators.ts::MdsValidationErrors": {
|
|
497
521
|
"declaration": "export interface MdsValidationErrors {\n [key: string]: string\n}",
|
|
498
522
|
"docstring": "",
|
|
499
|
-
"path": "src/components/mds-input
|
|
523
|
+
"path": "src/components/mds-input/meta/validators.ts"
|
|
500
524
|
},
|
|
501
525
|
"src/components/mds-input-switch/meta/types.ts::InputSwitchSizeType": {
|
|
502
526
|
"declaration": "export type InputSwitchSizeType =\n | 'sm'\n | 'md'\n | 'lg'",
|
|
@@ -588,6 +612,11 @@
|
|
|
588
612
|
"docstring": "",
|
|
589
613
|
"path": "src/components/mds-paginator/meta/event-detail.ts"
|
|
590
614
|
},
|
|
615
|
+
"src/components/mds-policy-ai/meta/types.ts::PolicyAiVariant": {
|
|
616
|
+
"declaration": "export type PolicyAiVariant =\n | 'icon'\n | 'chip'\n | 'card'\n | 'banner'",
|
|
617
|
+
"docstring": "",
|
|
618
|
+
"path": "src/components/mds-policy-ai/meta/types.ts"
|
|
619
|
+
},
|
|
591
620
|
"src/components/mds-pref-animation/meta/types.ts::AnimationModeType": {
|
|
592
621
|
"declaration": "export type AnimationModeType =\n | 'reduce'\n | 'no-preference'\n | 'system'",
|
|
593
622
|
"docstring": "",
|
|
@@ -658,6 +687,16 @@
|
|
|
658
687
|
"docstring": "",
|
|
659
688
|
"path": "src/type/text.ts"
|
|
660
689
|
},
|
|
690
|
+
"src/components/mds-radial-menu/meta/types.ts::Direction": {
|
|
691
|
+
"declaration": "export type Direction =\n | 'clockwise'\n | 'counterclockwise'",
|
|
692
|
+
"docstring": "",
|
|
693
|
+
"path": "src/components/mds-radial-menu/meta/types.ts"
|
|
694
|
+
},
|
|
695
|
+
"src/components/mds-radial-menu/meta/types.ts::Interaction": {
|
|
696
|
+
"declaration": "export type Interaction =\n | 'click'\n | 'rightclick'",
|
|
697
|
+
"docstring": "",
|
|
698
|
+
"path": "src/components/mds-radial-menu/meta/types.ts"
|
|
699
|
+
},
|
|
661
700
|
"src/components/mds-stepper-bar/meta/event-detail.ts::MdsStepperBarEventDetail": {
|
|
662
701
|
"declaration": "export interface MdsStepperBarEventDetail {\n step: number\n value: string\n}",
|
|
663
702
|
"docstring": "",
|
|
@@ -718,11 +757,6 @@
|
|
|
718
757
|
"docstring": "",
|
|
719
758
|
"path": "src/type/text.ts"
|
|
720
759
|
},
|
|
721
|
-
"src/type/variant.ts::ThemeLuminanceVariantType": {
|
|
722
|
-
"declaration": "export type ThemeLuminanceVariantType =\n | 'dark'\n | 'light'",
|
|
723
|
-
"docstring": "",
|
|
724
|
-
"path": "src/type/variant.ts"
|
|
725
|
-
},
|
|
726
760
|
"src/components/mds-toast/meta/types.ts::ToastPosition": {
|
|
727
761
|
"declaration": "export type ToastPosition =\n | 'top-left'\n | 'top-center'\n | 'top-right'\n | 'bottom-left'\n | 'bottom-center'\n | 'bottom-right'",
|
|
728
762
|
"docstring": "",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maggioli-design-system/mds-progress",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.2",
|
|
4
4
|
"description": "mds-progress is a web-component from Magma Design System, built with StencilJS, TypeScript, Storybook. It's based on the web-component standard and it's designed to be agnostic from the JavaScript framework you are using.",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"test": "stencil test --spec --e2e"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@maggioli-design-system/styles": "15.
|
|
27
|
+
"@maggioli-design-system/styles": "15.10.0",
|
|
28
28
|
"@stencil/core": "4.27.2"
|
|
29
29
|
},
|
|
30
30
|
"license": "MIT",
|
package/readme.md
CHANGED
|
@@ -9,12 +9,12 @@ This is a web-component from Maggioli Design System [Magma](https://magma.maggio
|
|
|
9
9
|
|
|
10
10
|
## Properties
|
|
11
11
|
|
|
12
|
-
| Property | Attribute | Description | Type
|
|
13
|
-
| ----------- | ----------- | ---------------------------------------------------------------------- |
|
|
14
|
-
| `direction` | `direction` | Specifies the direction of the progress bar, if horizonatl or vertical | `"horizontal" \| "vertical" \| undefined`
|
|
15
|
-
| `progress` | `progress` | A value between 0 and 1 that rapresents the status progress | `number`
|
|
16
|
-
| `steps` | `steps` | Sets the steps that can be pronounced by accessibility technologies | `string`
|
|
17
|
-
| `variant` | `variant` | Sets the theme variant colors | `"dark" \| "error" \| "info" \| "light" \| "primary" \| "success" \| "warning"` | `'primary'` |
|
|
12
|
+
| Property | Attribute | Description | Type | Default |
|
|
13
|
+
| ----------- | ----------- | ---------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | ----------------------------------------- |
|
|
14
|
+
| `direction` | `direction` | Specifies the direction of the progress bar, if horizonatl or vertical | `"horizontal" \| "vertical" \| undefined` | `'horizontal'` |
|
|
15
|
+
| `progress` | `progress` | A value between 0 and 1 that rapresents the status progress | `number` | `0` |
|
|
16
|
+
| `steps` | `steps` | Sets the steps that can be pronounced by accessibility technologies | `string` | `'Inizio,Un quarto,Metà,Tre quarti,Fine'` |
|
|
17
|
+
| `variant` | `variant` | Sets the theme variant colors | `"ai" \| "dark" \| "error" \| "info" \| "light" \| "primary" \| "success" \| "warning"` | `'primary'` |
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
## CSS Custom Properties
|
|
@@ -9,22 +9,22 @@
|
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
:host([variant="error"]) {
|
|
12
|
-
--mds-progress-color: theme('colors.status-error-
|
|
12
|
+
--mds-progress-color: theme('colors.status-error-05');
|
|
13
13
|
--mds-progress-background: theme('colors.status-error-09');
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
:host([variant="warning"]) {
|
|
17
|
-
--mds-progress-color: theme('colors.status-warning-
|
|
17
|
+
--mds-progress-color: theme('colors.status-warning-05');
|
|
18
18
|
--mds-progress-background: theme('colors.status-warning-09');
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
:host([variant="success"]) {
|
|
22
|
-
--mds-progress-color: theme('colors.status-success-
|
|
22
|
+
--mds-progress-color: theme('colors.status-success-05');
|
|
23
23
|
--mds-progress-background: theme('colors.status-success-09');
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
:host([variant="info"]) {
|
|
27
|
-
--mds-progress-color: theme('colors.status-info-
|
|
27
|
+
--mds-progress-color: theme('colors.status-info-05');
|
|
28
28
|
--mds-progress-background: theme('colors.status-info-09');
|
|
29
29
|
}
|
|
30
30
|
|
|
@@ -32,3 +32,8 @@
|
|
|
32
32
|
--mds-progress-color: theme('colors.variant-primary-03');
|
|
33
33
|
--mds-progress-background: theme('colors.tone-neutral-08');
|
|
34
34
|
}
|
|
35
|
+
|
|
36
|
+
:host([variant="ai"]) {
|
|
37
|
+
--mds-progress-color: theme('colors.variant-ai-05');
|
|
38
|
+
--mds-progress-background: theme('colors.variant-ai-09');
|
|
39
|
+
}
|
|
@@ -7,12 +7,12 @@
|
|
|
7
7
|
|
|
8
8
|
## Properties
|
|
9
9
|
|
|
10
|
-
| Property | Attribute | Description | Type
|
|
11
|
-
| ----------- | ----------- | ---------------------------------------------------------------------- |
|
|
12
|
-
| `direction` | `direction` | Specifies the direction of the progress bar, if horizonatl or vertical | `"horizontal" \| "vertical" \| undefined`
|
|
13
|
-
| `progress` | `progress` | A value between 0 and 1 that rapresents the status progress | `number`
|
|
14
|
-
| `steps` | `steps` | Sets the steps that can be pronounced by accessibility technologies | `string`
|
|
15
|
-
| `variant` | `variant` | Sets the theme variant colors | `"dark" \| "error" \| "info" \| "light" \| "primary" \| "success" \| "warning"` | `'primary'` |
|
|
10
|
+
| Property | Attribute | Description | Type | Default |
|
|
11
|
+
| ----------- | ----------- | ---------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | ----------------------------------------- |
|
|
12
|
+
| `direction` | `direction` | Specifies the direction of the progress bar, if horizonatl or vertical | `"horizontal" \| "vertical" \| undefined` | `'horizontal'` |
|
|
13
|
+
| `progress` | `progress` | A value between 0 and 1 that rapresents the status progress | `number` | `0` |
|
|
14
|
+
| `steps` | `steps` | Sets the steps that can be pronounced by accessibility technologies | `string` | `'Inizio,Un quarto,Metà,Tre quarti,Fine'` |
|
|
15
|
+
| `variant` | `variant` | Sets the theme variant colors | `"ai" \| "dark" \| "error" \| "info" \| "light" \| "primary" \| "success" \| "warning"` | `'primary'` |
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
## CSS Custom Properties
|
package/src/dictionary/button.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
const themeVariantDictionary = [
|
|
2
|
+
'ai',
|
|
2
3
|
'dark',
|
|
3
4
|
'error',
|
|
4
5
|
'info',
|
|
@@ -78,13 +79,24 @@ const toneVariantDictionary = [
|
|
|
78
79
|
]
|
|
79
80
|
|
|
80
81
|
const themeVariantChipDictionary = [
|
|
81
|
-
'
|
|
82
|
-
'
|
|
82
|
+
'ai',
|
|
83
|
+
'amaranth',
|
|
84
|
+
'aqua',
|
|
85
|
+
'blue',
|
|
83
86
|
'dark',
|
|
84
87
|
'error',
|
|
88
|
+
'green',
|
|
85
89
|
'info',
|
|
90
|
+
'lime',
|
|
91
|
+
'orange',
|
|
92
|
+
'orchid',
|
|
93
|
+
'primary',
|
|
94
|
+
'secondary',
|
|
95
|
+
'sky',
|
|
86
96
|
'success',
|
|
97
|
+
'violet',
|
|
87
98
|
'warning',
|
|
99
|
+
'yellow',
|
|
88
100
|
]
|
|
89
101
|
|
|
90
102
|
const toneActionVariantDictionary = [
|
package/src/fixtures/icons.json
CHANGED
|
@@ -19,6 +19,14 @@
|
|
|
19
19
|
"mdi/license",
|
|
20
20
|
"mdi/map-marker",
|
|
21
21
|
"mdi/npm",
|
|
22
|
+
"mdi/numeric-1",
|
|
23
|
+
"mdi/numeric-2",
|
|
24
|
+
"mdi/numeric-3",
|
|
25
|
+
"mdi/numeric-4",
|
|
26
|
+
"mdi/numeric-5",
|
|
27
|
+
"mdi/numeric-6",
|
|
28
|
+
"mdi/numeric-7",
|
|
29
|
+
"mdi/numeric-8",
|
|
22
30
|
"mdi/replay",
|
|
23
31
|
"mdi/vector-curve",
|
|
24
32
|
"mgg/abitazione-principale",
|
|
@@ -333,7 +341,9 @@
|
|
|
333
341
|
"mi/baseline/agriculture",
|
|
334
342
|
"mi/baseline/animation",
|
|
335
343
|
"mi/baseline/arrow-back",
|
|
344
|
+
"mi/baseline/arrow-back-ios-new",
|
|
336
345
|
"mi/baseline/arrow-forward",
|
|
346
|
+
"mi/baseline/arrow-forward-ios",
|
|
337
347
|
"mi/baseline/attach-file",
|
|
338
348
|
"mi/baseline/attachment",
|
|
339
349
|
"mi/baseline/audiotrack",
|
|
@@ -343,6 +353,7 @@
|
|
|
343
353
|
"mi/baseline/book",
|
|
344
354
|
"mi/baseline/border-all",
|
|
345
355
|
"mi/baseline/broken-image",
|
|
356
|
+
"mi/baseline/calendar-today",
|
|
346
357
|
"mi/baseline/call",
|
|
347
358
|
"mi/baseline/cancel",
|
|
348
359
|
"mi/baseline/category",
|
|
@@ -364,6 +375,7 @@
|
|
|
364
375
|
"mi/baseline/downhill-skiing",
|
|
365
376
|
"mi/baseline/draw",
|
|
366
377
|
"mi/baseline/eco",
|
|
378
|
+
"mi/baseline/edit",
|
|
367
379
|
"mi/baseline/email",
|
|
368
380
|
"mi/baseline/error",
|
|
369
381
|
"mi/baseline/expand-more",
|
|
@@ -377,6 +389,7 @@
|
|
|
377
389
|
"mi/baseline/indeterminate-check-box",
|
|
378
390
|
"mi/baseline/info",
|
|
379
391
|
"mi/baseline/insert-drive-file",
|
|
392
|
+
"mi/baseline/ios-share",
|
|
380
393
|
"mi/baseline/keyboard",
|
|
381
394
|
"mi/baseline/keyboard-arrow-down",
|
|
382
395
|
"mi/baseline/keyboard-arrow-left",
|
|
@@ -388,6 +401,7 @@
|
|
|
388
401
|
"mi/baseline/keyboard-return",
|
|
389
402
|
"mi/baseline/keyboard-tab",
|
|
390
403
|
"mi/baseline/light-mode",
|
|
404
|
+
"mi/baseline/list-alt",
|
|
391
405
|
"mi/baseline/local-activity",
|
|
392
406
|
"mi/baseline/location-city",
|
|
393
407
|
"mi/baseline/lock-open",
|
|
@@ -400,6 +414,8 @@
|
|
|
400
414
|
"mi/baseline/panorama",
|
|
401
415
|
"mi/baseline/person",
|
|
402
416
|
"mi/baseline/pets",
|
|
417
|
+
"mi/baseline/print",
|
|
418
|
+
"mi/baseline/privacy-tip",
|
|
403
419
|
"mi/baseline/radio-button-checked",
|
|
404
420
|
"mi/baseline/radio-button-unchecked",
|
|
405
421
|
"mi/baseline/remove",
|
|
@@ -432,6 +448,7 @@
|
|
|
432
448
|
"mi/outline/circle",
|
|
433
449
|
"mi/outline/dark-mode",
|
|
434
450
|
"mi/outline/help-outline",
|
|
451
|
+
"mi/outline/policy",
|
|
435
452
|
"mi/outline/schedule",
|
|
436
453
|
"mi/round/arrow-circle-down",
|
|
437
454
|
"mi/round/email",
|
package/src/type/button.ts
CHANGED
|
@@ -19,13 +19,14 @@ export type ButtonIconPositionType =
|
|
|
19
19
|
| 'right'
|
|
20
20
|
|
|
21
21
|
export type ButtonVariantType =
|
|
22
|
-
| '
|
|
23
|
-
| '
|
|
22
|
+
| 'ai'
|
|
23
|
+
| 'apple'
|
|
24
24
|
| 'dark'
|
|
25
|
-
| 'light'
|
|
26
25
|
| 'error'
|
|
26
|
+
| 'google'
|
|
27
27
|
| 'info'
|
|
28
|
+
| 'light'
|
|
29
|
+
| 'primary'
|
|
30
|
+
| 'secondary'
|
|
28
31
|
| 'success'
|
|
29
32
|
| 'warning'
|
|
30
|
-
| 'google'
|
|
31
|
-
| 'apple'
|
package/src/type/input.ts
CHANGED
package/src/type/variant.ts
CHANGED
|
@@ -5,6 +5,7 @@ export type ThemeStatusVariantType =
|
|
|
5
5
|
| 'warning'
|
|
6
6
|
|
|
7
7
|
export type ThemeVariantType =
|
|
8
|
+
| 'ai'
|
|
8
9
|
| 'dark'
|
|
9
10
|
| 'error'
|
|
10
11
|
| 'info'
|
|
@@ -70,13 +71,24 @@ export type ActionVariantType =
|
|
|
70
71
|
| 'light'
|
|
71
72
|
|
|
72
73
|
export type ChipVariantType =
|
|
73
|
-
| '
|
|
74
|
-
| '
|
|
74
|
+
| 'ai'
|
|
75
|
+
| 'amaranth'
|
|
76
|
+
| 'aqua'
|
|
77
|
+
| 'blue'
|
|
75
78
|
| 'dark'
|
|
76
79
|
| 'error'
|
|
80
|
+
| 'green'
|
|
77
81
|
| 'info'
|
|
82
|
+
| 'lime'
|
|
83
|
+
| 'orange'
|
|
84
|
+
| 'orchid'
|
|
85
|
+
| 'primary'
|
|
86
|
+
| 'secondary'
|
|
87
|
+
| 'sky'
|
|
78
88
|
| 'success'
|
|
89
|
+
| 'violet'
|
|
79
90
|
| 'warning'
|
|
91
|
+
| 'yellow'
|
|
80
92
|
|
|
81
93
|
export type StateVariantType =
|
|
82
94
|
| 'disabled'
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,b as r}from"./p-e65c1ecc.js";export{s as setNonce}from"./p-e65c1ecc.js";import{g as p}from"./p-e1255160.js";(()=>{const s=import.meta.url,r={};return""!==s&&(r.resourcesUrl=new URL(".",s).href),e(r)})().then((async s=>(await p(),r([["p-
|
|
1
|
+
import{p as e,b as r}from"./p-e65c1ecc.js";export{s as setNonce}from"./p-e65c1ecc.js";import{g as p}from"./p-e1255160.js";(()=>{const s=import.meta.url,r={};return""!==s&&(r.resourcesUrl=new URL(".",s).href),e(r)})().then((async s=>(await p(),r([["p-7a09a95a",[[1,"mds-progress",{progress:[2],direction:[513],variant:[513],steps:[1],currentStep:[32]},null,{progress:["progressChanged"],steps:["stepsChanged"]}]]]],s))));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(t,n,e,r){function i(t){return t instanceof e?t:new e((function(n){n(t)}))}return new(e||(e=Promise))((function(e,s){function u(t){try{
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(t,n,e,r){function i(t){return t instanceof e?t:new e((function(n){n(t)}))}return new(e||(e=Promise))((function(e,s){function u(t){try{c(r.next(t))}catch(t){s(t)}}function o(t){try{c(r["throw"](t))}catch(t){s(t)}}function c(t){t.done?e(t.value):i(t.value).then(u,o)}c((r=r.apply(t,n||[])).next())}))};var __generator=this&&this.__generator||function(t,n){var e={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},r,i,s,u;return u={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(u[Symbol.iterator]=function(){return this}),u;function o(t){return function(n){return c([t,n])}}function c(o){if(r)throw new TypeError("Generator is already executing.");while(u&&(u=0,o[0]&&(e=0)),e)try{if(r=1,i&&(s=o[0]&2?i["return"]:o[0]?i["throw"]||((s=i["return"])&&s.call(i),0):i.next)&&!(s=s.call(i,o[1])).done)return s;if(i=0,s)o=[o[0]&2,s.value];switch(o[0]){case 0:case 1:s=o;break;case 4:e.label++;return{value:o[1],done:false};case 5:e.label++;i=o[1];o=[0];continue;case 7:o=e.ops.pop();e.trys.pop();continue;default:if(!(s=e.trys,s=s.length>0&&s[s.length-1])&&(o[0]===6||o[0]===2)){e=0;continue}if(o[0]===3&&(!s||o[1]>s[0]&&o[1]<s[3])){e.label=o[1];break}if(o[0]===6&&e.label<s[1]){e.label=s[1];s=o;break}if(s&&e.label<s[2]){e.label=s[2];e.ops.push(o);break}if(s[2])e.ops.pop();e.trys.pop();continue}o=n.call(t,e)}catch(t){o=[6,t];i=0}finally{r=s=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};System.register(["./p-8c9db3a8.system.js","./p-56ba5cbf.system.js"],(function(t,n){"use strict";var e,r,i;return{setters:[function(n){e=n.p;r=n.b;t("setNonce",n.s)},function(t){i=t.g}],execute:function(){var t=this;var s=function(){var t=n.meta.url;var r={};if(t!==""){r.resourcesUrl=new URL(".",t).href}return e(r)};s().then((function(n){return __awaiter(t,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:return[4,i()];case 1:t.sent();return[2,r([["p-eaa61e27.system",[[1,"mds-progress",{progress:[2],direction:[513],variant:[513],steps:[1],currentStep:[32]},null,{progress:["progressChanged"],steps:["stepsChanged"]}]]]],n)]}}))}))}))}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r,h as t,H as d,g as s}from"./p-e65c1ecc.js";const a=(r,t,d="true")=>!(!r.hasAttribute(t)||r.getAttribute(t)!==d),e=class{constructor(t){r(this,t),this.stepsList=new Array,this.progress=0,this.direction="horizontal",this.variant="primary",this.steps="Inizio,Un quarto,Metà,Tre quarti,Fine"}componentWillLoad(){this.stepsList=this.steps.split(","),this.setProgress(this.progress)}componentDidLoad(){((r,t,d="true",s)=>{if(a(r,"aria-hidden",d))(Array.isArray(s)?s:[s]).forEach((t=>{r.removeAttribute(t)}))})(this.element,0,"true",["aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext","role"])}setProgress(r){this.steps&&(this.currentStep=this.stepsList[Math.round(r*(this.stepsList.length-1))],a(this.element,"aria-hidden")||this.element.setAttribute("aria-valuetext",this.currentStep))}progressChanged(r){this.setProgress(r)}stepsChanged(r){this.stepsList=r.split(",")}render(){return t(d,{key:"1366494830062543321235236455acd23e937ed8","aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":!a(this.element,"aria-hidden")&&Math.round(100*this.progress),role:"progressbar"},t("div",{key:"71db06c95676326e8fcfdadb254de64f1d80521c",class:"contrast-area"}),t("div",{key:"1f4bc92b2c3201198b606463f26f47aa9f9ca13e",class:"progress",style:"horizontal"===this.direction?{flexGrow:`${this.progress}`}:{flexGrow:`${this.progress}`,width:"100%"}}))}get element(){return s(this)}static get watchers(){return{progress:["progressChanged"],steps:["stepsChanged"]}}};e.style='@tailwind components; :host{--mds-progress-background:rgb(var(--tone-neutral-08));--mds-progress-color:rgb(var(--variant-primary-03));--mds-progress-duration:750ms;--mds-progress-radius:0.5rem;--mds-progress-thickness:0.5rem;-webkit-transition-duration:300ms;transition-duration:300ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);background-color:var(--mds-progress-background);border-radius:var(--mds-progress-radius);display:-ms-flexbox;display:flex;height:var(--mds-progress-thickness);min-width:var(--mds-progress-thickness);overflow:hidden;position:relative;-webkit-transition-property:background-color;transition-property:background-color;width:100%}:host([direction="vertical"]){-ms-flex-direction:column;flex-direction:column;height:unset;min-height:var(--mds-progress-thickness);width:var(--mds-progress-thickness)}.progress{-webkit-transition-duration:500ms;transition-duration:500ms;-webkit-transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);background-color:var(--mds-progress-color);border-radius:var(--mds-progress-radius);-webkit-transition-duration:var(--mds-progress-duration);transition-duration:var(--mds-progress-duration);-webkit-transition-property:background-color, flex-grow;transition-property:background-color, flex-grow;transition-property:background-color, flex-grow, -ms-flex-positive}:host([variant="dark"]){--mds-progress-color:rgb(var(--tone-neutral-04));--mds-progress-background:rgb(var(--tone-neutral-08))}:host([variant="light"]){--mds-progress-color:rgb(var(--tone-neutral));--mds-progress-background:rgb(var(--tone-neutral-05))}:host([variant="error"]){--mds-progress-color:rgb(var(--status-error-05));--mds-progress-background:rgb(var(--status-error-09))}:host([variant="warning"]){--mds-progress-color:rgb(var(--status-warning-05));--mds-progress-background:rgb(var(--status-warning-09))}:host([variant="success"]){--mds-progress-color:rgb(var(--status-success-05));--mds-progress-background:rgb(var(--status-success-09))}:host([variant="info"]){--mds-progress-color:rgb(var(--status-info-05));--mds-progress-background:rgb(var(--status-info-09))}:host([variant="primary"]){--mds-progress-color:rgb(var(--variant-primary-03));--mds-progress-background:rgb(var(--tone-neutral-08))}:host([variant="ai"]){--mds-progress-color:rgb(var(--variant-ai-05));--mds-progress-background:rgb(var(--variant-ai-09))}:host-context(.pref-animation-reduce),:host-context(.pref-animation-reduce) .progress{-webkit-transition-duration:0s;transition-duration:0s}@media (prefers-reduced-motion){:host-context(.pref-animation-system),:host-context(.pref-animation-system) .progress{-webkit-transition-duration:0s;transition-duration:0s}}:host-context(.pref-theme-dark),:host-context(.pref-theme-dark):host([variant="primary"]){--mds-progress-color:rgb(var(--variant-primary-05));--mds-progress-background:rgb(var(--tone-neutral-07))}:host-context(.pref-theme-dark):host([variant="error"]){--mds-progress-color:rgb(var(--status-error-04));--mds-progress-background:rgb(var(--status-error-07))}:host-context(.pref-theme-dark):host([variant="warning"]){--mds-progress-color:rgb(var(--status-warning-04));--mds-progress-background:rgb(var(--status-warning-07))}:host-context(.pref-theme-dark):host([variant="success"]){--mds-progress-color:rgb(var(--status-success-04));--mds-progress-background:rgb(var(--status-success-07))}:host-context(.pref-theme-dark):host([variant="info"]){--mds-progress-color:rgb(var(--status-info-04));--mds-progress-background:rgb(var(--status-info-07))}@media (prefers-color-scheme: dark){:host-context(.pref-theme-system),:host-context(.pref-theme-system):host([variant="primary"]){--mds-progress-color:rgb(var(--variant-primary-05));--mds-progress-background:rgb(var(--tone-neutral-07))}:host-context(.pref-theme-system):host([variant="error"]){--mds-progress-color:rgb(var(--status-error-04));--mds-progress-background:rgb(var(--status-error-07))}:host-context(.pref-theme-system):host([variant="warning"]){--mds-progress-color:rgb(var(--status-warning-04));--mds-progress-background:rgb(var(--status-warning-07))}:host-context(.pref-theme-system):host([variant="success"]){--mds-progress-color:rgb(var(--status-success-04));--mds-progress-background:rgb(var(--status-success-07))}:host-context(.pref-theme-system):host([variant="info"]){--mds-progress-color:rgb(var(--status-info-04));--mds-progress-background:rgb(var(--status-info-07))}}:host-context(.pref-contrast-more),:host-context(.pref-contrast-more):host([variant="primary"]){--mds-progress-color:rgb(var(--variant-primary-05));--mds-progress-background:rgb(var(--tone-neutral-07))}@media (prefers-contrast: more){:host-context(.pref-contrast-system),:host-context(.pref-contrast-more):host([variant="primary"]){--mds-progress-color:rgb(var(--variant-primary-05));--mds-progress-background:rgb(var(--tone-neutral-07))}}:host(:not(:is([hydrated],.hydrated))){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}mds-accordion:not(:is([hydrated],.hydrated)),mds-accordion-item:not(:is([hydrated],.hydrated)),mds-accordion-timer:not(:is([hydrated],.hydrated)),mds-accordion-timer-item:not(:is([hydrated],.hydrated)),mds-author:not(:is([hydrated],.hydrated)),mds-avatar:not(:is([hydrated],.hydrated)),mds-badge:not(:is([hydrated],.hydrated)),mds-banner:not(:is([hydrated],.hydrated)),mds-benchmark-bar:not(:is([hydrated],.hydrated)),mds-bibliography:not(:is([hydrated],.hydrated)),mds-breadcrumb:not(:is([hydrated],.hydrated)),mds-breadcrumb-item:not(:is([hydrated],.hydrated)),mds-button:not(:is([hydrated],.hydrated)),mds-card:not(:is([hydrated],.hydrated)),mds-card-content:not(:is([hydrated],.hydrated)),mds-card-footer:not(:is([hydrated],.hydrated)),mds-card-header:not(:is([hydrated],.hydrated)),mds-card-media:not(:is([hydrated],.hydrated)),mds-chip:not(:is([hydrated],.hydrated)),mds-details:not(:is([hydrated],.hydrated)),mds-dropdown:not(:is([hydrated],.hydrated)),mds-entity:not(:is([hydrated],.hydrated)),mds-file:not(:is([hydrated],.hydrated)),mds-file-preview:not(:is([hydrated],.hydrated)),mds-filter:not(:is([hydrated],.hydrated)),mds-filter-item:not(:is([hydrated],.hydrated)),mds-header:not(:is([hydrated],.hydrated)),mds-header-bar:not(:is([hydrated],.hydrated)),mds-help:not(:is([hydrated],.hydrated)),mds-horizontal-scroll:not(:is([hydrated],.hydrated)),mds-hr:not(:is([hydrated],.hydrated)),mds-icon:not(:is([hydrated],.hydrated)),mds-img:not(:is([hydrated],.hydrated)),mds-input:not(:is([hydrated],.hydrated)),mds-input-field:not(:is([hydrated],.hydrated)),mds-input-range:not(:is([hydrated],.hydrated)),mds-input-select:not(:is([hydrated],.hydrated)),mds-input-switch:not(:is([hydrated],.hydrated)),mds-input-tip:not(:is([hydrated],.hydrated)),mds-input-tip-item:not(:is([hydrated],.hydrated)),mds-input-upload:not(:is([hydrated],.hydrated)),mds-keyboard:not(:is([hydrated],.hydrated)),mds-keyboard-key:not(:is([hydrated],.hydrated)),mds-kpi:not(:is([hydrated],.hydrated)),mds-kpi-item:not(:is([hydrated],.hydrated)),mds-label:not(:is([hydrated],.hydrated)),mds-list:not(:is([hydrated],.hydrated)),mds-list-item:not(:is([hydrated],.hydrated)),mds-modal:not(:is([hydrated],.hydrated)),mds-note:not(:is([hydrated],.hydrated)),mds-notification:not(:is([hydrated],.hydrated)),mds-paginator:not(:is([hydrated],.hydrated)),mds-paginator-item:not(:is([hydrated],.hydrated)),mds-pref:not(:is([hydrated],.hydrated)),mds-pref-animation:not(:is([hydrated],.hydrated)),mds-pref-consumption:not(:is([hydrated],.hydrated)),mds-pref-contrast:not(:is([hydrated],.hydrated)),mds-pref-language:not(:is([hydrated],.hydrated)),mds-pref-language-item:not(:is([hydrated],.hydrated)),mds-pref-theme:not(:is([hydrated],.hydrated)),mds-price-table:not(:is([hydrated],.hydrated)),mds-price-table-features:not(:is([hydrated],.hydrated)),mds-price-table-features-cell:not(:is([hydrated],.hydrated)),mds-price-table-features-row:not(:is([hydrated],.hydrated)),mds-price-table-header:not(:is([hydrated],.hydrated)),mds-price-table-list:not(:is([hydrated],.hydrated)),mds-price-table-list-item:not(:is([hydrated],.hydrated)),mds-progress:not(:is([hydrated],.hydrated)),mds-push-notification:not(:is([hydrated],.hydrated)),mds-push-notifications:not(:is([hydrated],.hydrated)),mds-quote:not(:is([hydrated],.hydrated)),mds-separator:not(:is([hydrated],.hydrated)),mds-spinner:not(:is([hydrated],.hydrated)),mds-stepper-bar:not(:is([hydrated],.hydrated)),mds-stepper-bar-item:not(:is([hydrated],.hydrated)),mds-tab:not(:is([hydrated],.hydrated)),mds-tab-bar:not(:is([hydrated],.hydrated)),mds-tab-bar-item:not(:is([hydrated],.hydrated)),mds-tab-item:not(:is([hydrated],.hydrated)),mds-table:not(:is([hydrated],.hydrated)),mds-table-body:not(:is([hydrated],.hydrated)),mds-table-cell:not(:is([hydrated],.hydrated)),mds-table-footer:not(:is([hydrated],.hydrated)),mds-table-header:not(:is([hydrated],.hydrated)),mds-table-header-cell:not(:is([hydrated],.hydrated)),mds-table-row:not(:is([hydrated],.hydrated)),mds-text:not(:is([hydrated],.hydrated)),mds-toast:not(:is([hydrated],.hydrated)),mds-tooltip:not(:is([hydrated],.hydrated)),mds-tree:not(:is([hydrated],.hydrated)),mds-tree-item:not(:is([hydrated],.hydrated)),mds-url-view:not(:is([hydrated],.hydrated)),mds-usage:not(:is([hydrated],.hydrated)),mds-video-wall:not(:is([hydrated],.hydrated)),mds-zero:not(:is([hydrated],.hydrated)){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}';export{e as mds_progress}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
System.register(["./p-8c9db3a8.system.js"],(function(r){"use strict";var t,d,s,e;return{setters:[function(r){t=r.r;d=r.h;s=r.H;e=r.g}],execute:function(){var a=function(r,t,d,s){if(d===void 0){d="true"}if(o(r,t,d)){var e=Array.isArray(s)?s:[s];e.forEach((function(t){r.removeAttribute(t)}));return true}return false};var o=function(r,t,d){if(d===void 0){d="true"}if(r.hasAttribute(t)&&r.getAttribute(t)===d){return true}return false};var i='@tailwind components; :host{--mds-progress-background:rgb(var(--tone-neutral-08));--mds-progress-color:rgb(var(--variant-primary-03));--mds-progress-duration:750ms;--mds-progress-radius:0.5rem;--mds-progress-thickness:0.5rem;-webkit-transition-duration:300ms;transition-duration:300ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);background-color:var(--mds-progress-background);border-radius:var(--mds-progress-radius);display:-ms-flexbox;display:flex;height:var(--mds-progress-thickness);min-width:var(--mds-progress-thickness);overflow:hidden;position:relative;-webkit-transition-property:background-color;transition-property:background-color;width:100%}:host([direction="vertical"]){-ms-flex-direction:column;flex-direction:column;height:unset;min-height:var(--mds-progress-thickness);width:var(--mds-progress-thickness)}.progress{-webkit-transition-duration:500ms;transition-duration:500ms;-webkit-transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);background-color:var(--mds-progress-color);border-radius:var(--mds-progress-radius);-webkit-transition-duration:var(--mds-progress-duration);transition-duration:var(--mds-progress-duration);-webkit-transition-property:background-color, flex-grow;transition-property:background-color, flex-grow;transition-property:background-color, flex-grow, -ms-flex-positive}:host([variant="dark"]){--mds-progress-color:rgb(var(--tone-neutral-04));--mds-progress-background:rgb(var(--tone-neutral-08))}:host([variant="light"]){--mds-progress-color:rgb(var(--tone-neutral));--mds-progress-background:rgb(var(--tone-neutral-05))}:host([variant="error"]){--mds-progress-color:rgb(var(--status-error-05));--mds-progress-background:rgb(var(--status-error-09))}:host([variant="warning"]){--mds-progress-color:rgb(var(--status-warning-05));--mds-progress-background:rgb(var(--status-warning-09))}:host([variant="success"]){--mds-progress-color:rgb(var(--status-success-05));--mds-progress-background:rgb(var(--status-success-09))}:host([variant="info"]){--mds-progress-color:rgb(var(--status-info-05));--mds-progress-background:rgb(var(--status-info-09))}:host([variant="primary"]){--mds-progress-color:rgb(var(--variant-primary-03));--mds-progress-background:rgb(var(--tone-neutral-08))}:host([variant="ai"]){--mds-progress-color:rgb(var(--variant-ai-05));--mds-progress-background:rgb(var(--variant-ai-09))}:host-context(.pref-animation-reduce),:host-context(.pref-animation-reduce) .progress{-webkit-transition-duration:0s;transition-duration:0s}@media (prefers-reduced-motion){:host-context(.pref-animation-system),:host-context(.pref-animation-system) .progress{-webkit-transition-duration:0s;transition-duration:0s}}:host-context(.pref-theme-dark),:host-context(.pref-theme-dark):host([variant="primary"]){--mds-progress-color:rgb(var(--variant-primary-05));--mds-progress-background:rgb(var(--tone-neutral-07))}:host-context(.pref-theme-dark):host([variant="error"]){--mds-progress-color:rgb(var(--status-error-04));--mds-progress-background:rgb(var(--status-error-07))}:host-context(.pref-theme-dark):host([variant="warning"]){--mds-progress-color:rgb(var(--status-warning-04));--mds-progress-background:rgb(var(--status-warning-07))}:host-context(.pref-theme-dark):host([variant="success"]){--mds-progress-color:rgb(var(--status-success-04));--mds-progress-background:rgb(var(--status-success-07))}:host-context(.pref-theme-dark):host([variant="info"]){--mds-progress-color:rgb(var(--status-info-04));--mds-progress-background:rgb(var(--status-info-07))}@media (prefers-color-scheme: dark){:host-context(.pref-theme-system),:host-context(.pref-theme-system):host([variant="primary"]){--mds-progress-color:rgb(var(--variant-primary-05));--mds-progress-background:rgb(var(--tone-neutral-07))}:host-context(.pref-theme-system):host([variant="error"]){--mds-progress-color:rgb(var(--status-error-04));--mds-progress-background:rgb(var(--status-error-07))}:host-context(.pref-theme-system):host([variant="warning"]){--mds-progress-color:rgb(var(--status-warning-04));--mds-progress-background:rgb(var(--status-warning-07))}:host-context(.pref-theme-system):host([variant="success"]){--mds-progress-color:rgb(var(--status-success-04));--mds-progress-background:rgb(var(--status-success-07))}:host-context(.pref-theme-system):host([variant="info"]){--mds-progress-color:rgb(var(--status-info-04));--mds-progress-background:rgb(var(--status-info-07))}}:host-context(.pref-contrast-more),:host-context(.pref-contrast-more):host([variant="primary"]){--mds-progress-color:rgb(var(--variant-primary-05));--mds-progress-background:rgb(var(--tone-neutral-07))}@media (prefers-contrast: more){:host-context(.pref-contrast-system),:host-context(.pref-contrast-more):host([variant="primary"]){--mds-progress-color:rgb(var(--variant-primary-05));--mds-progress-background:rgb(var(--tone-neutral-07))}}:host(:not(:is([hydrated],.hydrated))){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}mds-accordion:not(:is([hydrated],.hydrated)),mds-accordion-item:not(:is([hydrated],.hydrated)),mds-accordion-timer:not(:is([hydrated],.hydrated)),mds-accordion-timer-item:not(:is([hydrated],.hydrated)),mds-author:not(:is([hydrated],.hydrated)),mds-avatar:not(:is([hydrated],.hydrated)),mds-badge:not(:is([hydrated],.hydrated)),mds-banner:not(:is([hydrated],.hydrated)),mds-benchmark-bar:not(:is([hydrated],.hydrated)),mds-bibliography:not(:is([hydrated],.hydrated)),mds-breadcrumb:not(:is([hydrated],.hydrated)),mds-breadcrumb-item:not(:is([hydrated],.hydrated)),mds-button:not(:is([hydrated],.hydrated)),mds-card:not(:is([hydrated],.hydrated)),mds-card-content:not(:is([hydrated],.hydrated)),mds-card-footer:not(:is([hydrated],.hydrated)),mds-card-header:not(:is([hydrated],.hydrated)),mds-card-media:not(:is([hydrated],.hydrated)),mds-chip:not(:is([hydrated],.hydrated)),mds-details:not(:is([hydrated],.hydrated)),mds-dropdown:not(:is([hydrated],.hydrated)),mds-entity:not(:is([hydrated],.hydrated)),mds-file:not(:is([hydrated],.hydrated)),mds-file-preview:not(:is([hydrated],.hydrated)),mds-filter:not(:is([hydrated],.hydrated)),mds-filter-item:not(:is([hydrated],.hydrated)),mds-header:not(:is([hydrated],.hydrated)),mds-header-bar:not(:is([hydrated],.hydrated)),mds-help:not(:is([hydrated],.hydrated)),mds-horizontal-scroll:not(:is([hydrated],.hydrated)),mds-hr:not(:is([hydrated],.hydrated)),mds-icon:not(:is([hydrated],.hydrated)),mds-img:not(:is([hydrated],.hydrated)),mds-input:not(:is([hydrated],.hydrated)),mds-input-field:not(:is([hydrated],.hydrated)),mds-input-range:not(:is([hydrated],.hydrated)),mds-input-select:not(:is([hydrated],.hydrated)),mds-input-switch:not(:is([hydrated],.hydrated)),mds-input-tip:not(:is([hydrated],.hydrated)),mds-input-tip-item:not(:is([hydrated],.hydrated)),mds-input-upload:not(:is([hydrated],.hydrated)),mds-keyboard:not(:is([hydrated],.hydrated)),mds-keyboard-key:not(:is([hydrated],.hydrated)),mds-kpi:not(:is([hydrated],.hydrated)),mds-kpi-item:not(:is([hydrated],.hydrated)),mds-label:not(:is([hydrated],.hydrated)),mds-list:not(:is([hydrated],.hydrated)),mds-list-item:not(:is([hydrated],.hydrated)),mds-modal:not(:is([hydrated],.hydrated)),mds-note:not(:is([hydrated],.hydrated)),mds-notification:not(:is([hydrated],.hydrated)),mds-paginator:not(:is([hydrated],.hydrated)),mds-paginator-item:not(:is([hydrated],.hydrated)),mds-pref:not(:is([hydrated],.hydrated)),mds-pref-animation:not(:is([hydrated],.hydrated)),mds-pref-consumption:not(:is([hydrated],.hydrated)),mds-pref-contrast:not(:is([hydrated],.hydrated)),mds-pref-language:not(:is([hydrated],.hydrated)),mds-pref-language-item:not(:is([hydrated],.hydrated)),mds-pref-theme:not(:is([hydrated],.hydrated)),mds-price-table:not(:is([hydrated],.hydrated)),mds-price-table-features:not(:is([hydrated],.hydrated)),mds-price-table-features-cell:not(:is([hydrated],.hydrated)),mds-price-table-features-row:not(:is([hydrated],.hydrated)),mds-price-table-header:not(:is([hydrated],.hydrated)),mds-price-table-list:not(:is([hydrated],.hydrated)),mds-price-table-list-item:not(:is([hydrated],.hydrated)),mds-progress:not(:is([hydrated],.hydrated)),mds-push-notification:not(:is([hydrated],.hydrated)),mds-push-notifications:not(:is([hydrated],.hydrated)),mds-quote:not(:is([hydrated],.hydrated)),mds-separator:not(:is([hydrated],.hydrated)),mds-spinner:not(:is([hydrated],.hydrated)),mds-stepper-bar:not(:is([hydrated],.hydrated)),mds-stepper-bar-item:not(:is([hydrated],.hydrated)),mds-tab:not(:is([hydrated],.hydrated)),mds-tab-bar:not(:is([hydrated],.hydrated)),mds-tab-bar-item:not(:is([hydrated],.hydrated)),mds-tab-item:not(:is([hydrated],.hydrated)),mds-table:not(:is([hydrated],.hydrated)),mds-table-body:not(:is([hydrated],.hydrated)),mds-table-cell:not(:is([hydrated],.hydrated)),mds-table-footer:not(:is([hydrated],.hydrated)),mds-table-header:not(:is([hydrated],.hydrated)),mds-table-header-cell:not(:is([hydrated],.hydrated)),mds-table-row:not(:is([hydrated],.hydrated)),mds-text:not(:is([hydrated],.hydrated)),mds-toast:not(:is([hydrated],.hydrated)),mds-tooltip:not(:is([hydrated],.hydrated)),mds-tree:not(:is([hydrated],.hydrated)),mds-tree-item:not(:is([hydrated],.hydrated)),mds-url-view:not(:is([hydrated],.hydrated)),mds-usage:not(:is([hydrated],.hydrated)),mds-video-wall:not(:is([hydrated],.hydrated)),mds-zero:not(:is([hydrated],.hydrated)){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}';var n=i;var h=r("mds_progress",function(){function r(r){t(this,r);this.stepsList=new Array;this.progress=0;this.direction="horizontal";this.variant="primary";this.steps="Inizio,Un quarto,Metà,Tre quarti,Fine"}r.prototype.componentWillLoad=function(){this.stepsList=this.steps.split(",");this.setProgress(this.progress)};r.prototype.componentDidLoad=function(){a(this.element,"aria-hidden","true",["aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext","role"])};r.prototype.setProgress=function(r){if(this.steps){this.currentStep=this.stepsList[Math.round(r*(this.stepsList.length-1))];if(!o(this.element,"aria-hidden")){this.element.setAttribute("aria-valuetext",this.currentStep)}}};r.prototype.progressChanged=function(r){this.setProgress(r)};r.prototype.stepsChanged=function(r){this.stepsList=r.split(",")};r.prototype.render=function(){return d(s,{key:"1366494830062543321235236455acd23e937ed8","aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":!o(this.element,"aria-hidden")&&Math.round(this.progress*100),role:"progressbar"},d("div",{key:"71db06c95676326e8fcfdadb254de64f1d80521c",class:"contrast-area"}),d("div",{key:"1f4bc92b2c3201198b606463f26f47aa9f9ca13e",class:"progress",style:this.direction==="horizontal"?{flexGrow:"".concat(this.progress)}:{flexGrow:"".concat(this.progress),width:"100%"}}))};Object.defineProperty(r.prototype,"element",{get:function(){return e(this)},enumerable:false,configurable:true});Object.defineProperty(r,"watchers",{get:function(){return{progress:["progressChanged"],steps:["stepsChanged"]}},enumerable:false,configurable:true});return r}());h.style=n}}}));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r,h as t,H as d,g as s}from"./p-e65c1ecc.js";const e=(r,t,d="true")=>!(!r.hasAttribute(t)||r.getAttribute(t)!==d),a=class{constructor(t){r(this,t),this.stepsList=new Array,this.progress=0,this.direction="horizontal",this.variant="primary",this.steps="Inizio,Un quarto,Metà,Tre quarti,Fine"}componentWillLoad(){this.stepsList=this.steps.split(","),this.setProgress(this.progress)}componentDidLoad(){((r,t,d="true",s)=>{if(e(r,"aria-hidden",d))(Array.isArray(s)?s:[s]).forEach((t=>{r.removeAttribute(t)}))})(this.element,0,"true",["aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext","role"])}setProgress(r){this.steps&&(this.currentStep=this.stepsList[Math.round(r*(this.stepsList.length-1))],e(this.element,"aria-hidden")||this.element.setAttribute("aria-valuetext",this.currentStep))}progressChanged(r){this.setProgress(r)}stepsChanged(r){this.stepsList=r.split(",")}render(){return t(d,{key:"1366494830062543321235236455acd23e937ed8","aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":!e(this.element,"aria-hidden")&&Math.round(100*this.progress),role:"progressbar"},t("div",{key:"71db06c95676326e8fcfdadb254de64f1d80521c",class:"contrast-area"}),t("div",{key:"1f4bc92b2c3201198b606463f26f47aa9f9ca13e",class:"progress",style:"horizontal"===this.direction?{flexGrow:`${this.progress}`}:{flexGrow:`${this.progress}`,width:"100%"}}))}get element(){return s(this)}static get watchers(){return{progress:["progressChanged"],steps:["stepsChanged"]}}};a.style='@tailwind components; :host{--mds-progress-background:rgb(var(--tone-neutral-08));--mds-progress-color:rgb(var(--variant-primary-03));--mds-progress-duration:750ms;--mds-progress-radius:0.5rem;--mds-progress-thickness:0.5rem;-webkit-transition-duration:300ms;transition-duration:300ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);background-color:var(--mds-progress-background);border-radius:var(--mds-progress-radius);display:-ms-flexbox;display:flex;height:var(--mds-progress-thickness);min-width:var(--mds-progress-thickness);overflow:hidden;position:relative;-webkit-transition-property:background-color;transition-property:background-color;width:100%}:host([direction="vertical"]){-ms-flex-direction:column;flex-direction:column;height:unset;min-height:var(--mds-progress-thickness);width:var(--mds-progress-thickness)}.progress{-webkit-transition-duration:500ms;transition-duration:500ms;-webkit-transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);background-color:var(--mds-progress-color);border-radius:var(--mds-progress-radius);-webkit-transition-duration:var(--mds-progress-duration);transition-duration:var(--mds-progress-duration);-webkit-transition-property:background-color, flex-grow;transition-property:background-color, flex-grow;transition-property:background-color, flex-grow, -ms-flex-positive}:host([variant="dark"]){--mds-progress-color:rgb(var(--tone-neutral-04));--mds-progress-background:rgb(var(--tone-neutral-08))}:host([variant="light"]){--mds-progress-color:rgb(var(--tone-neutral));--mds-progress-background:rgb(var(--tone-neutral-05))}:host([variant="error"]){--mds-progress-color:rgb(var(--status-error-06));--mds-progress-background:rgb(var(--status-error-09))}:host([variant="warning"]){--mds-progress-color:rgb(var(--status-warning-06));--mds-progress-background:rgb(var(--status-warning-09))}:host([variant="success"]){--mds-progress-color:rgb(var(--status-success-06));--mds-progress-background:rgb(var(--status-success-09))}:host([variant="info"]){--mds-progress-color:rgb(var(--status-info-06));--mds-progress-background:rgb(var(--status-info-09))}:host([variant="primary"]){--mds-progress-color:rgb(var(--variant-primary-03));--mds-progress-background:rgb(var(--tone-neutral-08))}:host-context(.pref-animation-reduce),:host-context(.pref-animation-reduce) .progress{-webkit-transition-duration:0s;transition-duration:0s}@media (prefers-reduced-motion){:host-context(.pref-animation-system),:host-context(.pref-animation-system) .progress{-webkit-transition-duration:0s;transition-duration:0s}}:host-context(.pref-theme-dark),:host-context(.pref-theme-dark):host([variant="primary"]){--mds-progress-color:rgb(var(--variant-primary-05));--mds-progress-background:rgb(var(--tone-neutral-07))}:host-context(.pref-theme-dark):host([variant="error"]){--mds-progress-color:rgb(var(--status-error-04));--mds-progress-background:rgb(var(--status-error-07))}:host-context(.pref-theme-dark):host([variant="warning"]){--mds-progress-color:rgb(var(--status-warning-04));--mds-progress-background:rgb(var(--status-warning-07))}:host-context(.pref-theme-dark):host([variant="success"]){--mds-progress-color:rgb(var(--status-success-04));--mds-progress-background:rgb(var(--status-success-07))}:host-context(.pref-theme-dark):host([variant="info"]){--mds-progress-color:rgb(var(--status-info-04));--mds-progress-background:rgb(var(--status-info-07))}@media (prefers-color-scheme: dark){:host-context(.pref-theme-system),:host-context(.pref-theme-system):host([variant="primary"]){--mds-progress-color:rgb(var(--variant-primary-05));--mds-progress-background:rgb(var(--tone-neutral-07))}:host-context(.pref-theme-system):host([variant="error"]){--mds-progress-color:rgb(var(--status-error-04));--mds-progress-background:rgb(var(--status-error-07))}:host-context(.pref-theme-system):host([variant="warning"]){--mds-progress-color:rgb(var(--status-warning-04));--mds-progress-background:rgb(var(--status-warning-07))}:host-context(.pref-theme-system):host([variant="success"]){--mds-progress-color:rgb(var(--status-success-04));--mds-progress-background:rgb(var(--status-success-07))}:host-context(.pref-theme-system):host([variant="info"]){--mds-progress-color:rgb(var(--status-info-04));--mds-progress-background:rgb(var(--status-info-07))}}:host-context(.pref-contrast-more),:host-context(.pref-contrast-more):host([variant="primary"]){--mds-progress-color:rgb(var(--variant-primary-05));--mds-progress-background:rgb(var(--tone-neutral-07))}@media (prefers-contrast: more){:host-context(.pref-contrast-system),:host-context(.pref-contrast-more):host([variant="primary"]){--mds-progress-color:rgb(var(--variant-primary-05));--mds-progress-background:rgb(var(--tone-neutral-07))}}:host(:not(:is([hydrated],.hydrated))){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}mds-accordion:not(:is([hydrated],.hydrated)),mds-accordion-item:not(:is([hydrated],.hydrated)),mds-accordion-timer:not(:is([hydrated],.hydrated)),mds-accordion-timer-item:not(:is([hydrated],.hydrated)),mds-author:not(:is([hydrated],.hydrated)),mds-avatar:not(:is([hydrated],.hydrated)),mds-badge:not(:is([hydrated],.hydrated)),mds-banner:not(:is([hydrated],.hydrated)),mds-benchmark-bar:not(:is([hydrated],.hydrated)),mds-bibliography:not(:is([hydrated],.hydrated)),mds-breadcrumb:not(:is([hydrated],.hydrated)),mds-breadcrumb-item:not(:is([hydrated],.hydrated)),mds-button:not(:is([hydrated],.hydrated)),mds-card:not(:is([hydrated],.hydrated)),mds-card-content:not(:is([hydrated],.hydrated)),mds-card-footer:not(:is([hydrated],.hydrated)),mds-card-header:not(:is([hydrated],.hydrated)),mds-card-media:not(:is([hydrated],.hydrated)),mds-chip:not(:is([hydrated],.hydrated)),mds-details:not(:is([hydrated],.hydrated)),mds-dropdown:not(:is([hydrated],.hydrated)),mds-entity:not(:is([hydrated],.hydrated)),mds-file:not(:is([hydrated],.hydrated)),mds-file-preview:not(:is([hydrated],.hydrated)),mds-filter:not(:is([hydrated],.hydrated)),mds-filter-item:not(:is([hydrated],.hydrated)),mds-header:not(:is([hydrated],.hydrated)),mds-header-bar:not(:is([hydrated],.hydrated)),mds-help:not(:is([hydrated],.hydrated)),mds-horizontal-scroll:not(:is([hydrated],.hydrated)),mds-hr:not(:is([hydrated],.hydrated)),mds-icon:not(:is([hydrated],.hydrated)),mds-img:not(:is([hydrated],.hydrated)),mds-input:not(:is([hydrated],.hydrated)),mds-input-field:not(:is([hydrated],.hydrated)),mds-input-range:not(:is([hydrated],.hydrated)),mds-input-select:not(:is([hydrated],.hydrated)),mds-input-switch:not(:is([hydrated],.hydrated)),mds-input-tip:not(:is([hydrated],.hydrated)),mds-input-tip-item:not(:is([hydrated],.hydrated)),mds-input-upload:not(:is([hydrated],.hydrated)),mds-keyboard:not(:is([hydrated],.hydrated)),mds-keyboard-key:not(:is([hydrated],.hydrated)),mds-kpi:not(:is([hydrated],.hydrated)),mds-kpi-item:not(:is([hydrated],.hydrated)),mds-label:not(:is([hydrated],.hydrated)),mds-list:not(:is([hydrated],.hydrated)),mds-list-item:not(:is([hydrated],.hydrated)),mds-modal:not(:is([hydrated],.hydrated)),mds-note:not(:is([hydrated],.hydrated)),mds-notification:not(:is([hydrated],.hydrated)),mds-paginator:not(:is([hydrated],.hydrated)),mds-paginator-item:not(:is([hydrated],.hydrated)),mds-pref:not(:is([hydrated],.hydrated)),mds-pref-animation:not(:is([hydrated],.hydrated)),mds-pref-consumption:not(:is([hydrated],.hydrated)),mds-pref-contrast:not(:is([hydrated],.hydrated)),mds-pref-language:not(:is([hydrated],.hydrated)),mds-pref-language-item:not(:is([hydrated],.hydrated)),mds-pref-theme:not(:is([hydrated],.hydrated)),mds-price-table:not(:is([hydrated],.hydrated)),mds-price-table-features:not(:is([hydrated],.hydrated)),mds-price-table-features-cell:not(:is([hydrated],.hydrated)),mds-price-table-features-row:not(:is([hydrated],.hydrated)),mds-price-table-header:not(:is([hydrated],.hydrated)),mds-price-table-list:not(:is([hydrated],.hydrated)),mds-price-table-list-item:not(:is([hydrated],.hydrated)),mds-progress:not(:is([hydrated],.hydrated)),mds-push-notification:not(:is([hydrated],.hydrated)),mds-push-notifications:not(:is([hydrated],.hydrated)),mds-quote:not(:is([hydrated],.hydrated)),mds-separator:not(:is([hydrated],.hydrated)),mds-spinner:not(:is([hydrated],.hydrated)),mds-stepper-bar:not(:is([hydrated],.hydrated)),mds-stepper-bar-item:not(:is([hydrated],.hydrated)),mds-tab:not(:is([hydrated],.hydrated)),mds-tab-bar:not(:is([hydrated],.hydrated)),mds-tab-bar-item:not(:is([hydrated],.hydrated)),mds-tab-item:not(:is([hydrated],.hydrated)),mds-table:not(:is([hydrated],.hydrated)),mds-table-body:not(:is([hydrated],.hydrated)),mds-table-cell:not(:is([hydrated],.hydrated)),mds-table-footer:not(:is([hydrated],.hydrated)),mds-table-header:not(:is([hydrated],.hydrated)),mds-table-header-cell:not(:is([hydrated],.hydrated)),mds-table-row:not(:is([hydrated],.hydrated)),mds-text:not(:is([hydrated],.hydrated)),mds-toast:not(:is([hydrated],.hydrated)),mds-tooltip:not(:is([hydrated],.hydrated)),mds-tree:not(:is([hydrated],.hydrated)),mds-tree-item:not(:is([hydrated],.hydrated)),mds-url-view:not(:is([hydrated],.hydrated)),mds-usage:not(:is([hydrated],.hydrated)),mds-video-wall:not(:is([hydrated],.hydrated)),mds-zero:not(:is([hydrated],.hydrated)){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}';export{a as mds_progress}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
System.register(["./p-8c9db3a8.system.js"],(function(r){"use strict";var t,d,s,e;return{setters:[function(r){t=r.r;d=r.h;s=r.H;e=r.g}],execute:function(){var a=function(r,t,d,s){if(d===void 0){d="true"}if(o(r,t,d)){var e=Array.isArray(s)?s:[s];e.forEach((function(t){r.removeAttribute(t)}));return true}return false};var o=function(r,t,d){if(d===void 0){d="true"}if(r.hasAttribute(t)&&r.getAttribute(t)===d){return true}return false};var i='@tailwind components; :host{--mds-progress-background:rgb(var(--tone-neutral-08));--mds-progress-color:rgb(var(--variant-primary-03));--mds-progress-duration:750ms;--mds-progress-radius:0.5rem;--mds-progress-thickness:0.5rem;-webkit-transition-duration:300ms;transition-duration:300ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);background-color:var(--mds-progress-background);border-radius:var(--mds-progress-radius);display:-ms-flexbox;display:flex;height:var(--mds-progress-thickness);min-width:var(--mds-progress-thickness);overflow:hidden;position:relative;-webkit-transition-property:background-color;transition-property:background-color;width:100%}:host([direction="vertical"]){-ms-flex-direction:column;flex-direction:column;height:unset;min-height:var(--mds-progress-thickness);width:var(--mds-progress-thickness)}.progress{-webkit-transition-duration:500ms;transition-duration:500ms;-webkit-transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);background-color:var(--mds-progress-color);border-radius:var(--mds-progress-radius);-webkit-transition-duration:var(--mds-progress-duration);transition-duration:var(--mds-progress-duration);-webkit-transition-property:background-color, flex-grow;transition-property:background-color, flex-grow;transition-property:background-color, flex-grow, -ms-flex-positive}:host([variant="dark"]){--mds-progress-color:rgb(var(--tone-neutral-04));--mds-progress-background:rgb(var(--tone-neutral-08))}:host([variant="light"]){--mds-progress-color:rgb(var(--tone-neutral));--mds-progress-background:rgb(var(--tone-neutral-05))}:host([variant="error"]){--mds-progress-color:rgb(var(--status-error-06));--mds-progress-background:rgb(var(--status-error-09))}:host([variant="warning"]){--mds-progress-color:rgb(var(--status-warning-06));--mds-progress-background:rgb(var(--status-warning-09))}:host([variant="success"]){--mds-progress-color:rgb(var(--status-success-06));--mds-progress-background:rgb(var(--status-success-09))}:host([variant="info"]){--mds-progress-color:rgb(var(--status-info-06));--mds-progress-background:rgb(var(--status-info-09))}:host([variant="primary"]){--mds-progress-color:rgb(var(--variant-primary-03));--mds-progress-background:rgb(var(--tone-neutral-08))}:host-context(.pref-animation-reduce),:host-context(.pref-animation-reduce) .progress{-webkit-transition-duration:0s;transition-duration:0s}@media (prefers-reduced-motion){:host-context(.pref-animation-system),:host-context(.pref-animation-system) .progress{-webkit-transition-duration:0s;transition-duration:0s}}:host-context(.pref-theme-dark),:host-context(.pref-theme-dark):host([variant="primary"]){--mds-progress-color:rgb(var(--variant-primary-05));--mds-progress-background:rgb(var(--tone-neutral-07))}:host-context(.pref-theme-dark):host([variant="error"]){--mds-progress-color:rgb(var(--status-error-04));--mds-progress-background:rgb(var(--status-error-07))}:host-context(.pref-theme-dark):host([variant="warning"]){--mds-progress-color:rgb(var(--status-warning-04));--mds-progress-background:rgb(var(--status-warning-07))}:host-context(.pref-theme-dark):host([variant="success"]){--mds-progress-color:rgb(var(--status-success-04));--mds-progress-background:rgb(var(--status-success-07))}:host-context(.pref-theme-dark):host([variant="info"]){--mds-progress-color:rgb(var(--status-info-04));--mds-progress-background:rgb(var(--status-info-07))}@media (prefers-color-scheme: dark){:host-context(.pref-theme-system),:host-context(.pref-theme-system):host([variant="primary"]){--mds-progress-color:rgb(var(--variant-primary-05));--mds-progress-background:rgb(var(--tone-neutral-07))}:host-context(.pref-theme-system):host([variant="error"]){--mds-progress-color:rgb(var(--status-error-04));--mds-progress-background:rgb(var(--status-error-07))}:host-context(.pref-theme-system):host([variant="warning"]){--mds-progress-color:rgb(var(--status-warning-04));--mds-progress-background:rgb(var(--status-warning-07))}:host-context(.pref-theme-system):host([variant="success"]){--mds-progress-color:rgb(var(--status-success-04));--mds-progress-background:rgb(var(--status-success-07))}:host-context(.pref-theme-system):host([variant="info"]){--mds-progress-color:rgb(var(--status-info-04));--mds-progress-background:rgb(var(--status-info-07))}}:host-context(.pref-contrast-more),:host-context(.pref-contrast-more):host([variant="primary"]){--mds-progress-color:rgb(var(--variant-primary-05));--mds-progress-background:rgb(var(--tone-neutral-07))}@media (prefers-contrast: more){:host-context(.pref-contrast-system),:host-context(.pref-contrast-more):host([variant="primary"]){--mds-progress-color:rgb(var(--variant-primary-05));--mds-progress-background:rgb(var(--tone-neutral-07))}}:host(:not(:is([hydrated],.hydrated))){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}mds-accordion:not(:is([hydrated],.hydrated)),mds-accordion-item:not(:is([hydrated],.hydrated)),mds-accordion-timer:not(:is([hydrated],.hydrated)),mds-accordion-timer-item:not(:is([hydrated],.hydrated)),mds-author:not(:is([hydrated],.hydrated)),mds-avatar:not(:is([hydrated],.hydrated)),mds-badge:not(:is([hydrated],.hydrated)),mds-banner:not(:is([hydrated],.hydrated)),mds-benchmark-bar:not(:is([hydrated],.hydrated)),mds-bibliography:not(:is([hydrated],.hydrated)),mds-breadcrumb:not(:is([hydrated],.hydrated)),mds-breadcrumb-item:not(:is([hydrated],.hydrated)),mds-button:not(:is([hydrated],.hydrated)),mds-card:not(:is([hydrated],.hydrated)),mds-card-content:not(:is([hydrated],.hydrated)),mds-card-footer:not(:is([hydrated],.hydrated)),mds-card-header:not(:is([hydrated],.hydrated)),mds-card-media:not(:is([hydrated],.hydrated)),mds-chip:not(:is([hydrated],.hydrated)),mds-details:not(:is([hydrated],.hydrated)),mds-dropdown:not(:is([hydrated],.hydrated)),mds-entity:not(:is([hydrated],.hydrated)),mds-file:not(:is([hydrated],.hydrated)),mds-file-preview:not(:is([hydrated],.hydrated)),mds-filter:not(:is([hydrated],.hydrated)),mds-filter-item:not(:is([hydrated],.hydrated)),mds-header:not(:is([hydrated],.hydrated)),mds-header-bar:not(:is([hydrated],.hydrated)),mds-help:not(:is([hydrated],.hydrated)),mds-horizontal-scroll:not(:is([hydrated],.hydrated)),mds-hr:not(:is([hydrated],.hydrated)),mds-icon:not(:is([hydrated],.hydrated)),mds-img:not(:is([hydrated],.hydrated)),mds-input:not(:is([hydrated],.hydrated)),mds-input-field:not(:is([hydrated],.hydrated)),mds-input-range:not(:is([hydrated],.hydrated)),mds-input-select:not(:is([hydrated],.hydrated)),mds-input-switch:not(:is([hydrated],.hydrated)),mds-input-tip:not(:is([hydrated],.hydrated)),mds-input-tip-item:not(:is([hydrated],.hydrated)),mds-input-upload:not(:is([hydrated],.hydrated)),mds-keyboard:not(:is([hydrated],.hydrated)),mds-keyboard-key:not(:is([hydrated],.hydrated)),mds-kpi:not(:is([hydrated],.hydrated)),mds-kpi-item:not(:is([hydrated],.hydrated)),mds-label:not(:is([hydrated],.hydrated)),mds-list:not(:is([hydrated],.hydrated)),mds-list-item:not(:is([hydrated],.hydrated)),mds-modal:not(:is([hydrated],.hydrated)),mds-note:not(:is([hydrated],.hydrated)),mds-notification:not(:is([hydrated],.hydrated)),mds-paginator:not(:is([hydrated],.hydrated)),mds-paginator-item:not(:is([hydrated],.hydrated)),mds-pref:not(:is([hydrated],.hydrated)),mds-pref-animation:not(:is([hydrated],.hydrated)),mds-pref-consumption:not(:is([hydrated],.hydrated)),mds-pref-contrast:not(:is([hydrated],.hydrated)),mds-pref-language:not(:is([hydrated],.hydrated)),mds-pref-language-item:not(:is([hydrated],.hydrated)),mds-pref-theme:not(:is([hydrated],.hydrated)),mds-price-table:not(:is([hydrated],.hydrated)),mds-price-table-features:not(:is([hydrated],.hydrated)),mds-price-table-features-cell:not(:is([hydrated],.hydrated)),mds-price-table-features-row:not(:is([hydrated],.hydrated)),mds-price-table-header:not(:is([hydrated],.hydrated)),mds-price-table-list:not(:is([hydrated],.hydrated)),mds-price-table-list-item:not(:is([hydrated],.hydrated)),mds-progress:not(:is([hydrated],.hydrated)),mds-push-notification:not(:is([hydrated],.hydrated)),mds-push-notifications:not(:is([hydrated],.hydrated)),mds-quote:not(:is([hydrated],.hydrated)),mds-separator:not(:is([hydrated],.hydrated)),mds-spinner:not(:is([hydrated],.hydrated)),mds-stepper-bar:not(:is([hydrated],.hydrated)),mds-stepper-bar-item:not(:is([hydrated],.hydrated)),mds-tab:not(:is([hydrated],.hydrated)),mds-tab-bar:not(:is([hydrated],.hydrated)),mds-tab-bar-item:not(:is([hydrated],.hydrated)),mds-tab-item:not(:is([hydrated],.hydrated)),mds-table:not(:is([hydrated],.hydrated)),mds-table-body:not(:is([hydrated],.hydrated)),mds-table-cell:not(:is([hydrated],.hydrated)),mds-table-footer:not(:is([hydrated],.hydrated)),mds-table-header:not(:is([hydrated],.hydrated)),mds-table-header-cell:not(:is([hydrated],.hydrated)),mds-table-row:not(:is([hydrated],.hydrated)),mds-text:not(:is([hydrated],.hydrated)),mds-toast:not(:is([hydrated],.hydrated)),mds-tooltip:not(:is([hydrated],.hydrated)),mds-tree:not(:is([hydrated],.hydrated)),mds-tree-item:not(:is([hydrated],.hydrated)),mds-url-view:not(:is([hydrated],.hydrated)),mds-usage:not(:is([hydrated],.hydrated)),mds-video-wall:not(:is([hydrated],.hydrated)),mds-zero:not(:is([hydrated],.hydrated)){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}';var n=i;var h=r("mds_progress",function(){function r(r){t(this,r);this.stepsList=new Array;this.progress=0;this.direction="horizontal";this.variant="primary";this.steps="Inizio,Un quarto,Metà,Tre quarti,Fine"}r.prototype.componentWillLoad=function(){this.stepsList=this.steps.split(",");this.setProgress(this.progress)};r.prototype.componentDidLoad=function(){a(this.element,"aria-hidden","true",["aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext","role"])};r.prototype.setProgress=function(r){if(this.steps){this.currentStep=this.stepsList[Math.round(r*(this.stepsList.length-1))];if(!o(this.element,"aria-hidden")){this.element.setAttribute("aria-valuetext",this.currentStep)}}};r.prototype.progressChanged=function(r){this.setProgress(r)};r.prototype.stepsChanged=function(r){this.stepsList=r.split(",")};r.prototype.render=function(){return d(s,{key:"1366494830062543321235236455acd23e937ed8","aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":!o(this.element,"aria-hidden")&&Math.round(this.progress*100),role:"progressbar"},d("div",{key:"71db06c95676326e8fcfdadb254de64f1d80521c",class:"contrast-area"}),d("div",{key:"1f4bc92b2c3201198b606463f26f47aa9f9ca13e",class:"progress",style:this.direction==="horizontal"?{flexGrow:"".concat(this.progress)}:{flexGrow:"".concat(this.progress),width:"100%"}}))};Object.defineProperty(r.prototype,"element",{get:function(){return e(this)},enumerable:false,configurable:true});Object.defineProperty(r,"watchers",{get:function(){return{progress:["progressChanged"],steps:["stepsChanged"]}},enumerable:false,configurable:true});return r}());h.style=n}}}));
|