@astryxdesign/cli 0.7.9-canary.4e963df → 0.7.9-canary.53468e2

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.
@@ -144,6 +144,14 @@
144
144
  "kind": "component",
145
145
  "name": "LogStream"
146
146
  },
147
+ {
148
+ "kind": "component",
149
+ "name": "NavigationScreen"
150
+ },
151
+ {
152
+ "kind": "component",
153
+ "name": "NavigationStack"
154
+ },
147
155
  {
148
156
  "kind": "component",
149
157
  "name": "RadialChart"
@@ -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 (
@@ -15,8 +15,8 @@ export const neutralPaletteRefs = {
15
15
  dark: {25: '#2b422b', 80: '#aad4a9', 85: '#bce0bb'},
16
16
  },
17
17
  neutral: {
18
- light: {0: '#000000', 5: '#111111', 10: '#1b1b1b', 30: '#474747', 45: '#6a6a6a', 60: '#919191', 85: '#d4d4d4', 90: '#e2e2e2', 95: '#f1f1f1', 100: '#ffffff'},
19
- dark: {0: '#000000', 5: '#111111', 10: '#1b1b1b', 15: '#262626', 20: '#303030', 35: '#525252', 65: '#9e9e9e', 85: '#d4d4d4', 90: '#e2e2e2', 95: '#f1f1f1', 100: '#ffffff'},
18
+ light: {0: '#000000', 5: '#111111', 10: '#1b1b1b', 30: '#474747', 35: '#525252', 45: '#6a6a6a', 60: '#919191', 85: '#d4d4d4', 90: '#e2e2e2', 95: '#f1f1f1', 100: '#ffffff'},
19
+ dark: {0: '#000000', 5: '#111111', 10: '#1b1b1b', 15: '#262626', 20: '#303030', 30: '#474747', 35: '#525252', 65: '#9e9e9e', 75: '#b9b9b9', 80: '#c6c6c6', 85: '#d4d4d4', 90: '#e2e2e2', 95: '#f1f1f1', 100: '#ffffff'},
20
20
  },
21
21
  orange: {
22
22
  light: {25: '#622700', 30: '#733100', 75: '#ff9e55', 85: '#ffc7a1'},
@@ -17,17 +17,17 @@ const neutralSyntax = defineSyntaxTheme({
17
17
  tokens: {
18
18
  keyword: [purple.light[30], purple.light[80]],
19
19
  string: [green.light[30], green.light[80]],
20
- comment: [neutral.light[45], neutral.dark[65]],
20
+ comment: [neutral.light[35], neutral.dark[75]],
21
21
  number: [orange.light[30], orange.dark[80]],
22
22
  function: [blue.light[30], blue.dark[80]],
23
23
  type: [purple.light[30], purple.light[80]],
24
24
  variable: [neutral.light[5], neutral.dark[90]],
25
- operator: [neutral.light[45], neutral.dark[65]],
25
+ operator: [neutral.light[35], neutral.dark[75]],
26
26
  constant: [orange.light[30], orange.dark[80]],
27
27
  tag: [red.light[30], red.dark[80]],
28
28
  attribute: [yellow.light[30], yellow.light[80]],
29
29
  property: [teal.light[30], teal.light[80]],
30
- punctuation: [neutral.light[45], neutral.dark[65]],
30
+ punctuation: [neutral.light[35], neutral.dark[75]],
31
31
  background: [neutral.light[100], neutral.dark[5]],
32
32
  },
33
33
  });
@@ -94,7 +94,7 @@ export const neutralTheme = defineTheme({
94
94
  '--color-background-muted': [neutral.light[95], neutral.dark[10]],
95
95
 
96
96
  '--color-accent': [neutral.light[10], neutral.dark[95]],
97
- '--color-accent-muted': [neutral.light[95], neutral.dark[15]],
97
+ '--color-accent-muted': [neutral.light[85], neutral.dark[30]],
98
98
  '--color-neutral': [
99
99
  withAlpha(neutral.light[0], '0F'),
100
100
  withAlpha(neutral.dark[100], '1A'),
@@ -273,6 +273,32 @@ export const neutralTheme = defineTheme({
273
273
  },
274
274
 
275
275
  components: {
276
+ // In dark mode, secondary text falls under 4.5:1 on the selected fill
277
+ // and under its hover. Selected rows use the next stop that clears both.
278
+ item: {
279
+ selected: {
280
+ '--color-text-secondary': `light-dark(${neutral.light[30]}, ${neutral.dark[80]})`,
281
+ },
282
+ },
283
+ 'tree-list-item': {
284
+ selected: {
285
+ '--color-text-secondary': `light-dark(${neutral.light[30]}, ${neutral.dark[80]})`,
286
+ },
287
+ },
288
+ // A dropzone's hint sits on the same fill while a file is dragged over.
289
+ // That state has no target, so the dropzone takes the lift at rest too.
290
+ 'file-input': {
291
+ 'mode:dropzone': {
292
+ '--color-text-secondary': `light-dark(${neutral.light[30]}, ${neutral.dark[80]})`,
293
+ },
294
+ },
295
+ // A numbered citation is a pill on the same fill.
296
+ citation: {
297
+ 'variant:number': {
298
+ '--color-text-secondary': `light-dark(${neutral.light[30]}, ${neutral.dark[80]})`,
299
+ },
300
+ },
301
+
276
302
  button: {
277
303
  'variant:destructive': {
278
304
  backgroundColor: 'var(--color-error-muted)',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@astryxdesign/cli",
3
- "version": "0.7.9-canary.4e963df",
3
+ "version": "0.7.9-canary.53468e2",
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": "0.7.9-canary.4e963df",
128
- "@astryxdesign/core": "0.7.9-canary.4e963df",
129
- "@astryxdesign/lab": "0.7.9-canary.4e963df",
130
- "@astryxdesign/theme-neutral": "0.7.9-canary.4e963df"
127
+ "@astryxdesign/charts": "0.7.9-canary.53468e2",
128
+ "@astryxdesign/core": "0.7.9-canary.53468e2",
129
+ "@astryxdesign/lab": "0.7.9-canary.53468e2",
130
+ "@astryxdesign/theme-neutral": "0.7.9-canary.53468e2"
131
131
  },
132
132
  "peerDependenciesMeta": {
133
133
  "@astryxdesign/charts": {
@@ -144,10 +144,10 @@
144
144
  }
145
145
  },
146
146
  "devDependencies": {
147
- "@astryxdesign/charts": "0.7.9-canary.4e963df",
148
- "@astryxdesign/core": "0.7.9-canary.4e963df",
149
- "@astryxdesign/lab": "0.7.9-canary.4e963df",
150
- "@astryxdesign/theme-neutral": "0.7.9-canary.4e963df",
147
+ "@astryxdesign/charts": "0.7.9-canary.53468e2",
148
+ "@astryxdesign/core": "0.7.9-canary.53468e2",
149
+ "@astryxdesign/lab": "0.7.9-canary.53468e2",
150
+ "@astryxdesign/theme-neutral": "0.7.9-canary.53468e2",
151
151
  "@heroicons/react": "^2.2.0",
152
152
  "@stylexjs/stylex": "^0.19.0",
153
153
  "@types/babel__core": "^7.20.5",