@danxbot/ui 20.23.3 → 21.1.0
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/index.js +23607 -22540
- package/dist/index.js.map +1 -1
- package/dist/pure.js +290 -210
- package/dist/pure.js.map +1 -1
- package/dist/types/components/AppShell.d.ts +1 -1
- package/dist/types/components/Board.d.ts +4 -6
- package/dist/types/components/Card.d.ts +25 -1
- package/dist/types/components/Combobox.d.ts +2 -1
- package/dist/types/components/CommandPalette.d.ts +2 -0
- package/dist/types/components/DateField.d.ts +2 -2
- package/dist/types/components/DragDrop.d.ts +2 -4
- package/dist/types/components/InlineEdit.d.ts +4 -4
- package/dist/types/components/InlineMarkdownEdit.d.ts +2 -2
- package/dist/types/components/PagedWindowList.d.ts +1 -9
- package/dist/types/components/Progress.d.ts +4 -4
- package/dist/types/components/ReadMore.d.ts +2 -2
- package/dist/types/components/SecretField.d.ts +1 -1
- package/dist/types/components/Slider.d.ts +1 -1
- package/dist/types/components/SortMenu.d.ts +1 -1
- package/dist/types/components/Stat.d.ts +1 -1
- package/dist/types/components/StatusSelect.d.ts +1 -1
- package/dist/types/components/TriStateSwitch.d.ts +1 -7
- package/dist/types/components/board/context.d.ts +2 -4
- package/dist/types/components/calendar/CalendarMonth.d.ts +2 -3
- package/dist/types/components/calendar/CalendarTimeGrid.d.ts +1 -2
- package/dist/types/components/calendar/EventActions.d.ts +1 -2
- package/dist/types/components/calendar/format.d.ts +10 -9
- package/dist/types/components/calendar/use-calendar-drag.d.ts +0 -1
- package/dist/types/components/calendar/use-event-keyboard.d.ts +0 -1
- package/dist/types/components/chart/BarList.d.ts +1 -1
- package/dist/types/components/chart/ShareBar.d.ts +1 -1
- package/dist/types/components/chart/TimeSeriesChart.d.ts +2 -4
- package/dist/types/components/chart/shared.d.ts +2 -2
- package/dist/types/components/chart/time-series-scale.d.ts +1 -1
- package/dist/types/components/chat/EffortControl.d.ts +2 -2
- package/dist/types/components/chat/MessageScroller.d.ts +1 -1
- package/dist/types/components/checklist/StatusChecklist.d.ts +1 -1
- package/dist/types/components/edit/outcome.d.ts +0 -12
- package/dist/types/components/file-viewer/frames.d.ts +2 -1
- package/dist/types/components/kanban/KanbanBoard.d.ts +2 -21
- package/dist/types/components/kanban/types.d.ts +1 -1
- package/dist/types/components/markdown/Affordances.d.ts +3 -1
- package/dist/types/components/openapi/resolve.d.ts +7 -3
- package/dist/types/components/openapi/types.d.ts +2 -1
- package/dist/types/components/provenance/ConfidenceBar.d.ts +1 -1
- package/dist/types/components/provenance/ConfidenceReadout.d.ts +2 -2
- package/dist/types/components/provenance/ProvenanceBadge.d.ts +4 -3
- package/dist/types/components/provenance/ProvenanceDetail.d.ts +4 -6
- package/dist/types/components/provenance/ProvenanceDisclosure.d.ts +1 -1
- package/dist/types/components/provenance/absence.d.ts +4 -3
- package/dist/types/components/rbac/RoleKeyPicker.d.ts +1 -1
- package/dist/types/components/rbac/permissionSections.d.ts +1 -1
- package/dist/types/components/rbac/stagedForm.d.ts +4 -4
- package/dist/types/components/roadmap/RoadmapItemCard.d.ts +0 -1
- package/dist/types/index.d.ts +9 -7
- package/dist/types/lib/board/index.d.ts +2 -1
- package/dist/types/lib/board/move.d.ts +2 -2
- package/dist/types/lib/board/rejection.d.ts +8 -0
- package/dist/types/lib/board/types.d.ts +46 -0
- package/dist/types/lib/board/use-board.d.ts +2 -2
- package/dist/types/lib/calendar/drag.d.ts +1 -1
- package/dist/types/lib/calendar/index.d.ts +1 -1
- package/dist/types/lib/calendar/types.d.ts +3 -3
- package/dist/types/lib/confidence.d.ts +5 -0
- package/dist/types/lib/dnd/announce.d.ts +5 -23
- package/dist/types/lib/dnd/index.d.ts +1 -1
- package/dist/types/lib/format.d.ts +19 -18
- package/dist/types/lib/i18n/areas/auth-provenance-flows.d.ts +258 -0
- package/dist/types/lib/i18n/areas/board.d.ts +51 -0
- package/dist/types/lib/i18n/areas/chat-chart.d.ts +164 -0
- package/dist/types/lib/i18n/areas/code-editor.d.ts +40 -0
- package/dist/types/lib/i18n/areas/dates.d.ts +103 -0
- package/dist/types/lib/i18n/areas/docs-views.d.ts +268 -0
- package/dist/types/lib/i18n/areas/feedback.d.ts +104 -0
- package/dist/types/lib/i18n/areas/formats.d.ts +30 -0
- package/dist/types/lib/i18n/areas/forms.d.ts +130 -0
- package/dist/types/lib/i18n/areas/markdown.d.ts +139 -0
- package/dist/types/lib/i18n/areas/move-rejected.d.ts +16 -0
- package/dist/types/lib/i18n/areas/navigation.d.ts +144 -0
- package/dist/types/lib/i18n/areas/rbac.d.ts +584 -0
- package/dist/types/lib/i18n/emphasis.d.ts +3 -0
- package/dist/types/lib/i18n/index.d.ts +8 -0
- package/dist/types/lib/i18n/number-format.d.ts +5 -0
- package/dist/types/lib/i18n/plural.d.ts +7 -0
- package/dist/types/lib/i18n/provider.d.ts +16 -0
- package/dist/types/lib/i18n/strings.d.ts +15 -0
- package/dist/types/lib/intl-cache.d.ts +31 -0
- package/dist/types/lib/markdown/commands.d.ts +4 -2
- package/dist/types/lib/markdown/dom.d.ts +27 -21
- package/dist/types/lib/markdown/hotkeys.d.ts +12 -5
- package/dist/types/lib/markdown/image-decoration.d.ts +22 -1
- package/dist/types/lib/markdown/image-pipeline.d.ts +2 -0
- package/dist/types/lib/markdown/images.d.ts +1 -1
- package/dist/types/lib/markdown/reconcile.d.ts +4 -2
- package/dist/types/lib/markdown/surface.d.ts +4 -2
- package/dist/types/lib/reduced-motion-help.d.ts +2 -1
- package/dist/types/lib/time/relativeAge.d.ts +3 -2
- package/dist/types/lib/time/zone.d.ts +9 -0
- package/dist/types/lib/values/boolean.d.ts +11 -10
- package/dist/types/lib/values/currency.d.ts +5 -5
- package/dist/types/lib/values/date.d.ts +4 -4
- package/dist/types/lib/values/datetime.d.ts +3 -3
- package/dist/types/lib/values/locale-date.d.ts +34 -0
- package/dist/types/lib/values/number.d.ts +5 -5
- package/dist/types/pure.d.ts +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,258 @@
|
|
|
1
|
+
import { type ReactNode } from "react";
|
|
2
|
+
import { type ConfidenceLevel } from "../../confidence";
|
|
3
|
+
import type { Emphasis } from "../emphasis";
|
|
4
|
+
export interface AuthProvenanceFlowsStrings {
|
|
5
|
+
acceptInvitationCard: {
|
|
6
|
+
/** The sentence under the team logo: who invited which address to which team in which role. */
|
|
7
|
+
intro: (inviter: string, email: string, team: string, role: string, emphasis: Emphasis) => ReactNode;
|
|
8
|
+
/** Line shown when the viewer already has a matching session. */
|
|
9
|
+
signedInAs: (name: string, emphasis: Emphasis) => ReactNode;
|
|
10
|
+
/** One-click join button for a signed-in viewer. */
|
|
11
|
+
acceptAndJoin: (team: string) => string;
|
|
12
|
+
/** Line shown when the invited email already has an account but the viewer is not signed in as it. */
|
|
13
|
+
accountExists: (email: string) => string;
|
|
14
|
+
/** Button pointing an existing-account viewer at sign-in. */
|
|
15
|
+
signInToAccept: string;
|
|
16
|
+
/** Label of the new-account name field. */
|
|
17
|
+
name: string;
|
|
18
|
+
/** Label of the new-account username field. */
|
|
19
|
+
username: string;
|
|
20
|
+
/** Label of the new-account password field. */
|
|
21
|
+
password: string;
|
|
22
|
+
/** Submit button of the new-account form. */
|
|
23
|
+
createAndJoin: (team: string) => string;
|
|
24
|
+
};
|
|
25
|
+
forgotPasswordForm: {
|
|
26
|
+
/** Submit button text (a caller's `submitLabel` replaces it). */
|
|
27
|
+
submit: string;
|
|
28
|
+
/** Error shown when the request fails with something that is not an Error carrying a message. */
|
|
29
|
+
failedMessage: string;
|
|
30
|
+
/** Title of the error callout above the form. */
|
|
31
|
+
failedTitle: string;
|
|
32
|
+
/** Title of the confirmation callout shown after the request succeeded. */
|
|
33
|
+
sentTitle: string;
|
|
34
|
+
/** Body of that confirmation callout. */
|
|
35
|
+
sentBody: (email: string) => string;
|
|
36
|
+
/** Label of the email field. */
|
|
37
|
+
email: string;
|
|
38
|
+
/** Helper text under the email field. */
|
|
39
|
+
emailDescription: string;
|
|
40
|
+
};
|
|
41
|
+
loginForm: {
|
|
42
|
+
/** Submit button text (a caller's `submitLabel` replaces it). */
|
|
43
|
+
submit: string;
|
|
44
|
+
/** Error shown when sign-in fails with something that is not an Error carrying a message. */
|
|
45
|
+
failedMessage: string;
|
|
46
|
+
/** Title of the error callout above the form. */
|
|
47
|
+
failedTitle: string;
|
|
48
|
+
/** Label of the email-or-username field. */
|
|
49
|
+
identifier: string;
|
|
50
|
+
/** Label of the password field. */
|
|
51
|
+
password: string;
|
|
52
|
+
};
|
|
53
|
+
resetPasswordForm: {
|
|
54
|
+
/** Submit button text (a caller's `submitLabel` replaces it). */
|
|
55
|
+
submit: string;
|
|
56
|
+
/** Error shown when the reset fails with something that is not an Error carrying a message. */
|
|
57
|
+
failedMessage: string;
|
|
58
|
+
/** Title of the error callout above the form. */
|
|
59
|
+
failedTitle: string;
|
|
60
|
+
/** Label of the new-password field. */
|
|
61
|
+
newPassword: string;
|
|
62
|
+
/** Label of the confirmation field. */
|
|
63
|
+
confirmPassword: string;
|
|
64
|
+
/** Error under the confirmation field when it differs from the new password. */
|
|
65
|
+
mismatch: string;
|
|
66
|
+
};
|
|
67
|
+
signupCard: {
|
|
68
|
+
/** Error under the code field when validation rejected with something that is not an Error carrying a message. */
|
|
69
|
+
invalidCode: string;
|
|
70
|
+
/** Label of the sign-up code field. */
|
|
71
|
+
betaCode: string;
|
|
72
|
+
/** Helper text when the code came from the sign-up link and is locked. */
|
|
73
|
+
codeFromLink: string;
|
|
74
|
+
/** Button that checks the code. */
|
|
75
|
+
continue: string;
|
|
76
|
+
/** Label of the name field. */
|
|
77
|
+
name: string;
|
|
78
|
+
/** Label of the username field. */
|
|
79
|
+
username: string;
|
|
80
|
+
/** Label of the email field. */
|
|
81
|
+
email: string;
|
|
82
|
+
/** Helper text when the code reserves the email address. */
|
|
83
|
+
emailReserved: string;
|
|
84
|
+
/** Label of the team-name field. */
|
|
85
|
+
teamName: string;
|
|
86
|
+
/** Helper text under the team-name field. */
|
|
87
|
+
teamNameDescription: string;
|
|
88
|
+
/** Label of the password field. */
|
|
89
|
+
password: string;
|
|
90
|
+
/** Submit button of the account form. */
|
|
91
|
+
createAccount: string;
|
|
92
|
+
/** Prompt beside the sign-in link beneath the card. */
|
|
93
|
+
haveAccount: string;
|
|
94
|
+
/** The sign-in link beneath the card. */
|
|
95
|
+
signIn: string;
|
|
96
|
+
};
|
|
97
|
+
termsAcceptance: {
|
|
98
|
+
/** The agreement row is `before` + the link text + `after`, so a translation controls the order around the link. */
|
|
99
|
+
agreement: {
|
|
100
|
+
/** Text before the Terms link. */
|
|
101
|
+
before: string;
|
|
102
|
+
/** The link text. */
|
|
103
|
+
link: string;
|
|
104
|
+
/** Text after the Terms link. */
|
|
105
|
+
after: string;
|
|
106
|
+
};
|
|
107
|
+
};
|
|
108
|
+
confidenceBar: {
|
|
109
|
+
/** What the rating is of, when the caller gives no `label`. */
|
|
110
|
+
label: string;
|
|
111
|
+
/** Accessible name and tooltip of an unrated bar. */
|
|
112
|
+
notRated: (label: string) => string;
|
|
113
|
+
/** Accessible name and tooltip of a rated bar ("Confidence 3 of 5"); `ratingText` and `scaleText` are already formatted for the locale. */
|
|
114
|
+
rated: (label: string, ratingText: string, scaleText: string) => string;
|
|
115
|
+
/** Each level's own word on the five-step scale (4 "Confident" and 5 "Highly confident" stay distinguishable); read by an application that prints a level in words. */
|
|
116
|
+
levels: Record<ConfidenceLevel, string>;
|
|
117
|
+
};
|
|
118
|
+
confidenceMeter: {
|
|
119
|
+
/** Shown in place of the meter when nothing scored it. */
|
|
120
|
+
notScored: string;
|
|
121
|
+
/** The band names printed over the meter. */
|
|
122
|
+
bands: {
|
|
123
|
+
/** Score of 0.9 and above. */
|
|
124
|
+
high: string;
|
|
125
|
+
/** Score from 0.7 up to 0.9. */
|
|
126
|
+
moderate: string;
|
|
127
|
+
/** Score under 0.7. */
|
|
128
|
+
low: string;
|
|
129
|
+
};
|
|
130
|
+
};
|
|
131
|
+
provenanceBadge: {
|
|
132
|
+
/** The word on each verification-state chip, and its screen-reader text. */
|
|
133
|
+
states: {
|
|
134
|
+
/** Value checked and good. */
|
|
135
|
+
verified: string;
|
|
136
|
+
/** Signed off by a person. */
|
|
137
|
+
human: string;
|
|
138
|
+
/** Never checked. */
|
|
139
|
+
unverified: string;
|
|
140
|
+
/** The record's check disproved it. */
|
|
141
|
+
failed: string;
|
|
142
|
+
};
|
|
143
|
+
};
|
|
144
|
+
provenanceAbsence: {
|
|
145
|
+
/** Shown in place of a value that was extracted as null. */
|
|
146
|
+
noValue: string;
|
|
147
|
+
/** Shown in place of a value withheld from the viewer. */
|
|
148
|
+
redacted: string;
|
|
149
|
+
/** Shown in place of a value that failed its check. */
|
|
150
|
+
heldNull: string;
|
|
151
|
+
};
|
|
152
|
+
provenanceDetail: {
|
|
153
|
+
/** Row heading for the record's check verdict. */
|
|
154
|
+
check: string;
|
|
155
|
+
/** Row heading for the source and its quote. */
|
|
156
|
+
source: string;
|
|
157
|
+
/** Row heading for the model's reasoning. */
|
|
158
|
+
reasoning: string;
|
|
159
|
+
/** Row heading for the sign-off. */
|
|
160
|
+
signed: string;
|
|
161
|
+
/** Prefix before the struck-through original value of a correction. */
|
|
162
|
+
correctedFrom: string;
|
|
163
|
+
/** Row heading for the model-call cost. */
|
|
164
|
+
modelCall: string;
|
|
165
|
+
/** Badge for the input token count (`count` is already formatted for the locale). */
|
|
166
|
+
tokensIn: (countText: string) => string;
|
|
167
|
+
/** Badge for the output token count (`count` is already formatted for the locale). */
|
|
168
|
+
tokensOut: (countText: string) => string;
|
|
169
|
+
/** Badge for the call latency (`ms` is already formatted for the locale). */
|
|
170
|
+
latencyMs: (msText: string) => string;
|
|
171
|
+
/** Shown when the record carries no source, reasoning, call or check. */
|
|
172
|
+
empty: string;
|
|
173
|
+
};
|
|
174
|
+
provenanceDisclosure: {
|
|
175
|
+
/** Screen-reader text at the end of the trigger's name. */
|
|
176
|
+
showWhereFrom: string;
|
|
177
|
+
};
|
|
178
|
+
statusChecklist: {
|
|
179
|
+
/** Title of the empty state when the list has no items (a caller's `emptyTitle` replaces it). */
|
|
180
|
+
empty: string;
|
|
181
|
+
/** One chip of the summary row: the count and the consumer's state label. */
|
|
182
|
+
tally: (countText: string, stateLabel: string) => string;
|
|
183
|
+
};
|
|
184
|
+
stepper: {
|
|
185
|
+
/** Header above the rail. */
|
|
186
|
+
stepOf: (positionText: string, totalText: string) => string;
|
|
187
|
+
/** Chip counting steps behind the cursor that are not complete. */
|
|
188
|
+
skipped: (n: number, nText: string) => string;
|
|
189
|
+
/** Back button (a caller's `backLabel` replaces it). */
|
|
190
|
+
back: string;
|
|
191
|
+
/** Next button (a caller's `nextLabel` replaces it). */
|
|
192
|
+
next: string;
|
|
193
|
+
/** Forward button on the last step (a caller's `finishLabel` replaces it). */
|
|
194
|
+
finish: string;
|
|
195
|
+
/** The state word appended to each step's accessible name. */
|
|
196
|
+
status: {
|
|
197
|
+
/** Finished step. */
|
|
198
|
+
complete: string;
|
|
199
|
+
/** Step with a reason it cannot proceed. */
|
|
200
|
+
blocked: string;
|
|
201
|
+
/** The step the cursor is on. */
|
|
202
|
+
current: string;
|
|
203
|
+
/** Behind the cursor and not finished. */
|
|
204
|
+
incomplete: string;
|
|
205
|
+
/** Ahead of the cursor. */
|
|
206
|
+
upcoming: string;
|
|
207
|
+
};
|
|
208
|
+
/** Screen-reader text joining a step's label to its state word. */
|
|
209
|
+
statusSuffix: (word: string) => string;
|
|
210
|
+
};
|
|
211
|
+
focusWeb: {
|
|
212
|
+
/** Accessible name of the parent node's button. */
|
|
213
|
+
upTo: (label: string) => string;
|
|
214
|
+
/** Accessible name of a node's button when it carries a badge label. */
|
|
215
|
+
withBadge: (name: string, badge: string) => string;
|
|
216
|
+
};
|
|
217
|
+
nodeCanvas: {
|
|
218
|
+
/** Label of a collapsed cycle box. */
|
|
219
|
+
cyclicCluster: (sizeText: string) => string;
|
|
220
|
+
/** Member count under a collapsed group. */
|
|
221
|
+
itemCount: (count: number, countText: string) => string;
|
|
222
|
+
/** Tooltip of the disabled go-up button on a read-only canvas. */
|
|
223
|
+
readOnly: string;
|
|
224
|
+
/** Tooltip of the disabled go-up button at the top level. */
|
|
225
|
+
atTop: string;
|
|
226
|
+
/** Name of the go-up button. */
|
|
227
|
+
goUp: string;
|
|
228
|
+
/** Name of the chart/list toggle group. */
|
|
229
|
+
view: string;
|
|
230
|
+
/** Name of the chart-view toggle. */
|
|
231
|
+
chartView: string;
|
|
232
|
+
/** Name of the list-view toggle. */
|
|
233
|
+
listView: string;
|
|
234
|
+
/** Line under a list row naming the nodes it points at. */
|
|
235
|
+
connectsTo: (names: readonly string[]) => string;
|
|
236
|
+
/** Live-region announcement of the current scope. */
|
|
237
|
+
showing: (n: number, nText: string, scope: string) => string;
|
|
238
|
+
/** Live-region announcement while inside a cycle box. */
|
|
239
|
+
showingCycle: (n: number, nText: string, sizeText: string) => string;
|
|
240
|
+
};
|
|
241
|
+
graphExplorer: {
|
|
242
|
+
/** Live-region announcement of the whole explorer. */
|
|
243
|
+
showing: (n: number, nText: string, label: string) => string;
|
|
244
|
+
/** Name of the zoom-out button. */
|
|
245
|
+
zoomOut: string;
|
|
246
|
+
/** Name of the zoom-in button. */
|
|
247
|
+
zoomIn: string;
|
|
248
|
+
/** Name of the fit-everything button. */
|
|
249
|
+
fitAll: string;
|
|
250
|
+
/** Name of the button that flies back to the focused node. */
|
|
251
|
+
resetToFocus: string;
|
|
252
|
+
/** Name of the minimap's expand button. */
|
|
253
|
+
expand: string;
|
|
254
|
+
/** Accessible name of the minimap surface. */
|
|
255
|
+
minimap: (label: string) => string;
|
|
256
|
+
};
|
|
257
|
+
}
|
|
258
|
+
export declare const authProvenanceFlowsStrings: AuthProvenanceFlowsStrings;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import type { DragAnnouncementContext } from "../../dnd/announce";
|
|
2
|
+
export interface BoardStrings {
|
|
3
|
+
/** `<Board>` / `<BoardColumn>` / the per-card move menu. */
|
|
4
|
+
board: {
|
|
5
|
+
/** Badge text when a column or lane is at/over its work-in-progress limit: `count` and `limit` are already locale-formatted. */
|
|
6
|
+
wipCount: (count: string, limit: string) => string;
|
|
7
|
+
/** Card menu item moving the card to the top of its own column (unless `reorderLabels` words it). */
|
|
8
|
+
moveToTop: string;
|
|
9
|
+
/** Card menu item moving the card to the bottom of its own column (unless `reorderLabels` words it). */
|
|
10
|
+
moveToBottom: string;
|
|
11
|
+
/** Title of a column's built-in empty state. */
|
|
12
|
+
emptyTitle: string;
|
|
13
|
+
/** Description of a column's built-in empty state. */
|
|
14
|
+
emptyDescription: string;
|
|
15
|
+
/** Accessible name of the card's "move" menu trigger, for the card called `name`. */
|
|
16
|
+
moveCard: (name: string) => string;
|
|
17
|
+
/** Card menu item moving the card to the lane called `label`. */
|
|
18
|
+
moveToColumn: (label: string) => string;
|
|
19
|
+
/** Card menu text when the card has nowhere to go. */
|
|
20
|
+
nothingToMove: string;
|
|
21
|
+
};
|
|
22
|
+
/** `<KanbanBoard>`. */
|
|
23
|
+
kanban: {
|
|
24
|
+
/** Text of an empty lane when neither the lane nor the board supplies one. */
|
|
25
|
+
empty: string;
|
|
26
|
+
/** Live-region announcement that a drop was refused: the card `name` and the consumer's `reason`. */
|
|
27
|
+
notMoved: (name: string, reason: string) => string;
|
|
28
|
+
/** Accessible name of the lock button that explains why a lane refuses drops. */
|
|
29
|
+
whyRefused: (lane: string) => string;
|
|
30
|
+
};
|
|
31
|
+
/** The drag-and-drop engine's screen-reader grammar (`<DragDrop>`, `<DragInstructions>`, `<DragLiveRegion>`). */
|
|
32
|
+
dragDrop: {
|
|
33
|
+
/** The paragraph every drag handle's `aria-describedby` points at. */
|
|
34
|
+
instructions: string;
|
|
35
|
+
/** Live-region message when a keyboard or pointer drag picks an item up. */
|
|
36
|
+
picked: (c: DragAnnouncementContext) => string;
|
|
37
|
+
/** Live-region message when the carried item moves to another position. */
|
|
38
|
+
moved: (c: DragAnnouncementContext) => string;
|
|
39
|
+
/** Live-region message when the item is dropped. */
|
|
40
|
+
dropped: (c: DragAnnouncementContext) => string;
|
|
41
|
+
/** `moved`, for an item held over a container that takes it as a whole: no position is spoken. */
|
|
42
|
+
movedToLane: (c: DragAnnouncementContext) => string;
|
|
43
|
+
/** `dropped`, for an item released over such a container. */
|
|
44
|
+
droppedInLane: (c: DragAnnouncementContext) => string;
|
|
45
|
+
/** Live-region message when a drag is cancelled; describes the item's ORIGINAL position. */
|
|
46
|
+
cancelled: (c: DragAnnouncementContext) => string;
|
|
47
|
+
/** Accessible name of a drag handle that has no `label`, for the item called `item`. */
|
|
48
|
+
reorder: (item: string) => string;
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
export declare const boardStrings: BoardStrings;
|
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
export interface ChatChartStrings {
|
|
2
|
+
chart: {
|
|
3
|
+
/** The folded remainder row of `BarList`, `ShareBar` and `TimeSeriesChart`: the row, legend entry and table header for everything past the cap. */
|
|
4
|
+
other: string;
|
|
5
|
+
barList: {
|
|
6
|
+
/** `BarList` "Other" row, the quiet line under its label: how many rows were folded into it. */
|
|
7
|
+
moreCount: (countText: string) => string;
|
|
8
|
+
/** `BarList` visually hidden table, first column header. */
|
|
9
|
+
columnItem: string;
|
|
10
|
+
/** `BarList` visually hidden table, second column header. */
|
|
11
|
+
columnValue: string;
|
|
12
|
+
/** `BarList` visually hidden table, third column header. */
|
|
13
|
+
columnNote: string;
|
|
14
|
+
};
|
|
15
|
+
shareBar: {
|
|
16
|
+
/** `ShareBar` segment: accessible name of one focusable segment (label, formatted value, formatted share). */
|
|
17
|
+
segment: (label: string, value: string, share: string) => string;
|
|
18
|
+
/** `ShareBar` visually hidden table, first column header. */
|
|
19
|
+
columnSegment: string;
|
|
20
|
+
/** `ShareBar` visually hidden table, second column header. */
|
|
21
|
+
columnValue: string;
|
|
22
|
+
/** `ShareBar` visually hidden table, third column header. */
|
|
23
|
+
columnShare: string;
|
|
24
|
+
};
|
|
25
|
+
timeSeriesChart: {
|
|
26
|
+
/** `TimeSeriesChart` placeholder shown when there is nothing to draw (unless the caller passes `emptyLabel`). */
|
|
27
|
+
empty: string;
|
|
28
|
+
/** `TimeSeriesChart` text over the axis when every value is zero (unless the caller passes `zeroLabel`). */
|
|
29
|
+
zero: string;
|
|
30
|
+
/** `TimeSeriesChart` text over the axis when the viewer has hidden every series from the legend. */
|
|
31
|
+
allHidden: string;
|
|
32
|
+
/** `TimeSeriesChart` tooltip, last line of a bucket: the formatted total. */
|
|
33
|
+
total: (value: string) => string;
|
|
34
|
+
/** `TimeSeriesChart` visually hidden table, last column header. */
|
|
35
|
+
columnTotal: string;
|
|
36
|
+
/** `TimeSeriesChart` accessible name of the plot group (the chart's own label, then the keyboard hint). */
|
|
37
|
+
plot: (label: string) => string;
|
|
38
|
+
/** `TimeSeriesChart` accessible name of one bucket: its time, each series as "label value", then the total. */
|
|
39
|
+
bucket: (when: string, parts: readonly string[], total: string) => string;
|
|
40
|
+
/** `TimeSeriesChart` bucket accessible name, one series' part: the series label and its formatted value. */
|
|
41
|
+
bucketPart: (label: string, value: string) => string;
|
|
42
|
+
/** `TimeSeriesChart` legend list accessible name. */
|
|
43
|
+
legend: string;
|
|
44
|
+
/** `TimeSeriesChart` legend toggle button accessible name for one series. */
|
|
45
|
+
showSeries: (label: string) => string;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
chat: {
|
|
49
|
+
attachment: {
|
|
50
|
+
/** `Attachment` caption of a file whose upload failed and carries no error text. */
|
|
51
|
+
failed: string;
|
|
52
|
+
/** `Attachment` caption of a file uploading with no known progress. */
|
|
53
|
+
uploading: string;
|
|
54
|
+
/** `Attachment` download button name and tooltip. */
|
|
55
|
+
download: (fileName: string) => string;
|
|
56
|
+
/** `Attachment` remove button name and tooltip. */
|
|
57
|
+
remove: (fileName: string) => string;
|
|
58
|
+
/** `Attachment` full-card preview button accessible name. */
|
|
59
|
+
preview: (fileName: string) => string;
|
|
60
|
+
/** `AttachmentList` overflow tile past `max`: how many files are not shown. */
|
|
61
|
+
more: (countText: string) => string;
|
|
62
|
+
};
|
|
63
|
+
chat: {
|
|
64
|
+
/** `Chat` empty transcript title. */
|
|
65
|
+
emptyTitle: string;
|
|
66
|
+
/** `Chat` empty transcript description. */
|
|
67
|
+
emptyDescription: string;
|
|
68
|
+
/** `ChatPopover` default floating trigger button accessible name. */
|
|
69
|
+
open: string;
|
|
70
|
+
};
|
|
71
|
+
composer: {
|
|
72
|
+
/** `Composer` textarea placeholder and accessible name (unless the caller passes `placeholder`). */
|
|
73
|
+
placeholder: string;
|
|
74
|
+
/** `Composer` paperclip button name and tooltip. */
|
|
75
|
+
attach: string;
|
|
76
|
+
/** `Composer` stop button name and tooltip, shown while streaming. */
|
|
77
|
+
stop: string;
|
|
78
|
+
/** `Composer` send button accessible name. */
|
|
79
|
+
send: string;
|
|
80
|
+
/** `Composer` overlay while files are dragged over it. */
|
|
81
|
+
dropToAttach: string;
|
|
82
|
+
};
|
|
83
|
+
contextMeter: {
|
|
84
|
+
/** `ContextMeter` panel heading. */
|
|
85
|
+
title: string;
|
|
86
|
+
/** `ContextMeter` breakdown row for the unused part of the window. */
|
|
87
|
+
free: string;
|
|
88
|
+
/** `ContextMeter` used / capacity (percent) line; every argument is already formatted. */
|
|
89
|
+
summary: (used: string, capacity: string, percent: string) => string;
|
|
90
|
+
/** `ContextMeter` trigger button accessible name; the argument is the formatted summary. */
|
|
91
|
+
triggerLabel: (summary: string) => string;
|
|
92
|
+
/** `ContextMeter` trigger ring accessible name. */
|
|
93
|
+
dialLabel: string;
|
|
94
|
+
};
|
|
95
|
+
effortControl: {
|
|
96
|
+
/** `EffortControl` panel heading and slider accessible name. */
|
|
97
|
+
title: string;
|
|
98
|
+
/** `EffortControl` help button accessible name. */
|
|
99
|
+
help: string;
|
|
100
|
+
/** `EffortControl` slider caption under the low end. */
|
|
101
|
+
faster: string;
|
|
102
|
+
/** `EffortControl` slider caption under the high end. */
|
|
103
|
+
smarter: string;
|
|
104
|
+
/** `EffortControl` trigger button accessible name; the argument is the current level's label. */
|
|
105
|
+
triggerLabel: (level: string) => string;
|
|
106
|
+
/** `EffortControl` built-in scale (used when the caller passes no `levels`): the level label and the one-line trade shown under the slider. */
|
|
107
|
+
levels: {
|
|
108
|
+
minimal: {
|
|
109
|
+
label: string;
|
|
110
|
+
description: string;
|
|
111
|
+
};
|
|
112
|
+
low: {
|
|
113
|
+
label: string;
|
|
114
|
+
description: string;
|
|
115
|
+
};
|
|
116
|
+
medium: {
|
|
117
|
+
label: string;
|
|
118
|
+
description: string;
|
|
119
|
+
};
|
|
120
|
+
high: {
|
|
121
|
+
label: string;
|
|
122
|
+
description: string;
|
|
123
|
+
};
|
|
124
|
+
max: {
|
|
125
|
+
label: string;
|
|
126
|
+
description: string;
|
|
127
|
+
};
|
|
128
|
+
};
|
|
129
|
+
};
|
|
130
|
+
message: {
|
|
131
|
+
/** `Message` reasoning row label while the model is still thinking (unless the part carries a label). */
|
|
132
|
+
thinking: string;
|
|
133
|
+
/** `Message` reasoning row label once the model is done (unless the part carries a label). */
|
|
134
|
+
thought: string;
|
|
135
|
+
/** `Message` tool call output region accessible name; the argument is the tool name. */
|
|
136
|
+
toolOutput: (toolName: string) => string;
|
|
137
|
+
/** `Message` placeholder for a part nothing can draw: the bold lead-in. */
|
|
138
|
+
unrenderable: string;
|
|
139
|
+
/** `Message` placeholder reason when a component part names no registered component. */
|
|
140
|
+
unregisteredComponent: string;
|
|
141
|
+
/** `Message` placeholder reason when a part has a type nothing knows. */
|
|
142
|
+
unknownPart: string;
|
|
143
|
+
/** `Message` avatar name when the author has none. */
|
|
144
|
+
assistant: string;
|
|
145
|
+
/** `Message` copy button name and tooltip. */
|
|
146
|
+
copy: string;
|
|
147
|
+
/** `Message` copy button name and tooltip for the moment after a successful copy. */
|
|
148
|
+
copied: string;
|
|
149
|
+
};
|
|
150
|
+
messageScroller: {
|
|
151
|
+
/** `MessageScroller` return-to-newest button (unless the caller passes `jumpLabel`). */
|
|
152
|
+
jumpToLatest: string;
|
|
153
|
+
};
|
|
154
|
+
modelSelector: {
|
|
155
|
+
/** `ModelSelector` trigger accessible name; the argument is the current model's name. */
|
|
156
|
+
triggerLabel: (modelName: string) => string;
|
|
157
|
+
/** `ModelSelector` menu group heading for the primary models. */
|
|
158
|
+
models: string;
|
|
159
|
+
/** `ModelSelector` menu group heading, and the row that reveals it, for the secondary models. */
|
|
160
|
+
moreModels: string;
|
|
161
|
+
};
|
|
162
|
+
};
|
|
163
|
+
}
|
|
164
|
+
export declare const chatChartStrings: ChatChartStrings;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
export interface CodeEditorStrings {
|
|
2
|
+
/** `<CodeEditor>` and its toolbar, caption, expand control and keyboard hint. */
|
|
3
|
+
codeEditor: {
|
|
4
|
+
/** Accessible name of a read-only code region with no `label` or filename. */
|
|
5
|
+
readOnlyLabel: string;
|
|
6
|
+
/** Accessible name of an editable code region with no `label` or filename. */
|
|
7
|
+
editableLabel: string;
|
|
8
|
+
/** Expand button text while a long read-only block is expanded. */
|
|
9
|
+
collapse: string;
|
|
10
|
+
/** Expand button text while a long read-only block is collapsed, for `lineCount` lines. */
|
|
11
|
+
showAllLines: (n: number, nText: string) => string;
|
|
12
|
+
/** Toolbar caption when there is neither a filename nor a language. */
|
|
13
|
+
captionFallback: string;
|
|
14
|
+
/** Copy button tooltip while idle. */
|
|
15
|
+
copy: string;
|
|
16
|
+
/** Copy button tooltip and name once the code is copied. */
|
|
17
|
+
copied: string;
|
|
18
|
+
/** Copy button accessible name while idle. */
|
|
19
|
+
copyCode: string;
|
|
20
|
+
/** Wrap toggle tooltip while wrapping is on. */
|
|
21
|
+
stopWrapping: string;
|
|
22
|
+
/** Wrap toggle tooltip while wrapping is off. */
|
|
23
|
+
wrapLongLines: string;
|
|
24
|
+
/** Wrap toggle accessible name. */
|
|
25
|
+
softWrap: string;
|
|
26
|
+
/** Accessible name of the Source / Preview / Split switch. */
|
|
27
|
+
view: string;
|
|
28
|
+
/** Name and tooltip of each view in that switch. */
|
|
29
|
+
views: {
|
|
30
|
+
source: string;
|
|
31
|
+
rendered: string;
|
|
32
|
+
split: string;
|
|
33
|
+
};
|
|
34
|
+
/** Footer hint while Tab leaves the editor (after Escape). */
|
|
35
|
+
tabLeavesHint: string;
|
|
36
|
+
/** Footer hint while Tab indents. */
|
|
37
|
+
tabIndentsHint: string;
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
export declare const codeEditorStrings: CodeEditorStrings;
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import type { PaletteKey } from "../../calendar/types";
|
|
2
|
+
export interface DatesStrings {
|
|
3
|
+
dateField: {
|
|
4
|
+
/** Placeholder of the typeable date box: the shape a person types. */
|
|
5
|
+
/** Placeholder of the date box. The catalog supplies the hint for the provider locale ("DD.MM.YYYY" for de-DE): it must match the order and separator `formatDate` prints for that locale. */
|
|
6
|
+
placeholder: string;
|
|
7
|
+
/** Sentence under the box when the typed text is not a date. */
|
|
8
|
+
invalidMessage: string;
|
|
9
|
+
/** Accessible name of the calendar popover opened beside the box, given the box's own name. */
|
|
10
|
+
calendarOf: (name: string) => string;
|
|
11
|
+
/** Accessible name of the button that opens the calendar beside the box. */
|
|
12
|
+
chooseFromCalendar: string;
|
|
13
|
+
/** Tooltip on the calendar button while the box is disabled. */
|
|
14
|
+
locked: string;
|
|
15
|
+
/** Accessible name of the date half of a date-time field, given the field's own name. */
|
|
16
|
+
dateOf: (name: string) => string;
|
|
17
|
+
/** Accessible name of the time half of a date-time field, given the field's own name. */
|
|
18
|
+
timeOf: (name: string) => string;
|
|
19
|
+
};
|
|
20
|
+
dateCalendar: {
|
|
21
|
+
/** Column headings of the month grid, which starts on Monday. */
|
|
22
|
+
/** Accessible name of the button that pages the calendar back one month. */
|
|
23
|
+
previousMonth: string;
|
|
24
|
+
/** Accessible name of the button that pages the calendar forward one month. */
|
|
25
|
+
nextMonth: string;
|
|
26
|
+
/** Footer button that jumps to and picks today. */
|
|
27
|
+
today: string;
|
|
28
|
+
/** Footer button that clears the chosen date or range. */
|
|
29
|
+
clear: string;
|
|
30
|
+
};
|
|
31
|
+
datePicker: {
|
|
32
|
+
/** Trigger text of a DatePicker with nothing chosen. */
|
|
33
|
+
placeholder: string;
|
|
34
|
+
/** Trigger text for a complete chosen range: both ends, already formatted. */
|
|
35
|
+
range: (from: string, to: string) => string;
|
|
36
|
+
/** Trigger text while a range has only its start chosen. */
|
|
37
|
+
rangeOpen: (from: string) => string;
|
|
38
|
+
};
|
|
39
|
+
calendar: {
|
|
40
|
+
/** Spoken colour name of each calendar swatch, so colour is never the only cue on an event. */
|
|
41
|
+
colors: Record<PaletteKey, string>;
|
|
42
|
+
/** Accessible name of a day cell: the long date, then how many events it holds. */
|
|
43
|
+
cellLabel: (eventCount: number, eventCountText: string, date: string) => string;
|
|
44
|
+
/** Range of an all-day event on a single day. */
|
|
45
|
+
allDayOn: (day: string) => string;
|
|
46
|
+
/** Range of an all-day event over several days. */
|
|
47
|
+
allDayRange: (from: string, to: string) => string;
|
|
48
|
+
/** Range of a timed event that starts and ends on the same day. */
|
|
49
|
+
timedRange: (from: string, to: string) => string;
|
|
50
|
+
/** Range of a timed event that ends on a later day. */
|
|
51
|
+
timedRangeUntil: (from: string, to: string, endDay: string) => string;
|
|
52
|
+
/** Live-region text for an event picked up with the keyboard. */
|
|
53
|
+
grabbed: (title: string) => string;
|
|
54
|
+
/** Live-region text for a keyboard move abandoned with Escape. */
|
|
55
|
+
returned: (title: string) => string;
|
|
56
|
+
/** Live-region text for a keyboard grab dropped without moving. */
|
|
57
|
+
droppedInPlace: (title: string) => string;
|
|
58
|
+
/** Live-region text for a keyboard move that committed. */
|
|
59
|
+
moved: (title: string) => string;
|
|
60
|
+
/** Live-region text when Escape abandons a pointer drag. */
|
|
61
|
+
moveCancelled: string;
|
|
62
|
+
month: {
|
|
63
|
+
/** Default accessible name of the month grid. */
|
|
64
|
+
label: string;
|
|
65
|
+
/** Text of the overflow button in a day cell. */
|
|
66
|
+
more: (hiddenText: string) => string;
|
|
67
|
+
/** Accessible name of that overflow button, given the cell's own label. */
|
|
68
|
+
showMore: (hidden: number, hiddenText: string, cell: string) => string;
|
|
69
|
+
/** Screen-reader-only keyboard instructions under the month grid. */
|
|
70
|
+
keyboardHint: string;
|
|
71
|
+
};
|
|
72
|
+
timeGrid: {
|
|
73
|
+
/** Default accessible name of the time grid. */
|
|
74
|
+
label: string;
|
|
75
|
+
/** Heading of the all-day row. */
|
|
76
|
+
allDay: string;
|
|
77
|
+
/** Accessible name of a day column's event list, given the long date. */
|
|
78
|
+
eventsOn: (date: string) => string;
|
|
79
|
+
};
|
|
80
|
+
actions: {
|
|
81
|
+
/** Label of the day picker in the event action menu. */
|
|
82
|
+
moveTo: string;
|
|
83
|
+
/** Accessible name of the day picker. */
|
|
84
|
+
day: string;
|
|
85
|
+
/** Label of the start-time picker. */
|
|
86
|
+
startAt: string;
|
|
87
|
+
/** Accessible name of the start-time picker. */
|
|
88
|
+
startTime: string;
|
|
89
|
+
/** Label of the duration picker. */
|
|
90
|
+
lasting: string;
|
|
91
|
+
/** Accessible name of the duration picker. */
|
|
92
|
+
duration: string;
|
|
93
|
+
/** One duration choice split into whole `hours` and leftover `minutes`, each with its locale-formatted text (the same pair shape as `relativeAge.daysHoursAgo`). */
|
|
94
|
+
minutes: (hours: number, hoursText: string, minutes: number, minutesText: string) => string;
|
|
95
|
+
/** Button that closes the action menu without changing the event. */
|
|
96
|
+
cancel: string;
|
|
97
|
+
/** Button that applies the chosen day, start and duration. */
|
|
98
|
+
apply: string;
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
}
|
|
102
|
+
export declare const datesStrings: DatesStrings;
|
|
103
|
+
export type CalendarStrings = DatesStrings["calendar"];
|