@farm-investimentos/front-mfe-components 11.12.0 → 11.12.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@farm-investimentos/front-mfe-components",
3
- "version": "11.12.0",
3
+ "version": "11.12.1",
4
4
  "author": "farm investimentos",
5
5
  "private": false,
6
6
  "main": "./dist/front-mfe-components.common.js",
@@ -2,15 +2,15 @@
2
2
  margin-left: 4px;
3
3
  }
4
4
 
5
- .farm-btn {
5
+ .farm-btn.farm-btn__cta {
6
6
  margin-left: 12px;
7
+ margin-top: 32px;
7
8
  }
8
9
 
9
10
  @media screen and (max-width: 600px) {
10
- .farm-btn {
11
+ .farm-btn.farm-btn__cta {
11
12
  width: calc(100% - 24px);
12
13
  margin-left: 12px;
13
14
  margin-top: 0 !important;
14
15
  }
15
-
16
16
  }
@@ -47,7 +47,7 @@ export const Tooltip = () => ({
47
47
  export const Application = () => ({
48
48
  data() {
49
49
  return {
50
- showFilters: false,
50
+ showFilters: true,
51
51
  };
52
52
  },
53
53
  template: `<div>
@@ -58,7 +58,7 @@ export const Application = () => ({
58
58
  </farm-row>
59
59
  <farm-row v-if="showFilters">
60
60
  <farm-col cols="12">
61
- Aqui são os filtros extras
61
+ Extra filters
62
62
  </farm-col>
63
63
  <farm-col cols="12" md="3">
64
64
  <farm-textfield />
@@ -17,7 +17,8 @@
17
17
  </farm-col>
18
18
  <farm-btn
19
19
  v-if="hasExtraFilters"
20
- class="mt-14 mt-sm-8"
20
+ class="farm-btn__cta"
21
+ :title="extraFiltersBtnLabel"
21
22
  @click="onFilterClick"
22
23
  >
23
24
  <farm-icon class="mr-2">{{ extraFiltersBtnIcon }}</farm-icon>
@@ -27,6 +27,7 @@ export const Primary = () => ({
27
27
  return {
28
28
  v: null,
29
29
  items: [
30
+ { value: 0, text: 'value 0' },
30
31
  { value: 1, text: 'value 1' },
31
32
  { value: 2, text: 'value 2' },
32
33
  { value: 3, text: 'value 3' },
@@ -223,7 +223,7 @@ export default Vue.extend({
223
223
  };
224
224
 
225
225
  const updateSelectedTextValue = () => {
226
- if (!items.value || items.value.length === 0 || !innerValue.value) {
226
+ if (!items.value || items.value.length === 0 || innerValue.value === null) {
227
227
  selectedText.value = '';
228
228
  return;
229
229
  }