@pega/cosmos-react-work 7.0.0-build.17.9 → 7.0.0-build.18.0

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.
Files changed (69) hide show
  1. package/lib/components/CasePreview/CasePreview.d.ts.map +1 -1
  2. package/lib/components/CasePreview/CasePreview.js +22 -3
  3. package/lib/components/CasePreview/CasePreview.js.map +1 -1
  4. package/lib/components/CaseView/CaseView.d.ts.map +1 -1
  5. package/lib/components/CaseView/CaseView.js +36 -10
  6. package/lib/components/CaseView/CaseView.js.map +1 -1
  7. package/lib/components/CaseView/CaseView.styles.d.ts +7 -1
  8. package/lib/components/CaseView/CaseView.styles.d.ts.map +1 -1
  9. package/lib/components/CaseView/CaseView.styles.js +51 -11
  10. package/lib/components/CaseView/CaseView.styles.js.map +1 -1
  11. package/lib/components/CaseView/CaseView.types.d.ts +10 -2
  12. package/lib/components/CaseView/CaseView.types.d.ts.map +1 -1
  13. package/lib/components/CaseView/CaseView.types.js.map +1 -1
  14. package/lib/components/CaseView/UtilitySummaryItemDialog.d.ts.map +1 -1
  15. package/lib/components/CaseView/UtilitySummaryItemDialog.js +0 -1
  16. package/lib/components/CaseView/UtilitySummaryItemDialog.js.map +1 -1
  17. package/lib/components/Details/Details.d.ts +22 -17
  18. package/lib/components/Details/Details.d.ts.map +1 -1
  19. package/lib/components/Details/Details.js +61 -49
  20. package/lib/components/Details/Details.js.map +1 -1
  21. package/lib/components/Details/Details.styles.d.ts +17 -27
  22. package/lib/components/Details/Details.styles.d.ts.map +1 -1
  23. package/lib/components/Details/Details.styles.js +168 -127
  24. package/lib/components/Details/Details.styles.js.map +1 -1
  25. package/lib/components/Details/DetailsList.d.ts +14 -0
  26. package/lib/components/Details/DetailsList.d.ts.map +1 -0
  27. package/lib/components/Details/DetailsList.js +31 -0
  28. package/lib/components/Details/DetailsList.js.map +1 -0
  29. package/lib/components/Details/index.d.ts +2 -1
  30. package/lib/components/Details/index.d.ts.map +1 -1
  31. package/lib/components/Details/index.js +2 -1
  32. package/lib/components/Details/index.js.map +1 -1
  33. package/lib/components/GenAICoach/GenAICoach.d.ts +7 -0
  34. package/lib/components/GenAICoach/GenAICoach.d.ts.map +1 -0
  35. package/lib/components/GenAICoach/GenAICoach.js +151 -0
  36. package/lib/components/GenAICoach/GenAICoach.js.map +1 -0
  37. package/lib/components/GenAICoach/GenAICoach.styles.d.ts +29 -0
  38. package/lib/components/GenAICoach/GenAICoach.styles.d.ts.map +1 -0
  39. package/lib/components/GenAICoach/GenAICoach.styles.js +211 -0
  40. package/lib/components/GenAICoach/GenAICoach.styles.js.map +1 -0
  41. package/lib/components/GenAICoach/GenAICoach.test-ids.d.ts +2 -0
  42. package/lib/components/GenAICoach/GenAICoach.test-ids.d.ts.map +1 -0
  43. package/lib/components/GenAICoach/GenAICoach.test-ids.js +3 -0
  44. package/lib/components/GenAICoach/GenAICoach.test-ids.js.map +1 -0
  45. package/lib/components/GenAICoach/GenAICoach.types.d.ts +53 -0
  46. package/lib/components/GenAICoach/GenAICoach.types.d.ts.map +1 -0
  47. package/lib/components/GenAICoach/GenAICoach.types.js +2 -0
  48. package/lib/components/GenAICoach/GenAICoach.types.js.map +1 -0
  49. package/lib/components/GenAICoach/GenAICoach.utils.d.ts +9 -0
  50. package/lib/components/GenAICoach/GenAICoach.utils.d.ts.map +1 -0
  51. package/lib/components/GenAICoach/GenAICoach.utils.js +10 -0
  52. package/lib/components/GenAICoach/GenAICoach.utils.js.map +1 -0
  53. package/lib/components/GenAICoach/GenAIMessage.d.ts +5 -0
  54. package/lib/components/GenAICoach/GenAIMessage.d.ts.map +1 -0
  55. package/lib/components/GenAICoach/GenAIMessage.js +25 -0
  56. package/lib/components/GenAICoach/GenAIMessage.js.map +1 -0
  57. package/lib/components/GenAICoach/InitialSuggestedMessage.d.ts +5 -0
  58. package/lib/components/GenAICoach/InitialSuggestedMessage.d.ts.map +1 -0
  59. package/lib/components/GenAICoach/InitialSuggestedMessage.js +18 -0
  60. package/lib/components/GenAICoach/InitialSuggestedMessage.js.map +1 -0
  61. package/lib/components/GenAICoach/index.d.ts +6 -0
  62. package/lib/components/GenAICoach/index.d.ts.map +1 -0
  63. package/lib/components/GenAICoach/index.js +5 -0
  64. package/lib/components/GenAICoach/index.js.map +1 -0
  65. package/lib/index.d.ts +2 -0
  66. package/lib/index.d.ts.map +1 -1
  67. package/lib/index.js +2 -0
  68. package/lib/index.js.map +1 -1
  69. package/package.json +2 -2
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GenAIMessage.d.ts","sourceRoot":"","sources":["../../../src/components/GenAICoach/GenAIMessage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAe/C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAY5D,QAAA,MAAM,YAAY,EAAE,iBAAiB,CAAC,iBAAiB,CAmDtD,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -0,0 +1,25 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { Button, Flex, Icon, Progress, registerIcon, useI18n, useTheme, Text, useTestIds } from '@pega/cosmos-react-core';
3
+ import * as polarisSolidIcon from '@pega/cosmos-react-core/lib/components/Icon/icons/polaris-solid.icon';
4
+ import { StyledMessage, StyledParagraph, StyledSuggestion, StyledSuggestionsContainer } from './GenAICoach.styles';
5
+ import { getGenAICoachTestIds } from './GenAICoach.test-ids';
6
+ import { isCoachMessage, isUserMessage } from './GenAICoach.utils';
7
+ registerIcon(polarisSolidIcon);
8
+ const GenAIMessage = function GenAIMessage(props) {
9
+ const testIds = useTestIds(props.testId, getGenAICoachTestIds);
10
+ const theme = useTheme();
11
+ const t = useI18n();
12
+ if (isCoachMessage(props)) {
13
+ const { coachName, message, suggestions, onSend, loading } = props;
14
+ return (_jsxs(Flex, { container: { direction: 'column' }, "data-testid": testIds.root, children: [_jsxs(Flex, { container: { gap: 1 }, children: [_jsx(Icon, { name: 'polaris-solid', color: theme.base.palette.ai, size: 's' }), _jsx(Text, { as: 'span', variant: 'h4', children: coachName })] }), _jsxs(StyledParagraph, { children: [message, loading && _jsx(Progress, { variant: 'ellipsis', placement: 'inline' })] }), suggestions && (_jsx(Flex, { as: StyledSuggestionsContainer, container: { direction: 'column', gap: 1 }, children: suggestions.map(({ id, message: prompt }) => {
15
+ return (_jsx(Button, { as: StyledSuggestion, onClick: onSend ? () => onSend({ id, message: prompt }) : undefined, children: prompt }, id));
16
+ }) }))] }));
17
+ }
18
+ if (isUserMessage(props)) {
19
+ const { message } = props;
20
+ return (_jsxs(Flex, { container: { direction: 'column' }, "data-testid": testIds.root, children: [_jsx(Text, { as: 'span', variant: 'h4', children: t('you') }), _jsx(StyledMessage, { children: message })] }));
21
+ }
22
+ return null;
23
+ };
24
+ export default GenAIMessage;
25
+ //# sourceMappingURL=GenAIMessage.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GenAIMessage.js","sourceRoot":"","sources":["../../../src/components/GenAICoach/GenAIMessage.tsx"],"names":[],"mappings":";AAEA,OAAO,EACL,MAAM,EACN,IAAI,EACJ,IAAI,EACJ,QAAQ,EACR,YAAY,EACZ,OAAO,EACP,QAAQ,EACR,IAAI,EACJ,UAAU,EACX,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,gBAAgB,MAAM,sEAAsE,CAAC;AAGzG,OAAO,EACL,aAAa,EACb,eAAe,EACf,gBAAgB,EAChB,0BAA0B,EAC3B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAC7D,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAEnE,YAAY,CAAC,gBAAgB,CAAC,CAAC;AAE/B,MAAM,YAAY,GAAyC,SAAS,YAAY,CAAC,KAAK;IACpF,MAAM,OAAO,GAAG,UAAU,CAAC,KAAK,CAAC,MAAM,EAAE,oBA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AC,CAAC,GACG,CACR,IACI,CACR,CAAC;KACH;IAED,IAAI,aAAa,CAAC,KAAK,CAAC,EAAE;QACxB,MAAM,EAAE,OAAO,EAAE,GAAG,KAAK,CAAC;QAC1B,OAAO,CACL,MAAC,IAAI,IAAC,SAAS,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,iBAAe,OAAO,CAAC,IAAI,aACjE,KAAC,IAAI,IAAC,EAAE,EAAC,MAAM,EAAC,OAAO,EAAC,IAAI,YACzB,CAAC,CAAC,KAAK,CAAC,GACJ,EACP,KAAC,aAAa,cAAE,OAAO,GAAiB,IACnC,CACR,CAAC;KACH;IAED,OAAO,IAAI,CAAC;AACd,CAAC,CAAC;AAEF,eAAe,YAAY,CAAC","sourcesContent":["import type { FunctionComponent } from 'react';\n\nimport {\n Button,\n Flex,\n Icon,\n Progress,\n registerIcon,\n useI18n,\n useTheme,\n Text,\n useTestIds\n} from '@pega/cosmos-react-core';\nimport * as polarisSolidIcon from '@pega/cosmos-react-core/lib/components/Icon/icons/polaris-solid.icon';\n\nimport type { GenAIMessageProps } from './GenAICoach.types';\nimport {\n StyledMessage,\n StyledParagraph,\n StyledSuggestion,\n StyledSuggestionsContainer\n} from './GenAICoach.styles';\nimport { getGenAICoachTestIds } from './GenAICoach.test-ids';\nimport { isCoachMessage, isUserMessage } from './GenAICoach.utils';\n\nregisterIcon(polarisSolidIcon);\n\nconst GenAIMessage: FunctionComponent<GenAIMessageProps> = function GenAIMessage(props) {\n const testIds = useTestIds(props.testId, getGenAICoachTestIds);\n const theme = useTheme();\n const t = useI18n();\n if (isCoachMessage(props)) {\n const { coachName, message, suggestions, onSend, loading } = props;\n return (\n <Flex container={{ direction: 'column' }} data-testid={testIds.root}>\n <Flex container={{ gap: 1 }}>\n <Icon name='polaris-solid' color={theme.base.palette.ai} size='s' />\n <Text as='span' variant='h4'>\n {coachName}\n </Text>\n </Flex>\n <StyledParagraph>\n {message}\n {loading && <Progress variant='ellipsis' placement='inline' />}\n </StyledParagraph>\n\n {suggestions && (\n <Flex as={StyledSuggestionsContainer} container={{ direction: 'column', gap: 1 }}>\n {suggestions.map(({ id, message: prompt }) => {\n return (\n <Button\n as={StyledSuggestion}\n onClick={onSend ? () => onSend({ id, message: prompt }) : undefined}\n key={id}\n >\n {prompt}\n </Button>\n );\n })}\n </Flex>\n )}\n </Flex>\n );\n }\n\n if (isUserMessage(props)) {\n const { message } = props;\n return (\n <Flex container={{ direction: 'column' }} data-testid={testIds.root}>\n <Text as='span' variant='h4'>\n {t('you')}\n </Text>\n <StyledMessage>{message}</StyledMessage>\n </Flex>\n );\n }\n\n return null;\n};\n\nexport default GenAIMessage;\n"]}
@@ -0,0 +1,5 @@
1
+ import type { FunctionComponent } from 'react';
2
+ import type { InitialSuggestedMessageProps } from './GenAICoach.types';
3
+ declare const InitialSuggestedMessage: FunctionComponent<InitialSuggestedMessageProps>;
4
+ export default InitialSuggestedMessage;
5
+ //# sourceMappingURL=InitialSuggestedMessage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InitialSuggestedMessage.d.ts","sourceRoot":"","sources":["../../../src/components/GenAICoach/InitialSuggestedMessage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAmB,MAAM,OAAO,CAAC;AAIhE,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,oBAAoB,CAAC;AAIvE,QAAA,MAAM,uBAAuB,EAAE,iBAAiB,CAAC,4BAA4B,CAiC1E,CAAC;AAEJ,eAAe,uBAAuB,CAAC"}
@@ -0,0 +1,18 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { Card, CardContent, Flex, Icon, useDirection, useTestIds } from '@pega/cosmos-react-core';
3
+ import { StyledSuggestedMessage } from './GenAICoach.styles';
4
+ import { getGenAICoachTestIds } from './GenAICoach.test-ids';
5
+ const InitialSuggestedMessage = function SuggestionCard({ id, message, testId, onSend }) {
6
+ const testIds = useTestIds(testId, getGenAICoachTestIds);
7
+ const { end } = useDirection();
8
+ return (_jsxs(Card, { container: { justify: 'between' }, as: StyledSuggestedMessage, onClick: () => {
9
+ onSend({ id, message });
10
+ }, onKeyDown: (e) => {
11
+ if (e.key === 'Enter') {
12
+ e.preventDefault();
13
+ onSend({ id, message });
14
+ }
15
+ }, "data-testId": testIds.root, children: [_jsx(CardContent, { children: _jsx(Flex, { container: { alignItems: 'center' }, children: message }) }), _jsx(Flex, { container: { alignItems: 'center' }, children: _jsx(Icon, { name: `arrow-${end}` }) })] }));
16
+ };
17
+ export default InitialSuggestedMessage;
18
+ //# sourceMappingURL=InitialSuggestedMessage.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InitialSuggestedMessage.js","sourceRoot":"","sources":["../../../src/components/GenAICoach/InitialSuggestedMessage.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,IAAI,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAGlG,OAAO,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAC7D,OAAO,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAE7D,MAAM,uBAAuB,GAC3B,SAAS,cAAc,CAAC,EACtB,EAAE,EACF,OAAO,EACP,MAAM,EACN,MAAM,EACwC;IAC9C,MAAM,OAAO,GAAG,UAAU,CAAC,MAAM,EAAE,oBAAoB,CAAC,CAAC;IACzD,MAAM,EAAE,GAAG,EAAE,GAAG,YAAY,EAAE,CAAC;IAE/B,OAAO,CACL,MAAC,IAAI,IACH,SAAS,EAAE,EAAE,OAAO,EAAE,SAAS,EAAE,EACjC,EAAE,EAAE,sBAAsB,EAC1B,OAAO,EAAE,GAAG,EAAE;YACZ,MAAM,CAAC,EAAE,EAAE,EAAE,OAAO,EAAE,CAAC,CAAC;QAC1B,CAAC,EACD,SAAS,EAAE,CAAC,CAAgB,EAAE,EAAE;YAC9B,IAAI,CAAC,CAAC,GAAG,KAAK,OAAO,EAAE;gBACrB,CAAC,CAAC,cAAc,EAAE,CAAC;gBACnB,MAAM,CAAC,EAAE,EAAE,EAAE,OAAO,EAAE,CAAC,CAAC;aACzB;QACH,CAAC,iBACY,OAAO,CAAC,IAAI,aAEzB,KAAC,WAAW,cACV,KAAC,IAAI,IAAC,SAAS,EAAE,EAAE,UAAU,EAAE,QAAQ,EAAE,YAAG,OAAO,GAAQ,GAC/C,EACd,KAAC,IAAI,IAAC,SAAS,EAAE,EAAE,UAAU,EAAE,QAAQ,EAAE,YACvC,KAAC,IAAI,IAAC,IAAI,EAAE,SAAS,GAAG,EAAE,GAAI,GACzB,IACF,CACR,CAAC;AACJ,CAAC,CAAC;AAEJ,eAAe,uBAAuB,CAAC","sourcesContent":["import type { FunctionComponent, PropsWithoutRef } from 'react';\n\nimport { Card, CardContent, Flex, Icon, useDirection, useTestIds } from '@pega/cosmos-react-core';\n\nimport type { InitialSuggestedMessageProps } from './GenAICoach.types';\nimport { StyledSuggestedMessage } from './GenAICoach.styles';\nimport { getGenAICoachTestIds } from './GenAICoach.test-ids';\n\nconst InitialSuggestedMessage: FunctionComponent<InitialSuggestedMessageProps> =\n function SuggestionCard({\n id,\n message,\n testId,\n onSend\n }: PropsWithoutRef<InitialSuggestedMessageProps>) {\n const testIds = useTestIds(testId, getGenAICoachTestIds);\n const { end } = useDirection();\n\n return (\n <Card\n container={{ justify: 'between' }}\n as={StyledSuggestedMessage}\n onClick={() => {\n onSend({ id, message });\n }}\n onKeyDown={(e: KeyboardEvent) => {\n if (e.key === 'Enter') {\n e.preventDefault();\n onSend({ id, message });\n }\n }}\n data-testId={testIds.root}\n >\n <CardContent>\n <Flex container={{ alignItems: 'center' }}>{message}</Flex>\n </CardContent>\n <Flex container={{ alignItems: 'center' }}>\n <Icon name={`arrow-${end}`} />\n </Flex>\n </Card>\n );\n };\n\nexport default InitialSuggestedMessage;\n"]}
@@ -0,0 +1,6 @@
1
+ export { default } from './GenAICoach';
2
+ export type { GenAICoachProps, GenAIMessageProps, UserMessageProps, CoachMessageProps, MessageProps } from './GenAICoach.types';
3
+ export { default as GenAIMessage } from './GenAIMessage';
4
+ export { default as InitialSuggestedMessage } from './InitialSuggestedMessage';
5
+ export { isUserMessage, isCoachMessage } from './GenAICoach.utils';
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/GenAICoach/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,YAAY,EACV,eAAe,EACf,iBAAiB,EACjB,gBAAgB,EAChB,iBAAiB,EACjB,YAAY,EACb,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACzD,OAAO,EAAE,OAAO,IAAI,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAC/E,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC"}
@@ -0,0 +1,5 @@
1
+ export { default } from './GenAICoach';
2
+ export { default as GenAIMessage } from './GenAIMessage';
3
+ export { default as InitialSuggestedMessage } from './InitialSuggestedMessage';
4
+ export { isUserMessage, isCoachMessage } from './GenAICoach.utils';
5
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/GenAICoach/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAQvC,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACzD,OAAO,EAAE,OAAO,IAAI,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAC/E,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC","sourcesContent":["export { default } from './GenAICoach';\nexport type {\n GenAICoachProps,\n GenAIMessageProps,\n UserMessageProps,\n CoachMessageProps,\n MessageProps\n} from './GenAICoach.types';\nexport { default as GenAIMessage } from './GenAIMessage';\nexport { default as InitialSuggestedMessage } from './InitialSuggestedMessage';\nexport { isUserMessage, isCoachMessage } from './GenAICoach.utils';\n"]}
package/lib/index.d.ts CHANGED
@@ -16,6 +16,8 @@ export { default as Confirmation } from './components/Confirmation';
16
16
  export * from './components/Confirmation';
