@elliemae/ds-chat-empty-state 3.35.0 → 3.36.0-next.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.
|
@@ -55,7 +55,6 @@ const ChatEmptyState = (props) => {
|
|
|
55
55
|
);
|
|
56
56
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_styled.ChatEmptyStateWrapper, { alignItems: "center", justifyContent: "center", children: MainContent });
|
|
57
57
|
};
|
|
58
|
-
ChatEmptyState.propTypes = import_react_desc_prop_types.emptyStateProps;
|
|
59
58
|
ChatEmptyState.displayName = import_DSChatEmptyStateDefinitions.DSChatEmptyStateName;
|
|
60
59
|
const ChatEmptyStateWithSchema = (0, import_ds_props_helpers.describe)(ChatEmptyState);
|
|
61
60
|
ChatEmptyStateWithSchema.propTypes = import_react_desc_prop_types.emptyStateProps;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/ChatEmptyState.tsx", "../../../../../scripts/build/transpile/react-shim.js"],
|
|
4
|
-
"sourcesContent": ["import type { WeakValidationMap } from 'react';\nimport React, { useMemo } from 'react';\nimport { describe, useValidateTypescriptPropTypes, useMemoMergePropsWithDefault } from '@elliemae/ds-props-helpers';\nimport { Grid } from '@elliemae/ds-grid';\nimport { Communications } from '@elliemae/ds-icons';\nimport type { DSChatEmptyStateT } from './react-desc-prop-types.js';\nimport { emptyStateProps, defaultProps } from './react-desc-prop-types.js';\nimport { ChatEmptyStateWrapper, MessageWrapper } from './styled.js';\nimport { DSChatEmptyStateName } from './DSChatEmptyStateDefinitions.js';\n\nconst ChatEmptyState: React.ComponentType<DSChatEmptyStateT.Props> = (props) => {\n const propsWithDefault = useMemoMergePropsWithDefault<DSChatEmptyStateT.InternalProps>(props, defaultProps);\n useValidateTypescriptPropTypes(propsWithDefault, emptyStateProps, DSChatEmptyStateName);\n\n const { label, action } = propsWithDefault;\n const MainContent = useMemo(\n () => (\n <Grid alignItems=\"center\" justifyContent=\"center\">\n <Grid alignItems=\"center\" justifyContent=\"center\">\n <Communications size=\"xxl\" color={['neutral', '400']} />\n </Grid>\n <Grid alignItems=\"center\" justifyContent=\"center\">\n <MessageWrapper>{label}</MessageWrapper>\n </Grid>\n <Grid alignItems=\"center\" justifyContent=\"center\">\n {action}\n </Grid>\n </Grid>\n ),\n [label, action],\n );\n return (\n <ChatEmptyStateWrapper alignItems=\"center\" justifyContent=\"center\">\n {MainContent}\n </ChatEmptyStateWrapper>\n );\n};\n\nChatEmptyState.
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADiBjB;AAhBN,mBAA+B;AAC/B,8BAAuF;AACvF,qBAAqB;AACrB,sBAA+B;AAE/B,mCAA8C;AAC9C,oBAAsD;AACtD,yCAAqC;AAErC,MAAM,iBAA+D,CAAC,UAAU;AAC9E,QAAM,uBAAmB,sDAA8D,OAAO,yCAAY;AAC1G,8DAA+B,kBAAkB,8CAAiB,uDAAoB;AAEtF,QAAM,EAAE,OAAO,OAAO,IAAI;AAC1B,QAAM,kBAAc;AAAA,IAClB,MACE,6CAAC,uBAAK,YAAW,UAAS,gBAAe,UACvC;AAAA,kDAAC,uBAAK,YAAW,UAAS,gBAAe,UACvC,sDAAC,kCAAe,MAAK,OAAM,OAAO,CAAC,WAAW,KAAK,GAAG,GACxD;AAAA,MACA,4CAAC,uBAAK,YAAW,UAAS,gBAAe,UACvC,sDAAC,gCAAgB,iBAAM,GACzB;AAAA,MACA,4CAAC,uBAAK,YAAW,UAAS,gBAAe,UACtC,kBACH;AAAA,OACF;AAAA,IAEF,CAAC,OAAO,MAAM;AAAA,EAChB;AACA,SACE,4CAAC,uCAAsB,YAAW,UAAS,gBAAe,UACvD,uBACH;AAEJ;AAEA,eAAe,
|
|
4
|
+
"sourcesContent": ["import type { WeakValidationMap } from 'react';\nimport React, { useMemo } from 'react';\nimport { describe, useValidateTypescriptPropTypes, useMemoMergePropsWithDefault } from '@elliemae/ds-props-helpers';\nimport { Grid } from '@elliemae/ds-grid';\nimport { Communications } from '@elliemae/ds-icons';\nimport type { DSChatEmptyStateT } from './react-desc-prop-types.js';\nimport { emptyStateProps, defaultProps } from './react-desc-prop-types.js';\nimport { ChatEmptyStateWrapper, MessageWrapper } from './styled.js';\nimport { DSChatEmptyStateName } from './DSChatEmptyStateDefinitions.js';\n\nconst ChatEmptyState: React.ComponentType<DSChatEmptyStateT.Props> = (props) => {\n const propsWithDefault = useMemoMergePropsWithDefault<DSChatEmptyStateT.InternalProps>(props, defaultProps);\n useValidateTypescriptPropTypes(propsWithDefault, emptyStateProps, DSChatEmptyStateName);\n\n const { label, action } = propsWithDefault;\n const MainContent = useMemo(\n () => (\n <Grid alignItems=\"center\" justifyContent=\"center\">\n <Grid alignItems=\"center\" justifyContent=\"center\">\n <Communications size=\"xxl\" color={['neutral', '400']} />\n </Grid>\n <Grid alignItems=\"center\" justifyContent=\"center\">\n <MessageWrapper>{label}</MessageWrapper>\n </Grid>\n <Grid alignItems=\"center\" justifyContent=\"center\">\n {action}\n </Grid>\n </Grid>\n ),\n [label, action],\n );\n return (\n <ChatEmptyStateWrapper alignItems=\"center\" justifyContent=\"center\">\n {MainContent}\n </ChatEmptyStateWrapper>\n );\n};\n\nChatEmptyState.displayName = DSChatEmptyStateName;\nconst ChatEmptyStateWithSchema = describe(ChatEmptyState);\nChatEmptyStateWithSchema.propTypes = emptyStateProps as WeakValidationMap<unknown>;\n\nexport { ChatEmptyState, ChatEmptyStateWithSchema };\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADiBjB;AAhBN,mBAA+B;AAC/B,8BAAuF;AACvF,qBAAqB;AACrB,sBAA+B;AAE/B,mCAA8C;AAC9C,oBAAsD;AACtD,yCAAqC;AAErC,MAAM,iBAA+D,CAAC,UAAU;AAC9E,QAAM,uBAAmB,sDAA8D,OAAO,yCAAY;AAC1G,8DAA+B,kBAAkB,8CAAiB,uDAAoB;AAEtF,QAAM,EAAE,OAAO,OAAO,IAAI;AAC1B,QAAM,kBAAc;AAAA,IAClB,MACE,6CAAC,uBAAK,YAAW,UAAS,gBAAe,UACvC;AAAA,kDAAC,uBAAK,YAAW,UAAS,gBAAe,UACvC,sDAAC,kCAAe,MAAK,OAAM,OAAO,CAAC,WAAW,KAAK,GAAG,GACxD;AAAA,MACA,4CAAC,uBAAK,YAAW,UAAS,gBAAe,UACvC,sDAAC,gCAAgB,iBAAM,GACzB;AAAA,MACA,4CAAC,uBAAK,YAAW,UAAS,gBAAe,UACtC,kBACH;AAAA,OACF;AAAA,IAEF,CAAC,OAAO,MAAM;AAAA,EAChB;AACA,SACE,4CAAC,uCAAsB,YAAW,UAAS,gBAAe,UACvD,uBACH;AAEJ;AAEA,eAAe,cAAc;AAC7B,MAAM,+BAA2B,kCAAS,cAAc;AACxD,yBAAyB,YAAY;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -21,7 +21,6 @@ const ChatEmptyState = (props) => {
|
|
|
21
21
|
);
|
|
22
22
|
return /* @__PURE__ */ jsx(ChatEmptyStateWrapper, { alignItems: "center", justifyContent: "center", children: MainContent });
|
|
23
23
|
};
|
|
24
|
-
ChatEmptyState.propTypes = emptyStateProps;
|
|
25
24
|
ChatEmptyState.displayName = DSChatEmptyStateName;
|
|
26
25
|
const ChatEmptyStateWithSchema = describe(ChatEmptyState);
|
|
27
26
|
ChatEmptyStateWithSchema.propTypes = emptyStateProps;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../scripts/build/transpile/react-shim.js", "../../src/ChatEmptyState.tsx"],
|
|
4
|
-
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import type { WeakValidationMap } from 'react';\nimport React, { useMemo } from 'react';\nimport { describe, useValidateTypescriptPropTypes, useMemoMergePropsWithDefault } from '@elliemae/ds-props-helpers';\nimport { Grid } from '@elliemae/ds-grid';\nimport { Communications } from '@elliemae/ds-icons';\nimport type { DSChatEmptyStateT } from './react-desc-prop-types.js';\nimport { emptyStateProps, defaultProps } from './react-desc-prop-types.js';\nimport { ChatEmptyStateWrapper, MessageWrapper } from './styled.js';\nimport { DSChatEmptyStateName } from './DSChatEmptyStateDefinitions.js';\n\nconst ChatEmptyState: React.ComponentType<DSChatEmptyStateT.Props> = (props) => {\n const propsWithDefault = useMemoMergePropsWithDefault<DSChatEmptyStateT.InternalProps>(props, defaultProps);\n useValidateTypescriptPropTypes(propsWithDefault, emptyStateProps, DSChatEmptyStateName);\n\n const { label, action } = propsWithDefault;\n const MainContent = useMemo(\n () => (\n <Grid alignItems=\"center\" justifyContent=\"center\">\n <Grid alignItems=\"center\" justifyContent=\"center\">\n <Communications size=\"xxl\" color={['neutral', '400']} />\n </Grid>\n <Grid alignItems=\"center\" justifyContent=\"center\">\n <MessageWrapper>{label}</MessageWrapper>\n </Grid>\n <Grid alignItems=\"center\" justifyContent=\"center\">\n {action}\n </Grid>\n </Grid>\n ),\n [label, action],\n );\n return (\n <ChatEmptyStateWrapper alignItems=\"center\" justifyContent=\"center\">\n {MainContent}\n </ChatEmptyStateWrapper>\n );\n};\n\nChatEmptyState.
|
|
5
|
-
"mappings": "AAAA,YAAY,WAAW;ACiBjB,SAEI,KAFJ;AAhBN,SAAgB,eAAe;AAC/B,SAAS,UAAU,gCAAgC,oCAAoC;AACvF,SAAS,YAAY;AACrB,SAAS,sBAAsB;AAE/B,SAAS,iBAAiB,oBAAoB;AAC9C,SAAS,uBAAuB,sBAAsB;AACtD,SAAS,4BAA4B;AAErC,MAAM,iBAA+D,CAAC,UAAU;AAC9E,QAAM,mBAAmB,6BAA8D,OAAO,YAAY;AAC1G,iCAA+B,kBAAkB,iBAAiB,oBAAoB;AAEtF,QAAM,EAAE,OAAO,OAAO,IAAI;AAC1B,QAAM,cAAc;AAAA,IAClB,MACE,qBAAC,QAAK,YAAW,UAAS,gBAAe,UACvC;AAAA,0BAAC,QAAK,YAAW,UAAS,gBAAe,UACvC,8BAAC,kBAAe,MAAK,OAAM,OAAO,CAAC,WAAW,KAAK,GAAG,GACxD;AAAA,MACA,oBAAC,QAAK,YAAW,UAAS,gBAAe,UACvC,8BAAC,kBAAgB,iBAAM,GACzB;AAAA,MACA,oBAAC,QAAK,YAAW,UAAS,gBAAe,UACtC,kBACH;AAAA,OACF;AAAA,IAEF,CAAC,OAAO,MAAM;AAAA,EAChB;AACA,SACE,oBAAC,yBAAsB,YAAW,UAAS,gBAAe,UACvD,uBACH;AAEJ;AAEA,eAAe,
|
|
4
|
+
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import type { WeakValidationMap } from 'react';\nimport React, { useMemo } from 'react';\nimport { describe, useValidateTypescriptPropTypes, useMemoMergePropsWithDefault } from '@elliemae/ds-props-helpers';\nimport { Grid } from '@elliemae/ds-grid';\nimport { Communications } from '@elliemae/ds-icons';\nimport type { DSChatEmptyStateT } from './react-desc-prop-types.js';\nimport { emptyStateProps, defaultProps } from './react-desc-prop-types.js';\nimport { ChatEmptyStateWrapper, MessageWrapper } from './styled.js';\nimport { DSChatEmptyStateName } from './DSChatEmptyStateDefinitions.js';\n\nconst ChatEmptyState: React.ComponentType<DSChatEmptyStateT.Props> = (props) => {\n const propsWithDefault = useMemoMergePropsWithDefault<DSChatEmptyStateT.InternalProps>(props, defaultProps);\n useValidateTypescriptPropTypes(propsWithDefault, emptyStateProps, DSChatEmptyStateName);\n\n const { label, action } = propsWithDefault;\n const MainContent = useMemo(\n () => (\n <Grid alignItems=\"center\" justifyContent=\"center\">\n <Grid alignItems=\"center\" justifyContent=\"center\">\n <Communications size=\"xxl\" color={['neutral', '400']} />\n </Grid>\n <Grid alignItems=\"center\" justifyContent=\"center\">\n <MessageWrapper>{label}</MessageWrapper>\n </Grid>\n <Grid alignItems=\"center\" justifyContent=\"center\">\n {action}\n </Grid>\n </Grid>\n ),\n [label, action],\n );\n return (\n <ChatEmptyStateWrapper alignItems=\"center\" justifyContent=\"center\">\n {MainContent}\n </ChatEmptyStateWrapper>\n );\n};\n\nChatEmptyState.displayName = DSChatEmptyStateName;\nconst ChatEmptyStateWithSchema = describe(ChatEmptyState);\nChatEmptyStateWithSchema.propTypes = emptyStateProps as WeakValidationMap<unknown>;\n\nexport { ChatEmptyState, ChatEmptyStateWithSchema };\n"],
|
|
5
|
+
"mappings": "AAAA,YAAY,WAAW;ACiBjB,SAEI,KAFJ;AAhBN,SAAgB,eAAe;AAC/B,SAAS,UAAU,gCAAgC,oCAAoC;AACvF,SAAS,YAAY;AACrB,SAAS,sBAAsB;AAE/B,SAAS,iBAAiB,oBAAoB;AAC9C,SAAS,uBAAuB,sBAAsB;AACtD,SAAS,4BAA4B;AAErC,MAAM,iBAA+D,CAAC,UAAU;AAC9E,QAAM,mBAAmB,6BAA8D,OAAO,YAAY;AAC1G,iCAA+B,kBAAkB,iBAAiB,oBAAoB;AAEtF,QAAM,EAAE,OAAO,OAAO,IAAI;AAC1B,QAAM,cAAc;AAAA,IAClB,MACE,qBAAC,QAAK,YAAW,UAAS,gBAAe,UACvC;AAAA,0BAAC,QAAK,YAAW,UAAS,gBAAe,UACvC,8BAAC,kBAAe,MAAK,OAAM,OAAO,CAAC,WAAW,KAAK,GAAG,GACxD;AAAA,MACA,oBAAC,QAAK,YAAW,UAAS,gBAAe,UACvC,8BAAC,kBAAgB,iBAAM,GACzB;AAAA,MACA,oBAAC,QAAK,YAAW,UAAS,gBAAe,UACtC,kBACH;AAAA,OACF;AAAA,IAEF,CAAC,OAAO,MAAM;AAAA,EAChB;AACA,SACE,oBAAC,yBAAsB,YAAW,UAAS,gBAAe,UACvD,uBACH;AAEJ;AAEA,eAAe,cAAc;AAC7B,MAAM,2BAA2B,SAAS,cAAc;AACxD,yBAAyB,YAAY;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/ds-chat-empty-state",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.36.0-next.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "ICE MT - Dimsum - Chat Empty State",
|
|
6
6
|
"files": [
|
|
@@ -48,15 +48,15 @@
|
|
|
48
48
|
"typeSafety": true
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@elliemae/ds-grid": "3.
|
|
52
|
-
"@elliemae/ds-
|
|
53
|
-
"@elliemae/ds-
|
|
54
|
-
"@elliemae/ds-
|
|
51
|
+
"@elliemae/ds-grid": "3.36.0-next.1",
|
|
52
|
+
"@elliemae/ds-icons": "3.36.0-next.1",
|
|
53
|
+
"@elliemae/ds-props-helpers": "3.36.0-next.1",
|
|
54
|
+
"@elliemae/ds-system": "3.36.0-next.1"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
57
|
"@elliemae/pui-cli": "~9.0.0-next.31",
|
|
58
58
|
"styled-components": "~5.3.9",
|
|
59
|
-
"@elliemae/ds-monorepo-devops": "3.
|
|
59
|
+
"@elliemae/ds-monorepo-devops": "3.36.0-next.1"
|
|
60
60
|
},
|
|
61
61
|
"peerDependencies": {
|
|
62
62
|
"lodash": "^4.17.21",
|