@axos-web-dev/shared-components 1.0.100-dev.7 → 1.0.100-dev.9

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.
@@ -719,7 +719,7 @@ const BuyDownCalculator = ({
719
719
  id: "mooringOutsideContinentalUS",
720
720
  ...register("mooringOutsideContinentalUS"),
721
721
  value: 0.5,
722
- radioText: "Mooring Outside Continental U.S. (Includes Puerto Rico,\n Hawaii, and Alaska) (Does not apply to Full Time Charter)\n +0.500",
722
+ radioText: "Mooring Outside Continental U.S. (Includes Puerto Rico,\r\n Hawaii, and Alaska) (Does not apply to Full Time Charter)\r\n +0.500",
723
723
  groupName: "dependentInputs",
724
724
  disabled: disableMooringOutside
725
725
  }
@@ -15,3 +15,4 @@ export declare const endChatButtonStyle: string;
15
15
  export declare const chatbotMenu: string;
16
16
  export declare const chatbotMenuItem: string;
17
17
  export declare const chatNetworkStatus: string;
18
+ export declare const chatFinishDialog: string;
@@ -16,9 +16,11 @@ var endChatButtonStyle = "_13n1jqkd";
16
16
  var chatbotMenu = "_13n1jqke";
17
17
  var chatbotMenuItem = "_13n1jqkf";
18
18
  var chatNetworkStatus = "_13n1jqkg";
19
+ var chatFinishDialog = "_13n1jqkh";
19
20
  export {
20
21
  arrowFill,
21
22
  button_reset,
23
+ chatFinishDialog,
22
24
  chatNetworkStatus,
23
25
  chat_title,
24
26
  chatbotMenu,
@@ -1,11 +1,11 @@
1
1
  "use client";
2
- import { jsxs, jsx, Fragment as Fragment$1 } from "react/jsx-runtime";
2
+ import { jsxs, jsx, Fragment } from "react/jsx-runtime";
3
3
  import clsx from "clsx";
4
- import React, { useRef, useEffect, Fragment } from "react";
4
+ import React, { useRef, useEffect, Fragment as Fragment$1 } from "react";
5
5
  import ReactMarkdown from "react-markdown";
6
6
  import { useNetworkState, useMount } from "react-use";
7
7
  import remarkGfm from "remark-gfm";
8
- import { windowBarStyle, chat_title, chatbotMenuItem, chatbotMenu, button_reset, arrowFill, chatNetworkStatus, notificationStyle, messageStyle, inline_button_wrapper, inline_button, endChatButtonStyle, messagesContainerStyle, inputStyle, sendButtonStyle, windowStyle, windowOpenStyle } from "./ChatWindow.css.js";
8
+ import { windowBarStyle, chat_title, chatbotMenuItem, chatbotMenu, chatFinishDialog, endChatButtonStyle, button_reset, arrowFill, chatNetworkStatus, notificationStyle, messageStyle, inline_button_wrapper, inline_button, messagesContainerStyle, inputStyle, sendButtonStyle, windowStyle, windowOpenStyle } from "./ChatWindow.css.js";
9
9
  import { EllipsisIcon } from "./EllipsisIcon.js";
10
10
  import { useOpenChat } from "./store/chat.js";
11
11
  const ChatWindow = ({
@@ -88,46 +88,75 @@ const ChatWindow = ({
88
88
  children: "Finish chat"
89
89
  }
90
90
  ) }) }),
