@creaditor/business-ai 1.0.60 → 1.0.61

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/style.css CHANGED
@@ -1 +1 @@
1
- ._rightLayout_35s7t_1{height:100%;min-height:400px;border-inline-start:1px solid rgba(0,0,0,.08);overflow:hidden}._logo_35s7t_8{width:100px;height:auto!important;position:absolute;top:20px;right:20px;z-index:100}@keyframes _fadeUp_35s7t_29{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}._fadeUp_35s7t_29{animation:_fadeUp_35s7t_29 .6s ease-out forwards;opacity:0}._fadeUpDelay1_35s7t_34{animation:_fadeUp_35s7t_29 .6s ease-out .1s forwards;opacity:0}._fadeUpDelay2_35s7t_39{animation:_fadeUp_35s7t_29 .6s ease-out .2s forwards;opacity:0}._fadeUpDelay3_35s7t_44{animation:_fadeUp_35s7t_29 .6s ease-out .3s forwards;opacity:0}._fadeUpDelay4_35s7t_49{animation:_fadeUp_35s7t_29 .6s ease-out .4s forwards;opacity:0}._fadeUpDelay5_35s7t_54{animation:_fadeUp_35s7t_29 .6s ease-out .5s forwards;opacity:0}._stepView_35s7t_60{min-height:200px;animation:_fadeUp_35s7t_29 .35s ease-out forwards}._actionCard_35s7t_66{display:grid;grid-template-columns:56px minmax(0,1fr);align-items:start;column-gap:1rem;row-gap:0;padding:1.25rem;border-radius:12px;border:1px solid rgba(0,0,0,.08);background:#fff;cursor:pointer;transition:all .2s ease;min-height:88px;position:relative;overflow:hidden;font:inherit;color:inherit;text-align:start;outline:none;width:100%;box-sizing:border-box}._actionCard_35s7t_66:before{content:"";position:absolute;top:0;right:0;left:0;height:2px;background:linear-gradient(-135deg,#a8107e,#6328a7);opacity:0;transition:opacity .2s ease}._actionCard_35s7t_66:hover{border-color:#a8107e47;background:#00000007}._actionCard_35s7t_66:hover:before{opacity:1}._actionCardTextOnly_35s7t_112{grid-template-columns:minmax(0,1fr)}._actionCardIcon_35s7t_116{width:56px;height:56px;min-width:56px;display:flex;align-items:center;justify-content:center;flex-shrink:0}._actionCardIcon_35s7t_116 img{width:28px;height:28px;object-fit:contain}._actionCardContent_35s7t_132{min-width:0;display:flex;flex-direction:column;align-items:stretch;justify-content:center;padding-block-start:2px}._actionCardTitle_35s7t_141{font-weight:600;font-size:1rem;color:#1a1a2e;line-height:1.35;letter-spacing:-.01em}._actionCardDescription_35s7t_149{margin-top:.375rem;font-size:.8125rem;line-height:1.45;color:#1a1a2ea6}._analyzingContainer_aogto_1{position:relative;width:200px;height:80px;border:2px solid;border-radius:8px;overflow:hidden}._scanningLine_aogto_10{position:absolute;top:0;right:-100%;width:100%;height:100%;animation:_scan_aogto_10 2s ease-in-out infinite}._dataBars_aogto_19{position:absolute;bottom:0;right:0;left:0;height:100%;display:flex;align-items:flex-end;justify-content:space-around;padding:12px;gap:8px}._dataBar_aogto_19{flex:1;border-radius:2px 2px 0 0;min-height:20px;animation:_analyze_aogto_1 1.2s ease-in-out infinite}._dataBar_aogto_19:nth-child(1){height:30%}._dataBar_aogto_19:nth-child(2){height:60%}._dataBar_aogto_19:nth-child(3){height:45%}._dataBar_aogto_19:nth-child(4){height:75%}._dataBar_aogto_19:nth-child(5){height:35%}@keyframes _scan_aogto_10{0%{right:-100%}to{right:100%}}@keyframes _analyze_aogto_1{0%,to{transform:scaleY(1);opacity:.7}50%{transform:scaleY(1.2);opacity:1}}._dots_aogto_80{display:inline-block;width:20px;text-align:right}@keyframes _fadeUp_aogto_98{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}._fadeUp_aogto_98{animation:_fadeUp_aogto_98 .6s ease-out forwards;opacity:0}._fadeUpDelay1_aogto_103{animation:_fadeUp_aogto_98 .6s ease-out .1s forwards;opacity:0}._fadeUpDelay2_aogto_108{animation:_fadeUp_aogto_98 .6s ease-out .2s forwards;opacity:0}._fadeUpDelay3_aogto_113{animation:_fadeUp_aogto_98 .6s ease-out .3s forwards;opacity:0}._smsChatContainer_2gl5q_1{display:flex;flex-direction:column;width:100%;min-width:0;max-width:100%;height:100%;max-height:100%;overflow:hidden;background-color:#fff;position:relative;box-sizing:border-box}._welcomeScreen_2gl5q_15{display:flex;flex-direction:column;align-items:center;justify-content:center;flex:1;min-height:0;min-width:0;width:100%;max-width:100%;padding:24px 12px;padding-right:max(12px,env(safe-area-inset-right,0px));padding-left:max(12px,env(safe-area-inset-left,0px));text-align:center;box-sizing:border-box}@media (min-width: 600px){._welcomeScreen_2gl5q_15{padding:40px 20px}}._aiAvatar_2gl5q_38{width:64px;height:64px;background:linear-gradient(-135deg,#9c27b0,#7b1fa2);margin-bottom:12px;border:1px solid rgba(156,39,176,.2)}._welcomeTitle_2gl5q_46{color:#333;margin-bottom:16px;font-weight:500;font-size:clamp(1.125rem,4vw,1.5rem);max-width:100%;overflow-wrap:anywhere}._messagesContainer_2gl5q_55{flex:1 1 0;min-height:0;min-width:0;width:100%;max-width:100%;overflow-y:scroll;overflow-x:hidden;padding:0 10px 10px;display:flex;flex-direction:column;gap:16px;scroll-behavior:smooth;background-color:#fff;-webkit-overflow-scrolling:touch;scrollbar-width:thin;scrollbar-color:rgba(0,0,0,.3) transparent}._messagesContainer_2gl5q_55::-webkit-scrollbar{width:8px}._messagesContainer_2gl5q_55::-webkit-scrollbar-track{background:#f0f0f0}._messagesContainer_2gl5q_55::-webkit-scrollbar-thumb{background:#0000004d;border-radius:4px}._messagesContainer_2gl5q_55::-webkit-scrollbar-thumb:hover{background:#00000073}._messageWrapper_2gl5q_91{display:flex;width:100%;align-items:flex-start;animation:_fadeIn_2gl5q_1 .3s ease-in}@keyframes _fadeIn_2gl5q_1{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}._userMessage_2gl5q_109{justify-content:flex-end}._aiMessage_2gl5q_113{justify-content:flex-start}._messageBubble_2gl5q_117{max-width:min(70%,calc(100% - 48px));padding:12px 16px;word-wrap:break-word;overflow-wrap:anywhere;position:relative;border-radius:12px;box-shadow:none;border:none;display:block;min-height:40px}._userBubble_2gl5q_130{background:#e0e0e0;color:#333}._aiBubble_2gl5q_135{background:#9c27b0;color:#fff;border-radius:8px}._messageText_2gl5q_141{margin:0;line-height:1.6;white-space:pre-wrap;font-size:.9375rem}._messageAvatar_2gl5q_148{width:32px;height:32px;background:linear-gradient(-135deg,#9c27b0,#7b1fa2);margin:0 8px;flex-shrink:0}._loadingSpinner_2gl5q_156{color:#fff}._quickQuestionsContainer_2gl5q_160{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px;padding:0 4px}._quickQuestionChip_2gl5q_168{font-size:.8125rem;text-transform:none}._bouncingDots_2gl5q_173{display:inline-flex;align-items:center;gap:4px;padding:8px 16px;border-radius:8px;background-color:#333}._bouncingDots_2gl5q_173 span{width:6px;height:6px;border-radius:50%;background-color:#fff;animation:_bounce_2gl5q_1 .6s ease-in-out infinite both}._bouncingDots_2gl5q_173 span:nth-child(1){animation-delay:0s}._bouncingDots_2gl5q_173 span:nth-child(2){animation-delay:.15s}._bouncingDots_2gl5q_173 span:nth-child(3){animation-delay:.3s}@keyframes _bounce_2gl5q_1{0%,80%,to{transform:scale(.6);opacity:.6}40%{transform:scale(1);opacity:1}}._inputContainer_2gl5q_199{display:flex;align-items:flex-end;gap:8px;width:100%;min-width:0;max-width:100%;padding:12px 8px;padding-right:max(8px,env(safe-area-inset-right,0px));padding-left:max(8px,env(safe-area-inset-left,0px));padding-bottom:max(12px,env(safe-area-inset-bottom,0px));background-color:#fff;border-top:1px solid rgba(0,0,0,.08);flex-shrink:0;flex-grow:0;box-sizing:border-box}@media (min-width: 600px){._inputContainer_2gl5q_199{padding-top:16px;padding-right:max(10px,env(safe-area-inset-right,0px));padding-left:max(10px,env(safe-area-inset-left,0px));padding-bottom:max(16px,env(safe-area-inset-bottom,0px))}}._inputField_2gl5q_226{flex:1;min-width:0;max-width:100%}._sendButton_2gl5q_232{width:40px;height:40px;padding:0;flex-shrink:0}[dir=rtl] ._messageWrapper_2gl5q_91,[data-lang=he] ._messageWrapper_2gl5q_91,[dir=rtl] ._welcomeScreen_2gl5q_15,[data-lang=he] ._welcomeScreen_2gl5q_15,[dir=rtl] ._inputContainer_2gl5q_199,[data-lang=he] ._inputContainer_2gl5q_199,[dir=rtl] ._quickQuestionsContainer_2gl5q_160,[data-lang=he] ._quickQuestionsContainer_2gl5q_160{direction:ltr}
1
+ ._rightLayout_35s7t_1{height:100%;min-height:400px;border-inline-start:1px solid rgba(0,0,0,.08);overflow:hidden}._logo_35s7t_8{width:100px;height:auto!important;position:absolute;top:20px;right:20px;z-index:100}@keyframes _fadeUp_35s7t_29{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}._fadeUp_35s7t_29{animation:_fadeUp_35s7t_29 .6s ease-out forwards;opacity:0}._fadeUpDelay1_35s7t_34{animation:_fadeUp_35s7t_29 .6s ease-out .1s forwards;opacity:0}._fadeUpDelay2_35s7t_39{animation:_fadeUp_35s7t_29 .6s ease-out .2s forwards;opacity:0}._fadeUpDelay3_35s7t_44{animation:_fadeUp_35s7t_29 .6s ease-out .3s forwards;opacity:0}._fadeUpDelay4_35s7t_49{animation:_fadeUp_35s7t_29 .6s ease-out .4s forwards;opacity:0}._fadeUpDelay5_35s7t_54{animation:_fadeUp_35s7t_29 .6s ease-out .5s forwards;opacity:0}._stepView_35s7t_60{min-height:200px;animation:_fadeUp_35s7t_29 .35s ease-out forwards}._actionCard_35s7t_66{display:grid;grid-template-columns:56px minmax(0,1fr);align-items:start;column-gap:1rem;row-gap:0;padding:1.25rem;border-radius:12px;border:1px solid rgba(0,0,0,.08);background:#fff;cursor:pointer;transition:all .2s ease;min-height:88px;position:relative;overflow:hidden;font:inherit;color:inherit;text-align:start;outline:none;width:100%;box-sizing:border-box}._actionCard_35s7t_66:before{content:"";position:absolute;top:0;right:0;left:0;height:2px;background:linear-gradient(-135deg,#a8107e,#6328a7);opacity:0;transition:opacity .2s ease}._actionCard_35s7t_66:hover{border-color:#a8107e47;background:#00000007}._actionCard_35s7t_66:hover:before{opacity:1}._actionCardTextOnly_35s7t_112{grid-template-columns:minmax(0,1fr)}._actionCardIcon_35s7t_116{width:56px;height:56px;min-width:56px;display:flex;align-items:center;justify-content:center;flex-shrink:0}._actionCardIcon_35s7t_116 img{width:28px;height:28px;object-fit:contain}._actionCardContent_35s7t_132{min-width:0;display:flex;flex-direction:column;align-items:stretch;justify-content:center;padding-block-start:2px}._actionCardTitle_35s7t_141{font-weight:600;font-size:1rem;color:#1a1a2e;line-height:1.35;letter-spacing:-.01em}._actionCardDescription_35s7t_149{margin-top:.375rem;font-size:.8125rem;line-height:1.45;color:#1a1a2ea6}._smsChatContainer_2gl5q_1{display:flex;flex-direction:column;width:100%;min-width:0;max-width:100%;height:100%;max-height:100%;overflow:hidden;background-color:#fff;position:relative;box-sizing:border-box}._welcomeScreen_2gl5q_15{display:flex;flex-direction:column;align-items:center;justify-content:center;flex:1;min-height:0;min-width:0;width:100%;max-width:100%;padding:24px 12px;padding-right:max(12px,env(safe-area-inset-right,0px));padding-left:max(12px,env(safe-area-inset-left,0px));text-align:center;box-sizing:border-box}@media (min-width: 600px){._welcomeScreen_2gl5q_15{padding:40px 20px}}._aiAvatar_2gl5q_38{width:64px;height:64px;background:linear-gradient(-135deg,#9c27b0,#7b1fa2);margin-bottom:12px;border:1px solid rgba(156,39,176,.2)}._welcomeTitle_2gl5q_46{color:#333;margin-bottom:16px;font-weight:500;font-size:clamp(1.125rem,4vw,1.5rem);max-width:100%;overflow-wrap:anywhere}._messagesContainer_2gl5q_55{flex:1 1 0;min-height:0;min-width:0;width:100%;max-width:100%;overflow-y:scroll;overflow-x:hidden;padding:0 10px 10px;display:flex;flex-direction:column;gap:16px;scroll-behavior:smooth;background-color:#fff;-webkit-overflow-scrolling:touch;scrollbar-width:thin;scrollbar-color:rgba(0,0,0,.3) transparent}._messagesContainer_2gl5q_55::-webkit-scrollbar{width:8px}._messagesContainer_2gl5q_55::-webkit-scrollbar-track{background:#f0f0f0}._messagesContainer_2gl5q_55::-webkit-scrollbar-thumb{background:#0000004d;border-radius:4px}._messagesContainer_2gl5q_55::-webkit-scrollbar-thumb:hover{background:#00000073}._messageWrapper_2gl5q_91{display:flex;width:100%;align-items:flex-start;animation:_fadeIn_2gl5q_1 .3s ease-in}@keyframes _fadeIn_2gl5q_1{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}._userMessage_2gl5q_109{justify-content:flex-end}._aiMessage_2gl5q_113{justify-content:flex-start}._messageBubble_2gl5q_117{max-width:min(70%,calc(100% - 48px));padding:12px 16px;word-wrap:break-word;overflow-wrap:anywhere;position:relative;border-radius:12px;box-shadow:none;border:none;display:block;min-height:40px}._userBubble_2gl5q_130{background:#e0e0e0;color:#333}._aiBubble_2gl5q_135{background:#9c27b0;color:#fff;border-radius:8px}._messageText_2gl5q_141{margin:0;line-height:1.6;white-space:pre-wrap;font-size:.9375rem}._messageAvatar_2gl5q_148{width:32px;height:32px;background:linear-gradient(-135deg,#9c27b0,#7b1fa2);margin:0 8px;flex-shrink:0}._loadingSpinner_2gl5q_156{color:#fff}._quickQuestionsContainer_2gl5q_160{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px;padding:0 4px}._quickQuestionChip_2gl5q_168{font-size:.8125rem;text-transform:none}._bouncingDots_2gl5q_173{display:inline-flex;align-items:center;gap:4px;padding:8px 16px;border-radius:8px;background-color:#333}._bouncingDots_2gl5q_173 span{width:6px;height:6px;border-radius:50%;background-color:#fff;animation:_bounce_2gl5q_1 .6s ease-in-out infinite both}._bouncingDots_2gl5q_173 span:nth-child(1){animation-delay:0s}._bouncingDots_2gl5q_173 span:nth-child(2){animation-delay:.15s}._bouncingDots_2gl5q_173 span:nth-child(3){animation-delay:.3s}@keyframes _bounce_2gl5q_1{0%,80%,to{transform:scale(.6);opacity:.6}40%{transform:scale(1);opacity:1}}._inputContainer_2gl5q_199{display:flex;align-items:flex-end;gap:8px;width:100%;min-width:0;max-width:100%;padding:12px 8px;padding-right:max(8px,env(safe-area-inset-right,0px));padding-left:max(8px,env(safe-area-inset-left,0px));padding-bottom:max(12px,env(safe-area-inset-bottom,0px));background-color:#fff;border-top:1px solid rgba(0,0,0,.08);flex-shrink:0;flex-grow:0;box-sizing:border-box}@media (min-width: 600px){._inputContainer_2gl5q_199{padding-top:16px;padding-right:max(10px,env(safe-area-inset-right,0px));padding-left:max(10px,env(safe-area-inset-left,0px));padding-bottom:max(16px,env(safe-area-inset-bottom,0px))}}._inputField_2gl5q_226{flex:1;min-width:0;max-width:100%}._sendButton_2gl5q_232{width:40px;height:40px;padding:0;flex-shrink:0}[dir=rtl] ._messageWrapper_2gl5q_91,[data-lang=he] ._messageWrapper_2gl5q_91,[dir=rtl] ._welcomeScreen_2gl5q_15,[data-lang=he] ._welcomeScreen_2gl5q_15,[dir=rtl] ._inputContainer_2gl5q_199,[data-lang=he] ._inputContainer_2gl5q_199,[dir=rtl] ._quickQuestionsContainer_2gl5q_160,[data-lang=he] ._quickQuestionsContainer_2gl5q_160{direction:ltr}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@creaditor/business-ai",
3
3
  "private": false,
4
- "version": "1.0.60",
4
+ "version": "1.0.61",
5
5
  "type": "module",
6
6
  "publishConfig": {
7
7
  "access": "public"
@@ -56,6 +56,7 @@
56
56
  "html2canvas": "^1.4.1",
57
57
  "i18next": "^25.8.11",
58
58
  "jspdf": "^4.1.0",
59
+ "lit": "^3.2.1",
59
60
  "react": "^18.2.0",
60
61
  "react-dom": "^18.2.0",
61
62
  "react-i18next": "^16.5.4",
@@ -75,6 +76,7 @@
75
76
  "postcss": "^8.5.6",
76
77
  "rtlcss": "^4.3.0",
77
78
  "typescript": "^5.2.2",
78
- "vite": "^5.2.0"
79
+ "vite": "^5.2.0",
80
+ "vitest": "^4.1.7"
79
81
  }
80
82
  }