@vuetify/nightly 3.0.0-beta.10 → 3.0.0-beta.13

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 (224) hide show
  1. package/CHANGELOG.md +13 -2
  2. package/dist/json/attributes.json +37 -29
  3. package/dist/json/importMap.json +46 -46
  4. package/dist/json/tags.json +10 -8
  5. package/dist/json/web-types.json +101 -87
  6. package/dist/vuetify.css +545 -441
  7. package/dist/vuetify.d.ts +12095 -10059
  8. package/dist/vuetify.esm.js +401 -266
  9. package/dist/vuetify.esm.js.map +1 -1
  10. package/dist/vuetify.js +371 -236
  11. package/dist/vuetify.js.map +1 -1
  12. package/dist/vuetify.min.css +3 -3
  13. package/dist/vuetify.min.js +496 -490
  14. package/dist/vuetify.min.js.map +1 -1
  15. package/lib/blueprints/index.d.ts +171 -0
  16. package/lib/blueprints/md1.d.ts +167 -0
  17. package/lib/blueprints/md2.d.ts +167 -0
  18. package/lib/blueprints/md3.d.ts +167 -0
  19. package/lib/components/VAlert/index.d.ts +185 -0
  20. package/lib/components/VApp/index.d.ts +83 -0
  21. package/lib/components/VAppBar/VAppBar.css +3 -0
  22. package/lib/components/VAppBar/VAppBar.sass +3 -0
  23. package/lib/components/VAppBar/index.d.ts +156 -0
  24. package/lib/components/VAutocomplete/VAutocomplete.mjs +1 -1
  25. package/lib/components/VAutocomplete/VAutocomplete.mjs.map +1 -1
  26. package/lib/components/VAutocomplete/index.d.ts +1569 -0
  27. package/lib/components/VAvatar/VAvatar.css +44 -2
  28. package/lib/components/VAvatar/VAvatar.mjs +16 -12
  29. package/lib/components/VAvatar/VAvatar.mjs.map +1 -1
  30. package/lib/components/VAvatar/VAvatar.sass +5 -1
  31. package/lib/components/VAvatar/_variables.scss +9 -4
  32. package/lib/components/VAvatar/index.d.ts +80 -0
  33. package/lib/components/VBadge/index.d.ts +123 -0
  34. package/lib/components/VBanner/index.d.ts +122 -0
  35. package/lib/components/VBottomNavigation/index.d.ts +143 -0
  36. package/lib/components/VBreadcrumbs/VBreadcrumbsItem.mjs +2 -2
  37. package/lib/components/VBreadcrumbs/VBreadcrumbsItem.mjs.map +1 -1
  38. package/lib/components/VBreadcrumbs/index.d.ts +301 -0
  39. package/lib/components/VBtn/VBtn.css +8 -3
  40. package/lib/components/VBtn/VBtn.mjs +16 -6
  41. package/lib/components/VBtn/VBtn.mjs.map +1 -1
  42. package/lib/components/VBtn/index.d.ts +210 -0
  43. package/lib/components/VBtnGroup/index.d.ts +65 -0
  44. package/lib/components/VBtnToggle/VBtnToggle.mjs +1 -3
  45. package/lib/components/VBtnToggle/VBtnToggle.mjs.map +1 -1
  46. package/lib/components/VBtnToggle/index.d.ts +175 -0
  47. package/lib/components/VCard/VCard.css +8 -3
  48. package/lib/components/VCard/index.d.ts +230 -0
  49. package/lib/components/VCarousel/VCarousel.mjs +3 -3
  50. package/lib/components/VCarousel/VCarousel.mjs.map +1 -1
  51. package/lib/components/VCarousel/index.d.ts +80 -0
  52. package/lib/components/VCheckbox/index.d.ts +291 -0
  53. package/lib/components/VChip/index.d.ts +195 -0
  54. package/lib/components/VChipGroup/index.d.ts +89 -0
  55. package/lib/components/VCode/index.d.ts +19 -0
  56. package/lib/components/VColorPicker/index.d.ts +116 -0
  57. package/lib/components/VCombobox/VCombobox.mjs +1 -1
  58. package/lib/components/VCombobox/VCombobox.mjs.map +1 -1
  59. package/lib/components/VCombobox/index.d.ts +1590 -0
  60. package/lib/components/VCounter/index.d.ts +223 -0
  61. package/lib/components/VDefaultsProvider/index.d.ts +26 -0
  62. package/lib/components/VDialog/VDialog.css +2 -0
  63. package/lib/components/VDialog/VDialog.mjs +17 -12
  64. package/lib/components/VDialog/VDialog.mjs.map +1 -1
  65. package/lib/components/VDialog/VDialog.sass +2 -0
  66. package/lib/components/VDialog/index.d.ts +859 -0
  67. package/lib/components/VDivider/index.d.ts +22 -0
  68. package/lib/components/VExpansionPanel/VExpansionPanel.css +8 -3
  69. package/lib/components/VExpansionPanel/index.d.ts +206 -0
  70. package/lib/components/VField/VField.css +27 -24
  71. package/lib/components/VField/VField.mjs +1 -1
  72. package/lib/components/VField/VField.mjs.map +1 -1
  73. package/lib/components/VField/VField.sass +23 -21
  74. package/lib/components/VField/index.d.ts +332 -0
  75. package/lib/components/VFileInput/VFileInput.mjs +3 -3
  76. package/lib/components/VFileInput/VFileInput.mjs.map +1 -1
  77. package/lib/components/VFileInput/index.d.ts +236 -0
  78. package/lib/components/VFooter/VFooter.css +7 -0
  79. package/lib/components/VFooter/VFooter.sass +1 -1
  80. package/lib/components/VFooter/_variables.scss +11 -0
  81. package/lib/components/VFooter/index.d.ts +76 -0
  82. package/lib/components/VForm/index.d.ts +72 -0
  83. package/lib/components/VGrid/index.d.ts +154 -0
  84. package/lib/components/VHover/index.d.ts +30 -0
  85. package/lib/components/VIcon/index.d.ts +124 -0
  86. package/lib/components/VImg/VImg.mjs +29 -27
  87. package/lib/components/VImg/VImg.mjs.map +1 -1
  88. package/lib/components/VImg/index.d.ts +89 -0
  89. package/lib/components/VInput/VInput.mjs +4 -4
  90. package/lib/components/VInput/VInput.mjs.map +1 -1
  91. package/lib/components/VInput/index.d.ts +325 -0
  92. package/lib/components/VItemGroup/index.d.ts +210 -0
  93. package/lib/components/VKbd/index.d.ts +19 -0
  94. package/lib/components/VLabel/VLabel.css +4 -1
  95. package/lib/components/VLabel/VLabel.mjs +4 -1
  96. package/lib/components/VLabel/VLabel.mjs.map +1 -1
  97. package/lib/components/VLabel/VLabel.sass +3 -1
  98. package/lib/components/VLabel/index.d.ts +16 -0
  99. package/lib/components/VLayout/index.d.ts +75 -0
  100. package/lib/components/VLazy/index.d.ts +85 -0
  101. package/lib/components/VList/VListItem.css +8 -3
  102. package/lib/components/VList/VListItem.mjs +4 -4
  103. package/lib/components/VList/VListItem.mjs.map +1 -1
  104. package/lib/components/VList/index.d.ts +1250 -0
  105. package/lib/components/VLocaleProvider/index.d.ts +23 -0
  106. package/lib/components/VMain/index.d.ts +26 -0
  107. package/lib/components/VMenu/VMenu.mjs +16 -3
  108. package/lib/components/VMenu/VMenu.mjs.map +1 -1
  109. package/lib/components/VMenu/index.d.ts +817 -0
  110. package/lib/components/VMessages/index.d.ts +234 -0
  111. package/lib/components/VNavigationDrawer/index.d.ts +148 -0
  112. package/lib/components/VNoSsr/index.d.ts +7 -0
  113. package/lib/components/VOverlay/VOverlay.mjs +4 -3
  114. package/lib/components/VOverlay/VOverlay.mjs.map +1 -1
  115. package/lib/components/VOverlay/index.d.ts +579 -0
  116. package/lib/components/VOverlay/useActivator.mjs +27 -1
  117. package/lib/components/VOverlay/useActivator.mjs.map +1 -1
  118. package/lib/components/VPagination/VPagination.mjs +6 -3
  119. package/lib/components/VPagination/VPagination.mjs.map +1 -1
  120. package/lib/components/VPagination/index.d.ts +247 -0
  121. package/lib/components/VParallax/VParallax.mjs +24 -10
  122. package/lib/components/VParallax/VParallax.mjs.map +1 -1
  123. package/lib/components/VParallax/index.d.ts +18 -0
  124. package/lib/components/VProgressCircular/index.d.ts +68 -0
  125. package/lib/components/VProgressLinear/index.d.ts +101 -0
  126. package/lib/components/VRadio/index.d.ts +103 -0
  127. package/lib/components/VRadioGroup/VRadioGroup.css +2 -3
  128. package/lib/components/VRadioGroup/VRadioGroup.mjs +2 -1
  129. package/lib/components/VRadioGroup/VRadioGroup.mjs.map +1 -1
  130. package/lib/components/VRadioGroup/VRadioGroup.sass +2 -2
  131. package/lib/components/VRadioGroup/_variables.scss +0 -1
  132. package/lib/components/VRadioGroup/index.d.ts +186 -0
  133. package/lib/components/VRangeSlider/VRangeSlider.mjs +12 -2
  134. package/lib/components/VRangeSlider/VRangeSlider.mjs.map +1 -1
  135. package/lib/components/VRangeSlider/index.d.ts +242 -0
  136. package/lib/components/VRating/index.d.ts +356 -0
  137. package/lib/components/VResponsive/index.d.ts +23 -0
  138. package/lib/components/VSelect/VSelect.mjs +1 -1
  139. package/lib/components/VSelect/VSelect.mjs.map +1 -1
  140. package/lib/components/VSelect/index.d.ts +1521 -0
  141. package/lib/components/VSelectionControl/VSelectionControl.mjs +2 -1
  142. package/lib/components/VSelectionControl/VSelectionControl.mjs.map +1 -1
  143. package/lib/components/VSelectionControl/index.d.ts +275 -0
  144. package/lib/components/VSelectionControlGroup/VSelectionControlGroup.css +5 -0
  145. package/lib/components/VSelectionControlGroup/VSelectionControlGroup.mjs +3 -1
  146. package/lib/components/VSelectionControlGroup/VSelectionControlGroup.mjs.map +1 -1
  147. package/lib/components/VSelectionControlGroup/VSelectionControlGroup.sass +5 -0
  148. package/lib/components/VSelectionControlGroup/index.d.ts +47 -0
  149. package/lib/components/VSheet/index.d.ts +68 -0
  150. package/lib/components/VSlideGroup/index.d.ts +151 -0
  151. package/lib/components/VSlider/VSlider.css +7 -2
  152. package/lib/components/VSlider/VSlider.mjs +14 -4
  153. package/lib/components/VSlider/VSlider.mjs.map +1 -1
  154. package/lib/components/VSlider/VSlider.sass +6 -2
  155. package/lib/components/VSlider/VSliderTrack.css +20 -20
  156. package/lib/components/VSlider/VSliderTrack.mjs +7 -3
  157. package/lib/components/VSlider/VSliderTrack.mjs.map +1 -1
  158. package/lib/components/VSlider/VSliderTrack.sass +14 -14
  159. package/lib/components/VSlider/_variables.scss +2 -2
  160. package/lib/components/VSlider/index.d.ts +239 -0
  161. package/lib/components/VSlider/slider.mjs +2 -2
  162. package/lib/components/VSlider/slider.mjs.map +1 -1
  163. package/lib/components/VSnackbar/VSnackbar.mjs +3 -2
  164. package/lib/components/VSnackbar/VSnackbar.mjs.map +1 -1
  165. package/lib/components/VSnackbar/index.d.ts +892 -0
  166. package/lib/components/VSwitch/index.d.ts +175 -0
  167. package/lib/components/VSystemBar/index.d.ts +61 -0
  168. package/lib/components/VTable/index.d.ts +39 -0
  169. package/lib/components/VTabs/VTab.mjs +1 -0
  170. package/lib/components/VTabs/VTab.mjs.map +1 -1
  171. package/lib/components/VTabs/index.d.ts +178 -0
  172. package/lib/components/VTextField/VTextField.css +2 -3
  173. package/lib/components/VTextField/VTextField.sass +2 -4
  174. package/lib/components/VTextField/index.d.ts +582 -0
  175. package/lib/components/VTextarea/VTextarea.css +5 -3
  176. package/lib/components/VTextarea/VTextarea.mjs +2 -1
  177. package/lib/components/VTextarea/VTextarea.mjs.map +1 -1
  178. package/lib/components/VTextarea/VTextarea.sass +5 -4
  179. package/lib/components/VTextarea/index.d.ts +218 -0
  180. package/lib/components/VThemeProvider/index.d.ts +24 -0
  181. package/lib/components/VTimeline/VTimeline.css +21 -6
  182. package/lib/components/VTimeline/VTimeline.mjs +6 -1
  183. package/lib/components/VTimeline/VTimeline.mjs.map +1 -1
  184. package/lib/components/VTimeline/VTimeline.sass +16 -2
  185. package/lib/components/VTimeline/_variables.scss +4 -3
  186. package/lib/components/VTimeline/index.d.ts +154 -0
  187. package/lib/components/VToolbar/VToolbar.css +0 -1
  188. package/lib/components/VToolbar/VToolbar.sass +0 -1
  189. package/lib/components/VToolbar/index.d.ts +414 -0
  190. package/lib/components/VTooltip/VTooltip.mjs.map +1 -1
  191. package/lib/components/VTooltip/index.d.ts +799 -0
  192. package/lib/components/VValidation/index.d.ts +61 -0
  193. package/lib/components/VWindow/index.d.ts +428 -0
  194. package/lib/components/index.d.ts +12037 -10009
  195. package/lib/components/transitions/index.d.ts +454 -0
  196. package/lib/composables/display.mjs +3 -3
  197. package/lib/composables/display.mjs.map +1 -1
  198. package/lib/composables/items.mjs.map +1 -1
  199. package/lib/composables/locale.mjs +10 -3
  200. package/lib/composables/locale.mjs.map +1 -1
  201. package/lib/composables/proxiedModel.mjs +28 -10
  202. package/lib/composables/proxiedModel.mjs.map +1 -1
  203. package/lib/composables/router.mjs +10 -2
  204. package/lib/composables/router.mjs.map +1 -1
  205. package/lib/composables/selectLink.mjs +4 -4
  206. package/lib/composables/selectLink.mjs.map +1 -1
  207. package/lib/composables/theme.mjs +37 -33
  208. package/lib/composables/theme.mjs.map +1 -1
  209. package/lib/composables/validation.mjs +1 -1
  210. package/lib/composables/validation.mjs.map +1 -1
  211. package/lib/entry-bundler.mjs +1 -1
  212. package/lib/framework.mjs +46 -51
  213. package/lib/framework.mjs.map +1 -1
  214. package/lib/index.d.ts +31 -22
  215. package/lib/locale/adapters/vue-i18n.d.ts +35 -0
  216. package/lib/locale/adapters/vue-intl.d.ts +42 -0
  217. package/lib/styles/main.css +73 -73
  218. package/lib/styles/settings/_colors.scss +84 -84
  219. package/lib/styles/tools/_states.sass +8 -3
  220. package/lib/util/getCurrentInstance.mjs +2 -3
  221. package/lib/util/getCurrentInstance.mjs.map +1 -1
  222. package/lib/util/helpers.mjs +6 -11
  223. package/lib/util/helpers.mjs.map +1 -1
  224. package/package.json +4 -2
