beca-ui 2.1.0-beta.39 → 2.1.0-beta.40
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/beca-ui.js +33 -30
- package/dist/main.css +1 -1
- package/package.json +1 -1
package/dist/beca-ui.js
CHANGED
|
@@ -88651,8 +88651,9 @@ const Ub = '-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Ar
|
|
|
88651
88651
|
activeShadow: "0 0 0 2px rgba(113, 181, 255, 0.32)",
|
|
88652
88652
|
colorFillTertiary: "var(--color-fill-tertiary)",
|
|
88653
88653
|
zIndexPopup: 1051,
|
|
88654
|
-
colorErrorBg: "var(--
|
|
88655
|
-
|
|
88654
|
+
colorErrorBg: "var(--color-error-bg)",
|
|
88655
|
+
colorErrorText: "var(--color-error-text)",
|
|
88656
|
+
colorErrorBgHover: "var(--color-error-bg-hover)",
|
|
88656
88657
|
colorErrorHover: "var(--danger-color-3)"
|
|
88657
88658
|
}, z0 = {
|
|
88658
88659
|
...id,
|
|
@@ -88684,7 +88685,8 @@ const Ub = '-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Ar
|
|
|
88684
88685
|
},
|
|
88685
88686
|
Select: {
|
|
88686
88687
|
...z0,
|
|
88687
|
-
optionSelectedColor: "#fff"
|
|
88688
|
+
optionSelectedColor: "#fff",
|
|
88689
|
+
colorError: "var(--color-error-text)"
|
|
88688
88690
|
},
|
|
88689
88691
|
Dropdown: {
|
|
88690
88692
|
...z0,
|
|
@@ -124675,7 +124677,7 @@ const dut = (e) => {
|
|
|
124675
124677
|
let n = "beca-picker";
|
|
124676
124678
|
return t && (n += " " + t), n;
|
|
124677
124679
|
}, vut = (e) => {
|
|
124678
|
-
var
|
|
124680
|
+
var g;
|
|
124679
124681
|
const {
|
|
124680
124682
|
allowClear: t = !0,
|
|
124681
124683
|
superPrevIcon: n,
|
|
@@ -124684,48 +124686,49 @@ const dut = (e) => {
|
|
|
124684
124686
|
nextIcon: i,
|
|
124685
124687
|
suffixIcon: a,
|
|
124686
124688
|
getPopupContainer: l,
|
|
124687
|
-
|
|
124688
|
-
|
|
124689
|
+
onOpenChange: s,
|
|
124690
|
+
position: c = "relative"
|
|
124691
|
+
} = e, [u, f] = gt(!1);
|
|
124689
124692
|
Jt(() => {
|
|
124690
|
-
const
|
|
124691
|
-
|
|
124693
|
+
const v = document.querySelector(".mobile-app");
|
|
124694
|
+
f(v != null);
|
|
124692
124695
|
}, []);
|
|
124693
|
-
const
|
|
124694
|
-
(
|
|
124695
|
-
if (
|
|
124696
|
-
if (
|
|
124697
|
-
const
|
|
124698
|
-
if (
|
|
124699
|
-
v.className = "select-backdrop select-backdrop-open";
|
|
124700
|
-
else {
|
|
124701
|
-
const b = document.createElement("div");
|
|
124696
|
+
const m = Ei(
|
|
124697
|
+
(v) => {
|
|
124698
|
+
if (u)
|
|
124699
|
+
if (v) {
|
|
124700
|
+
const b = document.querySelector(".select-backdrop");
|
|
124701
|
+
if (b)
|
|
124702
124702
|
b.className = "select-backdrop select-backdrop-open";
|
|
124703
|
-
|
|
124704
|
-
C
|
|
124703
|
+
else {
|
|
124704
|
+
const C = document.createElement("div");
|
|
124705
|
+
C.className = "select-backdrop select-backdrop-open";
|
|
124706
|
+
const w = document.querySelector("html");
|
|
124707
|
+
w == null || w.appendChild(C);
|
|
124705
124708
|
}
|
|
124706
124709
|
} else {
|
|
124707
|
-
const
|
|
124708
|
-
if (
|
|
124709
|
-
|
|
124710
|
+
const b = document.querySelector(".select-backdrop");
|
|
124711
|
+
if (b)
|
|
124712
|
+
b.className = "select-backdrop select-backdrop-hidden";
|
|
124710
124713
|
else {
|
|
124711
|
-
const
|
|
124712
|
-
document.appendChild(
|
|
124714
|
+
const C = document.createElement("div");
|
|
124715
|
+
document.appendChild(C), C.className = "select-backdrop select-backdrop-hidden";
|
|
124713
124716
|
}
|
|
124714
124717
|
}
|
|
124715
124718
|
},
|
|
124716
|
-
[
|
|
124719
|
+
[u]
|
|
124717
124720
|
);
|
|
124718
124721
|
return /* @__PURE__ */ A(
|
|
124719
124722
|
pm,
|
|
124720
124723
|
{
|
|
124721
124724
|
...e,
|
|
124722
124725
|
className: mut(e),
|
|
124723
|
-
onOpenChange:
|
|
124726
|
+
onOpenChange: s ?? m,
|
|
124724
124727
|
classNames: {
|
|
124725
124728
|
...e.classNames,
|
|
124726
124729
|
popup: {
|
|
124727
|
-
...(
|
|
124728
|
-
root: nme(e,
|
|
124730
|
+
...(g = e.classNames) == null ? void 0 : g.popup,
|
|
124731
|
+
root: nme(e, u)
|
|
124729
124732
|
}
|
|
124730
124733
|
},
|
|
124731
124734
|
superPrevIcon: n ?? /* @__PURE__ */ A(Nde, { size: 20, color: "var(--picker-suffix-icon-color)" }),
|
|
@@ -124745,7 +124748,7 @@ const dut = (e) => {
|
|
|
124745
124748
|
}
|
|
124746
124749
|
),
|
|
124747
124750
|
suffixIcon: a ?? /* @__PURE__ */ A(Sde, { size: 18, color: "var(--picker-suffix-icon-color)" }),
|
|
124748
|
-
getPopupContainer: l ??
|
|
124751
|
+
getPopupContainer: l ?? (c === "relative" ? (v) => v.parentNode : void 0),
|
|
124749
124752
|
allowClear: t === !0 ? {
|
|
124750
124753
|
clearIcon: /* @__PURE__ */ A(
|
|
124751
124754
|
Z9,
|
|
@@ -124755,7 +124758,7 @@ const dut = (e) => {
|
|
|
124755
124758
|
}
|
|
124756
124759
|
)
|
|
124757
124760
|
} : !1,
|
|
124758
|
-
inputReadOnly:
|
|
124761
|
+
inputReadOnly: u
|
|
124759
124762
|
}
|
|
124760
124763
|
);
|
|
124761
124764
|
}, yut = (e) => {
|