@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,171 @@
1
+ import { JSXComponent, PropType, App, Ref } from 'vue';
2
+
3
+ declare type DeepPartial<T> = T extends object ? {
4
+ [P in keyof T]?: DeepPartial<T[P]>;
5
+ } : T;
6
+ declare type ThemeOptions = false | {
7
+ cspNonce?: string;
8
+ defaultTheme?: string;
9
+ variations?: false | VariationsOptions;
10
+ themes?: Record<string, ThemeDefinition>;
11
+ };
12
+ declare type ThemeDefinition = DeepPartial<InternalThemeDefinition>;
13
+ interface VariationsOptions {
14
+ colors: string[];
15
+ lighten: number;
16
+ darken: number;
17
+ }
18
+ interface InternalThemeDefinition {
19
+ dark: boolean;
20
+ colors: Colors;
21
+ variables: Record<string, string | number>;
22
+ }
23
+ interface Colors extends BaseColors, OnColors {
24
+ [key: string]: string;
25
+ }
26
+ interface BaseColors {
27
+ background: string;
28
+ surface: string;
29
+ primary: string;
30
+ secondary: string;
31
+ success: string;
32
+ warning: string;
33
+ error: string;
34
+ info: string;
35
+ }
36
+ interface OnColors {
37
+ 'on-background': string;
38
+ 'on-surface': string;
39
+ 'on-primary': string;
40
+ 'on-secondary': string;
41
+ 'on-success': string;
42
+ 'on-warning': string;
43
+ 'on-error': string;
44
+ 'on-info': string;
45
+ }
46
+
47
+ declare type DisplayBreakpoint = keyof DisplayThresholds;
48
+ interface DisplayThresholds {
49
+ xs: number;
50
+ sm: number;
51
+ md: number;
52
+ lg: number;
53
+ xl: number;
54
+ xxl: number;
55
+ }
56
+ interface DisplayOptions {
57
+ mobileBreakpoint?: number | DisplayBreakpoint;
58
+ thresholds?: Partial<DisplayThresholds>;
59
+ }
60
+
61
+ interface DefaultsInstance {
62
+ [key: string]: undefined | Record<string, unknown>;
63
+ global?: Record<string, unknown>;
64
+ }
65
+ declare type DefaultsOptions = Partial<DefaultsInstance>;
66
+
67
+ declare type IconValue = string | JSXComponent;
68
+ declare const IconValue: PropType<IconValue>;
69
+ interface IconAliases {
70
+ [name: string]: IconValue;
71
+ complete: IconValue;
72
+ cancel: IconValue;
73
+ close: IconValue;
74
+ delete: IconValue;
75
+ clear: IconValue;
76
+ success: IconValue;
77
+ info: IconValue;
78
+ warning: IconValue;
79
+ error: IconValue;
80
+ prev: IconValue;
81
+ next: IconValue;
82
+ checkboxOn: IconValue;
83
+ checkboxOff: IconValue;
84
+ checkboxIndeterminate: IconValue;
85
+ delimiter: IconValue;
86
+ sort: IconValue;
87
+ expand: IconValue;
88
+ menu: IconValue;
89
+ subgroup: IconValue;
90
+ dropdown: IconValue;
91
+ radioOn: IconValue;
92
+ radioOff: IconValue;
93
+ edit: IconValue;
94
+ ratingEmpty: IconValue;
95
+ ratingFull: IconValue;
96
+ ratingHalf: IconValue;
97
+ loading: IconValue;
98
+ first: IconValue;
99
+ last: IconValue;
100
+ unfold: IconValue;
101
+ file: IconValue;
102
+ plus: IconValue;
103
+ minus: IconValue;
104
+ }
105
+ interface IconProps {
106
+ tag: string;
107
+ icon: IconValue;
108
+ disabled?: Boolean;
109
+ }
110
+ declare type IconComponent = JSXComponent<IconProps>;
111
+ interface IconSet {
112
+ component: IconComponent;
113
+ }
114
+ declare type IconOptions = {
115
+ defaultSet: string;
116
+ aliases?: Partial<IconAliases>;
117
+ sets: Record<string, IconSet>;
118
+ };
119
+
120
+ interface RtlOptions {
121
+ rtl?: Record<string, boolean>;
122
+ }
123
+
124
+ interface LocaleMessages {
125
+ [key: string]: LocaleMessages | string;
126
+ }
127
+ interface LocaleOptions {
128
+ defaultLocale?: string;
129
+ fallbackLocale?: string;
130
+ messages?: LocaleMessages;
131
+ }
132
+ interface LocaleProps {
133
+ locale?: string;
134
+ fallbackLocale?: string;
135
+ messages?: LocaleMessages;
136
+ }
137
+ interface LocaleInstance {
138
+ current: Ref<string>;
139
+ fallback: Ref<string>;
140
+ messages: Ref<LocaleMessages>;
141
+ t: (key: string, ...params: unknown[]) => string;
142
+ n: (value: number) => string;
143
+ }
144
+ interface LocaleAdapter {
145
+ createRoot: (app?: App) => LocaleInstance;
146
+ getScope: () => LocaleInstance;
147
+ createScope: (options?: LocaleProps) => LocaleInstance;
148
+ }
149
+
150
+ interface VuetifyOptions {
151
+ aliases?: Record<string, any>;
152
+ blueprint?: Blueprint;
153
+ components?: Record<string, any>;
154
+ directives?: Record<string, any>;
155
+ defaults?: DefaultsOptions;
156
+ display?: DisplayOptions;
157
+ theme?: ThemeOptions;
158
+ icons?: IconOptions;
159
+ locale?: (LocaleOptions & RtlOptions) | (LocaleAdapter & RtlOptions);
160
+ ssr?: boolean;
161
+ }
162
+ interface Blueprint extends Omit<VuetifyOptions, 'blueprint'> {
163
+ }
164
+
165
+ declare const md1: Blueprint;
166
+
167
+ declare const md2: Blueprint;
168
+
169
+ declare const md3: Blueprint;
170
+
171
+ export { md1, md2, md3 };
@@ -0,0 +1,167 @@
1
+ import { JSXComponent, PropType, App, Ref } from 'vue';
2
+
3
+ declare type DeepPartial<T> = T extends object ? {
4
+ [P in keyof T]?: DeepPartial<T[P]>;
5
+ } : T;
6
+ declare type ThemeOptions = false | {
7
+ cspNonce?: string;
8
+ defaultTheme?: string;
9
+ variations?: false | VariationsOptions;
10
+ themes?: Record<string, ThemeDefinition>;
11
+ };
12
+ declare type ThemeDefinition = DeepPartial<InternalThemeDefinition>;
13
+ interface VariationsOptions {
14
+ colors: string[];
15
+ lighten: number;
16
+ darken: number;
17
+ }
18
+ interface InternalThemeDefinition {
19
+ dark: boolean;
20
+ colors: Colors;
21
+ variables: Record<string, string | number>;
22
+ }
23
+ interface Colors extends BaseColors, OnColors {
24
+ [key: string]: string;
25
+ }
26
+ interface BaseColors {
27
+ background: string;
28
+ surface: string;
29
+ primary: string;
30
+ secondary: string;
31
+ success: string;
32
+ warning: string;
33
+ error: string;
34
+ info: string;
35
+ }
36
+ interface OnColors {
37
+ 'on-background': string;
38
+ 'on-surface': string;
39
+ 'on-primary': string;
40
+ 'on-secondary': string;
41
+ 'on-success': string;
42
+ 'on-warning': string;
43
+ 'on-error': string;
44
+ 'on-info': string;
45
+ }
46
+
47
+ declare type DisplayBreakpoint = keyof DisplayThresholds;
48
+ interface DisplayThresholds {
49
+ xs: number;
50
+ sm: number;
51
+ md: number;
52
+ lg: number;
53
+ xl: number;
54
+ xxl: number;
55
+ }
56
+ interface DisplayOptions {
57
+ mobileBreakpoint?: number | DisplayBreakpoint;
58
+ thresholds?: Partial<DisplayThresholds>;
59
+ }
60
+
61
+ interface DefaultsInstance {
62
+ [key: string]: undefined | Record<string, unknown>;
63
+ global?: Record<string, unknown>;
64
+ }
65
+ declare type DefaultsOptions = Partial<DefaultsInstance>;
66
+
67
+ declare type IconValue = string | JSXComponent;
68
+ declare const IconValue: PropType<IconValue>;
69
+ interface IconAliases {
70
+ [name: string]: IconValue;
71
+ complete: IconValue;
72
+ cancel: IconValue;
73
+ close: IconValue;
74
+ delete: IconValue;
75
+ clear: IconValue;
76
+ success: IconValue;
77
+ info: IconValue;
78
+ warning: IconValue;
79
+ error: IconValue;
80
+ prev: IconValue;
81
+ next: IconValue;
82
+ checkboxOn: IconValue;
83
+ checkboxOff: IconValue;
84
+ checkboxIndeterminate: IconValue;
85
+ delimiter: IconValue;
86
+ sort: IconValue;
87
+ expand: IconValue;
88
+ menu: IconValue;
89
+ subgroup: IconValue;
90
+ dropdown: IconValue;
91
+ radioOn: IconValue;
92
+ radioOff: IconValue;
93
+ edit: IconValue;
94
+ ratingEmpty: IconValue;
95
+ ratingFull: IconValue;
96
+ ratingHalf: IconValue;
97
+ loading: IconValue;
98
+ first: IconValue;
99
+ last: IconValue;
100
+ unfold: IconValue;
101
+ file: IconValue;
102
+ plus: IconValue;
103
+ minus: IconValue;
104
+ }
105
+ interface IconProps {
106
+ tag: string;
107
+ icon: IconValue;
108
+ disabled?: Boolean;
109
+ }
110
+ declare type IconComponent = JSXComponent<IconProps>;
111
+ interface IconSet {
112
+ component: IconComponent;
113
+ }
114
+ declare type IconOptions = {
115
+ defaultSet: string;
116
+ aliases?: Partial<IconAliases>;
117
+ sets: Record<string, IconSet>;
118
+ };
119
+
120
+ interface RtlOptions {
121
+ rtl?: Record<string, boolean>;
122
+ }
123
+
124
+ interface LocaleMessages {
125
+ [key: string]: LocaleMessages | string;
126
+ }
127
+ interface LocaleOptions {
128
+ defaultLocale?: string;
129
+ fallbackLocale?: string;
130
+ messages?: LocaleMessages;
131
+ }
132
+ interface LocaleProps {
133
+ locale?: string;
134
+ fallbackLocale?: string;
135
+ messages?: LocaleMessages;
136
+ }
137
+ interface LocaleInstance {
138
+ current: Ref<string>;
139
+ fallback: Ref<string>;
140
+ messages: Ref<LocaleMessages>;
141
+ t: (key: string, ...params: unknown[]) => string;
142
+ n: (value: number) => string;
143
+ }
144
+ interface LocaleAdapter {
145
+ createRoot: (app?: App) => LocaleInstance;
146
+ getScope: () => LocaleInstance;
147
+ createScope: (options?: LocaleProps) => LocaleInstance;
148
+ }
149
+
150
+ interface VuetifyOptions {
151
+ aliases?: Record<string, any>;
152
+ blueprint?: Blueprint;
153
+ components?: Record<string, any>;
154
+ directives?: Record<string, any>;
155
+ defaults?: DefaultsOptions;
156
+ display?: DisplayOptions;
157
+ theme?: ThemeOptions;
158
+ icons?: IconOptions;
159
+ locale?: (LocaleOptions & RtlOptions) | (LocaleAdapter & RtlOptions);
160
+ ssr?: boolean;
161
+ }
162
+ interface Blueprint extends Omit<VuetifyOptions, 'blueprint'> {
163
+ }
164
+
165
+ declare const md1: Blueprint;
166
+
167
+ export { md1 };
@@ -0,0 +1,167 @@
1
+ import { JSXComponent, PropType, App, Ref } from 'vue';
2
+
3
+ declare type DeepPartial<T> = T extends object ? {
4
+ [P in keyof T]?: DeepPartial<T[P]>;
5
+ } : T;
6
+ declare type ThemeOptions = false | {
7
+ cspNonce?: string;
8
+ defaultTheme?: string;
9
+ variations?: false | VariationsOptions;
10
+ themes?: Record<string, ThemeDefinition>;
11
+ };
12
+ declare type ThemeDefinition = DeepPartial<InternalThemeDefinition>;
13
+ interface VariationsOptions {
14
+ colors: string[];
15
+ lighten: number;
16
+ darken: number;
17
+ }
18
+ interface InternalThemeDefinition {
19
+ dark: boolean;
20
+ colors: Colors;
21
+ variables: Record<string, string | number>;
22
+ }
23
+ interface Colors extends BaseColors, OnColors {
24
+ [key: string]: string;
25
+ }
26
+ interface BaseColors {
27
+ background: string;
28
+ surface: string;
29
+ primary: string;
30
+ secondary: string;
31
+ success: string;
32
+ warning: string;
33
+ error: string;
34
+ info: string;
35
+ }
36
+ interface OnColors {
37
+ 'on-background': string;
38
+ 'on-surface': string;
39
+ 'on-primary': string;
40
+ 'on-secondary': string;
41
+ 'on-success': string;
42
+ 'on-warning': string;
43
+ 'on-error': string;
44
+ 'on-info': string;
45
+ }
46
+
47
+ declare type DisplayBreakpoint = keyof DisplayThresholds;
48
+ interface DisplayThresholds {
49
+ xs: number;
50
+ sm: number;
51
+ md: number;
52
+ lg: number;
53
+ xl: number;
54
+ xxl: number;
55
+ }
56
+ interface DisplayOptions {
57
+ mobileBreakpoint?: number | DisplayBreakpoint;
58
+ thresholds?: Partial<DisplayThresholds>;
59
+ }
60
+
61
+ interface DefaultsInstance {
62
+ [key: string]: undefined | Record<string, unknown>;
63
+ global?: Record<string, unknown>;
64
+ }
65
+ declare type DefaultsOptions = Partial<DefaultsInstance>;
66
+
67
+ declare type IconValue = string | JSXComponent;
68
+ declare const IconValue: PropType<IconValue>;
69
+ interface IconAliases {
70
+ [name: string]: IconValue;
71
+ complete: IconValue;
72
+ cancel: IconValue;
73
+ close: IconValue;
74
+ delete: IconValue;
75
+ clear: IconValue;
76
+ success: IconValue;
77
+ info: IconValue;
78
+ warning: IconValue;
79
+ error: IconValue;
80
+ prev: IconValue;
81
+ next: IconValue;
82
+ checkboxOn: IconValue;
83
+ checkboxOff: IconValue;
84
+ checkboxIndeterminate: IconValue;
85
+ delimiter: IconValue;
86
+ sort: IconValue;
87
+ expand: IconValue;
88
+ menu: IconValue;
89
+ subgroup: IconValue;
90
+ dropdown: IconValue;
91
+ radioOn: IconValue;
92
+ radioOff: IconValue;
93
+ edit: IconValue;
94
+ ratingEmpty: IconValue;
95
+ ratingFull: IconValue;
96
+ ratingHalf: IconValue;
97
+ loading: IconValue;
98
+ first: IconValue;
99
+ last: IconValue;
100
+ unfold: IconValue;
101
+ file: IconValue;
102
+ plus: IconValue;
103
+ minus: IconValue;
104
+ }
105
+ interface IconProps {
106
+ tag: string;
107
+ icon: IconValue;
108
+ disabled?: Boolean;
109
+ }
110
+ declare type IconComponent = JSXComponent<IconProps>;
111
+ interface IconSet {
112
+ component: IconComponent;
113
+ }
114
+ declare type IconOptions = {
115
+ defaultSet: string;
116
+ aliases?: Partial<IconAliases>;
117
+ sets: Record<string, IconSet>;
118
+ };
119
+
120
+ interface RtlOptions {
121
+ rtl?: Record<string, boolean>;
122
+ }
123
+
124
+ interface LocaleMessages {
125
+ [key: string]: LocaleMessages | string;
126
+ }
127
+ interface LocaleOptions {
128
+ defaultLocale?: string;
129
+ fallbackLocale?: string;
130
+ messages?: LocaleMessages;
131
+ }
132
+ interface LocaleProps {
133
+ locale?: string;
134
+ fallbackLocale?: string;
135
+ messages?: LocaleMessages;
136
+ }
137
+ interface LocaleInstance {
138
+ current: Ref<string>;
139
+ fallback: Ref<string>;
140
+ messages: Ref<LocaleMessages>;
141
+ t: (key: string, ...params: unknown[]) => string;
142
+ n: (value: number) => string;
143
+ }
144
+ interface LocaleAdapter {
145
+ createRoot: (app?: App) => LocaleInstance;
146
+ getScope: () => LocaleInstance;
147
+ createScope: (options?: LocaleProps) => LocaleInstance;
148
+ }
149
+
150
+ interface VuetifyOptions {
151
+ aliases?: Record<string, any>;
152
+ blueprint?: Blueprint;
153
+ components?: Record<string, any>;
154
+ directives?: Record<string, any>;
155
+ defaults?: DefaultsOptions;
156
+ display?: DisplayOptions;
157
+ theme?: ThemeOptions;
158
+ icons?: IconOptions;
159
+ locale?: (LocaleOptions & RtlOptions) | (LocaleAdapter & RtlOptions);
160
+ ssr?: boolean;
161
+ }
162
+ interface Blueprint extends Omit<VuetifyOptions, 'blueprint'> {
163
+ }
164
+
165
+ declare const md2: Blueprint;
166
+
167
+ export { md2 };
@@ -0,0 +1,167 @@
1
+ import { JSXComponent, PropType, App, Ref } from 'vue';
2
+
3
+ declare type DeepPartial<T> = T extends object ? {
4
+ [P in keyof T]?: DeepPartial<T[P]>;
5
+ } : T;
6
+ declare type ThemeOptions = false | {
7
+ cspNonce?: string;
8
+ defaultTheme?: string;
9
+ variations?: false | VariationsOptions;
10
+ themes?: Record<string, ThemeDefinition>;
11
+ };
12
+ declare type ThemeDefinition = DeepPartial<InternalThemeDefinition>;
13
+ interface VariationsOptions {
14
+ colors: string[];
15
+ lighten: number;
16
+ darken: number;
17
+ }
18
+ interface InternalThemeDefinition {
19
+ dark: boolean;
20
+ colors: Colors;
21
+ variables: Record<string, string | number>;
22
+ }
23
+ interface Colors extends BaseColors, OnColors {
24
+ [key: string]: string;
25
+ }
26
+ interface BaseColors {
27
+ background: string;
28
+ surface: string;
29
+ primary: string;
30
+ secondary: string;
31
+ success: string;
32
+ warning: string;
33
+ error: string;
34
+ info: string;
35
+ }
36
+ interface OnColors {
37
+ 'on-background': string;
38
+ 'on-surface': string;
39
+ 'on-primary': string;
40
+ 'on-secondary': string;
41
+ 'on-success': string;
42
+ 'on-warning': string;
43
+ 'on-error': string;
44
+ 'on-info': string;
45
+ }
46
+
47
+ declare type DisplayBreakpoint = keyof DisplayThresholds;
48
+ interface DisplayThresholds {
49
+ xs: number;
50
+ sm: number;
51
+ md: number;
52
+ lg: number;
53
+ xl: number;
54
+ xxl: number;
55
+ }
56
+ interface DisplayOptions {
57
+ mobileBreakpoint?: number | DisplayBreakpoint;
58
+ thresholds?: Partial<DisplayThresholds>;
59
+ }
60
+
61
+ interface DefaultsInstance {
62
+ [key: string]: undefined | Record<string, unknown>;
63
+ global?: Record<string, unknown>;
64
+ }
65
+ declare type DefaultsOptions = Partial<DefaultsInstance>;
66
+
67
+ declare type IconValue = string | JSXComponent;
68
+ declare const IconValue: PropType<IconValue>;
69
+ interface IconAliases {
70
+ [name: string]: IconValue;
71
+ complete: IconValue;
72
+ cancel: IconValue;
73
+ close: IconValue;
74
+ delete: IconValue;
75
+ clear: IconValue;
76
+ success: IconValue;
77
+ info: IconValue;
78
+ warning: IconValue;
79
+ error: IconValue;
80
+ prev: IconValue;
81
+ next: IconValue;
82
+ checkboxOn: IconValue;
83
+ checkboxOff: IconValue;
84
+ checkboxIndeterminate: IconValue;
85
+ delimiter: IconValue;
86
+ sort: IconValue;
87
+ expand: IconValue;
88
+ menu: IconValue;
89
+ subgroup: IconValue;
90
+ dropdown: IconValue;
91
+ radioOn: IconValue;
92
+ radioOff: IconValue;
93
+ edit: IconValue;
94
+ ratingEmpty: IconValue;
95
+ ratingFull: IconValue;
96
+ ratingHalf: IconValue;
97
+ loading: IconValue;
98
+ first: IconValue;
99
+ last: IconValue;
100
+ unfold: IconValue;
101
+ file: IconValue;
102
+ plus: IconValue;
103
+ minus: IconValue;
104
+ }
105
+ interface IconProps {
106
+ tag: string;
107
+ icon: IconValue;
108
+ disabled?: Boolean;
109
+ }
110
+ declare type IconComponent = JSXComponent<IconProps>;
111
+ interface IconSet {
112
+ component: IconComponent;
113
+ }
114
+ declare type IconOptions = {
115
+ defaultSet: string;
116
+ aliases?: Partial<IconAliases>;
117
+ sets: Record<string, IconSet>;
118
+ };
119
+
120
+ interface RtlOptions {
121
+ rtl?: Record<string, boolean>;
122
+ }
123
+
124
+ interface LocaleMessages {
125
+ [key: string]: LocaleMessages | string;
126
+ }
127
+ interface LocaleOptions {
128
+ defaultLocale?: string;
129
+ fallbackLocale?: string;
130
+ messages?: LocaleMessages;
131
+ }
132
+ interface LocaleProps {
133
+ locale?: string;
134
+ fallbackLocale?: string;
135
+ messages?: LocaleMessages;
136
+ }
137
+ interface LocaleInstance {
138
+ current: Ref<string>;
139
+ fallback: Ref<string>;
140
+ messages: Ref<LocaleMessages>;
141
+ t: (key: string, ...params: unknown[]) => string;
142
+ n: (value: number) => string;
143
+ }
144
+ interface LocaleAdapter {
145
+ createRoot: (app?: App) => LocaleInstance;
146
+ getScope: () => LocaleInstance;
147
+ createScope: (options?: LocaleProps) => LocaleInstance;
148
+ }
149
+
150
+ interface VuetifyOptions {
151
+ aliases?: Record<string, any>;
152
+ blueprint?: Blueprint;
153
+ components?: Record<string, any>;
154
+ directives?: Record<string, any>;
155
+ defaults?: DefaultsOptions;
156
+ display?: DisplayOptions;
157
+ theme?: ThemeOptions;
158
+ icons?: IconOptions;
159
+ locale?: (LocaleOptions & RtlOptions) | (LocaleAdapter & RtlOptions);
160
+ ssr?: boolean;
161
+ }
162
+ interface Blueprint extends Omit<VuetifyOptions, 'blueprint'> {
163
+ }
164
+
165
+ declare const md3: Blueprint;
166
+
167
+ export { md3 };