@faststore/ui 1.7.14 → 1.7.17
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/CHANGELOG.md +24 -0
- package/dist/molecules/Banner/Banner.d.ts +3 -2
- package/dist/ui.cjs.development.js +8 -6
- package/dist/ui.cjs.development.js.map +1 -1
- package/dist/ui.cjs.production.min.js +1 -1
- package/dist/ui.cjs.production.min.js.map +1 -1
- package/dist/ui.esm.js +8 -6
- package/dist/ui.esm.js.map +1 -1
- package/package.json +3 -3
- package/src/molecules/Banner/Banner.test.tsx +5 -1
- package/src/molecules/Banner/Banner.tsx +14 -9
package/dist/ui.esm.js
CHANGED
|
@@ -1024,16 +1024,18 @@ const Modal = ({
|
|
|
1024
1024
|
}), children)), document.body) : null;
|
|
1025
1025
|
};
|
|
1026
1026
|
|
|
1027
|
-
const Banner = ({
|
|
1027
|
+
const Banner = /*#__PURE__*/forwardRef(function Banner({
|
|
1028
1028
|
testId = 'store-banner',
|
|
1029
1029
|
children,
|
|
1030
|
-
variant = 'vertical'
|
|
1031
|
-
|
|
1032
|
-
|
|
1030
|
+
variant = 'vertical',
|
|
1031
|
+
...otherProps
|
|
1032
|
+
}, ref) {
|
|
1033
|
+
return React.createElement("article", Object.assign({
|
|
1034
|
+
ref: ref,
|
|
1033
1035
|
"data-store-banner": variant,
|
|
1034
1036
|
"data-testid": testId
|
|
1035
|
-
}, children);
|
|
1036
|
-
};
|
|
1037
|
+
}, otherProps), children);
|
|
1038
|
+
});
|
|
1037
1039
|
|
|
1038
1040
|
const BannerImage = /*#__PURE__*/forwardRef(function BannerImage({
|
|
1039
1041
|
testId = 'store-banner-image',
|