@farm-investimentos/front-mfe-components 11.5.3 → 11.5.5
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 +174 -139
- 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 +174 -139
- 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/Buttons/DefaultButton/DefaultButton.stories.js +4 -0
- package/src/components/ContextMenu/ContextMenu.stories.js +34 -1
- package/src/components/ContextMenu/ContextMenu.vue +17 -15
- package/src/components/ContextMenu/__tests__/ContextMenu.spec.js +9 -0
- package/src/components/CopyToClipboard/CopyToClipboard.stories.js +7 -4
- package/src/components/CopyToClipboard/CopyToClipboard.vue +20 -2
- package/src/components/DialogFooter/DialogFooter.scss +2 -2
- package/src/components/Form/Form.stories.js +56 -0
- package/src/components/IdCaption/IdCaption.stories.js +34 -0
- package/src/components/IdCaption/IdCaption.vue +33 -2
- package/src/components/layout/DisplayBreakpoints.stories.mdx +0 -2
- package/src/components/layout/Line/Line.scss +1 -1
- package/src/scss/FormOverrides.scss +157 -146
|
@@ -1,170 +1,182 @@
|
|
|
1
1
|
.theme--light {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
2
|
+
.fieldset-default,
|
|
3
|
+
.v-col-fieldset-default {
|
|
4
|
+
border: 0;
|
|
5
|
+
label {
|
|
6
|
+
font-weight: bold;
|
|
7
|
+
display: block;
|
|
8
|
+
margin-bottom: 0.5rem;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
11
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
12
|
+
&.v-input {
|
|
13
|
+
&.v-text-field.v-text-field--outlined {
|
|
14
|
+
.v-input__slot {
|
|
15
|
+
.v-input__append-inner {
|
|
16
|
+
margin-top: 8px;
|
|
17
|
+
}
|
|
18
|
+
.v-input__prepend-inner {
|
|
19
|
+
margin-top: 8px;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
.v-input__prepend-outer {
|
|
23
|
+
margin-top: 8px;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
&.v-text-field.v-input--dense.v-text-field--outlined {
|
|
27
|
+
.v-input__slot {
|
|
28
|
+
min-height: 36px !important;
|
|
29
|
+
height: 36px;
|
|
30
|
+
background: white;
|
|
31
|
+
fieldset {
|
|
32
|
+
border-color: var(--v-gray-lighten2);
|
|
33
|
+
}
|
|
34
|
+
input,
|
|
35
|
+
.v-select__selection {
|
|
36
|
+
font-size: 0.75rem;
|
|
37
|
+
}
|
|
38
|
+
.v-input__append-inner {
|
|
39
|
+
margin-top: 8px;
|
|
40
|
+
}
|
|
41
|
+
.v-input__prepend-inner {
|
|
26
42
|
margin-top: 8px;
|
|
27
43
|
}
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
.v-text-field .v-text-field__details {
|
|
75
|
-
padding-left: 0 !important;
|
|
76
|
-
}
|
|
44
|
+
}
|
|
45
|
+
.v-input__prepend-outer {
|
|
46
|
+
margin-top: 8px;
|
|
47
|
+
}
|
|
48
|
+
&.v-input--is-label-active.v-input--is-focused {
|
|
49
|
+
.v-input__slot fieldset {
|
|
50
|
+
border-color: var(--v-secondary-base);
|
|
51
|
+
}
|
|
52
|
+
input {
|
|
53
|
+
color: var(--v-secondary-base);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
&.error--text {
|
|
57
|
+
.v-input__slot fieldset {
|
|
58
|
+
border-color: var(--v-error-base);
|
|
59
|
+
border-width: 1px;
|
|
60
|
+
}
|
|
61
|
+
&:after {
|
|
62
|
+
content: '\F0028';
|
|
63
|
+
position: absolute;
|
|
64
|
+
font: normal normal normal 24px/1 'Material Design Icons';
|
|
65
|
+
right: 6px;
|
|
66
|
+
top: 6px;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
.v-textarea.v-text-field--enclosed .v-text-field__slot {
|
|
72
|
+
textarea {
|
|
73
|
+
font-size: 0.75rem;
|
|
74
|
+
line-height: 1.25rem;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
.v-text-field--outlined:not(.v-input--is-focused):not(.v-input--has-state)
|
|
78
|
+
> .v-input__control
|
|
79
|
+
> .v-input__slot
|
|
80
|
+
fieldset {
|
|
81
|
+
border-color: var(--v-gray-lighten2);
|
|
82
|
+
}
|
|
83
|
+
.v-text-field--outlined.v-input--is-focused > .v-input__control > .v-input__slot fieldset {
|
|
84
|
+
border-color: var(--v-gray-lighten2);
|
|
85
|
+
border-width: 1px;
|
|
86
|
+
}
|
|
87
|
+
.v-text-field .v-text-field__details {
|
|
88
|
+
padding-left: 0 !important;
|
|
89
|
+
}
|
|
77
90
|
}
|
|
78
91
|
.v-form {
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
92
|
+
.v-col-fieldset-default {
|
|
93
|
+
margin-bottom: 0;
|
|
94
|
+
padding-bottom: 0;
|
|
82
95
|
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
+
span.required {
|
|
97
|
+
color: var(--v-error-base);
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
.row.form__footer-buttons--right {
|
|
101
|
+
margin: 0;
|
|
102
|
+
margin-top: 1rem;
|
|
103
|
+
padding: 0;
|
|
104
|
+
justify-content: flex-end;
|
|
105
|
+
.v-btn {
|
|
106
|
+
margin-left: 1rem;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
96
109
|
}
|
|
97
110
|
.v-form.v-form-importfile {
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
111
|
+
> .row:first-child {
|
|
112
|
+
border-bottom: 1px solid var(--v-gray-lighten2);
|
|
113
|
+
padding: 1rem;
|
|
114
|
+
h3 {
|
|
115
|
+
font-weight: 700;
|
|
116
|
+
color: var(--v-secondary-base);
|
|
117
|
+
}
|
|
118
|
+
}
|
|
106
119
|
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
120
|
+
> .row:nth-child(2) {
|
|
121
|
+
padding: 1rem;
|
|
122
|
+
legend {
|
|
123
|
+
font-weight: 700;
|
|
124
|
+
width: 100%;
|
|
125
|
+
}
|
|
126
|
+
}
|
|
114
127
|
}
|
|
115
128
|
.v-form.form-custom-disabled {
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
+
.theme--light {
|
|
130
|
+
&.v-text-field.v-input--is-disabled .v-input__slot {
|
|
131
|
+
padding-left: 0;
|
|
132
|
+
input,
|
|
133
|
+
label {
|
|
134
|
+
color: var(--v-primary-base);
|
|
135
|
+
font-size: 1rem !important;
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
&.v-text-field.v-input--is-disabled .v-input__slot fieldset {
|
|
139
|
+
border: none;
|
|
140
|
+
}
|
|
141
|
+
}
|
|
129
142
|
}
|
|
130
143
|
.v-text-field.v-text-field--solo .v-input__control {
|
|
131
|
-
|
|
144
|
+
min-height: 30px;
|
|
132
145
|
}
|
|
133
146
|
|
|
134
147
|
.theme--light.v-input--switch {
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
148
|
+
.v-input--switch__thumb {
|
|
149
|
+
color: #ffffff !important;
|
|
150
|
+
}
|
|
151
|
+
.v-input--switch__track.theme--light {
|
|
152
|
+
background: #f0643b;
|
|
140
153
|
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
154
|
+
&.secondary--text {
|
|
155
|
+
background-color: var(--v-secondary-base);
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
label {
|
|
159
|
+
font-size: 0.5rem;
|
|
160
|
+
font-weight: 600;
|
|
161
|
+
margin-top: 0.5rem;
|
|
162
|
+
padding-bottom: 0.5rem;
|
|
163
|
+
}
|
|
151
164
|
}
|
|
152
165
|
|
|
153
166
|
@media screen and (max-width: 600px) {
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
167
|
+
.v-form {
|
|
168
|
+
.row.form__footer-buttons--right {
|
|
169
|
+
justify-content: unset;
|
|
170
|
+
.v-btn {
|
|
171
|
+
margin-left: 0;
|
|
172
|
+
}
|
|
173
|
+
.v-btn:not(:first-child) {
|
|
174
|
+
margin-top: 1rem;
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
}
|
|
165
178
|
}
|
|
166
179
|
|
|
167
|
-
|
|
168
180
|
//temporary solution for v-data-table checkboxes
|
|
169
181
|
.v-data-table__checkbox.v-simple-checkbox {
|
|
170
182
|
.v-icon.v-icon {
|
|
@@ -181,7 +193,6 @@
|
|
|
181
193
|
}
|
|
182
194
|
|
|
183
195
|
.v-list.v-select-list.v-sheet.theme--light.v-list--dense.theme--light {
|
|
184
|
-
|
|
185
196
|
.v-list-item.v-list-item--link {
|
|
186
197
|
padding: 8px 12px;
|
|
187
198
|
height: 36px;
|
|
@@ -202,4 +213,4 @@
|
|
|
202
213
|
.v-list-item__action:first-child {
|
|
203
214
|
margin-right: 16px;
|
|
204
215
|
}
|
|
205
|
-
}
|
|
216
|
+
}
|