vuetify 3.3.20 → 3.3.21

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.
Files changed (57) hide show
  1. package/dist/json/attributes.json +18 -6
  2. package/dist/json/importMap-labs.json +4 -4
  3. package/dist/json/importMap.json +16 -16
  4. package/dist/json/tags.json +3 -0
  5. package/dist/json/web-types.json +35 -8
  6. package/dist/vuetify-labs.css +4950 -4943
  7. package/dist/vuetify-labs.d.ts +68 -48
  8. package/dist/vuetify-labs.esm.js +59 -14
  9. package/dist/vuetify-labs.esm.js.map +1 -1
  10. package/dist/vuetify-labs.js +59 -14
  11. package/dist/vuetify-labs.min.css +2 -2
  12. package/dist/vuetify.css +5468 -5462
  13. package/dist/vuetify.d.ts +7 -5
  14. package/dist/vuetify.esm.js +26 -4
  15. package/dist/vuetify.esm.js.map +1 -1
  16. package/dist/vuetify.js +26 -4
  17. package/dist/vuetify.js.map +1 -1
  18. package/dist/vuetify.min.css +2 -2
  19. package/dist/vuetify.min.js +768 -765
  20. package/dist/vuetify.min.js.map +1 -1
  21. package/lib/blueprints/index.d.mts +2 -0
  22. package/lib/blueprints/md1.d.mts +2 -0
  23. package/lib/blueprints/md2.d.mts +2 -0
  24. package/lib/blueprints/md3.d.mts +2 -0
  25. package/lib/components/VChip/VChip.css +67 -67
  26. package/lib/components/VChip/_variables.scss +1 -1
  27. package/lib/components/VColorPicker/VColorPickerCanvas.mjs +1 -0
  28. package/lib/components/VColorPicker/VColorPickerCanvas.mjs.map +1 -1
  29. package/lib/components/VCombobox/VCombobox.mjs +1 -1
  30. package/lib/components/VCombobox/VCombobox.mjs.map +1 -1
  31. package/lib/components/VField/VField.css +3 -0
  32. package/lib/components/VField/VField.sass +3 -0
  33. package/lib/components/VField/_variables.scss +1 -0
  34. package/lib/components/VTable/VTable.css +3 -0
  35. package/lib/components/VTable/VTable.sass +3 -0
  36. package/lib/entry-bundler.mjs +1 -1
  37. package/lib/framework.mjs +1 -1
  38. package/lib/index.d.mts +7 -5
  39. package/lib/labs/VDataTable/VDataTableFooter.mjs +12 -4
  40. package/lib/labs/VDataTable/VDataTableFooter.mjs.map +1 -1
  41. package/lib/labs/VDataTable/index.d.mts +48 -48
  42. package/lib/labs/VDatePicker/VDatePickerMonth.mjs +14 -2
  43. package/lib/labs/VDatePicker/VDatePickerMonth.mjs.map +1 -1
  44. package/lib/labs/VDatePicker/index.d.mts +18 -0
  45. package/lib/labs/VDateRangePicker/index.d.mts +12 -0
  46. package/lib/labs/VOtpInput/VOtpInput.css +3 -2
  47. package/lib/labs/VOtpInput/VOtpInput.mjs +7 -4
  48. package/lib/labs/VOtpInput/VOtpInput.mjs.map +1 -1
  49. package/lib/labs/VOtpInput/VOtpInput.sass +9 -8
  50. package/lib/labs/VOtpInput/_variables.scss +9 -0
  51. package/lib/labs/components.d.mts +66 -48
  52. package/lib/labs/date/DateAdapter.mjs.map +1 -1
  53. package/lib/labs/date/adapters/vuetify.d.mts +4 -0
  54. package/lib/labs/date/adapters/vuetify.mjs +18 -1
  55. package/lib/labs/date/adapters/vuetify.mjs.map +1 -1
  56. package/lib/labs/date/index.d.mts +4 -0
  57. package/package.json +2 -2
