@canaia/ui-kit 0.0.1-test.1
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/README.md +162 -0
- package/dist/canaia-ui-kit.es.js +37197 -0
- package/dist/canaia-ui-kit.umd.js +498 -0
- package/dist/index.d.ts +2 -0
- package/dist/src/components/Accordion/Accordion.d.ts +3 -0
- package/dist/src/components/Accordion/index.d.ts +2 -0
- package/dist/src/components/Alert/AlertCustom.d.ts +3 -0
- package/dist/src/components/Alert/customIso.d.ts +2 -0
- package/dist/src/components/Alert/index.d.ts +1 -0
- package/dist/src/components/AudioButtons/AudioButtons.d.ts +3 -0
- package/dist/src/components/AudioButtons/index.d.ts +2 -0
- package/dist/src/components/Button/Button.d.ts +3 -0
- package/dist/src/components/Button/Button.utils.d.ts +3 -0
- package/dist/src/components/Button/index.d.ts +2 -0
- package/dist/src/components/Card/Card.d.ts +3 -0
- package/dist/src/components/Card/index.d.ts +2 -0
- package/dist/src/components/ChatAssistant/ChatAssistant.d.ts +3 -0
- package/dist/src/components/ChatAssistant/helper/ThreeDotsSpinner.d.ts +3 -0
- package/dist/src/components/ChatAssistant/index.d.ts +2 -0
- package/dist/src/components/ChatAssistantWithoutFeedback/ChatWithoutFeedback.d.ts +3 -0
- package/dist/src/components/ChatAssistantWithoutFeedback/index.d.ts +2 -0
- package/dist/src/components/ChatInput/ChatInput.d.ts +3 -0
- package/dist/src/components/ChatInput/index.d.ts +2 -0
- package/dist/src/components/ChatUser/ChatUser.d.ts +3 -0
- package/dist/src/components/ChatUser/index.d.ts +2 -0
- package/dist/src/components/Checkbox/CheckBox.d.ts +3 -0
- package/dist/src/components/Checkbox/index.d.ts +2 -0
- package/dist/src/components/CustomBox/CustomBox.d.ts +3 -0
- package/dist/src/components/CustomBox/index.d.ts +2 -0
- package/dist/src/components/DragAndDrop/DragAndDrop.d.ts +3 -0
- package/dist/src/components/DragAndDrop/index.d.ts +2 -0
- package/dist/src/components/Header/Header.d.ts +3 -0
- package/dist/src/components/Header/Header.utils.d.ts +6 -0
- package/dist/src/components/Header/LogoSelector.d.ts +7 -0
- package/dist/src/components/Header/MenuContent.d.ts +6 -0
- package/dist/src/components/Header/index.d.ts +2 -0
- package/dist/src/components/Input/Input.d.ts +3 -0
- package/dist/src/components/Input/index.d.ts +2 -0
- package/dist/src/components/InputPhone.tsx/index.d.ts +2 -0
- package/dist/src/components/InputPhone.tsx/inputPhone.d.ts +3 -0
- package/dist/src/components/MenuList/MenuList.d.ts +3 -0
- package/dist/src/components/MenuList/index.d.ts +2 -0
- package/dist/src/components/Metric/Metric.d.ts +3 -0
- package/dist/src/components/Metric/index.d.ts +2 -0
- package/dist/src/components/ModalCustom/ModalCustom.d.ts +3 -0
- package/dist/src/components/ModalCustom/index.d.ts +2 -0
- package/dist/src/components/ModalFeedback/ModalFeedback.d.ts +3 -0
- package/dist/src/components/ModalFeedback/ModalFeedback.types.d.ts +10 -0
- package/dist/src/components/ModalFeedback/index.d.ts +2 -0
- package/dist/src/components/MultiInput/MultiInput.d.ts +3 -0
- package/dist/src/components/MultiInput/MultiInput.types.d.ts +14 -0
- package/dist/src/components/MultiInput/index.d.ts +2 -0
- package/dist/src/components/NegativeModal/NegativeModal.d.ts +3 -0
- package/dist/src/components/NegativeModal/NegativeModal.types.d.ts +9 -0
- package/dist/src/components/NegativeModal/index.d.ts +2 -0
- package/dist/src/components/PhotoUpload/PhotoUpload.d.ts +3 -0
- package/dist/src/components/PhotoUpload/index.d.ts +2 -0
- package/dist/src/components/PositiveModal/PositiveModal.d.ts +3 -0
- package/dist/src/components/PositiveModal/PositiveModal.types.d.ts +12 -0
- package/dist/src/components/PositiveModal/index.d.ts +2 -0
- package/dist/src/components/ProgressBar/CustomProgressBar.d.ts +3 -0
- package/dist/src/components/ProgressBar/index.d.ts +2 -0
- package/dist/src/components/SegmentedControl/SegmentedControl.d.ts +3 -0
- package/dist/src/components/SegmentedControl/index.d.ts +2 -0
- package/dist/src/components/Select/Select.d.ts +3 -0
- package/dist/src/components/Select/Select.styles.d.ts +1 -0
- package/dist/src/components/Select/index.d.ts +2 -0
- package/dist/src/components/SideBar/HoverableIcons.d.ts +7 -0
- package/dist/src/components/SideBar/SideBar.d.ts +3 -0
- package/dist/src/components/SideBar/customIcon/Chat.d.ts +7 -0
- package/dist/src/components/SideBar/customIcon/Chat2.d.ts +7 -0
- package/dist/src/components/SideBar/customIcon/Dashboard.d.ts +7 -0
- package/dist/src/components/SideBar/customIcon/DashboardHover.d.ts +7 -0
- package/dist/src/components/SideBar/customIcon/Files.d.ts +7 -0
- package/dist/src/components/SideBar/customIcon/Robot.d.ts +7 -0
- package/dist/src/components/SideBar/customIcon/RobotHover.d.ts +7 -0
- package/dist/src/components/SideBar/index.d.ts +2 -0
- package/dist/src/components/SpinnerLogo/SpinnerLogo.d.ts +3 -0
- package/dist/src/components/SpinnerLogo/SpinnerLogo.types.d.ts +3 -0
- package/dist/src/components/SpinnerLogo/index.d.ts +2 -0
- package/dist/src/components/Status/Status.d.ts +3 -0
- package/dist/src/components/Status/index.d.ts +2 -0
- package/dist/src/components/Steps/Steps.d.ts +3 -0
- package/dist/src/components/Steps/index.d.ts +2 -0
- package/dist/src/components/Switch/Switch.d.ts +3 -0
- package/dist/src/components/Switch/index.d.ts +2 -0
- package/dist/src/components/Tabs/Tabs.d.ts +3 -0
- package/dist/src/components/Tabs/index.d.ts +2 -0
- package/dist/src/components/TabsOptions/TabsOptions.d.ts +3 -0
- package/dist/src/components/TabsOptions/TabsOptions.types.d.ts +7 -0
- package/dist/src/components/TabsOptions/index.d.ts +2 -0
- package/dist/src/components/Tags/Tags.d.ts +3 -0
- package/dist/src/components/Tags/index.d.ts +2 -0
- package/dist/src/components/Text/Text.d.ts +3 -0
- package/dist/src/components/Text/index.d.ts +2 -0
- package/dist/src/components/Textarea/Textarea.d.ts +3 -0
- package/dist/src/components/Textarea/index.d.ts +2 -0
- package/dist/src/components/Toast/Toast.d.ts +5 -0
- package/dist/src/components/Toast/index.d.ts +2 -0
- package/dist/src/components/Toast/useCustomToast.d.ts +3 -0
- package/dist/src/icons/LogosCanaia/LogoAd.d.ts +6 -0
- package/dist/src/icons/LogosCanaia/LogoAssist.d.ts +6 -0
- package/dist/src/icons/LogosCanaia/LogoCanaia.d.ts +6 -0
- package/dist/src/icons/LogosCanaia/LogoCollect.d.ts +6 -0
- package/dist/src/icons/LogosCanaia/LogoElevate.d.ts +6 -0
- package/dist/src/icons/LogosCanaia/LogoPlay.d.ts +6 -0
- package/dist/src/icons/LogosCanaia/LogoTalent.d.ts +6 -0
- package/dist/src/icons/PlatformCanaiaIcons/Ad.d.ts +6 -0
- package/dist/src/icons/PlatformCanaiaIcons/Assist.d.ts +6 -0
- package/dist/src/icons/PlatformCanaiaIcons/Collect.d.ts +6 -0
- package/dist/src/icons/PlatformCanaiaIcons/Elevate.d.ts +6 -0
- package/dist/src/icons/PlatformCanaiaIcons/Hub.d.ts +6 -0
- package/dist/src/icons/PlatformCanaiaIcons/Play.d.ts +6 -0
- package/dist/src/icons/PlatformCanaiaIcons/Talent.d.ts +6 -0
- package/dist/src/icons/RobotCanaia/RobotCanaia.d.ts +7 -0
- package/dist/src/icons/SpinnerCanaia/SpinnerCanaia.d.ts +2 -0
- package/dist/src/icons/SuccessTick/RobotDescription.d.ts +6 -0
- package/dist/src/icons/SuccessTick/SuccessTick.d.ts +6 -0
- package/dist/src/index.d.ts +38 -0
- package/dist/src/provider/index.d.ts +6 -0
- package/dist/src/theme/chat.d.ts +66 -0
- package/dist/src/theme/colors.d.ts +97 -0
- package/dist/src/theme/fonts/index.d.ts +2 -0
- package/dist/src/theme/index.d.ts +2 -0
- package/dist/src/theme/styles.d.ts +83 -0
- package/dist/style.css +1 -0
- package/package.json +74 -0
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,3 @@
|
|
|
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;
|
|
3
|
+
export default ChatAssistant;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { ChatWithoutFeedbackProps } from './ChatWithoutFeedback.types';
|
|
2
|
+
declare const ChatWithoutFeedback: ({ message, colorTextMessage, isError, toastSuccessMsg, isTyping, colorCopyIcon, }: ChatWithoutFeedbackProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export default ChatWithoutFeedback;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { CustomHeaderProps } from './Header.type';
|
|
2
|
+
declare const Header: ({ platform, color, onSettingsClick, onLogOutClick, onSubscriptionClick, onLogoClick, userName, settingsName, logoutName, subscriptionName, isProduction, showMenuItems, menuAppRef, menuSettingsRef, ...props }: CustomHeaderProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export default Header;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const RenderItems: ({ isProduction, showMenuItems, platform }: {
|
|
2
|
+
isProduction: boolean;
|
|
3
|
+
showMenuItems: ("hub" | "play" | "assist" | "elevate" | "talent" | "collect" | "ad")[];
|
|
4
|
+
platform: string;
|
|
5
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export default RenderItems;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export interface MultiInputFormProps {
|
|
2
|
+
label?: string;
|
|
3
|
+
description?: string;
|
|
4
|
+
placeholders?: string[];
|
|
5
|
+
values: string[];
|
|
6
|
+
onChange?: (index: number, val: string) => void;
|
|
7
|
+
dropdown?: boolean;
|
|
8
|
+
info?: boolean;
|
|
9
|
+
infoText?: string;
|
|
10
|
+
product?: "info" | "elevate" | "others";
|
|
11
|
+
isRequired?: boolean;
|
|
12
|
+
isDisabled?: boolean;
|
|
13
|
+
isReadOnly?: boolean;
|
|
14
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export interface PositiveModalProps {
|
|
2
|
+
isOpen: boolean;
|
|
3
|
+
onClose: () => void;
|
|
4
|
+
description: string;
|
|
5
|
+
buttonText: string;
|
|
6
|
+
product?: string;
|
|
7
|
+
onConfirm: () => void;
|
|
8
|
+
children?: React.ReactNode;
|
|
9
|
+
secondButton?: boolean;
|
|
10
|
+
optionalFunction?: () => void;
|
|
11
|
+
optionalButtonText?: string;
|
|
12
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const selectTheme: Record<string, any>;
|