vuetify 3.3.4 → 3.3.5

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 (45) hide show
  1. package/dist/json/attributes.json +0 -4
  2. package/dist/json/importMap.json +32 -32
  3. package/dist/json/tags.json +0 -1
  4. package/dist/json/web-types.json +3 -13
  5. package/dist/vuetify-labs.css +14 -15
  6. package/dist/vuetify-labs.d.ts +0 -46
  7. package/dist/vuetify-labs.esm.js +21 -17
  8. package/dist/vuetify-labs.esm.js.map +1 -1
  9. package/dist/vuetify-labs.js +21 -17
  10. package/dist/vuetify-labs.min.css +2 -2
  11. package/dist/vuetify.css +31 -31
  12. package/dist/vuetify.d.ts +8 -8
  13. package/dist/vuetify.esm.js +10 -8
  14. package/dist/vuetify.esm.js.map +1 -1
  15. package/dist/vuetify.js +10 -8
  16. package/dist/vuetify.js.map +1 -1
  17. package/dist/vuetify.min.css +2 -2
  18. package/dist/vuetify.min.js +4 -4
  19. package/dist/vuetify.min.js.map +1 -1
  20. package/lib/composables/virtual.mjs +7 -5
  21. package/lib/composables/virtual.mjs.map +1 -1
  22. package/lib/entry-bundler.mjs +1 -1
  23. package/lib/framework.mjs +1 -1
  24. package/lib/index.d.mts +8 -8
  25. package/lib/labs/VDatePicker/VDatePicker.css +3 -5
  26. package/lib/labs/VDatePicker/VDatePicker.mjs +12 -10
  27. package/lib/labs/VDatePicker/VDatePicker.mjs.map +1 -1
  28. package/lib/labs/VDatePicker/VDatePicker.sass +3 -5
  29. package/lib/labs/VDatePicker/VDatePickerControls.css +3 -1
  30. package/lib/labs/VDatePicker/VDatePickerControls.sass +3 -3
  31. package/lib/labs/VDatePicker/VDatePickerMonth.css +0 -1
  32. package/lib/labs/VDatePicker/VDatePickerMonth.sass +0 -1
  33. package/lib/labs/VDatePicker/VDatePickerTitle.sass +1 -1
  34. package/lib/labs/VDatePicker/VDatePickerYears.css +1 -1
  35. package/lib/labs/VDatePicker/VDatePickerYears.sass +1 -1
  36. package/lib/labs/VDatePicker/_variables.scss +0 -5
  37. package/lib/labs/VDatePicker/index.d.mts +0 -46
  38. package/lib/labs/VPicker/VPicker.css +1 -1
  39. package/lib/labs/VPicker/VPicker.sass +1 -1
  40. package/lib/labs/VPicker/_variables.scss +2 -2
  41. package/lib/labs/components.d.mts +0 -46
  42. package/package.json +2 -2
  43. package/lib/labs/VDatePicker/VDatePickerTable.sass +0 -84
  44. package/lib/labs/VDatePicker/mixins/date-picker-table.mjs +0 -210
  45. package/lib/labs/VDatePicker/mixins/date-picker-table.mjs.map +0 -1
@@ -3555,10 +3555,6 @@
3555
3555
  "type": "string\n",
3556
3556
  "description": "Text shown when no **display-date** is set."
3557
3557
  },
3558
- "v-date-picker/transition": {
3559
- "type": "string\n",
3560
- "description": "Sets the component transition. Can be one of the [built in](/styles/transitions/) or custom transition."
3561
- },
3562
3558
  "v-date-picker/multiple": {
3563
3559
  "type": "boolean\n",
3564
3560
  "description": "Allow the selection of multiple dates"
@@ -4,18 +4,6 @@
4
4
  "from": "components/VApp/index.mjs",
5
5
  "styles": []
6
6
  },
