@atlaskit/editor-plugin-loom 10.0.0 → 10.0.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 +12 -0
- package/dist/cjs/ui/ToolbarButtonComponent.js +3 -2
- package/dist/es2019/ui/ToolbarButtonComponent.js +3 -2
- package/dist/esm/ui/ToolbarButtonComponent.js +3 -2
- package/dist/types/ui/LoomMenuItem.d.ts +1 -1
- package/dist/types/ui/ToolbarButtonComponent.d.ts +3 -3
- package/dist/types-ts4.5/ui/LoomMenuItem.d.ts +1 -1
- package/dist/types-ts4.5/ui/ToolbarButtonComponent.d.ts +3 -3
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -84,6 +84,7 @@ var LoomToolbarButtonInternal = /*#__PURE__*/_react.default.forwardRef(function
|
|
|
84
84
|
rel: rel
|
|
85
85
|
}, shouldShowRecordText && formatMessage(_messages.toolbarInsertBlockMessages.recordLoomShortTitle));
|
|
86
86
|
});
|
|
87
|
-
var
|
|
87
|
+
var _default_1 = (0, _reactIntlNext.injectIntl)(LoomToolbarButtonInternal, {
|
|
88
88
|
forwardRef: true
|
|
89
|
-
});
|
|
89
|
+
});
|
|
90
|
+
var _default = exports.default = _default_1;
|
|
@@ -80,6 +80,7 @@ const LoomToolbarButtonInternal = /*#__PURE__*/React.forwardRef(({
|
|
|
80
80
|
rel: rel
|
|
81
81
|
}, shouldShowRecordText && formatMessage(toolbarInsertBlockMessages.recordLoomShortTitle));
|
|
82
82
|
});
|
|
83
|
-
|
|
83
|
+
const _default_1 = injectIntl(LoomToolbarButtonInternal, {
|
|
84
84
|
forwardRef: true
|
|
85
|
-
});
|
|
85
|
+
});
|
|
86
|
+
export default _default_1;
|
|
@@ -76,6 +76,7 @@ var LoomToolbarButtonInternal = /*#__PURE__*/React.forwardRef(function (_ref, re
|
|
|
76
76
|
rel: rel
|
|
77
77
|
}, shouldShowRecordText && formatMessage(toolbarInsertBlockMessages.recordLoomShortTitle));
|
|
78
78
|
});
|
|
79
|
-
|
|
79
|
+
var _default_1 = injectIntl(LoomToolbarButtonInternal, {
|
|
80
80
|
forwardRef: true
|
|
81
|
-
});
|
|
81
|
+
});
|
|
82
|
+
export default _default_1;
|
|
@@ -4,5 +4,5 @@ import type { LoomPlugin } from '../loomPluginType';
|
|
|
4
4
|
import type { ButtonComponentProps, LoomPluginOptions } from '../types';
|
|
5
5
|
export declare const LoomMenuItem: ({ api, renderButton, }: {
|
|
6
6
|
api: ExtractInjectionAPI<LoomPlugin> | undefined;
|
|
7
|
-
} & Pick<LoomPluginOptions, "renderButton">) => JSX.Element | null | undefined;
|
|
7
|
+
} & Pick<LoomPluginOptions, "renderButton">) => React.JSX.Element | null | undefined;
|
|
8
8
|
export declare const CustomisableLoomMenuItem: (api: ExtractInjectionAPI<LoomPlugin> | undefined) => React.ForwardRefExoticComponent<ButtonComponentProps & React.RefAttributes<HTMLElement>>;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
5
|
import React from 'react';
|
|
6
|
-
import type { WrappedComponentProps } from 'react-intl-next';
|
|
6
|
+
import type { WithIntlProps, WrappedComponentProps } from 'react-intl-next';
|
|
7
7
|
import type { EditorAppearance, ExtractInjectionAPI } from '@atlaskit/editor-common/types';
|
|
8
8
|
import type { LoomPlugin } from '../loomPluginType';
|
|
9
9
|
import { type ButtonComponentProps } from '../types';
|
|
@@ -14,7 +14,7 @@ interface Props extends Omit<ButtonComponentProps, 'onClickBeforeInit'> {
|
|
|
14
14
|
hideTooltip?: boolean;
|
|
15
15
|
onClick: (event: React.MouseEvent<HTMLElement>) => void;
|
|
16
16
|
}
|
|
17
|
-
declare const
|
|
17
|
+
declare const _default_1: React.ForwardRefExoticComponent<Omit<WithIntlProps<React.PropsWithChildren<Props & WrappedComponentProps & React.RefAttributes<HTMLElement>>>, 'ref'> & React.RefAttributes<any>> & {
|
|
18
18
|
WrappedComponent: React.ComponentType<Props & WrappedComponentProps & React.RefAttributes<HTMLElement>>;
|
|
19
19
|
};
|
|
20
|
-
export default
|
|
20
|
+
export default _default_1;
|
|
@@ -4,5 +4,5 @@ import type { LoomPlugin } from '../loomPluginType';
|
|
|
4
4
|
import type { ButtonComponentProps, LoomPluginOptions } from '../types';
|
|
5
5
|
export declare const LoomMenuItem: ({ api, renderButton, }: {
|
|
6
6
|
api: ExtractInjectionAPI<LoomPlugin> | undefined;
|
|
7
|
-
} & Pick<LoomPluginOptions, "renderButton">) => JSX.Element | null | undefined;
|
|
7
|
+
} & Pick<LoomPluginOptions, "renderButton">) => React.JSX.Element | null | undefined;
|
|
8
8
|
export declare const CustomisableLoomMenuItem: (api: ExtractInjectionAPI<LoomPlugin> | undefined) => React.ForwardRefExoticComponent<ButtonComponentProps & React.RefAttributes<HTMLElement>>;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
5
|
import React from 'react';
|
|
6
|
-
import type { WrappedComponentProps } from 'react-intl-next';
|
|
6
|
+
import type { WithIntlProps, WrappedComponentProps } from 'react-intl-next';
|
|
7
7
|
import type { EditorAppearance, ExtractInjectionAPI } from '@atlaskit/editor-common/types';
|
|
8
8
|
import type { LoomPlugin } from '../loomPluginType';
|
|
9
9
|
import { type ButtonComponentProps } from '../types';
|
|
@@ -14,7 +14,7 @@ interface Props extends Omit<ButtonComponentProps, 'onClickBeforeInit'> {
|
|
|
14
14
|
hideTooltip?: boolean;
|
|
15
15
|
onClick: (event: React.MouseEvent<HTMLElement>) => void;
|
|
16
16
|
}
|
|
17
|
-
declare const
|
|
17
|
+
declare const _default_1: React.ForwardRefExoticComponent<Omit<WithIntlProps<React.PropsWithChildren<Props & WrappedComponentProps & React.RefAttributes<HTMLElement>>>, 'ref'> & React.RefAttributes<any>> & {
|
|
18
18
|
WrappedComponent: React.ComponentType<Props & WrappedComponentProps & React.RefAttributes<HTMLElement>>;
|
|
19
19
|
};
|
|
20
|
-
export default
|
|
20
|
+
export default _default_1;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-loom",
|
|
3
|
-
"version": "10.0.
|
|
3
|
+
"version": "10.0.2",
|
|
4
4
|
"description": "Loom plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -39,11 +39,11 @@
|
|
|
39
39
|
"@atlaskit/editor-plugin-hyperlink": "^10.0.0",
|
|
40
40
|
"@atlaskit/editor-plugin-primary-toolbar": "^9.0.0",
|
|
41
41
|
"@atlaskit/editor-plugin-quick-insert": "^8.0.0",
|
|
42
|
-
"@atlaskit/editor-plugin-toolbar": "^5.
|
|
42
|
+
"@atlaskit/editor-plugin-toolbar": "^5.1.0",
|
|
43
43
|
"@atlaskit/editor-plugin-width": "^9.0.0",
|
|
44
44
|
"@atlaskit/editor-prosemirror": "^7.3.0",
|
|
45
|
-
"@atlaskit/editor-toolbar": "^0.
|
|
46
|
-
"@atlaskit/icon": "^
|
|
45
|
+
"@atlaskit/editor-toolbar": "^0.20.0",
|
|
46
|
+
"@atlaskit/icon": "^33.0.0",
|
|
47
47
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
48
48
|
"@atlaskit/tokens": "^11.1.0",
|
|
49
49
|
"@babel/runtime": "^7.0.0",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"@loomhq/record-sdk": "^4.9.1"
|
|
52
52
|
},
|
|
53
53
|
"peerDependencies": {
|
|
54
|
-
"@atlaskit/editor-common": "^112.
|
|
54
|
+
"@atlaskit/editor-common": "^112.4.0",
|
|
55
55
|
"react": "^18.2.0",
|
|
56
56
|
"react-dom": "^18.2.0",
|
|
57
57
|
"react-intl-next": "npm:react-intl@^5.18.1"
|