@synerise/ds-alert 1.1.52 → 1.1.53

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,12 @@
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.1.53](https://github.com/Synerise/synerise-design/compare/@synerise/ds-alert@1.1.52...@synerise/ds-alert@1.1.53) (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
+
6
12
  ## [1.1.52](https://github.com/Synerise/synerise-design/compare/@synerise/ds-alert@1.1.51...@synerise/ds-alert@1.1.52) (2026-04-29)
7
13
 
8
14
  **Note:** Version bump only for package @synerise/ds-alert
@@ -1,5 +1,5 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
- import Alert from "antd/lib/alert";
2
+ import { Alert } from "antd";
3
3
  import styled, { css } from "styled-components";
4
4
  const DARKER_COLORS = ["green", "yellow"];
5
5
  const getColor = (props) => {
@@ -1,4 +1,4 @@
1
- import { AlertProps } from 'antd/lib/alert';
1
+ import { AlertProps } from 'antd';
2
2
  import { default as React } from 'react';
3
3
  import { default as InlineAlert } from './InlineAlert/InlineAlert';
4
4
  export type AlertType = 'success' | 'warning' | 'error' | 'info';
@@ -1,4 +1,4 @@
1
- import { AlertProps } from 'antd/lib/alert';
1
+ import { AlertProps } from 'antd';
2
2
  export type AlertType = 'positive' | 'notice' | 'negative' | 'informative' | 'neutral' | 'supply' | 'service' | 'entity';
3
3
  export type ColorType = 'blue' | 'grey' | 'red' | 'green' | 'yellow' | 'cyan' | 'purple' | 'violet';
4
4
  export type ModeType = 'background' | 'background-outline' | 'clear' | 'shadow';
@@ -1,4 +1,4 @@
1
- import { AlertProps } from 'antd/lib/alert';
1
+ import { AlertProps } from 'antd';
2
2
  import { ReactElement, ReactNode } from 'react';
3
3
  export type ToastType = 'success' | 'warning' | 'negative' | 'informative' | 'neutral';
4
4
  export type CustomColorType = 'blue' | 'grey' | 'red' | 'green' | 'yellow' | 'pink' | 'mars' | 'orange' | 'fern' | 'cyan' | 'purple' | 'violet';
package/dist/index.d.ts CHANGED
@@ -13,6 +13,7 @@ export { default as BroadcastBar } from './BroadcastBar/BroadcastBar';
13
13
  /** @deprecated use `@synerise/ds-inline-alert` instead */
14
14
  export { default as IconAlert } from './IconAlert/IconAlert';
15
15
  export { default as InlineAlert } from './InlineAlert/InlineAlert';
16
+ export type { InlineAlertType } from './InlineAlert/InlineAlert.types';
16
17
  export { default as AlertInfo } from './AlertInfo/AlertInfo';
17
18
  export type { AlertSize } from './AlertInfo/AlertInfo.types';
18
19
  export { AlertMessage } from './Alert.styles';
package/package.json CHANGED
@@ -1,10 +1,19 @@
1
1
  {
2
2
  "name": "@synerise/ds-alert",
3
- "version": "1.1.52",
3
+ "version": "1.1.53",
4
4
  "description": "Alert 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,13 +41,13 @@
32
41
  ],
33
42
  "types": "dist/index.d.ts",
34
43
  "dependencies": {
35
- "@synerise/ds-broadcast-bar": "^1.1.22",
36
- "@synerise/ds-button": "^1.5.25",
37
- "@synerise/ds-icon": "^1.17.2",
38
- "@synerise/ds-inline-alert": "^1.1.21",
39
- "@synerise/ds-section-message": "^1.0.32",
40
- "@synerise/ds-unordered-list": "^1.1.47",
41
- "@synerise/ds-utils": "^1.8.0",
44
+ "@synerise/ds-broadcast-bar": "^1.1.23",
45
+ "@synerise/ds-button": "^1.5.26",
46
+ "@synerise/ds-icon": "^1.17.3",
47
+ "@synerise/ds-inline-alert": "^1.1.22",
48
+ "@synerise/ds-section-message": "^1.0.33",
49
+ "@synerise/ds-unordered-list": "^1.1.48",
50
+ "@synerise/ds-utils": "^1.8.1",
42
51
  "animate.css": "^4.1.1"
43
52
  },
44
53
  "peerDependencies": {
@@ -48,5 +57,5 @@
48
57
  "styled-components": "^5.3.3",
49
58
  "vitest": "4"
50
59
  },
51
- "gitHead": "82150f1e50f5a3e19682c68e4eec9ae441950327"
60
+ "gitHead": "c5eee882509cbeb4544cb45939620881b829d4d9"
52
61
  }