@worldresources/wri-design-systems 1.2.0 → 2.117.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
@@ -1,6 +1,10 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { ButtonProps as ButtonProps$1, Checkbox as Checkbox$1, RadioGroup as RadioGroup$1, Slider as Slider$1, Switch as Switch$1, SelectRootProps, TextareaProps as TextareaProps$1, InputProps, Tag as Tag$1, Accordion, Tabs } from '@chakra-ui/react';
1
+ import * as _chakra_ui_react from '@chakra-ui/react';
2
+ import { ButtonProps as ButtonProps$1, Checkbox as Checkbox$1, RadioCardRootProps, RadioGroup as RadioGroup$1, Slider as Slider$1, Switch as Switch$1, SelectRootProps, SliderRootProps, TextareaProps as TextareaProps$1, InputProps, Tag as Tag$1, Accordion, Tabs } from '@chakra-ui/react';
3
+ import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime';
3
4
  import React$1 from 'react';
5
+ import * as react_jsx_runtime from 'react/jsx-runtime';
6
+
7
+ declare const designSystemStyles: _chakra_ui_react.SystemContext;
4
8
 
5
9
  type ButtonProps = Omit<ButtonProps$1, 'size' | 'variant' | 'colorPalette' | 'children'> & {
6
10
  label?: string;
@@ -12,20 +16,20 @@ type ButtonProps = Omit<ButtonProps$1, 'size' | 'variant' | 'colorPalette' | 'ch
12
16
  rightIcon?: React$1.ReactNode;
13
17
  };
14
18
 
15
- declare const Button: ({ label, loading, variant, size, disabled, leftIcon, rightIcon, ...rest }: ButtonProps) => react_jsx_runtime.JSX.Element;
19
+ declare const Button: ({ label, loading, variant, size, disabled, leftIcon, rightIcon, ...rest }: ButtonProps) => _emotion_react_jsx_runtime.JSX.Element;
16
20
 
17
21
  type CloseButtonProps = Omit<ButtonProps$1, 'size' | 'variant' | 'colorPalette' | 'children' | '_loading'> & {
18
22
  disabled?: boolean;
19
23
  };
20
24
 
21
- declare const CloseButton: ({ disabled, ...rest }: CloseButtonProps) => react_jsx_runtime.JSX.Element;
25
+ declare const CloseButton: ({ disabled, ...rest }: CloseButtonProps) => _emotion_react_jsx_runtime.JSX.Element;
22
26
 
23
27
  type IconButtonProps = Omit<ButtonProps$1, 'size' | 'variant' | 'colorPalette' | 'children' | '_loading'> & {
24
28
  icon: React$1.ReactNode;
25
29
  disabled?: boolean;
26
30
  };
27
31
 
28
- declare const IconButton: ({ icon, disabled, ...rest }: IconButtonProps) => react_jsx_runtime.JSX.Element;
32
+ declare const IconButton: ({ icon, disabled, ...rest }: IconButtonProps) => _emotion_react_jsx_runtime.JSX.Element;
29
33
 
30
34
  type MultiActionButtonProps = Omit<ButtonProps$1, 'size' | 'variant' | 'colorPalette' | 'children'> & {
31
35
  variant?: 'primary' | 'secondary';
@@ -40,7 +44,7 @@ type MultiActionButtonProps = Omit<ButtonProps$1, 'size' | 'variant' | 'colorPal
40
44
  disabled?: boolean;
41
45
  };
42
46
 
43
- declare const MultiActionButton: ({ variant, size, mainActionLabel, mainActionOnClick, otherActions, ...rest }: MultiActionButtonProps) => react_jsx_runtime.JSX.Element;
47
+ declare const MultiActionButton: ({ variant, size, mainActionLabel, mainActionOnClick, otherActions, ...rest }: MultiActionButtonProps) => _emotion_react_jsx_runtime.JSX.Element;
44
48
 
45
49
  type CheckboxProps = Omit<Checkbox$1.RootProps, 'size' | 'variant' | 'colorPalette' | 'icon' | 'iconColor' | 'iconSize' | 'spacing' | 'invalid'> & {
46
50
  name?: string;
@@ -54,29 +58,51 @@ type CheckboxProps = Omit<Checkbox$1.RootProps, 'size' | 'variant' | 'colorPalet
54
58
  }) => void;
55
59
  };
56
60
 
