@genesislcap/ai-assistant 15.101.0 → 15.102.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.
@@ -121,16 +121,6 @@ export declare const AutopilotHandBack: React.ForwardRefExoticComponent<
121
121
  >;
122
122
  export type AutopilotHandBackRef = AutopilotHandBackWC;
123
123
 
124
- export declare const GenesisWriteReview: React.ForwardRefExoticComponent<
125
- React.PropsWithChildren<
126
- Omit<PublicOf<GenesisWriteReviewWC>, 'children' | 'style'> &
127
- HTMLWCProps & {
128
- onInteractionCompleted?: (event: CustomEvent<GenesisWriteReviewCompletedEventDetail>) => void;
129
- }
130
- > & React.RefAttributes<GenesisWriteReviewWC>
131
- >;
132
- export type GenesisWriteReviewRef = GenesisWriteReviewWC;
133
-
134
124
  export declare const AiActivityHalo: React.ForwardRefExoticComponent<
135
125
  React.PropsWithChildren<
136
126
  Omit<PublicOf<AiActivityHaloWC>, 'children' | 'style'> &
@@ -207,4 +197,14 @@ export declare const FoundationAiPopoutManager: React.ForwardRefExoticComponent<
207
197
  >;
208
198
  export type FoundationAiPopoutManagerRef = FoundationAiPopoutManagerWC;
209
199
 
200
+ export declare const GenesisWriteReview: React.ForwardRefExoticComponent<
201
+ React.PropsWithChildren<
202
+ Omit<PublicOf<GenesisWriteReviewWC>, 'children' | 'style'> &
203
+ HTMLWCProps & {
204
+ onInteractionCompleted?: (event: CustomEvent<GenesisWriteReviewCompletedEventDetail>) => void;
205
+ }
206
+ > & React.RefAttributes<GenesisWriteReviewWC>
207
+ >;
208
+ export type GenesisWriteReviewRef = GenesisWriteReviewWC;
209
+
210
210
  export {};
package/dist/react.cjs CHANGED
@@ -109,23 +109,6 @@ const AutopilotHandBack = React.forwardRef(function AutopilotHandBack(props, ref
109
109
  return React.createElement(customElements.getName(AutopilotHandBackWC) ?? 'AUTOPILOT_HAND_BACK', { ...rest, ref }, children);
110
110
  });
111
111
 
