@axos-web-dev/shared-components 1.0.77-patch.29 → 1.0.77-patch.31

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.
Files changed (41) hide show
  1. package/dist/Chatbot/Bubble.css.d.ts +2 -0
  2. package/dist/Chatbot/Bubble.css.js +8 -0
  3. package/dist/Chatbot/Bubble.d.ts +3 -0
  4. package/dist/Chatbot/Bubble.js +100 -0
  5. package/dist/Chatbot/Chat.d.ts +1 -0
  6. package/dist/Chatbot/Chat.js +165 -0
  7. package/dist/Chatbot/ChatWindow.css.d.ts +18 -0
  8. package/dist/Chatbot/ChatWindow.css.js +39 -0
  9. package/dist/Chatbot/ChatWindow.d.ts +30 -0
  10. package/dist/Chatbot/ChatWindow.js +397 -0
  11. package/dist/Chatbot/Chatbot.css.d.ts +2 -0
  12. package/dist/Chatbot/Chatbot.css.js +6 -0
  13. package/dist/Chatbot/Chatbot.css.ts.vanilla.css.js +1 -0
  14. package/dist/Chatbot/Chatbot.d.ts +5 -0
  15. package/dist/Chatbot/Chatbot.js +42 -0
  16. package/dist/Chatbot/EllipsisIcon.d.ts +4 -0
  17. package/dist/Chatbot/EllipsisIcon.js +19 -0
  18. package/dist/Chatbot/authenticate.d.ts +3 -0
  19. package/dist/Chatbot/authenticate.js +16 -0
  20. package/dist/Chatbot/index.d.ts +9 -0
  21. package/dist/Chatbot/index.js +40 -0
  22. package/dist/Chatbot/store/chat.d.ts +9 -0
  23. package/dist/Chatbot/store/chat.js +11 -0
  24. package/dist/Chatbot/store/messages.d.ts +15 -0
  25. package/dist/Chatbot/store/messages.js +13 -0
  26. package/dist/Chatbot/useHeadlessChat.d.ts +27 -0
  27. package/dist/Chatbot/useHeadlessChat.js +240 -0
  28. package/dist/Forms/CommercialDepositsNoLendingOption.d.ts +16 -0
  29. package/dist/Forms/CommercialDepositsNoLendingOption.js +330 -0
  30. package/dist/Forms/index.d.ts +1 -0
  31. package/dist/Forms/index.js +2 -0
  32. package/dist/StepItemSet/StepItemSet.css.d.ts +1 -0
  33. package/dist/StepItemSet/StepItemSet.css.js +9 -5
  34. package/dist/StepItemSet/StepItemSet.d.ts +6 -0
  35. package/dist/StepItemSet/StepItemSet.js +22 -3
  36. package/dist/StepItemSet/index.js +2 -1
  37. package/dist/assets/Chatbot/Bubble.css +51 -0
  38. package/dist/assets/Chatbot/ChatWindow.css +213 -0
  39. package/dist/assets/StepItemSet/StepItemSet.css +27 -10
  40. package/dist/main.js +4 -1
  41. package/package.json +3 -1
