@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.
@@ -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) => import("react/jsx-runtime").JSX.Element;
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;
@@ -0,0 +1,6 @@
1
+ interface SubscriptionBadgeProps {
2
+ daysRemaining: number;
3
+ onClick?: () => void;
4
+ }
5
+ declare const SubscriptionBadge: ({ daysRemaining, onClick }: SubscriptionBadgeProps) => import("react/jsx-runtime").JSX.Element;
6
+ export default SubscriptionBadge;
@@ -9,4 +9,5 @@ export interface ModalDeleteFileProps {
9
9
  confirmText?: string;
10
10
  product?: string;
11
11
  colorTextDelete?: string;
12
+ isLoading?: boolean;
12
13
  }
@@ -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
  };
@@ -1,3 +1,4 @@
1
+ import { default as React } from 'react';
1
2
  import { ModalInactivityProps } from './ModalInactivity.types';
2
3
  declare const ModalInactivity: React.FC<ModalInactivityProps>;
3
4
  export default ModalInactivity;
@@ -9,4 +9,6 @@ export interface ModalInactivityProps {
9
9
  closeOnOverlayClick?: boolean;
10
10
  onLoginClick?: () => void;
11
11
  overlayDark?: boolean;
12
+ maxWidth?: string;
13
+ bodyMaxWidth?: string;
12
14
  }
@@ -13,4 +13,6 @@ export interface PositiveModalProps {
13
13
  closeOnEsc?: boolean;
14
14
  closeOnOverlayClick?: boolean;
15
15
  descriptionSecondary?: string;
16
+ contentMaxWidth?: string;
17
+ contentMinWidth?: string;
16
18
  }
@@ -4,6 +4,5 @@ export type TabsOptionsProps = {
4
4
  text3?: string;
5
5
  colorScheme?: string;
6
6
  setOnChange?: (index: number) => void;
7
- defaultIndex?: number;
8
7
  currentIndex?: number;
9
8
  };
@@ -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.11",
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",