vuetify 3.7.16 → 3.7.18

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 (47) hide show
  1. package/dist/json/attributes.json +3633 -3633
  2. package/dist/json/importMap-labs.json +34 -34
  3. package/dist/json/importMap.json +146 -146
  4. package/dist/json/web-types.json +6922 -6922
  5. package/dist/vuetify-labs.css +4443 -4442
  6. package/dist/vuetify-labs.d.ts +3 -3
  7. package/dist/vuetify-labs.esm.js +31 -28
  8. package/dist/vuetify-labs.esm.js.map +1 -1
  9. package/dist/vuetify-labs.js +31 -28
  10. package/dist/vuetify-labs.min.css +2 -2
  11. package/dist/vuetify.css +3398 -3397
  12. package/dist/vuetify.d.ts +59 -59
  13. package/dist/vuetify.esm.js +30 -27
  14. package/dist/vuetify.esm.js.map +1 -1
  15. package/dist/vuetify.js +30 -27
  16. package/dist/vuetify.js.map +1 -1
  17. package/dist/vuetify.min.css +2 -2
  18. package/dist/vuetify.min.js +336 -337
  19. package/dist/vuetify.min.js.map +1 -1
  20. package/lib/components/VDatePicker/VDatePickerControls.mjs +5 -5
  21. package/lib/components/VDatePicker/VDatePickerControls.mjs.map +1 -1
  22. package/lib/components/VDatePicker/VDatePickerMonth.mjs +21 -12
  23. package/lib/components/VDatePicker/VDatePickerMonth.mjs.map +1 -1
  24. package/lib/components/VDatePicker/index.d.mts +3 -3
  25. package/lib/components/VDialog/__test__/VDialog.spec.browser.mjs +50 -0
  26. package/lib/components/VDialog/__test__/VDialog.spec.browser.mjs.map +1 -0
  27. package/lib/components/VField/VField.mjs +1 -6
  28. package/lib/components/VField/VField.mjs.map +1 -1
  29. package/lib/components/VFileInput/VFileInput.mjs +2 -2
  30. package/lib/components/VFileInput/VFileInput.mjs.map +1 -1
  31. package/lib/components/VTextField/VTextField.mjs +2 -2
  32. package/lib/components/VTextField/VTextField.mjs.map +1 -1
  33. package/lib/components/VTextarea/VTextarea.mjs +2 -2
  34. package/lib/components/VTextarea/VTextarea.mjs.map +1 -1
  35. package/lib/components/VToolbar/VToolbar.css +1 -0
  36. package/lib/components/VToolbar/VToolbar.sass +1 -0
  37. package/lib/components/index.d.mts +3 -3
  38. package/lib/composables/theme.mjs +1 -1
  39. package/lib/composables/theme.mjs.map +1 -1
  40. package/lib/entry-bundler.mjs +1 -1
  41. package/lib/framework.mjs +1 -1
  42. package/lib/index.d.mts +56 -56
  43. package/lib/labs/VDateInput/VDateInput.mjs +1 -1
  44. package/lib/labs/VDateInput/VDateInput.mjs.map +1 -1
  45. package/package.json +2 -2
  46. package/lib/components/VDialog/__test__/VDialog.spec.cy.mjs +0 -39
  47. package/lib/components/VDialog/__test__/VDialog.spec.cy.mjs.map +0 -1
package/dist/vuetify.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Vuetify v3.7.16
2
+ * Vuetify v3.7.18
3
3
  * Forged by John Leider
4
4
  * Released under the MIT License.
5
5
  */
@@ -2892,7 +2892,7 @@
2892
2892
  function getHead() {
2893
2893
  return {
2894
2894
  style: [{
2895
- children: styles.value,
2895
+ textContent: styles.value,
2896
2896
  id: 'vuetify-theme-stylesheet',
2897
2897
  nonce: parsedOptions.cspNonce || false
2898
2898
  }]
@@ -12062,11 +12062,6 @@
12062
12062
  };
12063
12063
  }
12064
12064
  });
12065
- // TODO: this is kinda slow, might be better to implicitly inherit props instead
12066
- function filterFieldProps(attrs) {
12067
- const keys = Object.keys(VField.props).filter(k => !isOn(k) && k !== 'class' && k !== 'style');
12068
- return pick(attrs, keys);
12069
- }
12070
12065
 
12071
12066
  // Types
12072
12067
 
@@ -12174,7 +12169,7 @@
12174
12169
  modelValue: _,
12175
12170
  ...inputProps
12176
12171
  } = VInput.filterProps(props);
