@vuetify/nightly 3.8.4-dev.2025-05-07 → 3.8.4-dev.2025-05-13

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 (54) hide show
  1. package/CHANGELOG.md +6 -3
  2. package/dist/json/attributes.json +3179 -3171
  3. package/dist/json/importMap-labs.json +30 -30
  4. package/dist/json/importMap.json +158 -158
  5. package/dist/json/tags.json +2 -0
  6. package/dist/json/web-types.json +6010 -5991
  7. package/dist/vuetify-labs.cjs +47 -23
  8. package/dist/vuetify-labs.css +4945 -4940
  9. package/dist/vuetify-labs.d.ts +951 -932
  10. package/dist/vuetify-labs.esm.js +47 -23
  11. package/dist/vuetify-labs.esm.js.map +1 -1
  12. package/dist/vuetify-labs.js +47 -23
  13. package/dist/vuetify-labs.min.css +2 -2
  14. package/dist/vuetify.cjs +41 -12
  15. package/dist/vuetify.cjs.map +1 -1
  16. package/dist/vuetify.css +5435 -5430
  17. package/dist/vuetify.d.ts +512 -491
  18. package/dist/vuetify.esm.js +41 -12
  19. package/dist/vuetify.esm.js.map +1 -1
  20. package/dist/vuetify.js +41 -12
  21. package/dist/vuetify.js.map +1 -1
  22. package/dist/vuetify.min.css +2 -2
  23. package/dist/vuetify.min.js +599 -597
  24. package/dist/vuetify.min.js.map +1 -1
  25. package/lib/components/VAlert/VAlert.css +6 -1
  26. package/lib/components/VAlert/VAlert.d.ts +35 -0
  27. package/lib/components/VAlert/VAlert.js +14 -9
  28. package/lib/components/VAlert/VAlert.js.map +1 -1
  29. package/lib/components/VAlert/VAlert.sass +7 -1
  30. package/lib/components/VAutocomplete/VAutocomplete.d.ts +94 -94
  31. package/lib/components/VCheckbox/VCheckbox.d.ts +3 -3
  32. package/lib/components/VCombobox/VCombobox.d.ts +94 -94
  33. package/lib/components/VField/VField.d.ts +3 -3
  34. package/lib/components/VFileInput/VFileInput.d.ts +15 -15
  35. package/lib/components/VInput/VInput.d.ts +3 -3
  36. package/lib/components/VNumberInput/VNumberInput.d.ts +89 -89
  37. package/lib/components/VRadioGroup/VRadioGroup.d.ts +3 -3
  38. package/lib/components/VRangeSlider/VRangeSlider.d.ts +3 -3
  39. package/lib/components/VSelect/VSelect.d.ts +94 -94
  40. package/lib/components/VSlider/VSlider.d.ts +3 -3
  41. package/lib/components/VSwitch/VSwitch.d.ts +3 -3
  42. package/lib/components/VTextField/VTextField.d.ts +27 -27
  43. package/lib/components/VTextarea/VTextarea.d.ts +15 -15
  44. package/lib/composables/iconSizes.d.ts +28 -0
  45. package/lib/composables/iconSizes.js +23 -0
  46. package/lib/composables/iconSizes.js.map +1 -0
  47. package/lib/entry-bundler.js +1 -1
  48. package/lib/framework.d.ts +57 -57
  49. package/lib/framework.js +1 -1
  50. package/lib/labs/VDateInput/VDateInput.d.ts +87 -87
  51. package/lib/labs/VIconBtn/VIconBtn.d.ts +29 -29
  52. package/lib/labs/VIconBtn/VIconBtn.js +7 -11
  53. package/lib/labs/VIconBtn/VIconBtn.js.map +1 -1
  54. package/package.json +2 -1
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Vuetify v3.8.4-dev.2025-05-07
2
+ * Vuetify v3.8.4-dev.2025-05-13
3
3
  * Forged by John Leider
4
4
  * Released under the MIT License.
