@starasia/admin 6.3.2 → 6.3.4
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 +7 -14
- package/dist/index.umd.js +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -3740,7 +3740,7 @@ const Yn = bi(Di), Ct = ({
|
|
|
3740
3740
|
]
|
|
3741
3741
|
}
|
|
3742
3742
|
);
|
|
3743
|
-
}, Si = (t, r) => typeof t == "string" && t || r === "error" ? "var(--sa-
|
|
3743
|
+
}, Si = (t, r) => typeof t == "string" && t || r === "error" ? "var(--sa-border-danger)" : "var(--sa-border-subtle)", Fi = (t) => {
|
|
3744
3744
|
var a;
|
|
3745
3745
|
const [r, i] = k(!1), o = (h) => {
|
|
3746
3746
|
h.preventDefault(), h.stopPropagation();
|
|
@@ -3767,7 +3767,7 @@ const Yn = bi(Di), Ct = ({
|
|
|
3767
3767
|
paddingBlock: "md",
|
|
3768
3768
|
borderRadius: "rounded-md",
|
|
3769
3769
|
style: {
|
|
3770
|
-
border: r ? "1px solid var(--sa-
|
|
3770
|
+
border: r ? "1px solid var(--sa-border-info)" : `1px solid ${Si(t.errorMessage, t.status)}`
|
|
3771
3771
|
},
|
|
3772
3772
|
children: [
|
|
3773
3773
|
/* @__PURE__ */ e(
|
|
@@ -3996,7 +3996,7 @@ const Hi = (t) => {
|
|
|
3996
3996
|
id: "file-item",
|
|
3997
3997
|
borderRadius: "rounded-md",
|
|
3998
3998
|
style: {
|
|
3999
|
-
border: "1px solid var(--sa-
|
|
3999
|
+
border: "1px solid var(--sa-border-subtle)",
|
|
4000
4000
|
cursor: "pointer"
|
|
4001
4001
|
},
|
|
4002
4002
|
children: [
|
|
@@ -4007,7 +4007,7 @@ const Hi = (t) => {
|
|
|
4007
4007
|
name: "DocumentFilled",
|
|
4008
4008
|
size: "lg",
|
|
4009
4009
|
style: {
|
|
4010
|
-
color: "var(--sa-
|
|
4010
|
+
color: "var(--sa-icon-brand)",
|
|
4011
4011
|
width: 30,
|
|
4012
4012
|
height: 30
|
|
4013
4013
|
}
|
|
@@ -4050,20 +4050,13 @@ const Hi = (t) => {
|
|
|
4050
4050
|
T,
|
|
4051
4051
|
{
|
|
4052
4052
|
size: "xs",
|
|
4053
|
-
|
|
4053
|
+
variant: "tertiary",
|
|
4054
|
+
tone: "error",
|
|
4054
4055
|
type: "button",
|
|
4055
4056
|
onClick: (o) => {
|
|
4056
4057
|
o.stopPropagation(), t.handleOnDeleteFile();
|
|
4057
4058
|
},
|
|
4058
|
-
iconLeft: /* @__PURE__ */ e(
|
|
4059
|
-
w,
|
|
4060
|
-
{
|
|
4061
|
-
name: "Trash1",
|
|
4062
|
-
style: {
|
|
4063
|
-
color: "var(--sa-color-error-600, #c9184a)"
|
|
4064
|
-
}
|
|
4065
|
-
}
|
|
4066
|
-
)
|
|
4059
|
+
iconLeft: /* @__PURE__ */ e(w, { name: "Trash1" })
|
|
4067
4060
|
}
|
|
4068
4061
|
)
|
|
4069
4062
|
]
|