@axos-web-dev/shared-components 0.0.13 → 0.0.14

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.
@@ -10,6 +10,7 @@ export interface CallToActionBarInterface {
10
10
  headline: string | ReactNode;
11
11
  bodyCopy: string | ReactNode;
12
12
  callToActionRow: ChevronProps[];
13
+ internalName?: string;
13
14
  }
14
15
  export interface ImageInterface {
15
16
  src: string;
@@ -18,7 +18,8 @@ const CallToActionBar = ({
18
18
  headline,
19
19
  bodyCopy,
20
20
  callToActionRow,
21
- id
21
+ id,
22
+ internalName
22
23
  }) => {
23
24
  const [stickyTop, setstickyTop] = useState(0);
24
25
  const [imageSize, setImageSize] = useState({ width: "0px", height: "0px" });
@@ -60,6 +61,7 @@ const CallToActionBar = ({
60
61
  return /* @__PURE__ */ jsx(
61
62
  "section",
62
63
  {
64
+ id: internalName == null ? void 0 : internalName.replace(/ /g, "-"),
63
65
  className: `${cta} ${getBannerSizeClassName(
64
66
  banner_size,
65
67
  image_overlap
@@ -38,7 +38,9 @@ import "../ImageBillboard/ImageBillboard.css.js";
38
38
  import { chevron_wrapper, chevron } from "./Chevron.css.js";
39
39
  /* empty css */
40
40
  /* empty css */
41
+ import "../NavigationMenu/AxosAdvisor/NavBar.module.js";
41
42
  /* empty css */
43
+ import "../NavigationMenu/AxosFiduciary/NavBar.module.js";
42
44
  /* empty css */
43
45
  import "../Table/Table.css.js";
44
46
  /* empty css */
@@ -36,7 +36,9 @@ import "react-hook-form";
36
36
  import "../ImageBillboard/ImageBillboard.css.js";
37
37
  /* empty css */
38
38
  /* empty css */
39
+ import "../NavigationMenu/AxosAdvisor/NavBar.module.js";
39
40
  /* empty css */
41
+ import "../NavigationMenu/AxosFiduciary/NavBar.module.js";
40
42
  /* empty css */
41
43
  import "../Table/Table.css.js";
42
44
  /* empty css */
@@ -127,3 +127,5 @@ export declare const single_container: string;
127
127
  export declare const two_inline: string;
128
128
  export declare const three_inline: string;
129
129
  export declare const section_text_ImageBillboard: string;
130
+ export declare const billboard_image: string;
131
+ export declare const mh_330: string;
@@ -17,16 +17,20 @@ var single_container = "_1m7m2ao";
17
17
  var two_inline = "_1m7m2ap";
18
18
  var three_inline = "_1m7m2aq";
19
19
  var section_text_ImageBillboard = "_1m7m2ar";
20
+ var billboard_image = "_1m7m2as";
21
+ var mh_330 = "_1m7m2at";
20
22
  export {
21
23
  billboard,
22
24
  billboard_body,
23
25
  billboard_container,
24
26
  billboard_ctas,
25
27
  billboard_header_section,
28
+ billboard_image,
26
29
  billboard_img,
27
30
  body,
28
31
  header,
29
32
  imagePlacement,
33
+ mh_330,
30
34
  section_text_ImageBillboard,
31
35
  single_container,
32
36
  supertag,
@@ -5,13 +5,12 @@ import SvgCheckIcon from "../icons/CheckIcon/index.js";
5
5
  /* empty css */
6
6
  /* empty css */
7
7
  import { getVariant } from "../utils/getVariant.js";
8
- import clsx from "clsx";
9
8
  import { Button } from "../Button/Button.js";
10
9
  import "../Button/Button.css.js";
11
10
  import "react";
12
11
  import "react-use";
13
12
  import { inline_container } from "../SetContainer/SetContainer.css.js";
14
- import { section_text_ImageBillboard, header, billboard, billboard_container, billboard_img, body, billboard_body, billboard_header_section, supertag, billboard_ctas } from "./ImageBillboard.css.js";
13
+ import { section_text_ImageBillboard, header, billboard, billboard_container, body, billboard_body, billboard_header_section, supertag, billboard_ctas } from "./ImageBillboard.css.js";
15
14
  const ImageBillboardSet = ({
16
15
  id,
17
16
  variant,
@@ -51,14 +50,7 @@ const ImageBillboardSet = ({
51
50
  ${billboard({ variant: billboard_variant })} ${inline ? "" : billboard_container}
52
51
  rounded flex ${inline ? "flex_col" : "flex_row"} ${bordered ? "bordered" : ""} ${imagePlacement.toLowerCase() === "left" && !inline ? "reversed" : ""}`,
53
52
  children: [
54
- /* @__PURE__ */ jsx("div", { className: "flex", children: /* @__PURE__ */ jsx(
55
- "img",
56
- {
57
- src: image == null ? void 0 : image.src,
58
- className: clsx("img_fluid", billboard_img),
59
- alt: image.alt
60
- }
61
- ) }),
53
+ /* @__PURE__ */ jsx("div", { "background-image": image.src, "aria-label": image.alt }),
62
54
  /* @__PURE__ */ jsxs("div", { className: body, children: [
63
55
  /* @__PURE__ */ jsxs("div", { className: billboard_body, children: [
64
56
  /* @__PURE__ */ jsxs("div", { className: `${billboard_header_section}`, children: [
@@ -10,7 +10,7 @@ import SvgCheckIcon from "../icons/CheckIcon/index.js";
10
10
  /* empty css */
11
11
  import { getVariant } from "../utils/getVariant.js";
12
12
  import clsx from "clsx";
13
- import { billboard, imagePlacement, billboard_img, body, billboard_body, billboard_header_section, supertag, header, billboard_ctas } from "./ImageBillboard.css.js";
13
+ import { billboard, imagePlacement, billboard_img, billboard_image, mh_330, body, billboard_body, billboard_header_section, supertag, header, billboard_ctas } from "./ImageBillboard.css.js";
14
14
  const ImageBillboard = ({
15
15
  id,
16
16
  variant,
@@ -41,7 +41,14 @@ const ImageBillboard = ({
41
41
  imagePlacement({ position: position == null ? void 0 : position.toLowerCase() })
42
42
  ),
43
43
  children: [
44
- /* @__PURE__ */ jsx("div", { className: `${billboard_img} flex`, children: /* @__PURE__ */ jsx("img", { src: image.src, className: "img_fluid", alt: image.alt }) }),
44
+ /* @__PURE__ */ jsx("div", { className: `${billboard_img} flex`, children: /* @__PURE__ */ jsx(
45
+ "img",
46
+ {
47
+ src: image.src,
48
+ className: `${billboard_image} ${set ? mh_330 : null}`,
49
+ alt: image.alt
50
+ }
51
+ ) }),
45
52
  /* @__PURE__ */ jsxs("div", { className: body, children: [
46
53
  /* @__PURE__ */ jsxs("div", { className: billboard_body, children: [
47
54
  /* @__PURE__ */ jsxs("div", { className: `${billboard_header_section}`, children: [
@@ -71,7 +78,7 @@ const ImageBillboard = ({
71
78
  /* @__PURE__ */ jsx("span", { children: copy })
72
79
  ] }, id2)) })
73
80
  ] }),
74
- callToActionRow && /* @__PURE__ */ jsx(
81
+ callToActionRow.length > 0 && /* @__PURE__ */ jsx(
75
82
  "div",
76
83
  {
77
84
  className: clsx(
@@ -1,5 +1,5 @@
1
1
  import { ImageBillboardSet } from "./ImageBillboard.js";
2
- import { billboard, billboard_body, billboard_container, billboard_ctas, billboard_header_section, billboard_img, body, header, imagePlacement, section_text_ImageBillboard, single_container, supertag, three_inline, two_inline } from "./ImageBillboard.css.js";
2
+ import { billboard, billboard_body, billboard_container, billboard_ctas, billboard_header_section, billboard_image, billboard_img, body, header, imagePlacement, mh_330, section_text_ImageBillboard, single_container, supertag, three_inline, two_inline } from "./ImageBillboard.css.js";
3
3
  import { ImageBillboard } from "./ImageBillboardSet.js";
4
4
  export {
5
5
  ImageBillboard,
@@ -9,10 +9,12 @@ export {
9
9
  billboard_container,
10
10
  billboard_ctas,
11
11
  billboard_header_section,
12
+ billboard_image,
12
13
  billboard_img,
13
14
  body,
14
15
  header,
15
16
  imagePlacement,
17
+ mh_330,
16
18
  section_text_ImageBillboard,
17
19
  single_container,
18
20
  supertag,
@@ -33,7 +33,9 @@ import "react-hook-form";
33
33
  import "../ImageBillboard/ImageBillboard.css.js";
34
34
  import "./contextApi/store.js";
35
35
  /* empty css */
36
+ import "../NavigationMenu/AxosAdvisor/NavBar.module.js";
36
37
  /* empty css */
38
+ import "../NavigationMenu/AxosFiduciary/NavBar.module.js";
37
39
  /* empty css */
38
40
  import "../Table/Table.css.js";
39
41
  /* empty css */
@@ -34,7 +34,9 @@ import "../ImageBillboard/ImageBillboard.css.js";
34
34
  import "../Chevron/Chevron.css.js";
35
35
  /* empty css */
36
36
  /* empty css */
37
+ import "../NavigationMenu/AxosAdvisor/NavBar.module.js";
37
38
  /* empty css */
39
+ import "../NavigationMenu/AxosFiduciary/NavBar.module.js";
38
40
  /* empty css */
39
41
  import "../Table/Table.css.js";
40
42
  /* empty css */
@@ -53,7 +53,7 @@ export declare const TableCell: ({ children, as, variant, highlighted, ...props
53
53
  results?: number | undefined;
54
54
  security?: string | undefined;
55
55
  unselectable?: "on" | "off" | undefined;
56
- inputMode?: "search" | "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
56
+ inputMode?: "search" | "text" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
57
57
  is?: string | undefined;
58
58
  "aria-activedescendant"?: string | undefined;
59
59
  "aria-atomic"?: (boolean | "false" | "true") | undefined;
@@ -67,7 +67,7 @@ export declare const TableCell: ({ children, as, variant, highlighted, ...props
67
67
  "aria-colindextext"?: string | undefined;
68
68
  "aria-colspan"?: number | undefined;
69
69
  "aria-controls"?: string | undefined;
70
- "aria-current"?: boolean | "page" | "false" | "true" | "time" | "step" | "location" | "date" | undefined;
70
+ "aria-current"?: boolean | "time" | "page" | "false" | "true" | "step" | "location" | "date" | undefined;
71
71
  "aria-describedby"?: string | undefined;
72
72
  "aria-description"?: string | undefined;
73
73
  "aria-details"?: string | undefined;
@@ -77,7 +77,7 @@ export declare const TableCell: ({ children, as, variant, highlighted, ...props
77
77
  "aria-expanded"?: (boolean | "false" | "true") | undefined;
78
78
  "aria-flowto"?: string | undefined;
79
79
  "aria-grabbed"?: (boolean | "false" | "true") | undefined;
80
- "aria-haspopup"?: boolean | "grid" | "listbox" | "menu" | "false" | "true" | "dialog" | "tree" | undefined;
80
+ "aria-haspopup"?: boolean | "dialog" | "menu" | "grid" | "listbox" | "false" | "true" | "tree" | undefined;
81
81
  "aria-hidden"?: (boolean | "false" | "true") | undefined;
82
82
  "aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
83
83
  "aria-keyshortcuts"?: string | undefined;
@@ -94,7 +94,7 @@ export declare const TableCell: ({ children, as, variant, highlighted, ...props
94
94
  "aria-posinset"?: number | undefined;
95
95
  "aria-pressed"?: boolean | "mixed" | "false" | "true" | undefined;
96
96
  "aria-readonly"?: (boolean | "false" | "true") | undefined;
97
- "aria-relevant"?: "all" | "text" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
97
+ "aria-relevant"?: "text" | "all" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
98
98
  "aria-required"?: (boolean | "false" | "true") | undefined;
99
99
  "aria-roledescription"?: string | undefined;
100
100
  "aria-rowcount"?: number | undefined;
@@ -28,7 +28,7 @@ const VideoTile = ({
28
28
  return /* @__PURE__ */ jsxs("div", { className: `flex center`, children: [
29
29
  /* @__PURE__ */ jsx(VideoInit, {}),
30
30
  /* @__PURE__ */ jsxs("div", { className: `${video_container} ${w_100} flex flex_col`, children: [
31
- /* @__PURE__ */ jsx("h2", { className: `${mb_8} ${video_title}`, children: title ? title : null }),
31
+ title && /* @__PURE__ */ jsx("h2", { className: `${mb_8} ${video_title}`, children: title }),
32
32
  /* @__PURE__ */ jsx(
33
33
  "div",
34
34
  {
@@ -42,7 +42,6 @@ const VideoTile = ({
42
42
  width: "100%",
43
43
  margin: "auto",
44
44
  display: "block",
45
- maxHeight: "304px",
46
45
  maxWidth
47
46
  },
48
47
  alt: "",
@@ -52,7 +51,7 @@ const VideoTile = ({
52
51
  "data-v": "4",
53
52
  "data-type": videoPlayer,
54
53
  "data-width": maxWidth,
55
- "data-height": "304px"
54
+ "data-height": "331px"
56
55
  }
57
56
  )
58
57
  }
@@ -98,7 +98,7 @@
98
98
  max-width: 1000px;
99
99
  }
100
100
  ._1r4ovbui > p {
101
- margin-top: 24px;
101
+ margin-top: 8px;
102
102
  }
103
103
  ._1r4ovbuk {
104
104
  background: var(--_1073cm84);
@@ -86,20 +86,17 @@
86
86
  max-width: 50%;
87
87
  }
88
88
  ._1m7m2aj {
89
- max-width: 50%;
90
89
  width: 100%;
90
+ height: auto;
91
91
  }
92
92
  ._18ygy9m0 .billboard ._1m7m2aj img {
93
93
  max-height: 300px;
94
94
  }
95
95
  ._1m7m2aj img {
96
96
  vertical-align: middle;
97
- align-self: flex-end;
98
97
  width: 100%;
99
- height: 100%;
100
- min-height: 304px;
98
+ height: auto;
101
99
  object-fit: cover;
102
- aspect-ratio: 1 / 1;
103
100
  }
104
101
  ._1m7m2an {
105
102
  padding: 32px 28px;
@@ -131,6 +128,12 @@
131
128
  ._1m7m2ar > p {
132
129
  margin-top: 24px;
133
130
  }
131
+ ._1m7m2as {
132
+ width: 100%;
133
+ }
134
+ ._1m7m2at {
135
+ min-height: 330px;
136
+ }
134
137
  @media screen and (max-width:1023px) {
135
138
  ._1m7m2a0 {
136
139
  flex-direction: column;
@@ -141,12 +144,6 @@
141
144
  ._1m7m2ai > * {
142
145
  max-width: 100%;
143
146
  }
144
- ._1m7m2aj {
145
- max-width: 100%;
146
- }
147
- ._1m7m2aj img {
148
- width: 100%;
149
- }
150
147
  ._1m7m2al {
151
148
  display: flex;
152
149
  flex-direction: column;
@@ -23,7 +23,7 @@
23
23
  }
24
24
  ._16puo4g4 {
25
25
  max-width: 588px;
26
- min-width: 384px;
26
+ min-width: 327px;
27
27
  grid-column: span 6;
28
28
  height: fit-content;
29
29
  }
@@ -41,16 +41,6 @@
41
41
  right: 0;
42
42
  width: 19px;
43
43
  }
44
- ._16puo4g6 ._16puo4g7:after {
45
- display: inline-block;
46
- transform: scale(1.5);
47
- }
48
- ._16puo4g6[aria-expanded='true'] ._16puo4g7:after {
49
- rotate: -90deg;
50
- }
51
- ._16puo4g6[aria-expanded='false'] ._16puo4g7:after {
52
- rotate: 90deg;
53
- }
54
44
  ._16puo4g8 {
55
45
  padding: 0 16px;
56
46
  }
@@ -62,7 +52,6 @@
62
52
  color: #333D46;
63
53
  }
64
54
  ._16puo4gb {
65
- max-height: 304px;
66
55
  box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
67
56
  }
68
57
  ._16puo4gc {
@@ -170,6 +170,7 @@ h1, h2, h3, h4, h5, h6 {
170
170
  .list_item > img, .list_item > .img_item {
171
171
  margin-right: 10px;
172
172
  position: relative;
173
+ margin-top: 2px;
173
174
  }
174
175
  .btn_link {
175
176
  font-weight: 600;
package/dist/main.js CHANGED
@@ -25,7 +25,7 @@ import { IconBillboard } from "./IconBillboard/IconBillboard.js";
25
25
  import { billboard_icon, buttons, containerIconBillboard, content, headerIconBillboard, header_section, layout, list, listItem, section_container, section_text, title } from "./IconBillboard/IconBillboard.css.js";
26
26
  import { IconBillboardSet } from "./IconBillboard/IconBillboardSet.js";
27
27
  import { ImageBillboardSet } from "./ImageBillboard/ImageBillboard.js";
28
- import { billboard, billboard_body, billboard_container, billboard_ctas, billboard_header_section, billboard_img, body, header, imagePlacement, section_text_ImageBillboard, single_container, supertag, three_inline, two_inline } from "./ImageBillboard/ImageBillboard.css.js";
28
+ import { billboard, billboard_body, billboard_container, billboard_ctas, billboard_header_section, billboard_image, billboard_img, body, header, imagePlacement, mh_330, section_text_ImageBillboard, single_container, supertag, three_inline, two_inline } from "./ImageBillboard/ImageBillboard.css.js";
29
29
  import { ImageBillboard } from "./ImageBillboard/ImageBillboardSet.js";
30
30
  import { Input } from "./Input/index.js";
31
31
  import { MainHTML } from "./MainHTML/index.js";
@@ -114,6 +114,7 @@ export {
114
114
  billboard_ctas,
115
115
  billboard_header_section,
116
116
  billboard_icon,
117
+ billboard_image,
117
118
  billboard_img,
118
119
  body,
119
120
  bodyAccordion,
@@ -160,6 +161,7 @@ export {
160
161
  list,
161
162
  listItem,
162
163
  mb_8,
164
+ mh_330,
163
165
  paragraph,
164
166
  premierTheme,
165
167
  renderSwitch,
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": "0.0.13",
4
+ "version": "0.0.14",
5
5
  "type": "module",
6
6
  "module": "dist/main.js",
7
7
  "types": "dist/main.d.ts",