7
- "VAppBar": {
8
- "from": "components/VAppBar/index.mjs",
9
- "styles": []
10
- },
11
- "VAppBarNavIcon": {
12
- "from": "components/VAppBar/index.mjs",
13
- "styles": []
14
- },
15
- "VAppBarTitle": {
16
- "from": "components/VAppBar/index.mjs",
17
- "styles": []
18
- },
19
7
  "VAlert": {
20
8
  "from": "components/VAlert/index.mjs",
21
9
  "styles": []
@@ -100,6 +88,14 @@
100
88
  "from": "components/VCard/index.mjs",
101
89
  "styles": []
102
90
  },
91
+ "VCarousel": {
92
+ "from": "components/VCarousel/index.mjs",
93
+ "styles": []
94
+ },
95
+ "VCarouselItem": {
96
+ "from": "components/VCarousel/index.mjs",
97
+ "styles": []
98
+ },
103
99
  "VCheckbox": {
104
100
  "from": "components/VCheckbox/index.mjs",
105
101
  "styles": []
@@ -120,14 +116,6 @@
120
116
  "from": "components/VCode/index.mjs",
121
117
  "styles": []
122
118
  },
123
- "VCarousel": {
124
- "from": "components/VCarousel/index.mjs",
125
- "styles": []
126
- },
127
- "VCarouselItem": {
128
- "from": "components/VCarousel/index.mjs",
129
- "styles": []
130
- },
131
119
  "VColorPicker": {
132
120
  "from": "components/VColorPicker/index.mjs",
133
121
  "styles": []
@@ -328,14 +316,14 @@
328
316
  "from": "components/VSlider/index.mjs",
329
317
  "styles": []
330
318
  },
331
- "VSwitch": {
332
- "from": "components/VSwitch/index.mjs",
333
- "styles": []
334
- },
335
319
  "VSnackbar": {
336
320
  "from": "components/VSnackbar/index.mjs",
337
321
  "styles": []
338
322
  },
323
+ "VSwitch": {
324
+ "from": "components/VSwitch/index.mjs",
325
+ "styles": []
326
+ },
339
327
  "VSystemBar": {
340
328
  "from": "components/VSystemBar/index.mjs",
341
329
  "styles": []
@@ -352,6 +340,10 @@
352
340
  "from": "components/VTable/index.mjs",
353
341
  "styles": []
354
342
  },
343
+ "VTextarea": {
344
+ "from": "components/VTextarea/index.mjs",
345
+ "styles": []
346
+ },
355
347
  "VTextField": {
356
348
  "from": "components/VTextField/index.mjs",
357
349
  "styles": []
@@ -388,6 +380,18 @@
388
380
  "from": "components/VWindow/index.mjs",
389
381
  "styles": []
390
382
  },
383
+ "VAppBar": {
384
+ "from": "components/VAppBar/index.mjs",
385
+ "styles": []
386
+ },
387
+ "VAppBarNavIcon": {
388
+ "from": "components/VAppBar/index.mjs",
389
+ "styles": []
390
+ },
391
+ "VAppBarTitle": {
392
+ "from": "components/VAppBar/index.mjs",
393
+ "styles": []
394
+ },
391
395
  "VDefaultsProvider": {
392
396
  "from": "components/VDefaultsProvider/index.mjs",
393
397
  "styles": []
@@ -396,10 +400,6 @@
396
400
  "from": "components/VForm/index.mjs",
397
401
  "styles": []
398
402
  },
399
- "VHover": {
400
- "from": "components/VHover/index.mjs",
401
- "styles": []
402
- },
403
403
  "VContainer": {
404
404
  "from": "components/VGrid/index.mjs",
405
405
  "styles": []
@@ -416,6 +416,10 @@
416
416
  "from": "components/VGrid/index.mjs",
417
417
  "styles": []
418
418
  },
419
+ "VHover": {
420
+ "from": "components/VHover/index.mjs",
421
+ "styles": []
422
+ },
419
423
  "VLayout": {
420
424
  "from": "components/VLayout/index.mjs",
421
425
  "styles": []
@@ -527,10 +531,6 @@
527
531
  "VDialogTransition": {
528
532
  "from": "components/transitions/index.mjs",
529
533
  "styles": []
530
- },
531
- "VTextarea": {
532
- "from": "components/VTextarea/index.mjs",
533
- "styles": []
534
534
  }
535
535
  },
