@vuetify/nightly 3.6.7-master.2024-05-24 → 3.6.7-master.2024-05-27

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.
@@ -137,7 +137,8 @@ export const VSlider = genericComponent()({
137
137
  "elevation": props.elevation,
138
138
  "onFocus": focus,
139
139
  "onBlur": blur,
140
- "ripple": props.ripple
140
+ "ripple": props.ripple,
141
+ "name": props.name
141
142
  }, {
142
143
  'thumb-label': slots['thumb-label']
143
144
  })]);
@@ -1 +1 @@
1
- {"version":3,"file":"VSlider.mjs","names":["VSliderThumb","VSliderTrack","makeVInputProps","VInput","VLabel","makeSliderProps","useSlider","useSteps","makeFocusProps","useFocus","useRtl","useProxiedModel","computed","ref","genericComponent","propsFactory","useRender","makeVSliderProps","modelValue","type","Number","String","default","VSlider","name","props","emits","value","v","start","end","setup","_ref","slots","emit","thumbContainerRef","rtlClasses","steps","model","undefined","roundValue","min","max","mousePressed","onSliderMousedown","onSliderTouchstart","trackContainerRef","position","hasLabels","readonly","onSliderStart","onSliderEnd","_ref2","roundedValue","onSliderMove","_ref3","getActiveThumb","$el","isFocused","focus","blur","trackStop","inputProps","filterProps","hasPrepend","label","prepend","_createVNode","_mergeProps","disabled","class","style","slotProps","_Fragment","id","_ref4","messagesId","elevation","ripple"],"sources":["../../../src/components/VSlider/VSlider.tsx"],"sourcesContent":["// Styles\nimport './VSlider.sass'\n\n// Components\nimport { VSliderThumb } from './VSliderThumb'\nimport { VSliderTrack } from './VSliderTrack'\nimport { makeVInputProps, VInput } from '@/components/VInput/VInput'\nimport { VLabel } from '@/components/VLabel'\n\n// Composables\nimport { makeSliderProps, useSlider, useSteps } from './slider'\nimport { makeFocusProps, useFocus } from '@/composables/focus'\nimport { useRtl } from '@/composables/locale'\nimport { useProxiedModel } from '@/composables/proxiedModel'\n\n// Utilities\nimport { computed, ref } from 'vue'\nimport { genericComponent, propsFactory, useRender } from '@/util'\n\n// Types\nimport type { VSliderThumbSlots } from './VSliderThumb'\nimport type { VSliderTrackSlots } from './VSliderTrack'\nimport type { VInputSlot, VInputSlots } from '@/components/VInput/VInput'\n\nexport type VSliderSlots = VInputSlots & VSliderThumbSlots & VSliderTrackSlots & {\n label: VInputSlot\n}\n\nexport const makeVSliderProps = propsFactory({\n ...makeFocusProps(),\n ...makeSliderProps(),\n ...makeVInputProps(),\n\n modelValue: {\n type: [Number, String],\n default: 0,\n },\n}, 'VSlider')\n\nexport const VSlider = genericComponent<VSliderSlots>()({\n name: 'VSlider',\n\n props: makeVSliderProps(),\n\n emits: {\n 'update:focused': (value: boolean) => true,\n 'update:modelValue': (v: number) => true,\n start: (value: number) => true,\n end: (value: number) => true,\n },\n\n setup (props, { slots, emit }) {\n const thumbContainerRef = ref()\n const { rtlClasses } = useRtl()\n\n const steps = useSteps(props)\n\n const model = useProxiedModel(\n props,\n 'modelValue',\n undefined,\n value => {\n return steps.roundValue(value == null ? steps.min.value : value)\n },\n )\n\n const {\n min,\n max,\n mousePressed,\n roundValue,\n onSliderMousedown,\n onSliderTouchstart,\n trackContainerRef,\n position,\n hasLabels,\n readonly,\n } = useSlider({\n props,\n steps,\n onSliderStart: () => {\n emit('start', model.value)\n },\n onSliderEnd: ({ value }) => {\n const roundedValue = roundValue(value)\n model.value = roundedValue\n emit('end', roundedValue)\n },\n onSliderMove: ({ value }) => model.value = roundValue(value),\n getActiveThumb: () => thumbContainerRef.value?.$el,\n })\n\n const { isFocused, focus, blur } = useFocus(props)\n const trackStop = computed(() => position(model.value))\n\n useRender(() => {\n const inputProps = VInput.filterProps(props)\n const hasPrepend = !!(props.label || slots.label || slots.prepend)\n\n return (\n <VInput\n class={[\n 'v-slider',\n {\n 'v-slider--has-labels': !!slots['tick-label'] || hasLabels.value,\n 'v-slider--focused': isFocused.value,\n 'v-slider--pressed': mousePressed.value,\n 'v-slider--disabled': props.disabled,\n },\n rtlClasses.value,\n props.class,\n ]}\n style={ props.style }\n { ...inputProps }\n focused={ isFocused.value }\n >\n {{\n ...slots,\n prepend: hasPrepend ? slotProps => (\n <>\n { slots.label?.(slotProps) ?? (\n props.label\n ? (\n <VLabel\n id={ slotProps.id.value }\n class=\"v-slider__label\"\n text={ props.label }\n />\n ) : undefined\n )}\n\n { slots.prepend?.(slotProps) }\n </>\n ) : undefined,\n default: ({ id, messagesId }) => (\n <div\n class=\"v-slider__container\"\n onMousedown={ !readonly.value ? onSliderMousedown : undefined }\n onTouchstartPassive={ !readonly.value ? onSliderTouchstart : undefined }\n >\n <input\n id={ id.value }\n name={ props.name || id.value }\n disabled={ !!props.disabled }\n readonly={ !!props.readonly }\n tabindex=\"-1\"\n value={ model.value }\n />\n\n <VSliderTrack\n ref={ trackContainerRef }\n start={ 0 }\n stop={ trackStop.value }\n >\n {{ 'tick-label': slots['tick-label'] }}\n </VSliderTrack>\n\n <VSliderThumb\n ref={ thumbContainerRef }\n aria-describedby={ messagesId.value }\n focused={ isFocused.value }\n min={ min.value }\n max={ max.value }\n modelValue={ model.value }\n onUpdate:modelValue={ v => (model.value = v) }\n position={ trackStop.value }\n elevation={ props.elevation }\n onFocus={ focus }\n onBlur={ blur }\n ripple={ props.ripple }\n >\n {{ 'thumb-label': slots['thumb-label'] }}\n </VSliderThumb>\n </div>\n ),\n }}\n </VInput>\n )\n })\n\n return {}\n },\n})\n\nexport type VSlider = InstanceType<typeof VSlider>\n"],"mappings":";AAAA;AACA;;AAEA;AAAA,SACSA,YAAY;AAAA,SACZC,YAAY;AAAA,SACZC,eAAe,EAAEC,MAAM;AAAA,SACvBC,MAAM,+BAEf;AAAA,SACSC,eAAe,EAAEC,SAAS,EAAEC,QAAQ;AAAA,SACpCC,cAAc,EAAEC,QAAQ;AAAA,SACxBC,MAAM;AAAA,SACNC,eAAe,8CAExB;AACA,SAASC,QAAQ,EAAEC,GAAG,QAAQ,KAAK;AAAA,SAC1BC,gBAAgB,EAAEC,YAAY,EAAEC,SAAS,gCAElD;AASA,OAAO,MAAMC,gBAAgB,GAAGF,YAAY,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AK;YAAA,WACzB+B,SAAS,CAAC/B,KAAK;YAAA,OACnBc,GAAG,CAACd,KAAK;YAAA,OACTe,GAAG,CAACf,KAAK;YAAA,cACFW,KAAK,CAACX,KAAK;YAAA,uBACFC,CAAC,IAAKU,KAAK,CAACX,KAAK,GAAGC,CAAE;YAAA,YACjCiC,SAAS,CAAClC,KAAK;YAAA,aACdF,KAAK,CAACoD,SAAS;YAAA,WACjBlB,KAAK;YAAA,UACNC,IAAI;YAAA,UACJnC,KAAK,CAACqD;UAAM;YAElB,aAAa,EAAE7C,KAAK,CAAC,aAAa;UAAC;QAAA;MAG3C;IAIT,CAAC,CAAC;IAEF,OAAO,CAAC,CAAC;EACX;AACF,CAAC,CAAC","ignoreList":[]}
1
+ {"version":3,"file":"VSlider.mjs","names":["VSliderThumb","VSliderTrack","makeVInputProps","VInput","VLabel","makeSliderProps","useSlider","useSteps","makeFocusProps","useFocus","useRtl","useProxiedModel","computed","ref","genericComponent","propsFactory","useRender","makeVSliderProps","modelValue","type","Number","String","default","VSlider","name","props","emits","value","v","start","end","setup","_ref","slots","emit","thumbContainerRef","rtlClasses","steps","model","undefined","roundValue","min","max","mousePressed","onSliderMousedown","onSliderTouchstart","trackContainerRef","position","hasLabels","readonly","onSliderStart","onSliderEnd","_ref2","roundedValue","onSliderMove","_ref3","getActiveThumb","$el","isFocused","focus","blur","trackStop","inputProps","filterProps","hasPrepend","label","prepend","_createVNode","_mergeProps","disabled","class","style","slotProps","_Fragment","id","_ref4","messagesId","elevation","ripple"],"sources":["../../../src/components/VSlider/VSlider.tsx"],"sourcesContent":["// Styles\nimport './VSlider.sass'\n\n// Components\nimport { VSliderThumb } from './VSliderThumb'\nimport { VSliderTrack } from './VSliderTrack'\nimport { makeVInputProps, VInput } from '@/components/VInput/VInput'\nimport { VLabel } from '@/components/VLabel'\n\n// Composables\nimport { makeSliderProps, useSlider, useSteps } from './slider'\nimport { makeFocusProps, useFocus } from '@/composables/focus'\nimport { useRtl } from '@/composables/locale'\nimport { useProxiedModel } from '@/composables/proxiedModel'\n\n// Utilities\nimport { computed, ref } from 'vue'\nimport { genericComponent, propsFactory, useRender } from '@/util'\n\n// Types\nimport type { VSliderThumbSlots } from './VSliderThumb'\nimport type { VSliderTrackSlots } from './VSliderTrack'\nimport type { VInputSlot, VInputSlots } from '@/components/VInput/VInput'\n\nexport type VSliderSlots = VInputSlots & VSliderThumbSlots & VSliderTrackSlots & {\n label: VInputSlot\n}\n\nexport const makeVSliderProps = propsFactory({\n ...makeFocusProps(),\n ...makeSliderProps(),\n ...makeVInputProps(),\n\n modelValue: {\n type: [Number, String],\n default: 0,\n },\n}, 'VSlider')\n\nexport const VSlider = genericComponent<VSliderSlots>()({\n name: 'VSlider',\n\n props: makeVSliderProps(),\n\n emits: {\n 'update:focused': (value: boolean) => true,\n 'update:modelValue': (v: number) => true,\n start: (value: number) => true,\n end: (value: number) => true,\n },\n\n setup (props, { slots, emit }) {\n const thumbContainerRef = ref()\n const { rtlClasses } = useRtl()\n\n const steps = useSteps(props)\n\n const model = useProxiedModel(\n props,\n 'modelValue',\n undefined,\n value => {\n return steps.roundValue(value == null ? steps.min.value : value)\n },\n )\n\n const {\n min,\n max,\n mousePressed,\n roundValue,\n onSliderMousedown,\n onSliderTouchstart,\n trackContainerRef,\n position,\n hasLabels,\n readonly,\n } = useSlider({\n props,\n steps,\n onSliderStart: () => {\n emit('start', model.value)\n },\n onSliderEnd: ({ value }) => {\n const roundedValue = roundValue(value)\n model.value = roundedValue\n emit('end', roundedValue)\n },\n onSliderMove: ({ value }) => model.value = roundValue(value),\n getActiveThumb: () => thumbContainerRef.value?.$el,\n })\n\n const { isFocused, focus, blur } = useFocus(props)\n const trackStop = computed(() => position(model.value))\n\n useRender(() => {\n const inputProps = VInput.filterProps(props)\n const hasPrepend = !!(props.label || slots.label || slots.prepend)\n\n return (\n <VInput\n class={[\n 'v-slider',\n {\n 'v-slider--has-labels': !!slots['tick-label'] || hasLabels.value,\n 'v-slider--focused': isFocused.value,\n 'v-slider--pressed': mousePressed.value,\n 'v-slider--disabled': props.disabled,\n },\n rtlClasses.value,\n props.class,\n ]}\n style={ props.style }\n { ...inputProps }\n focused={ isFocused.value }\n >\n {{\n ...slots,\n prepend: hasPrepend ? slotProps => (\n <>\n { slots.label?.(slotProps) ?? (\n props.label\n ? (\n <VLabel\n id={ slotProps.id.value }\n class=\"v-slider__label\"\n text={ props.label }\n />\n ) : undefined\n )}\n\n { slots.prepend?.(slotProps) }\n </>\n ) : undefined,\n default: ({ id, messagesId }) => (\n <div\n class=\"v-slider__container\"\n onMousedown={ !readonly.value ? onSliderMousedown : undefined }\n onTouchstartPassive={ !readonly.value ? onSliderTouchstart : undefined }\n >\n <input\n id={ id.value }\n name={ props.name || id.value }\n disabled={ !!props.disabled }\n readonly={ !!props.readonly }\n tabindex=\"-1\"\n value={ model.value }\n />\n\n <VSliderTrack\n ref={ trackContainerRef }\n start={ 0 }\n stop={ trackStop.value }\n >\n {{ 'tick-label': slots['tick-label'] }}\n </VSliderTrack>\n\n <VSliderThumb\n ref={ thumbContainerRef }\n aria-describedby={ messagesId.value }\n focused={ isFocused.value }\n min={ min.value }\n max={ max.value }\n modelValue={ model.value }\n onUpdate:modelValue={ v => (model.value = v) }\n position={ trackStop.value }\n elevation={ props.elevation }\n onFocus={ focus }\n onBlur={ blur }\n ripple={ props.ripple }\n name={ props.name }\n >\n {{ 'thumb-label': slots['thumb-label'] }}\n </VSliderThumb>\n </div>\n ),\n }}\n </VInput>\n )\n })\n\n return {}\n },\n})\n\nexport type VSlider = InstanceType<typeof VSlider>\n"],"mappings":";AAAA;AACA;;AAEA;AAAA,SACSA,YAAY;AAAA,SACZC,YAAY;AAAA,SACZC,eAAe,EAAEC,MAAM;AAAA,SACvBC,MAAM,+BAEf;AAAA,SACSC,eAAe,EAAEC,SAAS,EAAEC,QAAQ;AAAA,SACpCC,cAAc,EAAEC,QAAQ;AAAA,SACxBC,MAAM;AAAA,SACNC,eAAe,8CAExB;AACA,SAASC,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K;YAEnB,YAAY,EAAEM,KAAK,CAAC,YAAY;UAAC,IAAAkC,YAAA,CAAAnE,YAAA;YAAA,OAI9BmC,iBAAiB;YAAA,oBACJyC,UAAU,CAACjD,KAAK;YAAA,WACzB+B,SAAS,CAAC/B,KAAK;YAAA,OACnBc,GAAG,CAACd,KAAK;YAAA,OACTe,GAAG,CAACf,KAAK;YAAA,cACFW,KAAK,CAACX,KAAK;YAAA,uBACFC,CAAC,IAAKU,KAAK,CAACX,KAAK,GAAGC,CAAE;YAAA,YACjCiC,SAAS,CAAClC,KAAK;YAAA,aACdF,KAAK,CAACoD,SAAS;YAAA,WACjBlB,KAAK;YAAA,UACNC,IAAI;YAAA,UACJnC,KAAK,CAACqD,MAAM;YAAA,QACdrD,KAAK,CAACD;UAAI;YAEd,aAAa,EAAES,KAAK,CAAC,aAAa;UAAC;QAAA;MAG3C;IAIT,CAAC,CAAC;IAEF,OAAO,CAAC,CAAC;EACX;AACF,CAAC,CAAC","ignoreList":[]}
@@ -34,6 +34,7 @@ export const makeVSliderThumbProps = propsFactory({
34
34
  type: [Boolean, Object],
35
35
  default: true
36
36
  },
37
+ name: String,
37
38
  ...makeComponentProps()
38
39
  }, 'VSliderThumb');
