@synerise/ds-progress-bar 0.7.3 → 0.7.5
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/CHANGELOG.md +16 -0
- package/dist/Multivalue/Multivalue.d.ts +1 -1
- package/dist/Multivalue/Multivalue.js +6 -9
- package/dist/ProgressBar.d.ts +1 -1
- package/dist/ProgressBar.js +1 -1
- package/dist/ProgressTiles/ProgressTiles.d.ts +1 -1
- package/dist/ProgressTiles/ProgressTiles.js +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,22 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [0.7.5](https://github.com/Synerise/synerise-design/compare/@synerise/ds-progress-bar@0.7.4...@synerise/ds-progress-bar@0.7.5) (2024-09-17)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @synerise/ds-progress-bar
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [0.7.4](https://github.com/Synerise/synerise-design/compare/@synerise/ds-progress-bar@0.7.3...@synerise/ds-progress-bar@0.7.4) (2024-09-13)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @synerise/ds-progress-bar
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
6
22
|
## [0.7.3](https://github.com/Synerise/synerise-design/compare/@synerise/ds-progress-bar@0.7.2...@synerise/ds-progress-bar@0.7.3) (2024-09-11)
|
|
7
23
|
|
|
8
24
|
**Note:** Version bump only for package @synerise/ds-progress-bar
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import * as S from './MultiValue.styles';
|
|
3
3
|
|
|
4
4
|
var normalizePercent = function normalizePercent(value) {
|
|
@@ -13,15 +13,12 @@ var Multivalue = function Multivalue(props) {
|
|
|
13
13
|
return b.percent - a.percent;
|
|
14
14
|
});
|
|
15
15
|
return /*#__PURE__*/React.createElement(S.Container, null, sortedByPercent.map(function (val, index) {
|
|
16
|
-
return (
|
|
17
|
-
/*#__PURE__*/
|
|
16
|
+
return /*#__PURE__*/React.createElement(S.Multivalue, {
|
|
18
17
|
// eslint-disable-next-line react/no-array-index-key
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
})
|
|
24
|
-
);
|
|
18
|
+
key: val.color + "-" + val.percent + "-" + index,
|
|
19
|
+
color: val.color,
|
|
20
|
+
percent: normalizePercent(val.percent)
|
|
21
|
+
});
|
|
25
22
|
}));
|
|
26
23
|
};
|
|
27
24
|
|
package/dist/ProgressBar.d.ts
CHANGED
package/dist/ProgressBar.js
CHANGED
|
@@ -2,7 +2,7 @@ function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.crea
|
|
|
2
2
|
|
|
3
3
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
4
4
|
|
|
5
|
-
import
|
|
5
|
+
import React from 'react';
|
|
6
6
|
import * as S from './ProgressBar.styles';
|
|
7
7
|
|
|
8
8
|
var ProgressBar = /*#__PURE__*/function (_React$PureComponent) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synerise/ds-progress-bar",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.5",
|
|
4
4
|
"description": "Progress-Bar UI Component for the Synerise Design System",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"repository": "Synerise/synerise-design",
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
],
|
|
34
34
|
"types": "dist/index.d.ts",
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@synerise/ds-typography": "^0.15.
|
|
37
|
-
"@synerise/ds-utils": "^0.29.
|
|
36
|
+
"@synerise/ds-typography": "^0.15.2",
|
|
37
|
+
"@synerise/ds-utils": "^0.29.3"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
40
40
|
"@synerise/ds-core": "*",
|
|
@@ -42,5 +42,5 @@
|
|
|
42
42
|
"react": ">=16.9.0 <= 17.0.2",
|
|
43
43
|
"styled-components": "5.0.1"
|
|
44
44
|
},
|
|
45
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "ae3c38b44ca0f9071cd55f7b82c182a99b5710e8"
|
|
46
46
|
}
|