@elliemae/ds-chat 1.56.0-rc.0 → 1.56.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.
@@ -63,31 +63,34 @@ var TileButton = function TileButton(props) {
63
63
  justifyContent: "center"
64
64
  }, label ? /*#__PURE__*/React__default['default'].createElement(parts_tileButton_styled.StyledTileButtonLabel, null, label) : null) : null);
65
65
  }, [isHeader, Icon, badge, badgeColor, badgePosition, label]);
66
- return /*#__PURE__*/React__default['default'].createElement(parts_tileButton_styled.StyledTileButton, {
67
- key: dsId,
68
- isHeader: isHeader,
69
- value: dsId,
70
- "data-testid": "tile-button-".concat(dsId),
71
- onClick: handleClick,
72
- onFocus: onFocus,
73
- onBlur: onBlur,
74
- disabled: disabled,
75
- selected: selected,
76
- badgeColor: badgeColor,
77
- badgePosition: badgePosition,
78
- "aria-pressed": selected,
79
- "aria-label": ariaLabel
80
- }, /*#__PURE__*/React__default['default'].createElement(parts_tileButton_styled.StyledWrapper, {
81
- alignItems: "center",
82
- justifyContent: "center"
83
- }, title && !disableTooltip ? /*#__PURE__*/React__default['default'].createElement(dsTooltip.DSTooltipV3, {
66
+ var Btn = React__default['default'].useMemo(function () {
67
+ return /*#__PURE__*/React__default['default'].createElement(parts_tileButton_styled.StyledTileButton, {
68
+ key: dsId,
69
+ isHeader: isHeader,
70
+ value: dsId,
71
+ "data-testid": "tile-button-".concat(dsId),
72
+ onClick: handleClick,
73
+ onFocus: onFocus,
74
+ onBlur: onBlur,
75
+ disabled: disabled,
76
+ selected: selected,
77
+ badgeColor: badgeColor,
78
+ badgePosition: badgePosition,
79
+ "aria-pressed": selected,
80
+ "aria-label": ariaLabel
81
+ }, /*#__PURE__*/React__default['default'].createElement(parts_tileButton_styled.StyledWrapper, {
82
+ alignItems: "center",
83
+ justifyContent: "center"
84
+ }, /*#__PURE__*/React__default['default'].createElement("span", null, MainContent), /*#__PURE__*/React__default['default'].createElement(parts_tileButton_styled.StyledWrapperLeftBorder, null), showClose && !disabled ? /*#__PURE__*/React__default['default'].createElement(parts_tileButton_styled.CloseButton, {
85
+ onClick: onClose,
86
+ value: dsId
87
+ }, /*#__PURE__*/React__default['default'].createElement(CloseXsmall__default['default'], null)) : null));
88
+ }, [MainContent, ariaLabel, badgeColor, badgePosition, disabled, dsId, handleClick, isHeader, onBlur, onClose, onFocus, selected, showClose]);
89
+ return title && !disableTooltip ? /*#__PURE__*/React__default['default'].createElement(dsTooltip.DSTooltipV3, {
84
90
  id: "ds-chat-tile-tooltip-button-".concat(dsId),
85
91
  text: title,
86
92
  startPlacementPreference: tooltipPlacement
87
- }, /*#__PURE__*/React__default['default'].createElement("span", null, MainContent)) : MainContent, /*#__PURE__*/React__default['default'].createElement(parts_tileButton_styled.StyledWrapperLeftBorder, null), showClose && !disabled ? /*#__PURE__*/React__default['default'].createElement(parts_tileButton_styled.CloseButton, {
88
- onClick: onClose,
89
- value: dsId
90
- }, /*#__PURE__*/React__default['default'].createElement(CloseXsmall__default['default'], null)) : null));
93
+ }, Btn) : Btn;
91
94
  };
92
95
 
93
96
  TileButton.propTypes = parts_tileButton_props.propsTileButton;
