@webitel/ui-sdk 23.12.51 → 23.12.53
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/img/plyr.svg +4 -2
- package/dist/ui-sdk.css +1 -1
- package/dist/ui-sdk.mjs +1555 -1554
- package/dist/ui-sdk.umd.js +6 -6
- package/package.json +1 -1
- package/src/components/wt-app-header/_variables.scss +1 -1
- package/src/components/wt-app-header/wt-header-actions.vue +5 -1
- package/src/components/wt-avatar/_variables.scss +30 -26
- package/src/components/wt-avatar/wt-avatar.vue +32 -31
- package/src/components/wt-badge/wt-badge.vue +1 -1
- package/src/components/wt-button/wt-button.vue +3 -2
- package/src/components/wt-context-menu/_variables.scss +9 -5
- package/src/components/wt-context-menu/wt-context-menu.vue +6 -4
- package/src/components/wt-datepicker/_variables.scss +12 -12
- package/src/components/wt-divider/_variables.scss +6 -2
- package/src/components/wt-dummy/_variables.scss +4 -0
- package/src/components/wt-dummy/wt-dummy.vue +5 -0
- package/src/components/wt-error-page/_variables.scss +5 -0
- package/src/components/wt-error-page/wt-error-page.vue +2 -2
- package/src/components/wt-expansion-panel/_variables.scss +7 -0
- package/src/components/wt-expansion-panel/wt-expansion-panel.vue +15 -2
- package/src/components/wt-headline/_variables.scss +3 -3
- package/src/components/wt-headline/wt-headline.vue +1 -1
- package/src/components/wt-input-info/_variables.scss +0 -2
- package/src/components/wt-input-info/wt-input-info.vue +2 -2
- package/src/components/wt-item-link/_variables.scss +4 -0
- package/src/components/wt-item-link/wt-item-link.vue +5 -0
- package/src/components/wt-load-bar/_variables.scss +2 -0
- package/src/components/wt-load-bar/wt-load-bar.vue +2 -2
- package/src/components/wt-loader/_internals/wt-loader--md.vue +2 -2
- package/src/components/wt-loader/_internals/wt-loader--sm.vue +10 -4
- package/src/components/wt-loader/_variables.scss +15 -2
- package/src/components/wt-loader/wt-loader.vue +2 -2
- package/src/components/wt-navigation-bar/_variables.scss +18 -12
- package/src/components/wt-navigation-bar/wt-navigation-bar.vue +17 -15
- package/src/components/wt-notification/_variables.scss +7 -7
- package/src/components/wt-notification/wt-notification.vue +6 -6
- package/src/components/wt-page-wrapper/_variables.scss +6 -0
- package/src/components/wt-page-wrapper/wt-page-wrapper.vue +1 -1
- package/src/components/wt-player/_variables.scss +10 -1
- package/src/components/wt-player/wt-player.vue +55 -26
- package/src/components/wt-rounded-action/wt-rounded-action.vue +1 -5
- package/src/components/wt-status-select/_variables.scss +2 -0
- package/src/components/wt-status-select/wt-status-select.vue +1 -0
- package/src/css/styleguide/colors/_colors.scss +1 -4
- package/src/css/styleguide/colors/reusable/_text-field.scss +1 -0
package/package.json
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
--wt-app-header-content-gap: var(--spacing-sm);
|
|
8
8
|
--wt-app-header-content-panel-margin: var(--spacing-2xs);
|
|
9
|
-
--wt-app-header-content-bg-color: var(--
|
|
9
|
+
--wt-app-header-content-bg-color: var(--content-wrapper-color);
|
|
10
10
|
--wt-app-header-content-z-index: 11;
|
|
11
11
|
|
|
12
12
|
--wt-app-navigator-max-height: 80vh;
|
|
@@ -159,11 +159,13 @@ export default {
|
|
|
159
159
|
.wt-header-actions__name {
|
|
160
160
|
@extend %typo-subtitle-1;
|
|
161
161
|
white-space: nowrap;
|
|
162
|
+
color: var(--text-main-color);
|
|
162
163
|
}
|
|
163
164
|
|
|
164
165
|
.wt-header-actions__account {
|
|
165
166
|
@extend %typo-body-1;
|
|
166
167
|
white-space: nowrap;
|
|
168
|
+
color: var(--text-main-color);
|
|
167
169
|
}
|
|
168
170
|
|
|
169
171
|
.wt-header-actions__action {
|
|
@@ -181,6 +183,7 @@ export default {
|
|
|
181
183
|
width: 100%;
|
|
182
184
|
padding: var(--wt-header-actions-action-link-padding);
|
|
183
185
|
cursor: pointer;
|
|
186
|
+
color: var(--text-main-color);
|
|
184
187
|
|
|
185
188
|
.wt-icon {
|
|
186
189
|
margin-right: var(--wt-header-actions-action-link-padding);
|
|
@@ -188,12 +191,13 @@ export default {
|
|
|
188
191
|
}
|
|
189
192
|
|
|
190
193
|
&--logout .wt-header-actions__action__link {
|
|
191
|
-
color: var(--
|
|
194
|
+
color: var(--error-color);
|
|
192
195
|
}
|
|
193
196
|
}
|
|
194
197
|
|
|
195
198
|
.wt-header-actions__build__version {
|
|
196
199
|
@extend %typo-caption;
|
|
197
200
|
white-space: nowrap;
|
|
201
|
+
color: var(--text-main-color);
|
|
198
202
|
}
|
|
199
203
|
</style>
|
|
@@ -1,32 +1,36 @@
|
|
|
1
1
|
:root {
|
|
2
|
-
--avatar-size--size-xs: calc(var(--_spacing-multiplicator) * 3);
|
|
3
|
-
--avatar-size--size-sm: calc(var(--_spacing-multiplicator) * 4);
|
|
4
|
-
--avatar-size--size-md: calc(var(--_spacing-multiplicator) * 5);
|
|
5
|
-
--avatar-size--size-lg: calc(var(--_spacing-multiplicator) * 7);
|
|
6
|
-
--avatar-size--size-xl: calc(var(--_spacing-multiplicator) * 9);
|
|
7
|
-
--avatar-size--size-2xl: calc(var(--_spacing-multiplicator) * 12);
|
|
8
|
-
--avatar-size--size-3xl: calc(var(--_spacing-multiplicator) * 16);
|
|
2
|
+
--wt-avatar-size--size-xs: calc(var(--_spacing-multiplicator) * 3);
|
|
3
|
+
--wt-avatar-size--size-sm: calc(var(--_spacing-multiplicator) * 4);
|
|
4
|
+
--wt-avatar-size--size-md: calc(var(--_spacing-multiplicator) * 5);
|
|
5
|
+
--wt-avatar-size--size-lg: calc(var(--_spacing-multiplicator) * 7);
|
|
6
|
+
--wt-avatar-size--size-xl: calc(var(--_spacing-multiplicator) * 9);
|
|
7
|
+
--wt-avatar-size--size-2xl: calc(var(--_spacing-multiplicator) * 12);
|
|
8
|
+
--wt-avatar-size--size-3xl: calc(var(--_spacing-multiplicator) * 16);
|
|
9
9
|
|
|
10
|
-
--avatar-size: var(--avatar-size--size-md);
|
|
10
|
+
--wt-avatar-size: var(--wt-avatar-size--size-md);
|
|
11
11
|
|
|
12
|
-
--online-color: var(--
|
|
13
|
-
--dnd-color: var(--
|
|
14
|
-
--busy-color: var(--
|
|
15
|
-
--offline-color: var(--
|
|
12
|
+
--online-color: var(--success-color);
|
|
13
|
+
--dnd-color: var(--warning-color);
|
|
14
|
+
--busy-color: var(--error-color);
|
|
15
|
+
--offline-color: var(--disabled-color);
|
|
16
16
|
|
|
17
|
-
--avatar-
|
|
17
|
+
--wt-avatar-text-color: var(--white);
|
|
18
18
|
|
|
19
|
-
--avatar-letters-p1-color: var(--red-lighten-2);
|
|
20
|
-
--avatar-letters-p2-color: var(--purple-lighten-2);
|
|
21
|
-
--avatar-letters-p3-color: var(--deep-purple-lighten-2);
|
|
22
|
-
--avatar-letters-p4-color: var(--indigo-lighten-2);
|
|
23
|
-
--avatar-letters-p5-color: var(--blue-lighten-1);
|
|
24
|
-
--avatar-letters-p6-color: var(--cyan-lighten-1);
|
|
25
|
-
--avatar-letters-p7-color: var(--teal-darken-3);
|
|
26
|
-
--avatar-letters-p8-color: var(--green-darken-2);
|
|
27
|
-
--avatar-letters-p9-color: var(--lime-darken-3);
|
|
28
|
-
--avatar-letters-p10-color: var(--yellow-darken-3);
|
|
29
|
-
--avatar-letters-p11-color: var(--amber-lighten-2);
|
|
30
|
-
--avatar-letters-p12-color: var(--orange-darken-1);
|
|
31
|
-
--avatar-letters-p13-color: var(--deep-purple-lighten-1);
|
|
19
|
+
--wt-avatar-letters-p1-color: var(--red-lighten-2);
|
|
20
|
+
--wt-avatar-letters-p2-color: var(--purple-lighten-2);
|
|
21
|
+
--wt-avatar-letters-p3-color: var(--deep-purple-lighten-2);
|
|
22
|
+
--wt-avatar-letters-p4-color: var(--indigo-lighten-2);
|
|
23
|
+
--wt-avatar-letters-p5-color: var(--blue-lighten-1);
|
|
24
|
+
--wt-avatar-letters-p6-color: var(--cyan-lighten-1);
|
|
25
|
+
--wt-avatar-letters-p7-color: var(--teal-darken-3);
|
|
26
|
+
--wt-avatar-letters-p8-color: var(--green-darken-2);
|
|
27
|
+
--wt-avatar-letters-p9-color: var(--lime-darken-3);
|
|
28
|
+
--wt-avatar-letters-p10-color: var(--yellow-darken-3);
|
|
29
|
+
--wt-avatar-letters-p11-color: var(--amber-lighten-2);
|
|
30
|
+
--wt-avatar-letters-p12-color: var(--orange-darken-1);
|
|
31
|
+
--wt-avatar-letters-p13-color: var(--deep-purple-lighten-1);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
:root.theme--dark {
|
|
35
|
+
--wt-avatar-text-color: var(--black);
|
|
32
36
|
}
|
|
@@ -64,22 +64,22 @@ const avatarLetters = computed(() => {
|
|
|
64
64
|
const avatarLettersBackground = computed(() => {
|
|
65
65
|
// en.concat(uk)
|
|
66
66
|
const letterList = [
|
|
67
|
-
{ letters: 'AB'.concat('АБВ'), color: '--avatar-letters-p1-color' },
|
|
68
|
-
{ letters: 'CD'.concat('ГҐД'), color: '--avatar-letters-p2-color' },
|
|
69
|
-
{ letters: 'EF'.concat('ЕЄЖ'), color: '--avatar-letters-p3-color' },
|
|
70
|
-
{ letters: 'GH'.concat('ЗИІ'), color: '--avatar-letters-p4-color' },
|
|
71
|
-
{ letters: 'IJ'.concat('ЇЙК'), color: '--avatar-letters-p5-color' },
|
|
72
|
-
{ letters: 'KL'.concat('ЛМН'), color: '--avatar-letters-p6-color' },
|
|
73
|
-
{ letters: 'MN'.concat('ОПР'), color: '--avatar-letters-p7-color' },
|
|
74
|
-
{ letters: 'OP'.concat('СТУ'), color: '--avatar-letters-p8-color' },
|
|
75
|
-
{ letters: 'QR'.concat('ФХЦ'), color: '--avatar-letters-p9-color' },
|
|
76
|
-
{ letters: 'ST'.concat('ЧШЩ'), color: '--avatar-letters-p10-color' },
|
|
77
|
-
{ letters: 'UV'.concat('ЬЮЯ'), color: '--avatar-letters-p11-color' },
|
|
78
|
-
{ letters: 'WX'.concat(''), color: '--avatar-letters-p12-color' },
|
|
79
|
-
{ letters: 'YZ'.concat(''), color: '--avatar-letters-p13-color' },
|
|
67
|
+
{ letters: 'AB'.concat('АБВ'), color: '--wt-avatar-letters-p1-color' },
|
|
68
|
+
{ letters: 'CD'.concat('ГҐД'), color: '--wt-avatar-letters-p2-color' },
|
|
69
|
+
{ letters: 'EF'.concat('ЕЄЖ'), color: '--wt-avatar-letters-p3-color' },
|
|
70
|
+
{ letters: 'GH'.concat('ЗИІ'), color: '--wt-avatar-letters-p4-color' },
|
|
71
|
+
{ letters: 'IJ'.concat('ЇЙК'), color: '--wt-avatar-letters-p5-color' },
|
|
72
|
+
{ letters: 'KL'.concat('ЛМН'), color: '--wt-avatar-letters-p6-color' },
|
|
73
|
+
{ letters: 'MN'.concat('ОПР'), color: '--wt-avatar-letters-p7-color' },
|
|
74
|
+
{ letters: 'OP'.concat('СТУ'), color: '--wt-avatar-letters-p8-color' },
|
|
75
|
+
{ letters: 'QR'.concat('ФХЦ'), color: '--wt-avatar-letters-p9-color' },
|
|
76
|
+
{ letters: 'ST'.concat('ЧШЩ'), color: '--wt-avatar-letters-p10-color' },
|
|
77
|
+
{ letters: 'UV'.concat('ЬЮЯ'), color: '--wt-avatar-letters-p11-color' },
|
|
78
|
+
{ letters: 'WX'.concat(''), color: '--wt-avatar-letters-p12-color' },
|
|
79
|
+
{ letters: 'YZ'.concat(''), color: '--wt-avatar-letters-p13-color' },
|
|
80
80
|
];
|
|
81
81
|
const searchedLetter = letterList.find(({ letters }) => letters.includes(avatarLetters.value.at(0).toUpperCase()));
|
|
82
|
-
return (searchedLetter && searchedLetter.color) || '--avatar-letters-p1-color';
|
|
82
|
+
return (searchedLetter && searchedLetter.color) || '--wt-avatar-letters-p1-color';
|
|
83
83
|
});
|
|
84
84
|
|
|
85
85
|
const imgSrc = computed(() => props.src || defaultAvatar);
|
|
@@ -126,8 +126,8 @@ const badgeColorVar = computed(() => {
|
|
|
126
126
|
|
|
127
127
|
.wt-avatar {
|
|
128
128
|
position: relative;
|
|
129
|
-
width: var(--avatar-size);
|
|
130
|
-
height: var(--avatar-size);
|
|
129
|
+
width: var(--wt-avatar-size);
|
|
130
|
+
height: var(--wt-avatar-size);
|
|
131
131
|
user-select: none;
|
|
132
132
|
border-radius: 50%;
|
|
133
133
|
|
|
@@ -136,52 +136,53 @@ const badgeColorVar = computed(() => {
|
|
|
136
136
|
display: flex;
|
|
137
137
|
align-items: center;
|
|
138
138
|
justify-content: center;
|
|
139
|
-
color: var(--avatar-
|
|
139
|
+
color: var(--wt-avatar-text-color);
|
|
140
140
|
border-radius: 50%;
|
|
141
141
|
}
|
|
142
142
|
|
|
143
143
|
&__img {
|
|
144
144
|
width: 100%;
|
|
145
145
|
height: 100%;
|
|
146
|
+
border-radius: 50%;
|
|
146
147
|
}
|
|
147
148
|
|
|
148
149
|
&--size-xs {
|
|
149
|
-
width: var(--avatar-size--size-xs);
|
|
150
|
-
height: var(--avatar-size--size-xs);
|
|
150
|
+
width: var(--wt-avatar-size--size-xs);
|
|
151
|
+
height: var(--wt-avatar-size--size-xs);
|
|
151
152
|
}
|
|
152
153
|
|
|
153
154
|
&--size-sm {
|
|
154
155
|
@extend %wt-avatar-typo-sm;
|
|
155
|
-
width: var(--avatar-size--size-sm);
|
|
156
|
-
height: var(--avatar-size--size-sm);
|
|
156
|
+
width: var(--wt-avatar-size--size-sm);
|
|
157
|
+
height: var(--wt-avatar-size--size-sm);
|
|
157
158
|
}
|
|
158
159
|
|
|
159
160
|
&--size-md {
|
|
160
|
-
width: var(--avatar-size--size-md);
|
|
161
|
-
height: var(--avatar-size--size-md);
|
|
161
|
+
width: var(--wt-avatar-size--size-md);
|
|
162
|
+
height: var(--wt-avatar-size--size-md);
|
|
162
163
|
}
|
|
163
164
|
|
|
164
165
|
&--size-lg {
|
|
165
166
|
@extend %wt-avatar-typo-lg;
|
|
166
|
-
width: var(--avatar-size--size-lg);
|
|
167
|
-
height: var(--avatar-size--size-lg);
|
|
167
|
+
width: var(--wt-avatar-size--size-lg);
|
|
168
|
+
height: var(--wt-avatar-size--size-lg);
|
|
168
169
|
}
|
|
169
170
|
|
|
170
171
|
&--size-xl {
|
|
171
|
-
width: var(--avatar-size--size-xl);
|
|
172
|
-
height: var(--avatar-size--size-xl);
|
|
172
|
+
width: var(--wt-avatar-size--size-xl);
|
|
173
|
+
height: var(--wt-avatar-size--size-xl);
|
|
173
174
|
}
|
|
174
175
|
|
|
175
176
|
&--size-2xl {
|
|
176
177
|
@extend %wt-avatar-typo-2xl;
|
|
177
|
-
width: var(--avatar-size--size-2xl);
|
|
178
|
-
height: var(--avatar-size--size-2xl);
|
|
178
|
+
width: var(--wt-avatar-size--size-2xl);
|
|
179
|
+
height: var(--wt-avatar-size--size-2xl);
|
|
179
180
|
}
|
|
180
181
|
|
|
181
182
|
&--size-3xl {
|
|
182
183
|
@extend %wt-avatar-typo-3xl;
|
|
183
|
-
width: var(--avatar-size--size-3xl);
|
|
184
|
-
height: var(--avatar-size--size-3xl);
|
|
184
|
+
width: var(--wt-avatar-size--size-3xl);
|
|
185
|
+
height: var(--wt-avatar-size--size-3xl);
|
|
185
186
|
}
|
|
186
187
|
}
|
|
187
188
|
</style>
|
|
@@ -78,8 +78,9 @@ export default {
|
|
|
78
78
|
return '';
|
|
79
79
|
},
|
|
80
80
|
loaderColor() {
|
|
81
|
-
|
|
82
|
-
return '
|
|
81
|
+
return 'main';
|
|
82
|
+
// if (['success', 'transfer', 'error', 'job'].includes(this.color)) return 'on-dark';
|
|
83
|
+
// return 'on-light';
|
|
83
84
|
},
|
|
84
85
|
},
|
|
85
86
|
};
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
:root {
|
|
2
|
-
--context-menu-option-
|
|
2
|
+
--wt-context-menu-option-padding: var(--spacing-xs);
|
|
3
3
|
|
|
4
|
-
--context-menu-background-color: var(--
|
|
5
|
-
|
|
6
|
-
--context-menu-option-
|
|
4
|
+
--wt-context-menu-background-color: var(--content-wrapper-color);
|
|
5
|
+
--wt-context-menu-option-text-color: var(--text-main-color);
|
|
6
|
+
--wt-context-menu-option-background-hover-color: var(--dp-24-surface-color);
|
|
7
|
+
--wt-context-menu-option-background-disabled-color: var(--dp-14-surface-color);
|
|
8
|
+
--wt-context-menu-option-text-disabled-color: var(--grey-lighten-3);
|
|
9
|
+
}
|
|
7
10
|
|
|
8
|
-
|
|
11
|
+
:root.theme--dark {
|
|
12
|
+
--wt-context-menu-option-text-disabled-color: var(--grey-darken-2);
|
|
9
13
|
}
|
|
@@ -92,7 +92,7 @@ function handleOptionClick({ option, index, hide }) {
|
|
|
92
92
|
|
|
93
93
|
.wt-context-menu__menu {
|
|
94
94
|
@extend %typo-body-2;
|
|
95
|
-
background-color: var(--context-menu-background-color);
|
|
95
|
+
background-color: var(--wt-context-menu-background-color);
|
|
96
96
|
border-radius: var(--border-radius);
|
|
97
97
|
box-shadow: var(--box-shadow);
|
|
98
98
|
transition: var(--transition);
|
|
@@ -115,17 +115,19 @@ function handleOptionClick({ option, index, hide }) {
|
|
|
115
115
|
|
|
116
116
|
.wt-context-menu__option {
|
|
117
117
|
display: block;
|
|
118
|
-
padding: var(--context-menu-option-padding);
|
|
118
|
+
padding: var(--wt-context-menu-option-padding);
|
|
119
119
|
cursor: pointer;
|
|
120
|
+
color: var(--wt-context-menu-option-text-color);
|
|
120
121
|
|
|
121
122
|
&:hover {
|
|
122
|
-
background-color: var(--context-menu-option-color
|
|
123
|
+
background-color: var(--wt-context-menu-option-hover-color);
|
|
123
124
|
transition: var(--transition);
|
|
124
125
|
}
|
|
125
126
|
|
|
126
127
|
&--disabled {
|
|
127
128
|
pointer-events: none;
|
|
128
|
-
color: var(--context-menu-option-color
|
|
129
|
+
color: var(--wt-context-menu-option-text-disabled-color);
|
|
130
|
+
background-color: var(--wt-context-menu-option-background-disabled-color);
|
|
129
131
|
}
|
|
130
132
|
}
|
|
131
133
|
</style>
|
|
@@ -34,23 +34,23 @@
|
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
.dp__theme_light {
|
|
37
|
-
--dp-background-color: var(--
|
|
38
|
-
--dp-text-color: var(--
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
--dp-hover-icon-color: var(--icon-color
|
|
37
|
+
--dp-background-color: var(--content-wrapper-color);
|
|
38
|
+
--dp-text-color: var(--text-main-color);
|
|
39
|
+
//--dp-hover-color: var(--secondary-color-50);
|
|
40
|
+
//--dp-hover-text-color: var(--contrast-color);
|
|
41
|
+
--dp-hover-icon-color: var(--icon-btn-hover-color);
|
|
42
42
|
--dp-primary-color: var(--primary-color);
|
|
43
|
-
--dp-primary-text-color: var(--
|
|
43
|
+
--dp-primary-text-color: var(--primary-on-color);
|
|
44
44
|
--dp-secondary-color: var(--secondary-color);
|
|
45
|
-
--dp-border-color: var(--
|
|
45
|
+
--dp-border-color: var(--wt-text-field-input-border-color);
|
|
46
46
|
--dp-menu-border-color: transparent;
|
|
47
|
-
|
|
48
|
-
--dp-disabled-color: var(--disabled-color);
|
|
47
|
+
//--dp-border-color-hover: var(--form-border--hover-color);
|
|
48
|
+
--dp-disabled-color: var(--wt-text-field-input-background-disabled-color);
|
|
49
|
+
--dp-success-color: var(--success-color);
|
|
50
|
+
--dp-icon-color: var(--icon-color);
|
|
51
|
+
--dp-danger-color: var(--error-color);
|
|
49
52
|
//--dp-scroll-bar-background: #f3f3f3;
|
|
50
53
|
//--dp-scroll-bar-color: #959595;
|
|
51
|
-
--dp-success-color: var(--true-color);
|
|
52
54
|
//--dp-success-color-disabled: #a3d9b1;
|
|
53
|
-
--dp-icon-color: var(--icon-color);
|
|
54
|
-
--dp-danger-color: var(--false-color);
|
|
55
55
|
//--dp-highlight-color: rgba(25, 118, 210, 0.1);
|
|
56
56
|
}
|
|
@@ -56,6 +56,10 @@ const emits = defineEmits([
|
|
|
56
56
|
|
|
57
57
|
</script>
|
|
58
58
|
|
|
59
|
+
<style lang="scss">
|
|
60
|
+
@import './variables.scss';
|
|
61
|
+
</style>
|
|
62
|
+
|
|
59
63
|
<style lang="scss" scoped>
|
|
60
64
|
.wt-dummy {
|
|
61
65
|
text-align: center;
|
|
@@ -72,6 +76,7 @@ const emits = defineEmits([
|
|
|
72
76
|
|
|
73
77
|
&__text {
|
|
74
78
|
@extend %typo-body-1;
|
|
79
|
+
color: var(--wt-dummy-text-color);
|
|
75
80
|
}
|
|
76
81
|
}
|
|
77
82
|
</style>
|
|
@@ -81,11 +81,11 @@ export default {
|
|
|
81
81
|
min-width: 100vw;
|
|
82
82
|
min-height: 100vh;
|
|
83
83
|
padding: 90px;
|
|
84
|
-
background: var(--
|
|
84
|
+
background: var(--wt-error-page-background-color);
|
|
85
85
|
|
|
86
86
|
&__wrapper {
|
|
87
87
|
text-align: center;
|
|
88
|
-
|
|
88
|
+
color: var(--wt-error-page-text-color);
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
&__img {
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
|
|
2
|
+
:root {
|
|
3
|
+
--wt-expansion-panel-header-background-color: var(--dp-16-surface-color);
|
|
4
|
+
--wt-expansion-panel-header-title-color: var(--text-main-color);
|
|
5
|
+
--wt-expansion-panel-content-background-color: var(--content-wrapper-color);
|
|
6
|
+
--wt-expansion-panel-content-text-color: var(--text-main-color);
|
|
7
|
+
}
|
|
@@ -16,7 +16,10 @@
|
|
|
16
16
|
/>
|
|
17
17
|
</div>
|
|
18
18
|
<wt-expand-transition>
|
|
19
|
-
<div
|
|
19
|
+
<div
|
|
20
|
+
class="wt-expansion-panel-body"
|
|
21
|
+
v-show="open"
|
|
22
|
+
>
|
|
20
23
|
<slot />
|
|
21
24
|
</div>
|
|
22
25
|
</wt-expand-transition>
|
|
@@ -36,6 +39,10 @@ const props = defineProps({
|
|
|
36
39
|
const open = ref(true);
|
|
37
40
|
</script>
|
|
38
41
|
|
|
42
|
+
<style lang="scss">
|
|
43
|
+
@import './variables.scss';
|
|
44
|
+
</style>
|
|
45
|
+
|
|
39
46
|
<style lang="scss" scoped>
|
|
40
47
|
.wt-expansion-panel {
|
|
41
48
|
.wt-expansion-panel-header {
|
|
@@ -44,8 +51,14 @@ const open = ref(true);
|
|
|
44
51
|
align-items: center;
|
|
45
52
|
padding: var(--spacing-2xs) var(--spacing-xs);
|
|
46
53
|
cursor: pointer;
|
|
54
|
+
color: var(--wt-expansion-panel-header-title-color);
|
|
47
55
|
border-radius: var(--spacing-2xs);
|
|
48
|
-
background-color: var(--
|
|
56
|
+
background-color: var(--wt-expansion-panel-header-background-color);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.wt-expansion-panel-body {
|
|
60
|
+
color: var(--wt-expansion-panel-content-text-color);
|
|
61
|
+
background-color: var(--wt-expansion-panel-content-background-color);
|
|
49
62
|
}
|
|
50
63
|
|
|
51
64
|
.wt-icon {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
:root {
|
|
3
|
-
--headline-min-height: 40px; // button/search-bar height
|
|
3
|
+
--headline-min-height : 40px; // button/search-bar height
|
|
4
4
|
--headline-title-margin: var(--spacing-sm);
|
|
5
|
-
--headline-background: var(--
|
|
6
|
-
}
|
|
5
|
+
--wt-headline-background-color: var(--content-wrapper-color);
|
|
6
|
+
}
|
|
@@ -30,11 +30,11 @@ export default {
|
|
|
30
30
|
.wt-input-info {
|
|
31
31
|
@extend %typo-caption;
|
|
32
32
|
margin-top: var(--input-info-margin);
|
|
33
|
-
color: var(--
|
|
33
|
+
color: var(--wt-helper-text-color);
|
|
34
34
|
min-height: var(--input-info-min-height);
|
|
35
35
|
|
|
36
36
|
&--invalid {
|
|
37
|
-
color: var(--
|
|
37
|
+
color: var(--wt-helper-text-invalid-color);
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
40
|
</style>
|
|
@@ -39,11 +39,16 @@ const to = computed(() => props.link || {
|
|
|
39
39
|
});
|
|
40
40
|
</script>
|
|
41
41
|
|
|
42
|
+
<style lang="scss">
|
|
43
|
+
@import './variables.scss';
|
|
44
|
+
</style>
|
|
45
|
+
|
|
42
46
|
<style lang="scss" scoped>
|
|
43
47
|
.wt-item-link {
|
|
44
48
|
display: flex;
|
|
45
49
|
align-items: center;
|
|
46
50
|
cursor: pointer;
|
|
51
|
+
color: var(--wt-item-link-text-color);
|
|
47
52
|
transition: var(--transition);
|
|
48
53
|
|
|
49
54
|
&:hover {
|
|
@@ -43,7 +43,7 @@ export default {
|
|
|
43
43
|
width: 100%;
|
|
44
44
|
padding: var(--load-bar-padding);
|
|
45
45
|
line-height: 0;
|
|
46
|
-
border: 1px solid var(--
|
|
46
|
+
border: 1px solid var(--wt-load-bar-progress-color);
|
|
47
47
|
border-radius: var(--border-radius);
|
|
48
48
|
}
|
|
49
49
|
|
|
@@ -52,7 +52,7 @@ export default {
|
|
|
52
52
|
height: var(--load-bar-height);
|
|
53
53
|
transition: var(--transition);
|
|
54
54
|
border-radius: var(--load-bar-border-radius);
|
|
55
|
-
background: var(--
|
|
55
|
+
background: var(--wt-load-bar-progress-color);
|
|
56
56
|
will-change: width;
|
|
57
57
|
}
|
|
58
58
|
</style>
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
top: 37px;
|
|
38
38
|
left: 19px;
|
|
39
39
|
transform: translate(-18px, -18px);
|
|
40
|
-
background: var(--loader-
|
|
40
|
+
background: var(--wt-loader-md-point-color);
|
|
41
41
|
border-radius: 50%;
|
|
42
42
|
animation: dotRect var(--loader-animation-duration) linear infinite;
|
|
43
43
|
}
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
|
|
50
50
|
&__rect {
|
|
51
51
|
fill: none;
|
|
52
|
-
stroke: var(--loader-path-color);
|
|
52
|
+
stroke: var(--wt-loader-md-path-color);
|
|
53
53
|
stroke-width: 10px;
|
|
54
54
|
stroke-linejoin: round;
|
|
55
55
|
stroke-linecap: round;
|
|
@@ -20,8 +20,8 @@ export default {
|
|
|
20
20
|
props: {
|
|
21
21
|
color: {
|
|
22
22
|
type: String,
|
|
23
|
-
default: '
|
|
24
|
-
description: '["main", "
|
|
23
|
+
default: 'main',
|
|
24
|
+
description: '["main", "icon", "on-dark", "on-light"]',
|
|
25
25
|
},
|
|
26
26
|
},
|
|
27
27
|
};
|
|
@@ -49,10 +49,16 @@ export default {
|
|
|
49
49
|
stroke-width: 3;
|
|
50
50
|
}
|
|
51
51
|
&--main circle {
|
|
52
|
-
stroke: var(--main-color);
|
|
52
|
+
stroke: var(--wt-loader-sm-path-main-color);
|
|
53
53
|
}
|
|
54
54
|
&--icon circle {
|
|
55
|
-
stroke: var(--icon-color);
|
|
55
|
+
stroke: var(--wt-loader-sm-path-icon-color);
|
|
56
|
+
}
|
|
57
|
+
&--on-light circle {
|
|
58
|
+
stroke: var(--wt-loader-sm-path-on-light-color);
|
|
59
|
+
}
|
|
60
|
+
&--on-dark circle {
|
|
61
|
+
stroke: var(--wt-loader-sm-path-on-dark-color);
|
|
56
62
|
}
|
|
57
63
|
}
|
|
58
64
|
|
|
@@ -2,7 +2,20 @@
|
|
|
2
2
|
:root {
|
|
3
3
|
--loader-size: 44px;
|
|
4
4
|
--loader-dot-size: 6px;
|
|
5
|
-
--loader-path-color: var(--contrast-color);
|
|
6
|
-
--loader-dot-color: var(--primary-color);
|
|
7
5
|
--loader-animation-duration: 3s;
|
|
6
|
+
|
|
7
|
+
--wt-loader-md-path-color: var(--grey-darken-2);
|
|
8
|
+
--wt-loader-md-point-color: var(--primary-color);
|
|
9
|
+
|
|
10
|
+
--wt-loader-sm-path-main-color: var(--grey-darken-2);
|
|
11
|
+
--wt-loader-sm-path-icon-color: var(--icon-color);
|
|
12
|
+
--wt-loader-sm-path-on-light-color: var(--icon-on-light-color);
|
|
13
|
+
--wt-loader-sm-path-on-dark-color: var(--icon-on-dark-color);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
:root.theme--dark {
|
|
17
|
+
--wt-loader-md-path-color: var(--grey-lighten-2);
|
|
18
|
+
|
|
19
|
+
--wt-loader-sm-path-main-color: var(--grey-lighten-2);
|
|
20
|
+
|
|
8
21
|
}
|