@purpurds/autocomplete 6.10.0 → 6.11.0

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.
@@ -697,22 +697,20 @@ const Ve = /* @__PURE__ */ Te(De), Er = {
697
697
  "purpur-field-error-text": "_purpur-field-error-text_1lj7e_1",
698
698
  "purpur-field-error-text__icon": "_purpur-field-error-text__icon_1lj7e_11"
699
699
  }, Tr = "purpur-field-error-text", Ze = ({
700
- ["data-testid"]: t,
701
- children: a,
702
- className: n,
703
- relevant: i = "additions text",
704
- ...o
700
+ children: t,
701
+ className: a,
702
+ relevant: n = "additions text",
703
+ ...i
705
704
  }) => /* @__PURE__ */ z(
706
705
  "div",
707
706
  {
708
- className: Ve([n, Er[Tr]]),
709
- "data-testid": t,
707
+ className: Ve([a, Er[Tr]]),
710
708
  "aria-live": "assertive",
711
- "aria-relevant": i,
712
- ...o,
709
+ "aria-relevant": n,
710
+ ...i,
713
711
  children: [
714
712
  /* @__PURE__ */ p(dt, { svg: Ee, size: "xs", className: Er[`${Tr}__icon`] }),
715
- a
713
+ t
716
714
  ]
717
715
  }
718
716
  );
@@ -763,21 +761,20 @@ const Ge = /* @__PURE__ */ Fe(We), Vr = {
763
761
  "purpur-field-helper-text": "_purpur-field-helper-text_atw6b_1",
764
762
  "purpur-field-helper-text--disabled": "_purpur-field-helper-text--disabled_atw6b_9"
765
763
  }, Zr = "purpur-field-helper-text", Ue = ({
766
- ["data-testid"]: t,
767
- children: a,
768
- className: n,
769
- disabled: i,
770
- id: o,
771
- ...r
764
+ children: t,
765
+ className: a,
766
+ disabled: n,
767
+ id: i,
768
+ ...o
772
769
  }) => {
773
- const e = Ge([
774
- n,
770
+ const r = Ge([
771
+ a,
775
772
  Vr[Zr],
776
773
  {
777
- [Vr[`${Zr}--disabled`]]: i
774
+ [Vr[`${Zr}--disabled`]]: n
778
775
  }
779
776
  ]);
780
- return /* @__PURE__ */ p("span", { id: o, className: e, "data-testid": t, ...r, children: a });
777
+ return /* @__PURE__ */ p("span", { id: i, className: r, ...o, children: t });
781
778
  };
782
779
  function Ke(t) {
783
780
  return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
@@ -1021,20 +1018,19 @@ const xn = /* @__PURE__ */ gn(hn), ir = {
1021
1018
  children: t,
1022
1019
  className: a,
1023
1020
  htmlFor: n,
1024
- "data-testid": i,
1025
- disabled: o,
1026
- negative: r = !1,
1027
- ...e
1021
+ disabled: i,
1022
+ negative: o = !1,
1023
+ ...r
1028
1024
  }) => {
1029
- const u = xn([
1025
+ const e = xn([
1030
1026
  a,
1031
1027
  ir[or],
1032
1028
  {
1033
- [ir[`${or}--disabled`]]: o,
1034
- [ir[`${or}--negative`]]: r
1029
+ [ir[`${or}--disabled`]]: i,
1030
+ [ir[`${or}--negative`]]: o
1035
1031
  }
1036
1032
  ]);
1037
- return /* @__PURE__ */ p(mn, { className: u, "data-testid": i, htmlFor: n, ...e, children: t });
1033
+ return /* @__PURE__ */ p(mn, { className: e, htmlFor: n, ...r, children: t });
1038
1034
  };
1039
1035
  function wn(t) {
1040
1036
  return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;