@atlaskit/editor-plugin-floating-toolbar 3.3.2 → 3.3.3
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/Divider.js +2 -1
- package/dist/cjs/ui/Toolbar.js +10 -1
- package/dist/es2019/ui/Divider.js +2 -1
- package/dist/es2019/ui/Toolbar.js +10 -1
- package/dist/esm/ui/Divider.js +2 -1
- package/dist/esm/ui/Toolbar.js +10 -1
- package/package.json +6 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-floating-toolbar
|
|
2
2
|
|
|
3
|
+
## 3.3.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#132712](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/132712)
|
|
8
|
+
[`03a53eb22fbba`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/03a53eb22fbba) -
|
|
9
|
+
[ED-27288] Hide horizontal scrollbar for floating toolbar in narrow editor (e.g. inline comment)
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
3
12
|
## 3.3.2
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
package/dist/cjs/ui/Divider.js
CHANGED
package/dist/cjs/ui/Toolbar.js
CHANGED
|
@@ -465,7 +465,16 @@ var toolbarOverflow = function toolbarOverflow(_ref2) {
|
|
|
465
465
|
(0, _react2.css)({
|
|
466
466
|
overflow: 'hidden'
|
|
467
467
|
}) :
|
|
468
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
468
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
469
|
+
(0, _platformFeatureFlags.fg)('platform_editor_fix_floating_toolbar_scrollbar') ?
|
|
470
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
471
|
+
(0, _react2.css)({
|
|
472
|
+
overflowX: 'auto',
|
|
473
|
+
overflowY: 'hidden',
|
|
474
|
+
// When scrollable is true, ScrollButtons will be shown, hence we want to hide show default horizontal scrollbar
|
|
475
|
+
scrollbarWidth: 'none'
|
|
476
|
+
}) :
|
|
477
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
469
478
|
(0, _react2.css)({
|
|
470
479
|
overflowX: 'auto',
|
|
471
480
|
overflowY: 'hidden'
|
|
@@ -430,7 +430,16 @@ scrollDisabled ?
|
|
|
430
430
|
css({
|
|
431
431
|
overflow: 'hidden'
|
|
432
432
|
}) :
|
|
433
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
433
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
434
|
+
fg('platform_editor_fix_floating_toolbar_scrollbar') ?
|
|
435
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
436
|
+
css({
|
|
437
|
+
overflowX: 'auto',
|
|
438
|
+
overflowY: 'hidden',
|
|
439
|
+
// When scrollable is true, ScrollButtons will be shown, hence we want to hide show default horizontal scrollbar
|
|
440
|
+
scrollbarWidth: 'none'
|
|
441
|
+
}) :
|
|
442
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
434
443
|
css({
|
|
435
444
|
overflowX: 'auto',
|
|
436
445
|
overflowY: 'hidden'
|
package/dist/esm/ui/Divider.js
CHANGED
package/dist/esm/ui/Toolbar.js
CHANGED
|
@@ -458,7 +458,16 @@ var toolbarOverflow = function toolbarOverflow(_ref2) {
|
|
|
458
458
|
css({
|
|
459
459
|
overflow: 'hidden'
|
|
460
460
|
}) :
|
|
461
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
461
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
462
|
+
fg('platform_editor_fix_floating_toolbar_scrollbar') ?
|
|
463
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
464
|
+
css({
|
|
465
|
+
overflowX: 'auto',
|
|
466
|
+
overflowY: 'hidden',
|
|
467
|
+
// When scrollable is true, ScrollButtons will be shown, hence we want to hide show default horizontal scrollbar
|
|
468
|
+
scrollbarWidth: 'none'
|
|
469
|
+
}) :
|
|
470
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
462
471
|
css({
|
|
463
472
|
overflowX: 'auto',
|
|
464
473
|
overflowY: 'hidden'
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-floating-toolbar",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.3",
|
|
4
4
|
"description": "Floating toolbar plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@atlaskit/adf-utils": "^19.19.0",
|
|
29
|
-
"@atlaskit/button": "^
|
|
29
|
+
"@atlaskit/button": "^22.0.0",
|
|
30
30
|
"@atlaskit/checkbox": "^17.0.0",
|
|
31
31
|
"@atlaskit/editor-common": "^102.13.0",
|
|
32
32
|
"@atlaskit/editor-palette": "^2.1.0",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"@atlaskit/editor-plugin-table": "^10.5.0",
|
|
42
42
|
"@atlaskit/editor-prosemirror": "7.0.0",
|
|
43
43
|
"@atlaskit/emoji": "^69.0.0",
|
|
44
|
-
"@atlaskit/icon": "^25.
|
|
44
|
+
"@atlaskit/icon": "^25.2.0",
|
|
45
45
|
"@atlaskit/menu": "^3.1.0",
|
|
46
46
|
"@atlaskit/modal-dialog": "^14.0.0",
|
|
47
47
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
@@ -124,6 +124,9 @@
|
|
|
124
124
|
},
|
|
125
125
|
"forge-ui-macro-autoconvert": {
|
|
126
126
|
"type": "boolean"
|
|
127
|
+
},
|
|
128
|
+
"platform_editor_fix_floating_toolbar_scrollbar": {
|
|
129
|
+
"type": "boolean"
|
|
127
130
|
}
|
|
128
131
|
}
|
|
129
132
|
}
|