@synerise/ds-badge 1.0.50 → 1.0.52

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,16 @@
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.52](https://github.com/Synerise/synerise-design/compare/@synerise/ds-badge@1.0.51...@synerise/ds-badge@1.0.52) (2026-05-04)
7
+
8
+ ### Bug Fixes
9
+
10
+ - add exports field to all component packages for correct ESM detection ([6eccfde](https://github.com/Synerise/synerise-design/commit/6eccfde8f2dd73c59860793231fbd7bcd61813b4))
11
+
12
+ ## [1.0.51](https://github.com/Synerise/synerise-design/compare/@synerise/ds-badge@1.0.50...@synerise/ds-badge@1.0.51) (2026-04-29)
13
+
14
+ **Note:** Version bump only for package @synerise/ds-badge
15
+
6
16
  ## [1.0.50](https://github.com/Synerise/synerise-design/compare/@synerise/ds-badge@1.0.49...@synerise/ds-badge@1.0.50) (2026-04-28)
7
17
 
8
18
  **Note:** Version bump only for package @synerise/ds-badge
@@ -1,5 +1,5 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
- import Badge from "antd/lib/badge";
2
+ import { Badge } from "antd";
3
3
  import styled, { css, keyframes } from "styled-components";
4
4
  import { macro } from "@synerise/ds-typography";
5
5
  const getBackgroundColor = (props) => {
@@ -1,4 +1,4 @@
1
- import { BadgeProps as AntBadgeProps } from 'antd/lib/badge';
1
+ import { BadgeProps as AntBadgeProps } from 'antd';
2
2
  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];
package/package.json CHANGED
@@ -1,10 +1,19 @@
1
1
  {
2
2
  "name": "@synerise/ds-badge",
3
- "version": "1.0.50",
3
+ "version": "1.0.52",
4
4
  "description": "Badge UI Component for the Synerise Design System",
5
5
  "license": "ISC",
6
6
  "repository": "Synerise/synerise-design",
7
7
  "main": "dist/index.js",
8
+ "exports": {
9
+ ".": {
10
+ "types": "./dist/index.d.ts",
11
+ "import": "./dist/index.js",
12
+ "default": "./dist/index.js"
13
+ },
14
+ "./dist/*.js": "./dist/*.js",
15
+ "./dist/*": "./dist/*.js"
16
+ },
8
17
  "files": [
9
18
  "/dist",
10
19
  "CHANGELOG.md",
@@ -32,8 +41,8 @@
32
41
  ],
33
42
  "types": "dist/index.d.ts",
34
43
  "dependencies": {
35
- "@synerise/ds-icon": "^1.17.1",
36
- "@synerise/ds-typography": "^1.1.19"
44
+ "@synerise/ds-icon": "^1.17.3",
45
+ "@synerise/ds-typography": "^1.1.21"
37
46
  },
38
47
  "peerDependencies": {
39
48
  "@synerise/ds-core": "*",
@@ -42,5 +51,5 @@
42
51
  "styled-components": "^5.3.3",
43
52
  "vitest": "4"
44
53
  },
45
- "gitHead": "25cf79a6df348141419f397813e4f6a5533deb5f"
54
+ "gitHead": "c5eee882509cbeb4544cb45939620881b829d4d9"
46
55
  }