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

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 (89) 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/ChatbotHeaderNewChatButton.js +2 -2
  5. package/dist/cjs/MarkdownContent/MarkdownContent.js +15 -1
  6. package/dist/cjs/Message/CodeBlockMessage/CodeBlockMessage.js +2 -2
  7. package/dist/cjs/Message/LinkMessage/LinkMessage.js +5 -1
  8. package/dist/cjs/Message/Message.test.js +3 -1
  9. package/dist/cjs/Message/QuickStarts/QuickStartTileDescription.js +2 -5
  10. package/dist/cjs/MessageBox/JumpButton.test.js +2 -2
  11. package/dist/cjs/MessageBox/MessageBox.js +79 -28
  12. package/dist/cjs/MessageBox/MessageBox.test.d.ts +1 -1
  13. package/dist/cjs/MessageBox/MessageBox.test.js +59 -0
  14. package/dist/cjs/ResponseActions/ResponseActionButton.test.js +6 -6
  15. package/dist/cjs/ResponseActions/ResponseActions.test.js +6 -7
  16. package/dist/cjs/index.d.ts +0 -2
  17. package/dist/cjs/index.js +1 -4
  18. package/dist/esm/ChatbotConversationHistoryNav/ChatbotConversationHistoryDropdown.js +2 -2
  19. package/dist/esm/ChatbotConversationHistoryNav/ChatbotConversationHistoryNav.js +4 -4
  20. package/dist/esm/ChatbotHeader/ChatbotHeaderCloseButton.js +2 -2
  21. package/dist/esm/ChatbotHeader/ChatbotHeaderNewChatButton.js +2 -2
  22. package/dist/esm/MarkdownContent/MarkdownContent.js +15 -1
  23. package/dist/esm/Message/CodeBlockMessage/CodeBlockMessage.js +2 -2
  24. package/dist/esm/Message/LinkMessage/LinkMessage.js +6 -2
  25. package/dist/esm/Message/Message.test.js +3 -1
  26. package/dist/esm/Message/QuickStarts/QuickStartTileDescription.js +2 -2
  27. package/dist/esm/MessageBox/JumpButton.test.js +2 -2
  28. package/dist/esm/MessageBox/MessageBox.js +80 -29
  29. package/dist/esm/MessageBox/MessageBox.test.d.ts +1 -1
  30. package/dist/esm/MessageBox/MessageBox.test.js +59 -0
  31. package/dist/esm/ResponseActions/ResponseActionButton.test.js +7 -7
  32. package/dist/esm/ResponseActions/ResponseActions.test.js +7 -8
  33. package/dist/esm/index.d.ts +0 -2
  34. package/dist/esm/index.js +0 -2
  35. package/dist/tsconfig.tsbuildinfo +1 -1
  36. package/package.json +2 -2
  37. package/patternfly-docs/content/extensions/chatbot/examples/Messages/MessageWithCustomResponseActions.tsx +3 -4
  38. package/patternfly-docs/content/extensions/chatbot/examples/Messages/MessageWithMarkdownToolResponse.tsx +3 -3
  39. package/patternfly-docs/content/extensions/chatbot/examples/Messages/MessageWithQuickResponses.tsx +3 -3
  40. package/patternfly-docs/content/extensions/chatbot/examples/Messages/MessageWithToolResponse.tsx +5 -5
  41. package/patternfly-docs/content/extensions/chatbot/examples/Messages/Messages.md +1 -1
  42. package/patternfly-docs/content/extensions/chatbot/examples/Messages/UserMessageWithExtraContent.tsx +7 -31
  43. package/patternfly-docs/content/extensions/chatbot/examples/UI/ChatbotHeaderBasic.tsx +4 -6
  44. package/patternfly-docs/content/extensions/chatbot/examples/UI/ChatbotHeaderDrawer.tsx +3 -3
  45. package/patternfly-docs/content/extensions/chatbot/examples/UI/ChatbotHeaderDrawerResizable.tsx +2 -2
  46. package/patternfly-docs/content/extensions/chatbot/examples/UI/ChatbotHeaderDrawerWithPin.tsx +2 -2
  47. package/patternfly-docs/content/extensions/chatbot/examples/UI/ChatbotHeaderDrawerWithSearchActions.tsx +3 -3
  48. package/patternfly-docs/content/extensions/chatbot/examples/UI/CompactSettings.tsx +10 -5
  49. package/patternfly-docs/content/extensions/chatbot/examples/UI/Settings.tsx +10 -5
  50. package/patternfly-docs/content/extensions/chatbot/examples/UI/UI.md +1 -15
  51. package/patternfly-docs/content/extensions/chatbot/examples/demos/AttachmentDemos.md +1 -3
  52. package/patternfly-docs/content/extensions/chatbot/examples/demos/Chatbot.md +2 -5
  53. package/patternfly-docs/content/extensions/chatbot/examples/demos/Chatbot.tsx +4 -7
  54. package/patternfly-docs/content/extensions/chatbot/examples/demos/ChatbotAttachment.tsx +4 -6
  55. package/patternfly-docs/content/extensions/chatbot/examples/demos/ChatbotCompact.tsx +4 -7
  56. package/patternfly-docs/content/extensions/chatbot/examples/demos/ChatbotDisplayMode.tsx +4 -7
  57. package/patternfly-docs/content/extensions/chatbot/examples/demos/ChatbotScrolling.tsx +4 -8
  58. package/patternfly-docs/content/extensions/chatbot/examples/demos/ChatbotTranscripts.tsx +4 -7
  59. package/src/ChatbotConversationHistoryNav/ChatbotConversationHistoryDropdown.tsx +2 -3
  60. package/src/ChatbotConversationHistoryNav/ChatbotConversationHistoryNav.tsx +4 -4
  61. package/src/ChatbotHeader/ChatbotHeaderCloseButton.tsx +2 -2
  62. package/src/ChatbotHeader/ChatbotHeaderNewChatButton.tsx +2 -3
  63. package/src/MarkdownContent/MarkdownContent.tsx +14 -0
  64. package/src/Message/CodeBlockMessage/CodeBlockMessage.tsx +2 -2
  65. package/src/Message/LinkMessage/LinkMessage.tsx +21 -2
  66. package/src/Message/Message.test.tsx +3 -1
  67. package/src/Message/QuickStarts/QuickStartTileDescription.tsx +2 -2
  68. package/src/MessageBox/JumpButton.test.tsx +1 -1
  69. package/src/MessageBox/MessageBox.test.tsx +91 -0
  70. package/src/MessageBox/MessageBox.tsx +137 -40
  71. package/src/ResponseActions/ResponseActionButton.test.tsx +7 -7
  72. package/src/ResponseActions/ResponseActions.test.tsx +7 -8
  73. package/dist/cjs/LoadingMessage/LoadingMessage.d.ts +0 -6
  74. package/dist/cjs/LoadingMessage/LoadingMessage.js +0 -12
  75. package/dist/cjs/LoadingMessage/LoadingMessage.test.d.ts +0 -1
  76. package/dist/cjs/LoadingMessage/LoadingMessage.test.js +0 -20
  77. package/dist/cjs/LoadingMessage/index.d.ts +0 -2
  78. package/dist/cjs/LoadingMessage/index.js +0 -23
  79. package/dist/dynamic/LoadingMessage/package.json +0 -1
  80. package/dist/esm/LoadingMessage/LoadingMessage.d.ts +0 -6
  81. package/dist/esm/LoadingMessage/LoadingMessage.js +0 -5
  82. package/dist/esm/LoadingMessage/LoadingMessage.test.d.ts +0 -1
  83. package/dist/esm/LoadingMessage/LoadingMessage.test.js +0 -15
  84. package/dist/esm/LoadingMessage/index.d.ts +0 -2
  85. package/dist/esm/LoadingMessage/index.js +0 -2
  86. package/src/LoadingMessage/LoadingMessage.test.tsx +0 -15
  87. package/src/LoadingMessage/LoadingMessage.tsx +0 -27
  88. package/src/LoadingMessage/__snapshots__/LoadingMessage.test.tsx.snap +0 -64
  89. package/src/LoadingMessage/index.ts +0 -3