@@ -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,
@@ -0,0 +1,51 @@
1
+ @keyframes fade-in-bounce {
2
+ 0% {
3
+ transform: translate3d(100px,100px,0) scale(0.3);
4
+ opacity: 0;
5
+ }
6
+ 50% {
7
+ transform: translate3d(-10px,-10px,0) scale(1.1);
8
+ opacity: 1;
9
+ }
10
+ 100% {
11
+ transform: translate3d(0,0,0) scale(1);
12
+ opacity: 1;
13
+ }
14
+ }
15
+ @keyframes pulse {
16
+ 0%,100% {
17
+ box-shadow: 0 0 0 0 rgba(0,123,255,0.4);
18
+ }
19
+ 50% {
20
+ box-shadow: 0 0 0 10px rgba(0,123,255,0);
21
+ }
22
+ }
23
+ ._7u9pv30 {
24
+ align-items: center;
25
+ animation: fade-in-bounce 2s cubic-bezier(0.65, 0.25, 0.14, 0.93) forwards, pulse 4.5s 0.5s;
26
+ background-color: #14263d;
27
+ border-radius: 50%;
28
+ bottom: 16px;
29
+ cursor: pointer;
30
+ display: grid;
31
+ font-family: var(--main-font-family);
32
+ height: 68px;
33
+ line-height: 1;
34
+ outline: 2px solid #98DDFF;
35
+ place-items: center;
36
+ position: fixed;
37
+ right: 16px;
38
+ width: 68px;
39
+ z-index: 9999;
40
+ }
41
+ ._1hpv6vm1 ._7u9pv30 {
42
+ animation: fade-in-bounce 2s cubic-bezier(0.65, 0.25, 0.14, 0.93) forwards;
43
+ background-color: #60707A;
44
+ outline: none;
45
+ }
46
+ ._7u9pv31 {
47
+ fill: #98DDFF;
48
+ }
49
+ ._1hpv6vm1 ._7u9pv31 {
50
+ fill: #FFFFFF;
51
+ }
@@ -0,0 +1,213 @@
1
+ ._13n1jqk0 {
2
+ background: #FFF;
3
+ border-radius: 10px;
4
+ bottom: 100px;
5
+ box-shadow: -4px -4px 60px 5px rgba(0, 0, 0, 0.3);
6
+ display: flex;
7
+ flex-direction: column;
8
+ height: min(calc(100vh - 112px), 560px);
9
+ max-width: 100%;
10
+ outline: none;
11
+ overflow: hidden;
12
+ position: fixed;
13
+ right: 24px;
14
+ transform: translate(calc(0px - 64px / 2), calc(64px / 2 + 24px)) scale(0);
15
+ transition: transform 0.3s, visibility 0.3s;
16
+ transform-origin: bottom right;
17
+ width: min(calc(100vw - 50px), 350px);
18
+ z-index: 10000;
19
+ }
20
+ ._13n1jqk1 {
21
+ transform: translate(0px) scale(1);
22
+ transition: transform 0.3s;
23
+ visibility: visible;
24
+ }
25
+ ._13n1jqk2 {
26
+ align-items: center;
27
+ background-color: #14263d;
28
+ display: flex;
29
+ justify-content: space-between;
30
+ min-height: 50px;
31
+ padding-inline: 18px;
32
+ }
33
+ ._1hpv6vm1 ._13n1jqk2 {
34
+ background-color: #60707A;
35
+ }
36
+ ._13n1jqk3 {
37
+ color: #FFF;
38
+ font: 700 18px/1.5 var(--header-font-family);
39
+ line-height: 1.15;
40
+ }
41
+ ._13n1jqk4 {
42
+ background: transparent;
43
+ border: none;
44
+ cursor: pointer;
45
+ line-height: 1;
46
+ margin-left: 8px;
47
+ padding: 0;
48
+ }
49
+ ._13n1jqk5 {
50
+ fill: #98DDFF;
51
+ }
52
+ ._1hpv6vm1 ._13n1jqk5 {
53
+ fill: #FFFFFF;
54
+ }
55
+ ._13n1jqk6 {
56
+ border: none;
57
+ color: #1F1F1F;
58
+ flex: 1;
59
+ font-family: var(--header-font-family);
60
+ font-size: 13px;
61
+ opacity: 0.7;
62
+ outline: none;
63
+ padding: 20px 0 20px 20px;
64
+ }
65
+ ._13n1jqk6::placeholder {
66
+ color: rgba(31,31,31,.38);
67
+ }
68
+ ._1hpv6vm1 ._13n1jqk6 {
69
+ font-family: var(--main-font-family);
70
+ }
71
+ ._1hpv6vm1 ._13n1jqk6::placeholder {
72
+ color: rgba(31,31,31,.58);
73
+ }
74
+ ._13n1jqk7 {
75
+ padding-inline: 20px;
76
+ background: #fafafa;
77
+ border: none;
78
+ }
79
+ ._13n1jqk7:hover {
80
+ background: #E9F8FF;
81
+ cursor: pointer;
82
+ }
83
+ ._1hpv6vm1 ._13n1jqk7:hover {
84
+ background: #eae8e8;
85
+ }
86
+ ._13n1jqk7 svg {
87
+ fill: rgba(31,31,31,.38);
88
+ }
89
+ ._13n1jqk7.active svg {
90
+ fill: #1e3860;
91
+ }
92
+ ._1hpv6vm1 ._13n1jqk7.active svg {
93
+ fill: #e18357;
94
+ }
95
+ ._13n1jqk8 {
96
+ background: #f9f9f9;
97
+ display: flex;
98
+ flex: 1;
99
+ flex-direction: column;
100
+ gap: 8px;
101
+ overflow-y: auto;
102
+ padding: 1rem;
103
+ scrollbar-color: #ccc transparent;
104
+ }
105
+ ._13n1jqk9 {
106
+ color: #888;
107
+ font-size: 10px;
108
+ margin-bottom: 4px;
109
+ text-align: center;
110
+ }
111
+ ._13n1jqka {
112
+ border-radius: 8px;
113
+ margin-bottom: 8px;
114
+ max-width: 93%;
115
+ padding: 8px 12px;
116
+ }
117
+ ._13n1jqka ul {
118
+ padding-left: 24px;
119
+ }
120
+ ._13n1jqkb {
121
+ border: 1px solid #ddd;
122
+ border-radius: 8px;
123
+ box-shadow: 0 1px 4px #b3e0ff55;
124
+ display: flex;
125
+ flex-direction: column;
126
+ margin-bottom: 8px;
127
+ }
128
+ ._13n1jqkc {
129
+ font-size: 12px;
130
+ text-align: left;
131
+ background: #fff;
132
+ color: #1e3860;
133
+ cursor: pointer;
134
+ }
135
+ ._13n1jqkc:hover {
136
+ background: #f0f0f0;
137
+ }
138
+ ._1hpv6vm1 ._13n1jqkc {
139
+ color: #323339;
140
+ }
141
+ ._13n1jqkd {
142
+ background: #1e629a;
143
+ border: none;
144
+ color: #fff;
145
+ cursor: pointer;
146
+ font-size: 12px;
147
+ padding: 6px 12px;
148
+ border-radius: 4px;
149
+ text-align: center;
150
+ }
151
+ ._13n1jqkd:hover {
152
+ opacity: 0.8;
153
+ }
154
+ ._1hpv6vm1 ._13n1jqkd {
155
+ background: #e18357;
156
+ color: #323339;
157
+ }
158
+ ._13n1jqke {
159
+ position: absolute;
160
+ top: 40px;
161
+ right: 25px;
162
+ background: #14263d;
163
+ padding: 0;
164
+ border-radius: 8px;
165
+ list-style: none;
166
+ margin: 0;
167
+ box-shadow: 0 2px 8px rgba(0,0,0,0.15);
168
+ overflow: hidden;
169
+ _1hpv6vm1 & {
170
+ background: #e18357;
171
+ color: #323339;
172
+ }
173
+ }
174
+ ._13n1jqkf {
175
+ color: #fff;
176
+ border-bottom: 1px solid #1f2d3e;
177
+ padding: 2px 12px;
178
+ cursor: pointer;
179
+ font-size: 12px;
180
+ }
181
+ ._13n1jqkf:last-child {
182
+ border-bottom: none;
183
+ }
184
+ ._13n1jqkf:hover {
185
+ background: #1f2d3e;
186
+ }
187
+ ._1hpv6vm1 ._13n1jqkf {
188
+ background: #e18357;
189
+ color: #323339;
190
+ }
191
+ ._13n1jqkf button {
192
+ background: transparent;
193
+ border: none;
194
+ color: inherit;
195
+ cursor: pointer;
196
+ }
197
+ ._13n1jqkg {
198
+ font-size: 10px;
199
+ text-align: center;
200
+ margin-bottom: 8px;
201
+ margin-top: 8px;
202
+ color: #1e3860;
203
+ }
204
+ ._1hpv6vm1 ._13n1jqkg {
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;
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,18 @@
129
142
  aspect-ratio: 16 / 9;
130
143
  }
