@atlaskit/onboarding 10.6.10 → 10.6.12

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.6.12
4
+
5
+ ### Patch Changes
6
+
7
+ - [`261420360ec`](https://bitbucket.org/atlassian/atlassian-frontend/commits/261420360ec) - Upgrades component types to support React 18.
8
+ - Updated dependencies
9
+
10
+ ## 10.6.11
11
+
12
+ ### Patch Changes
13
+
14
+ - [`7f5f23dcb68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7f5f23dcb68) - Introduce shape tokens to some packages.
15
+
3
16
  ## 10.6.10
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.6.10";
30
+ var packageVersion = "10.6.12";
31
31
  var SpotlightDialog = /*#__PURE__*/function (_Component) {
32
32
  (0, _inherits2.default)(SpotlightDialog, _Component);
33
33
  var _super = _createSuper(SpotlightDialog);
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/onboarding",
3
- "version": "10.6.10",
3
+ "version": "10.6.12",
4
4
  "sideEffects": false
5
5
  }
@@ -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.6.10";
10
+ const packageVersion = "10.6.12";
11
11
  class SpotlightDialog extends Component {
12
12
  constructor(...args) {
13
13
  super(...args);
@@ -1,5 +1,6 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  /** @jsx jsx */
3
+
3
4
  import { css, jsx } from '@emotion/react';
4
5
  const imageStyles = css({
5
6
  maxWidth: '100%',
@@ -1,4 +1,5 @@
1
1
  /** @jsx jsx */
2
+
2
3
  import { css, jsx } from '@emotion/react';
3
4
  import { useGlobalTheme } from '@atlaskit/theme/components';
4
5
  import { borderRadius as getBorderRadius } from '@atlaskit/theme/constants';
@@ -1,5 +1,6 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  /** @jsx jsx */
3
+
3
4
  import { css, jsx, keyframes } from '@emotion/react';
4
5
  import { P300 } from '@atlaskit/theme/colors';
5
6
  import { layers } from '@atlaskit/theme/constants';
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/onboarding",
3
- "version": "10.6.10",
3
+ "version": "10.6.12",
4
4
  "sideEffects": false
5
5
  }
@@ -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.6.10";
20
+ var packageVersion = "10.6.12";
21
21
  var SpotlightDialog = /*#__PURE__*/function (_Component) {
22
22
  _inherits(SpotlightDialog, _Component);
23
23
  var _super = _createSuper(SpotlightDialog);
@@ -2,6 +2,7 @@ import _extends from "@babel/runtime/helpers/extends";
2
2
  import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
3
3
  var _excluded = ["alt"];
4
4
  /** @jsx jsx */
5
+
5
6
  import { css, jsx } from '@emotion/react';
6
7
  var imageStyles = css({
7
8
  maxWidth: '100%',
@@ -1,4 +1,5 @@
1
1
  /** @jsx jsx */
2
+
2
3
  import { css, jsx } from '@emotion/react';
3
4
  import { useGlobalTheme } from '@atlaskit/theme/components';
4
5
  import { borderRadius as getBorderRadius } from '@atlaskit/theme/constants';
@@ -7,6 +7,7 @@ var _excluded = ["children", "bgColor", "radius", "style", "testId"],
7
7
  function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
8
8
  function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
9
9
  /** @jsx jsx */
10
+
10
11
  import { css, jsx, keyframes } from '@emotion/react';
11
12
  import { P300 } from '@atlaskit/theme/colors';
12
13
  import { layers } from '@atlaskit/theme/constants';
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/onboarding",
3
- "version": "10.6.10",
3
+ "version": "10.6.12",
4
4
  "sideEffects": false
5
5
  }
@@ -1,4 +1,5 @@
1
- /// <reference types="react" />
1
+ /** @jsx jsx */
2
+ import { ReactNode } from 'react';
2
3
  /**
3
4
  * __Dialog image__
4
5
  *
@@ -14,7 +15,9 @@ export declare const DialogImage: React.FC<React.ImgHTMLAttributes<HTMLImageElem
14
15
  *
15
16
  * @internal
16
17
  */
17
- export declare const DialogActionItemContainer: React.FC<{}>;
18
+ export declare const DialogActionItemContainer: React.FC<{
19
+ children: ReactNode;
20
+ }>;
18
21
  /**
19
22
  * __Dialog action item__
20
23
  *
@@ -22,4 +25,6 @@ export declare const DialogActionItemContainer: React.FC<{}>;
22
25
  *
23
26
  * @internal
24
27
  */
25
- export declare const DialogActionItem: React.FC<{}>;
28
+ export declare const DialogActionItem: React.FC<{
29
+ children: ReactNode;
30
+ }>;
@@ -1,16 +1,21 @@
1
- /// <reference types="react" />
1
+ /** @jsx jsx */
2
+ import { ReactNode } from 'react';
2
3
  /**
3
4
  * __Modal body__
4
5
  *
5
6
  * @internal
6
7
  */
7
- export declare const ModalBody: React.FC<{}>;
8
+ export declare const ModalBody: React.FC<{
9
+ children: ReactNode;
10
+ }>;
8
11
  /**
9
12
  * __Modal heading__
10
13
  *
11
14
  * @internal
12
15
  */
13
- export declare const ModalHeading: React.FC<{}>;
16
+ export declare const ModalHeading: React.FC<{
17
+ children: string;
18
+ }>;
14
19
  /**
15
20
  * __Modal image__
16
21
  *
@@ -27,10 +32,13 @@ export declare const ModalImage: React.FC<{
27
32
  */
28
33
  export declare const ModalActionContainer: React.FC<{
29
34
  shouldReverseButtonOrder: boolean;
35
+ children: ReactNode;
30
36
  }>;
31
37
  /**
32
38
  * __Modal action item__
33
39
  *
34
40
  * @internal
35
41
  */
36
- export declare const ModalActionItem: React.FC<{}>;
42
+ export declare const ModalActionItem: React.FC<{
43
+ children: ReactNode;
44
+ }>;
@@ -1,9 +1,11 @@
1
- /// <reference types="react" />
1
+ /** @jsx jsx */
2
+ import { ReactNode } from 'react';
2
3
  declare type BaseProps = React.HTMLAttributes<HTMLDivElement> & {
3
4
  bgColor?: string;
4
5
  radius?: number;
5
6
  className?: string;
6
7
  testId?: string;
8
+ children?: ReactNode;
7
9
  };
8
10
  declare type TargetProps = Omit<BaseProps, 'css'> & {
9
11
  pulse?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/onboarding",
3
- "version": "10.6.10",
3
+ "version": "10.6.12",
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/"
@@ -16,7 +16,6 @@
16
16
  "atlaskit:src": "src/index.tsx",
17
17
  "homepage": "https://atlassian.design/components/onboarding/",
18
18
  "atlassian": {
19
- "disableProductCI": true,
20
19
  "team": "Design System Team",
21
20
  "deprecatedAutoEntryPoints": true,
22
21
  "releaseModel": "scheduled",
@@ -29,11 +28,11 @@
29
28
  "@atlaskit/analytics-next": "^9.0.0",
30
29
  "@atlaskit/button": "^16.5.0",
31
30
  "@atlaskit/ds-lib": "^2.1.0",
32
- "@atlaskit/heading": "^1.1.0",
31
+ "@atlaskit/heading": "^1.2.0",
33
32
  "@atlaskit/modal-dialog": "^12.4.0",
34
33
  "@atlaskit/popper": "^5.4.0",
35
34
  "@atlaskit/portal": "^4.0.0",
36
- "@atlaskit/theme": "^12.2.0",
35
+ "@atlaskit/theme": "^12.3.0",
37
36
  "@atlaskit/tokens": "^1.2.0",
38
37
  "@babel/runtime": "^7.0.0",
39
38
  "@emotion/react": "^11.7.1",
@@ -51,7 +50,7 @@
51
50
  "react-dom": "^16.8.0"
52
51
  },
53
52
  "devDependencies": {
54
- "@atlaskit/avatar": "^21.1.0",
53
+ "@atlaskit/avatar": "^21.2.0",
55
54
  "@atlaskit/docs": "*",
56
55
  "@atlaskit/icon": "^21.11.0",
57
56
  "@atlaskit/progress-indicator": "^9.4.0",
package/report.api.md CHANGED
@@ -8,6 +8,7 @@
8
8
  ### Table of contents
9
9
 
10
10
  - [Main Entry Types](#main-entry-types)
11
+ - [Peer Dependencies](#peer-dependencies)
11
12
 
12
13
  ### Main Entry Types
13
14
 
@@ -272,3 +273,16 @@ export function useSpotlight(): {
272
273
  ```
273
274
 
274
275
  <!--SECTION END: Main Entry Types-->
276
+
277
+ ### Peer Dependencies
278
+
279
+ <!--SECTION START: Peer Dependencies-->
280
+
281
+ ```json
282
+ {
283
+ "react": "^16.8.0",
284
+ "react-dom": "^16.8.0"
285
+ }
286
+ ```
287
+
288
+ <!--SECTION END: Peer Dependencies-->