@vygruppen/spor-react 12.24.1 → 12.24.3

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/index.mjs CHANGED
@@ -1971,13 +1971,14 @@ var Field3 = React20.forwardRef(
1971
1971
  direction,
1972
1972
  id,
1973
1973
  children: [
1974
- label && !floatingLabel && /* @__PURE__ */ jsx(Label, { asChild: labelAsChild, children: renderLabelWithIndicator(label, labelAsChild) }),
1974
+ label && !floatingLabel && /* @__PURE__ */ jsx(Label, { asChild: labelAsChild, "aria-hidden": true, children: renderLabelWithIndicator(label, labelAsChild) }),
1975
1975
  children,
1976
1976
  label && floatingLabel && /* @__PURE__ */ jsx(
1977
1977
  FloatingLabel,
1978
1978
  {
1979
1979
  "data-float": shouldFloat ? true : void 0,
1980
1980
  asChild: labelAsChild,
1981
+ "aria-hidden": true,
1981
1982
  children: renderLabelWithIndicator(label, labelAsChild)
1982
1983
  }
1983
1984
  ),
@@ -4674,7 +4675,7 @@ var Textarea = forwardRef(
4674
4675
  floatingLabel,
4675
4676
  shouldFloat,
4676
4677
  position: "relative",
4677
- label: /* @__PURE__ */ jsx(Box, { id: labelId, "aria-hidden": true, children: /* @__PURE__ */ jsx("label", { ref: labelRef, children: label }) }),
4678
+ label: /* @__PURE__ */ jsx(Box, { id: labelId, children: /* @__PURE__ */ jsx("label", { ref: labelRef, children: label }) }),
4678
4679
  id: restProps.id,
4679
4680
  children: /* @__PURE__ */ jsx(
4680
4681
  Textarea$1,