baseui 11.1.2 → 11.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/accordion/index.d.ts +7 -7
- package/avatar/index.d.ts +3 -3
- package/badge/index.d.ts +20 -25
- package/banner/index.d.ts +22 -27
- package/breadcrumbs/index.d.ts +2 -2
- package/button/index.d.ts +6 -6
- package/button-group/index.d.ts +1 -1
- package/card/index.d.ts +8 -8
- package/checkbox/index.d.ts +7 -7
- package/dnd-list/index.d.ts +6 -6
- package/drawer/index.d.ts +5 -5
- package/es/map-marker/index.js +1 -1
- package/es/themes/shared/borders.js +1 -1
- package/esm/map-marker/index.js +1 -1
- package/esm/themes/shared/borders.js +1 -1
- package/file-uploader/index.d.ts +5 -5
- package/form-control/index.d.ts +3 -3
- package/header-navigation/index.d.ts +3 -3
- package/helper/index.d.ts +2 -2
- package/icon/index.d.ts +1 -1
- package/input/index.d.ts +6 -6
- package/layout-grid/index.d.ts +2 -2
- package/link/index.d.ts +1 -1
- package/list/index.d.ts +14 -11
- package/map-marker/index.js +6 -0
- package/map-marker/index.js.flow +1 -0
- package/menu/index.d.ts +10 -10
- package/modal/index.d.ts +7 -7
- package/package.json +4 -7
- package/pagination/index.d.ts +3 -3
- package/payment-card/index.d.ts +1 -1
- package/phone-input/index.d.ts +9 -9
- package/popover/index.d.ts +4 -4
- package/progress-bar/index.d.ts +6 -6
- package/progress-steps/index.d.ts +11 -11
- package/radio/index.d.ts +7 -7
- package/rating/index.d.ts +3 -3
- package/select/index.d.ts +16 -16
- package/side-navigation/index.d.ts +5 -5
- package/slider/index.d.ts +8 -8
- package/spinner/index.d.ts +1 -1
- package/styles/index.d.ts +8 -12
- package/table/index.d.ts +12 -12
- package/table-grid/index.d.ts +3 -3
- package/table-semantic/index.d.ts +14 -14
- package/tabs/index.d.ts +4 -4
- package/tabs-motion/index.d.ts +7 -7
- package/tag/index.d.ts +3 -3
- package/textarea/index.d.ts +2 -2
- package/themes/shared/borders.js +1 -1
- package/themes/shared/borders.js.flow +1 -1
- package/toast/index.d.ts +3 -3
- package/tooltip/index.d.ts +3 -3
- package/tree-view/index.d.ts +4 -4
package/accordion/index.d.ts
CHANGED
|
@@ -123,10 +123,10 @@ export class StatefulPanelContainer extends React.Component<
|
|
|
123
123
|
): void;
|
|
124
124
|
}
|
|
125
125
|
|
|
126
|
-
export declare const StyledRoot: StyletronComponent<any>;
|
|
127
|
-
export declare const StyledPanelContainer: StyletronComponent<any>;
|
|
128
|
-
export declare const StyledHeader: StyletronComponent<any>;
|
|
129
|
-
export declare const StyledContent: StyletronComponent<any>;
|
|
130
|
-
export declare const StyledContentAnimationContainer: StyletronComponent<any>;
|
|
131
|
-
export declare const StyledToggleIcon: StyletronComponent<any>;
|
|
132
|
-
export declare const StyledToggleIconGroup: StyletronComponent<any>;
|
|
126
|
+
export declare const StyledRoot: StyletronComponent<any, any>;
|
|
127
|
+
export declare const StyledPanelContainer: StyletronComponent<any, any>;
|
|
128
|
+
export declare const StyledHeader: StyletronComponent<any, any>;
|
|
129
|
+
export declare const StyledContent: StyletronComponent<any, any>;
|
|
130
|
+
export declare const StyledContentAnimationContainer: StyletronComponent<any, any>;
|
|
131
|
+
export declare const StyledToggleIcon: StyletronComponent<any, any>;
|
|
132
|
+
export declare const StyledToggleIconGroup: StyletronComponent<any, any>;
|
package/avatar/index.d.ts
CHANGED
|
@@ -22,6 +22,6 @@ export interface AvatarProps {
|
|
|
22
22
|
|
|
23
23
|
export declare const Avatar: React.FC<AvatarProps>;
|
|
24
24
|
|
|
25
|
-
export declare const StyledAvatar: StyletronComponent<any>;
|
|
26
|
-
export declare const StyledInitials: StyletronComponent<any>;
|
|
27
|
-
export declare const StyledRoot: StyletronComponent<any>;
|
|
25
|
+
export declare const StyledAvatar: StyletronComponent<any, any>;
|
|
26
|
+
export declare const StyledInitials: StyletronComponent<any, any>;
|
|
27
|
+
export declare const StyledRoot: StyletronComponent<any, any>;
|
package/badge/index.d.ts
CHANGED
|
@@ -2,25 +2,25 @@ import * as React from 'react';
|
|
|
2
2
|
import { StyletronComponent } from 'styletron-react';
|
|
3
3
|
import { Override } from '../overrides';
|
|
4
4
|
|
|
5
|
-
export
|
|
5
|
+
export declare const HIERARCHY: {
|
|
6
6
|
primary: 'primary';
|
|
7
7
|
secondary: 'secondary';
|
|
8
|
-
}
|
|
8
|
+
};
|
|
9
9
|
|
|
10
|
-
export
|
|
10
|
+
export declare const SHAPE: {
|
|
11
11
|
pill: 'pill';
|
|
12
12
|
rectangle: 'rectangle';
|
|
13
|
-
}
|
|
13
|
+
};
|
|
14
14
|
|
|
15
|
-
export
|
|
15
|
+
export declare const COLOR: {
|
|
16
16
|
accent: 'accent';
|
|
17
17
|
primary: 'primary';
|
|
18
18
|
positive: 'positive';
|
|
19
19
|
negative: 'negative';
|
|
20
20
|
warning: 'warning';
|
|
21
|
-
}
|
|
21
|
+
};
|
|
22
22
|
|
|
23
|
-
export
|
|
23
|
+
export declare const PLACEMENT: {
|
|
24
24
|
topLeft: 'topLeft';
|
|
25
25
|
topRight: 'topRight';
|
|
26
26
|
bottomRight: 'bottomRight';
|
|
@@ -35,12 +35,12 @@ export interface PLACEMENT {
|
|
|
35
35
|
rightTopEdge: 'rightTopEdge';
|
|
36
36
|
rightBottomEdge: 'rightBottomEdge';
|
|
37
37
|
leftBottomEdge: 'leftBottomEdge';
|
|
38
|
-
}
|
|
38
|
+
};
|
|
39
39
|
|
|
40
|
-
export type HierarchyT = HIERARCHY[keyof HIERARCHY];
|
|
41
|
-
export type ShapeT = SHAPE[keyof SHAPE];
|
|
42
|
-
export type ColorT = COLOR[keyof COLOR];
|
|
43
|
-
export type PlacementT = PLACEMENT[keyof PLACEMENT];
|
|
40
|
+
export type HierarchyT = typeof HIERARCHY[keyof typeof HIERARCHY];
|
|
41
|
+
export type ShapeT = typeof SHAPE[keyof typeof SHAPE];
|
|
42
|
+
export type ColorT = typeof COLOR[keyof typeof COLOR];
|
|
43
|
+
export type PlacementT = typeof PLACEMENT[keyof typeof PLACEMENT];
|
|
44
44
|
|
|
45
45
|
export type BadgeOverridesT = {
|
|
46
46
|
Root?: Override<any>;
|
|
@@ -81,17 +81,12 @@ export type HintDotPropsT = {
|
|
|
81
81
|
children?: React.ReactNode;
|
|
82
82
|
};
|
|
83
83
|
|
|
84
|
-
export const StyledRoot: StyletronComponent<any>;
|
|
85
|
-
export const StyledPositioner: StyletronComponent<any>;
|
|
86
|
-
export const StyledBadge: StyletronComponent<any>;
|
|
87
|
-
export const StyledNotificationCircle: StyletronComponent<any>;
|
|
88
|
-
export const StyledHintDot: StyletronComponent<any>;
|
|
89
|
-
|
|
90
|
-
export const Badge: React.FC<BadgePropsT>;
|
|
91
|
-
export const NotificationCircle: React.FC<NotificationCirclePropsT>;
|
|
92
|
-
export const HintDot: React.FC<HintDotPropsT>;
|
|
84
|
+
export declare const StyledRoot: StyletronComponent<any, any>;
|
|
85
|
+
export declare const StyledPositioner: StyletronComponent<any, any>;
|
|
86
|
+
export declare const StyledBadge: StyletronComponent<any, any>;
|
|
87
|
+
export declare const StyledNotificationCircle: StyletronComponent<any, any>;
|
|
88
|
+
export declare const StyledHintDot: StyletronComponent<any, any>;
|
|
93
89
|
|
|
94
|
-
export const
|
|
95
|
-
export const
|
|
96
|
-
export const
|
|
97
|
-
export const PLACEMENT: PLACEMENT;
|
|
90
|
+
export declare const Badge: React.FC<BadgePropsT>;
|
|
91
|
+
export declare const NotificationCircle: React.FC<NotificationCirclePropsT>;
|
|
92
|
+
export declare const HintDot: React.FC<HintDotPropsT>;
|
package/banner/index.d.ts
CHANGED
|
@@ -2,46 +2,46 @@ import * as React from 'react';
|
|
|
2
2
|
import { StyletronComponent } from 'styletron-react';
|
|
3
3
|
import { Override } from '../overrides';
|
|
4
4
|
|
|
5
|
-
export
|
|
5
|
+
export declare const ACTION_POSITION: {
|
|
6
6
|
below: 'below';
|
|
7
7
|
trailing: 'trailing';
|
|
8
|
-
}
|
|
8
|
+
};
|
|
9
9
|
|
|
10
|
-
export
|
|
10
|
+
export declare const ARTWORK_TYPE: {
|
|
11
11
|
badge: 'badge';
|
|
12
12
|
icon: 'icon';
|
|
13
|
-
}
|
|
13
|
+
};
|
|
14
14
|
|
|
15
|
-
export
|
|
15
|
+
export declare const HIERARCHY: {
|
|
16
16
|
high: 'high';
|
|
17
17
|
low: 'low';
|
|
18
|
-
}
|
|
18
|
+
};
|
|
19
19
|
|
|
20
|
-
export
|
|
20
|
+
export declare const KIND: {
|
|
21
21
|
info: 'info';
|
|
22
22
|
negative: 'negative';
|
|
23
23
|
positive: 'positive';
|
|
24
24
|
warning: 'warning';
|
|
25
|
-
}
|
|
25
|
+
};
|
|
26
26
|
|
|
27
27
|
export interface ActionContentT {
|
|
28
28
|
label: string;
|
|
29
29
|
icon?: (iconProps: { size: string }) => React.ReactNode;
|
|
30
30
|
onClick: (event: React.MouseEvent<HTMLButtonElement>) => any;
|
|
31
|
-
position?: ACTION_POSITION[keyof ACTION_POSITION];
|
|
31
|
+
position?: typeof ACTION_POSITION[keyof typeof ACTION_POSITION];
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
export interface ArtworkContentT {
|
|
35
35
|
icon: (iconProps: { size: string }) => React.ReactNode;
|
|
36
|
-
type?: ARTWORK_TYPE[keyof ARTWORK_TYPE];
|
|
36
|
+
type?: typeof ARTWORK_TYPE[keyof typeof ARTWORK_TYPE];
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
export interface PropsT {
|
|
40
40
|
action?: ActionContentT;
|
|
41
41
|
artwork?: ArtworkContentT;
|
|
42
42
|
children: React.ReactNode;
|
|
43
|
-
hierarchy?: HIERARCHY[keyof HIERARCHY];
|
|
44
|
-
kind?: KIND[keyof KIND];
|
|
43
|
+
hierarchy?: typeof HIERARCHY[keyof typeof HIERARCHY];
|
|
44
|
+
kind?: typeof KIND[keyof typeof KIND];
|
|
45
45
|
overrides?: {
|
|
46
46
|
BelowContent?: Override<any>;
|
|
47
47
|
LeadingContent?: Override<any>;
|
|
@@ -57,19 +57,14 @@ export interface PropsT {
|
|
|
57
57
|
title?: React.ReactNode;
|
|
58
58
|
}
|
|
59
59
|
|
|
60
|
-
export const StyledBelowContent: StyletronComponent<any>;
|
|
61
|
-
export const StyledLeadingContent: StyletronComponent<any>;
|
|
62
|
-
export const StyledMessage: StyletronComponent<any>;
|
|
63
|
-
export const StyledMessageContent: StyletronComponent<any>;
|
|
64
|
-
export const StyledRoot: StyletronComponent<any>;
|
|
65
|
-
export const StyledTitle: StyletronComponent<any>;
|
|
66
|
-
export const StyledTrailingContent: StyletronComponent<any>;
|
|
67
|
-
export const StyledTrailingButtonContainer: StyletronComponent<any>;
|
|
68
|
-
export const StyledTrailingIconButton: StyletronComponent<any>;
|
|
69
|
-
|
|
70
|
-
export const ACTION_POSITION: ACTION_POSITION;
|
|
71
|
-
export const ARTWORK_TYPE: ARTWORK_TYPE;
|
|
72
|
-
export const HIERARCHY: HIERARCHY;
|
|
73
|
-
export const KIND: KIND;
|
|
60
|
+
export declare const StyledBelowContent: StyletronComponent<any, any>;
|
|
61
|
+
export declare const StyledLeadingContent: StyletronComponent<any, any>;
|
|
62
|
+
export declare const StyledMessage: StyletronComponent<any, any>;
|
|
63
|
+
export declare const StyledMessageContent: StyletronComponent<any, any>;
|
|
64
|
+
export declare const StyledRoot: StyletronComponent<any, any>;
|
|
65
|
+
export declare const StyledTitle: StyletronComponent<any, any>;
|
|
66
|
+
export declare const StyledTrailingContent: StyletronComponent<any, any>;
|
|
67
|
+
export declare const StyledTrailingButtonContainer: StyletronComponent<any, any>;
|
|
68
|
+
export declare const StyledTrailingIconButton: StyletronComponent<any, any>;
|
|
74
69
|
|
|
75
|
-
export const Banner: React.FC<PropsT>;
|
|
70
|
+
export declare const Banner: React.FC<PropsT>;
|
package/breadcrumbs/index.d.ts
CHANGED
|
@@ -20,5 +20,5 @@ export interface BreadcrumbsProps {
|
|
|
20
20
|
|
|
21
21
|
export declare const Breadcrumbs: React.FC<BreadcrumbsProps>;
|
|
22
22
|
|
|
23
|
-
export declare const StyledRoot: StyletronComponent<any>;
|
|
24
|
-
export declare const StyledSeparator: StyletronComponent<any>;
|
|
23
|
+
export declare const StyledRoot: StyletronComponent<any, any>;
|
|
24
|
+
export declare const StyledSeparator: StyletronComponent<any, any>;
|
package/button/index.d.ts
CHANGED
|
@@ -56,10 +56,10 @@ export interface ButtonProps {
|
|
|
56
56
|
type?: 'submit' | 'reset' | 'button';
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
export declare const StyledBaseButton: StyletronComponent<any>;
|
|
60
|
-
export declare const StyledStartEnhancer: StyletronComponent<any>;
|
|
61
|
-
export declare const StyledEndEnhancer: StyletronComponent<any>;
|
|
62
|
-
export declare const StyledLoadingSpinner: StyletronComponent<any>;
|
|
63
|
-
export declare const StyledLoadingSpinnerContainer: StyletronComponent<any>;
|
|
59
|
+
export declare const StyledBaseButton: StyletronComponent<any, any>;
|
|
60
|
+
export declare const StyledStartEnhancer: StyletronComponent<any, any>;
|
|
61
|
+
export declare const StyledEndEnhancer: StyletronComponent<any, any>;
|
|
62
|
+
export declare const StyledLoadingSpinner: StyletronComponent<any, any>;
|
|
63
|
+
export declare const StyledLoadingSpinnerContainer: StyletronComponent<any, any>;
|
|
64
64
|
|
|
65
|
-
export declare const Button: StyletronComponent<ButtonProps>;
|
|
65
|
+
export declare const Button: StyletronComponent<any, ButtonProps>;
|
package/button-group/index.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ export declare const STATE_CHANGE_TYPE: {
|
|
|
14
14
|
change: 'change';
|
|
15
15
|
};
|
|
16
16
|
|
|
17
|
-
export declare const StyledRoot: StyletronComponent<any>;
|
|
17
|
+
export declare const StyledRoot: StyletronComponent<any, any>;
|
|
18
18
|
|
|
19
19
|
export interface ButtonGroupOverrides {
|
|
20
20
|
Root?: Override<any>;
|
package/card/index.d.ts
CHANGED
|
@@ -25,11 +25,11 @@ export interface CardProps {
|
|
|
25
25
|
export declare const Card: React.FC<CardProps>;
|
|
26
26
|
export type hasThumbnail = (props: { readonly thumbnail?: string }) => boolean;
|
|
27
27
|
|
|
28
|
-
export declare const StyledAction: StyletronComponent<any>;
|
|
29
|
-
export declare const StyledBody: StyletronComponent<any>;
|
|
30
|
-
export declare const StyledContents: StyletronComponent<any>;
|
|
31
|
-
export declare const StyledHeaderImage: StyletronComponent<any>;
|
|
32
|
-
export declare const StyledThumbnail: StyletronComponent<any>;
|
|
33
|
-
export declare const StyledTitle: StyletronComponent<any>;
|
|
34
|
-
export declare const StyledRoot: StyletronComponent<any>;
|
|
35
|
-
export declare const StyledWrapper: StyletronComponent<any>;
|
|
28
|
+
export declare const StyledAction: StyletronComponent<any, any>;
|
|
29
|
+
export declare const StyledBody: StyletronComponent<any, any>;
|
|
30
|
+
export declare const StyledContents: StyletronComponent<any, any>;
|
|
31
|
+
export declare const StyledHeaderImage: StyletronComponent<any, any>;
|
|
32
|
+
export declare const StyledThumbnail: StyletronComponent<any, any>;
|
|
33
|
+
export declare const StyledTitle: StyletronComponent<any, any>;
|
|
34
|
+
export declare const StyledRoot: StyletronComponent<any, any>;
|
|
35
|
+
export declare const StyledWrapper: StyletronComponent<any, any>;
|
package/checkbox/index.d.ts
CHANGED
|
@@ -23,13 +23,13 @@ type initialState = {
|
|
|
23
23
|
isIndeterminate?: boolean;
|
|
24
24
|
};
|
|
25
25
|
|
|
26
|
-
export declare const StyledRoot: StyletronComponent<any>;
|
|
27
|
-
export declare const StyledCheckmark: StyletronComponent<any>;
|
|
28
|
-
export declare const StyledLabel: StyletronComponent<any>;
|
|
29
|
-
export declare const StyledInput: StyletronComponent<any>;
|
|
30
|
-
export declare const StyledToggle: StyletronComponent<any>;
|
|
31
|
-
export declare const StyledToggleInner: StyletronComponent<any>;
|
|
32
|
-
export declare const StyledToggleTrack: StyletronComponent<any>;
|
|
26
|
+
export declare const StyledRoot: StyletronComponent<any, any>;
|
|
27
|
+
export declare const StyledCheckmark: StyletronComponent<any, any>;
|
|
28
|
+
export declare const StyledLabel: StyletronComponent<any, any>;
|
|
29
|
+
export declare const StyledInput: StyletronComponent<any, any>;
|
|
30
|
+
export declare const StyledToggle: StyletronComponent<any, any>;
|
|
31
|
+
export declare const StyledToggleInner: StyletronComponent<any, any>;
|
|
32
|
+
export declare const StyledToggleTrack: StyletronComponent<any, any>;
|
|
33
33
|
|
|
34
34
|
export type StateReducer = (
|
|
35
35
|
stateType: string,
|
package/dnd-list/index.d.ts
CHANGED
|
@@ -69,12 +69,12 @@ export interface ListProps {
|
|
|
69
69
|
|
|
70
70
|
export class List extends React.Component<ListProps> {}
|
|
71
71
|
|
|
72
|
-
export declare const StyledRoot: StyletronComponent<any>;
|
|
73
|
-
export declare const StyledList: StyletronComponent<any>;
|
|
74
|
-
export declare const StyledItem: StyletronComponent<any>;
|
|
75
|
-
export declare const StyledDragHandle: StyletronComponent<any>;
|
|
76
|
-
export declare const StyledCloseHandle: StyletronComponent<any>;
|
|
77
|
-
export declare const StyledLabel: StyletronComponent<any>;
|
|
72
|
+
export declare const StyledRoot: StyletronComponent<any, any>;
|
|
73
|
+
export declare const StyledList: StyletronComponent<any, any>;
|
|
74
|
+
export declare const StyledItem: StyletronComponent<any, any>;
|
|
75
|
+
export declare const StyledDragHandle: StyletronComponent<any, any>;
|
|
76
|
+
export declare const StyledCloseHandle: StyletronComponent<any, any>;
|
|
77
|
+
export declare const StyledLabel: StyletronComponent<any, any>;
|
|
78
78
|
|
|
79
79
|
export declare const arrayMove: typeof arrayMoveT;
|
|
80
80
|
export declare const arrayRemove: typeof arrayRemoveT;
|
package/drawer/index.d.ts
CHANGED
|
@@ -84,8 +84,8 @@ export class Drawer extends React.Component<DrawerProps, DrawerState> {
|
|
|
84
84
|
renderDrawer(): React.ReactNode;
|
|
85
85
|
}
|
|
86
86
|
|
|
87
|
-
export declare const StyledRoot: StyletronComponent<any>;
|
|
88
|
-
export declare const StyledBackdrop: StyletronComponent<any>;
|
|
89
|
-
export declare const StyledDrawerContainer: StyletronComponent<any>;
|
|
90
|
-
export declare const StyledDrawerBody: StyletronComponent<any>;
|
|
91
|
-
export declare const StyledClose: StyletronComponent<any>;
|
|
87
|
+
export declare const StyledRoot: StyletronComponent<any, any>;
|
|
88
|
+
export declare const StyledBackdrop: StyletronComponent<any, any>;
|
|
89
|
+
export declare const StyledDrawerContainer: StyletronComponent<any, any>;
|
|
90
|
+
export declare const StyledDrawerBody: StyletronComponent<any, any>;
|
|
91
|
+
export declare const StyledClose: StyletronComponent<any, any>;
|
package/es/map-marker/index.js
CHANGED
|
@@ -6,4 +6,4 @@ LICENSE file in the root directory of this source tree.
|
|
|
6
6
|
*/
|
|
7
7
|
export { default as FixedMarker } from './fixed-marker.js';
|
|
8
8
|
export { default as FloatingMarker } from './floating-marker.js';
|
|
9
|
-
export { FLOATING_MARKER_ANCHOR_POSITIONS, FLOATING_MARKER_SIZES, FLOATING_MARKER_ANCHOR_TYPES, NEEDLE_SIZES, PINHEAD_SIZES_SHAPES, BADGE_ENHANCER_SIZES, LABEL_ENHANCER_POSITIONS, KIND } from './constants.js';
|
|
9
|
+
export { FLOATING_MARKER_ANCHOR_POSITIONS, FLOATING_MARKER_SIZES, FLOATING_MARKER_ANCHOR_TYPES, NEEDLE_SIZES, PINHEAD_SIZES_SHAPES, BADGE_ENHANCER_SIZES, LABEL_ENHANCER_POSITIONS, KIND, PINHEAD_DIMENSIONS } from './constants.js';
|
package/esm/map-marker/index.js
CHANGED
|
@@ -6,4 +6,4 @@ LICENSE file in the root directory of this source tree.
|
|
|
6
6
|
*/
|
|
7
7
|
export { default as FixedMarker } from './fixed-marker.js';
|
|
8
8
|
export { default as FloatingMarker } from './floating-marker.js';
|
|
9
|
-
export { FLOATING_MARKER_ANCHOR_POSITIONS, FLOATING_MARKER_SIZES, FLOATING_MARKER_ANCHOR_TYPES, NEEDLE_SIZES, PINHEAD_SIZES_SHAPES, BADGE_ENHANCER_SIZES, LABEL_ENHANCER_POSITIONS, KIND } from './constants.js';
|
|
9
|
+
export { FLOATING_MARKER_ANCHOR_POSITIONS, FLOATING_MARKER_SIZES, FLOATING_MARKER_ANCHOR_TYPES, NEEDLE_SIZES, PINHEAD_SIZES_SHAPES, BADGE_ENHANCER_SIZES, LABEL_ENHANCER_POSITIONS, KIND, PINHEAD_DIMENSIONS } from './constants.js';
|
package/file-uploader/index.d.ts
CHANGED
|
@@ -69,8 +69,8 @@ export interface FileUploaderProps {
|
|
|
69
69
|
}
|
|
70
70
|
export declare const FileUploader: React.FC<FileUploaderProps>;
|
|
71
71
|
|
|
72
|
-
export declare const StyledRoot: StyletronComponent<any>;
|
|
73
|
-
export declare const StyledFileDragAndDrop: StyletronComponent<any>;
|
|
74
|
-
export declare const StyledContentMessage: StyletronComponent<any>;
|
|
75
|
-
export declare const StyledErrorMessage: StyletronComponent<any>;
|
|
76
|
-
export declare const StyledHiddenInput: StyletronComponent<any>;
|
|
72
|
+
export declare const StyledRoot: StyletronComponent<any, any>;
|
|
73
|
+
export declare const StyledFileDragAndDrop: StyletronComponent<any, any>;
|
|
74
|
+
export declare const StyledContentMessage: StyletronComponent<any, any>;
|
|
75
|
+
export declare const StyledErrorMessage: StyletronComponent<any, any>;
|
|
76
|
+
export declare const StyledHiddenInput: StyletronComponent<any, any>;
|
package/form-control/index.d.ts
CHANGED
|
@@ -2,9 +2,9 @@ import * as React from 'react';
|
|
|
2
2
|
import { StyletronComponent } from 'styletron-react';
|
|
3
3
|
import { Override } from '../overrides';
|
|
4
4
|
|
|
5
|
-
export declare const StyledLabel: StyletronComponent<any>;
|
|
6
|
-
export declare const StyledCaption: StyletronComponent<any>;
|
|
7
|
-
export declare const StyledControlContainer: StyletronComponent<any>;
|
|
5
|
+
export declare const StyledLabel: StyletronComponent<any, any>;
|
|
6
|
+
export declare const StyledCaption: StyletronComponent<any, any>;
|
|
7
|
+
export declare const StyledControlContainer: StyletronComponent<any, any>;
|
|
8
8
|
|
|
9
9
|
export interface FormControlOverrides {
|
|
10
10
|
Label?: Override<any>;
|
|
@@ -19,6 +19,6 @@ export interface HeaderNavigationProps {
|
|
|
19
19
|
|
|
20
20
|
export class HeaderNavigation extends React.Component<HeaderNavigationProps> {}
|
|
21
21
|
|
|
22
|
-
export declare const StyledRoot: StyletronComponent<any>;
|
|
23
|
-
export declare const StyledNavigationItem: StyletronComponent<any>;
|
|
24
|
-
export declare const StyledNavigationList: StyletronComponent<any>;
|
|
22
|
+
export declare const StyledRoot: StyletronComponent<any, any>;
|
|
23
|
+
export declare const StyledNavigationItem: StyletronComponent<any, any>;
|
|
24
|
+
export declare const StyledNavigationList: StyletronComponent<any, any>;
|
package/helper/index.d.ts
CHANGED
|
@@ -22,8 +22,8 @@ export type HelperStepsPropsT = {
|
|
|
22
22
|
|
|
23
23
|
export { ACCESSIBILITY_TYPE, PLACEMENT, TRIGGER_TYPE };
|
|
24
24
|
|
|
25
|
-
export declare const StyledArrow: StyletronComponent<any>;
|
|
26
|
-
export declare const StyledBody: StyletronComponent<any>;
|
|
25
|
+
export declare const StyledArrow: StyletronComponent<any, any>;
|
|
26
|
+
export declare const StyledBody: StyletronComponent<any, any>;
|
|
27
27
|
|
|
28
28
|
export declare const Unstable_Helper: React.FC<PropsT>;
|
|
29
29
|
export declare const Unstable_StatefulHelper: React.FC<StatefulPropsT>;
|
package/icon/index.d.ts
CHANGED
|
@@ -21,7 +21,7 @@ export interface IconProps {
|
|
|
21
21
|
|
|
22
22
|
export declare const Icon: React.FC<IconProps>;
|
|
23
23
|
|
|
24
|
-
export declare const StyledSvg: StyletronComponent<any>;
|
|
24
|
+
export declare const StyledSvg: StyletronComponent<any, any>;
|
|
25
25
|
|
|
26
26
|
export declare const Alert: React.FC<IconProps>;
|
|
27
27
|
export declare const ArrowDown: React.FC<IconProps>;
|
package/input/index.d.ts
CHANGED
|
@@ -154,9 +154,9 @@ export type StatefulInputProps = InputProps & StatefulContainerProps & { childre
|
|
|
154
154
|
export declare const StatefulInput: React.FC<StatefulInputProps>;
|
|
155
155
|
export declare const StatefulContainer: React.FC<StatefulContainerProps>;
|
|
156
156
|
|
|
157
|
-
export declare const StyledRoot: StyletronComponent<any>;
|
|
158
|
-
export declare const StyledInputEnhancer: StyletronComponent<any>;
|
|
159
|
-
export declare const StyledStartEnhancer: StyletronComponent<any>;
|
|
160
|
-
export declare const StyledEndEnhancer: StyletronComponent<any>;
|
|
161
|
-
export declare const StyledInputContainer: StyletronComponent<any>;
|
|
162
|
-
export declare const StyledInput: StyletronComponent<any>;
|
|
157
|
+
export declare const StyledRoot: StyletronComponent<any, any>;
|
|
158
|
+
export declare const StyledInputEnhancer: StyletronComponent<any, any>;
|
|
159
|
+
export declare const StyledStartEnhancer: StyletronComponent<any, any>;
|
|
160
|
+
export declare const StyledEndEnhancer: StyletronComponent<any, any>;
|
|
161
|
+
export declare const StyledInputContainer: StyletronComponent<any, any>;
|
|
162
|
+
export declare const StyledInput: StyletronComponent<any, any>;
|
package/layout-grid/index.d.ts
CHANGED
|
@@ -94,5 +94,5 @@ export type StyledCellProps = {
|
|
|
94
94
|
|
|
95
95
|
export declare const Grid: React.FunctionComponent<GridProps>;
|
|
96
96
|
export declare const Cell: React.FunctionComponent<CellProps>;
|
|
97
|
-
export declare const StyledGrid: StyletronComponent<StyledGridProps>;
|
|
98
|
-
export declare const StyledCell: StyletronComponent<StyledCellProps>;
|
|
97
|
+
export declare const StyledGrid: StyletronComponent<any, StyledGridProps>;
|
|
98
|
+
export declare const StyledCell: StyletronComponent<any, StyledCellProps>;
|
package/link/index.d.ts
CHANGED
package/list/index.d.ts
CHANGED
|
@@ -73,10 +73,10 @@ export declare const ListItem: React.ForwardRefExoticComponent<
|
|
|
73
73
|
export declare const ListItemLabel: React.FC<LabelPropsT>;
|
|
74
74
|
export declare const MenuAdapter: React.FC<MenuAdapterPropsT>;
|
|
75
75
|
|
|
76
|
-
export declare const StyledRoot: StyletronComponent<{}>;
|
|
77
|
-
export declare const StyledContent: StyletronComponent<StyledContentPropsT>;
|
|
78
|
-
export declare const StyledEndEnhancerContainer: StyletronComponent<{}>;
|
|
79
|
-
export declare const StyledArtworkContainer: StyletronComponent<StyledArtworkContainerPropsT>;
|
|
76
|
+
export declare const StyledRoot: StyletronComponent<any, {}>;
|
|
77
|
+
export declare const StyledContent: StyletronComponent<any, StyledContentPropsT>;
|
|
78
|
+
export declare const StyledEndEnhancerContainer: StyletronComponent<any, {}>;
|
|
79
|
+
export declare const StyledArtworkContainer: StyletronComponent<any, StyledArtworkContainerPropsT>;
|
|
80
80
|
|
|
81
81
|
export interface HeadingPropsT {
|
|
82
82
|
heading: React.ReactNode;
|
|
@@ -99,10 +99,13 @@ export declare const ListHeading: React.ForwardRefExoticComponent<
|
|
|
99
99
|
HeadingPropsT & React.RefAttributes<HTMLLIElement>
|
|
100
100
|
>;
|
|
101
101
|
|
|
102
|
-
export declare const StyledHeadingRoot: StyletronComponent<{}>;
|
|
103
|
-
export declare const StyledHeadingContent: StyletronComponent<{}>;
|
|
104
|
-
export declare const StyledHeadingContentRow: StyletronComponent<{}>;
|
|
105
|
-
export declare const StyledHeadingMainHeading: StyletronComponent<StyledHeadingHeadingPropsT>;
|
|
106
|
-
export declare const StyledHeadingSubHeading: StyletronComponent<StyledHeadingHeadingPropsT>;
|
|
107
|
-
export declare const StyledHeadingEndEnhancerContainer: StyletronComponent<
|
|
108
|
-
|
|
102
|
+
export declare const StyledHeadingRoot: StyletronComponent<any, {}>;
|
|
103
|
+
export declare const StyledHeadingContent: StyletronComponent<any, {}>;
|
|
104
|
+
export declare const StyledHeadingContentRow: StyletronComponent<any, {}>;
|
|
105
|
+
export declare const StyledHeadingMainHeading: StyletronComponent<any, StyledHeadingHeadingPropsT>;
|
|
106
|
+
export declare const StyledHeadingSubHeading: StyletronComponent<any, StyledHeadingHeadingPropsT>;
|
|
107
|
+
export declare const StyledHeadingEndEnhancerContainer: StyletronComponent<
|
|
108
|
+
any,
|
|
109
|
+
StyledHeadingEndEnhancerContainerPropsT
|
|
110
|
+
>;
|
|
111
|
+
export declare const StyledHeadingEndEnhancerDescriptionContainer: StyletronComponent<any, {}>;
|
package/map-marker/index.js
CHANGED
|
@@ -63,6 +63,12 @@ Object.defineProperty(exports, "KIND", {
|
|
|
63
63
|
return _constants.KIND;
|
|
64
64
|
}
|
|
65
65
|
});
|
|
66
|
+
Object.defineProperty(exports, "PINHEAD_DIMENSIONS", {
|
|
67
|
+
enumerable: true,
|
|
68
|
+
get: function get() {
|
|
69
|
+
return _constants.PINHEAD_DIMENSIONS;
|
|
70
|
+
}
|
|
71
|
+
});
|
|
66
72
|
|
|
67
73
|
var _fixedMarker = _interopRequireDefault(require("./fixed-marker.js"));
|
|
68
74
|
|
package/map-marker/index.js.flow
CHANGED
package/menu/index.d.ts
CHANGED
|
@@ -200,13 +200,13 @@ export class NestedMenus extends React.Component<NestedMenuProps, NestedMenuStat
|
|
|
200
200
|
isNestedMenuVisible(ref: React.Ref<HTMLElement>): boolean;
|
|
201
201
|
}
|
|
202
202
|
|
|
203
|
-
export declare const StyledEmptyState: StyletronComponent<any>;
|
|
204
|
-
export declare const StyledList: StyletronComponent<any>;
|
|
205
|
-
export declare const StyledListItem: StyletronComponent<any>;
|
|
206
|
-
export declare const StyledListItemProfile: StyletronComponent<any>;
|
|
207
|
-
export declare const StyledProfileImgContainer: StyletronComponent<any>;
|
|
208
|
-
export declare const StyledProfileImg: StyletronComponent<any>;
|
|
209
|
-
export declare const StyledProfileLabelsContainer: StyletronComponent<any>;
|
|
210
|
-
export declare const StyledProfileTitle: StyletronComponent<any>;
|
|
211
|
-
export declare const StyledProfileSubtitle: StyletronComponent<any>;
|
|
212
|
-
export declare const StyledProfileBody: StyletronComponent<any>;
|
|
203
|
+
export declare const StyledEmptyState: StyletronComponent<any, any>;
|
|
204
|
+
export declare const StyledList: StyletronComponent<any, any>;
|
|
205
|
+
export declare const StyledListItem: StyletronComponent<any, any>;
|
|
206
|
+
export declare const StyledListItemProfile: StyletronComponent<any, any>;
|
|
207
|
+
export declare const StyledProfileImgContainer: StyletronComponent<any, any>;
|
|
208
|
+
export declare const StyledProfileImg: StyletronComponent<any, any>;
|
|
209
|
+
export declare const StyledProfileLabelsContainer: StyletronComponent<any, any>;
|
|
210
|
+
export declare const StyledProfileTitle: StyletronComponent<any, any>;
|
|
211
|
+
export declare const StyledProfileSubtitle: StyletronComponent<any, any>;
|
|
212
|
+
export declare const StyledProfileBody: StyletronComponent<any, any>;
|
package/modal/index.d.ts
CHANGED
|
@@ -85,10 +85,10 @@ export class ModalButton extends React.Component<ButtonProps & { autoFocus?: boo
|
|
|
85
85
|
|
|
86
86
|
export class FocusOnce extends React.Component<{ children: React.ReactNode }> {}
|
|
87
87
|
|
|
88
|
-
export declare const StyledRoot: StyletronComponent<any>;
|
|
89
|
-
export declare const StyledDialog: StyletronComponent<any>;
|
|
90
|
-
export declare const StyledDialogContainer: StyletronComponent<any>;
|
|
91
|
-
export declare const StyledClose: StyletronComponent<any>;
|
|
92
|
-
export declare const ModalHeader: StyletronComponent<any>;
|
|
93
|
-
export declare const ModalBody: StyletronComponent<any>;
|
|
94
|
-
export declare const ModalFooter: StyletronComponent<any>;
|
|
88
|
+
export declare const StyledRoot: StyletronComponent<any, any>;
|
|
89
|
+
export declare const StyledDialog: StyletronComponent<any, any>;
|
|
90
|
+
export declare const StyledDialogContainer: StyletronComponent<any, any>;
|
|
91
|
+
export declare const StyledClose: StyletronComponent<any, any>;
|
|
92
|
+
export declare const ModalHeader: StyletronComponent<any, any>;
|
|
93
|
+
export declare const ModalBody: StyletronComponent<any, any>;
|
|
94
|
+
export declare const ModalFooter: StyletronComponent<any, any>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "baseui",
|
|
3
|
-
"version": "11.
|
|
3
|
+
"version": "11.2.0",
|
|
4
4
|
"description": "A React Component library implementing the Base design language",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -109,9 +109,6 @@
|
|
|
109
109
|
"@types/react-dom": "^16.8.4",
|
|
110
110
|
"@types/react-virtualized": "^9.21.3",
|
|
111
111
|
"@types/react-window": "^1.8.1",
|
|
112
|
-
"@types/styletron-engine-atomic": "^1.1.1",
|
|
113
|
-
"@types/styletron-react": "^5.0.3",
|
|
114
|
-
"@types/styletron-standard": "^2.0.2",
|
|
115
112
|
"@types/webpack": "^4.41.32",
|
|
116
113
|
"@typescript-eslint/eslint-plugin": "^5.26.0",
|
|
117
114
|
"@typescript-eslint/parser": "^5.26.0",
|
|
@@ -193,9 +190,9 @@
|
|
|
193
190
|
"semver": "^6.2.0",
|
|
194
191
|
"shx": "^0.3.2",
|
|
195
192
|
"static-server": "^2.2.1",
|
|
196
|
-
"styletron-engine-atomic": "^1.
|
|
197
|
-
"styletron-react": "^
|
|
198
|
-
"styletron-standard": "^3.0.
|
|
193
|
+
"styletron-engine-atomic": "^1.5.0-beta.1",
|
|
194
|
+
"styletron-react": "^6.1.0-beta.1",
|
|
195
|
+
"styletron-standard": "^3.1.0-beta.1",
|
|
199
196
|
"tar": "^5.0.0",
|
|
200
197
|
"tsconfig-paths": "^3.9.0",
|
|
201
198
|
"typescript": "^4.7.2",
|
package/pagination/index.d.ts
CHANGED
|
@@ -87,6 +87,6 @@ export class StatefulContainer extends React.Component<StatefulContainerProps, S
|
|
|
87
87
|
onPageChange(args: { nextPage: number }): void;
|
|
88
88
|
}
|
|
89
89
|
|
|
90
|
-
export declare const StyledRoot: StyletronComponent<any>;
|
|
91
|
-
export declare const StyledMaxLabel: StyletronComponent<any>;
|
|
92
|
-
export declare const StyledDropdownContainer: StyletronComponent<any>;
|
|
90
|
+
export declare const StyledRoot: StyletronComponent<any, any>;
|
|
91
|
+
export declare const StyledMaxLabel: StyletronComponent<any, any>;
|
|
92
|
+
export declare const StyledDropdownContainer: StyletronComponent<any, any>;
|
package/payment-card/index.d.ts
CHANGED
|
@@ -25,4 +25,4 @@ export type StatefulPaymentCardProps = InputProps &
|
|
|
25
25
|
export declare const StatefulPaymentCard: React.FC<StatefulPaymentCardProps>;
|
|
26
26
|
export class PaymentCard extends React.Component<PaymentCardProps> {}
|
|
27
27
|
|
|
28
|
-
export declare const StyledIconWrapper: StyletronComponent<any>;
|
|
28
|
+
export declare const StyledIconWrapper: StyletronComponent<any, any>;
|
package/phone-input/index.d.ts
CHANGED
|
@@ -426,15 +426,15 @@ export interface FlagProps {
|
|
|
426
426
|
}
|
|
427
427
|
export declare const Flag: React.FC<FlagProps>;
|
|
428
428
|
|
|
429
|
-
export declare const StyledFlag: StyletronComponent<any>;
|
|
430
|
-
export declare const StyledRoot: StyletronComponent<any>;
|
|
431
|
-
export declare const StyledDialCode: StyletronComponent<any>;
|
|
432
|
-
export declare const StyledCountrySelectContainer: StyletronComponent<any>;
|
|
433
|
-
export declare const StyledCountrySelectDropdownContainer: StyletronComponent<any>;
|
|
434
|
-
export declare const StyledCountrySelectDropdownListItem: StyletronComponent<any>;
|
|
435
|
-
export declare const StyledCountrySelectDropdownFlagColumn: StyletronComponent<any>;
|
|
436
|
-
export declare const StyledCountrySelectDropdownNameColumn: StyletronComponent<any>;
|
|
437
|
-
export declare const StyledCountrySelectDropdownDialcodeColumn: StyletronComponent<any>;
|
|
429
|
+
export declare const StyledFlag: StyletronComponent<any, any>;
|
|
430
|
+
export declare const StyledRoot: StyletronComponent<any, any>;
|
|
431
|
+
export declare const StyledDialCode: StyletronComponent<any, any>;
|
|
432
|
+
export declare const StyledCountrySelectContainer: StyletronComponent<any, any>;
|
|
433
|
+
export declare const StyledCountrySelectDropdownContainer: StyletronComponent<any, any>;
|
|
434
|
+
export declare const StyledCountrySelectDropdownListItem: StyletronComponent<any, any>;
|
|
435
|
+
export declare const StyledCountrySelectDropdownFlagColumn: StyletronComponent<any, any>;
|
|
436
|
+
export declare const StyledCountrySelectDropdownNameColumn: StyletronComponent<any, any>;
|
|
437
|
+
export declare const StyledCountrySelectDropdownDialcodeColumn: StyletronComponent<any, any>;
|
|
438
438
|
|
|
439
439
|
export declare const DEFAULT_MAX_DROPDOWN_WIDTH: '400px';
|
|
440
440
|
export declare const DEFAULT_MAX_DROPDOWN_HEIGHT: '400px';
|
package/popover/index.d.ts
CHANGED
|
@@ -177,10 +177,10 @@ export class Popover extends React.Component<PopoverProps, PopoverPrivateState>
|
|
|
177
177
|
renderPopover(): React.ReactNode;
|
|
178
178
|
}
|
|
179
179
|
|
|
180
|
-
export declare const StyledArrow: StyletronComponent<any>;
|
|
181
|
-
export declare const StyledBody: StyletronComponent<any>;
|
|
182
|
-
export declare const StyledInner: StyletronComponent<any>;
|
|
183
|
-
export declare const StyledPadding: StyletronComponent<any>;
|
|
180
|
+
export declare const StyledArrow: StyletronComponent<any, any>;
|
|
181
|
+
export declare const StyledBody: StyletronComponent<any, any>;
|
|
182
|
+
export declare const StyledInner: StyletronComponent<any, any>;
|
|
183
|
+
export declare const StyledPadding: StyletronComponent<any, any>;
|
|
184
184
|
|
|
185
185
|
export declare const POPOVER_MARGIN: 8;
|
|
186
186
|
export declare const ARROW_SIZE: 6;
|
package/progress-bar/index.d.ts
CHANGED
|
@@ -49,9 +49,9 @@ export interface ProgressBarRoundedProps {
|
|
|
49
49
|
}
|
|
50
50
|
export declare const ProgressBarRounded: React.FC<ProgressBarRoundedProps>;
|
|
51
51
|
|
|
52
|
-
export declare const StyledRoot: StyletronComponent<any>;
|
|
53
|
-
export declare const StyledBarContainer: StyletronComponent<any>;
|
|
54
|
-
export declare const StyledBar: StyletronComponent<any>;
|
|
55
|
-
export declare const StyledBarProgress: StyletronComponent<any>;
|
|
56
|
-
export declare const StyledInfiniteBar: StyletronComponent<any>;
|
|
57
|
-
export declare const StyledLabel: StyletronComponent<any>;
|
|
52
|
+
export declare const StyledRoot: StyletronComponent<any, any>;
|
|
53
|
+
export declare const StyledBarContainer: StyletronComponent<any, any>;
|
|
54
|
+
export declare const StyledBar: StyletronComponent<any, any>;
|
|
55
|
+
export declare const StyledBarProgress: StyletronComponent<any, any>;
|
|
56
|
+
export declare const StyledInfiniteBar: StyletronComponent<any, any>;
|
|
57
|
+
export declare const StyledLabel: StyletronComponent<any, any>;
|
|
@@ -58,14 +58,14 @@ export interface StyleProps {
|
|
|
58
58
|
$isCompleted?: boolean;
|
|
59
59
|
$disabled?: boolean;
|
|
60
60
|
}
|
|
61
|
-
export declare const StyledProgressSteps: StyletronComponent<StyleProps>;
|
|
62
|
-
export declare const StyledStep: StyletronComponent<StyleProps>;
|
|
63
|
-
export declare const StyledIcon: StyletronComponent<StyleProps>;
|
|
64
|
-
export declare const StyledInnerIcon: StyletronComponent<StyleProps>;
|
|
65
|
-
export declare const StyledContent: StyletronComponent<StyleProps>;
|
|
66
|
-
export declare const StyledContentTitle: StyletronComponent<StyleProps>;
|
|
67
|
-
export declare const StyledContentTail: StyletronComponent<StyleProps>;
|
|
68
|
-
export declare const StyledContentDescription: StyletronComponent<StyleProps>;
|
|
69
|
-
export declare const StyledNumberStep: StyletronComponent<StyleProps>;
|
|
70
|
-
export declare const StyledNumberIcon: StyletronComponent<StyleProps>;
|
|
71
|
-
export declare const StyledNumberContentTail: StyletronComponent<StyleProps>;
|
|
61
|
+
export declare const StyledProgressSteps: StyletronComponent<any, StyleProps>;
|
|
62
|
+
export declare const StyledStep: StyletronComponent<any, StyleProps>;
|
|
63
|
+
export declare const StyledIcon: StyletronComponent<any, StyleProps>;
|
|
64
|
+
export declare const StyledInnerIcon: StyletronComponent<any, StyleProps>;
|
|
65
|
+
export declare const StyledContent: StyletronComponent<any, StyleProps>;
|
|
66
|
+
export declare const StyledContentTitle: StyletronComponent<any, StyleProps>;
|
|
67
|
+
export declare const StyledContentTail: StyletronComponent<any, StyleProps>;
|
|
68
|
+
export declare const StyledContentDescription: StyletronComponent<any, StyleProps>;
|
|
69
|
+
export declare const StyledNumberStep: StyletronComponent<any, StyleProps>;
|
|
70
|
+
export declare const StyledNumberIcon: StyletronComponent<any, StyleProps>;
|
|
71
|
+
export declare const StyledNumberContentTail: StyletronComponent<any, StyleProps>;
|
package/radio/index.d.ts
CHANGED
|
@@ -125,10 +125,10 @@ export class Radio extends React.Component<RadioProps, RadioState> {
|
|
|
125
125
|
onBlur(event: React.FocusEvent<HTMLInputElement>): void;
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
export declare const StyledRoot: StyletronComponent<any>;
|
|
129
|
-
export declare const StyledLabel: StyletronComponent<any>;
|
|
130
|
-
export declare const StyledInput: StyletronComponent<any>;
|
|
131
|
-
export declare const StyledDescription: StyletronComponent<any>;
|
|
132
|
-
export declare const StyledRadioMarkInner: StyletronComponent<any>;
|
|
133
|
-
export declare const StyledRadioMarkOuter: StyletronComponent<any>;
|
|
134
|
-
export declare const StyledRadioGroupRoot: StyletronComponent<any>;
|
|
128
|
+
export declare const StyledRoot: StyletronComponent<any, any>;
|
|
129
|
+
export declare const StyledLabel: StyletronComponent<any, any>;
|
|
130
|
+
export declare const StyledInput: StyletronComponent<any, any>;
|
|
131
|
+
export declare const StyledDescription: StyletronComponent<any, any>;
|
|
132
|
+
export declare const StyledRadioMarkInner: StyletronComponent<any, any>;
|
|
133
|
+
export declare const StyledRadioMarkOuter: StyletronComponent<any, any>;
|
|
134
|
+
export declare const StyledRadioGroupRoot: StyletronComponent<any, any>;
|
package/rating/index.d.ts
CHANGED
|
@@ -48,6 +48,6 @@ export interface StyledRatingItemProps {
|
|
|
48
48
|
$isSelected: boolean;
|
|
49
49
|
$index: number;
|
|
50
50
|
}
|
|
51
|
-
export declare const StyledRoot: StyletronComponent<StyledRootProps>;
|
|
52
|
-
export declare const StyledStar: StyletronComponent<StyledRatingItemProps>;
|
|
53
|
-
export declare const StyledEmoticon: StyletronComponent<StyledRatingItemProps>;
|
|
51
|
+
export declare const StyledRoot: StyletronComponent<any, StyledRootProps>;
|
|
52
|
+
export declare const StyledStar: StyletronComponent<any, StyledRatingItemProps>;
|
|
53
|
+
export declare const StyledEmoticon: StyletronComponent<any, StyledRatingItemProps>;
|
package/select/index.d.ts
CHANGED
|
@@ -308,19 +308,19 @@ export class StatefulSelectContainer extends React.Component<StatefulContainerPr
|
|
|
308
308
|
internalSetState(params: OnChangeParams): void;
|
|
309
309
|
}
|
|
310
310
|
|
|
311
|
-
export declare const StyledRoot: StyletronComponent<any>;
|
|
312
|
-
export declare const StyledControlContainer: StyletronComponent<any>;
|
|
313
|
-
export declare const StyledValueContainer: StyletronComponent<any>;
|
|
314
|
-
export declare const StyledPlaceholder: StyletronComponent<any>;
|
|
315
|
-
export declare const StyledSingleValue: StyletronComponent<any>;
|
|
316
|
-
export declare const StyledInputContainer: StyletronComponent<any>;
|
|
317
|
-
export declare const StyledInput: StyletronComponent<any>;
|
|
318
|
-
export declare const StyledInputSizer: StyletronComponent<any>;
|
|
319
|
-
export declare const StyledIconsContainer: StyletronComponent<any>;
|
|
320
|
-
export declare const StyledSelectArrow: StyletronComponent<any>;
|
|
321
|
-
export declare const StyledClearIcon: StyletronComponent<any>;
|
|
322
|
-
export declare const StyledSearchIconContainer: StyletronComponent<any>;
|
|
323
|
-
export declare const StyledDropdownContainer: StyletronComponent<any>;
|
|
324
|
-
export declare const StyledDropdown: StyletronComponent<any>;
|
|
325
|
-
export declare const StyledDropdownListItem: StyletronComponent<any>;
|
|
326
|
-
export declare const StyledOptionContent: StyletronComponent<any>;
|
|
311
|
+
export declare const StyledRoot: StyletronComponent<any, any>;
|
|
312
|
+
export declare const StyledControlContainer: StyletronComponent<any, any>;
|
|
313
|
+
export declare const StyledValueContainer: StyletronComponent<any, any>;
|
|
314
|
+
export declare const StyledPlaceholder: StyletronComponent<any, any>;
|
|
315
|
+
export declare const StyledSingleValue: StyletronComponent<any, any>;
|
|
316
|
+
export declare const StyledInputContainer: StyletronComponent<any, any>;
|
|
317
|
+
export declare const StyledInput: StyletronComponent<any, any>;
|
|
318
|
+
export declare const StyledInputSizer: StyletronComponent<any, any>;
|
|
319
|
+
export declare const StyledIconsContainer: StyletronComponent<any, any>;
|
|
320
|
+
export declare const StyledSelectArrow: StyletronComponent<any, any>;
|
|
321
|
+
export declare const StyledClearIcon: StyletronComponent<any, any>;
|
|
322
|
+
export declare const StyledSearchIconContainer: StyletronComponent<any, any>;
|
|
323
|
+
export declare const StyledDropdownContainer: StyletronComponent<any, any>;
|
|
324
|
+
export declare const StyledDropdown: StyletronComponent<any, any>;
|
|
325
|
+
export declare const StyledDropdownListItem: StyletronComponent<any, any>;
|
|
326
|
+
export declare const StyledOptionContent: StyletronComponent<any, any>;
|
|
@@ -53,8 +53,8 @@ export class NavItem extends React.Component<NavItemProps> {
|
|
|
53
53
|
handleKeyDown(event: React.KeyboardEvent): void;
|
|
54
54
|
}
|
|
55
55
|
|
|
56
|
-
export declare const StyledRoot: StyletronComponent<any>;
|
|
57
|
-
export declare const StyledNavItemContainer: StyletronComponent<any>;
|
|
58
|
-
export declare const StyledNavLink: StyletronComponent<any>;
|
|
59
|
-
export declare const StyledNavItem: StyletronComponent<any>;
|
|
60
|
-
export declare const StyledSubNavContainer: StyletronComponent<any>;
|
|
56
|
+
export declare const StyledRoot: StyletronComponent<any, any>;
|
|
57
|
+
export declare const StyledNavItemContainer: StyletronComponent<any, any>;
|
|
58
|
+
export declare const StyledNavLink: StyletronComponent<any, any>;
|
|
59
|
+
export declare const StyledNavItem: StyletronComponent<any, any>;
|
|
60
|
+
export declare const StyledSubNavContainer: StyletronComponent<any, any>;
|
package/slider/index.d.ts
CHANGED
|
@@ -82,11 +82,11 @@ export class StatefulContainer extends React.Component<StatefulContainerProps, S
|
|
|
82
82
|
internalSetState(type: 'change', { value }: State): void;
|
|
83
83
|
}
|
|
84
84
|
|
|
85
|
-
export declare const StyledRoot: StyletronComponent<any>;
|
|
86
|
-
export declare const StyledTrack: StyletronComponent<any>;
|
|
87
|
-
export declare const StyledInnerTrack: StyletronComponent<any>;
|
|
88
|
-
export declare const StyledThumb: StyletronComponent<any>;
|
|
89
|
-
export declare const StyledInnerThumb: StyletronComponent<any>;
|
|
90
|
-
export declare const StyledTick: StyletronComponent<any>;
|
|
91
|
-
export declare const StyledTickBar: StyletronComponent<any>;
|
|
92
|
-
export declare const StyledMark: StyletronComponent<any>;
|
|
85
|
+
export declare const StyledRoot: StyletronComponent<any, any>;
|
|
86
|
+
export declare const StyledTrack: StyletronComponent<any, any>;
|
|
87
|
+
export declare const StyledInnerTrack: StyletronComponent<any, any>;
|
|
88
|
+
export declare const StyledThumb: StyletronComponent<any, any>;
|
|
89
|
+
export declare const StyledInnerThumb: StyletronComponent<any, any>;
|
|
90
|
+
export declare const StyledTick: StyletronComponent<any, any>;
|
|
91
|
+
export declare const StyledTickBar: StyletronComponent<any, any>;
|
|
92
|
+
export declare const StyledMark: StyletronComponent<any, any>;
|
package/spinner/index.d.ts
CHANGED
package/styles/index.d.ts
CHANGED
|
@@ -37,10 +37,10 @@ export interface Theme {
|
|
|
37
37
|
type UseStyletronFn<Theme> = () => [(arg: StyleObject) => string, Theme];
|
|
38
38
|
export function createThemedUseStyletron<Theme>(): UseStyletronFn<Theme>;
|
|
39
39
|
export declare const useStyletron: UseStyletronFn<Theme>;
|
|
40
|
-
export function withWrapper<C extends StyletronComponent<any>, P extends object>(
|
|
40
|
+
export function withWrapper<C extends StyletronComponent<any, any>, P extends object>(
|
|
41
41
|
component: C,
|
|
42
42
|
wrapper: (component: C) => React.ComponentType<P>
|
|
43
|
-
): StyletronComponent<
|
|
43
|
+
): StyletronComponent<C, P>;
|
|
44
44
|
|
|
45
45
|
export function styled<
|
|
46
46
|
P extends object,
|
|
@@ -49,30 +49,26 @@ export function styled<
|
|
|
49
49
|
>(
|
|
50
50
|
component: C,
|
|
51
51
|
styledFn: StyleObject | ((props: { $theme: T } & P) => StyleObject)
|
|
52
|
-
): StyletronComponent<
|
|
53
|
-
|
|
54
|
-
>;
|
|
55
|
-
export function withStyle<C extends StyletronComponent<any>, P extends object, T = Theme>(
|
|
52
|
+
): StyletronComponent<C, P>;
|
|
53
|
+
export function withStyle<C extends StyletronComponent<any, any>, P extends object, T = Theme>(
|
|
56
54
|
component: C,
|
|
57
55
|
styledFn: StyleObject | ((props: { $theme: T } & P) => StyleObject)
|
|
58
|
-
): StyletronComponent<
|
|
56
|
+
): StyletronComponent<C, P>;
|
|
59
57
|
|
|
60
58
|
export interface StyledFn<T> extends StyletronStyledFn {
|
|
61
59
|
<C extends keyof JSX.IntrinsicElements | React.ComponentType<any>, P extends object>(
|
|
62
60
|
component: C,
|
|
63
61
|
style: (props: { $theme: T } & P) => StyleObject
|
|
64
|
-
): StyletronComponent<
|
|
65
|
-
Pick<React.ComponentProps<C>, Exclude<keyof React.ComponentProps<C>, { className: string }>> & P
|
|
66
|
-
>;
|
|
62
|
+
): StyletronComponent<C, P>;
|
|
67
63
|
}
|
|
68
64
|
|
|
69
65
|
export function createThemedStyled<Theme>(): StyledFn<Theme>;
|
|
70
66
|
|
|
71
67
|
export interface WithStyleFn<T = Theme> extends StyletronWithStyleFn {
|
|
72
|
-
<C extends StyletronComponent<any>, P extends object, T1 = T>(
|
|
68
|
+
<C extends StyletronComponent<any, any>, P extends object, T1 = T>(
|
|
73
69
|
component: C,
|
|
74
70
|
style: (props: P & { $theme: T1 }) => StyleObject
|
|
75
|
-
): StyletronComponent<
|
|
71
|
+
): StyletronComponent<C, P>;
|
|
76
72
|
}
|
|
77
73
|
|
|
78
74
|
export function createThemedWithStyle<Theme>(): WithStyleFn<Theme>;
|
package/table/index.d.ts
CHANGED
|
@@ -54,15 +54,15 @@ export interface FilterProps {
|
|
|
54
54
|
}
|
|
55
55
|
export declare const Filter: React.FC<FilterProps>;
|
|
56
56
|
|
|
57
|
-
export declare const StyledTable: StyletronComponent<any>;
|
|
58
|
-
export declare const StyledFilterButton: StyletronComponent<any>;
|
|
59
|
-
export declare const StyledFilterContent: StyletronComponent<any>;
|
|
60
|
-
export declare const StyledFilterHeading: StyletronComponent<any>;
|
|
61
|
-
export declare const StyledFilterFooter: StyletronComponent<any>;
|
|
62
|
-
export declare const StyledHead: StyletronComponent<any>;
|
|
63
|
-
export declare const StyledHeadCell: StyletronComponent<any>;
|
|
64
|
-
export declare const StyledBody: StyletronComponent<any>;
|
|
65
|
-
export declare const StyledRow: StyletronComponent<any>;
|
|
66
|
-
export declare const StyledCell: StyletronComponent<any>;
|
|
67
|
-
export declare const StyledAction: StyletronComponent<any>;
|
|
68
|
-
export declare const StyledSortableLabel: StyletronComponent<any>;
|
|
57
|
+
export declare const StyledTable: StyletronComponent<any, any>;
|
|
58
|
+
export declare const StyledFilterButton: StyletronComponent<any, any>;
|
|
59
|
+
export declare const StyledFilterContent: StyletronComponent<any, any>;
|
|
60
|
+
export declare const StyledFilterHeading: StyletronComponent<any, any>;
|
|
61
|
+
export declare const StyledFilterFooter: StyletronComponent<any, any>;
|
|
62
|
+
export declare const StyledHead: StyletronComponent<any, any>;
|
|
63
|
+
export declare const StyledHeadCell: StyletronComponent<any, any>;
|
|
64
|
+
export declare const StyledBody: StyletronComponent<any, any>;
|
|
65
|
+
export declare const StyledRow: StyletronComponent<any, any>;
|
|
66
|
+
export declare const StyledCell: StyletronComponent<any, any>;
|
|
67
|
+
export declare const StyledAction: StyletronComponent<any, any>;
|
|
68
|
+
export declare const StyledSortableLabel: StyletronComponent<any, any>;
|
package/table-grid/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { StyletronComponent } from 'styletron-react';
|
|
2
2
|
import { SORT_DIRECTION, SortableHeadCell } from '../table/';
|
|
3
3
|
|
|
4
|
-
export declare const StyledTable: StyletronComponent<any>;
|
|
5
|
-
export declare const StyledHeadCell: StyletronComponent<any>;
|
|
6
|
-
export declare const StyledBodyCell: StyletronComponent<any>;
|
|
4
|
+
export declare const StyledTable: StyletronComponent<any, any>;
|
|
5
|
+
export declare const StyledHeadCell: StyletronComponent<any, any>;
|
|
6
|
+
export declare const StyledBodyCell: StyletronComponent<any, any>;
|
|
7
7
|
export { SORT_DIRECTION, SortableHeadCell };
|
|
@@ -81,17 +81,17 @@ export interface TableBuilderColumnProps<RowT> {
|
|
|
81
81
|
}
|
|
82
82
|
export class TableBuilderColumn<RowT> extends React.Component<TableBuilderColumnProps<RowT>> {}
|
|
83
83
|
|
|
84
|
-
export declare const StyledRoot: StyletronComponent<any>;
|
|
85
|
-
export declare const StyledTable: StyletronComponent<any>;
|
|
86
|
-
export declare const StyledTableHead: StyletronComponent<any>;
|
|
87
|
-
export declare const StyledTableHeadRow: StyletronComponent<any>;
|
|
88
|
-
export declare const StyledTableHeadCell: StyletronComponent<any>;
|
|
89
|
-
export declare const StyledTableHeadCellSortable: StyletronComponent<any>;
|
|
90
|
-
export declare const StyledTableBody: StyletronComponent<any>;
|
|
91
|
-
export declare const StyledTableBodyRow: StyletronComponent<any>;
|
|
92
|
-
export declare const StyledTableBodyCell: StyletronComponent<any>;
|
|
93
|
-
export declare const StyledTableLoadingMessage: StyletronComponent<any>;
|
|
94
|
-
export declare const StyledTableEmptyMessage: StyletronComponent<any>;
|
|
95
|
-
export declare const StyledSortAscIcon: StyletronComponent<any>;
|
|
96
|
-
export declare const StyledSortDescIcon: StyletronComponent<any>;
|
|
97
|
-
export declare const StyledSortNoneIcon: StyletronComponent<any>;
|
|
84
|
+
export declare const StyledRoot: StyletronComponent<any, any>;
|
|
85
|
+
export declare const StyledTable: StyletronComponent<any, any>;
|
|
86
|
+
export declare const StyledTableHead: StyletronComponent<any, any>;
|
|
87
|
+
export declare const StyledTableHeadRow: StyletronComponent<any, any>;
|
|
88
|
+
export declare const StyledTableHeadCell: StyletronComponent<any, any>;
|
|
89
|
+
export declare const StyledTableHeadCellSortable: StyletronComponent<any, any>;
|
|
90
|
+
export declare const StyledTableBody: StyletronComponent<any, any>;
|
|
91
|
+
export declare const StyledTableBodyRow: StyletronComponent<any, any>;
|
|
92
|
+
export declare const StyledTableBodyCell: StyletronComponent<any, any>;
|
|
93
|
+
export declare const StyledTableLoadingMessage: StyletronComponent<any, any>;
|
|
94
|
+
export declare const StyledTableEmptyMessage: StyletronComponent<any, any>;
|
|
95
|
+
export declare const StyledSortAscIcon: StyletronComponent<any, any>;
|
|
96
|
+
export declare const StyledSortDescIcon: StyletronComponent<any, any>;
|
|
97
|
+
export declare const StyledSortNoneIcon: StyletronComponent<any, any>;
|
package/tabs/index.d.ts
CHANGED
|
@@ -85,7 +85,7 @@ export class Tab extends React.Component<TabProps> {
|
|
|
85
85
|
getSharedProps(): SharedProps;
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
-
export declare const StyledRoot: StyletronComponent<any>;
|
|
89
|
-
export declare const StyledTab: StyletronComponent<any>;
|
|
90
|
-
export declare const StyledTabBar: StyletronComponent<any>;
|
|
91
|
-
export declare const StyledTabContent: StyletronComponent<any>;
|
|
88
|
+
export declare const StyledRoot: StyletronComponent<any, any>;
|
|
89
|
+
export declare const StyledTab: StyletronComponent<any, any>;
|
|
90
|
+
export declare const StyledTabBar: StyletronComponent<any, any>;
|
|
91
|
+
export declare const StyledTabContent: StyletronComponent<any, any>;
|
package/tabs-motion/index.d.ts
CHANGED
|
@@ -30,13 +30,13 @@ export declare const isRTL: (direction: string) => boolean;
|
|
|
30
30
|
|
|
31
31
|
// styled-components
|
|
32
32
|
|
|
33
|
-
export declare const StyledRoot: StyletronComponent<any>;
|
|
34
|
-
export declare const StyledTabList: StyletronComponent<any>;
|
|
35
|
-
export declare const StyledTab: StyletronComponent<any>;
|
|
36
|
-
export declare const StyledArtworkContainer: StyletronComponent<any>;
|
|
37
|
-
export declare const StyledTabBorder: StyletronComponent<any>;
|
|
38
|
-
export declare const StyledTabHighlight: StyletronComponent<any>;
|
|
39
|
-
export declare const StyledTabPanel: StyletronComponent<any>;
|
|
33
|
+
export declare const StyledRoot: StyletronComponent<any, any>;
|
|
34
|
+
export declare const StyledTabList: StyletronComponent<any, any>;
|
|
35
|
+
export declare const StyledTab: StyletronComponent<any, any>;
|
|
36
|
+
export declare const StyledArtworkContainer: StyletronComponent<any, any>;
|
|
37
|
+
export declare const StyledTabBorder: StyletronComponent<any, any>;
|
|
38
|
+
export declare const StyledTabHighlight: StyletronComponent<any, any>;
|
|
39
|
+
export declare const StyledTabPanel: StyletronComponent<any, any>;
|
|
40
40
|
|
|
41
41
|
// tabs
|
|
42
42
|
|
package/tag/index.d.ts
CHANGED
|
@@ -65,6 +65,6 @@ export class Tag extends React.Component<TagProps> {
|
|
|
65
65
|
handleActionKeyDown(event: KeyboardEvent): void;
|
|
66
66
|
}
|
|
67
67
|
|
|
68
|
-
export declare const StyledRoot: StyletronComponent<any>;
|
|
69
|
-
export declare const StyledAction: StyletronComponent<any>;
|
|
70
|
-
export declare const StyledText: StyletronComponent<any>;
|
|
68
|
+
export declare const StyledRoot: StyletronComponent<any, any>;
|
|
69
|
+
export declare const StyledAction: StyletronComponent<any, any>;
|
|
70
|
+
export declare const StyledText: StyletronComponent<any, any>;
|
package/textarea/index.d.ts
CHANGED
|
@@ -33,7 +33,7 @@ export declare const StatefulTextarea: React.FC<StatefulTextareaProps>;
|
|
|
33
33
|
|
|
34
34
|
export { StatefulContainer };
|
|
35
35
|
|
|
36
|
-
export declare const StyledTextareaContainer: StyletronComponent<any>;
|
|
37
|
-
export declare const StyledTextarea: StyletronComponent<any>;
|
|
36
|
+
export declare const StyledTextareaContainer: StyletronComponent<any, any>;
|
|
37
|
+
export declare const StyledTextarea: StyletronComponent<any, any>;
|
|
38
38
|
|
|
39
39
|
export { STATE_CHANGE_TYPE };
|
package/themes/shared/borders.js
CHANGED
|
@@ -48,7 +48,7 @@ const borders: BordersT = {
|
|
|
48
48
|
/** Datepicker (Range), Progress Bar, Slider, Tag */
|
|
49
49
|
useRoundedCorners: true,
|
|
50
50
|
/** Button, ButtonGroup */
|
|
51
|
-
buttonBorderRadius: '
|
|
51
|
+
buttonBorderRadius: '8px',
|
|
52
52
|
/** Input, Select, Textarea, Checkbox */
|
|
53
53
|
inputBorderRadius: '0px',
|
|
54
54
|
/** Popover, Menu, Tooltip */
|
package/toast/index.d.ts
CHANGED
|
@@ -118,6 +118,6 @@ export class Toast extends React.Component<ToastProps, ToastPrivateState> {
|
|
|
118
118
|
getSharedProps(): Readonly<SharedStylePropsArg>;
|
|
119
119
|
}
|
|
120
120
|
|
|
121
|
-
export declare const Root: StyletronComponent<any>;
|
|
122
|
-
export declare const Body: StyletronComponent<any>;
|
|
123
|
-
export declare const CloseIconSvg: StyletronComponent<any>;
|
|
121
|
+
export declare const Root: StyletronComponent<any, any>;
|
|
122
|
+
export declare const Body: StyletronComponent<any, any>;
|
|
123
|
+
export declare const CloseIconSvg: StyletronComponent<any, any>;
|
package/tooltip/index.d.ts
CHANGED
|
@@ -21,6 +21,6 @@ export { ACCESSIBILITY_TYPE, PLACEMENT, TRIGGER_TYPE };
|
|
|
21
21
|
export type TooltipProps = PopoverProps;
|
|
22
22
|
export class Tooltip extends React.Component<TooltipProps> {}
|
|
23
23
|
|
|
24
|
-
export declare const StyledArrow: StyletronComponent<any>;
|
|
25
|
-
export declare const StyledBody: StyletronComponent<any>;
|
|
26
|
-
export declare const StyledInner: StyletronComponent<any>;
|
|
24
|
+
export declare const StyledArrow: StyletronComponent<any, any>;
|
|
25
|
+
export declare const StyledBody: StyletronComponent<any, any>;
|
|
26
|
+
export declare const StyledInner: StyletronComponent<any, any>;
|
package/tree-view/index.d.ts
CHANGED
|
@@ -62,10 +62,10 @@ export declare const StatefulTreeView: React.FC<TreeViewProps>;
|
|
|
62
62
|
|
|
63
63
|
export declare const TreeLabel: React.FC<TreeLabelProps>;
|
|
64
64
|
|
|
65
|
-
export declare const StyledTreeItemList: StyletronComponent<any>;
|
|
66
|
-
export declare const StyledTreeItem: StyletronComponent<any>;
|
|
67
|
-
export declare const StyledItemContent: StyletronComponent<any>;
|
|
68
|
-
export declare const StyledIconContainer: StyletronComponent<any>;
|
|
65
|
+
export declare const StyledTreeItemList: StyletronComponent<any, any>;
|
|
66
|
+
export declare const StyledTreeItem: StyletronComponent<any, any>;
|
|
67
|
+
export declare const StyledItemContent: StyletronComponent<any, any>;
|
|
68
|
+
export declare const StyledIconContainer: StyletronComponent<any, any>;
|
|
69
69
|
|
|
70
70
|
type TGetId = (node: TreeNode) => string | number;
|
|
71
71
|
type toggleIsExpandedT = (data: TreeNode[], toggledNode: TreeNode, getId?: TGetId) => TreeNode[];
|