@farm-investimentos/front-mfe-components-vue3 1.1.4 → 1.3.0

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": "1.1.4",
3
+ "version": "1.3.0",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",
@@ -15,5 +15,21 @@
15
15
  width: 100%;
16
16
  }
17
17
 
18
+ .dp__main dp__theme_light {
19
+ width: 200px;
20
+ }
21
+
22
+ .picker__actions {
23
+ padding: 24px;
24
+ border-top: 1px solid var(--farm-stroke-base);
25
+ margin-bottom: 16px;
26
+ margin-top: 24px;
27
+ }
28
+
29
+ :deep(.dp__month_year_row){
30
+ margin: 24px 0;
31
+ margin-top: 20px
32
+ }
33
+
18
34
  @import './customDatePicker.scss';
19
35
 
@@ -24,19 +24,20 @@
24
24
  :fixedCentered="position === 'fixed-centered'"
25
25
  >
26
26
  <VueDatePicker
27
- calendar-class-name="dp-custom-calendar"
28
- inline
29
- auto-apply
30
- model-type="yyyy-MM-dd"
31
- locale="pt-BR"
32
27
  v-model="dateField"
33
- :min-date="minDate"
34
- :max-date="maxDate"
28
+ calendar-class-name="dp-custom-calendar"
29
+ :day-names="['S', 'T', 'Q', 'Q', 'S', 'S', 'D']"
35
30
  :allowed-dates="allowedDates"
36
31
  :disabled-dates="disabledDates"
37
- :day-names="['S', 'T', 'Q', 'Q', 'S', 'S', 'D']"
38
32
  :start-date="internalPickerDate"
33
+ :min-date="minDate"
34
+ :max-date="maxDate"
39
35
  :multi-dates="multiple"
36
+ month-name-format="long"
37
+ inline
38
+ auto-apply
39
+ locale="pt"
40
+ model-type="yyyy-MM-dd"
40
41
  />
41
42
  <div class="picker__actions">
42
43
  <farm-btn
@@ -16,7 +16,7 @@
16
16
  }
17
17
 
18
18
  :deep(.dp__cell_inner) {
19
- font-size: 12px;
19
+ font-size: 14px;
20
20
  font-weight: 500;
21
21
  font-family: 'Manrope', sans-serif !important;
22
22
  color: var(--farm-neutral-darken);
@@ -82,9 +82,11 @@
82
82
  }
83
83
 
84
84
  .picker__actions {
85
- padding: 16px 8px 0;
85
+ padding: 24px;
86
86
  border-top: 1px solid var(--farm-stroke-base);
87
87
  margin-bottom: 16px;
88
- margin-left: -4px;
89
- margin-right: -4px;
88
+ }
89
+
90
+ .dp__menu_inner {
91
+ padding: 0 !important;
90
92
  }
@@ -63,6 +63,7 @@
63
63
  import { formatDatePickerHeader } from '../../helpers';
64
64
  import { defaultFormat as dateDefaultFormatter } from '../../helpers/date';
65
65
 
66
+
66
67
  /**
67
68
  * Componente de input com datepicker para range de data
68
69
  */