@atlaskit/editor-plugin-floating-toolbar 4.1.13 → 4.1.14
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 +9 -0
- package/dist/cjs/ui/Toolbar.js +1 -1
- package/dist/es2019/ui/Toolbar.js +1 -1
- package/dist/esm/ui/Toolbar.js +1 -1
- package/package.json +2 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-floating-toolbar
|
|
2
2
|
|
|
3
|
+
## 4.1.14
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#161914](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/161914)
|
|
8
|
+
[`b1a7ef0ae8d44`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/b1a7ef0ae8d44) -
|
|
9
|
+
Switches text formatting options optimisation from FG to Experiment flag
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
3
12
|
## 4.1.13
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
package/dist/cjs/ui/Toolbar.js
CHANGED
|
@@ -703,7 +703,7 @@ var Toolbar = /*#__PURE__*/function (_Component) {
|
|
|
703
703
|
handleEscape: this.handleEscape,
|
|
704
704
|
disableArrowKeyNavigation: !this.shouldHandleArrowKeys(),
|
|
705
705
|
childComponentSelector: "[data-testid='editor-floating-toolbar']",
|
|
706
|
-
isShortcutToFocusToolbar: (0,
|
|
706
|
+
isShortcutToFocusToolbar: (0, _experiments.editorExperiment)('platform_editor_toolbar_rerender_optimization_exp', true) ? this.isShortcutToFocusToolbar : isShortcutToFocusToolbar,
|
|
707
707
|
intl: intl
|
|
708
708
|
}, (0, _react2.jsx)("div", {
|
|
709
709
|
ref: this.toolbarContainerRef,
|
|
@@ -654,7 +654,7 @@ class Toolbar extends Component {
|
|
|
654
654
|
handleEscape: this.handleEscape,
|
|
655
655
|
disableArrowKeyNavigation: !this.shouldHandleArrowKeys(),
|
|
656
656
|
childComponentSelector: "[data-testid='editor-floating-toolbar']",
|
|
657
|
-
isShortcutToFocusToolbar:
|
|
657
|
+
isShortcutToFocusToolbar: editorExperiment('platform_editor_toolbar_rerender_optimization_exp', true) ? this.isShortcutToFocusToolbar : isShortcutToFocusToolbar,
|
|
658
658
|
intl: intl
|
|
659
659
|
}, jsx("div", {
|
|
660
660
|
ref: this.toolbarContainerRef,
|
package/dist/esm/ui/Toolbar.js
CHANGED
|
@@ -696,7 +696,7 @@ var Toolbar = /*#__PURE__*/function (_Component) {
|
|
|
696
696
|
handleEscape: this.handleEscape,
|
|
697
697
|
disableArrowKeyNavigation: !this.shouldHandleArrowKeys(),
|
|
698
698
|
childComponentSelector: "[data-testid='editor-floating-toolbar']",
|
|
699
|
-
isShortcutToFocusToolbar:
|
|
699
|
+
isShortcutToFocusToolbar: editorExperiment('platform_editor_toolbar_rerender_optimization_exp', true) ? this.isShortcutToFocusToolbar : isShortcutToFocusToolbar,
|
|
700
700
|
intl: intl
|
|
701
701
|
}, jsx("div", {
|
|
702
702
|
ref: this.toolbarContainerRef,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-floating-toolbar",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.14",
|
|
4
4
|
"description": "Floating toolbar plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"@atlaskit/primitives": "^14.8.0",
|
|
51
51
|
"@atlaskit/select": "^20.6.0",
|
|
52
52
|
"@atlaskit/theme": "^18.0.0",
|
|
53
|
-
"@atlaskit/tmp-editor-statsig": "^5.
|
|
53
|
+
"@atlaskit/tmp-editor-statsig": "^5.3.0",
|
|
54
54
|
"@atlaskit/tokens": "^4.9.0",
|
|
55
55
|
"@atlaskit/tooltip": "^20.2.0",
|
|
56
56
|
"@babel/runtime": "^7.0.0",
|
|
@@ -154,9 +154,6 @@
|
|
|
154
154
|
},
|
|
155
155
|
"platform_editor_interaction_api_refactor": {
|
|
156
156
|
"type": "boolean"
|
|
157
|
-
},
|
|
158
|
-
"platform_editor_toolbar_rerender_optimization": {
|
|
159
|
-
"type": "boolean"
|
|
160
157
|
}
|
|
161
158
|
}
|
|
162
159
|
}
|