@patternfly/chatbot 6.8.0-prerelease.3 → 6.8.0-prerelease.5

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 (112) hide show
  1. package/dist/cjs/ChatbotConversationHistoryNav/ChatbotConversationHistoryDropdown.js +2 -5
  2. package/dist/cjs/ChatbotConversationHistoryNav/ChatbotConversationHistoryNav.js +3 -3
  3. package/dist/cjs/ChatbotHeader/ChatbotHeaderCloseButton.js +1 -1
  4. package/dist/cjs/ChatbotHeader/ChatbotHeaderMenu.js +2 -5
  5. package/dist/cjs/ChatbotHeader/ChatbotHeaderNewChatButton.js +2 -2
  6. package/dist/cjs/FileDropZone/FileDropZone.js +1 -1
  7. package/dist/cjs/MarkdownContent/MarkdownContent.js +15 -1
  8. package/dist/cjs/Message/CodeBlockMessage/CodeBlockMessage.js +2 -2
  9. package/dist/cjs/Message/LinkMessage/LinkMessage.js +5 -1
  10. package/dist/cjs/Message/Message.test.js +1 -18
  11. package/dist/cjs/Message/QuickStarts/QuickStartTileDescription.js +2 -5
  12. package/dist/cjs/MessageBar/MessageBar.test.js +1 -1
  13. package/dist/cjs/MessageBox/JumpButton.test.js +2 -2
  14. package/dist/cjs/MessageBox/MessageBox.js +79 -28
  15. package/dist/cjs/MessageBox/MessageBox.test.d.ts +1 -1
  16. package/dist/cjs/MessageBox/MessageBox.test.js +59 -0
  17. package/dist/cjs/ResponseActions/ResponseActionButton.test.js +6 -6
  18. package/dist/cjs/ResponseActions/ResponseActions.test.js +6 -7
  19. package/dist/cjs/SourcesCardBase/SourcesCardBase.js +5 -5
  20. package/dist/cjs/index.d.ts +0 -2
  21. package/dist/cjs/index.js +1 -4
  22. package/dist/css/main.css +0 -13
  23. package/dist/css/main.css.map +1 -1
  24. package/dist/esm/ChatbotConversationHistoryNav/ChatbotConversationHistoryDropdown.js +2 -2
  25. package/dist/esm/ChatbotConversationHistoryNav/ChatbotConversationHistoryNav.js +4 -4
  26. package/dist/esm/ChatbotHeader/ChatbotHeaderCloseButton.js +2 -2
  27. package/dist/esm/ChatbotHeader/ChatbotHeaderMenu.js +2 -2
  28. package/dist/esm/ChatbotHeader/ChatbotHeaderNewChatButton.js +2 -2
  29. package/dist/esm/FileDropZone/FileDropZone.js +2 -2
  30. package/dist/esm/MarkdownContent/MarkdownContent.js +15 -1
  31. package/dist/esm/Message/CodeBlockMessage/CodeBlockMessage.js +2 -2
  32. package/dist/esm/Message/LinkMessage/LinkMessage.js +6 -2
  33. package/dist/esm/Message/Message.test.js +1 -18
  34. package/dist/esm/Message/QuickStarts/QuickStartTileDescription.js +2 -2
  35. package/dist/esm/MessageBar/MessageBar.test.js +2 -2
  36. package/dist/esm/MessageBox/JumpButton.test.js +2 -2
  37. package/dist/esm/MessageBox/MessageBox.js +80 -29
  38. package/dist/esm/MessageBox/MessageBox.test.d.ts +1 -1
  39. package/dist/esm/MessageBox/MessageBox.test.js +59 -0
  40. package/dist/esm/ResponseActions/ResponseActionButton.test.js +7 -7
  41. package/dist/esm/ResponseActions/ResponseActions.test.js +7 -8
  42. package/dist/esm/SourcesCardBase/SourcesCardBase.js +7 -7
  43. package/dist/esm/index.d.ts +0 -2
  44. package/dist/esm/index.js +0 -2
  45. package/dist/tsconfig.tsbuildinfo +1 -1
  46. package/package.json +2 -2
  47. package/patternfly-docs/content/extensions/chatbot/examples/Messages/MessageWithCustomResponseActions.tsx +3 -4
  48. package/patternfly-docs/content/extensions/chatbot/examples/Messages/MessageWithMarkdownToolResponse.tsx +3 -3
  49. package/patternfly-docs/content/extensions/chatbot/examples/Messages/MessageWithQuickResponses.tsx +3 -3
  50. package/patternfly-docs/content/extensions/chatbot/examples/Messages/MessageWithSources.tsx +3 -3
  51. package/patternfly-docs/content/extensions/chatbot/examples/Messages/MessageWithToolResponse.tsx +5 -5
  52. package/patternfly-docs/content/extensions/chatbot/examples/Messages/Messages.md +1 -1
  53. package/patternfly-docs/content/extensions/chatbot/examples/Messages/UserMessageWithExtraContent.tsx +7 -31
  54. package/patternfly-docs/content/extensions/chatbot/examples/UI/ChatbotHeaderBasic.tsx +4 -6
  55. package/patternfly-docs/content/extensions/chatbot/examples/UI/ChatbotHeaderDrawer.tsx +3 -3
  56. package/patternfly-docs/content/extensions/chatbot/examples/UI/ChatbotHeaderDrawerResizable.tsx +2 -2
  57. package/patternfly-docs/content/extensions/chatbot/examples/UI/ChatbotHeaderDrawerWithPin.tsx +2 -2
  58. package/patternfly-docs/content/extensions/chatbot/examples/UI/ChatbotHeaderDrawerWithSearchActions.tsx +3 -3
  59. package/patternfly-docs/content/extensions/chatbot/examples/UI/CompactSettings.tsx +10 -5
  60. package/patternfly-docs/content/extensions/chatbot/examples/UI/Settings.tsx +10 -5
  61. package/patternfly-docs/content/extensions/chatbot/examples/UI/UI.md +1 -15
  62. package/patternfly-docs/content/extensions/chatbot/examples/demos/AttachmentDemos.md +2 -4
  63. package/patternfly-docs/content/extensions/chatbot/examples/demos/Chatbot.md +2 -5
  64. package/patternfly-docs/content/extensions/chatbot/examples/demos/Chatbot.tsx +4 -7
  65. package/patternfly-docs/content/extensions/chatbot/examples/demos/ChatbotAttachment.tsx +4 -6
  66. package/patternfly-docs/content/extensions/chatbot/examples/demos/ChatbotAttachmentMenu.tsx +13 -7
  67. package/patternfly-docs/content/extensions/chatbot/examples/demos/ChatbotCompact.tsx +4 -7
  68. package/patternfly-docs/content/extensions/chatbot/examples/demos/ChatbotDisplayMode.tsx +10 -8
  69. package/patternfly-docs/content/extensions/chatbot/examples/demos/ChatbotInDrawer.tsx +2 -2
  70. package/patternfly-docs/content/extensions/chatbot/examples/demos/ChatbotScrolling.tsx +4 -8
  71. package/patternfly-docs/content/extensions/chatbot/examples/demos/ChatbotTranscripts.tsx +4 -7
  72. package/patternfly-docs/content/extensions/chatbot/examples/demos/EmbeddedChatbot.tsx +2 -2
  73. package/patternfly-docs/content/extensions/chatbot/examples/demos/EmbeddedComparisonChatbot.tsx +2 -2
  74. package/patternfly-docs/content/extensions/chatbot/examples/demos/WhiteEmbeddedChatbot.tsx +2 -2
  75. package/src/ChatbotConversationHistoryNav/ChatbotConversationHistoryDropdown.tsx +2 -3
  76. package/src/ChatbotConversationHistoryNav/ChatbotConversationHistoryNav.tsx +4 -4
  77. package/src/ChatbotHeader/ChatbotHeaderCloseButton.tsx +2 -2
  78. package/src/ChatbotHeader/ChatbotHeaderMenu.tsx +2 -2
  79. package/src/ChatbotHeader/ChatbotHeaderNewChatButton.tsx +2 -3
  80. package/src/FileDropZone/FileDropZone.tsx +2 -2
  81. package/src/MarkdownContent/MarkdownContent.tsx +14 -0
  82. package/src/Message/CodeBlockMessage/CodeBlockMessage.tsx +2 -2
  83. package/src/Message/LinkMessage/LinkMessage.tsx +21 -2
  84. package/src/Message/Message.test.tsx +4 -4
  85. package/src/Message/QuickStarts/QuickStartTileDescription.tsx +2 -2
  86. package/src/MessageBar/MessageBar.test.tsx +6 -6
  87. package/src/MessageBox/JumpButton.test.tsx +1 -1
  88. package/src/MessageBox/MessageBox.test.tsx +91 -0
  89. package/src/MessageBox/MessageBox.tsx +137 -40
  90. package/src/ResponseActions/ResponseActionButton.test.tsx +7 -7
  91. package/src/ResponseActions/ResponseActions.test.tsx +7 -8
  92. package/src/SourcesCard/SourcesCard.scss +0 -13
  93. package/src/SourcesCardBase/SourcesCardBase.tsx +7 -32
  94. package/dist/cjs/LoadingMessage/LoadingMessage.d.ts +0 -6
  95. package/dist/cjs/LoadingMessage/LoadingMessage.js +0 -12
  96. package/dist/cjs/LoadingMessage/LoadingMessage.test.d.ts +0 -1
  97. package/dist/cjs/LoadingMessage/LoadingMessage.test.js +0 -20
  98. package/dist/cjs/LoadingMessage/index.d.ts +0 -2
  99. package/dist/cjs/LoadingMessage/index.js +0 -23
  100. package/dist/dynamic/LoadingMessage/package.json +0 -1
  101. package/dist/esm/LoadingMessage/LoadingMessage.d.ts +0 -6
  102. package/dist/esm/LoadingMessage/LoadingMessage.js +0 -5
  103. package/dist/esm/LoadingMessage/LoadingMessage.test.d.ts +0 -1
  104. package/dist/esm/LoadingMessage/LoadingMessage.test.js +0 -15
  105. package/dist/esm/LoadingMessage/index.d.ts +0 -2
  106. package/dist/esm/LoadingMessage/index.js +0 -2
  107. package/patternfly-docs/content/extensions/chatbot/examples/Messages/AttachMenu.tsx +0 -149
  108. package/patternfly-docs/content/extensions/chatbot/examples/Messages/PaperclipIcon.svg +0 -10
  109. package/src/LoadingMessage/LoadingMessage.test.tsx +0 -15
  110. package/src/LoadingMessage/LoadingMessage.tsx +0 -27
  111. package/src/LoadingMessage/__snapshots__/LoadingMessage.test.tsx.snap +0 -64
  112. package/src/LoadingMessage/index.ts +0 -3
