@axos-web-dev/shared-components 1.0.77-patch.33 → 1.0.77-patch.34

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 (92) hide show
  1. package/dist/ATMLocator/ATMLocator.js +1 -7
  2. package/dist/Auth/ErrorAlert.js +1 -7
  3. package/dist/Avatar/Avatar.module.js +7 -7
  4. package/dist/Blockquote/Blockquote.module.js +3 -3
  5. package/dist/Button/Button.js +1 -7
  6. package/dist/Calculators/ApyCalculator/index.js +11 -5
  7. package/dist/Calculators/BuyDownCalculator/index.js +1 -1
  8. package/dist/Calculators/Calculator.js +2 -8
  9. package/dist/Carousel/index.js +1 -7
  10. package/dist/Chevron/index.js +1 -7
  11. package/dist/Comparison/Comparison.js +1 -7
  12. package/dist/ExecutiveBio/ExecutiveBio.js +1 -7
  13. package/dist/FaqAccordion/index.js +1 -7
  14. package/dist/FooterSiteMap/AxosBank/FooterSiteMap.js +1 -7
  15. package/dist/Forms/ApplyNow.js +1 -7
  16. package/dist/Forms/ContactUsBusiness.js +1 -7
  17. package/dist/Forms/ContactUsBusinessNameEmail.js +1 -7
  18. package/dist/Forms/ContactUsNMLSId.js +1 -7
  19. package/dist/Forms/CraPublicFile.js +1 -7
  20. package/dist/Forms/EmailOnly.js +1 -7
  21. package/dist/Forms/MortgageRate/MortgageRateForm.js +1 -7
  22. package/dist/Forms/MortgageRate/MortgageRateWatch.js +1 -7
  23. package/dist/Forms/MortgageWarehouseLending.js +1 -7
  24. package/dist/Forms/SuccesForm.js +2 -8
  25. package/dist/Hyperlink/index.js +1 -7
  26. package/dist/ImageLink/ImageLink.js +1 -7
  27. package/dist/ImageLink/ImageLinkSet.js +1 -7
  28. package/dist/ImageLink/index.js +1 -7
  29. package/dist/Insight/Featured/CategorySelector.js +1 -7
  30. package/dist/Insight/Featured/Featured.js +1 -7
  31. package/dist/Insight/Featured/Header.js +1 -7
  32. package/dist/Modal/Modal.js +1 -7
  33. package/dist/NavigationMenu/AxosALTS/NavData.js +1 -7
  34. package/dist/NavigationMenu/AxosALTS/index.js +1 -7
  35. package/dist/NavigationMenu/AxosAdvisor/NavBar.module.js +52 -52
  36. package/dist/NavigationMenu/AxosAdvisorServices/NavBar.module.js +53 -53
  37. package/dist/NavigationMenu/AxosBank/MobileMenu/MobileMenu.module.js +16 -16
  38. package/dist/NavigationMenu/AxosBank/MobileMenu/MobileNavData.d.ts +1 -1
  39. package/dist/NavigationMenu/AxosBank/MobileMenu/MobileNavData.js +2 -8
  40. package/dist/NavigationMenu/AxosBank/NavBar.module.js +39 -39
  41. package/dist/NavigationMenu/AxosBank/NavData.js +1 -7
  42. package/dist/NavigationMenu/AxosBank/SubNavBar.js +2 -8
  43. package/dist/NavigationMenu/AxosBank/index.js +1 -7
  44. package/dist/NavigationMenu/AxosClearing/NavBar.module.js +37 -37
  45. package/dist/NavigationMenu/AxosFiduciary/NavBar.module.js +41 -41
  46. package/dist/NavigationMenu/LaVictoire/NavData.js +1 -7
  47. package/dist/NavigationMenu/LaVictoire/index.js +1 -7
  48. package/dist/SetContainer/SetContainer.js +1 -7
  49. package/dist/SocialMediaBar/iconsRepository.js +1 -7
  50. package/dist/VideoTile/VideoTile.js +1 -7
  51. package/dist/VideoWrapper/index.js +1 -7
  52. package/dist/assets/Avatar/Avatar.css.css +59 -59
  53. package/dist/assets/Blockquote/Blockquote.css.css +68 -68
  54. package/dist/assets/NavigationMenu/AxosAdvisor/NavBar.css.css +597 -597
  55. package/dist/assets/NavigationMenu/AxosAdvisorServices/NavBar.css.css +618 -618
  56. package/dist/assets/NavigationMenu/AxosBank/MobileMenu/MobileMenu.css.css +191 -191
  57. package/dist/assets/NavigationMenu/AxosBank/NavBar.css.css +473 -473
  58. package/dist/assets/NavigationMenu/AxosClearing/NavBar.css.css +458 -458
  59. package/dist/assets/NavigationMenu/AxosFiduciary/NavBar.css.css +426 -426
  60. package/dist/assets/TopicalNavItem/TopicalNavItem.css +2 -2
  61. package/dist/main.d.ts +0 -1
  62. package/dist/main.js +0 -37
  63. package/package.json +133 -135
  64. package/dist/Chatbot/Bubble.css.d.ts +0 -2
  65. package/dist/Chatbot/Bubble.css.js +0 -7
  66. package/dist/Chatbot/Bubble.d.ts +0 -3
  67. package/dist/Chatbot/Bubble.js +0 -100
  68. package/dist/Chatbot/Chat.d.ts +0 -1
  69. package/dist/Chatbot/Chat.js +0 -165
  70. package/dist/Chatbot/ChatWindow.css.d.ts +0 -18
  71. package/dist/Chatbot/ChatWindow.css.js +0 -40
  72. package/dist/Chatbot/ChatWindow.d.ts +0 -30
  73. package/dist/Chatbot/ChatWindow.js +0 -397
  74. package/dist/Chatbot/Chatbot.css.d.ts +0 -2
  75. package/dist/Chatbot/Chatbot.css.js +0 -6
  76. package/dist/Chatbot/Chatbot.css.ts.vanilla.css.js +0 -1
  77. package/dist/Chatbot/Chatbot.d.ts +0 -6
  78. package/dist/Chatbot/Chatbot.js +0 -43
  79. package/dist/Chatbot/EllipsisIcon.d.ts +0 -4
  80. package/dist/Chatbot/EllipsisIcon.js +0 -19
  81. package/dist/Chatbot/authenticate.d.ts +0 -3
  82. package/dist/Chatbot/authenticate.js +0 -16
  83. package/dist/Chatbot/index.d.ts +0 -9
  84. package/dist/Chatbot/index.js +0 -40
  85. package/dist/Chatbot/store/chat.d.ts +0 -9
  86. package/dist/Chatbot/store/chat.js +0 -11
  87. package/dist/Chatbot/store/messages.d.ts +0 -15
  88. package/dist/Chatbot/store/messages.js +0 -13
  89. package/dist/Chatbot/useHeadlessChat.d.ts +0 -28
  90. package/dist/Chatbot/useHeadlessChat.js +0 -241
  91. package/dist/assets/Chatbot/Bubble.css +0 -51
  92. package/dist/assets/Chatbot/ChatWindow.css +0 -213
