@genesislcap/ai-assistant 15.3.1 → 15.3.2-FUI-2591.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.
@@ -47,6 +47,17 @@ interface HTMLWCProps extends React.AriaAttributes {
47
47
  onInput?(e: Event): void;
48
48
  }
49
49
 
50
+ export declare const FoundationAiAssistant: React.ForwardRefExoticComponent<
51
+ React.PropsWithChildren<
52
+ Omit<PublicOf<FoundationAiAssistantWC>, 'children' | 'style'> &
53
+ HTMLWCProps & {
54
+ onChatHeaderMousedown?: (event: CustomEvent<ChatHeaderMouseDownDetail>) => void;
55
+ onSessionCleared?: (event: CustomEvent<SessionClearedDetail>) => void;
56
+ }
57
+ > & React.RefAttributes<FoundationAiAssistantWC>
58
+ >;
59
+ export type FoundationAiAssistantRef = FoundationAiAssistantWC;
60
+
50
61
  export declare const AiFlowingWavesIndicator: React.ForwardRefExoticComponent<
51
62
  React.PropsWithChildren<
52
63
  Omit<PublicOf<AiFlowingWavesIndicatorWC>, 'children' | 'style'> &
@@ -83,17 +94,6 @@ export declare const AiWavesIndicator: React.ForwardRefExoticComponent<
83
94
  >;
84
95
  export type AiWavesIndicatorRef = AiWavesIndicatorWC;
85
96
 
86
- export declare const FoundationAiAssistant: React.ForwardRefExoticComponent<
87
- React.PropsWithChildren<
88
- Omit<PublicOf<FoundationAiAssistantWC>, 'children' | 'style'> &
89
- HTMLWCProps & {
90
- onChatHeaderMousedown?: (event: CustomEvent<ChatHeaderMouseDownDetail>) => void;
91
- onSessionCleared?: (event: CustomEvent<SessionClearedDetail>) => void;
92
- }
93
- > & React.RefAttributes<FoundationAiAssistantWC>
94
- >;
95
- export type FoundationAiAssistantRef = FoundationAiAssistantWC;
96
-
97
97
  export declare const ChatSuggestions: React.ForwardRefExoticComponent<
98
98
  React.PropsWithChildren<
99
99
  Omit<PublicOf<ChatSuggestionsWC>, 'children' | 'style'> &
@@ -131,6 +131,17 @@ export declare const AiChatBubble: React.ForwardRefExoticComponent<
131
131
  >;
132
132
  export type AiChatBubbleRef = AiChatBubbleWC;
133
133
 
134
+ export declare const AiChatInteractionWrapper: React.ForwardRefExoticComponent<
135
+ React.PropsWithChildren<
136
+ Omit<PublicOf<AiChatInteractionWrapperWC>, 'children' | 'style'> &
137
+ HTMLWCProps & {
138
+ onRequestScrollToBottom?: (event: CustomEvent<unknown>) => void;
139
+ onInteractionCompleted?: (event: CustomEvent<InteractionCompletedEventDetail>) => void;
140
+ }
141
+ > & React.RefAttributes<AiChatInteractionWrapperWC>
142
+ >;
143
+ export type AiChatInteractionWrapperRef = AiChatInteractionWrapperWC;
144
+
134
145
  export declare const AiChatMarkdown: React.ForwardRefExoticComponent<
135
146
  React.PropsWithChildren<
136
147
  Omit<PublicOf<AiChatMarkdownWC>, 'children' | 'style'> &
@@ -149,15 +160,4 @@ export declare const FoundationAiPopoutManager: React.ForwardRefExoticComponent<
149
160
  >;
150
161
  export type FoundationAiPopoutManagerRef = FoundationAiPopoutManagerWC;
151
162
 
