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.
Files changed (60) hide show
  1. package/dist/json/importMap-labs.json +4 -4
  2. package/dist/json/web-types.json +95 -46
  3. package/dist/vuetify-labs.css +411 -391
  4. package/dist/vuetify-labs.d.ts +447 -226
  5. package/dist/vuetify-labs.esm.js +47 -17
  6. package/dist/vuetify-labs.esm.js.map +1 -1
  7. package/dist/vuetify-labs.js +47 -17
  8. package/dist/vuetify-labs.min.css +2 -2
  9. package/dist/vuetify.css +39 -19
  10. package/dist/vuetify.d.ts +448 -227
  11. package/dist/vuetify.esm.js +47 -17
  12. package/dist/vuetify.esm.js.map +1 -1
  13. package/dist/vuetify.js +47 -17
  14. package/dist/vuetify.js.map +1 -1
  15. package/dist/vuetify.min.css +2 -2
  16. package/dist/vuetify.min.js +18 -17
  17. package/dist/vuetify.min.js.map +1 -1
  18. package/lib/components/VBtnToggle/VBtnToggle.css +13 -2
  19. package/lib/components/VBtnToggle/VBtnToggle.sass +3 -3
  20. package/lib/components/VBtnToggle/_variables.scss +2 -1
  21. package/lib/components/VCheckbox/VCheckbox.mjs.map +1 -1
  22. package/lib/components/VCheckbox/index.d.mts +203 -87
  23. package/lib/components/VField/VField.css +14 -11
  24. package/lib/components/VField/VField.sass +14 -7
  25. package/lib/components/VField/_variables.scss +0 -1
  26. package/lib/components/VIcon/VIcon.css +1 -0
  27. package/lib/components/VIcon/VIcon.sass +1 -0
  28. package/lib/components/VOverlay/useActivator.mjs +1 -1
  29. package/lib/components/VOverlay/useActivator.mjs.map +1 -1
  30. package/lib/components/VRadio/index.d.mts +82 -23
  31. package/lib/components/VRadioGroup/VRadioGroup.mjs.map +1 -1
  32. package/lib/components/VRadioGroup/index.d.mts +75 -109
  33. package/lib/components/VSelectionControl/VSelectionControl.mjs +17 -2
  34. package/lib/components/VSelectionControl/VSelectionControl.mjs.map +1 -1
  35. package/lib/components/VSelectionControl/index.d.mts +19 -5
  36. package/lib/components/VSwitch/VSwitch.css +7 -5
  37. package/lib/components/VSwitch/VSwitch.mjs +18 -8
  38. package/lib/components/VSwitch/VSwitch.mjs.map +1 -1
  39. package/lib/components/VSwitch/VSwitch.sass +6 -4
  40. package/lib/components/VSwitch/_variables.scss +5 -3
  41. package/lib/components/VSwitch/index.d.mts +82 -23
  42. package/lib/components/VTable/VTable.css +3 -0
  43. package/lib/components/VTable/VTable.sass +4 -0
  44. package/lib/components/VTable/_variables.scss +3 -0
  45. package/lib/components/VTabs/VTab.mjs +2 -2
  46. package/lib/components/VTabs/VTab.mjs.map +1 -1
  47. package/lib/components/VTextarea/VTextarea.mjs +1 -0
  48. package/lib/components/VTextarea/VTextarea.mjs.map +1 -1
  49. package/lib/components/index.d.mts +448 -227
  50. package/lib/composables/theme.mjs +6 -2
  51. package/lib/composables/theme.mjs.map +1 -1
  52. package/lib/entry-bundler.mjs +1 -1
  53. package/lib/framework.mjs +1 -1
  54. package/lib/index.d.mts +1 -1
  55. package/lib/locale/bg.mjs +23 -23
  56. package/lib/locale/bg.mjs.map +1 -1
  57. package/lib/locale/fa.mjs +16 -16
  58. package/lib/locale/fa.mjs.map +1 -1
  59. package/lib/styles/tools/_states.sass +5 -5
  60. package/package.json +2 -2
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Vuetify v3.3.14
2
+ * Vuetify v3.3.15
3
3
  * Forged by John Leider
