@atlaskit/editor-plugin-toolbar-lists-indentation 19.0.9 → 19.0.11
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 +14 -0
- package/dist/cjs/toolbarListsIndentationPlugin.js +2 -3
- package/dist/cjs/ui/Toolbar.js +1 -1
- package/dist/cjs/ui/ToolbarDropdown.js +1 -1
- package/dist/cjs/ui/index.js +1 -1
- package/dist/es2019/toolbarListsIndentationPlugin.js +2 -3
- package/dist/es2019/ui/Toolbar.js +1 -1
- package/dist/es2019/ui/ToolbarDropdown.js +1 -1
- package/dist/es2019/ui/index.js +1 -1
- package/dist/esm/toolbarListsIndentationPlugin.js +2 -3
- package/dist/esm/ui/Toolbar.js +1 -1
- package/dist/esm/ui/ToolbarDropdown.js +1 -1
- package/dist/esm/ui/index.js +1 -1
- package/package.json +4 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-toolbar-lists-indentation
|
|
2
2
|
|
|
3
|
+
## 19.0.11
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`0920715a6b9fc`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/0920715a6b9fc) -
|
|
8
|
+
Clean up feature gate `platform_editor_use_preferences_plugin`
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
11
|
+
## 19.0.10
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
|
|
3
17
|
## 19.0.9
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
|
@@ -13,7 +13,6 @@ var _react = _interopRequireWildcard(require("react"));
|
|
|
13
13
|
var _hooks = require("@atlaskit/editor-common/hooks");
|
|
14
14
|
var _types = require("@atlaskit/editor-common/types");
|
|
15
15
|
var _usePluginStateEffect = require("@atlaskit/editor-common/use-plugin-state-effect");
|
|
16
|
-
var _fg = require("@atlaskit/platform-feature-flags/fg");
|
|
17
16
|
var _editorExperiment = require("@atlaskit/tmp-editor-statsig/editor-experiment");
|
|
18
17
|
var _indentationButtons = require("./pm-plugins/indentation-buttons");
|
|
19
18
|
var _types2 = require("./types");
|
|
@@ -77,8 +76,8 @@ var toolbarListsIndentationPlugin = exports.toolbarListsIndentationPlugin = func
|
|
|
77
76
|
name: 'toolbarListsIndentation',
|
|
78
77
|
pluginsOptions: _objectSpread({}, !isToolbarAIFCEnabled && {
|
|
79
78
|
selectionToolbar: function selectionToolbar() {
|
|
80
|
-
var _api$userPreferences
|
|
81
|
-
var toolbarDocking =
|
|
79
|
+
var _api$userPreferences;
|
|
80
|
+
var toolbarDocking = api === null || api === void 0 || (_api$userPreferences = api.userPreferences) === null || _api$userPreferences === void 0 || (_api$userPreferences = _api$userPreferences.sharedState.currentState()) === null || _api$userPreferences === void 0 ? void 0 : _api$userPreferences.preferences.toolbarDockingPosition;
|
|
82
81
|
if (toolbarDocking === 'none' && (0, _editorExperiment.editorExperiment)('platform_editor_controls', 'variant1', {
|
|
83
82
|
exposure: true
|
|
84
83
|
})) {
|
package/dist/cjs/ui/Toolbar.js
CHANGED
package/dist/cjs/ui/index.js
CHANGED
|
@@ -2,7 +2,6 @@ import React, { useState } from 'react';
|
|
|
2
2
|
import { useSharedPluginStateWithSelector } from '@atlaskit/editor-common/hooks';
|
|
3
3
|
import { ToolbarSize } from '@atlaskit/editor-common/types';
|
|
4
4
|
import { usePluginStateEffect } from '@atlaskit/editor-common/use-plugin-state-effect';
|
|
5
|
-
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
6
5
|
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
|
|
7
6
|
import { getIndentationButtonsState } from './pm-plugins/indentation-buttons';
|
|
8
7
|
import { ToolbarType } from './types';
|
|
@@ -65,8 +64,8 @@ export const toolbarListsIndentationPlugin = ({
|
|
|
65
64
|
pluginsOptions: {
|
|
66
65
|
...(!isToolbarAIFCEnabled && {
|
|
67
66
|
selectionToolbar() {
|
|
68
|
-
var _api$userPreferences, _api$userPreferences
|
|
69
|
-
const toolbarDocking =
|
|
67
|
+
var _api$userPreferences, _api$userPreferences$;
|
|
68
|
+
const toolbarDocking = api === null || api === void 0 ? void 0 : (_api$userPreferences = api.userPreferences) === null || _api$userPreferences === void 0 ? void 0 : (_api$userPreferences$ = _api$userPreferences.sharedState.currentState()) === null || _api$userPreferences$ === void 0 ? void 0 : _api$userPreferences$.preferences.toolbarDockingPosition;
|
|
70
69
|
if (toolbarDocking === 'none' && editorExperiment('platform_editor_controls', 'variant1', {
|
|
71
70
|
exposure: true
|
|
72
71
|
})) {
|
package/dist/es2019/ui/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* index.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* index.tsx generated by @compiled/babel-plugin v3.0.2 */
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { ax, ix } from "@compiled/react/runtime";
|
|
4
4
|
import { INPUT_METHOD } from '@atlaskit/editor-common/analytics';
|
|
@@ -6,7 +6,6 @@ import React, { useState } from 'react';
|
|
|
6
6
|
import { useSharedPluginStateWithSelector } from '@atlaskit/editor-common/hooks';
|
|
7
7
|
import { ToolbarSize } from '@atlaskit/editor-common/types';
|
|
8
8
|
import { usePluginStateEffect } from '@atlaskit/editor-common/use-plugin-state-effect';
|
|
9
|
-
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
10
9
|
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
|
|
11
10
|
import { getIndentationButtonsState } from './pm-plugins/indentation-buttons';
|
|
12
11
|
import { ToolbarType } from './types';
|
|
@@ -67,8 +66,8 @@ export var toolbarListsIndentationPlugin = function toolbarListsIndentationPlugi
|
|
|
67
66
|
name: 'toolbarListsIndentation',
|
|
68
67
|
pluginsOptions: _objectSpread({}, !isToolbarAIFCEnabled && {
|
|
69
68
|
selectionToolbar: function selectionToolbar() {
|
|
70
|
-
var _api$userPreferences
|
|
71
|
-
var toolbarDocking =
|
|
69
|
+
var _api$userPreferences;
|
|
70
|
+
var toolbarDocking = api === null || api === void 0 || (_api$userPreferences = api.userPreferences) === null || _api$userPreferences === void 0 || (_api$userPreferences = _api$userPreferences.sharedState.currentState()) === null || _api$userPreferences === void 0 ? void 0 : _api$userPreferences.preferences.toolbarDockingPosition;
|
|
72
71
|
if (toolbarDocking === 'none' && editorExperiment('platform_editor_controls', 'variant1', {
|
|
73
72
|
exposure: true
|
|
74
73
|
})) {
|
package/dist/esm/ui/Toolbar.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* ToolbarDropdown.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* ToolbarDropdown.tsx generated by @compiled/babel-plugin v3.0.2 */
|
|
2
2
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
3
3
|
import { ax, ix } from "@compiled/react/runtime";
|
|
4
4
|
import React from 'react';
|
package/dist/esm/ui/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* index.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* index.tsx generated by @compiled/babel-plugin v3.0.2 */
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { ax, ix } from "@compiled/react/runtime";
|
|
4
4
|
import { INPUT_METHOD } from '@atlaskit/editor-common/analytics';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-toolbar-lists-indentation",
|
|
3
|
-
"version": "19.0.
|
|
3
|
+
"version": "19.0.11",
|
|
4
4
|
"description": "Toolbar lists and indentation plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -38,18 +38,18 @@
|
|
|
38
38
|
"@atlaskit/icon": "^37.7.0",
|
|
39
39
|
"@atlaskit/platform-feature-experiments": "^0.3.0",
|
|
40
40
|
"@atlaskit/platform-feature-flags": "^2.2.0",
|
|
41
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
41
|
+
"@atlaskit/tmp-editor-statsig": "^198.0.0",
|
|
42
42
|
"@atlaskit/tokens": "^17.0.0",
|
|
43
43
|
"@babel/runtime": "^7.0.0"
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|
|
46
|
-
"@atlaskit/editor-common": "^122.
|
|
46
|
+
"@atlaskit/editor-common": "^122.11.0",
|
|
47
47
|
"react": "^18.2.0 || ^19.2.0",
|
|
48
48
|
"react-dom": "^18.2.0 || ^19.2.0",
|
|
49
49
|
"react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
|
-
"@atlaskit/adf-schema": "^57.
|
|
52
|
+
"@atlaskit/adf-schema": "^57.5.0",
|
|
53
53
|
"@testing-library/react": "^16.3.0",
|
|
54
54
|
"react": "^19.2.0",
|
|
55
55
|
"react-dom": "^19.2.0",
|
|
@@ -59,9 +59,6 @@
|
|
|
59
59
|
"platform-feature-flags": {
|
|
60
60
|
"platform_editor_markdown_compatible_toolbar": {
|
|
61
61
|
"type": "boolean"
|
|
62
|
-
},
|
|
63
|
-
"platform_editor_use_preferences_plugin": {
|
|
64
|
-
"type": "boolean"
|
|
65
62
|
}
|
|
66
63
|
}
|
|
67
64
|
}
|