@elliemae/ds-chat-container-header 3.50.1-next.9 → 3.51.0-beta.2

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,5 +32,5 @@ __export(DSChatContainerHeaderDefinitions_exports, {
32
32
  });
33
33
  module.exports = __toCommonJS(DSChatContainerHeaderDefinitions_exports);
34
34
  var React = __toESM(require("react"));
35
- const DSChatContainerHeaderName = "DSChatContainerHeader";
35
+ const DSChatContainerHeaderName = "DSChatcontainerheader";
36
36
  //# sourceMappingURL=DSChatContainerHeaderDefinitions.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/DSChatContainerHeaderDefinitions.tsx", "../../../../../scripts/build/transpile/react-shim.js"],
4
- "sourcesContent": ["export const DSChatContainerHeaderName = 'DSChatContainerHeader';\n", "import * as React from 'react';\nexport { React };\n"],
4
+ "sourcesContent": ["export const DSChatContainerHeaderName = 'DSChatcontainerheader';\n", "import * as React from 'react';\nexport { React };\n"],
5
5
  "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAhB,MAAM,4BAA4B;",
6
6
  "names": []
7
7
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/styled.ts", "../../../../../scripts/build/transpile/react-shim.js"],
4
- "sourcesContent": ["import { styled } from '@elliemae/ds-system';\nimport { Grid, type DSGridT } from '@elliemae/ds-grid';\n\nexport const StyledChatContainerContentHeaderActions = styled(Grid)`\n max-width: 80px;\n`;\n/* eslint-disable @typescript-eslint/no-explicit-any */\nexport const StyledChatContainerContentHeader = styled(Grid)<DSGridT.Props>`\n width: 100%;\n min-height: 48px;\n border-bottom: 1px solid ${(props) => props.theme.colors.neutral['200']};\n background: ${(props) => props.theme.colors.neutral['050']};\n ${StyledChatContainerContentHeaderActions as any} {\n & button {\n background: transparent;\n }\n }\n`;\n/* eslint-enable @typescript-eslint/no-explicit-any */\n\nexport const StyledChatContainerContentHeaderLabel = styled(Grid)`\n justify-content: center;\n align-items: center;\n font-weight: 600;\n font-size: 18px;\n color: ${(props) => props.theme.colors.neutral['700']};\n line-height: 1.6;\n`;\n", "import * as React from 'react';\nexport { React };\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,uBAAuB;AACvB,qBAAmC;AAE5B,MAAM,8CAA0C,yBAAO,mBAAI;AAAA;AAAA;AAI3D,MAAM,uCAAmC,yBAAO,mBAAI;AAAA;AAAA;AAAA,6BAG9B,CAAC,UAAU,MAAM,MAAM,OAAO,QAAQ,KAAK,CAAC;AAAA,gBACzD,CAAC,UAAU,MAAM,MAAM,OAAO,QAAQ,KAAK,CAAC;AAAA,IACxD,uCAA8C;AAAA;AAAA;AAAA;AAAA;AAAA;AAQ3C,MAAM,4CAAwC,yBAAO,mBAAI;AAAA;AAAA;AAAA;AAAA;AAAA,WAKrD,CAAC,UAAU,MAAM,MAAM,OAAO,QAAQ,KAAK,CAAC;AAAA;AAAA;",
4
+ "sourcesContent": ["import { styled } from '@elliemae/ds-system';\nimport { Grid, type DSGridT } from '@elliemae/ds-grid';\n\nexport const StyledChatContainerContentHeaderActions = styled(Grid)`\n max-width: 80px;\n`;\n/* eslint-disable @typescript-eslint/no-explicit-any */\nexport const StyledChatContainerContentHeader = styled(Grid)<DSGridT.Props>`\n width: 100%;\n min-height: 48px;\n border-bottom: 1px solid ${(props) => props.theme.colors.neutral['200']};\n background: ${(props) => props.theme.colors.neutral['050']};\n ${StyledChatContainerContentHeaderActions} {\n & button {\n background: transparent;\n }\n }\n`;\n/* eslint-enable @typescript-eslint/no-explicit-any */\n\nexport const StyledChatContainerContentHeaderLabel = styled(Grid)`\n justify-content: center;\n align-items: center;\n font-weight: 600;\n font-size: 18px;\n color: ${(props) => props.theme.colors.neutral['700']};\n line-height: 1.6;\n`;\n", "import * as React from 'react';\nexport { React };\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,uBAAuB;AACvB,qBAAmC;AAE5B,MAAM,8CAA0C,yBAAO,mBAAI;AAAA;AAAA;AAI3D,MAAM,uCAAmC,yBAAO,mBAAI;AAAA;AAAA;AAAA,6BAG9B,CAAC,UAAU,MAAM,MAAM,OAAO,QAAQ,KAAK,CAAC;AAAA,gBACzD,CAAC,UAAU,MAAM,MAAM,OAAO,QAAQ,KAAK,CAAC;AAAA,IACxD,uCAAuC;AAAA;AAAA;AAAA;AAAA;AAAA;AAQpC,MAAM,4CAAwC,yBAAO,mBAAI;AAAA;AAAA;AAAA;AAAA;AAAA,WAKrD,CAAC,UAAU,MAAM,MAAM,OAAO,QAAQ,KAAK,CAAC;AAAA;AAAA;",
6
6
  "names": []
7
7
  }
@@ -24,12 +24,11 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
24
24
  var React = __toESM(require("react"));
25
25
  var import_jsx_runtime = require("react/jsx-runtime");
26
26
  var import__ = require("../index.js");
27
- const MockChildren = () => /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {});
28
27
  const testRequiredProps = {
29
28
  title: ""
30
29
  };
