@atlaskit/editor-plugin-quick-insert 18.0.9 → 18.0.11
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 +14 -0
- package/dist/cjs/ui/BlockControlQuickInsertButton.js +1 -1
- package/dist/cjs/ui/RegistryElementBrowser/RegistryElementBrowser.js +7 -2
- package/dist/cjs/ui/RegistryElementBrowser/RegistryElementBrowserCategories.js +1 -1
- package/dist/cjs/ui/RegistryElementBrowser/RegistryElementBrowserSearchResults.js +1 -1
- package/dist/es2019/ui/BlockControlQuickInsertButton.js +1 -1
- package/dist/es2019/ui/RegistryElementBrowser/RegistryElementBrowser.js +7 -2
- package/dist/es2019/ui/RegistryElementBrowser/RegistryElementBrowserCategories.js +1 -1
- package/dist/es2019/ui/RegistryElementBrowser/RegistryElementBrowserSearchResults.js +1 -1
- package/dist/esm/ui/BlockControlQuickInsertButton.js +1 -1
- package/dist/esm/ui/RegistryElementBrowser/RegistryElementBrowser.js +7 -2
- package/dist/esm/ui/RegistryElementBrowser/RegistryElementBrowserCategories.js +1 -1
- package/dist/esm/ui/RegistryElementBrowser/RegistryElementBrowserSearchResults.js +1 -1
- package/package.json +7 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-quick-insert
|
|
2
2
|
|
|
3
|
+
## 18.0.11
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 18.0.10
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`c7ac8f1cd5f6b`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/c7ac8f1cd5f6b) -
|
|
14
|
+
Migrate modal titles to ModalTitle behind platform_dst_modal-dialog-use-modal-title.
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
|
|
3
17
|
## 18.0.9
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* BlockControlQuickInsertButton.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* BlockControlQuickInsertButton.tsx generated by @compiled/babel-plugin v3.0.2 */
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* RegistryElementBrowser.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* RegistryElementBrowser.tsx generated by @compiled/babel-plugin v3.0.2 */
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
@@ -22,7 +22,9 @@ var _modalDialog = _interopRequireDefault(require("@atlaskit/modal-dialog/modal-
|
|
|
22
22
|
var _modalBody = _interopRequireDefault(require("@atlaskit/modal-dialog/modal-body"));
|
|
23
23
|
var _modalFooter = _interopRequireDefault(require("@atlaskit/modal-dialog/modal-footer"));
|
|
24
24
|
var _modalHeader = _interopRequireDefault(require("@atlaskit/modal-dialog/modal-header"));
|
|
25
|
+
var _modalTitle = _interopRequireDefault(require("@atlaskit/modal-dialog/modal-title"));
|
|
25
26
|
var _modalTransition = _interopRequireDefault(require("@atlaskit/modal-dialog/modal-transition"));
|
|
27
|
+
var _fg = require("@atlaskit/platform-feature-flags/fg");
|
|
26
28
|
var _textField = _interopRequireDefault(require("@atlaskit/textfield/text-field"));
|
|
27
29
|
var _model = require("./model");
|
|
28
30
|
var _RegistryElementBrowserCategories = require("./RegistryElementBrowserCategories");
|
|
@@ -179,7 +181,10 @@ var RegistryElementBrowser = exports.RegistryElementBrowser = function RegistryE
|
|
|
179
181
|
width: "min(968px, calc(100vw - 32px))"
|
|
180
182
|
}, /*#__PURE__*/_react.default.createElement(_modalHeader.default, null, /*#__PURE__*/_react.default.createElement("div", {
|
|
181
183
|
className: (0, _runtime.ax)(["_zulp1fka _1e0c11p5 _yv0e1xuv _1bsb1osq _lk4ji47z"])
|
|
182
|
-
}, /*#__PURE__*/_react.default.createElement(
|
|
184
|
+
}, (0, _fg.fg)('platform_dst_modal-dialog-use-modal-title') ? /*#__PURE__*/_react.default.createElement(_modalTitle.default, null, formatMessage({
|
|
185
|
+
defaultMessage: 'Insert elements',
|
|
186
|
+
id: 'editor.quick-insert.title'
|
|
187
|
+
})) : /*#__PURE__*/_react.default.createElement(_heading.default, {
|
|
183
188
|
size: "medium"
|
|
184
189
|
}, formatMessage({
|
|
185
190
|
defaultMessage: 'Insert elements',
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* RegistryElementBrowserCategories.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* RegistryElementBrowserCategories.tsx generated by @compiled/babel-plugin v3.0.2 */
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* RegistryElementBrowserSearchResults.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* RegistryElementBrowserSearchResults.tsx generated by @compiled/babel-plugin v3.0.2 */
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* BlockControlQuickInsertButton.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* BlockControlQuickInsertButton.tsx generated by @compiled/babel-plugin v3.0.2 */
|
|
2
2
|
import "./BlockControlQuickInsertButton.compiled.css";
|
|
3
3
|
import { ax, ix } from "@compiled/react/runtime";
|
|
4
4
|
import React, { useCallback } from 'react';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* RegistryElementBrowser.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* RegistryElementBrowser.tsx generated by @compiled/babel-plugin v3.0.2 */
|
|
2
2
|
import "./RegistryElementBrowser.compiled.css";
|
|
3
3
|
import { ax, ix } from "@compiled/react/runtime";
|
|
4
4
|
import React, { useCallback, useEffect, useMemo, useRef, useState } from 'react';
|
|
@@ -13,7 +13,9 @@ import Modal from '@atlaskit/modal-dialog/modal-dialog';
|
|
|
13
13
|
import ModalBody from '@atlaskit/modal-dialog/modal-body';
|
|
14
14
|
import ModalFooter from '@atlaskit/modal-dialog/modal-footer';
|
|
15
15
|
import ModalHeader from '@atlaskit/modal-dialog/modal-header';
|
|
16
|
+
import ModalTitle from '@atlaskit/modal-dialog/modal-title';
|
|
16
17
|
import ModalTransition from '@atlaskit/modal-dialog/modal-transition';
|
|
18
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
17
19
|
import Textfield from '@atlaskit/textfield/text-field';
|
|
18
20
|
import { createRegistryElementBrowserModel, getInitialRegistryElementBrowserSection, getRegistryElementBrowserItems } from './model';
|
|
19
21
|
import { RegistryElementBrowserCategories } from './RegistryElementBrowserCategories';
|
|
@@ -149,7 +151,10 @@ export const RegistryElementBrowser = ({
|
|
|
149
151
|
width: "min(968px, calc(100vw - 32px))"
|
|
150
152
|
}, /*#__PURE__*/React.createElement(ModalHeader, null, /*#__PURE__*/React.createElement("div", {
|
|
151
153
|
className: ax(["_zulp1fka _1e0c11p5 _yv0e1xuv _1bsb1osq _lk4ji47z"])
|
|
152
|
-
}, /*#__PURE__*/React.createElement(
|
|
154
|
+
}, fg('platform_dst_modal-dialog-use-modal-title') ? /*#__PURE__*/React.createElement(ModalTitle, null, formatMessage({
|
|
155
|
+
defaultMessage: 'Insert elements',
|
|
156
|
+
id: 'editor.quick-insert.title'
|
|
157
|
+
})) : /*#__PURE__*/React.createElement(Heading, {
|
|
153
158
|
size: "medium"
|
|
154
159
|
}, formatMessage({
|
|
155
160
|
defaultMessage: 'Insert elements',
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* RegistryElementBrowserCategories.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* RegistryElementBrowserCategories.tsx generated by @compiled/babel-plugin v3.0.2 */
|
|
2
2
|
import "./RegistryElementBrowserCategories.compiled.css";
|
|
3
3
|
import { ax, ix } from "@compiled/react/runtime";
|
|
4
4
|
import React from 'react';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* RegistryElementBrowserSearchResults.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* RegistryElementBrowserSearchResults.tsx generated by @compiled/babel-plugin v3.0.2 */
|
|
2
2
|
import "./RegistryElementBrowserSearchResults.compiled.css";
|
|
3
3
|
import { ax, ix } from "@compiled/react/runtime";
|
|
4
4
|
import React, { useMemo } from 'react';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* BlockControlQuickInsertButton.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* BlockControlQuickInsertButton.tsx generated by @compiled/babel-plugin v3.0.2 */
|
|
2
2
|
import "./BlockControlQuickInsertButton.compiled.css";
|
|
3
3
|
import { ax, ix } from "@compiled/react/runtime";
|
|
4
4
|
import React, { useCallback } from 'react';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* RegistryElementBrowser.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* RegistryElementBrowser.tsx generated by @compiled/babel-plugin v3.0.2 */
|
|
2
2
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
3
3
|
import "./RegistryElementBrowser.compiled.css";
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
@@ -14,7 +14,9 @@ import Modal from '@atlaskit/modal-dialog/modal-dialog';
|
|
|
14
14
|
import ModalBody from '@atlaskit/modal-dialog/modal-body';
|
|
15
15
|
import ModalFooter from '@atlaskit/modal-dialog/modal-footer';
|
|
16
16
|
import ModalHeader from '@atlaskit/modal-dialog/modal-header';
|
|
17
|
+
import ModalTitle from '@atlaskit/modal-dialog/modal-title';
|
|
17
18
|
import ModalTransition from '@atlaskit/modal-dialog/modal-transition';
|
|
19
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
18
20
|
import Textfield from '@atlaskit/textfield/text-field';
|
|
19
21
|
import { createRegistryElementBrowserModel, getInitialRegistryElementBrowserSection, getRegistryElementBrowserItems } from './model';
|
|
20
22
|
import { RegistryElementBrowserCategories } from './RegistryElementBrowserCategories';
|
|
@@ -170,7 +172,10 @@ export var RegistryElementBrowser = function RegistryElementBrowser(_ref) {
|
|
|
170
172
|
width: "min(968px, calc(100vw - 32px))"
|
|
171
173
|
}, /*#__PURE__*/React.createElement(ModalHeader, null, /*#__PURE__*/React.createElement("div", {
|
|
172
174
|
className: ax(["_zulp1fka _1e0c11p5 _yv0e1xuv _1bsb1osq _lk4ji47z"])
|
|
173
|
-
}, /*#__PURE__*/React.createElement(
|
|
175
|
+
}, fg('platform_dst_modal-dialog-use-modal-title') ? /*#__PURE__*/React.createElement(ModalTitle, null, formatMessage({
|
|
176
|
+
defaultMessage: 'Insert elements',
|
|
177
|
+
id: 'editor.quick-insert.title'
|
|
178
|
+
})) : /*#__PURE__*/React.createElement(Heading, {
|
|
174
179
|
size: "medium"
|
|
175
180
|
}, formatMessage({
|
|
176
181
|
defaultMessage: 'Insert elements',
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* RegistryElementBrowserCategories.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* RegistryElementBrowserCategories.tsx generated by @compiled/babel-plugin v3.0.2 */
|
|
2
2
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
3
3
|
import "./RegistryElementBrowserCategories.compiled.css";
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* RegistryElementBrowserSearchResults.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* RegistryElementBrowserSearchResults.tsx generated by @compiled/babel-plugin v3.0.2 */
|
|
2
2
|
import "./RegistryElementBrowserSearchResults.compiled.css";
|
|
3
3
|
import { ax, ix } from "@compiled/react/runtime";
|
|
4
4
|
import React, { useMemo } from 'react';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-quick-insert",
|
|
3
|
-
"version": "18.0.
|
|
3
|
+
"version": "18.0.11",
|
|
4
4
|
"description": "Quick insert plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"@atlaskit/platform-feature-flags": "^2.2.0",
|
|
39
39
|
"@atlaskit/primitives": "^22.5.0",
|
|
40
40
|
"@atlaskit/textfield": "^10.2.0",
|
|
41
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
41
|
+
"@atlaskit/tmp-editor-statsig": "^198.0.0",
|
|
42
42
|
"@atlaskit/tokens": "^17.0.0",
|
|
43
43
|
"@atlaskit/tooltip": "^24.3.0",
|
|
44
44
|
"@babel/runtime": "^7.0.0",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"@emotion/react": "^11.7.1"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|
|
49
|
-
"@atlaskit/editor-common": "^122.
|
|
49
|
+
"@atlaskit/editor-common": "^122.10.0",
|
|
50
50
|
"react": "^18.2.0 || ^19.2.0",
|
|
51
51
|
"react-dom": "^18.2.0 || ^19.2.0",
|
|
52
52
|
"react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
|
|
@@ -65,6 +65,10 @@
|
|
|
65
65
|
},
|
|
66
66
|
"platform_editor_fix_space_triggering_ai": {
|
|
67
67
|
"type": "boolean"
|
|
68
|
+
},
|
|
69
|
+
"platform_dst_modal-dialog-use-modal-title": {
|
|
70
|
+
"type": "boolean",
|
|
71
|
+
"referenceOnly": true
|
|
68
72
|
}
|
|
69
73
|
}
|
|
70
74
|
}
|