@axos-web-dev/shared-components 0.0.1 → 0.0.3

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.
Files changed (151) hide show
  1. package/README.md +45 -4
  2. package/dist/Accordion/Accordion.d.ts +3 -3
  3. package/dist/Accordion/Accordion.d.ts.map +1 -1
  4. package/dist/Accordion/Accordion.js +1 -1
  5. package/dist/AlertBanner/index.d.ts.map +1 -1
  6. package/dist/AlertBanner/index.js +4 -4
  7. package/dist/AlertBanner/index.js.map +1 -1
  8. package/dist/BulletItem/BulletItem.d.ts +1 -1
  9. package/dist/BulletItem/BulletItem.d.ts.map +1 -1
  10. package/dist/BulletItem/BulletItem.js +1 -1
  11. package/dist/Button/Button.css.d.ts +18 -21
  12. package/dist/Button/Button.css.d.ts.map +1 -1
  13. package/dist/Button/index.js +1 -1
  14. package/dist/Button/index.js.map +1 -1
  15. package/dist/Carousel/index.d.ts +2 -2
  16. package/dist/Carousel/index.d.ts.map +1 -1
  17. package/dist/Carousel/index.js +1 -1
  18. package/dist/Chevron/index.d.ts.map +1 -1
  19. package/dist/Chevron/index.js +6 -2
  20. package/dist/Chevron/index.js.map +1 -1
  21. package/dist/CollectInformationAlert/index.js +3 -3
  22. package/dist/CollectInformationAlert/index.js.map +1 -1
  23. package/dist/DownloadTile/index.js +4 -2
  24. package/dist/DownloadTile/index.js.map +1 -1
  25. package/dist/FaqAccordion/index.d.ts +4 -4
  26. package/dist/FaqAccordion/index.d.ts.map +1 -1
  27. package/dist/FaqAccordion/index.js +1 -1
  28. package/dist/FooterDisclosure/FooterDisclosure.d.ts +4 -4
  29. package/dist/FooterDisclosure/FooterDisclosure.d.ts.map +1 -1
  30. package/dist/HeroBanner/HeroBanner.css.d.ts +29 -17
  31. package/dist/HeroBanner/HeroBanner.css.d.ts.map +1 -1
  32. package/dist/HeroBanner/HeroBanner.css.js +12 -18
  33. package/dist/HeroBanner/HeroBanner.css.js.map +1 -1
  34. package/dist/HeroBanner/HeroBanner.interface.d.ts +2 -2
  35. package/dist/HeroBanner/HeroBanner.interface.d.ts.map +1 -1
  36. package/dist/HeroBanner/index.d.ts +1 -2
  37. package/dist/HeroBanner/index.d.ts.map +1 -1
  38. package/dist/HeroBanner/index.js +51 -49
  39. package/dist/HeroBanner/index.js.map +1 -1
  40. package/dist/IconBillboard/IconBillboard.css.d.ts +23 -1
  41. package/dist/IconBillboard/IconBillboard.css.d.ts.map +1 -1
  42. package/dist/IconBillboard/IconBillboard.css.js +8 -2
  43. package/dist/IconBillboard/IconBillboard.css.js.map +1 -1
  44. package/dist/IconBillboard/IconBillboard.interface.d.ts +34 -0
  45. package/dist/IconBillboard/IconBillboard.interface.d.ts.map +1 -0
  46. package/dist/IconBillboard/IconBillboard.interface.js +2 -0
  47. package/dist/IconBillboard/IconBillboard.interface.js.map +1 -0
  48. package/dist/IconBillboard/index.d.ts +2 -12
  49. package/dist/IconBillboard/index.d.ts.map +1 -1
  50. package/dist/IconBillboard/index.js +72 -25
  51. package/dist/IconBillboard/index.js.map +1 -1
  52. package/dist/ImageBillboard/ImageBillboard.css.d.ts +4 -1
  53. package/dist/ImageBillboard/ImageBillboard.css.d.ts.map +1 -1
  54. package/dist/ImageBillboard/ImageBillboard.css.js +10 -4
  55. package/dist/ImageBillboard/ImageBillboard.css.js.map +1 -1
  56. package/dist/ImageBillboard/index.d.ts.map +1 -1
  57. package/dist/ImageBillboard/index.js +8 -8
  58. package/dist/ImageBillboard/index.js.map +1 -1
  59. package/dist/Input/index.d.ts +1 -1
  60. package/dist/Input/index.d.ts.map +1 -1
  61. package/dist/Modal/Modal.css.js +1 -0
  62. package/dist/Modal/Modal.css.js.map +1 -1
  63. package/dist/Modal/index.js +2 -1
  64. package/dist/Modal/index.js.map +1 -1
  65. package/dist/NavigationMenu/AxosAdvisor/NavBar.module.js +162 -0
  66. package/dist/NavigationMenu/AxosAdvisor/NavBar.module.js.map +1 -0
  67. package/dist/NavigationMenu/AxosAdvisor/SubNavBar.d.ts +2 -0
  68. package/dist/NavigationMenu/AxosAdvisor/SubNavBar.d.ts.map +1 -0
  69. package/dist/NavigationMenu/AxosAdvisor/SubNavBar.js +8 -0
  70. package/dist/NavigationMenu/AxosAdvisor/SubNavBar.js.map +1 -0
  71. package/dist/NavigationMenu/AxosAdvisor/index.d.ts +2 -0
  72. package/dist/NavigationMenu/AxosAdvisor/index.d.ts.map +1 -0
  73. package/dist/NavigationMenu/AxosAdvisor/index.js +409 -0
  74. package/dist/NavigationMenu/AxosAdvisor/index.js.map +1 -0
  75. package/dist/NavigationMenu/AxosFiduciary/NavBar.module.js +126 -0
  76. package/dist/NavigationMenu/AxosFiduciary/NavBar.module.js.map +1 -0
  77. package/dist/NavigationMenu/AxosFiduciary/index.d.ts +2 -0
  78. package/dist/NavigationMenu/AxosFiduciary/index.d.ts.map +1 -0
  79. package/dist/NavigationMenu/AxosFiduciary/index.js +131 -0
  80. package/dist/NavigationMenu/AxosFiduciary/index.js.map +1 -0
  81. package/dist/SecondaryFooter/index.d.ts +1 -1
  82. package/dist/SecondaryFooter/index.d.ts.map +1 -1
  83. package/dist/Table/Table.d.ts +4 -4
  84. package/dist/Table/Table.d.ts.map +1 -1
  85. package/dist/assets/Button/Button.css +35 -30
  86. package/dist/assets/DownloadTile/DownloadTile.css +0 -22
  87. package/dist/assets/HeroBanner/HeroBanner.css +91 -93
  88. package/dist/assets/IconBillboard/IconBillboard.css +30 -0
  89. package/dist/assets/ImageBillboard/ImageBillboard.css +12 -1
  90. package/dist/assets/NavigationMenu/AxosAdvisor/NavBar.css.css +579 -0
  91. package/dist/assets/NavigationMenu/AxosFiduciary/NavBar.css.css +419 -0
  92. package/dist/assets/globals.css +29 -2
  93. package/dist/icons/ArrowIcon/index.d.ts +2 -1
  94. package/dist/icons/ArrowIcon/index.d.ts.map +1 -1
  95. package/dist/icons/ArrowIcon/index.js +2 -2
  96. package/dist/icons/ArrowIcon/index.js.map +1 -1
  97. package/dist/icons/CheckCircle.d.ts +1 -1
  98. package/dist/icons/CheckCircle.d.ts.map +1 -1
  99. package/dist/icons/CheckCircleLight.d.ts +1 -1
  100. package/dist/icons/CheckCircleLight.d.ts.map +1 -1
  101. package/dist/icons/CheckIcon/index.d.ts +2 -1
  102. package/dist/icons/CheckIcon/index.d.ts.map +1 -1
  103. package/dist/icons/CheckIcon/index.js +2 -2
  104. package/dist/icons/CheckIcon/index.js.map +1 -1
  105. package/dist/icons/ChevronDown.d.ts +1 -1
  106. package/dist/icons/ChevronDown.d.ts.map +1 -1
  107. package/dist/icons/ChevronUp.d.ts +1 -1
  108. package/dist/icons/ChevronUp.d.ts.map +1 -1
  109. package/dist/icons/CloseIcon/index.d.ts +2 -1
  110. package/dist/icons/CloseIcon/index.d.ts.map +1 -1
  111. package/dist/icons/CloseIcon/index.js +2 -2
  112. package/dist/icons/CloseIcon/index.js.map +1 -1
  113. package/dist/icons/DownloadIcon/DownloadIcon.css.js +0 -1
  114. package/dist/icons/DownloadIcon/DownloadIcon.css.js.map +1 -1
  115. package/dist/icons/DownloadIcon/index.d.ts +2 -1
  116. package/dist/icons/DownloadIcon/index.d.ts.map +1 -1
  117. package/dist/icons/DownloadIcon/index.js +2 -2
  118. package/dist/icons/DownloadIcon/index.js.map +1 -1
  119. package/dist/icons/EqualHousingLender.d.ts +1 -1
  120. package/dist/icons/EqualHousingLender.d.ts.map +1 -1
  121. package/dist/icons/LockIcon/index.d.ts +2 -1
  122. package/dist/icons/LockIcon/index.d.ts.map +1 -1
  123. package/dist/icons/LockIcon/index.js +2 -2
  124. package/dist/icons/LockIcon/index.js.map +1 -1
  125. package/dist/icons/MemberFdicLogo.d.ts +1 -1
  126. package/dist/icons/MemberFdicLogo.d.ts.map +1 -1
  127. package/dist/icons/QuoteIconGrey.d.ts +1 -1
  128. package/dist/icons/QuoteIconGrey.d.ts.map +1 -1
  129. package/dist/icons/QuoteIconWhite.d.ts +1 -1
  130. package/dist/icons/QuoteIconWhite.d.ts.map +1 -1
  131. package/dist/icons/QuoteIconYellow.d.ts +1 -1
  132. package/dist/icons/QuoteIconYellow.d.ts.map +1 -1
  133. package/dist/icons/WarningIcon/index.d.ts +2 -1
  134. package/dist/icons/WarningIcon/index.d.ts.map +1 -1
  135. package/dist/icons/WarningIcon/index.js +3 -2
  136. package/dist/icons/WarningIcon/index.js.map +1 -1
  137. package/dist/icons/index.d.ts +6 -5
  138. package/dist/icons/index.d.ts.map +1 -1
  139. package/dist/icons/index.js +30 -28
  140. package/dist/icons/index.js.map +1 -1
  141. package/dist/main.d.ts +2 -0
  142. package/dist/main.d.ts.map +1 -1
  143. package/dist/main.js +6 -0
  144. package/dist/main.js.map +1 -1
  145. package/dist/types/declaration.d.js +2 -0
  146. package/dist/types/declaration.d.js.map +1 -0
  147. package/dist/utils/getVariant.d.ts +2 -2
  148. package/dist/utils/getVariant.d.ts.map +1 -1
  149. package/dist/utils/getVariant.js +11 -23
  150. package/dist/utils/getVariant.js.map +1 -1
  151. package/package.json +95 -91
