vuetify 3.1.3 → 3.1.4
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.
- package/LICENSE.md +1 -1
- package/dist/json/attributes.json +682 -642
- package/dist/json/importMap-labs.json +4 -0
- package/dist/json/importMap.json +34 -34
- package/dist/json/tags.json +18 -3
- package/dist/json/web-types.json +943 -830
- package/dist/vuetify-labs.css +2987 -2985
- package/dist/vuetify-labs.d.ts +211 -50
- package/dist/vuetify-labs.esm.js +97 -79
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +96 -78
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.css +43 -40
- package/dist/vuetify.d.ts +144 -13
- package/dist/vuetify.esm.js +40 -31
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +40 -31
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +487 -484
- package/dist/vuetify.min.js.map +1 -1
- package/lib/components/VAppBar/VAppBarTitle.mjs +3 -4
- package/lib/components/VAppBar/VAppBarTitle.mjs.map +1 -1
- package/lib/components/VAppBar/index.d.ts +14 -2
- package/lib/components/VBottomSheet/VBottomSheet.mjs +1 -4
- package/lib/components/VBottomSheet/VBottomSheet.mjs.map +1 -1
- package/lib/components/VBtn/VBtn.css +7 -7
- package/lib/components/VBtnGroup/VBtnGroup.mjs +15 -11
- package/lib/components/VBtnGroup/VBtnGroup.mjs.map +1 -1
- package/lib/components/VBtnGroup/index.d.ts +2 -1
- package/lib/components/VBtnToggle/VBtnToggle.mjs +9 -5
- package/lib/components/VBtnToggle/VBtnToggle.mjs.map +1 -1
- package/lib/components/VBtnToggle/index.d.ts +122 -1
- package/lib/components/VCalendar/VCalendar.mjs +3 -0
- package/lib/components/VCalendar/VCalendar.mjs.map +1 -1
- package/lib/components/VCalendar/VCalendarCategory.sass +9 -3
- package/lib/components/VCalendar/VCalendarDaily.mjs +20 -8
- package/lib/components/VCalendar/VCalendarDaily.mjs.map +1 -1
- package/lib/components/VCalendar/VCalendarWeekly.mjs +25 -5
- package/lib/components/VCalendar/VCalendarWeekly.mjs.map +1 -1
- package/lib/components/VCalendar/mixins/calendar-with-events.mjs +20 -16
- package/lib/components/VCalendar/mixins/calendar-with-events.mjs.map +1 -1
- package/lib/components/VCalendar/mixins/mouse.mjs +16 -30
- package/lib/components/VCalendar/mixins/mouse.mjs.map +1 -1
- package/lib/components/VCard/VCard.css +7 -7
- package/lib/components/VChip/VChip.css +7 -7
- package/lib/components/VChip/VChip.mjs +6 -1
- package/lib/components/VChip/VChip.mjs.map +1 -1
- package/lib/components/VData/VData.mjs +2 -4
- package/lib/components/VData/VData.mjs.map +1 -1
- package/lib/components/VDatePicker/VDatePicker.mjs +7 -5
- package/lib/components/VDatePicker/VDatePicker.mjs.map +1 -1
- package/lib/components/VExpansionPanel/VExpansionPanel.css +7 -7
- package/lib/components/VField/VField.css +2 -2
- package/lib/components/VField/VField.sass +2 -2
- package/lib/components/VList/VListItem.css +7 -7
- package/lib/components/VOtpInput/VOtpInput.mjs +22 -46
- package/lib/components/VOtpInput/VOtpInput.mjs.map +1 -1
- package/lib/components/VOverflowBtn/VOverflowBtn.mjs +3 -0
- package/lib/components/VOverflowBtn/VOverflowBtn.mjs.map +1 -1
- package/lib/components/VSelectionControl/VSelectionControl.css +2 -2
- package/lib/components/VSkeletonLoader/VSkeletonLoader.sass +1 -1
- package/lib/components/VStepper/VStepper.sass +6 -6
- package/lib/components/VStepper/VStepperStep.mjs +12 -2
- package/lib/components/VStepper/VStepperStep.mjs.map +1 -1
- package/lib/components/VTimePicker/VTimePicker.mjs.map +1 -1
- package/lib/components/VTimeline/_mixins.sass +1 -1
- package/lib/components/VToolbar/VToolbarTitle.mjs +6 -5
- package/lib/components/VToolbar/VToolbarTitle.mjs.map +1 -1
- package/lib/components/VTreeview/VTreeview.mjs +1 -1
- package/lib/components/VTreeview/VTreeview.mjs.map +1 -1
- package/lib/components/index.d.ts +135 -4
- package/lib/composables/nested/nested.mjs +2 -1
- package/lib/composables/nested/nested.mjs.map +1 -1
- package/lib/directives/ripple/VRipple.css +3 -0
- package/lib/directives/ripple/VRipple.sass +3 -0
- package/lib/directives/ripple/_variables.scss +1 -1
- package/lib/directives/ripple/index.mjs +2 -7
- package/lib/directives/ripple/index.mjs.map +1 -1
- package/lib/entry-bundler.mjs +1 -1
- package/lib/framework.mjs +1 -1
- package/lib/index.d.ts +9 -9
- package/lib/labs/VDataTable/VDataTable.mjs +1 -5
- package/lib/labs/VDataTable/VDataTable.mjs.map +1 -1
- package/lib/labs/VDataTable/VDataTableFooter.mjs +1 -1
- package/lib/labs/VDataTable/VDataTableFooter.mjs.map +1 -1
- package/lib/labs/VDataTable/VDataTableServer.mjs +1 -7
- package/lib/labs/VDataTable/VDataTableServer.mjs.map +1 -1
- package/lib/labs/VDataTable/VDataTableVirtual.mjs +0 -3
- package/lib/labs/VDataTable/VDataTableVirtual.mjs.map +1 -1
- package/lib/labs/VDataTable/composables/options.mjs +0 -6
- package/lib/labs/VDataTable/composables/options.mjs.map +1 -1
- package/lib/labs/VDataTable/composables/paginate.mjs +1 -1
- package/lib/labs/VDataTable/composables/paginate.mjs.map +1 -1
- package/lib/labs/VDataTable/index.d.ts +60 -1
- package/lib/labs/VDataTable/index.mjs +1 -0
- package/lib/labs/VDataTable/index.mjs.map +1 -1
- package/lib/labs/VVirtualScroll/VVirtualScroll.css +0 -1
- package/lib/labs/VVirtualScroll/VVirtualScroll.mjs +40 -22
- package/lib/labs/VVirtualScroll/VVirtualScroll.mjs.map +1 -1
- package/lib/labs/VVirtualScroll/VVirtualScroll.sass +0 -1
- package/lib/labs/VVirtualScroll/VVirtualScrollItem.mjs +20 -8
- package/lib/labs/VVirtualScroll/VVirtualScrollItem.mjs.map +1 -1
- package/lib/labs/VVirtualScroll/index.d.ts +15 -46
- package/lib/labs/components.d.ts +75 -47
- package/lib/locale/ar.mjs +20 -20
- package/lib/locale/ar.mjs.map +1 -1
- package/lib/locale/es.mjs +3 -3
- package/lib/locale/es.mjs.map +1 -1
- package/lib/locale/fi.mjs +5 -5
- package/lib/locale/fi.mjs.map +1 -1
- package/lib/locale/it.mjs +6 -6
- package/lib/locale/it.mjs.map +1 -1
- package/lib/locale/sv.mjs +7 -7
- package/lib/locale/sv.mjs.map +1 -1
- package/lib/styles/settings/_variables.scss +6 -6
- package/lib/styles/tools/_states.sass +3 -3
- package/lib/util/helpers.mjs +0 -18
- package/lib/util/helpers.mjs.map +1 -1
- package/package.json +2 -2
package/dist/vuetify.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Vuetify v3.1.
|
|
2
|
+
* Vuetify v3.1.4
|
|
3
3
|
* Forged by John Leider
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -2925,12 +2925,13 @@
|
|
|
2925
2925
|
|
|
2926
2926
|
// Types
|
|
2927
2927
|
|
|
2928
|
+
const makeVToolbarTitleProps = propsFactory({
|
|
2929
|
+
text: String,
|
|
2930
|
+
...makeTagProps()
|
|
2931
|
+
}, 'v-toolbar-title');
|
|
2928
2932
|
const VToolbarTitle = genericComponent()({
|
|
2929
2933
|
name: 'VToolbarTitle',
|
|
2930
|
-
props:
|
|
2931
|
-
text: String,
|
|
2932
|
-
...makeTagProps()
|
|
2933
|
-
},
|
|
2934
|
+
props: makeVToolbarTitleProps(),
|
|
2934
2935
|
setup(props, _ref) {
|
|
2935
2936
|
let {
|
|
2936
2937
|
slots
|
|
@@ -3382,18 +3383,21 @@
|
|
|
3382
3383
|
};
|
|
3383
3384
|
}
|
|
3384
3385
|
|
|
3386
|
+
// Types
|
|
3387
|
+
|
|
3388
|
+
const makeVBtnGroupProps = propsFactory({
|
|
3389
|
+
divided: Boolean,
|
|
3390
|
+
...makeBorderProps(),
|
|
3391
|
+
...makeDensityProps(),
|
|
3392
|
+
...makeElevationProps(),
|
|
3393
|
+
...makeRoundedProps(),
|
|
3394
|
+
...makeTagProps(),
|
|
3395
|
+
...makeThemeProps(),
|
|
3396
|
+
...makeVariantProps()
|
|
3397
|
+
}, 'v-btn-group');
|
|
3385
3398
|
const VBtnGroup = defineComponent({
|
|
3386
3399
|
name: 'VBtnGroup',
|
|
3387
|
-
props:
|
|
3388
|
-
divided: Boolean,
|
|
3389
|
-
...makeBorderProps(),
|
|
3390
|
-
...makeDensityProps(),
|
|
3391
|
-
...makeElevationProps(),
|
|
3392
|
-
...makeRoundedProps(),
|
|
3393
|
-
...makeTagProps(),
|
|
3394
|
-
...makeThemeProps(),
|
|
3395
|
-
...makeVariantProps()
|
|
3396
|
-
},
|
|
3400
|
+
props: makeVBtnGroupProps(),
|
|
3397
3401
|
setup(props, _ref) {
|
|
3398
3402
|
let {
|
|
3399
3403
|
slots
|
|
@@ -3431,6 +3435,9 @@
|
|
|
3431
3435
|
});
|
|
3432
3436
|
}
|
|
3433
3437
|
});
|
|
3438
|
+
function filterVBtnGroupProps(props) {
|
|
3439
|
+
return pick(props, Object.keys(VBtnGroup.props));
|
|
3440
|
+
}
|
|
3434
3441
|
|
|
3435
3442
|
// Composables
|
|
3436
3443
|
|
|
@@ -3638,7 +3645,10 @@
|
|
|
3638
3645
|
const VBtnToggleSymbol = Symbol.for('vuetify:v-btn-toggle');
|
|
3639
3646
|
const VBtnToggle = genericComponent()({
|
|
3640
3647
|
name: 'VBtnToggle',
|
|
3641
|
-
props:
|
|
3648
|
+
props: {
|
|
3649
|
+
...makeVBtnGroupProps(),
|
|
3650
|
+
...makeGroupProps()
|
|
3651
|
+
},
|
|
3642
3652
|
emits: {
|
|
3643
3653
|
'update:modelValue': value => true
|
|
3644
3654
|
},
|
|
@@ -3655,9 +3665,10 @@
|
|
|
3655
3665
|
} = useGroup(props, VBtnToggleSymbol);
|
|
3656
3666
|
useRender(() => {
|
|
3657
3667
|
var _slots$default;
|
|
3658
|
-
|
|
3668
|
+
const [btnGroupProps] = filterVBtnGroupProps(props);
|
|
3669
|
+
return vue.createVNode(VBtnGroup, vue.mergeProps({
|
|
3659
3670
|
"class": "v-btn-toggle"
|
|
3660
|
-
}, {
|
|
3671
|
+
}, btnGroupProps), {
|
|
3661
3672
|
default: () => [(_slots$default = slots.default) == null ? void 0 : _slots$default.call(slots, {
|
|
3662
3673
|
isSelected,
|
|
3663
3674
|
next,
|
|
@@ -4112,9 +4123,6 @@
|
|
|
4112
4123
|
el.style.transform = value;
|
|
4113
4124
|
el.style.webkitTransform = value;
|
|
4114
4125
|
}
|
|
4115
|
-
function opacity(el, value) {
|
|
4116
|
-
el.style.opacity = `calc(${value} * var(--v-theme-overlay-multiplier))`;
|
|
4117
|
-
}
|
|
4118
4126
|
function isTouchEvent(e) {
|
|
4119
4127
|
return e.constructor.name === 'TouchEvent';
|
|
4120
4128
|
}
|
|
@@ -4190,13 +4198,11 @@
|
|
|
4190
4198
|
animation.classList.add('v-ripple__animation--enter');
|
|
4191
4199
|
animation.classList.add('v-ripple__animation--visible');
|
|
4192
4200
|
transform(animation, `translate(${x}, ${y}) scale3d(${scale},${scale},${scale})`);
|
|
4193
|
-
opacity(animation, 0);
|
|
4194
4201
|
animation.dataset.activated = String(performance.now());
|
|
4195
4202
|
setTimeout(() => {
|
|
4196
4203
|
animation.classList.remove('v-ripple__animation--enter');
|
|
4197
4204
|
animation.classList.add('v-ripple__animation--in');
|
|
4198
4205
|
transform(animation, `translate(${centerX}, ${centerY}) scale3d(1,1,1)`);
|
|
4199
|
-
opacity(animation, 0.08);
|
|
4200
4206
|
}, 0);
|
|
4201
4207
|
},
|
|
4202
4208
|
hide(el) {
|
|
@@ -4211,14 +4217,14 @@
|
|
|
4211
4217
|
setTimeout(() => {
|
|
4212
4218
|
animation.classList.remove('v-ripple__animation--in');
|
|
4213
4219
|
animation.classList.add('v-ripple__animation--out');
|
|
4214
|
-
opacity(animation, 0);
|
|
4215
4220
|
setTimeout(() => {
|
|
4221
|
+
var _animation$parentNode;
|
|
4216
4222
|
const ripples = el.getElementsByClassName('v-ripple__animation');
|
|
4217
4223
|
if (ripples.length === 1 && el.dataset.previousPosition) {
|
|
4218
4224
|
el.style.position = el.dataset.previousPosition;
|
|
4219
4225
|
delete el.dataset.previousPosition;
|
|
4220
4226
|
}
|
|
4221
|
-
animation.parentNode
|
|
4227
|
+
if (((_animation$parentNode = animation.parentNode) == null ? void 0 : _animation$parentNode.parentNode) === el) el.removeChild(animation.parentNode);
|
|
4222
4228
|
}, 300);
|
|
4223
4229
|
}, delay);
|
|
4224
4230
|
}
|
|
@@ -5005,9 +5011,7 @@
|
|
|
5005
5011
|
|
|
5006
5012
|
const VAppBarTitle = defineComponent({
|
|
5007
5013
|
name: 'VAppBarTitle',
|
|
5008
|
-
props:
|
|
5009
|
-
...VToolbarTitle.props
|
|
5010
|
-
},
|
|
5014
|
+
props: makeVToolbarTitleProps(),
|
|
5011
5015
|
setup(props, _ref) {
|
|
5012
5016
|
let {
|
|
5013
5017
|
slots
|
|
@@ -6833,6 +6837,9 @@
|
|
|
6833
6837
|
emit,
|
|
6834
6838
|
slots
|
|
6835
6839
|
} = _ref;
|
|
6840
|
+
const {
|
|
6841
|
+
t
|
|
6842
|
+
} = useLocale();
|
|
6836
6843
|
const {
|
|
6837
6844
|
borderClasses
|
|
6838
6845
|
} = useBorder(props);
|
|
@@ -6969,6 +6976,7 @@
|
|
|
6969
6976
|
}, {
|
|
6970
6977
|
default: () => [vue.createVNode("div", {
|
|
6971
6978
|
"class": "v-chip__close",
|
|
6979
|
+
"aria-label": t(props.closeLabel),
|
|
6972
6980
|
"onClick": onCloseClick
|
|
6973
6981
|
}, [slots.close ? slots.close() : vue.createVNode(VIcon, null, null)])]
|
|
6974
6982
|
})]
|
|
@@ -7454,7 +7462,8 @@
|
|
|
7454
7462
|
};
|
|
7455
7463
|
const useNestedItem = (id, isGroup) => {
|
|
7456
7464
|
const parent = vue.inject(VNestedSymbol, emptyNested);
|
|
7457
|
-
const
|
|
7465
|
+
const uidSymbol = Symbol(getUid());
|
|
7466
|
+
const computedId = vue.computed(() => id.value ?? uidSymbol);
|
|
7458
7467
|
const item = {
|
|
7459
7468
|
...parent,
|
|
7460
7469
|
id: computedId,
|
|
@@ -18453,7 +18462,7 @@
|
|
|
18453
18462
|
locale
|
|
18454
18463
|
};
|
|
18455
18464
|
}
|
|
18456
|
-
const version$1 = "3.1.
|
|
18465
|
+
const version$1 = "3.1.4";
|
|
18457
18466
|
createVuetify$1.version = version$1;
|
|
18458
18467
|
|
|
18459
18468
|
// Vue's inject() can only be used in setup
|
|
@@ -18474,7 +18483,7 @@
|
|
|
18474
18483
|
...options
|
|
18475
18484
|
});
|
|
18476
18485
|
};
|
|
18477
|
-
const version = "3.1.
|
|
18486
|
+
const version = "3.1.4";
|
|
18478
18487
|
createVuetify.version = version;
|
|
18479
18488
|
|
|
18480
18489
|
exports.components = components;
|