@elliemae/ds-indeterminate-progress-indicator 2.0.0-next.7 → 2.0.0-rc.10
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.
|
@@ -5,6 +5,11 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var _defineProperty = require('@babel/runtime/helpers/defineProperty');
|
|
6
6
|
var _jsx = require('@babel/runtime/helpers/jsx');
|
|
7
7
|
require('core-js/modules/web.dom-collections.iterator.js');
|
|
8
|
+
require('core-js/modules/esnext.async-iterator.filter.js');
|
|
9
|
+
require('core-js/modules/esnext.iterator.constructor.js');
|
|
10
|
+
require('core-js/modules/esnext.iterator.filter.js');
|
|
11
|
+
require('core-js/modules/esnext.async-iterator.for-each.js');
|
|
12
|
+
require('core-js/modules/esnext.iterator.for-each.js');
|
|
8
13
|
var react = require('react');
|
|
9
14
|
var reactDesc = require('react-desc');
|
|
10
15
|
var dsClassnames = require('@elliemae/ds-classnames');
|
|
@@ -28,20 +33,21 @@ const {
|
|
|
28
33
|
classNameElement
|
|
29
34
|
} = dsClassnames.convertPropToCssClassName('indeterminate-progress-indicator');
|
|
30
35
|
|
|
31
|
-
function DSIndeterminateProgressIndicator({
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
36
|
+
function DSIndeterminateProgressIndicator(_ref) {
|
|
37
|
+
let {
|
|
38
|
+
containerProps,
|
|
39
|
+
title,
|
|
40
|
+
complete,
|
|
41
|
+
failed,
|
|
42
|
+
processing,
|
|
43
|
+
processingComplete,
|
|
44
|
+
processingCompleteTitle,
|
|
45
|
+
processingFail,
|
|
46
|
+
processingFailTitle,
|
|
47
|
+
animated,
|
|
48
|
+
percent,
|
|
49
|
+
lineOnly
|
|
50
|
+
} = _ref;
|
|
45
51
|
const [label, setLabel] = react.useState(title);
|
|
46
52
|
react.useEffect(() => {
|
|
47
53
|
if ((processingComplete || processingFail || processing) && (complete || failed)) {
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
import 'core-js/modules/esnext.async-iterator.filter.js';
|
|
2
|
+
import 'core-js/modules/esnext.iterator.constructor.js';
|
|
3
|
+
import 'core-js/modules/esnext.iterator.filter.js';
|
|
4
|
+
import 'core-js/modules/esnext.async-iterator.for-each.js';
|
|
5
|
+
import 'core-js/modules/esnext.iterator.for-each.js';
|
|
1
6
|
import _defineProperty from '@babel/runtime/helpers/esm/defineProperty';
|
|
2
7
|
import _jsx from '@babel/runtime/helpers/esm/jsx';
|
|
3
8
|
import 'core-js/modules/web.dom-collections.iterator.js';
|
|
@@ -18,20 +23,21 @@ const {
|
|
|
18
23
|
classNameElement
|
|
19
24
|
} = convertPropToCssClassName('indeterminate-progress-indicator');
|
|
20
25
|
|
|
21
|
-
function DSIndeterminateProgressIndicator({
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
26
|
+
function DSIndeterminateProgressIndicator(_ref) {
|
|
27
|
+
let {
|
|
28
|
+
containerProps,
|
|
29
|
+
title,
|
|
30
|
+
complete,
|
|
31
|
+
failed,
|
|
32
|
+
processing,
|
|
33
|
+
processingComplete,
|
|
34
|
+
processingCompleteTitle,
|
|
35
|
+
processingFail,
|
|
36
|
+
processingFailTitle,
|
|
37
|
+
animated,
|
|
38
|
+
percent,
|
|
39
|
+
lineOnly
|
|
40
|
+
} = _ref;
|
|
35
41
|
const [label, setLabel] = useState(title);
|
|
36
42
|
useEffect(() => {
|
|
37
43
|
if ((processingComplete || processingFail || processing) && (complete || failed)) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/ds-indeterminate-progress-indicator",
|
|
3
|
-
"version": "2.0.0-
|
|
3
|
+
"version": "2.0.0-rc.10",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "ICE MT - Dimsum - Indeterminate Progress Indicator",
|
|
6
6
|
"module": "./esm/index.js",
|
|
@@ -36,9 +36,9 @@
|
|
|
36
36
|
"build": "node ../../scripts/build/build.js"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@elliemae/ds-classnames": "2.0.0-
|
|
40
|
-
"@elliemae/ds-truncated-tooltip-text": "2.0.0-
|
|
41
|
-
"react-desc": "
|
|
39
|
+
"@elliemae/ds-classnames": "2.0.0-rc.10",
|
|
40
|
+
"@elliemae/ds-truncated-tooltip-text": "2.0.0-rc.10",
|
|
41
|
+
"react-desc": "~4.1.3"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|
|
44
44
|
"react": "^17.0.2",
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference path="../../../../shared/typings/react-desc.d.ts" />
|
|
1
2
|
/// <reference types="react" />
|
|
2
3
|
declare function DSIndeterminateProgressIndicator({ containerProps, title, complete, failed, processing, processingComplete, processingCompleteTitle, processingFail, processingFailTitle, animated, percent, lineOnly, }: {
|
|
3
4
|
containerProps: any;
|
|
@@ -29,20 +30,76 @@ declare namespace DSIndeterminateProgressIndicator {
|
|
|
29
30
|
lineOnly: boolean;
|
|
30
31
|
};
|
|
31
32
|
var propTypes: {
|
|
33
|
+
containerProps: {
|
|
34
|
+
defaultValue<T = unknown>(arg: T): {
|
|
35
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
36
|
+
};
|
|
37
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
38
|
+
};
|
|
39
|
+
title: {
|
|
40
|
+
defaultValue<T = unknown>(arg: T): {
|
|
41
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
42
|
+
};
|
|
43
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
44
|
+
};
|
|
45
|
+
processingCompleteTitle: {
|
|
46
|
+
defaultValue<T = unknown>(arg: T): {
|
|
47
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
48
|
+
};
|
|
49
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
50
|
+
};
|
|
51
|
+
processingFailTitle: {
|
|
52
|
+
defaultValue<T = unknown>(arg: T): {
|
|
53
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
54
|
+
};
|
|
55
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
56
|
+
};
|
|
57
|
+
complete: {
|
|
58
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
59
|
+
};
|
|
60
|
+
failed: {
|
|
61
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
62
|
+
};
|
|
63
|
+
processing: {
|
|
64
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
65
|
+
};
|
|
66
|
+
processingComplete: {
|
|
67
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
68
|
+
};
|
|
69
|
+
processingFail: {
|
|
70
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
71
|
+
};
|
|
72
|
+
animated: {
|
|
73
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
74
|
+
};
|
|
75
|
+
percent: {
|
|
76
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
77
|
+
};
|
|
78
|
+
lineOnly: {
|
|
79
|
+
defaultValue<T = unknown>(arg: T): {
|
|
80
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
81
|
+
};
|
|
82
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
}
|
|
86
|
+
declare const IndeterminateProgressIndicatorWithSchema: {
|
|
87
|
+
(props?: {
|
|
32
88
|
containerProps: any;
|
|
33
89
|
title: any;
|
|
34
|
-
processingCompleteTitle: any;
|
|
35
|
-
processingFailTitle: any;
|
|
36
90
|
complete: any;
|
|
37
91
|
failed: any;
|
|
38
92
|
processing: any;
|
|
39
93
|
processingComplete: any;
|
|
94
|
+
processingCompleteTitle: any;
|
|
40
95
|
processingFail: any;
|
|
96
|
+
processingFailTitle: any;
|
|
41
97
|
animated: any;
|
|
42
98
|
percent: any;
|
|
43
99
|
lineOnly: any;
|
|
44
|
-
};
|
|
45
|
-
|
|
46
|
-
|
|
100
|
+
} | undefined): JSX.Element;
|
|
101
|
+
propTypes: unknown;
|
|
102
|
+
toTypescript: () => import("react-desc").TypescriptSchema;
|
|
103
|
+
};
|
|
47
104
|
export { DSIndeterminateProgressIndicator, IndeterminateProgressIndicatorWithSchema };
|
|
48
105
|
export default DSIndeterminateProgressIndicator;
|