@hyphen/hyphen-components 4.5.0 → 4.6.0
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/Card/components/CardHeader/CardHeader.d.ts +2 -2
- package/dist/hyphen-components.cjs.development.js +2 -2
- package/dist/hyphen-components.cjs.development.js.map +1 -1
- package/dist/hyphen-components.cjs.production.min.js +1 -1
- package/dist/hyphen-components.cjs.production.min.js.map +1 -1
- package/dist/hyphen-components.esm.js +2 -2
- package/dist/hyphen-components.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/Card/components/CardHeader/CardHeader.tsx +11 -5
|
@@ -864,13 +864,13 @@ var CardHeader = function CardHeader(_ref) {
|
|
|
864
864
|
}, title && React__default.createElement(React__default.Fragment, null, typeof title === 'string' ? React__default.createElement(Heading, {
|
|
865
865
|
size: "sm",
|
|
866
866
|
as: "h4"
|
|
867
|
-
}, title) : title), description && React__default.createElement(Box, {
|
|
867
|
+
}, title) : title), description && React__default.createElement(React__default.Fragment, null, typeof description === 'string' ? React__default.createElement(Box, {
|
|
868
868
|
fontSize: {
|
|
869
869
|
base: 'xs',
|
|
870
870
|
tablet: 'sm'
|
|
871
871
|
},
|
|
872
872
|
color: "secondary"
|
|
873
|
-
}, description)), children);
|
|
873
|
+
}, description) : description)), children);
|
|
874
874
|
};
|
|
875
875
|
|
|
876
876
|
var styles$r = {"card-section-border":"Card-module_card-section-border__OefDX"};
|