4
4
  * Released under the MIT License.
5
5
  */
@@ -2119,6 +2119,7 @@
2119
2119
  colors: {
2120
2120
  background: '#FFFFFF',
2121
2121
  surface: '#FFFFFF',
2122
+ 'surface-bright': '#FFFFFF',
2122
2123
  'surface-variant': '#424242',
2123
2124
  'on-surface-variant': '#EEEEEE',
2124
2125
  primary: '#6200EE',
@@ -2154,7 +2155,8 @@
2154
2155
  colors: {
2155
2156
  background: '#121212',
2156
2157
  surface: '#212121',
2157
- 'surface-variant': '#BDBDBD',
2158
+ 'surface-bright': '#ccbfd6',
2159
+ 'surface-variant': '#a3a3a3',
2158
2160
  'on-surface-variant': '#424242',
2159
2161
  primary: '#BB86FC',
2160
2162
  'primary-darken-1': '#3700B3',
@@ -2345,12 +2347,14 @@
2345
2347
  const theme = vue.inject(ThemeSymbol, null);
2346
2348
  if (!theme) throw new Error('Could not find Vuetify theme injection');
2347
2349
  const name = vue.computed(() => {
2348
- return props.theme ?? theme?.name.value;
2350
+ return props.theme ?? theme.name.value;
2349
2351
  });
2352
+ const current = vue.computed(() => theme.themes.value[name.value]);
2350
2353
  const themeClasses = vue.computed(() => theme.isDisabled ? undefined : `v-theme--${name.value}`);
2351
2354
  const newTheme = {
2352
2355
  ...theme,
2353
2356
  name,
2357
+ current,
2354
2358
  themeClasses
2355
2359
  };
2356
2360
  vue.provide(ThemeSymbol, newTheme);
@@ -5807,6 +5811,12 @@
5807
5811
  } = useTextColor(vue.computed(() => {
5808
5812
  return model.value && !props.error && !props.disabled ? props.color : undefined;
5809
5813
  }));
5814
+ const {
5815
+ backgroundColorClasses,
5816
+ backgroundColorStyles
5817
+ } = useBackgroundColor(vue.computed(() => {
5818
+ return model.value && !props.error && !props.disabled ? props.color : undefined;
5819
+ }));
5810
5820
  const icon = vue.computed(() => model.value ? props.trueIcon : props.falseIcon);
5811
5821
  return {
5812
5822
  group,
@@ -5816,6 +5826,8 @@
5816
5826
  model,
5817
5827
  textColorClasses,
5818
5828
  textColorStyles,
5829
+ backgroundColorClasses,
5830
+ backgroundColorStyles,
5819
5831
  icon
5820
5832
  };
5821
5833
  }
@@ -5841,6 +5853,8 @@
5841
5853
  model,
5842
5854
  textColorClasses,
5843
5855
  textColorStyles,
5856
+ backgroundColorClasses,
5857
+ backgroundColorStyles,
5844
5858
  trueValue
5845
5859
  } = useSelectionControl(props);
5846
5860
  const uid = getUid();
