@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.
- package/CHANGELOG.md +6 -0
- package/dist/cjs/components/spotlight-dialog.js +1 -1
- package/dist/es2019/components/spotlight-dialog.js +1 -1
- package/dist/esm/components/spotlight-dialog.js +1 -1
- package/dist/types/components/animation.d.ts +1 -1
- package/dist/types/components/clone.d.ts +1 -1
- package/dist/types/components/modal.d.ts +3 -3
- package/dist/types/components/spotlight-dialog.d.ts +3 -3
- package/dist/types/components/spotlight-inner.d.ts +2 -2
- package/dist/types/components/spotlight-manager.d.ts +1 -1
- package/dist/types/components/spotlight-target.d.ts +1 -1
- package/dist/types/components/spotlight-transition.d.ts +1 -1
- package/dist/types/components/spotlight.d.ts +2 -2
- package/dist/types/components/value-changed.d.ts +1 -1
- package/dist/types/styled/dialog.d.ts +1 -1
- package/dist/types/styled/modal.d.ts +1 -1
- package/dist/types/types.d.ts +2 -2
- package/dist/types-ts4.5/components/animation.d.ts +1 -1
- package/dist/types-ts4.5/components/clone.d.ts +1 -1
- package/dist/types-ts4.5/components/modal.d.ts +3 -3
- package/dist/types-ts4.5/components/spotlight-dialog.d.ts +3 -3
- package/dist/types-ts4.5/components/spotlight-inner.d.ts +2 -2
- package/dist/types-ts4.5/components/spotlight-manager.d.ts +1 -1
- package/dist/types-ts4.5/components/spotlight-target.d.ts +1 -1
- package/dist/types-ts4.5/components/spotlight-transition.d.ts +1 -1
- package/dist/types-ts4.5/components/spotlight.d.ts +2 -2
- package/dist/types-ts4.5/components/value-changed.d.ts +1 -1
- package/dist/types-ts4.5/styled/dialog.d.ts +1 -1
- package/dist/types-ts4.5/styled/modal.d.ts +1 -1
- package/dist/types-ts4.5/types.d.ts +2 -2
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -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.
|
|
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.
|
|
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.
|
|
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,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,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.
|
package/dist/types/types.d.ts
CHANGED
|
@@ -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,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,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,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.
|
|
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.
|
|
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": "^
|
|
49
|
+
"@atlaskit/popper": "^6.0.0",
|
|
50
50
|
"@atlaskit/portal": "^4.5.0",
|
|
51
|
-
"@atlaskit/primitives": "^6.
|
|
51
|
+
"@atlaskit/primitives": "^6.3.0",
|
|
52
52
|
"@atlaskit/theme": "^12.8.0",
|
|
53
|
-
"@atlaskit/tokens": "^1.
|
|
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",
|