39
40
  export const VSliderThumb = genericComponent()({
@@ -130,6 +131,7 @@ export const VSliderThumb = genericComponent()({
130
131
  }, props.style],
131
132
  "role": "slider",
132
133
  "tabindex": disabled.value ? -1 : 0,
134
+ "aria-label": props.name,
133
135
  "aria-valuemin": props.min,
134
136
  "aria-valuemax": props.max,
135
137
  "aria-valuenow": props.modelValue,
@@ -1 +1 @@
1
- {"version":3,"file":"VSliderThumb.mjs","names":["VSliderSymbol","VScaleTransition","useTextColor","makeComponentProps","useElevation","useRtl","Ripple","computed","inject","convertToUnit","genericComponent","keyValues","propsFactory","useRender","makeVSliderThumbProps","focused","Boolean","max","type","Number","required","min","modelValue","position","ripple","Object","default","VSliderThumb","name","directives","props","emits","v","setup","_ref","slots","emit","slider","isRtl","rtlClasses","Error","thumbColor","step","disabled","thumbSize","thumbLabel","direction","isReversed","vertical","readonly","elevation","mousePressed","decimals","indexFromEnd","elevationProps","value","undefined","elevationClasses","textColorClasses","textColorStyles","pageup","pagedown","end","home","left","right","down","up","relevantKeys","multipliers","parseKeydown","e","includes","key","preventDefault","_step","steps","increase","multiplier","shiftKey","ctrlKey","Math","onKeydown","newValue","positionPercentage","_createVNode","class","style","_withDirectives","_resolveDirective","circle","center","toFixed","_vShow"],"sources":["../../../src/components/VSlider/VSliderThumb.tsx"],"sourcesContent":["// Styles\nimport './VSliderThumb.sass'\n\n// Components\nimport { VSliderSymbol } from './slider'\nimport { VScaleTransition } from '../transitions'\n\n// Composables\nimport { useTextColor } from '@/composables/color'\nimport { makeComponentProps } from '@/composables/component'\nimport { useElevation } from '@/composables/elevation'\nimport { useRtl } from '@/composables/locale'\n\n// Directives\nimport Ripple from '@/directives/ripple'\n\n// Utilities\nimport { computed, inject } from 'vue'\nimport { convertToUnit, genericComponent, keyValues, propsFactory, useRender } from '@/util'\n\n// Types\nimport type { PropType } from 'vue'\nimport type { RippleDirectiveBinding } from '@/directives/ripple'\n\nexport type VSliderThumbSlots = {\n 'thumb-label': { modelValue: number }\n}\n\nexport const makeVSliderThumbProps = propsFactory({\n focused: Boolean,\n max: {\n type: Number,\n required: true,\n },\n min: {\n type: Number,\n required: true,\n },\n modelValue: {\n type: Number,\n required: true,\n },\n position: {\n type: Number,\n required: true,\n },\n ripple: {\n type: [Boolean, Object] as PropType<RippleDirectiveBinding['value']>,\n default: true,\n },\n\n ...makeComponentProps(),\n}, 'VSliderThumb')\n\nexport const VSliderThumb = genericComponent<VSliderThumbSlots>()({\n name: 'VSliderThumb',\n\n directives: { Ripple },\n\n props: makeVSliderThumbProps(),\n\n emits: {\n 'update:modelValue': (v: number) => true,\n },\n\n setup (props, { slots, emit }) {\n const slider = inject(VSliderSymbol)\n const { isRtl, rtlClasses } = useRtl()\n if (!slider) throw new Error('[Vuetify] v-slider-thumb must be used inside v-slider or v-range-slider')\n\n const {\n thumbColor,\n step,\n disabled,\n thumbSize,\n thumbLabel,\n direction,\n isReversed,\n vertical,\n readonly,\n elevation,\n mousePressed,\n decimals,\n indexFromEnd,\n } = slider\n\n const elevationProps = computed(() => !disabled.value ? elevation.value : undefined)\n const { elevationClasses } = useElevation(elevationProps)\n const { textColorClasses, textColorStyles } = useTextColor(thumbColor)\n\n const { pageup, pagedown, end, home, left, right, down, up } = keyValues\n const relevantKeys = [pageup, pagedown, end, home, left, right, down, up]\n\n const multipliers = computed(() => {\n if (step.value) return [1, 2, 3]\n else return [1, 5, 10]\n })\n\n function parseKeydown (e: KeyboardEvent, value: number) {\n if (!relevantKeys.includes(e.key)) return\n\n e.preventDefault()\n\n const _step = step.value || 0.1\n const steps = (props.max - props.min) / _step\n if ([left, right, down, up].includes(e.key)) {\n const increase = vertical.value\n ? [isRtl.value ? left : right, isReversed.value ? down : up]\n : indexFromEnd.value !== isRtl.value ? [left, up] : [right, up]\n const direction = increase.includes(e.key) ? 1 : -1\n const multiplier = e.shiftKey ? 2 : (e.ctrlKey ? 1 : 0)\n\n value = value + (direction * _step * multipliers.value[multiplier])\n } else if (e.key === home) {\n value = props.min\n } else if (e.key === end) {\n value = props.max\n } else {\n const direction = e.key === pagedown ? 1 : -1\n value = value - (direction * _step * (steps > 100 ? steps / 10 : 10))\n }\n\n return Math.max(props.min, Math.min(props.max, value))\n }\n\n function onKeydown (e: KeyboardEvent) {\n const newValue = parseKeydown(e, props.modelValue)\n\n newValue != null && emit('update:modelValue', newValue)\n }\n\n useRender(() => {\n const positionPercentage = convertToUnit(indexFromEnd.value ? 100 - props.position : props.position, '%')\n\n return (\n <div\n class={[\n 'v-slider-thumb',\n {\n 'v-slider-thumb--focused': props.focused,\n 'v-slider-thumb--pressed': props.focused && mousePressed.value,\n },\n props.class,\n rtlClasses.value,\n ]}\n style={[\n {\n '--v-slider-thumb-position': positionPercentage,\n '--v-slider-thumb-size': convertToUnit(thumbSize.value),\n },\n props.style,\n ]}\n role=\"slider\"\n tabindex={ disabled.value ? -1 : 0 }\n aria-valuemin={ props.min }\n aria-valuemax={ props.max }\n aria-valuenow={ props.modelValue }\n aria-readonly={ !!readonly.value }\n aria-orientation={ direction.value }\n onKeydown={ !readonly.value ? onKeydown : undefined }\n >\n <div\n class={[\n 'v-slider-thumb__surface',\n textColorClasses.value,\n elevationClasses.value,\n ]}\n style={{\n ...textColorStyles.value,\n }}\n />\n <div\n class={[\n 'v-slider-thumb__ripple',\n textColorClasses.value,\n ]}\n style={ textColorStyles.value }\n v-ripple={[props.ripple, null, ['circle', 'center']]}\n />\n <VScaleTransition origin=\"bottom center\">\n <div\n class=\"v-slider-thumb__label-container\"\n v-show={ (thumbLabel.value && props.focused) || thumbLabel.value === 'always' }\n >\n <div\n class={[\n 'v-slider-thumb__label',\n ]}\n >\n <div>\n { slots['thumb-label']?.({ modelValue: props.modelValue }) ?? props.modelValue.toFixed(step.value ? decimals.value : 1) }\n </div>\n </div>\n </div>\n </VScaleTransition>\n </div>\n )\n })\n\n return {}\n },\n})\n\nexport type VSliderThumb = InstanceType<typeof VSliderThumb>\n"],"mappings":";AAAA;AACA;;AAEA;AAAA,SACSA,aAAa;AAAA,SACbC,gBAAgB,oCAEzB;AAAA,SACSC,YAAY;AAAA,SACZC,kBAAkB;AAAA,SAClBC,YAAY;AAAA,SACZC,MAAM,wCAEf;AAAA,OACOC,MAAM,2CAEb;AACA,SAASC,QAAQ,EAAEC,MAAM,QAAQ,KAAK;AAAA,SAC7BC,aAAa,EAAEC,gBAAgB,EAAEC,SAAS,EAAEC,YAAY,EAAEC,SAAS,gCAE5E;AAQA,OAAO,MAAMC,qBAAqB,GAAGF,YAAY,CAAC;EAChDG,OAAO,EAAEC,OAAO;EAChBC,GAAG,EAAE;IACHC,IAAI,EAAEC,MAAM;IACZC,QAAQ,EAAE;EACZ,CAAC;EACDC,GAAG,EAAE;IACHH,IAAI,EAAEC,MAAM;IACZC,QAAQ,EAAE;EACZ,CAAC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A8D,eAAA,CAAAH,YAAA;UAAA;QAAA,IAAAA,YAAA;UAAA,SAQlB,CACL,uBAAuB;QACxB,IAAAA,YAAA,eAGGlD,KAAK,CAAC,aAAa,CAAC,GAAG;UAAEb,UAAU,EAAEQ,KAAK,CAACR;QAAW,CAAC,CAAC,IAAIQ,KAAK,CAACR,UAAU,CAACsE,OAAO,CAAClD,IAAI,CAACa,KAAK,GAAGH,QAAQ,CAACG,KAAK,GAAG,CAAC,CAAC,UAAAsC,MAAA,EARjHhD,UAAU,CAACU,KAAK,IAAIzB,KAAK,CAACf,OAAO,IAAK8B,UAAU,CAACU,KAAK,KAAK,QAAQ;MAAA;IAevF,CAAC,CAAC;IAEF,OAAO,CAAC,CAAC;EACX;AACF,CAAC,CAAC","ignoreList":[]}
1
+ {"version":3,"file":"VSliderThumb.mjs","names":["VSliderSymbol","VScaleTransition","useTextColor","makeComponentProps","useElevation","useRtl","Ripple","computed","inject","convertToUnit","genericComponent","keyValues","propsFactory","useRender","makeVSliderThumbProps","focused","Boolean","max","type","Number","required","min","modelValue","position","ripple","Object","default","name","String","VSliderThumb","directives","props","emits","v","setup","_ref","slots","emit","slider","isRtl","rtlClasses","Error","thumbColor","step","disabled","thumbSize","thumbLabel","direction","isReversed","vertical","readonly","elevation","mousePressed","decimals","indexFromEnd","elevationProps","value","undefined","elevationClasses","textColorClasses","textColorStyles","pageup","pagedown","end","home","left","right","down","up","relevantKeys","multipliers","parseKeydown","e","includes","key","preventDefault","_step","steps","increase","multiplier","shiftKey","ctrlKey","Math","onKeydown","newValue","positionPercentage","_createVNode","class","style","_withDirectives","_resolveDirective","circle","center","toFixed","_vShow"],"sources":["../../../src/components/VSlider/VSliderThumb.tsx"],"sourcesContent":["// Styles\nimport './VSliderThumb.sass'\n\n// Components\nimport { VSliderSymbol } from './slider'\nimport { VScaleTransition } from '../transitions'\n\n// Composables\nimport { useTextColor } from '@/composables/color'\nimport { makeComponentProps } from '@/composables/component'\nimport { useElevation } from '@/composables/elevation'\nimport { useRtl } from '@/composables/locale'\n\n// Directives\nimport Ripple from '@/directives/ripple'\n\n// Utilities\nimport { computed, inject } from 'vue'\nimport { convertToUnit, genericComponent, keyValues, propsFactory, useRender } from '@/util'\n\n// Types\nimport type { PropType } from 'vue'\nimport type { RippleDirectiveBinding } from '@/directives/ripple'\n\nexport type VSliderThumbSlots = {\n 'thumb-label': { modelValue: number }\n}\n\nexport const makeVSliderThumbProps = propsFactory({\n focused: Boolean,\n max: {\n type: Number,\n required: true,\n },\n min: {\n type: Number,\n required: true,\n },\n modelValue: {\n type: Number,\n required: true,\n },\n position: {\n type: Number,\n required: true,\n },\n ripple: {\n type: [Boolean, Object] as PropType<RippleDirectiveBinding['value']>,\n default: true,\n },\n name: String,\n\n ...makeComponentProps(),\n}, 'VSliderThumb')\n\nexport const VSliderThumb = genericComponent<VSliderThumbSlots>()({\n name: 'VSliderThumb',\n\n directives: { Ripple },\n\n props: makeVSliderThumbProps(),\n\n emits: {\n 'update:modelValue': (v: number) => true,\n },\n\n setup (props, { slots, emit }) {\n const slider = inject(VSliderSymbol)\n const { isRtl, rtlClasses } = useRtl()\n if (!slider) throw new Error('[Vuetify] v-slider-thumb must be used inside v-slider or v-range-slider')\n\n const {\n thumbColor,\n step,\n disabled,\n thumbSize,\n thumbLabel,\n direction,\n isReversed,\n vertical,\n readonly,\n elevation,\n mousePressed,\n decimals,\n indexFromEnd,\n } = slider\n\n const elevationProps = computed(() => !disabled.value ? elevation.value : undefined)\n const { elevationClasses } = useElevation(elevationProps)\n const { textColorClasses, textColorStyles } = useTextColor(thumbColor)\n\n const { pageup, pagedown, end, home, left, right, down, up } = keyValues\n const relevantKeys = [pageup, pagedown, end, home, left, right, down, up]\n\n const multipliers = computed(() => {\n if (step.value) return [1, 2, 3]\n else return [1, 5, 10]\n })\n\n function parseKeydown (e: KeyboardEvent, value: number) {\n if (!relevantKeys.includes(e.key)) return\n\n e.preventDefault()\n\n const _step = step.value || 0.1\n const steps = (props.max - props.min) / _step\n if ([left, right, down, up].includes(e.key)) {\n const increase = vertical.value\n ? [isRtl.value ? left : right, isReversed.value ? down : up]\n : indexFromEnd.value !== isRtl.value ? [left, up] : [right, up]\n const direction = increase.includes(e.key) ? 1 : -1\n const multiplier = e.shiftKey ? 2 : (e.ctrlKey ? 1 : 0)\n\n value = value + (direction * _step * multipliers.value[multiplier])\n } else if (e.key === home) {\n value = props.min\n } else if (e.key === end) {\n value = props.max\n } else {\n const direction = e.key === pagedown ? 1 : -1\n value = value - (direction * _step * (steps > 100 ? steps / 10 : 10))\n }\n\n return Math.max(props.min, Math.min(props.max, value))\n }\n\n function onKeydown (e: KeyboardEvent) {\n const newValue = parseKeydown(e, props.modelValue)\n\n newValue != null && emit('update:modelValue', newValue)\n }\n\n useRender(() => {\n const positionPercentage = convertToUnit(indexFromEnd.value ? 100 - props.position : props.position, '%')\n\n return (\n <div\n class={[\n 'v-slider-thumb',\n {\n 'v-slider-thumb--focused': props.focused,\n 'v-slider-thumb--pressed': props.focused && mousePressed.value,\n },\n props.class,\n rtlClasses.value,\n ]}\n style={[\n {\n '--v-slider-thumb-position': positionPercentage,\n '--v-slider-thumb-size': convertToUnit(thumbSize.value),\n },\n props.style,\n ]}\n role=\"slider\"\n tabindex={ disabled.value ? -1 : 0 }\n aria-label={ props.name }\n aria-valuemin={ props.min }\n aria-valuemax={ props.max }\n aria-valuenow={ props.modelValue }\n aria-readonly={ !!readonly.value }\n aria-orientation={ direction.value }\n onKeydown={ !readonly.value ? onKeydown : undefined }\n >\n <div\n class={[\n 'v-slider-thumb__surface',\n textColorClasses.value,\n elevationClasses.value,\n ]}\n style={{\n ...textColorStyles.value,\n }}\n />\n <div\n class={[\n 'v-slider-thumb__ripple',\n textColorClasses.value,\n ]}\n style={ textColorStyles.value }\n v-ripple={[props.ripple, null, ['circle', 'center']]}\n />\n <VScaleTransition origin=\"bottom center\">\n <div\n class=\"v-slider-thumb__label-container\"\n v-show={ (thumbLabel.value && props.focused) || thumbLabel.value === 'always' }\n >\n <div\n class={[\n 'v-slider-thumb__label',\n ]}\n >\n <div>\n { slots['thumb-label']?.({ modelValue: props.modelValue }) ?? props.modelValue.toFixed(step.value ? decimals.value : 1) }\n </div>\n </div>\n </div>\n </VScaleTransition>\n </div>\n )\n })\n\n return {}\n },\n})\n\nexport type VSliderThumb = InstanceType<typeof VSliderThumb>\n"],"mappings":";AAAA;AACA;;AAEA;AAAA,SACSA,aAAa;AAAA,SACbC,gBAAgB,oCAEzB;AAAA,SACSC,YAAY;AAAA,SACZC,kBAAkB;AAAA,SAClBC,YAAY;AAAA,SACZC,MAAM,wCAEf;AAAA,OACOC,MAAM,2CAEb;AACA,SAASC,QAAQ,EAAEC,MAAM,QAAQ,KAAK;AAAA,SAC7BC,aAAa,EAAEC,gBAAgB,EAAEC,SAAS,EAAEC,YAAY,EAAEC,SAAS,gCAE5E;AAQA,OAAO,MAAMC,qBAAqB,GAAGF,YAAY,CAAC;EAChDG,OAAO,EAAEC,OAAO;EAChBC,GAAG,EAAE;IACHC,IAAI,EAAEC,MAAM;IACZC,QAAQ,EAAE;EACZ,CAAC;EACDC,GAAG,EAAE;IACHH,IAAI,EAAEC,MAAM;IACZC,QAAQ,EAAE;EACZ,CAAC;EACDE,UAAU,EAAE;IACVJ,IAAI,EAAEC,MAAM;IACZC,QAAQ,EAAE;EACZ,CAAC;EACDG,QAAQ,EAAE;IACRL,IAAI,EAAEC,MAAM;IACZC,QAAQ,EAAE;EACZ,CAAC;EACDI,MAAM,EAAE;IACNN,IAAI,EAAE,CAACF,OAAO,EAAES,MAAM,CAA8C;IACpEC,OAAO,EAAE;EACX,CAAC;EACDC,IAAI,EAAEC,MAAM;EAEZ,GAAGzB,kBAAkB,CAAC;AACxB,CAAC,EAAE,cAAc,CAAC;AAElB,OAAO,MAAM0B,YAAY,GAAGnB,gBAAgB,CAAoB,CAAC,CAAC;EAChEiB,IAAI,EAAE,cAAc;EAEpBG,UAAU,EAAE;IAAExB;EAAO,CAAC;EAEtByB,KAAK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,CAAC;IAEF,OAAO,CAAC,CAAC;EACX;AACF,CAAC,CAAC","ignoreList":[]}
@@ -16,7 +16,7 @@ export const createVuetify = function () {
16
16
  ...options
17
17
  });
18
18
  };
