@aurora-ds/components 1.1.0 → 1.1.1

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/esm/index.js CHANGED
@@ -2289,9 +2289,8 @@ const CardBody = ({ children, py = 'md', px = 'md', }) => {
2289
2289
  };
2290
2290
  CardBody.displayName = 'Card.Body';
2291
2291
 
2292
- const CardBase = ({ ref, variant = 'outlined', padding, className, style, children, ...rest }) => {
2293
- const theme = useTheme();
2294
- return (jsx("div", { ref: ref, className: cx(CARD_VARIANTS({ variant }), className), style: padding !== undefined ? { padding: theme.spacing[padding], ...style } : style, ...rest, children: children }));
2292
+ const CardBase = ({ ref, variant = 'outlined', className, children, ...rest }) => {
2293
+ return (jsx(Box, { ref: ref, className: cx(CARD_VARIANTS({ variant }), className), ...rest, children: children }));
2295
2294
  };
2296
2295
  CardBase.displayName = 'Card';
2297
2296
  const Card = CardBase;