@elliemae/ds-utilities 2.3.0-alpha.3 → 2.3.0-alpha.8
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}/capitalize.js +0 -0
- package/{cjs → dist/cjs}/capitalize.js.map +0 -0
- package/{cjs → dist/cjs}/compose.js +0 -0
- package/{cjs → dist/cjs}/compose.js.map +0 -0
- package/{cjs → dist/cjs}/getComponentFromProps.js +0 -0
- package/{cjs → dist/cjs}/getComponentFromProps.js.map +0 -0
- package/{cjs → dist/cjs}/hooks/index.js +0 -0
- package/{cjs → dist/cjs}/hooks/index.js.map +0 -0
- package/{cjs → dist/cjs}/hooks/useCancellableDelayedCallback.js +0 -0
- package/{cjs → dist/cjs}/hooks/useCancellableDelayedCallback.js.map +0 -0
- package/{cjs → dist/cjs}/hooks/useDerivedStateFromProps.js +0 -0
- package/{cjs → dist/cjs}/hooks/useDerivedStateFromProps.js.map +0 -0
- package/{cjs → dist/cjs}/hooks/useExecutionTimer.js +0 -0
- package/{cjs → dist/cjs}/hooks/useExecutionTimer.js.map +0 -0
- package/{cjs → dist/cjs}/hooks/useExpandState.js +0 -0
- package/{cjs → dist/cjs}/hooks/useExpandState.js.map +0 -0
- package/{cjs → dist/cjs}/hooks/useHotkeys.js +0 -0
- package/{cjs → dist/cjs}/hooks/useHotkeys.js.map +0 -0
- package/{cjs → dist/cjs}/hooks/useHoverHandlersDelay.js +0 -0
- package/{cjs → dist/cjs}/hooks/useHoverHandlersDelay.js.map +0 -0
- package/{cjs → dist/cjs}/hooks/useIsShowingEllipsis.js +0 -0
- package/{cjs → dist/cjs}/hooks/useIsShowingEllipsis.js.map +0 -0
- package/{cjs → dist/cjs}/hooks/useOnElementResize.js +0 -0
- package/{cjs → dist/cjs}/hooks/useOnElementResize.js.map +0 -0
- package/{cjs → dist/cjs}/hooks/useParentElement.js +0 -0
- package/{cjs → dist/cjs}/hooks/useParentElement.js.map +0 -0
- package/{cjs → dist/cjs}/hooks/usePrevious.js +0 -0
- package/{cjs → dist/cjs}/hooks/usePrevious.js.map +0 -0
- package/{cjs → dist/cjs}/hooks/useResizeObserver.js +0 -0
- package/{cjs → dist/cjs}/hooks/useResizeObserver.js.map +0 -0
- package/{cjs → dist/cjs}/hooks/useSetRef.js +0 -0
- package/{cjs → dist/cjs}/hooks/useSetRef.js.map +0 -0
- package/{cjs → dist/cjs}/hooks/useShouldRecalculate.js +0 -0
- package/{cjs → dist/cjs}/hooks/useShouldRecalculate.js.map +0 -0
- package/{cjs → dist/cjs}/hooks/useWindowScrollerList.js +0 -0
- package/{cjs → dist/cjs}/hooks/useWindowScrollerList.js.map +0 -0
- package/{cjs → dist/cjs}/hooks/useWindowSize.js +0 -0
- package/{cjs → dist/cjs}/hooks/useWindowSize.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}/onClickHandlerForNonInteractiveElements.js +0 -0
- package/{cjs → dist/cjs}/onClickHandlerForNonInteractiveElements.js.map +0 -0
- package/{cjs → dist/cjs}/operators.js +0 -0
- package/{cjs → dist/cjs}/operators.js.map +0 -0
- package/{cjs → dist/cjs}/platform.js +0 -0
- package/{cjs → dist/cjs}/platform.js.map +0 -0
- package/{cjs → dist/cjs}/reactTypesUtility.js +0 -0
- package/{cjs → dist/cjs}/reactTypesUtility.js.map +0 -0
- package/{cjs → dist/cjs}/scrollingTimer.js +0 -0
- package/{cjs → dist/cjs}/scrollingTimer.js.map +0 -0
- package/{cjs → dist/cjs}/system.js +0 -0
- package/{cjs → dist/cjs}/system.js.map +0 -0
- package/{cjs → dist/cjs}/timeUtils.js +0 -0
- package/{cjs → dist/cjs}/timeUtils.js.map +0 -0
- package/{cjs → dist/cjs}/utils.js +0 -0
- package/{cjs → dist/cjs}/utils.js.map +0 -0
- package/{cjs → dist/cjs}/validations.js +0 -0
- package/{cjs → dist/cjs}/validations.js.map +0 -0
- package/{esm → dist/esm}/capitalize.js +0 -0
- package/{esm → dist/esm}/capitalize.js.map +0 -0
- package/{esm → dist/esm}/compose.js +0 -0
- package/{esm → dist/esm}/compose.js.map +0 -0
- package/{esm → dist/esm}/getComponentFromProps.js +0 -0
- package/{esm → dist/esm}/getComponentFromProps.js.map +0 -0
- package/{esm → dist/esm}/hooks/index.js +0 -0
- package/{esm → dist/esm}/hooks/index.js.map +0 -0
- package/{esm → dist/esm}/hooks/useCancellableDelayedCallback.js +0 -0
- package/{esm → dist/esm}/hooks/useCancellableDelayedCallback.js.map +0 -0
- package/{esm → dist/esm}/hooks/useDerivedStateFromProps.js +0 -0
- package/{esm → dist/esm}/hooks/useDerivedStateFromProps.js.map +0 -0
- package/{esm → dist/esm}/hooks/useExecutionTimer.js +0 -0
- package/{esm → dist/esm}/hooks/useExecutionTimer.js.map +0 -0
- package/{esm → dist/esm}/hooks/useExpandState.js +0 -0
- package/{esm → dist/esm}/hooks/useExpandState.js.map +0 -0
- package/{esm → dist/esm}/hooks/useHotkeys.js +0 -0
- package/{esm → dist/esm}/hooks/useHotkeys.js.map +0 -0
- package/{esm → dist/esm}/hooks/useHoverHandlersDelay.js +0 -0
- package/{esm → dist/esm}/hooks/useHoverHandlersDelay.js.map +0 -0
- package/{esm → dist/esm}/hooks/useIsShowingEllipsis.js +0 -0
- package/{esm → dist/esm}/hooks/useIsShowingEllipsis.js.map +0 -0
- package/{esm → dist/esm}/hooks/useOnElementResize.js +0 -0
- package/{esm → dist/esm}/hooks/useOnElementResize.js.map +0 -0
- package/{esm → dist/esm}/hooks/useParentElement.js +0 -0
- package/{esm → dist/esm}/hooks/useParentElement.js.map +0 -0
- package/{esm → dist/esm}/hooks/usePrevious.js +0 -0
- package/{esm → dist/esm}/hooks/usePrevious.js.map +0 -0
- package/{esm → dist/esm}/hooks/useResizeObserver.js +0 -0
- package/{esm → dist/esm}/hooks/useResizeObserver.js.map +0 -0
- package/{esm → dist/esm}/hooks/useSetRef.js +0 -0
- package/{esm → dist/esm}/hooks/useSetRef.js.map +0 -0
- package/{esm → dist/esm}/hooks/useShouldRecalculate.js +0 -0
- package/{esm → dist/esm}/hooks/useShouldRecalculate.js.map +0 -0
- package/{esm → dist/esm}/hooks/useWindowScrollerList.js +0 -0
- package/{esm → dist/esm}/hooks/useWindowScrollerList.js.map +0 -0
- package/{esm → dist/esm}/hooks/useWindowSize.js +0 -0
- package/{esm → dist/esm}/hooks/useWindowSize.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}/onClickHandlerForNonInteractiveElements.js +0 -0
- package/{esm → dist/esm}/onClickHandlerForNonInteractiveElements.js.map +0 -0
- package/{esm → dist/esm}/operators.js +0 -0
- package/{esm → dist/esm}/operators.js.map +0 -0
- package/{esm → dist/esm}/platform.js +0 -0
- package/{esm → dist/esm}/platform.js.map +0 -0
- package/{esm → dist/esm}/reactTypesUtility.js +0 -0
- package/{esm → dist/esm}/reactTypesUtility.js.map +0 -0
- package/{esm → dist/esm}/scrollingTimer.js +0 -0
- package/{esm → dist/esm}/scrollingTimer.js.map +0 -0
- package/{esm → dist/esm}/system.js +0 -0
- package/{esm → dist/esm}/system.js.map +0 -0
- package/{esm → dist/esm}/timeUtils.js +0 -0
- package/{esm → dist/esm}/timeUtils.js.map +0 -0
- package/{esm → dist/esm}/utils.js +0 -0
- package/{esm → dist/esm}/utils.js.map +0 -0
- package/{esm → dist/esm}/validations.js +0 -0
- package/{esm → dist/esm}/validations.js.map +0 -0
- package/package.json +74 -72
- package/types/capitalize.d.ts +0 -1
- package/types/compose.d.ts +0 -12
- package/types/getComponentFromProps.d.ts +0 -3
- package/types/hooks/index.d.ts +0 -19
- package/types/hooks/useCancellableDelayedCallback.d.ts +0 -2
- package/types/hooks/useDerivedStateFromProps.d.ts +0 -2
- package/types/hooks/useExecutionTimer.d.ts +0 -2
- package/types/hooks/useExpandState.d.ts +0 -23
- package/types/hooks/useHotkeys.d.ts +0 -6
- package/types/hooks/useHoverHandlersDelay.d.ts +0 -10
- package/types/hooks/useIsShowingEllipsis.d.ts +0 -5
- package/types/hooks/useOnElementResize.d.ts +0 -2
- package/types/hooks/useParentElement.d.ts +0 -1
- package/types/hooks/usePrevious.d.ts +0 -2
- package/types/hooks/useResizeObserver.d.ts +0 -3
- package/types/hooks/useSetRef.d.ts +0 -2
- package/types/hooks/useShouldRecalculate.d.ts +0 -2
- package/types/hooks/useWindowScrollerList.d.ts +0 -5
- package/types/hooks/useWindowSize.d.ts +0 -2
- package/types/index.d.ts +0 -13
- package/types/onClickHandlerForNonInteractiveElements.d.ts +0 -12
- package/types/operators.d.ts +0 -31
- package/types/platform.d.ts +0 -2
- package/types/reactTypesUtility.d.ts +0 -6
- package/types/scrollingTimer.d.ts +0 -1
- package/types/system.d.ts +0 -3
- package/types/timeUtils.d.ts +0 -7
- package/types/utils.d.ts +0 -23
- package/types/validations.d.ts +0 -23
|
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
|
|
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
|
|
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
|
|
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,127 +1,130 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/ds-utilities",
|
|
3
|
-
"version": "2.3.0-alpha.
|
|
3
|
+
"version": "2.3.0-alpha.8",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "ICE MT - Dimsum - Utilities",
|
|
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
|
"./validations": {
|
|
15
|
-
"import": "./esm/validations.js",
|
|
16
|
-
"require": "./cjs/validations.js"
|
|
18
|
+
"import": "./dist/esm/validations.js",
|
|
19
|
+
"require": "./dist/cjs/validations.js"
|
|
17
20
|
},
|
|
18
21
|
"./utils": {
|
|
19
|
-
"import": "./esm/utils.js",
|
|
20
|
-
"require": "./cjs/utils.js"
|
|
22
|
+
"import": "./dist/esm/utils.js",
|
|
23
|
+
"require": "./dist/cjs/utils.js"
|
|
21
24
|
},
|
|
22
25
|
"./timeUtils": {
|
|
23
|
-
"import": "./esm/timeUtils.js",
|
|
24
|
-
"require": "./cjs/timeUtils.js"
|
|
26
|
+
"import": "./dist/esm/timeUtils.js",
|
|
27
|
+
"require": "./dist/cjs/timeUtils.js"
|
|
25
28
|
},
|
|
26
29
|
"./system": {
|
|
27
|
-
"import": "./esm/system.js",
|
|
28
|
-
"require": "./cjs/system.js"
|
|
30
|
+
"import": "./dist/esm/system.js",
|
|
31
|
+
"require": "./dist/cjs/system.js"
|
|
29
32
|
},
|
|
30
33
|
"./scrollingTimer": {
|
|
31
|
-
"import": "./esm/scrollingTimer.js",
|
|
32
|
-
"require": "./cjs/scrollingTimer.js"
|
|
34
|
+
"import": "./dist/esm/scrollingTimer.js",
|
|
35
|
+
"require": "./dist/cjs/scrollingTimer.js"
|
|
33
36
|
},
|
|
34
37
|
"./reactTypesUtility": {
|
|
35
|
-
"import": "./esm/reactTypesUtility.js",
|
|
36
|
-
"require": "./cjs/reactTypesUtility.js"
|
|
38
|
+
"import": "./dist/esm/reactTypesUtility.js",
|
|
39
|
+
"require": "./dist/cjs/reactTypesUtility.js"
|
|
37
40
|
},
|
|
38
41
|
"./platform": {
|
|
39
|
-
"import": "./esm/platform.js",
|
|
40
|
-
"require": "./cjs/platform.js"
|
|
42
|
+
"import": "./dist/esm/platform.js",
|
|
43
|
+
"require": "./dist/cjs/platform.js"
|
|
41
44
|
},
|
|
42
45
|
"./operators": {
|
|
43
|
-
"import": "./esm/operators.js",
|
|
44
|
-
"require": "./cjs/operators.js"
|
|
46
|
+
"import": "./dist/esm/operators.js",
|
|
47
|
+
"require": "./dist/cjs/operators.js"
|
|
45
48
|
},
|
|
46
49
|
"./onClickHandlerForNonInteractiveElements": {
|
|
47
|
-
"import": "./esm/onClickHandlerForNonInteractiveElements.js",
|
|
48
|
-
"require": "./cjs/onClickHandlerForNonInteractiveElements.js"
|
|
50
|
+
"import": "./dist/esm/onClickHandlerForNonInteractiveElements.js",
|
|
51
|
+
"require": "./dist/cjs/onClickHandlerForNonInteractiveElements.js"
|
|
49
52
|
},
|
|
50
53
|
"./hooks/useWindowSize": {
|
|
51
|
-
"import": "./esm/hooks/useWindowSize.js",
|
|
52
|
-
"require": "./cjs/hooks/useWindowSize.js"
|
|
54
|
+
"import": "./dist/esm/hooks/useWindowSize.js",
|
|
55
|
+
"require": "./dist/cjs/hooks/useWindowSize.js"
|
|
53
56
|
},
|
|
54
57
|
"./hooks/useWindowScrollerList": {
|
|
55
|
-
"import": "./esm/hooks/useWindowScrollerList.js",
|
|
56
|
-
"require": "./cjs/hooks/useWindowScrollerList.js"
|
|
58
|
+
"import": "./dist/esm/hooks/useWindowScrollerList.js",
|
|
59
|
+
"require": "./dist/cjs/hooks/useWindowScrollerList.js"
|
|
57
60
|
},
|
|
58
61
|
"./hooks/useShouldRecalculate": {
|
|
59
|
-
"import": "./esm/hooks/useShouldRecalculate.js",
|
|
60
|
-
"require": "./cjs/hooks/useShouldRecalculate.js"
|
|
62
|
+
"import": "./dist/esm/hooks/useShouldRecalculate.js",
|
|
63
|
+
"require": "./dist/cjs/hooks/useShouldRecalculate.js"
|
|
61
64
|
},
|
|
62
65
|
"./hooks/useSetRef": {
|
|
63
|
-
"import": "./esm/hooks/useSetRef.js",
|
|
64
|
-
"require": "./cjs/hooks/useSetRef.js"
|
|
66
|
+
"import": "./dist/esm/hooks/useSetRef.js",
|
|
67
|
+
"require": "./dist/cjs/hooks/useSetRef.js"
|
|
65
68
|
},
|
|
66
69
|
"./hooks/useResizeObserver": {
|
|
67
|
-
"import": "./esm/hooks/useResizeObserver.js",
|
|
68
|
-
"require": "./cjs/hooks/useResizeObserver.js"
|
|
70
|
+
"import": "./dist/esm/hooks/useResizeObserver.js",
|
|
71
|
+
"require": "./dist/cjs/hooks/useResizeObserver.js"
|
|
69
72
|
},
|
|
70
73
|
"./hooks/usePrevious": {
|
|
71
|
-
"import": "./esm/hooks/usePrevious.js",
|
|
72
|
-
"require": "./cjs/hooks/usePrevious.js"
|
|
74
|
+
"import": "./dist/esm/hooks/usePrevious.js",
|
|
75
|
+
"require": "./dist/cjs/hooks/usePrevious.js"
|
|
73
76
|
},
|
|
74
77
|
"./hooks/useParentElement": {
|
|
75
|
-
"import": "./esm/hooks/useParentElement.js",
|
|
76
|
-
"require": "./cjs/hooks/useParentElement.js"
|
|
78
|
+
"import": "./dist/esm/hooks/useParentElement.js",
|
|
79
|
+
"require": "./dist/cjs/hooks/useParentElement.js"
|
|
77
80
|
},
|
|
78
81
|
"./hooks/useOnElementResize": {
|
|
79
|
-
"import": "./esm/hooks/useOnElementResize.js",
|
|
80
|
-
"require": "./cjs/hooks/useOnElementResize.js"
|
|
82
|
+
"import": "./dist/esm/hooks/useOnElementResize.js",
|
|
83
|
+
"require": "./dist/cjs/hooks/useOnElementResize.js"
|
|
81
84
|
},
|
|
82
85
|
"./hooks/useIsShowingEllipsis": {
|
|
83
|
-
"import": "./esm/hooks/useIsShowingEllipsis.js",
|
|
84
|
-
"require": "./cjs/hooks/useIsShowingEllipsis.js"
|
|
86
|
+
"import": "./dist/esm/hooks/useIsShowingEllipsis.js",
|
|
87
|
+
"require": "./dist/cjs/hooks/useIsShowingEllipsis.js"
|
|
85
88
|
},
|
|
86
89
|
"./hooks/useHoverHandlersDelay": {
|
|
87
|
-
"import": "./esm/hooks/useHoverHandlersDelay.js",
|
|
88
|
-
"require": "./cjs/hooks/useHoverHandlersDelay.js"
|
|
90
|
+
"import": "./dist/esm/hooks/useHoverHandlersDelay.js",
|
|
91
|
+
"require": "./dist/cjs/hooks/useHoverHandlersDelay.js"
|
|
89
92
|
},
|
|
90
93
|
"./hooks/useHotkeys": {
|
|
91
|
-
"import": "./esm/hooks/useHotkeys.js",
|
|
92
|
-
"require": "./cjs/hooks/useHotkeys.js"
|
|
94
|
+
"import": "./dist/esm/hooks/useHotkeys.js",
|
|
95
|
+
"require": "./dist/cjs/hooks/useHotkeys.js"
|
|
93
96
|
},
|
|
94
97
|
"./hooks/useExpandState": {
|
|
95
|
-
"import": "./esm/hooks/useExpandState.js",
|
|
96
|
-
"require": "./cjs/hooks/useExpandState.js"
|
|
98
|
+
"import": "./dist/esm/hooks/useExpandState.js",
|
|
99
|
+
"require": "./dist/cjs/hooks/useExpandState.js"
|
|
97
100
|
},
|
|
98
101
|
"./hooks/useExecutionTimer": {
|
|
99
|
-
"import": "./esm/hooks/useExecutionTimer.js",
|
|
100
|
-
"require": "./cjs/hooks/useExecutionTimer.js"
|
|
102
|
+
"import": "./dist/esm/hooks/useExecutionTimer.js",
|
|
103
|
+
"require": "./dist/cjs/hooks/useExecutionTimer.js"
|
|
101
104
|
},
|
|
102
105
|
"./hooks/useDerivedStateFromProps": {
|
|
103
|
-
"import": "./esm/hooks/useDerivedStateFromProps.js",
|
|
104
|
-
"require": "./cjs/hooks/useDerivedStateFromProps.js"
|
|
106
|
+
"import": "./dist/esm/hooks/useDerivedStateFromProps.js",
|
|
107
|
+
"require": "./dist/cjs/hooks/useDerivedStateFromProps.js"
|
|
105
108
|
},
|
|
106
109
|
"./hooks/useCancellableDelayedCallback": {
|
|
107
|
-
"import": "./esm/hooks/useCancellableDelayedCallback.js",
|
|
108
|
-
"require": "./cjs/hooks/useCancellableDelayedCallback.js"
|
|
110
|
+
"import": "./dist/esm/hooks/useCancellableDelayedCallback.js",
|
|
111
|
+
"require": "./dist/cjs/hooks/useCancellableDelayedCallback.js"
|
|
109
112
|
},
|
|
110
113
|
"./hooks": {
|
|
111
|
-
"import": "./esm/hooks/index.js",
|
|
112
|
-
"require": "./cjs/hooks/index.js"
|
|
114
|
+
"import": "./dist/esm/hooks/index.js",
|
|
115
|
+
"require": "./dist/cjs/hooks/index.js"
|
|
113
116
|
},
|
|
114
117
|
"./getComponentFromProps": {
|
|
115
|
-
"import": "./esm/getComponentFromProps.js",
|
|
116
|
-
"require": "./cjs/getComponentFromProps.js"
|
|
118
|
+
"import": "./dist/esm/getComponentFromProps.js",
|
|
119
|
+
"require": "./dist/cjs/getComponentFromProps.js"
|
|
117
120
|
},
|
|
118
121
|
"./compose": {
|
|
119
|
-
"import": "./esm/compose.js",
|
|
120
|
-
"require": "./cjs/compose.js"
|
|
122
|
+
"import": "./dist/esm/compose.js",
|
|
123
|
+
"require": "./dist/cjs/compose.js"
|
|
121
124
|
},
|
|
122
125
|
"./capitalize": {
|
|
123
|
-
"import": "./esm/capitalize.js",
|
|
124
|
-
"require": "./cjs/capitalize.js"
|
|
126
|
+
"import": "./dist/esm/capitalize.js",
|
|
127
|
+
"require": "./dist/cjs/capitalize.js"
|
|
125
128
|
}
|
|
126
129
|
},
|
|
127
130
|
"sideEffects": [
|
|
@@ -133,20 +136,13 @@
|
|
|
133
136
|
"url": "https://git.elliemae.io/platform-ui/dimsum.git"
|
|
134
137
|
},
|
|
135
138
|
"engines": {
|
|
136
|
-
"
|
|
137
|
-
"node": ">=
|
|
139
|
+
"pnpm": ">=6",
|
|
140
|
+
"node": ">=16"
|
|
138
141
|
},
|
|
139
142
|
"author": "ICE MT",
|
|
140
|
-
"scripts": {
|
|
141
|
-
"prebuild": "exit 0",
|
|
142
|
-
"predev": "exit 0",
|
|
143
|
-
"build": "node ../../scripts/build/build.js",
|
|
144
|
-
"dev": "cross-env NODE_ENV=development && node ../../scripts/build/build.js -w"
|
|
145
|
-
},
|
|
146
143
|
"publishConfig": {
|
|
147
144
|
"access": "public",
|
|
148
|
-
"
|
|
149
|
-
"generateSubmodules": true
|
|
145
|
+
"typeSafety": false
|
|
150
146
|
},
|
|
151
147
|
"dependencies": {
|
|
152
148
|
"hotkeys-js": "~3.8.7",
|
|
@@ -161,5 +157,11 @@
|
|
|
161
157
|
"lodash": "^4.17.21",
|
|
162
158
|
"react": "~17.0.2",
|
|
163
159
|
"react-dom": "^17.0.2"
|
|
160
|
+
},
|
|
161
|
+
"scripts": {
|
|
162
|
+
"prebuild": "exit 0",
|
|
163
|
+
"predev": "exit 0",
|
|
164
|
+
"build": "node ../../scripts/build/build.js",
|
|
165
|
+
"dev": "cross-env NODE_ENV=development && node ../../scripts/build/build.js -w"
|
|
164
166
|
}
|
|
165
167
|
}
|
package/types/capitalize.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const capitalize: (string: string) => string;
|
package/types/compose.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Composes single-argument functions from right to left. The rightmost
|
|
3
|
-
* function can take multiple arguments as it provides the signature for
|
|
4
|
-
* the resulting composite function. [From redux v4.0.5]
|
|
5
|
-
*
|
|
6
|
-
* @param {...Function} funcs The functions to compose.
|
|
7
|
-
* @returns {Function} A function obtained by composing the argument functions
|
|
8
|
-
* from right to left. For example, compose(f, g, h) is identical to doing
|
|
9
|
-
* (...args) => f(g(h(...args))).
|
|
10
|
-
*/
|
|
11
|
-
export declare const compose: (...funcs: any[]) => any;
|
|
12
|
-
export default compose;
|
package/types/hooks/index.d.ts
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
export { default as useMeasure } from 'use-measure';
|
|
2
|
-
export { default as useForceUpdate } from 'use-force-update';
|
|
3
|
-
export { default as useOnClickOutside } from 'use-onclickoutside';
|
|
4
|
-
export { useUncontrolled } from 'uncontrollable';
|
|
5
|
-
export { useExecutionTimer } from './useExecutionTimer';
|
|
6
|
-
export { useExpandState } from './useExpandState';
|
|
7
|
-
export { useHotkeys } from './useHotkeys';
|
|
8
|
-
export { useHoverHandlersDelay } from './useHoverHandlersDelay';
|
|
9
|
-
export { useResizeObserver } from './useResizeObserver';
|
|
10
|
-
export { useShouldRecalculate } from './useShouldRecalculate';
|
|
11
|
-
export { useWindowScrollerList } from './useWindowScrollerList';
|
|
12
|
-
export { useWindowSize } from './useWindowSize';
|
|
13
|
-
export { usePrevious } from './usePrevious';
|
|
14
|
-
export { useCancellableDelayedCallback } from './useCancellableDelayedCallback';
|
|
15
|
-
export { useDerivedStateFromProps } from './useDerivedStateFromProps';
|
|
16
|
-
export { useSetRef } from './useSetRef';
|
|
17
|
-
export { useParentElement } from './useParentElement';
|
|
18
|
-
export { useOnElementResize } from './useOnElementResize';
|
|
19
|
-
export { useIsShowingEllipsis } from './useIsShowingEllipsis';
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
export declare const useExpandState: ({ items, itemKey, expanded: expandedProp, onExpand, onExpandChange, onExpandAll, onToggleExpand, onCollapse, }: {
|
|
2
|
-
items?: never[] | undefined;
|
|
3
|
-
itemKey?: string | undefined;
|
|
4
|
-
expanded?: {} | undefined;
|
|
5
|
-
onExpand: any;
|
|
6
|
-
onExpandChange?: (() => null) | undefined;
|
|
7
|
-
onExpandAll?: (() => null) | undefined;
|
|
8
|
-
onToggleExpand: any;
|
|
9
|
-
onCollapse: any;
|
|
10
|
-
}) => {
|
|
11
|
-
state: {
|
|
12
|
-
expanded: any;
|
|
13
|
-
isExpandedAll: boolean;
|
|
14
|
-
};
|
|
15
|
-
actions: {
|
|
16
|
-
expand: (item: any, stateData?: boolean) => void;
|
|
17
|
-
toggleExpandAll: (stateData?: boolean) => void;
|
|
18
|
-
toggleExpand: (item: any, stateData?: boolean) => void;
|
|
19
|
-
collapse: (item: any) => void;
|
|
20
|
-
};
|
|
21
|
-
setExpanded: any;
|
|
22
|
-
};
|
|
23
|
-
export default useExpandState;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export declare const useHoverHandlersDelay: ({ onMouseOver, onMouseLeave, hideDelay, showDelay, }: {
|
|
2
|
-
onMouseOver: any;
|
|
3
|
-
onMouseLeave: any;
|
|
4
|
-
hideDelay?: number | undefined;
|
|
5
|
-
showDelay?: number | undefined;
|
|
6
|
-
}) => {
|
|
7
|
-
onMouseOver: () => void;
|
|
8
|
-
onMouseLeave: () => void;
|
|
9
|
-
};
|
|
10
|
-
export default useHoverHandlersDelay;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const useParentElement: (ref: any) => any;
|
package/types/index.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export { default as getComponentFromProps } from './getComponentFromProps';
|
|
2
|
-
export { default as onClickHandlerForNonInteractiveElements } from './onClickHandlerForNonInteractiveElements';
|
|
3
|
-
export { capitalize } from './capitalize';
|
|
4
|
-
export { checkNotEmpty, checkEmpty, greaterThan, validDate, equal, notEqual, isNull, isNotNull, isIn, isNotIn, greaterThanOrEquals, lessThanOrEquals, startsWith, contains, } from './operators';
|
|
5
|
-
export { cx, runAll, hashArray, safeCall, removeUndefinedProperties, isObject, curry, arrayMove, uniq, filter, uniqBy, groupBy, property, get, set, cloneDeep, debounce, findIndex, isEmpty, isString, isEqual, maxBy, meanBy, noop, omit, orderBy, pull, sortBy, sumBy, transform, isFunction, range, parseInt, padStart, isNaN, values, throttle, toggleInObject, toggleInArray, pick, pickBy, differenceBy, differenceWith, addOrRemove, isEqualWith, isBoolean, } from './utils';
|
|
6
|
-
export { setRef, mergeRefs, logger } from './system';
|
|
7
|
-
export { useMeasure, useForceUpdate, useOnClickOutside, useUncontrolled, useExecutionTimer, useExpandState, useHotkeys, useHoverHandlersDelay, useResizeObserver, useShouldRecalculate, useWindowScrollerList, useWindowSize, usePrevious, useCancellableDelayedCallback, useDerivedStateFromProps, useSetRef, useParentElement, useOnElementResize, useIsShowingEllipsis, } from './hooks';
|
|
8
|
-
export { getVisibleTimeByFormat, addLeadingZeros } from './timeUtils';
|
|
9
|
-
export { compose } from './compose';
|
|
10
|
-
export { DOCUMENT, WINDOW } from './platform';
|
|
11
|
-
export { isClassComponent, isFunctionComponent, isReactComponent, isElement, isDOMTypeElement, isCompositeTypeElement, } from './reactTypesUtility';
|
|
12
|
-
export { resetTimer } from './scrollingTimer';
|
|
13
|
-
export { isRequired, isGreaterThan, isValidDate } from './validations';
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* onClickHandler: callback
|
|
3
|
-
*
|
|
4
|
-
* @param onClickHandler
|
|
5
|
-
*/
|
|
6
|
-
export declare const onClickHandlerForNonInteractiveElements: (onClickHandler: any) => {
|
|
7
|
-
role: string;
|
|
8
|
-
tabIndex: string;
|
|
9
|
-
onClick: any;
|
|
10
|
-
onKeyPress: (event: any) => void;
|
|
11
|
-
};
|
|
12
|
-
export default onClickHandlerForNonInteractiveElements;
|
package/types/operators.d.ts
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Check if the value is null undefined ''
|
|
3
|
-
*
|
|
4
|
-
* @param value
|
|
5
|
-
*/
|
|
6
|
-
export declare const checkNotEmpty: (value: any) => boolean;
|
|
7
|
-
export declare const checkEmpty: (value: any) => boolean;
|
|
8
|
-
/**
|
|
9
|
-
* @param value: number
|
|
10
|
-
* @param comparator: number
|
|
11
|
-
* @param value
|
|
12
|
-
* @param comparator
|
|
13
|
-
*/
|
|
14
|
-
export declare const greaterThan: (value: any, comparator: any) => boolean;
|
|
15
|
-
/**
|
|
16
|
-
* Check if a valid date with format MM/DD/YYYY
|
|
17
|
-
*
|
|
18
|
-
* @param {*} value: string
|
|
19
|
-
* @param value
|
|
20
|
-
*/
|
|
21
|
-
export declare const validDate: (value: any) => boolean;
|
|
22
|
-
export declare const equal: (a: any, b: any) => boolean;
|
|
23
|
-
export declare const notEqual: (a: any, b: any) => boolean;
|
|
24
|
-
export declare const isNull: (a: any) => boolean;
|
|
25
|
-
export declare const isNotNull: (a: any) => boolean;
|
|
26
|
-
export declare const isIn: (a: any, b: any) => boolean;
|
|
27
|
-
export declare const isNotIn: (a: any, b: any) => boolean;
|
|
28
|
-
export declare const greaterThanOrEquals: (value: any, comparator: any) => boolean;
|
|
29
|
-
export declare const lessThanOrEquals: (value: any, comparator: any) => boolean;
|
|
30
|
-
export declare const startsWith: (value: any, comparator: any) => boolean;
|
|
31
|
-
export declare const contains: (value: any, comparator: any) => boolean;
|
package/types/platform.d.ts
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export declare function isClassComponent(component: any): boolean;
|
|
2
|
-
export declare function isFunctionComponent(component: any): boolean;
|
|
3
|
-
export declare function isReactComponent(component: any): boolean;
|
|
4
|
-
export declare function isElement(element: any): boolean;
|
|
5
|
-
export declare function isDOMTypeElement(element: any): boolean;
|
|
6
|
-
export declare function isCompositeTypeElement(element: any): boolean;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const resetTimer: (func: any) => (...args: any[]) => void;
|
package/types/system.d.ts
DELETED
package/types/timeUtils.d.ts
DELETED
package/types/utils.d.ts
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* commonly used functions
|
|
3
|
-
* Add a level of indirection to lodash so we can replace
|
|
4
|
-
* it if desired, while keeping function names the same
|
|
5
|
-
*/
|
|
6
|
-
import { cloneDeep, filter, debounce, findIndex, isEmpty, isString, isEqual, noop, omit, orderBy, pull, sumBy, maxBy, meanBy, sortBy, transform, isFunction, uniq, uniqBy, groupBy, property, get, set, range, parseInt, padStart, isNaN, values, throttle, pick, pickBy, differenceBy, differenceWith, isEqualWith, curry, isObject, isBoolean } from 'lodash';
|
|
7
|
-
/**
|
|
8
|
-
* Concatenates classNames from arguments
|
|
9
|
-
*
|
|
10
|
-
* @param {...any} classnames
|
|
11
|
-
*/
|
|
12
|
-
export declare const cx: (...classnames: any[]) => any;
|
|
13
|
-
declare const toggleInObject: (obj: any, key: any, value: any) => any;
|
|
14
|
-
declare const toggleInArray: (array: any, value: any) => any[];
|
|
15
|
-
declare const arrayMove: (array: any, from: any, to: any) => any;
|
|
16
|
-
declare const addOrRemove: (array: any, item: any, accessor?: (item: any) => any) => any;
|
|
17
|
-
export declare function runAll(...fns: any[]): (...args: any[]) => void;
|
|
18
|
-
export declare function hashArray(arr: any, fieldName: any): any;
|
|
19
|
-
export declare function safeCall(fun: any, ...args: any[]): void;
|
|
20
|
-
export declare const removeUndefinedProperties: (obj: any) => any;
|
|
21
|
-
declare const _default: {};
|
|
22
|
-
export default _default;
|
|
23
|
-
export { isObject, curry, arrayMove, uniq, filter, uniqBy, groupBy, property, get, set, cloneDeep, debounce, findIndex, isEmpty, isString, isEqual, maxBy, meanBy, noop, omit, orderBy, pull, sortBy, sumBy, transform, isFunction, range, parseInt, padStart, isNaN, values, throttle, toggleInObject, toggleInArray, pick, pickBy, differenceBy, differenceWith, addOrRemove, isEqualWith, isBoolean, };
|
package/types/validations.d.ts
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
export declare const isRequired: ({ value, help }: {
|
|
2
|
-
value: any;
|
|
3
|
-
help?: string | undefined;
|
|
4
|
-
}) => {
|
|
5
|
-
payload: string;
|
|
6
|
-
error: boolean;
|
|
7
|
-
};
|
|
8
|
-
export declare const isGreaterThan: ({ value, help, comparator }: {
|
|
9
|
-
value: any;
|
|
10
|
-
help: any;
|
|
11
|
-
comparator?: number | undefined;
|
|
12
|
-
}) => {
|
|
13
|
-
payload: any;
|
|
14
|
-
error: boolean;
|
|
15
|
-
};
|
|
16
|
-
export declare const isValidDate: ({ value, help, format }: {
|
|
17
|
-
value: any;
|
|
18
|
-
help: any;
|
|
19
|
-
format?: string | undefined;
|
|
20
|
-
}) => {
|
|
21
|
-
payload: any;
|
|
22
|
-
error: boolean;
|
|
23
|
-
};
|