@boxcustodia/library 1.9.2 → 1.9.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.cjs.js +1 -1
- package/dist/index.es.js +6 -2
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -25462,7 +25462,11 @@ const Fj = "dd/MM/yyyy", Ku = (e) => Ei(e) ? tr(e, Fj) : "", Bj = (e) => {
|
|
|
25462
25462
|
return;
|
|
25463
25463
|
}
|
|
25464
25464
|
const b = Bj(w);
|
|
25465
|
-
if (!b
|
|
25465
|
+
if (!b) {
|
|
25466
|
+
r(null), i(""), l.current = "";
|
|
25467
|
+
return;
|
|
25468
|
+
}
|
|
25469
|
+
if (n?.(b)) {
|
|
25466
25470
|
const y = Ku(t ?? null);
|
|
25467
25471
|
i(y), l.current = y;
|
|
25468
25472
|
return;
|
|
@@ -25613,7 +25617,7 @@ const Fj = "dd/MM/yyyy", Ku = (e) => Ei(e) ? tr(e, Fj) : "", Bj = (e) => {
|
|
|
25613
25617
|
onChange: w,
|
|
25614
25618
|
onBlur: b,
|
|
25615
25619
|
onKeyDown: $,
|
|
25616
|
-
placeholder: t,
|
|
25620
|
+
placeholder: t ?? "dd/mm/yyyy",
|
|
25617
25621
|
disabled: c,
|
|
25618
25622
|
className: "flex-1 bg-transparent outline-none text-start truncate pt-px",
|
|
25619
25623
|
"aria-label": t,
|