impact-ui 5.0.4 → 5.0.5-chatbot.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_virtual/ArrowBack.js +4 -0
- package/dist/_virtual/AttachFileOutlined.js +4 -0
- package/dist/_virtual/ContentCopyOutlined.js +4 -0
- package/dist/_virtual/Menu.js +4 -0
- package/dist/_virtual/NorthRounded.js +4 -0
- package/dist/_virtual/RefreshOutlined.js +4 -0
- package/dist/_virtual/StopRounded.js +4 -0
- package/dist/_virtual/VolumeUpOutlined.js +4 -0
- package/dist/_virtual/index2.js +2 -2
- package/dist/_virtual/index3.js +2 -2
- package/dist/_virtual/index4.js +4 -2
- package/dist/_virtual/index5.js +3 -3
- package/dist/_virtual/index6.js +2 -4
- package/dist/components/AccordionModern/index.js +1 -1
- package/dist/components/Badge/index.js +1 -1
- package/dist/components/Breadcrumbs/index.js +1 -1
- package/dist/components/Button/index.js +1 -1
- package/dist/components/ButtonGroup/index.js +1 -1
- package/dist/components/Chatbot/Chatbot.types.d.ts +253 -186
- package/dist/components/Chatbot/Chatbot.types.d.ts.map +1 -1
- package/dist/components/Chatbot/chatBotFooter.d.ts +1 -1
- package/dist/components/Chatbot/chatBotFooter.d.ts.map +1 -1
- package/dist/components/Chatbot/chatBotFooter.js +21 -4
- package/dist/components/Chatbot/chatbotComposer.d.ts +4 -0
- package/dist/components/Chatbot/chatbotComposer.d.ts.map +1 -0
- package/dist/components/Chatbot/chatbotComposer.js +328 -0
- package/dist/components/Chatbot/chatbotGreetingHeader.d.ts +4 -0
- package/dist/components/Chatbot/chatbotGreetingHeader.d.ts.map +1 -0
- package/dist/components/Chatbot/chatbotGreetingHeader.js +226 -0
- package/dist/components/Chatbot/greetingWeather.d.ts +23 -0
- package/dist/components/Chatbot/greetingWeather.d.ts.map +1 -0
- package/dist/components/Chatbot/greetingWeather.js +81 -0
- package/dist/components/Chatbot/greetingWeather.test.d.ts +2 -0
- package/dist/components/Chatbot/greetingWeather.test.d.ts.map +1 -0
- package/dist/components/Chatbot/index.d.ts +5 -2
- package/dist/components/Chatbot/index.d.ts.map +1 -1
- package/dist/components/Chatbot/index.js +390 -421
- package/dist/components/Chatbot/irisConversationThread.d.ts +24 -0
- package/dist/components/Chatbot/irisConversationThread.d.ts.map +1 -0
- package/dist/components/Chatbot/irisConversationThread.js +511 -0
- package/dist/components/Chatbot/irisGreetingBackdrop.d.ts +5 -0
- package/dist/components/Chatbot/irisGreetingBackdrop.d.ts.map +1 -0
- package/dist/components/Chatbot/irisGreetingBackdrop.js +62 -0
- package/dist/components/Chatbot/irisMenuListItem.d.ts +11 -0
- package/dist/components/Chatbot/irisMenuListItem.d.ts.map +1 -0
- package/dist/components/Chatbot/irisMenuListItem.js +126 -0
- package/dist/components/Chatbot/irisMenuScreen.d.ts +4 -0
- package/dist/components/Chatbot/irisMenuScreen.d.ts.map +1 -0
- package/dist/components/Chatbot/irisMenuScreen.js +357 -0
- package/dist/components/Chatbot/irisThinking.d.ts +7 -0
- package/dist/components/Chatbot/irisThinking.d.ts.map +1 -0
- package/dist/components/Chatbot/irisThinking.js +219 -0
- package/dist/components/Chatbot/newChatComponent.d.ts +1 -1
- package/dist/components/Chatbot/newChatComponent.d.ts.map +1 -1
- package/dist/components/Chatbot/newChatComponent.js +497 -72
- package/dist/components/Chips/index.js +1 -1
- package/dist/components/CommentsPanel/CommentsPanel.impl.js +1 -1
- package/dist/components/DatePicker/DatePicker.types.d.ts +4 -0
- package/dist/components/DatePicker/DatePicker.types.d.ts.map +1 -1
- package/dist/components/DatePicker/datePickerInput.d.ts +2 -0
- package/dist/components/DatePicker/datePickerInput.d.ts.map +1 -1
- package/dist/components/DatePicker/datePickerInput.js +32 -2
- package/dist/components/DatePicker/index.d.ts.map +1 -1
- package/dist/components/DatePicker/index.js +5 -1
- package/dist/components/DatePicker/showMonthYearSelect.d.ts.map +1 -1
- package/dist/components/DatePicker/showMonthYearSelect.js +2 -0
- package/dist/components/DateRangePicker/index.js +1 -1
- package/dist/components/DateRangePicker/showMonthYearSelect.d.ts.map +1 -1
- package/dist/components/DateRangePicker/showMonthYearSelect.js +2 -0
- package/dist/components/FileUpload/index.js +1 -1
- package/dist/components/FilterPanel/index.js +1 -1
- package/dist/components/FiltersStrip/FilterSlider.js +1 -1
- package/dist/components/FiltersStrip/index.js +1 -1
- package/dist/components/Input/index.js +1 -1
- package/dist/components/KeyboardShortCuts/ShortcutLandingPage.js +1 -1
- package/dist/components/KeyboardShortCuts/ShortcutModal.js +1 -1
- package/dist/components/KeyboardShortCuts/allSetBox.js +1 -1
- package/dist/components/KeyboardShortCuts/index.js +1 -1
- package/dist/components/KeyboardShortCuts/tutorial.js +1 -1
- package/dist/components/Menu/IconMenuItem.js +1 -1
- package/dist/components/Menu/NestedMenuItem.js +1 -1
- package/dist/components/Menu/index.js +1 -1
- package/dist/components/Menu/nestedMenuItemsFromObject.js +1 -1
- package/dist/components/Modal/index.js +1 -1
- package/dist/components/MonthPicker/index.js +1 -1
- package/dist/components/MonthRangePicker/index.js +1 -1
- package/dist/components/NewCreateItemFlow/index.js +1 -1
- package/dist/components/NewDynamicLayout/index.js +1 -1
- package/dist/components/OnboardingTour/index.js +1 -1
- package/dist/components/OnboardingTour/productTourList.js +1 -1
- package/dist/components/OnboardingTour/tooltipCard.js +1 -1
- package/dist/components/Panel/index.js +1 -1
- package/dist/components/Popover/index.js +1 -1
- package/dist/components/Prompt/index.js +1 -1
- package/dist/components/Select/Select.types.d.ts +7 -0
- package/dist/components/Select/Select.types.d.ts.map +1 -1
- package/dist/components/Select/index.d.ts.map +1 -1
- package/dist/components/Select/index.js +44 -26
- package/dist/components/Stepper/index.js +1 -1
- package/dist/components/TableChat/EmptyContainer.js +1 -1
- package/dist/components/TableChat/TableChatSidePanel.js +1 -1
- package/dist/components/TableChat/components/TableChatLeftSection/AddChatContainer/AddChatContainer.js +1 -1
- package/dist/components/TableChat/components/TableChatLeftSection/ChatFilterChips/ChatFilterChips.js +1 -1
- package/dist/components/TableChat/components/TableChatLeftSection/TableChatChannelHeader.js +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/AvatarGroup/AvatarGroup.js +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatDefaultMessageType/ChatDefaultMessageType.js +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatDeleteMessageType/ChatDeletedMessageType.js +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeader.js +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatInlineEdit/ChatInlineEdit.js +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatInput/ChatInput.js +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatMessages/ChatMessage.js +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatNotificationSettings/ChatNotificationSettings.js +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/TableChatRightSection.js +1 -1
- package/dist/components/TableChat/components/TextEditor/EditorToolbar.js +1 -1
- package/dist/components/TableChat/components/TextEditor/Mention.js +1 -1
- package/dist/components/TableChat/components/TextEditor/MentionList.js +1 -1
- package/dist/components/TableV36/AgGridHeader.d.ts.map +1 -1
- package/dist/components/TableV36/AgGridHeader.js +107 -115
- package/dist/components/TableV36/index.d.ts.map +1 -1
- package/dist/components/TableV36/index.js +27 -5
- package/dist/components/TableV36/tableFunctions.d.ts.map +1 -1
- package/dist/components/TableV36/tableFunctions.js +15 -14
- package/dist/components/Tag/index.js +1 -1
- package/dist/components/TextArea/index.js +1 -1
- package/dist/components/common/MentionEditor/MentionList/index.js +1 -1
- package/dist/components/common/MentionEditor/index.js +1 -1
- package/dist/components/index.d.ts +3 -2
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +3 -0
- package/dist/hooks/useDraggableResizable.d.ts +11 -1
- package/dist/hooks/useDraggableResizable.d.ts.map +1 -1
- package/dist/hooks/useDraggableResizable.js +73 -59
- package/dist/locales/de-DE.json.d.ts +50 -30
- package/dist/locales/de-DE.json.js +50 -30
- package/dist/locales/en-US.json.d.ts +50 -30
- package/dist/locales/en-US.json.js +50 -30
- package/dist/locales/es-ES.json.d.ts +50 -30
- package/dist/locales/es-ES.json.js +50 -30
- package/dist/mcp-component-registry.json +65 -263
- package/dist/node_modules/@impactsmartsuite/impact-icons/dist/index.js +293 -53
- package/dist/node_modules/@mui/icons-material/ArrowBack.js +17 -0
- package/dist/node_modules/@mui/icons-material/AttachFileOutlined.js +17 -0
- package/dist/node_modules/@mui/icons-material/ContentCopyOutlined.js +17 -0
- package/dist/node_modules/@mui/icons-material/Menu.js +17 -0
- package/dist/node_modules/@mui/icons-material/NorthRounded.js +17 -0
- package/dist/node_modules/@mui/icons-material/RefreshOutlined.js +17 -0
- package/dist/node_modules/@mui/icons-material/StopRounded.js +17 -0
- package/dist/node_modules/@mui/icons-material/VolumeUpOutlined.js +17 -0
- package/dist/node_modules/@mui/system/colorManipulator.js +2 -2
- package/dist/node_modules/prop-types/index.js +1 -1
- package/dist/node_modules/prop-types/node_modules/react-is/index.js +1 -1
- package/dist/node_modules/react-is/index.js +1 -1
- package/dist/stories/chatBotApiMock.d.ts +91 -0
- package/dist/stories/chatBotApiMock.d.ts.map +1 -0
- package/dist/styles/style.css +1 -1
- package/package.json +2 -2
- package/dist/_virtual/MoreVert.js +0 -4
- package/dist/_virtual/RemoveRounded.js +0 -4
- package/dist/_virtual/SaveOutlined.js +0 -4
- package/dist/components/Chatbot/bookMarkPanel.d.ts +0 -4
- package/dist/components/Chatbot/bookMarkPanel.d.ts.map +0 -1
- package/dist/components/Chatbot/bookMarkPanel.js +0 -64
- package/dist/components/Chatbot/chatBotLandingScreen.d.ts +0 -4
- package/dist/components/Chatbot/chatBotLandingScreen.d.ts.map +0 -1
- package/dist/components/Chatbot/chatBotLandingScreen.js +0 -24
- package/dist/components/Chatbot/chatInput.d.ts +0 -4
- package/dist/components/Chatbot/chatInput.d.ts.map +0 -1
- package/dist/components/Chatbot/chatInput.js +0 -198
- package/dist/components/Chatbot/chatbotModuleMenu.d.ts +0 -4
- package/dist/components/Chatbot/chatbotModuleMenu.d.ts.map +0 -1
- package/dist/components/Chatbot/chatbotModuleMenu.js +0 -248
- package/dist/components/Chatbot/constant.d.ts +0 -6
- package/dist/components/Chatbot/constant.d.ts.map +0 -1
- package/dist/components/Chatbot/constant.js +0 -27
- package/dist/components/Chatbot/conversationScreen.d.ts +0 -4
- package/dist/components/Chatbot/conversationScreen.d.ts.map +0 -1
- package/dist/components/Chatbot/conversationScreen.js +0 -207
- package/dist/components/Chatbot/customScreen.d.ts +0 -4
- package/dist/components/Chatbot/customScreen.d.ts.map +0 -1
- package/dist/components/Chatbot/customScreen.js +0 -66
- package/dist/components/Chatbot/historyPanel.d.ts +0 -4
- package/dist/components/Chatbot/historyPanel.d.ts.map +0 -1
- package/dist/components/Chatbot/historyPanel.js +0 -374
- package/dist/components/Chatbot/utils.d.ts +0 -5
- package/dist/components/Chatbot/utils.d.ts.map +0 -1
- package/dist/components/Chatbot/utils.js +0 -29
- package/dist/node_modules/@mui/icons-material/MoreVert.js +0 -17
- package/dist/node_modules/@mui/icons-material/RemoveRounded.js +0 -17
- package/dist/node_modules/@mui/icons-material/SaveOutlined.js +0 -17
- package/dist/utils/onResize.js +0 -28
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 1,
|
|
3
|
-
"generatedAt": "2026-11-
|
|
3
|
+
"generatedAt": "2026-11-19T09:46:59.150Z",
|
|
4
4
|
"components": {
|
|
5
5
|
"Menu": {
|
|
6
6
|
"title": "Components/Menu",
|
|
@@ -1638,331 +1638,133 @@
|
|
|
1638
1638
|
"ChatBot": {
|
|
1639
1639
|
"title": "Components/ChatBot",
|
|
1640
1640
|
"category": "Components",
|
|
1641
|
-
"description": "
|
|
1641
|
+
"description": "# ChatBot / Iris\n\nHost-driven Iris chat shell: greeting, suggested prompts, conversation thread with thinking / citations, hamburger menu (recent chats + artifacts), and assistant feedback actions. Stories use \\",
|
|
1642
1642
|
"examples": [],
|
|
1643
1643
|
"props": {
|
|
1644
|
-
"id": {
|
|
1645
|
-
"description": "Stable DOM id for automation / aria references.",
|
|
1646
|
-
"type": "string",
|
|
1647
|
-
"required": true
|
|
1648
|
-
},
|
|
1649
|
-
"className": {
|
|
1650
|
-
"description": "Optional className on the component root (via BaseComponentProps).",
|
|
1651
|
-
"type": "string",
|
|
1652
|
-
"required": true
|
|
1653
|
-
},
|
|
1654
|
-
"style": {
|
|
1655
|
-
"description": "Inline style object (BaseComponentProps).",
|
|
1656
|
-
"type": "CSSProperties",
|
|
1657
|
-
"required": true
|
|
1658
|
-
},
|
|
1659
|
-
"control": {
|
|
1660
|
-
"description": "",
|
|
1661
|
-
"type": "unknown",
|
|
1662
|
-
"required": true
|
|
1663
|
-
},
|
|
1664
|
-
"table": {
|
|
1665
|
-
"description": "",
|
|
1666
|
-
"type": "string",
|
|
1667
|
-
"required": true
|
|
1668
|
-
},
|
|
1669
1644
|
"userName": {
|
|
1670
|
-
"description": "Display name used in greeting
|
|
1645
|
+
"description": "Display name used in greeting copy (e.g.",
|
|
1671
1646
|
"type": "string",
|
|
1672
|
-
"defaultValue": "undefined",
|
|
1673
|
-
"required": false
|
|
1674
|
-
},
|
|
1675
|
-
"isChatBotOpen": {
|
|
1676
|
-
"description": "Controls whether the chatbot modal is visible.",
|
|
1677
|
-
"type": "boolean",
|
|
1678
1647
|
"required": true
|
|
1679
1648
|
},
|
|
1680
|
-
"
|
|
1681
|
-
"description": "
|
|
1682
|
-
"type": "(open: boolean) => void",
|
|
1683
|
-
"defaultValue": "required",
|
|
1684
|
-
"required": false
|
|
1685
|
-
},
|
|
1686
|
-
"onClose": {
|
|
1687
|
-
"description": "Optional callback after chatbot closes.",
|
|
1688
|
-
"type": "() => void",
|
|
1689
|
-
"defaultValue": "undefined",
|
|
1690
|
-
"required": false
|
|
1691
|
-
},
|
|
1692
|
-
"conversation": {
|
|
1693
|
-
"description": "Conversation payload from the API.\n<code>\n <ul class=\"storybook-order-list\">\n <li><strong>conversations</strong>: Record<id, ConversationThread></li>\n <ul class=\"storybook-order-child-list\">\n <li><strong>messages</strong>: ChatMessage[]</li>\n <li><strong>id / name / timestamp</strong>: optional metadata</li>\n </ul>\n </ul>\n</code>",
|
|
1694
|
-
"type": "ConversationPayload",
|
|
1695
|
-
"defaultValue": "{",
|
|
1696
|
-
"required": false
|
|
1697
|
-
},
|
|
1698
|
-
"solution": {
|
|
1699
|
-
"description": "Optional solution context passed through by host apps.",
|
|
1649
|
+
"greetingWeather": {
|
|
1650
|
+
"description": "Weather for the greeting emoji (combined with local time). Host-driven, or leave unset and enable `autoGreetingWeather`. Ignored when `greetingIcon` is set.",
|
|
1700
1651
|
"type": "unknown",
|
|
1652
|
+
"options": [
|
|
1653
|
+
"clear",
|
|
1654
|
+
"partlyCloudy",
|
|
1655
|
+
"cloudy",
|
|
1656
|
+
"rain",
|
|
1657
|
+
"snow",
|
|
1658
|
+
"storm"
|
|
1659
|
+
],
|
|
1701
1660
|
"required": true
|
|
1702
1661
|
},
|
|
1703
|
-
"
|
|
1704
|
-
"description": "
|
|
1705
|
-
"type": "ReactNode",
|
|
1706
|
-
"required": true
|
|
1707
|
-
},
|
|
1708
|
-
"tableComponent": {
|
|
1709
|
-
"description": "React node rendered for table-type bot messages.",
|
|
1710
|
-
"type": "ReactNode",
|
|
1711
|
-
"required": true
|
|
1712
|
-
},
|
|
1713
|
-
"preDefinedQuestions": {
|
|
1714
|
-
"description": "Bookmark panel — predefined questions.\n<code>\n <ul class=\"storybook-order-list\">\n <li><strong>question</strong>: string</li>\n </ul>\n</code>",
|
|
1715
|
-
"type": "BookmarkQuestion[]",
|
|
1716
|
-
"defaultValue": "undefined",
|
|
1717
|
-
"required": false
|
|
1718
|
-
},
|
|
1719
|
-
"addedByYouQuestions": {
|
|
1720
|
-
"description": "Bookmark panel — user-saved questions (`{ question }[]`).",
|
|
1721
|
-
"type": "BookmarkQuestion[]",
|
|
1722
|
-
"defaultValue": "undefined",
|
|
1723
|
-
"required": false
|
|
1724
|
-
},
|
|
1725
|
-
"onSendIconClick": {
|
|
1726
|
-
"description": "Fired when user sends a message. `(message, activeList?, uniqueId?) => void`. Host should call the chat API and update `conversation`.",
|
|
1727
|
-
"type": "(message: ChatMessage, activeList?: string, uniqueId?: string | number) => void",
|
|
1728
|
-
"required": true
|
|
1729
|
-
},
|
|
1730
|
-
"assistantChats": {
|
|
1731
|
-
"description": "Optional assistant-side chat buffer (host-managed).",
|
|
1732
|
-
"type": "ChatMessage[]",
|
|
1733
|
-
"defaultValue": [],
|
|
1734
|
-
"required": false
|
|
1735
|
-
},
|
|
1736
|
-
"isAssistantThinking": {
|
|
1737
|
-
"description": "Shows the assistant typing/thinking loader in conversation view.",
|
|
1738
|
-
"type": "boolean",
|
|
1739
|
-
"defaultValue": "false",
|
|
1740
|
-
"required": false
|
|
1741
|
-
},
|
|
1742
|
-
"moduleList": {
|
|
1743
|
-
"description": "Modules shown in module menu.\n<code>\n <ul class=\"storybook-order-list\">\n <li><strong>id / key / name / label</strong></li>\n <li><strong>description</strong>, <strong>icon</strong>, <strong>isActive</strong></li>\n <li><strong>isInitialClickPresent</strong>, <strong>tabName</strong>, <strong>initialClick</strong></li>\n </ul>\n</code>",
|
|
1744
|
-
"type": "ModuleItem[]",
|
|
1745
|
-
"defaultValue": [],
|
|
1746
|
-
"required": false
|
|
1747
|
-
},
|
|
1748
|
-
"onModuleClick": {
|
|
1749
|
-
"description": "`(moduleId?, moduleName?, activeList?) => void` — select a module.",
|
|
1750
|
-
"type": "(moduleId?: string | number, moduleName?: string, activeList?: string) => void",
|
|
1751
|
-
"required": true
|
|
1752
|
-
},
|
|
1753
|
-
"tabList": {
|
|
1754
|
-
"description": "Custom left-rail tabs (replaces default bookmark/history/page/notification when provided).\n<code>\n <ul class=\"storybook-order-list\">\n <li><strong>key / name / label / icon</strong></li>\n <li><strong>isActive / initialClick / onClick</strong></li>\n </ul>\n</code>",
|
|
1755
|
-
"type": "TabItem[]",
|
|
1756
|
-
"required": true
|
|
1757
|
-
},
|
|
1758
|
-
"handleSavedChat": {
|
|
1759
|
-
"description": "Callback when saved/bookmark chat action is triggered from module menu.",
|
|
1760
|
-
"type": "() => void",
|
|
1761
|
-
"required": true
|
|
1762
|
-
},
|
|
1763
|
-
"threadList": {
|
|
1764
|
-
"description": "Thread labels shown in module menu.",
|
|
1765
|
-
"type": "string[]",
|
|
1766
|
-
"required": true
|
|
1767
|
-
},
|
|
1768
|
-
"activeThread": {
|
|
1769
|
-
"description": "Currently selected thread name.",
|
|
1770
|
-
"type": "string | null",
|
|
1771
|
-
"defaultValue": "null",
|
|
1772
|
-
"required": false
|
|
1773
|
-
},
|
|
1774
|
-
"isCustomScreen": {
|
|
1775
|
-
"description": "When true, renders `customScreenJsx` instead of chat/new-chat body.",
|
|
1662
|
+
"autoGreetingWeather": {
|
|
1663
|
+
"description": "Opt-in: fetch weather from Open-Meteo using browser geolocation when `greetingWeather` / `greetingIcon` are unset (location permission prompt).",
|
|
1776
1664
|
"type": "boolean",
|
|
1777
1665
|
"defaultValue": "false",
|
|
1778
1666
|
"required": false
|
|
1779
1667
|
},
|
|
1780
|
-
"
|
|
1781
|
-
"description": "
|
|
1782
|
-
"type": "ReactNode",
|
|
1783
|
-
"required": true
|
|
1784
|
-
},
|
|
1785
|
-
"onLikeClick": {
|
|
1786
|
-
"description": "`(chat, idx) => void` — like a bot message.",
|
|
1787
|
-
"type": "(chat: ChatMessage, idx: number) => void",
|
|
1788
|
-
"required": true
|
|
1789
|
-
},
|
|
1790
|
-
"onDislikeClick": {
|
|
1791
|
-
"description": "`(chat, idx) => void` — dislike a bot message.",
|
|
1792
|
-
"type": "(chat: ChatMessage, idx: number) => void",
|
|
1793
|
-
"required": true
|
|
1794
|
-
},
|
|
1795
|
-
"handleNewChatClick": {
|
|
1796
|
-
"description": "Called when New Chat is clicked. May return `{ isInitialClickPresent, tabName }` to activate a tab.",
|
|
1797
|
-
"type": "(item?: TabItem) => { isInitialClickPresent?: boolean; tabName?: string } | void",
|
|
1798
|
-
"required": true
|
|
1799
|
-
},
|
|
1800
|
-
"inputText": {
|
|
1801
|
-
"description": "Controlled seed value for the chat input.",
|
|
1668
|
+
"greetingIcon": {
|
|
1669
|
+
"description": "Override the greeting trailing icon entirely (emoji or short text).",
|
|
1802
1670
|
"type": "string",
|
|
1803
1671
|
"required": true
|
|
1804
1672
|
},
|
|
1805
|
-
"
|
|
1806
|
-
"description": "
|
|
1807
|
-
"type": "
|
|
1808
|
-
"required": true
|
|
1809
|
-
},
|
|
1810
|
-
"handleMicClick": {
|
|
1811
|
-
"description": "Microphone / voice input action.",
|
|
1812
|
-
"type": "() => void",
|
|
1673
|
+
"isChatBotOpen": {
|
|
1674
|
+
"description": "**Required.** Controls whether the chatbot panel is visible.",
|
|
1675
|
+
"type": "boolean",
|
|
1813
1676
|
"required": true
|
|
1814
1677
|
},
|
|
1815
|
-
"
|
|
1816
|
-
"description": "
|
|
1678
|
+
"isFullWidth": {
|
|
1679
|
+
"description": "When true, docks near full viewport width (minus margins).",
|
|
1817
1680
|
"type": "boolean",
|
|
1818
1681
|
"defaultValue": "false",
|
|
1819
1682
|
"required": false
|
|
1820
1683
|
},
|
|
1821
|
-
"
|
|
1822
|
-
"description": "
|
|
1684
|
+
"defaultCollapsed": {
|
|
1685
|
+
"description": "Start in collapsed floating mode (410×490). Drag header to move; edge handles resize.",
|
|
1823
1686
|
"type": "boolean",
|
|
1824
1687
|
"defaultValue": "false",
|
|
1825
1688
|
"required": false
|
|
1826
1689
|
},
|
|
1827
|
-
"
|
|
1828
|
-
"description": "
|
|
1690
|
+
"defaultFloating": {
|
|
1691
|
+
"description": "Start in floating bottom-bar mode — compact composer at bottom center with aurora glow.",
|
|
1829
1692
|
"type": "boolean",
|
|
1830
1693
|
"defaultValue": "false",
|
|
1831
1694
|
"required": false
|
|
1832
1695
|
},
|
|
1833
|
-
"
|
|
1834
|
-
"description": "
|
|
1835
|
-
"type": "
|
|
1696
|
+
"footerText": {
|
|
1697
|
+
"description": "Footer disclaimer. Defaults to `chatBot.irisFooterText`.",
|
|
1698
|
+
"type": "string",
|
|
1836
1699
|
"required": true
|
|
1837
1700
|
},
|
|
1838
|
-
"
|
|
1839
|
-
"description": "
|
|
1701
|
+
"conversation": {
|
|
1702
|
+
"description": "`ConversationPayload`: `{ conversations?: Record<string, { messages?: ChatMessage[] }> }`.",
|
|
1703
|
+
"type": "ConversationPayload",
|
|
1704
|
+
"required": true
|
|
1705
|
+
},
|
|
1706
|
+
"isAssistantThinking": {
|
|
1707
|
+
"description": "Shows the in-progress assistant thinking indicator.",
|
|
1840
1708
|
"type": "boolean",
|
|
1841
1709
|
"defaultValue": "false",
|
|
1842
1710
|
"required": false
|
|
1843
1711
|
},
|
|
1844
|
-
"
|
|
1845
|
-
"description": "
|
|
1846
|
-
"type": "
|
|
1712
|
+
"thinking": {
|
|
1713
|
+
"description": "Host-driven Iris thinking UI (`IrisThinkingState`).",
|
|
1714
|
+
"type": "IrisThinkingState",
|
|
1847
1715
|
"required": true
|
|
1848
1716
|
},
|
|
1849
|
-
"
|
|
1850
|
-
"description": "
|
|
1717
|
+
"isStopIcon": {
|
|
1718
|
+
"description": "Swap send for stop while a response is streaming / thinking.",
|
|
1851
1719
|
"type": "boolean",
|
|
1852
1720
|
"defaultValue": "false",
|
|
1853
1721
|
"required": false
|
|
1854
1722
|
},
|
|
1855
|
-
"
|
|
1856
|
-
"description": "
|
|
1857
|
-
"type": "
|
|
1723
|
+
"defaultAssistantActions": {
|
|
1724
|
+
"description": "Default Iris assistant action keys. Keys: `",
|
|
1725
|
+
"type": "IrisAssistantActionKey[]",
|
|
1858
1726
|
"required": true
|
|
1859
1727
|
},
|
|
1860
|
-
"
|
|
1861
|
-
"description": "
|
|
1862
|
-
"type": "
|
|
1728
|
+
"suggestedPrompts": {
|
|
1729
|
+
"description": "Iris greeting chips: `{ id: string; label: string }[]`.",
|
|
1730
|
+
"type": "SuggestedPrompt[]",
|
|
1863
1731
|
"required": true
|
|
1864
1732
|
},
|
|
1865
|
-
"
|
|
1866
|
-
"description": "
|
|
1867
|
-
"type": "
|
|
1868
|
-
"defaultValue": "true",
|
|
1869
|
-
"required": false
|
|
1870
|
-
},
|
|
1871
|
-
"utilityList": {
|
|
1872
|
-
"description": "Bottom utility icons in the left rail.\n<code>\n <ul class=\"storybook-order-list\">\n <li><strong>key</strong>: string (required)</li>\n <li><strong>icon</strong>: ReactNode | CDN URL string</li>\n <li><strong>onClick</strong>: () => void</li>\n </ul>\n</code>",
|
|
1873
|
-
"type": "UtilityItem[]",
|
|
1874
|
-
"defaultValue": [],
|
|
1875
|
-
"required": false
|
|
1876
|
-
},
|
|
1877
|
-
"customInputComponent": {
|
|
1878
|
-
"description": "Replace the default ChatInput with a custom node.",
|
|
1879
|
-
"type": "ReactNode",
|
|
1733
|
+
"modelOptions": {
|
|
1734
|
+
"description": "Composer model select options: `{ label, value }[]`.",
|
|
1735
|
+
"type": "ChatModelOption[]",
|
|
1880
1736
|
"required": true
|
|
1881
1737
|
},
|
|
1882
|
-
"
|
|
1883
|
-
"description": "
|
|
1884
|
-
"type": "
|
|
1738
|
+
"artifacts": {
|
|
1739
|
+
"description": "Iris Menu → Artifacts list.",
|
|
1740
|
+
"type": "IrisArtifactItem[]",
|
|
1885
1741
|
"required": true
|
|
1886
1742
|
},
|
|
1887
1743
|
"historyPanelData": {
|
|
1888
|
-
"description": "
|
|
1744
|
+
"description": "Iris Menu → Recent Chats data.",
|
|
1889
1745
|
"type": "HistoryPanelInput",
|
|
1890
|
-
"defaultValue": [],
|
|
1891
|
-
"required": false
|
|
1892
|
-
},
|
|
1893
|
-
"onHistorySearchChange": {
|
|
1894
|
-
"description": "`(value: string) => void` — search history. Call your search API here.",
|
|
1895
|
-
"type": "(value: string) => void",
|
|
1896
|
-
"required": true
|
|
1897
|
-
},
|
|
1898
|
-
"onHistorySelectConversation": {
|
|
1899
|
-
"description": "`(item) => void` — load conversation by id. Call GET conversation API and set `conversation`.",
|
|
1900
|
-
"type": "(item: HistoryConversationItem) => void",
|
|
1901
|
-
"required": true
|
|
1902
|
-
},
|
|
1903
|
-
"onHistoryToggleGroup": {
|
|
1904
|
-
"description": "`(name, open) => void` — expand/collapse a history group.",
|
|
1905
|
-
"type": "(name: string, open: boolean) => void",
|
|
1906
|
-
"required": true
|
|
1907
|
-
},
|
|
1908
|
-
"historyOpenGroups": {
|
|
1909
|
-
"description": "Controlled map of open history groups `{ [groupName]: boolean }`.",
|
|
1910
|
-
"type": "Record<string, boolean>",
|
|
1911
1746
|
"required": true
|
|
1912
1747
|
},
|
|
1913
|
-
"
|
|
1914
|
-
"description": "
|
|
1915
|
-
"type": "(action: string, item: HistoryConversationItem) => void",
|
|
1916
|
-
"required": true
|
|
1917
|
-
},
|
|
1918
|
-
"showHistoryPanel": {
|
|
1919
|
-
"description": "Include the mandatory History tab in the left rail.",
|
|
1748
|
+
"isConversationLoading": {
|
|
1749
|
+
"description": "Loading state for Iris Menu → Recent Chats (shows list skeletons).",
|
|
1920
1750
|
"type": "boolean",
|
|
1921
|
-
"defaultValue": "
|
|
1751
|
+
"defaultValue": "false",
|
|
1922
1752
|
"required": false
|
|
1923
1753
|
},
|
|
1924
|
-
"
|
|
1925
|
-
"description": "
|
|
1754
|
+
"isArtifactsLoading": {
|
|
1755
|
+
"description": "Loading state for Iris Menu → Artifacts (shows list skeletons).",
|
|
1926
1756
|
"type": "boolean",
|
|
1927
1757
|
"defaultValue": "false",
|
|
1928
1758
|
"required": false
|
|
1929
1759
|
},
|
|
1930
|
-
"
|
|
1931
|
-
"description": "
|
|
1932
|
-
"type": "
|
|
1933
|
-
"
|
|
1934
|
-
|
|
1935
|
-
"handleCloseThread": {
|
|
1936
|
-
"description": "`(e, idx) => void` — close a thread chip.",
|
|
1937
|
-
"type": "(e: MouseEvent, idx: number) => void",
|
|
1938
|
-
"required": true
|
|
1939
|
-
},
|
|
1940
|
-
"handleThreadClick": {
|
|
1941
|
-
"description": "`(thread, idx) => void` — select a thread.",
|
|
1942
|
-
"type": "(thread: string, idx: number) => void",
|
|
1943
|
-
"required": true
|
|
1944
|
-
},
|
|
1945
|
-
"onMinimiseChatBot": {
|
|
1946
|
-
"description": "Minimize chatbot to a collapsed state (host-managed).",
|
|
1947
|
-
"type": "() => void",
|
|
1948
|
-
"required": true
|
|
1949
|
-
},
|
|
1950
|
-
"onChatBotResize": {
|
|
1951
|
-
"description": "`(width: number) => void` while the user drags the resizer.",
|
|
1952
|
-
"type": "(width: number) => void",
|
|
1953
|
-
"required": true
|
|
1954
|
-
},
|
|
1955
|
-
"handleSaveChat": {
|
|
1956
|
-
"description": "Persist / save current chat from the input toolbar.",
|
|
1957
|
-
"type": "() => void",
|
|
1958
|
-
"required": true
|
|
1959
|
-
}
|
|
1960
|
-
},
|
|
1961
|
-
"storyArgs": {
|
|
1962
|
-
"MultiLanguage": {
|
|
1963
|
-
"newChatScreen": true
|
|
1760
|
+
"isSuggestedPromptsLoading": {
|
|
1761
|
+
"description": "Loading state for Suggested prompts (shows skeleton).",
|
|
1762
|
+
"type": "boolean",
|
|
1763
|
+
"defaultValue": "false",
|
|
1764
|
+
"required": false
|
|
1964
1765
|
}
|
|
1965
1766
|
},
|
|
1767
|
+
"storyArgs": {},
|
|
1966
1768
|
"storyFile": "src/stories/ChatBot.stories.tsx"
|
|
1967
1769
|
},
|
|
1968
1770
|
"Checkbox": {
|