@farm-investimentos/front-mfe-components-vue3 0.3.2 → 0.3.4

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-vue3",
3
- "version": "0.3.2",
3
+ "version": "0.3.4",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",
@@ -1,6 +1,12 @@
1
1
  <template>
2
- <div class="farm-contextmenu" ref="parent">
3
- <span ref="activator" @click="click">
2
+ <div
3
+ class="farm-contextmenu"
4
+ ref="parent"
5
+ >
6
+ <span
7
+ ref="activator"
8
+ @click="click"
9
+ >
4
10
  <slot name="activator"></slot>
5
11
  </span>
6
12
 
@@ -78,7 +84,7 @@ export default {
78
84
  minWidth: 0,
79
85
  top: 0,
80
86
  zIndex: 1,
81
- maxHeight: parseInt((maxHeight as any).modelValue as string) + 'px',
87
+ maxHeight: parseInt(maxHeight.value as any) + 'px',
82
88
  } as any);
83
89
 
84
90
  const inputValue = ref(props.modelValue);
@@ -1,3 +1,4 @@
1
+
1
2
  .datepicker :deep(.v-btn--active) {
2
3
  background: var(--farm-primary-base);
3
4
  }
@@ -1,18 +1,24 @@
1
1
  .dp__main {
2
- font-family: inherit;
2
+ font-family: 'Manrope', sans-serif !important;
3
3
  justify-content: center;
4
4
 
5
5
  :deep(.dp__calendar_row,) {
6
6
  width: calc( 35px * 7);
7
7
  }
8
8
 
9
+ :deep(.dp__month_year_row){
10
+ font-family: 'Manrope', sans-serif !important;
11
+ }
12
+
9
13
  :deep(.dp__calendar_header) {
10
14
  width: calc( 35px * 7);
15
+
11
16
  }
12
17
 
13
18
  :deep(.dp__cell_inner) {
14
19
  font-size: 12px;
15
20
  font-weight: 500;
21
+ font-family: 'Manrope', sans-serif !important;
16
22
  color: var(--farm-neutral-darken);
17
23
  padding: 0;
18
24
  width: 35px;
@@ -60,6 +66,7 @@
60
66
  :deep(.dp__calendar_header) {
61
67
  color: var(--farm-neutral-darken);
62
68
  font-size: 16px;
69
+ font-family: 'Manrope', sans-serif !important;
63
70
  font-weight: 700;
64
71
  margin-top: 16px;
65
72
  }
@@ -14,6 +14,23 @@ export const Primary = () => ({
14
14
  { value: 1, text: 'value 1' },
15
15
  { value: 2, text: 'value 2' },
16
16
  { value: 3, text: 'value 3' },
17
+ { value: 4, text: 'value 4' },
18
+ { value: 5, text: 'value 5' },
19
+ { value: 6, text: 'value 6' },
20
+ { value: 7, text: 'value 7' },
21
+ { value: 8, text: 'value 8' },
22
+ { value: 9, text: 'value 9' },
23
+ { value: 10, text: 'value 10' },
24
+ { value: 11, text: 'value 11' },
25
+ { value: 12, text: 'value 12' },
26
+ { value: 13, text: 'value 13' },
27
+ { value: 14, text: 'value 14' },
28
+ { value: 15, text: 'value 15' },
29
+ { value: 16, text: 'value 16' },
30
+ { value: 17, text: 'value 17' },
31
+ { value: 18, text: 'value 18' },
32
+ { value: 19, text: 'value 19' },
33
+ { value: 20, text: 'value 20' },
17
34
  ],
18
35
  };
19
36
  },
@@ -76,7 +76,7 @@ export const CssVariables = () => ({
76
76
  bwThemeColorsKeys: Object.keys(bwThemeColors),
77
77
  bwThemeColors: { ...bwThemeColors },
78
78
  backgroundThemeColorsKeys: Object.keys(backgroundThemeColors),
79
- backgroundThemeColors: { ...backgroundThemeColors },
79
+ backgroundThemeColors: { ...backgroundThemeColors },
80
80
  };
81
81
  },
82
82
  template: `<div class="palette-container">
@@ -84,36 +84,36 @@ export const CssVariables = () => ({
84
84
  v-for="key in keys"
85
85
  :key="key"
86
86
  >
87
- <farm-heading :type="5">{{ key }}</farm-heading>
87
+ <farm-heading :type="5">{{ key }}</farm-heading>
88
88
  <span :style="{ backgroundColor: baseThemeColors[key] }">Base <span>--farm-{{ key }}-base</span></span>
89
89
  <span :style="{ backgroundColor: variationThemeColors[key + '-lighten'] }">Lighten<span>--farm-{{ key }}-lighten</span></span>
90
90
  <span :style="{ backgroundColor: variationThemeColors[key + '-darken'], color: 'white' }">Darken: <span>--farm-{{ key }}-darken</span></span>
91
91
  </div>
92
92
 
93
93
  <div>
94
- <farm-heading :type="5">Text</farm-heading>
95
- <span :style="{ color: textThemeColors['text-primary'] }">Primary <span>--farm-text-primary</span></span></span>
94
+ <farm-heading :type="5">Text</farm-heading>
95
+ <span :style="{ color: textThemeColors['text-primary'] }">Primary <span>--farm-text-primary</span></span>
96
96
  <span :style="{ color: textThemeColors['text-secondary'] }">Secondary <span>--farm-text-secondary</span></span>
97
97
  <span :style="{ color: textThemeColors['text-disabled'] }">Disabled <span>--farm-text-disabled</span></span>
98
- </div>
98
+ </div>
99
99
 
100
100
  <div>
101
101
  <farm-heading :type="5">Stroke</farm-heading>
102
- <span :style="{ color: strokeThemeColors['stroke-base'] }">Base <span>--farm-stroke-base</span></span></span>
102
+ <span :style="{ color: strokeThemeColors['stroke-base'] }">Base <span>--farm-stroke-base</span></span>
103
103
  <span :style="{ color: strokeThemeColors['stroke-disabled'] }">Disabled <span>--farm-stroke-disabled</span></span>
104
104
  <span :style="{ color: strokeThemeColors['stroke-divider'] }">Divider <span>--farm-stroke-divider</span></span>
105
- </div>
106
-
105
+ </div>
106
+
107
107
  <div>
108
108
  <farm-heading :type="5">Black & White</farm-heading>
109
- <span v-for="bw in bwThemeColorsKeys" :key="'bw_var_' + bw" :style="{ color: bw !== 'white' ? bwThemeColors[bw] : 'black' }">
109
+ <span v-for="bw in bwThemeColorsKeys" :key="'bw_var1_' + bw" :style="{ color: bw !== 'white' ? bwThemeColors[bw] : 'black' }">
110
110
  {{ bw }} <span>--farm-bw-{{ bw }}</span>
111
111
  </span>
112
112
  </div>
113
113
 
114
114
  <div>
115
115
  <farm-heading :type="5">Background</farm-heading>
116
- <span v-for="bw in backgroundThemeColorsKeys" :key="'bw_var_' + bw" :style="{ backgroundColor: backgroundThemeColors[bw], }">
116
+ <span v-for="bw in backgroundThemeColorsKeys" :key="'bw_var2_' + bw" :style="{ backgroundColor: backgroundThemeColors[bw] }">
117
117
  {{ bw }} <span>--farm-background-{{ bw }}</span>
118
118
  </span>
119
119
  </div>