31
30
  const testOptionalProps = {
32
- children: MockChildren()
31
+ children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {})
33
32
  };
34
33
  const testProps = {
35
34
  ...testRequiredProps,
@@ -41,20 +40,20 @@ const testPropsAsSyntax = {
41
40
  };
42
41
  const testExplicitDefinition = {
43
42
  title: "",
44
- children: MockChildren()
43
+ children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {})
45
44
  };
46
45
  const testInferedTypeCompatibility = {
47
46
  title: "",
48
- children: MockChildren()
47
+ children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {})
49
48
  };
50
49
  const testDefinitionAsConst = {
51
50
  title: "",
52
- children: MockChildren()
51
+ children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {})
53
52
  };
54
53
  const ExampleUsageComponent = () => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [
55
54
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import__.ChatContainerHeader, { ...testExplicitDefinition }),
56
55
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import__.ChatContainerHeader, { ...testInferedTypeCompatibility }),
57
56
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import__.ChatContainerHeader, { ...testDefinitionAsConst }),
58
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import__.ChatContainerHeader, { title: "", children: MockChildren() })
57
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import__.ChatContainerHeader, { title: "", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {}) })
59
58
  ] });
60
59
  //# sourceMappingURL=typescript-chat-container-header-valid.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../../scripts/build/transpile/react-shim.js", "../../../src/typescript-testing/typescript-chat-container-header-valid.tsx"],
