amp-workflow-ui 0.1.11 → 0.1.12
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 +10 -10
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +10 -10
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -882,7 +882,7 @@ var CustomCard = styled(Card)(
|
|
|
882
882
|
width: CARD_WIDTH,
|
|
883
883
|
height: CARD_HEIGHT,
|
|
884
884
|
borderRadius: 16,
|
|
885
|
-
backgroundColor: cardType === "subCard" ? "#FFF2D8" : cardType === "disableCard" ? "#ECECEC" : "#F1F1FF",
|
|
885
|
+
backgroundColor: cardType === "subCard" ? "#FFF2D8 !important" : cardType === "disableCard" ? "#ECECEC !important" : "#F1F1FF !important",
|
|
886
886
|
border: cardType === "disableCard" ? "none" : `1px solid ${theme.palette.primary.dark}`,
|
|
887
887
|
overflow: "hidden",
|
|
888
888
|
position: "relative"
|
|
@@ -995,8 +995,8 @@ function CustomTimelineWithStatus({ events }) {
|
|
|
995
995
|
{
|
|
996
996
|
label: event.status.title,
|
|
997
997
|
sx: {
|
|
998
|
-
backgroundColor: event.status.color
|
|
999
|
-
color: event.status.labelColor
|
|
998
|
+
backgroundColor: `${event.status.color} !important`,
|
|
999
|
+
color: `${event.status.labelColor} !important`,
|
|
1000
1000
|
borderRadius: "40px",
|
|
1001
1001
|
height: 28,
|
|
1002
1002
|
fontWeight: 600,
|
|
@@ -1503,7 +1503,7 @@ function ApprovalWorkflow({
|
|
|
1503
1503
|
boxShadow: "0px 2px 10px rgba(76, 78, 100, 0.1)",
|
|
1504
1504
|
px: 3,
|
|
1505
1505
|
py: 2,
|
|
1506
|
-
background: "white"
|
|
1506
|
+
background: "white !important"
|
|
1507
1507
|
},
|
|
1508
1508
|
children: [
|
|
1509
1509
|
/* @__PURE__ */ jsxs(
|
|
@@ -1667,8 +1667,8 @@ function ApprovalWorkflow({
|
|
|
1667
1667
|
{
|
|
1668
1668
|
variant: "filled",
|
|
1669
1669
|
sx: {
|
|
1670
|
-
backgroundColor: getStatus(currentStatus).color
|
|
1671
|
-
color: getStatus(currentStatus).labelColor
|
|
1670
|
+
backgroundColor: `${getStatus(currentStatus).color} !important`,
|
|
1671
|
+
color: `${getStatus(currentStatus).labelColor} !important`,
|
|
1672
1672
|
height: "40px",
|
|
1673
1673
|
px: 2,
|
|
1674
1674
|
borderRadius: "100px !important",
|
|
@@ -1830,7 +1830,7 @@ function ApprovalWorkflow({
|
|
|
1830
1830
|
boxShadow: "0px 2px 10px rgba(76, 78, 100, 0.1)",
|
|
1831
1831
|
px: 3,
|
|
1832
1832
|
py: 2,
|
|
1833
|
-
background: "white"
|
|
1833
|
+
background: "white !important"
|
|
1834
1834
|
},
|
|
1835
1835
|
children: [
|
|
1836
1836
|
/* @__PURE__ */ jsxs(
|
|
@@ -2001,8 +2001,8 @@ function ApprovalWorkflow({
|
|
|
2001
2001
|
{
|
|
2002
2002
|
variant: "filled",
|
|
2003
2003
|
sx: {
|
|
2004
|
-
backgroundColor: getStatus(currentStatus).color
|
|
2005
|
-
color: getStatus(currentStatus).labelColor
|
|
2004
|
+
backgroundColor: `${getStatus(currentStatus).color} !important`,
|
|
2005
|
+
color: `${getStatus(currentStatus).labelColor} !important`,
|
|
2006
2006
|
height: "40px",
|
|
2007
2007
|
px: 2,
|
|
2008
2008
|
borderRadius: "100px !important",
|
|
@@ -2154,7 +2154,7 @@ function ApprovalWorkflow({
|
|
|
2154
2154
|
boxShadow: "0px 2px 10px rgba(76, 78, 100, 0.1)",
|
|
2155
2155
|
px: 3,
|
|
2156
2156
|
py: 2,
|
|
2157
|
-
background: "white"
|
|
2157
|
+
background: "white !important"
|
|
2158
2158
|
},
|
|
2159
2159
|
children: [
|
|
2160
2160
|
/* @__PURE__ */ jsxs(
|