@mozaic-ds/vue 0.33.0 → 0.34.1
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/mozaic-vue.adeo.css +18 -18
- package/dist/mozaic-vue.adeo.umd.js +275 -192
- package/dist/mozaic-vue.common.js +275 -192
- package/dist/mozaic-vue.common.js.map +1 -1
- package/dist/mozaic-vue.css +1 -1
- package/dist/mozaic-vue.umd.js +275 -192
- package/dist/mozaic-vue.umd.js.map +1 -1
- package/dist/mozaic-vue.umd.min.js +2 -2
- package/dist/mozaic-vue.umd.min.js.map +1 -1
- package/package.json +3 -3
- package/src/components/autocomplete/MAutocomplete.vue +100 -70
- package/src/components/dropdown/MDropdown.vue +6 -1
- package/src/components/listbox/MListBoxActions.vue +57 -2
- package/src/components/pagination/MPagination.vue +7 -6
- package/src/tokens/adeo/android/colors.xml +7 -2
- package/src/tokens/adeo/css/_variables.scss +7 -2
- package/src/tokens/adeo/css/root.scss +7 -2
- package/src/tokens/adeo/ios/StyleDictionaryColor.h +6 -1
- package/src/tokens/adeo/ios/StyleDictionaryColor.m +6 -1
- package/src/tokens/adeo/ios/StyleDictionaryColor.swift +6 -1
- package/src/tokens/adeo/js/tokens.js +7 -2
- package/src/tokens/adeo/js/tokensObject.js +115 -10
- package/src/tokens/adeo/scss/_tokens.scss +17 -5
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mozaic-ds/vue",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.34.1",
|
|
4
4
|
"description": "Vue.js implementation of Mozaic Design System",
|
|
5
5
|
"author": "Adeo - Mozaic Design System",
|
|
6
6
|
"scripts": {
|
|
@@ -23,9 +23,9 @@
|
|
|
23
23
|
"postinstall.js"
|
|
24
24
|
],
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@mozaic-ds/css-dev-tools": "1.
|
|
26
|
+
"@mozaic-ds/css-dev-tools": "1.50.0",
|
|
27
27
|
"@mozaic-ds/icons": "1.49.0",
|
|
28
|
-
"@mozaic-ds/styles": "1.
|
|
28
|
+
"@mozaic-ds/styles": "1.50.0",
|
|
29
29
|
"@mozaic-ds/web-fonts": "1.22.0",
|
|
30
30
|
"core-js": "^3.26.1",
|
|
31
31
|
"libphonenumber-js": "^1.10.15",
|
|
@@ -1,36 +1,47 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div
|
|
3
|
-
v-click-outside="
|
|
3
|
+
v-click-outside="closeListBox"
|
|
4
4
|
class="mc-autocomplete"
|
|
5
5
|
:class="{ 'mc-autocomplete--multi': multiple }"
|
|
6
6
|
:style="setStyles"
|
|
7
7
|
>
|
|
8
|
-
<
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
8
|
+
<div class="mc-autocomplete__main">
|
|
9
|
+
<MTag
|
|
10
|
+
v-if="multiple && listboxValue.length > 0"
|
|
11
|
+
:id="tagId ? tagId : `autocompleteTag-${uuid}`"
|
|
12
|
+
ref="tag"
|
|
13
|
+
:label="setTagLabel"
|
|
14
|
+
:disabled="disabled"
|
|
15
|
+
type="removable"
|
|
16
|
+
class="mc-autocomplete__tag"
|
|
17
|
+
size="s"
|
|
18
|
+
@remove-tag="clearListbox()"
|
|
19
|
+
/>
|
|
20
|
+
<MLoader v-if="loading" class="mc-autocomplete__loader" size="s" />
|
|
21
|
+
<MTextInput
|
|
22
|
+
:id="id"
|
|
23
|
+
v-model="inputValue"
|
|
24
|
+
:placeholder="placeholder"
|
|
25
|
+
:is-invalid="invalid"
|
|
26
|
+
:disabled="disabled"
|
|
27
|
+
:size="size"
|
|
28
|
+
text-input-field-class="mc-autocomplete__trigger"
|
|
29
|
+
icon-position="left"
|
|
30
|
+
icon="DisplaySearch48"
|
|
31
|
+
autocomplete="off"
|
|
32
|
+
@input="onInput"
|
|
33
|
+
@click="openState = true"
|
|
34
|
+
/>
|
|
35
|
+
<button
|
|
36
|
+
v-if="hasValues"
|
|
37
|
+
type="button"
|
|
38
|
+
class="mc-autocomplete__clear"
|
|
39
|
+
@click="onClear"
|
|
40
|
+
>
|
|
41
|
+
<MIcon name="ControlTagCross24" class="mc-autocomplete__clear-icon" />
|
|
42
|
+
<span class="mc-autocomplete__clear-text">{{ labelClearButton }}</span>
|
|
43
|
+
</button>
|
|
44
|
+
</div>
|
|
34
45
|
<MListBox
|
|
35
46
|
v-model="listboxValue"
|
|
36
47
|
:open="openState"
|
|
@@ -42,7 +53,7 @@
|
|
|
42
53
|
:data-value-expr="dataValueExpr"
|
|
43
54
|
:is-filtered="isFiltered"
|
|
44
55
|
:max-width="maxWidth"
|
|
45
|
-
@change="
|
|
56
|
+
@change="onChangeListbox"
|
|
46
57
|
>
|
|
47
58
|
<template #item="{ item }">
|
|
48
59
|
<slot name="item" :item="item"></slot>
|
|
@@ -52,8 +63,9 @@
|
|
|
52
63
|
</template>
|
|
53
64
|
|
|
54
65
|
<script>
|
|
55
|
-
import
|
|
66
|
+
import MIcon from '../icon/MIcon.vue';
|
|
56
67
|
import MLoader from '../loader/MLoader.vue';
|
|
68
|
+
import MTag from '../tags/MTag.vue';
|
|
57
69
|
import MTextInput from '../textinput/MTextInput.vue';
|
|
58
70
|
import MListBox from '../listbox/MListBox.vue';
|
|
59
71
|
|
|
@@ -61,8 +73,9 @@ export default {
|
|
|
61
73
|
name: 'MAutocomplete',
|
|
62
74
|
|
|
63
75
|
components: {
|
|
64
|
-
|
|
76
|
+
MIcon,
|
|
65
77
|
MLoader,
|
|
78
|
+
MTag,
|
|
66
79
|
MTextInput,
|
|
67
80
|
MListBox,
|
|
68
81
|
},
|
|
@@ -118,6 +131,11 @@ export default {
|
|
|
118
131
|
type: Boolean,
|
|
119
132
|
default: true,
|
|
120
133
|
},
|
|
134
|
+
size: {
|
|
135
|
+
type: String,
|
|
136
|
+
default: 'm',
|
|
137
|
+
validator: (value) => ['s', 'm'].includes(value),
|
|
138
|
+
},
|
|
121
139
|
disabled: {
|
|
122
140
|
type: Boolean,
|
|
123
141
|
default: false,
|
|
@@ -130,6 +148,10 @@ export default {
|
|
|
130
148
|
type: Boolean,
|
|
131
149
|
default: false,
|
|
132
150
|
},
|
|
151
|
+
labelClearButton: {
|
|
152
|
+
type: String,
|
|
153
|
+
default: 'Clear',
|
|
154
|
+
},
|
|
133
155
|
// Listbox Element
|
|
134
156
|
items: {
|
|
135
157
|
type: Array,
|
|
@@ -183,24 +205,39 @@ export default {
|
|
|
183
205
|
inputValue: null,
|
|
184
206
|
localItems: null,
|
|
185
207
|
sortedListItems: null,
|
|
186
|
-
listboxValue: null,
|
|
187
208
|
isFiltered: null,
|
|
209
|
+
listboxValue: null,
|
|
188
210
|
};
|
|
189
211
|
},
|
|
190
212
|
|
|
191
213
|
computed: {
|
|
192
|
-
setTagLabel() {
|
|
193
|
-
return this.listboxValue.length.toString() + ' ' + this.tagLabel;
|
|
194
|
-
},
|
|
195
214
|
setStyles() {
|
|
196
215
|
return {
|
|
197
216
|
'--autocomplete-tag-width': this.tagWidth,
|
|
198
217
|
'--autocomplete-width': this.maxWidth,
|
|
199
218
|
};
|
|
200
219
|
},
|
|
220
|
+
setTagLabel() {
|
|
221
|
+
return this.listboxValue.length.toString() + ' ' + this.tagLabel;
|
|
222
|
+
},
|
|
223
|
+
hasValues() {
|
|
224
|
+
return this.inputValue?.length > 0;
|
|
225
|
+
},
|
|
201
226
|
},
|
|
202
227
|
|
|
203
228
|
watch: {
|
|
229
|
+
items: {
|
|
230
|
+
handler: function (val) {
|
|
231
|
+
this.localItems = val;
|
|
232
|
+
},
|
|
233
|
+
immediate: true,
|
|
234
|
+
},
|
|
235
|
+
input: {
|
|
236
|
+
handler: function (val) {
|
|
237
|
+
this.inputValue = val;
|
|
238
|
+
},
|
|
239
|
+
immediate: true,
|
|
240
|
+
},
|
|
204
241
|
value: {
|
|
205
242
|
handler: function (val) {
|
|
206
243
|
if (!val && this.multiple) {
|
|
@@ -211,15 +248,6 @@ export default {
|
|
|
211
248
|
},
|
|
212
249
|
immediate: true,
|
|
213
250
|
},
|
|
214
|
-
|
|
215
|
-
items: {
|
|
216
|
-
handler: function (val) {
|
|
217
|
-
this.localItems = val;
|
|
218
|
-
// this.clearAutocomplete();
|
|
219
|
-
},
|
|
220
|
-
immediate: true,
|
|
221
|
-
},
|
|
222
|
-
|
|
223
251
|
listboxValue: function (val) {
|
|
224
252
|
if (!this.multiple) {
|
|
225
253
|
const selectedItems = this.getSelectedItems(val);
|
|
@@ -228,27 +256,19 @@ export default {
|
|
|
228
256
|
);
|
|
229
257
|
|
|
230
258
|
this.inputValue = seletedLabels.join(', ');
|
|
259
|
+
this.$emit('update:input', this.inputValue);
|
|
231
260
|
} else {
|
|
232
261
|
this.tagValue = val;
|
|
233
262
|
}
|
|
234
263
|
},
|
|
235
|
-
|
|
236
264
|
tagValue: function () {
|
|
237
265
|
this.setTagWidth();
|
|
238
266
|
},
|
|
239
|
-
|
|
240
267
|
openState: function (val) {
|
|
241
268
|
const eventName = val ? 'open' : 'close';
|
|
242
269
|
this.$emit(eventName);
|
|
243
270
|
this.$emit('update:open', val);
|
|
244
271
|
},
|
|
245
|
-
|
|
246
|
-
input: {
|
|
247
|
-
handler: function (val) {
|
|
248
|
-
this.inputValue = val;
|
|
249
|
-
},
|
|
250
|
-
immediate: true,
|
|
251
|
-
},
|
|
252
272
|
},
|
|
253
273
|
|
|
254
274
|
methods: {
|
|
@@ -261,13 +281,22 @@ export default {
|
|
|
261
281
|
}
|
|
262
282
|
});
|
|
263
283
|
},
|
|
264
|
-
|
|
265
|
-
|
|
284
|
+
clearInput() {
|
|
285
|
+
this.inputValue = '';
|
|
286
|
+
this.onInput('');
|
|
287
|
+
},
|
|
288
|
+
clearListbox() {
|
|
266
289
|
this.listboxValue = this.multiple ? [] : undefined;
|
|
267
|
-
this.onChange();
|
|
268
290
|
this.$emit('clear');
|
|
269
291
|
},
|
|
270
|
-
|
|
292
|
+
onClear() {
|
|
293
|
+
if (!this.multiple) {
|
|
294
|
+
this.clearInput();
|
|
295
|
+
this.clearListbox();
|
|
296
|
+
} else {
|
|
297
|
+
this.clearInput();
|
|
298
|
+
}
|
|
299
|
+
},
|
|
271
300
|
filterList(value) {
|
|
272
301
|
if (value.length && this.filter) {
|
|
273
302
|
this.filter(value);
|
|
@@ -281,10 +310,10 @@ export default {
|
|
|
281
310
|
this.localItems = this.items;
|
|
282
311
|
this.isFiltered = !this.localItems.length;
|
|
283
312
|
}
|
|
313
|
+
|
|
284
314
|
this.$emit('list-filtered', this.localItems);
|
|
285
315
|
},
|
|
286
|
-
|
|
287
|
-
onClickOutside() {
|
|
316
|
+
closeListBox() {
|
|
288
317
|
this.openState = false;
|
|
289
318
|
|
|
290
319
|
if (this.multiple && this.sort) {
|
|
@@ -293,15 +322,13 @@ export default {
|
|
|
293
322
|
this.localItems = this.items;
|
|
294
323
|
}
|
|
295
324
|
},
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
this.$emit('change', this.listboxValue);
|
|
325
|
+
onChangeListbox(value) {
|
|
326
|
+
this.$emit('change', value);
|
|
299
327
|
|
|
300
328
|
if (!this.multiple) {
|
|
301
|
-
this.
|
|
329
|
+
this.closeListBox();
|
|
302
330
|
}
|
|
303
331
|
},
|
|
304
|
-
|
|
305
332
|
getSelectedItems(val) {
|
|
306
333
|
const value = val ? val : this.listboxValue;
|
|
307
334
|
|
|
@@ -313,7 +340,6 @@ export default {
|
|
|
313
340
|
|
|
314
341
|
return selectedItems;
|
|
315
342
|
},
|
|
316
|
-
|
|
317
343
|
sortItems() {
|
|
318
344
|
this.sortedListItems = this.items;
|
|
319
345
|
const selectedItems = this.getSelectedItems();
|
|
@@ -333,13 +359,11 @@ export default {
|
|
|
333
359
|
|
|
334
360
|
this.localItems = this.sortedListItems;
|
|
335
361
|
},
|
|
336
|
-
|
|
337
|
-
handleInputValue(value) {
|
|
338
|
-
this.$emit('update:input', value);
|
|
339
|
-
},
|
|
340
|
-
|
|
341
362
|
onInput(value) {
|
|
342
|
-
|
|
363
|
+
if (value.length === 0) {
|
|
364
|
+
this.$emit('clear-input');
|
|
365
|
+
}
|
|
366
|
+
this.$emit('update:input', value);
|
|
343
367
|
this.filterList(value);
|
|
344
368
|
},
|
|
345
369
|
},
|
|
@@ -349,4 +373,10 @@ export default {
|
|
|
349
373
|
<style lang="scss">
|
|
350
374
|
@import 'settings-tools/all-settings';
|
|
351
375
|
@import 'components/c.autocomplete';
|
|
376
|
+
|
|
377
|
+
.mc-autocomplete {
|
|
378
|
+
.mc-autocomplete__trigger {
|
|
379
|
+
padding-right: $mu300;
|
|
380
|
+
}
|
|
381
|
+
}
|
|
352
382
|
</style>
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
<button
|
|
21
21
|
type="button"
|
|
22
22
|
class="mc-select mc-dropdown__trigger"
|
|
23
|
-
:class="{ 'is-open': openState }"
|
|
23
|
+
:class="{ 'is-open': openState, 'mc-select--s': size === 's' }"
|
|
24
24
|
:disabled="disabled"
|
|
25
25
|
@click="openState = !openState"
|
|
26
26
|
>
|
|
@@ -95,6 +95,11 @@ export default {
|
|
|
95
95
|
type: Function,
|
|
96
96
|
default: null,
|
|
97
97
|
},
|
|
98
|
+
size: {
|
|
99
|
+
type: String,
|
|
100
|
+
default: 'm',
|
|
101
|
+
validator: (value) => ['s', 'm'].includes(value),
|
|
102
|
+
},
|
|
98
103
|
disabled: {
|
|
99
104
|
type: Boolean,
|
|
100
105
|
default: false,
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div
|
|
2
|
+
<div
|
|
3
|
+
v-click-outside="onClickOutside"
|
|
4
|
+
class="mc-listbox-options"
|
|
5
|
+
:class="{ 'mc-listbox-options--fixed': hasDataTable }"
|
|
6
|
+
:style="setStyles"
|
|
7
|
+
>
|
|
3
8
|
<button
|
|
9
|
+
ref="trigger"
|
|
4
10
|
type="button"
|
|
5
11
|
class="mc-listbox-options__trigger"
|
|
6
|
-
@click="
|
|
12
|
+
@click="onClickTrigger"
|
|
7
13
|
>
|
|
8
14
|
<m-icon name="DisplayOptions24" :color="triggerIconColor" />
|
|
9
15
|
<span class="mc-listbox-options__trigger-label">{{ triggerLabel }}</span>
|
|
@@ -101,6 +107,8 @@ export default {
|
|
|
101
107
|
data() {
|
|
102
108
|
return {
|
|
103
109
|
isOpen: this.open,
|
|
110
|
+
posTop: '0px',
|
|
111
|
+
hasDataTable: false,
|
|
104
112
|
};
|
|
105
113
|
},
|
|
106
114
|
|
|
@@ -116,6 +124,30 @@ export default {
|
|
|
116
124
|
|
|
117
125
|
return this.items;
|
|
118
126
|
},
|
|
127
|
+
setStyles() {
|
|
128
|
+
return {
|
|
129
|
+
'--listbox-top': this.hasDataTable ? this.posTop + 'px' : null,
|
|
130
|
+
};
|
|
131
|
+
},
|
|
132
|
+
},
|
|
133
|
+
|
|
134
|
+
mounted() {
|
|
135
|
+
this.hasDataTable =
|
|
136
|
+
this.$parent.$options._componentTag === 'm-data-table' ? true : false;
|
|
137
|
+
|
|
138
|
+
if (this.hasDataTable) {
|
|
139
|
+
this.$parent.$el
|
|
140
|
+
.querySelector('.mc-data-table__body')
|
|
141
|
+
.addEventListener('scroll', this.handleScroll);
|
|
142
|
+
}
|
|
143
|
+
},
|
|
144
|
+
|
|
145
|
+
destroyed() {
|
|
146
|
+
if (this.hasDataTable) {
|
|
147
|
+
this.$parent.$el
|
|
148
|
+
.querySelector('.mc-data-table__body')
|
|
149
|
+
.removeEventListener('scroll', this.handleScroll);
|
|
150
|
+
}
|
|
119
151
|
},
|
|
120
152
|
|
|
121
153
|
methods: {
|
|
@@ -129,6 +161,18 @@ export default {
|
|
|
129
161
|
);
|
|
130
162
|
this.$emit('update:itemSelected', valToEmit);
|
|
131
163
|
},
|
|
164
|
+
onClickTrigger() {
|
|
165
|
+
this.isOpen = !this.isOpen;
|
|
166
|
+
|
|
167
|
+
if (this.isOpen && this.hasDataTable) {
|
|
168
|
+
const buttonHeight = this.$refs.trigger.getBoundingClientRect().height;
|
|
169
|
+
this.posTop =
|
|
170
|
+
this.$refs.trigger.getBoundingClientRect().top + buttonHeight;
|
|
171
|
+
}
|
|
172
|
+
},
|
|
173
|
+
handleScroll() {
|
|
174
|
+
this.isOpen = false;
|
|
175
|
+
},
|
|
132
176
|
},
|
|
133
177
|
};
|
|
134
178
|
</script>
|
|
@@ -137,6 +181,8 @@ export default {
|
|
|
137
181
|
@import 'settings-tools/all-settings';
|
|
138
182
|
|
|
139
183
|
.mc-listbox-options {
|
|
184
|
+
$parent: &;
|
|
185
|
+
|
|
140
186
|
display: inline-block;
|
|
141
187
|
position: relative;
|
|
142
188
|
|
|
@@ -251,5 +297,14 @@ export default {
|
|
|
251
297
|
color: #c61112;
|
|
252
298
|
}
|
|
253
299
|
}
|
|
300
|
+
|
|
301
|
+
&--fixed {
|
|
302
|
+
position: static;
|
|
303
|
+
|
|
304
|
+
.mc-listbox-options__container {
|
|
305
|
+
position: fixed;
|
|
306
|
+
top: var(--listbox-top);
|
|
307
|
+
}
|
|
308
|
+
}
|
|
254
309
|
}
|
|
255
310
|
</style>
|
|
@@ -5,12 +5,12 @@
|
|
|
5
5
|
v-if="value > 1"
|
|
6
6
|
:type="hrefPrev ? null : 'button'"
|
|
7
7
|
:href="hrefPrev"
|
|
8
|
-
class="mc-
|
|
8
|
+
class="mc-button mc-button--solid-neutral mc-button--square mc-button--s@from-l"
|
|
9
9
|
aria-label="Previous Page"
|
|
10
10
|
:disabled="disabled"
|
|
11
11
|
@click="previousPage(currentPage - 1)"
|
|
12
12
|
>
|
|
13
|
-
<
|
|
13
|
+
<MIcon name="ArrowArrowLeft24" class="mc-button__icon" />
|
|
14
14
|
</component>
|
|
15
15
|
|
|
16
16
|
<div v-if="!light" class="mc-pagination__field">
|
|
@@ -35,12 +35,12 @@
|
|
|
35
35
|
v-if="value < length"
|
|
36
36
|
:type="hrefNext ? null : 'button'"
|
|
37
37
|
:href="hrefNext"
|
|
38
|
-
class="mc-
|
|
38
|
+
class="mc-button mc-button--solid-neutral mc-button--square mc-button--s@from-l"
|
|
39
39
|
aria-label="Next Page"
|
|
40
40
|
:disabled="disabled"
|
|
41
41
|
@click="nextPage(currentPage + 1)"
|
|
42
42
|
>
|
|
43
|
-
<
|
|
43
|
+
<MIcon name="ArrowArrowRight24" class="mc-button__icon" />
|
|
44
44
|
</component>
|
|
45
45
|
</div>
|
|
46
46
|
</template>
|
|
@@ -153,6 +153,7 @@ export default {
|
|
|
153
153
|
</script>
|
|
154
154
|
|
|
155
155
|
<style lang="scss" scoped>
|
|
156
|
-
@import 'settings-tools/
|
|
157
|
-
@import
|
|
156
|
+
@import 'settings-tools/all-settings';
|
|
157
|
+
@import "components/c.button";
|
|
158
|
+
@import 'components/c.pagination';
|
|
158
159
|
</style>
|
|
@@ -273,11 +273,12 @@
|
|
|
273
273
|
<color name="color_hero_cover_background">#ff191919</color>
|
|
274
274
|
<color name="color_input_text">#ff191919</color>
|
|
275
275
|
<color name="color_input_border">#ff666666</color>
|
|
276
|
-
<color name="color_input_placeholder">#
|
|
276
|
+
<color name="color_input_placeholder">#ff666666</color>
|
|
277
277
|
<color name="color_input_background">#ffffffff</color>
|
|
278
|
-
<color name="color_input_disabled_border">#ffe6e6e6</color>
|
|
279
278
|
<color name="color_input_disabled_background">#ffe6e6e6</color>
|
|
279
|
+
<color name="color_input_disabled_border">#ffe6e6e6</color>
|
|
280
280
|
<color name="color_input_disabled_icon">#ff999999</color>
|
|
281
|
+
<color name="color_input_disabled_label">#ff808080</color>
|
|
281
282
|
<color name="color_input_hover_border">#ff191919</color>
|
|
282
283
|
<color name="color_input_focus_border">#ff758992</color>
|
|
283
284
|
<color name="color_input_valid_border">#ff46a610</color>
|
|
@@ -341,6 +342,8 @@
|
|
|
341
342
|
<color name="color_option_card_hover_label_shadow">#ff333333</color>
|
|
342
343
|
<color name="color_option_card_checked_label_border">#ff00919f</color>
|
|
343
344
|
<color name="color_option_card_checked_label_shadow">#ffd9f0f3</color>
|
|
345
|
+
<color name="color_option_card_disabled_content">#ffcccccc</color>
|
|
346
|
+
<color name="color_option_card_disabled_label">#ff666666</color>
|
|
344
347
|
<color name="color_overlay_background">#ff191919</color>
|
|
345
348
|
<color name="color_overlay_loader_background">#ff082435</color>
|
|
346
349
|
<color name="color_password_input_button_hover_background">#ffe6e6e6</color>
|
|
@@ -428,6 +431,7 @@
|
|
|
428
431
|
<color name="color_tag_removable_dark_icon">#ff191919</color>
|
|
429
432
|
<color name="color_tag_removable_dark_hover_background">#ffb3b3b3</color>
|
|
430
433
|
<color name="color_tag_removable_dark_active_background">#ff999999</color>
|
|
434
|
+
<color name="color_toggle_label">#ff000000</color>
|
|
431
435
|
<color name="color_toggle_off_background">#ff666666</color>
|
|
432
436
|
<color name="color_toggle_off_circle">#ffffffff</color>
|
|
433
437
|
<color name="color_toggle_on_background">#ff00919f</color>
|
|
@@ -435,6 +439,7 @@
|
|
|
435
439
|
<color name="color_toggle_hover_circle">#ffe6e6e6</color>
|
|
436
440
|
<color name="color_toggle_disabled_background">#ffe6e6e6</color>
|
|
437
441
|
<color name="color_toggle_disabled_circle">#ffb3b3b3</color>
|
|
442
|
+
<color name="color_toggle_disabled_label">#ff808080</color>
|
|
438
443
|
<color name="color_toggle_disabled_checked_background">#ff91d5db</color>
|
|
439
444
|
<color name="color_toggle_disabled_checked_circle">#ffffffff</color>
|
|
440
445
|
<color name="color_tooltip_background">#ff4d4d4d</color>
|
|
@@ -269,11 +269,12 @@ $color-heading-underline-lightest: var(--color-heading-underline-lightest, #91d5
|
|
|
269
269
|
$color-hero-cover-background: var(--color-hero-cover-background, #191919);
|
|
270
270
|
$color-input-text: var(--color-input-text, #191919);
|
|
271
271
|
$color-input-border: var(--color-input-border, #666666);
|
|
272
|
-
$color-input-placeholder: var(--color-input-placeholder, #
|
|
272
|
+
$color-input-placeholder: var(--color-input-placeholder, #666666);
|
|
273
273
|
$color-input-background: var(--color-input-background, #ffffff);
|
|
274
|
-
$color-input-disabled-border: var(--color-input-disabled-border, #e6e6e6);
|
|
275
274
|
$color-input-disabled-background: var(--color-input-disabled-background, #e6e6e6);
|
|
275
|
+
$color-input-disabled-border: var(--color-input-disabled-border, #e6e6e6);
|
|
276
276
|
$color-input-disabled-icon: var(--color-input-disabled-icon, #999999);
|
|
277
|
+
$color-input-disabled-label: var(--color-input-disabled-label, #808080);
|
|
277
278
|
$color-input-hover-border: var(--color-input-hover-border, #191919);
|
|
278
279
|
$color-input-focus-border: var(--color-input-focus-border, #758992);
|
|
279
280
|
$color-input-valid-border: var(--color-input-valid-border, #46a610);
|
|
@@ -337,6 +338,8 @@ $color-option-card-label-shadow: var(--color-option-card-label-shadow, #b3b3b3);
|
|
|
337
338
|
$color-option-card-hover-label-shadow: var(--color-option-card-hover-label-shadow, #333333);
|
|
338
339
|
$color-option-card-checked-label-border: var(--color-option-card-checked-label-border, #00919f);
|
|
339
340
|
$color-option-card-checked-label-shadow: var(--color-option-card-checked-label-shadow, #d9f0f3);
|
|
341
|
+
$color-option-card-disabled-content: var(--color-option-card-disabled-content, #cccccc);
|
|
342
|
+
$color-option-card-disabled-label: var(--color-option-card-disabled-label, #666666);
|
|
340
343
|
$color-overlay-background: var(--color-overlay-background, #191919);
|
|
341
344
|
$color-overlay-loader-background: var(--color-overlay-loader-background, #082435);
|
|
342
345
|
$color-password-input-button-hover-background: var(--color-password-input-button-hover-background, #e6e6e6);
|
|
@@ -424,6 +427,7 @@ $color-tag-removable-dark-text: var(--color-tag-removable-dark-text, #191919);
|
|
|
424
427
|
$color-tag-removable-dark-icon: var(--color-tag-removable-dark-icon, #191919);
|
|
425
428
|
$color-tag-removable-dark-hover-background: var(--color-tag-removable-dark-hover-background, #b3b3b3);
|
|
426
429
|
$color-tag-removable-dark-active-background: var(--color-tag-removable-dark-active-background, #999999);
|
|
430
|
+
$color-toggle-label: var(--color-toggle-label, #000000);
|
|
427
431
|
$color-toggle-off-background: var(--color-toggle-off-background, #666666);
|
|
428
432
|
$color-toggle-off-circle: var(--color-toggle-off-circle, #ffffff);
|
|
429
433
|
$color-toggle-on-background: var(--color-toggle-on-background, #00919f);
|
|
@@ -431,6 +435,7 @@ $color-toggle-on-circle: var(--color-toggle-on-circle, #ffffff);
|
|
|
431
435
|
$color-toggle-hover-circle: var(--color-toggle-hover-circle, #e6e6e6);
|
|
432
436
|
$color-toggle-disabled-background: var(--color-toggle-disabled-background, #e6e6e6);
|
|
433
437
|
$color-toggle-disabled-circle: var(--color-toggle-disabled-circle, #b3b3b3);
|
|
438
|
+
$color-toggle-disabled-label: var(--color-toggle-disabled-label, #808080);
|
|
434
439
|
$color-toggle-disabled-checked-background: var(--color-toggle-disabled-checked-background, #91d5db);
|
|
435
440
|
$color-toggle-disabled-checked-circle: var(--color-toggle-disabled-checked-circle, #ffffff);
|
|
436
441
|
$color-tooltip-background: var(--color-tooltip-background, #4d4d4d);
|
|
@@ -123,6 +123,7 @@
|
|
|
123
123
|
--color-tooltip-background: var(--color-grey-700);
|
|
124
124
|
--color-toggle-disabled-checked-circle: var(--color-grey-000);
|
|
125
125
|
--color-toggle-disabled-checked-background: var(--color-primary-01-200);
|
|
126
|
+
--color-toggle-disabled-label: var(--color-grey-500);
|
|
126
127
|
--color-toggle-disabled-circle: var(--color-grey-300);
|
|
127
128
|
--color-toggle-disabled-background: var(--color-grey-100);
|
|
128
129
|
--color-toggle-hover-circle: var(--color-grey-100);
|
|
@@ -130,6 +131,7 @@
|
|
|
130
131
|
--color-toggle-on-background: var(--color-primary-01-500);
|
|
131
132
|
--color-toggle-off-circle: var(--color-grey-000);
|
|
132
133
|
--color-toggle-off-background: var(--color-grey-600);
|
|
134
|
+
--color-toggle-label: var(--color-grey-999);
|
|
133
135
|
--color-tag-removable-dark-active-background: var(--color-grey-400);
|
|
134
136
|
--color-tag-removable-dark-hover-background: var(--color-grey-300);
|
|
135
137
|
--color-tag-removable-dark-icon: var(--color-grey-900);
|
|
@@ -215,6 +217,8 @@
|
|
|
215
217
|
--color-password-input-button-hover-background: var(--color-grey-100);
|
|
216
218
|
--color-overlay-loader-background: var(--color-secondary-blue-900);
|
|
217
219
|
--color-overlay-background: var(--color-grey-900);
|
|
220
|
+
--color-option-card-disabled-label: var(--color-grey-600);
|
|
221
|
+
--color-option-card-disabled-content: var(--color-grey-200);
|
|
218
222
|
--color-option-card-checked-label-shadow: var(--color-primary-01-100);
|
|
219
223
|
--color-option-card-checked-label-border: var(--color-primary-01-500);
|
|
220
224
|
--color-option-card-hover-label-shadow: var(--color-grey-800);
|
|
@@ -278,11 +282,12 @@
|
|
|
278
282
|
--color-input-valid-border: var(--color-success-500);
|
|
279
283
|
--color-input-focus-border: var(--color-secondary-blue-500);
|
|
280
284
|
--color-input-hover-border: var(--color-grey-900);
|
|
285
|
+
--color-input-disabled-label: var(--color-grey-500);
|
|
281
286
|
--color-input-disabled-icon: var(--color-grey-400);
|
|
282
|
-
--color-input-disabled-background: var(--color-grey-100);
|
|
283
287
|
--color-input-disabled-border: var(--color-grey-100);
|
|
288
|
+
--color-input-disabled-background: var(--color-grey-100);
|
|
284
289
|
--color-input-background: var(--color-grey-000);
|
|
285
|
-
--color-input-placeholder: var(--color-grey-
|
|
290
|
+
--color-input-placeholder: var(--color-grey-600);
|
|
286
291
|
--color-input-border: var(--color-grey-600);
|
|
287
292
|
--color-input-text: var(--color-grey-900);
|
|
288
293
|
--color-hero-cover-background: var(--color-grey-900);
|
|
@@ -279,9 +279,10 @@ ColorInputText,
|
|
|
279
279
|
ColorInputBorder,
|
|
280
280
|
ColorInputPlaceholder,
|
|
281
281
|
ColorInputBackground,
|
|
282
|
-
ColorInputDisabledBorder,
|
|
283
282
|
ColorInputDisabledBackground,
|
|
283
|
+
ColorInputDisabledBorder,
|
|
284
284
|
ColorInputDisabledIcon,
|
|
285
|
+
ColorInputDisabledLabel,
|
|
285
286
|
ColorInputHoverBorder,
|
|
286
287
|
ColorInputFocusBorder,
|
|
287
288
|
ColorInputValidBorder,
|
|
@@ -345,6 +346,8 @@ ColorOptionCardLabelShadow,
|
|
|
345
346
|
ColorOptionCardHoverLabelShadow,
|
|
346
347
|
ColorOptionCardCheckedLabelBorder,
|
|
347
348
|
ColorOptionCardCheckedLabelShadow,
|
|
349
|
+
ColorOptionCardDisabledContent,
|
|
350
|
+
ColorOptionCardDisabledLabel,
|
|
348
351
|
ColorOverlayBackground,
|
|
349
352
|
ColorOverlayLoaderBackground,
|
|
350
353
|
ColorPasswordInputButtonHoverBackground,
|
|
@@ -432,6 +435,7 @@ ColorTagRemovableDarkText,
|
|
|
432
435
|
ColorTagRemovableDarkIcon,
|
|
433
436
|
ColorTagRemovableDarkHoverBackground,
|
|
434
437
|
ColorTagRemovableDarkActiveBackground,
|
|
438
|
+
ColorToggleLabel,
|
|
435
439
|
ColorToggleOffBackground,
|
|
436
440
|
ColorToggleOffCircle,
|
|
437
441
|
ColorToggleOnBackground,
|
|
@@ -439,6 +443,7 @@ ColorToggleOnCircle,
|
|
|
439
443
|
ColorToggleHoverCircle,
|
|
440
444
|
ColorToggleDisabledBackground,
|
|
441
445
|
ColorToggleDisabledCircle,
|
|
446
|
+
ColorToggleDisabledLabel,
|
|
442
447
|
ColorToggleDisabledCheckedBackground,
|
|
443
448
|
ColorToggleDisabledCheckedCircle,
|
|
444
449
|
ColorTooltipBackground,
|