19
- export const version = "3.6.7-master.2024-05-24";
19
+ export const version = "3.6.7-master.2024-05-27";
20
20
  createVuetify.version = version;
21
21
  export { blueprints, components, directives };
22
22
  export * from "./composables/index.mjs";
package/lib/framework.mjs CHANGED
@@ -97,7 +97,7 @@ export function createVuetify() {
97
97
  goTo
98
98
  };
99
99
  }
100
- export const version = "3.6.7-master.2024-05-24";
100
+ export const version = "3.6.7-master.2024-05-27";
101
101
  createVuetify.version = version;
102
102
 
103
103
  // Vue's inject() can only be used in setup
package/lib/index.d.mts CHANGED
@@ -493,56 +493,56 @@ declare module '@vue/runtime-core' {
493
493
  }
494
494
 
495
495
  export interface GlobalComponents {
496
- VAutocomplete: typeof import('vuetify/components')['VAutocomplete']
496
+ VApp: typeof import('vuetify/components')['VApp']
497
+ VAlert: typeof import('vuetify/components')['VAlert']
498
+ VAlertTitle: typeof import('vuetify/components')['VAlertTitle']
497
499
  VAppBar: typeof import('vuetify/components')['VAppBar']
498
500
  VAppBarNavIcon: typeof import('vuetify/components')['VAppBarNavIcon']
499
501
  VAppBarTitle: typeof import('vuetify/components')['VAppBarTitle']
500
- VAlert: typeof import('vuetify/components')['VAlert']
501
- VAlertTitle: typeof import('vuetify/components')['VAlertTitle']
502
- VApp: typeof import('vuetify/components')['VApp']
503
- VBadge: typeof import('vuetify/components')['VBadge']
502
+ VBanner: typeof import('vuetify/components')['VBanner']
503
+ VBannerActions: typeof import('vuetify/components')['VBannerActions']
504
+ VBannerText: typeof import('vuetify/components')['VBannerText']
504
505
  VAvatar: typeof import('vuetify/components')['VAvatar']
506
+ VAutocomplete: typeof import('vuetify/components')['VAutocomplete']
507
+ VBottomSheet: typeof import('vuetify/components')['VBottomSheet']
508
+ VBadge: typeof import('vuetify/components')['VBadge']
509
+ VBottomNavigation: typeof import('vuetify/components')['VBottomNavigation']
505
510
  VBreadcrumbs: typeof import('vuetify/components')['VBreadcrumbs']
506
511
  VBreadcrumbsItem: typeof import('vuetify/components')['VBreadcrumbsItem']
507
512
  VBreadcrumbsDivider: typeof import('vuetify/components')['VBreadcrumbsDivider']
508
- VBottomSheet: typeof import('vuetify/components')['VBottomSheet']
509
- VBottomNavigation: typeof import('vuetify/components')['VBottomNavigation']
510
- VBanner: typeof import('vuetify/components')['VBanner']
511
- VBannerActions: typeof import('vuetify/components')['VBannerActions']
512
- VBannerText: typeof import('vuetify/components')['VBannerText']
513
513
  VBtn: typeof import('vuetify/components')['VBtn']
514
- VBtnGroup: typeof import('vuetify/components')['VBtnGroup']
515
- VCheckbox: typeof import('vuetify/components')['VCheckbox']
516
- VCheckboxBtn: typeof import('vuetify/components')['VCheckboxBtn']
517
- VCarousel: typeof import('vuetify/components')['VCarousel']
518
- VCarouselItem: typeof import('vuetify/components')['VCarouselItem']
519
- VBtnToggle: typeof import('vuetify/components')['VBtnToggle']
520
- VChip: typeof import('vuetify/components')['VChip']
521
514
  VCard: typeof import('vuetify/components')['VCard']
522
515
  VCardActions: typeof import('vuetify/components')['VCardActions']
523
516
  VCardItem: typeof import('vuetify/components')['VCardItem']
524
517
  VCardSubtitle: typeof import('vuetify/components')['VCardSubtitle']
525
518
  VCardText: typeof import('vuetify/components')['VCardText']
526
519
  VCardTitle: typeof import('vuetify/components')['VCardTitle']
527
- VChipGroup: typeof import('vuetify/components')['VChipGroup']
528
- VColorPicker: typeof import('vuetify/components')['VColorPicker']
520
+ VBtnGroup: typeof import('vuetify/components')['VBtnGroup']
521
+ VBtnToggle: typeof import('vuetify/components')['VBtnToggle']
522
+ VCheckbox: typeof import('vuetify/components')['VCheckbox']
523
+ VCheckboxBtn: typeof import('vuetify/components')['VCheckboxBtn']
524
+ VCarousel: typeof import('vuetify/components')['VCarousel']
525
+ VCarouselItem: typeof import('vuetify/components')['VCarouselItem']
526
+ VChip: typeof import('vuetify/components')['VChip']
529
527
  VCode: typeof import('vuetify/components')['VCode']
530
528
  VCombobox: typeof import('vuetify/components')['VCombobox']
531
- VDataTable: typeof import('vuetify/components')['VDataTable']
532
- VDataTableHeaders: typeof import('vuetify/components')['VDataTableHeaders']
533
- VDataTableFooter: typeof import('vuetify/components')['VDataTableFooter']
534
- VDataTableRows: typeof import('vuetify/components')['VDataTableRows']
535
- VDataTableRow: typeof import('vuetify/components')['VDataTableRow']
536
- VDataTableVirtual: typeof import('vuetify/components')['VDataTableVirtual']
537
- VDataTableServer: typeof import('vuetify/components')['VDataTableServer']
538
- VEmptyState: typeof import('vuetify/components')['VEmptyState']
529
+ VChipGroup: typeof import('vuetify/components')['VChipGroup']
539
530
  VDatePicker: typeof import('vuetify/components')['VDatePicker']
540
531
  VDatePickerControls: typeof import('vuetify/components')['VDatePickerControls']
541
532
  VDatePickerHeader: typeof import('vuetify/components')['VDatePickerHeader']
542
533
  VDatePickerMonth: typeof import('vuetify/components')['VDatePickerMonth']
543
534
  VDatePickerMonths: typeof import('vuetify/components')['VDatePickerMonths']
544
535
  VDatePickerYears: typeof import('vuetify/components')['VDatePickerYears']
536
+ VCounter: typeof import('vuetify/components')['VCounter']
545
537
  VDialog: typeof import('vuetify/components')['VDialog']
538
+ VColorPicker: typeof import('vuetify/components')['VColorPicker']
539
+ VDataTable: typeof import('vuetify/components')['VDataTable']
540
+ VDataTableHeaders: typeof import('vuetify/components')['VDataTableHeaders']
541
+ VDataTableFooter: typeof import('vuetify/components')['VDataTableFooter']
542
+ VDataTableRows: typeof import('vuetify/components')['VDataTableRows']
543
+ VDataTableRow: typeof import('vuetify/components')['VDataTableRow']
544
+ VDataTableVirtual: typeof import('vuetify/components')['VDataTableVirtual']
545
+ VDataTableServer: typeof import('vuetify/components')['VDataTableServer']
546
546
  VDivider: typeof import('vuetify/components')['VDivider']
547
547
  VExpansionPanels: typeof import('vuetify/components')['VExpansionPanels']
548
548
  VExpansionPanel: typeof import('vuetify/components')['VExpansionPanel']
@@ -550,11 +550,13 @@ declare module '@vue/runtime-core' {
550
550
  VExpansionPanelTitle: typeof import('vuetify/components')['VExpansionPanelTitle']
551
551
  VField: typeof import('vuetify/components')['VField']
552
552
  VFieldLabel: typeof import('vuetify/components')['VFieldLabel']
553
- VFooter: typeof import('vuetify/components')['VFooter']
553
+ VEmptyState: typeof import('vuetify/components')['VEmptyState']
554
554
  VFileInput: typeof import('vuetify/components')['VFileInput']
555
555
  VFab: typeof import('vuetify/components')['VFab']
556
+ VFooter: typeof import('vuetify/components')['VFooter']
556
557
  VImg: typeof import('vuetify/components')['VImg']
557
558
  VInput: typeof import('vuetify/components')['VInput']
559
+ VInfiniteScroll: typeof import('vuetify/components')['VInfiniteScroll']
558
560
  VIcon: typeof import('vuetify/components')['VIcon']
559
561
  VComponentIcon: typeof import('vuetify/components')['VComponentIcon']
560
562
  VSvgIcon: typeof import('vuetify/components')['VSvgIcon']
@@ -564,7 +566,6 @@ declare module '@vue/runtime-core' {
564
566
  VItem: typeof import('vuetify/components')['VItem']
565
567
  VLabel: typeof import('vuetify/components')['VLabel']
566
568
  VKbd: typeof import('vuetify/components')['VKbd']
567
- VInfiniteScroll: typeof import('vuetify/components')['VInfiniteScroll']
568
569
  VList: typeof import('vuetify/components')['VList']
569
570
  VListGroup: typeof import('vuetify/components')['VListGroup']
570
571
  VListImg: typeof import('vuetify/components')['VListImg']
@@ -574,26 +575,27 @@ declare module '@vue/runtime-core' {
574
575
  VListItemSubtitle: typeof import('vuetify/components')['VListItemSubtitle']
575
576
  VListItemTitle: typeof import('vuetify/components')['VListItemTitle']
576
577
  VListSubheader: typeof import('vuetify/components')['VListSubheader']
577
- VMain: typeof import('vuetify/components')['VMain']
578
578
  VMenu: typeof import('vuetify/components')['VMenu']
579
- VOtpInput: typeof import('vuetify/components')['VOtpInput']
579
+ VMain: typeof import('vuetify/components')['VMain']
580
580
  VMessages: typeof import('vuetify/components')['VMessages']
581
581
  VNavigationDrawer: typeof import('vuetify/components')['VNavigationDrawer']
582
- VOverlay: typeof import('vuetify/components')['VOverlay']
582
+ VOtpInput: typeof import('vuetify/components')['VOtpInput']
583
583
  VPagination: typeof import('vuetify/components')['VPagination']
584
+ VOverlay: typeof import('vuetify/components')['VOverlay']
584
585
  VProgressCircular: typeof import('vuetify/components')['VProgressCircular']
585
586
  VRadioGroup: typeof import('vuetify/components')['VRadioGroup']
586
587
  VProgressLinear: typeof import('vuetify/components')['VProgressLinear']
587
588
  VRating: typeof import('vuetify/components')['VRating']
588
- VSelectionControl: typeof import('vuetify/components')['VSelectionControl']
589
589
  VSelect: typeof import('vuetify/components')['VSelect']
590
- VSelectionControlGroup: typeof import('vuetify/components')['VSelectionControlGroup']
590
+ VSelectionControl: typeof import('vuetify/components')['VSelectionControl']
591
591
  VSheet: typeof import('vuetify/components')['VSheet']
592
592
  VSkeletonLoader: typeof import('vuetify/components')['VSkeletonLoader']
593
- VSlider: typeof import('vuetify/components')['VSlider']
594
593
  VSnackbar: typeof import('vuetify/components')['VSnackbar']
594
+ VSelectionControlGroup: typeof import('vuetify/components')['VSelectionControlGroup']
595
595
  VSlideGroup: typeof import('vuetify/components')['VSlideGroup']
596
596
  VSlideGroupItem: typeof import('vuetify/components')['VSlideGroupItem']
597
+ VSlider: typeof import('vuetify/components')['VSlider']
598
+ VSystemBar: typeof import('vuetify/components')['VSystemBar']
597
599
  VTab: typeof import('vuetify/components')['VTab']
598
600
  VTabs: typeof import('vuetify/components')['VTabs']
599
601
  VTabsWindow: typeof import('vuetify/components')['VTabsWindow']
@@ -604,28 +606,26 @@ declare module '@vue/runtime-core' {
604
606
  VStepperItem: typeof import('vuetify/components')['VStepperItem']
605
607
  VStepperWindow: typeof import('vuetify/components')['VStepperWindow']
606
608
  VStepperWindowItem: typeof import('vuetify/components')['VStepperWindowItem']
607
- VSystemBar: typeof import('vuetify/components')['VSystemBar']
608
609
  VTextarea: typeof import('vuetify/components')['VTextarea']
609
610
  VSwitch: typeof import('vuetify/components')['VSwitch']
610
- VTable: typeof import('vuetify/components')['VTable']
611
611
  VTimeline: typeof import('vuetify/components')['VTimeline']
612
612
  VTimelineItem: typeof import('vuetify/components')['VTimelineItem']
613
613
  VTextField: typeof import('vuetify/components')['VTextField']
614
+ VTable: typeof import('vuetify/components')['VTable']
614
615
  VToolbar: typeof import('vuetify/components')['VToolbar']
615
616
  VToolbarTitle: typeof import('vuetify/components')['VToolbarTitle']
616
617
  VToolbarItems: typeof import('vuetify/components')['VToolbarItems']
617
618
  VTooltip: typeof import('vuetify/components')['VTooltip']
618
619
  VWindow: typeof import('vuetify/components')['VWindow']
619
620
  VWindowItem: typeof import('vuetify/components')['VWindowItem']
620
- VCounter: typeof import('vuetify/components')['VCounter']
621
621
  VConfirmEdit: typeof import('vuetify/components')['VConfirmEdit']
622
622
  VDataIterator: typeof import('vuetify/components')['VDataIterator']
623
623
  VDefaultsProvider: typeof import('vuetify/components')['VDefaultsProvider']
624
- VForm: typeof import('vuetify/components')['VForm']
625
624
  VContainer: typeof import('vuetify/components')['VContainer']
626
625
  VCol: typeof import('vuetify/components')['VCol']
627
626
  VRow: typeof import('vuetify/components')['VRow']
628
627
  VSpacer: typeof import('vuetify/components')['VSpacer']
628
+ VForm: typeof import('vuetify/components')['VForm']
629
629
  VHover: typeof import('vuetify/components')['VHover']
630
630
  VLayout: typeof import('vuetify/components')['VLayout']
631
631
  VLayoutItem: typeof import('vuetify/components')['VLayoutItem']
@@ -636,8 +636,8 @@ declare module '@vue/runtime-core' {
636
636
  VRadio: typeof import('vuetify/components')['VRadio']
637
637
  VRangeSlider: typeof import('vuetify/components')['VRangeSlider']
638
638
  VResponsive: typeof import('vuetify/components')['VResponsive']
639
- VSparkline: typeof import('vuetify/components')['VSparkline']
640
639
  VSpeedDial: typeof import('vuetify/components')['VSpeedDial']
640
+ VSparkline: typeof import('vuetify/components')['VSparkline']
641
641
  VThemeProvider: typeof import('vuetify/components')['VThemeProvider']
642
642
  VValidation: typeof import('vuetify/components')['VValidation']
643
643
  VVirtualScroll: typeof import('vuetify/components')['VVirtualScroll']
@@ -657,26 +657,26 @@ declare module '@vue/runtime-core' {
657
657
  VExpandTransition: typeof import('vuetify/components')['VExpandTransition']
658
658
  VExpandXTransition: typeof import('vuetify/components')['VExpandXTransition']
659
659
  VDialogTransition: typeof import('vuetify/components')['VDialogTransition']
660
- VNumberInput: typeof import('vuetify/labs/components')['VNumberInput']
661
660
  VCalendar: typeof import('vuetify/labs/components')['VCalendar']
662
661
  VCalendarDay: typeof import('vuetify/labs/components')['VCalendarDay']
663
662
  VCalendarHeader: typeof import('vuetify/labs/components')['VCalendarHeader']
664
663
  VCalendarInterval: typeof import('vuetify/labs/components')['VCalendarInterval']
665
664
  VCalendarIntervalEvent: typeof import('vuetify/labs/components')['VCalendarIntervalEvent']
666
665
  VCalendarMonthDay: typeof import('vuetify/labs/components')['VCalendarMonthDay']
667
- VPicker: typeof import('vuetify/labs/components')['VPicker']
668
- VPickerTitle: typeof import('vuetify/labs/components')['VPickerTitle']
666
+ VNumberInput: typeof import('vuetify/labs/components')['VNumberInput']
669
667
  VStepperVertical: typeof import('vuetify/labs/components')['VStepperVertical']
670
668
  VStepperVerticalItem: typeof import('vuetify/labs/components')['VStepperVerticalItem']
671
669
  VStepperVerticalActions: typeof import('vuetify/labs/components')['VStepperVerticalActions']
672
- VTimePicker: typeof import('vuetify/labs/components')['VTimePicker']
673
- VTimePickerClock: typeof import('vuetify/labs/components')['VTimePickerClock']
674
- VTimePickerControls: typeof import('vuetify/labs/components')['VTimePickerControls']
670
+ VPicker: typeof import('vuetify/labs/components')['VPicker']
671
+ VPickerTitle: typeof import('vuetify/labs/components')['VPickerTitle']
675
672
  VTreeview: typeof import('vuetify/labs/components')['VTreeview']
676
673
  VTreeviewItem: typeof import('vuetify/labs/components')['VTreeviewItem']
677
674
  VTreeviewGroup: typeof import('vuetify/labs/components')['VTreeviewGroup']
675
+ VTimePicker: typeof import('vuetify/labs/components')['VTimePicker']
676
+ VTimePickerClock: typeof import('vuetify/labs/components')['VTimePickerClock']
677
+ VTimePickerControls: typeof import('vuetify/labs/components')['VTimePickerControls']
678
678
  VDateInput: typeof import('vuetify/labs/components')['VDateInput']
679
- VSnackbarQueue: typeof import('vuetify/labs/components')['VSnackbarQueue']
680
679
  VPullToRefresh: typeof import('vuetify/labs/components')['VPullToRefresh']
680
+ VSnackbarQueue: typeof import('vuetify/labs/components')['VSnackbarQueue']
681
681
  }
682
682
  }
@@ -3493,6 +3493,22 @@ html.overflow-y-hidden {
3493
3493
  flex: 0 0 100% !important;
3494
3494
  }
3495
3495
 
3496
+ .flex-1-1-0 {
3497
+ flex: 1 1 0 !important;
3498
+ }
3499
+
3500
+ .flex-1-0-0 {
3501
+ flex: 1 0 0 !important;
3502
+ }
3503
+
3504
+ .flex-0-1-0 {
3505
+ flex: 0 1 0 !important;
3506
+ }
3507
+
3508
+ .flex-0-0-0 {
3509
+ flex: 0 0 0 !important;
3510
+ }
3511
+
3496
3512
  .flex-row {
3497
3513
  flex-direction: row !important;
3498
3514
  }
@@ -7173,6 +7189,18 @@ html.overflow-y-hidden {
7173
7189
  .flex-sm-0-0-100 {
7174
7190
  flex: 0 0 100% !important;
7175
7191
  }
7192
+ .flex-sm-1-1-0 {
7193
+ flex: 1 1 0 !important;
7194
+ }
7195
+ .flex-sm-1-0-0 {
7196
+ flex: 1 0 0 !important;
7197
+ }
7198
+ .flex-sm-0-1-0 {
7199
+ flex: 0 1 0 !important;
7200
+ }
7201
+ .flex-sm-0-0-0 {
7202
+ flex: 0 0 0 !important;
7203
+ }
7176
7204
  .flex-sm-row {
7177
7205
  flex-direction: row !important;
7178
7206
  }
@@ -9208,6 +9236,18 @@ html.overflow-y-hidden {
9208
9236
  .flex-md-0-0-100 {
9209
9237
  flex: 0 0 100% !important;
9210
9238
  }
9239
+ .flex-md-1-1-0 {
9240
+ flex: 1 1 0 !important;
9241
+ }
9242
+ .flex-md-1-0-0 {
9243
+ flex: 1 0 0 !important;
9244
+ }
9245
+ .flex-md-0-1-0 {
9246
+ flex: 0 1 0 !important;
9247
+ }
9248
+ .flex-md-0-0-0 {
9249
+ flex: 0 0 0 !important;
9250
+ }
9211
9251
  .flex-md-row {
9212
9252
  flex-direction: row !important;
9213
9253
  }
@@ -11243,6 +11283,18 @@ html.overflow-y-hidden {
11243
11283
  .flex-lg-0-0-100 {
11244
11284
  flex: 0 0 100% !important;
11245
11285
  }
11286
+ .flex-lg-1-1-0 {
11287
+ flex: 1 1 0 !important;
11288
+ }
11289
+ .flex-lg-1-0-0 {
11290
+ flex: 1 0 0 !important;
11291
+ }
11292
+ .flex-lg-0-1-0 {
11293
+ flex: 0 1 0 !important;
11294
+ }
11295
+ .flex-lg-0-0-0 {
11296
+ flex: 0 0 0 !important;
11297
+ }
11246
11298
  .flex-lg-row {
11247
11299
  flex-direction: row !important;
11248
11300
  }
@@ -13278,6 +13330,18 @@ html.overflow-y-hidden {
13278
13330
  .flex-xl-0-0-100 {
13279
13331
  flex: 0 0 100% !important;
13280
13332
  }
13333
+ .flex-xl-1-1-0 {
13334
+ flex: 1 1 0 !important;
13335
+ }
13336
+ .flex-xl-1-0-0 {
13337
+ flex: 1 0 0 !important;
13338
+ }
13339
+ .flex-xl-0-1-0 {
13340
+ flex: 0 1 0 !important;
13341
+ }
13342
+ .flex-xl-0-0-0 {
13343
+ flex: 0 0 0 !important;
13344
+ }
13281
13345
  .flex-xl-row {
13282
13346
  flex-direction: row !important;
13283
13347
  }
@@ -15313,6 +15377,18 @@ html.overflow-y-hidden {
15313
15377
  .flex-xxl-0-0-100 {
15314
15378
  flex: 0 0 100% !important;
15315
15379
  }
15380
+ .flex-xxl-1-1-0 {
15381
+ flex: 1 1 0 !important;
15382
+ }
15383
+ .flex-xxl-1-0-0 {
15384
+ flex: 1 0 0 !important;
15385
+ }
15386
+ .flex-xxl-0-1-0 {
15387
+ flex: 0 1 0 !important;
15388
+ }
15389
+ .flex-xxl-0-0-0 {
15390
+ flex: 0 0 0 !important;
15391
+ }
15316
15392
  .flex-xxl-row {
15317
15393
  flex-direction: row !important;
15318
15394
  }
@@ -67,7 +67,11 @@ $utilities: () !default;
67
67
  '1-1-100': 1 1 100%,
68
68
  '1-0-100': 1 0 100%,
69
69
  '0-1-100': 0 1 100%,
70
- '0-0-100': 0 0 100%
70
+ '0-0-100': 0 0 100%,
71
+ '1-1-0': 1 1 0,
72
+ '1-0-0': 1 0 0,
73
+ '0-1-0': 0 1 0,
74
+ '0-0-0': 0 0 0,
71
75
  )
72
76
  ),
73
77
  "flex-direction": (
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.6.7-master.2024-05-24",
4
+ "version": "3.6.7-master.2024-05-27",
5
5
  "author": {
6
6
  "name": "John Leider",
7
7
  "email": "john@vuetifyjs.com"