@cashub/ui 0.48.25 → 0.48.26
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.
|
@@ -46,21 +46,21 @@ const fillColor = (0, _styledComponents.css)(_templateObject || (_templateObject
|
|
|
46
46
|
} = _ref5;
|
|
47
47
|
return grey && 'fill: var(--color-grey);';
|
|
48
48
|
});
|
|
49
|
-
const Wrapper = _styledComponents.default.span(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n position: relative;\n display: inline-flex;\n justify-content: center;\n align-items: center;\n height:
|
|
49
|
+
const Wrapper = _styledComponents.default.span(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n position: relative;\n display: inline-flex;\n justify-content: center;\n align-items: center;\n height: 2rem;\n width: 2rem;\n font-size: 1rem;\n margin: 0;\n color: var(--font-on-background);\n\n ", "\n\n ", "\n\n ", "\n\n ", "\n"])), _colorOnBackground.default, _ref6 => {
|
|
50
50
|
let {
|
|
51
51
|
extraSmall
|
|
52
52
|
} = _ref6;
|
|
53
|
-
return extraSmall && 'height:
|
|
53
|
+
return extraSmall && 'height: 1rem; width: 1rem; font-size: 0.62rem;';
|
|
54
54
|
}, _ref7 => {
|
|
55
55
|
let {
|
|
56
56
|
small
|
|
57
57
|
} = _ref7;
|
|
58
|
-
return small && 'height:
|
|
58
|
+
return small && 'height: 1.5rem; width: 1.5rem;';
|
|
59
59
|
}, _ref8 => {
|
|
60
60
|
let {
|
|
61
61
|
large
|
|
62
62
|
} = _ref8;
|
|
63
|
-
return large && 'height:
|
|
63
|
+
return large && 'height: 3rem; width: 3rem; font-size: 1.75rem;';
|
|
64
64
|
});
|
|
65
65
|
const TriangleSvg = _styledComponents.default.svg(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n position: absolute;\n top: 0;\n left: 0;\n height: 100%;\n width: 100%;\n"])));
|
|
66
66
|
const TrianglePath = _styledComponents.default.path(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n ", "\n"])), fillColor);
|
|
@@ -91,7 +91,7 @@ const BadgeFillTriangle = _ref12 => {
|
|
|
91
91
|
primary: primary
|
|
92
92
|
}, rest), {}, {
|
|
93
93
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(TriangleSvg, {
|
|
94
|
-
viewBox: "
|
|
94
|
+
viewBox: "1.7 2 20.6 19",
|
|
95
95
|
"aria-hidden": "true",
|
|
96
96
|
focusable: "false",
|
|
97
97
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(TrianglePath, _objectSpread(_objectSpread({
|