@canaia/ui-kit 0.0.10-alpha.59 → 0.0.10-alpha.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.
@@ -1,3 +1,3 @@
1
1
  import { ChatInputProps } from './ChatInput.type';
2
- declare const ChatInput: ({ placeholder, onSend, disabled }: ChatInputProps) => import("react/jsx-runtime").JSX.Element;
2
+ declare const ChatInput: ({ placeholder, onSend, disabled, }: ChatInputProps) => import("react/jsx-runtime").JSX.Element;
3
3
  export default ChatInput;
@@ -1,3 +1,3 @@
1
1
  import { CustomChatUserProps } from './ChatUser.types';
2
- declare const ChatUser: ({ message, userImage, timestamp, isError, userName }: CustomChatUserProps) => import("react/jsx-runtime").JSX.Element;
2
+ declare const ChatUser: ({ message, userImage, timestamp, isError, userName, type, src, alt }: CustomChatUserProps) => import("react/jsx-runtime").JSX.Element;
3
3
  export default ChatUser;
@@ -0,0 +1,3 @@
1
+ import { ModalFeedbackProps } from './ModalFeedback.types';
2
+ declare const ConfirmationModal: React.FC<ModalFeedbackProps>;
3
+ export default ConfirmationModal;
@@ -0,0 +1,10 @@
1
+ export interface ModalFeedbackProps {
2
+ isOpen: boolean;
3
+ onClose: () => void;
4
+ onConfirm: () => void;
5
+ title: string;
6
+ description: string;
7
+ cancelText?: string;
8
+ confirmText?: string;
9
+ product?: string;
10
+ }
@@ -0,0 +1,2 @@
1
+ export { default } from './ModalFeedback';
2
+ export type { ModalFeedbackProps } from './ModalFeedback.types';
@@ -0,0 +1,3 @@
1
+ import { PositiveModalProps } from './PositiveModal.types';
2
+ declare const PositiveModal: React.FC<PositiveModalProps>;
3
+ export default PositiveModal;
@@ -0,0 +1,7 @@
1
+ export interface PositiveModalProps {
2
+ isOpen: boolean;
3
+ onClose: () => void;
4
+ description: string;
5
+ buttonText: string;
6
+ product?: string;
7
+ }
@@ -0,0 +1,2 @@
1
+ export { default } from './PositiveModal';
2
+ export type { PositiveModalProps } from './PositiveModal.types';
@@ -0,0 +1,3 @@
1
+ import { TabsOptionsProps } from './TabsOptions.types';
2
+ declare const TabsOptions: React.FC<TabsOptionsProps>;
3
+ export default TabsOptions;
@@ -0,0 +1,7 @@
1
+ export type TabsOptionsProps = {
2
+ text1: string;
3
+ text2: string;
4
+ colorScheme?: string;
5
+ setOnChange?: (index: number) => void;
6
+ defaultIndex?: number;
7
+ };
@@ -0,0 +1,2 @@
1
+ export { default } from './TabsOptions';
2
+ export type { TabsOptionsProps } from './TabsOptions.types';
@@ -0,0 +1,6 @@
1
+ interface CheckSuccessProps {
2
+ width?: number;
3
+ height?: number;
4
+ }
5
+ export declare const CheckSuccess: React.FC<CheckSuccessProps>;
6
+ export {};
@@ -30,3 +30,7 @@ export { default as AudioButtons } from './components/AudioButtons';
30
30
  export { default as Tabs } from './components/Tabs';
31
31
  export { default as SwitchCustom } from './components/Switch';
32
32
  export { default as TagSelector } from './components/Tags';
33
+ export { default as CustomCheckBox } from './components/Checkbox';
34
+ export { default as TabsOptions } from './components/TabsOptions';
35
+ export { default as ModalFeedback } from './components/ModalFeedback';
36
+ export { default as PositiveModal } from './components/PositiveModal';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@canaia/ui-kit",
3
- "version": "0.0.10-alpha.59",
3
+ "version": "0.0.10-alpha.61",
4
4
  "main": "dist/canaia-ui-kit.umd.js",
5
5
  "module": "dist/canaia-ui-kit.es.js",
6
6
  "type": "module",
@@ -27,7 +27,7 @@
27
27
  "@chakra-ui/react": "^2.0.0",
28
28
  "@emotion/react": "^11.0.0",
29
29
  "@emotion/styled": "^11.0.0",
30
- "framer-motion": "^11.11.17",
30
+ "framer-motion": "^11.18.2",
31
31
  "lodash.mergewith": "^4.6.2",
32
32
  "path": "^0.12.7",
33
33
  "react-dropzone": "^14.3.5",