@camstack/ui-library 1.2.244 → 1.2.245
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/composites/agent-step-editor.d.ts +41 -16
- package/dist/composites/device-step-matrix.d.ts +2 -25
- package/dist/composites/index.d.ts +8 -11
- package/dist/composites/model-bound-slider.d.ts +8 -1
- package/dist/composites/pipeline-builder.d.ts +1 -28
- package/dist/composites/pipeline-matrix-shared.d.ts +1 -1
- package/dist/composites/pipeline-step.d.ts +4 -44
- package/dist/composites/step-inspector/accelerator-tabs.d.ts +12 -0
- package/dist/composites/step-inspector/gate-control.d.ts +20 -0
- package/dist/composites/step-inspector/index.d.ts +11 -0
- package/dist/composites/step-inspector/layered-settings-form.d.ts +38 -0
- package/dist/composites/step-inspector/segmented-choice.d.ts +11 -0
- package/dist/composites/step-inspector/setting-values.d.ts +19 -0
- package/dist/composites/step-inspector/step-chips.d.ts +11 -0
- package/dist/composites/step-inspector/step-inspector-layout.d.ts +23 -0
- package/dist/composites/step-inspector/step-inspector-panel.d.ts +26 -0
- package/dist/composites/step-inspector/step-list.d.ts +39 -0
- package/dist/composites/step-inspector/step-model-list.d.ts +9 -0
- package/dist/composites/step-inspector/step-model-row.d.ts +27 -0
- package/dist/composites/{step-tree-master.d.ts → step-tree.d.ts} +0 -12
- package/dist/index.cjs +1336 -1016
- package/dist/index.js +1314 -1016
- package/package.json +1 -1
- package/dist/composites/pipeline-tree-matrix.d.ts +0 -18
- package/dist/composites/slide-over-panel.d.ts +0 -35
package/package.json
CHANGED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { StepTreeNode } from './step-tree-master';
|
|
2
|
-
import { AgentColumn, CellState, MatrixSelectedCell } from './pipeline-matrix-shared';
|
|
3
|
-
export type { AgentColumn, CellState, MatrixSelectedCell } from './pipeline-matrix-shared';
|
|
4
|
-
export interface PipelineTreeMatrixProps {
|
|
5
|
-
readonly tree: readonly StepTreeNode[];
|
|
6
|
-
readonly agents: readonly AgentColumn[];
|
|
7
|
-
readonly getCellState: (addonId: string, agent: AgentColumn) => CellState;
|
|
8
|
-
readonly onCellClick: (addonId: string, agent: AgentColumn) => void;
|
|
9
|
-
readonly selectedCell: MatrixSelectedCell | null;
|
|
10
|
-
/**
|
|
11
|
-
* Optional inline on/off toggle next to each step name. Only useful
|
|
12
|
-
* in single-agent mode (per-node pipeline tab) where the row already
|
|
13
|
-
* targets one (agent, addon) pair unambiguously. The matrix renders
|
|
14
|
-
* the toggle when this callback is set AND `agents.length === 1`.
|
|
15
|
-
*/
|
|
16
|
-
readonly onToggleEnabled?: (addonId: string, next: boolean) => void;
|
|
17
|
-
}
|
|
18
|
-
export declare function PipelineTreeMatrix({ tree, agents, getCellState, onCellClick, selectedCell, onToggleEnabled, }: PipelineTreeMatrixProps): import("react").JSX.Element;
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
export interface SlideOverPanelProps {
|
|
3
|
-
readonly open: boolean;
|
|
4
|
-
readonly onClose: () => void;
|
|
5
|
-
readonly title: ReactNode;
|
|
6
|
-
readonly subtitle?: ReactNode;
|
|
7
|
-
readonly footer?: ReactNode;
|
|
8
|
-
readonly children: ReactNode;
|
|
9
|
-
/**
|
|
10
|
-
* Width of the DESKTOP (`md+`) in-container slide-over. Ignored on mobile,
|
|
11
|
-
* where the panel is a full-width, viewport-anchored bottom sheet. Pass a
|
|
12
|
-
* responsive class (e.g. `md:w-[420px]`) — a bare `w-*` would also constrain
|
|
13
|
-
* the mobile sheet. Default: `md:w-[360px]`.
|
|
14
|
-
*/
|
|
15
|
-
readonly widthClass?: string;
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* SlideOverPanel — a detail surface anchored to context on desktop and to the
|
|
19
|
-
* viewport on mobile.
|
|
20
|
-
*
|
|
21
|
-
* - **Desktop (`md+`):** an in-container, NON-modal slide-over pinned to the
|
|
22
|
-
* right edge of the nearest positioned ancestor. The host reserves space with
|
|
23
|
-
* a matching `md:pr-*` so the panel sits beside its content (e.g. the
|
|
24
|
-
* multi-node pipeline matrix), not over it.
|
|
25
|
-
* - **Mobile (`< md`):** a MODAL bottom sheet pinned to the viewport
|
|
26
|
-
* (`position: fixed`). It never derives its size from the surrounding
|
|
27
|
-
* container, so it can't stretch across a horizontally-laid-out node matrix
|
|
28
|
-
* and overflow the page — the previous behaviour when it was a fixed-width
|
|
29
|
-
* `absolute` panel anchored to the wide matrix wrapper.
|
|
30
|
-
*
|
|
31
|
-
* The whole desktop⇄mobile transform is pure Tailwind responsive classes on one
|
|
32
|
-
* element — no layout-shift on hydration, no portal. JS is used only to lock
|
|
33
|
-
* body scroll behind the mobile sheet and to wire Escape-to-close.
|
|
34
|
-
*/
|
|
35
|
-
export declare function SlideOverPanel({ open, onClose, title, subtitle, footer, children, widthClass, }: SlideOverPanelProps): import("react").JSX.Element | null;
|