@elliemae/ds-chat-bubble 3.14.0-next.9 → 3.14.0-rc.0
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/types/ChatBubble.d.ts +5 -0
- package/dist/types/ChatBubbleArrow.d.ts +3 -0
- package/dist/types/ChatBubbleDataTestIds.d.ts +6 -0
- package/dist/types/DSChatBubbleDefinitions.d.ts +1 -0
- package/dist/types/index.d.ts +4 -0
- package/dist/types/react-desc-prop-types.d.ts +25 -0
- package/dist/types/styled.d.ts +14 -0
- package/dist/types/tests/ChatBubble.test.d.ts +1 -0
- package/package.json +5 -5
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type DSChatBubbleT } from './react-desc-prop-types';
|
|
3
|
+
declare const ChatBubble: React.ComponentType<DSChatBubbleT.Props>;
|
|
4
|
+
declare const ChatBubbleWithSchema: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").DocumentedReactComponent<DSChatBubbleT.Props>;
|
|
5
|
+
export { ChatBubble, ChatBubbleWithSchema };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const DSChatBubbleName = "DSBubble";
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { WeakValidationMap } from 'react';
|
|
2
|
+
import type React from 'react';
|
|
3
|
+
export declare const BUBBLE_TYPES: {
|
|
4
|
+
SENDER: string;
|
|
5
|
+
RECIPIENT: string;
|
|
6
|
+
DELIMITER: string;
|
|
7
|
+
SYSTEM: string;
|
|
8
|
+
};
|
|
9
|
+
export declare namespace DSChatBubbleT {
|
|
10
|
+
interface Props {
|
|
11
|
+
dsId: string | number;
|
|
12
|
+
type: BubbleTypesValues;
|
|
13
|
+
title?: string;
|
|
14
|
+
body: string;
|
|
15
|
+
time: string;
|
|
16
|
+
errorMessage: string | React.ReactChild;
|
|
17
|
+
helpMessage: string | React.ReactChild;
|
|
18
|
+
onClick: (id: string | number) => void;
|
|
19
|
+
}
|
|
20
|
+
type BubbleTypesKeys = keyof typeof BUBBLE_TYPES;
|
|
21
|
+
type BubbleTypesValues = (typeof BUBBLE_TYPES)[BubbleTypesKeys];
|
|
22
|
+
}
|
|
23
|
+
export declare const defaultBubbleProps: DSChatBubbleT.Props;
|
|
24
|
+
export declare const BubblesPropTypes: WeakValidationMap<unknown>;
|
|
25
|
+
export declare const propsArrowBubble: WeakValidationMap<unknown>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const StyledWrapper: import("styled-components").StyledComponent<keyof JSX.IntrinsicElements, import("@elliemae/ds-system").Theme, Record<string, unknown> & object, never>;
|
|
3
|
+
export declare const StyledTitleBubble: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@elliemae/ds-grid/dist/types/react-desc-prop-types").DSGridT.Props & import("react").RefAttributes<HTMLDivElement>>, import("@elliemae/ds-system").Theme, object, never>;
|
|
4
|
+
export declare const StyledTitleLeftBubble: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@elliemae/ds-grid/dist/types/react-desc-prop-types").DSGridT.Props & import("react").RefAttributes<HTMLDivElement>>, import("@elliemae/ds-system").Theme, object, never>;
|
|
5
|
+
export declare const StyledTitleRightBubble: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@elliemae/ds-grid/dist/types/react-desc-prop-types").DSGridT.Props & import("react").RefAttributes<HTMLDivElement>>, import("@elliemae/ds-system").Theme, {
|
|
6
|
+
type: string;
|
|
7
|
+
}, never>;
|
|
8
|
+
export declare const StyleBodyWrapper: import("styled-components").StyledComponent<keyof JSX.IntrinsicElements, import("@elliemae/ds-system").Theme, Record<string, unknown> & object, never>;
|
|
9
|
+
export declare const StyleErrorMessage: import("styled-components").StyledComponent<keyof JSX.IntrinsicElements, import("@elliemae/ds-system").Theme, Record<string, unknown> & object, never>;
|
|
10
|
+
export declare const StyleHelpMessage: import("styled-components").StyledComponent<keyof JSX.IntrinsicElements, import("@elliemae/ds-system").Theme, Record<string, unknown> & object, never>;
|
|
11
|
+
export declare const StyledBubbleArrow: import("styled-components").StyledComponent<keyof JSX.IntrinsicElements, import("@elliemae/ds-system").Theme, Record<string, unknown> & object, never>;
|
|
12
|
+
export declare const StyledColoredBubble: import("styled-components").StyledComponent<keyof JSX.IntrinsicElements, import("@elliemae/ds-system").Theme, Record<string, unknown> & {
|
|
13
|
+
type: string;
|
|
14
|
+
}, never>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/ds-chat-bubble",
|
|
3
|
-
"version": "3.14.0-
|
|
3
|
+
"version": "3.14.0-rc.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "ICE MT - Dimsum - Chat",
|
|
6
6
|
"files": [
|
|
@@ -51,10 +51,10 @@
|
|
|
51
51
|
"typeSafety": false
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
|
-
"@elliemae/ds-grid": "3.14.0-
|
|
55
|
-
"@elliemae/ds-icons": "3.14.0-
|
|
56
|
-
"@elliemae/ds-system": "3.14.0-
|
|
57
|
-
"@elliemae/ds-utilities": "3.14.0-
|
|
54
|
+
"@elliemae/ds-grid": "3.14.0-rc.0",
|
|
55
|
+
"@elliemae/ds-icons": "3.14.0-rc.0",
|
|
56
|
+
"@elliemae/ds-system": "3.14.0-rc.0",
|
|
57
|
+
"@elliemae/ds-utilities": "3.14.0-rc.0"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
60
|
"@testing-library/dom": "~8.19.0",
|