@atlaskit/editor-plugin-expand 8.1.0 → 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 CHANGED
@@ -1,5 +1,17 @@
1
1
  # @atlaskit/editor-plugin-expand
2
2
 
3
+ ## 8.1.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 8.1.1
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 8.1.0
4
16
 
5
17
  ### Minor Changes
@@ -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
- render(): jsx.JSX.Element;
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
- setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<ExpandIconButtonWithLabelProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
21
- forceUpdate(callback?: (() => void) | undefined): void;
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
- componentDidMount?(): void;
28
- shouldComponentUpdate?(nextProps: Readonly<ExpandIconButtonWithLabelProps>, nextState: Readonly<{}>, nextContext: any): boolean;
29
- componentWillUnmount?(): void;
30
- componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
31
- getSnapshotBeforeUpdate?(prevProps: Readonly<ExpandIconButtonWithLabelProps>, prevState: Readonly<{}>): any;
32
- componentDidUpdate?(prevProps: Readonly<ExpandIconButtonWithLabelProps>, prevState: Readonly<{}>, snapshot?: any): void;
33
- componentWillMount?(): void;
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
- render(): jsx.JSX.Element;
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
- setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<ExpandIconButtonWithLabelProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
21
- forceUpdate(callback?: (() => void) | undefined): void;
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
- componentDidMount?(): void;
28
- shouldComponentUpdate?(nextProps: Readonly<ExpandIconButtonWithLabelProps>, nextState: Readonly<{}>, nextContext: any): boolean;
29
- componentWillUnmount?(): void;
30
- componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
31
- getSnapshotBeforeUpdate?(prevProps: Readonly<ExpandIconButtonWithLabelProps>, prevState: Readonly<{}>): any;
32
- componentDidUpdate?(prevProps: Readonly<ExpandIconButtonWithLabelProps>, prevState: Readonly<{}>, snapshot?: any): void;
33
- componentWillMount?(): void;
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.0",
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,20 +44,20 @@
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": "^29.4.0",
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.12.0",
52
- "@atlaskit/tokens": "^9.1.0",
53
- "@atlaskit/tooltip": "^20.12.0",
51
+ "@atlaskit/tmp-editor-statsig": "^16.30.0",
52
+ "@atlaskit/tokens": "^10.1.0",
53
+ "@atlaskit/tooltip": "^20.14.0",
54
54
  "@babel/runtime": "^7.0.0",
55
55
  "@emotion/react": "^11.7.1",
56
56
  "uuid": "^3.1.0",
57
57
  "w3c-keyname": "^2.1.8"
58
58
  },
59
59
  "peerDependencies": {
60
- "@atlaskit/editor-common": "^111.7.0",
60
+ "@atlaskit/editor-common": "^111.8.0",
61
61
  "react": "^18.2.0",
62
62
  "react-dom": "^18.2.0",
63
63
  "react-intl-next": "npm:react-intl@^5.18.1"