@@ -16,8 +16,8 @@
16
16
  transition: all 0.35s ease;
17
17
  text-decoration: none;
18
18
  }
19
- .dmebjx0:hover {
20
- border-bottom-color: #333d46;
19
+ .dmebjx0:hover, .dmebjx0:focus-visible {
20
+ border-bottom-color: #1F1F1F;
21
21
  background-image: linear-gradient(360deg,#def4ff 0,rgba(222,244,255,0.942708) 34.12%,rgba(222,244,255,0) 107.41%);
22
22
  }
23
23
  .dmebjx1 {
package/dist/main.d.ts CHANGED
@@ -20,7 +20,6 @@ export * from './Calculators/MarginTradingCalculator';
20
20
  export * from './Calculators/MonthlyPaymentCalculator';
21
21
  export * from './CallToActionBar';
22
22
  export * from './Carousel';
23
- export * from './Chatbot';
24
23
  export * from './Chevron';
25
24
  export * from './CollectInformationAlert';
26
25
  export * from './Comparison';
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, 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
- 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";
@@ -246,7 +237,6 @@ export {
246
237
  BalanceAPYCalculator,
247
238
  Blockquote,
248
239
  BreadcumbHeader,
249
- Bubble,
250
240
  BulletItem,
251
241
  Button,
252
242
  BuyDownCalculator,
@@ -255,8 +245,6 @@ export {
255
245
  Carousel,
256
246
  CarouselSlide,
257
247
  CategorySelector,
258
- ChatWindow,
259
- Chatbot,
260
248
  default5 as CheckCircle,
261
249
  default6 as CheckCircleLight,
262
250
  default7 as CheckIcon,
@@ -415,7 +403,6 @@ export {
415
403
  apply_now_form,
416
404
  apy_billboard,
417
405
  apy_table,
418
- arrowFill,
419
406
  associatedEmail,
420
407
  award_company,
421
408
  award_item,
@@ -450,10 +437,8 @@ export {
450
437
  bs_topic,
451
438
  bs_video,
452
439
  bs_wrapper,
453
- bubbleWrapper,
454
440
  bullet_details,
455
441
  button,
456
- button_reset,
457
442
  buttons,
458
443
  calculator,
459
444
  calculator_description,
@@ -462,13 +447,6 @@ export {
462
447
  center_center,
463
448
  center_left,
464
449
  center_right,
465
- chatFinishDialog,
466
- chatNetworkStatus,
467
- chat_title,
468
- chatbotAXB,
469
- chatbotMenu,
470
- chatbotMenuItem,
471
- chatbotUFB,
472
450
  checkbox_group,
473
451
  columnValues,
474
452
  comparison,
@@ -495,7 +473,6 @@ export {
495
473
  dp_input,
496
474
  dropdown,
497
475
  dynPH,
498
- endChatButtonStyle,
499
476
  error_alert,
500
477
  error_alert_content,
501
478
  error_close_button,
@@ -597,11 +574,8 @@ export {
597
574
  image_inner_wrapper,
598
575
  img_area,
599
576
  img_contents,
600
- inline_button,
601
- inline_button_wrapper,
602
577
  inline_container,
603
578
  input,
604
- inputStyle,
605
579
  insight_header,
606
580
  insight_header_2,
607
581
  insight_header_3,
@@ -638,8 +612,6 @@ export {
638
612
  mb_8,
639
613
  mb_form,
640
614
  media,
641
- messageStyle,
642
- messagesContainerStyle,
643
615
  mh_330,
644
616
  modalCheckboxContainer,
645
617
  modalMobile,
@@ -650,7 +622,6 @@ export {
650
622
  mw24,
651
623
  na_cursor,
652
624
  nested_grid,
653
- notificationStyle,
654
625
  ol,
655
626
  one_row,
656
627
  padding,
@@ -695,7 +666,6 @@ export {
695
666
  selection_section_content,
696
667
  selection_section_icon,
697
668
  selection_section_icon_img,
698
- sendButtonStyle,
699
669
  separator,
700
670
  set_container,
701
671
  set_container_cols,
@@ -721,7 +691,6 @@ export {
721
691
  success_icon,
722
692
  success_wrap,
723
693
  supertag,
724
- svgFill,
725
694
  svg_fill,
726
695
  svg_icon,
727
696
  svg_logo,
@@ -757,9 +726,6 @@ export {
757
726
  up_to,
758
727
  url_row,
759
728
  useGlobalContext,
760
- useHeadlessChat,
761
- useMessages,
762
- useOpenChat,
763
729
  user_buttons,
764
730
  user_card,
765
731
  user_container,
@@ -775,9 +741,6 @@ export {
775
741
  video_title,
776
742
  vidyard_height,
777
743
  w_100,
778
- windowBarStyle,
779
- windowOpenStyle,
780
- windowStyle,
781
744
  wrapper,
782
745
  x_input,
783
746
  xc_input
package/package.json CHANGED
@@ -1,135 +1,133 @@
1
- {
2
- "name": "@axos-web-dev/shared-components",
3
- "description": "Axos shared components library for web.",
4
- "version": "1.0.77-patch.33",
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
- "@ujet/websdk-headless": "^3.41.4",
40
- "@vanilla-extract/css": "^1.16.1",
41
- "@vanilla-extract/recipes": "^0.5.1",
42
- "antd": "^5.22.5",
43
- "clsx": "^2.1.1",
44
- "framer-motion": "^12.9.2",
45
- "iframe-resizer": "^3.6.6",
46
- "lodash": "^4.17.21",
47
- "moment": "^2.30.1",
48
- "next-safe-action": "^8.0.2",
49
- "react-date-picker": "^11.0.0",
50
- "react-date-range": "^2.0.1",
51
- "react-hook-form": "^7.54.2",
52
- "react-markdown": "^9.0.1",
53
- "react-popper": "^2.3.0",
54
- "react-slick": "^0.30.2",
55
- "react-use": "^17.6.0",
56
- "react-wrap-balancer": "^1.1.1",
57
- "remark-gfm": "^4.0.1",
58
- "rsuite": "^5.75.0",
59
- "slick-carousel": "^1.8.1",
60
- "typed-css-modules": "^0.9.1",
61
- "vite-plugin-svgr": "^4.3.0",
62
- "zod": "^3.24.1",
63
- "zustand": "^4.5.5"
64
- },
65
- "peerDependencies": {
66
- "@vanilla-extract/css-utils": "^0.1.3",
67
- "@vanilla-extract/recipes": "^0.5.1",
68
- "@vanilla-extract/vite-plugin": "^4.0.3",
69
- "next": "^14.1.4",
70
- "react": "^18.2.0",
71
- "react-date-range": "^2.0.1",
72
- "react-dom": "^18.2.0",
73
- "react-popper": "^2.3.0",
74
- "react-slick": "^0.30.2",
75
- "slick-carousel": "^1.8.1"
76
- },
77
- "devDependencies": {
78
- "@chromatic-com/storybook": "^1.9.0",
79
- "@rollup/plugin-alias": "^5.1.1",
80
- "@storybook/addon-essentials": "^8.4.7",
81
- "@storybook/addon-interactions": "^8.4.7",
82
- "@storybook/addon-links": "^8.4.7",
83
- "@storybook/addon-mdx-gfm": "^8.4.7",
84
- "@storybook/addon-onboarding": "^8.4.7",
85
- "@storybook/addon-themes": "^8.4.7",
86
- "@storybook/blocks": "^8.4.7",
87
- "@storybook/react": "^8.6.14",
88
- "@storybook/react-vite": "^8.4.7",
89
- "@storybook/test": "^8.6.14",
90
- "@svgr/core": "^8.1.0",
91
- "@svgr/plugin-prettier": "^8.1.0",
92
- "@svgr/plugin-svgo": "^8.1.0",
93
- "@types/lodash": "^4.17.17",
94
- "@types/node": "^20.19.0",
95
- "@types/react": "^18.3.23",
96
- "@types/react-date-range": "^1.4.9",
97
- "@types/react-datepicker": "^6.2.0",
98
- "@types/react-dom": "^18.3.7",
99
- "@types/react-slick": "^0.23.13",
100
- "@typescript-eslint/eslint-plugin": "^7.18.0",
101
- "@typescript-eslint/parser": "^7.18.0",
102
- "@vanilla-extract/css-utils": "^0.1.4",
103
- "@vanilla-extract/recipes": "^0.5.5",
104
- "@vanilla-extract/vite-plugin": "^4.0.18",
105
- "@vitejs/plugin-react-swc": "^3.7.2",
106
- "esbuild-vanilla-image-loader": "^0.1.3",
107
- "eslint": "^8.57.1",
108
- "eslint-plugin-react-hooks": "^4.6.2",
109
- "eslint-plugin-react-refresh": "^0.4.16",
110
- "eslint-plugin-storybook": "^0.8.0",
111
- "glob": "^10.4.5",
112
- "husky": "^9.1.7",
113
- "next": "^14.1.4",
114
- "prettier": "3.2.5",
115
- "react": "^18.3.1",
116
- "react-dom": "^18.3.1",
117
- "rollup-plugin-preserve-directives": "^0.4.0",
118
- "rollup-plugin-svg-import": "^3.0.0",
119
- "rollup-plugin-svgo": "^2.0.0",
120
- "storybook": "^8.4.7",
121
- "typescript": "^5.7.2",
122
- "typescript-plugin-css-modules": "^5.1.0",
123
- "vite": "^5.4.11",
124
- "vite-plugin-dts": "^3.9.1",
125
- "vite-plugin-lib-inject-css": "^2.1.1",
126
- "vite-plugin-setting-css-module": "^1.1.4",
127
- "vite-tsconfig-paths": "^4.3.2"
128
- },
129
- "main": "index.js",
130
- "directories": {
131
- "lib": "lib"
132
- },
133
- "author": "axos-web-dev",
134
- "license": "ISC"
135
- }
1
+ {
2
+ "name": "@axos-web-dev/shared-components",
3
+ "description": "Axos shared components library for web.",
4
+ "version": "1.0.77-patch.34",
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
+ }
@@ -1,2 +0,0 @@
1
- export declare const bubbleWrapper: string;
2
- export declare const svgFill: string;
@@ -1,7 +0,0 @@
1
- import '../assets/Chatbot/Bubble.css';/* empty css */
2
- var bubbleWrapper = "_7u9pv30";
3
- var svgFill = "_7u9pv31";
4
- export {
5
- bubbleWrapper,
6
- svgFill
7
- };
@@ -1,3 +0,0 @@
1
- import { PropsWithChildren } from 'react';
2
-
3
- export declare const Bubble: ({ children }: PropsWithChildren) => import("react/jsx-runtime").JSX.Element;
@@ -1,100 +0,0 @@
1
- "use client";
2
- import { jsxs, jsx } from "react/jsx-runtime";
3
- import { AnimatePresence, motion } from "framer-motion";
4
- import { bubbleWrapper, svgFill } from "./Bubble.css.js";
5
- import { useOpenChat } from "./store/chat.js";
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
- fillRule: "evenodd",
41
- clipRule: "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
- };
@@ -1 +0,0 @@
1
- export default function Chat(): import("react/jsx-runtime").JSX.Element;