@atlaskit/onboarding 10.8.6 → 10.8.8

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
@@ -1,5 +1,18 @@
1
1
  # @atlaskit/onboarding
2
2
 
3
+ ## 10.8.8
4
+
5
+ ### Patch Changes
6
+
7
+ - [`3c114ea4257`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3c114ea4257) - Update type definitions to conform to inherited changes from `@types/react@16.14.15`.
8
+
9
+ ## 10.8.7
10
+
11
+ ### Patch Changes
12
+
13
+ - [`fd6bb9c9184`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd6bb9c9184) - Delete version.json
14
+ - Updated dependencies
15
+
3
16
  ## 10.8.6
4
17
 
5
18
  ### Patch Changes
@@ -27,7 +27,7 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
27
27
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
28
28
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
29
29
  var packageName = "@atlaskit/onboarding";
30
- var packageVersion = "10.8.6";
30
+ var packageVersion = "10.8.8";
31
31
  var SpotlightDialog = /*#__PURE__*/function (_Component) {
32
32
  (0, _inherits2.default)(SpotlightDialog, _Component);
33
33
  var _super = _createSuper(SpotlightDialog);
@@ -26,7 +26,7 @@ var SpotlightTransitionContext = /*#__PURE__*/(0, _react.createContext)({
26
26
 
27
27
  // checks if children exist and are truthy
28
28
  var hasChildren = function hasChildren(children) {
29
- return _react.default.Children.count(children) > 0 && _react.default.Children.map(children, function (child) {
29
+ return _react.default.Children.count(children) > 0 && _react.default.Children.map(children || false, function (child) {
30
30
  return !!child;
31
31
  }).filter(Boolean).length > 0;
32
32
  };
@@ -7,7 +7,7 @@ import { DialogImage } from '../styled/dialog';
7
7
  import SpotlightCard from './spotlight-card';
8
8
  import ValueChanged from './value-changed';
9
9
  const packageName = "@atlaskit/onboarding";
10
- const packageVersion = "10.8.6";
10
+ const packageVersion = "10.8.8";
11
11
  class SpotlightDialog extends Component {
12
12
  constructor(...args) {
13
13
  super(...args);
@@ -7,7 +7,7 @@ const SpotlightTransitionContext = /*#__PURE__*/createContext({
7
7
  });
8
8
 
9
9
  // checks if children exist and are truthy
10
- const hasChildren = children => React.Children.count(children) > 0 && React.Children.map(children, child => !!child).filter(Boolean).length > 0;
10
+ const hasChildren = children => React.Children.count(children) > 0 && React.Children.map(children || false, child => !!child).filter(Boolean).length > 0;
11
11
 
12
12
  /**
13
13
  * __Spotlight transition__
@@ -17,7 +17,7 @@ import { DialogImage } from '../styled/dialog';
17
17
  import SpotlightCard from './spotlight-card';
18
18
  import ValueChanged from './value-changed';
19
19
  var packageName = "@atlaskit/onboarding";
20
- var packageVersion = "10.8.6";
20
+ var packageVersion = "10.8.8";
21
21
  var SpotlightDialog = /*#__PURE__*/function (_Component) {
22
22
  _inherits(SpotlightDialog, _Component);
23
23
  var _super = _createSuper(SpotlightDialog);
@@ -16,7 +16,7 @@ var SpotlightTransitionContext = /*#__PURE__*/createContext({
16
16
 
17
17
  // checks if children exist and are truthy
18
18
  var hasChildren = function hasChildren(children) {
19
- return React.Children.count(children) > 0 && React.Children.map(children, function (child) {
19
+ return React.Children.count(children) > 0 && React.Children.map(children || false, function (child) {
20
20
  return !!child;
21
21
  }).filter(Boolean).length > 0;
22
22
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/onboarding",
3
- "version": "10.8.6",
3
+ "version": "10.8.8",
4
4
  "description": "An onboarding spotlight introduces new features to users through focused messages or multi-step tours.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -34,14 +34,14 @@
34
34
  },
35
35
  "dependencies": {
36
36
  "@atlaskit/analytics-next": "^9.1.0",
37
- "@atlaskit/button": "^16.8.0",
37
+ "@atlaskit/button": "^16.9.0",
38
38
  "@atlaskit/ds-lib": "^2.2.0",
39
39
  "@atlaskit/heading": "^1.3.0",
40
40
  "@atlaskit/modal-dialog": "^12.6.0",
41
41
  "@atlaskit/popper": "^5.5.0",
42
42
  "@atlaskit/portal": "^4.3.0",
43
43
  "@atlaskit/theme": "^12.5.0",
44
- "@atlaskit/tokens": "^1.14.0",
44
+ "@atlaskit/tokens": "^1.15.0",
45
45
  "@babel/runtime": "^7.0.0",
46
46
  "@emotion/react": "^11.7.1",
47
47
  "bind-event-listener": "^2.1.1",
@@ -1,5 +0,0 @@
1
- {
2
- "name": "@atlaskit/onboarding",
3
- "version": "10.8.6",
4
- "sideEffects": false
5
- }
@@ -1,5 +0,0 @@
1
- {
2
- "name": "@atlaskit/onboarding",
3
- "version": "10.8.6",
4
- "sideEffects": false
5
- }
@@ -1,5 +0,0 @@
1
- {
2
- "name": "@atlaskit/onboarding",
3
- "version": "10.8.6",
4
- "sideEffects": false
5
- }