@axos-web-dev/shared-components 1.0.100-dev.70-slow-msg → 1.0.100-dev.70-calcDisclosure
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/Calculators/AxosOneCalculator/index.js +1 -1
- package/dist/Chatbot/ChatWindow.js +2 -3
- package/dist/Chatbot/Chatbot.js +13 -28
- package/dist/Chatbot/store/chat.d.ts +0 -3
- package/dist/Chatbot/store/chat.js +2 -6
- package/dist/ImageBillboard/ImageBillboardSet.js +12 -6
- package/dist/NavigationMenu/AxosBank/MobileMenu/MobileMenu.module.js +27 -27
- package/dist/assets/Chatbot/ChatWindow.css +4 -9
- package/dist/assets/NavigationMenu/AxosBank/MobileMenu/MobileMenu.css.css +353 -353
- package/package.json +136 -136
|
@@ -228,7 +228,7 @@ const AxosOneCalculator = ({
|
|
|
228
228
|
id
|
|
229
229
|
)
|
|
230
230
|
) }),
|
|
231
|
-
|
|
231
|
+
disclosure && /* @__PURE__ */ jsx("div", { className: ax1_calc_disclosure({ variant: calc_variant }), children: disclosure })
|
|
232
232
|
] }) });
|
|
233
233
|
};
|
|
234
234
|
export {
|
|
@@ -51,7 +51,6 @@ const ChatWindow = ({
|
|
|
51
51
|
const messagesEndRef = useRef(null);
|
|
52
52
|
const inputRef = useRef(null);
|
|
53
53
|
const isOpen = useOpenChat((state2) => state2.isOpen);
|
|
54
|
-
const isBlockedInput = useOpenChat((state2) => state2.isBlockedInput);
|
|
55
54
|
useEffect(() => {
|
|
56
55
|
messagesEndRef.current?.scrollIntoView({ behavior: "smooth" });
|
|
57
56
|
}, [messages]);
|
|
@@ -478,7 +477,7 @@ const ChatWindow = ({
|
|
|
478
477
|
placeholder: "Ask anything...",
|
|
479
478
|
className: clsx(inputStyle, autoResize),
|
|
480
479
|
autoFocus: true,
|
|
481
|
-
disabled:
|
|
480
|
+
disabled: inputDisabled || status !== "connected" || messages.length == 0 || escalationDeflected,
|
|
482
481
|
rows: 1
|
|
483
482
|
}
|
|
484
483
|
),
|
|
@@ -491,7 +490,7 @@ const ChatWindow = ({
|
|
|
491
490
|
),
|
|
492
491
|
type: "submit",
|
|
493
492
|
title: "Send message",
|
|
494
|
-
disabled:
|
|
493
|
+
disabled: inputDisabled || status !== "connected" || !input.trim() || messages.length == 0 || escalationDeflected,
|
|
495
494
|
children: /* @__PURE__ */ jsx(
|
|
496
495
|
"svg",
|
|
497
496
|
{
|
package/dist/Chatbot/Chatbot.js
CHANGED
|
@@ -20,9 +20,7 @@ const Chatbot = ({
|
|
|
20
20
|
reset,
|
|
21
21
|
startEscalation,
|
|
22
22
|
hasEscalated,
|
|
23
|
-
endEscalation
|
|
24
|
-
blockInput,
|
|
25
|
-
unblockInput
|
|
23
|
+
endEscalation
|
|
26
24
|
} = useOpenChat();
|
|
27
25
|
const { addMessage, addMessages, clearMessages, messages } = useMessages();
|
|
28
26
|
const clientRef = useRef(null);
|
|
@@ -119,7 +117,6 @@ const Chatbot = ({
|
|
|
119
117
|
addMessage(message);
|
|
120
118
|
if (["end_user"].includes(message.$userType)) {
|
|
121
119
|
if (!hasEscalated) {
|
|
122
|
-
unblockInput?.();
|
|
123
120
|
addMessage(typingMessage);
|
|
124
121
|
}
|
|
125
122
|
}
|
|
@@ -160,28 +157,19 @@ const Chatbot = ({
|
|
|
160
157
|
const onChatConnectedHandler = async () => {
|
|
161
158
|
setStatus("connected");
|
|
162
159
|
console.log("connected");
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
)
|
|
176
|
-
);
|
|
177
|
-
console.log(hasEscalation);
|
|
178
|
-
if (hasEscalation) {
|
|
179
|
-
setScalationStarted(true);
|
|
180
|
-
startEscalation?.();
|
|
181
|
-
}
|
|
160
|
+
const messages2 = await clientRef.current?.fetchMessages();
|
|
161
|
+
if (messages2) {
|
|
162
|
+
addMessages(messages2);
|
|
163
|
+
const hasEscalation = messages2.some(
|
|
164
|
+
(msg) => msg.$userType === "user" || ["escalationAccepted", "escalationStarted"].includes(
|
|
165
|
+
msg.event
|
|
166
|
+
)
|
|
167
|
+
);
|
|
168
|
+
console.log(hasEscalation);
|
|
169
|
+
if (hasEscalation) {
|
|
170
|
+
setScalationStarted(true);
|
|
171
|
+
startEscalation?.();
|
|
182
172
|
}
|
|
183
|
-
} catch (error) {
|
|
184
|
-
console.error("Error fetching messages on chat connected:", error);
|
|
185
173
|
}
|
|
186
174
|
};
|
|
187
175
|
const registerEventHandlers = () => {
|
|
@@ -291,9 +279,6 @@ const Chatbot = ({
|
|
|
291
279
|
const onSendMessage = async (msg) => {
|
|
292
280
|
console.log("Sending message:", msg);
|
|
293
281
|
await clientRef.current?.sendTextMessage(msg);
|
|
294
|
-
if (!hasEscalated) {
|
|
295
|
-
blockInput?.();
|
|
296
|
-
}
|
|
297
282
|
};
|
|
298
283
|
const onEndChat = async () => {
|
|
299
284
|
console.log("Ending chat");
|
|
@@ -11,9 +11,6 @@ interface OpenChatState {
|
|
|
11
11
|
hasEscalated?: boolean;
|
|
12
12
|
startEscalation?: () => void;
|
|
13
13
|
endEscalation?: () => void;
|
|
14
|
-
isBlockedInput?: boolean;
|
|
15
|
-
blockInput?: () => void;
|
|
16
|
-
unblockInput?: () => void;
|
|
17
14
|
}
|
|
18
15
|
export declare const useOpenChat: import('zustand').UseBoundStore<import('zustand').StoreApi<OpenChatState>>;
|
|
19
16
|
export {};
|
|
@@ -17,16 +17,12 @@ const useOpenChat = create((set, get) => ({
|
|
|
17
17
|
hasOpenedOnce: false,
|
|
18
18
|
isOpen: false,
|
|
19
19
|
showThankyouMessage: false,
|
|
20
|
-
hasEscalated: false
|
|
21
|
-
isBlockedInput: false
|
|
20
|
+
hasEscalated: false
|
|
22
21
|
}),
|
|
23
22
|
displayThankyouMessage: () => set({ showThankyouMessage: true }),
|
|
24
23
|
toggleThankyouMessage: () => set((state) => ({ showThankyouMessage: !state.showThankyouMessage })),
|
|
25
24
|
startEscalation: () => set({ hasEscalated: true }),
|
|
26
|
-
endEscalation: () => set({ hasEscalated: false })
|
|
27
|
-
isBlockedInput: false,
|
|
28
|
-
blockInput: () => set({ isBlockedInput: true }),
|
|
29
|
-
unblockInput: () => set({ isBlockedInput: false })
|
|
25
|
+
endEscalation: () => set({ hasEscalated: false })
|
|
30
26
|
}));
|
|
31
27
|
export {
|
|
32
28
|
useOpenChat
|
|
@@ -99,7 +99,7 @@ const ImageBillboard = ({
|
|
|
99
99
|
image?.imageType === "Image" ? image_based : ""
|
|
100
100
|
),
|
|
101
101
|
children: [
|
|
102
|
-
/* @__PURE__ */ jsx("div", { className: `${billboard_img} flex`, children: image && image.src ? /* @__PURE__ */ jsx(Fragment, { children: image?.imageType === "Image" ? /* @__PURE__ */ jsx(
|
|
102
|
+
(image || video || textImageLineOneSmall || textImageLineTwoBig || textImageLineThreeSmall) && /* @__PURE__ */ jsx("div", { className: `${billboard_img} flex`, children: image && image.src ? /* @__PURE__ */ jsx(Fragment, { children: image?.imageType === "Image" ? /* @__PURE__ */ jsx(
|
|
103
103
|
"div",
|
|
104
104
|
{
|
|
105
105
|
role: "presentation",
|
|
@@ -148,11 +148,17 @@ const ImageBillboard = ({
|
|
|
148
148
|
"flex_row middle center"
|
|
149
149
|
),
|
|
150
150
|
role: "presentation",
|
|
151
|
-
children: /* @__PURE__ */ jsxs(
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
151
|
+
children: /* @__PURE__ */ jsxs(
|
|
152
|
+
"div",
|
|
153
|
+
{
|
|
154
|
+
className: clsx(rate_pad, "text_center", "flex", "flex_col"),
|
|
155
|
+
children: [
|
|
156
|
+
/* @__PURE__ */ jsx("span", { className: up_to, children: textImageLineOneSmall }),
|
|
157
|
+
/* @__PURE__ */ jsx("span", { className: rate_billboard, children: textImageLineTwoBig }),
|
|
158
|
+
/* @__PURE__ */ jsx("span", { className: clsx(apy_billboard, "push_up"), children: textImageLineThreeSmall })
|
|
159
|
+
]
|
|
160
|
+
}
|
|
161
|
+
)
|
|
156
162
|
}
|
|
157
163
|
) }),
|
|
158
164
|
/* @__PURE__ */ jsxs("div", { className: body, children: [
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import '../../../assets/NavigationMenu/AxosBank/MobileMenu/MobileMenu.css.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.css';const overlay = "_overlay_7ufer_1";
|
|
2
|
+
const drawer = "_drawer_7ufer_9";
|
|
3
|
+
const mobileNavRow = "_mobileNavRow_7ufer_29";
|
|
4
|
+
const loginTrigger = "_loginTrigger_7ufer_35";
|
|
5
|
+
const hamburger = "_hamburger_7ufer_51";
|
|
6
|
+
const loginDrawerTitle = "_loginDrawerTitle_7ufer_73";
|
|
7
|
+
const loginDrawerContent = "_loginDrawerContent_7ufer_79";
|
|
8
|
+
const header = "_header_7ufer_85";
|
|
9
|
+
const back = "_back_7ufer_96";
|
|
10
|
+
const close = "_close_7ufer_104";
|
|
11
|
+
const levelContainer = "_levelContainer_7ufer_115";
|
|
12
|
+
const level = "_level_7ufer_115";
|
|
13
|
+
const levelTitle = "_levelTitle_7ufer_131";
|
|
14
|
+
const menu = "_menu_7ufer_136";
|
|
15
|
+
const menuItem = "_menuItem_7ufer_152";
|
|
16
|
+
const loginAccordion = "_loginAccordion_7ufer_168";
|
|
17
|
+
const loginAccordionList = "_loginAccordionList_7ufer_172";
|
|
18
|
+
const loginAccordionGroup = "_loginAccordionGroup_7ufer_178";
|
|
19
|
+
const loginAccordionHeading = "_loginAccordionHeading_7ufer_215";
|
|
20
|
+
const loginAccordionGroupList = "_loginAccordionGroupList_7ufer_225";
|
|
21
|
+
const loginHeading = "_loginHeading_7ufer_269";
|
|
22
|
+
const chevron = "_chevron_7ufer_279";
|
|
23
|
+
const chevronIcon = "_chevronIcon_7ufer_284";
|
|
24
|
+
const quickLinks = "_quickLinks_7ufer_295";
|
|
25
|
+
const quickLink = "_quickLink_7ufer_295";
|
|
26
|
+
const sr_only = "_sr_only_7ufer_319";
|
|
27
|
+
const loginAccordionOverlay = "_loginAccordionOverlay_7ufer_344";
|
|
28
28
|
const styles = {
|
|
29
29
|
overlay,
|
|
30
30
|
drawer,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
@keyframes _13n1jqku {
|
|
2
2
|
0% {
|
|
3
|
-
background-position: 200% 0;
|
|
3
|
+
background-position: -200% 0;
|
|
4
4
|
}
|
|
5
5
|
100% {
|
|
6
|
-
background-position:
|
|
6
|
+
background-position: 200% 0;
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
._13n1jqk0 {
|
|
@@ -301,13 +301,8 @@ button:has(span:hover) ._13n1jqk6 {
|
|
|
301
301
|
border-bottom-right-radius: 32px;
|
|
302
302
|
}
|
|
303
303
|
._13n1jqkv {
|
|
304
|
-
background: linear-gradient(
|
|
305
|
-
|
|
306
|
-
var(--_1073cm819) 0%,
|
|
307
|
-
rgba(255,255,255,0.8) 50%,
|
|
308
|
-
var(--_1073cm819) 100%
|
|
309
|
-
);
|
|
310
|
-
background-size: 200% auto;
|
|
304
|
+
background: linear-gradient(90deg, var(--_1073cm819) 0%, rgba(255,255,255,0.8) 50%, var(--_1073cm819) 100%);
|
|
305
|
+
background-size: 200% 100%;
|
|
311
306
|
background-clip: text;
|
|
312
307
|
-webkit-background-clip: text;
|
|
313
308
|
color: transparent;
|
|
@@ -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_7ufer_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_7ufer_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_7ufer_9::-webkit-scrollbar {
|
|
26
|
+
display: none;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
._mobileNavRow_7ufer_29 {
|
|
30
|
+
display: flex;
|
|
31
|
+
align-items: center;
|
|
32
|
+
gap: 16px;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
._loginTrigger_7ufer_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_7ufer_35:hover {
|
|
48
|
+
opacity: 0.85;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
._hamburger_7ufer_51 {
|
|
52
|
+
background: transparent;
|
|
53
|
+
border: none;
|
|
54
|
+
cursor: pointer;
|
|
55
|
+
transition: opacity 0.3s ease;
|
|
56
|
+
position: relative;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
._hamburger_7ufer_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_7ufer_51:hover {
|
|
70
|
+
opacity: 0.8;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
._loginDrawerTitle_7ufer_73 {
|
|
74
|
+
font-weight: 700;
|
|
75
|
+
font-size: 1rem;
|
|
76
|
+
color: var(--_1073cm83);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
._loginDrawerContent_7ufer_79 {
|
|
80
|
+
padding: 1rem 1.2rem 1.2rem;
|
|
81
|
+
overflow: auto;
|
|
82
|
+
flex: 1;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
._header_7ufer_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_7ufer_96 {
|
|
97
|
+
color: var(--_1073cm83);
|
|
98
|
+
font-size: 1rem;
|
|
99
|
+
font-weight: 700;
|
|
100
|
+
line-height: 1;
|
|
101
|
+
padding: 0;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
._close_7ufer_104 {
|
|
105
|
+
font-size: 1.3rem;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
._back_7ufer_96,
|
|
109
|
+
._close_7ufer_104 {
|
|
110
|
+
background: none;
|
|
111
|
+
border: none;
|
|
112
|
+
cursor: pointer;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
._levelContainer_7ufer_115 {
|
|
116
|
+
height: 100%;
|
|
117
|
+
position: relative;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
._level_7ufer_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_7ufer_131 {
|
|
132
|
+
font: 700 0.9rem / 1.39 var(--main-font-family);
|
|
133
|
+
letter-spacing: 0.4px;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
._menu_7ufer_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_7ufer_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_7ufer_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_7ufer_168 {
|
|
169
|
+
padding: 0;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
._loginAccordionList_7ufer_172 {
|
|
173
|
+
list-style: none;
|
|
174
|
+
margin: 0;
|
|
175
|
+
padding: 0;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
._loginAccordionGroup_7ufer_178 {
|
|
179
|
+
padding-block: 4px;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
._loginAccordionGroup_7ufer_178 + ._loginAccordionGroup_7ufer_178 {
|
|
183
|
+
margin-top: 2px;
|
|
184
|
+
position: relative;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
._loginAccordionGroup_7ufer_178:nth-child(4):is(:last-child) {
|
|
188
|
+
padding-top: 12px;
|
|
189
|
+
margin-top: 12px;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
._loginAccordionGroup_7ufer_178:nth-child(4):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_7ufer_178:nth-child(4):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_7ufer_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_7ufer_225 {
|
|
226
|
+
list-style: none;
|
|
227
|
+
margin: 0;
|
|
228
|
+
padding: 0 0 0 8px;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
._loginAccordionList_7ufer_172 li {
|
|
232
|
+
font-family: var(--header-font-family);
|
|
233
|
+
font-weight: 500;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
._loginAccordionList_7ufer_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_7ufer_172 ._menuItem_7ufer_152 {
|
|
245
|
+
display: inline;
|
|
246
|
+
padding-block: 0px;
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
._loginAccordionList_7ufer_172 ._menuItem_7ufer_152:hover {
|
|
250
|
+
opacity: 0.7;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
._loginAccordion_7ufer_168 > ._menuItem_7ufer_152 {
|
|
254
|
+
padding-block: 4px;
|
|
255
|
+
position: relative;
|
|
256
|
+
isolation: isolate;
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
._loginAccordion_7ufer_168 > ._menuItem_7ufer_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_7ufer_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_7ufer_279 {
|
|
280
|
+
font-size: 1.2rem;
|
|
281
|
+
margin-left: auto;
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
._chevronIcon_7ufer_284 {
|
|
285
|
+
height: auto;
|
|
286
|
+
margin-right: 10px;
|
|
287
|
+
max-width: 8px;
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
body:has(._drawer_7ufer_9) {
|
|
291
|
+
overflow-y: hidden;
|
|
292
|
+
position: relative;
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
._quickLinks_7ufer_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_7ufer_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_7ufer_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_7ufer_9 {
|
|
333
|
+
border-radius: 0;
|
|
334
|
+
max-width: none;
|
|
335
|
+
width: 100%;
|
|
336
|
+
}
|
|
337
|
+
._menu_7ufer_136 li + li {
|
|
338
|
+
margin-top: 3px;
|
|
339
|
+
}
|
|
340
|
+
._menuItem_7ufer_152 {
|
|
341
|
+
font-size: 0.9rem;
|
|
342
|
+
padding: 0.65rem 0;
|
|
343
|
+
}
|
|
344
|
+
._loginAccordionOverlay_7ufer_344::before {
|
|
345
|
+
opacity: 0.1;
|
|
346
|
+
}
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
@media (min-width: 541px) {
|
|
350
|
+
._drawer_7ufer_9:has(._loginDrawerContent_7ufer_79) {
|
|
351
|
+
max-width: 345px;
|
|
352
|
+
}
|
|
353
|
+
}
|
package/package.json
CHANGED
|
@@ -1,136 +1,136 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@axos-web-dev/shared-components",
|
|
3
|
-
"description": "Axos shared components library for web.",
|
|
4
|
-
"version": "1.0.100-dev.70-
|
|
5
|
-
"type": "module",
|
|
6
|
-
"module": "dist/main.js",
|
|
7
|
-
"types": "dist/main.d.ts",
|
|
8
|
-
"files": [
|
|
9
|
-
"dist"
|
|
10
|
-
],
|
|
11
|
-
"sideEffects": [
|
|
12
|
-
"dist/assets/**/*.css"
|
|
13
|
-
],
|
|
14
|
-
"scripts": {
|
|
15
|
-
"dev": "vite",
|
|
16
|
-
"build": "tsc --p ./tsconfig.build.json && vite build",
|
|
17
|
-
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
|
18
|
-
"preview": "vite preview",
|
|
19
|
-
"prepublishOnly": "npm run build",
|
|
20
|
-
"check-types": "tsc --pretty --noEmit",
|
|
21
|
-
"check-format": "prettier --check .",
|
|
22
|
-
"check-lint": "eslint . --ext ts --ext tsx --ext js",
|
|
23
|
-
"format": "prettier --write .",
|
|
24
|
-
"test-all": "npm run check-format && npm run check-lint && npm run check-types && npm run build",
|
|
25
|
-
"prepare": "husky",
|
|
26
|
-
"storybook": "storybook dev -p 6006",
|
|
27
|
-
"build-storybook": "storybook build",
|
|
28
|
-
"npm:link": "npm run build && npm link"
|
|
29
|
-
},
|
|
30
|
-
"dependencies": {
|
|
31
|
-
"@headlessui/react": "^2.2.0",
|
|
32
|
-
"@hookform/resolvers": "^3.10.0",
|
|
33
|
-
"@next-safe-action/adapter-react-hook-form": "^2.0.0",
|
|
34
|
-
"@react-input/mask": "^1.2.15",
|
|
35
|
-
"@react-input/number-format": "^1.1.3",
|
|
36
|
-
"@storybook/icons": "^1.3.0",
|
|
37
|
-
"@storybook/preview-api": "^8.4.7",
|
|
38
|
-
"@ts-stack/markdown": "^1.5.0",
|
|
39
|
-
"@types/iframe-resizer": "3.5.13",
|
|
40
|
-
"@ujet/websdk-headless": "^3.41.4",
|
|
41
|
-
"@vanilla-extract/css": "^1.16.1",
|
|
42
|
-
"@vanilla-extract/recipes": "^0.5.1",
|
|
43
|
-
"antd": "^5.22.5",
|
|
44
|
-
"clsx": "^2.1.1",
|
|
45
|
-
"framer-motion": "^12.9.2",
|
|
46
|
-
"iframe-resizer": "^3.6.6",
|
|
47
|
-
"lodash": "^4.17.21",
|
|
48
|
-
"moment": "^2.30.1",
|
|
49
|
-
"next-safe-action": "^8.0.2",
|
|
50
|
-
"react-date-picker": "^11.0.0",
|
|
51
|
-
"react-date-range": "^2.0.1",
|
|
52
|
-
"react-hook-form": "^7.54.2",
|
|
53
|
-
"react-markdown": "^9.1.0",
|
|
54
|
-
"react-popper": "^2.3.0",
|
|
55
|
-
"react-slick": "^0.30.2",
|
|
56
|
-
"react-use": "^17.6.0",
|
|
57
|
-
"react-wrap-balancer": "^1.1.1",
|
|
58
|
-
"remark-gfm": "^4.0.1",
|
|
59
|
-
"rsuite": "^5.75.0",
|
|
60
|
-
"slick-carousel": "^1.8.1",
|
|
61
|
-
"typed-css-modules": "^0.9.1",
|
|
62
|
-
"vite-plugin-svgr": "^4.3.0",
|
|
63
|
-
"zod": "^3.24.1",
|
|
64
|
-
"zustand": "^4.5.5"
|
|
65
|
-
},
|
|
66
|
-
"peerDependencies": {
|
|
67
|
-
"@vanilla-extract/css-utils": "^0.1.3",
|
|
68
|
-
"@vanilla-extract/recipes": "^0.5.1",
|
|
69
|
-
"@vanilla-extract/vite-plugin": "^4.0.3",
|
|
70
|
-
"next": "^14.1.4",
|
|
71
|
-
"react": "^18.2.0",
|
|
72
|
-
"react-date-range": "^2.0.1",
|
|
73
|
-
"react-dom": "^18.2.0",
|
|
74
|
-
"react-popper": "^2.3.0",
|
|
75
|
-
"react-slick": "^0.30.2",
|
|
76
|
-
"slick-carousel": "^1.8.1"
|
|
77
|
-
},
|
|
78
|
-
"devDependencies": {
|
|
79
|
-
"@chromatic-com/storybook": "^1.9.0",
|
|
80
|
-
"@rollup/plugin-alias": "^5.1.1",
|
|
81
|
-
"@storybook/addon-essentials": "^8.4.7",
|
|
82
|
-
"@storybook/addon-interactions": "^8.4.7",
|
|
83
|
-
"@storybook/addon-links": "^8.4.7",
|
|
84
|
-
"@storybook/addon-mdx-gfm": "^8.4.7",
|
|
85
|
-
"@storybook/addon-onboarding": "^8.4.7",
|
|
86
|
-
"@storybook/addon-themes": "^8.4.7",
|
|
87
|
-
"@storybook/blocks": "^8.4.7",
|
|
88
|
-
"@storybook/react": "^8.6.14",
|
|
89
|
-
"@storybook/react-vite": "^8.4.7",
|
|
90
|
-
"@storybook/test": "^8.6.14",
|
|
91
|
-
"@svgr/core": "^8.1.0",
|
|
92
|
-
"@svgr/plugin-prettier": "^8.1.0",
|
|
93
|
-
"@svgr/plugin-svgo": "^8.1.0",
|
|
94
|
-
"@types/lodash": "^4.17.17",
|
|
95
|
-
"@types/node": "^20.19.0",
|
|
96
|
-
"@types/react": "^18.3.23",
|
|
97
|
-
"@types/react-date-range": "^1.4.9",
|
|
98
|
-
"@types/react-datepicker": "^6.2.0",
|
|
99
|
-
"@types/react-dom": "^18.3.7",
|
|
100
|
-
"@types/react-slick": "^0.23.13",
|
|
101
|
-
"@typescript-eslint/eslint-plugin": "^7.18.0",
|
|
102
|
-
"@typescript-eslint/parser": "^7.18.0",
|
|
103
|
-
"@vanilla-extract/css-utils": "^0.1.4",
|
|
104
|
-
"@vanilla-extract/recipes": "^0.5.5",
|
|
105
|
-
"@vanilla-extract/vite-plugin": "^4.0.18",
|
|
106
|
-
"@vitejs/plugin-react-swc": "^3.7.2",
|
|
107
|
-
"esbuild-vanilla-image-loader": "^0.1.3",
|
|
108
|
-
"eslint": "^8.57.1",
|
|
109
|
-
"eslint-plugin-react-hooks": "^4.6.2",
|
|
110
|
-
"eslint-plugin-react-refresh": "^0.4.16",
|
|
111
|
-
"eslint-plugin-storybook": "^0.8.0",
|
|
112
|
-
"glob": "^10.4.5",
|
|
113
|
-
"husky": "^9.1.7",
|
|
114
|
-
"next": "^14.1.4",
|
|
115
|
-
"prettier": "3.2.5",
|
|
116
|
-
"react": "^18.3.1",
|
|
117
|
-
"react-dom": "^18.3.1",
|
|
118
|
-
"rollup-plugin-preserve-directives": "^0.4.0",
|
|
119
|
-
"rollup-plugin-svg-import": "^3.0.0",
|
|
120
|
-
"rollup-plugin-svgo": "^2.0.0",
|
|
121
|
-
"storybook": "^8.4.7",
|
|
122
|
-
"typescript": "^5.7.2",
|
|
123
|
-
"typescript-plugin-css-modules": "^5.1.0",
|
|
124
|
-
"vite": "^5.4.11",
|
|
125
|
-
"vite-plugin-dts": "^3.9.1",
|
|
126
|
-
"vite-plugin-lib-inject-css": "^2.1.1",
|
|
127
|
-
"vite-plugin-setting-css-module": "^1.1.4",
|
|
128
|
-
"vite-tsconfig-paths": "^4.3.2"
|
|
129
|
-
},
|
|
130
|
-
"main": "index.js",
|
|
131
|
-
"directories": {
|
|
132
|
-
"lib": "lib"
|
|
133
|
-
},
|
|
134
|
-
"author": "axos-web-dev",
|
|
135
|
-
"license": "ISC"
|
|
136
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@axos-web-dev/shared-components",
|
|
3
|
+
"description": "Axos shared components library for web.",
|
|
4
|
+
"version": "1.0.100-dev.70-calcDisclosure",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"module": "dist/main.js",
|
|
7
|
+
"types": "dist/main.d.ts",
|
|
8
|
+
"files": [
|
|
9
|
+
"dist"
|
|
10
|
+
],
|
|
11
|
+
"sideEffects": [
|
|
12
|
+
"dist/assets/**/*.css"
|
|
13
|
+
],
|
|
14
|
+
"scripts": {
|
|
15
|
+
"dev": "vite",
|
|
16
|
+
"build": "tsc --p ./tsconfig.build.json && vite build",
|
|
17
|
+
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
|
18
|
+
"preview": "vite preview",
|
|
19
|
+
"prepublishOnly": "npm run build",
|
|
20
|
+
"check-types": "tsc --pretty --noEmit",
|
|
21
|
+
"check-format": "prettier --check .",
|
|
22
|
+
"check-lint": "eslint . --ext ts --ext tsx --ext js",
|
|
23
|
+
"format": "prettier --write .",
|
|
24
|
+
"test-all": "npm run check-format && npm run check-lint && npm run check-types && npm run build",
|
|
25
|
+
"prepare": "husky",
|
|
26
|
+
"storybook": "storybook dev -p 6006",
|
|
27
|
+
"build-storybook": "storybook build",
|
|
28
|
+
"npm:link": "npm run build && npm link"
|
|
29
|
+
},
|
|
30
|
+
"dependencies": {
|
|
31
|
+
"@headlessui/react": "^2.2.0",
|
|
32
|
+
"@hookform/resolvers": "^3.10.0",
|
|
33
|
+
"@next-safe-action/adapter-react-hook-form": "^2.0.0",
|
|
34
|
+
"@react-input/mask": "^1.2.15",
|
|
35
|
+
"@react-input/number-format": "^1.1.3",
|
|
36
|
+
"@storybook/icons": "^1.3.0",
|
|
37
|
+
"@storybook/preview-api": "^8.4.7",
|
|
38
|
+
"@ts-stack/markdown": "^1.5.0",
|
|
39
|
+
"@types/iframe-resizer": "3.5.13",
|
|
40
|
+
"@ujet/websdk-headless": "^3.41.4",
|
|
41
|
+
"@vanilla-extract/css": "^1.16.1",
|
|
42
|
+
"@vanilla-extract/recipes": "^0.5.1",
|
|
43
|
+
"antd": "^5.22.5",
|
|
44
|
+
"clsx": "^2.1.1",
|
|
45
|
+
"framer-motion": "^12.9.2",
|
|
46
|
+
"iframe-resizer": "^3.6.6",
|
|
47
|
+
"lodash": "^4.17.21",
|
|
48
|
+
"moment": "^2.30.1",
|
|
49
|
+
"next-safe-action": "^8.0.2",
|
|
50
|
+
"react-date-picker": "^11.0.0",
|
|
51
|
+
"react-date-range": "^2.0.1",
|
|
52
|
+
"react-hook-form": "^7.54.2",
|
|
53
|
+
"react-markdown": "^9.1.0",
|
|
54
|
+
"react-popper": "^2.3.0",
|
|
55
|
+
"react-slick": "^0.30.2",
|
|
56
|
+
"react-use": "^17.6.0",
|
|
57
|
+
"react-wrap-balancer": "^1.1.1",
|
|
58
|
+
"remark-gfm": "^4.0.1",
|
|
59
|
+
"rsuite": "^5.75.0",
|
|
60
|
+
"slick-carousel": "^1.8.1",
|
|
61
|
+
"typed-css-modules": "^0.9.1",
|
|
62
|
+
"vite-plugin-svgr": "^4.3.0",
|
|
63
|
+
"zod": "^3.24.1",
|
|
64
|
+
"zustand": "^4.5.5"
|
|
65
|
+
},
|
|
66
|
+
"peerDependencies": {
|
|
67
|
+
"@vanilla-extract/css-utils": "^0.1.3",
|
|
68
|
+
"@vanilla-extract/recipes": "^0.5.1",
|
|
69
|
+
"@vanilla-extract/vite-plugin": "^4.0.3",
|
|
70
|
+
"next": "^14.1.4",
|
|
71
|
+
"react": "^18.2.0",
|
|
72
|
+
"react-date-range": "^2.0.1",
|
|
73
|
+
"react-dom": "^18.2.0",
|
|
74
|
+
"react-popper": "^2.3.0",
|
|
75
|
+
"react-slick": "^0.30.2",
|
|
76
|
+
"slick-carousel": "^1.8.1"
|
|
77
|
+
},
|
|
78
|
+
"devDependencies": {
|
|
79
|
+
"@chromatic-com/storybook": "^1.9.0",
|
|
80
|
+
"@rollup/plugin-alias": "^5.1.1",
|
|
81
|
+
"@storybook/addon-essentials": "^8.4.7",
|
|
82
|
+
"@storybook/addon-interactions": "^8.4.7",
|
|
83
|
+
"@storybook/addon-links": "^8.4.7",
|
|
84
|
+
"@storybook/addon-mdx-gfm": "^8.4.7",
|
|
85
|
+
"@storybook/addon-onboarding": "^8.4.7",
|
|
86
|
+
"@storybook/addon-themes": "^8.4.7",
|
|
87
|
+
"@storybook/blocks": "^8.4.7",
|
|
88
|
+
"@storybook/react": "^8.6.14",
|
|
89
|
+
"@storybook/react-vite": "^8.4.7",
|
|
90
|
+
"@storybook/test": "^8.6.14",
|
|
91
|
+
"@svgr/core": "^8.1.0",
|
|
92
|
+
"@svgr/plugin-prettier": "^8.1.0",
|
|
93
|
+
"@svgr/plugin-svgo": "^8.1.0",
|
|
94
|
+
"@types/lodash": "^4.17.17",
|
|
95
|
+
"@types/node": "^20.19.0",
|
|
96
|
+
"@types/react": "^18.3.23",
|
|
97
|
+
"@types/react-date-range": "^1.4.9",
|
|
98
|
+
"@types/react-datepicker": "^6.2.0",
|
|
99
|
+
"@types/react-dom": "^18.3.7",
|
|
100
|
+
"@types/react-slick": "^0.23.13",
|
|
101
|
+
"@typescript-eslint/eslint-plugin": "^7.18.0",
|
|
102
|
+
"@typescript-eslint/parser": "^7.18.0",
|
|
103
|
+
"@vanilla-extract/css-utils": "^0.1.4",
|
|
104
|
+
"@vanilla-extract/recipes": "^0.5.5",
|
|
105
|
+
"@vanilla-extract/vite-plugin": "^4.0.18",
|
|
106
|
+
"@vitejs/plugin-react-swc": "^3.7.2",
|
|
107
|
+
"esbuild-vanilla-image-loader": "^0.1.3",
|
|
108
|
+
"eslint": "^8.57.1",
|
|
109
|
+
"eslint-plugin-react-hooks": "^4.6.2",
|
|
110
|
+
"eslint-plugin-react-refresh": "^0.4.16",
|
|
111
|
+
"eslint-plugin-storybook": "^0.8.0",
|
|
112
|
+
"glob": "^10.4.5",
|
|
113
|
+
"husky": "^9.1.7",
|
|
114
|
+
"next": "^14.1.4",
|
|
115
|
+
"prettier": "3.2.5",
|
|
116
|
+
"react": "^18.3.1",
|
|
117
|
+
"react-dom": "^18.3.1",
|
|
118
|
+
"rollup-plugin-preserve-directives": "^0.4.0",
|
|
119
|
+
"rollup-plugin-svg-import": "^3.0.0",
|
|
120
|
+
"rollup-plugin-svgo": "^2.0.0",
|
|
121
|
+
"storybook": "^8.4.7",
|
|
122
|
+
"typescript": "^5.7.2",
|
|
123
|
+
"typescript-plugin-css-modules": "^5.1.0",
|
|
124
|
+
"vite": "^5.4.11",
|
|
125
|
+
"vite-plugin-dts": "^3.9.1",
|
|
126
|
+
"vite-plugin-lib-inject-css": "^2.1.1",
|
|
127
|
+
"vite-plugin-setting-css-module": "^1.1.4",
|
|
128
|
+
"vite-tsconfig-paths": "^4.3.2"
|
|
129
|
+
},
|
|
130
|
+
"main": "index.js",
|
|
131
|
+
"directories": {
|
|
132
|
+
"lib": "lib"
|
|
133
|
+
},
|
|
134
|
+
"author": "axos-web-dev",
|
|
135
|
+
"license": "ISC"
|
|
136
|
+
}
|