design-zystem 1.0.246 → 1.0.247
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 +4 -0
- package/dist/index.mjs +4 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -583,6 +583,10 @@ var StyledIcon = import_styled_components6.default.i.withConfig({ shouldForwardP
|
|
|
583
583
|
padding: ${(props) => props.padding || 0};
|
|
584
584
|
width: ${(props) => props.width || "auto"};
|
|
585
585
|
height: ${(props) => props.height || "auto"};
|
|
586
|
+
display: ${(props) => props.isRound ? "inline-flex" : "inline"};
|
|
587
|
+
align-items: center;
|
|
588
|
+
justify-content: center;
|
|
589
|
+
aspect-ratio: ${(props) => props.isRound ? "1" : "auto"};
|
|
586
590
|
text-align: center;
|
|
587
591
|
align-self: center;
|
|
588
592
|
cursor: ${(props) => props.onClick ? "pointer" : "inherit"};
|
package/dist/index.mjs
CHANGED
|
@@ -489,6 +489,10 @@ var StyledIcon = styled6.i.withConfig({ shouldForwardProp: shouldForwardProp3 })
|
|
|
489
489
|
padding: ${(props) => props.padding || 0};
|
|
490
490
|
width: ${(props) => props.width || "auto"};
|
|
491
491
|
height: ${(props) => props.height || "auto"};
|
|
492
|
+
display: ${(props) => props.isRound ? "inline-flex" : "inline"};
|
|
493
|
+
align-items: center;
|
|
494
|
+
justify-content: center;
|
|
495
|
+
aspect-ratio: ${(props) => props.isRound ? "1" : "auto"};
|
|
492
496
|
text-align: center;
|
|
493
497
|
align-self: center;
|
|
494
498
|
cursor: ${(props) => props.onClick ? "pointer" : "inherit"};
|