17
17
  export { default as Details } from './components/Details';
18
18
  export * from './components/Details';
19
+ export { default as GenAICoach } from './components/GenAICoach';
20
+ export * from './components/GenAICoach';
19
21
  export { default as Glimpse } from './components/Glimpse';
20
22
  export * from './components/Glimpse';
21
23
  export { default as IntelligentGuidance } from './components/IntelligentGuidance';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAC1E,cAAc,8BAA8B,CAAC;AAC7C,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAC1D,cAAc,sBAAsB,CAAC;AACrC,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAClE,cAAc,0BAA0B,CAAC;AACzC,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAClE,cAAc,0BAA0B,CAAC;AACzC,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAClE,cAAc,0BAA0B,CAAC;AACzC,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,cAAc,uBAAuB,CAAC;AACtC,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAChF,cAAc,iCAAiC,CAAC;AAChD,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACpE,cAAc,2BAA2B,CAAC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EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACpE,cAAc,2BAA2B,CAAC;AAC1C,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,mBAAmB,CAAC;AACpD,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,oBAAoB,CAAC;AACtD,cAAc,oBAAoB,CAAC;AACnC,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,cAAc,uBAAuB,CAAC"}
package/lib/index.js CHANGED
@@ -17,6 +17,8 @@ export { default as Confirmation } from './components/Confirmation';
17
17
  export * from './components/Confirmation';
