impact-ui 5.0.4-alpha.3 → 5.0.4-chatbot.2

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 (182) hide show
  1. package/dist/_virtual/ArrowBack.js +4 -0
  2. package/dist/_virtual/AttachFileOutlined.js +4 -0
  3. package/dist/_virtual/ContentCopyOutlined.js +4 -0
  4. package/dist/_virtual/Menu.js +4 -0
  5. package/dist/_virtual/NorthRounded.js +4 -0
  6. package/dist/_virtual/RefreshOutlined.js +4 -0
  7. package/dist/_virtual/StopRounded.js +4 -0
  8. package/dist/_virtual/VolumeUpOutlined.js +4 -0
  9. package/dist/_virtual/index2.js +2 -2
  10. package/dist/_virtual/index3.js +2 -2
  11. package/dist/components/AccordionModern/index.js +1 -1
  12. package/dist/components/Badge/index.js +1 -1
  13. package/dist/components/Breadcrumbs/index.js +1 -1
  14. package/dist/components/Button/index.js +1 -1
  15. package/dist/components/ButtonGroup/index.js +1 -1
  16. package/dist/components/Chatbot/Chatbot.types.d.ts +253 -186
  17. package/dist/components/Chatbot/Chatbot.types.d.ts.map +1 -1
  18. package/dist/components/Chatbot/chatBotFooter.d.ts +1 -1
  19. package/dist/components/Chatbot/chatBotFooter.d.ts.map +1 -1
  20. package/dist/components/Chatbot/chatBotFooter.js +21 -4
  21. package/dist/components/Chatbot/chatbotComposer.d.ts +4 -0
  22. package/dist/components/Chatbot/chatbotComposer.d.ts.map +1 -0
  23. package/dist/components/Chatbot/chatbotComposer.js +328 -0
  24. package/dist/components/Chatbot/chatbotGreetingHeader.d.ts +4 -0
  25. package/dist/components/Chatbot/chatbotGreetingHeader.d.ts.map +1 -0
  26. package/dist/components/Chatbot/chatbotGreetingHeader.js +226 -0
  27. package/dist/components/Chatbot/greetingWeather.d.ts +23 -0
  28. package/dist/components/Chatbot/greetingWeather.d.ts.map +1 -0
  29. package/dist/components/Chatbot/greetingWeather.js +81 -0
  30. package/dist/components/Chatbot/greetingWeather.test.d.ts +2 -0
  31. package/dist/components/Chatbot/greetingWeather.test.d.ts.map +1 -0
  32. package/dist/components/Chatbot/index.d.ts +5 -2
  33. package/dist/components/Chatbot/index.d.ts.map +1 -1
  34. package/dist/components/Chatbot/index.js +390 -421
  35. package/dist/components/Chatbot/irisConversationThread.d.ts +24 -0
  36. package/dist/components/Chatbot/irisConversationThread.d.ts.map +1 -0
  37. package/dist/components/Chatbot/irisConversationThread.js +511 -0
  38. package/dist/components/Chatbot/irisGreetingBackdrop.d.ts +5 -0
  39. package/dist/components/Chatbot/irisGreetingBackdrop.d.ts.map +1 -0
  40. package/dist/components/Chatbot/irisGreetingBackdrop.js +62 -0
  41. package/dist/components/Chatbot/irisMenuListItem.d.ts +11 -0
  42. package/dist/components/Chatbot/irisMenuListItem.d.ts.map +1 -0
  43. package/dist/components/Chatbot/irisMenuListItem.js +126 -0
  44. package/dist/components/Chatbot/irisMenuScreen.d.ts +4 -0
  45. package/dist/components/Chatbot/irisMenuScreen.d.ts.map +1 -0
  46. package/dist/components/Chatbot/irisMenuScreen.js +357 -0
  47. package/dist/components/Chatbot/irisThinking.d.ts +7 -0
  48. package/dist/components/Chatbot/irisThinking.d.ts.map +1 -0
  49. package/dist/components/Chatbot/irisThinking.js +219 -0
  50. package/dist/components/Chatbot/newChatComponent.d.ts +1 -1
  51. package/dist/components/Chatbot/newChatComponent.d.ts.map +1 -1
  52. package/dist/components/Chatbot/newChatComponent.js +497 -72
  53. package/dist/components/Chips/index.js +1 -1
  54. package/dist/components/CommentsPanel/CommentsPanel.impl.js +1 -1
  55. package/dist/components/DatePicker/DatePicker.types.d.ts +0 -4
  56. package/dist/components/DatePicker/DatePicker.types.d.ts.map +1 -1
  57. package/dist/components/DatePicker/datePickerInput.d.ts +0 -2
  58. package/dist/components/DatePicker/datePickerInput.d.ts.map +1 -1
  59. package/dist/components/DatePicker/datePickerInput.js +2 -32
  60. package/dist/components/DatePicker/index.d.ts.map +1 -1
  61. package/dist/components/DatePicker/index.js +1 -5
  62. package/dist/components/DatePicker/showMonthYearSelect.d.ts.map +1 -1
  63. package/dist/components/DatePicker/showMonthYearSelect.js +0 -2
  64. package/dist/components/DateRangePicker/index.js +1 -1
  65. package/dist/components/DateRangePicker/showMonthYearSelect.d.ts.map +1 -1
  66. package/dist/components/DateRangePicker/showMonthYearSelect.js +0 -2
  67. package/dist/components/FileUpload/index.js +1 -1
  68. package/dist/components/FilterPanel/index.js +1 -1
  69. package/dist/components/FiltersStrip/FilterSlider.js +1 -1
  70. package/dist/components/FiltersStrip/index.js +1 -1
  71. package/dist/components/Input/index.js +1 -1
  72. package/dist/components/KeyboardShortCuts/ShortcutLandingPage.js +1 -1
  73. package/dist/components/KeyboardShortCuts/ShortcutModal.js +1 -1
  74. package/dist/components/KeyboardShortCuts/allSetBox.js +1 -1
  75. package/dist/components/KeyboardShortCuts/index.js +1 -1
  76. package/dist/components/KeyboardShortCuts/tutorial.js +1 -1
  77. package/dist/components/Menu/IconMenuItem.js +1 -1
  78. package/dist/components/Menu/NestedMenuItem.js +1 -1
  79. package/dist/components/Menu/index.js +1 -1
  80. package/dist/components/Menu/nestedMenuItemsFromObject.js +1 -1
  81. package/dist/components/Modal/index.js +1 -1
  82. package/dist/components/MonthPicker/index.js +1 -1
  83. package/dist/components/MonthRangePicker/index.js +1 -1
  84. package/dist/components/NewCreateItemFlow/index.js +1 -1
  85. package/dist/components/NewDynamicLayout/index.js +1 -1
  86. package/dist/components/OnboardingTour/index.js +1 -1
  87. package/dist/components/OnboardingTour/productTourList.js +1 -1
  88. package/dist/components/OnboardingTour/tooltipCard.js +1 -1
  89. package/dist/components/Panel/index.js +1 -1
  90. package/dist/components/Popover/index.js +1 -1
  91. package/dist/components/Prompt/index.js +1 -1
  92. package/dist/components/Select/Select.types.d.ts +0 -7
  93. package/dist/components/Select/Select.types.d.ts.map +1 -1
  94. package/dist/components/Select/index.d.ts.map +1 -1
  95. package/dist/components/Select/index.js +26 -44
  96. package/dist/components/Stepper/index.js +1 -1
  97. package/dist/components/TableChat/EmptyContainer.js +1 -1
  98. package/dist/components/TableChat/TableChatSidePanel.js +1 -1
  99. package/dist/components/TableChat/components/TableChatLeftSection/AddChatContainer/AddChatContainer.js +1 -1
  100. package/dist/components/TableChat/components/TableChatLeftSection/ChatFilterChips/ChatFilterChips.js +1 -1
  101. package/dist/components/TableChat/components/TableChatLeftSection/TableChatChannelHeader.js +1 -1
  102. package/dist/components/TableChat/components/TableChatRightSection/AvatarGroup/AvatarGroup.js +1 -1
  103. package/dist/components/TableChat/components/TableChatRightSection/ChatDefaultMessageType/ChatDefaultMessageType.js +1 -1
  104. package/dist/components/TableChat/components/TableChatRightSection/ChatDeleteMessageType/ChatDeletedMessageType.js +1 -1
  105. package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeader.js +1 -1
  106. package/dist/components/TableChat/components/TableChatRightSection/ChatInlineEdit/ChatInlineEdit.js +1 -1
  107. package/dist/components/TableChat/components/TableChatRightSection/ChatInput/ChatInput.js +1 -1
  108. package/dist/components/TableChat/components/TableChatRightSection/ChatMessages/ChatMessage.js +1 -1
  109. package/dist/components/TableChat/components/TableChatRightSection/ChatNotificationSettings/ChatNotificationSettings.js +1 -1
  110. package/dist/components/TableChat/components/TableChatRightSection/TableChatRightSection.js +1 -1
  111. package/dist/components/TableChat/components/TextEditor/EditorToolbar.js +1 -1
  112. package/dist/components/TableChat/components/TextEditor/Mention.js +1 -1
  113. package/dist/components/TableChat/components/TextEditor/MentionList.js +1 -1
  114. package/dist/components/TableV36/AgGridHeader.d.ts.map +1 -1
  115. package/dist/components/TableV36/AgGridHeader.js +115 -107
  116. package/dist/components/TableV36/index.js +1 -1
  117. package/dist/components/Tag/index.js +1 -1
  118. package/dist/components/TextArea/index.js +1 -1
  119. package/dist/components/common/MentionEditor/MentionList/index.js +1 -1
  120. package/dist/components/common/MentionEditor/index.js +1 -1
  121. package/dist/components/index.d.ts +3 -2
  122. package/dist/components/index.d.ts.map +1 -1
  123. package/dist/components/index.js +3 -0
  124. package/dist/hooks/useDraggableResizable.d.ts +11 -1
  125. package/dist/hooks/useDraggableResizable.d.ts.map +1 -1
  126. package/dist/hooks/useDraggableResizable.js +73 -59
  127. package/dist/locales/de-DE.json.d.ts +50 -30
  128. package/dist/locales/de-DE.json.js +50 -30
  129. package/dist/locales/en-US.json.d.ts +50 -30
  130. package/dist/locales/en-US.json.js +50 -30
  131. package/dist/locales/es-ES.json.d.ts +50 -30
  132. package/dist/locales/es-ES.json.js +50 -30
  133. package/dist/mcp-component-registry.json +65 -263
  134. package/dist/node_modules/@impactsmartsuite/impact-icons/dist/index.js +43 -15
  135. package/dist/node_modules/@mui/icons-material/ArrowBack.js +17 -0
  136. package/dist/node_modules/@mui/icons-material/AttachFileOutlined.js +17 -0
  137. package/dist/node_modules/@mui/icons-material/ContentCopyOutlined.js +17 -0
  138. package/dist/node_modules/@mui/icons-material/Menu.js +17 -0
  139. package/dist/node_modules/@mui/icons-material/NorthRounded.js +17 -0
  140. package/dist/node_modules/@mui/icons-material/RefreshOutlined.js +17 -0
  141. package/dist/node_modules/@mui/icons-material/StopRounded.js +17 -0
  142. package/dist/node_modules/@mui/icons-material/VolumeUpOutlined.js +17 -0
  143. package/dist/node_modules/prop-types/index.js +1 -1
  144. package/dist/node_modules/react-is/index.js +1 -1
  145. package/dist/stories/chatBotApiMock.d.ts +91 -0
  146. package/dist/stories/chatBotApiMock.d.ts.map +1 -0
  147. package/dist/styles/style.css +1 -1
  148. package/package.json +2 -2
  149. package/dist/_virtual/MoreVert.js +0 -4
  150. package/dist/_virtual/RemoveRounded.js +0 -4
  151. package/dist/_virtual/SaveOutlined.js +0 -4
  152. package/dist/components/Chatbot/bookMarkPanel.d.ts +0 -4
  153. package/dist/components/Chatbot/bookMarkPanel.d.ts.map +0 -1
  154. package/dist/components/Chatbot/bookMarkPanel.js +0 -64
  155. package/dist/components/Chatbot/chatBotLandingScreen.d.ts +0 -4
  156. package/dist/components/Chatbot/chatBotLandingScreen.d.ts.map +0 -1
  157. package/dist/components/Chatbot/chatBotLandingScreen.js +0 -24
  158. package/dist/components/Chatbot/chatInput.d.ts +0 -4
  159. package/dist/components/Chatbot/chatInput.d.ts.map +0 -1
  160. package/dist/components/Chatbot/chatInput.js +0 -198
  161. package/dist/components/Chatbot/chatbotModuleMenu.d.ts +0 -4
  162. package/dist/components/Chatbot/chatbotModuleMenu.d.ts.map +0 -1
  163. package/dist/components/Chatbot/chatbotModuleMenu.js +0 -248
  164. package/dist/components/Chatbot/constant.d.ts +0 -6
  165. package/dist/components/Chatbot/constant.d.ts.map +0 -1
  166. package/dist/components/Chatbot/constant.js +0 -27
  167. package/dist/components/Chatbot/conversationScreen.d.ts +0 -4
  168. package/dist/components/Chatbot/conversationScreen.d.ts.map +0 -1
  169. package/dist/components/Chatbot/conversationScreen.js +0 -207
  170. package/dist/components/Chatbot/customScreen.d.ts +0 -4
  171. package/dist/components/Chatbot/customScreen.d.ts.map +0 -1
  172. package/dist/components/Chatbot/customScreen.js +0 -66
  173. package/dist/components/Chatbot/historyPanel.d.ts +0 -4
  174. package/dist/components/Chatbot/historyPanel.d.ts.map +0 -1
  175. package/dist/components/Chatbot/historyPanel.js +0 -374
  176. package/dist/components/Chatbot/utils.d.ts +0 -5
  177. package/dist/components/Chatbot/utils.d.ts.map +0 -1
  178. package/dist/components/Chatbot/utils.js +0 -29
  179. package/dist/node_modules/@mui/icons-material/MoreVert.js +0 -17
  180. package/dist/node_modules/@mui/icons-material/RemoveRounded.js +0 -17
  181. package/dist/node_modules/@mui/icons-material/SaveOutlined.js +0 -17
  182. package/dist/utils/onResize.js +0 -28
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 1,
3
- "generatedAt": "2026-11-12T10:15:30.496Z",
3
+ "generatedAt": "2026-11-17T10:08:50.446Z",
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": "## ChatBot / Iris\n\nAPI-driven conversational assistant shell used across Impact apps.\n\n### Typical consumer flow\n1. Parent controls \\",
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 / new-chat screen.",
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
- "setIsChatBotOpen": {
1681
- "description": "Setter for open state. Called with `false` on close.",
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&lt;id, ConversationThread&gt;</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
- "formComponent": {
1704
- "description": "React node rendered for form-type bot messages / demos.",
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
- "customScreenJsx": {
1781
- "description": "Custom body content when `isCustomScreen` is true.",
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
- "handleRefresh": {
1806
- "description": "Refresh / regenerate action from the input toolbar.",
1807
- "type": "() => void",
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
- "hideMenuArrow": {
1816
- "description": "Hides the module-menu expand arrow.",
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
- "newChatScreen": {
1822
- "description": "Force the new-chat greeting screen on open.",
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
- "isModuleListLoading": {
1828
- "description": "Loading state for modules list.",
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
- "suggestionBanner": {
1834
- "description": "Suggestion banner copy.\n<code>\n <ul class=\"storybook-order-list\">\n <li><strong>freeTextHeading</strong></li>\n <li><strong>freeTextContent</strong></li>\n </ul>\n</code>",
1835
- "type": "SuggestionBanner",
1696
+ "footerText": {
1697
+ "description": "Footer disclaimer. Defaults to `chatBot.irisFooterText`.",
1698
+ "type": "string",
1836
1699
  "required": true
1837
1700
  },
1838
- "isStopIcon": {
1839
- "description": "Swap send for stop while a response is generating.",
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
- "onStopIconClick": {
1845
- "description": "`(activeList?) => void` — cancel in-flight generation.",
1846
- "type": "(activeList?: string) => void",
1712
+ "thinking": {
1713
+ "description": "Host-driven Iris thinking UI (`IrisThinkingState`).",
1714
+ "type": "IrisThinkingState",
1847
1715
  "required": true
1848
1716
  },
1849
- "landingScreen": {
1850
- "description": "Show the landing/empty Iris intro screen instead of chat UI.",
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
- "footerText": {
1856
- "description": "Footer disclaimer under the chat body.",
1857
- "type": "string",
1723
+ "defaultAssistantActions": {
1724
+ "description": "Default Iris assistant action keys. Keys: `",
1725
+ "type": "IrisAssistantActionKey[]",
1858
1726
  "required": true
1859
1727
  },
1860
- "onCloseSuggestionBanner": {
1861
- "description": "Dismiss suggestion banner.",
1862
- "type": "() => void",
1728
+ "suggestedPrompts": {
1729
+ "description": "Iris greeting chips: `{ id: string; label: string }[]`.",
1730
+ "type": "SuggestedPrompt[]",
1863
1731
  "required": true
1864
1732
  },
1865
- "showSuggestionBanner": {
1866
- "description": "Toggle suggestion banner visibility.",
1867
- "type": "boolean",
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>: () =&gt; 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
- "onHistoryPanelClick": {
1883
- "description": "`(item?, open?) => void` when history panel opens/closes.",
1884
- "type": "(item?: TabItem, open?: boolean) => void",
1738
+ "artifacts": {
1739
+ "description": "Iris Menu → Artifacts list.",
1740
+ "type": "IrisArtifactItem[]",
1885
1741
  "required": true
1886
1742
  },
1887
1743
  "historyPanelData": {
1888
- "description": "History panel payload from API.\n<code>\n <ul class=\"storybook-order-list\">\n <li>Array of groups: <strong>group_name</strong>, <strong>conversation_list</strong></li>\n <li>Or object: <strong>pinned</strong>, <strong>groups</strong></li>\n <li>Conversation item keys: <strong>conversation_id</strong>, <strong>name</strong>, <strong>module_name</strong>, <strong>pinned</strong></li>\n </ul>\n</code>",
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
- "onHistoryMenuAction": {
1914
- "description": "`(action, item) => void` — share | rename | pin | unpin | delete. Call the matching history API.",
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": "true",
1751
+ "defaultValue": "false",
1922
1752
  "required": false
1923
1753
  },
1924
- "isFullWidth": {
1925
- "description": "Stretch chatbot to almost full viewport width.",
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
- "activeConversationId": {
1931
- "description": "Highlights the active conversation in history.",
1932
- "type": "string | number",
1933
- "required": true
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": {
@@ -402,7 +402,8 @@ var ChatbotCollapse = (props, ref) => /* @__PURE__ */ jsx(
402
402
  )
403
403
  }
404
404
  );
405
- forwardRef(ChatbotCollapse);
405
+ var ForwardRef18 = forwardRef(ChatbotCollapse);
406
+ var ChatbotCollapse_default = ForwardRef18;
406
407
  var ChatBotDownArrow = (props, ref) => /* @__PURE__ */ jsx(
407
408
  "svg",
408
409
  {
@@ -440,7 +441,8 @@ var ChatbotFloating = (props, ref) => /* @__PURE__ */ jsx(
440
441
  )
441
442
  }
442
443
  );
443
- forwardRef(ChatbotFloating);
444
+ var ForwardRef20 = forwardRef(ChatbotFloating);
445
+ var ChatbotFloating_default = ForwardRef20;
444
446
  var ChatbotFullScreen = (props, ref) => /* @__PURE__ */ jsx(
445
447
  "svg",
446
448
  {
@@ -459,7 +461,8 @@ var ChatbotFullScreen = (props, ref) => /* @__PURE__ */ jsx(
459
461
  )
460
462
  }
461
463
  );
462
- forwardRef(ChatbotFullScreen);
464
+ var ForwardRef21 = forwardRef(ChatbotFullScreen);
465
+ var ChatbotFullScreen_default = ForwardRef21;
463
466
  var ChatbotIcon = (props, ref) => /* @__PURE__ */ jsxs(
464
467
  "svg",
465
468
  {
@@ -567,7 +570,8 @@ var ChatBotMicIcon = (props, ref) => /* @__PURE__ */ jsx(
567
570
  )
568
571
  }
569
572
  );
570
- forwardRef(ChatBotMicIcon);
573
+ var ForwardRef23 = forwardRef(ChatBotMicIcon);
574
+ var ChatBotMicIcon_default = ForwardRef23;
571
575
  var ChatbotNewChat = (props, ref) => /* @__PURE__ */ jsx(
572
576
  "svg",
573
577
  {
@@ -588,7 +592,8 @@ var ChatbotNewChat = (props, ref) => /* @__PURE__ */ jsx(
588
592
  )
589
593
  }
590
594
  );
591
- forwardRef(ChatbotNewChat);
595
+ var ForwardRef24 = forwardRef(ChatbotNewChat);
596
+ var ChatbotNewChat_default = ForwardRef24;
592
597
  var ChatBotRefreshIcon = (props, ref) => /* @__PURE__ */ jsxs(
593
598
  "svg",
594
599
  {
@@ -656,7 +661,8 @@ var ChatbotSidebar = (props, ref) => /* @__PURE__ */ jsx(
656
661
  )
657
662
  }
658
663
  );
659
- forwardRef(ChatbotSidebar);
664
+ var ForwardRef27 = forwardRef(ChatbotSidebar);
665
+ var ChatbotSidebar_default = ForwardRef27;
660
666
  var ChatbotStopIcon = (props, ref) => /* @__PURE__ */ jsx(
661
667
  "svg",
662
668
  {
@@ -688,7 +694,8 @@ var ChatbotWindow = (props, ref) => /* @__PURE__ */ jsx(
688
694
  )
689
695
  }
690
696
  );
691
- forwardRef(ChatbotWindow);
697
+ var ForwardRef29 = forwardRef(ChatbotWindow);
698
+ var ChatbotWindow_default = ForwardRef29;
692
699
  var ChatCheckIcon = (props, ref) => /* @__PURE__ */ jsxs(
693
700
  "svg",
694
701
  {
@@ -1942,7 +1949,8 @@ var DeleteRedIcon = (props, ref) => /* @__PURE__ */ jsx(
1942
1949
  )
1943
1950
  }
1944
1951
  );
1945
- forwardRef(DeleteRedIcon);
1952
+ var ForwardRef83 = forwardRef(DeleteRedIcon);
1953
+ var DeleteRedIcon_default = ForwardRef83;
1946
1954
  var DisabledAccordionChevron = (props, ref) => /* @__PURE__ */ jsx(
1947
1955
  "svg",
1948
1956
  {
@@ -2438,7 +2446,8 @@ var FilterFunnel = (props, ref) => /* @__PURE__ */ jsx(
2438
2446
  )
2439
2447
  }
2440
2448
  );
2441
- forwardRef(FilterFunnel);
2449
+ var ForwardRef104 = forwardRef(FilterFunnel);
2450
+ var FilterFunnel_default = ForwardRef104;
2442
2451
  var FormatIcon = (props, ref) => /* @__PURE__ */ jsx(
2443
2452
  "svg",
2444
2453
  {
@@ -3615,7 +3624,8 @@ var PinedIcon = (props, ref) => /* @__PURE__ */ jsx(
3615
3624
  )
3616
3625
  }
3617
3626
  );
3618
- forwardRef(PinedIcon);
3627
+ var ForwardRef157 = forwardRef(PinedIcon);
3628
+ var PinedIcon_default = ForwardRef157;
3619
3629
  var PinnedIcon = (props, ref) => /* @__PURE__ */ jsx(
3620
3630
  "svg",
3621
3631
  {
@@ -4841,7 +4851,8 @@ var ThumbsDown = (props, ref) => /* @__PURE__ */ jsx(
4841
4851
  )
4842
4852
  }
4843
4853
  );
4844
- forwardRef(ThumbsDown);
4854
+ var ForwardRef207 = forwardRef(ThumbsDown);
4855
+ var ThumbsDown_default = ForwardRef207;
4845
4856
  var ThumbsDownBlue = (props, ref) => /* @__PURE__ */ jsx(
4846
4857
  "svg",
4847
4858
  {
@@ -4879,7 +4890,8 @@ var ThumbsDownFilled = (props, ref) => /* @__PURE__ */ jsx(
4879
4890
  )
4880
4891
  }
4881
4892
  );
4882
- forwardRef(ThumbsDownFilled);
4893
+ var ForwardRef209 = forwardRef(ThumbsDownFilled);
4894
+ var ThumbsDownFilled_default = ForwardRef209;
4883
4895
  var ThumbsUp = (props, ref) => /* @__PURE__ */ jsx(
4884
4896
  "svg",
4885
4897
  {
@@ -4898,7 +4910,8 @@ var ThumbsUp = (props, ref) => /* @__PURE__ */ jsx(
4898
4910
  )
4899
4911
  }
4900
4912
  );
4901
- forwardRef(ThumbsUp);
4913
+ var ForwardRef210 = forwardRef(ThumbsUp);
4914
+ var ThumbsUp_default = ForwardRef210;
4902
4915
  var ThumbsUpBlue = (props, ref) => /* @__PURE__ */ jsx(
4903
4916
  "svg",
4904
4917
  {
@@ -4984,7 +4997,8 @@ var ThumbsUpFilled = (props, ref) => /* @__PURE__ */ jsx(
4984
4997
  )
4985
4998
  }
4986
4999
  );
4987
- forwardRef(ThumbsUpFilled);
5000
+ var ForwardRef213 = forwardRef(ThumbsUpFilled);
5001
+ var ThumbsUpFilled_default = ForwardRef213;
4988
5002
  var ThumbsUpYellowIcon = (props, ref) => /* @__PURE__ */ jsx(
4989
5003
  "svg",
4990
5004
  {
@@ -5439,14 +5453,23 @@ Icon.displayName = "Icon";
5439
5453
  export {
5440
5454
  BookDemo_default as BookDemo,
5441
5455
  ChartDropdown_default as ChartDropdown,
5456
+ ChatBotMicIcon_default as ChatBotMicIcon,
5457
+ ChatbotCollapse_default as ChatbotCollapse,
5458
+ ChatbotFloating_default as ChatbotFloating,
5459
+ ChatbotFullScreen_default as ChatbotFullScreen,
5460
+ ChatbotNewChat_default as ChatbotNewChat,
5461
+ ChatbotSidebar_default as ChatbotSidebar,
5462
+ ChatbotWindow_default as ChatbotWindow,
5442
5463
  CheckTickAll_default as CheckTickAll,
5443
5464
  CheckboxTick_default as CheckboxTick,
5444
5465
  CollapseNew_default as CollapseNew,
5445
5466
  Comment_default as Comment,
5446
5467
  ConfigurationIcon_default as ConfigurationIcon,
5447
5468
  DeleteBlack_default as DeleteBlack,
5469
+ DeleteRedIcon_default as DeleteRedIcon,
5448
5470
  EditBlack_default as EditBlack,
5449
5471
  ExpandIcon_default as ExpandIcon,
5472
+ FilterFunnel_default as FilterFunnel,
5450
5473
  Globe_default as Globe,
5451
5474
  Icon,
5452
5475
  LaunchIcon_default as LaunchIcon,
@@ -5454,11 +5477,16 @@ export {
5454
5477
  MoreHorizontal_default as MoreHorizontal,
5455
5478
  PanelView_default as PanelView,
5456
5479
  PersonUser_default as PersonUser,
5480
+ PinedIcon_default as PinedIcon,
5457
5481
  PinnedIcon_default as PinnedIcon,
5458
5482
  ReplyChatIcon_default as ReplyChatIcon,
5459
5483
  Search_default as Search,
5460
5484
  SearchIconTable_default as SearchIconTable,
5461
5485
  ShowAll_default as ShowAll,
5462
5486
  SuccessFill_default as SuccessFill,
5463
- SuccessGray_default as SuccessGray
5487
+ SuccessGray_default as SuccessGray,
5488
+ ThumbsDown_default as ThumbsDown,
5489
+ ThumbsDownFilled_default as ThumbsDownFilled,
5490
+ ThumbsUp_default as ThumbsUp,
5491
+ ThumbsUpFilled_default as ThumbsUpFilled
5464
5492
  };
@@ -0,0 +1,17 @@
1
+ import { __exports as ArrowBack } from "../../../_virtual/ArrowBack.js";
2
+ import require$$0 from "@babel/runtime/helpers/interopRequireDefault";
3
+ import { __require as requireCreateSvgIcon } from "./utils/createSvgIcon.js";
4
+ import require$$2 from "react/jsx-runtime";
5
+ var _interopRequireDefault = require$$0;
6
+ Object.defineProperty(ArrowBack, "__esModule", {
7
+ value: true
8
+ });
9
+ var default_1 = ArrowBack.default = void 0;
10
+ var _createSvgIcon = _interopRequireDefault(requireCreateSvgIcon());
11
+ var _jsxRuntime = require$$2;
12
+ default_1 = ArrowBack.default = (0, _createSvgIcon.default)(/* @__PURE__ */ (0, _jsxRuntime.jsx)("path", {
13
+ d: "M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20z"
14
+ }), "ArrowBack");
15
+ export {
16
+ default_1 as default
17
+ };
@@ -0,0 +1,17 @@
1
+ import { __exports as AttachFileOutlined } from "../../../_virtual/AttachFileOutlined.js";
2
+ import require$$0 from "@babel/runtime/helpers/interopRequireDefault";
3
+ import { __require as requireCreateSvgIcon } from "./utils/createSvgIcon.js";
4
+ import require$$2 from "react/jsx-runtime";
5
+ var _interopRequireDefault = require$$0;
6
+ Object.defineProperty(AttachFileOutlined, "__esModule", {
7
+ value: true
8
+ });
9
+ var default_1 = AttachFileOutlined.default = void 0;
10
+ var _createSvgIcon = _interopRequireDefault(requireCreateSvgIcon());
11
+ var _jsxRuntime = require$$2;
12
+ default_1 = AttachFileOutlined.default = (0, _createSvgIcon.default)(/* @__PURE__ */ (0, _jsxRuntime.jsx)("path", {
13
+ d: "M16.5 6v11.5c0 2.21-1.79 4-4 4s-4-1.79-4-4V5c0-1.38 1.12-2.5 2.5-2.5s2.5 1.12 2.5 2.5v10.5c0 .55-.45 1-1 1s-1-.45-1-1V6H10v9.5c0 1.38 1.12 2.5 2.5 2.5s2.5-1.12 2.5-2.5V5c0-2.21-1.79-4-4-4S7 2.79 7 5v12.5c0 3.04 2.46 5.5 5.5 5.5s5.5-2.46 5.5-5.5V6z"
14
+ }), "AttachFileOutlined");
15
+ export {
16
+ default_1 as default
17
+ };
@@ -0,0 +1,17 @@
1
+ import { __exports as ContentCopyOutlined } from "../../../_virtual/ContentCopyOutlined.js";
2
+ import require$$0 from "@babel/runtime/helpers/interopRequireDefault";
3
+ import { __require as requireCreateSvgIcon } from "./utils/createSvgIcon.js";
4
+ import require$$2 from "react/jsx-runtime";
5
+ var _interopRequireDefault = require$$0;
6
+ Object.defineProperty(ContentCopyOutlined, "__esModule", {
7
+ value: true
8
+ });
9
+ var default_1 = ContentCopyOutlined.default = void 0;
10
+ var _createSvgIcon = _interopRequireDefault(requireCreateSvgIcon());
11
+ var _jsxRuntime = require$$2;
12
+ default_1 = ContentCopyOutlined.default = (0, _createSvgIcon.default)(/* @__PURE__ */ (0, _jsxRuntime.jsx)("path", {
13
+ d: "M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2m0 16H8V7h11z"
14
+ }), "ContentCopyOutlined");
15
+ export {
16
+ default_1 as default
17
+ };
@@ -0,0 +1,17 @@
1
+ import { __exports as Menu } from "../../../_virtual/Menu.js";
2
+ import require$$0 from "@babel/runtime/helpers/interopRequireDefault";
3
+ import { __require as requireCreateSvgIcon } from "./utils/createSvgIcon.js";
4
+ import require$$2 from "react/jsx-runtime";
5
+ var _interopRequireDefault = require$$0;
6
+ Object.defineProperty(Menu, "__esModule", {
7
+ value: true
8
+ });
9
+ var default_1 = Menu.default = void 0;
10
+ var _createSvgIcon = _interopRequireDefault(requireCreateSvgIcon());
11
+ var _jsxRuntime = require$$2;
12
+ default_1 = Menu.default = (0, _createSvgIcon.default)(/* @__PURE__ */ (0, _jsxRuntime.jsx)("path", {
13
+ d: "M3 18h18v-2H3zm0-5h18v-2H3zm0-7v2h18V6z"
14
+ }), "Menu");
15
+ export {
16
+ default_1 as default
17
+ };