vuetify 3.7.2 → 3.7.4

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 (104) hide show
  1. package/dist/json/attributes.json +5843 -5795
  2. package/dist/json/importMap-labs.json +16 -16
  3. package/dist/json/importMap.json +150 -150
  4. package/dist/json/tags.json +14 -1
  5. package/dist/json/web-types.json +10397 -10309
  6. package/dist/vuetify-labs.css +2362 -2362
  7. package/dist/vuetify-labs.d.ts +196 -195
  8. package/dist/vuetify-labs.esm.js +68 -45
  9. package/dist/vuetify-labs.esm.js.map +1 -1
  10. package/dist/vuetify-labs.js +68 -45
  11. package/dist/vuetify-labs.min.css +2 -2
  12. package/dist/vuetify.css +2822 -2822
  13. package/dist/vuetify.d.ts +212 -211
  14. package/dist/vuetify.esm.js +38 -17
  15. package/dist/vuetify.esm.js.map +1 -1
  16. package/dist/vuetify.js +38 -17
  17. package/dist/vuetify.js.map +1 -1
  18. package/dist/vuetify.min.css +2 -2
  19. package/dist/vuetify.min.js +28 -28
  20. package/dist/vuetify.min.js.map +1 -1
  21. package/lib/components/VAutocomplete/index.d.mts +22 -22
  22. package/lib/components/VBottomSheet/VBottomSheet.sass +2 -1
  23. package/lib/components/VBottomSheet/index.d.mts +4 -4
  24. package/lib/components/VBtn/VBtn.css +2 -2
  25. package/lib/components/VBtn/VBtn.sass +7 -8
  26. package/lib/components/VBtnToggle/VBtnToggle.css +3 -0
  27. package/lib/components/VBtnToggle/VBtnToggle.sass +3 -0
  28. package/lib/components/VCarousel/index.d.mts +2 -2
  29. package/lib/components/VCheckbox/index.d.mts +2 -2
  30. package/lib/components/VChip/VChip.mjs +2 -1
  31. package/lib/components/VChip/VChip.mjs.map +1 -1
  32. package/lib/components/VCode/index.mjs +1 -1
  33. package/lib/components/VCode/index.mjs.map +1 -1
  34. package/lib/components/VColorPicker/VColorPicker.mjs +2 -2
  35. package/lib/components/VColorPicker/VColorPicker.mjs.map +1 -1
  36. package/lib/components/VCombobox/index.d.mts +22 -22
  37. package/lib/components/VConfirmEdit/__test__/VConfirmEdit.spec.browser.mjs +87 -0
  38. package/lib/components/VConfirmEdit/__test__/VConfirmEdit.spec.browser.mjs.map +1 -0
  39. package/lib/components/VDataTable/VDataTableFooter.mjs.map +1 -1
  40. package/lib/components/VDataTable/composables/paginate.mjs +4 -2
  41. package/lib/components/VDataTable/composables/paginate.mjs.map +1 -1
  42. package/lib/components/VDataTable/index.d.mts +7 -6
  43. package/lib/components/VDatePicker/index.d.mts +2 -2
  44. package/lib/components/VDialog/VDialog.css +3 -7
  45. package/lib/components/VDialog/VDialog.mjs +8 -1
  46. package/lib/components/VDialog/VDialog.mjs.map +1 -1
  47. package/lib/components/VDialog/VDialog.sass +6 -7
  48. package/lib/components/VDialog/index.d.mts +22 -22
  49. package/lib/components/VField/_variables.scss +2 -1
  50. package/lib/components/VFileInput/__tests__/text.txt +1 -0
  51. package/lib/components/VFileInput/index.d.mts +3 -3
  52. package/lib/components/VInput/index.d.mts +2 -2
  53. package/lib/components/VKbd/index.mjs +1 -1
  54. package/lib/components/VKbd/index.mjs.map +1 -1
  55. package/lib/components/VList/VListItem.css +8 -7
  56. package/lib/components/VList/VListItem.mjs +1 -0
  57. package/lib/components/VList/VListItem.mjs.map +1 -1
  58. package/lib/components/VList/VListItem.sass +16 -10
  59. package/lib/components/VList/_variables.scss +0 -11
  60. package/lib/components/VMenu/VMenu.mjs +15 -6
  61. package/lib/components/VMenu/VMenu.mjs.map +1 -1
  62. package/lib/components/VMenu/index.d.mts +20 -20
  63. package/lib/components/VMessages/index.d.mts +8 -8
  64. package/lib/components/VNavigationDrawer/index.d.mts +7 -7
  65. package/lib/components/VOverflowBtn/VOverflowBtn.sass +6 -5
  66. package/lib/components/VOverlay/index.d.mts +4 -4
  67. package/lib/components/VProgressLinear/_variables.scss +2 -1
  68. package/lib/components/VRadioGroup/index.d.mts +2 -2
  69. package/lib/components/VSelect/index.d.mts +22 -22
  70. package/lib/components/VSnackbar/index.d.mts +31 -31
  71. package/lib/components/VSpeedDial/index.d.mts +2 -2
  72. package/lib/components/VSwitch/index.d.mts +2 -2
  73. package/lib/components/VTable/_mixins.scss +2 -2
  74. package/lib/components/VTabs/VTabs.sass +1 -1
  75. package/lib/components/VTextField/index.d.mts +3 -3
  76. package/lib/components/VTextarea/index.d.mts +3 -3
  77. package/lib/components/VTooltip/index.d.mts +24 -24
  78. package/lib/components/VWindow/index.d.mts +2 -2
  79. package/lib/components/index.d.mts +158 -157
  80. package/lib/composables/directiveComponent.mjs +4 -3
  81. package/lib/composables/directiveComponent.mjs.map +1 -1
  82. package/lib/composables/nested/nested.mjs +2 -2
  83. package/lib/composables/nested/nested.mjs.map +1 -1
  84. package/lib/directives/ripple/index.mjs.map +1 -1
  85. package/lib/entry-bundler.mjs +1 -1
  86. package/lib/framework.mjs +1 -1
  87. package/lib/index.d.mts +53 -53
  88. package/lib/labs/VNumberInput/index.d.mts +9 -9
  89. package/lib/labs/VSnackbarQueue/index.d.mts +52 -52
  90. package/lib/labs/VTreeview/VTreeview.mjs +2 -1
  91. package/lib/labs/VTreeview/VTreeview.mjs.map +1 -1
  92. package/lib/labs/VTreeview/VTreeviewChildren.mjs +29 -28
  93. package/lib/labs/VTreeview/VTreeviewChildren.mjs.map +1 -1
  94. package/lib/labs/VTreeview/index.d.mts +7 -7
  95. package/lib/labs/components.d.mts +68 -68
  96. package/lib/locale/el.mjs +0 -0
  97. package/lib/locale/index.mjs +0 -0
  98. package/lib/styles/settings/_colors.scss +257 -256
  99. package/lib/styles/utilities/_display.sass +2 -1
  100. package/lib/styles/utilities/_elevation.scss +2 -1
  101. package/lib/styles/utilities/_screenreaders.sass +2 -1
  102. package/package.json +23 -16
  103. package/lib/components/VConfirmEdit/__test__/VConfirmEdit.spec.cy.mjs +0 -74
  104. package/lib/components/VConfirmEdit/__test__/VConfirmEdit.spec.cy.mjs.map +0 -1
