@elliemae/ds-chat-container-header 3.70.0-next.16 → 3.70.0-next.18

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.
@@ -105,6 +105,7 @@ const ChatContainerHeader = (props) => {
105
105
  };
106
106
  ChatContainerHeader.displayName = import_constants.DSChatContainerHeaderName;
107
107
  const ChatContainerHeaderWithSchema = (0, import_ds_props_helpers.describe)(ChatContainerHeader);
108
+ ChatContainerHeaderWithSchema.propTypes = import_react_desc_prop_types.propTypes;
108
109
  const DSChatContainerHeader = ChatContainerHeader;
109
110
  const DSChatContainerHeaderWithSchema = ChatContainerHeaderWithSchema;
110
111
  //# sourceMappingURL=ChatContainerHeader.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/ChatContainerHeader.tsx", "../../../../../scripts/build/transpile/react-shim.js"],
4
- "sourcesContent": ["import React from 'react';\nimport { omit } from 'lodash-es';\nimport {\n describe,\n useValidateTypescriptPropTypes,\n useGetGlobalAttributes,\n useMemoMergePropsWithDefault,\n useOwnerProps,\n} from '@elliemae/ds-props-helpers';\nimport { type DSGridT } from '@elliemae/ds-grid';\nimport { TruncatedTooltipText } from './TruncatedTooltipText.js';\nimport {\n StyledChatContainerContentHeader,\n StyledChatContainerContentHeaderLabel,\n StyledChatContainerContentHeaderActions,\n} from './styled.js';\nimport type { DSChatContainerHeaderT } from './react-desc-prop-types.js';\nimport { defaultProps, propTypes } from './react-desc-prop-types.js';\nimport { CHAT_CONTAINER_HEADER_DATA_TESTID, DSChatContainerHeaderName } from './constants/index.js';\n\nconst ChatContainerHeader: React.ComponentType<DSChatContainerHeaderT.Props> = (props) => {\n const propsWithDefault = useMemoMergePropsWithDefault<DSChatContainerHeaderT.InternalProps>(props, defaultProps);\n useValidateTypescriptPropTypes(propsWithDefault, propTypes, DSChatContainerHeaderName);\n\n // `title` is omitted from globalProps to avoid forwarding it to the DOM as the native `title`\n // attribute (which would produce an unwanted browser tooltip on the header element).\n const globalProps = omit(useGetGlobalAttributes<DSChatContainerHeaderT.InternalProps>(propsWithDefault), [\n 'cols',\n 'rows',\n 'wrap',\n 'title',\n ]);\n const { getOwnerProps, getOwnerPropsArguments } = useOwnerProps<DSChatContainerHeaderT.Props>(propsWithDefault);\n const { title, children, wrapText } = propsWithDefault;\n const cols = React.useMemo<DSGridT.Props['cols']>(\n () => ['minmax(calc(100% - 64px), 1fr)', children ? 'auto' : '0px'],\n [children],\n );\n\n return (\n <StyledChatContainerContentHeader\n alignItems=\"center\"\n cols={cols}\n role=\"heading\"\n aria-level={2}\n {...globalProps}\n getOwnerProps={getOwnerProps}\n getOwnerPropsArguments={getOwnerPropsArguments}\n >\n <StyledChatContainerContentHeaderLabel\n // legacy data-testid \u2014 preserved for QA/consumer compatibility, breaking change if removed\n data-testid={CHAT_CONTAINER_HEADER_DATA_TESTID.HEADER_TITLE}\n pl=\"xxs\"\n pr=\"xxs\"\n $wrapText={wrapText}\n getOwnerProps={getOwnerProps}\n getOwnerPropsArguments={getOwnerPropsArguments}\n >\n {wrapText ? (\n title\n ) : (\n <TruncatedTooltipText\n value={title}\n getOwnerProps={getOwnerProps}\n getOwnerPropsArguments={getOwnerPropsArguments}\n />\n )}\n </StyledChatContainerContentHeaderLabel>\n <StyledChatContainerContentHeaderActions\n cols={React.Children.toArray(children)\n .filter(Boolean)\n .map(() => '32px')}\n justifyContent=\"flex-end\"\n // legacy data-testid \u2014 preserved for QA/consumer compatibility, breaking change if removed\n data-testid={CHAT_CONTAINER_HEADER_DATA_TESTID.HEADER_CHILDREN}\n getOwnerProps={getOwnerProps}\n getOwnerPropsArguments={getOwnerPropsArguments}\n >\n {children}\n </StyledChatContainerContentHeaderActions>\n </StyledChatContainerContentHeader>\n );\n};\n\nChatContainerHeader.displayName = DSChatContainerHeaderName;\nconst ChatContainerHeaderWithSchema = describe(ChatContainerHeader);\n\n// DS-prefixed canonical names (modern Dimsum convention) \u2014 ChatContainerHeader kept as alias for backwards compat\nconst DSChatContainerHeader = ChatContainerHeader;\nconst DSChatContainerHeaderWithSchema = ChatContainerHeaderWithSchema;\n\nexport { ChatContainerHeader, ChatContainerHeaderWithSchema, DSChatContainerHeader, DSChatContainerHeaderWithSchema };\n", "import * as React from 'react';\nexport { React };\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADwCnB;AAxCJ,mBAAkB;AAClB,uBAAqB;AACrB,8BAMO;AAEP,kCAAqC;AACrC,oBAIO;AAEP,mCAAwC;AACxC,uBAA6E;AAE7E,MAAM,sBAAyE,CAAC,UAAU;AACxF,QAAM,uBAAmB,sDAAmE,OAAO,yCAAY;AAC/G,8DAA+B,kBAAkB,wCAAW,0CAAyB;AAIrF,QAAM,kBAAc,2BAAK,gDAA6D,gBAAgB,GAAG;AAAA,IACvG;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACF,CAAC;AACD,QAAM,EAAE,eAAe,uBAAuB,QAAI,uCAA4C,gBAAgB;AAC9G,QAAM,EAAE,OAAO,UAAU,SAAS,IAAI;AACtC,QAAM,OAAO,aAAAA,QAAM;AAAA,IACjB,MAAM,CAAC,kCAAkC,WAAW,SAAS,KAAK;AAAA,IAClE,CAAC,QAAQ;AAAA,EACX;AAEA,SACE;AAAA,IAAC;AAAA;AAAA,MACC,YAAW;AAAA,MACX;AAAA,MACA,MAAK;AAAA,MACL,cAAY;AAAA,MACX,GAAG;AAAA,MACJ;AAAA,MACA;AAAA,MAEA;AAAA;AAAA,UAAC;AAAA;AAAA,YAEC,eAAa,mDAAkC;AAAA,YAC/C,IAAG;AAAA,YACH,IAAG;AAAA,YACH,WAAW;AAAA,YACX;AAAA,YACA;AAAA,YAEC,qBACC,QAEA;AAAA,cAAC;AAAA;AAAA,gBACC,OAAO;AAAA,gBACP;AAAA,gBACA;AAAA;AAAA,YACF;AAAA;AAAA,QAEJ;AAAA,QACA;AAAA,UAAC;AAAA;AAAA,YACC,MAAM,aAAAA,QAAM,SAAS,QAAQ,QAAQ,EAClC,OAAO,OAAO,EACd,IAAI,MAAM,MAAM;AAAA,YACnB,gBAAe;AAAA,YAEf,eAAa,mDAAkC;AAAA,YAC/C;AAAA,YACA;AAAA,YAEC;AAAA;AAAA,QACH;AAAA;AAAA;AAAA,EACF;AAEJ;AAEA,oBAAoB,cAAc;AAClC,MAAM,oCAAgC,kCAAS,mBAAmB;AAGlE,MAAM,wBAAwB;AAC9B,MAAM,kCAAkC;",
4
+ "sourcesContent": ["import type { WeakValidationMap } from 'react';\nimport React from 'react';\nimport { omit } from 'lodash-es';\nimport {\n describe,\n useValidateTypescriptPropTypes,\n useGetGlobalAttributes,\n useMemoMergePropsWithDefault,\n useOwnerProps,\n} from '@elliemae/ds-props-helpers';\nimport { type DSGridT } from '@elliemae/ds-grid';\nimport { TruncatedTooltipText } from './TruncatedTooltipText.js';\nimport {\n StyledChatContainerContentHeader,\n StyledChatContainerContentHeaderLabel,\n StyledChatContainerContentHeaderActions,\n} from './styled.js';\nimport type { DSChatContainerHeaderT } from './react-desc-prop-types.js';\nimport { defaultProps, propTypes } from './react-desc-prop-types.js';\nimport { CHAT_CONTAINER_HEADER_DATA_TESTID, DSChatContainerHeaderName } from './constants/index.js';\n\nconst ChatContainerHeader: React.ComponentType<DSChatContainerHeaderT.Props> = (props) => {\n const propsWithDefault = useMemoMergePropsWithDefault<DSChatContainerHeaderT.InternalProps>(props, defaultProps);\n useValidateTypescriptPropTypes(propsWithDefault, propTypes, DSChatContainerHeaderName);\n\n // `title` is omitted from globalProps to avoid forwarding it to the DOM as the native `title`\n // attribute (which would produce an unwanted browser tooltip on the header element).\n const globalProps = omit(useGetGlobalAttributes<DSChatContainerHeaderT.InternalProps>(propsWithDefault), [\n 'cols',\n 'rows',\n 'wrap',\n 'title',\n ]);\n const { getOwnerProps, getOwnerPropsArguments } = useOwnerProps<DSChatContainerHeaderT.Props>(propsWithDefault);\n const { title, children, wrapText } = propsWithDefault;\n const cols = React.useMemo<DSGridT.Props['cols']>(\n () => ['minmax(calc(100% - 64px), 1fr)', children ? 'auto' : '0px'],\n [children],\n );\n\n return (\n <StyledChatContainerContentHeader\n alignItems=\"center\"\n cols={cols}\n role=\"heading\"\n aria-level={2}\n {...globalProps}\n getOwnerProps={getOwnerProps}\n getOwnerPropsArguments={getOwnerPropsArguments}\n >\n <StyledChatContainerContentHeaderLabel\n // legacy data-testid \u2014 preserved for QA/consumer compatibility, breaking change if removed\n data-testid={CHAT_CONTAINER_HEADER_DATA_TESTID.HEADER_TITLE}\n pl=\"xxs\"\n pr=\"xxs\"\n $wrapText={wrapText}\n getOwnerProps={getOwnerProps}\n getOwnerPropsArguments={getOwnerPropsArguments}\n >\n {wrapText ? (\n title\n ) : (\n <TruncatedTooltipText\n value={title}\n getOwnerProps={getOwnerProps}\n getOwnerPropsArguments={getOwnerPropsArguments}\n />\n )}\n </StyledChatContainerContentHeaderLabel>\n <StyledChatContainerContentHeaderActions\n cols={React.Children.toArray(children)\n .filter(Boolean)\n .map(() => '32px')}\n justifyContent=\"flex-end\"\n // legacy data-testid \u2014 preserved for QA/consumer compatibility, breaking change if removed\n data-testid={CHAT_CONTAINER_HEADER_DATA_TESTID.HEADER_CHILDREN}\n getOwnerProps={getOwnerProps}\n getOwnerPropsArguments={getOwnerPropsArguments}\n >\n {children}\n </StyledChatContainerContentHeaderActions>\n </StyledChatContainerContentHeader>\n );\n};\n\nChatContainerHeader.displayName = DSChatContainerHeaderName;\nconst ChatContainerHeaderWithSchema = describe(ChatContainerHeader);\nChatContainerHeaderWithSchema.propTypes = propTypes as WeakValidationMap<unknown>;\n\n// DS-prefixed canonical names (modern Dimsum convention) \u2014 ChatContainerHeader kept as alias for backwards compat\nconst DSChatContainerHeader = ChatContainerHeader;\nconst DSChatContainerHeaderWithSchema = ChatContainerHeaderWithSchema;\n\nexport { ChatContainerHeader, ChatContainerHeaderWithSchema, DSChatContainerHeader, DSChatContainerHeaderWithSchema };\n", "import * as React from 'react';\nexport { React };\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADyCnB;AAxCJ,mBAAkB;AAClB,uBAAqB;AACrB,8BAMO;AAEP,kCAAqC;AACrC,oBAIO;AAEP,mCAAwC;AACxC,uBAA6E;AAE7E,MAAM,sBAAyE,CAAC,UAAU;AACxF,QAAM,uBAAmB,sDAAmE,OAAO,yCAAY;AAC/G,8DAA+B,kBAAkB,wCAAW,0CAAyB;AAIrF,QAAM,kBAAc,2BAAK,gDAA6D,gBAAgB,GAAG;AAAA,IACvG;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACF,CAAC;AACD,QAAM,EAAE,eAAe,uBAAuB,QAAI,uCAA4C,gBAAgB;AAC9G,QAAM,EAAE,OAAO,UAAU,SAAS,IAAI;AACtC,QAAM,OAAO,aAAAA,QAAM;AAAA,IACjB,MAAM,CAAC,kCAAkC,WAAW,SAAS,KAAK;AAAA,IAClE,CAAC,QAAQ;AAAA,EACX;AAEA,SACE;AAAA,IAAC;AAAA;AAAA,MACC,YAAW;AAAA,MACX;AAAA,MACA,MAAK;AAAA,MACL,cAAY;AAAA,MACX,GAAG;AAAA,MACJ;AAAA,MACA;AAAA,MAEA;AAAA;AAAA,UAAC;AAAA;AAAA,YAEC,eAAa,mDAAkC;AAAA,YAC/C,IAAG;AAAA,YACH,IAAG;AAAA,YACH,WAAW;AAAA,YACX;AAAA,YACA;AAAA,YAEC,qBACC,QAEA;AAAA,cAAC;AAAA;AAAA,gBACC,OAAO;AAAA,gBACP;AAAA,gBACA;AAAA;AAAA,YACF;AAAA;AAAA,QAEJ;AAAA,QACA;AAAA,UAAC;AAAA;AAAA,YACC,MAAM,aAAAA,QAAM,SAAS,QAAQ,QAAQ,EAClC,OAAO,OAAO,EACd,IAAI,MAAM,MAAM;AAAA,YACnB,gBAAe;AAAA,YAEf,eAAa,mDAAkC;AAAA,YAC/C;AAAA,YACA;AAAA,YAEC;AAAA;AAAA,QACH;AAAA;AAAA;AAAA,EACF;AAEJ;AAEA,oBAAoB,cAAc;AAClC,MAAM,oCAAgC,kCAAS,mBAAmB;AAClE,8BAA8B,YAAY;AAG1C,MAAM,wBAAwB;AAC9B,MAAM,kCAAkC;",
6
6
  "names": ["React"]
7
7
  }
@@ -79,6 +79,7 @@ const ChatContainerHeader = (props) => {
79
79
  };
80
80
  ChatContainerHeader.displayName = DSChatContainerHeaderName;
81
81
  const ChatContainerHeaderWithSchema = describe(ChatContainerHeader);
82
+ ChatContainerHeaderWithSchema.propTypes = propTypes;
82
83
  const DSChatContainerHeader = ChatContainerHeader;
83
84
  const DSChatContainerHeaderWithSchema = ChatContainerHeaderWithSchema;
84
85
  export {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../scripts/build/transpile/react-shim.js", "../../src/ChatContainerHeader.tsx"],
4
- "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import React from 'react';\nimport { omit } from 'lodash-es';\nimport {\n describe,\n useValidateTypescriptPropTypes,\n useGetGlobalAttributes,\n useMemoMergePropsWithDefault,\n useOwnerProps,\n} from '@elliemae/ds-props-helpers';\nimport { type DSGridT } from '@elliemae/ds-grid';\nimport { TruncatedTooltipText } from './TruncatedTooltipText.js';\nimport {\n StyledChatContainerContentHeader,\n StyledChatContainerContentHeaderLabel,\n StyledChatContainerContentHeaderActions,\n} from './styled.js';\nimport type { DSChatContainerHeaderT } from './react-desc-prop-types.js';\nimport { defaultProps, propTypes } from './react-desc-prop-types.js';\nimport { CHAT_CONTAINER_HEADER_DATA_TESTID, DSChatContainerHeaderName } from './constants/index.js';\n\nconst ChatContainerHeader: React.ComponentType<DSChatContainerHeaderT.Props> = (props) => {\n const propsWithDefault = useMemoMergePropsWithDefault<DSChatContainerHeaderT.InternalProps>(props, defaultProps);\n useValidateTypescriptPropTypes(propsWithDefault, propTypes, DSChatContainerHeaderName);\n\n // `title` is omitted from globalProps to avoid forwarding it to the DOM as the native `title`\n // attribute (which would produce an unwanted browser tooltip on the header element).\n const globalProps = omit(useGetGlobalAttributes<DSChatContainerHeaderT.InternalProps>(propsWithDefault), [\n 'cols',\n 'rows',\n 'wrap',\n 'title',\n ]);\n const { getOwnerProps, getOwnerPropsArguments } = useOwnerProps<DSChatContainerHeaderT.Props>(propsWithDefault);\n const { title, children, wrapText } = propsWithDefault;\n const cols = React.useMemo<DSGridT.Props['cols']>(\n () => ['minmax(calc(100% - 64px), 1fr)', children ? 'auto' : '0px'],\n [children],\n );\n\n return (\n <StyledChatContainerContentHeader\n alignItems=\"center\"\n cols={cols}\n role=\"heading\"\n aria-level={2}\n {...globalProps}\n getOwnerProps={getOwnerProps}\n getOwnerPropsArguments={getOwnerPropsArguments}\n >\n <StyledChatContainerContentHeaderLabel\n // legacy data-testid \u2014 preserved for QA/consumer compatibility, breaking change if removed\n data-testid={CHAT_CONTAINER_HEADER_DATA_TESTID.HEADER_TITLE}\n pl=\"xxs\"\n pr=\"xxs\"\n $wrapText={wrapText}\n getOwnerProps={getOwnerProps}\n getOwnerPropsArguments={getOwnerPropsArguments}\n >\n {wrapText ? (\n title\n ) : (\n <TruncatedTooltipText\n value={title}\n getOwnerProps={getOwnerProps}\n getOwnerPropsArguments={getOwnerPropsArguments}\n />\n )}\n </StyledChatContainerContentHeaderLabel>\n <StyledChatContainerContentHeaderActions\n cols={React.Children.toArray(children)\n .filter(Boolean)\n .map(() => '32px')}\n justifyContent=\"flex-end\"\n // legacy data-testid \u2014 preserved for QA/consumer compatibility, breaking change if removed\n data-testid={CHAT_CONTAINER_HEADER_DATA_TESTID.HEADER_CHILDREN}\n getOwnerProps={getOwnerProps}\n getOwnerPropsArguments={getOwnerPropsArguments}\n >\n {children}\n </StyledChatContainerContentHeaderActions>\n </StyledChatContainerContentHeader>\n );\n};\n\nChatContainerHeader.displayName = DSChatContainerHeaderName;\nconst ChatContainerHeaderWithSchema = describe(ChatContainerHeader);\n\n// DS-prefixed canonical names (modern Dimsum convention) \u2014 ChatContainerHeader kept as alias for backwards compat\nconst DSChatContainerHeader = ChatContainerHeader;\nconst DSChatContainerHeaderWithSchema = ChatContainerHeaderWithSchema;\n\nexport { ChatContainerHeader, ChatContainerHeaderWithSchema, DSChatContainerHeader, DSChatContainerHeaderWithSchema };\n"],
5
- "mappings": "AAAA,YAAY,WAAW;ACwCnB,SAqBM,KArBN;AAxCJ,OAAOA,YAAW;AAClB,SAAS,YAAY;AACrB;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;AAEP,SAAS,4BAA4B;AACrC;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,OACK;AAEP,SAAS,cAAc,iBAAiB;AACxC,SAAS,mCAAmC,iCAAiC;AAE7E,MAAM,sBAAyE,CAAC,UAAU;AACxF,QAAM,mBAAmB,6BAAmE,OAAO,YAAY;AAC/G,iCAA+B,kBAAkB,WAAW,yBAAyB;AAIrF,QAAM,cAAc,KAAK,uBAA6D,gBAAgB,GAAG;AAAA,IACvG;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACF,CAAC;AACD,QAAM,EAAE,eAAe,uBAAuB,IAAI,cAA4C,gBAAgB;AAC9G,QAAM,EAAE,OAAO,UAAU,SAAS,IAAI;AACtC,QAAM,OAAOA,OAAM;AAAA,IACjB,MAAM,CAAC,kCAAkC,WAAW,SAAS,KAAK;AAAA,IAClE,CAAC,QAAQ;AAAA,EACX;AAEA,SACE;AAAA,IAAC;AAAA;AAAA,MACC,YAAW;AAAA,MACX;AAAA,MACA,MAAK;AAAA,MACL,cAAY;AAAA,MACX,GAAG;AAAA,MACJ;AAAA,MACA;AAAA,MAEA;AAAA;AAAA,UAAC;AAAA;AAAA,YAEC,eAAa,kCAAkC;AAAA,YAC/C,IAAG;AAAA,YACH,IAAG;AAAA,YACH,WAAW;AAAA,YACX;AAAA,YACA;AAAA,YAEC,qBACC,QAEA;AAAA,cAAC;AAAA;AAAA,gBACC,OAAO;AAAA,gBACP;AAAA,gBACA;AAAA;AAAA,YACF;AAAA;AAAA,QAEJ;AAAA,QACA;AAAA,UAAC;AAAA;AAAA,YACC,MAAMA,OAAM,SAAS,QAAQ,QAAQ,EAClC,OAAO,OAAO,EACd,IAAI,MAAM,MAAM;AAAA,YACnB,gBAAe;AAAA,YAEf,eAAa,kCAAkC;AAAA,YAC/C;AAAA,YACA;AAAA,YAEC;AAAA;AAAA,QACH;AAAA;AAAA;AAAA,EACF;AAEJ;AAEA,oBAAoB,cAAc;AAClC,MAAM,gCAAgC,SAAS,mBAAmB;AAGlE,MAAM,wBAAwB;AAC9B,MAAM,kCAAkC;",
4
+ "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import type { WeakValidationMap } from 'react';\nimport React from 'react';\nimport { omit } from 'lodash-es';\nimport {\n describe,\n useValidateTypescriptPropTypes,\n useGetGlobalAttributes,\n useMemoMergePropsWithDefault,\n useOwnerProps,\n} from '@elliemae/ds-props-helpers';\nimport { type DSGridT } from '@elliemae/ds-grid';\nimport { TruncatedTooltipText } from './TruncatedTooltipText.js';\nimport {\n StyledChatContainerContentHeader,\n StyledChatContainerContentHeaderLabel,\n StyledChatContainerContentHeaderActions,\n} from './styled.js';\nimport type { DSChatContainerHeaderT } from './react-desc-prop-types.js';\nimport { defaultProps, propTypes } from './react-desc-prop-types.js';\nimport { CHAT_CONTAINER_HEADER_DATA_TESTID, DSChatContainerHeaderName } from './constants/index.js';\n\nconst ChatContainerHeader: React.ComponentType<DSChatContainerHeaderT.Props> = (props) => {\n const propsWithDefault = useMemoMergePropsWithDefault<DSChatContainerHeaderT.InternalProps>(props, defaultProps);\n useValidateTypescriptPropTypes(propsWithDefault, propTypes, DSChatContainerHeaderName);\n\n // `title` is omitted from globalProps to avoid forwarding it to the DOM as the native `title`\n // attribute (which would produce an unwanted browser tooltip on the header element).\n const globalProps = omit(useGetGlobalAttributes<DSChatContainerHeaderT.InternalProps>(propsWithDefault), [\n 'cols',\n 'rows',\n 'wrap',\n 'title',\n ]);\n const { getOwnerProps, getOwnerPropsArguments } = useOwnerProps<DSChatContainerHeaderT.Props>(propsWithDefault);\n const { title, children, wrapText } = propsWithDefault;\n const cols = React.useMemo<DSGridT.Props['cols']>(\n () => ['minmax(calc(100% - 64px), 1fr)', children ? 'auto' : '0px'],\n [children],\n );\n\n return (\n <StyledChatContainerContentHeader\n alignItems=\"center\"\n cols={cols}\n role=\"heading\"\n aria-level={2}\n {...globalProps}\n getOwnerProps={getOwnerProps}\n getOwnerPropsArguments={getOwnerPropsArguments}\n >\n <StyledChatContainerContentHeaderLabel\n // legacy data-testid \u2014 preserved for QA/consumer compatibility, breaking change if removed\n data-testid={CHAT_CONTAINER_HEADER_DATA_TESTID.HEADER_TITLE}\n pl=\"xxs\"\n pr=\"xxs\"\n $wrapText={wrapText}\n getOwnerProps={getOwnerProps}\n getOwnerPropsArguments={getOwnerPropsArguments}\n >\n {wrapText ? (\n title\n ) : (\n <TruncatedTooltipText\n value={title}\n getOwnerProps={getOwnerProps}\n getOwnerPropsArguments={getOwnerPropsArguments}\n />\n )}\n </StyledChatContainerContentHeaderLabel>\n <StyledChatContainerContentHeaderActions\n cols={React.Children.toArray(children)\n .filter(Boolean)\n .map(() => '32px')}\n justifyContent=\"flex-end\"\n // legacy data-testid \u2014 preserved for QA/consumer compatibility, breaking change if removed\n data-testid={CHAT_CONTAINER_HEADER_DATA_TESTID.HEADER_CHILDREN}\n getOwnerProps={getOwnerProps}\n getOwnerPropsArguments={getOwnerPropsArguments}\n >\n {children}\n </StyledChatContainerContentHeaderActions>\n </StyledChatContainerContentHeader>\n );\n};\n\nChatContainerHeader.displayName = DSChatContainerHeaderName;\nconst ChatContainerHeaderWithSchema = describe(ChatContainerHeader);\nChatContainerHeaderWithSchema.propTypes = propTypes as WeakValidationMap<unknown>;\n\n// DS-prefixed canonical names (modern Dimsum convention) \u2014 ChatContainerHeader kept as alias for backwards compat\nconst DSChatContainerHeader = ChatContainerHeader;\nconst DSChatContainerHeaderWithSchema = ChatContainerHeaderWithSchema;\n\nexport { ChatContainerHeader, ChatContainerHeaderWithSchema, DSChatContainerHeader, DSChatContainerHeaderWithSchema };\n"],
5
+ "mappings": "AAAA,YAAY,WAAW;ACyCnB,SAqBM,KArBN;AAxCJ,OAAOA,YAAW;AAClB,SAAS,YAAY;AACrB;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;AAEP,SAAS,4BAA4B;AACrC;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,OACK;AAEP,SAAS,cAAc,iBAAiB;AACxC,SAAS,mCAAmC,iCAAiC;AAE7E,MAAM,sBAAyE,CAAC,UAAU;AACxF,QAAM,mBAAmB,6BAAmE,OAAO,YAAY;AAC/G,iCAA+B,kBAAkB,WAAW,yBAAyB;AAIrF,QAAM,cAAc,KAAK,uBAA6D,gBAAgB,GAAG;AAAA,IACvG;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACF,CAAC;AACD,QAAM,EAAE,eAAe,uBAAuB,IAAI,cAA4C,gBAAgB;AAC9G,QAAM,EAAE,OAAO,UAAU,SAAS,IAAI;AACtC,QAAM,OAAOA,OAAM;AAAA,IACjB,MAAM,CAAC,kCAAkC,WAAW,SAAS,KAAK;AAAA,IAClE,CAAC,QAAQ;AAAA,EACX;AAEA,SACE;AAAA,IAAC;AAAA;AAAA,MACC,YAAW;AAAA,MACX;AAAA,MACA,MAAK;AAAA,MACL,cAAY;AAAA,MACX,GAAG;AAAA,MACJ;AAAA,MACA;AAAA,MAEA;AAAA;AAAA,UAAC;AAAA;AAAA,YAEC,eAAa,kCAAkC;AAAA,YAC/C,IAAG;AAAA,YACH,IAAG;AAAA,YACH,WAAW;AAAA,YACX;AAAA,YACA;AAAA,YAEC,qBACC,QAEA;AAAA,cAAC;AAAA;AAAA,gBACC,OAAO;AAAA,gBACP;AAAA,gBACA;AAAA;AAAA,YACF;AAAA;AAAA,QAEJ;AAAA,QACA;AAAA,UAAC;AAAA;AAAA,YACC,MAAMA,OAAM,SAAS,QAAQ,QAAQ,EAClC,OAAO,OAAO,EACd,IAAI,MAAM,MAAM;AAAA,YACnB,gBAAe;AAAA,YAEf,eAAa,kCAAkC;AAAA,YAC/C;AAAA,YACA;AAAA,YAEC;AAAA;AAAA,QACH;AAAA;AAAA;AAAA,EACF;AAEJ;AAEA,oBAAoB,cAAc;AAClC,MAAM,gCAAgC,SAAS,mBAAmB;AAClE,8BAA8B,YAAY;AAG1C,MAAM,wBAAwB;AAC9B,MAAM,kCAAkC;",
6
6
  "names": ["React"]