@@ -1 +1 @@
1
- {"version":3,"file":"TileButton.js","sources":["../../../../src/parts/tile-button/TileButton.tsx"],"sourcesContent":["import React from 'react';\nimport { describe } from 'react-desc';\nimport { DSTooltipV3 } from '@elliemae/ds-tooltip';\nimport { Grid } from '@elliemae/ds-grid';\nimport CloseXsmall from '@elliemae/ds-icons/CloseXsmall';\nimport {\n StyledTileButton,\n StyledTileButtonIcon,\n StyledTileButtonLabel,\n StyledWrapper,\n StyledWrapperLeftBorder,\n StyledStatusBadge,\n StyledWrapperCentralContent,\n CloseButton,\n} from './styled';\nimport { propsTileButton, defaultTileButton, TileButtonProps } from './props';\nimport { useValidateProps } from './config/useValidateProps';\n\nconst TileButton = (props: TileButtonProps): JSX.Element => {\n useValidateProps(props, TileButtonWithSchema.toJSON());\n\n const {\n label,\n title,\n dsId,\n onClick,\n onFocus,\n onBlur,\n Icon,\n showClose,\n onClose,\n badge,\n badgeColor,\n badgePosition,\n disabled,\n selected,\n isHeader,\n ariaLabel,\n tooltipPlacement,\n disableTooltip,\n } = props;\n const handleClick = React.useCallback(() => {\n onClick(dsId, title);\n }, [dsId, onClick, title]);\n\n const MainContent = React.useMemo(\n () => (\n <StyledWrapperCentralContent alignItems={isHeader ? 'center' : undefined}>\n <Grid width=\"100%\" alignItems=\"center\" justifyContent=\"center\">\n <StyledTileButtonIcon alignItems=\"center\" justifyContent=\"center\">\n <Icon size=\"m\" />\n {badge ? <StyledStatusBadge badgeColor={badgeColor} badgePosition={badgePosition} /> : null}\n </StyledTileButtonIcon>\n </Grid>\n {!isHeader ? (\n <Grid width=\"100%\" justifyContent=\"center\">\n {label ? <StyledTileButtonLabel>{label}</StyledTileButtonLabel> : null}\n </Grid>\n ) : null}\n </StyledWrapperCentralContent>\n ),\n [isHeader, Icon, badge, badgeColor, badgePosition, label],\n );\n\n return (\n <StyledTileButton\n key={dsId}\n isHeader={isHeader}\n value={dsId}\n data-testid={`tile-button-${dsId}`}\n onClick={handleClick}\n onFocus={onFocus}\n onBlur={onBlur}\n disabled={disabled}\n selected={selected}\n badgeColor={badgeColor}\n badgePosition={badgePosition}\n aria-pressed={selected}\n aria-label={ariaLabel}\n >\n <StyledWrapper alignItems=\"center\" justifyContent=\"center\">\n {title && !disableTooltip ? (\n <DSTooltipV3\n id={`ds-chat-tile-tooltip-button-${dsId}`}\n text={title}\n startPlacementPreference={tooltipPlacement}\n >\n <span>{MainContent}</span>\n </DSTooltipV3>\n ) : (\n MainContent\n )}\n <StyledWrapperLeftBorder />\n {showClose && !disabled ? (\n <CloseButton onClick={onClose} value={dsId}>\n <CloseXsmall />\n </CloseButton>\n ) : null}\n </StyledWrapper>\n </StyledTileButton>\n );\n};\n\nTileButton.propTypes = propsTileButton;\nTileButton.defaultProps = defaultTileButton;\n\nconst TileButtonWithSchema = describe(TileButton);\nTileButtonWithSchema.propTypes = propsTileButton;\n\nexport { TileButton, TileButtonWithSchema };\n"],"names":["TileButton","props","useValidateProps","TileButtonWithSchema","toJSON","label","title","dsId","onClick","onFocus","onBlur","Icon","showClose","onClose","badge","badgeColor","badgePosition","disabled","selected","isHeader","ariaLabel","tooltipPlacement","disableTooltip","handleClick","React","useCallback","MainContent","useMemo","StyledWrapperCentralContent","undefined","Grid","StyledTileButtonIcon","StyledStatusBadge","StyledTileButtonLabel","StyledTileButton","StyledWrapper","DSTooltipV3","StyledWrapperLeftBorder","CloseButton","CloseXsmall","propTypes","propsTileButton","defaultProps","defaultTileButton","describe"],"mappings":";;;;;;;;;;;;;;;;;;;;;;IAkBMA,UAAU,GAAG,SAAbA,UAAa,CAACC,KAAD,EAAyC;AAC1DC,EAAAA,yDAAgB,CAACD,KAAD,EAAQE,oBAAoB,CAACC,MAArB,EAAR,CAAhB;AAEA,MACEC,KADF,GAmBIJ,KAnBJ,CACEI,KADF;AAAA,MAEEC,KAFF,GAmBIL,KAnBJ,CAEEK,KAFF;AAAA,MAGEC,IAHF,GAmBIN,KAnBJ,CAGEM,IAHF;AAAA,MAIEC,OAJF,GAmBIP,KAnBJ,CAIEO,OAJF;AAAA,MAKEC,OALF,GAmBIR,KAnBJ,CAKEQ,OALF;AAAA,MAMEC,MANF,GAmBIT,KAnBJ,CAMES,MANF;AAAA,MAOEC,IAPF,GAmBIV,KAnBJ,CAOEU,IAPF;AAAA,MAQEC,SARF,GAmBIX,KAnBJ,CAQEW,SARF;AAAA,MASEC,OATF,GAmBIZ,KAnBJ,CASEY,OATF;AAAA,MAUEC,KAVF,GAmBIb,KAnBJ,CAUEa,KAVF;AAAA,MAWEC,UAXF,GAmBId,KAnBJ,CAWEc,UAXF;AAAA,MAYEC,aAZF,GAmBIf,KAnBJ,CAYEe,aAZF;AAAA,MAaEC,QAbF,GAmBIhB,KAnBJ,CAaEgB,QAbF;AAAA,MAcEC,QAdF,GAmBIjB,KAnBJ,CAcEiB,QAdF;AAAA,MAeEC,QAf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CAhBkB,CAApB;AAmBA,sBACEmB,wCAACU,wCAAD;AACE,IAAA,GAAG,EAAE3B,IADP;AAEE,IAAA,QAAQ,EAAEY,QAFZ;AAGE,IAAA,KAAK,EAAEZ,IAHT;AAIE,yCAA4BA,IAA5B,CAJF;AAKE,IAAA,OAAO,EAAEgB,WALX;AAME,IAAA,OAAO,EAAEd,OANX;AAOE,IAAA,MAAM,EAAEC,MAPV;AAQE,IAAA,QAAQ,EAAEO,QARZ;AASE,IAAA,QAAQ,EAAEC,QATZ;AAUE,IAAA,UAAU,EAAEH,UAVd;AAWE,IAAA,aAAa,EAAEC,aAXjB;AAYE,oBAAcE,QAZhB;AAaE,kBAAYE;AAbd,kBAeEI,wCAACW,qCAAD;AAAe,IAAA,UAAU,EAAC,QAA1B;AAAmC,IAAA,cAAc,EAAC;AAAlD,KACG7B,KAAK,IAAI,CAACgB,cAAV,gBACCE,wCAACY,qBAAD;AACE,IAAA,EAAE,wCAAiC7B,IAAjC,CADJ;AAEE,IAAA,IAAI,EAAED,KAFR;AAGE,IAAA,wBAAwB,EAAEe;AAH5B,kBAKEG,sDAAOE,WAAP,CALF,CADD,GASCA,WAVJ,eAYEF,wCAACa,+CAAD,OAZF,EAaGzB,SAAS,IAAI,CAACK,QAAd,gBACCO,wCAACc,mCAAD;AAAa,IAAA,OAAO,EAAEzB,OAAtB;AAA+B,IAAA,KAAK,EAAEN;AAAtC,kBACEiB,wCAACe,+BAAD,OADF,CADD,GAIG,IAjBN,CAfF,CADF;AAqCD;;AAEDvC,UAAU,CAACwC,SAAX,GAAuBC,sCAAvB;AACAzC,UAAU,CAAC0C,YAAX,GAA0BC,wCAA1B;IAEMxC,oBAAoB,GAAGyC,kBAAQ,CAAC5C,UAAD;AACrCG,oBAAoB,CAACqC,SAArB,GAAiCC,sCAAjC;;;;;"}
1
+ {"version":3,"file":"TileButton.js","sources":["../../../../src/parts/tile-button/TileButton.tsx"],"sourcesContent":["import React from 'react';\nimport { describe } from 'react-desc';\nimport { DSTooltipV3 } from '@elliemae/ds-tooltip';\nimport { Grid } from '@elliemae/ds-grid';\nimport CloseXsmall from '@elliemae/ds-icons/CloseXsmall';\nimport {\n StyledTileButton,\n StyledTileButtonIcon,\n StyledTileButtonLabel,\n StyledWrapper,\n StyledWrapperLeftBorder,\n StyledStatusBadge,\n StyledWrapperCentralContent,\n CloseButton,\n} from './styled';\nimport { propsTileButton, defaultTileButton, TileButtonProps } from './props';\nimport { useValidateProps } from './config/useValidateProps';\n\nconst TileButton = (props: TileButtonProps): JSX.Element => {\n useValidateProps(props, TileButtonWithSchema.toJSON());\n\n const {\n label,\n title,\n dsId,\n onClick,\n onFocus,\n onBlur,\n Icon,\n showClose,\n onClose,\n badge,\n badgeColor,\n badgePosition,\n disabled,\n selected,\n isHeader,\n ariaLabel,\n tooltipPlacement,\n disableTooltip,\n } = props;\n const handleClick = React.useCallback(() => {\n onClick(dsId, title);\n }, [dsId, onClick, title]);\n\n const MainContent = React.useMemo(\n () => (\n <StyledWrapperCentralContent alignItems={isHeader ? 'center' : undefined}>\n <Grid width=\"100%\" alignItems=\"center\" justifyContent=\"center\">\n <StyledTileButtonIcon alignItems=\"center\" justifyContent=\"center\">\n <Icon size=\"m\" />\n {badge ? <StyledStatusBadge badgeColor={badgeColor} badgePosition={badgePosition} /> : null}\n </StyledTileButtonIcon>\n </Grid>\n {!isHeader ? (\n <Grid width=\"100%\" justifyContent=\"center\">\n {label ? <StyledTileButtonLabel>{label}</StyledTileButtonLabel> : null}\n </Grid>\n ) : null}\n </StyledWrapperCentralContent>\n ),\n [isHeader, Icon, badge, badgeColor, badgePosition, label],\n );\n\n const Btn = React.useMemo(\n () => (\n <StyledTileButton\n key={dsId}\n isHeader={isHeader}\n value={dsId}\n data-testid={`tile-button-${dsId}`}\n onClick={handleClick}\n onFocus={onFocus}\n onBlur={onBlur}\n disabled={disabled}\n selected={selected}\n badgeColor={badgeColor}\n badgePosition={badgePosition}\n aria-pressed={selected}\n aria-label={ariaLabel}\n >\n <StyledWrapper alignItems=\"center\" justifyContent=\"center\">\n <span>{MainContent}</span>\n <StyledWrapperLeftBorder />\n {showClose && !disabled ? (\n <CloseButton onClick={onClose} value={dsId}>\n <CloseXsmall />\n </CloseButton>\n ) : null}\n </StyledWrapper>\n </StyledTileButton>\n ),\n [\n MainContent,\n ariaLabel,\n badgeColor,\n badgePosition,\n disabled,\n dsId,\n handleClick,\n isHeader,\n onBlur,\n onClose,\n onFocus,\n selected,\n showClose,\n ],\n );\n\n return title && !disableTooltip ? (\n <DSTooltipV3 id={`ds-chat-tile-tooltip-button-${dsId}`} text={title} startPlacementPreference={tooltipPlacement}>\n {Btn}\n </DSTooltipV3>\n ) : (\n Btn\n );\n};\n\nTileButton.propTypes = propsTileButton;\nTileButton.defaultProps = defaultTileButton;\n\nconst TileButtonWithSchema = describe(TileButton);\nTileButtonWithSchema.propTypes = propsTileButton;\n\nexport { TileButton, TileButtonWithSchema };\n"],"names":["TileButton","props","useValidateProps","TileButtonWithSchema","toJSON","label","title","dsId","onClick","onFocus","onBlur","Icon","showClose","onClose","badge","badgeColor","badgePosition","disabled","selected","isHeader","ariaLabel","tooltipPlacement","disableTooltip","handleClick","React","useCallback","MainContent","useMemo","StyledWrapperCentralContent","undefined","Grid","StyledTileButtonIcon","StyledStatusBadge","StyledTileButtonLabel","Btn","StyledTileButton","StyledWrapper","StyledWrapperLeftBorder","CloseButton","CloseXsmall","DSTooltipV3","propTypes","propsTileButton","defaultProps","defaultTileButton","describe"],"mappings":";;;;;;;;;;;;;;;;;;;;;;IAkBMA,UAAU,GAAG,SAAbA,UAAa,CAACC,KAAD,EAAyC;AAC1DC,EAAAA,yDAAgB,CAACD,KAAD,EAAQE,oBAAoB,CAACC,MAArB,EAAR,CAAhB;AAEA,MACEC,KADF,GAmBIJ,KAnBJ,CACEI,KADF;AAAA,MAEEC,KAFF,GAmBIL,KAnBJ,CAEEK,KAFF;AAAA,MAGEC,IAHF,GAmBIN,KAnBJ,CAGEM,IAHF;AAAA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AAA,OAAO,EAAEzB,OAAtB;AAA+B,MAAA,KAAK,EAAEN;AAAtC,oBACEiB,wCAACe,+BAAD,OADF,CADD,GAIG,IAPN,CAfF,CADF;AAAA,GADU,EA4BV,CACEb,WADF,EAEEN,SAFF,EAGEL,UAHF,EAIEC,aAJF,EAKEC,QALF,EAMEV,IANF,EAOEgB,WAPF,EAQEJ,QARF,EASET,MATF,EAUEG,OAVF,EAWEJ,OAXF,EAYES,QAZF,EAaEN,SAbF,CA5BU,CAAZ;AA6CA,SAAON,KAAK,IAAI,CAACgB,cAAV,gBACLE,wCAACgB,qBAAD;AAAa,IAAA,EAAE,wCAAiCjC,IAAjC,CAAf;AAAwD,IAAA,IAAI,EAAED,KAA9D;AAAqE,IAAA,wBAAwB,EAAEe;AAA/F,KACGa,GADH,CADK,GAKLA,GALF;AAOD;;AAEDlC,UAAU,CAACyC,SAAX,GAAuBC,sCAAvB;AACA1C,UAAU,CAAC2C,YAAX,GAA0BC,wCAA1B;IAEMzC,oBAAoB,GAAG0C,kBAAQ,CAAC7C,UAAD;AACrCG,oBAAoB,CAACsC,SAArB,GAAiCC,sCAAjC;;;;;"}
@@ -54,31 +54,34 @@ var TileButton = function TileButton(props) {
54
54
  justifyContent: "center"
55
55
  }, label ? /*#__PURE__*/React.createElement(StyledTileButtonLabel, null, label) : null) : null);
