@vuetify/nightly 3.3.4-master.2023-06-14 → 3.3.4-master.2023-06-16

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 (37) hide show
  1. package/CHANGELOG.md +5 -2
  2. package/dist/json/attributes.json +0 -4
  3. package/dist/json/tags.json +0 -1
  4. package/dist/json/web-types.json +3 -13
  5. package/dist/vuetify-labs.css +25 -26
  6. package/dist/vuetify-labs.d.ts +0 -46
  7. package/dist/vuetify-labs.esm.js +18 -16
  8. package/dist/vuetify-labs.esm.js.map +1 -1
  9. package/dist/vuetify-labs.js +18 -16
  10. package/dist/vuetify-labs.min.css +2 -2
  11. package/dist/vuetify.css +1 -1
  12. package/dist/vuetify.esm.js +10 -8
  13. package/dist/vuetify.esm.js.map +1 -1
  14. package/dist/vuetify.js +10 -8
  15. package/dist/vuetify.js.map +1 -1
  16. package/dist/vuetify.min.css +1 -1
  17. package/dist/vuetify.min.js +4 -4
  18. package/dist/vuetify.min.js.map +1 -1
  19. package/lib/composables/virtual.mjs +7 -5
  20. package/lib/composables/virtual.mjs.map +1 -1
  21. package/lib/entry-bundler.mjs +1 -1
  22. package/lib/framework.mjs +1 -1
  23. package/lib/labs/VDatePicker/VDatePicker.css +3 -5
  24. package/lib/labs/VDatePicker/VDatePicker.mjs +9 -9
  25. package/lib/labs/VDatePicker/VDatePicker.mjs.map +1 -1
  26. package/lib/labs/VDatePicker/VDatePicker.sass +3 -5
  27. package/lib/labs/VDatePicker/VDatePickerControls.css +3 -1
  28. package/lib/labs/VDatePicker/VDatePickerControls.sass +3 -3
  29. package/lib/labs/VDatePicker/VDatePickerMonth.css +0 -1
  30. package/lib/labs/VDatePicker/VDatePickerMonth.sass +0 -1
  31. package/lib/labs/VDatePicker/VDatePickerYears.css +1 -1
  32. package/lib/labs/VDatePicker/VDatePickerYears.sass +1 -1
  33. package/lib/labs/VDatePicker/index.d.mts +0 -46
  34. package/lib/labs/VPicker/VPicker.css +1 -1
  35. package/lib/labs/VPicker/VPicker.sass +1 -1
  36. package/lib/labs/components.d.mts +0 -46
  37. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,14 +1,17 @@
1
- # [](https://github.com/vuetifyjs/vuetify/compare/v3.3.4-master.2023-06-14...v) (2023-06-14)
1
+ # [](https://github.com/vuetifyjs/vuetify/compare/v3.3.4-master.2023-06-16...v) (2023-06-16)
2
2
 
3
3
 
4
4
 
5
- ## [3.3.4-master.2023-06-14](https://github.com/vuetifyjs/vuetify/compare/v3.3.4...v3.3.4-master.2023-06-14) (2023-06-14)
5
+ ## [3.3.4-master.2023-06-16](https://github.com/vuetifyjs/vuetify/compare/v3.3.4...v3.3.4-master.2023-06-16) (2023-06-16)
6
6
 
7
7
 
8
8
  ### Bug Fixes
9
9
 
10
10
  * **VDatePicker:** don't throw on empty model ([e5e3d84](https://github.com/vuetifyjs/vuetify/commit/e5e3d8425e1f8914b01497a4275e23a683ef5d70)), closes [#17601](https://github.com/vuetifyjs/vuetify/issues/17601)
