@axos-web-dev/shared-components 2.0.0-dev.30-toast → 2.0.0-dev.30-toasts
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.
|
@@ -101,7 +101,7 @@ const ImageBillboard = ({
|
|
|
101
101
|
image?.imageType === "Image" ? image_based : ""
|
|
102
102
|
),
|
|
103
103
|
children: [
|
|
104
|
-
(image || video || textImageLineOneSmall || textImageLineTwoBig || textImageLineThreeSmall) && /* @__PURE__ */ jsx("div", { className: `${billboard_img} flex`, children: image && image.src ? /* @__PURE__ */ jsx(Fragment, { children: image?.imageType === "Image" ? /* @__PURE__ */
|
|
104
|
+
(image || video || textImageLineOneSmall || textImageLineTwoBig || textImageLineThreeSmall) && /* @__PURE__ */ jsx("div", { className: `${billboard_img} flex`, children: image && image.src ? /* @__PURE__ */ jsx(Fragment, { children: image?.imageType === "Image" ? /* @__PURE__ */ jsxs(
|
|
105
105
|
"div",
|
|
106
106
|
{
|
|
107
107
|
role: "presentation",
|
|
@@ -112,25 +112,31 @@ const ImageBillboard = ({
|
|
|
112
112
|
image_inner_wrapper
|
|
113
113
|
),
|
|
114
114
|
style: image?.imageBackgroundColor ? { background: image?.imageBackgroundColor } : {},
|
|
115
|
-
children:
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
{
|
|
129
|
-
src: image?.src,
|
|
130
|
-
alt: image?.alt ?? "",
|
|
131
|
-
className: is_bg_img
|
|
115
|
+
children: [
|
|
116
|
+
/* @__PURE__ */ jsx(
|
|
117
|
+
OptimizeImage,
|
|
118
|
+
{
|
|
119
|
+
src: image?.src,
|
|
120
|
+
alt: image?.alt ?? "",
|
|
121
|
+
className: "img_fluid",
|
|
122
|
+
height: image?.height,
|
|
123
|
+
width: image?.width
|
|
124
|
+
}
|
|
125
|
+
),
|
|
126
|
+
toast && toast.length > 0 && toast.map((toastItem) => /* @__PURE__ */ jsx(ImageToast, { ...toastItem }, toastItem.id))
|
|
127
|
+
]
|
|
132
128
|
}
|
|
133
|
-
)
|
|
129
|
+
) : /* @__PURE__ */ jsxs("div", { className: image_background, role: "presentation", children: [
|
|
130
|
+
/* @__PURE__ */ jsx(
|
|
131
|
+
OptimizeImage,
|
|
132
|
+
{
|
|
133
|
+
src: image?.src,
|
|
134
|
+
alt: image?.alt ?? "",
|
|
135
|
+
className: is_bg_img
|
|
136
|
+
}
|
|
137
|
+
),
|
|
138
|
+
toast && toast.length > 0 && toast.map((toastItem) => /* @__PURE__ */ jsx(ImageToast, { ...toastItem }, toastItem.id))
|
|
139
|
+
] }) }) : video && video.videoId ? /* @__PURE__ */ jsx("div", { className: image_background, role: "presentation", children: /* @__PURE__ */ jsx(
|
|
134
140
|
VideoTile,
|
|
135
141
|
{
|
|
136
142
|
id: "video-tile",
|
|
@@ -163,7 +169,6 @@ const ImageBillboard = ({
|
|
|
163
169
|
)
|
|
164
170
|
}
|
|
165
171
|
) }),
|
|
166
|
-
toast && toast.length > 0 && toast.map((toastItem) => /* @__PURE__ */ jsx(ImageToast, { ...toastItem }, toastItem.id)),
|
|
167
172
|
/* @__PURE__ */ jsxs("div", { className: body, children: [
|
|
168
173
|
/* @__PURE__ */ jsxs("div", { className: billboard_body, children: [
|
|
169
174
|
(eyebrow || headline) && /* @__PURE__ */ jsxs("div", { className: `${billboard_header_section}`, children: [
|
package/package.json
CHANGED