@obolnetwork/obol-ui 1.0.29 → 1.0.30
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.es.js +11 -12
- package/dist/index.js +11 -12
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1612,24 +1612,23 @@ var AdvisoryToggleBullet = function (props) {
|
|
|
1612
1612
|
}
|
|
1613
1613
|
return (jsxs(Box, __assign({ className: "advisory-bullet", css: {
|
|
1614
1614
|
display: "flex",
|
|
1615
|
-
flexWrap: "wrap",
|
|
1616
1615
|
alignItems: "center",
|
|
1617
1616
|
gap: "$xs",
|
|
1618
1617
|
minHeight: "$2xl",
|
|
1619
1618
|
pl: "calc($2xl - 2px)",
|
|
1620
1619
|
ml: "-2px",
|
|
1621
1620
|
borderLeft: "2px solid transparent"
|
|
1622
|
-
} }, { children: [props.state === "completed" ? (jsx(BulletCheckIcon, {})) : (jsx(Box, __assign({ css: {
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1621
|
+
} }, { children: [props.state === "completed" ? (jsx(Box, { children: jsx(BulletCheckIcon, {}) })) : (jsx(Box, { children: jsx(Box, __assign({ css: {
|
|
1622
|
+
display: "grid",
|
|
1623
|
+
placeItems: "center",
|
|
1624
|
+
width: "$lg",
|
|
1625
|
+
height: "$lg",
|
|
1626
|
+
backgroundColor: props.state === "upcoming" ? "$bg03" : "$obolMidGreen",
|
|
1627
|
+
borderRadius: "$round",
|
|
1628
|
+
fontSize: "$3",
|
|
1629
|
+
fontWeight: "$bold",
|
|
1630
|
+
color: props.state === "upcoming" ? "$muted" : "$obolGreen",
|
|
1631
|
+
} }, { children: props.rank })) })), jsx(Text, __assign({ color: color }, { children: props.children }))] })));
|
|
1633
1632
|
};
|
|
1634
1633
|
|
|
1635
1634
|
var CardImage = styled(Image, {
|
package/dist/index.js
CHANGED
|
@@ -1644,24 +1644,23 @@ var AdvisoryToggleBullet = function (props) {
|
|
|
1644
1644
|
}
|
|
1645
1645
|
return (jsxRuntime.jsxs(Box, __assign({ className: "advisory-bullet", css: {
|
|
1646
1646
|
display: "flex",
|
|
1647
|
-
flexWrap: "wrap",
|
|
1648
1647
|
alignItems: "center",
|
|
1649
1648
|
gap: "$xs",
|
|
1650
1649
|
minHeight: "$2xl",
|
|
1651
1650
|
pl: "calc($2xl - 2px)",
|
|
1652
1651
|
ml: "-2px",
|
|
1653
1652
|
borderLeft: "2px solid transparent"
|
|
1654
|
-
} }, { children: [props.state === "completed" ? (jsxRuntime.jsx(BulletCheckIcon, {})) : (jsxRuntime.jsx(Box, __assign({ css: {
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1653
|
+
} }, { children: [props.state === "completed" ? (jsxRuntime.jsx(Box, { children: jsxRuntime.jsx(BulletCheckIcon, {}) })) : (jsxRuntime.jsx(Box, { children: jsxRuntime.jsx(Box, __assign({ css: {
|
|
1654
|
+
display: "grid",
|
|
1655
|
+
placeItems: "center",
|
|
1656
|
+
width: "$lg",
|
|
1657
|
+
height: "$lg",
|
|
1658
|
+
backgroundColor: props.state === "upcoming" ? "$bg03" : "$obolMidGreen",
|
|
1659
|
+
borderRadius: "$round",
|
|
1660
|
+
fontSize: "$3",
|
|
1661
|
+
fontWeight: "$bold",
|
|
1662
|
+
color: props.state === "upcoming" ? "$muted" : "$obolGreen",
|
|
1663
|
+
} }, { children: props.rank })) })), jsxRuntime.jsx(Text, __assign({ color: color }, { children: props.children }))] })));
|
|
1665
1664
|
};
|
|
1666
1665
|
|
|
1667
1666
|
var CardImage = styled(Image, {
|