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.
@@ -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
  */
@@ -12788,6 +12788,20 @@
12788
12788
  blur,
12789
12789
  focus
12790
12790
  }));
12791
+ const floatingLabelProps = vue.toRef(() => {
12792
+ const ariaHidden = !isActive.value;
12793
+ return {
12794
+ 'aria-hidden': ariaHidden,
12795
+ for: ariaHidden ? undefined : id.value
12796
+ };
12797
+ });
12798
+ const mainLabelProps = vue.toRef(() => {
12799
+ const ariaHidden = hasFloatingLabel.value && isActive.value;
12800
+ return {
12801
+ 'aria-hidden': ariaHidden,
12802
+ for: ariaHidden ? undefined : id.value
12803
+ };
12804
+ });
12791
12805
  function onClick(e) {
12792
12806
  if (e.target !== document.activeElement) {
12793
12807
  e.preventDefault();
@@ -12843,23 +12857,20 @@
12843
12857
  }, null)]), vue.createElementVNode("div", {
12844
12858
  "class": "v-field__field",
12845
12859
  "data-no-activator": ""
12846
- }, [['filled', 'solo', 'solo-inverted', 'solo-filled'].includes(props.variant) && hasFloatingLabel.value && vue.createVNode(VFieldLabel, {
12860
+ }, [['filled', 'solo', 'solo-inverted', 'solo-filled'].includes(props.variant) && hasFloatingLabel.value && vue.createVNode(VFieldLabel, vue.mergeProps({
12847
12861
  "key": "floating-label",
12848
12862
  "ref": floatingLabelRef,
12849
- "class": vue.normalizeClass([textColorClasses.value]),
12850
- "floating": true,
12851
- "for": id.value,
12852
- "aria-hidden": !isActive.value,
12853
- "style": vue.normalizeStyle(textColorStyles.value)
12854
- }, {
12863
+ "class": [textColorClasses.value],
12864
+ "floating": true
12865
+ }, floatingLabelProps.value, {
12866
+ "style": textColorStyles.value
12867
+ }), {
12855
12868
  default: () => [label()]
12856
- }), hasLabel.value && vue.createVNode(VFieldLabel, {
12869
+ }), hasLabel.value && vue.createVNode(VFieldLabel, vue.mergeProps({
12857
12870
  "key": "label",
12858
12871
  "ref": labelRef,
12859
- "id": props.labelId,
12860
- "for": id.value,
12861
- "aria-hidden": hasFloatingLabel.value && isActive.value
12862
- }, {
12872
+ "id": props.labelId
12873
+ }, mainLabelProps.value), {
12863
12874
  default: () => [label()]
12864
12875
  }), slots.default?.({
12865
12876
  ...slotProps.value,
@@ -12919,21 +12930,17 @@
12919
12930
  "class": "v-field__outline__start"
12920
12931
  }, null), hasFloatingLabel.value && vue.createElementVNode("div", {
12921
12932
  "class": "v-field__outline__notch"
12922
- }, [vue.createVNode(VFieldLabel, {
12933
+ }, [vue.createVNode(VFieldLabel, vue.mergeProps({
12923
12934
  "ref": floatingLabelRef,
12924
- "floating": true,
12925
- "for": id.value,
12926
- "aria-hidden": !isActive.value
12927
- }, {
12935
+ "floating": true
12936
+ }, floatingLabelProps.value), {
12928
12937
  default: () => [label()]
12929
12938
  })]), vue.createElementVNode("div", {
12930
12939
  "class": "v-field__outline__end"
12931
- }, null)]), isPlainOrUnderlined.value && hasFloatingLabel.value && vue.createVNode(VFieldLabel, {
12940
+ }, null)]), isPlainOrUnderlined.value && hasFloatingLabel.value && vue.createVNode(VFieldLabel, vue.mergeProps({
12932
12941
  "ref": floatingLabelRef,
12933
- "floating": true,
12934
- "for": id.value,
12935
- "aria-hidden": !isActive.value
12936
- }, {
12942
+ "floating": true
12943
+ }, floatingLabelProps.value), {
12937
12944
  default: () => [label()]
12938
12945
  })])]);
12939
12946
  });
@@ -20578,8 +20585,8 @@
20578
20585
  width,
20579
20586
  height
20580
20587
  } = entries[0].contentRect;
20581
- canvasWidth.value = width;
20582
- canvasHeight.value = height;
20588
+ canvasWidth.value = Math.round(width);
20589
+ canvasHeight.value = Math.round(height);
20583
20590
  });
20584
20591
  function updateDotPosition(x, y, rect) {
20585
20592
  const {
@@ -39258,7 +39265,7 @@
39258
39265
  };
39259
39266
  });
39260
39267
  }
39261
- const version$1 = "3.11.7";
39268
+ const version$1 = "3.11.8";
39262
39269
  createVuetify$1.version = version$1;
39263
39270
 
39264
39271
  // Vue's inject() can only be used in setup
@@ -39561,7 +39568,7 @@
39561
39568
 
39562
39569
  /* eslint-disable local-rules/sort-imports */
39563
39570
 
39564
- const version = "3.11.7";
39571
+ const version = "3.11.8";
39565
39572
 
39566
39573
  /* eslint-disable local-rules/sort-imports */
39567
39574