56
56
  }, [isHeader, Icon, badge, badgeColor, badgePosition, label]);
57
- return /*#__PURE__*/React.createElement(StyledTileButton, {
58
- key: dsId,
59
- isHeader: isHeader,
60
- value: dsId,
61
- "data-testid": "tile-button-".concat(dsId),
62
- onClick: handleClick,
63
- onFocus: onFocus,
64
- onBlur: onBlur,
65
- disabled: disabled,
66
- selected: selected,
67
- badgeColor: badgeColor,
68
- badgePosition: badgePosition,
69
- "aria-pressed": selected,
70
- "aria-label": ariaLabel
71
- }, /*#__PURE__*/React.createElement(StyledWrapper, {
72
- alignItems: "center",
73
- justifyContent: "center"
74
- }, title && !disableTooltip ? /*#__PURE__*/React.createElement(DSTooltipV3, {
57
+ var Btn = React.useMemo(function () {
58
+ return /*#__PURE__*/React.createElement(StyledTileButton, {
59
+ key: dsId,
60
+ isHeader: isHeader,
61
+ value: dsId,
62
+ "data-testid": "tile-button-".concat(dsId),
63
+ onClick: handleClick,
64
+ onFocus: onFocus,
65
+ onBlur: onBlur,
66
+ disabled: disabled,
67
+ selected: selected,
68
+ badgeColor: badgeColor,
69
+ badgePosition: badgePosition,
70
+ "aria-pressed": selected,
71
+ "aria-label": ariaLabel
72
+ }, /*#__PURE__*/React.createElement(StyledWrapper, {
73
+ alignItems: "center",
74
+ justifyContent: "center"
75
+ }, /*#__PURE__*/React.createElement("span", null, MainContent), /*#__PURE__*/React.createElement(StyledWrapperLeftBorder, null), showClose && !disabled ? /*#__PURE__*/React.createElement(CloseButton, {
76
+ onClick: onClose,
77
+ value: dsId
78
+ }, /*#__PURE__*/React.createElement(CloseXsmall, null)) : null));
79
+ }, [MainContent, ariaLabel, badgeColor, badgePosition, disabled, dsId, handleClick, isHeader, onBlur, onClose, onFocus, selected, showClose]);
80
+ return title && !disableTooltip ? /*#__PURE__*/React.createElement(DSTooltipV3, {
75
81
  id: "ds-chat-tile-tooltip-button-".concat(dsId),
76
82
  text: title,
77
83
  startPlacementPreference: tooltipPlacement
78
- }, /*#__PURE__*/React.createElement("span", null, MainContent)) : MainContent, /*#__PURE__*/React.createElement(StyledWrapperLeftBorder, null), showClose && !disabled ? /*#__PURE__*/React.createElement(CloseButton, {
79
- onClick: onClose,
80
- value: dsId
81
- }, /*#__PURE__*/React.createElement(CloseXsmall, null)) : null));
84
+ }, Btn) : Btn;
82
85
  };