131
144
  ._18par6fk {
145
+ width: 100%;
146
+ min-height: 183px;
147
+ }
148
+ ._18par6fl {
132
149
  padding: 0px;
133
150
  margin-top: 24px;
134
151
  }
135
- ._18par6fm {
152
+ ._18par6fn {
136
153
  flex-direction: column;
137
154
  margin-top: 24px;
138
155
  }
139
- ._18par6fm > * + * {
156
+ ._18par6fn > * + * {
140
157
  margin-left: 0px;
141
158
  margin-top: 24px;
142
159
  }
package/dist/main.js CHANGED
@@ -59,6 +59,7 @@ import { ApplyNow } from "./Forms/ApplyNow.js";
59
59
  import { getLink } from "./Forms/applynow-utils.js";
60
60
  import { ClearingForm } from "./Forms/ClearingForm.js";
61
61
  import { CommercialDeposits } from "./Forms/CommercialDeposits.js";
62
+ import { CommercialDepositsNoLendingOption } from "./Forms/CommercialDepositsNoLendingOption.js";
62
63
  import { CommercialLending } from "./Forms/CommercialLending.js";
63
64
  import { CommercialPremiumFinance } from "./Forms/CommercialPremiumFinance.js";
64
65
  import { ContactCompany } from "./Forms/ContactCompany.js";
@@ -175,7 +176,7 @@ import { SocialMediaBar } from "./SocialMediaBar/index.js";
175
176
  import { StepItem } from "./StepItem/StepItem.js";
176
177
  import { bs_copy, bs_topic, bullet_details, li, line_points, point, step_num } from "./StepItem/StepItem.css.js";
177
178
  import { StepItemSet } from "./StepItemSet/StepItemSet.js";
178
- 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";
179
+ 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";
179
180
  import { Table, TableBody, TableCell, TableContainer, TableHead, TableRow } from "./Table/Table.js";
180
181
  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";
181
182
  import { TextBlock } from "./TextBlock/TextBlock.js";
@@ -256,6 +257,7 @@ export {
256
257
  default11 as CloseIcon,
257
258
  CollectInformationAlert,
258
259
  CommercialDeposits,
260
+ CommercialDepositsNoLendingOption,
259
261
  CommercialLending,
260
262
  CommercialPremiumFinance,
261
263
  ComparisonSet,
@@ -433,6 +435,7 @@ export {
433
435
  bs_image,
434
436
  bs_section,
435
437
  bs_topic,
438
+ bs_video,
436
439
  bs_wrapper,
437
440
  bullet_details,
438
441
  button,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@axos-web-dev/shared-components",
3
3
  "description": "Axos shared components library for web.",
4
- "version": "1.0.77-patch.29",
4
+ "version": "1.0.77-patch.31",
5
5
  "type": "module",
6
6
  "module": "dist/main.js",
7
7
  "types": "dist/main.d.ts",
@@ -36,6 +36,7 @@
36
36
  "@storybook/icons": "^1.3.0",
37
37
  "@storybook/preview-api": "^8.4.7",
38
38
  "@types/iframe-resizer": "3.5.13",
39
+ "@ujet/websdk-headless": "^3.41.4",
39
40
  "@vanilla-extract/css": "^1.16.1",
40
41
  "@vanilla-extract/recipes": "^0.5.1",
41
42
  "antd": "^5.22.5",
@@ -53,6 +54,7 @@
53
54
  "react-slick": "^0.30.2",
54
55
  "react-use": "^17.6.0",
55
56
  "react-wrap-balancer": "^1.1.1",
57
+ "remark-gfm": "^4.0.1",
56
58
  "rsuite": "^5.75.0",
57
59
  "slick-carousel": "^1.8.1",
58
60
  "typed-css-modules": "^0.9.1",