@mmb-digital/design-system-web 0.1.347-alpha.0 → 0.1.348-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +172 -356
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +51 -37
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import * as csstype from 'csstype';
|
|
3
|
-
import { Property } from 'csstype';
|
|
4
1
|
import * as react from 'react';
|
|
5
|
-
import { ReactNode, ReactElement, HTMLProps, MutableRefObject, ElementType, HTMLInputAutoCompleteAttribute, FocusEvent, ChangeEvent,
|
|
2
|
+
import { ReactNode, ReactElement, HTMLProps, MutableRefObject, ElementType, HTMLInputAutoCompleteAttribute, FocusEvent, ChangeEvent, Ref, FC, AriaAttributes, RefObject, MouseEvent, AriaRole, HTMLAttributeAnchorTarget, MouseEventHandler, KeyboardEventHandler, HTMLAttributes, HTMLInputTypeAttribute, Key, ComponentType, KeyboardEvent, ComponentProps, BaseSyntheticEvent, FocusEventHandler, TouchEvent, TextareaHTMLAttributes } from 'react';
|
|
3
|
+
import { Property } from 'csstype';
|
|
6
4
|
import { MessageDescriptor } from 'react-intl';
|
|
7
5
|
import { PrimitiveType, FormatXMLElementFn } from 'intl-messageformat';
|
|
8
6
|
import { Theme as Theme$1 } from '@emotion/react';
|
|
@@ -13,7 +11,7 @@ import { Formatter } from 'afformative';
|
|
|
13
11
|
import { Locale } from 'date-fns';
|
|
14
12
|
import { DatePickerProps as DatePickerProps$1 } from 'react-datepicker';
|
|
15
13
|
import { FactoryOpts } from 'imask';
|
|
16
|
-
|
|
14
|
+
export { useMergeRefs } from '@floating-ui/react';
|
|
17
15
|
import { z } from 'zod';
|
|
18
16
|
import emotionStyled from '@emotion/styled';
|
|
19
17
|
|
|
@@ -24,15 +22,15 @@ type IsMessageDisplayableHookReturnFunction = (messageDescriptor: MessageDescrip
|
|
|
24
22
|
interface FormattedMessageProps extends MessageDescriptor {
|
|
25
23
|
values?: MessageValues;
|
|
26
24
|
}
|
|
27
|
-
declare const FormattedMessage: (props: FormattedMessageProps) =>
|
|
25
|
+
declare const FormattedMessage: (props: FormattedMessageProps) => react.JSX.Element;
|
|
28
26
|
|
|
29
27
|
interface FormattedHtmlMessageProps extends MessageDescriptorWithPrimitiveValues {
|
|
30
28
|
}
|
|
31
|
-
declare const FormattedHtmlMessage: (props: FormattedHtmlMessageProps) =>
|
|
29
|
+
declare const FormattedHtmlMessage: (props: FormattedHtmlMessageProps) => react.JSX.Element;
|
|
32
30
|
|
|
33
31
|
declare const useIsMessageDisplayable: () => IsMessageDisplayableHookReturnFunction;
|
|
34
32
|
|
|
35
|
-
declare const useGetFormattedHtmlMessageIfDisplayable: () => (messageDescriptor: MessageDescriptorWithPrimitiveValues) =>
|
|
33
|
+
declare const useGetFormattedHtmlMessageIfDisplayable: () => (messageDescriptor: MessageDescriptorWithPrimitiveValues) => react.JSX.Element | undefined;
|
|
36
34
|
|
|
37
35
|
type TooltipRenderParent = (getParentProps: (userProps?: HTMLProps<Element>) => Record<string, unknown>) => ReactElement;
|
|
38
36
|
declare enum TooltipPlacement {
|
|
@@ -80,13 +78,13 @@ interface TooltipInfoDisplayableCheckProps extends DesignSystemBaseProps {
|
|
|
80
78
|
title?: MessageDescriptorWithPrimitiveValues;
|
|
81
79
|
triggerAriaLabel?: MessageDescriptorWithPrimitiveValues;
|
|
82
80
|
}
|
|
83
|
-
declare const TooltipInfoDisplayableCheck: (props: TooltipInfoDisplayableCheckProps) =>
|
|
81
|
+
declare const TooltipInfoDisplayableCheck: (props: TooltipInfoDisplayableCheckProps) => react.JSX.Element | null;
|
|
84
82
|
|
|
85
83
|
interface TooltipInfoConditionalProps extends DesignSystemBaseProps, BaseTooltipInfoProps {
|
|
86
84
|
displayMethod: TooltipInfoDisplayMethod;
|
|
87
85
|
floatingElement?: Partial<TooltipDescriptor>;
|
|
88
86
|
}
|
|
89
|
-
declare const TooltipInfoConditional: (props: TooltipInfoConditionalProps) =>
|
|
87
|
+
declare const TooltipInfoConditional: (props: TooltipInfoConditionalProps) => react.JSX.Element | null;
|
|
90
88
|
|
|
91
89
|
interface CreateTooltipInfoDescriptorParam {
|
|
92
90
|
body: MessageDescriptorWithPrimitiveValues;
|
|
@@ -101,7 +99,7 @@ declare const useCreateTooltipInfoDescriptor: () => CreateTooltipInfoDescriptor;
|
|
|
101
99
|
interface TooltipInfoProps extends DesignSystemBaseProps, TooltipDelays, BaseTooltipInfoProps {
|
|
102
100
|
floatingElement: TooltipDescriptor;
|
|
103
101
|
}
|
|
104
|
-
declare const TooltipInfo: (props: TooltipInfoProps) =>
|
|
102
|
+
declare const TooltipInfo: (props: TooltipInfoProps) => react.JSX.Element;
|
|
105
103
|
|
|
106
104
|
interface TooltipGeneralProps extends DesignSystemBaseProps, TooltipDelays {
|
|
107
105
|
floatingElement: TooltipDescriptor;
|
|
@@ -111,7 +109,7 @@ interface TooltipGeneralProps extends DesignSystemBaseProps, TooltipDelays {
|
|
|
111
109
|
portalRootElement?: HTMLElement | MutableRefObject<HTMLElement | null> | null;
|
|
112
110
|
renderParent: TooltipRenderParent;
|
|
113
111
|
}
|
|
114
|
-
declare const TooltipGeneral: (props: TooltipGeneralProps) =>
|
|
112
|
+
declare const TooltipGeneral: (props: TooltipGeneralProps) => react.JSX.Element;
|
|
115
113
|
|
|
116
114
|
type TooltipInfoDescriptorPropsSubset = Pick<TooltipInfoProps, 'floatingElement' | 'triggerAriaLabel'>;
|
|
117
115
|
declare const mapTooltipInfoDescriptorToPropsSubset: <T extends TooltipInfoDescriptor | undefined>(tooltipInfoDescriptor: T) => T extends undefined ? undefined : TooltipInfoDescriptorPropsSubset;
|
|
@@ -175,6 +173,7 @@ interface InputProps extends FieldControlProps {
|
|
|
175
173
|
onBlur?: ((event: FocusEvent<HTMLInputElement>) => void) | undefined;
|
|
176
174
|
onChange?: ((event: ChangeEvent<HTMLInputElement>) => void) | undefined;
|
|
177
175
|
prefix?: ReactNode;
|
|
176
|
+
ref?: Ref<HTMLInputElement>;
|
|
178
177
|
size: InputSize;
|
|
179
178
|
suffix?: ReactNode;
|
|
180
179
|
value?: string;
|
|
@@ -333,7 +332,7 @@ interface FieldLabelStoreProviderProps {
|
|
|
333
332
|
*
|
|
334
333
|
* Field labels can be registered via the `useRegisterFieldLabel` hook, and consumed via the `useFieldLabels` hook.
|
|
335
334
|
**/
|
|
336
|
-
declare const FieldLabelStoreProvider: (props: FieldLabelStoreProviderProps) =>
|
|
335
|
+
declare const FieldLabelStoreProvider: (props: FieldLabelStoreProviderProps) => react.JSX.Element;
|
|
337
336
|
declare const useFieldLabels: () => Record<string, ReactNode>;
|
|
338
337
|
declare const useRegisterFieldLabel: () => (name: string, label: ReactNode) => void;
|
|
339
338
|
|
|
@@ -348,14 +347,14 @@ interface FieldConfigProviderProps extends FieldConfig {
|
|
|
348
347
|
*
|
|
349
348
|
* @deprecated Use `DesignSystemProvider` with the `messages` prop instead.
|
|
350
349
|
*/
|
|
351
|
-
declare const FieldConfigProvider: (props: FieldConfigProviderProps) =>
|
|
350
|
+
declare const FieldConfigProvider: (props: FieldConfigProviderProps) => react.JSX.Element;
|
|
352
351
|
declare const useFieldConfig: () => FieldConfig;
|
|
353
352
|
|
|
354
353
|
interface DesignSystemMessagesProviderProps {
|
|
355
354
|
children: ReactNode;
|
|
356
355
|
messages: DesignSystemPartialMessages;
|
|
357
356
|
}
|
|
358
|
-
declare const DesignSystemMessagesProvider: (props: DesignSystemMessagesProviderProps) =>
|
|
357
|
+
declare const DesignSystemMessagesProvider: (props: DesignSystemMessagesProviderProps) => react.JSX.Element;
|
|
359
358
|
|
|
360
359
|
declare const useDesignSystemMessages: () => DesignSystemFullMessages;
|
|
361
360
|
|
|
@@ -363,7 +362,7 @@ interface DesignSystemPropDefaultsProviderProps {
|
|
|
363
362
|
children: ReactNode;
|
|
364
363
|
defaults: DesignSystemPartialPropDefaults;
|
|
365
364
|
}
|
|
366
|
-
declare const DesignSystemPropDefaultsProvider: (props: DesignSystemPropDefaultsProviderProps) =>
|
|
365
|
+
declare const DesignSystemPropDefaultsProvider: (props: DesignSystemPropDefaultsProviderProps) => react.JSX.Element;
|
|
367
366
|
|
|
368
367
|
declare const useDesignSystemPropDefaults: () => DesignSystemFullPropDefaults;
|
|
369
368
|
|
|
@@ -387,24 +386,24 @@ interface AccordionProps extends DesignSystemBaseProps {
|
|
|
387
386
|
data: AccordionItemType[];
|
|
388
387
|
variant?: AccordionVariant;
|
|
389
388
|
}
|
|
390
|
-
declare const Accordion: (props: AccordionProps) =>
|
|
389
|
+
declare const Accordion: (props: AccordionProps) => react.JSX.Element;
|
|
391
390
|
|
|
392
391
|
interface AccordionItemProps extends AccordionItemType, DesignSystemBaseProps {
|
|
393
392
|
variant: AccordionVariant;
|
|
394
393
|
}
|
|
395
|
-
declare const AccordionItem: (props: AccordionItemProps) =>
|
|
394
|
+
declare const AccordionItem: (props: AccordionItemProps) => react.JSX.Element;
|
|
396
395
|
|
|
397
396
|
interface AccordionContentType extends DesignSystemBaseProps {
|
|
398
397
|
children: ReactNode;
|
|
399
398
|
}
|
|
400
|
-
declare const AccordionContent: (props: AccordionContentType) =>
|
|
399
|
+
declare const AccordionContent: (props: AccordionContentType) => react.JSX.Element;
|
|
401
400
|
|
|
402
401
|
interface AccordionKeyValueProps extends DesignSystemBaseProps {
|
|
403
402
|
colorScheme?: ColorScheme;
|
|
404
403
|
label: ReactNode;
|
|
405
404
|
value: ReactNode;
|
|
406
405
|
}
|
|
407
|
-
declare const AccordionKeyValue: (props: AccordionKeyValueProps) =>
|
|
406
|
+
declare const AccordionKeyValue: (props: AccordionKeyValueProps) => react.JSX.Element;
|
|
408
407
|
|
|
409
408
|
declare enum IconSystemType {
|
|
410
409
|
arrowDown = "arrowDown",
|
|
@@ -462,7 +461,7 @@ interface IconSystemProps {
|
|
|
462
461
|
stroke?: string;
|
|
463
462
|
type: IconSystemType;
|
|
464
463
|
}
|
|
465
|
-
declare const IconSystem: (props: IconSystemProps) =>
|
|
464
|
+
declare const IconSystem: (props: IconSystemProps) => react.JSX.Element;
|
|
466
465
|
|
|
467
466
|
declare enum ButtonStyle {
|
|
468
467
|
primary = "primary",
|
|
@@ -529,7 +528,7 @@ interface ButtonProps extends SsrProps, DesignSystemBaseProps, AriaAttributes {
|
|
|
529
528
|
target?: HTMLAttributeAnchorTarget;
|
|
530
529
|
type: ButtonType;
|
|
531
530
|
}
|
|
532
|
-
declare const Button: (props: ButtonProps) =>
|
|
531
|
+
declare const Button: (props: ButtonProps) => react.JSX.Element;
|
|
533
532
|
|
|
534
533
|
declare enum Spacing {
|
|
535
534
|
none = "none",
|
|
@@ -1141,7 +1140,7 @@ declare enum TextDecoration {
|
|
|
1141
1140
|
underline = "underline"
|
|
1142
1141
|
}
|
|
1143
1142
|
declare const resolveTextDecorationValue: (textDecoration: TextDecoration) => "none !important" | "underline";
|
|
1144
|
-
declare const getTextDecorationStyle: (textDecoration?: TextDecoration) =>
|
|
1143
|
+
declare const getTextDecorationStyle: (textDecoration?: TextDecoration) => any;
|
|
1145
1144
|
|
|
1146
1145
|
declare enum ButtonsLayoutAlign {
|
|
1147
1146
|
center = "center",
|
|
@@ -1164,7 +1163,7 @@ interface ButtonsLayoutProps extends SsrProps {
|
|
|
1164
1163
|
gap?: Spacing;
|
|
1165
1164
|
wrap?: FlexWrap;
|
|
1166
1165
|
}
|
|
1167
|
-
declare const ButtonsLayout: (props: ButtonsLayoutProps) =>
|
|
1166
|
+
declare const ButtonsLayout: (props: ButtonsLayoutProps) => react.JSX.Element;
|
|
1168
1167
|
|
|
1169
1168
|
interface CalculatorResultHeader {
|
|
1170
1169
|
bottom?: ReactElement | string | undefined;
|
|
@@ -1209,7 +1208,7 @@ interface CalculatorResultProps extends DesignSystemBaseProps {
|
|
|
1209
1208
|
modal?: CalculatorResultModalDescriptor;
|
|
1210
1209
|
resultBoxRef?: RefObject<HTMLDivElement | null>;
|
|
1211
1210
|
}
|
|
1212
|
-
declare const CalculatorResult: (props: CalculatorResultProps) =>
|
|
1211
|
+
declare const CalculatorResult: (props: CalculatorResultProps) => react.JSX.Element;
|
|
1213
1212
|
|
|
1214
1213
|
interface CheckboxControlProps {
|
|
1215
1214
|
ariaLabel?: string;
|
|
@@ -1222,9 +1221,10 @@ interface CheckboxControlProps {
|
|
|
1222
1221
|
name: string;
|
|
1223
1222
|
onBlur?: (event: FocusEvent<HTMLInputElement>) => void;
|
|
1224
1223
|
onChange?: (event: ChangeEvent<HTMLInputElement>) => void;
|
|
1224
|
+
ref?: Ref<HTMLInputElement>;
|
|
1225
1225
|
value?: string;
|
|
1226
1226
|
}
|
|
1227
|
-
declare const CheckboxControl:
|
|
1227
|
+
declare const CheckboxControl: (props: CheckboxControlProps) => react.JSX.Element;
|
|
1228
1228
|
|
|
1229
1229
|
declare enum CheckboxPosition {
|
|
1230
1230
|
left = "left",
|
|
@@ -1237,12 +1237,12 @@ interface CheckboxProps extends CheckboxControlProps, InputLabelPassthroughProps
|
|
|
1237
1237
|
position?: CheckboxPosition;
|
|
1238
1238
|
tooltipPosition?: LabelTooltipPosition;
|
|
1239
1239
|
}
|
|
1240
|
-
declare const Checkbox:
|
|
1240
|
+
declare const Checkbox: (props: CheckboxProps) => react.JSX.Element;
|
|
1241
1241
|
|
|
1242
1242
|
interface CheckboxFieldProps extends Omit<CheckboxProps, 'onChange' | 'value'> {
|
|
1243
1243
|
options?: RegisterOptions;
|
|
1244
1244
|
}
|
|
1245
|
-
declare const CheckboxField: (props: CheckboxFieldProps) =>
|
|
1245
|
+
declare const CheckboxField: (props: CheckboxFieldProps) => react.JSX.Element;
|
|
1246
1246
|
|
|
1247
1247
|
declare enum IconProductType {
|
|
1248
1248
|
atm = "atm",
|
|
@@ -1299,13 +1299,13 @@ interface IconProductProps {
|
|
|
1299
1299
|
type: IconProductType;
|
|
1300
1300
|
variant?: IconProductVariant | undefined;
|
|
1301
1301
|
}
|
|
1302
|
-
declare const IconProduct: (props: IconProductProps) =>
|
|
1302
|
+
declare const IconProduct: (props: IconProductProps) => react.JSX.Element;
|
|
1303
1303
|
|
|
1304
1304
|
interface CircularProgressBarProps extends DesignSystemBaseProps {
|
|
1305
1305
|
iconProduct: IconProductType;
|
|
1306
1306
|
progress: number;
|
|
1307
1307
|
}
|
|
1308
|
-
declare const CircularProgressBar: (props: CircularProgressBarProps) =>
|
|
1308
|
+
declare const CircularProgressBar: (props: CircularProgressBarProps) => react.JSX.Element;
|
|
1309
1309
|
|
|
1310
1310
|
type ComboBoxItem = boolean | number | object | string | null;
|
|
1311
1311
|
declare enum ComboBoxItemOrderSource {
|
|
@@ -1328,7 +1328,7 @@ type ComboBoxValue<TItem> = {
|
|
|
1328
1328
|
type: ComboBoxValueType.item;
|
|
1329
1329
|
} | null;
|
|
1330
1330
|
|
|
1331
|
-
interface InputBaseProps extends
|
|
1331
|
+
interface InputBaseProps extends FieldControlProps, Pick<AriaAttributes, 'aria-activedescendant' | 'aria-autocomplete' | 'aria-controls' | 'aria-describedby' | 'aria-expanded' | 'aria-invalid' | 'aria-label' | 'aria-labelledby' | 'aria-required'> {
|
|
1332
1332
|
ariaLabel?: string;
|
|
1333
1333
|
autoComplete?: HTMLInputAutoCompleteAttribute;
|
|
1334
1334
|
button?: ReactNode;
|
|
@@ -1349,6 +1349,7 @@ interface InputBaseProps extends RefAttributes<HTMLInputElement>, FieldControlPr
|
|
|
1349
1349
|
placeholder?: string;
|
|
1350
1350
|
prefix?: ReactNode;
|
|
1351
1351
|
prefixColor?: Property.Color;
|
|
1352
|
+
ref?: Ref<HTMLInputElement>;
|
|
1352
1353
|
role?: HTMLAttributes<HTMLInputElement>['role'];
|
|
1353
1354
|
size?: InputSize;
|
|
1354
1355
|
suffix?: ReactNode;
|
|
@@ -1357,7 +1358,7 @@ interface InputBaseProps extends RefAttributes<HTMLInputElement>, FieldControlPr
|
|
|
1357
1358
|
value?: string;
|
|
1358
1359
|
weight?: FontWeight;
|
|
1359
1360
|
}
|
|
1360
|
-
declare const InputBase:
|
|
1361
|
+
declare const InputBase: (props: InputBaseProps) => react.JSX.Element;
|
|
1361
1362
|
|
|
1362
1363
|
interface ComboBoxControlProps<TItem extends ComboBoxItem> extends Omit<FieldControlProps, 'name'>, Pick<InputBaseProps, 'ariaLabel' | 'disabled' | 'icon' | 'isPastingDisabled' | 'maxLength' | 'name' | 'onFocus' | 'placeholder' | 'required'> {
|
|
1363
1364
|
formatter?: Formatter<TItem, ReactNode>;
|
|
@@ -1371,10 +1372,11 @@ interface ComboBoxControlProps<TItem extends ComboBoxItem> extends Omit<FieldCon
|
|
|
1371
1372
|
items: TItem[];
|
|
1372
1373
|
onBlur?: () => void;
|
|
1373
1374
|
onChange: (value: ComboBoxValue<TItem>) => void;
|
|
1375
|
+
ref?: Ref<HTMLInputElement>;
|
|
1374
1376
|
shouldHighlightFirstItem?: boolean;
|
|
1375
1377
|
value: ComboBoxValue<TItem>;
|
|
1376
1378
|
}
|
|
1377
|
-
declare const ComboBoxControl: <TItem extends ComboBoxItem>(props: ComboBoxControlProps<TItem>
|
|
1379
|
+
declare const ComboBoxControl: <TItem extends ComboBoxItem>(props: ComboBoxControlProps<TItem>) => react.JSX.Element;
|
|
1378
1380
|
|
|
1379
1381
|
declare enum FieldWrapperLayout {
|
|
1380
1382
|
horizontal = "horizontal",
|
|
@@ -1415,13 +1417,17 @@ interface FieldWrapperProps extends DesignSystemBaseProps, InputLabelPassthrough
|
|
|
1415
1417
|
optionality?: FieldOptionality;
|
|
1416
1418
|
successMessage?: ReactNode;
|
|
1417
1419
|
}
|
|
1418
|
-
declare const FieldWrapper: (props: FieldWrapperProps) =>
|
|
1420
|
+
declare const FieldWrapper: (props: FieldWrapperProps) => react.JSX.Element;
|
|
1419
1421
|
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
+
/** These props are reserved for `FieldWrapper` and cannot be used in the wrapped component. */
|
|
1423
|
+
type FieldWrapperReservedProps = Pick<FieldWrapperProps, 'addons' | 'controlMobileWidth' | 'controlSectionWidth' | 'controlWidth' | 'errorMessage' | 'hiddenHintText' | 'hintText' | 'label' | 'labelAs' | 'labelHiddenText' | 'labelId' | 'labelSuffix' | 'layout' | 'note' | 'optionality' | 'successMessage' | 'tooltip'>;
|
|
1424
|
+
declare const withFieldWrapper: <TProps extends FieldControlProps>(FieldControl: ComponentType<TProps>) => {
|
|
1425
|
+
(props: FieldWrapperReservedProps & Omit<TProps, keyof FieldWrapperReservedProps>): react.JSX.Element;
|
|
1426
|
+
displayName: string;
|
|
1427
|
+
};
|
|
1422
1428
|
|
|
1423
|
-
type ComboBoxProps<TItem extends ComboBoxItem> = ComboBoxControlProps<TItem> &
|
|
1424
|
-
declare const ComboBox: <TItem extends ComboBoxItem>(props: ComboBoxProps<TItem>
|
|
1429
|
+
type ComboBoxProps<TItem extends ComboBoxItem> = ComboBoxControlProps<TItem> & FieldWrapperReservedProps;
|
|
1430
|
+
declare const ComboBox: <TItem extends ComboBoxItem>(props: ComboBoxProps<TItem>) => ReactElement;
|
|
1425
1431
|
|
|
1426
1432
|
interface ComboBoxFieldProps<TItem extends ComboBoxItem> extends Omit<ComboBoxProps<TItem>, 'onChange' | 'value'> {
|
|
1427
1433
|
defaultValue?: TItem | null;
|
|
@@ -1429,7 +1435,7 @@ interface ComboBoxFieldProps<TItem extends ComboBoxItem> extends Omit<ComboBoxPr
|
|
|
1429
1435
|
options?: RegisterOptions;
|
|
1430
1436
|
shouldResetInvalidValues?: boolean;
|
|
1431
1437
|
}
|
|
1432
|
-
declare const ComboBoxField: <TItem extends ComboBoxItem>(props: ComboBoxFieldProps<TItem>) =>
|
|
1438
|
+
declare const ComboBoxField: <TItem extends ComboBoxItem>(props: ComboBoxFieldProps<TItem>) => react.JSX.Element;
|
|
1433
1439
|
|
|
1434
1440
|
interface DatePickerControlProps extends Pick<DatePickerProps$1, 'chooseDayAriaLabelPrefix' | 'dateFormat' | 'disabledDayAriaLabelPrefix' | 'filterDate' | 'maxDate' | 'minDate' | 'monthAriaLabelPrefix' | 'nextMonthAriaLabel' | 'onBlur' | 'previousMonthAriaLabel' | 'selected'>, FieldControlProps {
|
|
1435
1441
|
chevronCloseAriaLabel?: string;
|
|
@@ -1441,74 +1447,39 @@ interface DatePickerControlProps extends Pick<DatePickerProps$1, 'chooseDayAriaL
|
|
|
1441
1447
|
name: string;
|
|
1442
1448
|
onChange?: (date: Date | null, event?: KeyboardEvent<HTMLElement> | MouseEvent<HTMLElement>) => void;
|
|
1443
1449
|
placeholder?: string;
|
|
1450
|
+
ref?: Ref<HTMLInputElement>;
|
|
1444
1451
|
yearSelectAriaLabel?: string;
|
|
1445
1452
|
}
|
|
1446
|
-
declare const DatePickerControl:
|
|
1453
|
+
declare const DatePickerControl: (props: DatePickerControlProps) => react.JSX.Element;
|
|
1447
1454
|
|
|
1448
|
-
declare const DatePicker:
|
|
1449
|
-
label
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
colorScheme?: ColorScheme | undefined;
|
|
1453
|
-
mediaType?: MediaType | undefined;
|
|
1454
|
-
addons?: FieldAddon[] | undefined;
|
|
1455
|
-
controlMobileWidth?: csstype.Property.Width | undefined;
|
|
1456
|
-
controlSectionWidth?: csstype.Property.Width | undefined;
|
|
1457
|
-
controlWidth?: csstype.Property.Width | undefined;
|
|
1458
|
-
errorMessage?: react.ReactNode;
|
|
1459
|
-
hiddenHintText?: react.ReactNode;
|
|
1460
|
-
hintText?: react.ReactNode;
|
|
1461
|
-
layout?: FieldWrapperLayout | undefined;
|
|
1462
|
-
note?: react.ReactNode;
|
|
1463
|
-
optionality?: FieldOptionality | undefined;
|
|
1464
|
-
successMessage?: react.ReactNode;
|
|
1465
|
-
labelAs?: react.ElementType | undefined;
|
|
1466
|
-
labelHiddenText?: string | undefined;
|
|
1467
|
-
labelId?: string | undefined;
|
|
1468
|
-
labelSuffix?: react.ReactNode;
|
|
1469
|
-
tooltip?: TooltipInfoDescriptor | undefined;
|
|
1470
|
-
} & react.RefAttributes<HTMLInputElement>>;
|
|
1455
|
+
declare const DatePicker: {
|
|
1456
|
+
(props: FieldWrapperReservedProps & Omit<DatePickerControlProps, "label" | "addons" | "controlMobileWidth" | "controlSectionWidth" | "controlWidth" | "errorMessage" | "hiddenHintText" | "hintText" | "labelAs" | "labelHiddenText" | "labelId" | "labelSuffix" | "layout" | "note" | "optionality" | "successMessage" | "tooltip">): react.JSX.Element;
|
|
1457
|
+
displayName: string;
|
|
1458
|
+
};
|
|
1471
1459
|
type DatePickerProps = ComponentProps<typeof DatePicker>;
|
|
1472
1460
|
|
|
1473
1461
|
interface DatePickerFieldProps extends Omit<ComponentProps<typeof DatePicker>, 'onChange'> {
|
|
1462
|
+
name: string;
|
|
1474
1463
|
options?: RegisterOptions;
|
|
1475
1464
|
}
|
|
1476
|
-
declare const DatePickerField: (props: DatePickerFieldProps) =>
|
|
1465
|
+
declare const DatePickerField: (props: DatePickerFieldProps) => react.JSX.Element;
|
|
1477
1466
|
|
|
1478
1467
|
declare const datePickerValueFormat = "yyyy-MM-dd";
|
|
1479
1468
|
|
|
1480
1469
|
interface EmailInputControlProps extends InputProps {
|
|
1481
1470
|
placeholder?: string;
|
|
1482
1471
|
}
|
|
1483
|
-
declare const EmailInput:
|
|
1484
|
-
label
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
colorScheme?: ColorScheme | undefined;
|
|
1488
|
-
mediaType?: MediaType | undefined;
|
|
1489
|
-
addons?: FieldAddon[] | undefined;
|
|
1490
|
-
controlMobileWidth?: csstype.Property.Width | undefined;
|
|
1491
|
-
controlSectionWidth?: csstype.Property.Width | undefined;
|
|
1492
|
-
controlWidth?: csstype.Property.Width | undefined;
|
|
1493
|
-
errorMessage?: react.ReactNode;
|
|
1494
|
-
hiddenHintText?: react.ReactNode;
|
|
1495
|
-
hintText?: react.ReactNode;
|
|
1496
|
-
layout?: FieldWrapperLayout | undefined;
|
|
1497
|
-
note?: react.ReactNode;
|
|
1498
|
-
optionality?: FieldOptionality | undefined;
|
|
1499
|
-
successMessage?: react.ReactNode;
|
|
1500
|
-
labelAs?: react.ElementType | undefined;
|
|
1501
|
-
labelHiddenText?: string | undefined;
|
|
1502
|
-
labelId?: string | undefined;
|
|
1503
|
-
labelSuffix?: react.ReactNode;
|
|
1504
|
-
tooltip?: TooltipInfoDescriptor | undefined;
|
|
1505
|
-
} & react.RefAttributes<HTMLInputElement>>;
|
|
1472
|
+
declare const EmailInput: {
|
|
1473
|
+
(props: FieldWrapperReservedProps & Omit<EmailInputControlProps, "label" | "addons" | "controlMobileWidth" | "controlSectionWidth" | "controlWidth" | "errorMessage" | "hiddenHintText" | "hintText" | "labelAs" | "labelHiddenText" | "labelId" | "labelSuffix" | "layout" | "note" | "optionality" | "successMessage" | "tooltip">): react.JSX.Element;
|
|
1474
|
+
displayName: string;
|
|
1475
|
+
};
|
|
1506
1476
|
type EmailInputProps = ComponentProps<typeof EmailInput>;
|
|
1507
1477
|
|
|
1508
1478
|
interface EmailInputFieldProps extends Omit<EmailInputProps, 'onChange' | 'value'> {
|
|
1479
|
+
name: string;
|
|
1509
1480
|
options?: RegisterOptions;
|
|
1510
1481
|
}
|
|
1511
|
-
declare const EmailInputField: (props: EmailInputFieldProps) =>
|
|
1482
|
+
declare const EmailInputField: (props: EmailInputFieldProps) => react.JSX.Element;
|
|
1512
1483
|
|
|
1513
1484
|
interface ErrorBoxItem {
|
|
1514
1485
|
body: ReactElement | string;
|
|
@@ -1519,10 +1490,11 @@ interface ErrorBoxProps {
|
|
|
1519
1490
|
colorScheme?: ColorScheme;
|
|
1520
1491
|
content?: ReactNode;
|
|
1521
1492
|
items?: ErrorBoxItem[];
|
|
1493
|
+
ref?: Ref<HTMLDivElement>;
|
|
1522
1494
|
tabIndex?: number;
|
|
1523
1495
|
title?: ReactNode;
|
|
1524
1496
|
}
|
|
1525
|
-
declare const ErrorBox:
|
|
1497
|
+
declare const ErrorBox: (props: ErrorBoxProps) => react.JSX.Element;
|
|
1526
1498
|
|
|
1527
1499
|
declare enum FileInputErrorCode {
|
|
1528
1500
|
fileSizeTooLarge = "fileSizeTooLarge",
|
|
@@ -1578,39 +1550,23 @@ interface FileInputControlProps extends FileInputSettings, DesignSystemBaseProps
|
|
|
1578
1550
|
name: string;
|
|
1579
1551
|
onBlur?: () => void;
|
|
1580
1552
|
onChange: (files: File[]) => void;
|
|
1553
|
+
ref?: Ref<HTMLDivElement>;
|
|
1581
1554
|
value: File[];
|
|
1582
1555
|
}
|
|
1583
|
-
declare const FileInputControl:
|
|
1556
|
+
declare const FileInputControl: (props: FileInputControlProps) => react.JSX.Element;
|
|
1584
1557
|
|
|
1585
|
-
declare const
|
|
1586
|
-
label
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
mediaType?: MediaType | undefined;
|
|
1591
|
-
addons?: FieldAddon[] | undefined;
|
|
1592
|
-
controlMobileWidth?: csstype.Property.Width | undefined;
|
|
1593
|
-
controlSectionWidth?: csstype.Property.Width | undefined;
|
|
1594
|
-
controlWidth?: csstype.Property.Width | undefined;
|
|
1595
|
-
errorMessage?: react.ReactNode;
|
|
1596
|
-
hiddenHintText?: react.ReactNode;
|
|
1597
|
-
hintText?: react.ReactNode;
|
|
1598
|
-
layout?: FieldWrapperLayout | undefined;
|
|
1599
|
-
note?: react.ReactNode;
|
|
1600
|
-
optionality?: FieldOptionality | undefined;
|
|
1601
|
-
successMessage?: react.ReactNode;
|
|
1602
|
-
labelAs?: react.ElementType | undefined;
|
|
1603
|
-
labelHiddenText?: string | undefined;
|
|
1604
|
-
labelId?: string | undefined;
|
|
1605
|
-
labelSuffix?: react.ReactNode;
|
|
1606
|
-
tooltip?: TooltipInfoDescriptor | undefined;
|
|
1607
|
-
} & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
1558
|
+
declare const FileInputBase: {
|
|
1559
|
+
(props: FieldWrapperReservedProps & Omit<FileInputControlProps, "label" | "addons" | "controlMobileWidth" | "controlSectionWidth" | "controlWidth" | "errorMessage" | "hiddenHintText" | "hintText" | "labelAs" | "labelHiddenText" | "labelId" | "labelSuffix" | "layout" | "note" | "optionality" | "successMessage" | "tooltip">): react.JSX.Element;
|
|
1560
|
+
displayName: string;
|
|
1561
|
+
};
|
|
1562
|
+
declare const FileInput: (props: ComponentProps<typeof FileInputBase>) => react.JSX.Element;
|
|
1608
1563
|
type FileInputProps = ComponentProps<typeof FileInput>;
|
|
1609
1564
|
|
|
1610
1565
|
interface FileInputFieldProps extends Omit<FileInputProps, 'onBlur' | 'onChange' | 'value'> {
|
|
1566
|
+
name: string;
|
|
1611
1567
|
options?: RegisterOptions;
|
|
1612
1568
|
}
|
|
1613
|
-
declare const FileInputField: (props: FileInputFieldProps) =>
|
|
1569
|
+
declare const FileInputField: (props: FileInputFieldProps) => react.JSX.Element;
|
|
1614
1570
|
|
|
1615
1571
|
declare enum FormatAmountCurrencyDisplay {
|
|
1616
1572
|
code = "code",
|
|
@@ -1644,11 +1600,11 @@ interface BaseFormattedAmountProps extends FormatAmountDescriptor {
|
|
|
1644
1600
|
|
|
1645
1601
|
interface FormattedAmountProps$1 extends Omit<BaseFormattedAmountProps, 'formatAmount'> {
|
|
1646
1602
|
}
|
|
1647
|
-
declare const FormattedAmount$1: (props: FormattedAmountProps$1) =>
|
|
1603
|
+
declare const FormattedAmount$1: (props: FormattedAmountProps$1) => react.JSX.Element;
|
|
1648
1604
|
|
|
1649
1605
|
interface FormattedAmountProps extends Omit<BaseFormattedAmountProps, 'formatAmount'> {
|
|
1650
1606
|
}
|
|
1651
|
-
declare const FormattedAmount: (props: FormattedAmountProps) =>
|
|
1607
|
+
declare const FormattedAmount: (props: FormattedAmountProps) => react.JSX.Element;
|
|
1652
1608
|
|
|
1653
1609
|
interface FormatPercentageParam {
|
|
1654
1610
|
maximumFractionDigits?: number;
|
|
@@ -1733,13 +1689,13 @@ type SubmitHandler<TFieldValues extends FieldValues> = (data: TFieldValues, extr
|
|
|
1733
1689
|
|
|
1734
1690
|
interface FormErrorOutcomeProps extends DesignSystemBaseProps, Pick<FormConfig, 'thrownFormLevelErrorFormatter'> {
|
|
1735
1691
|
}
|
|
1736
|
-
declare const FormErrorOutcome: (props: FormErrorOutcomeProps) =>
|
|
1692
|
+
declare const FormErrorOutcome: (props: FormErrorOutcomeProps) => react.JSX.Element | null;
|
|
1737
1693
|
|
|
1738
1694
|
interface FormErrorSummaryProps extends DesignSystemBaseProps {
|
|
1739
1695
|
order?: string[];
|
|
1740
1696
|
title?: ReactNode;
|
|
1741
1697
|
}
|
|
1742
|
-
declare const FormErrorSummary: (props: FormErrorSummaryProps) =>
|
|
1698
|
+
declare const FormErrorSummary: (props: FormErrorSummaryProps) => react.JSX.Element;
|
|
1743
1699
|
|
|
1744
1700
|
interface FormSuccessOutcomeProps extends DesignSystemBaseProps {
|
|
1745
1701
|
children: ReactNode;
|
|
@@ -1747,7 +1703,7 @@ interface FormSuccessOutcomeProps extends DesignSystemBaseProps {
|
|
|
1747
1703
|
title: ReactNode;
|
|
1748
1704
|
visible: boolean;
|
|
1749
1705
|
}
|
|
1750
|
-
declare const FormSuccessOutcome: (props: FormSuccessOutcomeProps) =>
|
|
1706
|
+
declare const FormSuccessOutcome: (props: FormSuccessOutcomeProps) => react.JSX.Element;
|
|
1751
1707
|
|
|
1752
1708
|
interface UseFormSuccessOutcomeManagerReturn {
|
|
1753
1709
|
formKey: Key;
|
|
@@ -1769,7 +1725,7 @@ declare enum IconFlagType {
|
|
|
1769
1725
|
interface IconFlagProps {
|
|
1770
1726
|
type: IconFlagType;
|
|
1771
1727
|
}
|
|
1772
|
-
declare const IconFlag: (props: IconFlagProps) =>
|
|
1728
|
+
declare const IconFlag: (props: IconFlagProps) => react.JSX.Element;
|
|
1773
1729
|
|
|
1774
1730
|
declare enum InfoboxVariant {
|
|
1775
1731
|
primary = "primary",
|
|
@@ -1796,6 +1752,7 @@ interface InfoboxProps extends DesignSystemBaseProps, AriaAttributes {
|
|
|
1796
1752
|
iconProduct?: IconProductType;
|
|
1797
1753
|
id?: string;
|
|
1798
1754
|
isWarning?: boolean;
|
|
1755
|
+
ref?: Ref<HTMLDivElement>;
|
|
1799
1756
|
role?: AriaRole;
|
|
1800
1757
|
size: InfoboxSize;
|
|
1801
1758
|
tabIndex?: number;
|
|
@@ -1803,7 +1760,7 @@ interface InfoboxProps extends DesignSystemBaseProps, AriaAttributes {
|
|
|
1803
1760
|
textContent?: InfoboxTextContent;
|
|
1804
1761
|
variant: InfoboxVariant;
|
|
1805
1762
|
}
|
|
1806
|
-
declare const Infobox:
|
|
1763
|
+
declare const Infobox: (props: InfoboxProps) => react.JSX.Element;
|
|
1807
1764
|
|
|
1808
1765
|
declare enum InputLabelSize {
|
|
1809
1766
|
xs = "xs",
|
|
@@ -1824,7 +1781,7 @@ interface InputLabelProps extends DesignSystemBaseProps {
|
|
|
1824
1781
|
suffix?: ReactNode;
|
|
1825
1782
|
tooltip?: TooltipInfoDescriptor;
|
|
1826
1783
|
}
|
|
1827
|
-
declare const InputLabel: (props: InputLabelProps) =>
|
|
1784
|
+
declare const InputLabel: (props: InputLabelProps) => react.JSX.Element;
|
|
1828
1785
|
|
|
1829
1786
|
declare enum LoaderSize {
|
|
1830
1787
|
lg = "lg",
|
|
@@ -1835,13 +1792,13 @@ interface LoaderProps extends DesignSystemBaseProps, AriaAttributes {
|
|
|
1835
1792
|
loaderSize: LoaderSize;
|
|
1836
1793
|
role?: AriaRole;
|
|
1837
1794
|
}
|
|
1838
|
-
declare const Loader: (props: LoaderProps) =>
|
|
1795
|
+
declare const Loader: (props: LoaderProps) => react.JSX.Element;
|
|
1839
1796
|
|
|
1840
1797
|
interface LoaderOverlayBoxProps extends DesignSystemBaseProps, AriaAttributes {
|
|
1841
1798
|
loaderSize: LoaderSize;
|
|
1842
1799
|
role?: AriaRole;
|
|
1843
1800
|
}
|
|
1844
|
-
declare const LoaderOverlayBox: (props: LoaderOverlayBoxProps) =>
|
|
1801
|
+
declare const LoaderOverlayBox: (props: LoaderOverlayBoxProps) => react.JSX.Element;
|
|
1845
1802
|
|
|
1846
1803
|
type MaskedInputOnAccept = (unmaskedValue: string, maskedValue: string) => void;
|
|
1847
1804
|
|
|
@@ -1849,64 +1806,23 @@ interface MaskedInputBaseProps extends InputBaseProps {
|
|
|
1849
1806
|
maskOptions: FactoryOpts;
|
|
1850
1807
|
onAccept?: MaskedInputOnAccept;
|
|
1851
1808
|
}
|
|
1852
|
-
declare const MaskedInputBase:
|
|
1809
|
+
declare const MaskedInputBase: (props: MaskedInputBaseProps) => react.JSX.Element;
|
|
1853
1810
|
|
|
1854
|
-
declare const MaskedInput:
|
|
1855
|
-
label
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
colorScheme?: ColorScheme | undefined;
|
|
1859
|
-
mediaType?: MediaType | undefined;
|
|
1860
|
-
addons?: FieldAddon[] | undefined;
|
|
1861
|
-
controlMobileWidth?: csstype.Property.Width | undefined;
|
|
1862
|
-
controlSectionWidth?: csstype.Property.Width | undefined;
|
|
1863
|
-
controlWidth?: csstype.Property.Width | undefined;
|
|
1864
|
-
errorMessage?: react.ReactNode;
|
|
1865
|
-
hiddenHintText?: react.ReactNode;
|
|
1866
|
-
hintText?: react.ReactNode;
|
|
1867
|
-
layout?: FieldWrapperLayout | undefined;
|
|
1868
|
-
note?: react.ReactNode;
|
|
1869
|
-
optionality?: FieldOptionality | undefined;
|
|
1870
|
-
successMessage?: react.ReactNode;
|
|
1871
|
-
labelAs?: react.ElementType | undefined;
|
|
1872
|
-
labelHiddenText?: string | undefined;
|
|
1873
|
-
labelId?: string | undefined;
|
|
1874
|
-
labelSuffix?: react.ReactNode;
|
|
1875
|
-
tooltip?: TooltipInfoDescriptor | undefined;
|
|
1876
|
-
}, "ref"> & react.RefAttributes<HTMLInputElement>>;
|
|
1811
|
+
declare const MaskedInput: {
|
|
1812
|
+
(props: FieldWrapperReservedProps & Omit<MaskedInputBaseProps, "label" | "addons" | "controlMobileWidth" | "controlSectionWidth" | "controlWidth" | "errorMessage" | "hiddenHintText" | "hintText" | "labelAs" | "labelHiddenText" | "labelId" | "labelSuffix" | "layout" | "note" | "optionality" | "successMessage" | "tooltip">): react.JSX.Element;
|
|
1813
|
+
displayName: string;
|
|
1814
|
+
};
|
|
1877
1815
|
type MaskedInputProps = ComponentProps<typeof MaskedInput>;
|
|
1878
1816
|
|
|
1879
|
-
type ManagedMaskedInputProps = Pick<MaskedInputProps, 'errorMessage' | 'onAccept' | 'onBlur' | 'value'>;
|
|
1817
|
+
type ManagedMaskedInputProps = Pick<MaskedInputProps, 'errorMessage' | 'onAccept' | 'onBlur' | 'ref' | 'value'>;
|
|
1880
1818
|
declare const withMaskedInputField: <TProps extends ManagedMaskedInputProps>(Component: ComponentType<TProps>) => <TFieldValues extends FieldValues>(props: TProps & {
|
|
1881
1819
|
name: FieldPath<TFieldValues>;
|
|
1882
1820
|
options?: RegisterOptions<TFieldValues>;
|
|
1883
|
-
}) =>
|
|
1884
|
-
declare const MaskedInputField: <TFieldValues extends FieldValues>(props: Omit<MaskedInputBaseProps & {
|
|
1885
|
-
label?: react.ReactNode;
|
|
1886
|
-
name?: string | undefined;
|
|
1887
|
-
invalid?: boolean | undefined;
|
|
1888
|
-
colorScheme?: ColorScheme | undefined;
|
|
1889
|
-
mediaType?: MediaType | undefined;
|
|
1890
|
-
addons?: FieldAddon[] | undefined;
|
|
1891
|
-
controlMobileWidth?: csstype.Property.Width | undefined;
|
|
1892
|
-
controlSectionWidth?: csstype.Property.Width | undefined;
|
|
1893
|
-
controlWidth?: csstype.Property.Width | undefined;
|
|
1894
|
-
errorMessage?: react.ReactNode;
|
|
1895
|
-
hiddenHintText?: react.ReactNode;
|
|
1896
|
-
hintText?: react.ReactNode;
|
|
1897
|
-
layout?: FieldWrapperLayout | undefined;
|
|
1898
|
-
note?: react.ReactNode;
|
|
1899
|
-
optionality?: FieldOptionality | undefined;
|
|
1900
|
-
successMessage?: react.ReactNode;
|
|
1901
|
-
labelAs?: react.ElementType | undefined;
|
|
1902
|
-
labelHiddenText?: string | undefined;
|
|
1903
|
-
labelId?: string | undefined;
|
|
1904
|
-
labelSuffix?: react.ReactNode;
|
|
1905
|
-
tooltip?: TooltipInfoDescriptor | undefined;
|
|
1906
|
-
}, "ref"> & react.RefAttributes<HTMLInputElement> & {
|
|
1821
|
+
}) => react.JSX.Element;
|
|
1822
|
+
declare const MaskedInputField: <TFieldValues extends FieldValues>(props: FieldWrapperReservedProps & Omit<MaskedInputBaseProps, "label" | "addons" | "controlMobileWidth" | "controlSectionWidth" | "controlWidth" | "errorMessage" | "hiddenHintText" | "hintText" | "labelAs" | "labelHiddenText" | "labelId" | "labelSuffix" | "layout" | "note" | "optionality" | "successMessage" | "tooltip"> & {
|
|
1907
1823
|
name: react_hook_form.Path<TFieldValues>;
|
|
1908
1824
|
options?: RegisterOptions<TFieldValues> | undefined;
|
|
1909
|
-
}) =>
|
|
1825
|
+
}) => react.JSX.Element;
|
|
1910
1826
|
type MaskedInputFieldProps = ComponentProps<typeof MaskedInputField>;
|
|
1911
1827
|
|
|
1912
1828
|
type ModalOnClose = (reasonForClosing: ReasonForClosing) => void;
|
|
@@ -1948,12 +1864,12 @@ interface NumberInputProps extends Omit<MaskedInputProps, 'maskOptions'> {
|
|
|
1948
1864
|
integerPlaces?: number;
|
|
1949
1865
|
maskOptions?: FactoryOpts;
|
|
1950
1866
|
}
|
|
1951
|
-
declare const NumberInput:
|
|
1867
|
+
declare const NumberInput: (props: NumberInputProps) => react.JSX.Element;
|
|
1952
1868
|
|
|
1953
|
-
declare const NumberInputField: <TFieldValues extends react_hook_form.FieldValues>(props:
|
|
1869
|
+
declare const NumberInputField: <TFieldValues extends react_hook_form.FieldValues>(props: NumberInputProps & {
|
|
1954
1870
|
name: react_hook_form.Path<TFieldValues>;
|
|
1955
1871
|
options?: react_hook_form.RegisterOptions<TFieldValues> | undefined;
|
|
1956
|
-
}) =>
|
|
1872
|
+
}) => react.JSX.Element;
|
|
1957
1873
|
type NumberInputFieldProps = ComponentProps<typeof NumberInputField>;
|
|
1958
1874
|
|
|
1959
1875
|
declare enum PaperShadow {
|
|
@@ -1969,22 +1885,23 @@ interface PaperProps extends DesignSystemBaseProps, SsrProps, AriaAttributes {
|
|
|
1969
1885
|
id?: string;
|
|
1970
1886
|
overflow?: Overflow;
|
|
1971
1887
|
padding?: Spacing;
|
|
1888
|
+
ref?: Ref<HTMLDivElement>;
|
|
1972
1889
|
role?: AriaRole;
|
|
1973
1890
|
shadow?: PaperShadow;
|
|
1974
1891
|
tabIndex?: number;
|
|
1975
1892
|
}
|
|
1976
|
-
declare const Paper:
|
|
1893
|
+
declare const Paper: (props: PaperProps) => react.JSX.Element;
|
|
1977
1894
|
|
|
1978
1895
|
interface PhoneInputProps extends Omit<MaskedInputProps, 'maskOptions'> {
|
|
1979
1896
|
maskOptions?: FactoryOpts;
|
|
1980
1897
|
prefixColor?: Property.Color;
|
|
1981
1898
|
}
|
|
1982
|
-
declare const PhoneInput:
|
|
1899
|
+
declare const PhoneInput: (props: PhoneInputProps) => react.JSX.Element;
|
|
1983
1900
|
|
|
1984
1901
|
declare const PhoneInputField: <TFieldValues extends react_hook_form.FieldValues>(props: PhoneInputProps & {
|
|
1985
1902
|
name: react_hook_form.Path<TFieldValues>;
|
|
1986
1903
|
options?: react_hook_form.RegisterOptions<TFieldValues> | undefined;
|
|
1987
|
-
}) =>
|
|
1904
|
+
}) => react.JSX.Element;
|
|
1988
1905
|
type PhoneInputFieldProps = ComponentProps<typeof PhoneInputField>;
|
|
1989
1906
|
|
|
1990
1907
|
interface ProgressDefinition extends AriaAttributes {
|
|
@@ -2021,7 +1938,7 @@ interface ProgressDefinition extends AriaAttributes {
|
|
|
2021
1938
|
interface ProgressPaperProps extends PaperProps, SsrProps {
|
|
2022
1939
|
progressDefinition: ProgressDefinition;
|
|
2023
1940
|
}
|
|
2024
|
-
declare const ProgressPaper:
|
|
1941
|
+
declare const ProgressPaper: (props: ProgressPaperProps) => react.JSX.Element;
|
|
2025
1942
|
|
|
2026
1943
|
declare enum RadioPosition {
|
|
2027
1944
|
left = "left",
|
|
@@ -2047,14 +1964,15 @@ interface RadioButtonLabel {
|
|
|
2047
1964
|
interface RadioButtonProps extends RadioGeneralProps, DesignSystemBaseProps {
|
|
2048
1965
|
errorMessage?: ReactElement | string | undefined;
|
|
2049
1966
|
label: RadioButtonLabel;
|
|
1967
|
+
ref?: Ref<HTMLInputElement>;
|
|
2050
1968
|
}
|
|
2051
|
-
declare const RadioButton:
|
|
1969
|
+
declare const RadioButton: (props: RadioButtonProps) => react.JSX.Element;
|
|
2052
1970
|
|
|
2053
1971
|
interface RadioButtonFieldProps extends Omit<RadioButtonProps, 'onChange'> {
|
|
2054
1972
|
name: string;
|
|
2055
1973
|
options?: RegisterOptions;
|
|
2056
1974
|
}
|
|
2057
|
-
declare const RadioButtonField: (props: RadioButtonFieldProps) =>
|
|
1975
|
+
declare const RadioButtonField: (props: RadioButtonFieldProps) => react.JSX.Element;
|
|
2058
1976
|
|
|
2059
1977
|
interface RadioButtonGroupItem extends AriaAttributes {
|
|
2060
1978
|
id?: string;
|
|
@@ -2082,44 +2000,28 @@ interface RadioButtonGroupControlProps extends DesignSystemBaseProps, FieldContr
|
|
|
2082
2000
|
name: string;
|
|
2083
2001
|
onBlur?: ((event: FocusEvent<HTMLInputElement>) => void) | undefined;
|
|
2084
2002
|
onChange?: ((event: ChangeEvent<HTMLInputElement>) => void) | undefined;
|
|
2003
|
+
ref?: Ref<HTMLInputElement>;
|
|
2085
2004
|
value?: string;
|
|
2086
2005
|
}
|
|
2087
|
-
declare const RadioButtonGroupControl:
|
|
2006
|
+
declare const RadioButtonGroupControl: (props: RadioButtonGroupControlProps) => react.JSX.Element;
|
|
2088
2007
|
|
|
2089
|
-
declare const
|
|
2090
|
-
label
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
mediaType?: MediaType | undefined;
|
|
2095
|
-
addons?: FieldAddon[] | undefined;
|
|
2096
|
-
controlMobileWidth?: csstype.Property.Width | undefined;
|
|
2097
|
-
controlSectionWidth?: csstype.Property.Width | undefined;
|
|
2098
|
-
controlWidth?: csstype.Property.Width | undefined;
|
|
2099
|
-
errorMessage?: react.ReactNode;
|
|
2100
|
-
hiddenHintText?: react.ReactNode;
|
|
2101
|
-
hintText?: react.ReactNode;
|
|
2102
|
-
layout?: FieldWrapperLayout | undefined;
|
|
2103
|
-
note?: react.ReactNode;
|
|
2104
|
-
optionality?: FieldOptionality | undefined;
|
|
2105
|
-
successMessage?: react.ReactNode;
|
|
2106
|
-
labelAs?: react.ElementType | undefined;
|
|
2107
|
-
labelHiddenText?: string | undefined;
|
|
2108
|
-
labelId?: string | undefined;
|
|
2109
|
-
labelSuffix?: react.ReactNode;
|
|
2110
|
-
tooltip?: TooltipInfoDescriptor | undefined;
|
|
2111
|
-
} & react.RefAttributes<HTMLInputElement>, "ref"> & react.RefAttributes<HTMLInputElement>>;
|
|
2008
|
+
declare const RadioButtonGroupBase: {
|
|
2009
|
+
(props: FieldWrapperReservedProps & Omit<RadioButtonGroupControlProps, "label" | "addons" | "controlMobileWidth" | "controlSectionWidth" | "controlWidth" | "errorMessage" | "hiddenHintText" | "hintText" | "labelAs" | "labelHiddenText" | "labelId" | "labelSuffix" | "layout" | "note" | "optionality" | "successMessage" | "tooltip">): react.JSX.Element;
|
|
2010
|
+
displayName: string;
|
|
2011
|
+
};
|
|
2012
|
+
declare const RadioButtonGroup: (props: ComponentProps<typeof RadioButtonGroupBase>) => react.JSX.Element;
|
|
2112
2013
|
type RadioButtonGroupProps = ComponentProps<typeof RadioButtonGroup>;
|
|
2113
2014
|
|
|
2114
2015
|
interface RadioButtonGroupFieldProps extends Omit<RadioButtonGroupProps, 'onBlur' | 'onChange' | 'value'> {
|
|
2115
2016
|
name: string;
|
|
2116
2017
|
options?: RegisterOptions;
|
|
2117
2018
|
}
|
|
2118
|
-
declare const RadioButtonGroupField: (props: RadioButtonGroupFieldProps) =>
|
|
2019
|
+
declare const RadioButtonGroupField: (props: RadioButtonGroupFieldProps) => react.JSX.Element;
|
|
2119
2020
|
|
|
2120
2021
|
interface RadioControlProps extends DesignSystemBaseProps, RadioGeneralProps {
|
|
2022
|
+
ref?: Ref<HTMLInputElement>;
|
|
2121
2023
|
}
|
|
2122
|
-
declare const RadioControl:
|
|
2024
|
+
declare const RadioControl: (props: RadioControlProps) => react.JSX.Element;
|
|
2123
2025
|
|
|
2124
2026
|
interface RadioProps extends RadioControlProps, InputLabelPassthroughProps, DesignSystemBaseProps {
|
|
2125
2027
|
errorMessage?: ReactNode;
|
|
@@ -2127,13 +2029,13 @@ interface RadioProps extends RadioControlProps, InputLabelPassthroughProps, Desi
|
|
|
2127
2029
|
position?: RadioPosition;
|
|
2128
2030
|
tooltipPosition?: LabelTooltipPosition;
|
|
2129
2031
|
}
|
|
2130
|
-
declare const Radio:
|
|
2032
|
+
declare const Radio: (props: RadioProps) => react.JSX.Element;
|
|
2131
2033
|
|
|
2132
2034
|
interface RadioFieldProps extends Omit<RadioProps, 'onChange'> {
|
|
2133
2035
|
name: string;
|
|
2134
2036
|
options?: RegisterOptions;
|
|
2135
2037
|
}
|
|
2136
|
-
declare const RadioField: (props: RadioFieldProps) =>
|
|
2038
|
+
declare const RadioField: (props: RadioFieldProps) => react.JSX.Element;
|
|
2137
2039
|
|
|
2138
2040
|
interface RadioGroupItem extends InputLabelPassthroughProps, AriaAttributes {
|
|
2139
2041
|
id?: string;
|
|
@@ -2157,41 +2059,24 @@ interface RadioGroupControlProps extends FieldControlProps, DesignSystemBaseProp
|
|
|
2157
2059
|
name: string;
|
|
2158
2060
|
onBlur?: ((event: FocusEvent<HTMLInputElement>) => void) | undefined;
|
|
2159
2061
|
onChange?: ((event: ChangeEvent<HTMLInputElement>) => void) | undefined;
|
|
2062
|
+
ref?: Ref<HTMLInputElement>;
|
|
2160
2063
|
rowGap?: Spacing;
|
|
2161
2064
|
value?: string;
|
|
2162
2065
|
}
|
|
2163
|
-
declare const RadioGroupControl:
|
|
2066
|
+
declare const RadioGroupControl: (props: RadioGroupControlProps) => react.JSX.Element;
|
|
2164
2067
|
|
|
2165
|
-
declare const
|
|
2166
|
-
label
|
|
2167
|
-
|
|
2168
|
-
|
|
2169
|
-
|
|
2170
|
-
mediaType?: MediaType | undefined;
|
|
2171
|
-
addons?: FieldAddon[] | undefined;
|
|
2172
|
-
controlMobileWidth?: csstype.Property.Width | undefined;
|
|
2173
|
-
controlSectionWidth?: csstype.Property.Width | undefined;
|
|
2174
|
-
controlWidth?: csstype.Property.Width | undefined;
|
|
2175
|
-
errorMessage?: react.ReactNode;
|
|
2176
|
-
hiddenHintText?: react.ReactNode;
|
|
2177
|
-
hintText?: react.ReactNode;
|
|
2178
|
-
layout?: FieldWrapperLayout | undefined;
|
|
2179
|
-
note?: react.ReactNode;
|
|
2180
|
-
optionality?: FieldOptionality | undefined;
|
|
2181
|
-
successMessage?: react.ReactNode;
|
|
2182
|
-
labelAs?: react.ElementType | undefined;
|
|
2183
|
-
labelHiddenText?: string | undefined;
|
|
2184
|
-
labelId?: string | undefined;
|
|
2185
|
-
labelSuffix?: react.ReactNode;
|
|
2186
|
-
tooltip?: TooltipInfoDescriptor | undefined;
|
|
2187
|
-
} & react.RefAttributes<HTMLInputElement>, "ref"> & react.RefAttributes<HTMLInputElement>>;
|
|
2068
|
+
declare const RadioGroupBase: {
|
|
2069
|
+
(props: FieldWrapperReservedProps & Omit<RadioGroupControlProps, "label" | "addons" | "controlMobileWidth" | "controlSectionWidth" | "controlWidth" | "errorMessage" | "hiddenHintText" | "hintText" | "labelAs" | "labelHiddenText" | "labelId" | "labelSuffix" | "layout" | "note" | "optionality" | "successMessage" | "tooltip">): react.JSX.Element;
|
|
2070
|
+
displayName: string;
|
|
2071
|
+
};
|
|
2072
|
+
declare const RadioGroup: (props: ComponentProps<typeof RadioGroupBase>) => react.JSX.Element;
|
|
2188
2073
|
type RadioGroupProps = ComponentProps<typeof RadioGroup>;
|
|
2189
2074
|
|
|
2190
2075
|
interface RadioGroupFieldProps extends Omit<RadioGroupProps, 'onBlur' | 'onChange' | 'value'> {
|
|
2191
2076
|
name: string;
|
|
2192
2077
|
options?: RegisterOptions;
|
|
2193
2078
|
}
|
|
2194
|
-
declare const RadioGroupField: (props: RadioGroupFieldProps) =>
|
|
2079
|
+
declare const RadioGroupField: (props: RadioGroupFieldProps) => react.JSX.Element;
|
|
2195
2080
|
|
|
2196
2081
|
interface SearchInputControlProps extends InputProps {
|
|
2197
2082
|
buttonAction?: () => void;
|
|
@@ -2199,29 +2084,10 @@ interface SearchInputControlProps extends InputProps {
|
|
|
2199
2084
|
invalid?: boolean;
|
|
2200
2085
|
placeholder?: string;
|
|
2201
2086
|
}
|
|
2202
|
-
declare const SearchInput:
|
|
2203
|
-
label
|
|
2204
|
-
|
|
2205
|
-
|
|
2206
|
-
colorScheme?: ColorScheme | undefined;
|
|
2207
|
-
mediaType?: MediaType | undefined;
|
|
2208
|
-
addons?: FieldAddon[] | undefined;
|
|
2209
|
-
controlMobileWidth?: csstype.Property.Width | undefined;
|
|
2210
|
-
controlSectionWidth?: csstype.Property.Width | undefined;
|
|
2211
|
-
controlWidth?: csstype.Property.Width | undefined;
|
|
2212
|
-
errorMessage?: ReactNode;
|
|
2213
|
-
hiddenHintText?: ReactNode;
|
|
2214
|
-
hintText?: ReactNode;
|
|
2215
|
-
layout?: FieldWrapperLayout | undefined;
|
|
2216
|
-
note?: ReactNode;
|
|
2217
|
-
optionality?: FieldOptionality | undefined;
|
|
2218
|
-
successMessage?: ReactNode;
|
|
2219
|
-
labelAs?: react.ElementType | undefined;
|
|
2220
|
-
labelHiddenText?: string | undefined;
|
|
2221
|
-
labelId?: string | undefined;
|
|
2222
|
-
labelSuffix?: ReactNode;
|
|
2223
|
-
tooltip?: TooltipInfoDescriptor | undefined;
|
|
2224
|
-
} & react.RefAttributes<HTMLInputElement>>;
|
|
2087
|
+
declare const SearchInput: {
|
|
2088
|
+
(props: FieldWrapperReservedProps & Omit<SearchInputControlProps, "label" | "addons" | "controlMobileWidth" | "controlSectionWidth" | "controlWidth" | "errorMessage" | "hiddenHintText" | "hintText" | "labelAs" | "labelHiddenText" | "labelId" | "labelSuffix" | "layout" | "note" | "optionality" | "successMessage" | "tooltip">): react.JSX.Element;
|
|
2089
|
+
displayName: string;
|
|
2090
|
+
};
|
|
2225
2091
|
type SearchInputProps = ComponentProps<typeof SearchInput>;
|
|
2226
2092
|
|
|
2227
2093
|
declare enum SelectVariant {
|
|
@@ -2250,13 +2116,14 @@ interface SelectControlProps<TItem extends SelectItem> extends FieldControlProps
|
|
|
2250
2116
|
nilMessage?: string;
|
|
2251
2117
|
onBlur?: FocusEventHandler<HTMLDivElement>;
|
|
2252
2118
|
onChange: (item: TItem | null) => void;
|
|
2119
|
+
ref?: Ref<HTMLDivElement>;
|
|
2253
2120
|
value: TItem | null;
|
|
2254
2121
|
variant?: SelectVariant;
|
|
2255
2122
|
}
|
|
2256
|
-
declare const SelectControl: <TItem extends SelectItem>(props:
|
|
2123
|
+
declare const SelectControl: <TItem extends SelectItem>(props: SelectControlProps<TItem>) => react.JSX.Element;
|
|
2257
2124
|
|
|
2258
|
-
type SelectProps<TItem extends SelectItem> =
|
|
2259
|
-
declare const Select: <TItem extends SelectItem>(props:
|
|
2125
|
+
type SelectProps<TItem extends SelectItem> = FieldWrapperReservedProps & SelectControlProps<TItem>;
|
|
2126
|
+
declare const Select: <TItem extends SelectItem>(props: SelectProps<TItem>) => ReactElement;
|
|
2260
2127
|
|
|
2261
2128
|
interface SelectFieldProps<TItem extends SelectItem> extends Omit<SelectProps<TItem>, 'onChange' | 'value'> {
|
|
2262
2129
|
defaultValue?: TItem | null;
|
|
@@ -2264,7 +2131,7 @@ interface SelectFieldProps<TItem extends SelectItem> extends Omit<SelectProps<TI
|
|
|
2264
2131
|
options?: RegisterOptions;
|
|
2265
2132
|
shouldResetInvalidValues?: boolean;
|
|
2266
2133
|
}
|
|
2267
|
-
declare const SelectField: <TItem extends SelectItem>(props: SelectFieldProps<TItem>) =>
|
|
2134
|
+
declare const SelectField: <TItem extends SelectItem>(props: SelectFieldProps<TItem>) => react.JSX.Element;
|
|
2268
2135
|
|
|
2269
2136
|
declare enum SliderInputRoundingType {
|
|
2270
2137
|
ceilBySteps = "ceilBySteps",
|
|
@@ -2307,7 +2174,7 @@ interface SliderInputLimitExceededLiveTextFormatterContext {
|
|
|
2307
2174
|
}
|
|
2308
2175
|
type SliderInputLimitExceededLiveTextFormatter = Formatter<number, string, SliderInputLimitExceededLiveTextFormatterContext>;
|
|
2309
2176
|
|
|
2310
|
-
interface SliderInputProps extends
|
|
2177
|
+
interface SliderInputProps extends DesignSystemBaseProps, InputLabelPassthroughProps {
|
|
2311
2178
|
ariaLabelForHandle?: string;
|
|
2312
2179
|
ariaLabelledByForHandle?: string;
|
|
2313
2180
|
ariaValueTextFormatter?: SliderAriaValueTextFormatter;
|
|
@@ -2349,6 +2216,7 @@ interface SliderInputProps extends RefAttributes<HTMLInputElement>, DesignSystem
|
|
|
2349
2216
|
*/
|
|
2350
2217
|
onSliderChange?: (value: number) => void;
|
|
2351
2218
|
prefix?: ReactNode;
|
|
2219
|
+
ref?: Ref<HTMLInputElement>;
|
|
2352
2220
|
steps: SliderSteps;
|
|
2353
2221
|
stepType: SliderStepType;
|
|
2354
2222
|
suffix?: ReactNode;
|
|
@@ -2369,7 +2237,7 @@ interface SliderInputProps extends RefAttributes<HTMLInputElement>, DesignSystem
|
|
|
2369
2237
|
* and `onInputChange` callbacks. These callbacks are triggered on every change during slider movement
|
|
2370
2238
|
* or while typing in the input field, before the user finalizes their selection with Enter or onBlur.
|
|
2371
2239
|
*/
|
|
2372
|
-
declare const SliderInput:
|
|
2240
|
+
declare const SliderInput: (props: SliderInputProps) => react.JSX.Element;
|
|
2373
2241
|
|
|
2374
2242
|
interface SliderProps extends DesignSystemBaseProps {
|
|
2375
2243
|
ariaLabelForHandle?: string;
|
|
@@ -2392,7 +2260,7 @@ interface SliderProps extends DesignSystemBaseProps {
|
|
|
2392
2260
|
stepType: SliderStepType;
|
|
2393
2261
|
value: number;
|
|
2394
2262
|
}
|
|
2395
|
-
declare const Slider: (props: SliderProps) =>
|
|
2263
|
+
declare const Slider: (props: SliderProps) => react.JSX.Element;
|
|
2396
2264
|
|
|
2397
2265
|
interface SliderInputFieldProps extends Omit<SliderInputProps, 'onChange' | 'value'> {
|
|
2398
2266
|
options?: RegisterOptions;
|
|
@@ -2400,7 +2268,7 @@ interface SliderInputFieldProps extends Omit<SliderInputProps, 'onChange' | 'val
|
|
|
2400
2268
|
/**
|
|
2401
2269
|
* Note: You must set the `defaultValues` for this field in `useForm`. Without it, the field throw error.
|
|
2402
2270
|
*/
|
|
2403
|
-
declare const SliderInputField: (props: SliderInputFieldProps) =>
|
|
2271
|
+
declare const SliderInputField: (props: SliderInputFieldProps) => react.JSX.Element;
|
|
2404
2272
|
|
|
2405
2273
|
interface SpanButtonProps extends DesignSystemBaseProps, AriaAttributes {
|
|
2406
2274
|
borderRadius?: BorderRadius;
|
|
@@ -2413,7 +2281,7 @@ interface SpanButtonProps extends DesignSystemBaseProps, AriaAttributes {
|
|
|
2413
2281
|
onMouseUp?: (event: MouseEvent<HTMLButtonElement>) => void;
|
|
2414
2282
|
onTouchStart?: (event: TouchEvent<HTMLButtonElement>) => void;
|
|
2415
2283
|
}
|
|
2416
|
-
declare const SpanButton: (props: SpanButtonProps) =>
|
|
2284
|
+
declare const SpanButton: (props: SpanButtonProps) => react.JSX.Element;
|
|
2417
2285
|
|
|
2418
2286
|
declare enum StackDirection {
|
|
2419
2287
|
column = "column",
|
|
@@ -2430,11 +2298,12 @@ interface StackProps extends AriaAttributes {
|
|
|
2430
2298
|
fullWidth?: boolean;
|
|
2431
2299
|
gap?: Spacing;
|
|
2432
2300
|
id?: string;
|
|
2301
|
+
ref?: Ref<HTMLDivElement>;
|
|
2433
2302
|
role?: AriaRole;
|
|
2434
2303
|
tabIndex?: number;
|
|
2435
2304
|
wrap?: FlexWrap;
|
|
2436
2305
|
}
|
|
2437
|
-
declare const Stack:
|
|
2306
|
+
declare const Stack: (props: StackProps) => react.JSX.Element;
|
|
2438
2307
|
|
|
2439
2308
|
declare enum StepperVariant {
|
|
2440
2309
|
horizontal = "horizontal",
|
|
@@ -2456,7 +2325,7 @@ interface StepperProps {
|
|
|
2456
2325
|
steps: StepperItemProps[];
|
|
2457
2326
|
variant: StepperVariant;
|
|
2458
2327
|
}
|
|
2459
|
-
declare const Stepper: (props: StepperProps) =>
|
|
2328
|
+
declare const Stepper: (props: StepperProps) => react.JSX.Element;
|
|
2460
2329
|
|
|
2461
2330
|
declare enum StoreButtonVariant {
|
|
2462
2331
|
android = "android",
|
|
@@ -2472,7 +2341,7 @@ interface StoreButtonProps {
|
|
|
2472
2341
|
size: StoreButtonSize;
|
|
2473
2342
|
variant: StoreButtonVariant;
|
|
2474
2343
|
}
|
|
2475
|
-
declare const StoreButton: (props: StoreButtonProps) =>
|
|
2344
|
+
declare const StoreButton: (props: StoreButtonProps) => react.JSX.Element;
|
|
2476
2345
|
|
|
2477
2346
|
declare enum TableVariant {
|
|
2478
2347
|
exchange = "exchange",
|
|
@@ -2496,12 +2365,12 @@ interface TableProps {
|
|
|
2496
2365
|
variant: TableVariant;
|
|
2497
2366
|
width?: Property.Width;
|
|
2498
2367
|
}
|
|
2499
|
-
declare const Table: (props: TableProps) =>
|
|
2368
|
+
declare const Table: (props: TableProps) => react.JSX.Element;
|
|
2500
2369
|
|
|
2501
2370
|
interface TableBodyProps {
|
|
2502
2371
|
children: ReactNode;
|
|
2503
2372
|
}
|
|
2504
|
-
declare const TableBody: (props: TableBodyProps) =>
|
|
2373
|
+
declare const TableBody: (props: TableBodyProps) => react.JSX.Element;
|
|
2505
2374
|
|
|
2506
2375
|
interface TableDataProps extends DesignSystemBaseProps {
|
|
2507
2376
|
children: ReactNode;
|
|
@@ -2510,12 +2379,12 @@ interface TableDataProps extends DesignSystemBaseProps {
|
|
|
2510
2379
|
textAlign?: TableTextAlign;
|
|
2511
2380
|
variant: TableVariant;
|
|
2512
2381
|
}
|
|
2513
|
-
declare const TableData: (props: TableDataProps) =>
|
|
2382
|
+
declare const TableData: (props: TableDataProps) => react.JSX.Element;
|
|
2514
2383
|
|
|
2515
2384
|
interface TableHeadProps {
|
|
2516
2385
|
children: ReactNode;
|
|
2517
2386
|
}
|
|
2518
|
-
declare const TableHead: (props: TableHeadProps) =>
|
|
2387
|
+
declare const TableHead: (props: TableHeadProps) => react.JSX.Element;
|
|
2519
2388
|
|
|
2520
2389
|
interface TableHeadDataProps extends DesignSystemBaseProps {
|
|
2521
2390
|
abbr?: string;
|
|
@@ -2527,13 +2396,13 @@ interface TableHeadDataProps extends DesignSystemBaseProps {
|
|
|
2527
2396
|
variant: TableVariant;
|
|
2528
2397
|
width?: Property.Width;
|
|
2529
2398
|
}
|
|
2530
|
-
declare const TableHeadData: (props: TableHeadDataProps) =>
|
|
2399
|
+
declare const TableHeadData: (props: TableHeadDataProps) => react.JSX.Element;
|
|
2531
2400
|
|
|
2532
2401
|
interface TableRowProps extends DesignSystemBaseProps {
|
|
2533
2402
|
children: ReactNode;
|
|
2534
2403
|
variant: TableVariant;
|
|
2535
2404
|
}
|
|
2536
|
-
declare const TableRow: (props: TableRowProps) =>
|
|
2405
|
+
declare const TableRow: (props: TableRowProps) => react.JSX.Element;
|
|
2537
2406
|
|
|
2538
2407
|
declare enum TabsVariant {
|
|
2539
2408
|
infoTags = "infoTags",
|
|
@@ -2599,7 +2468,7 @@ interface TabsProps extends TabsType, DesignSystemBaseProps {
|
|
|
2599
2468
|
*
|
|
2600
2469
|
* More info: https://www.w3.org/WAI/ARIA/apg/patterns/tabs/examples/tabs-manual/
|
|
2601
2470
|
*/
|
|
2602
|
-
declare const Tabs: (props: TabsProps) =>
|
|
2471
|
+
declare const Tabs: (props: TabsProps) => react.JSX.Element;
|
|
2603
2472
|
|
|
2604
2473
|
declare enum TagType {
|
|
2605
2474
|
alert = "alert",
|
|
@@ -2636,6 +2505,7 @@ interface TagProps extends DesignSystemBaseProps, AriaAttributes {
|
|
|
2636
2505
|
iconSystem?: IconSystemType;
|
|
2637
2506
|
onClick?: (event: MouseEvent<HTMLDivElement>) => void;
|
|
2638
2507
|
onKeyDown?: (event: KeyboardEvent<HTMLDivElement>) => void;
|
|
2508
|
+
ref?: Ref<HTMLDivElement>;
|
|
2639
2509
|
role?: AriaRole;
|
|
2640
2510
|
size?: TagSize;
|
|
2641
2511
|
tabIndex?: number;
|
|
@@ -2644,74 +2514,38 @@ interface TagProps extends DesignSystemBaseProps, AriaAttributes {
|
|
|
2644
2514
|
type: TagType;
|
|
2645
2515
|
whiteSpace?: WhiteSpace;
|
|
2646
2516
|
}
|
|
2647
|
-
declare const Tag:
|
|
2517
|
+
declare const Tag: (props: TagProps) => react.JSX.Element;
|
|
2648
2518
|
|
|
2649
2519
|
interface TextAreaControlProps extends TextareaHTMLAttributes<HTMLTextAreaElement>, FieldControlProps {
|
|
2520
|
+
ref?: Ref<HTMLTextAreaElement>;
|
|
2650
2521
|
}
|
|
2651
|
-
declare const TextArea:
|
|
2652
|
-
label
|
|
2653
|
-
|
|
2654
|
-
|
|
2655
|
-
colorScheme?: ColorScheme | undefined;
|
|
2656
|
-
mediaType?: MediaType | undefined;
|
|
2657
|
-
addons?: FieldAddon[] | undefined;
|
|
2658
|
-
controlMobileWidth?: csstype.Property.Width | undefined;
|
|
2659
|
-
controlSectionWidth?: csstype.Property.Width | undefined;
|
|
2660
|
-
controlWidth?: csstype.Property.Width | undefined;
|
|
2661
|
-
errorMessage?: react.ReactNode;
|
|
2662
|
-
hiddenHintText?: react.ReactNode;
|
|
2663
|
-
hintText?: react.ReactNode;
|
|
2664
|
-
layout?: FieldWrapperLayout | undefined;
|
|
2665
|
-
note?: react.ReactNode;
|
|
2666
|
-
optionality?: FieldOptionality | undefined;
|
|
2667
|
-
successMessage?: react.ReactNode;
|
|
2668
|
-
labelAs?: react.ElementType | undefined;
|
|
2669
|
-
labelHiddenText?: string | undefined;
|
|
2670
|
-
labelId?: string | undefined;
|
|
2671
|
-
labelSuffix?: react.ReactNode;
|
|
2672
|
-
tooltip?: TooltipInfoDescriptor | undefined;
|
|
2673
|
-
} & react.RefAttributes<HTMLTextAreaElement>>;
|
|
2522
|
+
declare const TextArea: {
|
|
2523
|
+
(props: FieldWrapperReservedProps & Omit<TextAreaControlProps, "label" | "addons" | "controlMobileWidth" | "controlSectionWidth" | "controlWidth" | "errorMessage" | "hiddenHintText" | "hintText" | "labelAs" | "labelHiddenText" | "labelId" | "labelSuffix" | "layout" | "note" | "optionality" | "successMessage" | "tooltip">): react.JSX.Element;
|
|
2524
|
+
displayName: string;
|
|
2525
|
+
};
|
|
2674
2526
|
type TextAreaProps = ComponentProps<typeof TextArea>;
|
|
2675
2527
|
|
|
2676
2528
|
interface TextAreaFieldProps extends Omit<TextAreaProps, 'onChange' | 'value'> {
|
|
2677
2529
|
name: string;
|
|
2678
2530
|
options?: RegisterOptions;
|
|
2679
2531
|
}
|
|
2680
|
-
declare const TextAreaField: (props: TextAreaFieldProps) =>
|
|
2532
|
+
declare const TextAreaField: (props: TextAreaFieldProps) => react.JSX.Element;
|
|
2681
2533
|
|
|
2682
2534
|
interface TextInputControlProps extends InputProps {
|
|
2683
2535
|
iconSystem?: IconSystemType;
|
|
2684
2536
|
placeholder?: string;
|
|
2685
2537
|
}
|
|
2686
|
-
declare const TextInput:
|
|
2687
|
-
label
|
|
2688
|
-
|
|
2689
|
-
|
|
2690
|
-
colorScheme?: ColorScheme | undefined;
|
|
2691
|
-
mediaType?: MediaType | undefined;
|
|
2692
|
-
addons?: FieldAddon[] | undefined;
|
|
2693
|
-
controlMobileWidth?: csstype.Property.Width | undefined;
|
|
2694
|
-
controlSectionWidth?: csstype.Property.Width | undefined;
|
|
2695
|
-
controlWidth?: csstype.Property.Width | undefined;
|
|
2696
|
-
errorMessage?: react.ReactNode;
|
|
2697
|
-
hiddenHintText?: react.ReactNode;
|
|
2698
|
-
hintText?: react.ReactNode;
|
|
2699
|
-
layout?: FieldWrapperLayout | undefined;
|
|
2700
|
-
note?: react.ReactNode;
|
|
2701
|
-
optionality?: FieldOptionality | undefined;
|
|
2702
|
-
successMessage?: react.ReactNode;
|
|
2703
|
-
labelAs?: react.ElementType | undefined;
|
|
2704
|
-
labelHiddenText?: string | undefined;
|
|
2705
|
-
labelId?: string | undefined;
|
|
2706
|
-
labelSuffix?: react.ReactNode;
|
|
2707
|
-
tooltip?: TooltipInfoDescriptor | undefined;
|
|
2708
|
-
} & react.RefAttributes<HTMLInputElement>>;
|
|
2538
|
+
declare const TextInput: {
|
|
2539
|
+
(props: FieldWrapperReservedProps & Omit<TextInputControlProps, "label" | "addons" | "controlMobileWidth" | "controlSectionWidth" | "controlWidth" | "errorMessage" | "hiddenHintText" | "hintText" | "labelAs" | "labelHiddenText" | "labelId" | "labelSuffix" | "layout" | "note" | "optionality" | "successMessage" | "tooltip">): react.JSX.Element;
|
|
2540
|
+
displayName: string;
|
|
2541
|
+
};
|
|
2709
2542
|
type TextInputProps = ComponentProps<typeof TextInput>;
|
|
2710
2543
|
|
|
2711
2544
|
interface TextInputFieldProps extends Omit<TextInputProps, 'onChange' | 'value'> {
|
|
2545
|
+
name: string;
|
|
2712
2546
|
options?: RegisterOptions;
|
|
2713
2547
|
}
|
|
2714
|
-
declare const TextInputField: (props: TextInputFieldProps) =>
|
|
2548
|
+
declare const TextInputField: (props: TextInputFieldProps) => react.JSX.Element;
|
|
2715
2549
|
|
|
2716
2550
|
interface ToggleProps {
|
|
2717
2551
|
defaultValue?: boolean;
|
|
@@ -2724,35 +2558,16 @@ interface ToggleProps {
|
|
|
2724
2558
|
/**
|
|
2725
2559
|
* Currently not compatible with react-hook-form
|
|
2726
2560
|
*/
|
|
2727
|
-
declare const Toggle: (props: ToggleProps) =>
|
|
2561
|
+
declare const Toggle: (props: ToggleProps) => react.JSX.Element;
|
|
2728
2562
|
|
|
2729
2563
|
interface TrailingTextInputControlProps extends InputProps {
|
|
2730
2564
|
placeholder?: string;
|
|
2731
2565
|
suffix?: ReactNode;
|
|
2732
2566
|
}
|
|
2733
|
-
declare const TrailingTextInput:
|
|
2734
|
-
label
|
|
2735
|
-
|
|
2736
|
-
|
|
2737
|
-
colorScheme?: ColorScheme | undefined;
|
|
2738
|
-
mediaType?: MediaType | undefined;
|
|
2739
|
-
addons?: FieldAddon[] | undefined;
|
|
2740
|
-
controlMobileWidth?: csstype.Property.Width | undefined;
|
|
2741
|
-
controlSectionWidth?: csstype.Property.Width | undefined;
|
|
2742
|
-
controlWidth?: csstype.Property.Width | undefined;
|
|
2743
|
-
errorMessage?: ReactNode;
|
|
2744
|
-
hiddenHintText?: ReactNode;
|
|
2745
|
-
hintText?: ReactNode;
|
|
2746
|
-
layout?: FieldWrapperLayout | undefined;
|
|
2747
|
-
note?: ReactNode;
|
|
2748
|
-
optionality?: FieldOptionality | undefined;
|
|
2749
|
-
successMessage?: ReactNode;
|
|
2750
|
-
labelAs?: react.ElementType | undefined;
|
|
2751
|
-
labelHiddenText?: string | undefined;
|
|
2752
|
-
labelId?: string | undefined;
|
|
2753
|
-
labelSuffix?: ReactNode;
|
|
2754
|
-
tooltip?: TooltipInfoDescriptor | undefined;
|
|
2755
|
-
} & react.RefAttributes<HTMLInputElement>>;
|
|
2567
|
+
declare const TrailingTextInput: {
|
|
2568
|
+
(props: FieldWrapperReservedProps & Omit<TrailingTextInputControlProps, "label" | "addons" | "controlMobileWidth" | "controlSectionWidth" | "controlWidth" | "errorMessage" | "hiddenHintText" | "hintText" | "labelAs" | "labelHiddenText" | "labelId" | "labelSuffix" | "layout" | "note" | "optionality" | "successMessage" | "tooltip">): react.JSX.Element;
|
|
2569
|
+
displayName: string;
|
|
2570
|
+
};
|
|
2756
2571
|
type TrailingTextInputProps = ComponentProps<typeof TrailingTextInput>;
|
|
2757
2572
|
|
|
2758
2573
|
declare enum TypographyVariant {
|
|
@@ -2781,6 +2596,7 @@ interface TypographyProps extends DesignSystemBaseProps, SsrProps, AriaAttribute
|
|
|
2781
2596
|
fullWidth?: boolean;
|
|
2782
2597
|
id?: string;
|
|
2783
2598
|
onClick?: ((event: MouseEvent<HTMLElement>) => void) | undefined;
|
|
2599
|
+
ref?: Ref<HTMLElement>;
|
|
2784
2600
|
role?: AriaRole;
|
|
2785
2601
|
tabIndex?: number;
|
|
2786
2602
|
textAlign?: TypographyTextAlign;
|
|
@@ -2788,7 +2604,7 @@ interface TypographyProps extends DesignSystemBaseProps, SsrProps, AriaAttribute
|
|
|
2788
2604
|
weight?: FontWeight;
|
|
2789
2605
|
whiteSpace?: WhiteSpace;
|
|
2790
2606
|
}
|
|
2791
|
-
declare const Typography:
|
|
2607
|
+
declare const Typography: (props: TypographyProps) => react.JSX.Element;
|
|
2792
2608
|
|
|
2793
2609
|
interface VisuallyHiddenProps extends AriaAttributes {
|
|
2794
2610
|
as?: ElementType;
|
|
@@ -2796,7 +2612,7 @@ interface VisuallyHiddenProps extends AriaAttributes {
|
|
|
2796
2612
|
id?: string;
|
|
2797
2613
|
role?: AriaRole;
|
|
2798
2614
|
}
|
|
2799
|
-
declare const VisuallyHidden: (props: VisuallyHiddenProps) =>
|
|
2615
|
+
declare const VisuallyHidden: (props: VisuallyHiddenProps) => react.JSX.Element;
|
|
2800
2616
|
|
|
2801
2617
|
declare const useUniqueIdIfIsUndefined: (idParam: string | undefined) => string;
|
|
2802
2618
|
|
|
@@ -2810,7 +2626,7 @@ interface FormConfigProviderProps {
|
|
|
2810
2626
|
children: ReactNode;
|
|
2811
2627
|
config: FormConfig;
|
|
2812
2628
|
}
|
|
2813
|
-
declare const FormConfigProvider: (props: FormConfigProviderProps) =>
|
|
2629
|
+
declare const FormConfigProvider: (props: FormConfigProviderProps) => react.JSX.Element;
|
|
2814
2630
|
|
|
2815
2631
|
interface UseFormCaptchaProp {
|
|
2816
2632
|
action: string;
|
|
@@ -2843,7 +2659,7 @@ interface FormProviderProps<TFieldValues extends FieldValues, TSubmitValues exte
|
|
|
2843
2659
|
children: ReactNode;
|
|
2844
2660
|
form: UseFormReturn<TFieldValues, TSubmitValues>;
|
|
2845
2661
|
}
|
|
2846
|
-
declare const FormProvider: <TFieldValues extends FieldValues, TSubmitValues extends FieldValues | undefined = undefined>(props: FormProviderProps<TFieldValues, TSubmitValues>) =>
|
|
2662
|
+
declare const FormProvider: <TFieldValues extends FieldValues, TSubmitValues extends FieldValues | undefined = undefined>(props: FormProviderProps<TFieldValues, TSubmitValues>) => react.JSX.Element;
|
|
2847
2663
|
|
|
2848
2664
|
declare const FormConfigContext: react.Context<FormConfig>;
|
|
2849
2665
|
|
|
@@ -2863,4 +2679,4 @@ declare const jsonFormatter: afformative.Formatter<any, string, unknown>;
|
|
|
2863
2679
|
declare const useMessageFormatter: <TInput extends unknown>(getMessage: (value: TInput) => MessageDescriptorWithPrimitiveValues | string) => afformative.Formatter<TInput, ReactNode, unknown>;
|
|
2864
2680
|
|
|
2865
2681
|
export { Accordion, AccordionContent, AccordionItem, AccordionKeyValue, AccordionVariant, BorderRadius, Button, ButtonContentAlign, ButtonSize, ButtonStyle, ButtonType, ButtonsLayout, ButtonsLayoutAlign, ButtonsLayoutDirection, CalculatorResult, CalculatorResultInfoPosition, CaptchaType, Checkbox, CheckboxControl, CheckboxField, CheckboxPosition, CircularProgressBar, ColorScheme, ColorSchemeProvider, ComboBox, ComboBoxControl, ComboBoxField, ComboBoxItemOrderSource, ComboBoxValueType, DatePicker, DatePickerControl, DatePickerField, DesignSystemMessagesProvider, DesignSystemPropDefaultsProvider, DesignSystemProvider, EmailInput, EmailInputField, ErrorBox, FieldAddonPosition, FieldConfigProvider, FieldLabelStoreProvider, FieldOptionality, FieldWrapper, FieldWrapperLayout, FileInput, FileInputControl, FileInputErrorCode, FileInputField, FlexWrap, FontWeight, FormConfigContext, FormConfigProvider, FormErrorOutcome, FormErrorSummary, FormProvider, FormSuccessOutcome, FormatAmountCurrencyDisplay, FormatAmountGrouping, FormattedAmount$1 as FormattedAmount, FormattedHtmlMessage, FormattedMessage, FormattedPercentage, IconFlag, IconFlagType, IconProduct, IconProductHighlightType, IconProductSize, IconProductType, IconProductVariant, IconSystem, IconSystemSize, IconSystemType, Infobox, InfoboxSize, InfoboxVariant, InputBase, InputLabel, InputLabelSize, InputSize, InputTextAlign, LabelTooltipPosition, Loader, LoaderOverlayBox, LoaderSize, MaskedInput, MaskedInputBase, MaskedInputField, MediaType, MediaTypeProvider, Modal, ModalVerticalPosition, ModalWidthType, FormattedAmount as NextFormattedAmount, NumberInput, NumberInputField, Overflow, Paper, PaperShadow, PhoneInput, PhoneInputField, ProgressPaper, Radio, RadioButton, RadioButtonField, RadioButtonGroup, RadioButtonGroupControl, RadioButtonGroupField, RadioButtonGroupLayout, RadioControl, RadioField, RadioGroup, RadioGroupControl, RadioGroupDirection, RadioGroupField, RadioPosition, ReCaptchaError, ReCaptchaErrorType, ReasonForClosing, SearchInput, Select, SelectControl, SelectField, SelectItemOrderSource, SelectVariant, Slider, SliderInput, SliderInputField, SliderInputRoundingType, SliderStepType, Spacing, SpanButton, Stack, StackDirection, Stepper, StepperVariant, StoreButton, StoreButtonSize, StoreButtonVariant, Table, TableBody, TableData, TableHead, TableHeadData, TableHeadScope, TableRow, TableTextAlign, TableVariant, Tabs, TabsActiveTabDefaultPosition, TabsSize, TabsVariant, TabsWrap, Tag, TagIconPosition, TagSize, TagTextTransform, TagType, TextArea, TextAreaField, TextDecoration, TextInput, TextInputField, ThrownFormLevelErrorType, Toggle, TooltipCloseReason, TooltipGeneral, TooltipInfo, TooltipInfoConditional, TooltipInfoDisplayMethod, TooltipInfoDisplayableCheck, TooltipPlacement, TooltipWidth, TrailingTextInput, Typography, TypographyTextAlign, TypographyVariant, VisuallyHidden, WhiteSpace, datePickerValueFormat, getClampedFontSize, getColor, getTextDecorationStyle, htmlNbsp, identityFormatter, isRenderable, jsonFormatter, liferayClassNames, mapTooltipInfoDescriptorToPropsSubset, mergeRefs, pxToRem, renderReactNodeArray, resolveBorderRadiusValue, resolveFlexWrapValue, resolveFontWeightValue, resolveOverflowValue, resolveSpacingValue, resolveTextDecorationValue, resolveWhiteSpaceValue, styled, theme, useChooseColor, useColorScheme, useCreateTooltipInfoDescriptor, useDesignSystem, useDesignSystemMessages, useDesignSystemPropDefaults, useFieldConfig, useFieldLabels, useForm, useFormContext, useFormSuccessOutcomeManager, useFormatAmount$1 as useFormatAmount, useFormatPercentage, useFormattedPercentage, useGetFormattedHtmlMessageIfDisplayable, useIsMessageDisplayable, useMediaType, useMessageFormatter, useFormatAmount as useNextFormatAmount, useRegisterFieldLabel, useUniqueIdIfIsUndefined, withFieldWrapper, withMaskedInputField };
|
|
2866
|
-
export type { AccordionContentType, AccordionItemProps, AccordionItemType, AccordionKeyValueProps, AccordionProps, ButtonProps, ButtonsLayoutProps, CalculatorResultBodyItem, CalculatorResultHeader, CalculatorResultMain, CalculatorResultModalDescriptor, CalculatorResultProps, CheckboxControlProps, CheckboxFieldProps, CheckboxProps, ChooseColor, CircularProgressBarProps, ColorObject, ColorSchemeProviderProps, ComboBoxControlProps, ComboBoxFieldProps, ComboBoxItem, ComboBoxItemOrder, ComboBoxProps, ComboBoxValue, CreateTooltipInfoDescriptor, CreateTooltipInfoDescriptorParam, DatePickerControlProps, DatePickerFieldProps, DatePickerProps, DesignSystemBaseProps, DesignSystemFullMessages, DesignSystemFullPropDefaults, DesignSystemMessagesProviderProps, DesignSystemPartialMessages, DesignSystemPartialPropDefaults, DesignSystemPropDefaultsProviderProps, DesignSystemProviderProps, EmailInputFieldProps, EmailInputProps, ErrorBoxItem, ErrorBoxProps, FieldAddon, FieldConfig, FieldConfigProviderProps, FieldControlProps, FieldLabelStoreProviderProps, FieldWrapperControlProps, FieldWrapperProps, FileInputControlProps, FileInputDropzoneDragFilesHereComponent, FileInputDropzoneDragOrSelectFilesComponent, FileInputDropzoneSelectFilesComponent, FileInputFieldProps, FileInputLimitDescriptionComponent, FileInputProps, FileInputRemoveButtonTextComponent, FileInputSettings, FileInputUploadErrorReasonComponent, FileInputUploadFailedComponent, FormConfig, FormConfigProviderProps, FormErrorOutcomeProps, FormErrorSummaryProps, FormProviderProps, FormSuccessOutcomeProps, FormatAmountParam, FormattedAmountProps$1 as FormattedAmountProps, FormattedHtmlMessageProps, FormattedMessageProps, FormattedPercentageProps, GetColor, IconFlagProps, IconProductProps, IconSystemProps, IconSystemSvgProps, InfoboxProps, InfoboxTextContent, InputBaseProps, InputLabelPassthroughProps, InputLabelProps, InputProps, LoaderOverlayBoxProps, LoaderProps, MaskedInputBaseProps, MaskedInputFieldProps, MaskedInputProps, MediaTypeProviderProps, MessageDescriptorWithPrimitiveValues, MessageDescriptorWithValues, MessageValues, ModalOnClose, ModalProps, FormattedAmountProps as NextFormattedAmountProps, NumberInputFieldProps, NumberInputProps, PaperProps, PhoneInputFieldProps, PhoneInputProps, PrimitiveMessageValues, ProgressPaperProps, RadioButtonFieldProps, RadioButtonGroupControlProps, RadioButtonGroupFieldProps, RadioButtonGroupItem, RadioButtonGroupProps, RadioButtonLabel, RadioButtonProps, RadioControlProps, RadioFieldProps, RadioGeneralProps, RadioGroupControlProps, RadioGroupFieldProps, RadioGroupItem, RadioGroupProps, RadioProps, ReCaptchaV3Config, SearchInputProps, SelectControlProps, SelectFieldProps, SelectItem, SelectItemOrder, SelectProps, SliderAriaValueTextFormatter, SliderAriaValueTextFormatterContext, SliderBreakpoint, SliderInputFieldProps, SliderInputLimitExceededLiveTextFormatter, SliderInputLimitExceededLiveTextFormatterContext, SliderInputProps, SliderMinMaxLabels, SliderProps, SliderSteps, SpanButtonProps, SsrProps, StackProps, StepperItemProps, StepperProps, StoreButtonProps, SubmitHandler, SubmitHandlerErrorInfo, SubmitHandlerExtraParam, TabItemType, TableBodyProps, TableDataProps, TableHeadDataProps, TableHeadProps, TableProps, TableRowProps, TabsProps, TabsType, TagProps, TextAreaFieldProps, TextAreaProps, TextInputFieldProps, TextInputProps, Theme, ThrownFieldLevelError, ThrownFieldLevelErrorFormatter, ThrownFormErrors, ThrownFormLevelError, ThrownFormLevelErrorFormatter, ThrownFormLevelErrorFormatterOutput, ThrownFormLevelErrorMeta, ToggleProps, TooltipDescriptor, TooltipGeneralProps, TooltipInfoConditionalProps, TooltipInfoDescriptor, TooltipInfoDisplayableCheckProps, TooltipInfoProps, TooltipRenderParent, TrailingTextInputProps, TypographyProps, UseColorSchemeOptions, UseColorSchemeParam, UseDesignSystemOptions, UseDesignSystemParam, UseFormCaptchaProp, UseFormHandleSubmit, UseFormProps, UseFormReturn, UseFormSuccessOutcomeManagerReturn, UseMediaTypeOptions, UseMediaTypeParam, VisuallyHiddenProps };
|
|
2682
|
+
export type { AccordionContentType, AccordionItemProps, AccordionItemType, AccordionKeyValueProps, AccordionProps, ButtonProps, ButtonsLayoutProps, CalculatorResultBodyItem, CalculatorResultHeader, CalculatorResultMain, CalculatorResultModalDescriptor, CalculatorResultProps, CheckboxControlProps, CheckboxFieldProps, CheckboxProps, ChooseColor, CircularProgressBarProps, ColorObject, ColorSchemeProviderProps, ComboBoxControlProps, ComboBoxFieldProps, ComboBoxItem, ComboBoxItemOrder, ComboBoxProps, ComboBoxValue, CreateTooltipInfoDescriptor, CreateTooltipInfoDescriptorParam, DatePickerControlProps, DatePickerFieldProps, DatePickerProps, DesignSystemBaseProps, DesignSystemFullMessages, DesignSystemFullPropDefaults, DesignSystemMessagesProviderProps, DesignSystemPartialMessages, DesignSystemPartialPropDefaults, DesignSystemPropDefaultsProviderProps, DesignSystemProviderProps, EmailInputFieldProps, EmailInputProps, ErrorBoxItem, ErrorBoxProps, FieldAddon, FieldConfig, FieldConfigProviderProps, FieldControlProps, FieldLabelStoreProviderProps, FieldWrapperControlProps, FieldWrapperProps, FieldWrapperReservedProps, FileInputControlProps, FileInputDropzoneDragFilesHereComponent, FileInputDropzoneDragOrSelectFilesComponent, FileInputDropzoneSelectFilesComponent, FileInputFieldProps, FileInputLimitDescriptionComponent, FileInputProps, FileInputRemoveButtonTextComponent, FileInputSettings, FileInputUploadErrorReasonComponent, FileInputUploadFailedComponent, FormConfig, FormConfigProviderProps, FormErrorOutcomeProps, FormErrorSummaryProps, FormProviderProps, FormSuccessOutcomeProps, FormatAmountParam, FormattedAmountProps$1 as FormattedAmountProps, FormattedHtmlMessageProps, FormattedMessageProps, FormattedPercentageProps, GetColor, IconFlagProps, IconProductProps, IconSystemProps, IconSystemSvgProps, InfoboxProps, InfoboxTextContent, InputBaseProps, InputLabelPassthroughProps, InputLabelProps, InputProps, LoaderOverlayBoxProps, LoaderProps, MaskedInputBaseProps, MaskedInputFieldProps, MaskedInputProps, MediaTypeProviderProps, MessageDescriptorWithPrimitiveValues, MessageDescriptorWithValues, MessageValues, ModalOnClose, ModalProps, FormattedAmountProps as NextFormattedAmountProps, NumberInputFieldProps, NumberInputProps, PaperProps, PhoneInputFieldProps, PhoneInputProps, PrimitiveMessageValues, ProgressPaperProps, RadioButtonFieldProps, RadioButtonGroupControlProps, RadioButtonGroupFieldProps, RadioButtonGroupItem, RadioButtonGroupProps, RadioButtonLabel, RadioButtonProps, RadioControlProps, RadioFieldProps, RadioGeneralProps, RadioGroupControlProps, RadioGroupFieldProps, RadioGroupItem, RadioGroupProps, RadioProps, ReCaptchaV3Config, SearchInputProps, SelectControlProps, SelectFieldProps, SelectItem, SelectItemOrder, SelectProps, SliderAriaValueTextFormatter, SliderAriaValueTextFormatterContext, SliderBreakpoint, SliderInputFieldProps, SliderInputLimitExceededLiveTextFormatter, SliderInputLimitExceededLiveTextFormatterContext, SliderInputProps, SliderMinMaxLabels, SliderProps, SliderSteps, SpanButtonProps, SsrProps, StackProps, StepperItemProps, StepperProps, StoreButtonProps, SubmitHandler, SubmitHandlerErrorInfo, SubmitHandlerExtraParam, TabItemType, TableBodyProps, TableDataProps, TableHeadDataProps, TableHeadProps, TableProps, TableRowProps, TabsProps, TabsType, TagProps, TextAreaFieldProps, TextAreaProps, TextInputFieldProps, TextInputProps, Theme, ThrownFieldLevelError, ThrownFieldLevelErrorFormatter, ThrownFormErrors, ThrownFormLevelError, ThrownFormLevelErrorFormatter, ThrownFormLevelErrorFormatterOutput, ThrownFormLevelErrorMeta, ToggleProps, TooltipDescriptor, TooltipGeneralProps, TooltipInfoConditionalProps, TooltipInfoDescriptor, TooltipInfoDisplayableCheckProps, TooltipInfoProps, TooltipRenderParent, TrailingTextInputProps, TypographyProps, UseColorSchemeOptions, UseColorSchemeParam, UseDesignSystemOptions, UseDesignSystemParam, UseFormCaptchaProp, UseFormHandleSubmit, UseFormProps, UseFormReturn, UseFormSuccessOutcomeManagerReturn, UseMediaTypeOptions, UseMediaTypeParam, VisuallyHiddenProps };
|