@elliemae/ds-chat-empty-state 3.16.0 → 3.16.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.
@@ -18,6 +18,10 @@ var __copyProps = (to, from, except, desc) => {
18
18
  return to;
19
19
  };
20
20
  var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
+ // If the importer is in node compatibility mode or this is not an ESM
22
+ // file that has been converted to a CommonJS file using a Babel-
23
+ // compatible transform (i.e. "__esModule" has not been set), then set
24
+ // "default" to the CommonJS "module.exports" for node compatibility.
21
25
  isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
22
26
  mod
23
27
  ));
@@ -34,9 +38,9 @@ var import_react = require("react");
34
38
  var import_ds_props_helpers = require("@elliemae/ds-props-helpers");
35
39
  var import_ds_grid = require("@elliemae/ds-grid");
36
40
  var import_ds_icons = require("@elliemae/ds-icons");
37
- var import_react_desc_prop_types = require("./react-desc-prop-types");
38
- var import_styled = require("./styled");
39
- var import_DSChatEmptyStateDefinitions = require("./DSChatEmptyStateDefinitions");
41
+ var import_react_desc_prop_types = require("./react-desc-prop-types.js");
42
+ var import_styled = require("./styled.js");
43
+ var import_DSChatEmptyStateDefinitions = require("./DSChatEmptyStateDefinitions.js");
40
44
  const ChatEmptyState = (props) => {
41
45
  const propsWithDefault = (0, import_ds_props_helpers.useMemoMergePropsWithDefault)(props, import_react_desc_prop_types.defaultProps);
42
46
  (0, import_ds_props_helpers.useValidateTypescriptPropTypes)(propsWithDefault, import_react_desc_prop_types.emptyStateProps, import_DSChatEmptyStateDefinitions.DSChatEmptyStateName);
@@ -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';\nimport { emptyStateProps, defaultProps } from './react-desc-prop-types';\nimport { ChatEmptyStateWrapper, MessageWrapper } from './styled';\nimport { DSChatEmptyStateName } from './DSChatEmptyStateDefinitions';\n\nconst ChatEmptyState: React.ComponentType<DSChatEmptyStateT.Props> = (props) => {\n const propsWithDefault = useMemoMergePropsWithDefault<DSChatEmptyStateT.Props>(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.propTypes = emptyStateProps as WeakValidationMap<unknown>;\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,sDAAsD,OAAO,yCAAY;AAClG,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,YAAY;AAC3B,eAAe,cAAc;AAC7B,MAAM,+BAA2B,kCAAS,cAAc;AACxD,yBAAyB,YAAY;",
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.Props>(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.propTypes = emptyStateProps as WeakValidationMap<unknown>;\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,sDAAsD,OAAO,yCAAY;AAClG,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,YAAY;AAC3B,eAAe,cAAc;AAC7B,MAAM,+BAA2B,kCAAS,cAAc;AACxD,yBAAyB,YAAY;",
6
6
  "names": []
7
7
  }
@@ -18,6 +18,10 @@ var __copyProps = (to, from, except, desc) => {
18
18
  return to;
19
19
  };
20
20
  var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
+ // If the importer is in node compatibility mode or this is not an ESM
22
+ // file that has been converted to a CommonJS file using a Babel-
23
+ // compatible transform (i.e. "__esModule" has not been set), then set
24
+ // "default" to the CommonJS "module.exports" for node compatibility.
21
25
  isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
22
26
  mod
23
27
  ));
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["../../src/DSChatEmptyStateDefinitions.tsx", "../../../../scripts/build/transpile/react-shim.js"],
4
4
  "sourcesContent": ["export const DSChatEmptyStateName = 'DSChatEmptyState';\n", "import * as React from 'react';\nexport { React };\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAhB,MAAM,uBAAuB;",
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAhB,MAAM,uBAAuB;",
6
6
  "names": []
7
7
  }
