@mozaic-ds/vue 0.27.0 → 0.28.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/README.md +10 -8
- package/dist/mozaic-vue.adeo.css +5 -5
- package/dist/mozaic-vue.adeo.umd.js +6070 -20570
- package/dist/mozaic-vue.common.js +6070 -20570
- package/dist/mozaic-vue.common.js.map +1 -1
- package/dist/mozaic-vue.css +1 -1
- package/dist/mozaic-vue.umd.js +6070 -20570
- 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 +20 -19
- package/src/components/link/MLink.vue +14 -3
- package/src/components/tabs/MTab.vue +11 -11
- package/src/tokens/adeo/android/colors.xml +7 -3
- package/src/tokens/adeo/css/_variables.scss +7 -3
- package/src/tokens/adeo/css/root.scss +7 -3
- package/src/tokens/adeo/ios/StyleDictionaryColor.h +6 -2
- package/src/tokens/adeo/ios/StyleDictionaryColor.m +7 -3
- package/src/tokens/adeo/ios/StyleDictionaryColor.swift +7 -3
- package/src/tokens/adeo/js/tokens.js +7 -3
- package/src/tokens/adeo/js/tokensObject.js +130 -34
- package/src/tokens/adeo/scss/_tokens.scss +21 -5
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mozaic-ds/vue",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.28.1",
|
|
4
4
|
"description": "Vue.js implementation of Mozaic Design System",
|
|
5
5
|
"author": "Adeo - Mozaic Design System",
|
|
6
6
|
"scripts": {
|
|
@@ -23,33 +23,34 @@
|
|
|
23
23
|
"postinstall.js"
|
|
24
24
|
],
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@mozaic-ds/css-dev-tools": "1.
|
|
27
|
-
"@mozaic-ds/icons": "1.
|
|
28
|
-
"@mozaic-ds/styles": "1.
|
|
29
|
-
"@mozaic-ds/web-fonts": "1.22.0",
|
|
30
|
-
"core-js": "^3.25.
|
|
31
|
-
"libphonenumber-js": "^1.10.
|
|
32
|
-
"postcss-scss": "^4.0.4",
|
|
26
|
+
"@mozaic-ds/css-dev-tools": "^1.44.0",
|
|
27
|
+
"@mozaic-ds/icons": "^1.44.0",
|
|
28
|
+
"@mozaic-ds/styles": "^1.44.0",
|
|
29
|
+
"@mozaic-ds/web-fonts": "^1.22.0",
|
|
30
|
+
"core-js": "^3.25.5",
|
|
31
|
+
"libphonenumber-js": "^1.10.14",
|
|
33
32
|
"vue": "^2.6.14",
|
|
34
33
|
"vue-country-flag": "2.3.2"
|
|
35
34
|
},
|
|
36
35
|
"devDependencies": {
|
|
37
|
-
"@babel/core": "^7.
|
|
38
|
-
"@babel/eslint-parser": "^7.
|
|
36
|
+
"@babel/core": "^7.19.3",
|
|
37
|
+
"@babel/eslint-parser": "^7.19.1",
|
|
38
|
+
"@rushstack/eslint-patch": "^1.2.0",
|
|
39
39
|
"@vue/cli-plugin-babel": "~5.0.4",
|
|
40
40
|
"@vue/cli-service": "~5.0.4",
|
|
41
|
-
"@vue/compiler-sfc": "^3.2.
|
|
42
|
-
"@vue/eslint-config-prettier": "^
|
|
41
|
+
"@vue/compiler-sfc": "^3.2.41",
|
|
42
|
+
"@vue/eslint-config-prettier": "^7.0.0",
|
|
43
43
|
"babel-eslint": "^10.1.0",
|
|
44
|
-
"eslint": "^8.
|
|
44
|
+
"eslint": "^8.25.0",
|
|
45
45
|
"eslint-config-prettier": "^8.5.0",
|
|
46
|
-
"eslint-plugin-vue": "^9.
|
|
47
|
-
"postcss": "^8.4.
|
|
48
|
-
"postcss-loader": "^
|
|
46
|
+
"eslint-plugin-vue": "^9.6.0",
|
|
47
|
+
"postcss": "^8.4.18",
|
|
48
|
+
"postcss-loader": "^7.0.1",
|
|
49
|
+
"postcss-scss": "^4.0.5",
|
|
49
50
|
"prettier": "^2.7.1",
|
|
50
|
-
"sass": "^1.
|
|
51
|
-
"sass-loader": "^
|
|
52
|
-
"vue-template-compiler": "^2.7.
|
|
51
|
+
"sass": "^1.55.0",
|
|
52
|
+
"sass-loader": "^13.1.0",
|
|
53
|
+
"vue-template-compiler": "^2.7.13"
|
|
53
54
|
},
|
|
54
55
|
"bugs": {
|
|
55
56
|
"url": "https://github.com/adeo/mozaic-vue/issues"
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<component
|
|
3
|
-
:is="
|
|
3
|
+
:is="linkComponentName"
|
|
4
|
+
v-bind="linkComponentProps"
|
|
4
5
|
:href="router ? null : href && !disabled ? href : null"
|
|
5
6
|
class="mc-link"
|
|
6
7
|
:class="setClasses"
|
|
@@ -37,7 +38,7 @@ export default {
|
|
|
37
38
|
|
|
38
39
|
props: {
|
|
39
40
|
router: {
|
|
40
|
-
type:
|
|
41
|
+
type: Object,
|
|
41
42
|
default: null,
|
|
42
43
|
},
|
|
43
44
|
href: {
|
|
@@ -105,10 +106,20 @@ export default {
|
|
|
105
106
|
|
|
106
107
|
return classes;
|
|
107
108
|
},
|
|
109
|
+
linkComponentName() {
|
|
110
|
+
const isLinkValid = this.href && !this.disabled;
|
|
111
|
+
const routerComponent = this.router?.name ?? null;
|
|
112
|
+
const defaultComponent = isLinkValid ? 'a' : 'span';
|
|
113
|
+
|
|
114
|
+
return routerComponent ?? defaultComponent;
|
|
115
|
+
},
|
|
116
|
+
linkComponentProps() {
|
|
117
|
+
return this.router?.props ?? {};
|
|
118
|
+
},
|
|
108
119
|
},
|
|
109
120
|
methods: {
|
|
110
121
|
onClick(event) {
|
|
111
|
-
if(!this.disabled){
|
|
122
|
+
if (!this.disabled) {
|
|
112
123
|
this.$emit('click', event);
|
|
113
124
|
}
|
|
114
125
|
},
|
|
@@ -18,11 +18,11 @@
|
|
|
18
18
|
v-if="tab.router"
|
|
19
19
|
v-bind="tab.attrs"
|
|
20
20
|
:to="tab.to"
|
|
21
|
-
class="mc-
|
|
21
|
+
class="mc-tabs__element"
|
|
22
22
|
:class="setLinkClass(tab)"
|
|
23
|
-
active-class="mc-
|
|
23
|
+
active-class="mc-tabs__element--selected"
|
|
24
24
|
>
|
|
25
|
-
{{ tab.text }}
|
|
25
|
+
<span class="mc-tabs__text">{{ tab.text }}</span>
|
|
26
26
|
</component>
|
|
27
27
|
<component
|
|
28
28
|
:is="tab.href ? (tab.disabled ? 'span' : 'a') : 'button'"
|
|
@@ -32,14 +32,14 @@
|
|
|
32
32
|
:href="tab.href ? (!tab.disabled ? tab.href : null) : null"
|
|
33
33
|
:type="!tab.href ? 'button' : null"
|
|
34
34
|
:disabled="!tab.href && tab.disabled ? true : null"
|
|
35
|
-
class="mc-
|
|
35
|
+
class="mc-tabs__element"
|
|
36
36
|
role="tab"
|
|
37
37
|
:aria-selected="tab.active ? 'true' : 'false'"
|
|
38
38
|
:class="setLinkClass(tab)"
|
|
39
39
|
v-bind="tab.attrs"
|
|
40
40
|
@click="onTabClicked($event, tab, index)"
|
|
41
41
|
>
|
|
42
|
-
{{ tab.text }}
|
|
42
|
+
<span class="mc-tabs__text">{{ tab.text }}</span>
|
|
43
43
|
</component>
|
|
44
44
|
</li>
|
|
45
45
|
</ul>
|
|
@@ -106,7 +106,7 @@ export default {
|
|
|
106
106
|
'mc-tabs--full': this.align === 'full',
|
|
107
107
|
'mc-tabs--full-centered': this.align === 'centered',
|
|
108
108
|
'mc-tabs--dropdown': this.type === 'dropdown',
|
|
109
|
-
'mc-tabs--no-
|
|
109
|
+
'mc-tabs--no-divider': !this.shadow,
|
|
110
110
|
};
|
|
111
111
|
},
|
|
112
112
|
},
|
|
@@ -151,17 +151,17 @@ export default {
|
|
|
151
151
|
methods: {
|
|
152
152
|
setLinkClass: function (tab) {
|
|
153
153
|
return {
|
|
154
|
-
'mc-
|
|
155
|
-
'mc-
|
|
154
|
+
'mc-tabs__element--selected': tab.active,
|
|
155
|
+
'mc-tabs__element--disabled': tab.disabled,
|
|
156
156
|
};
|
|
157
157
|
},
|
|
158
158
|
setTabState(tab) {
|
|
159
|
-
this.tablist.querySelectorAll('.mc-
|
|
160
|
-
el.classList.remove('mc-
|
|
159
|
+
this.tablist.querySelectorAll('.mc-tabs__element').forEach((el) => {
|
|
160
|
+
el.classList.remove('mc-tabs__element--selected');
|
|
161
161
|
el.setAttribute('aria-selected', 'false');
|
|
162
162
|
});
|
|
163
163
|
|
|
164
|
-
tab.classList.add('mc-
|
|
164
|
+
tab.classList.add('mc-tabs__element--selected');
|
|
165
165
|
tab.setAttribute('aria-selected', 'true');
|
|
166
166
|
},
|
|
167
167
|
getTabFromIndex: function (index) {
|
|
@@ -364,10 +364,14 @@
|
|
|
364
364
|
<color name="color_stepper_title">#ff00919f</color>
|
|
365
365
|
<color name="color_tabs_background">#ffffffff</color>
|
|
366
366
|
<color name="color_tabs_shadow">#ff000000</color>
|
|
367
|
-
<color name="color_tabs_default">#
|
|
367
|
+
<color name="color_tabs_default">#ff666666</color>
|
|
368
|
+
<color name="color_tabs_element_background">#ffeeeff1</color>
|
|
368
369
|
<color name="color_tabs_hover">#ff004e57</color>
|
|
369
|
-
<color name="
|
|
370
|
-
<color name="
|
|
370
|
+
<color name="color_tabs_disabled_background">#ffcccccc</color>
|
|
371
|
+
<color name="color_tabs_active_background">#ffcfd2d8</color>
|
|
372
|
+
<color name="color_tabs_active_text">#ff333333</color>
|
|
373
|
+
<color name="color_tabs_selected_border">#ff000000</color>
|
|
374
|
+
<color name="color_tabs_selected_text">#ff000000</color>
|
|
371
375
|
<color name="color_tabs_active_disabled">#ff91d5db</color>
|
|
372
376
|
<color name="color_tag_text_light_background">#ffffffff</color>
|
|
373
377
|
<color name="color_tag_text_light_border">#ff808080</color>
|
|
@@ -360,10 +360,14 @@ $color-stepper-icon: var(--color-stepper-icon, #00919f);
|
|
|
360
360
|
$color-stepper-title: var(--color-stepper-title, #00919f);
|
|
361
361
|
$color-tabs-background: var(--color-tabs-background, #ffffff);
|
|
362
362
|
$color-tabs-shadow: var(--color-tabs-shadow, #000000);
|
|
363
|
-
$color-tabs-default: var(--color-tabs-default, #
|
|
363
|
+
$color-tabs-default: var(--color-tabs-default, #666666);
|
|
364
|
+
$color-tabs-element-background: var(--color-tabs-element-background, #eeeff1);
|
|
364
365
|
$color-tabs-hover: var(--color-tabs-hover, #004e57);
|
|
365
|
-
$color-tabs-disabled: var(--color-tabs-disabled, #
|
|
366
|
-
$color-tabs-active: var(--color-tabs-active, #
|
|
366
|
+
$color-tabs-disabled-background: var(--color-tabs-disabled-background, #cccccc);
|
|
367
|
+
$color-tabs-active-background: var(--color-tabs-active-background, #cfd2d8);
|
|
368
|
+
$color-tabs-active-text: var(--color-tabs-active-text, #333333);
|
|
369
|
+
$color-tabs-selected-border: var(--color-tabs-selected-border, #000000);
|
|
370
|
+
$color-tabs-selected-text: var(--color-tabs-selected-text, #000000);
|
|
367
371
|
$color-tabs-active-disabled: var(--color-tabs-active-disabled, #91d5db);
|
|
368
372
|
$color-tag-text-light-background: var(--color-tag-text-light-background, #ffffff);
|
|
369
373
|
$color-tag-text-light-border: var(--color-tag-text-light-border, #808080);
|
|
@@ -182,7 +182,11 @@
|
|
|
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-border: var(--color-grey-999);
|
|
186
|
+
--color-tabs-active-background: var(--color-primary-02-200);
|
|
187
|
+
--color-tabs-disabled-background: var(--color-grey-200);
|
|
185
188
|
--color-tabs-hover: var(--color-primary-01-800);
|
|
189
|
+
--color-tabs-element-background: var(--color-primary-02-100);
|
|
186
190
|
--color-tabs-shadow: var(--color-grey-999);
|
|
187
191
|
--color-tabs-background: var(--color-grey-000);
|
|
188
192
|
--color-stepper-title: var(--color-primary-01-500);
|
|
@@ -430,9 +434,9 @@
|
|
|
430
434
|
--color-badge-info-text: var(--color-info-700);
|
|
431
435
|
--color-badge-info-border: var(--color-info-500);
|
|
432
436
|
--color-badge-info-background: var(--color-info-100);
|
|
433
|
-
--color-tabs-
|
|
434
|
-
--color-tabs-
|
|
435
|
-
--color-tabs-default: var(--color-font-
|
|
437
|
+
--color-tabs-selected-text: var(--color-font-darkest);
|
|
438
|
+
--color-tabs-active-text: var(--color-font-dark);
|
|
439
|
+
--color-tabs-default: var(--color-font-light);
|
|
436
440
|
--color-fields-help: var(--color-font-light);
|
|
437
441
|
--color-fields-requirement: var(--color-font-light);
|
|
438
442
|
--color-fields-label: var(--color-font-dark);
|
|
@@ -369,9 +369,13 @@ ColorStepperTitle,
|
|
|
369
369
|
ColorTabsBackground,
|
|
370
370
|
ColorTabsShadow,
|
|
371
371
|
ColorTabsDefault,
|
|
372
|
+
ColorTabsElementBackground,
|
|
372
373
|
ColorTabsHover,
|
|
373
|
-
|
|
374
|
-
|
|
374
|
+
ColorTabsDisabledBackground,
|
|
375
|
+
ColorTabsActiveBackground,
|
|
376
|
+
ColorTabsActiveText,
|
|
377
|
+
ColorTabsSelectedBorder,
|
|
378
|
+
ColorTabsSelectedText,
|
|
375
379
|
ColorTabsActiveDisabled,
|
|
376
380
|
ColorTagTextLightBackground,
|
|
377
381
|
ColorTagTextLightBorder,
|
|
@@ -379,10 +379,14 @@
|
|
|
379
379
|
[UIColor colorWithRed:0.000f green:0.569f blue:0.624f alpha:1.000f],
|
|
380
380
|
[UIColor colorWithRed:1.000f green:1.000f blue:1.000f alpha:1.000f],
|
|
381
381
|
[UIColor colorWithRed:0.000f green:0.000f blue:0.000f alpha:1.000f],
|
|
382
|
-
[UIColor colorWithRed:0.098f green:0.098f blue:0.098f alpha:1.000f],
|
|
383
|
-
[UIColor colorWithRed:0.000f green:0.306f blue:0.341f alpha:1.000f],
|
|
384
382
|
[UIColor colorWithRed:0.400f green:0.400f blue:0.400f alpha:1.000f],
|
|
385
|
-
[UIColor colorWithRed:0.
|
|
383
|
+
[UIColor colorWithRed:0.933f green:0.937f blue:0.945f alpha:1.000f],
|
|
384
|
+
[UIColor colorWithRed:0.000f green:0.306f blue:0.341f alpha:1.000f],
|
|
385
|
+
[UIColor colorWithRed:0.800f green:0.800f blue:0.800f alpha:1.000f],
|
|
386
|
+
[UIColor colorWithRed:0.812f green:0.824f blue:0.847f alpha:1.000f],
|
|
387
|
+
[UIColor colorWithRed:0.200f green:0.200f blue:0.200f alpha:1.000f],
|
|
388
|
+
[UIColor colorWithRed:0.000f green:0.000f blue:0.000f alpha:1.000f],
|
|
389
|
+
[UIColor colorWithRed:0.000f green:0.000f blue:0.000f alpha:1.000f],
|
|
386
390
|
[UIColor colorWithRed:0.569f green:0.835f blue:0.859f alpha:1.000f],
|
|
387
391
|
[UIColor colorWithRed:1.000f green:1.000f blue:1.000f alpha:1.000f],
|
|
388
392
|
[UIColor colorWithRed:0.502f green:0.502f blue:0.502f alpha:1.000f],
|
|
@@ -366,12 +366,16 @@ public class StyleDictionaryColor {
|
|
|
366
366
|
public static let colorSuccess700 = UIColor(red: 0.000, green: 0.412, blue: 0.008, alpha: 1)
|
|
367
367
|
public static let colorSuccess800 = UIColor(red: 0.012, green: 0.314, blue: 0.063, alpha: 1)
|
|
368
368
|
public static let colorSuccess900 = UIColor(red: 0.008, green: 0.212, blue: 0.094, alpha: 1)
|
|
369
|
-
public static let
|
|
369
|
+
public static let colorTabsActiveBackground = UIColor(red: 0.812, green: 0.824, blue: 0.847, alpha: 1)
|
|
370
370
|
public static let colorTabsActiveDisabled = UIColor(red: 0.569, green: 0.835, blue: 0.859, alpha: 1)
|
|
371
|
+
public static let colorTabsActiveText = UIColor(red: 0.200, green: 0.200, blue: 0.200, alpha: 1)
|
|
371
372
|
public static let colorTabsBackground = UIColor(red: 1.000, green: 1.000, blue: 1.000, alpha: 1)
|
|
372
|
-
public static let colorTabsDefault = UIColor(red: 0.
|
|
373
|
-
public static let
|
|
373
|
+
public static let colorTabsDefault = UIColor(red: 0.400, green: 0.400, blue: 0.400, alpha: 1)
|
|
374
|
+
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.937, blue: 0.945, alpha: 1)
|
|
374
376
|
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.000, blue: 0.000, alpha: 1)
|
|
378
|
+
public static let colorTabsSelectedText = UIColor(red: 0.000, green: 0.000, blue: 0.000, alpha: 1)
|
|
375
379
|
public static let colorTabsShadow = UIColor(red: 0.000, green: 0.000, blue: 0.000, alpha: 1)
|
|
376
380
|
public static let colorTagLinkDarkActiveBackground = UIColor(red: 0.302, green: 0.302, blue: 0.302, alpha: 1)
|
|
377
381
|
public static let colorTagLinkDarkBackground = UIColor(red: 0.098, green: 0.098, blue: 0.098, alpha: 1)
|
|
@@ -363,10 +363,14 @@ export const ColorStepperIcon = "#00919f";
|
|
|
363
363
|
export const ColorStepperTitle = "#00919f";
|
|
364
364
|
export const ColorTabsBackground = "#ffffff";
|
|
365
365
|
export const ColorTabsShadow = "#000000";
|
|
366
|
-
export const ColorTabsDefault = "#
|
|
366
|
+
export const ColorTabsDefault = "#666666";
|
|
367
|
+
export const ColorTabsElementBackground = "#eeeff1";
|
|
367
368
|
export const ColorTabsHover = "#004e57";
|
|
368
|
-
export const
|
|
369
|
-
export const
|
|
369
|
+
export const ColorTabsDisabledBackground = "#cccccc";
|
|
370
|
+
export const ColorTabsActiveBackground = "#cfd2d8";
|
|
371
|
+
export const ColorTabsActiveText = "#333333";
|
|
372
|
+
export const ColorTabsSelectedBorder = "#000000";
|
|
373
|
+
export const ColorTabsSelectedText = "#000000";
|
|
370
374
|
export const ColorTabsActiveDisabled = "#91d5db";
|
|
371
375
|
export const ColorTagTextLightBackground = "#ffffff";
|
|
372
376
|
export const ColorTagTextLightBorder = "#808080";
|
|
@@ -7739,11 +7739,11 @@ module.exports = {
|
|
|
7739
7739
|
]
|
|
7740
7740
|
},
|
|
7741
7741
|
"default": {
|
|
7742
|
-
"value": "#
|
|
7742
|
+
"value": "#666666",
|
|
7743
7743
|
"filePath": "node_modules/@mozaic-ds/tokens/properties/color/tabs.json",
|
|
7744
7744
|
"isSource": true,
|
|
7745
7745
|
"original": {
|
|
7746
|
-
"value": "{color.font.
|
|
7746
|
+
"value": "{color.font.light.value}"
|
|
7747
7747
|
},
|
|
7748
7748
|
"name": "ColorTabsDefault",
|
|
7749
7749
|
"attributes": {
|
|
@@ -7757,6 +7757,29 @@ module.exports = {
|
|
|
7757
7757
|
"default"
|
|
7758
7758
|
]
|
|
7759
7759
|
},
|
|
7760
|
+
"element": {
|
|
7761
|
+
"background": {
|
|
7762
|
+
"value": "#eeeff1",
|
|
7763
|
+
"filePath": "node_modules/@mozaic-ds/tokens/properties/color/tabs.json",
|
|
7764
|
+
"isSource": true,
|
|
7765
|
+
"original": {
|
|
7766
|
+
"value": "{color.primary-02.100.value}"
|
|
7767
|
+
},
|
|
7768
|
+
"name": "ColorTabsElementBackground",
|
|
7769
|
+
"attributes": {
|
|
7770
|
+
"category": "color",
|
|
7771
|
+
"type": "tabs",
|
|
7772
|
+
"item": "element",
|
|
7773
|
+
"subitem": "background"
|
|
7774
|
+
},
|
|
7775
|
+
"path": [
|
|
7776
|
+
"color",
|
|
7777
|
+
"tabs",
|
|
7778
|
+
"element",
|
|
7779
|
+
"background"
|
|
7780
|
+
]
|
|
7781
|
+
}
|
|
7782
|
+
},
|
|
7760
7783
|
"hover": {
|
|
7761
7784
|
"value": "#004e57",
|
|
7762
7785
|
"filePath": "node_modules/@mozaic-ds/tokens/properties/color/tabs.json",
|
|
@@ -7777,42 +7800,115 @@ module.exports = {
|
|
|
7777
7800
|
]
|
|
7778
7801
|
},
|
|
7779
7802
|
"disabled": {
|
|
7780
|
-
"
|
|
7781
|
-
|
|
7782
|
-
|
|
7783
|
-
|
|
7784
|
-
"
|
|
7785
|
-
|
|
7786
|
-
|
|
7787
|
-
|
|
7788
|
-
"
|
|
7789
|
-
|
|
7790
|
-
|
|
7791
|
-
|
|
7792
|
-
|
|
7793
|
-
|
|
7794
|
-
"
|
|
7795
|
-
|
|
7796
|
-
|
|
7803
|
+
"background": {
|
|
7804
|
+
"value": "#cccccc",
|
|
7805
|
+
"filePath": "node_modules/@mozaic-ds/tokens/properties/color/tabs.json",
|
|
7806
|
+
"isSource": true,
|
|
7807
|
+
"original": {
|
|
7808
|
+
"value": "{color.grey.200.value}"
|
|
7809
|
+
},
|
|
7810
|
+
"name": "ColorTabsDisabledBackground",
|
|
7811
|
+
"attributes": {
|
|
7812
|
+
"category": "color",
|
|
7813
|
+
"type": "tabs",
|
|
7814
|
+
"item": "disabled",
|
|
7815
|
+
"subitem": "background"
|
|
7816
|
+
},
|
|
7817
|
+
"path": [
|
|
7818
|
+
"color",
|
|
7819
|
+
"tabs",
|
|
7820
|
+
"disabled",
|
|
7821
|
+
"background"
|
|
7822
|
+
]
|
|
7823
|
+
}
|
|
7797
7824
|
},
|
|
7798
7825
|
"active": {
|
|
7799
|
-
"
|
|
7800
|
-
|
|
7801
|
-
|
|
7802
|
-
|
|
7803
|
-
"
|
|
7826
|
+
"background": {
|
|
7827
|
+
"value": "#cfd2d8",
|
|
7828
|
+
"filePath": "node_modules/@mozaic-ds/tokens/properties/color/tabs.json",
|
|
7829
|
+
"isSource": true,
|
|
7830
|
+
"original": {
|
|
7831
|
+
"value": "{color.primary-02.200.value}"
|
|
7832
|
+
},
|
|
7833
|
+
"name": "ColorTabsActiveBackground",
|
|
7834
|
+
"attributes": {
|
|
7835
|
+
"category": "color",
|
|
7836
|
+
"type": "tabs",
|
|
7837
|
+
"item": "active",
|
|
7838
|
+
"subitem": "background"
|
|
7839
|
+
},
|
|
7840
|
+
"path": [
|
|
7841
|
+
"color",
|
|
7842
|
+
"tabs",
|
|
7843
|
+
"active",
|
|
7844
|
+
"background"
|
|
7845
|
+
]
|
|
7804
7846
|
},
|
|
7805
|
-
"
|
|
7806
|
-
|
|
7807
|
-
"
|
|
7808
|
-
"
|
|
7809
|
-
"
|
|
7847
|
+
"text": {
|
|
7848
|
+
"value": "#333333",
|
|
7849
|
+
"filePath": "node_modules/@mozaic-ds/tokens/properties/color/tabs.json",
|
|
7850
|
+
"isSource": true,
|
|
7851
|
+
"original": {
|
|
7852
|
+
"value": "{color.font.dark.value}"
|
|
7853
|
+
},
|
|
7854
|
+
"name": "ColorTabsActiveText",
|
|
7855
|
+
"attributes": {
|
|
7856
|
+
"category": "color",
|
|
7857
|
+
"type": "tabs",
|
|
7858
|
+
"item": "active",
|
|
7859
|
+
"subitem": "text"
|
|
7860
|
+
},
|
|
7861
|
+
"path": [
|
|
7862
|
+
"color",
|
|
7863
|
+
"tabs",
|
|
7864
|
+
"active",
|
|
7865
|
+
"text"
|
|
7866
|
+
]
|
|
7867
|
+
}
|
|
7868
|
+
},
|
|
7869
|
+
"selected": {
|
|
7870
|
+
"border": {
|
|
7871
|
+
"value": "#000000",
|
|
7872
|
+
"filePath": "node_modules/@mozaic-ds/tokens/properties/color/tabs.json",
|
|
7873
|
+
"isSource": true,
|
|
7874
|
+
"original": {
|
|
7875
|
+
"value": "{color.grey.999.value}"
|
|
7876
|
+
},
|
|
7877
|
+
"name": "ColorTabsSelectedBorder",
|
|
7878
|
+
"attributes": {
|
|
7879
|
+
"category": "color",
|
|
7880
|
+
"type": "tabs",
|
|
7881
|
+
"item": "selected",
|
|
7882
|
+
"subitem": "border"
|
|
7883
|
+
},
|
|
7884
|
+
"path": [
|
|
7885
|
+
"color",
|
|
7886
|
+
"tabs",
|
|
7887
|
+
"selected",
|
|
7888
|
+
"border"
|
|
7889
|
+
]
|
|
7810
7890
|
},
|
|
7811
|
-
"
|
|
7812
|
-
"
|
|
7813
|
-
"tabs",
|
|
7814
|
-
"
|
|
7815
|
-
|
|
7891
|
+
"text": {
|
|
7892
|
+
"value": "#000000",
|
|
7893
|
+
"filePath": "node_modules/@mozaic-ds/tokens/properties/color/tabs.json",
|
|
7894
|
+
"isSource": true,
|
|
7895
|
+
"original": {
|
|
7896
|
+
"value": "{color.font.darkest.value}"
|
|
7897
|
+
},
|
|
7898
|
+
"name": "ColorTabsSelectedText",
|
|
7899
|
+
"attributes": {
|
|
7900
|
+
"category": "color",
|
|
7901
|
+
"type": "tabs",
|
|
7902
|
+
"item": "selected",
|
|
7903
|
+
"subitem": "text"
|
|
7904
|
+
},
|
|
7905
|
+
"path": [
|
|
7906
|
+
"color",
|
|
7907
|
+
"tabs",
|
|
7908
|
+
"selected",
|
|
7909
|
+
"text"
|
|
7910
|
+
]
|
|
7911
|
+
}
|
|
7816
7912
|
},
|
|
7817
7913
|
"active-disabled": {
|
|
7818
7914
|
"value": "#91d5db",
|
|
@@ -364,10 +364,14 @@ $color-stepper-icon: #00919f !default;
|
|
|
364
364
|
$color-stepper-title: #00919f !default;
|
|
365
365
|
$color-tabs-background: #ffffff !default;
|
|
366
366
|
$color-tabs-shadow: #000000 !default;
|
|
367
|
-
$color-tabs-default: #
|
|
367
|
+
$color-tabs-default: #666666 !default;
|
|
368
|
+
$color-tabs-element-background: #eeeff1 !default;
|
|
368
369
|
$color-tabs-hover: #004e57 !default;
|
|
369
|
-
$color-tabs-disabled: #
|
|
370
|
-
$color-tabs-active: #
|
|
370
|
+
$color-tabs-disabled-background: #cccccc !default;
|
|
371
|
+
$color-tabs-active-background: #cfd2d8 !default;
|
|
372
|
+
$color-tabs-active-text: #333333 !default;
|
|
373
|
+
$color-tabs-selected-border: #000000 !default;
|
|
374
|
+
$color-tabs-selected-text: #000000 !default;
|
|
371
375
|
$color-tabs-active-disabled: #91d5db !default;
|
|
372
376
|
$color-tag-text-light-background: #ffffff !default;
|
|
373
377
|
$color-tag-text-light-border: #808080 !default;
|
|
@@ -1199,9 +1203,21 @@ $tokens: (
|
|
|
1199
1203
|
'background': $color-tabs-background,
|
|
1200
1204
|
'shadow': $color-tabs-shadow,
|
|
1201
1205
|
'default': $color-tabs-default,
|
|
1206
|
+
'element': (
|
|
1207
|
+
'background': $color-tabs-element-background
|
|
1208
|
+
),
|
|
1202
1209
|
'hover': $color-tabs-hover,
|
|
1203
|
-
'disabled':
|
|
1204
|
-
|
|
1210
|
+
'disabled': (
|
|
1211
|
+
'background': $color-tabs-disabled-background
|
|
1212
|
+
),
|
|
1213
|
+
'active': (
|
|
1214
|
+
'background': $color-tabs-active-background,
|
|
1215
|
+
'text': $color-tabs-active-text
|
|
1216
|
+
),
|
|
1217
|
+
'selected': (
|
|
1218
|
+
'border': $color-tabs-selected-border,
|
|
1219
|
+
'text': $color-tabs-selected-text
|
|
1220
|
+
),
|
|
1205
1221
|
'active-disabled': $color-tabs-active-disabled
|
|
1206
1222
|
),
|
|
1207
1223
|
'tag': (
|