@axos-web-dev/shared-components 1.0.4 → 1.0.5

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.
@@ -30,7 +30,8 @@ const Article = ({
30
30
  decoding: "async",
31
31
  "data-nimg": 1,
32
32
  src: `${image?.src}?q=85`,
33
- alt: image?.alt ?? ""
33
+ alt: image?.alt ?? "",
34
+ loading: "lazy"
34
35
  }
35
36
  )
36
37
  ] }) }),
@@ -784,17 +784,7 @@ function SubNavBar() {
784
784
  {
785
785
  className: `${styles.headline} flex_row middle between`,
786
786
  children: [
787
- /* @__PURE__ */ jsx(
788
- Link,
789
- {
790
- role: "heading",
791
- "aria-label": "visit the personal banking homepage to learn more about available product offerings",
792
- href: findMoreAxosDomains(
793
- "{AXOSBANK}/personal/bank"
794
- ),
795
- children: "Take your money further, faster"
796
- }
797
- ),
787
+ /* @__PURE__ */ jsx("span", { role: "heading", children: "Take your money further, faster" }),
798
788
  /* @__PURE__ */ jsxs("span", { className: "flex_row middle ml_24 w_auto", children: [
799
789
  /* @__PURE__ */ jsx(
800
790
  Image,
@@ -1162,17 +1152,7 @@ function SubNavBar() {
1162
1152
  {
1163
1153
  className: `${styles.headline} flex_row middle between`,
1164
1154
  children: [
1165
- /* @__PURE__ */ jsx(
1166
- Link,
1167
- {
1168
- href: findMoreAxosDomains(
1169
- "{AXOSBANK}/personal/borrow"
1170
- ),
1171
- "aria-label": "visit personal borrowing webpage to learn more about available loan options",
1172
- role: "heading",
1173
- children: "Great rates on home loans"
1174
- }
1175
- ),
1155
+ /* @__PURE__ */ jsx("span", { role: "heading", children: "Great rates on home loans" }),
1176
1156
  /* @__PURE__ */ jsxs("span", { className: "flex_row middle ml_24 w_auto", children: [
1177
1157
  /* @__PURE__ */ jsx(
1178
1158
  Image,
@@ -1535,15 +1515,7 @@ function SubNavBar() {
1535
1515
  {
1536
1516
  className: `${styles.headline} flex_row middle between`,
1537
1517
  children: [
1538
- /* @__PURE__ */ jsx(
1539
- Link,
1540
- {
1541
- href: findMoreAxosDomains("{AXOS}/invest"),
1542
- role: "heading",
1543
- "aria-label": "visit the axos invest homepage to learn more about available investing options",
1544
- children: "Quickly discover and compare mutual funds and ETFs"
1545
- }
1546
- ),
1518
+ /* @__PURE__ */ jsx("span", { role: "heading", children: "Quickly discover and compare mutual funds and ETFs" }),
1547
1519
  /* @__PURE__ */ jsxs("span", { className: "flex_row middle ml_24 w_auto", children: [
1548
1520
  /* @__PURE__ */ jsx(
1549
1521
  Image,
@@ -1818,17 +1790,7 @@ function SubNavBar() {
1818
1790
  {
1819
1791
  className: `${styles.headline} flex_row middle between`,
1820
1792
  children: [
1821
- /* @__PURE__ */ jsx(
1822
- Link,
1823
- {
1824
- href: findMoreAxosDomains(
1825
- "{AXOSBANK}/personal/plan"
1826
- ),
1827
- role: "heading",
1828
- "aria-label": "visit the personal financial planning homepage to learn more about available financial planning tools",
1829
- children: "Plan your next move"
1830
- }
1831
- ),
1793
+ /* @__PURE__ */ jsx("span", { role: "heading", children: "Plan your next move" }),
1832
1794
  /* @__PURE__ */ jsxs("span", { className: "flex_row middle ml_24 w_auto", children: [
1833
1795
  /* @__PURE__ */ jsx(
1834
1796
  Image,
@@ -2095,15 +2057,7 @@ function SubNavBar() {
2095
2057
  {
2096
2058
  className: `${styles.headline} flex_row middle between`,
2097
2059
  children: [
2098
- /* @__PURE__ */ jsx(
2099
- Link,
2100
- {
2101
- href: findMoreAxosDomains("{AXOSBANK}/business"),
2102
- "aria-label": "visit the business banking homepage to learn more about available product offerings for your small business",
2103
- role: "heading",
2104
- children: "Move your business forward"
2105
- }
2106
- ),
2060
+ /* @__PURE__ */ jsx("span", { role: "heading", children: "Move your business forward" }),
2107
2061
  /* @__PURE__ */ jsxs("span", { className: "flex_row middle ml_24 w_auto", children: [
2108
2062
  /* @__PURE__ */ jsx(
2109
2063
  Image,
@@ -2394,17 +2348,7 @@ function SubNavBar() {
2394
2348
  {
2395
2349
  className: `${styles.headline} flex_row middle between`,
2396
2350
  children: [
2397
- /* @__PURE__ */ jsx(
2398
- Link,
2399
- {
2400
- href: findMoreAxosDomains(
2401
- "{AXOSBANK}/commercial/banking"
2402
- ),
2403
- "aria-label": "visit the commercial banking homepage to learn more about solutions to meet your organizational needs",
2404
- role: "heading",
2405
- children: "Solutions from industry experts"
2406
- }
2407
- ),
2351
+ /* @__PURE__ */ jsx("span", { role: "heading", children: "Solutions from industry experts" }),
2408
2352
  /* @__PURE__ */ jsxs("span", { className: "flex_row middle ml_24 w_auto", children: [
2409
2353
  /* @__PURE__ */ jsx(
2410
2354
  Image,
@@ -2630,17 +2574,7 @@ function SubNavBar() {
2630
2574
  {
2631
2575
  className: `${styles.headline} flex_row middle between`,
2632
2576
  children: [
2633
- /* @__PURE__ */ jsx(
2634
- Link,
2635
- {
2636
- href: findMoreAxosDomains(
2637
- "{AXOSBANK}/commercial/lending"
2638
- ),
2639
- "aria-label": "visit the commercial lending homepage to learn more about personalized lending solutions",
2640
- role: "heading",
2641
- children: "Personalized lending solutions"
2642
- }
2643
- ),
2577
+ /* @__PURE__ */ jsx("span", { role: "heading", children: "Personalized lending solutions" }),
2644
2578
  /* @__PURE__ */ jsxs("span", { className: "flex_row middle ml_24 w_auto", children: [
2645
2579
  /* @__PURE__ */ jsx(
2646
2580
  Image,
@@ -2869,17 +2803,7 @@ function SubNavBar() {
2869
2803
  {
2870
2804
  className: `${styles.headline} flex_row middle between`,
2871
2805
  children: [
2872
- /* @__PURE__ */ jsx(
2873
- Link,
2874
- {
2875
- href: findMoreAxosDomains(
2876
- "{AXOSBANK}/partners/wholesale-correspondent-portfolio-lending"
2877
- ),
2878
- "aria-label": "visit the wholesale lending homepage to learn more about available product portfolio solutions",
2879
- role: "heading",
2880
- children: "Expand your options"
2881
- }
2882
- ),
2806
+ /* @__PURE__ */ jsx("span", { role: "heading", children: "Expand your options" }),
2883
2807
  /* @__PURE__ */ jsxs("span", { className: "flex_row middle ml_24 w_auto", children: [
2884
2808
  /* @__PURE__ */ jsx(
2885
2809
  Image,
@@ -3010,17 +2934,7 @@ function SubNavBar() {
3010
2934
  {
3011
2935
  className: `${styles.headline} flex_row middle between`,
3012
2936
  children: [
3013
- /* @__PURE__ */ jsx(
3014
- Link,
3015
- {
3016
- href: findMoreAxosDomains(
3017
- "{AXOSBANK}/partners/dealer-services"
3018
- ),
3019
- "aria-label": "visit the dealer services homepage to learn more about joining the network of Axos Dealer Services dealerships",
3020
- role: "heading",
3021
- children: "Fueling results for dealerships"
3022
- }
3023
- ),
2937
+ /* @__PURE__ */ jsx("span", { role: "heading", children: "Fueling results for dealerships" }),
3024
2938
  /* @__PURE__ */ jsxs("span", { className: "flex_row middle ml_24 w_auto", children: [
3025
2939
  /* @__PURE__ */ jsx(
3026
2940
  Image,
@@ -48,7 +48,6 @@
48
48
  }
49
49
  ._1sr2o6v9 {
50
50
  display: grid;
51
- grid-template-rows: 65% 35%;
52
51
  background: #ffffff;
53
52
  border-radius: 16px;
54
53
  height: 100%;
@@ -81,9 +80,6 @@
81
80
  line-clamp: 2;
82
81
  -webkit-line-clamp: 2;
83
82
  width: 100%;
84
- }
85
- @media screen and (max-width:1024px) {
86
-
87
83
  }
88
84
  @media screen and (max-width:768px) {
89
85
  ._1sr2o6v3 {
@@ -92,8 +88,10 @@
92
88
  ._1sr2o6v7 {
93
89
  margin: 24px 0;
94
90
  }
95
- ._1sr2o6v9 {
96
- grid-template-rows: 60% 40%;
91
+ ._1sr2o6vc {
92
+ font-size: 28px;
93
+ line-height: 36px;
94
+ max-height: max(76px, 80px);
97
95
  }
98
96
  }
99
97
  @media screen and (min-width:769px) {
@@ -101,13 +99,6 @@
101
99
  min-height: min(525px, 680px);
102
100
  }
103
101
  }
104
- @media screen and (max-width:768px) {
105
- ._1sr2o6vc {
106
- font-size: 28px;
107
- line-height: 36px;
108
- max-height: max(76px, 80px);
109
- }
110
- }
111
102
  @media screen and (max-width:1024px) {
112
103
  ._1sr2o6vc {
113
104
  font-size: 32px;
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.4",
4
+ "version": "1.0.5",
5
5
  "type": "module",
6
6
  "module": "dist/main.js",
7
7
  "types": "dist/main.d.ts",