package/dist/cjs/index.js CHANGED
@@ -18,6 +18,10 @@ var __copyProps = (to, from, except, desc) => {
18
18
  return to;
19
19
  };
20
20
  var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
+ // If the importer is in node compatibility mode or this is not an ESM
22
+ // file that has been converted to a CommonJS file using a Babel-
23
+ // compatible transform (i.e. "__esModule" has not been set), then set
24
+ // "default" to the CommonJS "module.exports" for node compatibility.
21
25
  isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
22
26
  mod
23
27
  ));
@@ -29,5 +33,5 @@ __export(src_exports, {
29
33
  });
30
34
  module.exports = __toCommonJS(src_exports);
31
35
  var React = __toESM(require("react"));
32
- var import_ChatEmptyState = require("./ChatEmptyState");
36
+ var import_ChatEmptyState = require("./ChatEmptyState.js");
33
37
  //# sourceMappingURL=index.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/index.tsx", "../../../../scripts/build/transpile/react-shim.js"],
4
- "sourcesContent": ["import type {} from '@elliemae/ds-props-helpers';\nexport { ChatEmptyState, ChatEmptyStateWithSchema } from './ChatEmptyState';\n", "import * as React from 'react';\nexport { React };\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADCvB,4BAAyD;",
4
+ "sourcesContent": ["import type {} from '@elliemae/ds-props-helpers';\nexport { ChatEmptyState, ChatEmptyStateWithSchema } from './ChatEmptyState.js';\n", "import * as React from 'react';\nexport { React };\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADCvB,4BAAyD;",
6
6
  "names": []
7
7
  }
@@ -0,0 +1,4 @@
1
+ {
2
+ "type": "commonjs",
3
+ "sideEffects": false
4
+ }
@@ -18,6 +18,10 @@ var __copyProps = (to, from, except, desc) => {
18
18
  return to;
19
19
  };
20
20
  var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
+ // If the importer is in node compatibility mode or this is not an ESM
22
+ // file that has been converted to a CommonJS file using a Babel-
23
+ // compatible transform (i.e. "__esModule" has not been set), then set
24
+ // "default" to the CommonJS "module.exports" for node compatibility.
21
25
  isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
22
26
  mod
23
27
  ));
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["../../src/react-desc-prop-types.tsx", "../../../../scripts/build/transpile/react-shim.js"],
4
4
  "sourcesContent": ["import { PropTypes } from '@elliemae/ds-props-helpers';\n\nexport declare namespace DSChatEmptyStateT {\n export interface DefaultProps {\n label: string;\n }\n\n export interface OptionalProps {\n action: JSX.Element;\n }\n\n export interface Props extends DefaultProps, OptionalProps {}\n}\n\nexport const defaultProps: DSChatEmptyStateT.DefaultProps = {\n label: 'No Messages Yet',\n};\n\nexport const emptyStateProps = {\n label: PropTypes.string.description('No Message to show text helper').defaultValue(defaultProps.label),\n action: PropTypes.node.description('action element'),\n};\n", "import * as React from 'react';\nexport { React };\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,8BAA0B;AAcnB,MAAM,eAA+C;AAAA,EAC1D,OAAO;AACT;AAEO,MAAM,kBAAkB;AAAA,EAC7B,OAAO,kCAAU,OAAO,YAAY,gCAAgC,EAAE,aAAa,aAAa,KAAK;AAAA,EACrG,QAAQ,kCAAU,KAAK,YAAY,gBAAgB;AACrD;",
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,8BAA0B;AAcnB,MAAM,eAA+C;AAAA,EAC1D,OAAO;AACT;AAEO,MAAM,kBAAkB;AAAA,EAC7B,OAAO,kCAAU,OAAO,YAAY,gCAAgC,EAAE,aAAa,aAAa,KAAK;AAAA,EACrG,QAAQ,kCAAU,KAAK,YAAY,gBAAgB;AACrD;",
6
6
  "names": []
7
7
  }
