vuetify 3.3.14 → 3.3.15
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/dist/json/importMap-labs.json +4 -4
- package/dist/json/web-types.json +95 -46
- package/dist/vuetify-labs.css +411 -391
- package/dist/vuetify-labs.d.ts +447 -226
- package/dist/vuetify-labs.esm.js +47 -17
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +47 -17
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.css +39 -19
- package/dist/vuetify.d.ts +448 -227
- package/dist/vuetify.esm.js +47 -17
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +47 -17
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +18 -17
- package/dist/vuetify.min.js.map +1 -1
- package/lib/components/VBtnToggle/VBtnToggle.css +13 -2
- package/lib/components/VBtnToggle/VBtnToggle.sass +3 -3
- package/lib/components/VBtnToggle/_variables.scss +2 -1
- package/lib/components/VCheckbox/VCheckbox.mjs.map +1 -1
- package/lib/components/VCheckbox/index.d.mts +203 -87
- package/lib/components/VField/VField.css +14 -11
- package/lib/components/VField/VField.sass +14 -7
- package/lib/components/VField/_variables.scss +0 -1
- package/lib/components/VIcon/VIcon.css +1 -0
- package/lib/components/VIcon/VIcon.sass +1 -0
- package/lib/components/VOverlay/useActivator.mjs +1 -1
- package/lib/components/VOverlay/useActivator.mjs.map +1 -1
- package/lib/components/VRadio/index.d.mts +82 -23
- package/lib/components/VRadioGroup/VRadioGroup.mjs.map +1 -1
- package/lib/components/VRadioGroup/index.d.mts +75 -109
- package/lib/components/VSelectionControl/VSelectionControl.mjs +17 -2
- package/lib/components/VSelectionControl/VSelectionControl.mjs.map +1 -1
- package/lib/components/VSelectionControl/index.d.mts +19 -5
- package/lib/components/VSwitch/VSwitch.css +7 -5
- package/lib/components/VSwitch/VSwitch.mjs +18 -8
- package/lib/components/VSwitch/VSwitch.mjs.map +1 -1
- package/lib/components/VSwitch/VSwitch.sass +6 -4
- package/lib/components/VSwitch/_variables.scss +5 -3
- package/lib/components/VSwitch/index.d.mts +82 -23
- package/lib/components/VTable/VTable.css +3 -0
- package/lib/components/VTable/VTable.sass +4 -0
- package/lib/components/VTable/_variables.scss +3 -0
- package/lib/components/VTabs/VTab.mjs +2 -2
- package/lib/components/VTabs/VTab.mjs.map +1 -1
- package/lib/components/VTextarea/VTextarea.mjs +1 -0
- package/lib/components/VTextarea/VTextarea.mjs.map +1 -1
- package/lib/components/index.d.mts +448 -227
- package/lib/composables/theme.mjs +6 -2
- package/lib/composables/theme.mjs.map +1 -1
- package/lib/entry-bundler.mjs +1 -1
- package/lib/framework.mjs +1 -1
- package/lib/index.d.mts +1 -1
- package/lib/locale/bg.mjs +23 -23
- package/lib/locale/bg.mjs.map +1 -1
- package/lib/locale/fa.mjs +16 -16
- package/lib/locale/fa.mjs.map +1 -1
- package/lib/styles/tools/_states.sass +5 -5
- package/package.json +2 -2
package/dist/vuetify-labs.esm.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Vuetify v3.3.
|
|
2
|
+
* Vuetify v3.3.15
|
|
3
3
|
* Forged by John Leider
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -2115,6 +2115,7 @@ const defaultThemeOptions = {
|
|
|
2115
2115
|
colors: {
|
|
2116
2116
|
background: '#FFFFFF',
|
|
2117
2117
|
surface: '#FFFFFF',
|
|
2118
|
+
'surface-bright': '#FFFFFF',
|
|
2118
2119
|
'surface-variant': '#424242',
|
|
2119
2120
|
'on-surface-variant': '#EEEEEE',
|
|
2120
2121
|
primary: '#6200EE',
|
|
@@ -2150,7 +2151,8 @@ const defaultThemeOptions = {
|
|
|
2150
2151
|
colors: {
|
|
2151
2152
|
background: '#121212',
|
|
2152
2153
|
surface: '#212121',
|
|
2153
|
-
'surface-
|
|
2154
|
+
'surface-bright': '#ccbfd6',
|
|
2155
|
+
'surface-variant': '#a3a3a3',
|
|
2154
2156
|
'on-surface-variant': '#424242',
|
|
2155
2157
|
primary: '#BB86FC',
|
|
2156
2158
|
'primary-darken-1': '#3700B3',
|
|
@@ -2341,12 +2343,14 @@ function provideTheme(props) {
|
|
|
2341
2343
|
const theme = inject$1(ThemeSymbol, null);
|
|
2342
2344
|
if (!theme) throw new Error('Could not find Vuetify theme injection');
|
|
2343
2345
|
const name = computed(() => {
|
|
2344
|
-
return props.theme ?? theme
|
|
2346
|
+
return props.theme ?? theme.name.value;
|
|
2345
2347
|
});
|
|
2348
|
+
const current = computed(() => theme.themes.value[name.value]);
|
|
2346
2349
|
const themeClasses = computed(() => theme.isDisabled ? undefined : `v-theme--${name.value}`);
|
|
2347
2350
|
const newTheme = {
|
|
2348
2351
|
...theme,
|
|
2349
2352
|
name,
|
|
2353
|
+
current,
|
|
2350
2354
|
themeClasses
|
|
2351
2355
|
};
|
|
2352
2356
|
provide(ThemeSymbol, newTheme);
|
|
@@ -5803,6 +5807,12 @@ function useSelectionControl(props) {
|
|
|
5803
5807
|
} = useTextColor(computed(() => {
|
|
5804
5808
|
return model.value && !props.error && !props.disabled ? props.color : undefined;
|
|
5805
5809
|
}));
|
|
5810
|
+
const {
|
|
5811
|
+
backgroundColorClasses,
|
|
5812
|
+
backgroundColorStyles
|
|
5813
|
+
} = useBackgroundColor(computed(() => {
|
|
5814
|
+
return model.value && !props.error && !props.disabled ? props.color : undefined;
|
|
5815
|
+
}));
|
|
5806
5816
|
const icon = computed(() => model.value ? props.trueIcon : props.falseIcon);
|
|
5807
5817
|
return {
|
|
5808
5818
|
group,
|
|
@@ -5812,6 +5822,8 @@ function useSelectionControl(props) {
|
|
|
5812
5822
|
model,
|
|
5813
5823
|
textColorClasses,
|
|
5814
5824
|
textColorStyles,
|
|
5825
|
+
backgroundColorClasses,
|
|
5826
|
+
backgroundColorStyles,
|
|
5815
5827
|
icon
|
|
5816
5828
|
};
|
|
5817
5829
|
}
|
|
@@ -5837,6 +5849,8 @@ const VSelectionControl = genericComponent()({
|
|
|
5837
5849
|
model,
|
|
5838
5850
|
textColorClasses,
|
|
5839
5851
|
textColorStyles,
|
|
5852
|
+
backgroundColorClasses,
|
|
5853
|
+
backgroundColorStyles,
|
|
5840
5854
|
trueValue
|
|
5841
5855
|
} = useSelectionControl(props);
|
|
5842
5856
|
const uid = getUid();
|
|
@@ -5901,12 +5915,17 @@ const VSelectionControl = genericComponent()({
|
|
|
5901
5915
|
}), [createVNode("div", {
|
|
5902
5916
|
"class": ['v-selection-control__wrapper', textColorClasses.value],
|
|
5903
5917
|
"style": textColorStyles.value
|
|
5904
|
-
}, [slots.default?.(
|
|
5918
|
+
}, [slots.default?.({
|
|
5919
|
+
backgroundColorClasses,
|
|
5920
|
+
backgroundColorStyles
|
|
5921
|
+
}), withDirectives(createVNode("div", {
|
|
5905
5922
|
"class": ['v-selection-control__input']
|
|
5906
5923
|
}, [slots.input?.({
|
|
5907
5924
|
model,
|
|
5908
5925
|
textColorClasses,
|
|
5909
5926
|
textColorStyles,
|
|
5927
|
+
backgroundColorClasses,
|
|
5928
|
+
backgroundColorStyles,
|
|
5910
5929
|
inputNode,
|
|
5911
5930
|
icon: icon.value,
|
|
5912
5931
|
props: {
|
|
@@ -9117,7 +9136,7 @@ function _useActivator(props, vm, _ref2) {
|
|
|
9117
9136
|
if (selector) {
|
|
9118
9137
|
if (selector === 'parent') {
|
|
9119
9138
|
let el = vm?.proxy?.$el?.parentNode;
|
|
9120
|
-
while (el
|
|
9139
|
+
while (el?.hasAttribute('data-no-activator')) {
|
|
9121
9140
|
el = el.parentNode;
|
|
9122
9141
|
}
|
|
9123
9142
|
activator = el;
|
|
@@ -18617,19 +18636,29 @@ const VSwitch = genericComponent()({
|
|
|
18617
18636
|
"onBlur": blur
|
|
18618
18637
|
}, controlAttrs), {
|
|
18619
18638
|
...slots,
|
|
18620
|
-
default:
|
|
18621
|
-
"class": "v-switch__track",
|
|
18622
|
-
"onClick": onTrackClick
|
|
18623
|
-
}, null),
|
|
18624
|
-
input: _ref3 => {
|
|
18639
|
+
default: _ref3 => {
|
|
18625
18640
|
let {
|
|
18626
|
-
|
|
18627
|
-
|
|
18641
|
+
backgroundColorClasses,
|
|
18642
|
+
backgroundColorStyles
|
|
18628
18643
|
} = _ref3;
|
|
18644
|
+
return createVNode("div", {
|
|
18645
|
+
"class": ['v-switch__track', ...backgroundColorClasses.value],
|
|
18646
|
+
"style": backgroundColorStyles.value,
|
|
18647
|
+
"onClick": onTrackClick
|
|
18648
|
+
}, null);
|
|
18649
|
+
},
|
|
18650
|
+
input: _ref4 => {
|
|
18651
|
+
let {
|
|
18652
|
+
inputNode,
|
|
18653
|
+
icon,
|
|
18654
|
+
backgroundColorClasses,
|
|
18655
|
+
backgroundColorStyles
|
|
18656
|
+
} = _ref4;
|
|
18629
18657
|
return createVNode(Fragment, null, [inputNode, createVNode("div", {
|
|
18630
18658
|
"class": ['v-switch__thumb', {
|
|
18631
18659
|
'v-switch__thumb--filled': icon || props.loading
|
|
18632
|
-
}]
|
|
18660
|
+
}, props.inset ? undefined : backgroundColorClasses.value],
|
|
18661
|
+
"style": props.inset ? undefined : backgroundColorStyles.value
|
|
18633
18662
|
}, [createVNode(VScaleTransition, null, {
|
|
18634
18663
|
default: () => [!props.loading ? icon && createVNode(VIcon, {
|
|
18635
18664
|
"key": icon,
|
|
@@ -18770,8 +18799,8 @@ const VTab = genericComponent()({
|
|
|
18770
18799
|
const delta = prevPos > nextPos ? prevBox[rightBottom] - nextBox[rightBottom] : prevBox[xy] - nextBox[xy];
|
|
18771
18800
|
const origin = Math.sign(delta) > 0 ? isHorizontal.value ? 'right' : 'bottom' : Math.sign(delta) < 0 ? isHorizontal.value ? 'left' : 'top' : 'center';
|
|
18772
18801
|
const size = Math.abs(delta) + (Math.sign(delta) < 0 ? prevBox[widthHeight] : nextBox[widthHeight]);
|
|
18773
|
-
const scale = size / Math.max(prevBox[widthHeight], nextBox[widthHeight]);
|
|
18774
|
-
const initialScale = prevBox[widthHeight] / nextBox[widthHeight];
|
|
18802
|
+
const scale = size / Math.max(prevBox[widthHeight], nextBox[widthHeight]) || 0;
|
|
18803
|
+
const initialScale = prevBox[widthHeight] / nextBox[widthHeight] || 0;
|
|
18775
18804
|
const sigma = 1.5;
|
|
18776
18805
|
animate(nextEl, {
|
|
18777
18806
|
backgroundColor: [color, 'currentcolor'],
|
|
@@ -19167,6 +19196,7 @@ const VTextarea = genericComponent()({
|
|
|
19167
19196
|
once: true
|
|
19168
19197
|
}]]), props.autoGrow && withDirectives(createVNode("textarea", {
|
|
19169
19198
|
"class": [fieldClass, 'v-textarea__sizer'],
|
|
19199
|
+
"id": `${slotProps.id}-sizer`,
|
|
19170
19200
|
"onUpdate:modelValue": $event => model.value = $event,
|
|
19171
19201
|
"ref": sizerRef,
|
|
19172
19202
|
"readonly": true,
|
|
@@ -24544,7 +24574,7 @@ function createVuetify$1() {
|
|
|
24544
24574
|
date
|
|
24545
24575
|
};
|
|
24546
24576
|
}
|
|
24547
|
-
const version$1 = "3.3.
|
|
24577
|
+
const version$1 = "3.3.15";
|
|
24548
24578
|
createVuetify$1.version = version$1;
|
|
24549
24579
|
|
|
24550
24580
|
// Vue's inject() can only be used in setup
|
|
@@ -24558,7 +24588,7 @@ function inject(key) {
|
|
|
24558
24588
|
|
|
24559
24589
|
/* eslint-disable local-rules/sort-imports */
|
|
24560
24590
|
|
|
24561
|
-
const version = "3.3.
|
|
24591
|
+
const version = "3.3.15";
|
|
24562
24592
|
|
|
24563
24593
|
/* eslint-disable local-rules/sort-imports */
|
|
24564
24594
|
|