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.js
CHANGED
|
@@ -895,7 +895,7 @@ var CustomCard = styles.styled(material.Card)(
|
|
|
895
895
|
width: CARD_WIDTH,
|
|
896
896
|
height: CARD_HEIGHT,
|
|
897
897
|
borderRadius: 16,
|
|
898
|
-
backgroundColor: cardType === "subCard" ? "#FFF2D8" : cardType === "disableCard" ? "#ECECEC" : "#F1F1FF",
|
|
898
|
+
backgroundColor: cardType === "subCard" ? "#FFF2D8 !important" : cardType === "disableCard" ? "#ECECEC !important" : "#F1F1FF !important",
|
|
899
899
|
border: cardType === "disableCard" ? "none" : `1px solid ${theme.palette.primary.dark}`,
|
|
900
900
|
overflow: "hidden",
|
|
901
901
|
position: "relative"
|
|
@@ -1008,8 +1008,8 @@ function CustomTimelineWithStatus({ events }) {
|
|
|
1008
1008
|
{
|
|
1009
1009
|
label: event.status.title,
|
|
1010
1010
|
sx: {
|
|
1011
|
-
backgroundColor: event.status.color
|
|
1012
|
-
color: event.status.labelColor
|
|
1011
|
+
backgroundColor: `${event.status.color} !important`,
|
|
1012
|
+
color: `${event.status.labelColor} !important`,
|
|
1013
1013
|
borderRadius: "40px",
|
|
1014
1014
|
height: 28,
|
|
1015
1015
|
fontWeight: 600,
|
|
@@ -1516,7 +1516,7 @@ function ApprovalWorkflow({
|
|
|
1516
1516
|
boxShadow: "0px 2px 10px rgba(76, 78, 100, 0.1)",
|
|
1517
1517
|
px: 3,
|
|
1518
1518
|
py: 2,
|
|
1519
|
-
background: "white"
|
|
1519
|
+
background: "white !important"
|
|
1520
1520
|
},
|
|
1521
1521
|
children: [
|
|
1522
1522
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
@@ -1680,8 +1680,8 @@ function ApprovalWorkflow({
|
|
|
1680
1680
|
{
|
|
1681
1681
|
variant: "filled",
|
|
1682
1682
|
sx: {
|
|
1683
|
-
backgroundColor: getStatus(currentStatus).color
|
|
1684
|
-
color: getStatus(currentStatus).labelColor
|
|
1683
|
+
backgroundColor: `${getStatus(currentStatus).color} !important`,
|
|
1684
|
+
color: `${getStatus(currentStatus).labelColor} !important`,
|
|
1685
1685
|
height: "40px",
|
|
1686
1686
|
px: 2,
|
|
1687
1687
|
borderRadius: "100px !important",
|
|
@@ -1843,7 +1843,7 @@ function ApprovalWorkflow({
|
|
|
1843
1843
|
boxShadow: "0px 2px 10px rgba(76, 78, 100, 0.1)",
|
|
1844
1844
|
px: 3,
|
|
1845
1845
|
py: 2,
|
|
1846
|
-
background: "white"
|
|
1846
|
+
background: "white !important"
|
|
1847
1847
|
},
|
|
1848
1848
|
children: [
|
|
1849
1849
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
@@ -2014,8 +2014,8 @@ function ApprovalWorkflow({
|
|
|
2014
2014
|
{
|
|
2015
2015
|
variant: "filled",
|
|
2016
2016
|
sx: {
|
|
2017
|
-
backgroundColor: getStatus(currentStatus).color
|
|
2018
|
-
color: getStatus(currentStatus).labelColor
|
|
2017
|
+
backgroundColor: `${getStatus(currentStatus).color} !important`,
|
|
2018
|
+
color: `${getStatus(currentStatus).labelColor} !important`,
|
|
2019
2019
|
height: "40px",
|
|
2020
2020
|
px: 2,
|
|
2021
2021
|
borderRadius: "100px !important",
|
|
@@ -2167,7 +2167,7 @@ function ApprovalWorkflow({
|
|
|
2167
2167
|
boxShadow: "0px 2px 10px rgba(76, 78, 100, 0.1)",
|
|
2168
2168
|
px: 3,
|
|
2169
2169
|
py: 2,
|
|
2170
|
-
background: "white"
|
|
2170
|
+
background: "white !important"
|
|
2171
2171
|
},
|
|
2172
2172
|
children: [
|
|
2173
2173
|
/* @__PURE__ */ jsxRuntime.jsxs(
|