83
86
 
84
87
  TileButton.propTypes = propsTileButton;
@@ -1 +1 @@
1
- {"version":3,"file":"TileButton.js","sources":["../../../../src/parts/tile-button/TileButton.tsx"],"sourcesContent":["import React from 'react';\nimport { describe } from 'react-desc';\nimport { DSTooltipV3 } from '@elliemae/ds-tooltip';\nimport { Grid } from '@elliemae/ds-grid';\nimport CloseXsmall from '@elliemae/ds-icons/CloseXsmall';\nimport {\n StyledTileButton,\n StyledTileButtonIcon,\n StyledTileButtonLabel,\n StyledWrapper,\n StyledWrapperLeftBorder,\n StyledStatusBadge,\n StyledWrapperCentralContent,\n CloseButton,\n} from './styled';\nimport { propsTileButton, defaultTileButton, TileButtonProps } from './props';\nimport { useValidateProps } from './config/useValidateProps';\n\nconst TileButton = (props: TileButtonProps): JSX.Element => {\n useValidateProps(props, TileButtonWithSchema.toJSON());\n\n const {\n label,\n title,\n dsId,\n onClick,\n onFocus,\n onBlur,\n Icon,\n showClose,\n onClose,\n badge,\n badgeColor,\n badgePosition,\n disabled,\n selected,\n isHeader,\n ariaLabel,\n tooltipPlacement,\n disableTooltip,\n } = props;\n const handleClick = React.useCallback(() => {\n onClick(dsId, title);\n }, [dsId, onClick, title]);\n\n const MainContent = React.useMemo(\n () => (\n <StyledWrapperCentralContent alignItems={isHeader ? 'center' : undefined}>\n <Grid width=\"100%\" alignItems=\"center\" justifyContent=\"center\">\n <StyledTileButtonIcon alignItems=\"center\" justifyContent=\"center\">\n <Icon size=\"m\" />\n {badge ? <StyledStatusBadge badgeColor={badgeColor} badgePosition={badgePosition} /> : null}\n </StyledTileButtonIcon>\n </Grid>\n {!isHeader ? (\n <Grid width=\"100%\" justifyContent=\"center\">\n {label ? <StyledTileButtonLabel>{label}</StyledTileButtonLabel> : null}\n </Grid>\n ) : null}\n </StyledWrapperCentralContent>\n ),\n [isHeader, Icon, badge, badgeColor, badgePosition, label],\n );\n\n return (\n <StyledTileButton\n key={dsId}\n isHeader={isHeader}\n value={dsId}\n data-testid={`tile-button-${dsId}`}\n onClick={handleClick}\n onFocus={onFocus}\n onBlur={onBlur}\n disabled={disabled}\n selected={selected}\n badgeColor={badgeColor}\n badgePosition={badgePosition}\n aria-pressed={selected}\n aria-label={ariaLabel}\n >\n <StyledWrapper alignItems=\"center\" justifyContent=\"center\">\n {title && !disableTooltip ? (\n <DSTooltipV3\n id={`ds-chat-tile-tooltip-button-${dsId}`}\n text={title}\n startPlacementPreference={tooltipPlacement}\n >\n <span>{MainContent}</span>\n </DSTooltipV3>\n ) : (\n MainContent\n )}\n <StyledWrapperLeftBorder />\n {showClose && !disabled ? (\n <CloseButton onClick={onClose} value={dsId}>\n <CloseXsmall />\n </CloseButton>\n ) : null}\n </StyledWrapper>\n </StyledTileButton>\n );\n};\n\nTileButton.propTypes = propsTileButton;\nTileButton.defaultProps = defaultTileButton;\n\nconst TileButtonWithSchema = describe(TileButton);\nTileButtonWithSchema.propTypes = propsTileButton;\n\nexport { TileButton, TileButtonWithSchema };\n"],"names":["TileButton","props","useValidateProps","TileButtonWithSchema","toJSON","label","title","dsId","onClick","onFocus","onBlur","Icon","showClose","onClose","badge","badgeColor","badgePosition","disabled","selected","isHeader","ariaLabel","tooltipPlacement","disableTooltip","handleClick","React","useCallback","MainContent","useMemo","undefined","propTypes","propsTileButton","defaultProps","defaultTileButton","describe"],"mappings":";;;;;;;;;;;;;IAkBMA,UAAU,GAAG,SAAbA,UAAa,CAACC,KAAD,EAAyC;AAC1DC,EAAAA,gBAAgB,CAACD,KAAD,EAAQE,oBAAoB,CAACC,MAArB,EAAR,CAAhB;AAEA,MACEC,KADF,GAmBIJ,KAnBJ,CACEI,KADF;AAAA,MAEEC,KAFF,GAmBIL,KAnBJ,CAEEK,KAFF;AAAA,MAGEC,IAHF,GAmBIN,KAnBJ,CAGEM,IAHF;AAAA,MAIEC,OAJF,GAmBIP,KAnBJ,CAIEO,OAJF;AAAA,MAKEC,OALF,GAmBIR,KAnBJ,CAKEQ,OALF;AAAA,MAMEC,MANF,GAmBIT,KAnBJ,CAMES,MANF;AAAA,MAOEC,IAPF,GAmBIV,KAnBJ,CAOEU,IAPF;AAAA,MAQEC,SARF,GAmBIX,KAnBJ,CAQEW,SARF;AAAA,MASEC,OATF,GAmBIZ,KAnBJ,CASEY,OATF;AAAA,MAUEC,KAVF,GAmBIb,KAnBJ,CAUEa,KAVF;AAAA,MAWEC,UAXF,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AACrCG,oBAAoB,CAAC0B,SAArB,GAAiCC,eAAjC;;;;"}
1
+ {"version":3,"file":"TileButton.js","sources":["../../../../src/parts/tile-button/TileButton.tsx"],"sourcesContent":["import React from 'react';\nimport { describe } from 'react-desc';\nimport { DSTooltipV3 } from '@elliemae/ds-tooltip';\nimport { Grid } from '@elliemae/ds-grid';\nimport CloseXsmall from '@elliemae/ds-icons/CloseXsmall';\nimport {\n StyledTileButton,\n StyledTileButtonIcon,\n StyledTileButtonLabel,\n StyledWrapper,\n StyledWrapperLeftBorder,\n StyledStatusBadge,\n StyledWrapperCentralContent,\n CloseButton,\n} from './styled';\nimport { propsTileButton, defaultTileButton, TileButtonProps } from './props';\nimport { useValidateProps } from './config/useValidateProps';\n\nconst TileButton = (props: TileButtonProps): JSX.Element => {\n useValidateProps(props, TileButtonWithSchema.toJSON());\n\n const {\n label,\n title,\n dsId,\n onClick,\n onFocus,\n onBlur,\n Icon,\n showClose,\n onClose,\n badge,\n badgeColor,\n badgePosition,\n disabled,\n selected,\n isHeader,\n ariaLabel,\n tooltipPlacement,\n disableTooltip,\n } = props;\n const handleClick = React.useCallback(() => {\n onClick(dsId, title);\n }, [dsId, onClick, title]);\n\n const MainContent = React.useMemo(\n () => (\n <StyledWrapperCentralContent alignItems={isHeader ? 'center' : undefined}>\n <Grid width=\"100%\" alignItems=\"center\" justifyContent=\"center\">\n <StyledTileButtonIcon alignItems=\"center\" justifyContent=\"center\">\n <Icon size=\"m\" />\n {badge ? <StyledStatusBadge badgeColor={badgeColor} badgePosition={badgePosition} /> : null}\n </StyledTileButtonIcon>\n </Grid>\n {!isHeader ? (\n <Grid width=\"100%\" justifyContent=\"center\">\n {label ? <StyledTileButtonLabel>{label}</StyledTileButtonLabel> : null}\n </Grid>\n ) : null}\n </StyledWrapperCentralContent>\n ),\n [isHeader, Icon, badge, badgeColor, badgePosition, label],\n );\n\n const Btn = React.useMemo(\n () => (\n <StyledTileButton\n key={dsId}\n isHeader={isHeader}\n value={dsId}\n data-testid={`tile-button-${dsId}`}\n onClick={handleClick}\n onFocus={onFocus}\n onBlur={onBlur}\n disabled={disabled}\n selected={selected}\n badgeColor={badgeColor}\n badgePosition={badgePosition}\n aria-pressed={selected}\n aria-label={ariaLabel}\n >\n <StyledWrapper alignItems=\"center\" justifyContent=\"center\">\n <span>{MainContent}</span>\n <StyledWrapperLeftBorder />\n {showClose && !disabled ? (\n <CloseButton onClick={onClose} value={dsId}>\n <CloseXsmall />\n </CloseButton>\n ) : null}\n </StyledWrapper>\n </StyledTileButton>\n ),\n [\n MainContent,\n ariaLabel,\n badgeColor,\n badgePosition,\n disabled,\n dsId,\n handleClick,\n isHeader,\n onBlur,\n onClose,\n onFocus,\n selected,\n showClose,\n ],\n );\n\n return title && !disableTooltip ? (\n <DSTooltipV3 id={`ds-chat-tile-tooltip-button-${dsId}`} text={title} startPlacementPreference={tooltipPlacement}>\n {Btn}\n </DSTooltipV3>\n ) : (\n Btn\n );\n};\n\nTileButton.propTypes = propsTileButton;\nTileButton.defaultProps = defaultTileButton;\n\nconst TileButtonWithSchema = describe(TileButton);\nTileButtonWithSchema.propTypes = propsTileButton;\n\nexport { TileButton, TileButtonWithSchema };\n"],"names":["TileButton","props","useValidateProps","TileButtonWithSchema","toJSON","label","title","dsId","onClick","onFocus","onBlur","Icon","showClose","onClose","badge","badgeColor","badgePosition","disabled","selected","isHeader","ariaLabel","tooltipPlacement","disableTooltip","handleClick","React","useCallback","MainContent","useMemo","undefined","Btn","propTypes","propsTileButton","defaultProps","defaultTileButton","describe"],"mappings":";;;;;;;;;;;;;IAkBMA,UAAU,GAAG,SAAbA,UAAa,CAACC,KAAD,EAAyC;AAC1DC,EAAAA,gBAAgB,CAACD,KAAD,EAAQE,oBAAoB,CAACC,MAArB,EAAR,CAAhB;AAEA,MACEC,KADF,GAmBIJ,KAnBJ,CACEI,KADF;AAAA,MAEEC,KAFF,GAmBIL,KAnBJ,CAEEK,KAFF;AAAA,MAGEC,IAHF,GAmBIN,KAnBJ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O,EAAEJ,OAAtB;AAA+B,MAAA,KAAK,EAAEN;AAAtC,oBACE,oBAAC,WAAD,OADF,CADD,GAIG,IAPN,CAfF,CADF;AAAA,GADU,EA4BV,CACEmB,WADF,EAEEN,SAFF,EAGEL,UAHF,EAIEC,aAJF,EAKEC,QALF,EAMEV,IANF,EAOEgB,WAPF,EAQEJ,QARF,EASET,MATF,EAUEG,OAVF,EAWEJ,OAXF,EAYES,QAZF,EAaEN,SAbF,CA5BU,CAAZ;AA6CA,SAAON,KAAK,IAAI,CAACgB,cAAV,gBACL,oBAAC,WAAD;AAAa,IAAA,EAAE,wCAAiCf,IAAjC,CAAf;AAAwD,IAAA,IAAI,EAAED,KAA9D;AAAqE,IAAA,wBAAwB,EAAEe;AAA/F,KACGQ,GADH,CADK,GAKLA,GALF;AAOD;;AAED7B,UAAU,CAAC8B,SAAX,GAAuBC,eAAvB;AACA/B,UAAU,CAACgC,YAAX,GAA0BC,iBAA1B;IAEM9B,oBAAoB,GAAG+B,QAAQ,CAAClC,UAAD;AACrCG,oBAAoB,CAAC2B,SAArB,GAAiCC,eAAjC;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elliemae/ds-chat",
3
- "version": "1.56.0-rc.0",
3
+ "version": "1.56.1",
4
4
  "license": "MIT",
5
5
  "description": "Ellie Mae - Dim Sum - Chat",
6
6
  "main": "cjs/index.js",
@@ -16,14 +16,14 @@
16
16
  "directory": "dist"
17
17
  },
