@genesislcap/ai-assistant 15.69.0 → 15.70.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.
@@ -116,16 +116,6 @@ export declare const AutopilotHandBack: React.ForwardRefExoticComponent<
116
116
  >;
117
117
  export type AutopilotHandBackRef = AutopilotHandBackWC;
118
118
 
119
- export declare const GenesisWriteReview: React.ForwardRefExoticComponent<
120
- React.PropsWithChildren<
121
- Omit<PublicOf<GenesisWriteReviewWC>, 'children' | 'style'> &
122
- HTMLWCProps & {
123
- onInteractionCompleted?: (event: CustomEvent<GenesisWriteReviewCompletedEventDetail>) => void;
124
- }
125
- > & React.RefAttributes<GenesisWriteReviewWC>
126
- >;
127
- export type GenesisWriteReviewRef = GenesisWriteReviewWC;
128
-
129
119
  export declare const AiActivityHalo: React.ForwardRefExoticComponent<
130
120
  React.PropsWithChildren<
131
121
  Omit<PublicOf<AiActivityHaloWC>, 'children' | 'style'> &
@@ -193,4 +183,14 @@ export declare const FoundationAiPopoutManager: React.ForwardRefExoticComponent<
193
183
  >;
194
184
  export type FoundationAiPopoutManagerRef = FoundationAiPopoutManagerWC;
195
185
 
186
+ export declare const GenesisWriteReview: React.ForwardRefExoticComponent<
187
+ React.PropsWithChildren<
188
+ Omit<PublicOf<GenesisWriteReviewWC>, 'children' | 'style'> &
189
+ HTMLWCProps & {
190
+ onInteractionCompleted?: (event: CustomEvent<GenesisWriteReviewCompletedEventDetail>) => void;
191
+ }
192
+ > & React.RefAttributes<GenesisWriteReviewWC>
193
+ >;
194
+ export type GenesisWriteReviewRef = GenesisWriteReviewWC;
195
+
196
196
  export {};
package/dist/react.cjs CHANGED
@@ -88,23 +88,6 @@ const AutopilotHandBack = React.forwardRef(function AutopilotHandBack(props, ref
88
88
  return React.createElement(customElements.getName(AutopilotHandBackWC) ?? 'AUTOPILOT_HAND_BACK', { ...rest, ref }, children);
89
89
  });
90
90
 