112
- const GenesisWriteReview = React.forwardRef(function GenesisWriteReview(props, ref) {
113
- const { onInteractionCompleted, children, ...rest } = props;
114
- const _innerRef = React.useRef(null);
115
- const _onInteractionCompletedRef = React.useRef(onInteractionCompleted);
116
- _onInteractionCompletedRef.current = onInteractionCompleted;
117
- React.useLayoutEffect(() => {
118
- const el = _innerRef.current;
119
- if (!el) return;
120
- const _onInteractionCompletedFn = (e) => _onInteractionCompletedRef.current?.(e);
121
- el.addEventListener('interaction-completed', _onInteractionCompletedFn);
122
- return () => {
123
- el.removeEventListener('interaction-completed', _onInteractionCompletedFn);
124
- };
125
- }, []);
126
- return React.createElement(customElements.getName(GenesisWriteReviewWC) ?? 'GENESIS_WRITE_REVIEW', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
127
- });
128
-
129
112
  const AiActivityHalo = React.forwardRef(function AiActivityHalo(props, ref) {
130
113
  const { children, ...rest } = props;
131
114
  return React.createElement(customElements.getName(AiActivityHaloWC) ?? 'ai-activity-halo', { ...rest, ref }, children);
@@ -200,6 +183,23 @@ const FoundationAiPopoutManager = React.forwardRef(function FoundationAiPopoutMa
200
183
  return React.createElement(customElements.getName(FoundationAiPopoutManagerWC) ?? 'foundation-ai-popout-manager', { ...rest, ref }, children);
201
184
  });
202
185
 
186
+ const GenesisWriteReview = React.forwardRef(function GenesisWriteReview(props, ref) {
187
+ const { onInteractionCompleted, children, ...rest } = props;
188
+ const _innerRef = React.useRef(null);
189
+ const _onInteractionCompletedRef = React.useRef(onInteractionCompleted);
190
+ _onInteractionCompletedRef.current = onInteractionCompleted;
191
+ React.useLayoutEffect(() => {
192
+ const el = _innerRef.current;
193
+ if (!el) return;
194
+ const _onInteractionCompletedFn = (e) => _onInteractionCompletedRef.current?.(e);
195
+ el.addEventListener('interaction-completed', _onInteractionCompletedFn);
196
+ return () => {
197
+ el.removeEventListener('interaction-completed', _onInteractionCompletedFn);
198
+ };
199
+ }, []);
200
+ return React.createElement(customElements.getName(GenesisWriteReviewWC) ?? 'GENESIS_WRITE_REVIEW', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
201
+ });
202
+
203
203
  module.exports = {
204
204
  AiFlowingWavesIndicator,
205
205
  AiHaloOverlay,
@@ -208,7 +208,6 @@ module.exports = {
208
208
  FoundationAiAssistant,
209
209
  ChatSuggestions,
210
210
  AutopilotHandBack,
211
- GenesisWriteReview,
212
211
  AiActivityHalo,
213
212
  AgentPicker,
214
213
  AiChatBubble,
@@ -217,4 +216,5 @@ module.exports = {
217
216
  MessageFeedback,
218
217
  AiNotificationLevel,
219
218
  FoundationAiPopoutManager,
219
+ GenesisWriteReview,
220
220
  };
package/dist/react.mjs CHANGED
@@ -107,23 +107,6 @@ export const AutopilotHandBack = React.forwardRef(function AutopilotHandBack(pro
107
107
  return React.createElement(customElements.getName(AutopilotHandBackWC) ?? 'AUTOPILOT_HAND_BACK', { ...rest, ref }, children);
108
108
  });
109
109
 
110
- export const GenesisWriteReview = React.forwardRef(function GenesisWriteReview(props, ref) {
111
- const { onInteractionCompleted, children, ...rest } = props;
112
- const _innerRef = React.useRef(null);
113
- const _onInteractionCompletedRef = React.useRef(onInteractionCompleted);
114
- _onInteractionCompletedRef.current = onInteractionCompleted;
115
- React.useLayoutEffect(() => {
116
- const el = _innerRef.current;
117
- if (!el) return;
118
- const _onInteractionCompletedFn = (e) => _onInteractionCompletedRef.current?.(e);
119
- el.addEventListener('interaction-completed', _onInteractionCompletedFn);
120
- return () => {
121
- el.removeEventListener('interaction-completed', _onInteractionCompletedFn);
122
- };
123
- }, []);
124
- return React.createElement(customElements.getName(GenesisWriteReviewWC) ?? 'GENESIS_WRITE_REVIEW', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
125
- });
126
-
127
110
  export const AiActivityHalo = React.forwardRef(function AiActivityHalo(props, ref) {
128
111
  const { children, ...rest } = props;
129
112
  return React.createElement(customElements.getName(AiActivityHaloWC) ?? 'ai-activity-halo', { ...rest, ref }, children);
@@ -197,3 +180,20 @@ export const FoundationAiPopoutManager = React.forwardRef(function FoundationAiP
197
180
  const { children, ...rest } = props;
198
181
  return React.createElement(customElements.getName(FoundationAiPopoutManagerWC) ?? 'foundation-ai-popout-manager', { ...rest, ref }, children);
199
182
  });
183
+
184
+ export const GenesisWriteReview = React.forwardRef(function GenesisWriteReview(props, ref) {
185
+ const { onInteractionCompleted, children, ...rest } = props;
186
+ const _innerRef = React.useRef(null);
187
+ const _onInteractionCompletedRef = React.useRef(onInteractionCompleted);
188
+ _onInteractionCompletedRef.current = onInteractionCompleted;
189
+ React.useLayoutEffect(() => {
190
+ const el = _innerRef.current;
191
+ if (!el) return;
192
+ const _onInteractionCompletedFn = (e) => _onInteractionCompletedRef.current?.(e);
193
+ el.addEventListener('interaction-completed', _onInteractionCompletedFn);
194
+ return () => {
195
+ el.removeEventListener('interaction-completed', _onInteractionCompletedFn);
196
+ };
197
+ }, []);
198
+ return React.createElement(customElements.getName(GenesisWriteReviewWC) ?? 'GENESIS_WRITE_REVIEW', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
199
+ });
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.101.0",
4
+ "version": "15.102.1",
5
5
  "license": "SEE LICENSE IN license.txt",
6
6
  "main": "dist/esm/index.js",
7
7
  "types": "dist/dts/index.d.ts",
@@ -102,31 +102,31 @@
102
102
  }
103
103
  },
104
104
  "devDependencies": {
105
- "@genesislcap/foundation-comms": "15.101.0",
106
- "@genesislcap/foundation-testing": "15.101.0",
107
- "@genesislcap/genx": "15.101.0",
108
- "@genesislcap/ts-builder": "15.101.0",
109
- "@genesislcap/uvu-playwright-builder": "15.101.0",
110
- "@genesislcap/vite-builder": "15.101.0",
111
- "@genesislcap/webpack-builder": "15.101.0",
105
+ "@genesislcap/foundation-comms": "15.102.1",
106
+ "@genesislcap/foundation-testing": "15.102.1",
107
+ "@genesislcap/genx": "15.102.1",
108
+ "@genesislcap/ts-builder": "15.102.1",
109
+ "@genesislcap/uvu-playwright-builder": "15.102.1",
110
+ "@genesislcap/vite-builder": "15.102.1",
111
+ "@genesislcap/webpack-builder": "15.102.1",
112
112
  "@types/dompurify": "^3.0.5",
113
113
  "@types/marked": "^5.0.2",
114
114
  "esbuild": "0.25.12"
115
115
  },
116
116
  "dependencies": {
117
- "@genesislcap/foundation-ai": "15.101.0",
118
- "@genesislcap/foundation-logger": "15.101.0",
119
- "@genesislcap/foundation-notifications": "15.101.0",
120
- "@genesislcap/foundation-redux": "15.101.0",
121
- "@genesislcap/foundation-ui": "15.101.0",
122
- "@genesislcap/foundation-utils": "15.101.0",
123
- "@genesislcap/rapid-design-system": "15.101.0",
124
- "@genesislcap/web-core": "15.101.0",
117
+ "@genesislcap/foundation-ai": "15.102.1",
118
+ "@genesislcap/foundation-logger": "15.102.1",
119
+ "@genesislcap/foundation-notifications": "15.102.1",
120
+ "@genesislcap/foundation-redux": "15.102.1",
121
+ "@genesislcap/foundation-ui": "15.102.1",
122
+ "@genesislcap/foundation-utils": "15.102.1",
123
+ "@genesislcap/rapid-design-system": "15.102.1",
124
+ "@genesislcap/web-core": "15.102.1",
125
125
  "dompurify": "^3.3.1",
126
126
  "marked": "^17.0.3"
127
127
  },
128
128
  "peerDependencies": {
129
- "@genesislcap/foundation-comms": "15.101.0"
129
+ "@genesislcap/foundation-comms": "15.102.1"
130
130
  },
131
131
  "peerDependenciesMeta": {
132
132
  "@genesislcap/foundation-comms": {