@vuetify/nightly 3.6.3-master.2024-05-02 → 3.6.3-master.2024-05-03

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 (43) hide show
  1. package/CHANGELOG.md +8 -2
  2. package/dist/json/attributes.json +17 -17
  3. package/dist/json/importMap-labs.json +28 -28
  4. package/dist/json/importMap.json +116 -116
  5. package/dist/json/web-types.json +28 -28
  6. package/dist/vuetify-labs.css +1377 -1363
  7. package/dist/vuetify-labs.d.ts +129 -123
  8. package/dist/vuetify-labs.esm.js +7 -5
  9. package/dist/vuetify-labs.esm.js.map +1 -1
  10. package/dist/vuetify-labs.js +7 -5
  11. package/dist/vuetify-labs.min.css +2 -2
  12. package/dist/vuetify.css +765 -751
  13. package/dist/vuetify.d.ts +171 -165
  14. package/dist/vuetify.esm.js +7 -5
  15. package/dist/vuetify.esm.js.map +1 -1
  16. package/dist/vuetify.js +7 -5
  17. package/dist/vuetify.js.map +1 -1
  18. package/dist/vuetify.min.css +2 -2
  19. package/dist/vuetify.min.js +5 -5
  20. package/dist/vuetify.min.js.map +1 -1
  21. package/lib/components/VAlert/VAlert.css +3 -1
  22. package/lib/components/VAvatar/VAvatar.css +3 -1
  23. package/lib/components/VBanner/index.d.mts +11 -11
  24. package/lib/components/VBtn/VBtn.css +3 -1
  25. package/lib/components/VCard/VCard.css +3 -1
  26. package/lib/components/VChip/VChip.css +3 -1
  27. package/lib/components/VChipGroup/index.d.mts +11 -11
  28. package/lib/components/VDataTable/index.d.mts +66 -66
  29. package/lib/components/VList/VListItem.css +3 -1
  30. package/lib/components/VNavigationDrawer/VNavigationDrawer.mjs +3 -1
  31. package/lib/components/VNavigationDrawer/VNavigationDrawer.mjs.map +1 -1
  32. package/lib/components/VNavigationDrawer/index.d.mts +19 -13
  33. package/lib/components/VSlideGroup/index.d.mts +11 -11
  34. package/lib/components/VSnackbar/VSnackbar.css +3 -1
  35. package/lib/components/VTabs/index.d.mts +11 -11
  36. package/lib/components/index.d.mts +129 -123
  37. package/lib/composables/display.mjs +1 -1
  38. package/lib/composables/display.mjs.map +1 -1
  39. package/lib/entry-bundler.mjs +1 -1
  40. package/lib/framework.mjs +1 -1
  41. package/lib/index.d.mts +42 -42
  42. package/lib/styles/tools/_variant.sass +3 -1
  43. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Vuetify v3.6.3-master.2024-05-02
2
+ * Vuetify v3.6.3-master.2024-05-03
3
3
  * Forged by John Leider
4
4
  * Released under the MIT License.
5
5
  */
