@vuetify/nightly 3.6.0-alpha.2-dev.2024-04-27 → 3.6.0-alpha.2-dev.2024-04-29

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 (35) hide show
  1. package/CHANGELOG.md +5 -2
  2. package/dist/json/attributes.json +24 -0
  3. package/dist/json/importMap-labs.json +18 -18
  4. package/dist/json/importMap.json +124 -124
  5. package/dist/json/tags.json +7 -1
  6. package/dist/json/web-types.json +55 -1
  7. package/dist/vuetify-labs.css +2197 -2193
  8. package/dist/vuetify-labs.d.ts +36 -0
  9. package/dist/vuetify-labs.esm.js +16 -7
  10. package/dist/vuetify-labs.esm.js.map +1 -1
  11. package/dist/vuetify-labs.js +16 -7
  12. package/dist/vuetify-labs.min.css +2 -2
  13. package/dist/vuetify.css +1046 -1042
  14. package/dist/vuetify.d.ts +78 -42
  15. package/dist/vuetify.esm.js +16 -7
  16. package/dist/vuetify.esm.js.map +1 -1
  17. package/dist/vuetify.js +16 -7
  18. package/dist/vuetify.js.map +1 -1
  19. package/dist/vuetify.min.css +2 -2
  20. package/dist/vuetify.min.js +13 -13
  21. package/dist/vuetify.min.js.map +1 -1
  22. package/lib/components/VLayout/VLayout.mjs +6 -1
  23. package/lib/components/VLayout/VLayout.mjs.map +1 -1
  24. package/lib/components/VLayout/index.d.mts +36 -0
  25. package/lib/components/VNavigationDrawer/VNavigationDrawer.css +4 -0
  26. package/lib/components/VNavigationDrawer/VNavigationDrawer.mjs +5 -2
  27. package/lib/components/VNavigationDrawer/VNavigationDrawer.mjs.map +1 -1
  28. package/lib/components/VNavigationDrawer/VNavigationDrawer.sass +5 -0
  29. package/lib/components/index.d.mts +36 -0
  30. package/lib/composables/layout.mjs +3 -1
  31. package/lib/composables/layout.mjs.map +1 -1
  32. package/lib/entry-bundler.mjs +1 -1
  33. package/lib/framework.mjs +1 -1
  34. package/lib/index.d.mts +42 -42
  35. package/package.json +1 -1
