@vuetify/nightly 3.6.8-master.2024-06-07 → 3.6.8-master.2024-06-11

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.
@@ -103,6 +103,29 @@ type InternalDateOptions = {
103
103
  type DateOptions = Partial<InternalDateOptions>;
104
104
  declare function useDate(): DateInstance;
105
105
 
106
+ declare const block: readonly ["top", "bottom"];
107
+ declare const inline: readonly ["start", "end", "left", "right"];
108
+ type Tblock = typeof block[number];
109
+ type Tinline = typeof inline[number];
110
+ type Anchor = Tblock | Tinline | 'center' | 'center center' | `${Tblock} ${Tinline | 'center'}` | `${Tinline} ${Tblock | 'center'}`;
111
+
112
+ declare class Box {
113
+ x: number;
114
+ y: number;
115
+ width: number;
116
+ height: number;
117
+ constructor({ x, y, width, height }: {
118
+ x: number;
119
+ y: number;
120
+ width: number;
121
+ height: number;
122
+ });
123
+ get top(): number;
124
+ get bottom(): number;
125
+ get left(): number;
126
+ get right(): number;
127
+ }
128
+
106
129
  type DeepPartial<T> = T extends object ? {
107
130
  [P in keyof T]?: DeepPartial<T[P]>;
108
131
  } : T;
@@ -161,116 +184,6 @@ interface ThemeInstance {
161
184
  }
162
185
  declare function useTheme(): ThemeInstance;
163
186
 
164
- declare const breakpoints: readonly ["sm", "md", "lg", "xl", "xxl"];
165
- type Breakpoint = typeof breakpoints[number];
166
- type DisplayBreakpoint = 'xs' | Breakpoint;
167
- type DisplayThresholds = {
168
- [key in DisplayBreakpoint]: number;
169
- };
170
- interface DisplayProps {
171
- mobile?: boolean | null;
172
- mobileBreakpoint?: number | DisplayBreakpoint;
173
- }
174
- interface DisplayOptions {
175
- mobileBreakpoint?: number | DisplayBreakpoint;
176
- thresholds?: Partial<DisplayThresholds>;
177
- }
178
- type SSROptions = boolean | {
179
- clientWidth: number;
180
- clientHeight?: number;
181
- };
182
- interface DisplayPlatform {
183
- android: boolean;
184
- ios: boolean;
185
- cordova: boolean;
186
- electron: boolean;
187
- chrome: boolean;
188
- edge: boolean;
189
- firefox: boolean;
190
- opera: boolean;
191
- win: boolean;
192
- mac: boolean;
193
- linux: boolean;
194
- touch: boolean;
195
- ssr: boolean;
196
- }
197
- interface DisplayInstance {
198
- xs: Ref<boolean>;
199
- sm: Ref<boolean>;
200
- md: Ref<boolean>;
201
- lg: Ref<boolean>;
202
- xl: Ref<boolean>;
203
- xxl: Ref<boolean>;
204
- smAndUp: Ref<boolean>;
205
- mdAndUp: Ref<boolean>;
206
- lgAndUp: Ref<boolean>;
207
- xlAndUp: Ref<boolean>;
208
- smAndDown: Ref<boolean>;
209
- mdAndDown: Ref<boolean>;
210
- lgAndDown: Ref<boolean>;
211
- xlAndDown: Ref<boolean>;
212
- name: Ref<DisplayBreakpoint>;
213
- height: Ref<number>;
214
- width: Ref<number>;
215
- mobile: Ref<boolean>;
216
- mobileBreakpoint: Ref<number | DisplayBreakpoint>;
217
- platform: Ref<DisplayPlatform>;
218
- thresholds: Ref<DisplayThresholds>;
219
- update(): void;
220
- }
221
- declare function useDisplay(props?: DisplayProps, name?: string): {
222
- displayClasses: vue.ComputedRef<{
223
- [x: string]: boolean;
224
- }>;
225
- mobile: vue.ComputedRef<boolean>;
226
- xs: Ref<boolean>;
227
- sm: Ref<boolean>;
228
- md: Ref<boolean>;
229
- lg: Ref<boolean>;
230
- xl: Ref<boolean>;
231
- xxl: Ref<boolean>;
232
- smAndUp: Ref<boolean>;
233
- mdAndUp: Ref<boolean>;
234
- lgAndUp: Ref<boolean>;
235
- xlAndUp: Ref<boolean>;
236
- smAndDown: Ref<boolean>;
237
- mdAndDown: Ref<boolean>;
238
- lgAndDown: Ref<boolean>;
239
- xlAndDown: Ref<boolean>;
240
- name: Ref<DisplayBreakpoint>;
241
- height: Ref<number>;
242
- width: Ref<number>;
243
- mobileBreakpoint: Ref<number | DisplayBreakpoint>;
244
- platform: Ref<DisplayPlatform>;
245
- thresholds: Ref<DisplayThresholds>;
246
- /** @internal */
247
- ssr: boolean;
248
- update(): void;
249
- };
250
-
251
- declare const block: readonly ["top", "bottom"];
252
- declare const inline: readonly ["start", "end", "left", "right"];
253
- type Tblock = typeof block[number];
254
- type Tinline = typeof inline[number];
255
- type Anchor = Tblock | Tinline | 'center' | 'center center' | `${Tblock} ${Tinline | 'center'}` | `${Tinline} ${Tblock | 'center'}`;
256
-
257
- declare class Box {
258
- x: number;
259
- y: number;
260
- width: number;
261
- height: number;
262
- constructor({ x, y, width, height }: {
263
- x: number;
264
- y: number;
265
- width: number;
266
- height: number;
267
- });
268
- get top(): number;
269
- get bottom(): number;
270
- get left(): number;
271
- get right(): number;
272
- }
273
-
274
187
  type HSV = {
275
188
  h: number;
276
189
  s: number;
@@ -318,31 +231,6 @@ type TemplateRef = {
318
231
  readonly el: HTMLElement | undefined;
319
232
  };
320
233
 
321
- type DefaultsInstance = undefined | {
322
- [key: string]: undefined | Record<string, unknown>;
323
- global?: Record<string, unknown>;
324
- };
325
- type DefaultsOptions = Partial<DefaultsInstance>;
326
- declare function useDefaults<T extends Record<string, any>>(props: T, name?: string): T;
327
- declare function useDefaults(props?: undefined, name?: string): Record<string, any>;
328
-
329
- interface GoToInstance {
330
- rtl: Ref<boolean>;
331
- options: GoToOptions;
332
- }
333
- interface GoToOptions {
334
- container: ComponentPublicInstance | HTMLElement | string;
335
- duration: number;
336
- layout: boolean;
337
- offset: number;
338
- easing: string | ((t: number) => number);
339
- patterns: Record<string, (t: number) => number>;
340
- }
341
- declare function useGoTo(_options?: Partial<GoToOptions>): {
342
- (target: ComponentPublicInstance | HTMLElement | string | number, options?: Partial<GoToOptions>): Promise<unknown>;
343
- horizontal(target: ComponentPublicInstance | HTMLElement | string | number, options?: Partial<GoToOptions>): Promise<unknown>;
344
- };
345
-
346
234
  type IconValue = string | (string | [path: string, opacity: number])[] | JSXComponent;
347
235
  declare const IconValue: PropType<IconValue>;
348
236
  interface IconAliases {
@@ -392,11 +280,12 @@ type IconComponent = JSXComponent<IconProps>;
392
280
  interface IconSet {
393
281
  component: IconComponent;
394
282
  }
395
- type IconOptions = {
396
- defaultSet?: string;
397
- aliases?: Partial<IconAliases>;
398
- sets?: Record<string, IconSet>;
283
+ type InternalIconOptions = {
284
+ defaultSet: string;
285
+ aliases: Partial<IconAliases>;
286
+ sets: Record<string, IconSet>;
399
287
  };
288
+ type IconOptions = Partial<InternalIconOptions>;
400
289
  declare const VComponentIcon: {
401
290
  new (...args: any[]): vue.CreateComponentPublicInstance<{
402
291
  tag: string;
@@ -674,6 +563,119 @@ declare const VClassIcon: {
674
563
  }>>;
675
564
  type VClassIcon = InstanceType<typeof VClassIcon>;
676
565
 
566
+ interface GoToInstance {
567
+ rtl: Ref<boolean>;
568
+ options: InternalGoToOptions;
569
+ }
570
+ interface InternalGoToOptions {
571
+ container: ComponentPublicInstance | HTMLElement | string;
572
+ duration: number;
573
+ layout: boolean;
574
+ offset: number;
575
+ easing: string | ((t: number) => number);
576
+ patterns: Record<string, (t: number) => number>;
577
+ }
578
+ type GoToOptions = Partial<InternalGoToOptions>;
579
+ declare function useGoTo(_options?: GoToOptions): {
580
+ (target: ComponentPublicInstance | HTMLElement | string | number, options?: Partial<GoToOptions>): Promise<unknown>;
581
+ horizontal(target: ComponentPublicInstance | HTMLElement | string | number, options?: Partial<GoToOptions>): Promise<unknown>;
582
+ };
583
+
584
+ declare const breakpoints: readonly ["sm", "md", "lg", "xl", "xxl"];
585
+ type Breakpoint = typeof breakpoints[number];
586
+ type DisplayBreakpoint = 'xs' | Breakpoint;
587
+ type DisplayThresholds = {
588
+ [key in DisplayBreakpoint]: number;
589
+ };
590
+ interface DisplayProps {
591
+ mobile?: boolean | null;
592
+ mobileBreakpoint?: number | DisplayBreakpoint;
593
+ }
594
+ interface DisplayOptions {
595
+ mobileBreakpoint?: number | DisplayBreakpoint;
596
+ thresholds?: Partial<DisplayThresholds>;
597
+ }
598
+ type SSROptions = boolean | {
599
+ clientWidth: number;
600
+ clientHeight?: number;
601
+ };
602
+ interface DisplayPlatform {
603
+ android: boolean;
604
+ ios: boolean;
605
+ cordova: boolean;
606
+ electron: boolean;
607
+ chrome: boolean;
608
+ edge: boolean;
609
+ firefox: boolean;
610
+ opera: boolean;
611
+ win: boolean;
612
+ mac: boolean;
613
+ linux: boolean;
614
+ touch: boolean;
615
+ ssr: boolean;
616
+ }
617
+ interface DisplayInstance {
618
+ xs: Ref<boolean>;
619
+ sm: Ref<boolean>;
620
+ md: Ref<boolean>;
621
+ lg: Ref<boolean>;
622
+ xl: Ref<boolean>;
623
+ xxl: Ref<boolean>;
624
+ smAndUp: Ref<boolean>;
625
+ mdAndUp: Ref<boolean>;
626
+ lgAndUp: Ref<boolean>;
627
+ xlAndUp: Ref<boolean>;
628
+ smAndDown: Ref<boolean>;
629
+ mdAndDown: Ref<boolean>;
630
+ lgAndDown: Ref<boolean>;
631
+ xlAndDown: Ref<boolean>;
632
+ name: Ref<DisplayBreakpoint>;
633
+ height: Ref<number>;
634
+ width: Ref<number>;
635
+ mobile: Ref<boolean>;
636
+ mobileBreakpoint: Ref<number | DisplayBreakpoint>;
637
+ platform: Ref<DisplayPlatform>;
638
+ thresholds: Ref<DisplayThresholds>;
639
+ update(): void;
640
+ }
641
+ declare function useDisplay(props?: DisplayProps, name?: string): {
642
+ displayClasses: vue.ComputedRef<{
643
+ [x: string]: boolean;
644
+ }>;
645
+ mobile: vue.ComputedRef<boolean>;
646
+ xs: Ref<boolean>;
647
+ sm: Ref<boolean>;
648
+ md: Ref<boolean>;
649
+ lg: Ref<boolean>;
650
+ xl: Ref<boolean>;
651
+ xxl: Ref<boolean>;
652
+ smAndUp: Ref<boolean>;
653
+ mdAndUp: Ref<boolean>;
654
+ lgAndUp: Ref<boolean>;
655
+ xlAndUp: Ref<boolean>;
656
+ smAndDown: Ref<boolean>;
657
+ mdAndDown: Ref<boolean>;
658
+ lgAndDown: Ref<boolean>;
659
+ xlAndDown: Ref<boolean>;
660
+ name: Ref<DisplayBreakpoint>;
661
+ height: Ref<number>;
662
+ width: Ref<number>;
663
+ mobileBreakpoint: Ref<number | DisplayBreakpoint>;
664
+ platform: Ref<DisplayPlatform>;
665
+ thresholds: Ref<DisplayThresholds>;
666
+ /** @internal */
667
+ ssr: boolean;
668
+ update(): void;
669
+ };
670
+
671
+ type DefaultsInstance = undefined | {
672
+ [key: string]: undefined | Record<string, unknown>;
673
+ global?: Record<string, unknown>;
674
+ };
675
+ type DefaultsOptions = Partial<DefaultsInstance>;
676
+ declare function useDefaults<T extends Record<string, any>>(props: T, name?: string): T;
677
+ declare function useDefaults(props?: undefined, name?: string): Record<string, any>;
678
+
677
679
  type Position = 'top' | 'left' | 'right' | 'bottom';
678
680
  interface Layer {
679
681
  top: number;
@@ -81768,7 +81770,7 @@ declare const createVuetify: (options?: VuetifyOptions) => {
81768
81770
  theme: ThemeInstance & {
81769
81771
  install: (app: vue.App<any>) => void;
81770
81772
  };
81771
- icons: Record<string, any>;
81773
+ icons: InternalIconOptions;
81772
81774
  locale: {
81773
81775
  isRtl: vue.Ref<boolean>;
81774
81776
  rtl: vue.Ref<Record<string, boolean>>;
@@ -81829,10 +81831,7 @@ declare const createVuetify: (options?: VuetifyOptions) => {
81829
81831
  setMinutes: (date: unknown, minutes: number) => unknown;
81830
81832
  };
81831
81833
  };
81832
- goTo: {
81833
- rtl: vue.Ref<boolean>;
81834
- options: Record<string, any>;
81835
- };
81834
+ goTo: GoToInstance;
81836
81835
  };
81837
81836
 
81838
81837
  export { type DateInstance, type DefaultsInstance, type DisplayBreakpoint, type DisplayInstance, type DisplayThresholds, type GoToInstance, type IconAliases, type IconOptions, type IconProps, type IconSet, type LocaleInstance, type LocaleMessages, type LocaleOptions, type RtlInstance, type RtlOptions, type SubmitEventPromise, type ThemeDefinition, type ThemeInstance, index_d$1 as blueprints, allComponents_d as components, createVuetify, index_d as directives, useDate, useDefaults, useDisplay, useGoTo, useLayout, useLocale, useRtl, useTheme, version };
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Vuetify v3.6.8-master.2024-06-07
2
+ * Vuetify v3.6.8-master.2024-06-11
3
3
  * Forged by John Leider
4
4
  * Released under the MIT License.
5
5
  */
@@ -30235,7 +30235,7 @@ function createVuetify$1() {
30235
30235
  goTo
30236
30236
  };
30237
30237
  }
30238
- const version$1 = "3.6.8-master.2024-06-07";
30238
+ const version$1 = "3.6.8-master.2024-06-11";
30239
30239
  createVuetify$1.version = version$1;
30240
30240
 
30241
30241
  // Vue's inject() can only be used in setup
@@ -30488,7 +30488,7 @@ var index = /*#__PURE__*/Object.freeze({
30488
30488
 
30489
30489
  /* eslint-disable local-rules/sort-imports */
30490
30490
 
30491
- const version = "3.6.8-master.2024-06-07";
30491
+ const version = "3.6.8-master.2024-06-11";
30492
30492
 
30493
30493
  /* eslint-disable local-rules/sort-imports */
30494
30494