@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 +2 -3
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +2 -3
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +2 -5
- package/package.json +1 -1
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',
|
|
2293
|
-
|
|
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;
|