7
7
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elliemae/ds-chat-container-header",
3
- "version": "3.70.0-next.16",
3
+ "version": "3.70.0-next.18",
4
4
  "license": "MIT",
5
5
  "description": "ICE MT - Dimsum - Chat Container Header",
6
6
  "files": [
@@ -36,17 +36,17 @@
36
36
  "typeSafety": true
37
37
  },
38
38
  "dependencies": {
39
- "@elliemae/ds-floating-context": "3.70.0-next.16",
40
- "@elliemae/ds-props-helpers": "3.70.0-next.16",
41
- "@elliemae/ds-grid": "3.70.0-next.16",
42
- "@elliemae/ds-system": "3.70.0-next.16"
39
+ "@elliemae/ds-floating-context": "3.70.0-next.18",
40
+ "@elliemae/ds-grid": "3.70.0-next.18",
41
+ "@elliemae/ds-props-helpers": "3.70.0-next.18",
42
+ "@elliemae/ds-system": "3.70.0-next.18"
43
43
  },
44
44
  "devDependencies": {
45
45
  "@types/react": "^18.0.0",
46
46
  "jest": "^30.0.0",
47
47
  "styled-components": "~5.3.9",
48
- "@elliemae/ds-monorepo-devops": "3.70.0-next.16",
49
- "@elliemae/ds-test-utils": "3.70.0-next.16"
48
+ "@elliemae/ds-monorepo-devops": "3.70.0-next.18",
49
+ "@elliemae/ds-test-utils": "3.70.0-next.18"
50
50
  },
51
51
  "peerDependencies": {
52
52
  "lodash-es": "^4.17.21",