@vuetify/nightly 3.6.3-master.2024-05-02 → 3.6.3-master.2024-05-03

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 (43) hide show
  1. package/CHANGELOG.md +8 -2
  2. package/dist/json/attributes.json +17 -17
  3. package/dist/json/importMap-labs.json +28 -28
  4. package/dist/json/importMap.json +116 -116
  5. package/dist/json/web-types.json +28 -28
  6. package/dist/vuetify-labs.css +1377 -1363
  7. package/dist/vuetify-labs.d.ts +129 -123
  8. package/dist/vuetify-labs.esm.js +7 -5
  9. package/dist/vuetify-labs.esm.js.map +1 -1
  10. package/dist/vuetify-labs.js +7 -5
  11. package/dist/vuetify-labs.min.css +2 -2
  12. package/dist/vuetify.css +765 -751
  13. package/dist/vuetify.d.ts +171 -165
  14. package/dist/vuetify.esm.js +7 -5
  15. package/dist/vuetify.esm.js.map +1 -1
  16. package/dist/vuetify.js +7 -5
  17. package/dist/vuetify.js.map +1 -1
  18. package/dist/vuetify.min.css +2 -2
  19. package/dist/vuetify.min.js +5 -5
  20. package/dist/vuetify.min.js.map +1 -1
  21. package/lib/components/VAlert/VAlert.css +3 -1
  22. package/lib/components/VAvatar/VAvatar.css +3 -1
  23. package/lib/components/VBanner/index.d.mts +11 -11
  24. package/lib/components/VBtn/VBtn.css +3 -1
  25. package/lib/components/VCard/VCard.css +3 -1
  26. package/lib/components/VChip/VChip.css +3 -1
  27. package/lib/components/VChipGroup/index.d.mts +11 -11
  28. package/lib/components/VDataTable/index.d.mts +66 -66
  29. package/lib/components/VList/VListItem.css +3 -1
  30. package/lib/components/VNavigationDrawer/VNavigationDrawer.mjs +3 -1
  31. package/lib/components/VNavigationDrawer/VNavigationDrawer.mjs.map +1 -1
  32. package/lib/components/VNavigationDrawer/index.d.mts +19 -13
  33. package/lib/components/VSlideGroup/index.d.mts +11 -11
  34. package/lib/components/VSnackbar/VSnackbar.css +3 -1
  35. package/lib/components/VTabs/index.d.mts +11 -11
  36. package/lib/components/index.d.mts +129 -123
  37. package/lib/composables/display.mjs +1 -1
  38. package/lib/composables/display.mjs.map +1 -1
  39. package/lib/entry-bundler.mjs +1 -1
  40. package/lib/framework.mjs +1 -1
  41. package/lib/index.d.mts +42 -42
  42. package/lib/styles/tools/_variant.sass +3 -1
  43. package/package.json +1 -1