18
18
  export { default as Details } from './components/Details';
19
19
  export * from './components/Details';
20
+ export { default as GenAICoach } from './components/GenAICoach';
21
+ export * from './components/GenAICoach';
20
22
  export { default as Glimpse } from './components/Glimpse';
21
23
  export * from './components/Glimpse';
22
24
  export { default as IntelligentGuidance } from './components/IntelligentGuidance';
package/lib/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,+DAA+D;AAC/D,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAC1E,cAAc,8BAA8B,CAAC;AAC7C,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAC1D,cAAc,sBAAsB,CAAC;AACrC,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAClE,cAAc,0BAA0B,CAAC;AACzC,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAClE,cAAc,0BAA0B,CAAC;AACzC,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAClE,cAAc,0BAA0B,CAAC;AACzC,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,u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AppAnnouncement } from './components/AppAnnouncement';\nexport * from './components/AppAnnouncement';\nexport { default as Article } from './components/Article';\nexport * from './components/Article';\nexport { default as ArticleList } from './components/ArticleList';\nexport * from './components/ArticleList';\nexport { default as Assignments } from './components/Assignments';\nexport * from './components/Assignments';\nexport { default as CasePreview } from './components/CasePreview';\nexport * from './components/CasePreview';\nexport { default as CaseView } from './components/CaseView';\nexport * from './components/CaseView';\nexport { default as ConfigurableLayout } from './components/ConfigurableLayout';\nexport * from './components/ConfigurableLayout';\nexport { default as Confirmation } from './components/Confirmation';\nexport * from './components/Confirmation';\nexport { default as Details } from './components/Details';\nexport * from './components/Details';\nexport { default as Glimpse } from './components/Glimpse';\nexport * from './components/Glimpse';\nexport { default as IntelligentGuidance } from './components/IntelligentGuidance';\nexport * from './components/IntelligentGuidance';\nexport { default as InteractionNotification } from './components/InteractionNotification';\nexport { default as Predictions } from './components/Predictions';\nexport * from './components/Predictions';\nexport { default as SearchResults } from './components/SearchResults';\nexport * from './components/SearchResults';\nexport { default as Stages } from './components/Stages';\nexport * from './components/Stages';\nexport { default as Stakeholders } from './components/Stakeholders';\nexport * from './components/Stakeholders';\nexport { default as Tags } from './components/Tags';\nexport * from './components/Tags';\nexport { default as Tasks } from './components/Tasks';\nexport * from './components/Tasks';\nexport { default as Timeline } from './components/Timeline';\nexport * from './components/Timeline';\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,+DAA+D;AAC/D,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAC1E,cAAc,8BAA8B,CAAC;AAC7C,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAC1D,cAAc,sBAAsB,CAAC;AACrC,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAClE,cAAc,0BAA0B,CAAC;AACzC,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE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EAAE,MAAM,mBAAmB,CAAC;AACpD,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,oBAAoB,CAAC;AACtD,cAAc,oBAAoB,CAAC;AACnC,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,cAAc,uBAAuB,CAAC","sourcesContent":["// This file is autogenerated. Any changes will be overwritten.\nexport { default as AppAnnouncement } from './components/AppAnnouncement';\nexport * from './components/AppAnnouncement';\nexport { default as Article } from './components/Article';\nexport * from './components/Article';\nexport { default as ArticleList } from './components/ArticleList';\nexport * from './components/ArticleList';\nexport { default as Assignments } from './components/Assignments';\nexport * from './components/Assignments';\nexport { default as CasePreview } from './components/CasePreview';\nexport * from './components/CasePreview';\nexport { default as CaseView } from './components/CaseView';\nexport * from './components/CaseView';\nexport { default as ConfigurableLayout } from './components/ConfigurableLayout';\nexport * from './components/ConfigurableLayout';\nexport { default as Confirmation } from './components/Confirmation';\nexport * from './components/Confirmation';\nexport { default as Details } from './components/Details';\nexport * from './components/Details';\nexport { default as GenAICoach } from './components/GenAICoach';\nexport * from './components/GenAICoach';\nexport { default as Glimpse } from './components/Glimpse';\nexport * from './components/Glimpse';\nexport { default as IntelligentGuidance } from './components/IntelligentGuidance';\nexport * from './components/IntelligentGuidance';\nexport { default as InteractionNotification } from './components/InteractionNotification';\nexport { default as Predictions } from './components/Predictions';\nexport * from './components/Predictions';\nexport { default as SearchResults } from './components/SearchResults';\nexport * from './components/SearchResults';\nexport { default as Stages } from './components/Stages';\nexport * from './components/Stages';\nexport { default as Stakeholders } from './components/Stakeholders';\nexport * from './components/Stakeholders';\nexport { default as Tags } from './components/Tags';\nexport * from './components/Tags';\nexport { default as Tasks } from './components/Tasks';\nexport * from './components/Tasks';\nexport { default as Timeline } from './components/Timeline';\nexport * from './components/Timeline';\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pega/cosmos-react-work",
3
- "version": "7.0.0-build.17.9",
3
+ "version": "7.0.0-build.18.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/pegasystems/cosmos-react.git",
@@ -19,7 +19,7 @@
19
19
  "build": "tsc -b tsconfig.build.json"
20
20
  },
21
21
  "dependencies": {
22
- "@pega/cosmos-react-core": "7.0.0-build.17.9",
22
+ "@pega/cosmos-react-core": "7.0.0-build.18.0",
23
23
  "@types/react": "^17.0.62",
24
24
  "@types/react-dom": "^17.0.20",
25
25
  "@types/styled-components": "^5.1.26",