152
- export declare const AiChatInteractionWrapper: React.ForwardRefExoticComponent<
153
- React.PropsWithChildren<
154
- Omit<PublicOf<AiChatInteractionWrapperWC>, 'children' | 'style'> &
155
- HTMLWCProps & {
156
- onRequestScrollToBottom?: (event: CustomEvent<unknown>) => void;
157
- onInteractionCompleted?: (event: CustomEvent<InteractionCompletedEventDetail>) => void;
158
- }
159
- > & React.RefAttributes<AiChatInteractionWrapperWC>
160
- >;
161
- export type AiChatInteractionWrapperRef = AiChatInteractionWrapperWC;
162
-
163
163
  export {};
package/dist/react.cjs CHANGED
@@ -28,26 +28,6 @@ function _mergeRefs(...refs) {
28
28
  };
29
29
  }
30
30
 
31
- const AiFlowingWavesIndicator = React.forwardRef(function AiFlowingWavesIndicator(props, ref) {
32
- const { children, ...rest } = props;
33
- return React.createElement(customElements.getName(AiFlowingWavesIndicatorWC) ?? 'ai-flowing-waves-indicator', { ...rest, ref }, children);
34
- });
35
-
36
- const AiHaloOverlay = React.forwardRef(function AiHaloOverlay(props, ref) {
37
- const { children, ...rest } = props;
38
- return React.createElement(customElements.getName(AiHaloOverlayWC) ?? 'ai-halo-overlay', { ...rest, ref }, children);
39
- });
40
-
41
- const AiPlasmaOrbIndicator = React.forwardRef(function AiPlasmaOrbIndicator(props, ref) {
42
- const { children, ...rest } = props;
43
- return React.createElement(customElements.getName(AiPlasmaOrbIndicatorWC) ?? 'ai-plasma-orb-indicator', { ...rest, ref }, children);
44
- });
45
-
46
- const AiWavesIndicator = React.forwardRef(function AiWavesIndicator(props, ref) {
47
- const { children, ...rest } = props;
48
- return React.createElement(customElements.getName(AiWavesIndicatorWC) ?? 'ai-waves-indicator', { ...rest, ref }, children);
49
- });
50
-
51
31
  const FoundationAiAssistant = React.forwardRef(function FoundationAiAssistant(props, ref) {
52
32
  const { onChatHeaderMousedown, onSessionCleared, children, ...rest } = props;
53
33
  const _innerRef = React.useRef(null);
@@ -70,6 +50,26 @@ const FoundationAiAssistant = React.forwardRef(function FoundationAiAssistant(pr
70
50
  return React.createElement(customElements.getName(FoundationAiAssistantWC) ?? 'foundation-ai-assistant', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
71
51
  });
72
52
 
53
+ const AiFlowingWavesIndicator = React.forwardRef(function AiFlowingWavesIndicator(props, ref) {
54
+ const { children, ...rest } = props;
55
+ return React.createElement(customElements.getName(AiFlowingWavesIndicatorWC) ?? 'ai-flowing-waves-indicator', { ...rest, ref }, children);
56
+ });
57
+
58
+ const AiHaloOverlay = React.forwardRef(function AiHaloOverlay(props, ref) {
59
+ const { children, ...rest } = props;
60
+ return React.createElement(customElements.getName(AiHaloOverlayWC) ?? 'ai-halo-overlay', { ...rest, ref }, children);
61
+ });
62
+
63
+ const AiPlasmaOrbIndicator = React.forwardRef(function AiPlasmaOrbIndicator(props, ref) {
64
+ const { children, ...rest } = props;
65
+ return React.createElement(customElements.getName(AiPlasmaOrbIndicatorWC) ?? 'ai-plasma-orb-indicator', { ...rest, ref }, children);
66
+ });
67
+
68
+ const AiWavesIndicator = React.forwardRef(function AiWavesIndicator(props, ref) {
69
+ const { children, ...rest } = props;
70
+ return React.createElement(customElements.getName(AiWavesIndicatorWC) ?? 'ai-waves-indicator', { ...rest, ref }, children);
71
+ });
72
+
73
73
  const ChatSuggestions = React.forwardRef(function ChatSuggestions(props, ref) {
74
74
  const { children, ...rest } = props;
75
75
  return React.createElement(customElements.getName(ChatSuggestionsWC) ?? 'chat-suggestions', { ...rest, ref }, children);
@@ -102,16 +102,6 @@ const AiChatBubble = React.forwardRef(function AiChatBubble(props, ref) {
102
102
  return React.createElement(customElements.getName(AiChatBubbleWC) ?? 'foundation-ai-chat-bubble', { ...rest, ref }, children);
103
103
  });
104
104
 
105
- const AiChatMarkdown = React.forwardRef(function AiChatMarkdown(props, ref) {
106
- const { children, ...rest } = props;
107
- return React.createElement(customElements.getName(AiChatMarkdownWC) ?? 'ai-chat-markdown', { ...rest, ref }, children);
108
- });
109
-
110
- const FoundationAiPopoutManager = React.forwardRef(function FoundationAiPopoutManager(props, ref) {
111
- const { children, ...rest } = props;
112
- return React.createElement(customElements.getName(FoundationAiPopoutManagerWC) ?? 'foundation-ai-popout-manager', { ...rest, ref }, children);
113
- });
114
-
115
105
  const AiChatInteractionWrapper = React.forwardRef(function AiChatInteractionWrapper(props, ref) {
116
106
  const { onRequestScrollToBottom, onInteractionCompleted, children, ...rest } = props;
117
107
  const _innerRef = React.useRef(null);
@@ -134,17 +124,27 @@ const AiChatInteractionWrapper = React.forwardRef(function AiChatInteractionWrap
134
124
  return React.createElement(customElements.getName(AiChatInteractionWrapperWC) ?? 'ai-chat-interaction-wrapper', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
135
125
  });
136
126
 
127
+ const AiChatMarkdown = React.forwardRef(function AiChatMarkdown(props, ref) {
128
+ const { children, ...rest } = props;
129
+ return React.createElement(customElements.getName(AiChatMarkdownWC) ?? 'ai-chat-markdown', { ...rest, ref }, children);
130
+ });
131
+
132
+ const FoundationAiPopoutManager = React.forwardRef(function FoundationAiPopoutManager(props, ref) {
133
+ const { children, ...rest } = props;
134
+ return React.createElement(customElements.getName(FoundationAiPopoutManagerWC) ?? 'foundation-ai-popout-manager', { ...rest, ref }, children);
135
+ });
136
+
137
137
  module.exports = {
138
+ FoundationAiAssistant,
138
139
  AiFlowingWavesIndicator,
139
140
  AiHaloOverlay,
140
141
  AiPlasmaOrbIndicator,
141
142
  AiWavesIndicator,
142
- FoundationAiAssistant,
143
143
  ChatSuggestions,
144
144
  AiActivityHalo,
145
145
  AgentPicker,
146
146
  AiChatBubble,
147
+ AiChatInteractionWrapper,
147
148
  AiChatMarkdown,
148
149
  FoundationAiPopoutManager,
149
- AiChatInteractionWrapper,
150
150
  };
package/dist/react.mjs CHANGED
@@ -26,26 +26,6 @@ function _mergeRefs(...refs) {
26
26
  };
27
27
  }
28
28
 
29
- export const AiFlowingWavesIndicator = React.forwardRef(function AiFlowingWavesIndicator(props, ref) {
30
- const { children, ...rest } = props;
31
- return React.createElement(customElements.getName(AiFlowingWavesIndicatorWC) ?? 'ai-flowing-waves-indicator', { ...rest, ref }, children);
32
- });
33
-
34
- export const AiHaloOverlay = React.forwardRef(function AiHaloOverlay(props, ref) {
35
- const { children, ...rest } = props;
36
- return React.createElement(customElements.getName(AiHaloOverlayWC) ?? 'ai-halo-overlay', { ...rest, ref }, children);
37
- });
38
-
39
- export const AiPlasmaOrbIndicator = React.forwardRef(function AiPlasmaOrbIndicator(props, ref) {
40
- const { children, ...rest } = props;
41
- return React.createElement(customElements.getName(AiPlasmaOrbIndicatorWC) ?? 'ai-plasma-orb-indicator', { ...rest, ref }, children);
42
- });
43
-
44
- export const AiWavesIndicator = React.forwardRef(function AiWavesIndicator(props, ref) {
45
- const { children, ...rest } = props;
46
- return React.createElement(customElements.getName(AiWavesIndicatorWC) ?? 'ai-waves-indicator', { ...rest, ref }, children);
47
- });
48
-
49
29
  export const FoundationAiAssistant = React.forwardRef(function FoundationAiAssistant(props, ref) {
50
30
  const { onChatHeaderMousedown, onSessionCleared, children, ...rest } = props;
51
31
  const _innerRef = React.useRef(null);
@@ -68,6 +48,26 @@ export const FoundationAiAssistant = React.forwardRef(function FoundationAiAssis
68
48
  return React.createElement(customElements.getName(FoundationAiAssistantWC) ?? 'foundation-ai-assistant', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
69
49
  });
70
50
 
51
+ export const AiFlowingWavesIndicator = React.forwardRef(function AiFlowingWavesIndicator(props, ref) {
52
+ const { children, ...rest } = props;
53
+ return React.createElement(customElements.getName(AiFlowingWavesIndicatorWC) ?? 'ai-flowing-waves-indicator', { ...rest, ref }, children);
54
+ });
55
+
56
+ export const AiHaloOverlay = React.forwardRef(function AiHaloOverlay(props, ref) {
57
+ const { children, ...rest } = props;
58
+ return React.createElement(customElements.getName(AiHaloOverlayWC) ?? 'ai-halo-overlay', { ...rest, ref }, children);
59
+ });
60
+
61
+ export const AiPlasmaOrbIndicator = React.forwardRef(function AiPlasmaOrbIndicator(props, ref) {
62
+ const { children, ...rest } = props;
63
+ return React.createElement(customElements.getName(AiPlasmaOrbIndicatorWC) ?? 'ai-plasma-orb-indicator', { ...rest, ref }, children);
64
+ });
65
+
66
+ export const AiWavesIndicator = React.forwardRef(function AiWavesIndicator(props, ref) {
67
+ const { children, ...rest } = props;
68
+ return React.createElement(customElements.getName(AiWavesIndicatorWC) ?? 'ai-waves-indicator', { ...rest, ref }, children);
69
+ });
70
+
71
71
  export const ChatSuggestions = React.forwardRef(function ChatSuggestions(props, ref) {
72
72
  const { children, ...rest } = props;
73
73
  return React.createElement(customElements.getName(ChatSuggestionsWC) ?? 'chat-suggestions', { ...rest, ref }, children);
@@ -100,16 +100,6 @@ export const AiChatBubble = React.forwardRef(function AiChatBubble(props, ref) {
100
100
  return React.createElement(customElements.getName(AiChatBubbleWC) ?? 'foundation-ai-chat-bubble', { ...rest, ref }, children);
101
101
  });
102
102
 
103
- export const AiChatMarkdown = React.forwardRef(function AiChatMarkdown(props, ref) {
104
- const { children, ...rest } = props;
105
- return React.createElement(customElements.getName(AiChatMarkdownWC) ?? 'ai-chat-markdown', { ...rest, ref }, children);
106
- });
107
-
108
- export const FoundationAiPopoutManager = React.forwardRef(function FoundationAiPopoutManager(props, ref) {
109
- const { children, ...rest } = props;
110
- return React.createElement(customElements.getName(FoundationAiPopoutManagerWC) ?? 'foundation-ai-popout-manager', { ...rest, ref }, children);
111
- });
112
-
113
103
  export const AiChatInteractionWrapper = React.forwardRef(function AiChatInteractionWrapper(props, ref) {
114
104
  const { onRequestScrollToBottom, onInteractionCompleted, children, ...rest } = props;
115
105
  const _innerRef = React.useRef(null);
@@ -131,3 +121,13 @@ export const AiChatInteractionWrapper = React.forwardRef(function AiChatInteract
131
121
  }, []);
132
122
  return React.createElement(customElements.getName(AiChatInteractionWrapperWC) ?? 'ai-chat-interaction-wrapper', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
133
123
  });
124
+
125
+ export const AiChatMarkdown = React.forwardRef(function AiChatMarkdown(props, ref) {
126
+ const { children, ...rest } = props;
127
+ return React.createElement(customElements.getName(AiChatMarkdownWC) ?? 'ai-chat-markdown', { ...rest, ref }, children);
128
+ });
129
+
130
+ export const FoundationAiPopoutManager = React.forwardRef(function FoundationAiPopoutManager(props, ref) {
131
+ const { children, ...rest } = props;
132
+ return React.createElement(customElements.getName(FoundationAiPopoutManagerWC) ?? 'foundation-ai-popout-manager', { ...rest, ref }, children);
133
+ });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/ai-assistant",
3
3
  "description": "Genesis AI Assistant micro-frontend",
4
- "version": "15.3.1",
4
+ "version": "15.3.2-FUI-2591.1",
5
5
  "license": "SEE LICENSE IN license.txt",
6
6
  "main": "dist/esm/index.js",
7
7
  "types": "dist/ai-assistant.d.ts",
@@ -73,26 +73,26 @@
73
73
  }
74
74
  },
75
75
  "devDependencies": {
76
- "@genesislcap/foundation-testing": "15.3.1",
77
- "@genesislcap/genx": "15.3.1",
78
- "@genesislcap/rollup-builder": "15.3.1",
79
- "@genesislcap/ts-builder": "15.3.1",
80
- "@genesislcap/uvu-playwright-builder": "15.3.1",
81
- "@genesislcap/vite-builder": "15.3.1",
82
- "@genesislcap/webpack-builder": "15.3.1",
76
+ "@genesislcap/foundation-testing": "15.3.2-FUI-2591.1",
77
+ "@genesislcap/genx": "15.3.2-FUI-2591.1",
78
+ "@genesislcap/rollup-builder": "15.3.2-FUI-2591.1",
79
+ "@genesislcap/ts-builder": "15.3.2-FUI-2591.1",
80
+ "@genesislcap/uvu-playwright-builder": "15.3.2-FUI-2591.1",
81
+ "@genesislcap/vite-builder": "15.3.2-FUI-2591.1",
82
+ "@genesislcap/webpack-builder": "15.3.2-FUI-2591.1",
83
83
  "@types/dompurify": "^3.0.5",
84
84
  "@types/marked": "^5.0.2",
85
85
  "esbuild": "0.25.12"
86
86
  },
87
87
  "dependencies": {
88
- "@genesislcap/foundation-ai": "15.3.1",
89
- "@genesislcap/foundation-logger": "15.3.1",
90
- "@genesislcap/foundation-notifications": "15.3.1",
91
- "@genesislcap/foundation-redux": "15.3.1",
92
- "@genesislcap/foundation-ui": "15.3.1",
93
- "@genesislcap/foundation-utils": "15.3.1",
94
- "@genesislcap/rapid-design-system": "15.3.1",
95
- "@genesislcap/web-core": "15.3.1",
88
+ "@genesislcap/foundation-ai": "15.3.2-FUI-2591.1",
89
+ "@genesislcap/foundation-logger": "15.3.2-FUI-2591.1",
90
+ "@genesislcap/foundation-notifications": "15.3.2-FUI-2591.1",
91
+ "@genesislcap/foundation-redux": "15.3.2-FUI-2591.1",
92
+ "@genesislcap/foundation-ui": "15.3.2-FUI-2591.1",
93
+ "@genesislcap/foundation-utils": "15.3.2-FUI-2591.1",
94
+ "@genesislcap/rapid-design-system": "15.3.2-FUI-2591.1",
95
+ "@genesislcap/web-core": "15.3.2-FUI-2591.1",
96
96
  "dompurify": "^3.3.1",
97
97
  "marked": "^17.0.3"
98
98
  },
@@ -105,5 +105,5 @@
105
105
  "access": "public"
106
106
  },
107
107
  "customElements": "dist/custom-elements.json",
108
- "gitHead": "1c3a33f7d56acec166f832b9610e83343a8873e6"
108
+ "gitHead": "36595b8ce13d31fda4bb2638948c78931133159a"
109
109
  }