@atlaskit/editor-plugin-quick-insert 7.4.11 → 7.5.1
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,22 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-quick-insert
|
|
2
2
|
|
|
3
|
+
## 7.5.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 7.5.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- [`f444a0d3e2c0b`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/f444a0d3e2c0b) -
|
|
14
|
+
[FFCLEANUP-79468] clean up platform_editor_dec_a11y_fixes feature gate
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- Updated dependencies
|
|
19
|
+
|
|
3
20
|
## 7.4.11
|
|
4
21
|
|
|
5
22
|
### Patch Changes
|
|
@@ -15,7 +15,6 @@ var _elementBrowser = require("@atlaskit/editor-common/element-browser");
|
|
|
15
15
|
var _quickInsert = require("@atlaskit/editor-common/quick-insert");
|
|
16
16
|
var _questionCircle = _interopRequireDefault(require("@atlaskit/icon/core/question-circle"));
|
|
17
17
|
var _modalDialog = _interopRequireWildcard(require("@atlaskit/modal-dialog"));
|
|
18
|
-
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
19
18
|
var _colors = require("@atlaskit/theme/colors");
|
|
20
19
|
var _categories = require("./categories");
|
|
21
20
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
@@ -133,13 +132,13 @@ var Footer = function Footer(_ref) {
|
|
|
133
132
|
appearance: "primary",
|
|
134
133
|
onClick: onInsert,
|
|
135
134
|
testId: "ModalElementBrowser__insert-button"
|
|
136
|
-
},
|
|
135
|
+
}, intl.formatMessage(_quickInsert.messages.insert))), (0, _react2.jsx)("div", {
|
|
137
136
|
css: actionItemStyles
|
|
138
137
|
}, (0, _react2.jsx)(_button.default, {
|
|
139
138
|
appearance: "subtle",
|
|
140
139
|
onClick: onClose,
|
|
141
140
|
testId: "ModalElementBrowser__close-button"
|
|
142
|
-
},
|
|
141
|
+
}, intl.formatMessage(_quickInsert.messages.close)))));
|
|
143
142
|
};
|
|
144
143
|
var HelpLink = function HelpLink(url, helpText) {
|
|
145
144
|
return (0, _react2.jsx)(_button.default, {
|
|
@@ -12,7 +12,6 @@ import { ElementBrowser } from '@atlaskit/editor-common/element-browser';
|
|
|
12
12
|
import { messages } from '@atlaskit/editor-common/quick-insert';
|
|
13
13
|
import QuestionCircleIcon from '@atlaskit/icon/core/question-circle';
|
|
14
14
|
import Modal, { CloseButton, ModalTransition, useModal } from '@atlaskit/modal-dialog';
|
|
15
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
16
15
|
import { N0 } from '@atlaskit/theme/colors';
|
|
17
16
|
import { getCategories } from './categories';
|
|
18
17
|
export const MODAL_WRAPPER_PADDING = 16;
|
|
@@ -117,13 +116,13 @@ const Footer = ({
|
|
|
117
116
|
appearance: "primary",
|
|
118
117
|
onClick: onInsert,
|
|
119
118
|
testId: "ModalElementBrowser__insert-button"
|
|
120
|
-
},
|
|
119
|
+
}, intl.formatMessage(messages.insert))), jsx("div", {
|
|
121
120
|
css: actionItemStyles
|
|
122
121
|
}, jsx(Button, {
|
|
123
122
|
appearance: "subtle",
|
|
124
123
|
onClick: onClose,
|
|
125
124
|
testId: "ModalElementBrowser__close-button"
|
|
126
|
-
},
|
|
125
|
+
}, intl.formatMessage(messages.close)))));
|
|
127
126
|
};
|
|
128
127
|
const HelpLink = (url, helpText) => jsx(Button, {
|
|
129
128
|
iconBefore: jsx(QuestionCircleIcon, {
|
|
@@ -13,7 +13,6 @@ import { ElementBrowser } from '@atlaskit/editor-common/element-browser';
|
|
|
13
13
|
import { messages } from '@atlaskit/editor-common/quick-insert';
|
|
14
14
|
import QuestionCircleIcon from '@atlaskit/icon/core/question-circle';
|
|
15
15
|
import Modal, { CloseButton, ModalTransition, useModal } from '@atlaskit/modal-dialog';
|
|
16
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
17
16
|
import { N0 } from '@atlaskit/theme/colors';
|
|
18
17
|
import { getCategories } from './categories';
|
|
19
18
|
export var MODAL_WRAPPER_PADDING = 16;
|
|
@@ -123,13 +122,13 @@ var Footer = function Footer(_ref) {
|
|
|
123
122
|
appearance: "primary",
|
|
124
123
|
onClick: onInsert,
|
|
125
124
|
testId: "ModalElementBrowser__insert-button"
|
|
126
|
-
},
|
|
125
|
+
}, intl.formatMessage(messages.insert))), jsx("div", {
|
|
127
126
|
css: actionItemStyles
|
|
128
127
|
}, jsx(Button, {
|
|
129
128
|
appearance: "subtle",
|
|
130
129
|
onClick: onClose,
|
|
131
130
|
testId: "ModalElementBrowser__close-button"
|
|
132
|
-
},
|
|
131
|
+
}, intl.formatMessage(messages.close)))));
|
|
133
132
|
};
|
|
134
133
|
var HelpLink = function HelpLink(url, helpText) {
|
|
135
134
|
return jsx(Button, {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-quick-insert",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.5.1",
|
|
4
4
|
"description": "Quick insert plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -39,13 +39,13 @@
|
|
|
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": "^35.0.0",
|
|
43
43
|
"@atlaskit/tokens": "^11.0.0",
|
|
44
44
|
"@babel/runtime": "^7.0.0",
|
|
45
45
|
"@emotion/react": "^11.7.1"
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|
|
48
|
-
"@atlaskit/editor-common": "^111.
|
|
48
|
+
"@atlaskit/editor-common": "^111.30.0",
|
|
49
49
|
"react": "^18.2.0",
|
|
50
50
|
"react-dom": "^18.2.0",
|
|
51
51
|
"react-intl-next": "npm:react-intl@^5.18.1"
|
|
@@ -99,9 +99,6 @@
|
|
|
99
99
|
},
|
|
100
100
|
"platform_editor_controls_fix_view_more_in_comment": {
|
|
101
101
|
"type": "boolean"
|
|
102
|
-
},
|
|
103
|
-
"platform_editor_dec_a11y_fixes": {
|
|
104
|
-
"type": "boolean"
|
|
105
102
|
}
|
|
106
103
|
}
|
|
107
104
|
}
|