@atlaskit/editor-plugin-floating-toolbar 8.2.18 → 8.2.19
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 +8 -0
- package/dist/cjs/ui/CheckboxModal.js +1 -2
- package/dist/cjs/ui/SimpleModal.js +1 -2
- package/dist/es2019/ui/CheckboxModal.js +1 -2
- package/dist/es2019/ui/SimpleModal.js +1 -2
- package/dist/esm/ui/CheckboxModal.js +1 -2
- package/dist/esm/ui/SimpleModal.js +1 -2
- package/package.json +10 -13
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-floating-toolbar
|
|
2
2
|
|
|
3
|
+
## 8.2.19
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`24092f8832d34`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/24092f8832d34) -
|
|
8
|
+
[EDITOR-3321] Clean up platform_editor_update_modal_close_button
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
3
11
|
## 8.2.18
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -13,7 +13,6 @@ var _new = _interopRequireDefault(require("@atlaskit/button/new"));
|
|
|
13
13
|
var _checkbox = require("@atlaskit/checkbox");
|
|
14
14
|
var _floatingToolbar = require("@atlaskit/editor-common/floating-toolbar");
|
|
15
15
|
var _modalDialog = _interopRequireWildcard(require("@atlaskit/modal-dialog"));
|
|
16
|
-
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
17
16
|
var _compiled = require("@atlaskit/primitives/compiled");
|
|
18
17
|
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); }
|
|
19
18
|
var CheckboxModal = exports.CheckboxModal = function CheckboxModal(props) {
|
|
@@ -63,7 +62,7 @@ var CheckboxModal = exports.CheckboxModal = function CheckboxModal(props) {
|
|
|
63
62
|
onClose: onClose,
|
|
64
63
|
testId: testId
|
|
65
64
|
}, /*#__PURE__*/_react.default.createElement(_modalDialog.ModalHeader, {
|
|
66
|
-
hasCloseButton:
|
|
65
|
+
hasCloseButton: true
|
|
67
66
|
}, /*#__PURE__*/_react.default.createElement(_modalDialog.ModalTitle, {
|
|
68
67
|
appearance: "warning"
|
|
69
68
|
}, heading)), /*#__PURE__*/_react.default.createElement(_modalDialog.ModalBody, null, /*#__PURE__*/_react.default.createElement(_compiled.Text, {
|
|
@@ -10,7 +10,6 @@ var _react = _interopRequireDefault(require("react"));
|
|
|
10
10
|
var _new = _interopRequireDefault(require("@atlaskit/button/new"));
|
|
11
11
|
var _floatingToolbar = require("@atlaskit/editor-common/floating-toolbar");
|
|
12
12
|
var _modalDialog = _interopRequireWildcard(require("@atlaskit/modal-dialog"));
|
|
13
|
-
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
14
13
|
var _compiled = require("@atlaskit/primitives/compiled");
|
|
15
14
|
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); }
|
|
16
15
|
var SimpleModal = exports.SimpleModal = function SimpleModal(props) {
|
|
@@ -26,7 +25,7 @@ var SimpleModal = exports.SimpleModal = function SimpleModal(props) {
|
|
|
26
25
|
onClose: onClose,
|
|
27
26
|
testId: testId
|
|
28
27
|
}, /*#__PURE__*/_react.default.createElement(_modalDialog.ModalHeader, {
|
|
29
|
-
hasCloseButton:
|
|
28
|
+
hasCloseButton: true
|
|
30
29
|
}, /*#__PURE__*/_react.default.createElement(_modalDialog.ModalTitle, {
|
|
31
30
|
appearance: "warning"
|
|
32
31
|
}, heading)), /*#__PURE__*/_react.default.createElement(_modalDialog.ModalBody, null, /*#__PURE__*/_react.default.createElement(_compiled.Text, {
|
|
@@ -4,7 +4,6 @@ import Button from '@atlaskit/button/new';
|
|
|
4
4
|
import { Checkbox } from '@atlaskit/checkbox';
|
|
5
5
|
import { messages } from '@atlaskit/editor-common/floating-toolbar';
|
|
6
6
|
import Modal, { ModalBody, ModalFooter, ModalHeader, ModalTitle } from '@atlaskit/modal-dialog';
|
|
7
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
8
7
|
import { Text } from '@atlaskit/primitives/compiled';
|
|
9
8
|
export const CheckboxModal = props => {
|
|
10
9
|
var _options$getChildrenI;
|
|
@@ -54,7 +53,7 @@ export const CheckboxModal = props => {
|
|
|
54
53
|
onClose: onClose,
|
|
55
54
|
testId: testId
|
|
56
55
|
}, /*#__PURE__*/React.createElement(ModalHeader, {
|
|
57
|
-
hasCloseButton:
|
|
56
|
+
hasCloseButton: true
|
|
58
57
|
}, /*#__PURE__*/React.createElement(ModalTitle, {
|
|
59
58
|
appearance: "warning"
|
|
60
59
|
}, heading)), /*#__PURE__*/React.createElement(ModalBody, null, /*#__PURE__*/React.createElement(Text, {
|
|
@@ -2,7 +2,6 @@ import React from 'react';
|
|
|
2
2
|
import Button from '@atlaskit/button/new';
|
|
3
3
|
import { messages } from '@atlaskit/editor-common/floating-toolbar';
|
|
4
4
|
import Modal, { ModalBody, ModalFooter, ModalHeader, ModalTitle } from '@atlaskit/modal-dialog';
|
|
5
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
6
5
|
import { Text } from '@atlaskit/primitives/compiled';
|
|
7
6
|
export const SimpleModal = props => {
|
|
8
7
|
const {
|
|
@@ -21,7 +20,7 @@ export const SimpleModal = props => {
|
|
|
21
20
|
onClose: onClose,
|
|
22
21
|
testId: testId
|
|
23
22
|
}, /*#__PURE__*/React.createElement(ModalHeader, {
|
|
24
|
-
hasCloseButton:
|
|
23
|
+
hasCloseButton: true
|
|
25
24
|
}, /*#__PURE__*/React.createElement(ModalTitle, {
|
|
26
25
|
appearance: "warning"
|
|
27
26
|
}, heading)), /*#__PURE__*/React.createElement(ModalBody, null, /*#__PURE__*/React.createElement(Text, {
|
|
@@ -5,7 +5,6 @@ import Button from '@atlaskit/button/new';
|
|
|
5
5
|
import { Checkbox } from '@atlaskit/checkbox';
|
|
6
6
|
import { messages } from '@atlaskit/editor-common/floating-toolbar';
|
|
7
7
|
import Modal, { ModalBody, ModalFooter, ModalHeader, ModalTitle } from '@atlaskit/modal-dialog';
|
|
8
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
9
8
|
import { Text } from '@atlaskit/primitives/compiled';
|
|
10
9
|
export var CheckboxModal = function CheckboxModal(props) {
|
|
11
10
|
var _options$getChildrenI;
|
|
@@ -54,7 +53,7 @@ export var CheckboxModal = function CheckboxModal(props) {
|
|
|
54
53
|
onClose: onClose,
|
|
55
54
|
testId: testId
|
|
56
55
|
}, /*#__PURE__*/React.createElement(ModalHeader, {
|
|
57
|
-
hasCloseButton:
|
|
56
|
+
hasCloseButton: true
|
|
58
57
|
}, /*#__PURE__*/React.createElement(ModalTitle, {
|
|
59
58
|
appearance: "warning"
|
|
60
59
|
}, heading)), /*#__PURE__*/React.createElement(ModalBody, null, /*#__PURE__*/React.createElement(Text, {
|
|
@@ -2,7 +2,6 @@ import React from 'react';
|
|
|
2
2
|
import Button from '@atlaskit/button/new';
|
|
3
3
|
import { messages } from '@atlaskit/editor-common/floating-toolbar';
|
|
4
4
|
import Modal, { ModalBody, ModalFooter, ModalHeader, ModalTitle } from '@atlaskit/modal-dialog';
|
|
5
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
6
5
|
import { Text } from '@atlaskit/primitives/compiled';
|
|
7
6
|
export var SimpleModal = function SimpleModal(props) {
|
|
8
7
|
var onConfirm = props.onConfirm,
|
|
@@ -17,7 +16,7 @@ export var SimpleModal = function SimpleModal(props) {
|
|
|
17
16
|
onClose: onClose,
|
|
18
17
|
testId: testId
|
|
19
18
|
}, /*#__PURE__*/React.createElement(ModalHeader, {
|
|
20
|
-
hasCloseButton:
|
|
19
|
+
hasCloseButton: true
|
|
21
20
|
}, /*#__PURE__*/React.createElement(ModalTitle, {
|
|
22
21
|
appearance: "warning"
|
|
23
22
|
}, heading)), /*#__PURE__*/React.createElement(ModalBody, null, /*#__PURE__*/React.createElement(Text, {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-floating-toolbar",
|
|
3
|
-
"version": "8.2.
|
|
3
|
+
"version": "8.2.19",
|
|
4
4
|
"description": "Floating toolbar plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -34,20 +34,20 @@
|
|
|
34
34
|
"@atlaskit/editor-plugin-emoji": "^7.6.0",
|
|
35
35
|
"@atlaskit/editor-plugin-extension": "^9.2.0",
|
|
36
36
|
"@atlaskit/editor-plugin-interaction": "^10.0.0",
|
|
37
|
-
"@atlaskit/editor-plugin-table": "^15.
|
|
37
|
+
"@atlaskit/editor-plugin-table": "^15.4.0",
|
|
38
38
|
"@atlaskit/editor-plugin-user-intent": "^4.0.0",
|
|
39
39
|
"@atlaskit/editor-prosemirror": "7.0.0",
|
|
40
|
-
"@atlaskit/emoji": "^69.
|
|
40
|
+
"@atlaskit/emoji": "^69.8.0",
|
|
41
41
|
"@atlaskit/icon": "^29.0.0",
|
|
42
42
|
"@atlaskit/menu": "^8.4.0",
|
|
43
|
-
"@atlaskit/modal-dialog": "^14.
|
|
43
|
+
"@atlaskit/modal-dialog": "^14.7.0",
|
|
44
44
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
45
|
-
"@atlaskit/primitives": "^16.
|
|
46
|
-
"@atlaskit/select": "^21.
|
|
45
|
+
"@atlaskit/primitives": "^16.2.0",
|
|
46
|
+
"@atlaskit/select": "^21.4.0",
|
|
47
47
|
"@atlaskit/theme": "^21.0.0",
|
|
48
|
-
"@atlaskit/tmp-editor-statsig": "^13.
|
|
49
|
-
"@atlaskit/tokens": "^8.
|
|
50
|
-
"@atlaskit/tooltip": "^20.
|
|
48
|
+
"@atlaskit/tmp-editor-statsig": "^13.42.0",
|
|
49
|
+
"@atlaskit/tokens": "^8.2.0",
|
|
50
|
+
"@atlaskit/tooltip": "^20.10.0",
|
|
51
51
|
"@babel/runtime": "^7.0.0",
|
|
52
52
|
"@emotion/react": "^11.7.1",
|
|
53
53
|
"bind-event-listener": "^3.0.0",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"react-loadable": "^5.1.0"
|
|
58
58
|
},
|
|
59
59
|
"peerDependencies": {
|
|
60
|
-
"@atlaskit/editor-common": "^110.
|
|
60
|
+
"@atlaskit/editor-common": "^110.34.0",
|
|
61
61
|
"react": "^18.2.0",
|
|
62
62
|
"react-dom": "^18.2.0"
|
|
63
63
|
},
|
|
@@ -125,9 +125,6 @@
|
|
|
125
125
|
"platform_editor_a11y_add_role_to_popup": {
|
|
126
126
|
"type": "boolean"
|
|
127
127
|
},
|
|
128
|
-
"platform_editor_update_modal_close_button": {
|
|
129
|
-
"type": "boolean"
|
|
130
|
-
},
|
|
131
128
|
"platform_editor_toolbar_aifc_user_intent_fix": {
|
|
132
129
|
"type": "boolean"
|
|
133
130
|
}
|