@contentful/experience-design-system-cli 2.35.1-dev-build-3ab9e99e.0 → 2.35.1-dev-build-a963233a.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.35.1-dev-build-3ab9e99e.0",
3
+ "version": "2.35.1-dev-build-a963233a.0",
4
4
  "description": "Contentful Experiences design system import CLI",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -44,6 +44,7 @@
44
44
  "contentful-management": "^12.17.0",
45
45
  "figures": "6.1.0",
46
46
  "ink": "^5.2.1",
47
+ "ink-text-input": "^6.0.0",
47
48
  "react": "^18.3.1",
48
49
  "react-devtools-core": "^4.19.1",
49
50
  "semver": "^7.7.2",
@@ -1,6 +1,5 @@
1
1
  type Status = 'success' | 'error';
2
2
  type ExitMethod = 'saved' | 'discarded' | 'crashed';
3
- export declare function debugSessionDirIfEnabled(): Promise<string | undefined>;
4
3
  export declare function startDebugRun({ flow, step, menuOption, inputs, }: {
5
4
  flow: string;
6
5
  step: string;
@@ -0,0 +1,8 @@
1
+ export declare const WELCOME_CONTROLS: readonly [{
2
+ readonly keys: "Enter";
3
+ readonly label: "Continue";
4
+ }, {
5
+ readonly keys: "Esc/q";
6
+ readonly label: "Back to menu";
7
+ }];
8
+ export declare function useWelcomeControls(projectPath: string, onQuit: () => void): void;
@@ -0,0 +1,8 @@
1
+ interface QuitKey {
2
+ escape: boolean;
3
+ ctrl: boolean;
4
+ meta: boolean;
5
+ }
6
+ export declare function shouldQuit(value: string, input: string, key: QuitKey): boolean;
7
+ export declare function toProjectPath(value: string): string | null;
8
+ export {};
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ interface WelcomeScreenProps {
3
+ onContinue: (projectPath: string) => void;
4
+ onQuit: () => void;
5
+ }
6
+ export declare function WelcomeScreen({ onContinue, onQuit }: WelcomeScreenProps): React.ReactElement;
7
+ export {};
@@ -0,0 +1 @@
1
+ export { WelcomeScreen } from './01-welcome/screen.js';
@@ -13,10 +13,9 @@ type WizardPreviewStepProps = {
13
13
  environmentId: string;
14
14
  stepNumber: number;
15
15
  totalSteps: number;
16
- droppedTokenDefaults?: string[];
17
16
  onConfirm: (acknowledge: boolean) => void;
18
17
  onEdit?: () => void;
19
18
  onQuit: () => void;
20
19
  };
21
- export declare function WizardPreviewStep({ preview, spaceId, environmentId, stepNumber, totalSteps, droppedTokenDefaults, onConfirm, onEdit, onQuit, }: WizardPreviewStepProps): React.ReactElement;
20
+ export declare function WizardPreviewStep({ preview, spaceId, environmentId, stepNumber, totalSteps, onConfirm, onEdit, onQuit, }: WizardPreviewStepProps): React.ReactElement;
22
21
  export {};