@genesislcap/ai-assistant 15.99.4 → 15.101.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.
@@ -121,6 +121,16 @@ 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
+
124
134
  export declare const AiActivityHalo: React.ForwardRefExoticComponent<
125
135
  React.PropsWithChildren<
126
136
  Omit<PublicOf<AiActivityHaloWC>, 'children' | 'style'> &
@@ -197,14 +207,4 @@ export declare const FoundationAiPopoutManager: React.ForwardRefExoticComponent<
197
207
  >;
198
208
  export type FoundationAiPopoutManagerRef = FoundationAiPopoutManagerWC;
199
209
 
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,6 +109,23 @@ 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
+
112
129
  const AiActivityHalo = React.forwardRef(function AiActivityHalo(props, ref) {
113
130
  const { children, ...rest } = props;
114
131
  return React.createElement(customElements.getName(AiActivityHaloWC) ?? 'ai-activity-halo', { ...rest, ref }, children);
@@ -183,23 +200,6 @@ const FoundationAiPopoutManager = React.forwardRef(function FoundationAiPopoutMa
183
200
  return React.createElement(customElements.getName(FoundationAiPopoutManagerWC) ?? 'foundation-ai-popout-manager', { ...rest, ref }, children);
184
201
  });
185
202
 
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,6 +208,7 @@ module.exports = {
208
208
  FoundationAiAssistant,
209
209
  ChatSuggestions,
210
210
  AutopilotHandBack,
211
+ GenesisWriteReview,
211
212
  AiActivityHalo,
212
213
  AgentPicker,
213
214
  AiChatBubble,
@@ -216,5 +217,4 @@ module.exports = {
216
217
  MessageFeedback,
217
218
  AiNotificationLevel,
218
219
  FoundationAiPopoutManager,
219
- GenesisWriteReview,
220
220
  };
package/dist/react.mjs CHANGED
@@ -107,6 +107,23 @@ 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
+
110
127
  export const AiActivityHalo = React.forwardRef(function AiActivityHalo(props, ref) {
111
128
  const { children, ...rest } = props;
112
129
  return React.createElement(customElements.getName(AiActivityHaloWC) ?? 'ai-activity-halo', { ...rest, ref }, children);
@@ -180,20 +197,3 @@ export const FoundationAiPopoutManager = React.forwardRef(function FoundationAiP
180
197
  const { children, ...rest } = props;
181
198
  return React.createElement(customElements.getName(FoundationAiPopoutManagerWC) ?? 'foundation-ai-popout-manager', { ...rest, ref }, children);
182
199
  });
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.99.4",
4
+ "version": "15.101.0",
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.99.4",
106
- "@genesislcap/foundation-testing": "15.99.4",
107
- "@genesislcap/genx": "15.99.4",
108
- "@genesislcap/ts-builder": "15.99.4",
109
- "@genesislcap/uvu-playwright-builder": "15.99.4",
110
- "@genesislcap/vite-builder": "15.99.4",
111
- "@genesislcap/webpack-builder": "15.99.4",
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",
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.99.4",
118
- "@genesislcap/foundation-logger": "15.99.4",
119
- "@genesislcap/foundation-notifications": "15.99.4",
120
- "@genesislcap/foundation-redux": "15.99.4",
121
- "@genesislcap/foundation-ui": "15.99.4",
122
- "@genesislcap/foundation-utils": "15.99.4",
123
- "@genesislcap/rapid-design-system": "15.99.4",
124
- "@genesislcap/web-core": "15.99.4",
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",
125
125
  "dompurify": "^3.3.1",
126
126
  "marked": "^17.0.3"
127
127
  },
128
128
  "peerDependencies": {
129
- "@genesislcap/foundation-comms": "15.99.4"
129
+ "@genesislcap/foundation-comms": "15.101.0"
130
130
  },
131
131
  "peerDependenciesMeta": {
132
132
  "@genesislcap/foundation-comms": {