@purpurds/field-error-text 5.10.0 → 5.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.
@@ -60,7 +60,7 @@ const x = /* @__PURE__ */ _(m), g = {
60
60
  i ? { name: "role", value: "img" } : { name: "aria-hidden", value: "true" }
61
61
  ], u = i ? `<title>${i}</title>` : "";
62
62
  return `<svg ${b(n)}>${u}${t}</svg>`;
63
- }, O = (t) => t.replace(/<(\/?)svg([^>]*)>/g, "").trim(), S = ({
63
+ }, S = (t) => t.replace(/<(\/?)svg([^>]*)>/g, "").trim(), O = ({
64
64
  ["data-testid"]: t,
65
65
  svg: i,
66
66
  allyTitle: n,
@@ -69,7 +69,7 @@ const x = /* @__PURE__ */ _(m), g = {
69
69
  ...r
70
70
  }) => {
71
71
  const e = j({
72
- content: O(i.svg),
72
+ content: S(i.svg),
73
73
  title: n
74
74
  }), s = h(u, l, `${l}--${o}`);
75
75
  return /* @__PURE__ */ c(
@@ -122,11 +122,11 @@ var d = { exports: {} };
122
122
  t.exports ? (n.default = n, t.exports = n) : window.classNames = n;
123
123
  })();
124
124
  })(d);
125
- var N = d.exports;
126
- const q = /* @__PURE__ */ $(N), a = {
125
+ var q = d.exports;
126
+ const N = /* @__PURE__ */ $(q), a = {
127
127
  "purpur-field-error-text": "_purpur-field-error-text_1u768_1",
128
128
  "purpur-field-error-text__icon": "_purpur-field-error-text__icon_1u768_12"
129
- }, p = "purpur-field-error-text", C = ({
129
+ }, p = "purpur-field-error-text", M = ({
130
130
  ["data-testid"]: t,
131
131
  children: i,
132
132
  className: n,
@@ -135,18 +135,18 @@ const q = /* @__PURE__ */ $(N), a = {
135
135
  }) => /* @__PURE__ */ v(
136
136
  "div",
137
137
  {
138
- className: q([n, a[p]]),
138
+ className: N([n, a[p]]),
139
139
  "data-testid": t,
140
140
  "aria-live": "assertive",
141
141
  "aria-relevant": u,
142
142
  ...o,
143
143
  children: [
144
- /* @__PURE__ */ c(S, { svg: y, size: "xs", className: a[`${p}__icon`] }),
144
+ /* @__PURE__ */ c(O, { svg: y, size: "xs", className: a[`${p}__icon`] }),
145
145
  i
146
146
  ]
147
147
  }
148
148
  );
149
149
  export {
150
- C as FieldErrorText
150
+ M as FieldErrorText
151
151
  };
152
152
  //# sourceMappingURL=field-error-text.es.js.map