@atlaskit/onboarding 11.5.6 → 11.5.7

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.
Files changed (31) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/cjs/components/spotlight-dialog.js +1 -1
  3. package/dist/es2019/components/spotlight-dialog.js +1 -1
  4. package/dist/esm/components/spotlight-dialog.js +1 -1
  5. package/dist/types/components/animation.d.ts +1 -1
  6. package/dist/types/components/clone.d.ts +1 -1
  7. package/dist/types/components/modal.d.ts +3 -3
  8. package/dist/types/components/spotlight-dialog.d.ts +3 -3
  9. package/dist/types/components/spotlight-inner.d.ts +2 -2
  10. package/dist/types/components/spotlight-manager.d.ts +1 -1
  11. package/dist/types/components/spotlight-target.d.ts +1 -1
  12. package/dist/types/components/spotlight-transition.d.ts +1 -1
  13. package/dist/types/components/spotlight.d.ts +2 -2
  14. package/dist/types/components/value-changed.d.ts +1 -1
  15. package/dist/types/styled/dialog.d.ts +1 -1
  16. package/dist/types/styled/modal.d.ts +1 -1
  17. package/dist/types/types.d.ts +2 -2
  18. package/dist/types-ts4.5/components/animation.d.ts +1 -1
  19. package/dist/types-ts4.5/components/clone.d.ts +1 -1
  20. package/dist/types-ts4.5/components/modal.d.ts +3 -3
  21. package/dist/types-ts4.5/components/spotlight-dialog.d.ts +3 -3
  22. package/dist/types-ts4.5/components/spotlight-inner.d.ts +2 -2
  23. package/dist/types-ts4.5/components/spotlight-manager.d.ts +1 -1
  24. package/dist/types-ts4.5/components/spotlight-target.d.ts +1 -1
  25. package/dist/types-ts4.5/components/spotlight-transition.d.ts +1 -1
  26. package/dist/types-ts4.5/components/spotlight.d.ts +2 -2
  27. package/dist/types-ts4.5/components/value-changed.d.ts +1 -1
  28. package/dist/types-ts4.5/styled/dialog.d.ts +1 -1
  29. package/dist/types-ts4.5/styled/modal.d.ts +1 -1
  30. package/dist/types-ts4.5/types.d.ts +2 -2
  31. package/package.json +5 -5
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @atlaskit/onboarding
2
2
 
3
+ ## 11.5.7
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
3
9
  ## 11.5.6
4
10
 
5
11
  ### Patch Changes
@@ -27,7 +27,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
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() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
29
29
  var packageName = "@atlaskit/onboarding";
