@citizenplatform/core 1.0.9 → 1.0.10

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 CHANGED
@@ -7022,27 +7022,12 @@ 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 = W(), 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
- }),
7031
- secondary: (e) => ({
7032
- backgroundColor: e.palette.text.primary,
7033
- color: n === "outlined" ? e.palette.text.primary : e.palette.menuText.secondary,
7034
- border: 1.2,
7035
- borderColor: e.palette.text.primary,
7036
- "&:hover": { boxShadow: "2px 2px 4px rgba(0, 0, 0, 0.1)" }
7037
- }),
7038
- outlined: (e) => ({
7039
- backgroundColor: e.palette.action.selected,
7040
- color: e.palette.text.primary,
7041
- border: 1.2,
7042
- borderColor: e.palette.disabled.main,
7043
- "&:hover": { boxShadow: "2px 2px 4px rgba(0, 0, 0, 0.1)" }
7044
- })
7045
- }, { t: g } = u();
7025
+ let p = W(), m = n ?? (c === "outlined" ? "outlined" : c === "contained" ? "primary" : "secondary"), h = { outlined: (e) => ({
7026
+ backgroundColor: e.palette.action.selected,
7027
+ border: 1.2,
7028
+ borderColor: e.palette.disabled.main,
7029
+ "&:hover": { boxShadow: "2px 2px 4px rgba(0, 0, 0, 0.1)" }
7030
+ }) }, { t: g } = u();
7046
7031
  return /* @__PURE__ */ k(ne, {
7047
7032
  disableElevation: !0,
7048
7033
  variant: c,