Skip to content

Interface: ToolbarSeparatorContribution<S> ​

Defined in: packages/sdk/src/toolbar-items.ts:169

A light vertical rule between toolbar controls. Softer than the Text | Preview pipe — host paints it with a low-opacity mix of toolbar text, not --silo-color-toolbar-text-disabled.

Extends ​

Type Parameters ​

S ​

S extends ToolbarSurface = ToolbarSurface

Properties ​

id ​

ts
id: string;

Defined in: packages/sdk/src/toolbar-items.ts:155

Inherited from ​

ToolbarChromeFields.id


surface ​

ts
surface: S;

Defined in: packages/sdk/src/toolbar-items.ts:156

Inherited from ​

ToolbarChromeFields.surface


order? ​

ts
optional order?: number;

Defined in: packages/sdk/src/toolbar-items.ts:157

Inherited from ​

ToolbarChromeFields.order


when? ​

ts
optional when?: (ctx, target) => boolean;

Defined in: packages/sdk/src/toolbar-items.ts:158

Parameters ​

ctx ​

ContextKeys

target ​

ToolbarItemContext[S]

Returns ​

boolean

Inherited from ​

ToolbarChromeFields.when


type ​

ts
type: "separator";

Defined in: packages/sdk/src/toolbar-items.ts:172