@@ -1,14 +1,14 @@
1
1
  import { ChevronProps } from '../Chevron/Chevron.interface';
2
- import { PrimaryAndTertiaryTypes } from '../utils/variant.types';
3
2
  import { ReactNode } from "react";
4
3
  export interface ImageInterface {
5
4
  src: string;
6
5
  alt?: string;
7
6
  }
8
7
  export interface HeroBannerInterface {
8
+ id?: string;
9
9
  bannerType?: "Hero" | "Logout";
10
10
  className?: string;
11
- variant: PrimaryAndTertiaryTypes;
11
+ variant: string;
12
12
  eyebrow: string | ReactNode;
13
13
  headline: string | ReactNode;
14
14
  bodyCopy: string | ReactNode;
@@ -1 +1 @@
1
- {"version":3,"file":"HeroBanner.interface.d.ts","sourceRoot":"","sources":["../../lib/HeroBanner/HeroBanner.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAC9D,OAAO,EAAE,uBAAuB,EAAE,MAAM,0BAA0B,CAAC;AACnE,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAElC,MAAM,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,3 @@
1
- import { FC } from "react";
2
1
  import { HeroBannerInterface } from "./HeroBanner.interface";
3
- export declare const HeroBanner: FC<HeroBannerInterface>;
2
+ export declare const HeroBanner: ({ id, eyebrow, headline, bodyCopy, callToActionRow, bannerType, image, imagePlacement, variant, }: HeroBannerInterface) => import("react/jsx-runtime").JSX.Element;
4
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../lib/HeroBanner/index.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAa3B,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAE7D,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,mBAAmB,CA2E9C,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../lib/HeroBanner/index.tsx"],"names":[],"mappings":"AAeA,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAE7D,eAAO,MAAM,UAAU,sGAUpB,mBAAmB,4CAkErB,CAAC"}
@@ -1,10 +1,10 @@
1
- import { jsx, jsxs } from "react/jsx-runtime";
1
+ import { jsx, jsxs, Fragment } from "react/jsx-runtime";
2
2
  import { Button } from "../Button/index.js";
3
3
  import { Chevron } from "../Chevron/index.js";
4
4
  import { getVariant } from "../utils/getVariant.js";
5
- import clsx from "clsx";
6
- import { hero_banner, mobile_shift, reversed, hero_content, hero_text, eyebrow_tag, headline_hero, hero_body, hero_btns, hero_img } from "./HeroBanner.css.js";
5
+ import { logout, hero_banner, hero_content, reversed, hero_text, supertag, headline_text, hero_btns, hero_img } from "./HeroBanner.css.js";
7
6
  const HeroBanner = ({
7
+ id,
8
8
  eyebrow,
9
9
  headline,
10
10
  bodyCopy,
@@ -17,59 +17,61 @@ const HeroBanner = ({
17
17
  return /* @__PURE__ */ jsx(
18
18
  "section",
19
19
  {
20
- className: clsx(
21
- bannerType !== "Hero" ? "logout" : null,
22
- hero_banner({ variant: getVariant(variant) })
23
- ),
24
- children: /* @__PURE__ */ jsx("div", { className: `containment ${mobile_shift}`, children: /* @__PURE__ */ jsxs(
20
+ className: `${bannerType !== "Hero" ? logout : ""}
21
+ ${hero_banner({ variant: getVariant(variant) })}`,
22
+ children: /* @__PURE__ */ jsx("div", { className: "containment", children: /* @__PURE__ */ jsxs(
25
23
  "div",
26
24
  {
27
- className: clsx(
28
- imagePlacement !== "Right" ? reversed : null,
29
- `${hero_content}`
30
- ),
25
+ className: `${hero_content} ${imagePlacement !== "Right" ? reversed : ""}`,
31
26
  children: [
32
- /* @__PURE__ */ jsxs("div", { className: `${hero_text}`, children: [
33
- eyebrow && /* @__PURE__ */ jsx(
34
- "span",
35
- {
36
- className: `supertag ${eyebrow_tag({ variant: getVariant(variant) })}`,
37
- children: eyebrow
38
- }
39
- ),
40
- /* @__PURE__ */ jsx(
41
- "h1",
42
- {
43
- className: `header_1 ${headline_hero({ variant: getVariant(variant) })}`,
44
- children: headline
45
- }
46
- ),
47
- /* @__PURE__ */ jsx("div", { className: `${hero_body}`, children: bodyCopy })
48
- ] }),
49
- callToActionRow && /* @__PURE__ */ jsx("div", { className: `${hero_btns}`, children: callToActionRow.map(
50
- ({
51
- id,
52
- variant: variant2,
53
- displayText,
54
- targetUrl,
55
- type
56
- }) => type === "Button" ? /* @__PURE__ */ jsx(
57
- Button,
58
- {
27
+ /* @__PURE__ */ jsxs("div", { className: hero_text, children: [
28
+ /* @__PURE__ */ jsx("span", { className: supertag({ variant: getVariant(variant) }), children: eyebrow }),
29
+ /* @__PURE__ */ jsx("h1", { className: headline_text({ variant: getVariant(variant) }), children: headline }),
30
+ /* @__PURE__ */ jsx(Fragment, { children: bodyCopy }),
31
+ callToActionRow && /* @__PURE__ */ jsx("div", { className: `${hero_btns}`, children: callToActionRow.map(
32
+ ({
33
+ id: id2,
34
+ variant: variant2,
35
+ displayText,
59
36
  targetUrl,
60
- color: variant2,
61
- size: "medium",
62
- rounded: "medium",
63
- children: displayText
64
- },
65
- id
66
- ) : /* @__PURE__ */ jsx(Chevron, { targetUrl, variant: variant2, children: displayText }, id)
67
- ) }),
68
- /* @__PURE__ */ jsx("div", { className: `${hero_img}`, role: "presentation", children: /* @__PURE__ */ jsx("img", { src: image.src, className: "img_fluid", alt: image.alt }) })
37
+ type
38
+ }) => type === "Button" ? /* @__PURE__ */ jsx(
39
+ Button,
40
+ {
41
+ targetUrl,
42
+ color: getVariant(variant2),
43
+ size: "large",
44
+ rounded: "medium",
45
+ children: displayText
46
+ },
47
+ id2
48
+ ) : /* @__PURE__ */ jsx(
49
+ Chevron,
50
+ {
51
+ targetUrl,
52
+ variant: getVariant(variant2),
53
+ children: displayText
54
+ },
55
+ id2
56
+ )
57
+ ) })
58
+ ] }),
59
+ /* @__PURE__ */ jsx("div", { className: hero_img, role: "presentation", children: /* @__PURE__ */ jsx(
60
+ "img",
61
+ {
62
+ decoding: "async",
63
+ "data-nimg": 1,
64
+ className: "img_fluid",
65
+ style: { color: "transparent" },
66
+ src: image.src,
67
+ alt: image.alt
68
+ }
69
+ ) })
69
70
  ]
70
71
  }
71
72
  ) })
72
- }
73
+ },
74
+ id
73
75
  );
74
76
  };
75
77
  export {
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../lib/HeroBanner/index.tsx"],"sourcesContent":["\"use client\";\nimport { Button } from \"@lib/Button\";\nimport { Chevron } from \"@lib/Chevron\";\nimport { ChevronProps } from \"@lib/Chevron/Chevron.interface\";\nimport { getVariant } from \"@lib/utils/getVariant\";\nimport clsx from \"clsx\";\nimport { FC } from \"react\";\nimport {\n eyebrow_tag,\n headline_hero,\n hero_banner,\n hero_body,\n hero_btns,\n hero_content,\n hero_img,\n hero_text,\n mobile_shift,\n reversed,\n} from \"./HeroBanner.css\";\nimport { HeroBannerInterface } from \"./HeroBanner.interface\";\n\nexport const HeroBanner: FC<HeroBannerInterface> = ({\n eyebrow,\n headline,\n bodyCopy,\n callToActionRow,\n bannerType = \"Hero\",\n image,\n imagePlacement = \"Right\",\n variant,\n}) => {\n return (\n <section\n className={clsx(\n bannerType !== \"Hero\" ? \"logout\" : null,\n hero_banner({ variant: getVariant(variant) })\n )}\n >\n <div className={`containment ${mobile_shift}`}>\n <div\n className={clsx(\n imagePlacement !== \"Right\" ? reversed : null,\n `${hero_content}`\n )}\n >\n <div className={`${hero_text}`}>\n {eyebrow && (\n <span\n className={`supertag ${eyebrow_tag({ variant: getVariant(variant) })}`}\n >\n {eyebrow}\n </span>\n )}\n <h1\n className={`header_1 ${headline_hero({ variant: getVariant(variant) })}`}\n >\n {headline}\n </h1>\n <div className={`${hero_body}`}>{bodyCopy}</div>\n </div>\n\n {callToActionRow && (\n <div className={`${hero_btns}`}>\n {callToActionRow.map(\n ({\n id,\n variant,\n displayText,\n targetUrl,\n type,\n }: ChevronProps) =>\n type === \"Button\" ? (\n <Button\n key={id}\n targetUrl={targetUrl}\n color={variant}\n size=\"medium\"\n rounded=\"medium\"\n >\n {displayText}\n </Button>\n ) : (\n <Chevron key={id} targetUrl={targetUrl} variant={variant}>\n {displayText}\n </Chevron>\n )\n )}\n </div>\n )}\n <div className={`${hero_img}`} role=\"presentation\">\n <img src={image.src} className=\"img_fluid\" alt={image.alt} />\n </div>\n </div>\n </div>\n </section>\n );\n};\n"],"names":["variant"],"mappings":";;;;;;AAqBO,MAAM,aAAsC,CAAC;AAAA,EAClD;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,aAAa;AAAA,EACb;AAAA,EACA,iBAAiB;AAAA,EACjB;AACF,MAAM;AAEF,SAAA;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,WAAW;AAAA,QACT,eAAe,SAAS,WAAW;AAAA,QACnC,YAAY,EAAE,SAAS,WAAW,OAAO,GAAG;AAAA,MAC9C;AAAA,MAEA,UAAC,oBAAA,OAAA,EAAI,WAAW,eAAe,YAAY,IACzC,UAAA;AAAA,QAAC;AAAA,QAAA;AAAA,UACC,WAAW;AAA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"sourcesContent":["import { Button } from \"@lib/Button\";\nimport { Chevron } from \"@lib/Chevron\";\nimport { ChevronProps } from \"@lib/Chevron/Chevron.interface\";\nimport { getVariant } from \"@lib/utils/getVariant\";\nimport {\n headline_text,\n hero_banner,\n hero_btns,\n hero_content,\n hero_img,\n hero_text,\n logout,\n reversed,\n supertag,\n} from \"./HeroBanner.css\";\nimport { HeroBannerInterface } from \"./HeroBanner.interface\";\n\nexport const HeroBanner = ({\n id,\n eyebrow,\n headline,\n bodyCopy,\n callToActionRow,\n bannerType = \"Hero\",\n image,\n imagePlacement = \"Right\",\n variant,\n}: HeroBannerInterface) => {\n return (\n <section\n key={id}\n className={`${bannerType !== \"Hero\" ? logout : \"\"} \n ${hero_banner({ variant: getVariant(variant) })}`}\n >\n <div className=\"containment\">\n <div\n className={`${hero_content} ${imagePlacement !== \"Right\" ? reversed : \"\"}`}\n >\n <div className={hero_text}>\n <span className={supertag({ variant: getVariant(variant) })}>\n {eyebrow}\n </span>\n <h1 className={headline_text({ variant: getVariant(variant) })}>\n {headline}\n </h1>\n <>{bodyCopy}</>\n {callToActionRow && (\n <div className={`${hero_btns}`}>\n {callToActionRow.map(\n ({\n id,\n variant,\n displayText,\n targetUrl,\n type,\n }: ChevronProps) =>\n type === \"Button\" ? (\n <Button\n key={id}\n targetUrl={targetUrl}\n color={getVariant(variant)}\n size=\"large\"\n rounded=\"medium\"\n >\n {displayText}\n </Button>\n ) : (\n <Chevron\n key={id}\n targetUrl={targetUrl}\n variant={getVariant(variant)}\n >\n {displayText}\n </Chevron>\n )\n )}\n </div>\n )}\n </div>\n <div className={hero_img} role=\"presentation\">\n <img\n decoding=\"async\"\n data-nimg={1}\n className=\"img_fluid\"\n style={{ color: \"transparent\" }}\n src={image.src}\n alt={image.alt}\n />\n </div>\n </div>\n </div>\n </section>\n );\n};\n"],"names":["id","variant"],"mappings":";;;;;AAiBO,MAAM,aAAa,CAAC;AAAA,EACzB;AAAA,EACA;AAAA,EACA;AAAA,EACA;A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AA,EAAI,WAAW,UAAU,MAAK,gBAC7B,UAAA;AAAA,cAAC;AAAA,cAAA;AAAA,gBACC,UAAS;AAAA,gBACT,aAAW;AAAA,gBACX,WAAU;AAAA,gBACV,OAAO,EAAE,OAAO,cAAc;AAAA,gBAC9B,KAAK,MAAM;AAAA,gBACX,KAAK,MAAM;AAAA,cAAA;AAAA,YAAA,GAEf;AAAA,UAAA;AAAA,QAAA;AAAA,MAAA,GAEJ;AAAA,IAAA;AAAA,IA5DK;AAAA,EAAA;AA+DX;"}
@@ -24,7 +24,7 @@ export declare const layout: import("@vanilla-extract/recipes").RuntimeFn<{
24
24
  };
25
25
  };
26
26
  }>;
27
- export declare const icon: string;
27
+ export declare const billboard_icon: string;
28
28
  export declare const header: string;
29
29
  export declare const title: import("@vanilla-extract/recipes").RuntimeFn<{
30
30
  variant: {
@@ -50,6 +50,28 @@ export declare const content: string;
50
50
  export declare const list: string;
51
51
  export declare const listItem: string;
52
52
  export declare const buttons: string;
53
+ export declare const section_text: string;
54
+ export declare const header_section: import("@vanilla-extract/recipes").RuntimeFn<{
55
+ variant: {
56
+ primary: {
57
+ background: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
58
+ backgroundClip: "text";
59
+ WebkitTextFillColor: "transparent";
60
+ };
61
+ secondary: {
62
+ background: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
63
+ backgroundClip: "text";
64
+ WebkitTextFillColor: "transparent";
65
+ };
66
+ tertiary: {
67
+ color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
68
+ };
69
+ quaternary: {
70
+ color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
71
+ };
72
+ };
73
+ }>;
74
+ export declare const section_container: string;
53
75
  export type ContainerVariants = RecipeVariants<typeof container>;
54
76
  export type LayoutVariants = RecipeVariants<typeof layout>;
55
77
  //# sourceMappingURL=IconBillboard.css.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"IconBillboard.css.d.ts","sourceRoot":"","sources":["../../lib/IconBillboard/IconBillboard.css.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAU,MAAM,0BAA0B,CAAC;AAGlE,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;EA2BpB,CAAC;AAEH,eAAO,MAAM,MAAM;;;;;;EAajB,CAAC;AAEH,eAAO,MAAM,IAAI,QAGf,CAAC;AAEH,eAAO,MAAM,MAAM,QAKjB,CAAC;AAEH,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;EA2BhB,CAAC;AAEH,eAAO,MAAM,OAAO,QAIlB,CAAC;AAEH,eAAO,MAAM,IAAI,QAKf,CAAC;AAEH,eAAO,MAAM,QAAQ,QAKnB,CAAC;AAEH,eAAO,MAAM,OAAO,QAelB,CAAC;AAEH,MAAM,MAAM,iBAAiB,GAAG,cAAc,CAAC,OAAO,SAAS,CAAC,CAAC;AACjE,MAAM,MAAM,cAAc,GAAG,cAAc,CAAC,OAAO,MAAM,CAAC,CAAC"}
1
+ {"version":3,"file":"IconBillboard.css.d.ts","sourceRoot":"","sources":["../../lib/IconBillboard/IconBillboard.css.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAU,MAAM,0BAA0B,CAAC;AAGlE,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;EA2BpB,CAAC;AAEH,eAAO,MAAM,MAAM;;;;;;EAajB,CAAC;AAEH,eAAO,MAAM,cAAc,QAGzB,CAAC;AAEH,eAAO,MAAM,MAAM,QAKjB,CAAC;AAEH,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;EA2BhB,CAAC;AAEH,eAAO,MAAM,OAAO,QAIlB,CAAC;AAEH,eAAO,MAAM,IAAI,QAKf,CAAC;AAEH,eAAO,MAAM,QAAQ,QAKnB,CAAC;AAEH,eAAO,MAAM,OAAO,QAelB,CAAC;AAEH,eAAO,MAAM,YAAY,QAKvB,CAAC;AAMH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;EAqBzB,CAAC;AAEH,eAAO,MAAM,iBAAiB,QAI5B,CAAC;AAEH,MAAM,MAAM,iBAAiB,GAAG,cAAc,CAAC,OAAO,SAAS,CAAC,CAAC;AACjE,MAAM,MAAM,cAAc,GAAG,cAAc,CAAC,OAAO,MAAM,CAAC,CAAC"}
@@ -2,22 +2,28 @@
2
2
  import { createRuntimeFn } from "@vanilla-extract/recipes/createRuntimeFn";
3
3
  var container = createRuntimeFn({ defaultClassName: "_1r4ovbu0", variantClassNames: { variant: { primary: "_1r4ovbu1", secondary: "_1r4ovbu2", tertiary: "_1r4ovbu3", quaternary: "_1r4ovbu4" } }, defaultVariants: {}, compoundVariants: [] });
4
4
  var layout = createRuntimeFn({ defaultClassName: "_1r4ovbu5", variantClassNames: { side: { true: "_1r4ovbu6" } }, defaultVariants: {}, compoundVariants: [] });
5
- var icon = "_1r4ovbu7";
5
+ var billboard_icon = "_1r4ovbu7";
6
6
  var header = "_1r4ovbu8";
7
7
  var title = createRuntimeFn({ defaultClassName: "_1r4ovbu9", variantClassNames: { variant: { primary: "_1r4ovbua", secondary: "_1r4ovbub", tertiary: "_1r4ovbuc", quaternary: "_1r4ovbud" } }, defaultVariants: {}, compoundVariants: [] });
8
8
  var content = "_1r4ovbue";
9
9
  var list = "_1r4ovbuf";
10
10
  var listItem = "_1r4ovbug";
11
11
  var buttons = "_1r4ovbuh";
12
+ var section_text = "_1r4ovbui";
13
+ var header_section = createRuntimeFn({ defaultClassName: "_1r4ovbuj", variantClassNames: { variant: { primary: "_1r4ovbuk", secondary: "_1r4ovbul", tertiary: "_1r4ovbum", quaternary: "_1r4ovbun" } }, defaultVariants: {}, compoundVariants: [] });
14
+ var section_container = "_1r4ovbuo";
12
15
  export {
16
+ billboard_icon,
13
17
  buttons,
14
18
  container,
15
19
  content,
16
20
  header,
17
- icon,
21
+ header_section,
18
22
  layout,
19
23
  list,
20
24
  listItem,
25
+ section_container,
26
+ section_text,
21
27
  title
22
28
  };
23
29
  //# sourceMappingURL=IconBillboard.css.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"IconBillboard.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;"}
1
+ {"version":3,"file":"IconBillboard.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;"}
@@ -0,0 +1,34 @@
1
+ import { ChevronProps } from '../Chevron/Chevron.interface';
2
+ import { QuaternaryTypes, SecondaryTypes } from '../utils/variant.types';
3
+ import { ReactNode } from "react";
4
+ export interface IconBillboardSet {
5
+ id: string;
6
+ headline: ReactNode | string;
7
+ variant: QuaternaryTypes;
8
+ bodyCopy: ReactNode | string;
9
+ iconBillboards: IconBillboard[];
10
+ additionalDetails: ReactNode | string;
11
+ side: boolean;
12
+ }
13
+ export interface IconBillboard {
14
+ id?: string;
15
+ icon?: ImageInterface;
16
+ headline?: ReactNode | undefined;
17
+ bodyCopy?: ReactNode | undefined;
18
+ bullets: Bullet[];
19
+ callToActionRow: ChevronProps[];
20
+ }
21
+ export interface Bullet {
22
+ id: string;
23
+ variant: SecondaryTypes;
24
+ icon: {
25
+ src: string;
26
+ altText?: string;
27
+ };
28
+ copy: string | ReactNode;
29
+ }
30
+ export interface ImageInterface {
31
+ src: string;
32
+ alt?: string;
33
+ }
34
+ //# sourceMappingURL=IconBillboard.interface.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IconBillboard.interface.d.ts","sourceRoot":"","sources":["../../lib/IconBillboard/IconBillboard.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAC9D,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC3E,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAElC,MAAM,WAAW,gBAAgB;IAC/B,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,SAAS,GAAG,MAAM,CAAC;IAC7B,OAAO,EAAE,eAAe,CAAC;IACzB,QAAQ,EAAE,SAAS,GAAG,MAAM,CAAC;IAC7B,cAAc,EAAE,aAAa,EAAE,CAAC;IAChC,iBAAiB,EAAE,SAAS,GAAG,MAAM,CAAC;IACtC,IAAI,EAAE,OAAO,CAAC;CACf;AAED,MAAM,WAAW,aAAa;IAC5B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,cAAc,CAAC;IACtB,QAAQ,CAAC,EAAE,SAAS,GAAG,SAAS,CAAC;IACjC,QAAQ,CAAC,EAAE,SAAS,GAAG,SAAS,CAAC;IACjC,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,eAAe,EAAE,YAAY,EAAE,CAAC;CACjC;AAED,MAAM,WAAW,MAAM;IACrB,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,cAAc,CAAC;IACxB,IAAI,EAAE;QACJ,GAAG,EAAE,MAAM,CAAC;QACZ,OAAO,CAAC,EAAE,MAAM,CAAC;KAClB,CAAC;IACF,IAAI,EAAE,MAAM,GAAG,SAAS,CAAC;CAC1B;AAED,MAAM,WAAW,cAAc;IAC7B,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,CAAC,EAAE,MAAM,CAAC;CACd"}
@@ -0,0 +1,2 @@
1
+
2
+ //# sourceMappingURL=IconBillboard.interface.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IconBillboard.interface.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,13 +1,3 @@
1
- import { ReactNode } from "react";
2
- import { ContainerVariants, LayoutVariants } from "./IconBillboard.css";
3
- export interface FocusProps {
4
- icon?: ReactNode;
5
- headline: ReactNode | undefined;
6
- body: ReactNode | undefined;
7
- items: {
8
- id: string;
9
- content: ReactNode;
10
- }[];
11
- }
12
- export declare const IconBillboard: (props: FocusProps & ContainerVariants & LayoutVariants) => import("react/jsx-dev-runtime").JSX.Element;
1
+ import { IconBillboardSet } from "./IconBillboard.interface";
2
+ export declare const IconBillboard: ({ variant, side, iconBillboards, headline, bodyCopy, additionalDetails, }: IconBillboardSet) => import("react/jsx-runtime").JSX.Element;
13
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../lib/IconBillboard/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAElC,OAAO,EACL,iBAAiB,EACjB,cAAc,EASf,MAAM,qBAAqB,CAAC;AAE7B,MAAM,WAAW,UAAU;IACzB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,QAAQ,EAAE,SAAS,GAAG,SAAS,CAAC;IAChC,IAAI,EAAE,SAAS,GAAG,SAAS,CAAC;IAC5B,KAAK,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,SAAS,CAAA;KAAE,EAAE,CAAC;CAC7C;AAED,eAAO,MAAM,aAAa,UACjB,UAAU,GAAG,iBAAiB,GAAG,cAAc,gDAyCvD,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../lib/IconBillboard/index.tsx"],"names":[],"mappings":"AAmBA,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAE7D,eAAO,MAAM,aAAa,8EAOvB,gBAAgB,4CA2FlB,CAAC"}
@@ -1,31 +1,78 @@
1
- import { jsxs, jsx } from "react/jsx-runtime";
1
+ import { jsxs, jsx, Fragment } from "react/jsx-runtime";
2
2
  import { BulletItem } from "../BulletItem/BulletItem.js";
3
+ import { Chevron } from "../Chevron/index.js";
4
+ import { getVariant } from "../utils/getVariant.js";
3
5
  import { Button } from "../Button/index.js";
4
- import { container, layout, icon, content, header, title, list, buttons } from "./IconBillboard.css.js";
5
- const IconBillboard = (props) => {
6
- const { variant, side = false, items, headline, body } = props;
7
- const variantButton = /* @__PURE__ */ new Map([
8
- ["primary", "primary"],
9
- ["secondary", "primary"],
10
- ["tertiary", "secondary"],
11
- ["quaternary", "secondary"],
12
- [void 0, "primary"]
13
- ]);
14
- return /* @__PURE__ */ jsxs("div", { className: container({ variant }), children: [
15
- /* @__PURE__ */ jsxs("div", { className: layout({ side }), children: [
16
- /* @__PURE__ */ jsx("div", { className: icon, children: props.icon }),
17
- /* @__PURE__ */ jsxs("div", { className: content, children: [
18
- /* @__PURE__ */ jsxs("div", { className: header, children: [
19
- /* @__PURE__ */ jsx("div", { className: title({ variant }), children: headline }),
20
- /* @__PURE__ */ jsx("div", { children: body })
21
- ] }),
22
- /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx("ul", { className: list, children: items.map((item) => /* @__PURE__ */ jsx(BulletItem, { children: item.content }, item.id)) }) })
23
- ] })
6
+ import { section_text, header_section, section_container, container, layout, billboard_icon, content, header, title, list, buttons } from "./IconBillboard.css.js";
7
+ const IconBillboard = ({
8
+ variant,
9
+ side = false,
10
+ iconBillboards,
11
+ headline,
12
+ bodyCopy,
13
+ additionalDetails
14
+ }) => {
15
+ const billboard_variant = getVariant(variant);
16
+ return /* @__PURE__ */ jsxs("section", { className: "containment section_spacer", children: [
17
+ (headline || bodyCopy) && /* @__PURE__ */ jsxs("div", { className: section_text, children: [
18
+ headline && /* @__PURE__ */ jsx(
19
+ "h2",
20
+ {
21
+ className: `header_2 ${header_section({ variant: billboard_variant })}`,
22
+ children: headline
23
+ }
24
+ ),
25
+ bodyCopy && /* @__PURE__ */ jsx(Fragment, { children: bodyCopy })
24
26
  ] }),
25
- /* @__PURE__ */ jsxs("div", { className: buttons, children: [
26
- /* @__PURE__ */ jsx(Button, { rounded: "small", size: "large", color: variantButton.get(variant), children: "Lorem ipsum" }),
27
- /* @__PURE__ */ jsx(Button, { color: "tertiary", children: "Lorem ipsum" })
28
- ] })
27
+ /* @__PURE__ */ jsx("div", { className: section_container, children: iconBillboards.map(
28
+ ({ id, icon, headline: headline2, bodyCopy: bodyCopy2, bullets, callToActionRow }) => /* @__PURE__ */ jsxs("div", { className: container({ variant }), children: [
29
+ /* @__PURE__ */ jsxs("div", { className: layout({ side }), children: [
30
+ icon && /* @__PURE__ */ jsx("div", { className: billboard_icon, children: /* @__PURE__ */ jsx(
31
+ "img",
32
+ {
33
+ src: icon.src,
34
+ className: "img_fluid",
35
+ alt: icon.alt
36
+ }
37
+ ) }),
38
+ /* @__PURE__ */ jsxs("div", { className: content, children: [
39
+ /* @__PURE__ */ jsxs("div", { className: header, children: [
40
+ /* @__PURE__ */ jsx("div", { className: title({ variant }), children: headline2 }),
41
+ /* @__PURE__ */ jsx("div", { children: bodyCopy2 })
42
+ ] }),
43
+ /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx("ul", { className: list, children: bullets.map((item) => /* @__PURE__ */ jsx(BulletItem, { children: item.copy }, item.id)) }) })
44
+ ] })
45
+ ] }),
46
+ callToActionRow && /* @__PURE__ */ jsx("div", { className: buttons, children: callToActionRow.map(
47
+ ({
48
+ id: id2,
49
+ variant: variant2,
50
+ displayText,
51
+ targetUrl,
52
+ type
53
+ }) => type === "Button" ? /* @__PURE__ */ jsx(
54
+ Button,
55
+ {
56
+ targetUrl,
57
+ color: getVariant(variant2),
58
+ size: "medium",
59
+ rounded: "medium",
60
+ children: displayText
61
+ },
62
+ id2
63
+ ) : /* @__PURE__ */ jsx(
64
+ Chevron,
65
+ {
66
+ targetUrl,
67
+ variant: getVariant(variant2),
68
+ children: displayText
69
+ },
70
+ id2
71
+ )
72
+ ) })
73
+ ] }, id)
74
+ ) }),
75
+ additionalDetails && /* @__PURE__ */ jsx("div", { className: section_text, children: /* @__PURE__ */ jsx(Fragment, { children: additionalDetails }) })
29
76
  ] });
30
77
  };
31
78
  export {
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../lib/IconBillboard/index.tsx"],"sourcesContent":["\"use client\";\nimport { BulletItem } from \"@lib/BulletItem\";\nimport { ReactNode } from \"react\";\nimport { Button } from \"../Button\";\nimport {\n ContainerVariants,\n LayoutVariants,\n buttons,\n container,\n content,\n header,\n icon,\n layout,\n list,\n title,\n} from \"./IconBillboard.css\";\n\nexport interface FocusProps {\n icon?: ReactNode;\n headline: ReactNode | undefined;\n body: ReactNode | undefined;\n items: { id: string; content: ReactNode }[];\n}\n\nexport const IconBillboard = (\n props: FocusProps & ContainerVariants & LayoutVariants\n) => {\n const { variant, side = false, items, headline, body } = props;\n\n const variantButton = new Map<\n \"primary\" | \"secondary\" | \"tertiary\" | \"quaternary\" | undefined,\n \"primary\" | \"secondary\" | \"tertiary\" | undefined\n >([\n [\"primary\", \"primary\"],\n [\"secondary\", \"primary\"],\n [\"tertiary\", \"secondary\"],\n [\"quaternary\", \"secondary\"],\n [undefined, \"primary\"],\n ]);\n\n return (\n <div className={container({ variant })}>\n <div className={layout({ side })}>\n <div className={icon}>{props.icon}</div>\n <div className={content}>\n <div className={header}>\n <div className={title({ variant })}>{headline}</div>\n <div>{body}</div>\n </div>\n <div>\n <ul className={list}>\n {items.map((item) => (\n <BulletItem key={item.id}>{item.content}</BulletItem>\n ))}\n </ul>\n </div>\n </div>\n </div>\n <div className={buttons}>\n <Button rounded=\"small\" size=\"large\" color={variantButton.get(variant)}>\n Lorem ipsum\n </Button>\n <Button color=\"tertiary\">Lorem ipsum</Button>\n </div>\n </div>\n );\n};\n"],"names":[],"mappings":";;;;AAwBa,MAAA,gBAAgB,CAC3B,UACG;AACH,QAAM,EAAE,SAAS,OAAO,OAAO,OAAO,UAAU,KAAS,IAAA;AAEnD,QAAA,oCAAoB,IAGxB;AAAA,IACA,CAAC,WAAW,SAAS;AAAA,IACrB,CAAC,aAAa,SAAS;AAAA,IACvB,CAAC,YAAY,WAAW;AAAA,IACxB,CAAC,cAAc,WAAW;AAAA,IAC1B,CAAC,QAAW,SAAS;AAAA,EAAA,CACtB;AAED,8BACG,OAAI,EAAA,WAAW,UAAU,EAAE,QAAA,CAAS,GACnC,UAAA;AAAA,IAAA,qBAAC,SAAI,WAAW,OAAO,EAAE,KAAA,CAAM,GAC7B,UAAA;AAAA,MAAA,oBAAC,OAAI,EAAA,WAAW,MAAO,UAAA,MAAM,MAAK;AAAA,MAClC,qBAAC,OAAI,EAAA,WAAW,SACd,UAAA;AAAA,QAAC,qBAAA,OAAA,EAAI,WAAW,QACd,UAAA;AAAA,UAAA,oBAAC,SAAI,WAAW,MAAM,EAAE,SAAS,GAAI,UAAS,UAAA;AAAA,UAC9C,oBAAC,SAAK,UAAK,KAAA,CAAA;AAAA,QAAA,GACb;AAAA,4BACC,OACC,EAAA,UAAA,oBAAC,QAAG,WAAW,MACZ,gBAAM,IAAI,CAAC,SACV,oBAAC,cAA0B,UAAK,KAAA,QAAA,GAAf,KAAK,EAAkB,CACzC,GACH,EACF,CAAA;AAAA,MAAA,GACF;AAAA,IAAA,GACF;AAAA,IACA,qBAAC,OAAI,EAAA,WAAW,SACd,UAAA;AAAA,MAAC,oBAAA,QAAA,EAAO,SAAQ,SAAQ,MAAK,SAAQ,OAAO,cAAc,IAAI,OAAO,GAAG,UAExE,cAAA,CAAA;AAAA,MACC,oBAAA,QAAA,EAAO,OAAM,YAAW,UAAW,eAAA;AAAA,IAAA,GACtC;AAAA,EACF,EAAA,CAAA;AAEJ;"}
1
+ {"version":3,"file":"index.js","sources":["../../lib/IconBillboard/index.tsx"],"sourcesContent":["\"use client\";\nimport { BulletItem } from \"@lib/BulletItem\";\nimport { Chevron } from \"@lib/Chevron\";\nimport { ChevronProps } from \"@lib/Chevron/Chevron.interface\";\nimport { getVariant } from \"@lib/utils/getVariant\";\nimport { Button } from \"../Button\";\nimport {\n billboard_icon,\n buttons,\n container,\n content,\n header,\n header_section,\n layout,\n list,\n section_container,\n section_text,\n title,\n} from \"./IconBillboard.css\";\nimport { IconBillboardSet } from \"./IconBillboard.interface\";\n\nexport const IconBillboard = ({\n variant,\n side = false,\n iconBillboards,\n headline,\n bodyCopy,\n additionalDetails,\n}: IconBillboardSet) => {\n const billboard_variant = getVariant(variant);\n\n return (\n <section className=\"containment section_spacer\">\n {(headline || bodyCopy) && (\n <div className={section_text}>\n {headline && (\n <h2\n className={`header_2 ${header_section({ variant: billboard_variant })}`}\n >\n {headline}\n </h2>\n )}\n\n {bodyCopy && <>{bodyCopy}</>}\n </div>\n )}\n\n <div className={section_container}>\n {iconBillboards.map(\n ({ id, icon, headline, bodyCopy, bullets, callToActionRow }) => (\n <div key={id} className={container({ variant })}>\n <div className={layout({ side })}>\n {icon && (\n <div className={billboard_icon}>\n <img\n src={icon.src}\n className=\"img_fluid\"\n alt={icon.alt}\n ></img>\n </div>\n )}\n <div className={content}>\n <div className={header}>\n <div className={title({ variant })}>{headline}</div>\n <div>{bodyCopy}</div>\n </div>\n <div>\n <ul className={list}>\n {bullets.map((item) => (\n <BulletItem key={item.id}>{item.copy}</BulletItem>\n ))}\n </ul>\n </div>\n </div>\n </div>\n {callToActionRow && (\n <div className={buttons}>\n {callToActionRow.map(\n ({\n id,\n variant,\n displayText,\n targetUrl,\n type,\n }: ChevronProps) =>\n type === \"Button\" ? (\n <Button\n key={id}\n targetUrl={targetUrl}\n color={getVariant(variant)}\n size=\"medium\"\n rounded=\"medium\"\n >\n {displayText}\n </Button>\n ) : (\n <Chevron\n key={id}\n targetUrl={targetUrl}\n variant={getVariant(variant)}\n >\n {displayText}\n </Chevron>\n )\n )}\n </div>\n )}\n </div>\n )\n )}\n </div>\n\n {additionalDetails && (\n <div className={section_text}>\n <>{additionalDetails}</>\n </div>\n )}\n </section>\n );\n};\n"],"names":["headline","bodyCopy","id","variant"],"mappings":";;;;;;AAqBO,MAAM,gBAAgB,CAAC;AAAA,EAC5B;AAAA,EACA,OAAO;AAAA,EACP;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,MAAwB;AAChB,QAAA,oBAAoB,WAAW,OAAO;AAG1C,SAAA,qBAAC,WAAQ,EAAA,WAAU,8BACf,UAAA;AAAA,KAAA,YAAY,aACZ,qBAAC,OAAI,EAAA,WAAW,cACb,UAAA;AAAA,MACC,YAAA;AAAA,QAAC;AAAA,QAAA;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C;AAAA,cACA,OAAO,WAAWA,QAAO;AAAA,cACzB,MAAK;AAAA,cACL,SAAQ;AAAA,cAEP,UAAA;AAAA,YAAA;AAAA,YANID;AAAAA,UAAA,IASP;AAAA,YAAC;AAAA,YAAA;AAAA,cAEC;AAAA,cACA,SAAS,WAAWC,QAAO;AAAA,cAE1B,UAAA;AAAA,YAAA;AAAA,YAJID;AAAAA,UAKP;AAAA,QAAA,GAGR;AAAA,MAAA,EAAA,GAvDM,EAyDV;AAAA,IAAA,GAGN;AAAA,IAEC,qBACE,oBAAA,OAAA,EAAI,WAAW,cACd,UAAA,oBAAA,UAAA,EAAG,6BAAkB,EACvB,CAAA;AAAA,EAEJ,EAAA,CAAA;AAEJ;"}
@@ -64,6 +64,9 @@ export declare const billboard_body: string;
64
64
  export declare const billboard_header_section: string;
65
65
  export declare const billboard_ctas: string;
66
66
  export declare const body: string;
67
- export declare const container: string;
67
+ export declare const single_container: string;
68
+ export declare const inline_container: string;
69
+ export declare const two_inline: string;
70
+ export declare const three_inline: string;
68
71
  export declare const section_text: string;
69
72
  //# sourceMappingURL=ImageBillboard.css.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ImageBillboard.css.d.ts","sourceRoot":"","sources":["../../lib/ImageBillboard/ImageBillboard.css.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;EA6BpB,CAAC;AAEH,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;EAqBnB,CAAC;AAEH,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;EAqBjB,CAAC;AAUH,eAAO,MAAM,mBAAmB,QAAY,CAAC;AAY7C,eAAO,MAAM,aAAa,QAAY,CAAC;AAcvC,eAAO,MAAM,cAAc,QAAY,CAAC;AACxC,eAAO,MAAM,wBAAwB,QAOnC,CAAC;AAEH,eAAO,MAAM,cAAc,QAOzB,CAAC;AAEH,eAAO,MAAM,IAAI,QAEf,CAAC;AAEH,eAAO,MAAM,SAAS,QAGpB,CAAC;AAEH,eAAO,MAAM,YAAY,QAKvB,CAAC"}
1
+ {"version":3,"file":"ImageBillboard.css.d.ts","sourceRoot":"","sources":["../../lib/ImageBillboard/ImageBillboard.css.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;EA6BpB,CAAC;AAEH,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;EAqBnB,CAAC;AAEH,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;EAqBjB,CAAC;AAUH,eAAO,MAAM,mBAAmB,QAAY,CAAC;AAY7C,eAAO,MAAM,aAAa,QAAY,CAAC;AAcvC,eAAO,MAAM,cAAc,QAAY,CAAC;AACxC,eAAO,MAAM,wBAAwB,QAOnC,CAAC;AAEH,eAAO,MAAM,cAAc,QAOzB,CAAC;AAEH,eAAO,MAAM,IAAI,QAEf,CAAC;AAEH,eAAO,MAAM,gBAAgB,QAG3B,CAAC;AAEH,eAAO,MAAM,gBAAgB,QAI3B,CAAC;AAEH,eAAO,MAAM,UAAU,QAErB,CAAC;AAEH,eAAO,MAAM,YAAY,QAEvB,CAAC;AAEH,eAAO,MAAM,YAAY,QAKvB,CAAC"}
@@ -9,8 +9,11 @@ var billboard_body = "_1m7m2ah";
9
9
  var billboard_header_section = "_1m7m2ai";
10
10
  var billboard_ctas = "_1m7m2aj";
11
11
  var body = "_1m7m2ak";
12
- var container = "_1m7m2al";
13
- var section_text = "_1m7m2am";
12
+ var single_container = "_1m7m2al";
13
+ var inline_container = "_1m7m2am";
14
+ var two_inline = "_1m7m2an";
15
+ var three_inline = "_1m7m2ao";
16
+ var section_text = "_1m7m2ap";
14
17
  export {
15
18
  billboard,
16
19
  billboard_body,
@@ -19,9 +22,12 @@ export {
19
22
  billboard_header_section,
20
23
  billboard_img,
21
24
  body,
22
- container,
23
25
  header,
26
+ inline_container,
24
27
  section_text,
25
- supertag
28
+ single_container,
29
+ supertag,
30
+ three_inline,
31
+ two_inline
26
32
  };
27
33
  //# sourceMappingURL=ImageBillboard.css.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ImageBillboard.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;"}
1
+ {"version":3,"file":"ImageBillboard.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../lib/ImageBillboard/index.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAgB3B,OAAO,EAAU,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAEvE,eAAO,MAAM,cAAc,EAAE,EAAE,CAAC,iBAAiB,CAkIhD,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../lib/ImageBillboard/index.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAe3B,OAAO,EAAU,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAEvE,eAAO,MAAM,cAAc,EAAE,EAAE,CAAC,iBAAiB,CAoIhD,CAAC"}
@@ -1,11 +1,11 @@
1
1
  import { jsxs, jsx, Fragment } from "react/jsx-runtime";
2
2
  import { Chevron } from "../Chevron/index.js";
3
+ import "../icons/ArrowIcon/ArrowIcon.css.js";
4
+ import SvgCheckIcon from "../icons/CheckIcon/index.js";
5
+ /* empty css */
3
6
  import { getVariant } from "../utils/getVariant.js";
4
7
  import { Button } from "../Button/index.js";
5
- import { CheckIcon } from "../icons/CheckIcon/index.js";
6
- import "../themes/vars.css.ts.vanilla.css.js";
7
- /* empty css */
8
- import { section_text, header, container, billboard, billboard_container, billboard_img, body, billboard_body, billboard_header_section, supertag, billboard_ctas } from "./ImageBillboard.css.js";
8
+ import { section_text, header, inline_container, billboard, billboard_container, billboard_img, body, billboard_body, billboard_header_section, supertag, billboard_ctas } from "./ImageBillboard.css.js";
9
9
  const ImageBillboard = ({
10
10
  id,
11
11
  variant,
@@ -27,7 +27,7 @@ const ImageBillboard = ({
27
27
  ),
28
28
  bodyCopy && /* @__PURE__ */ jsx(Fragment, { children: bodyCopy })
29
29
  ] }),
30
- /* @__PURE__ */ jsx("div", { className: container, children: imageBillboards.map(
30
+ /* @__PURE__ */ jsx("div", { className: `${inline_container}`, children: imageBillboards.map(
31
31
  ({
32
32
  id: id2,
33
33
  bordered,
@@ -43,7 +43,7 @@ const ImageBillboard = ({
43
43
  {
44
44
  className: `
45
45
  ${billboard({ variant: billboard_variant })} ${inline ? "" : billboard_container}
46
- rounded flex ${inline ? "flex_col" : "flex_row"} ${bordered ? "bordered" : ""} ${imagePlacement.toLowerCase() === "left" ? "reversed" : ""}`,
46
+ rounded flex ${inline ? "flex_col" : "flex_row"} ${bordered ? "bordered" : ""} ${imagePlacement.toLowerCase() === "left" && !inline ? "reversed" : ""}`,
47
47
  children: [
48
48
  /* @__PURE__ */ jsx("div", { className: `${billboard_img} flex`, children: /* @__PURE__ */ jsx("img", { src: image.src, className: "img_fluid", alt: image.alt }) }),
49
49
  /* @__PURE__ */ jsxs("div", { className: body, children: [
@@ -67,7 +67,7 @@ const ImageBillboard = ({
67
67
  /* @__PURE__ */ jsx("div", { className: "push_up", children: bodyCopy2 }),
68
68
  /* @__PURE__ */ jsx("ul", { className: "list_unstyled mb_0 push_up", children: bullets.map(({ id: id3, icon, copy }) => /* @__PURE__ */ jsxs("li", { className: "list_item flex", children: [
69
69
  /* @__PURE__ */ jsx("div", { className: "img_item", children: billboard_variant ? /* @__PURE__ */ jsx(
70
- CheckIcon,
70
+ SvgCheckIcon,
71
71
  {
72
72
  variant: billboard_variant === "primary" || billboard_variant === "secondary" ? "primary" : "secondary"
73
73
  }
@@ -75,7 +75,7 @@ const ImageBillboard = ({
75
75
  /* @__PURE__ */ jsx("span", { children: copy })
76
76
  ] }, id3)) })
77
77
  ] }),
78
- /* @__PURE__ */ jsx(
78
+ callToActionRow && /* @__PURE__ */ jsx(
79
79
  "div",
80
80
  {
81
81
  className: `${billboard_ctas} push_up_24 flex ${inline ? "flex_col" : "flex_row"} gap_24 ${callToActionRow.length > 1 ? "middle" : ""} center`,