@farm-investimentos/front-mfe-components-vue3 0.6.1 → 0.7.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/front-mfe-components.common.js +224 -134
- package/dist/front-mfe-components.common.js.map +1 -1
- package/dist/front-mfe-components.css +1 -1
- package/dist/front-mfe-components.umd.js +224 -134
- package/dist/front-mfe-components.umd.js.map +1 -1
- package/dist/front-mfe-components.umd.min.js +1 -1
- package/dist/front-mfe-components.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/components/ChipInviteStatus/keys.ts +9 -9
- package/src/components/ContextMenu/ContextMenu.stories.js +0 -4
- package/src/components/DatePicker/DatePicker.vue +3 -1
- package/src/components/InputDecimalFormatter/__tests__/InputMoney.spec.js +6 -3
- package/src/components/ListItem/ListItem.scss +54 -8
- package/src/components/ListItem/ListItem.vue +2 -2
- package/src/components/MainFilter/MainFilter.vue +1 -0
- package/src/components/Modal/Modal.vue +6 -10
- package/src/components/Modal/__tests__/Modal.spec.js +10 -0
- package/src/components/ModalPromptUser/ModalPromptUser.vue +1 -1
- package/src/components/ModalPromptUser/__tests__/ModalPromptUser.spec.js +1 -1
- package/src/components/RadioGroup/__tests__/RadioGroup.spec.js +1 -1
- package/src/components/Select/Select.scss +5 -5
- package/src/components/Select/Select.stories.js +74 -0
- package/src/components/Select/Select.vue +166 -64
- package/src/components/Select/__tests__/Select.spec.js +62 -1
- package/src/components/Select/__tests__/selectItemHandler.spec.js +93 -0
- package/src/components/Select/composition/buildData.ts +2 -0
- package/src/components/Select/composition/index.ts +3 -1
- package/src/components/Select/composition/selectItemHandler.ts +60 -0
- package/src/components/Select/composition/watchAllChecked.ts +23 -0
- package/src/components/SelectAutoComplete/SelectAutoComplete.vue +1 -1
- package/src/components/SelectAutoComplete/__tests__/SelectAutoComplete.spec.js +1 -1
- package/src/components/TextArea/__tests__/TextArea.spec.js +5 -1
- package/src/interfaces/ISelectItem.ts +5 -0
- package/src/scss/Sticky-table.scss +13 -10
|
@@ -19,6 +19,11 @@ $defaultLefts: 0, 4rem, 4rem;
|
|
|
19
19
|
border-bottom: none;
|
|
20
20
|
}
|
|
21
21
|
|
|
22
|
+
th.v-data-table__th .v-selection-control,
|
|
23
|
+
tr.v-data-table__tr .v-selection-control {
|
|
24
|
+
padding-left: 12px;
|
|
25
|
+
}
|
|
26
|
+
|
|
22
27
|
.v-table__wrapper {
|
|
23
28
|
border-top: 1px solid var(--farm-gray-lighten);
|
|
24
29
|
border-bottom: 1px solid var(--farm-gray-lighten);
|
|
@@ -35,17 +40,15 @@ $defaultLefts: 0, 4rem, 4rem;
|
|
|
35
40
|
}
|
|
36
41
|
}
|
|
37
42
|
|
|
38
|
-
&.v-table__wrapper
|
|
39
|
-
|
|
40
|
-
>
|
|
41
|
-
>thead>tr>th:first-child {
|
|
43
|
+
&.v-table__wrapper > .v-table__wrapper > table {
|
|
44
|
+
> tbody > tr > td:first-child,
|
|
45
|
+
> thead > tr > th:first-child {
|
|
42
46
|
padding-left: 24px;
|
|
43
47
|
}
|
|
44
48
|
}
|
|
45
49
|
|
|
46
50
|
@if $columns >0 {
|
|
47
51
|
@for $i from 1 through $columns {
|
|
48
|
-
|
|
49
52
|
tr td:nth-child(#{$i}),
|
|
50
53
|
th:nth-child(#{$i}) {
|
|
51
54
|
position: sticky;
|
|
@@ -55,7 +58,6 @@ $defaultLefts: 0, 4rem, 4rem;
|
|
|
55
58
|
}
|
|
56
59
|
|
|
57
60
|
@for $i from 1 through $columns {
|
|
58
|
-
|
|
59
61
|
tr td:nth-child(#{$i}),
|
|
60
62
|
th:nth-child(#{$i}) {
|
|
61
63
|
left: nth($lefts, $i);
|
|
@@ -85,12 +87,13 @@ $defaultLefts: 0, 4rem, 4rem;
|
|
|
85
87
|
height: 51px;
|
|
86
88
|
}
|
|
87
89
|
&.v-data-table--show-select {
|
|
88
|
-
th:first-child,
|
|
90
|
+
th:first-child,
|
|
91
|
+
td:first-child {
|
|
89
92
|
padding-left: 0;
|
|
90
93
|
}
|
|
91
94
|
td:first-child .farm-checkbox__container {
|
|
92
|
-
margin-left:
|
|
93
|
-
}
|
|
95
|
+
margin-left: 24px;
|
|
96
|
+
}
|
|
94
97
|
}
|
|
95
98
|
|
|
96
99
|
.v-data-table-header__icon {
|
|
@@ -112,4 +115,4 @@ $defaultLefts: 0, 4rem, 4rem;
|
|
|
112
115
|
margin-right: 0 !important;
|
|
113
116
|
}
|
|
114
117
|
}
|
|
115
|
-
}
|
|
118
|
+
}
|