57
- declare const Checkbox: ({ name, value, checked, defaultChecked, disabled, indeterminate, onCheckedChange, children, ...rest }: CheckboxProps) => react_jsx_runtime.JSX.Element;
61
+ declare const Checkbox: ({ name, value, checked, defaultChecked, disabled, indeterminate, onCheckedChange, children, ...rest }: CheckboxProps) => _emotion_react_jsx_runtime.JSX.Element;
62
+
63
+ type OptionCardProps = {
64
+ label: string;
65
+ caption?: string;
66
+ icon?: React.ReactNode;
67
+ variant?: 'default' | 'centered' | 'expanded';
68
+ disabled?: boolean;
69
+ children?: React.ReactNode;
70
+ value: string;
71
+ };
72
+ type OptionCardGroupProps = Omit<RadioCardRootProps, 'colorPalette' | 'size' | 'variant' | 'as' | 'asChild' | 'unstyled' | 'defaultChecked'> & {
73
+ defaultValue?: string;
74
+ onValueChange?: ({ value }: {
75
+ value: string;
76
+ }) => void;
77
+ };
78
+
79
+ declare const OptionCard: ({ label, caption, icon, variant, disabled, children, value, }: OptionCardProps) => _emotion_react_jsx_runtime.JSX.Element;
80
+
81
+ declare const OptionCardGroup: ({ children, ...rest }: OptionCardGroupProps) => react_jsx_runtime.JSX.Element;
58
82
 
59
83
  type RadioProps = Omit<RadioGroup$1.ItemProps, 'size' | 'variant' | 'colorPalette' | 'name' | 'defaultChecked' | 'onChange'> & {
60
84
  value: string;
61
85
  disabled?: boolean;
62
86
  };
