@maliardic/ma-ui 0.2.1 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +67 -1
- package/README.md +16 -0
- package/fesm2022/maliardic-ma-ui.mjs +4 -3
- package/fesm2022/maliardic-ma-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/styles/components/_accordion.scss +1 -1
- package/styles/components/_badge.scss +1 -1
- package/styles/components/_button.scss +1 -1
- package/styles/components/_checkbox.scss +2 -2
- package/styles/components/_date-picker.scss +6 -6
- package/styles/components/_dialog.scss +9 -1
- package/styles/components/_drawer.scss +1 -1
- package/styles/components/_editor.scss +3 -3
- package/styles/components/_file-upload.scss +2 -2
- package/styles/components/_input.scss +3 -3
- package/styles/components/_listbox.scss +1 -1
- package/styles/components/_menu-search.scss +1 -1
- package/styles/components/_menu.scss +2 -2
- package/styles/components/_multi-select.scss +5 -5
- package/styles/components/_popover.scss +2 -2
- package/styles/components/_progress-bar.scss +1 -1
- package/styles/components/_radio.scss +4 -3
- package/styles/components/_select.scss +8 -8
- package/styles/components/_switch.scss +4 -4
- package/styles/components/_table.scss +8 -7
- package/styles/components/_tabs.scss +2 -2
- package/styles/components/_tiered-menu.scss +1 -1
- package/styles/components/_toast.scss +35 -11
- package/styles/ma-ui.css +1 -1
- package/styles/themes/classic.css +1 -0
- package/styles/themes/classic.scss +163 -0
- package/styles/tokens.scss +156 -129
- package/types/maliardic-ma-ui.d.ts +51 -46
package/package.json
CHANGED
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
flex: 0 0 auto;
|
|
32
32
|
box-sizing: border-box;
|
|
33
33
|
border: var(--m-choice-border-width) solid var(--m-secondary-border-color);
|
|
34
|
-
border-radius:
|
|
34
|
+
border-radius: var(--m-radius-sm);
|
|
35
35
|
background: var(--m-secondary-background);
|
|
36
36
|
color: var(--m-primary-text-color);
|
|
37
37
|
font-size: 0.72rem;
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
.m-checkbox__input:focus + .m-checkbox__box {
|
|
78
|
-
box-shadow: 0 0 0
|
|
78
|
+
box-shadow: 0 0 0 var(--m-focus-ring-width) var(--m-focus-ring);
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
.m-checkbox-host--disabled .m-checkbox {
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
|
|
41
41
|
.m-date-picker:focus,
|
|
42
42
|
.m-date-picker[aria-expanded="true"] {
|
|
43
|
-
box-shadow: 0 0 0
|
|
43
|
+
box-shadow: 0 0 0 var(--m-focus-ring-width) var(--m-focus-ring);
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
.m-date-picker:disabled,
|
|
@@ -111,9 +111,9 @@
|
|
|
111
111
|
box-sizing: border-box;
|
|
112
112
|
gap: 0.55rem;
|
|
113
113
|
border: var(--m-select-border-width) solid var(--m-secondary-border-color);
|
|
114
|
-
border-radius: var(--m-
|
|
114
|
+
border-radius: var(--m-radius-container);
|
|
115
115
|
background: var(--m-color-surface);
|
|
116
|
-
box-shadow:
|
|
116
|
+
box-shadow: var(--m-shadow-panel);
|
|
117
117
|
padding: var(--m-date-picker-panel-padding);
|
|
118
118
|
}
|
|
119
119
|
|
|
@@ -143,7 +143,7 @@
|
|
|
143
143
|
height: 2rem;
|
|
144
144
|
place-items: center;
|
|
145
145
|
border: 0;
|
|
146
|
-
border-radius:
|
|
146
|
+
border-radius: var(--m-radius-sm);
|
|
147
147
|
background: transparent;
|
|
148
148
|
color: var(--m-color-muted);
|
|
149
149
|
cursor: pointer;
|
|
@@ -172,7 +172,7 @@
|
|
|
172
172
|
height: var(--m-date-picker-day-size);
|
|
173
173
|
place-items: center;
|
|
174
174
|
border: 0;
|
|
175
|
-
border-radius:
|
|
175
|
+
border-radius: var(--m-radius-sm);
|
|
176
176
|
background: transparent;
|
|
177
177
|
color: var(--m-color-text);
|
|
178
178
|
cursor: pointer;
|
|
@@ -220,7 +220,7 @@
|
|
|
220
220
|
height: 1.25rem;
|
|
221
221
|
place-items: center;
|
|
222
222
|
border: 0;
|
|
223
|
-
border-radius:
|
|
223
|
+
border-radius: var(--m-radius-sm);
|
|
224
224
|
background: transparent;
|
|
225
225
|
color: var(--m-color-muted);
|
|
226
226
|
cursor: pointer;
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
border-radius: var(--m-dialog-border-radius);
|
|
36
36
|
background: var(--m-color-surface);
|
|
37
37
|
color: var(--m-color-text);
|
|
38
|
-
box-shadow:
|
|
38
|
+
box-shadow: var(--m-shadow-overlay);
|
|
39
39
|
pointer-events: auto;
|
|
40
40
|
}
|
|
41
41
|
|
|
@@ -142,3 +142,11 @@
|
|
|
142
142
|
.m-dialog-host.m-dialog--plain .m-dialog {
|
|
143
143
|
box-shadow: none;
|
|
144
144
|
}
|
|
145
|
+
|
|
146
|
+
/* message of <m-confirmationDialog> */
|
|
147
|
+
.m-confirmation__message {
|
|
148
|
+
margin: 0;
|
|
149
|
+
color: var(--m-color-text);
|
|
150
|
+
font-size: var(--m-font-size);
|
|
151
|
+
line-height: 1.5;
|
|
152
|
+
}
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
|
|
17
17
|
.m-editor-host--focused .m-editor-container {
|
|
18
18
|
border-color: var(--m-primary-border-color);
|
|
19
|
-
box-shadow: 0 0 0
|
|
19
|
+
box-shadow: 0 0 0 var(--m-focus-ring-width) var(--m-focus-ring);
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
.m-editor-host--disabled .m-editor-container {
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
height: 1.85rem;
|
|
59
59
|
padding: 0 0.35rem;
|
|
60
60
|
border: 1px solid transparent;
|
|
61
|
-
border-radius:
|
|
61
|
+
border-radius: var(--m-radius-sm);
|
|
62
62
|
background: transparent;
|
|
63
63
|
color: var(--m-secondary-text-color);
|
|
64
64
|
font-size: 0.875rem;
|
|
@@ -187,7 +187,7 @@
|
|
|
187
187
|
font-size: 0.875em;
|
|
188
188
|
padding: 0.15em 0.35em;
|
|
189
189
|
background: var(--m-color-surface-muted);
|
|
190
|
-
border-radius:
|
|
190
|
+
border-radius: var(--m-radius-sm);
|
|
191
191
|
border: 1px solid var(--m-secondary-border-color);
|
|
192
192
|
color: var(--m-color-primary);
|
|
193
193
|
}
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
place-items: center;
|
|
23
23
|
gap: 0.35rem;
|
|
24
24
|
border: 1px dashed var(--m-secondary-border-color);
|
|
25
|
-
border-radius: var(--m-radius-
|
|
25
|
+
border-radius: var(--m-radius-container);
|
|
26
26
|
background: var(--m-secondary-background);
|
|
27
27
|
color: var(--m-color-text);
|
|
28
28
|
cursor: pointer;
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
|
|
45
45
|
.m-file-upload__dropzone:focus {
|
|
46
46
|
border-color: var(--m-primary-border-color);
|
|
47
|
-
box-shadow: 0 0 0
|
|
47
|
+
box-shadow: 0 0 0 var(--m-focus-ring-width) var(--m-focus-ring);
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
.m-file-upload__dropzone:disabled {
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
|
|
65
65
|
.m-input-wrapper__action:focus-visible {
|
|
66
66
|
outline: 0;
|
|
67
|
-
box-shadow: 0 0 0
|
|
67
|
+
box-shadow: 0 0 0 var(--m-focus-ring-width) var(--m-focus-ring);
|
|
68
68
|
}
|
|
69
69
|
|
|
70
70
|
.m-input-wrapper__action:disabled {
|
|
@@ -110,7 +110,7 @@
|
|
|
110
110
|
|
|
111
111
|
.m-input:focus {
|
|
112
112
|
border-color: var(--m-primary-border-color);
|
|
113
|
-
box-shadow: 0 0 0
|
|
113
|
+
box-shadow: 0 0 0 var(--m-focus-ring-width) var(--m-focus-ring);
|
|
114
114
|
}
|
|
115
115
|
|
|
116
116
|
.m-input:disabled,
|
|
@@ -188,7 +188,7 @@
|
|
|
188
188
|
|
|
189
189
|
.m-input.m-input--invalid:focus,
|
|
190
190
|
.m-input-host.m-input--invalid .m-input:focus {
|
|
191
|
-
box-shadow: 0 0 0
|
|
191
|
+
box-shadow: 0 0 0 var(--m-focus-ring-width) var(--m-danger-focus-ring);
|
|
192
192
|
}
|
|
193
193
|
|
|
194
194
|
textarea.m-input {
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
min-width: 0;
|
|
7
7
|
padding: var(--m-listbox-padding);
|
|
8
8
|
border: 1px solid var(--m-secondary-border-color);
|
|
9
|
-
border-radius: var(--m-radius-
|
|
9
|
+
border-radius: var(--m-radius-container);
|
|
10
10
|
background: var(--m-color-surface);
|
|
11
11
|
color: var(--m-color-text);
|
|
12
12
|
font-family: var(--m-font-family);
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
background: var(--m-color-surface);
|
|
20
20
|
color: var(--m-color-text);
|
|
21
21
|
border: 1px solid var(--m-secondary-border-color);
|
|
22
|
-
border-radius: var(--m-
|
|
22
|
+
border-radius: var(--m-radius-container);
|
|
23
23
|
font-family: var(--m-font-family);
|
|
24
24
|
font-size: var(--m-menu-md-font-size);
|
|
25
25
|
}
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
&::-webkit-scrollbar-thumb {
|
|
49
|
-
border-radius:
|
|
49
|
+
border-radius: var(--m-radius-container);
|
|
50
50
|
background: var(--m-color-border);
|
|
51
51
|
}
|
|
52
52
|
|
|
@@ -129,7 +129,7 @@
|
|
|
129
129
|
|
|
130
130
|
.m-menu__item:focus-visible {
|
|
131
131
|
outline: 0;
|
|
132
|
-
box-shadow: 0 0 0
|
|
132
|
+
box-shadow: 0 0 0 var(--m-focus-ring-width) var(--m-focus-ring);
|
|
133
133
|
}
|
|
134
134
|
|
|
135
135
|
.m-menu__item--active,
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
.m-multi-select[aria-expanded="true"],
|
|
53
53
|
.m-multi-select-filter:focus {
|
|
54
54
|
border-color: var(--m-primary-border-color);
|
|
55
|
-
box-shadow: 0 0 0
|
|
55
|
+
box-shadow: 0 0 0 var(--m-focus-ring-width) var(--m-focus-ring);
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
.m-multi-select:disabled {
|
|
@@ -126,9 +126,9 @@
|
|
|
126
126
|
display: grid;
|
|
127
127
|
gap: var(--m-multi-select-panel-padding);
|
|
128
128
|
border: var(--m-select-border-width) solid var(--m-secondary-border-color);
|
|
129
|
-
border-radius: var(--m-
|
|
129
|
+
border-radius: var(--m-radius-container);
|
|
130
130
|
background: var(--m-color-surface);
|
|
131
|
-
box-shadow:
|
|
131
|
+
box-shadow: var(--m-shadow-panel);
|
|
132
132
|
padding: var(--m-multi-select-panel-padding);
|
|
133
133
|
}
|
|
134
134
|
|
|
@@ -173,7 +173,7 @@
|
|
|
173
173
|
align-items: center;
|
|
174
174
|
gap: 0.55rem;
|
|
175
175
|
border: 0;
|
|
176
|
-
border-radius:
|
|
176
|
+
border-radius: var(--m-radius-sm);
|
|
177
177
|
background: transparent;
|
|
178
178
|
color: var(--m-color-text);
|
|
179
179
|
cursor: pointer;
|
|
@@ -199,7 +199,7 @@
|
|
|
199
199
|
height: var(--m-choice-size);
|
|
200
200
|
place-items: center;
|
|
201
201
|
border: 1px solid var(--m-secondary-border-color);
|
|
202
|
-
border-radius:
|
|
202
|
+
border-radius: var(--m-radius-sm);
|
|
203
203
|
background: var(--m-secondary-background);
|
|
204
204
|
color: var(--m-primary-text-color);
|
|
205
205
|
font-size: 0.7rem;
|
|
@@ -8,13 +8,13 @@
|
|
|
8
8
|
min-width: 12rem;
|
|
9
9
|
max-width: 100vw;
|
|
10
10
|
padding: 1rem;
|
|
11
|
-
border-radius: var(--m-radius-
|
|
11
|
+
border-radius: var(--m-radius-container);
|
|
12
12
|
background-color: var(--m-color-surface);
|
|
13
13
|
color: var(--m-color-text);
|
|
14
14
|
font-family: var(--m-font-family);
|
|
15
15
|
font-size: var(--m-font-size);
|
|
16
16
|
border: 1px solid var(--m-secondary-border-color);
|
|
17
|
-
box-shadow:
|
|
17
|
+
box-shadow: var(--m-shadow-panel);
|
|
18
18
|
animation: mPopoverFadeIn var(--m-motion-fast) cubic-bezier(0, 0, 0.2, 1);
|
|
19
19
|
z-index: 1000;
|
|
20
20
|
}
|
|
@@ -34,12 +34,13 @@
|
|
|
34
34
|
|
|
35
35
|
.m-radio__circle {
|
|
36
36
|
display: inline-grid;
|
|
37
|
+
box-sizing: border-box;
|
|
37
38
|
width: var(--m-choice-size);
|
|
38
39
|
height: var(--m-choice-size);
|
|
39
40
|
flex: 0 0 auto;
|
|
40
41
|
place-items: center;
|
|
41
42
|
border: var(--m-choice-border-width) solid var(--m-secondary-border-color);
|
|
42
|
-
border-radius:
|
|
43
|
+
border-radius: var(--m-radius-full);
|
|
43
44
|
background: var(--m-secondary-background);
|
|
44
45
|
transition:
|
|
45
46
|
border-color var(--m-choice-transition-duration) ease,
|
|
@@ -49,7 +50,7 @@
|
|
|
49
50
|
.m-radio__circle::after {
|
|
50
51
|
width: calc(var(--m-choice-size) * 0.45);
|
|
51
52
|
height: calc(var(--m-choice-size) * 0.45);
|
|
52
|
-
border-radius:
|
|
53
|
+
border-radius: var(--m-radius-full);
|
|
53
54
|
background: var(--m-primary-background);
|
|
54
55
|
content: "";
|
|
55
56
|
opacity: 0;
|
|
@@ -64,7 +65,7 @@
|
|
|
64
65
|
}
|
|
65
66
|
|
|
66
67
|
.m-radio__input:focus + .m-radio__circle {
|
|
67
|
-
box-shadow: 0 0 0
|
|
68
|
+
box-shadow: 0 0 0 var(--m-focus-ring-width) var(--m-focus-ring);
|
|
68
69
|
}
|
|
69
70
|
|
|
70
71
|
.m-radio-host--disabled .m-radio,
|
|
@@ -113,12 +113,12 @@
|
|
|
113
113
|
|
|
114
114
|
.m-select:focus {
|
|
115
115
|
border-color: var(--m-primary-border-color);
|
|
116
|
-
box-shadow: 0 0 0
|
|
116
|
+
box-shadow: 0 0 0 var(--m-focus-ring-width) var(--m-focus-ring);
|
|
117
117
|
}
|
|
118
118
|
|
|
119
119
|
.m-select[aria-expanded="true"] {
|
|
120
120
|
border-color: var(--m-primary-border-color);
|
|
121
|
-
box-shadow: 0 0 0
|
|
121
|
+
box-shadow: 0 0 0 var(--m-focus-ring-width) var(--m-focus-ring);
|
|
122
122
|
}
|
|
123
123
|
|
|
124
124
|
.m-select:disabled {
|
|
@@ -200,7 +200,7 @@
|
|
|
200
200
|
|
|
201
201
|
.m-select.m-select--invalid:focus,
|
|
202
202
|
.m-select-host.m-select--invalid .m-select:focus {
|
|
203
|
-
box-shadow: 0 0 0
|
|
203
|
+
box-shadow: 0 0 0 var(--m-focus-ring-width) var(--m-danger-focus-ring);
|
|
204
204
|
}
|
|
205
205
|
|
|
206
206
|
.m-select-panel {
|
|
@@ -213,12 +213,12 @@
|
|
|
213
213
|
display: grid;
|
|
214
214
|
gap: var(--m-select-panel-padding);
|
|
215
215
|
border: var(--m-select-border-width) solid var(--m-secondary-border-color);
|
|
216
|
-
border-radius: var(--m-
|
|
216
|
+
border-radius: var(--m-radius-container);
|
|
217
217
|
background: var(--m-color-surface);
|
|
218
218
|
color: var(--m-color-text);
|
|
219
219
|
font-family: var(--m-font-family);
|
|
220
220
|
font-size: var(--m-font-size);
|
|
221
|
-
box-shadow:
|
|
221
|
+
box-shadow: var(--m-shadow-panel);
|
|
222
222
|
padding: var(--m-select-panel-padding);
|
|
223
223
|
}
|
|
224
224
|
|
|
@@ -234,7 +234,7 @@
|
|
|
234
234
|
box-sizing: border-box;
|
|
235
235
|
width: 100%;
|
|
236
236
|
border: var(--m-select-border-width) solid var(--m-secondary-border-color);
|
|
237
|
-
border-radius:
|
|
237
|
+
border-radius: var(--m-radius-control);
|
|
238
238
|
background: var(--m-secondary-background);
|
|
239
239
|
color: var(--m-color-text);
|
|
240
240
|
font: inherit;
|
|
@@ -249,7 +249,7 @@
|
|
|
249
249
|
|
|
250
250
|
.m-select-filter:focus {
|
|
251
251
|
border-color: var(--m-primary-border-color);
|
|
252
|
-
box-shadow: 0 0 0
|
|
252
|
+
box-shadow: 0 0 0 var(--m-focus-ring-width) var(--m-focus-ring);
|
|
253
253
|
}
|
|
254
254
|
|
|
255
255
|
.m-select-list {
|
|
@@ -284,7 +284,7 @@
|
|
|
284
284
|
min-height: var(--m-select-option-min-height);
|
|
285
285
|
align-items: center;
|
|
286
286
|
border: 0;
|
|
287
|
-
border-radius:
|
|
287
|
+
border-radius: var(--m-radius-sm);
|
|
288
288
|
background: transparent;
|
|
289
289
|
color: var(--m-color-text);
|
|
290
290
|
cursor: pointer;
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
width: var(--m-switch-width);
|
|
15
15
|
height: var(--m-switch-height);
|
|
16
16
|
border: 1px solid var(--m-secondary-border-color);
|
|
17
|
-
border-radius:
|
|
17
|
+
border-radius: var(--m-radius-full);
|
|
18
18
|
background: var(--m-secondary-background-hover);
|
|
19
19
|
cursor: pointer;
|
|
20
20
|
padding: 0;
|
|
@@ -30,9 +30,9 @@
|
|
|
30
30
|
inset-inline-start: 0.15rem;
|
|
31
31
|
width: var(--m-switch-thumb-size);
|
|
32
32
|
height: var(--m-switch-thumb-size);
|
|
33
|
-
border-radius:
|
|
33
|
+
border-radius: var(--m-radius-full);
|
|
34
34
|
background: var(--m-color-surface);
|
|
35
|
-
box-shadow:
|
|
35
|
+
box-shadow: var(--m-shadow-sm);
|
|
36
36
|
transform: translateY(-50%);
|
|
37
37
|
transition: inset-inline-start var(--m-motion-fast) ease;
|
|
38
38
|
}
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
.m-switch__control:focus {
|
|
50
|
-
box-shadow: 0 0 0
|
|
50
|
+
box-shadow: 0 0 0 var(--m-focus-ring-width) var(--m-focus-ring);
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
.m-switch-host--disabled .m-switch {
|
|
@@ -96,7 +96,7 @@
|
|
|
96
96
|
|
|
97
97
|
.m-table__filter-input:focus {
|
|
98
98
|
border-color: var(--m-primary-border-color);
|
|
99
|
-
box-shadow: 0 0 0
|
|
99
|
+
box-shadow: 0 0 0 var(--m-focus-ring-width) var(--m-focus-ring);
|
|
100
100
|
}
|
|
101
101
|
|
|
102
102
|
.m-table__column-control {
|
|
@@ -131,7 +131,7 @@
|
|
|
131
131
|
|
|
132
132
|
.m-table__toolbar-button:focus-visible {
|
|
133
133
|
outline: 0;
|
|
134
|
-
box-shadow: 0 0 0
|
|
134
|
+
box-shadow: 0 0 0 var(--m-focus-ring-width) var(--m-focus-ring);
|
|
135
135
|
}
|
|
136
136
|
|
|
137
137
|
.m-table__column-menu {
|
|
@@ -142,9 +142,9 @@
|
|
|
142
142
|
display: grid;
|
|
143
143
|
width: min(var(--m-table-column-menu-width), calc(100vw - 2rem));
|
|
144
144
|
border: var(--m-table-border-width) solid var(--m-secondary-border-color);
|
|
145
|
-
border-radius: var(--m-
|
|
145
|
+
border-radius: var(--m-radius-container);
|
|
146
146
|
background: var(--m-secondary-background);
|
|
147
|
-
box-shadow:
|
|
147
|
+
box-shadow: var(--m-shadow-panel);
|
|
148
148
|
padding: 0.35rem;
|
|
149
149
|
}
|
|
150
150
|
|
|
@@ -203,6 +203,7 @@
|
|
|
203
203
|
|
|
204
204
|
.m-table__font-probe,
|
|
205
205
|
.m-table__selection-probe {
|
|
206
|
+
box-sizing: border-box;
|
|
206
207
|
position: absolute;
|
|
207
208
|
visibility: hidden;
|
|
208
209
|
pointer-events: none;
|
|
@@ -245,6 +246,7 @@
|
|
|
245
246
|
}
|
|
246
247
|
|
|
247
248
|
.m-table__cell {
|
|
249
|
+
box-sizing: border-box;
|
|
248
250
|
border-bottom: var(--m-table-border-width) solid
|
|
249
251
|
var(--m-secondary-border-color);
|
|
250
252
|
padding: var(--m-table-current-cell-padding-y)
|
|
@@ -383,7 +385,7 @@
|
|
|
383
385
|
|
|
384
386
|
.m-table__reorder-button:focus-visible {
|
|
385
387
|
outline: 0;
|
|
386
|
-
box-shadow: 0 0 0
|
|
388
|
+
box-shadow: 0 0 0 var(--m-focus-ring-width) var(--m-focus-ring);
|
|
387
389
|
}
|
|
388
390
|
|
|
389
391
|
.m-table__reorder-button:disabled {
|
|
@@ -557,7 +559,7 @@
|
|
|
557
559
|
min-width: var(--m-table-page-button-size);
|
|
558
560
|
height: var(--m-table-page-button-size);
|
|
559
561
|
place-items: center;
|
|
560
|
-
|
|
562
|
+
border: 0;
|
|
561
563
|
border-radius: var(--m-table-border-radius);
|
|
562
564
|
background: transparent;
|
|
563
565
|
color: var(--m-color-muted);
|
|
@@ -565,7 +567,6 @@
|
|
|
565
567
|
font: inherit;
|
|
566
568
|
font-weight: 400;
|
|
567
569
|
font-size: 0.85em;
|
|
568
|
-
//line-height: 1;
|
|
569
570
|
padding: 0 0.35rem;
|
|
570
571
|
transition:
|
|
571
572
|
background-color var(--m-table-transition-duration) ease,
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
inset-inline: var(--m-tabs-current-tab-padding-x);
|
|
71
71
|
inset-block-end: 0;
|
|
72
72
|
height: var(--m-tabs-indicator-height);
|
|
73
|
-
border-radius:
|
|
73
|
+
border-radius: var(--m-radius-full);
|
|
74
74
|
background: transparent;
|
|
75
75
|
content: "";
|
|
76
76
|
transition: background-color var(--m-tabs-transition-duration) ease;
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
|
|
93
93
|
.m-tabs__tab:focus-visible {
|
|
94
94
|
outline: 0;
|
|
95
|
-
box-shadow: 0 0 0
|
|
95
|
+
box-shadow: 0 0 0 var(--m-focus-ring-width) var(--m-focus-ring);
|
|
96
96
|
}
|
|
97
97
|
|
|
98
98
|
.m-tabs__tab:disabled {
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
background: var(--m-color-surface);
|
|
22
22
|
color: var(--m-color-text);
|
|
23
23
|
border: 1px solid var(--m-secondary-border-color);
|
|
24
|
-
border-radius: var(--m-
|
|
24
|
+
border-radius: var(--m-radius-container);
|
|
25
25
|
font-size: var(--m-menu-md-font-size);
|
|
26
26
|
}
|
|
27
27
|
|
|
@@ -3,8 +3,10 @@
|
|
|
3
3
|
}
|
|
4
4
|
|
|
5
5
|
.m-toast {
|
|
6
|
-
--m-toast-enter-
|
|
7
|
-
--m-toast-
|
|
6
|
+
--m-toast-enter-x: 0;
|
|
7
|
+
--m-toast-enter-y: -0.75rem;
|
|
8
|
+
--m-toast-exit-x: 0;
|
|
9
|
+
--m-toast-exit-y: -0.5rem;
|
|
8
10
|
|
|
9
11
|
position: fixed;
|
|
10
12
|
z-index: var(--m-toast-z-index);
|
|
@@ -23,19 +25,29 @@
|
|
|
23
25
|
.m-toast--bottom-right,
|
|
24
26
|
.m-toast--bottom-left,
|
|
25
27
|
.m-toast--bottom-center {
|
|
26
|
-
--m-toast-enter-y: 0.
|
|
27
|
-
--m-toast-exit-y: 0.
|
|
28
|
+
--m-toast-enter-y: 0.75rem;
|
|
29
|
+
--m-toast-exit-y: 0.5rem;
|
|
28
30
|
|
|
29
31
|
bottom: var(--m-toast-bottom-offset);
|
|
30
32
|
}
|
|
31
33
|
|
|
32
34
|
.m-toast--top-right,
|
|
33
35
|
.m-toast--bottom-right {
|
|
36
|
+
--m-toast-enter-x: 1.5rem;
|
|
37
|
+
--m-toast-enter-y: 0;
|
|
38
|
+
--m-toast-exit-x: 1.5rem;
|
|
39
|
+
--m-toast-exit-y: 0;
|
|
40
|
+
|
|
34
41
|
right: var(--m-toast-side-offset);
|
|
35
42
|
}
|
|
36
43
|
|
|
37
44
|
.m-toast--top-left,
|
|
38
45
|
.m-toast--bottom-left {
|
|
46
|
+
--m-toast-enter-x: -1.5rem;
|
|
47
|
+
--m-toast-enter-y: 0;
|
|
48
|
+
--m-toast-exit-x: -1.5rem;
|
|
49
|
+
--m-toast-exit-y: 0;
|
|
50
|
+
|
|
39
51
|
left: var(--m-toast-side-offset);
|
|
40
52
|
}
|
|
41
53
|
|
|
@@ -58,28 +70,40 @@
|
|
|
58
70
|
border: 1px solid var(--m-toast-message-border-color);
|
|
59
71
|
border-radius: var(--m-toast-border-radius);
|
|
60
72
|
background: var(--m-toast-message-background);
|
|
61
|
-
box-shadow:
|
|
73
|
+
box-shadow: var(--m-toast-shadow);
|
|
62
74
|
color: var(--m-color-text);
|
|
63
75
|
font-size: var(--m-font-size);
|
|
64
76
|
line-height: 1.4;
|
|
65
77
|
opacity: 1;
|
|
66
78
|
padding: var(--m-toast-padding);
|
|
67
79
|
pointer-events: auto;
|
|
68
|
-
transform:
|
|
80
|
+
transform: none;
|
|
69
81
|
transition:
|
|
70
|
-
opacity var(--m-toast-transition-duration)
|
|
71
|
-
transform var(--m-toast-transition-duration)
|
|
82
|
+
opacity var(--m-toast-transition-duration) var(--m-toast-easing),
|
|
83
|
+
transform var(--m-toast-transition-duration) var(--m-toast-easing);
|
|
72
84
|
|
|
73
85
|
@starting-style {
|
|
74
86
|
opacity: 0;
|
|
75
|
-
transform:
|
|
87
|
+
transform: translate(var(--m-toast-enter-x), var(--m-toast-enter-y)) scale(0.98);
|
|
76
88
|
}
|
|
77
89
|
}
|
|
78
90
|
|
|
79
91
|
.m-toast-message--closing {
|
|
80
92
|
opacity: 0;
|
|
81
93
|
pointer-events: none;
|
|
82
|
-
transform:
|
|
94
|
+
transform: translate(var(--m-toast-exit-x), var(--m-toast-exit-y)) scale(0.98);
|
|
95
|
+
transition-timing-function: ease-in;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
@media (prefers-reduced-motion: reduce) {
|
|
99
|
+
.m-toast-message,
|
|
100
|
+
.m-toast-message--closing {
|
|
101
|
+
transform: none;
|
|
102
|
+
|
|
103
|
+
@starting-style {
|
|
104
|
+
transform: none;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
83
107
|
}
|
|
84
108
|
|
|
85
109
|
.m-toast-message--success {
|
|
@@ -151,5 +175,5 @@
|
|
|
151
175
|
|
|
152
176
|
.m-toast-message__close:focus-visible {
|
|
153
177
|
outline: 0;
|
|
154
|
-
box-shadow: 0 0 0
|
|
178
|
+
box-shadow: 0 0 0 var(--m-focus-ring-width) var(--m-focus-ring);
|
|
155
179
|
}
|