vuetify 3.11.7 → 3.11.8

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/vuetify.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Vuetify v3.11.7
2
+ * Vuetify v3.11.8
3
3
  * Forged by John Leider
4
4
  * Released under the MIT License.
5
5
  */
@@ -13117,6 +13117,20 @@
13117
13117
  blur,
13118
13118
  focus
13119
13119
  }));
13120
+ const floatingLabelProps = vue.toRef(() => {
13121
+ const ariaHidden = !isActive.value;
13122
+ return {
13123
+ 'aria-hidden': ariaHidden,
13124
+ for: ariaHidden ? undefined : id.value
13125
+ };
13126
+ });
13127
+ const mainLabelProps = vue.toRef(() => {
13128
+ const ariaHidden = hasFloatingLabel.value && isActive.value;
13129
+ return {
13130
+ 'aria-hidden': ariaHidden,
13131
+ for: ariaHidden ? undefined : id.value
13132
+ };
13133
+ });
13120
13134
  function onClick(e) {
13121
13135
  if (e.target !== document.activeElement) {
13122
13136
  e.preventDefault();
@@ -13172,23 +13186,20 @@
13172
13186
  }, null)]), vue.createElementVNode("div", {
13173
13187
  "class": "v-field__field",
13174
13188
  "data-no-activator": ""
13175
- }, [['filled', 'solo', 'solo-inverted', 'solo-filled'].includes(props.variant) && hasFloatingLabel.value && vue.createVNode(VFieldLabel, {
13189
+ }, [['filled', 'solo', 'solo-inverted', 'solo-filled'].includes(props.variant) && hasFloatingLabel.value && vue.createVNode(VFieldLabel, vue.mergeProps({
13176
13190
  "key": "floating-label",
13177
13191
  "ref": floatingLabelRef,
13178
- "class": vue.normalizeClass([textColorClasses.value]),
13179
- "floating": true,
13180
- "for": id.value,
13181
- "aria-hidden": !isActive.value,
13182
- "style": vue.normalizeStyle(textColorStyles.value)
13183
- }, {
13192
+ "class": [textColorClasses.value],
13193
+ "floating": true
13194
+ }, floatingLabelProps.value, {
13195
+ "style": textColorStyles.value
13196
+ }), {
13184
13197
  default: () => [label()]
13185
- }), hasLabel.value && vue.createVNode(VFieldLabel, {
13198
+ }), hasLabel.value && vue.createVNode(VFieldLabel, vue.mergeProps({
13186
13199
  "key": "label",
13187
13200
  "ref": labelRef,
13188
- "id": props.labelId,
13189
- "for": id.value,
13190
- "aria-hidden": hasFloatingLabel.value && isActive.value
13191
- }, {
13201
+ "id": props.labelId
13202
+ }, mainLabelProps.value), {
13192
13203
  default: () => [label()]
13193
13204
  }), slots.default?.({
13194
13205
  ...slotProps.value,
@@ -13248,21 +13259,17 @@
13248
13259
  "class": "v-field__outline__start"
13249
13260
  }, null), hasFloatingLabel.value && vue.createElementVNode("div", {
13250
13261
  "class": "v-field__outline__notch"
13251
- }, [vue.createVNode(VFieldLabel, {
13262
+ }, [vue.createVNode(VFieldLabel, vue.mergeProps({
13252
13263
  "ref": floatingLabelRef,
13253
- "floating": true,
13254
- "for": id.value,
13255
- "aria-hidden": !isActive.value
13256
- }, {
13264
+ "floating": true
13265
+ }, floatingLabelProps.value), {
13257
13266
  default: () => [label()]
13258
13267
  })]), vue.createElementVNode("div", {
13259
13268
  "class": "v-field__outline__end"
13260
- }, null)]), isPlainOrUnderlined.value && hasFloatingLabel.value && vue.createVNode(VFieldLabel, {
13269
+ }, null)]), isPlainOrUnderlined.value && hasFloatingLabel.value && vue.createVNode(VFieldLabel, vue.mergeProps({
13261
13270
  "ref": floatingLabelRef,
13262
- "floating": true,
13263
- "for": id.value,
13264
- "aria-hidden": !isActive.value
13265
- }, {
13271
+ "floating": true
13272
+ }, floatingLabelProps.value), {
13266
13273
  default: () => [label()]
13267
13274
  })])]);
13268
13275
  });
@@ -20898,8 +20905,8 @@
20898
20905
  width,
20899
20906
  height
20900
20907
  } = entries[0].contentRect;
20901
- canvasWidth.value = width;
20902
- canvasHeight.value = height;
20908
+ canvasWidth.value = Math.round(width);
20909
+ canvasHeight.value = Math.round(height);
20903
20910
  });
20904
20911
  function updateDotPosition(x, y, rect) {
20905
20912
  const {
@@ -36713,7 +36720,7 @@
36713
36720
  };
36714
36721
  });
36715
36722
  }
36716
- const version$1 = "3.11.7";
36723
+ const version$1 = "3.11.8";
36717
36724
  createVuetify$1.version = version$1;
36718
36725
 
36719
36726
  // Vue's inject() can only be used in setup
@@ -36738,7 +36745,7 @@
36738
36745
  ...options
36739
36746
  });
36740
36747
  };
36741
- const version = "3.11.7";
36748
+ const version = "3.11.8";
36742
36749
  createVuetify.version = version;
36743
36750
 
36744
36751
  exports.blueprints = index;