@axos-web-dev/shared-components 1.0.100-dev.3 → 1.0.100-dev.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ATMLocator/ATMLocator.js +1 -7
- package/dist/ArticlesSet/ArticlesSet.js +2 -2
- package/dist/Auth/ErrorAlert.js +1 -7
- package/dist/Button/Button.js +1 -7
- package/dist/Calculators/BuyDownCalculator/index.d.ts +1 -0
- package/dist/Calculators/BuyDownCalculator/index.js +163 -77
- package/dist/Calculators/Calculator.js +1 -7
- package/dist/Carousel/index.js +1 -7
- package/dist/Chevron/index.js +1 -7
- package/dist/Comparison/Comparison.js +1 -7
- package/dist/ExecutiveBio/ExecutiveBio.js +1 -7
- package/dist/FaqAccordion/index.js +1 -7
- package/dist/FooterSiteMap/AxosBank/FooterSiteMap.js +1 -7
- package/dist/Forms/ApplyNow.js +1 -7
- package/dist/Forms/ContactUsBusiness.js +1 -7
- package/dist/Forms/ContactUsBusinessNameEmail.js +1 -7
- package/dist/Forms/ContactUsLVF.d.ts +5 -1
- package/dist/Forms/ContactUsLVF.js +8 -6
- package/dist/Forms/ContactUsNMLSId.js +1 -7
- package/dist/Forms/CraPublicFile.js +1 -7
- package/dist/Forms/EmailOnly.js +1 -7
- package/dist/Forms/FormEnums.js +2 -14
- package/dist/Forms/MortgageRate/MortgageRateForm.js +1 -7
- package/dist/Forms/MortgageRate/MortgageRateWatch.js +1 -7
- package/dist/Forms/MortgageWarehouseLending.js +1 -7
- package/dist/Forms/QuickPricer/QuickPricerForm.js +1 -1
- package/dist/Forms/SalesforceFieldsForm.d.ts +5 -0
- package/dist/Forms/SalesforceFieldsForm.js +11 -1
- package/dist/Forms/SuccesForm.js +1 -7
- package/dist/Hyperlink/index.js +1 -7
- package/dist/ImageLink/ImageLink.js +1 -7
- package/dist/ImageLink/ImageLinkSet.js +1 -7
- package/dist/ImageLink/index.js +1 -7
- package/dist/Input/Dropdown.js +1 -0
- package/dist/Insight/Featured/CategorySelector.js +1 -7
- package/dist/Insight/Featured/Featured.js +1 -7
- package/dist/Insight/Featured/Header.js +1 -7
- package/dist/Modal/Modal.js +1 -7
- package/dist/NavigationMenu/AxosALTS/NavData.js +1 -7
- package/dist/NavigationMenu/AxosALTS/index.js +1 -7
- package/dist/NavigationMenu/AxosBank/MobileMenu/MobileNavData.js +1 -7
- package/dist/NavigationMenu/AxosBank/NavData.js +1 -7
- package/dist/NavigationMenu/AxosBank/SubNavBar.js +1 -7
- package/dist/NavigationMenu/AxosBank/index.js +1 -7
- package/dist/NavigationMenu/LaVictoire/NavData.js +1 -7
- package/dist/NavigationMenu/LaVictoire/index.js +1 -7
- package/dist/NavigationMenu/NavDataJson.js +1 -7
- package/dist/NavigationMenu/Navbar.js +1 -7
- package/dist/NavigationMenu/SignInNavButton.js +1 -7
- package/dist/SetContainer/SetContainer.js +1 -7
- package/dist/SocialMediaBar/iconsRepository.js +1 -7
- package/dist/Table/Table.d.ts +1 -1
- package/dist/VideoTile/VideoTile.js +1 -7
- package/dist/VideoWrapper/index.js +1 -7
- package/dist/WalnutIframe/wrapper.module.js +3 -3
- package/dist/assets/WalnutIframe/wrapper.css.css +49 -49
- package/dist/main.d.ts +0 -1
- package/dist/main.js +0 -33
- package/package.json +133 -136
- package/dist/Chatbot/Bubble.css.d.ts +0 -2
- package/dist/Chatbot/Bubble.css.js +0 -7
- package/dist/Chatbot/Bubble.d.ts +0 -3
- package/dist/Chatbot/Bubble.js +0 -100
- package/dist/Chatbot/Chat.d.ts +0 -1
- package/dist/Chatbot/Chat.js +0 -165
- package/dist/Chatbot/ChatWindow.css.d.ts +0 -14
- package/dist/Chatbot/ChatWindow.css.js +0 -31
- package/dist/Chatbot/ChatWindow.d.ts +0 -23
- package/dist/Chatbot/ChatWindow.js +0 -208
- package/dist/Chatbot/Chatbot.css.d.ts +0 -2
- package/dist/Chatbot/Chatbot.css.js +0 -7
- package/dist/Chatbot/Chatbot.css.ts.vanilla.css.js +0 -1
- package/dist/Chatbot/Chatbot.d.ts +0 -5
- package/dist/Chatbot/Chatbot.js +0 -39
- package/dist/Chatbot/authenticate.d.ts +0 -3
- package/dist/Chatbot/authenticate.js +0 -16
- package/dist/Chatbot/index.d.ts +0 -9
- package/dist/Chatbot/index.js +0 -36
- package/dist/Chatbot/store/chat.d.ts +0 -9
- package/dist/Chatbot/store/chat.js +0 -11
- package/dist/Chatbot/store/messages.d.ts +0 -14
- package/dist/Chatbot/store/messages.js +0 -12
- package/dist/Chatbot/useHeadlessChat.d.ts +0 -22
- package/dist/Chatbot/useHeadlessChat.js +0 -157
- package/dist/assets/Chatbot/Bubble.css +0 -51
- package/dist/assets/Chatbot/ChatWindow.css +0 -157
package/dist/main.js
CHANGED
|
@@ -37,15 +37,6 @@ import { MonthlyPaymentLVFCalculator } from "./Calculators/MonthlyPaymentLVFCalc
|
|
|
37
37
|
import { SummitApyCalculator } from "./Calculators/SummitApyCalculator/index.js";
|
|
38
38
|
import { CallToActionBar } from "./CallToActionBar/index.js";
|
|
39
39
|
import { Carousel, CarouselSlide } from "./Carousel/index.js";
|
|
40
|
-
import { Bubble } from "./Chatbot/Bubble.js";
|
|
41
|
-
import { bubbleWrapper, svgFill } from "./Chatbot/Bubble.css.js";
|
|
42
|
-
import { Chatbot } from "./Chatbot/Chatbot.js";
|
|
43
|
-
import { chatbotAXB, chatbotUFB } from "./Chatbot/Chatbot.css.js";
|
|
44
|
-
import { ChatWindow } from "./Chatbot/ChatWindow.js";
|
|
45
|
-
import { arrowFill, button_reset, chat_title, endChatButtonStyle, inline_button, inline_button_wrapper, inputStyle, messageStyle, messagesContainerStyle, notificationStyle, sendButtonStyle, windowBarStyle, windowOpenStyle, windowStyle } from "./Chatbot/ChatWindow.css.js";
|
|
46
|
-
import { useOpenChat } from "./Chatbot/store/chat.js";
|
|
47
|
-
import { useMessages } from "./Chatbot/store/messages.js";
|
|
48
|
-
import { useHeadlessChat } from "./Chatbot/useHeadlessChat.js";
|
|
49
40
|
import { Chevron } from "./Chevron/index.js";
|
|
50
41
|
import { CollectInformationAlert } from "./CollectInformationAlert/index.js";
|
|
51
42
|
import { comparison, comparison_buttons, comparison_container, comparison_content, comparison_feature, comparison_layout, comparison_list, comparison_tab_container, feature_header, feature_title, headerComparison } from "./Comparison/Comparison.css.js";
|
|
@@ -244,7 +235,6 @@ export {
|
|
|
244
235
|
BalanceAPYCalculator,
|
|
245
236
|
Blockquote,
|
|
246
237
|
BreadcumbHeader,
|
|
247
|
-
Bubble,
|
|
248
238
|
BulletItem,
|
|
249
239
|
Button,
|
|
250
240
|
BuyDownCalculator,
|
|
@@ -253,8 +243,6 @@ export {
|
|
|
253
243
|
Carousel,
|
|
254
244
|
CarouselSlide,
|
|
255
245
|
CategorySelector,
|
|
256
|
-
ChatWindow,
|
|
257
|
-
Chatbot,
|
|
258
246
|
default5 as CheckCircle,
|
|
259
247
|
default6 as CheckCircleLight,
|
|
260
248
|
default7 as CheckIcon,
|
|
@@ -411,7 +399,6 @@ export {
|
|
|
411
399
|
apply_now_form,
|
|
412
400
|
apy_billboard,
|
|
413
401
|
apy_table,
|
|
414
|
-
arrowFill,
|
|
415
402
|
associatedEmail,
|
|
416
403
|
award_company,
|
|
417
404
|
award_item,
|
|
@@ -445,10 +432,8 @@ export {
|
|
|
445
432
|
bs_section,
|
|
446
433
|
bs_topic,
|
|
447
434
|
bs_wrapper,
|
|
448
|
-
bubbleWrapper,
|
|
449
435
|
bullet_details,
|
|
450
436
|
button,
|
|
451
|
-
button_reset,
|
|
452
437
|
buttons,
|
|
453
438
|
calculator,
|
|
454
439
|
calculator_description,
|
|
@@ -457,9 +442,6 @@ export {
|
|
|
457
442
|
center_center,
|
|
458
443
|
center_left,
|
|
459
444
|
center_right,
|
|
460
|
-
chat_title,
|
|
461
|
-
chatbotAXB,
|
|
462
|
-
chatbotUFB,
|
|
463
445
|
checkbox_group,
|
|
464
446
|
columnValues,
|
|
465
447
|
comparison,
|
|
@@ -486,7 +468,6 @@ export {
|
|
|
486
468
|
dp_input,
|
|
487
469
|
dropdown,
|
|
488
470
|
dynPH,
|
|
489
|
-
endChatButtonStyle,
|
|
490
471
|
error_alert,
|
|
491
472
|
error_alert_content,
|
|
492
473
|
error_close_button,
|
|
@@ -588,11 +569,8 @@ export {
|
|
|
588
569
|
image_inner_wrapper,
|
|
589
570
|
img_area,
|
|
590
571
|
img_contents,
|
|
591
|
-
inline_button,
|
|
592
|
-
inline_button_wrapper,
|
|
593
572
|
inline_container,
|
|
594
573
|
input,
|
|
595
|
-
inputStyle,
|
|
596
574
|
insight_header,
|
|
597
575
|
insight_header_2,
|
|
598
576
|
insight_header_3,
|
|
@@ -629,8 +607,6 @@ export {
|
|
|
629
607
|
mb_8,
|
|
630
608
|
mb_form,
|
|
631
609
|
media,
|
|
632
|
-
messageStyle,
|
|
633
|
-
messagesContainerStyle,
|
|
634
610
|
mh_330,
|
|
635
611
|
modalCheckboxContainer,
|
|
636
612
|
modalMobile,
|
|
@@ -641,7 +617,6 @@ export {
|
|
|
641
617
|
mw24,
|
|
642
618
|
na_cursor,
|
|
643
619
|
nested_grid,
|
|
644
|
-
notificationStyle,
|
|
645
620
|
ol,
|
|
646
621
|
one_row,
|
|
647
622
|
padding,
|
|
@@ -686,7 +661,6 @@ export {
|
|
|
686
661
|
selection_section_content,
|
|
687
662
|
selection_section_icon,
|
|
688
663
|
selection_section_icon_img,
|
|
689
|
-
sendButtonStyle,
|
|
690
664
|
separator,
|
|
691
665
|
set_container,
|
|
692
666
|
set_container_cols,
|
|
@@ -710,7 +684,6 @@ export {
|
|
|
710
684
|
success_icon,
|
|
711
685
|
success_wrap,
|
|
712
686
|
supertag,
|
|
713
|
-
svgFill,
|
|
714
687
|
svg_fill,
|
|
715
688
|
svg_icon,
|
|
716
689
|
svg_logo,
|
|
@@ -746,9 +719,6 @@ export {
|
|
|
746
719
|
up_to,
|
|
747
720
|
url_row,
|
|
748
721
|
useGlobalContext,
|
|
749
|
-
useHeadlessChat,
|
|
750
|
-
useMessages,
|
|
751
|
-
useOpenChat,
|
|
752
722
|
user_buttons,
|
|
753
723
|
user_card,
|
|
754
724
|
user_container,
|
|
@@ -764,9 +734,6 @@ export {
|
|
|
764
734
|
video_title,
|
|
765
735
|
vidyard_height,
|
|
766
736
|
w_100,
|
|
767
|
-
windowBarStyle,
|
|
768
|
-
windowOpenStyle,
|
|
769
|
-
windowStyle,
|
|
770
737
|
wrapper,
|
|
771
738
|
x_input,
|
|
772
739
|
xc_input
|
package/package.json
CHANGED
|
@@ -1,136 +1,133 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@axos-web-dev/shared-components",
|
|
3
|
-
"description": "Axos shared components library for web.",
|
|
4
|
-
"version": "1.0.100-dev.
|
|
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
|
-
"@
|
|
39
|
-
"@
|
|
40
|
-
"@
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
"
|
|
50
|
-
"react-
|
|
51
|
-
"react-
|
|
52
|
-
"react-
|
|
53
|
-
"react-
|
|
54
|
-
"react-
|
|
55
|
-
"react-
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
-
"
|
|
61
|
-
"
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
"
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
"
|
|
68
|
-
"
|
|
69
|
-
"
|
|
70
|
-
"
|
|
71
|
-
"react": "^
|
|
72
|
-
"react-
|
|
73
|
-
"
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
"
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
"@
|
|
80
|
-
"@
|
|
81
|
-
"@storybook/addon-
|
|
82
|
-
"@storybook/addon-
|
|
83
|
-
"@storybook/addon-
|
|
84
|
-
"@storybook/
|
|
85
|
-
"@storybook/
|
|
86
|
-
"@storybook/
|
|
87
|
-
"@storybook/
|
|
88
|
-
"@
|
|
89
|
-
"@
|
|
90
|
-
"@
|
|
91
|
-
"@
|
|
92
|
-
"@
|
|
93
|
-
"@
|
|
94
|
-
"@types/
|
|
95
|
-
"@types/
|
|
96
|
-
"@types/react": "^18.3.
|
|
97
|
-
"@types/react-
|
|
98
|
-
"@
|
|
99
|
-
"@
|
|
100
|
-
"@
|
|
101
|
-
"@
|
|
102
|
-
"@
|
|
103
|
-
"@
|
|
104
|
-
"
|
|
105
|
-
"
|
|
106
|
-
"
|
|
107
|
-
"
|
|
108
|
-
"eslint": "^8.
|
|
109
|
-
"
|
|
110
|
-
"
|
|
111
|
-
"
|
|
112
|
-
"
|
|
113
|
-
"
|
|
114
|
-
"
|
|
115
|
-
"
|
|
116
|
-
"
|
|
117
|
-
"
|
|
118
|
-
"
|
|
119
|
-
"
|
|
120
|
-
"
|
|
121
|
-
"
|
|
122
|
-
"
|
|
123
|
-
"
|
|
124
|
-
"vite": "^
|
|
125
|
-
"vite-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
"
|
|
132
|
-
|
|
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.5",
|
|
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
|
+
"@types/iframe-resizer": "3.5.13",
|
|
39
|
+
"@vanilla-extract/css": "^1.16.1",
|
|
40
|
+
"@vanilla-extract/recipes": "^0.5.1",
|
|
41
|
+
"antd": "^5.22.5",
|
|
42
|
+
"clsx": "^2.1.1",
|
|
43
|
+
"framer-motion": "^12.9.2",
|
|
44
|
+
"iframe-resizer": "^3.6.6",
|
|
45
|
+
"lodash": "^4.17.21",
|
|
46
|
+
"moment": "^2.30.1",
|
|
47
|
+
"next-safe-action": "^8.0.2",
|
|
48
|
+
"react-date-picker": "^11.0.0",
|
|
49
|
+
"react-date-range": "^2.0.1",
|
|
50
|
+
"react-hook-form": "^7.54.2",
|
|
51
|
+
"react-markdown": "^9.0.1",
|
|
52
|
+
"react-popper": "^2.3.0",
|
|
53
|
+
"react-slick": "^0.30.2",
|
|
54
|
+
"react-use": "^17.6.0",
|
|
55
|
+
"react-wrap-balancer": "^1.1.1",
|
|
56
|
+
"rsuite": "^5.75.0",
|
|
57
|
+
"slick-carousel": "^1.8.1",
|
|
58
|
+
"typed-css-modules": "^0.9.1",
|
|
59
|
+
"vite-plugin-svgr": "^4.3.0",
|
|
60
|
+
"zod": "^3.24.1",
|
|
61
|
+
"zustand": "^4.5.5"
|
|
62
|
+
},
|
|
63
|
+
"peerDependencies": {
|
|
64
|
+
"@vanilla-extract/css-utils": "^0.1.3",
|
|
65
|
+
"@vanilla-extract/recipes": "^0.5.1",
|
|
66
|
+
"@vanilla-extract/vite-plugin": "^4.0.3",
|
|
67
|
+
"next": "^14.1.4",
|
|
68
|
+
"react": "^18.2.0",
|
|
69
|
+
"react-date-range": "^2.0.1",
|
|
70
|
+
"react-dom": "^18.2.0",
|
|
71
|
+
"react-popper": "^2.3.0",
|
|
72
|
+
"react-slick": "^0.30.2",
|
|
73
|
+
"slick-carousel": "^1.8.1"
|
|
74
|
+
},
|
|
75
|
+
"devDependencies": {
|
|
76
|
+
"@chromatic-com/storybook": "^1.9.0",
|
|
77
|
+
"@rollup/plugin-alias": "^5.1.1",
|
|
78
|
+
"@storybook/addon-essentials": "^8.4.7",
|
|
79
|
+
"@storybook/addon-interactions": "^8.4.7",
|
|
80
|
+
"@storybook/addon-links": "^8.4.7",
|
|
81
|
+
"@storybook/addon-mdx-gfm": "^8.4.7",
|
|
82
|
+
"@storybook/addon-onboarding": "^8.4.7",
|
|
83
|
+
"@storybook/addon-themes": "^8.4.7",
|
|
84
|
+
"@storybook/blocks": "^8.4.7",
|
|
85
|
+
"@storybook/react": "^8.6.14",
|
|
86
|
+
"@storybook/react-vite": "^8.4.7",
|
|
87
|
+
"@storybook/test": "^8.6.14",
|
|
88
|
+
"@svgr/core": "^8.1.0",
|
|
89
|
+
"@svgr/plugin-prettier": "^8.1.0",
|
|
90
|
+
"@svgr/plugin-svgo": "^8.1.0",
|
|
91
|
+
"@types/lodash": "^4.17.17",
|
|
92
|
+
"@types/node": "^20.19.0",
|
|
93
|
+
"@types/react": "^18.3.23",
|
|
94
|
+
"@types/react-date-range": "^1.4.9",
|
|
95
|
+
"@types/react-datepicker": "^6.2.0",
|
|
96
|
+
"@types/react-dom": "^18.3.7",
|
|
97
|
+
"@types/react-slick": "^0.23.13",
|
|
98
|
+
"@typescript-eslint/eslint-plugin": "^7.18.0",
|
|
99
|
+
"@typescript-eslint/parser": "^7.18.0",
|
|
100
|
+
"@vanilla-extract/css-utils": "^0.1.4",
|
|
101
|
+
"@vanilla-extract/recipes": "^0.5.5",
|
|
102
|
+
"@vanilla-extract/vite-plugin": "^4.0.18",
|
|
103
|
+
"@vitejs/plugin-react-swc": "^3.7.2",
|
|
104
|
+
"esbuild-vanilla-image-loader": "^0.1.3",
|
|
105
|
+
"eslint": "^8.57.1",
|
|
106
|
+
"eslint-plugin-react-hooks": "^4.6.2",
|
|
107
|
+
"eslint-plugin-react-refresh": "^0.4.16",
|
|
108
|
+
"eslint-plugin-storybook": "^0.8.0",
|
|
109
|
+
"glob": "^10.4.5",
|
|
110
|
+
"husky": "^9.1.7",
|
|
111
|
+
"next": "^14.1.4",
|
|
112
|
+
"prettier": "3.2.5",
|
|
113
|
+
"react": "^18.3.1",
|
|
114
|
+
"react-dom": "^18.3.1",
|
|
115
|
+
"rollup-plugin-preserve-directives": "^0.4.0",
|
|
116
|
+
"rollup-plugin-svg-import": "^3.0.0",
|
|
117
|
+
"rollup-plugin-svgo": "^2.0.0",
|
|
118
|
+
"storybook": "^8.4.7",
|
|
119
|
+
"typescript": "^5.7.2",
|
|
120
|
+
"typescript-plugin-css-modules": "^5.1.0",
|
|
121
|
+
"vite": "^5.4.11",
|
|
122
|
+
"vite-plugin-dts": "^3.9.1",
|
|
123
|
+
"vite-plugin-lib-inject-css": "^2.1.1",
|
|
124
|
+
"vite-plugin-setting-css-module": "^1.1.4",
|
|
125
|
+
"vite-tsconfig-paths": "^4.3.2"
|
|
126
|
+
},
|
|
127
|
+
"main": "index.js",
|
|
128
|
+
"directories": {
|
|
129
|
+
"lib": "lib"
|
|
130
|
+
},
|
|
131
|
+
"author": "axos-web-dev",
|
|
132
|
+
"license": "ISC"
|
|
133
|
+
}
|
package/dist/Chatbot/Bubble.d.ts
DELETED
package/dist/Chatbot/Bubble.js
DELETED
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsxs, jsx } from "react/jsx-runtime";
|
|
3
|
-
import { bubbleWrapper, svgFill } from "./Bubble.css.js";
|
|
4
|
-
import { useOpenChat } from "./store/chat.js";
|
|
5
|
-
import { AnimatePresence, motion } from "framer-motion";
|
|
6
|
-
const Bubble = ({ children }) => {
|
|
7
|
-
const isOpen = useOpenChat((state) => state.isOpen);
|
|
8
|
-
const toggle = useOpenChat((state) => state.toggle);
|
|
9
|
-
return /* @__PURE__ */ jsxs("div", { className: bubbleWrapper, onClick: toggle, children: [
|
|
10
|
-
/* @__PURE__ */ jsx("div", { className: "bubble-circle flex", children: /* @__PURE__ */ jsx(AnimatePresence, { children: !isOpen ? /* @__PURE__ */ jsxs(
|
|
11
|
-
motion.svg,
|
|
12
|
-
{
|
|
13
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
14
|
-
width: "39",
|
|
15
|
-
height: "39",
|
|
16
|
-
viewBox: "0 0 39 39",
|
|
17
|
-
fill: "none",
|
|
18
|
-
initial: { scale: 0.1, opacity: 0 },
|
|
19
|
-
animate: {
|
|
20
|
-
scale: 1,
|
|
21
|
-
opacity: 1,
|
|
22
|
-
transition: {
|
|
23
|
-
default: { type: "spring" },
|
|
24
|
-
opacity: { ease: [0, 0.71, 0.2, 1.01] }
|
|
25
|
-
}
|
|
26
|
-
},
|
|
27
|
-
children: [
|
|
28
|
-
/* @__PURE__ */ jsx(
|
|
29
|
-
"path",
|
|
30
|
-
{
|
|
31
|
-
className: svgFill,
|
|
32
|
-
d: "M3 7.5C3 5.01472 5.01472 3 7.5 3H22.5V0H7.5C3.35786 0 0 3.35786 0 7.5V16.5H3V7.5Z",
|
|
33
|
-
fill: "#98DDFF"
|
|
34
|
-
}
|
|
35
|
-
),
|
|
36
|
-
/* @__PURE__ */ jsx(
|
|
37
|
-
"path",
|
|
38
|
-
{
|
|
39
|
-
className: svgFill,
|
|
40
|
-
"fill-rule": "evenodd",
|
|
41
|
-
"clip-rule": "evenodd",
|
|
42
|
-
d: "M13.5 30H12C8.68629 30 6 27.3137 6 24V12C6 8.68629 8.68629 6 12 6H33C36.3137 6 39 8.68629 39 12V24C39 27.3137 36.3137 30 33 30H26.25L18.6213 37.6287C16.7314 39.5186 13.5 38.1801 13.5 35.5074V30ZM16.5 35.5074V27H12C10.3431 27 9 25.6569 9 24V12C9 10.3431 10.3431 9 12 9H33C34.6569 9 36 10.3431 36 12V24C36 25.6569 34.6569 27 33 27H25.0074L16.5 35.5074Z",
|
|
43
|
-
fill: "#98DDFF"
|
|
44
|
-
}
|
|
45
|
-
)
|
|
46
|
-
]
|
|
47
|
-
}
|
|
48
|
-
) : /* @__PURE__ */ jsx("span", { className: "close-icon", children: /* @__PURE__ */ jsxs(
|
|
49
|
-
motion.svg,
|
|
50
|
-
{
|
|
51
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
52
|
-
width: "24",
|
|
53
|
-
height: "24",
|
|
54
|
-
viewBox: "0 0 24 24",
|
|
55
|
-
fill: "none",
|
|
56
|
-
initial: { opacity: 0, rotate: 0, scale: 0.1 },
|
|
57
|
-
animate: {
|
|
58
|
-
opacity: 1,
|
|
59
|
-
rotate: -360,
|
|
60
|
-
scale: 1,
|
|
61
|
-
transition: {
|
|
62
|
-
default: { type: "spring" },
|
|
63
|
-
opacity: { ease: "linear" },
|
|
64
|
-
scale: { ease: "linear" }
|
|
65
|
-
}
|
|
66
|
-
},
|
|
67
|
-
children: [
|
|
68
|
-
/* @__PURE__ */ jsx(
|
|
69
|
-
"path",
|
|
70
|
-
{
|
|
71
|
-
className: svgFill,
|
|
72
|
-
d: "M23.7096 0.892655L23.1073 0.290383C22.7202 -0.0967942 22.0749 -0.0967942 21.6447 0.290383L13.6 8.33506L15.6649 10.4L23.7096 2.35533C24.0968 1.92513 24.0968 1.27983 23.7096 0.892655Z",
|
|
73
|
-
fill: "#98DDFF"
|
|
74
|
-
}
|
|
75
|
-
),
|
|
76
|
-
/* @__PURE__ */ jsx(
|
|
77
|
-
"path",
|
|
78
|
-
{
|
|
79
|
-
className: svgFill,
|
|
80
|
-
d: "M2.44278 0.293744C2.04123 -0.0979148 1.37197 -0.0979148 0.925804 0.293744L0.301162 0.902989C-0.100387 1.29465 -0.100387 1.94742 0.301162 2.38259L10.1168 12L0.301162 21.6174C-0.100387 22.0091 -0.100387 22.6618 0.301162 23.097L0.925804 23.7063C1.32735 24.0979 1.99661 24.0979 2.44278 23.7063L14.4 12.0435L2.44278 0.293744Z",
|
|
81
|
-
fill: "#98DDFF"
|
|
82
|
-
}
|
|
83
|
-
),
|
|
84
|
-
/* @__PURE__ */ jsx(
|
|
85
|
-
"path",
|
|
86
|
-
{
|
|
87
|
-
className: svgFill,
|
|
88
|
-
d: "M23.7096 23.1073L23.1073 23.7096C22.7202 24.0968 22.0749 24.0968 21.6447 23.7096L13.6 15.6649L15.6649 13.6L23.7096 21.6446C24.0968 22.0748 24.0968 22.7201 23.7096 23.1073Z",
|
|
89
|
-
fill: "#98DDFF"
|
|
90
|
-
}
|
|
91
|
-
)
|
|
92
|
-
]
|
|
93
|
-
}
|
|
94
|
-
) }) }) }),
|
|
95
|
-
children
|
|
96
|
-
] });
|
|
97
|
-
};
|
|
98
|
-
export {
|
|
99
|
-
Bubble
|
|
100
|
-
};
|
package/dist/Chatbot/Chat.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default function Chat(): import("react/jsx-runtime").JSX.Element;
|