@mozaic-ds/vue 0.39.1-beta.0 → 0.40.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/mozaic-vue.adeo.css +10 -10
- package/dist/mozaic-vue.adeo.umd.js +515 -361
- package/dist/mozaic-vue.common.js +515 -361
- package/dist/mozaic-vue.common.js.map +1 -1
- package/dist/mozaic-vue.css +1 -1
- package/dist/mozaic-vue.umd.js +515 -361
- 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 +10 -10
- package/src/components/accordion/MAccordion.vue +1 -1
- package/src/components/autocomplete/MAutocomplete.vue +0 -18
- package/src/components/badge/MBadge.vue +2 -2
- package/src/components/breadcrumb/MBreadcrumb.vue +2 -2
- package/src/components/button/MButton.vue +8 -2
- package/src/components/card/MCard.vue +9 -4
- package/src/components/checkbox/MCheckbox.vue +1 -1
- package/src/components/datatable/MDataTable.vue +243 -33
- package/src/components/field/MField.vue +2 -2
- package/src/components/fileuploader/MFileResult.vue +2 -6
- package/src/components/fileuploader/MFileUploader.vue +2 -2
- package/src/components/flag/MFlag.vue +2 -2
- package/src/components/heading/MHeading.vue +2 -2
- package/src/components/hero/MHero.vue +6 -12
- package/src/components/layer/MLayer.vue +2 -10
- package/src/components/modal/MModal.vue +2 -2
- package/src/components/notification/MNotification.vue +2 -2
- package/src/components/optionbutton/MOptionButton.vue +1 -1
- package/src/components/optioncard/MOptionCard.vue +0 -28
- package/src/components/passwordinput/MPasswordInput.vue +3 -3
- package/src/components/phonenumber/MPhoneNumber.vue +3 -3
- package/src/components/progressbar/MProgress.vue +2 -2
- package/src/components/quantityselector/MQuantitySelector.vue +2 -2
- package/src/components/radio/MRadio.vue +2 -2
- package/src/components/ratingstars/MStarsInput.vue +2 -2
- package/src/components/ratingstars/MStarsResult.vue +2 -2
- package/src/components/select/MSelect.vue +2 -2
- package/src/components/stepper/MStepper.vue +7 -3
- package/src/components/tags/MTag.vue +2 -2
- package/src/components/textarea/MTextArea.vue +2 -2
- package/src/components/textinput/MTextInputField.vue +2 -2
- package/src/components/textinput/MTextInputIcon.vue +2 -2
- package/src/components/toggle/MToggle.vue +1 -1
- package/src/components/tooltip/MTooltip.vue +2 -2
- package/src/tokens/adeo/android/colors.xml +13 -1
- package/src/tokens/adeo/css/_variables.scss +13 -1
- package/src/tokens/adeo/css/root.scss +13 -1
- package/src/tokens/adeo/ios/StyleDictionaryColor.h +12 -0
- package/src/tokens/adeo/ios/StyleDictionaryColor.m +13 -1
- package/src/tokens/adeo/ios/StyleDictionaryColor.swift +13 -1
- package/src/tokens/adeo/js/tokens.js +13 -1
- package/src/tokens/adeo/js/tokensObject.js +274 -4
- package/src/tokens/adeo/scss/_tokens.scss +41 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mozaic-ds/vue",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.40.0",
|
|
4
4
|
"description": "Vue.js implementation of Mozaic Design System",
|
|
5
5
|
"author": "Adeo - Mozaic Design System",
|
|
6
6
|
"scripts": {
|
|
@@ -26,30 +26,30 @@
|
|
|
26
26
|
"@linusborg/vue-simple-portal": "^0.1.5",
|
|
27
27
|
"@mozaic-ds/css-dev-tools": "1.54.0",
|
|
28
28
|
"@mozaic-ds/icons": "1.54.0",
|
|
29
|
-
"@mozaic-ds/styles": "1.
|
|
29
|
+
"@mozaic-ds/styles": "1.55.0",
|
|
30
30
|
"@mozaic-ds/web-fonts": "1.22.0",
|
|
31
|
-
"core-js": "^3.
|
|
32
|
-
"libphonenumber-js": "^1.10.
|
|
31
|
+
"core-js": "^3.29.1",
|
|
32
|
+
"libphonenumber-js": "^1.10.21",
|
|
33
33
|
"vue": "^2.6.14",
|
|
34
34
|
"vue-country-flag": "2.3.2"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"@babel/core": "^7.
|
|
37
|
+
"@babel/core": "^7.21.0",
|
|
38
38
|
"@babel/eslint-parser": "^7.19.1",
|
|
39
39
|
"@rushstack/eslint-patch": "^1.2.0",
|
|
40
40
|
"@vue/cli-plugin-babel": "~5.0.8",
|
|
41
41
|
"@vue/cli-service": "~5.0.8",
|
|
42
|
-
"@vue/compiler-sfc": "^3.2.
|
|
43
|
-
"@vue/eslint-config-prettier": "^7.
|
|
42
|
+
"@vue/compiler-sfc": "^3.2.47",
|
|
43
|
+
"@vue/eslint-config-prettier": "^7.1.0",
|
|
44
44
|
"babel-eslint": "^10.1.0",
|
|
45
|
-
"eslint": "^8.
|
|
46
|
-
"eslint-config-prettier": "^8.
|
|
45
|
+
"eslint": "^8.36.0",
|
|
46
|
+
"eslint-config-prettier": "^8.7.0",
|
|
47
47
|
"eslint-plugin-vue": "^9.9.0",
|
|
48
48
|
"postcss": "^8.4.21",
|
|
49
49
|
"postcss-loader": "^7.0.2",
|
|
50
50
|
"postcss-scss": "^4.0.6",
|
|
51
51
|
"prettier": "^2.8.4",
|
|
52
|
-
"sass": "^1.
|
|
52
|
+
"sass": "^1.59.2",
|
|
53
53
|
"sass-loader": "^13.2.0",
|
|
54
54
|
"vue-template-compiler": "^2.7.14"
|
|
55
55
|
},
|
|
@@ -418,22 +418,4 @@ export default {
|
|
|
418
418
|
<style lang="scss">
|
|
419
419
|
@import 'settings-tools/all-settings';
|
|
420
420
|
@import 'components/c.autocomplete';
|
|
421
|
-
|
|
422
|
-
.mc-autocomplete {
|
|
423
|
-
&__main {
|
|
424
|
-
position: relative;
|
|
425
|
-
}
|
|
426
|
-
|
|
427
|
-
&__error {
|
|
428
|
-
@include set-font-scale('04', 'm');
|
|
429
|
-
|
|
430
|
-
color: $color-fields-error;
|
|
431
|
-
display: inline-block;
|
|
432
|
-
margin-top: $mu025;
|
|
433
|
-
}
|
|
434
|
-
|
|
435
|
-
.mc-autocomplete__trigger {
|
|
436
|
-
padding-right: $mu300;
|
|
437
|
-
}
|
|
438
|
-
}
|
|
439
421
|
</style>
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<a
|
|
2
|
+
<a
|
|
3
|
+
v-if="href"
|
|
4
|
+
:href="href"
|
|
5
|
+
class="mc-button"
|
|
6
|
+
:class="setClasses"
|
|
7
|
+
:aria-label="ariaLabel"
|
|
8
|
+
>
|
|
3
9
|
<m-icon
|
|
4
10
|
v-if="icon && iconPosition === 'left'"
|
|
5
11
|
:id="`mc-button__${iconPosition}-icon-${id}`"
|
|
@@ -164,6 +170,6 @@ export default {
|
|
|
164
170
|
</script>
|
|
165
171
|
|
|
166
172
|
<style lang="scss">
|
|
167
|
-
@import 'settings-tools/
|
|
173
|
+
@import 'settings-tools/all-settings';
|
|
168
174
|
@import 'components/c.button';
|
|
169
175
|
</style>
|
|
@@ -4,7 +4,12 @@
|
|
|
4
4
|
class="mc-card__visual"
|
|
5
5
|
:class="imageratio ? `mc-card__visual--${imageratio}` : ''"
|
|
6
6
|
>
|
|
7
|
-
<img
|
|
7
|
+
<img
|
|
8
|
+
:src="imgSrc"
|
|
9
|
+
:loading="lazy ? 'lazy' : 'eager'"
|
|
10
|
+
:alt="imgAlt"
|
|
11
|
+
class="mc-card__img"
|
|
12
|
+
/>
|
|
8
13
|
<slot name="image" />
|
|
9
14
|
</figure>
|
|
10
15
|
<article class="mc-card__content">
|
|
@@ -39,7 +44,7 @@ export default {
|
|
|
39
44
|
},
|
|
40
45
|
lazy: {
|
|
41
46
|
type: Boolean,
|
|
42
|
-
default: false
|
|
47
|
+
default: false,
|
|
43
48
|
},
|
|
44
49
|
outlined: {
|
|
45
50
|
type: Boolean,
|
|
@@ -73,6 +78,6 @@ export default {
|
|
|
73
78
|
</script>
|
|
74
79
|
|
|
75
80
|
<style lang="scss">
|
|
76
|
-
@import 'settings-tools/
|
|
77
|
-
@import 'components/
|
|
81
|
+
@import 'settings-tools/all-settings';
|
|
82
|
+
@import 'components/c.card';
|
|
78
83
|
</style>
|
|
@@ -7,6 +7,13 @@
|
|
|
7
7
|
<table aria-describedby="data" :class="getTableClasses">
|
|
8
8
|
<thead>
|
|
9
9
|
<tr v-if="!hideHeader">
|
|
10
|
+
<th
|
|
11
|
+
v-if="expandable"
|
|
12
|
+
scope="col"
|
|
13
|
+
class="mc-datatable__cell-button"
|
|
14
|
+
>
|
|
15
|
+
|
|
16
|
+
</th>
|
|
10
17
|
<th
|
|
11
18
|
v-for="(header, index) in getHeaders"
|
|
12
19
|
:key="`header-${index}`"
|
|
@@ -40,30 +47,68 @@
|
|
|
40
47
|
</tr>
|
|
41
48
|
</thead>
|
|
42
49
|
<tbody>
|
|
43
|
-
<
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
>
|
|
48
|
-
<td
|
|
49
|
-
v-for="(header, index) in getHeaders"
|
|
50
|
-
:key="`${index}-${getItemValue(item, dataKeyExpr)}-${
|
|
51
|
-
header.dataFieldExpr
|
|
52
|
-
}`"
|
|
53
|
-
:class="header.cssClass"
|
|
54
|
-
@click="
|
|
55
|
-
allowRowClick && onRowClick({ event: $event, item: item })
|
|
56
|
-
"
|
|
50
|
+
<template v-for="(item, rowIndex) in getSource">
|
|
51
|
+
<tr
|
|
52
|
+
:key="item[dataKeyExpr]"
|
|
53
|
+
:class="[rowClasses(item), parentRowClasses]"
|
|
57
54
|
>
|
|
58
|
-
<
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
55
|
+
<td v-if="expandable">
|
|
56
|
+
<button
|
|
57
|
+
v-if="expandableList?.includes(item.id) || !expandableList"
|
|
58
|
+
type="button"
|
|
59
|
+
class="mc-datatable__expand mc-datatable__btn"
|
|
60
|
+
@click="onClickExpander($event, item, rowIndex)"
|
|
61
|
+
>
|
|
62
|
+
<span class="mc-datatable__btn-label">
|
|
63
|
+
{{ expanderAccessibleLabel }}
|
|
64
|
+
</span>
|
|
65
|
+
<MIcon
|
|
66
|
+
name="ControlCircleMore24"
|
|
67
|
+
class="mc-datatable__btn-icon expand-more"
|
|
68
|
+
/>
|
|
69
|
+
<MIcon
|
|
70
|
+
name="ControlCircleLess24"
|
|
71
|
+
class="mc-datatable__btn-icon expand-less"
|
|
72
|
+
/>
|
|
73
|
+
</button>
|
|
74
|
+
</td>
|
|
75
|
+
<td
|
|
76
|
+
v-for="(header, index) in getHeaders"
|
|
77
|
+
:key="`${index}-${getItemValue(item, dataKeyExpr)}-${
|
|
78
|
+
header.dataFieldExpr
|
|
79
|
+
}`"
|
|
80
|
+
:class="header.cssClass"
|
|
81
|
+
@click="
|
|
82
|
+
allowRowClick && onRowClick({ event: $event, item: item })
|
|
83
|
+
"
|
|
62
84
|
>
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
85
|
+
<slot
|
|
86
|
+
:name="`item.${header.dataFieldExpr}`"
|
|
87
|
+
:item="item"
|
|
88
|
+
:index="rowIndex"
|
|
89
|
+
>
|
|
90
|
+
{{ getItemValue(item, header.dataFieldExpr) }}
|
|
91
|
+
</slot>
|
|
92
|
+
</td>
|
|
93
|
+
</tr>
|
|
94
|
+
<tr
|
|
95
|
+
v-if="expandable"
|
|
96
|
+
:key="'subrow' + item[dataKeyExpr]"
|
|
97
|
+
class="mc-datatable__row-expandable"
|
|
98
|
+
:class="expandableRowClasses"
|
|
99
|
+
>
|
|
100
|
+
<td :colspan="getHeaders.length + 1">
|
|
101
|
+
<div class="mc-datatable__row-inner">
|
|
102
|
+
<slot
|
|
103
|
+
name="expandContent"
|
|
104
|
+
:item="item"
|
|
105
|
+
:row-index="rowIndex"
|
|
106
|
+
>
|
|
107
|
+
</slot>
|
|
108
|
+
</div>
|
|
109
|
+
</td>
|
|
110
|
+
</tr>
|
|
111
|
+
</template>
|
|
67
112
|
<tr v-if="getSource.length == 0">
|
|
68
113
|
<td :colspan="getHeaders.length">
|
|
69
114
|
<slot name="no-data" />
|
|
@@ -300,6 +345,25 @@ export default {
|
|
|
300
345
|
type: [String, Function, Object],
|
|
301
346
|
default: '',
|
|
302
347
|
},
|
|
348
|
+
|
|
349
|
+
/** Set datatable size. */
|
|
350
|
+
size: {
|
|
351
|
+
type: String,
|
|
352
|
+
default: null,
|
|
353
|
+
validator: (value) => ['s', 'l'].includes(value),
|
|
354
|
+
},
|
|
355
|
+
expandable: {
|
|
356
|
+
type: Boolean,
|
|
357
|
+
default: false,
|
|
358
|
+
},
|
|
359
|
+
expandableList: {
|
|
360
|
+
type: Array,
|
|
361
|
+
default: undefined,
|
|
362
|
+
},
|
|
363
|
+
expanderAccessibleLabel: {
|
|
364
|
+
type: String,
|
|
365
|
+
default: 'Déplier la ligne',
|
|
366
|
+
},
|
|
303
367
|
},
|
|
304
368
|
|
|
305
369
|
data() {
|
|
@@ -333,6 +397,8 @@ export default {
|
|
|
333
397
|
getClasses() {
|
|
334
398
|
return {
|
|
335
399
|
'mc-data-table--fixed-header': this.fixedHeader,
|
|
400
|
+
'mc-data-table--s': this.size === 's',
|
|
401
|
+
'mc-data-table--l': this.size === 'l',
|
|
336
402
|
};
|
|
337
403
|
},
|
|
338
404
|
|
|
@@ -388,6 +454,18 @@ export default {
|
|
|
388
454
|
const on = skip + take;
|
|
389
455
|
return `${skip + 1} - ${on >= this.total ? this.total : on}`;
|
|
390
456
|
},
|
|
457
|
+
|
|
458
|
+
parentRowClasses() {
|
|
459
|
+
return {
|
|
460
|
+
'mc-datatable__row-parent': this.expandable,
|
|
461
|
+
};
|
|
462
|
+
},
|
|
463
|
+
|
|
464
|
+
expandableRowClasses() {
|
|
465
|
+
return {
|
|
466
|
+
'mc-datatable__row-expandable--offset-1': this.expandable,
|
|
467
|
+
};
|
|
468
|
+
},
|
|
391
469
|
},
|
|
392
470
|
|
|
393
471
|
watch: {
|
|
@@ -591,20 +669,37 @@ export default {
|
|
|
591
669
|
onRowClick(e) {
|
|
592
670
|
this.$emit('row-click', e);
|
|
593
671
|
},
|
|
672
|
+
|
|
673
|
+
onClickExpander(e, rowData, rowIndex) {
|
|
674
|
+
const button = e.currentTarget;
|
|
675
|
+
const row = button.closest('tr');
|
|
676
|
+
|
|
677
|
+
button.classList.toggle('is-expand');
|
|
678
|
+
row.classList.toggle('mc-datatable__row-parent--expanded');
|
|
679
|
+
|
|
680
|
+
const isExpanded = button.classList.contains('is-expand');
|
|
681
|
+
|
|
682
|
+
const eventName = isExpanded ? 'expand-row' : 'retract-row';
|
|
683
|
+
const eventArg = { data: rowData, index: rowIndex };
|
|
684
|
+
|
|
685
|
+
this.$emit(eventName, eventArg);
|
|
686
|
+
},
|
|
594
687
|
},
|
|
595
688
|
};
|
|
596
689
|
</script>
|
|
597
690
|
|
|
598
691
|
<style lang="scss">
|
|
599
692
|
/* stylelint-disable */
|
|
600
|
-
@import 'settings-tools/
|
|
693
|
+
@import 'settings-tools/all-settings';
|
|
694
|
+
@import 'components/c.datatable-tools';
|
|
695
|
+
@import 'components/c.datatable-subtable';
|
|
601
696
|
|
|
602
697
|
.mc-data-table {
|
|
603
698
|
@include set-font-family;
|
|
604
699
|
|
|
605
700
|
$parent: get-parent-selector(&);
|
|
606
701
|
|
|
607
|
-
background-color: $color-
|
|
702
|
+
background-color: $color-datatable-container-background;
|
|
608
703
|
box-sizing: border-box;
|
|
609
704
|
|
|
610
705
|
*,
|
|
@@ -654,7 +749,7 @@ export default {
|
|
|
654
749
|
|
|
655
750
|
&::after,
|
|
656
751
|
&::before {
|
|
657
|
-
background-color: $color-
|
|
752
|
+
background-color: $color-datatable-sort-arrow-default;
|
|
658
753
|
content: '';
|
|
659
754
|
flex-shrink: 0;
|
|
660
755
|
height: $mu050;
|
|
@@ -671,13 +766,13 @@ export default {
|
|
|
671
766
|
|
|
672
767
|
&.asc {
|
|
673
768
|
&::before {
|
|
674
|
-
background-color: $color-
|
|
769
|
+
background-color: $color-datatable-sort-arrow-active;
|
|
675
770
|
}
|
|
676
771
|
}
|
|
677
772
|
|
|
678
773
|
&.desc {
|
|
679
774
|
&::after {
|
|
680
|
-
background-color: $color-
|
|
775
|
+
background-color: $color-datatable-sort-arrow-active;
|
|
681
776
|
}
|
|
682
777
|
}
|
|
683
778
|
|
|
@@ -693,19 +788,19 @@ export default {
|
|
|
693
788
|
tbody {
|
|
694
789
|
tr {
|
|
695
790
|
&:hover {
|
|
696
|
-
background-color: $color-
|
|
791
|
+
background-color: $color-datatable-cell-background-hover;
|
|
697
792
|
}
|
|
698
793
|
|
|
699
794
|
&.mc-data-table__body__row--clickable {
|
|
700
795
|
cursor: pointer;
|
|
701
796
|
|
|
702
797
|
&:active {
|
|
703
|
-
background-color: $color-
|
|
798
|
+
background-color: $color-datatable-cell-background-selected;
|
|
704
799
|
}
|
|
705
800
|
}
|
|
706
801
|
|
|
707
802
|
&.row-selected {
|
|
708
|
-
background-color: $color-
|
|
803
|
+
background-color: $color-datatable-cell-background-selected;
|
|
709
804
|
}
|
|
710
805
|
}
|
|
711
806
|
|
|
@@ -713,7 +808,7 @@ export default {
|
|
|
713
808
|
td {
|
|
714
809
|
@include set-font-scale('04', 'm'); // 14px / 18px
|
|
715
810
|
|
|
716
|
-
color: $color-
|
|
811
|
+
color: $color-datatable-cell-font;
|
|
717
812
|
}
|
|
718
813
|
}
|
|
719
814
|
|
|
@@ -728,6 +823,88 @@ export default {
|
|
|
728
823
|
vertical-align: middle;
|
|
729
824
|
padding: 0 $mu100;
|
|
730
825
|
}
|
|
826
|
+
|
|
827
|
+
.mc-datatable__row {
|
|
828
|
+
$datatable-row: &;
|
|
829
|
+
|
|
830
|
+
&-parent:not(.mc-datatable__row-parent--expanded)
|
|
831
|
+
+ .mc-datatable__row-expandable {
|
|
832
|
+
height: 0;
|
|
833
|
+
|
|
834
|
+
.mc-datatable__row-inner {
|
|
835
|
+
overflow: hidden;
|
|
836
|
+
max-height: 0;
|
|
837
|
+
}
|
|
838
|
+
}
|
|
839
|
+
|
|
840
|
+
&-parent.mc-datatable__row-parent--expanded
|
|
841
|
+
+ .mc-datatable__row-expandable {
|
|
842
|
+
.mc-datatable__row-inner {
|
|
843
|
+
max-height: 100%;
|
|
844
|
+
}
|
|
845
|
+
}
|
|
846
|
+
|
|
847
|
+
&-expandable {
|
|
848
|
+
height: auto;
|
|
849
|
+
|
|
850
|
+
& > td {
|
|
851
|
+
padding: 0;
|
|
852
|
+
border-bottom: 0;
|
|
853
|
+
}
|
|
854
|
+
|
|
855
|
+
&--offset {
|
|
856
|
+
&-1 {
|
|
857
|
+
table {
|
|
858
|
+
th:first-child,
|
|
859
|
+
td:first-child {
|
|
860
|
+
padding-left: $width-cell-checkbox + $mu100;
|
|
861
|
+
}
|
|
862
|
+
}
|
|
863
|
+
}
|
|
864
|
+
|
|
865
|
+
&-2 {
|
|
866
|
+
table {
|
|
867
|
+
th:first-child,
|
|
868
|
+
td:first-child {
|
|
869
|
+
padding-left: $width-cell-checkbox + $width-cell-button +
|
|
870
|
+
$mu100;
|
|
871
|
+
}
|
|
872
|
+
}
|
|
873
|
+
}
|
|
874
|
+
}
|
|
875
|
+
}
|
|
876
|
+
|
|
877
|
+
&__inner,
|
|
878
|
+
&-inner {
|
|
879
|
+
background-color: $color-datatable-subtable-background;
|
|
880
|
+
}
|
|
881
|
+
}
|
|
882
|
+
}
|
|
883
|
+
}
|
|
884
|
+
|
|
885
|
+
&--s {
|
|
886
|
+
#{$parent} {
|
|
887
|
+
&__body {
|
|
888
|
+
table {
|
|
889
|
+
th,
|
|
890
|
+
tr {
|
|
891
|
+
height: $height-datatable-cell-size-s;
|
|
892
|
+
}
|
|
893
|
+
}
|
|
894
|
+
}
|
|
895
|
+
}
|
|
896
|
+
}
|
|
897
|
+
|
|
898
|
+
&--l {
|
|
899
|
+
#{$parent} {
|
|
900
|
+
&__body {
|
|
901
|
+
table {
|
|
902
|
+
th,
|
|
903
|
+
tr {
|
|
904
|
+
height: $height-datatable-cell-size-l;
|
|
905
|
+
}
|
|
906
|
+
}
|
|
907
|
+
}
|
|
731
908
|
}
|
|
732
909
|
}
|
|
733
910
|
|
|
@@ -765,7 +942,6 @@ export default {
|
|
|
765
942
|
}
|
|
766
943
|
|
|
767
944
|
// footer
|
|
768
|
-
|
|
769
945
|
&__footer {
|
|
770
946
|
@include set-box-shadow('s');
|
|
771
947
|
|
|
@@ -805,9 +981,43 @@ export default {
|
|
|
805
981
|
@include set-border-radius();
|
|
806
982
|
@include set-box-shadow('s');
|
|
807
983
|
|
|
808
|
-
background-color: $color-
|
|
984
|
+
background-color: $color-datatable-container-background;
|
|
809
985
|
overflow: hidden;
|
|
810
986
|
}
|
|
987
|
+
|
|
988
|
+
&__cell {
|
|
989
|
+
&-checkbox {
|
|
990
|
+
width: $width-cell-checkbox;
|
|
991
|
+
}
|
|
992
|
+
|
|
993
|
+
&-button {
|
|
994
|
+
width: $width-cell-button;
|
|
995
|
+
}
|
|
996
|
+
|
|
997
|
+
&-field {
|
|
998
|
+
min-width: $width-cell-field;
|
|
999
|
+
}
|
|
1000
|
+
|
|
1001
|
+
&-number {
|
|
1002
|
+
@at-root td#{&} {
|
|
1003
|
+
text-align: right;
|
|
1004
|
+
}
|
|
1005
|
+
}
|
|
1006
|
+
}
|
|
1007
|
+
|
|
1008
|
+
&__expand {
|
|
1009
|
+
&:not(.is-expand) {
|
|
1010
|
+
.expand-less {
|
|
1011
|
+
display: none;
|
|
1012
|
+
}
|
|
1013
|
+
}
|
|
1014
|
+
|
|
1015
|
+
&.is-expand {
|
|
1016
|
+
.expand-more {
|
|
1017
|
+
display: none;
|
|
1018
|
+
}
|
|
1019
|
+
}
|
|
1020
|
+
}
|
|
811
1021
|
}
|
|
812
1022
|
/* stylelint-enable */
|
|
813
1023
|
</style>
|
|
@@ -140,10 +140,6 @@ export default {
|
|
|
140
140
|
</script>
|
|
141
141
|
|
|
142
142
|
<style lang="scss">
|
|
143
|
-
@import 'settings-tools/
|
|
144
|
-
@import 'components/
|
|
145
|
-
|
|
146
|
-
.mc-fileuploader__file {
|
|
147
|
-
box-sizing: content-box;
|
|
148
|
-
}
|
|
143
|
+
@import 'settings-tools/all-settings';
|
|
144
|
+
@import 'components/c.file-uploader';
|
|
149
145
|
</style>
|
|
@@ -22,13 +22,7 @@
|
|
|
22
22
|
<div class="mc-hero__header">
|
|
23
23
|
<component
|
|
24
24
|
:is="titleTag"
|
|
25
|
-
class="
|
|
26
|
-
mc-hero__title
|
|
27
|
-
mt-heading
|
|
28
|
-
mt-heading--lightest
|
|
29
|
-
mt-heading--s
|
|
30
|
-
mt-heading--underline
|
|
31
|
-
"
|
|
25
|
+
class="mc-hero__title mt-heading mt-heading--lightest mt-heading--s mt-heading--underline"
|
|
32
26
|
:class="{ 'mt-heading--center': center }"
|
|
33
27
|
>
|
|
34
28
|
{{ title }}
|
|
@@ -85,9 +79,9 @@ export default {
|
|
|
85
79
|
</script>
|
|
86
80
|
|
|
87
81
|
<style lang="scss">
|
|
88
|
-
@import 'settings-tools/
|
|
89
|
-
@import 'typography/
|
|
90
|
-
@import 'layouts/
|
|
91
|
-
@import 'layouts/
|
|
92
|
-
@import 'components/
|
|
82
|
+
@import 'settings-tools/all-settings';
|
|
83
|
+
@import 'typography/t.all-base-typography';
|
|
84
|
+
@import 'layouts/l.container';
|
|
85
|
+
@import 'layouts/l.flexy';
|
|
86
|
+
@import 'components/c.hero';
|
|
93
87
|
</style>
|
|
@@ -195,14 +195,6 @@ export default {
|
|
|
195
195
|
</script>
|
|
196
196
|
|
|
197
197
|
<style lang="scss">
|
|
198
|
-
@import 'settings-tools/
|
|
199
|
-
@import 'components/
|
|
200
|
-
|
|
201
|
-
// NOTE: temporary fix
|
|
202
|
-
.mc-layer__body--overflowing,
|
|
203
|
-
.mc-layer__body--overflowing-scroll-edge {
|
|
204
|
-
&::after {
|
|
205
|
-
pointer-events: none;
|
|
206
|
-
}
|
|
207
|
-
}
|
|
198
|
+
@import 'settings-tools/all-settings';
|
|
199
|
+
@import 'components/c.layer';
|
|
208
200
|
</style>
|