@movable/ui 2.10.0 → 2.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/components/Chip/InkChip.d.ts +9 -0
- package/lib/components/Chip/index.d.ts +1 -0
- package/lib/components/ChipGroup/InkChipGroup.d.ts +9 -0
- package/lib/components/ChipGroup/index.d.ts +1 -0
- package/lib/components/DemoComponent.d.ts +5 -0
- package/lib/components/Dialog/ActionButtonHelper.d.ts +4 -0
- package/lib/components/Dialog/DialogIcons.d.ts +5 -0
- package/lib/components/Dialog/InkDialog.d.ts +23 -0
- package/lib/components/Dialog/index.d.ts +1 -0
- package/lib/components/Header/HeaderMetadata.d.ts +10 -0
- package/lib/components/Header/HeaderSubtitle.d.ts +5 -0
- package/lib/components/Header/InkPageHeader.d.ts +12 -0
- package/lib/components/Header/InkWorkflowHeader.d.ts +19 -0
- package/lib/components/Header/InternalUseOnlyLabel.d.ts +6 -0
- package/lib/components/Header/LinkBreadcrumbs.d.ts +14 -0
- package/lib/components/Header/PageHeaderActionButtons.d.ts +23 -0
- package/lib/components/Header/StickyHeader.d.ts +9 -0
- package/lib/components/Header/index.d.ts +6 -0
- package/lib/components/InkAttributeList/InkAttribute.d.ts +10 -0
- package/lib/components/InkAttributeList/InkAttributeList.d.ts +8 -0
- package/lib/components/InkAttributeList/index.d.ts +3 -0
- package/lib/components/InkCheckboxGroup/InkCheckboxGroup.d.ts +22 -0
- package/lib/components/InkCheckboxGroup/InkFormCheckboxGroup.d.ts +5 -0
- package/lib/components/InkCheckboxGroup/index.d.ts +3 -0
- package/lib/components/InkDrawer/HeaderIcon.d.ts +7 -0
- package/lib/components/InkDrawer/InkDrawer.d.ts +28 -0
- package/lib/components/InkDrawer/index.d.ts +1 -0
- package/lib/components/InkEmptyState/EmptyStateIcon.d.ts +8 -0
- package/lib/components/InkEmptyState/InkEmptyState.d.ts +17 -0
- package/lib/components/InkEmptyState/VariantStyles.d.ts +10 -0
- package/lib/components/InkEmptyState/index.d.ts +1 -0
- package/lib/components/InkEmptyTableMessage/InkEmptyTableMessage.d.ts +7 -0
- package/lib/components/InkEmptyTableMessage/index.d.ts +1 -0
- package/lib/components/InkFormSelect/InkFormSelect.d.ts +5 -0
- package/lib/components/InkFormSelect/MockFormSelect.d.ts +9 -0
- package/lib/components/InkFormSelect/index.d.ts +1 -0
- package/lib/components/InkImage/InkImage.d.ts +8 -0
- package/lib/components/InkImage/index.d.ts +2 -0
- package/lib/components/InkRadioGroup/InkFormRadioGroup.d.ts +5 -0
- package/lib/components/InkRadioGroup/InkRadioGroup.d.ts +23 -0
- package/lib/components/InkRadioGroup/index.d.ts +3 -0
- package/lib/components/InkRadioTiles/InkRadioTiles.d.ts +24 -0
- package/lib/components/InkRadioTiles/index.d.ts +1 -0
- package/lib/components/InkSelect/InkSelect.d.ts +2 -0
- package/lib/components/InkSelect/InkSelectTest.d.ts +9 -0
- package/lib/components/InkSelect/MenuOptionsTest.d.ts +4 -0
- package/lib/components/InkSelect/index.d.ts +2 -0
- package/lib/components/InkSelect/types.d.ts +20 -0
- package/lib/components/InkSelect/useMenuHelper.d.ts +3 -0
- package/lib/components/InkSnackbar/InkSnackbarAlert.d.ts +12 -0
- package/lib/components/InkSnackbar/InkSnackbarContent.d.ts +3 -0
- package/lib/components/InkSnackbar/InkSnackbarContentProps.d.ts +8 -0
- package/lib/components/InkSnackbar/InkSnackbarProvider.d.ts +3 -0
- package/lib/components/InkSnackbar/SnackbarActionButton.d.ts +7 -0
- package/lib/components/InkSnackbar/index.d.ts +6 -0
- package/lib/components/InkTextField/InkFormTextField.d.ts +7 -0
- package/lib/components/InkTextField/InkTextField.d.ts +5 -0
- package/lib/components/InkTextField/index.d.ts +3 -0
- package/lib/components/InkToggleIcon/InkToggleIcon.d.ts +9 -0
- package/lib/components/InkToggleIcon/index.d.ts +1 -0
- package/lib/components/InkToggleIconGroup/InkToggleIconGroup.d.ts +14 -0
- package/lib/components/InkToggleIconGroup/index.d.ts +1 -0
- package/lib/components/InkToggleText/InkToggleText.d.ts +9 -0
- package/lib/components/InkToggleText/index.d.ts +1 -0
- package/lib/components/InkToggleTextGroup/InkToggleTextGroup.d.ts +15 -0
- package/lib/components/InkToggleTextGroup/index.d.ts +1 -0
- package/lib/components/PersistentFilterDrawer/InkPersistentFilterDrawer.d.ts +18 -0
- package/lib/components/PersistentFilterDrawer/index.d.ts +1 -0
- package/lib/components/Switch/InkSwitch.d.ts +8 -0
- package/lib/components/Switch/index.d.ts +1 -0
- package/lib/components/index.d.ts +23 -0
- package/lib/components/surfaces/InkPaper.d.ts +9 -0
- package/lib/components/surfaces/index.d.ts +1 -0
- package/lib/hooks/index.d.ts +1 -0
- package/lib/hooks/useCopyToClipboard.d.ts +4 -0
- package/lib/index.d.ts +70 -4
- package/lib/index.mjs +12507 -6163
- package/lib/index.mjs.map +1 -1
- package/lib/layouts/DetailsLayout.d.ts +7 -0
- package/lib/layouts/IndexLayout.d.ts +7 -0
- package/lib/layouts/WorkflowLayout.d.ts +7 -0
- package/lib/layouts/index.d.ts +3 -0
- package/lib/layouts/mocks/MockDetailsBody.d.ts +1 -0
- package/lib/layouts/mocks/MockIndexBody.d.ts +1 -0
- package/lib/layouts/mocks/MockInkPageHeader.d.ts +4 -0
- package/lib/layouts/mocks/MockWorkflowBody.d.ts +1 -0
- package/lib/layouts/mocks/MockWorkflowHeader.d.ts +1 -0
- package/lib/layouts/mocks/index.d.ts +5 -0
- package/lib/page-objects/index.d.ts +6 -0
- package/lib/page-objects/ink-checkbox-group.d.ts +19 -0
- package/lib/page-objects/ink-dialog.d.ts +21 -0
- package/lib/page-objects/ink-image.d.ts +12 -0
- package/lib/page-objects/ink-radio-group.d.ts +20 -0
- package/lib/page-objects/ink-select.d.ts +22 -0
- package/lib/page-objects/ink-snackbar-alert.d.ts +12 -0
- package/lib/page-objects/ink-text-field.d.ts +24 -0
- package/lib/theme/components/Alert.d.ts +60 -0
- package/lib/theme/components/DataGrid.d.ts +45 -0
- package/lib/theme/components/autocomplete.d.ts +62 -0
- package/lib/theme/components/chip.d.ts +296 -0
- package/lib/theme/components/dialog.d.ts +32 -0
- package/lib/theme/components/drawer.d.ts +10 -0
- package/lib/theme/components/form.d.ts +255 -0
- package/lib/theme/components/snackbar.d.ts +13 -0
- package/lib/theme/components/stepper.d.ts +894 -0
- package/lib/theme/components/surfaces/card.d.ts +61 -0
- package/lib/theme/components/surfaces/index.d.ts +3 -0
- package/lib/theme/components/surfaces/paper.d.ts +26 -0
- package/lib/theme/components/typography.d.ts +18 -0
- package/lib/theme/palette.d.ts +237 -0
- package/lib/theme.d.ts +258 -0
- package/lib/utils/PageWrapper.d.ts +8 -0
- package/lib/utils/index.d.ts +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ToggleButtonProps } from '@mui/material';
|
|
2
|
+
type InkToggleTextProps = ToggleButtonProps & {
|
|
3
|
+
ariaLabel?: string;
|
|
4
|
+
size?: 'x-small' | 'small' | 'medium' | 'large';
|
|
5
|
+
label?: string;
|
|
6
|
+
value: string | number;
|
|
7
|
+
};
|
|
8
|
+
export declare function InkToggleText({ value, label, size, ariaLabel, ...rest }: InkToggleTextProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { InkToggleText } from './InkToggleText';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ToggleButtonGroupProps } from '@mui/material';
|
|
2
|
+
type InkToggleTextGroupProps = ToggleButtonGroupProps & {
|
|
3
|
+
id: string;
|
|
4
|
+
toggleButtons: {
|
|
5
|
+
value: string | number;
|
|
6
|
+
label?: string;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
}[];
|
|
9
|
+
ariaLabel?: string;
|
|
10
|
+
size?: 'x-small' | 'small' | 'medium' | 'large';
|
|
11
|
+
single?: boolean;
|
|
12
|
+
enforceValueSet?: boolean;
|
|
13
|
+
};
|
|
14
|
+
export declare function InkToggleTextGroup({ id, toggleButtons, ariaLabel, value, size, single, enforceValueSet, sx, onChange, ...rest }: InkToggleTextGroupProps): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { InkToggleTextGroup } from './InkToggleTextGroup';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { BoxProps } from '@mui/material';
|
|
2
|
+
import { DrawerProps } from '@mui/material/Drawer';
|
|
3
|
+
import { PropsWithChildren } from 'react';
|
|
4
|
+
type IFilterDrawer = DrawerProps & {
|
|
5
|
+
isOpen: boolean;
|
|
6
|
+
handleDrawerClose: () => void;
|
|
7
|
+
drawerWidth?: number;
|
|
8
|
+
leftOffset?: string;
|
|
9
|
+
filterContent: JSX.Element;
|
|
10
|
+
bottomFilter?: JSX.Element;
|
|
11
|
+
headerLabel?: string;
|
|
12
|
+
isComponentLevelDrawer?: boolean;
|
|
13
|
+
mainProps?: BoxProps;
|
|
14
|
+
};
|
|
15
|
+
export declare const defaultFilterDrawerWidth = 280;
|
|
16
|
+
export declare function InkPersistentFilterDrawer({ isOpen, handleDrawerClose, children, drawerWidth, leftOffset, //primary nav width when closed and when open
|
|
17
|
+
filterContent, bottomFilter, headerLabel, sx, isComponentLevelDrawer, mainProps, }: PropsWithChildren<IFilterDrawer>): import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { InkPersistentFilterDrawer } from './InkPersistentFilterDrawer';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { SwitchProps } from '@mui/material';
|
|
2
|
+
type InkSwitchProps = {
|
|
3
|
+
id: string;
|
|
4
|
+
label?: string;
|
|
5
|
+
labelPlacement?: 'start' | 'end' | 'top' | 'bottom';
|
|
6
|
+
} & SwitchProps;
|
|
7
|
+
export declare function InkSwitch({ id, label, labelPlacement, sx, ...rest }: InkSwitchProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { InkSwitch } from './InkSwitch';
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export { DemoComponent } from './DemoComponent';
|
|
2
|
+
export { InkChip } from './Chip';
|
|
3
|
+
export { InkChipGroup } from './ChipGroup';
|
|
4
|
+
export { InkDialog, type InkDialogProps } from './Dialog';
|
|
5
|
+
export { InkPersistentFilterDrawer } from './PersistentFilterDrawer';
|
|
6
|
+
export { HeaderMetadata, LinkBreadcrumbs, InkPageHeader, InkWorkflowHeader, PageHeaderActionButtons, HeaderSubtitle, } from './Header';
|
|
7
|
+
export { InkPaper, type InkPaperProps } from './surfaces';
|
|
8
|
+
export { InkRadioTiles, type InkRadioTilesProps } from './InkRadioTiles';
|
|
9
|
+
export { InkSwitch } from './Switch';
|
|
10
|
+
export { InkToggleText } from './InkToggleText';
|
|
11
|
+
export { InkToggleTextGroup } from './InkToggleTextGroup';
|
|
12
|
+
export { InkToggleIcon } from './InkToggleIcon';
|
|
13
|
+
export { InkToggleIconGroup, type InkToggleIconGroupProps, } from './InkToggleIconGroup';
|
|
14
|
+
export { InkEmptyState } from './InkEmptyState';
|
|
15
|
+
export { InkSelect, type MenuOption } from './InkSelect';
|
|
16
|
+
export { InkFormSelect } from './InkFormSelect';
|
|
17
|
+
export * from './InkSnackbar';
|
|
18
|
+
export { InkAttributeList } from './InkAttributeList';
|
|
19
|
+
export { InkImage } from './InkImage';
|
|
20
|
+
export { InkDrawer } from './InkDrawer';
|
|
21
|
+
export * from './InkCheckboxGroup';
|
|
22
|
+
export * from './InkRadioGroup';
|
|
23
|
+
export * from './InkTextField';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { PaperProps } from '@mui/material/Paper';
|
|
2
|
+
export type InkPaperProps = PaperProps & {
|
|
3
|
+
Header: string | JSX.Element;
|
|
4
|
+
Description?: string | JSX.Element;
|
|
5
|
+
Icon?: JSX.Element;
|
|
6
|
+
CTA?: JSX.Element;
|
|
7
|
+
shouldShowFullDescription?: boolean;
|
|
8
|
+
};
|
|
9
|
+
export declare function InkPaper({ Header, Description, Icon, CTA, children, shouldShowFullDescription, ...props }: InkPaperProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './InkPaper';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as useCopyToClipboard } from './useCopyToClipboard';
|
package/lib/index.d.ts
CHANGED
|
@@ -3,14 +3,16 @@ import { BoxProps } from '@mui/material';
|
|
|
3
3
|
import { BoxProps as BoxProps_2 } from '@mui/material/Box';
|
|
4
4
|
import { ButtonProps } from '@mui/material';
|
|
5
5
|
import { ButtonProps as ButtonProps_2 } from '@mui/material/Button';
|
|
6
|
+
import { CheckboxProps } from '@mui/material/Checkbox';
|
|
6
7
|
import { ChipProps } from '@mui/material';
|
|
7
8
|
import { CustomContentProps } from 'notistack';
|
|
8
|
-
import {
|
|
9
|
-
import { DialogProps } from '@mui/material/Dialog';
|
|
9
|
+
import type { DialogProps } from '@mui/material/Dialog';
|
|
10
10
|
import { DrawerProps } from '@mui/material/Drawer';
|
|
11
11
|
import { DrawerProps as DrawerProps_2 } from '@mui/material';
|
|
12
12
|
import { FieldPath } from 'react-hook-form';
|
|
13
13
|
import { FieldValues } from 'react-hook-form';
|
|
14
|
+
import { FormGroupProps } from '@mui/material/FormGroup';
|
|
15
|
+
import { FormLabelProps } from '@mui/material/FormLabel';
|
|
14
16
|
import { ForwardRefExoticComponent } from 'react';
|
|
15
17
|
import { GridProps } from '@mui/material/Grid';
|
|
16
18
|
import { JSX as JSX_2 } from 'react/jsx-runtime';
|
|
@@ -24,14 +26,19 @@ import { MenuProps } from '@mui/material';
|
|
|
24
26
|
import { OverridableComponent } from '@mui/material/OverridableComponent';
|
|
25
27
|
import { PaperProps } from '@mui/material/Paper';
|
|
26
28
|
import { PropsWithChildren } from 'react';
|
|
29
|
+
import { RadioGroupProps } from '@mui/material/RadioGroup';
|
|
30
|
+
import { RadioProps } from '@mui/material/Radio';
|
|
31
|
+
import { default as React_2 } from 'react';
|
|
27
32
|
import { ReactNode } from 'react';
|
|
28
33
|
import { Ref } from 'react';
|
|
29
34
|
import { RefAttributes } from 'react';
|
|
30
35
|
import { SelectProps } from '@mui/material';
|
|
31
36
|
import { SnackbarProviderProps } from 'notistack';
|
|
37
|
+
import { StackProps } from '@mui/material/Stack';
|
|
32
38
|
import { SvgIconTypeMap } from '@mui/material';
|
|
33
39
|
import { SwitchProps } from '@mui/material';
|
|
34
40
|
import { SxProps } from '@mui/material';
|
|
41
|
+
import { TextFieldProps } from '@mui/material/TextField';
|
|
35
42
|
import { Theme } from '@mui/material';
|
|
36
43
|
import { ToggleButtonGroupProps } from '@mui/material';
|
|
37
44
|
import { ToggleButtonProps } from '@mui/material';
|
|
@@ -167,6 +174,25 @@ declare type InkAttributeProps = ListItemTextProps & {
|
|
|
167
174
|
};
|
|
168
175
|
};
|
|
169
176
|
|
|
177
|
+
export declare const InkCheckboxGroup: ForwardRefExoticComponent<InkCheckboxGroupProps & RefAttributes<HTMLDivElement>>;
|
|
178
|
+
|
|
179
|
+
export declare type InkCheckboxGroupProps = {
|
|
180
|
+
options: {
|
|
181
|
+
value: string;
|
|
182
|
+
label: string;
|
|
183
|
+
checkboxProps?: CheckboxProps;
|
|
184
|
+
}[];
|
|
185
|
+
formGroupProps?: FormGroupProps;
|
|
186
|
+
formLabel: string;
|
|
187
|
+
formLabelProps?: FormLabelProps;
|
|
188
|
+
stackProps?: StackProps;
|
|
189
|
+
currentValue: string[];
|
|
190
|
+
onChange: (values: string[]) => void;
|
|
191
|
+
required?: boolean;
|
|
192
|
+
error?: boolean;
|
|
193
|
+
helperText?: string;
|
|
194
|
+
};
|
|
195
|
+
|
|
170
196
|
export declare function InkChip({ maxWidth, chipProps, size, expandOnHover, }: InkChipPropType): JSX_2.Element;
|
|
171
197
|
|
|
172
198
|
export declare function InkChipGroup({ chipList, numTagsToDisplay, size, maxChipWidth, }: InkChipGroupProps): JSX_2.Element;
|
|
@@ -214,7 +240,7 @@ export declare type InkDialogProps = DialogProps & {
|
|
|
214
240
|
Content?: JSX.Element;
|
|
215
241
|
Actions?: JSX.Element;
|
|
216
242
|
hideCloseButton?: boolean;
|
|
217
|
-
onClose: (e?:
|
|
243
|
+
onClose: (e?: React_2.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
|
|
218
244
|
ActionsProp?: ActionsPropType;
|
|
219
245
|
};
|
|
220
246
|
|
|
@@ -233,10 +259,24 @@ declare type InkEmptyStateProps = {
|
|
|
233
259
|
sx?: SxProps<Theme>;
|
|
234
260
|
};
|
|
235
261
|
|
|
262
|
+
export declare function InkFormCheckboxGroup<TFieldValues extends FieldValues, TName extends FieldPath<TFieldValues>>({ control, name, rules, onChange, ...rest }: InkFormCheckboxGroupProps<TFieldValues, TName>): JSX_2.Element;
|
|
263
|
+
|
|
264
|
+
declare type InkFormCheckboxGroupProps<TFieldValues extends FieldValues, TName extends FieldPath<TFieldValues>> = InkCheckboxGroupProps & UseControllerProps<TFieldValues, TName>;
|
|
265
|
+
|
|
266
|
+
export declare function InkFormRadioGroup<TFieldValues extends FieldValues, TName extends FieldPath<TFieldValues>>({ control, name, rules, onChange, ...rest }: InkFormRadioGroupProps<TFieldValues, TName>): JSX_2.Element;
|
|
267
|
+
|
|
268
|
+
declare type InkFormRadioGroupProps<TFieldValues extends FieldValues, TName extends FieldPath<TFieldValues>> = InkRadioGroupProps & UseControllerProps<TFieldValues, TName>;
|
|
269
|
+
|
|
236
270
|
export declare function InkFormSelect<TFieldValues extends FieldValues, TName extends FieldPath<TFieldValues>>({ control, name, rules, helperText, onChange, onBlur, ...rest }: InkFormSelectProps<TFieldValues, TName>): JSX_2.Element;
|
|
237
271
|
|
|
238
272
|
declare type InkFormSelectProps<TFieldValues extends FieldValues, TName extends FieldPath<TFieldValues>> = InkSelectProps & UseControllerProps<TFieldValues, TName>;
|
|
239
273
|
|
|
274
|
+
export declare const InkFormTextField: <TFieldValues extends FieldValues, TName extends FieldPath<TFieldValues>>({ control, name, label, rules, helperText, onBlur, ...rest }: InkFormTextFieldProps<TFieldValues, TName>) => JSX_2.Element;
|
|
275
|
+
|
|
276
|
+
declare type InkFormTextFieldProps<TFieldValues extends FieldValues, TName extends FieldPath<TFieldValues>> = {
|
|
277
|
+
label: string;
|
|
278
|
+
} & UseControllerProps<TFieldValues, TName> & TextFieldProps;
|
|
279
|
+
|
|
240
280
|
export declare function InkImage({ src, alt, sx, imageSx, fallbackText, ...rest }: InkImageProps): JSX_2.Element;
|
|
241
281
|
|
|
242
282
|
declare type InkImageProps = BoxProps_2 & {
|
|
@@ -271,12 +311,32 @@ export declare type InkPaperProps = PaperProps & {
|
|
|
271
311
|
export declare function InkPersistentFilterDrawer({ isOpen, handleDrawerClose, children, drawerWidth, leftOffset, //primary nav width when closed and when open
|
|
272
312
|
filterContent, bottomFilter, headerLabel, sx, isComponentLevelDrawer, mainProps, }: PropsWithChildren<IFilterDrawer>): JSX_2.Element;
|
|
273
313
|
|
|
314
|
+
export declare const InkRadioGroup: ForwardRefExoticComponent<InkRadioGroupProps & RefAttributes<HTMLDivElement>>;
|
|
315
|
+
|
|
316
|
+
export declare type InkRadioGroupProps = {
|
|
317
|
+
formLabel: string;
|
|
318
|
+
currentValue: string;
|
|
319
|
+
options: {
|
|
320
|
+
value: string;
|
|
321
|
+
label: string;
|
|
322
|
+
radioProps?: RadioProps;
|
|
323
|
+
}[];
|
|
324
|
+
onChange: (value: string) => void;
|
|
325
|
+
radioGroupProps?: RadioGroupProps;
|
|
326
|
+
formLabelProps?: FormLabelProps;
|
|
327
|
+
stackProps?: StackProps;
|
|
328
|
+
required?: boolean;
|
|
329
|
+
error?: boolean;
|
|
330
|
+
helperText?: string;
|
|
331
|
+
defaultValue?: string;
|
|
332
|
+
};
|
|
333
|
+
|
|
274
334
|
export declare const InkRadioTiles: ({ name, options, value, ref, direction, cardSx, fullWidth, disabled, onChange, onBlur, }: InkRadioTilesProps) => JSX_2.Element;
|
|
275
335
|
|
|
276
336
|
export declare type InkRadioTilesProps = {
|
|
277
337
|
name: string;
|
|
278
338
|
options: Option_2[];
|
|
279
|
-
onChange: (e:
|
|
339
|
+
onChange: (e: React_2.ChangeEvent<HTMLInputElement>) => void;
|
|
280
340
|
onBlur?: () => void;
|
|
281
341
|
value: string | number;
|
|
282
342
|
ref?: Ref<HTMLDivElement>;
|
|
@@ -350,6 +410,12 @@ declare type InkSwitchProps = {
|
|
|
350
410
|
labelPlacement?: 'start' | 'end' | 'top' | 'bottom';
|
|
351
411
|
} & SwitchProps;
|
|
352
412
|
|
|
413
|
+
export declare function InkTextField({ name, minRows, sx, ...rest }: InkTextFieldProps): JSX_2.Element;
|
|
414
|
+
|
|
415
|
+
export declare type InkTextFieldProps = TextFieldProps & {
|
|
416
|
+
name: string;
|
|
417
|
+
};
|
|
418
|
+
|
|
353
419
|
export declare function InkToggleIcon({ value, size, ariaLabel, icon, ...rest }: InkToggleIconProps): JSX_2.Element;
|
|
354
420
|
|
|
355
421
|
export declare function InkToggleIconGroup({ id, toggleButtons, ariaLabel, size, single, value, enforceValueSet, onChange, sx, ...rest }: InkToggleIconGroupProps): JSX_2.Element;
|