@@ -18,6 +18,10 @@ var __copyProps = (to, from, except, desc) => {
18
18
  return to;
19
19
  };
20
20
  var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
+ // If the importer is in node compatibility mode or this is not an ESM
22
+ // file that has been converted to a CommonJS file using a Babel-
23
+ // compatible transform (i.e. "__esModule" has not been set), then set
24
+ // "default" to the CommonJS "module.exports" for node compatibility.
21
25
  isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
22
26
  mod
23
27
  ));
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["../../src/styled.tsx", "../../../../scripts/build/transpile/react-shim.js"],
4
4
  "sourcesContent": ["import { styled } from '@elliemae/ds-system';\nimport { Grid } from '@elliemae/ds-grid';\n\nexport const CONTAINER_WIDTH = 300;\n\nexport const ChatEmptyStateWrapper = styled(Grid)`\n height: 100%;\n overflow: hidden;\n`;\n\nexport const MessageWrapper = styled.p`\n font-size: 18px;\n margin-bottom: 0px;\n`;\n", "import * as React from 'react';\nexport { React };\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,uBAAuB;AACvB,qBAAqB;AAEd,MAAM,kBAAkB;AAExB,MAAM,4BAAwB,yBAAO,mBAAI;AAAA;AAAA;AAAA;AAKzC,MAAM,iBAAiB,wBAAO;AAAA;AAAA;AAAA;",
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,uBAAuB;AACvB,qBAAqB;AAEd,MAAM,kBAAkB;AAExB,MAAM,4BAAwB,yBAAO,mBAAI;AAAA;AAAA;AAAA;AAKzC,MAAM,iBAAiB,wBAAO;AAAA;AAAA;AAAA;",
6
6
  "names": []
7
7
  }
@@ -4,9 +4,9 @@ import { useMemo } from "react";
4
4
  import { describe, useValidateTypescriptPropTypes, useMemoMergePropsWithDefault } from "@elliemae/ds-props-helpers";
5
5
  import { Grid } from "@elliemae/ds-grid";
6
6
  import { Communications } from "@elliemae/ds-icons";
7
- import { emptyStateProps, defaultProps } from "./react-desc-prop-types";
8
- import { ChatEmptyStateWrapper, MessageWrapper } from "./styled";
9
- import { DSChatEmptyStateName } from "./DSChatEmptyStateDefinitions";
7
+ import { emptyStateProps, defaultProps } from "./react-desc-prop-types.js";
8
+ import { ChatEmptyStateWrapper, MessageWrapper } from "./styled.js";
9
+ import { DSChatEmptyStateName } from "./DSChatEmptyStateDefinitions.js";
10
10
  const ChatEmptyState = (props) => {
11
11
  const propsWithDefault = useMemoMergePropsWithDefault(props, defaultProps);
12
12
  useValidateTypescriptPropTypes(propsWithDefault, emptyStateProps, DSChatEmptyStateName);
@@ -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';\nimport { emptyStateProps, defaultProps } from './react-desc-prop-types';\nimport { ChatEmptyStateWrapper, MessageWrapper } from './styled';\nimport { DSChatEmptyStateName } from './DSChatEmptyStateDefinitions';\n\nconst ChatEmptyState: React.ComponentType<DSChatEmptyStateT.Props> = (props) => {\n const propsWithDefault = useMemoMergePropsWithDefault<DSChatEmptyStateT.Props>(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.propTypes = emptyStateProps as WeakValidationMap<unknown>;\nChatEmptyState.displayName = DSChatEmptyStateName;\nconst ChatEmptyStateWithSchema = describe(ChatEmptyState);\nChatEmptyStateWithSchema.propTypes = emptyStateProps as WeakValidationMap<unknown>;\n\nexport { ChatEmptyState, ChatEmptyStateWithSchema };\n"],
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.Props>(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.propTypes = emptyStateProps as WeakValidationMap<unknown>;\nChatEmptyState.displayName = DSChatEmptyStateName;\nconst ChatEmptyStateWithSchema = describe(ChatEmptyState);\nChatEmptyStateWithSchema.propTypes = emptyStateProps as WeakValidationMap<unknown>;\n\nexport { ChatEmptyState, ChatEmptyStateWithSchema };\n"],
5
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,6BAAsD,OAAO,YAAY;AAClG,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,YAAY;AAC3B,eAAe,cAAc;AAC7B,MAAM,2BAA2B,SAAS,cAAc;AACxD,yBAAyB,YAAY;",
6
6
  "names": []
7
7
  }
package/dist/esm/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as React from "react";
2
- import { ChatEmptyState, ChatEmptyStateWithSchema } from "./ChatEmptyState";
2
+ import { ChatEmptyState, ChatEmptyStateWithSchema } from "./ChatEmptyState.js";
3
3
  export {
4
4
  ChatEmptyState,
5
5
  ChatEmptyStateWithSchema
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../scripts/build/transpile/react-shim.js", "../../src/index.tsx"],
4
- "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import type {} from '@elliemae/ds-props-helpers';\nexport { ChatEmptyState, ChatEmptyStateWithSchema } from './ChatEmptyState';\n"],
4
+ "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import type {} from '@elliemae/ds-props-helpers';\nexport { ChatEmptyState, ChatEmptyStateWithSchema } from './ChatEmptyState.js';\n"],
5
5
  "mappings": "AAAA,YAAY,WAAW;ACCvB,SAAS,gBAAgB,gCAAgC;",
