@genesislcap/ai-assistant 15.22.1 → 15.22.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.
@@ -47,6 +47,18 @@ 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
+ onBudgetRefreshRequested?: (event: CustomEvent<unknown>) => void;
55
+ onChatHeaderMousedown?: (event: CustomEvent<ChatHeaderMouseDownDetail>) => void;
56
+ onSessionCleared?: (event: CustomEvent<SessionClearedDetail>) => void;
57
+ }
58
+ > & React.RefAttributes<FoundationAiAssistantWC>
59
+ >;
60
+ export type FoundationAiAssistantRef = FoundationAiAssistantWC;
61
+
50
62
  export declare const AiFlowingWavesIndicator: React.ForwardRefExoticComponent<
51
63
  React.PropsWithChildren<
52
64
  Omit<PublicOf<AiFlowingWavesIndicatorWC>, 'children' | 'style'> &
@@ -83,18 +95,6 @@ export declare const AiWavesIndicator: React.ForwardRefExoticComponent<
83
95
  >;
84
96
  export type AiWavesIndicatorRef = AiWavesIndicatorWC;
85
97
 
86
- export declare const FoundationAiAssistant: React.ForwardRefExoticComponent<
87
- React.PropsWithChildren<
88
- Omit<PublicOf<FoundationAiAssistantWC>, 'children' | 'style'> &
89
- HTMLWCProps & {
90
- onBudgetRefreshRequested?: (event: CustomEvent<unknown>) => void;
91
- onChatHeaderMousedown?: (event: CustomEvent<ChatHeaderMouseDownDetail>) => void;
92
- onSessionCleared?: (event: CustomEvent<SessionClearedDetail>) => void;
93
- }
94
- > & React.RefAttributes<FoundationAiAssistantWC>
95
- >;
96
- export type FoundationAiAssistantRef = FoundationAiAssistantWC;
97
-
98
98
  export declare const ChatSuggestions: React.ForwardRefExoticComponent<
99
99
  React.PropsWithChildren<
100
100
  Omit<PublicOf<ChatSuggestionsWC>, 'children' | 'style'> &
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 { onBudgetRefreshRequested, onChatHeaderMousedown, onSessionCleared, children, ...rest } = props;
53
33
  const _innerRef = React.useRef(null);
