@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,18 +1,18 @@
|
|
|
1
|
-
import { MutableRefObject } from 'react';
|
|
2
|
-
import { BreadcrumbItem } from '../Breadcrumbs';
|
|
3
|
-
export interface MaxVisibleItems {
|
|
4
|
-
lastRemovedItemWidth?: number;
|
|
5
|
-
maxVisibleItems: number;
|
|
6
|
-
}
|
|
7
|
-
interface BreadcrumbsResizerRefs {
|
|
8
|
-
firstItemRef: MutableRefObject<HTMLDivElement>;
|
|
9
|
-
lastItemRef: MutableRefObject<HTMLSpanElement>;
|
|
10
|
-
}
|
|
11
|
-
interface BreadcrumbItemsProps {
|
|
12
|
-
items: Array<BreadcrumbItem>;
|
|
13
|
-
maxItems?: number;
|
|
14
|
-
}
|
|
15
|
-
export declare const MIN_AVAILABLE_SPACE = 60;
|
|
16
|
-
export declare const ITEMS_SEPARATOR_SPACE = 20;
|
|
17
|
-
export declare const useBreadcrumbsResizer: (breadcrumbsRightCoord: number, breadcrumbItemsProps: BreadcrumbItemsProps, refs: BreadcrumbsResizerRefs) => [MaxVisibleItems];
|
|
18
|
-
export {};
|
|
1
|
+
import { MutableRefObject } from 'react';
|
|
2
|
+
import { BreadcrumbItem } from '../Breadcrumbs';
|
|
3
|
+
export interface MaxVisibleItems {
|
|
4
|
+
lastRemovedItemWidth?: number;
|
|
5
|
+
maxVisibleItems: number;
|
|
6
|
+
}
|
|
7
|
+
interface BreadcrumbsResizerRefs {
|
|
8
|
+
firstItemRef: MutableRefObject<HTMLDivElement>;
|
|
9
|
+
lastItemRef: MutableRefObject<HTMLSpanElement>;
|
|
10
|
+
}
|
|
11
|
+
interface BreadcrumbItemsProps {
|
|
12
|
+
items: Array<BreadcrumbItem>;
|
|
13
|
+
maxItems?: number;
|
|
14
|
+
}
|
|
15
|
+
export declare const MIN_AVAILABLE_SPACE = 60;
|
|
16
|
+
export declare const ITEMS_SEPARATOR_SPACE = 20;
|
|
17
|
+
export declare const useBreadcrumbsResizer: (breadcrumbsRightCoord: number, breadcrumbItemsProps: BreadcrumbItemsProps, refs: BreadcrumbsResizerRefs) => [MaxVisibleItems];
|
|
18
|
+
export {};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { KeyboardEventHandler, ReactNode } from 'react';
|
|
2
|
-
import { BaseButtonProps } from '../BaseButtonProps';
|
|
3
|
-
export interface ButtonProps extends BaseButtonProps {
|
|
4
|
-
/** The text for the button. Button text should be in sentence case. */
|
|
5
|
-
children: ReactNode;
|
|
6
|
-
/** Icon placed after the children. */
|
|
7
|
-
endIcon?: ReactNode;
|
|
8
|
-
onKeyDown?: KeyboardEventHandler;
|
|
9
|
-
/** Icon placed before the children. */
|
|
10
|
-
startIcon?: ReactNode;
|
|
11
|
-
}
|
|
12
|
-
/** This component wraps the Button component from @material-ui. */
|
|
13
|
-
export declare const DotButton: import("react").ForwardRefExoticComponent<ButtonProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
1
|
+
import { KeyboardEventHandler, ReactNode } from 'react';
|
|
2
|
+
import { BaseButtonProps } from '../BaseButtonProps';
|
|
3
|
+
export interface ButtonProps extends BaseButtonProps {
|
|
4
|
+
/** The text for the button. Button text should be in sentence case. */
|
|
5
|
+
children: ReactNode;
|
|
6
|
+
/** Icon placed after the children. */
|
|
7
|
+
endIcon?: ReactNode;
|
|
8
|
+
onKeyDown?: KeyboardEventHandler;
|
|
9
|
+
/** Icon placed before the children. */
|
|
10
|
+
startIcon?: ReactNode;
|
|
11
|
+
}
|
|
12
|
+
/** This component wraps the Button component from @material-ui. */
|
|
13
|
+
export declare const DotButton: import("react").ForwardRefExoticComponent<ButtonProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const rootClassName = "dot-button";
|
|
2
|
-
export declare const StyledButton: import("styled-components").StyledComponent<import("@mui/material").ExtendButtonBase<import("@mui/material").ButtonTypeMap<{}, "button">>, any, {}, never>;
|
|
1
|
+
export declare const rootClassName = "dot-button";
|
|
2
|
+
export declare const StyledButton: import("styled-components").StyledComponent<import("@mui/material").ExtendButtonBase<import("@mui/material").ButtonTypeMap<{}, "button">>, any, {}, never>;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { CommonIconButtonProps } from '../button/IconButton';
|
|
2
|
-
export interface CopyButtonProps extends CommonIconButtonProps {
|
|
3
|
-
/** Tooltip shown briefly after the value has been copied. */
|
|
4
|
-
copiedTooltip?: string;
|
|
5
|
-
/** DEPRECATED Use tooltip instead */
|
|
6
|
-
copyTooltip?: string;
|
|
7
|
-
/** The icon to display on the button, defaults to 'duplicate' */
|
|
8
|
-
iconId?: string;
|
|
9
|
-
/** By default a check icon will briefly display after the content is copied */
|
|
10
|
-
showCopiedIcon?: boolean;
|
|
11
|
-
/** The content which will be copied to the clipboard */
|
|
12
|
-
value: string;
|
|
13
|
-
}
|
|
14
|
-
export declare const DotCopyButton: ({ ariaLabel, ariaRole, className, color, copiedTooltip, copyTooltip, "data-testid": dataTestId, disabled, disableRipple, iconId, iconSize, onClick, shape, showCopiedIcon, size, tooltip, value, }: CopyButtonProps) => JSX.Element;
|
|
1
|
+
import { CommonIconButtonProps } from '../button/IconButton';
|
|
2
|
+
export interface CopyButtonProps extends CommonIconButtonProps {
|
|
3
|
+
/** Tooltip shown briefly after the value has been copied. */
|
|
4
|
+
copiedTooltip?: string;
|
|
5
|
+
/** DEPRECATED Use tooltip instead */
|
|
6
|
+
copyTooltip?: string;
|
|
7
|
+
/** The icon to display on the button, defaults to 'duplicate' */
|
|
8
|
+
iconId?: string;
|
|
9
|
+
/** By default a check icon will briefly display after the content is copied */
|
|
10
|
+
showCopiedIcon?: boolean;
|
|
11
|
+
/** The content which will be copied to the clipboard */
|
|
12
|
+
value: string;
|
|
13
|
+
}
|
|
14
|
+
export declare const DotCopyButton: ({ ariaLabel, ariaRole, className, color, copiedTooltip, copyTooltip, "data-testid": dataTestId, disabled, disableRipple, iconId, iconSize, onClick, shape, showCopiedIcon, size, tooltip, value, }: CopyButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const rootClassName = "dot-copy-button";
|
|
2
|
-
export declare const StyledCopyButton: import("styled-components").StyledComponent<"span", any, {}, never>;
|
|
1
|
+
export declare const rootClassName = "dot-copy-button";
|
|
2
|
+
export declare const StyledCopyButton: import("styled-components").StyledComponent<"span", any, {}, never>;
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import { MouseEvent } from 'react';
|
|
2
|
-
import { CommonProps } from '../CommonProps';
|
|
3
|
-
import { IconFontSize } from '../icon/Icon';
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export
|
|
7
|
-
export interface CommonIconButtonProps extends CommonProps {
|
|
8
|
-
/** 'default', 'inherit', 'primary', 'secondary' */
|
|
9
|
-
color?: IconButtonColor;
|
|
10
|
-
/** If true, the ripple effect is disabled. */
|
|
11
|
-
disableRipple?: boolean;
|
|
12
|
-
/** If true, the button will be disabled. */
|
|
13
|
-
disabled?: boolean;
|
|
14
|
-
/** Determines the size of the icon itself and spacing around it */
|
|
15
|
-
iconSize?: IconFontSize;
|
|
16
|
-
/** Event callback */
|
|
17
|
-
onClick?: (event: MouseEvent<HTMLButtonElement>) => void;
|
|
18
|
-
/** Controls the shape of icon, can be 'circle' or 'square' */
|
|
19
|
-
shape?: IconButtonShape;
|
|
20
|
-
/** Determines the size of the button and padding around the icon */
|
|
21
|
-
size?: IconButtonSize;
|
|
22
|
-
/** Help text to be displayed on icon hover */
|
|
23
|
-
tooltip?: string;
|
|
24
|
-
}
|
|
25
|
-
export interface IconButtonProps extends CommonIconButtonProps {
|
|
26
|
-
/** The icon to display on the button */
|
|
27
|
-
iconId: string;
|
|
28
|
-
}
|
|
29
|
-
export declare const DotIconButton: ({ ariaLabel, ariaRole, className, color, "data-testid": dataTestId, disabled, disableRipple, iconId, iconSize, onClick, tooltip, shape, size, }: IconButtonProps) => JSX.Element;
|
|
1
|
+
import { MouseEvent } from 'react';
|
|
2
|
+
import { CommonProps } from '../CommonProps';
|
|
3
|
+
import { IconFontSize } from '../icon/Icon';
|
|
4
|
+
export type IconButtonColor = 'default' | 'inherit' | 'primary' | 'secondary';
|
|
5
|
+
export type IconButtonSize = 'small' | 'medium';
|
|
6
|
+
export type IconButtonShape = 'circle' | 'square';
|
|
7
|
+
export interface CommonIconButtonProps extends CommonProps {
|
|
8
|
+
/** 'default', 'inherit', 'primary', 'secondary' */
|
|
9
|
+
color?: IconButtonColor;
|
|
10
|
+
/** If true, the ripple effect is disabled. */
|
|
11
|
+
disableRipple?: boolean;
|
|
12
|
+
/** If true, the button will be disabled. */
|
|
13
|
+
disabled?: boolean;
|
|
14
|
+
/** Determines the size of the icon itself and spacing around it */
|
|
15
|
+
iconSize?: IconFontSize;
|
|
16
|
+
/** Event callback */
|
|
17
|
+
onClick?: (event: MouseEvent<HTMLButtonElement>) => void;
|
|
18
|
+
/** Controls the shape of icon, can be 'circle' or 'square' */
|
|
19
|
+
shape?: IconButtonShape;
|
|
20
|
+
/** Determines the size of the button and padding around the icon */
|
|
21
|
+
size?: IconButtonSize;
|
|
22
|
+
/** Help text to be displayed on icon hover */
|
|
23
|
+
tooltip?: string;
|
|
24
|
+
}
|
|
25
|
+
export interface IconButtonProps extends CommonIconButtonProps {
|
|
26
|
+
/** The icon to display on the button */
|
|
27
|
+
iconId: string;
|
|
28
|
+
}
|
|
29
|
+
export declare const DotIconButton: ({ ariaLabel, ariaRole, className, color, "data-testid": dataTestId, disabled, disableRipple, iconId, iconSize, onClick, tooltip, shape, size, }: IconButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const rootClassName = "dot-icon-btn";
|
|
2
|
-
export declare const StyledIconButton: import("styled-components").StyledComponent<import("@mui/material").ExtendButtonBase<import("@mui/material").IconButtonTypeMap<{}, "button">>, any, {}, never>;
|
|
1
|
+
export declare const rootClassName = "dot-icon-btn";
|
|
2
|
+
export declare const StyledIconButton: import("styled-components").StyledComponent<import("@mui/material").ExtendButtonBase<import("@mui/material").IconButtonTypeMap<{}, "button">>, any, {}, never>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export type { ButtonProps } from './Button';
|
|
2
|
-
export type { CopyButtonProps } from './CopyButton';
|
|
3
|
-
export type { IconButtonProps, IconButtonColor, IconButtonSize, } from './IconButton';
|
|
4
|
-
export { DotButton } from './Button';
|
|
5
|
-
export { DotCopyButton } from './CopyButton';
|
|
6
|
-
export { DotIconButton } from './IconButton';
|
|
1
|
+
export type { ButtonProps } from './Button';
|
|
2
|
+
export type { CopyButtonProps } from './CopyButton';
|
|
3
|
+
export type { IconButtonProps, IconButtonColor, IconButtonSize, } from './IconButton';
|
|
4
|
+
export { DotButton } from './Button';
|
|
5
|
+
export { DotCopyButton } from './CopyButton';
|
|
6
|
+
export { DotIconButton } from './IconButton';
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { MouseEvent } from 'react';
|
|
2
|
-
import { CommonProps } from '../CommonProps';
|
|
3
|
-
import { ButtonToggleOption, ButtonToggleOrientation, ButtonToggleSize, ButtonToggleValue } from './utils/models';
|
|
4
|
-
export
|
|
5
|
-
export interface ButtonToggleProps extends CommonProps {
|
|
6
|
-
/** button props for each toggle button options*/
|
|
7
|
-
buttonOptions: ButtonToggleOption[];
|
|
8
|
-
color?: ButtonToggleColor;
|
|
9
|
-
/** If true, the keyboard focus ripple will be disabled */
|
|
10
|
-
disableFocusRipple?: boolean;
|
|
11
|
-
/** If true, the ripple effect will be disabled. */
|
|
12
|
-
disableRipple?: boolean;
|
|
13
|
-
/** If true, only allow one of the values to be selected. */
|
|
14
|
-
exclusive?: boolean;
|
|
15
|
-
/** callback function that is executed when the value changes */
|
|
16
|
-
onChange: (event: MouseEvent, value: ButtonToggleValue) => void;
|
|
17
|
-
/** The group orientation (layout flow direction)*/
|
|
18
|
-
orientation?: ButtonToggleOrientation;
|
|
19
|
-
/** The size of the buttons.*/
|
|
20
|
-
size?: ButtonToggleSize;
|
|
21
|
-
/** The value to associate with the button when selected in a ToggleButtonGroup */
|
|
22
|
-
value?: ButtonToggleValue;
|
|
23
|
-
}
|
|
24
|
-
export declare const DotButtonToggle: ({ ariaLabel, buttonOptions, className, color, "data-testid": dataTestId, disableFocusRipple, disableRipple, exclusive, onChange, orientation, size, value, }: ButtonToggleProps) => JSX.Element;
|
|
1
|
+
import { MouseEvent } from 'react';
|
|
2
|
+
import { CommonProps } from '../CommonProps';
|
|
3
|
+
import { ButtonToggleOption, ButtonToggleOrientation, ButtonToggleSize, ButtonToggleValue } from './utils/models';
|
|
4
|
+
export type ButtonToggleColor = 'standard' | 'primary';
|
|
5
|
+
export interface ButtonToggleProps extends CommonProps {
|
|
6
|
+
/** button props for each toggle button options*/
|
|
7
|
+
buttonOptions: ButtonToggleOption[];
|
|
8
|
+
color?: ButtonToggleColor;
|
|
9
|
+
/** If true, the keyboard focus ripple will be disabled */
|
|
10
|
+
disableFocusRipple?: boolean;
|
|
11
|
+
/** If true, the ripple effect will be disabled. */
|
|
12
|
+
disableRipple?: boolean;
|
|
13
|
+
/** If true, only allow one of the values to be selected. */
|
|
14
|
+
exclusive?: boolean;
|
|
15
|
+
/** callback function that is executed when the value changes */
|
|
16
|
+
onChange: (event: MouseEvent, value: ButtonToggleValue) => void;
|
|
17
|
+
/** The group orientation (layout flow direction)*/
|
|
18
|
+
orientation?: ButtonToggleOrientation;
|
|
19
|
+
/** The size of the buttons.*/
|
|
20
|
+
size?: ButtonToggleSize;
|
|
21
|
+
/** The value to associate with the button when selected in a ToggleButtonGroup */
|
|
22
|
+
value?: ButtonToggleValue;
|
|
23
|
+
}
|
|
24
|
+
export declare const DotButtonToggle: ({ ariaLabel, buttonOptions, className, color, "data-testid": dataTestId, disableFocusRipple, disableRipple, exclusive, onChange, orientation, size, value, }: ButtonToggleProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { ToggleButtonGroup } from '@mui/material';
|
|
2
|
-
export declare const rootClassName = "dot-button-toggle";
|
|
3
|
-
export declare const StyledToggleButtonGroup: import("styled-components").StyledComponent<typeof ToggleButtonGroup, any, {}, never>;
|
|
1
|
+
import { ToggleButtonGroup } from '@mui/material';
|
|
2
|
+
export declare const rootClassName = "dot-button-toggle";
|
|
3
|
+
export declare const StyledToggleButtonGroup: import("styled-components").StyledComponent<typeof ToggleButtonGroup, any, {}, never>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export type { ButtonToggleOrientation, ButtonToggleOption, ButtonToggleSingleValue, ButtonToggleSize, ButtonToggleValue, } from './utils/models';
|
|
2
|
-
export type { ButtonToggleProps } from './ButtonToggle';
|
|
3
|
-
export { DotButtonToggle } from './ButtonToggle';
|
|
1
|
+
export type { ButtonToggleOrientation, ButtonToggleOption, ButtonToggleSingleValue, ButtonToggleSize, ButtonToggleValue, } from './utils/models';
|
|
2
|
+
export type { ButtonToggleProps } from './ButtonToggle';
|
|
3
|
+
export { DotButtonToggle } from './ButtonToggle';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { CommonProps } from '../../CommonProps';
|
|
2
|
+
export type ButtonToggleSingleValue = string | number | boolean;
|
|
3
|
+
export type ButtonToggleSize = 'small' | 'medium' | 'large';
|
|
4
|
+
export type ButtonToggleOrientation = 'horizontal' | 'vertical';
|
|
5
|
+
export type ButtonToggleValue = ButtonToggleSingleValue | Array<ButtonToggleSingleValue>;
|
|
6
|
+
export interface ButtonToggleOption extends CommonProps {
|
|
7
|
+
ariaLabel: string;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
iconId?: string;
|
|
10
|
+
text?: string;
|
|
11
|
+
tooltip?: string;
|
|
12
|
+
value: ButtonToggleValue;
|
|
13
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { CommonProps } from '../CommonProps';
|
|
3
|
-
export interface CardProps extends CommonProps {
|
|
4
|
-
/** The content for the Card.*/
|
|
5
|
-
children: ReactNode;
|
|
6
|
-
}
|
|
7
|
-
export declare const DotCard: ({ ariaLabel, children, className, "data-testid": dataTestId, }: CardProps) => JSX.Element;
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { CommonProps } from '../CommonProps';
|
|
3
|
+
export interface CardProps extends CommonProps {
|
|
4
|
+
/** The content for the Card.*/
|
|
5
|
+
children: ReactNode;
|
|
6
|
+
}
|
|
7
|
+
export declare const DotCard: ({ ariaLabel, children, className, "data-testid": dataTestId, }: CardProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { CommonProps } from '../CommonProps';
|
|
3
|
-
export interface CardContentProps extends CommonProps {
|
|
4
|
-
/** The content for the CardContent.*/
|
|
5
|
-
children: ReactNode;
|
|
6
|
-
}
|
|
7
|
-
export declare const DotCardContent: ({ ariaLabel, children, className, "data-testid": dataTestId, }: CardContentProps) => JSX.Element;
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { CommonProps } from '../CommonProps';
|
|
3
|
+
export interface CardContentProps extends CommonProps {
|
|
4
|
+
/** The content for the CardContent.*/
|
|
5
|
+
children: ReactNode;
|
|
6
|
+
}
|
|
7
|
+
export declare const DotCardContent: ({ ariaLabel, children, className, "data-testid": dataTestId, }: CardContentProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { CommonProps } from '../CommonProps';
|
|
3
|
-
export interface CardFooterProps extends CommonProps {
|
|
4
|
-
/** The content for the CardFooter.*/
|
|
5
|
-
children: ReactNode;
|
|
6
|
-
}
|
|
7
|
-
export declare const DotCardFooter: ({ ariaLabel, children, className, "data-testid": dataTestId, }: CardFooterProps) => JSX.Element;
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { CommonProps } from '../CommonProps';
|
|
3
|
+
export interface CardFooterProps extends CommonProps {
|
|
4
|
+
/** The content for the CardFooter.*/
|
|
5
|
+
children: ReactNode;
|
|
6
|
+
}
|
|
7
|
+
export declare const DotCardFooter: ({ ariaLabel, children, className, "data-testid": dataTestId, }: CardFooterProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const rootClassName = "dot-card-footer";
|
|
2
|
-
export declare const StyledDiv: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
1
|
+
export declare const rootClassName = "dot-card-footer";
|
|
2
|
+
export declare const StyledDiv: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { CommonProps } from '../CommonProps';
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export interface CardHeaderProps extends CommonProps {
|
|
6
|
-
/** Card header action */
|
|
7
|
-
action?: ReactNode;
|
|
8
|
-
/** Card header avatar */
|
|
9
|
-
avatar?: ReactNode;
|
|
10
|
-
/** Card subheader */
|
|
11
|
-
subheader?: string;
|
|
12
|
-
/** Card subheader size */
|
|
13
|
-
subheaderSize?: SubheaderSize;
|
|
14
|
-
/** Card title */
|
|
15
|
-
title?: string;
|
|
16
|
-
/** Card title size */
|
|
17
|
-
titleSize?: TitleSize;
|
|
18
|
-
}
|
|
19
|
-
export declare const DotCardHeader: ({ action, ariaLabel, avatar, className, "data-testid": dataTestId, subheader, subheaderSize, title, titleSize, }: CardHeaderProps) => JSX.Element;
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { CommonProps } from '../CommonProps';
|
|
3
|
+
export type TitleSize = 'small' | 'medium' | 'large';
|
|
4
|
+
export type SubheaderSize = 'small' | 'large';
|
|
5
|
+
export interface CardHeaderProps extends CommonProps {
|
|
6
|
+
/** Card header action */
|
|
7
|
+
action?: ReactNode;
|
|
8
|
+
/** Card header avatar */
|
|
9
|
+
avatar?: ReactNode;
|
|
10
|
+
/** Card subheader */
|
|
11
|
+
subheader?: string;
|
|
12
|
+
/** Card subheader size */
|
|
13
|
+
subheaderSize?: SubheaderSize;
|
|
14
|
+
/** Card title */
|
|
15
|
+
title?: string;
|
|
16
|
+
/** Card title size */
|
|
17
|
+
titleSize?: TitleSize;
|
|
18
|
+
}
|
|
19
|
+
export declare const DotCardHeader: ({ action, ariaLabel, avatar, className, "data-testid": dataTestId, subheader, subheaderSize, title, titleSize, }: CardHeaderProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { CommonProps } from '../CommonProps';
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export interface CarouselProps extends CommonProps {
|
|
6
|
-
/** The animation shown when the carousel pages are changing. Default is `fade`. */
|
|
7
|
-
animation?: CarouselAnimationVariant;
|
|
8
|
-
/** If true, the pages of the carousel are changed automatically. */
|
|
9
|
-
autoPlay?: boolean;
|
|
10
|
-
/** Background color for the carousel. */
|
|
11
|
-
backgroundColor?: string;
|
|
12
|
-
/** The index of currently selected page. Use in controlled mode. */
|
|
13
|
-
currentPage?: number;
|
|
14
|
-
/** The option for displaying the arrow buttons. Default is `center`. */
|
|
15
|
-
displayNavigationButtons?: CarouselNavigationButtonDisplayOption;
|
|
16
|
-
/** Used with `autoPlay`. Duration in seconds for auto changing the carousel pages. Default is 3 s. */
|
|
17
|
-
duration?: number;
|
|
18
|
-
/** The index of initial selected page. Default is 0 (the first page). */
|
|
19
|
-
initialPage?: number;
|
|
20
|
-
/** Callback fired when the carousel page changes. Use in controlled mode (see `currentPage`). */
|
|
21
|
-
onPageChange?: (page: number) => void;
|
|
22
|
-
/** The array of pages to display in carousel. */
|
|
23
|
-
pagesContent: Array<ReactNode>;
|
|
24
|
-
/** Used with `autoPlay`. If true, the auto changing pages is paused when mouse is hovering the component. */
|
|
25
|
-
pauseAutoPlayOnHover?: boolean;
|
|
26
|
-
/** Used with `autoPlay`. If true, the linear progress bar is displayed on the bottom of carousel. */
|
|
27
|
-
progressIndicator?: boolean;
|
|
28
|
-
/** Determines whether you can see the pages buttons on bottom. True by default. */
|
|
29
|
-
showPagesButtons?: boolean;
|
|
30
|
-
}
|
|
31
|
-
export declare const DotCarousel: ({ animation, ariaLabel, autoPlay, backgroundColor, className, currentPage, "data-testid": dataTestId, displayNavigationButtons, duration, initialPage, onPageChange, pagesContent, pauseAutoPlayOnHover, progressIndicator, showPagesButtons, }: CarouselProps) => JSX.Element;
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { CommonProps } from '../CommonProps';
|
|
3
|
+
export type CarouselAnimationVariant = 'fade' | 'slide';
|
|
4
|
+
export type CarouselNavigationButtonDisplayOption = 'none' | 'top' | 'bottom' | 'center';
|
|
5
|
+
export interface CarouselProps extends CommonProps {
|
|
6
|
+
/** The animation shown when the carousel pages are changing. Default is `fade`. */
|
|
7
|
+
animation?: CarouselAnimationVariant;
|
|
8
|
+
/** If true, the pages of the carousel are changed automatically. */
|
|
9
|
+
autoPlay?: boolean;
|
|
10
|
+
/** Background color for the carousel. */
|
|
11
|
+
backgroundColor?: string;
|
|
12
|
+
/** The index of currently selected page. Use in controlled mode. */
|
|
13
|
+
currentPage?: number;
|
|
14
|
+
/** The option for displaying the arrow buttons. Default is `center`. */
|
|
15
|
+
displayNavigationButtons?: CarouselNavigationButtonDisplayOption;
|
|
16
|
+
/** Used with `autoPlay`. Duration in seconds for auto changing the carousel pages. Default is 3 s. */
|
|
17
|
+
duration?: number;
|
|
18
|
+
/** The index of initial selected page. Default is 0 (the first page). */
|
|
19
|
+
initialPage?: number;
|
|
20
|
+
/** Callback fired when the carousel page changes. Use in controlled mode (see `currentPage`). */
|
|
21
|
+
onPageChange?: (page: number) => void;
|
|
22
|
+
/** The array of pages to display in carousel. */
|
|
23
|
+
pagesContent: Array<ReactNode>;
|
|
24
|
+
/** Used with `autoPlay`. If true, the auto changing pages is paused when mouse is hovering the component. */
|
|
25
|
+
pauseAutoPlayOnHover?: boolean;
|
|
26
|
+
/** Used with `autoPlay`. If true, the linear progress bar is displayed on the bottom of carousel. */
|
|
27
|
+
progressIndicator?: boolean;
|
|
28
|
+
/** Determines whether you can see the pages buttons on bottom. True by default. */
|
|
29
|
+
showPagesButtons?: boolean;
|
|
30
|
+
}
|
|
31
|
+
export declare const DotCarousel: ({ animation, ariaLabel, autoPlay, backgroundColor, className, currentPage, "data-testid": dataTestId, displayNavigationButtons, duration, initialPage, onPageChange, pagesContent, pauseAutoPlayOnHover, progressIndicator, showPagesButtons, }: CarouselProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export declare const rootClassName = "dot-carousel";
|
|
2
|
-
interface StyledCarouselProps {
|
|
3
|
-
backgroundColor?: string;
|
|
4
|
-
}
|
|
5
|
-
export declare const StyledCarousel: import("styled-components").StyledComponent<"div", any, StyledCarouselProps, never>;
|
|
6
|
-
export {};
|
|
1
|
+
export declare const rootClassName = "dot-carousel";
|
|
2
|
+
interface StyledCarouselProps {
|
|
3
|
+
backgroundColor?: string;
|
|
4
|
+
}
|
|
5
|
+
export declare const StyledCarousel: import("styled-components").StyledComponent<"div", any, StyledCarouselProps, never>;
|
|
6
|
+
export {};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { RadioButtonProps } from '../radio/RadioButton';
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export interface CheckboxProps extends RadioButtonProps {
|
|
5
|
-
/** accessibility labelled by */
|
|
6
|
-
ariaLabelledby?: string;
|
|
7
|
-
/** If true, the ripple effect will be disabled. */
|
|
8
|
-
disableRipple?: boolean;
|
|
9
|
-
/** if true the checkbox will display with intermediate */
|
|
10
|
-
indeterminate?: boolean;
|
|
11
|
-
}
|
|
12
|
-
export declare function DotCheckbox({ ariaLabel, ariaLabelledby, checked, className, 'data-testid': dataTestId, disabled, disableRipple, id, indeterminate, inputRef, label, labelPlacement, name, onChange, required, size, value, }: CheckboxProps): JSX.Element;
|
|
1
|
+
import { RadioButtonProps } from '../radio/RadioButton';
|
|
2
|
+
export type CheckboxSize = 'medium' | 'small';
|
|
3
|
+
export type CheckboxLabelPlacement = 'bottom' | 'end' | 'start';
|
|
4
|
+
export interface CheckboxProps extends RadioButtonProps {
|
|
5
|
+
/** accessibility labelled by */
|
|
6
|
+
ariaLabelledby?: string;
|
|
7
|
+
/** If true, the ripple effect will be disabled. */
|
|
8
|
+
disableRipple?: boolean;
|
|
9
|
+
/** if true the checkbox will display with intermediate */
|
|
10
|
+
indeterminate?: boolean;
|
|
11
|
+
}
|
|
12
|
+
export declare function DotCheckbox({ ariaLabel, ariaLabelledby, checked, className, 'data-testid': dataTestId, disabled, disableRipple, id, indeterminate, inputRef, label, labelPlacement, name, onChange, required, size, value, }: CheckboxProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { Checkbox } from '@mui/material';
|
|
2
|
-
export declare const rootClassName = "dot-checkbox";
|
|
3
|
-
export declare const StyledCheckbox: import("styled-components").StyledComponent<typeof Checkbox, any, {}, never>;
|
|
1
|
+
import { Checkbox } from '@mui/material';
|
|
2
|
+
export declare const rootClassName = "dot-checkbox";
|
|
3
|
+
export declare const StyledCheckbox: import("styled-components").StyledComponent<typeof Checkbox, any, {}, never>;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { ChangeEvent } from 'react';
|
|
2
|
-
import { RadioGroupBaseProps } from '../radio/RadioGroup';
|
|
3
|
-
import { CheckboxProps } from './Checkbox';
|
|
4
|
-
export interface CheckboxGroupProps extends RadioGroupBaseProps {
|
|
5
|
-
/** Array of CheckboxProps to set by default */
|
|
6
|
-
defaultValues?: CheckboxProps[];
|
|
7
|
-
/** A function that should be executed when the value of the checkbox changes */
|
|
8
|
-
onChange?: (event: ChangeEvent<HTMLInputElement>, value: CheckboxProps[]) => void;
|
|
9
|
-
/** Array of CheckboxProps used to create the checkboxes */
|
|
10
|
-
options: CheckboxProps[];
|
|
11
|
-
/** select all label */
|
|
12
|
-
selectAllLabel?: string;
|
|
13
|
-
/** if true use parent for selecting/deselecting all */
|
|
14
|
-
showSelectAll?: boolean;
|
|
15
|
-
}
|
|
16
|
-
export declare function DotCheckboxGroup({ ariaLabel, className, 'data-testid': dataTestId, defaultValues, disableGroup, endIcon, error, groupLabel, helperText, name, labelPlacement, onChange, options, showSelectAll, required, row, selectAllLabel, startIcon, size, }: CheckboxGroupProps): JSX.Element;
|
|
1
|
+
import { ChangeEvent } from 'react';
|
|
2
|
+
import { RadioGroupBaseProps } from '../radio/RadioGroup';
|
|
3
|
+
import { CheckboxProps } from './Checkbox';
|
|
4
|
+
export interface CheckboxGroupProps extends RadioGroupBaseProps {
|
|
5
|
+
/** Array of CheckboxProps to set by default */
|
|
6
|
+
defaultValues?: CheckboxProps[];
|
|
7
|
+
/** A function that should be executed when the value of the checkbox changes */
|
|
8
|
+
onChange?: (event: ChangeEvent<HTMLInputElement>, value: CheckboxProps[]) => void;
|
|
9
|
+
/** Array of CheckboxProps used to create the checkboxes */
|
|
10
|
+
options: CheckboxProps[];
|
|
11
|
+
/** select all label */
|
|
12
|
+
selectAllLabel?: string;
|
|
13
|
+
/** if true use parent for selecting/deselecting all */
|
|
14
|
+
showSelectAll?: boolean;
|
|
15
|
+
}
|
|
16
|
+
export declare function DotCheckboxGroup({ ariaLabel, className, 'data-testid': dataTestId, defaultValues, disableGroup, endIcon, error, groupLabel, helperText, name, labelPlacement, onChange, options, showSelectAll, required, row, selectAllLabel, startIcon, size, }: CheckboxGroupProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare const rootClassName = "dot-checkbox-group";
|
|
2
|
-
export declare const wrapperClassName = "dot-checkbox-group-wrapper";
|
|
3
|
-
export declare const checkboxListClassName = "dot-checkbox-list";
|
|
4
|
-
export declare const checkboxListItemClassName = "dot-checkbox-list-item";
|
|
5
|
-
export declare const StyledCheckboxGroup: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
1
|
+
export declare const rootClassName = "dot-checkbox-group";
|
|
2
|
+
export declare const wrapperClassName = "dot-checkbox-group-wrapper";
|
|
3
|
+
export declare const checkboxListClassName = "dot-checkbox-list";
|
|
4
|
+
export declare const checkboxListItemClassName = "dot-checkbox-list-item";
|
|
5
|
+
export declare const StyledCheckboxGroup: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import { MouseEvent, ReactElement } from 'react';
|
|
2
|
-
import { CommonProps } from '../CommonProps';
|
|
3
|
-
export
|
|
4
|
-
export declare const DEFAULT_CHARACTERS_LIMIT = 32;
|
|
5
|
-
export interface ChipProps extends CommonProps {
|
|
6
|
-
/** If provided, will display an avatar which takes precedence over icon */
|
|
7
|
-
avatar?: ReactElement;
|
|
8
|
-
/** Maximum number of characters until the label gets truncated. Default is 32. */
|
|
9
|
-
charactersLimit?: number;
|
|
10
|
-
/** The text for the chip. */
|
|
11
|
-
children: string;
|
|
12
|
-
/** If true, the chip is disabled */
|
|
13
|
-
disabled?: boolean;
|
|
14
|
-
/** If true, the chip is in error */
|
|
15
|
-
error?: boolean;
|
|
16
|
-
/** If true, the chip is clickable */
|
|
17
|
-
isClickable?: boolean;
|
|
18
|
-
/** If true, the chip is deletable */
|
|
19
|
-
isDeletable?: boolean;
|
|
20
|
-
/** Event callback on click */
|
|
21
|
-
onClick?: (event: MouseEvent) => void;
|
|
22
|
-
/** Event callback when delete icon is clicked */
|
|
23
|
-
onDelete?: (event: MouseEvent) => void;
|
|
24
|
-
/** Determines the size of the chip 'medium' or 'small' */
|
|
25
|
-
size?: ChipSize;
|
|
26
|
-
/** The icon to display on the chip */
|
|
27
|
-
startIcon?: ReactElement;
|
|
28
|
-
}
|
|
29
|
-
export declare const DotChip: ({ ariaLabel, avatar, charactersLimit, children, className, "data-testid": dataTestId, disabled, error, isClickable, isDeletable, onClick, onDelete, size, startIcon, }: ChipProps) => JSX.Element;
|
|
1
|
+
import { MouseEvent, ReactElement } from 'react';
|
|
2
|
+
import { CommonProps } from '../CommonProps';
|
|
3
|
+
export type ChipSize = 'medium' | 'small';
|
|
4
|
+
export declare const DEFAULT_CHARACTERS_LIMIT = 32;
|
|
5
|
+
export interface ChipProps extends CommonProps {
|
|
6
|
+
/** If provided, will display an avatar which takes precedence over icon */
|
|
7
|
+
avatar?: ReactElement;
|
|
8
|
+
/** Maximum number of characters until the label gets truncated. Default is 32. */
|
|
9
|
+
charactersLimit?: number;
|
|
10
|
+
/** The text for the chip. */
|
|
11
|
+
children: string;
|
|
12
|
+
/** If true, the chip is disabled */
|
|
13
|
+
disabled?: boolean;
|
|
14
|
+
/** If true, the chip is in error */
|
|
15
|
+
error?: boolean;
|
|
16
|
+
/** If true, the chip is clickable */
|
|
17
|
+
isClickable?: boolean;
|
|
18
|
+
/** If true, the chip is deletable */
|
|
19
|
+
isDeletable?: boolean;
|
|
20
|
+
/** Event callback on click */
|
|
21
|
+
onClick?: (event: MouseEvent) => void;
|
|
22
|
+
/** Event callback when delete icon is clicked */
|
|
23
|
+
onDelete?: (event: MouseEvent) => void;
|
|
24
|
+
/** Determines the size of the chip 'medium' or 'small' */
|
|
25
|
+
size?: ChipSize;
|
|
26
|
+
/** The icon to display on the chip */
|
|
27
|
+
startIcon?: ReactElement;
|
|
28
|
+
}
|
|
29
|
+
export declare const DotChip: ({ ariaLabel, avatar, charactersLimit, children, className, "data-testid": dataTestId, disabled, error, isClickable, isDeletable, onClick, onDelete, size, startIcon, }: ChipProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const rootClassName = "dot-chip";
|
|
2
|
-
export declare const StyledChip: import("styled-components").StyledComponent<import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").ChipTypeMap<{}, "div">>, any, {}, never>;
|
|
1
|
+
export declare const rootClassName = "dot-chip";
|
|
2
|
+
export declare const StyledChip: import("styled-components").StyledComponent<import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").ChipTypeMap<{}, "div">>, any, {}, never>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
2
|
-
export interface ClickAwayListenerProps {
|
|
3
|
-
/** The wrapped element. */
|
|
4
|
-
children: ReactElement;
|
|
5
|
-
/** If true, the React tree is ignored and only the DOM tree is considered. This prop changes how portaled elements are handled. */
|
|
6
|
-
disableReactTree?: boolean;
|
|
7
|
-
/** Callback fired when a "click away" event is detected. */
|
|
8
|
-
onClickAway: (event: MouseEvent | TouchEvent) => void;
|
|
9
|
-
}
|
|
10
|
-
export declare const DotClickAwayListener: ({ children, disableReactTree, onClickAway, }: ClickAwayListenerProps) => JSX.Element;
|
|
1
|
+
import { ReactElement } from 'react';
|
|
2
|
+
export interface ClickAwayListenerProps {
|
|
3
|
+
/** The wrapped element. */
|
|
4
|
+
children: ReactElement;
|
|
5
|
+
/** If true, the React tree is ignored and only the DOM tree is considered. This prop changes how portaled elements are handled. */
|
|
6
|
+
disableReactTree?: boolean;
|
|
7
|
+
/** Callback fired when a "click away" event is detected. */
|
|
8
|
+
onClickAway: (event: MouseEvent | TouchEvent) => void;
|
|
9
|
+
}
|
|
10
|
+
export declare const DotClickAwayListener: ({ children, disableReactTree, onClickAway, }: ClickAwayListenerProps) => import("react/jsx-runtime").JSX.Element;
|