63
- type RadioGroupProps = Omit<RadioGroup$1.ItemProps, 'size' | 'variant' | 'colorPalette' | 'value' | 'onChange'> & {
87
+ type RadioGroupProps = Omit<RadioGroup$1.ItemProps, 'size' | 'variant' | 'colorPalette' | 'value' | 'onChange' | 'children'> & {
64
88
  name: string;
65
89
  defaultValue?: string;
66
- isRow?: boolean;
90
+ horizontal?: boolean;
67
91
  onChange?: (name: string, selectedValue: string) => void;
68
92
  customGap?: string;
93
+ children?: React.ReactNode;
69
94
  };
70
95
 
71
- declare const Radio: ({ children, value, disabled, ...rest }: RadioProps) => react_jsx_runtime.JSX.Element;
96
+ declare const Radio: ({ children, value, disabled, ...rest }: RadioProps) => _emotion_react_jsx_runtime.JSX.Element;
97
+
98
+ declare const RadioGroup: ({ children, horizontal, name, defaultValue, onChange, customGap, ...rest }: RadioGroupProps) => react_jsx_runtime.JSX.Element;
72
99
 
73
- declare const RadioGroup: ({ children, isRow, name, defaultValue, onChange, customGap, ...rest }: RadioGroupProps) => react_jsx_runtime.JSX.Element;
100
+ /** @jsxImportSource @emotion/react */
74
101
 
75
- declare const Slider: React$1.ForwardRefExoticComponent<Omit<Slider$1.RootProps, "size" | "variant" | "colorPalette" | "label" | "defaultChecked" | "origin" | "thumbAlignment" | "thumbSize"> & {
102
+ declare const Slider: React$1.ForwardRefExoticComponent<Omit<Slider$1.RootProps, "size" | "variant" | "colorPalette" | "label" | "defaultChecked" | "defaultValue" | "origin" | "thumbAlignment" | "thumbSize"> & {
76
103
  width?: string;
77
104
  min?: number;
78
105
  max?: number;
79
- defaultValue?: number[];
80
106
  value?: number[];
81
107
  marks?: Array<number | {
82
108
  value: number;
@@ -101,7 +127,78 @@ type SwitchProps = Omit<Switch$1.RootProps, 'size' | 'variant' | 'colorPalette'
101
127
  isLabelOnLeft?: boolean;
102
128
  };
103
129
 
104
- declare const Switch: ({ name, defaultChecked, onChange, disabled, isLabelOnLeft, children, ...rest }: SwitchProps) => react_jsx_runtime.JSX.Element;
130
+ declare const Switch: ({ name, defaultChecked, onChange, disabled, isLabelOnLeft, children, ...rest }: SwitchProps) => _emotion_react_jsx_runtime.JSX.Element;
131
+
132
+ type CheckboxListProps = {
133
+ label: string;
134
+ caption?: string;
135
+ checkboxes: CheckboxProps[];
136
+ defaultValue?: string;
137
+ onCheckedChange?: (checkedValues: {
138
+ [name: string]: boolean;
139
+ }) => void;
140
+ errorMessage?: string;
141
+ horizontal?: boolean;
142
+ required?: boolean;
143
+ };
144
+
145
+ declare const CheckboxList: ({ label, caption, checkboxes, defaultValue, onCheckedChange, errorMessage, horizontal, required, }: CheckboxListProps) => _emotion_react_jsx_runtime.JSX.Element;
146
+
147
+ type InputWithUnitsProps = {
148
+ label: string;
149
+ caption?: string;
150
+ errorMessage?: string;
151
+ units: {
152
+ label: string;
153
+ value: string;
154
+ }[];
155
+ unitsPosition?: 'start' | 'end';
156
+ defaultValue?: string;
157
+ defaultUnit?: string;
158
+ onChange?: (value: string) => void;
159
+ required?: boolean;
160
+ disabled?: boolean;
161
+ };
162
+
163
+ declare const InputWithUnits: ({ label, caption, errorMessage, units, unitsPosition, defaultUnit, defaultValue, onChange, required, disabled, }: InputWithUnitsProps) => _emotion_react_jsx_runtime.JSX.Element;
164
+
165
+ type PasswordProps = {
166
+ label: string;
167
+ caption?: string;
168
+ required?: boolean;
169
+ onChange?: ({ strength, length, uppercase, lowercase, numbers, specialCharacters, }: {
170
+ strength: string;
171
+ length: boolean;
172
+ uppercase: boolean;
173
+ lowercase: boolean;
174
+ numbers: boolean;
175
+ specialCharacters: boolean;
176
+ }) => void;
177
+ disabledRules?: {
178
+ uppercase?: boolean;
179
+ lowercase?: boolean;
180
+ numbers?: boolean;
181
+ specialCharacters?: boolean;
182
+ };
183
+ minLength?: number;
184
+ hideValidations?: boolean;
185
+ };
186
+
187
+ declare const Password: ({ label, caption, required, disabledRules, onChange, minLength, hideValidations, }: PasswordProps) => _emotion_react_jsx_runtime.JSX.Element;
188
+
189
+ type RadioListProps = {
190
+ label: string;
191
+ caption?: string;
192
+ name: string;
193
+ radios: RadioProps[];
194
+ defaultValue?: string;
195
+ onCheckedChange?: (name: string, selectedValue: string) => void;
196
+ errorMessage?: string;
197
+ horizontal?: boolean;
198
+ required?: boolean;
199
+ };
200
+
201
+ declare const RadioList: ({ label, caption, name, radios, defaultValue, onCheckedChange, errorMessage, horizontal, required, }: RadioListProps) => _emotion_react_jsx_runtime.JSX.Element;
105
202
 
106
203
  type SelectItemProps = {
107
204
  label: string;
@@ -109,7 +206,7 @@ type SelectItemProps = {
109
206
  value: string;
110
207
  };
111
208
  type SelectProps = Omit<SelectRootProps, 'collection' | 'size' | 'colorPalette' | 'variant' | 'onValueChange' | 'onChange' | 'defaultChecked' | 'invalid'> & {
112
- label: string;
209
+ label?: string;
113
210
  caption?: string;
114
211
  placeholder: string;
115
212
  defaultValue?: string[];
@@ -122,7 +219,37 @@ type SelectProps = Omit<SelectRootProps, 'collection' | 'size' | 'colorPalette'
122
219
  multiple?: boolean;
123
220
  };
124
221
 
125
- declare const Select: ({ label, caption, placeholder, items, size, required, disabled, onChange, errorMessage, multiple, ...rest }: SelectProps) => react_jsx_runtime.JSX.Element;
222
+ declare const Select: ({ label, caption, placeholder, items, size, required, disabled, onChange, errorMessage, multiple, ...rest }: SelectProps) => _emotion_react_jsx_runtime.JSX.Element;
223
+
224
+ type ValueChangeDetails = {
225
+ value: number[];
226
+ };
227
+ type SliderProps = Omit<SliderRootProps, 'size' | 'variant' | 'colorPalette' | 'thumbAlignment' | 'thumbSize' | 'label' | 'defaultChecked' | 'origin' | 'defaultValue'> & {
228
+ width?: string;
229
+ min?: number;
230
+ max?: number;
231
+ value?: number[];
232
+ marks?: Array<number | {
233
+ value: number;
234
+ label: React.ReactNode;
235
+ }>;
236
+ step?: number;
237
+ disabled?: boolean;
238
+ onValueChange?: (details: ValueChangeDetails) => void;
239
+ onValueChangeEnd?: (details: ValueChangeDetails) => void;
240
+ isCentred?: boolean;
241
+ };
242
+
243
+ type SliderInputProps = {
244
+ label: string;
245
+ caption?: string;
246
+ size?: 'default' | 'small';
247
+ sliderItem: SliderProps;
248
+ required?: boolean;
249
+ onChange?: (value: number[]) => void;
250
+ };
251
+
252
+ declare const SliderInput: ({ label, caption, size, sliderItem, required, onChange, }: SliderInputProps) => _emotion_react_jsx_runtime.JSX.Element;
126
253
 
127
254
  type TextareaProps = Omit<TextareaProps$1, 'size' | 'variant' | 'colorPalette' | 'defaultChecked'> & {
128
255
  label: string;
@@ -138,7 +265,7 @@ type TextareaProps = Omit<TextareaProps$1, 'size' | 'variant' | 'colorPalette' |
138
265
  maxLength?: number;
139
266
  };
140
267
 
141
- declare const Textarea: ({ label, caption, placeholder, errorMessage, required, disabled, size, defaultValue, onChange, minLength, maxLength, ...rest }: TextareaProps) => react_jsx_runtime.JSX.Element;
268
+ declare const Textarea: ({ label, caption, placeholder, errorMessage, required, disabled, size, defaultValue, onChange, minLength, maxLength, ...rest }: TextareaProps) => _emotion_react_jsx_runtime.JSX.Element;
142
269
 
143
270
  type TextInputProps = Omit<InputProps, 'size' | 'variant' | 'colorPalette' | 'defaultChecked'> & {
144
271
  label?: string;
@@ -152,7 +279,7 @@ type TextInputProps = Omit<InputProps, 'size' | 'variant' | 'colorPalette' | 'de
152
279
  onChange?: (e: React.ChangeEvent<HTMLInputElement>) => void;
153
280
  };
154
281
 
155
- declare const TextInput: ({ label, caption, placeholder, errorMessage, required, disabled, size, defaultValue, onChange, ...rest }: TextInputProps) => react_jsx_runtime.JSX.Element;
282
+ declare const TextInput: ({ label, caption, placeholder, errorMessage, required, disabled, size, defaultValue, onChange, ...rest }: TextInputProps) => _emotion_react_jsx_runtime.JSX.Element;
156
283
 
157
284
  type TagProps = Omit<Tag$1.RootProps, 'size' | 'variant' | 'colorPalette' | 'children'> & {
158
285
  label: string;
@@ -164,7 +291,7 @@ type TagProps = Omit<Tag$1.RootProps, 'size' | 'variant' | 'colorPalette' | 'chi
164
291
  closable?: boolean;
165
292
  };
166
293
 
167
- declare const Tag: ({ label, size, variant, disabled, icon, onClose, closable, ...rest }: TagProps) => react_jsx_runtime.JSX.Element;
294
+ declare const Tag: ({ label, size, variant, disabled, icon, onClose, closable, ...rest }: TagProps) => _emotion_react_jsx_runtime.JSX.Element;
168
295
 
169
296
  type LayerItemProps = {
170
297
  name: string;
@@ -190,11 +317,11 @@ type LayerGroupProps = {
190
317
  onChangeForRadioVariant?: (name: string, checked: boolean, selectedValue?: string) => void;
191
318
  };
192
319
 
193
- declare const LayerGroup: ({ label, caption, value, layerItems, onChangeForRadioVariant, }: LayerGroupProps) => react_jsx_runtime.JSX.Element;
320
+ declare const LayerGroup: ({ label, caption, value, layerItems, onChangeForRadioVariant, }: LayerGroupProps) => _emotion_react_jsx_runtime.JSX.Element;
194
321
 
195
- declare const LayerGroupContainer: ({ children, defaultValue, ...rest }: LayerGroupContainerProps) => react_jsx_runtime.JSX.Element;
322
+ declare const LayerGroupContainer: ({ children, defaultValue, ...rest }: LayerGroupContainerProps) => _emotion_react_jsx_runtime.JSX.Element;
196
323
 
197
- declare const LayerItem: ({ name, label, caption, showInfoButton, infoButtonLabel, variant, disabled, onInfoClick, isDefaultSelected, onChange, }: LayerItemProps) => react_jsx_runtime.JSX.Element;
324
+ declare const LayerItem: ({ name, label, caption, showInfoButton, infoButtonLabel, variant, disabled, onInfoClick, isDefaultSelected, onChange, }: LayerItemProps) => _emotion_react_jsx_runtime.JSX.Element;
198
325
 
199
326
  type TabBarItemProps = Omit<Tabs.TriggerProps, 'asChild'> & {
200
327
  label: string;
@@ -219,7 +346,7 @@ type LayerPanelProps = {
219
346
  children: React.ReactNode;
220
347
  };
221
348
 
222
- declare const LayerPanel: ({ title, description, tabBarVariant, buttonTabs, defaultValue, onTabClick, children, }: LayerPanelProps) => react_jsx_runtime.JSX.Element;
349
+ declare const LayerPanel: ({ title, description, tabBarVariant, buttonTabs, defaultValue, onTabClick, children, }: LayerPanelProps) => _emotion_react_jsx_runtime.JSX.Element;
223
350
 
224
351
  type LayerParametersProps = {
225
352
  label: string;
@@ -227,7 +354,7 @@ type LayerParametersProps = {
227
354
  openedByDefault?: boolean;
228
355
  };
229
356
 
230
- declare const LayerParameters: ({ label, children, openedByDefault, }: LayerParametersProps) => react_jsx_runtime.JSX.Element;
357
+ declare const LayerParameters: ({ label, children, openedByDefault, }: LayerParametersProps) => _emotion_react_jsx_runtime.JSX.Element;
231
358
 
232
359
  type LegendItemProps = {
233
360
  layerName: string;
@@ -241,7 +368,7 @@ type LegendItemProps = {
241
368
  onOpacityChanged: (value: number) => void;
242
369
  };
243
370
 
244
- declare const LegendItem: ({ layerName, dataUnit, onDrag, onUpClick, onDownClick, onRemoveClick, children, onInfoClick, onOpacityChanged, }: LegendItemProps) => react_jsx_runtime.JSX.Element;
371
+ declare const LegendItem: ({ layerName, dataUnit, onDrag, onUpClick, onDownClick, onRemoveClick, children, onInfoClick, onOpacityChanged, }: LegendItemProps) => _emotion_react_jsx_runtime.JSX.Element;
245
372
 
246
373
  type LegendPanelProps = {
247
374
  legendContent: React$1.ReactElement[];
@@ -249,7 +376,7 @@ type LegendPanelProps = {
249
376
  onTabClick?: (tabValue: string) => void;
250
377
  };
251
378
 
252
- declare const LegendPanel: ({ legendContent, analysisContent, onTabClick, }: LegendPanelProps) => react_jsx_runtime.JSX.Element;
379
+ declare const LegendPanel: ({ legendContent, analysisContent, onTabClick, }: LegendPanelProps) => _emotion_react_jsx_runtime.JSX.Element;
253
380
 
254
381
  type QualitativeAttributeProps = {
255
382
  type: 'raster' | 'line' | 'point';
@@ -261,7 +388,7 @@ type QualitativeAttributeProps = {
261
388
  pointIcon?: React.ReactNode;
262
389
  };
263
390
 
264
- declare const QualitativeAttribute: ({ type, label, caption, color, onActionClick, showActionButton, pointIcon, }: QualitativeAttributeProps) => react_jsx_runtime.JSX.Element;
391
+ declare const QualitativeAttribute: ({ type, label, caption, color, onActionClick, showActionButton, pointIcon, }: QualitativeAttributeProps) => _emotion_react_jsx_runtime.JSX.Element;
265
392
 
266
393
  type ScaleBarProps = {
267
394
  colors: string[];
@@ -270,7 +397,30 @@ type ScaleBarProps = {
270
397
  isGradient?: boolean;
271
398
  };
272
399
 
273
- declare const ScaleBar: ({ colors, values, subLabels, isGradient }: ScaleBarProps) => react_jsx_runtime.JSX.Element;
400
+ declare const ScaleBar: ({ colors, values, subLabels, isGradient }: ScaleBarProps) => _emotion_react_jsx_runtime.JSX.Element;
401
+
402
+ type BreadcrumbProps = {
403
+ links: {
404
+ label: string;
405
+ link: string;
406
+ icon?: React.ReactNode;
407
+ }[];
408
+ separator?: React.ReactNode;
409
+ maxItems?: number;
410
+ linkRouter: any;
411
+ };
412
+
413
+ declare const Breadcrumb: ({ links, separator, maxItems, linkRouter, }: BreadcrumbProps) => _emotion_react_jsx_runtime.JSX.Element;
414
+
415
+ type FooterProps = {
416
+ children: React.ReactNode;
417
+ label?: string;
418
+ fixed?: boolean;
419
+ filled?: boolean;
420
+ maxWidth?: number;
421
+ };
422
+
423
+ declare const Footer: ({ children, label, fixed, filled, maxWidth, }: FooterProps) => _emotion_react_jsx_runtime.JSX.Element;
274
424
 
275
425
  type NavigationRailTabProps = Omit<Tabs.TriggerProps, 'asChild'> & {
276
426
  label: string;
@@ -284,11 +434,19 @@ type NavigationRailProps = {
284
434
  onTabClick?: (selectedValue: string) => void;
285
435
  children?: React.ReactNode;
286
436
  onOpenChange?: (open: boolean) => void;
437
+ customHeight?: string;
287
438
  };
288
439
 
289
- declare const NavigationRail: ({ tabs, defaultValue, onTabClick, children, onOpenChange, }: NavigationRailProps) => react_jsx_runtime.JSX.Element;
440
+ declare const NavigationRail: ({ tabs, defaultValue, onTabClick, children, onOpenChange, customHeight, }: NavigationRailProps) => _emotion_react_jsx_runtime.JSX.Element;
441
+
442
+ declare const TabBar: ({ variant, defaultValue, tabs, onTabClick, }: TabBarProps) => _emotion_react_jsx_runtime.JSX.Element;
443
+
444
+ type BadgeProps = {
445
+ hasNotification?: boolean;
446
+ notificationCount?: number;
447
+ };
290
448
 
291
- declare const TabBar: ({ variant, defaultValue, tabs, onTabClick, }: TabBarProps) => react_jsx_runtime.JSX.Element;
449
+ declare const Badge: ({ hasNotification, notificationCount }: BadgeProps) => _emotion_react_jsx_runtime.JSX.Element;
292
450
 
293
451
  type InlineMessageProps = {
294
452
  label: string;
@@ -301,6 +459,27 @@ type InlineMessageProps = {
301
459
  isButtonRight?: boolean;
302
460
  };
303
461
 
304
- declare const InlineMessage: ({ label, caption, variant, size, icon, onActionClick, actionLabel, isButtonRight, }: InlineMessageProps) => react_jsx_runtime.JSX.Element;
462
+ declare const InlineMessage: ({ label, caption, variant, size, icon, onActionClick, actionLabel, isButtonRight, }: InlineMessageProps) => _emotion_react_jsx_runtime.JSX.Element;
463
+
464
+ /** @jsxImportSource @emotion/react */
465
+
466
+ declare const Toast: React$1.FC;
467
+
468
+ type ToastProps = {
469
+ label: string;
470
+ caption?: React.ReactNode;
471
+ type: 'success' | 'warning' | 'error' | 'info' | 'loading';
472
+ placement: 'top-start' | 'top-end' | 'bottom-start' | 'bottom-end';
473
+ duration?: number;
474
+ icon?: React.ReactNode;
475
+ action?: {
476
+ label: string;
477
+ onClick: () => void;
478
+ };
479
+ closable?: boolean;
480
+ closableLabel?: string;
481
+ };
482
+
483
+ declare const showToast: (props: ToastProps) => void;
305
484
 
306
- export { Button, Checkbox, CloseButton, IconButton, InlineMessage, LayerGroup, LayerGroupContainer, LayerItem, LayerPanel, LayerParameters, LegendItem, LegendPanel, MultiActionButton, NavigationRail, QualitativeAttribute, Radio, RadioGroup, ScaleBar, Select, Slider, Switch, TabBar, Tag, TextInput, Textarea };
485
+ export { Badge, Breadcrumb, Button, Checkbox, CheckboxList, CloseButton, Footer, IconButton, InlineMessage, InputWithUnits, LayerGroup, LayerGroupContainer, LayerItem, LayerPanel, LayerParameters, LegendItem, LegendPanel, MultiActionButton, NavigationRail, OptionCard, OptionCardGroup, Password, QualitativeAttribute, Radio, RadioGroup, RadioList, ScaleBar, Select, Slider, SliderInput, Switch, TabBar, Tag, TextInput, Textarea, Toast, designSystemStyles, showToast };