@vuetify/nightly 3.4.0-alpha.1-dev.2023-10-19 → 3.4.0-alpha.1-dev.2023-10-21

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 (46) hide show
  1. package/CHANGELOG.md +7 -2
  2. package/dist/json/importMap-labs.json +24 -24
  3. package/dist/json/importMap.json +12 -12
  4. package/dist/json/web-types.json +1 -1
  5. package/dist/vuetify-labs.css +77 -88
  6. package/dist/vuetify-labs.esm.js +7 -6
  7. package/dist/vuetify-labs.esm.js.map +1 -1
  8. package/dist/vuetify-labs.js +7 -6
  9. package/dist/vuetify-labs.min.css +2 -2
  10. package/dist/vuetify.css +77 -88
  11. package/dist/vuetify.d.ts +10 -10
  12. package/dist/vuetify.esm.js +7 -6
  13. package/dist/vuetify.esm.js.map +1 -1
  14. package/dist/vuetify.js +7 -6
  15. package/dist/vuetify.js.map +1 -1
  16. package/dist/vuetify.min.css +2 -2
  17. package/dist/vuetify.min.js +6 -6
  18. package/dist/vuetify.min.js.map +1 -1
  19. package/lib/components/VAutocomplete/VAutocomplete.css +7 -9
  20. package/lib/components/VAutocomplete/VAutocomplete.sass +10 -9
  21. package/lib/components/VAutocomplete/_variables.scss +3 -2
  22. package/lib/components/VCombobox/VCombobox.css +7 -9
  23. package/lib/components/VCombobox/VCombobox.sass +10 -9
  24. package/lib/components/VCombobox/_variables.scss +1 -0
  25. package/lib/components/VField/VField.css +32 -16
  26. package/lib/components/VField/VField.sass +11 -2
  27. package/lib/components/VField/_variables.scss +5 -3
  28. package/lib/components/VFileInput/VFileInput.css +6 -4
  29. package/lib/components/VFileInput/VFileInput.mjs +2 -1
  30. package/lib/components/VFileInput/VFileInput.mjs.map +1 -1
  31. package/lib/components/VFileInput/VFileInput.sass +10 -4
  32. package/lib/components/VInput/VInput.css +22 -16
  33. package/lib/components/VInput/VInput.sass +17 -6
  34. package/lib/components/VInput/_variables.scss +3 -3
  35. package/lib/components/VSelect/VSelect.css +0 -4
  36. package/lib/components/VSelect/VSelect.sass +0 -3
  37. package/lib/components/VTextField/VTextField.css +1 -28
  38. package/lib/components/VTextField/VTextField.mjs +1 -1
  39. package/lib/components/VTextField/VTextField.mjs.map +1 -1
  40. package/lib/components/VTextField/VTextField.sass +0 -26
  41. package/lib/components/VTextarea/VTextarea.mjs +1 -1
  42. package/lib/components/VTextarea/VTextarea.mjs.map +1 -1
  43. package/lib/entry-bundler.mjs +1 -1
  44. package/lib/framework.mjs +1 -1
  45. package/lib/index.d.mts +10 -10
  46. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Vuetify v3.4.0-alpha.1-dev.2023-10-19
2
+ * Vuetify v3.4.0-alpha.1-dev.2023-10-21
3
3
  * Forged by John Leider
4
4
  * Released under the MIT License.
5
5
  */
