@farm-investimentos/front-mfe-components 12.1.1 → 12.1.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@farm-investimentos/front-mfe-components",
3
- "version": "12.1.1",
3
+ "version": "12.1.3",
4
4
  "author": "farm investimentos",
5
5
  "private": false,
6
6
  "main": "./dist/front-mfe-components.common.js",
@@ -8,6 +8,7 @@
8
8
  .farm-contextmenu__popup {
9
9
  visibility: hidden;
10
10
  opacity: 0;
11
+ padding: 2px;
11
12
  position: absolute;
12
13
  display: block;
13
14
  overflow-y: auto;
@@ -18,11 +19,10 @@
18
19
  transform-origin: left top;
19
20
  transition: visibility 0.1s linear, opacity 0.1s linear;
20
21
 
21
- border-radius: 4px;
22
22
  left: 0;
23
23
 
24
- background: #FFFFFF;
25
- border: 1px solid var(--farm-stroke-base);
24
+ background: #ffffff;
25
+
26
26
  @include addShadow;
27
27
  border-radius: 5px;
28
28
 
@@ -30,4 +30,4 @@
30
30
  opacity: 1;
31
31
  visibility: visible;
32
32
  }
33
- }
33
+ }
@@ -1,29 +1,30 @@
1
1
  .farm-dialog-header__close {
2
- position: absolute;
3
- margin-top: 0;
4
- font-size: 16px;
2
+ position: absolute;
3
+ margin-top: 0;
4
+ font-size: 16px;
5
5
 
6
- transition: all 0.4s;
6
+ transition: all 0.4s;
7
7
 
8
- &:hover {
9
- opacity: 0.8;
10
- }
8
+ &:hover {
9
+ opacity: 0.8;
10
+ }
11
11
  }
12
12
 
13
13
  header {
14
- font-size: 12px;
15
- padding: 6px 16px;
16
- background-color: #fff;
17
- font-weight: 700;
18
- color: var(--farm-primary-base);
19
- border-bottom: 1px solid var(--farm-stroke-divider);
20
- display: flex;
21
- justify-content: flex-start;
22
- align-items: center;
14
+ font-size: 12px;
15
+ padding: 6px 16px;
16
+ background-color: #fff;
17
+ font-weight: 700;
18
+ color: var(--farm-primary-base);
19
+ border-bottom: 1px solid var(--farm-stroke-divider);
20
+ display: flex;
21
+ justify-content: flex-start;
22
+ align-items: center;
23
+ height: 48px;
23
24
 
24
- >.farm-typography.farm-caption {
25
- align-items: center;
26
- width: 100%;
27
- margin-bottom: 0;
28
- }
29
- }
25
+ > .farm-typography.farm-caption {
26
+ align-items: center;
27
+ width: 100%;
28
+ margin-bottom: 0;
29
+ }
30
+ }
@@ -34,7 +34,7 @@ export const Primary = () => ({
34
34
  ],
35
35
  };
36
36
  },
37
- template: `<div style="width: 120px">
37
+ template: `<div style="width: 120px;">
38
38
  <farm-select v-model="v" :items="items" />
39
39
  v-model: {{ v }}
40
40
  </div>`,
@@ -11,6 +11,7 @@
11
11
  border-radius: 5px;
12
12
  padding: 8px;
13
13
  margin-bottom: 4px;
14
+ background-color: white;
14
15
 
15
16
  >button {
16
17
  display: flex;
@@ -19,7 +19,7 @@ export default {
19
19
  docs: {
20
20
  description: {
21
21
  component: `Text field v2<br />
22
- selector: <em>farm-texfield-v2</em><br />
22
+ selector: <em>farm-textfield-v2</em><br />
23
23
  <span style="color: var(--farm-primary-base);">ready for use</span>
24
24
  `,
25
25
  },
@@ -38,7 +38,7 @@ export const Primary = () => ({
38
38
  v: 'input text',
39
39
  };
40
40
  },
41
- template: `<div style="width: 480px">
41
+ template: `<div style="width: 480px;">
42
42
  <farm-textfield-v2 v-model="v" />
43
43
  v-model: {{ v }}
44
44
  </div>`,
@@ -7,15 +7,12 @@
7
7
  }
8
8
 
9
9
  .farm-tooltip__popup {
10
- background-color: themeColor('primary');
10
+ background-color: rgba(themeColor('primary'), 0.95);
11
11
 
12
12
  @each $color in $colors {
13
13
  @each $color in $theme-colors-list {
14
-
15
14
  &.farm-tooltip--#{$color} {
16
-
17
- background-color: themeColor($color);
18
-
15
+ background-color: rgba(themeColor($color), 0.95);
19
16
  }
20
17
  }
21
18
  }
@@ -25,17 +22,16 @@
25
22
  visibility: hidden;
26
23
  opacity: 0;
27
24
  transition: visibility 0.3s linear, opacity 0.3s linear;
28
- color: white;
29
- font-size: 14px;
30
- border-radius: 4px;
31
- padding: 8px 12px;
32
25
  position: absolute;
33
26
  width: 160px;
34
- background-color: themeColor('primary');
35
27
  contain: content;
36
-
37
- display: block;
28
+ color: white;
29
+ background-color: themeColor('primary');
30
+ border-radius: 4px;
38
31
  font-family: 'Montserrat', sans-serif !important;
32
+ font-size: 14px;
33
+ padding: 8px 12px;
34
+ display: block;
39
35
 
40
36
  &--visible {
41
37
  opacity: 1;
@@ -86,7 +86,7 @@ export const Visibility = () => ({
86
86
  </div>`,
87
87
  });
88
88
 
89
- export const TooltipTest = () => ({
89
+ export const InsideCard = () => ({
90
90
  template: `<div style="padding-left: 80px; padding-top: 80px;">
91
91
  <farm-card style="padding: 32px">
92
92
  <farm-tooltip>