@@ -112,7 +112,7 @@ declare const VDatePicker: {
112
112
  'update:month': (date: any) => true;
113
113
  'update:year': (date: any) => true;
114
114
  'update:viewMode': (date: any) => true;
115
- }, "multiple" | "$children" | "v-slots" | "v-slot:default" | "modelValue" | "update:modelValue" | "v-slot:title" | "v-slot:header" | "v-slot:actions">, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & {
115
+ }, "multiple" | "$children" | "v-slots" | "v-slot:default" | "modelValue" | "v-slot:title" | "update:modelValue" | "v-slot:header" | "v-slot:actions">, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & {
116
116
  transition: string;
117
117
  header: string;
118
118
  style: vue.StyleValue;
@@ -327,7 +327,7 @@ declare const VDatePicker: {
327
327
  'update:month': (date: any) => true;
328
328
  'update:year': (date: any) => true;
329
329
  'update:viewMode': (date: any) => true;
330
- }, "multiple" | "$children" | "v-slots" | "v-slot:default" | "modelValue" | "update:modelValue" | "v-slot:title" | "v-slot:header" | "v-slot:actions">, string, {
330
+ }, "multiple" | "$children" | "v-slots" | "v-slot:default" | "modelValue" | "v-slot:title" | "update:modelValue" | "v-slot:header" | "v-slot:actions">, string, {
331
331
  active: string | string[];
332
332
  transition: string;
333
333
  header: string;
@@ -22,6 +22,7 @@
22
22
  --v-scrollbar-offset: 0px;
23
23
  border-radius: 4px;
24
24
  overflow-y: auto;
25
+ flex: 1 1 100%;
25
26
  }
26
27
  .v-dialog > .v-overlay__content > .v-card,
27
28
  .v-dialog > .v-overlay__content > .v-sheet,
@@ -62,16 +63,13 @@
62
63
  margin: 0;
63
64
  padding: 0;
64
65
  width: 100%;
66
+ height: 100%;
65
67
  max-width: 100%;
66
68
  max-height: 100%;
67
69
  overflow-y: auto;
68
70
  top: 0;
69
71
  left: 0;
70
72
  }
71
- .v-dialog--fullscreen > .v-overlay__content,
72
- .v-dialog--fullscreen > .v-overlay__content > form {
73
- height: 100%;
74
- }
75
73
  .v-dialog--fullscreen > .v-overlay__content > .v-card,
76
74
  .v-dialog--fullscreen > .v-overlay__content > .v-sheet,
77
75
  .v-dialog--fullscreen > .v-overlay__content > form > .v-card,
@@ -82,10 +80,8 @@
82
80
  }
83
81
 
84
82
  .v-dialog--scrollable > .v-overlay__content,
85
- .v-dialog--scrollable > .v-overlay__content > form {
86
- display: flex;
87
- }
88
83
  .v-dialog--scrollable > .v-overlay__content > .v-card,
