@atlaskit/editor-plugin-floating-toolbar 4.0.6 → 4.0.8
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 +15 -0
- package/dist/cjs/ui/Toolbar.js +0 -7
- package/dist/es2019/ui/Toolbar.js +0 -7
- package/dist/esm/ui/Toolbar.js +0 -7
- package/package.json +4 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-floating-toolbar
|
|
2
2
|
|
|
3
|
+
## 4.0.8
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#149852](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/149852)
|
|
8
|
+
[`62fbcc86c35ba`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/62fbcc86c35ba) -
|
|
9
|
+
clean up platform_editor_fix_floating_toolbar_scrollbar
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
12
|
+
## 4.0.7
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- Updated dependencies
|
|
17
|
+
|
|
3
18
|
## 4.0.6
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
package/dist/cjs/ui/Toolbar.js
CHANGED
|
@@ -479,18 +479,11 @@ var toolbarOverflow = function toolbarOverflow(_ref2) {
|
|
|
479
479
|
overflow: 'hidden'
|
|
480
480
|
}) :
|
|
481
481
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
482
|
-
(0, _platformFeatureFlags.fg)('platform_editor_fix_floating_toolbar_scrollbar') ?
|
|
483
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
484
482
|
(0, _react2.css)({
|
|
485
483
|
overflowX: 'auto',
|
|
486
484
|
overflowY: 'hidden',
|
|
487
485
|
// When scrollable is true, ScrollButtons will be shown, hence we want to hide show default horizontal scrollbar
|
|
488
486
|
scrollbarWidth: 'none'
|
|
489
|
-
}) :
|
|
490
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
491
|
-
(0, _react2.css)({
|
|
492
|
-
overflowX: 'auto',
|
|
493
|
-
overflowY: 'hidden'
|
|
494
487
|
}), {
|
|
495
488
|
WebkitOverflowScrolling: 'touch',
|
|
496
489
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
@@ -444,18 +444,11 @@ css({
|
|
|
444
444
|
overflow: 'hidden'
|
|
445
445
|
}) :
|
|
446
446
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
447
|
-
fg('platform_editor_fix_floating_toolbar_scrollbar') ?
|
|
448
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
449
447
|
css({
|
|
450
448
|
overflowX: 'auto',
|
|
451
449
|
overflowY: 'hidden',
|
|
452
450
|
// When scrollable is true, ScrollButtons will be shown, hence we want to hide show default horizontal scrollbar
|
|
453
451
|
scrollbarWidth: 'none'
|
|
454
|
-
}) :
|
|
455
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
456
|
-
css({
|
|
457
|
-
overflowX: 'auto',
|
|
458
|
-
overflowY: 'hidden'
|
|
459
452
|
}), {
|
|
460
453
|
WebkitOverflowScrolling: 'touch',
|
|
461
454
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
package/dist/esm/ui/Toolbar.js
CHANGED
|
@@ -472,18 +472,11 @@ var toolbarOverflow = function toolbarOverflow(_ref2) {
|
|
|
472
472
|
overflow: 'hidden'
|
|
473
473
|
}) :
|
|
474
474
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
475
|
-
fg('platform_editor_fix_floating_toolbar_scrollbar') ?
|
|
476
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
477
475
|
css({
|
|
478
476
|
overflowX: 'auto',
|
|
479
477
|
overflowY: 'hidden',
|
|
480
478
|
// When scrollable is true, ScrollButtons will be shown, hence we want to hide show default horizontal scrollbar
|
|
481
479
|
scrollbarWidth: 'none'
|
|
482
|
-
}) :
|
|
483
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
484
|
-
css({
|
|
485
|
-
overflowX: 'auto',
|
|
486
|
-
overflowY: 'hidden'
|
|
487
480
|
}), {
|
|
488
481
|
WebkitOverflowScrolling: 'touch',
|
|
489
482
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-floating-toolbar",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.8",
|
|
4
4
|
"description": "Floating toolbar plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"@atlaskit/adf-utils": "^19.19.0",
|
|
29
29
|
"@atlaskit/button": "^23.0.0",
|
|
30
30
|
"@atlaskit/checkbox": "^17.1.0",
|
|
31
|
-
"@atlaskit/editor-common": "^103.
|
|
31
|
+
"@atlaskit/editor-common": "^103.22.0",
|
|
32
32
|
"@atlaskit/editor-palette": "^2.1.0",
|
|
33
33
|
"@atlaskit/editor-plugin-context-panel": "^4.0.0",
|
|
34
34
|
"@atlaskit/editor-plugin-copy-button": "^2.0.0",
|
|
@@ -43,10 +43,10 @@
|
|
|
43
43
|
"@atlaskit/editor-prosemirror": "7.0.0",
|
|
44
44
|
"@atlaskit/emoji": "^69.1.0",
|
|
45
45
|
"@atlaskit/icon": "^25.6.0",
|
|
46
|
-
"@atlaskit/menu": "^
|
|
46
|
+
"@atlaskit/menu": "^5.0.0",
|
|
47
47
|
"@atlaskit/modal-dialog": "^14.1.0",
|
|
48
48
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
49
|
-
"@atlaskit/primitives": "^14.
|
|
49
|
+
"@atlaskit/primitives": "^14.7.0",
|
|
50
50
|
"@atlaskit/select": "^20.4.0",
|
|
51
51
|
"@atlaskit/theme": "^18.0.0",
|
|
52
52
|
"@atlaskit/tmp-editor-statsig": "^4.15.0",
|
|
@@ -130,9 +130,6 @@
|
|
|
130
130
|
"editor_a11y_remove_redundant_wrap_icon_label": {
|
|
131
131
|
"type": "boolean"
|
|
132
132
|
},
|
|
133
|
-
"platform_editor_fix_floating_toolbar_scrollbar": {
|
|
134
|
-
"type": "boolean"
|
|
135
|
-
},
|
|
136
133
|
"platform_editor_controls_patch_4": {
|
|
137
134
|
"type": "boolean"
|
|
138
135
|
},
|