Skip to content

Interface: ToolbarSeparatorContribution<S>

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

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:125

Inherited from

ToolbarChromeFields.id


surface

ts
surface: S;

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

Inherited from

ToolbarChromeFields.surface


order?

ts
optional order?: number;

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

Inherited from

ToolbarChromeFields.order


when?

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

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

Parameters

ctx

ContextKeys

target

ToolbarItemContext[S]

Returns

boolean

Inherited from

ToolbarChromeFields.when


type

ts
type: "separator";

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