@worldresources/wri-design-systems 2.189.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.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;
@@ -580,9 +945,11 @@ type BaseMapProps = {
580
945
  onOptionSelected?: (option: BaseMapOptionProps) => void;
581
946
  maxHeight?: string;
582
947
  maxWidth?: string;
948
+ /** Override internal UI labels for internationalization support. */
949
+ labels?: Partial<BaseMapLabels>;
583
950
  };
584
951
 
585
- 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;
586
953
 
587
954
  type MapMarkerProps = {
588
955
  ariaLabel?: string;
@@ -634,9 +1001,11 @@ type MapPopUpProps = {
634
1001
  offset?: number;
635
1002
  closeOnEscape?: boolean;
636
1003
  closeOnOutsideClick?: boolean;
1004
+ /** Override internal UI labels for internationalization support. */
1005
+ labels?: Partial<MapPopUpLabels>;
637
1006
  };
638
1007
 
639
- 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;
640
1009
 
641
1010
  type LayerItemProps = {
642
1011
  name: string;
@@ -660,9 +1029,11 @@ type LayerGroupProps = {
660
1029
  value: string;
661
1030
  layerItems: LayerItemProps[];
662
1031
  onChangeForRadioVariant?: (name: string, checked: boolean, selectedValue?: string) => void;
1032
+ /** Override internal UI labels for internationalization support. */
1033
+ labels?: Partial<LayerGroupLabels>;
663
1034
  };
664
1035
 
665
- 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;
666
1037
 
667
1038
  declare const LayerGroupContainer: ({ children, defaultValue, ...rest }: LayerGroupContainerProps) => _emotion_react_jsx_runtime.JSX.Element;
668
1039
 
@@ -686,9 +1057,11 @@ type LegendItemProps = {
686
1057
  children: React.ReactNode;
687
1058
  onInfoClick: VoidFunction;
688
1059
  onOpacityChanged: (value: number) => void;
1060
+ /** Override internal UI labels for internationalization support. */
1061
+ labels?: Partial<LegendItemLabels>;
689
1062
  };
690
1063
 
691
- 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;
692
1065
 
693
1066
  type QualitativeAttributeProps = {
694
1067
  type: 'raster' | 'line' | 'point';
@@ -699,9 +1072,11 @@ type QualitativeAttributeProps = {
699
1072
  onActionClick?: () => void;
700
1073
  pointIcon?: React.ReactNode;
701
1074
  ariaLabelType?: string;
1075
+ /** Override internal UI labels for internationalization support. */
1076
+ labels?: Partial<QualitativeAttributeLabels>;
702
1077
  };
703
1078
 
704
- 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;
705
1080
 
706
1081
  type ScaleBarProps = {
707
1082
  colors: string[];
@@ -718,9 +1093,11 @@ type ItemCountProps = {
718
1093
  totalItems: number;
719
1094
  onPageSizeChange?: (pageSize: number) => void;
720
1095
  showItemCountText?: boolean;
1096
+ /** Override internal UI labels for internationalization support. */
1097
+ labels?: Partial<ItemCountLabels>;
721
1098
  };
722
1099
 
723
- 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;
724
1101
 
725
1102
  type ListItemVariant = 'data' | 'navigation' | 'select';
726
1103
  interface ListItemProps {
@@ -772,9 +1149,11 @@ type TableProps = {
772
1149
  onPageChange?: (page: number) => void;
773
1150
  onAllItemsSelected?: (checked: boolean) => void;
774
1151
  loading?: boolean;
1152
+ /** Override internal UI labels for internationalization support. */
1153
+ labels?: Partial<TableLabels>;
775
1154
  };
776
1155
 
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;
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;
778
1157
 
779
1158
  declare const TableRow: React__default.ForwardRefExoticComponent<Table$1.RowProps & React__default.RefAttributes<HTMLTableRowElement>>;
780
1159
  declare const TableCell: React__default.ForwardRefExoticComponent<Table$1.CellProps & React__default.RefAttributes<HTMLTableCellElement>>;
@@ -795,6 +1174,8 @@ interface AnalysisWidgetProps {
795
1174
  collapsible?: boolean;
796
1175
  actions?: AnalysisWidgetActionsProps[];
797
1176
  showFooterOnCollapsed?: boolean;
1177
+ /** Override internal UI labels for internationalization support. */
1178
+ labels?: Partial<AnalysisWidgetLabels>;
798
1179
  }
799
1180
  interface AnalysisWidgetActionsProps {
800
1181
  label: string;
@@ -802,7 +1183,7 @@ interface AnalysisWidgetActionsProps {
802
1183
  icon?: React__default.ReactNode;
803
1184
  }
804
1185
 
805
- 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;
806
1187
 
807
1188
  type ModalProps = {
808
1189
  header: React.ReactNode;
@@ -890,17 +1271,6 @@ type MobileTabBarProps = {
890
1271
 
891
1272
  declare const MobileTabBar: ({ defaultValue, tabs, onTabClick, hideLabels, activationMode, }: MobileTabBarProps) => _emotion_react_jsx_runtime.JSX.Element;
892
1273
 
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
1274
  type NavbarNavigationItemsProps = {
905
1275
  label: string;
906
1276
  link?: string;
@@ -928,9 +1298,11 @@ type NavbarProps = {
928
1298
  fixed?: boolean;
929
1299
  onNavbarHeightChange?: (height: number) => void;
930
1300
  backgroundColor?: string;
1301
+ /** Override internal UI labels for internationalization support. */
1302
+ labels?: Partial<NavbarLabels>;
931
1303
  };
932
1304
 
933
- 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;
934
1306
 
935
1307
  type NavigationRailTabProps = Omit<Tabs.TriggerProps, 'asChild'> & {
936
1308
  label: string;
@@ -944,9 +1316,11 @@ type NavigationRailProps = {
944
1316
  onTabClick?: (selectedValue: string) => void;
945
1317
  children?: React.ReactNode;
946
1318
  onOpenChange?: (open: boolean) => void;
1319
+ /** Override internal UI labels for internationalization support. */
1320
+ labels?: Partial<NavigationRailLabels>;
947
1321
  };
948
1322
 
949
- 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;
950
1324
 
951
1325
  type PaginationProps = {
952
1326
  currentPage: number;
@@ -954,9 +1328,11 @@ type PaginationProps = {
954
1328
  pageSize: number;
955
1329
  variant?: 'default' | 'compact' | 'compact-with-buttons';
956
1330
  onPageChange?: (page: number) => void;
1331
+ /** Override internal UI labels for internationalization support. */
1332
+ labels?: Partial<PaginationLabels>;
957
1333
  };
958
1334
 
959
- 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;
960
1336
 
961
1337
  type TabBarItemProps = Omit<Tabs.TriggerProps, 'asChild'> & {
962
1338
  label: string;
@@ -992,9 +1368,11 @@ type SearchProps = Omit<InputProps, 'variant' | 'colorPalette' | 'defaultChecked
992
1368
  query: string;
993
1369
  onSelect: (id: string) => void;
994
1370
  }) => React.ReactNode;
1371
+ /** Override internal UI labels for internationalization support. */
1372
+ labels?: Partial<SearchLabels>;
995
1373
  };
996
1374
 
997
- 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;
998
1376
 
999
1377
  type AvatarProps = {
1000
1378
  name: string;
@@ -1030,9 +1408,11 @@ type InlineMessageProps = {
1030
1408
  isButtonRight?: boolean;
1031
1409
  buttonLeftIcon?: React.ReactNode;
1032
1410
  buttonRightIcon?: React.ReactNode;
1411
+ /** Override internal UI labels for internationalization support. */
1412
+ labels?: Partial<InlineMessageLabels>;
1033
1413
  };
1034
1414
 
1035
- 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;
1036
1416
 
1037
1417
  interface AlertProps extends Omit<Alert.RootProps, 'title' | 'variant'> {
1038
1418
  title?: React.ReactNode;
@@ -1057,13 +1437,11 @@ type StepProgressIndicatorProps = {
1057
1437
  onClick?: () => void;
1058
1438
  }[];
1059
1439
  currentStep: number;
1440
+ /** Override internal UI labels for internationalization support. */
1441
+ labels?: Partial<StepProgressIndicatorLabels>;
1060
1442
  };
1061
1443
 
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;
1444
+ declare const StepProgressIndicator: ({ steps, currentStep, labels, }: StepProgressIndicatorProps) => _emotion_react_jsx_runtime.JSX.Element;
1067
1445
 
1068
1446
  type ToastProps = {
1069
1447
  label: string;
@@ -1079,7 +1457,15 @@ type ToastProps = {
1079
1457
  closable?: boolean;
1080
1458
  closableLabel?: string;
1081
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>;
1082
1468
 
1083
1469
  declare const showToast: (props: ToastProps) => void;
1084
1470
 
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 };
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 };