@contentful/experience-design-system-cli 2.37.1-dev-build-8f86e838.0 → 2.37.1-dev-build-7e007460.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.
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contentful/experience-design-system-cli",
3
- "version": "2.37.1-dev-build-8f86e838.0",
3
+ "version": "2.37.1-dev-build-7e007460.0",
4
4
  "description": "Contentful Experiences design system import CLI",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -1,3 +1,4 @@
1
1
  export { ErrorStep } from './error-step/error-step.js';
2
2
  export { GateStep } from './gate-step/gate-step.js';
3
+ export { OverviewBox, type OverviewStep } from './overview-box/overview-box.js';
3
4
  export { RunningStep } from './running-step/running-step.js';
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ export interface OverviewStep {
3
+ description: string;
4
+ /** Whether the step uses the user's local AI agent. */
5
+ ai: boolean;
6
+ }
7
+ /** The framed list of the steps an import goes through, with the AI disclosure under it. Shown by the intro screens. */
8
+ export declare function OverviewBox({ steps }: {
9
+ steps: readonly OverviewStep[];
10
+ }): React.ReactElement;
@@ -3,6 +3,11 @@ export declare const IMPORT_TARGET_OPTIONS: ReadonlyArray<{
3
3
  target: ImportTarget;
4
4
  label: string;
5
5
  }>;
6
+ export declare const TOKENS_ONLY_OVERVIEW: ReadonlyArray<{
7
+ description: string;
8
+ ai: boolean;
9
+ }>;
10
+ export declare const TOKENS_ONLY_STEP_COUNT: number;
6
11
  export type ImportStepId = 'project' | 'token-file' | 'path-validation' | 'credentials' | 'component-extraction' | 'token-generation' | 'scope-gate' | 'generation' | 'review' | 'save-push';
7
12
  export declare function stepsFor(target: ImportTarget): readonly ImportStepId[];
8
13
  export interface InputAnswers {
@@ -1,8 +1,11 @@
1
1
  import React from 'react';
2
+ import { type OverviewStep } from '../../shared/index.js';
2
3
  interface TokenInputScreenProps {
3
4
  onConfirm: (tokensPath: string) => void;
4
5
  onBack: () => void;
5
6
  initialPath?: string;
7
+ /** The steps of the import, shown above the prompt when this is the first screen the user sees (tokens only). */
8
+ overview?: readonly OverviewStep[];
6
9
  }
7
- export declare function TokenInputScreen({ onConfirm, onBack, initialPath }: TokenInputScreenProps): React.ReactElement;
10
+ export declare function TokenInputScreen({ onConfirm, onBack, initialPath, overview, }: TokenInputScreenProps): React.ReactElement;
8
11
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contentful/experience-design-system-cli",
3
- "version": "2.37.1-dev-build-8f86e838.0",
3
+ "version": "2.37.1-dev-build-7e007460.0",
4
4
  "description": "Contentful Experiences design system import CLI",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -45,8 +45,8 @@
45
45
  "ts-morph": "^27.0.2",
46
46
  "typescript": "^5.9.3",
47
47
  "zod": "^4.6.5",
48
- "@contentful/experience-design-system-backend-pipeline": "2.37.1-dev-build-8f86e838.0",
49
- "@contentful/experience-design-system-types": "2.37.1-dev-build-8f86e838.0"
48
+ "@contentful/experience-design-system-backend-pipeline": "2.37.1-dev-build-7e007460.0",
49
+ "@contentful/experience-design-system-types": "2.37.1-dev-build-7e007460.0"
50
50
  },
51
51
  "devDependencies": {
52
52
  "@tsconfig/node24": "^24.0.4",