4
- "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "/* eslint-disable @typescript-eslint/no-unused-vars, no-unused-vars */\nimport { ChatContainerHeader } from '../index.js';\nimport type { DSChatContainerHeaderT } from '../index.js';\n\n// test we expose the namespace and the namespace follows our deliverable conventions\ntype ComponentPropsForApp = DSChatContainerHeaderT.Props;\ntype ComponentPropsOptionalProps = DSChatContainerHeaderT.OptionalProps;\ntype ComponentPropsRequiredProps = DSChatContainerHeaderT.RequiredProps;\n\nconst MockChildren = () => <div></div>;\n\nconst testRequiredProps: ComponentPropsRequiredProps = {\n title: '',\n};\n\nconst testOptionalProps: ComponentPropsOptionalProps = {\n children: MockChildren(),\n};\n\n// difference Props and InternalProps is that InternalProps has all the default props filled in\n// Props allows for partial defaults\n\nconst testProps: ComponentPropsForApp = {\n ...testRequiredProps,\n ...testOptionalProps,\n};\n\nconst testPropsAsSyntax = {\n ...testRequiredProps,\n ...testOptionalProps,\n} as ComponentPropsForApp;\n\n// using the explicit type definition, if there is an error, it will be marked on the key that is wrong\nconst testExplicitDefinition: ComponentPropsForApp = {\n title: '',\n children: MockChildren(),\n};\n\n// using the \"as\" syntax, if there is an error, it will be marking the whole object as wrong because it is not compatible with the type\nconst testInferedTypeCompatibility = {\n title: '',\n children: MockChildren(),\n} as ComponentPropsForApp;\n\nconst testDefinitionAsConst = {\n title: '',\n children: MockChildren(),\n} as const;\n\nconst ExampleUsageComponent = () => (\n <>\n {/* works with explicitly casted props, all syntaxes */}\n <ChatContainerHeader {...testExplicitDefinition} />\n <ChatContainerHeader {...testInferedTypeCompatibility} />\n <ChatContainerHeader {...testDefinitionAsConst} />\n {/* works with inline values */}\n <ChatContainerHeader title=\"\" children={MockChildren()} />\n </>\n);\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;AAAA,YAAuB;ACSI;AAR3B,eAAoC;AAQpC,MAAM,eAAe,MAAM,4CAAC,SAAI;AAEhC,MAAM,oBAAiD;AAAA,EACrD,OAAO;AACT;AAEA,MAAM,oBAAiD;AAAA,EACrD,UAAU,aAAa;AACzB;AAKA,MAAM,YAAkC;AAAA,EACtC,GAAG;AAAA,EACH,GAAG;AACL;AAEA,MAAM,oBAAoB;AAAA,EACxB,GAAG;AAAA,EACH,GAAG;AACL;AAGA,MAAM,yBAA+C;AAAA,EACnD,OAAO;AAAA,EACP,UAAU,aAAa;AACzB;AAGA,MAAM,+BAA+B;AAAA,EACnC,OAAO;AAAA,EACP,UAAU,aAAa;AACzB;AAEA,MAAM,wBAAwB;AAAA,EAC5B,OAAO;AAAA,EACP,UAAU,aAAa;AACzB;AAEA,MAAM,wBAAwB,MAC5B,4EAEE;AAAA,8CAAC,gCAAqB,GAAG,wBAAwB;AAAA,EACjD,4CAAC,gCAAqB,GAAG,8BAA8B;AAAA,EACvD,4CAAC,gCAAqB,GAAG,uBAAuB;AAAA,EAEhD,4CAAC,gCAAoB,OAAM,IAAG,UAAU,aAAa,GAAG;AAAA,GAC1D;",
4
+ "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "/* eslint-disable @typescript-eslint/no-unused-vars, no-unused-vars */\nimport type { DSChatContainerHeaderT } from '../index.js';\nimport { ChatContainerHeader } from '../index.js';\n\n// test we expose the namespace and the namespace follows our deliverable conventions\ntype ComponentPropsForApp = DSChatContainerHeaderT.Props;\ntype ComponentPropsOptionalProps = DSChatContainerHeaderT.OptionalProps;\ntype ComponentPropsRequiredProps = DSChatContainerHeaderT.RequiredProps;\n\nconst testRequiredProps: ComponentPropsRequiredProps = {\n title: '',\n};\n\nconst testOptionalProps: ComponentPropsOptionalProps = {\n children: <div></div>,\n};\n\n// difference Props and InternalProps is that InternalProps has all the default props filled in\n// Props allows for partial defaults\n\nconst testProps: ComponentPropsForApp = {\n ...testRequiredProps,\n ...testOptionalProps,\n};\n\nconst testPropsAsSyntax = {\n ...testRequiredProps,\n ...testOptionalProps,\n} as ComponentPropsForApp;\n\n// using the explicit type definition, if there is an error, it will be marked on the key that is wrong\nconst testExplicitDefinition: ComponentPropsForApp = {\n title: '',\n children: <div></div>,\n};\n\n// using the \"as\" syntax, if there is an error, it will be marking the whole object as wrong because it is not compatible with the type\nconst testInferedTypeCompatibility = {\n title: '',\n children: <div></div>,\n} as ComponentPropsForApp;\n\nconst testDefinitionAsConst = {\n title: '',\n children: <div></div>,\n} as const;\n\nconst ExampleUsageComponent = () => (\n <>\n {/* works with explicitly casted props, all syntaxes */}\n <ChatContainerHeader {...testExplicitDefinition} />\n <ChatContainerHeader {...testInferedTypeCompatibility} />\n <ChatContainerHeader {...testDefinitionAsConst} />\n {/* works with inline values */}\n <ChatContainerHeader title=\"\">\n <div></div>\n </ChatContainerHeader>\n </>\n);\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;AAAA,YAAuB;ACcX;AAZZ,eAAoC;AAOpC,MAAM,oBAAiD;AAAA,EACrD,OAAO;AACT;AAEA,MAAM,oBAAiD;AAAA,EACrD,UAAU,4CAAC,SAAI;AACjB;AAKA,MAAM,YAAkC;AAAA,EACtC,GAAG;AAAA,EACH,GAAG;AACL;AAEA,MAAM,oBAAoB;AAAA,EACxB,GAAG;AAAA,EACH,GAAG;AACL;AAGA,MAAM,yBAA+C;AAAA,EACnD,OAAO;AAAA,EACP,UAAU,4CAAC,SAAI;AACjB;AAGA,MAAM,+BAA+B;AAAA,EACnC,OAAO;AAAA,EACP,UAAU,4CAAC,SAAI;AACjB;AAEA,MAAM,wBAAwB;AAAA,EAC5B,OAAO;AAAA,EACP,UAAU,4CAAC,SAAI;AACjB;AAEA,MAAM,wBAAwB,MAC5B,4EAEE;AAAA,8CAAC,gCAAqB,GAAG,wBAAwB;AAAA,EACjD,4CAAC,gCAAqB,GAAG,8BAA8B;AAAA,EACvD,4CAAC,gCAAqB,GAAG,uBAAuB;AAAA,EAEhD,4CAAC,gCAAoB,OAAM,IACzB,sDAAC,SAAI,GACP;AAAA,GACF;",
6
6
  "names": []
