@contentful/experience-design-system-cli 2.37.1-dev-build-4ce44f69.0 → 2.37.1-dev-build-1e90e088.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/app.js CHANGED
@@ -28300,12 +28300,8 @@ var FIELD_LABELS = {
28300
28300
  host: "API Host",
28301
28301
  defaultComponentDir: "Default component directory",
28302
28302
  defaultTokenFile: "Default token file",
28303
- contentfulBaseDir: "Root Project Directory"
28303
+ contentfulBaseDir: "Root Project Directory (where .contentful goes)"
28304
28304
  };
28305
- var FIELD_HINTS = {
28306
- contentfulBaseDir: "(where .contentful goes)"
28307
- };
28308
- var LABEL_WIDTH = Math.max(...Object.values(FIELD_LABELS).map((label) => label.length));
28309
28305
  function ConfigurationScreen({ onDone }) {
28310
28306
  const [stage, setStage] = useState29("loading");
28311
28307
  const [config, setConfig] = useState29(null);
@@ -28407,7 +28403,10 @@ function ConfigurationScreen({ onDone }) {
28407
28403
  const display = field === "cmaToken" ? "\u2022".repeat(value.length) : value;
28408
28404
  return /* @__PURE__ */ jsxs45(Box44, { gap: 1, children: [
28409
28405
  /* @__PURE__ */ jsx55(Text46, { color: isActive ? PALETTE.accent : void 0, children: isActive ? "\u276F" : " " }),
28410
- /* @__PURE__ */ jsx55(Box44, { width: LABEL_WIDTH, flexShrink: 0, children: /* @__PURE__ */ jsx55(Text46, { bold: isActive, color: isActive ? PALETTE.accent : PALETTE.muted, children: FIELD_LABELS[field] }) }),
28406
+ /* @__PURE__ */ jsxs45(Text46, { bold: isActive, children: [
28407
+ FIELD_LABELS[field],
28408
+ ":"
28409
+ ] }),
28411
28410
  isActive && editing ? /* @__PURE__ */ jsx55(
28412
28411
  TextInput4,
28413
28412
  {
@@ -28416,8 +28415,7 @@ function ConfigurationScreen({ onDone }) {
28416
28415
  onSubmit: () => setEditing(false),
28417
28416
  mask: field === "cmaToken" ? "\u2022" : void 0
28418
28417
  }
28419
- ) : /* @__PURE__ */ jsx55(Text46, { bold: !!display, children: display || (FIELD_HINTS[field] ? "" : /* @__PURE__ */ jsx55(Text46, { color: PALETTE.muted, children: "(empty)" })) }),
28420
- FIELD_HINTS[field] && /* @__PURE__ */ jsx55(Text46, { color: PALETTE.muted, children: FIELD_HINTS[field] })
28418
+ ) : /* @__PURE__ */ jsx55(Text46, { children: display || /* @__PURE__ */ jsx55(Text46, { color: PALETTE.muted, children: "(empty)" }) })
28421
28419
  ] }, field);
28422
28420
  }) }),
28423
28421
  notice && /* @__PURE__ */ jsxs45(Fragment17, { children: [
package/dist/index.js CHANGED
@@ -32627,7 +32627,10 @@ function ConfigurationScreen({ onDone }) {
32627
32627
  const display = field === "cmaToken" ? "\u2022".repeat(value.length) : value;
32628
32628
  return /* @__PURE__ */ jsxs45(Box44, { gap: 1, children: [
32629
32629
  /* @__PURE__ */ jsx55(Text46, { color: isActive ? PALETTE.accent : void 0, children: isActive ? "\u276F" : " " }),
32630
- /* @__PURE__ */ jsx55(Box44, { width: LABEL_WIDTH, flexShrink: 0, children: /* @__PURE__ */ jsx55(Text46, { bold: isActive, color: isActive ? PALETTE.accent : PALETTE.muted, children: FIELD_LABELS[field] }) }),
32630
+ /* @__PURE__ */ jsxs45(Text46, { bold: isActive, children: [
32631
+ FIELD_LABELS[field],
32632
+ ":"
32633
+ ] }),
32631
32634
  isActive && editing ? /* @__PURE__ */ jsx55(
32632
32635
  TextInput4,
32633
32636
  {
@@ -32636,8 +32639,7 @@ function ConfigurationScreen({ onDone }) {
32636
32639
  onSubmit: () => setEditing(false),
32637
32640
  mask: field === "cmaToken" ? "\u2022" : void 0
32638
32641
  }
32639
- ) : /* @__PURE__ */ jsx55(Text46, { bold: !!display, children: display || (FIELD_HINTS[field] ? "" : /* @__PURE__ */ jsx55(Text46, { color: PALETTE.muted, children: "(empty)" })) }),
32640
- FIELD_HINTS[field] && /* @__PURE__ */ jsx55(Text46, { color: PALETTE.muted, children: FIELD_HINTS[field] })
32642
+ ) : /* @__PURE__ */ jsx55(Text46, { children: display || /* @__PURE__ */ jsx55(Text46, { color: PALETTE.muted, children: "(empty)" }) })
32641
32643
  ] }, field);
32642
32644
  }) }),
32643
32645
  notice && /* @__PURE__ */ jsxs45(Fragment17, { children: [
@@ -32668,7 +32670,7 @@ function ConfigurationScreen({ onDone }) {
32668
32670
  )
32669
32671
  ] });
32670
32672
  }
32671
- var FIELD_ORDER, FIELD_LABELS, FIELD_HINTS, LABEL_WIDTH;
32673
+ var FIELD_ORDER, FIELD_LABELS;
32672
32674
  var init_ContentfulConfigScreen = __esm({
32673
32675
  "packages/experience-design-system-cli/src/tui/settings/contentful-configuration/ContentfulConfigScreen.tsx"() {
32674
32676
  "use strict";
@@ -32692,12 +32694,8 @@ var init_ContentfulConfigScreen = __esm({
32692
32694
  host: "API Host",
32693
32695
  defaultComponentDir: "Default component directory",
32694
32696
  defaultTokenFile: "Default token file",
32695
- contentfulBaseDir: "Root Project Directory"
32696
- };
32697
- FIELD_HINTS = {
32698
- contentfulBaseDir: "(where .contentful goes)"
32697
+ contentfulBaseDir: "Root Project Directory (where .contentful goes)"
32699
32698
  };
32700
- LABEL_WIDTH = Math.max(...Object.values(FIELD_LABELS).map((label) => label.length));
32701
32699
  }
32702
32700
  });
32703
32701
 
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-4ce44f69.0",
3
+ "version": "2.37.1-dev-build-1e90e088.0",
4
4
  "description": "Contentful Experiences design system import CLI",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contentful/experience-design-system-cli",
3
- "version": "2.37.1-dev-build-4ce44f69.0",
3
+ "version": "2.37.1-dev-build-1e90e088.0",
4
4
  "description": "Contentful Experiences design system import CLI",
5
5
  "license": "MIT",
6
6
  "type": "module",
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-4ce44f69.0",
3
+ "version": "2.37.1-dev-build-1e90e088.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-4ce44f69.0",
49
- "@contentful/experience-design-system-types": "2.37.1-dev-build-4ce44f69.0"
48
+ "@contentful/experience-design-system-backend-pipeline": "2.37.1-dev-build-1e90e088.0",
49
+ "@contentful/experience-design-system-types": "2.37.1-dev-build-1e90e088.0"
50
50
  },
51
51
  "devDependencies": {
52
52
  "@tsconfig/node24": "^24.0.4",