@@ -906,7 +906,7 @@ function p(t,a){e.autofocus&&t&&a[0].target?.focus?.()}const f=t.ref(),m=t.ref()
906
906
  function y(){g.value!==document.activeElement&&g.value?.focus(),i.value||s()}function b(e){o("mousedown:control",e),e.target!==g.value&&(y(),e.preventDefault())}function V(e){y(),o("click:control",e)}function w(a){a.stopPropagation(),y(),t.nextTick((()=>{r.value=null,q(e["onClick:clear"],a)}))}function S(a){const l=a.target
907
907
  if(r.value=l.value,e.modelModifiers?.trim&&["text","search","password","tel","url"].includes(e.type)){const e=[l.selectionStart,l.selectionEnd]
908
908
  t.nextTick((()=>{l.selectionStart=e[0],l.selectionEnd=e[1]}))}}return Nt((()=>{const a=!!(n.counter||!1!==e.counter&&null!=e.counter),o=!(!a&&!n.details),[s,k]=R(l),[{modelValue:x,...C}]=Zo.filterProps(e),[N]=Gr(e)
909
- return t.createVNode(Zo,t.mergeProps({ref:f,modelValue:r.value,"onUpdate:modelValue":e=>r.value=e,class:["v-text-field",{"v-text-field--prefixed":e.prefix,"v-text-field--suffixed":e.suffix,"v-text-field--plain-underlined":["plain","underlined"].includes(e.variant)},e.class],style:e.style},s,C,{centerAffix:!v.value,focused:i.value}),{...n,default:a=>{let{id:l,isDisabled:o,isDirty:s,isReadonly:c,isValid:d}=a
909
+ return t.createVNode(Zo,t.mergeProps({ref:f,modelValue:r.value,"onUpdate:modelValue":e=>r.value=e,class:["v-text-field",{"v-text-field--prefixed":e.prefix,"v-text-field--suffixed":e.suffix,"v-input--plain-underlined":v.value},e.class],style:e.style},s,C,{centerAffix:!v.value,focused:i.value}),{...n,default:a=>{let{id:l,isDisabled:o,isDirty:s,isReadonly:c,isValid:d}=a
910
910
  return t.createVNode(Yr,t.mergeProps({ref:m,onMousedown:b,onClick:V,"onClick:clear":w,"onClick:prependInner":e["onClick:prependInner"],"onClick:appendInner":e["onClick:appendInner"],role:e.role},N,{id:l.value,active:h.value||s.value,dirty:s.value||e.dirty,disabled:o.value,focused:i.value,error:!1===d.value}),{...n,default:a=>{let{props:{class:l,...i}}=a
911
911
  const s=t.withDirectives(t.createVNode("input",t.mergeProps({ref:g,value:r.value,onInput:S,autofocus:e.autofocus,readonly:c.value,disabled:o.value,name:e.name,placeholder:e.placeholder,size:1,type:e.type,onFocus:y,onBlur:u},i,k),null),[[t.resolveDirective("intersect"),{handler:p},null,{once:!0}]])
912
912
  return t.createVNode(t.Fragment,null,[e.prefix&&t.createVNode("span",{class:"v-text-field__prefix"},[t.createVNode("span",{class:"v-text-field__prefix__text"},[e.prefix])]),n.default?t.createVNode("div",{class:l,"data-no-activator":""},[n.default(),s]):t.cloneVNode(s,{class:l}),e.suffix&&t.createVNode("span",{class:"v-text-field__suffix"},[t.createVNode("span",{class:"v-text-field__suffix__text"},[e.suffix])])])}})},details:o?l=>t.createVNode(t.Fragment,null,[n.details?.(l),a&&t.createVNode(t.Fragment,null,[t.createVNode("span",null,null),t.createVNode(zr,{active:e.persistentCounter||i.value,value:c.value,max:d.value},n.counter)])]):void 0})})),Mr({},f,m,g)}}),Zr=a({renderless:Boolean,...l()},"VVirtualScrollItem"),Jr=vt()({name:"VVirtualScrollItem",inheritAttrs:!1,props:Zr(),emits:{"update:height":e=>!0},setup(e,a){let{attrs:l,emit:o,slots:n}=a
@@ -1215,7 +1215,7 @@ return e+a}),0))),p=t.computed((()=>L(v.value,d.value))),f=t.computed((()=>(i.va
1215
1215
  return e.showSize?`${a} (${L(l,d.value)})`:a})))),m=t.computed((()=>{const t=i.value?.length??0
1216
1216
  return e.showSize?r(e.counterSizeString,t,p.value):r(e.counterString,t)})),g=t.ref(),h=t.ref(),y=t.ref(),b=t.computed((()=>s.value||e.active)),V=t.computed((()=>["plain","underlined"].includes(e.variant)))
