@progress/kendo-react-layout 7.2.4-develop.2 → 7.2.4-develop.4
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/actionsheet/ActionSheet.js +8 -0
- package/actionsheet/ActionSheet.mjs +184 -0
- package/actionsheet/ActionSheetContent.js +8 -0
- package/actionsheet/ActionSheetContent.mjs +32 -0
- package/actionsheet/ActionSheetFooter.js +8 -0
- package/actionsheet/ActionSheetFooter.mjs +32 -0
- package/actionsheet/ActionSheetHeader.js +8 -0
- package/actionsheet/ActionSheetHeader.mjs +32 -0
- package/actionsheet/ActionSheetItem.js +8 -0
- package/actionsheet/ActionSheetItem.mjs +52 -0
- package/appbar/AppBar.js +8 -0
- package/appbar/AppBar.mjs +86 -0
- package/appbar/AppBarSection.js +8 -0
- package/appbar/AppBarSection.mjs +47 -0
- package/appbar/AppBarSpacer.js +8 -0
- package/appbar/AppBarSpacer.mjs +55 -0
- package/bottomnavigation/BottomNavigation.js +8 -0
- package/bottomnavigation/BottomNavigation.mjs +160 -0
- package/bottomnavigation/BottomNavigationItem.js +8 -0
- package/bottomnavigation/BottomNavigationItem.mjs +93 -0
- package/bottomnavigation/models/utils.js +8 -0
- package/bottomnavigation/models/utils.mjs +19 -0
- package/breadcrumb/Breadcrumb.js +8 -0
- package/breadcrumb/Breadcrumb.mjs +158 -0
- package/breadcrumb/BreadcrumbDelimiter.js +8 -0
- package/breadcrumb/BreadcrumbDelimiter.mjs +48 -0
- package/breadcrumb/BreadcrumbLink.js +8 -0
- package/breadcrumb/BreadcrumbLink.mjs +82 -0
- package/breadcrumb/BreadcrumbListItem.js +8 -0
- package/breadcrumb/BreadcrumbListItem.mjs +52 -0
- package/breadcrumb/BreadcrumbOrderedList.js +8 -0
- package/breadcrumb/BreadcrumbOrderedList.mjs +67 -0
- package/card/Avatar.js +8 -0
- package/card/Avatar.mjs +53 -0
- package/card/Card.js +8 -0
- package/card/Card.mjs +52 -0
- package/card/CardActions.js +8 -0
- package/card/CardActions.mjs +40 -0
- package/card/CardBody.js +8 -0
- package/card/CardBody.mjs +28 -0
- package/card/CardFooter.js +8 -0
- package/card/CardFooter.mjs +28 -0
- package/card/CardHeader.js +8 -0
- package/card/CardHeader.mjs +28 -0
- package/card/CardImage.js +8 -0
- package/card/CardImage.mjs +36 -0
- package/card/CardSubtitle.js +8 -0
- package/card/CardSubtitle.mjs +28 -0
- package/card/CardTitle.js +8 -0
- package/card/CardTitle.mjs +28 -0
- package/card/interfaces/Enums.js +8 -0
- package/card/interfaces/Enums.mjs +15 -0
- package/contextmenu/ContextMenu.js +8 -0
- package/contextmenu/ContextMenu.mjs +48 -0
- package/dist/cdn/js/kendo-react-layout.js +8 -5
- package/drawer/Drawer.js +8 -0
- package/drawer/Drawer.mjs +130 -0
- package/drawer/DrawerContent.js +8 -0
- package/drawer/DrawerContent.mjs +33 -0
- package/drawer/DrawerItem.js +8 -0
- package/drawer/DrawerItem.mjs +89 -0
- package/drawer/DrawerNavigation.js +8 -0
- package/drawer/DrawerNavigation.mjs +132 -0
- package/drawer/context/DrawerContext.js +8 -0
- package/drawer/context/DrawerContext.mjs +22 -0
- package/expansionpanel/ExpansionPanel.js +8 -0
- package/expansionpanel/ExpansionPanel.mjs +116 -0
- package/expansionpanel/ExpansionPanelContent.js +8 -0
- package/expansionpanel/ExpansionPanelContent.mjs +23 -0
- package/gridlayout/GridLayout.js +8 -0
- package/gridlayout/GridLayout.mjs +83 -0
- package/gridlayout/GridLayoutItem.js +8 -0
- package/gridlayout/GridLayoutItem.mjs +46 -0
- package/index.d.mts +4593 -5
- package/index.d.ts +4593 -103
- package/index.js +8 -5
- package/index.mjs +139 -5037
- package/menu/components/Menu.js +8 -0
- package/menu/components/Menu.mjs +193 -0
- package/menu/components/MenuItem.js +8 -0
- package/menu/components/MenuItem.mjs +34 -0
- package/menu/components/MenuItemArrow.js +8 -0
- package/menu/components/MenuItemArrow.mjs +49 -0
- package/menu/components/MenuItemInternal.js +8 -0
- package/menu/components/MenuItemInternal.mjs +222 -0
- package/menu/components/MenuItemLink.js +8 -0
- package/menu/components/MenuItemLink.mjs +54 -0
- package/menu/consts.js +8 -0
- package/menu/consts.mjs +59 -0
- package/menu/utils/DirectionHolder.js +8 -0
- package/menu/utils/DirectionHolder.mjs +25 -0
- package/menu/utils/MouseOverHandler.js +8 -0
- package/menu/utils/MouseOverHandler.mjs +34 -0
- package/menu/utils/getNewItemIdUponKeyboardNavigation.js +8 -0
- package/menu/utils/getNewItemIdUponKeyboardNavigation.mjs +124 -0
- package/menu/utils/hoverDelay.js +8 -0
- package/menu/utils/hoverDelay.mjs +18 -0
- package/menu/utils/itemsIdsUtils.js +8 -0
- package/menu/utils/itemsIdsUtils.mjs +81 -0
- package/menu/utils/misc.js +8 -0
- package/menu/utils/misc.mjs +29 -0
- package/menu/utils/prepareInputItemsForInternalWork.js +8 -0
- package/menu/utils/prepareInputItemsForInternalWork.mjs +59 -0
- package/package-metadata.js +8 -0
- package/package-metadata.mjs +19 -0
- package/package.json +6 -6
- package/panelbar/PanelBar.js +8 -0
- package/panelbar/PanelBar.mjs +195 -0
- package/panelbar/PanelBarItem.js +8 -0
- package/panelbar/PanelBarItem.mjs +148 -0
- package/panelbar/interfaces/NavigationAction.js +8 -0
- package/panelbar/interfaces/NavigationAction.mjs +12 -0
- package/panelbar/util.js +8 -0
- package/panelbar/util.mjs +122 -0
- package/splitter/Splitter.js +8 -0
- package/splitter/Splitter.mjs +238 -0
- package/splitter/SplitterBar.js +8 -0
- package/splitter/SplitterBar.mjs +129 -0
- package/splitter/SplitterPane.js +8 -0
- package/splitter/SplitterPane.mjs +50 -0
- package/splitter/messages/index.js +8 -0
- package/splitter/messages/index.mjs +15 -0
- package/stacklayout/StackLayout.js +8 -0
- package/stacklayout/StackLayout.mjs +84 -0
- package/stepper/Step.js +8 -0
- package/stepper/Step.mjs +177 -0
- package/stepper/Stepper.js +8 -0
- package/stepper/Stepper.mjs +252 -0
- package/stepper/contants.js +8 -0
- package/stepper/contants.mjs +13 -0
- package/stepper/context/StepperContext.js +8 -0
- package/stepper/context/StepperContext.mjs +17 -0
- package/stepper/messages/index.js +8 -0
- package/stepper/messages/index.mjs +17 -0
- package/tabstrip/TabStrip.js +8 -0
- package/tabstrip/TabStrip.mjs +163 -0
- package/tabstrip/TabStripContent.js +8 -0
- package/tabstrip/TabStripContent.mjs +81 -0
- package/tabstrip/TabStripNavigation.js +8 -0
- package/tabstrip/TabStripNavigation.mjs +171 -0
- package/tabstrip/TabStripNavigationItem.js +8 -0
- package/tabstrip/TabStripNavigationItem.mjs +55 -0
- package/tabstrip/TabStripTab.js +8 -0
- package/tabstrip/TabStripTab.mjs +35 -0
- package/tilelayout/InternalTile.js +8 -0
- package/tilelayout/InternalTile.mjs +203 -0
- package/tilelayout/ResizeHandlers.js +8 -0
- package/tilelayout/ResizeHandlers.mjs +53 -0
- package/tilelayout/TileLayout.js +8 -0
- package/tilelayout/TileLayout.mjs +122 -0
- package/timeline/Timeline.js +8 -0
- package/timeline/Timeline.mjs +79 -0
- package/timeline/TimelineCard.js +8 -0
- package/timeline/TimelineCard.mjs +109 -0
- package/timeline/TimelineHorizontal.js +8 -0
- package/timeline/TimelineHorizontal.mjs +239 -0
- package/timeline/TimelineVertical.js +8 -0
- package/timeline/TimelineVertical.mjs +78 -0
- package/timeline/utils.js +8 -0
- package/timeline/utils.mjs +16 -0
- package/actionsheet/ActionSheet.d.ts +0 -138
- package/actionsheet/ActionSheetContent.d.ts +0 -14
- package/actionsheet/ActionSheetFooter.d.ts +0 -14
- package/actionsheet/ActionSheetHeader.d.ts +0 -14
- package/actionsheet/ActionSheetItem.d.ts +0 -10
- package/actionsheet/interfaces/ActionSheetChildrenProps.d.ts +0 -17
- package/actionsheet/interfaces/ActionSheetItemProps.d.ts +0 -70
- package/appbar/AppBar.d.ts +0 -54
- package/appbar/AppBarSection.d.ts +0 -53
- package/appbar/AppBarSpacer.d.ts +0 -54
- package/appbar/interfaces/AppBarProps.d.ts +0 -83
- package/appbar/interfaces/AppBarSectionProps.d.ts +0 -22
- package/appbar/interfaces/AppBarSpacerProps.d.ts +0 -23
- package/bottomnavigation/BottomNavigation.d.ts +0 -42
- package/bottomnavigation/BottomNavigationItem.d.ts +0 -16
- package/bottomnavigation/BottomNavigationItemProps.d.ts +0 -64
- package/bottomnavigation/BottomNavigationProps.d.ts +0 -157
- package/bottomnavigation/models/events.d.ts +0 -24
- package/bottomnavigation/models/utils.d.ts +0 -40
- package/breadcrumb/Breadcrumb.d.ts +0 -163
- package/breadcrumb/BreadcrumbDelimiter.d.ts +0 -47
- package/breadcrumb/BreadcrumbLink.d.ts +0 -135
- package/breadcrumb/BreadcrumbListItem.d.ts +0 -55
- package/breadcrumb/BreadcrumbOrderedList.d.ts +0 -59
- package/card/Avatar.d.ts +0 -7
- package/card/Card.d.ts +0 -8
- package/card/CardActions.d.ts +0 -7
- package/card/CardBody.d.ts +0 -7
- package/card/CardFooter.d.ts +0 -7
- package/card/CardHeader.d.ts +0 -7
- package/card/CardImage.d.ts +0 -7
- package/card/CardSubtitle.d.ts +0 -7
- package/card/CardTitle.d.ts +0 -7
- package/card/interfaces/AvatarProps.d.ts +0 -88
- package/card/interfaces/CardActionsProps.d.ts +0 -38
- package/card/interfaces/CardBodyProps.d.ts +0 -18
- package/card/interfaces/CardFooterProps.d.ts +0 -18
- package/card/interfaces/CardHandle.d.ts +0 -18
- package/card/interfaces/CardHeaderProps.d.ts +0 -18
- package/card/interfaces/CardImageProps.d.ts +0 -22
- package/card/interfaces/CardProps.d.ts +0 -48
- package/card/interfaces/CardSubtitleProps.d.ts +0 -18
- package/card/interfaces/CardTitleProps.d.ts +0 -18
- package/card/interfaces/Enums.d.ts +0 -27
- package/contextmenu/ContextMenu.d.ts +0 -31
- package/drawer/Drawer.d.ts +0 -44
- package/drawer/DrawerContent.d.ts +0 -43
- package/drawer/DrawerItem.d.ts +0 -36
- package/drawer/DrawerNavigation.d.ts +0 -47
- package/drawer/context/DrawerContext.d.ts +0 -24
- package/drawer/interfaces/DrawerAnimation.d.ts +0 -18
- package/drawer/interfaces/DrawerContentProps.d.ts +0 -21
- package/drawer/interfaces/DrawerItemHandle.d.ts +0 -21
- package/drawer/interfaces/DrawerItemProps.d.ts +0 -64
- package/drawer/interfaces/DrawerNavigationProps.d.ts +0 -21
- package/drawer/interfaces/DrawerProps.d.ts +0 -86
- package/drawer/interfaces/DrawerSelectEvent.d.ts +0 -19
- package/expansionpanel/ExpansionPanel.d.ts +0 -10
- package/expansionpanel/ExpansionPanelContent.d.ts +0 -9
- package/expansionpanel/index.d.ts +0 -7
- package/expansionpanel/interfaces.d.ts +0 -92
- package/gridlayout/GridLayout.d.ts +0 -43
- package/gridlayout/GridLayoutItem.d.ts +0 -42
- package/gridlayout/interfaces/GridLayoutColumnProps.d.ts +0 -13
- package/gridlayout/interfaces/GridLayoutItemProps.d.ts +0 -44
- package/gridlayout/interfaces/GridLayoutProps.d.ts +0 -99
- package/gridlayout/interfaces/GridLayoutRowProps.d.ts +0 -13
- package/menu/BaseMenuItemInternalProps.d.ts +0 -24
- package/menu/MenuProps.d.ts +0 -75
- package/menu/components/Menu.d.ts +0 -118
- package/menu/components/MenuItem.d.ts +0 -33
- package/menu/components/MenuItemArrow.d.ts +0 -50
- package/menu/components/MenuItemInternal.d.ts +0 -63
- package/menu/components/MenuItemLink.d.ts +0 -34
- package/menu/consts.d.ts +0 -58
- package/menu/events.d.ts +0 -20
- package/menu/models/BaseMenuItem.d.ts +0 -58
- package/menu/models/MenuItemModel.d.ts +0 -23
- package/menu/utils/DirectionHolder.d.ts +0 -15
- package/menu/utils/MouseOverHandler.d.ts +0 -21
- package/menu/utils/getNewItemIdUponKeyboardNavigation.d.ts +0 -11
- package/menu/utils/hoverDelay.d.ts +0 -13
- package/menu/utils/itemsIdsUtils.d.ts +0 -68
- package/menu/utils/misc.d.ts +0 -20
- package/menu/utils/prepareInputItemsForInternalWork.d.ts +0 -10
- package/package-metadata.d.ts +0 -9
- package/panelbar/PanelBar.d.ts +0 -81
- package/panelbar/PanelBarItem.d.ts +0 -52
- package/panelbar/interfaces/NavigationAction.d.ts +0 -12
- package/panelbar/interfaces/PanelBarItemClickEventArguments.d.ts +0 -12
- package/panelbar/interfaces/PanelBarItemProps.d.ts +0 -98
- package/panelbar/interfaces/PanelBarProps.d.ts +0 -66
- package/panelbar/interfaces/PanelBarSelectEventArguments.d.ts +0 -18
- package/panelbar/interfaces/RenderPanelBarItem.d.ts +0 -19
- package/panelbar/util.d.ts +0 -56
- package/splitter/Splitter.d.ts +0 -136
- package/splitter/SplitterBar.d.ts +0 -44
- package/splitter/SplitterPane.d.ts +0 -57
- package/splitter/messages/index.d.ts +0 -14
- package/stacklayout/StackLayout.d.ts +0 -41
- package/stacklayout/StackLayoutProps.d.ts +0 -92
- package/stepper/Step.d.ts +0 -27
- package/stepper/Stepper.d.ts +0 -27
- package/stepper/contants.d.ts +0 -12
- package/stepper/context/StepperContext.d.ts +0 -27
- package/stepper/interfaces/StepChangeEvent.d.ts +0 -15
- package/stepper/interfaces/StepFocusEvent.d.ts +0 -11
- package/stepper/interfaces/StepHandle.d.ts +0 -17
- package/stepper/interfaces/StepProps.d.ts +0 -83
- package/stepper/interfaces/StepperChangeEvent.d.ts +0 -15
- package/stepper/interfaces/StepperFocusEvent.d.ts +0 -11
- package/stepper/interfaces/StepperHandle.d.ts +0 -17
- package/stepper/interfaces/StepperProps.d.ts +0 -98
- package/stepper/messages/index.d.ts +0 -19
- package/tabstrip/TabStrip.d.ts +0 -158
- package/tabstrip/TabStripContent.d.ts +0 -62
- package/tabstrip/TabStripNavigation.d.ts +0 -110
- package/tabstrip/TabStripNavigationItem.d.ts +0 -75
- package/tabstrip/TabStripTab.d.ts +0 -42
- package/tilelayout/InternalTile.d.ts +0 -94
- package/tilelayout/ResizeHandlers.d.ts +0 -24
- package/tilelayout/TileLayout.d.ts +0 -153
- package/tilelayout/interfaces/index.d.ts +0 -145
- package/timeline/Timeline.d.ts +0 -102
- package/timeline/TimelineCard.d.ts +0 -38
- package/timeline/TimelineHorizontal.d.ts +0 -7
- package/timeline/TimelineVertical.d.ts +0 -16
- package/timeline/utils.d.ts +0 -19
|
@@ -1,163 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import * as React from 'react';
|
|
6
|
-
import { BaseEvent } from '@progress/kendo-react-common';
|
|
7
|
-
import { BreadcrumbListItemProps } from './BreadcrumbListItem';
|
|
8
|
-
import { BreadcrumbDelimiterProps } from './BreadcrumbDelimiter';
|
|
9
|
-
import { BreadcrumbLinkHandle, BreadcrumbLinkProps } from './BreadcrumbLink';
|
|
10
|
-
import { BreadcrumbOrderedListProps } from './BreadcrumbOrderedList';
|
|
11
|
-
/**
|
|
12
|
-
* Represents the properties of [Breadcrumb](% slug api_layout_breadcrumb %) component.
|
|
13
|
-
*/
|
|
14
|
-
export interface BreadcrumbProps {
|
|
15
|
-
/**
|
|
16
|
-
* Sets the `id` property of the top `div` element of the Breadcrumb.
|
|
17
|
-
*/
|
|
18
|
-
id?: string;
|
|
19
|
-
/**
|
|
20
|
-
* Sets additional CSS styles to the Breadcrumb.
|
|
21
|
-
*/
|
|
22
|
-
style?: React.CSSProperties;
|
|
23
|
-
/**
|
|
24
|
-
* Sets additional classes to the Breadcrumb.
|
|
25
|
-
*/
|
|
26
|
-
className?: string;
|
|
27
|
-
/**
|
|
28
|
-
* Represents the Breadcrumb ordered list component.
|
|
29
|
-
*/
|
|
30
|
-
breadcrumbOrderedList?: React.ComponentType<BreadcrumbOrderedListProps>;
|
|
31
|
-
/**
|
|
32
|
-
* Represents the Breadcrumb list item component.
|
|
33
|
-
*/
|
|
34
|
-
breadcrumbListItem?: React.ComponentType<BreadcrumbListItemProps>;
|
|
35
|
-
/**
|
|
36
|
-
* Represents the Breadcrumb delimiter component.
|
|
37
|
-
*/
|
|
38
|
-
breadcrumbDelimiter?: React.ComponentType<BreadcrumbDelimiterProps>;
|
|
39
|
-
/**
|
|
40
|
-
* Represents the Breadcrumb link component.
|
|
41
|
-
*/
|
|
42
|
-
breadcrumbLink?: React.ComponentType<BreadcrumbLinkProps>;
|
|
43
|
-
/**
|
|
44
|
-
* Represents the data of the Breadcrumb from type DataModel.
|
|
45
|
-
*/
|
|
46
|
-
data: DataModel[];
|
|
47
|
-
/**
|
|
48
|
-
* Specifies the padding of all Breadcrumb elements.
|
|
49
|
-
*
|
|
50
|
-
* The possible values are:
|
|
51
|
-
* * `small`
|
|
52
|
-
* * `medium`
|
|
53
|
-
* * `large`
|
|
54
|
-
*
|
|
55
|
-
* @default `medium`
|
|
56
|
-
*/
|
|
57
|
-
size?: 'small' | 'medium' | 'large';
|
|
58
|
-
/**
|
|
59
|
-
* The Breadcrumb direction `ltr` or `rtl`.
|
|
60
|
-
*/
|
|
61
|
-
dir?: 'ltr' | 'rtl';
|
|
62
|
-
/**
|
|
63
|
-
* Sets the `tabIndex` attribute to the Breadcrumb.
|
|
64
|
-
*/
|
|
65
|
-
tabIndex?: number;
|
|
66
|
-
/**
|
|
67
|
-
* Determines the `disabled` mode of the Breadcrumb. If `true`, the component is disabled.
|
|
68
|
-
*/
|
|
69
|
-
disabled?: boolean;
|
|
70
|
-
/**
|
|
71
|
-
* Represents the `value` field. Used for setting the key of the BreadcrumbListItem component and the `id` of the BreadcrumbLink component.
|
|
72
|
-
*/
|
|
73
|
-
valueField?: string;
|
|
74
|
-
/**
|
|
75
|
-
* Represents the `text` field. Used for setting the `text` inside the BreadcrumbLink component.
|
|
76
|
-
*/
|
|
77
|
-
textField?: string;
|
|
78
|
-
/**
|
|
79
|
-
* Represents the `icon` field. Used for setting the `icon` inside the BreadcrumbLink component.
|
|
80
|
-
*/
|
|
81
|
-
iconField?: string;
|
|
82
|
-
/**
|
|
83
|
-
* Represents the `iconClass` field. Used for setting the `iconClass` inside the BreadcrumbLink component.
|
|
84
|
-
*/
|
|
85
|
-
iconClassField?: string;
|
|
86
|
-
/**
|
|
87
|
-
* Represents the `onItemSelect` event. Triggered after click on the Breadcrumb.
|
|
88
|
-
*/
|
|
89
|
-
onItemSelect?: (event: BreadcrumbLinkMouseEvent) => void;
|
|
90
|
-
/**
|
|
91
|
-
* Represents the `onKeyDown` event. Triggered after keyboard click on the Breadcrumb.
|
|
92
|
-
*/
|
|
93
|
-
onKeyDown?: (event: BreadcrumbLinkKeyDownEvent) => void;
|
|
94
|
-
/**
|
|
95
|
-
* Represents the label of the Breadcrumb component.
|
|
96
|
-
*/
|
|
97
|
-
ariaLabel?: string;
|
|
98
|
-
}
|
|
99
|
-
/**
|
|
100
|
-
* Represents the DataModel object type.
|
|
101
|
-
*/
|
|
102
|
-
export interface DataModel {
|
|
103
|
-
/**
|
|
104
|
-
* Represents the `id` of the data object.
|
|
105
|
-
* Used for setting the `key` of the BreadcrumbListItem component and the `id` of the BreadcrumbLink component.
|
|
106
|
-
*/
|
|
107
|
-
id?: string;
|
|
108
|
-
/**
|
|
109
|
-
* Represents the `text` used inside the BreadcrumbLink component.
|
|
110
|
-
*/
|
|
111
|
-
text?: string;
|
|
112
|
-
/**
|
|
113
|
-
* Represents the `icon` used inside the BreadcrumbLink component.
|
|
114
|
-
*/
|
|
115
|
-
icon?: React.ReactNode;
|
|
116
|
-
/**
|
|
117
|
-
* Represents the `iconClass` used inside the BreadcrumbLink component.
|
|
118
|
-
*/
|
|
119
|
-
iconClass?: string;
|
|
120
|
-
/**
|
|
121
|
-
* @hidden
|
|
122
|
-
*/
|
|
123
|
-
disabled?: boolean;
|
|
124
|
-
}
|
|
125
|
-
/**
|
|
126
|
-
* Represents the target (element, props, and focus()) of the `BreadcrumbClickEvent`.
|
|
127
|
-
*/
|
|
128
|
-
export interface BreadcrumbHandle {
|
|
129
|
-
/**
|
|
130
|
-
* The current element or `null` if there is none.
|
|
131
|
-
*/
|
|
132
|
-
element: HTMLDivElement | null;
|
|
133
|
-
/**
|
|
134
|
-
* The props values of the Breadcrumb.
|
|
135
|
-
*/
|
|
136
|
-
props: BreadcrumbProps;
|
|
137
|
-
/**
|
|
138
|
-
* The `focus` method of the Breadcrumb component.
|
|
139
|
-
*/
|
|
140
|
-
focus: () => void;
|
|
141
|
-
}
|
|
142
|
-
/**
|
|
143
|
-
* Represents the `BreadcrumbLinkMouseEvent`.
|
|
144
|
-
*/
|
|
145
|
-
export interface BreadcrumbLinkMouseEvent extends BaseEvent<BreadcrumbLinkHandle> {
|
|
146
|
-
/**
|
|
147
|
-
* Represents the `id` of the `BreadcrumbLinkMouseEvent`.
|
|
148
|
-
*/
|
|
149
|
-
id?: string;
|
|
150
|
-
}
|
|
151
|
-
/**
|
|
152
|
-
* Represents the `BreadcrumbLinkKeyDownEvent`.
|
|
153
|
-
*/
|
|
154
|
-
export interface BreadcrumbLinkKeyDownEvent extends BaseEvent<BreadcrumbLinkHandle> {
|
|
155
|
-
/**
|
|
156
|
-
* Represents the `id` of the `BreadcrumbLinkKeyDownEvent`.
|
|
157
|
-
*/
|
|
158
|
-
id?: string;
|
|
159
|
-
}
|
|
160
|
-
/**
|
|
161
|
-
* Represents the Breadcrumb component.
|
|
162
|
-
*/
|
|
163
|
-
export declare const Breadcrumb: React.ForwardRefExoticComponent<BreadcrumbProps & React.RefAttributes<BreadcrumbHandle | null>>;
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import * as React from 'react';
|
|
6
|
-
/**
|
|
7
|
-
* Represents the properties of [BreadcrumbDelimiter](% slug api_layout_breadcrumbdelimiter %) component.
|
|
8
|
-
*/
|
|
9
|
-
export interface BreadcrumbDelimiterProps {
|
|
10
|
-
/**
|
|
11
|
-
* Sets the `id` property of the BreadcrumbDelimiter component.
|
|
12
|
-
*/
|
|
13
|
-
id?: string;
|
|
14
|
-
/**
|
|
15
|
-
* Sets additional classes to the BreadcrumbDelimiter component.
|
|
16
|
-
*/
|
|
17
|
-
className?: string;
|
|
18
|
-
/**
|
|
19
|
-
* Sets additional CSS styles to the BreadcrumbDelimiter component.
|
|
20
|
-
*/
|
|
21
|
-
style?: React.CSSProperties;
|
|
22
|
-
/**
|
|
23
|
-
* Sets the `tabIndex` attribute to the BreadcrumbDelimiter.
|
|
24
|
-
*/
|
|
25
|
-
tabIndex?: number;
|
|
26
|
-
/**
|
|
27
|
-
* @hidden
|
|
28
|
-
*/
|
|
29
|
-
dir?: string;
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* Represents the target (element, props, and focus()) of the BreadcrumbDelimiter.
|
|
33
|
-
*/
|
|
34
|
-
export interface BreadcrumbDelimiterHandle {
|
|
35
|
-
/**
|
|
36
|
-
* The current element or `null` if there is none.
|
|
37
|
-
*/
|
|
38
|
-
element: HTMLSpanElement | null;
|
|
39
|
-
/**
|
|
40
|
-
* The props values of the BreadcrumbDelimiter.
|
|
41
|
-
*/
|
|
42
|
-
props: BreadcrumbDelimiterProps;
|
|
43
|
-
}
|
|
44
|
-
/**
|
|
45
|
-
* Represents the BreadcrumbDelimiter component.
|
|
46
|
-
*/
|
|
47
|
-
export declare const BreadcrumbDelimiter: React.ForwardRefExoticComponent<BreadcrumbDelimiterProps & React.RefAttributes<BreadcrumbDelimiterHandle | null>>;
|
|
@@ -1,135 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import * as React from 'react';
|
|
6
|
-
import { BaseEvent } from '@progress/kendo-react-common';
|
|
7
|
-
/**
|
|
8
|
-
* Represents the properties of [BreadcrumbLink](% slug api_layout_breadcrumblink %) component.
|
|
9
|
-
*/
|
|
10
|
-
export interface BreadcrumbLinkProps {
|
|
11
|
-
/**
|
|
12
|
-
* Sets the `id` property of the top `div` element of the BreadcrumbLink.
|
|
13
|
-
*/
|
|
14
|
-
id?: string;
|
|
15
|
-
/**
|
|
16
|
-
* Sets additional classes to the BreadcrumbLink.
|
|
17
|
-
*/
|
|
18
|
-
style?: React.CSSProperties;
|
|
19
|
-
/**
|
|
20
|
-
* Sets additional classes to the BreadcrumbLink.
|
|
21
|
-
*/
|
|
22
|
-
className?: string;
|
|
23
|
-
/**
|
|
24
|
-
* Sets the `tabIndex` attribute to the BreadcrumbLink.
|
|
25
|
-
*/
|
|
26
|
-
tabIndex?: number;
|
|
27
|
-
/**
|
|
28
|
-
* The Breadcrumb direction `ltr` or `rtl`.
|
|
29
|
-
*/
|
|
30
|
-
dir?: string;
|
|
31
|
-
/**
|
|
32
|
-
* Determines the `disabled` mode of the BreadcrumbLink. If `true`, the component is disabled.
|
|
33
|
-
*/
|
|
34
|
-
disabled?: boolean;
|
|
35
|
-
/**
|
|
36
|
-
* Represents the `text` of the BreadcrumbLink component.
|
|
37
|
-
*/
|
|
38
|
-
text?: string;
|
|
39
|
-
/**
|
|
40
|
-
* Represents the `icon` of the BreadcrumbLink component.
|
|
41
|
-
*/
|
|
42
|
-
icon?: React.ReactNode;
|
|
43
|
-
/**
|
|
44
|
-
* Represents the `iconClass` of the BreadcrumbLink component.
|
|
45
|
-
*/
|
|
46
|
-
iconClass?: string;
|
|
47
|
-
/**
|
|
48
|
-
* Represents the `onItemSelect` event. Triggered after click on the BreadcrumbLink item.
|
|
49
|
-
*/
|
|
50
|
-
onItemSelect?: (event: BaseEvent<BreadcrumbLinkHandle>) => void;
|
|
51
|
-
/**
|
|
52
|
-
* Represents the `onKeyDown` event. Triggered after key down on the BreadcrumbLink item.
|
|
53
|
-
*/
|
|
54
|
-
onKeyDown?: (event: BaseEvent<BreadcrumbLinkHandle>) => void;
|
|
55
|
-
/**
|
|
56
|
-
* Sets the `aria-current` value.
|
|
57
|
-
*/
|
|
58
|
-
ariaCurrent?: boolean;
|
|
59
|
-
/**
|
|
60
|
-
* @hidden
|
|
61
|
-
*/
|
|
62
|
-
isLast?: boolean;
|
|
63
|
-
/**
|
|
64
|
-
* @hidden
|
|
65
|
-
*/
|
|
66
|
-
isFirst?: boolean;
|
|
67
|
-
}
|
|
68
|
-
/**
|
|
69
|
-
* Represents the target (element, props, and focus()) of the `BreadcrumbClickEvent`.
|
|
70
|
-
*/
|
|
71
|
-
export interface BreadcrumbLinkHandle {
|
|
72
|
-
/**
|
|
73
|
-
* The current element or `null` if there is none.
|
|
74
|
-
*/
|
|
75
|
-
element: HTMLLIElement | null;
|
|
76
|
-
/**
|
|
77
|
-
* The props values of the BreadcrumbLink.
|
|
78
|
-
*/
|
|
79
|
-
props: BreadcrumbLinkProps;
|
|
80
|
-
/**
|
|
81
|
-
* The `focus` method of the BreadcrumbLink component.
|
|
82
|
-
*/
|
|
83
|
-
focus: () => void;
|
|
84
|
-
}
|
|
85
|
-
/**
|
|
86
|
-
* Represents the [BreadcrumbLink](% slug api_layout_breadcrumblink %) component.
|
|
87
|
-
*
|
|
88
|
-
* @example
|
|
89
|
-
* ```jsx
|
|
90
|
-
* import { Breadcrumb, BreadcrumbLink } from '@progress/kendo-react-layout';
|
|
91
|
-
* const items = [
|
|
92
|
-
* {
|
|
93
|
-
* id: 'home',
|
|
94
|
-
* text: 'Home',
|
|
95
|
-
* iconClass: 'k-i-home',
|
|
96
|
-
* },
|
|
97
|
-
* {
|
|
98
|
-
* id: 'products',
|
|
99
|
-
* text: 'Products',
|
|
100
|
-
* },
|
|
101
|
-
* {
|
|
102
|
-
* id: 'computer',
|
|
103
|
-
* text: 'Computer',
|
|
104
|
-
* }
|
|
105
|
-
* ];
|
|
106
|
-
*
|
|
107
|
-
* const App = () => {
|
|
108
|
-
* const [data,setData] = React.useState(items);
|
|
109
|
-
* const handleItemSelect = (event, id) => {
|
|
110
|
-
* const itemIndex = data.findIndex((curValue) => curValue.id === id);
|
|
111
|
-
* const newData = data.slice(0, itemIndex + 1);
|
|
112
|
-
* setData(newData);
|
|
113
|
-
* };
|
|
114
|
-
*
|
|
115
|
-
* const CustomLink = (data) => {
|
|
116
|
-
* return (
|
|
117
|
-
* <BreadcrumbLink
|
|
118
|
-
* id={data.id}
|
|
119
|
-
* text={data.text}
|
|
120
|
-
* onItemSelect={(event) => handleItemSelect(event, data.id)}
|
|
121
|
-
* />
|
|
122
|
-
* );
|
|
123
|
-
* };
|
|
124
|
-
*
|
|
125
|
-
* return (
|
|
126
|
-
* <Breadcrumb
|
|
127
|
-
* data={data}
|
|
128
|
-
* breadcrumbLink={(items) => CustomLink(items)}
|
|
129
|
-
* />
|
|
130
|
-
* )}
|
|
131
|
-
*
|
|
132
|
-
* ReactDOM.render(<App />, document.querySelector('my-app'));
|
|
133
|
-
* ```
|
|
134
|
-
*/
|
|
135
|
-
export declare const BreadcrumbLink: React.ForwardRefExoticComponent<BreadcrumbLinkProps & React.RefAttributes<BreadcrumbLinkHandle | null>>;
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import * as React from 'react';
|
|
6
|
-
/**
|
|
7
|
-
* Represents the properties of [BreadcrumbListItem](% slug api_layout_breadcrumblistitem %) component.
|
|
8
|
-
*/
|
|
9
|
-
export interface BreadcrumbListItemProps {
|
|
10
|
-
/**
|
|
11
|
-
* Sets the `id` property of the top `div` element of the BreadcrumbListItem.
|
|
12
|
-
*/
|
|
13
|
-
id?: string;
|
|
14
|
-
/**
|
|
15
|
-
* Sets additional CSS styles to the BreadcrumbListItem.
|
|
16
|
-
*/
|
|
17
|
-
style?: React.CSSProperties;
|
|
18
|
-
/**
|
|
19
|
-
* Sets additional classes to the BreadcrumbListItem.
|
|
20
|
-
*/
|
|
21
|
-
className?: string;
|
|
22
|
-
/**
|
|
23
|
-
* Determines the children nodes.
|
|
24
|
-
*/
|
|
25
|
-
children?: React.ReactNode;
|
|
26
|
-
/**
|
|
27
|
-
* @hidden
|
|
28
|
-
*/
|
|
29
|
-
isFirstItem: any;
|
|
30
|
-
/**
|
|
31
|
-
* @hidden
|
|
32
|
-
*/
|
|
33
|
-
isLastItem: any;
|
|
34
|
-
}
|
|
35
|
-
/**
|
|
36
|
-
* Represents the target (element, props, and focus()) of the BreadcrumbListItem.
|
|
37
|
-
*/
|
|
38
|
-
export interface BreadcrumbListItemHandle {
|
|
39
|
-
/**
|
|
40
|
-
* The current element or `null` if there is none.
|
|
41
|
-
*/
|
|
42
|
-
element: any;
|
|
43
|
-
/**
|
|
44
|
-
* The props values of the Breadcrumb.
|
|
45
|
-
*/
|
|
46
|
-
props: BreadcrumbListItemProps;
|
|
47
|
-
/**
|
|
48
|
-
* The `focus` method of the BreadcrumbListItem component.
|
|
49
|
-
*/
|
|
50
|
-
focus: () => void;
|
|
51
|
-
}
|
|
52
|
-
/**
|
|
53
|
-
* Represents the BreadcrumbListItem component.
|
|
54
|
-
*/
|
|
55
|
-
export declare const BreadcrumbListItem: React.ForwardRefExoticComponent<BreadcrumbListItemProps & React.RefAttributes<BreadcrumbListItemHandle | null>>;
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import * as React from 'react';
|
|
6
|
-
/**
|
|
7
|
-
* Represents the properties of [BreadcrumbOrderedList](% slug api_layout_breadcrumborderedlist %) component.
|
|
8
|
-
*/
|
|
9
|
-
export interface BreadcrumbOrderedListProps {
|
|
10
|
-
/**
|
|
11
|
-
* Sets the `id` property of the top `div` element of the BreadcrumbOrderedList.
|
|
12
|
-
*/
|
|
13
|
-
id?: string;
|
|
14
|
-
/**
|
|
15
|
-
* Sets additional CSS styles to the BreadcrumbOrderedList.
|
|
16
|
-
*/
|
|
17
|
-
style?: React.CSSProperties;
|
|
18
|
-
/**
|
|
19
|
-
* Sets additional classes to the BreadcrumbOrderedList.
|
|
20
|
-
*/
|
|
21
|
-
className?: string;
|
|
22
|
-
/**
|
|
23
|
-
* Determines the children nodes.
|
|
24
|
-
*/
|
|
25
|
-
children?: React.ReactNode;
|
|
26
|
-
/**
|
|
27
|
-
* Sets the `tabIndex` attribute to the BreadcrumbOrderedList.
|
|
28
|
-
*/
|
|
29
|
-
tabIndex?: number;
|
|
30
|
-
/**
|
|
31
|
-
* The BreadcrumbOrderedList direction `ltr` or `rtl`.
|
|
32
|
-
*/
|
|
33
|
-
dir?: string;
|
|
34
|
-
/**
|
|
35
|
-
* Determines the `disabled` mode of the BreadcrumbOrderedList. If `true`, the component is disabled.
|
|
36
|
-
*/
|
|
37
|
-
disabled?: boolean;
|
|
38
|
-
/**
|
|
39
|
-
* @hidden
|
|
40
|
-
*/
|
|
41
|
-
rootItem?: boolean;
|
|
42
|
-
}
|
|
43
|
-
/**
|
|
44
|
-
* Represents the target (element, props, and focus()) of the BreadcrumbOrderedList.
|
|
45
|
-
*/
|
|
46
|
-
export interface BreadcrumbOrderedListHandle {
|
|
47
|
-
/**
|
|
48
|
-
* The current element or `null` if there is none.
|
|
49
|
-
*/
|
|
50
|
-
element: HTMLOListElement | null;
|
|
51
|
-
/**
|
|
52
|
-
* The props values of the BreadcrumbOrderedList.
|
|
53
|
-
*/
|
|
54
|
-
props: BreadcrumbOrderedListProps;
|
|
55
|
-
}
|
|
56
|
-
/**
|
|
57
|
-
* Represents the BreadcrumbOrderedList component.
|
|
58
|
-
*/
|
|
59
|
-
export declare const BreadcrumbOrderedList: React.ForwardRefExoticComponent<BreadcrumbOrderedListProps & React.RefAttributes<BreadcrumbOrderedListHandle | null>>;
|
package/card/Avatar.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import * as React from 'react';
|
|
6
|
-
import { AvatarProps } from './interfaces/AvatarProps';
|
|
7
|
-
export declare const Avatar: React.FunctionComponent<AvatarProps>;
|
package/card/Card.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import * as React from 'react';
|
|
6
|
-
import { CardProps } from './interfaces/CardProps';
|
|
7
|
-
import { CardHandle } from './interfaces/CardHandle';
|
|
8
|
-
export declare const Card: React.ForwardRefExoticComponent<Omit<CardProps, "ref"> & React.RefAttributes<CardHandle | null>>;
|
package/card/CardActions.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import * as React from 'react';
|
|
6
|
-
import { CardActionsProps } from './interfaces/CardActionsProps';
|
|
7
|
-
export declare const CardActions: React.FunctionComponent<CardActionsProps>;
|
package/card/CardBody.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import * as React from 'react';
|
|
6
|
-
import { CardBodyProps } from './interfaces/CardBodyProps';
|
|
7
|
-
export declare const CardBody: React.FunctionComponent<CardBodyProps>;
|
package/card/CardFooter.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import * as React from 'react';
|
|
6
|
-
import { CardFooterProps } from './interfaces/CardFooterProps';
|
|
7
|
-
export declare const CardFooter: React.FunctionComponent<CardFooterProps>;
|
package/card/CardHeader.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import * as React from 'react';
|
|
6
|
-
import { CardHeaderProps } from './interfaces/CardHeaderProps';
|
|
7
|
-
export declare const CardHeader: React.FunctionComponent<CardHeaderProps>;
|
package/card/CardImage.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import * as React from 'react';
|
|
6
|
-
import { CardImageProps } from './interfaces/CardImageProps';
|
|
7
|
-
export declare const CardImage: React.FunctionComponent<CardImageProps>;
|
package/card/CardSubtitle.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import * as React from 'react';
|
|
6
|
-
import { CardSubtitleProps } from './interfaces/CardSubtitleProps';
|
|
7
|
-
export declare const CardSubtitle: React.FunctionComponent<CardSubtitleProps>;
|
package/card/CardTitle.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import * as React from 'react';
|
|
6
|
-
import { CardTitleProps } from './interfaces/CardTitleProps';
|
|
7
|
-
export declare const CardTitle: React.FunctionComponent<CardTitleProps>;
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { avatarType } from './Enums';
|
|
6
|
-
export interface AvatarProps {
|
|
7
|
-
/**
|
|
8
|
-
* Sets the Avatar children elements.
|
|
9
|
-
*/
|
|
10
|
-
children?: React.ReactNode;
|
|
11
|
-
/**
|
|
12
|
-
* Sets additional CSS styles to the Avatar.
|
|
13
|
-
*/
|
|
14
|
-
style?: React.CSSProperties;
|
|
15
|
-
/**
|
|
16
|
-
* Add additional classes to the Avatar.
|
|
17
|
-
*/
|
|
18
|
-
className?: string;
|
|
19
|
-
/**
|
|
20
|
-
* Set the type of the Avatar.
|
|
21
|
-
*
|
|
22
|
-
* The supported values are:
|
|
23
|
-
* * `image`
|
|
24
|
-
* * `text`
|
|
25
|
-
* * `icon`
|
|
26
|
-
*/
|
|
27
|
-
type?: avatarType | string;
|
|
28
|
-
/**
|
|
29
|
-
* Configures the `size` of the Button.
|
|
30
|
-
*
|
|
31
|
-
* The available options are:
|
|
32
|
-
* - small
|
|
33
|
-
* - medium
|
|
34
|
-
* - large
|
|
35
|
-
* - null—Does not set a size `className`.
|
|
36
|
-
*
|
|
37
|
-
* @default `medium`
|
|
38
|
-
*/
|
|
39
|
-
size?: null | 'small' | 'medium' | 'large';
|
|
40
|
-
/**
|
|
41
|
-
* Configures the `roundness` of the Button.
|
|
42
|
-
*
|
|
43
|
-
* The available options are:
|
|
44
|
-
* - small
|
|
45
|
-
* - medium
|
|
46
|
-
* - large
|
|
47
|
-
* - full
|
|
48
|
-
* - null—Does not set a rounded `className`.
|
|
49
|
-
*
|
|
50
|
-
* @default `medium`
|
|
51
|
-
*/
|
|
52
|
-
rounded?: null | 'small' | 'medium' | 'large' | 'full';
|
|
53
|
-
/**
|
|
54
|
-
* Sets a border to the Avatar.
|
|
55
|
-
*/
|
|
56
|
-
border?: boolean;
|
|
57
|
-
/**
|
|
58
|
-
* Configures the `fillMode` of the Button.
|
|
59
|
-
*
|
|
60
|
-
* The available options are:
|
|
61
|
-
* - solid
|
|
62
|
-
* - outline
|
|
63
|
-
* - null—Does not set a fillMode `className`.
|
|
64
|
-
*
|
|
65
|
-
* @default `solid`
|
|
66
|
-
*/
|
|
67
|
-
fillMode?: null | 'solid' | 'outline';
|
|
68
|
-
/**
|
|
69
|
-
* Configures the `themeColor` of the Button.
|
|
70
|
-
*
|
|
71
|
-
* The available options are:
|
|
72
|
-
* - base
|
|
73
|
-
* - primary
|
|
74
|
-
* - secondary
|
|
75
|
-
* - tertiary
|
|
76
|
-
* - info
|
|
77
|
-
* - success
|
|
78
|
-
* - error
|
|
79
|
-
* - warning
|
|
80
|
-
* - dark
|
|
81
|
-
* - light
|
|
82
|
-
* - inverse
|
|
83
|
-
* - null—Does not set a themeColor `className`.
|
|
84
|
-
*
|
|
85
|
-
* @default `base`
|
|
86
|
-
*/
|
|
87
|
-
themeColor?: null | 'base' | 'primary' | 'secondary' | 'tertiary' | 'info' | 'success' | 'error' | 'warning' | 'dark' | 'light' | 'inverse';
|
|
88
|
-
}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { cardActionsLayout, cardOrientation } from './Enums';
|
|
6
|
-
export interface CardActionsProps {
|
|
7
|
-
/**
|
|
8
|
-
* Sets the CardActions children elements.
|
|
9
|
-
*/
|
|
10
|
-
children?: React.ReactNode;
|
|
11
|
-
/**
|
|
12
|
-
* Sets additional CSS styles to the CardActions.
|
|
13
|
-
*/
|
|
14
|
-
style?: React.CSSProperties;
|
|
15
|
-
/**
|
|
16
|
-
* Add additional classes to the CardActions.
|
|
17
|
-
*/
|
|
18
|
-
className?: string;
|
|
19
|
-
/**
|
|
20
|
-
* Set the layout of the actions.
|
|
21
|
-
*
|
|
22
|
-
* The supported values are:
|
|
23
|
-
* * (Default) `start`
|
|
24
|
-
* * `center`
|
|
25
|
-
* * `end`
|
|
26
|
-
* * `stretched`
|
|
27
|
-
*/
|
|
28
|
-
layout?: cardActionsLayout | string;
|
|
29
|
-
/**
|
|
30
|
-
* Specifies the orientation of the Card action buttons.
|
|
31
|
-
*
|
|
32
|
-
* * The possible values are:
|
|
33
|
-
* * (Default) `horizontal`
|
|
34
|
-
* * `vertical`
|
|
35
|
-
*
|
|
36
|
-
*/
|
|
37
|
-
orientation?: cardOrientation | string;
|
|
38
|
-
}
|