@vuetify/nightly 3.6.0-alpha.2-dev.2024-04-22 → 3.6.0-alpha.2-dev.2024-04-23

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.
@@ -42632,6 +42632,7 @@ declare const VNavigationDrawer: {
42632
42632
  tile: boolean;
42633
42633
  floating: boolean;
42634
42634
  location: "left" | "right" | "end" | "top" | "bottom" | "start";
42635
+ persistent: boolean;
42635
42636
  scrim: string | boolean;
42636
42637
  touchless: boolean;
42637
42638
  disableResizeWatcher: boolean;
@@ -42690,6 +42691,7 @@ declare const VNavigationDrawer: {
42690
42691
  tile: boolean;
42691
42692
  floating: boolean;
42692
42693
  location: "left" | "right" | "end" | "top" | "bottom" | "start";
42694
+ persistent: boolean;
42693
42695
  scrim: string | boolean;
42694
42696
  touchless: boolean;
42695
42697
  disableResizeWatcher: boolean;
@@ -42744,6 +42746,7 @@ declare const VNavigationDrawer: {
42744
42746
  tile: boolean;
42745
42747
  floating: boolean;
42746
42748
  location: "left" | "right" | "end" | "top" | "bottom" | "start";
42749
+ persistent: boolean;
42747
42750
  scrim: string | boolean;
42748
42751
  touchless: boolean;
42749
42752
  disableResizeWatcher: boolean;
@@ -42784,6 +42787,7 @@ declare const VNavigationDrawer: {
42784
42787
  tile: boolean;
42785
42788
  floating: boolean;
42786
42789
  location: "left" | "right" | "end" | "top" | "bottom" | "start";
42790
+ persistent: boolean;
42787
42791
  scrim: string | boolean;
42788
42792
  touchless: boolean;
42789
42793
  disableResizeWatcher: boolean;
@@ -42840,6 +42844,7 @@ declare const VNavigationDrawer: {
42840
42844
  tile: boolean;
42841
42845
  floating: boolean;
42842
42846
  location: "left" | "right" | "end" | "top" | "bottom" | "start";
42847
+ persistent: boolean;
42843
42848
  scrim: string | boolean;
42844
42849
  touchless: boolean;
42845
42850
  disableResizeWatcher: boolean;
@@ -42864,6 +42869,7 @@ declare const VNavigationDrawer: {
42864
42869
  tile: boolean;
42865
42870
  floating: boolean;
42866
42871
  location: "left" | "right" | "end" | "top" | "bottom" | "start";
42872
+ persistent: boolean;
42867
42873
  scrim: string | boolean;
42868
42874
  touchless: boolean;
42869
42875
  disableResizeWatcher: boolean;
@@ -42923,6 +42929,7 @@ declare const VNavigationDrawer: {
42923
42929
  tile: boolean;
42924
42930
  floating: boolean;
42925
42931
  location: "left" | "right" | "end" | "top" | "bottom" | "start";
42932
+ persistent: boolean;
42926
42933
  scrim: string | boolean;
42927
42934
  touchless: boolean;
42928
42935
  disableResizeWatcher: boolean;
@@ -43004,6 +43011,7 @@ declare const VNavigationDrawer: {
43004
43011
  };
43005
43012
  image: StringConstructor;
43006
43013
  temporary: BooleanConstructor;
43014
+ persistent: BooleanConstructor;
43007
43015
  touchless: BooleanConstructor;
43008
43016
  width: {
43009
43017
  type: (StringConstructor | NumberConstructor)[];
@@ -43074,6 +43082,7 @@ declare const VNavigationDrawer: {
43074
43082
  };
43075
43083
  image: StringConstructor;
43076
43084
  temporary: BooleanConstructor;
43085
+ persistent: BooleanConstructor;
43077
43086
  touchless: BooleanConstructor;
43078
43087
  width: {
43079
43088
  type: (StringConstructor | NumberConstructor)[];
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Vuetify v3.6.0-alpha.2-dev.2024-04-22
2
+ * Vuetify v3.6.0-alpha.2-dev.2024-04-23
3
3
  * Forged by John Leider
4
4
  * Released under the MIT License.
5
5
  */
@@ -23199,6 +23199,7 @@ const makeVNavigationDrawerProps = propsFactory({
23199
23199
  },
23200
23200
  image: String,
23201
23201
  temporary: Boolean,
23202
+ persistent: Boolean,
23202
23203
  touchless: Boolean,
23203
23204
  width: {
23204
23205
  type: [Number, String],
@@ -23280,6 +23281,7 @@ const VNavigationDrawer = genericComponent()({
23280
23281
  const location = computed(() => {
23281
23282
  return toPhysical(props.location, isRtl.value);
23282
23283
  });
23284
+ const isPersistent = computed(() => props.persistent);
23283
23285
  const isTemporary = computed(() => !props.permanent && (mobile.value || props.temporary));
23284
23286
  const isSticky = computed(() => props.sticky && !isTemporary.value && location.value !== 'bottom');
23285
23287
  useToggleScope(() => props.expandOnHover && props.rail != null, () => {
@@ -23363,6 +23365,7 @@ const VNavigationDrawer = genericComponent()({
23363
23365
  'v-navigation-drawer--is-hovering': isHovering.value,
23364
23366
  'v-navigation-drawer--rail': props.rail,
23365
23367
  'v-navigation-drawer--temporary': isTemporary.value,
23368
+ 'v-navigation-drawer--persistent': isPersistent.value,
23366
23369
  'v-navigation-drawer--active': isActive.value,
23367
23370
  'v-navigation-drawer--sticky': isSticky.value
23368
23371
  }, themeClasses.value, backgroundColorClasses.value, borderClasses.value, displayClasses.value, elevationClasses.value, roundedClasses.value, props.class],
@@ -23401,7 +23404,10 @@ const VNavigationDrawer = genericComponent()({
23401
23404
  default: () => [isTemporary.value && (isDragging.value || isActive.value) && !!props.scrim && createVNode("div", mergeProps({
23402
23405
  "class": ['v-navigation-drawer__scrim', scrimColor.backgroundColorClasses.value],
23403
23406
  "style": [scrimStyles.value, scrimColor.backgroundColorStyles.value],
23404
- "onClick": () => isActive.value = false
23407
+ "onClick": () => {
23408
+ if (isPersistent.value) return;
23409
+ isActive.value = false;
23410
+ }
23405
23411
  }, scopeId), null)]
23406
23412
  })]);
23407
23413
  });
@@ -29110,7 +29116,7 @@ function createVuetify$1() {
29110
29116
  goTo
29111
29117
  };
29112
29118
  }
29113
- const version$1 = "3.6.0-alpha.2-dev.2024-04-22";
29119
+ const version$1 = "3.6.0-alpha.2-dev.2024-04-23";
29114
29120
  createVuetify$1.version = version$1;
29115
29121
 
29116
29122
  // Vue's inject() can only be used in setup
@@ -29363,7 +29369,7 @@ var index = /*#__PURE__*/Object.freeze({
29363
29369
 
29364
29370
  /* eslint-disable local-rules/sort-imports */
29365
29371
 
29366
- const version = "3.6.0-alpha.2-dev.2024-04-22";
29372
+ const version = "3.6.0-alpha.2-dev.2024-04-23";
29367
29373
 
29368
29374
  /* eslint-disable local-rules/sort-imports */
29369
29375