@canaia/ui-kit 0.0.12-alpha.11 → 0.0.12-alpha.111
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/canaia-ui-kit.es.js +15406 -13513
- package/dist/canaia-ui-kit.umd.js +93 -90
- package/dist/src/components/ChatAssistant/ChatAssistant.d.ts +1 -1
- package/dist/src/components/Header/Header.d.ts +4 -1
- package/dist/src/components/Header/SubscriptionBadge.d.ts +6 -0
- package/dist/src/components/ModalDeleteFile/ModalDeleteFile.types.d.ts +1 -0
- package/dist/src/components/ModalError/ModalError.types.d.ts +5 -0
- package/dist/src/components/ModalInactivity/ModalInactivity.d.ts +1 -0
- package/dist/src/components/ModalInactivity/ModalInactivity.types.d.ts +2 -0
- package/dist/src/components/PositiveModal/PositiveModal.types.d.ts +2 -0
- package/dist/src/components/TabsOptions/TabsOptions.types.d.ts +0 -1
- package/dist/src/index.d.ts +1 -0
- package/package.json +2 -1
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { CustomChatAssistant } from './ChatAssistant.types';
|
|
2
|
-
declare const ChatAssistant: ({ message, colorTextMessage, color, isError, thumbUp, thumbDown, withFeedback, onThumbUp, onThumbDown, toastSuccessMsg, isTyping, colorCopyIcon, colorThumbUp, colorThumbDown, }: CustomChatAssistant) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
declare const ChatAssistant: ({ message, colorTextMessage, color, isError, thumbUp, thumbDown, withFeedback, onThumbUp, onThumbDown, toastSuccessMsg, isTyping, colorCopyIcon, colorThumbUp, colorThumbDown, maxWidthMessage, assistantIcon: AssistantIcon, }: CustomChatAssistant) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default ChatAssistant;
|
|
@@ -1,3 +1,6 @@
|
|
|
1
1
|
import { CustomHeaderProps } from './Header.type';
|
|
2
|
-
declare const Header: ({ platform, color, onLogOutClick, onLogoClick, userName, logoutName, isProduction, showMenuItems, menuAppRef, menuSettingsRef, menuOptions, ...props }: CustomHeaderProps
|
|
2
|
+
declare const Header: ({ platform, color, onLogOutClick, onLogoClick, userName, logoutName, isProduction, showMenuItems, menuAppRef, menuSettingsRef, menuOptions, trialDaysRemaining, onSubscriptionBadgeClick, rightComponent, ...props }: CustomHeaderProps & {
|
|
3
|
+
trialDaysRemaining?: number;
|
|
4
|
+
onSubscriptionBadgeClick?: () => void;
|
|
5
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
3
6
|
export default Header;
|
|
@@ -2,9 +2,14 @@ export type ModalAccountErrorProps = {
|
|
|
2
2
|
isOpen: boolean;
|
|
3
3
|
onClose: () => void;
|
|
4
4
|
onClickButton2?: () => void;
|
|
5
|
+
onClickButton1?: () => void;
|
|
6
|
+
textButton1?: string;
|
|
5
7
|
textButton2?: string;
|
|
6
8
|
description: React.ReactNode;
|
|
7
9
|
description2?: React.ReactNode;
|
|
8
10
|
closeOnEsc?: boolean;
|
|
9
11
|
closeOnOverlayClick?: boolean;
|
|
12
|
+
fontFamily?: string;
|
|
13
|
+
backgroundButton?: string;
|
|
14
|
+
isLoading?: boolean;
|
|
10
15
|
};
|
package/dist/src/index.d.ts
CHANGED
|
@@ -48,3 +48,4 @@ export { default as ModalPermission } from './components/ModalPermission';
|
|
|
48
48
|
export { default as SpinnerLittle } from './components/SpinnerLittle';
|
|
49
49
|
export { default as ChaHelpCanaia } from './components/ChatHelpCanaia';
|
|
50
50
|
export { default as ModalError } from './components/ModalError';
|
|
51
|
+
export { default as ModalEliminatedSuccess } from './components/ModalEliminate';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@canaia/ui-kit",
|
|
3
|
-
"version": "0.0.12-alpha.
|
|
3
|
+
"version": "0.0.12-alpha.111",
|
|
4
4
|
"main": "dist/canaia-ui-kit.umd.js",
|
|
5
5
|
"module": "dist/canaia-ui-kit.es.js",
|
|
6
6
|
"type": "module",
|
|
@@ -31,6 +31,7 @@
|
|
|
31
31
|
"@microsoft/fetch-event-source": "^2.0.1",
|
|
32
32
|
"chart.js": "^4.4.9",
|
|
33
33
|
"framer-motion": "^11.18.2",
|
|
34
|
+
"libphonenumber-js": "^1.12.31",
|
|
34
35
|
"lodash.mergewith": "^4.6.2",
|
|
35
36
|
"markdown-it": "^14.1.0",
|
|
36
37
|
"path": "^0.12.7",
|