@axos-web-dev/shared-components 2.0.0-dev.14 → 2.0.0-dev.14-modal-iFrame
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.
- package/dist/Interstitial/Interstitial.d.ts +3 -0
- package/dist/Interstitial/Interstitial.js +37 -1
- package/dist/Interstitial/Interstitial.module.js +16 -10
- package/dist/NavigationMenu/AxosBank/MobileMenu/MobileMenu.module.js +27 -27
- package/dist/NavigationMenu/AxosBank/index.js +9 -1
- package/dist/assets/Interstitial/Interstitial.css +43 -23
- package/dist/assets/NavigationMenu/AxosBank/MobileMenu/MobileMenu.css +353 -353
- package/package.json +148 -148
|
@@ -6,6 +6,9 @@ import { FC, ReactNode } from 'react';
|
|
|
6
6
|
|
|
7
7
|
export interface interstitialProps {
|
|
8
8
|
id?: string;
|
|
9
|
+
width?: string | number | undefined;
|
|
10
|
+
height?: string | number | undefined;
|
|
11
|
+
iFrameUrl?: string;
|
|
9
12
|
variant?: SecondaryTypes;
|
|
10
13
|
image?: ImageInterface;
|
|
11
14
|
callToActionRow?: ChevronProps[];
|
|
@@ -10,6 +10,9 @@ import { marketing_tile, int_headline, interstitial_list } from "./Interstitial-
|
|
|
10
10
|
import css from "./Interstitial.module.js";
|
|
11
11
|
const Interstitial = ({
|
|
12
12
|
id,
|
|
13
|
+
width,
|
|
14
|
+
height,
|
|
15
|
+
iFrameUrl,
|
|
13
16
|
image,
|
|
14
17
|
headline,
|
|
15
18
|
bodyCopy,
|
|
@@ -25,7 +28,40 @@ const Interstitial = ({
|
|
|
25
28
|
{
|
|
26
29
|
className: `${marketing_tile} ${css.overlay} ${isOpen ? "active" : ""} interstitial`,
|
|
27
30
|
id: `modal_${id}`,
|
|
28
|
-
children: /* @__PURE__ */ jsxs(
|
|
31
|
+
children: iFrameUrl ? /* @__PURE__ */ jsxs(
|
|
32
|
+
"div",
|
|
33
|
+
{
|
|
34
|
+
id: `modal_${id}`,
|
|
35
|
+
className: `${css.modal_iframe} ${isOpen ? "active" : ""}`,
|
|
36
|
+
role: "dialog",
|
|
37
|
+
"aria-modal": "true",
|
|
38
|
+
tabIndex: -1,
|
|
39
|
+
style: {
|
|
40
|
+
width: width ? width : "95%",
|
|
41
|
+
height: height ? height : "95%"
|
|
42
|
+
},
|
|
43
|
+
children: [
|
|
44
|
+
/* @__PURE__ */ jsx(
|
|
45
|
+
"button",
|
|
46
|
+
{
|
|
47
|
+
className: css.close_button,
|
|
48
|
+
onClick: onClose,
|
|
49
|
+
"aria-label": "Close modal",
|
|
50
|
+
children: "×"
|
|
51
|
+
}
|
|
52
|
+
),
|
|
53
|
+
/* @__PURE__ */ jsx("div", { className: css.modal_content_iframe, children: /* @__PURE__ */ jsx(
|
|
54
|
+
"iframe",
|
|
55
|
+
{
|
|
56
|
+
src: iFrameUrl,
|
|
57
|
+
title: "Schedule form",
|
|
58
|
+
width: "100%",
|
|
59
|
+
height: "100%"
|
|
60
|
+
}
|
|
61
|
+
) })
|
|
62
|
+
]
|
|
63
|
+
}
|
|
64
|
+
) : /* @__PURE__ */ jsxs(
|
|
29
65
|
"div",
|
|
30
66
|
{
|
|
31
67
|
id: `modal_${id}`,
|
|
@@ -1,20 +1,24 @@
|
|
|
1
|
-
import '../assets/Interstitial/Interstitial.css';const overlay = "
|
|
2
|
-
const modal = "
|
|
3
|
-
const vanish = "
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
const
|
|
8
|
-
const
|
|
9
|
-
const
|
|
10
|
-
const
|
|
1
|
+
import '../assets/Interstitial/Interstitial.css';const overlay = "_overlay_px71y_24";
|
|
2
|
+
const modal = "_modal_px71y_40";
|
|
3
|
+
const vanish = "_vanish_px71y_1";
|
|
4
|
+
const modal_iframe = "_modal_iframe_px71y_51";
|
|
5
|
+
const appear = "_appear_px71y_1";
|
|
6
|
+
const close_button = "_close_button_px71y_66";
|
|
7
|
+
const modal_content = "_modal_content_px71y_81";
|
|
8
|
+
const modal_content_iframe = "_modal_content_iframe_px71y_85";
|
|
9
|
+
const img_area = "_img_area_px71y_90";
|
|
10
|
+
const body_copy = "_body_copy_px71y_100";
|
|
11
|
+
const btns = "_btns_px71y_114";
|
|
12
|
+
const white_modal = "_white_modal_px71y_159";
|
|
11
13
|
const css = {
|
|
12
14
|
overlay,
|
|
13
15
|
modal,
|
|
14
16
|
vanish,
|
|
17
|
+
modal_iframe,
|
|
15
18
|
appear,
|
|
16
19
|
close_button,
|
|
17
20
|
modal_content,
|
|
21
|
+
modal_content_iframe,
|
|
18
22
|
img_area,
|
|
19
23
|
body_copy,
|
|
20
24
|
btns,
|
|
@@ -29,6 +33,8 @@ export {
|
|
|
29
33
|
img_area,
|
|
30
34
|
modal,
|
|
31
35
|
modal_content,
|
|
36
|
+
modal_content_iframe,
|
|
37
|
+
modal_iframe,
|
|
32
38
|
overlay,
|
|
33
39
|
vanish,
|
|
34
40
|
white_modal
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import '../../../assets/NavigationMenu/AxosBank/MobileMenu/MobileMenu.css';const overlay = "
|
|
2
|
-
const drawer = "
|
|
3
|
-
const mobileNavRow = "
|
|
4
|
-
const loginTrigger = "
|
|
5
|
-
const hamburger = "
|
|
6
|
-
const loginDrawerTitle = "
|
|
7
|
-
const loginDrawerContent = "
|
|
8
|
-
const header = "
|
|
9
|
-
const back = "
|
|
10
|
-
const close = "
|
|
11
|
-
const levelContainer = "
|
|
12
|
-
const level = "
|
|
13
|
-
const levelTitle = "
|
|
14
|
-
const menu = "
|
|
15
|
-
const menuItem = "
|
|
16
|
-
const loginAccordion = "
|
|
17
|
-
const loginAccordionList = "
|
|
18
|
-
const loginAccordionGroup = "
|
|
19
|
-
const loginAccordionHeading = "
|
|
20
|
-
const loginAccordionGroupList = "
|
|
21
|
-
const loginHeading = "
|
|
22
|
-
const chevron = "
|
|
23
|
-
const chevronIcon = "
|
|
24
|
-
const quickLinks = "
|
|
25
|
-
const quickLink = "
|
|
26
|
-
const sr_only = "
|
|
27
|
-
const loginAccordionOverlay = "
|
|
1
|
+
import '../../../assets/NavigationMenu/AxosBank/MobileMenu/MobileMenu.css';const overlay = "_overlay_hbh7s_1";
|
|
2
|
+
const drawer = "_drawer_hbh7s_9";
|
|
3
|
+
const mobileNavRow = "_mobileNavRow_hbh7s_29";
|
|
4
|
+
const loginTrigger = "_loginTrigger_hbh7s_35";
|
|
5
|
+
const hamburger = "_hamburger_hbh7s_51";
|
|
6
|
+
const loginDrawerTitle = "_loginDrawerTitle_hbh7s_73";
|
|
7
|
+
const loginDrawerContent = "_loginDrawerContent_hbh7s_79";
|
|
8
|
+
const header = "_header_hbh7s_85";
|
|
9
|
+
const back = "_back_hbh7s_96";
|
|
10
|
+
const close = "_close_hbh7s_104";
|
|
11
|
+
const levelContainer = "_levelContainer_hbh7s_115";
|
|
12
|
+
const level = "_level_hbh7s_115";
|
|
13
|
+
const levelTitle = "_levelTitle_hbh7s_131";
|
|
14
|
+
const menu = "_menu_hbh7s_136";
|
|
15
|
+
const menuItem = "_menuItem_hbh7s_152";
|
|
16
|
+
const loginAccordion = "_loginAccordion_hbh7s_168";
|
|
17
|
+
const loginAccordionList = "_loginAccordionList_hbh7s_172";
|
|
18
|
+
const loginAccordionGroup = "_loginAccordionGroup_hbh7s_178";
|
|
19
|
+
const loginAccordionHeading = "_loginAccordionHeading_hbh7s_215";
|
|
20
|
+
const loginAccordionGroupList = "_loginAccordionGroupList_hbh7s_225";
|
|
21
|
+
const loginHeading = "_loginHeading_hbh7s_269";
|
|
22
|
+
const chevron = "_chevron_hbh7s_279";
|
|
23
|
+
const chevronIcon = "_chevronIcon_hbh7s_284";
|
|
24
|
+
const quickLinks = "_quickLinks_hbh7s_295";
|
|
25
|
+
const quickLink = "_quickLink_hbh7s_295";
|
|
26
|
+
const sr_only = "_sr_only_hbh7s_319";
|
|
27
|
+
const loginAccordionOverlay = "_loginAccordionOverlay_hbh7s_344";
|
|
28
28
|
const styles = {
|
|
29
29
|
overlay,
|
|
30
30
|
drawer,
|
|
@@ -499,7 +499,15 @@ function NavBar({
|
|
|
499
499
|
"li",
|
|
500
500
|
{
|
|
501
501
|
className: `${styles.signin_subheader} ${signin_subheader}`,
|
|
502
|
-
children: /* @__PURE__ */ jsx(
|
|
502
|
+
children: /* @__PURE__ */ jsx(
|
|
503
|
+
"a",
|
|
504
|
+
{
|
|
505
|
+
href: resolveUrl(
|
|
506
|
+
"{AXOSBANK}/commercial/lending/commercial-portal"
|
|
507
|
+
),
|
|
508
|
+
children: "Commercial Loan Portal"
|
|
509
|
+
}
|
|
510
|
+
)
|
|
503
511
|
}
|
|
504
512
|
)
|
|
505
513
|
] })
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@keyframes
|
|
1
|
+
@keyframes _appear_px71y_1 {
|
|
2
2
|
0% {
|
|
3
3
|
opacity: 0;
|
|
4
4
|
transform: scale(0.9);
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
transform: scale(1);
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
|
-
@keyframes
|
|
11
|
+
@keyframes _vanish_px71y_1 {
|
|
12
12
|
0% {
|
|
13
13
|
display: block;
|
|
14
14
|
opacity: 1;
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
.
|
|
24
|
+
._overlay_px71y_24 {
|
|
25
25
|
position: fixed;
|
|
26
26
|
top: 0;
|
|
27
27
|
left: 0;
|
|
@@ -33,12 +33,12 @@
|
|
|
33
33
|
justify-content: center;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
.
|
|
36
|
+
._overlay_px71y_24.active {
|
|
37
37
|
display: flex;
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
.
|
|
41
|
-
animation:
|
|
40
|
+
._modal_px71y_40 {
|
|
41
|
+
animation: _vanish_px71y_1 0.45s ease;
|
|
42
42
|
background: #fff;
|
|
43
43
|
border-radius: 16px;
|
|
44
44
|
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
|
@@ -48,11 +48,22 @@
|
|
|
48
48
|
overflow: hidden;
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
.
|
|
52
|
-
animation:
|
|
51
|
+
._modal_iframe_px71y_51 {
|
|
52
|
+
animation: _vanish_px71y_1 0.45s ease;
|
|
53
|
+
background: #fff;
|
|
54
|
+
border-radius: 16px;
|
|
55
|
+
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
|
56
|
+
position: relative;
|
|
57
|
+
transition: transform 0.45s ease;
|
|
58
|
+
overflow: hidden;
|
|
53
59
|
}
|
|
54
60
|
|
|
55
|
-
.
|
|
61
|
+
._modal_px71y_40.active,
|
|
62
|
+
._modal_iframe_px71y_51.active {
|
|
63
|
+
animation: _appear_px71y_1 0.45s ease;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
._close_button_px71y_66 {
|
|
56
67
|
position: absolute;
|
|
57
68
|
background-color: rgba(255, 255, 255, 0.3);
|
|
58
69
|
border-radius: 8px;
|
|
@@ -67,35 +78,40 @@
|
|
|
67
78
|
width: 32px;
|
|
68
79
|
}
|
|
69
80
|
|
|
70
|
-
.
|
|
81
|
+
._modal_content_px71y_81 {
|
|
82
|
+
padding: 16px 24px 24px;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
._modal_content_iframe_px71y_85 {
|
|
71
86
|
padding: 16px 24px 24px;
|
|
87
|
+
height: 100%;
|
|
72
88
|
}
|
|
73
89
|
|
|
74
|
-
.
|
|
90
|
+
._img_area_px71y_90 {
|
|
75
91
|
background-position: center center;
|
|
76
92
|
background-size: cover;
|
|
77
93
|
height: 418px;
|
|
78
94
|
}
|
|
79
95
|
|
|
80
|
-
body:has(.
|
|
96
|
+
body:has(._overlay_px71y_24.active) {
|
|
81
97
|
overflow-y: hidden;
|
|
82
98
|
}
|
|
83
99
|
|
|
84
|
-
.
|
|
100
|
+
._body_copy_px71y_100 {
|
|
85
101
|
margin-top: 8px;
|
|
86
102
|
}
|
|
87
103
|
|
|
88
|
-
.
|
|
104
|
+
._body_copy_px71y_100 > * {
|
|
89
105
|
color: #333d46;
|
|
90
106
|
}
|
|
91
107
|
|
|
92
|
-
.
|
|
108
|
+
._body_copy_px71y_100 > p {
|
|
93
109
|
text-align: center;
|
|
94
110
|
font-size: 16px;
|
|
95
111
|
line-height: 1.5;
|
|
96
112
|
}
|
|
97
113
|
|
|
98
|
-
.
|
|
114
|
+
._btns_px71y_114 {
|
|
99
115
|
display: flex;
|
|
100
116
|
align-items: center;
|
|
101
117
|
gap: 2rem;
|
|
@@ -105,38 +121,42 @@ body:has(._overlay_e4cra_24.active) {
|
|
|
105
121
|
justify-content: center;
|
|
106
122
|
}
|
|
107
123
|
|
|
108
|
-
.
|
|
124
|
+
._btns_px71y_114:empty {
|
|
109
125
|
display: none;
|
|
110
126
|
}
|
|
111
127
|
|
|
112
|
-
.
|
|
128
|
+
._modal_content_px71y_81:nth-child(2) h2 {
|
|
113
129
|
margin-top: 31px;
|
|
114
130
|
}
|
|
115
131
|
|
|
116
132
|
@media (max-width: 1023px) {
|
|
117
|
-
.
|
|
133
|
+
._btns_px71y_114 {
|
|
118
134
|
flex-direction: column-reverse;
|
|
119
135
|
}
|
|
136
|
+
._modal_iframe_px71y_51 {
|
|
137
|
+
width: 95% !important;
|
|
138
|
+
height: 95% !important;
|
|
139
|
+
}
|
|
120
140
|
}
|
|
121
141
|
|
|
122
142
|
@media (max-width: 832px) {
|
|
123
|
-
.
|
|
143
|
+
._img_area_px71y_90 {
|
|
124
144
|
height: calc(12.25rem + ((1vw - 3.75px) * 48.5777));
|
|
125
145
|
}
|
|
126
146
|
}
|
|
127
147
|
|
|
128
148
|
@media (max-width: 500px) {
|
|
129
|
-
.
|
|
149
|
+
._modal_px71y_40 {
|
|
130
150
|
width: calc(100% - 1rem);
|
|
131
151
|
}
|
|
132
|
-
.
|
|
152
|
+
._overlay_px71y_24.active {
|
|
133
153
|
align-items: flex-start;
|
|
134
154
|
overflow-y: scroll;
|
|
135
155
|
padding-top: 40px;
|
|
136
156
|
}
|
|
137
157
|
}
|
|
138
158
|
|
|
139
|
-
.
|
|
159
|
+
._white_modal_px71y_159 {
|
|
140
160
|
color: #1e3860;
|
|
141
161
|
padding-bottom: 40px;
|
|
142
162
|
}
|
|
@@ -1,353 +1,353 @@
|
|
|
1
|
-
.
|
|
2
|
-
position: fixed;
|
|
3
|
-
inset: 0;
|
|
4
|
-
height: 100vh;
|
|
5
|
-
background: rgba(0, 0, 0, 0.6);
|
|
6
|
-
z-index: 10000;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.
|
|
10
|
-
background: #fff;
|
|
11
|
-
border-radius: 0 0 0 1rem;
|
|
12
|
-
box-shadow: -2px 0 10px rgba(0, 0, 0, 0.15);
|
|
13
|
-
max-height: 100vh;
|
|
14
|
-
max-width: 500px;
|
|
15
|
-
overflow: hidden auto;
|
|
16
|
-
position: fixed;
|
|
17
|
-
right: 0px;
|
|
18
|
-
top: 0;
|
|
19
|
-
width: 85%;
|
|
20
|
-
scrollbar-width: none;
|
|
21
|
-
-ms-overflow-style: none;
|
|
22
|
-
z-index: 10001;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.
|
|
26
|
-
display: none;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.
|
|
30
|
-
display: flex;
|
|
31
|
-
align-items: center;
|
|
32
|
-
gap: 16px;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.
|
|
36
|
-
background: transparent;
|
|
37
|
-
border: none;
|
|
38
|
-
color: var(--_1073cm83);
|
|
39
|
-
cursor: pointer;
|
|
40
|
-
font-family: var(--header-font-family);
|
|
41
|
-
font-size: 1rem;
|
|
42
|
-
font-weight: 700;
|
|
43
|
-
padding: 0.25rem 0;
|
|
44
|
-
transition: opacity 0.2s ease;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
.
|
|
48
|
-
opacity: 0.85;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
.
|
|
52
|
-
background: transparent;
|
|
53
|
-
border: none;
|
|
54
|
-
cursor: pointer;
|
|
55
|
-
transition: opacity 0.3s ease;
|
|
56
|
-
position: relative;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
.
|
|
60
|
-
content: "";
|
|
61
|
-
position: absolute;
|
|
62
|
-
left: -7px;
|
|
63
|
-
bottom: 0;
|
|
64
|
-
height: 28px;
|
|
65
|
-
border-left: 2px solid #1f1f1f;
|
|
66
|
-
top: -2px;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
.
|
|
70
|
-
opacity: 0.8;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
.
|
|
74
|
-
font-weight: 700;
|
|
75
|
-
font-size: 1rem;
|
|
76
|
-
color: var(--_1073cm83);
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
.
|
|
80
|
-
padding: 1rem 1.2rem 1.2rem;
|
|
81
|
-
overflow: auto;
|
|
82
|
-
flex: 1;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
.
|
|
86
|
-
display: flex;
|
|
87
|
-
align-items: center;
|
|
88
|
-
background: #f4f4f4;
|
|
89
|
-
justify-content: space-between;
|
|
90
|
-
padding: 0.9rem 1.2rem 0.9rem 1rem;
|
|
91
|
-
position: sticky;
|
|
92
|
-
top: 0;
|
|
93
|
-
z-index: 1;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
.
|
|
97
|
-
color: var(--_1073cm83);
|
|
98
|
-
font-size: 1rem;
|
|
99
|
-
font-weight: 700;
|
|
100
|
-
line-height: 1;
|
|
101
|
-
padding: 0;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
.
|
|
105
|
-
font-size: 1.3rem;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
.
|
|
109
|
-
.
|
|
110
|
-
background: none;
|
|
111
|
-
border: none;
|
|
112
|
-
cursor: pointer;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
.
|
|
116
|
-
height: 100%;
|
|
117
|
-
position: relative;
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
.
|
|
121
|
-
background: var(--_1073cm86);
|
|
122
|
-
color: var(--_1073cm85);
|
|
123
|
-
font-size: 0.9rem;
|
|
124
|
-
padding: 14px 1.2rem;
|
|
125
|
-
position: sticky;
|
|
126
|
-
top: 54.78px;
|
|
127
|
-
width: 100%;
|
|
128
|
-
z-index: 1;
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
.
|
|
132
|
-
font: 700 0.9rem / 1.39 var(--main-font-family);
|
|
133
|
-
letter-spacing: 0.4px;
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
.
|
|
137
|
-
background-color: transparent;
|
|
138
|
-
list-style: none;
|
|
139
|
-
margin: 0;
|
|
140
|
-
min-height: 100%;
|
|
141
|
-
padding: 0 1.2rem;
|
|
142
|
-
position: relative;
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
.
|
|
146
|
-
color: var(--_1073cm83);
|
|
147
|
-
font-family: var(--header-font-family);
|
|
148
|
-
font-weight: 500;
|
|
149
|
-
border-top: 1px solid #e9e9e9;
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
.
|
|
153
|
-
display: flex;
|
|
154
|
-
align-items: center;
|
|
155
|
-
background: none;
|
|
156
|
-
border: none;
|
|
157
|
-
color: inherit;
|
|
158
|
-
cursor: pointer;
|
|
159
|
-
font-size: 1rem;
|
|
160
|
-
justify-content: space-between;
|
|
161
|
-
padding: 0.75rem 0;
|
|
162
|
-
text-align: left;
|
|
163
|
-
text-decoration: none;
|
|
164
|
-
transition: background 0.2s ease;
|
|
165
|
-
width: 100%;
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
.
|
|
169
|
-
padding: 0;
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
.
|
|
173
|
-
list-style: none;
|
|
174
|
-
margin: 0;
|
|
175
|
-
padding: 0;
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
.
|
|
179
|
-
padding-block: 4px;
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
.
|
|
183
|
-
margin-top: 2px;
|
|
184
|
-
position: relative;
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
.
|
|
188
|
-
padding-top: 12px;
|
|
189
|
-
margin-top: 12px;
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
.
|
|
193
|
-
content: "";
|
|
194
|
-
background-color: #8f8f8f;
|
|
195
|
-
height: 2px;
|
|
196
|
-
opacity: 0.3;
|
|
197
|
-
position: absolute;
|
|
198
|
-
right: 8px;
|
|
199
|
-
top: 0;
|
|
200
|
-
width: 94%;
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
.
|
|
204
|
-
position: absolute;
|
|
205
|
-
border: 0;
|
|
206
|
-
clip: rect(0, 0, 0, 0);
|
|
207
|
-
height: 1px;
|
|
208
|
-
margin: -1px;
|
|
209
|
-
overflow: hidden;
|
|
210
|
-
padding: 0;
|
|
211
|
-
white-space: nowrap;
|
|
212
|
-
width: 1px;
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
.
|
|
216
|
-
display: block;
|
|
217
|
-
font-family: var(--header-font-family);
|
|
218
|
-
font-weight: 700;
|
|
219
|
-
font-size: 18px;
|
|
220
|
-
line-height: 1.39;
|
|
221
|
-
|
|
222
|
-
padding: 0.35rem 0 0.2rem;
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
.
|
|
226
|
-
list-style: none;
|
|
227
|
-
margin: 0;
|
|
228
|
-
padding: 0 0 0 8px;
|
|
229
|
-
}
|
|
230
|
-
|
|
231
|
-
.
|
|
232
|
-
font-family: var(--header-font-family);
|
|
233
|
-
font-weight: 500;
|
|
234
|
-
}
|
|
235
|
-
|
|
236
|
-
.
|
|
237
|
-
border-top: none;
|
|
238
|
-
color: #1e629a;
|
|
239
|
-
font-weight: 400;
|
|
240
|
-
padding-block: 3px;
|
|
241
|
-
font-family: var(--main-font-family);
|
|
242
|
-
}
|
|
243
|
-
|
|
244
|
-
.
|
|
245
|
-
display: inline;
|
|
246
|
-
padding-block: 0px;
|
|
247
|
-
}
|
|
248
|
-
|
|
249
|
-
.
|
|
250
|
-
opacity: 0.7;
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
.
|
|
254
|
-
padding-block: 4px;
|
|
255
|
-
position: relative;
|
|
256
|
-
isolation: isolate;
|
|
257
|
-
}
|
|
258
|
-
|
|
259
|
-
.
|
|
260
|
-
content: "return to menu";
|
|
261
|
-
position: absolute;
|
|
262
|
-
right: 36px;
|
|
263
|
-
bottom: 50%;
|
|
264
|
-
font-size: 12px;
|
|
265
|
-
transform: translateY(50%);
|
|
266
|
-
letter-spacing: 0.5px;
|
|
267
|
-
}
|
|
268
|
-
|
|
269
|
-
.
|
|
270
|
-
font-family: var(--header-font-family);
|
|
271
|
-
font-size: 20px;
|
|
272
|
-
font-weight: 700;
|
|
273
|
-
line-height: 1;
|
|
274
|
-
display: flex;
|
|
275
|
-
align-items: center;
|
|
276
|
-
gap: 8px;
|
|
277
|
-
}
|
|
278
|
-
|
|
279
|
-
.
|
|
280
|
-
font-size: 1.2rem;
|
|
281
|
-
margin-left: auto;
|
|
282
|
-
}
|
|
283
|
-
|
|
284
|
-
.
|
|
285
|
-
height: auto;
|
|
286
|
-
margin-right: 10px;
|
|
287
|
-
max-width: 8px;
|
|
288
|
-
}
|
|
289
|
-
|
|
290
|
-
body:has(.
|
|
291
|
-
overflow-y: hidden;
|
|
292
|
-
position: relative;
|
|
293
|
-
}
|
|
294
|
-
|
|
295
|
-
.
|
|
296
|
-
background-color: #e8f7ff;
|
|
297
|
-
bottom: 0;
|
|
298
|
-
box-shadow: 0 15px 10px -20px rgba(0, 0, 0, 0.45) inset;
|
|
299
|
-
gap: 8px;
|
|
300
|
-
margin-top: 9px;
|
|
301
|
-
padding: 1rem;
|
|
302
|
-
position: sticky;
|
|
303
|
-
}
|
|
304
|
-
|
|
305
|
-
.
|
|
306
|
-
display: flex;
|
|
307
|
-
align-items: center;
|
|
308
|
-
color: var(--_1073cm83);
|
|
309
|
-
flex-direction: column;
|
|
310
|
-
flex: 1 1 0%;
|
|
311
|
-
font-size: 0.8rem;
|
|
312
|
-
font-weight: 700;
|
|
313
|
-
gap: 8px;
|
|
314
|
-
line-height: 1.5;
|
|
315
|
-
text-decoration: none;
|
|
316
|
-
text-transform: uppercase;
|
|
317
|
-
}
|
|
318
|
-
|
|
319
|
-
.
|
|
320
|
-
position: absolute;
|
|
321
|
-
border: 0;
|
|
322
|
-
clip: rect(0, 0, 0, 0);
|
|
323
|
-
height: 1px;
|
|
324
|
-
margin: -1px;
|
|
325
|
-
overflow: hidden;
|
|
326
|
-
padding: 0;
|
|
327
|
-
white-space: nowrap;
|
|
328
|
-
width: 1px;
|
|
329
|
-
}
|
|
330
|
-
|
|
331
|
-
@media (max-width: 540px) {
|
|
332
|
-
.
|
|
333
|
-
border-radius: 0;
|
|
334
|
-
max-width: none;
|
|
335
|
-
width: 100%;
|
|
336
|
-
}
|
|
337
|
-
.
|
|
338
|
-
margin-top: 3px;
|
|
339
|
-
}
|
|
340
|
-
.
|
|
341
|
-
font-size: 0.9rem;
|
|
342
|
-
padding: 0.65rem 0;
|
|
343
|
-
}
|
|
344
|
-
.
|
|
345
|
-
opacity: 0.1;
|
|
346
|
-
}
|
|
347
|
-
}
|
|
348
|
-
|
|
349
|
-
@media (min-width: 541px) {
|
|
350
|
-
.
|
|
351
|
-
max-width: 345px;
|
|
352
|
-
}
|
|
353
|
-
}
|
|
1
|
+
._overlay_hbh7s_1 {
|
|
2
|
+
position: fixed;
|
|
3
|
+
inset: 0;
|
|
4
|
+
height: 100vh;
|
|
5
|
+
background: rgba(0, 0, 0, 0.6);
|
|
6
|
+
z-index: 10000;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
._drawer_hbh7s_9 {
|
|
10
|
+
background: #fff;
|
|
11
|
+
border-radius: 0 0 0 1rem;
|
|
12
|
+
box-shadow: -2px 0 10px rgba(0, 0, 0, 0.15);
|
|
13
|
+
max-height: 100vh;
|
|
14
|
+
max-width: 500px;
|
|
15
|
+
overflow: hidden auto;
|
|
16
|
+
position: fixed;
|
|
17
|
+
right: 0px;
|
|
18
|
+
top: 0;
|
|
19
|
+
width: 85%;
|
|
20
|
+
scrollbar-width: none;
|
|
21
|
+
-ms-overflow-style: none;
|
|
22
|
+
z-index: 10001;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
._drawer_hbh7s_9::-webkit-scrollbar {
|
|
26
|
+
display: none;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
._mobileNavRow_hbh7s_29 {
|
|
30
|
+
display: flex;
|
|
31
|
+
align-items: center;
|
|
32
|
+
gap: 16px;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
._loginTrigger_hbh7s_35 {
|
|
36
|
+
background: transparent;
|
|
37
|
+
border: none;
|
|
38
|
+
color: var(--_1073cm83);
|
|
39
|
+
cursor: pointer;
|
|
40
|
+
font-family: var(--header-font-family);
|
|
41
|
+
font-size: 1rem;
|
|
42
|
+
font-weight: 700;
|
|
43
|
+
padding: 0.25rem 0;
|
|
44
|
+
transition: opacity 0.2s ease;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
._loginTrigger_hbh7s_35:hover {
|
|
48
|
+
opacity: 0.85;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
._hamburger_hbh7s_51 {
|
|
52
|
+
background: transparent;
|
|
53
|
+
border: none;
|
|
54
|
+
cursor: pointer;
|
|
55
|
+
transition: opacity 0.3s ease;
|
|
56
|
+
position: relative;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
._hamburger_hbh7s_51::before {
|
|
60
|
+
content: "";
|
|
61
|
+
position: absolute;
|
|
62
|
+
left: -7px;
|
|
63
|
+
bottom: 0;
|
|
64
|
+
height: 28px;
|
|
65
|
+
border-left: 2px solid #1f1f1f;
|
|
66
|
+
top: -2px;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
._hamburger_hbh7s_51:hover {
|
|
70
|
+
opacity: 0.8;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
._loginDrawerTitle_hbh7s_73 {
|
|
74
|
+
font-weight: 700;
|
|
75
|
+
font-size: 1rem;
|
|
76
|
+
color: var(--_1073cm83);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
._loginDrawerContent_hbh7s_79 {
|
|
80
|
+
padding: 1rem 1.2rem 1.2rem;
|
|
81
|
+
overflow: auto;
|
|
82
|
+
flex: 1;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
._header_hbh7s_85 {
|
|
86
|
+
display: flex;
|
|
87
|
+
align-items: center;
|
|
88
|
+
background: #f4f4f4;
|
|
89
|
+
justify-content: space-between;
|
|
90
|
+
padding: 0.9rem 1.2rem 0.9rem 1rem;
|
|
91
|
+
position: sticky;
|
|
92
|
+
top: 0;
|
|
93
|
+
z-index: 1;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
._back_hbh7s_96 {
|
|
97
|
+
color: var(--_1073cm83);
|
|
98
|
+
font-size: 1rem;
|
|
99
|
+
font-weight: 700;
|
|
100
|
+
line-height: 1;
|
|
101
|
+
padding: 0;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
._close_hbh7s_104 {
|
|
105
|
+
font-size: 1.3rem;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
._back_hbh7s_96,
|
|
109
|
+
._close_hbh7s_104 {
|
|
110
|
+
background: none;
|
|
111
|
+
border: none;
|
|
112
|
+
cursor: pointer;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
._levelContainer_hbh7s_115 {
|
|
116
|
+
height: 100%;
|
|
117
|
+
position: relative;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
._level_hbh7s_115 {
|
|
121
|
+
background: var(--_1073cm86);
|
|
122
|
+
color: var(--_1073cm85);
|
|
123
|
+
font-size: 0.9rem;
|
|
124
|
+
padding: 14px 1.2rem;
|
|
125
|
+
position: sticky;
|
|
126
|
+
top: 54.78px;
|
|
127
|
+
width: 100%;
|
|
128
|
+
z-index: 1;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
._levelTitle_hbh7s_131 {
|
|
132
|
+
font: 700 0.9rem / 1.39 var(--main-font-family);
|
|
133
|
+
letter-spacing: 0.4px;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
._menu_hbh7s_136 {
|
|
137
|
+
background-color: transparent;
|
|
138
|
+
list-style: none;
|
|
139
|
+
margin: 0;
|
|
140
|
+
min-height: 100%;
|
|
141
|
+
padding: 0 1.2rem;
|
|
142
|
+
position: relative;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
._menu_hbh7s_136 li {
|
|
146
|
+
color: var(--_1073cm83);
|
|
147
|
+
font-family: var(--header-font-family);
|
|
148
|
+
font-weight: 500;
|
|
149
|
+
border-top: 1px solid #e9e9e9;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
._menuItem_hbh7s_152 {
|
|
153
|
+
display: flex;
|
|
154
|
+
align-items: center;
|
|
155
|
+
background: none;
|
|
156
|
+
border: none;
|
|
157
|
+
color: inherit;
|
|
158
|
+
cursor: pointer;
|
|
159
|
+
font-size: 1rem;
|
|
160
|
+
justify-content: space-between;
|
|
161
|
+
padding: 0.75rem 0;
|
|
162
|
+
text-align: left;
|
|
163
|
+
text-decoration: none;
|
|
164
|
+
transition: background 0.2s ease;
|
|
165
|
+
width: 100%;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
._loginAccordion_hbh7s_168 {
|
|
169
|
+
padding: 0;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
._loginAccordionList_hbh7s_172 {
|
|
173
|
+
list-style: none;
|
|
174
|
+
margin: 0;
|
|
175
|
+
padding: 0;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
._loginAccordionGroup_hbh7s_178 {
|
|
179
|
+
padding-block: 4px;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
._loginAccordionGroup_hbh7s_178 + ._loginAccordionGroup_hbh7s_178 {
|
|
183
|
+
margin-top: 2px;
|
|
184
|
+
position: relative;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
._loginAccordionGroup_hbh7s_178:nth-child(5):is(:last-child) {
|
|
188
|
+
padding-top: 12px;
|
|
189
|
+
margin-top: 12px;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
._loginAccordionGroup_hbh7s_178:nth-child(5):is(:last-child)::before {
|
|
193
|
+
content: "";
|
|
194
|
+
background-color: #8f8f8f;
|
|
195
|
+
height: 2px;
|
|
196
|
+
opacity: 0.3;
|
|
197
|
+
position: absolute;
|
|
198
|
+
right: 8px;
|
|
199
|
+
top: 0;
|
|
200
|
+
width: 94%;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
._loginAccordionGroup_hbh7s_178:nth-child(5):is(:last-child) > span {
|
|
204
|
+
position: absolute;
|
|
205
|
+
border: 0;
|
|
206
|
+
clip: rect(0, 0, 0, 0);
|
|
207
|
+
height: 1px;
|
|
208
|
+
margin: -1px;
|
|
209
|
+
overflow: hidden;
|
|
210
|
+
padding: 0;
|
|
211
|
+
white-space: nowrap;
|
|
212
|
+
width: 1px;
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
._loginAccordionHeading_hbh7s_215 {
|
|
216
|
+
display: block;
|
|
217
|
+
font-family: var(--header-font-family);
|
|
218
|
+
font-weight: 700;
|
|
219
|
+
font-size: 18px;
|
|
220
|
+
line-height: 1.39;
|
|
221
|
+
|
|
222
|
+
padding: 0.35rem 0 0.2rem;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
._loginAccordionGroupList_hbh7s_225 {
|
|
226
|
+
list-style: none;
|
|
227
|
+
margin: 0;
|
|
228
|
+
padding: 0 0 0 8px;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
._loginAccordionList_hbh7s_172 li {
|
|
232
|
+
font-family: var(--header-font-family);
|
|
233
|
+
font-weight: 500;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
._loginAccordionList_hbh7s_172 li li {
|
|
237
|
+
border-top: none;
|
|
238
|
+
color: #1e629a;
|
|
239
|
+
font-weight: 400;
|
|
240
|
+
padding-block: 3px;
|
|
241
|
+
font-family: var(--main-font-family);
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
._loginAccordionList_hbh7s_172 ._menuItem_hbh7s_152 {
|
|
245
|
+
display: inline;
|
|
246
|
+
padding-block: 0px;
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
._loginAccordionList_hbh7s_172 ._menuItem_hbh7s_152:hover {
|
|
250
|
+
opacity: 0.7;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
._loginAccordion_hbh7s_168 > ._menuItem_hbh7s_152 {
|
|
254
|
+
padding-block: 4px;
|
|
255
|
+
position: relative;
|
|
256
|
+
isolation: isolate;
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
._loginAccordion_hbh7s_168 > ._menuItem_hbh7s_152::after {
|
|
260
|
+
content: "return to menu";
|
|
261
|
+
position: absolute;
|
|
262
|
+
right: 36px;
|
|
263
|
+
bottom: 50%;
|
|
264
|
+
font-size: 12px;
|
|
265
|
+
transform: translateY(50%);
|
|
266
|
+
letter-spacing: 0.5px;
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
._loginHeading_hbh7s_269 {
|
|
270
|
+
font-family: var(--header-font-family);
|
|
271
|
+
font-size: 20px;
|
|
272
|
+
font-weight: 700;
|
|
273
|
+
line-height: 1;
|
|
274
|
+
display: flex;
|
|
275
|
+
align-items: center;
|
|
276
|
+
gap: 8px;
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
._chevron_hbh7s_279 {
|
|
280
|
+
font-size: 1.2rem;
|
|
281
|
+
margin-left: auto;
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
._chevronIcon_hbh7s_284 {
|
|
285
|
+
height: auto;
|
|
286
|
+
margin-right: 10px;
|
|
287
|
+
max-width: 8px;
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
body:has(._drawer_hbh7s_9) {
|
|
291
|
+
overflow-y: hidden;
|
|
292
|
+
position: relative;
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
._quickLinks_hbh7s_295 {
|
|
296
|
+
background-color: #e8f7ff;
|
|
297
|
+
bottom: 0;
|
|
298
|
+
box-shadow: 0 15px 10px -20px rgba(0, 0, 0, 0.45) inset;
|
|
299
|
+
gap: 8px;
|
|
300
|
+
margin-top: 9px;
|
|
301
|
+
padding: 1rem;
|
|
302
|
+
position: sticky;
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
._quickLink_hbh7s_295 {
|
|
306
|
+
display: flex;
|
|
307
|
+
align-items: center;
|
|
308
|
+
color: var(--_1073cm83);
|
|
309
|
+
flex-direction: column;
|
|
310
|
+
flex: 1 1 0%;
|
|
311
|
+
font-size: 0.8rem;
|
|
312
|
+
font-weight: 700;
|
|
313
|
+
gap: 8px;
|
|
314
|
+
line-height: 1.5;
|
|
315
|
+
text-decoration: none;
|
|
316
|
+
text-transform: uppercase;
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
._sr_only_hbh7s_319 {
|
|
320
|
+
position: absolute;
|
|
321
|
+
border: 0;
|
|
322
|
+
clip: rect(0, 0, 0, 0);
|
|
323
|
+
height: 1px;
|
|
324
|
+
margin: -1px;
|
|
325
|
+
overflow: hidden;
|
|
326
|
+
padding: 0;
|
|
327
|
+
white-space: nowrap;
|
|
328
|
+
width: 1px;
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
@media (max-width: 540px) {
|
|
332
|
+
._drawer_hbh7s_9 {
|
|
333
|
+
border-radius: 0;
|
|
334
|
+
max-width: none;
|
|
335
|
+
width: 100%;
|
|
336
|
+
}
|
|
337
|
+
._menu_hbh7s_136 li + li {
|
|
338
|
+
margin-top: 3px;
|
|
339
|
+
}
|
|
340
|
+
._menuItem_hbh7s_152 {
|
|
341
|
+
font-size: 0.9rem;
|
|
342
|
+
padding: 0.65rem 0;
|
|
343
|
+
}
|
|
344
|
+
._loginAccordionOverlay_hbh7s_344::before {
|
|
345
|
+
opacity: 0.1;
|
|
346
|
+
}
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
@media (min-width: 541px) {
|
|
350
|
+
._drawer_hbh7s_9:has(._loginDrawerContent_hbh7s_79) {
|
|
351
|
+
max-width: 345px;
|
|
352
|
+
}
|
|
353
|
+
}
|
package/package.json
CHANGED
|
@@ -1,148 +1,148 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@axos-web-dev/shared-components",
|
|
3
|
-
"description": "Axos shared components library for web.",
|
|
4
|
-
"version": "2.0.0-dev.14",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"main": "index.js",
|
|
7
|
-
"module": "dist/main.js",
|
|
8
|
-
"types": "dist/main.d.ts",
|
|
9
|
-
"exports": {
|
|
10
|
-
".": {
|
|
11
|
-
"types": "./dist/main.d.ts",
|
|
12
|
-
"import": "./dist/main.js"
|
|
13
|
-
},
|
|
14
|
-
"./styles.css": "./dist/assets/index.css",
|
|
15
|
-
"./globals.css": "./dist/assets/globals.css",
|
|
16
|
-
"./themes/axos.css": "./dist/assets/themes/axos.css",
|
|
17
|
-
"./themes/premier.css": "./dist/assets/themes/premier.css",
|
|
18
|
-
"./dist/*": "./dist/*"
|
|
19
|
-
},
|
|
20
|
-
"files": [
|
|
21
|
-
"dist"
|
|
22
|
-
],
|
|
23
|
-
"sideEffects": [
|
|
24
|
-
"dist/assets/**/*.css"
|
|
25
|
-
],
|
|
26
|
-
"scripts": {
|
|
27
|
-
"dev": "vite",
|
|
28
|
-
"build": "tsc --p ./tsconfig.build.json && vite build",
|
|
29
|
-
"lint": "eslint . --report-unused-disable-directives --max-warnings 0",
|
|
30
|
-
"preview": "vite preview",
|
|
31
|
-
"prepublishOnly": "npm run build",
|
|
32
|
-
"check-types": "tsc --pretty --noEmit",
|
|
33
|
-
"check-format": "prettier --check .",
|
|
34
|
-
"check-lint": "eslint .",
|
|
35
|
-
"format": "prettier --write .",
|
|
36
|
-
"test-all": "npm run check-format && npm run check-lint && npm run check-types && npm run build",
|
|
37
|
-
"prepare": "husky",
|
|
38
|
-
"storybook": "storybook dev -p 6006",
|
|
39
|
-
"build-storybook": "storybook build",
|
|
40
|
-
"npm:link": "npm run build && npm link"
|
|
41
|
-
},
|
|
42
|
-
"dependencies": {
|
|
43
|
-
"@headlessui/react": "^2.2.0",
|
|
44
|
-
"@hookform/resolvers": "^5.0.1",
|
|
45
|
-
"@next-safe-action/adapter-react-hook-form": "^2.0.2",
|
|
46
|
-
"@react-input/mask": "^1.2.15",
|
|
47
|
-
"@react-input/number-format": "^1.1.3",
|
|
48
|
-
"@storybook/icons": "^1.3.0",
|
|
49
|
-
"@storybook/preview-api": "^8.4.7",
|
|
50
|
-
"@ts-stack/markdown": "^1.5.0",
|
|
51
|
-
"@types/iframe-resizer": "3.5.13",
|
|
52
|
-
"@ujet/websdk-headless": "^3.41.4",
|
|
53
|
-
"@vanilla-extract/css": "^1.16.1",
|
|
54
|
-
"@vanilla-extract/recipes": "^0.5.1 || ^0.5.5",
|
|
55
|
-
"antd": "^5.22.5",
|
|
56
|
-
"clsx": "^2.1.1",
|
|
57
|
-
"framer-motion": "^12.9.2",
|
|
58
|
-
"iframe-resizer": "^3.6.6",
|
|
59
|
-
"lodash": "^4.17.21",
|
|
60
|
-
"moment": "^2.30.1",
|
|
61
|
-
"next-safe-action": "^8.0.2",
|
|
62
|
-
"react-date-picker": "^11.0.0",
|
|
63
|
-
"react-date-range": "^2.0.1",
|
|
64
|
-
"react-hook-form": "^7.56.4",
|
|
65
|
-
"react-markdown": "^9.1.0",
|
|
66
|
-
"react-slick": "^0.30.2",
|
|
67
|
-
"react-use": "^17.6.0",
|
|
68
|
-
"react-wrap-balancer": "^1.1.1",
|
|
69
|
-
"remark-gfm": "^4.0.1",
|
|
70
|
-
"rsuite": "^5.75.0",
|
|
71
|
-
"slick-carousel": "^1.8.1",
|
|
72
|
-
"typed-css-modules": "^0.9.1",
|
|
73
|
-
"vite-plugin-svgr": "^4.3.0",
|
|
74
|
-
"zod": "^3.24.1",
|
|
75
|
-
"zustand": "^4.5.5"
|
|
76
|
-
},
|
|
77
|
-
"peerDependencies": {
|
|
78
|
-
"@vanilla-extract/css-utils": "^0.1.3 || ^0.1.4",
|
|
79
|
-
"@vanilla-extract/recipes": "^0.5.1 || ^0.5.5",
|
|
80
|
-
"@vanilla-extract/vite-plugin": "^4.0.3 || ^4.0.18",
|
|
81
|
-
"next": "^14.1.4 || ^15.0.0 || ^16.0.0",
|
|
82
|
-
"react": "^18.2.0 || ^19.0.0",
|
|
83
|
-
"react-date-range": "^2.0.1",
|
|
84
|
-
"react-dom": "^18.2.0 || ^19.0.0",
|
|
85
|
-
"react-slick": "^0.30.2",
|
|
86
|
-
"slick-carousel": "^1.8.1"
|
|
87
|
-
},
|
|
88
|
-
"devDependencies": {
|
|
89
|
-
"@chromatic-com/storybook": "^1.9.0",
|
|
90
|
-
"@eslint/js": "^9.39.4",
|
|
91
|
-
"@rollup/plugin-alias": "^5.1.1",
|
|
92
|
-
"@storybook/addon-essentials": "^8.4.7",
|
|
93
|
-
"@storybook/addon-interactions": "^8.4.7",
|
|
94
|
-
"@storybook/addon-links": "^8.4.7",
|
|
95
|
-
"@storybook/addon-mdx-gfm": "^8.4.7",
|
|
96
|
-
"@storybook/addon-onboarding": "^8.4.7",
|
|
97
|
-
"@storybook/addon-themes": "^8.4.7",
|
|
98
|
-
"@storybook/blocks": "^8.4.7",
|
|
99
|
-
"@storybook/react": "^8.6.14",
|
|
100
|
-
"@storybook/react-vite": "^8.4.7",
|
|
101
|
-
"@storybook/test": "^8.6.14",
|
|
102
|
-
"@svgr/core": "^8.1.0",
|
|
103
|
-
"@svgr/plugin-prettier": "^8.1.0",
|
|
104
|
-
"@svgr/plugin-svgo": "^8.1.0",
|
|
105
|
-
"@types/lodash": "^4.17.17",
|
|
106
|
-
"@types/node": "^20.19.0",
|
|
107
|
-
"@types/react": "^19.0.0",
|
|
108
|
-
"@types/react-date-range": "^1.4.9",
|
|
109
|
-
"@types/react-datepicker": "^6.2.0",
|
|
110
|
-
"@types/react-dom": "^19.0.0",
|
|
111
|
-
"@types/react-slick": "^0.23.13",
|
|
112
|
-
"@typescript-eslint/eslint-plugin": "^8.0.0",
|
|
113
|
-
"@typescript-eslint/parser": "^8.0.0",
|
|
114
|
-
"@vanilla-extract/css-utils": "^0.1.4",
|
|
115
|
-
"@vanilla-extract/recipes": "^0.5.5",
|
|
116
|
-
"@vanilla-extract/vite-plugin": "^4.0.18",
|
|
117
|
-
"@vitejs/plugin-react-swc": "^3.7.2",
|
|
118
|
-
"esbuild-vanilla-image-loader": "^0.1.3",
|
|
119
|
-
"eslint": "^9.0.0",
|
|
120
|
-
"eslint-plugin-react-hooks": "^5.1.0",
|
|
121
|
-
"eslint-plugin-react-refresh": "^0.4.16",
|
|
122
|
-
"eslint-plugin-storybook": "^0.8.0",
|
|
123
|
-
"glob": "^10.4.5",
|
|
124
|
-
"globals": "^15.15.0",
|
|
125
|
-
"husky": "^9.1.7",
|
|
126
|
-
"next": "^16.0.0",
|
|
127
|
-
"prettier": "3.2.5",
|
|
128
|
-
"react": "^19.0.0",
|
|
129
|
-
"react-dom": "^19.0.0",
|
|
130
|
-
"rollup-plugin-preserve-directives": "^0.4.0",
|
|
131
|
-
"rollup-plugin-svg-import": "^3.0.0",
|
|
132
|
-
"rollup-plugin-svgo": "^2.0.0",
|
|
133
|
-
"storybook": "^8.4.7",
|
|
134
|
-
"typescript": "^5.7.2",
|
|
135
|
-
"typescript-eslint": "^8.57.0",
|
|
136
|
-
"typescript-plugin-css-modules": "^5.1.0",
|
|
137
|
-
"vite": "^5.4.11",
|
|
138
|
-
"vite-plugin-dts": "^3.9.1",
|
|
139
|
-
"vite-plugin-lib-inject-css": "^2.1.1",
|
|
140
|
-
"vite-plugin-setting-css-module": "^1.1.4",
|
|
141
|
-
"vite-tsconfig-paths": "^4.3.2"
|
|
142
|
-
},
|
|
143
|
-
"directories": {
|
|
144
|
-
"lib": "lib"
|
|
145
|
-
},
|
|
146
|
-
"author": "axos-web-dev",
|
|
147
|
-
"license": "ISC"
|
|
148
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@axos-web-dev/shared-components",
|
|
3
|
+
"description": "Axos shared components library for web.",
|
|
4
|
+
"version": "2.0.0-dev.14-modal-iFrame",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "index.js",
|
|
7
|
+
"module": "dist/main.js",
|
|
8
|
+
"types": "dist/main.d.ts",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"types": "./dist/main.d.ts",
|
|
12
|
+
"import": "./dist/main.js"
|
|
13
|
+
},
|
|
14
|
+
"./styles.css": "./dist/assets/index.css",
|
|
15
|
+
"./globals.css": "./dist/assets/globals.css",
|
|
16
|
+
"./themes/axos.css": "./dist/assets/themes/axos.css",
|
|
17
|
+
"./themes/premier.css": "./dist/assets/themes/premier.css",
|
|
18
|
+
"./dist/*": "./dist/*"
|
|
19
|
+
},
|
|
20
|
+
"files": [
|
|
21
|
+
"dist"
|
|
22
|
+
],
|
|
23
|
+
"sideEffects": [
|
|
24
|
+
"dist/assets/**/*.css"
|
|
25
|
+
],
|
|
26
|
+
"scripts": {
|
|
27
|
+
"dev": "vite",
|
|
28
|
+
"build": "tsc --p ./tsconfig.build.json && vite build",
|
|
29
|
+
"lint": "eslint . --report-unused-disable-directives --max-warnings 0",
|
|
30
|
+
"preview": "vite preview",
|
|
31
|
+
"prepublishOnly": "npm run build",
|
|
32
|
+
"check-types": "tsc --pretty --noEmit",
|
|
33
|
+
"check-format": "prettier --check .",
|
|
34
|
+
"check-lint": "eslint .",
|
|
35
|
+
"format": "prettier --write .",
|
|
36
|
+
"test-all": "npm run check-format && npm run check-lint && npm run check-types && npm run build",
|
|
37
|
+
"prepare": "husky",
|
|
38
|
+
"storybook": "storybook dev -p 6006",
|
|
39
|
+
"build-storybook": "storybook build",
|
|
40
|
+
"npm:link": "npm run build && npm link"
|
|
41
|
+
},
|
|
42
|
+
"dependencies": {
|
|
43
|
+
"@headlessui/react": "^2.2.0",
|
|
44
|
+
"@hookform/resolvers": "^5.0.1",
|
|
45
|
+
"@next-safe-action/adapter-react-hook-form": "^2.0.2",
|
|
46
|
+
"@react-input/mask": "^1.2.15",
|
|
47
|
+
"@react-input/number-format": "^1.1.3",
|
|
48
|
+
"@storybook/icons": "^1.3.0",
|
|
49
|
+
"@storybook/preview-api": "^8.4.7",
|
|
50
|
+
"@ts-stack/markdown": "^1.5.0",
|
|
51
|
+
"@types/iframe-resizer": "3.5.13",
|
|
52
|
+
"@ujet/websdk-headless": "^3.41.4",
|
|
53
|
+
"@vanilla-extract/css": "^1.16.1",
|
|
54
|
+
"@vanilla-extract/recipes": "^0.5.1 || ^0.5.5",
|
|
55
|
+
"antd": "^5.22.5",
|
|
56
|
+
"clsx": "^2.1.1",
|
|
57
|
+
"framer-motion": "^12.9.2",
|
|
58
|
+
"iframe-resizer": "^3.6.6",
|
|
59
|
+
"lodash": "^4.17.21",
|
|
60
|
+
"moment": "^2.30.1",
|
|
61
|
+
"next-safe-action": "^8.0.2",
|
|
62
|
+
"react-date-picker": "^11.0.0",
|
|
63
|
+
"react-date-range": "^2.0.1",
|
|
64
|
+
"react-hook-form": "^7.56.4",
|
|
65
|
+
"react-markdown": "^9.1.0",
|
|
66
|
+
"react-slick": "^0.30.2",
|
|
67
|
+
"react-use": "^17.6.0",
|
|
68
|
+
"react-wrap-balancer": "^1.1.1",
|
|
69
|
+
"remark-gfm": "^4.0.1",
|
|
70
|
+
"rsuite": "^5.75.0",
|
|
71
|
+
"slick-carousel": "^1.8.1",
|
|
72
|
+
"typed-css-modules": "^0.9.1",
|
|
73
|
+
"vite-plugin-svgr": "^4.3.0",
|
|
74
|
+
"zod": "^3.24.1",
|
|
75
|
+
"zustand": "^4.5.5"
|
|
76
|
+
},
|
|
77
|
+
"peerDependencies": {
|
|
78
|
+
"@vanilla-extract/css-utils": "^0.1.3 || ^0.1.4",
|
|
79
|
+
"@vanilla-extract/recipes": "^0.5.1 || ^0.5.5",
|
|
80
|
+
"@vanilla-extract/vite-plugin": "^4.0.3 || ^4.0.18",
|
|
81
|
+
"next": "^14.1.4 || ^15.0.0 || ^16.0.0",
|
|
82
|
+
"react": "^18.2.0 || ^19.0.0",
|
|
83
|
+
"react-date-range": "^2.0.1",
|
|
84
|
+
"react-dom": "^18.2.0 || ^19.0.0",
|
|
85
|
+
"react-slick": "^0.30.2",
|
|
86
|
+
"slick-carousel": "^1.8.1"
|
|
87
|
+
},
|
|
88
|
+
"devDependencies": {
|
|
89
|
+
"@chromatic-com/storybook": "^1.9.0",
|
|
90
|
+
"@eslint/js": "^9.39.4",
|
|
91
|
+
"@rollup/plugin-alias": "^5.1.1",
|
|
92
|
+
"@storybook/addon-essentials": "^8.4.7",
|
|
93
|
+
"@storybook/addon-interactions": "^8.4.7",
|
|
94
|
+
"@storybook/addon-links": "^8.4.7",
|
|
95
|
+
"@storybook/addon-mdx-gfm": "^8.4.7",
|
|
96
|
+
"@storybook/addon-onboarding": "^8.4.7",
|
|
97
|
+
"@storybook/addon-themes": "^8.4.7",
|
|
98
|
+
"@storybook/blocks": "^8.4.7",
|
|
99
|
+
"@storybook/react": "^8.6.14",
|
|
100
|
+
"@storybook/react-vite": "^8.4.7",
|
|
101
|
+
"@storybook/test": "^8.6.14",
|
|
102
|
+
"@svgr/core": "^8.1.0",
|
|
103
|
+
"@svgr/plugin-prettier": "^8.1.0",
|
|
104
|
+
"@svgr/plugin-svgo": "^8.1.0",
|
|
105
|
+
"@types/lodash": "^4.17.17",
|
|
106
|
+
"@types/node": "^20.19.0",
|
|
107
|
+
"@types/react": "^19.0.0",
|
|
108
|
+
"@types/react-date-range": "^1.4.9",
|
|
109
|
+
"@types/react-datepicker": "^6.2.0",
|
|
110
|
+
"@types/react-dom": "^19.0.0",
|
|
111
|
+
"@types/react-slick": "^0.23.13",
|
|
112
|
+
"@typescript-eslint/eslint-plugin": "^8.0.0",
|
|
113
|
+
"@typescript-eslint/parser": "^8.0.0",
|
|
114
|
+
"@vanilla-extract/css-utils": "^0.1.4",
|
|
115
|
+
"@vanilla-extract/recipes": "^0.5.5",
|
|
116
|
+
"@vanilla-extract/vite-plugin": "^4.0.18",
|
|
117
|
+
"@vitejs/plugin-react-swc": "^3.7.2",
|
|
118
|
+
"esbuild-vanilla-image-loader": "^0.1.3",
|
|
119
|
+
"eslint": "^9.0.0",
|
|
120
|
+
"eslint-plugin-react-hooks": "^5.1.0",
|
|
121
|
+
"eslint-plugin-react-refresh": "^0.4.16",
|
|
122
|
+
"eslint-plugin-storybook": "^0.8.0",
|
|
123
|
+
"glob": "^10.4.5",
|
|
124
|
+
"globals": "^15.15.0",
|
|
125
|
+
"husky": "^9.1.7",
|
|
126
|
+
"next": "^16.0.0",
|
|
127
|
+
"prettier": "3.2.5",
|
|
128
|
+
"react": "^19.0.0",
|
|
129
|
+
"react-dom": "^19.0.0",
|
|
130
|
+
"rollup-plugin-preserve-directives": "^0.4.0",
|
|
131
|
+
"rollup-plugin-svg-import": "^3.0.0",
|
|
132
|
+
"rollup-plugin-svgo": "^2.0.0",
|
|
133
|
+
"storybook": "^8.4.7",
|
|
134
|
+
"typescript": "^5.7.2",
|
|
135
|
+
"typescript-eslint": "^8.57.0",
|
|
136
|
+
"typescript-plugin-css-modules": "^5.1.0",
|
|
137
|
+
"vite": "^5.4.11",
|
|
138
|
+
"vite-plugin-dts": "^3.9.1",
|
|
139
|
+
"vite-plugin-lib-inject-css": "^2.1.1",
|
|
140
|
+
"vite-plugin-setting-css-module": "^1.1.4",
|
|
141
|
+
"vite-tsconfig-paths": "^4.3.2"
|
|
142
|
+
},
|
|
143
|
+
"directories": {
|
|
144
|
+
"lib": "lib"
|
|
145
|
+
},
|
|
146
|
+
"author": "axos-web-dev",
|
|
147
|
+
"license": "ISC"
|
|
148
|
+
}
|