@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
  */
@@ -6217,6 +6217,31 @@ const VAppBarTitle = genericComponent()({
6217
6217
  // Utilities
6218
6218
  const VAlertTitle = createSimpleFunctional('v-alert-title');
6219
6219
 
6220
+ // Utilities
6221
+
6222
+ // Types
6223
+
6224
+ // Types
6225
+
6226
+ // Composables
6227
+ const makeIconSizeProps = propsFactory({
6228
+ iconSize: [Number, String],
6229
+ iconSizes: {
6230
+ type: Array,
6231
+ default: () => [['x-small', 10], ['small', 16], ['default', 24], ['large', 28], ['x-large', 32]]
6232
+ }
6233
+ }, 'iconSize');
6234
+ function useIconSizes(props, fallback) {
6235
+ const iconSize = computed(() => {
6236
+ const iconSizeMap = new Map(props.iconSizes);
6237
+ const _iconSize = props.iconSize ?? fallback() ?? 'default';
6238
+ return iconSizeMap.has(_iconSize) ? iconSizeMap.get(_iconSize) : _iconSize;
6239
+ });
6240
+ return {
6241
+ iconSize
6242
+ };
6243
+ }
6244
+
6220
6245
  // Types
6221
6246
 
6222
6247
  const allowedTypes = ['success', 'info', 'warning', 'error'];
@@ -6256,6 +6281,7 @@ const makeVAlertProps = propsFactory({
6256
6281
  ...makeDensityProps(),
6257
6282
  ...makeDimensionProps(),
6258
6283
  ...makeElevationProps(),
6284
+ ...makeIconSizeProps(),
6259
6285
  ...makeLocationProps(),
6260
6286
  ...makePositionProps(),
6261
6287
  ...makeRoundedProps(),
@@ -6283,6 +6309,9 @@ const VAlert = genericComponent()({
6283
6309
  if (!props.type) return props.icon;
6284
6310
  return props.icon ?? `$${props.type}`;
6285
6311
  });
6312
+ const {
6313
+ iconSize
6314
+ } = useIconSizes(props, () => props.prominent ? 44 : 28);
6286
6315
  const {
6287
6316
  themeClasses
6288
6317
  } = provideTheme(props);
@@ -6330,6 +6359,11 @@ const VAlert = genericComponent()({
6330
6359
  const hasPrepend = !!(slots.prepend || icon.value);
6331
6360
  const hasTitle = !!(slots.title || props.title);
6332
6361
  const hasClose = !!(slots.close || props.closable);
6362
+ const iconProps = {
6363
+ density: props.density,
6364
+ icon: icon.value,
6365
+ size: iconSize.value
6366
+ };
6333
6367
  return isActive.value && createVNode(props.tag, {
6334
6368
  "class": ['v-alert', props.border && {
6335
6369
  'v-alert--border': !!props.border,
@@ -6347,19 +6381,14 @@ const VAlert = genericComponent()({
6347
6381
  }, null), hasPrepend && createVNode("div", {
6348
6382
  "key": "prepend",
6349
6383
  "class": "v-alert__prepend"
6350
- }, [!slots.prepend ? createVNode(VIcon, {
6351
- "key": "prepend-icon",
6352
- "density": props.density,
6353
- "icon": icon.value,
6354
- "size": props.prominent ? 44 : 28
6355
- }, null) : createVNode(VDefaultsProvider, {
6384
+ }, [!slots.prepend ? createVNode(VIcon, mergeProps({
6385
+ "key": "prepend-icon"
6386
+ }, iconProps), null) : createVNode(VDefaultsProvider, {
6356
6387
  "key": "prepend-defaults",
6357
6388
  "disabled": !icon.value,
6358
6389
  "defaults": {
6359
6390
  VIcon: {
6360
- density: props.density,
6361
- icon: icon.value,
6362
- size: props.prominent ? 44 : 28
6391
+ ...iconProps
6363
6392
  }
6364
6393
  }
6365
6394
  }, slots.prepend)]), createVNode("div", {
@@ -29318,7 +29347,7 @@ function createVuetify$1() {
29318
29347
  };
29319
29348
  });
29320
29349
  }
29321
- const version$1 = "3.8.4-dev.2025-05-07";
29350
+ const version$1 = "3.8.4-dev.2025-05-13";
29322
29351
  createVuetify$1.version = version$1;
29323
29352
 
29324
29353
  // Vue's inject() can only be used in setup
@@ -29343,7 +29372,7 @@ const createVuetify = function () {
29343
29372
  ...options
29344
29373
  });
29345
29374
  };
29346
- const version = "3.8.4-dev.2025-05-07";
29375
+ const version = "3.8.4-dev.2025-05-13";
29347
29376
  createVuetify.version = version;
29348
29377
 
29349
29378
  export { index as blueprints, components, createVuetify, directives, useDate, useDefaults, useDisplay, useGoTo, useLayout, useLocale, useRtl, useTheme, version };