5
5
  */
@@ -5939,6 +5939,31 @@ const VAppBarTitle = genericComponent()({
5939
5939
  // Utilities
5940
5940
  const VAlertTitle = createSimpleFunctional('v-alert-title');
5941
5941
 
5942
+ // Utilities
5943
+
5944
+ // Types
5945
+
5946
+ // Types
5947
+
5948
+ // Composables
5949
+ const makeIconSizeProps = propsFactory({
5950
+ iconSize: [Number, String],
5951
+ iconSizes: {
5952
+ type: Array,
5953
+ default: () => [['x-small', 10], ['small', 16], ['default', 24], ['large', 28], ['x-large', 32]]
5954
+ }
5955
+ }, 'iconSize');
5956
+ function useIconSizes(props, fallback) {
5957
+ const iconSize = computed(() => {
5958
+ const iconSizeMap = new Map(props.iconSizes);
5959
+ const _iconSize = props.iconSize ?? fallback() ?? 'default';
5960
+ return iconSizeMap.has(_iconSize) ? iconSizeMap.get(_iconSize) : _iconSize;
5961
+ });
5962
+ return {
5963
+ iconSize
5964
+ };
5965
+ }
5966
+
5942
5967
  // Types
5943
5968
 
5944
5969
  const allowedTypes = ['success', 'info', 'warning', 'error'];
@@ -5978,6 +6003,7 @@ const makeVAlertProps = propsFactory({
5978
6003
  ...makeDensityProps(),
5979
6004
  ...makeDimensionProps(),
5980
6005
  ...makeElevationProps(),
6006
+ ...makeIconSizeProps(),
5981
6007
  ...makeLocationProps(),
5982
6008
  ...makePositionProps(),
5983
6009
  ...makeRoundedProps(),
@@ -6005,6 +6031,9 @@ const VAlert = genericComponent()({
6005
6031
  if (!props.type) return props.icon;
6006
6032
  return props.icon ?? `$${props.type}`;
6007
6033
  });
6034
+ const {
6035
+ iconSize
6036
+ } = useIconSizes(props, () => props.prominent ? 44 : 28);
6008
6037
  const {
6009
6038
  themeClasses
6010
6039
  } = provideTheme(props);
@@ -6052,6 +6081,11 @@ const VAlert = genericComponent()({
6052
6081
  const hasPrepend = !!(slots.prepend || icon.value);
6053
6082
  const hasTitle = !!(slots.title || props.title);
6054
6083
  const hasClose = !!(slots.close || props.closable);
6084
+ const iconProps = {
6085
+ density: props.density,
6086
+ icon: icon.value,
6087
+ size: iconSize.value
6088
+ };
6055
6089
  return isActive.value && createVNode(props.tag, {
6056
6090
  "class": ['v-alert', props.border && {
6057
6091
  'v-alert--border': !!props.border,
@@ -6069,19 +6103,14 @@ const VAlert = genericComponent()({
6069
6103
  }, null), hasPrepend && createVNode("div", {
6070
6104
  "key": "prepend",
6071
6105
  "class": "v-alert__prepend"
6072
- }, [!slots.prepend ? createVNode(VIcon, {
6073
- "key": "prepend-icon",
6074
- "density": props.density,
6075
- "icon": icon.value,
6076
- "size": props.prominent ? 44 : 28
6077
- }, null) : createVNode(VDefaultsProvider, {
6106
+ }, [!slots.prepend ? createVNode(VIcon, mergeProps({
6107
+ "key": "prepend-icon"
6108
+ }, iconProps), null) : createVNode(VDefaultsProvider, {
6078
6109
  "key": "prepend-defaults",
6079
6110
  "disabled": !icon.value,
6080
6111
  "defaults": {
6081
6112
  VIcon: {
6082
- density: props.density,
6083
- icon: icon.value,
6084
- size: props.prominent ? 44 : 28
6113
+ ...iconProps
6085
6114
  }
6086
6115
  }
6087
6116
  }, slots.prepend)]), createVNode("div", {
@@ -29703,11 +29732,6 @@ const makeVIconBtnProps = propsFactory({
29703
29732
  hideOverlay: Boolean,
29704
29733
  icon: [String, Function, Object],
29705
29734
  iconColor: String,
29706
- iconSize: [Number, String],
29707
- iconSizes: {
29708
- type: Array,
29709
- default: () => [['x-small', 10], ['small', 16], ['default', 24], ['large', 28], ['x-large', 32]]
29710
- },
29711
29735
  loading: Boolean,
29712
29736
  opacity: [Number, String],
29713
29737
  readonly: Boolean,
@@ -29727,6 +29751,7 @@ const makeVIconBtnProps = propsFactory({
29727
29751
  ...makeBorderProps(),
29728
29752
  ...makeComponentProps(),
29729
29753
  ...makeElevationProps(),
29754
+ ...makeIconSizeProps(),
29730
29755
  ...makeRoundedProps(),
29731
29756
  ...makeTagProps({
29732
29757
  tag: 'button'
@@ -29781,7 +29806,6 @@ const VIconBtn = genericComponent()({
29781
29806
  })()
29782
29807
  }));
29783
29808
  const btnSizeMap = new Map(props.sizes);
29784
- const iconSizeMap = new Map(props.iconSizes);
29785
29809
  function onClick() {
29786
29810
  if (props.disabled || props.readonly || isActive.value === undefined || props.tag === 'a' && attrs.href) return;
29787
29811
  isActive.value = !isActive.value;
@@ -29793,12 +29817,12 @@ const VIconBtn = genericComponent()({
29793
29817
  const btnSize = hasNamedSize ? btnSizeMap.get(_btnSize) : _btnSize;
29794
29818
  const btnHeight = props.height ?? btnSize;
29795
29819
  const btnWidth = props.width ?? btnSize;
29796
- const _iconSize = props.iconSize;
29797
- const hasNamedIconSize = iconSizeMap.has(_iconSize);
29798
- const iconSize = !_iconSize ? hasNamedSize ? iconSizeMap.get(_btnSize) : iconSizeMap.get('default') : hasNamedIconSize ? iconSizeMap.get(_iconSize) : _iconSize;
29820
+ const {
29821
+ iconSize
29822
+ } = useIconSizes(props, () => new Map(props.iconSizes).get(_btnSize));
29799
29823
  const iconProps = {
29800
29824
  icon,
29801
- size: iconSize,
29825
+ size: iconSize.value,
29802
29826
  iconColor: props.iconColor,
29803
29827
  opacity: props.opacity
29804
29828
  };
@@ -29841,7 +29865,7 @@ const VIconBtn = genericComponent()({
29841
29865
  "color": typeof props.loading === 'boolean' ? undefined : props.loading,
29842
29866
  "indeterminate": "disable-shrink",
29843
29867
  "width": "2",
29844
- "size": iconSize
29868
+ "size": iconSize.value
29845
29869
  }, null)])]
29846
29870
  });
29847
29871
  });
@@ -31750,7 +31774,7 @@ function createVuetify$1() {
31750
31774
  };
31751
31775
  });
31752
31776
  }
31753
- const version$1 = "3.8.4-dev.2025-05-07";
31777
+ const version$1 = "3.8.4-dev.2025-05-13";
31754
31778
  createVuetify$1.version = version$1;
31755
31779
 
31756
31780
  // Vue's inject() can only be used in setup
@@ -32048,7 +32072,7 @@ var index = /*#__PURE__*/Object.freeze({
32048
32072
 
32049
32073
  /* eslint-disable local-rules/sort-imports */
32050
32074
 
32051
- const version = "3.8.4-dev.2025-05-07";
32075
+ const version = "3.8.4-dev.2025-05-13";
32052
32076
 
32053
32077
  /* eslint-disable local-rules/sort-imports */
32054
32078