@@ -592,7 +592,7 @@ return t.createVNode(Go,t.mergeProps(v,{id:a.value,"aria-describedby":l.value,di
592
592
  function vn(e){return a&&!e?window.innerWidth:"object"==typeof e&&e.clientWidth||0}function pn(e){return a&&!e?window.innerHeight:"object"==typeof e&&e.clientHeight||0}function fn(e){const t=a&&!e?window.navigator.userAgent:"ssr"
593
593
  function l(e){return Boolean(t.match(e))}return{android:l(/android/i),ios:l(/iphone|ipad|ipod/i),cordova:l(/cordova/i),electron:l(/electron/i),chrome:l(/chrome/i),edge:l(/edge/i),firefox:l(/firefox/i),opera:l(/opera/i),win:l(/win/i),mac:l(/mac/i),linux:l(/linux/i),touch:o,ssr:"ssr"===t}}function mn(e,l){const{thresholds:o,mobileBreakpoint:n}=function(){return F(dn,arguments.length>0&&void 0!==arguments[0]?arguments[0]:dn)}(e),r=t.shallowRef(pn(l)),i=t.shallowRef(fn(l)),s=t.reactive({}),u=t.shallowRef(vn(l))
594
594
  function c(){r.value=pn(),u.value=vn()}return t.watchEffect((()=>{const e=u.value<o.sm,t=u.value<o.md&&!e,a=u.value<o.lg&&!(t||e),l=u.value<o.xl&&!(a||t||e),c=u.value<o.xxl&&!(l||a||t||e),d=u.value>=o.xxl,v=e?"xs":t?"sm":a?"md":l?"lg":c?"xl":"xxl",p="number"==typeof n?n:o[n],f=u.value<p
595
- s.xs=e,s.sm=t,s.md=a,s.lg=l,s.xl=c,s.xxl=d,s.smAndUp=!e,s.mdAndUp=!(e||t),s.lgAndUp=!(e||t||a),s.xlAndUp=!(e||t||a||l),s.smAndDown=!(a||l||c||d),s.mdAndDown=!(l||c||d),s.lgAndDown=!(c||d),s.xlAndDown=!d,s.name=v,s.height=r.value,s.width=u.value,s.mobile=f,s.mobileBreakpoint=n,s.platform=i.value,s.thresholds=o})),a&&window.addEventListener("resize",c,{passive:!0}),{...t.toRefs(s),update:function(){c(),i.value=fn()},ssr:!!l}}const gn=it({mobile:{type:Boolean,default:null},mobileBreakpoint:[Number,String]},"display")
595
+ s.xs=e,s.sm=t,s.md=a,s.lg=l,s.xl=c,s.xxl=d,s.smAndUp=!e,s.mdAndUp=!(e||t),s.lgAndUp=!(e||t||a),s.xlAndUp=!(e||t||a||l),s.smAndDown=!(a||l||c||d),s.mdAndDown=!(l||c||d),s.lgAndDown=!(c||d),s.xlAndDown=!d,s.name=v,s.height=r.value,s.width=u.value,s.mobile=f,s.mobileBreakpoint=n,s.platform=i.value,s.thresholds=o})),a&&window.addEventListener("resize",c,{passive:!0}),{...t.toRefs(s),update:function(){c(),i.value=fn()},ssr:!!l}}const gn=it({mobile:{type:Boolean,default:!1},mobileBreakpoint:[Number,String]},"display")
596
596
  function hn(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:St()
597
597
  const l=t.inject(cn)
598
598
  if(!l)throw new Error("Could not find Vuetify display injection")
@@ -1820,7 +1820,7 @@ if(!a)throw new Error(`No samples for touch id ${t}`)
1820
1820
  const l=a[0],o=[],n=[]
1821
1821
  for(const e of a){if(l[0]-e[0]>100)break
1822
1822
  o.push({t:e[0],d:e[1].clientX}),n.push({t:e[0],d:e[1].clientY})}return{x:mv(o),y:mv(n),get direction(){const{x:e,y:t}=this,[a,l]=[Math.abs(e),Math.abs(t)]
1823
- return a>l&&e>=0?"right":a>l&&e<=0?"left":l>a&&t>=0?"down":l>a&&t<=0?"up":function(){throw new Error}()}}}}}function hv(){throw new Error}const yv=["start","end","left","right","top","bottom"],bv=it({color:String,disableResizeWatcher:Boolean,disableRouteWatcher:Boolean,expandOnHover:Boolean,floating:Boolean,modelValue:{type:Boolean,default:null},permanent:Boolean,rail:{type:Boolean,default:null},railWidth:{type:[Number,String],default:56},scrim:{type:[Boolean,String],default:!0},image:String,temporary:Boolean,persistent:Boolean,touchless:Boolean,width:{type:[Number,String],default:256},location:{type:String,default:"start",validator:e=>yv.includes(e)},sticky:Boolean,...vl(),...st(),...Mr(),...gn(),...fl(),...Xt(),...ol(),...ka({tag:"nav"}),...ma()},"VNavigationDrawer"),Vv=gt()({name:"VNavigationDrawer",props:bv(),emits:{"update:modelValue":e=>!0,"update:rail":e=>!0},setup(e,a){let{attrs:l,emit:o,slots:n}=a
1823
+ return a>l&&e>=0?"right":a>l&&e<=0?"left":l>a&&t>=0?"down":l>a&&t<=0?"up":function(){throw new Error}()}}}}}function hv(){throw new Error}const yv=["start","end","left","right","top","bottom"],bv=it({color:String,disableResizeWatcher:Boolean,disableRouteWatcher:Boolean,expandOnHover:Boolean,floating:Boolean,modelValue:{type:Boolean,default:null},permanent:Boolean,rail:{type:Boolean,default:null},railWidth:{type:[Number,String],default:56},scrim:{type:[Boolean,String],default:!0},image:String,temporary:Boolean,persistent:Boolean,touchless:Boolean,width:{type:[Number,String],default:256},location:{type:String,default:"start",validator:e=>yv.includes(e)},sticky:Boolean,...vl(),...st(),...Mr(),...gn({mobile:null}),...fl(),...Xt(),...ol(),...ka({tag:"nav"}),...ma()},"VNavigationDrawer"),Vv=gt()({name:"VNavigationDrawer",props:bv(),emits:{"update:modelValue":e=>!0,"update:rail":e=>!0},setup(e,a){let{attrs:l,emit:o,slots:n}=a
1824
1824
  const{isRtl:r}=pa(),{themeClasses:i}=ha(e),{borderClasses:s}=pl(e),{backgroundColorClasses:u,backgroundColorStyles:c}=ll(t.toRef(e,"color")),{elevationClasses:d}=ml(e),{displayClasses:v,mobile:p}=hn(e),{roundedClasses:m}=nl(e),g=no(),h=ta(e,"modelValue",null,(e=>!!e)),{ssrBootStyles:y}=Vl(),{scopeId:b}=Yr(),V=t.ref(),w=t.shallowRef(!1),{runOpenDelay:S,runCloseDelay:k}=Lr(e,(e=>{w.value=e})),x=t.computed((()=>e.rail&&e.expandOnHover&&w.value?Number(e.width):Number(e.rail?e.railWidth:e.width))),N=t.computed((()=>re(e.location,r.value))),C=t.computed((()=>e.persistent)),_=t.computed((()=>!e.permanent&&(p.value||e.temporary))),I=t.computed((()=>e.sticky&&!_.value&&"bottom"!==N.value))
1825
1825
  ea((()=>e.expandOnHover&&null!=e.rail),(()=>{t.watch(w,(e=>o("update:rail",!e)))})),ea((()=>!e.disableResizeWatcher),(()=>{t.watch(_,(a=>!e.permanent&&t.nextTick((()=>h.value=!a))))})),ea((()=>!e.disableRouteWatcher&&!!g),(()=>{t.watch(g.currentRoute,(()=>_.value&&(h.value=!1)))})),t.watch((()=>e.permanent),(e=>{e&&(h.value=!0)})),null!=e.modelValue||_.value||(h.value=e.permanent||!p.value)
1826
1826
  const{isDragging:B,dragProgress:P}=function(e){let{el:a,isActive:l,isTemporary:o,width:n,touchless:r,position:i}=e
@@ -2074,9 +2074,9 @@ else{const{mount:a}=e
2074
2074
  e.mount=function(){const l=a(...arguments)
2075
2075
  return t.nextTick((()=>c.update())),e.mount=a,l}}Nt.reset(),("boolean"!=typeof __VUE_OPTIONS_API__||__VUE_OPTIONS_API__)&&e.mixin({computed:{$vuetify(){return t.reactive({defaults:ef.call(this,ut),display:ef.call(this,cn),theme:ef.call(this,fa),icons:ef.call(this,Tt),locale:ef.call(this,ua),date:ef.call(this,uu)})}}})}
2076
2076
  return{install:g,defaults:u,display:c,theme:d,icons:v,locale:p,date:f,goTo:m}}function ef(e){const t=this.$,a=t.parent?.provides??t.vnode.appContext?.provides
2077
- if(a&&e in a)return a[e]}Jp.version="3.6.3-master.2024-05-02"
2077
+ if(a&&e in a)return a[e]}Jp.version="3.6.3-master.2024-05-03"
2078
2078
  const tf=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}
2079
- return Jp({components:Wp,directives:Qp,...e})},af="3.6.3-master.2024-05-02"
2079
+ return Jp({components:Wp,directives:Qp,...e})},af="3.6.3-master.2024-05-03"
2080
2080
  tf.version=af,e.blueprints=Ut,e.components=Wp,e.createVuetify=tf,e.directives=Qp,e.useDate=vu,e.useDefaults=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0
2081
2081
  const{props:a,provideSubDefaults:l}=ft(e,t)
2082
2082
  return l(),a},e.useDisplay=hn,e.useGoTo=kn,e.useLayout=Zt,e.useLocale=da,e.useRtl=pa,e.useTheme=ya,e.version=af}))