@vuetify/nightly 3.3.12-dev.2023-08-17 → 3.3.12-dev.2023-08-18

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 (41) hide show
  1. package/CHANGELOG.md +5 -2
  2. package/dist/json/attributes.json +20 -4
  3. package/dist/json/importMap.json +42 -42
  4. package/dist/json/tags.json +4 -0
  5. package/dist/json/web-types.json +47 -11
  6. package/dist/vuetify-labs.css +923 -923
  7. package/dist/vuetify-labs.d.ts +56 -1
  8. package/dist/vuetify-labs.esm.js +43 -17
  9. package/dist/vuetify-labs.esm.js.map +1 -1
  10. package/dist/vuetify-labs.js +43 -17
  11. package/dist/vuetify-labs.min.css +2 -2
  12. package/dist/vuetify.css +217 -217
  13. package/dist/vuetify.d.ts +67 -12
  14. package/dist/vuetify.esm.js +43 -17
  15. package/dist/vuetify.esm.js.map +1 -1
  16. package/dist/vuetify.js +43 -17
  17. package/dist/vuetify.js.map +1 -1
  18. package/dist/vuetify.min.css +2 -2
  19. package/dist/vuetify.min.js +282 -277
  20. package/dist/vuetify.min.js.map +1 -1
  21. package/lib/components/VBanner/VBanner.mjs +5 -3
  22. package/lib/components/VBanner/VBanner.mjs.map +1 -1
  23. package/lib/components/VBanner/index.d.mts +10 -0
  24. package/lib/components/VNavigationDrawer/VNavigationDrawer.mjs +5 -3
  25. package/lib/components/VNavigationDrawer/VNavigationDrawer.mjs.map +1 -1
  26. package/lib/components/VNavigationDrawer/index.d.mts +10 -0
  27. package/lib/components/VSlideGroup/VSlideGroup.mjs +5 -3
  28. package/lib/components/VSlideGroup/VSlideGroup.mjs.map +1 -1
  29. package/lib/components/VSlideGroup/index.d.mts +10 -0
  30. package/lib/components/VTabs/index.d.mts +10 -0
  31. package/lib/components/index.d.mts +28 -0
  32. package/lib/composables/directiveComponent.mjs +69 -0
  33. package/lib/composables/directiveComponent.mjs.map +1 -0
  34. package/lib/composables/display.mjs +23 -3
  35. package/lib/composables/display.mjs.map +1 -1
  36. package/lib/composables/theme.mjs +7 -7
  37. package/lib/composables/theme.mjs.map +1 -1
  38. package/lib/entry-bundler.mjs +1 -1
  39. package/lib/framework.mjs +1 -1
  40. package/lib/index.d.mts +43 -12
  41. package/package.json +1 -1
package/lib/index.d.mts CHANGED
@@ -97,6 +97,9 @@ type DisplayBreakpoint = 'xs' | Breakpoint;
97
97
  type DisplayThresholds = {
98
98
  [key in DisplayBreakpoint]: number;
99
99
  };