12177
- const fieldProps = filterFieldProps(props);
12172
+ const fieldProps = VField.filterProps(props);
12178
12173
  return vue.createVNode(VInput, vue.mergeProps({
12179
12174
  "ref": vInputRef,
12180
12175
  "modelValue": model.value,
@@ -21788,30 +21783,30 @@
21788
21783
  "class": ['v-date-picker-controls']
21789
21784
  }, [vue.createVNode(VBtn, {
21790
21785
  "class": "v-date-picker-controls__month-btn",
21786
+ "data-testid": "month-btn",
21791
21787
  "disabled": disableMonth.value,
21792
21788
  "text": props.text,
21793
21789
  "variant": "text",
21794
21790
  "rounded": true,
21795
21791
  "onClick": onClickMonth
21796
21792
  }, null), vue.createVNode(VBtn, {
21797
- "key": "mode-btn",
21798
21793
  "class": "v-date-picker-controls__mode-btn",
21794
+ "data-testid": "year-btn",
21799
21795
  "disabled": disableYear.value,
21800
21796
  "density": "comfortable",
21801
21797
  "icon": props.modeIcon,
21802
21798
  "variant": "text",
21803
21799
  "onClick": onClickYear
21804
- }, null), vue.createVNode(VSpacer, {
21805
- "key": "mode-spacer"
21806
- }, null), vue.createVNode("div", {
21807
- "key": "month-buttons",
21800
+ }, null), vue.createVNode(VSpacer, null, null), vue.createVNode("div", {
21808
21801
  "class": "v-date-picker-controls__month"
21809
21802
  }, [vue.createVNode(VBtn, {
21803
+ "data-testid": "prev-month",
21810
21804
  "disabled": disablePrev.value,
21811
21805
  "icon": props.prevIcon,
21812
21806
  "variant": "text",
21813
21807
  "onClick": onClickPrev
21814
21808
  }, null), vue.createVNode(VBtn, {
21809
+ "data-testid": "next-month",
21815
21810
  "disabled": disableNext.value,
21816
21811
  "icon": props.nextIcon,
21817
21812
  "variant": "text",
@@ -22158,7 +22153,7 @@
22158
22153
  model.value = [value];
22159
22154
  }
22160
22155
  }
22161
- useRender(() => vue.createVNode("div", {
22156
+ return () => vue.createVNode("div", {
22162
22157
  "class": "v-date-picker-month"
22163
22158
  }, [props.showWeek && vue.createVNode("div", {
22164
22159
  "key": "weeks",
@@ -22180,13 +22175,6 @@
22180
22175
  }, [weekDay])), daysInMonth.value.map((item, i) => {
22181
22176
  const slotProps = {
22182
22177
  props: {
22183
- class: 'v-date-picker-month__day-btn',
22184
- color: (item.isSelected || item.isToday) && !item.isDisabled ? props.color : undefined,
22185
- disabled: item.isDisabled,
22186
- icon: true,
22187
- ripple: false,
22188
- text: item.localized,
22189
- variant: item.isDisabled ? item.isToday ? 'outlined' : 'text' : item.isToday && !item.isSelected ? 'outlined' : 'flat',
22190
22178
  onClick: () => onClick(item.date)
22191
22179
  },
22192
22180
  item,
@@ -22204,9 +22192,24 @@
22204
22192
  'v-date-picker-month__day--week-start': item.isWeekStart
22205
22193
  }],
22206
22194
  "data-v-date": !item.isDisabled ? item.isoDate : undefined
22207
- }, [(props.showAdjacentMonths || !item.isAdjacent) && (slots.day?.(slotProps) ?? vue.createVNode(VBtn, slotProps.props, null))]);
22195
+ }, [(props.showAdjacentMonths || !item.isAdjacent) && vue.createVNode(VDefaultsProvider, {
22196
+ "defaults": {
22197
+ VBtn: {
22198
+ class: 'v-date-picker-month__day-btn',
22199
+ color: (item.isSelected || item.isToday) && !item.isDisabled ? props.color : undefined,
22200
+ disabled: item.isDisabled,
22201
+ icon: true,
22202
+ ripple: false,
22203
+ text: item.localized,
22204
+ variant: item.isDisabled ? item.isToday ? 'outlined' : 'text' : item.isToday && !item.isSelected ? 'outlined' : 'flat',
22205
+ onClick: () => onClick(item.date)
22206
+ }
22207
+ }
22208
+ }, {
22209
+ default: () => [slots.day?.(slotProps) ?? vue.createVNode(VBtn, slotProps.props, null)]
22210
+ })]);
22208
22211
  })])]
22209
- })]));
22212
+ })]);
22210
22213
  }
22211
22214
  });
22212
22215
 
@@ -23344,7 +23347,7 @@
23344
23347
  modelValue: _,
23345
23348
  ...inputProps
23346
23349
  } = VInput.filterProps(props);
23347
- const fieldProps = filterFieldProps(props);
23350
+ const fieldProps = VField.filterProps(props);
23348
23351
  return vue.createVNode(VInput, vue.mergeProps({
23349
23352
  "ref": vInputRef,
23350
23353
  "modelValue": props.multiple ? model.value : model.value[0],
@@ -27479,7 +27482,7 @@
27479
27482
  modelValue: _,
27480
27483
  ...inputProps
27481
27484
  } = VInput.filterProps(props);
27482
- const fieldProps = filterFieldProps(props);
27485
+ const fieldProps = VField.filterProps(props);
27483
27486
  return vue.createVNode(VInput, vue.mergeProps({
27484
27487
  "ref": vInputRef,
27485
27488
  "modelValue": model.value,
@@ -28453,7 +28456,7 @@
28453
28456
  goTo
28454
28457
  };
28455
28458
  }
28456
- const version$1 = "3.7.16";
28459
+ const version$1 = "3.7.18";
28457
28460
  createVuetify$1.version = version$1;
28458
28461
 
28459
28462
  // Vue's inject() can only be used in setup
@@ -28478,7 +28481,7 @@
28478
28481
  ...options
28479
28482
  });
28480
28483
  };
28481
- const version = "3.7.16";
28484
+ const version = "3.7.18";
28482
28485
  createVuetify.version = version;
28483
28486
 
28484
28487
  exports.blueprints = index;