@synerise/ds-badge 1.0.42 → 1.0.43

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,10 @@
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
+ ## [1.0.43](https://github.com/Synerise/synerise-design/compare/@synerise/ds-badge@1.0.42...@synerise/ds-badge@1.0.43) (2026-03-20)
7
+
8
+ **Note:** Version bump only for package @synerise/ds-badge
9
+
6
10
  ## [1.0.42](https://github.com/Synerise/synerise-design/compare/@synerise/ds-badge@1.0.41...@synerise/ds-badge@1.0.42) (2026-03-09)
7
11
 
8
12
  **Note:** Version bump only for package @synerise/ds-badge
package/README.md CHANGED
@@ -73,7 +73,7 @@ import Badge from '@synerise/ds-badge'
73
73
  | ------------------ | ------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------- | ------- |
74
74
  | backgroundColor | Customize the badge color | Color | - |
75
75
  | backgroundColorHue | Customize brightness of color | `900` / `800` / `700` / `600` / `500` / `400` / `300` / `200` / `100` / `050` | - |
76
- | customColor | Customize the badge dot color | `red` | - |
76
+ | customColor | Customize the badge dot color | `BadgeColor` or `DefaultColor` (e.g. `'blue-600'`) | - |
77
77
  | count | Number to show in the badge counter | ReactNode | |
78
78
  | dot | Display a red dot instead of a counter | boolean | `false` |
79
79
  | flag | Show the badge as a flag | boolean | `false` |
@@ -84,7 +84,7 @@ import Badge from '@synerise/ds-badge'
84
84
  | showZero | Show the badge when the counter is zero | boolean | `false` |
85
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
- | textColor | Customize text color in badge | `green` / `grey` / `yellow` / `blue` / `pink`/ `mars`/ `orange`/ `fern`/ `cyan`/ `purple` / `violet` | - |
87
+ | textColor | Customize text color in badge | `red` / `green` / `grey` / `yellow` / `blue` / `pink`/ `mars`/ `orange`/ `fern`/ `cyan`/ `purple` / `violet` / `white` / `transparent` | - |
88
88
  | textColorHue | Customize brightness of color | `900` / `800` / `700` / `600` / `500` / `400` / `300` / `200` / `100` / `050` | - |
89
89
  | title | Text shown when a cursor is hovered over the badge | string | count |
90
90
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synerise/ds-badge",
3
- "version": "1.0.42",
3
+ "version": "1.0.43",
4
4
  "description": "Badge UI Component for the Synerise Design System",
5
5
  "license": "ISC",
6
6
  "repository": "Synerise/synerise-design",
@@ -23,8 +23,8 @@
23
23
  "defs": "tsc --declaration --outDir dist/ --emitDeclarationOnly",
24
24
  "pack:ci": "pnpm pack --pack-destination ../../storybook/storybook-static/static",
25
25
  "prepublish": "pnpm run build",
26
- "test": "vitest",
27
- "test:watch": "pnpm run test -- --watch",
26
+ "test": "vitest run",
27
+ "test:watch": "vitest",
28
28
  "types": "tsc --noEmit",
29
29
  "check:circular-dependencies": "madge --circular --extensions ts,tsx,js,jsx --ts-config tsconfig.json src/ --exclude '/dist/'",
30
30
  "upgrade:ds": "ncu -f \"@synerise/ds-*\" -u"
@@ -35,8 +35,8 @@
35
35
  ],
36
36
  "types": "dist/index.d.ts",
37
37
  "dependencies": {
38
- "@synerise/ds-icon": "^1.14.1",
39
- "@synerise/ds-typography": "^1.1.11"
38
+ "@synerise/ds-icon": "^1.15.0",
39
+ "@synerise/ds-typography": "^1.1.12"
40
40
  },
41
41
  "peerDependencies": {
42
42
  "@synerise/ds-core": "*",
@@ -45,5 +45,5 @@
45
45
  "styled-components": "^5.3.3",
46
46
  "vitest": "4"
47
47
  },
48
- "gitHead": "8dfafc5d7278f09d430f1e7499782d05c76b47c0"
48
+ "gitHead": "8efc031fa688c0b87c7b3915bae93546bb63bcac"
49
49
  }