@worldresources/wri-design-systems 2.188.0 → 2.190.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.cjs.js +316 -292
- package/dist/index.d.ts +431 -37
- package/dist/index.esm.js +316 -292
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -106,6 +106,321 @@ type TextInputLabels = {
|
|
|
106
106
|
*/
|
|
107
107
|
optionalSuffix: ReactNodeLabel;
|
|
108
108
|
};
|
|
109
|
+
/** Labels for CloseButton internal UI strings. */
|
|
110
|
+
type CloseButtonLabels = {
|
|
111
|
+
/** Fallback aria-label when none is provided via props. Default: "Close" */
|
|
112
|
+
closeLabel: string;
|
|
113
|
+
};
|
|
114
|
+
/** Labels for Toast internal UI strings. */
|
|
115
|
+
type ToastLabels = {
|
|
116
|
+
/** aria-label on the dismiss button. Default: "Dismiss" */
|
|
117
|
+
dismissLabel: string;
|
|
118
|
+
};
|
|
119
|
+
/** Labels for InlineMessage internal UI strings. */
|
|
120
|
+
type InlineMessageLabels = {
|
|
121
|
+
/** aria-roledescription on the root element. Default: "Note" */
|
|
122
|
+
roleDescription: string;
|
|
123
|
+
};
|
|
124
|
+
/** Labels for MapPopUp internal UI strings. */
|
|
125
|
+
type MapPopUpLabels = {
|
|
126
|
+
/** aria-label on the close button. Default: "Close" */
|
|
127
|
+
closeLabel: string;
|
|
128
|
+
};
|
|
129
|
+
/** Labels for AnalysisWidget internal UI strings. */
|
|
130
|
+
type AnalysisWidgetLabels = {
|
|
131
|
+
/** aria-label on the collapsible section trigger. Default: "Toggle section" */
|
|
132
|
+
toggleSectionLabel: string;
|
|
133
|
+
};
|
|
134
|
+
/** Labels for Table internal UI strings. */
|
|
135
|
+
type TableLabels = {
|
|
136
|
+
/** aria-label on the ascending sort icon button. Default: "Ascending" */
|
|
137
|
+
ascendingLabel: string;
|
|
138
|
+
/** aria-label on the descending sort icon button. Default: "Descending" */
|
|
139
|
+
descendingLabel: string;
|
|
140
|
+
};
|
|
141
|
+
/** Labels for Button internal UI strings. */
|
|
142
|
+
type ButtonLabels = {
|
|
143
|
+
/** aria-label applied to the button during loading state. Default: "Loading" */
|
|
144
|
+
loadingLabel: string;
|
|
145
|
+
};
|
|
146
|
+
/** Labels for BaseMap internal UI strings. */
|
|
147
|
+
type BaseMapLabels = {
|
|
148
|
+
/**
|
|
149
|
+
* Visible label text inside the active Tag badge.
|
|
150
|
+
* Passed directly to Tag.label (string).
|
|
151
|
+
* Default: "Active"
|
|
152
|
+
*/
|
|
153
|
+
activeLabel: string;
|
|
154
|
+
};
|
|
155
|
+
/** Labels for Search internal UI strings. */
|
|
156
|
+
type SearchLabels = {
|
|
157
|
+
/** placeholder attribute on the filter input. Default: "Filter" */
|
|
158
|
+
filterPlaceholder: string;
|
|
159
|
+
/** aria-label on the filter input. Default: "Search filter" */
|
|
160
|
+
filterAriaLabel: string;
|
|
161
|
+
};
|
|
162
|
+
/** Labels for RadioList internal UI strings. */
|
|
163
|
+
type RadioListLabels = {
|
|
164
|
+
/** " Required." appended to the group aria-label. Default: "Required." */
|
|
165
|
+
requiredLabel: string;
|
|
166
|
+
/** " Optional." appended to the group aria-label. Default: "Optional." */
|
|
167
|
+
optionalLabel: string;
|
|
168
|
+
/** "Error:" prefix prepended to error in group aria-label. Default: "Error:" */
|
|
169
|
+
errorPrefix: string;
|
|
170
|
+
/** aria-label on the required (*) indicator. Default: "required" */
|
|
171
|
+
requiredSymbolLabel: string;
|
|
172
|
+
};
|
|
173
|
+
/** Labels for Select internal UI strings. */
|
|
174
|
+
type SelectLabels = {
|
|
175
|
+
/** Fallback aria-label when no label prop is provided. Default: "Select input" */
|
|
176
|
+
defaultAriaLabel: string;
|
|
177
|
+
/** " required." appended to aria-label when required. Default: " required." */
|
|
178
|
+
requiredSuffix: string;
|
|
179
|
+
/** " Disabled." appended to aria-label when disabled. Default: " Disabled." */
|
|
180
|
+
disabledSuffix: string;
|
|
181
|
+
};
|
|
182
|
+
/** Labels for NavigationRail internal UI strings. */
|
|
183
|
+
type NavigationRailLabels = {
|
|
184
|
+
/**
|
|
185
|
+
* Visible toggle button text when sidebar is hidden.
|
|
186
|
+
* Rendered as JSX child — accepts ReactNode.
|
|
187
|
+
* Default: "Show"
|
|
188
|
+
*/
|
|
189
|
+
showLabel: ReactNodeLabel;
|
|
190
|
+
/**
|
|
191
|
+
* Visible toggle button text when sidebar is visible.
|
|
192
|
+
* Rendered as JSX child — accepts ReactNode.
|
|
193
|
+
* Default: "Hide"
|
|
194
|
+
*/
|
|
195
|
+
hideLabel: ReactNodeLabel;
|
|
196
|
+
/**
|
|
197
|
+
* Visible sidebar text label.
|
|
198
|
+
* Rendered as JSX child — accepts ReactNode.
|
|
199
|
+
* Default: "Sidebar"
|
|
200
|
+
*/
|
|
201
|
+
sidebarLabel: ReactNodeLabel;
|
|
202
|
+
};
|
|
203
|
+
/** Labels for Navbar internal UI strings. */
|
|
204
|
+
type NavbarLabels = {
|
|
205
|
+
/** aria-label on the hamburger/open-menu button. Default: "Open menu" */
|
|
206
|
+
openMenuLabel: string;
|
|
207
|
+
/**
|
|
208
|
+
* Visible button text for the close state of the hamburger toggle.
|
|
209
|
+
* Rendered as JSX child — accepts ReactNode.
|
|
210
|
+
* Default: "Close"
|
|
211
|
+
*/
|
|
212
|
+
closeLabel: ReactNodeLabel;
|
|
213
|
+
/**
|
|
214
|
+
* Visible button text for the menu state of the hamburger toggle.
|
|
215
|
+
* Rendered as JSX child — accepts ReactNode.
|
|
216
|
+
* Default: "Menu"
|
|
217
|
+
*/
|
|
218
|
+
menuLabel: ReactNodeLabel;
|
|
219
|
+
/** aria-label on the back button in NavbarMobile. Default: "Go back" */
|
|
220
|
+
goBackLabel: string;
|
|
221
|
+
/** aria-label on the close button in NavbarMobile submenu. Default: "Close menu" */
|
|
222
|
+
closeMenuLabel: string;
|
|
223
|
+
/**
|
|
224
|
+
* Visible "Close" text inside the mobile close button.
|
|
225
|
+
* Rendered as JSX child — accepts ReactNode.
|
|
226
|
+
* Default: "Close"
|
|
227
|
+
*/
|
|
228
|
+
closeButtonText: ReactNodeLabel;
|
|
229
|
+
};
|
|
230
|
+
/** Labels for LegendItem internal UI strings. */
|
|
231
|
+
type LegendItemLabels = {
|
|
232
|
+
/** aria-label on the drag handle icon button. Default: "Drag and drop" */
|
|
233
|
+
dragAndDropLabel: string;
|
|
234
|
+
/** aria-label on the move-up icon button. Default: "Up" */
|
|
235
|
+
upLabel: string;
|
|
236
|
+
/** aria-label on the move-down icon button. Default: "Down" */
|
|
237
|
+
downLabel: string;
|
|
238
|
+
/**
|
|
239
|
+
* Visible text on the remove button.
|
|
240
|
+
* Passed directly to Button.label (string).
|
|
241
|
+
* Default: "Remove"
|
|
242
|
+
*/
|
|
243
|
+
removeLabel: string;
|
|
244
|
+
/**
|
|
245
|
+
* Visible text on the info/about-data button.
|
|
246
|
+
* Passed directly to Button.label (string).
|
|
247
|
+
* Default: "About data"
|
|
248
|
+
*/
|
|
249
|
+
aboutDataLabel: string;
|
|
250
|
+
};
|
|
251
|
+
/** Labels for Toolbar internal UI strings. */
|
|
252
|
+
type ToolbarLabels = {
|
|
253
|
+
/**
|
|
254
|
+
* Visible text on the collapse toggle button.
|
|
255
|
+
* Rendered as JSX child — accepts ReactNode.
|
|
256
|
+
* Default: "Collapse"
|
|
257
|
+
*/
|
|
258
|
+
collapseLabel: ReactNodeLabel;
|
|
259
|
+
/**
|
|
260
|
+
* Visible text on the expand toggle button.
|
|
261
|
+
* Rendered as JSX child — accepts ReactNode.
|
|
262
|
+
* Default: "Expand"
|
|
263
|
+
*/
|
|
264
|
+
expandLabel: ReactNodeLabel;
|
|
265
|
+
/** aria-label on the collapse toggle button. Must be string. Default: "Collapse" */
|
|
266
|
+
collapseAriaLabel: string;
|
|
267
|
+
/** aria-label on the expand toggle button. Must be string. Default: "Expand" */
|
|
268
|
+
expandAriaLabel: string;
|
|
269
|
+
};
|
|
270
|
+
/** Labels for OpacityControl internal UI strings. */
|
|
271
|
+
type OpacityControlLabels = {
|
|
272
|
+
/** Button.label prop — must be string. Default: "Opacity" */
|
|
273
|
+
opacityButtonLabel: string;
|
|
274
|
+
/**
|
|
275
|
+
* Visible heading in the popover.
|
|
276
|
+
* Rendered as JSX child — accepts ReactNode.
|
|
277
|
+
* Default: "Opacity"
|
|
278
|
+
*/
|
|
279
|
+
opacityHeading: ReactNodeLabel;
|
|
280
|
+
/** aria-label on the slider/input. Default: "Opacity" */
|
|
281
|
+
opacityAriaLabel: string;
|
|
282
|
+
/**
|
|
283
|
+
* Visible "%" suffix next to the value.
|
|
284
|
+
* Rendered as JSX child — accepts ReactNode.
|
|
285
|
+
* Default: "%"
|
|
286
|
+
*/
|
|
287
|
+
percentSuffix: ReactNodeLabel;
|
|
288
|
+
};
|
|
289
|
+
/** Labels for Textarea internal UI strings. */
|
|
290
|
+
type TextareaLabels = {
|
|
291
|
+
/** aria-label on the required (*) indicator. Default: "required" */
|
|
292
|
+
requiredSymbolLabel: string;
|
|
293
|
+
/**
|
|
294
|
+
* Visible "(Optional)" suffix appended to the label.
|
|
295
|
+
* Rendered as JSX child — accepts ReactNode.
|
|
296
|
+
* Default: " (Optional)"
|
|
297
|
+
*/
|
|
298
|
+
optionalSuffix: ReactNodeLabel;
|
|
299
|
+
/** "Error:" prefix in aria-label of error text. Default: "Error:" */
|
|
300
|
+
errorPrefix: string;
|
|
301
|
+
/** Helper text: "Enter at least {n} characters". Default fn provided. */
|
|
302
|
+
enterAtLeastChars: (n: number) => string;
|
|
303
|
+
/** Helper text: "{n} characters minimum". Default fn provided. */
|
|
304
|
+
minChars: (n: number) => string;
|
|
305
|
+
/** Helper text: "{n} characters remaining". Default fn provided. */
|
|
306
|
+
charsRemaining: (n: number) => string;
|
|
307
|
+
/** Helper text: "Max {n} characters". Default fn provided. */
|
|
308
|
+
maxChars: (n: number) => string;
|
|
309
|
+
/** Error text when too few chars: "Need {n} more characters". Default fn provided. */
|
|
310
|
+
needMoreChars: (n: number) => string;
|
|
311
|
+
/** Error text when too many chars: "{n} characters too many". Default fn provided. */
|
|
312
|
+
tooManyChars: (n: number) => string;
|
|
313
|
+
};
|
|
314
|
+
/** Labels for Pagination internal UI strings. */
|
|
315
|
+
type PaginationLabels = {
|
|
316
|
+
/**
|
|
317
|
+
* Visible "Previous" button text.
|
|
318
|
+
* Passed directly to Button.label (string).
|
|
319
|
+
* Default: "Previous"
|
|
320
|
+
*/
|
|
321
|
+
previousLabel: string;
|
|
322
|
+
/**
|
|
323
|
+
* Visible "Next" button text.
|
|
324
|
+
* Passed directly to Button.label (string).
|
|
325
|
+
* Default: "Next"
|
|
326
|
+
*/
|
|
327
|
+
nextLabel: string;
|
|
328
|
+
/** aria-label on the previous icon button. Default: "Previous page" */
|
|
329
|
+
previousPageLabel: string;
|
|
330
|
+
/** aria-label on the next icon button. Default: "Next page" */
|
|
331
|
+
nextPageLabel: string;
|
|
332
|
+
/** aria-label on the nav container. Default: "Pagination" */
|
|
333
|
+
paginationLabel: string;
|
|
334
|
+
/** aria-label per page button, e.g. "Page 3". Default fn provided. */
|
|
335
|
+
pageLabel: (page: number) => string;
|
|
336
|
+
};
|
|
337
|
+
/** Labels for ItemCount internal UI strings. */
|
|
338
|
+
type ItemCountLabels = {
|
|
339
|
+
/**
|
|
340
|
+
* Visible "Per Page" label text.
|
|
341
|
+
* Rendered as JSX child — accepts ReactNode.
|
|
342
|
+
* Default: "Per Page"
|
|
343
|
+
*/
|
|
344
|
+
perPageLabel: ReactNodeLabel;
|
|
345
|
+
/**
|
|
346
|
+
* Visible "Showing X-Y of Z" text.
|
|
347
|
+
* Rendered as JSX child — accepts ReactNode.
|
|
348
|
+
* Default fn provided.
|
|
349
|
+
*/
|
|
350
|
+
showingLabel: (start: number, end: number, total: number) => ReactNode;
|
|
351
|
+
};
|
|
352
|
+
/** Labels for LayerGroup internal UI strings. */
|
|
353
|
+
type LayerGroupLabels = {
|
|
354
|
+
/**
|
|
355
|
+
* Visible Tag label: "{count} Active".
|
|
356
|
+
* Passed directly to Tag.label (string) — must return string.
|
|
357
|
+
* Default fn provided.
|
|
358
|
+
*/
|
|
359
|
+
activeTagLabel: (count: number) => string;
|
|
360
|
+
/** Full aria-label builder for the group container. Default fn provided. */
|
|
361
|
+
groupAriaLabel: (label: string, activeCount: number, caption?: string) => string;
|
|
362
|
+
};
|
|
363
|
+
/** Labels for QualitativeAttribute internal UI strings. */
|
|
364
|
+
type QualitativeAttributeLabels = {
|
|
365
|
+
/**
|
|
366
|
+
* Visible "Hide" button text.
|
|
367
|
+
* Rendered as JSX child — accepts ReactNode.
|
|
368
|
+
* Default: "Hide"
|
|
369
|
+
*/
|
|
370
|
+
hideLabel: ReactNodeLabel;
|
|
371
|
+
/**
|
|
372
|
+
* Visible "Show" button text.
|
|
373
|
+
* Rendered as JSX child — accepts ReactNode.
|
|
374
|
+
* Default: "Show"
|
|
375
|
+
*/
|
|
376
|
+
showLabel: ReactNodeLabel;
|
|
377
|
+
/** "visible" — used inside aria-label. Default: "visible" */
|
|
378
|
+
visibleText: string;
|
|
379
|
+
/** "hidden" — used inside aria-label. Default: "hidden" */
|
|
380
|
+
hiddenText: string;
|
|
381
|
+
/** "line," — type prefix in aria-label. Default: "line," */
|
|
382
|
+
linePrefix: string;
|
|
383
|
+
/** Full aria-label builder. Default fn provided. */
|
|
384
|
+
currentlyTemplate: (label: string, caption: string | undefined, typeText: string, visibilityText: string) => string;
|
|
385
|
+
};
|
|
386
|
+
/** Labels for MapControlsToolbar internal UI strings. */
|
|
387
|
+
type MapControlsToolbarLabels = {
|
|
388
|
+
/** Default: "Zoom in" */
|
|
389
|
+
zoomInLabel: string;
|
|
390
|
+
/** Default: "Zoom out" */
|
|
391
|
+
zoomOutLabel: string;
|
|
392
|
+
/** Default: "Expand" */
|
|
393
|
+
expandLabel: string;
|
|
394
|
+
/** Default: "Share" */
|
|
395
|
+
shareLabel: string;
|
|
396
|
+
/** Default: "Print" */
|
|
397
|
+
printLabel: string;
|
|
398
|
+
/** Default: "Settings" */
|
|
399
|
+
settingsLabel: string;
|
|
400
|
+
/** Default: "Help" */
|
|
401
|
+
helpLabel: string;
|
|
402
|
+
/** Default: "Zoom in" */
|
|
403
|
+
zoomInAriaLabel: string;
|
|
404
|
+
/** Default: "Zoom out" */
|
|
405
|
+
zoomOutAriaLabel: string;
|
|
406
|
+
/** Default: "Expand" */
|
|
407
|
+
expandAriaLabel: string;
|
|
408
|
+
/** Default: "Share" */
|
|
409
|
+
shareAriaLabel: string;
|
|
410
|
+
/** Default: "Print" */
|
|
411
|
+
printAriaLabel: string;
|
|
412
|
+
/** Default: "Settings" */
|
|
413
|
+
settingsAriaLabel: string;
|
|
414
|
+
/** Default: "Help" */
|
|
415
|
+
helpAriaLabel: string;
|
|
416
|
+
/** Default: "Map controls" */
|
|
417
|
+
toolbarAriaLabel: string;
|
|
418
|
+
};
|
|
419
|
+
/** Labels for StepProgressIndicator internal UI strings. */
|
|
420
|
+
type StepProgressIndicatorLabels = {
|
|
421
|
+
/** Builds the aria-label per step. Default fn provided. */
|
|
422
|
+
currentStepLabel: (step: number, label: string, isCompleted: boolean) => string;
|
|
423
|
+
};
|
|
109
424
|
/**
|
|
110
425
|
* Top-level labels map for the design system.
|
|
111
426
|
* Consumers can provide partial overrides for any component via
|
|
@@ -117,6 +432,29 @@ type DesignSystemLabels = {
|
|
|
117
432
|
CheckboxList?: Partial<CheckboxListLabels>;
|
|
118
433
|
Password?: Partial<PasswordLabels>;
|
|
119
434
|
TextInput?: Partial<TextInputLabels>;
|
|
435
|
+
CloseButton?: Partial<CloseButtonLabels>;
|
|
436
|
+
Toast?: Partial<ToastLabels>;
|
|
437
|
+
InlineMessage?: Partial<InlineMessageLabels>;
|
|
438
|
+
MapPopUp?: Partial<MapPopUpLabels>;
|
|
439
|
+
AnalysisWidget?: Partial<AnalysisWidgetLabels>;
|
|
440
|
+
Table?: Partial<TableLabels>;
|
|
441
|
+
Button?: Partial<ButtonLabels>;
|
|
442
|
+
BaseMap?: Partial<BaseMapLabels>;
|
|
443
|
+
Search?: Partial<SearchLabels>;
|
|
444
|
+
RadioList?: Partial<RadioListLabels>;
|
|
445
|
+
Select?: Partial<SelectLabels>;
|
|
446
|
+
NavigationRail?: Partial<NavigationRailLabels>;
|
|
447
|
+
Navbar?: Partial<NavbarLabels>;
|
|
448
|
+
LegendItem?: Partial<LegendItemLabels>;
|
|
449
|
+
Toolbar?: Partial<ToolbarLabels>;
|
|
450
|
+
OpacityControl?: Partial<OpacityControlLabels>;
|
|
451
|
+
Textarea?: Partial<TextareaLabels>;
|
|
452
|
+
Pagination?: Partial<PaginationLabels>;
|
|
453
|
+
ItemCount?: Partial<ItemCountLabels>;
|
|
454
|
+
LayerGroup?: Partial<LayerGroupLabels>;
|
|
455
|
+
QualitativeAttribute?: Partial<QualitativeAttributeLabels>;
|
|
456
|
+
MapControlsToolbar?: Partial<MapControlsToolbarLabels>;
|
|
457
|
+
StepProgressIndicator?: Partial<StepProgressIndicatorLabels>;
|
|
120
458
|
};
|
|
121
459
|
|
|
122
460
|
type DesignSystemLocaleProviderProps = {
|
|
@@ -140,6 +478,19 @@ type DesignSystemLocaleProviderProps = {
|
|
|
140
478
|
*/
|
|
141
479
|
declare const DesignSystemLocaleProvider: ({ labels, children, }: DesignSystemLocaleProviderProps) => react_jsx_runtime.JSX.Element;
|
|
142
480
|
|
|
481
|
+
type ButtonProps = Omit<ButtonProps$1, 'size' | 'variant' | 'colorPalette' | 'children'> & {
|
|
482
|
+
label?: string;
|
|
483
|
+
loading?: boolean;
|
|
484
|
+
variant?: 'primary' | 'secondary' | 'borderless' | 'outline';
|
|
485
|
+
size?: 'default' | 'small';
|
|
486
|
+
disabled?: boolean;
|
|
487
|
+
leftIcon?: React__default.ReactNode;
|
|
488
|
+
rightIcon?: React__default.ReactNode;
|
|
489
|
+
children?: React__default.ReactNode;
|
|
490
|
+
/** Override internal UI labels for internationalization support. */
|
|
491
|
+
labels?: Partial<ButtonLabels>;
|
|
492
|
+
};
|
|
493
|
+
|
|
143
494
|
/** @jsxImportSource @emotion/react */
|
|
144
495
|
declare const Button: React$1.ForwardRefExoticComponent<Omit<_chakra_ui_react.ButtonProps, "children" | "size" | "variant" | "colorPalette"> & {
|
|
145
496
|
label?: string;
|
|
@@ -150,6 +501,7 @@ declare const Button: React$1.ForwardRefExoticComponent<Omit<_chakra_ui_react.Bu
|
|
|
150
501
|
leftIcon?: React.ReactNode;
|
|
151
502
|
rightIcon?: React.ReactNode;
|
|
152
503
|
children?: React.ReactNode;
|
|
504
|
+
labels?: Partial<ButtonLabels>;
|
|
153
505
|
} & React$1.RefAttributes<HTMLButtonElement>>;
|
|
154
506
|
|
|
155
507
|
type GenericSSOButtonsProps = {
|
|
@@ -166,9 +518,11 @@ declare const SSOButtons: {
|
|
|
166
518
|
|
|
167
519
|
type CloseButtonProps = Omit<ButtonProps$1, 'size' | 'variant' | 'colorPalette' | 'children' | '_loading'> & {
|
|
168
520
|
disabled?: boolean;
|
|
521
|
+
/** Override internal UI labels for internationalization support. */
|
|
522
|
+
labels?: Partial<CloseButtonLabels>;
|
|
169
523
|
};
|
|
170
524
|
|
|
171
|
-
declare const CloseButton: ({ disabled, ...rest }: CloseButtonProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
525
|
+
declare const CloseButton: ({ disabled, labels, ...rest }: CloseButtonProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
172
526
|
|
|
173
527
|
type IconButtonProps = Omit<ButtonProps$1, 'size' | 'variant' | 'colorPalette' | 'children' | '_loading'> & {
|
|
174
528
|
icon: React__default.ReactNode;
|
|
@@ -194,9 +548,11 @@ interface ToolbarProps {
|
|
|
194
548
|
ariaLabel?: string;
|
|
195
549
|
defaultGaps?: boolean;
|
|
196
550
|
autoCollapse?: boolean;
|
|
551
|
+
/** Override internal UI labels for internationalization support. */
|
|
552
|
+
labels?: Partial<ToolbarLabels>;
|
|
197
553
|
}
|
|
198
554
|
|
|
199
|
-
declare const Toolbar: ({ items, vertical, expanded, showExpandedToggle, autoCollapse, ariaLabel, defaultGaps, }: ToolbarProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
555
|
+
declare const Toolbar: ({ items, vertical, expanded, showExpandedToggle, autoCollapse, ariaLabel, defaultGaps, labels, }: ToolbarProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
200
556
|
|
|
201
557
|
type MapControlsToolbarProps = {
|
|
202
558
|
onZoomInClick?: () => void;
|
|
@@ -210,8 +566,10 @@ type MapControlsToolbarProps = {
|
|
|
210
566
|
expanded?: boolean;
|
|
211
567
|
showExpandedToggle?: boolean;
|
|
212
568
|
ariaLabel?: string;
|
|
569
|
+
/** Override internal UI labels for internationalization support. */
|
|
570
|
+
labels?: Partial<MapControlsToolbarLabels>;
|
|
213
571
|
};
|
|
214
|
-
declare const MapControlsToolbar: ({ onZoomInClick, onZoomOutClick, onExpandClick, onShareClick, onPrintClick, onSettingsClick, onQuestionClick, vertical, expanded, showExpandedToggle, ariaLabel, }: MapControlsToolbarProps) => react_jsx_runtime.JSX.Element;
|
|
572
|
+
declare const MapControlsToolbar: ({ onZoomInClick, onZoomOutClick, onExpandClick, onShareClick, onPrintClick, onSettingsClick, onQuestionClick, vertical, expanded, showExpandedToggle, ariaLabel, labels, }: MapControlsToolbarProps) => react_jsx_runtime.JSX.Element;
|
|
215
573
|
|
|
216
574
|
type MenuItemProps = {
|
|
217
575
|
label?: string;
|
|
@@ -229,6 +587,7 @@ type MenuItemProps = {
|
|
|
229
587
|
type MenuProps = {
|
|
230
588
|
theme?: 'light' | 'dark';
|
|
231
589
|
label: string;
|
|
590
|
+
fontSize?: string;
|
|
232
591
|
items?: MenuItemProps[];
|
|
233
592
|
groups?: {
|
|
234
593
|
title: string;
|
|
@@ -238,7 +597,7 @@ type MenuProps = {
|
|
|
238
597
|
customTrigger?: React.ReactNode;
|
|
239
598
|
};
|
|
240
599
|
|
|
241
|
-
declare const Menu: ({ theme, label, items, groups, onSelect, customTrigger, }: MenuProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
600
|
+
declare const Menu: ({ theme, label, fontSize, items, groups, onSelect, customTrigger, }: MenuProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
242
601
|
|
|
243
602
|
type MultiActionButtonProps = Omit<ButtonProps$1, 'size' | 'variant' | 'colorPalette' | 'children'> & {
|
|
244
603
|
variant?: 'primary' | 'secondary';
|
|
@@ -269,6 +628,14 @@ type TooltipProps = {
|
|
|
269
628
|
|
|
270
629
|
declare const Tooltip: ({ children, content, showArrow, disabled, position, variant, portalRef, openDelay, closeDelay, }: TooltipProps) => string | number | bigint | boolean | Iterable<React$1.ReactNode> | Promise<string | number | bigint | boolean | React$1.ReactPortal | React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>> | Iterable<React$1.ReactNode> | null | undefined> | _emotion_react_jsx_runtime.JSX.Element | null | undefined;
|
|
271
630
|
|
|
631
|
+
type FormContainerProps = {
|
|
632
|
+
label?: ReactNode;
|
|
633
|
+
error?: string;
|
|
634
|
+
children: ReactNode;
|
|
635
|
+
};
|
|
636
|
+
|
|
637
|
+
declare const FormContainer: ({ label, error, children }: FormContainerProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
638
|
+
|
|
272
639
|
type CheckboxProps = Omit<Checkbox$1.RootProps, 'size' | 'variant' | 'colorPalette' | 'icon' | 'iconColor' | 'iconSize' | 'spacing' | 'invalid'> & {
|
|
273
640
|
name?: string;
|
|
274
641
|
value?: string;
|
|
@@ -448,9 +815,11 @@ type RadioListProps = {
|
|
|
448
815
|
horizontal?: boolean;
|
|
449
816
|
required?: boolean;
|
|
450
817
|
variant?: 'default' | 'card';
|
|
818
|
+
/** Override internal UI labels for internationalization support. */
|
|
819
|
+
labels?: Partial<RadioListLabels>;
|
|
451
820
|
};
|
|
452
821
|
|
|
453
|
-
declare const RadioList: ({ label, caption, name, radios, defaultValue, onCheckedChange, errorMessage, horizontal, variant, required, }: RadioListProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
822
|
+
declare const RadioList: ({ label, caption, name, radios, defaultValue, onCheckedChange, errorMessage, horizontal, variant, required, labels, }: RadioListProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
454
823
|
|
|
455
824
|
type SelectItemProps = {
|
|
456
825
|
label: string;
|
|
@@ -469,9 +838,11 @@ type SelectProps = Omit<SelectRootProps, 'collection' | 'size' | 'colorPalette'
|
|
|
469
838
|
onChange?: (value: string[]) => void;
|
|
470
839
|
errorMessage?: string;
|
|
471
840
|
multiple?: boolean;
|
|
841
|
+
/** Override internal UI labels for internationalization support. */
|
|
842
|
+
labels?: Partial<SelectLabels>;
|
|
472
843
|
};
|
|
473
844
|
|
|
474
|
-
declare const Select: ({ label, caption, placeholder, items, size, required, disabled, onChange, errorMessage, multiple, ...rest }: SelectProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
845
|
+
declare const Select: ({ label, caption, placeholder, items, size, required, disabled, onChange, errorMessage, multiple, labels, ...rest }: SelectProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
475
846
|
|
|
476
847
|
type ValueChangeDetails = {
|
|
477
848
|
value: number[];
|
|
@@ -515,9 +886,11 @@ type TextareaProps = Omit<TextareaProps$1, 'size' | 'variant' | 'colorPalette' |
|
|
|
515
886
|
onChange?: (e: React.ChangeEvent<HTMLInputElement>) => void;
|
|
516
887
|
minLength?: number;
|
|
517
888
|
maxLength?: number;
|
|
889
|
+
/** Override internal UI labels for internationalization support. */
|
|
890
|
+
labels?: Partial<TextareaLabels>;
|
|
518
891
|
};
|
|
519
892
|
|
|
520
|
-
declare const Textarea: ({ label, caption, placeholder, errorMessage, required, disabled, size, defaultValue, onChange, minLength, maxLength, ...rest }: TextareaProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
893
|
+
declare const Textarea: ({ label, caption, placeholder, errorMessage, required, disabled, size, defaultValue, onChange, minLength, maxLength, labels, ...rest }: TextareaProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
521
894
|
|
|
522
895
|
type TextInputProps = Omit<InputProps, 'size' | 'variant' | 'colorPalette' | 'defaultChecked'> & {
|
|
523
896
|
label?: string;
|
|
@@ -572,9 +945,11 @@ type BaseMapProps = {
|
|
|
572
945
|
onOptionSelected?: (option: BaseMapOptionProps) => void;
|
|
573
946
|
maxHeight?: string;
|
|
574
947
|
maxWidth?: string;
|
|
948
|
+
/** Override internal UI labels for internationalization support. */
|
|
949
|
+
labels?: Partial<BaseMapLabels>;
|
|
575
950
|
};
|
|
576
951
|
|
|
577
|
-
declare const BaseMap: ({ title, caption, additionalSettings, options, onOptionSelected, maxHeight, maxWidth, }: BaseMapProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
952
|
+
declare const BaseMap: ({ title, caption, additionalSettings, options, onOptionSelected, maxHeight, maxWidth, labels, }: BaseMapProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
578
953
|
|
|
579
954
|
type MapMarkerProps = {
|
|
580
955
|
ariaLabel?: string;
|
|
@@ -626,9 +1001,11 @@ type MapPopUpProps = {
|
|
|
626
1001
|
offset?: number;
|
|
627
1002
|
closeOnEscape?: boolean;
|
|
628
1003
|
closeOnOutsideClick?: boolean;
|
|
1004
|
+
/** Override internal UI labels for internationalization support. */
|
|
1005
|
+
labels?: Partial<MapPopUpLabels>;
|
|
629
1006
|
};
|
|
630
1007
|
|
|
631
|
-
declare const MapPopUp: ({ open, onOpenChange, anchorRef, header, content, footer, placement, offset, closeOnEscape, closeOnOutsideClick, }: MapPopUpProps) => _emotion_react_jsx_runtime.JSX.Element | null;
|
|
1008
|
+
declare const MapPopUp: ({ open, onOpenChange, anchorRef, header, content, footer, placement, offset, closeOnEscape, closeOnOutsideClick, labels, }: MapPopUpProps) => _emotion_react_jsx_runtime.JSX.Element | null;
|
|
632
1009
|
|
|
633
1010
|
type LayerItemProps = {
|
|
634
1011
|
name: string;
|
|
@@ -652,9 +1029,11 @@ type LayerGroupProps = {
|
|
|
652
1029
|
value: string;
|
|
653
1030
|
layerItems: LayerItemProps[];
|
|
654
1031
|
onChangeForRadioVariant?: (name: string, checked: boolean, selectedValue?: string) => void;
|
|
1032
|
+
/** Override internal UI labels for internationalization support. */
|
|
1033
|
+
labels?: Partial<LayerGroupLabels>;
|
|
655
1034
|
};
|
|
656
1035
|
|
|
657
|
-
declare const LayerGroup: ({ label, caption, value, layerItems, onChangeForRadioVariant, }: LayerGroupProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1036
|
+
declare const LayerGroup: ({ label, caption, value, layerItems, onChangeForRadioVariant, labels, }: LayerGroupProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
658
1037
|
|
|
659
1038
|
declare const LayerGroupContainer: ({ children, defaultValue, ...rest }: LayerGroupContainerProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
660
1039
|
|
|
@@ -678,9 +1057,11 @@ type LegendItemProps = {
|
|
|
678
1057
|
children: React.ReactNode;
|
|
679
1058
|
onInfoClick: VoidFunction;
|
|
680
1059
|
onOpacityChanged: (value: number) => void;
|
|
1060
|
+
/** Override internal UI labels for internationalization support. */
|
|
1061
|
+
labels?: Partial<LegendItemLabels>;
|
|
681
1062
|
};
|
|
682
1063
|
|
|
683
|
-
declare const LegendItem: ({ layerName, dataUnit, onDrag, onUpClick, onDownClick, onRemoveClick, children, onInfoClick, onOpacityChanged, }: LegendItemProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1064
|
+
declare const LegendItem: ({ layerName, dataUnit, onDrag, onUpClick, onDownClick, onRemoveClick, children, onInfoClick, onOpacityChanged, labels, }: LegendItemProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
684
1065
|
|
|
685
1066
|
type QualitativeAttributeProps = {
|
|
686
1067
|
type: 'raster' | 'line' | 'point';
|
|
@@ -691,9 +1072,11 @@ type QualitativeAttributeProps = {
|
|
|
691
1072
|
onActionClick?: () => void;
|
|
692
1073
|
pointIcon?: React.ReactNode;
|
|
693
1074
|
ariaLabelType?: string;
|
|
1075
|
+
/** Override internal UI labels for internationalization support. */
|
|
1076
|
+
labels?: Partial<QualitativeAttributeLabels>;
|
|
694
1077
|
};
|
|
695
1078
|
|
|
696
|
-
declare const QualitativeAttribute: ({ type, label, caption, color, onActionClick, showActionButton, pointIcon, ariaLabelType, }: QualitativeAttributeProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1079
|
+
declare const QualitativeAttribute: ({ type, label, caption, color, onActionClick, showActionButton, pointIcon, ariaLabelType, labels, }: QualitativeAttributeProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
697
1080
|
|
|
698
1081
|
type ScaleBarProps = {
|
|
699
1082
|
colors: string[];
|
|
@@ -710,9 +1093,11 @@ type ItemCountProps = {
|
|
|
710
1093
|
totalItems: number;
|
|
711
1094
|
onPageSizeChange?: (pageSize: number) => void;
|
|
712
1095
|
showItemCountText?: boolean;
|
|
1096
|
+
/** Override internal UI labels for internationalization support. */
|
|
1097
|
+
labels?: Partial<ItemCountLabels>;
|
|
713
1098
|
};
|
|
714
1099
|
|
|
715
|
-
declare const ItemCount: ({ pageSize, currentPage, totalItems, onPageSizeChange, showItemCountText, }: ItemCountProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1100
|
+
declare const ItemCount: ({ pageSize, currentPage, totalItems, onPageSizeChange, showItemCountText, labels, }: ItemCountProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
716
1101
|
|
|
717
1102
|
type ListItemVariant = 'data' | 'navigation' | 'select';
|
|
718
1103
|
interface ListItemProps {
|
|
@@ -764,9 +1149,11 @@ type TableProps = {
|
|
|
764
1149
|
onPageChange?: (page: number) => void;
|
|
765
1150
|
onAllItemsSelected?: (checked: boolean) => void;
|
|
766
1151
|
loading?: boolean;
|
|
1152
|
+
/** Override internal UI labels for internationalization support. */
|
|
1153
|
+
labels?: Partial<TableLabels>;
|
|
767
1154
|
};
|
|
768
1155
|
|
|
769
|
-
declare const Table: ({ columns, data, renderRow, striped, stickyHeader, pagination, selectable, selectedRows, variant, onSortColumn, onPageSizeChange, onPageChange, onAllItemsSelected, loading, }: TableProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1156
|
+
declare const Table: ({ columns, data, renderRow, striped, stickyHeader, pagination, selectable, selectedRows, variant, onSortColumn, onPageSizeChange, onPageChange, onAllItemsSelected, loading, labels, }: TableProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
770
1157
|
|
|
771
1158
|
declare const TableRow: React__default.ForwardRefExoticComponent<Table$1.RowProps & React__default.RefAttributes<HTMLTableRowElement>>;
|
|
772
1159
|
declare const TableCell: React__default.ForwardRefExoticComponent<Table$1.CellProps & React__default.RefAttributes<HTMLTableCellElement>>;
|
|
@@ -787,6 +1174,8 @@ interface AnalysisWidgetProps {
|
|
|
787
1174
|
collapsible?: boolean;
|
|
788
1175
|
actions?: AnalysisWidgetActionsProps[];
|
|
789
1176
|
showFooterOnCollapsed?: boolean;
|
|
1177
|
+
/** Override internal UI labels for internationalization support. */
|
|
1178
|
+
labels?: Partial<AnalysisWidgetLabels>;
|
|
790
1179
|
}
|
|
791
1180
|
interface AnalysisWidgetActionsProps {
|
|
792
1181
|
label: string;
|
|
@@ -794,7 +1183,7 @@ interface AnalysisWidgetActionsProps {
|
|
|
794
1183
|
icon?: React__default.ReactNode;
|
|
795
1184
|
}
|
|
796
1185
|
|
|
797
|
-
declare const AnalysisWidget: ({ children, header, footer, expanded, collapsible, actions, showFooterOnCollapsed, }: AnalysisWidgetProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1186
|
+
declare const AnalysisWidget: ({ children, header, footer, expanded, collapsible, actions, showFooterOnCollapsed, labels, }: AnalysisWidgetProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
798
1187
|
|
|
799
1188
|
type ModalProps = {
|
|
800
1189
|
header: React.ReactNode;
|
|
@@ -882,17 +1271,6 @@ type MobileTabBarProps = {
|
|
|
882
1271
|
|
|
883
1272
|
declare const MobileTabBar: ({ defaultValue, tabs, onTabClick, hideLabels, activationMode, }: MobileTabBarProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
884
1273
|
|
|
885
|
-
type ButtonProps = Omit<ButtonProps$1, 'size' | 'variant' | 'colorPalette' | 'children'> & {
|
|
886
|
-
label?: string;
|
|
887
|
-
loading?: boolean;
|
|
888
|
-
variant?: 'primary' | 'secondary' | 'borderless' | 'outline';
|
|
889
|
-
size?: 'default' | 'small';
|
|
890
|
-
disabled?: boolean;
|
|
891
|
-
leftIcon?: React__default.ReactNode;
|
|
892
|
-
rightIcon?: React__default.ReactNode;
|
|
893
|
-
children?: React__default.ReactNode;
|
|
894
|
-
};
|
|
895
|
-
|
|
896
1274
|
type NavbarNavigationItemsProps = {
|
|
897
1275
|
label: string;
|
|
898
1276
|
link?: string;
|
|
@@ -920,9 +1298,11 @@ type NavbarProps = {
|
|
|
920
1298
|
fixed?: boolean;
|
|
921
1299
|
onNavbarHeightChange?: (height: number) => void;
|
|
922
1300
|
backgroundColor?: string;
|
|
1301
|
+
/** Override internal UI labels for internationalization support. */
|
|
1302
|
+
labels?: Partial<NavbarLabels>;
|
|
923
1303
|
};
|
|
924
1304
|
|
|
925
|
-
declare const Navbar: ({ variant, theme, logo, linkRouter, pathname, navigationSection, utilitySection, actionsSection, maxWidth, fixed, onNavbarHeightChange, backgroundColor, }: NavbarProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1305
|
+
declare const Navbar: ({ variant, theme, logo, linkRouter, pathname, navigationSection, utilitySection, actionsSection, maxWidth, fixed, onNavbarHeightChange, backgroundColor, labels, }: NavbarProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
926
1306
|
|
|
927
1307
|
type NavigationRailTabProps = Omit<Tabs.TriggerProps, 'asChild'> & {
|
|
928
1308
|
label: string;
|
|
@@ -936,9 +1316,11 @@ type NavigationRailProps = {
|
|
|
936
1316
|
onTabClick?: (selectedValue: string) => void;
|
|
937
1317
|
children?: React.ReactNode;
|
|
938
1318
|
onOpenChange?: (open: boolean) => void;
|
|
1319
|
+
/** Override internal UI labels for internationalization support. */
|
|
1320
|
+
labels?: Partial<NavigationRailLabels>;
|
|
939
1321
|
};
|
|
940
1322
|
|
|
941
|
-
declare const NavigationRail: ({ tabs, defaultValue, onTabClick, children, onOpenChange, }: NavigationRailProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1323
|
+
declare const NavigationRail: ({ tabs, defaultValue, onTabClick, children, onOpenChange, labels, }: NavigationRailProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
942
1324
|
|
|
943
1325
|
type PaginationProps = {
|
|
944
1326
|
currentPage: number;
|
|
@@ -946,9 +1328,11 @@ type PaginationProps = {
|
|
|
946
1328
|
pageSize: number;
|
|
947
1329
|
variant?: 'default' | 'compact' | 'compact-with-buttons';
|
|
948
1330
|
onPageChange?: (page: number) => void;
|
|
1331
|
+
/** Override internal UI labels for internationalization support. */
|
|
1332
|
+
labels?: Partial<PaginationLabels>;
|
|
949
1333
|
};
|
|
950
1334
|
|
|
951
|
-
declare const Pagination: ({ totalItems, pageSize, currentPage, variant, onPageChange, }: PaginationProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1335
|
+
declare const Pagination: ({ totalItems, pageSize, currentPage, variant, onPageChange, labels, }: PaginationProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
952
1336
|
|
|
953
1337
|
type TabBarItemProps = Omit<Tabs.TriggerProps, 'asChild'> & {
|
|
954
1338
|
label: string;
|
|
@@ -984,9 +1368,11 @@ type SearchProps = Omit<InputProps, 'variant' | 'colorPalette' | 'defaultChecked
|
|
|
984
1368
|
query: string;
|
|
985
1369
|
onSelect: (id: string) => void;
|
|
986
1370
|
}) => React.ReactNode;
|
|
1371
|
+
/** Override internal UI labels for internationalization support. */
|
|
1372
|
+
labels?: Partial<SearchLabels>;
|
|
987
1373
|
};
|
|
988
1374
|
|
|
989
|
-
declare const Search: ({ placeholder, disabled, size, options, resultsMaxHeight, isLoading, displayResults, onSelect, onQueryChange, onClear, renderResults, }: SearchProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1375
|
+
declare const Search: ({ placeholder, disabled, size, options, resultsMaxHeight, isLoading, displayResults, onSelect, onQueryChange, onClear, renderResults, labels, }: SearchProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
990
1376
|
|
|
991
1377
|
type AvatarProps = {
|
|
992
1378
|
name: string;
|
|
@@ -1022,9 +1408,11 @@ type InlineMessageProps = {
|
|
|
1022
1408
|
isButtonRight?: boolean;
|
|
1023
1409
|
buttonLeftIcon?: React.ReactNode;
|
|
1024
1410
|
buttonRightIcon?: React.ReactNode;
|
|
1411
|
+
/** Override internal UI labels for internationalization support. */
|
|
1412
|
+
labels?: Partial<InlineMessageLabels>;
|
|
1025
1413
|
};
|
|
1026
1414
|
|
|
1027
|
-
declare const InlineMessage: ({ label, caption, variant, size, icon, onActionClick, actionLabel, isButtonRight, buttonLeftIcon, buttonRightIcon, }: InlineMessageProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1415
|
+
declare const InlineMessage: ({ label, caption, variant, size, icon, onActionClick, actionLabel, isButtonRight, buttonLeftIcon, buttonRightIcon, labels, }: InlineMessageProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1028
1416
|
|
|
1029
1417
|
interface AlertProps extends Omit<Alert.RootProps, 'title' | 'variant'> {
|
|
1030
1418
|
title?: React.ReactNode;
|
|
@@ -1049,13 +1437,11 @@ type StepProgressIndicatorProps = {
|
|
|
1049
1437
|
onClick?: () => void;
|
|
1050
1438
|
}[];
|
|
1051
1439
|
currentStep: number;
|
|
1440
|
+
/** Override internal UI labels for internationalization support. */
|
|
1441
|
+
labels?: Partial<StepProgressIndicatorLabels>;
|
|
1052
1442
|
};
|
|
1053
1443
|
|
|
1054
|
-
declare const StepProgressIndicator: ({ steps, currentStep, }: StepProgressIndicatorProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1055
|
-
|
|
1056
|
-
/** @jsxImportSource @emotion/react */
|
|
1057
|
-
|
|
1058
|
-
declare const Toast: React__default.FC;
|
|
1444
|
+
declare const StepProgressIndicator: ({ steps, currentStep, labels, }: StepProgressIndicatorProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1059
1445
|
|
|
1060
1446
|
type ToastProps = {
|
|
1061
1447
|
label: string;
|
|
@@ -1071,7 +1457,15 @@ type ToastProps = {
|
|
|
1071
1457
|
closable?: boolean;
|
|
1072
1458
|
closableLabel?: string;
|
|
1073
1459
|
};
|
|
1460
|
+
type ToastComponentProps = {
|
|
1461
|
+
/** Override internal UI labels for internationalization support. */
|
|
1462
|
+
labels?: Partial<ToastLabels>;
|
|
1463
|
+
};
|
|
1464
|
+
|
|
1465
|
+
/** @jsxImportSource @emotion/react */
|
|
1466
|
+
|
|
1467
|
+
declare const Toast: React__default.FC<ToastComponentProps>;
|
|
1074
1468
|
|
|
1075
1469
|
declare const showToast: (props: ToastProps) => void;
|
|
1076
1470
|
|
|
1077
|
-
export { AlertBanner, AnalysisWidget, Avatar, Badge, BaseMap, Breadcrumb, Button, Checkbox, CheckboxList, type CheckboxListLabels, CheckboxOptionCard, CloseButton, ClusterPoint, type DesignSystemLabels, DesignSystemLocaleProvider, type DesignSystemLocaleProviderProps, ExtendableCard, Footer, IconButton, InlineMessage, InputWithUnits, ItemCount, LayerGroup, LayerGroupContainer, LayerItem, LayerParameters, LegendItem, List, MapControlsToolbar, MapMarker, MapMarkers, MapPopUp, Menu, MobileTabBar, Modal, MultiActionButton, Navbar, NavigationRail, OptionCard, Pagination, Panel, Password, type PasswordLabels, ProgressBar, QualitativeAttribute, Radio, RadioGroup, RadioList, SSOButtons, ScaleBar, Search, Select, Sheet, SimpleMapPin, Slider, SliderInput, StepProgressIndicator, Switch, TabBar, Table, TableCell, TableRow, Tag, TextInput, type TextInputLabels, Textarea, Toast, Toolbar, Tooltip, designSystemStyles, designSystemStylesForTailwind, getThemedColor, showToast };
|
|
1471
|
+
export { AlertBanner, AnalysisWidget, type AnalysisWidgetLabels, Avatar, Badge, BaseMap, type BaseMapLabels, Breadcrumb, Button, type ButtonLabels, Checkbox, CheckboxList, type CheckboxListLabels, CheckboxOptionCard, CloseButton, type CloseButtonLabels, ClusterPoint, type DesignSystemLabels, DesignSystemLocaleProvider, type DesignSystemLocaleProviderProps, ExtendableCard, Footer, FormContainer, IconButton, InlineMessage, type InlineMessageLabels, InputWithUnits, ItemCount, type ItemCountLabels, LayerGroup, LayerGroupContainer, type LayerGroupLabels, LayerItem, LayerParameters, LegendItem, type LegendItemLabels, List, MapControlsToolbar, type MapControlsToolbarLabels, MapMarker, MapMarkers, MapPopUp, type MapPopUpLabels, Menu, MobileTabBar, Modal, MultiActionButton, Navbar, type NavbarLabels, NavigationRail, type NavigationRailLabels, type OpacityControlLabels, OptionCard, Pagination, type PaginationLabels, Panel, Password, type PasswordLabels, ProgressBar, QualitativeAttribute, type QualitativeAttributeLabels, Radio, RadioGroup, RadioList, type RadioListLabels, SSOButtons, ScaleBar, Search, type SearchLabels, Select, type SelectLabels, Sheet, SimpleMapPin, Slider, SliderInput, StepProgressIndicator, type StepProgressIndicatorLabels, Switch, TabBar, Table, TableCell, type TableLabels, TableRow, Tag, TextInput, type TextInputLabels, Textarea, type TextareaLabels, Toast, type ToastLabels, Toolbar, type ToolbarLabels, Tooltip, designSystemStyles, designSystemStylesForTailwind, getThemedColor, showToast };
|