@@ -12,7 +12,7 @@ import { render, screen } from '@testing-library/react';
12
12
  import '@testing-library/jest-dom';
13
13
  import ResponseActions from './ResponseActions';
14
14
  import userEvent from '@testing-library/user-event';
15
- import { DownloadIcon, InfoCircleIcon, RedoIcon } from '@patternfly/react-icons';
15
+ import { RhUiExportIcon, RhMicronsInformationFillIcon, RhUiRedoIcon } from '@patternfly/react-icons';
16
16
  import Message from '../Message';
17
17
  // Mock the icon components
18
18
  jest.mock('@patternfly/react-icons', () => ({
@@ -28,9 +28,8 @@ jest.mock('@patternfly/react-icons', () => ({
28
28
  RhUiVolumeUpFillIcon: () => _jsx("div", { children: "RhUiVolumeUpFillIcon" }),
29
29
  RhUiExportIcon: () => _jsx("div", { children: "RhUiExportIcon" }),
30
30
  RhUiExportFillIcon: () => _jsx("div", { children: "RhUiExportFillIcon" }),
31
- DownloadIcon: () => _jsx("div", { children: "DownloadIcon" }),
32
- InfoCircleIcon: () => _jsx("div", { children: "InfoCircleIcon" }),
33
- RedoIcon: () => _jsx("div", { children: "RedoIcon" })
31
+ RhMicronsInformationFillIcon: () => _jsx("div", { children: "RhMicronsInformationFillIcon" }),
32
+ RhUiRedoIcon: () => _jsx("div", { children: "RhUiRedoIcon" })
34
33
  }));
35
34
  const ALL_ACTIONS = [
36
35
  { type: 'positive', label: 'Good response', clickedLabel: 'Good response recorded' },
@@ -48,7 +47,7 @@ const CUSTOM_ACTIONS = [
48
47
  onClick: jest.fn(),
49
48
  tooltipContent: 'Regenerate',
50
49
  clickedTooltipContent: 'Regenerated',
51
- icon: _jsx(RedoIcon, {})
50
+ icon: _jsx(RhUiRedoIcon, {})
52
51
  },
53
52
  download: {
54
53
  ariaLabel: 'Download',
@@ -56,13 +55,13 @@ const CUSTOM_ACTIONS = [
56
55
  onClick: jest.fn(),
57
56
  tooltipContent: 'Download',
58
57
  clickedTooltipContent: 'Downloaded',
59
- icon: _jsx(DownloadIcon, {})
58
+ icon: _jsx(RhUiExportIcon, {})
60
59
  },
61
60
  info: {
62
61
  ariaLabel: 'Info',
63
62
  onClick: jest.fn(),
64
63
  tooltipContent: 'Info',
65
- icon: _jsx(InfoCircleIcon, {})
64
+ icon: _jsx(RhMicronsInformationFillIcon, {})
66
65
  }
67
66
  }
68
67
  ];
@@ -318,7 +317,7 @@ describe('ResponseActions', () => {
318
317
  onClick: jest.fn(),
319
318
  ariaLabel: 'Custom',
320
319
  tooltipContent: 'Custom action',
321
- icon: _jsx(DownloadIcon, {})
320
+ icon: _jsx(RhUiExportIcon, {})
322
321
  }
323
322
  };
324
323
  render(_jsx(ResponseActions, { actions: actions, persistActionSelection: true }));
@@ -38,8 +38,6 @@ export { default as FilePreview } from './FilePreview';
38
38
  export * from './FilePreview';
39
39
  export { default as ImagePreview } from './ImagePreview';
40
40
  export * from './ImagePreview';
41
- export { default as LoadingMessage } from './LoadingMessage';
42
- export * from './LoadingMessage';
43
41
  export { default as MarkdownContent } from './MarkdownContent';
44
42
  export * from './MarkdownContent';
45
43
  export { default as Message } from './Message';
package/dist/esm/index.js CHANGED
@@ -39,8 +39,6 @@ export { default as FilePreview } from './FilePreview';
39
39
  export * from './FilePreview';
40
40
  export { default as ImagePreview } from './ImagePreview';
41
41
  export * from './ImagePreview';
42
- export { default as LoadingMessage } from './LoadingMessage';
43
- export * from './LoadingMessage';
44
42
  export { default as MarkdownContent } from './MarkdownContent';
45
43
  export * from './MarkdownContent';
46
44
  export { default as Message } from './Message';
@@ -1 +1 @@
1
- {"root":["../src/index.ts","../src/AttachMenu/AttachMenu.tsx","../src/AttachMenu/index.ts","../src/AttachmentEdit/AttachmentEdit.test.tsx","../src/AttachmentEdit/AttachmentEdit.tsx","../src/AttachmentEdit/index.ts","../src/Chatbot/Chatbot.test.tsx","../src/Chatbot/Chatbot.tsx","../src/Chatbot/index.ts","../src/ChatbotAlert/ChatbotAlert.test.tsx","../src/ChatbotAlert/ChatbotAlert.tsx","../src/ChatbotAlert/index.ts","../src/ChatbotContent/ChatbotContent.test.tsx","../src/ChatbotContent/ChatbotContent.tsx","../src/ChatbotContent/index.ts","../src/ChatbotConversationHistoryNav/ChatbotConversationHistoryDropdown.test.tsx","../src/ChatbotConversationHistoryNav/ChatbotConversationHistoryDropdown.tsx","../src/ChatbotConversationHistoryNav/ChatbotConversationHistoryNav.test.tsx","../src/ChatbotConversationHistoryNav/ChatbotConversationHistoryNav.tsx","../src/ChatbotConversationHistoryNav/EmptyState.tsx","../src/ChatbotConversationHistoryNav/LoadingState.tsx","../src/ChatbotConversationHistoryNav/index.ts","../src/ChatbotFooter/ChatbotFooter.test.tsx","../src/ChatbotFooter/ChatbotFooter.tsx","../src/ChatbotFooter/ChatbotFooternote.test.tsx","../src/ChatbotFooter/ChatbotFootnote.tsx","../src/ChatbotFooter/index.ts","../src/ChatbotHeader/ChatbotHeader.test.tsx","../src/ChatbotHeader/ChatbotHeader.tsx","../src/ChatbotHeader/ChatbotHeaderActions.test.tsx","../src/ChatbotHeader/ChatbotHeaderActions.tsx","../src/ChatbotHeader/ChatbotHeaderCloseButton.test.tsx","../src/ChatbotHeader/ChatbotHeaderCloseButton.tsx","../src/ChatbotHeader/ChatbotHeaderMain.test.tsx","../src/ChatbotHeader/ChatbotHeaderMain.tsx","../src/ChatbotHeader/ChatbotHeaderMenu.test.tsx","../src/ChatbotHeader/ChatbotHeaderMenu.tsx","../src/ChatbotHeader/ChatbotHeaderNewChatButton.test.tsx","../src/ChatbotHeader/ChatbotHeaderNewChatButton.tsx","../src/ChatbotHeader/ChatbotHeaderOptionsDropdown.test.tsx","../src/ChatbotHeader/ChatbotHeaderOptionsDropdown.tsx","../src/ChatbotHeader/ChatbotHeaderSelectorDropdown.test.tsx","../src/ChatbotHeader/ChatbotHeaderSelectorDropdown.tsx","../src/ChatbotHeader/ChatbotHeaderTitle.test.tsx","../src/ChatbotHeader/ChatbotHeaderTitle.tsx","../src/ChatbotHeader/index.ts","../src/ChatbotModal/ChatbotModal.test.tsx","../src/ChatbotModal/ChatbotModal.tsx","../src/ChatbotModal/index.ts","../src/ChatbotPopover/ChatbotPopover.tsx","../src/ChatbotPopover/index.ts","../src/ChatbotToggle/ChatbotToggle.test.tsx","../src/ChatbotToggle/ChatbotToggle.tsx","../src/ChatbotToggle/index.ts","../src/ChatbotWelcomePrompt/ChatbotWelcomePrompt.test.tsx","../src/ChatbotWelcomePrompt/ChatbotWelcomePrompt.tsx","../src/ChatbotWelcomePrompt/index.ts","../src/CodeModal/CodeModal.test.tsx","../src/CodeModal/CodeModal.tsx","../src/CodeModal/index.ts","../src/Compare/Compare.test.tsx","../src/Compare/Compare.tsx","../src/Compare/index.ts","../src/DeepThinking/DeepThinking.test.tsx","../src/DeepThinking/DeepThinking.tsx","../src/DeepThinking/index.ts","../src/FileDetails/FileDetails.test.tsx","../src/FileDetails/FileDetails.tsx","../src/FileDetails/index.ts","../src/FileDetailsLabel/FileDetailsLabel.test.tsx","../src/FileDetailsLabel/FileDetailsLabel.tsx","../src/FileDetailsLabel/index.ts","../src/FileDropZone/FileDropZone.test.tsx","../src/FileDropZone/FileDropZone.tsx","../src/FileDropZone/index.ts","../src/FilePreview/FilePreview.test.tsx","../src/FilePreview/FilePreview.tsx","../src/FilePreview/index.ts","../src/ImagePreview/ImagePreview.test.tsx","../src/ImagePreview/ImagePreview.tsx","../src/ImagePreview/index.ts","../src/LoadingMessage/LoadingMessage.test.tsx","../src/LoadingMessage/LoadingMessage.tsx","../src/LoadingMessage/index.ts","../src/MarkdownContent/MarkdownContent.test.tsx","../src/MarkdownContent/MarkdownContent.tsx","../src/MarkdownContent/index.ts","../src/Message/Message.test.tsx","../src/Message/Message.tsx","../src/Message/MessageInput.tsx","../src/Message/MessageLoading.test.tsx","../src/Message/MessageLoading.tsx","../src/Message/index.ts","../src/Message/CodeBlockMessage/CodeBlockMessage.test.tsx","../src/Message/CodeBlockMessage/CodeBlockMessage.tsx","../src/Message/ErrorMessage/ErrorMessage.test.tsx","../src/Message/ErrorMessage/ErrorMessage.tsx","../src/Message/ImageMessage/ImageMessage.tsx","../src/Message/LinkMessage/LinkMessage.tsx","../src/Message/ListMessage/ListItemMessage.tsx","../src/Message/ListMessage/OrderedListMessage.tsx","../src/Message/ListMessage/UnorderedListMessage.tsx","../src/Message/MessageAndActions/MessageAndActions.test.tsx","../src/Message/MessageAndActions/MessageAndActions.tsx","../src/Message/MessageAndActions/index.ts","../src/Message/MessageAttachments/MessageAttachmentItem.test.tsx","../src/Message/MessageAttachments/MessageAttachmentItem.tsx","../src/Message/MessageAttachments/MessageAttachmentsContainer.test.tsx","../src/Message/MessageAttachments/MessageAttachmentsContainer.tsx","../src/Message/MessageAttachments/index.ts","../src/Message/Plugins/index.ts","../src/Message/Plugins/rehypeCodeBlockToggle.ts","../src/Message/Plugins/rehypeMoveImagesOutOfParagraphs.ts","../src/Message/QuickResponse/QuickResponse.test.tsx","../src/Message/QuickResponse/QuickResponse.tsx","../src/Message/QuickResponse/index.ts","../src/Message/QuickStarts/FallbackImg.tsx","../src/Message/QuickStarts/QuickStartTile.tsx","../src/Message/QuickStarts/QuickStartTileDescription.test.tsx","../src/Message/QuickStarts/QuickStartTileDescription.tsx","../src/Message/QuickStarts/QuickStartTileHeader.tsx","../src/Message/QuickStarts/index.ts","../src/Message/QuickStarts/monitor-sampleapp-quickstart-with-image.ts","../src/Message/QuickStarts/monitor-sampleapp-quickstart.ts","../src/Message/QuickStarts/types.ts","../src/Message/SuperscriptMessage/SuperscriptMessage.tsx","../src/Message/TableMessage/TableCellContent.tsx","../src/Message/TableMessage/TableMessage.tsx","../src/Message/TableMessage/TbodyMessage.tsx","../src/Message/TableMessage/TdMessage.tsx","../src/Message/TableMessage/ThMessage.tsx","../src/Message/TableMessage/TheadMessage.tsx","../src/Message/TableMessage/TrMessage.tsx","../src/Message/TextMessage/TextMessage.tsx","../src/Message/UserFeedback/CloseButton.tsx","../src/Message/UserFeedback/UserFeedback.test.tsx","../src/Message/UserFeedback/UserFeedback.tsx","../src/Message/UserFeedback/UserFeedbackComplete.test.tsx","../src/Message/UserFeedback/UserFeedbackComplete.tsx","../src/Message/UserFeedback/index.ts","../src/MessageBar/AttachButton.test.tsx","../src/MessageBar/AttachButton.tsx","../src/MessageBar/MessageBar.test.tsx","../src/MessageBar/MessageBar.tsx","../src/MessageBar/MicrophoneButton.tsx","../src/MessageBar/SendButton.test.tsx","../src/MessageBar/SendButton.tsx","../src/MessageBar/StopButton.test.tsx","../src/MessageBar/StopButton.tsx","../src/MessageBar/index.ts","../src/MessageBox/JumpButton.test.tsx","../src/MessageBox/JumpButton.tsx","../src/MessageBox/MessageBox.test.tsx","../src/MessageBox/MessageBox.tsx","../src/MessageBox/index.ts","../src/MessageDivider/MessageDivider.test.tsx","../src/MessageDivider/MessageDivider.tsx","../src/MessageDivider/index.ts","../src/Onboarding/Onboarding.test.tsx","../src/Onboarding/Onboarding.tsx","../src/Onboarding/index.ts","../src/PreviewAttachment/PreviewAttachment.test.tsx","../src/PreviewAttachment/PreviewAttachment.tsx","../src/PreviewAttachment/index.ts","../src/ResponseActions/ResponseActionButton.test.tsx","../src/ResponseActions/ResponseActionButton.tsx","../src/ResponseActions/ResponseActions.test.tsx","../src/ResponseActions/ResponseActions.tsx","../src/ResponseActions/ResponseActionsGroups.test.tsx","../src/ResponseActions/ResponseActionsGroups.tsx","../src/ResponseActions/index.ts","../src/Settings/SettingsForm.test.tsx","../src/Settings/SettingsForm.tsx","../src/Settings/index.ts","../src/SourceDetailsMenuItem/SourceDetailsMenuItem.tsx","../src/SourceDetailsMenuItem/index.ts","../src/SourcesCard/SourcesCard.test.tsx","../src/SourcesCard/SourcesCard.tsx","../src/SourcesCard/index.ts","../src/SourcesCardBase/SourcesCardBase.test.tsx","../src/SourcesCardBase/SourcesCardBase.tsx","../src/SourcesCardBase/index.ts","../src/TermsOfUse/TermsOfUse.test.tsx","../src/TermsOfUse/TermsOfUse.tsx","../src/TermsOfUse/index.ts","../src/ToolCall/ToolCall.test.tsx","../src/ToolCall/ToolCall.tsx","../src/ToolCall/index.ts","../src/ToolResponse/ToolResponse.test.tsx","../src/ToolResponse/ToolResponse.tsx","../src/ToolResponse/index.ts","../src/__mocks__/monaco-editor.ts","../src/__mocks__/rehype-external-links.ts","../src/__mocks__/rehype-highlight.ts","../src/__mocks__/rehype-sanitize.ts","../src/__mocks__/rehype-unwrap-images.tsx","../src/tracking/console_tracking_provider.ts","../src/tracking/index.ts","../src/tracking/posthog_tracking_provider.ts","../src/tracking/segment_tracking_provider.ts","../src/tracking/trackingProviderProxy.ts","../src/tracking/tracking_api.ts","../src/tracking/tracking_registry.ts","../src/tracking/tracking_spi.ts","../src/tracking/umami_tracking_provider.ts"],"version":"5.6.3"}
1
+ {"root":["../src/index.ts","../src/AttachMenu/AttachMenu.tsx","../src/AttachMenu/index.ts","../src/AttachmentEdit/AttachmentEdit.test.tsx","../src/AttachmentEdit/AttachmentEdit.tsx","../src/AttachmentEdit/index.ts","../src/Chatbot/Chatbot.test.tsx","../src/Chatbot/Chatbot.tsx","../src/Chatbot/index.ts","../src/ChatbotAlert/ChatbotAlert.test.tsx","../src/ChatbotAlert/ChatbotAlert.tsx","../src/ChatbotAlert/index.ts","../src/ChatbotContent/ChatbotContent.test.tsx","../src/ChatbotContent/ChatbotContent.tsx","../src/ChatbotContent/index.ts","../src/ChatbotConversationHistoryNav/ChatbotConversationHistoryDropdown.test.tsx","../src/ChatbotConversationHistoryNav/ChatbotConversationHistoryDropdown.tsx","../src/ChatbotConversationHistoryNav/ChatbotConversationHistoryNav.test.tsx","../src/ChatbotConversationHistoryNav/ChatbotConversationHistoryNav.tsx","../src/ChatbotConversationHistoryNav/EmptyState.tsx","../src/ChatbotConversationHistoryNav/LoadingState.tsx","../src/ChatbotConversationHistoryNav/index.ts","../src/ChatbotFooter/ChatbotFooter.test.tsx","../src/ChatbotFooter/ChatbotFooter.tsx","../src/ChatbotFooter/ChatbotFooternote.test.tsx","../src/ChatbotFooter/ChatbotFootnote.tsx","../src/ChatbotFooter/index.ts","../src/ChatbotHeader/ChatbotHeader.test.tsx","../src/ChatbotHeader/ChatbotHeader.tsx","../src/ChatbotHeader/ChatbotHeaderActions.test.tsx","../src/ChatbotHeader/ChatbotHeaderActions.tsx","../src/ChatbotHeader/ChatbotHeaderCloseButton.test.tsx","../src/ChatbotHeader/ChatbotHeaderCloseButton.tsx","../src/ChatbotHeader/ChatbotHeaderMain.test.tsx","../src/ChatbotHeader/ChatbotHeaderMain.tsx","../src/ChatbotHeader/ChatbotHeaderMenu.test.tsx","../src/ChatbotHeader/ChatbotHeaderMenu.tsx","../src/ChatbotHeader/ChatbotHeaderNewChatButton.test.tsx","../src/ChatbotHeader/ChatbotHeaderNewChatButton.tsx","../src/ChatbotHeader/ChatbotHeaderOptionsDropdown.test.tsx","../src/ChatbotHeader/ChatbotHeaderOptionsDropdown.tsx","../src/ChatbotHeader/ChatbotHeaderSelectorDropdown.test.tsx","../src/ChatbotHeader/ChatbotHeaderSelectorDropdown.tsx","../src/ChatbotHeader/ChatbotHeaderTitle.test.tsx","../src/ChatbotHeader/ChatbotHeaderTitle.tsx","../src/ChatbotHeader/index.ts","../src/ChatbotModal/ChatbotModal.test.tsx","../src/ChatbotModal/ChatbotModal.tsx","../src/ChatbotModal/index.ts","../src/ChatbotPopover/ChatbotPopover.tsx","../src/ChatbotPopover/index.ts","../src/ChatbotToggle/ChatbotToggle.test.tsx","../src/ChatbotToggle/ChatbotToggle.tsx","../src/ChatbotToggle/index.ts","../src/ChatbotWelcomePrompt/ChatbotWelcomePrompt.test.tsx","../src/ChatbotWelcomePrompt/ChatbotWelcomePrompt.tsx","../src/ChatbotWelcomePrompt/index.ts","../src/CodeModal/CodeModal.test.tsx","../src/CodeModal/CodeModal.tsx","../src/CodeModal/index.ts","../src/Compare/Compare.test.tsx","../src/Compare/Compare.tsx","../src/Compare/index.ts","../src/DeepThinking/DeepThinking.test.tsx","../src/DeepThinking/DeepThinking.tsx","../src/DeepThinking/index.ts","../src/FileDetails/FileDetails.test.tsx","../src/FileDetails/FileDetails.tsx","../src/FileDetails/index.ts","../src/FileDetailsLabel/FileDetailsLabel.test.tsx","../src/FileDetailsLabel/FileDetailsLabel.tsx","../src/FileDetailsLabel/index.ts","../src/FileDropZone/FileDropZone.test.tsx","../src/FileDropZone/FileDropZone.tsx","../src/FileDropZone/index.ts","../src/FilePreview/FilePreview.test.tsx","../src/FilePreview/FilePreview.tsx","../src/FilePreview/index.ts","../src/ImagePreview/ImagePreview.test.tsx","../src/ImagePreview/ImagePreview.tsx","../src/ImagePreview/index.ts","../src/MarkdownContent/MarkdownContent.test.tsx","../src/MarkdownContent/MarkdownContent.tsx","../src/MarkdownContent/index.ts","../src/Message/Message.test.tsx","../src/Message/Message.tsx","../src/Message/MessageInput.tsx","../src/Message/MessageLoading.test.tsx","../src/Message/MessageLoading.tsx","../src/Message/index.ts","../src/Message/CodeBlockMessage/CodeBlockMessage.test.tsx","../src/Message/CodeBlockMessage/CodeBlockMessage.tsx","../src/Message/ErrorMessage/ErrorMessage.test.tsx","../src/Message/ErrorMessage/ErrorMessage.tsx","../src/Message/ImageMessage/ImageMessage.tsx","../src/Message/LinkMessage/LinkMessage.tsx","../src/Message/ListMessage/ListItemMessage.tsx","../src/Message/ListMessage/OrderedListMessage.tsx","../src/Message/ListMessage/UnorderedListMessage.tsx","../src/Message/MessageAndActions/MessageAndActions.test.tsx","../src/Message/MessageAndActions/MessageAndActions.tsx","../src/Message/MessageAndActions/index.ts","../src/Message/MessageAttachments/MessageAttachmentItem.test.tsx","../src/Message/MessageAttachments/MessageAttachmentItem.tsx","../src/Message/MessageAttachments/MessageAttachmentsContainer.test.tsx","../src/Message/MessageAttachments/MessageAttachmentsContainer.tsx","../src/Message/MessageAttachments/index.ts","../src/Message/Plugins/index.ts","../src/Message/Plugins/rehypeCodeBlockToggle.ts","../src/Message/Plugins/rehypeMoveImagesOutOfParagraphs.ts","../src/Message/QuickResponse/QuickResponse.test.tsx","../src/Message/QuickResponse/QuickResponse.tsx","../src/Message/QuickResponse/index.ts","../src/Message/QuickStarts/FallbackImg.tsx","../src/Message/QuickStarts/QuickStartTile.tsx","../src/Message/QuickStarts/QuickStartTileDescription.test.tsx","../src/Message/QuickStarts/QuickStartTileDescription.tsx","../src/Message/QuickStarts/QuickStartTileHeader.tsx","../src/Message/QuickStarts/index.ts","../src/Message/QuickStarts/monitor-sampleapp-quickstart-with-image.ts","../src/Message/QuickStarts/monitor-sampleapp-quickstart.ts","../src/Message/QuickStarts/types.ts","../src/Message/SuperscriptMessage/SuperscriptMessage.tsx","../src/Message/TableMessage/TableCellContent.tsx","../src/Message/TableMessage/TableMessage.tsx","../src/Message/TableMessage/TbodyMessage.tsx","../src/Message/TableMessage/TdMessage.tsx","../src/Message/TableMessage/ThMessage.tsx","../src/Message/TableMessage/TheadMessage.tsx","../src/Message/TableMessage/TrMessage.tsx","../src/Message/TextMessage/TextMessage.tsx","../src/Message/UserFeedback/CloseButton.tsx","../src/Message/UserFeedback/UserFeedback.test.tsx","../src/Message/UserFeedback/UserFeedback.tsx","../src/Message/UserFeedback/UserFeedbackComplete.test.tsx","../src/Message/UserFeedback/UserFeedbackComplete.tsx","../src/Message/UserFeedback/index.ts","../src/MessageBar/AttachButton.test.tsx","../src/MessageBar/AttachButton.tsx","../src/MessageBar/MessageBar.test.tsx","../src/MessageBar/MessageBar.tsx","../src/MessageBar/MicrophoneButton.tsx","../src/MessageBar/SendButton.test.tsx","../src/MessageBar/SendButton.tsx","../src/MessageBar/StopButton.test.tsx","../src/MessageBar/StopButton.tsx","../src/MessageBar/index.ts","../src/MessageBox/JumpButton.test.tsx","../src/MessageBox/JumpButton.tsx","../src/MessageBox/MessageBox.test.tsx","../src/MessageBox/MessageBox.tsx","../src/MessageBox/index.ts","../src/MessageDivider/MessageDivider.test.tsx","../src/MessageDivider/MessageDivider.tsx","../src/MessageDivider/index.ts","../src/Onboarding/Onboarding.test.tsx","../src/Onboarding/Onboarding.tsx","../src/Onboarding/index.ts","../src/PreviewAttachment/PreviewAttachment.test.tsx","../src/PreviewAttachment/PreviewAttachment.tsx","../src/PreviewAttachment/index.ts","../src/ResponseActions/ResponseActionButton.test.tsx","../src/ResponseActions/ResponseActionButton.tsx","../src/ResponseActions/ResponseActions.test.tsx","../src/ResponseActions/ResponseActions.tsx","../src/ResponseActions/ResponseActionsGroups.test.tsx","../src/ResponseActions/ResponseActionsGroups.tsx","../src/ResponseActions/index.ts","../src/Settings/SettingsForm.test.tsx","../src/Settings/SettingsForm.tsx","../src/Settings/index.ts","../src/SourceDetailsMenuItem/SourceDetailsMenuItem.tsx","../src/SourceDetailsMenuItem/index.ts","../src/SourcesCard/SourcesCard.test.tsx","../src/SourcesCard/SourcesCard.tsx","../src/SourcesCard/index.ts","../src/SourcesCardBase/SourcesCardBase.test.tsx","../src/SourcesCardBase/SourcesCardBase.tsx","../src/SourcesCardBase/index.ts","../src/TermsOfUse/TermsOfUse.test.tsx","../src/TermsOfUse/TermsOfUse.tsx","../src/TermsOfUse/index.ts","../src/ToolCall/ToolCall.test.tsx","../src/ToolCall/ToolCall.tsx","../src/ToolCall/index.ts","../src/ToolResponse/ToolResponse.test.tsx","../src/ToolResponse/ToolResponse.tsx","../src/ToolResponse/index.ts","../src/__mocks__/monaco-editor.ts","../src/__mocks__/rehype-external-links.ts","../src/__mocks__/rehype-highlight.ts","../src/__mocks__/rehype-sanitize.ts","../src/__mocks__/rehype-unwrap-images.tsx","../src/tracking/console_tracking_provider.ts","../src/tracking/index.ts","../src/tracking/posthog_tracking_provider.ts","../src/tracking/segment_tracking_provider.ts","../src/tracking/trackingProviderProxy.ts","../src/tracking/tracking_api.ts","../src/tracking/tracking_registry.ts","../src/tracking/tracking_spi.ts","../src/tracking/umami_tracking_provider.ts"],"version":"5.6.3"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@patternfly/chatbot",
3
- "version": "6.8.0-prerelease.3",
3
+ "version": "6.8.0-prerelease.4",
4
4
  "description": "This library provides React components based on PatternFly 6 that can be used to build chatbots.",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -68,7 +68,7 @@
68
68
  "@octokit/rest": "^18.0.0",
69
69
  "@patternfly/documentation-framework": "^6.47.0",
70
70
  "@patternfly/patternfly": "^6.6.0",
71
- "@patternfly/patternfly-a11y": "^5.0.0",
71
+ "@patternfly/patternfly-a11y": "^5.2.1",
72
72
  "@types/dom-speech-recognition": "^0.0.4",
73
73
  "@types/react": "^18.2.61",
74
74
  "estree-util-is-identifier-name": "^3.0.0",
@@ -1,8 +1,7 @@
1
1
  import { FunctionComponent } from 'react';
2
2
 
3
3
  import Message from '@patternfly/chatbot/dist/dynamic/Message';
4
- import InfoCircleIcon from '@patternfly/react-icons/dist/esm/icons/info-circle-icon';
5
- import RedoIcon from '@patternfly/react-icons/dist/esm/icons/redo-icon';
4
+ import { RhMicronsInformationFillIcon, RhUiRedoIcon } from '@patternfly/react-icons';
6
5
 
7
6
  export const CustomActionExample: FunctionComponent = () => (
8
7
  <Message
@@ -18,14 +17,14 @@ export const CustomActionExample: FunctionComponent = () => (
18
17
  onClick: () => console.log('Clicked regenerate'),
19
18
  tooltipContent: 'Regenerate',
20
19
  clickedTooltipContent: 'Regenerated',
21
- icon: <RedoIcon />
20
+ icon: <RhUiRedoIcon />
22
21
  },
23
22
  info: {
24
23
  ariaLabel: 'Info',
25
24
  // eslint-disable-next-line no-console
26
25
  onClick: () => console.log('Clicked info'),
27
26
  tooltipContent: 'Info',
28
- icon: <InfoCircleIcon />
27
+ icon: <RhMicronsInformationFillIcon />
29
28
  }
30
29
  }}
31
30
  />
@@ -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,
@@ -72,7 +72,7 @@ export const MessageWithToolResponseExample: FunctionComponent = () => {
72
72
  }}
73
73
  >
74
74
  <FlexItem>
75
- <WrenchIcon
75
+ <RhUiBuildFillIcon
76
76
  style={{
77
77
  color: 'var(--pf-t--global--icon--color--brand--default'
78
78
  }}
@@ -102,7 +102,7 @@ export const MessageWithToolResponseExample: FunctionComponent = () => {
102
102
  variant="plain"
103
103
  aria-label="Copy tool response to clipboard"
104
104
  icon={
105
- <CopyIcon
105
+ <RhUiCopyFillIcon
106
106
  style={{
107
107
  color: 'var(--pf-t--global--icon--color--subtle)'
108
108
  }}
@@ -1,6 +1,6 @@
1
1
  import { FunctionComponent } 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
 
5
5
  export const MessageWithQuickResponsesExample: FunctionComponent = () => (
6
6
  <>
@@ -73,8 +73,8 @@ export const MessageWithQuickResponsesExample: FunctionComponent = () => (
73
73
  role="bot"
74
74
  content="Example with icons"
75
75
  quickResponses={[
76
- { id: '1', content: 'Update your settings', onClick: () => alert('Clicked yes'), icon: <WrenchIcon /> },
77
- { id: '2', content: 'Copy', onClick: () => alert('Clicked no'), icon: <CopyIcon /> }
76
+ { id: '1', content: 'Update your settings', onClick: () => alert('Clicked yes'), icon: <RhUiBuildFillIcon /> },
77
+ { id: '2', content: 'Copy', onClick: () => alert('Clicked no'), icon: <RhUiCopyFillIcon /> }
78
78
  ]}
79
79
  />
80
80
  </>
@@ -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 } 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