@elliemae/ds-chat-message-delimeter 3.7.0-rc.0 → 3.7.0-rc.3

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.
@@ -32,7 +32,7 @@ var React = __toESM(require("react"));
32
32
  var import_ds_utilities = require("@elliemae/ds-utilities");
33
33
  const defaultProps = {
34
34
  size: "s",
35
- verticalMargin: "0px"
35
+ verticalMargin: 0
36
36
  };
37
37
  const messageDelimiterProps = {
38
38
  ...import_ds_utilities.globalAttributesPropTypes,
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/react-desc-prop-types.tsx", "../../../../scripts/build/transpile/react-shim.js"],
4
- "sourcesContent": ["import { PropTypes, globalAttributesPropTypes } from '@elliemae/ds-utilities';\n\nexport declare namespace DSChatMessageDelimeterT {\n export interface RequiredProps {\n title: string;\n }\n\n export interface DefaultProps {\n size: 's' | 'l';\n verticalMargin: number | string;\n }\n\n export interface Props extends DefaultProps, RequiredProps {}\n}\n\nexport const defaultProps: DSChatMessageDelimeterT.DefaultProps = {\n size: 's',\n verticalMargin: '0px',\n};\n\nexport const messageDelimiterProps = {\n ...globalAttributesPropTypes,\n title: PropTypes.string.isRequired.description('Text to display in the delimiter'),\n size: PropTypes.oneOf(['s', 'l']).description('size of the delimiter').defaultValue('s'),\n verticalMargin: PropTypes.oneOfType([PropTypes.string, PropTypes.number]).description(\n 'Configurable css vertical margin property for flexibilty',\n ),\n};\n", "import * as React from 'react';\nexport { React };\n"],
4
+ "sourcesContent": ["import { PropTypes, globalAttributesPropTypes } from '@elliemae/ds-utilities';\n\nexport declare namespace DSChatMessageDelimeterT {\n export interface RequiredProps {\n title: string;\n }\n\n export interface DefaultProps {\n size: 's' | 'l';\n verticalMargin: number | string | undefined;\n }\n\n export interface Props extends DefaultProps, RequiredProps {}\n}\n\nexport const defaultProps: DSChatMessageDelimeterT.DefaultProps = {\n size: 's',\n verticalMargin: 0,\n};\n\nexport const messageDelimiterProps = {\n ...globalAttributesPropTypes,\n title: PropTypes.string.isRequired.description('Text to display in the delimiter'),\n size: PropTypes.oneOf(['s', 'l']).description('size of the delimiter').defaultValue('s'),\n verticalMargin: PropTypes.oneOfType([PropTypes.string, PropTypes.number]).description(\n 'Configurable css vertical margin property for flexibilty',\n ),\n};\n", "import * as React from 'react';\nexport { React };\n"],
5
5
  "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,0BAAqD;AAe9C,MAAM,eAAqD;AAAA,EAChE,MAAM;AAAA,EACN,gBAAgB;AAClB;AAEO,MAAM,wBAAwB;AAAA,EACnC,GAAG;AAAA,EACH,OAAO,8BAAU,OAAO,WAAW,YAAY,kCAAkC;AAAA,EACjF,MAAM,8BAAU,MAAM,CAAC,KAAK,GAAG,CAAC,EAAE,YAAY,uBAAuB,EAAE,aAAa,GAAG;AAAA,EACvF,gBAAgB,8BAAU,UAAU,CAAC,8BAAU,QAAQ,8BAAU,MAAM,CAAC,EAAE;AAAA,IACxE;AAAA,EACF;AACF;",
6
6
  "names": []
7
7
  }
@@ -45,6 +45,6 @@ const Text = import_ds_system.styled.p`
45
45
  color: ${(props) => props.theme.colors.neutral["600"]};
46
46
  font-size: ${(props) => props.size === "s" ? "12px" : "14px"};
47
47
  font-weight: ${(props) => props.theme.fontWeights.semibold};
48
- ${({ verticalMargin }) => verticalMargin !== void 0 && `margin: ${verticalMargin}px 8px`};
48
+ ${({ verticalMargin }) => `margin: ${verticalMargin}px 8px`};
49
49
  `;
