@astryxdesign/cli 0.7.9 → 0.7.10-canary.2c66211

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.
@@ -168,7 +168,6 @@ menuPressGesture menuPressGesture hooks/useAnimatedLayout.doc.mjs hooks/menuPres
168
168
  menuPressMarker menuPressMarker hooks/useAnimatedLayout.doc.mjs hooks/menuPressMarker.ts
169
169
  menuPressOnItems menuPressOnItems hooks/useAnimatedLayout.doc.mjs hooks/menuPressOnItems.ts
170
170
  menuRegionStops menuRegionStops DropdownMenu/DropdownMenu.doc.mjs DropdownMenu/menuRegionStops.ts
171
- menuRegionsContext menuRegionsContext DropdownMenu/DropdownMenu.doc.mjs DropdownMenu/menuRegionsContext.ts
172
171
  menuWidth menuWidth DropdownMenu/DropdownMenu.doc.mjs DropdownMenu/menuWidth.ts
173
172
  mergeComponents mergeComponents theme/MediaTheme.doc.mjs theme/mergeComponents.ts
174
173
  modalAnnounce modalAnnounce hooks/useAnimatedLayout.doc.mjs hooks/modalAnnounce.ts
@@ -252,12 +252,6 @@ export default function AIChatTemplate() {
252
252
  const activeMode = MODE_OPTIONS.find(m => m.key === mode) ?? MODE_OPTIONS[0];
253
253
  const suggestions = category ? CATEGORY_SUGGESTIONS[category] : null;
254
254
 
255
- // The composer's imperative insert methods mutate the DOM without emitting a
256
- // change, so dispatch an input event to sync its value and clear the placeholder.
257
- const syncComposerValue = () => {
258
- document.activeElement?.dispatchEvent(new Event('input', {bubbles: true}));
259
- };
260
-
261
255
  const applySuggestion = (prompt: string) => {
262
256
  const input = composerInputRef.current;
263
257
  if (!input) {
@@ -268,7 +262,6 @@ export default function AIChatTemplate() {
268
262
  window.getSelection()?.selectAllChildren(document.activeElement);
269
263
  }
270
264
  input.insertText(prompt);
271
- syncComposerValue();
272
265
  };
273
266
 
274
267
  const insertMention = (item: (typeof MENTION_ITEMS)[number]) => {
@@ -287,7 +280,6 @@ export default function AIChatTemplate() {
287
280
  label: item.label,
288
281
  variant: 'blue',
289
282
  });
290
- syncComposerValue();
291
283
  };
292
284
 
293
285
  const insertModeToken = (label: string) => {
@@ -297,7 +289,6 @@ export default function AIChatTemplate() {
297
289
  label,
298
290
  variant: 'orange',
299
291
  });
300
- syncComposerValue();
301
292
  };
302
293
 
303
294
  return (
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@astryxdesign/cli",
3
- "version": "0.7.9",
3
+ "version": "0.7.10-canary.2c66211",
4
4
  "displayName": "CLI",
5
5
  "description": "Scaffold projects, browse templates, generate themes, and get agent-ready docs from the command line.",
6
6
  "author": "Meta Open Source",
@@ -124,10 +124,10 @@
124
124
  "zod": "^4.4.3"
125
125
  },
126
126
  "peerDependencies": {
127
- "@astryxdesign/charts": "*",
128
- "@astryxdesign/core": "*",
129
- "@astryxdesign/lab": "*",
130
- "@astryxdesign/theme-neutral": "*"
127
+ "@astryxdesign/charts": "0.7.10-canary.2c66211",
128
+ "@astryxdesign/core": "0.7.10-canary.2c66211",
129
+ "@astryxdesign/lab": "0.7.10-canary.2c66211",
130
+ "@astryxdesign/theme-neutral": "0.7.10-canary.2c66211"
131
131
  },
132
132
  "peerDependenciesMeta": {
133
133
  "@astryxdesign/charts": {
@@ -144,10 +144,10 @@
144
144
  }
145
145
  },
146
146
  "devDependencies": {
147
- "@astryxdesign/charts": "*",
148
- "@astryxdesign/core": "*",
149
- "@astryxdesign/lab": "*",
150
- "@astryxdesign/theme-neutral": "*",
147
+ "@astryxdesign/charts": "0.7.10-canary.2c66211",
148
+ "@astryxdesign/core": "0.7.10-canary.2c66211",
149
+ "@astryxdesign/lab": "0.7.10-canary.2c66211",
150
+ "@astryxdesign/theme-neutral": "0.7.10-canary.2c66211",
151
151
  "@heroicons/react": "^2.2.0",
152
152
  "@stylexjs/stylex": "^0.19.0",
153
153
  "@types/babel__core": "^7.20.5",