package/dist/vuetify.d.ts CHANGED
@@ -837,6 +837,8 @@ interface DateAdapter<T> {
837
837
  date(value?: any): T | null;
838
838
  format(date: T, formatString: string): string;
839
839
  toJsDate(value: T): Date;
840
+ parseISO(date: string): T;
841
+ toISO(date: T): string;
840
842
  startOfDay(date: T): T;
841
843
  endOfDay(date: T): T;
842
844
  startOfMonth(date: T): T;
@@ -60609,10 +60611,6 @@ declare module '@vue/runtime-core' {
60609
60611
  }
60610
60612
 
60611
60613
  export interface GlobalComponents {
60612
- VSwitch: typeof import('vuetify/components')['VSwitch']
60613
- VSystemBar: typeof import('vuetify/components')['VSystemBar']
60614
- VTabs: typeof import('vuetify/components')['VTabs']
60615
- VTab: typeof import('vuetify/components')['VTab']
60616
60614
  VApp: typeof import('vuetify/components')['VApp']
60617
60615
  VAppBar: typeof import('vuetify/components')['VAppBar']
60618
60616
  VAppBarNavIcon: typeof import('vuetify/components')['VAppBarNavIcon']
@@ -60696,6 +60694,10 @@ declare module '@vue/runtime-core' {
60696
60694
  VSlideGroupItem: typeof import('vuetify/components')['VSlideGroupItem']
60697
60695
  VSlider: typeof import('vuetify/components')['VSlider']
60698
60696
  VSnackbar: typeof import('vuetify/components')['VSnackbar']
60697
+ VSwitch: typeof import('vuetify/components')['VSwitch']
60698
+ VSystemBar: typeof import('vuetify/components')['VSystemBar']
60699
+ VTabs: typeof import('vuetify/components')['VTabs']
60700
+ VTab: typeof import('vuetify/components')['VTab']
60699
60701
  VTable: typeof import('vuetify/components')['VTable']
60700
60702
  VTextarea: typeof import('vuetify/components')['VTextarea']
60701
60703
  VTextField: typeof import('vuetify/components')['VTextField']
@@ -60743,6 +60745,7 @@ declare module '@vue/runtime-core' {
60743
60745
  VExpandXTransition: typeof import('vuetify/components')['VExpandXTransition']
60744
60746
  VDialogTransition: typeof import('vuetify/components')['VDialogTransition']
60745
60747
  VBottomSheet: typeof import('vuetify/labs/components')['VBottomSheet']
60748
+ VDataIterator: typeof import('vuetify/labs/components')['VDataIterator']
60746
60749
  VDataTable: typeof import('vuetify/labs/components')['VDataTable']
60747
60750
  VDataTableFooter: typeof import('vuetify/labs/components')['VDataTableFooter']
60748
60751
  VDataTableRows: typeof import('vuetify/labs/components')['VDataTableRows']
@@ -60766,6 +60769,5 @@ declare module '@vue/runtime-core' {
60766
60769
  VStepperItem: typeof import('vuetify/labs/components')['VStepperItem']
60767
60770
  VStepperWindow: typeof import('vuetify/labs/components')['VStepperWindow']
60768
60771
  VStepperWindowItem: typeof import('vuetify/labs/components')['VStepperWindowItem']
60769
- VDataIterator: typeof import('vuetify/labs/components')['VDataIterator']
60770
60772
  }
60771
60773
  }
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Vuetify v3.3.20
2
+ * Vuetify v3.3.21
3
3
  * Forged by John Leider
4
4
  * Released under the MIT License.
5
5
  */
@@ -258,6 +258,10 @@ function padEnd(str, length) {
258
258
  let char = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : '0';
259
259
  return str + char.repeat(Math.max(0, length - str.length));
260
260
  }
261
+ function padStart(str, length) {
262
+ let char = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : '0';
263
+ return char.repeat(Math.max(0, length - str.length)) + str;
264
+ }
261
265
  function chunk(str) {
262
266
  let size = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1;
263
267
  const chunked = [];
@@ -13114,6 +13118,7 @@ const VColorPickerCanvas = defineComponent({
13114
13118
  x,
13115
13119
  y
13116
13120
  } = val;
13121
+ _dotPosition.value = val;
13117
13122
  emit('update:color', {
13118
13123
  h: props.color?.h ?? 0,
13119
13124
  s: clamp(x, 0, canvasWidth.value) / canvasWidth.value,
@@ -14908,7 +14913,7 @@ const VCombobox = genericComponent()({
14908
14913
  return _search.value;
14909
14914
  },
14910
14915
  set: val => {
14911
- _search.value = val;
14916
+ _search.value = val ?? '';
14912
14917
  if (!props.multiple) {
14913
14918
  model.value = [transformItem$1(props, val)];
14914
14919
  }
@@ -20123,6 +20128,17 @@ function format(value, formatString, locale) {
20123
20128
  }
20124
20129
  return new Intl.DateTimeFormat(locale, options).format(date);
20125
20130
  }
20131
+ function toISO(adapter, value) {
20132
+ const date = adapter.toJsDate(value);
20133
+ const year = date.getFullYear();
20134
+ const month = padStart(String(date.getMonth() + 1), 2, '0');
20135
+ const day = padStart(String(date.getDate()), 2, '0');
20136
+ return `${year}-${month}-${day}`;
20137
+ }
20138
+ function parseISO(value) {
20139
+ const [year, month, day] = value.split('-').map(Number);
20140
+ return new Date(year, month - 1, day);
20141
+ }
20126
20142
  function addDays(date, amount) {
20127
20143
  const d = new Date(date);
20128
20144
  d.setDate(d.getDate() + amount);
@@ -20197,6 +20213,12 @@ class VuetifyDateAdapter {
20197
20213
  toJsDate(date) {
20198
20214
  return date;
20199
20215
  }
20216
+ toISO(date) {
20217
+ return toISO(this, date);
20218
+ }
20219
+ parseISO(date) {
20220
+ return parseISO(date);
20221
+ }
20200
20222
  addDays(date, amount) {
20201
20223
  return addDays(date, amount);
20202
20224
  }
@@ -20404,7 +20426,7 @@ function createVuetify$1() {
20404
20426
  date
20405
20427
  };
20406
20428
  }
20407
- const version$1 = "3.3.20";
20429
+ const version$1 = "3.3.21";
20408
20430
  createVuetify$1.version = version$1;
20409
20431
 
20410
20432
  // Vue's inject() can only be used in setup
@@ -20429,7 +20451,7 @@ const createVuetify = function () {
20429
20451
  ...options
20430
20452
  });
20431
20453
  };
20432
- const version = "3.3.20";
20454
+ const version = "3.3.21";
20433
20455
  createVuetify.version = version;
20434
20456
 
20435
20457
  export { components, createVuetify, directives, useDefaults, useDisplay, useLayout, useLocale, useRtl, useTheme, version };