@farm-investimentos/front-mfe-components 10.1.1 → 10.1.2

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": "10.1.1",
3
+ "version": "10.1.2",
4
4
  "author": "farm investimentos",
5
5
  "private": false,
6
6
  "main": "./dist/front-mfe-components.common.js",
@@ -6,7 +6,6 @@ describe('Form component', () => {
6
6
 
7
7
  beforeEach(() => {
8
8
  wrapper = shallowMount(Form);
9
- component = wrapper.vm;
10
9
  });
11
10
 
12
11
  test('Created hook', () => {
@@ -7,7 +7,7 @@
7
7
  <farm-caption>
8
8
  {{ tooltip }}
9
9
  </farm-caption>
10
- <template v-slot:activator="">
10
+ <template v-slot:activator="{}">
11
11
  <farm-icon size="sm" color="gray">help-circle</farm-icon>
12
12
  </template>
13
13
  </farm-tooltip>
@@ -6,15 +6,25 @@
6
6
  max-width: 100%;
7
7
  transition: .2s cubic-bezier(.4, 0, .2, 1);
8
8
 
9
+ >div {
10
+ flex: 1 1 auto;
11
+ max-width: 100%;
12
+ position: relative;
13
+ }
14
+
9
15
  @each $k in $justifications {
10
16
  &#{'--justify-' + $k} {
11
- justify-content: $k;
17
+ >div {
18
+ justify-content: $k;
19
+ }
12
20
  }
13
21
  }
14
22
 
15
23
  @each $k in $directions {
16
24
  &#{'--direction-' + $k} {
17
- flex-direction: $k;
25
+ >div {
26
+ flex-direction: $k;
27
+ }
18
28
  }
19
29
  }
20
30
  }
@@ -7,7 +7,9 @@
7
7
  [`farm-box--direction-${direction}`]: direction,
8
8
  }"
9
9
  >
10
- <slot></slot>
10
+ <div>
11
+ <slot></slot>
12
+ </div>
11
13
  </component>
12
14
  </template>
13
15
  <script lang="ts">
@@ -6,7 +6,6 @@ describe('Box component', () => {
6
6
 
7
7
  beforeEach(() => {
8
8
  wrapper = shallowMount(Box);
9
- component = wrapper.vm;
10
9
  });
11
10
 
12
11
  test('Created hook', () => {
@@ -6,7 +6,6 @@ describe('Col component', () => {
6
6
 
7
7
  beforeEach(() => {
8
8
  wrapper = shallowMount(Col);
9
- component = wrapper.vm;
10
9
  });
11
10
 
12
11
  test('Created hook', () => {
@@ -6,7 +6,6 @@ describe('Row component', () => {
6
6
 
7
7
  beforeEach(() => {
8
8
  wrapper = shallowMount(Row);
9
- component = wrapper.vm;
10
9
  });
11
10
 
12
11
  test('Created hook', () => {