View as Markdown

API reference: @salmonui/kanban

KanbanLocaleTextinterface

import type { KanbanLocaleText } from '@salmonui/kanban';
interface KanbanLocaleText {
    readonly board: string;
    readonly card: string;
    readonly count: string;
    readonly limitMin: string;
    readonly limitMax: string;
    readonly overLimit: string;
    readonly underLimit: string;
    readonly collapse: string;
    readonly expand: string;
    readonly addCard: string;
    readonly add: string;
    readonly unassigned: string;
    readonly empty: string;
    readonly loading: string;
    readonly loadError: string;
    readonly writeError: string;
    readonly dragInstructions: string;
    readonly lifted: string;
    readonly position: string;
    readonly dropped: string;
    readonly cancelled: string;
    readonly columnPicker: string;
    readonly moveColumn: string;
    readonly columnMoved: string;
    readonly editTitle: string;
    readonly newTitle: string;
    readonly save: string;
    readonly cancel: string;
    readonly delete: string;
    readonly required: string;
    readonly fieldHeader: string;
    readonly fieldContent: string;
    readonly fieldColumn: string;
    readonly fieldSwimlane: string;
}

Static texts of Kanban; {param} templates. Plain JSON, safe to pass from a server component.

KanbanLocaleText members (34)
NameSignatureDescription
boardreadonly board: string;

aria-roledescription of the board grid.

cardreadonly card: string;

aria-roledescription of a card.

countreadonly count: string;

{count}: accessible card count of a column or swimlane.

limitMinreadonly limitMin: string;

{min}: WIP minimum shown in the column header.

limitMaxreadonly limitMax: string;

{max}: WIP maximum shown in the column header.

overLimitreadonly overLimit: string;

{column}, {max}, {count}: announced when a column goes over its maximum.

underLimitreadonly underLimit: string;

{column}, {min}, {count}: announced when a column goes under its minimum.

collapsereadonly collapse: string;

{column}

expandreadonly expand: string;

{column}

addCardreadonly addCard: string;

{column}: accessible name of an add button.

addreadonly add: string;

Visible text of an add button.

unassignedreadonly unassigned: string;
emptyreadonly empty: string;
loadingreadonly loading: string;
loadErrorreadonly loadError: string;
writeErrorreadonly writeError: string;
dragInstructionsreadonly dragInstructions: string;

Description of every draggable card.

liftedreadonly lifted: string;

{card}, {position}

positionreadonly position: string;

{column}, {lane}, {index}, {count} ({lane} is empty without swimlanes).

droppedreadonly dropped: string;

{card}, {position}

cancelledreadonly cancelled: string;

{card}

columnPickerreadonly columnPicker: string;

Mobile column picker label.

moveColumnreadonly moveColumn: string;

{column}: the column grip button with columnsReorderable.

columnMovedreadonly columnMoved: string;

{column}, {index}, {count}

editTitlereadonly editTitle: string;
newTitlereadonly newTitle: string;
savereadonly save: string;
cancelreadonly cancel: string;
deletereadonly delete: string;
requiredreadonly required: string;

{label}

fieldHeaderreadonly fieldHeader: string;

Labels of the default editor fields.

fieldContentreadonly fieldContent: string;
fieldColumnreadonly fieldColumn: string;
fieldSwimlanereadonly fieldSwimlane: string;