@atlaskit/editor-plugin-quick-insert 8.0.9 → 8.0.10
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/ui/ModalElementBrowser/ModalElementBrowser.js +1 -1
- package/dist/cjs/ui/ModalElementBrowser/index.js +3 -1
- package/dist/es2019/ui/ModalElementBrowser/ModalElementBrowser.js +1 -1
- package/dist/es2019/ui/ModalElementBrowser/index.js +3 -1
- package/dist/esm/ui/ModalElementBrowser/ModalElementBrowser.js +1 -1
- package/dist/esm/ui/ModalElementBrowser/index.js +3 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -73,7 +73,7 @@ var ModalElementBrowser = function ModalElementBrowser(props) {
|
|
|
73
73
|
var RenderFooter = (0, _react.useCallback)(function () {
|
|
74
74
|
return (0, _react2.jsx)(Footer
|
|
75
75
|
// Ignored via go/ees005
|
|
76
|
-
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
76
|
+
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
77
77
|
, {
|
|
78
78
|
onInsert: function onInsert() {
|
|
79
79
|
return onInsertItem(selectedItem);
|
|
@@ -106,7 +106,9 @@ var _default = exports.default = function _default(_ref2) {
|
|
|
106
106
|
isElementBrowserModalOpen = _useSharedPluginState.isElementBrowserModalOpen,
|
|
107
107
|
emptyStateHandler = _useSharedPluginState.emptyStateHandler,
|
|
108
108
|
mode = _useSharedPluginState.mode;
|
|
109
|
-
return /*#__PURE__*/_react.default.createElement(Modal
|
|
109
|
+
return /*#__PURE__*/_react.default.createElement(Modal
|
|
110
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
111
|
+
, {
|
|
110
112
|
quickInsertState: {
|
|
111
113
|
lazyDefaultItems: lazyDefaultItems,
|
|
112
114
|
providedItems: providedItems,
|
|
@@ -60,7 +60,7 @@ const ModalElementBrowser = props => {
|
|
|
60
60
|
}, [onInsertItemFn]);
|
|
61
61
|
const RenderFooter = useCallback(() => jsx(Footer
|
|
62
62
|
// Ignored via go/ees005
|
|
63
|
-
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
63
|
+
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
64
64
|
, {
|
|
65
65
|
onInsert: () => onInsertItem(selectedItem),
|
|
66
66
|
beforeElement: helpUrl ? HelpLink(helpUrl, intl.formatMessage(messages.help)) : undefined
|
|
@@ -98,7 +98,9 @@ export default (({
|
|
|
98
98
|
mode: (_state$connectivitySt = state.connectivityState) === null || _state$connectivitySt === void 0 ? void 0 : _state$connectivitySt.mode
|
|
99
99
|
};
|
|
100
100
|
});
|
|
101
|
-
return /*#__PURE__*/React.createElement(Modal
|
|
101
|
+
return /*#__PURE__*/React.createElement(Modal
|
|
102
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
103
|
+
, {
|
|
102
104
|
quickInsertState: {
|
|
103
105
|
lazyDefaultItems,
|
|
104
106
|
providedItems,
|
|
@@ -63,7 +63,7 @@ var ModalElementBrowser = function ModalElementBrowser(props) {
|
|
|
63
63
|
var RenderFooter = useCallback(function () {
|
|
64
64
|
return jsx(Footer
|
|
65
65
|
// Ignored via go/ees005
|
|
66
|
-
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
66
|
+
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
67
67
|
, {
|
|
68
68
|
onInsert: function onInsert() {
|
|
69
69
|
return onInsertItem(selectedItem);
|
|
@@ -97,7 +97,9 @@ export default (function (_ref2) {
|
|
|
97
97
|
isElementBrowserModalOpen = _useSharedPluginState.isElementBrowserModalOpen,
|
|
98
98
|
emptyStateHandler = _useSharedPluginState.emptyStateHandler,
|
|
99
99
|
mode = _useSharedPluginState.mode;
|
|
100
|
-
return /*#__PURE__*/React.createElement(Modal
|
|
100
|
+
return /*#__PURE__*/React.createElement(Modal
|
|
101
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
102
|
+
, {
|
|
101
103
|
quickInsertState: {
|
|
102
104
|
lazyDefaultItems: lazyDefaultItems,
|
|
103
105
|
providedItems: providedItems,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-quick-insert",
|
|
3
|
-
"version": "8.0.
|
|
3
|
+
"version": "8.0.10",
|
|
4
4
|
"description": "Quick insert plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"@atlaskit/modal-dialog": "^14.11.0",
|
|
40
40
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
41
41
|
"@atlaskit/theme": "^22.0.0",
|
|
42
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
42
|
+
"@atlaskit/tmp-editor-statsig": "^44.0.0",
|
|
43
43
|
"@atlaskit/tokens": "^11.1.0",
|
|
44
44
|
"@babel/runtime": "^7.0.0",
|
|
45
45
|
"@emotion/react": "^11.7.1"
|