@farm-investimentos/front-mfe-components 6.2.2 → 6.2.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 +276 -238
- 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 +276 -238
- 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.scss +10 -1
- package/src/components/Buttons/DefaultButton/DefaultButton.vue +1 -1
- package/src/components/Buttons/ExportButton/ExportButton.vue +2 -2
- package/src/components/Buttons/ImportButton/ImportButton.vue +1 -1
- package/src/components/Buttons/MultiImportButton/MultiImportButton.vue +2 -2
- package/src/components/Buttons/RemoveButton/RemoveButton.vue +2 -2
- package/src/components/Buttons/ToggleButton/ToggleButton.vue +1 -1
- package/src/components/FilePicker/FilePicker.vue +1 -1
- package/src/components/MainFilter/MainFilter.vue +1 -1
- package/src/examples/Buttons.stories.js +2 -1
package/package.json
CHANGED
|
@@ -55,7 +55,7 @@ $colors: primary, secondary, error, extra, accent, info, success, gray, yellow;
|
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
&:not(.farm-btn--plain):active {
|
|
58
|
+
&:not(.farm-btn--plain):not(.farm-btn--disabled):active {
|
|
59
59
|
box-shadow: 0px 5px 5px -3px rgb(0 0 0 / 20%), 0px 8px 10px 1px rgb(0 0 0 / 14%), 0px 3px 14px 2px rgb(0 0 0 / 12%);
|
|
60
60
|
|
|
61
61
|
&:before {
|
|
@@ -150,4 +150,13 @@ $colors: primary, secondary, error, extra, accent, info, success, gray, yellow;
|
|
|
150
150
|
|
|
151
151
|
.farm-btn--elevated {
|
|
152
152
|
box-shadow: 0px 3px 1px -2px rgb(0 0 0 / 20%), 0px 2px 2px 0px rgb(0 0 0 / 14%), 0px 1px 5px 0px rgb(0 0 0 / 12%);
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
@media screen and (max-width: 600px) {
|
|
156
|
+
|
|
157
|
+
.farm-btn.farm-btn--responsive {
|
|
158
|
+
width: 100%;
|
|
159
|
+
margin: 0;
|
|
160
|
+
}
|
|
161
|
+
|
|
153
162
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
v-if="optionsList.length == 0"
|
|
4
4
|
@click="onClick"
|
|
5
5
|
dense
|
|
6
|
-
class="
|
|
6
|
+
class="farm-btn--responsive"
|
|
7
7
|
outlined
|
|
8
8
|
title="Exportar"
|
|
9
9
|
:disabled="disabled"
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
v-bind="attrs"
|
|
24
24
|
v-on="on"
|
|
25
25
|
dense
|
|
26
|
-
class="
|
|
26
|
+
class="farm-btn--responsive"
|
|
27
27
|
outlined
|
|
28
28
|
title="Exportar"
|
|
29
29
|
@onClick="togglePopover = true"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<farm-btn @click="onClick" dense class="
|
|
2
|
+
<farm-btn @click="onClick" dense class="farm-btn--responsive farm-btn--import" outlined title="Importar">
|
|
3
3
|
<i class="mdi mdi-upload"></i>
|
|
4
4
|
{{ label }}
|
|
5
5
|
</farm-btn>
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
|
|
20
20
|
<p v-if="maxSizeReach" v-html="maxSizeReachMsg"></p>
|
|
21
21
|
|
|
22
|
-
<farm-btn depressed outlined color="secondary" class="
|
|
22
|
+
<farm-btn depressed outlined color="secondary" class="farm-btn--responsive" @click="reset">
|
|
23
23
|
Escolher outro
|
|
24
24
|
</farm-btn>
|
|
25
25
|
</div>
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
<DefaultButton
|
|
18
18
|
v-if="hasExtraFilters"
|
|
19
19
|
color="secondary"
|
|
20
|
-
class="
|
|
20
|
+
class="farm-btn--responsive mt-14 mt-sm-8"
|
|
21
21
|
@click="onFilterClick"
|
|
22
22
|
>
|
|
23
23
|
<v-icon color="white" class="mr-2" small>{{ extraFiltersBtnIcon }}</v-icon>
|
|
@@ -43,7 +43,7 @@ export const OutlinedButtons = () => ({
|
|
|
43
43
|
};
|
|
44
44
|
},
|
|
45
45
|
template: `<div class="buttons-container">
|
|
46
|
-
<farm-btn v-for="color of colors":key="color" :color="color"outlined>
|
|
46
|
+
<farm-btn v-for="color of colors":key="color" :color="color" outlined>
|
|
47
47
|
{{ color }}
|
|
48
48
|
</farm-btn>
|
|
49
49
|
</div>`,
|
|
@@ -56,6 +56,7 @@ export const DisabledButtons = () => ({
|
|
|
56
56
|
data() {
|
|
57
57
|
return {
|
|
58
58
|
colors,
|
|
59
|
+
x: 1
|
|
59
60
|
};
|
|
60
61
|
},
|
|
61
62
|
template: `<div class="buttons-container">
|