@spesia/ui 1.8.21 → 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.js +25 -23
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -20196,6 +20196,9 @@ const ov = $b({
|
|
|
20196
20196
|
padding: `${e.theme.spacing(3)} ${e.theme.spacing(4)}`,
|
|
20197
20197
|
borderRadius: xt.borderRadius.full,
|
|
20198
20198
|
height: "40px"
|
|
20199
|
+
},
|
|
20200
|
+
"&:disabled": {
|
|
20201
|
+
opacity: 0.5
|
|
20199
20202
|
}
|
|
20200
20203
|
}),
|
|
20201
20204
|
contained: (e) => {
|
|
@@ -20223,11 +20226,6 @@ const ov = $b({
|
|
|
20223
20226
|
background: t.active,
|
|
20224
20227
|
color: t.text,
|
|
20225
20228
|
borderColor: t.focus
|
|
20226
|
-
},
|
|
20227
|
-
"&:disabled": {
|
|
20228
|
-
background: t.light,
|
|
20229
|
-
color: t.contrastText,
|
|
20230
|
-
borderColor: t.light
|
|
20231
20229
|
}
|
|
20232
20230
|
};
|
|
20233
20231
|
},
|
|
@@ -20254,10 +20252,6 @@ const ov = $b({
|
|
|
20254
20252
|
background: t.border,
|
|
20255
20253
|
borderColor: t.border,
|
|
20256
20254
|
color: t.contrastTextAlt
|
|
20257
|
-
},
|
|
20258
|
-
"&:disabled": {
|
|
20259
|
-
color: t.light,
|
|
20260
|
-
borderColor: t.light
|
|
20261
20255
|
}
|
|
20262
20256
|
};
|
|
20263
20257
|
},
|
|
@@ -20283,17 +20277,13 @@ const ov = $b({
|
|
|
20283
20277
|
background: "transparent",
|
|
20284
20278
|
color: t.text,
|
|
20285
20279
|
textDecoration: "underline"
|
|
20286
|
-
},
|
|
20287
|
-
"&:disabled": {
|
|
20288
|
-
background: "transparent",
|
|
20289
|
-
color: e.theme.vars.palette.text.disabled
|
|
20290
20280
|
}
|
|
20291
20281
|
};
|
|
20292
20282
|
},
|
|
20293
20283
|
containedPrimary: ({ theme: e }) => ({
|
|
20294
20284
|
backgroundColor: e.palette.background.primaryButton,
|
|
20295
20285
|
borderColor: se.primary.brown[50],
|
|
20296
|
-
color: e.palette.
|
|
20286
|
+
color: e.palette.background.coralBold,
|
|
20297
20287
|
".MuiButton-icon": { color: e.palette.text.tertiaryIcon },
|
|
20298
20288
|
"&:hover": {
|
|
20299
20289
|
backgroundColor: se.primary.brown[80],
|
|
@@ -20304,13 +20294,14 @@ const ov = $b({
|
|
|
20304
20294
|
color: e.palette.text.contrastText
|
|
20305
20295
|
},
|
|
20306
20296
|
"&:disabled": {
|
|
20307
|
-
backgroundColor:
|
|
20308
|
-
|
|
20309
|
-
|
|
20297
|
+
backgroundColor: e.palette.background.primaryButton,
|
|
20298
|
+
borderColor: se.primary.brown[50],
|
|
20299
|
+
color: e.palette.text.contrastText,
|
|
20300
|
+
opacity: 0.5
|
|
20310
20301
|
}
|
|
20311
20302
|
}),
|
|
20312
20303
|
outlinedPrimary: ({ theme: e }) => {
|
|
20313
|
-
var t, n, i, a, l, c, u;
|
|
20304
|
+
var t, n, i, a, l, c, u, f, p;
|
|
20314
20305
|
return {
|
|
20315
20306
|
backgroundColor: (t = e.vars) == null ? void 0 : t.palette.background.secondaryButton,
|
|
20316
20307
|
color: (n = e.vars) == null ? void 0 : n.palette.text.primary,
|
|
@@ -20330,11 +20321,16 @@ const ov = $b({
|
|
|
20330
20321
|
borderColor: se.primary.beige[60]
|
|
20331
20322
|
})
|
|
20332
20323
|
},
|
|
20324
|
+
"&:disabled": {
|
|
20325
|
+
backgroundColor: (u = e.vars) == null ? void 0 : u.palette.background.secondaryButton,
|
|
20326
|
+
color: (f = e.vars) == null ? void 0 : f.palette.text.primary,
|
|
20327
|
+
opacity: 0.5
|
|
20328
|
+
},
|
|
20333
20329
|
borderColor: se.primary.beige[20],
|
|
20334
20330
|
...e.applyStyles("dark", {
|
|
20335
20331
|
borderColor: se.primary.beige[60]
|
|
20336
20332
|
}),
|
|
20337
|
-
".MuiButton-icon": { color: (
|
|
20333
|
+
".MuiButton-icon": { color: (p = e.vars) == null ? void 0 : p.palette.text.secondaryIcon }
|
|
20338
20334
|
};
|
|
20339
20335
|
},
|
|
20340
20336
|
transparent: ({ theme: e }) => ({
|
|
@@ -24163,7 +24159,7 @@ const Vo = (e, t) => {
|
|
|
24163
24159
|
const t = e.theme.palette[e.ownerState.severity];
|
|
24164
24160
|
if (t)
|
|
24165
24161
|
return {
|
|
24166
|
-
borderRadius: e.theme.spacing(
|
|
24162
|
+
borderRadius: e.theme.spacing(2),
|
|
24167
24163
|
borderColor: t.main,
|
|
24168
24164
|
"&.MuiAlert-filled": {
|
|
24169
24165
|
color: t.contrastText,
|
|
@@ -24180,7 +24176,11 @@ const Vo = (e, t) => {
|
|
|
24180
24176
|
}
|
|
24181
24177
|
},
|
|
24182
24178
|
".MuiAlertTitle-root": {
|
|
24183
|
-
fontWeight: "bold"
|
|
24179
|
+
fontWeight: "bold",
|
|
24180
|
+
fontSize: 14
|
|
24181
|
+
},
|
|
24182
|
+
".MuiAlert-message": {
|
|
24183
|
+
fontWeight: 400
|
|
24184
24184
|
}
|
|
24185
24185
|
};
|
|
24186
24186
|
},
|
|
@@ -30685,6 +30685,7 @@ const l5 = (e, t, n, i) => Sc(e, t) ? rr(new Date(t), i) : rr(new Date(t), n), c
|
|
|
30685
30685
|
return he.label === (V == null ? void 0 : V.label) ? (ft = it.vars) == null ? void 0 : ft.palette.background.default : "transparent";
|
|
30686
30686
|
},
|
|
30687
30687
|
borderRadius: xt.borderRadius.full,
|
|
30688
|
+
border: "none",
|
|
30688
30689
|
width: e ? "auto" : "100%"
|
|
30689
30690
|
},
|
|
30690
30691
|
size: v,
|
|
@@ -36925,6 +36926,7 @@ const M7 = ({
|
|
|
36925
36926
|
return v.value === f ? (x = m.vars) == null ? void 0 : x.palette.background.default : "transparent";
|
|
36926
36927
|
},
|
|
36927
36928
|
borderRadius: xt.borderRadius.full,
|
|
36929
|
+
border: "none",
|
|
36928
36930
|
width: "auto"
|
|
36929
36931
|
},
|
|
36930
36932
|
size: l,
|
|
@@ -37160,9 +37162,9 @@ const N7 = ({
|
|
|
37160
37162
|
size: t,
|
|
37161
37163
|
sx: {
|
|
37162
37164
|
pointerEvents: "none",
|
|
37163
|
-
border: "none",
|
|
37165
|
+
border: "none !important",
|
|
37164
37166
|
borderRadius: 2,
|
|
37165
|
-
color: e >= 0 ? se.secondary.olive[50] : "#F38840"
|
|
37167
|
+
color: e >= 0 ? `${se.secondary.olive[50]} !important` : "#F38840 !important"
|
|
37166
37168
|
},
|
|
37167
37169
|
color: e < 0 ? "error" : "success",
|
|
37168
37170
|
icon: e < 0 ? /* @__PURE__ */ M(
|