@elliemae/ds-chat 2.0.0-rc.5 → 2.0.0-rc.9
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/cjs/parts/bubble/ChatBubbleArrow.js +3 -3
- package/cjs/parts/chat-container/ChatContainer.js +3 -3
- package/cjs/parts/chat-container/config/useValidateProps.js +2 -2
- package/cjs/parts/chat-container-messages-list/ChatContainerMessagesList.js +3 -3
- package/cjs/parts/chat-container-messages-list/config/useValidateProps.js +2 -2
- package/cjs/parts/tile-button/styled.js +5 -2
- package/esm/parts/bubble/ChatBubbleArrow.js +3 -3
- package/esm/parts/chat-container/ChatContainer.js +1 -1
- package/esm/parts/chat-container/config/useValidateProps.js +2 -2
- package/esm/parts/chat-container-messages-list/ChatContainerMessagesList.js +1 -1
- package/esm/parts/chat-container-messages-list/config/useValidateProps.js +2 -2
- package/esm/parts/tile-button/styled.js +5 -3
- package/package.json +13 -9
- package/types/parts/bubble/ChatBubble.d.ts +18 -5
- package/types/parts/bubble/props.d.ts +13 -4
- package/types/parts/bubble/styled.d.ts +9 -9
- package/types/parts/chat-card/ChatCard.d.ts +24 -4
- package/types/parts/chat-card/props.d.ts +19 -3
- package/types/parts/chat-card/styled.d.ts +6 -6
- package/types/parts/chat-composer/ChatContainerComposer.d.ts +48 -15
- package/types/parts/chat-composer/styled.d.ts +117 -24
- package/types/parts/chat-container/ChatContainer.d.ts +54 -14
- package/types/parts/chat-container/config/useValidateProps.d.ts +1 -1
- package/types/parts/chat-container/styled.d.ts +3 -3
- package/types/parts/chat-container-header/styled.d.ts +3 -3
- package/types/parts/chat-container-messages-list/ChatContainerMessagesList.d.ts +39 -9
- package/types/parts/chat-container-messages-list/config/useValidateProps.d.ts +1 -1
- package/types/parts/chat-container-messages-list/styled.d.ts +6 -6
- package/types/parts/chat-empty-state/ChatEmptyState.d.ts +12 -3
- package/types/parts/chat-empty-state/props.d.ts +7 -2
- package/types/parts/chat-empty-state/styled.d.ts +2 -2
- package/types/parts/chat-sidebar/SideBarChat.d.ts +39 -12
- package/types/parts/chat-sidebar/props.d.ts +34 -11
- package/types/parts/chat-sidebar/styled.d.ts +2 -2
- package/types/parts/floating-button/FloatingButton.d.ts +10 -3
- package/types/parts/floating-button/props.d.ts +10 -3
- package/types/parts/floating-button/styled.d.ts +1 -1
- package/types/parts/floating-container/styled.d.ts +1 -1
- package/types/parts/grid-influencer/styled.d.ts +2 -2
- package/types/parts/message-delimiter/MessageDelimiter.d.ts +21 -4
- package/types/parts/message-delimiter/props.d.ts +16 -3
- package/types/parts/message-delimiter/styled.d.ts +3 -3
- package/types/parts/sidebar-button/SidebarButton.d.ts +16 -5
- package/types/parts/sidebar-button/props.d.ts +16 -5
- package/types/parts/sidebar-button/styled.d.ts +3 -3
- package/types/parts/system-message/SystemMessage.d.ts +12 -2
- package/types/parts/system-message/props.d.ts +7 -1
- package/types/parts/system-message/style.d.ts +5 -5
- package/types/parts/tile-button/TileButton.d.ts +66 -20
- package/types/parts/tile-button/props.d.ts +61 -19
- package/types/parts/tile-button/styled.d.ts +9 -9
- package/types/prop-types.d.ts +28 -9
- package/types/parts/chat-composer/props.d.ts +0 -39
- package/types/parts/chat-container/props.d.ts +0 -43
- package/types/parts/chat-container-messages-list/props.d.ts +0 -29
|
@@ -22,7 +22,7 @@ const ChatBubbleArrow = _ref => {
|
|
|
22
22
|
viewBox: "0 0 15 14"
|
|
23
23
|
}, void 0, /*#__PURE__*/_jsx__default["default"]("defs", {}, void 0, /*#__PURE__*/_jsx__default["default"]("path", {
|
|
24
24
|
d: "M12,8.5 C12,7.9373169 11.6782751,7.4856453 11.2282104,7.196228 C11.2286673,7.1967363 3,2 3,2 L3,10 L10.5627441,10 L10.5658569,9.9933472 C11.3630371,9.9580688 12,9.3058472 12,8.5 Z",
|
|
25
|
-
id: "path-
|
|
25
|
+
id: "path-chat-bubble"
|
|
26
26
|
}), /*#__PURE__*/_jsx__default["default"]("filter", {
|
|
27
27
|
x: "-55.6%",
|
|
28
28
|
y: "-50.0%",
|
|
@@ -56,11 +56,11 @@ const ChatBubbleArrow = _ref => {
|
|
|
56
56
|
fill: "black",
|
|
57
57
|
fillOpacity: "1",
|
|
58
58
|
filter: "url(#filter-2)",
|
|
59
|
-
xlinkHref: "#path-
|
|
59
|
+
xlinkHref: "#path-chat-bubble"
|
|
60
60
|
}), /*#__PURE__*/_jsx__default["default"]("use", {
|
|
61
61
|
fill: "#FFFFFF",
|
|
62
62
|
fillRule: "evenodd",
|
|
63
|
-
xlinkHref: "#path-
|
|
63
|
+
xlinkHref: "#path-chat-bubble"
|
|
64
64
|
}))))) : _svg2 || (_svg2 = /*#__PURE__*/_jsx__default["default"]("svg", {
|
|
65
65
|
width: "9px",
|
|
66
66
|
height: "8px",
|
|
@@ -35,10 +35,10 @@ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (O
|
|
|
35
35
|
|
|
36
36
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
37
37
|
|
|
38
|
-
const ChatContainer = props => {
|
|
38
|
+
const ChatContainer = props$1 => {
|
|
39
39
|
var _containerRef$current;
|
|
40
40
|
|
|
41
|
-
useValidateProps.useValidateProps(props,
|
|
41
|
+
useValidateProps.useValidateProps(props$1, props.containerProps);
|
|
42
42
|
const {
|
|
43
43
|
sendingText,
|
|
44
44
|
sendingMessages,
|
|
@@ -57,7 +57,7 @@ const ChatContainer = props => {
|
|
|
57
57
|
hasMoreItems,
|
|
58
58
|
getMoreMessages,
|
|
59
59
|
ariaLabel
|
|
60
|
-
} = props;
|
|
60
|
+
} = props$1;
|
|
61
61
|
const bannerRef = React__default["default"].useRef({
|
|
62
62
|
focusOnWrapper: lodash.noop,
|
|
63
63
|
focusOnLink: lodash.noop
|
|
@@ -4,8 +4,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
var dsPropsHelpers = require('@elliemae/ds-props-helpers');
|
|
6
6
|
|
|
7
|
-
const useValidateProps = (props,
|
|
8
|
-
dsPropsHelpers.useValidateTypescriptPropTypes(props,
|
|
7
|
+
const useValidateProps = (props, propTypes) => {
|
|
8
|
+
dsPropsHelpers.useValidateTypescriptPropTypes(props, propTypes);
|
|
9
9
|
};
|
|
10
10
|
|
|
11
11
|
exports.useValidateProps = useValidateProps;
|
|
@@ -46,8 +46,8 @@ const getPadding = hasMoreItems => {
|
|
|
46
46
|
return padding;
|
|
47
47
|
};
|
|
48
48
|
|
|
49
|
-
const ChatContainerMessagesList = props => {
|
|
50
|
-
useValidateProps.useValidateProps(props,
|
|
49
|
+
const ChatContainerMessagesList = props$2 => {
|
|
50
|
+
useValidateProps.useValidateProps(props$2, props.listProps);
|
|
51
51
|
const {
|
|
52
52
|
sendingText,
|
|
53
53
|
bannerPosition,
|
|
@@ -59,7 +59,7 @@ const ChatContainerMessagesList = props => {
|
|
|
59
59
|
hasMoreItems,
|
|
60
60
|
isLoading,
|
|
61
61
|
bannerRef
|
|
62
|
-
} = props;
|
|
62
|
+
} = props$2;
|
|
63
63
|
const loadMoreRef = React__default["default"].useRef(null);
|
|
64
64
|
const virtualListRef = React__default["default"].useRef(); // estimateSize should not be really required given what was stated on
|
|
65
65
|
// https://github.com/tannerlinsley/react-virtual/issues/23
|
|
@@ -4,8 +4,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
var dsPropsHelpers = require('@elliemae/ds-props-helpers');
|
|
6
6
|
|
|
7
|
-
const useValidateProps = (props,
|
|
8
|
-
dsPropsHelpers.useValidateTypescriptPropTypes(props,
|
|
7
|
+
const useValidateProps = (props, propTypes) => {
|
|
8
|
+
dsPropsHelpers.useValidateTypescriptPropTypes(props, propTypes);
|
|
9
9
|
};
|
|
10
10
|
|
|
11
11
|
exports.useValidateProps = useValidateProps;
|
|
@@ -2,14 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
+
var _taggedTemplateLiteral = require('@babel/runtime/helpers/taggedTemplateLiteral');
|
|
5
6
|
var styled = require('styled-components');
|
|
7
|
+
var dsSystem = require('@elliemae/ds-system');
|
|
6
8
|
var dsGrid = require('@elliemae/ds-grid');
|
|
7
9
|
|
|
8
10
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
9
11
|
|
|
12
|
+
var _taggedTemplateLiteral__default = /*#__PURE__*/_interopDefaultLegacy(_taggedTemplateLiteral);
|
|
10
13
|
var styled__default = /*#__PURE__*/_interopDefaultLegacy(styled);
|
|
11
14
|
|
|
12
|
-
|
|
15
|
+
var _templateObject;
|
|
13
16
|
const MIN_WIDTH_SIDEBAR = 48;
|
|
14
17
|
const BUTTON_SIDEBAR_HEIGHT = 48; // Buttons
|
|
15
18
|
|
|
@@ -72,7 +75,7 @@ const StyledTileButton = /*#__PURE__*/styled__default["default"].button.withConf
|
|
|
72
75
|
}
|
|
73
76
|
}, StyledWrapperLeftBorder, props => props.theme.colors.brand[800], StyledTileButtonLabel, props => props.theme.colors.neutral[600], props => props.theme.colors.brand[800], props => props.theme.colors.neutral['050'], StyledWrapperLeftBorder, props => props.theme.colors.brand[600], StyledTileButtonLabel, props => props.theme.colors.neutral[600], props => props.theme.colors.brand[600], StyledStatusBadge, props => props.theme.colors.neutral['050'], props => props.theme.colors.neutral['080'], StyledWrapperLeftBorder, props => props.theme.colors.neutral['400'], StyledStatusBadge, props => props.theme.colors.neutral['500'], props => props.theme.colors.neutral['080'], StyledTileButtonIcon, props => props.theme.colors.neutral[400], StyledTileButtonLabel, props => props.theme.colors.neutral[400], props => {
|
|
74
77
|
if (props.selected) {
|
|
75
|
-
return
|
|
78
|
+
return dsSystem.css(_templateObject || (_templateObject = _taggedTemplateLiteral__default["default"](["\n & ", " {\n background: ", ";\n }\n "])), StyledWrapperLeftBorder, nestedProps => nestedProps.theme.colors.brand[600]);
|
|
76
79
|
}
|
|
77
80
|
|
|
78
81
|
return '';
|
|
@@ -14,7 +14,7 @@ const ChatBubbleArrow = _ref => {
|
|
|
14
14
|
viewBox: "0 0 15 14"
|
|
15
15
|
}, void 0, /*#__PURE__*/_jsx("defs", {}, void 0, /*#__PURE__*/_jsx("path", {
|
|
16
16
|
d: "M12,8.5 C12,7.9373169 11.6782751,7.4856453 11.2282104,7.196228 C11.2286673,7.1967363 3,2 3,2 L3,10 L10.5627441,10 L10.5658569,9.9933472 C11.3630371,9.9580688 12,9.3058472 12,8.5 Z",
|
|
17
|
-
id: "path-
|
|
17
|
+
id: "path-chat-bubble"
|
|
18
18
|
}), /*#__PURE__*/_jsx("filter", {
|
|
19
19
|
x: "-55.6%",
|
|
20
20
|
y: "-50.0%",
|
|
@@ -48,11 +48,11 @@ const ChatBubbleArrow = _ref => {
|
|
|
48
48
|
fill: "black",
|
|
49
49
|
fillOpacity: "1",
|
|
50
50
|
filter: "url(#filter-2)",
|
|
51
|
-
xlinkHref: "#path-
|
|
51
|
+
xlinkHref: "#path-chat-bubble"
|
|
52
52
|
}), /*#__PURE__*/_jsx("use", {
|
|
53
53
|
fill: "#FFFFFF",
|
|
54
54
|
fillRule: "evenodd",
|
|
55
|
-
xlinkHref: "#path-
|
|
55
|
+
xlinkHref: "#path-chat-bubble"
|
|
56
56
|
}))))) : _svg2 || (_svg2 = /*#__PURE__*/_jsx("svg", {
|
|
57
57
|
width: "9px",
|
|
58
58
|
height: "8px",
|
|
@@ -26,7 +26,7 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
|
26
26
|
const ChatContainer = props => {
|
|
27
27
|
var _containerRef$current;
|
|
28
28
|
|
|
29
|
-
useValidateProps(props,
|
|
29
|
+
useValidateProps(props, containerProps);
|
|
30
30
|
const {
|
|
31
31
|
sendingText,
|
|
32
32
|
sendingMessages,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useValidateTypescriptPropTypes } from '@elliemae/ds-props-helpers';
|
|
2
2
|
|
|
3
|
-
const useValidateProps = (props,
|
|
4
|
-
useValidateTypescriptPropTypes(props,
|
|
3
|
+
const useValidateProps = (props, propTypes) => {
|
|
4
|
+
useValidateTypescriptPropTypes(props, propTypes);
|
|
5
5
|
};
|
|
6
6
|
|
|
7
7
|
export { useValidateProps };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useValidateTypescriptPropTypes } from '@elliemae/ds-props-helpers';
|
|
2
2
|
|
|
3
|
-
const useValidateProps = (props,
|
|
4
|
-
useValidateTypescriptPropTypes(props,
|
|
3
|
+
const useValidateProps = (props, propTypes) => {
|
|
4
|
+
useValidateTypescriptPropTypes(props, propTypes);
|
|
5
5
|
};
|
|
6
6
|
|
|
7
7
|
export { useValidateProps };
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import
|
|
1
|
+
import _taggedTemplateLiteral from '@babel/runtime/helpers/esm/taggedTemplateLiteral';
|
|
2
|
+
import styled from 'styled-components';
|
|
3
|
+
import { css } from '@elliemae/ds-system';
|
|
2
4
|
import { Grid } from '@elliemae/ds-grid';
|
|
3
5
|
|
|
4
|
-
|
|
6
|
+
var _templateObject;
|
|
5
7
|
const MIN_WIDTH_SIDEBAR = 48;
|
|
6
8
|
const BUTTON_SIDEBAR_HEIGHT = 48; // Buttons
|
|
7
9
|
|
|
@@ -64,7 +66,7 @@ const StyledTileButton = /*#__PURE__*/styled.button.withConfig({
|
|
|
64
66
|
}
|
|
65
67
|
}, StyledWrapperLeftBorder, props => props.theme.colors.brand[800], StyledTileButtonLabel, props => props.theme.colors.neutral[600], props => props.theme.colors.brand[800], props => props.theme.colors.neutral['050'], StyledWrapperLeftBorder, props => props.theme.colors.brand[600], StyledTileButtonLabel, props => props.theme.colors.neutral[600], props => props.theme.colors.brand[600], StyledStatusBadge, props => props.theme.colors.neutral['050'], props => props.theme.colors.neutral['080'], StyledWrapperLeftBorder, props => props.theme.colors.neutral['400'], StyledStatusBadge, props => props.theme.colors.neutral['500'], props => props.theme.colors.neutral['080'], StyledTileButtonIcon, props => props.theme.colors.neutral[400], StyledTileButtonLabel, props => props.theme.colors.neutral[400], props => {
|
|
66
68
|
if (props.selected) {
|
|
67
|
-
return css(["& ", "{background:", "
|
|
69
|
+
return css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n & ", " {\n background: ", ";\n }\n "])), StyledWrapperLeftBorder, nestedProps => nestedProps.theme.colors.brand[600]);
|
|
68
70
|
}
|
|
69
71
|
|
|
70
72
|
return '';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/ds-chat",
|
|
3
|
-
"version": "2.0.0-rc.
|
|
3
|
+
"version": "2.0.0-rc.9",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "ICE MT - Dimsum - Chat",
|
|
6
6
|
"module": "./esm/index.js",
|
|
@@ -305,19 +305,23 @@
|
|
|
305
305
|
"generateSubmodules": true
|
|
306
306
|
},
|
|
307
307
|
"dependencies": {
|
|
308
|
-
"@elliemae/ds-banner": "2.0.0-rc.
|
|
309
|
-
"@elliemae/ds-
|
|
310
|
-
"@elliemae/ds-
|
|
311
|
-
"@elliemae/ds-
|
|
312
|
-
"@elliemae/ds-
|
|
313
|
-
"@elliemae/ds-props-helpers": "2.0.0-rc.
|
|
314
|
-
"@elliemae/ds-
|
|
315
|
-
"@elliemae/ds-
|
|
308
|
+
"@elliemae/ds-banner": "2.0.0-rc.9",
|
|
309
|
+
"@elliemae/ds-button": "2.0.0-rc.9",
|
|
310
|
+
"@elliemae/ds-grid": "2.0.0-rc.9",
|
|
311
|
+
"@elliemae/ds-icons": "2.0.0-rc.9",
|
|
312
|
+
"@elliemae/ds-indeterminate-progress-indicator": "2.0.0-rc.9",
|
|
313
|
+
"@elliemae/ds-props-helpers": "2.0.0-rc.9",
|
|
314
|
+
"@elliemae/ds-system": "2.0.0-rc.9",
|
|
315
|
+
"@elliemae/ds-tooltip": "2.0.0-rc.9",
|
|
316
|
+
"@elliemae/ds-truncated-tooltip-text": "2.0.0-rc.9",
|
|
316
317
|
"prop-types": "~15.7.2",
|
|
317
318
|
"react-desc": "~4.1.2",
|
|
318
319
|
"react-virtual": "~2.3.2"
|
|
319
320
|
},
|
|
320
321
|
"devDependencies": {
|
|
322
|
+
"@testing-library/dom": "~8.11.1",
|
|
323
|
+
"@testing-library/jest-dom": "~5.15.0",
|
|
324
|
+
"@testing-library/react": "~12.1.2",
|
|
321
325
|
"styled-components": "~5.3.3"
|
|
322
326
|
},
|
|
323
327
|
"peerDependencies": {
|
|
@@ -1,17 +1,30 @@
|
|
|
1
|
+
/// <reference path="../../../../../../shared/typings/react-desc.d.ts" />
|
|
1
2
|
/// <reference types="react" />
|
|
2
3
|
import { BubbleProps } from './props';
|
|
3
4
|
declare const ChatBubble: {
|
|
4
5
|
(props: BubbleProps): JSX.Element;
|
|
5
6
|
propTypes: {
|
|
6
|
-
dsId:
|
|
7
|
+
dsId: {
|
|
8
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
9
|
+
};
|
|
7
10
|
type: any;
|
|
8
11
|
title: any;
|
|
9
12
|
time: any;
|
|
10
13
|
body: any;
|
|
11
|
-
onClick:
|
|
12
|
-
|
|
13
|
-
|
|
14
|
+
onClick: {
|
|
15
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
16
|
+
};
|
|
17
|
+
errorMessage: {
|
|
18
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
19
|
+
};
|
|
20
|
+
helpMessage: {
|
|
21
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
22
|
+
};
|
|
14
23
|
};
|
|
15
24
|
};
|
|
16
|
-
declare const ChatBubbleWithSchema:
|
|
25
|
+
declare const ChatBubbleWithSchema: {
|
|
26
|
+
(props?: BubbleProps | undefined): JSX.Element;
|
|
27
|
+
propTypes: unknown;
|
|
28
|
+
toTypescript: () => import("react-desc").TypescriptSchema;
|
|
29
|
+
};
|
|
17
30
|
export { ChatBubble, ChatBubbleWithSchema };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference path="../../../../../../shared/typings/react-desc.d.ts" />
|
|
1
2
|
import React from 'react';
|
|
2
3
|
/**
|
|
3
4
|
*
|
|
@@ -24,14 +25,22 @@ export interface BubbleProps {
|
|
|
24
25
|
}
|
|
25
26
|
export declare const defaultBubbleProps: BubbleProps;
|
|
26
27
|
export declare const propsBubbles: {
|
|
27
|
-
dsId:
|
|
28
|
+
dsId: {
|
|
29
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
30
|
+
};
|
|
28
31
|
type: any;
|
|
29
32
|
title: any;
|
|
30
33
|
time: any;
|
|
31
34
|
body: any;
|
|
32
|
-
onClick:
|
|
33
|
-
|
|
34
|
-
|
|
35
|
+
onClick: {
|
|
36
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
37
|
+
};
|
|
38
|
+
errorMessage: {
|
|
39
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
40
|
+
};
|
|
41
|
+
helpMessage: {
|
|
42
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
43
|
+
};
|
|
35
44
|
};
|
|
36
45
|
/**
|
|
37
46
|
*
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const StyledWrapper: import("styled-components").StyledComponent<"div",
|
|
3
|
-
export declare const StyledTitleBubble: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@elliemae/ds-grid/types/types").GridPropsT & import("react").RefAttributes<HTMLDivElement>>,
|
|
4
|
-
export declare const StyledTitleLeftBubble: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@elliemae/ds-grid/types/types").GridPropsT & import("react").RefAttributes<HTMLDivElement>>,
|
|
5
|
-
export declare const StyledTitleRightBubble: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@elliemae/ds-grid/types/types").GridPropsT & import("react").RefAttributes<HTMLDivElement>>,
|
|
6
|
-
export declare const StyleBodyWrapper: import("styled-components").StyledComponent<"div",
|
|
7
|
-
export declare const StyleErrorMessage: import("styled-components").StyledComponent<"div",
|
|
8
|
-
export declare const StyleHelpMessage: import("styled-components").StyledComponent<"div",
|
|
9
|
-
export declare const StyledBubbleArrow: import("styled-components").StyledComponent<"div",
|
|
10
|
-
export declare const StyledColoredBubble: import("styled-components").StyledComponent<"div",
|
|
2
|
+
export declare const StyledWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, any, never>;
|
|
3
|
+
export declare const StyledTitleBubble: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@elliemae/ds-grid/types/types").GridPropsT & import("react").RefAttributes<HTMLDivElement>>, import("styled-components").DefaultTheme, {}, never>;
|
|
4
|
+
export declare const StyledTitleLeftBubble: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@elliemae/ds-grid/types/types").GridPropsT & import("react").RefAttributes<HTMLDivElement>>, import("styled-components").DefaultTheme, {}, never>;
|
|
5
|
+
export declare const StyledTitleRightBubble: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@elliemae/ds-grid/types/types").GridPropsT & import("react").RefAttributes<HTMLDivElement>>, import("styled-components").DefaultTheme, {}, never>;
|
|
6
|
+
export declare const StyleBodyWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, any, never>;
|
|
7
|
+
export declare const StyleErrorMessage: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, any, never>;
|
|
8
|
+
export declare const StyleHelpMessage: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, any, never>;
|
|
9
|
+
export declare const StyledBubbleArrow: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, any, never>;
|
|
10
|
+
export declare const StyledColoredBubble: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, any, never>;
|
|
@@ -1,13 +1,33 @@
|
|
|
1
|
+
/// <reference path="../../../../../../shared/typings/react-desc.d.ts" />
|
|
1
2
|
/// <reference types="react" />
|
|
2
3
|
import { CardPropTypes } from './props';
|
|
3
4
|
declare const ChatCard: {
|
|
4
5
|
(props: CardPropTypes): JSX.Element;
|
|
5
6
|
propTypes: {
|
|
6
7
|
title: any;
|
|
7
|
-
content:
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
content: {
|
|
9
|
+
defaultValue<T = unknown>(arg: T): {
|
|
10
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
11
|
+
};
|
|
12
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
13
|
+
};
|
|
14
|
+
time: {
|
|
15
|
+
defaultValue<T = unknown>(arg: T): {
|
|
16
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
17
|
+
};
|
|
18
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
19
|
+
};
|
|
20
|
+
rightAddon: {
|
|
21
|
+
defaultValue<T = unknown>(arg: T): {
|
|
22
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
23
|
+
};
|
|
24
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
25
|
+
};
|
|
10
26
|
};
|
|
11
27
|
};
|
|
12
|
-
declare const ChatCardWithSchema:
|
|
28
|
+
declare const ChatCardWithSchema: {
|
|
29
|
+
(props?: CardPropTypes | undefined): JSX.Element;
|
|
30
|
+
propTypes: unknown;
|
|
31
|
+
toTypescript: () => import("react-desc").TypescriptSchema;
|
|
32
|
+
};
|
|
13
33
|
export { ChatCard, ChatCardWithSchema };
|
|
@@ -1,9 +1,25 @@
|
|
|
1
|
+
/// <reference path="../../../../../../shared/typings/react-desc.d.ts" />
|
|
1
2
|
/// <reference types="react" />
|
|
2
3
|
export declare const propTypes: {
|
|
3
4
|
title: any;
|
|
4
|
-
content:
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
content: {
|
|
6
|
+
defaultValue<T = unknown>(arg: T): {
|
|
7
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
8
|
+
};
|
|
9
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
10
|
+
};
|
|
11
|
+
time: {
|
|
12
|
+
defaultValue<T = unknown>(arg: T): {
|
|
13
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
14
|
+
};
|
|
15
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
16
|
+
};
|
|
17
|
+
rightAddon: {
|
|
18
|
+
defaultValue<T = unknown>(arg: T): {
|
|
19
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
20
|
+
};
|
|
21
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
22
|
+
};
|
|
7
23
|
};
|
|
8
24
|
export interface CardPropTypes {
|
|
9
25
|
title: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const Wrapper: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@elliemae/ds-grid/types/types").GridPropsT & import("react").RefAttributes<HTMLDivElement>>,
|
|
3
|
-
export declare const MainContent: import("styled-components").StyledComponent<"div",
|
|
4
|
-
export declare const Title: import("styled-components").StyledComponent<"p",
|
|
5
|
-
export declare const Content: import("styled-components").StyledComponent<"p",
|
|
6
|
-
export declare const Time: import("styled-components").StyledComponent<"p",
|
|
7
|
-
export declare const RightAddon: import("styled-components").StyledComponent<"div",
|
|
2
|
+
export declare const Wrapper: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@elliemae/ds-grid/types/types").GridPropsT & import("react").RefAttributes<HTMLDivElement>>, import("styled-components").DefaultTheme, {}, never>;
|
|
3
|
+
export declare const MainContent: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
4
|
+
export declare const Title: import("styled-components").StyledComponent<"p", import("styled-components").DefaultTheme, {}, never>;
|
|
5
|
+
export declare const Content: import("styled-components").StyledComponent<"p", import("styled-components").DefaultTheme, {}, never>;
|
|
6
|
+
export declare const Time: import("styled-components").StyledComponent<"p", import("styled-components").DefaultTheme, {}, never>;
|
|
7
|
+
export declare const RightAddon: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -1,24 +1,57 @@
|
|
|
1
|
+
/// <reference path="../../../../../../shared/typings/react-desc.d.ts" />
|
|
1
2
|
/// <reference types="react" />
|
|
2
3
|
import { ChatComposerProps } from './props';
|
|
3
4
|
declare const ChatComposer: {
|
|
4
5
|
(props: ChatComposerProps): JSX.Element;
|
|
5
6
|
propTypes: {
|
|
6
|
-
placeholder:
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
7
|
+
placeholder: {
|
|
8
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
9
|
+
};
|
|
10
|
+
inputValue: {
|
|
11
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
12
|
+
};
|
|
13
|
+
maxLengthMessage: {
|
|
14
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
15
|
+
};
|
|
16
|
+
onChange: {
|
|
17
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
18
|
+
};
|
|
19
|
+
onResize: {
|
|
20
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
21
|
+
};
|
|
22
|
+
onSend: {
|
|
23
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
24
|
+
};
|
|
25
|
+
onFocus: {
|
|
26
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
27
|
+
};
|
|
28
|
+
onBlur: {
|
|
29
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
30
|
+
};
|
|
31
|
+
onKeyDown: {
|
|
32
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
33
|
+
};
|
|
34
|
+
maxHeight: {
|
|
35
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
36
|
+
};
|
|
37
|
+
inputMaxLength: {
|
|
38
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
39
|
+
};
|
|
40
|
+
buttonDisabled: {
|
|
41
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
42
|
+
};
|
|
43
|
+
dataTestid: {
|
|
44
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
45
|
+
};
|
|
46
|
+
actionRef: {
|
|
47
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
48
|
+
};
|
|
20
49
|
};
|
|
21
50
|
defaultProps: ChatComposerProps;
|
|
22
51
|
};
|
|
23
|
-
declare const ChatComposerWithSchema:
|
|
52
|
+
declare const ChatComposerWithSchema: {
|
|
53
|
+
(props?: ChatComposerProps | undefined): JSX.Element;
|
|
54
|
+
propTypes: unknown;
|
|
55
|
+
toTypescript: () => import("react-desc").TypescriptSchema;
|
|
56
|
+
};
|
|
24
57
|
export { ChatComposer, ChatComposerWithSchema };
|