536
536
  "directives": [
@@ -1150,7 +1150,6 @@
1150
1150
  "tag",
1151
1151
  "theme",
1152
1152
  "title",
1153
- "transition",
1154
1153
  "view-mode",
1155
1154
  "width"
1156
1155
  ],
@@ -2,7 +2,7 @@
2
2
  "$schema": "http://json.schemastore.org/web-types",
3
3
  "framework": "vue",
4
4
  "name": "vuetify",
5
- "version": "3.3.4",
5
+ "version": "3.3.5",
6
6
  "contributions": {
7
7
  "html": {
8
8
  "types-syntax": "typescript",
@@ -15074,16 +15074,6 @@
15074
15074
  "type": "string\n"
15075
15075
  }
15076
15076
  },
15077
- {
15078
- "name": "transition",
15079
- "description": "Sets the component transition. Can be one of the [built in](/styles/transitions/) or custom transition.",
15080
- "doc-url": "https://vuetifyjs.com/api/v-date-picker#props",
15081
- "default": "'fade'",
15082
- "value": {
15083
- "kind": "expression",
15084
- "type": "string\n"
15085
- }
15086
- },
15087
15077
  {
15088
15078
  "name": "multiple",
15089
15079
  "description": "Allow the selection of multiple dates",
@@ -15487,7 +15477,7 @@
15487
15477
  "name": "displayDate",
15488
15478
  "description": "MISSING DESCRIPTION",
15489
15479
  "doc-url": "https://vuetifyjs.com/api/v-date-picker-controls#props",
15490
- "default": "new Date('2023-06-13T20:04:56.103Z')",
15480
+ "default": "new Date('2023-06-20T16:36:52.948Z')",
15491
15481
  "value": {
15492
15482
  "kind": "expression",
15493
15483
  "type": "any\n"
@@ -15694,7 +15684,7 @@
15694
15684
  "name": "displayDate",
15695
15685
  "description": "MISSING DESCRIPTION",
15696
15686
  "doc-url": "https://vuetifyjs.com/api/v-date-picker-month#props",
15697
- "default": "new Date('2023-06-13T20:04:56.103Z')",
15687
+ "default": "new Date('2023-06-20T16:36:52.948Z')",
15698
15688
  "value": {
15699
15689
  "kind": "expression",
15700
15690
  "type": "any\n"
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Vuetify v3.3.4
2
+ * Vuetify v3.3.5
3
3
  * Forged by John Leider
4
4
  * Released under the MIT License.
5
5
  */
@@ -16180,19 +16180,17 @@ html.overflow-y-hidden {
16180
16180
 
16181
16181
  .v-date-picker {
16182
16182
  overflow: hidden;
16183
- width: 358px;
16184
16183
  }
16185
16184
  .v-date-picker .v-date-picker-month {
16186
- padding-bottom: 8px;
16187
16185
  padding-inline-start: 12px;
16188
16186
  padding-inline-end: 12px;
16189
16187
  }
16190
16188
  .v-date-picker .v-date-picker-month .v-date-picker-month__day {
16191
- height: 40px;
16192
- width: 40px;
16189
+ height: 48px;
16190
+ width: 48px;
16193
16191
  }
16194
16192
  .v-date-picker .v-date-picker-month .v-date-picker-month__day .v-btn {
16195
- --v-btn-height: 24px;
16193
+ --v-btn-height: 28px;
16196
16194
  --v-btn-size: 0.85rem;
16197
16195
  }.v-date-picker-controls {
16198
16196
  display: flex;
@@ -16200,10 +16198,12 @@ html.overflow-y-hidden {
16200
16198
  justify-content: space-between;
16201
16199
  font-size: 0.875rem;
16202
16200
  padding-inline-start: 24px;
16201
+ padding-top: 4px;
16202
+ padding-bottom: 4px;
16203
16203
  padding-inline-end: 12px;
16204
16204
  }
16205
16205
  .v-date-picker-controls .v-btn:last-child {
16206
- margin-left: 24px;
16206
+ margin-left: 4px;
16207
16207
  }
16208
16208
 
16209
16209
  .v-date-picker-controls__date {
@@ -16264,7 +16264,6 @@ html.overflow-y-hidden {
16264
16264
  }.v-date-picker-month {
16265
16265
  display: flex;
16266
16266
  justify-content: center;
16267
- height: 268px;
16268
16267
  min-width: 328px;
16269
16268
  --v-date-picker-month-day-diff: 4px;
16270
16269
  }
@@ -16338,7 +16337,7 @@ html.overflow-y-hidden {
16338
16337
  .v-date-picker-month__day--selected.v-date-picker-month__day--start.v-date-picker-month__day--week-end .v-date-picker-month__day--range {
16339
16338
  display: none;
16340
16339
  }.v-date-picker-years {
16341
- height: 268px;
16340
+ height: 308px;
16342
16341
  overflow-y: scroll;
16343
16342
  }
16344
16343
 
@@ -16386,7 +16385,7 @@ html.overflow-y-hidden {
16386
16385
  grid-auto-rows: min-content;
16387
16386
  grid-template-areas: "title" "header" "body";
16388
16387
  overflow: hidden;
16389
- width: 358px;
16388
+ width: 360px;
16390
16389
  }
16391
16390
  .v-picker.v-sheet.v-picker--with-actions {
16392
16391
  grid-template-areas: "title" "header" "body" "actions";
@@ -20615,6 +20614,11 @@ textarea.v-field__input::placeholder {
20615
20614
 
20616
20615
  .v-img__gradient {
20617
20616
  background-repeat: no-repeat;
20617
+ }.v-item-group {
20618
+ flex: 0 1 auto;
20619
+ max-width: 100%;
20620
+ position: relative;
20621
+ transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
20618
20622
  }.v-input {
20619
20623
  display: grid;
20620
20624
  flex: 1 1 auto;
@@ -20775,11 +20779,6 @@ textarea.v-field__input::placeholder {
20775
20779
 
20776
20780
  .v-layout-item--absolute {
20777
20781
  position: absolute;
20778
- }.v-item-group {
20779
- flex: 0 1 auto;
20780
- max-width: 100%;
20781
- position: relative;
20782
- transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
20783
20782
  }.v-list {
20784
20783
  overflow: auto;
20785
20784
  padding: 8px 0;
@@ -72016,9 +72016,6 @@ declare const VDatePicker: {
72016
72016
  $: vue.ComponentInternalInstance;
72017
72017
  $data: {};
72018
72018
  $props: {
72019
- transition?: NonNullable<string | boolean | (vue.TransitionProps & {
72020
- component?: vue.Component | undefined;
72021
- })> | undefined;
72022
72019
  header?: string | undefined;
72023
72020
  style?: vue.StyleValue | undefined;
72024
72021
  title?: string | undefined;
@@ -72151,9 +72148,6 @@ declare const VDatePicker: {
72151
72148
  $emit: ((event: "update:modelValue", date: any[]) => void) & ((event: "update:focused", focused: boolean) => void) & ((event: "update:inputMode", inputMode: "calendar" | "keyboard") => void) & ((event: "update:displayDate", date: any) => void) & ((event: "update:viewMode", viewMode: "month" | "year") => void) & ((event: "click:cancel") => void) & ((event: "click:save") => void);
72152
72149
  $el: any;
72153
72150
  $options: vue.ComponentOptionsBase<{
72154
- transition: NonNullable<string | boolean | (vue.TransitionProps & {
72155
- component?: vue.Component | undefined;
72156
- })>;
72157
72151
  header: string;
72158
72152
  style: vue.StyleValue;
72159
72153
  title: string;
@@ -72236,9 +72230,6 @@ declare const VDatePicker: {
72236
72230
  'click:cancel': () => true;
72237
72231
  'click:save': () => true;
72238
72232
  }, string, {
72239
- transition: NonNullable<string | boolean | (vue.TransitionProps & {
72240
- component?: vue.Component | undefined;
72241
- })>;
72242
72233
  header: string;
72243
72234
  style: vue.StyleValue;
72244
72235
  title: string;
@@ -72292,9 +72283,6 @@ declare const VDatePicker: {
72292
72283
  $nextTick: typeof vue.nextTick;
72293
72284
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: vue.WatchOptions<boolean> | undefined): vue.WatchStopHandle;
72294
72285
  } & {
72295
- transition: NonNullable<string | boolean | (vue.TransitionProps & {
72296
- component?: vue.Component | undefined;
72297
- })>;
72298
72286
  header: string;
72299
72287
  style: vue.StyleValue;
72300
72288
  title: string;
@@ -72373,9 +72361,6 @@ declare const VDatePicker: {
72373
72361
  __isTeleport?: undefined;
72374
72362
  __isSuspense?: undefined;
72375
72363
  } & vue.ComponentOptionsBase<{
72376
- transition: NonNullable<string | boolean | (vue.TransitionProps & {
72377
- component?: vue.Component | undefined;
72378
- })>;
72379
72364
  header: string;
72380
72365
  style: vue.StyleValue;
72381
72366
  title: string;
@@ -72458,9 +72443,6 @@ declare const VDatePicker: {
72458
72443
  'click:cancel': () => true;
72459
72444
  'click:save': () => true;
72460
72445
  }, string, {
72461
- transition: NonNullable<string | boolean | (vue.TransitionProps & {
72462
- component?: vue.Component | undefined;
72463
- })>;
72464
72446
  header: string;
72465
72447
  style: vue.StyleValue;
72466
72448
  title: string;
@@ -72571,20 +72553,6 @@ declare const VDatePicker: {
72571
72553
  type: StringConstructor[];
72572
72554
  default: string;
72573
72555
  };
72574
- transition: Omit<{
72575
- type: vue.PropType<string | boolean | (vue.TransitionProps & {
72576
- component?: vue.Component | undefined;
72577
- })>;
72578
- default: string;
72579
- validator: (val: unknown) => boolean;
72580
- }, "type" | "default"> & {
72581
- type: vue.PropType<NonNullable<string | boolean | (vue.TransitionProps & {
72582
- component?: vue.Component | undefined;
72583
- })>>;
72584
- default: NonNullable<string | boolean | (vue.TransitionProps & {
72585
- component?: vue.Component | undefined;
72586
- })>;
72587
- };
72588
72556
  inputMode: {
72589
72557
  type: vue.PropType<"calendar" | "keyboard">;
72590
72558
  default: string;
@@ -72692,20 +72660,6 @@ declare const VDatePicker: {
72692
72660
  type: StringConstructor[];
72693
72661
  default: string;
72694
72662
  };
72695
- transition: Omit<{
72696
- type: vue.PropType<string | boolean | (vue.TransitionProps & {
72697
- component?: vue.Component | undefined;
72698
- })>;
72699
- default: string;
72700
- validator: (val: unknown) => boolean;
72701
- }, "type" | "default"> & {
72702
- type: vue.PropType<NonNullable<string | boolean | (vue.TransitionProps & {
72703
- component?: vue.Component | undefined;
72704
- })>>;
72705
- default: NonNullable<string | boolean | (vue.TransitionProps & {
72706
- component?: vue.Component | undefined;
72707
- })>;
72708
- };
72709
72663
  inputMode: {
72710
72664
  type: vue.PropType<"calendar" | "keyboard">;
72711
72665
  default: string;
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Vuetify v3.3.4
2
+ * Vuetify v3.3.5
3
3
  * Forged by John Leider
4
4
  * Released under the MIT License.
5
5
  */
@@ -19104,12 +19104,14 @@ function useVirtual(props, items, offset) {
19104
19104
  const direction = scrollTop < lastScrollTop ? UP : DOWN;
19105
19105
  const midPointIndex = calculateMidPointIndex(scrollTop + height / 2);
19106
19106
  const buffer = Math.round(visibleItems.value / 3);
19107
- if (direction === UP && midPointIndex <= first.value + buffer * 2 - 1) {
19108
- first.value = clamp(midPointIndex - buffer, 0, items.value.length);
19109
- } else if (direction === DOWN && midPointIndex >= first.value + buffer * 2 - 1) {
19110
- first.value = clamp(midPointIndex - buffer, 0, items.value.length - visibleItems.value);
19107
+ const firstIndex = midPointIndex - buffer;
19108
+ const lastIndex = first.value + buffer * 2 - 1;
19109
+ if (direction === UP && midPointIndex <= lastIndex) {
19110
+ first.value = clamp(firstIndex, 0, items.value.length);
19111
+ } else if (direction === DOWN && midPointIndex >= lastIndex) {
19112
+ first.value = clamp(firstIndex, 0, items.value.length - visibleItems.value);
19111
19113
  }
19112
- lastScrollTop = containerRef.value.scrollTop;
19114
+ lastScrollTop = scrollTop;
19113
19115
  }
19114
19116
  function scrollToIndex(index) {
19115
19117
  if (!containerRef.value) return;
@@ -22576,9 +22578,6 @@ const makeVDatePickerProps = propsFactory({
22576
22578
  },
22577
22579
  hideActions: Boolean,
22578
22580
  ...makeDateProps(),
22579
- ...makeTransitionProps({
22580
- transition: 'fade'
22581
- }),
22582
22581
  ...makeVDatePickerControlsProps(),
22583
22582
  ...makeVDatePickerMonthProps(),
22584
22583
  ...makeVDatePickerYearsProps(),
@@ -22625,7 +22624,9 @@ const VDatePicker = genericComponent()({
22625
22624
  if (props.hideActions) {
22626
22625
  emit('update:modelValue', val);
22627
22626
  }
22628
- isReversing.value = adapter.isBefore(val[0], oldVal[0]);
22627
+ if (val[0] && oldVal[0]) {
22628
+ isReversing.value = adapter.isBefore(val[0], oldVal[0]);
22629
+ }
22629
22630
  });
22630
22631
  function onClickCancel() {
22631
22632
  emit('click:cancel');
@@ -22661,16 +22662,19 @@ const VDatePicker = genericComponent()({
22661
22662
  "onUpdate:displayDate": $event => displayDate.value = $event,
22662
22663
  "viewMode": viewMode.value,
22663
22664
  "onUpdate:viewMode": $event => viewMode.value = $event
22664
- }), null), createVNode(MaybeTransition, {
22665
- "transition": props.transition,
22666
- "mode": "out-in"
22665
+ }), null), createVNode(VFadeTransition, {
22666
+ "hideOnLeave": true
22667
22667
  }, {
22668
- default: () => [viewMode.value === 'month' ? createVNode(VDatePickerMonth, mergeProps(datePickerMonthProps, {
22668
+ default: () => [viewMode.value === 'month' ? createVNode(VDatePickerMonth, mergeProps({
22669
+ "key": "date-picker-month"
22670
+ }, datePickerMonthProps, {
22669
22671
  "modelValue": model.value,
22670
22672
  "onUpdate:modelValue": $event => model.value = $event,
22671
22673
  "displayDate": displayDate.value,
22672
22674
  "onUpdate:displayDate": $event => displayDate.value = $event
22673
- }), null) : createVNode(VDatePickerYears, mergeProps(datePickerYearsProps, {
22675
+ }), null) : createVNode(VDatePickerYears, mergeProps({
22676
+ "key": "date-picker-years"
22677
+ }, datePickerYearsProps, {
22674
22678
  "displayDate": displayDate.value,
22675
22679
  "onUpdate:displayDate": $event => displayDate.value = $event,
22676
22680
  "viewMode": viewMode.value,
@@ -23415,7 +23419,7 @@ function createVuetify$1() {
23415
23419
  date
23416
23420
  };
23417
23421
  }
23418
- const version$1 = "3.3.4";
23422
+ const version$1 = "3.3.5";
23419
23423
  createVuetify$1.version = version$1;
23420
23424
 
23421
23425
  // Vue's inject() can only be used in setup
@@ -23429,7 +23433,7 @@ function inject(key) {
23429
23433
 
23430
23434
  /* eslint-disable local-rules/sort-imports */
23431
23435
 
23432
- const version = "3.3.4";
23436
+ const version = "3.3.5";
23433
23437
 
23434
23438
  /* eslint-disable local-rules/sort-imports */
23435
23439