@@ -5905,12 +5919,17 @@
5905
5919
  }), [vue.createVNode("div", {
5906
5920
  "class": ['v-selection-control__wrapper', textColorClasses.value],
5907
5921
  "style": textColorStyles.value
5908
- }, [slots.default?.(), vue.withDirectives(vue.createVNode("div", {
5922
+ }, [slots.default?.({
5923
+ backgroundColorClasses,
5924
+ backgroundColorStyles
5925
+ }), vue.withDirectives(vue.createVNode("div", {
5909
5926
  "class": ['v-selection-control__input']
5910
5927
  }, [slots.input?.({
5911
5928
  model,
5912
5929
  textColorClasses,
5913
5930
  textColorStyles,
5931
+ backgroundColorClasses,
5932
+ backgroundColorStyles,
5914
5933
  inputNode,
5915
5934
  icon: icon.value,
5916
5935
  props: {
@@ -9121,7 +9140,7 @@
9121
9140
  if (selector) {
9122
9141
  if (selector === 'parent') {
9123
9142
  let el = vm?.proxy?.$el?.parentNode;
9124
- while (el.hasAttribute('data-no-activator')) {
9143
+ while (el?.hasAttribute('data-no-activator')) {
9125
9144
  el = el.parentNode;
9126
9145
  }
9127
9146
  activator = el;
@@ -18621,19 +18640,29 @@
18621
18640
  "onBlur": blur
18622
18641
  }, controlAttrs), {
18623
18642
  ...slots,
18624
- default: () => vue.createVNode("div", {
18625
- "class": "v-switch__track",
18626
- "onClick": onTrackClick
18627
- }, null),
18628
- input: _ref3 => {
18643
+ default: _ref3 => {
18629
18644
  let {
18630
- inputNode,
18631
- icon
18645
+ backgroundColorClasses,
18646
+ backgroundColorStyles
18632
18647
  } = _ref3;
18648
+ return vue.createVNode("div", {
18649
+ "class": ['v-switch__track', ...backgroundColorClasses.value],
18650
+ "style": backgroundColorStyles.value,
18651
+ "onClick": onTrackClick
18652
+ }, null);
18653
+ },
18654
+ input: _ref4 => {
18655
+ let {
18656
+ inputNode,
18657
+ icon,
18658
+ backgroundColorClasses,
18659
+ backgroundColorStyles
18660
+ } = _ref4;
18633
18661
  return vue.createVNode(vue.Fragment, null, [inputNode, vue.createVNode("div", {
18634
18662
  "class": ['v-switch__thumb', {
18635
18663
  'v-switch__thumb--filled': icon || props.loading
18636
- }]
18664
+ }, props.inset ? undefined : backgroundColorClasses.value],
18665
+ "style": props.inset ? undefined : backgroundColorStyles.value
18637
18666
  }, [vue.createVNode(VScaleTransition, null, {
18638
18667
  default: () => [!props.loading ? icon && vue.createVNode(VIcon, {
18639
18668
  "key": icon,
@@ -18774,8 +18803,8 @@
18774
18803
  const delta = prevPos > nextPos ? prevBox[rightBottom] - nextBox[rightBottom] : prevBox[xy] - nextBox[xy];
18775
18804
  const origin = Math.sign(delta) > 0 ? isHorizontal.value ? 'right' : 'bottom' : Math.sign(delta) < 0 ? isHorizontal.value ? 'left' : 'top' : 'center';
18776
18805
  const size = Math.abs(delta) + (Math.sign(delta) < 0 ? prevBox[widthHeight] : nextBox[widthHeight]);
18777
- const scale = size / Math.max(prevBox[widthHeight], nextBox[widthHeight]);
18778
- const initialScale = prevBox[widthHeight] / nextBox[widthHeight];
18806
+ const scale = size / Math.max(prevBox[widthHeight], nextBox[widthHeight]) || 0;
18807
+ const initialScale = prevBox[widthHeight] / nextBox[widthHeight] || 0;
18779
18808
  const sigma = 1.5;
18780
18809
  animate(nextEl, {
18781
18810
  backgroundColor: [color, 'currentcolor'],
@@ -19171,6 +19200,7 @@
19171
19200
  once: true
19172
19201
  }]]), props.autoGrow && vue.withDirectives(vue.createVNode("textarea", {
19173
19202
  "class": [fieldClass, 'v-textarea__sizer'],
19203
+ "id": `${slotProps.id}-sizer`,
19174
19204
  "onUpdate:modelValue": $event => model.value = $event,
19175
19205
  "ref": sizerRef,
19176
19206
  "readonly": true,
@@ -24548,7 +24578,7 @@
24548
24578
  date
24549
24579
  };
24550
24580
  }
24551
- const version$1 = "3.3.14";
24581
+ const version$1 = "3.3.15";
24552
24582
  createVuetify$1.version = version$1;
24553
24583
 
24554
24584
  // Vue's inject() can only be used in setup
@@ -24562,7 +24592,7 @@
24562
24592
 
24563
24593
  /* eslint-disable local-rules/sort-imports */
24564
24594
 
24565
- const version = "3.3.14";
24595
+ const version = "3.3.15";
24566
24596
 
24567
24597
  /* eslint-disable local-rules/sort-imports */
24568
24598