@worldresources/wri-design-systems 2.189.0 → 2.191.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 +136 -134
- package/dist/index.d.ts +443 -37
- package/dist/index.esm.js +933 -931
- package/package.json +3 -2
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';
|
|
@@ -456,9 +815,11 @@ type RadioListProps = {
|
|
|
456
815
|
horizontal?: boolean;
|
|
457
816
|
required?: boolean;
|
|
458
817
|
variant?: 'default' | 'card';
|
|
818
|
+
/** Override internal UI labels for internationalization support. */
|
|
819
|
+
labels?: Partial<RadioListLabels>;
|
|
459
820
|
};
|
|
460
821
|
|
|
461
|
-
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;
|
|
462
823
|
|
|
463
824
|
type SelectItemProps = {
|
|
464
825
|
label: string;
|
|
@@ -477,9 +838,11 @@ type SelectProps = Omit<SelectRootProps, 'collection' | 'size' | 'colorPalette'
|
|
|
477
838
|
onChange?: (value: string[]) => void;
|
|
478
839
|
errorMessage?: string;
|
|
479
840
|
multiple?: boolean;
|
|
841
|
+
/** Override internal UI labels for internationalization support. */
|
|
842
|
+
labels?: Partial<SelectLabels>;
|
|
480
843
|
};
|
|
481
844
|
|
|
482
|
-
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;
|
|
483
846
|
|
|
484
847
|
type ValueChangeDetails = {
|
|
485
848
|
value: number[];
|
|
@@ -523,9 +886,11 @@ type TextareaProps = Omit<TextareaProps$1, 'size' | 'variant' | 'colorPalette' |
|
|
|
523
886
|
onChange?: (e: React.ChangeEvent<HTMLInputElement>) => void;
|
|
524
887
|
minLength?: number;
|
|
525
888
|
maxLength?: number;
|
|
889
|
+
/** Override internal UI labels for internationalization support. */
|
|
890
|
+
labels?: Partial<TextareaLabels>;
|
|
526
891
|
};
|
|
527
892
|
|
|
528
|
-
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;
|
|
529
894
|
|
|
530
895
|
type TextInputProps = Omit<InputProps, 'size' | 'variant' | 'colorPalette' | 'defaultChecked'> & {
|
|
531
896
|
label?: string;
|
|
@@ -544,6 +909,26 @@ type TextInputProps = Omit<InputProps, 'size' | 'variant' | 'colorPalette' | 'de
|
|
|
544
909
|
|
|
545
910
|
declare const TextInput: ({ label, caption, placeholder, errorMessage, required, disabled, size, noMarginBottom, defaultValue, onChange, labels, ...rest }: TextInputProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
546
911
|
|
|
912
|
+
type ComboboxProps = {
|
|
913
|
+
initialItems?: {
|
|
914
|
+
label: string;
|
|
915
|
+
value: string;
|
|
916
|
+
}[];
|
|
917
|
+
label?: string;
|
|
918
|
+
required?: boolean;
|
|
919
|
+
caption?: string;
|
|
920
|
+
errorMessage?: string;
|
|
921
|
+
size?: 'small' | 'default';
|
|
922
|
+
disabled?: boolean;
|
|
923
|
+
placeholder?: string;
|
|
924
|
+
labels?: Partial<TextInputLabels>;
|
|
925
|
+
noMarginBottom?: boolean;
|
|
926
|
+
multiple?: boolean;
|
|
927
|
+
showSelectedItems?: boolean;
|
|
928
|
+
};
|
|
929
|
+
|
|
930
|
+
declare const Combobox: ({ label, required, caption, errorMessage, size, disabled, placeholder, labels, noMarginBottom, initialItems, multiple, showSelectedItems, }: ComboboxProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
931
|
+
|
|
547
932
|
type TagProps = Omit<Tag$1.RootProps, 'size' | 'variant' | 'colorPalette' | 'children'> & {
|
|
548
933
|
label: string;
|
|
549
934
|
variant: 'info-white' | 'info-grey' | 'success' | 'warning' | 'error';
|
|
@@ -580,9 +965,11 @@ type BaseMapProps = {
|
|
|
580
965
|
onOptionSelected?: (option: BaseMapOptionProps) => void;
|
|
581
966
|
maxHeight?: string;
|
|
582
967
|
maxWidth?: string;
|
|
968
|
+
/** Override internal UI labels for internationalization support. */
|
|
969
|
+
labels?: Partial<BaseMapLabels>;
|
|
583
970
|
};
|
|
584
971
|
|
|
585
|
-
declare const BaseMap: ({ title, caption, additionalSettings, options, onOptionSelected, maxHeight, maxWidth, }: BaseMapProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
972
|
+
declare const BaseMap: ({ title, caption, additionalSettings, options, onOptionSelected, maxHeight, maxWidth, labels, }: BaseMapProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
586
973
|
|
|
587
974
|
type MapMarkerProps = {
|
|
588
975
|
ariaLabel?: string;
|
|
@@ -634,9 +1021,11 @@ type MapPopUpProps = {
|
|
|
634
1021
|
offset?: number;
|
|
635
1022
|
closeOnEscape?: boolean;
|
|
636
1023
|
closeOnOutsideClick?: boolean;
|
|
1024
|
+
/** Override internal UI labels for internationalization support. */
|
|
1025
|
+
labels?: Partial<MapPopUpLabels>;
|
|
637
1026
|
};
|
|
638
1027
|
|
|
639
|
-
declare const MapPopUp: ({ open, onOpenChange, anchorRef, header, content, footer, placement, offset, closeOnEscape, closeOnOutsideClick, }: MapPopUpProps) => _emotion_react_jsx_runtime.JSX.Element | null;
|
|
1028
|
+
declare const MapPopUp: ({ open, onOpenChange, anchorRef, header, content, footer, placement, offset, closeOnEscape, closeOnOutsideClick, labels, }: MapPopUpProps) => _emotion_react_jsx_runtime.JSX.Element | null;
|
|
640
1029
|
|
|
641
1030
|
type LayerItemProps = {
|
|
642
1031
|
name: string;
|
|
@@ -660,9 +1049,11 @@ type LayerGroupProps = {
|
|
|
660
1049
|
value: string;
|
|
661
1050
|
layerItems: LayerItemProps[];
|
|
662
1051
|
onChangeForRadioVariant?: (name: string, checked: boolean, selectedValue?: string) => void;
|
|
1052
|
+
/** Override internal UI labels for internationalization support. */
|
|
1053
|
+
labels?: Partial<LayerGroupLabels>;
|
|
663
1054
|
};
|
|
664
1055
|
|
|
665
|
-
declare const LayerGroup: ({ label, caption, value, layerItems, onChangeForRadioVariant, }: LayerGroupProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1056
|
+
declare const LayerGroup: ({ label, caption, value, layerItems, onChangeForRadioVariant, labels, }: LayerGroupProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
666
1057
|
|
|
667
1058
|
declare const LayerGroupContainer: ({ children, defaultValue, ...rest }: LayerGroupContainerProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
668
1059
|
|
|
@@ -686,9 +1077,11 @@ type LegendItemProps = {
|
|
|
686
1077
|
children: React.ReactNode;
|
|
687
1078
|
onInfoClick: VoidFunction;
|
|
688
1079
|
onOpacityChanged: (value: number) => void;
|
|
1080
|
+
/** Override internal UI labels for internationalization support. */
|
|
1081
|
+
labels?: Partial<LegendItemLabels>;
|
|
689
1082
|
};
|
|
690
1083
|
|
|
691
|
-
declare const LegendItem: ({ layerName, dataUnit, onDrag, onUpClick, onDownClick, onRemoveClick, children, onInfoClick, onOpacityChanged, }: LegendItemProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1084
|
+
declare const LegendItem: ({ layerName, dataUnit, onDrag, onUpClick, onDownClick, onRemoveClick, children, onInfoClick, onOpacityChanged, labels, }: LegendItemProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
692
1085
|
|
|
693
1086
|
type QualitativeAttributeProps = {
|
|
694
1087
|
type: 'raster' | 'line' | 'point';
|
|
@@ -699,9 +1092,11 @@ type QualitativeAttributeProps = {
|
|
|
699
1092
|
onActionClick?: () => void;
|
|
700
1093
|
pointIcon?: React.ReactNode;
|
|
701
1094
|
ariaLabelType?: string;
|
|
1095
|
+
/** Override internal UI labels for internationalization support. */
|
|
1096
|
+
labels?: Partial<QualitativeAttributeLabels>;
|
|
702
1097
|
};
|
|
703
1098
|
|
|
704
|
-
declare const QualitativeAttribute: ({ type, label, caption, color, onActionClick, showActionButton, pointIcon, ariaLabelType, }: QualitativeAttributeProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1099
|
+
declare const QualitativeAttribute: ({ type, label, caption, color, onActionClick, showActionButton, pointIcon, ariaLabelType, labels, }: QualitativeAttributeProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
705
1100
|
|
|
706
1101
|
type ScaleBarProps = {
|
|
707
1102
|
colors: string[];
|
|
@@ -718,9 +1113,11 @@ type ItemCountProps = {
|
|
|
718
1113
|
totalItems: number;
|
|
719
1114
|
onPageSizeChange?: (pageSize: number) => void;
|
|
720
1115
|
showItemCountText?: boolean;
|
|
1116
|
+
/** Override internal UI labels for internationalization support. */
|
|
1117
|
+
labels?: Partial<ItemCountLabels>;
|
|
721
1118
|
};
|
|
722
1119
|
|
|
723
|
-
declare const ItemCount: ({ pageSize, currentPage, totalItems, onPageSizeChange, showItemCountText, }: ItemCountProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1120
|
+
declare const ItemCount: ({ pageSize, currentPage, totalItems, onPageSizeChange, showItemCountText, labels, }: ItemCountProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
724
1121
|
|
|
725
1122
|
type ListItemVariant = 'data' | 'navigation' | 'select';
|
|
726
1123
|
interface ListItemProps {
|
|
@@ -772,9 +1169,11 @@ type TableProps = {
|
|
|
772
1169
|
onPageChange?: (page: number) => void;
|
|
773
1170
|
onAllItemsSelected?: (checked: boolean) => void;
|
|
774
1171
|
loading?: boolean;
|
|
1172
|
+
/** Override internal UI labels for internationalization support. */
|
|
1173
|
+
labels?: Partial<TableLabels>;
|
|
775
1174
|
};
|
|
776
1175
|
|
|
777
|
-
declare const Table: ({ columns, data, renderRow, striped, stickyHeader, pagination, selectable, selectedRows, variant, onSortColumn, onPageSizeChange, onPageChange, onAllItemsSelected, loading, }: TableProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1176
|
+
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;
|
|
778
1177
|
|
|
779
1178
|
declare const TableRow: React__default.ForwardRefExoticComponent<Table$1.RowProps & React__default.RefAttributes<HTMLTableRowElement>>;
|
|
780
1179
|
declare const TableCell: React__default.ForwardRefExoticComponent<Table$1.CellProps & React__default.RefAttributes<HTMLTableCellElement>>;
|
|
@@ -795,6 +1194,8 @@ interface AnalysisWidgetProps {
|
|
|
795
1194
|
collapsible?: boolean;
|
|
796
1195
|
actions?: AnalysisWidgetActionsProps[];
|
|
797
1196
|
showFooterOnCollapsed?: boolean;
|
|
1197
|
+
/** Override internal UI labels for internationalization support. */
|
|
1198
|
+
labels?: Partial<AnalysisWidgetLabels>;
|
|
798
1199
|
}
|
|
799
1200
|
interface AnalysisWidgetActionsProps {
|
|
800
1201
|
label: string;
|
|
@@ -802,7 +1203,7 @@ interface AnalysisWidgetActionsProps {
|
|
|
802
1203
|
icon?: React__default.ReactNode;
|
|
803
1204
|
}
|
|
804
1205
|
|
|
805
|
-
declare const AnalysisWidget: ({ children, header, footer, expanded, collapsible, actions, showFooterOnCollapsed, }: AnalysisWidgetProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1206
|
+
declare const AnalysisWidget: ({ children, header, footer, expanded, collapsible, actions, showFooterOnCollapsed, labels, }: AnalysisWidgetProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
806
1207
|
|
|
807
1208
|
type ModalProps = {
|
|
808
1209
|
header: React.ReactNode;
|
|
@@ -890,17 +1291,6 @@ type MobileTabBarProps = {
|
|
|
890
1291
|
|
|
891
1292
|
declare const MobileTabBar: ({ defaultValue, tabs, onTabClick, hideLabels, activationMode, }: MobileTabBarProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
892
1293
|
|
|
893
|
-
type ButtonProps = Omit<ButtonProps$1, 'size' | 'variant' | 'colorPalette' | 'children'> & {
|
|
894
|
-
label?: string;
|
|
895
|
-
loading?: boolean;
|
|
896
|
-
variant?: 'primary' | 'secondary' | 'borderless' | 'outline';
|
|
897
|
-
size?: 'default' | 'small';
|
|
898
|
-
disabled?: boolean;
|
|
899
|
-
leftIcon?: React__default.ReactNode;
|
|
900
|
-
rightIcon?: React__default.ReactNode;
|
|
901
|
-
children?: React__default.ReactNode;
|
|
902
|
-
};
|
|
903
|
-
|
|
904
1294
|
type NavbarNavigationItemsProps = {
|
|
905
1295
|
label: string;
|
|
906
1296
|
link?: string;
|
|
@@ -928,9 +1318,11 @@ type NavbarProps = {
|
|
|
928
1318
|
fixed?: boolean;
|
|
929
1319
|
onNavbarHeightChange?: (height: number) => void;
|
|
930
1320
|
backgroundColor?: string;
|
|
1321
|
+
/** Override internal UI labels for internationalization support. */
|
|
1322
|
+
labels?: Partial<NavbarLabels>;
|
|
931
1323
|
};
|
|
932
1324
|
|
|
933
|
-
declare const Navbar: ({ variant, theme, logo, linkRouter, pathname, navigationSection, utilitySection, actionsSection, maxWidth, fixed, onNavbarHeightChange, backgroundColor, }: NavbarProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1325
|
+
declare const Navbar: ({ variant, theme, logo, linkRouter, pathname, navigationSection, utilitySection, actionsSection, maxWidth, fixed, onNavbarHeightChange, backgroundColor, labels, }: NavbarProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
934
1326
|
|
|
935
1327
|
type NavigationRailTabProps = Omit<Tabs.TriggerProps, 'asChild'> & {
|
|
936
1328
|
label: string;
|
|
@@ -944,9 +1336,11 @@ type NavigationRailProps = {
|
|
|
944
1336
|
onTabClick?: (selectedValue: string) => void;
|
|
945
1337
|
children?: React.ReactNode;
|
|
946
1338
|
onOpenChange?: (open: boolean) => void;
|
|
1339
|
+
/** Override internal UI labels for internationalization support. */
|
|
1340
|
+
labels?: Partial<NavigationRailLabels>;
|
|
947
1341
|
};
|
|
948
1342
|
|
|
949
|
-
declare const NavigationRail: ({ tabs, defaultValue, onTabClick, children, onOpenChange, }: NavigationRailProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1343
|
+
declare const NavigationRail: ({ tabs, defaultValue, onTabClick, children, onOpenChange, labels, }: NavigationRailProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
950
1344
|
|
|
951
1345
|
type PaginationProps = {
|
|
952
1346
|
currentPage: number;
|
|
@@ -954,9 +1348,11 @@ type PaginationProps = {
|
|
|
954
1348
|
pageSize: number;
|
|
955
1349
|
variant?: 'default' | 'compact' | 'compact-with-buttons';
|
|
956
1350
|
onPageChange?: (page: number) => void;
|
|
1351
|
+
/** Override internal UI labels for internationalization support. */
|
|
1352
|
+
labels?: Partial<PaginationLabels>;
|
|
957
1353
|
};
|
|
958
1354
|
|
|
959
|
-
declare const Pagination: ({ totalItems, pageSize, currentPage, variant, onPageChange, }: PaginationProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1355
|
+
declare const Pagination: ({ totalItems, pageSize, currentPage, variant, onPageChange, labels, }: PaginationProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
960
1356
|
|
|
961
1357
|
type TabBarItemProps = Omit<Tabs.TriggerProps, 'asChild'> & {
|
|
962
1358
|
label: string;
|
|
@@ -992,9 +1388,11 @@ type SearchProps = Omit<InputProps, 'variant' | 'colorPalette' | 'defaultChecked
|
|
|
992
1388
|
query: string;
|
|
993
1389
|
onSelect: (id: string) => void;
|
|
994
1390
|
}) => React.ReactNode;
|
|
1391
|
+
/** Override internal UI labels for internationalization support. */
|
|
1392
|
+
labels?: Partial<SearchLabels>;
|
|
995
1393
|
};
|
|
996
1394
|
|
|
997
|
-
declare const Search: ({ placeholder, disabled, size, options, resultsMaxHeight, isLoading, displayResults, onSelect, onQueryChange, onClear, renderResults, }: SearchProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1395
|
+
declare const Search: ({ placeholder, disabled, size, options, resultsMaxHeight, isLoading, displayResults, onSelect, onQueryChange, onClear, renderResults, labels, }: SearchProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
998
1396
|
|
|
999
1397
|
type AvatarProps = {
|
|
1000
1398
|
name: string;
|
|
@@ -1030,9 +1428,11 @@ type InlineMessageProps = {
|
|
|
1030
1428
|
isButtonRight?: boolean;
|
|
1031
1429
|
buttonLeftIcon?: React.ReactNode;
|
|
1032
1430
|
buttonRightIcon?: React.ReactNode;
|
|
1431
|
+
/** Override internal UI labels for internationalization support. */
|
|
1432
|
+
labels?: Partial<InlineMessageLabels>;
|
|
1033
1433
|
};
|
|
1034
1434
|
|
|
1035
|
-
declare const InlineMessage: ({ label, caption, variant, size, icon, onActionClick, actionLabel, isButtonRight, buttonLeftIcon, buttonRightIcon, }: InlineMessageProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1435
|
+
declare const InlineMessage: ({ label, caption, variant, size, icon, onActionClick, actionLabel, isButtonRight, buttonLeftIcon, buttonRightIcon, labels, }: InlineMessageProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1036
1436
|
|
|
1037
1437
|
interface AlertProps extends Omit<Alert.RootProps, 'title' | 'variant'> {
|
|
1038
1438
|
title?: React.ReactNode;
|
|
@@ -1057,13 +1457,11 @@ type StepProgressIndicatorProps = {
|
|
|
1057
1457
|
onClick?: () => void;
|
|
1058
1458
|
}[];
|
|
1059
1459
|
currentStep: number;
|
|
1460
|
+
/** Override internal UI labels for internationalization support. */
|
|
1461
|
+
labels?: Partial<StepProgressIndicatorLabels>;
|
|
1060
1462
|
};
|
|
1061
1463
|
|
|
1062
|
-
declare const StepProgressIndicator: ({ steps, currentStep, }: StepProgressIndicatorProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1063
|
-
|
|
1064
|
-
/** @jsxImportSource @emotion/react */
|
|
1065
|
-
|
|
1066
|
-
declare const Toast: React__default.FC;
|
|
1464
|
+
declare const StepProgressIndicator: ({ steps, currentStep, labels, }: StepProgressIndicatorProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1067
1465
|
|
|
1068
1466
|
type ToastProps = {
|
|
1069
1467
|
label: string;
|
|
@@ -1079,7 +1477,15 @@ type ToastProps = {
|
|
|
1079
1477
|
closable?: boolean;
|
|
1080
1478
|
closableLabel?: string;
|
|
1081
1479
|
};
|
|
1480
|
+
type ToastComponentProps = {
|
|
1481
|
+
/** Override internal UI labels for internationalization support. */
|
|
1482
|
+
labels?: Partial<ToastLabels>;
|
|
1483
|
+
};
|
|
1484
|
+
|
|
1485
|
+
/** @jsxImportSource @emotion/react */
|
|
1486
|
+
|
|
1487
|
+
declare const Toast: React__default.FC<ToastComponentProps>;
|
|
1082
1488
|
|
|
1083
1489
|
declare const showToast: (props: ToastProps) => void;
|
|
1084
1490
|
|
|
1085
|
-
export { AlertBanner, AnalysisWidget, Avatar, Badge, BaseMap, Breadcrumb, Button, Checkbox, CheckboxList, type CheckboxListLabels, CheckboxOptionCard, CloseButton, ClusterPoint, type DesignSystemLabels, DesignSystemLocaleProvider, type DesignSystemLocaleProviderProps, ExtendableCard, Footer, FormContainer, 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 };
|
|
1491
|
+
export { AlertBanner, AnalysisWidget, type AnalysisWidgetLabels, Avatar, Badge, BaseMap, type BaseMapLabels, Breadcrumb, Button, type ButtonLabels, Checkbox, CheckboxList, type CheckboxListLabels, CheckboxOptionCard, CloseButton, type CloseButtonLabels, ClusterPoint, Combobox, 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 };
|