@elliemae/ds-chat 2.0.0-rc.2 → 2.0.0-rc.6
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 +9 -9
- package/types/parts/bubble/styled.d.ts +9 -9
- package/types/parts/chat-card/styled.d.ts +6 -6
- package/types/parts/chat-composer/styled.d.ts +5 -5
- package/types/parts/chat-container/config/useValidateProps.d.ts +1 -1
- package/types/parts/chat-container/styled.d.ts +4 -4
- package/types/parts/chat-container-header/styled.d.ts +3 -3
- package/types/parts/chat-container-messages-list/config/useValidateProps.d.ts +1 -1
- package/types/parts/chat-container-messages-list/styled.d.ts +7 -7
- package/types/parts/chat-empty-state/styled.d.ts +2 -2
- package/types/parts/chat-sidebar/styled.d.ts +2 -2
- 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/styled.d.ts +3 -3
- package/types/parts/sidebar-button/styled.d.ts +3 -3
- package/types/parts/system-message/style.d.ts +5 -5
- package/types/parts/tile-button/styled.d.ts +9 -9
|
@@ -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.6",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "ICE MT - Dimsum - Chat",
|
|
6
6
|
"module": "./esm/index.js",
|
|
@@ -305,14 +305,14 @@
|
|
|
305
305
|
"generateSubmodules": true
|
|
306
306
|
},
|
|
307
307
|
"dependencies": {
|
|
308
|
-
"@elliemae/ds-banner": "2.0.0-rc.
|
|
309
|
-
"@elliemae/ds-basic": "2.0.0-rc.
|
|
310
|
-
"@elliemae/ds-button": "2.0.0-rc.
|
|
311
|
-
"@elliemae/ds-grid": "2.0.0-rc.
|
|
312
|
-
"@elliemae/ds-icons": "2.0.0-rc.
|
|
313
|
-
"@elliemae/ds-props-helpers": "2.0.0-rc.
|
|
314
|
-
"@elliemae/ds-tooltip": "2.0.0-rc.
|
|
315
|
-
"@elliemae/ds-truncated-tooltip-text": "2.0.0-rc.
|
|
308
|
+
"@elliemae/ds-banner": "2.0.0-rc.6",
|
|
309
|
+
"@elliemae/ds-basic": "2.0.0-rc.6",
|
|
310
|
+
"@elliemae/ds-button": "2.0.0-rc.6",
|
|
311
|
+
"@elliemae/ds-grid": "2.0.0-rc.6",
|
|
312
|
+
"@elliemae/ds-icons": "2.0.0-rc.6",
|
|
313
|
+
"@elliemae/ds-props-helpers": "2.0.0-rc.6",
|
|
314
|
+
"@elliemae/ds-tooltip": "2.0.0-rc.6",
|
|
315
|
+
"@elliemae/ds-truncated-tooltip-text": "2.0.0-rc.6",
|
|
316
316
|
"prop-types": "~15.7.2",
|
|
317
317
|
"react-desc": "~4.1.2",
|
|
318
318
|
"react-virtual": "~2.3.2"
|
|
@@ -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,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,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const StyledChatContainerContentComposer: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@elliemae/ds-grid/types/types").GridPropsT & import("react").RefAttributes<HTMLDivElement>>,
|
|
3
|
-
export declare const StyledComposerInput: import("styled-components").StyledComponent<"textarea",
|
|
2
|
+
export declare const StyledChatContainerContentComposer: 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 StyledComposerInput: import("styled-components").StyledComponent<"textarea", import("styled-components").DefaultTheme, any, never>;
|
|
4
4
|
export declare const StyledComposerButton: import("styled-components").StyledComponent<{
|
|
5
5
|
({ innerRef, disabled, buttonType, fluidWidth, size, labelText, icon, onBlur, onClick, onKeyPress, leftIcon, tabIndex, variant, intent, containerProps, className, as: Component, type, ...rest }: {
|
|
6
6
|
[x: string]: any;
|
|
@@ -59,6 +59,6 @@ export declare const StyledComposerButton: import("styled-components").StyledCom
|
|
|
59
59
|
onClick: any;
|
|
60
60
|
onKeyPress: any;
|
|
61
61
|
};
|
|
62
|
-
},
|
|
63
|
-
export declare const StyledCounterArea: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@elliemae/ds-grid/types/types").GridPropsT & import("react").RefAttributes<HTMLDivElement>>,
|
|
64
|
-
export declare const StyledCounterErrorA11y: import("styled-components").StyledComponent<"span",
|
|
62
|
+
}, import("styled-components").DefaultTheme, {}, never>;
|
|
63
|
+
export declare const StyledCounterArea: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@elliemae/ds-grid/types/types").GridPropsT & import("react").RefAttributes<HTMLDivElement>>, import("styled-components").DefaultTheme, {}, never>;
|
|
64
|
+
export declare const StyledCounterErrorA11y: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { ChatContainerProps } from '../props';
|
|
2
|
-
export declare const useValidateProps: (props: ChatContainerProps,
|
|
2
|
+
export declare const useValidateProps: (props: ChatContainerProps, propTypes: unknown) => void;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export declare const CONTAINER_WIDTH = 300;
|
|
3
|
-
export declare const StyledChatContainerContent: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@elliemae/ds-grid/types/types").GridPropsT & import("react").RefAttributes<HTMLDivElement>>,
|
|
4
|
-
export declare const StyledIndicatorContainer: import("styled-components").StyledComponent<"div",
|
|
5
|
-
isLoading?: "
|
|
3
|
+
export declare const StyledChatContainerContent: 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 StyledIndicatorContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
5
|
+
isLoading?: "top" | "bottom" | undefined;
|
|
6
6
|
linear?: boolean | undefined;
|
|
7
7
|
}, never>;
|
|
8
|
-
export declare const MobileStyledChatContainerContent: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@elliemae/ds-grid/types/types").GridPropsT & import("react").RefAttributes<HTMLDivElement>>,
|
|
8
|
+
export declare const MobileStyledChatContainerContent: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@elliemae/ds-grid/types/types").GridPropsT & import("react").RefAttributes<HTMLDivElement>>, import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const StyledChatContainerContentHeaderActions: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@elliemae/ds-grid/types/types").GridPropsT & import("react").RefAttributes<HTMLDivElement>>,
|
|
3
|
-
export declare const StyledChatContainerContentHeader: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@elliemae/ds-grid/types/types").GridPropsT & import("react").RefAttributes<HTMLDivElement>>,
|
|
4
|
-
export declare const StyledChatContainerContentHeaderLabel: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@elliemae/ds-grid/types/types").GridPropsT & import("react").RefAttributes<HTMLDivElement>>,
|
|
2
|
+
export declare const StyledChatContainerContentHeaderActions: 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 StyledChatContainerContentHeader: 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 StyledChatContainerContentHeaderLabel: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@elliemae/ds-grid/types/types").GridPropsT & import("react").RefAttributes<HTMLDivElement>>, import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { ChatContainerMessagesListProps } from '../props';
|
|
2
|
-
export declare const useValidateProps: (props: ChatContainerMessagesListProps,
|
|
2
|
+
export declare const useValidateProps: (props: ChatContainerMessagesListProps, propTypes: unknown) => void;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { BubbleProps } from '../bubble/props';
|
|
2
|
-
export declare const StyledWrapper: import("styled-components").StyledComponent<"div",
|
|
3
|
-
export declare const StyledWrapperListItem: import("styled-components").StyledComponent<"div",
|
|
4
|
-
export declare const StyledChatContainerContentList: import("styled-components").StyledComponent<"div",
|
|
5
|
-
export declare const StyledChatContainerContentListScroll: import("styled-components").StyledComponent<"div",
|
|
2
|
+
export declare const StyledWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
3
|
+
export declare const StyledWrapperListItem: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, Partial<BubbleProps>, never>;
|
|
4
|
+
export declare const StyledChatContainerContentList: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
5
|
+
export declare const StyledChatContainerContentListScroll: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
6
6
|
height: string;
|
|
7
7
|
}, never>;
|
|
8
|
-
export declare const StyledLoadMoreContainer: import("styled-components").StyledComponent<"div",
|
|
9
|
-
hasMoreItems?: "
|
|
8
|
+
export declare const StyledLoadMoreContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
9
|
+
hasMoreItems?: "top" | "bottom" | undefined;
|
|
10
10
|
}, never>;
|
|
11
|
-
export declare const ListItem: import("styled-components").StyledComponent<"div",
|
|
11
|
+
export declare const ListItem: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export declare const CONTAINER_WIDTH = 300;
|
|
3
|
-
export declare const ChatEmptyStateWrapper: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@elliemae/ds-grid/types/types").GridPropsT & import("react").RefAttributes<HTMLDivElement>>,
|
|
4
|
-
export declare const MessageWrapper: import("styled-components").StyledComponent<"p",
|
|
3
|
+
export declare const ChatEmptyStateWrapper: 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 MessageWrapper: import("styled-components").StyledComponent<"p", import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const StyledSideBarContainer: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@elliemae/ds-grid/types/types").GridPropsT & import("react").RefAttributes<HTMLDivElement>>,
|
|
3
|
-
export declare const StyledSideBarButtonsContainer: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@elliemae/ds-grid/types/types").GridPropsT & import("react").RefAttributes<HTMLDivElement>>,
|
|
2
|
+
export declare const StyledSideBarContainer: 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 StyledSideBarButtonsContainer: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@elliemae/ds-grid/types/types").GridPropsT & import("react").RefAttributes<HTMLDivElement>>, import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const StyledFloatingButton: import("styled-components").StyledComponent<"button",
|
|
1
|
+
export declare const StyledFloatingButton: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const StyledFloatingContainer: import("styled-components").StyledComponent<any,
|
|
1
|
+
export declare const StyledFloatingContainer: import("styled-components").StyledComponent<any, import("styled-components").DefaultTheme, object, string | number | symbol>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const StyledChatContainer: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@elliemae/ds-grid/types/types").GridPropsT & import("react").RefAttributes<HTMLDivElement>>,
|
|
3
|
-
export declare const StyledChatContainerContent: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@elliemae/ds-grid/types/types").GridPropsT & import("react").RefAttributes<HTMLDivElement>>,
|
|
2
|
+
export declare const StyledChatContainer: 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 StyledChatContainerContent: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@elliemae/ds-grid/types/types").GridPropsT & import("react").RefAttributes<HTMLDivElement>>, import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { MessageDelimiterProps } from './props';
|
|
3
|
-
declare const Wrapper: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@elliemae/ds-grid/types/types").GridPropsT & import("react").RefAttributes<HTMLDivElement>>,
|
|
4
|
-
declare const Line: import("styled-components").StyledComponent<"span",
|
|
5
|
-
declare const Text: import("styled-components").StyledComponent<"p",
|
|
3
|
+
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>;
|
|
4
|
+
declare const Line: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, {}, never>;
|
|
5
|
+
declare const Text: import("styled-components").StyledComponent<"p", import("styled-components").DefaultTheme, Pick<MessageDelimiterProps, "size" | "verticalMargin">, never>;
|
|
6
6
|
export { Wrapper, Line, Text };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const StyledSidebarButton: import("styled-components").StyledComponent<"button",
|
|
3
|
-
export declare const StyledSidebarButtonIcon: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@elliemae/ds-grid/types/types").GridPropsT & import("react").RefAttributes<HTMLDivElement>>,
|
|
4
|
-
export declare const StyledSidebarButtonLabel: import("styled-components").StyledComponent<"div",
|
|
2
|
+
export declare const StyledSidebarButton: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, {}, never>;
|
|
3
|
+
export declare const StyledSidebarButtonIcon: 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 StyledSidebarButtonLabel: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
declare const Wrapper: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@elliemae/ds-grid/types/types").GridPropsT & import("react").RefAttributes<HTMLDivElement>>,
|
|
3
|
-
declare const Header: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@elliemae/ds-grid/types/types").GridPropsT & import("react").RefAttributes<HTMLDivElement>>,
|
|
4
|
-
declare const Title: import("styled-components").StyledComponent<"p",
|
|
5
|
-
declare const Time: import("styled-components").StyledComponent<"p",
|
|
6
|
-
declare const Message: import("styled-components").StyledComponent<"p",
|
|
2
|
+
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
|
+
declare const Header: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@elliemae/ds-grid/types/types").GridPropsT & import("react").RefAttributes<HTMLDivElement>>, import("styled-components").DefaultTheme, {}, never>;
|
|
4
|
+
declare const Title: import("styled-components").StyledComponent<"p", import("styled-components").DefaultTheme, any, never>;
|
|
5
|
+
declare const Time: import("styled-components").StyledComponent<"p", import("styled-components").DefaultTheme, any, never>;
|
|
6
|
+
declare const Message: import("styled-components").StyledComponent<"p", import("styled-components").DefaultTheme, any, never>;
|
|
7
7
|
export { Wrapper, Header, Title, Time, Message };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { TileButtonProps } from './props';
|
|
3
|
-
export declare const StyledWrapperLeftBorder: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@elliemae/ds-grid/types/types").GridPropsT & import("react").RefAttributes<HTMLDivElement>>,
|
|
4
|
-
export declare const StyledStatusBadge: import("styled-components").StyledComponent<"div",
|
|
5
|
-
export declare const StyledWrapperCentralContent: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@elliemae/ds-grid/types/types").GridPropsT & import("react").RefAttributes<HTMLDivElement>>,
|
|
6
|
-
export declare const StyledTileButtonIcon: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@elliemae/ds-grid/types/types").GridPropsT & import("react").RefAttributes<HTMLDivElement>>,
|
|
7
|
-
export declare const StyledTileButtonLabel: import("styled-components").StyledComponent<"div",
|
|
8
|
-
export declare const CloseButton: import("styled-components").StyledComponent<"button",
|
|
9
|
-
export declare const StyledTooltipV3ButtonWrapper: import("styled-components").StyledComponent<"div",
|
|
10
|
-
export declare const StyledTileButton: import("styled-components").StyledComponent<"button",
|
|
11
|
-
export declare const StyledWrapper: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@elliemae/ds-grid/types/types").GridPropsT & import("react").RefAttributes<HTMLDivElement>>,
|
|
3
|
+
export declare const StyledWrapperLeftBorder: 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 StyledStatusBadge: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, Partial<TileButtonProps>, never>;
|
|
5
|
+
export declare const StyledWrapperCentralContent: 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 StyledTileButtonIcon: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@elliemae/ds-grid/types/types").GridPropsT & import("react").RefAttributes<HTMLDivElement>>, import("styled-components").DefaultTheme, {}, never>;
|
|
7
|
+
export declare const StyledTileButtonLabel: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
8
|
+
export declare const CloseButton: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, any, never>;
|
|
9
|
+
export declare const StyledTooltipV3ButtonWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
10
|
+
export declare const StyledTileButton: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, Partial<TileButtonProps>, never>;
|
|
11
|
+
export declare const StyledWrapper: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@elliemae/ds-grid/types/types").GridPropsT & import("react").RefAttributes<HTMLDivElement>>, import("styled-components").DefaultTheme, {}, never>;
|