@genesislcap/ai-assistant 15.68.1 → 15.69.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,6 +116,16 @@ 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
+
119
129
  export declare const AiActivityHalo: React.ForwardRefExoticComponent<
120
130
  React.PropsWithChildren<
121
131
  Omit<PublicOf<AiActivityHaloWC>, 'children' | 'style'> &
@@ -183,14 +193,4 @@ export declare const FoundationAiPopoutManager: React.ForwardRefExoticComponent<
183
193
  >;
184
194
  export type FoundationAiPopoutManagerRef = FoundationAiPopoutManagerWC;
185
195
 
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,6 +88,23 @@ 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
+
91
108
  const AiActivityHalo = React.forwardRef(function AiActivityHalo(props, ref) {
92
109
  const { children, ...rest } = props;
93
110
  return React.createElement(customElements.getName(AiActivityHaloWC) ?? 'ai-activity-halo', { ...rest, ref }, children);
@@ -157,23 +174,6 @@ const FoundationAiPopoutManager = React.forwardRef(function FoundationAiPopoutMa
157
174
  return React.createElement(customElements.getName(FoundationAiPopoutManagerWC) ?? 'foundation-ai-popout-manager', { ...rest, ref }, children);
158
175
  });
159
176
 
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,6 +182,7 @@ module.exports = {
182
182
  FoundationAiAssistant,
183
183
  ChatSuggestions,
184
184
  AutopilotHandBack,
185
+ GenesisWriteReview,
185
186
  AiActivityHalo,
186
187
  AgentPicker,
187
188
  AiChatBubble,
@@ -189,5 +190,4 @@ module.exports = {
189
190
  AiChatMarkdown,
190
191
  MessageFeedback,
191
192
  FoundationAiPopoutManager,
192
- GenesisWriteReview,
193
193
  };
package/dist/react.mjs CHANGED
@@ -86,6 +86,23 @@ 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
+
89
106
  export const AiActivityHalo = React.forwardRef(function AiActivityHalo(props, ref) {
90
107
  const { children, ...rest } = props;
91
108
  return React.createElement(customElements.getName(AiActivityHaloWC) ?? 'ai-activity-halo', { ...rest, ref }, children);
@@ -154,20 +171,3 @@ export const FoundationAiPopoutManager = React.forwardRef(function FoundationAiP
154
171
  const { children, ...rest } = props;
155
172
  return React.createElement(customElements.getName(FoundationAiPopoutManagerWC) ?? 'foundation-ai-popout-manager', { ...rest, ref }, children);
156
173
  });
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.68.1",
4
+ "version": "15.69.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.68.1",
96
- "@genesislcap/foundation-testing": "15.68.1",
97
- "@genesislcap/genx": "15.68.1",
98
- "@genesislcap/ts-builder": "15.68.1",
99
- "@genesislcap/uvu-playwright-builder": "15.68.1",
100
- "@genesislcap/vite-builder": "15.68.1",
101
- "@genesislcap/webpack-builder": "15.68.1",
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",
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.68.1",
108
- "@genesislcap/foundation-logger": "15.68.1",
109
- "@genesislcap/foundation-notifications": "15.68.1",
110
- "@genesislcap/foundation-redux": "15.68.1",
111
- "@genesislcap/foundation-ui": "15.68.1",
112
- "@genesislcap/foundation-utils": "15.68.1",
113
- "@genesislcap/rapid-design-system": "15.68.1",
114
- "@genesislcap/web-core": "15.68.1",
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",
115
115
  "dompurify": "^3.3.1",
116
116
  "marked": "^17.0.3"
117
117
  },
118
118
  "peerDependencies": {
119
- "@genesislcap/foundation-comms": "^15.68.1"
119
+ "@genesislcap/foundation-comms": "^15.69.0"
120
120
  },
121
121
  "peerDependenciesMeta": {
122
122
  "@genesislcap/foundation-comms": {