@commercetools-uikit/notifications 20.2.2 → 20.3.0

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.
@@ -36,8 +36,8 @@ function ownKeys(e, r) { var t = _Object$keys__default["default"](e); if (_Objec
36
36
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context, _context2; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty__default["default"](_context = ownKeys(Object(t), !0)).call(_context, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors__default["default"] ? _Object$defineProperties__default["default"](e, _Object$getOwnPropertyDescriptors__default["default"](t)) : _forEachInstanceProperty__default["default"](_context2 = ownKeys(Object(t))).call(_context2, function (r) { _Object$defineProperty__default["default"](e, r, _Object$getOwnPropertyDescriptor__default["default"](t, r)); }); } return e; }
37
37
  const warnIfMissingContent = props => {
38
38
  const hasContent = Boolean(props.intlMessage) || Boolean(react$1.Children.count(props.children));
39
- process.env.NODE_ENV !== "production" ? utils.warning(hasContent, ['Warning: Failed prop type:', `The prop \`intlMessage\` is marked as required in \`Link\``, 'but its value is `undefined`'].join(' ')) : void 0;
40
- process.env.NODE_ENV !== "production" ? utils.warning(hasContent, ['Warning: Failed prop type:', `The prop \`children\` is marked as required in \`Link\``, 'but its value is `undefined`'].join(' ')) : void 0;
39
+ process.env.NODE_ENV !== "production" ? utils.warning(hasContent, ['Warning: Failed prop type:', "The prop `intlMessage` is marked as required in `Link`", 'but its value is `undefined`'].join(' ')) : void 0;
40
+ process.env.NODE_ENV !== "production" ? utils.warning(hasContent, ['Warning: Failed prop type:', "The prop `children` is marked as required in `Link`", 'but its value is `undefined`'].join(' ')) : void 0;
41
41
  };
42
42
  const getIconByType = props => {
43
43
  switch (props.type) {
@@ -130,7 +130,7 @@ ContentNotification.displayName = 'ContentNotification';
130
130
  var ContentNotification$1 = ContentNotification;
131
131
 
132
132
  // NOTE: This string will be replaced on build time with the package version.
133
- var version = "20.2.2";
133
+ var version = "20.3.0";
134
134
 
135
135
  exports.ContentNotification = ContentNotification$1;
136
136
  exports.version = version;
@@ -128,7 +128,7 @@ ContentNotification.displayName = 'ContentNotification';
128
128
  var ContentNotification$1 = ContentNotification;
129
129
 
130
130
  // NOTE: This string will be replaced on build time with the package version.
131
- var version = "20.2.2";
131
+ var version = "20.3.0";
132
132
 
133
133
  exports.ContentNotification = ContentNotification$1;
134
134
  exports.version = version;
@@ -20,8 +20,8 @@ function ownKeys(e, r) { var t = _Object$keys(e); if (_Object$getOwnPropertySymb
20
20
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context, _context2; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context = ownKeys(Object(t), !0)).call(_context, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context2 = ownKeys(Object(t))).call(_context2, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
21
21
  const warnIfMissingContent = props => {
22
22
  const hasContent = Boolean(props.intlMessage) || Boolean(Children.count(props.children));
23
- process.env.NODE_ENV !== "production" ? warning(hasContent, ['Warning: Failed prop type:', `The prop \`intlMessage\` is marked as required in \`Link\``, 'but its value is `undefined`'].join(' ')) : void 0;
24
- process.env.NODE_ENV !== "production" ? warning(hasContent, ['Warning: Failed prop type:', `The prop \`children\` is marked as required in \`Link\``, 'but its value is `undefined`'].join(' ')) : void 0;
23
+ process.env.NODE_ENV !== "production" ? warning(hasContent, ['Warning: Failed prop type:', "The prop `intlMessage` is marked as required in `Link`", 'but its value is `undefined`'].join(' ')) : void 0;
24
+ process.env.NODE_ENV !== "production" ? warning(hasContent, ['Warning: Failed prop type:', "The prop `children` is marked as required in `Link`", 'but its value is `undefined`'].join(' ')) : void 0;
25
25
  };
26
26
  const getIconByType = props => {
27
27
  switch (props.type) {
@@ -114,6 +114,6 @@ ContentNotification.displayName = 'ContentNotification';
114
114
  var ContentNotification$1 = ContentNotification;
115
115
 
116
116
  // NOTE: This string will be replaced on build time with the package version.
117
- var version = "20.2.2";
117
+ var version = "20.3.0";
118
118
 
119
119
  export { ContentNotification$1 as ContentNotification, version };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@commercetools-uikit/notifications",
3
3
  "description": "Notification components.",
4
- "version": "20.2.2",
4
+ "version": "20.3.0",
5
5
  "bugs": "https://github.com/commercetools/ui-kit/issues",
6
6
  "repository": {
7
7
  "type": "git",
@@ -21,14 +21,14 @@
21
21
  "dependencies": {
22
22
  "@babel/runtime": "^7.20.13",
23
23
  "@babel/runtime-corejs3": "^7.20.13",
24
- "@commercetools-uikit/accessible-button": "20.2.2",
25
- "@commercetools-uikit/design-system": "20.2.2",
26
- "@commercetools-uikit/icons": "20.2.2",
27
- "@commercetools-uikit/utils": "20.2.2",
24
+ "@commercetools-uikit/accessible-button": "20.3.0",
25
+ "@commercetools-uikit/design-system": "20.3.0",
26
+ "@commercetools-uikit/icons": "20.3.0",
27
+ "@commercetools-uikit/utils": "20.3.0",
28
28
  "@emotion/react": "^11.10.5"
29
29
  },
30
30
  "devDependencies": {
31
- "react": "19.1.0",
31
+ "react": "19.2.0",
32
32
  "react-intl": "^7.1.4"
33
33
  },
34
34
  "peerDependencies": {