@contentful/experience-design-system-cli 2.34.5-dev-build-5cd8bcd6.0 → 2.34.5-dev-build-67c73a67.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contentful/experience-design-system-cli",
3
- "version": "2.34.5-dev-build-5cd8bcd6.0",
3
+ "version": "2.34.5-dev-build-67c73a67.0",
4
4
  "description": "Contentful Experiences design system import CLI",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -41,8 +41,8 @@
41
41
  "svelte": "^5.56.4",
42
42
  "ts-morph": "^27.0.2",
43
43
  "typescript": "^5.9.3",
44
- "@contentful/experience-design-system-types": "2.34.5-dev-build-5cd8bcd6.0",
45
- "@contentful/experience-design-system-cli-v2": "2.34.5-dev-build-5cd8bcd6.0"
44
+ "@contentful/experience-design-system-cli-v2": "2.34.5-dev-build-67c73a67.0",
45
+ "@contentful/experience-design-system-types": "2.34.5-dev-build-67c73a67.0"
46
46
  },
47
47
  "devDependencies": {
48
48
  "@tsconfig/node24": "^24.0.4",
@@ -54,9 +54,9 @@
54
54
  "ink-testing-library": "^4.0.0",
55
55
  "typescript-eslint": "^8.67.0",
56
56
  "vitest": "^4.0.16",
57
- "@contentful/experience-design-system-client": "2.34.5-dev-build-5cd8bcd6.0",
58
- "@contentful/experience-design-system-extraction": "2.34.5-dev-build-5cd8bcd6.0",
59
- "@contentful/experience-design-system-generation": "2.34.5-dev-build-5cd8bcd6.0"
57
+ "@contentful/experience-design-system-client": "2.34.5-dev-build-67c73a67.0",
58
+ "@contentful/experience-design-system-extraction": "2.34.5-dev-build-67c73a67.0",
59
+ "@contentful/experience-design-system-generation": "2.34.5-dev-build-67c73a67.0"
60
60
  },
61
61
  "repository": {
62
62
  "type": "git",
@@ -1,14 +0,0 @@
1
- import React from 'react';
2
- import type { LineageEntry, LineageJumpable } from '../../../../import/tui/hooks/useLineage.js';
3
- export interface LineagePanelProps {
4
- focusedComponentKey: string;
5
- entries: LineageEntry[];
6
- /** Index into the jumpables list — NOT into entries. */
7
- cursor: number;
8
- jumpables: LineageJumpable[];
9
- /** Max entry rows rendered at once. Larger lineages window around the cursor. */
10
- maxRows?: number;
11
- /** Constrain the panel box to a fixed column width (e.g. the sidebar slot). */
12
- width?: number;
13
- }
14
- export declare function LineagePanel({ focusedComponentKey, entries, cursor, jumpables, maxRows, width, }: LineagePanelProps): React.ReactElement;
@@ -1,32 +0,0 @@
1
- import { type ComponentGraphNode } from '../../../analyze/composite-closure.js';
2
- export type LineageEntry = {
3
- kind: 'section';
4
- label: string;
5
- } | {
6
- kind: 'ancestor';
7
- label: string;
8
- jumpTarget: string;
9
- } | {
10
- kind: 'descendant';
11
- label: string;
12
- jumpTarget: string;
13
- } | {
14
- kind: 'empty';
15
- label: string;
16
- };
17
- export interface LineageJumpable {
18
- /** Original index into the `entries` array — callers highlight the source row. */
19
- i: number;
20
- entry: LineageEntry;
21
- }
22
- export interface UseLineageResult {
23
- entries: LineageEntry[];
24
- /**
25
- * Jumpable entries — those the operator can Tab/Enter to. Excludes
26
- * `section` / `empty` rows. Order matches `entries` minus the non-jumpable
27
- * rows; each item carries the original `entries` index so callers can
28
- * highlight the source row.
29
- */
30
- jumpables: LineageJumpable[];
31
- }
32
- export declare function useLineage(focusedKey: string | null, graph: ComponentGraphNode[]): UseLineageResult;
@@ -1,18 +0,0 @@
1
- import type { LineageJumpable } from './hooks/useLineage.js';
2
- type LineageInputKey = {
3
- upArrow: boolean;
4
- downArrow: boolean;
5
- tab: boolean;
6
- return: boolean;
7
- };
8
- export declare function handleLineageNavigation({ key, cursor, jumpables, onCursorChange, onJump, onClose, allowTab, }: {
9
- input?: string;
10
- key: LineageInputKey;
11
- cursor: number;
12
- jumpables: LineageJumpable[];
13
- onCursorChange: (update: number | ((current: number) => number)) => void;
14
- onJump: (name: string) => void;
15
- onClose: () => void;
16
- allowTab: boolean;
17
- }): boolean;
18
- export {};