@atlaskit/editor-plugin-expand 8.1.1 → 8.1.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 +6 -0
- package/dist/cjs/legacyExpand/ui/ExpandIconButton.js +1 -1
- package/dist/es2019/legacyExpand/ui/ExpandIconButton.js +1 -1
- package/dist/esm/legacyExpand/ui/ExpandIconButton.js +1 -1
- package/dist/types/legacyExpand/ui/ExpandIconButton.d.ts +16 -16
- package/dist/types-ts4.5/legacyExpand/ui/ExpandIconButton.d.ts +16 -16
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -30,7 +30,7 @@ function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0,
|
|
|
30
30
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } /**
|
|
31
31
|
* @jsxRuntime classic
|
|
32
32
|
* @jsx jsx
|
|
33
|
-
*/ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
33
|
+
*/ // eslint-disable-next-line @typescript-eslint/consistent-type-imports, @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
34
34
|
var withTooltip = exports.withTooltip = function withTooltip(WrapperComponent) {
|
|
35
35
|
return /*#__PURE__*/function (_React$Component) {
|
|
36
36
|
function WithSortableColumn(props) {
|
|
@@ -5,7 +5,7 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
5
5
|
*/
|
|
6
6
|
import React, { useCallback } from 'react';
|
|
7
7
|
|
|
8
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
8
|
+
// eslint-disable-next-line @typescript-eslint/consistent-type-imports, @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
9
9
|
import { jsx } from '@emotion/react';
|
|
10
10
|
import Button from '@atlaskit/button/custom-theme-button';
|
|
11
11
|
import { expandClassNames } from '@atlaskit/editor-common/styles';
|
|
@@ -17,7 +17,7 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
|
|
|
17
17
|
*/
|
|
18
18
|
import React, { useCallback } from 'react';
|
|
19
19
|
|
|
20
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
20
|
+
// eslint-disable-next-line @typescript-eslint/consistent-type-imports, @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
21
21
|
import { jsx } from '@emotion/react';
|
|
22
22
|
import Button from '@atlaskit/button/custom-theme-button';
|
|
23
23
|
import { expandClassNames } from '@atlaskit/editor-common/styles';
|
|
@@ -15,27 +15,27 @@ interface ExpandIconButtonWithLabelProps extends ExpandIconButtonProps {
|
|
|
15
15
|
}
|
|
16
16
|
export declare const withTooltip: (WrapperComponent: React.ElementType) => {
|
|
17
17
|
new (props: ExpandIconButtonWithLabelProps): {
|
|
18
|
-
|
|
18
|
+
componentDidCatch?: (error: Error, errorInfo: React.ErrorInfo) => void;
|
|
19
|
+
componentDidMount?: () => void;
|
|
20
|
+
componentDidUpdate?: (prevProps: Readonly<ExpandIconButtonWithLabelProps>, prevState: Readonly<{}>, snapshot?: any) => void;
|
|
21
|
+
componentWillMount?: () => void;
|
|
22
|
+
componentWillReceiveProps?: (nextProps: Readonly<ExpandIconButtonWithLabelProps>, nextContext: any) => void;
|
|
23
|
+
componentWillUnmount?: () => void;
|
|
24
|
+
componentWillUpdate?: (nextProps: Readonly<ExpandIconButtonWithLabelProps>, nextState: Readonly<{}>, nextContext: any) => void;
|
|
19
25
|
context: unknown;
|
|
20
|
-
|
|
21
|
-
|
|
26
|
+
forceUpdate: (callback?: (() => void) | undefined) => void;
|
|
27
|
+
getSnapshotBeforeUpdate?: (prevProps: Readonly<ExpandIconButtonWithLabelProps>, prevState: Readonly<{}>) => any;
|
|
22
28
|
readonly props: Readonly<ExpandIconButtonWithLabelProps>;
|
|
23
|
-
state: Readonly<{}>;
|
|
24
29
|
refs: {
|
|
25
30
|
[key: string]: React.ReactInstance;
|
|
26
31
|
};
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
UNSAFE_componentWillMount?(): void;
|
|
35
|
-
componentWillReceiveProps?(nextProps: Readonly<ExpandIconButtonWithLabelProps>, nextContext: any): void;
|
|
36
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<ExpandIconButtonWithLabelProps>, nextContext: any): void;
|
|
37
|
-
componentWillUpdate?(nextProps: Readonly<ExpandIconButtonWithLabelProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
38
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<ExpandIconButtonWithLabelProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
32
|
+
render: () => jsx.JSX.Element;
|
|
33
|
+
setState: <K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<ExpandIconButtonWithLabelProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined) => void;
|
|
34
|
+
shouldComponentUpdate?: (nextProps: Readonly<ExpandIconButtonWithLabelProps>, nextState: Readonly<{}>, nextContext: any) => boolean;
|
|
35
|
+
state: Readonly<{}>;
|
|
36
|
+
UNSAFE_componentWillMount?: () => void;
|
|
37
|
+
UNSAFE_componentWillReceiveProps?: (nextProps: Readonly<ExpandIconButtonWithLabelProps>, nextContext: any) => void;
|
|
38
|
+
UNSAFE_componentWillUpdate?: (nextProps: Readonly<ExpandIconButtonWithLabelProps>, nextState: Readonly<{}>, nextContext: any) => void;
|
|
39
39
|
};
|
|
40
40
|
contextType?: React.Context<any> | undefined;
|
|
41
41
|
};
|
|
@@ -15,27 +15,27 @@ interface ExpandIconButtonWithLabelProps extends ExpandIconButtonProps {
|
|
|
15
15
|
}
|
|
16
16
|
export declare const withTooltip: (WrapperComponent: React.ElementType) => {
|
|
17
17
|
new (props: ExpandIconButtonWithLabelProps): {
|
|
18
|
-
|
|
18
|
+
componentDidCatch?: (error: Error, errorInfo: React.ErrorInfo) => void;
|
|
19
|
+
componentDidMount?: () => void;
|
|
20
|
+
componentDidUpdate?: (prevProps: Readonly<ExpandIconButtonWithLabelProps>, prevState: Readonly<{}>, snapshot?: any) => void;
|
|
21
|
+
componentWillMount?: () => void;
|
|
22
|
+
componentWillReceiveProps?: (nextProps: Readonly<ExpandIconButtonWithLabelProps>, nextContext: any) => void;
|
|
23
|
+
componentWillUnmount?: () => void;
|
|
24
|
+
componentWillUpdate?: (nextProps: Readonly<ExpandIconButtonWithLabelProps>, nextState: Readonly<{}>, nextContext: any) => void;
|
|
19
25
|
context: unknown;
|
|
20
|
-
|
|
21
|
-
|
|
26
|
+
forceUpdate: (callback?: (() => void) | undefined) => void;
|
|
27
|
+
getSnapshotBeforeUpdate?: (prevProps: Readonly<ExpandIconButtonWithLabelProps>, prevState: Readonly<{}>) => any;
|
|
22
28
|
readonly props: Readonly<ExpandIconButtonWithLabelProps>;
|
|
23
|
-
state: Readonly<{}>;
|
|
24
29
|
refs: {
|
|
25
30
|
[key: string]: React.ReactInstance;
|
|
26
31
|
};
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
UNSAFE_componentWillMount?(): void;
|
|
35
|
-
componentWillReceiveProps?(nextProps: Readonly<ExpandIconButtonWithLabelProps>, nextContext: any): void;
|
|
36
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<ExpandIconButtonWithLabelProps>, nextContext: any): void;
|
|
37
|
-
componentWillUpdate?(nextProps: Readonly<ExpandIconButtonWithLabelProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
38
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<ExpandIconButtonWithLabelProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
32
|
+
render: () => jsx.JSX.Element;
|
|
33
|
+
setState: <K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<ExpandIconButtonWithLabelProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined) => void;
|
|
34
|
+
shouldComponentUpdate?: (nextProps: Readonly<ExpandIconButtonWithLabelProps>, nextState: Readonly<{}>, nextContext: any) => boolean;
|
|
35
|
+
state: Readonly<{}>;
|
|
36
|
+
UNSAFE_componentWillMount?: () => void;
|
|
37
|
+
UNSAFE_componentWillReceiveProps?: (nextProps: Readonly<ExpandIconButtonWithLabelProps>, nextContext: any) => void;
|
|
38
|
+
UNSAFE_componentWillUpdate?: (nextProps: Readonly<ExpandIconButtonWithLabelProps>, nextState: Readonly<{}>, nextContext: any) => void;
|
|
39
39
|
};
|
|
40
40
|
contextType?: React.Context<any> | undefined;
|
|
41
41
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-expand",
|
|
3
|
-
"version": "8.1.
|
|
3
|
+
"version": "8.1.2",
|
|
4
4
|
"description": "Expand plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -44,12 +44,12 @@
|
|
|
44
44
|
"@atlaskit/editor-shared-styles": "^3.10.0",
|
|
45
45
|
"@atlaskit/editor-tables": "^2.9.0",
|
|
46
46
|
"@atlaskit/editor-toolbar": "^0.19.0",
|
|
47
|
-
"@atlaskit/icon": "^
|
|
47
|
+
"@atlaskit/icon": "^30.0.0",
|
|
48
48
|
"@atlaskit/icon-lab": "^5.14.0",
|
|
49
49
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
50
50
|
"@atlaskit/prosemirror-history": "^0.2.0",
|
|
51
|
-
"@atlaskit/tmp-editor-statsig": "^16.
|
|
52
|
-
"@atlaskit/tokens": "^10.
|
|
51
|
+
"@atlaskit/tmp-editor-statsig": "^16.30.0",
|
|
52
|
+
"@atlaskit/tokens": "^10.1.0",
|
|
53
53
|
"@atlaskit/tooltip": "^20.14.0",
|
|
54
54
|
"@babel/runtime": "^7.0.0",
|
|
55
55
|
"@emotion/react": "^11.7.1",
|