30
- var packageVersion = "11.5.6";
30
+ var packageVersion = "11.5.7";
31
31
  var SpotlightDialog = /*#__PURE__*/function (_Component) {
32
32
  (0, _inherits2.default)(SpotlightDialog, _Component);
33
33
  var _super = _createSuper(SpotlightDialog);
@@ -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 = "11.5.6";
10
+ const packageVersion = "11.5.7";
11
11
  class SpotlightDialog extends Component {
12
12
  constructor(...args) {
13
13
  super(...args);
@@ -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 = "11.5.6";
20
+ var packageVersion = "11.5.7";
21
21
  var SpotlightDialog = /*#__PURE__*/function (_Component) {
22
22
  _inherits(SpotlightDialog, _Component);
23
23
  var _super = _createSuper(SpotlightDialog);
@@ -1,4 +1,4 @@
1
- import { ReactNode } from 'react';
1
+ import { type ReactNode } from 'react';
2
2
  interface FadeProps {
3
3
  hasEntered: boolean;
4
4
  children: (animationStyles: Record<string, any>) => ReactNode;
@@ -1,4 +1,4 @@
1
- import { MouseEvent } from 'react';
1
+ import { type MouseEvent } from 'react';
2
2
  export interface CloneProps {
3
3
  /**
4
4
  * Whether or not to display a pulse animation around the spotlighted element.
@@ -1,8 +1,8 @@
1
1
  /** @jsx jsx */
2
- import { Component, ElementType, ReactNode } from 'react';
2
+ import { Component, type ElementType, type ReactNode } from 'react';
3
3
  import { jsx } from '@emotion/react';
4
- import { ModalFooterProps as FooterComponentProps, ModalHeaderProps as HeaderComponentProps } from '@atlaskit/modal-dialog';
5
- import { Actions } from '../types';
4
+ import { type ModalFooterProps as FooterComponentProps, type ModalHeaderProps as HeaderComponentProps } from '@atlaskit/modal-dialog';
5
+ import { type Actions } from '../types';
6
6
  type ModalProps = {
7
7
  /**
8
8
  * Buttons to render in the footer.
@@ -1,6 +1,6 @@
1
- import React, { ComponentType, ReactNode } from 'react';
2
- import { WithAnalyticsEventsProps } from '@atlaskit/analytics-next';
3
- import { Actions } from '../types';
1
+ import React, { type ComponentType, type ReactNode } from 'react';
2
+ import { type WithAnalyticsEventsProps } from '@atlaskit/analytics-next';
3
+ import { type Actions } from '../types';
4
4
  export interface SpotlightDialogProps extends WithAnalyticsEventsProps {
5
5
  /**
6
6
  * Buttons to render in the footer.
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
- import { ElementBoundingBox } from '../utils/use-element-box';
3
- import { SpotlightProps } from './spotlight';
2
+ import { type ElementBoundingBox } from '../utils/use-element-box';
3
+ import { type SpotlightProps } from './spotlight';
4
4
  export interface SpotlightInnerProps extends SpotlightProps {
5
5
  /**
6
6
  * The spotlight target DOM element.
@@ -1,4 +1,4 @@
1
- import React, { ElementType, PureComponent, ReactNode } from 'react';
1
+ import React, { type ElementType, PureComponent, type ReactNode } from 'react';
2
2
  declare const TargetConsumer: React.Consumer<any>;
3
3
  declare const SpotlightContext: React.Context<{
4
4
  opened: () => void;
@@ -1,4 +1,4 @@
1
- import { ReactNode } from 'react';
1
+ import { type ReactNode } from 'react';
2
2
  interface SpotlightTargetProps {
3
3
  /**
4
4
  * A single child.
@@ -1,4 +1,4 @@
1
- import React, { ReactNode } from 'react';
1
+ import React, { type ReactNode } from 'react';
2
2
  interface SpotlightTransitionProps {
3
3
  /**
4
4
  * Children that are conditionally rendered. The transition happens based
@@ -1,5 +1,5 @@
1
- import { ComponentType, MouseEvent, ReactNode } from 'react';
2
- import { Actions } from '../types';
1
+ import { type ComponentType, type MouseEvent, type ReactNode } from 'react';
2
+ import { type Actions } from '../types';
3
3
  export interface SpotlightProps {
4
4
  /**
5
5
  * Buttons to render in the footer.
@@ -1,4 +1,4 @@
1
- import React, { ReactNode } from 'react';
1
+ import React, { type ReactNode } from 'react';
2
2
  interface ValueChangedProps {
3
3
  value: any;
4
4
  onChange: Function;
@@ -1,5 +1,5 @@
1
1
  /** @jsx jsx */
2
- import { ImgHTMLAttributes, ReactNode } from 'react';
2
+ import { type ImgHTMLAttributes, type ReactNode } from 'react';
3
3
  import { jsx } from '@emotion/react';
4
4
  type DialogImageProps = ImgHTMLAttributes<HTMLImageElement>;
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  /** @jsx jsx */
2
- import { ReactNode } from 'react';
2
+ import { type ReactNode } from 'react';
3
3
  import { jsx } from '@emotion/react';
4
4
  type ModalImageProps = {
5
5
  alt: string;
@@ -1,5 +1,5 @@
1
- import { ReactNode } from 'react';
2
- import { CustomThemeButtonProps } from '@atlaskit/button/types';
1
+ import { type ReactNode } from 'react';
2
+ import { type CustomThemeButtonProps } from '@atlaskit/button/types';
3
3
  interface Action extends Omit<CustomThemeButtonProps, 'children'> {
4
4
  key?: string;
5
5
  text?: ReactNode;
@@ -1,4 +1,4 @@
1
- import { ReactNode } from 'react';
1
+ import { type ReactNode } from 'react';
2
2
  interface FadeProps {
3
3
  hasEntered: boolean;
4
4
  children: (animationStyles: Record<string, any>) => ReactNode;
@@ -1,4 +1,4 @@
1
- import { MouseEvent } from 'react';
1
+ import { type MouseEvent } from 'react';
2
2
  export interface CloneProps {
3
3
  /**
4
4
  * Whether or not to display a pulse animation around the spotlighted element.
@@ -1,8 +1,8 @@
1
1
  /** @jsx jsx */
2
- import { Component, ElementType, ReactNode } from 'react';
2
+ import { Component, type ElementType, type ReactNode } from 'react';
3
3
  import { jsx } from '@emotion/react';
4
- import { ModalFooterProps as FooterComponentProps, ModalHeaderProps as HeaderComponentProps } from '@atlaskit/modal-dialog';
5
- import { Actions } from '../types';
4
+ import { type ModalFooterProps as FooterComponentProps, type ModalHeaderProps as HeaderComponentProps } from '@atlaskit/modal-dialog';
5
+ import { type Actions } from '../types';
6
6
  type ModalProps = {
7
7
  /**
8
8
  * Buttons to render in the footer.
@@ -1,6 +1,6 @@
1
- import React, { ComponentType, ReactNode } from 'react';
2
- import { WithAnalyticsEventsProps } from '@atlaskit/analytics-next';
3
- import { Actions } from '../types';
1
+ import React, { type ComponentType, type ReactNode } from 'react';
2
+ import { type WithAnalyticsEventsProps } from '@atlaskit/analytics-next';
3
+ import { type Actions } from '../types';
4
4
  export interface SpotlightDialogProps extends WithAnalyticsEventsProps {
5
5
  /**
6
6
  * Buttons to render in the footer.
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
- import { ElementBoundingBox } from '../utils/use-element-box';
3
- import { SpotlightProps } from './spotlight';
2
+ import { type ElementBoundingBox } from '../utils/use-element-box';
3
+ import { type SpotlightProps } from './spotlight';
4
4
  export interface SpotlightInnerProps extends SpotlightProps {
5
5
  /**
6
6
  * The spotlight target DOM element.
@@ -1,4 +1,4 @@
1
- import React, { ElementType, PureComponent, ReactNode } from 'react';
1
+ import React, { type ElementType, PureComponent, type ReactNode } from 'react';
2
2
  declare const TargetConsumer: React.Consumer<any>;
3
3
  declare const SpotlightContext: React.Context<{
4
4
  opened: () => void;
@@ -1,4 +1,4 @@
1
- import { ReactNode } from 'react';
1
+ import { type ReactNode } from 'react';
2
2
  interface SpotlightTargetProps {
3
3
  /**
4
4
  * A single child.
@@ -1,4 +1,4 @@
1
- import React, { ReactNode } from 'react';
1
+ import React, { type ReactNode } from 'react';
2
2
  interface SpotlightTransitionProps {
3
3
  /**
4
4
  * Children that are conditionally rendered. The transition happens based
@@ -1,5 +1,5 @@
1
- import { ComponentType, MouseEvent, ReactNode } from 'react';
2
- import { Actions } from '../types';
1
+ import { type ComponentType, type MouseEvent, type ReactNode } from 'react';
2
+ import { type Actions } from '../types';
3
3
  export interface SpotlightProps {
4
4
  /**
5
5
  * Buttons to render in the footer.
@@ -1,4 +1,4 @@
1
- import React, { ReactNode } from 'react';
1
+ import React, { type ReactNode } from 'react';
2
2
  interface ValueChangedProps {
3
3
  value: any;
4
4
  onChange: Function;
@@ -1,5 +1,5 @@
1
1
  /** @jsx jsx */
2
- import { ImgHTMLAttributes, ReactNode } from 'react';
2
+ import { type ImgHTMLAttributes, type ReactNode } from 'react';
3
3
  import { jsx } from '@emotion/react';
4
4
  type DialogImageProps = ImgHTMLAttributes<HTMLImageElement>;
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  /** @jsx jsx */
2
- import { ReactNode } from 'react';
2
+ import { type ReactNode } from 'react';
3
3
  import { jsx } from '@emotion/react';
4
4
  type ModalImageProps = {
5
5
  alt: string;
@@ -1,5 +1,5 @@
1
- import { ReactNode } from 'react';
2
- import { CustomThemeButtonProps } from '@atlaskit/button/types';
1
+ import { type ReactNode } from 'react';
2
+ import { type CustomThemeButtonProps } from '@atlaskit/button/types';
3
3
  interface Action extends Omit<CustomThemeButtonProps, 'children'> {
4
4
  key?: string;
5
5
  text?: ReactNode;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/onboarding",
3
- "version": "11.5.6",
3
+ "version": "11.5.7",
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/"
@@ -41,16 +41,16 @@
41
41
  },
42
42
  "dependencies": {
43
43
  "@atlaskit/analytics-next": "^9.3.0",
44
- "@atlaskit/button": "^17.14.0",
44
+ "@atlaskit/button": "^17.16.0",
45
45
  "@atlaskit/ds-lib": "^2.3.0",
46
46
  "@atlaskit/heading": "^2.3.0",
47
47
  "@atlaskit/modal-dialog": "^12.13.0",
48
48
  "@atlaskit/motion": "^1.6.0",
49
- "@atlaskit/popper": "^5.5.0",
49
+ "@atlaskit/popper": "^6.0.0",
50
50
  "@atlaskit/portal": "^4.5.0",
51
- "@atlaskit/primitives": "^6.1.0",
51
+ "@atlaskit/primitives": "^6.3.0",
52
52
  "@atlaskit/theme": "^12.8.0",
53
- "@atlaskit/tokens": "^1.48.0",
53
+ "@atlaskit/tokens": "^1.49.0",
54
54
  "@babel/runtime": "^7.0.0",
55
55
  "@emotion/react": "^11.7.1",
56
56
  "bind-event-listener": "^3.0.0",