@@ -75,6 +55,26 @@ const FoundationAiAssistant = React.forwardRef(function FoundationAiAssistant(pr
75
55
  return React.createElement(customElements.getName(FoundationAiAssistantWC) ?? 'foundation-ai-assistant', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
76
56
  });
77
57
 
58
+ const AiFlowingWavesIndicator = React.forwardRef(function AiFlowingWavesIndicator(props, ref) {
59
+ const { children, ...rest } = props;
60
+ return React.createElement(customElements.getName(AiFlowingWavesIndicatorWC) ?? 'ai-flowing-waves-indicator', { ...rest, ref }, children);
61
+ });
62
+
63
+ const AiHaloOverlay = React.forwardRef(function AiHaloOverlay(props, ref) {
64
+ const { children, ...rest } = props;
65
+ return React.createElement(customElements.getName(AiHaloOverlayWC) ?? 'ai-halo-overlay', { ...rest, ref }, children);
66
+ });
67
+
68
+ const AiPlasmaOrbIndicator = React.forwardRef(function AiPlasmaOrbIndicator(props, ref) {
69
+ const { children, ...rest } = props;
70
+ return React.createElement(customElements.getName(AiPlasmaOrbIndicatorWC) ?? 'ai-plasma-orb-indicator', { ...rest, ref }, children);
71
+ });
72
+
73
+ const AiWavesIndicator = React.forwardRef(function AiWavesIndicator(props, ref) {
74
+ const { children, ...rest } = props;
75
+ return React.createElement(customElements.getName(AiWavesIndicatorWC) ?? 'ai-waves-indicator', { ...rest, ref }, children);
76
+ });
77
+
78
78
  const ChatSuggestions = React.forwardRef(function ChatSuggestions(props, ref) {
79
79
  const { children, ...rest } = props;
80
80
  return React.createElement(customElements.getName(ChatSuggestionsWC) ?? 'chat-suggestions', { ...rest, ref }, children);
@@ -145,11 +145,11 @@ const FoundationAiPopoutManager = React.forwardRef(function FoundationAiPopoutMa
145
145
  });
146
146
 
147
147
  module.exports = {
148
+ FoundationAiAssistant,
148
149
  AiFlowingWavesIndicator,
149
150
  AiHaloOverlay,
150
151
  AiPlasmaOrbIndicator,
151
152
  AiWavesIndicator,
152
- FoundationAiAssistant,
153
153
  ChatSuggestions,
154
154
  AiActivityHalo,
155
155
  AgentPicker,
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 { onBudgetRefreshRequested, onChatHeaderMousedown, onSessionCleared, children, ...rest } = props;
51
31
  const _innerRef = React.useRef(null);
@@ -73,6 +53,26 @@ export const FoundationAiAssistant = React.forwardRef(function FoundationAiAssis
73
53
  return React.createElement(customElements.getName(FoundationAiAssistantWC) ?? 'foundation-ai-assistant', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
74
54
  });
75
55
 
56
+ export const AiFlowingWavesIndicator = React.forwardRef(function AiFlowingWavesIndicator(props, ref) {
57
+ const { children, ...rest } = props;
58
+ return React.createElement(customElements.getName(AiFlowingWavesIndicatorWC) ?? 'ai-flowing-waves-indicator', { ...rest, ref }, children);
59
+ });
60
+
61
+ export const AiHaloOverlay = React.forwardRef(function AiHaloOverlay(props, ref) {
62
+ const { children, ...rest } = props;
63
+ return React.createElement(customElements.getName(AiHaloOverlayWC) ?? 'ai-halo-overlay', { ...rest, ref }, children);
64
+ });
65
+
66
+ export const AiPlasmaOrbIndicator = React.forwardRef(function AiPlasmaOrbIndicator(props, ref) {
67
+ const { children, ...rest } = props;
68
+ return React.createElement(customElements.getName(AiPlasmaOrbIndicatorWC) ?? 'ai-plasma-orb-indicator', { ...rest, ref }, children);
69
+ });
70
+
71
+ export const AiWavesIndicator = React.forwardRef(function AiWavesIndicator(props, ref) {
72
+ const { children, ...rest } = props;
73
+ return React.createElement(customElements.getName(AiWavesIndicatorWC) ?? 'ai-waves-indicator', { ...rest, ref }, children);
74
+ });
75
+
76
76
  export const ChatSuggestions = React.forwardRef(function ChatSuggestions(props, ref) {
77
77
  const { children, ...rest } = props;
78
78
  return React.createElement(customElements.getName(ChatSuggestionsWC) ?? 'chat-suggestions', { ...rest, ref }, children);
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.22.1",
4
+ "version": "15.22.2",
5
5
  "license": "SEE LICENSE IN license.txt",
6
6
  "main": "dist/esm/index.js",
7
7
  "types": "dist/ai-assistant.d.ts",
@@ -74,26 +74,26 @@
74
74
  }
75
75
  },
76
76
  "devDependencies": {
77
- "@genesislcap/foundation-testing": "15.22.1",
78
- "@genesislcap/genx": "15.22.1",
79
- "@genesislcap/rollup-builder": "15.22.1",
80
- "@genesislcap/ts-builder": "15.22.1",
81
- "@genesislcap/uvu-playwright-builder": "15.22.1",
82
- "@genesislcap/vite-builder": "15.22.1",
83
- "@genesislcap/webpack-builder": "15.22.1",
77
+ "@genesislcap/foundation-testing": "15.22.2",
78
+ "@genesislcap/genx": "15.22.2",
79
+ "@genesislcap/rollup-builder": "15.22.2",
80
+ "@genesislcap/ts-builder": "15.22.2",
81
+ "@genesislcap/uvu-playwright-builder": "15.22.2",
82
+ "@genesislcap/vite-builder": "15.22.2",
83
+ "@genesislcap/webpack-builder": "15.22.2",
84
84
  "@types/dompurify": "^3.0.5",
85
85
  "@types/marked": "^5.0.2",
86
86
  "esbuild": "0.25.12"
87
87
  },
88
88
  "dependencies": {
89
- "@genesislcap/foundation-ai": "15.22.1",
90
- "@genesislcap/foundation-logger": "15.22.1",
91
- "@genesislcap/foundation-notifications": "15.22.1",
92
- "@genesislcap/foundation-redux": "15.22.1",
93
- "@genesislcap/foundation-ui": "15.22.1",
94
- "@genesislcap/foundation-utils": "15.22.1",
95
- "@genesislcap/rapid-design-system": "15.22.1",
96
- "@genesislcap/web-core": "15.22.1",
89
+ "@genesislcap/foundation-ai": "15.22.2",
90
+ "@genesislcap/foundation-logger": "15.22.2",
91
+ "@genesislcap/foundation-notifications": "15.22.2",
92
+ "@genesislcap/foundation-redux": "15.22.2",
93
+ "@genesislcap/foundation-ui": "15.22.2",
94
+ "@genesislcap/foundation-utils": "15.22.2",
95
+ "@genesislcap/rapid-design-system": "15.22.2",
96
+ "@genesislcap/web-core": "15.22.2",
97
97
  "dompurify": "^3.3.1",
98
98
  "marked": "^17.0.3"
99
99
  },