@axos-web-dev/shared-components 1.0.83 → 1.0.84

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.
@@ -264,7 +264,7 @@ const ApyCalculator = ({
264
264
  {
265
265
  className: `${container({ variant: getVariant(variant) })} ${marketingTile} rounded bordered`,
266
266
  children: [
267
- /* @__PURE__ */ jsx("div", { className: `${content} ${bodyContent}`, children: /* @__PURE__ */ jsxs("div", { className: headerIconBillboard, children: [
267
+ /* @__PURE__ */ jsx("div", { className: `${content} ${bodyContent}`, children: /* @__PURE__ */ jsxs("div", { className: headerIconBillboard, style: { textAlign: "left" }, children: [
268
268
  /* @__PURE__ */ jsx(
269
269
  "div",
270
270
  {
@@ -622,7 +622,7 @@ const BuyDownCalculator = ({
622
622
  id: "mooringOutsideContinentalUS",
623
623
  ...register("mooringOutsideContinentalUS"),
624
624
  value: 0.5,
625
- radioText: "Mooring Outside Continental U.S. (Includes Puerto Rico,\n Hawaii, and Alaska) (Does not apply to Full Time Charter)\n +0.500",
625
+ radioText: "Mooring Outside Continental U.S. (Includes Puerto Rico,\r\n Hawaii, and Alaska) (Does not apply to Full Time Charter)\r\n +0.500",
626
626
  groupName: "dependentInputs",
627
627
  disabled: disableMooringOutside
628
628
  }
@@ -57,8 +57,8 @@ const IconBillboard = (props) => {
57
57
  width: icon?.width
58
58
  }
59
59
  ) }),
60
- /* @__PURE__ */ jsxs("div", { className: clsx(content, "flex_col gap_24"), children: [
61
- /* @__PURE__ */ jsxs("div", { className: `${headerIconBillboard} flex_col text_center`, children: [
60
+ /* @__PURE__ */ jsxs("div", { className: clsx(content), children: [
61
+ /* @__PURE__ */ jsxs("div", { className: headerIconBillboard, children: [
62
62
  headline && createElement(
63
63
  headingLevel,
64
64
  {
@@ -69,10 +69,10 @@ const IconBillboard = (props) => {
69
69
  ),
70
70
  body && /* @__PURE__ */ jsx("div", { children: body })
71
71
  ] }),
72
- items && items?.length > 0 && /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx("ul", { className: clsx(list, "list_unstyled flex_col"), children: items?.map((item) => /* @__PURE__ */ jsx(BulletItem, { id: item.id, variant, children: item.content }, item.id)) }) })
72
+ items && items?.length > 0 && /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx("ul", { className: clsx(list, "list_unstyled"), children: items?.map((item) => /* @__PURE__ */ jsx(BulletItem, { id: item.id, variant, children: item.content }, item.id)) }) })
73
73
  ] })
74
74
  ] }),
75
- callToActionRow && /* @__PURE__ */ jsx("div", { className: `${buttons} flex middle center text_center gap_24`, children: callToActionRow.map(
75
+ callToActionRow && /* @__PURE__ */ jsx("div", { className: buttons, children: callToActionRow.map(
76
76
  ({
77
77
  id: id2,
78
78
  variant: variant2,
@@ -145,6 +145,7 @@ export declare const header: import('@vanilla-extract/recipes').RuntimeFn<{
145
145
  }>;
146
146
  export declare const billboard_container: string;
147
147
  export declare const billboard_img: string;
148
+ export declare const is_bg_img: string;
148
149
  export declare const billboard_body: string;
149
150
  export declare const billboard_header_section: string;
150
151
  export declare const billboard_ctas: string;
@@ -156,6 +157,8 @@ export declare const section_text_ImageBillboard: string;
156
157
  export declare const billboard_image: string;
157
158
  export declare const mh_330: string;
158
159
  export declare const image_background: string;
160
+ export declare const image_inner_wrapper: string;
161
+ export declare const image_based: string;
159
162
  export declare const rate_container: string;
160
163
  export declare const rate_pad: string;
161
164
  export declare const up_to: string;
@@ -163,6 +166,16 @@ export declare const rate_billboard: string;
163
166
  export declare const apy_billboard: string;
164
167
  export declare const body_copy: string;
165
168
  export declare const sub_bullets: string;
169
+ export declare const top_left: string;
170
+ export declare const top_center: string;
171
+ export declare const top_right: string;
172
+ export declare const center_left: string;
173
+ export declare const center_right: string;
174
+ export declare const center_center: string;
175
+ export declare const bottom_left: string;
176
+ export declare const bottom_right: string;
177
+ export declare const bottom_center: string;
178
+ export declare const remove_padding: string;
166
179
  export declare const exit_intent_backdrop: string;
167
180
  export declare const exit_intent: string;
168
181
  export declare const modal_close_button: string;
@@ -11,27 +11,40 @@ var supertag = createRuntimeFn({ defaultClassName: "_1m7m2a8", variantClassNames
11
11
  var header = createRuntimeFn({ defaultClassName: "_1m7m2ad", variantClassNames: { variant: { primary: "_1m7m2ae", secondary: "_1m7m2af", tertiary: "_1m7m2ag", quaternary: "_1m7m2ah" } }, defaultVariants: {}, compoundVariants: [] });
12
12
  var billboard_container = "_1m7m2ai";
13
13
  var billboard_img = "_1m7m2aj";
14
- var billboard_body = "_1m7m2ak";
15
- var billboard_header_section = "_1m7m2al";
16
- var billboard_ctas = "_1m7m2am";
17
- var body = "_1m7m2an";
18
- var single_container = "_1m7m2ao";
19
- var two_inline = "_1m7m2ap";
20
- var three_inline = "_1m7m2aq";
21
- var section_text_ImageBillboard = "_1m7m2ar";
22
- var billboard_image = "_1m7m2as";
23
- var mh_330 = "_1m7m2at";
24
- var image_background = "_1m7m2au";
25
- var rate_container = "_1m7m2av";
26
- var rate_pad = "_1m7m2aw";
27
- var up_to = "_1m7m2ax";
28
- var rate_billboard = "_1m7m2ay";
29
- var apy_billboard = "_1m7m2az";
30
- var body_copy = "_1m7m2a10";
31
- var sub_bullets = "_1m7m2a11";
32
- var exit_intent_backdrop = "_1m7m2a12";
33
- var exit_intent = "_1m7m2a13";
34
- var modal_close_button = "_1m7m2a14";
14
+ var is_bg_img = "_1m7m2ak";
15
+ var billboard_body = "_1m7m2al";
16
+ var billboard_header_section = "_1m7m2am";
17
+ var billboard_ctas = "_1m7m2an";
18
+ var body = "_1m7m2ao";
19
+ var single_container = "_1m7m2ap";
20
+ var two_inline = "_1m7m2aq";
21
+ var three_inline = "_1m7m2ar";
22
+ var section_text_ImageBillboard = "_1m7m2as";
23
+ var billboard_image = "_1m7m2at";
24
+ var mh_330 = "_1m7m2au";
25
+ var image_background = "_1m7m2av";
26
+ var image_inner_wrapper = "_1m7m2aw";
27
+ var image_based = "_1m7m2ax";
28
+ var rate_container = "_1m7m2ay";
29
+ var rate_pad = "_1m7m2az";
30
+ var up_to = "_1m7m2a10";
31
+ var rate_billboard = "_1m7m2a11";
32
+ var apy_billboard = "_1m7m2a12";
33
+ var body_copy = "_1m7m2a13";
34
+ var sub_bullets = "_1m7m2a14";
35
+ var top_left = "_1m7m2a15";
36
+ var top_center = "_1m7m2a16";
37
+ var top_right = "_1m7m2a17";
38
+ var center_left = "_1m7m2a18";
39
+ var center_right = "_1m7m2a19";
40
+ var center_center = "_1m7m2a1a";
41
+ var bottom_left = "_1m7m2a1b";
42
+ var bottom_right = "_1m7m2a1c";
43
+ var bottom_center = "_1m7m2a1d";
44
+ var remove_padding = "_1m7m2a1e";
45
+ var exit_intent_backdrop = "_1m7m2a1f";
46
+ var exit_intent = "_1m7m2a1g";
47
+ var modal_close_button = "_1m7m2a1h";
35
48
  export {
36
49
  apy_billboard,
37
50
  billboard,
@@ -43,21 +56,34 @@ export {
43
56
  billboard_img,
44
57
  body,
45
58
  body_copy,
59
+ bottom_center,
60
+ bottom_left,
61
+ bottom_right,
62
+ center_center,
63
+ center_left,
64
+ center_right,
46
65
  exit_intent,
47
66
  exit_intent_backdrop,
48
67
  header,
49
68
  imagePlacement,
50
69
  image_background,
70
+ image_based,
71
+ image_inner_wrapper,
72
+ is_bg_img,
51
73
  mh_330,
52
74
  modal_close_button,
53
75
  rate_billboard,
54
76
  rate_container,
55
77
  rate_pad,
78
+ remove_padding,
56
79
  section_text_ImageBillboard,
57
80
  single_container,
58
81
  sub_bullets,
59
82
  supertag,
60
83
  three_inline,
84
+ top_center,
85
+ top_left,
86
+ top_right,
61
87
  two_inline,
62
88
  up_to
63
89
  };
@@ -1,6 +1,5 @@
1
1
  import { BulletItemProps } from '../BulletItem';
2
2
  import { ChevronProps } from '../Chevron/Chevron.interface';
3
- import { ImageInterface } from '../IconBillboard';
4
3
  import { QuaternaryTypes } from '../utils/variant.types';
5
4
  import { ReactNode } from 'react';
6
5
 
@@ -13,6 +12,16 @@ export interface ImageBillboardSetProps {
13
12
  variant: QuaternaryTypes;
14
13
  set?: boolean;
15
14
  bordered?: boolean;
15
+ layout?: "Inline" | "Stacked";
16
+ }
17
+ export interface BillboardImageInterface {
18
+ src: string;
19
+ alt?: string;
20
+ imageType?: "Image" | "Background Image";
21
+ imageAlignment?: string;
22
+ imageBackgroundColor?: string;
23
+ height?: string | number;
24
+ width?: string | number;
16
25
  }
17
26
  export interface ImageBillboardInterface {
18
27
  id: string;
@@ -24,7 +33,7 @@ export interface ImageBillboardInterface {
24
33
  variant: QuaternaryTypes;
25
34
  eyebrow: string | ReactNode;
26
35
  bullets: BulletItemProps[];
27
- image?: ImageInterface;
36
+ image?: BillboardImageInterface;
28
37
  callToActionRow: ChevronProps[];
29
38
  set?: boolean;
30
39
  textImageLineOneSmall?: ReactNode | string;
@@ -32,4 +41,5 @@ export interface ImageBillboardInterface {
32
41
  textImageLineThreeSmall?: ReactNode | string;
33
42
  internalName?: string;
34
43
  exitIntent?: boolean;
44
+ layout?: ImageBillboardSetProps["layout"];
35
45
  }
@@ -1,3 +1,3 @@
1
1
  import { ImageBillboardInterface } from './ImageBillboard.interface';
2
2
 
3
- export declare const ImageBillboard: ({ id, variant, headline, bodyCopy, bordered, bullets, callToActionRow, eyebrow, image, imagePlacement: position, set, textImageLineOneSmall, textImageLineTwoBig, textImageLineThreeSmall, internalName, exitIntent, }: ImageBillboardInterface) => import("react/jsx-runtime").JSX.Element | null;
3
+ export declare const ImageBillboard: ({ id, bodyCopy, bordered, bullets, callToActionRow, exitIntent, eyebrow, headline, image, imagePlacement: position, internalName, set, textImageLineOneSmall, textImageLineThreeSmall, textImageLineTwoBig, variant, }: ImageBillboardInterface) => import("react/jsx-runtime").JSX.Element | null;
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { jsx, jsxs } from "react/jsx-runtime";
2
+ import { jsx, jsxs, Fragment } from "react/jsx-runtime";
3
3
  import { useRef, useState, useEffect, createElement } from "react";
4
4
  import { Button } from "../Button/Button.js";
5
5
  import "../Button/Button.css.js";
@@ -18,24 +18,24 @@ import { OptimizeImage } from "../utils/optimizeImage/OptimizeImage.js";
18
18
  import { useExitIntentModal } from "./ExitIntentModal/useExitIntentModal.js";
19
19
  import { ModalWrapper } from "./ExitIntentModal/ModalWrapper.js";
20
20
  import clsx from "clsx";
21
- import { billboard_img, image_background, up_to, rate_billboard, apy_billboard, rate_pad, rate_container, body, billboard_body, billboard_header_section, supertag, header, body_copy, sub_bullets, billboard_ctas, billboard, imagePlacement } from "./ImageBillboard.css.js";
21
+ import { billboard_img, center_center, remove_padding, image_inner_wrapper, image_background, is_bg_img, up_to, rate_billboard, apy_billboard, rate_pad, rate_container, body, billboard_body, billboard_header_section, supertag, header, body_copy, sub_bullets, billboard_ctas, billboard, imagePlacement, image_based, bottom_right, bottom_center, bottom_left, center_right, center_left, top_right, top_center, top_left } from "./ImageBillboard.css.js";
22
22
  const ImageBillboard = ({
23
23
  id,
24
- variant,
25
- headline,
26
24
  bodyCopy,
27
25
  bordered = false,
28
26
  bullets,
29
27
  callToActionRow,
28
+ exitIntent = false,
30
29
  eyebrow,
30
+ headline,
31
31
  image,
32
32
  imagePlacement: position = "left",
33
+ internalName,
33
34
  set,
34
35
  textImageLineOneSmall,
35
- textImageLineTwoBig,
36
36
  textImageLineThreeSmall,
37
- internalName,
38
- exitIntent = false
37
+ textImageLineTwoBig,
38
+ variant
39
39
  }) => {
40
40
  const billboard_variant = getVariant(variant);
41
41
  position = position?.toLocaleLowerCase();
@@ -55,22 +55,74 @@ const ImageBillboard = ({
55
55
  }
56
56
  }
57
57
  }, []);
58
+ const imgAlignment = (alignment) => {
59
+ switch (alignment) {
60
+ case "Top Left":
61
+ return top_left;
62
+ case "Top Center":
63
+ return top_center;
64
+ case "Top Right":
65
+ return top_right;
66
+ case "Center Left":
67
+ return center_left;
68
+ case "Center Center":
69
+ return center_center;
70
+ case "Center Right":
71
+ return center_right;
72
+ case "Bottom Left":
73
+ return bottom_left;
74
+ case "Bottom Center":
75
+ return bottom_center;
76
+ case "Bottom Right":
77
+ return bottom_right;
78
+ default:
79
+ return center_center;
80
+ }
81
+ };
58
82
  const renderBillboard = () => /* @__PURE__ */ jsxs(
59
83
  "div",
60
84
  {
61
85
  id: internalName?.replace(/ /g, "-") ?? id,
62
86
  className: clsx(
63
- "billboard",
64
- "containment",
87
+ "billboard rounded flex",
65
88
  billboard({ variant: billboard_variant }),
66
- `rounded flex`,
67
89
  bordered && billboard_variant === "primary" ? "bordered" : "",
68
90
  imagePlacement({ position: position?.toLowerCase() }),
69
- `${set ? "" : "containment"}`,
70
- position === "right" && "reversed"
91
+ position === "right" && "reversed",
92
+ set ? "" : "containment",
93
+ image?.imageType === "Image" ? image_based : ""
71
94
  ),
72
95
  children: [
73
- /* @__PURE__ */ jsx("div", { className: `${billboard_img} flex`, children: image ? /* @__PURE__ */ jsx("div", { className: image_background, role: "presentation", children: /* @__PURE__ */ jsx(OptimizeImage, { src: image?.src, alt: image?.alt ?? "" }) }) : /* @__PURE__ */ jsx(
96
+ /* @__PURE__ */ jsx("div", { className: `${billboard_img} flex`, children: image ? /* @__PURE__ */ jsx(Fragment, { children: image?.imageType === "Image" ? /* @__PURE__ */ jsx(
97
+ "div",
98
+ {
99
+ role: "presentation",
100
+ className: clsx(
101
+ "rounded overflow_hidden flex",
102
+ imgAlignment(image?.imageAlignment ?? center_center),
103
+ image?.imageBackgroundColor === "transparent" ? remove_padding : "",
104
+ image_inner_wrapper
105
+ ),
106
+ style: image?.imageBackgroundColor ? { background: image?.imageBackgroundColor } : {},
107
+ children: /* @__PURE__ */ jsx(
108
+ OptimizeImage,
109
+ {
110
+ src: image?.src,
111
+ alt: image?.alt ?? "",
112
+ className: "img_fluid",
113
+ height: image?.height,
114
+ width: image?.width
115
+ }
116
+ )
117
+ }
118
+ ) : /* @__PURE__ */ jsx("div", { className: image_background, role: "presentation", children: /* @__PURE__ */ jsx(
119
+ OptimizeImage,
120
+ {
121
+ src: image?.src,
122
+ alt: image?.alt ?? "",
123
+ className: is_bg_img
124
+ }
125
+ ) }) }) : /* @__PURE__ */ jsx(
74
126
  "div",
75
127
  {
76
128
  className: clsx(
@@ -1,5 +1,5 @@
1
1
  import { ImageBillboardSet } from "./ImageBillboard.js";
2
- import { apy_billboard, billboard, billboard_body, billboard_container, billboard_ctas, billboard_header_section, billboard_image, billboard_img, body, body_copy, exit_intent, exit_intent_backdrop, header, imagePlacement, image_background, mh_330, modal_close_button, rate_billboard, rate_container, rate_pad, section_text_ImageBillboard, single_container, sub_bullets, supertag, three_inline, two_inline, up_to } from "./ImageBillboard.css.js";
2
+ import { apy_billboard, billboard, billboard_body, billboard_container, billboard_ctas, billboard_header_section, billboard_image, billboard_img, body, body_copy, bottom_center, bottom_left, bottom_right, center_center, center_left, center_right, exit_intent, exit_intent_backdrop, header, imagePlacement, image_background, image_based, image_inner_wrapper, is_bg_img, mh_330, modal_close_button, rate_billboard, rate_container, rate_pad, remove_padding, section_text_ImageBillboard, single_container, sub_bullets, supertag, three_inline, top_center, top_left, top_right, two_inline, up_to } from "./ImageBillboard.css.js";
3
3
  import { ImageBillboard } from "./ImageBillboardSet.js";
4
4
  export {
5
5
  ImageBillboard,
@@ -14,21 +14,34 @@ export {
14
14
  billboard_img,
15
15
  body,
16
16
  body_copy,
17
+ bottom_center,
18
+ bottom_left,
19
+ bottom_right,
20
+ center_center,
21
+ center_left,
22
+ center_right,
17
23
  exit_intent,
18
24
  exit_intent_backdrop,
19
25
  header,
20
26
  imagePlacement,
21
27
  image_background,
28
+ image_based,
29
+ image_inner_wrapper,
30
+ is_bg_img,
22
31
  mh_330,
23
32
  modal_close_button,
24
33
  rate_billboard,
25
34
  rate_container,
26
35
  rate_pad,
36
+ remove_padding,
27
37
  section_text_ImageBillboard,
28
38
  single_container,
29
39
  sub_bullets,
30
40
  supertag,
31
41
  three_inline,
42
+ top_center,
43
+ top_left,
44
+ top_right,
32
45
  two_inline,
33
46
  up_to
34
47
  };
@@ -11,4 +11,4 @@ export interface SetContainerProps extends Omit<ImageBillboardSetProps, "imageBi
11
11
  numberOfColumns?: string;
12
12
  additionalDetails?: ReactNode | string;
13
13
  }
14
- export declare const SetContainer: ({ id, variant, headline, bodyCopy, additionalDetails, children, internalName, icon, eyebrow, style, isolate, className, numberOfColumns, }: SetContainerProps) => import("react/jsx-runtime").JSX.Element;
14
+ export declare const SetContainer: ({ id, variant, headline, bodyCopy, additionalDetails, children, internalName, icon, eyebrow, style, isolate, className, numberOfColumns, layout, }: SetContainerProps) => import("react/jsx-runtime").JSX.Element;
@@ -138,7 +138,8 @@ const SetContainer = ({
138
138
  style,
139
139
  isolate,
140
140
  className,
141
- numberOfColumns
141
+ numberOfColumns,
142
+ layout = "Inline"
142
143
  }) => {
143
144
  const container_variant = getVariant(variant);
144
145
  const numOfCols = getNumOfColumns(numberOfColumns);
@@ -177,7 +178,8 @@ const SetContainer = ({
177
178
  "div",
178
179
  {
179
180
  className: clsx(
180
- numOfCols && columnValues.includes(numOfCols) ? `${set_container_cols({ columns: numOfCols })} cols_${numOfCols}` : inline_container
181
+ numOfCols && columnValues.includes(numOfCols) ? `${set_container_cols({ columns: numOfCols })} cols_${numOfCols}` : inline_container,
182
+ layout === "Stacked" ? "stacked" : ""
181
183
  ),
182
184
  children
183
185
  }
@@ -30,12 +30,17 @@
30
30
  width: 48px;
31
31
  }
32
32
  ._1r4ovbu8 {
33
- font-family: var(--main-font-family);
33
+ display: flex;
34
+ flex-direction: column;
34
35
  gap: 24px;
36
+ font-family: var(--main-font-family);
35
37
  width: 100%;
36
38
  }
37
39
  ._1r4ovbu9 {
40
+ display: flex;
41
+ flex-direction: column;
38
42
  gap: 8px;
43
+ text-align: center;
39
44
  }
40
45
  ._1r4ovbua {
41
46
  font: 600 28px/1.29 var(--header-font-family);
@@ -71,6 +76,8 @@
71
76
  color: var(--_1073cm8o);
72
77
  }
73
78
  ._1r4ovbuf {
79
+ display: flex;
80
+ flex-direction: column;
74
81
  gap: 1em;
75
82
  }
76
83
  ._1r4ovbug {
@@ -79,9 +86,14 @@
79
86
  gap: 10px;
80
87
  }
81
88
  ._1r4ovbuh {
89
+ display: flex;
90
+ justify-content: center;
82
91
  width: 100%;
83
92
  margin-top: auto;
93
+ text-align: center;
84
94
  flex-wrap: wrap;
95
+ gap: 24px;
96
+ align-items: center;
85
97
  }
86
98
  ._1r4ovbui {
87
99
  margin-inline: auto;
@@ -116,7 +116,7 @@
116
116
  width: 100%;
117
117
  height: auto;
118
118
  }
119
- ._1m7m2aj img {
119
+ ._1m7m2ak {
120
120
  height: 100%;
121
121
  inset: 0;
122
122
  object-fit: cover;
@@ -124,86 +124,193 @@
124
124
  position: absolute;
125
125
  width: 100%;
126
126
  }
127
- ._1m7m2an {
127
+ ._1m7m2ao {
128
128
  padding: 32px 28px;
129
129
  width: 100%;
130
130
  max-width: 50%;
131
131
  }
132
- ._18ygy9m5 ._1m7m2an {
132
+ ._18ygy9m5 ._1m7m2ao {
133
133
  height: 100%;
134
134
  display: flex;
135
135
  flex-direction: column;
136
136
  justify-content: space-between;
137
137
  }
138
- ._1m7m2ao {
138
+ ._1m7m2ap {
139
139
  display: flex;
140
140
  gap: 20px;
141
141
  }
142
- ._1m7m2ap {
142
+ ._1m7m2aq {
143
143
  grid-template-columns: 1fr 1fr;
144
144
  }
145
- ._1m7m2aq {
145
+ ._1m7m2ar {
146
146
  grid-template-columns: 1fr 1fr 1fr;
147
147
  }
148
- ._1m7m2ar {
148
+ ._1m7m2as {
149
149
  margin-inline: auto;
150
150
  margin-bottom: 2.5rem;
151
151
  text-align: center;
152
152
  max-width: 1000px;
153
153
  }
154
- ._1m7m2ar > p {
154
+ ._1m7m2as > p {
155
155
  margin-top: 24px;
156
156
  }
157
- ._1m7m2as {
157
+ ._1m7m2at {
158
158
  width: 100%;
159
159
  }
160
- ._1m7m2at {
160
+ ._1m7m2au {
161
161
  min-height: 330px;
162
162
  }
163
- ._1m7m2au {
163
+ ._1m7m2av {
164
164
  width: 100%;
165
165
  height: 100%;
166
166
  position: relative;
167
167
  }
168
- ._18ygy9m5 ._1m7m2au {
168
+ ._1m7m2aw {
169
+ position: relative;
170
+ width: 100%;
171
+ }
172
+ ._1m7m2ax {
173
+ border: none !important;
174
+ align-items: center;
175
+ }
176
+ .section_spacer ._1m7m2ax {
177
+ background: none;
178
+ }
179
+ ._1m7m2ax ._1m7m2aj {
180
+ justify-content: flex-end;
181
+ }
182
+ ._18ygy9m5 ._1m7m2av {
169
183
  min-height: 330px;
170
184
  }
171
- ._1m7m2av {
185
+ ._1m7m2ay {
172
186
  background: var(--_1073cm8f);
173
187
  color: #FFFFFF;
174
188
  }
175
- ._1m7m2aw {
189
+ ._1m7m2az {
176
190
  padding: 1.5rem;
177
191
  height: 100%;
178
192
  justify-content: center;
179
193
  }
180
- ._1m7m2ax {
194
+ ._1m7m2a10 {
181
195
  color: #fff;
182
196
  font-size: 48px;
183
197
  font-weight: 600;
184
198
  letter-spacing: 0.4px;
185
199
  line-height: 1;
186
200
  }
187
- ._1m7m2ay {
201
+ ._1m7m2a11 {
188
202
  color: #f4f4f4;
189
203
  font: 700 150px/1 var(--header-font-family);
190
204
  letter-spacing: 0.2px;
191
205
  line-height: 1;
192
206
  }
193
- ._1m7m2az {
207
+ ._1m7m2a12 {
194
208
  color: var(--_1073cm8k);
195
209
  font-size: 37px;
196
210
  font-weight: 600;
197
211
  letter-spacing: 0.3px;
198
212
  line-height: 1;
199
213
  }
200
- ._1m7m2a10 > p {
214
+ ._1m7m2a13 > p {
201
215
  white-space: break-spaces;
202
216
  }
203
217
  main > div:nth-last-child(2) > ._1m7m2a0 {
204
218
  margin-bottom: 3.5rem;
205
219
  }
206
- ._1m7m2a12 {
220
+ ._1m7m2a15 {
221
+ justify-content: flex-start;
222
+ align-items: flex-start;
223
+ padding: 0 1.5rem 1.5rem 0;
224
+ }
225
+ ._1m7m2a16 {
226
+ justify-content: center;
227
+ align-items: flex-start;
228
+ padding: 0 1.5rem 1.5rem 1.5rem;
229
+ }
230
+ ._1m7m2a17 {
231
+ justify-content: flex-end;
232
+ align-items: flex-start;
233
+ padding: 0 0 1.5rem 1.5rem;
234
+ }
235
+ ._1m7m2a18 {
236
+ justify-content: flex-start;
237
+ align-items: center;
238
+ padding: 1.5rem 1.5rem 1.5rem 0;
239
+ }
240
+ ._1m7m2a19 {
241
+ justify-content: flex-end;
242
+ align-items: center;
243
+ padding: 1.5rem 0 1.5rem 1.5rem;
244
+ }
245
+ ._1m7m2a1a {
246
+ justify-content: center;
247
+ align-items: center;
248
+ padding: 1.5rem;
249
+ }
250
+ ._1m7m2a1b {
251
+ justify-content: flex-start;
252
+ align-items: flex-end;
253
+ padding: 1.5rem 1.5rem 0 0;
254
+ }
255
+ ._1m7m2a1c {
256
+ justify-content: flex-end;
257
+ align-items: flex-end;
258
+ padding: 1.5rem 0 0 1.5rem;
259
+ }
260
+ ._1m7m2a1d {
261
+ justify-content: center;
262
+ align-items: flex-end;
263
+ padding: 1.5rem 1.5rem 0 1.5rem;
264
+ }
265
+ ._1m7m2a1e {
266
+ padding: 0 !important;
267
+ }
268
+ .stacked {
269
+ gap: 56px;
270
+ }
271
+ .stacked > .billboard {
272
+ grid-column: 1;
273
+ }
274
+ .stacked ._1m7m2ao {
275
+ height: auto;
276
+ }
277
+ .section_spacer:has(._1m7m2ax._1m7m2a1) {
278
+ background: var(--_1073cm81);
279
+ }
280
+ .section_spacer:has(._1m7m2ax._1m7m2a1) + .section_spacer:has(._1m7m2ax._1m7m2a1) {
281
+ padding-top: 0;
282
+ }
283
+ .section_spacer:has(._1m7m2ax._1m7m2a2) {
284
+ background: var(--_1073cm88);
285
+ }
286
+ .section_spacer:has(._1m7m2ax._1m7m2a2) + .section_spacer:has(._1m7m2ax._1m7m2a2) {
287
+ padding-top: 0;
288
+ }
289
+ .section_spacer:has(._1m7m2ax._1m7m2a3) {
290
+ background: var(--_1073cm8f);
291
+ }
292
+ .section_spacer:has(._1m7m2ax._1m7m2a3) + .section_spacer:has(._1m7m2ax._1m7m2a3) {
293
+ padding-top: 0;
294
+ }
295
+ .section_spacer:has(._1m7m2ax._1m7m2a4) {
296
+ background: var(--_1073cm8m);
297
+ }
298
+ .section_spacer:has(._1m7m2ax._1m7m2a4) + .section_spacer:has(._1m7m2ax._1m7m2a4) {
299
+ padding-top: 0;
300
+ }
301
+ .section_spacer:has(.stacked) {
302
+ padding-bottom: 40px;
303
+ }
304
+ .section_spacer:has(> ._1m7m2ax) {
305
+ padding-block: 56px;
306
+ }
307
+ .section_spacer:has(> ._1m7m2ax) + .section_spacer:has(> ._1m7m2ax) {
308
+ margin-top: 0;
309
+ }
310
+ .section_spacer:has(._1m7m2ax) ._1m7m2an {
311
+ margin-top: 1.7rem;
312
+ }
313
+ ._1m7m2a1f {
207
314
  position: fixed;
208
315
  inset: 0;
209
316
  align-items: center;
@@ -216,27 +323,27 @@ main > div:nth-last-child(2) > ._1m7m2a0 {
216
323
  overflow-y: auto;
217
324
  box-sizing: border-box;
218
325
  }
219
- ._1m7m2a13 {
326
+ ._1m7m2a1g {
220
327
  width: min(1214px, 100%);
221
328
  }
222
- ._1m7m2a13 .billboard {
329
+ ._1m7m2a1g .billboard {
223
330
  animation: fadeIn 0.3s ease-in-out;
224
331
  box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
225
332
  gap: 1.5rem;
226
333
  max-width: 1150px;
227
334
  position: relative;
228
335
  }
229
- ._1m7m2a13 ._1m7m2au {
336
+ ._1m7m2a1g ._1m7m2av {
230
337
  border-radius: 1rem;
231
338
  overflow: hidden;
232
339
  }
233
- ._1m7m2a13 ._1m7m2an {
340
+ ._1m7m2a1g ._1m7m2ao {
234
341
  padding: 0;
235
342
  }
236
- ._1m7m2a13 ._1m7m2aj img {
343
+ ._1m7m2a1g ._1m7m2aj img {
237
344
  object-fit: none;
238
345
  }
239
- ._1m7m2a14 {
346
+ ._1m7m2a1h {
240
347
  position: absolute;
241
348
  top: 0.9rem;
242
349
  right: 2.85rem;
@@ -252,7 +359,7 @@ main > div:nth-last-child(2) > ._1m7m2a0 {
252
359
  padding: 5px 9px;
253
360
  z-index: 2;
254
361
  }
255
- ._1m7m2a14:focus {
362
+ ._1m7m2a1h:focus {
256
363
  outline: 2px solid #fAA74A;
257
364
  outline-offset: 2px;
258
365
  }
@@ -272,119 +379,178 @@ main > div:nth-last-child(2) > ._1m7m2a0 {
272
379
  ._1m7m2ai > * {
273
380
  max-width: 100%;
274
381
  }
275
- ._1m7m2al {
382
+ ._1m7m2am {
276
383
  display: flex;
277
384
  flex-direction: column;
278
385
  }
279
- ._1m7m2an {
386
+ ._1m7m2ao {
280
387
  max-width: 100%;
281
388
  }
282
- ._1m7m2a12 {
389
+ ._1m7m2a1f {
283
390
  display: block;
284
391
  padding-top: 85px;
285
392
  padding-bottom: 1rem;
286
393
  }
287
394
  }
288
395
  @media screen and (max-width:475px) {
289
- ._1m7m2am {
396
+ ._1m7m2an {
290
397
  flex-direction: column;
291
398
  gap: 24px;
292
399
  align-items: center;
293
400
  }
294
401
  }
295
402
  @media screen and (max-width: 1023px) {
296
- ._1m7m2au {
403
+ ._1m7m2av {
297
404
  min-height: 275px;
298
405
  }
299
- ._18ygy9m5 ._1m7m2au {
406
+ ._1m7m2ax ._1m7m2aj {
407
+ justify-content: center;
408
+ }
409
+ ._1m7m2ax ._1m7m2ao {
410
+ text-align: center;
411
+ padding-inline: 14px;
412
+ }
413
+ ._1m7m2ax:not(.reversed) ._1m7m2ao {
414
+ padding-bottom: 0;
415
+ }
416
+ ._1m7m2ax ._1m7m2ao :is(ul,ol) {
417
+ text-align: left;
418
+ }
419
+ ._18ygy9m5 ._1m7m2av {
300
420
  min-height: 275px;
301
421
  }
302
- ._1m7m2ax {
422
+ ._1m7m2a10 {
303
423
  font-size: 30px;
304
424
  }
305
- ._1m7m2ay {
425
+ ._1m7m2a11 {
306
426
  font-size: 82px;
307
427
  }
308
- ._1m7m2az {
428
+ ._1m7m2a12 {
309
429
  font-size: 20px;
310
430
  }
311
431
  main > div:nth-last-child(2) > ._1m7m2a0 {
312
432
  margin-bottom: 42px;
313
433
  }
314
- ._1m7m2a13 {
434
+ ._1m7m2a1e {
435
+ width: auto;
436
+ }
437
+ ._1m7m2a1g {
315
438
  width: min(592px, 100%);
316
439
  margin-inline: auto;
317
440
  }
318
- ._1m7m2a13 .billboard {
441
+ ._1m7m2a1g .billboard {
319
442
  padding: 32px;
320
443
  width: min(33rem, calc(100% - 2rem));
321
444
  }
322
- ._1m7m2a13 ._1m7m2aj img {
445
+ ._1m7m2a1g ._1m7m2aj img {
323
446
  object-fit: cover;
324
447
  }
325
- ._1m7m2a14 {
448
+ ._1m7m2a1h {
326
449
  top: 0.9rem;
327
450
  right: 2.85rem;
328
451
  }
329
452
  }
453
+ @media screen and (max-width: 1025px) {
454
+ .stacked {
455
+ gap: 42px;
456
+ }
457
+ .section_spacer:has(> ._1m7m2ax) {
458
+ padding-block: 42px;
459
+ }
460
+ }
330
461
  @media screen and (max-width: 768px) {
331
- ._1m7m2au {
462
+ ._1m7m2av {
332
463
  min-height: 200px;
333
464
  }
334
- ._18ygy9m5 ._1m7m2au {
465
+ ._18ygy9m5 ._1m7m2av {
335
466
  min-height: 200px;
336
467
  }
337
468
  main > div:nth-last-child(2) > ._1m7m2a0 {
338
469
  margin-bottom: 2rem;
339
470
  }
471
+ .stacked {
472
+ gap: 2rem;
473
+ }
474
+ .section_spacer:has(> ._1m7m2ax) {
475
+ padding-block: 2rem;
476
+ }
340
477
  }
341
478
  @media screen and (max-width: 327px) {
342
- ._1m7m2au {
479
+ ._1m7m2av {
343
480
  min-height: 160px;
344
481
  }
345
- ._18ygy9m5 ._1m7m2au {
482
+ ._18ygy9m5 ._1m7m2av {
346
483
  min-height: 160px;
347
484
  }
348
485
  }
349
- @media screen and (max-width:432px) {
350
- ._1m7m2a11 {
351
- padding-left: 20px;
486
+ @media screen and (min-width: 768px) {
487
+ .section_spacer:has(._1m7m2ax) ._1m7m2an {
488
+ margin-top: 2.5rem;
352
489
  }
353
490
  }
354
491
  @media screen and (min-width: 1024px) {
355
- ._1m7m2a13 .billboard {
492
+ ._1m7m2ax ._1m7m2ao {
493
+ padding-right: 0;
494
+ }
495
+ ._1m7m2ax.reversed ._1m7m2ao {
496
+ padding-left: 0;
497
+ padding-right: 28px;
498
+ }
499
+ .stacked > .billboard {
500
+ flex-direction: row;
501
+ }
502
+ .stacked > .billboard.reversed {
503
+ flex-direction: row-reverse;
504
+ }
505
+ ._18ygy9m5.stacked ._1m7m2av {
506
+ min-height: 1px !important;
507
+ }
508
+ .section_spacer:has(._1m7m2ax) ._1m7m2an {
509
+ justify-content: flex-start;
510
+ }
511
+ ._1m7m2a1g .billboard {
356
512
  gap: calc(1rem + ((1vw - 10.24px) * 21.875));
357
513
  padding-inline: calc(1.25rem + ((1vw - 10.24px) * 10.9375));
358
514
  padding-block: calc(2rem + ((1vw - 10.24px) * 6.25));
359
515
  }
360
- ._1m7m2a13 h2 {
516
+ ._1m7m2a1g h2 {
361
517
  font-size: 40px;
362
518
  line-height: 1.25;
363
519
  text-wrap: pretty;
364
520
  }
365
- ._1m7m2a13 ._1m7m2an {
521
+ ._1m7m2a1g ._1m7m2ao {
366
522
  max-width: 60%;
367
523
  }
368
- ._1m7m2a13 ._1m7m2aj {
524
+ ._1m7m2a1g ._1m7m2aj {
369
525
  max-width: 40%;
370
526
  }
371
- ._1m7m2a13 ._1m7m2am {
527
+ ._1m7m2a1g ._1m7m2an {
372
528
  justify-content: flex-start;
373
529
  }
374
530
  }
531
+ @media screen and (max-width:432px) {
532
+ ._1m7m2a14 {
533
+ padding-left: 20px;
534
+ }
535
+ }
536
+ @media screen and (min-width: 1280px) {
537
+ .section_spacer:has(._1m7m2ax) ._1m7m2an {
538
+ margin-top: 3rem;
539
+ }
540
+ }
375
541
  @media screen and (min-width: 1281px) {
376
- ._1m7m2a13 .billboard {
542
+ ._1m7m2a1g .billboard {
377
543
  gap: 72px;
378
544
  padding: 48px;
379
545
  }
380
546
  }
381
547
  @media screen and (max-width: 1024px) {
382
- ._1m7m2a13 .billboard:not(.reversed) {
548
+ ._1m7m2a1g .billboard:not(.reversed) {
383
549
  flex-direction: column-reverse;
384
550
  }
385
551
  }
386
552
  @media screen and (max-width: 550px) {
387
- ._1m7m2a14 {
553
+ ._1m7m2a1h {
388
554
  right: 1.65rem;
389
555
  }
390
556
  }
@@ -52,7 +52,6 @@
52
52
  }
53
53
  ._18ygy9mb {
54
54
  margin-inline: auto;
55
- max-width: 1000px;
56
55
  padding-block: 2.5rem;
57
56
  }
58
57
  :is(._18ygy9m5, ._18ygy9m6) .containment {
@@ -1,4 +1,4 @@
1
- @keyframes _shimmer_ib32l_1 {
1
+ @keyframes _shimmer_pwl74_1 {
2
2
  from {
3
3
  transform: translateX(-100%);
4
4
  }
@@ -7,14 +7,13 @@
7
7
  }
8
8
  }
9
9
 
10
- ._loader_ib32l_10 {
11
- position: absolute;
10
+ ._loader_pwl74_10 {
12
11
  height: 100%;
13
12
  width: 100%;
14
13
  inset: 0;
15
14
  }
16
15
 
17
- ._loading_ib32l_17 {
16
+ ._loading_pwl74_16 {
18
17
  position: relative;
19
18
  width: 100%;
20
19
  height: 100%;
@@ -22,15 +21,15 @@
22
21
  background: #1e3860;
23
22
  }
24
23
 
25
- ._1es6o1h0 ._loading_ib32l_17 {
26
- background-color: #1e262f;
24
+ ._1es6o1h0 ._loading_pwl74_16 {
25
+ background-color: var(--_1073cm8f);
27
26
  }
28
27
 
29
- .fl2fv50 ._loading_ib32l_17 {
28
+ .fl2fv50 ._loading_pwl74_16 {
30
29
  background-color: #28587d;
31
30
  }
32
31
 
33
- ._loading_ib32l_17::before {
32
+ ._loading_pwl74_16::before {
34
33
  content: "";
35
34
  position: absolute;
36
35
  top: 0;
@@ -43,6 +42,6 @@
43
42
  rgba(255, 255, 255, 0.5) 50%,
44
43
  rgba(255, 255, 255, 0) 80%
45
44
  );
46
- animation: _shimmer_ib32l_1 1.3s infinite linear;
45
+ animation: _shimmer_pwl74_1 1.3s infinite linear;
47
46
  z-index: 1;
48
47
  }
package/dist/main.js CHANGED
@@ -125,7 +125,7 @@ import { default as default26 } from "./icons/Logos/GBLVF.js";
125
125
  import { default as default27 } from "./icons/Logos/LVF.js";
126
126
  import { default as default28 } from "./icons/Logos/LVFText.js";
127
127
  import { ImageBillboardSet } from "./ImageBillboard/ImageBillboard.js";
128
- import { apy_billboard, billboard, billboard_body, billboard_container, billboard_ctas, billboard_header_section, billboard_image, billboard_img, body, body_copy, exit_intent, exit_intent_backdrop, header, imagePlacement, image_background, mh_330, modal_close_button, rate_billboard, rate_container, rate_pad, section_text_ImageBillboard, single_container, sub_bullets, supertag, three_inline, two_inline, up_to } from "./ImageBillboard/ImageBillboard.css.js";
128
+ import { apy_billboard, billboard, billboard_body, billboard_container, billboard_ctas, billboard_header_section, billboard_image, billboard_img, body, body_copy, bottom_center, bottom_left, bottom_right, center_center, center_left, center_right, exit_intent, exit_intent_backdrop, header, imagePlacement, image_background, image_based, image_inner_wrapper, is_bg_img, mh_330, modal_close_button, rate_billboard, rate_container, rate_pad, remove_padding, section_text_ImageBillboard, single_container, sub_bullets, supertag, three_inline, top_center, top_left, top_right, two_inline, up_to } from "./ImageBillboard/ImageBillboard.css.js";
129
129
  import { ImageBillboard } from "./ImageBillboard/ImageBillboardSet.js";
130
130
  import { SetContainer } from "./SetContainer/SetContainer.js";
131
131
  import { imageLinkContainer, inline_container, isolate_container, set_container, set_container_cols, set_logo, setcontainer_section_text } from "./SetContainer/SetContainer.css.js";
@@ -412,6 +412,9 @@ export {
412
412
  bodyHeader,
413
413
  body_copy,
414
414
  body_sign_in,
415
+ bottom_center,
416
+ bottom_left,
417
+ bottom_right,
415
418
  bs_add_details,
416
419
  bs_btns,
417
420
  bs_copy,
@@ -426,6 +429,9 @@ export {
426
429
  calculator_description,
427
430
  calculator_headline,
428
431
  centerSelect,
432
+ center_center,
433
+ center_left,
434
+ center_right,
429
435
  checkbox_group,
430
436
  columnValues,
431
437
  comaprison_content,
@@ -545,6 +551,8 @@ export {
545
551
  imageLinkContainer,
546
552
  imagePlacement,
547
553
  image_background,
554
+ image_based,
555
+ image_inner_wrapper,
548
556
  img_area,
549
557
  img_contents,
550
558
  inline_container,
@@ -561,6 +569,7 @@ export {
561
569
  isAllowedUrl,
562
570
  isEmailLink,
563
571
  isPhoneLink,
572
+ is_bg_img,
564
573
  isolate_container,
565
574
  item,
566
575
  item_bio,
@@ -615,6 +624,7 @@ export {
615
624
  rate_container,
616
625
  rate_pad,
617
626
  rate_table_title,
627
+ remove_padding,
618
628
  resposiveLabel,
619
629
  results_container,
620
630
  reversed,
@@ -679,6 +689,9 @@ export {
679
689
  three_inline,
680
690
  title,
681
691
  toggle_container,
692
+ top_center,
693
+ top_left,
694
+ top_right,
682
695
  topic_columns,
683
696
  topic_container,
684
697
  topic_header,
@@ -3,8 +3,8 @@ import { FC } from 'react';
3
3
  export interface OptimizeImageProps {
4
4
  src: string;
5
5
  alt?: string;
6
- height?: number;
7
- width?: number;
6
+ height?: string | number;
7
+ width?: string | number;
8
8
  className?: string;
9
9
  rootMargin?: string;
10
10
  }
@@ -39,7 +39,7 @@ const OptimizeImage = ({
39
39
  height
40
40
  }
41
41
  )
42
- ] }) : /* @__PURE__ */ jsx("div", { className: css.loader, children: /* @__PURE__ */ jsx("div", { ref: imgRef, className: css.loading, style: { width, height } }) });
42
+ ] }) : /* @__PURE__ */ jsx("div", { className: `${css.loader} ${css.loading}`, children: /* @__PURE__ */ jsx("div", { ref: imgRef, style: { width, height } }) });
43
43
  };
44
44
  export {
45
45
  OptimizeImage
@@ -1,6 +1,6 @@
1
- import '../../assets/utils/optimizeImage/optimizeImage.css.css';const loader = "_loader_ib32l_10";
2
- const loading = "_loading_ib32l_17";
3
- const shimmer = "_shimmer_ib32l_1";
1
+ import '../../assets/utils/optimizeImage/optimizeImage.css.css';const loader = "_loader_pwl74_10";
2
+ const loading = "_loading_pwl74_16";
3
+ const shimmer = "_shimmer_pwl74_1";
4
4
  const css = {
5
5
  loader,
6
6
  loading,
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": "1.0.83",
4
+ "version": "1.0.84",
5
5
  "type": "module",
6
6
  "module": "dist/main.js",
7
7
  "types": "dist/main.d.ts",