@synerise/ds-status 1.2.7 → 1.2.9
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 +570 -1920
- package/README.md +8 -8
- package/dist/Status.d.ts +1 -1
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -28,11 +28,11 @@ import Status from '@synerise/ds-status'
|
|
|
28
28
|
|
|
29
29
|
## API
|
|
30
30
|
|
|
31
|
-
| Property | Description
|
|
32
|
-
| --------- |
|
|
33
|
-
| type | type of status
|
|
34
|
-
| label | text inside the status
|
|
35
|
-
| className | wrapper class name
|
|
36
|
-
| onClick | onClick event
|
|
37
|
-
| color | type of color (works with type="custom")
|
|
38
|
-
| dashed | make dashed border
|
|
31
|
+
| Property | Description | Type | Default |
|
|
32
|
+
| --------- | ---------------------------------------- | ------------------------------------------------------------------------------ | -------------------- |
|
|
33
|
+
| type | type of status | `primary` / `success` / `warning` / `danger` / `info` / `disabled` / `default` | `primary` / `custom` |
|
|
34
|
+
| label | text inside the status | string | - |
|
|
35
|
+
| className | wrapper class name | string | - |
|
|
36
|
+
| onClick | onClick event | () => void | - |
|
|
37
|
+
| color | type of color (works with type="custom") | string | - |
|
|
38
|
+
| dashed | make dashed border | boolean | - |
|
package/dist/Status.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { StatusProps } from './Status.types';
|
|
2
|
+
import { type StatusProps } from './Status.types';
|
|
3
3
|
declare const Status: ({ type, onClick, className, label, color, dashed, ...htmlAttributes }: StatusProps) => React.JSX.Element;
|
|
4
4
|
export default Status;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synerise/ds-status",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.9",
|
|
4
4
|
"description": "Status UI Component for the Synerise Design System",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"repository": "Synerise/synerise-design",
|
|
@@ -34,13 +34,13 @@
|
|
|
34
34
|
],
|
|
35
35
|
"types": "dist/index.d.ts",
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@synerise/ds-tag": "^1.1.
|
|
38
|
-
"@synerise/ds-utils": "^1.3.
|
|
37
|
+
"@synerise/ds-tag": "^1.1.13",
|
|
38
|
+
"@synerise/ds-utils": "^1.3.1"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
41
|
"@synerise/ds-core": "*",
|
|
42
42
|
"react": ">=16.9.0 <= 18.3.1",
|
|
43
43
|
"styled-components": "^5.3.3"
|
|
44
44
|
},
|
|
45
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "f7c362a4f370d86b51df9aba9e91ac8f7fe4ed8f"
|
|
46
46
|
}
|