@citizenplatform/core 1.0.12 → 1.0.13
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 +13 -13
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -7022,24 +7022,24 @@ var Fp = Pp(/*#__PURE__*/ O("path", { d: "M16.59 8.59 12 13.17 7.41 8.59 6 10l6
|
|
|
7022
7022
|
//#endregion
|
|
7023
7023
|
//#region src/libs/shared/UI/button/AppButton.tsx
|
|
7024
7024
|
function zp({ label: e, children: t, variantType: n, leftArrow: r, rightArrow: i, bgColor: a, textColor: o, disableHoverEffect: s, variant: c, isMandatory: l = !1, sx: d, ...f }) {
|
|
7025
|
-
let p =
|
|
7026
|
-
primary: () => ({
|
|
7027
|
-
backgroundColor:
|
|
7028
|
-
color:
|
|
7029
|
-
"&:hover": { backgroundColor:
|
|
7025
|
+
let p = vd(), m = n ?? (c === "outlined" ? "outlined" : c === "contained" ? "primary" : "secondary"), h = {
|
|
7026
|
+
primary: (e) => ({
|
|
7027
|
+
backgroundColor: e.palette.text.primary,
|
|
7028
|
+
color: e.palette.menuText.primary,
|
|
7029
|
+
"&:hover": { backgroundColor: e.palette.primary.dark }
|
|
7030
7030
|
}),
|
|
7031
|
-
secondary: () => ({
|
|
7032
|
-
backgroundColor:
|
|
7033
|
-
color: n === "outlined" ?
|
|
7031
|
+
secondary: (e) => ({
|
|
7032
|
+
backgroundColor: e.palette.text.primary,
|
|
7033
|
+
color: n === "outlined" ? e.palette.text.primary : e.palette.menuText.secondary,
|
|
7034
7034
|
border: 1.2,
|
|
7035
|
-
borderColor:
|
|
7035
|
+
borderColor: e.palette.text.primary,
|
|
7036
7036
|
"&:hover": { boxShadow: "2px 2px 4px rgba(0, 0, 0, 0.1)" }
|
|
7037
7037
|
}),
|
|
7038
|
-
outlined: () => ({
|
|
7039
|
-
backgroundColor:
|
|
7040
|
-
color:
|
|
7038
|
+
outlined: (e) => ({
|
|
7039
|
+
backgroundColor: e.palette.action.selected,
|
|
7040
|
+
color: e.palette.text.primary,
|
|
7041
7041
|
border: 1.2,
|
|
7042
|
-
borderColor:
|
|
7042
|
+
borderColor: e.palette.disabled.main,
|
|
7043
7043
|
"&:hover": { boxShadow: "2px 2px 4px rgba(0, 0, 0, 0.1)" }
|
|
7044
7044
|
})
|
|
7045
7045
|
}, { t: g } = u();
|