@synerise/ds-alert 1.0.3 → 1.0.5

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,22 @@
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.5](https://github.com/Synerise/synerise-design/compare/@synerise/ds-alert@1.0.4...@synerise/ds-alert@1.0.5) (2025-04-16)
7
+
8
+ **Note:** Version bump only for package @synerise/ds-alert
9
+
10
+
11
+
12
+
13
+
14
+ ## [1.0.4](https://github.com/Synerise/synerise-design/compare/@synerise/ds-alert@1.0.3...@synerise/ds-alert@1.0.4) (2025-04-02)
15
+
16
+ **Note:** Version bump only for package @synerise/ds-alert
17
+
18
+
19
+
20
+
21
+
6
22
  ## [1.0.3](https://github.com/Synerise/synerise-design/compare/@synerise/ds-alert@1.0.2...@synerise/ds-alert@1.0.3) (2025-03-31)
7
23
 
8
24
  **Note:** Version bump only for package @synerise/ds-alert
package/dist/Alert.js CHANGED
@@ -1,4 +1,4 @@
1
- function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
1
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
2
2
  import React from 'react';
3
3
  import "./style/index.css";
4
4
  import Icon, { Check2M, Close2M, NotificationsM } from '@synerise/ds-icon';
@@ -1,6 +1,6 @@
1
1
  var _excluded = ["IconComponent"];
2
2
  var _mapSizeToPx;
3
- function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
3
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
4
4
  import React from 'react';
5
5
  import Icon, { CheckL, WarningL, WarningXl, CheckXl } from '@synerise/ds-icon';
6
6
  import { AlertSize } from './AlertInfo.types';
@@ -1,8 +1,8 @@
1
1
  var _IconSize, _FontSize;
2
- export var AlertSize;
3
- (function (AlertSize) {
2
+ export var AlertSize = /*#__PURE__*/function (AlertSize) {
4
3
  AlertSize["SMALL"] = "small";
5
4
  AlertSize["MEDIUM"] = "medium";
6
- })(AlertSize || (AlertSize = {}));
5
+ return AlertSize;
6
+ }({});
7
7
  export var IconSize = (_IconSize = {}, _IconSize[AlertSize.SMALL] = 48, _IconSize[AlertSize.MEDIUM] = 96, _IconSize);
8
8
  export var FontSize = (_FontSize = {}, _FontSize[AlertSize.SMALL] = 14, _FontSize[AlertSize.MEDIUM] = 18, _FontSize);
@@ -1,6 +1,6 @@
1
1
  var _excluded = ["type", "iconAlert", "message", "withLink", "withEmphasis", "hoverButton", "disabled", "customIcon"];
2
- function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
3
- function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
2
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
3
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
4
4
  import React, { useMemo } from 'react';
5
5
  import Icon, { Check3M, WarningFillM, InfoFillM } from '@synerise/ds-icon';
6
6
  import * as S from './IconAlert.styles';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synerise/ds-alert",
3
- "version": "1.0.3",
3
+ "version": "1.0.5",
4
4
  "description": "Alert UI Component for the Synerise Design System",
5
5
  "license": "ISC",
6
6
  "repository": "Synerise/synerise-design",
@@ -34,9 +34,9 @@
34
34
  ],
35
35
  "types": "dist/index.d.ts",
36
36
  "dependencies": {
37
- "@synerise/ds-button": "^1.1.2",
38
- "@synerise/ds-icon": "^1.2.0",
39
- "@synerise/ds-unordered-list": "^1.0.3",
37
+ "@synerise/ds-button": "^1.1.4",
38
+ "@synerise/ds-icon": "^1.4.0",
39
+ "@synerise/ds-unordered-list": "^1.1.0",
40
40
  "@synerise/ds-utils": "^1.0.1",
41
41
  "animate.css": "^4.1.1"
42
42
  },
@@ -46,5 +46,5 @@
46
46
  "react": ">=16.9.0 <= 18.3.1",
47
47
  "styled-components": "^5.3.3"
48
48
  },
49
- "gitHead": "5438445467b16dbc0c2ca97d969ae0e09b74131b"
49
+ "gitHead": "6735f9babfeef53122f54ca86cba5f581e8870d9"
50
50
  }