@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.cjs
CHANGED
|
@@ -386,7 +386,7 @@ const Section = ({ id, dark = false, backgroundImg, children }) => {
|
|
|
386
386
|
const onBackgroundCss = backgroundImg ? `${styles$1.Section__on_background}` : "";
|
|
387
387
|
const onBackgroundContentCss = backgroundImg ? `${styles$1.Section__on_background__content}` : "";
|
|
388
388
|
return (jsxRuntime.jsxs("section", { id: id, className: `${darkCss} ${styles$1.Section} ${onBackgroundCss}`, children: [backgroundImg &&
|
|
389
|
-
(jsxRuntime.jsxs("div", { className: styles$1.Section__background_img, children: [jsxRuntime.jsx("img", { src: backgroundImg }), jsxRuntime.jsx("div", { className: styles$1.Section__overlay }), jsxRuntime.jsx("div", { className: styles$1.Section__accentGlow })] })), jsxRuntime.jsx("div", { className: styles$1.Section__container + " " + onBackgroundContentCss, children: children })] }));
|
|
389
|
+
(jsxRuntime.jsxs("div", { className: styles$1.Section__background_img, children: [jsxRuntime.jsx("img", { src: backgroundImg.src, alt: backgroundImg.alt }), jsxRuntime.jsx("div", { className: styles$1.Section__overlay }), jsxRuntime.jsx("div", { className: styles$1.Section__accentGlow })] })), jsxRuntime.jsx("div", { className: styles$1.Section__container + " " + onBackgroundContentCss, children: children })] }));
|
|
390
390
|
};
|
|
391
391
|
|
|
392
392
|
var styles = {"TwoColumns__grid":"two-columns-module_TwoColumns__grid__qsens"};
|