100
+ interface DisplayProps {
101
+ mobileBreakpoint?: number | DisplayBreakpoint;
102
+ }
100
103
  interface DisplayOptions {
101
104
  mobileBreakpoint?: number | DisplayBreakpoint;
102
105
  thresholds?: Partial<DisplayThresholds>;
@@ -144,7 +147,35 @@ interface DisplayInstance {
144
147
  thresholds: Ref<DisplayThresholds>;
145
148
  update(): void;
146
149
  }
147
- declare function useDisplay(): DisplayInstance;
150
+ declare function useDisplay(props?: DisplayProps, name?: string): {
151
+ displayClasses: vue.ComputedRef<{
152
+ [x: string]: boolean;
153
+ }>;
154
+ mobile: vue.ComputedRef<boolean>;
155
+ xs: Ref<boolean>;
156
+ sm: Ref<boolean>;
157
+ md: Ref<boolean>;
158
+ lg: Ref<boolean>;
159
+ xl: Ref<boolean>;
160
+ xxl: Ref<boolean>;
161
+ smAndUp: Ref<boolean>;
162
+ mdAndUp: Ref<boolean>;
163
+ lgAndUp: Ref<boolean>;
164
+ xlAndUp: Ref<boolean>;
165
+ smAndDown: Ref<boolean>;
166
+ mdAndDown: Ref<boolean>;
167
+ lgAndDown: Ref<boolean>;
168
+ xlAndDown: Ref<boolean>;
169
+ name: Ref<DisplayBreakpoint>;
170
+ height: Ref<number>;
171
+ width: Ref<number>;
172
+ mobileBreakpoint: Ref<number | DisplayBreakpoint>;
173
+ platform: Ref<DisplayPlatform>;
174
+ thresholds: Ref<DisplayThresholds>;
175
+ /** @internal */
176
+ ssr: boolean;
177
+ update(): void;
178
+ };
148
179
 
149
180
  type DefaultsInstance = undefined | {
150
181
  [key: string]: undefined | Record<string, unknown>;
@@ -368,17 +399,17 @@ declare module '@vue/runtime-core' {
368
399
  VAlert: typeof import('vuetify/components')['VAlert']
369
400
  VAlertTitle: typeof import('vuetify/components')['VAlertTitle']
370
401
  VAutocomplete: typeof import('vuetify/components')['VAutocomplete']
371
- VBadge: typeof import('vuetify/components')['VBadge']
372
402
  VAvatar: typeof import('vuetify/components')['VAvatar']
403
+ VBadge: typeof import('vuetify/components')['VBadge']
373
404
  VBanner: typeof import('vuetify/components')['VBanner']
374
405
  VBannerActions: typeof import('vuetify/components')['VBannerActions']
375
406
  VBannerText: typeof import('vuetify/components')['VBannerText']
376
407
  VBottomNavigation: typeof import('vuetify/components')['VBottomNavigation']
377
- VBtn: typeof import('vuetify/components')['VBtn']
378
- VBtnGroup: typeof import('vuetify/components')['VBtnGroup']
379
408
  VBreadcrumbs: typeof import('vuetify/components')['VBreadcrumbs']
380
409
  VBreadcrumbsItem: typeof import('vuetify/components')['VBreadcrumbsItem']
381
410
  VBreadcrumbsDivider: typeof import('vuetify/components')['VBreadcrumbsDivider']
411
+ VBtn: typeof import('vuetify/components')['VBtn']
412
+ VBtnGroup: typeof import('vuetify/components')['VBtnGroup']
382
413
  VBtnToggle: typeof import('vuetify/components')['VBtnToggle']
383
414
  VCard: typeof import('vuetify/components')['VCard']
384
415
  VCardActions: typeof import('vuetify/components')['VCardActions']
@@ -390,14 +421,14 @@ declare module '@vue/runtime-core' {
390
421
  VCarouselItem: typeof import('vuetify/components')['VCarouselItem']
391
422
  VCheckbox: typeof import('vuetify/components')['VCheckbox']
392
423
  VCheckboxBtn: typeof import('vuetify/components')['VCheckboxBtn']
393
- VChipGroup: typeof import('vuetify/components')['VChipGroup']
394
424
  VChip: typeof import('vuetify/components')['VChip']
425
+ VChipGroup: typeof import('vuetify/components')['VChipGroup']
395
426
  VCode: typeof import('vuetify/components')['VCode']
396
427
  VColorPicker: typeof import('vuetify/components')['VColorPicker']
397
428
  VCombobox: typeof import('vuetify/components')['VCombobox']
398
429
  VCounter: typeof import('vuetify/components')['VCounter']
399
- VDivider: typeof import('vuetify/components')['VDivider']
400
430
  VDialog: typeof import('vuetify/components')['VDialog']
431
+ VDivider: typeof import('vuetify/components')['VDivider']
401
432
  VExpansionPanels: typeof import('vuetify/components')['VExpansionPanels']
402
433
  VExpansionPanel: typeof import('vuetify/components')['VExpansionPanel']
403
434
  VExpansionPanelText: typeof import('vuetify/components')['VExpansionPanelText']
@@ -411,8 +442,8 @@ declare module '@vue/runtime-core' {
411
442
  VSvgIcon: typeof import('vuetify/components')['VSvgIcon']
412
443
  VLigatureIcon: typeof import('vuetify/components')['VLigatureIcon']
413
444
  VClassIcon: typeof import('vuetify/components')['VClassIcon']
414
- VInput: typeof import('vuetify/components')['VInput']
415
445
  VImg: typeof import('vuetify/components')['VImg']
446
+ VInput: typeof import('vuetify/components')['VInput']
416
447
  VItemGroup: typeof import('vuetify/components')['VItemGroup']
417
448
  VItem: typeof import('vuetify/components')['VItem']
418
449
  VKbd: typeof import('vuetify/components')['VKbd']
@@ -436,20 +467,21 @@ declare module '@vue/runtime-core' {
436
467
  VProgressLinear: typeof import('vuetify/components')['VProgressLinear']
437
468
  VRadioGroup: typeof import('vuetify/components')['VRadioGroup']
438
469
  VRating: typeof import('vuetify/components')['VRating']
470
+ VSelect: typeof import('vuetify/components')['VSelect']
439
471
  VSelectionControl: typeof import('vuetify/components')['VSelectionControl']
440
472
  VSelectionControlGroup: typeof import('vuetify/components')['VSelectionControlGroup']
441
473
  VSheet: typeof import('vuetify/components')['VSheet']
442
- VSlider: typeof import('vuetify/components')['VSlider']
443
- VSnackbar: typeof import('vuetify/components')['VSnackbar']
444
474
  VSlideGroup: typeof import('vuetify/components')['VSlideGroup']
445
475
  VSlideGroupItem: typeof import('vuetify/components')['VSlideGroupItem']
476
+ VSlider: typeof import('vuetify/components')['VSlider']
477
+ VSnackbar: typeof import('vuetify/components')['VSnackbar']
446
478
  VSwitch: typeof import('vuetify/components')['VSwitch']
447
479
  VSystemBar: typeof import('vuetify/components')['VSystemBar']
448
- VTable: typeof import('vuetify/components')['VTable']
449
480
  VTabs: typeof import('vuetify/components')['VTabs']
450
481
  VTab: typeof import('vuetify/components')['VTab']
451
- VTextField: typeof import('vuetify/components')['VTextField']
482
+ VTable: typeof import('vuetify/components')['VTable']
452
483
  VTextarea: typeof import('vuetify/components')['VTextarea']
484
+ VTextField: typeof import('vuetify/components')['VTextField']
453
485
  VTimeline: typeof import('vuetify/components')['VTimeline']
454
486
  VTimelineItem: typeof import('vuetify/components')['VTimelineItem']
455
487
  VToolbar: typeof import('vuetify/components')['VToolbar']
@@ -459,7 +491,6 @@ declare module '@vue/runtime-core' {
459
491
  VWindow: typeof import('vuetify/components')['VWindow']
460
492
  VWindowItem: typeof import('vuetify/components')['VWindowItem']
461
493
  VDefaultsProvider: typeof import('vuetify/components')['VDefaultsProvider']
462
- VSelect: typeof import('vuetify/components')['VSelect']
463
494
  VForm: typeof import('vuetify/components')['VForm']
464
495
  VContainer: typeof import('vuetify/components')['VContainer']
465
496
  VCol: typeof import('vuetify/components')['VCol']
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vuetify/nightly",
3
3
  "description": "Vue Material Component Framework",
4
- "version": "3.3.12-dev.2023-08-17",
4
+ "version": "3.3.12-dev.2023-08-18",
5
5
  "author": {
6
6
  "name": "John Leider",
7
7
  "email": "john@vuetifyjs.com"