vueless 0.0.343 → 0.0.344

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.
@@ -1,5 +1,5 @@
1
1
  import { inject } from "vue";
2
- import createVuelessAdapter from "../adatper.locale/vueless";
2
+ import createVuelessAdapter from "../adatper.locale/vueless.js";
3
3
 
4
4
  export const LocaleSymbol = Symbol.for("vueless:locale");
5
5
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vueless",
3
- "version": "0.0.343",
3
+ "version": "0.0.344",
4
4
  "license": "MIT",
5
5
  "description": "Vue Styleless Component Framework.",
6
6
  "homepage": "https://vueless.com",
@@ -48,7 +48,7 @@
48
48
  :timepicker="timepicker"
49
49
  :date-format="dateFormat"
50
50
  :date-time-format="dateTimeFormat"
51
- :user-date-format="userFormat"
51
+ :user-date-format="userDateFormat"
52
52
  :user-date-time-format="userDateTimeFormat"
53
53
  :max-date="maxDate"
54
54
  :min-date="minDate"
@@ -359,7 +359,7 @@ function onBlur(event) {
359
359
  }
360
360
 
361
361
  function formatUserDate(data) {
362
- if (props.userFormat !== STANDARD_USER_FORMAT || props.timepicker) return data;
362
+ if (props.userDateFormat !== STANDARD_USER_FORMAT || props.timepicker) return data;
363
363
 
364
364
  let prefix = "";
365
365
  const formattedDate = data.charAt(0).toUpperCase() + data.toLowerCase().slice(1);
@@ -16,7 +16,7 @@ import defaultConfig from "../config.js?raw"
16
16
  <Source code={getSource(defaultConfig)} language="jsx" dark />
17
17
 
18
18
  ## Formatting tokens
19
- Each character in the table below can be used in `dateFormat` and `userFormat` options to achieve the format you need.
19
+ Each character in the table below can be used in `dateFormat` and `userDateFormat` / `userDateTimeFormat` options to achieve the format you need.
20
20
 
21
21
  <Markdown>
22
22
  {`
package/web-types.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "framework": "vue",
3
3
  "name": "vueless",
4
- "version": "0.0.343",
4
+ "version": "0.0.344",
5
5
  "contributions": {
6
6
  "html": {
7
7
  "description-markup": "markdown",