@elliemae/ds-popper 2.3.0-alpha.2 → 2.3.0-alpha.7
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/{cjs → dist/cjs}/DSPopper.js +0 -0
- package/{cjs → dist/cjs}/DSPopper.js.map +0 -0
- package/{cjs → dist/cjs}/PopperContent.js +0 -0
- package/{cjs → dist/cjs}/PopperContent.js.map +0 -0
- package/{cjs → dist/cjs}/PopperImpl.js +0 -0
- package/{cjs → dist/cjs}/PopperImpl.js.map +0 -0
- package/{cjs → dist/cjs}/getArrowStylesBySize.js +0 -0
- package/{cjs → dist/cjs}/getArrowStylesBySize.js.map +0 -0
- package/{cjs → dist/cjs}/index.js +0 -0
- package/{cjs → dist/cjs}/index.js.map +0 -0
- package/{cjs → dist/cjs}/interaction.js +0 -0
- package/{cjs → dist/cjs}/interaction.js.map +0 -0
- package/{cjs → dist/cjs}/positions.js +0 -0
- package/{cjs → dist/cjs}/positions.js.map +0 -0
- package/{cjs → dist/cjs}/props.js +0 -0
- package/{cjs → dist/cjs}/props.js.map +0 -0
- package/{esm → dist/esm}/DSPopper.js +0 -0
- package/{esm → dist/esm}/DSPopper.js.map +0 -0
- package/{esm → dist/esm}/PopperContent.js +0 -0
- package/{esm → dist/esm}/PopperContent.js.map +0 -0
- package/{esm → dist/esm}/PopperImpl.js +0 -0
- package/{esm → dist/esm}/PopperImpl.js.map +0 -0
- package/{esm → dist/esm}/getArrowStylesBySize.js +0 -0
- package/{esm → dist/esm}/getArrowStylesBySize.js.map +0 -0
- package/{esm → dist/esm}/index.js +0 -0
- package/{esm → dist/esm}/index.js.map +0 -0
- package/{esm → dist/esm}/interaction.js +0 -0
- package/{esm → dist/esm}/interaction.js.map +0 -0
- package/{esm → dist/esm}/positions.js +0 -0
- package/{esm → dist/esm}/positions.js.map +0 -0
- package/{esm → dist/esm}/props.js +0 -0
- package/{esm → dist/esm}/props.js.map +0 -0
- package/package.json +34 -32
- package/types/DSPopper.d.ts +0 -156
- package/types/PopperContent.d.ts +0 -21
- package/types/PopperImpl.d.ts +0 -52
- package/types/getArrowStylesBySize.d.ts +0 -2
- package/types/index.d.ts +0 -3
- package/types/interaction.d.ts +0 -5
- package/types/positions.d.ts +0 -18
- package/types/props.d.ts +0 -119
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,43 +1,46 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/ds-popper",
|
|
3
|
-
"version": "2.3.0-alpha.
|
|
3
|
+
"version": "2.3.0-alpha.7",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "ICE MT - Dimsum - Popper",
|
|
6
|
-
"
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
"files": [
|
|
7
|
+
"dist"
|
|
8
|
+
],
|
|
9
|
+
"module": "./dist/esm/index.js",
|
|
10
|
+
"main": "./dist/cjs/index.js",
|
|
11
|
+
"types": "./dist/types/index.d.ts",
|
|
9
12
|
"exports": {
|
|
10
13
|
".": {
|
|
11
|
-
"import": "./esm/index.js",
|
|
12
|
-
"require": "./cjs/index.js"
|
|
14
|
+
"import": "./dist/esm/index.js",
|
|
15
|
+
"require": "./dist/cjs/index.js"
|
|
13
16
|
},
|
|
14
17
|
"./props": {
|
|
15
|
-
"import": "./esm/props.js",
|
|
16
|
-
"require": "./cjs/props.js"
|
|
18
|
+
"import": "./dist/esm/props.js",
|
|
19
|
+
"require": "./dist/cjs/props.js"
|
|
17
20
|
},
|
|
18
21
|
"./positions": {
|
|
19
|
-
"import": "./esm/positions.js",
|
|
20
|
-
"require": "./cjs/positions.js"
|
|
22
|
+
"import": "./dist/esm/positions.js",
|
|
23
|
+
"require": "./dist/cjs/positions.js"
|
|
21
24
|
},
|
|
22
25
|
"./PopperImpl": {
|
|
23
|
-
"import": "./esm/PopperImpl.js",
|
|
24
|
-
"require": "./cjs/PopperImpl.js"
|
|
26
|
+
"import": "./dist/esm/PopperImpl.js",
|
|
27
|
+
"require": "./dist/cjs/PopperImpl.js"
|
|
25
28
|
},
|
|
26
29
|
"./PopperContent": {
|
|
27
|
-
"import": "./esm/PopperContent.js",
|
|
28
|
-
"require": "./cjs/PopperContent.js"
|
|
30
|
+
"import": "./dist/esm/PopperContent.js",
|
|
31
|
+
"require": "./dist/cjs/PopperContent.js"
|
|
29
32
|
},
|
|
30
33
|
"./interaction": {
|
|
31
|
-
"import": "./esm/interaction.js",
|
|
32
|
-
"require": "./cjs/interaction.js"
|
|
34
|
+
"import": "./dist/esm/interaction.js",
|
|
35
|
+
"require": "./dist/cjs/interaction.js"
|
|
33
36
|
},
|
|
34
37
|
"./getArrowStylesBySize": {
|
|
35
|
-
"import": "./esm/getArrowStylesBySize.js",
|
|
36
|
-
"require": "./cjs/getArrowStylesBySize.js"
|
|
38
|
+
"import": "./dist/esm/getArrowStylesBySize.js",
|
|
39
|
+
"require": "./dist/cjs/getArrowStylesBySize.js"
|
|
37
40
|
},
|
|
38
41
|
"./DSPopper": {
|
|
39
|
-
"import": "./esm/DSPopper.js",
|
|
40
|
-
"require": "./cjs/DSPopper.js"
|
|
42
|
+
"import": "./dist/esm/DSPopper.js",
|
|
43
|
+
"require": "./dist/cjs/DSPopper.js"
|
|
41
44
|
}
|
|
42
45
|
},
|
|
43
46
|
"sideEffects": [
|
|
@@ -49,19 +52,13 @@
|
|
|
49
52
|
"url": "https://git.elliemae.io/platform-ui/dimsum.git"
|
|
50
53
|
},
|
|
51
54
|
"engines": {
|
|
52
|
-
"
|
|
53
|
-
"node": ">=
|
|
55
|
+
"pnpm": ">=6",
|
|
56
|
+
"node": ">=16"
|
|
54
57
|
},
|
|
55
58
|
"author": "ICE MT",
|
|
56
|
-
"scripts": {
|
|
57
|
-
"dev": "cross-env NODE_ENV=development && node ../../scripts/build/build.js -w",
|
|
58
|
-
"prebuild": "exit 0",
|
|
59
|
-
"predev": "exit 0",
|
|
60
|
-
"build": "node ../../scripts/build/build.js"
|
|
61
|
-
},
|
|
62
59
|
"dependencies": {
|
|
63
|
-
"@elliemae/ds-overlay": "2.3.0-alpha.
|
|
64
|
-
"@elliemae/ds-utilities": "2.3.0-alpha.
|
|
60
|
+
"@elliemae/ds-overlay": "2.3.0-alpha.7",
|
|
61
|
+
"@elliemae/ds-utilities": "2.3.0-alpha.7",
|
|
65
62
|
"memoize-one": "~5.1.1",
|
|
66
63
|
"prop-types": "~15.7.2",
|
|
67
64
|
"react-desc": "~4.1.3",
|
|
@@ -74,7 +71,12 @@
|
|
|
74
71
|
},
|
|
75
72
|
"publishConfig": {
|
|
76
73
|
"access": "public",
|
|
77
|
-
"
|
|
78
|
-
|
|
74
|
+
"typeSafety": false
|
|
75
|
+
},
|
|
76
|
+
"scripts": {
|
|
77
|
+
"dev": "cross-env NODE_ENV=development && node ../../scripts/build/build.js -w",
|
|
78
|
+
"prebuild": "exit 0",
|
|
79
|
+
"predev": "exit 0",
|
|
80
|
+
"build": "node ../../scripts/build/build.js"
|
|
79
81
|
}
|
|
80
82
|
}
|
package/types/DSPopper.d.ts
DELETED
|
@@ -1,156 +0,0 @@
|
|
|
1
|
-
/// <reference path="../../../../shared/typings/react-desc.d.ts" />
|
|
2
|
-
/// <reference types="react" />
|
|
3
|
-
import { Position } from './positions';
|
|
4
|
-
import { Interaction } from './interaction';
|
|
5
|
-
declare const DSPopper: {
|
|
6
|
-
({ containerProps, arrowGap, arrowSize, blockName, contentOffset, contentStyle, contentComponent, delayClose, delayOpen, interactionType, isOpen, onOpen, onClose, onPlacementChange, placement, preventOverflow, showArrow, closeAnimationConfig, openAnimationConfig, usePortal, triggerComponent, wrapExtraComponent, getTargetFromChildren, getContentFromChildren, modifiers, triggerRef, children: customPopper, renderReference, referenceNode, zIndex, hideIfNotVisible, }: {
|
|
7
|
-
containerProps: any;
|
|
8
|
-
arrowGap: any;
|
|
9
|
-
arrowSize: any;
|
|
10
|
-
blockName: any;
|
|
11
|
-
contentOffset: any;
|
|
12
|
-
contentStyle: any;
|
|
13
|
-
contentComponent: any;
|
|
14
|
-
delayClose: any;
|
|
15
|
-
delayOpen: any;
|
|
16
|
-
interactionType: any;
|
|
17
|
-
isOpen: any;
|
|
18
|
-
onOpen: any;
|
|
19
|
-
onClose: any;
|
|
20
|
-
onPlacementChange: any;
|
|
21
|
-
placement: any;
|
|
22
|
-
preventOverflow: any;
|
|
23
|
-
showArrow: any;
|
|
24
|
-
closeAnimationConfig: any;
|
|
25
|
-
openAnimationConfig: any;
|
|
26
|
-
usePortal: any;
|
|
27
|
-
triggerComponent: any;
|
|
28
|
-
wrapExtraComponent: any;
|
|
29
|
-
getTargetFromChildren: any;
|
|
30
|
-
getContentFromChildren: any;
|
|
31
|
-
modifiers: any;
|
|
32
|
-
triggerRef: any;
|
|
33
|
-
children: any;
|
|
34
|
-
renderReference: any;
|
|
35
|
-
referenceNode: any;
|
|
36
|
-
zIndex: any;
|
|
37
|
-
hideIfNotVisible: any;
|
|
38
|
-
}): JSX.Element;
|
|
39
|
-
propTypes: {
|
|
40
|
-
hideIfNotVisible: {
|
|
41
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
42
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
43
|
-
};
|
|
44
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
45
|
-
};
|
|
46
|
-
containerProps: {
|
|
47
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
48
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
49
|
-
};
|
|
50
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
51
|
-
};
|
|
52
|
-
arrowGap: {
|
|
53
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
54
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
55
|
-
};
|
|
56
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
57
|
-
};
|
|
58
|
-
onOpen: {
|
|
59
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
60
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
61
|
-
};
|
|
62
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
63
|
-
};
|
|
64
|
-
onClose: {
|
|
65
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
66
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
67
|
-
};
|
|
68
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
69
|
-
};
|
|
70
|
-
delayClose: {
|
|
71
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
72
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
73
|
-
};
|
|
74
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
75
|
-
};
|
|
76
|
-
delayOpen: {
|
|
77
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
78
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
79
|
-
};
|
|
80
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
81
|
-
};
|
|
82
|
-
onPlacementChange: {
|
|
83
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
84
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
85
|
-
};
|
|
86
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
87
|
-
};
|
|
88
|
-
arrowSize: {
|
|
89
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
90
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
91
|
-
};
|
|
92
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
93
|
-
};
|
|
94
|
-
blockName: {
|
|
95
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
96
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
97
|
-
};
|
|
98
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
99
|
-
};
|
|
100
|
-
triggerComponent: import("react-desc").PropTypesDescValue;
|
|
101
|
-
};
|
|
102
|
-
defaultProps: {
|
|
103
|
-
containerProps: {};
|
|
104
|
-
arrowGap: number;
|
|
105
|
-
arrowSize: number;
|
|
106
|
-
blockName: string;
|
|
107
|
-
contentOffset: null;
|
|
108
|
-
contentStyle: null;
|
|
109
|
-
contentComponent: () => null;
|
|
110
|
-
delayClose: number;
|
|
111
|
-
delayOpen: number;
|
|
112
|
-
interactionType: string;
|
|
113
|
-
onOpen: () => null;
|
|
114
|
-
onClose: () => null;
|
|
115
|
-
onPlacementChange: () => null;
|
|
116
|
-
placement: string;
|
|
117
|
-
preventOverflow: string;
|
|
118
|
-
showArrow: boolean;
|
|
119
|
-
closeAnimationConfig: {
|
|
120
|
-
to: {
|
|
121
|
-
transform: string;
|
|
122
|
-
opacity: string;
|
|
123
|
-
};
|
|
124
|
-
config: {
|
|
125
|
-
delay: number;
|
|
126
|
-
duration: number;
|
|
127
|
-
};
|
|
128
|
-
};
|
|
129
|
-
openAnimationConfig: {
|
|
130
|
-
to: {
|
|
131
|
-
transform: string;
|
|
132
|
-
opacity: string;
|
|
133
|
-
};
|
|
134
|
-
config: {
|
|
135
|
-
delay: number;
|
|
136
|
-
duration: number;
|
|
137
|
-
};
|
|
138
|
-
};
|
|
139
|
-
usePortal: boolean;
|
|
140
|
-
triggerComponent: () => null;
|
|
141
|
-
getTargetFromChildren: () => null;
|
|
142
|
-
getContentFromChildren: () => null;
|
|
143
|
-
modifiers: {};
|
|
144
|
-
triggerRef: () => null;
|
|
145
|
-
hideIfNotVisible: boolean;
|
|
146
|
-
};
|
|
147
|
-
};
|
|
148
|
-
declare const DSPopperWithSchema: {
|
|
149
|
-
(props?: unknown): JSX.Element;
|
|
150
|
-
propTypes: unknown;
|
|
151
|
-
toTypescript: () => import("react-desc").TypescriptSchema;
|
|
152
|
-
};
|
|
153
|
-
export { Interaction as PopperInteractions, Position as PopperPositions, DSPopperWithSchema, DSPopper };
|
|
154
|
-
export { interactions } from './interaction';
|
|
155
|
-
export { positions } from './positions';
|
|
156
|
-
export default DSPopper;
|
package/types/PopperContent.d.ts
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { PureComponent } from 'react';
|
|
2
|
-
export default class PopperContent extends PureComponent {
|
|
3
|
-
static defaultProps: {
|
|
4
|
-
onContentDestroyed: () => null;
|
|
5
|
-
};
|
|
6
|
-
constructor(props: any);
|
|
7
|
-
handleRestAnimation(): void;
|
|
8
|
-
renderArrow({ ref, style }: {
|
|
9
|
-
ref: any;
|
|
10
|
-
style: any;
|
|
11
|
-
}, placement: any): JSX.Element | null;
|
|
12
|
-
renderContent({ ref, style, placement, arrowProps, scheduleUpdate, outOfBoundaries, }: {
|
|
13
|
-
ref: any;
|
|
14
|
-
style: any;
|
|
15
|
-
placement: any;
|
|
16
|
-
arrowProps: any;
|
|
17
|
-
scheduleUpdate: any;
|
|
18
|
-
outOfBoundaries: any;
|
|
19
|
-
}): JSX.Element;
|
|
20
|
-
render(): JSX.Element;
|
|
21
|
-
}
|
package/types/PopperImpl.d.ts
DELETED
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import { Component } from 'react';
|
|
2
|
-
import { Reference } from 'react-popper';
|
|
3
|
-
import PopperContent from './PopperContent';
|
|
4
|
-
export default class PopperImpl extends Component<any, any> {
|
|
5
|
-
safeIsMounted: boolean;
|
|
6
|
-
handlePopperPlacementChange: (this: any, placement: any) => void;
|
|
7
|
-
constructor(props: any);
|
|
8
|
-
componentDidMount(): void;
|
|
9
|
-
componentDidUpdate(): void;
|
|
10
|
-
componentWillUnmount(): void;
|
|
11
|
-
static getDerivedStateFromProps(nextProps: any, prevState: any): {
|
|
12
|
-
isOpen: any;
|
|
13
|
-
prevPropIsOpen: any;
|
|
14
|
-
} | null;
|
|
15
|
-
getInteractionObject(interaction: any, referenceProps?: {}): {
|
|
16
|
-
handlers?: undefined;
|
|
17
|
-
canClose?: undefined;
|
|
18
|
-
} | {
|
|
19
|
-
handlers: {
|
|
20
|
-
onClick: (e: any) => void;
|
|
21
|
-
onMouseEnter?: undefined;
|
|
22
|
-
onPointerEnter?: undefined;
|
|
23
|
-
onMouseLeave?: undefined;
|
|
24
|
-
onPointerLeave?: undefined;
|
|
25
|
-
};
|
|
26
|
-
canClose: () => boolean;
|
|
27
|
-
} | {
|
|
28
|
-
handlers: {
|
|
29
|
-
onMouseEnter: any;
|
|
30
|
-
onPointerEnter: any;
|
|
31
|
-
onMouseLeave: any;
|
|
32
|
-
onPointerLeave: any;
|
|
33
|
-
onClick: (e: any) => void;
|
|
34
|
-
};
|
|
35
|
-
canClose: (isOnTrigger: any, isOnPopper: any) => boolean;
|
|
36
|
-
};
|
|
37
|
-
setOpen(opening: any): void;
|
|
38
|
-
open(): void;
|
|
39
|
-
close(): void;
|
|
40
|
-
handleTriggerClick(e: any): void;
|
|
41
|
-
handleContentMouseEnter(): void;
|
|
42
|
-
handleContentMouseLeave(): void;
|
|
43
|
-
handleMouseEnter(): void;
|
|
44
|
-
handleMouseLeave(): void;
|
|
45
|
-
updatePopoverState(popperData: any): any;
|
|
46
|
-
handleDestroyContent(): void;
|
|
47
|
-
renderTarget({ ref }: {
|
|
48
|
-
ref: any;
|
|
49
|
-
}): any;
|
|
50
|
-
render(): JSX.Element;
|
|
51
|
-
}
|
|
52
|
-
export { Reference, PopperContent };
|
package/types/index.d.ts
DELETED
package/types/interaction.d.ts
DELETED
package/types/positions.d.ts
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
export declare const Position: {
|
|
2
|
-
AUTO: string;
|
|
3
|
-
AUTO_START: string;
|
|
4
|
-
AUTO_END: string;
|
|
5
|
-
BOTTOM: string;
|
|
6
|
-
BOTTOM_START: string;
|
|
7
|
-
BOTTOM_END: string;
|
|
8
|
-
LEFT: string;
|
|
9
|
-
LEFT_END: string;
|
|
10
|
-
LEFT_START: string;
|
|
11
|
-
RIGHT: string;
|
|
12
|
-
RIGHT_END: string;
|
|
13
|
-
RIGHT_START: string;
|
|
14
|
-
TOP: string;
|
|
15
|
-
TOP_START: string;
|
|
16
|
-
TOP_END: string;
|
|
17
|
-
};
|
|
18
|
-
export declare const positions: string[];
|
package/types/props.d.ts
DELETED
|
@@ -1,119 +0,0 @@
|
|
|
1
|
-
/// <reference path="../../../../shared/typings/react-desc.d.ts" />
|
|
2
|
-
export declare const popperProps: {
|
|
3
|
-
/** Hide menu component if trigger component is not visible/scrolled away */
|
|
4
|
-
hideIfNotVisible: {
|
|
5
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
6
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
7
|
-
};
|
|
8
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
9
|
-
};
|
|
10
|
-
/** props to inject to popper wrapper */
|
|
11
|
-
containerProps: {
|
|
12
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
13
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
14
|
-
};
|
|
15
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
16
|
-
};
|
|
17
|
-
/** Space between the arrow and the popup */
|
|
18
|
-
arrowGap: {
|
|
19
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
20
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
21
|
-
};
|
|
22
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
23
|
-
};
|
|
24
|
-
/** callback for when menu changes from close to open */
|
|
25
|
-
onOpen: {
|
|
26
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
27
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
28
|
-
};
|
|
29
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
30
|
-
};
|
|
31
|
-
/** callback for when menu changes from open to close */
|
|
32
|
-
onClose: {
|
|
33
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
34
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
35
|
-
};
|
|
36
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
37
|
-
};
|
|
38
|
-
/** Time in ms to delay close of menu */
|
|
39
|
-
delayClose: {
|
|
40
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
41
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
42
|
-
};
|
|
43
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
44
|
-
};
|
|
45
|
-
/** Time in ms to delay open of menu */
|
|
46
|
-
delayOpen: {
|
|
47
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
48
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
49
|
-
};
|
|
50
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
51
|
-
};
|
|
52
|
-
/** callback for when menu changes placement */
|
|
53
|
-
onPlacementChange: {
|
|
54
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
55
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
56
|
-
};
|
|
57
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
58
|
-
};
|
|
59
|
-
/** Arrow size */
|
|
60
|
-
arrowSize: {
|
|
61
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
62
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
63
|
-
};
|
|
64
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
65
|
-
};
|
|
66
|
-
/** Bem blockname for the popper */
|
|
67
|
-
blockName: {
|
|
68
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
69
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
70
|
-
};
|
|
71
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
72
|
-
};
|
|
73
|
-
triggerComponent: import("react-desc").PropTypesDescValue;
|
|
74
|
-
};
|
|
75
|
-
export declare const defaultProps: {
|
|
76
|
-
containerProps: {};
|
|
77
|
-
arrowGap: number;
|
|
78
|
-
arrowSize: number;
|
|
79
|
-
blockName: string;
|
|
80
|
-
contentOffset: null;
|
|
81
|
-
contentStyle: null;
|
|
82
|
-
contentComponent: () => null;
|
|
83
|
-
delayClose: number;
|
|
84
|
-
delayOpen: number;
|
|
85
|
-
interactionType: string;
|
|
86
|
-
onOpen: () => null;
|
|
87
|
-
onClose: () => null;
|
|
88
|
-
onPlacementChange: () => null;
|
|
89
|
-
placement: string;
|
|
90
|
-
preventOverflow: string;
|
|
91
|
-
showArrow: boolean;
|
|
92
|
-
closeAnimationConfig: {
|
|
93
|
-
to: {
|
|
94
|
-
transform: string;
|
|
95
|
-
opacity: string;
|
|
96
|
-
};
|
|
97
|
-
config: {
|
|
98
|
-
delay: number;
|
|
99
|
-
duration: number;
|
|
100
|
-
};
|
|
101
|
-
};
|
|
102
|
-
openAnimationConfig: {
|
|
103
|
-
to: {
|
|
104
|
-
transform: string;
|
|
105
|
-
opacity: string;
|
|
106
|
-
};
|
|
107
|
-
config: {
|
|
108
|
-
delay: number;
|
|
109
|
-
duration: number;
|
|
110
|
-
};
|
|
111
|
-
};
|
|
112
|
-
usePortal: boolean;
|
|
113
|
-
triggerComponent: () => null;
|
|
114
|
-
getTargetFromChildren: () => null;
|
|
115
|
-
getContentFromChildren: () => null;
|
|
116
|
-
modifiers: {};
|
|
117
|
-
triggerRef: () => null;
|
|
118
|
-
hideIfNotVisible: boolean;
|
|
119
|
-
};
|