@@ -123,7 +123,7 @@ export function createDisplay(options, ssr) {
123
123
  export const makeDisplayProps = propsFactory({
124
124
  mobile: {
125
125
  type: Boolean,
126
- default: null
126
+ default: false
127
127
  },
128
128
  mobileBreakpoint: [Number, String]
129
129
  }, 'display');
@@ -1 +1 @@
1
- {"version":3,"file":"display.mjs","names":["computed","inject","reactive","shallowRef","toRefs","watchEffect","getCurrentInstanceName","mergeDeep","propsFactory","IN_BROWSER","SUPPORTS_TOUCH","breakpoints","DisplaySymbol","Symbol","for","defaultDisplayOptions","mobileBreakpoint","thresholds","xs","sm","md","lg","xl","xxl","parseDisplayOptions","options","arguments","length","undefined","getClientWidth","ssr","window","innerWidth","clientWidth","getClientHeight","innerHeight","clientHeight","getPlatform","userAgent","navigator","match","regexp","Boolean","android","ios","cordova","electron","chrome","edge","firefox","opera","win","mac","linux","touch","createDisplay","height","platform","state","width","updateSize","value","update","name","breakpointValue","mobile","smAndUp","mdAndUp","lgAndUp","xlAndUp","smAndDown","mdAndDown","lgAndDown","xlAndDown","addEventListener","passive","makeDisplayProps","type","default","Number","String","useDisplay","props","display","Error","displayClasses"],"sources":["../../src/composables/display.ts"],"sourcesContent":["// Utilities\nimport { computed, inject, reactive, shallowRef, toRefs, watchEffect } from 'vue'\nimport { getCurrentInstanceName, mergeDeep, propsFactory } from '@/util'\nimport { IN_BROWSER, SUPPORTS_TOUCH } from '@/util/globals'\n\n// Types\nimport type { InjectionKey, PropType, Ref } from 'vue'\n\nexport const breakpoints = ['sm', 'md', 'lg', 'xl', 'xxl'] as const // no xs\n\nexport type Breakpoint = typeof breakpoints[number]\n\nexport type DisplayBreakpoint = 'xs' | Breakpoint\n\nexport type DisplayThresholds = {\n [key in DisplayBreakpoint]: number\n}\n\nexport interface DisplayProps {\n mobile?: boolean | null\n mobileBreakpoint?: number | DisplayBreakpoint\n}\n\nexport interface DisplayOptions {\n mobileBreakpoint?: number | DisplayBreakpoint\n thresholds?: Partial<DisplayThresholds>\n}\n\nexport interface InternalDisplayOptions {\n mobileBreakpoint: number | DisplayBreakpoint\n thresholds: DisplayThresholds\n}\n\nexport type SSROptions = boolean | {\n clientWidth: number\n clientHeight?: number\n}\n\nexport interface DisplayPlatform {\n android: boolean\n ios: boolean\n cordova: boolean\n electron: boolean\n chrome: boolean\n edge: boolean\n firefox: boolean\n opera: boolean\n win: boolean\n mac: boolean\n linux: boolean\n touch: boolean\n ssr: boolean\n}\n\nexport interface DisplayInstance {\n xs: Ref<boolean>\n sm: Ref<boolean>\n md: Ref<boolean>\n lg: Ref<boolean>\n xl: Ref<boolean>\n xxl: Ref<boolean>\n smAndUp: Ref<boolean>\n mdAndUp: Ref<boolean>\n lgAndUp: Ref<boolean>\n xlAndUp: Ref<boolean>\n smAndDown: Ref<boolean>\n mdAndDown: Ref<boolean>\n lgAndDown: Ref<boolean>\n xlAndDown: Ref<boolean>\n name: Ref<DisplayBreakpoint>\n height: Ref<number>\n width: Ref<number>\n mobile: Ref<boolean>\n mobileBreakpoint: Ref<number | DisplayBreakpoint>\n platform: Ref<DisplayPlatform>\n thresholds: Ref<DisplayThresholds>\n\n /** @internal */\n ssr: boolean\n\n update (): void\n}\n\nexport const DisplaySymbol: InjectionKey<DisplayInstance> = Symbol.for('vuetify:display')\n\nconst defaultDisplayOptions: DisplayOptions = {\n mobileBreakpoint: 'lg',\n thresholds: {\n xs: 0,\n sm: 600,\n md: 960,\n lg: 1280,\n xl: 1920,\n xxl: 2560,\n },\n}\n\nconst parseDisplayOptions = (options: DisplayOptions = defaultDisplayOptions) => {\n return mergeDeep(defaultDisplayOptions, options) as InternalDisplayOptions\n}\n\nfunction getClientWidth (ssr?: SSROptions) {\n return IN_BROWSER && !ssr\n ? window.innerWidth\n : (typeof ssr === 'object' && ssr.clientWidth) || 0\n}\n\nfunction getClientHeight (ssr?: SSROptions) {\n return IN_BROWSER && !ssr\n ? window.innerHeight\n : (typeof ssr === 'object' && ssr.clientHeight) || 0\n}\n\nfunction getPlatform (ssr?: SSROptions): DisplayPlatform {\n const userAgent = IN_BROWSER && !ssr\n ? window.navigator.userAgent\n : 'ssr'\n\n function match (regexp: RegExp) {\n return Boolean(userAgent.match(regexp))\n }\n\n const android = match(/android/i)\n const ios = match(/iphone|ipad|ipod/i)\n const cordova = match(/cordova/i)\n const electron = match(/electron/i)\n const chrome = match(/chrome/i)\n const edge = match(/edge/i)\n const firefox = match(/firefox/i)\n const opera = match(/opera/i)\n const win = match(/win/i)\n const mac = match(/mac/i)\n const linux = match(/linux/i)\n\n return {\n android,\n ios,\n cordova,\n electron,\n chrome,\n edge,\n firefox,\n opera,\n win,\n mac,\n linux,\n touch: SUPPORTS_TOUCH,\n ssr: userAgent === 'ssr',\n }\n}\n\nexport function createDisplay (options?: DisplayOptions, ssr?: SSROptions): DisplayInstance {\n const { thresholds, mobileBreakpoint } = parseDisplayOptions(options)\n\n const height = shallowRef(getClientHeight(ssr))\n const platform = shallowRef(getPlatform(ssr))\n const state = reactive({} as DisplayInstance)\n const width = shallowRef(getClientWidth(ssr))\n\n function updateSize () {\n height.value = getClientHeight()\n width.value = getClientWidth()\n }\n function update () {\n updateSize()\n platform.value = getPlatform()\n }\n\n // eslint-disable-next-line max-statements\n watchEffect(() => {\n const xs = width.value < thresholds.sm\n const sm = width.value < thresholds.md && !xs\n const md = width.value < thresholds.lg && !(sm || xs)\n const lg = width.value < thresholds.xl && !(md || sm || xs)\n const xl = width.value < thresholds.xxl && !(lg || md || sm || xs)\n const xxl = width.value >= thresholds.xxl\n const name =\n xs ? 'xs'\n : sm ? 'sm'\n : md ? 'md'\n : lg ? 'lg'\n : xl ? 'xl'\n : 'xxl'\n const breakpointValue = typeof mobileBreakpoint === 'number' ? mobileBreakpoint : thresholds[mobileBreakpoint]\n const mobile = width.value < breakpointValue\n\n state.xs = xs\n state.sm = sm\n state.md = md\n state.lg = lg\n state.xl = xl\n state.xxl = xxl\n state.smAndUp = !xs\n state.mdAndUp = !(xs || sm)\n state.lgAndUp = !(xs || sm || md)\n state.xlAndUp = !(xs || sm || md || lg)\n state.smAndDown = !(md || lg || xl || xxl)\n state.mdAndDown = !(lg || xl || xxl)\n state.lgAndDown = !(xl || xxl)\n state.xlAndDown = !xxl\n state.name = name\n state.height = height.value\n state.width = width.value\n state.mobile = mobile\n state.mobileBreakpoint = mobileBreakpoint\n state.platform = platform.value\n state.thresholds = thresholds\n })\n\n if (IN_BROWSER) {\n window.addEventListener('resize', updateSize, { passive: true })\n }\n\n return { ...toRefs(state), update, ssr: !!ssr }\n}\n\nexport const makeDisplayProps = propsFactory({\n mobile: {\n type: Boolean,\n default: null,\n },\n mobileBreakpoint: [Number, String] as PropType<number | DisplayBreakpoint>,\n}, 'display')\n\nexport function useDisplay (\n props: DisplayProps = {},\n name = getCurrentInstanceName(),\n) {\n const display = inject(DisplaySymbol)\n\n if (!display) throw new Error('Could not find Vuetify display injection')\n\n const mobile = computed(() => {\n if (props.mobile != null) return props.mobile\n if (!props.mobileBreakpoint) return display.mobile.value\n\n const breakpointValue = typeof props.mobileBreakpoint === 'number'\n ? props.mobileBreakpoint\n : display.thresholds.value[props.mobileBreakpoint]\n\n return display.width.value < breakpointValue\n })\n\n const displayClasses = computed(() => {\n if (!name) return {}\n\n return { [`${name}--mobile`]: mobile.value }\n })\n\n return { ...display, displayClasses, mobile }\n}\n"],"mappings":"AAAA;AACA,SAASA,QAAQ,EAAEC,MAAM,EAAEC,QAAQ,EAAEC,UAAU,EAAEC,MAAM,EAAEC,WAAW,QAAQ,KAAK;AAAA,SACxEC,sBAAsB,EAAEC,SAAS,EAAEC,YAAY;AAAA,SAC/CC,UAAU,EAAEC,cAAc,+BAEnC;AAGA,OAAO,MAAMC,WAAW,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AAM;IACpC,IAAI,CAAC+D,IAAI,EAAE,OAAO,CAAC,CAAC;IAEpB,OAAO;MAAE,CAAE,GAAEA,IAAK,UAAS,GAAGE,MAAM,CAACJ;IAAM,CAAC;EAC9C,CAAC,CAAC;EAEF,OAAO;IAAE,GAAGsB,OAAO;IAAEE,cAAc;IAAEpB;EAAO,CAAC;AAC/C","ignoreList":[]}
1
+ {"version":3,"file":"display.mjs","names":["computed","inject","reactive","shallowRef","toRefs","watchEffect","getCurrentInstanceName","mergeDeep","propsFactory","IN_BROWSER","SUPPORTS_TOUCH","breakpoints","DisplaySymbol","Symbol","for","defaultDisplayOptions","mobileBreakpoint","thresholds","xs","sm","md","lg","xl","xxl","parseDisplayOptions","options","arguments","length","undefined","getClientWidth","ssr","window","innerWidth","clientWidth","getClientHeight","innerHeight","clientHeight","getPlatform","userAgent","navigator","match","regexp","Boolean","android","ios","cordova","electron","chrome","edge","firefox","opera","win","mac","linux","touch","createDisplay","height","platform","state","width","updateSize","value","update","name","breakpointValue","mobile","smAndUp","mdAndUp","lgAndUp","xlAndUp","smAndDown","mdAndDown","lgAndDown","xlAndDown","addEventListener","passive","makeDisplayProps","type","default","Number","String","useDisplay","props","display","Error","displayClasses"],"sources":["../../src/composables/display.ts"],"sourcesContent":["// Utilities\nimport { computed, inject, reactive, shallowRef, toRefs, watchEffect } from 'vue'\nimport { getCurrentInstanceName, mergeDeep, propsFactory } from '@/util'\nimport { IN_BROWSER, SUPPORTS_TOUCH } from '@/util/globals'\n\n// Types\nimport type { InjectionKey, PropType, Ref } from 'vue'\n\nexport const breakpoints = ['sm', 'md', 'lg', 'xl', 'xxl'] as const // no xs\n\nexport type Breakpoint = typeof breakpoints[number]\n\nexport type DisplayBreakpoint = 'xs' | Breakpoint\n\nexport type DisplayThresholds = {\n [key in DisplayBreakpoint]: number\n}\n\nexport interface DisplayProps {\n mobile?: boolean | null\n mobileBreakpoint?: number | DisplayBreakpoint\n}\n\nexport interface DisplayOptions {\n mobileBreakpoint?: number | DisplayBreakpoint\n thresholds?: Partial<DisplayThresholds>\n}\n\nexport interface InternalDisplayOptions {\n mobileBreakpoint: number | DisplayBreakpoint\n thresholds: DisplayThresholds\n}\n\nexport type SSROptions = boolean | {\n clientWidth: number\n clientHeight?: number\n}\n\nexport interface DisplayPlatform {\n android: boolean\n ios: boolean\n cordova: boolean\n electron: boolean\n chrome: boolean\n edge: boolean\n firefox: boolean\n opera: boolean\n win: boolean\n mac: boolean\n linux: boolean\n touch: boolean\n ssr: boolean\n}\n\nexport interface DisplayInstance {\n xs: Ref<boolean>\n sm: Ref<boolean>\n md: Ref<boolean>\n lg: Ref<boolean>\n xl: Ref<boolean>\n xxl: Ref<boolean>\n smAndUp: Ref<boolean>\n mdAndUp: Ref<boolean>\n lgAndUp: Ref<boolean>\n xlAndUp: Ref<boolean>\n smAndDown: Ref<boolean>\n mdAndDown: Ref<boolean>\n lgAndDown: Ref<boolean>\n xlAndDown: Ref<boolean>\n name: Ref<DisplayBreakpoint>\n height: Ref<number>\n width: Ref<number>\n mobile: Ref<boolean>\n mobileBreakpoint: Ref<number | DisplayBreakpoint>\n platform: Ref<DisplayPlatform>\n thresholds: Ref<DisplayThresholds>\n\n /** @internal */\n ssr: boolean\n\n update (): void\n}\n\nexport const DisplaySymbol: InjectionKey<DisplayInstance> = Symbol.for('vuetify:display')\n\nconst defaultDisplayOptions: DisplayOptions = {\n mobileBreakpoint: 'lg',\n thresholds: {\n xs: 0,\n sm: 600,\n md: 960,\n lg: 1280,\n xl: 1920,\n xxl: 2560,\n },\n}\n\nconst parseDisplayOptions = (options: DisplayOptions = defaultDisplayOptions) => {\n return mergeDeep(defaultDisplayOptions, options) as InternalDisplayOptions\n}\n\nfunction getClientWidth (ssr?: SSROptions) {\n return IN_BROWSER && !ssr\n ? window.innerWidth\n : (typeof ssr === 'object' && ssr.clientWidth) || 0\n}\n\nfunction getClientHeight (ssr?: SSROptions) {\n return IN_BROWSER && !ssr\n ? window.innerHeight\n : (typeof ssr === 'object' && ssr.clientHeight) || 0\n}\n\nfunction getPlatform (ssr?: SSROptions): DisplayPlatform {\n const userAgent = IN_BROWSER && !ssr\n ? window.navigator.userAgent\n : 'ssr'\n\n function match (regexp: RegExp) {\n return Boolean(userAgent.match(regexp))\n }\n\n const android = match(/android/i)\n const ios = match(/iphone|ipad|ipod/i)\n const cordova = match(/cordova/i)\n const electron = match(/electron/i)\n const chrome = match(/chrome/i)\n const edge = match(/edge/i)\n const firefox = match(/firefox/i)\n const opera = match(/opera/i)\n const win = match(/win/i)\n const mac = match(/mac/i)\n const linux = match(/linux/i)\n\n return {\n android,\n ios,\n cordova,\n electron,\n chrome,\n edge,\n firefox,\n opera,\n win,\n mac,\n linux,\n touch: SUPPORTS_TOUCH,\n ssr: userAgent === 'ssr',\n }\n}\n\nexport function createDisplay (options?: DisplayOptions, ssr?: SSROptions): DisplayInstance {\n const { thresholds, mobileBreakpoint } = parseDisplayOptions(options)\n\n const height = shallowRef(getClientHeight(ssr))\n const platform = shallowRef(getPlatform(ssr))\n const state = reactive({} as DisplayInstance)\n const width = shallowRef(getClientWidth(ssr))\n\n function updateSize () {\n height.value = getClientHeight()\n width.value = getClientWidth()\n }\n function update () {\n updateSize()\n platform.value = getPlatform()\n }\n\n // eslint-disable-next-line max-statements\n watchEffect(() => {\n const xs = width.value < thresholds.sm\n const sm = width.value < thresholds.md && !xs\n const md = width.value < thresholds.lg && !(sm || xs)\n const lg = width.value < thresholds.xl && !(md || sm || xs)\n const xl = width.value < thresholds.xxl && !(lg || md || sm || xs)\n const xxl = width.value >= thresholds.xxl\n const name =\n xs ? 'xs'\n : sm ? 'sm'\n : md ? 'md'\n : lg ? 'lg'\n : xl ? 'xl'\n : 'xxl'\n const breakpointValue = typeof mobileBreakpoint === 'number' ? mobileBreakpoint : thresholds[mobileBreakpoint]\n const mobile = width.value < breakpointValue\n\n state.xs = xs\n state.sm = sm\n state.md = md\n state.lg = lg\n state.xl = xl\n state.xxl = xxl\n state.smAndUp = !xs\n state.mdAndUp = !(xs || sm)\n state.lgAndUp = !(xs || sm || md)\n state.xlAndUp = !(xs || sm || md || lg)\n state.smAndDown = !(md || lg || xl || xxl)\n state.mdAndDown = !(lg || xl || xxl)\n state.lgAndDown = !(xl || xxl)\n state.xlAndDown = !xxl\n state.name = name\n state.height = height.value\n state.width = width.value\n state.mobile = mobile\n state.mobileBreakpoint = mobileBreakpoint\n state.platform = platform.value\n state.thresholds = thresholds\n })\n\n if (IN_BROWSER) {\n window.addEventListener('resize', updateSize, { passive: true })\n }\n\n return { ...toRefs(state), update, ssr: !!ssr }\n}\n\nexport const makeDisplayProps = propsFactory({\n mobile: {\n type: Boolean as PropType<boolean | null>,\n default: false,\n },\n mobileBreakpoint: [Number, String] as PropType<number | DisplayBreakpoint>,\n}, 'display')\n\nexport function useDisplay (\n props: DisplayProps = {},\n name = getCurrentInstanceName(),\n) {\n const display = inject(DisplaySymbol)\n\n if (!display) throw new Error('Could not find Vuetify display injection')\n\n const mobile = computed(() => {\n if (props.mobile != null) return props.mobile\n if (!props.mobileBreakpoint) return display.mobile.value\n\n const breakpointValue = typeof props.mobileBreakpoint === 'number'\n ? props.mobileBreakpoint\n : display.thresholds.value[props.mobileBreakpoint]\n\n return display.width.value < breakpointValue\n })\n\n const displayClasses = computed(() => {\n if (!name) return {}\n\n return { [`${name}--mobile`]: mobile.value }\n })\n\n return { ...display, displayClasses, mobile }\n}\n"],"mappings":"AAAA;AACA,SAASA,QAAQ,EAAEC,MAAM,EAAEC,QAAQ,EAAEC,UAAU,EAAEC,MAAM,EAAEC,WAAW,QAAQ,KAAK;AAAA,SACxEC,sBAAsB,EAAEC,SAAS,EAAEC,YAAY;AAAA,SAC/CC,UAAU,EAAEC,cAAc,+BAEnC;AAGA,OAAO,MAAMC,WAAW,GAAG,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,CAAU,EAAC;;AA2EpE,OAAO,MAAMC,aAA4C,GAAGC,MAAM,CAACC,GAAG,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C;EAC9C,CAAC,CAAC;EAEF,OAAO;IAAE,GAAGsB,OAAO;IAAEE,cAAc;IAAEpB;EAAO,CAAC;AAC/C","ignoreList":[]}
@@ -16,7 +16,7 @@ export const createVuetify = function () {
16
16
  ...options
17
17
  });
