@maggioli-design-system/mds-progress 3.0.2 → 3.2.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.
Files changed (68) hide show
  1. package/dist/cjs/{index-abfa4aa9.js → index-e0686900.js} +130 -91
  2. package/dist/cjs/loader.cjs.js +1 -1
  3. package/dist/cjs/mds-progress.cjs.entry.js +2 -2
  4. package/dist/cjs/mds-progress.cjs.js +2 -2
  5. package/dist/collection/collection-manifest.json +1 -1
  6. package/dist/collection/common/floating-controller.js +3 -3
  7. package/dist/collection/common/slot.js +10 -1
  8. package/dist/collection/common/string.js +30 -0
  9. package/dist/collection/components/mds-progress/mds-progress.css +173 -74
  10. package/dist/collection/dictionary/keyboard.js +84 -0
  11. package/dist/collection/type/keyboard.js +1 -0
  12. package/dist/components/mds-progress.js +1 -1
  13. package/dist/documentation.json +2 -2
  14. package/dist/esm/{index-a89959e6.js → index-bdcbc2fe.js} +130 -91
  15. package/dist/esm/loader.js +2 -2
  16. package/dist/esm/mds-progress.entry.js +2 -2
  17. package/dist/esm/mds-progress.js +3 -3
  18. package/dist/esm-es5/index-bdcbc2fe.js +1 -0
  19. package/dist/esm-es5/loader.js +1 -1
  20. package/dist/esm-es5/mds-progress.entry.js +1 -1
  21. package/dist/esm-es5/mds-progress.js +1 -1
  22. package/dist/mds-progress/mds-progress.esm.js +1 -1
  23. package/dist/mds-progress/mds-progress.js +1 -1
  24. package/dist/mds-progress/p-1d5b5b51.system.js +1 -0
  25. package/dist/mds-progress/p-69cd397a.entry.js +1 -0
  26. package/dist/mds-progress/p-8c9db3a8.system.js +2 -0
  27. package/dist/mds-progress/p-cd904a06.system.entry.js +1 -0
  28. package/dist/mds-progress/p-e65c1ecc.js +2 -0
  29. package/dist/stats.json +38 -33
  30. package/dist/types/common/slot.d.ts +2 -1
  31. package/dist/types/common/string.d.ts +4 -0
  32. package/dist/types/dictionary/keyboard.d.ts +2 -0
  33. package/dist/types/type/keyboard.d.ts +12 -0
  34. package/documentation.json +22 -2
  35. package/package.json +3 -3
  36. package/src/common/floating-controller.ts +6 -6
  37. package/src/common/slot.ts +11 -0
  38. package/src/common/string.ts +42 -0
  39. package/src/components/mds-progress/css/mds-progress-pref-animation.css +7 -14
  40. package/src/components/mds-progress/css/mds-progress-pref-contrast.css +8 -18
  41. package/src/components/mds-progress/css/mds-progress-pref-theme.css +32 -48
  42. package/src/components/mds-progress/css/mds-progress-variant.css +7 -16
  43. package/src/components/mds-progress/mds-progress.css +3 -3
  44. package/src/dictionary/keyboard.ts +87 -0
  45. package/src/fixtures/icons.json +18 -1
  46. package/src/meta/keyboard/keys.json +83 -0
  47. package/src/tailwind/components.css +11 -46
  48. package/src/tailwind/fouc.css +118 -0
  49. package/src/tailwind/index.css +4 -0
  50. package/src/type/keyboard.ts +93 -0
  51. package/www/build/mds-progress.esm.js +1 -1
  52. package/www/build/mds-progress.js +1 -1
  53. package/www/build/p-1d5b5b51.system.js +1 -0
  54. package/www/build/p-69cd397a.entry.js +1 -0
  55. package/www/build/p-8c9db3a8.system.js +2 -0
  56. package/www/build/p-cd904a06.system.entry.js +1 -0
  57. package/www/build/p-e65c1ecc.js +2 -0
  58. package/dist/esm-es5/index-a89959e6.js +0 -1
  59. package/dist/mds-progress/p-088b5b20.system.entry.js +0 -1
  60. package/dist/mds-progress/p-2b265ffa.system.js +0 -1
  61. package/dist/mds-progress/p-64876922.system.js +0 -2
  62. package/dist/mds-progress/p-8a9536f1.js +0 -2
  63. package/dist/mds-progress/p-d8baed2c.entry.js +0 -1
  64. package/www/build/p-088b5b20.system.entry.js +0 -1
  65. package/www/build/p-2b265ffa.system.js +0 -1
  66. package/www/build/p-64876922.system.js +0 -2
  67. package/www/build/p-8a9536f1.js +0 -2
  68. package/www/build/p-d8baed2c.entry.js +0 -1
