@farm-investimentos/front-mfe-components 15.3.5 → 15.3.6

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": "15.3.5",
3
+ "version": "15.3.6",
4
4
  "author": "farm investimentos",
5
5
  "private": false,
6
6
  "main": "./dist/front-mfe-components.common.js",
@@ -73,10 +73,18 @@ export const IsNull = () => ({
73
73
  };
74
74
  },
75
75
  template: `<div style='max-width: 320px'>
76
- <farm-input-datepicker inputId="input-custom-id-8" v-model="date" :required="true" />
76
+ <farm-input-datepicker inputId="input-custom-id-8" v-model="date" :required="true" />
77
77
  </div>`,
78
78
  });
79
79
 
80
+ export const BottomFalse = () => ({
81
+ data() {
82
+ return {
83
+ date: '2023-08-01',
84
+ };
85
+ },
86
+ template: `<div style='max-width: 320px'><farm-input-datepicker position="bottom" inputId="input-custom-id-1" v-model="date" /></div>`,
87
+ });
80
88
  export const TopPositioned = () => ({
81
89
  data() {
82
90
  return {
@@ -87,4 +95,16 @@ export const TopPositioned = () => ({
87
95
  <farm-input-datepicker inputId="input-custom-id-0" v-model="date" position="top" />
88
96
  {{ date }}
89
97
  </div>`,
90
- });
98
+ });
99
+
100
+ export const CenterPositioned = () => ({
101
+ data() {
102
+ return {
103
+ date: '',
104
+ };
105
+ },
106
+ template: `<div style='max-width: 320px'>
107
+ <farm-input-datepicker inputId="input-custom-id-0" v-model="date" position="center" />
108
+ {{ date }}
109
+ </div>`,
110
+ });
@@ -101,7 +101,7 @@ export default defineComponent({
101
101
  * Min date (ISO format)
102
102
  */
103
103
  position: {
104
- type: String as PropType<'top' | 'bottom'>,
104
+ type: String as PropType<'top' | 'bottom' | 'center'>,
105
105
  default: 'bottom',
106
106
  },
107
107
  /**