50
50
  //# sourceMappingURL=styled.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/styled.tsx", "../../../../scripts/build/transpile/react-shim.js"],
4
- "sourcesContent": ["import { Grid } from '@elliemae/ds-grid';\nimport { styled } from '@elliemae/ds-system';\nimport { DSChatMessageDelimeterT } from './react-desc-prop-types';\n\nexport const Wrapper = styled(Grid)`\n align-items: center;\n justify-content: center;\n width: 100%;\n min-height: 8px;\n`;\n\nexport const Line = styled.span`\n border-top: 1px solid ${(props) => props.theme.colors.neutral['400']};\n`;\n\nexport const Text = styled.p<DSChatMessageDelimeterT.DefaultProps>`\n color: ${(props) => props.theme.colors.neutral['600']};\n font-size: ${(props) => (props.size === 's' ? '12px' : '14px')};\n font-weight: ${(props) => props.theme.fontWeights.semibold};\n ${({ verticalMargin }) => verticalMargin !== undefined && `margin: ${verticalMargin}px 8px`};\n`;\n", "import * as React from 'react';\nexport { React };\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,qBAAqB;AACrB,uBAAuB;AAGhB,MAAM,cAAU,yBAAO,mBAAI;AAAA;AAAA;AAAA;AAAA;AAAA;AAO3B,MAAM,OAAO,wBAAO;AAAA,0BACD,CAAC,UAAU,MAAM,MAAM,OAAO,QAAQ;AAAA;AAGzD,MAAM,OAAO,wBAAO;AAAA,WAChB,CAAC,UAAU,MAAM,MAAM,OAAO,QAAQ;AAAA,eAClC,CAAC,UAAW,MAAM,SAAS,MAAM,SAAS;AAAA,iBACxC,CAAC,UAAU,MAAM,MAAM,YAAY;AAAA,IAChD,CAAC,EAAE,eAAe,MAAM,mBAAmB,UAAa,WAAW;AAAA;",
4
+ "sourcesContent": ["import { Grid } from '@elliemae/ds-grid';\nimport { styled } from '@elliemae/ds-system';\nimport { DSChatMessageDelimeterT } from './react-desc-prop-types';\n\nexport const Wrapper = styled(Grid)`\n align-items: center;\n justify-content: center;\n width: 100%;\n min-height: 8px;\n`;\n\nexport const Line = styled.span`\n border-top: 1px solid ${(props) => props.theme.colors.neutral['400']};\n`;\n\nexport const Text = styled.p<DSChatMessageDelimeterT.DefaultProps>`\n color: ${(props) => props.theme.colors.neutral['600']};\n font-size: ${(props) => (props.size === 's' ? '12px' : '14px')};\n font-weight: ${(props) => props.theme.fontWeights.semibold};\n ${({ verticalMargin }) => `margin: ${verticalMargin}px 8px`};\n`;\n", "import * as React from 'react';\nexport { React };\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,qBAAqB;AACrB,uBAAuB;AAGhB,MAAM,cAAU,yBAAO,mBAAI;AAAA;AAAA;AAAA;AAAA;AAAA;AAO3B,MAAM,OAAO,wBAAO;AAAA,0BACD,CAAC,UAAU,MAAM,MAAM,OAAO,QAAQ;AAAA;AAGzD,MAAM,OAAO,wBAAO;AAAA,WAChB,CAAC,UAAU,MAAM,MAAM,OAAO,QAAQ;AAAA,eAClC,CAAC,UAAW,MAAM,SAAS,MAAM,SAAS;AAAA,iBACxC,CAAC,UAAU,MAAM,MAAM,YAAY;AAAA,IAChD,CAAC,EAAE,eAAe,MAAM,WAAW;AAAA;",
6
6
  "names": []
7
7
  }
@@ -2,7 +2,7 @@ import * as React from "react";
2
2
  import { PropTypes, globalAttributesPropTypes } from "@elliemae/ds-utilities";
3
3
  const defaultProps = {
4
4
  size: "s",
5
- verticalMargin: "0px"
5
+ verticalMargin: 0
6
6
  };
7
7
  const messageDelimiterProps = {
8
8
  ...globalAttributesPropTypes,
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../scripts/build/transpile/react-shim.js", "../../src/react-desc-prop-types.tsx"],
4
- "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import { PropTypes, globalAttributesPropTypes } from '@elliemae/ds-utilities';\n\nexport declare namespace DSChatMessageDelimeterT {\n export interface RequiredProps {\n title: string;\n }\n\n export interface DefaultProps {\n size: 's' | 'l';\n verticalMargin: number | string;\n }\n\n export interface Props extends DefaultProps, RequiredProps {}\n}\n\nexport const defaultProps: DSChatMessageDelimeterT.DefaultProps = {\n size: 's',\n verticalMargin: '0px',\n};\n\nexport const messageDelimiterProps = {\n ...globalAttributesPropTypes,\n title: PropTypes.string.isRequired.description('Text to display in the delimiter'),\n size: PropTypes.oneOf(['s', 'l']).description('size of the delimiter').defaultValue('s'),\n verticalMargin: PropTypes.oneOfType([PropTypes.string, PropTypes.number]).description(\n 'Configurable css vertical margin property for flexibilty',\n ),\n};\n"],
4
+ "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import { PropTypes, globalAttributesPropTypes } from '@elliemae/ds-utilities';\n\nexport declare namespace DSChatMessageDelimeterT {\n export interface RequiredProps {\n title: string;\n }\n\n export interface DefaultProps {\n size: 's' | 'l';\n verticalMargin: number | string | undefined;\n }\n\n export interface Props extends DefaultProps, RequiredProps {}\n}\n\nexport const defaultProps: DSChatMessageDelimeterT.DefaultProps = {\n size: 's',\n verticalMargin: 0,\n};\n\nexport const messageDelimiterProps = {\n ...globalAttributesPropTypes,\n title: PropTypes.string.isRequired.description('Text to display in the delimiter'),\n size: PropTypes.oneOf(['s', 'l']).description('size of the delimiter').defaultValue('s'),\n verticalMargin: PropTypes.oneOfType([PropTypes.string, PropTypes.number]).description(\n 'Configurable css vertical margin property for flexibilty',\n ),\n};\n"],
5
5
  "mappings": "AAAA,YAAY,WAAW;ACAvB,SAAS,WAAW,iCAAiC;AAe9C,MAAM,eAAqD;AAAA,EAChE,MAAM;AAAA,EACN,gBAAgB;AAClB;AAEO,MAAM,wBAAwB;AAAA,EACnC,GAAG;AAAA,EACH,OAAO,UAAU,OAAO,WAAW,YAAY,kCAAkC;AAAA,EACjF,MAAM,UAAU,MAAM,CAAC,KAAK,GAAG,CAAC,EAAE,YAAY,uBAAuB,EAAE,aAAa,GAAG;AAAA,EACvF,gBAAgB,UAAU,UAAU,CAAC,UAAU,QAAQ,UAAU,MAAM,CAAC,EAAE;AAAA,IACxE;AAAA,EACF;AACF;",
