@mozaic-ds/vue 1.0.0-rc.1 → 1.0.0-rc.3
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 +9 -9
- package/dist/mozaic-vue.adeo.umd.js +524 -188
- package/dist/mozaic-vue.common.js +524 -188
- package/dist/mozaic-vue.common.js.map +1 -1
- package/dist/mozaic-vue.css +1 -1
- package/dist/mozaic-vue.umd.js +524 -188
- 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 +5 -5
- package/src/components/autocomplete/MAutocomplete.vue +7 -8
- package/src/components/dropdown/MDropdown.vue +1 -0
- package/src/components/modal/MModal.vue +6 -6
- package/src/components/passwordinput/MPasswordInput.vue +1 -0
- package/src/components/phonenumber/MPhoneNumber.vue +1 -0
- package/src/components/quantityselector/MQuantitySelector.vue +2 -2
- package/src/components/tabs/MTab.vue +60 -50
- package/src/components/tags/MTag.vue +3 -1
- package/src/components/textarea/MTextArea.vue +1 -0
- package/src/components/textinput/MTextInputField.vue +1 -0
- package/src/tokens/adeo/android/colors.xml +9 -5
- package/src/tokens/adeo/css/_variables.scss +9 -5
- package/src/tokens/adeo/css/root.scss +9 -5
- package/src/tokens/adeo/ios/StyleDictionaryColor.h +4 -0
- package/src/tokens/adeo/ios/StyleDictionaryColor.m +9 -5
- package/src/tokens/adeo/ios/StyleDictionaryColor.swift +9 -5
- package/src/tokens/adeo/js/tokens.js +9 -5
- package/src/tokens/adeo/js/tokensObject.js +113 -21
- package/src/tokens/adeo/scss/_tokens.scss +17 -9
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mozaic-ds/vue",
|
|
3
|
-
"version": "1.0.0-rc.
|
|
3
|
+
"version": "1.0.0-rc.3",
|
|
4
4
|
"description": "Vue.js implementation of Mozaic Design System",
|
|
5
5
|
"author": "Adeo - Mozaic Design System",
|
|
6
6
|
"scripts": {
|
|
@@ -23,10 +23,10 @@
|
|
|
23
23
|
"postinstall.js"
|
|
24
24
|
],
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@mozaic-ds/css-dev-tools": "
|
|
27
|
-
"@mozaic-ds/icons": "
|
|
28
|
-
"@mozaic-ds/styles": "
|
|
29
|
-
"@mozaic-ds/web-fonts": "
|
|
26
|
+
"@mozaic-ds/css-dev-tools": "1.47.0",
|
|
27
|
+
"@mozaic-ds/icons": "1.47.1",
|
|
28
|
+
"@mozaic-ds/styles": "1.47.0",
|
|
29
|
+
"@mozaic-ds/web-fonts": "1.22.0",
|
|
30
30
|
"core-js": "^3.25.5",
|
|
31
31
|
"libphonenumber-js": "^1.10.14",
|
|
32
32
|
"vue": "^2.6.14",
|
|
@@ -221,15 +221,14 @@ export default {
|
|
|
221
221
|
},
|
|
222
222
|
|
|
223
223
|
listboxValue: function (val) {
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
this.inputValue = seletedLabels.join(', ');
|
|
224
|
+
if (!this.multiple) {
|
|
225
|
+
const selectedItems = this.getSelectedItems(val);
|
|
226
|
+
const seletedLabels = selectedItems.map(
|
|
227
|
+
(item) => item[this.dataTextExpr]
|
|
228
|
+
);
|
|
231
229
|
|
|
232
|
-
|
|
230
|
+
this.inputValue = seletedLabels.join(', ');
|
|
231
|
+
} else {
|
|
233
232
|
this.tagValue = val;
|
|
234
233
|
}
|
|
235
234
|
},
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
:class="{ 'is-open': open }"
|
|
15
15
|
role="document"
|
|
16
16
|
>
|
|
17
|
-
<
|
|
17
|
+
<div class="mc-modal__header">
|
|
18
18
|
<component
|
|
19
19
|
:is="modalTitleTag"
|
|
20
20
|
id="modal_title"
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
{{ closeButtonText }}
|
|
34
34
|
</span>
|
|
35
35
|
</button>
|
|
36
|
-
</
|
|
37
|
-
<
|
|
36
|
+
</div>
|
|
37
|
+
<div ref="body" class="mc-modal__body">
|
|
38
38
|
<article ref="content" class="mc-modal__content">
|
|
39
39
|
<component :is="titleTag" v-if="title" class="mc-modal__heading">
|
|
40
40
|
{{ title }}
|
|
@@ -43,10 +43,10 @@
|
|
|
43
43
|
<slot />
|
|
44
44
|
</div>
|
|
45
45
|
</article>
|
|
46
|
-
</
|
|
47
|
-
<
|
|
46
|
+
</div>
|
|
47
|
+
<div v-if="$slots.footer" class="mc-modal__footer">
|
|
48
48
|
<slot name="footer" />
|
|
49
|
-
</
|
|
49
|
+
</div>
|
|
50
50
|
</div>
|
|
51
51
|
</div>
|
|
52
52
|
<keep-alive>
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
:size="small ? 's' : null"
|
|
30
30
|
:disabled="disabled"
|
|
31
31
|
role="spinbutton"
|
|
32
|
-
@
|
|
32
|
+
@change="handle"
|
|
33
33
|
@focus="onFocus"
|
|
34
34
|
@keypress="integerOnly && formatValue($event)"
|
|
35
35
|
v-on="$listeners"
|
|
@@ -130,7 +130,7 @@ export default {
|
|
|
130
130
|
if (this.currentValue > this.valuemax) {
|
|
131
131
|
this.currentValue = this.valuemax;
|
|
132
132
|
}
|
|
133
|
-
if (this.currentValue
|
|
133
|
+
if (this.currentValue <= this.valuemin) {
|
|
134
134
|
this.currentValue = this.valuemin;
|
|
135
135
|
}
|
|
136
136
|
this.$emit('input', this.currentValue);
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
v-bind="tab.attrs"
|
|
20
20
|
:to="tab.to"
|
|
21
21
|
class="mc-tabs__element"
|
|
22
|
-
:class="
|
|
22
|
+
:class="setActiveClass(tab)"
|
|
23
23
|
active-class="mc-tabs__element--selected"
|
|
24
24
|
>
|
|
25
25
|
<span class="mc-tabs__text">{{ tab.text }}</span>
|
|
@@ -35,9 +35,14 @@
|
|
|
35
35
|
class="mc-tabs__element"
|
|
36
36
|
role="tab"
|
|
37
37
|
:aria-selected="tab.active ? 'true' : 'false'"
|
|
38
|
-
:class="
|
|
39
|
-
|
|
40
|
-
|
|
38
|
+
:class="setActiveClass(tab)"
|
|
39
|
+
@click="
|
|
40
|
+
manageTabs(
|
|
41
|
+
$event.target,
|
|
42
|
+
$event,
|
|
43
|
+
Object.assign({ index: index }, tab)
|
|
44
|
+
)
|
|
45
|
+
"
|
|
41
46
|
>
|
|
42
47
|
<span class="mc-tabs__text">{{ tab.text }}</span>
|
|
43
48
|
</component>
|
|
@@ -89,40 +94,41 @@ export default {
|
|
|
89
94
|
},
|
|
90
95
|
activeIndex: {
|
|
91
96
|
type: Number,
|
|
92
|
-
default:
|
|
97
|
+
default: 0,
|
|
93
98
|
},
|
|
94
99
|
},
|
|
95
100
|
|
|
96
101
|
data() {
|
|
97
102
|
return {
|
|
98
103
|
tablist: null,
|
|
99
|
-
localActiveIndex: null,
|
|
100
104
|
};
|
|
101
105
|
},
|
|
102
106
|
|
|
103
107
|
computed: {
|
|
104
108
|
setClasses() {
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
109
|
+
const classes = [
|
|
110
|
+
{
|
|
111
|
+
'mc-tabs--full': this.align === 'full',
|
|
112
|
+
'mc-tabs--full-centered': this.align === 'centered',
|
|
113
|
+
'mc-tabs--dropdown': this.type === 'dropdown',
|
|
114
|
+
'mc-tabs--no-shadow': !this.shadow,
|
|
115
|
+
},
|
|
116
|
+
];
|
|
117
|
+
|
|
118
|
+
return classes;
|
|
111
119
|
},
|
|
112
120
|
},
|
|
113
121
|
|
|
114
122
|
watch: {
|
|
115
123
|
activeIndex(newValue) {
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
},
|
|
125
|
-
immediate: true,
|
|
124
|
+
const tab = this.getTabFromIndex(newValue);
|
|
125
|
+
if (tab && this.tabs[newValue]) {
|
|
126
|
+
this.manageTabs(
|
|
127
|
+
tab,
|
|
128
|
+
null,
|
|
129
|
+
Object.assign({ index: newValue }, this.tabs[newValue])
|
|
130
|
+
);
|
|
131
|
+
}
|
|
126
132
|
},
|
|
127
133
|
},
|
|
128
134
|
|
|
@@ -132,16 +138,17 @@ export default {
|
|
|
132
138
|
this.tablist = this.$refs.tablist;
|
|
133
139
|
|
|
134
140
|
if (this.activeIndex) {
|
|
135
|
-
|
|
141
|
+
const tab = this.getTabFromIndex(this.activeIndex);
|
|
142
|
+
if (tab) {
|
|
143
|
+
this.manageTabs(tab);
|
|
144
|
+
}
|
|
136
145
|
} else {
|
|
137
|
-
const isActive = this.tabs.some(
|
|
138
|
-
(tab)
|
|
139
|
-
Object.prototype.hasOwnProperty.call(tab, 'active') &&
|
|
140
|
-
tab.active === true
|
|
146
|
+
const isActive = this.tabs.some((tab) =>
|
|
147
|
+
Object.prototype.hasOwnProperty.call(tab, 'active')
|
|
141
148
|
);
|
|
142
|
-
|
|
143
149
|
if (!isActive) {
|
|
144
|
-
|
|
150
|
+
const firstTab = this.tablist.querySelector('.mc-tabs__element');
|
|
151
|
+
this.manageTabs(firstTab);
|
|
145
152
|
}
|
|
146
153
|
}
|
|
147
154
|
}
|
|
@@ -149,20 +156,34 @@ export default {
|
|
|
149
156
|
},
|
|
150
157
|
|
|
151
158
|
methods: {
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
159
|
+
setActiveClass: function (tab) {
|
|
160
|
+
const tabClasses = [];
|
|
161
|
+
|
|
162
|
+
if (tab.active) {
|
|
163
|
+
tabClasses.push('mc-tabs__element--selected');
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
if (tab.disabled) {
|
|
167
|
+
tabClasses.push('mc-tabs__element--disabled');
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
return tabClasses;
|
|
157
171
|
},
|
|
158
|
-
|
|
172
|
+
manageTabs: function (el, e, tab) {
|
|
173
|
+
if (tab && tab.disabled) {
|
|
174
|
+
return;
|
|
175
|
+
}
|
|
176
|
+
if (e) {
|
|
177
|
+
this.$emit('tab-clicked', e.currentTarget, tab);
|
|
178
|
+
}
|
|
179
|
+
|
|
159
180
|
this.tablist.querySelectorAll('.mc-tabs__element').forEach((el) => {
|
|
160
181
|
el.classList.remove('mc-tabs__element--selected');
|
|
161
182
|
el.setAttribute('aria-selected', 'false');
|
|
162
183
|
});
|
|
163
184
|
|
|
164
|
-
|
|
165
|
-
|
|
185
|
+
el.classList.add('mc-tabs__element--selected');
|
|
186
|
+
el.setAttribute('aria-selected', 'true');
|
|
166
187
|
},
|
|
167
188
|
getTabFromIndex: function (index) {
|
|
168
189
|
if (
|
|
@@ -173,22 +194,11 @@ export default {
|
|
|
173
194
|
return this.tablist.children[index].children[0];
|
|
174
195
|
}
|
|
175
196
|
},
|
|
176
|
-
onTabClicked(e, tab, index) {
|
|
177
|
-
if (tab && tab.disabled) {
|
|
178
|
-
return;
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
if (typeof this.activeIndex !== 'number') {
|
|
182
|
-
this.localActiveIndex = index;
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
this.$emit('tab-clicked', e.target, Object.assign({ index: index }, tab));
|
|
186
|
-
},
|
|
187
197
|
},
|
|
188
198
|
};
|
|
189
199
|
</script>
|
|
190
200
|
|
|
191
201
|
<style lang="scss">
|
|
192
|
-
@import 'settings-tools/
|
|
193
|
-
@import 'components/
|
|
202
|
+
@import 'settings-tools/all-settings';
|
|
203
|
+
@import 'components/c.tabs';
|
|
194
204
|
</style>
|
|
@@ -38,6 +38,7 @@
|
|
|
38
38
|
</span>
|
|
39
39
|
<span
|
|
40
40
|
v-else-if="type === 'removable'"
|
|
41
|
+
:id="id"
|
|
41
42
|
class="mc-tag-removable"
|
|
42
43
|
:class="setClasses"
|
|
43
44
|
>
|
|
@@ -47,7 +48,8 @@
|
|
|
47
48
|
<button
|
|
48
49
|
type="button"
|
|
49
50
|
class="mc-tag-removable__remove"
|
|
50
|
-
|
|
51
|
+
:disabled="disabled"
|
|
52
|
+
@click="$emit('remove-tag', id)"
|
|
51
53
|
/>
|
|
52
54
|
</span>
|
|
53
55
|
</template>
|
|
@@ -177,7 +177,9 @@
|
|
|
177
177
|
<color name="color_button_bordered_disabled_background">#ffcccccc</color>
|
|
178
178
|
<color name="color_button_bordered_disabled_font">#ff666666</color>
|
|
179
179
|
<color name="color_button_bordered_active_background">#ff91d5db</color>
|
|
180
|
+
<color name="color_button_bordered_active_font">#ff004e57</color>
|
|
180
181
|
<color name="color_button_bordered_hover_background">#ffd9f0f3</color>
|
|
182
|
+
<color name="color_button_bordered_hover_font">#ff006974</color>
|
|
181
183
|
<color name="color_button_bordered_primary_02_background">#ffffffff</color>
|
|
182
184
|
<color name="color_button_bordered_primary_02_border">#ff6a7081</color>
|
|
183
185
|
<color name="color_button_bordered_primary_02_font">#ff6a7081</color>
|
|
@@ -201,7 +203,9 @@
|
|
|
201
203
|
<color name="color_button_bordered_danger_disabled_background">#ffcccccc</color>
|
|
202
204
|
<color name="color_button_bordered_danger_disabled_font">#ff666666</color>
|
|
203
205
|
<color name="color_button_bordered_danger_active_background">#fff8bcbb</color>
|
|
206
|
+
<color name="color_button_bordered_danger_active_font">#ff530000</color>
|
|
204
207
|
<color name="color_button_bordered_danger_hover_background">#fffdeaea</color>
|
|
208
|
+
<color name="color_button_bordered_danger_hover_font">#ff8c0003</color>
|
|
205
209
|
<color name="color_card_bordered_background">#ffffffff</color>
|
|
206
210
|
<color name="color_card_bordered_border">#ff808080</color>
|
|
207
211
|
<color name="color_dialog_background">#ffffffff</color>
|
|
@@ -365,13 +369,13 @@
|
|
|
365
369
|
<color name="color_tabs_background">#ffffffff</color>
|
|
366
370
|
<color name="color_tabs_shadow">#ff000000</color>
|
|
367
371
|
<color name="color_tabs_default">#ff666666</color>
|
|
368
|
-
<color name="color_tabs_element_background">#
|
|
372
|
+
<color name="color_tabs_element_background">#ffeeedea</color>
|
|
369
373
|
<color name="color_tabs_hover">#ff004e57</color>
|
|
370
374
|
<color name="color_tabs_disabled_background">#ffcccccc</color>
|
|
371
|
-
<color name="color_tabs_active_background">#
|
|
372
|
-
<color name="color_tabs_active_text">#
|
|
373
|
-
<color name="color_tabs_selected_border">#
|
|
374
|
-
<color name="color_tabs_selected_text">#
|
|
375
|
+
<color name="color_tabs_active_background">#ffdddcd5</color>
|
|
376
|
+
<color name="color_tabs_active_text">#ff004e57</color>
|
|
377
|
+
<color name="color_tabs_selected_border">#ff007f8c</color>
|
|
378
|
+
<color name="color_tabs_selected_text">#ff007f8c</color>
|
|
375
379
|
<color name="color_tabs_active_disabled">#ff91d5db</color>
|
|
376
380
|
<color name="color_tag_text_light_background">#ffffffff</color>
|
|
377
381
|
<color name="color_tag_text_light_border">#ff808080</color>
|
|
@@ -173,7 +173,9 @@ $color-button-bordered-focus-border: var(--color-button-bordered-focus-border, #
|
|
|
173
173
|
$color-button-bordered-disabled-background: var(--color-button-bordered-disabled-background, #cccccc);
|
|
174
174
|
$color-button-bordered-disabled-font: var(--color-button-bordered-disabled-font, #666666);
|
|
175
175
|
$color-button-bordered-active-background: var(--color-button-bordered-active-background, #91d5db);
|
|
176
|
+
$color-button-bordered-active-font: var(--color-button-bordered-active-font, #004e57);
|
|
176
177
|
$color-button-bordered-hover-background: var(--color-button-bordered-hover-background, #d9f0f3);
|
|
178
|
+
$color-button-bordered-hover-font: var(--color-button-bordered-hover-font, #006974);
|
|
177
179
|
$color-button-bordered-primary-02-background: var(--color-button-bordered-primary-02-background, #ffffff);
|
|
178
180
|
$color-button-bordered-primary-02-border: var(--color-button-bordered-primary-02-border, #6a7081);
|
|
179
181
|
$color-button-bordered-primary-02-font: var(--color-button-bordered-primary-02-font, #6a7081);
|
|
@@ -197,7 +199,9 @@ $color-button-bordered-danger-focus-border: var(--color-button-bordered-danger-f
|
|
|
197
199
|
$color-button-bordered-danger-disabled-background: var(--color-button-bordered-danger-disabled-background, #cccccc);
|
|
198
200
|
$color-button-bordered-danger-disabled-font: var(--color-button-bordered-danger-disabled-font, #666666);
|
|
199
201
|
$color-button-bordered-danger-active-background: var(--color-button-bordered-danger-active-background, #f8bcbb);
|
|
202
|
+
$color-button-bordered-danger-active-font: var(--color-button-bordered-danger-active-font, #530000);
|
|
200
203
|
$color-button-bordered-danger-hover-background: var(--color-button-bordered-danger-hover-background, #fdeaea);
|
|
204
|
+
$color-button-bordered-danger-hover-font: var(--color-button-bordered-danger-hover-font, #8c0003);
|
|
201
205
|
$color-card-bordered-background: var(--color-card-bordered-background, #ffffff);
|
|
202
206
|
$color-card-bordered-border: var(--color-card-bordered-border, #808080);
|
|
203
207
|
$color-dialog-background: var(--color-dialog-background, #ffffff);
|
|
@@ -361,13 +365,13 @@ $color-stepper-title: var(--color-stepper-title, #00919f);
|
|
|
361
365
|
$color-tabs-background: var(--color-tabs-background, #ffffff);
|
|
362
366
|
$color-tabs-shadow: var(--color-tabs-shadow, #000000);
|
|
363
367
|
$color-tabs-default: var(--color-tabs-default, #666666);
|
|
364
|
-
$color-tabs-element-background: var(--color-tabs-element-background, #
|
|
368
|
+
$color-tabs-element-background: var(--color-tabs-element-background, #eeedea);
|
|
365
369
|
$color-tabs-hover: var(--color-tabs-hover, #004e57);
|
|
366
370
|
$color-tabs-disabled-background: var(--color-tabs-disabled-background, #cccccc);
|
|
367
|
-
$color-tabs-active-background: var(--color-tabs-active-background, #
|
|
368
|
-
$color-tabs-active-text: var(--color-tabs-active-text, #
|
|
369
|
-
$color-tabs-selected-border: var(--color-tabs-selected-border, #
|
|
370
|
-
$color-tabs-selected-text: var(--color-tabs-selected-text, #
|
|
371
|
+
$color-tabs-active-background: var(--color-tabs-active-background, #dddcd5);
|
|
372
|
+
$color-tabs-active-text: var(--color-tabs-active-text, #004e57);
|
|
373
|
+
$color-tabs-selected-border: var(--color-tabs-selected-border, #007f8c);
|
|
374
|
+
$color-tabs-selected-text: var(--color-tabs-selected-text, #007f8c);
|
|
371
375
|
$color-tabs-active-disabled: var(--color-tabs-active-disabled, #91d5db);
|
|
372
376
|
$color-tag-text-light-background: var(--color-tag-text-light-background, #ffffff);
|
|
373
377
|
$color-tag-text-light-border: var(--color-tag-text-light-border, #808080);
|
|
@@ -182,11 +182,13 @@
|
|
|
182
182
|
--color-tag-text-light-border: var(--color-grey-500);
|
|
183
183
|
--color-tag-text-light-background: var(--color-grey-000);
|
|
184
184
|
--color-tabs-active-disabled: var(--color-primary-01-200);
|
|
185
|
-
--color-tabs-selected-
|
|
186
|
-
--color-tabs-
|
|
185
|
+
--color-tabs-selected-text: var(--color-primary-01-600);
|
|
186
|
+
--color-tabs-selected-border: var(--color-primary-01-600);
|
|
187
|
+
--color-tabs-active-text: var(--color-primary-01-800);
|
|
188
|
+
--color-tabs-active-background: var(--color-secondary-sandgrey-200);
|
|
187
189
|
--color-tabs-disabled-background: var(--color-grey-200);
|
|
188
190
|
--color-tabs-hover: var(--color-primary-01-800);
|
|
189
|
-
--color-tabs-element-background: var(--color-
|
|
191
|
+
--color-tabs-element-background: var(--color-secondary-sandgrey-100);
|
|
190
192
|
--color-tabs-shadow: var(--color-grey-999);
|
|
191
193
|
--color-tabs-background: var(--color-grey-000);
|
|
192
194
|
--color-stepper-title: var(--color-primary-01-500);
|
|
@@ -344,7 +346,9 @@
|
|
|
344
346
|
--color-dialog-background: var(--color-grey-000);
|
|
345
347
|
--color-card-bordered-border: var(--color-grey-500);
|
|
346
348
|
--color-card-bordered-background: var(--color-grey-000);
|
|
349
|
+
--color-button-bordered-danger-hover-font: var(--color-danger-700);
|
|
347
350
|
--color-button-bordered-danger-hover-background: var(--color-secondary-red-100);
|
|
351
|
+
--color-button-bordered-danger-active-font: var(--color-danger-800);
|
|
348
352
|
--color-button-bordered-danger-active-background: var(--color-secondary-red-200);
|
|
349
353
|
--color-button-bordered-danger-disabled-font: var(--color-grey-600);
|
|
350
354
|
--color-button-bordered-danger-disabled-background: var(--color-grey-200);
|
|
@@ -368,7 +372,9 @@
|
|
|
368
372
|
--color-button-bordered-primary-02-font: var(--color-primary-02-500);
|
|
369
373
|
--color-button-bordered-primary-02-border: var(--color-primary-02-500);
|
|
370
374
|
--color-button-bordered-primary-02-background: var(--color-grey-000);
|
|
375
|
+
--color-button-bordered-hover-font: var(--color-primary-01-700);
|
|
371
376
|
--color-button-bordered-hover-background: var(--color-primary-01-100);
|
|
377
|
+
--color-button-bordered-active-font: var(--color-primary-01-800);
|
|
372
378
|
--color-button-bordered-active-background: var(--color-primary-01-200);
|
|
373
379
|
--color-button-bordered-disabled-font: var(--color-grey-600);
|
|
374
380
|
--color-button-bordered-disabled-background: var(--color-grey-200);
|
|
@@ -434,8 +440,6 @@
|
|
|
434
440
|
--color-badge-info-text: var(--color-info-700);
|
|
435
441
|
--color-badge-info-border: var(--color-info-500);
|
|
436
442
|
--color-badge-info-background: var(--color-info-100);
|
|
437
|
-
--color-tabs-selected-text: var(--color-font-darkest);
|
|
438
|
-
--color-tabs-active-text: var(--color-font-dark);
|
|
439
443
|
--color-tabs-default: var(--color-font-light);
|
|
440
444
|
--color-fields-help: var(--color-font-light);
|
|
441
445
|
--color-fields-requirement: var(--color-font-light);
|
|
@@ -181,7 +181,9 @@ ColorButtonBorderedFocusBorder,
|
|
|
181
181
|
ColorButtonBorderedDisabledBackground,
|
|
182
182
|
ColorButtonBorderedDisabledFont,
|
|
183
183
|
ColorButtonBorderedActiveBackground,
|
|
184
|
+
ColorButtonBorderedActiveFont,
|
|
184
185
|
ColorButtonBorderedHoverBackground,
|
|
186
|
+
ColorButtonBorderedHoverFont,
|
|
185
187
|
ColorButtonBorderedPrimary02Background,
|
|
186
188
|
ColorButtonBorderedPrimary02Border,
|
|
187
189
|
ColorButtonBorderedPrimary02Font,
|
|
@@ -205,7 +207,9 @@ ColorButtonBorderedDangerFocusBorder,
|
|
|
205
207
|
ColorButtonBorderedDangerDisabledBackground,
|
|
206
208
|
ColorButtonBorderedDangerDisabledFont,
|
|
207
209
|
ColorButtonBorderedDangerActiveBackground,
|
|
210
|
+
ColorButtonBorderedDangerActiveFont,
|
|
208
211
|
ColorButtonBorderedDangerHoverBackground,
|
|
212
|
+
ColorButtonBorderedDangerHoverFont,
|
|
209
213
|
ColorCardBorderedBackground,
|
|
210
214
|
ColorCardBorderedBorder,
|
|
211
215
|
ColorDialogBackground,
|
|
@@ -192,7 +192,9 @@
|
|
|
192
192
|
[UIColor colorWithRed:0.800f green:0.800f blue:0.800f alpha:1.000f],
|
|
193
193
|
[UIColor colorWithRed:0.400f green:0.400f blue:0.400f alpha:1.000f],
|
|
194
194
|
[UIColor colorWithRed:0.569f green:0.835f blue:0.859f alpha:1.000f],
|
|
195
|
+
[UIColor colorWithRed:0.000f green:0.306f blue:0.341f alpha:1.000f],
|
|
195
196
|
[UIColor colorWithRed:0.851f green:0.941f blue:0.953f alpha:1.000f],
|
|
197
|
+
[UIColor colorWithRed:0.000f green:0.412f blue:0.455f alpha:1.000f],
|
|
196
198
|
[UIColor colorWithRed:1.000f green:1.000f blue:1.000f alpha:1.000f],
|
|
197
199
|
[UIColor colorWithRed:0.416f green:0.439f blue:0.506f alpha:1.000f],
|
|
198
200
|
[UIColor colorWithRed:0.416f green:0.439f blue:0.506f alpha:1.000f],
|
|
@@ -216,7 +218,9 @@
|
|
|
216
218
|
[UIColor colorWithRed:0.800f green:0.800f blue:0.800f alpha:1.000f],
|
|
217
219
|
[UIColor colorWithRed:0.400f green:0.400f blue:0.400f alpha:1.000f],
|
|
218
220
|
[UIColor colorWithRed:0.973f green:0.737f blue:0.733f alpha:1.000f],
|
|
221
|
+
[UIColor colorWithRed:0.325f green:0.000f blue:0.000f alpha:1.000f],
|
|
219
222
|
[UIColor colorWithRed:0.992f green:0.918f blue:0.918f alpha:1.000f],
|
|
223
|
+
[UIColor colorWithRed:0.549f green:0.000f blue:0.012f alpha:1.000f],
|
|
220
224
|
[UIColor colorWithRed:1.000f green:1.000f blue:1.000f alpha:1.000f],
|
|
221
225
|
[UIColor colorWithRed:0.502f green:0.502f blue:0.502f alpha:1.000f],
|
|
222
226
|
[UIColor colorWithRed:1.000f green:1.000f blue:1.000f alpha:1.000f],
|
|
@@ -380,13 +384,13 @@
|
|
|
380
384
|
[UIColor colorWithRed:1.000f green:1.000f blue:1.000f alpha:1.000f],
|
|
381
385
|
[UIColor colorWithRed:0.000f green:0.000f blue:0.000f alpha:1.000f],
|
|
382
386
|
[UIColor colorWithRed:0.400f green:0.400f blue:0.400f alpha:1.000f],
|
|
383
|
-
[UIColor colorWithRed:0.933f green:0.
|
|
387
|
+
[UIColor colorWithRed:0.933f green:0.929f blue:0.918f alpha:1.000f],
|
|
384
388
|
[UIColor colorWithRed:0.000f green:0.306f blue:0.341f alpha:1.000f],
|
|
385
389
|
[UIColor colorWithRed:0.800f green:0.800f blue:0.800f alpha:1.000f],
|
|
386
|
-
[UIColor colorWithRed:0.
|
|
387
|
-
[UIColor colorWithRed:0.
|
|
388
|
-
[UIColor colorWithRed:0.000f green:0.
|
|
389
|
-
[UIColor colorWithRed:0.000f green:0.
|
|
390
|
+
[UIColor colorWithRed:0.867f green:0.863f blue:0.835f alpha:1.000f],
|
|
391
|
+
[UIColor colorWithRed:0.000f green:0.306f blue:0.341f alpha:1.000f],
|
|
392
|
+
[UIColor colorWithRed:0.000f green:0.498f blue:0.549f alpha:1.000f],
|
|
393
|
+
[UIColor colorWithRed:0.000f green:0.498f blue:0.549f alpha:1.000f],
|
|
390
394
|
[UIColor colorWithRed:0.569f green:0.835f blue:0.859f alpha:1.000f],
|
|
391
395
|
[UIColor colorWithRed:1.000f green:1.000f blue:1.000f alpha:1.000f],
|
|
392
396
|
[UIColor colorWithRed:0.502f green:0.502f blue:0.502f alpha:1.000f],
|
|
@@ -24,9 +24,11 @@ public class StyleDictionaryColor {
|
|
|
24
24
|
public static let colorBreadcrumbArrow = UIColor(red: 0.200, green: 0.200, blue: 0.200, alpha: 1)
|
|
25
25
|
public static let colorBreadcrumbArrowInvert = UIColor(red: 1.000, green: 1.000, blue: 1.000, alpha: 1)
|
|
26
26
|
public static let colorButtonBorderedActiveBackground = UIColor(red: 0.569, green: 0.835, blue: 0.859, alpha: 1)
|
|
27
|
+
public static let colorButtonBorderedActiveFont = UIColor(red: 0.000, green: 0.306, blue: 0.341, alpha: 1)
|
|
27
28
|
public static let colorButtonBorderedBackground = UIColor(red: 1.000, green: 1.000, blue: 1.000, alpha: 1)
|
|
28
29
|
public static let colorButtonBorderedBorder = UIColor(red: 0.000, green: 0.498, blue: 0.549, alpha: 1)
|
|
29
30
|
public static let colorButtonBorderedDangerActiveBackground = UIColor(red: 0.973, green: 0.737, blue: 0.733, alpha: 1)
|
|
31
|
+
public static let colorButtonBorderedDangerActiveFont = UIColor(red: 0.325, green: 0.000, blue: 0.000, alpha: 1)
|
|
30
32
|
public static let colorButtonBorderedDangerBackground = UIColor(red: 1.000, green: 1.000, blue: 1.000, alpha: 1)
|
|
31
33
|
public static let colorButtonBorderedDangerBorder = UIColor(red: 0.776, green: 0.067, blue: 0.071, alpha: 1)
|
|
32
34
|
public static let colorButtonBorderedDangerDisabledBackground = UIColor(red: 0.800, green: 0.800, blue: 0.800, alpha: 1)
|
|
@@ -34,11 +36,13 @@ public class StyleDictionaryColor {
|
|
|
34
36
|
public static let colorButtonBorderedDangerFocusBorder = UIColor(red: 0.549, green: 0.000, blue: 0.012, alpha: 1)
|
|
35
37
|
public static let colorButtonBorderedDangerFont = UIColor(red: 0.776, green: 0.067, blue: 0.071, alpha: 1)
|
|
36
38
|
public static let colorButtonBorderedDangerHoverBackground = UIColor(red: 0.992, green: 0.918, blue: 0.918, alpha: 1)
|
|
39
|
+
public static let colorButtonBorderedDangerHoverFont = UIColor(red: 0.549, green: 0.000, blue: 0.012, alpha: 1)
|
|
37
40
|
public static let colorButtonBorderedDisabledBackground = UIColor(red: 0.800, green: 0.800, blue: 0.800, alpha: 1)
|
|
38
41
|
public static let colorButtonBorderedDisabledFont = UIColor(red: 0.400, green: 0.400, blue: 0.400, alpha: 1)
|
|
39
42
|
public static let colorButtonBorderedFocusBorder = UIColor(red: 0.000, green: 0.412, blue: 0.455, alpha: 1)
|
|
40
43
|
public static let colorButtonBorderedFont = UIColor(red: 0.000, green: 0.498, blue: 0.549, alpha: 1)
|
|
41
44
|
public static let colorButtonBorderedHoverBackground = UIColor(red: 0.851, green: 0.941, blue: 0.953, alpha: 1)
|
|
45
|
+
public static let colorButtonBorderedHoverFont = UIColor(red: 0.000, green: 0.412, blue: 0.455, alpha: 1)
|
|
42
46
|
public static let colorButtonBorderedNeutralActiveBackground = UIColor(red: 0.800, green: 0.800, blue: 0.800, alpha: 1)
|
|
43
47
|
public static let colorButtonBorderedNeutralBackground = UIColor(red: 1.000, green: 1.000, blue: 1.000, alpha: 1)
|
|
44
48
|
public static let colorButtonBorderedNeutralBorder = UIColor(red: 0.200, green: 0.200, blue: 0.200, alpha: 1)
|
|
@@ -366,16 +370,16 @@ public class StyleDictionaryColor {
|
|
|
366
370
|
public static let colorSuccess700 = UIColor(red: 0.000, green: 0.412, blue: 0.008, alpha: 1)
|
|
367
371
|
public static let colorSuccess800 = UIColor(red: 0.012, green: 0.314, blue: 0.063, alpha: 1)
|
|
368
372
|
public static let colorSuccess900 = UIColor(red: 0.008, green: 0.212, blue: 0.094, alpha: 1)
|
|
369
|
-
public static let colorTabsActiveBackground = UIColor(red: 0.
|
|
373
|
+
public static let colorTabsActiveBackground = UIColor(red: 0.867, green: 0.863, blue: 0.835, alpha: 1)
|
|
370
374
|
public static let colorTabsActiveDisabled = UIColor(red: 0.569, green: 0.835, blue: 0.859, alpha: 1)
|
|
371
|
-
public static let colorTabsActiveText = UIColor(red: 0.
|
|
375
|
+
public static let colorTabsActiveText = UIColor(red: 0.000, green: 0.306, blue: 0.341, alpha: 1)
|
|
372
376
|
public static let colorTabsBackground = UIColor(red: 1.000, green: 1.000, blue: 1.000, alpha: 1)
|
|
373
377
|
public static let colorTabsDefault = UIColor(red: 0.400, green: 0.400, blue: 0.400, alpha: 1)
|
|
374
378
|
public static let colorTabsDisabledBackground = UIColor(red: 0.800, green: 0.800, blue: 0.800, alpha: 1)
|
|
375
|
-
public static let colorTabsElementBackground = UIColor(red: 0.933, green: 0.
|
|
379
|
+
public static let colorTabsElementBackground = UIColor(red: 0.933, green: 0.929, blue: 0.918, alpha: 1)
|
|
376
380
|
public static let colorTabsHover = UIColor(red: 0.000, green: 0.306, blue: 0.341, alpha: 1)
|
|
377
|
-
public static let colorTabsSelectedBorder = UIColor(red: 0.000, green: 0.
|
|
378
|
-
public static let colorTabsSelectedText = UIColor(red: 0.000, green: 0.
|
|
381
|
+
public static let colorTabsSelectedBorder = UIColor(red: 0.000, green: 0.498, blue: 0.549, alpha: 1)
|
|
382
|
+
public static let colorTabsSelectedText = UIColor(red: 0.000, green: 0.498, blue: 0.549, alpha: 1)
|
|
379
383
|
public static let colorTabsShadow = UIColor(red: 0.000, green: 0.000, blue: 0.000, alpha: 1)
|
|
380
384
|
public static let colorTagLinkDarkActiveBackground = UIColor(red: 0.302, green: 0.302, blue: 0.302, alpha: 1)
|
|
381
385
|
public static let colorTagLinkDarkBackground = UIColor(red: 0.098, green: 0.098, blue: 0.098, alpha: 1)
|
|
@@ -176,7 +176,9 @@ export const ColorButtonBorderedFocusBorder = "#006974";
|
|
|
176
176
|
export const ColorButtonBorderedDisabledBackground = "#cccccc";
|
|
177
177
|
export const ColorButtonBorderedDisabledFont = "#666666";
|
|
178
178
|
export const ColorButtonBorderedActiveBackground = "#91d5db";
|
|
179
|
+
export const ColorButtonBorderedActiveFont = "#004e57";
|
|
179
180
|
export const ColorButtonBorderedHoverBackground = "#d9f0f3";
|
|
181
|
+
export const ColorButtonBorderedHoverFont = "#006974";
|
|
180
182
|
export const ColorButtonBorderedPrimary02Background = "#ffffff";
|
|
181
183
|
export const ColorButtonBorderedPrimary02Border = "#6a7081";
|
|
182
184
|
export const ColorButtonBorderedPrimary02Font = "#6a7081";
|
|
@@ -200,7 +202,9 @@ export const ColorButtonBorderedDangerFocusBorder = "#8c0003";
|
|
|
200
202
|
export const ColorButtonBorderedDangerDisabledBackground = "#cccccc";
|
|
201
203
|
export const ColorButtonBorderedDangerDisabledFont = "#666666";
|
|
202
204
|
export const ColorButtonBorderedDangerActiveBackground = "#f8bcbb";
|
|
205
|
+
export const ColorButtonBorderedDangerActiveFont = "#530000";
|
|
203
206
|
export const ColorButtonBorderedDangerHoverBackground = "#fdeaea";
|
|
207
|
+
export const ColorButtonBorderedDangerHoverFont = "#8c0003";
|
|
204
208
|
export const ColorCardBorderedBackground = "#ffffff";
|
|
205
209
|
export const ColorCardBorderedBorder = "#808080";
|
|
206
210
|
export const ColorDialogBackground = "#ffffff";
|
|
@@ -364,13 +368,13 @@ export const ColorStepperTitle = "#00919f";
|
|
|
364
368
|
export const ColorTabsBackground = "#ffffff";
|
|
365
369
|
export const ColorTabsShadow = "#000000";
|
|
366
370
|
export const ColorTabsDefault = "#666666";
|
|
367
|
-
export const ColorTabsElementBackground = "#
|
|
371
|
+
export const ColorTabsElementBackground = "#eeedea";
|
|
368
372
|
export const ColorTabsHover = "#004e57";
|
|
369
373
|
export const ColorTabsDisabledBackground = "#cccccc";
|
|
370
|
-
export const ColorTabsActiveBackground = "#
|
|
371
|
-
export const ColorTabsActiveText = "#
|
|
372
|
-
export const ColorTabsSelectedBorder = "#
|
|
373
|
-
export const ColorTabsSelectedText = "#
|
|
374
|
+
export const ColorTabsActiveBackground = "#dddcd5";
|
|
375
|
+
export const ColorTabsActiveText = "#004e57";
|
|
376
|
+
export const ColorTabsSelectedBorder = "#007f8c";
|
|
377
|
+
export const ColorTabsSelectedText = "#007f8c";
|
|
374
378
|
export const ColorTabsActiveDisabled = "#91d5db";
|
|
375
379
|
export const ColorTagTextLightBackground = "#ffffff";
|
|
376
380
|
export const ColorTagTextLightBorder = "#808080";
|