vueless 0.0.748 → 0.0.749

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": "vueless",
3
- "version": "0.0.748",
3
+ "version": "0.0.749",
4
4
  "license": "MIT",
5
5
  "description": "Vue Styleless UI Component Library, powered by Tailwind CSS.",
6
6
  "keywords": [
@@ -75,9 +75,9 @@ export default /*tw*/ {
75
75
  timepickerInputSeconds: "{>timepickerInput} rounded-r-dynamic",
76
76
  timepickerSubmitButton: "{UButton} py-2 border-0",
77
77
  i18n: {
78
- today: "Today,",
79
- yesterday: "Yesterday,",
80
- tomorrow: "Tomorrow,",
78
+ today: "Today",
79
+ yesterday: "Yesterday",
80
+ tomorrow: "Tomorrow",
81
81
  weekdays: {
82
82
  shorthand: {
83
83
  sunday: "Sun",
@@ -225,6 +225,6 @@ export const formats = {
225
225
  return `${locale.tomorrow}`;
226
226
  }
227
227
 
228
- return "";
228
+ return formats.l(date, locale);
229
229
  },
230
230
  };
@@ -173,6 +173,7 @@ function onPaste(event: ClipboardEvent) {
173
173
  locale.value.tomorrow,
174
174
  locale.value.today,
175
175
  locale.value.tomorrow,
176
+ ...locale.value.weekdays.longhand,
176
177
  ].some((word) => {
177
178
  return pasteContent.includes(word);
178
179
  });
@@ -47,9 +47,9 @@ export default /*tw*/ {
47
47
  leaveToClass: "opacity-0 scale-95",
48
48
  },
49
49
  i18n: {
50
- today: "Today,",
51
- yesterday: "Yesterday,",
52
- tomorrow: "Tomorrow,",
50
+ today: "Today",
51
+ yesterday: "Yesterday",
52
+ tomorrow: "Tomorrow",
53
53
  weekdays: {
54
54
  shorthand: {
55
55
  sunday: "Sun",
@@ -128,8 +128,8 @@ export default /*tw*/ {
128
128
  },
129
129
  defaults: {
130
130
  size: "md",
131
- userDateFormat: "r j F, Y",
132
- userDateTimeFormat: "r j F, Y - H:i:S",
131
+ userDateFormat: "r, j F, Y",
132
+ userDateTimeFormat: "r, j F, Y - H:i:S",
133
133
  dateFormat: undefined,
134
134
  dateTimeFormat: undefined,
135
135
  openDirectionX: "auto",
@@ -115,9 +115,9 @@ export default /*tw*/ {
115
115
  notCorrectDayNumber: "Wrong day in month.",
116
116
  fromDateGraterThanSecond: "The 'from' date should be less than the 'to' date.",
117
117
  toDateSmallerThanFirst: "The 'to' date should be greater than the 'from' date.",
118
- today: "Today,",
119
- yesterday: "Yesterday,",
120
- tomorrow: "Tomorrow,",
118
+ today: "Today",
119
+ yesterday: "Yesterday",
120
+ tomorrow: "Tomorrow",
121
121
  weekdays: {
122
122
  shorthand: {
123
123
  sunday: "Sun",