@axos-web-dev/shared-components 1.0.100-dev.78 → 1.0.100-dev.79

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.
@@ -92,8 +92,6 @@ export declare const contact_entry: import('@vanilla-extract/recipes').RuntimeFn
92
92
  export declare const contacts: string;
93
93
  export declare const headshot: string;
94
94
  export declare const img_area: string;
95
- export declare const media: string;
96
- export declare const person: string;
97
95
  export declare const components: import('@vanilla-extract/recipes').RuntimeFn<{
98
96
  columns: {
99
97
  1: {
@@ -140,6 +138,8 @@ export declare const components: import('@vanilla-extract/recipes').RuntimeFn<{
140
138
  };
141
139
  };
142
140
  }>;
141
+ export declare const media: string;
142
+ export declare const person: string;
143
143
  export declare const shift: string;
144
144
  export declare const bio_section_text: string;
145
145
  export declare const section_theme: import('@vanilla-extract/recipes').RuntimeFn<{
@@ -19,9 +19,9 @@ var contact_entry = createRuntimeFn({ defaultClassName: "txcb8dq", variantClassN
19
19
  var contacts = "txcb8dv";
20
20
  var headshot = "txcb8dw";
21
21
  var img_area = "txcb8dx";
22
- var media = "txcb8dy";
23
- var person = "txcb8dz";
24
- var components = createRuntimeFn({ defaultClassName: "txcb8d10", variantClassNames: { columns: { "1": "txcb8d11", "2": "txcb8d12", "3": "txcb8d13", "4": "txcb8d14" } }, defaultVariants: { columns: 1 }, compoundVariants: [] });
22
+ var components = createRuntimeFn({ defaultClassName: "txcb8dy", variantClassNames: { columns: { "1": "txcb8dz", "2": "txcb8d10", "3": "txcb8d11", "4": "txcb8d12" } }, defaultVariants: { columns: 1 }, compoundVariants: [] });
23
+ var media = "txcb8d13";
24
+ var person = "txcb8d14";
25
25
  var shift = "txcb8d15";
26
26
  var bio_section_text = "txcb8d16";
27
27
  var section_theme = createRuntimeFn({ defaultClassName: "txcb8d17", variantClassNames: { variant: { primary: "txcb8d18", secondary: "txcb8d19", tertiary: "txcb8d1a", quaternary: "txcb8d1b" } }, defaultVariants: {}, compoundVariants: [] });
@@ -9,10 +9,28 @@ export declare const lp_theme: import('@vanilla-extract/recipes').RuntimeFn<{
9
9
  tertiary: {
10
10
  background: `var(--${string})`;
11
11
  };
12
+ quaternary: {
13
+ background: `var(--${string})`;
14
+ };
12
15
  };
13
16
  }>;
14
17
  export declare const lp_container: string;
15
18
  export declare const spb_container: string;
16
19
  export declare const lp_hover: string;
17
20
  export declare const spb_hover: string;
18
- export declare const svg_fill: string;
21
+ export declare const svg_fill: import('@vanilla-extract/recipes').RuntimeFn<{
22
+ variant: {
23
+ primary: {
24
+ fill: `var(--${string})`;
25
+ };
26
+ secondary: {
27
+ fill: `var(--${string})`;
28
+ };
29
+ tertiary: {
30
+ fill: `var(--${string})`;
31
+ };
32
+ quaternary: {
33
+ fill: `var(--${string})`;
34
+ };
35
+ };
36
+ }>;
@@ -4,12 +4,12 @@ import '../assets/LandingPageHeader/LandingPageHeader.css';import '../assets/the
4
4
  /* empty css */
5
5
  /* empty css */
6
6
  import { createRuntimeFn } from "@vanilla-extract/recipes/createRuntimeFn";
7
- var lp_theme = createRuntimeFn({ defaultClassName: "_1o1hxre0", variantClassNames: { variant: { primary: "_1o1hxre1", secondary: "_1o1hxre2", tertiary: "_1o1hxre3" } }, defaultVariants: {}, compoundVariants: [] });
8
- var lp_container = "_1o1hxre4";
9
- var spb_container = "_1o1hxre5";
10
- var lp_hover = "_1o1hxre6";
11
- var spb_hover = "_1o1hxre7";
12
- var svg_fill = "_1o1hxre8";
7
+ var lp_theme = createRuntimeFn({ defaultClassName: "_1o1hxre0", variantClassNames: { variant: { primary: "_1o1hxre1", secondary: "_1o1hxre2", tertiary: "_1o1hxre3", quaternary: "_1o1hxre4" } }, defaultVariants: {}, compoundVariants: [] });
8
+ var lp_container = "_1o1hxre5";
9
+ var spb_container = "_1o1hxre6";
10
+ var lp_hover = "_1o1hxre7";
11
+ var spb_hover = "_1o1hxre8";
12
+ var svg_fill = createRuntimeFn({ defaultClassName: "_1o1hxre9", variantClassNames: { variant: { primary: "_1o1hxrea", secondary: "_1o1hxreb", tertiary: "_1o1hxrec", quaternary: "_1o1hxred" } }, defaultVariants: {}, compoundVariants: [] });
13
13
  export {
14
14
  lp_container,
15
15
  lp_hover,
@@ -1,9 +1,11 @@
1
1
  import { QuaternaryTypes } from '../utils/variant.types';
2
+ import { ImageInterface } from '../main';
2
3
 
3
4
  export interface LandingPageHeaderProps {
4
5
  id: string;
5
6
  variant: QuaternaryTypes;
6
7
  project?: string;
7
8
  alt?: string;
9
+ logo?: ImageInterface;
8
10
  }
9
- export declare const LandingPageHeader: ({ id, variant: fullVariant, project, alt, }: LandingPageHeaderProps) => import("react/jsx-runtime").JSX.Element;
11
+ export declare const LandingPageHeader: ({ id, variant: fullVariant, project, alt, logo, }: LandingPageHeaderProps) => import("react/jsx-runtime").JSX.Element;
@@ -13,28 +13,45 @@ import SvgComponent from "../icons/Logos/AXA.js";
13
13
  import SvgComponent$2 from "../icons/Logos/AXC.js";
14
14
  import SvgComponent$4 from "../icons/Logos/AXI.js";
15
15
  import SvgComponent$5 from "../icons/Logos/AXOS.js";
16
- import SvgComponent$7 from "../icons/Logos/GBLVF.js";
17
- import SvgComponent$6 from "../icons/Logos/LVF.js";
18
- import SvgComponent$8 from "../icons/Logos/SPB.js";
16
+ import SvgComponent$6 from "../icons/Logos/GBLVF.js";
17
+ import SvgComponent$7 from "../icons/Logos/SPB.js";
19
18
  import { getVariant } from "../utils/getVariant.js";
20
- import { lp_theme, spb_container, lp_container, spb_hover, lp_hover, svg_fill } from "./LandingPageHeader.css.js";
19
+ import { svg_fill, lp_theme, spb_container, lp_container, spb_hover, lp_hover } from "./LandingPageHeader.css.js";
21
20
  const LandingPageHeader = ({
22
21
  id,
23
22
  variant: fullVariant = "primary",
24
23
  project = "AXB",
25
- alt
24
+ alt,
25
+ logo
26
26
  }) => {
27
27
  const variant = getVariant(fullVariant);
28
28
  const website = /* @__PURE__ */ new Map([
29
- ["AXA", /* @__PURE__ */ jsx(SvgComponent, { classNameFill: svg_fill, height: 36, width: 120 })],
30
- ["AFS", /* @__PURE__ */ jsx(SvgComponent$1, { classNameFill: svg_fill, height: 36, width: 120 })],
31
- ["AXC", /* @__PURE__ */ jsx(SvgComponent$2, { classNameFill: svg_fill, height: 36, width: 120 })],
32
- ["AAS", /* @__PURE__ */ jsx(SvgComponent$3, { classNameFill: svg_fill, height: 36, width: 120 })],
33
- ["AXI", /* @__PURE__ */ jsx(SvgComponent$4, { classNameFill: svg_fill, height: 36, width: 120 })],
34
- ["AXB", /* @__PURE__ */ jsx(SvgComponent$5, { height: 30, width: 120, classNameFill: svg_fill })],
35
- ["LVF", /* @__PURE__ */ jsx(SvgComponent$6, { height: 30, width: 120, classNameFill: `${svg_fill}` })],
36
- ["GBLVF", /* @__PURE__ */ jsx(SvgComponent$7, { height: 60, width: 220 })],
37
- ["SPB", /* @__PURE__ */ jsx(SvgComponent$8, { height: "100%", width: "100%" })]
29
+ [
30
+ "AXA",
31
+ /* @__PURE__ */ jsx(SvgComponent, { classNameFill: svg_fill({ variant }), height: 36, width: 120 })
32
+ ],
33
+ [
34
+ "AFS",
35
+ /* @__PURE__ */ jsx(SvgComponent$1, { classNameFill: svg_fill({ variant }), height: 36, width: 120 })
36
+ ],
37
+ [
38
+ "AXC",
39
+ /* @__PURE__ */ jsx(SvgComponent$2, { classNameFill: svg_fill({ variant }), height: 36, width: 120 })
40
+ ],
41
+ [
42
+ "AAS",
43
+ /* @__PURE__ */ jsx(SvgComponent$3, { classNameFill: svg_fill({ variant }), height: 36, width: 120 })
44
+ ],
45
+ [
46
+ "AXI",
47
+ /* @__PURE__ */ jsx(SvgComponent$4, { classNameFill: svg_fill({ variant }), height: 36, width: 120 })
48
+ ],
49
+ [
50
+ "AXB",
51
+ /* @__PURE__ */ jsx(SvgComponent$5, { height: 30, width: 120, classNameFill: svg_fill({ variant }) })
52
+ ],
53
+ ["GBLVF", /* @__PURE__ */ jsx(SvgComponent$6, { height: 60, width: 220 })],
54
+ ["SPB", /* @__PURE__ */ jsx(SvgComponent$7, { height: "100%", width: "100%" })]
38
55
  ]);
39
56
  const isSPBPage = project === "SPB";
40
57
  return /* @__PURE__ */ jsx("header", { className: `${lp_theme({ variant })}`, id: `id_${id}`, children: /* @__PURE__ */ jsx(
@@ -46,8 +63,17 @@ const LandingPageHeader = ({
46
63
  {
47
64
  href: project == "AXI" ? "/invest" : "/",
48
65
  className: isSPBPage ? spb_hover : lp_hover,
49
- "aria-label": alt ?? "axos logo, return to homepage",
50
- children: website.get(project)
66
+ "aria-label": alt ?? "return to homepage",
67
+ children: logo ? /* @__PURE__ */ jsx(
68
+ "img",
69
+ {
70
+ src: logo.src,
71
+ alt: logo.alt ?? "",
72
+ height: Number(logo.height),
73
+ width: Number(logo.width),
74
+ className: "img_fluid"
75
+ }
76
+ ) : website.get(project)
51
77
  }
52
78
  )
53
79
  }
@@ -172,32 +172,32 @@
172
172
  width: 100%;
173
173
  }
174
174
  .txcb8dy {
175
- margin-right: 64px;
176
- width: auto;
177
- }
178
- .txcb8d1 .txcb8dy {
179
- margin-right: 0px;
180
- align-self: flex-start;
181
- }
182
- .txcb8d10 {
183
175
  display: grid;
184
176
  gap: 24px;
185
177
  position: relative;
186
178
  margin-inline: auto;
187
179
  }
188
- .txcb8d11 {
180
+ .txcb8dz {
189
181
  grid-template-columns: 1fr;
190
182
  }
191
- .txcb8d12 {
183
+ .txcb8d10 {
192
184
  grid-template-columns: repeat(2, 1fr);
193
185
  width: min(840px, calc(100% - 4rem));
194
186
  }
195
- .txcb8d13 {
187
+ .txcb8d11 {
196
188
  grid-template-columns: repeat(3, 1fr);
197
189
  }
198
- .txcb8d14 {
190
+ .txcb8d12 {
199
191
  grid-template-columns: repeat(4, 1fr);
200
192
  }
193
+ .txcb8d13 {
194
+ margin-right: 64px;
195
+ width: auto;
196
+ }
197
+ .txcb8d1 .txcb8d13 {
198
+ margin-right: 0px;
199
+ align-self: flex-start;
200
+ }
201
201
  .txcb8d1 .txcb8d15 {
202
202
  gap: 16px;
203
203
  height: 100%;
@@ -243,7 +243,7 @@
243
243
  .txcb8d1g {
244
244
  color: var(--_1073cm8q);
245
245
  }
246
- .txcb8d10.containment .containment {
246
+ .txcb8dy.containment .containment {
247
247
  width: 100%;
248
248
  }
249
249
  .txcb8d1h {
@@ -527,13 +527,13 @@ main > div:has(.txcb8d1k) {
527
527
  display: flex;
528
528
  justify-content: center;
529
529
  }
530
- .txcb8dy {
530
+ .txcb8d13 {
531
531
  margin-right: 0px;
532
532
  }
533
- .txcb8dz {
533
+ .txcb8d14 {
534
534
  transform: translateY(1%);
535
535
  }
536
- .txcb8dz p:first-of-type {
536
+ .txcb8d14 p:first-of-type {
537
537
  margin-top: 8px;
538
538
  }
539
539
  .txcb8d15 {
@@ -559,11 +559,11 @@ main > div:has(.txcb8d1k) {
559
559
  }
560
560
  }
561
561
  @media (max-width: 1175px) {
562
- .txcb8d13 {
562
+ .txcb8d11 {
563
563
  grid-template-columns: repeat(2, 1fr);
564
564
  width: min(840px, calc(100% - 4rem));
565
565
  }
566
- .txcb8d14 {
566
+ .txcb8d12 {
567
567
  grid-template-columns: repeat(2, 1fr);
568
568
  width: min(840px, calc(100% - 4rem));
569
569
  }
@@ -630,15 +630,15 @@ main > div:has(.txcb8d1k) {
630
630
  .txcb8dx {
631
631
  width: 200px;
632
632
  }
633
- .txcb8d12 {
633
+ .txcb8d10 {
634
634
  grid-template-columns: 1fr;
635
635
  width: min(350px, calc(100% - 2rem));
636
636
  }
637
- .txcb8d13 {
637
+ .txcb8d11 {
638
638
  grid-template-columns: 1fr;
639
639
  width: min(350px, calc(100% - 2rem));
640
640
  }
641
- .txcb8d14 {
641
+ .txcb8d12 {
642
642
  grid-template-columns: 1fr;
643
643
  width: min(350px, calc(100% - 2rem));
644
644
  }
@@ -667,10 +667,13 @@ main > div:has(.txcb8d1k) {
667
667
  }
668
668
  }
669
669
  @media (min-width: 1176px) {
670
- .txcb8d14 {
670
+ .txcb8d12 {
671
671
  width: min(1000px, 100%);
672
672
  }
673
- .txcb8d14 .txcb8d15 {
673
+ .txcb8d12 .txcb8d13 {
674
+ align-self: center;
675
+ }
676
+ .txcb8d12 .txcb8d15 {
674
677
  flex-direction: column;
675
678
  }
676
679
  }
@@ -2,56 +2,69 @@
2
2
  background: var(--_1073cm81);
3
3
  }
4
4
  ._1o1hxre2 {
5
- background: var(--_1073cm81);
5
+ background: var(--_1073cm88);
6
6
  }
7
7
  ._1o1hxre3 {
8
- background: var(--_1073cm81);
8
+ background: var(--_1073cm8f);
9
9
  }
10
10
  ._1o1hxre4 {
11
- padding: 0 24px;
12
- min-height: 59px;
11
+ background: var(--_1073cm8m);
13
12
  }
14
13
  ._1o1hxre5 {
15
- padding: 32px 24px;
14
+ padding: 7px 24px;
16
15
  min-height: 59px;
17
16
  }
18
17
  ._1o1hxre6 {
18
+ padding: 32px 24px;
19
+ min-height: 59px;
20
+ }
21
+ ._1o1hxre7 {
19
22
  transition: opacity 0.35s ease;
23
+ display: flex;
20
24
  }
21
- ._1o1hxre6:hover {
25
+ ._1o1hxre7:hover {
22
26
  opacity: 0.6;
23
27
  }
24
- ._1o1hxre6:active {
28
+ ._1o1hxre7:active {
25
29
  opacity: 1;
26
30
  }
27
- ._1o1hxre7 {
31
+ ._1o1hxre8 {
28
32
  transition: opacity 0.35s ease;
29
33
  width: 568px;
30
34
  height: 78px;
31
35
  }
32
- ._1o1hxre7:hover {
36
+ ._1o1hxre8:hover {
33
37
  opacity: 0.6;
34
38
  }
35
- ._1o1hxre7:active {
39
+ ._1o1hxre8:active {
36
40
  opacity: 1;
37
41
  }
38
- ._1o1hxre8 {
42
+ ._1o1hxrea {
39
43
  fill: var(--_1073cm85);
40
44
  }
45
+ ._1o1hxreb {
46
+ fill: var(--_1073cm8c);
47
+ }
48
+ ._1o1hxrec {
49
+ fill: var(--_1073cm8j);
50
+ }
51
+ ._1o1hxred {
52
+ fill: var(--_1073cm8q);
53
+ }
41
54
  @media screen and (max-width: 1023px) {
42
- ._1o1hxre5 {
55
+ ._1o1hxre6 {
43
56
  padding: 28px 24px;
44
57
  }
45
- ._1o1hxre7 {
58
+ ._1o1hxre8 {
46
59
  width: 454px;
47
60
  height: 62px;
48
61
  }
49
62
  }
50
63
  @media screen and (max-width: 768px) {
51
- ._1o1hxre5 {
64
+ ._1o1hxre6 {
52
65
  padding: 24px 24px;
53
66
  }
54
- ._1o1hxre7 {
67
+ ._1o1hxre8 {
55
68
  width: 340px;
56
69
  height: 46px;
57
70
  }
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.100-dev.78",
4
+ "version": "1.0.100-dev.79",
5
5
  "type": "module",
6
6
  "module": "dist/main.js",
7
7
  "types": "dist/main.d.ts",