@synerise/ds-badge 0.6.48 → 0.6.49

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.6.49](https://github.com/Synerise/synerise-design/compare/@synerise/ds-badge@0.6.48...@synerise/ds-badge@0.6.49) (2024-02-06)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **badge:** added missinng warning type ([2215493](https://github.com/Synerise/synerise-design/commit/22154930ef3322a4e6b2abffb2d0a465d4db7a95))
12
+
13
+
14
+
15
+
16
+
6
17
  ## [0.6.48](https://github.com/Synerise/synerise-design/compare/@synerise/ds-badge@0.6.47...@synerise/ds-badge@0.6.48) (2024-01-24)
7
18
 
8
19
  **Note:** Version bump only for package @synerise/ds-badge
package/README.md CHANGED
@@ -82,7 +82,7 @@ import Badge from '@synerise/ds-badge'
82
82
  | overflowCount | Maximum number to show in the counter | number | 99 |
83
83
  | pulsing | Enable pulsing animation | boolean | `false` |
84
84
  | showZero | Show the badge when the counter is zero | boolean | `false` |
85
- | status | Set badge as a status dot | `active` / `inactive` / `blocked` / `processing` | '' |
85
+ | status | Set badge as a status dot | `active` / `inactive` / `blocked` / `processing` / `warning` | - |
86
86
  | text | If `status` is set, `text` sets the display text of the status dot | string | '' |
87
87
  | textColor | Customize text color in badge | `green` / `grey` / `yellow` / `blue` / `pink`/ `mars`/ `orange`/ `fern`/ `cyan`/ `purple` / `violet` | - |
88
88
  | textColorHue | Customize brightness of color | `900` / `800` / `700` / `600` / `500` / `400` / `300` / `200` / `100` / `050` | - |
@@ -3,7 +3,7 @@ import { DefaultColor } from '@synerise/ds-core';
3
3
  export declare const color: readonly ["red", "green", "grey", "yellow", "blue", "pink", "mars", "orange", "fern", "cyan", "purple", "violet", "white", "transparent"];
4
4
  export type Color = typeof color[number];
5
5
  export type ColorHue = '900' | '800' | '700' | '600' | '500' | '400' | '300' | '200' | '100' | '050';
6
- export type Status = 'active' | 'inactive' | 'blocked' | 'processing' | undefined;
6
+ export type Status = 'active' | 'inactive' | 'blocked' | 'processing' | 'warning' | undefined;
7
7
  export interface BadgeProps extends Omit<AntBadgeProps, 'status'> {
8
8
  flag?: boolean;
9
9
  status?: Status;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synerise/ds-badge",
3
- "version": "0.6.48",
3
+ "version": "0.6.49",
4
4
  "description": "Badge UI Component for the Synerise Design System",
5
5
  "license": "ISC",
6
6
  "repository": "Synerise/synerise-design",
@@ -33,7 +33,7 @@
33
33
  ],
34
34
  "types": "dist/index.d.ts",
35
35
  "dependencies": {
36
- "@synerise/ds-typography": "^0.14.2"
36
+ "@synerise/ds-typography": "^0.14.3"
37
37
  },
38
38
  "peerDependencies": {
39
39
  "@synerise/ds-core": "*",
@@ -45,5 +45,5 @@
45
45
  "@synerise/ds-utils": "^0.24.24",
46
46
  "@testing-library/jest-dom": "5.1.1"
47
47
  },
48
- "gitHead": "9e7d97fc5f8a9fd938b38e9d1678e050e0478e0e"
48
+ "gitHead": "413b02fb31c0c6fb8631fde0bc5b00e16f7f30b7"
49
49
  }