@synerise/ds-status 0.6.35 → 0.7.0

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 CHANGED
@@ -3,6 +3,17 @@
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.0](https://github.com/Synerise/synerise-design/compare/@synerise/ds-status@0.6.35...@synerise/ds-status@0.7.0) (2024-12-04)
7
+
8
+
9
+ ### Features
10
+
11
+ * **banner:** new component ([881a411](https://github.com/Synerise/synerise-design/commit/881a41113241463b940eb9b2a6bde9ab10c143a4))
12
+
13
+
14
+
15
+
16
+
6
17
  ## [0.6.35](https://github.com/Synerise/synerise-design/compare/@synerise/ds-status@0.6.34...@synerise/ds-status@0.6.35) (2024-11-29)
7
18
 
8
19
  **Note:** Version bump only for package @synerise/ds-status
@@ -1,4 +1,4 @@
1
- import styled from 'styled-components';
1
+ import styled, { css } from 'styled-components';
2
2
  import { Tag } from '@synerise/ds-tags';
3
3
  var typeColor = function typeColor(props) {
4
4
  return {
@@ -19,5 +19,5 @@ export var StatusTag = styled(Tag).withConfig({
19
19
  return props.dashed ? '1px dashed' : '1px solid';
20
20
  }, function (props) {
21
21
  var color = typeColor(props);
22
- return color ? "\n color: " + color + ";\n border-color: " + color + ";\n " : '';
22
+ return color && css(["color:", ";border-color:", ";"], color, color);
23
23
  });
@@ -1,9 +1,9 @@
1
1
  export type StatusType = 'primary' | 'success' | 'warning' | 'danger' | 'info' | 'disabled' | 'default' | 'custom';
2
- export interface StatusProps {
2
+ export type StatusProps = {
3
3
  label: string;
4
4
  type: StatusType;
5
5
  className?: string;
6
6
  onClick?: () => void;
7
7
  color?: string;
8
8
  dashed?: boolean;
9
- }
9
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synerise/ds-status",
3
- "version": "0.6.35",
3
+ "version": "0.7.0",
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.20",
37
+ "@synerise/ds-tags": "^0.10.21",
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": "9ebd107163650754a5f55680d62d30812d740084"
45
+ "gitHead": "03c0625fb7b5baaa35f6633a425fb803469b6a20"
46
46
  }