@projectcor/maia-components 2.11.100-2 → 2.11.100-3
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/lib/App.js +2 -4
- package/lib/components/atoms/AgentActivityIndicator/AgentActivityIndicator.js +14 -212
- package/lib/components/atoms/AgentActivityIndicator/AgentActivityIndicator.styles.js +9 -99
- package/lib/components/atoms/Chip/Chip.js +12 -5
- package/lib/components/atoms/Chip/styles.js +6 -6
- package/lib/components/atoms/ContextMentionEditor/ContextMentionEditor.js +121 -28
- package/lib/components/atoms/ContextMentionEditor/ContextMentionEditor.styles.js +6 -2
- package/lib/components/atoms/ContextMentionPopover/ContextMentionPopover.js +12 -5
- package/lib/components/atoms/MAIAInput/MAIAInput.js +390 -270
- package/lib/components/atoms/MAIAInput/MAIAInputEditor.js +5 -8
- package/lib/components/atoms/MAIAInput/maiaInputLayout.js +25 -0
- package/lib/components/atoms/MAIAInput/styles.js +102 -86
- package/lib/components/atoms/SlashCommandDropdown/SlashCommandDropdown.js +54 -41
- package/lib/components/atoms/SlashCommandDropdown/SlashCommandDropdown.styles.js +25 -12
- package/lib/components/atoms/icons/MaiaInputAddIcon.js +42 -0
- package/lib/components/atoms/icons/MaiaInputAttachIcon.js +29 -0
- package/lib/components/atoms/icons/MaiaInputAttachmentImageIcon.js +33 -0
- package/lib/components/atoms/icons/MaiaInputDeepSearchIcon.js +35 -0
- package/lib/components/atoms/icons/MaiaInputMentionIcon.js +44 -0
- package/lib/components/atoms/icons/MaiaInputRobotIcon.js +29 -0
- package/lib/components/atoms/icons/MaiaInputSendIcon.js +29 -0
- package/lib/components/atoms/icons/MaiaInputSlashIcon.js +29 -0
- package/lib/components/atoms/icons/MaiaInputWebSearchIcon.js +35 -0
- package/lib/components/atoms/icons/index.js +10 -1
- package/lib/components/molecules/AbmSection/AbmAccessibilitySection/AbmAccessibilitySection.js +4 -91
- package/lib/components/molecules/ChatAIHome/ChatAIHome.js +18 -7
- package/lib/components/molecules/ChatAIHome/styles.js +54 -38
- package/lib/components/molecules/ChatAIMessages/ChatAIMessages.js +44 -191
- package/lib/components/molecules/ChatAIMessages/newStyles.js +10 -26
- package/lib/components/molecules/ChatAIModal/ChatAIModal.js +1 -2
- package/lib/components/molecules/ChatAIModal/components/ChatAiModalFooter/ChatAiModalFooter.js +1 -4
- package/lib/components/molecules/ChatAIModal/components/ChatAiModalHeader/ChatAiModalHeader.js +1 -8
- package/lib/components/molecules/ChatFooter/ChatFooter.js +23 -62
- package/lib/components/molecules/Sidebar/Sidebar.js +14 -3
- package/lib/components/organisms/AbmAgentModal/AbmAgentModal.js +5 -34
- package/lib/hooks/useAgentModel/useCreateAgent.js +14 -40
- package/lib/hooks/useAgentModel/useUpdateAgent.js +11 -37
- package/lib/hooks/useChatManager/useChatManager.js +46 -145
- package/lib/hooks/useEvent.js +1 -2
- package/lib/hooks/useMentionPopover.js +4 -2
- package/lib/hooks/useOrchestratorStream/useOrchestratorStream.js +23 -180
- package/lib/lang/br/index.js +7 -16
- package/lib/lang/en/index.js +7 -16
- package/lib/lang/es/index.js +7 -16
- package/lib/lang/fr/index.js +9 -15
- package/lib/styles/config.js +2 -2
- package/lib/types/agentModal.js +1 -1
- package/lib/types/streamActivity.js +1 -1
- package/lib/utils/normalizeAgentConnectors.js +3 -28
- package/package.json +1 -1
- package/lib/components/molecules/StreamAssistantTurnTimeline/StreamAssistantTurnTimeline.js +0 -90
- package/lib/components/molecules/StreamAssistantTurnTimeline/StreamAssistantTurnTimeline.styles.js +0 -19
- package/lib/components/molecules/StreamAssistantTurnTimeline/index.js +0 -2
- package/lib/dev/DevStreamTimelineDemo.js +0 -614
- package/lib/dev/mockStreamTimelineDemo.js +0 -417
- package/lib/dev/mockStreamTimelineRunner.js +0 -298
- package/lib/hooks/useStreamTimeline/index.js +0 -7
- package/lib/hooks/useStreamTimeline/streamTimelineStore.js +0 -37
- package/lib/services/maia/Agents/connectors.js +0 -124
- package/lib/types/streamTimeline.js +0 -2
- package/lib/utils/streamDebugLog.js +0 -169
- package/lib/utils/streamExecutionSteps.js +0 -96
- package/lib/utils/streamTimeline.js +0 -161
package/lib/components/molecules/StreamAssistantTurnTimeline/StreamAssistantTurnTimeline.styles.js
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import styled from 'styled-components';
|
|
2
|
-
export var SCStreamTurnTimeline = styled.div.withConfig({
|
|
3
|
-
displayName: "StreamAssistantTurnTimelinestyles__SCStreamTurnTimeline",
|
|
4
|
-
componentId: "sc-mk6rmj-0"
|
|
5
|
-
})(["display:flex;flex-direction:column;width:100%;gap:0;"]);
|
|
6
|
-
|
|
7
|
-
/** Bloque de ejecución dentro del turno — sin margin negativo (evita solaparse con texto). */
|
|
8
|
-
export var SCStreamExecutionSegment = styled.div.withConfig({
|
|
9
|
-
displayName: "StreamAssistantTurnTimelinestyles__SCStreamExecutionSegment",
|
|
10
|
-
componentId: "sc-mk6rmj-1"
|
|
11
|
-
})(["display:flex;flex-direction:column;width:100%;margin-top:", ";"], function (_ref) {
|
|
12
|
-
var $afterContent = _ref.$afterContent;
|
|
13
|
-
return $afterContent ? '12px' : '0';
|
|
14
|
-
});
|
|
15
|
-
export var SCStreamTurnContentBlock = styled.div.withConfig({
|
|
16
|
-
displayName: "StreamAssistantTurnTimelinestyles__SCStreamTurnContentBlock",
|
|
17
|
-
componentId: "sc-mk6rmj-2"
|
|
18
|
-
})(["width:100%;margin-top:12px;&:first-child{margin-top:0;}"]);
|
|
19
|
-
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJuYW1lcyI6WyJzdHlsZWQiLCJTQ1N0cmVhbVR1cm5UaW1lbGluZSIsImRpdiIsIndpdGhDb25maWciLCJkaXNwbGF5TmFtZSIsImNvbXBvbmVudElkIiwiU0NTdHJlYW1FeGVjdXRpb25TZWdtZW50IiwiX3JlZiIsIiRhZnRlckNvbnRlbnQiLCJTQ1N0cmVhbVR1cm5Db250ZW50QmxvY2siX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