6
6
  "names": []
7
7
  }
@@ -14,7 +14,7 @@ const Text = styled.p`
14
14
  color: ${(props) => props.theme.colors.neutral["600"]};
15
15
  font-size: ${(props) => props.size === "s" ? "12px" : "14px"};
16
16
  font-weight: ${(props) => props.theme.fontWeights.semibold};
17
- ${({ verticalMargin }) => verticalMargin !== void 0 && `margin: ${verticalMargin}px 8px`};
17
+ ${({ verticalMargin }) => `margin: ${verticalMargin}px 8px`};
18
18
  `;
19
19
  export {
20
20
  Line,
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../scripts/build/transpile/react-shim.js", "../../src/styled.tsx"],
4
- "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import { Grid } from '@elliemae/ds-grid';\nimport { styled } from '@elliemae/ds-system';\nimport { DSChatMessageDelimeterT } from './react-desc-prop-types';\n\nexport const Wrapper = styled(Grid)`\n align-items: center;\n justify-content: center;\n width: 100%;\n min-height: 8px;\n`;\n\nexport const Line = styled.span`\n border-top: 1px solid ${(props) => props.theme.colors.neutral['400']};\n`;\n\nexport const Text = styled.p<DSChatMessageDelimeterT.DefaultProps>`\n color: ${(props) => props.theme.colors.neutral['600']};\n font-size: ${(props) => (props.size === 's' ? '12px' : '14px')};\n font-weight: ${(props) => props.theme.fontWeights.semibold};\n ${({ verticalMargin }) => verticalMargin !== undefined && `margin: ${verticalMargin}px 8px`};\n`;\n"],
5
- "mappings": "AAAA,YAAY,WAAW;ACAvB,SAAS,YAAY;AACrB,SAAS,cAAc;AAGhB,MAAM,UAAU,OAAO,IAAI;AAAA;AAAA;AAAA;AAAA;AAAA;AAO3B,MAAM,OAAO,OAAO;AAAA,0BACD,CAAC,UAAU,MAAM,MAAM,OAAO,QAAQ;AAAA;AAGzD,MAAM,OAAO,OAAO;AAAA,WAChB,CAAC,UAAU,MAAM,MAAM,OAAO,QAAQ;AAAA,eAClC,CAAC,UAAW,MAAM,SAAS,MAAM,SAAS;AAAA,iBACxC,CAAC,UAAU,MAAM,MAAM,YAAY;AAAA,IAChD,CAAC,EAAE,eAAe,MAAM,mBAAmB,UAAa,WAAW;AAAA;",
4
+ "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import { Grid } from '@elliemae/ds-grid';\nimport { styled } from '@elliemae/ds-system';\nimport { DSChatMessageDelimeterT } from './react-desc-prop-types';\n\nexport const Wrapper = styled(Grid)`\n align-items: center;\n justify-content: center;\n width: 100%;\n min-height: 8px;\n`;\n\nexport const Line = styled.span`\n border-top: 1px solid ${(props) => props.theme.colors.neutral['400']};\n`;\n\nexport const Text = styled.p<DSChatMessageDelimeterT.DefaultProps>`\n color: ${(props) => props.theme.colors.neutral['600']};\n font-size: ${(props) => (props.size === 's' ? '12px' : '14px')};\n font-weight: ${(props) => props.theme.fontWeights.semibold};\n ${({ verticalMargin }) => `margin: ${verticalMargin}px 8px`};\n`;\n"],
5
+ "mappings": "AAAA,YAAY,WAAW;ACAvB,SAAS,YAAY;AACrB,SAAS,cAAc;AAGhB,MAAM,UAAU,OAAO,IAAI;AAAA;AAAA;AAAA;AAAA;AAAA;AAO3B,MAAM,OAAO,OAAO;AAAA,0BACD,CAAC,UAAU,MAAM,MAAM,OAAO,QAAQ;AAAA;AAGzD,MAAM,OAAO,OAAO;AAAA,WAChB,CAAC,UAAU,MAAM,MAAM,OAAO,QAAQ;AAAA,eAClC,CAAC,UAAW,MAAM,SAAS,MAAM,SAAS;AAAA,iBACxC,CAAC,UAAU,MAAM,MAAM,YAAY;AAAA,IAChD,CAAC,EAAE,eAAe,MAAM,WAAW;AAAA;",
6
6
  "names": []
7
7
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elliemae/ds-chat-message-delimeter",
3
- "version": "3.7.0-rc.0",
3
+ "version": "3.7.0-rc.3",
4
4
  "license": "MIT",
5
5
  "description": "ICE MT - Dimsum - Chat Message Delimeter",
6
6
  "files": [
@@ -47,9 +47,9 @@
47
47
  "typeSafety": true
48
48
  },
49
49
  "dependencies": {
50
- "@elliemae/ds-grid": "3.7.0-rc.0",
51
- "@elliemae/ds-system": "3.7.0-rc.0",
52
- "@elliemae/ds-utilities": "3.7.0-rc.0"
50
+ "@elliemae/ds-grid": "3.7.0-rc.3",
51
+ "@elliemae/ds-system": "3.7.0-rc.3",
52
+ "@elliemae/ds-utilities": "3.7.0-rc.3"
53
53
  },
54
54
  "devDependencies": {
55
55
  "@testing-library/dom": "~8.13.0",