7
7
  }
@@ -1,5 +1,5 @@
1
1
  import * as React from "react";
2
- const DSChatContainerHeaderName = "DSChatContainerHeader";
2
+ const DSChatContainerHeaderName = "DSChatcontainerheader";
3
3
  export {
4
4
  DSChatContainerHeaderName
5
5
  };
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../scripts/build/transpile/react-shim.js", "../../src/DSChatContainerHeaderDefinitions.tsx"],
4
- "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "export const DSChatContainerHeaderName = 'DSChatContainerHeader';\n"],
4
+ "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "export const DSChatContainerHeaderName = 'DSChatcontainerheader';\n"],
5
5
  "mappings": "AAAA,YAAY,WAAW;ACAhB,MAAM,4BAA4B;",
6
6
  "names": []
7
7
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../scripts/build/transpile/react-shim.js", "../../src/styled.ts"],
4
- "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import { styled } from '@elliemae/ds-system';\nimport { Grid, type DSGridT } from '@elliemae/ds-grid';\n\nexport const StyledChatContainerContentHeaderActions = styled(Grid)`\n max-width: 80px;\n`;\n/* eslint-disable @typescript-eslint/no-explicit-any */\nexport const StyledChatContainerContentHeader = styled(Grid)<DSGridT.Props>`\n width: 100%;\n min-height: 48px;\n border-bottom: 1px solid ${(props) => props.theme.colors.neutral['200']};\n background: ${(props) => props.theme.colors.neutral['050']};\n ${StyledChatContainerContentHeaderActions as any} {\n & button {\n background: transparent;\n }\n }\n`;\n/* eslint-enable @typescript-eslint/no-explicit-any */\n\nexport const StyledChatContainerContentHeaderLabel = styled(Grid)`\n justify-content: center;\n align-items: center;\n font-weight: 600;\n font-size: 18px;\n color: ${(props) => props.theme.colors.neutral['700']};\n line-height: 1.6;\n`;\n"],
5
- "mappings": "AAAA,YAAY,WAAW;ACAvB,SAAS,cAAc;AACvB,SAAS,YAA0B;AAE5B,MAAM,0CAA0C,OAAO,IAAI;AAAA;AAAA;AAI3D,MAAM,mCAAmC,OAAO,IAAI;AAAA;AAAA;AAAA,6BAG9B,CAAC,UAAU,MAAM,MAAM,OAAO,QAAQ,KAAK,CAAC;AAAA,gBACzD,CAAC,UAAU,MAAM,MAAM,OAAO,QAAQ,KAAK,CAAC;AAAA,IACxD,uCAA8C;AAAA;AAAA;AAAA;AAAA;AAAA;AAQ3C,MAAM,wCAAwC,OAAO,IAAI;AAAA;AAAA;AAAA;AAAA;AAAA,WAKrD,CAAC,UAAU,MAAM,MAAM,OAAO,QAAQ,KAAK,CAAC;AAAA;AAAA;",
4
+ "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import { styled } from '@elliemae/ds-system';\nimport { Grid, type DSGridT } from '@elliemae/ds-grid';\n\nexport const StyledChatContainerContentHeaderActions = styled(Grid)`\n max-width: 80px;\n`;\n/* eslint-disable @typescript-eslint/no-explicit-any */\nexport const StyledChatContainerContentHeader = styled(Grid)<DSGridT.Props>`\n width: 100%;\n min-height: 48px;\n border-bottom: 1px solid ${(props) => props.theme.colors.neutral['200']};\n background: ${(props) => props.theme.colors.neutral['050']};\n ${StyledChatContainerContentHeaderActions} {\n & button {\n background: transparent;\n }\n }\n`;\n/* eslint-enable @typescript-eslint/no-explicit-any */\n\nexport const StyledChatContainerContentHeaderLabel = styled(Grid)`\n justify-content: center;\n align-items: center;\n font-weight: 600;\n font-size: 18px;\n color: ${(props) => props.theme.colors.neutral['700']};\n line-height: 1.6;\n`;\n"],
5
+ "mappings": "AAAA,YAAY,WAAW;ACAvB,SAAS,cAAc;AACvB,SAAS,YAA0B;AAE5B,MAAM,0CAA0C,OAAO,IAAI;AAAA;AAAA;AAI3D,MAAM,mCAAmC,OAAO,IAAI;AAAA;AAAA;AAAA,6BAG9B,CAAC,UAAU,MAAM,MAAM,OAAO,QAAQ,KAAK,CAAC;AAAA,gBACzD,CAAC,UAAU,MAAM,MAAM,OAAO,QAAQ,KAAK,CAAC;AAAA,IACxD,uCAAuC;AAAA;AAAA;AAAA;AAAA;AAAA;AAQpC,MAAM,wCAAwC,OAAO,IAAI;AAAA;AAAA;AAAA;AAAA;AAAA,WAKrD,CAAC,UAAU,MAAM,MAAM,OAAO,QAAQ,KAAK,CAAC;AAAA;AAAA;",
6
6
  "names": []