6
6
  "names": []
7
7
  }
@@ -0,0 +1,4 @@
1
+ {
2
+ "type": "module",
3
+ "sideEffects": false
4
+ }
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import type { DSChatEmptyStateT } from './react-desc-prop-types';
2
+ import type { DSChatEmptyStateT } from './react-desc-prop-types.js';
3
3
  declare const ChatEmptyState: React.ComponentType<DSChatEmptyStateT.Props>;
4
- declare const ChatEmptyStateWithSchema: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").DocumentedReactComponent<DSChatEmptyStateT.Props>;
4
+ declare const ChatEmptyStateWithSchema: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").DocumentedReactComponent<DSChatEmptyStateT.Props>;
5
5
  export { ChatEmptyState, ChatEmptyStateWithSchema };
@@ -1 +1 @@
1
- export { ChatEmptyState, ChatEmptyStateWithSchema } from './ChatEmptyState';
1
+ export { ChatEmptyState, ChatEmptyStateWithSchema } from './ChatEmptyState.js';
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare namespace DSChatEmptyStateT {
2
3
  interface DefaultProps {
3
4
  label: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elliemae/ds-chat-empty-state",
3
- "version": "3.16.0",
3
+ "version": "3.16.1",
4
4
  "license": "MIT",
5
5
  "description": "ICE MT - Dimsum - Chat Empty State",
6
6
  "files": [
@@ -47,14 +47,14 @@
47
47
  "typeSafety": true
48
48
  },
49
49
  "dependencies": {
50
- "@elliemae/ds-grid": "3.16.0",
51
- "@elliemae/ds-icons": "3.16.0",
52
- "@elliemae/ds-props-helpers": "3.16.0",
53
- "@elliemae/ds-system": "3.16.0",
54
- "@elliemae/ds-utilities": "3.16.0"
50
+ "@elliemae/ds-grid": "3.16.1",
51
+ "@elliemae/ds-icons": "3.16.1",
52
+ "@elliemae/ds-props-helpers": "3.16.1",
53
+ "@elliemae/ds-system": "3.16.1",
54
+ "@elliemae/ds-utilities": "3.16.1"
55
55
  },
56
56
  "devDependencies": {
57
- "styled-components": "~5.3.6"
57
+ "styled-components": "~5.3.9"
58
58
  },
59
59
  "peerDependencies": {
60
60
  "lodash": "^4.17.21",