@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__ */ jsx(
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: /* @__PURE__ */ jsx(
116
- OptimizeImage,
117
- {
118
- src: image?.src,
119
- alt: image?.alt ?? "",
120
- className: "img_fluid",
121
- height: image?.height,
122
- width: image?.width
123
- }
124
- )
125
- }
126
- ) : /* @__PURE__ */ jsx("div", { className: image_background, role: "presentation", children: /* @__PURE__ */ jsx(
127
- OptimizeImage,
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
- ) }) }) : video && video.videoId ? /* @__PURE__ */ jsx("div", { className: image_background, role: "presentation", children: /* @__PURE__ */ jsx(
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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@axos-web-dev/shared-components",
3
3
  "description": "Axos shared components library for web.",
4
- "version": "2.0.0-dev.30-toast",
4
+ "version": "2.0.0-dev.30-toasts",
5
5
  "type": "module",
6
6
  "main": "index.js",
7
7
  "module": "dist/main.js",