@fy-/fws-vue 1.6.1 → 1.6.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.
@@ -11,7 +11,7 @@ import {
11
11
  import type { ErrorObject } from "@vuelidate/core";
12
12
  import { useTranslation } from "../../composables/translations";
13
13
  import DefaultTagInput from "./DefaultTagInput.vue";
14
- import VueDatePicker from "@vuepic/vue-datepicker";
14
+ import VueTailwindDatepicker from "vue-tailwind-datepicker";
15
15
 
16
16
  type modelValueType = string | number | string[] | number[] | undefined;
17
17
 
@@ -191,14 +191,16 @@ defineExpose({ focus, blur, getInputRef });
191
191
  />
192
192
  </svg>
193
193
  </div>
194
- <VueDatePicker
194
+ <!-- @vue-skip -->
195
+ <VueTailwindDatepicker
195
196
  v-model="model"
196
- auto-apply
197
+ :formatter="{
198
+ date: 'YYYY-MM-DD',
199
+ month: 'MMM',
200
+ }"
197
201
  :placeholder="placeholder"
198
- year-first
199
- dark
200
- :enable-time-picker="false"
201
- ></VueDatePicker>
202
+ as-single
203
+ ></VueTailwindDatepicker>
202
204
  </div>
203
205
  </div>
204
206
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fy-/fws-vue",
3
- "version": "1.6.1",
3
+ "version": "1.6.2",
4
4
  "author": "Florian 'Fy' Gasquez <m@fy.to>",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -39,6 +39,7 @@
39
39
  "timeago.js": "^4.0.x",
40
40
  "vue": "^3.3.x",
41
41
  "vue-picture-cropper": "^0.7.x",
42
- "vue-router": "^4.1.x"
42
+ "vue-router": "^4.1.x",
43
+ "vue-tailwind-datepicker": "^1.7.x"
43
44
  }
44
45
  }