@@ -0,0 +1,582 @@
1
+ import * as vue from 'vue';
2
+ import { VNodeChild, PropType, JSXComponent, ComputedRef, Ref, nextTick } from 'vue';
3
+
4
+ declare type SlotsToProps<T extends Record<string, Slot>> = {
5
+ $children: () => (T['default'] | VNodeChild | {
6
+ [K in keyof T]?: T[K];
7
+ });
8
+ 'v-slots': new () => {
9
+ [K in keyof T]?: T[K] | false;
10
+ };
11
+ };
12
+ declare type Slot<T extends any[] = any[]> = (...args: T) => VNodeChild;
13
+ declare type MakeSlots<T extends Record<string, any[]>> = {
14
+ [K in keyof T]?: Slot<T[K]>;
15
+ };
16
+
17
+ declare type EventProp<T = (...args: any[]) => any> = T | T[];
18
+ declare const EventProp: PropType<EventProp<(...args: any[]) => any>>;
19
+
20
+ interface LoaderSlotProps {
21
+ color: string | undefined;
22
+ isActive: boolean;
23
+ }
24
+
25
+ declare type IconValue = string | JSXComponent;
26
+ declare const IconValue: PropType<IconValue>;
27
+
28
+ declare type ValidationResult = string | boolean;
29
+ declare type ValidationRule = ValidationResult | PromiseLike<ValidationResult> | ((value: any) => ValidationResult) | ((value: any) => PromiseLike<ValidationResult>);
30
+
31
+ interface VInputSlot {
32
+ id: ComputedRef<string>;
33
+ isDirty: ComputedRef<boolean>;
34
+ isDisabled: ComputedRef<boolean>;
35
+ isReadonly: ComputedRef<boolean>;
36
+ isPristine: Ref<boolean>;
37
+ isValid: ComputedRef<boolean | null>;
38
+ isValidating: Ref<boolean>;
39
+ reset: () => void;
40
+ resetValidation: () => void;
41
+ validate: () => void;
42
+ }
43
+ declare type VInputSlots = MakeSlots<{
44
+ default: [VInputSlot];
45
+ prepend: [VInputSlot];
46
+ append: [VInputSlot];
47
+ details: [VInputSlot];
48
+ }>;
49
+
50
+ interface DefaultInputSlot {
51
+ isActive: Ref<boolean>;
52
+ isFocused: Ref<boolean>;
53
+ controlRef: Ref<HTMLElement | undefined>;
54
+ focus: () => void;
55
+ blur: () => void;
56
+ }
57
+ interface VFieldSlot extends DefaultInputSlot {
58
+ props: Record<string, unknown>;
59
+ }
60
+ declare type VFieldSlots = MakeSlots<{
61
+ clear: [];
62
+ 'prepend-inner': [DefaultInputSlot & VInputSlot];
63
+ 'append-inner': [DefaultInputSlot & VInputSlot];
64
+ label: [DefaultInputSlot & VInputSlot];
65
+ loader: [LoaderSlotProps];
66
+ default: [VFieldSlot];
67
+ }>;
68
+
69
+ declare const VTextField: {
70
+ new (...args: any[]): {
71
+ $: vue.ComponentInternalInstance;
72
+ $data: {};
73
+ $props: Partial<{
74
+ reverse: boolean;
75
+ type: string;
76
+ error: boolean;
77
+ active: boolean;
78
+ direction: "horizontal" | "vertical";
79
+ loading: boolean;
80
+ autofocus: boolean;
81
+ disabled: boolean;
82
+ readonly: boolean;
83
+ messages: string | string[];
84
+ density: "default" | "compact" | "comfortable" | null;
85
+ variant: "filled" | "outlined" | "plain" | "underlined" | "solo";
86
+ errorMessages: string | string[];
87
+ maxErrors: string | number;
88
+ rules: ValidationRule[];
89
+ clearIcon: IconValue;
90
+ clearable: boolean;
91
+ dirty: boolean;
92
+ persistentClear: boolean;
93
+ singleLine: boolean;
94
+ persistentHint: boolean;
95
+ persistentPlaceholder: boolean;
96
+ persistentCounter: boolean;
97
+ }> & Omit<Readonly<vue.ExtractPropTypes<{
98
+ loading: BooleanConstructor;
99
+ theme: StringConstructor;
100
+ appendInnerIcon: PropType<IconValue>;
101
+ bgColor: StringConstructor;
102
+ clearable: BooleanConstructor;
103
+ clearIcon: {
104
+ type: PropType<IconValue>;
105
+ default: string;
106
+ };
107
+ active: BooleanConstructor;
108
+ color: StringConstructor;
109
+ dirty: BooleanConstructor;
110
+ disabled: BooleanConstructor;
111
+ error: BooleanConstructor;
112
+ label: StringConstructor;
113
+ persistentClear: BooleanConstructor;
114
+ prependInnerIcon: PropType<IconValue>;
115
+ reverse: BooleanConstructor;
116
+ singleLine: BooleanConstructor;
117
+ variant: {
118
+ type: PropType<"filled" | "outlined" | "plain" | "underlined" | "solo">;
119
+ default: string;
120
+ validator: (v: any) => boolean;
121
+ };
122
+ 'onClick:clear': PropType<EventProp<(...args: any[]) => any>>;
123
+ 'onClick:appendInner': PropType<EventProp<(...args: any[]) => any>>;
124
+ 'onClick:prependInner': PropType<EventProp<(...args: any[]) => any>>;
125
+ errorMessages: {
126
+ type: PropType<string | string[]>;
127
+ default: () => never[];
128
+ };
129
+ maxErrors: {
130
+ type: (StringConstructor | NumberConstructor)[];
131
+ default: number;
132
+ };
133
+ name: StringConstructor;
134
+ readonly: BooleanConstructor;
135
+ rules: {
136
+ type: PropType<ValidationRule[]>;
137
+ default: () => never[];
138
+ };
139
+ modelValue: null;
140
+ validationValue: null;
141
+ density: {
142
+ type: PropType<"default" | "compact" | "comfortable" | null>;
143
+ default: string;
144
+ validator: (v: any) => boolean;
145
+ };
146
+ id: StringConstructor;
147
+ appendIcon: PropType<IconValue>;
148
+ prependIcon: PropType<IconValue>;
149
+ hideDetails: PropType<boolean | "auto">;
150
+ messages: {
151
+ type: PropType<string | string[]>;
152
+ default: () => never[];
153
+ };
154
+ direction: {
155
+ type: PropType<"horizontal" | "vertical">;
156
+ default: string;
157
+ validator: (v: any) => boolean;
158
+ };
159
+ 'onClick:prepend': PropType<EventProp<(...args: any[]) => any>>;
160
+ 'onClick:append': PropType<EventProp<(...args: any[]) => any>>;
161
+ autofocus: BooleanConstructor;
162
+ counter: PropType<string | number | true>;
163
+ counterValue: PropType<(value: any) => number>;
164
+ hint: StringConstructor;
165
+ persistentHint: BooleanConstructor;
166
+ prefix: StringConstructor;
167
+ placeholder: StringConstructor;
168
+ persistentPlaceholder: BooleanConstructor;
169
+ persistentCounter: BooleanConstructor;
170
+ suffix: StringConstructor;
171
+ type: {
172
+ type: StringConstructor;
173
+ default: string;
174
+ };
175
+ } & SlotsToProps<Omit<MakeSlots<{
176
+ default: [VInputSlot];
177
+ prepend: [VInputSlot];
178
+ append: [VInputSlot];
179
+ details: [VInputSlot];
180
+ }> & MakeSlots<{
181
+ clear: [];
182
+ 'prepend-inner': [DefaultInputSlot & VInputSlot];
183
+ 'append-inner': [DefaultInputSlot & VInputSlot];
184
+ label: [DefaultInputSlot & VInputSlot];
185
+ loader: [LoaderSlotProps];
186
+ default: [VFieldSlot];
187
+ }>, "default"> & MakeSlots<{
188
+ default: [];
189
+ }>>>> & {
190
+ "onUpdate:modelValue"?: ((val: string) => any) | undefined;
191
+ "onClick:control"?: ((e: MouseEvent) => any) | undefined;
192
+ "onClick:input"?: ((e: MouseEvent) => any) | undefined;
193
+ } & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, "reverse" | "type" | "error" | "active" | "direction" | "loading" | "autofocus" | "disabled" | "readonly" | "messages" | "density" | "variant" | "errorMessages" | "maxErrors" | "rules" | "clearIcon" | "clearable" | "dirty" | "persistentClear" | "singleLine" | "persistentHint" | "persistentPlaceholder" | "persistentCounter">;
194
+ $attrs: {
195
+ [x: string]: unknown;
196
+ };
197
+ $refs: {
198
+ [x: string]: unknown;
199
+ };
200
+ $slots: Readonly<{
201
+ [name: string]: vue.Slot | undefined;
202
+ }>;
203
+ $root: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
204
+ $parent: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
205
+ $emit: ((event: "update:modelValue", val: string) => void) & ((event: "click:control", e: MouseEvent) => void) & ((event: "click:input", e: MouseEvent) => void);
206
+ $el: any;
207
+ $options: vue.ComponentOptionsBase<Readonly<vue.ExtractPropTypes<{
208
+ loading: BooleanConstructor;
209
+ theme: StringConstructor;
210
+ appendInnerIcon: PropType<IconValue>;
211
+ bgColor: StringConstructor;
212
+ clearable: BooleanConstructor;
213
+ clearIcon: {
214
+ type: PropType<IconValue>;
215
+ default: string;
216
+ };
217
+ active: BooleanConstructor;
218
+ color: StringConstructor;
219
+ dirty: BooleanConstructor;
220
+ disabled: BooleanConstructor;
221
+ error: BooleanConstructor;
222
+ label: StringConstructor;
223
+ persistentClear: BooleanConstructor;
224
+ prependInnerIcon: PropType<IconValue>;
225
+ reverse: BooleanConstructor;
226
+ singleLine: BooleanConstructor;
227
+ variant: {
228
+ type: PropType<"filled" | "outlined" | "plain" | "underlined" | "solo">;
229
+ default: string;
230
+ validator: (v: any) => boolean;
231
+ };
232
+ 'onClick:clear': PropType<EventProp<(...args: any[]) => any>>;
233
+ 'onClick:appendInner': PropType<EventProp<(...args: any[]) => any>>;
234
+ 'onClick:prependInner': PropType<EventProp<(...args: any[]) => any>>;
235
+ errorMessages: {
236
+ type: PropType<string | string[]>;
237
+ default: () => never[];
238
+ };
239
+ maxErrors: {
240
+ type: (StringConstructor | NumberConstructor)[];
241
+ default: number;
242
+ };
243
+ name: StringConstructor;
244
+ readonly: BooleanConstructor;
245
+ rules: {
246
+ type: PropType<ValidationRule[]>;
247
+ default: () => never[];
248
+ };
249
+ modelValue: null;
250
+ validationValue: null;
251
+ density: {
252
+ type: PropType<"default" | "compact" | "comfortable" | null>;
253
+ default: string;
254
+ validator: (v: any) => boolean;
255
+ };
256
+ id: StringConstructor;
257
+ appendIcon: PropType<IconValue>;
258
+ prependIcon: PropType<IconValue>;
259
+ hideDetails: PropType<boolean | "auto">;
260
+ messages: {
261
+ type: PropType<string | string[]>;
262
+ default: () => never[];
263
+ };
264
+ direction: {
265
+ type: PropType<"horizontal" | "vertical">;
266
+ default: string;
267
+ validator: (v: any) => boolean;
268
+ };
269
+ 'onClick:prepend': PropType<EventProp<(...args: any[]) => any>>;
270
+ 'onClick:append': PropType<EventProp<(...args: any[]) => any>>;
271
+ autofocus: BooleanConstructor;
272
+ counter: PropType<string | number | true>;
273
+ counterValue: PropType<(value: any) => number>;
274
+ hint: StringConstructor;
275
+ persistentHint: BooleanConstructor;
276
+ prefix: StringConstructor;
277
+ placeholder: StringConstructor;
278
+ persistentPlaceholder: BooleanConstructor;
279
+ persistentCounter: BooleanConstructor;
280
+ suffix: StringConstructor;
281
+ type: {
282
+ type: StringConstructor;
283
+ default: string;
284
+ };
285
+ } & SlotsToProps<Omit<MakeSlots<{
286
+ default: [VInputSlot];
287
+ prepend: [VInputSlot];
288
+ append: [VInputSlot];
289
+ details: [VInputSlot];
290
+ }> & MakeSlots<{
291
+ clear: [];
292
+ 'prepend-inner': [DefaultInputSlot & VInputSlot];
293
+ 'append-inner': [DefaultInputSlot & VInputSlot];
294
+ label: [DefaultInputSlot & VInputSlot];
295
+ loader: [LoaderSlotProps];
296
+ default: [VFieldSlot];
297
+ }>, "default"> & MakeSlots<{
298
+ default: [];
299
+ }>>>> & {
300
+ "onUpdate:modelValue"?: ((val: string) => any) | undefined;
301
+ "onClick:control"?: ((e: MouseEvent) => any) | undefined;
302
+ "onClick:input"?: ((e: MouseEvent) => any) | undefined;
303
+ }, {}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
304
+ 'click:control': (e: MouseEvent) => boolean;
305
+ 'click:input': (e: MouseEvent) => boolean;
306
+ 'update:modelValue': (val: string) => boolean;
307
+ }, string, {
308
+ reverse: boolean;
309
+ type: string;
310
+ error: boolean;
311
+ active: boolean;
312
+ direction: "horizontal" | "vertical";
313
+ loading: boolean;
314
+ autofocus: boolean;
315
+ disabled: boolean;
316
+ readonly: boolean;
317
+ messages: string | string[];
318
+ density: "default" | "compact" | "comfortable" | null;
319
+ variant: "filled" | "outlined" | "plain" | "underlined" | "solo";
320
+ errorMessages: string | string[];
321
+ maxErrors: string | number;
322
+ rules: ValidationRule[];
323
+ clearIcon: IconValue;
324
+ clearable: boolean;
325
+ dirty: boolean;
326
+ persistentClear: boolean;
327
+ singleLine: boolean;
328
+ persistentHint: boolean;
329
+ persistentPlaceholder: boolean;
330
+ persistentCounter: boolean;
331
+ }> & {
332
+ beforeCreate?: ((() => void) | (() => void)[]) | undefined;
333
+ created?: ((() => void) | (() => void)[]) | undefined;
334
+ beforeMount?: ((() => void) | (() => void)[]) | undefined;
335
+ mounted?: ((() => void) | (() => void)[]) | undefined;
336
+ beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
337
+ updated?: ((() => void) | (() => void)[]) | undefined;
338
+ activated?: ((() => void) | (() => void)[]) | undefined;
339
+ deactivated?: ((() => void) | (() => void)[]) | undefined;
340
+ beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
341
+ beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
342
+ destroyed?: ((() => void) | (() => void)[]) | undefined;
343
+ unmounted?: ((() => void) | (() => void)[]) | undefined;
344
+ renderTracked?: (((e: vue.DebuggerEvent) => void) | ((e: vue.DebuggerEvent) => void)[]) | undefined;
345
+ renderTriggered?: (((e: vue.DebuggerEvent) => void) | ((e: vue.DebuggerEvent) => void)[]) | undefined;
346
+ errorCaptured?: (((err: unknown, instance: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void) | ((err: unknown, instance: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void)[]) | undefined;
347
+ };
348
+ $forceUpdate: () => void;
349
+ $nextTick: typeof nextTick;
350
+ $watch(source: string | Function, cb: Function, options?: vue.WatchOptions<boolean> | undefined): vue.WatchStopHandle;
351
+ } & Readonly<vue.ExtractPropTypes<{
352
+ loading: BooleanConstructor;
353
+ theme: StringConstructor;
354
+ appendInnerIcon: PropType<IconValue>;
355
+ bgColor: StringConstructor;
356
+ clearable: BooleanConstructor;
357
+ clearIcon: {
358
+ type: PropType<IconValue>;
359
+ default: string;
360
+ };
361
+ active: BooleanConstructor;
362
+ color: StringConstructor;
363
+ dirty: BooleanConstructor;
364
+ disabled: BooleanConstructor;
365
+ error: BooleanConstructor;
366
+ label: StringConstructor;
367
+ persistentClear: BooleanConstructor;
368
+ prependInnerIcon: PropType<IconValue>;
369
+ reverse: BooleanConstructor;
370
+ singleLine: BooleanConstructor;
371
+ variant: {
372
+ type: PropType<"filled" | "outlined" | "plain" | "underlined" | "solo">;
373
+ default: string;
374
+ validator: (v: any) => boolean;
375
+ };
376
+ 'onClick:clear': PropType<EventProp<(...args: any[]) => any>>;
377
+ 'onClick:appendInner': PropType<EventProp<(...args: any[]) => any>>;
378
+ 'onClick:prependInner': PropType<EventProp<(...args: any[]) => any>>;
379
+ errorMessages: {
380
+ type: PropType<string | string[]>;
381
+ default: () => never[];
382
+ };
383
+ maxErrors: {
384
+ type: (StringConstructor | NumberConstructor)[];
385
+ default: number;
386
+ };
387
+ name: StringConstructor;
388
+ readonly: BooleanConstructor;
389
+ rules: {
390
+ type: PropType<ValidationRule[]>;
391
+ default: () => never[];
392
+ };
393
+ modelValue: null;
394
+ validationValue: null;
395
+ density: {
396
+ type: PropType<"default" | "compact" | "comfortable" | null>;
397
+ default: string;
398
+ validator: (v: any) => boolean;
399
+ };
400
+ id: StringConstructor;
401
+ appendIcon: PropType<IconValue>;
402
+ prependIcon: PropType<IconValue>;
403
+ hideDetails: PropType<boolean | "auto">;
404
+ messages: {
405
+ type: PropType<string | string[]>;
406
+ default: () => never[];
407
+ };
408
+ direction: {
409
+ type: PropType<"horizontal" | "vertical">;
410
+ default: string;
411
+ validator: (v: any) => boolean;
412
+ };
413
+ 'onClick:prepend': PropType<EventProp<(...args: any[]) => any>>;
414
+ 'onClick:append': PropType<EventProp<(...args: any[]) => any>>;
415
+ autofocus: BooleanConstructor;
416
+ counter: PropType<string | number | true>;
417
+ counterValue: PropType<(value: any) => number>;
418
+ hint: StringConstructor;
419
+ persistentHint: BooleanConstructor;
420
+ prefix: StringConstructor;
421
+ placeholder: StringConstructor;
422
+ persistentPlaceholder: BooleanConstructor;
423
+ persistentCounter: BooleanConstructor;
424
+ suffix: StringConstructor;
425
+ type: {
426
+ type: StringConstructor;
427
+ default: string;
428
+ };
429
+ } & SlotsToProps<Omit<MakeSlots<{
430
+ default: [VInputSlot];
431
+ prepend: [VInputSlot];
432
+ append: [VInputSlot];
433
+ details: [VInputSlot];
434
+ }> & MakeSlots<{
435
+ clear: [];
436
+ 'prepend-inner': [DefaultInputSlot & VInputSlot];
437
+ 'append-inner': [DefaultInputSlot & VInputSlot];
438
+ label: [DefaultInputSlot & VInputSlot];
439
+ loader: [LoaderSlotProps];
440
+ default: [VFieldSlot];
441
+ }>, "default"> & MakeSlots<{
442
+ default: [];
443
+ }>>>> & {
444
+ "onUpdate:modelValue"?: ((val: string) => any) | undefined;
445
+ "onClick:control"?: ((e: MouseEvent) => any) | undefined;
446
+ "onClick:input"?: ((e: MouseEvent) => any) | undefined;
447
+ } & vue.ShallowUnwrapRef<{}> & {} & vue.ComponentCustomProperties;
448
+ __isFragment?: undefined;
449
+ __isTeleport?: undefined;
450
+ __isSuspense?: undefined;
451
+ } & vue.ComponentOptionsBase<Readonly<vue.ExtractPropTypes<{
452
+ loading: BooleanConstructor;
453
+ theme: StringConstructor;
454
+ appendInnerIcon: PropType<IconValue>;
455
+ bgColor: StringConstructor;
456
+ clearable: BooleanConstructor;
457
+ clearIcon: {
458
+ type: PropType<IconValue>;
459
+ default: string;
460
+ };
461
+ active: BooleanConstructor;
462
+ color: StringConstructor;
463
+ dirty: BooleanConstructor;
464
+ disabled: BooleanConstructor;
465
+ error: BooleanConstructor;
466
+ label: StringConstructor;
467
+ persistentClear: BooleanConstructor;
468
+ prependInnerIcon: PropType<IconValue>;
469
+ reverse: BooleanConstructor;
470
+ singleLine: BooleanConstructor;
471
+ variant: {
472
+ type: PropType<"filled" | "outlined" | "plain" | "underlined" | "solo">;
473
+ default: string;
474
+ validator: (v: any) => boolean;
475
+ };
476
+ 'onClick:clear': PropType<EventProp<(...args: any[]) => any>>;
477
+ 'onClick:appendInner': PropType<EventProp<(...args: any[]) => any>>;
478
+ 'onClick:prependInner': PropType<EventProp<(...args: any[]) => any>>;
479
+ errorMessages: {
480
+ type: PropType<string | string[]>;
481
+ default: () => never[];
482
+ };
483
+ maxErrors: {
484
+ type: (StringConstructor | NumberConstructor)[];
485
+ default: number;
486
+ };
487
+ name: StringConstructor;
488
+ readonly: BooleanConstructor;
489
+ rules: {
490
+ type: PropType<ValidationRule[]>;
491
+ default: () => never[];
492
+ };
493
+ modelValue: null;
494
+ validationValue: null;
495
+ density: {
496
+ type: PropType<"default" | "compact" | "comfortable" | null>;
497
+ default: string;
498
+ validator: (v: any) => boolean;
499
+ };
500
+ id: StringConstructor;
501
+ appendIcon: PropType<IconValue>;
502
+ prependIcon: PropType<IconValue>;
503
+ hideDetails: PropType<boolean | "auto">;
504
+ messages: {
505
+ type: PropType<string | string[]>;
506
+ default: () => never[];
507
+ };
508
+ direction: {
509
+ type: PropType<"horizontal" | "vertical">;
510
+ default: string;
511
+ validator: (v: any) => boolean;
512
+ };
513
+ 'onClick:prepend': PropType<EventProp<(...args: any[]) => any>>;
514
+ 'onClick:append': PropType<EventProp<(...args: any[]) => any>>;
515
+ autofocus: BooleanConstructor;
516
+ counter: PropType<string | number | true>;
517
+ counterValue: PropType<(value: any) => number>;
518
+ hint: StringConstructor;
519
+ persistentHint: BooleanConstructor;
520
+ prefix: StringConstructor;
521
+ placeholder: StringConstructor;
522
+ persistentPlaceholder: BooleanConstructor;
523
+ persistentCounter: BooleanConstructor;
524
+ suffix: StringConstructor;
525
+ type: {
526
+ type: StringConstructor;
527
+ default: string;
528
+ };
529
+ } & SlotsToProps<Omit<MakeSlots<{
530
+ default: [VInputSlot];
531
+ prepend: [VInputSlot];
532
+ append: [VInputSlot];
533
+ details: [VInputSlot];
534
+ }> & MakeSlots<{
535
+ clear: [];
536
+ 'prepend-inner': [DefaultInputSlot & VInputSlot];
537
+ 'append-inner': [DefaultInputSlot & VInputSlot];
538
+ label: [DefaultInputSlot & VInputSlot];
539
+ loader: [LoaderSlotProps];
540
+ default: [VFieldSlot];
541
+ }>, "default"> & MakeSlots<{
542
+ default: [];
543
+ }>>>> & {
544
+ "onUpdate:modelValue"?: ((val: string) => any) | undefined;
545
+ "onClick:control"?: ((e: MouseEvent) => any) | undefined;
546
+ "onClick:input"?: ((e: MouseEvent) => any) | undefined;
547
+ }, {}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
548
+ 'click:control': (e: MouseEvent) => boolean;
549
+ 'click:input': (e: MouseEvent) => boolean;
550
+ 'update:modelValue': (val: string) => boolean;
551
+ }, string, {
552
+ reverse: boolean;
553
+ type: string;
554
+ error: boolean;
555
+ active: boolean;
556
+ direction: "horizontal" | "vertical";
557
+ loading: boolean;
558
+ autofocus: boolean;
559
+ disabled: boolean;
560
+ readonly: boolean;
561
+ messages: string | string[];
562
+ density: "default" | "compact" | "comfortable" | null;
563
+ variant: "filled" | "outlined" | "plain" | "underlined" | "solo";
564
+ errorMessages: string | string[];
565
+ maxErrors: string | number;
566
+ rules: ValidationRule[];
567
+ clearIcon: IconValue;
568
+ clearable: boolean;
569
+ dirty: boolean;
570
+ persistentClear: boolean;
571
+ singleLine: boolean;
572
+ persistentHint: boolean;
573
+ persistentPlaceholder: boolean;
574
+ persistentCounter: boolean;
575
+ }> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & (new <T>() => {
576
+ $slots: Omit<VInputSlots & VFieldSlots, 'default'> & MakeSlots<{
577
+ default: [];
578
+ }>;
579
+ });
580
+ declare type VTextField = InstanceType<typeof VTextField>;
581
+
582
+ export { VTextField };
@@ -1,3 +1,6 @@
1
+ .v-textarea .v-field {
2
+ --v-textarea-control-height: var(--v-input-control-height);
3
+ }
1
4
  .v-textarea .v-field__field {
2
5
  --v-input-control-height: var(--v-textarea-control-height);
3
6
  }
@@ -22,13 +25,12 @@
22
25
  min-height: 0 !important;
23
26
  pointer-events: none;
24
27
  }
25
- .v-textarea .v-field--has-label textarea {
26
- opacity: 0;
27
- }
28
+ .v-textarea .v-field--no-label textarea,
28
29
  .v-textarea .v-field--active textarea {
29
30
  opacity: 1;
30
31
  }
31
32
  .v-textarea textarea {
33
+ opacity: 0;
32
34
  flex: 1;
33
35
  min-width: 0;
34
36
  transition: 0.15s opacity cubic-bezier(0.4, 0, 0.2, 1);
@@ -170,7 +170,8 @@ export const VTextarea = defineComponent({
170
170
  'v-text-field--prefixed': props.prefix,
171
171
  'v-text-field--suffixed': props.suffix,
172
172
  'v-textarea--auto-grow': props.autoGrow,
173
- 'v-textarea--no-resize': props.noResize || props.autoGrow
173
+ 'v-textarea--no-resize': props.noResize || props.autoGrow,
174
+ 'v-text-field--flush-details': ['plain', 'underlined'].includes(props.variant)
174
175
  }],
175
176
  "onClick:prepend": props['onClick:prepend'],
176
177
  "onClick:append": props['onClick:append']