18
18
  };
19
- export const version = "3.6.3-master.2024-05-02";
19
+ export const version = "3.6.3-master.2024-05-03";
20
20
  createVuetify.version = version;
21
21
  export { blueprints, components, directives };
22
22
  export * from "./composables/index.mjs";
package/lib/framework.mjs CHANGED
@@ -97,7 +97,7 @@ export function createVuetify() {
97
97
  goTo
98
98
  };
99
99
  }
100
- export const version = "3.6.3-master.2024-05-02";
100
+ export const version = "3.6.3-master.2024-05-03";
101
101
  createVuetify.version = version;
102
102
 
103
103
  // Vue's inject() can only be used in setup
package/lib/index.d.mts CHANGED
@@ -493,41 +493,42 @@ declare module '@vue/runtime-core' {
493
493
  }
494
494
 
495
495
  export interface GlobalComponents {
496
+ VApp: typeof import('vuetify/components')['VApp']
496
497
  VAppBar: typeof import('vuetify/components')['VAppBar']
497
498
  VAppBarNavIcon: typeof import('vuetify/components')['VAppBarNavIcon']
498
499
  VAppBarTitle: typeof import('vuetify/components')['VAppBarTitle']
499
- VApp: typeof import('vuetify/components')['VApp']
500
- VAutocomplete: typeof import('vuetify/components')['VAutocomplete']
500
+ VAvatar: typeof import('vuetify/components')['VAvatar']
501
501
  VAlert: typeof import('vuetify/components')['VAlert']
502
502
  VAlertTitle: typeof import('vuetify/components')['VAlertTitle']
503
- VBanner: typeof import('vuetify/components')['VBanner']
504
- VBannerActions: typeof import('vuetify/components')['VBannerActions']
505
- VBannerText: typeof import('vuetify/components')['VBannerText']
506
- VAvatar: typeof import('vuetify/components')['VAvatar']
503
+ VAutocomplete: typeof import('vuetify/components')['VAutocomplete']
507
504
  VBadge: typeof import('vuetify/components')['VBadge']
508
- VBottomSheet: typeof import('vuetify/components')['VBottomSheet']
509
505
  VBreadcrumbs: typeof import('vuetify/components')['VBreadcrumbs']
510
506
  VBreadcrumbsItem: typeof import('vuetify/components')['VBreadcrumbsItem']
511
507
  VBreadcrumbsDivider: typeof import('vuetify/components')['VBreadcrumbsDivider']
508
+ VBanner: typeof import('vuetify/components')['VBanner']
509
+ VBannerActions: typeof import('vuetify/components')['VBannerActions']
510
+ VBannerText: typeof import('vuetify/components')['VBannerText']
512
511
  VBottomNavigation: typeof import('vuetify/components')['VBottomNavigation']
512
+ VBottomSheet: typeof import('vuetify/components')['VBottomSheet']
513
513
  VBtnGroup: typeof import('vuetify/components')['VBtnGroup']
514
- VBtnToggle: typeof import('vuetify/components')['VBtnToggle']
515
514
  VBtn: typeof import('vuetify/components')['VBtn']
515
+ VChip: typeof import('vuetify/components')['VChip']
516
516
  VCard: typeof import('vuetify/components')['VCard']
517
517
  VCardActions: typeof import('vuetify/components')['VCardActions']
518
518
  VCardItem: typeof import('vuetify/components')['VCardItem']
519
519
  VCardSubtitle: typeof import('vuetify/components')['VCardSubtitle']
520
520
  VCardText: typeof import('vuetify/components')['VCardText']
521
521
  VCardTitle: typeof import('vuetify/components')['VCardTitle']
522
- VCheckbox: typeof import('vuetify/components')['VCheckbox']
523
- VCheckboxBtn: typeof import('vuetify/components')['VCheckboxBtn']
522
+ VChipGroup: typeof import('vuetify/components')['VChipGroup']
523
+ VBtnToggle: typeof import('vuetify/components')['VBtnToggle']
524
524
  VCarousel: typeof import('vuetify/components')['VCarousel']
525
525
  VCarouselItem: typeof import('vuetify/components')['VCarouselItem']
526
- VCombobox: typeof import('vuetify/components')['VCombobox']
527
- VChip: typeof import('vuetify/components')['VChip']
528
- VChipGroup: typeof import('vuetify/components')['VChipGroup']
529
526
  VCode: typeof import('vuetify/components')['VCode']
527
+ VCounter: typeof import('vuetify/components')['VCounter']
528
+ VCombobox: typeof import('vuetify/components')['VCombobox']
530
529
  VColorPicker: typeof import('vuetify/components')['VColorPicker']
530
+ VCheckbox: typeof import('vuetify/components')['VCheckbox']
531
+ VCheckboxBtn: typeof import('vuetify/components')['VCheckboxBtn']
531
532
  VDatePicker: typeof import('vuetify/components')['VDatePicker']
532
533
  VDatePickerControls: typeof import('vuetify/components')['VDatePickerControls']
533
534
  VDatePickerHeader: typeof import('vuetify/components')['VDatePickerHeader']
@@ -541,30 +542,28 @@ declare module '@vue/runtime-core' {
541
542
  VDataTableRow: typeof import('vuetify/components')['VDataTableRow']
542
543
  VDataTableVirtual: typeof import('vuetify/components')['VDataTableVirtual']
543
544
  VDataTableServer: typeof import('vuetify/components')['VDataTableServer']
544
- VCounter: typeof import('vuetify/components')['VCounter']
545
545
  VDivider: typeof import('vuetify/components')['VDivider']
546
- VDialog: typeof import('vuetify/components')['VDialog']
547
546
  VEmptyState: typeof import('vuetify/components')['VEmptyState']
547
+ VDialog: typeof import('vuetify/components')['VDialog']
548
548
  VExpansionPanels: typeof import('vuetify/components')['VExpansionPanels']
549
549
  VExpansionPanel: typeof import('vuetify/components')['VExpansionPanel']
550
550
  VExpansionPanelText: typeof import('vuetify/components')['VExpansionPanelText']
551
551
  VExpansionPanelTitle: typeof import('vuetify/components')['VExpansionPanelTitle']
552
+ VFooter: typeof import('vuetify/components')['VFooter']
552
553
  VFab: typeof import('vuetify/components')['VFab']
553
554
  VField: typeof import('vuetify/components')['VField']
554
555
  VFieldLabel: typeof import('vuetify/components')['VFieldLabel']
555
556
  VFileInput: typeof import('vuetify/components')['VFileInput']
556
- VFooter: typeof import('vuetify/components')['VFooter']
557
557
  VIcon: typeof import('vuetify/components')['VIcon']
558
558
  VComponentIcon: typeof import('vuetify/components')['VComponentIcon']
559
559
  VSvgIcon: typeof import('vuetify/components')['VSvgIcon']
560
560
  VLigatureIcon: typeof import('vuetify/components')['VLigatureIcon']
561
561
  VClassIcon: typeof import('vuetify/components')['VClassIcon']
562
- VImg: typeof import('vuetify/components')['VImg']
563
- VInput: typeof import('vuetify/components')['VInput']
564
562
  VInfiniteScroll: typeof import('vuetify/components')['VInfiniteScroll']
563
+ VInput: typeof import('vuetify/components')['VInput']
564
+ VImg: typeof import('vuetify/components')['VImg']
565
565
  VItemGroup: typeof import('vuetify/components')['VItemGroup']
566
566
  VItem: typeof import('vuetify/components')['VItem']
567
- VKbd: typeof import('vuetify/components')['VKbd']
568
567
  VLabel: typeof import('vuetify/components')['VLabel']
569
568
  VList: typeof import('vuetify/components')['VList']
570
569
  VListGroup: typeof import('vuetify/components')['VListGroup']
@@ -575,71 +574,71 @@ declare module '@vue/runtime-core' {
575
574
  VListItemSubtitle: typeof import('vuetify/components')['VListItemSubtitle']
576
575
  VListItemTitle: typeof import('vuetify/components')['VListItemTitle']
577
576
  VListSubheader: typeof import('vuetify/components')['VListSubheader']
577
+ VKbd: typeof import('vuetify/components')['VKbd']
578
578
  VMain: typeof import('vuetify/components')['VMain']
579
- VNavigationDrawer: typeof import('vuetify/components')['VNavigationDrawer']
579
+ VMessages: typeof import('vuetify/components')['VMessages']
580
580
  VMenu: typeof import('vuetify/components')['VMenu']
581
- VOverlay: typeof import('vuetify/components')['VOverlay']
582
- VProgressCircular: typeof import('vuetify/components')['VProgressCircular']
581
+ VNavigationDrawer: typeof import('vuetify/components')['VNavigationDrawer']
583
582
  VOtpInput: typeof import('vuetify/components')['VOtpInput']
584
- VProgressLinear: typeof import('vuetify/components')['VProgressLinear']
585
- VMessages: typeof import('vuetify/components')['VMessages']
583
+ VProgressCircular: typeof import('vuetify/components')['VProgressCircular']
584
+ VOverlay: typeof import('vuetify/components')['VOverlay']
586
585
  VPagination: typeof import('vuetify/components')['VPagination']
587
586
  VRadioGroup: typeof import('vuetify/components')['VRadioGroup']
588
587
  VRating: typeof import('vuetify/components')['VRating']
588
+ VProgressLinear: typeof import('vuetify/components')['VProgressLinear']
589
589
  VSelect: typeof import('vuetify/components')['VSelect']
590
- VSheet: typeof import('vuetify/components')['VSheet']
591
590
  VSelectionControl: typeof import('vuetify/components')['VSelectionControl']
592
591
  VSelectionControlGroup: typeof import('vuetify/components')['VSelectionControlGroup']
593
- VSkeletonLoader: typeof import('vuetify/components')['VSkeletonLoader']
594
592
  VSlideGroup: typeof import('vuetify/components')['VSlideGroup']
595
593
  VSlideGroupItem: typeof import('vuetify/components')['VSlideGroupItem']
594
+ VSheet: typeof import('vuetify/components')['VSheet']
596
595
  VSlider: typeof import('vuetify/components')['VSlider']
596
+ VSkeletonLoader: typeof import('vuetify/components')['VSkeletonLoader']
597
+ VSwitch: typeof import('vuetify/components')['VSwitch']
597
598
  VSnackbar: typeof import('vuetify/components')['VSnackbar']
598
- VTextarea: typeof import('vuetify/components')['VTextarea']
599
599
  VStepper: typeof import('vuetify/components')['VStepper']
600
600
  VStepperActions: typeof import('vuetify/components')['VStepperActions']
601
601
  VStepperHeader: typeof import('vuetify/components')['VStepperHeader']
602
602
  VStepperItem: typeof import('vuetify/components')['VStepperItem']
603
603
  VStepperWindow: typeof import('vuetify/components')['VStepperWindow']
604
604
  VStepperWindowItem: typeof import('vuetify/components')['VStepperWindowItem']
605
- VSwitch: typeof import('vuetify/components')['VSwitch']
606
605
  VTab: typeof import('vuetify/components')['VTab']
607
606
  VTabs: typeof import('vuetify/components')['VTabs']
608
607
  VTabsWindow: typeof import('vuetify/components')['VTabsWindow']
609
608
  VTabsWindowItem: typeof import('vuetify/components')['VTabsWindowItem']
610
- VSystemBar: typeof import('vuetify/components')['VSystemBar']
611
- VTextField: typeof import('vuetify/components')['VTextField']
612
609
  VTable: typeof import('vuetify/components')['VTable']
610
+ VSystemBar: typeof import('vuetify/components')['VSystemBar']
611
+ VTextarea: typeof import('vuetify/components')['VTextarea']
613
612
  VTimeline: typeof import('vuetify/components')['VTimeline']
614
613
  VTimelineItem: typeof import('vuetify/components')['VTimelineItem']
614
+ VTextField: typeof import('vuetify/components')['VTextField']
615
615
  VToolbar: typeof import('vuetify/components')['VToolbar']
616
616
  VToolbarTitle: typeof import('vuetify/components')['VToolbarTitle']
617
617
  VToolbarItems: typeof import('vuetify/components')['VToolbarItems']
618
+ VTooltip: typeof import('vuetify/components')['VTooltip']
618
619
  VWindow: typeof import('vuetify/components')['VWindow']
619
620
  VWindowItem: typeof import('vuetify/components')['VWindowItem']
620
- VTooltip: typeof import('vuetify/components')['VTooltip']
621
621
  VConfirmEdit: typeof import('vuetify/components')['VConfirmEdit']
622
622
  VDataIterator: typeof import('vuetify/components')['VDataIterator']
623
623
  VDefaultsProvider: typeof import('vuetify/components')['VDefaultsProvider']
624
- VForm: typeof import('vuetify/components')['VForm']
625
624
  VContainer: typeof import('vuetify/components')['VContainer']
626
625
  VCol: typeof import('vuetify/components')['VCol']
627
626
  VRow: typeof import('vuetify/components')['VRow']
628
627
  VSpacer: typeof import('vuetify/components')['VSpacer']
629
628
  VHover: typeof import('vuetify/components')['VHover']
629
+ VForm: typeof import('vuetify/components')['VForm']
630
630
  VLayout: typeof import('vuetify/components')['VLayout']
631
631
  VLayoutItem: typeof import('vuetify/components')['VLayoutItem']
632
632
  VLazy: typeof import('vuetify/components')['VLazy']
633
633
  VLocaleProvider: typeof import('vuetify/components')['VLocaleProvider']
634
- VParallax: typeof import('vuetify/components')['VParallax']
635
634
  VNoSsr: typeof import('vuetify/components')['VNoSsr']
635
+ VParallax: typeof import('vuetify/components')['VParallax']
636
636
  VRadio: typeof import('vuetify/components')['VRadio']
637
637
  VRangeSlider: typeof import('vuetify/components')['VRangeSlider']
638
638
  VResponsive: typeof import('vuetify/components')['VResponsive']
639
- VSparkline: typeof import('vuetify/components')['VSparkline']
640
639
  VSpeedDial: typeof import('vuetify/components')['VSpeedDial']
640
+ VSparkline: typeof import('vuetify/components')['VSparkline']
641
641
  VThemeProvider: typeof import('vuetify/components')['VThemeProvider']
642
- VVirtualScroll: typeof import('vuetify/components')['VVirtualScroll']
643
642
  VValidation: typeof import('vuetify/components')['VValidation']
644
643
  VFabTransition: typeof import('vuetify/components')['VFabTransition']
645
644
  VDialogBottomTransition: typeof import('vuetify/components')['VDialogBottomTransition']
@@ -657,23 +656,24 @@ declare module '@vue/runtime-core' {
657
656
  VExpandTransition: typeof import('vuetify/components')['VExpandTransition']
658
657
  VExpandXTransition: typeof import('vuetify/components')['VExpandXTransition']
659
658
  VDialogTransition: typeof import('vuetify/components')['VDialogTransition']
660
- VPicker: typeof import('vuetify/labs/components')['VPicker']
661
- VPickerTitle: typeof import('vuetify/labs/components')['VPickerTitle']
662
- VTimePicker: typeof import('vuetify/labs/components')['VTimePicker']
663
- VTimePickerClock: typeof import('vuetify/labs/components')['VTimePickerClock']
664
- VTimePickerControls: typeof import('vuetify/labs/components')['VTimePickerControls']
665
- VNumberInput: typeof import('vuetify/labs/components')['VNumberInput']
659
+ VVirtualScroll: typeof import('vuetify/components')['VVirtualScroll']
666
660
  VCalendar: typeof import('vuetify/labs/components')['VCalendar']
667
661
  VCalendarDay: typeof import('vuetify/labs/components')['VCalendarDay']
668
662
  VCalendarHeader: typeof import('vuetify/labs/components')['VCalendarHeader']
669
663
  VCalendarInterval: typeof import('vuetify/labs/components')['VCalendarInterval']
670
664
  VCalendarIntervalEvent: typeof import('vuetify/labs/components')['VCalendarIntervalEvent']
671
665
  VCalendarMonthDay: typeof import('vuetify/labs/components')['VCalendarMonthDay']
666
+ VPicker: typeof import('vuetify/labs/components')['VPicker']
667
+ VPickerTitle: typeof import('vuetify/labs/components')['VPickerTitle']
668
+ VNumberInput: typeof import('vuetify/labs/components')['VNumberInput']
672
669
  VTreeview: typeof import('vuetify/labs/components')['VTreeview']
673
670
  VTreeviewItem: typeof import('vuetify/labs/components')['VTreeviewItem']
674
671
  VTreeviewGroup: typeof import('vuetify/labs/components')['VTreeviewGroup']
672
+ VTimePicker: typeof import('vuetify/labs/components')['VTimePicker']
673
+ VTimePickerClock: typeof import('vuetify/labs/components')['VTimePickerClock']
674
+ VTimePickerControls: typeof import('vuetify/labs/components')['VTimePickerControls']
675
675
  VDateInput: typeof import('vuetify/labs/components')['VDateInput']
676
- VSnackbarQueue: typeof import('vuetify/labs/components')['VSnackbarQueue']
677
676
  VPullToRefresh: typeof import('vuetify/labs/components')['VPullToRefresh']
677
+ VSnackbarQueue: typeof import('vuetify/labs/components')['VSnackbarQueue']
678
678
  }
679
679
  }
@@ -45,9 +45,11 @@
45
45
  background: currentColor
46
46
  opacity: var(--v-activated-opacity)
47
47
  border-radius: inherit
48
- position: absolute
49
48
  top: 0
50
49
  right: 0
51
50
  bottom: 0
52
51
  left: 0
53
52
  pointer-events: none
53
+
54
+ .#{$name}__underlay
55
+ position: absolute
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vuetify/nightly",
3
3
  "description": "Vue Material Component Framework",
4
- "version": "3.6.3-master.2024-05-02",
4
+ "version": "3.6.3-master.2024-05-03",
5
5
  "author": {
6
6
  "name": "John Leider",
7
7
  "email": "john@vuetifyjs.com"