11
11
  * **VDatePicker:** remove legacy sass imports ([0ecd917](https://github.com/vuetifyjs/vuetify/commit/0ecd917069d1b4e725dacacef2b0457a76fb094c)), closes [#17603](https://github.com/vuetifyjs/vuetify/issues/17603)
12
+ * **VDatePicker:** remove set height, update to better match spec ([2ce7096](https://github.com/vuetifyjs/vuetify/commit/2ce70963fd5d35c3191efd8b255df558014a1e6c))
13
+ * **VDatePicker:** year / month transition ([1673b96](https://github.com/vuetifyjs/vuetify/commit/1673b96480ad557bad742087fc21e89a1544361a))
14
+ * **VDatePickerMonth:** remove defined height ([80af8e6](https://github.com/vuetifyjs/vuetify/commit/80af8e6ca1ca4c054561d6c591f07ee72dd14ca7))
12
15
 
13
16
 
14
17
  ### Reverts
@@ -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"
@@ -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-master.2023-06-14",
5
+ "version": "3.3.4-master.2023-06-16",
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-14T12:04:40.054Z')",
15480
+ "default": "new Date('2023-06-16T12:04:33.744Z')",
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-14T12:04:40.054Z')",
15687
+ "default": "new Date('2023-06-16T12:04:33.744Z')",
15698
15688
  "value": {
15699
15689
  "kind": "expression",
15700
15690
  "type": "any\n"
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Vuetify v3.3.4-master.2023-06-14
2
+ * Vuetify v3.3.4-master.2023-06-16
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
  }
@@ -16337,6 +16336,23 @@ html.overflow-y-hidden {
16337
16336
  .v-date-picker-month__day--selected.v-date-picker-month__day--end.v-date-picker-month__day--week-start .v-date-picker-month__day--range,
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;
16339
+ }.v-date-picker-years {
16340
+ height: 308px;
16341
+ overflow-y: scroll;
16342
+ }
16343
+
16344
+ .v-date-picker-years__content {
16345
+ display: grid;
16346
+ flex: 1 1;
16347
+ justify-content: space-around;
16348
+ grid-template-columns: repeat(3, 1fr);
16349
+ grid-gap: 8px 24px;
16350
+ padding-inline-start: 36px;
16351
+ padding-inline-end: 36px;
16352
+ }
16353
+ .v-date-picker-years__content .v-btn {
16354
+ padding-inline-start: 8px;
16355
+ padding-inline-end: 8px;
16340
16356
  }.v-infinite-scroll--horizontal {
16341
16357
  display: flex;
16342
16358
  flex-direction: row;
@@ -16362,23 +16378,6 @@ html.overflow-y-hidden {
16362
16378
  display: flex;
16363
16379
  justify-content: center;
16364
16380
  padding: 8px;
16365
- }.v-date-picker-years {
16366
- height: 268px;
16367
- overflow-y: scroll;
16368
- }
16369
-
16370
- .v-date-picker-years__content {
16371
- display: grid;
16372
- flex: 1 1;
16373
- justify-content: space-around;
16374
- grid-template-columns: repeat(3, 1fr);
16375
- grid-gap: 8px 24px;
16376
- padding-inline-start: 36px;
16377
- padding-inline-end: 36px;
16378
- }
16379
- .v-date-picker-years__content .v-btn {
16380
- padding-inline-start: 8px;
16381
- padding-inline-end: 8px;
16382
16381
  }.v-picker.v-sheet {
16383
16382
  box-shadow: 0px 3px 1px -2px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, 0.2)), 0px 2px 2px 0px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, 0.14)), 0px 1px 5px 0px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, 0.12));
16384
16383
  border-radius: 4px;
@@ -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";
@@ -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-master.2023-06-14
2
+ * Vuetify v3.3.4-master.2023-06-16
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(),
@@ -22663,16 +22662,19 @@ const VDatePicker = genericComponent()({
22663
22662
  "onUpdate:displayDate": $event => displayDate.value = $event,
22664
22663
  "viewMode": viewMode.value,
22665
22664
  "onUpdate:viewMode": $event => viewMode.value = $event
22666
- }), null), createVNode(MaybeTransition, {
22667
- "transition": props.transition,
22668
- "mode": "out-in"
22665
+ }), null), createVNode(VFadeTransition, {
22666
+ "hideOnLeave": true
22669
22667
  }, {
22670
- default: () => [viewMode.value === 'month' ? createVNode(VDatePickerMonth, mergeProps(datePickerMonthProps, {
22668
+ default: () => [viewMode.value === 'month' ? createVNode(VDatePickerMonth, mergeProps({
22669
+ "key": "date-picker-month"
22670
+ }, datePickerMonthProps, {
22671
22671
  "modelValue": model.value,
22672
22672
  "onUpdate:modelValue": $event => model.value = $event,
22673
22673
  "displayDate": displayDate.value,
22674
22674
  "onUpdate:displayDate": $event => displayDate.value = $event
22675
- }), null) : createVNode(VDatePickerYears, mergeProps(datePickerYearsProps, {
22675
+ }), null) : createVNode(VDatePickerYears, mergeProps({
22676
+ "key": "date-picker-years"
22677
+ }, datePickerYearsProps, {
22676
22678
  "displayDate": displayDate.value,
22677
22679
  "onUpdate:displayDate": $event => displayDate.value = $event,
22678
22680
  "viewMode": viewMode.value,
@@ -23417,7 +23419,7 @@ function createVuetify$1() {
23417
23419
  date
23418
23420
  };
23419
23421
  }
23420
- const version$1 = "3.3.4-master.2023-06-14";
23422
+ const version$1 = "3.3.4-master.2023-06-16";
23421
23423
  createVuetify$1.version = version$1;
23422
23424
 
23423
23425
  // Vue's inject() can only be used in setup
@@ -23431,7 +23433,7 @@ function inject(key) {
23431
23433
 
23432
23434
  /* eslint-disable local-rules/sort-imports */
23433
23435
 
23434
- const version = "3.3.4-master.2023-06-14";
23436
+ const version = "3.3.4-master.2023-06-16";
23435
23437
 
23436
23438
  /* eslint-disable local-rules/sort-imports */
23437
23439