91
- showEndChatDialog && /* @__PURE__ */ jsx(
92
- "dialog",
93
- {
94
- open: showEndChatDialog,
95
- style: {
96
- padding: "1rem",
97
- borderRadius: 8,
98
- background: "#fff",
99
- color: "#000",
100
- border: "none",
101
- outline: "none",
102
- maxWidth: "90%",
103
- top: "25%"
104
- },
105
- children: /* @__PURE__ */ jsxs("form", { method: "dialog", children: [
106
- /* @__PURE__ */ jsx("p", { children: "are you sure you want to end this chat?" }),
107
- /* @__PURE__ */ jsx(
108
- "button",
109
- {
110
- type: "submit",
111
- onClick: () => {
112
- endChat();
113
- setShowEndChatDialog(false);
114
- },
115
- children: "Yes"
116
- }
117
- ),
118
- /* @__PURE__ */ jsx(
119
- "button",
120
- {
121
- type: "button",
122
- onClick: () => {
123
- setShowEndChatDialog(false);
124
- },
125
- children: "No"
126
- }
127
- )
128
- ] })
129
- }
130
- ),
91
+ showEndChatDialog && /* @__PURE__ */ jsxs(Fragment, { children: [
92
+ /* @__PURE__ */ jsx(
93
+ "div",
94
+ {
95
+ style: {
96
+ background: "#00000080",
97
+ position: "fixed",
98
+ top: 0,
99
+ left: 0,
100
+ right: 0,
101
+ bottom: 0,
102
+ zIndex: 999,
103
+ opacity: 0.75
104
+ }
105
+ }
106
+ ),
107
+ /* @__PURE__ */ jsx(
108
+ "dialog",
109
+ {
110
+ open: showEndChatDialog,
111
+ style: {
112
+ padding: "1rem",
113
+ borderRadius: 8,
114
+ background: "#fff",
115
+ color: "#000",
116
+ border: `1px solid ${endUserBg}`,
117
+ outline: "none",
118
+ maxWidth: "90%",
119
+ top: "25%",
120
+ marginInline: "auto",
121
+ zIndex: 1e3
122
+ },
123
+ children: /* @__PURE__ */ jsxs("form", { method: "dialog", className: chatFinishDialog, children: [
124
+ /* @__PURE__ */ jsx("p", { children: "Are you sure you want to end this chat?" }),
125
+ /* @__PURE__ */ jsxs(
126
+ "div",
127
+ {
128
+ style: { display: "flex", gap: "1rem", marginTop: "1rem" },
129
+ children: [
130
+ /* @__PURE__ */ jsx(
131
+ "button",
132
+ {
133
+ className: endChatButtonStyle,
134
+ type: "submit",
135
+ onClick: () => {
136
+ endChat();
137
+ setShowEndChatDialog(false);
138
+ },
139
+ children: "Yes"
140
+ }
141
+ ),
142
+ /* @__PURE__ */ jsx(
143
+ "button",
144
+ {
145
+ className: endChatButtonStyle,
146
+ type: "button",
147
+ onClick: () => {
148
+ setShowEndChatDialog(false);
149
+ },
150
+ children: "No"
151
+ }
152
+ )
153
+ ]
154
+ }
155
+ )
156
+ ] })
157
+ }
158
+ )
159
+ ] }),
131
160
  onClose && /* @__PURE__ */ jsx(
132
161
  "button",
133
162
  {
@@ -156,7 +185,7 @@ const ChatWindow = ({
156
185
  }
157
186
  )
158
187
  ] }),
