@synerise/ds-status 0.6.33 → 0.6.34
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 +8 -0
- package/dist/Status.js +6 -8
- package/dist/Status.styles.js +0 -2
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
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.6.34](https://github.com/Synerise/synerise-design/compare/@synerise/ds-status@0.6.33...@synerise/ds-status@0.6.34) (2024-11-28)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @synerise/ds-status
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
## [0.6.33](https://github.com/Synerise/synerise-design/compare/@synerise/ds-status@0.6.32...@synerise/ds-status@0.6.33) (2024-11-21)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @synerise/ds-status
|
package/dist/Status.js
CHANGED
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { TagShape } from '@synerise/ds-tags';
|
|
3
3
|
import * as S from './Status.styles';
|
|
4
|
-
|
|
5
4
|
var Status = function Status(_ref) {
|
|
6
5
|
var _ref$type = _ref.type,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
6
|
+
type = _ref$type === void 0 ? 'primary' : _ref$type,
|
|
7
|
+
onClick = _ref.onClick,
|
|
8
|
+
className = _ref.className,
|
|
9
|
+
label = _ref.label,
|
|
10
|
+
color = _ref.color,
|
|
11
|
+
dashed = _ref.dashed;
|
|
13
12
|
return /*#__PURE__*/React.createElement(S.StatusTag, {
|
|
14
13
|
onClick: onClick,
|
|
15
14
|
className: "ds-status " + (className || ''),
|
|
@@ -21,5 +20,4 @@ var Status = function Status(_ref) {
|
|
|
21
20
|
asPill: true
|
|
22
21
|
});
|
|
23
22
|
};
|
|
24
|
-
|
|
25
23
|
export default Status;
|
package/dist/Status.styles.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import styled from 'styled-components';
|
|
2
2
|
import { Tag } from '@synerise/ds-tags';
|
|
3
|
-
|
|
4
3
|
var typeColor = function typeColor(props) {
|
|
5
4
|
return {
|
|
6
5
|
primary: props.theme.palette['blue-600'],
|
|
@@ -13,7 +12,6 @@ var typeColor = function typeColor(props) {
|
|
|
13
12
|
custom: null
|
|
14
13
|
}[props.type];
|
|
15
14
|
};
|
|
16
|
-
|
|
17
15
|
export var StatusTag = styled(Tag).withConfig({
|
|
18
16
|
displayName: "Statusstyles__StatusTag",
|
|
19
17
|
componentId: "sc-1yv28da-0"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synerise/ds-status",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.34",
|
|
4
4
|
"description": "Status UI Component for the Synerise Design System",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"repository": "Synerise/synerise-design",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
],
|
|
35
35
|
"types": "dist/index.d.ts",
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@synerise/ds-tags": "^0.10.
|
|
37
|
+
"@synerise/ds-tags": "^0.10.19",
|
|
38
38
|
"@synerise/ds-utils": "^0.31.2"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
@@ -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": "4a56ee7ef816c22341ce704154dc7aa65b7d1dcc"
|
|
46
46
|
}
|