@alea-design/ui 0.0.0-stage → 0.1.1
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/LICENSE +21 -0
- package/README.md +17 -2
- package/dist/components/accordion/Accordion.d.ts +29 -0
- package/dist/components/ai/AI.d.ts +157 -0
- package/dist/components/app/AppParts.d.ts +105 -0
- package/dist/components/button/Button.d.ts +95 -0
- package/dist/components/button/Groups.d.ts +91 -0
- package/dist/components/card/Card.d.ts +61 -0
- package/dist/components/chat/Chat.d.ts +191 -0
- package/dist/components/choice/Choice.d.ts +87 -0
- package/dist/components/color/Color.d.ts +77 -0
- package/dist/components/combobox/Autocomplete.d.ts +76 -0
- package/dist/components/combobox/ComboBox.d.ts +81 -0
- package/dist/components/combobox/Highlight.d.ts +27 -0
- package/dist/components/command/CommandPalette.d.ts +35 -0
- package/dist/components/content/Content.d.ts +120 -0
- package/dist/components/data/Data.d.ts +85 -0
- package/dist/components/date/Date.d.ts +48 -0
- package/dist/components/display/Display.d.ts +114 -0
- package/dist/components/display/Display2.d.ts +54 -0
- package/dist/components/emoji/EmojiPicker.d.ts +16 -0
- package/dist/components/emoji/emoji-data.d.ts +12 -0
- package/dist/components/extras/CodeSteps.d.ts +24 -0
- package/dist/components/extras/Extras.d.ts +84 -0
- package/dist/components/feedback/Feedback.d.ts +136 -0
- package/dist/components/feedback/Spinner.d.ts +12 -0
- package/dist/components/feedback/Status.d.ts +45 -0
- package/dist/components/field/Field.d.ts +130 -0
- package/dist/components/field/FieldLoading.d.ts +7 -0
- package/dist/components/filter/FilterBar.d.ts +48 -0
- package/dist/components/form/Form.d.ts +32 -0
- package/dist/components/icon/Icon.d.ts +47 -0
- package/dist/components/icon/icon-cells.d.ts +23 -0
- package/dist/components/icon/icon-contexts.d.ts +19 -0
- package/dist/components/icon/icon-names.d.ts +8 -0
- package/dist/components/layout/Bento.d.ts +42 -0
- package/dist/components/layout/Layout.d.ts +76 -0
- package/dist/components/layout/Layout2.d.ts +120 -0
- package/dist/components/layout/Layout3.d.ts +65 -0
- package/dist/components/layout/Responsive.d.ts +21 -0
- package/dist/components/list/List.d.ts +41 -0
- package/dist/components/list/Lists2.d.ts +79 -0
- package/dist/components/media/Media.d.ts +133 -0
- package/dist/components/menu/Menu.d.ts +87 -0
- package/dist/components/more/More.d.ts +176 -0
- package/dist/components/navigation/Navbar.d.ts +23 -0
- package/dist/components/navigation/Navigation.d.ts +88 -0
- package/dist/components/navigation/Navigation2.d.ts +152 -0
- package/dist/components/overlay/Drawer.d.ts +40 -0
- package/dist/components/overlay/Modal.d.ts +41 -0
- package/dist/components/overlay/Overlay.d.ts +95 -0
- package/dist/components/overlay/Sheet.d.ts +55 -0
- package/dist/components/page/Page.d.ts +91 -0
- package/dist/components/page/PageParts.d.ts +94 -0
- package/dist/components/picker/Picker.d.ts +136 -0
- package/dist/components/picker/Wheel.d.ts +63 -0
- package/dist/components/rating/Rating.d.ts +35 -0
- package/dist/components/select/Select.d.ts +116 -0
- package/dist/components/shell/AppShell.d.ts +52 -0
- package/dist/components/shell/AppSidebar.d.ts +55 -0
- package/dist/components/slider/Slider.d.ts +27 -0
- package/dist/components/table/Table.d.ts +45 -0
- package/dist/components/tabs/Tabs.d.ts +59 -0
- package/dist/components/theme/Theme.d.ts +94 -0
- package/dist/components/theme/lens.d.ts +18 -0
- package/dist/components/tree/Tree.d.ts +125 -0
- package/dist/components/typography/Typography.d.ts +59 -0
- package/dist/components/upload/Upload.d.ts +63 -0
- package/dist/components/work/Ops.d.ts +29 -0
- package/dist/components/work/Work.d.ts +216 -0
- package/dist/i18n/strings.d.ts +429 -0
- package/dist/index.d.ts +72 -0
- package/dist/index.js +7439 -0
- package/dist/styles.css +1 -0
- package/dist/utils/Blueprint.d.ts +12 -0
- package/dist/utils/DotField.d.ts +6 -0
- package/dist/utils/attr.d.ts +2 -0
- package/dist/utils/blueprintScene.d.ts +81 -0
- package/dist/utils/controlled.d.ts +2 -0
- package/dist/utils/cx.d.ts +2 -0
- package/dist/utils/inert.d.ts +2 -0
- package/dist/utils/responsive.d.ts +9 -0
- package/dist/utils/scrollEdges.d.ts +9 -0
- package/dist/utils/space.d.ts +2 -0
- package/package.json +68 -4
|
@@ -0,0 +1,216 @@
|
|
|
1
|
+
import { type ReactNode } from 'react';
|
|
2
|
+
export type WorkStatus = 'backlog' | 'todo' | 'progress' | 'review' | 'done' | 'canceled';
|
|
3
|
+
export type WorkPriority = 'none' | 'urgent' | 'high' | 'medium' | 'low';
|
|
4
|
+
export interface StatusIconProps {
|
|
5
|
+
/** backlog, todo, progress, review, done or canceled. */
|
|
6
|
+
status: WorkStatus;
|
|
7
|
+
/** For in progress: how far along, 0 to 1 (the ring fills). Default 0.5. */
|
|
8
|
+
progress?: number;
|
|
9
|
+
/** Size in px. Default 14. */
|
|
10
|
+
size?: number;
|
|
11
|
+
/** Names it for screen readers (when it stands alone). Default: decorative, with the status said in text nearby. */
|
|
12
|
+
label?: boolean;
|
|
13
|
+
className?: string;
|
|
14
|
+
}
|
|
15
|
+
/** The status of a piece of work as a small ring: dashed for backlog, empty for todo, filling for in progress, half for review, checked for done, crossed for canceled. */
|
|
16
|
+
export declare function StatusIcon({ status, progress, size, label, className }: StatusIconProps): import("react").JSX.Element;
|
|
17
|
+
export interface PriorityIconProps {
|
|
18
|
+
/** none, urgent, high, medium or low. */
|
|
19
|
+
priority: WorkPriority;
|
|
20
|
+
/** Size in px. Default 14. */
|
|
21
|
+
size?: number;
|
|
22
|
+
/** Names it for screen readers. Default decorative. */
|
|
23
|
+
label?: boolean;
|
|
24
|
+
className?: string;
|
|
25
|
+
}
|
|
26
|
+
/** Priority as signal bars (low, medium, high), a filled square with ! for urgent, and a dash for none. */
|
|
27
|
+
export declare function PriorityIcon({ priority, size, label, className }: PriorityIconProps): import("react").JSX.Element;
|
|
28
|
+
export interface DiffStatProps {
|
|
29
|
+
/** Lines added. */
|
|
30
|
+
additions: number;
|
|
31
|
+
/** Lines removed. */
|
|
32
|
+
deletions: number;
|
|
33
|
+
/** Files changed, said with the numbers. */
|
|
34
|
+
files?: number;
|
|
35
|
+
/** Shows five blocks in proportion. Default true. */
|
|
36
|
+
blocks?: boolean;
|
|
37
|
+
className?: string;
|
|
38
|
+
}
|
|
39
|
+
/** Lines added and removed, as +22 −10 and five blocks in proportion. The whole is read as one sentence. */
|
|
40
|
+
export declare function DiffStat({ additions, deletions, files, blocks, className }: DiffStatProps): import("react").JSX.Element;
|
|
41
|
+
export interface Issue {
|
|
42
|
+
id: string;
|
|
43
|
+
/** A short key people quote: "ENG-142". */
|
|
44
|
+
key?: string;
|
|
45
|
+
title: string;
|
|
46
|
+
status: WorkStatus;
|
|
47
|
+
priority?: WorkPriority;
|
|
48
|
+
/** For in progress, 0 to 1. */
|
|
49
|
+
progress?: number;
|
|
50
|
+
labels?: Array<{
|
|
51
|
+
name: string;
|
|
52
|
+
color?: string;
|
|
53
|
+
}>;
|
|
54
|
+
assignee?: {
|
|
55
|
+
name: string;
|
|
56
|
+
src?: string;
|
|
57
|
+
};
|
|
58
|
+
/** A due date. */
|
|
59
|
+
due?: Date;
|
|
60
|
+
href?: string;
|
|
61
|
+
}
|
|
62
|
+
export interface IssueListProps {
|
|
63
|
+
/** The issues: id, title, status and optional key, priority, assignee, labels, due date and href. */
|
|
64
|
+
issues: Issue[];
|
|
65
|
+
/** Groups rows by status, each under a heading with its count. Default true. */
|
|
66
|
+
groupByStatus?: boolean;
|
|
67
|
+
/** Called when a row is opened (Enter or click), when rows have no href. */
|
|
68
|
+
onOpen?: (issue: Issue) => void;
|
|
69
|
+
/** Lets people select rows (checkboxes appear). */
|
|
70
|
+
selectionMode?: 'none' | 'multiple';
|
|
71
|
+
/** Called with the selected ids. */
|
|
72
|
+
onSelectionChange?: (ids: Set<string>) => void;
|
|
73
|
+
/** Name of the list. Default "Issues". */
|
|
74
|
+
'aria-label'?: string;
|
|
75
|
+
/** The group headings' level, to fit the page's outline. Default 3. */
|
|
76
|
+
headingLevel?: 2 | 3 | 4;
|
|
77
|
+
className?: string;
|
|
78
|
+
}
|
|
79
|
+
/** Dense rows of work: status, priority, key, title, labels, due date and who has it. Grouped by status; arrow keys move through each group, Enter opens. */
|
|
80
|
+
export declare function IssueList({ issues, groupByStatus, onOpen, selectionMode, onSelectionChange, 'aria-label': label, headingLevel, className }: IssueListProps): import("react").JSX.Element;
|
|
81
|
+
export interface PropertyListProps {
|
|
82
|
+
/** Label and value pairs: the value can be any node (a picker, a badge, an avatar and a name). */
|
|
83
|
+
items: Array<{
|
|
84
|
+
label: ReactNode;
|
|
85
|
+
value: ReactNode;
|
|
86
|
+
icon?: ReactNode;
|
|
87
|
+
}>;
|
|
88
|
+
/** A heading above. */
|
|
89
|
+
title?: ReactNode;
|
|
90
|
+
/** The heading's level, to fit the page's outline. Default 3. */
|
|
91
|
+
headingLevel?: 2 | 3 | 4;
|
|
92
|
+
className?: string;
|
|
93
|
+
}
|
|
94
|
+
/** The properties of an item in a side panel: label on the left, value (often an inline picker) on the right. */
|
|
95
|
+
export declare function PropertyList({ items, title, headingLevel, className }: PropertyListProps): import("react").JSX.Element;
|
|
96
|
+
export interface ActivityEvent {
|
|
97
|
+
id: string;
|
|
98
|
+
/** Who did it: a person or an agent. */
|
|
99
|
+
actor: {
|
|
100
|
+
name: string;
|
|
101
|
+
src?: string;
|
|
102
|
+
agent?: boolean;
|
|
103
|
+
};
|
|
104
|
+
/** What they did, as a sentence after the name: "moved this to In progress". */
|
|
105
|
+
action?: ReactNode;
|
|
106
|
+
/** A comment's text, shown in a bubble. */
|
|
107
|
+
comment?: ReactNode;
|
|
108
|
+
time: Date;
|
|
109
|
+
/** An icon instead of the avatar, for system events. */
|
|
110
|
+
icon?: ReactNode;
|
|
111
|
+
}
|
|
112
|
+
export interface ActivityFeedProps {
|
|
113
|
+
/** The events to list: who did what, when, and any comment. */
|
|
114
|
+
events: ActivityEvent[];
|
|
115
|
+
/** Name of the feed. Default "Activity". */
|
|
116
|
+
'aria-label'?: string;
|
|
117
|
+
className?: string;
|
|
118
|
+
}
|
|
119
|
+
/** What happened to an item, in order: people and agents, changes and comments, with relative times. A list a screen reader reads top to bottom. */
|
|
120
|
+
export declare function ActivityFeed({ events, 'aria-label': label, className }: ActivityFeedProps): import("react").JSX.Element;
|
|
121
|
+
export interface AgentRunProps {
|
|
122
|
+
/** The agent's name. */
|
|
123
|
+
agent: string;
|
|
124
|
+
/** The model or the tool it runs on. */
|
|
125
|
+
model?: string;
|
|
126
|
+
/** What it was asked to do. */
|
|
127
|
+
task: ReactNode;
|
|
128
|
+
/** running, done or failed. */
|
|
129
|
+
status: 'running' | 'done' | 'failed';
|
|
130
|
+
/** How long it worked: "10 s", "2 min". */
|
|
131
|
+
duration?: string;
|
|
132
|
+
/** What it says it did. */
|
|
133
|
+
summary?: ReactNode;
|
|
134
|
+
/** The change it made. */
|
|
135
|
+
diff?: {
|
|
136
|
+
files: number;
|
|
137
|
+
additions: number;
|
|
138
|
+
deletions: number;
|
|
139
|
+
};
|
|
140
|
+
/** A pull request or result it opened: title and state. */
|
|
141
|
+
result?: {
|
|
142
|
+
title: string;
|
|
143
|
+
state: string;
|
|
144
|
+
href?: string;
|
|
145
|
+
};
|
|
146
|
+
/** Buttons at the end: review, revert. */
|
|
147
|
+
actions?: ReactNode;
|
|
148
|
+
className?: string;
|
|
149
|
+
}
|
|
150
|
+
/** One task given to an agent: what it was asked, how long it worked, what it says it did, the change and the result, with actions to review it. Its status is announced as it changes. */
|
|
151
|
+
export declare function AgentRun({ agent, model, task, status, duration, summary, diff, result, actions, className }: AgentRunProps): import("react").JSX.Element;
|
|
152
|
+
export type InboxKind = 'mention' | 'assigned' | 'comment' | 'status' | 'review' | 'agent';
|
|
153
|
+
export interface InboxItem {
|
|
154
|
+
id: string;
|
|
155
|
+
/** What it is about: "ENG-142 Focus ring missing on audio players". */
|
|
156
|
+
title: string;
|
|
157
|
+
/** Who did it: a person or an agent. */
|
|
158
|
+
actor?: {
|
|
159
|
+
name: string;
|
|
160
|
+
src?: string;
|
|
161
|
+
agent?: boolean;
|
|
162
|
+
};
|
|
163
|
+
/** What happened, as an icon and a phrase after the name: mentioned you, assigned you, commented… */
|
|
164
|
+
kind?: InboxKind;
|
|
165
|
+
/** A short quote or detail under the title. */
|
|
166
|
+
summary?: string;
|
|
167
|
+
time: Date;
|
|
168
|
+
/** Not read yet: a dot and a bolder title. */
|
|
169
|
+
unread?: boolean;
|
|
170
|
+
}
|
|
171
|
+
export interface InboxListProps {
|
|
172
|
+
items: InboxItem[];
|
|
173
|
+
/** The open item, when controlled. */
|
|
174
|
+
selectedId?: string | null;
|
|
175
|
+
/** The item open at first, when uncontrolled. */
|
|
176
|
+
defaultSelectedId?: string | null;
|
|
177
|
+
/** Called with the id of the item people open: click, or the arrow keys (the selection follows focus, like a mail list). */
|
|
178
|
+
onSelectionChange?: (id: string) => void;
|
|
179
|
+
/** Name of the list. Default "Inbox". */
|
|
180
|
+
'aria-label'?: string;
|
|
181
|
+
className?: string;
|
|
182
|
+
}
|
|
183
|
+
/** Notifications as a list next to the item they open: unread dots, who did what, a short detail and when. Arrow keys move and open, like a mail list. */
|
|
184
|
+
export declare function InboxList({ items, selectedId, defaultSelectedId, onSelectionChange, 'aria-label': label, className }: InboxListProps): import("react").JSX.Element;
|
|
185
|
+
export type ProjectHealthValue = 'onTrack' | 'atRisk' | 'offTrack' | 'none';
|
|
186
|
+
export interface ProjectHealthProps {
|
|
187
|
+
/** onTrack, atRisk, offTrack or none (no update yet). */
|
|
188
|
+
health: ProjectHealthValue;
|
|
189
|
+
/** sm for rows and tables, md (default) for headers. */
|
|
190
|
+
size?: 'sm' | 'md';
|
|
191
|
+
className?: string;
|
|
192
|
+
}
|
|
193
|
+
/** How a project is doing, as a colored mark and its words: on track, at risk, off track. */
|
|
194
|
+
export declare function ProjectHealth({ health, size, className }: ProjectHealthProps): import("react").JSX.Element;
|
|
195
|
+
export interface ProjectUpdateProps {
|
|
196
|
+
/** How the project is doing with this update. */
|
|
197
|
+
health: ProjectHealthValue;
|
|
198
|
+
/** Who wrote it. */
|
|
199
|
+
author: {
|
|
200
|
+
name: string;
|
|
201
|
+
src?: string;
|
|
202
|
+
};
|
|
203
|
+
/** When it was written. */
|
|
204
|
+
time: Date;
|
|
205
|
+
/** The project, when the update is shown outside it; the heading reads "Project update" otherwise. */
|
|
206
|
+
project?: ReactNode;
|
|
207
|
+
/** The update itself: a few lines, lists, links. */
|
|
208
|
+
children: ReactNode;
|
|
209
|
+
/** Reactions, a reply button or a link to the project. */
|
|
210
|
+
footer?: ReactNode;
|
|
211
|
+
/** The heading level for the title. Default 3. */
|
|
212
|
+
headingLevel?: 2 | 3 | 4;
|
|
213
|
+
className?: string;
|
|
214
|
+
}
|
|
215
|
+
/** A written status update: health, who wrote it and when, what changed and what's next. */
|
|
216
|
+
export declare function ProjectUpdate({ health, author, time, project, children, footer, headingLevel, className }: ProjectUpdateProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,429 @@
|
|
|
1
|
+
/** Every piece of text the kit writes itself (built-in accessibility labels are already translated). Change any of them with ThemeProvider strings. */
|
|
2
|
+
export interface AleaStrings {
|
|
3
|
+
loading: string;
|
|
4
|
+
close: string;
|
|
5
|
+
cancel: string;
|
|
6
|
+
confirm: string;
|
|
7
|
+
yes: string;
|
|
8
|
+
save: string;
|
|
9
|
+
done: string;
|
|
10
|
+
next: string;
|
|
11
|
+
back: string;
|
|
12
|
+
skip: string;
|
|
13
|
+
today: string;
|
|
14
|
+
remove: string;
|
|
15
|
+
removeItem: (name: string) => string;
|
|
16
|
+
reorderHint: string;
|
|
17
|
+
movedTo: (name: string, pos: number, total: number) => string;
|
|
18
|
+
clear: string;
|
|
19
|
+
search: string;
|
|
20
|
+
selectPlaceholder: string;
|
|
21
|
+
options: string;
|
|
22
|
+
noMatches: string;
|
|
23
|
+
noResults: string;
|
|
24
|
+
dismiss: string;
|
|
25
|
+
notifications: string;
|
|
26
|
+
closeNotification: string;
|
|
27
|
+
skipToContent: string;
|
|
28
|
+
menu: string;
|
|
29
|
+
mainNav: string;
|
|
30
|
+
navigation: string;
|
|
31
|
+
openNavigation: string;
|
|
32
|
+
copy: string;
|
|
33
|
+
copied: string;
|
|
34
|
+
copyCode: string;
|
|
35
|
+
theme: string;
|
|
36
|
+
themeDark: string;
|
|
37
|
+
themeLight: string;
|
|
38
|
+
themeSystem: string;
|
|
39
|
+
switchTheme: (name: string) => string;
|
|
40
|
+
password: string;
|
|
41
|
+
showPassword: string;
|
|
42
|
+
hidePassword: string;
|
|
43
|
+
clearSearch: string;
|
|
44
|
+
showMore: string;
|
|
45
|
+
showLess: string;
|
|
46
|
+
pressAndHold: string;
|
|
47
|
+
moreOptions: string;
|
|
48
|
+
moreActions: string;
|
|
49
|
+
previousPage: string;
|
|
50
|
+
nextPage: string;
|
|
51
|
+
pageN: (n: number) => string;
|
|
52
|
+
pagination: string;
|
|
53
|
+
progress: string;
|
|
54
|
+
contextMenu: string;
|
|
55
|
+
onThisPage: string;
|
|
56
|
+
backToTop: string;
|
|
57
|
+
resize: string;
|
|
58
|
+
slides: string;
|
|
59
|
+
previousSlide: string;
|
|
60
|
+
nextSlide: string;
|
|
61
|
+
playSlides: string;
|
|
62
|
+
stopSlides: string;
|
|
63
|
+
chooseSlide: string;
|
|
64
|
+
slideN: (n: number) => string;
|
|
65
|
+
nOfTotal: (n: number, total: number) => string;
|
|
66
|
+
image: string;
|
|
67
|
+
imagePreview: string;
|
|
68
|
+
viewLarger: (alt: string) => string;
|
|
69
|
+
zoomIn: string;
|
|
70
|
+
zoomOut: string;
|
|
71
|
+
qrCode: (value: string) => string;
|
|
72
|
+
stepNOfTotal: (n: number, total: number) => string;
|
|
73
|
+
stepN: (n: number) => string;
|
|
74
|
+
stepDone: string;
|
|
75
|
+
stepDoneBack: string;
|
|
76
|
+
openCalendar: string;
|
|
77
|
+
previousMonth: string;
|
|
78
|
+
nextMonth: string;
|
|
79
|
+
dropFiles: string;
|
|
80
|
+
browseFiles: string;
|
|
81
|
+
files: string;
|
|
82
|
+
uploading: (name: string) => string;
|
|
83
|
+
typeNotAccepted: string;
|
|
84
|
+
largerThan: (size: string) => string;
|
|
85
|
+
fixToContinue: string;
|
|
86
|
+
verificationCode: string;
|
|
87
|
+
characterNOfTotal: (n: number, total: number) => string;
|
|
88
|
+
available: string;
|
|
89
|
+
chosen: string;
|
|
90
|
+
nothingHere: string;
|
|
91
|
+
moveTo: (n: number, list: string) => string;
|
|
92
|
+
searchIn: (list: string) => string;
|
|
93
|
+
suggestions: string;
|
|
94
|
+
typeToAdd: string;
|
|
95
|
+
limitReached: string;
|
|
96
|
+
selected: string;
|
|
97
|
+
showSuggestions: string;
|
|
98
|
+
filterOptions: string;
|
|
99
|
+
recent: string;
|
|
100
|
+
loadingSuggestions: string;
|
|
101
|
+
searching: string;
|
|
102
|
+
nothingFor: (q: string) => string;
|
|
103
|
+
startTyping: string;
|
|
104
|
+
commandPalette: string;
|
|
105
|
+
searchCommands: string;
|
|
106
|
+
commandPlaceholder: string;
|
|
107
|
+
esc: string;
|
|
108
|
+
andMore: (n: number) => string;
|
|
109
|
+
people: (n: number) => string;
|
|
110
|
+
ratingLabel: string;
|
|
111
|
+
outOf: (value: string, max: number) => string;
|
|
112
|
+
hue: string;
|
|
113
|
+
hex: string;
|
|
114
|
+
contrastFail: string;
|
|
115
|
+
contrastSummary: (ratio: string, verdict: string) => string;
|
|
116
|
+
ended: string;
|
|
117
|
+
announcement: string;
|
|
118
|
+
dismissAnnouncement: string;
|
|
119
|
+
starsN: (n: number) => string;
|
|
120
|
+
imageFailed: (alt: string) => string;
|
|
121
|
+
selectAll: string;
|
|
122
|
+
selectAllShown: string;
|
|
123
|
+
wcagPass: (level: string) => string;
|
|
124
|
+
wcagFail: string;
|
|
125
|
+
noData: string;
|
|
126
|
+
stage: string;
|
|
127
|
+
ofFirst: string;
|
|
128
|
+
ofPrevious: string;
|
|
129
|
+
item: string;
|
|
130
|
+
ofMax: string;
|
|
131
|
+
step: string;
|
|
132
|
+
change: string;
|
|
133
|
+
runningTotal: string;
|
|
134
|
+
measure: string;
|
|
135
|
+
target: string;
|
|
136
|
+
day: string;
|
|
137
|
+
showChart: string;
|
|
138
|
+
showTable: string;
|
|
139
|
+
legend: string;
|
|
140
|
+
total: string;
|
|
141
|
+
slice: string;
|
|
142
|
+
value: string;
|
|
143
|
+
share: string;
|
|
144
|
+
group: string;
|
|
145
|
+
point: string;
|
|
146
|
+
size: string;
|
|
147
|
+
selectedN: (n: number) => string;
|
|
148
|
+
toolsFor: (label: string) => string;
|
|
149
|
+
pagesFor: (label: string) => string;
|
|
150
|
+
expandRow: (name: string) => string;
|
|
151
|
+
collapseRow: (name: string) => string;
|
|
152
|
+
detailsCol: string;
|
|
153
|
+
filterBy: (label: string) => string;
|
|
154
|
+
clearFilters: string;
|
|
155
|
+
summary: string;
|
|
156
|
+
loadingRows: string;
|
|
157
|
+
editCell: (label: string) => string;
|
|
158
|
+
nothingToShow: string;
|
|
159
|
+
searchTable: (label: string) => string;
|
|
160
|
+
rowDensity: string;
|
|
161
|
+
compact: string;
|
|
162
|
+
comfortable: string;
|
|
163
|
+
columns: string;
|
|
164
|
+
exportCsv: string;
|
|
165
|
+
exportSelected: string;
|
|
166
|
+
nothingMatches: (q: string) => string;
|
|
167
|
+
rowsOf: (n: number, total: number) => string;
|
|
168
|
+
moveItem: (name: string) => string;
|
|
169
|
+
dropCardsHere: string;
|
|
170
|
+
eventsN: (n: number) => string;
|
|
171
|
+
moreN: (n: number) => string;
|
|
172
|
+
firstPage: string;
|
|
173
|
+
lastPage: string;
|
|
174
|
+
itemRange: (from: number, to: number, total: number) => string;
|
|
175
|
+
perPage: string;
|
|
176
|
+
goToPage: string;
|
|
177
|
+
stepError: string;
|
|
178
|
+
stepWarning: string;
|
|
179
|
+
clearRating: string;
|
|
180
|
+
dragToMove: string;
|
|
181
|
+
pages: string;
|
|
182
|
+
filters: string;
|
|
183
|
+
views: string;
|
|
184
|
+
activeFilters: string;
|
|
185
|
+
noValue: string;
|
|
186
|
+
on: string;
|
|
187
|
+
off: string;
|
|
188
|
+
newTab: string;
|
|
189
|
+
retry: string;
|
|
190
|
+
uploaded: string;
|
|
191
|
+
tooManyFiles: (n: number) => string;
|
|
192
|
+
underline: string;
|
|
193
|
+
strikethrough: string;
|
|
194
|
+
paragraph: string;
|
|
195
|
+
alignLeft: string;
|
|
196
|
+
alignCenter: string;
|
|
197
|
+
alignRight: string;
|
|
198
|
+
undo: string;
|
|
199
|
+
redo: string;
|
|
200
|
+
clearFormatting: string;
|
|
201
|
+
linkUrl: string;
|
|
202
|
+
apply: string;
|
|
203
|
+
removeLink: string;
|
|
204
|
+
editorLabel: string;
|
|
205
|
+
langCode: string;
|
|
206
|
+
searchEmoji: string;
|
|
207
|
+
recentEmoji: string;
|
|
208
|
+
noEmoji: string;
|
|
209
|
+
emojiCategories: Record<string, string>;
|
|
210
|
+
pickEmoji: string;
|
|
211
|
+
addReaction: string;
|
|
212
|
+
reactions: string;
|
|
213
|
+
minimize: string;
|
|
214
|
+
restore: string;
|
|
215
|
+
maximize: string;
|
|
216
|
+
exitMaximize: string;
|
|
217
|
+
clearSelection: string;
|
|
218
|
+
selection: string;
|
|
219
|
+
keyboardShortcuts: string;
|
|
220
|
+
searchShortcuts: string;
|
|
221
|
+
noShortcuts: string;
|
|
222
|
+
apps: string;
|
|
223
|
+
moreApps: string;
|
|
224
|
+
thenKey: string;
|
|
225
|
+
textColor: string;
|
|
226
|
+
highlight: string;
|
|
227
|
+
superscript: string;
|
|
228
|
+
subscript: string;
|
|
229
|
+
indent: string;
|
|
230
|
+
outdent: string;
|
|
231
|
+
justify: string;
|
|
232
|
+
horizontalRule: string;
|
|
233
|
+
insertTable: string;
|
|
234
|
+
rowsLabel: string;
|
|
235
|
+
columnsLabel: string;
|
|
236
|
+
insert: string;
|
|
237
|
+
imageTool: string;
|
|
238
|
+
imageUrl: string;
|
|
239
|
+
altText: string;
|
|
240
|
+
altHint: string;
|
|
241
|
+
specialCharacters: string;
|
|
242
|
+
fullscreen: string;
|
|
243
|
+
exitFullscreen: string;
|
|
244
|
+
htmlSource: string;
|
|
245
|
+
blockFormat: string;
|
|
246
|
+
codeBlock: string;
|
|
247
|
+
wordCount: (w: number, c: number) => string;
|
|
248
|
+
removeColor: string;
|
|
249
|
+
colorNames: Record<string, string>;
|
|
250
|
+
schedulerViews: Record<string, string>;
|
|
251
|
+
newEvent: string;
|
|
252
|
+
allDay: string;
|
|
253
|
+
previousPeriod: string;
|
|
254
|
+
nextPeriod: string;
|
|
255
|
+
nowLabel: string;
|
|
256
|
+
eventRange: (title: string, from: string, to: string) => string;
|
|
257
|
+
timeRange: (from: string, to: string) => string;
|
|
258
|
+
textSize: string;
|
|
259
|
+
sizeNames: Record<'small' | 'normal' | 'large' | 'huge', string>;
|
|
260
|
+
changeCase: string;
|
|
261
|
+
upperCase: string;
|
|
262
|
+
lowerCase: string;
|
|
263
|
+
titleCase: string;
|
|
264
|
+
checklist: string;
|
|
265
|
+
markedDone: string;
|
|
266
|
+
markedNotDone: string;
|
|
267
|
+
textDirection: string;
|
|
268
|
+
leftToRight: string;
|
|
269
|
+
rightToLeft: string;
|
|
270
|
+
findReplace: string;
|
|
271
|
+
findLabel: string;
|
|
272
|
+
replaceLabel: string;
|
|
273
|
+
replace: string;
|
|
274
|
+
replaceAll: string;
|
|
275
|
+
previousMatch: string;
|
|
276
|
+
nextMatch: string;
|
|
277
|
+
matchCount: (current: number, total: number) => string;
|
|
278
|
+
replacedCount: (n: number) => string;
|
|
279
|
+
tableTools: string;
|
|
280
|
+
rowAbove: string;
|
|
281
|
+
rowBelow: string;
|
|
282
|
+
columnBefore: string;
|
|
283
|
+
columnAfter: string;
|
|
284
|
+
deleteRow: string;
|
|
285
|
+
deleteColumn: string;
|
|
286
|
+
deleteTable: string;
|
|
287
|
+
moreTools: string;
|
|
288
|
+
fewerTools: string;
|
|
289
|
+
uploadImage: string;
|
|
290
|
+
orImageUrl: string;
|
|
291
|
+
selectionTools: string;
|
|
292
|
+
imageTooLarge: (mb: number) => string;
|
|
293
|
+
aiMessage: string;
|
|
294
|
+
aiSend: string;
|
|
295
|
+
aiStop: string;
|
|
296
|
+
aiAttach: string;
|
|
297
|
+
aiHint: string;
|
|
298
|
+
aiSuggestions: string;
|
|
299
|
+
aiResponseActions: string;
|
|
300
|
+
aiCopy: string;
|
|
301
|
+
aiCopied: string;
|
|
302
|
+
aiRegenerate: string;
|
|
303
|
+
aiGood: string;
|
|
304
|
+
aiBad: string;
|
|
305
|
+
aiThanks: string;
|
|
306
|
+
aiThinking: string;
|
|
307
|
+
aiThoughtFor: (seconds: number) => string;
|
|
308
|
+
aiReasoning: string;
|
|
309
|
+
aiTool: Record<'running' | 'done' | 'error', string>;
|
|
310
|
+
aiToolInput: string;
|
|
311
|
+
aiToolOutput: string;
|
|
312
|
+
aiSources: string;
|
|
313
|
+
aiSource: (n: number, title: string) => string;
|
|
314
|
+
aiOrb: Record<'idle' | 'listening' | 'thinking' | 'speaking', string>;
|
|
315
|
+
aiGenerating: string;
|
|
316
|
+
workStatus: Record<'backlog' | 'todo' | 'progress' | 'review' | 'done' | 'canceled', string>;
|
|
317
|
+
workPriority: Record<'none' | 'urgent' | 'high' | 'medium' | 'low', string>;
|
|
318
|
+
issues: string;
|
|
319
|
+
agent: string;
|
|
320
|
+
workedFor: (s: string) => string;
|
|
321
|
+
diffStat: (files: number, add: number, del: number) => string;
|
|
322
|
+
activity: string;
|
|
323
|
+
properties: string;
|
|
324
|
+
due: string;
|
|
325
|
+
assignee: string;
|
|
326
|
+
unassigned: string;
|
|
327
|
+
progressOf: (pct: number) => string;
|
|
328
|
+
inbox: string;
|
|
329
|
+
unread: string;
|
|
330
|
+
unreadCount: (n: number) => string;
|
|
331
|
+
inboxKind: Record<'mention' | 'assigned' | 'comment' | 'status' | 'review' | 'agent', string>;
|
|
332
|
+
projectHealth: Record<'onTrack' | 'atRisk' | 'offTrack' | 'none', string>;
|
|
333
|
+
projectUpdate: string;
|
|
334
|
+
noEvents: string;
|
|
335
|
+
play: string;
|
|
336
|
+
pause: string;
|
|
337
|
+
mute: string;
|
|
338
|
+
unmute: string;
|
|
339
|
+
volume: string;
|
|
340
|
+
seek: string;
|
|
341
|
+
playbackSpeed: string;
|
|
342
|
+
captionsOn: string;
|
|
343
|
+
captionsOff: string;
|
|
344
|
+
pictureInPicture: string;
|
|
345
|
+
timeOf: (a: string, b: string) => string;
|
|
346
|
+
mediaPlayer: string;
|
|
347
|
+
skipBack: string;
|
|
348
|
+
skipForward: string;
|
|
349
|
+
reactionCount: (emoji: string, n: number, mine: boolean) => string;
|
|
350
|
+
typing: (names: string[]) => string;
|
|
351
|
+
messageStatus: Record<string, string>;
|
|
352
|
+
replies: (n: number) => string;
|
|
353
|
+
thread: string;
|
|
354
|
+
closeThread: string;
|
|
355
|
+
openThread: string;
|
|
356
|
+
showReplies: (n: number) => string;
|
|
357
|
+
hideReplies: string;
|
|
358
|
+
lastReply: (when: string) => string;
|
|
359
|
+
newReplies: (n: number) => string;
|
|
360
|
+
noReplies: string;
|
|
361
|
+
threadReplies: string;
|
|
362
|
+
reactWith: (emoji: string) => string;
|
|
363
|
+
reactionsGroup: string;
|
|
364
|
+
replyingIn: (author: string) => string;
|
|
365
|
+
newMessages: string;
|
|
366
|
+
yesterday: string;
|
|
367
|
+
you: string;
|
|
368
|
+
messages: string;
|
|
369
|
+
edited2: string;
|
|
370
|
+
edit: string;
|
|
371
|
+
addFilter: string;
|
|
372
|
+
clearAll: string;
|
|
373
|
+
diffAdded: string;
|
|
374
|
+
diffRemoved: string;
|
|
375
|
+
uptime: (label: string, pct: number | undefined, n: number, unit: string, down: number, slow: number) => string;
|
|
376
|
+
paymentCard: (kind: string | undefined, holder: string, last4: string, frozen: boolean) => string;
|
|
377
|
+
paymentCardParts: {
|
|
378
|
+
card: string;
|
|
379
|
+
ending: string;
|
|
380
|
+
frozen: string;
|
|
381
|
+
};
|
|
382
|
+
paneArea: string;
|
|
383
|
+
paneLabels: {
|
|
384
|
+
start: string;
|
|
385
|
+
main: string;
|
|
386
|
+
end: string;
|
|
387
|
+
};
|
|
388
|
+
period: string;
|
|
389
|
+
periods: Record<'24h' | '7d' | '30d' | '90d' | '6m' | '12m' | 'ytd' | 'all', string>;
|
|
390
|
+
pickTime: string;
|
|
391
|
+
hours: string;
|
|
392
|
+
minutes: string;
|
|
393
|
+
hourN: (n: number) => string;
|
|
394
|
+
minuteN: (n: number) => string;
|
|
395
|
+
moreInfo: string;
|
|
396
|
+
unsavedChanges: string;
|
|
397
|
+
discard: string;
|
|
398
|
+
edited: string;
|
|
399
|
+
comment: string;
|
|
400
|
+
addComment: string;
|
|
401
|
+
optional: string;
|
|
402
|
+
passwordStrength: string;
|
|
403
|
+
strengthLevels: [string, string, string, string];
|
|
404
|
+
overLimit: (n: number) => string;
|
|
405
|
+
writeMarkdown: string;
|
|
406
|
+
charactersLeft: (n: number) => string;
|
|
407
|
+
rowsN: (n: number) => string;
|
|
408
|
+
cellOf: (column: string, row: string) => string;
|
|
409
|
+
bold: string;
|
|
410
|
+
italic: string;
|
|
411
|
+
heading: string;
|
|
412
|
+
link: string;
|
|
413
|
+
quote: string;
|
|
414
|
+
code: string;
|
|
415
|
+
bulletedList: string;
|
|
416
|
+
numberedList: string;
|
|
417
|
+
editorMode: string;
|
|
418
|
+
write: string;
|
|
419
|
+
preview: string;
|
|
420
|
+
formatting: string;
|
|
421
|
+
nothingToPreview: string;
|
|
422
|
+
}
|
|
423
|
+
export declare const en: AleaStrings;
|
|
424
|
+
export declare const es: AleaStrings;
|
|
425
|
+
export declare const StringsContext: import("react").Context<Partial<AleaStrings> | null>;
|
|
426
|
+
/** The kit's text in the current locale (ThemeProvider locale, else the browser's), with ThemeProvider strings on top. */
|
|
427
|
+
export declare function useStrings(): AleaStrings;
|
|
428
|
+
/** Add or replace a language pack (e.g. registerStrings('it', { ...en, close: 'Chiudi' })). */
|
|
429
|
+
export declare function registerStrings(lang: string, pack: AleaStrings): void;
|