@geowiki/design-system 0.16.2-dev.0 → 0.16.4-dev.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/index.js +3 -1
- package/dist/index.mjs +3 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -15992,12 +15992,14 @@ var H1BodyButtonWithApp = (props) => {
|
|
|
15992
15992
|
// src/components/Hero/HeroImageRightWithAppButtons.tsx
|
|
15993
15993
|
var import_jsx_runtime141 = require("react/jsx-runtime");
|
|
15994
15994
|
var HeroImageRightWithAppButtons = (props) => {
|
|
15995
|
+
var _a;
|
|
15996
|
+
const description = window.innerWidth < 700 ? (_a = props.description) == null ? void 0 : _a.replaceAll("<br>", "") : props.description;
|
|
15995
15997
|
return /* @__PURE__ */ (0, import_jsx_runtime141.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime141.jsx)("div", { className: "lg:mt-10", children: /* @__PURE__ */ (0, import_jsx_runtime141.jsx)("div", { className: "justify-end", children: /* @__PURE__ */ (0, import_jsx_runtime141.jsxs)("div", { className: "flex gap-5 max-md:flex-col max-md:gap-0", children: [
|
|
15996
15998
|
/* @__PURE__ */ (0, import_jsx_runtime141.jsx)("div", { className: "flex flex-col w-[50%] max-md:ml-0 max-md:w-full lg:pr-5", children: /* @__PURE__ */ (0, import_jsx_runtime141.jsx)("div", { className: "flex flex-col self-stretch lg:pr-5 my-auto max-md:max-w-full", children: props.title && props.description && /* @__PURE__ */ (0, import_jsx_runtime141.jsx)(
|
|
15997
15999
|
H1BodyButtonWithApp,
|
|
15998
16000
|
{
|
|
15999
16001
|
title: props.title,
|
|
16000
|
-
textBody:
|
|
16002
|
+
textBody: description,
|
|
16001
16003
|
show_app_stores: props.show_app_stores
|
|
16002
16004
|
}
|
|
16003
16005
|
) }) }),
|
package/dist/index.mjs
CHANGED
|
@@ -15654,12 +15654,14 @@ var H1BodyButtonWithApp = (props) => {
|
|
|
15654
15654
|
// src/components/Hero/HeroImageRightWithAppButtons.tsx
|
|
15655
15655
|
import { jsx as jsx139, jsxs as jsxs64 } from "react/jsx-runtime";
|
|
15656
15656
|
var HeroImageRightWithAppButtons = (props) => {
|
|
15657
|
+
var _a;
|
|
15658
|
+
const description = window.innerWidth < 700 ? (_a = props.description) == null ? void 0 : _a.replaceAll("<br>", "") : props.description;
|
|
15657
15659
|
return /* @__PURE__ */ jsx139("div", { children: /* @__PURE__ */ jsx139("div", { className: "lg:mt-10", children: /* @__PURE__ */ jsx139("div", { className: "justify-end", children: /* @__PURE__ */ jsxs64("div", { className: "flex gap-5 max-md:flex-col max-md:gap-0", children: [
|
|
15658
15660
|
/* @__PURE__ */ jsx139("div", { className: "flex flex-col w-[50%] max-md:ml-0 max-md:w-full lg:pr-5", children: /* @__PURE__ */ jsx139("div", { className: "flex flex-col self-stretch lg:pr-5 my-auto max-md:max-w-full", children: props.title && props.description && /* @__PURE__ */ jsx139(
|
|
15659
15661
|
H1BodyButtonWithApp,
|
|
15660
15662
|
{
|
|
15661
15663
|
title: props.title,
|
|
15662
|
-
textBody:
|
|
15664
|
+
textBody: description,
|
|
15663
15665
|
show_app_stores: props.show_app_stores
|
|
15664
15666
|
}
|
|
15665
15667
|
) }) }),
|