7
7
  }
@@ -1,12 +1,11 @@
1
1
  import * as React from "react";
2
2
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
3
3
  import { ChatContainerHeader } from "../index.js";
4
- const MockChildren = () => /* @__PURE__ */ jsx("div", {});
5
4
  const testRequiredProps = {
6
5
  title: ""
7
6
  };
8
7
  const testOptionalProps = {
9
- children: MockChildren()
8
+ children: /* @__PURE__ */ jsx("div", {})
10
9
  };
11
10
  const testProps = {
12
11
  ...testRequiredProps,
@@ -18,20 +17,20 @@ const testPropsAsSyntax = {
18
17
  };
19
18
  const testExplicitDefinition = {
20
19
  title: "",
21
- children: MockChildren()
20
+ children: /* @__PURE__ */ jsx("div", {})
22
21
  };
23
22
  const testInferedTypeCompatibility = {
24
23
  title: "",
25
- children: MockChildren()
24
+ children: /* @__PURE__ */ jsx("div", {})
26
25
  };
27
26
  const testDefinitionAsConst = {
28
27
  title: "",
29
- children: MockChildren()
28
+ children: /* @__PURE__ */ jsx("div", {})
30
29
  };
31
30
  const ExampleUsageComponent = () => /* @__PURE__ */ jsxs(Fragment, { children: [
32
31
  /* @__PURE__ */ jsx(ChatContainerHeader, { ...testExplicitDefinition }),
33
32
  /* @__PURE__ */ jsx(ChatContainerHeader, { ...testInferedTypeCompatibility }),
34
33
  /* @__PURE__ */ jsx(ChatContainerHeader, { ...testDefinitionAsConst }),
35
- /* @__PURE__ */ jsx(ChatContainerHeader, { title: "", children: MockChildren() })
34
+ /* @__PURE__ */ jsx(ChatContainerHeader, { title: "", children: /* @__PURE__ */ jsx("div", {}) })
36
35
  ] });
37
36
  //# sourceMappingURL=typescript-chat-container-header-valid.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../../scripts/build/transpile/react-shim.js", "../../../src/typescript-testing/typescript-chat-container-header-valid.tsx"],
4
- "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "/* eslint-disable @typescript-eslint/no-unused-vars, no-unused-vars */\nimport { ChatContainerHeader } from '../index.js';\nimport type { DSChatContainerHeaderT } from '../index.js';\n\n// test we expose the namespace and the namespace follows our deliverable conventions\ntype ComponentPropsForApp = DSChatContainerHeaderT.Props;\ntype ComponentPropsOptionalProps = DSChatContainerHeaderT.OptionalProps;\ntype ComponentPropsRequiredProps = DSChatContainerHeaderT.RequiredProps;\n\nconst MockChildren = () => <div></div>;\n\nconst testRequiredProps: ComponentPropsRequiredProps = {\n title: '',\n};\n\nconst testOptionalProps: ComponentPropsOptionalProps = {\n children: MockChildren(),\n};\n\n// difference Props and InternalProps is that InternalProps has all the default props filled in\n// Props allows for partial defaults\n\nconst testProps: ComponentPropsForApp = {\n ...testRequiredProps,\n ...testOptionalProps,\n};\n\nconst testPropsAsSyntax = {\n ...testRequiredProps,\n ...testOptionalProps,\n} as ComponentPropsForApp;\n\n// using the explicit type definition, if there is an error, it will be marked on the key that is wrong\nconst testExplicitDefinition: ComponentPropsForApp = {\n title: '',\n children: MockChildren(),\n};\n\n// using the \"as\" syntax, if there is an error, it will be marking the whole object as wrong because it is not compatible with the type\nconst testInferedTypeCompatibility = {\n title: '',\n children: MockChildren(),\n} as ComponentPropsForApp;\n\nconst testDefinitionAsConst = {\n title: '',\n children: MockChildren(),\n} as const;\n\nconst ExampleUsageComponent = () => (\n <>\n {/* works with explicitly casted props, all syntaxes */}\n <ChatContainerHeader {...testExplicitDefinition} />\n <ChatContainerHeader {...testInferedTypeCompatibility} />\n <ChatContainerHeader {...testDefinitionAsConst} />\n {/* works with inline values */}\n <ChatContainerHeader title=\"\" children={MockChildren()} />\n </>\n);\n"],
5
- "mappings": "AAAA,YAAY,WAAW;ACSI,SAyCzB,UAzCyB,KAyCzB,YAzCyB;AAR3B,SAAS,2BAA2B;AAQpC,MAAM,eAAe,MAAM,oBAAC,SAAI;AAEhC,MAAM,oBAAiD;AAAA,EACrD,OAAO;AACT;AAEA,MAAM,oBAAiD;AAAA,EACrD,UAAU,aAAa;AACzB;AAKA,MAAM,YAAkC;AAAA,EACtC,GAAG;AAAA,EACH,GAAG;AACL;AAEA,MAAM,oBAAoB;AAAA,EACxB,GAAG;AAAA,EACH,GAAG;AACL;AAGA,MAAM,yBAA+C;AAAA,EACnD,OAAO;AAAA,EACP,UAAU,aAAa;AACzB;AAGA,MAAM,+BAA+B;AAAA,EACnC,OAAO;AAAA,EACP,UAAU,aAAa;AACzB;AAEA,MAAM,wBAAwB;AAAA,EAC5B,OAAO;AAAA,EACP,UAAU,aAAa;AACzB;AAEA,MAAM,wBAAwB,MAC5B,iCAEE;AAAA,sBAAC,uBAAqB,GAAG,wBAAwB;AAAA,EACjD,oBAAC,uBAAqB,GAAG,8BAA8B;AAAA,EACvD,oBAAC,uBAAqB,GAAG,uBAAuB;AAAA,EAEhD,oBAAC,uBAAoB,OAAM,IAAG,UAAU,aAAa,GAAG;AAAA,GAC1D;",
4
+ "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "/* eslint-disable @typescript-eslint/no-unused-vars, no-unused-vars */\nimport type { DSChatContainerHeaderT } from '../index.js';\nimport { ChatContainerHeader } from '../index.js';\n\n// test we expose the namespace and the namespace follows our deliverable conventions\ntype ComponentPropsForApp = DSChatContainerHeaderT.Props;\ntype ComponentPropsOptionalProps = DSChatContainerHeaderT.OptionalProps;\ntype ComponentPropsRequiredProps = DSChatContainerHeaderT.RequiredProps;\n\nconst testRequiredProps: ComponentPropsRequiredProps = {\n title: '',\n};\n\nconst testOptionalProps: ComponentPropsOptionalProps = {\n children: <div></div>,\n};\n\n// difference Props and InternalProps is that InternalProps has all the default props filled in\n// Props allows for partial defaults\n\nconst testProps: ComponentPropsForApp = {\n ...testRequiredProps,\n ...testOptionalProps,\n};\n\nconst testPropsAsSyntax = {\n ...testRequiredProps,\n ...testOptionalProps,\n} as ComponentPropsForApp;\n\n// using the explicit type definition, if there is an error, it will be marked on the key that is wrong\nconst testExplicitDefinition: ComponentPropsForApp = {\n title: '',\n children: <div></div>,\n};\n\n// using the \"as\" syntax, if there is an error, it will be marking the whole object as wrong because it is not compatible with the type\nconst testInferedTypeCompatibility = {\n title: '',\n children: <div></div>,\n} as ComponentPropsForApp;\n\nconst testDefinitionAsConst = {\n title: '',\n children: <div></div>,\n} as const;\n\nconst ExampleUsageComponent = () => (\n <>\n {/* works with explicitly casted props, all syntaxes */}\n <ChatContainerHeader {...testExplicitDefinition} />\n <ChatContainerHeader {...testInferedTypeCompatibility} />\n <ChatContainerHeader {...testDefinitionAsConst} />\n {/* works with inline values */}\n <ChatContainerHeader title=\"\">\n <div></div>\n </ChatContainerHeader>\n </>\n);\n"],
5
+ "mappings": "AAAA,YAAY,WAAW;ACcX,SAkCV,UAlCU,KAkCV,YAlCU;AAZZ,SAAS,2BAA2B;AAOpC,MAAM,oBAAiD;AAAA,EACrD,OAAO;AACT;AAEA,MAAM,oBAAiD;AAAA,EACrD,UAAU,oBAAC,SAAI;AACjB;AAKA,MAAM,YAAkC;AAAA,EACtC,GAAG;AAAA,EACH,GAAG;AACL;AAEA,MAAM,oBAAoB;AAAA,EACxB,GAAG;AAAA,EACH,GAAG;AACL;AAGA,MAAM,yBAA+C;AAAA,EACnD,OAAO;AAAA,EACP,UAAU,oBAAC,SAAI;AACjB;AAGA,MAAM,+BAA+B;AAAA,EACnC,OAAO;AAAA,EACP,UAAU,oBAAC,SAAI;AACjB;AAEA,MAAM,wBAAwB;AAAA,EAC5B,OAAO;AAAA,EACP,UAAU,oBAAC,SAAI;AACjB;AAEA,MAAM,wBAAwB,MAC5B,iCAEE;AAAA,sBAAC,uBAAqB,GAAG,wBAAwB;AAAA,EACjD,oBAAC,uBAAqB,GAAG,8BAA8B;AAAA,EACvD,oBAAC,uBAAqB,GAAG,uBAAuB;AAAA,EAEhD,oBAAC,uBAAoB,OAAM,IACzB,8BAAC,SAAI,GACP;AAAA,GACF;",
6
6
  "names": []
7
7
  }
