@farm-investimentos/front-mfe-components 3.4.2 → 3.4.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/front-mfe-components.common.js +61 -39
- 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 +61 -39
- 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/ModalPromptUser/ModalPromptUser.stories.js +46 -3
- package/src/components/ModalPromptUser/__tests__/ModalPromptUser.spec.js +27 -0
- package/src/components/PromptUserToConfirm/PromptUserToConfirm.stories.js +2 -2
- package/src/components/PromptUserToConfirm/__tests__/PromptUserToConfirm.spec.js +24 -0
- package/src/components/TableContextMenu/TableContextMenu.scss +3 -0
- package/src/components/TableContextMenu/TableContextMenu.stories.js +39 -2
- package/src/components/TableContextMenu/TableContextMenu.vue +3 -0
- package/src/scss/ButtonOverrides.scss +7 -1
- package/src/scss/DefaultModal.scss +66 -64
- package/src/scss/DialogOverrides.scss +86 -0
- package/src/scss/FormOverrides.scss +46 -6
- package/src/scss/VMenuOverrides.scss +5 -0
- package/src/scss/utils.scss +138 -99
package/src/scss/utils.scss
CHANGED
|
@@ -1,135 +1,174 @@
|
|
|
1
1
|
.container-main.container-main-sm {
|
|
2
|
-
|
|
2
|
+
max-width: 960px;
|
|
3
3
|
}
|
|
4
4
|
.container-main > .col {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
5
|
+
background-color: white;
|
|
6
|
+
border-radius: 0.5rem;
|
|
7
|
+
max-width: calc(100% - 2rem);
|
|
8
|
+
margin: 1rem auto;
|
|
9
|
+
&.col__no-bg {
|
|
10
|
+
background-color: transparent;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.container-main__footer-buttons-right {
|
|
14
|
+
margin: 0;
|
|
15
|
+
margin-top: 1rem;
|
|
16
|
+
padding: 0;
|
|
17
|
+
justify-content: flex-end;
|
|
18
|
+
.v-btn {
|
|
19
|
+
margin-left: 1rem;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
min-height: 8rem;
|
|
12
23
|
}
|
|
13
24
|
|
|
14
25
|
.v-data-table__clickable {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
26
|
+
tbody tr {
|
|
27
|
+
cursor: pointer;
|
|
28
|
+
&:hover td {
|
|
29
|
+
opacity: 1;
|
|
30
|
+
.status-chip {
|
|
31
|
+
cursor: pointer;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
24
35
|
}
|
|
25
36
|
|
|
26
37
|
.v-list__clickable {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
38
|
+
.v-list-item__title {
|
|
39
|
+
cursor: pointer;
|
|
40
|
+
&:hover {
|
|
41
|
+
opacity: 0.6;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
33
44
|
}
|
|
34
45
|
|
|
35
46
|
.tabs-container {
|
|
36
|
-
|
|
47
|
+
border-bottom: 1px solid var(--v-gray-lighten2);
|
|
37
48
|
}
|
|
38
49
|
|
|
39
50
|
tr.v-data-table__empty-wrapper {
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
51
|
+
td {
|
|
52
|
+
background-color: white !important;
|
|
53
|
+
cursor: default !important;
|
|
54
|
+
opacity: 1 !important;
|
|
55
|
+
padding: 0 !important;
|
|
56
|
+
}
|
|
46
57
|
}
|
|
47
58
|
|
|
48
59
|
.v-tabs {
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
60
|
+
.v-tab {
|
|
61
|
+
font-weight: 700;
|
|
62
|
+
font-size: 0.875rem;
|
|
63
|
+
padding: 1rem 2rem;
|
|
64
|
+
}
|
|
54
65
|
}
|
|
55
66
|
|
|
56
67
|
.v-picker {
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
68
|
+
.v-picker__actions {
|
|
69
|
+
margin: 0 0.5rem 0.5rem;
|
|
70
|
+
}
|
|
71
|
+
.v-date-picker-header__value {
|
|
72
|
+
text-align: left;
|
|
73
|
+
|
|
74
|
+
button:first-letter {
|
|
75
|
+
text-transform: capitalize;
|
|
76
|
+
}
|
|
77
|
+
button:hover:after {
|
|
78
|
+
border-top-color: var(--v-secondary-base);
|
|
79
|
+
}
|
|
80
|
+
button:after {
|
|
81
|
+
position: absolute;
|
|
82
|
+
content: '';
|
|
83
|
+
width: 0px;
|
|
84
|
+
height: 0px;
|
|
85
|
+
border-top: 0.25rem solid var(--v-primary-base);
|
|
86
|
+
border-right: 0.25rem solid transparent;
|
|
87
|
+
border-bottom: 0.25rem solid transparent;
|
|
88
|
+
border-left: 0.25rem solid transparent;
|
|
89
|
+
margin-left: 0.5rem;
|
|
90
|
+
margin-top: 0.5rem;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
.v-date-picker-header {
|
|
94
|
+
display: grid;
|
|
95
|
+
grid-template-columns: 1fr 2rem 2rem;
|
|
96
|
+
grid-template-areas: ' a b c ';
|
|
97
|
+
margin-top: 0.5rem;
|
|
98
|
+
|
|
99
|
+
.v-btn:nth-child(1) {
|
|
100
|
+
grid-area: b;
|
|
101
|
+
}
|
|
102
|
+
> div {
|
|
103
|
+
grid-area: a;
|
|
104
|
+
}
|
|
105
|
+
.v-btn:nth-child(3) {
|
|
106
|
+
grid-area: c;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
98
109
|
}
|
|
99
110
|
|
|
100
111
|
.v-icon.v-icon__extral4 {
|
|
101
|
-
|
|
102
|
-
|
|
112
|
+
background: var(--v-extra-lighten4);
|
|
113
|
+
color: white !important;
|
|
103
114
|
}
|
|
104
115
|
|
|
105
116
|
.v-icon.v-icon__secondary4 {
|
|
106
|
-
|
|
107
|
-
|
|
117
|
+
background: var(--v-secondary-lighten4);
|
|
118
|
+
color: var(--v-secondary-base) !important;
|
|
108
119
|
}
|
|
109
120
|
|
|
110
121
|
span.span__type--cdca {
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
122
|
+
color: var(--v-secondary-base);
|
|
123
|
+
.v-chip {
|
|
124
|
+
background-color: var(--v-secondary-base) !important;
|
|
125
|
+
color: white;
|
|
126
|
+
}
|
|
127
|
+
.v-icon {
|
|
128
|
+
color: var(--v-secondary-base);
|
|
129
|
+
}
|
|
119
130
|
}
|
|
120
131
|
span.span__type--cprf {
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
132
|
+
color: var(--v-accent-base);
|
|
133
|
+
.v-chip {
|
|
134
|
+
background-color: var(--v-accent-base) !important;
|
|
135
|
+
color: white;
|
|
136
|
+
}
|
|
137
|
+
.v-icon {
|
|
138
|
+
color: var(--v-accent-base);
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.mf-Containers.mf-Containers-authenticated {
|
|
143
|
+
> .mf-Container > div.v-application {
|
|
144
|
+
padding-bottom: 2.625rem;
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
#blip-chat-container {
|
|
149
|
+
bottom: 1rem;
|
|
150
|
+
#blip-chat-open-iframe {
|
|
151
|
+
bottom: 0.5rem;
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
body.body--has-footer {
|
|
156
|
+
#blip-chat-container #blip-chat-open-iframe {
|
|
157
|
+
bottom: 3rem;
|
|
158
|
+
}
|
|
129
159
|
}
|
|
130
160
|
|
|
131
161
|
@media (max-width: 600px) {
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
162
|
+
.container-main > .col {
|
|
163
|
+
max-width: calc(100% - 0.5rem);
|
|
164
|
+
|
|
165
|
+
.container-main__footer-buttons-right {
|
|
166
|
+
justify-content: unset;
|
|
167
|
+
.v-btn {
|
|
168
|
+
margin-left: 0;
|
|
169
|
+
margin-top: 1rem;
|
|
170
|
+
width: 100%;
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
}
|
|
135
174
|
}
|