@mmb-digital/design-system-web 0.1.348-alpha.2 → 0.1.348
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 +7 -6
- package/dist/index.cjs +2 -41
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +2099 -2236
- package/dist/index.js +2 -41
- package/dist/index.js.map +1 -1
- package/package.json +160 -153
- package/dist/index.d.cts +0 -2843
package/dist/index.d.ts
CHANGED
|
@@ -1,227 +1,219 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import
|
|
10
|
-
import {
|
|
11
|
-
import
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as CSS from 'csstype';
|
|
3
|
+
import { Property } from 'csstype';
|
|
4
|
+
import * as react from 'react';
|
|
5
|
+
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';
|
|
6
|
+
import { MessageDescriptor } from 'react-intl';
|
|
7
|
+
import { PrimitiveType, FormatXMLElementFn } from 'intl-messageformat';
|
|
8
|
+
import { Theme as Theme$1 } from '@emotion/react';
|
|
9
|
+
import * as react_hook_form from 'react-hook-form';
|
|
10
|
+
import { RegisterOptions, FieldValues, FieldPath, UseFormReturn as UseFormReturn$1, SubmitErrorHandler, UseFormProps as UseFormProps$1 } from 'react-hook-form';
|
|
11
|
+
import * as afformative from 'afformative';
|
|
12
|
+
import { Formatter } from 'afformative';
|
|
13
|
+
import { Locale } from 'date-fns';
|
|
14
|
+
import { DatePickerProps as DatePickerProps$1 } from 'react-datepicker';
|
|
15
|
+
import { Masked, FactoryOpts } from 'imask';
|
|
16
|
+
import * as _emotion_utils from '@emotion/utils';
|
|
17
|
+
export { useMergeRefs } from '@floating-ui/react';
|
|
18
|
+
import { z } from 'zod';
|
|
19
|
+
import emotionStyled from '@emotion/styled';
|
|
20
|
+
|
|
16
21
|
type MessageValues = Record<string, FormatXMLElementFn<ReactNode, ReactNode> | PrimitiveType | ReactNode>;
|
|
17
22
|
type PrimitiveMessageValues = Record<string, PrimitiveType>;
|
|
18
23
|
type IsMessageDisplayableHookReturnFunction = (messageDescriptor: MessageDescriptor) => boolean;
|
|
19
|
-
|
|
20
|
-
//#region src/components/formattedMessage/formattedMessage/FormattedMessage.d.ts
|
|
24
|
+
|
|
21
25
|
interface FormattedMessageProps extends MessageDescriptor {
|
|
22
|
-
|
|
23
|
-
}
|
|
24
|
-
declare const FormattedMessage: (props: FormattedMessageProps) =>
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
declare const FormattedHtmlMessage: (props: FormattedHtmlMessageProps) =>
|
|
29
|
-
|
|
30
|
-
//#region src/components/formattedMessage/isMessageDisplayable/useIsMessageDisplayable.d.ts
|
|
26
|
+
values?: MessageValues;
|
|
27
|
+
}
|
|
28
|
+
declare const FormattedMessage: (props: FormattedMessageProps) => react_jsx_runtime.JSX.Element;
|
|
29
|
+
|
|
30
|
+
interface FormattedHtmlMessageProps extends MessageDescriptorWithPrimitiveValues {
|
|
31
|
+
}
|
|
32
|
+
declare const FormattedHtmlMessage: (props: FormattedHtmlMessageProps) => react_jsx_runtime.JSX.Element;
|
|
33
|
+
|
|
31
34
|
declare const useIsMessageDisplayable: () => IsMessageDisplayableHookReturnFunction;
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
//#endregion
|
|
36
|
-
//#region src/components/tooltip/types.d.ts
|
|
35
|
+
|
|
36
|
+
declare const useGetFormattedHtmlMessageIfDisplayable: () => (messageDescriptor: MessageDescriptorWithPrimitiveValues) => react_jsx_runtime.JSX.Element | undefined;
|
|
37
|
+
|
|
37
38
|
type TooltipRenderParent = (getParentProps: (userProps?: HTMLProps<Element>) => Record<string, unknown>) => ReactElement;
|
|
38
39
|
declare enum TooltipPlacement {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
40
|
+
bottom = "bottom",
|
|
41
|
+
left = "left",
|
|
42
|
+
right = "right",
|
|
43
|
+
top = "top"
|
|
43
44
|
}
|
|
44
45
|
interface TooltipDescriptor {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
46
|
+
body: ReactElement | string;
|
|
47
|
+
closeButtonAriaLabel?: string;
|
|
48
|
+
title?: ReactElement | string;
|
|
49
|
+
width?: TooltipWidth;
|
|
49
50
|
}
|
|
50
51
|
interface TooltipInfoDescriptor extends TooltipDescriptor {
|
|
51
|
-
|
|
52
|
+
triggerAriaLabel?: string;
|
|
52
53
|
}
|
|
53
54
|
declare enum TooltipInfoDisplayMethod {
|
|
54
|
-
|
|
55
|
-
|
|
55
|
+
onlyTooltip = "onlyTooltip",
|
|
56
|
+
withNbsp = "withNbsp"
|
|
56
57
|
}
|
|
57
58
|
interface TooltipDelays {
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
59
|
+
/** ms */
|
|
60
|
+
closeDelay?: number;
|
|
61
|
+
/** ms */
|
|
62
|
+
openDelay?: number;
|
|
62
63
|
}
|
|
63
64
|
interface BaseTooltipInfoProps {
|
|
64
|
-
|
|
65
|
+
triggerAriaLabel?: string;
|
|
65
66
|
}
|
|
66
67
|
declare enum TooltipCloseReason {
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
68
|
+
closeButtonClick = "closeButtonClick",
|
|
69
|
+
closeButtonKeyPress = "closeButtonKeyPress",
|
|
70
|
+
focusLost = "focusLost"
|
|
70
71
|
}
|
|
71
72
|
declare enum TooltipWidth {
|
|
72
|
-
|
|
73
|
-
|
|
73
|
+
lg = "lg",
|
|
74
|
+
md = "md"
|
|
74
75
|
}
|
|
75
|
-
|
|
76
|
-
//#region src/components/tooltip/infoDisplayableCheck/TooltipInfoDisplayableCheck.d.ts
|
|
76
|
+
|
|
77
77
|
interface TooltipInfoDisplayableCheckProps extends DesignSystemBaseProps {
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
}
|
|
84
|
-
declare const TooltipInfoDisplayableCheck: (props: TooltipInfoDisplayableCheckProps) =>
|
|
85
|
-
|
|
86
|
-
//#region src/components/tooltip/infoConditional/TooltipInfoConditional.d.ts
|
|
78
|
+
body: MessageDescriptorWithPrimitiveValues;
|
|
79
|
+
closeButtonAriaLabel?: MessageDescriptorWithPrimitiveValues;
|
|
80
|
+
displayMethod: TooltipInfoDisplayMethod;
|
|
81
|
+
title?: MessageDescriptorWithPrimitiveValues;
|
|
82
|
+
triggerAriaLabel?: MessageDescriptorWithPrimitiveValues;
|
|
83
|
+
}
|
|
84
|
+
declare const TooltipInfoDisplayableCheck: (props: TooltipInfoDisplayableCheckProps) => react_jsx_runtime.JSX.Element | null;
|
|
85
|
+
|
|
87
86
|
interface TooltipInfoConditionalProps extends DesignSystemBaseProps, BaseTooltipInfoProps {
|
|
88
|
-
|
|
89
|
-
|
|
87
|
+
displayMethod: TooltipInfoDisplayMethod;
|
|
88
|
+
floatingElement?: Partial<TooltipDescriptor>;
|
|
90
89
|
}
|
|
91
|
-
declare const TooltipInfoConditional: (props: TooltipInfoConditionalProps) =>
|
|
92
|
-
|
|
93
|
-
//#region src/components/tooltip/useCreateTooltipInfoDescriptor/useCreateTooltipInfoDescriptor.d.ts
|
|
90
|
+
declare const TooltipInfoConditional: (props: TooltipInfoConditionalProps) => react_jsx_runtime.JSX.Element | null;
|
|
91
|
+
|
|
94
92
|
interface CreateTooltipInfoDescriptorParam {
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
93
|
+
body: MessageDescriptorWithPrimitiveValues;
|
|
94
|
+
closeButtonAriaLabel?: MessageDescriptorWithPrimitiveValues;
|
|
95
|
+
title?: MessageDescriptorWithPrimitiveValues;
|
|
96
|
+
triggerAriaLabel?: MessageDescriptorWithPrimitiveValues;
|
|
97
|
+
width?: TooltipWidth;
|
|
100
98
|
}
|
|
101
99
|
type CreateTooltipInfoDescriptor = (param: CreateTooltipInfoDescriptorParam) => TooltipInfoDescriptor | undefined;
|
|
102
100
|
declare const useCreateTooltipInfoDescriptor: () => CreateTooltipInfoDescriptor;
|
|
103
|
-
|
|
104
|
-
//#region src/components/tooltip/info/TooltipInfo.d.ts
|
|
101
|
+
|
|
105
102
|
interface TooltipInfoProps extends DesignSystemBaseProps, TooltipDelays, BaseTooltipInfoProps {
|
|
106
|
-
|
|
103
|
+
floatingElement: TooltipDescriptor;
|
|
107
104
|
}
|
|
108
|
-
declare const TooltipInfo: (props: TooltipInfoProps) =>
|
|
109
|
-
|
|
110
|
-
//#region src/components/tooltip/general/TooltipGeneral.d.ts
|
|
105
|
+
declare const TooltipInfo: (props: TooltipInfoProps) => react_jsx_runtime.JSX.Element;
|
|
106
|
+
|
|
111
107
|
interface TooltipGeneralProps extends DesignSystemBaseProps, TooltipDelays {
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
}
|
|
119
|
-
declare const TooltipGeneral: (props: TooltipGeneralProps) =>
|
|
120
|
-
|
|
121
|
-
//#region src/components/tooltip/util.d.ts
|
|
108
|
+
floatingElement: TooltipDescriptor;
|
|
109
|
+
onClose?: ((closeReason: TooltipCloseReason) => void) | undefined;
|
|
110
|
+
onOpen?: (() => void) | undefined;
|
|
111
|
+
placement?: TooltipPlacement | undefined;
|
|
112
|
+
portalRootElement?: HTMLElement | MutableRefObject<HTMLElement | null> | null;
|
|
113
|
+
renderParent: TooltipRenderParent;
|
|
114
|
+
}
|
|
115
|
+
declare const TooltipGeneral: (props: TooltipGeneralProps) => react_jsx_runtime.JSX.Element;
|
|
116
|
+
|
|
122
117
|
type TooltipInfoDescriptorPropsSubset = Pick<TooltipInfoProps, 'floatingElement' | 'triggerAriaLabel'>;
|
|
123
118
|
declare const mapTooltipInfoDescriptorToPropsSubset: <T extends TooltipInfoDescriptor | undefined>(tooltipInfoDescriptor: T) => T extends undefined ? undefined : TooltipInfoDescriptorPropsSubset;
|
|
124
|
-
|
|
125
|
-
//#region src/types.d.ts
|
|
119
|
+
|
|
126
120
|
interface SsrProps {
|
|
127
|
-
|
|
121
|
+
suppressHydrationWarning?: boolean;
|
|
128
122
|
}
|
|
129
123
|
interface MessageDescriptorWithPrimitiveValues extends MessageDescriptor {
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
124
|
+
/**
|
|
125
|
+
* Since `FormattedHtmlMessage` uses `dangerouslySetInnerHTML` under the hood and sometimes
|
|
126
|
+
* includes user input, we need to escape the `values` prop to prevent XSS vulnerabilities.
|
|
127
|
+
*
|
|
128
|
+
* In case we need to display HTML content (and we're sure it's safe), the `htmlValues` prop
|
|
129
|
+
* should be used instead.
|
|
130
|
+
*/
|
|
131
|
+
htmlValues?: PrimitiveMessageValues;
|
|
132
|
+
values?: PrimitiveMessageValues;
|
|
139
133
|
}
|
|
140
134
|
interface MessageDescriptorWithValues extends MessageDescriptor {
|
|
141
|
-
|
|
135
|
+
values?: MessageValues;
|
|
142
136
|
}
|
|
143
137
|
interface FieldControlProps extends DesignSystemBaseProps {
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
138
|
+
describedBy?: string;
|
|
139
|
+
id?: string;
|
|
140
|
+
invalid?: boolean;
|
|
141
|
+
labelledBy?: string;
|
|
142
|
+
name?: string;
|
|
143
|
+
required?: boolean;
|
|
150
144
|
}
|
|
151
145
|
declare enum InputSize {
|
|
152
|
-
|
|
153
|
-
|
|
146
|
+
md = "md",
|
|
147
|
+
xl = "xl"
|
|
154
148
|
}
|
|
155
149
|
declare enum InputTextAlign {
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
150
|
+
center = "center",
|
|
151
|
+
left = "left",
|
|
152
|
+
right = "right"
|
|
159
153
|
}
|
|
160
154
|
declare enum MediaType {
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
155
|
+
desktop = "desktop",
|
|
156
|
+
mobile = "mobile",
|
|
157
|
+
tablet = "tablet"
|
|
164
158
|
}
|
|
165
159
|
declare enum ColorScheme {
|
|
166
|
-
|
|
167
|
-
|
|
160
|
+
dark = "dark",
|
|
161
|
+
light = "light"
|
|
168
162
|
}
|
|
169
163
|
interface ColorObject<Dark extends string = string, Light extends string = string> {
|
|
170
|
-
|
|
171
|
-
|
|
164
|
+
dark: Dark;
|
|
165
|
+
light: Light;
|
|
172
166
|
}
|
|
173
167
|
interface InputProps extends FieldControlProps {
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
168
|
+
ariaLabel?: string;
|
|
169
|
+
autoComplete?: HTMLInputAutoCompleteAttribute;
|
|
170
|
+
button?: ReactNode;
|
|
171
|
+
colorInput?: Property.Color | undefined;
|
|
172
|
+
disabled?: boolean;
|
|
173
|
+
halfWidth?: boolean;
|
|
174
|
+
maxLength?: number;
|
|
175
|
+
name: string;
|
|
176
|
+
onBlur?: ((event: FocusEvent<HTMLInputElement>) => void) | undefined;
|
|
177
|
+
onChange?: ((event: ChangeEvent<HTMLInputElement>) => void) | undefined;
|
|
178
|
+
prefix?: ReactNode;
|
|
179
|
+
ref?: Ref<HTMLInputElement>;
|
|
180
|
+
size: InputSize;
|
|
181
|
+
suffix?: ReactNode;
|
|
182
|
+
value?: string;
|
|
189
183
|
}
|
|
190
184
|
declare enum FieldOptionality {
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
185
|
+
optional = "optional",
|
|
186
|
+
optionalWithoutLabelSuffix = "optionalWithoutLabelSuffix",
|
|
187
|
+
required = "required"
|
|
194
188
|
}
|
|
195
189
|
interface InputLabelPassthroughProps {
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
190
|
+
label?: ReactNode;
|
|
191
|
+
labelAs?: ElementType;
|
|
192
|
+
/**
|
|
193
|
+
* Visually hidden text for screen readers providing additional info, such as the availability of a tooltip.
|
|
194
|
+
* Prefer using `hiddenHintText` in `FieldWrapper` where possible.
|
|
195
|
+
*/
|
|
196
|
+
labelHiddenText?: string;
|
|
197
|
+
labelId?: string;
|
|
198
|
+
labelSuffix?: ReactNode;
|
|
199
|
+
tooltip?: TooltipInfoDescriptor;
|
|
206
200
|
}
|
|
207
201
|
declare enum LabelTooltipPosition {
|
|
208
|
-
|
|
209
|
-
|
|
202
|
+
inline = "inline",
|
|
203
|
+
rightCenter = "rightCenter"
|
|
210
204
|
}
|
|
211
|
-
|
|
212
|
-
//#region src/contexts/mediaType/MediaTypeProvider.d.ts
|
|
205
|
+
|
|
213
206
|
interface MediaTypeProviderProps {
|
|
214
|
-
|
|
215
|
-
|
|
207
|
+
children: ReactNode;
|
|
208
|
+
mediaType: MediaType;
|
|
216
209
|
}
|
|
217
210
|
declare const MediaTypeProvider: FC<MediaTypeProviderProps>;
|
|
218
|
-
|
|
219
|
-
//#region src/contexts/mediaType/useMediaType.d.ts
|
|
211
|
+
|
|
220
212
|
type UseMediaTypeParam = MediaType | {
|
|
221
|
-
|
|
213
|
+
mediaType?: MediaType | undefined;
|
|
222
214
|
};
|
|
223
215
|
interface UseMediaTypeOptions {
|
|
224
|
-
|
|
216
|
+
defaultMediaType?: MediaType;
|
|
225
217
|
}
|
|
226
218
|
/**
|
|
227
219
|
* priorities:
|
|
@@ -232,20 +224,18 @@ interface UseMediaTypeOptions {
|
|
|
232
224
|
* 4. fallbackMediaType
|
|
233
225
|
*/
|
|
234
226
|
declare const useMediaType: (param?: UseMediaTypeParam, options?: UseMediaTypeOptions) => MediaType;
|
|
235
|
-
|
|
236
|
-
//#region src/contexts/colorScheme/ColorSchemeProvider.d.ts
|
|
227
|
+
|
|
237
228
|
interface ColorSchemeProviderProps {
|
|
238
|
-
|
|
239
|
-
|
|
229
|
+
children: ReactNode;
|
|
230
|
+
colorScheme: ColorScheme;
|
|
240
231
|
}
|
|
241
232
|
declare const ColorSchemeProvider: FC<ColorSchemeProviderProps>;
|
|
242
|
-
|
|
243
|
-
//#region src/contexts/colorScheme/useColorScheme.d.ts
|
|
233
|
+
|
|
244
234
|
type UseColorSchemeParam = ColorScheme | {
|
|
245
|
-
|
|
235
|
+
colorScheme?: ColorScheme | undefined;
|
|
246
236
|
};
|
|
247
237
|
interface UseColorSchemeOptions {
|
|
248
|
-
|
|
238
|
+
defaultColorScheme?: ColorScheme;
|
|
249
239
|
}
|
|
250
240
|
/**
|
|
251
241
|
* priorities:
|
|
@@ -256,93 +246,96 @@ interface UseColorSchemeOptions {
|
|
|
256
246
|
* 4. fallbackColorScheme
|
|
257
247
|
*/
|
|
258
248
|
declare const useColorScheme: (param?: UseColorSchemeParam, options?: UseColorSchemeOptions) => ColorScheme;
|
|
259
|
-
|
|
260
|
-
//#region src/contexts/designSystemMessages/DesignSystemMessagesContext.d.ts
|
|
249
|
+
|
|
261
250
|
interface DesignSystemFullMessages {
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
251
|
+
button: {
|
|
252
|
+
busyGeneric?: ReactNode;
|
|
253
|
+
busySubmit?: ReactNode;
|
|
254
|
+
};
|
|
255
|
+
fieldWrapper: {
|
|
256
|
+
getTooltipTriggerAriaLabel?: (tooltip: TooltipInfoDescriptor, label: ReactNode) => string;
|
|
257
|
+
optionalLabelSuffix?: ReactNode;
|
|
258
|
+
tooltipHiddenHintText?: ReactNode;
|
|
259
|
+
};
|
|
260
|
+
formErrorSummary: {
|
|
261
|
+
title: ReactNode;
|
|
262
|
+
};
|
|
274
263
|
}
|
|
275
|
-
type DesignSystemPartialMessages = {
|
|
276
|
-
|
|
277
|
-
|
|
264
|
+
type DesignSystemPartialMessages = {
|
|
265
|
+
[K in keyof DesignSystemFullMessages]?: Partial<{
|
|
266
|
+
[P in keyof NonNullable<DesignSystemFullMessages[K]>]?: NonNullable<DesignSystemFullMessages[K]>[P];
|
|
267
|
+
}>;
|
|
268
|
+
};
|
|
269
|
+
|
|
278
270
|
interface DesignSystemFullPropDefaults {
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
271
|
+
button: {
|
|
272
|
+
busyDelay: number;
|
|
273
|
+
};
|
|
282
274
|
}
|
|
283
|
-
type DesignSystemPartialPropDefaults = {
|
|
284
|
-
|
|
285
|
-
|
|
275
|
+
type DesignSystemPartialPropDefaults = {
|
|
276
|
+
[K in keyof DesignSystemFullPropDefaults]?: Partial<{
|
|
277
|
+
[P in keyof DesignSystemFullPropDefaults[K]]?: DesignSystemFullPropDefaults[K][P];
|
|
278
|
+
}>;
|
|
279
|
+
};
|
|
280
|
+
|
|
286
281
|
interface DesignSystemProviderProps {
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
282
|
+
children: ReactNode;
|
|
283
|
+
colorScheme?: ColorScheme;
|
|
284
|
+
mediaType?: MediaType;
|
|
285
|
+
messages?: DesignSystemPartialMessages;
|
|
286
|
+
propDefaults?: DesignSystemPartialPropDefaults;
|
|
292
287
|
}
|
|
293
288
|
/**
|
|
294
289
|
* It is recommended to use this provider only once in a component tree, ideally near the root.
|
|
295
290
|
* It is possible to override every provider for a subpart of the component tree.
|
|
296
291
|
*/
|
|
297
292
|
declare const DesignSystemProvider: (props: DesignSystemProviderProps) => ReactNode;
|
|
298
|
-
|
|
299
|
-
//#region src/utils/getClampedFontSize.d.ts
|
|
293
|
+
|
|
300
294
|
declare const getClampedFontSize: (fontSize: string) => string;
|
|
301
|
-
|
|
302
|
-
//#region src/utils/getColor.d.ts
|
|
295
|
+
|
|
303
296
|
type GetColor = <Dark extends string = string, Light extends string = string>(colorScheme: ColorScheme, colorSchemeObject: ColorObject<Dark, Light>) => Dark | Light;
|
|
304
297
|
declare const getColor: GetColor;
|
|
305
|
-
|
|
306
|
-
|
|
298
|
+
|
|
299
|
+
declare const isReactNode: (value: unknown) => value is ReactNode;
|
|
300
|
+
|
|
307
301
|
declare const isRenderable: (node: ReactNode) => node is Exclude<ReactNode, boolean | null | undefined>;
|
|
308
|
-
|
|
309
|
-
//#region src/utils/mergeRefs.d.ts
|
|
302
|
+
|
|
310
303
|
declare const mergeRefs: <T>(...refs: (Ref<T> | undefined)[]) => Ref<T>;
|
|
311
|
-
|
|
312
|
-
//#region src/utils/pxToRem.d.ts
|
|
304
|
+
|
|
313
305
|
declare const pxToRem: (px: number | string, base?: number) => string;
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
//#endregion
|
|
318
|
-
//#region src/utils/styled.d.ts
|
|
306
|
+
|
|
307
|
+
declare const renderReactNodeArray: (items: ReactNode[], separator?: ReactNode) => ReactElement<unknown, string | react.JSXElementConstructor<any>>[] | null;
|
|
308
|
+
|
|
319
309
|
declare const styled: typeof emotionStyled;
|
|
320
|
-
|
|
321
|
-
//#region src/utils/useChooseColor.d.ts
|
|
310
|
+
|
|
322
311
|
type ChooseColor = <Dark extends string = string, Light extends string = string>(colorSchemeObject: ColorObject<Dark, Light>) => Dark | Light;
|
|
323
312
|
declare const useChooseColor: (colorScheme: ColorScheme) => ChooseColor;
|
|
324
|
-
|
|
325
|
-
|
|
313
|
+
|
|
314
|
+
declare const resolveMask: (mask: Masked, value: string) => {
|
|
315
|
+
masked: string;
|
|
316
|
+
unmasked: string;
|
|
317
|
+
};
|
|
318
|
+
declare const resolveMaskToNumber: (mask: Masked, value: string) => number;
|
|
319
|
+
|
|
326
320
|
interface UseDesignSystemParam {
|
|
327
|
-
|
|
328
|
-
|
|
321
|
+
colorScheme?: ColorScheme | undefined;
|
|
322
|
+
mediaType?: MediaType | undefined;
|
|
323
|
+
}
|
|
324
|
+
interface UseDesignSystemOptions extends UseColorSchemeOptions, UseMediaTypeOptions {
|
|
329
325
|
}
|
|
330
|
-
interface UseDesignSystemOptions extends UseColorSchemeOptions, UseMediaTypeOptions {}
|
|
331
326
|
declare const useDesignSystem: (param?: UseDesignSystemParam, options?: UseDesignSystemOptions) => {
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
327
|
+
colorScheme: ColorScheme;
|
|
328
|
+
mediaType: MediaType;
|
|
329
|
+
chooseColor: ChooseColor;
|
|
335
330
|
};
|
|
336
|
-
|
|
337
|
-
//#region src/contexts/designSystem/types.d.ts
|
|
331
|
+
|
|
338
332
|
interface DesignSystemBaseProps {
|
|
339
|
-
|
|
340
|
-
|
|
333
|
+
colorScheme?: ColorScheme;
|
|
334
|
+
mediaType?: MediaType;
|
|
341
335
|
}
|
|
342
|
-
|
|
343
|
-
//#region src/contexts/fieldLabelStore.d.ts
|
|
336
|
+
|
|
344
337
|
interface FieldLabelStoreProviderProps {
|
|
345
|
-
|
|
338
|
+
children: ReactNode;
|
|
346
339
|
}
|
|
347
340
|
/**
|
|
348
341
|
* The purpose of this provider is to make labels passed to `FieldWrapper` accessible elsewhere,
|
|
@@ -350,2001 +343,1909 @@ interface FieldLabelStoreProviderProps {
|
|
|
350
343
|
*
|
|
351
344
|
* Field labels can be registered via the `useRegisterFieldLabel` hook, and consumed via the `useFieldLabels` hook.
|
|
352
345
|
**/
|
|
353
|
-
declare const FieldLabelStoreProvider: (props: FieldLabelStoreProviderProps) =>
|
|
346
|
+
declare const FieldLabelStoreProvider: (props: FieldLabelStoreProviderProps) => react_jsx_runtime.JSX.Element;
|
|
354
347
|
declare const useFieldLabels: () => Record<string, ReactNode>;
|
|
355
348
|
declare const useRegisterFieldLabel: () => (name: string, label: ReactNode) => void;
|
|
356
|
-
|
|
357
|
-
//#region src/contexts/fieldConfig.d.ts
|
|
349
|
+
|
|
358
350
|
interface FieldConfig {
|
|
359
|
-
|
|
351
|
+
optionalLabelSuffix?: ReactNode;
|
|
360
352
|
}
|
|
361
353
|
interface FieldConfigProviderProps extends FieldConfig {
|
|
362
|
-
|
|
354
|
+
children: ReactNode;
|
|
363
355
|
}
|
|
364
356
|
/**
|
|
365
357
|
* Should only be used once in the root application wrapper.
|
|
366
358
|
*
|
|
367
359
|
* @deprecated Use `DesignSystemProvider` with the `messages` prop instead.
|
|
368
360
|
*/
|
|
369
|
-
declare const FieldConfigProvider: (props: FieldConfigProviderProps) =>
|
|
361
|
+
declare const FieldConfigProvider: (props: FieldConfigProviderProps) => react_jsx_runtime.JSX.Element;
|
|
370
362
|
declare const useFieldConfig: () => FieldConfig;
|
|
371
|
-
|
|
372
|
-
//#region src/contexts/designSystemMessages/DesignSystemMessagesProvider.d.ts
|
|
363
|
+
|
|
373
364
|
interface DesignSystemMessagesProviderProps {
|
|
374
|
-
|
|
375
|
-
|
|
365
|
+
children: ReactNode;
|
|
366
|
+
messages: DesignSystemPartialMessages;
|
|
376
367
|
}
|
|
377
|
-
declare const DesignSystemMessagesProvider: (props: DesignSystemMessagesProviderProps) =>
|
|
378
|
-
|
|
379
|
-
//#region src/contexts/designSystemMessages/useDesignSystemMessages.d.ts
|
|
368
|
+
declare const DesignSystemMessagesProvider: (props: DesignSystemMessagesProviderProps) => react_jsx_runtime.JSX.Element;
|
|
369
|
+
|
|
380
370
|
declare const useDesignSystemMessages: () => DesignSystemFullMessages;
|
|
381
|
-
|
|
382
|
-
//#region src/contexts/designSystemPropDefaults/DesignSystemPropDefaultsProvider.d.ts
|
|
371
|
+
|
|
383
372
|
interface DesignSystemPropDefaultsProviderProps {
|
|
384
|
-
|
|
385
|
-
|
|
373
|
+
children: ReactNode;
|
|
374
|
+
defaults: DesignSystemPartialPropDefaults;
|
|
386
375
|
}
|
|
387
|
-
declare const DesignSystemPropDefaultsProvider: (props: DesignSystemPropDefaultsProviderProps) =>
|
|
388
|
-
|
|
389
|
-
//#region src/contexts/designSystemPropDefaults/useDesignSystemPropDefaults.d.ts
|
|
376
|
+
declare const DesignSystemPropDefaultsProvider: (props: DesignSystemPropDefaultsProviderProps) => react_jsx_runtime.JSX.Element;
|
|
377
|
+
|
|
390
378
|
declare const useDesignSystemPropDefaults: () => DesignSystemFullPropDefaults;
|
|
391
|
-
|
|
392
|
-
//#region src/components/accordion/types.d.ts
|
|
379
|
+
|
|
393
380
|
interface AccordionItemType {
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
381
|
+
closeActionAriaLabel?: string;
|
|
382
|
+
content: ReactNode;
|
|
383
|
+
description?: ReactNode;
|
|
384
|
+
icon?: ReactNode;
|
|
385
|
+
id: string;
|
|
386
|
+
isOpen?: boolean;
|
|
387
|
+
label: ReactNode;
|
|
388
|
+
onClick?: () => void;
|
|
389
|
+
openActionAriaLabel?: string;
|
|
403
390
|
}
|
|
404
391
|
declare enum AccordionVariant {
|
|
405
|
-
|
|
406
|
-
|
|
392
|
+
default = "default",
|
|
393
|
+
table = "table"
|
|
407
394
|
}
|
|
408
|
-
|
|
409
|
-
//#region src/components/accordion/Accordion.d.ts
|
|
395
|
+
|
|
410
396
|
interface AccordionProps extends DesignSystemBaseProps {
|
|
411
|
-
|
|
412
|
-
|
|
397
|
+
data: AccordionItemType[];
|
|
398
|
+
variant?: AccordionVariant;
|
|
413
399
|
}
|
|
414
|
-
declare const Accordion: (props: AccordionProps) =>
|
|
415
|
-
|
|
416
|
-
//#region src/components/accordion/accordionItem/AccordionItem.d.ts
|
|
400
|
+
declare const Accordion: (props: AccordionProps) => react_jsx_runtime.JSX.Element;
|
|
401
|
+
|
|
417
402
|
interface AccordionItemProps extends AccordionItemType, DesignSystemBaseProps {
|
|
418
|
-
|
|
403
|
+
variant: AccordionVariant;
|
|
419
404
|
}
|
|
420
|
-
declare const AccordionItem: (props: AccordionItemProps) =>
|
|
421
|
-
|
|
422
|
-
//#region src/components/accordion/accordionContent/AccordionContent.d.ts
|
|
405
|
+
declare const AccordionItem: (props: AccordionItemProps) => react_jsx_runtime.JSX.Element;
|
|
406
|
+
|
|
423
407
|
interface AccordionContentType extends DesignSystemBaseProps {
|
|
424
|
-
|
|
408
|
+
children: ReactNode;
|
|
425
409
|
}
|
|
426
|
-
declare const AccordionContent: (props: AccordionContentType) =>
|
|
427
|
-
|
|
428
|
-
//#region src/components/accordion/accordionKeyValue/AccordionKeyValue.d.ts
|
|
410
|
+
declare const AccordionContent: (props: AccordionContentType) => react_jsx_runtime.JSX.Element;
|
|
411
|
+
|
|
429
412
|
interface AccordionKeyValueProps extends DesignSystemBaseProps {
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
413
|
+
colorScheme?: ColorScheme;
|
|
414
|
+
label: ReactNode;
|
|
415
|
+
value: ReactNode;
|
|
433
416
|
}
|
|
434
|
-
declare const AccordionKeyValue: (props: AccordionKeyValueProps) =>
|
|
435
|
-
|
|
436
|
-
//#region src/components/iconSystem/types.d.ts
|
|
417
|
+
declare const AccordionKeyValue: (props: AccordionKeyValueProps) => react_jsx_runtime.JSX.Element;
|
|
418
|
+
|
|
437
419
|
declare enum IconSystemType {
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
420
|
+
arrowDown = "arrowDown",
|
|
421
|
+
arrowLeft = "arrowLeft",
|
|
422
|
+
arrowRight = "arrowRight",
|
|
423
|
+
arrowUp = "arrowUp",
|
|
424
|
+
arrowUpRight = "arrowUpRight",
|
|
425
|
+
bank = "bank",
|
|
426
|
+
calendar = "calendar",
|
|
427
|
+
checkmark = "checkmark",
|
|
428
|
+
chevronDown = "chevronDown",
|
|
429
|
+
chevronLeft = "chevronLeft",
|
|
430
|
+
chevronRight = "chevronRight",
|
|
431
|
+
chevronRightCircle = "chevronRightCircle",
|
|
432
|
+
chevronUp = "chevronUp",
|
|
433
|
+
clock = "clock",
|
|
434
|
+
close = "close",
|
|
435
|
+
closeCircle = "closeCircle",
|
|
436
|
+
crosshair = "crosshair",
|
|
437
|
+
download = "download",
|
|
438
|
+
event = "event",
|
|
439
|
+
eyeClosed = "eyeClosed",
|
|
440
|
+
eyeOpen = "eyeOpen",
|
|
441
|
+
fileText = "fileText",
|
|
442
|
+
logout = "logout",
|
|
443
|
+
mail = "mail",
|
|
444
|
+
map = "map",
|
|
445
|
+
menu = "menu",
|
|
446
|
+
minus = "minus",
|
|
447
|
+
pin = "pin",
|
|
448
|
+
plus = "plus",
|
|
449
|
+
plusCircle = "plusCircle",
|
|
450
|
+
refresh = "refresh",
|
|
451
|
+
search = "search",
|
|
452
|
+
share = "share",
|
|
453
|
+
spinner = "spinner",
|
|
454
|
+
trash = "trash",
|
|
455
|
+
unorderedList = "unorderedList",
|
|
456
|
+
uploadCloud = "uploadCloud"
|
|
475
457
|
}
|
|
476
458
|
declare enum IconSystemSize {
|
|
477
|
-
|
|
478
|
-
|
|
459
|
+
big = "big",
|
|
460
|
+
small = "small"
|
|
479
461
|
}
|
|
480
462
|
interface IconSystemSvgProps {
|
|
481
|
-
|
|
482
|
-
|
|
463
|
+
fill: string;
|
|
464
|
+
stroke: string;
|
|
483
465
|
}
|
|
484
|
-
|
|
485
|
-
//#region src/components/iconSystem/IconSystem.d.ts
|
|
466
|
+
|
|
486
467
|
interface IconSystemProps {
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
}
|
|
494
|
-
declare const IconSystem: (props: IconSystemProps) =>
|
|
495
|
-
|
|
496
|
-
//#region src/components/button/types.d.ts
|
|
468
|
+
ariaHidden?: boolean;
|
|
469
|
+
colorScheme?: ColorScheme;
|
|
470
|
+
fill?: string;
|
|
471
|
+
size: IconSystemSize;
|
|
472
|
+
stroke?: string;
|
|
473
|
+
type: IconSystemType;
|
|
474
|
+
}
|
|
475
|
+
declare const IconSystem: (props: IconSystemProps) => react_jsx_runtime.JSX.Element;
|
|
476
|
+
|
|
497
477
|
declare enum ButtonStyle {
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
478
|
+
primary = "primary",
|
|
479
|
+
secondary = "secondary",
|
|
480
|
+
tertiary = "tertiary",
|
|
481
|
+
link = "link"
|
|
502
482
|
}
|
|
503
483
|
declare enum ButtonSize {
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
484
|
+
xs = "xs",
|
|
485
|
+
sm = "sm",
|
|
486
|
+
md = "md",
|
|
487
|
+
xl = "xl",
|
|
488
|
+
xxl = "xxl"
|
|
509
489
|
}
|
|
510
490
|
declare enum ButtonType {
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
491
|
+
anchor = "anchor",
|
|
492
|
+
button = "button",
|
|
493
|
+
reset = "reset",
|
|
494
|
+
submit = "submit"
|
|
515
495
|
}
|
|
516
496
|
declare enum ButtonContentAlign {
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
497
|
+
center = "center",
|
|
498
|
+
left = "left",
|
|
499
|
+
right = "right"
|
|
520
500
|
}
|
|
521
|
-
|
|
522
|
-
//#region src/components/button/Button.d.ts
|
|
501
|
+
|
|
523
502
|
interface ButtonProps extends SsrProps, DesignSystemBaseProps, AriaAttributes {
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
}
|
|
563
|
-
declare const Button: (props: ButtonProps) =>
|
|
564
|
-
|
|
565
|
-
//#region src/theme/spacing.d.ts
|
|
503
|
+
ariaDisabled?: boolean;
|
|
504
|
+
ariaLabel?: string;
|
|
505
|
+
as?: ElementType;
|
|
506
|
+
/**
|
|
507
|
+
* Whether the button is in a busy/loading state. Displays a spinner and `busyMessage` after `busyDelay` ms,
|
|
508
|
+
* and disables interaction immediately.
|
|
509
|
+
*
|
|
510
|
+
* Accessibility handled as per https://adrianroselli.com/2021/01/multi-function-button.html
|
|
511
|
+
*/
|
|
512
|
+
busy?: boolean;
|
|
513
|
+
busyDelay?: number;
|
|
514
|
+
busyMessage?: ReactNode;
|
|
515
|
+
buttonStyle: ButtonStyle;
|
|
516
|
+
children?: ReactNode;
|
|
517
|
+
className?: string;
|
|
518
|
+
/**
|
|
519
|
+
* Alignment of button content (children, icons, busy loader, ...).
|
|
520
|
+
* Only relevant when `fullWidth` is true.
|
|
521
|
+
* @default ButtonContentAlign.center
|
|
522
|
+
*/
|
|
523
|
+
contentAlign?: ButtonContentAlign;
|
|
524
|
+
disabled?: boolean;
|
|
525
|
+
download?: boolean | string;
|
|
526
|
+
fullWidth?: boolean;
|
|
527
|
+
href?: string;
|
|
528
|
+
htmlRef?: RefObject<HTMLAnchorElement | HTMLButtonElement | null>;
|
|
529
|
+
iconLeft?: ReactNode;
|
|
530
|
+
iconRight?: ReactNode;
|
|
531
|
+
iconSystemLeft?: IconSystemType;
|
|
532
|
+
iconSystemRight?: IconSystemType;
|
|
533
|
+
/** @deprecated Use `busy` instead. */
|
|
534
|
+
isLoading?: boolean;
|
|
535
|
+
onClick?: (event: MouseEvent<HTMLAnchorElement | HTMLButtonElement>) => void;
|
|
536
|
+
rel?: string;
|
|
537
|
+
role?: AriaRole;
|
|
538
|
+
size?: ButtonSize;
|
|
539
|
+
target?: HTMLAttributeAnchorTarget;
|
|
540
|
+
type: ButtonType;
|
|
541
|
+
}
|
|
542
|
+
declare const Button: (props: ButtonProps) => react_jsx_runtime.JSX.Element;
|
|
543
|
+
|
|
566
544
|
declare enum Spacing {
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
}
|
|
579
|
-
declare const resolveSpacingValue: (theme: Theme$1, spacing: Spacing) => "4px" | "8px" | "12px" | "16px" | "24px" | "32px" | "40px" | "48px" | "56px" | "64px"
|
|
580
|
-
|
|
581
|
-
//#region src/theme/whiteSpace.d.ts
|
|
545
|
+
none = "none",
|
|
546
|
+
xxs = "xxs",
|
|
547
|
+
xs = "xs",
|
|
548
|
+
sm = "sm",
|
|
549
|
+
md = "md",
|
|
550
|
+
lg = "lg",
|
|
551
|
+
xl = "xl",
|
|
552
|
+
xxl = "xxl",
|
|
553
|
+
xxxl = "xxxl",
|
|
554
|
+
xxxxl = "xxxxl",
|
|
555
|
+
xxxxxl = "xxxxxl"
|
|
556
|
+
}
|
|
557
|
+
declare const resolveSpacingValue: (theme: Theme$1, spacing: Spacing) => "0" | "4px" | "8px" | "12px" | "16px" | "24px" | "32px" | "40px" | "48px" | "56px" | "64px";
|
|
558
|
+
|
|
582
559
|
declare enum WhiteSpace {
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
560
|
+
inherit = "inherit",
|
|
561
|
+
normal = "normal",
|
|
562
|
+
nowrap = "nowrap"
|
|
586
563
|
}
|
|
587
564
|
declare const resolveWhiteSpaceValue: (whiteSpace: WhiteSpace) => string;
|
|
588
|
-
|
|
589
|
-
//#region src/theme/fontWeight.d.ts
|
|
565
|
+
|
|
590
566
|
declare enum FontWeight {
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
}
|
|
602
|
-
declare const resolveFontWeightValue: (theme: Theme$1, fontWeight: FontWeight) => 100 | 200 |
|
|
603
|
-
|
|
604
|
-
//#region src/theme/theme.d.ts
|
|
567
|
+
thin100 = "thin",
|
|
568
|
+
extraLight200 = "extraLight",
|
|
569
|
+
light300 = "light",
|
|
570
|
+
regular400 = "regular",
|
|
571
|
+
medium500 = "medium",
|
|
572
|
+
semiBold600 = "semiBold",
|
|
573
|
+
bold700 = "bold",
|
|
574
|
+
extraBold800 = "extraBold",
|
|
575
|
+
heavy900 = "heavy",
|
|
576
|
+
ultra950 = "ultra"
|
|
577
|
+
}
|
|
578
|
+
declare const resolveFontWeightValue: (theme: Theme$1, fontWeight: FontWeight) => 100 | 200 | 500 | 300 | 400 | 600 | 700 | 800 | 900 | 950;
|
|
579
|
+
|
|
605
580
|
declare const theme: {
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
};
|
|
675
|
-
readonly colors: {
|
|
676
|
-
readonly fg: {
|
|
677
|
-
readonly neutral: {
|
|
678
|
-
readonly default: {
|
|
679
|
-
readonly light: "#01194c";
|
|
680
|
-
readonly dark: "#ffffff";
|
|
681
|
-
};
|
|
682
|
-
readonly subtle: {
|
|
683
|
-
readonly light: "#56647b";
|
|
684
|
-
readonly dark: "#a8b2c2";
|
|
685
|
-
};
|
|
686
|
-
readonly subtlest: {
|
|
687
|
-
readonly light: "#6c7d98";
|
|
688
|
-
readonly dark: "#6c7d98";
|
|
689
|
-
};
|
|
690
|
-
};
|
|
691
|
-
readonly disabled: {
|
|
692
|
-
readonly light: "#8a97ad";
|
|
693
|
-
readonly dark: "#6c7d98";
|
|
694
|
-
};
|
|
695
|
-
readonly inverse: {
|
|
696
|
-
readonly light: "#ffffff";
|
|
697
|
-
readonly dark: "#171b21";
|
|
698
|
-
};
|
|
699
|
-
readonly link: {
|
|
700
|
-
readonly default: {
|
|
701
|
-
readonly light: "#1c65fd";
|
|
702
|
-
readonly dark: "#4e86fe";
|
|
703
|
-
};
|
|
704
|
-
readonly hover: {
|
|
705
|
-
readonly light: "#024be3";
|
|
706
|
-
readonly dark: "#81a9fe";
|
|
707
|
-
};
|
|
708
|
-
readonly pressed: {
|
|
709
|
-
readonly light: "#023ab1";
|
|
710
|
-
readonly dark: "#b3ccfe";
|
|
711
|
-
};
|
|
712
|
-
};
|
|
713
|
-
readonly success: {
|
|
714
|
-
readonly light: "#1c6c13";
|
|
715
|
-
readonly dark: "#99e5b3";
|
|
716
|
-
};
|
|
717
|
-
readonly warning: {
|
|
718
|
-
readonly light: "#b17902";
|
|
719
|
-
readonly dark: "#fae9a3";
|
|
720
|
-
};
|
|
721
|
-
readonly error: {
|
|
722
|
-
readonly light: "#ca2e21";
|
|
723
|
-
readonly dark: "#f5aea8";
|
|
724
|
-
};
|
|
725
|
-
readonly info: {
|
|
726
|
-
readonly light: "#1c65fd";
|
|
727
|
-
readonly dark: "#4e86fe";
|
|
728
|
-
};
|
|
729
|
-
readonly promo: {
|
|
730
|
-
readonly light: "#85703d";
|
|
731
|
-
readonly dark: "#a58b4b";
|
|
732
|
-
};
|
|
733
|
-
readonly brand: {
|
|
734
|
-
readonly default: {
|
|
735
|
-
readonly light: "#1c65fd";
|
|
736
|
-
readonly dark: "#1c65fd";
|
|
737
|
-
};
|
|
738
|
-
readonly bold: {
|
|
739
|
-
readonly light: "#024be3";
|
|
740
|
-
readonly dark: "#4e86fe";
|
|
741
|
-
};
|
|
742
|
-
};
|
|
743
|
-
readonly accent: {
|
|
744
|
-
readonly default: {
|
|
745
|
-
readonly light: "#de31b9";
|
|
746
|
-
readonly dark: "#de31b9";
|
|
747
|
-
};
|
|
748
|
-
readonly bold: {
|
|
749
|
-
readonly light: "#bd1e9b";
|
|
750
|
-
readonly dark: "#e55cc8";
|
|
751
|
-
};
|
|
752
|
-
};
|
|
581
|
+
readonly palette: {
|
|
582
|
+
readonly gold500: "#a58b4b";
|
|
583
|
+
readonly gold600: "#85703d";
|
|
584
|
+
readonly gold700: "#776437";
|
|
585
|
+
readonly gold800: "#62532d";
|
|
586
|
+
readonly pink100: "#fef6fc";
|
|
587
|
+
readonly pink200: "#fae0f5";
|
|
588
|
+
readonly pink300: "#f3b4e6";
|
|
589
|
+
readonly pink400: "#ec88d7";
|
|
590
|
+
readonly pink500: "#e55cc8";
|
|
591
|
+
readonly pink600: "#de31b9";
|
|
592
|
+
readonly pink700: "#bd1e9b";
|
|
593
|
+
readonly pink800: "#911777";
|
|
594
|
+
readonly pink900: "#651053";
|
|
595
|
+
readonly pink1000: "#39092f";
|
|
596
|
+
readonly grey100: "#fafcff";
|
|
597
|
+
readonly grey200: "#e4e7ec";
|
|
598
|
+
readonly grey300: "#c6ccd7";
|
|
599
|
+
readonly grey400: "#a8b2c2";
|
|
600
|
+
readonly grey500: "#8a97ad";
|
|
601
|
+
readonly grey600: "#6c7d98";
|
|
602
|
+
readonly grey700: "#56647b";
|
|
603
|
+
readonly grey800: "#414c5d";
|
|
604
|
+
readonly grey900: "#2c333f";
|
|
605
|
+
readonly grey1000: "#171b21";
|
|
606
|
+
readonly black: "#000000";
|
|
607
|
+
readonly white: "#ffffff";
|
|
608
|
+
readonly transparent: "rgba(255, 255, 255, 0.0000)";
|
|
609
|
+
readonly yellow100: "#fffcee";
|
|
610
|
+
readonly yellow200: "#fff9db";
|
|
611
|
+
readonly yellow300: "#fdf6d8";
|
|
612
|
+
readonly yellow400: "#fae9a3";
|
|
613
|
+
readonly yellow500: "#d7b45b";
|
|
614
|
+
readonly yellow600: "#b17902";
|
|
615
|
+
readonly yellow700: "#ab6802";
|
|
616
|
+
readonly yellow800: "#885202";
|
|
617
|
+
readonly yellow900: "#704300";
|
|
618
|
+
readonly yellow1000: "#3d2500";
|
|
619
|
+
readonly green100: "#f7fffb";
|
|
620
|
+
readonly green200: "#e9fff4";
|
|
621
|
+
readonly green300: "#def7e6";
|
|
622
|
+
readonly green400: "#99e5b3";
|
|
623
|
+
readonly green500: "#6cd07b";
|
|
624
|
+
readonly green600: "#2e9721";
|
|
625
|
+
readonly green700: "#258a19";
|
|
626
|
+
readonly green800: "#1c6c13";
|
|
627
|
+
readonly green900: "#1d5a16";
|
|
628
|
+
readonly green1000: "#10310c";
|
|
629
|
+
readonly red100: "#fff8f7";
|
|
630
|
+
readonly red200: "#ffebe9";
|
|
631
|
+
readonly red300: "#fbddda";
|
|
632
|
+
readonly red400: "#f5aea8";
|
|
633
|
+
readonly red500: "#eb827a";
|
|
634
|
+
readonly red600: "#dc3628";
|
|
635
|
+
readonly red700: "#ca2e21";
|
|
636
|
+
readonly red800: "#b92518";
|
|
637
|
+
readonly red900: "#a0271c";
|
|
638
|
+
readonly red1000: "#57150f";
|
|
639
|
+
readonly blue100: "#f0f5ff";
|
|
640
|
+
readonly blue200: "#d7e4ff";
|
|
641
|
+
readonly blue300: "#b3ccfe";
|
|
642
|
+
readonly blue400: "#81a9fe";
|
|
643
|
+
readonly blue500: "#4e86fe";
|
|
644
|
+
readonly blue600: "#1c65fd";
|
|
645
|
+
readonly blue700: "#024be3";
|
|
646
|
+
readonly blue800: "#023ab1";
|
|
647
|
+
readonly blue900: "#012a7e";
|
|
648
|
+
readonly blue1000: "#01194c";
|
|
753
649
|
};
|
|
754
|
-
readonly
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
650
|
+
readonly colors: {
|
|
651
|
+
readonly fg: {
|
|
652
|
+
readonly neutral: {
|
|
653
|
+
readonly default: {
|
|
654
|
+
readonly light: "#01194c";
|
|
655
|
+
readonly dark: "#ffffff";
|
|
656
|
+
};
|
|
657
|
+
readonly subtle: {
|
|
658
|
+
readonly light: "#56647b";
|
|
659
|
+
readonly dark: "#a8b2c2";
|
|
660
|
+
};
|
|
661
|
+
readonly subtlest: {
|
|
662
|
+
readonly light: "#6c7d98";
|
|
663
|
+
readonly dark: "#6c7d98";
|
|
664
|
+
};
|
|
665
|
+
};
|
|
666
|
+
readonly disabled: {
|
|
667
|
+
readonly light: "#8a97ad";
|
|
668
|
+
readonly dark: "#6c7d98";
|
|
669
|
+
};
|
|
670
|
+
readonly inverse: {
|
|
671
|
+
readonly light: "#ffffff";
|
|
672
|
+
readonly dark: "#171b21";
|
|
673
|
+
};
|
|
674
|
+
readonly link: {
|
|
675
|
+
readonly default: {
|
|
676
|
+
readonly light: "#1c65fd";
|
|
677
|
+
readonly dark: "#4e86fe";
|
|
678
|
+
};
|
|
679
|
+
readonly hover: {
|
|
680
|
+
readonly light: "#024be3";
|
|
681
|
+
readonly dark: "#81a9fe";
|
|
682
|
+
};
|
|
683
|
+
readonly pressed: {
|
|
684
|
+
readonly light: "#023ab1";
|
|
685
|
+
readonly dark: "#b3ccfe";
|
|
686
|
+
};
|
|
687
|
+
};
|
|
688
|
+
readonly success: {
|
|
689
|
+
readonly light: "#1c6c13";
|
|
690
|
+
readonly dark: "#99e5b3";
|
|
691
|
+
};
|
|
692
|
+
readonly warning: {
|
|
693
|
+
readonly light: "#b17902";
|
|
694
|
+
readonly dark: "#fae9a3";
|
|
695
|
+
};
|
|
696
|
+
readonly error: {
|
|
697
|
+
readonly light: "#ca2e21";
|
|
698
|
+
readonly dark: "#f5aea8";
|
|
699
|
+
};
|
|
700
|
+
readonly info: {
|
|
701
|
+
readonly light: "#1c65fd";
|
|
702
|
+
readonly dark: "#4e86fe";
|
|
703
|
+
};
|
|
704
|
+
readonly promo: {
|
|
705
|
+
readonly light: "#85703d";
|
|
706
|
+
readonly dark: "#a58b4b";
|
|
707
|
+
};
|
|
708
|
+
readonly brand: {
|
|
709
|
+
readonly default: {
|
|
710
|
+
readonly light: "#1c65fd";
|
|
711
|
+
readonly dark: "#1c65fd";
|
|
712
|
+
};
|
|
713
|
+
readonly bold: {
|
|
714
|
+
readonly light: "#024be3";
|
|
715
|
+
readonly dark: "#4e86fe";
|
|
716
|
+
};
|
|
717
|
+
};
|
|
718
|
+
readonly accent: {
|
|
719
|
+
readonly default: {
|
|
720
|
+
readonly light: "#de31b9";
|
|
721
|
+
readonly dark: "#de31b9";
|
|
722
|
+
};
|
|
723
|
+
readonly bold: {
|
|
724
|
+
readonly light: "#bd1e9b";
|
|
725
|
+
readonly dark: "#e55cc8";
|
|
726
|
+
};
|
|
727
|
+
};
|
|
785
728
|
};
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
729
|
+
readonly bg: {
|
|
730
|
+
readonly neutral: {
|
|
731
|
+
readonly default: {
|
|
732
|
+
readonly light: "#a8b2c2";
|
|
733
|
+
readonly dark: "#56647b";
|
|
734
|
+
};
|
|
735
|
+
readonly subtle: {
|
|
736
|
+
readonly light: "#c6ccd7";
|
|
737
|
+
readonly dark: "#414c5d";
|
|
738
|
+
};
|
|
739
|
+
readonly subtlest: {
|
|
740
|
+
readonly light: "#e4e7ec";
|
|
741
|
+
readonly dark: "#171b21";
|
|
742
|
+
};
|
|
743
|
+
readonly white: {
|
|
744
|
+
readonly light: "#ffffff";
|
|
745
|
+
readonly dark: "#ffffff";
|
|
746
|
+
};
|
|
747
|
+
};
|
|
748
|
+
readonly disabled: {
|
|
749
|
+
readonly light: "#e4e7ec";
|
|
750
|
+
readonly dark: "#414c5d";
|
|
751
|
+
};
|
|
752
|
+
readonly promo: {
|
|
753
|
+
readonly default: {
|
|
754
|
+
readonly light: "#fbf9f4";
|
|
755
|
+
readonly dark: "#62532d";
|
|
756
|
+
};
|
|
757
|
+
readonly bold: {
|
|
758
|
+
readonly light: "#a58b4b";
|
|
759
|
+
readonly dark: "#a58b4b";
|
|
760
|
+
};
|
|
761
|
+
};
|
|
762
|
+
readonly error: {
|
|
763
|
+
readonly default: {
|
|
764
|
+
readonly light: "#fff8f7";
|
|
765
|
+
readonly dark: "#a0271c";
|
|
766
|
+
};
|
|
767
|
+
readonly bold: {
|
|
768
|
+
readonly light: "#dc3628";
|
|
769
|
+
readonly dark: "#f5aea8";
|
|
770
|
+
};
|
|
771
|
+
};
|
|
772
|
+
readonly warning: {
|
|
773
|
+
readonly default: {
|
|
774
|
+
readonly light: "#fff9db";
|
|
775
|
+
readonly dark: "#fffcee";
|
|
776
|
+
};
|
|
777
|
+
readonly bold: {
|
|
778
|
+
readonly light: "#fae9a3";
|
|
779
|
+
readonly dark: "#b17902";
|
|
780
|
+
};
|
|
781
|
+
};
|
|
782
|
+
readonly inverse: {
|
|
783
|
+
readonly light: "#171b21";
|
|
784
|
+
readonly dark: "#fafcff";
|
|
785
|
+
};
|
|
786
|
+
readonly success: {
|
|
787
|
+
readonly default: {
|
|
788
|
+
readonly light: "#e9fff4";
|
|
789
|
+
readonly dark: "#1d5a16";
|
|
790
|
+
};
|
|
791
|
+
readonly bold: {
|
|
792
|
+
readonly light: "#2e9721";
|
|
793
|
+
readonly dark: "#99e5b3";
|
|
794
|
+
};
|
|
795
|
+
};
|
|
796
|
+
readonly info: {
|
|
797
|
+
readonly default: {
|
|
798
|
+
readonly light: "#f0f5ff";
|
|
799
|
+
readonly dark: "#01194c";
|
|
800
|
+
};
|
|
801
|
+
readonly bold: {
|
|
802
|
+
readonly light: "#1c65fd";
|
|
803
|
+
readonly dark: "#4e86fe";
|
|
804
|
+
};
|
|
805
|
+
};
|
|
806
|
+
readonly accent: {
|
|
807
|
+
readonly light: "#fef6fc";
|
|
808
|
+
readonly dark: "#651053";
|
|
809
|
+
};
|
|
810
|
+
readonly brand: {
|
|
811
|
+
readonly default: {
|
|
812
|
+
readonly light: "#f0f5ff";
|
|
813
|
+
readonly dark: "#01194c";
|
|
814
|
+
readonly hover: {
|
|
815
|
+
readonly light: "#d7e4ff";
|
|
816
|
+
readonly dark: "#023ab1";
|
|
817
|
+
};
|
|
818
|
+
readonly pressed: {
|
|
819
|
+
readonly light: "#d7e4ff";
|
|
820
|
+
readonly dark: "#023ab1";
|
|
821
|
+
};
|
|
822
|
+
};
|
|
823
|
+
readonly bold: {
|
|
824
|
+
readonly light: "#1c65fd";
|
|
825
|
+
readonly dark: "#1c65fd";
|
|
826
|
+
readonly hover: {
|
|
827
|
+
readonly light: "#024be3";
|
|
828
|
+
readonly dark: "#024be3";
|
|
829
|
+
};
|
|
830
|
+
readonly pressed: {
|
|
831
|
+
readonly light: "#023ab1";
|
|
832
|
+
readonly dark: "#023ab1";
|
|
833
|
+
};
|
|
834
|
+
};
|
|
835
|
+
readonly semibold: {
|
|
836
|
+
readonly light: "#d7e4ff";
|
|
837
|
+
readonly dark: "#012a7e";
|
|
838
|
+
};
|
|
839
|
+
};
|
|
791
840
|
};
|
|
792
|
-
readonly
|
|
793
|
-
|
|
794
|
-
|
|
841
|
+
readonly surface: {
|
|
842
|
+
readonly overlay: {
|
|
843
|
+
readonly light: "rgba(240, 245, 255, .75)";
|
|
844
|
+
readonly dark: "rgba(23, 27, 33, .75)";
|
|
845
|
+
};
|
|
846
|
+
readonly risen: {
|
|
847
|
+
readonly light: "#ffffff";
|
|
848
|
+
readonly dark: "#2c333f";
|
|
849
|
+
};
|
|
850
|
+
readonly default: {
|
|
851
|
+
readonly light: "#fafcff";
|
|
852
|
+
readonly dark: "#171b21";
|
|
853
|
+
};
|
|
854
|
+
readonly sunken: {
|
|
855
|
+
readonly light: "#c6ccd7";
|
|
856
|
+
readonly dark: "#56647b";
|
|
857
|
+
};
|
|
795
858
|
};
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
859
|
+
readonly border: {
|
|
860
|
+
readonly neutral: {
|
|
861
|
+
readonly default: {
|
|
862
|
+
readonly light: "#56647b";
|
|
863
|
+
readonly dark: "#c6ccd7";
|
|
864
|
+
};
|
|
865
|
+
readonly subtle: {
|
|
866
|
+
readonly light: "#a8b2c2";
|
|
867
|
+
readonly dark: "#6c7d98";
|
|
868
|
+
};
|
|
869
|
+
readonly subtlest: {
|
|
870
|
+
readonly light: "#e4e7ec";
|
|
871
|
+
readonly dark: "#56647b";
|
|
872
|
+
};
|
|
873
|
+
};
|
|
874
|
+
readonly disabled: {
|
|
875
|
+
readonly light: "#c6ccd7";
|
|
876
|
+
readonly dark: "#56647b";
|
|
877
|
+
};
|
|
878
|
+
readonly success: {
|
|
879
|
+
readonly light: "#2e9721";
|
|
880
|
+
readonly dark: "#2e9721";
|
|
881
|
+
};
|
|
882
|
+
readonly warning: {
|
|
883
|
+
readonly light: "#b17902";
|
|
884
|
+
readonly dark: "#b17902";
|
|
885
|
+
};
|
|
886
|
+
readonly error: {
|
|
887
|
+
readonly light: "#ca2e21";
|
|
888
|
+
readonly dark: "#dc3628";
|
|
889
|
+
};
|
|
890
|
+
readonly promo: {
|
|
891
|
+
readonly light: "#a58b4b";
|
|
892
|
+
readonly dark: "#a58b4b";
|
|
893
|
+
};
|
|
894
|
+
readonly brand: {
|
|
895
|
+
readonly bold: {
|
|
896
|
+
readonly light: "#024be3";
|
|
897
|
+
readonly dark: "#b3ccfe";
|
|
898
|
+
};
|
|
899
|
+
readonly default: {
|
|
900
|
+
readonly light: "#1c65fd";
|
|
901
|
+
readonly dark: "#1c65fd";
|
|
902
|
+
};
|
|
903
|
+
readonly subtle: {
|
|
904
|
+
readonly light: "#81a9fe";
|
|
905
|
+
readonly dark: "#1c65fd";
|
|
906
|
+
};
|
|
907
|
+
readonly subtlest: {
|
|
908
|
+
readonly light: "#d7e4ff";
|
|
909
|
+
readonly dark: "#023ab1";
|
|
910
|
+
};
|
|
911
|
+
};
|
|
912
|
+
readonly inverse: {
|
|
913
|
+
readonly light: "#fafcff";
|
|
914
|
+
readonly dark: "#2c333f";
|
|
915
|
+
};
|
|
916
|
+
readonly accent: {
|
|
917
|
+
readonly light: "#fae0f5";
|
|
918
|
+
readonly dark: "#911777";
|
|
919
|
+
};
|
|
801
920
|
};
|
|
802
|
-
readonly
|
|
803
|
-
|
|
804
|
-
|
|
921
|
+
readonly icon: {
|
|
922
|
+
readonly bg: {
|
|
923
|
+
readonly light: "#ffffff";
|
|
924
|
+
readonly dark: "rgba(255, 255, 255, 0.0000)";
|
|
925
|
+
};
|
|
926
|
+
readonly brand: {
|
|
927
|
+
readonly light: "#1c65fd";
|
|
928
|
+
readonly dark: "#a8b2c2";
|
|
929
|
+
};
|
|
930
|
+
readonly neutral: {
|
|
931
|
+
readonly light: "#56647b";
|
|
932
|
+
readonly dark: "#a8b2c2";
|
|
933
|
+
};
|
|
934
|
+
readonly inverse: {
|
|
935
|
+
readonly light: "#ffffff";
|
|
936
|
+
readonly dark: "#000000";
|
|
937
|
+
};
|
|
938
|
+
readonly disabled: {
|
|
939
|
+
readonly light: "#c6ccd7";
|
|
940
|
+
readonly dark: "#ffffff";
|
|
941
|
+
};
|
|
942
|
+
readonly error: {
|
|
943
|
+
readonly light: "#dc3628";
|
|
944
|
+
readonly dark: "#dc3628";
|
|
945
|
+
};
|
|
805
946
|
};
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
};
|
|
811
|
-
readonly success: {
|
|
812
|
-
readonly default: {
|
|
813
|
-
readonly light: "#e9fff4";
|
|
814
|
-
readonly dark: "#1d5a16";
|
|
947
|
+
readonly shadow: {
|
|
948
|
+
readonly cards: "0px 1px 40px 0px rgba(0, 0, 0, 0.05)";
|
|
949
|
+
readonly ultraStrongBlueLg: "0px 4px 25px 0px rgba(28, 101, 253, 0.08), 0px 4px 4px 0px rgba(28, 101, 253, 0.04)";
|
|
950
|
+
readonly strongBlueMd: "0px 4px 4px 0px rgba(28, 101, 253, 0.02), 0px 4px 25px 0px rgba(28, 101, 253, 0.06)";
|
|
815
951
|
};
|
|
816
|
-
readonly
|
|
817
|
-
readonly light: "#2e9721";
|
|
818
|
-
readonly dark: "#99e5b3";
|
|
819
|
-
};
|
|
820
|
-
};
|
|
821
|
-
readonly info: {
|
|
822
|
-
readonly default: {
|
|
823
|
-
readonly light: "#f0f5ff";
|
|
824
|
-
readonly dark: "#01194c";
|
|
825
|
-
};
|
|
826
|
-
readonly bold: {
|
|
827
|
-
readonly light: "#1c65fd";
|
|
828
|
-
readonly dark: "#4e86fe";
|
|
829
|
-
};
|
|
830
|
-
};
|
|
831
|
-
readonly accent: {
|
|
832
|
-
readonly light: "#fef6fc";
|
|
833
|
-
readonly dark: "#651053";
|
|
834
|
-
};
|
|
835
|
-
readonly brand: {
|
|
836
|
-
readonly default: {
|
|
837
|
-
readonly light: "#f0f5ff";
|
|
838
|
-
readonly dark: "#01194c";
|
|
839
|
-
readonly hover: {
|
|
840
|
-
readonly light: "#d7e4ff";
|
|
841
|
-
readonly dark: "#023ab1";
|
|
842
|
-
};
|
|
843
|
-
readonly pressed: {
|
|
844
|
-
readonly light: "#d7e4ff";
|
|
845
|
-
readonly dark: "#023ab1";
|
|
846
|
-
};
|
|
847
|
-
};
|
|
848
|
-
readonly bold: {
|
|
849
|
-
readonly light: "#1c65fd";
|
|
850
|
-
readonly dark: "#1c65fd";
|
|
851
|
-
readonly hover: {
|
|
952
|
+
readonly focus: {
|
|
852
953
|
readonly light: "#024be3";
|
|
853
|
-
readonly dark: "#
|
|
854
|
-
};
|
|
855
|
-
readonly pressed: {
|
|
856
|
-
readonly light: "#023ab1";
|
|
857
|
-
readonly dark: "#023ab1";
|
|
858
|
-
};
|
|
859
|
-
};
|
|
860
|
-
readonly semibold: {
|
|
861
|
-
readonly light: "#d7e4ff";
|
|
862
|
-
readonly dark: "#012a7e";
|
|
863
|
-
};
|
|
864
|
-
};
|
|
865
|
-
};
|
|
866
|
-
readonly surface: {
|
|
867
|
-
readonly overlay: {
|
|
868
|
-
readonly light: "rgba(240, 245, 255, .75)";
|
|
869
|
-
readonly dark: "rgba(23, 27, 33, .75)";
|
|
870
|
-
};
|
|
871
|
-
readonly risen: {
|
|
872
|
-
readonly light: "#ffffff";
|
|
873
|
-
readonly dark: "#2c333f";
|
|
874
|
-
};
|
|
875
|
-
readonly default: {
|
|
876
|
-
readonly light: "#fafcff";
|
|
877
|
-
readonly dark: "#171b21";
|
|
878
|
-
};
|
|
879
|
-
readonly sunken: {
|
|
880
|
-
readonly light: "#c6ccd7";
|
|
881
|
-
readonly dark: "#56647b";
|
|
882
|
-
};
|
|
883
|
-
};
|
|
884
|
-
readonly border: {
|
|
885
|
-
readonly neutral: {
|
|
886
|
-
readonly default: {
|
|
887
|
-
readonly light: "#56647b";
|
|
888
|
-
readonly dark: "#c6ccd7";
|
|
889
|
-
};
|
|
890
|
-
readonly subtle: {
|
|
891
|
-
readonly light: "#a8b2c2";
|
|
892
|
-
readonly dark: "#6c7d98";
|
|
954
|
+
readonly dark: "#b3ccfe";
|
|
893
955
|
};
|
|
894
|
-
readonly subtlest: {
|
|
895
|
-
readonly light: "#e4e7ec";
|
|
896
|
-
readonly dark: "#56647b";
|
|
897
|
-
};
|
|
898
|
-
};
|
|
899
|
-
readonly disabled: {
|
|
900
|
-
readonly light: "#c6ccd7";
|
|
901
|
-
readonly dark: "#56647b";
|
|
902
|
-
};
|
|
903
|
-
readonly success: {
|
|
904
|
-
readonly light: "#2e9721";
|
|
905
|
-
readonly dark: "#2e9721";
|
|
906
|
-
};
|
|
907
|
-
readonly warning: {
|
|
908
|
-
readonly light: "#b17902";
|
|
909
|
-
readonly dark: "#b17902";
|
|
910
|
-
};
|
|
911
|
-
readonly error: {
|
|
912
|
-
readonly light: "#ca2e21";
|
|
913
|
-
readonly dark: "#dc3628";
|
|
914
|
-
};
|
|
915
|
-
readonly promo: {
|
|
916
|
-
readonly light: "#a58b4b";
|
|
917
|
-
readonly dark: "#a58b4b";
|
|
918
|
-
};
|
|
919
|
-
readonly brand: {
|
|
920
|
-
readonly bold: {
|
|
921
|
-
readonly light: "#024be3";
|
|
922
|
-
readonly dark: "#b3ccfe";
|
|
923
|
-
};
|
|
924
|
-
readonly default: {
|
|
925
|
-
readonly light: "#1c65fd";
|
|
926
|
-
readonly dark: "#1c65fd";
|
|
927
|
-
};
|
|
928
|
-
readonly subtle: {
|
|
929
|
-
readonly light: "#81a9fe";
|
|
930
|
-
readonly dark: "#1c65fd";
|
|
931
|
-
};
|
|
932
|
-
readonly subtlest: {
|
|
933
|
-
readonly light: "#d7e4ff";
|
|
934
|
-
readonly dark: "#023ab1";
|
|
935
|
-
};
|
|
936
|
-
};
|
|
937
|
-
readonly inverse: {
|
|
938
|
-
readonly light: "#fafcff";
|
|
939
|
-
readonly dark: "#2c333f";
|
|
940
|
-
};
|
|
941
|
-
readonly accent: {
|
|
942
|
-
readonly light: "#fae0f5";
|
|
943
|
-
readonly dark: "#911777";
|
|
944
|
-
};
|
|
945
|
-
};
|
|
946
|
-
readonly icon: {
|
|
947
|
-
readonly bg: {
|
|
948
|
-
readonly light: "#ffffff";
|
|
949
|
-
readonly dark: "rgba(255, 255, 255, 0.0000)";
|
|
950
|
-
};
|
|
951
|
-
readonly brand: {
|
|
952
|
-
readonly light: "#1c65fd";
|
|
953
|
-
readonly dark: "#a8b2c2";
|
|
954
|
-
};
|
|
955
|
-
readonly neutral: {
|
|
956
|
-
readonly light: "#56647b";
|
|
957
|
-
readonly dark: "#a8b2c2";
|
|
958
|
-
};
|
|
959
|
-
readonly inverse: {
|
|
960
|
-
readonly light: "#ffffff";
|
|
961
|
-
readonly dark: "#000000";
|
|
962
|
-
};
|
|
963
|
-
readonly disabled: {
|
|
964
|
-
readonly light: "#c6ccd7";
|
|
965
|
-
readonly dark: "#ffffff";
|
|
966
|
-
};
|
|
967
|
-
readonly error: {
|
|
968
|
-
readonly light: "#dc3628";
|
|
969
|
-
readonly dark: "#dc3628";
|
|
970
|
-
};
|
|
971
|
-
};
|
|
972
|
-
readonly shadow: {
|
|
973
|
-
readonly cards: "0px 1px 40px 0px rgba(0, 0, 0, 0.05)";
|
|
974
|
-
readonly ultraStrongBlueLg: "0px 4px 25px 0px rgba(28, 101, 253, 0.08), 0px 4px 4px 0px rgba(28, 101, 253, 0.04)";
|
|
975
|
-
readonly strongBlueMd: "0px 4px 4px 0px rgba(28, 101, 253, 0.02), 0px 4px 25px 0px rgba(28, 101, 253, 0.06)";
|
|
976
|
-
};
|
|
977
|
-
readonly focus: {
|
|
978
|
-
readonly light: "#024be3";
|
|
979
|
-
readonly dark: "#b3ccfe";
|
|
980
956
|
};
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
957
|
+
readonly font: {
|
|
958
|
+
readonly size: {
|
|
959
|
+
readonly heading: {
|
|
960
|
+
readonly h1: {
|
|
961
|
+
readonly desktop: "4rem";
|
|
962
|
+
readonly mobile: "2rem";
|
|
963
|
+
};
|
|
964
|
+
readonly h2: {
|
|
965
|
+
readonly desktop: "2.625rem";
|
|
966
|
+
readonly mobile: "2rem";
|
|
967
|
+
};
|
|
968
|
+
readonly h3: {
|
|
969
|
+
readonly desktop: "2rem";
|
|
970
|
+
readonly mobile: "1.5rem";
|
|
971
|
+
};
|
|
972
|
+
readonly h4: {
|
|
973
|
+
readonly desktop: "1.5rem";
|
|
974
|
+
readonly mobile: "1.125rem";
|
|
975
|
+
};
|
|
976
|
+
readonly h5: {
|
|
977
|
+
readonly desktop: "1.125rem";
|
|
978
|
+
readonly mobile: "1.125rem";
|
|
979
|
+
};
|
|
980
|
+
};
|
|
981
|
+
readonly body: {
|
|
982
|
+
readonly xs: "0.75rem";
|
|
983
|
+
readonly sm: "0.875rem";
|
|
984
|
+
readonly md: "1rem";
|
|
985
|
+
readonly lg: "1.125rem";
|
|
986
|
+
};
|
|
988
987
|
};
|
|
989
|
-
readonly
|
|
990
|
-
|
|
991
|
-
|
|
988
|
+
readonly lineHeight: {
|
|
989
|
+
readonly heading: {
|
|
990
|
+
readonly h1: {
|
|
991
|
+
readonly desktop: "4.375rem";
|
|
992
|
+
readonly mobile: "2.5rem";
|
|
993
|
+
};
|
|
994
|
+
readonly h2: {
|
|
995
|
+
readonly desktop: "3.375rem";
|
|
996
|
+
readonly mobile: "2.5rem";
|
|
997
|
+
};
|
|
998
|
+
readonly h3: {
|
|
999
|
+
readonly desktop: "2.5rem";
|
|
1000
|
+
readonly mobile: "2rem";
|
|
1001
|
+
};
|
|
1002
|
+
readonly h4: {
|
|
1003
|
+
readonly desktop: "2rem";
|
|
1004
|
+
readonly mobile: "1.5rem";
|
|
1005
|
+
};
|
|
1006
|
+
readonly h5: {
|
|
1007
|
+
readonly desktop: "1.5rem";
|
|
1008
|
+
readonly mobile: "1.5rem";
|
|
1009
|
+
};
|
|
1010
|
+
};
|
|
1011
|
+
readonly body: {
|
|
1012
|
+
readonly lg: "1.75rem";
|
|
1013
|
+
readonly md: "1.5rem";
|
|
1014
|
+
readonly sm: "1.25rem";
|
|
1015
|
+
readonly xs: "1rem";
|
|
1016
|
+
};
|
|
992
1017
|
};
|
|
993
|
-
readonly
|
|
994
|
-
|
|
995
|
-
|
|
1018
|
+
readonly weight: {
|
|
1019
|
+
readonly thin: 100;
|
|
1020
|
+
readonly extraLight: 200;
|
|
1021
|
+
readonly light: 300;
|
|
1022
|
+
readonly regular: 400;
|
|
1023
|
+
readonly medium: 500;
|
|
1024
|
+
readonly semiBold: 600;
|
|
1025
|
+
readonly bold: 700;
|
|
1026
|
+
readonly extraBold: 800;
|
|
1027
|
+
readonly heavy: 900;
|
|
1028
|
+
readonly ultra: 950;
|
|
996
1029
|
};
|
|
997
|
-
readonly
|
|
998
|
-
|
|
999
|
-
|
|
1030
|
+
readonly letterSpacing: {
|
|
1031
|
+
readonly heading: {
|
|
1032
|
+
readonly h1: {
|
|
1033
|
+
readonly desktop: "-1.28px";
|
|
1034
|
+
readonly mobile: "-1px";
|
|
1035
|
+
};
|
|
1036
|
+
readonly h2: {
|
|
1037
|
+
readonly desktop: "-1px";
|
|
1038
|
+
readonly mobile: "-1px";
|
|
1039
|
+
};
|
|
1040
|
+
readonly h3: {
|
|
1041
|
+
readonly desktop: "-1px";
|
|
1042
|
+
readonly mobile: "0";
|
|
1043
|
+
};
|
|
1044
|
+
readonly h4: {
|
|
1045
|
+
readonly desktop: "0";
|
|
1046
|
+
readonly mobile: "0";
|
|
1047
|
+
};
|
|
1048
|
+
readonly h5: {
|
|
1049
|
+
readonly desktop: "0";
|
|
1050
|
+
readonly mobile: "0";
|
|
1051
|
+
};
|
|
1052
|
+
};
|
|
1053
|
+
readonly body: {
|
|
1054
|
+
readonly lg: "0";
|
|
1055
|
+
readonly md: "0";
|
|
1056
|
+
readonly sm: "-0.2px";
|
|
1057
|
+
readonly xs: "-0.2px";
|
|
1058
|
+
};
|
|
1000
1059
|
};
|
|
1001
|
-
readonly
|
|
1002
|
-
|
|
1003
|
-
|
|
1060
|
+
readonly family: {
|
|
1061
|
+
readonly main: "Inter, sans-serif";
|
|
1062
|
+
readonly heading: "'Plus Jakarta Sans', sans-serif";
|
|
1004
1063
|
};
|
|
1005
|
-
};
|
|
1006
|
-
readonly body: {
|
|
1007
|
-
readonly xs: "0.75rem";
|
|
1008
|
-
readonly sm: "0.875rem";
|
|
1009
|
-
readonly md: "1rem";
|
|
1010
|
-
readonly lg: "1.125rem";
|
|
1011
|
-
};
|
|
1012
1064
|
};
|
|
1013
|
-
readonly
|
|
1014
|
-
|
|
1015
|
-
readonly
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
readonly
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
readonly
|
|
1024
|
-
readonly desktop: "2.5rem";
|
|
1025
|
-
readonly mobile: "2rem";
|
|
1026
|
-
};
|
|
1027
|
-
readonly h4: {
|
|
1028
|
-
readonly desktop: "2rem";
|
|
1029
|
-
readonly mobile: "1.5rem";
|
|
1030
|
-
};
|
|
1031
|
-
readonly h5: {
|
|
1032
|
-
readonly desktop: "1.5rem";
|
|
1033
|
-
readonly mobile: "1.5rem";
|
|
1034
|
-
};
|
|
1035
|
-
};
|
|
1036
|
-
readonly body: {
|
|
1037
|
-
readonly lg: "1.75rem";
|
|
1038
|
-
readonly md: "1.5rem";
|
|
1039
|
-
readonly sm: "1.25rem";
|
|
1040
|
-
readonly xs: "1rem";
|
|
1041
|
-
};
|
|
1065
|
+
readonly spacing: {
|
|
1066
|
+
readonly xxs: "4px";
|
|
1067
|
+
readonly xs: "8px";
|
|
1068
|
+
readonly sm: "12px";
|
|
1069
|
+
readonly md: "16px";
|
|
1070
|
+
readonly lg: "24px";
|
|
1071
|
+
readonly xl: "32px";
|
|
1072
|
+
readonly xxl: "40px";
|
|
1073
|
+
readonly xxxl: "48px";
|
|
1074
|
+
readonly xxxxl: "56px";
|
|
1075
|
+
readonly xxxxxl: "64px";
|
|
1042
1076
|
};
|
|
1043
|
-
readonly
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
readonly extraBold: 800;
|
|
1052
|
-
readonly heavy: 900;
|
|
1053
|
-
readonly ultra: 950;
|
|
1077
|
+
readonly borderRadius: {
|
|
1078
|
+
readonly xxs: "4px";
|
|
1079
|
+
readonly xs: "8px";
|
|
1080
|
+
readonly sm: "12px";
|
|
1081
|
+
readonly md: "16px";
|
|
1082
|
+
readonly lg: "24px";
|
|
1083
|
+
readonly xl: "32px";
|
|
1084
|
+
readonly full: "9999px";
|
|
1054
1085
|
};
|
|
1055
|
-
readonly
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
readonly h2: {
|
|
1062
|
-
readonly desktop: "-1px";
|
|
1063
|
-
readonly mobile: "-1px";
|
|
1064
|
-
};
|
|
1065
|
-
readonly h3: {
|
|
1066
|
-
readonly desktop: "-1px";
|
|
1067
|
-
readonly mobile: "0";
|
|
1068
|
-
};
|
|
1069
|
-
readonly h4: {
|
|
1070
|
-
readonly desktop: "0";
|
|
1071
|
-
readonly mobile: "0";
|
|
1086
|
+
readonly shadow: {
|
|
1087
|
+
readonly box: {
|
|
1088
|
+
readonly sm: "0px 0px 8px 0px rgba(28, 101, 253, 0.06), 0px 1px 1px 0px rgba(28, 101, 253, 0.02)";
|
|
1089
|
+
readonly md: "0px 4px 25px 0px rgba(28, 101, 253, 0.06), 0px 4px 4px 0px rgba(28, 101, 253, 0.02)";
|
|
1090
|
+
readonly lg: "0px 4px 25px 0px rgba(28, 101, 253, 0.08), 0px 4px 4px 0px rgba(28, 101, 253, 0.04)";
|
|
1091
|
+
readonly xl: "-23px 132px 38px 0px rgba(28, 101, 253, 0.00), -15px 84px 34px 0px rgba(28, 101, 253, 0.01), -8px 48px 29px 0px rgba(28, 101, 253, 0.05), -4px 21px 21px 0px rgba(28, 101, 253, 0.09), -1px 5px 12px 0px rgba(28, 101, 253, 0.10)";
|
|
1072
1092
|
};
|
|
1073
|
-
readonly
|
|
1074
|
-
|
|
1075
|
-
readonly mobile: "0";
|
|
1093
|
+
readonly border: {
|
|
1094
|
+
readonly sm: "0px 1px 2px 0px rgba(16, 24, 40, 0.06), 0px 1px 3px 0px rgba(16, 24, 40, 0.10)";
|
|
1076
1095
|
};
|
|
1077
|
-
};
|
|
1078
|
-
readonly body: {
|
|
1079
|
-
readonly lg: "0";
|
|
1080
|
-
readonly md: "0";
|
|
1081
|
-
readonly sm: "-0.2px";
|
|
1082
|
-
readonly xs: "-0.2px";
|
|
1083
|
-
};
|
|
1084
1096
|
};
|
|
1085
|
-
readonly
|
|
1086
|
-
|
|
1087
|
-
readonly heading: "'Plus Jakarta Sans', sans-serif";
|
|
1097
|
+
readonly container: {
|
|
1098
|
+
readonly xl: "1200px";
|
|
1088
1099
|
};
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
readonly xl: "32px";
|
|
1097
|
-
readonly xxl: "40px";
|
|
1098
|
-
readonly xxxl: "48px";
|
|
1099
|
-
readonly xxxxl: "56px";
|
|
1100
|
-
readonly xxxxxl: "64px";
|
|
1101
|
-
};
|
|
1102
|
-
readonly borderRadius: {
|
|
1103
|
-
readonly xxs: "4px";
|
|
1104
|
-
readonly xs: "8px";
|
|
1105
|
-
readonly sm: "12px";
|
|
1106
|
-
readonly md: "16px";
|
|
1107
|
-
readonly lg: "24px";
|
|
1108
|
-
readonly xl: "32px";
|
|
1109
|
-
readonly full: "9999px";
|
|
1110
|
-
};
|
|
1111
|
-
readonly shadow: {
|
|
1112
|
-
readonly box: {
|
|
1113
|
-
readonly sm: "0px 0px 8px 0px rgba(28, 101, 253, 0.06), 0px 1px 1px 0px rgba(28, 101, 253, 0.02)";
|
|
1114
|
-
readonly md: "0px 4px 25px 0px rgba(28, 101, 253, 0.06), 0px 4px 4px 0px rgba(28, 101, 253, 0.02)";
|
|
1115
|
-
readonly lg: "0px 4px 25px 0px rgba(28, 101, 253, 0.08), 0px 4px 4px 0px rgba(28, 101, 253, 0.04)";
|
|
1116
|
-
readonly xl: "-23px 132px 38px 0px rgba(28, 101, 253, 0.00), -15px 84px 34px 0px rgba(28, 101, 253, 0.01), -8px 48px 29px 0px rgba(28, 101, 253, 0.05), -4px 21px 21px 0px rgba(28, 101, 253, 0.09), -1px 5px 12px 0px rgba(28, 101, 253, 0.10)";
|
|
1100
|
+
readonly breakpoints: {
|
|
1101
|
+
readonly xs: "375px";
|
|
1102
|
+
readonly sm: "576px";
|
|
1103
|
+
readonly md: "768px";
|
|
1104
|
+
readonly lg: "992px";
|
|
1105
|
+
readonly xl: "1280px";
|
|
1106
|
+
readonly xxl: "1920px";
|
|
1117
1107
|
};
|
|
1118
|
-
readonly
|
|
1119
|
-
|
|
1108
|
+
readonly zIndex: {
|
|
1109
|
+
readonly dropdown: 1000;
|
|
1110
|
+
readonly sticky: 1020;
|
|
1111
|
+
readonly fixed: 1030;
|
|
1112
|
+
readonly modalBackdrop: 1040;
|
|
1113
|
+
readonly offcanvas: 1050;
|
|
1114
|
+
readonly modal: 1060;
|
|
1115
|
+
readonly popover: 1070;
|
|
1116
|
+
readonly tooltip: 1080;
|
|
1120
1117
|
};
|
|
1121
|
-
};
|
|
1122
|
-
readonly container: {
|
|
1123
|
-
readonly xl: "1200px";
|
|
1124
|
-
};
|
|
1125
|
-
readonly breakpoints: {
|
|
1126
|
-
readonly xs: "375px";
|
|
1127
|
-
readonly sm: "576px";
|
|
1128
|
-
readonly md: "768px";
|
|
1129
|
-
readonly lg: "992px";
|
|
1130
|
-
readonly xl: "1280px";
|
|
1131
|
-
readonly xxl: "1920px";
|
|
1132
|
-
};
|
|
1133
|
-
readonly zIndex: {
|
|
1134
|
-
readonly dropdown: 1000;
|
|
1135
|
-
readonly sticky: 1020;
|
|
1136
|
-
readonly fixed: 1030;
|
|
1137
|
-
readonly modalBackdrop: 1040;
|
|
1138
|
-
readonly offcanvas: 1050;
|
|
1139
|
-
readonly modal: 1060;
|
|
1140
|
-
readonly popover: 1070;
|
|
1141
|
-
readonly tooltip: 1080;
|
|
1142
|
-
};
|
|
1143
1118
|
};
|
|
1144
1119
|
type Theme = typeof theme;
|
|
1145
|
-
|
|
1146
|
-
//#region src/theme/overflow.d.ts
|
|
1120
|
+
|
|
1147
1121
|
declare enum Overflow {
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1122
|
+
auto = "auto",
|
|
1123
|
+
clip = "clip",
|
|
1124
|
+
hidden = "hidden",
|
|
1125
|
+
inherit = "inherit",
|
|
1126
|
+
visible = "visible"
|
|
1153
1127
|
}
|
|
1154
1128
|
declare const resolveOverflowValue: (overflow: Overflow) => string;
|
|
1155
|
-
|
|
1156
|
-
//#region src/theme/borderRadius.d.ts
|
|
1129
|
+
|
|
1157
1130
|
declare enum BorderRadius {
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
}
|
|
1167
|
-
declare const resolveBorderRadiusValue: (theme: Theme$1, borderRadius: BorderRadius) => "4px" | "8px" | "12px" | "16px" | "24px" | "32px" | "9999px"
|
|
1168
|
-
|
|
1169
|
-
//#region src/theme/flexWrap.d.ts
|
|
1131
|
+
none = "none",
|
|
1132
|
+
xxs = "xxs",
|
|
1133
|
+
xs = "xs",
|
|
1134
|
+
sm = "sm",
|
|
1135
|
+
md = "md",
|
|
1136
|
+
lg = "lg",
|
|
1137
|
+
xl = "xl",
|
|
1138
|
+
full = "full"
|
|
1139
|
+
}
|
|
1140
|
+
declare const resolveBorderRadiusValue: (theme: Theme$1, borderRadius: BorderRadius) => "0" | "4px" | "8px" | "12px" | "16px" | "24px" | "32px" | "9999px";
|
|
1141
|
+
|
|
1170
1142
|
declare enum FlexWrap {
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1143
|
+
noWrap = "noWrap",
|
|
1144
|
+
wrap = "wrap",
|
|
1145
|
+
wrapReverse = "wrapReverse"
|
|
1174
1146
|
}
|
|
1175
1147
|
declare const resolveFlexWrapValue: (flexWrap: FlexWrap) => string;
|
|
1176
|
-
|
|
1177
|
-
//#region src/theme/textDecoration.d.ts
|
|
1148
|
+
|
|
1178
1149
|
declare enum TextDecoration {
|
|
1179
|
-
|
|
1180
|
-
|
|
1150
|
+
noneImportant = "noneImportant",
|
|
1151
|
+
underline = "underline"
|
|
1181
1152
|
}
|
|
1182
|
-
declare const resolveTextDecorationValue: (textDecoration: TextDecoration) => "
|
|
1183
|
-
declare const getTextDecorationStyle: (textDecoration?: TextDecoration) =>
|
|
1184
|
-
|
|
1185
|
-
|
|
1153
|
+
declare const resolveTextDecorationValue: (textDecoration: TextDecoration) => "none !important" | "underline";
|
|
1154
|
+
declare const getTextDecorationStyle: (textDecoration?: TextDecoration) => "" | _emotion_utils.SerializedStyles;
|
|
1155
|
+
|
|
1156
|
+
type JustifyContent = 'center' | 'end' | 'flex-end' | 'flex-start' | 'space-around' | 'space-between' | 'space-evenly' | 'start';
|
|
1157
|
+
declare const resolveJustifyContentValue: (justifyContent: JustifyContent) => CSS.DataType.ContentDistribution | CSS.DataType.ContentPosition;
|
|
1158
|
+
|
|
1159
|
+
type AlignItems = 'center' | 'end' | 'flex-end' | 'flex-start' | 'start' | 'stretch';
|
|
1160
|
+
declare const resolveAlignItemsValue: (alignItems: AlignItems) => CSS.DataType.SelfPosition | "stretch";
|
|
1161
|
+
|
|
1186
1162
|
declare enum ButtonsLayoutAlign {
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1163
|
+
center = "center",
|
|
1164
|
+
end = "end",
|
|
1165
|
+
spaceBetween = "spaceBetween",
|
|
1166
|
+
start = "start",
|
|
1167
|
+
stretch = "stretch"
|
|
1192
1168
|
}
|
|
1193
1169
|
declare enum ButtonsLayoutDirection {
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1170
|
+
column = "column",
|
|
1171
|
+
columnReverse = "columnReverse",
|
|
1172
|
+
row = "row",
|
|
1173
|
+
rowReverse = "rowReverse"
|
|
1198
1174
|
}
|
|
1199
|
-
|
|
1200
|
-
//#region src/components/buttonsLayout/ButtonsLayout.d.ts
|
|
1175
|
+
|
|
1201
1176
|
interface ButtonsLayoutProps extends SsrProps {
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
}
|
|
1208
|
-
declare const ButtonsLayout: (props: ButtonsLayoutProps) =>
|
|
1209
|
-
|
|
1210
|
-
//#region src/components/calculatorResult/types.d.ts
|
|
1177
|
+
align: ButtonsLayoutAlign;
|
|
1178
|
+
buttons: ReactNode[];
|
|
1179
|
+
direction: ButtonsLayoutDirection;
|
|
1180
|
+
gap?: Spacing;
|
|
1181
|
+
wrap?: FlexWrap;
|
|
1182
|
+
}
|
|
1183
|
+
declare const ButtonsLayout: (props: ButtonsLayoutProps) => react_jsx_runtime.JSX.Element;
|
|
1184
|
+
|
|
1211
1185
|
interface CalculatorResultHeader {
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1186
|
+
bottom?: ReactElement | string | undefined;
|
|
1187
|
+
main?: ReactElement | string | undefined;
|
|
1188
|
+
top?: ReactElement | string | undefined;
|
|
1189
|
+
/** Visually hidden text for screen readers, providing additional info, such as the availability of help under tooltip button. */
|
|
1190
|
+
topHiddenText?: string;
|
|
1191
|
+
topTooltip?: TooltipInfoDescriptor;
|
|
1218
1192
|
}
|
|
1219
1193
|
interface CalculatorResultBodyItem {
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1194
|
+
left: {
|
|
1195
|
+
element: ReactElement | string;
|
|
1196
|
+
/** Visually hidden text for screen readers, providing additional info, such as the availability of help under tooltip button. */
|
|
1197
|
+
hiddenText?: string;
|
|
1198
|
+
tooltip?: TooltipInfoDescriptor;
|
|
1199
|
+
};
|
|
1200
|
+
right: {
|
|
1201
|
+
element: ReactElement | string;
|
|
1202
|
+
};
|
|
1228
1203
|
}
|
|
1229
1204
|
interface CalculatorResultMain {
|
|
1230
|
-
|
|
1231
|
-
|
|
1205
|
+
element: ReactElement | string;
|
|
1206
|
+
topSeparator?: boolean;
|
|
1232
1207
|
}
|
|
1233
1208
|
interface CalculatorResultModalDescriptor {
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1209
|
+
content: ReactElement | string;
|
|
1210
|
+
modalCloseButtonAriaLabel?: string;
|
|
1211
|
+
triggerText: ReactElement | string;
|
|
1237
1212
|
}
|
|
1238
1213
|
declare enum CalculatorResultInfoPosition {
|
|
1239
|
-
|
|
1240
|
-
|
|
1214
|
+
inBox = "inBox",
|
|
1215
|
+
underBox = "underBox"
|
|
1241
1216
|
}
|
|
1242
|
-
|
|
1243
|
-
//#region src/components/calculatorResult/CalculatorResult.d.ts
|
|
1217
|
+
|
|
1244
1218
|
interface CalculatorResultProps extends DesignSystemBaseProps {
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
}
|
|
1254
|
-
declare const CalculatorResult: (props: CalculatorResultProps) =>
|
|
1255
|
-
|
|
1256
|
-
//#region src/components/checkboxField/checkboxControl/CheckboxControl.d.ts
|
|
1219
|
+
bodyItems: CalculatorResultBodyItem[];
|
|
1220
|
+
containerRef?: RefObject<HTMLDivElement | null>;
|
|
1221
|
+
description?: ReactElement | string;
|
|
1222
|
+
header: CalculatorResultHeader;
|
|
1223
|
+
infoPosition?: CalculatorResultInfoPosition;
|
|
1224
|
+
main: CalculatorResultMain;
|
|
1225
|
+
modal?: CalculatorResultModalDescriptor;
|
|
1226
|
+
resultBoxRef?: RefObject<HTMLDivElement | null>;
|
|
1227
|
+
}
|
|
1228
|
+
declare const CalculatorResult: (props: CalculatorResultProps) => react_jsx_runtime.JSX.Element;
|
|
1229
|
+
|
|
1257
1230
|
interface CheckboxControlProps {
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
}
|
|
1271
|
-
declare const CheckboxControl: (props: CheckboxControlProps) =>
|
|
1272
|
-
|
|
1273
|
-
//#region src/components/checkboxField/types.d.ts
|
|
1231
|
+
ariaLabel?: string;
|
|
1232
|
+
checked?: boolean;
|
|
1233
|
+
colorScheme?: ColorScheme;
|
|
1234
|
+
disabled?: boolean;
|
|
1235
|
+
focused?: boolean;
|
|
1236
|
+
id?: string;
|
|
1237
|
+
invalid?: boolean;
|
|
1238
|
+
name: string;
|
|
1239
|
+
onBlur?: (event: FocusEvent<HTMLInputElement>) => void;
|
|
1240
|
+
onChange?: (event: ChangeEvent<HTMLInputElement>) => void;
|
|
1241
|
+
ref?: Ref<HTMLInputElement>;
|
|
1242
|
+
value?: string;
|
|
1243
|
+
}
|
|
1244
|
+
declare const CheckboxControl: (props: CheckboxControlProps) => react_jsx_runtime.JSX.Element;
|
|
1245
|
+
|
|
1274
1246
|
declare enum CheckboxPosition {
|
|
1275
|
-
|
|
1276
|
-
|
|
1247
|
+
left = "left",
|
|
1248
|
+
right = "right"
|
|
1277
1249
|
}
|
|
1278
|
-
|
|
1279
|
-
//#region src/components/checkboxField/checkbox/Checkbox.d.ts
|
|
1250
|
+
|
|
1280
1251
|
interface CheckboxProps extends CheckboxControlProps, InputLabelPassthroughProps, DesignSystemBaseProps {
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
}
|
|
1286
|
-
declare const Checkbox: (props: CheckboxProps) =>
|
|
1287
|
-
|
|
1288
|
-
//#region src/components/checkboxField/CheckboxField.d.ts
|
|
1252
|
+
errorMessage?: ReactNode;
|
|
1253
|
+
labelColor?: string;
|
|
1254
|
+
position?: CheckboxPosition;
|
|
1255
|
+
tooltipPosition?: LabelTooltipPosition;
|
|
1256
|
+
}
|
|
1257
|
+
declare const Checkbox: (props: CheckboxProps) => react_jsx_runtime.JSX.Element;
|
|
1258
|
+
|
|
1289
1259
|
interface CheckboxFieldProps extends Omit<CheckboxProps, 'onChange' | 'value'> {
|
|
1290
|
-
|
|
1260
|
+
options?: RegisterOptions;
|
|
1291
1261
|
}
|
|
1292
|
-
declare const CheckboxField: (props: CheckboxFieldProps) =>
|
|
1293
|
-
|
|
1294
|
-
//#region src/components/iconProduct/types.d.ts
|
|
1262
|
+
declare const CheckboxField: (props: CheckboxFieldProps) => react_jsx_runtime.JSX.Element;
|
|
1263
|
+
|
|
1295
1264
|
declare enum IconProductType {
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1265
|
+
atm = "atm",
|
|
1266
|
+
bank = "bank",
|
|
1267
|
+
bill = "bill",
|
|
1268
|
+
billingPayment = "billingPayment",
|
|
1269
|
+
check = "check",
|
|
1270
|
+
coinsStack = "coinsStack",
|
|
1271
|
+
creditCard = "creditCard",
|
|
1272
|
+
diceQuestion = "diceQuestion",
|
|
1273
|
+
graphBarIncrease = "graphBarIncrease",
|
|
1274
|
+
graphIncrease = "graphIncrease",
|
|
1275
|
+
helpChat = "helpChat",
|
|
1276
|
+
houseRefresh = "houseRefresh",
|
|
1277
|
+
information = "information",
|
|
1278
|
+
loginPassword = "loginPassword",
|
|
1279
|
+
mailCheck = "mailCheck",
|
|
1280
|
+
mobilePhone = "mobilePhone",
|
|
1281
|
+
moneta = "moneta",
|
|
1282
|
+
moneyBag = "moneyBag",
|
|
1283
|
+
openUmbrella = "openUmbrella",
|
|
1284
|
+
passwordLock = "passwordLock",
|
|
1285
|
+
people = "people",
|
|
1286
|
+
piggyBank = "piggyBank",
|
|
1287
|
+
propertiesMortgage = "propertiesMortgage",
|
|
1288
|
+
reward = "reward",
|
|
1289
|
+
shieldCheck = "shieldCheck",
|
|
1290
|
+
suitcase = "suitcase",
|
|
1291
|
+
user = "user",
|
|
1292
|
+
userAddPlus = "userAddPlus",
|
|
1293
|
+
wallet = "wallet",
|
|
1294
|
+
warningCircle = "warningCircle",
|
|
1295
|
+
warningTriangle = "warningTriangle"
|
|
1327
1296
|
}
|
|
1328
1297
|
declare enum IconProductSize {
|
|
1329
|
-
|
|
1330
|
-
|
|
1298
|
+
big = "big",
|
|
1299
|
+
small = "small"
|
|
1331
1300
|
}
|
|
1332
1301
|
declare enum IconProductVariant {
|
|
1333
|
-
|
|
1334
|
-
|
|
1302
|
+
active = "active",
|
|
1303
|
+
default = "default"
|
|
1335
1304
|
}
|
|
1336
1305
|
declare enum IconProductHighlightType {
|
|
1337
|
-
|
|
1338
|
-
|
|
1306
|
+
default = "default",
|
|
1307
|
+
defaultInverse = "defaultInverse"
|
|
1339
1308
|
}
|
|
1340
|
-
|
|
1341
|
-
//#region src/components/iconProduct/IconProduct.d.ts
|
|
1309
|
+
|
|
1342
1310
|
interface IconProductProps {
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
}
|
|
1351
|
-
declare const IconProduct: (props: IconProductProps) =>
|
|
1352
|
-
|
|
1353
|
-
//#region src/components/circularProgressBar/CircularProgressBar.d.ts
|
|
1311
|
+
colorScheme?: ColorScheme;
|
|
1312
|
+
fill?: string;
|
|
1313
|
+
highlightType?: IconProductHighlightType;
|
|
1314
|
+
size: IconProductSize;
|
|
1315
|
+
stroke?: string;
|
|
1316
|
+
type: IconProductType;
|
|
1317
|
+
variant?: IconProductVariant | undefined;
|
|
1318
|
+
}
|
|
1319
|
+
declare const IconProduct: (props: IconProductProps) => react_jsx_runtime.JSX.Element;
|
|
1320
|
+
|
|
1354
1321
|
interface CircularProgressBarProps extends DesignSystemBaseProps {
|
|
1355
|
-
|
|
1356
|
-
|
|
1322
|
+
iconProduct: IconProductType;
|
|
1323
|
+
progress: number;
|
|
1357
1324
|
}
|
|
1358
|
-
declare const CircularProgressBar: (props: CircularProgressBarProps) =>
|
|
1359
|
-
|
|
1360
|
-
//#region src/components/comboBoxField/types.d.ts
|
|
1325
|
+
declare const CircularProgressBar: (props: CircularProgressBarProps) => react_jsx_runtime.JSX.Element;
|
|
1326
|
+
|
|
1361
1327
|
type ComboBoxItem = boolean | number | object | string | null;
|
|
1362
1328
|
declare enum ComboBoxItemOrderSource {
|
|
1363
|
-
|
|
1364
|
-
|
|
1329
|
+
formatter = "formatter",
|
|
1330
|
+
value = "value"
|
|
1365
1331
|
}
|
|
1366
1332
|
interface ComboBoxItemOrder {
|
|
1367
|
-
|
|
1368
|
-
|
|
1333
|
+
compareFn?: (a: unknown, b: unknown) => number;
|
|
1334
|
+
source: ComboBoxItemOrderSource;
|
|
1369
1335
|
}
|
|
1370
1336
|
declare enum ComboBoxValueType {
|
|
1371
|
-
|
|
1372
|
-
|
|
1337
|
+
custom = "custom",
|
|
1338
|
+
item = "item"
|
|
1373
1339
|
}
|
|
1374
1340
|
type ComboBoxValue<TItem> = {
|
|
1375
|
-
|
|
1376
|
-
|
|
1341
|
+
input: string;
|
|
1342
|
+
type: ComboBoxValueType.custom;
|
|
1377
1343
|
} | {
|
|
1378
|
-
|
|
1379
|
-
|
|
1344
|
+
item: TItem;
|
|
1345
|
+
type: ComboBoxValueType.item;
|
|
1380
1346
|
} | null;
|
|
1381
|
-
|
|
1382
|
-
//#region src/components/inputBase/InputBase.d.ts
|
|
1347
|
+
|
|
1383
1348
|
interface InputBaseProps extends FieldControlProps, Pick<AriaAttributes, 'aria-activedescendant' | 'aria-autocomplete' | 'aria-controls' | 'aria-describedby' | 'aria-expanded' | 'aria-invalid' | 'aria-label' | 'aria-labelledby' | 'aria-required'> {
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
}
|
|
1413
|
-
declare const InputBase: (props: InputBaseProps) =>
|
|
1414
|
-
|
|
1415
|
-
//#region src/components/comboBoxField/comboBoxControl/ComboBoxControl.d.ts
|
|
1349
|
+
ariaLabel?: string;
|
|
1350
|
+
autoComplete?: HTMLInputAutoCompleteAttribute;
|
|
1351
|
+
button?: ReactNode;
|
|
1352
|
+
colorInput?: Property.Color | undefined;
|
|
1353
|
+
disabled?: boolean;
|
|
1354
|
+
halfWidth?: boolean;
|
|
1355
|
+
icon?: ReactNode;
|
|
1356
|
+
iconSystem?: IconSystemType;
|
|
1357
|
+
id?: string | undefined;
|
|
1358
|
+
isPastingDisabled?: boolean;
|
|
1359
|
+
maxLength?: number;
|
|
1360
|
+
name: string;
|
|
1361
|
+
onBlur?: ((event: FocusEvent<HTMLInputElement>) => void) | undefined;
|
|
1362
|
+
onChange?: ((event: ChangeEvent<HTMLInputElement>) => void) | undefined;
|
|
1363
|
+
onClick?: MouseEventHandler;
|
|
1364
|
+
onFocus?: ((event: ChangeEvent<HTMLInputElement>) => void) | undefined;
|
|
1365
|
+
onKeyDown?: KeyboardEventHandler;
|
|
1366
|
+
placeholder?: string;
|
|
1367
|
+
prefix?: ReactNode;
|
|
1368
|
+
prefixColor?: Property.Color;
|
|
1369
|
+
ref?: Ref<HTMLInputElement>;
|
|
1370
|
+
role?: HTMLAttributes<HTMLInputElement>['role'];
|
|
1371
|
+
size?: InputSize;
|
|
1372
|
+
suffix?: ReactNode;
|
|
1373
|
+
textAlign?: InputTextAlign;
|
|
1374
|
+
type?: HTMLInputTypeAttribute;
|
|
1375
|
+
value?: string;
|
|
1376
|
+
weight?: FontWeight;
|
|
1377
|
+
}
|
|
1378
|
+
declare const InputBase: (props: InputBaseProps) => react_jsx_runtime.JSX.Element;
|
|
1379
|
+
|
|
1416
1380
|
interface ComboBoxControlProps<TItem extends ComboBoxItem> extends Omit<FieldControlProps, 'name'>, Pick<InputBaseProps, 'ariaLabel' | 'disabled' | 'icon' | 'isPastingDisabled' | 'maxLength' | 'name' | 'onFocus' | 'placeholder' | 'required'> {
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
}
|
|
1432
|
-
declare const ComboBoxControl: <TItem extends ComboBoxItem>(props: ComboBoxControlProps<TItem>) =>
|
|
1433
|
-
|
|
1434
|
-
//#region src/components/fieldWrapper/types.d.ts
|
|
1381
|
+
formatter?: Formatter<TItem, ReactNode>;
|
|
1382
|
+
getItemKey?: (item: TItem | null) => number | string;
|
|
1383
|
+
inputPrefix?: ReactNode;
|
|
1384
|
+
inputSize?: InputSize;
|
|
1385
|
+
inputSuffix?: ReactNode;
|
|
1386
|
+
inputTextAlign?: InputTextAlign;
|
|
1387
|
+
inputWeight?: FontWeight;
|
|
1388
|
+
itemOrder?: ComboBoxItemOrder;
|
|
1389
|
+
items: TItem[];
|
|
1390
|
+
onBlur?: () => void;
|
|
1391
|
+
onChange: (value: ComboBoxValue<TItem>) => void;
|
|
1392
|
+
ref?: Ref<HTMLInputElement>;
|
|
1393
|
+
shouldHighlightFirstItem?: boolean;
|
|
1394
|
+
value: ComboBoxValue<TItem>;
|
|
1395
|
+
}
|
|
1396
|
+
declare const ComboBoxControl: <TItem extends ComboBoxItem>(props: ComboBoxControlProps<TItem>) => react_jsx_runtime.JSX.Element;
|
|
1397
|
+
|
|
1435
1398
|
declare enum FieldWrapperLayout {
|
|
1436
|
-
|
|
1437
|
-
|
|
1399
|
+
horizontal = "horizontal",
|
|
1400
|
+
vertical = "vertical"
|
|
1438
1401
|
}
|
|
1439
|
-
|
|
1440
|
-
//#region src/components/fieldWrapper/FieldWrapper.d.ts
|
|
1402
|
+
|
|
1441
1403
|
type FieldWrapperControlProps = Required<Pick<FieldControlProps, 'describedBy' | 'id' | 'invalid' | 'labelledBy' | 'required'>>;
|
|
1442
1404
|
declare enum FieldAddonPosition {
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1405
|
+
afterControl = "afterControl",
|
|
1406
|
+
beforeControl = "beforeControl",
|
|
1407
|
+
belowControl = "belowControl",
|
|
1408
|
+
bottom = "bottom"
|
|
1447
1409
|
}
|
|
1448
1410
|
interface FieldAddon {
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1411
|
+
children: ReactNode;
|
|
1412
|
+
key: Key;
|
|
1413
|
+
position: FieldAddonPosition;
|
|
1452
1414
|
}
|
|
1453
1415
|
interface FieldWrapperProps extends DesignSystemBaseProps, InputLabelPassthroughProps {
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
}
|
|
1475
|
-
declare const FieldWrapper: (props: FieldWrapperProps) =>
|
|
1476
|
-
|
|
1477
|
-
//#region src/components/fieldWrapper/withFieldWrapper.d.ts
|
|
1416
|
+
addons?: FieldAddon[];
|
|
1417
|
+
children?: ReactNode | ((controlProps: FieldWrapperControlProps) => ReactNode);
|
|
1418
|
+
controlId?: string;
|
|
1419
|
+
controlMobileWidth?: Property.Width;
|
|
1420
|
+
/** `controlSection` represents the right section in horizontal layout. */
|
|
1421
|
+
controlSectionWidth?: Property.Width;
|
|
1422
|
+
controlWidth?: Property.Width;
|
|
1423
|
+
errorMessage?: ReactNode;
|
|
1424
|
+
/** Visually hidden text for screen readers providing additional info, such as the availability of a tooltip. */
|
|
1425
|
+
hiddenHintText?: ReactNode;
|
|
1426
|
+
hintText?: ReactNode;
|
|
1427
|
+
/** @default isRenderable(errorMessage) */
|
|
1428
|
+
invalid?: boolean;
|
|
1429
|
+
layout?: FieldWrapperLayout;
|
|
1430
|
+
/** Necessary for registration of `label` to `FieldLabelStore`. */
|
|
1431
|
+
name?: string;
|
|
1432
|
+
note?: ReactNode;
|
|
1433
|
+
/** @default FieldOptionality.required */
|
|
1434
|
+
optionality?: FieldOptionality;
|
|
1435
|
+
successMessage?: ReactNode;
|
|
1436
|
+
}
|
|
1437
|
+
declare const FieldWrapper: (props: FieldWrapperProps) => react_jsx_runtime.JSX.Element;
|
|
1438
|
+
|
|
1478
1439
|
/** These props are reserved for `FieldWrapper` and cannot be used in the wrapped component. */
|
|
1479
1440
|
type FieldWrapperReservedProps = Pick<FieldWrapperProps, 'addons' | 'controlMobileWidth' | 'controlSectionWidth' | 'controlWidth' | 'errorMessage' | 'hiddenHintText' | 'hintText' | 'label' | 'labelAs' | 'labelHiddenText' | 'labelId' | 'labelSuffix' | 'layout' | 'note' | 'optionality' | 'successMessage' | 'tooltip'>;
|
|
1480
1441
|
declare const withFieldWrapper: <TProps extends FieldControlProps>(FieldControl: ComponentType<TProps>) => {
|
|
1481
|
-
|
|
1482
|
-
|
|
1442
|
+
(props: FieldWrapperReservedProps & Omit<TProps, keyof FieldWrapperReservedProps>): react_jsx_runtime.JSX.Element;
|
|
1443
|
+
displayName: string;
|
|
1483
1444
|
};
|
|
1484
|
-
|
|
1485
|
-
//#region src/components/comboBoxField/comboBox/ComboBox.d.ts
|
|
1445
|
+
|
|
1486
1446
|
type ComboBoxProps<TItem extends ComboBoxItem> = ComboBoxControlProps<TItem> & FieldWrapperReservedProps;
|
|
1487
1447
|
declare const ComboBox: <TItem extends ComboBoxItem>(props: ComboBoxProps<TItem>) => ReactElement;
|
|
1488
|
-
|
|
1489
|
-
//#region src/components/comboBoxField/ComboBoxField.d.ts
|
|
1448
|
+
|
|
1490
1449
|
interface ComboBoxFieldProps<TItem extends ComboBoxItem> extends Omit<ComboBoxProps<TItem>, 'onChange' | 'value'> {
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
}
|
|
1496
|
-
declare const ComboBoxField: <TItem extends ComboBoxItem>(props: ComboBoxFieldProps<TItem>) =>
|
|
1497
|
-
|
|
1498
|
-
//#region src/components/datePickerField/datePickerControl/DatePickerControl.d.ts
|
|
1450
|
+
defaultValue?: TItem | null;
|
|
1451
|
+
name: string;
|
|
1452
|
+
options?: RegisterOptions;
|
|
1453
|
+
shouldResetInvalidValues?: boolean;
|
|
1454
|
+
}
|
|
1455
|
+
declare const ComboBoxField: <TItem extends ComboBoxItem>(props: ComboBoxFieldProps<TItem>) => react_jsx_runtime.JSX.Element;
|
|
1456
|
+
|
|
1499
1457
|
interface DatePickerControlProps extends Pick<DatePickerProps$1, 'chooseDayAriaLabelPrefix' | 'dateFormat' | 'disabledDayAriaLabelPrefix' | 'filterDate' | 'maxDate' | 'minDate' | 'monthAriaLabelPrefix' | 'nextMonthAriaLabel' | 'onBlur' | 'previousMonthAriaLabel' | 'selected'>, FieldControlProps {
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
}
|
|
1512
|
-
declare const DatePickerControl: (props: DatePickerControlProps) =>
|
|
1513
|
-
|
|
1514
|
-
//#region src/components/datePickerField/datePicker/DatePicker.d.ts
|
|
1458
|
+
chevronCloseAriaLabel?: string;
|
|
1459
|
+
chevronOpenAriaLabel?: string;
|
|
1460
|
+
disabled?: boolean;
|
|
1461
|
+
locale?: Locale;
|
|
1462
|
+
monthSelectAriaLabel?: string;
|
|
1463
|
+
monthYearSelectEnabled?: boolean;
|
|
1464
|
+
name: string;
|
|
1465
|
+
onChange?: (date: Date | null, event?: KeyboardEvent<HTMLElement> | MouseEvent<HTMLElement>) => void;
|
|
1466
|
+
placeholder?: string;
|
|
1467
|
+
ref?: Ref<HTMLInputElement>;
|
|
1468
|
+
yearSelectAriaLabel?: string;
|
|
1469
|
+
}
|
|
1470
|
+
declare const DatePickerControl: (props: DatePickerControlProps) => react_jsx_runtime.JSX.Element;
|
|
1471
|
+
|
|
1515
1472
|
declare const DatePicker: {
|
|
1516
|
-
|
|
1517
|
-
|
|
1473
|
+
(props: FieldWrapperReservedProps & Omit<DatePickerControlProps, "label" | "addons" | "controlMobileWidth" | "controlSectionWidth" | "controlWidth" | "errorMessage" | "hiddenHintText" | "hintText" | "labelAs" | "labelHiddenText" | "labelId" | "labelSuffix" | "layout" | "note" | "optionality" | "successMessage" | "tooltip">): react_jsx_runtime.JSX.Element;
|
|
1474
|
+
displayName: string;
|
|
1518
1475
|
};
|
|
1519
1476
|
type DatePickerProps = ComponentProps<typeof DatePicker>;
|
|
1520
|
-
|
|
1521
|
-
//#region src/components/datePickerField/DatePickerField.d.ts
|
|
1477
|
+
|
|
1522
1478
|
interface DatePickerFieldProps extends Omit<ComponentProps<typeof DatePicker>, 'onChange'> {
|
|
1523
|
-
|
|
1524
|
-
|
|
1479
|
+
name: string;
|
|
1480
|
+
options?: RegisterOptions;
|
|
1525
1481
|
}
|
|
1526
|
-
declare const DatePickerField: (props: DatePickerFieldProps) =>
|
|
1527
|
-
|
|
1528
|
-
//#region src/components/datePickerField/constants.d.ts
|
|
1482
|
+
declare const DatePickerField: (props: DatePickerFieldProps) => react_jsx_runtime.JSX.Element;
|
|
1483
|
+
|
|
1529
1484
|
declare const datePickerValueFormat = "yyyy-MM-dd";
|
|
1530
|
-
|
|
1531
|
-
//#region src/components/emailInputField/emailInput/EmailInput.d.ts
|
|
1485
|
+
|
|
1532
1486
|
interface EmailInputControlProps extends InputProps {
|
|
1533
|
-
|
|
1487
|
+
placeholder?: string;
|
|
1534
1488
|
}
|
|
1535
1489
|
declare const EmailInput: {
|
|
1536
|
-
|
|
1537
|
-
|
|
1490
|
+
(props: FieldWrapperReservedProps & Omit<EmailInputControlProps, "label" | "addons" | "controlMobileWidth" | "controlSectionWidth" | "controlWidth" | "errorMessage" | "hiddenHintText" | "hintText" | "labelAs" | "labelHiddenText" | "labelId" | "labelSuffix" | "layout" | "note" | "optionality" | "successMessage" | "tooltip">): react_jsx_runtime.JSX.Element;
|
|
1491
|
+
displayName: string;
|
|
1538
1492
|
};
|
|
1539
1493
|
type EmailInputProps = ComponentProps<typeof EmailInput>;
|
|
1540
|
-
|
|
1541
|
-
//#region src/components/emailInputField/EmailInputField.d.ts
|
|
1494
|
+
|
|
1542
1495
|
interface EmailInputFieldProps extends Omit<EmailInputProps, 'onChange' | 'value'> {
|
|
1543
|
-
|
|
1544
|
-
|
|
1496
|
+
name: string;
|
|
1497
|
+
options?: RegisterOptions;
|
|
1545
1498
|
}
|
|
1546
|
-
declare const EmailInputField: (props: EmailInputFieldProps) =>
|
|
1547
|
-
|
|
1548
|
-
//#region src/components/errorBox/types.d.ts
|
|
1499
|
+
declare const EmailInputField: (props: EmailInputFieldProps) => react_jsx_runtime.JSX.Element;
|
|
1500
|
+
|
|
1549
1501
|
interface ErrorBoxItem {
|
|
1550
|
-
|
|
1551
|
-
|
|
1502
|
+
body: ReactElement | string;
|
|
1503
|
+
onClick?: () => void;
|
|
1552
1504
|
}
|
|
1553
|
-
|
|
1554
|
-
//#region src/components/errorBox/ErrorBox.d.ts
|
|
1505
|
+
|
|
1555
1506
|
interface ErrorBoxProps {
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
}
|
|
1563
|
-
declare const ErrorBox: (props: ErrorBoxProps) =>
|
|
1564
|
-
|
|
1565
|
-
//#region src/components/fileInputField/types.d.ts
|
|
1507
|
+
colorScheme?: ColorScheme;
|
|
1508
|
+
content?: ReactNode;
|
|
1509
|
+
items?: ErrorBoxItem[];
|
|
1510
|
+
ref?: Ref<HTMLDivElement>;
|
|
1511
|
+
tabIndex?: number;
|
|
1512
|
+
title?: ReactNode;
|
|
1513
|
+
}
|
|
1514
|
+
declare const ErrorBox: (props: ErrorBoxProps) => react_jsx_runtime.JSX.Element;
|
|
1515
|
+
|
|
1566
1516
|
declare enum FileInputErrorCode {
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1517
|
+
fileSizeTooLarge = "fileSizeTooLarge",
|
|
1518
|
+
general = "general",
|
|
1519
|
+
tooManyFiles = "tooManyFiles",
|
|
1520
|
+
totalFileSizeTooLarge = "totalFileSizeTooLarge",
|
|
1521
|
+
unsupportedFormat = "unsupportedFormat"
|
|
1572
1522
|
}
|
|
1573
1523
|
interface FileInputSettings {
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1524
|
+
fileExtensions: string[];
|
|
1525
|
+
maxFiles?: number;
|
|
1526
|
+
maxSize: number;
|
|
1527
|
+
maxTotalSize?: number;
|
|
1578
1528
|
}
|
|
1579
1529
|
type FileInputLimitDescriptionComponent = ComponentType<FileInputSettings>;
|
|
1580
1530
|
type FileInputUploadErrorReasonComponent = ComponentType<{
|
|
1581
|
-
|
|
1531
|
+
errorCode: FileInputErrorCode;
|
|
1582
1532
|
}>;
|
|
1583
1533
|
type FileInputUploadFailedComponent = ComponentType<{
|
|
1584
|
-
|
|
1534
|
+
fileName: string;
|
|
1585
1535
|
}>;
|
|
1586
1536
|
type FileInputDropzoneDragOrSelectFilesComponent = ComponentType<{
|
|
1587
|
-
|
|
1537
|
+
selectedFiles: ReactNode;
|
|
1588
1538
|
}>;
|
|
1589
1539
|
type FileInputDropzoneDragFilesHereComponent = ComponentType;
|
|
1590
1540
|
type FileInputRemoveButtonTextComponent = ComponentType<{
|
|
1591
|
-
|
|
1541
|
+
fileName: string;
|
|
1592
1542
|
}>;
|
|
1593
1543
|
type FileInputDropzoneSelectFilesComponent = ComponentType;
|
|
1594
|
-
|
|
1595
|
-
//#region src/components/fileInputField/fileInput/FileInputControl.d.ts
|
|
1544
|
+
|
|
1596
1545
|
interface FileInputControlProps extends FileInputSettings, DesignSystemBaseProps {
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
}
|
|
1624
|
-
declare const FileInputControl: (props: FileInputControlProps) =>
|
|
1625
|
-
|
|
1626
|
-
//#region src/components/fileInputField/fileInput/FileInput.d.ts
|
|
1546
|
+
/** Component displayed when a file is dragged over the dropzone. */
|
|
1547
|
+
DropzoneDragFilesHere: FileInputDropzoneDragFilesHereComponent;
|
|
1548
|
+
/** Component displaying prompt to drag or select files for upload. */
|
|
1549
|
+
DropzoneDragOrSelectFiles: FileInputDropzoneDragOrSelectFilesComponent;
|
|
1550
|
+
/** Clickable text prompting the user to select files for upload. */
|
|
1551
|
+
DropzoneSelectFiles: FileInputDropzoneSelectFilesComponent;
|
|
1552
|
+
/** Component describing the limits for uploaded files. */
|
|
1553
|
+
LimitDescription: FileInputLimitDescriptionComponent;
|
|
1554
|
+
/** Component for label for the remove file button. */
|
|
1555
|
+
RemoveButtonText: FileInputRemoveButtonTextComponent;
|
|
1556
|
+
/** Component displaying the reason for file upload failure. */
|
|
1557
|
+
UploadErrorReason: FileInputUploadErrorReasonComponent;
|
|
1558
|
+
/** Component displayed when file upload fails. */
|
|
1559
|
+
UploadFailed: FileInputUploadFailedComponent;
|
|
1560
|
+
/** Message read by screen readers after file is removed. */
|
|
1561
|
+
getFileRemovedLiveText?: (fileName: string) => string;
|
|
1562
|
+
/** Message read by screen readers after files are added. */
|
|
1563
|
+
getFilesAddedLiveText?: (fileNames: string[]) => string;
|
|
1564
|
+
/** aria-label for remove file button. */
|
|
1565
|
+
getRemoveButtonAriaLabel: (fileName: string) => string;
|
|
1566
|
+
invalid?: boolean;
|
|
1567
|
+
name: string;
|
|
1568
|
+
onBlur?: () => void;
|
|
1569
|
+
onChange: (files: File[]) => void;
|
|
1570
|
+
ref?: Ref<HTMLDivElement>;
|
|
1571
|
+
value: File[];
|
|
1572
|
+
}
|
|
1573
|
+
declare const FileInputControl: (props: FileInputControlProps) => react_jsx_runtime.JSX.Element;
|
|
1574
|
+
|
|
1627
1575
|
declare const FileInputBase: {
|
|
1628
|
-
|
|
1629
|
-
|
|
1576
|
+
(props: FieldWrapperReservedProps & Omit<FileInputControlProps, "label" | "addons" | "controlMobileWidth" | "controlSectionWidth" | "controlWidth" | "errorMessage" | "hiddenHintText" | "hintText" | "labelAs" | "labelHiddenText" | "labelId" | "labelSuffix" | "layout" | "note" | "optionality" | "successMessage" | "tooltip">): react_jsx_runtime.JSX.Element;
|
|
1577
|
+
displayName: string;
|
|
1630
1578
|
};
|
|
1631
|
-
declare const FileInput: (props: ComponentProps<typeof FileInputBase>) =>
|
|
1579
|
+
declare const FileInput: (props: ComponentProps<typeof FileInputBase>) => react_jsx_runtime.JSX.Element;
|
|
1632
1580
|
type FileInputProps = ComponentProps<typeof FileInput>;
|
|
1633
|
-
|
|
1634
|
-
//#region src/components/fileInputField/FileInputField.d.ts
|
|
1581
|
+
|
|
1635
1582
|
interface FileInputFieldProps extends Omit<FileInputProps, 'onBlur' | 'onChange' | 'value'> {
|
|
1636
|
-
|
|
1637
|
-
|
|
1583
|
+
name: string;
|
|
1584
|
+
options?: RegisterOptions;
|
|
1638
1585
|
}
|
|
1639
|
-
declare const FileInputField: (props: FileInputFieldProps) =>
|
|
1640
|
-
|
|
1641
|
-
//#region src/components/formattedAmount/types.d.ts
|
|
1586
|
+
declare const FileInputField: (props: FileInputFieldProps) => react_jsx_runtime.JSX.Element;
|
|
1587
|
+
|
|
1642
1588
|
declare enum FormatAmountCurrencyDisplay {
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1589
|
+
code = "code",
|
|
1590
|
+
name = "name",
|
|
1591
|
+
none = "none",
|
|
1592
|
+
symbol = "symbol"
|
|
1647
1593
|
}
|
|
1648
1594
|
declare enum FormatAmountGrouping {
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1595
|
+
always = "always",
|
|
1596
|
+
auto = "auto",
|
|
1597
|
+
none = "none"
|
|
1652
1598
|
}
|
|
1653
1599
|
interface FormatAmountDescriptor {
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
}
|
|
1661
|
-
interface FormatAmountParam extends FormatAmountDescriptor {
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
declare const useFormatAmount: () => (param: FormatAmountParam) => string;
|
|
1665
|
-
//#endregion
|
|
1666
|
-
//#region src/components/formattedAmount/nextIntl/useFormatAmount.d.ts
|
|
1600
|
+
currency?: string;
|
|
1601
|
+
currencyDisplay?: FormatAmountCurrencyDisplay;
|
|
1602
|
+
grouping?: FormatAmountGrouping;
|
|
1603
|
+
maximumFractionDigits?: number;
|
|
1604
|
+
minimumFractionDigits?: number;
|
|
1605
|
+
value: number;
|
|
1606
|
+
}
|
|
1607
|
+
interface FormatAmountParam extends FormatAmountDescriptor {
|
|
1608
|
+
}
|
|
1609
|
+
|
|
1667
1610
|
declare const useFormatAmount$1: () => (param: FormatAmountParam) => string;
|
|
1668
|
-
|
|
1669
|
-
|
|
1611
|
+
|
|
1612
|
+
declare const useFormatAmount: () => (param: FormatAmountParam) => string;
|
|
1613
|
+
|
|
1670
1614
|
interface BaseFormattedAmountProps extends FormatAmountDescriptor {
|
|
1671
|
-
|
|
1672
|
-
}
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
declare const FormattedAmount: (props: FormattedAmountProps) =>
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
declare const FormattedAmount
|
|
1681
|
-
|
|
1682
|
-
//#region src/components/formattedPercentage/useFormatPercentage.d.ts
|
|
1615
|
+
formatAmount: (param: FormatAmountParam) => string;
|
|
1616
|
+
}
|
|
1617
|
+
|
|
1618
|
+
interface FormattedAmountProps$1 extends Omit<BaseFormattedAmountProps, 'formatAmount'> {
|
|
1619
|
+
}
|
|
1620
|
+
declare const FormattedAmount$1: (props: FormattedAmountProps$1) => react_jsx_runtime.JSX.Element;
|
|
1621
|
+
|
|
1622
|
+
interface FormattedAmountProps extends Omit<BaseFormattedAmountProps, 'formatAmount'> {
|
|
1623
|
+
}
|
|
1624
|
+
declare const FormattedAmount: (props: FormattedAmountProps) => react_jsx_runtime.JSX.Element;
|
|
1625
|
+
|
|
1683
1626
|
interface FormatPercentageParam {
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1627
|
+
maximumFractionDigits?: number;
|
|
1628
|
+
minimumFractionDigits?: number;
|
|
1629
|
+
value: number;
|
|
1687
1630
|
}
|
|
1688
1631
|
declare const useFormatPercentage: () => (param: FormatPercentageParam) => string;
|
|
1689
|
-
|
|
1690
|
-
//#region src/components/formattedPercentage/FormattedPercentage.d.ts
|
|
1632
|
+
|
|
1691
1633
|
interface FormattedPercentageProps {
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1634
|
+
maximumFractionDigits?: number;
|
|
1635
|
+
minimumFractionDigits?: number;
|
|
1636
|
+
value: number;
|
|
1695
1637
|
}
|
|
1696
|
-
declare const FormattedPercentage:
|
|
1697
|
-
|
|
1698
|
-
//#region src/components/formattedPercentage/index.d.ts
|
|
1638
|
+
declare const FormattedPercentage: react.MemoExoticComponent<(props: FormattedPercentageProps) => string>;
|
|
1639
|
+
|
|
1699
1640
|
/** @deprecated Use `useFormatPercentage` instead */
|
|
1700
1641
|
declare const useFormattedPercentage: () => (param: FormatPercentageParam) => string;
|
|
1701
|
-
|
|
1702
|
-
//#region src/form/types.d.ts
|
|
1642
|
+
|
|
1703
1643
|
interface ThrownFieldLevelError {
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1644
|
+
code: string;
|
|
1645
|
+
fieldName: string;
|
|
1646
|
+
message: string;
|
|
1707
1647
|
}
|
|
1708
1648
|
declare enum ThrownFormLevelErrorType {
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
}
|
|
1721
|
-
interface ThrownFormLevelErrorMeta {
|
|
1649
|
+
/**
|
|
1650
|
+
* Used for displaying custom application-specific errors.
|
|
1651
|
+
*
|
|
1652
|
+
* Pass additional info in the `meta` property and consume it in using `thrownFormLevelErrorFormatter`.
|
|
1653
|
+
* Make sure to extend `ThrownFormLevelErrorMeta` via declaration merging.
|
|
1654
|
+
*/
|
|
1655
|
+
application = "application",
|
|
1656
|
+
/** Indicates that an unknown error occurred, just like an HTTP 500 status code. */
|
|
1657
|
+
generic = "generic",
|
|
1658
|
+
/** Indicates that an error occured due to a request timing out. */
|
|
1659
|
+
timeout = "timeout"
|
|
1660
|
+
}
|
|
1661
|
+
interface ThrownFormLevelErrorMeta {
|
|
1662
|
+
}
|
|
1722
1663
|
interface ThrownFormLevelError {
|
|
1723
|
-
|
|
1724
|
-
|
|
1664
|
+
meta?: ThrownFormLevelErrorMeta;
|
|
1665
|
+
type: ThrownFormLevelErrorType;
|
|
1725
1666
|
}
|
|
1726
1667
|
interface ThrownFormErrors {
|
|
1727
|
-
|
|
1728
|
-
|
|
1668
|
+
fieldLevelErrors: ThrownFieldLevelError[];
|
|
1669
|
+
formLevelErrors: ThrownFormLevelError[];
|
|
1729
1670
|
}
|
|
1730
1671
|
interface ThrownFormLevelErrorFormatterOutput {
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1672
|
+
description: ReactNode;
|
|
1673
|
+
iconProduct?: IconProductType;
|
|
1674
|
+
title: ReactNode;
|
|
1734
1675
|
}
|
|
1735
1676
|
type ThrownFieldLevelErrorFormatter = Formatter<ThrownFieldLevelError, ReactNode>;
|
|
1736
1677
|
type ThrownFormLevelErrorFormatter = Formatter<ThrownFormLevelError, ReactNode | ThrownFormLevelErrorFormatterOutput>;
|
|
1737
1678
|
interface ReCaptchaV3Config {
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1679
|
+
isEnabled: boolean;
|
|
1680
|
+
isEnterprise: boolean;
|
|
1681
|
+
siteKey: string;
|
|
1741
1682
|
}
|
|
1742
1683
|
declare enum CaptchaType {
|
|
1743
|
-
|
|
1684
|
+
reCaptchaV3 = "reCaptchaV3"
|
|
1744
1685
|
}
|
|
1745
1686
|
interface SubmitHandlerErrorInfo {
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1687
|
+
captchaToken?: string;
|
|
1688
|
+
timings: {
|
|
1689
|
+
captchaExecuteEnd?: number;
|
|
1690
|
+
captchaExecuteStart?: number;
|
|
1691
|
+
submitEnd?: number;
|
|
1692
|
+
submitStart?: number;
|
|
1693
|
+
};
|
|
1753
1694
|
}
|
|
1754
1695
|
interface FormConfig {
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1696
|
+
onSubmitHandlerError?: (error: unknown, errorInfo: SubmitHandlerErrorInfo) => void;
|
|
1697
|
+
reCaptchaV3Config?: ReCaptchaV3Config;
|
|
1698
|
+
resolveThrownFormErrors?: (error: unknown) => ThrownFormErrors;
|
|
1699
|
+
thrownFieldLevelErrorFormatter?: ThrownFieldLevelErrorFormatter;
|
|
1700
|
+
thrownFormLevelErrorFormatter?: ThrownFormLevelErrorFormatter;
|
|
1760
1701
|
}
|
|
1761
1702
|
interface SubmitHandlerExtraParam {
|
|
1762
|
-
|
|
1703
|
+
captchaToken?: string;
|
|
1763
1704
|
}
|
|
1764
1705
|
type SubmitHandler<TFieldValues extends FieldValues> = (data: TFieldValues, extraParam: SubmitHandlerExtraParam, event?: BaseSyntheticEvent) => Promise<unknown> | unknown;
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
declare const FormErrorOutcome: (props: FormErrorOutcomeProps) =>
|
|
1769
|
-
|
|
1770
|
-
//#region src/components/formErrorSummary/FormErrorSummary.d.ts
|
|
1706
|
+
|
|
1707
|
+
interface FormErrorOutcomeProps extends DesignSystemBaseProps, Pick<FormConfig, 'thrownFormLevelErrorFormatter'> {
|
|
1708
|
+
}
|
|
1709
|
+
declare const FormErrorOutcome: (props: FormErrorOutcomeProps) => react_jsx_runtime.JSX.Element | null;
|
|
1710
|
+
|
|
1771
1711
|
interface FormErrorSummaryProps extends DesignSystemBaseProps {
|
|
1772
|
-
|
|
1773
|
-
|
|
1712
|
+
order?: string[];
|
|
1713
|
+
title?: ReactNode;
|
|
1774
1714
|
}
|
|
1775
|
-
declare const FormErrorSummary: (props: FormErrorSummaryProps) =>
|
|
1776
|
-
|
|
1777
|
-
//#region src/components/formSuccessOutcome/FormSuccessOutcome.d.ts
|
|
1715
|
+
declare const FormErrorSummary: (props: FormErrorSummaryProps) => react_jsx_runtime.JSX.Element;
|
|
1716
|
+
|
|
1778
1717
|
interface FormSuccessOutcomeProps extends DesignSystemBaseProps {
|
|
1779
|
-
|
|
1780
|
-
onHide: () => void;
|
|
1781
|
-
title: ReactNode;
|
|
1782
|
-
visible: boolean;
|
|
1783
|
-
}
|
|
1784
|
-
declare const FormSuccessOutcome: (props: FormSuccessOutcomeProps) => import("react").JSX.Element;
|
|
1785
|
-
//#endregion
|
|
1786
|
-
//#region src/components/formSuccessOutcome/useFormSuccessOutcomeManager.d.ts
|
|
1787
|
-
interface UseFormSuccessOutcomeManagerReturn {
|
|
1788
|
-
formKey: Key;
|
|
1789
|
-
formSuccessOutcomeProps: {
|
|
1718
|
+
children: ReactNode;
|
|
1790
1719
|
onHide: () => void;
|
|
1720
|
+
title: ReactNode;
|
|
1791
1721
|
visible: boolean;
|
|
1792
|
-
|
|
1793
|
-
|
|
1722
|
+
}
|
|
1723
|
+
declare const FormSuccessOutcome: (props: FormSuccessOutcomeProps) => react_jsx_runtime.JSX.Element;
|
|
1724
|
+
|
|
1725
|
+
interface UseFormSuccessOutcomeManagerReturn {
|
|
1726
|
+
formKey: Key;
|
|
1727
|
+
formSuccessOutcomeProps: {
|
|
1728
|
+
onHide: () => void;
|
|
1729
|
+
visible: boolean;
|
|
1730
|
+
};
|
|
1731
|
+
onMutationSuccess: () => void;
|
|
1794
1732
|
}
|
|
1795
1733
|
declare const useFormSuccessOutcomeManager: () => UseFormSuccessOutcomeManagerReturn;
|
|
1796
|
-
|
|
1797
|
-
//#region src/components/iconFlag/types.d.ts
|
|
1734
|
+
|
|
1798
1735
|
declare enum IconFlagType {
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
|
|
1736
|
+
cz = "cz",
|
|
1737
|
+
eu = "eu",
|
|
1738
|
+
hr = "hr",
|
|
1739
|
+
usa = "usa"
|
|
1803
1740
|
}
|
|
1804
|
-
|
|
1805
|
-
//#region src/components/iconFlag/IconFlag.d.ts
|
|
1741
|
+
|
|
1806
1742
|
interface IconFlagProps {
|
|
1807
|
-
|
|
1743
|
+
type: IconFlagType;
|
|
1808
1744
|
}
|
|
1809
|
-
declare const IconFlag: (props: IconFlagProps) =>
|
|
1810
|
-
|
|
1811
|
-
//#region src/components/infobox/types.d.ts
|
|
1745
|
+
declare const IconFlag: (props: IconFlagProps) => react_jsx_runtime.JSX.Element;
|
|
1746
|
+
|
|
1812
1747
|
declare enum InfoboxVariant {
|
|
1813
|
-
|
|
1814
|
-
|
|
1748
|
+
primary = "primary",
|
|
1749
|
+
secondary = "secondary"
|
|
1815
1750
|
}
|
|
1816
1751
|
declare enum InfoboxSize {
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
|
|
1752
|
+
md = "md",
|
|
1753
|
+
sm = "sm",
|
|
1754
|
+
xs = "xs"
|
|
1820
1755
|
}
|
|
1821
1756
|
interface InfoboxTextContent {
|
|
1822
|
-
|
|
1823
|
-
|
|
1757
|
+
primary: ReactNode;
|
|
1758
|
+
secondary?: ReactNode;
|
|
1824
1759
|
}
|
|
1825
|
-
|
|
1826
|
-
//#region src/components/infobox/Infobox.d.ts
|
|
1760
|
+
|
|
1827
1761
|
interface InfoboxProps extends DesignSystemBaseProps, AriaAttributes {
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
|
|
1839
|
-
|
|
1840
|
-
|
|
1841
|
-
|
|
1842
|
-
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
}
|
|
1846
|
-
declare const Infobox: (props: InfoboxProps) =>
|
|
1847
|
-
|
|
1848
|
-
//#region src/components/inputLabel/types.d.ts
|
|
1762
|
+
/** Cannot be used alongside `children`. */
|
|
1763
|
+
actionNode?: ReactNode;
|
|
1764
|
+
children?: ReactNode;
|
|
1765
|
+
/** In order to render a circular progress bar, `iconProduct` must be provided as well. */
|
|
1766
|
+
circularProgress?: number;
|
|
1767
|
+
className?: string;
|
|
1768
|
+
fullWidth?: boolean;
|
|
1769
|
+
iconProduct?: IconProductType;
|
|
1770
|
+
id?: string;
|
|
1771
|
+
isWarning?: boolean;
|
|
1772
|
+
ref?: Ref<HTMLDivElement>;
|
|
1773
|
+
role?: AriaRole;
|
|
1774
|
+
size: InfoboxSize;
|
|
1775
|
+
tabIndex?: number;
|
|
1776
|
+
/** Cannot be used alongside `children`. */
|
|
1777
|
+
textContent?: InfoboxTextContent;
|
|
1778
|
+
variant: InfoboxVariant;
|
|
1779
|
+
}
|
|
1780
|
+
declare const Infobox: (props: InfoboxProps) => react_jsx_runtime.JSX.Element;
|
|
1781
|
+
|
|
1849
1782
|
declare enum InputLabelSize {
|
|
1850
|
-
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
-
|
|
1783
|
+
xs = "xs",
|
|
1784
|
+
sm = "sm",
|
|
1785
|
+
md = "md",
|
|
1786
|
+
lg = "lg"
|
|
1854
1787
|
}
|
|
1855
|
-
|
|
1856
|
-
//#region src/components/inputLabel/InputLabel.d.ts
|
|
1788
|
+
|
|
1857
1789
|
interface InputLabelProps extends DesignSystemBaseProps {
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
}
|
|
1869
|
-
declare const InputLabel: (props: InputLabelProps) =>
|
|
1870
|
-
|
|
1871
|
-
//#region src/components/loader/types.d.ts
|
|
1790
|
+
as?: ElementType;
|
|
1791
|
+
/** Visually hidden text for screen readers, providing additional info, such as the availability of help under tooltip button. */
|
|
1792
|
+
hiddenText?: string;
|
|
1793
|
+
id?: string;
|
|
1794
|
+
invalid?: boolean;
|
|
1795
|
+
label?: ReactNode;
|
|
1796
|
+
labelId?: string;
|
|
1797
|
+
size?: InputLabelSize;
|
|
1798
|
+
suffix?: ReactNode;
|
|
1799
|
+
tooltip?: TooltipInfoDescriptor;
|
|
1800
|
+
}
|
|
1801
|
+
declare const InputLabel: (props: InputLabelProps) => react_jsx_runtime.JSX.Element;
|
|
1802
|
+
|
|
1872
1803
|
declare enum LoaderSize {
|
|
1873
|
-
|
|
1874
|
-
|
|
1804
|
+
lg = "lg",
|
|
1805
|
+
sm = "sm"
|
|
1875
1806
|
}
|
|
1876
|
-
|
|
1877
|
-
//#region src/components/loader/Loader.d.ts
|
|
1807
|
+
|
|
1878
1808
|
interface LoaderProps extends DesignSystemBaseProps, AriaAttributes {
|
|
1879
|
-
|
|
1880
|
-
|
|
1809
|
+
loaderSize: LoaderSize;
|
|
1810
|
+
role?: AriaRole;
|
|
1881
1811
|
}
|
|
1882
|
-
declare const Loader: (props: LoaderProps) =>
|
|
1883
|
-
|
|
1884
|
-
//#region src/components/loaderOverlayBox/LoaderOverlayBox.d.ts
|
|
1812
|
+
declare const Loader: (props: LoaderProps) => react_jsx_runtime.JSX.Element;
|
|
1813
|
+
|
|
1885
1814
|
interface LoaderOverlayBoxProps extends DesignSystemBaseProps, AriaAttributes {
|
|
1886
|
-
|
|
1887
|
-
|
|
1815
|
+
loaderSize: LoaderSize;
|
|
1816
|
+
role?: AriaRole;
|
|
1888
1817
|
}
|
|
1889
|
-
declare const LoaderOverlayBox: (props: LoaderOverlayBoxProps) =>
|
|
1890
|
-
|
|
1891
|
-
//#region src/components/maskedInputField/types.d.ts
|
|
1818
|
+
declare const LoaderOverlayBox: (props: LoaderOverlayBoxProps) => react_jsx_runtime.JSX.Element;
|
|
1819
|
+
|
|
1892
1820
|
type MaskedInputOnAccept = (unmaskedValue: string, maskedValue: string) => void;
|
|
1893
|
-
|
|
1894
|
-
//#region src/components/maskedInputField/maskedInput/MaskedInputBase.d.ts
|
|
1821
|
+
|
|
1895
1822
|
interface MaskedInputBaseProps extends InputBaseProps {
|
|
1896
|
-
|
|
1897
|
-
|
|
1823
|
+
maskOptions: FactoryOpts;
|
|
1824
|
+
onAccept?: MaskedInputOnAccept;
|
|
1898
1825
|
}
|
|
1899
|
-
declare const MaskedInputBase: (props: MaskedInputBaseProps) =>
|
|
1900
|
-
|
|
1901
|
-
//#region src/components/maskedInputField/maskedInput/MaskedInput.d.ts
|
|
1826
|
+
declare const MaskedInputBase: (props: MaskedInputBaseProps) => react_jsx_runtime.JSX.Element;
|
|
1827
|
+
|
|
1902
1828
|
declare const MaskedInput: {
|
|
1903
|
-
|
|
1904
|
-
|
|
1829
|
+
(props: FieldWrapperReservedProps & Omit<MaskedInputBaseProps, "label" | "addons" | "controlMobileWidth" | "controlSectionWidth" | "controlWidth" | "errorMessage" | "hiddenHintText" | "hintText" | "labelAs" | "labelHiddenText" | "labelId" | "labelSuffix" | "layout" | "note" | "optionality" | "successMessage" | "tooltip">): react_jsx_runtime.JSX.Element;
|
|
1830
|
+
displayName: string;
|
|
1905
1831
|
};
|
|
1906
1832
|
type MaskedInputProps = ComponentProps<typeof MaskedInput>;
|
|
1907
|
-
|
|
1908
|
-
//#region src/components/maskedInputField/MaskedInputField.d.ts
|
|
1833
|
+
|
|
1909
1834
|
type ManagedMaskedInputProps = Pick<MaskedInputProps, 'errorMessage' | 'onAccept' | 'onBlur' | 'ref' | 'value'>;
|
|
1910
1835
|
declare const withMaskedInputField: <TProps extends ManagedMaskedInputProps>(Component: ComponentType<TProps>) => <TFieldValues extends FieldValues>(props: TProps & {
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
}) =>
|
|
1914
|
-
declare const MaskedInputField: <TFieldValues extends FieldValues>(props: FieldWrapperReservedProps & Omit<MaskedInputBaseProps, "label" | "
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
}) =>
|
|
1836
|
+
name: FieldPath<TFieldValues>;
|
|
1837
|
+
options?: RegisterOptions<TFieldValues>;
|
|
1838
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
1839
|
+
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"> & {
|
|
1840
|
+
name: react_hook_form.Path<TFieldValues>;
|
|
1841
|
+
options?: RegisterOptions<TFieldValues> | undefined;
|
|
1842
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
1918
1843
|
type MaskedInputFieldProps = ComponentProps<typeof MaskedInputField>;
|
|
1919
|
-
|
|
1920
|
-
//#region src/components/modal/types.d.ts
|
|
1844
|
+
|
|
1921
1845
|
type ModalOnClose = (reasonForClosing: ReasonForClosing) => void;
|
|
1922
1846
|
declare enum ModalWidthType {
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
|
|
1847
|
+
default = "default",
|
|
1848
|
+
narrow = "narrow",
|
|
1849
|
+
narrowOnDesktopAndTablet = "narrowOnDesktopAndTablet"
|
|
1926
1850
|
}
|
|
1927
1851
|
declare enum ModalVerticalPosition {
|
|
1928
|
-
|
|
1929
|
-
|
|
1852
|
+
centerOnTablet = "centerOnTablet",
|
|
1853
|
+
default = "default"
|
|
1930
1854
|
}
|
|
1931
1855
|
declare enum ReasonForClosing {
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
|
|
1856
|
+
closeButton = "closeButton",
|
|
1857
|
+
esc = "esc",
|
|
1858
|
+
overlay = "overlay"
|
|
1935
1859
|
}
|
|
1936
|
-
|
|
1937
|
-
//#region src/components/modal/Modal.d.ts
|
|
1860
|
+
|
|
1938
1861
|
interface ModalProps extends DesignSystemBaseProps {
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
}
|
|
1953
|
-
declare const Modal: (props: ModalProps) =>
|
|
1954
|
-
|
|
1955
|
-
//#region src/components/numberInputField/numberInput/NumberInput.d.ts
|
|
1862
|
+
children: ReactNode;
|
|
1863
|
+
className?: string;
|
|
1864
|
+
closeButtonAriaLabel?: string;
|
|
1865
|
+
hideCloseButton: boolean;
|
|
1866
|
+
id?: string;
|
|
1867
|
+
isOpen: boolean;
|
|
1868
|
+
onClose: ModalOnClose;
|
|
1869
|
+
/** When a string is passed, `Modal` will search for an element with such `id`, otherwise create one. */
|
|
1870
|
+
rootElement?: Element | string;
|
|
1871
|
+
title?: ReactNode;
|
|
1872
|
+
verticalPosition?: ModalVerticalPosition;
|
|
1873
|
+
widthType?: ModalWidthType;
|
|
1874
|
+
withoutPadding?: boolean;
|
|
1875
|
+
}
|
|
1876
|
+
declare const Modal: (props: ModalProps) => react.ReactPortal | null;
|
|
1877
|
+
|
|
1956
1878
|
interface NumberInputProps extends Omit<MaskedInputProps, 'maskOptions'> {
|
|
1957
|
-
|
|
1958
|
-
|
|
1959
|
-
|
|
1960
|
-
|
|
1961
|
-
}
|
|
1962
|
-
declare const NumberInput: (props: NumberInputProps) =>
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
}) => import("react").JSX.Element;
|
|
1879
|
+
allowNegative?: boolean;
|
|
1880
|
+
decimalPlaces?: number;
|
|
1881
|
+
integerPlaces?: number;
|
|
1882
|
+
maskOptions?: FactoryOpts;
|
|
1883
|
+
}
|
|
1884
|
+
declare const NumberInput: (props: NumberInputProps) => react_jsx_runtime.JSX.Element;
|
|
1885
|
+
|
|
1886
|
+
declare const NumberInputField: <TFieldValues extends react_hook_form.FieldValues>(props: NumberInputProps & {
|
|
1887
|
+
name: react_hook_form.Path<TFieldValues>;
|
|
1888
|
+
options?: react_hook_form.RegisterOptions<TFieldValues> | undefined;
|
|
1889
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
1969
1890
|
type NumberInputFieldProps = ComponentProps<typeof NumberInputField>;
|
|
1970
|
-
|
|
1971
|
-
//#region src/components/paper/types.d.ts
|
|
1891
|
+
|
|
1972
1892
|
declare enum PaperShadow {
|
|
1973
|
-
|
|
1974
|
-
|
|
1975
|
-
|
|
1893
|
+
lg = "lg",
|
|
1894
|
+
md = "md",
|
|
1895
|
+
sm = "sm"
|
|
1976
1896
|
}
|
|
1977
|
-
|
|
1978
|
-
//#region src/components/paper/Paper.d.ts
|
|
1897
|
+
|
|
1979
1898
|
interface PaperProps extends DesignSystemBaseProps, SsrProps, AriaAttributes {
|
|
1980
|
-
|
|
1981
|
-
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
|
|
1986
|
-
|
|
1987
|
-
|
|
1988
|
-
|
|
1989
|
-
|
|
1990
|
-
}
|
|
1991
|
-
declare const Paper: (props: PaperProps) =>
|
|
1992
|
-
|
|
1993
|
-
//#region src/components/phoneInputField/phoneInput/PhoneInput.d.ts
|
|
1899
|
+
as?: ElementType;
|
|
1900
|
+
children: ReactNode;
|
|
1901
|
+
className?: string;
|
|
1902
|
+
id?: string;
|
|
1903
|
+
overflow?: Overflow;
|
|
1904
|
+
padding?: Spacing;
|
|
1905
|
+
ref?: Ref<HTMLDivElement>;
|
|
1906
|
+
role?: AriaRole;
|
|
1907
|
+
shadow?: PaperShadow;
|
|
1908
|
+
tabIndex?: number;
|
|
1909
|
+
}
|
|
1910
|
+
declare const Paper: (props: PaperProps) => react_jsx_runtime.JSX.Element;
|
|
1911
|
+
|
|
1994
1912
|
interface PhoneInputProps extends Omit<MaskedInputProps, 'maskOptions'> {
|
|
1995
|
-
|
|
1996
|
-
|
|
1997
|
-
}
|
|
1998
|
-
declare const PhoneInput: (props: PhoneInputProps) =>
|
|
1999
|
-
|
|
2000
|
-
|
|
2001
|
-
|
|
2002
|
-
|
|
2003
|
-
|
|
2004
|
-
}) => import("react").JSX.Element;
|
|
1913
|
+
maskOptions?: FactoryOpts;
|
|
1914
|
+
prefixColor?: Property.Color;
|
|
1915
|
+
}
|
|
1916
|
+
declare const PhoneInput: (props: PhoneInputProps) => react_jsx_runtime.JSX.Element;
|
|
1917
|
+
|
|
1918
|
+
declare const PhoneInputField: <TFieldValues extends react_hook_form.FieldValues>(props: PhoneInputProps & {
|
|
1919
|
+
name: react_hook_form.Path<TFieldValues>;
|
|
1920
|
+
options?: react_hook_form.RegisterOptions<TFieldValues> | undefined;
|
|
1921
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
2005
1922
|
type PhoneInputFieldProps = ComponentProps<typeof PhoneInputField>;
|
|
2006
|
-
|
|
2007
|
-
//#region src/components/progressPaper/progressStepper/ProgressStepper.d.ts
|
|
1923
|
+
|
|
2008
1924
|
interface ProgressDefinition extends AriaAttributes {
|
|
2009
|
-
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
|
|
2013
|
-
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
|
|
2019
|
-
|
|
2020
|
-
|
|
2021
|
-
|
|
2022
|
-
|
|
2023
|
-
|
|
2024
|
-
|
|
2025
|
-
|
|
2026
|
-
|
|
2027
|
-
|
|
2028
|
-
|
|
2029
|
-
|
|
2030
|
-
|
|
2031
|
-
|
|
2032
|
-
|
|
2033
|
-
|
|
2034
|
-
|
|
2035
|
-
|
|
2036
|
-
|
|
2037
|
-
}
|
|
2038
|
-
|
|
2039
|
-
//#region src/components/progressPaper/ProgressPaper.d.ts
|
|
1925
|
+
activeStepIndex: number;
|
|
1926
|
+
/**
|
|
1927
|
+
* Accessible label for the progress bar, e.g. "Step progress".
|
|
1928
|
+
* Maps directly to the native `aria-label` attribute.
|
|
1929
|
+
*/
|
|
1930
|
+
'aria-label'?: string;
|
|
1931
|
+
/**
|
|
1932
|
+
* Maximum value for the progress bar.
|
|
1933
|
+
* Defaults to `numberOfSteps`.
|
|
1934
|
+
*/
|
|
1935
|
+
'aria-valuemax'?: number;
|
|
1936
|
+
/**
|
|
1937
|
+
* Minimum value for the progress bar.
|
|
1938
|
+
* Defaults to `1`.
|
|
1939
|
+
*/
|
|
1940
|
+
'aria-valuemin'?: number;
|
|
1941
|
+
/**
|
|
1942
|
+
* Current value for the progress bar.
|
|
1943
|
+
* Defaults to `activeStepIndex + 1`.
|
|
1944
|
+
*/
|
|
1945
|
+
'aria-valuenow'?: number;
|
|
1946
|
+
/**
|
|
1947
|
+
* Accessible text describing the current progress value, e.g. "Step 3 of 5".
|
|
1948
|
+
* Maps directly to the native `aria-valuetext` attribute.
|
|
1949
|
+
*/
|
|
1950
|
+
'aria-valuetext'?: string;
|
|
1951
|
+
numberOfSteps: number;
|
|
1952
|
+
role?: AriaRole;
|
|
1953
|
+
}
|
|
1954
|
+
|
|
2040
1955
|
interface ProgressPaperProps extends PaperProps, SsrProps {
|
|
2041
|
-
|
|
1956
|
+
progressDefinition: ProgressDefinition;
|
|
2042
1957
|
}
|
|
2043
|
-
declare const ProgressPaper: (props: ProgressPaperProps) =>
|
|
2044
|
-
|
|
2045
|
-
//#region src/components/radioField/types.d.ts
|
|
1958
|
+
declare const ProgressPaper: (props: ProgressPaperProps) => react_jsx_runtime.JSX.Element;
|
|
1959
|
+
|
|
2046
1960
|
declare enum RadioPosition {
|
|
2047
|
-
|
|
2048
|
-
|
|
1961
|
+
left = "left",
|
|
1962
|
+
right = "right"
|
|
2049
1963
|
}
|
|
2050
1964
|
interface RadioGeneralProps extends AriaAttributes {
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
|
|
2058
|
-
|
|
2059
|
-
|
|
2060
|
-
}
|
|
2061
|
-
|
|
2062
|
-
//#region src/components/radioButtonField/types.d.ts
|
|
1965
|
+
checked?: boolean;
|
|
1966
|
+
disabled?: boolean;
|
|
1967
|
+
id?: string;
|
|
1968
|
+
invalid?: boolean;
|
|
1969
|
+
name: string;
|
|
1970
|
+
onBlur?: (event: FocusEvent<HTMLInputElement>) => void;
|
|
1971
|
+
onChange?: (event: ChangeEvent<HTMLInputElement>) => void;
|
|
1972
|
+
role?: AriaRole;
|
|
1973
|
+
value: string;
|
|
1974
|
+
}
|
|
1975
|
+
|
|
2063
1976
|
interface RadioButtonLabel {
|
|
2064
|
-
|
|
2065
|
-
|
|
1977
|
+
main: ReactNode;
|
|
1978
|
+
top?: ReactNode;
|
|
1979
|
+
verticalAlignment?: JustifyContent;
|
|
2066
1980
|
}
|
|
2067
|
-
|
|
2068
|
-
//#region src/components/radioButtonField/radioButton/RadioButton.d.ts
|
|
1981
|
+
|
|
2069
1982
|
interface RadioButtonProps extends RadioGeneralProps, DesignSystemBaseProps {
|
|
2070
|
-
|
|
2071
|
-
|
|
2072
|
-
|
|
1983
|
+
errorMessage?: ReactNode;
|
|
1984
|
+
label: RadioButtonLabel | ReactNode;
|
|
1985
|
+
ref?: Ref<HTMLInputElement>;
|
|
2073
1986
|
}
|
|
2074
|
-
declare const RadioButton: (props: RadioButtonProps) =>
|
|
2075
|
-
|
|
2076
|
-
//#region src/components/radioButtonField/RadioButtonField.d.ts
|
|
1987
|
+
declare const RadioButton: (props: RadioButtonProps) => react_jsx_runtime.JSX.Element;
|
|
1988
|
+
|
|
2077
1989
|
interface RadioButtonFieldProps extends Omit<RadioButtonProps, 'onChange'> {
|
|
2078
|
-
|
|
2079
|
-
|
|
1990
|
+
name: string;
|
|
1991
|
+
options?: RegisterOptions;
|
|
2080
1992
|
}
|
|
2081
|
-
declare const RadioButtonField: (props: RadioButtonFieldProps) =>
|
|
2082
|
-
|
|
2083
|
-
//#region src/components/radioButtonGroupField/types.d.ts
|
|
1993
|
+
declare const RadioButtonField: (props: RadioButtonFieldProps) => react_jsx_runtime.JSX.Element;
|
|
1994
|
+
|
|
2084
1995
|
interface RadioButtonGroupItem extends AriaAttributes {
|
|
2085
|
-
|
|
2086
|
-
|
|
2087
|
-
|
|
2088
|
-
|
|
1996
|
+
id?: string;
|
|
1997
|
+
label: RadioButtonLabel;
|
|
1998
|
+
role?: AriaRole;
|
|
1999
|
+
value: string;
|
|
2089
2000
|
}
|
|
2090
2001
|
declare enum RadioButtonGroupLayout {
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
}
|
|
2099
|
-
|
|
2100
|
-
//#region src/components/radioButtonGroupField/radioButtonGroupControl/RadioButtonGroupControl.d.ts
|
|
2002
|
+
flex = "flex",
|
|
2003
|
+
grid = "grid",
|
|
2004
|
+
/** Special layout ensuring that single item is not stretched to full width alone.
|
|
2005
|
+
* If there is only one or two items, they are displayed in 3-column layout.
|
|
2006
|
+
* Works only up to 6 items; if there are more, it behaves like `flex`.
|
|
2007
|
+
*/
|
|
2008
|
+
smartGrid = "smartGrid"
|
|
2009
|
+
}
|
|
2010
|
+
|
|
2101
2011
|
interface RadioButtonGroupControlProps extends DesignSystemBaseProps, FieldControlProps {
|
|
2102
|
-
|
|
2103
|
-
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
|
|
2107
|
-
|
|
2108
|
-
|
|
2109
|
-
|
|
2110
|
-
|
|
2111
|
-
|
|
2112
|
-
|
|
2113
|
-
}
|
|
2114
|
-
declare const RadioButtonGroupControl: (props: RadioButtonGroupControlProps) =>
|
|
2115
|
-
|
|
2116
|
-
//#region src/components/radioButtonGroupField/radioButtonGroup/RadioButtonGroup.d.ts
|
|
2012
|
+
buttonsLayout?: RadioButtonGroupLayout;
|
|
2013
|
+
controlWidth?: Property.Width;
|
|
2014
|
+
disabled?: boolean;
|
|
2015
|
+
gridColumns?: number;
|
|
2016
|
+
itemMinWidth?: Property.Width;
|
|
2017
|
+
items: RadioButtonGroupItem[];
|
|
2018
|
+
name: string;
|
|
2019
|
+
onBlur?: ((event: FocusEvent<HTMLInputElement>) => void) | undefined;
|
|
2020
|
+
onChange?: ((event: ChangeEvent<HTMLInputElement>) => void) | undefined;
|
|
2021
|
+
ref?: Ref<HTMLInputElement>;
|
|
2022
|
+
value?: string;
|
|
2023
|
+
}
|
|
2024
|
+
declare const RadioButtonGroupControl: (props: RadioButtonGroupControlProps) => react_jsx_runtime.JSX.Element;
|
|
2025
|
+
|
|
2117
2026
|
declare const RadioButtonGroupBase: {
|
|
2118
|
-
|
|
2119
|
-
|
|
2027
|
+
(props: FieldWrapperReservedProps & Omit<RadioButtonGroupControlProps, "label" | "addons" | "controlMobileWidth" | "controlSectionWidth" | "controlWidth" | "errorMessage" | "hiddenHintText" | "hintText" | "labelAs" | "labelHiddenText" | "labelId" | "labelSuffix" | "layout" | "note" | "optionality" | "successMessage" | "tooltip">): react_jsx_runtime.JSX.Element;
|
|
2028
|
+
displayName: string;
|
|
2120
2029
|
};
|
|
2121
|
-
declare const RadioButtonGroup: (props: ComponentProps<typeof RadioButtonGroupBase>) =>
|
|
2030
|
+
declare const RadioButtonGroup: (props: ComponentProps<typeof RadioButtonGroupBase>) => react_jsx_runtime.JSX.Element;
|
|
2122
2031
|
type RadioButtonGroupProps = ComponentProps<typeof RadioButtonGroup>;
|
|
2123
|
-
|
|
2124
|
-
//#region src/components/radioButtonGroupField/RadioButtonGroupField.d.ts
|
|
2032
|
+
|
|
2125
2033
|
interface RadioButtonGroupFieldProps extends Omit<RadioButtonGroupProps, 'onBlur' | 'onChange' | 'value'> {
|
|
2126
|
-
|
|
2127
|
-
|
|
2034
|
+
name: string;
|
|
2035
|
+
options?: RegisterOptions;
|
|
2128
2036
|
}
|
|
2129
|
-
declare const RadioButtonGroupField: (props: RadioButtonGroupFieldProps) =>
|
|
2130
|
-
|
|
2131
|
-
//#region src/components/radioField/radioControl/RadioControl.d.ts
|
|
2037
|
+
declare const RadioButtonGroupField: (props: RadioButtonGroupFieldProps) => react_jsx_runtime.JSX.Element;
|
|
2038
|
+
|
|
2132
2039
|
interface RadioControlProps extends DesignSystemBaseProps, RadioGeneralProps {
|
|
2133
|
-
|
|
2040
|
+
ref?: Ref<HTMLInputElement>;
|
|
2134
2041
|
}
|
|
2135
|
-
declare const RadioControl: (props: RadioControlProps) =>
|
|
2136
|
-
|
|
2137
|
-
//#region src/components/radioField/radio/Radio.d.ts
|
|
2042
|
+
declare const RadioControl: (props: RadioControlProps) => react_jsx_runtime.JSX.Element;
|
|
2043
|
+
|
|
2138
2044
|
interface RadioProps extends RadioControlProps, InputLabelPassthroughProps, DesignSystemBaseProps {
|
|
2139
|
-
|
|
2140
|
-
|
|
2141
|
-
|
|
2142
|
-
|
|
2143
|
-
}
|
|
2144
|
-
declare const Radio: (props: RadioProps) =>
|
|
2145
|
-
|
|
2146
|
-
//#region src/components/radioField/RadioField.d.ts
|
|
2045
|
+
errorMessage?: ReactNode;
|
|
2046
|
+
labelColor?: string;
|
|
2047
|
+
position?: RadioPosition;
|
|
2048
|
+
tooltipPosition?: LabelTooltipPosition;
|
|
2049
|
+
}
|
|
2050
|
+
declare const Radio: (props: RadioProps) => react_jsx_runtime.JSX.Element;
|
|
2051
|
+
|
|
2147
2052
|
interface RadioFieldProps extends Omit<RadioProps, 'onChange'> {
|
|
2148
|
-
|
|
2149
|
-
|
|
2053
|
+
name: string;
|
|
2054
|
+
options?: RegisterOptions;
|
|
2150
2055
|
}
|
|
2151
|
-
declare const RadioField: (props: RadioFieldProps) =>
|
|
2152
|
-
|
|
2153
|
-
//#region src/components/radioGroupField/types.d.ts
|
|
2056
|
+
declare const RadioField: (props: RadioFieldProps) => react_jsx_runtime.JSX.Element;
|
|
2057
|
+
|
|
2154
2058
|
interface RadioGroupItem extends InputLabelPassthroughProps, AriaAttributes {
|
|
2155
|
-
|
|
2156
|
-
|
|
2157
|
-
|
|
2059
|
+
id?: string;
|
|
2060
|
+
role?: AriaRole;
|
|
2061
|
+
value: string;
|
|
2158
2062
|
}
|
|
2159
2063
|
declare enum RadioGroupDirection {
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
|
-
|
|
2064
|
+
column = "column",
|
|
2065
|
+
columnReverse = "columnReverse",
|
|
2066
|
+
row = "row",
|
|
2067
|
+
rowReverse = "rowReverse"
|
|
2164
2068
|
}
|
|
2165
|
-
|
|
2166
|
-
//#region src/components/radioGroupField/radioGroupControl/RadioGroupControl.d.ts
|
|
2069
|
+
|
|
2167
2070
|
interface RadioGroupControlProps extends FieldControlProps, DesignSystemBaseProps {
|
|
2168
|
-
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
|
|
2176
|
-
|
|
2177
|
-
|
|
2178
|
-
|
|
2179
|
-
|
|
2180
|
-
}
|
|
2181
|
-
declare const RadioGroupControl: (props: RadioGroupControlProps) =>
|
|
2182
|
-
|
|
2183
|
-
//#region src/components/radioGroupField/radioGroup/RadioGroup.d.ts
|
|
2071
|
+
columnGap?: Spacing;
|
|
2072
|
+
controlWidth?: Property.Width;
|
|
2073
|
+
direction: RadioGroupDirection;
|
|
2074
|
+
disabled?: boolean;
|
|
2075
|
+
itemMinWidth?: Property.Width;
|
|
2076
|
+
items: RadioGroupItem[];
|
|
2077
|
+
name: string;
|
|
2078
|
+
onBlur?: ((event: FocusEvent<HTMLInputElement>) => void) | undefined;
|
|
2079
|
+
onChange?: ((event: ChangeEvent<HTMLInputElement>) => void) | undefined;
|
|
2080
|
+
ref?: Ref<HTMLInputElement>;
|
|
2081
|
+
rowGap?: Spacing;
|
|
2082
|
+
value?: string;
|
|
2083
|
+
}
|
|
2084
|
+
declare const RadioGroupControl: (props: RadioGroupControlProps) => react_jsx_runtime.JSX.Element;
|
|
2085
|
+
|
|
2184
2086
|
declare const RadioGroupBase: {
|
|
2185
|
-
|
|
2186
|
-
|
|
2087
|
+
(props: FieldWrapperReservedProps & Omit<RadioGroupControlProps, "label" | "addons" | "controlMobileWidth" | "controlSectionWidth" | "controlWidth" | "errorMessage" | "hiddenHintText" | "hintText" | "labelAs" | "labelHiddenText" | "labelId" | "labelSuffix" | "layout" | "note" | "optionality" | "successMessage" | "tooltip">): react_jsx_runtime.JSX.Element;
|
|
2088
|
+
displayName: string;
|
|
2187
2089
|
};
|
|
2188
|
-
declare const RadioGroup: (props: ComponentProps<typeof RadioGroupBase>) =>
|
|
2090
|
+
declare const RadioGroup: (props: ComponentProps<typeof RadioGroupBase>) => react_jsx_runtime.JSX.Element;
|
|
2189
2091
|
type RadioGroupProps = ComponentProps<typeof RadioGroup>;
|
|
2190
|
-
|
|
2191
|
-
//#region src/components/radioGroupField/RadioGroupField.d.ts
|
|
2092
|
+
|
|
2192
2093
|
interface RadioGroupFieldProps extends Omit<RadioGroupProps, 'onBlur' | 'onChange' | 'value'> {
|
|
2193
|
-
|
|
2194
|
-
|
|
2094
|
+
name: string;
|
|
2095
|
+
options?: RegisterOptions;
|
|
2195
2096
|
}
|
|
2196
|
-
declare const RadioGroupField: (props: RadioGroupFieldProps) =>
|
|
2197
|
-
|
|
2198
|
-
//#region src/components/searchInput/SearchInput.d.ts
|
|
2097
|
+
declare const RadioGroupField: (props: RadioGroupFieldProps) => react_jsx_runtime.JSX.Element;
|
|
2098
|
+
|
|
2199
2099
|
interface SearchInputControlProps extends InputProps {
|
|
2200
|
-
|
|
2201
|
-
|
|
2202
|
-
|
|
2203
|
-
|
|
2100
|
+
buttonAction?: () => void;
|
|
2101
|
+
buttonText?: ReactNode;
|
|
2102
|
+
invalid?: boolean;
|
|
2103
|
+
placeholder?: string;
|
|
2204
2104
|
}
|
|
2205
2105
|
declare const SearchInput: {
|
|
2206
|
-
|
|
2207
|
-
|
|
2106
|
+
(props: FieldWrapperReservedProps & Omit<SearchInputControlProps, "label" | "addons" | "controlMobileWidth" | "controlSectionWidth" | "controlWidth" | "errorMessage" | "hiddenHintText" | "hintText" | "labelAs" | "labelHiddenText" | "labelId" | "labelSuffix" | "layout" | "note" | "optionality" | "successMessage" | "tooltip">): react_jsx_runtime.JSX.Element;
|
|
2107
|
+
displayName: string;
|
|
2208
2108
|
};
|
|
2209
2109
|
type SearchInputProps = ComponentProps<typeof SearchInput>;
|
|
2210
|
-
|
|
2211
|
-
//#region src/components/selectField/types.d.ts
|
|
2110
|
+
|
|
2212
2111
|
declare enum SelectVariant {
|
|
2213
|
-
|
|
2214
|
-
|
|
2112
|
+
inputLike = "inputLike",
|
|
2113
|
+
text = "text"
|
|
2215
2114
|
}
|
|
2216
2115
|
declare enum SelectItemOrderSource {
|
|
2217
|
-
|
|
2218
|
-
|
|
2116
|
+
formatter = "formatter",
|
|
2117
|
+
value = "value"
|
|
2219
2118
|
}
|
|
2220
2119
|
interface SelectItemOrder {
|
|
2221
|
-
|
|
2222
|
-
|
|
2120
|
+
compareFn?: (a: unknown, b: unknown) => number;
|
|
2121
|
+
source: SelectItemOrderSource;
|
|
2223
2122
|
}
|
|
2224
2123
|
type SelectItem = boolean | number | object | string | null;
|
|
2225
|
-
|
|
2226
|
-
//#region src/components/selectField/selectControl/SelectControl.d.ts
|
|
2124
|
+
|
|
2227
2125
|
interface SelectControlProps<TItem extends SelectItem> extends FieldControlProps, DesignSystemBaseProps {
|
|
2228
|
-
|
|
2229
|
-
|
|
2230
|
-
|
|
2231
|
-
|
|
2232
|
-
|
|
2233
|
-
|
|
2234
|
-
|
|
2235
|
-
|
|
2236
|
-
|
|
2237
|
-
|
|
2238
|
-
|
|
2239
|
-
|
|
2240
|
-
|
|
2241
|
-
|
|
2242
|
-
}
|
|
2243
|
-
declare const SelectControl: <TItem extends SelectItem>(props: SelectControlProps<TItem>) =>
|
|
2244
|
-
|
|
2245
|
-
//#region src/components/selectField/select/Select.d.ts
|
|
2126
|
+
ariaLabel?: string;
|
|
2127
|
+
disabled?: boolean;
|
|
2128
|
+
formatter?: Formatter<TItem, ReactNode>;
|
|
2129
|
+
getItemKey?: (item: TItem | null) => number | string;
|
|
2130
|
+
iconSystem?: IconSystemType;
|
|
2131
|
+
id?: string;
|
|
2132
|
+
itemOrder?: SelectItemOrder;
|
|
2133
|
+
items: TItem[];
|
|
2134
|
+
nilMessage?: string;
|
|
2135
|
+
onBlur?: FocusEventHandler<HTMLDivElement>;
|
|
2136
|
+
onChange: (item: TItem | null) => void;
|
|
2137
|
+
ref?: Ref<HTMLDivElement>;
|
|
2138
|
+
value: TItem | null;
|
|
2139
|
+
variant?: SelectVariant;
|
|
2140
|
+
}
|
|
2141
|
+
declare const SelectControl: <TItem extends SelectItem>(props: SelectControlProps<TItem>) => react_jsx_runtime.JSX.Element;
|
|
2142
|
+
|
|
2246
2143
|
type SelectProps<TItem extends SelectItem> = FieldWrapperReservedProps & SelectControlProps<TItem>;
|
|
2247
2144
|
declare const Select: <TItem extends SelectItem>(props: SelectProps<TItem>) => ReactElement;
|
|
2248
|
-
|
|
2249
|
-
//#region src/components/selectField/SelectField.d.ts
|
|
2145
|
+
|
|
2250
2146
|
interface SelectFieldProps<TItem extends SelectItem> extends Omit<SelectProps<TItem>, 'onChange' | 'value'> {
|
|
2251
|
-
|
|
2252
|
-
|
|
2253
|
-
|
|
2254
|
-
|
|
2255
|
-
}
|
|
2256
|
-
declare const SelectField: <TItem extends SelectItem>(props: SelectFieldProps<TItem>) =>
|
|
2257
|
-
|
|
2258
|
-
//#region src/components/sliderInputField/types.d.ts
|
|
2147
|
+
defaultValue?: TItem | null;
|
|
2148
|
+
name: string;
|
|
2149
|
+
options?: RegisterOptions;
|
|
2150
|
+
shouldResetInvalidValues?: boolean;
|
|
2151
|
+
}
|
|
2152
|
+
declare const SelectField: <TItem extends SelectItem>(props: SelectFieldProps<TItem>) => react_jsx_runtime.JSX.Element;
|
|
2153
|
+
|
|
2259
2154
|
declare enum SliderInputRoundingType {
|
|
2260
|
-
|
|
2261
|
-
|
|
2262
|
-
|
|
2263
|
-
|
|
2264
|
-
|
|
2265
|
-
|
|
2155
|
+
ceilBySteps = "ceilBySteps",
|
|
2156
|
+
ceilToThousands = "ceilToThousands",
|
|
2157
|
+
floorBySteps = "floorBySteps",
|
|
2158
|
+
floorToThousands = "floorToThousands",
|
|
2159
|
+
roundBySteps = "roundBySteps",
|
|
2160
|
+
roundToThousands = "roundToThousands"
|
|
2266
2161
|
}
|
|
2162
|
+
|
|
2267
2163
|
interface SliderBreakpoint {
|
|
2268
|
-
|
|
2269
|
-
|
|
2164
|
+
bottomBreakpoint: number;
|
|
2165
|
+
step: number;
|
|
2270
2166
|
}
|
|
2271
2167
|
interface SliderSteps {
|
|
2272
|
-
|
|
2273
|
-
|
|
2168
|
+
baseStep: number;
|
|
2169
|
+
breakpointList: SliderBreakpoint[];
|
|
2274
2170
|
}
|
|
2275
2171
|
declare enum SliderStepType {
|
|
2276
|
-
|
|
2277
|
-
|
|
2172
|
+
visuallyLinearByValue = "visuallyLinearByValue",
|
|
2173
|
+
visuallySameStepSize = "visuallySameStepSize"
|
|
2278
2174
|
}
|
|
2279
2175
|
interface SliderMinMaxLabels {
|
|
2280
|
-
|
|
2281
|
-
|
|
2176
|
+
max: ReactElement | string;
|
|
2177
|
+
min: ReactElement | string;
|
|
2282
2178
|
}
|
|
2283
2179
|
interface SliderAriaValueTextFormatterContext {
|
|
2284
|
-
|
|
2285
|
-
|
|
2180
|
+
clampMax?: number;
|
|
2181
|
+
clampMin?: number;
|
|
2286
2182
|
}
|
|
2287
2183
|
type SliderAriaValueTextFormatter = Formatter<number, string, SliderAriaValueTextFormatterContext>;
|
|
2288
2184
|
interface SliderInputLimitExceededLiveTextFormatterContext {
|
|
2289
|
-
|
|
2290
|
-
|
|
2291
|
-
|
|
2292
|
-
|
|
2293
|
-
|
|
2294
|
-
|
|
2295
|
-
|
|
2185
|
+
clampMax?: number;
|
|
2186
|
+
clampMin?: number;
|
|
2187
|
+
effectiveMax: number;
|
|
2188
|
+
effectiveMin: number;
|
|
2189
|
+
max: number;
|
|
2190
|
+
min: number;
|
|
2191
|
+
oldValue: number;
|
|
2296
2192
|
}
|
|
2297
2193
|
type SliderInputLimitExceededLiveTextFormatter = Formatter<number, string, SliderInputLimitExceededLiveTextFormatterContext>;
|
|
2298
|
-
|
|
2299
|
-
//#region src/components/sliderInputField/sliderInput/SliderInput.d.ts
|
|
2194
|
+
|
|
2300
2195
|
interface SliderInputProps extends DesignSystemBaseProps, InputLabelPassthroughProps {
|
|
2301
|
-
|
|
2302
|
-
|
|
2303
|
-
|
|
2304
|
-
|
|
2305
|
-
|
|
2306
|
-
|
|
2307
|
-
|
|
2308
|
-
|
|
2309
|
-
|
|
2310
|
-
|
|
2311
|
-
|
|
2312
|
-
|
|
2313
|
-
|
|
2314
|
-
|
|
2315
|
-
|
|
2316
|
-
|
|
2317
|
-
|
|
2318
|
-
|
|
2319
|
-
|
|
2320
|
-
|
|
2321
|
-
|
|
2322
|
-
|
|
2323
|
-
|
|
2324
|
-
|
|
2325
|
-
|
|
2326
|
-
|
|
2327
|
-
|
|
2328
|
-
|
|
2329
|
-
|
|
2330
|
-
|
|
2331
|
-
|
|
2332
|
-
|
|
2333
|
-
|
|
2334
|
-
|
|
2335
|
-
|
|
2336
|
-
|
|
2337
|
-
|
|
2338
|
-
|
|
2339
|
-
|
|
2340
|
-
|
|
2341
|
-
|
|
2342
|
-
|
|
2343
|
-
|
|
2344
|
-
|
|
2345
|
-
|
|
2346
|
-
|
|
2347
|
-
|
|
2196
|
+
ariaLabelForHandle?: string;
|
|
2197
|
+
ariaLabelledByForHandle?: string;
|
|
2198
|
+
ariaValueTextFormatter?: SliderAriaValueTextFormatter;
|
|
2199
|
+
/** The maximum value that the slider can be moved to. Even if the visible range allows higher values, the thumb cannot go above this limit. */
|
|
2200
|
+
clampMax?: number;
|
|
2201
|
+
/** The minimum value that the slider can be moved to. Even if the visible range allows lower values, the thumb cannot go below this limit. */
|
|
2202
|
+
clampMin?: number;
|
|
2203
|
+
colorInput?: string;
|
|
2204
|
+
/**
|
|
2205
|
+
* Number of decimal places permitted in the input mask. When greater than `0`, the slider value
|
|
2206
|
+
* is automatically rounded to this precision before being emitted via `onChange` / `onSliderChange`.
|
|
2207
|
+
* @default 0
|
|
2208
|
+
*/
|
|
2209
|
+
decimalPlaces?: number;
|
|
2210
|
+
disabled?: boolean;
|
|
2211
|
+
hintText?: ReactElement | string;
|
|
2212
|
+
id?: string;
|
|
2213
|
+
inputLimitExceededLiveTextFormatter?: SliderInputLimitExceededLiveTextFormatter;
|
|
2214
|
+
inputNote?: ReactElement | string;
|
|
2215
|
+
inputRoundingType?: SliderInputRoundingType;
|
|
2216
|
+
invalid?: boolean;
|
|
2217
|
+
isInputHidden?: boolean;
|
|
2218
|
+
max: number;
|
|
2219
|
+
min: number;
|
|
2220
|
+
minMaxLabels?: SliderMinMaxLabels;
|
|
2221
|
+
name: string;
|
|
2222
|
+
/**
|
|
2223
|
+
* Callback triggered when either the input field or the slider thumb loses focus.
|
|
2224
|
+
*/
|
|
2225
|
+
onBlur?: () => void;
|
|
2226
|
+
/**
|
|
2227
|
+
* Callback triggered after the value is finalized, either by completing slider movement or by finalizing input (onBlur or Enter).
|
|
2228
|
+
*/
|
|
2229
|
+
onChange?: (value: number) => void;
|
|
2230
|
+
/**
|
|
2231
|
+
* Callback triggered on every change in the input field, before the user blurs the field or presses Enter.
|
|
2232
|
+
* It is also called after completing slider movement or finalizing input (on Enter orBlur),
|
|
2233
|
+
* if the value needs to be adjusted (e.g., clamped to max if it exceeds the allowed maximum).
|
|
2234
|
+
*/
|
|
2235
|
+
onInputChange?: (value: string) => void;
|
|
2236
|
+
/**
|
|
2237
|
+
* Callback triggered on every slider value change during movement (e.g., while dragging the thumb).
|
|
2238
|
+
* Also called when the value is finalized via input (onBlur or Enter).
|
|
2239
|
+
* Useful when another slider or component should react immediately to this slider’s changes.
|
|
2240
|
+
*/
|
|
2241
|
+
onSliderChange?: (value: number) => void;
|
|
2242
|
+
prefix?: ReactNode;
|
|
2243
|
+
ref?: Ref<HTMLInputElement>;
|
|
2244
|
+
steps: SliderSteps;
|
|
2245
|
+
stepType: SliderStepType;
|
|
2246
|
+
suffix?: ReactNode;
|
|
2247
|
+
value: number;
|
|
2248
|
+
weight?: FontWeight;
|
|
2348
2249
|
}
|
|
2349
2250
|
/**
|
|
2350
2251
|
* The `SliderInput` component triggers the `onChange` callback only after the user either:
|
|
@@ -2360,442 +2261,409 @@ interface SliderInputProps extends DesignSystemBaseProps, InputLabelPassthroughP
|
|
|
2360
2261
|
* and `onInputChange` callbacks. These callbacks are triggered on every change during slider movement
|
|
2361
2262
|
* or while typing in the input field, before the user finalizes their selection with Enter or onBlur.
|
|
2362
2263
|
*/
|
|
2363
|
-
declare const SliderInput: (props: SliderInputProps) =>
|
|
2364
|
-
|
|
2365
|
-
//#region src/components/sliderInputField/slider/Slider.d.ts
|
|
2264
|
+
declare const SliderInput: (props: SliderInputProps) => react_jsx_runtime.JSX.Element;
|
|
2265
|
+
|
|
2366
2266
|
interface SliderProps extends DesignSystemBaseProps {
|
|
2367
|
-
|
|
2368
|
-
|
|
2369
|
-
|
|
2370
|
-
|
|
2371
|
-
|
|
2372
|
-
|
|
2373
|
-
|
|
2374
|
-
|
|
2375
|
-
|
|
2376
|
-
|
|
2377
|
-
|
|
2378
|
-
|
|
2379
|
-
|
|
2380
|
-
|
|
2381
|
-
|
|
2382
|
-
|
|
2383
|
-
|
|
2384
|
-
|
|
2385
|
-
|
|
2386
|
-
}
|
|
2387
|
-
declare const Slider: (props: SliderProps) =>
|
|
2388
|
-
|
|
2389
|
-
//#region src/components/sliderInputField/SliderInputField.d.ts
|
|
2267
|
+
ariaLabelForHandle?: string;
|
|
2268
|
+
ariaLabelledByForHandle?: string;
|
|
2269
|
+
ariaValueTextFormatter?: SliderAriaValueTextFormatter;
|
|
2270
|
+
/** The maximum value that the slider can be moved to. Even if the visible range allows higher values, the thumb cannot go above this limit. */
|
|
2271
|
+
clampMax?: number;
|
|
2272
|
+
/** The minimum value that the slider can be moved to. Even if the visible range allows lower values, the thumb cannot go below this limit. */
|
|
2273
|
+
clampMin?: number;
|
|
2274
|
+
disable?: boolean | undefined;
|
|
2275
|
+
max: number;
|
|
2276
|
+
min: number;
|
|
2277
|
+
minMaxLabels: SliderMinMaxLabels | undefined;
|
|
2278
|
+
onBlur?: FocusEventHandler<HTMLDivElement>;
|
|
2279
|
+
/** it is triggered during movement */
|
|
2280
|
+
onChange: (value: number) => void;
|
|
2281
|
+
/** it is triggered after the user drops the handle */
|
|
2282
|
+
onFinalChange: (value: number) => void;
|
|
2283
|
+
steps: SliderSteps;
|
|
2284
|
+
stepType: SliderStepType;
|
|
2285
|
+
value: number;
|
|
2286
|
+
}
|
|
2287
|
+
declare const Slider: (props: SliderProps) => react_jsx_runtime.JSX.Element;
|
|
2288
|
+
|
|
2390
2289
|
interface SliderInputFieldProps extends Omit<SliderInputProps, 'onChange' | 'value'> {
|
|
2391
|
-
|
|
2290
|
+
options?: RegisterOptions;
|
|
2392
2291
|
}
|
|
2393
2292
|
/**
|
|
2394
2293
|
* Note: You must set the `defaultValues` for this field in `useForm`. Without it, the field throw error.
|
|
2395
2294
|
*/
|
|
2396
|
-
declare const SliderInputField: (props: SliderInputFieldProps) =>
|
|
2397
|
-
|
|
2398
|
-
//#region src/components/spanButton/SpanButton.d.ts
|
|
2295
|
+
declare const SliderInputField: (props: SliderInputFieldProps) => react_jsx_runtime.JSX.Element;
|
|
2296
|
+
|
|
2399
2297
|
interface SpanButtonProps extends DesignSystemBaseProps, AriaAttributes {
|
|
2400
|
-
|
|
2401
|
-
|
|
2402
|
-
|
|
2403
|
-
|
|
2404
|
-
|
|
2405
|
-
|
|
2406
|
-
|
|
2407
|
-
|
|
2408
|
-
|
|
2409
|
-
}
|
|
2410
|
-
declare const SpanButton: (props: SpanButtonProps) =>
|
|
2411
|
-
|
|
2412
|
-
//#region src/components/stack/types.d.ts
|
|
2298
|
+
borderRadius?: BorderRadius;
|
|
2299
|
+
children?: ReactNode;
|
|
2300
|
+
className?: string;
|
|
2301
|
+
disabled?: boolean;
|
|
2302
|
+
id?: string;
|
|
2303
|
+
onClick?: (event: MouseEvent<HTMLButtonElement>) => void;
|
|
2304
|
+
onMouseDown?: (event: MouseEvent<HTMLButtonElement>) => void;
|
|
2305
|
+
onMouseUp?: (event: MouseEvent<HTMLButtonElement>) => void;
|
|
2306
|
+
onTouchStart?: (event: TouchEvent<HTMLButtonElement>) => void;
|
|
2307
|
+
}
|
|
2308
|
+
declare const SpanButton: (props: SpanButtonProps) => react_jsx_runtime.JSX.Element;
|
|
2309
|
+
|
|
2413
2310
|
declare enum StackDirection {
|
|
2414
|
-
|
|
2415
|
-
|
|
2416
|
-
|
|
2417
|
-
|
|
2311
|
+
column = "column",
|
|
2312
|
+
columnReverse = "columnReverse",
|
|
2313
|
+
row = "row",
|
|
2314
|
+
rowReverse = "rowReverse"
|
|
2418
2315
|
}
|
|
2419
|
-
|
|
2420
|
-
//#region src/components/stack/Stack.d.ts
|
|
2316
|
+
|
|
2421
2317
|
interface StackProps extends AriaAttributes {
|
|
2422
|
-
|
|
2423
|
-
|
|
2424
|
-
|
|
2425
|
-
|
|
2426
|
-
|
|
2427
|
-
|
|
2428
|
-
|
|
2429
|
-
|
|
2430
|
-
|
|
2431
|
-
|
|
2432
|
-
|
|
2433
|
-
}
|
|
2434
|
-
declare const Stack: (props: StackProps) =>
|
|
2435
|
-
|
|
2436
|
-
//#region src/components/stepper/types.d.ts
|
|
2318
|
+
as?: ElementType;
|
|
2319
|
+
children?: ReactNode;
|
|
2320
|
+
className?: string;
|
|
2321
|
+
direction?: StackDirection;
|
|
2322
|
+
fullWidth?: boolean;
|
|
2323
|
+
gap?: Spacing;
|
|
2324
|
+
id?: string;
|
|
2325
|
+
ref?: Ref<HTMLDivElement>;
|
|
2326
|
+
role?: AriaRole;
|
|
2327
|
+
tabIndex?: number;
|
|
2328
|
+
wrap?: FlexWrap;
|
|
2329
|
+
}
|
|
2330
|
+
declare const Stack: (props: StackProps) => react_jsx_runtime.JSX.Element;
|
|
2331
|
+
|
|
2437
2332
|
declare enum StepperVariant {
|
|
2438
|
-
|
|
2439
|
-
|
|
2333
|
+
horizontal = "horizontal",
|
|
2334
|
+
vertical = "vertical"
|
|
2440
2335
|
}
|
|
2441
|
-
|
|
2442
|
-
//#region src/components/stepper/stepperItem/StepperItem.d.ts
|
|
2336
|
+
|
|
2443
2337
|
interface StepperItemProps {
|
|
2444
|
-
|
|
2445
|
-
|
|
2446
|
-
|
|
2447
|
-
|
|
2448
|
-
|
|
2449
|
-
|
|
2450
|
-
|
|
2451
|
-
|
|
2452
|
-
}
|
|
2453
|
-
|
|
2454
|
-
//#region src/components/stepper/Stepper.d.ts
|
|
2338
|
+
disabled?: boolean;
|
|
2339
|
+
id: string;
|
|
2340
|
+
index: number;
|
|
2341
|
+
isActive?: boolean;
|
|
2342
|
+
isCompleted?: boolean;
|
|
2343
|
+
onClick?: () => void;
|
|
2344
|
+
text?: ReactNode | string;
|
|
2345
|
+
variant: StepperVariant;
|
|
2346
|
+
}
|
|
2347
|
+
|
|
2455
2348
|
interface StepperProps {
|
|
2456
|
-
|
|
2457
|
-
|
|
2349
|
+
steps: StepperItemProps[];
|
|
2350
|
+
variant: StepperVariant;
|
|
2458
2351
|
}
|
|
2459
|
-
declare const Stepper: (props: StepperProps) =>
|
|
2460
|
-
|
|
2461
|
-
//#region src/components/storeButton/types.d.ts
|
|
2352
|
+
declare const Stepper: (props: StepperProps) => react_jsx_runtime.JSX.Element;
|
|
2353
|
+
|
|
2462
2354
|
declare enum StoreButtonVariant {
|
|
2463
|
-
|
|
2464
|
-
|
|
2355
|
+
android = "android",
|
|
2356
|
+
apple = "apple"
|
|
2465
2357
|
}
|
|
2466
2358
|
declare enum StoreButtonSize {
|
|
2467
|
-
|
|
2468
|
-
|
|
2359
|
+
big = "big",
|
|
2360
|
+
small = "small"
|
|
2469
2361
|
}
|
|
2470
|
-
|
|
2471
|
-
//#region src/components/storeButton/StoreButton.d.ts
|
|
2362
|
+
|
|
2472
2363
|
interface StoreButtonProps {
|
|
2473
|
-
|
|
2474
|
-
|
|
2475
|
-
|
|
2364
|
+
href: string;
|
|
2365
|
+
size: StoreButtonSize;
|
|
2366
|
+
variant: StoreButtonVariant;
|
|
2476
2367
|
}
|
|
2477
|
-
declare const StoreButton: (props: StoreButtonProps) =>
|
|
2478
|
-
|
|
2479
|
-
//#region src/components/table/types.d.ts
|
|
2368
|
+
declare const StoreButton: (props: StoreButtonProps) => react_jsx_runtime.JSX.Element;
|
|
2369
|
+
|
|
2480
2370
|
declare enum TableVariant {
|
|
2481
|
-
|
|
2482
|
-
|
|
2483
|
-
|
|
2371
|
+
exchange = "exchange",
|
|
2372
|
+
simple = "simple",
|
|
2373
|
+
simpleWithoutShadow = "simpleWithoutShadow"
|
|
2484
2374
|
}
|
|
2485
2375
|
declare enum TableTextAlign {
|
|
2486
|
-
|
|
2487
|
-
|
|
2488
|
-
|
|
2376
|
+
center = "center",
|
|
2377
|
+
left = "left",
|
|
2378
|
+
right = "right"
|
|
2489
2379
|
}
|
|
2490
2380
|
declare enum TableHeadScope {
|
|
2491
|
-
|
|
2492
|
-
|
|
2493
|
-
|
|
2494
|
-
|
|
2381
|
+
col = "col",
|
|
2382
|
+
colgroup = "colgroup",
|
|
2383
|
+
row = "row",
|
|
2384
|
+
rowgroup = "rowgroup"
|
|
2495
2385
|
}
|
|
2496
|
-
|
|
2497
|
-
//#region src/components/table/table/Table.d.ts
|
|
2386
|
+
|
|
2498
2387
|
interface TableProps {
|
|
2499
|
-
|
|
2500
|
-
|
|
2501
|
-
|
|
2388
|
+
children: ReactNode;
|
|
2389
|
+
variant: TableVariant;
|
|
2390
|
+
width?: Property.Width;
|
|
2502
2391
|
}
|
|
2503
|
-
declare const Table: (props: TableProps) =>
|
|
2504
|
-
|
|
2505
|
-
//#region src/components/table/tableBody/TableBody.d.ts
|
|
2392
|
+
declare const Table: (props: TableProps) => react_jsx_runtime.JSX.Element;
|
|
2393
|
+
|
|
2506
2394
|
interface TableBodyProps {
|
|
2507
|
-
|
|
2395
|
+
children: ReactNode;
|
|
2508
2396
|
}
|
|
2509
|
-
declare const TableBody: (props: TableBodyProps) =>
|
|
2510
|
-
|
|
2511
|
-
//#region src/components/table/tableData/TableData.d.ts
|
|
2397
|
+
declare const TableBody: (props: TableBodyProps) => react_jsx_runtime.JSX.Element;
|
|
2398
|
+
|
|
2512
2399
|
interface TableDataProps extends DesignSystemBaseProps {
|
|
2513
|
-
|
|
2514
|
-
|
|
2515
|
-
|
|
2516
|
-
|
|
2517
|
-
|
|
2518
|
-
}
|
|
2519
|
-
declare const TableData: (props: TableDataProps) =>
|
|
2520
|
-
|
|
2521
|
-
//#region src/components/table/tableHead/TableHead.d.ts
|
|
2400
|
+
children: ReactNode;
|
|
2401
|
+
delimiter?: boolean;
|
|
2402
|
+
headers?: string;
|
|
2403
|
+
textAlign?: TableTextAlign;
|
|
2404
|
+
variant: TableVariant;
|
|
2405
|
+
}
|
|
2406
|
+
declare const TableData: (props: TableDataProps) => react_jsx_runtime.JSX.Element;
|
|
2407
|
+
|
|
2522
2408
|
interface TableHeadProps {
|
|
2523
|
-
|
|
2409
|
+
children: ReactNode;
|
|
2524
2410
|
}
|
|
2525
|
-
declare const TableHead: (props: TableHeadProps) =>
|
|
2526
|
-
|
|
2527
|
-
//#region src/components/table/tableHeadData/TableHeadData.d.ts
|
|
2411
|
+
declare const TableHead: (props: TableHeadProps) => react_jsx_runtime.JSX.Element;
|
|
2412
|
+
|
|
2528
2413
|
interface TableHeadDataProps extends DesignSystemBaseProps {
|
|
2529
|
-
|
|
2530
|
-
|
|
2531
|
-
|
|
2532
|
-
|
|
2533
|
-
|
|
2534
|
-
|
|
2535
|
-
|
|
2536
|
-
|
|
2537
|
-
}
|
|
2538
|
-
declare const TableHeadData: (props: TableHeadDataProps) =>
|
|
2539
|
-
|
|
2540
|
-
//#region src/components/table/tableRow/TableRow.d.ts
|
|
2414
|
+
abbr?: string;
|
|
2415
|
+
children: ReactNode;
|
|
2416
|
+
delimiter?: boolean;
|
|
2417
|
+
headers?: string;
|
|
2418
|
+
scope?: TableHeadScope;
|
|
2419
|
+
textAlign?: TableTextAlign;
|
|
2420
|
+
variant: TableVariant;
|
|
2421
|
+
width?: Property.Width;
|
|
2422
|
+
}
|
|
2423
|
+
declare const TableHeadData: (props: TableHeadDataProps) => react_jsx_runtime.JSX.Element;
|
|
2424
|
+
|
|
2541
2425
|
interface TableRowProps extends DesignSystemBaseProps {
|
|
2542
|
-
|
|
2543
|
-
|
|
2426
|
+
children: ReactNode;
|
|
2427
|
+
variant: TableVariant;
|
|
2544
2428
|
}
|
|
2545
|
-
declare const TableRow: (props: TableRowProps) =>
|
|
2546
|
-
|
|
2547
|
-
//#region src/components/tabs/types.d.ts
|
|
2429
|
+
declare const TableRow: (props: TableRowProps) => react_jsx_runtime.JSX.Element;
|
|
2430
|
+
|
|
2548
2431
|
declare enum TabsVariant {
|
|
2549
|
-
|
|
2550
|
-
|
|
2551
|
-
|
|
2552
|
-
|
|
2432
|
+
infoTags = "infoTags",
|
|
2433
|
+
primary = "primary",
|
|
2434
|
+
secondary = "secondary",
|
|
2435
|
+
tertiary = "tertiary"
|
|
2553
2436
|
}
|
|
2554
2437
|
declare enum TabsSize {
|
|
2555
|
-
|
|
2556
|
-
|
|
2557
|
-
|
|
2558
|
-
|
|
2438
|
+
xs = "xs",
|
|
2439
|
+
sm = "sm",
|
|
2440
|
+
md = "md",
|
|
2441
|
+
lg = "lg"
|
|
2559
2442
|
}
|
|
2560
2443
|
declare enum TabsActiveTabDefaultPosition {
|
|
2561
|
-
|
|
2562
|
-
|
|
2563
|
-
|
|
2444
|
+
center = "center",
|
|
2445
|
+
noScrolling = "noScrolling",
|
|
2446
|
+
scrollOnlyWhenNotVisible = "scrollOnlyWhenNotVisible"
|
|
2564
2447
|
}
|
|
2565
2448
|
declare enum TabsWrap {
|
|
2566
|
-
|
|
2567
|
-
|
|
2568
|
-
|
|
2569
|
-
|
|
2570
|
-
|
|
2571
|
-
|
|
2572
|
-
|
|
2573
|
-
|
|
2449
|
+
noWrap = "noWrap",
|
|
2450
|
+
/**
|
|
2451
|
+
* Tabs wrap to the next line based on the container width instead of scrolling.
|
|
2452
|
+
* Each tab sizes according to its text content.
|
|
2453
|
+
* This option is intended only for {@link TabsVariant.infoTags}.
|
|
2454
|
+
* When enabled, {@link TabsActiveTabDefaultPosition} has no effect.
|
|
2455
|
+
*/
|
|
2456
|
+
wrap = "wrap"
|
|
2574
2457
|
}
|
|
2575
2458
|
interface TabItemType {
|
|
2576
|
-
|
|
2577
|
-
|
|
2578
|
-
|
|
2579
|
-
|
|
2580
|
-
|
|
2581
|
-
|
|
2582
|
-
|
|
2583
|
-
|
|
2459
|
+
ariaControls?: string;
|
|
2460
|
+
as?: ElementType;
|
|
2461
|
+
href?: string;
|
|
2462
|
+
icon?: ReactNode;
|
|
2463
|
+
id: string;
|
|
2464
|
+
isActive?: boolean;
|
|
2465
|
+
onActivate?: () => void;
|
|
2466
|
+
text?: ReactElement | string;
|
|
2584
2467
|
}
|
|
2585
2468
|
interface TabsType {
|
|
2586
|
-
|
|
2587
|
-
|
|
2588
|
-
|
|
2589
|
-
|
|
2590
|
-
|
|
2591
|
-
|
|
2592
|
-
|
|
2593
|
-
|
|
2594
|
-
|
|
2595
|
-
|
|
2596
|
-
|
|
2597
|
-
|
|
2598
|
-
|
|
2599
|
-
|
|
2600
|
-
|
|
2601
|
-
|
|
2602
|
-
}
|
|
2603
|
-
|
|
2604
|
-
|
|
2605
|
-
|
|
2469
|
+
activeTabDefaultPosition: TabsActiveTabDefaultPosition;
|
|
2470
|
+
fullWidth?: boolean;
|
|
2471
|
+
/**
|
|
2472
|
+
* Controls the gap between individual tab items.
|
|
2473
|
+
* Defaults to {@link Spacing.xxs}.
|
|
2474
|
+
*/
|
|
2475
|
+
gap?: Spacing;
|
|
2476
|
+
/**
|
|
2477
|
+
* Removes the border and background from the tabs container.
|
|
2478
|
+
* Defaults to `false`.
|
|
2479
|
+
*/
|
|
2480
|
+
noBorder?: boolean;
|
|
2481
|
+
size?: TabsSize;
|
|
2482
|
+
tabItems: TabItemType[];
|
|
2483
|
+
variant: TabsVariant;
|
|
2484
|
+
wrap?: TabsWrap;
|
|
2485
|
+
}
|
|
2486
|
+
|
|
2487
|
+
interface TabsProps extends TabsType, DesignSystemBaseProps {
|
|
2488
|
+
}
|
|
2606
2489
|
/**
|
|
2607
2490
|
* This component implements accessibility for tabs according to W3C WAI-ARIA guidelines.
|
|
2608
2491
|
* To ensure proper functionality, tab panels must also be described using ARIA attributes.
|
|
2609
2492
|
*
|
|
2610
2493
|
* More info: https://www.w3.org/WAI/ARIA/apg/patterns/tabs/examples/tabs-manual/
|
|
2611
2494
|
*/
|
|
2612
|
-
declare const Tabs: (props: TabsProps) =>
|
|
2613
|
-
|
|
2614
|
-
//#region src/components/tag/types.d.ts
|
|
2495
|
+
declare const Tabs: (props: TabsProps) => react_jsx_runtime.JSX.Element;
|
|
2496
|
+
|
|
2615
2497
|
declare enum TagType {
|
|
2616
|
-
|
|
2617
|
-
|
|
2618
|
-
|
|
2619
|
-
|
|
2620
|
-
|
|
2621
|
-
|
|
2622
|
-
|
|
2623
|
-
|
|
2498
|
+
alert = "alert",
|
|
2499
|
+
info = "info",
|
|
2500
|
+
infoLight = "infoLight",
|
|
2501
|
+
invert = "invert",
|
|
2502
|
+
neutralDefault = "neutralDefault",
|
|
2503
|
+
neutralSubtle = "neutralSubtle",
|
|
2504
|
+
success = "success",
|
|
2505
|
+
warning = "warning"
|
|
2624
2506
|
}
|
|
2625
2507
|
declare enum TagSize {
|
|
2626
|
-
|
|
2627
|
-
|
|
2508
|
+
md = "md",
|
|
2509
|
+
sm = "sm"
|
|
2628
2510
|
}
|
|
2629
2511
|
declare enum TagTextTransform {
|
|
2630
|
-
|
|
2631
|
-
|
|
2512
|
+
none = "none",
|
|
2513
|
+
uppercase = "uppercase"
|
|
2632
2514
|
}
|
|
2633
2515
|
declare enum TagIconPosition {
|
|
2634
|
-
|
|
2635
|
-
|
|
2636
|
-
|
|
2516
|
+
left = "left",
|
|
2517
|
+
right = "right",
|
|
2518
|
+
top = "top"
|
|
2637
2519
|
}
|
|
2638
|
-
|
|
2639
|
-
//#region src/components/tag/Tag.d.ts
|
|
2520
|
+
|
|
2640
2521
|
interface TagProps extends DesignSystemBaseProps, AriaAttributes {
|
|
2641
|
-
|
|
2642
|
-
|
|
2643
|
-
|
|
2644
|
-
|
|
2645
|
-
|
|
2646
|
-
|
|
2647
|
-
|
|
2648
|
-
|
|
2649
|
-
|
|
2650
|
-
|
|
2651
|
-
|
|
2652
|
-
|
|
2653
|
-
|
|
2654
|
-
|
|
2655
|
-
|
|
2656
|
-
|
|
2657
|
-
|
|
2658
|
-
|
|
2659
|
-
}
|
|
2660
|
-
declare const Tag: (props: TagProps) =>
|
|
2661
|
-
|
|
2662
|
-
//#region src/components/textAreaField/textArea/TextArea.d.ts
|
|
2522
|
+
as?: ElementType;
|
|
2523
|
+
children: ReactNode;
|
|
2524
|
+
className?: string;
|
|
2525
|
+
fontWeight?: FontWeight;
|
|
2526
|
+
href?: string;
|
|
2527
|
+
iconPosition?: TagIconPosition;
|
|
2528
|
+
iconProduct?: IconProductType;
|
|
2529
|
+
iconSystem?: IconSystemType;
|
|
2530
|
+
onClick?: (event: MouseEvent<HTMLDivElement>) => void;
|
|
2531
|
+
onKeyDown?: (event: KeyboardEvent<HTMLDivElement>) => void;
|
|
2532
|
+
ref?: Ref<HTMLDivElement>;
|
|
2533
|
+
role?: AriaRole;
|
|
2534
|
+
size?: TagSize;
|
|
2535
|
+
tabIndex?: number;
|
|
2536
|
+
textDecoration?: TextDecoration;
|
|
2537
|
+
textTransform?: TagTextTransform;
|
|
2538
|
+
type: TagType;
|
|
2539
|
+
whiteSpace?: WhiteSpace;
|
|
2540
|
+
}
|
|
2541
|
+
declare const Tag: (props: TagProps) => react_jsx_runtime.JSX.Element;
|
|
2542
|
+
|
|
2663
2543
|
interface TextAreaControlProps extends TextareaHTMLAttributes<HTMLTextAreaElement>, FieldControlProps {
|
|
2664
|
-
|
|
2544
|
+
ref?: Ref<HTMLTextAreaElement>;
|
|
2665
2545
|
}
|
|
2666
2546
|
declare const TextArea: {
|
|
2667
|
-
|
|
2668
|
-
|
|
2547
|
+
(props: FieldWrapperReservedProps & Omit<TextAreaControlProps, "label" | "addons" | "controlMobileWidth" | "controlSectionWidth" | "controlWidth" | "errorMessage" | "hiddenHintText" | "hintText" | "labelAs" | "labelHiddenText" | "labelId" | "labelSuffix" | "layout" | "note" | "optionality" | "successMessage" | "tooltip">): react_jsx_runtime.JSX.Element;
|
|
2548
|
+
displayName: string;
|
|
2669
2549
|
};
|
|
2670
2550
|
type TextAreaProps = ComponentProps<typeof TextArea>;
|
|
2671
|
-
|
|
2672
|
-
//#region src/components/textAreaField/TextAreaField.d.ts
|
|
2551
|
+
|
|
2673
2552
|
interface TextAreaFieldProps extends Omit<TextAreaProps, 'onChange' | 'value'> {
|
|
2674
|
-
|
|
2675
|
-
|
|
2553
|
+
name: string;
|
|
2554
|
+
options?: RegisterOptions;
|
|
2676
2555
|
}
|
|
2677
|
-
declare const TextAreaField: (props: TextAreaFieldProps) =>
|
|
2678
|
-
|
|
2679
|
-
//#region src/components/textInputField/textInput/TextInput.d.ts
|
|
2556
|
+
declare const TextAreaField: (props: TextAreaFieldProps) => react_jsx_runtime.JSX.Element;
|
|
2557
|
+
|
|
2680
2558
|
interface TextInputControlProps extends InputProps {
|
|
2681
|
-
|
|
2682
|
-
|
|
2559
|
+
iconSystem?: IconSystemType;
|
|
2560
|
+
placeholder?: string;
|
|
2683
2561
|
}
|
|
2684
2562
|
declare const TextInput: {
|
|
2685
|
-
|
|
2686
|
-
|
|
2563
|
+
(props: FieldWrapperReservedProps & Omit<TextInputControlProps, "label" | "addons" | "controlMobileWidth" | "controlSectionWidth" | "controlWidth" | "errorMessage" | "hiddenHintText" | "hintText" | "labelAs" | "labelHiddenText" | "labelId" | "labelSuffix" | "layout" | "note" | "optionality" | "successMessage" | "tooltip">): react_jsx_runtime.JSX.Element;
|
|
2564
|
+
displayName: string;
|
|
2687
2565
|
};
|
|
2688
2566
|
type TextInputProps = ComponentProps<typeof TextInput>;
|
|
2689
|
-
|
|
2690
|
-
//#region src/components/textInputField/TextInputField.d.ts
|
|
2567
|
+
|
|
2691
2568
|
interface TextInputFieldProps extends Omit<TextInputProps, 'onChange' | 'value'> {
|
|
2692
|
-
|
|
2693
|
-
|
|
2569
|
+
name: string;
|
|
2570
|
+
options?: RegisterOptions;
|
|
2694
2571
|
}
|
|
2695
|
-
declare const TextInputField: (props: TextInputFieldProps) =>
|
|
2696
|
-
|
|
2697
|
-
//#region src/components/toggle/Toggle.d.ts
|
|
2572
|
+
declare const TextInputField: (props: TextInputFieldProps) => react_jsx_runtime.JSX.Element;
|
|
2573
|
+
|
|
2698
2574
|
interface ToggleProps {
|
|
2699
|
-
|
|
2700
|
-
|
|
2701
|
-
|
|
2702
|
-
|
|
2703
|
-
|
|
2704
|
-
|
|
2575
|
+
defaultValue?: boolean;
|
|
2576
|
+
disabled?: boolean;
|
|
2577
|
+
id: string | undefined;
|
|
2578
|
+
label?: ReactNode | string;
|
|
2579
|
+
name: string;
|
|
2580
|
+
onChange?: (value: boolean) => void;
|
|
2705
2581
|
}
|
|
2706
2582
|
/**
|
|
2707
2583
|
* Currently not compatible with react-hook-form
|
|
2708
2584
|
*/
|
|
2709
|
-
declare const Toggle: (props: ToggleProps) =>
|
|
2710
|
-
|
|
2711
|
-
//#region src/components/trailingTextInput/TrailingTextInput.d.ts
|
|
2585
|
+
declare const Toggle: (props: ToggleProps) => react_jsx_runtime.JSX.Element;
|
|
2586
|
+
|
|
2712
2587
|
interface TrailingTextInputControlProps extends InputProps {
|
|
2713
|
-
|
|
2714
|
-
|
|
2588
|
+
placeholder?: string;
|
|
2589
|
+
suffix?: ReactNode;
|
|
2715
2590
|
}
|
|
2716
2591
|
declare const TrailingTextInput: {
|
|
2717
|
-
|
|
2718
|
-
|
|
2592
|
+
(props: FieldWrapperReservedProps & Omit<TrailingTextInputControlProps, "label" | "addons" | "controlMobileWidth" | "controlSectionWidth" | "controlWidth" | "errorMessage" | "hiddenHintText" | "hintText" | "labelAs" | "labelHiddenText" | "labelId" | "labelSuffix" | "layout" | "note" | "optionality" | "successMessage" | "tooltip">): react_jsx_runtime.JSX.Element;
|
|
2593
|
+
displayName: string;
|
|
2719
2594
|
};
|
|
2720
2595
|
type TrailingTextInputProps = ComponentProps<typeof TrailingTextInput>;
|
|
2721
|
-
|
|
2722
|
-
//#region src/components/typography/types.d.ts
|
|
2596
|
+
|
|
2723
2597
|
declare enum TypographyVariant {
|
|
2724
|
-
|
|
2725
|
-
|
|
2726
|
-
|
|
2727
|
-
|
|
2728
|
-
|
|
2729
|
-
|
|
2730
|
-
|
|
2731
|
-
|
|
2732
|
-
|
|
2598
|
+
textXs = "textXs",
|
|
2599
|
+
textSm = "textSm",
|
|
2600
|
+
textMd = "textMd",
|
|
2601
|
+
textLg = "textLg",
|
|
2602
|
+
h1 = "h1",
|
|
2603
|
+
h2 = "h2",
|
|
2604
|
+
h3 = "h3",
|
|
2605
|
+
h4 = "h4",
|
|
2606
|
+
h5 = "h5"
|
|
2733
2607
|
}
|
|
2734
2608
|
declare enum TypographyTextAlign {
|
|
2735
|
-
|
|
2736
|
-
|
|
2737
|
-
|
|
2609
|
+
center = "center",
|
|
2610
|
+
left = "left",
|
|
2611
|
+
right = "right"
|
|
2738
2612
|
}
|
|
2739
|
-
|
|
2740
|
-
//#region src/components/typography/Typography.d.ts
|
|
2613
|
+
|
|
2741
2614
|
interface TypographyProps extends DesignSystemBaseProps, SsrProps, AriaAttributes {
|
|
2742
|
-
|
|
2743
|
-
|
|
2744
|
-
|
|
2745
|
-
|
|
2746
|
-
|
|
2747
|
-
|
|
2748
|
-
|
|
2749
|
-
|
|
2750
|
-
|
|
2751
|
-
|
|
2752
|
-
|
|
2753
|
-
|
|
2754
|
-
|
|
2755
|
-
|
|
2756
|
-
|
|
2757
|
-
}
|
|
2758
|
-
declare const Typography: (props: TypographyProps) =>
|
|
2759
|
-
|
|
2760
|
-
//#region src/components/visuallyHidden/VisuallyHidden.d.ts
|
|
2615
|
+
as?: ElementType;
|
|
2616
|
+
children: ReactNode;
|
|
2617
|
+
className?: string;
|
|
2618
|
+
color?: ColorObject | string;
|
|
2619
|
+
decoration?: TextDecoration;
|
|
2620
|
+
fullWidth?: boolean;
|
|
2621
|
+
id?: string;
|
|
2622
|
+
onClick?: ((event: MouseEvent<HTMLElement>) => void) | undefined;
|
|
2623
|
+
ref?: Ref<HTMLElement>;
|
|
2624
|
+
role?: AriaRole;
|
|
2625
|
+
tabIndex?: number;
|
|
2626
|
+
textAlign?: TypographyTextAlign;
|
|
2627
|
+
variant?: TypographyVariant;
|
|
2628
|
+
weight?: FontWeight;
|
|
2629
|
+
whiteSpace?: WhiteSpace;
|
|
2630
|
+
}
|
|
2631
|
+
declare const Typography: (props: TypographyProps) => react_jsx_runtime.JSX.Element;
|
|
2632
|
+
|
|
2761
2633
|
interface VisuallyHiddenProps extends AriaAttributes {
|
|
2762
|
-
|
|
2763
|
-
|
|
2764
|
-
|
|
2765
|
-
|
|
2766
|
-
}
|
|
2767
|
-
declare const VisuallyHidden: (props: VisuallyHiddenProps) =>
|
|
2768
|
-
|
|
2769
|
-
//#region src/hooks/useUniqueIdIfIsUndefined.d.ts
|
|
2634
|
+
as?: ElementType;
|
|
2635
|
+
children: ReactNode;
|
|
2636
|
+
id?: string;
|
|
2637
|
+
role?: AriaRole;
|
|
2638
|
+
}
|
|
2639
|
+
declare const VisuallyHidden: (props: VisuallyHiddenProps) => react_jsx_runtime.JSX.Element;
|
|
2640
|
+
|
|
2770
2641
|
declare const useUniqueIdIfIsUndefined: (idParam: string | undefined) => string;
|
|
2771
|
-
|
|
2772
|
-
//#region src/constants.d.ts
|
|
2642
|
+
|
|
2773
2643
|
declare const liferayClassNames: {
|
|
2774
|
-
|
|
2775
|
-
|
|
2644
|
+
tooltipInfoButton: string;
|
|
2645
|
+
label: string;
|
|
2776
2646
|
};
|
|
2777
2647
|
declare const htmlNbsp = "\u00A0";
|
|
2778
|
-
|
|
2779
|
-
//#region src/form/FormConfigProvider.d.ts
|
|
2648
|
+
|
|
2780
2649
|
interface FormConfigProviderProps {
|
|
2781
|
-
|
|
2782
|
-
|
|
2650
|
+
children: ReactNode;
|
|
2651
|
+
config: FormConfig;
|
|
2783
2652
|
}
|
|
2784
|
-
declare const FormConfigProvider: (props: FormConfigProviderProps) =>
|
|
2785
|
-
|
|
2786
|
-
//#region src/form/useForm.d.ts
|
|
2653
|
+
declare const FormConfigProvider: (props: FormConfigProviderProps) => react_jsx_runtime.JSX.Element;
|
|
2654
|
+
|
|
2787
2655
|
interface UseFormCaptchaProp {
|
|
2788
|
-
|
|
2789
|
-
|
|
2656
|
+
action: string;
|
|
2657
|
+
type: CaptchaType;
|
|
2790
2658
|
}
|
|
2791
2659
|
interface UseFormProps<TFieldValues extends FieldValues> extends UseFormProps$1<TFieldValues>, Pick<FormConfig, 'onSubmitHandlerError' | 'reCaptchaV3Config' | 'resolveThrownFormErrors' | 'thrownFieldLevelErrorFormatter'> {
|
|
2792
|
-
|
|
2793
|
-
|
|
2660
|
+
captcha?: UseFormCaptchaProp;
|
|
2661
|
+
schema?: z.ZodType;
|
|
2794
2662
|
}
|
|
2795
2663
|
type UseFormHandleSubmit<TFieldValues extends FieldValues, TSubmitValues extends FieldValues | undefined = undefined> = (onValid: TSubmitValues extends FieldValues ? SubmitHandler<TSubmitValues> : SubmitHandler<TFieldValues>, onInvalid?: SubmitErrorHandler<TFieldValues>) => (event?: BaseSyntheticEvent) => Promise<void>;
|
|
2796
2664
|
type UseFormReturn<TFieldValues extends FieldValues, TSubmitValues extends FieldValues | undefined = undefined> = Omit<UseFormReturn$1<TFieldValues, any, TSubmitValues>, 'handleSubmit'> & {
|
|
2797
|
-
|
|
2798
|
-
|
|
2665
|
+
handleSubmit: UseFormHandleSubmit<TFieldValues, TSubmitValues>;
|
|
2666
|
+
thrownFormErrors: ThrownFormErrors;
|
|
2799
2667
|
};
|
|
2800
2668
|
/**
|
|
2801
2669
|
* `TFieldValues` represents the shape of the field values at any given time, whereas `TSubmitValues` represents the form values
|
|
@@ -2810,34 +2678,29 @@ type UseFormReturn<TFieldValues extends FieldValues, TSubmitValues extends Field
|
|
|
2810
2678
|
* The reCAPTCHA token is passed to the submit handler.
|
|
2811
2679
|
*/
|
|
2812
2680
|
declare const useForm: <TFieldValues extends FieldValues, TSubmitValues extends FieldValues | undefined = undefined>(props?: UseFormProps<TFieldValues>) => UseFormReturn<TFieldValues, TSubmitValues>;
|
|
2813
|
-
|
|
2814
|
-
//#region src/form/FormProvider.d.ts
|
|
2681
|
+
|
|
2815
2682
|
interface FormProviderProps<TFieldValues extends FieldValues, TSubmitValues extends FieldValues | undefined = undefined> {
|
|
2816
|
-
|
|
2817
|
-
|
|
2818
|
-
}
|
|
2819
|
-
declare const FormProvider: <TFieldValues extends FieldValues, TSubmitValues extends FieldValues | undefined = undefined>(props: FormProviderProps<TFieldValues, TSubmitValues>) =>
|
|
2820
|
-
|
|
2821
|
-
|
|
2822
|
-
|
|
2823
|
-
//#endregion
|
|
2824
|
-
//#region src/form/errors.d.ts
|
|
2683
|
+
children: ReactNode;
|
|
2684
|
+
form: UseFormReturn<TFieldValues, TSubmitValues>;
|
|
2685
|
+
}
|
|
2686
|
+
declare const FormProvider: <TFieldValues extends FieldValues, TSubmitValues extends FieldValues | undefined = undefined>(props: FormProviderProps<TFieldValues, TSubmitValues>) => react_jsx_runtime.JSX.Element;
|
|
2687
|
+
|
|
2688
|
+
declare const FormConfigContext: react.Context<FormConfig>;
|
|
2689
|
+
|
|
2825
2690
|
declare enum ReCaptchaErrorType {
|
|
2826
|
-
|
|
2827
|
-
|
|
2691
|
+
instanceNotInitialized = "instanceNotInitialized",
|
|
2692
|
+
scriptLoading = "scriptLoading"
|
|
2828
2693
|
}
|
|
2829
2694
|
declare class ReCaptchaError extends Error {
|
|
2830
|
-
|
|
2831
|
-
|
|
2695
|
+
readonly type: ReCaptchaErrorType;
|
|
2696
|
+
constructor(type: ReCaptchaErrorType);
|
|
2832
2697
|
}
|
|
2833
|
-
|
|
2834
|
-
//#region src/form/useFormContext.d.ts
|
|
2698
|
+
|
|
2835
2699
|
declare const useFormContext: <TFieldValues extends FieldValues, TSubmitValues extends FieldValues | undefined = undefined>() => UseFormReturn<TFieldValues, TSubmitValues>;
|
|
2836
|
-
|
|
2837
|
-
|
|
2838
|
-
declare const
|
|
2839
|
-
declare const
|
|
2840
|
-
|
|
2841
|
-
|
|
2842
|
-
export {
|
|
2843
|
-
//# sourceMappingURL=index.d.ts.map
|
|
2700
|
+
|
|
2701
|
+
declare const identityFormatter: afformative.Formatter<any, any, unknown>;
|
|
2702
|
+
declare const jsonFormatter: afformative.Formatter<any, string, unknown>;
|
|
2703
|
+
declare const useMessageFormatter: <TInput extends unknown>(getMessage: (value: TInput) => MessageDescriptorWithPrimitiveValues | string) => afformative.Formatter<TInput, ReactNode, unknown>;
|
|
2704
|
+
|
|
2705
|
+
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, isReactNode, isRenderable, jsonFormatter, liferayClassNames, mapTooltipInfoDescriptorToPropsSubset, mergeRefs, pxToRem, renderReactNodeArray, resolveAlignItemsValue, resolveBorderRadiusValue, resolveFlexWrapValue, resolveFontWeightValue, resolveJustifyContentValue, resolveMask, resolveMaskToNumber, 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 };
|
|
2706
|
+
export type { AccordionContentType, AccordionItemProps, AccordionItemType, AccordionKeyValueProps, AccordionProps, AlignItems, 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, JustifyContent, 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 };
|