1217
1217
  function w(){y.value!==document.activeElement&&y.value?.focus(),s.value||u()}function S(e){x(e)}function k(e){o("mousedown:control",e)}function x(e){y.value?.click(),o("click:control",e)}function C(a){a.stopPropagation(),w(),t.nextTick((()=>{i.value=[],q(e["onClick:clear"],a)}))}return t.watch(i,(e=>{(!Array.isArray(e)||!e.length)&&y.value&&(y.value.value="")})),Nt((()=>{const a=!(!n.counter&&!e.counter),o=!(!a&&!n.details),[r,u]=R(l),[{modelValue:d,...N}]=Zo.filterProps(e),[_]=Gr(e)
1218
- return t.createVNode(Zo,t.mergeProps({ref:g,modelValue:i.value,"onUpdate:modelValue":e=>i.value=e,class:["v-file-input",{"v-text-field--plain-underlined":V.value},e.class],style:e.style,"onClick:prepend":S},r,N,{centerAffix:!V.value,focused:s.value}),{...n,default:a=>{let{id:l,isDisabled:o,isDirty:r,isReadonly:d,isValid:m}=a
1218
+ return t.createVNode(Zo,t.mergeProps({ref:g,modelValue:i.value,"onUpdate:modelValue":e=>i.value=e,class:["v-file-input",{"v-file-input--chips":!!e.chips,"v-input--plain-underlined":V.value},e.class],style:e.style,"onClick:prepend":S},r,N,{centerAffix:!V.value,focused:s.value}),{...n,default:a=>{let{id:l,isDisabled:o,isDirty:r,isReadonly:d,isValid:m}=a
1219
1219
  return t.createVNode(Yr,t.mergeProps({ref:h,"prepend-icon":e.prependIcon,onMousedown:k,onClick:x,"onClick:clear":C,"onClick:prependInner":e["onClick:prependInner"],"onClick:appendInner":e["onClick:appendInner"]},_,{id:l.value,active:b.value||r.value,dirty:r.value,disabled:o.value,focused:s.value,error:!1===m.value}),{...n,default:a=>{let{props:{class:l,...r}}=a
1220
1220
  return t.createVNode(t.Fragment,null,[t.createVNode("input",t.mergeProps({ref:y,type:"file",readonly:d.value,disabled:o.value,multiple:e.multiple,name:e.name,onClick:e=>{e.stopPropagation(),d.value&&e.preventDefault(),w()},onChange:e=>{if(!e.target)return
1221
1221
  const t=e.target
@@ -1456,7 +1456,7 @@ function _(){e.autoGrow&&t.nextTick((()=>{if(!x.value||!f.value)return
1456
1456
  const t=getComputedStyle(x.value),a=getComputedStyle(f.value.$el),l=parseFloat(t.getPropertyValue("--v-field-padding-top"))+parseFloat(t.getPropertyValue("--v-input-padding-top"))+parseFloat(t.getPropertyValue("--v-field-padding-bottom")),o=x.value.scrollHeight,n=parseFloat(t.lineHeight),r=T(o??0,Math.max(parseFloat(e.rows)*n+l,parseFloat(a.getPropertyValue("--v-input-control-height"))),parseFloat(e.maxRows)*n+l||1/0)
1457
1457
  C.value=Math.floor((r-l)/n),m.value=h(r)}))}let I
1458
1458
  return t.watchEffect((()=>{e.autoGrow||(C.value=+e.rows)})),t.onMounted(_),t.watch(r,_),t.watch((()=>e.rows),_),t.watch((()=>e.maxRows),_),t.watch((()=>e.density),_),t.watch(x,(e=>{e?(I=new ResizeObserver(_),I.observe(x.value)):I?.disconnect()})),t.onBeforeUnmount((()=>{I?.disconnect()})),Nt((()=>{const a=!!(n.counter||e.counter||e.counterValue),o=!(!a&&!n.details),[s,h]=R(l),[{modelValue:_,...I}]=Zo.filterProps(e),[B]=Gr(e)
1459
- return t.createVNode(Zo,t.mergeProps({ref:p,modelValue:r.value,"onUpdate:modelValue":e=>r.value=e,class:["v-textarea v-text-field",{"v-textarea--prefixed":e.prefix,"v-textarea--suffixed":e.suffix,"v-text-field--prefixed":e.prefix,"v-text-field--suffixed":e.suffix,"v-textarea--auto-grow":e.autoGrow,"v-textarea--no-resize":e.noResize||e.autoGrow,"v-text-field--plain-underlined":N.value},e.class],style:e.style},s,I,{centerAffix:1===C.value&&!N.value,focused:i.value}),{...n,default:a=>{let{isDisabled:l,isDirty:o,isReadonly:s,isValid:c}=a
1459
+ return t.createVNode(Zo,t.mergeProps({ref:p,modelValue:r.value,"onUpdate:modelValue":e=>r.value=e,class:["v-textarea v-text-field",{"v-textarea--prefixed":e.prefix,"v-textarea--suffixed":e.suffix,"v-text-field--prefixed":e.prefix,"v-text-field--suffixed":e.suffix,"v-textarea--auto-grow":e.autoGrow,"v-textarea--no-resize":e.noResize||e.autoGrow,"v-input--plain-underlined":N.value},e.class],style:e.style},s,I,{centerAffix:1===C.value&&!N.value,focused:i.value}),{...n,default:a=>{let{isDisabled:l,isDirty:o,isReadonly:s,isValid:c}=a
1460
1460
  return t.createVNode(Yr,t.mergeProps({ref:f,style:{"--v-textarea-control-height":m.value},onClick:V,onMousedown:w,"onClick:clear":S,"onClick:prependInner":e["onClick:prependInner"],"onClick:appendInner":e["onClick:appendInner"]},B,{active:y.value||o.value,centerAffix:1===C.value&&!N.value,dirty:o.value||e.dirty,disabled:l.value,focused:i.value,error:!1===c.value}),{...n,default:a=>{let{props:{class:o,...n}}=a
1461
1461
  return t.createVNode(t.Fragment,null,[e.prefix&&t.createVNode("span",{class:"v-text-field__prefix"},[e.prefix]),t.withDirectives(t.createVNode("textarea",t.mergeProps({ref:g,class:o,value:r.value,onInput:k,autofocus:e.autofocus,readonly:s.value,disabled:l.value,placeholder:e.placeholder,rows:e.rows,name:e.name,onFocus:b,onBlur:u},n,h),null),[[t.resolveDirective("intersect"),{handler:v},null,{once:!0}]]),e.autoGrow&&t.withDirectives(t.createVNode("textarea",{class:[o,"v-textarea__sizer"],id:`${n.id}-sizer`,"onUpdate:modelValue":e=>r.value=e,ref:x,readonly:!0,"aria-hidden":"true"},null),[[t.vModelText,r.value]]),e.suffix&&t.createVNode("span",{class:"v-text-field__suffix"},[e.suffix])])}})},details:o?l=>t.createVNode(t.Fragment,null,[n.details?.(l),a&&t.createVNode(t.Fragment,null,[t.createVNode("span",null,null),t.createVNode(zr,{active:e.persistentCounter||i.value,value:c.value,max:d.value},n.counter)])]):void 0})})),Mr({},p,f,g)}}),Dc=a({withBackground:Boolean,...l(),...Zt(),...ra()},"VThemeProvider"),Oc=vt()({name:"VThemeProvider",props:Dc(),setup(e,a){let{slots:l}=a
1462
1462
  const{themeClasses:o}=ea(e)
@@ -1544,9 +1544,9 @@ else{const{mount:a}=e
1544
1544
  e.mount=function(){const l=a(...arguments)
1545
1545
  return t.nextTick((()=>c.update())),e.mount=a,l}}Vt.reset(),("boolean"!=typeof __VUE_OPTIONS_API__||__VUE_OPTIONS_API__)&&e.mixin({computed:{$vuetify(){return t.reactive({defaults:yd.call(this,nt),display:yd.call(this,pr),theme:yd.call(this,Xt),icons:yd.call(this,Nl),locale:yd.call(this,Wt),date:yd.call(this,md)})}}})}
1546
1546
  return{install:m,defaults:u,display:c,theme:d,icons:v,locale:p,date:f}}function yd(e){const t=this.$,a=t.parent?.provides??t.vnode.appContext?.provides
1547
- if(a&&e in a)return a[e]}hd.version="3.4.0-alpha.1-dev.2023-10-19"
1547
+ if(a&&e in a)return a[e]}hd.version="3.4.0-alpha.1-dev.2023-10-21"
1548
1548
  const bd=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}
1549
- return hd({components:Jc,directives:nd,...e})},Vd="3.4.0-alpha.1-dev.2023-10-19"
1549
+ return hd({components:Jc,directives:nd,...e})},Vd="3.4.0-alpha.1-dev.2023-10-21"
1550
1550
  bd.version=Vd,e.components=Jc,e.createVuetify=bd,e.directives=nd,e.useDefaults=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0
1551
1551
  const{props:a,provideSubDefaults:l}=ct(e,t)
1552
1552
  return l(),a},e.useDisplay=Vr,e.useLayout=Tt,e.useLocale=Gt,e.useRtl=qt,e.useTheme=ta,e.version=Vd}))