@atlaskit/editor-plugin-toolbar-lists-indentation 1.16.1 → 1.17.0
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
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-toolbar-lists-indentation
|
|
2
2
|
|
|
3
|
+
## 1.17.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#116013](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/116013)
|
|
8
|
+
[`18e022766bfd3`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/18e022766bfd3) -
|
|
9
|
+
[ux] ED-26464 Hiding primary toolbar and docking contextual toolbar items to top
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
|
|
15
|
+
## 1.16.2
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- Updated dependencies
|
|
20
|
+
|
|
3
21
|
## 1.16.1
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|
|
@@ -37,13 +37,23 @@ var toolbarListsIndentationPlugin = exports.toolbarListsIndentationPlugin = func
|
|
|
37
37
|
toolbarSize = _ref3.toolbarSize,
|
|
38
38
|
disabled = _ref3.disabled,
|
|
39
39
|
isToolbarReducedSpacing = _ref3.isToolbarReducedSpacing;
|
|
40
|
-
|
|
40
|
+
if ((0, _experiments.editorExperiment)('platform_editor_controls', 'variant1', {
|
|
41
|
+
exposure: true
|
|
42
|
+
})) {
|
|
43
|
+
return /*#__PURE__*/_react.default.createElement(_FloatingToolbarComponent.FloatingToolbarComponent, {
|
|
44
|
+
editorView: editorView,
|
|
45
|
+
featureFlags: featureFlags,
|
|
46
|
+
pluginInjectionApi: api,
|
|
47
|
+
showIndentationButtons: showIndentationButtons,
|
|
48
|
+
allowHeadingAndParagraphIndentation: allowHeadingAndParagraphIndentation
|
|
49
|
+
});
|
|
50
|
+
}
|
|
41
51
|
return /*#__PURE__*/_react.default.createElement(PrimaryToolbarComponent, {
|
|
42
52
|
featureFlags: featureFlags,
|
|
43
53
|
popupsMountPoint: popupsMountPoint,
|
|
44
54
|
popupsBoundariesElement: popupsBoundariesElement,
|
|
45
55
|
popupsScrollableElement: popupsScrollableElement,
|
|
46
|
-
isSmall:
|
|
56
|
+
isSmall: toolbarSize < _types.ToolbarSize.L,
|
|
47
57
|
isToolbarReducedSpacing: isToolbarReducedSpacing,
|
|
48
58
|
disabled: disabled,
|
|
49
59
|
editorView: editorView,
|
|
@@ -26,13 +26,23 @@ export const toolbarListsIndentationPlugin = ({
|
|
|
26
26
|
disabled,
|
|
27
27
|
isToolbarReducedSpacing
|
|
28
28
|
}) => {
|
|
29
|
-
|
|
29
|
+
if (editorExperiment('platform_editor_controls', 'variant1', {
|
|
30
|
+
exposure: true
|
|
31
|
+
})) {
|
|
32
|
+
return /*#__PURE__*/React.createElement(FloatingToolbarComponent, {
|
|
33
|
+
editorView: editorView,
|
|
34
|
+
featureFlags: featureFlags,
|
|
35
|
+
pluginInjectionApi: api,
|
|
36
|
+
showIndentationButtons: showIndentationButtons,
|
|
37
|
+
allowHeadingAndParagraphIndentation: allowHeadingAndParagraphIndentation
|
|
38
|
+
});
|
|
39
|
+
}
|
|
30
40
|
return /*#__PURE__*/React.createElement(PrimaryToolbarComponent, {
|
|
31
41
|
featureFlags: featureFlags,
|
|
32
42
|
popupsMountPoint: popupsMountPoint,
|
|
33
43
|
popupsBoundariesElement: popupsBoundariesElement,
|
|
34
44
|
popupsScrollableElement: popupsScrollableElement,
|
|
35
|
-
isSmall:
|
|
45
|
+
isSmall: toolbarSize < ToolbarSize.L,
|
|
36
46
|
isToolbarReducedSpacing: isToolbarReducedSpacing,
|
|
37
47
|
disabled: disabled,
|
|
38
48
|
editorView: editorView,
|
|
@@ -26,13 +26,23 @@ export var toolbarListsIndentationPlugin = function toolbarListsIndentationPlugi
|
|
|
26
26
|
toolbarSize = _ref3.toolbarSize,
|
|
27
27
|
disabled = _ref3.disabled,
|
|
28
28
|
isToolbarReducedSpacing = _ref3.isToolbarReducedSpacing;
|
|
29
|
-
|
|
29
|
+
if (editorExperiment('platform_editor_controls', 'variant1', {
|
|
30
|
+
exposure: true
|
|
31
|
+
})) {
|
|
32
|
+
return /*#__PURE__*/React.createElement(FloatingToolbarComponent, {
|
|
33
|
+
editorView: editorView,
|
|
34
|
+
featureFlags: featureFlags,
|
|
35
|
+
pluginInjectionApi: api,
|
|
36
|
+
showIndentationButtons: showIndentationButtons,
|
|
37
|
+
allowHeadingAndParagraphIndentation: allowHeadingAndParagraphIndentation
|
|
38
|
+
});
|
|
39
|
+
}
|
|
30
40
|
return /*#__PURE__*/React.createElement(PrimaryToolbarComponent, {
|
|
31
41
|
featureFlags: featureFlags,
|
|
32
42
|
popupsMountPoint: popupsMountPoint,
|
|
33
43
|
popupsBoundariesElement: popupsBoundariesElement,
|
|
34
44
|
popupsScrollableElement: popupsScrollableElement,
|
|
35
|
-
isSmall:
|
|
45
|
+
isSmall: toolbarSize < ToolbarSize.L,
|
|
36
46
|
isToolbarReducedSpacing: isToolbarReducedSpacing,
|
|
37
47
|
disabled: disabled,
|
|
38
48
|
editorView: editorView,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-toolbar-lists-indentation",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.17.0",
|
|
4
4
|
"description": "Toolbar lists and indentation plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -31,20 +31,20 @@
|
|
|
31
31
|
".": "./src/index.ts"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@atlaskit/editor-common": "^99.
|
|
34
|
+
"@atlaskit/editor-common": "^99.18.0",
|
|
35
35
|
"@atlaskit/editor-plugin-analytics": "^1.12.0",
|
|
36
|
-
"@atlaskit/editor-plugin-block-type": "^4.
|
|
36
|
+
"@atlaskit/editor-plugin-block-type": "^4.4.0",
|
|
37
37
|
"@atlaskit/editor-plugin-feature-flags": "^1.3.0",
|
|
38
38
|
"@atlaskit/editor-plugin-indentation": "^1.10.0",
|
|
39
39
|
"@atlaskit/editor-plugin-list": "^3.10.0",
|
|
40
|
-
"@atlaskit/editor-plugin-primary-toolbar": "^2.
|
|
40
|
+
"@atlaskit/editor-plugin-primary-toolbar": "^2.3.0",
|
|
41
41
|
"@atlaskit/editor-plugin-tasks-and-decisions": "^2.14.0",
|
|
42
42
|
"@atlaskit/editor-prosemirror": "7.0.0",
|
|
43
|
-
"@atlaskit/editor-shared-styles": "^3.
|
|
44
|
-
"@atlaskit/icon": "^23.
|
|
45
|
-
"@atlaskit/platform-feature-flags": "^1.
|
|
46
|
-
"@atlaskit/tmp-editor-statsig": "^2.
|
|
47
|
-
"@atlaskit/tokens": "3.3.
|
|
43
|
+
"@atlaskit/editor-shared-styles": "^3.3.0",
|
|
44
|
+
"@atlaskit/icon": "^23.10.0",
|
|
45
|
+
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
46
|
+
"@atlaskit/tmp-editor-statsig": "^2.47.0",
|
|
47
|
+
"@atlaskit/tokens": "3.3.2",
|
|
48
48
|
"@babel/runtime": "^7.0.0",
|
|
49
49
|
"@emotion/react": "^11.7.1"
|
|
50
50
|
},
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"@atlaskit/adf-schema": "^47.2.1",
|
|
60
60
|
"@atlaskit/analytics-next": "^10.3.0",
|
|
61
61
|
"@atlaskit/editor-plugin-base": "^2.2.0",
|
|
62
|
-
"@atlaskit/editor-plugin-text-formatting": "^1.
|
|
62
|
+
"@atlaskit/editor-plugin-text-formatting": "^1.19.0",
|
|
63
63
|
"@atlaskit/ssr": "*",
|
|
64
64
|
"@atlaskit/visual-regression": "*",
|
|
65
65
|
"@testing-library/react": "^13.4.0",
|