@elliemae/ds-circular-progress-indicator 2.2.0-next.6 → 2.2.0-next.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/index.js +3 -3
- package/cjs/v2/{DSCircularProgressIndicatorV2.js → DSCircularIndeterminateIndicator.js} +6 -4
- package/cjs/v2/index.js +3 -3
- package/esm/index.js +1 -1
- package/esm/v2/{DSCircularProgressIndicatorV2.js → DSCircularIndeterminateIndicator.js} +6 -4
- package/esm/v2/index.js +1 -1
- package/package.json +6 -6
- package/types/v2/{DSCircularProgressIndicatorV2.d.ts → DSCircularIndeterminateIndicator.d.ts} +0 -0
- package/types/v2/index.d.ts +1 -1
- package/types/v2/react-desc-prop-types.d.ts +1 -0
package/cjs/index.js
CHANGED
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var DSCircularProgressIndicator = require('./DSCircularProgressIndicator.js');
|
|
6
|
-
var
|
|
6
|
+
var DSCircularIndeterminateIndicator = require('./v2/DSCircularIndeterminateIndicator.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
exports.CircularProgressIndicatorWithSchema = DSCircularProgressIndicator.CircularProgressIndicatorWithSchema;
|
|
11
11
|
exports.DSCircularProgressIndicator = DSCircularProgressIndicator["default"];
|
|
12
12
|
exports["default"] = DSCircularProgressIndicator["default"];
|
|
13
|
-
exports.DSCircularIndeterminateIndicator =
|
|
14
|
-
exports.DSCircularIndeterminateIndicatorWithSchema =
|
|
13
|
+
exports.DSCircularIndeterminateIndicator = DSCircularIndeterminateIndicator.DSCircularIndeterminateIndicator;
|
|
14
|
+
exports.DSCircularIndeterminateIndicatorWithSchema = DSCircularIndeterminateIndicator.DSCircularIndeterminateIndicatorWithSchema;
|
|
@@ -24,8 +24,8 @@ var _templateObject, _templateObject2, _circle;
|
|
|
24
24
|
const r = dsSystem.kfrm(_templateObject || (_templateObject = _taggedTemplateLiteral__default["default"](["to { transform: rotate(2turn) }"])));
|
|
25
25
|
const s = dsSystem.kfrm(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral__default["default"](["0%, 39% { stroke-dasharray: 942px 2826px }"])));
|
|
26
26
|
const StyledSvg = /*#__PURE__*/styled__default["default"].svg.withConfig({
|
|
27
|
-
componentId: "sc-
|
|
28
|
-
})(["#gg{transform:rotate(45deg);stroke:url(#", ");mask:url(#", ");}mask use{stroke:#fff;stroke-linecap:round;stroke-dasharray:942px 2826px;animation:", "
|
|
27
|
+
componentId: "sc-3syz25-0"
|
|
28
|
+
})(["#gg{transform:rotate(45deg);stroke:url(#", ");mask:url(#", ");}mask use{stroke:#fff;stroke-linecap:round;stroke-dasharray:942px 2826px;animation:", " ", "s cubic-bezier(0.5,-0.43,0.5,1.43) infinite,", " ", "s ease-in-out infinite alternate;}"], props => props.linearGradientUid, props => props.maskUid, r, props => props.duration, s, props => props.duration / 2);
|
|
29
29
|
const sizeToPx = {
|
|
30
30
|
xs: '16px',
|
|
31
31
|
s: '24px',
|
|
@@ -61,7 +61,8 @@ const DSCircularIndeterminateIndicator = _ref => {
|
|
|
61
61
|
text = '',
|
|
62
62
|
showText = true,
|
|
63
63
|
withTooltip = false,
|
|
64
|
-
tooltipStartPlacementPreference = 'bottom'
|
|
64
|
+
tooltipStartPlacementPreference = 'bottom',
|
|
65
|
+
__duration = 1.5
|
|
65
66
|
} = _ref;
|
|
66
67
|
const Wrapper = withTooltip ? DSTooltip.DSTooltipV3 : _ref2 => {
|
|
67
68
|
let {
|
|
@@ -94,7 +95,8 @@ const DSCircularIndeterminateIndicator = _ref => {
|
|
|
94
95
|
margin: 'auto'
|
|
95
96
|
},
|
|
96
97
|
linearGradientUid: linearGradientUid,
|
|
97
|
-
maskUid: maskUid
|
|
98
|
+
maskUid: maskUid,
|
|
99
|
+
duration: __duration
|
|
98
100
|
}, void 0, /*#__PURE__*/_jsx__default["default"]("g", {
|
|
99
101
|
transform: "scale(2.298)"
|
|
100
102
|
}, void 0, /*#__PURE__*/_jsx__default["default"]("linearGradient", {
|
package/cjs/v2/index.js
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var DSCircularIndeterminateIndicator = require('./DSCircularIndeterminateIndicator.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
exports.DSCircularIndeterminateIndicator =
|
|
10
|
-
exports.DSCircularIndeterminateIndicatorWithSchema =
|
|
9
|
+
exports.DSCircularIndeterminateIndicator = DSCircularIndeterminateIndicator.DSCircularIndeterminateIndicator;
|
|
10
|
+
exports.DSCircularIndeterminateIndicatorWithSchema = DSCircularIndeterminateIndicator.DSCircularIndeterminateIndicatorWithSchema;
|
package/esm/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { CircularProgressIndicatorWithSchema, default as DSCircularProgressIndicator, default } from './DSCircularProgressIndicator.js';
|
|
2
|
-
export { DSCircularIndeterminateIndicator, DSCircularIndeterminateIndicatorWithSchema } from './v2/
|
|
2
|
+
export { DSCircularIndeterminateIndicator, DSCircularIndeterminateIndicatorWithSchema } from './v2/DSCircularIndeterminateIndicator.js';
|
|
@@ -14,8 +14,8 @@ var _templateObject, _templateObject2, _circle;
|
|
|
14
14
|
const r = kfrm(_templateObject || (_templateObject = _taggedTemplateLiteral(["to { transform: rotate(2turn) }"])));
|
|
15
15
|
const s = kfrm(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["0%, 39% { stroke-dasharray: 942px 2826px }"])));
|
|
16
16
|
const StyledSvg = /*#__PURE__*/styled.svg.withConfig({
|
|
17
|
-
componentId: "sc-
|
|
18
|
-
})(["#gg{transform:rotate(45deg);stroke:url(#", ");mask:url(#", ");}mask use{stroke:#fff;stroke-linecap:round;stroke-dasharray:942px 2826px;animation:", "
|
|
17
|
+
componentId: "sc-3syz25-0"
|
|
18
|
+
})(["#gg{transform:rotate(45deg);stroke:url(#", ");mask:url(#", ");}mask use{stroke:#fff;stroke-linecap:round;stroke-dasharray:942px 2826px;animation:", " ", "s cubic-bezier(0.5,-0.43,0.5,1.43) infinite,", " ", "s ease-in-out infinite alternate;}"], props => props.linearGradientUid, props => props.maskUid, r, props => props.duration, s, props => props.duration / 2);
|
|
19
19
|
const sizeToPx = {
|
|
20
20
|
xs: '16px',
|
|
21
21
|
s: '24px',
|
|
@@ -51,7 +51,8 @@ const DSCircularIndeterminateIndicator = _ref => {
|
|
|
51
51
|
text = '',
|
|
52
52
|
showText = true,
|
|
53
53
|
withTooltip = false,
|
|
54
|
-
tooltipStartPlacementPreference = 'bottom'
|
|
54
|
+
tooltipStartPlacementPreference = 'bottom',
|
|
55
|
+
__duration = 1.5
|
|
55
56
|
} = _ref;
|
|
56
57
|
const Wrapper = withTooltip ? DSTooltipV3 : _ref2 => {
|
|
57
58
|
let {
|
|
@@ -84,7 +85,8 @@ const DSCircularIndeterminateIndicator = _ref => {
|
|
|
84
85
|
margin: 'auto'
|
|
85
86
|
},
|
|
86
87
|
linearGradientUid: linearGradientUid,
|
|
87
|
-
maskUid: maskUid
|
|
88
|
+
maskUid: maskUid,
|
|
89
|
+
duration: __duration
|
|
88
90
|
}, void 0, /*#__PURE__*/_jsx("g", {
|
|
89
91
|
transform: "scale(2.298)"
|
|
90
92
|
}, void 0, /*#__PURE__*/_jsx("linearGradient", {
|
package/esm/v2/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { DSCircularIndeterminateIndicator, DSCircularIndeterminateIndicatorWithSchema } from './
|
|
1
|
+
export { DSCircularIndeterminateIndicator, DSCircularIndeterminateIndicatorWithSchema } from './DSCircularIndeterminateIndicator.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/ds-circular-progress-indicator",
|
|
3
|
-
"version": "2.2.0-next.
|
|
3
|
+
"version": "2.2.0-next.7",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "ICE MT - Dimsum - Circular progress indicator",
|
|
6
6
|
"module": "./esm/index.js",
|
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
"import": "./esm/v2/index.js",
|
|
20
20
|
"require": "./cjs/v2/index.js"
|
|
21
21
|
},
|
|
22
|
-
"./v2/
|
|
23
|
-
"import": "./esm/v2/
|
|
24
|
-
"require": "./cjs/v2/
|
|
22
|
+
"./v2/DSCircularIndeterminateIndicator": {
|
|
23
|
+
"import": "./esm/v2/DSCircularIndeterminateIndicator.js",
|
|
24
|
+
"require": "./cjs/v2/DSCircularIndeterminateIndicator.js"
|
|
25
25
|
},
|
|
26
26
|
"./DSCircularProgressIndicator": {
|
|
27
27
|
"import": "./esm/DSCircularProgressIndicator.js",
|
|
@@ -48,8 +48,8 @@
|
|
|
48
48
|
"build": "node ../../scripts/build/build.js"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@elliemae/ds-classnames": "2.2.0-next.
|
|
52
|
-
"@elliemae/ds-tooltip": "2.2.0-next.
|
|
51
|
+
"@elliemae/ds-classnames": "2.2.0-next.7",
|
|
52
|
+
"@elliemae/ds-tooltip": "2.2.0-next.7",
|
|
53
53
|
"react-desc": "~4.1.3"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
package/types/v2/{DSCircularProgressIndicatorV2.d.ts → DSCircularIndeterminateIndicator.d.ts}
RENAMED
|
File without changes
|
package/types/v2/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './
|
|
1
|
+
export * from './DSCircularIndeterminateIndicator';
|
|
@@ -7,6 +7,7 @@ export declare namespace DSCircularIndeterminateIndicatorT {
|
|
|
7
7
|
showText?: boolean;
|
|
8
8
|
withTooltip: boolean;
|
|
9
9
|
tooltipStartPlacementPreference?: 'top-start' | 'top' | 'top-end' | 'right-start' | 'right' | 'right-end' | 'bottom-end' | 'bottom' | 'bottom-start' | 'left-end' | 'left' | 'left-start';
|
|
10
|
+
__duration: number;
|
|
10
11
|
}
|
|
11
12
|
}
|
|
12
13
|
export declare const CircularIndeterminateIndicatorPropTypes: {
|