@digital-ai/dot-components 2.19.1 → 2.20.1
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 +1 -2
- package/index.esm.d.ts +1 -0
- package/index.esm.js +1193 -1481
- package/package.json +7 -7
- package/{index.d.ts → src/index.d.ts} +7 -7
- package/src/lib/components/AccessibilityProps.d.ts +1 -0
- package/{lib → src/lib}/components/BaseButtonProps.d.ts +26 -26
- package/{lib → src/lib}/components/CommonProps.d.ts +11 -11
- package/{lib → src/lib}/components/accordion/Accordion.d.ts +28 -28
- package/{lib → src/lib}/components/accordion/Accordion.styles.d.ts +4 -4
- package/{lib → src/lib}/components/action-toolbar/ActionToolbar.d.ts +10 -10
- package/{lib → src/lib}/components/action-toolbar/ActionToolbar.styles.d.ts +2 -2
- package/{lib → src/lib}/components/alert-banner/AlertBanner.d.ts +19 -19
- package/{lib → src/lib}/components/alert-banner/AlertBanner.styles.d.ts +4 -4
- package/{lib → src/lib}/components/app-logo/AppLogo.d.ts +11 -11
- package/{lib → src/lib}/components/app-switcher/AppSwitcher.d.ts +29 -29
- package/{lib → src/lib}/components/app-switcher/AppSwitcher.styles.d.ts +2 -2
- package/{lib → src/lib}/components/app-switcher/utils/helpers.d.ts +26 -26
- package/{lib → src/lib}/components/app-toolbar/AppToolbar.d.ts +49 -49
- package/{lib → src/lib}/components/app-toolbar/AppToolbar.data.d.ts +8 -8
- package/{lib → src/lib}/components/app-toolbar/AppToolbar.styles.d.ts +4 -4
- package/{lib → src/lib}/components/auto-complete/AutoComplete.d.ts +89 -89
- package/{lib → src/lib}/components/auto-complete/AutoComplete.styles.d.ts +5 -5
- package/{lib → src/lib}/components/auto-complete/index.d.ts +4 -4
- package/{lib → src/lib}/components/auto-complete/utils/helpers.d.ts +13 -13
- package/{lib → src/lib}/components/auto-complete/utils/interface.d.ts +17 -17
- package/{lib → src/lib}/components/avatar/Avatar.d.ts +37 -37
- package/{lib → src/lib}/components/avatar/Avatar.styles.d.ts +3 -3
- package/{lib → src/lib}/components/avatar-group/AvatarGroup.d.ts +12 -12
- package/{lib → src/lib}/components/avatar-group/AvatarGroup.styles.d.ts +3 -3
- package/{lib → src/lib}/components/badge/Badge.d.ts +20 -20
- package/{lib → src/lib}/components/badge/Badge.styles.d.ts +6 -6
- package/{lib → src/lib}/components/badge/index.d.ts +1 -1
- package/{lib → src/lib}/components/breadcrumbs/Breadcrumbs.d.ts +25 -25
- package/{lib → src/lib}/components/breadcrumbs/Breadcrumbs.data.d.ts +5 -5
- package/{lib → src/lib}/components/breadcrumbs/Breadcrumbs.styles.d.ts +4 -4
- package/{lib → src/lib}/components/breadcrumbs/utils/helpers.d.ts +25 -25
- package/{lib → src/lib}/components/breadcrumbs/utils/useBreadcrumbsObserver.d.ts +9 -9
- package/{lib → src/lib}/components/breadcrumbs/utils/useBreadcrumbsResizer.d.ts +18 -18
- package/{lib → src/lib}/components/button/Button.d.ts +13 -13
- package/{lib → src/lib}/components/button/Button.styles.d.ts +2 -2
- package/{lib → src/lib}/components/button/CopyButton.d.ts +14 -14
- package/{lib → src/lib}/components/button/CopyButton.styles.d.ts +2 -2
- package/{lib → src/lib}/components/button/IconButton.d.ts +29 -29
- package/{lib → src/lib}/components/button/IconButton.styles.d.ts +2 -2
- package/{lib → src/lib}/components/button/index.d.ts +6 -6
- package/{lib → src/lib}/components/button-toggle/ButtonToggle.d.ts +24 -24
- package/{lib → src/lib}/components/button-toggle/ButtonToggle.styles.d.ts +3 -3
- package/{lib → src/lib}/components/button-toggle/index.d.ts +3 -3
- package/src/lib/components/button-toggle/utils/models.d.ts +13 -0
- package/{lib → src/lib}/components/card/Card.d.ts +7 -7
- package/{lib → src/lib}/components/card/CardContent.d.ts +7 -7
- package/{lib → src/lib}/components/card/CardFooter.d.ts +7 -7
- package/{lib → src/lib}/components/card/CardFooter.styles.d.ts +2 -2
- package/{lib → src/lib}/components/card/CardHeader.d.ts +19 -19
- package/{lib → src/lib}/components/carousel/Carousel.d.ts +31 -31
- package/{lib → src/lib}/components/carousel/Carousel.styles.d.ts +6 -6
- package/{lib → src/lib}/components/checkbox/Checkbox.d.ts +12 -12
- package/{lib → src/lib}/components/checkbox/Checkbox.styles.d.ts +3 -3
- package/{lib → src/lib}/components/checkbox/CheckboxGroup.d.ts +16 -16
- package/{lib → src/lib}/components/checkbox/CheckboxGroup.styles.d.ts +5 -5
- package/{lib → src/lib}/components/chip/Chip.d.ts +29 -29
- package/{lib → src/lib}/components/chip/Chip.styles.d.ts +2 -2
- package/{lib → src/lib}/components/click-away-listener/ClickAwayListener.d.ts +10 -10
- package/{lib → src/lib}/components/click-away-listener/index.d.ts +2 -2
- package/{lib → src/lib}/components/compareSize.d.ts +1 -1
- package/{lib → src/lib}/components/confirmation-dialog/ConfirmationDialog.d.ts +20 -20
- package/{lib → src/lib}/components/core-api/CancelablePromise.d.ts +7 -7
- package/{lib → src/lib}/components/core-api/CoreApiProvider.d.ts +23 -23
- package/{lib → src/lib}/components/core-api/openapi/core/ApiError.d.ts +8 -8
- package/{lib → src/lib}/components/core-api/openapi/core/ApiRequestOptions.d.ts +12 -12
- package/{lib → src/lib}/components/core-api/openapi/core/ApiResult.d.ts +7 -7
- package/{lib → src/lib}/components/core-api/openapi/core/OpenAPI.d.ts +15 -15
- package/{lib → src/lib}/components/core-api/openapi/core/request.d.ts +9 -9
- package/{lib → src/lib}/components/core-api/openapi/index.d.ts +12 -12
- package/{lib → src/lib}/components/core-api/openapi/models/AccountModel.d.ts +50 -50
- package/{lib → src/lib}/components/core-api/openapi/models/AccountModelWrapper.d.ts +4 -4
- package/{lib → src/lib}/components/core-api/openapi/models/AccountModelsWrapper.d.ts +6 -6
- package/{lib → src/lib}/components/core-api/openapi/models/ApplicationInstanceStates.d.ts +4 -4
- package/{lib → src/lib}/components/core-api/openapi/models/ApplicationModel.d.ts +67 -67
- package/{lib → src/lib}/components/core-api/openapi/models/ApplicationModelWrapper.d.ts +4 -4
- package/{lib → src/lib}/components/core-api/openapi/models/ApplicationModelsWrapper.d.ts +6 -6
- package/{lib → src/lib}/components/core-api/openapi/models/PaginationModel.d.ts +22 -22
- package/{lib → src/lib}/components/core-api/openapi/services/AccountsService.d.ts +25 -25
- package/{lib → src/lib}/components/core-api/openapi/services/ApplicationsService.d.ts +38 -38
- package/{lib → src/lib}/components/createUUID.d.ts +1 -1
- package/{lib → src/lib}/components/css-grid/CssCell.d.ts +42 -42
- package/{lib → src/lib}/components/css-grid/CssGrid.d.ts +37 -37
- package/{lib → src/lib}/components/css-grid/CssGridDebug.d.ts +4 -4
- package/{lib → src/lib}/components/date-picker/DatePicker.d.ts +83 -83
- package/{lib → src/lib}/components/date-picker/DatePicker.styles.d.ts +11 -11
- package/{lib → src/lib}/components/date-picker/index.d.ts +5 -5
- package/{lib → src/lib}/components/date-picker/utils/helpers.d.ts +5 -5
- package/{lib → src/lib}/components/date-picker/utils/models.d.ts +43 -43
- package/{lib → src/lib}/components/dialog/Dialog.d.ts +42 -42
- package/{lib → src/lib}/components/dialog/Dialog.styles.d.ts +3 -3
- package/{lib → src/lib}/components/divider/Divider.d.ts +16 -16
- package/{lib → src/lib}/components/divider/Divider.styles.d.ts +2 -2
- package/{lib → src/lib}/components/divider/index.d.ts +1 -1
- package/{lib → src/lib}/components/draggable-list/DraggableList.d.ts +23 -23
- package/{lib → src/lib}/components/draggable-list/DraggableList.styles.d.ts +8 -8
- package/{lib → src/lib}/components/draggable-list/index.d.ts +2 -2
- package/{lib → src/lib}/components/draggable-list/utils/helpers.d.ts +5 -5
- package/{lib → src/lib}/components/draggable-list/utils/models.d.ts +5 -5
- package/{lib → src/lib}/components/drawer/Drawer.d.ts +45 -45
- package/{lib → src/lib}/components/drawer/Drawer.styles.d.ts +4 -4
- package/{lib → src/lib}/components/drawer/DrawerBody.d.ts +9 -9
- package/{lib → src/lib}/components/drawer/DrawerBody.styles.d.ts +2 -2
- package/{lib → src/lib}/components/drawer/DrawerFooter.d.ts +6 -6
- package/{lib → src/lib}/components/drawer/DrawerFooter.styles.d.ts +2 -2
- package/{lib → src/lib}/components/drawer/DrawerHeader.d.ts +8 -8
- package/{lib → src/lib}/components/drawer/DrawerHeader.styles.d.ts +2 -2
- package/{lib → src/lib}/components/dynamic-form/DynamicForm.d.ts +10 -10
- package/{lib → src/lib}/components/dynamic-form/DynamicForm.styles.d.ts +2 -2
- package/{lib → src/lib}/components/dynamic-form/constants.d.ts +4 -4
- package/{lib → src/lib}/components/dynamic-form/models.d.ts +81 -81
- package/{lib → src/lib}/components/dynamic-form/sample.spec.data.d.ts +22 -22
- package/{lib → src/lib}/components/dynamic-form/utils/formHelpers.d.ts +38 -38
- package/{lib → src/lib}/components/dynamic-form/utils/helpers.d.ts +6 -6
- package/{lib → src/lib}/components/dynamic-form/utils/validation.d.ts +25 -25
- package/{lib → src/lib}/components/empty-state/EmptyState.d.ts +15 -15
- package/{lib → src/lib}/components/empty-state/EmptyState.styles.d.ts +2 -2
- package/{lib → src/lib}/components/file-upload/FileListItem.d.ts +17 -17
- package/src/lib/components/file-upload/FileListItem.styles.d.ts +13 -0
- package/{lib → src/lib}/components/file-upload/FileUpload.d.ts +37 -37
- package/{lib → src/lib}/components/file-upload/FileUpload.styles.d.ts +6 -6
- package/{lib → src/lib}/components/file-upload/index.d.ts +6 -6
- package/src/lib/components/file-upload/uploadHelpers.d.ts +12 -0
- package/{lib → src/lib}/components/file-upload/utils/helpers.d.ts +25 -25
- package/{lib → src/lib}/components/file-upload/utils/models.d.ts +35 -35
- package/{lib → src/lib}/components/form/Form.d.ts +9 -9
- package/{lib → src/lib}/components/form/Form.styles.d.ts +2 -2
- package/{lib → src/lib}/components/form-controls/FormControl.styles.d.ts +6 -6
- package/{lib → src/lib}/components/form-controls/FormControlLabel.styles.d.ts +3 -3
- package/{lib → src/lib}/components/form-group/FormGroup.d.ts +9 -9
- package/{lib → src/lib}/components/form-group/FormGroup.styles.d.ts +3 -3
- package/{lib → src/lib}/components/helpers.d.ts +13 -13
- package/{lib → src/lib}/components/icon/Icon.d.ts +11 -11
- package/{lib → src/lib}/components/icon/Icon.styles.d.ts +5 -5
- package/{lib → src/lib}/components/index.d.ts +109 -106
- package/{lib → src/lib}/components/inline-edit/InlineEdit.d.ts +39 -39
- package/{lib → src/lib}/components/inline-edit/InlineEdit.styles.d.ts +13 -13
- package/{lib → src/lib}/components/inline-edit/index.d.ts +3 -3
- package/{lib → src/lib}/components/inline-edit/utils/helpers.d.ts +6 -6
- package/{lib → src/lib}/components/inline-edit/utils/models.d.ts +13 -13
- package/{lib → src/lib}/components/input-form-fields/InputFormFields.propTypes.d.ts +67 -67
- package/{lib → src/lib}/components/input-form-fields/InputFormFields.styles.d.ts +14 -14
- package/{lib → src/lib}/components/input-form-fields/InputLabel.d.ts +17 -17
- package/{lib → src/lib}/components/input-form-fields/InputSelect.d.ts +15 -15
- package/{lib → src/lib}/components/input-form-fields/InputText.d.ts +34 -34
- package/{lib → src/lib}/components/input-form-fields/common.styles.d.ts +5 -5
- package/{lib → src/lib}/components/linear-progress/LinearProgress.d.ts +14 -14
- package/{lib → src/lib}/components/linear-progress/LinearProgress.styles.d.ts +3 -3
- package/{lib → src/lib}/components/linear-progress/index.d.ts +2 -2
- package/{lib → src/lib}/components/link/Link.d.ts +30 -30
- package/{lib → src/lib}/components/link/Link.styles.d.ts +2 -2
- package/{lib → src/lib}/components/list/List.d.ts +2 -2
- package/{lib → src/lib}/components/list/List.styles.d.ts +5 -5
- package/{lib → src/lib}/components/list/ListDivider.d.ts +7 -7
- package/{lib → src/lib}/components/list/ListItem.d.ts +2 -2
- package/{lib → src/lib}/components/list/ListItem.styles.d.ts +6 -6
- package/{lib → src/lib}/components/list/NestedList.d.ts +2 -2
- package/{lib → src/lib}/components/list/NestedList.styles.d.ts +1 -1
- package/{lib → src/lib}/components/list/index.d.ts +2 -2
- package/{lib → src/lib}/components/list/utils/helpers.d.ts +3 -3
- package/{lib → src/lib}/components/list/utils/models.d.ts +88 -88
- package/{lib → src/lib}/components/menu/Menu.d.ts +50 -50
- package/{lib → src/lib}/components/menu/Menu.styles.d.ts +18 -18
- package/{lib → src/lib}/components/menu/MenuList.d.ts +26 -26
- package/{lib → src/lib}/components/menu/MenuList.styles.d.ts +4 -4
- package/{lib → src/lib}/components/menu/utils/constants.d.ts +3 -3
- package/{lib → src/lib}/components/menu/utils/helpers.d.ts +16 -16
- package/{lib → src/lib}/components/navigation-rail/NavigationRail.d.ts +25 -25
- package/{lib → src/lib}/components/navigation-rail/NavigationRail.styles.d.ts +6 -6
- package/{lib → src/lib}/components/navigation-rail/index.d.ts +2 -2
- package/{lib → src/lib}/components/pill/Pill.d.ts +24 -24
- package/{lib → src/lib}/components/pill/Pill.styles.d.ts +3 -3
- package/{lib → src/lib}/components/popper/Popper.d.ts +33 -33
- package/{lib → src/lib}/components/popper/Popper.data.d.ts +7 -7
- package/{lib → src/lib}/components/popper/Popper.styles.d.ts +12 -12
- package/{lib → src/lib}/components/popper/index.d.ts +2 -2
- package/{lib → src/lib}/components/progress/Progress.d.ts +18 -18
- package/{lib → src/lib}/components/progress/Progress.styles.d.ts +3 -3
- package/{lib → src/lib}/components/progress/index.d.ts +2 -2
- package/{lib → src/lib}/components/progress-button/ProgressButton.d.ts +8 -8
- package/{lib → src/lib}/components/progress-button/ProgressButton.styles.d.ts +3 -3
- package/{lib → src/lib}/components/radio/RadioButton.d.ts +31 -31
- package/{lib → src/lib}/components/radio/RadioButton.styles.d.ts +3 -3
- package/{lib → src/lib}/components/radio/RadioGroup.d.ts +29 -29
- package/{lib → src/lib}/components/radio/RadioGroup.styles.d.ts +6 -6
- package/{lib → src/lib}/components/search-input/SearchInput.d.ts +11 -11
- package/{lib → src/lib}/components/search-input/SearchInput.styles.d.ts +2 -2
- package/{lib → src/lib}/components/sidebar/Sidebar.d.ts +49 -49
- package/{lib → src/lib}/components/sidebar/Sidebar.styles.d.ts +2 -2
- package/{lib → src/lib}/components/skeleton/Skeleton.d.ts +14 -14
- package/{lib → src/lib}/components/skeleton/Skeleton.styles.d.ts +2 -2
- package/{lib → src/lib}/components/snackbar/Snackbar.d.ts +21 -21
- package/{lib → src/lib}/components/snackbar/Snackbar.styles.d.ts +8 -8
- package/{lib → src/lib}/components/snackbar/SnackbarContainer.styles.d.ts +2 -2
- package/{lib → src/lib}/components/snackbar/SnackbarHelper.d.ts +2 -2
- package/{lib → src/lib}/components/snackbar/SnackbarProvider.d.ts +21 -21
- package/{lib → src/lib}/components/snackbar/index.d.ts +4 -4
- package/{lib → src/lib}/components/split-button/SplitButton.d.ts +15 -15
- package/{lib → src/lib}/components/split-button/SplitButton.styles.d.ts +3 -3
- package/{lib → src/lib}/components/split-button/utils/helpers.d.ts +2 -2
- package/{lib → src/lib}/components/stepper/Stepper.d.ts +64 -64
- package/{lib → src/lib}/components/stepper/Stepper.styles.d.ts +15 -15
- package/{lib → src/lib}/components/switch/Switch.d.ts +26 -26
- package/{lib → src/lib}/components/switch/Switch.styles.d.ts +3 -3
- package/{lib → src/lib}/components/switch/index.d.ts +2 -2
- package/{lib → src/lib}/components/table/Table.d.ts +10 -10
- package/{lib → src/lib}/components/table/Table.data.d.ts +42 -42
- package/{lib → src/lib}/components/table/Table.styles.d.ts +4 -4
- package/{lib → src/lib}/components/table/TableAction.d.ts +12 -12
- package/{lib → src/lib}/components/table/TableActions.d.ts +7 -7
- package/{lib → src/lib}/components/table/TableActions.styles.d.ts +3 -3
- package/{lib → src/lib}/components/table/TableBody.d.ts +29 -29
- package/{lib → src/lib}/components/table/TableBody.styles.d.ts +2 -2
- package/{lib → src/lib}/components/table/TableBodyCheckboxCell.d.ts +8 -8
- package/{lib → src/lib}/components/table/TableBodyCheckboxCell.styles.d.ts +3 -3
- package/{lib → src/lib}/components/table/TableCell.d.ts +19 -19
- package/{lib → src/lib}/components/table/TableCell.styles.d.ts +3 -3
- package/{lib → src/lib}/components/table/TableDataWithPagination.d.ts +11 -11
- package/{lib → src/lib}/components/table/TableHeader.d.ts +6 -6
- package/{lib → src/lib}/components/table/TableHeaderCell.d.ts +36 -36
- package/{lib → src/lib}/components/table/TableHeaderCell.styles.d.ts +3 -3
- package/{lib → src/lib}/components/table/TableHeaderCheckboxCell.d.ts +8 -8
- package/{lib → src/lib}/components/table/TableHeaderCheckboxCell.styles.d.ts +3 -3
- package/{lib → src/lib}/components/table/TablePagination.d.ts +25 -25
- package/{lib → src/lib}/components/table/TablePagination.styles.d.ts +7 -7
- package/{lib → src/lib}/components/table/TableRow.d.ts +30 -30
- package/{lib → src/lib}/components/table/TableRow.styles.d.ts +2 -2
- package/{lib → src/lib}/components/table/TableRowEmpty.d.ts +7 -7
- package/{lib → src/lib}/components/table/TableSelectionToolbar.d.ts +8 -8
- package/{lib → src/lib}/components/table/TableSelectionToolbar.styles.d.ts +2 -2
- package/{lib → src/lib}/components/table/collapsible-table/CollapsibleTable.d.ts +2 -2
- package/{lib → src/lib}/components/table/collapsible-table/CollapsibleTable.styles.d.ts +2 -2
- package/{lib → src/lib}/components/table/collapsible-table/CollapsibleTableBody.d.ts +2 -2
- package/{lib → src/lib}/components/table/collapsible-table/ExpandCollapseCell.d.ts +3 -3
- package/{lib → src/lib}/components/table/collapsible-table/ExpandCollapseCell.styles.d.ts +3 -3
- package/{lib → src/lib}/components/table/collapsible-table/index.d.ts +4 -4
- package/{lib → src/lib}/components/table/collapsible-table/interfaces.d.ts +43 -43
- package/{lib → src/lib}/components/table/index.d.ts +13 -13
- package/{lib → src/lib}/components/table/utils/helpers.d.ts +9 -9
- package/{lib → src/lib}/components/table/utils/interfaces.d.ts +87 -87
- package/{lib → src/lib}/components/table/utils/models.d.ts +25 -25
- package/{lib → src/lib}/components/tabs/Tabs.d.ts +31 -31
- package/{lib → src/lib}/components/tabs/Tabs.styles.d.ts +2 -2
- package/{lib → src/lib}/components/time-picker/TimePicker.d.ts +63 -63
- package/{lib → src/lib}/components/time-picker/TimePicker.styles.d.ts +7 -7
- package/{lib → src/lib}/components/time-picker/index.d.ts +3 -3
- package/{lib → src/lib}/components/time-picker/utils/helpers.d.ts +18 -18
- package/{lib → src/lib}/components/time-picker/utils/models.d.ts +4 -4
- package/{lib → src/lib}/components/tooltip/Tooltip.d.ts +14 -14
- package/{lib → src/lib}/components/truncate-with-tooltip/TruncateWithTooltip.d.ts +9 -9
- package/{lib → src/lib}/components/truncate-with-tooltip/TruncateWithTooltip.styles.d.ts +3 -3
- package/{lib → src/lib}/components/truncate-with-tooltip/index.d.ts +2 -2
- package/{lib → src/lib}/components/truncate-with-tooltip/utils/helpers.d.ts +3 -3
- package/{lib → src/lib}/components/typography/Typography.d.ts +18 -18
- package/{lib → src/lib}/components/useStylesWithRootClass.d.ts +1 -1
- package/{lib → src/lib}/fonts/fonts.d.ts +1 -1
- package/{lib → src/lib}/theme-provider/ThemeProvider.d.ts +32 -32
- package/{lib → src/lib}/theme-provider/colors/agility-dark-theme-colors.d.ts +9 -9
- package/{lib → src/lib}/theme-provider/colors/agility-light-theme-colors.d.ts +11 -11
- package/{lib → src/lib}/theme-provider/colors/figma-colors.d.ts +3 -3
- package/{lib → src/lib}/theme-provider/colors/light-theme-colors.d.ts +104 -104
- package/{lib → src/lib}/theme-provider/common/variables.d.ts +6 -6
- package/{lib → src/lib}/theme-provider/interfaces.d.ts +198 -198
- package/index.umd.js +0 -12351
- package/lib/components/AccessibilityProps.d.ts +0 -1
- package/lib/components/button-toggle/utils/models.d.ts +0 -13
- package/lib/components/file-upload/FileListItem.styles.d.ts +0 -42
- package/lib/components/file-upload/uploadHelpers.d.ts +0 -12
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import { ChangeEvent, Ref } from 'react';
|
|
2
|
-
import { CommonProps } from '../CommonProps';
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export interface RadioButtonBaseProps extends CommonProps {
|
|
6
|
-
/** id of radio button */
|
|
7
|
-
id?: string;
|
|
8
|
-
/** pass a ref to the input element */
|
|
9
|
-
inputRef?: Ref<HTMLInputElement>;
|
|
10
|
-
/** label placement options available 'bottom' | 'end' | 'start' */
|
|
11
|
-
labelPlacement?: RadioLabelPlacement;
|
|
12
|
-
/** name of radio input */
|
|
13
|
-
name?: string;
|
|
14
|
-
/** if true user is required to select an option */
|
|
15
|
-
required?: boolean;
|
|
16
|
-
/** controls the size of the radio button 'medium', 'small' */
|
|
17
|
-
size?: RadioSize;
|
|
18
|
-
/** unique value for the radio button */
|
|
19
|
-
value?: string;
|
|
20
|
-
}
|
|
21
|
-
export interface RadioButtonProps extends RadioButtonBaseProps {
|
|
22
|
-
/** if the radio button is selected */
|
|
23
|
-
checked?: boolean;
|
|
24
|
-
/** if true makes the radio button disabled */
|
|
25
|
-
disabled?: boolean;
|
|
26
|
-
/** text displayed next to the radio button */
|
|
27
|
-
label?: string;
|
|
28
|
-
/** A function that should be executed when the value of the radio buttom changes */
|
|
29
|
-
onChange?: (event: ChangeEvent<HTMLInputElement>, value: string) => void;
|
|
30
|
-
}
|
|
31
|
-
export declare function DotRadioButton({ ariaLabel, checked, className, 'data-testid': dataTestId, disabled, id, inputRef, label, labelPlacement, name, onChange, required, size, value, }: RadioButtonProps): JSX.Element;
|
|
1
|
+
import { ChangeEvent, Ref } from 'react';
|
|
2
|
+
import { CommonProps } from '../CommonProps';
|
|
3
|
+
export type RadioSize = 'medium' | 'small';
|
|
4
|
+
export type RadioLabelPlacement = 'bottom' | 'end' | 'start';
|
|
5
|
+
export interface RadioButtonBaseProps extends CommonProps {
|
|
6
|
+
/** id of radio button */
|
|
7
|
+
id?: string;
|
|
8
|
+
/** pass a ref to the input element */
|
|
9
|
+
inputRef?: Ref<HTMLInputElement>;
|
|
10
|
+
/** label placement options available 'bottom' | 'end' | 'start' */
|
|
11
|
+
labelPlacement?: RadioLabelPlacement;
|
|
12
|
+
/** name of radio input */
|
|
13
|
+
name?: string;
|
|
14
|
+
/** if true user is required to select an option */
|
|
15
|
+
required?: boolean;
|
|
16
|
+
/** controls the size of the radio button 'medium', 'small' */
|
|
17
|
+
size?: RadioSize;
|
|
18
|
+
/** unique value for the radio button */
|
|
19
|
+
value?: string;
|
|
20
|
+
}
|
|
21
|
+
export interface RadioButtonProps extends RadioButtonBaseProps {
|
|
22
|
+
/** if the radio button is selected */
|
|
23
|
+
checked?: boolean;
|
|
24
|
+
/** if true makes the radio button disabled */
|
|
25
|
+
disabled?: boolean;
|
|
26
|
+
/** text displayed next to the radio button */
|
|
27
|
+
label?: string;
|
|
28
|
+
/** A function that should be executed when the value of the radio buttom changes */
|
|
29
|
+
onChange?: (event: ChangeEvent<HTMLInputElement>, value: string) => void;
|
|
30
|
+
}
|
|
31
|
+
export declare function DotRadioButton({ ariaLabel, checked, className, 'data-testid': dataTestId, disabled, id, inputRef, label, labelPlacement, name, onChange, required, size, value, }: RadioButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { Radio } from '@mui/material';
|
|
2
|
-
export declare const rootClassName = "dot-radio";
|
|
3
|
-
export declare const StyledRadioButton: import("styled-components").StyledComponent<typeof Radio, any, {}, never>;
|
|
1
|
+
import { Radio } from '@mui/material';
|
|
2
|
+
export declare const rootClassName = "dot-radio";
|
|
3
|
+
export declare const StyledRadioButton: import("styled-components").StyledComponent<typeof Radio, any, {}, never>;
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import { ChangeEvent, ReactNode } from 'react';
|
|
2
|
-
import { RadioButtonBaseProps, RadioButtonProps } from './RadioButton';
|
|
3
|
-
export interface RadioGroupBaseProps extends RadioButtonBaseProps {
|
|
4
|
-
/** if true makes all radio buttons disabled */
|
|
5
|
-
disableGroup?: boolean;
|
|
6
|
-
/** Icon placed before the children. */
|
|
7
|
-
endIcon?: ReactNode;
|
|
8
|
-
/** If true, the label should be displayed in an error state. */
|
|
9
|
-
error?: boolean;
|
|
10
|
-
/** The label of the radio button group. */
|
|
11
|
-
groupLabel?: string;
|
|
12
|
-
/** The helper text content. */
|
|
13
|
-
helperText?: string;
|
|
14
|
-
/** if true user is required to select an option */
|
|
15
|
-
required?: boolean;
|
|
16
|
-
/** changes layout to be horizontal if true */
|
|
17
|
-
row?: boolean;
|
|
18
|
-
/** Icon placed before the children. */
|
|
19
|
-
startIcon?: ReactNode;
|
|
20
|
-
}
|
|
21
|
-
export interface RadioGroupProps extends RadioGroupBaseProps {
|
|
22
|
-
/** The default input element value. Use when the component is not controlled or has a value. */
|
|
23
|
-
defaultValue?: string;
|
|
24
|
-
/** A function that should be executed when the value of the radio button changes */
|
|
25
|
-
onChange?: (event: ChangeEvent<HTMLInputElement>, value: string) => void;
|
|
26
|
-
/** Array of RadioButtonProps used to create the radio buttons */
|
|
27
|
-
options: RadioButtonProps[];
|
|
28
|
-
}
|
|
29
|
-
export declare const DotRadioGroup: ({ ariaLabel, ariaRole, className, "data-testid": dataTestId, defaultValue, disableGroup, endIcon, error, helperText, groupLabel, name, labelPlacement, onChange, value, options, startIcon, required, row, size, }: RadioGroupProps) => JSX.Element;
|
|
1
|
+
import { ChangeEvent, ReactNode } from 'react';
|
|
2
|
+
import { RadioButtonBaseProps, RadioButtonProps } from './RadioButton';
|
|
3
|
+
export interface RadioGroupBaseProps extends RadioButtonBaseProps {
|
|
4
|
+
/** if true makes all radio buttons disabled */
|
|
5
|
+
disableGroup?: boolean;
|
|
6
|
+
/** Icon placed before the children. */
|
|
7
|
+
endIcon?: ReactNode;
|
|
8
|
+
/** If true, the label should be displayed in an error state. */
|
|
9
|
+
error?: boolean;
|
|
10
|
+
/** The label of the radio button group. */
|
|
11
|
+
groupLabel?: string;
|
|
12
|
+
/** The helper text content. */
|
|
13
|
+
helperText?: string;
|
|
14
|
+
/** if true user is required to select an option */
|
|
15
|
+
required?: boolean;
|
|
16
|
+
/** changes layout to be horizontal if true */
|
|
17
|
+
row?: boolean;
|
|
18
|
+
/** Icon placed before the children. */
|
|
19
|
+
startIcon?: ReactNode;
|
|
20
|
+
}
|
|
21
|
+
export interface RadioGroupProps extends RadioGroupBaseProps {
|
|
22
|
+
/** The default input element value. Use when the component is not controlled or has a value. */
|
|
23
|
+
defaultValue?: string;
|
|
24
|
+
/** A function that should be executed when the value of the radio button changes */
|
|
25
|
+
onChange?: (event: ChangeEvent<HTMLInputElement>, value: string) => void;
|
|
26
|
+
/** Array of RadioButtonProps used to create the radio buttons */
|
|
27
|
+
options: RadioButtonProps[];
|
|
28
|
+
}
|
|
29
|
+
export declare const DotRadioGroup: ({ ariaLabel, ariaRole, className, "data-testid": dataTestId, defaultValue, disableGroup, endIcon, error, helperText, groupLabel, name, labelPlacement, onChange, value, options, startIcon, required, row, size, }: RadioGroupProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { RadioGroup } from '@mui/material';
|
|
2
|
-
export declare const wrapperClassName = "dot-radio-group-wrapper";
|
|
3
|
-
export declare const groupClassName = "dot-radio-group";
|
|
4
|
-
export declare const rootClassName = "dot-radio-control";
|
|
5
|
-
export declare const StyledRadioGroupWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
6
|
-
export declare const StyledRadioGroup: import("styled-components").StyledComponent<typeof RadioGroup, any, {}, never>;
|
|
1
|
+
import { RadioGroup } from '@mui/material';
|
|
2
|
+
export declare const wrapperClassName = "dot-radio-group-wrapper";
|
|
3
|
+
export declare const groupClassName = "dot-radio-group";
|
|
4
|
+
export declare const rootClassName = "dot-radio-control";
|
|
5
|
+
export declare const StyledRadioGroupWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
6
|
+
export declare const StyledRadioGroup: import("styled-components").StyledComponent<typeof RadioGroup, any, {}, never>;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { CommonProps } from '../CommonProps';
|
|
2
|
-
export interface SearchInputProps extends CommonProps {
|
|
3
|
-
autoFocus?: boolean;
|
|
4
|
-
disabled?: boolean;
|
|
5
|
-
onChange?: (searchText: string) => void;
|
|
6
|
-
onClear?: () => void;
|
|
7
|
-
placeholder?: string;
|
|
8
|
-
tooltip?: string;
|
|
9
|
-
value: string;
|
|
10
|
-
}
|
|
11
|
-
export declare function SearchInput({ 'data-testid': dataTestId, ariaRole, autoFocus, className, disabled, onChange, onClear, placeholder, tooltip, value, }: SearchInputProps): JSX.Element;
|
|
1
|
+
import { CommonProps } from '../CommonProps';
|
|
2
|
+
export interface SearchInputProps extends CommonProps {
|
|
3
|
+
autoFocus?: boolean;
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
onChange?: (searchText: string) => void;
|
|
6
|
+
onClear?: () => void;
|
|
7
|
+
placeholder?: string;
|
|
8
|
+
tooltip?: string;
|
|
9
|
+
value: string;
|
|
10
|
+
}
|
|
11
|
+
export declare function SearchInput({ 'data-testid': dataTestId, ariaRole, autoFocus, className, disabled, onChange, onClear, placeholder, tooltip, value, }: SearchInputProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const rootClassName = "dot-search-input";
|
|
2
|
-
export declare const StyledSearchInput: import("styled-components").StyledComponent<"span", any, {}, never>;
|
|
1
|
+
export declare const rootClassName = "dot-search-input";
|
|
2
|
+
export declare const StyledSearchInput: import("styled-components").StyledComponent<"span", any, {}, never>;
|
|
@@ -1,49 +1,49 @@
|
|
|
1
|
-
import { MouseEvent, ReactNode } from 'react';
|
|
2
|
-
import { AvatarProps } from '../avatar/Avatar';
|
|
3
|
-
import { ListItemProps, NestedListType } from '../list';
|
|
4
|
-
import { CommonProps } from '../CommonProps';
|
|
5
|
-
export interface BackItemProps extends CommonProps {
|
|
6
|
-
/** If provided, the icon ID which is displayed on the front of the list item */
|
|
7
|
-
iconId?: string;
|
|
8
|
-
/** Event callback */
|
|
9
|
-
onClick: (event: MouseEvent) => void;
|
|
10
|
-
/** Text which is displayed in the list item */
|
|
11
|
-
text: string;
|
|
12
|
-
/** The tooltip text displayed on hover */
|
|
13
|
-
title?: string;
|
|
14
|
-
}
|
|
15
|
-
export interface SidebarProps extends CommonProps {
|
|
16
|
-
/** If provided will display application logo */
|
|
17
|
-
appLogo?: ReactNode;
|
|
18
|
-
/** If provided will display application logo */
|
|
19
|
-
appLogoSmall?: ReactNode;
|
|
20
|
-
/** props used by the back item */
|
|
21
|
-
backItem?: BackItemProps;
|
|
22
|
-
/** If displayBrand is true this text will be displayed above the Digital.ai branding */
|
|
23
|
-
brandDesc?: string;
|
|
24
|
-
/** If provided will display below the navItems */
|
|
25
|
-
children?: ReactNode;
|
|
26
|
-
/** If true will display the expand/collapse icon button */
|
|
27
|
-
collapsable?: boolean;
|
|
28
|
-
/** If true will display appLogo provided at the top */
|
|
29
|
-
displayAppLogo?: boolean;
|
|
30
|
-
/** If true will display Digital.ai branding at the bottom */
|
|
31
|
-
displayBrand?: boolean;
|
|
32
|
-
/** If true will display the go back nav item at the top of the sidebar */
|
|
33
|
-
goBack?: boolean;
|
|
34
|
-
/** Array of nav items */
|
|
35
|
-
navItems?: Array<ListItemProps>;
|
|
36
|
-
/** If 'menu' the nested list will be displayed as a flyout nav, else it will be an expand/collapse toggle list */
|
|
37
|
-
nestedListType?: NestedListType;
|
|
38
|
-
/** onCollapseChange callback, true when the sidebar is collapsed **/
|
|
39
|
-
onCollapseChange?: (collapsed: boolean) => void;
|
|
40
|
-
/** If true, the sidebar is open. */
|
|
41
|
-
open?: boolean;
|
|
42
|
-
/** The text that is displayed at the top of the sidebar */
|
|
43
|
-
title?: string;
|
|
44
|
-
/** If provided, will display an avatar next to the title text */
|
|
45
|
-
titleAvatarProps?: AvatarProps;
|
|
46
|
-
/** Width of main menu drawer if mainMenu provided, defaults to 240px */
|
|
47
|
-
width?: number;
|
|
48
|
-
}
|
|
49
|
-
export declare const DotSidebar: ({ appLogo, appLogoSmall, ariaLabel, backItem, brandDesc, children, className, collapsable, "data-testid": dataTestId, displayAppLogo, displayBrand, goBack, navItems, nestedListType, onCollapseChange, open, title, titleAvatarProps, width, }: SidebarProps) => JSX.Element;
|
|
1
|
+
import { MouseEvent, ReactNode } from 'react';
|
|
2
|
+
import { AvatarProps } from '../avatar/Avatar';
|
|
3
|
+
import { ListItemProps, NestedListType } from '../list';
|
|
4
|
+
import { CommonProps } from '../CommonProps';
|
|
5
|
+
export interface BackItemProps extends CommonProps {
|
|
6
|
+
/** If provided, the icon ID which is displayed on the front of the list item */
|
|
7
|
+
iconId?: string;
|
|
8
|
+
/** Event callback */
|
|
9
|
+
onClick: (event: MouseEvent) => void;
|
|
10
|
+
/** Text which is displayed in the list item */
|
|
11
|
+
text: string;
|
|
12
|
+
/** The tooltip text displayed on hover */
|
|
13
|
+
title?: string;
|
|
14
|
+
}
|
|
15
|
+
export interface SidebarProps extends CommonProps {
|
|
16
|
+
/** If provided will display application logo */
|
|
17
|
+
appLogo?: ReactNode;
|
|
18
|
+
/** If provided will display application logo */
|
|
19
|
+
appLogoSmall?: ReactNode;
|
|
20
|
+
/** props used by the back item */
|
|
21
|
+
backItem?: BackItemProps;
|
|
22
|
+
/** If displayBrand is true this text will be displayed above the Digital.ai branding */
|
|
23
|
+
brandDesc?: string;
|
|
24
|
+
/** If provided will display below the navItems */
|
|
25
|
+
children?: ReactNode;
|
|
26
|
+
/** If true will display the expand/collapse icon button */
|
|
27
|
+
collapsable?: boolean;
|
|
28
|
+
/** If true will display appLogo provided at the top */
|
|
29
|
+
displayAppLogo?: boolean;
|
|
30
|
+
/** If true will display Digital.ai branding at the bottom */
|
|
31
|
+
displayBrand?: boolean;
|
|
32
|
+
/** If true will display the go back nav item at the top of the sidebar */
|
|
33
|
+
goBack?: boolean;
|
|
34
|
+
/** Array of nav items */
|
|
35
|
+
navItems?: Array<ListItemProps>;
|
|
36
|
+
/** If 'menu' the nested list will be displayed as a flyout nav, else it will be an expand/collapse toggle list */
|
|
37
|
+
nestedListType?: NestedListType;
|
|
38
|
+
/** onCollapseChange callback, true when the sidebar is collapsed **/
|
|
39
|
+
onCollapseChange?: (collapsed: boolean) => void;
|
|
40
|
+
/** If true, the sidebar is open. */
|
|
41
|
+
open?: boolean;
|
|
42
|
+
/** The text that is displayed at the top of the sidebar */
|
|
43
|
+
title?: string;
|
|
44
|
+
/** If provided, will display an avatar next to the title text */
|
|
45
|
+
titleAvatarProps?: AvatarProps;
|
|
46
|
+
/** Width of main menu drawer if mainMenu provided, defaults to 240px */
|
|
47
|
+
width?: number;
|
|
48
|
+
}
|
|
49
|
+
export declare const DotSidebar: ({ appLogo, appLogoSmall, ariaLabel, backItem, brandDesc, children, className, collapsable, "data-testid": dataTestId, displayAppLogo, displayBrand, goBack, navItems, nestedListType, onCollapseChange, open, title, titleAvatarProps, width, }: SidebarProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const rootClassName = "dot-sidebar";
|
|
2
|
-
export declare const StyledSidebar: import("styled-components").StyledComponent<"aside", any, {}, never>;
|
|
1
|
+
export declare const rootClassName = "dot-sidebar";
|
|
2
|
+
export declare const StyledSidebar: import("styled-components").StyledComponent<"aside", any, {}, never>;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { CommonProps } from '../CommonProps';
|
|
3
|
-
export
|
|
4
|
-
export interface SkeletonProps extends CommonProps {
|
|
5
|
-
/** component(s) inside a skeleton will constrain the size/shape */
|
|
6
|
-
children?: ReactNode;
|
|
7
|
-
/** Determine height of skeleton */
|
|
8
|
-
height?: number | string;
|
|
9
|
-
/** Control shape of skeleton */
|
|
10
|
-
variant?: SkeletonVariantType;
|
|
11
|
-
/** Determine width of skeleton */
|
|
12
|
-
width?: number | string;
|
|
13
|
-
}
|
|
14
|
-
export declare const DotSkeleton: ({ ariaLabel, children, className, "data-testid": dataTestId, height, width, variant, }: SkeletonProps) => JSX.Element;
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { CommonProps } from '../CommonProps';
|
|
3
|
+
export type SkeletonVariantType = 'circular' | 'rectangular' | 'text';
|
|
4
|
+
export interface SkeletonProps extends CommonProps {
|
|
5
|
+
/** component(s) inside a skeleton will constrain the size/shape */
|
|
6
|
+
children?: ReactNode;
|
|
7
|
+
/** Determine height of skeleton */
|
|
8
|
+
height?: number | string;
|
|
9
|
+
/** Control shape of skeleton */
|
|
10
|
+
variant?: SkeletonVariantType;
|
|
11
|
+
/** Determine width of skeleton */
|
|
12
|
+
width?: number | string;
|
|
13
|
+
}
|
|
14
|
+
export declare const DotSkeleton: ({ ariaLabel, children, className, "data-testid": dataTestId, height, width, variant, }: SkeletonProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const rootClassName = "dot-skeleton";
|
|
2
|
-
export declare const StyledSkeleton: import("styled-components").StyledComponent<import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SkeletonTypeMap<{}, "span">>, any, {}, never>;
|
|
1
|
+
export declare const rootClassName = "dot-skeleton";
|
|
2
|
+
export declare const StyledSkeleton: import("styled-components").StyledComponent<import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SkeletonTypeMap<{}, "span">>, any, {}, never>;
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { CommonProps } from '../CommonProps';
|
|
3
|
-
import { SnackbarOrigin } from './';
|
|
4
|
-
export
|
|
5
|
-
export interface SnackbarProps extends CommonProps {
|
|
6
|
-
/** Property used for creating a custom action button. */
|
|
7
|
-
action?: ReactNode;
|
|
8
|
-
/** The anchor of the Snackbar. On smaller screens, the component grows to occupy all the available width, the horizontal alignment is ignored. */
|
|
9
|
-
anchorOrigin?: SnackbarOrigin;
|
|
10
|
-
/** The message the user sees once the alert displays */
|
|
11
|
-
children: ReactNode;
|
|
12
|
-
/** A callback to handle closing the alert. */
|
|
13
|
-
onClose?: () => void;
|
|
14
|
-
/** Boolean value to switch between opening and closing the alert. */
|
|
15
|
-
open: boolean;
|
|
16
|
-
/** An alert level, indicating the importance of the message. */
|
|
17
|
-
severity: SnackbarSeverity;
|
|
18
|
-
/** Width of the encapsulated Alert component */
|
|
19
|
-
width?: string;
|
|
20
|
-
}
|
|
21
|
-
export declare const DotSnackbar: ({ action, anchorOrigin, ariaLabel, children, className, "data-testid": dataTestId, onClose, open, severity, width, }: SnackbarProps) => JSX.Element;
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { CommonProps } from '../CommonProps';
|
|
3
|
+
import { SnackbarOrigin } from './';
|
|
4
|
+
export type SnackbarSeverity = 'error' | 'warning' | 'info' | 'success';
|
|
5
|
+
export interface SnackbarProps extends CommonProps {
|
|
6
|
+
/** Property used for creating a custom action button. */
|
|
7
|
+
action?: ReactNode;
|
|
8
|
+
/** The anchor of the Snackbar. On smaller screens, the component grows to occupy all the available width, the horizontal alignment is ignored. */
|
|
9
|
+
anchorOrigin?: SnackbarOrigin;
|
|
10
|
+
/** The message the user sees once the alert displays */
|
|
11
|
+
children: ReactNode;
|
|
12
|
+
/** A callback to handle closing the alert. */
|
|
13
|
+
onClose?: () => void;
|
|
14
|
+
/** Boolean value to switch between opening and closing the alert. */
|
|
15
|
+
open: boolean;
|
|
16
|
+
/** An alert level, indicating the importance of the message. */
|
|
17
|
+
severity: SnackbarSeverity;
|
|
18
|
+
/** Width of the encapsulated Alert component */
|
|
19
|
+
width?: string;
|
|
20
|
+
}
|
|
21
|
+
export declare const DotSnackbar: ({ action, anchorOrigin, ariaLabel, children, className, "data-testid": dataTestId, onClose, open, severity, width, }: SnackbarProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Snackbar } from '@mui/material';
|
|
2
|
-
import { SnackbarSeverity } from './Snackbar';
|
|
3
|
-
export declare const rootClassName = "dot-snackbar";
|
|
4
|
-
interface StyledProps {
|
|
5
|
-
severity: SnackbarSeverity;
|
|
6
|
-
}
|
|
7
|
-
export declare const StyledSnackbar: import("styled-components").StyledComponent<typeof Snackbar, any, StyledProps, never>;
|
|
8
|
-
export {};
|
|
1
|
+
import { Snackbar } from '@mui/material';
|
|
2
|
+
import { SnackbarSeverity } from './Snackbar';
|
|
3
|
+
export declare const rootClassName = "dot-snackbar";
|
|
4
|
+
interface StyledProps {
|
|
5
|
+
severity: SnackbarSeverity;
|
|
6
|
+
}
|
|
7
|
+
export declare const StyledSnackbar: import("styled-components").StyledComponent<typeof Snackbar, any, StyledProps, never>;
|
|
8
|
+
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const rootClassName = "dot-snackbar-container";
|
|
2
|
-
export declare const StyledSnackbarContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
1
|
+
export declare const rootClassName = "dot-snackbar-container";
|
|
2
|
+
export declare const StyledSnackbarContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { SnackbarSeverity } from './Snackbar';
|
|
2
|
-
export declare function addAutoHideDuration(severity: SnackbarSeverity): number | null;
|
|
1
|
+
import { SnackbarSeverity } from './Snackbar';
|
|
2
|
+
export declare function addAutoHideDuration(severity: SnackbarSeverity): number | null;
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { SnackbarSeverity } from './Snackbar';
|
|
3
|
-
declare const initialState: {
|
|
4
|
-
message: string;
|
|
5
|
-
open: boolean;
|
|
6
|
-
severity: string;
|
|
7
|
-
id: string;
|
|
8
|
-
}[];
|
|
9
|
-
interface SnackbarProviderProps {
|
|
10
|
-
/** The components or string that load inside of the snackbar provider. */
|
|
11
|
-
children: ReactNode;
|
|
12
|
-
}
|
|
13
|
-
interface DotSnackbarProps {
|
|
14
|
-
alerts: typeof initialState;
|
|
15
|
-
enqueueMessage: (message: string, severity: SnackbarSeverity) => void;
|
|
16
|
-
removeMessage: (id: string) => void;
|
|
17
|
-
}
|
|
18
|
-
export declare const DotSnackbarContainer: () => JSX.Element;
|
|
19
|
-
export declare const DotSnackbarProvider: ({ children }: SnackbarProviderProps) => JSX.Element;
|
|
20
|
-
export declare const useDotSnackbarContext: () => DotSnackbarProps;
|
|
21
|
-
export {};
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { SnackbarSeverity } from './Snackbar';
|
|
3
|
+
declare const initialState: {
|
|
4
|
+
message: string;
|
|
5
|
+
open: boolean;
|
|
6
|
+
severity: string;
|
|
7
|
+
id: string;
|
|
8
|
+
}[];
|
|
9
|
+
interface SnackbarProviderProps {
|
|
10
|
+
/** The components or string that load inside of the snackbar provider. */
|
|
11
|
+
children: ReactNode;
|
|
12
|
+
}
|
|
13
|
+
interface DotSnackbarProps {
|
|
14
|
+
alerts: typeof initialState;
|
|
15
|
+
enqueueMessage: (message: string, severity: SnackbarSeverity) => void;
|
|
16
|
+
removeMessage: (id: string) => void;
|
|
17
|
+
}
|
|
18
|
+
export declare const DotSnackbarContainer: () => import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
export declare const DotSnackbarProvider: ({ children }: SnackbarProviderProps) => import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
export declare const useDotSnackbarContext: () => DotSnackbarProps;
|
|
21
|
+
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type { SnackbarOrigin } from '@mui/material';
|
|
2
|
-
export type { SnackbarProps, SnackbarSeverity } from './Snackbar';
|
|
3
|
-
export { DotSnackbar } from './Snackbar';
|
|
4
|
-
export { DotSnackbarContainer, DotSnackbarProvider, useDotSnackbarContext, } from './SnackbarProvider';
|
|
1
|
+
export type { SnackbarOrigin } from '@mui/material';
|
|
2
|
+
export type { SnackbarProps, SnackbarSeverity } from './Snackbar';
|
|
3
|
+
export { DotSnackbar } from './Snackbar';
|
|
4
|
+
export { DotSnackbarContainer, DotSnackbarProvider, useDotSnackbarContext, } from './SnackbarProvider';
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { MenuItemProps } from '../menu/Menu';
|
|
2
|
-
import { BaseButtonProps } from '../BaseButtonProps';
|
|
3
|
-
export interface SplitButtonProps extends BaseButtonProps {
|
|
4
|
-
/** accessibility label */
|
|
5
|
-
ariaLabel: string;
|
|
6
|
-
/** Key of the option which will be rendered as main option */
|
|
7
|
-
defaultMainOptionKey?: string;
|
|
8
|
-
/** Disable the portal behavior. If true, children stay within parent DOM hierarchy. */
|
|
9
|
-
disablePortal?: boolean;
|
|
10
|
-
/** Callback function which executes when any option has been clicked */
|
|
11
|
-
onOptionClick: (itemKey: string) => void;
|
|
12
|
-
/**The options within the button dropdown */
|
|
13
|
-
options: Array<MenuItemProps>;
|
|
14
|
-
}
|
|
15
|
-
export declare const DotSplitButton: ({ autoFocus, ariaLabel, className, "data-testid": dataTestId, defaultMainOptionKey, disabled, disablePortal, disableRipple, fullWidth, isSubmit, onOptionClick, options, size, tooltip, type, }: SplitButtonProps) => JSX.Element;
|
|
1
|
+
import { MenuItemProps } from '../menu/Menu';
|
|
2
|
+
import { BaseButtonProps } from '../BaseButtonProps';
|
|
3
|
+
export interface SplitButtonProps extends BaseButtonProps {
|
|
4
|
+
/** accessibility label */
|
|
5
|
+
ariaLabel: string;
|
|
6
|
+
/** Key of the option which will be rendered as main option */
|
|
7
|
+
defaultMainOptionKey?: string;
|
|
8
|
+
/** Disable the portal behavior. If true, children stay within parent DOM hierarchy. */
|
|
9
|
+
disablePortal?: boolean;
|
|
10
|
+
/** Callback function which executes when any option has been clicked */
|
|
11
|
+
onOptionClick: (itemKey: string) => void;
|
|
12
|
+
/**The options within the button dropdown */
|
|
13
|
+
options: Array<MenuItemProps>;
|
|
14
|
+
}
|
|
15
|
+
export declare const DotSplitButton: ({ autoFocus, ariaLabel, className, "data-testid": dataTestId, defaultMainOptionKey, disabled, disablePortal, disableRipple, fullWidth, isSubmit, onOptionClick, options, size, tooltip, type, }: SplitButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const rootClassName = "dot-split-button-group";
|
|
2
|
-
export declare const StyledSplitButtonGroup: import("styled-components").StyledComponent<import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").ButtonGroupTypeMap<{}, "div">>, any, {}, never>;
|
|
3
|
-
export declare const StyledMenu: import("styled-components").StyledComponent<({ anchorEl, ariaLabel, ariaRole, className, "data-testid": dataTestId, dense, disablePortal, id, loading, maxVisibleItems, menuItemHeight, menuItems, menuPlacement, onLeave, onSelect, open, selectedKey, }: import("../menu/Menu").MenuProps) => JSX.Element, any, {}, never>;
|
|
1
|
+
export declare const rootClassName = "dot-split-button-group";
|
|
2
|
+
export declare const StyledSplitButtonGroup: import("styled-components").StyledComponent<import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").ButtonGroupTypeMap<{}, "div">>, any, {}, never>;
|
|
3
|
+
export declare const StyledMenu: import("styled-components").StyledComponent<({ anchorEl, ariaLabel, ariaRole, className, "data-testid": dataTestId, dense, disablePortal, id, loading, maxVisibleItems, menuItemHeight, menuItems, menuPlacement, onLeave, onSelect, open, selectedKey, }: import("../menu/Menu").MenuProps) => import("react/jsx-runtime").JSX.Element, any, {}, never>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { MenuItemProps } from '../../menu/Menu';
|
|
2
|
-
export declare const getMainOptionIndex: (options: MenuItemProps[], mainOptionKey?: string) => number | null;
|
|
1
|
+
import { MenuItemProps } from '../../menu/Menu';
|
|
2
|
+
export declare const getMainOptionIndex: (options: MenuItemProps[], mainOptionKey?: string) => number | null;
|