84
+ .v-dialog--scrollable > .v-overlay__content > form,
89
85
  .v-dialog--scrollable > .v-overlay__content > form > .v-card {
90
86
  display: flex;
91
87
  flex: 1 1 100%;
@@ -10,7 +10,7 @@ import { makeVOverlayProps } from "../VOverlay/VOverlay.mjs"; // Composables
10
10
  import { forwardRefs } from "../../composables/forwardRefs.mjs";
11
11
  import { useProxiedModel } from "../../composables/proxiedModel.mjs";
12
12
  import { useScopeId } from "../../composables/scopeId.mjs"; // Utilities
13
- import { mergeProps, nextTick, ref, watch } from 'vue';
13
+ import { mergeProps, nextTick, onBeforeUnmount, ref, watch } from 'vue';
14
14
  import { focusableChildren, genericComponent, IN_BROWSER, propsFactory, useRender } from "../../util/index.mjs"; // Types
15
15
  export const makeVDialogProps = propsFactory({
16
16
  fullscreen: Boolean,
@@ -67,6 +67,9 @@ export const VDialog = genericComponent()({
67
67
  }
68
68
  }
69
69
  }
70
+ onBeforeUnmount(() => {
71
+ document.removeEventListener('focusin', onFocusin);
72
+ });
70
73
  if (IN_BROWSER) {
71
74
  watch(() => isActive.value && props.retainFocus, val => {
72
75
  val ? document.addEventListener('focusin', onFocusin) : document.removeEventListener('focusin', onFocusin);
@@ -114,6 +117,10 @@ export const VDialog = genericComponent()({
114
117
  "aria-modal": "true",
115
118
  "activatorProps": activatorProps,
116
119
  "contentProps": contentProps,
120
+ "height": !props.fullscreen ? props.height : undefined,
121
+ "width": !props.fullscreen ? props.width : undefined,
122
+ "maxHeight": !props.fullscreen ? props.maxHeight : undefined,
123
+ "maxWidth": !props.fullscreen ? props.maxWidth : undefined,
117
124
  "role": "dialog",
118
125
  "onAfterEnter": onAfterEnter,
119
126
  "onAfterLeave": onAfterLeave
@@ -1 +1 @@
1
- {"version":3,"file":"VDialog.mjs","names":["VDialogTransition","VDefaultsProvider","VOverlay","makeVOverlayProps","forwardRefs","useProxiedModel","useScopeId","mergeProps","nextTick","ref","watch","focusableChildren","genericComponent","IN_BROWSER","propsFactory","useRender","makeVDialogProps","fullscreen","Boolean","retainFocus","type","default","scrollable","origin","scrollStrategy","transition","component","zIndex","VDialog","name","props","emits","value","afterEnter","afterLeave","setup","_ref","emit","slots","isActive","scopeId","overlay","onFocusin","e","before","relatedTarget","after","target","contentEl","globalTop","document","includes","contains","focusable","length","firstElement","lastElement","focus","val","addEventListener","removeEventListener","immediate","onAfterEnter","activeElement","preventScroll","onAfterLeave","activatorEl","overlayProps","filterProps","activatorProps","contentProps","tabindex","_createVNode","_mergeProps","class","style","$event","activator","_len","arguments","args","Array","_key"],"sources":["../../../src/components/VDialog/VDialog.tsx"],"sourcesContent":["// Styles\nimport './VDialog.sass'\n\n// Components\nimport { VDialogTransition } from '@/components/transitions'\nimport { VDefaultsProvider } from '@/components/VDefaultsProvider'\nimport { VOverlay } from '@/components/VOverlay'\nimport { makeVOverlayProps } from '@/components/VOverlay/VOverlay'\n\n// Composables\nimport { forwardRefs } from '@/composables/forwardRefs'\nimport { useProxiedModel } from '@/composables/proxiedModel'\nimport { useScopeId } from '@/composables/scopeId'\n\n// Utilities\nimport { mergeProps, nextTick, ref, watch } from 'vue'\nimport { focusableChildren, genericComponent, IN_BROWSER, propsFactory, useRender } from '@/util'\n\n// Types\nimport type { Component } from 'vue'\nimport type { OverlaySlots } from '@/components/VOverlay/VOverlay'\n\nexport const makeVDialogProps = propsFactory({\n fullscreen: Boolean,\n retainFocus: {\n type: Boolean,\n default: true,\n },\n scrollable: Boolean,\n\n ...makeVOverlayProps({\n origin: 'center center' as const,\n scrollStrategy: 'block' as const,\n transition: { component: VDialogTransition as Component },\n zIndex: 2400,\n }),\n}, 'VDialog')\n\nexport const VDialog = genericComponent<OverlaySlots>()({\n name: 'VDialog',\n\n props: makeVDialogProps(),\n\n emits: {\n 'update:modelValue': (value: boolean) => true,\n afterEnter: () => true,\n afterLeave: () => true,\n },\n\n setup (props, { emit, slots }) {\n const isActive = useProxiedModel(props, 'modelValue')\n const { scopeId } = useScopeId()\n\n const overlay = ref<VOverlay>()\n function onFocusin (e: FocusEvent) {\n const before = e.relatedTarget as HTMLElement | null\n const after = e.target as HTMLElement | null\n\n if (\n before !== after &&\n overlay.value?.contentEl &&\n // We're the topmost dialog\n overlay.value?.globalTop &&\n // It isn't the document or the dialog body\n ![document, overlay.value.contentEl].includes(after!) &&\n // It isn't inside the dialog body\n !overlay.value.contentEl.contains(after)\n ) {\n const focusable = focusableChildren(overlay.value.contentEl)\n\n if (!focusable.length) return\n\n const firstElement = focusable[0]\n const lastElement = focusable[focusable.length - 1]\n\n if (before === firstElement) {\n lastElement.focus()\n } else {\n firstElement.focus()\n }\n }\n }\n\n if (IN_BROWSER) {\n watch(() => isActive.value && props.retainFocus, val => {\n val\n ? document.addEventListener('focusin', onFocusin)\n : document.removeEventListener('focusin', onFocusin)\n }, { immediate: true })\n }\n\n function onAfterEnter () {\n emit('afterEnter')\n if (overlay.value?.contentEl && !overlay.value.contentEl.contains(document.activeElement)) {\n overlay.value.contentEl.focus({ preventScroll: true })\n }\n }\n\n function onAfterLeave () {\n emit('afterLeave')\n }\n\n watch(isActive, async val => {\n if (!val) {\n await nextTick()\n overlay.value!.activatorEl?.focus({ preventScroll: true })\n }\n })\n\n useRender(() => {\n const overlayProps = VOverlay.filterProps(props)\n const activatorProps = mergeProps({\n 'aria-haspopup': 'dialog',\n }, props.activatorProps)\n const contentProps = mergeProps({\n tabindex: -1,\n }, props.contentProps)\n\n return (\n <VOverlay\n ref={ overlay }\n class={[\n 'v-dialog',\n {\n 'v-dialog--fullscreen': props.fullscreen,\n 'v-dialog--scrollable': props.scrollable,\n },\n props.class,\n ]}\n style={ props.style }\n { ...overlayProps }\n v-model={ isActive.value }\n aria-modal=\"true\"\n activatorProps={ activatorProps }\n contentProps={ contentProps }\n role=\"dialog\"\n onAfterEnter={ onAfterEnter }\n onAfterLeave={ onAfterLeave }\n { ...scopeId }\n >\n {{\n activator: slots.activator,\n default: (...args) => (\n <VDefaultsProvider root=\"VDialog\">\n { slots.default?.(...args) }\n </VDefaultsProvider>\n ),\n }}\n </VOverlay>\n )\n })\n\n return forwardRefs({}, overlay)\n },\n})\n\nexport type VDialog = InstanceType<typeof VDialog>\n"],"mappings":";AAAA;AACA;;AAEA;AAAA,SACSA,iBAAiB;AAAA,SACjBC,iBAAiB;AAAA,SACjBC,QAAQ;AAAA,SACRC,iBAAiB,oCAE1B;AAAA,SACSC,WAAW;AAAA,SACXC,eAAe;AAAA,SACfC,UAAU,yCAEnB;AACA,SAASC,UAAU,EAAEC,QAAQ,EAAEC,GAAG,EAAEC,KAAK,QAAQ,KAAK;AAAA,SAC7CC,iBAAiB,EAAEC,gBAAgB,EAAEC,UAAU,EAAEC,YAAY,EAAEC,SAAS,gCAEjF;AAIA,OAAO,MAAMC,gBAAgB,GAAGF,YAAY,CAAC;EAC3CG,UAAU,EAAEC,OAAO;EACnBC,WAAW,EAAE;IACXC,IAAI,EAAEF,OAAO;IACbG,OAAO,EAAE;EACX,CAAC;EACDC,UAAU,EAAEJ,OAAO;EAEnB,GAAGf,iBAAiB,CAAC;IACnBoB,MAAM,EAAE,eAAwB;IAChCC,cAAc,EAAE,OAAgB;IAChCC,UAAU,EAAE;MAAEC,SAAS,EAAE1B;IAA+B,CAAC;IACzD2B,MAAM,EAAE;EACV,CAAC;AACH,CAAC,EAAE,SAAS,CAAC;AAEb,OAAO,MAAMC,OAAO,GAAGhB,gBAAgB,CAAe,CAAC,CAAC;EACtDiB,IAAI,EAAE,SAAS;EAEfC,KAAK,EAAEd,gBAAgB,CAAC,CAAC;EAEzBe,KAAK,EAAE;IACL,mBAAmB,EAAGC,KAAc,IAAK,IAAI;IAC7CC,UAAU,EAAEA,CAAA,KAAM,IAAI;IACtBC,UAAU,EAAEA,CAAA,KAAM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AAU,EACV;UACE,sBAAsB,EAAEX,KAAK,CAACb,UAAU;UACxC,sBAAsB,EAAEa,KAAK,CAACR;QAChC,CAAC,EACDQ,KAAK,CAAC4C,KAAK,CACZ;QAAA,SACO5C,KAAK,CAAC6C;MAAK,GACdR,YAAY;QAAA,cACP5B,QAAQ,CAACP,KAAK;QAAA,uBAAA4C,MAAA,IAAdrC,QAAQ,CAACP,KAAK,GAAA4C,MAAA;QAAA;QAAA,kBAEPP,cAAc;QAAA,gBAChBC,YAAY;QAAA;QAAA,gBAEZR,YAAY;QAAA,gBACZG;MAAY,GACtBzB,OAAO;QAGVqC,SAAS,EAAEvC,KAAK,CAACuC,SAAS;QAC1BxD,OAAO,EAAE,SAAAA,CAAA;UAAA,SAAAyD,IAAA,GAAAC,SAAA,CAAAzB,MAAA,EAAI0B,IAAI,OAAAC,KAAA,CAAAH,IAAA,GAAAI,IAAA,MAAAA,IAAA,GAAAJ,IAAA,EAAAI,IAAA;YAAJF,IAAI,CAAAE,IAAA,IAAAH,SAAA,CAAAG,IAAA;UAAA;UAAA,OAAAV,YAAA,CAAAvE,iBAAA;YAAA;UAAA;YAAAoB,OAAA,EAAAA,CAAA,MAEXiB,KAAK,CAACjB,OAAO,GAAG,GAAG2D,IAAI,CAAC;UAAA;QAAA;MAE7B;IAIT,CAAC,CAAC;IAEF,OAAO5E,WAAW,CAAC,CAAC,CAAC,EAAEqC,OAAO,CAAC;EACjC;AACF,CAAC,CAAC","ignoreList":[]}
1
+ {"version":3,"file":"VDialog.mjs","names":["VDialogTransition","VDefaultsProvider","VOverlay","makeVOverlayProps","forwardRefs","useProxiedModel","useScopeId","mergeProps","nextTick","onBeforeUnmount","ref","watch","focusableChildren","genericComponent","IN_BROWSER","propsFactory","useRender","makeVDialogProps","fullscreen","Boolean","retainFocus","type","default","scrollable","origin","scrollStrategy","transition","component","zIndex","VDialog","name","props","emits","value","afterEnter","afterLeave","setup","_ref","emit","slots","isActive","scopeId","overlay","onFocusin","e","before","relatedTarget","after","target","contentEl","globalTop","document","includes","contains","focusable","length","firstElement","lastElement","focus","removeEventListener","val","addEventListener","immediate","onAfterEnter","activeElement","preventScroll","onAfterLeave","activatorEl","overlayProps","filterProps","activatorProps","contentProps","tabindex","_createVNode","_mergeProps","class","style","$event","height","undefined","width","maxHeight","maxWidth","activator","_len","arguments","args","Array","_key"],"sources":["../../../src/components/VDialog/VDialog.tsx"],"sourcesContent":["// Styles\nimport './VDialog.sass'\n\n// Components\nimport { VDialogTransition } from '@/components/transitions'\nimport { VDefaultsProvider } from '@/components/VDefaultsProvider'\nimport { VOverlay } from '@/components/VOverlay'\nimport { makeVOverlayProps } from '@/components/VOverlay/VOverlay'\n\n// Composables\nimport { forwardRefs } from '@/composables/forwardRefs'\nimport { useProxiedModel } from '@/composables/proxiedModel'\nimport { useScopeId } from '@/composables/scopeId'\n\n// Utilities\nimport { mergeProps, nextTick, onBeforeUnmount, ref, watch } from 'vue'\nimport { focusableChildren, genericComponent, IN_BROWSER, propsFactory, useRender } from '@/util'\n\n// Types\nimport type { Component } from 'vue'\nimport type { OverlaySlots } from '@/components/VOverlay/VOverlay'\n\nexport const makeVDialogProps = propsFactory({\n fullscreen: Boolean,\n retainFocus: {\n type: Boolean,\n default: true,\n },\n scrollable: Boolean,\n\n ...makeVOverlayProps({\n origin: 'center center' as const,\n scrollStrategy: 'block' as const,\n transition: { component: VDialogTransition as Component },\n zIndex: 2400,\n }),\n}, 'VDialog')\n\nexport const VDialog = genericComponent<OverlaySlots>()({\n name: 'VDialog',\n\n props: makeVDialogProps(),\n\n emits: {\n 'update:modelValue': (value: boolean) => true,\n afterEnter: () => true,\n afterLeave: () => true,\n },\n\n setup (props, { emit, slots }) {\n const isActive = useProxiedModel(props, 'modelValue')\n const { scopeId } = useScopeId()\n\n const overlay = ref<VOverlay>()\n function onFocusin (e: FocusEvent) {\n const before = e.relatedTarget as HTMLElement | null\n const after = e.target as HTMLElement | null\n\n if (\n before !== after &&\n overlay.value?.contentEl &&\n // We're the topmost dialog\n overlay.value?.globalTop &&\n // It isn't the document or the dialog body\n ![document, overlay.value.contentEl].includes(after!) &&\n // It isn't inside the dialog body\n !overlay.value.contentEl.contains(after)\n ) {\n const focusable = focusableChildren(overlay.value.contentEl)\n\n if (!focusable.length) return\n\n const firstElement = focusable[0]\n const lastElement = focusable[focusable.length - 1]\n\n if (before === firstElement) {\n lastElement.focus()\n } else {\n firstElement.focus()\n }\n }\n }\n\n onBeforeUnmount(() => {\n document.removeEventListener('focusin', onFocusin)\n })\n\n if (IN_BROWSER) {\n watch(() => isActive.value && props.retainFocus, val => {\n val\n ? document.addEventListener('focusin', onFocusin)\n : document.removeEventListener('focusin', onFocusin)\n }, { immediate: true })\n }\n\n function onAfterEnter () {\n emit('afterEnter')\n if (overlay.value?.contentEl && !overlay.value.contentEl.contains(document.activeElement)) {\n overlay.value.contentEl.focus({ preventScroll: true })\n }\n }\n\n function onAfterLeave () {\n emit('afterLeave')\n }\n\n watch(isActive, async val => {\n if (!val) {\n await nextTick()\n overlay.value!.activatorEl?.focus({ preventScroll: true })\n }\n })\n\n useRender(() => {\n const overlayProps = VOverlay.filterProps(props)\n const activatorProps = mergeProps({\n 'aria-haspopup': 'dialog',\n }, props.activatorProps)\n const contentProps = mergeProps({\n tabindex: -1,\n }, props.contentProps)\n\n return (\n <VOverlay\n ref={ overlay }\n class={[\n 'v-dialog',\n {\n 'v-dialog--fullscreen': props.fullscreen,\n 'v-dialog--scrollable': props.scrollable,\n },\n props.class,\n ]}\n style={ props.style }\n { ...overlayProps }\n v-model={ isActive.value }\n aria-modal=\"true\"\n activatorProps={ activatorProps }\n contentProps={ contentProps }\n height={ !props.fullscreen ? props.height : undefined }\n width={ !props.fullscreen ? props.width : undefined }\n maxHeight={ !props.fullscreen ? props.maxHeight : undefined }\n maxWidth={ !props.fullscreen ? props.maxWidth : undefined }\n role=\"dialog\"\n onAfterEnter={ onAfterEnter }\n onAfterLeave={ onAfterLeave }\n { ...scopeId }\n >\n {{\n activator: slots.activator,\n default: (...args) => (\n <VDefaultsProvider root=\"VDialog\">\n { slots.default?.(...args) }\n </VDefaultsProvider>\n ),\n }}\n </VOverlay>\n )\n })\n\n return forwardRefs({}, overlay)\n },\n})\n\nexport type VDialog = InstanceType<typeof VDialog>\n"],"mappings":";AAAA;AACA;;AAEA;AAAA,SACSA,iBAAiB;AAAA,SACjBC,iBAAiB;AAAA,SACjBC,QAAQ;AAAA,SACRC,iBAAiB,oCAE1B;AAAA,SACSC,WAAW;AAAA,SACXC,eAAe;AAAA,SACfC,UAAU,yCAEnB;AACA,SAASC,UAAU,EAAEC,QAAQ,EAAEC,eAAe,EAAEC,GAAG,EAAEC,KAAK,QAAQ,KAAK;AAAA,SAC9DC,iBAAiB,EAAEC,gBAAgB,EAAEC,UAAU,EAAEC,YAAY,EAAEC,SAAS,gCAEjF;AAIA,OAAO,MAAMC,gBAAgB,GAAGF,YAAY,CAAC;EAC3CG,UAAU,EAAEC,OAAO;EACnBC,WAAW,EAAE;IACXC,IAAI,EAAEF,OAAO;IACbG,OAAO,EAAE;EACX,CAAC;EACDC,UAAU,EAAEJ,OAAO;EAEnB,GAAGhB,iBAAiB,CAAC;IACnBqB,MAAM,EAAE,eAAwB;IAChCC,cAAc,EAAE,OAAgB;IAChCC,UAAU,EAAE;MAAEC,SAAS,EAAE3B;IAA+B,CAAC;IACzD4B,MAAM,EAAE;EACV,CAAC;AACH,CAAC,EAAE,SAAS,CAAC;AAEb,OAAO,MAAMC,OAAO,GAAGhB,gBAAgB,CAAe,CAAC,CAAC;EACtDiB,IAAI,EAAE,SAAS;EAEfC,KAAK,EAAEd,gBAAgB,CAAC,CAAC;EAEzBe,KAAK,EAAE;IACL,mBAAmB,EAAGC,KAAc,IAAK,IAAI;IAC7CC,UAAU,EAAEA,CAAA,KAAM,IAAI;IACtBC,UAAU,EAAEA,CAAA,KAAM;EACpB,CAAC;EAEDC,KAAKA,CAAEL,KAAK,EAAAM,IAAA,EAAmB;IAAA,IAAjB;MAAEC,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ACF,CAAC,CAAC","ignoreList":[]}
@@ -24,6 +24,7 @@
24
24
  --v-scrollbar-offset: 0px
25
25
  border-radius: $dialog-border-radius
26
26
  overflow-y: auto
27
+ flex: 1 1 100%
27
28
 
28
29
  @include tools.elevation($dialog-elevation)
29
30
 
@@ -54,6 +55,7 @@
54
55
  margin: 0
55
56
  padding: 0
56
57
  width: 100%
58
+ height: 100%
57
59
  max-width: 100%
58
60
  max-height: 100%
59
61
  overflow-y: auto
@@ -62,8 +64,6 @@
62
64
 
63
65
  &,
64
66
  > form
65
- height: 100%
66
-
67
67
  > .v-card,
68
68
  > .v-sheet
69
69
  min-height: 100%
@@ -73,8 +73,7 @@
73
73
  .v-dialog--scrollable > .v-overlay__content
74
74
  &,
75
75
  > form
76
- display: flex
77
-
76
+ &,
78
77
  > .v-card
79
78
  display: flex
80
79
  flex: 1 1 100%
@@ -82,6 +81,6 @@
82
81
  max-height: 100%
83
82
  max-width: 100%
84
83
 
85
- > .v-card-text
86
- backface-visibility: hidden
87
- overflow-y: auto
84
+ > .v-card > .v-card-text
85
+ backface-visibility: hidden
86
+ overflow-y: auto
@@ -135,9 +135,9 @@ declare const VDialog: {
135
135
  class?: any;
136
136
  theme?: string | undefined;
137
137
  contentClass?: any;
138
+ activator?: Element | "parent" | (string & {}) | vue.ComponentPublicInstance | undefined;
138
139
  closeDelay?: string | number | undefined;
139
140
  openDelay?: string | number | undefined;
140
- activator?: Element | "parent" | (string & {}) | vue.ComponentPublicInstance | undefined;
141
141
  openOnClick?: boolean | undefined;
142
142
  openOnFocus?: boolean | undefined;
143
143
  contentProps?: any;
@@ -245,9 +245,9 @@ declare const VDialog: {
245
245
  class?: any;
246
246
  theme?: string | undefined;
247
247
  contentClass?: any;
248
+ activator?: Element | "parent" | (string & {}) | vue.ComponentPublicInstance | undefined;
248
249
  closeDelay?: string | number | undefined;
249
250
  openDelay?: string | number | undefined;
250
- activator?: Element | "parent" | (string & {}) | vue.ComponentPublicInstance | undefined;
251
251
  openOnClick?: boolean | undefined;
252
252
  openOnFocus?: boolean | undefined;
253
253
  contentProps?: any;
@@ -324,9 +324,9 @@ declare const VDialog: {
324
324
  class?: any;
325
325
  theme?: string | undefined;
326
326
  contentClass?: any;
327
+ activator?: Element | "parent" | (string & {}) | vue.ComponentPublicInstance | undefined;
327
328
  closeDelay?: string | number | undefined;
328
329
  openDelay?: string | number | undefined;
329
- activator?: Element | "parent" | (string & {}) | vue.ComponentPublicInstance | undefined;
330
330
  openOnClick?: boolean | undefined;
331
331
  openOnFocus?: boolean | undefined;
332
332
  contentProps?: any;
@@ -387,7 +387,7 @@ declare const VDialog: {
387
387
  }>;
388
388
  $root: vue.ComponentPublicInstance | null;
389
389
  $parent: vue.ComponentPublicInstance | null;
390
- $emit: ((event: "click:outside", e: MouseEvent) => void) & ((event: "update:modelValue", value: boolean) => void) & ((event: "afterEnter") => void) & ((event: "afterLeave") => void);
390
+ $emit: ((event: "update:modelValue", value: boolean) => void) & ((event: "click:outside", e: MouseEvent) => void) & ((event: "afterEnter") => void) & ((event: "afterLeave") => void);
391
391
  $el: any;
392
392
  $options: vue.ComponentOptionsBase<{
393
393
  absolute: boolean;
@@ -427,9 +427,9 @@ declare const VDialog: {
427
427
  class?: any;
428
428
  theme?: string | undefined;
429
429
  contentClass?: any;
430
+ activator?: Element | "parent" | (string & {}) | vue.ComponentPublicInstance | undefined;
430
431
  closeDelay?: string | number | undefined;
431
432
  openDelay?: string | number | undefined;
432
- activator?: Element | "parent" | (string & {}) | vue.ComponentPublicInstance | undefined;
433
433
  openOnClick?: boolean | undefined;
434
434
  openOnFocus?: boolean | undefined;
435
435
  contentProps?: any;
@@ -579,9 +579,9 @@ declare const VDialog: {
579
579
  class?: any;
580
580
  theme?: string | undefined;
581
581
  contentClass?: any;
582
+ activator?: Element | "parent" | (string & {}) | vue.ComponentPublicInstance | undefined;
582
583
  closeDelay?: string | number | undefined;
583
584
  openDelay?: string | number | undefined;
584
- activator?: Element | "parent" | (string & {}) | vue.ComponentPublicInstance | undefined;
585
585
  openOnClick?: boolean | undefined;
586
586
  openOnFocus?: boolean | undefined;
587
587
  contentProps?: any;
@@ -632,7 +632,7 @@ declare const VDialog: {
632
632
  globalTop: Readonly<vue.Ref<boolean>>;
633
633
  localTop: vue.ComputedRef<boolean>;
634
634
  updateLocation: vue.Ref<((e: Event) => void) | undefined>;
635
- }> & {} & vue.ComponentCustomProperties & {}, "offset" | "key" | "height" | "width" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "target" | "class" | "theme" | "ref" | "onAfterEnter" | "onAfterLeave" | "$children" | "v-slots" | "v-slot:default" | "ref_for" | "ref_key" | "onVnodeBeforeMount" | "onVnodeMounted" | "onVnodeBeforeUpdate" | "onVnodeUpdated" | "onVnodeBeforeUnmount" | "onVnodeUnmounted" | "onUpdate:modelValue" | "contentClass" | "closeDelay" | "openDelay" | "activator" | "contentProps" | "attach" | "onClick:outside" | ("absolute" | "location" | "origin" | "transition" | "zIndex" | "style" | "eager" | "disabled" | "persistent" | "modelValue" | "locationStrategy" | "scrollStrategy" | "activatorProps" | "openOnClick" | "openOnHover" | "openOnFocus" | "closeOnContentClick" | "closeOnBack" | "contained" | "noClickAnimation" | "scrim" | "_disableGlobalStack") | "v-slot:activator">, `$${any}`> & {
635
+ }> & {} & vue.ComponentCustomProperties & {}, "offset" | "key" | "height" | "width" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "target" | "class" | "theme" | "ref" | "onAfterEnter" | "onAfterLeave" | "$children" | "v-slots" | "v-slot:default" | "ref_for" | "ref_key" | "onVnodeBeforeMount" | "onVnodeMounted" | "onVnodeBeforeUpdate" | "onVnodeUpdated" | "onVnodeBeforeUnmount" | "onVnodeUnmounted" | "onUpdate:modelValue" | "contentClass" | "activator" | "v-slot:activator" | "closeDelay" | "openDelay" | "contentProps" | "attach" | "onClick:outside" | ("absolute" | "location" | "origin" | "transition" | "zIndex" | "style" | "eager" | "disabled" | "persistent" | "modelValue" | "locationStrategy" | "scrollStrategy" | "activatorProps" | "openOnClick" | "openOnHover" | "openOnFocus" | "closeOnContentClick" | "closeOnBack" | "contained" | "noClickAnimation" | "scrim" | "_disableGlobalStack")>, `$${any}`> & {
636
636
  _allExposed: {
637
637
  activatorEl: vue.Ref<HTMLElement | undefined>;
638
638
  scrimEl: vue.Ref<HTMLElement | undefined>;
@@ -689,9 +689,9 @@ declare const VDialog: {
689
689
  class?: any;
690
690
  theme?: string | undefined;
691
691
  contentClass?: any;
692
+ activator?: Element | "parent" | (string & {}) | vue.ComponentPublicInstance | undefined;
692
693
  closeDelay?: string | number | undefined;
693
694
  openDelay?: string | number | undefined;
694
- activator?: Element | "parent" | (string & {}) | vue.ComponentPublicInstance | undefined;
695
695
  openOnClick?: boolean | undefined;
696
696
  openOnFocus?: boolean | undefined;
697
697
  contentProps?: any;
@@ -821,9 +821,9 @@ declare const VDialog: {
821
821
  class?: any;
822
822
  theme?: string | undefined;
823
823
  contentClass?: any;
824
+ activator?: Element | "parent" | (string & {}) | vue.ComponentPublicInstance | undefined;
824
825
  closeDelay?: string | number | undefined;
825
826
  openDelay?: string | number | undefined;
826
- activator?: Element | "parent" | (string & {}) | vue.ComponentPublicInstance | undefined;
827
827
  openOnClick?: boolean | undefined;
828
828
  openOnFocus?: boolean | undefined;
829
829
  contentProps?: any;
@@ -931,9 +931,9 @@ declare const VDialog: {
931
931
  class?: any;
932
932
  theme?: string | undefined;
933
933
  contentClass?: any;
934
+ activator?: Element | "parent" | (string & {}) | vue.ComponentPublicInstance | undefined;
934
935
  closeDelay?: string | number | undefined;
935
936
  openDelay?: string | number | undefined;
936
- activator?: Element | "parent" | (string & {}) | vue.ComponentPublicInstance | undefined;
937
937
  openOnClick?: boolean | undefined;
938
938
  openOnFocus?: boolean | undefined;
939
939
  contentProps?: any;
@@ -1010,9 +1010,9 @@ declare const VDialog: {
1010
1010
  class?: any;
1011
1011
  theme?: string | undefined;
1012
1012
  contentClass?: any;
1013
+ activator?: Element | "parent" | (string & {}) | vue.ComponentPublicInstance | undefined;
1013
1014
  closeDelay?: string | number | undefined;
1014
1015
  openDelay?: string | number | undefined;
1015
- activator?: Element | "parent" | (string & {}) | vue.ComponentPublicInstance | undefined;
1016
1016
  openOnClick?: boolean | undefined;
1017
1017
  openOnFocus?: boolean | undefined;
1018
1018
  contentProps?: any;
@@ -1073,7 +1073,7 @@ declare const VDialog: {
1073
1073
  }>;
1074
1074
  $root: vue.ComponentPublicInstance | null;
1075
1075
  $parent: vue.ComponentPublicInstance | null;
1076
- $emit: ((event: "click:outside", e: MouseEvent) => void) & ((event: "update:modelValue", value: boolean) => void) & ((event: "afterEnter") => void) & ((event: "afterLeave") => void);
1076
+ $emit: ((event: "update:modelValue", value: boolean) => void) & ((event: "click:outside", e: MouseEvent) => void) & ((event: "afterEnter") => void) & ((event: "afterLeave") => void);
1077
1077
  $el: any;
1078
1078
  $options: vue.ComponentOptionsBase<{
1079
1079
  absolute: boolean;
@@ -1113,9 +1113,9 @@ declare const VDialog: {
1113
1113
  class?: any;
1114
1114
  theme?: string | undefined;
1115
1115
  contentClass?: any;
1116
+ activator?: Element | "parent" | (string & {}) | vue.ComponentPublicInstance | undefined;
1116
1117
  closeDelay?: string | number | undefined;
1117
1118
  openDelay?: string | number | undefined;
1118
- activator?: Element | "parent" | (string & {}) | vue.ComponentPublicInstance | undefined;
1119
1119
  openOnClick?: boolean | undefined;
1120
1120
  openOnFocus?: boolean | undefined;
1121
1121
  contentProps?: any;
@@ -1265,9 +1265,9 @@ declare const VDialog: {
1265
1265
  class?: any;
1266
1266
  theme?: string | undefined;
1267
1267
  contentClass?: any;
1268
+ activator?: Element | "parent" | (string & {}) | vue.ComponentPublicInstance | undefined;
1268
1269
  closeDelay?: string | number | undefined;
1269
1270
  openDelay?: string | number | undefined;
1270
- activator?: Element | "parent" | (string & {}) | vue.ComponentPublicInstance | undefined;
1271
1271
  openOnClick?: boolean | undefined;
1272
1272
  openOnFocus?: boolean | undefined;
1273
1273
  contentProps?: any;
@@ -1318,7 +1318,7 @@ declare const VDialog: {
1318
1318
  globalTop: Readonly<vue.Ref<boolean>>;
1319
1319
  localTop: vue.ComputedRef<boolean>;
1320
1320
  updateLocation: vue.Ref<((e: Event) => void) | undefined>;
1321
- }> & {} & vue.ComponentCustomProperties & {}, "offset" | "key" | "height" | "width" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "target" | "class" | "theme" | "ref" | "onAfterEnter" | "onAfterLeave" | "$children" | "v-slots" | "v-slot:default" | "ref_for" | "ref_key" | "onVnodeBeforeMount" | "onVnodeMounted" | "onVnodeBeforeUpdate" | "onVnodeUpdated" | "onVnodeBeforeUnmount" | "onVnodeUnmounted" | "onUpdate:modelValue" | "contentClass" | "closeDelay" | "openDelay" | "activator" | "contentProps" | "attach" | "onClick:outside" | ("absolute" | "location" | "origin" | "transition" | "zIndex" | "style" | "eager" | "disabled" | "persistent" | "modelValue" | "locationStrategy" | "scrollStrategy" | "activatorProps" | "openOnClick" | "openOnHover" | "openOnFocus" | "closeOnContentClick" | "closeOnBack" | "contained" | "noClickAnimation" | "scrim" | "_disableGlobalStack") | "v-slot:activator">, `$${any}`> & {
1321
+ }> & {} & vue.ComponentCustomProperties & {}, "offset" | "key" | "height" | "width" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "target" | "class" | "theme" | "ref" | "onAfterEnter" | "onAfterLeave" | "$children" | "v-slots" | "v-slot:default" | "ref_for" | "ref_key" | "onVnodeBeforeMount" | "onVnodeMounted" | "onVnodeBeforeUpdate" | "onVnodeUpdated" | "onVnodeBeforeUnmount" | "onVnodeUnmounted" | "onUpdate:modelValue" | "contentClass" | "activator" | "v-slot:activator" | "closeDelay" | "openDelay" | "contentProps" | "attach" | "onClick:outside" | ("absolute" | "location" | "origin" | "transition" | "zIndex" | "style" | "eager" | "disabled" | "persistent" | "modelValue" | "locationStrategy" | "scrollStrategy" | "activatorProps" | "openOnClick" | "openOnHover" | "openOnFocus" | "closeOnContentClick" | "closeOnBack" | "contained" | "noClickAnimation" | "scrim" | "_disableGlobalStack")>, `$${any}`> & {
1322
1322
  _allExposed: {
1323
1323
  activatorEl: vue.Ref<HTMLElement | undefined>;
1324
1324
  scrimEl: vue.Ref<HTMLElement | undefined>;
@@ -1406,9 +1406,9 @@ declare const VDialog: {
1406
1406
  class?: any;
1407
1407
  theme?: string | undefined;
1408
1408
  contentClass?: any;
1409
+ activator?: Element | "parent" | (string & {}) | vue.ComponentPublicInstance | undefined;
1409
1410
  closeDelay?: string | number | undefined;
1410
1411
  openDelay?: string | number | undefined;
1411
- activator?: Element | "parent" | (string & {}) | vue.ComponentPublicInstance | undefined;
1412
1412
  openOnClick?: boolean | undefined;
1413
1413
  openOnFocus?: boolean | undefined;
1414
1414
  contentProps?: any;
@@ -1516,9 +1516,9 @@ declare const VDialog: {
1516
1516
  class?: any;
1517
1517
  theme?: string | undefined;
1518
1518
  contentClass?: any;
1519
+ activator?: Element | "parent" | (string & {}) | vue.ComponentPublicInstance | undefined;
1519
1520
  closeDelay?: string | number | undefined;
1520
1521
  openDelay?: string | number | undefined;
1521
- activator?: Element | "parent" | (string & {}) | vue.ComponentPublicInstance | undefined;
1522
1522
  openOnClick?: boolean | undefined;
1523
1523
  openOnFocus?: boolean | undefined;
1524
1524
  contentProps?: any;
@@ -1595,9 +1595,9 @@ declare const VDialog: {
1595
1595
  class?: any;
1596
1596
  theme?: string | undefined;
1597
1597
  contentClass?: any;
1598
+ activator?: Element | "parent" | (string & {}) | vue.ComponentPublicInstance | undefined;
1598
1599
  closeDelay?: string | number | undefined;
1599
1600
  openDelay?: string | number | undefined;
1600
- activator?: Element | "parent" | (string & {}) | vue.ComponentPublicInstance | undefined;
1601
1601
  openOnClick?: boolean | undefined;
1602
1602
  openOnFocus?: boolean | undefined;
1603
1603
  contentProps?: any;
@@ -1658,7 +1658,7 @@ declare const VDialog: {
1658
1658
  }>;
1659
1659
  $root: vue.ComponentPublicInstance | null;
1660
1660
  $parent: vue.ComponentPublicInstance | null;
1661
- $emit: ((event: "click:outside", e: MouseEvent) => void) & ((event: "update:modelValue", value: boolean) => void) & ((event: "afterEnter") => void) & ((event: "afterLeave") => void);
1661
+ $emit: ((event: "update:modelValue", value: boolean) => void) & ((event: "click:outside", e: MouseEvent) => void) & ((event: "afterEnter") => void) & ((event: "afterLeave") => void);
1662
1662
  $el: any;
1663
1663
  $options: vue.ComponentOptionsBase<{
1664
1664
  absolute: boolean;
@@ -1698,9 +1698,9 @@ declare const VDialog: {
1698
1698
  class?: any;
1699
1699
  theme?: string | undefined;
1700
1700
  contentClass?: any;
1701
+ activator?: Element | "parent" | (string & {}) | vue.ComponentPublicInstance | undefined;
1701
1702
  closeDelay?: string | number | undefined;
1702
1703
  openDelay?: string | number | undefined;
1703
- activator?: Element | "parent" | (string & {}) | vue.ComponentPublicInstance | undefined;
1704
1704
  openOnClick?: boolean | undefined;
1705
1705
  openOnFocus?: boolean | undefined;
1706
1706
  contentProps?: any;
@@ -1850,9 +1850,9 @@ declare const VDialog: {
1850
1850
  class?: any;
1851
1851
  theme?: string | undefined;
1852
1852
  contentClass?: any;
1853
+ activator?: Element | "parent" | (string & {}) | vue.ComponentPublicInstance | undefined;
1853
1854
  closeDelay?: string | number | undefined;
1854
1855
  openDelay?: string | number | undefined;
1855
- activator?: Element | "parent" | (string & {}) | vue.ComponentPublicInstance | undefined;
1856
1856
  openOnClick?: boolean | undefined;
1857
1857
  openOnFocus?: boolean | undefined;
1858
1858
  contentProps?: any;
@@ -1903,7 +1903,7 @@ declare const VDialog: {
1903
1903
  globalTop: Readonly<vue.Ref<boolean>>;
1904
1904
  localTop: vue.ComputedRef<boolean>;
1905
1905
  updateLocation: vue.Ref<((e: Event) => void) | undefined>;
1906
- }> & {} & vue.ComponentCustomProperties & {}, "offset" | "key" | "height" | "width" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "target" | "class" | "theme" | "ref" | "onAfterEnter" | "onAfterLeave" | "$children" | "v-slots" | "v-slot:default" | "ref_for" | "ref_key" | "onVnodeBeforeMount" | "onVnodeMounted" | "onVnodeBeforeUpdate" | "onVnodeUpdated" | "onVnodeBeforeUnmount" | "onVnodeUnmounted" | "onUpdate:modelValue" | "contentClass" | "closeDelay" | "openDelay" | "activator" | "contentProps" | "attach" | "onClick:outside" | ("absolute" | "location" | "origin" | "transition" | "zIndex" | "style" | "eager" | "disabled" | "persistent" | "modelValue" | "locationStrategy" | "scrollStrategy" | "activatorProps" | "openOnClick" | "openOnHover" | "openOnFocus" | "closeOnContentClick" | "closeOnBack" | "contained" | "noClickAnimation" | "scrim" | "_disableGlobalStack") | "v-slot:activator">, `$${any}`> & {
1906
+ }> & {} & vue.ComponentCustomProperties & {}, "offset" | "key" | "height" | "width" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "target" | "class" | "theme" | "ref" | "onAfterEnter" | "onAfterLeave" | "$children" | "v-slots" | "v-slot:default" | "ref_for" | "ref_key" | "onVnodeBeforeMount" | "onVnodeMounted" | "onVnodeBeforeUpdate" | "onVnodeUpdated" | "onVnodeBeforeUnmount" | "onVnodeUnmounted" | "onUpdate:modelValue" | "contentClass" | "activator" | "v-slot:activator" | "closeDelay" | "openDelay" | "contentProps" | "attach" | "onClick:outside" | ("absolute" | "location" | "origin" | "transition" | "zIndex" | "style" | "eager" | "disabled" | "persistent" | "modelValue" | "locationStrategy" | "scrollStrategy" | "activatorProps" | "openOnClick" | "openOnHover" | "openOnFocus" | "closeOnContentClick" | "closeOnBack" | "contained" | "noClickAnimation" | "scrim" | "_disableGlobalStack")>, `$${any}`> & {
1907
1907
  _allExposed: {
1908
1908
  activatorEl: vue.Ref<HTMLElement | undefined>;
1909
1909
  scrimEl: vue.Ref<HTMLElement | undefined>;
@@ -1,10 +1,11 @@
1
1
  @forward '../VInput/variables';
2
+ @use 'sass:map';
2
3
  @use '../../styles/settings';
3
4
  @use '../VInput/variables' as *;
4
5
 
5
6
  // INPUT
6
7
  $field-border-radius: settings.$border-radius-root !default;
7
- $field-rounded-border-radius: map-get(settings.$rounded, 'xl') !default;
8
+ $field-rounded-border-radius: map.get(settings.$rounded, 'xl') !default;
8
9
  $field-color: rgba(var(--v-theme-on-surface), var(--v-medium-emphasis-opacity)) !default;
9
10
  $field-disabled-color: rgba(var(--v-theme-on-surface), var(--v-disabled-opacity)) !default;
10
11
  $field-error-color: rgb(var(--v-theme-error)) !default;
@@ -382,7 +382,7 @@ declare const VFileInput: {
382
382
  errorMessages: vue.ComputedRef<string[]>;
383
383
  }, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Omit<{
384
384
  'update:modelValue': (value: any) => true;
385
- }, "$children" | "v-slots" | "v-slot:default" | "modelValue" | "update:modelValue" | "v-slot:prepend" | "v-slot:append" | "v-slot:message" | "v-slot:details">, string, {
385
+ }, "$children" | "v-slots" | "v-slot:default" | "modelValue" | "v-slot:prepend" | "v-slot:append" | "update:modelValue" | "v-slot:message" | "v-slot:details">, string, {
386
386
  error: boolean;
387
387
  direction: "horizontal" | "vertical";
388
388
  style: vue.StyleValue;
@@ -954,7 +954,7 @@ declare const VFileInput: {
954
954
  errorMessages: vue.ComputedRef<string[]>;
955
955
  }, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Omit<{
956
956
  'update:modelValue': (value: any) => true;
957
- }, "$children" | "v-slots" | "v-slot:default" | "modelValue" | "update:modelValue" | "v-slot:prepend" | "v-slot:append" | "v-slot:message" | "v-slot:details">, string, {
957
+ }, "$children" | "v-slots" | "v-slot:default" | "modelValue" | "v-slot:prepend" | "v-slot:append" | "update:modelValue" | "v-slot:message" | "v-slot:details">, string, {
958
958
  error: boolean;
959
959
  direction: "horizontal" | "vertical";
960
960
  style: vue.StyleValue;
@@ -1361,7 +1361,7 @@ declare const VFileInput: {
1361
1361
  errorMessages: vue.ComputedRef<string[]>;
1362
1362
  }, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Omit<{
1363
1363
  'update:modelValue': (value: any) => true;
1364
- }, "$children" | "v-slots" | "v-slot:default" | "modelValue" | "update:modelValue" | "v-slot:prepend" | "v-slot:append" | "v-slot:message" | "v-slot:details">, string, {
1364
+ }, "$children" | "v-slots" | "v-slot:default" | "modelValue" | "v-slot:prepend" | "v-slot:append" | "update:modelValue" | "v-slot:message" | "v-slot:details">, string, {
1365
1365
  error: boolean;
1366
1366
  direction: "horizontal" | "vertical";
1367
1367
  style: vue.StyleValue;
@@ -129,7 +129,7 @@ declare const VInput: {
129
129
  errorMessages: ComputedRef<string[]>;
130
130
  }, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Omit<{
131
131
  'update:modelValue': (value: any) => true;
132
- }, "$children" | "v-slots" | "v-slot:default" | "modelValue" | "update:modelValue" | "v-slot:prepend" | "v-slot:append" | "v-slot:message" | "v-slot:details">, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & {
132
+ }, "$children" | "v-slots" | "v-slot:default" | "modelValue" | "v-slot:prepend" | "v-slot:append" | "update:modelValue" | "v-slot:message" | "v-slot:details">, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & {
133
133
  error: boolean;
134
134
  direction: "horizontal" | "vertical";
135
135
  style: vue.StyleValue;
@@ -289,7 +289,7 @@ declare const VInput: {
289
289
  errorMessages: ComputedRef<string[]>;
290
290
  }, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Omit<{
291
291
  'update:modelValue': (value: any) => true;
292
- }, "$children" | "v-slots" | "v-slot:default" | "modelValue" | "update:modelValue" | "v-slot:prepend" | "v-slot:append" | "v-slot:message" | "v-slot:details">, string, {
292
+ }, "$children" | "v-slots" | "v-slot:default" | "modelValue" | "v-slot:prepend" | "v-slot:append" | "update:modelValue" | "v-slot:message" | "v-slot:details">, string, {
293
293
  error: boolean;
294
294
  direction: "horizontal" | "vertical";
295
295
  style: vue.StyleValue;
@@ -3,5 +3,5 @@ import "./VKbd.css";
3
3
 
4
4
  // Utilities
5
5
  import { createSimpleFunctional } from "../../util/index.mjs";
6
- export const VKbd = createSimpleFunctional('v-kbd');
6
+ export const VKbd = createSimpleFunctional('v-kbd', 'kbd');
7
7
  //# sourceMappingURL=index.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","names":["createSimpleFunctional","VKbd"],"sources":["../../../src/components/VKbd/index.ts"],"sourcesContent":["// Styles\nimport './VKbd.sass'\n\n// Utilities\nimport { createSimpleFunctional } from '@/util'\n\nexport const VKbd = createSimpleFunctional('v-kbd')\n\nexport type VKbd = InstanceType<typeof VKbd>\n"],"mappings":"AAAA;AACA;;AAEA;AAAA,SACSA,sBAAsB;AAE/B,OAAO,MAAMC,IAAI,GAAGD,sBAAsB,CAAC,OAAO,CAAC","ignoreList":[]}
1
+ {"version":3,"file":"index.mjs","names":["createSimpleFunctional","VKbd"],"sources":["../../../src/components/VKbd/index.ts"],"sourcesContent":["// Styles\nimport './VKbd.sass'\n\n// Utilities\nimport { createSimpleFunctional } from '@/util'\n\nexport const VKbd = createSimpleFunctional('v-kbd', 'kbd')\n\nexport type VKbd = InstanceType<typeof VKbd>\n"],"mappings":"AAAA;AACA;;AAEA;AAAA,SACSA,sBAAsB;AAE/B,OAAO,MAAMC,IAAI,GAAGD,sBAAsB,CAAC,OAAO,EAAE,KAAK,CAAC","ignoreList":[]}
@@ -149,10 +149,8 @@
149
149
  .v-list-item__prepend > .v-tooltip ~ .v-list-item__spacer {
150
150
  width: 32px;
151
151
  }
152
- .v-list-item__prepend > .v-avatar ~ .v-list-item__spacer {
153
- width: 16px;
154
- }
155
- .v-list-item__prepend > .v-list-item-action ~ .v-list-item__spacer {
152
+ .v-list-item__prepend > .v-avatar ~ .v-list-item__spacer,
153
+ .v-list-item__prepend > .v-badge:is(:has(.v-avatar)) ~ .v-list-item__spacer {
156
154
  width: 16px;
157
155
  }
158
156
  .v-list-item--slim .v-list-item__prepend > .v-badge ~ .v-list-item__spacer,
@@ -160,7 +158,8 @@
160
158
  .v-list-item--slim .v-list-item__prepend > .v-tooltip ~ .v-list-item__spacer {
161
159
  width: 20px;
162
160
  }
163
- .v-list-item--slim .v-list-item__prepend > .v-avatar ~ .v-list-item__spacer {
161
+ .v-list-item--slim .v-list-item__prepend > .v-avatar ~ .v-list-item__spacer,
162
+ .v-list-item--slim .v-list-item__prepend > .v-badge:is(:has(.v-avatar)) ~ .v-list-item__spacer {
164
163
  width: 4px;
165
164
  }
166
165
  .v-list-item--slim .v-list-item__prepend > .v-list-item-action ~ .v-list-item__spacer {
@@ -185,7 +184,8 @@
185
184
  .v-list-item__append > .v-tooltip ~ .v-list-item__spacer {
186
185
  width: 32px;
187
186
  }
188
- .v-list-item__append > .v-avatar ~ .v-list-item__spacer {
187
+ .v-list-item__append > .v-avatar ~ .v-list-item__spacer,
188
+ .v-list-item__append > .v-badge:is(:has(.v-avatar)) ~ .v-list-item__spacer {
189
189
  width: 16px;
190
190
  }
191
191
  .v-list-item__append > .v-list-item-action ~ .v-list-item__spacer {
@@ -196,7 +196,8 @@
196
196
  .v-list-item--slim .v-list-item__append > .v-tooltip ~ .v-list-item__spacer {
197
197
  width: 20px;
198
198
  }
199
- .v-list-item--slim .v-list-item__append > .v-avatar ~ .v-list-item__spacer {
199
+ .v-list-item--slim .v-list-item__append > .v-avatar ~ .v-list-item__spacer,
200
+ .v-list-item--slim .v-list-item__append > .v-badge:is(:has(.v-avatar)) ~ .v-list-item__spacer {
200
201
  width: 4px;
201
202
  }
202
203
  .v-list-item--slim .v-list-item__append > .v-list-item-action ~ .v-list-item__spacer {
@@ -191,6 +191,7 @@ export const VListItem = genericComponent()({
191
191
  }, themeClasses.value, borderClasses.value, colorClasses.value, densityClasses.value, elevationClasses.value, lineClasses.value, roundedClasses.value, variantClasses.value, props.class],
192
192
  "style": [colorStyles.value, dimensionStyles.value, props.style],
193
193
  "tabindex": isClickable.value ? list ? -2 : 0 : undefined,
194
+ "aria-selected": root.activatable.value ? isActivated.value : isSelected.value,
194
195
  "onClick": onClick,
195
196
  "onKeydown": isClickable.value && !isLink.value && onKeyDown
196
197
  }, link.linkProps), {