@joza/joza-ui-kit 0.1.11 → 0.1.12
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/joza-ui-kit.cjs +1 -1
- package/dist/joza-ui-kit.cjs.map +1 -1
- package/dist/joza-ui-kit.es.js +1 -1
- package/dist/joza-ui-kit.es.js.map +1 -1
- package/dist/joza-ui-kit.umd.js +1 -1
- package/dist/joza-ui-kit.umd.js.map +1 -1
- package/dist/types/component/layout/section/section.d.ts +2 -1
- package/package.json +1 -1
package/dist/joza-ui-kit.es.js
CHANGED
|
@@ -366,7 +366,7 @@ const Section = ({ id, dark = false, backgroundImg, children }) => {
|
|
|
366
366
|
const onBackgroundCss = backgroundImg ? `${styles$1.Section__on_background}` : "";
|
|
367
367
|
const onBackgroundContentCss = backgroundImg ? `${styles$1.Section__on_background__content}` : "";
|
|
368
368
|
return (jsxs("section", { id: id, className: `${darkCss} ${styles$1.Section} ${onBackgroundCss}`, children: [backgroundImg &&
|
|
369
|
-
(jsxs("div", { className: styles$1.Section__background_img, children: [jsx("img", { src: backgroundImg }), jsx("div", { className: styles$1.Section__overlay }), jsx("div", { className: styles$1.Section__accentGlow })] })), jsx("div", { className: styles$1.Section__container + " " + onBackgroundContentCss, children: children })] }));
|
|
369
|
+
(jsxs("div", { className: styles$1.Section__background_img, children: [jsx("img", { src: backgroundImg.src, alt: backgroundImg.alt }), jsx("div", { className: styles$1.Section__overlay }), jsx("div", { className: styles$1.Section__accentGlow })] })), jsx("div", { className: styles$1.Section__container + " " + onBackgroundContentCss, children: children })] }));
|
|
370
370
|
};
|
|
371
371
|
|
|
372
372
|
var styles = {"TwoColumns__grid":"two-columns-module_TwoColumns__grid__qsens"};
|