@@ -1 +1 @@
1
- export declare const DSChatContainerHeaderName = "DSChatContainerHeader";
1
+ export declare const DSChatContainerHeaderName = "DSChatcontainerheader";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elliemae/ds-chat-container-header",
3
- "version": "3.50.1-next.9",
3
+ "version": "3.51.0-beta.2",
4
4
  "license": "MIT",
5
5
  "description": "ICE MT - Dimsum - Chat Container Header",
6
6
  "files": [
@@ -14,18 +14,6 @@
14
14
  "types": "./dist/types/index.d.ts",
15
15
  "import": "./dist/esm/index.js",
16
16
  "require": "./dist/cjs/index.js"
17
- },
18
- "./styled": {
19
- "import": "./dist/esm/styled.js",
20
- "require": "./dist/cjs/styled.js"
21
- },
22
- "./props": {
23
- "import": "./dist/esm/props.js",
24
- "require": "./dist/cjs/props.js"
25
- },
26
- "./ChatContainerHeader": {
27
- "import": "./dist/esm/ChatContainerHeader.js",
28
- "require": "./dist/cjs/ChatContainerHeader.js"
29
17
  }
30
18
  },
31
19
  "repository": {
@@ -33,8 +21,8 @@
33
21
  "url": "https://git.elliemae.io/platform-ui/dimsum.git"
34
22
  },
