@mmb-digital/design-system-web 0.1.348-alpha.1 → 0.1.348-alpha.2
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/README.md +3 -4
- package/dist/index.cjs +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +116 -120
- package/dist/index.d.ts +116 -120
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +153 -153
package/dist/index.d.cts
CHANGED
|
@@ -1,14 +1,10 @@
|
|
|
1
|
-
import * as _$react from "react";
|
|
2
1
|
import { AriaAttributes, AriaRole, BaseSyntheticEvent, ChangeEvent, ComponentProps, ComponentType, ElementType, FC, FocusEvent, FocusEventHandler, HTMLAttributeAnchorTarget, HTMLAttributes, HTMLInputAutoCompleteAttribute, HTMLInputTypeAttribute, HTMLProps, Key, KeyboardEvent, KeyboardEventHandler, MouseEvent, MouseEventHandler, MutableRefObject, ReactElement, ReactNode, Ref, RefObject, TextareaHTMLAttributes, TouchEvent } from "react";
|
|
3
2
|
import { Property } from "csstype";
|
|
4
3
|
import { MessageDescriptor } from "react-intl";
|
|
5
4
|
import { FormatXMLElementFn, PrimitiveType } from "intl-messageformat";
|
|
6
5
|
import emotionStyled from "@emotion/styled";
|
|
7
|
-
import * as _$_emotion_react0 from "@emotion/react";
|
|
8
6
|
import { Theme as Theme$1 } from "@emotion/react";
|
|
9
|
-
import * as _$react_hook_form0 from "react-hook-form";
|
|
10
7
|
import { FieldPath, FieldValues, RegisterOptions, SubmitErrorHandler, UseFormProps as UseFormProps$1, UseFormReturn as UseFormReturn$1 } from "react-hook-form";
|
|
11
|
-
import * as _$afformative from "afformative";
|
|
12
8
|
import { Formatter } from "afformative";
|
|
13
9
|
import { Locale } from "date-fns";
|
|
14
10
|
import { DatePickerProps as DatePickerProps$1 } from "react-datepicker";
|
|
@@ -25,17 +21,17 @@ type IsMessageDisplayableHookReturnFunction = (messageDescriptor: MessageDescrip
|
|
|
25
21
|
interface FormattedMessageProps extends MessageDescriptor {
|
|
26
22
|
values?: MessageValues;
|
|
27
23
|
}
|
|
28
|
-
declare const FormattedMessage: (props: FormattedMessageProps) =>
|
|
24
|
+
declare const FormattedMessage: (props: FormattedMessageProps) => import("react").JSX.Element;
|
|
29
25
|
//#endregion
|
|
30
26
|
//#region src/components/formattedMessage/formattedHtmlMessage/FormattedHtmlMessage.d.ts
|
|
31
27
|
interface FormattedHtmlMessageProps extends MessageDescriptorWithPrimitiveValues {}
|
|
32
|
-
declare const FormattedHtmlMessage: (props: FormattedHtmlMessageProps) =>
|
|
28
|
+
declare const FormattedHtmlMessage: (props: FormattedHtmlMessageProps) => import("react").JSX.Element;
|
|
33
29
|
//#endregion
|
|
34
30
|
//#region src/components/formattedMessage/isMessageDisplayable/useIsMessageDisplayable.d.ts
|
|
35
31
|
declare const useIsMessageDisplayable: () => IsMessageDisplayableHookReturnFunction;
|
|
36
32
|
//#endregion
|
|
37
33
|
//#region src/components/formattedMessage/getFormattedHtmlMessageIfDisplayable/useGetFormattedHtmlMessageIfDisplayable.d.ts
|
|
38
|
-
declare const useGetFormattedHtmlMessageIfDisplayable: () => (messageDescriptor: MessageDescriptorWithPrimitiveValues) =>
|
|
34
|
+
declare const useGetFormattedHtmlMessageIfDisplayable: () => (messageDescriptor: MessageDescriptorWithPrimitiveValues) => import("react").JSX.Element | undefined;
|
|
39
35
|
//#endregion
|
|
40
36
|
//#region src/components/tooltip/types.d.ts
|
|
41
37
|
type TooltipRenderParent = (getParentProps: (userProps?: HTMLProps<Element>) => Record<string, unknown>) => ReactElement;
|
|
@@ -85,14 +81,14 @@ interface TooltipInfoDisplayableCheckProps extends DesignSystemBaseProps {
|
|
|
85
81
|
title?: MessageDescriptorWithPrimitiveValues;
|
|
86
82
|
triggerAriaLabel?: MessageDescriptorWithPrimitiveValues;
|
|
87
83
|
}
|
|
88
|
-
declare const TooltipInfoDisplayableCheck: (props: TooltipInfoDisplayableCheckProps) =>
|
|
84
|
+
declare const TooltipInfoDisplayableCheck: (props: TooltipInfoDisplayableCheckProps) => import("react").JSX.Element | null;
|
|
89
85
|
//#endregion
|
|
90
86
|
//#region src/components/tooltip/infoConditional/TooltipInfoConditional.d.ts
|
|
91
87
|
interface TooltipInfoConditionalProps extends DesignSystemBaseProps, BaseTooltipInfoProps {
|
|
92
88
|
displayMethod: TooltipInfoDisplayMethod;
|
|
93
89
|
floatingElement?: Partial<TooltipDescriptor>;
|
|
94
90
|
}
|
|
95
|
-
declare const TooltipInfoConditional: (props: TooltipInfoConditionalProps) =>
|
|
91
|
+
declare const TooltipInfoConditional: (props: TooltipInfoConditionalProps) => import("react").JSX.Element | null;
|
|
96
92
|
//#endregion
|
|
97
93
|
//#region src/components/tooltip/useCreateTooltipInfoDescriptor/useCreateTooltipInfoDescriptor.d.ts
|
|
98
94
|
interface CreateTooltipInfoDescriptorParam {
|
|
@@ -109,7 +105,7 @@ declare const useCreateTooltipInfoDescriptor: () => CreateTooltipInfoDescriptor;
|
|
|
109
105
|
interface TooltipInfoProps extends DesignSystemBaseProps, TooltipDelays, BaseTooltipInfoProps {
|
|
110
106
|
floatingElement: TooltipDescriptor;
|
|
111
107
|
}
|
|
112
|
-
declare const TooltipInfo: (props: TooltipInfoProps) =>
|
|
108
|
+
declare const TooltipInfo: (props: TooltipInfoProps) => import("react").JSX.Element;
|
|
113
109
|
//#endregion
|
|
114
110
|
//#region src/components/tooltip/general/TooltipGeneral.d.ts
|
|
115
111
|
interface TooltipGeneralProps extends DesignSystemBaseProps, TooltipDelays {
|
|
@@ -120,7 +116,7 @@ interface TooltipGeneralProps extends DesignSystemBaseProps, TooltipDelays {
|
|
|
120
116
|
portalRootElement?: HTMLElement | MutableRefObject<HTMLElement | null> | null;
|
|
121
117
|
renderParent: TooltipRenderParent;
|
|
122
118
|
}
|
|
123
|
-
declare const TooltipGeneral: (props: TooltipGeneralProps) =>
|
|
119
|
+
declare const TooltipGeneral: (props: TooltipGeneralProps) => import("react").JSX.Element;
|
|
124
120
|
//#endregion
|
|
125
121
|
//#region src/components/tooltip/util.d.ts
|
|
126
122
|
type TooltipInfoDescriptorPropsSubset = Pick<TooltipInfoProps, 'floatingElement' | 'triggerAriaLabel'>;
|
|
@@ -317,7 +313,7 @@ declare const mergeRefs: <T>(...refs: (Ref<T> | undefined)[]) => Ref<T>;
|
|
|
317
313
|
declare const pxToRem: (px: number | string, base?: number) => string;
|
|
318
314
|
//#endregion
|
|
319
315
|
//#region src/utils/renderReactNodeArray.d.ts
|
|
320
|
-
declare const renderReactNodeArray: (items: ReactNode[], separator?: ReactNode) => ReactElement<unknown, string |
|
|
316
|
+
declare const renderReactNodeArray: (items: ReactNode[], separator?: ReactNode) => ReactElement<unknown, string | import("react").JSXElementConstructor<any>>[] | null;
|
|
321
317
|
//#endregion
|
|
322
318
|
//#region src/utils/styled.d.ts
|
|
323
319
|
declare const styled: typeof emotionStyled;
|
|
@@ -354,7 +350,7 @@ interface FieldLabelStoreProviderProps {
|
|
|
354
350
|
*
|
|
355
351
|
* Field labels can be registered via the `useRegisterFieldLabel` hook, and consumed via the `useFieldLabels` hook.
|
|
356
352
|
**/
|
|
357
|
-
declare const FieldLabelStoreProvider: (props: FieldLabelStoreProviderProps) =>
|
|
353
|
+
declare const FieldLabelStoreProvider: (props: FieldLabelStoreProviderProps) => import("react").JSX.Element;
|
|
358
354
|
declare const useFieldLabels: () => Record<string, ReactNode>;
|
|
359
355
|
declare const useRegisterFieldLabel: () => (name: string, label: ReactNode) => void;
|
|
360
356
|
//#endregion
|
|
@@ -370,7 +366,7 @@ interface FieldConfigProviderProps extends FieldConfig {
|
|
|
370
366
|
*
|
|
371
367
|
* @deprecated Use `DesignSystemProvider` with the `messages` prop instead.
|
|
372
368
|
*/
|
|
373
|
-
declare const FieldConfigProvider: (props: FieldConfigProviderProps) =>
|
|
369
|
+
declare const FieldConfigProvider: (props: FieldConfigProviderProps) => import("react").JSX.Element;
|
|
374
370
|
declare const useFieldConfig: () => FieldConfig;
|
|
375
371
|
//#endregion
|
|
376
372
|
//#region src/contexts/designSystemMessages/DesignSystemMessagesProvider.d.ts
|
|
@@ -378,7 +374,7 @@ interface DesignSystemMessagesProviderProps {
|
|
|
378
374
|
children: ReactNode;
|
|
379
375
|
messages: DesignSystemPartialMessages;
|
|
380
376
|
}
|
|
381
|
-
declare const DesignSystemMessagesProvider: (props: DesignSystemMessagesProviderProps) =>
|
|
377
|
+
declare const DesignSystemMessagesProvider: (props: DesignSystemMessagesProviderProps) => import("react").JSX.Element;
|
|
382
378
|
//#endregion
|
|
383
379
|
//#region src/contexts/designSystemMessages/useDesignSystemMessages.d.ts
|
|
384
380
|
declare const useDesignSystemMessages: () => DesignSystemFullMessages;
|
|
@@ -388,7 +384,7 @@ interface DesignSystemPropDefaultsProviderProps {
|
|
|
388
384
|
children: ReactNode;
|
|
389
385
|
defaults: DesignSystemPartialPropDefaults;
|
|
390
386
|
}
|
|
391
|
-
declare const DesignSystemPropDefaultsProvider: (props: DesignSystemPropDefaultsProviderProps) =>
|
|
387
|
+
declare const DesignSystemPropDefaultsProvider: (props: DesignSystemPropDefaultsProviderProps) => import("react").JSX.Element;
|
|
392
388
|
//#endregion
|
|
393
389
|
//#region src/contexts/designSystemPropDefaults/useDesignSystemPropDefaults.d.ts
|
|
394
390
|
declare const useDesignSystemPropDefaults: () => DesignSystemFullPropDefaults;
|
|
@@ -415,19 +411,19 @@ interface AccordionProps extends DesignSystemBaseProps {
|
|
|
415
411
|
data: AccordionItemType[];
|
|
416
412
|
variant?: AccordionVariant;
|
|
417
413
|
}
|
|
418
|
-
declare const Accordion: (props: AccordionProps) =>
|
|
414
|
+
declare const Accordion: (props: AccordionProps) => import("react").JSX.Element;
|
|
419
415
|
//#endregion
|
|
420
416
|
//#region src/components/accordion/accordionItem/AccordionItem.d.ts
|
|
421
417
|
interface AccordionItemProps extends AccordionItemType, DesignSystemBaseProps {
|
|
422
418
|
variant: AccordionVariant;
|
|
423
419
|
}
|
|
424
|
-
declare const AccordionItem: (props: AccordionItemProps) =>
|
|
420
|
+
declare const AccordionItem: (props: AccordionItemProps) => import("react").JSX.Element;
|
|
425
421
|
//#endregion
|
|
426
422
|
//#region src/components/accordion/accordionContent/AccordionContent.d.ts
|
|
427
423
|
interface AccordionContentType extends DesignSystemBaseProps {
|
|
428
424
|
children: ReactNode;
|
|
429
425
|
}
|
|
430
|
-
declare const AccordionContent: (props: AccordionContentType) =>
|
|
426
|
+
declare const AccordionContent: (props: AccordionContentType) => import("react").JSX.Element;
|
|
431
427
|
//#endregion
|
|
432
428
|
//#region src/components/accordion/accordionKeyValue/AccordionKeyValue.d.ts
|
|
433
429
|
interface AccordionKeyValueProps extends DesignSystemBaseProps {
|
|
@@ -435,7 +431,7 @@ interface AccordionKeyValueProps extends DesignSystemBaseProps {
|
|
|
435
431
|
label: ReactNode;
|
|
436
432
|
value: ReactNode;
|
|
437
433
|
}
|
|
438
|
-
declare const AccordionKeyValue: (props: AccordionKeyValueProps) =>
|
|
434
|
+
declare const AccordionKeyValue: (props: AccordionKeyValueProps) => import("react").JSX.Element;
|
|
439
435
|
//#endregion
|
|
440
436
|
//#region src/components/iconSystem/types.d.ts
|
|
441
437
|
declare enum IconSystemType {
|
|
@@ -495,7 +491,7 @@ interface IconSystemProps {
|
|
|
495
491
|
stroke?: string;
|
|
496
492
|
type: IconSystemType;
|
|
497
493
|
}
|
|
498
|
-
declare const IconSystem: (props: IconSystemProps) =>
|
|
494
|
+
declare const IconSystem: (props: IconSystemProps) => import("react").JSX.Element;
|
|
499
495
|
//#endregion
|
|
500
496
|
//#region src/components/button/types.d.ts
|
|
501
497
|
declare enum ButtonStyle {
|
|
@@ -564,7 +560,7 @@ interface ButtonProps extends SsrProps, DesignSystemBaseProps, AriaAttributes {
|
|
|
564
560
|
target?: HTMLAttributeAnchorTarget;
|
|
565
561
|
type: ButtonType;
|
|
566
562
|
}
|
|
567
|
-
declare const Button: (props: ButtonProps) =>
|
|
563
|
+
declare const Button: (props: ButtonProps) => import("react").JSX.Element;
|
|
568
564
|
//#endregion
|
|
569
565
|
//#region src/theme/spacing.d.ts
|
|
570
566
|
declare enum Spacing {
|
|
@@ -1184,7 +1180,7 @@ declare enum TextDecoration {
|
|
|
1184
1180
|
underline = "underline"
|
|
1185
1181
|
}
|
|
1186
1182
|
declare const resolveTextDecorationValue: (textDecoration: TextDecoration) => "underline" | "none !important";
|
|
1187
|
-
declare const getTextDecorationStyle: (textDecoration?: TextDecoration) =>
|
|
1183
|
+
declare const getTextDecorationStyle: (textDecoration?: TextDecoration) => import("@emotion/react").SerializedStyles | "";
|
|
1188
1184
|
//#endregion
|
|
1189
1185
|
//#region src/components/buttonsLayout/types.d.ts
|
|
1190
1186
|
declare enum ButtonsLayoutAlign {
|
|
@@ -1209,7 +1205,7 @@ interface ButtonsLayoutProps extends SsrProps {
|
|
|
1209
1205
|
gap?: Spacing;
|
|
1210
1206
|
wrap?: FlexWrap;
|
|
1211
1207
|
}
|
|
1212
|
-
declare const ButtonsLayout: (props: ButtonsLayoutProps) =>
|
|
1208
|
+
declare const ButtonsLayout: (props: ButtonsLayoutProps) => import("react").JSX.Element;
|
|
1213
1209
|
//#endregion
|
|
1214
1210
|
//#region src/components/calculatorResult/types.d.ts
|
|
1215
1211
|
interface CalculatorResultHeader {
|
|
@@ -1255,7 +1251,7 @@ interface CalculatorResultProps extends DesignSystemBaseProps {
|
|
|
1255
1251
|
modal?: CalculatorResultModalDescriptor;
|
|
1256
1252
|
resultBoxRef?: RefObject<HTMLDivElement | null>;
|
|
1257
1253
|
}
|
|
1258
|
-
declare const CalculatorResult: (props: CalculatorResultProps) =>
|
|
1254
|
+
declare const CalculatorResult: (props: CalculatorResultProps) => import("react").JSX.Element;
|
|
1259
1255
|
//#endregion
|
|
1260
1256
|
//#region src/components/checkboxField/checkboxControl/CheckboxControl.d.ts
|
|
1261
1257
|
interface CheckboxControlProps {
|
|
@@ -1272,7 +1268,7 @@ interface CheckboxControlProps {
|
|
|
1272
1268
|
ref?: Ref<HTMLInputElement>;
|
|
1273
1269
|
value?: string;
|
|
1274
1270
|
}
|
|
1275
|
-
declare const CheckboxControl: (props: CheckboxControlProps) =>
|
|
1271
|
+
declare const CheckboxControl: (props: CheckboxControlProps) => import("react").JSX.Element;
|
|
1276
1272
|
//#endregion
|
|
1277
1273
|
//#region src/components/checkboxField/types.d.ts
|
|
1278
1274
|
declare enum CheckboxPosition {
|
|
@@ -1287,13 +1283,13 @@ interface CheckboxProps extends CheckboxControlProps, InputLabelPassthroughProps
|
|
|
1287
1283
|
position?: CheckboxPosition;
|
|
1288
1284
|
tooltipPosition?: LabelTooltipPosition;
|
|
1289
1285
|
}
|
|
1290
|
-
declare const Checkbox: (props: CheckboxProps) =>
|
|
1286
|
+
declare const Checkbox: (props: CheckboxProps) => import("react").JSX.Element;
|
|
1291
1287
|
//#endregion
|
|
1292
1288
|
//#region src/components/checkboxField/CheckboxField.d.ts
|
|
1293
1289
|
interface CheckboxFieldProps extends Omit<CheckboxProps, 'onChange' | 'value'> {
|
|
1294
1290
|
options?: RegisterOptions;
|
|
1295
1291
|
}
|
|
1296
|
-
declare const CheckboxField: (props: CheckboxFieldProps) =>
|
|
1292
|
+
declare const CheckboxField: (props: CheckboxFieldProps) => import("react").JSX.Element;
|
|
1297
1293
|
//#endregion
|
|
1298
1294
|
//#region src/components/iconProduct/types.d.ts
|
|
1299
1295
|
declare enum IconProductType {
|
|
@@ -1352,14 +1348,14 @@ interface IconProductProps {
|
|
|
1352
1348
|
type: IconProductType;
|
|
1353
1349
|
variant?: IconProductVariant | undefined;
|
|
1354
1350
|
}
|
|
1355
|
-
declare const IconProduct: (props: IconProductProps) =>
|
|
1351
|
+
declare const IconProduct: (props: IconProductProps) => import("react").JSX.Element;
|
|
1356
1352
|
//#endregion
|
|
1357
1353
|
//#region src/components/circularProgressBar/CircularProgressBar.d.ts
|
|
1358
1354
|
interface CircularProgressBarProps extends DesignSystemBaseProps {
|
|
1359
1355
|
iconProduct: IconProductType;
|
|
1360
1356
|
progress: number;
|
|
1361
1357
|
}
|
|
1362
|
-
declare const CircularProgressBar: (props: CircularProgressBarProps) =>
|
|
1358
|
+
declare const CircularProgressBar: (props: CircularProgressBarProps) => import("react").JSX.Element;
|
|
1363
1359
|
//#endregion
|
|
1364
1360
|
//#region src/components/comboBoxField/types.d.ts
|
|
1365
1361
|
type ComboBoxItem = boolean | number | object | string | null;
|
|
@@ -1414,7 +1410,7 @@ interface InputBaseProps extends FieldControlProps, Pick<AriaAttributes, 'aria-a
|
|
|
1414
1410
|
value?: string;
|
|
1415
1411
|
weight?: FontWeight;
|
|
1416
1412
|
}
|
|
1417
|
-
declare const InputBase: (props: InputBaseProps) =>
|
|
1413
|
+
declare const InputBase: (props: InputBaseProps) => import("react").JSX.Element;
|
|
1418
1414
|
//#endregion
|
|
1419
1415
|
//#region src/components/comboBoxField/comboBoxControl/ComboBoxControl.d.ts
|
|
1420
1416
|
interface ComboBoxControlProps<TItem extends ComboBoxItem> extends Omit<FieldControlProps, 'name'>, Pick<InputBaseProps, 'ariaLabel' | 'disabled' | 'icon' | 'isPastingDisabled' | 'maxLength' | 'name' | 'onFocus' | 'placeholder' | 'required'> {
|
|
@@ -1433,7 +1429,7 @@ interface ComboBoxControlProps<TItem extends ComboBoxItem> extends Omit<FieldCon
|
|
|
1433
1429
|
shouldHighlightFirstItem?: boolean;
|
|
1434
1430
|
value: ComboBoxValue<TItem>;
|
|
1435
1431
|
}
|
|
1436
|
-
declare const ComboBoxControl: <TItem extends ComboBoxItem>(props: ComboBoxControlProps<TItem>) =>
|
|
1432
|
+
declare const ComboBoxControl: <TItem extends ComboBoxItem>(props: ComboBoxControlProps<TItem>) => import("react").JSX.Element;
|
|
1437
1433
|
//#endregion
|
|
1438
1434
|
//#region src/components/fieldWrapper/types.d.ts
|
|
1439
1435
|
declare enum FieldWrapperLayout {
|
|
@@ -1476,13 +1472,13 @@ interface FieldWrapperProps extends DesignSystemBaseProps, InputLabelPassthrough
|
|
|
1476
1472
|
optionality?: FieldOptionality;
|
|
1477
1473
|
successMessage?: ReactNode;
|
|
1478
1474
|
}
|
|
1479
|
-
declare const FieldWrapper: (props: FieldWrapperProps) =>
|
|
1475
|
+
declare const FieldWrapper: (props: FieldWrapperProps) => import("react").JSX.Element;
|
|
1480
1476
|
//#endregion
|
|
1481
1477
|
//#region src/components/fieldWrapper/withFieldWrapper.d.ts
|
|
1482
1478
|
/** These props are reserved for `FieldWrapper` and cannot be used in the wrapped component. */
|
|
1483
1479
|
type FieldWrapperReservedProps = Pick<FieldWrapperProps, 'addons' | 'controlMobileWidth' | 'controlSectionWidth' | 'controlWidth' | 'errorMessage' | 'hiddenHintText' | 'hintText' | 'label' | 'labelAs' | 'labelHiddenText' | 'labelId' | 'labelSuffix' | 'layout' | 'note' | 'optionality' | 'successMessage' | 'tooltip'>;
|
|
1484
1480
|
declare const withFieldWrapper: <TProps extends FieldControlProps>(FieldControl: ComponentType<TProps>) => {
|
|
1485
|
-
(props: FieldWrapperReservedProps & Omit<TProps, keyof FieldWrapperReservedProps>):
|
|
1481
|
+
(props: FieldWrapperReservedProps & Omit<TProps, keyof FieldWrapperReservedProps>): import("react").JSX.Element;
|
|
1486
1482
|
displayName: string;
|
|
1487
1483
|
};
|
|
1488
1484
|
//#endregion
|
|
@@ -1497,7 +1493,7 @@ interface ComboBoxFieldProps<TItem extends ComboBoxItem> extends Omit<ComboBoxPr
|
|
|
1497
1493
|
options?: RegisterOptions;
|
|
1498
1494
|
shouldResetInvalidValues?: boolean;
|
|
1499
1495
|
}
|
|
1500
|
-
declare const ComboBoxField: <TItem extends ComboBoxItem>(props: ComboBoxFieldProps<TItem>) =>
|
|
1496
|
+
declare const ComboBoxField: <TItem extends ComboBoxItem>(props: ComboBoxFieldProps<TItem>) => import("react").JSX.Element;
|
|
1501
1497
|
//#endregion
|
|
1502
1498
|
//#region src/components/datePickerField/datePickerControl/DatePickerControl.d.ts
|
|
1503
1499
|
interface DatePickerControlProps extends Pick<DatePickerProps$1, 'chooseDayAriaLabelPrefix' | 'dateFormat' | 'disabledDayAriaLabelPrefix' | 'filterDate' | 'maxDate' | 'minDate' | 'monthAriaLabelPrefix' | 'nextMonthAriaLabel' | 'onBlur' | 'previousMonthAriaLabel' | 'selected'>, FieldControlProps {
|
|
@@ -1513,11 +1509,11 @@ interface DatePickerControlProps extends Pick<DatePickerProps$1, 'chooseDayAriaL
|
|
|
1513
1509
|
ref?: Ref<HTMLInputElement>;
|
|
1514
1510
|
yearSelectAriaLabel?: string;
|
|
1515
1511
|
}
|
|
1516
|
-
declare const DatePickerControl: (props: DatePickerControlProps) =>
|
|
1512
|
+
declare const DatePickerControl: (props: DatePickerControlProps) => import("react").JSX.Element;
|
|
1517
1513
|
//#endregion
|
|
1518
1514
|
//#region src/components/datePickerField/datePicker/DatePicker.d.ts
|
|
1519
1515
|
declare const DatePicker: {
|
|
1520
|
-
(props: FieldWrapperReservedProps & Omit<DatePickerControlProps, "label" | "note" | "tooltip" | "layout" | "errorMessage" | "labelAs" | "labelHiddenText" | "labelId" | "labelSuffix" | "addons" | "controlMobileWidth" | "controlSectionWidth" | "controlWidth" | "hiddenHintText" | "hintText" | "optionality" | "successMessage">):
|
|
1516
|
+
(props: FieldWrapperReservedProps & Omit<DatePickerControlProps, "label" | "note" | "tooltip" | "layout" | "errorMessage" | "labelAs" | "labelHiddenText" | "labelId" | "labelSuffix" | "addons" | "controlMobileWidth" | "controlSectionWidth" | "controlWidth" | "hiddenHintText" | "hintText" | "optionality" | "successMessage">): import("react").JSX.Element;
|
|
1521
1517
|
displayName: string;
|
|
1522
1518
|
};
|
|
1523
1519
|
type DatePickerProps = ComponentProps<typeof DatePicker>;
|
|
@@ -1527,7 +1523,7 @@ interface DatePickerFieldProps extends Omit<ComponentProps<typeof DatePicker>, '
|
|
|
1527
1523
|
name: string;
|
|
1528
1524
|
options?: RegisterOptions;
|
|
1529
1525
|
}
|
|
1530
|
-
declare const DatePickerField: (props: DatePickerFieldProps) =>
|
|
1526
|
+
declare const DatePickerField: (props: DatePickerFieldProps) => import("react").JSX.Element;
|
|
1531
1527
|
//#endregion
|
|
1532
1528
|
//#region src/components/datePickerField/constants.d.ts
|
|
1533
1529
|
declare const datePickerValueFormat = "yyyy-MM-dd";
|
|
@@ -1537,7 +1533,7 @@ interface EmailInputControlProps extends InputProps {
|
|
|
1537
1533
|
placeholder?: string;
|
|
1538
1534
|
}
|
|
1539
1535
|
declare const EmailInput: {
|
|
1540
|
-
(props: FieldWrapperReservedProps & Omit<EmailInputControlProps, "label" | "note" | "tooltip" | "layout" | "errorMessage" | "labelAs" | "labelHiddenText" | "labelId" | "labelSuffix" | "addons" | "controlMobileWidth" | "controlSectionWidth" | "controlWidth" | "hiddenHintText" | "hintText" | "optionality" | "successMessage">):
|
|
1536
|
+
(props: FieldWrapperReservedProps & Omit<EmailInputControlProps, "label" | "note" | "tooltip" | "layout" | "errorMessage" | "labelAs" | "labelHiddenText" | "labelId" | "labelSuffix" | "addons" | "controlMobileWidth" | "controlSectionWidth" | "controlWidth" | "hiddenHintText" | "hintText" | "optionality" | "successMessage">): import("react").JSX.Element;
|
|
1541
1537
|
displayName: string;
|
|
1542
1538
|
};
|
|
1543
1539
|
type EmailInputProps = ComponentProps<typeof EmailInput>;
|
|
@@ -1547,7 +1543,7 @@ interface EmailInputFieldProps extends Omit<EmailInputProps, 'onChange' | 'value
|
|
|
1547
1543
|
name: string;
|
|
1548
1544
|
options?: RegisterOptions;
|
|
1549
1545
|
}
|
|
1550
|
-
declare const EmailInputField: (props: EmailInputFieldProps) =>
|
|
1546
|
+
declare const EmailInputField: (props: EmailInputFieldProps) => import("react").JSX.Element;
|
|
1551
1547
|
//#endregion
|
|
1552
1548
|
//#region src/components/errorBox/types.d.ts
|
|
1553
1549
|
interface ErrorBoxItem {
|
|
@@ -1564,7 +1560,7 @@ interface ErrorBoxProps {
|
|
|
1564
1560
|
tabIndex?: number;
|
|
1565
1561
|
title?: ReactNode;
|
|
1566
1562
|
}
|
|
1567
|
-
declare const ErrorBox: (props: ErrorBoxProps) =>
|
|
1563
|
+
declare const ErrorBox: (props: ErrorBoxProps) => import("react").JSX.Element;
|
|
1568
1564
|
//#endregion
|
|
1569
1565
|
//#region src/components/fileInputField/types.d.ts
|
|
1570
1566
|
declare enum FileInputErrorCode {
|
|
@@ -1625,14 +1621,14 @@ interface FileInputControlProps extends FileInputSettings, DesignSystemBaseProps
|
|
|
1625
1621
|
ref?: Ref<HTMLDivElement>;
|
|
1626
1622
|
value: File[];
|
|
1627
1623
|
}
|
|
1628
|
-
declare const FileInputControl: (props: FileInputControlProps) =>
|
|
1624
|
+
declare const FileInputControl: (props: FileInputControlProps) => import("react").JSX.Element;
|
|
1629
1625
|
//#endregion
|
|
1630
1626
|
//#region src/components/fileInputField/fileInput/FileInput.d.ts
|
|
1631
1627
|
declare const FileInputBase: {
|
|
1632
|
-
(props: FieldWrapperReservedProps & Omit<FileInputControlProps, "label" | "note" | "tooltip" | "layout" | "errorMessage" | "labelAs" | "labelHiddenText" | "labelId" | "labelSuffix" | "addons" | "controlMobileWidth" | "controlSectionWidth" | "controlWidth" | "hiddenHintText" | "hintText" | "optionality" | "successMessage">):
|
|
1628
|
+
(props: FieldWrapperReservedProps & Omit<FileInputControlProps, "label" | "note" | "tooltip" | "layout" | "errorMessage" | "labelAs" | "labelHiddenText" | "labelId" | "labelSuffix" | "addons" | "controlMobileWidth" | "controlSectionWidth" | "controlWidth" | "hiddenHintText" | "hintText" | "optionality" | "successMessage">): import("react").JSX.Element;
|
|
1633
1629
|
displayName: string;
|
|
1634
1630
|
};
|
|
1635
|
-
declare const FileInput: (props: ComponentProps<typeof FileInputBase>) =>
|
|
1631
|
+
declare const FileInput: (props: ComponentProps<typeof FileInputBase>) => import("react").JSX.Element;
|
|
1636
1632
|
type FileInputProps = ComponentProps<typeof FileInput>;
|
|
1637
1633
|
//#endregion
|
|
1638
1634
|
//#region src/components/fileInputField/FileInputField.d.ts
|
|
@@ -1640,7 +1636,7 @@ interface FileInputFieldProps extends Omit<FileInputProps, 'onBlur' | 'onChange'
|
|
|
1640
1636
|
name: string;
|
|
1641
1637
|
options?: RegisterOptions;
|
|
1642
1638
|
}
|
|
1643
|
-
declare const FileInputField: (props: FileInputFieldProps) =>
|
|
1639
|
+
declare const FileInputField: (props: FileInputFieldProps) => import("react").JSX.Element;
|
|
1644
1640
|
//#endregion
|
|
1645
1641
|
//#region src/components/formattedAmount/types.d.ts
|
|
1646
1642
|
declare enum FormatAmountCurrencyDisplay {
|
|
@@ -1677,11 +1673,11 @@ interface BaseFormattedAmountProps extends FormatAmountDescriptor {
|
|
|
1677
1673
|
//#endregion
|
|
1678
1674
|
//#region src/components/formattedAmount/reactIntl/FormattedAmount.d.ts
|
|
1679
1675
|
interface FormattedAmountProps extends Omit<BaseFormattedAmountProps, 'formatAmount'> {}
|
|
1680
|
-
declare const FormattedAmount: (props: FormattedAmountProps) =>
|
|
1676
|
+
declare const FormattedAmount: (props: FormattedAmountProps) => import("react").JSX.Element;
|
|
1681
1677
|
//#endregion
|
|
1682
1678
|
//#region src/components/formattedAmount/nextIntl/FormattedAmount.d.ts
|
|
1683
1679
|
interface FormattedAmountProps$1 extends Omit<BaseFormattedAmountProps, 'formatAmount'> {}
|
|
1684
|
-
declare const FormattedAmount$1: (props: FormattedAmountProps$1) =>
|
|
1680
|
+
declare const FormattedAmount$1: (props: FormattedAmountProps$1) => import("react").JSX.Element;
|
|
1685
1681
|
//#endregion
|
|
1686
1682
|
//#region src/components/formattedPercentage/useFormatPercentage.d.ts
|
|
1687
1683
|
interface FormatPercentageParam {
|
|
@@ -1697,7 +1693,7 @@ interface FormattedPercentageProps {
|
|
|
1697
1693
|
minimumFractionDigits?: number;
|
|
1698
1694
|
value: number;
|
|
1699
1695
|
}
|
|
1700
|
-
declare const FormattedPercentage:
|
|
1696
|
+
declare const FormattedPercentage: import("react").MemoExoticComponent<(props: FormattedPercentageProps) => string>;
|
|
1701
1697
|
//#endregion
|
|
1702
1698
|
//#region src/components/formattedPercentage/index.d.ts
|
|
1703
1699
|
/** @deprecated Use `useFormatPercentage` instead */
|
|
@@ -1769,14 +1765,14 @@ type SubmitHandler<TFieldValues extends FieldValues> = (data: TFieldValues, extr
|
|
|
1769
1765
|
//#endregion
|
|
1770
1766
|
//#region src/components/formErrorOutcome/FormErrorOutcome.d.ts
|
|
1771
1767
|
interface FormErrorOutcomeProps extends DesignSystemBaseProps, Pick<FormConfig, 'thrownFormLevelErrorFormatter'> {}
|
|
1772
|
-
declare const FormErrorOutcome: (props: FormErrorOutcomeProps) =>
|
|
1768
|
+
declare const FormErrorOutcome: (props: FormErrorOutcomeProps) => import("react").JSX.Element | null;
|
|
1773
1769
|
//#endregion
|
|
1774
1770
|
//#region src/components/formErrorSummary/FormErrorSummary.d.ts
|
|
1775
1771
|
interface FormErrorSummaryProps extends DesignSystemBaseProps {
|
|
1776
1772
|
order?: string[];
|
|
1777
1773
|
title?: ReactNode;
|
|
1778
1774
|
}
|
|
1779
|
-
declare const FormErrorSummary: (props: FormErrorSummaryProps) =>
|
|
1775
|
+
declare const FormErrorSummary: (props: FormErrorSummaryProps) => import("react").JSX.Element;
|
|
1780
1776
|
//#endregion
|
|
1781
1777
|
//#region src/components/formSuccessOutcome/FormSuccessOutcome.d.ts
|
|
1782
1778
|
interface FormSuccessOutcomeProps extends DesignSystemBaseProps {
|
|
@@ -1785,7 +1781,7 @@ interface FormSuccessOutcomeProps extends DesignSystemBaseProps {
|
|
|
1785
1781
|
title: ReactNode;
|
|
1786
1782
|
visible: boolean;
|
|
1787
1783
|
}
|
|
1788
|
-
declare const FormSuccessOutcome: (props: FormSuccessOutcomeProps) =>
|
|
1784
|
+
declare const FormSuccessOutcome: (props: FormSuccessOutcomeProps) => import("react").JSX.Element;
|
|
1789
1785
|
//#endregion
|
|
1790
1786
|
//#region src/components/formSuccessOutcome/useFormSuccessOutcomeManager.d.ts
|
|
1791
1787
|
interface UseFormSuccessOutcomeManagerReturn {
|
|
@@ -1810,7 +1806,7 @@ declare enum IconFlagType {
|
|
|
1810
1806
|
interface IconFlagProps {
|
|
1811
1807
|
type: IconFlagType;
|
|
1812
1808
|
}
|
|
1813
|
-
declare const IconFlag: (props: IconFlagProps) =>
|
|
1809
|
+
declare const IconFlag: (props: IconFlagProps) => import("react").JSX.Element;
|
|
1814
1810
|
//#endregion
|
|
1815
1811
|
//#region src/components/infobox/types.d.ts
|
|
1816
1812
|
declare enum InfoboxVariant {
|
|
@@ -1847,7 +1843,7 @@ interface InfoboxProps extends DesignSystemBaseProps, AriaAttributes {
|
|
|
1847
1843
|
textContent?: InfoboxTextContent;
|
|
1848
1844
|
variant: InfoboxVariant;
|
|
1849
1845
|
}
|
|
1850
|
-
declare const Infobox: (props: InfoboxProps) =>
|
|
1846
|
+
declare const Infobox: (props: InfoboxProps) => import("react").JSX.Element;
|
|
1851
1847
|
//#endregion
|
|
1852
1848
|
//#region src/components/inputLabel/types.d.ts
|
|
1853
1849
|
declare enum InputLabelSize {
|
|
@@ -1870,7 +1866,7 @@ interface InputLabelProps extends DesignSystemBaseProps {
|
|
|
1870
1866
|
suffix?: ReactNode;
|
|
1871
1867
|
tooltip?: TooltipInfoDescriptor;
|
|
1872
1868
|
}
|
|
1873
|
-
declare const InputLabel: (props: InputLabelProps) =>
|
|
1869
|
+
declare const InputLabel: (props: InputLabelProps) => import("react").JSX.Element;
|
|
1874
1870
|
//#endregion
|
|
1875
1871
|
//#region src/components/loader/types.d.ts
|
|
1876
1872
|
declare enum LoaderSize {
|
|
@@ -1883,14 +1879,14 @@ interface LoaderProps extends DesignSystemBaseProps, AriaAttributes {
|
|
|
1883
1879
|
loaderSize: LoaderSize;
|
|
1884
1880
|
role?: AriaRole;
|
|
1885
1881
|
}
|
|
1886
|
-
declare const Loader: (props: LoaderProps) =>
|
|
1882
|
+
declare const Loader: (props: LoaderProps) => import("react").JSX.Element;
|
|
1887
1883
|
//#endregion
|
|
1888
1884
|
//#region src/components/loaderOverlayBox/LoaderOverlayBox.d.ts
|
|
1889
1885
|
interface LoaderOverlayBoxProps extends DesignSystemBaseProps, AriaAttributes {
|
|
1890
1886
|
loaderSize: LoaderSize;
|
|
1891
1887
|
role?: AriaRole;
|
|
1892
1888
|
}
|
|
1893
|
-
declare const LoaderOverlayBox: (props: LoaderOverlayBoxProps) =>
|
|
1889
|
+
declare const LoaderOverlayBox: (props: LoaderOverlayBoxProps) => import("react").JSX.Element;
|
|
1894
1890
|
//#endregion
|
|
1895
1891
|
//#region src/components/maskedInputField/types.d.ts
|
|
1896
1892
|
type MaskedInputOnAccept = (unmaskedValue: string, maskedValue: string) => void;
|
|
@@ -1900,11 +1896,11 @@ interface MaskedInputBaseProps extends InputBaseProps {
|
|
|
1900
1896
|
maskOptions: FactoryOpts;
|
|
1901
1897
|
onAccept?: MaskedInputOnAccept;
|
|
1902
1898
|
}
|
|
1903
|
-
declare const MaskedInputBase: (props: MaskedInputBaseProps) =>
|
|
1899
|
+
declare const MaskedInputBase: (props: MaskedInputBaseProps) => import("react").JSX.Element;
|
|
1904
1900
|
//#endregion
|
|
1905
1901
|
//#region src/components/maskedInputField/maskedInput/MaskedInput.d.ts
|
|
1906
1902
|
declare const MaskedInput: {
|
|
1907
|
-
(props: FieldWrapperReservedProps & Omit<MaskedInputBaseProps, "label" | "note" | "tooltip" | "layout" | "errorMessage" | "labelAs" | "labelHiddenText" | "labelId" | "labelSuffix" | "addons" | "controlMobileWidth" | "controlSectionWidth" | "controlWidth" | "hiddenHintText" | "hintText" | "optionality" | "successMessage">):
|
|
1903
|
+
(props: FieldWrapperReservedProps & Omit<MaskedInputBaseProps, "label" | "note" | "tooltip" | "layout" | "errorMessage" | "labelAs" | "labelHiddenText" | "labelId" | "labelSuffix" | "addons" | "controlMobileWidth" | "controlSectionWidth" | "controlWidth" | "hiddenHintText" | "hintText" | "optionality" | "successMessage">): import("react").JSX.Element;
|
|
1908
1904
|
displayName: string;
|
|
1909
1905
|
};
|
|
1910
1906
|
type MaskedInputProps = ComponentProps<typeof MaskedInput>;
|
|
@@ -1914,11 +1910,11 @@ type ManagedMaskedInputProps = Pick<MaskedInputProps, 'errorMessage' | 'onAccept
|
|
|
1914
1910
|
declare const withMaskedInputField: <TProps extends ManagedMaskedInputProps>(Component: ComponentType<TProps>) => <TFieldValues extends FieldValues>(props: TProps & {
|
|
1915
1911
|
name: FieldPath<TFieldValues>;
|
|
1916
1912
|
options?: RegisterOptions<TFieldValues>;
|
|
1917
|
-
}) =>
|
|
1913
|
+
}) => import("react").JSX.Element;
|
|
1918
1914
|
declare const MaskedInputField: <TFieldValues extends FieldValues>(props: FieldWrapperReservedProps & Omit<MaskedInputBaseProps, "label" | "note" | "tooltip" | "layout" | "errorMessage" | "labelAs" | "labelHiddenText" | "labelId" | "labelSuffix" | "addons" | "controlMobileWidth" | "controlSectionWidth" | "controlWidth" | "hiddenHintText" | "hintText" | "optionality" | "successMessage"> & {
|
|
1919
|
-
name:
|
|
1915
|
+
name: import("react-hook-form").Path<TFieldValues>;
|
|
1920
1916
|
options?: RegisterOptions<TFieldValues> | undefined;
|
|
1921
|
-
}) =>
|
|
1917
|
+
}) => import("react").JSX.Element;
|
|
1922
1918
|
type MaskedInputFieldProps = ComponentProps<typeof MaskedInputField>;
|
|
1923
1919
|
//#endregion
|
|
1924
1920
|
//#region src/components/modal/types.d.ts
|
|
@@ -1954,7 +1950,7 @@ interface ModalProps extends DesignSystemBaseProps {
|
|
|
1954
1950
|
widthType?: ModalWidthType;
|
|
1955
1951
|
withoutPadding?: boolean;
|
|
1956
1952
|
}
|
|
1957
|
-
declare const Modal: (props: ModalProps) =>
|
|
1953
|
+
declare const Modal: (props: ModalProps) => import("react").ReactPortal | null;
|
|
1958
1954
|
//#endregion
|
|
1959
1955
|
//#region src/components/numberInputField/numberInput/NumberInput.d.ts
|
|
1960
1956
|
interface NumberInputProps extends Omit<MaskedInputProps, 'maskOptions'> {
|
|
@@ -1963,13 +1959,13 @@ interface NumberInputProps extends Omit<MaskedInputProps, 'maskOptions'> {
|
|
|
1963
1959
|
integerPlaces?: number;
|
|
1964
1960
|
maskOptions?: FactoryOpts;
|
|
1965
1961
|
}
|
|
1966
|
-
declare const NumberInput: (props: NumberInputProps) =>
|
|
1962
|
+
declare const NumberInput: (props: NumberInputProps) => import("react").JSX.Element;
|
|
1967
1963
|
//#endregion
|
|
1968
1964
|
//#region src/components/numberInputField/NumberInputField.d.ts
|
|
1969
|
-
declare const NumberInputField: <TFieldValues extends
|
|
1970
|
-
name:
|
|
1971
|
-
options?:
|
|
1972
|
-
}) =>
|
|
1965
|
+
declare const NumberInputField: <TFieldValues extends import("react-hook-form").FieldValues>(props: NumberInputProps & {
|
|
1966
|
+
name: import("react-hook-form").Path<TFieldValues>;
|
|
1967
|
+
options?: import("react-hook-form").RegisterOptions<TFieldValues> | undefined;
|
|
1968
|
+
}) => import("react").JSX.Element;
|
|
1973
1969
|
type NumberInputFieldProps = ComponentProps<typeof NumberInputField>;
|
|
1974
1970
|
//#endregion
|
|
1975
1971
|
//#region src/components/paper/types.d.ts
|
|
@@ -1992,20 +1988,20 @@ interface PaperProps extends DesignSystemBaseProps, SsrProps, AriaAttributes {
|
|
|
1992
1988
|
shadow?: PaperShadow;
|
|
1993
1989
|
tabIndex?: number;
|
|
1994
1990
|
}
|
|
1995
|
-
declare const Paper: (props: PaperProps) =>
|
|
1991
|
+
declare const Paper: (props: PaperProps) => import("react").JSX.Element;
|
|
1996
1992
|
//#endregion
|
|
1997
1993
|
//#region src/components/phoneInputField/phoneInput/PhoneInput.d.ts
|
|
1998
1994
|
interface PhoneInputProps extends Omit<MaskedInputProps, 'maskOptions'> {
|
|
1999
1995
|
maskOptions?: FactoryOpts;
|
|
2000
1996
|
prefixColor?: Property.Color;
|
|
2001
1997
|
}
|
|
2002
|
-
declare const PhoneInput: (props: PhoneInputProps) =>
|
|
1998
|
+
declare const PhoneInput: (props: PhoneInputProps) => import("react").JSX.Element;
|
|
2003
1999
|
//#endregion
|
|
2004
2000
|
//#region src/components/phoneInputField/PhoneInputField.d.ts
|
|
2005
|
-
declare const PhoneInputField: <TFieldValues extends
|
|
2006
|
-
name:
|
|
2007
|
-
options?:
|
|
2008
|
-
}) =>
|
|
2001
|
+
declare const PhoneInputField: <TFieldValues extends import("react-hook-form").FieldValues>(props: PhoneInputProps & {
|
|
2002
|
+
name: import("react-hook-form").Path<TFieldValues>;
|
|
2003
|
+
options?: import("react-hook-form").RegisterOptions<TFieldValues> | undefined;
|
|
2004
|
+
}) => import("react").JSX.Element;
|
|
2009
2005
|
type PhoneInputFieldProps = ComponentProps<typeof PhoneInputField>;
|
|
2010
2006
|
//#endregion
|
|
2011
2007
|
//#region src/components/progressPaper/progressStepper/ProgressStepper.d.ts
|
|
@@ -2044,7 +2040,7 @@ interface ProgressDefinition extends AriaAttributes {
|
|
|
2044
2040
|
interface ProgressPaperProps extends PaperProps, SsrProps {
|
|
2045
2041
|
progressDefinition: ProgressDefinition;
|
|
2046
2042
|
}
|
|
2047
|
-
declare const ProgressPaper: (props: ProgressPaperProps) =>
|
|
2043
|
+
declare const ProgressPaper: (props: ProgressPaperProps) => import("react").JSX.Element;
|
|
2048
2044
|
//#endregion
|
|
2049
2045
|
//#region src/components/radioField/types.d.ts
|
|
2050
2046
|
declare enum RadioPosition {
|
|
@@ -2075,14 +2071,14 @@ interface RadioButtonProps extends RadioGeneralProps, DesignSystemBaseProps {
|
|
|
2075
2071
|
label: RadioButtonLabel;
|
|
2076
2072
|
ref?: Ref<HTMLInputElement>;
|
|
2077
2073
|
}
|
|
2078
|
-
declare const RadioButton: (props: RadioButtonProps) =>
|
|
2074
|
+
declare const RadioButton: (props: RadioButtonProps) => import("react").JSX.Element;
|
|
2079
2075
|
//#endregion
|
|
2080
2076
|
//#region src/components/radioButtonField/RadioButtonField.d.ts
|
|
2081
2077
|
interface RadioButtonFieldProps extends Omit<RadioButtonProps, 'onChange'> {
|
|
2082
2078
|
name: string;
|
|
2083
2079
|
options?: RegisterOptions;
|
|
2084
2080
|
}
|
|
2085
|
-
declare const RadioButtonField: (props: RadioButtonFieldProps) =>
|
|
2081
|
+
declare const RadioButtonField: (props: RadioButtonFieldProps) => import("react").JSX.Element;
|
|
2086
2082
|
//#endregion
|
|
2087
2083
|
//#region src/components/radioButtonGroupField/types.d.ts
|
|
2088
2084
|
interface RadioButtonGroupItem extends AriaAttributes {
|
|
@@ -2115,14 +2111,14 @@ interface RadioButtonGroupControlProps extends DesignSystemBaseProps, FieldContr
|
|
|
2115
2111
|
ref?: Ref<HTMLInputElement>;
|
|
2116
2112
|
value?: string;
|
|
2117
2113
|
}
|
|
2118
|
-
declare const RadioButtonGroupControl: (props: RadioButtonGroupControlProps) =>
|
|
2114
|
+
declare const RadioButtonGroupControl: (props: RadioButtonGroupControlProps) => import("react").JSX.Element;
|
|
2119
2115
|
//#endregion
|
|
2120
2116
|
//#region src/components/radioButtonGroupField/radioButtonGroup/RadioButtonGroup.d.ts
|
|
2121
2117
|
declare const RadioButtonGroupBase: {
|
|
2122
|
-
(props: FieldWrapperReservedProps & Omit<RadioButtonGroupControlProps, "label" | "note" | "tooltip" | "layout" | "errorMessage" | "labelAs" | "labelHiddenText" | "labelId" | "labelSuffix" | "addons" | "controlMobileWidth" | "controlSectionWidth" | "controlWidth" | "hiddenHintText" | "hintText" | "optionality" | "successMessage">):
|
|
2118
|
+
(props: FieldWrapperReservedProps & Omit<RadioButtonGroupControlProps, "label" | "note" | "tooltip" | "layout" | "errorMessage" | "labelAs" | "labelHiddenText" | "labelId" | "labelSuffix" | "addons" | "controlMobileWidth" | "controlSectionWidth" | "controlWidth" | "hiddenHintText" | "hintText" | "optionality" | "successMessage">): import("react").JSX.Element;
|
|
2123
2119
|
displayName: string;
|
|
2124
2120
|
};
|
|
2125
|
-
declare const RadioButtonGroup: (props: ComponentProps<typeof RadioButtonGroupBase>) =>
|
|
2121
|
+
declare const RadioButtonGroup: (props: ComponentProps<typeof RadioButtonGroupBase>) => import("react").JSX.Element;
|
|
2126
2122
|
type RadioButtonGroupProps = ComponentProps<typeof RadioButtonGroup>;
|
|
2127
2123
|
//#endregion
|
|
2128
2124
|
//#region src/components/radioButtonGroupField/RadioButtonGroupField.d.ts
|
|
@@ -2130,13 +2126,13 @@ interface RadioButtonGroupFieldProps extends Omit<RadioButtonGroupProps, 'onBlur
|
|
|
2130
2126
|
name: string;
|
|
2131
2127
|
options?: RegisterOptions;
|
|
2132
2128
|
}
|
|
2133
|
-
declare const RadioButtonGroupField: (props: RadioButtonGroupFieldProps) =>
|
|
2129
|
+
declare const RadioButtonGroupField: (props: RadioButtonGroupFieldProps) => import("react").JSX.Element;
|
|
2134
2130
|
//#endregion
|
|
2135
2131
|
//#region src/components/radioField/radioControl/RadioControl.d.ts
|
|
2136
2132
|
interface RadioControlProps extends DesignSystemBaseProps, RadioGeneralProps {
|
|
2137
2133
|
ref?: Ref<HTMLInputElement>;
|
|
2138
2134
|
}
|
|
2139
|
-
declare const RadioControl: (props: RadioControlProps) =>
|
|
2135
|
+
declare const RadioControl: (props: RadioControlProps) => import("react").JSX.Element;
|
|
2140
2136
|
//#endregion
|
|
2141
2137
|
//#region src/components/radioField/radio/Radio.d.ts
|
|
2142
2138
|
interface RadioProps extends RadioControlProps, InputLabelPassthroughProps, DesignSystemBaseProps {
|
|
@@ -2145,14 +2141,14 @@ interface RadioProps extends RadioControlProps, InputLabelPassthroughProps, Desi
|
|
|
2145
2141
|
position?: RadioPosition;
|
|
2146
2142
|
tooltipPosition?: LabelTooltipPosition;
|
|
2147
2143
|
}
|
|
2148
|
-
declare const Radio: (props: RadioProps) =>
|
|
2144
|
+
declare const Radio: (props: RadioProps) => import("react").JSX.Element;
|
|
2149
2145
|
//#endregion
|
|
2150
2146
|
//#region src/components/radioField/RadioField.d.ts
|
|
2151
2147
|
interface RadioFieldProps extends Omit<RadioProps, 'onChange'> {
|
|
2152
2148
|
name: string;
|
|
2153
2149
|
options?: RegisterOptions;
|
|
2154
2150
|
}
|
|
2155
|
-
declare const RadioField: (props: RadioFieldProps) =>
|
|
2151
|
+
declare const RadioField: (props: RadioFieldProps) => import("react").JSX.Element;
|
|
2156
2152
|
//#endregion
|
|
2157
2153
|
//#region src/components/radioGroupField/types.d.ts
|
|
2158
2154
|
interface RadioGroupItem extends InputLabelPassthroughProps, AriaAttributes {
|
|
@@ -2182,14 +2178,14 @@ interface RadioGroupControlProps extends FieldControlProps, DesignSystemBaseProp
|
|
|
2182
2178
|
rowGap?: Spacing;
|
|
2183
2179
|
value?: string;
|
|
2184
2180
|
}
|
|
2185
|
-
declare const RadioGroupControl: (props: RadioGroupControlProps) =>
|
|
2181
|
+
declare const RadioGroupControl: (props: RadioGroupControlProps) => import("react").JSX.Element;
|
|
2186
2182
|
//#endregion
|
|
2187
2183
|
//#region src/components/radioGroupField/radioGroup/RadioGroup.d.ts
|
|
2188
2184
|
declare const RadioGroupBase: {
|
|
2189
|
-
(props: FieldWrapperReservedProps & Omit<RadioGroupControlProps, "label" | "note" | "tooltip" | "layout" | "errorMessage" | "labelAs" | "labelHiddenText" | "labelId" | "labelSuffix" | "addons" | "controlMobileWidth" | "controlSectionWidth" | "controlWidth" | "hiddenHintText" | "hintText" | "optionality" | "successMessage">):
|
|
2185
|
+
(props: FieldWrapperReservedProps & Omit<RadioGroupControlProps, "label" | "note" | "tooltip" | "layout" | "errorMessage" | "labelAs" | "labelHiddenText" | "labelId" | "labelSuffix" | "addons" | "controlMobileWidth" | "controlSectionWidth" | "controlWidth" | "hiddenHintText" | "hintText" | "optionality" | "successMessage">): import("react").JSX.Element;
|
|
2190
2186
|
displayName: string;
|
|
2191
2187
|
};
|
|
2192
|
-
declare const RadioGroup: (props: ComponentProps<typeof RadioGroupBase>) =>
|
|
2188
|
+
declare const RadioGroup: (props: ComponentProps<typeof RadioGroupBase>) => import("react").JSX.Element;
|
|
2193
2189
|
type RadioGroupProps = ComponentProps<typeof RadioGroup>;
|
|
2194
2190
|
//#endregion
|
|
2195
2191
|
//#region src/components/radioGroupField/RadioGroupField.d.ts
|
|
@@ -2197,7 +2193,7 @@ interface RadioGroupFieldProps extends Omit<RadioGroupProps, 'onBlur' | 'onChang
|
|
|
2197
2193
|
name: string;
|
|
2198
2194
|
options?: RegisterOptions;
|
|
2199
2195
|
}
|
|
2200
|
-
declare const RadioGroupField: (props: RadioGroupFieldProps) =>
|
|
2196
|
+
declare const RadioGroupField: (props: RadioGroupFieldProps) => import("react").JSX.Element;
|
|
2201
2197
|
//#endregion
|
|
2202
2198
|
//#region src/components/searchInput/SearchInput.d.ts
|
|
2203
2199
|
interface SearchInputControlProps extends InputProps {
|
|
@@ -2207,7 +2203,7 @@ interface SearchInputControlProps extends InputProps {
|
|
|
2207
2203
|
placeholder?: string;
|
|
2208
2204
|
}
|
|
2209
2205
|
declare const SearchInput: {
|
|
2210
|
-
(props: FieldWrapperReservedProps & Omit<SearchInputControlProps, "label" | "note" | "tooltip" | "layout" | "errorMessage" | "labelAs" | "labelHiddenText" | "labelId" | "labelSuffix" | "addons" | "controlMobileWidth" | "controlSectionWidth" | "controlWidth" | "hiddenHintText" | "hintText" | "optionality" | "successMessage">):
|
|
2206
|
+
(props: FieldWrapperReservedProps & Omit<SearchInputControlProps, "label" | "note" | "tooltip" | "layout" | "errorMessage" | "labelAs" | "labelHiddenText" | "labelId" | "labelSuffix" | "addons" | "controlMobileWidth" | "controlSectionWidth" | "controlWidth" | "hiddenHintText" | "hintText" | "optionality" | "successMessage">): import("react").JSX.Element;
|
|
2211
2207
|
displayName: string;
|
|
2212
2208
|
};
|
|
2213
2209
|
type SearchInputProps = ComponentProps<typeof SearchInput>;
|
|
@@ -2244,7 +2240,7 @@ interface SelectControlProps<TItem extends SelectItem> extends FieldControlProps
|
|
|
2244
2240
|
value: TItem | null;
|
|
2245
2241
|
variant?: SelectVariant;
|
|
2246
2242
|
}
|
|
2247
|
-
declare const SelectControl: <TItem extends SelectItem>(props: SelectControlProps<TItem>) =>
|
|
2243
|
+
declare const SelectControl: <TItem extends SelectItem>(props: SelectControlProps<TItem>) => import("react").JSX.Element;
|
|
2248
2244
|
//#endregion
|
|
2249
2245
|
//#region src/components/selectField/select/Select.d.ts
|
|
2250
2246
|
type SelectProps<TItem extends SelectItem> = FieldWrapperReservedProps & SelectControlProps<TItem>;
|
|
@@ -2257,7 +2253,7 @@ interface SelectFieldProps<TItem extends SelectItem> extends Omit<SelectProps<TI
|
|
|
2257
2253
|
options?: RegisterOptions;
|
|
2258
2254
|
shouldResetInvalidValues?: boolean;
|
|
2259
2255
|
}
|
|
2260
|
-
declare const SelectField: <TItem extends SelectItem>(props: SelectFieldProps<TItem>) =>
|
|
2256
|
+
declare const SelectField: <TItem extends SelectItem>(props: SelectFieldProps<TItem>) => import("react").JSX.Element;
|
|
2261
2257
|
//#endregion
|
|
2262
2258
|
//#region src/components/sliderInputField/types.d.ts
|
|
2263
2259
|
declare enum SliderInputRoundingType {
|
|
@@ -2364,7 +2360,7 @@ interface SliderInputProps extends DesignSystemBaseProps, InputLabelPassthroughP
|
|
|
2364
2360
|
* and `onInputChange` callbacks. These callbacks are triggered on every change during slider movement
|
|
2365
2361
|
* or while typing in the input field, before the user finalizes their selection with Enter or onBlur.
|
|
2366
2362
|
*/
|
|
2367
|
-
declare const SliderInput: (props: SliderInputProps) =>
|
|
2363
|
+
declare const SliderInput: (props: SliderInputProps) => import("react").JSX.Element;
|
|
2368
2364
|
//#endregion
|
|
2369
2365
|
//#region src/components/sliderInputField/slider/Slider.d.ts
|
|
2370
2366
|
interface SliderProps extends DesignSystemBaseProps {
|
|
@@ -2388,7 +2384,7 @@ interface SliderProps extends DesignSystemBaseProps {
|
|
|
2388
2384
|
stepType: SliderStepType;
|
|
2389
2385
|
value: number;
|
|
2390
2386
|
}
|
|
2391
|
-
declare const Slider: (props: SliderProps) =>
|
|
2387
|
+
declare const Slider: (props: SliderProps) => import("react").JSX.Element;
|
|
2392
2388
|
//#endregion
|
|
2393
2389
|
//#region src/components/sliderInputField/SliderInputField.d.ts
|
|
2394
2390
|
interface SliderInputFieldProps extends Omit<SliderInputProps, 'onChange' | 'value'> {
|
|
@@ -2397,7 +2393,7 @@ interface SliderInputFieldProps extends Omit<SliderInputProps, 'onChange' | 'val
|
|
|
2397
2393
|
/**
|
|
2398
2394
|
* Note: You must set the `defaultValues` for this field in `useForm`. Without it, the field throw error.
|
|
2399
2395
|
*/
|
|
2400
|
-
declare const SliderInputField: (props: SliderInputFieldProps) =>
|
|
2396
|
+
declare const SliderInputField: (props: SliderInputFieldProps) => import("react").JSX.Element;
|
|
2401
2397
|
//#endregion
|
|
2402
2398
|
//#region src/components/spanButton/SpanButton.d.ts
|
|
2403
2399
|
interface SpanButtonProps extends DesignSystemBaseProps, AriaAttributes {
|
|
@@ -2411,7 +2407,7 @@ interface SpanButtonProps extends DesignSystemBaseProps, AriaAttributes {
|
|
|
2411
2407
|
onMouseUp?: (event: MouseEvent<HTMLButtonElement>) => void;
|
|
2412
2408
|
onTouchStart?: (event: TouchEvent<HTMLButtonElement>) => void;
|
|
2413
2409
|
}
|
|
2414
|
-
declare const SpanButton: (props: SpanButtonProps) =>
|
|
2410
|
+
declare const SpanButton: (props: SpanButtonProps) => import("react").JSX.Element;
|
|
2415
2411
|
//#endregion
|
|
2416
2412
|
//#region src/components/stack/types.d.ts
|
|
2417
2413
|
declare enum StackDirection {
|
|
@@ -2435,7 +2431,7 @@ interface StackProps extends AriaAttributes {
|
|
|
2435
2431
|
tabIndex?: number;
|
|
2436
2432
|
wrap?: FlexWrap;
|
|
2437
2433
|
}
|
|
2438
|
-
declare const Stack: (props: StackProps) =>
|
|
2434
|
+
declare const Stack: (props: StackProps) => import("react").JSX.Element;
|
|
2439
2435
|
//#endregion
|
|
2440
2436
|
//#region src/components/stepper/types.d.ts
|
|
2441
2437
|
declare enum StepperVariant {
|
|
@@ -2460,7 +2456,7 @@ interface StepperProps {
|
|
|
2460
2456
|
steps: StepperItemProps[];
|
|
2461
2457
|
variant: StepperVariant;
|
|
2462
2458
|
}
|
|
2463
|
-
declare const Stepper: (props: StepperProps) =>
|
|
2459
|
+
declare const Stepper: (props: StepperProps) => import("react").JSX.Element;
|
|
2464
2460
|
//#endregion
|
|
2465
2461
|
//#region src/components/storeButton/types.d.ts
|
|
2466
2462
|
declare enum StoreButtonVariant {
|
|
@@ -2478,7 +2474,7 @@ interface StoreButtonProps {
|
|
|
2478
2474
|
size: StoreButtonSize;
|
|
2479
2475
|
variant: StoreButtonVariant;
|
|
2480
2476
|
}
|
|
2481
|
-
declare const StoreButton: (props: StoreButtonProps) =>
|
|
2477
|
+
declare const StoreButton: (props: StoreButtonProps) => import("react").JSX.Element;
|
|
2482
2478
|
//#endregion
|
|
2483
2479
|
//#region src/components/table/types.d.ts
|
|
2484
2480
|
declare enum TableVariant {
|
|
@@ -2504,13 +2500,13 @@ interface TableProps {
|
|
|
2504
2500
|
variant: TableVariant;
|
|
2505
2501
|
width?: Property.Width;
|
|
2506
2502
|
}
|
|
2507
|
-
declare const Table: (props: TableProps) =>
|
|
2503
|
+
declare const Table: (props: TableProps) => import("react").JSX.Element;
|
|
2508
2504
|
//#endregion
|
|
2509
2505
|
//#region src/components/table/tableBody/TableBody.d.ts
|
|
2510
2506
|
interface TableBodyProps {
|
|
2511
2507
|
children: ReactNode;
|
|
2512
2508
|
}
|
|
2513
|
-
declare const TableBody: (props: TableBodyProps) =>
|
|
2509
|
+
declare const TableBody: (props: TableBodyProps) => import("react").JSX.Element;
|
|
2514
2510
|
//#endregion
|
|
2515
2511
|
//#region src/components/table/tableData/TableData.d.ts
|
|
2516
2512
|
interface TableDataProps extends DesignSystemBaseProps {
|
|
@@ -2520,13 +2516,13 @@ interface TableDataProps extends DesignSystemBaseProps {
|
|
|
2520
2516
|
textAlign?: TableTextAlign;
|
|
2521
2517
|
variant: TableVariant;
|
|
2522
2518
|
}
|
|
2523
|
-
declare const TableData: (props: TableDataProps) =>
|
|
2519
|
+
declare const TableData: (props: TableDataProps) => import("react").JSX.Element;
|
|
2524
2520
|
//#endregion
|
|
2525
2521
|
//#region src/components/table/tableHead/TableHead.d.ts
|
|
2526
2522
|
interface TableHeadProps {
|
|
2527
2523
|
children: ReactNode;
|
|
2528
2524
|
}
|
|
2529
|
-
declare const TableHead: (props: TableHeadProps) =>
|
|
2525
|
+
declare const TableHead: (props: TableHeadProps) => import("react").JSX.Element;
|
|
2530
2526
|
//#endregion
|
|
2531
2527
|
//#region src/components/table/tableHeadData/TableHeadData.d.ts
|
|
2532
2528
|
interface TableHeadDataProps extends DesignSystemBaseProps {
|
|
@@ -2539,14 +2535,14 @@ interface TableHeadDataProps extends DesignSystemBaseProps {
|
|
|
2539
2535
|
variant: TableVariant;
|
|
2540
2536
|
width?: Property.Width;
|
|
2541
2537
|
}
|
|
2542
|
-
declare const TableHeadData: (props: TableHeadDataProps) =>
|
|
2538
|
+
declare const TableHeadData: (props: TableHeadDataProps) => import("react").JSX.Element;
|
|
2543
2539
|
//#endregion
|
|
2544
2540
|
//#region src/components/table/tableRow/TableRow.d.ts
|
|
2545
2541
|
interface TableRowProps extends DesignSystemBaseProps {
|
|
2546
2542
|
children: ReactNode;
|
|
2547
2543
|
variant: TableVariant;
|
|
2548
2544
|
}
|
|
2549
|
-
declare const TableRow: (props: TableRowProps) =>
|
|
2545
|
+
declare const TableRow: (props: TableRowProps) => import("react").JSX.Element;
|
|
2550
2546
|
//#endregion
|
|
2551
2547
|
//#region src/components/tabs/types.d.ts
|
|
2552
2548
|
declare enum TabsVariant {
|
|
@@ -2613,7 +2609,7 @@ interface TabsProps extends TabsType, DesignSystemBaseProps {}
|
|
|
2613
2609
|
*
|
|
2614
2610
|
* More info: https://www.w3.org/WAI/ARIA/apg/patterns/tabs/examples/tabs-manual/
|
|
2615
2611
|
*/
|
|
2616
|
-
declare const Tabs: (props: TabsProps) =>
|
|
2612
|
+
declare const Tabs: (props: TabsProps) => import("react").JSX.Element;
|
|
2617
2613
|
//#endregion
|
|
2618
2614
|
//#region src/components/tag/types.d.ts
|
|
2619
2615
|
declare enum TagType {
|
|
@@ -2661,14 +2657,14 @@ interface TagProps extends DesignSystemBaseProps, AriaAttributes {
|
|
|
2661
2657
|
type: TagType;
|
|
2662
2658
|
whiteSpace?: WhiteSpace;
|
|
2663
2659
|
}
|
|
2664
|
-
declare const Tag: (props: TagProps) =>
|
|
2660
|
+
declare const Tag: (props: TagProps) => import("react").JSX.Element;
|
|
2665
2661
|
//#endregion
|
|
2666
2662
|
//#region src/components/textAreaField/textArea/TextArea.d.ts
|
|
2667
2663
|
interface TextAreaControlProps extends TextareaHTMLAttributes<HTMLTextAreaElement>, FieldControlProps {
|
|
2668
2664
|
ref?: Ref<HTMLTextAreaElement>;
|
|
2669
2665
|
}
|
|
2670
2666
|
declare const TextArea: {
|
|
2671
|
-
(props: FieldWrapperReservedProps & Omit<TextAreaControlProps, "label" | "note" | "tooltip" | "layout" | "errorMessage" | "labelAs" | "labelHiddenText" | "labelId" | "labelSuffix" | "addons" | "controlMobileWidth" | "controlSectionWidth" | "controlWidth" | "hiddenHintText" | "hintText" | "optionality" | "successMessage">):
|
|
2667
|
+
(props: FieldWrapperReservedProps & Omit<TextAreaControlProps, "label" | "note" | "tooltip" | "layout" | "errorMessage" | "labelAs" | "labelHiddenText" | "labelId" | "labelSuffix" | "addons" | "controlMobileWidth" | "controlSectionWidth" | "controlWidth" | "hiddenHintText" | "hintText" | "optionality" | "successMessage">): import("react").JSX.Element;
|
|
2672
2668
|
displayName: string;
|
|
2673
2669
|
};
|
|
2674
2670
|
type TextAreaProps = ComponentProps<typeof TextArea>;
|
|
@@ -2678,7 +2674,7 @@ interface TextAreaFieldProps extends Omit<TextAreaProps, 'onChange' | 'value'> {
|
|
|
2678
2674
|
name: string;
|
|
2679
2675
|
options?: RegisterOptions;
|
|
2680
2676
|
}
|
|
2681
|
-
declare const TextAreaField: (props: TextAreaFieldProps) =>
|
|
2677
|
+
declare const TextAreaField: (props: TextAreaFieldProps) => import("react").JSX.Element;
|
|
2682
2678
|
//#endregion
|
|
2683
2679
|
//#region src/components/textInputField/textInput/TextInput.d.ts
|
|
2684
2680
|
interface TextInputControlProps extends InputProps {
|
|
@@ -2686,7 +2682,7 @@ interface TextInputControlProps extends InputProps {
|
|
|
2686
2682
|
placeholder?: string;
|
|
2687
2683
|
}
|
|
2688
2684
|
declare const TextInput: {
|
|
2689
|
-
(props: FieldWrapperReservedProps & Omit<TextInputControlProps, "label" | "note" | "tooltip" | "layout" | "errorMessage" | "labelAs" | "labelHiddenText" | "labelId" | "labelSuffix" | "addons" | "controlMobileWidth" | "controlSectionWidth" | "controlWidth" | "hiddenHintText" | "hintText" | "optionality" | "successMessage">):
|
|
2685
|
+
(props: FieldWrapperReservedProps & Omit<TextInputControlProps, "label" | "note" | "tooltip" | "layout" | "errorMessage" | "labelAs" | "labelHiddenText" | "labelId" | "labelSuffix" | "addons" | "controlMobileWidth" | "controlSectionWidth" | "controlWidth" | "hiddenHintText" | "hintText" | "optionality" | "successMessage">): import("react").JSX.Element;
|
|
2690
2686
|
displayName: string;
|
|
2691
2687
|
};
|
|
2692
2688
|
type TextInputProps = ComponentProps<typeof TextInput>;
|
|
@@ -2696,7 +2692,7 @@ interface TextInputFieldProps extends Omit<TextInputProps, 'onChange' | 'value'>
|
|
|
2696
2692
|
name: string;
|
|
2697
2693
|
options?: RegisterOptions;
|
|
2698
2694
|
}
|
|
2699
|
-
declare const TextInputField: (props: TextInputFieldProps) =>
|
|
2695
|
+
declare const TextInputField: (props: TextInputFieldProps) => import("react").JSX.Element;
|
|
2700
2696
|
//#endregion
|
|
2701
2697
|
//#region src/components/toggle/Toggle.d.ts
|
|
2702
2698
|
interface ToggleProps {
|
|
@@ -2710,7 +2706,7 @@ interface ToggleProps {
|
|
|
2710
2706
|
/**
|
|
2711
2707
|
* Currently not compatible with react-hook-form
|
|
2712
2708
|
*/
|
|
2713
|
-
declare const Toggle: (props: ToggleProps) =>
|
|
2709
|
+
declare const Toggle: (props: ToggleProps) => import("react").JSX.Element;
|
|
2714
2710
|
//#endregion
|
|
2715
2711
|
//#region src/components/trailingTextInput/TrailingTextInput.d.ts
|
|
2716
2712
|
interface TrailingTextInputControlProps extends InputProps {
|
|
@@ -2718,7 +2714,7 @@ interface TrailingTextInputControlProps extends InputProps {
|
|
|
2718
2714
|
suffix?: ReactNode;
|
|
2719
2715
|
}
|
|
2720
2716
|
declare const TrailingTextInput: {
|
|
2721
|
-
(props: FieldWrapperReservedProps & Omit<TrailingTextInputControlProps, "label" | "note" | "tooltip" | "layout" | "errorMessage" | "labelAs" | "labelHiddenText" | "labelId" | "labelSuffix" | "addons" | "controlMobileWidth" | "controlSectionWidth" | "controlWidth" | "hiddenHintText" | "hintText" | "optionality" | "successMessage">):
|
|
2717
|
+
(props: FieldWrapperReservedProps & Omit<TrailingTextInputControlProps, "label" | "note" | "tooltip" | "layout" | "errorMessage" | "labelAs" | "labelHiddenText" | "labelId" | "labelSuffix" | "addons" | "controlMobileWidth" | "controlSectionWidth" | "controlWidth" | "hiddenHintText" | "hintText" | "optionality" | "successMessage">): import("react").JSX.Element;
|
|
2722
2718
|
displayName: string;
|
|
2723
2719
|
};
|
|
2724
2720
|
type TrailingTextInputProps = ComponentProps<typeof TrailingTextInput>;
|
|
@@ -2759,7 +2755,7 @@ interface TypographyProps extends DesignSystemBaseProps, SsrProps, AriaAttribute
|
|
|
2759
2755
|
weight?: FontWeight;
|
|
2760
2756
|
whiteSpace?: WhiteSpace;
|
|
2761
2757
|
}
|
|
2762
|
-
declare const Typography: (props: TypographyProps) =>
|
|
2758
|
+
declare const Typography: (props: TypographyProps) => import("react").JSX.Element;
|
|
2763
2759
|
//#endregion
|
|
2764
2760
|
//#region src/components/visuallyHidden/VisuallyHidden.d.ts
|
|
2765
2761
|
interface VisuallyHiddenProps extends AriaAttributes {
|
|
@@ -2768,7 +2764,7 @@ interface VisuallyHiddenProps extends AriaAttributes {
|
|
|
2768
2764
|
id?: string;
|
|
2769
2765
|
role?: AriaRole;
|
|
2770
2766
|
}
|
|
2771
|
-
declare const VisuallyHidden: (props: VisuallyHiddenProps) =>
|
|
2767
|
+
declare const VisuallyHidden: (props: VisuallyHiddenProps) => import("react").JSX.Element;
|
|
2772
2768
|
//#endregion
|
|
2773
2769
|
//#region src/hooks/useUniqueIdIfIsUndefined.d.ts
|
|
2774
2770
|
declare const useUniqueIdIfIsUndefined: (idParam: string | undefined) => string;
|
|
@@ -2785,7 +2781,7 @@ interface FormConfigProviderProps {
|
|
|
2785
2781
|
children: ReactNode;
|
|
2786
2782
|
config: FormConfig;
|
|
2787
2783
|
}
|
|
2788
|
-
declare const FormConfigProvider: (props: FormConfigProviderProps) =>
|
|
2784
|
+
declare const FormConfigProvider: (props: FormConfigProviderProps) => import("react").JSX.Element;
|
|
2789
2785
|
//#endregion
|
|
2790
2786
|
//#region src/form/useForm.d.ts
|
|
2791
2787
|
interface UseFormCaptchaProp {
|
|
@@ -2820,10 +2816,10 @@ interface FormProviderProps<TFieldValues extends FieldValues, TSubmitValues exte
|
|
|
2820
2816
|
children: ReactNode;
|
|
2821
2817
|
form: UseFormReturn<TFieldValues, TSubmitValues>;
|
|
2822
2818
|
}
|
|
2823
|
-
declare const FormProvider: <TFieldValues extends FieldValues, TSubmitValues extends FieldValues | undefined = undefined>(props: FormProviderProps<TFieldValues, TSubmitValues>) =>
|
|
2819
|
+
declare const FormProvider: <TFieldValues extends FieldValues, TSubmitValues extends FieldValues | undefined = undefined>(props: FormProviderProps<TFieldValues, TSubmitValues>) => import("react").JSX.Element;
|
|
2824
2820
|
//#endregion
|
|
2825
2821
|
//#region src/form/contexts.d.ts
|
|
2826
|
-
declare const FormConfigContext:
|
|
2822
|
+
declare const FormConfigContext: import("react").Context<FormConfig>;
|
|
2827
2823
|
//#endregion
|
|
2828
2824
|
//#region src/form/errors.d.ts
|
|
2829
2825
|
declare enum ReCaptchaErrorType {
|
|
@@ -2839,9 +2835,9 @@ declare class ReCaptchaError extends Error {
|
|
|
2839
2835
|
declare const useFormContext: <TFieldValues extends FieldValues, TSubmitValues extends FieldValues | undefined = undefined>() => UseFormReturn<TFieldValues, TSubmitValues>;
|
|
2840
2836
|
//#endregion
|
|
2841
2837
|
//#region src/formatters.d.ts
|
|
2842
|
-
declare const identityFormatter:
|
|
2843
|
-
declare const jsonFormatter:
|
|
2844
|
-
declare const useMessageFormatter: <TInput extends unknown>(getMessage: (value: TInput) => MessageDescriptorWithPrimitiveValues | string) =>
|
|
2838
|
+
declare const identityFormatter: import("afformative").Formatter<any, any, unknown>;
|
|
2839
|
+
declare const jsonFormatter: import("afformative").Formatter<any, string, unknown>;
|
|
2840
|
+
declare const useMessageFormatter: <TInput extends unknown>(getMessage: (value: TInput) => MessageDescriptorWithPrimitiveValues | string) => import("afformative").Formatter<TInput, ReactNode, unknown>;
|
|
2845
2841
|
//#endregion
|
|
2846
|
-
export { Accordion, AccordionContent, type AccordionContentType, AccordionItem, type AccordionItemProps, type AccordionItemType, AccordionKeyValue, type AccordionKeyValueProps, type AccordionProps, AccordionVariant, BorderRadius, Button, ButtonContentAlign, type ButtonProps, ButtonSize, ButtonStyle, ButtonType, ButtonsLayout, ButtonsLayoutAlign, ButtonsLayoutDirection, ButtonsLayoutProps, CalculatorResult, type CalculatorResultBodyItem, type CalculatorResultHeader, CalculatorResultInfoPosition, type CalculatorResultMain, type CalculatorResultModalDescriptor, type CalculatorResultProps, CaptchaType, Checkbox, CheckboxControl, CheckboxControlProps, CheckboxField, CheckboxFieldProps, CheckboxPosition, CheckboxProps, type ChooseColor, CircularProgressBar, type CircularProgressBarProps, ColorObject, ColorScheme, ColorSchemeProvider, type ColorSchemeProviderProps, ComboBox, ComboBoxControl, type ComboBoxControlProps, ComboBoxField, type ComboBoxFieldProps, type ComboBoxItem, type ComboBoxItemOrder, ComboBoxItemOrderSource, type ComboBoxProps, type ComboBoxValue, ComboBoxValueType, CreateTooltipInfoDescriptor, CreateTooltipInfoDescriptorParam, DatePicker, DatePickerControl, type DatePickerControlProps, DatePickerField, type DatePickerFieldProps, type DatePickerProps, type DesignSystemBaseProps, type DesignSystemFullMessages, type DesignSystemFullPropDefaults, DesignSystemMessagesProvider, type DesignSystemMessagesProviderProps, type DesignSystemPartialMessages, type DesignSystemPartialPropDefaults, DesignSystemPropDefaultsProvider, type DesignSystemPropDefaultsProviderProps, DesignSystemProvider, type DesignSystemProviderProps, EmailInput, EmailInputField, type EmailInputFieldProps, type EmailInputProps, ErrorBox, type ErrorBoxItem, ErrorBoxProps, FieldAddon, FieldAddonPosition, type FieldConfig, FieldConfigProvider, type FieldConfigProviderProps, FieldControlProps, FieldLabelStoreProvider, type FieldLabelStoreProviderProps, FieldOptionality, FieldWrapper, FieldWrapperControlProps, FieldWrapperLayout, FieldWrapperProps, FieldWrapperReservedProps, FileInput, FileInputControl, type FileInputControlProps, type FileInputDropzoneDragFilesHereComponent, type FileInputDropzoneDragOrSelectFilesComponent, type FileInputDropzoneSelectFilesComponent, FileInputErrorCode, FileInputField, type FileInputFieldProps, type FileInputLimitDescriptionComponent, type FileInputProps, type FileInputRemoveButtonTextComponent, type FileInputSettings, type FileInputUploadErrorReasonComponent, type FileInputUploadFailedComponent, FlexWrap, FontWeight, type FormConfig, FormConfigContext, FormConfigProvider, type FormConfigProviderProps, FormErrorOutcome, FormErrorOutcomeProps, FormErrorSummary, FormErrorSummaryProps, FormProvider, type FormProviderProps, FormSuccessOutcome, FormSuccessOutcomeProps, FormatAmountCurrencyDisplay, FormatAmountGrouping, type FormatAmountParam, FormattedAmount, type FormattedAmountProps, FormattedHtmlMessage, FormattedHtmlMessageProps, FormattedMessage, FormattedMessageProps, FormattedPercentage, type FormattedPercentageProps, type GetColor, IconFlag, type IconFlagProps, IconFlagType, IconProduct, IconProductHighlightType, type IconProductProps, IconProductSize, IconProductType, IconProductVariant, IconSystem, type IconSystemProps, IconSystemSize, type IconSystemSvgProps, IconSystemType, Infobox, type InfoboxProps, InfoboxSize, type InfoboxTextContent, InfoboxVariant, InputBase, type InputBaseProps, InputLabel, InputLabelPassthroughProps, type InputLabelProps, InputLabelSize, InputProps, InputSize, InputTextAlign, LabelTooltipPosition, Loader, LoaderOverlayBox,
|
|
2842
|
+
export { Accordion, AccordionContent, type AccordionContentType, AccordionItem, type AccordionItemProps, type AccordionItemType, AccordionKeyValue, type AccordionKeyValueProps, type AccordionProps, AccordionVariant, BorderRadius, Button, ButtonContentAlign, type ButtonProps, ButtonSize, ButtonStyle, ButtonType, ButtonsLayout, ButtonsLayoutAlign, ButtonsLayoutDirection, ButtonsLayoutProps, CalculatorResult, type CalculatorResultBodyItem, type CalculatorResultHeader, CalculatorResultInfoPosition, type CalculatorResultMain, type CalculatorResultModalDescriptor, type CalculatorResultProps, CaptchaType, Checkbox, CheckboxControl, CheckboxControlProps, CheckboxField, CheckboxFieldProps, CheckboxPosition, CheckboxProps, type ChooseColor, CircularProgressBar, type CircularProgressBarProps, ColorObject, ColorScheme, ColorSchemeProvider, type ColorSchemeProviderProps, ComboBox, ComboBoxControl, type ComboBoxControlProps, ComboBoxField, type ComboBoxFieldProps, type ComboBoxItem, type ComboBoxItemOrder, ComboBoxItemOrderSource, type ComboBoxProps, type ComboBoxValue, ComboBoxValueType, CreateTooltipInfoDescriptor, CreateTooltipInfoDescriptorParam, DatePicker, DatePickerControl, type DatePickerControlProps, DatePickerField, type DatePickerFieldProps, type DatePickerProps, type DesignSystemBaseProps, type DesignSystemFullMessages, type DesignSystemFullPropDefaults, DesignSystemMessagesProvider, type DesignSystemMessagesProviderProps, type DesignSystemPartialMessages, type DesignSystemPartialPropDefaults, DesignSystemPropDefaultsProvider, type DesignSystemPropDefaultsProviderProps, DesignSystemProvider, type DesignSystemProviderProps, EmailInput, EmailInputField, type EmailInputFieldProps, type EmailInputProps, ErrorBox, type ErrorBoxItem, ErrorBoxProps, FieldAddon, FieldAddonPosition, type FieldConfig, FieldConfigProvider, type FieldConfigProviderProps, FieldControlProps, FieldLabelStoreProvider, type FieldLabelStoreProviderProps, FieldOptionality, FieldWrapper, FieldWrapperControlProps, FieldWrapperLayout, FieldWrapperProps, FieldWrapperReservedProps, FileInput, FileInputControl, type FileInputControlProps, type FileInputDropzoneDragFilesHereComponent, type FileInputDropzoneDragOrSelectFilesComponent, type FileInputDropzoneSelectFilesComponent, FileInputErrorCode, FileInputField, type FileInputFieldProps, type FileInputLimitDescriptionComponent, type FileInputProps, type FileInputRemoveButtonTextComponent, type FileInputSettings, type FileInputUploadErrorReasonComponent, type FileInputUploadFailedComponent, FlexWrap, FontWeight, type FormConfig, FormConfigContext, FormConfigProvider, type FormConfigProviderProps, FormErrorOutcome, FormErrorOutcomeProps, FormErrorSummary, FormErrorSummaryProps, FormProvider, type FormProviderProps, FormSuccessOutcome, FormSuccessOutcomeProps, FormatAmountCurrencyDisplay, FormatAmountGrouping, type FormatAmountParam, FormattedAmount, type FormattedAmountProps, FormattedHtmlMessage, FormattedHtmlMessageProps, FormattedMessage, FormattedMessageProps, FormattedPercentage, type FormattedPercentageProps, type GetColor, IconFlag, type IconFlagProps, IconFlagType, IconProduct, IconProductHighlightType, type IconProductProps, IconProductSize, IconProductType, IconProductVariant, IconSystem, type IconSystemProps, IconSystemSize, type IconSystemSvgProps, IconSystemType, Infobox, type InfoboxProps, InfoboxSize, type InfoboxTextContent, InfoboxVariant, InputBase, type InputBaseProps, InputLabel, InputLabelPassthroughProps, type InputLabelProps, InputLabelSize, InputProps, InputSize, InputTextAlign, LabelTooltipPosition, Loader, LoaderOverlayBox, LoaderOverlayBoxProps, LoaderProps, LoaderSize, MaskedInput, MaskedInputBase, MaskedInputBaseProps, MaskedInputField, MaskedInputFieldProps, MaskedInputProps, MediaType, MediaTypeProvider, type MediaTypeProviderProps, MessageDescriptorWithPrimitiveValues, MessageDescriptorWithValues, type MessageValues, Modal, ModalOnClose, ModalProps, ModalVerticalPosition, ModalWidthType, FormattedAmount$1 as NextFormattedAmount, type FormattedAmountProps$1 as NextFormattedAmountProps, NumberInput, NumberInputField, NumberInputFieldProps, NumberInputProps, Overflow, Paper, type PaperProps, PaperShadow, PhoneInput, PhoneInputField, type PhoneInputFieldProps, type PhoneInputProps, type PrimitiveMessageValues, ProgressPaper, type ProgressPaperProps, Radio, RadioButton, RadioButtonField, RadioButtonFieldProps, RadioButtonGroup, RadioButtonGroupControl, RadioButtonGroupControlProps, RadioButtonGroupField, type RadioButtonGroupFieldProps, RadioButtonGroupItem, RadioButtonGroupLayout, RadioButtonGroupProps, type RadioButtonLabel, RadioButtonProps, RadioControl, RadioControlProps, RadioField, RadioFieldProps, RadioGeneralProps, RadioGroup, RadioGroupControl, RadioGroupControlProps, RadioGroupDirection, RadioGroupField, RadioGroupFieldProps, RadioGroupItem, RadioGroupProps, RadioPosition, RadioProps, ReCaptchaError, ReCaptchaErrorType, type ReCaptchaV3Config, ReasonForClosing, SearchInput, type SearchInputProps, Select, SelectControl, type SelectControlProps, SelectField, type SelectFieldProps, type SelectItem, type SelectItemOrder, SelectItemOrderSource, type SelectProps, SelectVariant, Slider, type SliderAriaValueTextFormatter, type SliderAriaValueTextFormatterContext, type SliderBreakpoint, SliderInput, SliderInputField, type SliderInputFieldProps, type SliderInputLimitExceededLiveTextFormatter, type SliderInputLimitExceededLiveTextFormatterContext, type SliderInputProps, SliderInputRoundingType, type SliderMinMaxLabels, type SliderProps, SliderStepType, type SliderSteps, Spacing, SpanButton, type SpanButtonProps, SsrProps, Stack, StackDirection, type StackProps, Stepper, type StepperItemProps, StepperProps, StepperVariant, StoreButton, type StoreButtonProps, StoreButtonSize, StoreButtonVariant, type SubmitHandler, type SubmitHandlerErrorInfo, type SubmitHandlerExtraParam, type TabItemType, Table, TableBody, type TableBodyProps, TableData, type TableDataProps, TableHead, TableHeadData, type TableHeadDataProps, type TableHeadProps, TableHeadScope, type TableProps, TableRow, type TableRowProps, TableTextAlign, TableVariant, Tabs, TabsActiveTabDefaultPosition, TabsProps, TabsSize, type TabsType, TabsVariant, TabsWrap, Tag, TagIconPosition, type TagProps, TagSize, TagTextTransform, TagType, TextArea, TextAreaField, type TextAreaFieldProps, type TextAreaProps, TextDecoration, TextInput, TextInputField, type TextInputFieldProps, type TextInputProps, type Theme, type ThrownFieldLevelError, type ThrownFieldLevelErrorFormatter, type ThrownFormErrors, type ThrownFormLevelError, type ThrownFormLevelErrorFormatter, type ThrownFormLevelErrorFormatterOutput, type ThrownFormLevelErrorMeta, ThrownFormLevelErrorType, Toggle, type ToggleProps, TooltipCloseReason, type TooltipDescriptor, TooltipGeneral, TooltipGeneralProps, TooltipInfo, TooltipInfoConditional, TooltipInfoConditionalProps, type TooltipInfoDescriptor, TooltipInfoDisplayMethod, TooltipInfoDisplayableCheck, TooltipInfoDisplayableCheckProps, TooltipInfoProps, TooltipPlacement, type TooltipRenderParent, TooltipWidth, TrailingTextInput, type TrailingTextInputProps, Typography, type TypographyProps, TypographyTextAlign, TypographyVariant, type UseColorSchemeOptions, type UseColorSchemeParam, type UseDesignSystemOptions, type UseDesignSystemParam, type UseFormCaptchaProp, type UseFormHandleSubmit, type UseFormProps, type UseFormReturn, UseFormSuccessOutcomeManagerReturn, type UseMediaTypeOptions, type UseMediaTypeParam, VisuallyHidden, type VisuallyHiddenProps, 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, useFormatPercentage, useFormattedPercentage, useGetFormattedHtmlMessageIfDisplayable, useIsMessageDisplayable, useMediaType, useMergeRefs, useMessageFormatter, useFormatAmount$1 as useNextFormatAmount, useRegisterFieldLabel, useUniqueIdIfIsUndefined, withFieldWrapper, withMaskedInputField };
|
|
2847
2843
|
//# sourceMappingURL=index.d.cts.map
|