impact-ui 5.0.4 → 5.0.5-alpha.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.
Files changed (188) 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/index4.js +4 -2
  10. package/dist/_virtual/index5.js +3 -3
  11. package/dist/_virtual/index6.js +2 -4
  12. package/dist/components/AccordionModern/index.js +1 -1
  13. package/dist/components/Badge/index.js +1 -1
  14. package/dist/components/Breadcrumbs/index.js +1 -1
  15. package/dist/components/Button/index.js +1 -1
  16. package/dist/components/ButtonGroup/index.js +1 -1
  17. package/dist/components/Chart/index.d.ts.map +1 -1
  18. package/dist/components/Chart/index.js +105 -4
  19. package/dist/components/Chatbot/Chatbot.types.d.ts +253 -186
  20. package/dist/components/Chatbot/Chatbot.types.d.ts.map +1 -1
  21. package/dist/components/Chatbot/chatBotFooter.d.ts +1 -1
  22. package/dist/components/Chatbot/chatBotFooter.d.ts.map +1 -1
  23. package/dist/components/Chatbot/chatBotFooter.js +21 -4
  24. package/dist/components/Chatbot/chatbotComposer.d.ts +4 -0
  25. package/dist/components/Chatbot/chatbotComposer.d.ts.map +1 -0
  26. package/dist/components/Chatbot/chatbotComposer.js +328 -0
  27. package/dist/components/Chatbot/chatbotGreetingHeader.d.ts +4 -0
  28. package/dist/components/Chatbot/chatbotGreetingHeader.d.ts.map +1 -0
  29. package/dist/components/Chatbot/chatbotGreetingHeader.js +229 -0
  30. package/dist/components/Chatbot/greetingWeather.d.ts +23 -0
  31. package/dist/components/Chatbot/greetingWeather.d.ts.map +1 -0
  32. package/dist/components/Chatbot/greetingWeather.js +81 -0
  33. package/dist/components/Chatbot/greetingWeather.test.d.ts +2 -0
  34. package/dist/components/Chatbot/greetingWeather.test.d.ts.map +1 -0
  35. package/dist/components/Chatbot/index.d.ts +5 -2
  36. package/dist/components/Chatbot/index.d.ts.map +1 -1
  37. package/dist/components/Chatbot/index.js +390 -421
  38. package/dist/components/Chatbot/irisConversationThread.d.ts +24 -0
  39. package/dist/components/Chatbot/irisConversationThread.d.ts.map +1 -0
  40. package/dist/components/Chatbot/irisConversationThread.js +511 -0
  41. package/dist/components/Chatbot/irisGreetingBackdrop.d.ts +5 -0
  42. package/dist/components/Chatbot/irisGreetingBackdrop.d.ts.map +1 -0
  43. package/dist/components/Chatbot/irisGreetingBackdrop.js +62 -0
  44. package/dist/components/Chatbot/irisMenuListItem.d.ts +11 -0
  45. package/dist/components/Chatbot/irisMenuListItem.d.ts.map +1 -0
  46. package/dist/components/Chatbot/irisMenuListItem.js +126 -0
  47. package/dist/components/Chatbot/irisMenuScreen.d.ts +4 -0
  48. package/dist/components/Chatbot/irisMenuScreen.d.ts.map +1 -0
  49. package/dist/components/Chatbot/irisMenuScreen.js +357 -0
  50. package/dist/components/Chatbot/irisThinking.d.ts +7 -0
  51. package/dist/components/Chatbot/irisThinking.d.ts.map +1 -0
  52. package/dist/components/Chatbot/irisThinking.js +219 -0
  53. package/dist/components/Chatbot/newChatComponent.d.ts +1 -1
  54. package/dist/components/Chatbot/newChatComponent.d.ts.map +1 -1
  55. package/dist/components/Chatbot/newChatComponent.js +500 -72
  56. package/dist/components/Chips/index.js +1 -1
  57. package/dist/components/CommentsPanel/CommentsPanel.impl.js +1 -1
  58. package/dist/components/DatePicker/DatePicker.types.d.ts +4 -0
  59. package/dist/components/DatePicker/DatePicker.types.d.ts.map +1 -1
  60. package/dist/components/DatePicker/datePickerInput.d.ts +2 -0
  61. package/dist/components/DatePicker/datePickerInput.d.ts.map +1 -1
  62. package/dist/components/DatePicker/datePickerInput.js +32 -2
  63. package/dist/components/DatePicker/index.d.ts.map +1 -1
  64. package/dist/components/DatePicker/index.js +5 -1
  65. package/dist/components/DatePicker/showMonthYearSelect.d.ts.map +1 -1
  66. package/dist/components/DatePicker/showMonthYearSelect.js +2 -0
  67. package/dist/components/DateRangePicker/index.js +1 -1
  68. package/dist/components/DateRangePicker/showMonthYearSelect.d.ts.map +1 -1
  69. package/dist/components/DateRangePicker/showMonthYearSelect.js +2 -0
  70. package/dist/components/FileUpload/index.js +1 -1
  71. package/dist/components/FilterPanel/index.js +1 -1
  72. package/dist/components/FiltersStrip/FilterSlider.js +1 -1
  73. package/dist/components/FiltersStrip/index.js +1 -1
  74. package/dist/components/Input/index.js +1 -1
  75. package/dist/components/KeyboardShortCuts/ShortcutLandingPage.js +1 -1
  76. package/dist/components/KeyboardShortCuts/ShortcutModal.js +1 -1
  77. package/dist/components/KeyboardShortCuts/allSetBox.js +1 -1
  78. package/dist/components/KeyboardShortCuts/index.js +1 -1
  79. package/dist/components/KeyboardShortCuts/tutorial.js +1 -1
  80. package/dist/components/Menu/IconMenuItem.js +1 -1
  81. package/dist/components/Menu/NestedMenuItem.js +1 -1
  82. package/dist/components/Menu/index.js +1 -1
  83. package/dist/components/Menu/nestedMenuItemsFromObject.js +1 -1
  84. package/dist/components/Modal/index.js +1 -1
  85. package/dist/components/MonthPicker/index.js +1 -1
  86. package/dist/components/MonthRangePicker/index.js +1 -1
  87. package/dist/components/NewCreateItemFlow/index.js +1 -1
  88. package/dist/components/NewDynamicLayout/index.js +1 -1
  89. package/dist/components/OnboardingTour/index.js +1 -1
  90. package/dist/components/OnboardingTour/productTourList.js +1 -1
  91. package/dist/components/OnboardingTour/tooltipCard.js +1 -1
  92. package/dist/components/Panel/index.js +1 -1
  93. package/dist/components/Popover/index.js +1 -1
  94. package/dist/components/Prompt/index.js +1 -1
  95. package/dist/components/Select/Select.types.d.ts +7 -0
  96. package/dist/components/Select/Select.types.d.ts.map +1 -1
  97. package/dist/components/Select/index.d.ts.map +1 -1
  98. package/dist/components/Select/index.js +44 -26
  99. package/dist/components/Stepper/index.js +1 -1
  100. package/dist/components/TableChat/EmptyContainer.js +1 -1
  101. package/dist/components/TableChat/TableChatSidePanel.js +1 -1
  102. package/dist/components/TableChat/components/TableChatLeftSection/AddChatContainer/AddChatContainer.js +1 -1
  103. package/dist/components/TableChat/components/TableChatLeftSection/ChatFilterChips/ChatFilterChips.js +1 -1
  104. package/dist/components/TableChat/components/TableChatLeftSection/TableChatChannelHeader.js +1 -1
  105. package/dist/components/TableChat/components/TableChatRightSection/AvatarGroup/AvatarGroup.js +1 -1
  106. package/dist/components/TableChat/components/TableChatRightSection/ChatDefaultMessageType/ChatDefaultMessageType.js +1 -1
  107. package/dist/components/TableChat/components/TableChatRightSection/ChatDeleteMessageType/ChatDeletedMessageType.js +1 -1
  108. package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeader.js +1 -1
  109. package/dist/components/TableChat/components/TableChatRightSection/ChatInlineEdit/ChatInlineEdit.js +1 -1
  110. package/dist/components/TableChat/components/TableChatRightSection/ChatInput/ChatInput.js +1 -1
  111. package/dist/components/TableChat/components/TableChatRightSection/ChatMessages/ChatMessage.js +1 -1
  112. package/dist/components/TableChat/components/TableChatRightSection/ChatNotificationSettings/ChatNotificationSettings.js +1 -1
  113. package/dist/components/TableChat/components/TableChatRightSection/TableChatRightSection.js +1 -1
  114. package/dist/components/TableChat/components/TextEditor/EditorToolbar.js +1 -1
  115. package/dist/components/TableChat/components/TextEditor/Mention.js +1 -1
  116. package/dist/components/TableChat/components/TextEditor/MentionList.js +1 -1
  117. package/dist/components/TableV36/AgGridHeader.d.ts.map +1 -1
  118. package/dist/components/TableV36/AgGridHeader.js +107 -115
  119. package/dist/components/TableV36/index.d.ts.map +1 -1
  120. package/dist/components/TableV36/index.js +27 -5
  121. package/dist/components/TableV36/tableFunctions.d.ts.map +1 -1
  122. package/dist/components/TableV36/tableFunctions.js +15 -14
  123. package/dist/components/Tag/index.js +1 -1
  124. package/dist/components/TextArea/index.js +1 -1
  125. package/dist/components/common/MentionEditor/MentionList/index.js +1 -1
  126. package/dist/components/common/MentionEditor/index.js +1 -1
  127. package/dist/components/index.d.ts +3 -2
  128. package/dist/components/index.d.ts.map +1 -1
  129. package/dist/components/index.js +3 -0
  130. package/dist/hooks/useDraggableResizable.d.ts +11 -1
  131. package/dist/hooks/useDraggableResizable.d.ts.map +1 -1
  132. package/dist/hooks/useDraggableResizable.js +73 -59
  133. package/dist/locales/de-DE.json.d.ts +50 -30
  134. package/dist/locales/de-DE.json.js +50 -30
  135. package/dist/locales/en-US.json.d.ts +50 -30
  136. package/dist/locales/en-US.json.js +50 -30
  137. package/dist/locales/es-ES.json.d.ts +50 -30
  138. package/dist/locales/es-ES.json.js +50 -30
  139. package/dist/mcp-component-registry.json +66 -264
  140. package/dist/node_modules/@impactsmartsuite/impact-icons/dist/index.js +1290 -85
  141. package/dist/node_modules/@mui/icons-material/ArrowBack.js +17 -0
  142. package/dist/node_modules/@mui/icons-material/AttachFileOutlined.js +17 -0
  143. package/dist/node_modules/@mui/icons-material/ContentCopyOutlined.js +17 -0
  144. package/dist/node_modules/@mui/icons-material/Menu.js +17 -0
  145. package/dist/node_modules/@mui/icons-material/NorthRounded.js +17 -0
  146. package/dist/node_modules/@mui/icons-material/RefreshOutlined.js +17 -0
  147. package/dist/node_modules/@mui/icons-material/StopRounded.js +17 -0
  148. package/dist/node_modules/@mui/icons-material/VolumeUpOutlined.js +17 -0
  149. package/dist/node_modules/@mui/system/colorManipulator.js +2 -2
  150. package/dist/node_modules/prop-types/node_modules/react-is/index.js +1 -1
  151. package/dist/stories/chatBotApiMock.d.ts +91 -0
  152. package/dist/stories/chatBotApiMock.d.ts.map +1 -0
  153. package/dist/styles/style.css +1 -1
  154. package/package.json +2 -2
  155. package/dist/_virtual/MoreVert.js +0 -4
  156. package/dist/_virtual/RemoveRounded.js +0 -4
  157. package/dist/_virtual/SaveOutlined.js +0 -4
  158. package/dist/components/Chatbot/bookMarkPanel.d.ts +0 -4
  159. package/dist/components/Chatbot/bookMarkPanel.d.ts.map +0 -1
  160. package/dist/components/Chatbot/bookMarkPanel.js +0 -64
  161. package/dist/components/Chatbot/chatBotLandingScreen.d.ts +0 -4
  162. package/dist/components/Chatbot/chatBotLandingScreen.d.ts.map +0 -1
  163. package/dist/components/Chatbot/chatBotLandingScreen.js +0 -24
  164. package/dist/components/Chatbot/chatInput.d.ts +0 -4
  165. package/dist/components/Chatbot/chatInput.d.ts.map +0 -1
  166. package/dist/components/Chatbot/chatInput.js +0 -198
  167. package/dist/components/Chatbot/chatbotModuleMenu.d.ts +0 -4
  168. package/dist/components/Chatbot/chatbotModuleMenu.d.ts.map +0 -1
  169. package/dist/components/Chatbot/chatbotModuleMenu.js +0 -248
  170. package/dist/components/Chatbot/constant.d.ts +0 -6
  171. package/dist/components/Chatbot/constant.d.ts.map +0 -1
  172. package/dist/components/Chatbot/constant.js +0 -27
  173. package/dist/components/Chatbot/conversationScreen.d.ts +0 -4
  174. package/dist/components/Chatbot/conversationScreen.d.ts.map +0 -1
  175. package/dist/components/Chatbot/conversationScreen.js +0 -207
  176. package/dist/components/Chatbot/customScreen.d.ts +0 -4
  177. package/dist/components/Chatbot/customScreen.d.ts.map +0 -1
  178. package/dist/components/Chatbot/customScreen.js +0 -66
  179. package/dist/components/Chatbot/historyPanel.d.ts +0 -4
  180. package/dist/components/Chatbot/historyPanel.d.ts.map +0 -1
  181. package/dist/components/Chatbot/historyPanel.js +0 -374
  182. package/dist/components/Chatbot/utils.d.ts +0 -5
  183. package/dist/components/Chatbot/utils.d.ts.map +0 -1
  184. package/dist/components/Chatbot/utils.js +0 -29
  185. package/dist/node_modules/@mui/icons-material/MoreVert.js +0 -17
  186. package/dist/node_modules/@mui/icons-material/RemoveRounded.js +0 -17
  187. package/dist/node_modules/@mui/icons-material/SaveOutlined.js +0 -17
  188. package/dist/utils/onResize.js +0 -28
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 1,
3
- "generatedAt": "2026-11-05T11:45:55.936Z",
3
+ "generatedAt": "2026-11-27T06:38:48.084Z",
4
4
  "components": {
5
5
  "Menu": {
6
6
  "title": "Components/Menu",
@@ -1339,7 +1339,7 @@
1339
1339
  "seriesData": "[",
1340
1340
  "name": "Corn",
1341
1341
  "data": "Array.from(",
1342
- "length": 51
1342
+ "length": 15
1343
1343
  },
1344
1344
  "NegativeColumn": {
1345
1345
  "graphTitle": "Column with Negative Values",
@@ -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": {