@@ -38210,7 +38210,13 @@ declare const VLayout: {
38210
38210
  fullHeight: boolean;
38211
38211
  } & {
38212
38212
  class?: any;
38213
+ width?: string | number | undefined;
38214
+ height?: string | number | undefined;
38213
38215
  overlaps?: string[] | undefined;
38216
+ maxHeight?: string | number | undefined;
38217
+ maxWidth?: string | number | undefined;
38218
+ minHeight?: string | number | undefined;
38219
+ minWidth?: string | number | undefined;
38214
38220
  } & {
38215
38221
  $children?: vue.VNodeChild | {
38216
38222
  default?: (() => vue.VNodeChild) | undefined;
@@ -38244,7 +38250,13 @@ declare const VLayout: {
38244
38250
  fullHeight: boolean;
38245
38251
  } & {
38246
38252
  class?: any;
38253
+ width?: string | number | undefined;
38254
+ height?: string | number | undefined;
38247
38255
  overlaps?: string[] | undefined;
38256
+ maxHeight?: string | number | undefined;
38257
+ maxWidth?: string | number | undefined;
38258
+ minHeight?: string | number | undefined;
38259
+ minWidth?: string | number | undefined;
38248
38260
  } & {
38249
38261
  $children?: vue.VNodeChild | {
38250
38262
  default?: (() => vue.VNodeChild) | undefined;
@@ -38273,7 +38285,13 @@ declare const VLayout: {
38273
38285
  fullHeight: boolean;
38274
38286
  } & {
38275
38287
  class?: any;
38288
+ width?: string | number | undefined;
38289
+ height?: string | number | undefined;
38276
38290
  overlaps?: string[] | undefined;
38291
+ maxHeight?: string | number | undefined;
38292
+ maxWidth?: string | number | undefined;
38293
+ minHeight?: string | number | undefined;
38294
+ minWidth?: string | number | undefined;
38277
38295
  } & {
38278
38296
  $children?: vue.VNodeChild | {
38279
38297
  default?: (() => vue.VNodeChild) | undefined;
@@ -38314,7 +38332,13 @@ declare const VLayout: {
38314
38332
  fullHeight: boolean;
38315
38333
  } & {
38316
38334
  class?: any;
38335
+ width?: string | number | undefined;
38336
+ height?: string | number | undefined;
38317
38337
  overlaps?: string[] | undefined;
38338
+ maxHeight?: string | number | undefined;
38339
+ maxWidth?: string | number | undefined;
38340
+ minHeight?: string | number | undefined;
38341
+ minWidth?: string | number | undefined;
38318
38342
  } & {
38319
38343
  $children?: vue.VNodeChild | {
38320
38344
  default?: (() => vue.VNodeChild) | undefined;
@@ -38353,6 +38377,12 @@ declare const VLayout: {
38353
38377
  }>>> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & FilterPropsOptions<{
38354
38378
  overlaps: vue.Prop<string[]>;
38355
38379
  fullHeight: BooleanConstructor;
38380
+ height: (StringConstructor | NumberConstructor)[];
38381
+ maxHeight: (StringConstructor | NumberConstructor)[];
38382
+ maxWidth: (StringConstructor | NumberConstructor)[];
38383
+ minHeight: (StringConstructor | NumberConstructor)[];
38384
+ minWidth: (StringConstructor | NumberConstructor)[];
38385
+ width: (StringConstructor | NumberConstructor)[];
38356
38386
  class: vue.PropType<any>;
38357
38387
  style: {
38358
38388
  type: vue.PropType<vue.StyleValue>;
@@ -38361,6 +38391,12 @@ declare const VLayout: {
38361
38391
  }, vue.ExtractPropTypes<{
38362
38392
  overlaps: vue.Prop<string[]>;
38363
38393
  fullHeight: BooleanConstructor;
38394
+ height: (StringConstructor | NumberConstructor)[];
38395
+ maxHeight: (StringConstructor | NumberConstructor)[];
38396
+ maxWidth: (StringConstructor | NumberConstructor)[];
38397
+ minHeight: (StringConstructor | NumberConstructor)[];
38398
+ minWidth: (StringConstructor | NumberConstructor)[];
38399
+ width: (StringConstructor | NumberConstructor)[];
38364
38400
  class: vue.PropType<any>;
38365
38401
  style: {
38366
38402
  type: vue.PropType<vue.StyleValue>;
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Vuetify v3.6.0-alpha.2-dev.2024-04-27
2
+ * Vuetify v3.6.0-alpha.2-dev.2024-04-29
3
3
  * Forged by John Leider
4
4
  * Released under the MIT License.
5
5
  */
@@ -1779,10 +1779,12 @@ function createLayout(props) {
1779
1779
  const isHorizontal = position.value === 'left' || position.value === 'right';
1780
1780
  const isOppositeHorizontal = position.value === 'right';
1781
1781
  const isOppositeVertical = position.value === 'bottom';
1782
+ const size = elementSize.value ?? layoutSize.value;
1783
+ const unit = size === 0 ? '%' : 'px';
1782
1784
  const styles = {
1783
1785
  [position.value]: 0,
1784
1786
  zIndex: zIndex.value,
1785
- transform: `translate${isHorizontal ? 'X' : 'Y'}(${(active.value ? 0 : -(elementSize.value ?? layoutSize.value)) * (isOppositeHorizontal || isOppositeVertical ? -1 : 1)}px)`,
1787
+ transform: `translate${isHorizontal ? 'X' : 'Y'}(${(active.value ? 0 : -(size === 0 ? 100 : size)) * (isOppositeHorizontal || isOppositeVertical ? -1 : 1)}${unit})`,
1786
1788
  position: absolute.value || rootZIndex.value !== ROOT_ZINDEX ? 'absolute' : 'fixed',
1787
1789
  ...(transitionsEnabled.value ? undefined : {
1788
1790
  transition: 'none'
@@ -22782,6 +22784,7 @@ const VKbd = createSimpleFunctional('v-kbd');
22782
22784
 
22783
22785
  const makeVLayoutProps = propsFactory({
22784
22786
  ...makeComponentProps(),
22787
+ ...makeDimensionProps(),
22785
22788
  ...makeLayoutProps()
22786
22789
  }, 'VLayout');
22787
22790
  const VLayout = genericComponent()({
@@ -22798,10 +22801,13 @@ const VLayout = genericComponent()({
22798
22801
  items,
22799
22802
  layoutRef
22800
22803
  } = createLayout(props);
22804
+ const {
22805
+ dimensionStyles
22806
+ } = useDimension(props);
22801
22807
  useRender(() => createVNode("div", {
22802
22808
  "ref": layoutRef,
22803
22809
  "class": [layoutClasses.value, props.class],
22804
- "style": [layoutStyles.value, props.style]
22810
+ "style": [dimensionStyles.value, layoutStyles.value, props.style]
22805
22811
  }, [createVNode(Suspense, null, {
22806
22812
  default: () => [createVNode(Fragment, null, [slots.default?.()])]
22807
22813
  })]));
@@ -23442,6 +23448,7 @@ const VNavigationDrawer = genericComponent()({
23442
23448
  const size = isTemporary.value ? 0 : props.rail && props.expandOnHover ? Number(props.railWidth) : width.value;
23443
23449
  return isDragging.value ? size * dragProgress.value : size;
23444
23450
  });
23451
+ const elementSize = computed(() => ['top', 'bottom'].includes(props.location) ? 0 : width.value);
23445
23452
  const {
23446
23453
  layoutItemStyles,
23447
23454
  layoutItemScrimStyles,
@@ -23451,7 +23458,7 @@ const VNavigationDrawer = genericComponent()({
23451
23458
  order: computed(() => parseInt(props.order, 10)),
23452
23459
  position: location,
23453
23460
  layoutSize,
23454
- elementSize: width,
23461
+ elementSize,
23455
23462
  active: computed(() => isActive.value || isDragging.value),
23456
23463
  disableTransitions: computed(() => isDragging.value),
23457
23464
  absolute: computed(() =>
@@ -23497,7 +23504,9 @@ const VNavigationDrawer = genericComponent()({
23497
23504
  'v-navigation-drawer--active': isActive.value,
23498
23505
  'v-navigation-drawer--sticky': isSticky.value
23499
23506
  }, themeClasses.value, backgroundColorClasses.value, borderClasses.value, displayClasses.value, elevationClasses.value, roundedClasses.value, props.class],
23500
- "style": [backgroundColorStyles.value, layoutItemStyles.value, ssrBootStyles.value, stickyStyles.value, props.style]
23507
+ "style": [backgroundColorStyles.value, layoutItemStyles.value, ssrBootStyles.value, stickyStyles.value, props.style, ['top', 'bottom'].includes(location.value) ? {
23508
+ height: 'auto'
23509
+ } : {}]
23501
23510
  }, scopeId, attrs), {
23502
23511
  default: () => [hasImage && createVNode("div", {
23503
23512
  "key": "image",
@@ -29542,7 +29551,7 @@ function createVuetify$1() {
29542
29551
  goTo
29543
29552
  };
29544
29553
  }
29545
- const version$1 = "3.6.0-alpha.2-dev.2024-04-27";
29554
+ const version$1 = "3.6.0-alpha.2-dev.2024-04-29";
29546
29555
  createVuetify$1.version = version$1;
29547
29556
 
29548
29557
  // Vue's inject() can only be used in setup
@@ -29795,7 +29804,7 @@ var index = /*#__PURE__*/Object.freeze({
29795
29804
 
29796
29805
  /* eslint-disable local-rules/sort-imports */
29797
29806
 
29798
- const version = "3.6.0-alpha.2-dev.2024-04-27";
29807
+ const version = "3.6.0-alpha.2-dev.2024-04-29";
29799
29808
 
29800
29809
  /* eslint-disable local-rules/sort-imports */
29801
29810