@mmb-digital/design-system-web 0.1.183 → 0.1.185

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,14 +1,14 @@
1
1
  import * as React from 'react';
2
- import React__default, { ReactNode, FC, PropsWithChildren, RefObject, MouseEvent, TouchEvent, ReactElement, MouseEventHandler, KeyboardEventHandler, HTMLProps, RefAttributes, HTMLInputAutoCompleteAttribute, FocusEvent, ChangeEvent, ComponentType, ComponentProps, TextareaHTMLAttributes, AriaAttributes, HTMLAttributes, HTMLInputTypeAttribute, FocusEventHandler } from 'react';
2
+ import React__default, { ReactNode, RefObject, MouseEvent, AriaAttributes, TouchEvent, ReactElement, MouseEventHandler, KeyboardEventHandler, HTMLProps, RefAttributes, HTMLInputAutoCompleteAttribute, FocusEvent, ChangeEvent, ComponentType, ComponentProps, TextareaHTMLAttributes, HTMLAttributes, HTMLInputTypeAttribute, FC, FocusEventHandler } from 'react';
3
3
  import { MessageDescriptor } from 'react-intl';
4
4
  import { FormatXMLElementFn, PrimitiveType } from 'intl-messageformat';
5
+ import * as styled_components from 'styled-components';
6
+ import { DefaultTheme, WebTarget } from 'styled-components';
5
7
  import * as csstype from 'csstype';
6
8
  import { Property } from 'csstype';
7
9
  import { DatePickerProps as DatePickerProps$1 } from 'react-datepicker';
8
10
  import * as react_hook_form from 'react-hook-form';
9
11
  import { RegisterOptions, FieldValues, Control, FieldPath } from 'react-hook-form';
10
- import * as styled_components from 'styled-components';
11
- import { WebTarget, DefaultTheme } from 'styled-components';
12
12
  import * as react_select_dist_declarations_src_useStateManager from 'react-select/dist/declarations/src/useStateManager';
13
13
  import * as react_select_dist_declarations_src_Select from 'react-select/dist/declarations/src/Select';
14
14
  import * as react_select from 'react-select';
@@ -18,125 +18,20 @@ import * as afformative from 'afformative';
18
18
  import { Formatter } from 'afformative';
19
19
 
20
20
  interface AccordionItemType {
21
+ closeActionAriaLabel?: string;
21
22
  content: ReactNode;
22
- description?: ReactNode | string;
23
+ description?: ReactNode;
23
24
  icon?: ReactNode;
24
25
  id: string;
25
26
  isOpen?: boolean;
26
- label: ReactNode | string;
27
+ label: ReactNode;
27
28
  onClick?: () => void;
29
+ openActionAriaLabel?: string;
28
30
  }
29
- interface AccordionItemProps extends AccordionItemType {
30
- variant: AccordionVariant;
31
- }
32
-
33
31
  declare enum AccordionVariant {
34
32
  default = "default",
35
33
  table = "table"
36
34
  }
37
- interface AccordionProps {
38
- data: AccordionItemType[];
39
- variant: AccordionVariant;
40
- }
41
-
42
- declare const Accordion: FC<AccordionProps>;
43
-
44
- declare const AccordionItem: FC<AccordionItemProps>;
45
-
46
- declare enum ColorScheme {
47
- dark = "dark",
48
- light = "light"
49
- }
50
- interface ColorObject<Dark extends string = string, Light extends string = string> {
51
- dark: Dark;
52
- light: Light;
53
- }
54
- type ChooseColor = <Dark extends string = string, Light extends string = string>(colorSchemeObject: ColorObject<Dark, Light>) => Dark | Light;
55
- type GetColor = <Dark extends string = string, Light extends string = string>(colorScheme: ColorScheme, colorSchemeObject: ColorObject<Dark, Light>) => Dark | Light;
56
-
57
- declare const useChooseColor: (colorScheme: ColorScheme) => ChooseColor;
58
-
59
- declare const getColor: GetColor;
60
-
61
- interface AccordionContentType extends PropsWithChildren {
62
- colorScheme?: ColorScheme;
63
- }
64
-
65
- declare const AccordionContent: FC<AccordionContentType>;
66
-
67
- interface AccordionKeyValueType {
68
- colorScheme?: ColorScheme;
69
- label: ReactNode | string;
70
- value: ReactNode | string;
71
- }
72
-
73
- declare const AccordionKeyValue: FC<AccordionKeyValueType>;
74
-
75
- declare enum ButtonStyle {
76
- primary = "primary",
77
- secondary = "secondary",
78
- tertiary = "tertiary"
79
- }
80
- declare enum ButtonSize {
81
- xs = "xs",
82
- sm = "sm",
83
- md = "md",
84
- xl = "xl",
85
- xxl = "xxl"
86
- }
87
- declare enum ButtonType {
88
- anchor = "anchor",
89
- button = "button",
90
- reset = "reset",
91
- submit = "submit"
92
- }
93
-
94
- declare enum IconSystemType {
95
- arrowDown = "arrowDown",
96
- arrowLeft = "arrowLeft",
97
- arrowRight = "arrowRight",
98
- arrowUp = "arrowUp",
99
- arrowUpRight = "arrowUpRight",
100
- bank = "bank",
101
- checkmark = "checkmark",
102
- chevronDown = "chevronDown",
103
- chevronLeft = "chevronLeft",
104
- chevronRight = "chevronRight",
105
- chevronRightCircle = "chevronRightCircle",
106
- chevronUp = "chevronUp",
107
- close = "close",
108
- crosshair = "crosshair",
109
- download = "download",
110
- event = "event",
111
- fileText = "fileText",
112
- logout = "logout",
113
- map = "map",
114
- minus = "minus",
115
- pin = "pin",
116
- plus = "plus",
117
- plusCircle = "plusCircle",
118
- refresh = "refresh",
119
- search = "search",
120
- share = "share",
121
- spinner = "spinner",
122
- trash = "trash",
123
- unorderedList = "unorderedList",
124
- uploadCloud = "uploadCloud"
125
- }
126
- declare enum IconSystemSize {
127
- big = "big",
128
- small = "small"
129
- }
130
-
131
- interface IconSystemProps {
132
- ariaHidden?: boolean;
133
- colorScheme?: ColorScheme;
134
- fill?: string;
135
- size: IconSystemSize;
136
- stroke?: string;
137
- type: IconSystemType;
138
- }
139
- declare const IconSystem: (props: IconSystemProps) => React__default.JSX.Element;
140
35
 
