@contentful/experience-design-system-cli 2.37.1-dev-build-5efcf6e5.0 → 2.37.1-dev-build-daf63213.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-5efcf6e5.0",
3
+ "version": "2.37.1-dev-build-daf63213.0",
4
4
  "description": "Contentful Experiences design system import CLI",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -6,8 +6,13 @@ export type AgentSettings = {
6
6
  binary: string;
7
7
  };
8
8
  export type AgentConfig = {
9
- /** The agent the CLI uses when `--agent` is not given. */
9
+ /** The agent the CLI uses when `--agent` is not given. Claude when nothing was chosen. */
10
10
  defaultAgent: AgentName;
11
+ /**
12
+ * Whether the user chose the default agent. Only then is `agent` written to config.json, so someone who never chose
13
+ * keeps the import's built-in default, including if that default changes in a later version.
14
+ */
15
+ defaultChosen?: boolean;
11
16
  agents: Record<AgentName, AgentSettings>;
12
17
  };
13
18
  export declare const AGENT_LABELS: Record<AgentName, string>;
@@ -41,6 +41,19 @@ interface FieldFormProps<K extends string> {
41
41
  /** Shown after the rows and the notice, for read-only content that belongs to the same screen. */
42
42
  children?: React.ReactNode;
43
43
  }
44
+ /** The widest label among a form's rows. The form pads every label to it, and read-only rows use it to line up with them. */
45
+ export declare function formLabelWidth(rows: readonly {
46
+ label: string;
47
+ }[]): number;
48
+ /**
49
+ * A label and value for read-only content shown with a form. It is built the same way as the form's own rows (a pointer
50
+ * slot, the label padded to the shared width, then the value), so its values start in the same column as the form's.
51
+ */
52
+ export declare function FormReadOnlyRow({ label, labelWidth, children, }: {
53
+ label: string;
54
+ labelWidth: number;
55
+ children: React.ReactNode;
56
+ }): React.ReactElement;
44
57
  /**
45
58
  * The edit-in-place form the Configuration pages share. Fields are read-only until Enter opens one; Enter again closes it.
46
59
  * While one is open, keys type into it (so a "q" in a path is just a "q"), and Esc closes it and restores the old value.
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-5efcf6e5.0",
3
+ "version": "2.37.1-dev-build-daf63213.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-5efcf6e5.0",
49
- "@contentful/experience-design-system-types": "2.37.1-dev-build-5efcf6e5.0"
48
+ "@contentful/experience-design-system-backend-pipeline": "2.37.1-dev-build-daf63213.0",
49
+ "@contentful/experience-design-system-types": "2.37.1-dev-build-daf63213.0"
50
50
  },
51
51
  "devDependencies": {
52
52
  "@tsconfig/node24": "^24.0.4",