159
- /* @__PURE__ */ jsx("div", { className: clsx(chatNetworkStatus), children: mounted && !state.online ? /* @__PURE__ */ jsxs(
188
+ mounted && !state.online ? /* @__PURE__ */ jsx("div", { className: clsx(chatNetworkStatus), children: /* @__PURE__ */ jsxs(
160
189
  "div",
161
190
  {
162
191
  style: {
@@ -178,9 +207,9 @@ const ChatWindow = ({
178
207
  "You are currently disconnected. Please check your connection."
179
208
  ]
180
209
  }
181
- ) : null }),
210
+ ) }) : null,
182
211
  /* @__PURE__ */ jsxs("div", { className: clsx(messagesContainerStyle), children: [
183
- messages?.map((msg) => /* @__PURE__ */ jsxs(Fragment, { children: [
212
+ messages?.map((msg) => /* @__PURE__ */ jsxs(Fragment$1, { children: [
184
213
  msg.type == "noti" && msg.$userType == "system" && msg.event == "escalationStarted" && /* @__PURE__ */ jsx("div", { className: notificationStyle, children: "We are connecting you with a human agent..." }, msg.$index),
185
214
  msg.type == "noti" && msg.$userType == "system" && msg.event == "memberLeft" && /* @__PURE__ */ jsxs("div", { className: notificationStyle, children: [
186
215
  /* @__PURE__ */ jsx("strong", { children: "Virtual Agent" }),
@@ -282,7 +311,7 @@ const ChatWindow = ({
282
311
  index
283
312
  );
284
313
  }) }),
285
- msg.event == "chatEnded" && /* @__PURE__ */ jsxs(Fragment$1, { children: [
314
+ msg.event == "chatEnded" && /* @__PURE__ */ jsxs(Fragment, { children: [
286
315
  /* @__PURE__ */ jsxs(
287
316
  "div",
288
317
  {
@@ -332,6 +361,7 @@ const ChatWindow = ({
332
361
  onChange: (e) => setInput(e.target.value),
333
362
  placeholder: "Ask something...",
334
363
  className: inputStyle,
364
+ autoFocus: true,
335
365
  disabled: inputDisabled || status !== "connected"
336
366
  }
337
367
  ),
@@ -4,7 +4,7 @@ import { bubbleWrapper, svgFill } from "./Bubble.css.js";
4
4
  import { Chatbot } from "./Chatbot.js";
5
5
  import { chatbotAXB, chatbotUFB } from "./Chatbot.css.js";
6
6
  import { ChatWindow } from "./ChatWindow.js";
7
- import { arrowFill, button_reset, chatNetworkStatus, chat_title, chatbotMenu, chatbotMenuItem, endChatButtonStyle, inline_button, inline_button_wrapper, inputStyle, messageStyle, messagesContainerStyle, notificationStyle, sendButtonStyle, windowBarStyle, windowOpenStyle, windowStyle } from "./ChatWindow.css.js";
7
+ import { arrowFill, button_reset, chatFinishDialog, chatNetworkStatus, chat_title, chatbotMenu, chatbotMenuItem, endChatButtonStyle, inline_button, inline_button_wrapper, inputStyle, messageStyle, messagesContainerStyle, notificationStyle, sendButtonStyle, windowBarStyle, windowOpenStyle, windowStyle } from "./ChatWindow.css.js";
8
8
  import { useOpenChat } from "./store/chat.js";
9
9
  import { useMessages } from "./store/messages.js";
10
10
  import { useHeadlessChat } from "./useHeadlessChat.js";
@@ -15,6 +15,7 @@ export {
15
15
  arrowFill,
16
16
  bubbleWrapper,
17
17
  button_reset,
18
+ chatFinishDialog,
18
19
  chatNetworkStatus,
19
20
  chat_title,
20
21
  chatbotAXB,
@@ -68,9 +68,11 @@ function useHeadlessChat({
68
68
  if (debug) console.log("channelId:", menuRef.current);
69
69
  if (debug) console.log("channelId:", menuRef.current?.menus[5].id);
70
70
  try {
71
- const chatId = localStorage.getItem("ujet:chat");
72
- if (chatId) {
73
- chatRef.current = await clientRef.current?.resumeChat(chatId);
71
+ chatRef.current = await clientRef.current?.loadOngoingChat();
72
+ if (chatRef.current != null) {
73
+ chatRef.current = await clientRef.current?.resumeChat(
74
+ chatRef.current?.state?.id
75
+ );
74
76
  if (debug) console.log("Resumed chatRef:", chatRef.current);
75
77
  } else {
76
78
  const custom_data = {
@@ -48,7 +48,9 @@ const PurposeOfLoan = ["Bridge", "Construction"];
48
48
  const Purposes = [
49
49
  { value: "Purchase", text: "Purchase" },
50
50
  { value: "RefiCashout", text: "Refi Cashout" },
51
- { value: "RefiRateTermLimitedCO", text: "Refi Rate-Term/Limited C.O." }
51
+ { value: "RefiRateTermLimitedCO", text: "Refi Rate-Term/Limited C.O." },
52
+ { value: "ConstructiontoPerm", text: "Construction to Perm" },
53
+ { value: "InvestorConstruction", text: "Investor Construction" }
52
54
  ];
53
55
  const RepresentativesFico = [
54
56
  { value: "780", text: "780+" },
@@ -65,6 +67,7 @@ const RepresentativesFico = [
65
67
  const DocType = [
66
68
  { value: "FullDoc", text: "Full Doc" },
67
69
  { value: "AssetDepletion", text: "Asset Depletion" },
70
+ { value: "AssetUtilization", text: "Asset Utilization" },
68
71
  { value: "PersonalBankStmt12Mos", text: "Personal Bank Stmt: 12 Mos" },
69
72
  { value: "BusinessBankStmt12Mos", text: "Business Bank Stmt: 12 Mos" },
70
73
  { value: "PersonalBankStmt24Mos", text: "Personal Bank Stmt: 24 Mos" },
@@ -144,6 +144,7 @@ export declare const menuData: {
144
144
  "ATM Locator": string;
145
145
  Calculators: string;
146
146
  };
147
+ "Refer-a-Friend": string;
147
148
  Insights: string;
148
149
  };
149
150
  "Commercial Banking": {
@@ -424,6 +424,9 @@ const menuData = {
424
424
  "{AXOSBANK}/tools/calculators/saving-to-start-a-business-calculator"
425
425
  )
426
426
  },
427
+ "Refer-a-Friend": findMoreAxosDomains(
428
+ "{AXOSBANK}/business/refer-a-friend"
429
+ ),
427
430
  Insights: findMoreAxosDomains("{AXOSBANK}/business/insights")
428
431
  },
429
432
  "Commercial Banking": {
@@ -2447,6 +2447,27 @@ function SubNavBar() {
2447
2447
  ) })
2448
2448
  ] })
2449
2449
  ] }),
2450
+ /* @__PURE__ */ jsxs("div", { className: "flex_row", children: [
2451
+ /* @__PURE__ */ jsx(
2452
+ Image,
2453
+ {
2454
+ src: `https://images.axos.com/o9ov1v03uwqk/6ninSDVeSycXICNX8zF4J3/75ccf4194f0b3e7209f4095457bce00d/nav-submenu-raf-icon.svg`,
2455
+ alt: "",
2456
+ width: 20,
2457
+ height: 20
2458
+ }
2459
+ ),
2460
+ /* @__PURE__ */ jsx("ul", { className: `${styles.ml_8} list_unstyled`, children: /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
2461
+ Link,
2462
+ {
2463
+ href: findMoreAxosDomains(
2464
+ "{AXOSBANK}/business/refer-a-friend"
2465
+ ),
2466
+ role: "heading",
2467
+ children: "Refer-a-Friend"
2468
+ }
2469
+ ) }) })
2470
+ ] }),
2450
2471
  /* @__PURE__ */ jsxs("div", { className: "flex_row", children: [
2451
2472
  /* @__PURE__ */ jsx(
2452
2473
  Image,
@@ -83,6 +83,7 @@ export declare const sec_title: import('@vanilla-extract/recipes').RuntimeFn<{
83
83
  export declare const sec_subtitle: string;
84
84
  export declare const tablet_col: string;
85
85
  export declare const bs_image: string;
86
+ export declare const bs_video: string;
86
87
  export declare const steps_wrapper: string;
87
88
  export declare const ol: string;
88
89
  export declare const bs_btns: string;
@@ -1,6 +1,8 @@
1
- import '../assets/StepItemSet/StepItemSet.css';import '../assets/themes/victorie.css';import '../assets/themes/premier.css';import '../assets/themes/axos.css';/* empty css */
1
+ import '../assets/StepItemSet/StepItemSet.css';import '../assets/VideoTile/VideoTile.css';import '../assets/Typography/Typography.css';import '../assets/themes/victorie.css';import '../assets/themes/premier.css';import '../assets/themes/axos.css';/* empty css */
2
2
  /* empty css */
3
3
  /* empty css */
4
+ /* empty css */
5
+ /* empty css */
4
6
  /* empty css */
5
7
  import { createRuntimeFn } from "@vanilla-extract/recipes/createRuntimeFn";
6
8
  var bs_section = createRuntimeFn({ defaultClassName: "_18par6f0", variantClassNames: { variant: { primary: "_18par6f1", secondary: "_18par6f2", tertiary: "_18par6f3", quaternary: "_18par6f4" } }, defaultVariants: {}, compoundVariants: [] });
@@ -11,15 +13,17 @@ var sec_title = createRuntimeFn({ defaultClassName: "_18par6fc", variantClassNam
11
13
  var sec_subtitle = "_18par6fh";
12
14
  var tablet_col = "_18par6fi";
13
15
  var bs_image = "_18par6fj";
14
- var steps_wrapper = "_18par6fk";
15
- var ol = "_18par6fl";
16
- var bs_btns = "_18par6fm";
17
- var bs_add_details = "_18par6fn";
16
+ var bs_video = "_18par6fk";
17
+ var steps_wrapper = "_18par6fl";
18
+ var ol = "_18par6fm";
19
+ var bs_btns = "_18par6fn";
20
+ var bs_add_details = "_18par6fo";
18
21
  export {
19
22
  bs_add_details,
20
23
  bs_btns,
21
24
  bs_image,
22
25
  bs_section,
26
+ bs_video,
23
27
  bs_wrapper,
24
28
  modifier,
25
29
  ol,
@@ -13,5 +13,11 @@ export interface StepItemSetProps {
13
13
  stepItems?: StepItemProps[];
14
14
  callToActionRow?: boolean | ChevronProps[];
15
15
  additionalDetails?: string | ReactNode;
16
+ video?: {
17
+ videoId: string;
18
+ videoPlayer: string;
19
+ thubnailImage: string;
20
+ transcript?: string;
21
+ };
16
22
  }
17
23
  export declare const StepItemSet: FC<StepItemSetProps>;
@@ -8,7 +8,14 @@ import { getVariant } from "../utils/getVariant.js";
8
8
  import { OptimizeImage } from "../utils/optimizeImage/OptimizeImage.js";
9
9
  import { StepItem } from "../StepItem/StepItem.js";
10
10
  import "../StepItem/StepItem.css.js";
11
- import { bs_section, bs_wrapper, svg_logo, modifier, sec_title, sec_subtitle, tablet_col, bs_image, steps_wrapper, ol, bs_btns, bs_add_details } from "./StepItemSet.css.js";
11
+ import "next/script.js";
12
+ import { VideoTile } from "../VideoTile/VideoTile.js";
13
+ import '../assets/VideoTile/VideoTile.css';import '../assets/themes/victorie.css';import '../assets/themes/premier.css';import '../assets/themes/axos.css';import '../assets/Typography/Typography.css';/* empty css */
14
+ /* empty css */
15
+ /* empty css */
16
+ /* empty css */
17
+ /* empty css */
18
+ import { bs_section, bs_wrapper, svg_logo, modifier, sec_title, sec_subtitle, tablet_col, bs_image, bs_video, steps_wrapper, ol, bs_btns, bs_add_details } from "./StepItemSet.css.js";
12
19
  const StepItemSet = ({
13
20
  id,
14
21
  variant: fullVariant = "primary",
@@ -17,7 +24,8 @@ const StepItemSet = ({
17
24
  image,
18
25
  stepItems,
19
26
  callToActionRow,
20
- additionalDetails
27
+ additionalDetails,
28
+ video
21
29
  }) => {
22
30
  const variant = getVariant(fullVariant);
23
31
  return /* @__PURE__ */ jsx("section", { className: `${bs_section({ variant })}`, id, children: /* @__PURE__ */ jsxs("div", { className: `${bs_wrapper} containment`, children: [
@@ -55,7 +63,18 @@ const StepItemSet = ({
55
63
  description && /* @__PURE__ */ jsx("div", { className: sec_subtitle, children: /* @__PURE__ */ jsx(Fragment, { children: description }) })
56
64
  ] }),
57
65
  /* @__PURE__ */ jsxs("div", { className: `push_up_32 flex ${tablet_col}`, children: [
58
- image && /* @__PURE__ */ jsx("div", { className: bs_image, role: "presentation", children: /* @__PURE__ */ jsx(OptimizeImage, { src: image?.src, alt: "" }) }),
66
+ image && image.src ? /* @__PURE__ */ jsx("div", { className: bs_image, role: "presentation", children: /* @__PURE__ */ jsx(OptimizeImage, { src: image?.src, alt: "" }) }) : video && video.videoId && /* @__PURE__ */ jsx("div", { className: bs_video, role: "presentation", children: /* @__PURE__ */ jsx(
67
+ VideoTile,
68
+ {
69
+ id: "video-tile",
70
+ videoId: video.videoId,
71
+ videoPlayer: video.videoPlayer,
72
+ thumbnailImage: video.thubnailImage,
73
+ displayType: "inline",
74
+ transcript: video.transcript,
75
+ enableModal: true
76
+ }
77
+ ) }),
59
78
  /* @__PURE__ */ jsx("div", { className: steps_wrapper, children: /* @__PURE__ */ jsx("ol", { className: ol, children: stepItems?.map((step, index) => /* @__PURE__ */ jsx(
60
79
  StepItem,
61
80
  {
@@ -1,11 +1,12 @@
1
1
  import { StepItemSet } from "./StepItemSet.js";
2
- import { bs_add_details, bs_btns, bs_image, bs_section, bs_wrapper, modifier, ol, sec_subtitle, sec_title, steps_wrapper, svg_logo, tablet_col } from "./StepItemSet.css.js";
2
+ import { bs_add_details, bs_btns, bs_image, bs_section, bs_video, bs_wrapper, modifier, ol, sec_subtitle, sec_title, steps_wrapper, svg_logo, tablet_col } from "./StepItemSet.css.js";
3
3
  export {
4
4
  StepItemSet,
5
5
  bs_add_details,
6
6
  bs_btns,
7
7
  bs_image,
8
8
  bs_section,
9
+ bs_video,
9
10
  bs_wrapper,
10
11
  modifier,
11
12
  ol,
@@ -61,7 +61,7 @@ export declare const TableCell: ({ children, as, variant, highlighted, colSpan,
61
61
  is?: string | undefined;
62
62
  exportparts?: string | undefined;
63
63
  part?: string | undefined;
64
- popover?: "" | "auto" | "manual" | "hint" | undefined;
64
+ popover?: "" | "auto" | "manual" | undefined;
65
65
  popoverTargetAction?: "toggle" | "show" | "hide" | undefined;
66
66
  popoverTarget?: string | undefined;
67
67
  onToggle?: import('react').ToggleEventHandler<HTMLTableCellElement> | undefined;
@@ -1,6 +1,6 @@
1
- import '../assets/WalnutIframe/wrapper.css.css';const wrapper = "_wrapper_13j22_10";
2
- const shimmer = "_shimmer_13j22_1";
3
- const wrapper_control = "_wrapper_control_13j22_39";
1
+ import '../assets/WalnutIframe/wrapper.css.css';const wrapper = "_wrapper_1jpv7_19";
2
+ const shimmer = "_shimmer_1jpv7_1";
3
+ const wrapper_control = "_wrapper_control_1jpv7_77";
4
4
  const css = {
5
5
  wrapper,
6
6
  shimmer,
@@ -203,4 +203,11 @@
203
203
  }
204
204
  ._1hpv6vm1 ._13n1jqkg {
205
205
  color: #323339;
206
+ }
207
+ ._13n1jqkh {
208
+ display: flex;
209
+ flex-direction: column;
210
+ align-items: center;
211
+ justify-content: center;
212
+ padding: 0 1rem;
206
213
  }
@@ -72,6 +72,19 @@
72
72
  overflow: hidden;
73
73
  width: 48%;
74
74
  }
75
+ ._18par6fk {
76
+ border-radius: 8px;
77
+ min-height: 378px;
78
+ position: relative;
79
+ overflow: hidden;
80
+ width: 48%;
81
+ display: flex;
82
+ align-items: center;
83
+ justify-content: center;
84
+ }
85
+ ._18par6fk ._16puo4g0 {
86
+ width: 100%;
87
+ }
75
88
  ._18par6fj img {
76
89
  height: 100%;
77
90
  inset: 0;
@@ -80,31 +93,31 @@
80
93
  position: absolute;
81
94
  width: 100%;
82
95
  }
83
- ._18par6fk {
96
+ ._18par6fl {
84
97
  padding: 27px 48px;
85
98
  flex: 1 1 0%;
86
99
  }
87
- ._18par6fl {
100
+ ._18par6fm {
88
101
  padding: 0;
89
102
  list-style: none;
90
103
  margin: 0;
91
104
  }
92
- ._18par6fl > li + li > :first-child > :first-child {
105
+ ._18par6fm > li + li > :first-child > :first-child {
93
106
  padding-top: 24px;
94
107
  }
95
- ._18par6fl > li + li > :last-child {
108
+ ._18par6fm > li + li > :last-child {
96
109
  padding-top: 24px;
97
110
  }
98
- ._18par6fm > * + * {
111
+ ._18par6fn > * + * {
99
112
  margin-left: 48px;
100
113
  }
101
- ._18par6fn {
114
+ ._18par6fo {
102
115
  margin-left: auto;
103
116
  margin-right: auto;
104
117
  text-align: center;
105
118
  max-width: 800px;
106
119
  }
107
- ._18par6fn > * {
120
+ ._18par6fo > * {
108
121
  line-height: 1.5;
109
122
  }
110
123
  @media screen and (min-width:1024px) {
@@ -113,7 +126,7 @@
113
126
  }
114
127
  }
115
128
  @media screen and (max-width:1280px) {
116
- ._18par6fk {
129
+ ._18par6fl {
117
130
  padding-left: 24px;
118
131
  padding-right: 0;
119
132
  }
@@ -129,14 +142,19 @@
129
142
  aspect-ratio: 16 / 9;
130
143
  }
131
144
  ._18par6fk {
145
+ width: 100%;
146
+ min-height: 183px;
147
+ aspect-ratio: 16 / 9;
148
+ }
149
+ ._18par6fl {
132
150
  padding: 0px;
133
151
  margin-top: 24px;
134
152
  }
135
- ._18par6fm {
153
+ ._18par6fn {
136
154
  flex-direction: column;
137
155
  margin-top: 24px;
138
156
  }
139
- ._18par6fm > * + * {
157
+ ._18par6fn > * + * {
140
158
  margin-left: 0px;
141
159
  margin-top: 24px;
142
160
  }
@@ -1,49 +1,49 @@
1
- @keyframes _shimmer_13j22_1 {
2
- from {
3
- transform: translateX(-100%);
4
- }
5
- to {
6
- transform: translateX(100%);
7
- }
8
- }
9
-
10
- ._wrapper_13j22_10 {
11
- background: #1e3860;
12
- border-radius: 8px;
13
- height: 555px;
14
- isolation: isolate;
15
- margin-block: 48px;
16
- }
17
-
18
- section > ._wrapper_13j22_10:first-child {
19
- margin-top: 0 !important;
20
- }
21
-
22
- ._wrapper_13j22_10::before {
23
- content: "";
24
- position: absolute;
25
- top: 0;
26
- left: 0;
27
- width: 190%;
28
- height: 100%;
29
- background: linear-gradient(
30
- 65deg,
31
- rgba(255, 255, 255, 0) 20%,
32
- rgba(255, 255, 255, 0.5) 50%,
33
- rgba(255, 255, 255, 0) 80%
34
- );
35
- animation: _shimmer_13j22_1 1.3s infinite linear;
36
- z-index: -1;
37
- }
38
-
39
- ._wrapper_control_13j22_39 {
40
- height: 100%;
41
- width: 100%;
42
- overflow-x: scroll;
43
- }
44
-
45
- @media (max-width: 1023px) {
46
- ._wrapper_13j22_10 {
47
- display: none;
48
- }
49
- }
1
+ @keyframes _shimmer_1jpv7_1 {
2
+ from {
3
+ transform: translateX(-100%);
4
+ }
5
+ to {
6
+ transform: translateX(100%);
7
+ }
8
+ }
9
+
10
+ ._wrapper_1jpv7_19 {
11
+ background: #1e3860;
12
+ border-radius: 8px;
13
+ height: 555px;
14
+ isolation: isolate;
15
+ margin-block: 48px;
16
+ }
17
+
18
+ section > ._wrapper_1jpv7_19:first-child {
19
+ margin-top: 0 !important;
20
+ }
21
+
22
+ ._wrapper_1jpv7_19::before {
23
+ content: "";
24
+ position: absolute;
25
+ top: 0;
26
+ left: 0;
27
+ width: 190%;
28
+ height: 100%;
29
+ background: linear-gradient(
30
+ 65deg,
31
+ rgba(255, 255, 255, 0) 20%,
32
+ rgba(255, 255, 255, 0.5) 50%,
33
+ rgba(255, 255, 255, 0) 80%
34
+ );
35
+ animation: _shimmer_1jpv7_1 1.3s infinite linear;
36
+ z-index: -1;
37
+ }
38
+
39
+ ._wrapper_control_1jpv7_77 {
40
+ height: 100%;
41
+ width: 100%;
42
+ overflow-x: scroll;
43
+ }
44
+
45
+ @media (max-width: 1023px) {
46
+ ._wrapper_1jpv7_19 {
47
+ display: none;
48
+ }
49
+ }
package/dist/main.js CHANGED
@@ -42,7 +42,7 @@ import { bubbleWrapper, svgFill } from "./Chatbot/Bubble.css.js";
42
42
  import { Chatbot } from "./Chatbot/Chatbot.js";
43
43
  import { chatbotAXB, chatbotUFB } from "./Chatbot/Chatbot.css.js";
44
44
  import { ChatWindow } from "./Chatbot/ChatWindow.js";
45
- import { arrowFill, button_reset, chatNetworkStatus, chat_title, chatbotMenu, chatbotMenuItem, endChatButtonStyle, inline_button, inline_button_wrapper, inputStyle, messageStyle, messagesContainerStyle, notificationStyle, sendButtonStyle, windowBarStyle, windowOpenStyle, windowStyle } from "./Chatbot/ChatWindow.css.js";
45
+ import { arrowFill, button_reset, chatFinishDialog, chatNetworkStatus, chat_title, chatbotMenu, chatbotMenuItem, endChatButtonStyle, inline_button, inline_button_wrapper, inputStyle, messageStyle, messagesContainerStyle, notificationStyle, sendButtonStyle, windowBarStyle, windowOpenStyle, windowStyle } from "./Chatbot/ChatWindow.css.js";
46
46
  import { useOpenChat } from "./Chatbot/store/chat.js";
47
47
  import { useMessages } from "./Chatbot/store/messages.js";
48
48
  import { useHeadlessChat } from "./Chatbot/useHeadlessChat.js";
@@ -183,7 +183,7 @@ import { SocialMediaBar } from "./SocialMediaBar/index.js";
183
183
  import { StepItem } from "./StepItem/StepItem.js";
184
184
  import { bs_copy, bs_topic, bullet_details, li, line_points, point, step_num } from "./StepItem/StepItem.css.js";
185
185
  import { StepItemSet } from "./StepItemSet/StepItemSet.js";
186
- import { bs_add_details, bs_btns, bs_image, bs_section, bs_wrapper, modifier, ol, sec_subtitle, sec_title, steps_wrapper, svg_logo, tablet_col } from "./StepItemSet/StepItemSet.css.js";
186
+ import { bs_add_details, bs_btns, bs_image, bs_section, bs_video, bs_wrapper, modifier, ol, sec_subtitle, sec_title, steps_wrapper, svg_logo, tablet_col } from "./StepItemSet/StepItemSet.css.js";
187
187
  import { Table, TableBody, TableCell, TableContainer, TableHead, TableRow } from "./Table/Table.js";
188
188
  import { alternate_color_rows, apy_table, bodyHeader, headerCell, headerVariants, highlight_cell, highlight_first_row, highlight_last_row, highlight_th, table, tableWrapper, table_container, table_container_text, table_description_text, table_headline, table_section, td, th } from "./Table/Table.css.js";
189
189
  import { TextBlock } from "./TextBlock/TextBlock.js";
@@ -444,6 +444,7 @@ export {
444
444
  bs_image,
445
445
  bs_section,
446
446
  bs_topic,
447
+ bs_video,
447
448
  bs_wrapper,
448
449
  bubbleWrapper,
449
450
  bullet_details,
@@ -457,6 +458,7 @@ export {
457
458
  center_center,
458
459
  center_left,
459
460
  center_right,
461
+ chatFinishDialog,
460
462
  chatNetworkStatus,
461
463
  chat_title,
462
464
  chatbotAXB,
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.7",
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.9",
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
+ }