141
36
  declare enum MediaType {
142
37
  desktop = "desktop",
@@ -166,6 +61,21 @@ interface UseMediaTypeOptions {
166
61
  */
167
62
  declare const useMediaType: (param?: UseMediaTypeParam, options?: UseMediaTypeOptions) => MediaType;
168
63
 
64
+ declare enum ColorScheme {
65
+ dark = "dark",
66
+ light = "light"
67
+ }
68
+ interface ColorObject<Dark extends string = string, Light extends string = string> {
69
+ dark: Dark;
70
+ light: Light;
71
+ }
72
+ type ChooseColor = <Dark extends string = string, Light extends string = string>(colorSchemeObject: ColorObject<Dark, Light>) => Dark | Light;
73
+ type GetColor = <Dark extends string = string, Light extends string = string>(colorScheme: ColorScheme, colorSchemeObject: ColorObject<Dark, Light>) => Dark | Light;
74
+
75
+ declare const useChooseColor: (colorScheme: ColorScheme) => ChooseColor;
76
+
77
+ declare const getColor: GetColor;
78
+
169
79
  interface ColorSchemeProviderProps {
170
80
  children: ReactNode;
171
81
  colorScheme: ColorScheme;
@@ -239,6 +149,95 @@ interface FieldConfigProviderProps extends FieldConfig {
239
149
  declare const FieldConfigProvider: (props: FieldConfigProviderProps) => React__default.JSX.Element;
240
150
  declare const useFieldConfig: () => FieldConfig;
241
151
 
152
+ interface AccordionProps extends DesignSystemBaseProps {
153
+ data: AccordionItemType[];
154
+ variant?: AccordionVariant;
155
+ }
156
+ declare const Accordion: (props: AccordionProps) => React__default.JSX.Element;
157
+
158
+ interface AccordionItemProps extends AccordionItemType, DesignSystemBaseProps {
159
+ variant: AccordionVariant;
160
+ }
161
+ declare const AccordionItem: (props: AccordionItemProps) => React__default.JSX.Element;
162
+
163
+ interface AccordionContentType extends DesignSystemBaseProps {
164
+ children: ReactNode;
165
+ }
166
+ declare const AccordionContent: (props: AccordionContentType) => React__default.JSX.Element;
167
+
168
+ interface AccordionKeyValueProps extends DesignSystemBaseProps {
169
+ colorScheme?: ColorScheme;
170
+ label: ReactNode;
171
+ value: ReactNode;
172
+ }
173
+ declare const AccordionKeyValue: (props: AccordionKeyValueProps) => React__default.JSX.Element;
174
+
175
+ declare enum ButtonStyle {
176
+ primary = "primary",
177
+ secondary = "secondary",
178
+ tertiary = "tertiary"
179
+ }
180
+ declare enum ButtonSize {
181
+ xs = "xs",
182
+ sm = "sm",
183
+ md = "md",
184
+ xl = "xl",
185
+ xxl = "xxl"
186
+ }
187
+ declare enum ButtonType {
188
+ anchor = "anchor",
189
+ button = "button",
190
+ reset = "reset",
191
+ submit = "submit"
192
+ }
193
+
194
+ declare enum IconSystemType {
195
+ arrowDown = "arrowDown",
196
+ arrowLeft = "arrowLeft",
197
+ arrowRight = "arrowRight",
198
+ arrowUp = "arrowUp",
199
+ arrowUpRight = "arrowUpRight",
200
+ bank = "bank",
201
+ checkmark = "checkmark",
202
+ chevronDown = "chevronDown",
203
+ chevronLeft = "chevronLeft",
204
+ chevronRight = "chevronRight",
205
+ chevronRightCircle = "chevronRightCircle",
206
+ chevronUp = "chevronUp",
207
+ close = "close",
208
+ crosshair = "crosshair",
209
+ download = "download",
210
+ event = "event",
211
+ fileText = "fileText",
212
+ logout = "logout",
213
+ map = "map",
214
+ minus = "minus",
215
+ pin = "pin",
216
+ plus = "plus",
217
+ plusCircle = "plusCircle",
218
+ refresh = "refresh",
219
+ search = "search",
220
+ share = "share",
221
+ spinner = "spinner",
222
+ trash = "trash",
223
+ unorderedList = "unorderedList",
224
+ uploadCloud = "uploadCloud"
225
+ }
226
+ declare enum IconSystemSize {
227
+ big = "big",
228
+ small = "small"
229
+ }
230
+
231
+ interface IconSystemProps {
232
+ ariaHidden?: boolean;
233
+ colorScheme?: ColorScheme;
234
+ fill?: string;
235
+ size: IconSystemSize;
236
+ stroke?: string;
237
+ type: IconSystemType;
238
+ }
239
+ declare const IconSystem: (props: IconSystemProps) => React__default.JSX.Element;
240
+
242
241
  type MessageValues = Record<string, FormatXMLElementFn<ReactNode, ReactNode> | PrimitiveType | ReactNode>;
243
242
  type PrimitiveMessageValues = Record<string, PrimitiveType>;
244
243
 
@@ -285,646 +284,34 @@ interface ButtonProps extends SsrProps, DesignSystemBaseProps {
285
284
  }
286
285
  declare const Button: (props: ButtonProps) => React__default.JSX.Element;
287
286
 
288
- interface SpanButtonProps extends DesignSystemBaseProps {
289
- ariaDisabled?: boolean;
290
- ariaLabel?: string;
291
- children?: ReactNode;
292
- className?: string;
293
- disabled?: boolean;
294
- onClick?: (event: MouseEvent<HTMLButtonElement>) => void;
295
- onMouseDown?: (event: MouseEvent<HTMLButtonElement>) => void;
296
- onMouseUp?: (event: MouseEvent<HTMLButtonElement>) => void;
297
- onTouchStart?: (event: TouchEvent<HTMLButtonElement>) => void;
287
+ declare enum Spacing {
288
+ none = "none",
289
+ xxs = "xxs",
290
+ xs = "xs",
291
+ sm = "sm",
292
+ md = "md",
293
+ lg = "lg",
294
+ xl = "xl",
295
+ xxl = "xxl",
296
+ xxxl = "xxxl",
297
+ xxxxl = "xxxxl",
298
+ xxxxxl = "xxxxxl"
298
299
  }
299
- declare const SpanButton: (props: SpanButtonProps) => React__default.JSX.Element;
300
+ declare const resolveSpacingValue: (theme: DefaultTheme, spacing: Spacing) => "0" | "4px" | "8px" | "12px" | "16px" | "24px" | "32px" | "40px" | "48px" | "56px" | "64px";
300
301
 
301
- interface SliderBreakpoint {
302
- readonly bottomBreakpoint: number;
303
- readonly step: number;
304
- }
305
- interface SliderSteps {
306
- readonly baseStep: number;
307
- readonly breakpointList: SliderBreakpoint[];
308
- }
309
- declare enum SliderStepType {
310
- visuallyLinearByValue = "visuallyLinearByValue",// step changes dynamically (visually steps are of different sizes)
311
- visuallySameStepSize = "visuallySameStepSize"
312
- }
313
- interface MinMaxLabels {
314
- readonly max: ReactElement | string;
315
- readonly min: ReactElement | string;
302
+ declare enum FontWeight {
303
+ thin100 = "thin",
304
+ extraLight200 = "extraLight",
305
+ light300 = "light",
306
+ regular400 = "regular",
307
+ medium500 = "medium",
308
+ semiBold600 = "semiBold",
309
+ bold700 = "bold",
310
+ extraBold800 = "extraBold",
311
+ heavy900 = "heavy",
312
+ ultra950 = "ultra"
316
313
  }
317
-
318
- interface SliderProps extends DesignSystemBaseProps {
319
- ariaLabelForHandle?: string[] | string;
320
- ariaLabelledByForHandle?: string[] | string;
321
- ariaValueTextFormatterForHandle?: ((value: number) => string)[] | ((value: number) => string);
322
- disable?: boolean | undefined;
323
- max: number;
324
- min: number;
325
- minMaxLabels: MinMaxLabels | undefined;
326
- onChange: (value: number) => void;
327
- onFinalChange: (value: number) => void;
328
- stepType: SliderStepType;
329
- steps: SliderSteps;
330
- value: number;
331
- }
332
- declare const Slider: (props: SliderProps) => React__default.JSX.Element;
333
-
334
- interface ErrorBoxItem {
335
- body: ReactElement | string;
336
- onClick?: () => void;
337
- }
338
-
339
- interface ErrorBoxProps {
340
- colorScheme: ColorScheme;
341
- content?: ReactElement | string;
342
- items?: ErrorBoxItem[];
343
- tabIndex?: number;
344
- title?: ReactElement | string;
345
- }
346
- declare const ErrorBox: React__default.ForwardRefExoticComponent<ErrorBoxProps & React__default.RefAttributes<HTMLDivElement>>;
347
-
348
- declare enum InfoboxVariant {
349
- primary = "primary",
350
- secondary = "secondary"
351
- }
352
- declare enum InfoboxSize {
353
- md = "md",
354
- sm = "sm",
355
- xs = "xs"
356
- }
357
- interface InfoboxTextContent {
358
- primary: ReactElement | string;
359
- secondary?: ReactElement | string;
360
- }
361
-
362
- declare enum IconProductType {
363
- atm = "atm",
364
- bank = "bank",
365
- billingPayment = "billingPayment",
366
- check = "check",
367
- creditCard = "creditCard",
368
- helpChat = "helpChat",
369
- information = "information",
370
- mailCheck = "mailCheck",
371
- mobilePhone = "mobilePhone",
372
- moneta = "moneta",
373
- passwordLock = "passwordLock",
374
- reward = "reward",
375
- suitcase = "suitcase",
376
- warningCircle = "warningCircle",
377
- warningTriangle = "warningTriangle"
378
- }
379
- declare enum IconProductSize {
380
- big = "big",
381
- small = "small"
382
- }
383
- declare enum IconProductVariant {
384
- active = "active",
385
- default = "default"
386
- }
387
-
388
- interface IconProductProps {
389
- colorScheme?: ColorScheme;
390
- fill?: string;
391
- size: IconProductSize;
392
- stroke?: string;
393
- type: IconProductType;
394
- variant?: IconProductVariant | undefined;
395
- }
396
- declare const IconProduct: (props: IconProductProps) => React__default.JSX.Element;
397
-
398
- interface InfoboxProps {
399
- /** Cannot be used alongside `children`. */
400
- actionNode?: ReactNode;
401
- children?: ReactNode;
402
- colorScheme: ColorScheme;
403
- fullWidth?: boolean;
404
- iconProduct?: IconProductType;
405
- isWarning?: boolean;
406
- mediaType: MediaType;
407
- size: InfoboxSize;
408
- /** Cannot be used alongside `children`. */
409
- textContent?: InfoboxTextContent;
410
- variant: InfoboxVariant;
411
- }
412
- declare const Infobox: (props: InfoboxProps) => React__default.JSX.Element;
413
-
414
- declare enum TableVariant {
415
- exchange = "exchange",
416
- simple = "simple",
417
- simpleWithoutShadow = "simpleWithoutShadow"
418
- }
419
- declare enum TableTextAlign {
420
- center = "center",
421
- left = "left",
422
- right = "right"
423
- }
424
-
425
- interface TableProps {
426
- children: ReactNode;
427
- variant: TableVariant;
428
- width?: Property.Width;
429
- }
430
- declare const Table: (props: TableProps) => React__default.JSX.Element;
431
-
432
- interface TableBodyProps {
433
- children: ReactNode;
434
- }
435
- declare const TableBody: (props: TableBodyProps) => React__default.JSX.Element;
436
-
437
- interface TableDataProps extends DesignSystemBaseProps {
438
- children: ReactNode;
439
- delimiter?: boolean;
440
- textAlign?: TableTextAlign;
441
- variant: TableVariant;
442
- }
443
- declare const TableData: (props: TableDataProps) => React__default.JSX.Element;
444
-
445
- interface TableHeadProps {
446
- children: ReactNode;
447
- }
448
- declare const TableHead: (props: TableHeadProps) => React__default.JSX.Element;
449
-
450
- interface TableHeadDataProps extends DesignSystemBaseProps {
451
- children: ReactNode;
452
- delimiter?: boolean;
453
- textAlign?: TableTextAlign;
454
- variant: TableVariant;
455
- width?: Property.Width;
456
- }
457
- declare const TableHeadData: (props: TableHeadDataProps) => React__default.JSX.Element;
458
-
459
- interface TableRowProps extends DesignSystemBaseProps {
460
- children: ReactNode;
461
- variant: TableVariant;
462
- }
463
- declare const TableRow: (props: TableRowProps) => React__default.JSX.Element;
464
-
465
- declare enum TabsVariant {
466
- primary = "primary",
467
- secondary = "secondary",
468
- tertiary = "tertiary"
469
- }
470
- declare enum TabsSize {
471
- lg = "lg",
472
- md = "md",
473
- sm = "sm",
474
- xs = "xs"
475
- }
476
- declare enum TabsActiveTabDefaultPosition {
477
- center = "center",
478
- noScrolling = "noScrolling",
479
- scrollOnlyWhenNotVisible = "scrollOnlyWhenNotVisible"
480
- }
481
- interface TabItemType {
482
- ariaControls?: string;
483
- icon?: ReactNode;
484
- id: string;
485
- isActive?: boolean;
486
- onActivate?: () => void;
487
- text?: ReactElement | string;
488
- }
489
- interface TabsType {
490
- activeTabDefaultPosition: TabsActiveTabDefaultPosition;
491
- fullWidth?: boolean;
492
- size?: TabsSize;
493
- tabItems: TabItemType[];
494
- variant: TabsVariant;
495
- }
496
-
497
- interface TabsItemProps extends Omit<TabItemType, 'onActivate'>, DesignSystemBaseProps {
498
- fullWidth?: boolean;
499
- htmlRef?: RefObject<HTMLButtonElement> | ((instance: HTMLButtonElement | null) => void);
500
- onClick?: MouseEventHandler<HTMLButtonElement> | undefined;
501
- onKeyDown?: KeyboardEventHandler<HTMLButtonElement> | undefined;
502
- size?: TabsSize;
503
- variant: TabsVariant;
504
- }
505
- declare const TabsItem: (props: TabsItemProps) => React__default.JSX.Element;
506
-
507
- interface TabsProps extends TabsType, DesignSystemBaseProps {
508
- }
509
- /**
510
- * This component implements accessibility for tabs according to W3C WAI-ARIA guidelines.
511
- * To ensure proper functionality, tab panels must also be described using ARIA attributes.
512
- *
513
- * More info: https://www.w3.org/WAI/ARIA/apg/patterns/tabs/examples/tabs-manual/
514
- */
515
- declare const Tabs: (props: TabsProps) => React__default.JSX.Element;
516
-
517
- type ModalOnClose = (reasonForClosing: ReasonForClosing) => void;
518
- declare enum ModalWidthType {
519
- default = "default",
520
- narrow = "narrow",// on desktop
521
- narrowOnDesktopAndTablet = "narrowOnDesktopAndTablet"
522
- }
523
- declare enum ModalVerticalPosition {
524
- centerOnTablet = "centerOnTablet",
525
- default = "default"
526
- }
527
- declare enum ReasonForClosing {
528
- closeButton = "closeButton",
529
- esc = "esc",
530
- overlay = "overlay"
531
- }
532
-
533
- interface ModalProps extends DesignSystemBaseProps {
534
- children: ReactElement | string;
535
- className?: string;
536
- closeButtonAriaLabel?: string;
537
- hideCloseButton: boolean;
538
- id?: string;
539
- isOpen: boolean;
540
- onClose: ModalOnClose;
541
- /** string for document.getElementById */
542
- rootElement?: Element | string;
543
- title?: ReactElement | string;
544
- verticalPosition?: ModalVerticalPosition;
545
- widthType?: ModalWidthType | undefined;
546
- withoutPadding?: boolean;
547
- }
548
- declare const Modal: (props: ModalProps) => React__default.ReactPortal | null;
549
-
550
- type TooltipRenderParent = (getParentProps: (userProps?: HTMLProps<Element>) => Record<string, unknown>) => ReactElement;
551
- declare enum TooltipPlacement {
552
- bottom = "bottom",
553
- left = "left",
554
- right = "right",
555
- top = "top"
556
- }
557
- interface TooltipDescriptor {
558
- body: ReactElement | string;
559
- closeButtonAriaLabel?: string;
560
- title?: ReactElement | string;
561
- }
562
- interface TooltipInfoDescriptor extends TooltipDescriptor {
563
- triggerAriaLabel?: string;
564
- }
565
- declare enum TooltipInfoDisplayMethod {
566
- onlyTooltip = "onlyTooltip",
567
- withNbsp = "withNbsp"
568
- }
569
- interface TooltipDelays {
570
- /** ms */
571
- closeDelay?: number;
572
- /** ms */
573
- openDelay?: number;
574
- }
575
- interface BaseTooltipInfoProps {
576
- triggerAriaLabel?: string;
577
- }
578
-
579
- interface TooltipInfoDisplayableCheckProps extends DesignSystemBaseProps {
580
- body: MessageDescriptorWithPrimitiveValues;
581
- closeButtonAriaLabel?: MessageDescriptorWithPrimitiveValues;
582
- displayMethod: TooltipInfoDisplayMethod;
583
- title?: MessageDescriptorWithPrimitiveValues;
584
- triggerAriaLabel?: MessageDescriptorWithPrimitiveValues;
585
- }
586
- declare const TooltipInfoDisplayableCheck: (props: TooltipInfoDisplayableCheckProps) => React__default.JSX.Element | null;
587
-
588
- interface TooltipInfoConditionalProps extends DesignSystemBaseProps, BaseTooltipInfoProps {
589
- displayMethod: TooltipInfoDisplayMethod;
590
- floatingElement?: Partial<TooltipDescriptor>;
591
- }
592
- declare const TooltipInfoConditional: (props: TooltipInfoConditionalProps) => React__default.JSX.Element | null;
593
-
594
- interface CreateTooltipInfoDescriptorParam {
595
- body: MessageDescriptorWithPrimitiveValues;
596
- closeButtonAriaLabel?: MessageDescriptorWithPrimitiveValues;
597
- title?: MessageDescriptorWithPrimitiveValues;
598
- triggerAriaLabel?: MessageDescriptorWithPrimitiveValues;
599
- }
600
- type CreateTooltipInfoDescriptor = (param: CreateTooltipInfoDescriptorParam) => TooltipInfoDescriptor | undefined;
601
- declare const useCreateTooltipInfoDescriptor: () => CreateTooltipInfoDescriptor;
602
-
603
- interface TooltipInfoProps extends DesignSystemBaseProps, TooltipDelays, BaseTooltipInfoProps {
604
- floatingElement: TooltipDescriptor;
605
- }
606
- declare const TooltipInfo: (props: TooltipInfoProps) => React__default.JSX.Element;
607
-
608
- interface TooltipGeneralProps extends DesignSystemBaseProps, TooltipDelays {
609
- floatingElement: TooltipDescriptor;
610
- onClose?: (() => void) | undefined;
611
- onOpen?: (() => void) | undefined;
612
- placement?: TooltipPlacement | undefined;
613
- portalRootElement?: HTMLElement | React__default.MutableRefObject<HTMLElement | null> | null;
614
- renderParent: TooltipRenderParent;
615
- }
616
- declare const TooltipGeneral: (props: TooltipGeneralProps) => React__default.JSX.Element;
617
-
618
- interface CalculatorResultHeader {
619
- bottom?: ReactElement | string | undefined;
620
- main?: ReactElement | string | undefined;
621
- top?: ReactElement | string | undefined;
622
- topTooltip?: TooltipInfoDescriptor;
623
- }
624
- interface CalculatorResultBodyItem {
625
- left: {
626
- element: ReactElement | string;
627
- tooltip?: TooltipInfoDescriptor;
628
- };
629
- right: {
630
- element: ReactElement | string;
631
- };
632
- }
633
- interface CalculatorResultMain {
634
- element: ReactElement | string;
635
- topSeparator?: boolean;
636
- }
637
- interface CalculatorResultModalDescriptor {
638
- content: ReactElement | string;
639
- modalCloseButtonAriaLabel?: string;
640
- triggerText: ReactElement | string;
641
- }
642
- declare enum CalculatorResultInfoPosition {
643
- inBox = "inBox",
644
- underBox = "underBox"
645
- }
646
-
647
- interface CalculatorResultProps extends DesignSystemBaseProps {
648
- bodyItems: CalculatorResultBodyItem[];
649
- containerRef?: RefObject<HTMLDivElement>;
650
- description?: ReactElement | string;
651
- header: CalculatorResultHeader;
652
- infoPosition?: CalculatorResultInfoPosition;
653
- main: CalculatorResultMain;
654
- modal?: CalculatorResultModalDescriptor;
655
- resultBoxRef?: RefObject<HTMLDivElement>;
656
- }
657
- declare const CalculatorResult: (props: CalculatorResultProps) => React__default.JSX.Element;
658
-
659
- declare enum LoaderSize {
660
- lg = "lg",
661
- sm = "sm"
662
- }
663
- interface LoaderProps {
664
- colorScheme: ColorScheme;
665
- loaderSize: LoaderSize;
666
- }
667
-
668
- declare const Loader: React__default.FC<LoaderProps>;
669
-
670
- interface LoaderOverlayBoxProps {
671
- colorScheme: ColorScheme;
672
- loaderSize: LoaderSize;
673
- }
674
-
675
- declare const LoaderOverlayBox: React__default.FC<LoaderOverlayBoxProps>;
676
-
677
- interface FormattedPercentageProps {
678
- readonly maximumFractionDigits?: number;
679
- readonly minimumFractionDigits?: number;
680
- readonly value: number;
681
- }
682
-
683
- declare const _default: React__default.NamedExoticComponent<FormattedPercentageProps>;
684
-
685
- interface UseFormatPercentageTypeParam {
686
- maximumFractionDigits?: number;
687
- minimumFractionDigits?: number;
688
- value: number;
689
- }
690
- type UseFormatPercentage = (param: UseFormatPercentageTypeParam) => string;
691
- declare const useFormattedPercentage: () => UseFormatPercentage;
692
-
693
- declare enum FormatAmountCurrencyDisplay {
694
- code = "code",
695
- name = "name",
696
- none = "none",
697
- symbol = "symbol"
698
- }
699
- declare enum FormatAmountGrouping {
700
- always = "always",
701
- auto = "auto",
702
- none = "none"
703
- }
704
-
705
- interface UseFormatAmountParam {
706
- currency?: string;
707
- currencyDisplay?: FormatAmountCurrencyDisplay;
708
- grouping?: FormatAmountGrouping;
709
- maximumFractionDigits?: number;
710
- minimumFractionDigits?: number;
711
- value: number;
712
- }
713
- type UseFormatAmountType = (param: UseFormatAmountParam) => string;
714
- declare const useFormatAmount: () => UseFormatAmountType;
715
-
716
- interface FormattedAmountProps {
717
- currency?: string;
718
- currencyDisplay?: FormatAmountCurrencyDisplay;
719
- grouping?: FormatAmountGrouping;
720
- maximumFractionDigits?: number;
721
- minimumFractionDigits?: number;
722
- value: number;
723
- }
724
- /**
725
- * displays formatted amount with currency and formatting options
726
- * it includes an accessibility-friendly version without grouping for screen readers
727
- * if the formatted amount with and without grouping is the same, only one version is displayed
728
- */
729
- declare const FormattedAmount: (props: FormattedAmountProps) => React__default.JSX.Element;
730
-
731
- interface CheckboxBaseProps extends RefAttributes<HTMLInputElement> {
732
- readonly checked?: boolean | undefined;
733
- readonly colorScheme?: ColorScheme;
734
- readonly disabled?: boolean | undefined;
735
- readonly id?: string | undefined;
736
- readonly isError?: boolean | undefined;
737
- readonly name: string;
738
- readonly onBlur?: ((event: React__default.FocusEvent<HTMLInputElement>) => void) | undefined;
739
- readonly onChange?: ((event: React__default.ChangeEvent<HTMLInputElement>) => void) | undefined;
740
- readonly value?: string;
741
- }
742
-
743
- declare enum CheckboxPosition {
744
- left = "left",
745
- right = "right"
746
- }
747
- interface CheckboxLabel {
748
- readonly label: React__default.ReactElement | string;
749
- readonly tooltip?: TooltipInfoDescriptor | undefined;
750
- }
751
- interface CheckboxProps extends CheckboxBaseProps {
752
- readonly colorScheme?: ColorScheme;
753
- readonly errorMessage?: React__default.ReactElement | string | undefined;
754
- readonly label?: CheckboxLabel | undefined;
755
- readonly labelColor?: string | undefined;
756
- readonly position?: CheckboxPosition | undefined;
757
- }
758
-
759
- declare const Checkbox: React__default.FC<CheckboxProps>;
760
-
761
- interface FieldControlProps extends DesignSystemBaseProps {
762
- describedBy?: string;
763
- id?: string;
764
- invalid?: boolean;
765
- labelledBy?: string;
766
- name?: string;
767
- required?: boolean;
768
- }
769
- declare enum FieldRequirement {
770
- optional = "optional",
771
- optionalWithoutLabelSuffix = "optionalWithoutLabelSuffix",
772
- required = "required"
773
- }
774
-
775
- declare enum InputSize {
776
- md = "md",
777
- xl = "xl"
778
- }
779
- declare enum InputTextAlign {
780
- center = "center",
781
- left = "left",
782
- right = "right"
783
- }
784
- declare enum FieldWrapperLayout {
785
- horizontal = "horizontal",
786
- vertical = "vertical"
787
- }
788
- interface InputProps extends FieldControlProps {
789
- ariaLabel?: string;
790
- autoComplete?: HTMLInputAutoCompleteAttribute;
791
- colorInput?: Property.Color | undefined;
792
- disabled?: boolean;
793
- halfWidth?: boolean;
794
- maxLength?: number;
795
- name: string;
796
- onBlur?: ((event: FocusEvent<HTMLInputElement>) => void) | undefined;
797
- onChange?: ((event: ChangeEvent<HTMLInputElement>) => void) | undefined;
798
- size: InputSize;
799
- value?: string;
800
- }
801
-
802
- type FieldWrapperControlProps = Required<Pick<FieldControlProps, 'describedBy' | 'id' | 'invalid' | 'labelledBy' | 'required'>>;
803
- declare enum FieldControlAddonPosition {
804
- afterControl = "afterControl",
805
- beforeControl = "beforeControl",
806
- bottom = "bottom"
807
- }
808
- interface FieldControlAddon {
809
- children: ReactNode;
810
- key: React__default.Key;
811
- position: FieldControlAddonPosition;
812
- }
813
- interface FieldWrapperProps extends DesignSystemBaseProps {
814
- children?: ReactNode | ((controlProps: FieldWrapperControlProps) => ReactNode);
815
- /** @deprecated Use `controlSectionWidth` instead. */
816
- childrenWidth?: Property.Width;
817
- controlAddons?: FieldControlAddon[];
818
- controlId?: string;
819
- controlMobileWidth?: Property.Width;
820
- /** `controlSection` represents the right section in horizontal layout. */
821
- controlSectionWidth?: Property.Width;
822
- controlWidth?: Property.Width;
823
- errorMessage?: ReactNode;
824
- /** @default FieldRequirement.required */
825
- fieldRequirement?: FieldRequirement;
826
- /** @deprecated Use `invalid` instead. */
827
- hasError?: boolean;
828
- hintText?: ReactNode;
829
- /** @deprecated Use `controlId` instead. */
830
- id?: string;
831
- /** @default isRenderable(errorMessage) */
832
- invalid?: boolean;
833
- label?: ReactNode;
834
- labelAs?: WebTarget;
835
- labelId?: string;
836
- labelSuffix?: ReactNode;
837
- layout?: FieldWrapperLayout;
838
- /** Necessary for registration of `label` to `FieldLabelStore`. */
839
- name?: string;
840
- note?: ReactNode;
841
- successMessage?: ReactNode;
842
- tooltip?: TooltipInfoDescriptor;
843
- }
844
- /** @deprecated Use `FieldWrapperProps` or `ComponentProps<typeof YourWrappedComponent>` instead. */
845
- type FieldWrapperValues = Omit<FieldWrapperProps, 'children'>;
846
- declare const FieldWrapper: (props: FieldWrapperProps) => React__default.JSX.Element;
847
-
848
- type WithFieldWrapperProps = Omit<FieldWrapperProps, 'children' | 'controlId' | 'id'>;
849
- declare const withFieldWrapper: <TProps extends FieldControlProps, TElement extends HTMLElement>(FieldControl: ComponentType<TProps>) => React__default.ForwardRefExoticComponent<React__default.PropsWithoutRef<TProps & WithFieldWrapperProps> & React__default.RefAttributes<TElement>>;
850
-
851
- interface RadioGeneralProps extends RefAttributes<HTMLInputElement> {
852
- readonly checked?: boolean;
853
- readonly disabled?: boolean;
854
- readonly id?: string | undefined;
855
- readonly invalid?: boolean | undefined;
856
- readonly name: string;
857
- readonly onBlur?: ((event: React__default.FocusEvent<HTMLInputElement>) => void) | undefined;
858
- readonly onChange?: ((event: React__default.ChangeEvent<HTMLInputElement>) => void) | undefined;
859
- readonly value: string;
860
- }
861
-
862
- interface RadioBaseProps extends DesignSystemBaseProps, RadioGeneralProps {
863
- }
864
- declare const RadioBase: React__default.FC<RadioBaseProps>;
865
-
866
- interface RadioLabel {
867
- readonly label: ReactElement | string;
868
- readonly tooltip?: TooltipInfoDescriptor;
869
- }
870
- declare enum RadioPosition {
871
- left = "left",
872
- right = "right"
873
- }
874
-
875
- interface RadioProps extends RadioGeneralProps, DesignSystemBaseProps {
876
- errorMessage?: ReactElement | string | undefined;
877
- label?: RadioLabel | undefined;
878
- position?: RadioPosition | undefined;
879
- }
880
- declare const Radio: React__default.FC<RadioProps>;
881
-
882
- interface RadioFieldProps extends Omit<RadioProps, 'onChange'> {
883
- name: string;
884
- options?: RegisterOptions;
885
- }
886
- declare const RadioField: (props: RadioFieldProps) => React__default.JSX.Element;
887
-
888
- interface RadioGroupItem {
889
- id?: string;
890
- label: RadioLabel;
891
- value: string;
892
- }
893
- declare enum RadioGroupDirection {
894
- column = "column",
895
- columnReverse = "columnReverse",
896
- row = "row",
897
- rowReverse = "rowReverse"
898
- }
899
-
900
- declare enum Spacing {
901
- none = "none",
902
- xxs = "xxs",
903
- xs = "xs",
904
- sm = "sm",
905
- md = "md",
906
- lg = "lg",
907
- xl = "xl",
908
- xxl = "xxl",
909
- xxxl = "xxxl",
910
- xxxxl = "xxxxl",
911
- xxxxxl = "xxxxxl"
912
- }
913
- declare const resolveSpacingValue: (theme: DefaultTheme, spacing: Spacing) => "0" | "4px" | "8px" | "12px" | "16px" | "24px" | "32px" | "40px" | "48px" | "56px" | "64px";
914
-
915
- declare enum FontWeight {
916
- thin100 = "thin",
917
- extraLight200 = "extraLight",
918
- light300 = "light",
919
- regular400 = "regular",
920
- medium500 = "medium",
921
- semiBold600 = "semiBold",
922
- bold700 = "bold",
923
- extraBold800 = "extraBold",
924
- heavy900 = "heavy",
925
- ultra950 = "ultra"
926
- }
927
- declare const resolveFontWeightValue: (theme: DefaultTheme, fontWeight: FontWeight) => 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 950;
314
+ declare const resolveFontWeightValue: (theme: DefaultTheme, fontWeight: FontWeight) => 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 950;
928
315
 
929
316
  declare const theme: {
930
317
  readonly palette: {
@@ -1456,27 +843,654 @@ declare const theme: {
1456
843
  readonly xl: "1280px";
1457
844
  readonly xxl: "1920px";
1458
845
  };
1459
- readonly zIndex: {
1460
- readonly dropdown: 1000;
1461
- readonly sticky: 1020;
1462
- readonly fixed: 1030;
1463
- readonly modalBackdrop: 1040;
1464
- readonly offcanvas: 1050;
1465
- readonly modal: 1060;
1466
- readonly popover: 1070;
1467
- readonly tooltip: 1080;
846
+ readonly zIndex: {
847
+ readonly dropdown: 1000;
848
+ readonly sticky: 1020;
849
+ readonly fixed: 1030;
850
+ readonly modalBackdrop: 1040;
851
+ readonly offcanvas: 1050;
852
+ readonly modal: 1060;
853
+ readonly popover: 1070;
854
+ readonly tooltip: 1080;
855
+ };
856
+ };
857
+ type Theme = typeof theme;
858
+
859
+ declare enum Overflow {
860
+ auto = "auto",
861
+ clip = "clip",
862
+ hidden = "hidden",
863
+ inherit = "inherit",
864
+ visible = "visible"
865
+ }
866
+ declare const resolveOverflowValue: (overflow: Overflow) => string;
867
+
868
+ declare enum BorderRadius {
869
+ none = "none",
870
+ xxs = "xxs",
871
+ xs = "xs",
872
+ sm = "sm",
873
+ md = "md",
874
+ lg = "lg",
875
+ xl = "xl",
876
+ full = "full"
877
+ }
878
+ declare const resolveBorderRadiusValue: (theme: DefaultTheme, borderRadius: BorderRadius) => "0" | "4px" | "8px" | "12px" | "16px" | "24px" | "32px" | "9999px";
879
+
880
+ interface SpanButtonProps extends DesignSystemBaseProps, AriaAttributes {
881
+ borderRadius?: BorderRadius;
882
+ children?: ReactNode;
883
+ className?: string;
884
+ disabled?: boolean;
885
+ onClick?: (event: MouseEvent<HTMLButtonElement>) => void;
886
+ onMouseDown?: (event: MouseEvent<HTMLButtonElement>) => void;
887
+ onMouseUp?: (event: MouseEvent<HTMLButtonElement>) => void;
888
+ onTouchStart?: (event: TouchEvent<HTMLButtonElement>) => void;
889
+ }
890
+ declare const SpanButton: (props: SpanButtonProps) => React__default.JSX.Element;
891
+
892
+ interface SliderBreakpoint {
893
+ readonly bottomBreakpoint: number;
894
+ readonly step: number;
895
+ }
896
+ interface SliderSteps {
897
+ readonly baseStep: number;
898
+ readonly breakpointList: SliderBreakpoint[];
899
+ }
900
+ declare enum SliderStepType {
901
+ visuallyLinearByValue = "visuallyLinearByValue",// step changes dynamically (visually steps are of different sizes)
902
+ visuallySameStepSize = "visuallySameStepSize"
903
+ }
904
+ interface MinMaxLabels {
905
+ readonly max: ReactElement | string;
906
+ readonly min: ReactElement | string;
907
+ }
908
+
909
+ interface SliderProps extends DesignSystemBaseProps {
910
+ ariaLabelForHandle?: string[] | string;
911
+ ariaLabelledByForHandle?: string[] | string;
912
+ ariaValueTextFormatterForHandle?: ((value: number) => string)[] | ((value: number) => string);
913
+ disable?: boolean | undefined;
914
+ max: number;
915
+ min: number;
916
+ minMaxLabels: MinMaxLabels | undefined;
917
+ onChange: (value: number) => void;
918
+ onFinalChange: (value: number) => void;
919
+ stepType: SliderStepType;
920
+ steps: SliderSteps;
921
+ value: number;
922
+ }
923
+ declare const Slider: (props: SliderProps) => React__default.JSX.Element;
924
+
925
+ interface ErrorBoxItem {
926
+ body: ReactElement | string;
927
+ onClick?: () => void;
928
+ }
929
+
930
+ interface ErrorBoxProps {
931
+ colorScheme: ColorScheme;
932
+ content?: ReactElement | string;
933
+ items?: ErrorBoxItem[];
934
+ tabIndex?: number;
935
+ title?: ReactElement | string;
936
+ }
937
+ declare const ErrorBox: React__default.ForwardRefExoticComponent<ErrorBoxProps & React__default.RefAttributes<HTMLDivElement>>;
938
+
939
+ declare enum InfoboxVariant {
940
+ primary = "primary",
941
+ secondary = "secondary"
942
+ }
943
+ declare enum InfoboxSize {
944
+ md = "md",
945
+ sm = "sm",
946
+ xs = "xs"
947
+ }
948
+ interface InfoboxTextContent {
949
+ primary: ReactElement | string;
950
+ secondary?: ReactElement | string;
951
+ }
952
+
953
+ declare enum IconProductType {
954
+ atm = "atm",
955
+ bank = "bank",
956
+ bill = "bill",
957
+ billingPayment = "billingPayment",
958
+ check = "check",
959
+ creditCard = "creditCard",
960
+ helpChat = "helpChat",
961
+ information = "information",
962
+ mailCheck = "mailCheck",
963
+ mobilePhone = "mobilePhone",
964
+ moneta = "moneta",
965
+ passwordLock = "passwordLock",
966
+ piggyBank = "piggyBank",
967
+ reward = "reward",
968
+ suitcase = "suitcase",
969
+ user = "user",
970
+ userAddPlus = "userAddPlus",
971
+ warningCircle = "warningCircle",
972
+ warningTriangle = "warningTriangle"
973
+ }
974
+ declare enum IconProductSize {
975
+ big = "big",
976
+ small = "small"
977
+ }
978
+ declare enum IconProductVariant {
979
+ active = "active",
980
+ default = "default"
981
+ }
982
+
983
+ interface IconProductProps {
984
+ colorScheme?: ColorScheme;
985
+ fill?: string;
986
+ size: IconProductSize;
987
+ stroke?: string;
988
+ type: IconProductType;
989
+ variant?: IconProductVariant | undefined;
990
+ }
991
+ declare const IconProduct: (props: IconProductProps) => React__default.JSX.Element;
992
+
993
+ interface InfoboxProps {
994
+ /** Cannot be used alongside `children`. */
995
+ actionNode?: ReactNode;
996
+ children?: ReactNode;
997
+ colorScheme: ColorScheme;
998
+ fullWidth?: boolean;
999
+ iconProduct?: IconProductType;
1000
+ isWarning?: boolean;
1001
+ mediaType: MediaType;
1002
+ size: InfoboxSize;
1003
+ /** Cannot be used alongside `children`. */
1004
+ textContent?: InfoboxTextContent;
1005
+ variant: InfoboxVariant;
1006
+ }
1007
+ declare const Infobox: (props: InfoboxProps) => React__default.JSX.Element;
1008
+
1009
+ declare enum TableVariant {
1010
+ exchange = "exchange",
1011
+ simple = "simple",
1012
+ simpleWithoutShadow = "simpleWithoutShadow"
1013
+ }
1014
+ declare enum TableTextAlign {
1015
+ center = "center",
1016
+ left = "left",
1017
+ right = "right"
1018
+ }
1019
+
1020
+ interface TableProps {
1021
+ children: ReactNode;
1022
+ variant: TableVariant;
1023
+ width?: Property.Width;
1024
+ }
1025
+ declare const Table: (props: TableProps) => React__default.JSX.Element;
1026
+
1027
+ interface TableBodyProps {
1028
+ children: ReactNode;
1029
+ }
1030
+ declare const TableBody: (props: TableBodyProps) => React__default.JSX.Element;
1031
+
1032
+ interface TableDataProps extends DesignSystemBaseProps {
1033
+ children: ReactNode;
1034
+ delimiter?: boolean;
1035
+ textAlign?: TableTextAlign;
1036
+ variant: TableVariant;
1037
+ }
1038
+ declare const TableData: (props: TableDataProps) => React__default.JSX.Element;
1039
+
1040
+ interface TableHeadProps {
1041
+ children: ReactNode;
1042
+ }
1043
+ declare const TableHead: (props: TableHeadProps) => React__default.JSX.Element;
1044
+
1045
+ interface TableHeadDataProps extends DesignSystemBaseProps {
1046
+ children: ReactNode;
1047
+ delimiter?: boolean;
1048
+ textAlign?: TableTextAlign;
1049
+ variant: TableVariant;
1050
+ width?: Property.Width;
1051
+ }
1052
+ declare const TableHeadData: (props: TableHeadDataProps) => React__default.JSX.Element;
1053
+
1054
+ interface TableRowProps extends DesignSystemBaseProps {
1055
+ children: ReactNode;
1056
+ variant: TableVariant;
1057
+ }
1058
+ declare const TableRow: (props: TableRowProps) => React__default.JSX.Element;
1059
+
1060
+ declare enum TabsVariant {
1061
+ primary = "primary",
1062
+ secondary = "secondary",
1063
+ tertiary = "tertiary"
1064
+ }
1065
+ declare enum TabsSize {
1066
+ lg = "lg",
1067
+ md = "md",
1068
+ sm = "sm",
1069
+ xs = "xs"
1070
+ }
1071
+ declare enum TabsActiveTabDefaultPosition {
1072
+ center = "center",
1073
+ noScrolling = "noScrolling",
1074
+ scrollOnlyWhenNotVisible = "scrollOnlyWhenNotVisible"
1075
+ }
1076
+ interface TabItemType {
1077
+ ariaControls?: string;
1078
+ icon?: ReactNode;
1079
+ id: string;
1080
+ isActive?: boolean;
1081
+ onActivate?: () => void;
1082
+ text?: ReactElement | string;
1083
+ }
1084
+ interface TabsType {
1085
+ activeTabDefaultPosition: TabsActiveTabDefaultPosition;
1086
+ fullWidth?: boolean;
1087
+ size?: TabsSize;
1088
+ tabItems: TabItemType[];
1089
+ variant: TabsVariant;
1090
+ }
1091
+
1092
+ interface TabsItemProps extends Omit<TabItemType, 'onActivate'>, DesignSystemBaseProps {
1093
+ fullWidth?: boolean;
1094
+ htmlRef?: RefObject<HTMLButtonElement> | ((instance: HTMLButtonElement | null) => void);
1095
+ onClick?: MouseEventHandler<HTMLButtonElement> | undefined;
1096
+ onKeyDown?: KeyboardEventHandler<HTMLButtonElement> | undefined;
1097
+ size?: TabsSize;
1098
+ variant: TabsVariant;
1099
+ }
1100
+ declare const TabsItem: (props: TabsItemProps) => React__default.JSX.Element;
1101
+
1102
+ interface TabsProps extends TabsType, DesignSystemBaseProps {
1103
+ }
1104
+ /**
1105
+ * This component implements accessibility for tabs according to W3C WAI-ARIA guidelines.
1106
+ * To ensure proper functionality, tab panels must also be described using ARIA attributes.
1107
+ *
1108
+ * More info: https://www.w3.org/WAI/ARIA/apg/patterns/tabs/examples/tabs-manual/
1109
+ */
1110
+ declare const Tabs: (props: TabsProps) => React__default.JSX.Element;
1111
+
1112
+ type ModalOnClose = (reasonForClosing: ReasonForClosing) => void;
1113
+ declare enum ModalWidthType {
1114
+ default = "default",
1115
+ narrow = "narrow",// on desktop
1116
+ narrowOnDesktopAndTablet = "narrowOnDesktopAndTablet"
1117
+ }
1118
+ declare enum ModalVerticalPosition {
1119
+ centerOnTablet = "centerOnTablet",
1120
+ default = "default"
1121
+ }
1122
+ declare enum ReasonForClosing {
1123
+ closeButton = "closeButton",
1124
+ esc = "esc",
1125
+ overlay = "overlay"
1126
+ }
1127
+
1128
+ interface ModalProps extends DesignSystemBaseProps {
1129
+ children: ReactElement | string;
1130
+ className?: string;
1131
+ closeButtonAriaLabel?: string;
1132
+ hideCloseButton: boolean;
1133
+ id?: string;
1134
+ isOpen: boolean;
1135
+ onClose: ModalOnClose;
1136
+ /** string for document.getElementById */
1137
+ rootElement?: Element | string;
1138
+ title?: ReactElement | string;
1139
+ verticalPosition?: ModalVerticalPosition;
1140
+ widthType?: ModalWidthType | undefined;
1141
+ withoutPadding?: boolean;
1142
+ }
1143
+ declare const Modal: (props: ModalProps) => React__default.ReactPortal | null;
1144
+
1145
+ type TooltipRenderParent = (getParentProps: (userProps?: HTMLProps<Element>) => Record<string, unknown>) => ReactElement;
1146
+ declare enum TooltipPlacement {
1147
+ bottom = "bottom",
1148
+ left = "left",
1149
+ right = "right",
1150
+ top = "top"
1151
+ }
1152
+ interface TooltipDescriptor {
1153
+ body: ReactElement | string;
1154
+ closeButtonAriaLabel?: string;
1155
+ title?: ReactElement | string;
1156
+ }
1157
+ interface TooltipInfoDescriptor extends TooltipDescriptor {
1158
+ triggerAriaLabel?: string;
1159
+ }
1160
+ declare enum TooltipInfoDisplayMethod {
1161
+ onlyTooltip = "onlyTooltip",
1162
+ withNbsp = "withNbsp"
1163
+ }
1164
+ interface TooltipDelays {
1165
+ /** ms */
1166
+ closeDelay?: number;
1167
+ /** ms */
1168
+ openDelay?: number;
1169
+ }
1170
+ interface BaseTooltipInfoProps {
1171
+ triggerAriaLabel?: string;
1172
+ }
1173
+
1174
+ interface TooltipInfoDisplayableCheckProps extends DesignSystemBaseProps {
1175
+ body: MessageDescriptorWithPrimitiveValues;
1176
+ closeButtonAriaLabel?: MessageDescriptorWithPrimitiveValues;
1177
+ displayMethod: TooltipInfoDisplayMethod;
1178
+ title?: MessageDescriptorWithPrimitiveValues;
1179
+ triggerAriaLabel?: MessageDescriptorWithPrimitiveValues;
1180
+ }
1181
+ declare const TooltipInfoDisplayableCheck: (props: TooltipInfoDisplayableCheckProps) => React__default.JSX.Element | null;
1182
+
1183
+ interface TooltipInfoConditionalProps extends DesignSystemBaseProps, BaseTooltipInfoProps {
1184
+ displayMethod: TooltipInfoDisplayMethod;
1185
+ floatingElement?: Partial<TooltipDescriptor>;
1186
+ }
1187
+ declare const TooltipInfoConditional: (props: TooltipInfoConditionalProps) => React__default.JSX.Element | null;
1188
+
1189
+ interface CreateTooltipInfoDescriptorParam {
1190
+ body: MessageDescriptorWithPrimitiveValues;
1191
+ closeButtonAriaLabel?: MessageDescriptorWithPrimitiveValues;
1192
+ title?: MessageDescriptorWithPrimitiveValues;
1193
+ triggerAriaLabel?: MessageDescriptorWithPrimitiveValues;
1194
+ }
1195
+ type CreateTooltipInfoDescriptor = (param: CreateTooltipInfoDescriptorParam) => TooltipInfoDescriptor | undefined;
1196
+ declare const useCreateTooltipInfoDescriptor: () => CreateTooltipInfoDescriptor;
1197
+
1198
+ interface TooltipInfoProps extends DesignSystemBaseProps, TooltipDelays, BaseTooltipInfoProps {
1199
+ floatingElement: TooltipDescriptor;
1200
+ }
1201
+ declare const TooltipInfo: (props: TooltipInfoProps) => React__default.JSX.Element;
1202
+
1203
+ interface TooltipGeneralProps extends DesignSystemBaseProps, TooltipDelays {
1204
+ floatingElement: TooltipDescriptor;
1205
+ onClose?: (() => void) | undefined;
1206
+ onOpen?: (() => void) | undefined;
1207
+ placement?: TooltipPlacement | undefined;
1208
+ portalRootElement?: HTMLElement | React__default.MutableRefObject<HTMLElement | null> | null;
1209
+ renderParent: TooltipRenderParent;
1210
+ }
1211
+ declare const TooltipGeneral: (props: TooltipGeneralProps) => React__default.JSX.Element;
1212
+
1213
+ interface CalculatorResultHeader {
1214
+ bottom?: ReactElement | string | undefined;
1215
+ main?: ReactElement | string | undefined;
1216
+ top?: ReactElement | string | undefined;
1217
+ topTooltip?: TooltipInfoDescriptor;
1218
+ }
1219
+ interface CalculatorResultBodyItem {
1220
+ left: {
1221
+ element: ReactElement | string;
1222
+ tooltip?: TooltipInfoDescriptor;
1223
+ };
1224
+ right: {
1225
+ element: ReactElement | string;
1468
1226
  };
1469
- };
1470
- type Theme = typeof theme;
1227
+ }
1228
+ interface CalculatorResultMain {
1229
+ element: ReactElement | string;
1230
+ topSeparator?: boolean;
1231
+ }
1232
+ interface CalculatorResultModalDescriptor {
1233
+ content: ReactElement | string;
1234
+ modalCloseButtonAriaLabel?: string;
1235
+ triggerText: ReactElement | string;
1236
+ }
1237
+ declare enum CalculatorResultInfoPosition {
1238
+ inBox = "inBox",
1239
+ underBox = "underBox"
1240
+ }
1471
1241
 
1472
- declare enum Overflow {
1242
+ interface CalculatorResultProps extends DesignSystemBaseProps {
1243
+ bodyItems: CalculatorResultBodyItem[];
1244
+ containerRef?: RefObject<HTMLDivElement>;
1245
+ description?: ReactElement | string;
1246
+ header: CalculatorResultHeader;
1247
+ infoPosition?: CalculatorResultInfoPosition;
1248
+ main: CalculatorResultMain;
1249
+ modal?: CalculatorResultModalDescriptor;
1250
+ resultBoxRef?: RefObject<HTMLDivElement>;
1251
+ }
1252
+ declare const CalculatorResult: (props: CalculatorResultProps) => React__default.JSX.Element;
1253
+
1254
+ declare enum LoaderSize {
1255
+ lg = "lg",
1256
+ sm = "sm"
1257
+ }
1258
+ interface LoaderProps {
1259
+ colorScheme: ColorScheme;
1260
+ loaderSize: LoaderSize;
1261
+ }
1262
+
1263
+ declare const Loader: React__default.FC<LoaderProps>;
1264
+
1265
+ interface LoaderOverlayBoxProps {
1266
+ colorScheme: ColorScheme;
1267
+ loaderSize: LoaderSize;
1268
+ }
1269
+
1270
+ declare const LoaderOverlayBox: React__default.FC<LoaderOverlayBoxProps>;
1271
+
1272
+ interface FormattedPercentageProps {
1273
+ readonly maximumFractionDigits?: number;
1274
+ readonly minimumFractionDigits?: number;
1275
+ readonly value: number;
1276
+ }
1277
+
1278
+ declare const _default: React__default.NamedExoticComponent<FormattedPercentageProps>;
1279
+
1280
+ interface UseFormatPercentageTypeParam {
1281
+ maximumFractionDigits?: number;
1282
+ minimumFractionDigits?: number;
1283
+ value: number;
1284
+ }
1285
+ type UseFormatPercentage = (param: UseFormatPercentageTypeParam) => string;
1286
+ declare const useFormattedPercentage: () => UseFormatPercentage;
1287
+
1288
+ declare enum FormatAmountCurrencyDisplay {
1289
+ code = "code",
1290
+ name = "name",
1291
+ none = "none",
1292
+ symbol = "symbol"
1293
+ }
1294
+ declare enum FormatAmountGrouping {
1295
+ always = "always",
1473
1296
  auto = "auto",
1474
- clip = "clip",
1475
- hidden = "hidden",
1476
- inherit = "inherit",
1477
- visible = "visible"
1297
+ none = "none"
1298
+ }
1299
+
1300
+ interface UseFormatAmountParam {
1301
+ currency?: string;
1302
+ currencyDisplay?: FormatAmountCurrencyDisplay;
1303
+ grouping?: FormatAmountGrouping;
1304
+ maximumFractionDigits?: number;
1305
+ minimumFractionDigits?: number;
1306
+ value: number;
1307
+ }
1308
+ type UseFormatAmountType = (param: UseFormatAmountParam) => string;
1309
+ declare const useFormatAmount: () => UseFormatAmountType;
1310
+
1311
+ interface FormattedAmountProps {
1312
+ currency?: string;
1313
+ currencyDisplay?: FormatAmountCurrencyDisplay;
1314
+ grouping?: FormatAmountGrouping;
1315
+ maximumFractionDigits?: number;
1316
+ minimumFractionDigits?: number;
1317
+ value: number;
1318
+ }
1319
+ /**
1320
+ * displays formatted amount with currency and formatting options
1321
+ * it includes an accessibility-friendly version without grouping for screen readers
1322
+ * if the formatted amount with and without grouping is the same, only one version is displayed
1323
+ */
1324
+ declare const FormattedAmount: (props: FormattedAmountProps) => React__default.JSX.Element;
1325
+
1326
+ interface CheckboxBaseProps extends RefAttributes<HTMLInputElement> {
1327
+ readonly checked?: boolean | undefined;
1328
+ readonly colorScheme?: ColorScheme;
1329
+ readonly disabled?: boolean | undefined;
1330
+ readonly id?: string | undefined;
1331
+ readonly isError?: boolean | undefined;
1332
+ readonly name: string;
1333
+ readonly onBlur?: ((event: React__default.FocusEvent<HTMLInputElement>) => void) | undefined;
1334
+ readonly onChange?: ((event: React__default.ChangeEvent<HTMLInputElement>) => void) | undefined;
1335
+ readonly value?: string;
1336
+ }
1337
+
1338
+ declare enum CheckboxPosition {
1339
+ left = "left",
1340
+ right = "right"
1341
+ }
1342
+ interface CheckboxLabel {
1343
+ readonly label: React__default.ReactElement | string;
1344
+ readonly tooltip?: TooltipInfoDescriptor | undefined;
1345
+ }
1346
+ interface CheckboxProps extends CheckboxBaseProps {
1347
+ readonly colorScheme?: ColorScheme;
1348
+ readonly errorMessage?: React__default.ReactElement | string | undefined;
1349
+ readonly label?: CheckboxLabel | undefined;
1350
+ readonly labelColor?: string | undefined;
1351
+ readonly position?: CheckboxPosition | undefined;
1352
+ }
1353
+
1354
+ declare const Checkbox: React__default.FC<CheckboxProps>;
1355
+
1356
+ interface FieldControlProps extends DesignSystemBaseProps {
1357
+ describedBy?: string;
1358
+ id?: string;
1359
+ invalid?: boolean;
1360
+ labelledBy?: string;
1361
+ name?: string;
1362
+ required?: boolean;
1363
+ }
1364
+ declare enum FieldRequirement {
1365
+ optional = "optional",
1366
+ optionalWithoutLabelSuffix = "optionalWithoutLabelSuffix",
1367
+ required = "required"
1368
+ }
1369
+
1370
+ declare enum InputSize {
1371
+ md = "md",
1372
+ xl = "xl"
1373
+ }
1374
+ declare enum InputTextAlign {
1375
+ center = "center",
1376
+ left = "left",
1377
+ right = "right"
1378
+ }
1379
+ declare enum FieldWrapperLayout {
1380
+ horizontal = "horizontal",
1381
+ vertical = "vertical"
1382
+ }
1383
+ interface InputProps extends FieldControlProps {
1384
+ ariaLabel?: string;
1385
+ autoComplete?: HTMLInputAutoCompleteAttribute;
1386
+ colorInput?: Property.Color | undefined;
1387
+ disabled?: boolean;
1388
+ halfWidth?: boolean;
1389
+ maxLength?: number;
1390
+ name: string;
1391
+ onBlur?: ((event: FocusEvent<HTMLInputElement>) => void) | undefined;
1392
+ onChange?: ((event: ChangeEvent<HTMLInputElement>) => void) | undefined;
1393
+ size: InputSize;
1394
+ value?: string;
1395
+ }
1396
+
1397
+ type FieldWrapperControlProps = Required<Pick<FieldControlProps, 'describedBy' | 'id' | 'invalid' | 'labelledBy' | 'required'>>;
1398
+ declare enum FieldControlAddonPosition {
1399
+ afterControl = "afterControl",
1400
+ beforeControl = "beforeControl",
1401
+ bottom = "bottom"
1402
+ }
1403
+ interface FieldControlAddon {
1404
+ children: ReactNode;
1405
+ key: React__default.Key;
1406
+ position: FieldControlAddonPosition;
1407
+ }
1408
+ interface FieldWrapperProps extends DesignSystemBaseProps {
1409
+ children?: ReactNode | ((controlProps: FieldWrapperControlProps) => ReactNode);
1410
+ /** @deprecated Use `controlSectionWidth` instead. */
1411
+ childrenWidth?: Property.Width;
1412
+ controlAddons?: FieldControlAddon[];
1413
+ controlId?: string;
1414
+ controlMobileWidth?: Property.Width;
1415
+ /** `controlSection` represents the right section in horizontal layout. */
1416
+ controlSectionWidth?: Property.Width;
1417
+ controlWidth?: Property.Width;
1418
+ errorMessage?: ReactNode;
1419
+ /** @default FieldRequirement.required */
1420
+ fieldRequirement?: FieldRequirement;
1421
+ /** @deprecated Use `invalid` instead. */
1422
+ hasError?: boolean;
1423
+ hintText?: ReactNode;
1424
+ /** @deprecated Use `controlId` instead. */
1425
+ id?: string;
1426
+ /** @default isRenderable(errorMessage) */
1427
+ invalid?: boolean;
1428
+ label?: ReactNode;
1429
+ labelAs?: WebTarget;
1430
+ labelId?: string;
1431
+ labelSuffix?: ReactNode;
1432
+ layout?: FieldWrapperLayout;
1433
+ /** Necessary for registration of `label` to `FieldLabelStore`. */
1434
+ name?: string;
1435
+ note?: ReactNode;
1436
+ successMessage?: ReactNode;
1437
+ tooltip?: TooltipInfoDescriptor;
1438
+ }
1439
+ /** @deprecated Use `FieldWrapperProps` or `ComponentProps<typeof YourWrappedComponent>` instead. */
1440
+ type FieldWrapperValues = Omit<FieldWrapperProps, 'children'>;
1441
+ declare const FieldWrapper: (props: FieldWrapperProps) => React__default.JSX.Element;
1442
+
1443
+ type WithFieldWrapperProps = Omit<FieldWrapperProps, 'children' | 'controlId' | 'id'>;
1444
+ declare const withFieldWrapper: <TProps extends FieldControlProps, TElement extends HTMLElement>(FieldControl: ComponentType<TProps>) => React__default.ForwardRefExoticComponent<React__default.PropsWithoutRef<TProps & WithFieldWrapperProps> & React__default.RefAttributes<TElement>>;
1445
+
1446
+ interface RadioGeneralProps extends RefAttributes<HTMLInputElement> {
1447
+ readonly checked?: boolean;
1448
+ readonly disabled?: boolean;
1449
+ readonly id?: string | undefined;
1450
+ readonly invalid?: boolean | undefined;
1451
+ readonly name: string;
1452
+ readonly onBlur?: ((event: React__default.FocusEvent<HTMLInputElement>) => void) | undefined;
1453
+ readonly onChange?: ((event: React__default.ChangeEvent<HTMLInputElement>) => void) | undefined;
1454
+ readonly value: string;
1455
+ }
1456
+
1457
+ interface RadioBaseProps extends DesignSystemBaseProps, RadioGeneralProps {
1458
+ }
1459
+ declare const RadioBase: React__default.FC<RadioBaseProps>;
1460
+
1461
+ interface RadioLabel {
1462
+ readonly label: ReactElement | string;
1463
+ readonly tooltip?: TooltipInfoDescriptor;
1464
+ }
1465
+ declare enum RadioPosition {
1466
+ left = "left",
1467
+ right = "right"
1468
+ }
1469
+
1470
+ interface RadioProps extends RadioGeneralProps, DesignSystemBaseProps {
1471
+ errorMessage?: ReactElement | string | undefined;
1472
+ label?: RadioLabel | undefined;
1473
+ position?: RadioPosition | undefined;
1474
+ }
1475
+ declare const Radio: React__default.FC<RadioProps>;
1476
+
1477
+ interface RadioFieldProps extends Omit<RadioProps, 'onChange'> {
1478
+ name: string;
1479
+ options?: RegisterOptions;
1480
+ }
1481
+ declare const RadioField: (props: RadioFieldProps) => React__default.JSX.Element;
1482
+
1483
+ interface RadioGroupItem {
1484
+ id?: string;
1485
+ label: RadioLabel;
1486
+ value: string;
1487
+ }
1488
+ declare enum RadioGroupDirection {
1489
+ column = "column",
1490
+ columnReverse = "columnReverse",
1491
+ row = "row",
1492
+ rowReverse = "rowReverse"
1478
1493
  }
1479
- declare const resolveOverflowValue: (overflow: Overflow) => string;
1480
1494
 
1481
1495
  interface RadioGroupControlProps extends FieldControlProps, DesignSystemBaseProps {
1482
1496
  columnGap?: Spacing;
@@ -2268,4 +2282,4 @@ declare const useMessageFormatter: <TInput extends unknown>(getMessage: (value:
2268
2282
  [x: string]: any;
2269
2283
  }>;
2270
2284
 
2271
- export { Accordion, AccordionContent, AccordionItem, type AccordionItemProps, AccordionKeyValue, type AccordionProps, AccordionVariant, AsyncSelect as AsyncReactSelect, Button, type ButtonProps, ButtonSize, ButtonStyle, ButtonType, ButtonsLayout, ButtonsLayoutAlign, ButtonsLayoutDirection, type ButtonsLayoutProps, ButtonsLayoutWrap, CalculatorResult, type CalculatorResultBodyItem, type CalculatorResultHeader, CalculatorResultInfoPosition, type CalculatorResultMain, type CalculatorResultModalDescriptor, type CalculatorResultProps, Checkbox, type CheckboxLabel, CheckboxPosition, type CheckboxProps, type ChooseColor, type ColorObject, ColorScheme, ColorSchemeProvider, type ColorSchemeProviderProps, ComboBox, ComboBoxControl, type ComboBoxControlProps, ComboBoxField, type ComboBoxFieldProps, type ComboBoxItem, type ComboBoxItemOrder, ComboBoxItemOrderSource, type ComboBoxProps, type CreateTooltipInfoDescriptor, type CreateTooltipInfoDescriptorParam, DatePicker, DatePickerControl, type DatePickerControlProps, DatePickerField, type DatePickerFieldProps, type DatePickerProps, type DesignSystemBaseProps, DesignSystemProvider, type DesignSystemProviderProps, EmailInput, type EmailInputProps, ErrorBox, type ErrorBoxItem, type ErrorBoxProps, type FieldConfig, FieldConfigProvider, type FieldConfigProviderProps, type FieldControlAddon, FieldControlAddonPosition, type FieldControlProps, FieldLabelStoreProvider, type FieldLabelStoreProviderProps, FieldRequirement, FieldWrapper, FieldWrapperLayout, type FieldWrapperProps, type FieldWrapperValues, FontWeight, FormatAmountCurrencyDisplay, FormatAmountGrouping, FormattedAmount, type FormattedAmountProps, FormattedHtmlMessage, type FormattedHtmlMessageProps, FormattedMessage, type FormattedMessageProps, _default as FormattedPercentage, type GetColor, IconProduct, type IconProductProps, IconProductSize, IconProductType, IconProductVariant, IconSystem, type IconSystemProps, IconSystemSize, IconSystemType, Infobox, type InfoboxProps, InfoboxSize, type InfoboxTextContent, InfoboxVariant, InputBase, type InputBaseProps, InputLabel, type InputLabelProps, InputLabelSize, InputSize, InputTextAlign, Loader, LoaderOverlayBox, type LoaderOverlayBoxProps, type LoaderProps, LoaderSize, MaskedInput, MaskedInputBase, type MaskedInputBaseProps, MaskedInputField, type MaskedInputProps, MediaType, MediaTypeProvider, type MediaTypeProviderProps, type MessageDescriptorWithPrimitiveValues, type MessageDescriptorWithValues, type MessageValues, Modal, type ModalOnClose, type ModalProps, ModalVerticalPosition, ModalWidthType, NumberInput, NumberInputField, type NumberInputProps, Overflow, Paper, type PaperProps, PaperShadow, PhoneInput, PhoneInputField, PhoneInputNext, type PhoneInputNextProps, type PhoneInputProps, type PrimitiveMessageValues, ProgressPaper, type ProgressPaperProps, Radio, RadioBase, type RadioBaseProps, RadioButton, RadioButtonGroup, RadioButtonGroupControl, type RadioButtonGroupControlProps, RadioButtonGroupField, type RadioButtonGroupFieldProps, type RadioButtonGroupItem, type RadioButtonGroupProps, type RadioButtonLabel, type RadioButtonProps, RadioField, type RadioFieldProps, RadioGroup, RadioGroupControl, type RadioGroupControlProps, RadioGroupDirection, RadioGroupField, type RadioGroupFieldProps, type RadioGroupItem, type RadioGroupProps, type RadioLabel, RadioPosition, type RadioProps, Select$1 as ReactSelect, SelectBase as ReactSelectBase, SelectField$1 as ReactSelectField, type SelectOption as ReactSelectOption, type SelectProps$1 as ReactSelectProps, ReasonForClosing, SearchInput, type SearchInputProps, Select, SelectControl, type SelectControlProps, SelectField, type SelectFieldProps, type SelectItem, type SelectItemOrder, SelectItemOrderSource, type SelectProps, Slider, type SliderBreakpoint, SliderInput, type SliderInputLabel, type SliderInputMinMax, type SliderInputProps, SliderInputRoundingType, type SliderProps, SliderStepType, type SliderSteps, Spacing, SpanButton, type SpanButtonProps, Stack, StackDirection, type StackProps, type TabItemType, Table, TableBody, type TableBodyProps, TableData, type TableDataProps, TableHead, TableHeadData, type TableHeadDataProps, type TableHeadProps, type TableProps, TableRow, type TableRowProps, TableTextAlign, TableVariant, Tabs, TabsActiveTabDefaultPosition, TabsItem, type TabsItemProps, type TabsProps, TabsSize, type TabsType, TabsVariant, Tag, TagIconPosition, type TagProps, TagSize, TagTextTransform, TagType, TextArea, type TextAreaProps, TextInput, type TextInputProps, type Theme, Toggle, type ToggleProps, type TooltipDescriptor, TooltipGeneral, type TooltipGeneralProps, TooltipInfo, TooltipInfoConditional, type TooltipInfoConditionalProps, type TooltipInfoDescriptor, TooltipInfoDisplayMethod, TooltipInfoDisplayableCheck, type TooltipInfoDisplayableCheckProps, type TooltipInfoProps, TooltipPlacement, type TooltipRenderParent, TrailingTextInput, type TrailingTextInputProps, Typography, type TypographyProps, TypographyTextAlign, TypographyVariant, type UseColorSchemeOptions, type UseColorSchemeParam, type UseDesignSystemOptions, type UseDesignSystemParam, type UseFormatAmountParam, type UseMediaTypeOptions, type UseMediaTypeParam, VisuallyHidden, type VisuallyHiddenProps, datePickerValueFormat, getColor, identityFormatter, isRenderable, resolveFontWeightValue, resolveOverflowValue, resolveSpacingValue, theme, useChooseColor, useColorScheme, useCreateTooltipInfoDescriptor, useDesignSystem, useFieldConfig, useFieldLabels, useFormatAmount, useFormattedPercentage, useIsMessageDisplayable, useMediaType, useMessageFormatter, useRegisterFieldLabel, withFieldWrapper, withMaskedInputField };
2285
+ export { Accordion, AccordionContent, type AccordionContentType, AccordionItem, type AccordionItemProps, type AccordionItemType, AccordionKeyValue, type AccordionKeyValueProps, type AccordionProps, AccordionVariant, AsyncSelect as AsyncReactSelect, BorderRadius, Button, type ButtonProps, ButtonSize, ButtonStyle, ButtonType, ButtonsLayout, ButtonsLayoutAlign, ButtonsLayoutDirection, type ButtonsLayoutProps, ButtonsLayoutWrap, CalculatorResult, type CalculatorResultBodyItem, type CalculatorResultHeader, CalculatorResultInfoPosition, type CalculatorResultMain, type CalculatorResultModalDescriptor, type CalculatorResultProps, Checkbox, type CheckboxLabel, CheckboxPosition, type CheckboxProps, type ChooseColor, type ColorObject, ColorScheme, ColorSchemeProvider, type ColorSchemeProviderProps, ComboBox, ComboBoxControl, type ComboBoxControlProps, ComboBoxField, type ComboBoxFieldProps, type ComboBoxItem, type ComboBoxItemOrder, ComboBoxItemOrderSource, type ComboBoxProps, type CreateTooltipInfoDescriptor, type CreateTooltipInfoDescriptorParam, DatePicker, DatePickerControl, type DatePickerControlProps, DatePickerField, type DatePickerFieldProps, type DatePickerProps, type DesignSystemBaseProps, DesignSystemProvider, type DesignSystemProviderProps, EmailInput, type EmailInputProps, ErrorBox, type ErrorBoxItem, type ErrorBoxProps, type FieldConfig, FieldConfigProvider, type FieldConfigProviderProps, type FieldControlAddon, FieldControlAddonPosition, type FieldControlProps, FieldLabelStoreProvider, type FieldLabelStoreProviderProps, FieldRequirement, FieldWrapper, FieldWrapperLayout, type FieldWrapperProps, type FieldWrapperValues, FontWeight, FormatAmountCurrencyDisplay, FormatAmountGrouping, FormattedAmount, type FormattedAmountProps, FormattedHtmlMessage, type FormattedHtmlMessageProps, FormattedMessage, type FormattedMessageProps, _default as FormattedPercentage, type GetColor, IconProduct, type IconProductProps, IconProductSize, IconProductType, IconProductVariant, IconSystem, type IconSystemProps, IconSystemSize, IconSystemType, Infobox, type InfoboxProps, InfoboxSize, type InfoboxTextContent, InfoboxVariant, InputBase, type InputBaseProps, InputLabel, type InputLabelProps, InputLabelSize, InputSize, InputTextAlign, Loader, LoaderOverlayBox, type LoaderOverlayBoxProps, type LoaderProps, LoaderSize, MaskedInput, MaskedInputBase, type MaskedInputBaseProps, MaskedInputField, type MaskedInputProps, MediaType, MediaTypeProvider, type MediaTypeProviderProps, type MessageDescriptorWithPrimitiveValues, type MessageDescriptorWithValues, type MessageValues, Modal, type ModalOnClose, type ModalProps, ModalVerticalPosition, ModalWidthType, NumberInput, NumberInputField, type NumberInputProps, Overflow, Paper, type PaperProps, PaperShadow, PhoneInput, PhoneInputField, PhoneInputNext, type PhoneInputNextProps, type PhoneInputProps, type PrimitiveMessageValues, ProgressPaper, type ProgressPaperProps, Radio, RadioBase, type RadioBaseProps, RadioButton, RadioButtonGroup, RadioButtonGroupControl, type RadioButtonGroupControlProps, RadioButtonGroupField, type RadioButtonGroupFieldProps, type RadioButtonGroupItem, type RadioButtonGroupProps, type RadioButtonLabel, type RadioButtonProps, RadioField, type RadioFieldProps, RadioGroup, RadioGroupControl, type RadioGroupControlProps, RadioGroupDirection, RadioGroupField, type RadioGroupFieldProps, type RadioGroupItem, type RadioGroupProps, type RadioLabel, RadioPosition, type RadioProps, Select$1 as ReactSelect, SelectBase as ReactSelectBase, SelectField$1 as ReactSelectField, type SelectOption as ReactSelectOption, type SelectProps$1 as ReactSelectProps, ReasonForClosing, SearchInput, type SearchInputProps, Select, SelectControl, type SelectControlProps, SelectField, type SelectFieldProps, type SelectItem, type SelectItemOrder, SelectItemOrderSource, type SelectProps, Slider, type SliderBreakpoint, SliderInput, type SliderInputLabel, type SliderInputMinMax, type SliderInputProps, SliderInputRoundingType, type SliderProps, SliderStepType, type SliderSteps, Spacing, SpanButton, type SpanButtonProps, Stack, StackDirection, type StackProps, type TabItemType, Table, TableBody, type TableBodyProps, TableData, type TableDataProps, TableHead, TableHeadData, type TableHeadDataProps, type TableHeadProps, type TableProps, TableRow, type TableRowProps, TableTextAlign, TableVariant, Tabs, TabsActiveTabDefaultPosition, TabsItem, type TabsItemProps, type TabsProps, TabsSize, type TabsType, TabsVariant, Tag, TagIconPosition, type TagProps, TagSize, TagTextTransform, TagType, TextArea, type TextAreaProps, TextInput, type TextInputProps, type Theme, Toggle, type ToggleProps, type TooltipDescriptor, TooltipGeneral, type TooltipGeneralProps, TooltipInfo, TooltipInfoConditional, type TooltipInfoConditionalProps, type TooltipInfoDescriptor, TooltipInfoDisplayMethod, TooltipInfoDisplayableCheck, type TooltipInfoDisplayableCheckProps, type TooltipInfoProps, TooltipPlacement, type TooltipRenderParent, TrailingTextInput, type TrailingTextInputProps, Typography, type TypographyProps, TypographyTextAlign, TypographyVariant, type UseColorSchemeOptions, type UseColorSchemeParam, type UseDesignSystemOptions, type UseDesignSystemParam, type UseFormatAmountParam, type UseMediaTypeOptions, type UseMediaTypeParam, VisuallyHidden, type VisuallyHiddenProps, datePickerValueFormat, getColor, identityFormatter, isRenderable, resolveBorderRadiusValue, resolveFontWeightValue, resolveOverflowValue, resolveSpacingValue, theme, useChooseColor, useColorScheme, useCreateTooltipInfoDescriptor, useDesignSystem, useFieldConfig, useFieldLabels, useFormatAmount, useFormattedPercentage, useIsMessageDisplayable, useMediaType, useMessageFormatter, useRegisterFieldLabel, withFieldWrapper, withMaskedInputField };