@gitlab/duo-ui 10.12.1 → 10.13.0

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/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ # [10.13.0](https://gitlab.com/gitlab-org/duo-ui/compare/v10.12.1...v10.13.0) (2025-07-24)
2
+
3
+
4
+ ### Features
5
+
6
+ * Export message types ([8593b0d](https://gitlab.com/gitlab-org/duo-ui/commit/8593b0d469e7b451141425550caaf8a7171af188))
7
+
1
8
  ## [10.12.1](https://gitlab.com/gitlab-org/duo-ui/compare/v10.12.0...v10.12.1) (2025-07-24)
2
9
 
3
10
 
package/dist/index.js CHANGED
@@ -5,6 +5,7 @@ export { default as DuoChatLoader } from './components/chat/components/duo_chat_
5
5
  export { default as DuoChatMessage } from './components/chat/components/duo_chat_message/duo_chat_message';
6
6
  export { default as DuoChatMessageSources } from './components/chat/components/duo_chat_message_sources/duo_chat_message_sources';
7
7
  export { default as DuoChatPredefinedPrompts } from './components/chat/components/duo_chat_predefined_prompts/duo_chat_predefined_prompts';
8
+ export { AGENT_MESSAGE_TYPE, FLOW_END_TYPE, INPUT_REQUEST_TYPE, TOOL_MESSAGE_TYPE, USER_MESSAGE_TYPE, VALID_MESSAGE_TYPES } from './components/chat/components/duo_chat_message/message_types/constants';
8
9
  export { default as MessageMap } from './components/chat/components/duo_chat_message/message_types/message_map';
9
10
  export { default as AgentMessage } from './components/chat/components/duo_chat_message/message_types/message_agent';
10
11
  export { default as InputRequestedMessage } from './components/chat/components/duo_chat_message/message_types/message_input_requested';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gitlab/duo-ui",
3
- "version": "10.12.1",
3
+ "version": "10.13.0",
4
4
  "description": "Duo UI Components",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",
package/src/index.js CHANGED
@@ -8,6 +8,16 @@ export { default as DuoChatMessage } from './components/chat/components/duo_chat
8
8
  export { default as DuoChatMessageSources } from './components/chat/components/duo_chat_message_sources/duo_chat_message_sources.vue';
9
9
  export { default as DuoChatPredefinedPrompts } from './components/chat/components/duo_chat_predefined_prompts/duo_chat_predefined_prompts.vue';
10
10
 
11
+ // Duo message types
12
+ export {
13
+ VALID_MESSAGE_TYPES,
14
+ AGENT_MESSAGE_TYPE,
15
+ USER_MESSAGE_TYPE,
16
+ FLOW_END_TYPE,
17
+ INPUT_REQUEST_TYPE,
18
+ TOOL_MESSAGE_TYPE,
19
+ } from './components/chat/components/duo_chat_message/message_types/constants';
20
+
11
21
  // Duo message type components
12
22
  export { default as MessageMap } from './components/chat/components/duo_chat_message/message_types/message_map.vue';
13
23
  export { default as AgentMessage } from './components/chat/components/duo_chat_message/message_types/message_agent.vue';