@@ -1,7 +1,7 @@
1
1
  import { FunctionComponent, MouseEvent as ReactMouseEvent, KeyboardEvent as ReactKeyboardEvent } from 'react';
2
2
  import Message from '@patternfly/chatbot/dist/dynamic/Message';
3
3
  import { Button, Flex, FlexItem, Label, Popover } from '@patternfly/react-core';
4
- import { OutlinedQuestionCircleIcon } from '@patternfly/react-icons';
4
+ import { RhUiQuestionMarkCircleIcon } from '@patternfly/react-icons';
5
5
 
6
6
  export const MessageWithSourcesExample: FunctionComponent = () => {
7
7
  const onSetPage = (_event: ReactMouseEvent | ReactKeyboardEvent | MouseEvent, newPage: number) => {
@@ -51,7 +51,7 @@ export const MessageWithSourcesExample: FunctionComponent = () => {
51
51
  headerContent={
52
52
  <Flex gap={{ default: 'gapXs' }}>
53
53
  <FlexItem>
54
- <OutlinedQuestionCircleIcon />
54
+ <RhUiQuestionMarkCircleIcon />
55
55
  </FlexItem>
56
56
  <FlexItem>Why this confidence score?</FlexItem>
57
57
  </Flex>
@@ -64,7 +64,7 @@ export const MessageWithSourcesExample: FunctionComponent = () => {
64
64
  </>
65
65
  }
66
66
  >
67
- <Button variant="link" icon={<OutlinedQuestionCircleIcon />}>
67
+ <Button variant="link" icon={<RhUiQuestionMarkCircleIcon />}>
68
68
  Learn about this score
69
69
  </Button>
70
70
  </Popover>
@@ -1,6 +1,6 @@
1
1
  import { useState, FunctionComponent, MouseEvent as ReactMouseEvent } from 'react';
2
2
  import Message from '@patternfly/chatbot/dist/dynamic/Message';
3
- import { CopyIcon, WrenchIcon } from '@patternfly/react-icons';
3
+ import { RhUiBuildFillIcon, RhUiCopyFillIcon } from '@patternfly/react-icons';
4
4
  import {
5
5
  Button,
6
6
  DescriptionList,
@@ -41,7 +41,7 @@ export const MessageWithToolResponseExample: FunctionComponent = () => {
41
41
  <FlexItem grow={{ default: 'grow' }}>
42
42
  <Flex gap={{ default: 'gapXs' }}>
43
43
  <FlexItem>
44
- <WrenchIcon style={{ color: 'var(--pf-t--global--icon--color--brand--default' }} />
44
+ <RhUiBuildFillIcon style={{ color: 'var(--pf-t--global--icon--color--brand--default' }} />
45
45
  </FlexItem>
46
46
  <FlexItem>toolName</FlexItem>
47
47
  </Flex>
@@ -58,7 +58,7 @@ export const MessageWithToolResponseExample: FunctionComponent = () => {
58
58
  <Button
59
59
  variant="plain"
60
60
  aria-label="Copy tool response to clipboard"
61
- icon={<CopyIcon style={{ color: 'var(--pf-t--global--icon--color--subtle)' }} />}
61
+ icon={<RhUiCopyFillIcon style={{ color: 'var(--pf-t--global--icon--color--subtle)' }} />}
62
62
  ></Button>
63
63
  </FlexItem>
64
64
  </Flex>
@@ -152,7 +152,7 @@ export const MessageWithToolResponseExample: FunctionComponent = () => {
152
152
  <FlexItem grow={{ default: 'grow' }}>
153
153
  <Flex gap={{ default: 'gapXs' }}>
154
154
  <FlexItem>
155
- <WrenchIcon style={{ color: 'var(--pf-t--global--icon--color--brand--default' }} />
155
+ <RhUiBuildFillIcon style={{ color: 'var(--pf-t--global--icon--color--brand--default' }} />
156
156
  </FlexItem>
157
157
  <FlexItem>toolName</FlexItem>
158
158
  </Flex>
@@ -169,7 +169,7 @@ export const MessageWithToolResponseExample: FunctionComponent = () => {
169
169
  <Button
170
170
  variant="plain"
171
171
  aria-label="Copy tool response to clipboard"
172
- icon={<CopyIcon style={{ color: 'var(--pf-t--global--icon--color--subtle)' }} />}
172
+ icon={<RhUiCopyFillIcon style={{ color: 'var(--pf-t--global--icon--color--subtle)' }} />}
173
173
  ></Button>
174
174
  </FlexItem>
175
175
  </Flex>
@@ -50,7 +50,7 @@ import ResponseActions, { ResponseActionsGroups } from '@patternfly/chatbot/dist
50
50
  import ToolResponse from '@patternfly/chatbot/dist/dynamic/ToolResponse';
51
51
  import { rehypeCodeBlockToggle } from '@patternfly/chatbot/dist/esm/Message/Plugins/rehypeCodeBlockToggle';
52
52
  import SourcesCard from '@patternfly/chatbot/dist/dynamic/SourcesCard';
53
- import { ArrowCircleDownIcon, ArrowRightIcon, CheckCircleIcon, CopyIcon, CubeIcon, CubesIcon, DownloadIcon, InfoCircleIcon, OutlinedQuestionCircleIcon, RedoIcon, RobotIcon, WrenchIcon } from '@patternfly/react-icons';
53
+ import { RhUiArrowCircleDownFillIcon, RhUiArrowRightIcon, RhUiCheckCircleFillIcon, RhUiCopyFillIcon, RhUiExportIcon, RhMicronsInformationFillIcon, OutlinedQuestionCircleIcon, RhUiRedoIcon, RhUiBuildFillIcon, RhUiQuestionMarkCircleIcon } from '@patternfly/react-icons';
54
54
  import patternflyAvatar from './patternfly_avatar.jpg';
55
55
  import AttachmentEdit from '@patternfly/chatbot/dist/dynamic/AttachmentEdit';
56
56
  import FileDetails from '@patternfly/chatbot/dist/dynamic/FileDetails';
@@ -39,7 +39,7 @@ import {
39
39
  TabTitleText,
40
40
  Spinner
41
41
  } from '@patternfly/react-core';
42
- import { ArrowCircleDownIcon, ArrowRightIcon, CheckCircleIcon, CubeIcon, CubesIcon } from '@patternfly/react-icons';
42
+ import { RhUiArrowCircleDownFillIcon, RhUiArrowRightIcon, RhUiCheckCircleFillIcon } from '@patternfly/react-icons';
43
43
 
44
44
  const UserActionEndContent = () => {
45
45
  // eslint-disable-next-line no-console
@@ -143,7 +143,7 @@ const LiveProgressSummaryCard = () => {
143
143
  const status = getStageStatus(stage);
144
144
 
145
145
  if (status === 'completed') {
146
- return <CheckCircleIcon color="green" aria-label="Complete" />;
146
+ return <RhUiCheckCircleFillIcon color="green" aria-label="Complete" />;
147
147
  } else if (status === 'in-progress') {
148
148
  return <Spinner size="sm" aria-valuetext="In progress" />;
149
149
  } else {
@@ -374,7 +374,7 @@ Setting up cluster console...`;
374
374
  </CardBody>
375
375
  </CardExpandableContent>
376
376
  <CardFooter>
377
- <Button isBlock variant="tertiary" icon={<ArrowRightIcon />} iconPosition="end">
377
+ <Button isBlock variant="tertiary" icon={<RhUiArrowRightIcon />} iconPosition="end">
378
378
  Open in console
379
379
  </Button>
380
380
  </CardFooter>
@@ -536,34 +536,10 @@ const VersionSelectorCard = () => {
536
536
  style={{ '--pf-v6-c-card--child--PaddingBlockEnd': 'var(--pf-t--global--spacer--md)' } as React.CSSProperties}
537
537
  >
538
538
  <Tabs activeKey={activeTabKey} onSelect={handleTabClick} aria-label="Architecture" role="region" isFilled>
539
- <Tab
540
- eventKey={0}
541
- title={
542
- <TabTitleText>
543
- <Flex spaceItems={{ default: 'spaceItemsXs' }}>
544
- <FlexItem>
545
- <CubeIcon />
546
- </FlexItem>
547
- <FlexItem>Single arch</FlexItem>
548
- </Flex>
549
- </TabTitleText>
550
- }
551
- >
539
+ <Tab eventKey={0} title={<TabTitleText>Single arch</TabTitleText>}>
552
540
  {generateTabContent('x86_64 Intel/AMD only', 'Standard deployments • Most common choice')}
553
541
  </Tab>
554
- <Tab
555
- eventKey={1}
556
- title={
557
- <TabTitleText>
558
- <Flex spaceItems={{ default: 'spaceItemsXs' }}>
559
- <FlexItem>
560
- <CubesIcon />
561
- </FlexItem>
562
- <FlexItem>Multi arch</FlexItem>
563
- </Flex>
564
- </TabTitleText>
565
- }
566
- >
542
+ <Tab eventKey={1} title={<TabTitleText>Multi arch</TabTitleText>}>
567
543
  {generateTabContent('Multi arch', 'Standard deployments')}
568
544
  </Tab>
569
545
  </Tabs>
@@ -584,7 +560,7 @@ const DownloadCard = () => (
584
560
  <Flex spaceItems={{ default: 'spaceItemsSm' }}>
585
561
  <FlexItem>
586
562
  <Icon size="lg" status="success">
587
- <CheckCircleIcon />
563
+ <RhUiCheckCircleFillIcon />
588
564
  </Icon>
589
565
  </FlexItem>
590
566
  <FlexItem>Your discovery ISO is ready</FlexItem>
@@ -602,7 +578,7 @@ const DownloadCard = () => (
602
578
 
603
579
  <Flex direction={{ default: 'column' }} spaceItems={{ default: 'spaceItemsSm' }}>
604
580
  <FlexItem>
605
- <Button variant={ButtonVariant.primary} icon={<ArrowCircleDownIcon />} isBlock>
581
+ <Button variant={ButtonVariant.primary} icon={<RhUiArrowCircleDownFillIcon />} isBlock>
606
582
  Download Discovery ISO
607
583
  </Button>
608
584
  </FlexItem>
@@ -21,9 +21,7 @@ import {
21
21
  ChatbotHeaderNewChatButton
22
22
  } from '@patternfly/chatbot/dist/dynamic/ChatbotHeader';
23
23
  import { ChatbotDisplayMode } from '@patternfly/chatbot/dist/dynamic/Chatbot';
24
- import OutlinedWindowRestoreIcon from '@patternfly/react-icons/dist/esm/icons/outlined-window-restore-icon';
25
- import ExpandIcon from '@patternfly/react-icons/dist/esm/icons/expand-icon';
26
- import OpenDrawerRightIcon from '@patternfly/react-icons/dist/esm/icons/open-drawer-right-icon';
24
+ import { RhUiExpandIcon, RhUiOpenDrawerRightIcon, RhUiRestoreWindowIcon } from '@patternfly/react-icons';
27
25
 
28
26
  import PFHorizontalLogoColor from './PF-HorizontalLogo-Color.svg';
29
27
  import PFHorizontalLogoReverse from './PF-HorizontalLogo-Reverse.svg';
@@ -170,21 +168,21 @@ export const BasicDemo: FunctionComponent = () => {
170
168
  <DropdownItem
171
169
  value={ChatbotDisplayMode.default}
172
170
  key="switchDisplayOverlay"
173
- icon={<OutlinedWindowRestoreIcon aria-hidden />}
171
+ icon={<RhUiRestoreWindowIcon aria-hidden />}
174
172
  >
175
173
  <span>Overlay</span>
176
174
  </DropdownItem>
177
175
  <DropdownItem
178
176
  value={ChatbotDisplayMode.docked}
179
177
  key="switchDisplayDock"
180
- icon={<OpenDrawerRightIcon aria-hidden />}
178
+ icon={<RhUiOpenDrawerRightIcon aria-hidden />}
181
179
  >
182
180
  <span>Dock to window</span>
183
181
  </DropdownItem>
184
182
  <DropdownItem
185
183
  value={ChatbotDisplayMode.fullscreen}
186
184
  key="switchDisplayFullscreen"
187
- icon={<ExpandIcon aria-hidden />}
185
+ icon={<RhUiExpandIcon aria-hidden />}
188
186
  >
189
187
  <span>Fullscreen</span>
190
188
  </DropdownItem>
@@ -4,7 +4,7 @@ import ChatbotConversationHistoryNav, {
4
4
  Conversation
5
5
  } from '@patternfly/chatbot/dist/dynamic/ChatbotConversationHistoryNav';
6
6
  import { Checkbox, EmptyStateStatus, Spinner } from '@patternfly/react-core';
7
- import { OutlinedCommentsIcon, SearchIcon } from '@patternfly/react-icons';
7
+ import { RhUiCommentsIcon, RhUiSearchIcon } from '@patternfly/react-icons';
8
8
 
9
9
  const initialConversations: { [key: string]: Conversation[] } = {
10
10
  Today: [{ id: '1', text: 'Red Hat products and services' }],
@@ -50,13 +50,13 @@ const ERROR = {
50
50
  const NO_RESULTS = {
51
51
  bodyText: 'Adjust your search query and try again. Check your spelling or try a more general term.',
52
52
  titleText: 'No results found',
53
- icon: SearchIcon
53
+ icon: RhUiSearchIcon
54
54
  };
55
55
 
56
56
  const EMPTY_STATE = {
57
57
  bodyText: 'Access timely assistance by starting a conversation with an AI model.',
58
58
  titleText: 'Start a new chat',
59
- icon: OutlinedCommentsIcon
59
+ icon: RhUiCommentsIcon
60
60
  };
61
61
 
62
62
  export const ChatbotHeaderTitleDemo: FunctionComponent = () => {
@@ -4,7 +4,7 @@ import ChatbotConversationHistoryNav, {
4
4
  Conversation
5
5
  } from '@patternfly/chatbot/dist/dynamic/ChatbotConversationHistoryNav';
6
6
  import { Checkbox } from '@patternfly/react-core';
7
- import { SearchIcon } from '@patternfly/react-icons';
7
+ import { RhUiSearchIcon } from '@patternfly/react-icons';
8
8
 
9
9
  const initialConversations: { [key: string]: Conversation[] } = {
10
10
  Today: [{ id: '1', text: 'Red Hat products and services' }],
@@ -35,7 +35,7 @@ const initialConversations: { [key: string]: Conversation[] } = {
35
35
  const NO_RESULTS = {
36
36
  bodyText: 'Adjust your search query and try again. Check your spelling or try a more general term.',
37
37
  titleText: 'No results found',
38
- icon: SearchIcon
38
+ icon: RhUiSearchIcon
39
39
  };
40
40
 
41
41
  export const ChatbotHeaderDrawerResizableDemo: FunctionComponent = () => {
@@ -5,7 +5,7 @@ import ChatbotConversationHistoryNav, {
5
5
  Conversation
6
6
  } from '@patternfly/chatbot/dist/dynamic/ChatbotConversationHistoryNav';
7
7
  import { Checkbox, DropdownItem, DropdownList } from '@patternfly/react-core';
8
- import { ThumbtackIcon } from '@patternfly/react-icons';
8
+ import { RhUiThumbtackFillIcon } from '@patternfly/react-icons';
9
9
 
10
10
  // Sample conversations
11
11
  const initialConversations: { [key: string]: Conversation[] } = {
@@ -144,7 +144,7 @@ export const ChatbotHeaderPinDemo: FunctionComponent = () => {
144
144
  pinnedItems.push({
145
145
  ...conv,
146
146
  menuItems: createMenuItems(conv.id),
147
- icon: <ThumbtackIcon />,
147
+ icon: <RhUiThumbtackFillIcon />,
148
148
  dropdownId: `pin-demo-${conv.id}-dropdown`
149
149
  });
150
150
  }
@@ -13,7 +13,7 @@ import {
13
13
  SelectOption,
14
14
  Tooltip
15
15
  } from '@patternfly/react-core';
16
- import { FilterIcon, SortAmountDownIcon } from '@patternfly/react-icons';
16
+ import { RhUiFilterFillIcon, RhMicronsSortDownLargeToSmallIcon } from '@patternfly/react-icons';
17
17
 
18
18
  const initialConversations: { [key: string]: Conversation[] } = {
19
19
  Today: [{ id: '1', text: 'Red Hat products and services' }],
@@ -148,7 +148,7 @@ export const ChatbotHeaderTitleDemo: FunctionComponent = () => {
148
148
  aria-label="Filter options"
149
149
  // eslint-disable-next-line no-console
150
150
  onClick={() => console.log('Filter button clicked')}
151
- icon={<FilterIcon />}
151
+ icon={<RhUiFilterFillIcon />}
152
152
  />
153
153
  </Tooltip>
154
154
  ) : undefined
@@ -171,7 +171,7 @@ export const ChatbotHeaderTitleDemo: FunctionComponent = () => {
171
171
  variant="plain"
172
172
  aria-label={`${sortLabels[selectedSort]}, Sort conversations`}
173
173
  icon={
174
- <SortAmountDownIcon
174
+ <RhMicronsSortDownLargeToSmallIcon
175
175
  style={{
176
176
  transform:
177
177
  selectedSort === 'oldest' || selectedSort === 'alphabetical-asc' ? 'scaleY(-1)' : 'none'
@@ -20,7 +20,12 @@ import ChatbotHeader, {
20
20
  ChatbotHeaderOptionsDropdown,
21
21
  ChatbotHeaderTitle
22
22
  } from '@patternfly/chatbot/dist/dynamic/ChatbotHeader';
23
- import { CogIcon, ExpandIcon, OpenDrawerRightIcon, OutlinedWindowRestoreIcon } from '@patternfly/react-icons';
23
+ import {
24
+ RhUiExpandIcon,
25
+ RhUiOpenDrawerRightIcon,
26
+ RhUiRestoreWindowIcon,
27
+ RhUiSettingsFillIcon
28
+ } from '@patternfly/react-icons';
24
29
 
25
30
  export const CompactSettingsDemo: FunctionComponent = () => {
26
31
  const [isChecked, setIsChecked] = useState<boolean>(true);
@@ -222,7 +227,7 @@ export const CompactSettingsDemo: FunctionComponent = () => {
222
227
  <DropdownItem
223
228
  value={ChatbotDisplayMode.default}
224
229
  key="switchDisplayOverlay"
225
- icon={<OutlinedWindowRestoreIcon aria-hidden />}
230
+ icon={<RhUiRestoreWindowIcon aria-hidden />}
226
231
  isSelected={displayMode === ChatbotDisplayMode.default}
227
232
  >
228
233
  <span>Overlay</span>
@@ -230,7 +235,7 @@ export const CompactSettingsDemo: FunctionComponent = () => {
230
235
  <DropdownItem
231
236
  value={ChatbotDisplayMode.docked}
232
237
  key="switchDisplayDock"
233
- icon={<OpenDrawerRightIcon aria-hidden />}
238
+ icon={<RhUiOpenDrawerRightIcon aria-hidden />}
234
239
  isSelected={displayMode === ChatbotDisplayMode.docked}
235
240
  >
236
241
  <span>Dock to window</span>
@@ -238,7 +243,7 @@ export const CompactSettingsDemo: FunctionComponent = () => {
238
243
  <DropdownItem
239
244
  value={ChatbotDisplayMode.fullscreen}
240
245
  key="switchDisplayFullscreen"
241
- icon={<ExpandIcon aria-hidden />}
246
+ icon={<RhUiExpandIcon aria-hidden />}
242
247
  isSelected={displayMode === ChatbotDisplayMode.fullscreen}
243
248
  >
244
249
  <span>Fullscreen</span>
@@ -247,7 +252,7 @@ export const CompactSettingsDemo: FunctionComponent = () => {
247
252
  </DropdownGroup>
248
253
  <Divider />
249
254
  <DropdownList>
250
- <DropdownItem value="Settings" key="switchSettings" icon={<CogIcon aria-hidden />}>
255
+ <DropdownItem value="Settings" key="switchSettings" icon={<RhUiSettingsFillIcon aria-hidden />}>
251
256
  <span>Settings</span>
252
257
  </DropdownItem>
253
258
  </DropdownList>
@@ -20,7 +20,12 @@ import ChatbotHeader, {
20
20
  ChatbotHeaderOptionsDropdown,
21
21
  ChatbotHeaderTitle
22
22
  } from '@patternfly/chatbot/dist/dynamic/ChatbotHeader';
23
- import { CogIcon, ExpandIcon, OpenDrawerRightIcon, OutlinedWindowRestoreIcon } from '@patternfly/react-icons';
23
+ import {
24
+ RhUiExpandIcon,
25
+ RhUiOpenDrawerRightIcon,
26
+ RhUiRestoreWindowIcon,
27
+ RhUiSettingsFillIcon
28
+ } from '@patternfly/react-icons';
24
29
 
25
30
  export const SettingsDemo: FunctionComponent = () => {
26
31
  const [isChecked, setIsChecked] = useState<boolean>(true);
@@ -222,7 +227,7 @@ export const SettingsDemo: FunctionComponent = () => {
222
227
  <DropdownItem
223
228
  value={ChatbotDisplayMode.default}
224
229
  key="switchDisplayOverlay"
225
- icon={<OutlinedWindowRestoreIcon aria-hidden />}
230
+ icon={<RhUiRestoreWindowIcon aria-hidden />}
226
231
  isSelected={displayMode === ChatbotDisplayMode.default}
227
232
  >
228
233
  <span>Overlay</span>
@@ -230,7 +235,7 @@ export const SettingsDemo: FunctionComponent = () => {
230
235
  <DropdownItem
231
236
  value={ChatbotDisplayMode.docked}
232
237
  key="switchDisplayDock"
233
- icon={<OpenDrawerRightIcon aria-hidden />}
238
+ icon={<RhUiOpenDrawerRightIcon aria-hidden />}
234
239
  isSelected={displayMode === ChatbotDisplayMode.docked}
235
240
  >
236
241
  <span>Dock to window</span>
@@ -238,7 +243,7 @@ export const SettingsDemo: FunctionComponent = () => {
238
243
  <DropdownItem
239
244
  value={ChatbotDisplayMode.fullscreen}
240
245
  key="switchDisplayFullscreen"
241
- icon={<ExpandIcon aria-hidden />}
246
+ icon={<RhUiExpandIcon aria-hidden />}
242
247
  isSelected={displayMode === ChatbotDisplayMode.fullscreen}
243
248
  >
244
249
  <span>Fullscreen</span>
@@ -247,7 +252,7 @@ export const SettingsDemo: FunctionComponent = () => {
247
252
  </DropdownGroup>
248
253
  <Divider />
249
254
  <DropdownList>
250
- <DropdownItem value="Settings" key="switchSettings" icon={<CogIcon aria-hidden />}>
255
+ <DropdownItem value="Settings" key="switchSettings" icon={<RhUiSettingsFillIcon aria-hidden />}>
251
256
  <span>Settings</span>
252
257
  </DropdownItem>
253
258
  </DropdownList>
@@ -70,30 +70,16 @@ import { MessageBar } from '@patternfly/chatbot/dist/dynamic/MessageBar';
70
70
  import SourceDetailsMenuItem from '@patternfly/chatbot/dist/dynamic/SourceDetailsMenuItem';
71
71
  import { ChatbotModal } from '@patternfly/chatbot/dist/dynamic/ChatbotModal';
72
72
  import SettingsForm from '@patternfly/chatbot/dist/dynamic/Settings';
73
- import RhUiAttentionBellIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-attention-bell-icon';
74
- import RhUiCalendarIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-calendar-icon';
75
- import RhUiClipboardIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-clipboard-icon';
76
- import RhUiCodeIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-code-icon';
77
- import RhUiAddIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-add-icon';
78
- import { ThumbtackIcon } from '@patternfly/react-icons';
79
- import RhUiUploadIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-upload-icon';
80
73
  import { useDropzone } from 'react-dropzone';
81
-
82
74
  import ChatbotConversationHistoryNav from '@patternfly/chatbot/dist/dynamic/ChatbotConversationHistoryNav';
83
75
  import { Button, Label, DropdownItem, DropdownList, Checkbox, MenuToggle, Select, SelectList, SelectOption } from '@patternfly/react-core';
84
-
85
- import OutlinedWindowRestoreIcon from '@patternfly/react-icons/dist/esm/icons/outlined-window-restore-icon';
86
- import ExpandIcon from '@patternfly/react-icons/dist/esm/icons/expand-icon';
87
- import OpenDrawerRightIcon from '@patternfly/react-icons/dist/esm/icons/open-drawer-right-icon';
88
- import CogIcon from '@patternfly/react-icons/dist/esm/icons/cog-icon';
89
- import PenToSquareIcon from '@patternfly/react-icons/dist/esm/icons/pen-to-square-icon';
90
76
  import PFHorizontalLogoColor from './PF-HorizontalLogo-Color.svg';
91
77
  import PFHorizontalLogoReverse from './PF-HorizontalLogo-Reverse.svg';
92
78
  import userAvatar from '../Messages/user_avatar.svg';
93
79
  import patternflyAvatar from '../Messages/patternfly_avatar.jpg';
94
80
  import termsAndConditionsHeader from './PF-TermsAndConditionsHeader.svg';
95
81
  import onboardingHeader from './RH-Hat-Image.svg';
96
- import { CloseIcon, SearchIcon, OutlinedCommentsIcon, FilterIcon, SortAmountDownIcon } from '@patternfly/react-icons';
82
+ import { RhMicronsSortDownLargeToSmallIcon, RhUiAddIcon, RhUiAttentionBellIcon, RhUiCalendarIcon, RhUiClipboardIcon, RhUiCodeIcon, RhUiCommentsIcon, RhUiEditFillIcon, RhUiExpandIcon, RhUiFilterFillIcon, RhUiOpenDrawerRightIcon, RhUiRestoreWindowIcon, RhUiSearchIcon, RhUiSettingsFillIcon, RhUiThumbtackFillIcon, RhUiUploadIcon } from '@patternfly/react-icons';
97
83
  import { FunctionComponent, FormEvent, useState, useRef, MouseEvent, isValidElement, cloneElement, Children, ReactNode, Ref, MouseEvent as ReactMouseEvent, CSSProperties, useEffect} from 'react';
98
84
  import FilePreview from '@patternfly/chatbot/dist/dynamic/FilePreview';
99
85
 
@@ -24,7 +24,7 @@ import FileDetailsLabel from '@patternfly/chatbot/dist/dynamic/FileDetailsLabel'
24
24
  import SourceDetailsMenuItem from '@patternfly/chatbot/dist/dynamic/SourceDetailsMenuItem';
25
25
  import PreviewAttachment from '@patternfly/chatbot/dist/dynamic/PreviewAttachment';
26
26
  import AttachmentEdit from '@patternfly/chatbot/dist/dynamic/AttachmentEdit';
27
- import { BellIcon, CalendarAltIcon, ClipboardIcon, CodeIcon, UploadIcon } from '@patternfly/react-icons';
27
+ import { RhUiAttentionBellIcon, RhUiCalendarIcon, RhUiClipboardIcon, RhUiCodeIcon, RhUiUploadIcon } from '@patternfly/react-icons';
28
28
  import { useDropzone } from 'react-dropzone';
29
29
  import PFHorizontalLogoColor from '../UI/PF-HorizontalLogo-Color.svg';
30
30
  import PFHorizontalLogoReverse from '../UI/PF-HorizontalLogo-Reverse.svg';
@@ -37,9 +37,7 @@ ChatbotHeaderSelectorDropdown,
37
37
  ChatbotHeaderOptionsDropdown
38
38
  } from '@patternfly/chatbot/dist/dynamic/ChatbotHeader';
39
39
  import ChatbotAlert from '@patternfly/chatbot/dist/dynamic/ChatbotAlert';
40
- import ExpandIcon from '@patternfly/react-icons/dist/esm/icons/expand-icon';
41
- import OpenDrawerRightIcon from '@patternfly/react-icons/dist/esm/icons/open-drawer-right-icon';
42
- import OutlinedWindowRestoreIcon from '@patternfly/react-icons/dist/esm/icons/outlined-window-restore-icon';
40
+ import { RhUiExpandIcon, RhUiOpenDrawerRightIcon, RhUiRestoreWindowIcon } from '@patternfly/react-icons';
43
41
  import PFIconLogoColor from '../UI/PF-IconLogo-Color.svg';
44
42
  import PFIconLogoReverse from '../UI/PF-IconLogo-Reverse.svg';
45
43
  import userAvatar from '../Messages/user_avatar.svg';
@@ -48,12 +48,9 @@ ChatbotHeaderOptionsDropdown,
48
48
  ChatbotHeaderCloseButton,
49
49
  } from '@patternfly/chatbot/dist/dynamic/ChatbotHeader';
50
50
 
51
- import ExpandIcon from '@patternfly/react-icons/dist/esm/icons/expand-icon';
52
- import OpenDrawerRightIcon from '@patternfly/react-icons/dist/esm/icons/open-drawer-right-icon';
53
- import OutlinedWindowRestoreIcon from '@patternfly/react-icons/dist/esm/icons/outlined-window-restore-icon';
51
+ import { RhUiExpandIcon, RhUiOpenDrawerRightIcon, RhUiMenuBarsIcon, RhUiRestoreWindowIcon } from '@patternfly/react-icons';
54
52
  import { BarsIcon } from '@patternfly/react-icons/dist/esm/icons/bars-icon';
55
- import { CopyIcon } from '@patternfly/react-icons/dist/esm/icons/copy-icon';
56
- import { WrenchIcon } from '@patternfly/react-icons/dist/esm/icons/wrench-icon';
53
+ import { RhUiBuildFillIcon, RhUiCopyFillIcon } from '@patternfly/react-icons';
57
54
  import {
58
55
  Button,
59
56
  DescriptionList,
@@ -21,10 +21,7 @@ import ChatbotHeader, {
21
21
  ChatbotHeaderOptionsDropdown
22
22
  } from '@patternfly/chatbot/dist/dynamic/ChatbotHeader';
23
23
 
24
- import ExpandIcon from '@patternfly/react-icons/dist/esm/icons/expand-icon';
25
- import OpenDrawerRightIcon from '@patternfly/react-icons/dist/esm/icons/open-drawer-right-icon';
26
- import OutlinedWindowRestoreIcon from '@patternfly/react-icons/dist/esm/icons/outlined-window-restore-icon';
27
-
24
+ import { RhUiExpandIcon, RhUiOpenDrawerRightIcon, RhUiRestoreWindowIcon } from '@patternfly/react-icons';
28
25
  import PFHorizontalLogoColor from '../UI/PF-HorizontalLogo-Color.svg';
29
26
  import PFHorizontalLogoReverse from '../UI/PF-HorizontalLogo-Reverse.svg';
30
27
  import PFIconLogoColor from '../UI/PF-IconLogo-Color.svg';
@@ -393,7 +390,7 @@ export const ChatbotDemo: FunctionComponent = () => {
393
390
  <DropdownItem
394
391
  value={ChatbotDisplayMode.default}
395
392
  key="switchDisplayOverlay"
396
- icon={<OutlinedWindowRestoreIcon aria-hidden />}
393
+ icon={<RhUiRestoreWindowIcon aria-hidden />}
397
394
  isSelected={displayMode === ChatbotDisplayMode.default}
398
395
  >
399
396
  <span>Overlay</span>
@@ -401,7 +398,7 @@ export const ChatbotDemo: FunctionComponent = () => {
401
398
  <DropdownItem
402
399
  value={ChatbotDisplayMode.docked}
403
400
  key="switchDisplayDock"
404
- icon={<OpenDrawerRightIcon aria-hidden />}
401
+ icon={<RhUiOpenDrawerRightIcon aria-hidden />}
405
402
  isSelected={displayMode === ChatbotDisplayMode.docked}
406
403
  >
407
404
  <span>Dock to window</span>
@@ -409,7 +406,7 @@ export const ChatbotDemo: FunctionComponent = () => {
409
406
  <DropdownItem
410
407
  value={ChatbotDisplayMode.fullscreen}
411
408
  key="switchDisplayFullscreen"
412
- icon={<ExpandIcon aria-hidden />}
409
+ icon={<RhUiExpandIcon aria-hidden />}
413
410
  isSelected={displayMode === ChatbotDisplayMode.fullscreen}
414
411
  >
415
412
  <span>Fullscreen</span>
@@ -20,9 +20,7 @@ import ChatbotHeader, {
20
20
  ChatbotHeaderMain
21
21
  } from '@patternfly/chatbot/dist/dynamic/ChatbotHeader';
22
22
  import ChatbotAlert from '@patternfly/chatbot/dist/dynamic/ChatbotAlert';
23
- import ExpandIcon from '@patternfly/react-icons/dist/esm/icons/expand-icon';
24
- import OpenDrawerRightIcon from '@patternfly/react-icons/dist/esm/icons/open-drawer-right-icon';
25
- import OutlinedWindowRestoreIcon from '@patternfly/react-icons/dist/esm/icons/outlined-window-restore-icon';
23
+ import { RhUiExpandIcon, RhUiOpenDrawerRightIcon, RhUiRestoreWindowIcon } from '@patternfly/react-icons';
26
24
  import PFHorizontalLogoColor from '../UI/PF-HorizontalLogo-Color.svg';
27
25
  import PFHorizontalLogoReverse from '../UI/PF-HorizontalLogo-Reverse.svg';
28
26
  import PFIconLogoColor from '../UI/PF-IconLogo-Color.svg';
@@ -197,7 +195,7 @@ export const BasicDemo: FunctionComponent = () => {
197
195
  <DropdownItem
198
196
  value={ChatbotDisplayMode.default}
199
197
  key="switchDisplayOverlay"
200
- icon={<OutlinedWindowRestoreIcon aria-hidden />}
198
+ icon={<RhUiRestoreWindowIcon aria-hidden />}
201
199
  isSelected={displayMode === ChatbotDisplayMode.default}
202
200
  >
203
201
  <span>Overlay</span>
@@ -205,7 +203,7 @@ export const BasicDemo: FunctionComponent = () => {
205
203
  <DropdownItem
206
204
  value={ChatbotDisplayMode.docked}
207
205
  key="switchDisplayDock"
208
- icon={<OpenDrawerRightIcon aria-hidden />}
206
+ icon={<RhUiOpenDrawerRightIcon aria-hidden />}
209
207
  isSelected={displayMode === ChatbotDisplayMode.docked}
210
208
  >
211
209
  <span>Dock to window</span>
@@ -213,7 +211,7 @@ export const BasicDemo: FunctionComponent = () => {
213
211
  <DropdownItem
214
212
  value={ChatbotDisplayMode.fullscreen}
215
213
  key="switchDisplayFullscreen"
216
- icon={<ExpandIcon aria-hidden />}
214
+ icon={<RhUiExpandIcon aria-hidden />}
217
215
  isSelected={displayMode === ChatbotDisplayMode.fullscreen}
218
216
  >
219
217
  <span>Fullscreen</span>
@@ -11,7 +11,13 @@ import SourceDetailsMenuItem from '@patternfly/chatbot/dist/dynamic/SourceDetail
11
11
  import ChatbotAlert from '@patternfly/chatbot/dist/dynamic/ChatbotAlert';
12
12
  import { Divider, DropdownGroup, DropdownItem, DropdownList, DropEvent } from '@patternfly/react-core';
13
13
  import FileDetailsLabel from '@patternfly/chatbot/dist/dynamic/FileDetailsLabel';
14
- import { BellIcon, CalendarAltIcon, ClipboardIcon, CodeIcon, UploadIcon } from '@patternfly/react-icons';
14
+ import {
15
+ RhUiAttentionBellIcon,
16
+ RhUiCalendarIcon,
17
+ RhUiClipboardIcon,
18
+ RhUiCodeIcon,
19
+ RhUiUploadIcon
20
+ } from '@patternfly/react-icons';
15
21
  import { useDropzone } from 'react-dropzone';
16
22
  import userAvatar from '../Messages/user_avatar.svg';
17
23
  import '@patternfly/react-core/dist/styles/base.css';
@@ -48,19 +54,19 @@ const initialMenuItems = [
48
54
  </DropdownList>,
49
55
  <DropdownGroup key="attachment-menu-example-initial-group">
50
56
  <DropdownList>
51
- <DropdownItem value="Alerts" id="1" icon={<BellIcon />}>
57
+ <DropdownItem value="Alerts" id="1" icon={<RhUiAttentionBellIcon />}>
52
58
  Alerts
53
59
  </DropdownItem>
54
- <DropdownItem value="Events" id="2" icon={<CalendarAltIcon />}>
60
+ <DropdownItem value="Events" id="2" icon={<RhUiCalendarIcon />}>
55
61
  Events
56
62
  </DropdownItem>
57
- <DropdownItem value="Logs" id="3" icon={<ClipboardIcon />}>
63
+ <DropdownItem value="Logs" id="3" icon={<RhUiClipboardIcon />}>
58
64
  Logs
59
65
  </DropdownItem>
60
- <DropdownItem value="YAML - Status" id="4" icon={<CodeIcon />}>
66
+ <DropdownItem value="YAML - Status" id="4" icon={<RhUiCodeIcon />}>
61
67
  YAML - Status
62
68
  </DropdownItem>
63
- <DropdownItem value="YAML - All contents" id="5" icon={<CodeIcon />}>
69
+ <DropdownItem value="YAML - All contents" id="5" icon={<RhUiCodeIcon />}>
64
70
  YAML - All contents
65
71
  </DropdownItem>
66
72
  </DropdownList>
@@ -150,7 +156,7 @@ export const AttachmentMenuDemo: FunctionComponent = () => {
150
156
  key="upload"
151
157
  value="upload"
152
158
  id="upload"
153
- icon={<UploadIcon />}
159
+ icon={<RhUiUploadIcon />}
154
160
  >
155
161
  Upload from computer
156
162
  </DropdownItem>
@@ -21,10 +21,7 @@ import ChatbotHeader, {
21
21
  ChatbotHeaderOptionsDropdown
22
22
  } from '@patternfly/chatbot/dist/dynamic/ChatbotHeader';
23
23
 
24
- import ExpandIcon from '@patternfly/react-icons/dist/esm/icons/expand-icon';
25
- import OpenDrawerRightIcon from '@patternfly/react-icons/dist/esm/icons/open-drawer-right-icon';
26
- import OutlinedWindowRestoreIcon from '@patternfly/react-icons/dist/esm/icons/outlined-window-restore-icon';
27
-
24
+ import { RhUiExpandIcon, RhUiOpenDrawerRightIcon, RhUiRestoreWindowIcon } from '@patternfly/react-icons';
28
25
  import PFHorizontalLogoColor from '../UI/PF-HorizontalLogo-Color.svg';
29
26
  import PFHorizontalLogoReverse from '../UI/PF-HorizontalLogo-Reverse.svg';
30
27
  import PFIconLogoColor from '../UI/PF-IconLogo-Color.svg';
@@ -381,7 +378,7 @@ export const ChatbotDemo: FunctionComponent = () => {
381
378
  <DropdownItem
382
379
  value={ChatbotDisplayMode.default}
383
380
  key="switchDisplayOverlay"
384
- icon={<OutlinedWindowRestoreIcon aria-hidden />}
381
+ icon={<RhUiRestoreWindowIcon aria-hidden />}
385
382
  isSelected={displayMode === ChatbotDisplayMode.default}
386
383
  >
387
384
  <span>Overlay</span>
@@ -389,7 +386,7 @@ export const ChatbotDemo: FunctionComponent = () => {
389
386
  <DropdownItem
390
387
  value={ChatbotDisplayMode.docked}
391
388
  key="switchDisplayDock"
392
- icon={<OpenDrawerRightIcon aria-hidden />}
389
+ icon={<RhUiOpenDrawerRightIcon aria-hidden />}
393
390
  isSelected={displayMode === ChatbotDisplayMode.docked}
394
391
  >
395
392
  <span>Dock to window</span>
@@ -397,7 +394,7 @@ export const ChatbotDemo: FunctionComponent = () => {
397
394
  <DropdownItem
398
395
  value={ChatbotDisplayMode.fullscreen}
399
396
  key="switchDisplayFullscreen"
400
- icon={<ExpandIcon aria-hidden />}
397
+ icon={<RhUiExpandIcon aria-hidden />}
401
398
  isSelected={displayMode === ChatbotDisplayMode.fullscreen}
402
399
  >
403
400
  <span>Fullscreen</span>