18
18
  "dependencies": {
19
- "@elliemae/ds-banner": "1.56.0-rc.0",
20
- "@elliemae/ds-basic": "1.56.0-rc.0",
21
- "@elliemae/ds-button": "1.56.0-rc.0",
22
- "@elliemae/ds-grid": "1.56.0-rc.0",
23
- "@elliemae/ds-icons": "1.56.0-rc.0",
24
- "@elliemae/ds-props-helpers": "1.56.0-rc.0",
25
- "@elliemae/ds-tooltip": "1.56.0-rc.0",
26
- "@elliemae/ds-truncated-tooltip-text": "1.56.0-rc.0",
19
+ "@elliemae/ds-banner": "1.56.1",
20
+ "@elliemae/ds-basic": "1.56.1",
21
+ "@elliemae/ds-button": "1.56.1",
22
+ "@elliemae/ds-grid": "1.56.1",
23
+ "@elliemae/ds-icons": "1.56.1",
24
+ "@elliemae/ds-props-helpers": "1.56.1",
25
+ "@elliemae/ds-tooltip": "1.56.1",
26
+ "@elliemae/ds-truncated-tooltip-text": "1.56.1",
27
27
  "prop-types": "~15.7.2",
28
28
  "react-desc": "^4.1.2",
29
29
  "react-virtual": "^2.3.2"