lizaui 3.0.58 → 4.0.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.
|
@@ -4009,18 +4009,18 @@ const rr = (t) => /* @__PURE__ */ T.jsx(ye.NoOptionsMessage, { ...t, className:
|
|
|
4009
4009
|
};
|
|
4010
4010
|
return /* @__PURE__ */ T.jsx(ye.Input, { ...t, onKeyDown: r, autoComplete: "off", autoCapitalize: "off" });
|
|
4011
4011
|
}, or = ({ color: t, widthMenu: e, error: r, touched: i, size: n }) => {
|
|
4012
|
-
const a = ot(t === "
|
|
4012
|
+
const a = ot(t === "default" && "var(--accent)", t === "success" && "var(--color-success-100)"), o = ot(t === "default" && "var(--accent)", t === "success" && "var(--color-success-200)"), l = ot(t === "default" && "var(--accent)", t === "success" && "var(--color-success-500)");
|
|
4013
4013
|
return {
|
|
4014
4014
|
option: (s, { isFocused: c, isSelected: d, isMulti: v }) => ({
|
|
4015
4015
|
...s,
|
|
4016
|
-
backgroundColor: c && !d ? a : d ? o : "
|
|
4016
|
+
backgroundColor: c && !d ? a : d ? o : "var(--color-content1-default)",
|
|
4017
4017
|
borderRadius: c || d ? "4px" : "0px",
|
|
4018
|
-
color: "var(--
|
|
4018
|
+
color: "var(--accent-foreground)",
|
|
4019
4019
|
cursor: "pointer",
|
|
4020
4020
|
padding: "8px",
|
|
4021
|
-
borderBottom: (c || d) && v ? "1px solid
|
|
4021
|
+
borderBottom: (c || d) && v ? "1px solid var(--color-content1-default)" : "",
|
|
4022
4022
|
":active": {
|
|
4023
|
-
backgroundColor: "
|
|
4023
|
+
backgroundColor: "var(--color-content1-default)"
|
|
4024
4024
|
}
|
|
4025
4025
|
}),
|
|
4026
4026
|
dropdownIndicator: (s, { isDisabled: c }) => ({
|
|
@@ -4038,9 +4038,11 @@ const rr = (t) => /* @__PURE__ */ T.jsx(ye.NoOptionsMessage, { ...t, className:
|
|
|
4038
4038
|
}),
|
|
4039
4039
|
menu: (s) => ({
|
|
4040
4040
|
...s,
|
|
4041
|
-
|
|
4041
|
+
backgroundColor: "var(--color-content1-default)",
|
|
4042
|
+
boxShadow: "var(--shadow-medium)",
|
|
4043
|
+
borderRadius: "var(--radius-md)",
|
|
4042
4044
|
marginTop: "4px",
|
|
4043
|
-
padding: "
|
|
4045
|
+
padding: "4px",
|
|
4044
4046
|
width: e,
|
|
4045
4047
|
zIndex: 10
|
|
4046
4048
|
}),
|
|
@@ -4058,7 +4060,7 @@ const rr = (t) => /* @__PURE__ */ T.jsx(ye.NoOptionsMessage, { ...t, className:
|
|
|
4058
4060
|
}),
|
|
4059
4061
|
input: (s) => ({
|
|
4060
4062
|
...s,
|
|
4061
|
-
color: "
|
|
4063
|
+
color: "inherit"
|
|
4062
4064
|
}),
|
|
4063
4065
|
multiValue: (s, { isDisabled: c }) => ({
|
|
4064
4066
|
...s,
|
|
@@ -4122,7 +4124,7 @@ const rr = (t) => /* @__PURE__ */ T.jsx(ye.NoOptionsMessage, { ...t, className:
|
|
|
4122
4124
|
childrenOption: s,
|
|
4123
4125
|
childrenSingleValue: c,
|
|
4124
4126
|
startValueContent: d,
|
|
4125
|
-
color: v = "
|
|
4127
|
+
color: v = "default",
|
|
4126
4128
|
widthMenu: I = "100%",
|
|
4127
4129
|
value: p,
|
|
4128
4130
|
error: f,
|
|
@@ -4299,7 +4301,7 @@ const ho = He(
|
|
|
4299
4301
|
childrenOption: u,
|
|
4300
4302
|
childrenSingleValue: s,
|
|
4301
4303
|
startValueContent: c,
|
|
4302
|
-
color: d = "
|
|
4304
|
+
color: d = "default",
|
|
4303
4305
|
widthMenu: v = "100%",
|
|
4304
4306
|
value: I,
|
|
4305
4307
|
defaultOptions: p,
|