@@ -1,5 +1,4 @@
1
1
  @tailwind components;
2
- @tailwind utilities;
3
2
 
4
3
  /**
5
4
  * @prop --mds-progress-background: Sets the background-color of the component
@@ -10,7 +9,6 @@
10
9
  */
11
10
 
12
11
  :host {
13
-
14
12
  --mds-progress-background: rgb(var(--tone-neutral-08));
15
13
  --mds-progress-color: rgb(var(--variant-primary-03));
16
14
  --mds-progress-duration: 750ms;
@@ -30,7 +28,7 @@
30
28
  width: 100%;
31
29
  }
32
30
 
33
- :host( [direction="vertical"] ) {
31
+ :host([direction="vertical"]) {
34
32
  flex-direction: column;
35
33
  height: unset;
36
34
  min-height: var(--mds-progress-thickness);
@@ -38,9 +36,7 @@
38
36
  }
39
37
 
40
38
  .progress{
41
-
42
39
  transition-duration: 500ms;
43
-
44
40
  transition-timing-function: cubic-bezier(0.19, 1, 0.22, 1);
45
41
 
46
42
  background-color: var(--mds-progress-color);
@@ -49,135 +45,238 @@
49
45
  transition-property: background-color, flex-grow;
50
46
  }
51
47
 
52
- @tailwind utilities;
53
-
54
- :host( [variant="dark"] ) {
55
-
48
+ :host([variant="dark"]) {
56
49
  --mds-progress-color: rgb(var(--tone-neutral-04));
57
50
  --mds-progress-background: rgb(var(--tone-neutral-08));
58
51
  }
59
52
 
60
- :host( [variant="light"] ) {
61
-
53
+ :host([variant="light"]) {
62
54
  --mds-progress-color: rgb(var(--tone-neutral));
63
55
  --mds-progress-background: rgb(var(--tone-neutral-05));
64
56
  }
65
57
 
66
- :host( [variant="error"] ) {
67
-
58
+ :host([variant="error"]) {
68
59
  --mds-progress-color: rgb(var(--status-error-06));
69
60
  --mds-progress-background: rgb(var(--status-error-09));
70
61
  }
71
62
 
72
- :host( [variant="warning"] ) {
73
-
63
+ :host([variant="warning"]) {
74
64
  --mds-progress-color: rgb(var(--status-warning-06));
75
65
  --mds-progress-background: rgb(var(--status-warning-09));
76
66
  }
77
67
 
78
- :host( [variant="success"] ) {
79
-
68
+ :host([variant="success"]) {
80
69
  --mds-progress-color: rgb(var(--status-success-06));
81
70
  --mds-progress-background: rgb(var(--status-success-09));
82
71
  }
83
72
 
84
- :host( [variant="info"] ) {
85
-
73
+ :host([variant="info"]) {
86
74
  --mds-progress-color: rgb(var(--status-info-06));
87
75
  --mds-progress-background: rgb(var(--status-info-09));
88
76
  }
89
77
 
90
- :host( [variant="primary"] ) {
91
-
78
+ :host([variant="primary"]) {
92
79
  --mds-progress-color: rgb(var(--variant-primary-03));
93
80
  --mds-progress-background: rgb(var(--tone-neutral-08));
94
81
  }
95
82
 
96
- @tailwind utilities;
83
+ :host-context(.pref-animation-reduce),
84
+ :host-context(.pref-animation-reduce) .progress {
85
+ transition-duration: 0s;
86
+ }
97
87
 
98
- @container style(--magma-pref-animation: reduce) {
99
- :host,
100
- .progress {
88
+ @media (prefers-reduced-motion) {
89
+ :host-context(.pref-animation-system),
90
+ :host-context(.pref-animation-system) .progress {
101
91
  transition-duration: 0s;
102
92
  }
103
93
  }
104
94
 
105
- @container style(--magma-pref-animation: system) {
95
+ :host-context(.pref-theme-dark),
96
+ :host-context(.pref-theme-dark):host([variant="primary"]) {
97
+ --mds-progress-color: rgb(var(--variant-primary-05));
98
+ --mds-progress-background: rgb(var(--tone-neutral-07));
99
+ }
106
100
 
107
- @media (prefers-reduced-motion) {
108
- :host,
109
- .progress {
110
- transition-duration: 0s;
111
- }
112
- }
101
+ :host-context(.pref-theme-dark):host([variant="error"]) {
102
+ --mds-progress-color: rgb(var(--status-error-04));
103
+ --mds-progress-background: rgb(var(--status-error-07));
104
+ }
105
+
106
+ :host-context(.pref-theme-dark):host([variant="warning"]) {
107
+ --mds-progress-color: rgb(var(--status-warning-04));
108
+ --mds-progress-background: rgb(var(--status-warning-07));
109
+ }
110
+
111
+ :host-context(.pref-theme-dark):host([variant="success"]) {
112
+ --mds-progress-color: rgb(var(--status-success-04));
113
+ --mds-progress-background: rgb(var(--status-success-07));
114
+ }
115
+
116
+ :host-context(.pref-theme-dark):host([variant="info"]) {
117
+ --mds-progress-color: rgb(var(--status-info-04));
118
+ --mds-progress-background: rgb(var(--status-info-07));
113
119
  }
114
120
 
115
- @container style(--magma-pref-theme: dark) {
116
- :host,
117
- :host( [variant="primary"] ) {
118
121
 
122
+ @media (prefers-color-scheme: dark) {
123
+ :host-context(.pref-theme-system),
124
+ :host-context(.pref-theme-system):host([variant="primary"]) {
119
125
  --mds-progress-color: rgb(var(--variant-primary-05));
120
126
  --mds-progress-background: rgb(var(--tone-neutral-07));
121
127
  }
122
128
 
123
- :host( [variant="error"] ) {
124
-
129
+ :host-context(.pref-theme-system):host([variant="error"]) {
125
130
  --mds-progress-color: rgb(var(--status-error-04));
126
131
  --mds-progress-background: rgb(var(--status-error-07));
127
132
  }
128
133
 
129
- :host( [variant="warning"] ) {
130
-
134
+ :host-context(.pref-theme-system):host([variant="warning"]) {
131
135
  --mds-progress-color: rgb(var(--status-warning-04));
132
136
  --mds-progress-background: rgb(var(--status-warning-07));
133
137
  }
134
138
 
135
- :host( [variant="success"] ) {
136
-
139
+ :host-context(.pref-theme-system):host([variant="success"]) {
137
140
  --mds-progress-color: rgb(var(--status-success-04));
138
141
  --mds-progress-background: rgb(var(--status-success-07));
139
142
  }
140
143
 
141
- :host( [variant="info"] ) {
142
-
144
+ :host-context(.pref-theme-system):host([variant="info"]) {
143
145
  --mds-progress-color: rgb(var(--status-info-04));
144
146
  --mds-progress-background: rgb(var(--status-info-07));
145
147
  }
146
148
  }
147
149
 
148
- @container style(--magma-pref-theme: system) {
149
-
150
- @media (prefers-color-scheme: dark) {
151
- :host,
152
- :host( [variant="primary"] ) {
153
-
154
- --mds-progress-color: rgb(var(--variant-primary-05));
155
- --mds-progress-background: rgb(var(--tone-neutral-07));
156
- }
157
-
158
- :host( [variant="error"] ) {
159
-
160
- --mds-progress-color: rgb(var(--status-error-04));
161
- --mds-progress-background: rgb(var(--status-error-07));
162
- }
163
-
164
- :host( [variant="warning"] ) {
165
-
166
- --mds-progress-color: rgb(var(--status-warning-04));
167
- --mds-progress-background: rgb(var(--status-warning-07));
168
- }
169
-
170
- :host( [variant="success"] ) {
150
+ :host-context(.pref-contrast-more),
151
+ :host-context(.pref-contrast-more):host([variant="primary"]) {
152
+ --mds-progress-color: rgb(var(--variant-primary-05));
153
+ --mds-progress-background: rgb(var(--tone-neutral-07));
154
+ }
171
155
 
172
- --mds-progress-color: rgb(var(--status-success-04));
173
- --mds-progress-background: rgb(var(--status-success-07));
174
- }
156
+ @media (prefers-contrast: more) {
157
+ :host-context(.pref-contrast-system),
158
+ :host-context(.pref-contrast-more):host([variant="primary"]) {
159
+ --mds-progress-color: rgb(var(--variant-primary-05));
160
+ --mds-progress-background: rgb(var(--tone-neutral-07));
161
+ }
162
+ }
175
163
 
176
- :host( [variant="info"] ) {
164
+ :host(:not(:is([hydrated], .hydrated))) {
165
+ animation-duration: 0s;
166
+ border-color: transparent;
167
+ box-shadow: 0 0 0 transparent;
168
+ opacity: 0;
169
+ outline-color: transparent;
170
+ transition-delay: 0s;
171
+ transition-duration: 0s;
172
+ visibility: hidden;
173
+ }
177
174
 
178
- --mds-progress-color: rgb(var(--status-info-04));
179
- --mds-progress-background: rgb(var(--status-info-07));
180
- }
181
- }
175
+ /* TODO refact(stencil): Uses only used selector from parent shadowDOM component */
176
+
177
+ mds-accordion:not(:is([hydrated], .hydrated)),
178
+ mds-accordion-item:not(:is([hydrated], .hydrated)),
179
+ mds-accordion-timer:not(:is([hydrated], .hydrated)),
180
+ mds-accordion-timer-item:not(:is([hydrated], .hydrated)),
181
+ mds-author:not(:is([hydrated], .hydrated)),
182
+ mds-avatar:not(:is([hydrated], .hydrated)),
183
+ mds-badge:not(:is([hydrated], .hydrated)),
184
+ mds-banner:not(:is([hydrated], .hydrated)),
185
+ mds-benchmark-bar:not(:is([hydrated], .hydrated)),
186
+ mds-bibliography:not(:is([hydrated], .hydrated)),
187
+ mds-breadcrumb:not(:is([hydrated], .hydrated)),
188
+ mds-breadcrumb-item:not(:is([hydrated], .hydrated)),
189
+ mds-button:not(:is([hydrated], .hydrated)),
190
+ mds-card:not(:is([hydrated], .hydrated)),
191
+ mds-card-content:not(:is([hydrated], .hydrated)),
192
+ mds-card-footer:not(:is([hydrated], .hydrated)),
193
+ mds-card-header:not(:is([hydrated], .hydrated)),
194
+ mds-card-media:not(:is([hydrated], .hydrated)),
195
+ mds-chip:not(:is([hydrated], .hydrated)),
196
+ mds-details:not(:is([hydrated], .hydrated)),
197
+ mds-dropdown:not(:is([hydrated], .hydrated)),
198
+ mds-entity:not(:is([hydrated], .hydrated)),
199
+ mds-file:not(:is([hydrated], .hydrated)),
200
+ mds-file-preview:not(:is([hydrated], .hydrated)),
201
+ mds-filter:not(:is([hydrated], .hydrated)),
202
+ mds-filter-item:not(:is([hydrated], .hydrated)),
203
+ mds-header:not(:is([hydrated], .hydrated)),
204
+ mds-header-bar:not(:is([hydrated], .hydrated)),
205
+ mds-help:not(:is([hydrated], .hydrated)),
206
+ mds-horizontal-scroll:not(:is([hydrated], .hydrated)),
207
+ mds-hr:not(:is([hydrated], .hydrated)),
208
+ mds-icon:not(:is([hydrated], .hydrated)),
209
+ mds-img:not(:is([hydrated], .hydrated)),
210
+ mds-input:not(:is([hydrated], .hydrated)),
211
+ mds-input-field:not(:is([hydrated], .hydrated)),
212
+ mds-input-range:not(:is([hydrated], .hydrated)),
213
+ mds-input-select:not(:is([hydrated], .hydrated)),
214
+ mds-input-switch:not(:is([hydrated], .hydrated)),
215
+ mds-input-tip:not(:is([hydrated], .hydrated)),
216
+ mds-input-tip-item:not(:is([hydrated], .hydrated)),
217
+ mds-input-upload:not(:is([hydrated], .hydrated)),
218
+ mds-keyboard:not(:is([hydrated], .hydrated)),
219
+ mds-keyboard-key:not(:is([hydrated], .hydrated)),
220
+ mds-kpi:not(:is([hydrated], .hydrated)),
221
+ mds-kpi-item:not(:is([hydrated], .hydrated)),
222
+ mds-label:not(:is([hydrated], .hydrated)),
223
+ mds-list:not(:is([hydrated], .hydrated)),
224
+ mds-list-item:not(:is([hydrated], .hydrated)),
225
+ mds-modal:not(:is([hydrated], .hydrated)),
226
+ mds-note:not(:is([hydrated], .hydrated)),
227
+ mds-notification:not(:is([hydrated], .hydrated)),
228
+ mds-paginator:not(:is([hydrated], .hydrated)),
229
+ mds-paginator-item:not(:is([hydrated], .hydrated)),
230
+ mds-pref:not(:is([hydrated], .hydrated)),
231
+ mds-pref-animation:not(:is([hydrated], .hydrated)),
232
+ mds-pref-consumption:not(:is([hydrated], .hydrated)),
233
+ mds-pref-contrast:not(:is([hydrated], .hydrated)),
234
+ mds-pref-language:not(:is([hydrated], .hydrated)),
235
+ mds-pref-language-item:not(:is([hydrated], .hydrated)),
236
+ mds-pref-theme:not(:is([hydrated], .hydrated)),
237
+ mds-price-table:not(:is([hydrated], .hydrated)),
238
+ mds-price-table-features:not(:is([hydrated], .hydrated)),
239
+ mds-price-table-features-cell:not(:is([hydrated], .hydrated)),
240
+ mds-price-table-features-row:not(:is([hydrated], .hydrated)),
241
+ mds-price-table-header:not(:is([hydrated], .hydrated)),
242
+ mds-price-table-list:not(:is([hydrated], .hydrated)),
243
+ mds-price-table-list-item:not(:is([hydrated], .hydrated)),
244
+ mds-progress:not(:is([hydrated], .hydrated)),
245
+ mds-push-notification:not(:is([hydrated], .hydrated)),
246
+ mds-push-notifications:not(:is([hydrated], .hydrated)),
247
+ mds-quote:not(:is([hydrated], .hydrated)),
248
+ mds-separator:not(:is([hydrated], .hydrated)),
249
+ mds-spinner:not(:is([hydrated], .hydrated)),
250
+ mds-stepper-bar:not(:is([hydrated], .hydrated)),
251
+ mds-stepper-bar-item:not(:is([hydrated], .hydrated)),
252
+ mds-tab:not(:is([hydrated], .hydrated)),
253
+ mds-tab-bar:not(:is([hydrated], .hydrated)),
254
+ mds-tab-bar-item:not(:is([hydrated], .hydrated)),
255
+ mds-tab-item:not(:is([hydrated], .hydrated)),
256
+ mds-table:not(:is([hydrated], .hydrated)),
257
+ mds-table-body:not(:is([hydrated], .hydrated)),
258
+ mds-table-cell:not(:is([hydrated], .hydrated)),
259
+ mds-table-footer:not(:is([hydrated], .hydrated)),
260
+ mds-table-header:not(:is([hydrated], .hydrated)),
261
+ mds-table-header-cell:not(:is([hydrated], .hydrated)),
262
+ mds-table-row:not(:is([hydrated], .hydrated)),
263
+ mds-text:not(:is([hydrated], .hydrated)),
264
+ mds-toast:not(:is([hydrated], .hydrated)),
265
+ mds-tooltip:not(:is([hydrated], .hydrated)),
266
+ mds-tree:not(:is([hydrated], .hydrated)),
267
+ mds-tree-item:not(:is([hydrated], .hydrated)),
268
+ mds-url-view:not(:is([hydrated], .hydrated)),
269
+ mds-usage:not(:is([hydrated], .hydrated)),
270
+ mds-video-wall:not(:is([hydrated], .hydrated)),
271
+ mds-zero:not(:is([hydrated], .hydrated))
272
+ {
273
+ animation-duration: 0s;
274
+ border-color: transparent;
275
+ box-shadow: 0 0 0 transparent;
276
+ opacity: 0;
277
+ outline-color: transparent;
278
+ transition-delay: 0s;
279
+ transition-duration: 0s;
280
+ visibility: hidden;
182
281
  }
183
282
 
@@ -0,0 +1,84 @@
1
+ const keyboardKeyNameDictionary = [
2
+ '0',
3
+ '1',
4
+ '2',
5
+ '3',
6
+ '4',
7
+ '5',
8
+ '6',
9
+ '7',
10
+ '8',
11
+ '9',
12
+ 'a',
13
+ 'alt',
14
+ 'altleft',
15
+ 'altright',
16
+ 'arrowdown',
17
+ 'arrowleft',
18
+ 'arrowright',
19
+ 'arrowup',
20
+ 'b',
21
+ 'backspace',
22
+ 'c',
23
+ 'capslock',
24
+ 'command',
25
+ 'commandleft',
26
+ 'commandright',
27
+ 'control',
28
+ 'controlleft',
29
+ 'controlright',
30
+ 'd',
31
+ 'delete',
32
+ 'e',
33
+ 'end',
34
+ 'enter',
35
+ 'escape',
36
+ 'f',
37
+ 'f1',
38
+ 'f10',
39
+ 'f11',
40
+ 'f12',
41
+ 'f2',
42
+ 'f3',
43
+ 'f4',
44
+ 'f5',
45
+ 'f6',
46
+ 'f7',
47
+ 'f8',
48
+ 'f9',
49
+ 'g',
50
+ 'h',
51
+ 'home',
52
+ 'i',
53
+ 'j',
54
+ 'k',
55
+ 'l',
56
+ 'm',
57
+ 'n',
58
+ 'o',
59
+ 'option',
60
+ 'optionleft',
61
+ 'optionright',
62
+ 'p',
63
+ 'pagedown',
64
+ 'pageup',
65
+ 'q',
66
+ 'r',
67
+ 's',
68
+ 'shift',
69
+ 'shiftleft',
70
+ 'shiftright',
71
+ 'space',
72
+ 't',
73
+ 'tab',
74
+ 'u',
75
+ 'v',
76
+ 'w',
77
+ 'windows',
78
+ 'windowsleft',
79
+ 'windowsright',
80
+ 'x',
81
+ 'y',
82
+ 'z',
83
+ ];
84
+ export { keyboardKeyNameDictionary, };
@@ -0,0 +1 @@
1
+ export {};
@@ -17,7 +17,7 @@ const ifAttribute = (element, attribute, valueCheck = 'true') => {
17
17
  return false;
18
18
  };
19
19
 
20
- const mdsProgressCss = "@tailwind components;\n@tailwind utilities;\n\n/**\n * @prop --mds-progress-background: Sets the background-color of the component\n * @prop --mds-progress-color: Sets the background-color of the progress\n * @prop --mds-progress-duration: Sets the duration of the progress bar animation\n * @prop --mds-progress-radius: Sets the border-radius of the component\n * @prop --mds-progress-thickness: Sets the thickness of the progress bar\n */\n\n:host {\n\n --mds-progress-background: rgb(var(--tone-neutral-08));\n --mds-progress-color: rgb(var(--variant-primary-03));\n --mds-progress-duration: 750ms;\n --mds-progress-radius: 0.5rem;\n --mds-progress-thickness: 0.5rem;\n -webkit-transition-duration: 300ms;\n transition-duration: 300ms;\n -webkit-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n\n background-color: var(--mds-progress-background);\n border-radius: var(--mds-progress-radius);\n display: -ms-flexbox;\n display: flex;\n height: var(--mds-progress-thickness);\n min-width: var(--mds-progress-thickness);\n overflow: hidden;\n position: relative;\n -webkit-transition-property: background-color;\n transition-property: background-color;\n width: 100%;\n}\n\n:host( [direction=\"vertical\"] ) {\n -ms-flex-direction: column;\n flex-direction: column;\n height: unset;\n min-height: var(--mds-progress-thickness);\n width: var(--mds-progress-thickness);\n}\n\n.progress{\n\n -webkit-transition-duration: 500ms;\n\n transition-duration: 500ms;\n\n -webkit-transition-timing-function: cubic-bezier(0.19, 1, 0.22, 1);\n\n transition-timing-function: cubic-bezier(0.19, 1, 0.22, 1);\n\n background-color: var(--mds-progress-color);\n border-radius: var(--mds-progress-radius);\n -webkit-transition-duration: var(--mds-progress-duration);\n transition-duration: var(--mds-progress-duration);\n -webkit-transition-property: background-color, flex-grow;\n transition-property: background-color, flex-grow;\n transition-property: background-color, flex-grow, -ms-flex-positive;\n}\n\n@tailwind utilities;\n\n:host( [variant=\"dark\"] ) {\n\n --mds-progress-color: rgb(var(--tone-neutral-04));\n --mds-progress-background: rgb(var(--tone-neutral-08));\n}\n\n:host( [variant=\"light\"] ) {\n\n --mds-progress-color: rgb(var(--tone-neutral));\n --mds-progress-background: rgb(var(--tone-neutral-05));\n}\n\n:host( [variant=\"error\"] ) {\n\n --mds-progress-color: rgb(var(--status-error-06));\n --mds-progress-background: rgb(var(--status-error-09));\n}\n\n:host( [variant=\"warning\"] ) {\n\n --mds-progress-color: rgb(var(--status-warning-06));\n --mds-progress-background: rgb(var(--status-warning-09));\n}\n\n:host( [variant=\"success\"] ) {\n\n --mds-progress-color: rgb(var(--status-success-06));\n --mds-progress-background: rgb(var(--status-success-09));\n}\n\n:host( [variant=\"info\"] ) {\n\n --mds-progress-color: rgb(var(--status-info-06));\n --mds-progress-background: rgb(var(--status-info-09));\n}\n\n:host( [variant=\"primary\"] ) {\n\n --mds-progress-color: rgb(var(--variant-primary-03));\n --mds-progress-background: rgb(var(--tone-neutral-08));\n}\n\n@tailwind utilities;\n\n@container style(--magma-pref-animation: reduce) {\n :host,\n .progress {\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n }\n}\n\n@container style(--magma-pref-animation: system) {\n\n @media (prefers-reduced-motion) {\n :host,\n .progress {\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n }\n }\n}\n\n@container style(--magma-pref-theme: dark) {\n :host,\n :host( [variant=\"primary\"] ) {\n\n --mds-progress-color: rgb(var(--variant-primary-05));\n --mds-progress-background: rgb(var(--tone-neutral-07));\n }\n\n :host( [variant=\"error\"] ) {\n\n --mds-progress-color: rgb(var(--status-error-04));\n --mds-progress-background: rgb(var(--status-error-07));\n }\n\n :host( [variant=\"warning\"] ) {\n\n --mds-progress-color: rgb(var(--status-warning-04));\n --mds-progress-background: rgb(var(--status-warning-07));\n }\n\n :host( [variant=\"success\"] ) {\n\n --mds-progress-color: rgb(var(--status-success-04));\n --mds-progress-background: rgb(var(--status-success-07));\n }\n\n :host( [variant=\"info\"] ) {\n\n --mds-progress-color: rgb(var(--status-info-04));\n --mds-progress-background: rgb(var(--status-info-07));\n }\n}\n\n@container style(--magma-pref-theme: system) {\n\n @media (prefers-color-scheme: dark) {\n :host,\n :host( [variant=\"primary\"] ) {\n\n --mds-progress-color: rgb(var(--variant-primary-05));\n --mds-progress-background: rgb(var(--tone-neutral-07));\n }\n\n :host( [variant=\"error\"] ) {\n\n --mds-progress-color: rgb(var(--status-error-04));\n --mds-progress-background: rgb(var(--status-error-07));\n }\n\n :host( [variant=\"warning\"] ) {\n\n --mds-progress-color: rgb(var(--status-warning-04));\n --mds-progress-background: rgb(var(--status-warning-07));\n }\n\n :host( [variant=\"success\"] ) {\n\n --mds-progress-color: rgb(var(--status-success-04));\n --mds-progress-background: rgb(var(--status-success-07));\n }\n\n :host( [variant=\"info\"] ) {\n\n --mds-progress-color: rgb(var(--status-info-04));\n --mds-progress-background: rgb(var(--status-info-07));\n }\n }\n}\n\n";
20
+ const mdsProgressCss = "@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}";
21
21
  const MdsProgressStyle0 = mdsProgressCss;
22
22
 
23
23
  const MdsProgress$1 = /*@__PURE__*/ proxyCustomElement(class MdsProgress extends HTMLElement {
@@ -1,8 +1,8 @@
1
1
  {
2
- "timestamp": "2025-02-06T09:53:12",
2
+ "timestamp": "2025-03-05T18:29:37",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
- "version": "4.25.1",
5
+ "version": "4.27.2",
6
6
  "typescriptVersion": "5.5.4"
7
7
  },
8
8
  "components": [