35
23
  "engines": {
36
- "pnpm": ">=6",
37
- "node": ">=16"
24
+ "pnpm": ">=9",
25
+ "node": ">=22"
38
26
  },
39
27
  "author": "ICE MT",
40
28
  "jestSonar": {
@@ -48,22 +36,22 @@
48
36
  "typeSafety": true
49
37
  },
50
38
  "dependencies": {
51
- "@elliemae/ds-grid": "3.50.1-next.9",
52
- "@elliemae/ds-system": "3.50.1-next.9",
53
- "@elliemae/ds-props-helpers": "3.50.1-next.9",
54
- "@elliemae/ds-truncated-tooltip-text": "3.50.1-next.9"
39
+ "@elliemae/ds-grid": "3.51.0-beta.2",
40
+ "@elliemae/ds-props-helpers": "3.51.0-beta.2",
41
+ "@elliemae/ds-system": "3.51.0-beta.2",
42
+ "@elliemae/ds-truncated-tooltip-text": "3.51.0-beta.2"
55
43
  },
56
44
  "devDependencies": {
57
- "@elliemae/pui-cli": "9.0.0-next.31",
58
- "@types/react": "latest",
45
+ "@elliemae/pui-cli": "9.0.0-next.55",
46
+ "@types/react": "^18.0.0",
59
47
  "jest": "~29.7.0",
60
48
  "styled-components": "~5.3.9",
61
- "@elliemae/ds-monorepo-devops": "3.50.1-next.9"
49
+ "@elliemae/ds-monorepo-devops": "3.51.0-beta.2"
62
50
  },
63
51
  "peerDependencies": {
64
52
  "lodash": "^4.17.21",
65
- "react": "^17.0.2",
66
- "react-dom": "^17.0.2",
53
+ "react": "^18.3.1",
54
+ "react-dom": "^18.3.1",
67
55
  "styled-components": "~5.3.9"
68
56
  },
69
57
  "scripts": {