@coinswap-app/uikit 1.0.2 → 1.0.3
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/components/Svg/Svg.d.ts +3 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.esm.js +1 -1
- package/package.json +1 -1
|
@@ -1,3 +1,5 @@
|
|
|
1
1
|
import { SvgProps } from "./types";
|
|
2
|
-
declare const Svg: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").SVGProps<SVGSVGElement>,
|
|
2
|
+
declare const Svg: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<Omit<import("react").SVGProps<SVGSVGElement>, "ref"> & {
|
|
3
|
+
ref?: import("react").Ref<SVGSVGElement>;
|
|
4
|
+
}, SvgProps>> & string;
|
|
3
5
|
export default Svg;
|
package/dist/index.cjs.js
CHANGED
|
@@ -334,7 +334,7 @@ var getThemeValue = function getThemeValue(path, fallback) {
|
|
|
334
334
|
var _templateObject$2b, _templateObject2$16, _templateObject3$O;
|
|
335
335
|
var rotate$1 = styled.keyframes(_templateObject$2b || (_templateObject$2b = _taggedTemplateLiteral(["\n from {\n transform: rotate(0deg);\n }\n to {\n transform: rotate(360deg);\n }\n"])));
|
|
336
336
|
var spinStyle = styled.css(_templateObject2$16 || (_templateObject2$16 = _taggedTemplateLiteral(["\n animation: ", " 2s linear infinite;\n"])), rotate$1);
|
|
337
|
-
var Svg = styled
|
|
337
|
+
var Svg = styled("svg")(_templateObject3$O || (_templateObject3$O = _taggedTemplateLiteral(["\n fill: ", ";\n flex-shrink: 0;\n\n ", "\n ", "\n path {\n fill: ", ";\n //Opacity set on 0.5\n fill-opacity: ", ";\n }\n"])), function (_ref) {
|
|
338
338
|
var theme = _ref.theme,
|
|
339
339
|
color = _ref.color;
|
|
340
340
|
return getThemeValue("colors.".concat(color), color)(theme);
|
package/dist/index.esm.js
CHANGED
|
@@ -312,7 +312,7 @@ var getThemeValue = function getThemeValue(path, fallback) {
|
|
|
312
312
|
var _templateObject$2b, _templateObject2$16, _templateObject3$O;
|
|
313
313
|
var rotate$1 = keyframes(_templateObject$2b || (_templateObject$2b = _taggedTemplateLiteral(["\n from {\n transform: rotate(0deg);\n }\n to {\n transform: rotate(360deg);\n }\n"])));
|
|
314
314
|
var spinStyle = css(_templateObject2$16 || (_templateObject2$16 = _taggedTemplateLiteral(["\n animation: ", " 2s linear infinite;\n"])), rotate$1);
|
|
315
|
-
var Svg = styled
|
|
315
|
+
var Svg = styled("svg")(_templateObject3$O || (_templateObject3$O = _taggedTemplateLiteral(["\n fill: ", ";\n flex-shrink: 0;\n\n ", "\n ", "\n path {\n fill: ", ";\n //Opacity set on 0.5\n fill-opacity: ", ";\n }\n"])), function (_ref) {
|
|
316
316
|
var theme = _ref.theme,
|
|
317
317
|
color = _ref.color;
|
|
318
318
|
return getThemeValue("colors.".concat(color), color)(theme);
|