@atlaskit/onboarding 14.5.0 → 14.5.2
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 +14 -0
- package/dist/cjs/styled/modal.compiled.css +1 -1
- package/dist/cjs/styled/modal.js +1 -1
- package/dist/cjs/utils/use-element-box.js +2 -1
- package/dist/es2019/styled/modal.compiled.css +1 -1
- package/dist/es2019/styled/modal.js +1 -1
- package/dist/es2019/utils/use-element-box.js +2 -1
- package/dist/esm/styled/modal.compiled.css +1 -1
- package/dist/esm/styled/modal.js +1 -1
- package/dist/esm/utils/use-element-box.js +2 -1
- package/package.json +7 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/onboarding
|
|
2
2
|
|
|
3
|
+
## 14.5.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 14.5.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`036c3ee917e3c`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/036c3ee917e3c) -
|
|
14
|
+
Icon migration entry point update
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
|
|
3
17
|
## 14.5.0
|
|
4
18
|
|
|
5
19
|
### Minor Changes
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.
|
|
1
|
+
._11c81af2{font:var(--ds-font-heading-medium,normal 653 20px/24px "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
2
2
|
._12l21b66{margin-inline-end:var(--ds-space-050,4px)}
|
|
3
3
|
._1bah1h6o{justify-content:center}
|
|
4
4
|
._1bsb1osq{width:100%}
|
package/dist/cjs/styled/modal.js
CHANGED
|
@@ -42,7 +42,7 @@ var ModalHeading = exports.ModalHeading = function ModalHeading(_ref2) {
|
|
|
42
42
|
id = _ref2.id;
|
|
43
43
|
return /*#__PURE__*/React.createElement("h1", {
|
|
44
44
|
id: id,
|
|
45
|
-
className: (0, _runtime.ax)(["
|
|
45
|
+
className: (0, _runtime.ax)(["_11c81af2 _syaz1kw7 _6rthu2gc"])
|
|
46
46
|
}, children);
|
|
47
47
|
};
|
|
48
48
|
|
|
@@ -8,6 +8,7 @@ exports.ElementBox = void 0;
|
|
|
8
8
|
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
9
9
|
var _react = require("react");
|
|
10
10
|
var _bindEventListener = require("bind-event-listener");
|
|
11
|
+
var _noop = _interopRequireDefault(require("@atlaskit/ds-lib/noop"));
|
|
11
12
|
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
12
13
|
// The minimum interval between position updates in milliseconds
|
|
13
14
|
var POSITION_UPDATE_INTERVAL = 200;
|
|
@@ -59,7 +60,7 @@ var useResizeAwareElementBox = function useResizeAwareElementBox(element, update
|
|
|
59
60
|
listener: onResize
|
|
60
61
|
});
|
|
61
62
|
}
|
|
62
|
-
return
|
|
63
|
+
return _noop.default;
|
|
63
64
|
}, [element, updateMethod]);
|
|
64
65
|
return box;
|
|
65
66
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.
|
|
1
|
+
._11c81af2{font:var(--ds-font-heading-medium,normal 653 20px/24px "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
2
2
|
._12l21b66{margin-inline-end:var(--ds-space-050,4px)}
|
|
3
3
|
._1bah1h6o{justify-content:center}
|
|
4
4
|
._1bsb1osq{width:100%}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { useCallback, useEffect, useLayoutEffect, useMemo, useRef, useState } from 'react';
|
|
2
2
|
import { bind } from 'bind-event-listener';
|
|
3
|
+
import __noop from '@atlaskit/ds-lib/noop';
|
|
3
4
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
4
5
|
// The minimum interval between position updates in milliseconds
|
|
5
6
|
const POSITION_UPDATE_INTERVAL = 200;
|
|
@@ -49,7 +50,7 @@ const useResizeAwareElementBox = (element, updateMethod) => {
|
|
|
49
50
|
listener: onResize
|
|
50
51
|
});
|
|
51
52
|
}
|
|
52
|
-
return
|
|
53
|
+
return __noop;
|
|
53
54
|
}, [element, updateMethod]);
|
|
54
55
|
return box;
|
|
55
56
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.
|
|
1
|
+
._11c81af2{font:var(--ds-font-heading-medium,normal 653 20px/24px "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
2
2
|
._12l21b66{margin-inline-end:var(--ds-space-050,4px)}
|
|
3
3
|
._1bah1h6o{justify-content:center}
|
|
4
4
|
._1bsb1osq{width:100%}
|
package/dist/esm/styled/modal.js
CHANGED
|
@@ -34,7 +34,7 @@ export var ModalHeading = function ModalHeading(_ref2) {
|
|
|
34
34
|
id = _ref2.id;
|
|
35
35
|
return /*#__PURE__*/React.createElement("h1", {
|
|
36
36
|
id: id,
|
|
37
|
-
className: ax(["
|
|
37
|
+
className: ax(["_11c81af2 _syaz1kw7 _6rthu2gc"])
|
|
38
38
|
}, children);
|
|
39
39
|
};
|
|
40
40
|
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
2
2
|
import { useCallback, useEffect, useLayoutEffect, useMemo, useRef, useState } from 'react';
|
|
3
3
|
import { bind } from 'bind-event-listener';
|
|
4
|
+
import __noop from '@atlaskit/ds-lib/noop';
|
|
4
5
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
5
6
|
// The minimum interval between position updates in milliseconds
|
|
6
7
|
var POSITION_UPDATE_INTERVAL = 200;
|
|
@@ -52,7 +53,7 @@ var useResizeAwareElementBox = function useResizeAwareElementBox(element, update
|
|
|
52
53
|
listener: onResize
|
|
53
54
|
});
|
|
54
55
|
}
|
|
55
|
-
return
|
|
56
|
+
return __noop;
|
|
56
57
|
}, [element, updateMethod]);
|
|
57
58
|
return box;
|
|
58
59
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/onboarding",
|
|
3
|
-
"version": "14.5.
|
|
3
|
+
"version": "14.5.2",
|
|
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/"
|
|
@@ -56,14 +56,14 @@
|
|
|
56
56
|
"@atlaskit/css": "^0.19.0",
|
|
57
57
|
"@atlaskit/ds-lib": "^5.3.0",
|
|
58
58
|
"@atlaskit/heading": "^5.2.0",
|
|
59
|
-
"@atlaskit/layering": "^3.
|
|
60
|
-
"@atlaskit/modal-dialog": "^14.
|
|
59
|
+
"@atlaskit/layering": "^3.6.0",
|
|
60
|
+
"@atlaskit/modal-dialog": "^14.10.0",
|
|
61
61
|
"@atlaskit/motion": "^5.3.0",
|
|
62
62
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
63
63
|
"@atlaskit/popper": "^7.1.0",
|
|
64
|
-
"@atlaskit/portal": "^5.
|
|
65
|
-
"@atlaskit/primitives": "^17.
|
|
66
|
-
"@atlaskit/tokens": "^
|
|
64
|
+
"@atlaskit/portal": "^5.2.0",
|
|
65
|
+
"@atlaskit/primitives": "^17.1.0",
|
|
66
|
+
"@atlaskit/tokens": "^10.0.0",
|
|
67
67
|
"@babel/runtime": "^7.0.0",
|
|
68
68
|
"@compiled/react": "^0.18.6",
|
|
69
69
|
"bind-event-listener": "^3.0.0",
|
|
@@ -84,8 +84,7 @@
|
|
|
84
84
|
"@af/visual-regression": "workspace:^",
|
|
85
85
|
"@atlaskit/theme": "^21.0.0",
|
|
86
86
|
"@atlassian/ssr-tests": "workspace:^",
|
|
87
|
-
"@testing-library/react": "^
|
|
88
|
-
"@testing-library/react-hooks": "^8.0.1",
|
|
87
|
+
"@testing-library/react": "^16.3.0",
|
|
89
88
|
"@testing-library/user-event": "^14.4.3",
|
|
90
89
|
"@types/exenv": "^1.2.0",
|
|
91
90
|
"@types/react-node-resolver": "^2.0.0",
|