91
- const GenesisWriteReview = React.forwardRef(function GenesisWriteReview(props, ref) {
92
- const { onInteractionCompleted, children, ...rest } = props;
93
- const _innerRef = React.useRef(null);
94
- const _onInteractionCompletedRef = React.useRef(onInteractionCompleted);
95
- _onInteractionCompletedRef.current = onInteractionCompleted;
96
- React.useLayoutEffect(() => {
97
- const el = _innerRef.current;
98
- if (!el) return;
99
- const _onInteractionCompletedFn = (e) => _onInteractionCompletedRef.current?.(e);
100
- el.addEventListener('interaction-completed', _onInteractionCompletedFn);
101
- return () => {
102
- el.removeEventListener('interaction-completed', _onInteractionCompletedFn);
103
- };
104
- }, []);
105
- return React.createElement(customElements.getName(GenesisWriteReviewWC) ?? 'GENESIS_WRITE_REVIEW', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
106
- });
107
-
108
91
  const AiActivityHalo = React.forwardRef(function AiActivityHalo(props, ref) {
109
92
  const { children, ...rest } = props;
110
93
  return React.createElement(customElements.getName(AiActivityHaloWC) ?? 'ai-activity-halo', { ...rest, ref }, children);
@@ -174,6 +157,23 @@ const FoundationAiPopoutManager = React.forwardRef(function FoundationAiPopoutMa
174
157
  return React.createElement(customElements.getName(FoundationAiPopoutManagerWC) ?? 'foundation-ai-popout-manager', { ...rest, ref }, children);
175
158
  });
176
159
 
160
+ const GenesisWriteReview = React.forwardRef(function GenesisWriteReview(props, ref) {
161
+ const { onInteractionCompleted, children, ...rest } = props;
162
+ const _innerRef = React.useRef(null);
163
+ const _onInteractionCompletedRef = React.useRef(onInteractionCompleted);
164
+ _onInteractionCompletedRef.current = onInteractionCompleted;
165
+ React.useLayoutEffect(() => {
166
+ const el = _innerRef.current;
167
+ if (!el) return;
168
+ const _onInteractionCompletedFn = (e) => _onInteractionCompletedRef.current?.(e);
169
+ el.addEventListener('interaction-completed', _onInteractionCompletedFn);
170
+ return () => {
171
+ el.removeEventListener('interaction-completed', _onInteractionCompletedFn);
172
+ };
173
+ }, []);
174
+ return React.createElement(customElements.getName(GenesisWriteReviewWC) ?? 'GENESIS_WRITE_REVIEW', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
175
+ });
176
+
177
177
  module.exports = {
178
178
  AiFlowingWavesIndicator,
179
179
  AiHaloOverlay,
@@ -182,7 +182,6 @@ module.exports = {
182
182
  FoundationAiAssistant,
183
183
  ChatSuggestions,
184
184
  AutopilotHandBack,
185
- GenesisWriteReview,
186
185
  AiActivityHalo,
187
186
  AgentPicker,
188
187
  AiChatBubble,
@@ -190,4 +189,5 @@ module.exports = {
190
189
  AiChatMarkdown,
191
190
  MessageFeedback,
192
191
  FoundationAiPopoutManager,
192
+ GenesisWriteReview,
193
193
  };
package/dist/react.mjs CHANGED
@@ -86,23 +86,6 @@ export const AutopilotHandBack = React.forwardRef(function AutopilotHandBack(pro
86
86
  return React.createElement(customElements.getName(AutopilotHandBackWC) ?? 'AUTOPILOT_HAND_BACK', { ...rest, ref }, children);
87
87
  });
88
88
 
89
- export const GenesisWriteReview = React.forwardRef(function GenesisWriteReview(props, ref) {
90
- const { onInteractionCompleted, children, ...rest } = props;
91
- const _innerRef = React.useRef(null);
92
- const _onInteractionCompletedRef = React.useRef(onInteractionCompleted);
93
- _onInteractionCompletedRef.current = onInteractionCompleted;
94
- React.useLayoutEffect(() => {
95
- const el = _innerRef.current;
96
- if (!el) return;
97
- const _onInteractionCompletedFn = (e) => _onInteractionCompletedRef.current?.(e);
98
- el.addEventListener('interaction-completed', _onInteractionCompletedFn);
99
- return () => {
100
- el.removeEventListener('interaction-completed', _onInteractionCompletedFn);
101
- };
102
- }, []);
103
- return React.createElement(customElements.getName(GenesisWriteReviewWC) ?? 'GENESIS_WRITE_REVIEW', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
104
- });
105
-
106
89
  export const AiActivityHalo = React.forwardRef(function AiActivityHalo(props, ref) {
107
90
  const { children, ...rest } = props;
108
91
  return React.createElement(customElements.getName(AiActivityHaloWC) ?? 'ai-activity-halo', { ...rest, ref }, children);
@@ -171,3 +154,20 @@ export const FoundationAiPopoutManager = React.forwardRef(function FoundationAiP
171
154
  const { children, ...rest } = props;
172
155
  return React.createElement(customElements.getName(FoundationAiPopoutManagerWC) ?? 'foundation-ai-popout-manager', { ...rest, ref }, children);
173
156
  });
157
+
158
+ export const GenesisWriteReview = React.forwardRef(function GenesisWriteReview(props, ref) {
159
+ const { onInteractionCompleted, children, ...rest } = props;
160
+ const _innerRef = React.useRef(null);
161
+ const _onInteractionCompletedRef = React.useRef(onInteractionCompleted);
162
+ _onInteractionCompletedRef.current = onInteractionCompleted;
163
+ React.useLayoutEffect(() => {
164
+ const el = _innerRef.current;
165
+ if (!el) return;
166
+ const _onInteractionCompletedFn = (e) => _onInteractionCompletedRef.current?.(e);
167
+ el.addEventListener('interaction-completed', _onInteractionCompletedFn);
168
+ return () => {
169
+ el.removeEventListener('interaction-completed', _onInteractionCompletedFn);
170
+ };
171
+ }, []);
172
+ return React.createElement(customElements.getName(GenesisWriteReviewWC) ?? 'GENESIS_WRITE_REVIEW', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
173
+ });
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.69.0",
4
+ "version": "15.70.0",
5
5
  "license": "SEE LICENSE IN license.txt",
6
6
  "main": "dist/esm/index.js",
7
7
  "types": "dist/ai-assistant.d.ts",
@@ -92,31 +92,31 @@
92
92
  }
93
93
  },
94
94
  "devDependencies": {
95
- "@genesislcap/foundation-comms": "15.69.0",
96
- "@genesislcap/foundation-testing": "15.69.0",
97
- "@genesislcap/genx": "15.69.0",
98
- "@genesislcap/ts-builder": "15.69.0",
99
- "@genesislcap/uvu-playwright-builder": "15.69.0",
100
- "@genesislcap/vite-builder": "15.69.0",
101
- "@genesislcap/webpack-builder": "15.69.0",
95
+ "@genesislcap/foundation-comms": "15.70.0",
96
+ "@genesislcap/foundation-testing": "15.70.0",
97
+ "@genesislcap/genx": "15.70.0",
98
+ "@genesislcap/ts-builder": "15.70.0",
99
+ "@genesislcap/uvu-playwright-builder": "15.70.0",
100
+ "@genesislcap/vite-builder": "15.70.0",
101
+ "@genesislcap/webpack-builder": "15.70.0",
102
102
  "@types/dompurify": "^3.0.5",
103
103
  "@types/marked": "^5.0.2",
104
104
  "esbuild": "0.25.12"
105
105
  },
106
106
  "dependencies": {
107
- "@genesislcap/foundation-ai": "15.69.0",
108
- "@genesislcap/foundation-logger": "15.69.0",
109
- "@genesislcap/foundation-notifications": "15.69.0",
110
- "@genesislcap/foundation-redux": "15.69.0",
111
- "@genesislcap/foundation-ui": "15.69.0",
112
- "@genesislcap/foundation-utils": "15.69.0",
113
- "@genesislcap/rapid-design-system": "15.69.0",
114
- "@genesislcap/web-core": "15.69.0",
107
+ "@genesislcap/foundation-ai": "15.70.0",
108
+ "@genesislcap/foundation-logger": "15.70.0",
109
+ "@genesislcap/foundation-notifications": "15.70.0",
110
+ "@genesislcap/foundation-redux": "15.70.0",
111
+ "@genesislcap/foundation-ui": "15.70.0",
112
+ "@genesislcap/foundation-utils": "15.70.0",
113
+ "@genesislcap/rapid-design-system": "15.70.0",
114
+ "@genesislcap/web-core": "15.70.0",
115
115
  "dompurify": "^3.3.1",
116
116
  "marked": "^17.0.3"
117
117
  },
118
118
  "peerDependencies": {
119
- "@genesislcap/foundation-comms": "^15.69.0"
119
+ "@genesislcap/foundation-comms": "^15.70.0"
120
120
  },
121
121
  "peerDependenciesMeta": {
122
122
  "@genesislcap/foundation-comms": {