arxatec-ui 0.1.46 → 0.1.47
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.js +6 -6
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -7038,11 +7038,11 @@ function Tl({ label: e, name: t, type: n = "text", placeholder: r, register: i,
|
|
|
7038
7038
|
placeholder: r,
|
|
7039
7039
|
...i(t),
|
|
7040
7040
|
disabled: c,
|
|
7041
|
-
className: R(u && "border-
|
|
7041
|
+
className: R(u && "border-destructive/10 border", o),
|
|
7042
7042
|
size: l
|
|
7043
7043
|
}),
|
|
7044
7044
|
u && /* @__PURE__ */ Y("p", {
|
|
7045
|
-
className: "text-sm text-
|
|
7045
|
+
className: "text-sm text-destructive mt-2",
|
|
7046
7046
|
"data-testid": `${t}-error`,
|
|
7047
7047
|
children: u.message
|
|
7048
7048
|
})
|
|
@@ -7065,12 +7065,12 @@ function El({ label: e, name: t, placeholder: n, register: r, errors: i, classNa
|
|
|
7065
7065
|
id: t,
|
|
7066
7066
|
placeholder: n,
|
|
7067
7067
|
...r(t),
|
|
7068
|
-
className: R(l && "border-
|
|
7068
|
+
className: R(l && "border-destructive/10 border", a),
|
|
7069
7069
|
autoFocus: s ?? !1,
|
|
7070
7070
|
...c
|
|
7071
7071
|
}),
|
|
7072
7072
|
l && /* @__PURE__ */ Y("p", {
|
|
7073
|
-
className: "text-sm text-
|
|
7073
|
+
className: "text-sm text-destructive mt-2",
|
|
7074
7074
|
"data-testid": `${t}-error`,
|
|
7075
7075
|
children: l.message
|
|
7076
7076
|
})
|
|
@@ -7101,7 +7101,7 @@ var Dl = ({ name: e, label: t, optional: n = !1, control: r, options: i = [], pl
|
|
|
7101
7101
|
children: [/* @__PURE__ */ Y(S, {
|
|
7102
7102
|
id: e,
|
|
7103
7103
|
size: f,
|
|
7104
|
-
className: R("w-full", s?.[e] && "border-
|
|
7104
|
+
className: R("w-full", s?.[e] && "border-destructive/10 border"),
|
|
7105
7105
|
"aria-invalid": !!s?.[e],
|
|
7106
7106
|
children: /* @__PURE__ */ Y(c, { placeholder: a })
|
|
7107
7107
|
}), /* @__PURE__ */ Y(g, {
|
|
@@ -7114,7 +7114,7 @@ var Dl = ({ name: e, label: t, optional: n = !1, control: r, options: i = [], pl
|
|
|
7114
7114
|
})]
|
|
7115
7115
|
}, `${e}-${typeof h.value == "string" ? h.value : "empty"}`),
|
|
7116
7116
|
s?.[e] && /* @__PURE__ */ Y("p", {
|
|
7117
|
-
className: "text-sm text-
|
|
7117
|
+
className: "text-sm text-destructive mt-2",
|
|
7118
7118
|
children: s[e]?.message
|
|
7119
7119
|
})
|
|
7120
7120
|
]
|