@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/cjs/index.js CHANGED
@@ -2309,9 +2309,8 @@ const CardBody = ({ children, py = 'md', px = 'md', }) => {
2309
2309
  };
2310
2310
  CardBody.displayName = 'Card.Body';
2311
2311
 
2312
- const CardBase = ({ ref, variant = 'outlined', padding, className, style, children, ...rest }) => {
2313
- const theme$1 = theme.useTheme();
2314
- return (jsxRuntime.jsx("div", { ref: ref, className: theme.cx(CARD_VARIANTS({ variant }), className), style: padding !== undefined ? { padding: theme$1.spacing[padding], ...style } : style, ...rest, children: children }));
2312
+ const CardBase = ({ ref, variant = 'outlined', className, children, ...rest }) => {
2313
+ return (jsxRuntime.jsx(Box, { ref: ref, className: theme.cx(CARD_VARIANTS({ variant }), className), ...rest, children: children }));
2315
2314
  };
2316
2315
  CardBase.displayName = 'Card';
2317
2316
  const Card = CardBase;