@contentful/experience-design-system-cli 2.37.1-dev-build-79a5de01.0 → 2.37.1-dev-build-dbc9f30e.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
@@ -4601,12 +4601,14 @@ var ApiClient = class {
4601
4601
  spaceId;
4602
4602
  environmentId;
4603
4603
  retry;
4604
+ userAgent;
4604
4605
  lastRequestId;
4605
4606
  constructor(opts) {
4606
4607
  this.host = toApiHost2(opts.host);
4607
4608
  this.token = opts.cmaToken;
4608
4609
  this.spaceId = opts.spaceId;
4609
4610
  this.environmentId = opts.environmentId;
4611
+ this.userAgent = opts.userAgent ?? USER_AGENT;
4610
4612
  const initialDelayMs = Math.max(0, opts.retry?.initialDelayMs ?? 250);
4611
4613
  this.retry = {
4612
4614
  maxAttempts: Math.max(1, Math.floor(opts.retry?.maxAttempts ?? 3)),
@@ -4627,7 +4629,7 @@ var ApiClient = class {
4627
4629
  return {
4628
4630
  Authorization: `Bearer ${this.token}`,
4629
4631
  "Content-Type": "application/json",
4630
- "X-Contentful-User-Agent": USER_AGENT
4632
+ "X-Contentful-User-Agent": this.userAgent
4631
4633
  };
4632
4634
  }
4633
4635
  async requestWithRetry(phase, errorPrefix, makeCall) {
package/dist/index.js CHANGED
@@ -6191,12 +6191,14 @@ var init_api_client = __esm({
6191
6191
  spaceId;
6192
6192
  environmentId;
6193
6193
  retry;
6194
+ userAgent;
6194
6195
  lastRequestId;
6195
6196
  constructor(opts) {
6196
6197
  this.host = toApiHost2(opts.host);
6197
6198
  this.token = opts.cmaToken;
6198
6199
  this.spaceId = opts.spaceId;
6199
6200
  this.environmentId = opts.environmentId;
6201
+ this.userAgent = opts.userAgent ?? USER_AGENT;
6200
6202
  const initialDelayMs = Math.max(0, opts.retry?.initialDelayMs ?? 250);
6201
6203
  this.retry = {
6202
6204
  maxAttempts: Math.max(1, Math.floor(opts.retry?.maxAttempts ?? 3)),
@@ -6217,7 +6219,7 @@ var init_api_client = __esm({
6217
6219
  return {
6218
6220
  Authorization: `Bearer ${this.token}`,
6219
6221
  "Content-Type": "application/json",
6220
- "X-Contentful-User-Agent": USER_AGENT
6222
+ "X-Contentful-User-Agent": this.userAgent
6221
6223
  };
6222
6224
  }
6223
6225
  async requestWithRetry(phase, errorPrefix, makeCall) {
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-79a5de01.0",
3
+ "version": "2.37.1-dev-build-dbc9f30e.0",
4
4
  "description": "Contentful Experiences design system import CLI",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -1,3 +1,4 @@
1
+ import { type BoxProps } from 'ink';
1
2
  import type { ReactElement, ReactNode } from 'react';
2
3
  export type WindowDirection = 'up' | 'down';
3
4
  /** Size a standalone panel to the terminal while reserving a small safety margin. */
@@ -9,6 +10,19 @@ export interface WindowedPanelProps {
9
10
  focused: boolean;
10
11
  children: ReactNode;
11
12
  }
13
+ export interface FixedPanelProps {
14
+ width: number;
15
+ height?: number;
16
+ minHeight?: BoxProps['minHeight'];
17
+ focused?: boolean;
18
+ borderStyle?: BoxProps['borderStyle'];
19
+ borderColor?: BoxProps['borderColor'];
20
+ paddingLeft?: BoxProps['paddingLeft'];
21
+ clipOverflow?: boolean;
22
+ children: ReactNode;
23
+ }
24
+ /** Shared panel frame that clips content instead of resizing its layout slot. */
25
+ export declare function FixedPanel({ width, height, minHeight, focused, borderStyle, borderColor, paddingLeft, clipOverflow, children, }: FixedPanelProps): ReactElement;
12
26
  /** Shared frame for panels whose viewport must not change with their contents. */
13
27
  export declare function WindowedPanel({ width, height, title, focused, children }: WindowedPanelProps): ReactElement;
14
28
  export declare function WindowIndicator({ direction, count }: {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contentful/experience-design-system-cli",
3
- "version": "2.37.1-dev-build-79a5de01.0",
3
+ "version": "2.37.1-dev-build-dbc9f30e.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-79a5de01.0",
3
+ "version": "2.37.1-dev-build-dbc9f30e.0",
4
4
  "description": "Contentful Experiences design system import CLI",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -45,9 +45,9 @@
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-79a5de01.0",
49
- "@contentful/experience-design-system-generation": "2.37.1-dev-build-79a5de01.0",
50
- "@contentful/experience-design-system-types": "2.37.1-dev-build-79a5de01.0"
48
+ "@contentful/experience-design-system-types": "2.37.1-dev-build-dbc9f30e.0",
49
+ "@contentful/experience-design-system-backend-pipeline": "2.37.1-dev-build-dbc9f30e.0",
50
+ "@contentful/experience-design-system-generation": "2.37.1-dev-build-dbc9f30e.0"
51
51
  },
52
52
  "devDependencies": {
53
53
  "@tsconfig/node24": "^24.0.4",