@atlaskit/editor-plugin-selection-toolbar 13.0.33 → 13.1.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 +21 -0
- package/dist/cjs/ui/PinButton.js +1 -2
- package/dist/es2019/ui/PinButton.js +1 -2
- package/dist/esm/ui/PinButton.js +1 -2
- package/package.json +17 -20
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-selection-toolbar
|
|
2
2
|
|
|
3
|
+
## 13.1.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`51c33ef5349b6`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/51c33ef5349b6) -
|
|
8
|
+
Enable compatibility with React 19.2.0
|
|
9
|
+
|
|
10
|
+
### Patch Changes
|
|
11
|
+
|
|
12
|
+
- Updated dependencies
|
|
13
|
+
|
|
14
|
+
## 13.0.34
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- [`2bf1a4ceaf0a4`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/2bf1a4ceaf0a4) -
|
|
19
|
+
Clean up stale feature gates platform_editor_fix_md_empty_list_roundtrip,
|
|
20
|
+
platform_editor_md-mode-use-content-reconciler, platform_editor_toolbar_mode_override,
|
|
21
|
+
platform_editor_markdown_mode_hide_source_toolbar
|
|
22
|
+
- Updated dependencies
|
|
23
|
+
|
|
3
24
|
## 13.0.33
|
|
4
25
|
|
|
5
26
|
### Patch Changes
|
package/dist/cjs/ui/PinButton.js
CHANGED
|
@@ -11,7 +11,6 @@ var _hooks = require("@atlaskit/editor-common/hooks");
|
|
|
11
11
|
var _messages = require("@atlaskit/editor-common/messages");
|
|
12
12
|
var _toolbar = require("@atlaskit/editor-common/toolbar");
|
|
13
13
|
var _editorToolbar = require("@atlaskit/editor-toolbar");
|
|
14
|
-
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
15
14
|
var PinButton = exports.PinButton = function PinButton(_ref) {
|
|
16
15
|
var api = _ref.api;
|
|
17
16
|
var intl = (0, _reactIntl.useIntl)();
|
|
@@ -25,7 +24,7 @@ var PinButton = exports.PinButton = function PinButton(_ref) {
|
|
|
25
24
|
var _states$toolbarState;
|
|
26
25
|
return (_states$toolbarState = states.toolbarState) === null || _states$toolbarState === void 0 ? void 0 : _states$toolbarState.contextualFormattingModeOverride;
|
|
27
26
|
});
|
|
28
|
-
if (runtimeOverride === 'always-pinned'
|
|
27
|
+
if (runtimeOverride === 'always-pinned') {
|
|
29
28
|
return null;
|
|
30
29
|
}
|
|
31
30
|
var onClick = function onClick() {
|
|
@@ -4,7 +4,6 @@ import { useSharedPluginStateWithSelector } from '@atlaskit/editor-common/hooks'
|
|
|
4
4
|
import { selectionToolbarMessages } from '@atlaskit/editor-common/messages';
|
|
5
5
|
import { useEditorToolbar } from '@atlaskit/editor-common/toolbar';
|
|
6
6
|
import { PinnedIcon, ToolbarButton, ToolbarTooltip } from '@atlaskit/editor-toolbar';
|
|
7
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
8
7
|
export const PinButton = ({
|
|
9
8
|
api
|
|
10
9
|
}) => {
|
|
@@ -20,7 +19,7 @@ export const PinButton = ({
|
|
|
20
19
|
var _states$toolbarState;
|
|
21
20
|
return (_states$toolbarState = states.toolbarState) === null || _states$toolbarState === void 0 ? void 0 : _states$toolbarState.contextualFormattingModeOverride;
|
|
22
21
|
});
|
|
23
|
-
if (runtimeOverride === 'always-pinned'
|
|
22
|
+
if (runtimeOverride === 'always-pinned') {
|
|
24
23
|
return null;
|
|
25
24
|
}
|
|
26
25
|
const onClick = () => {
|
package/dist/esm/ui/PinButton.js
CHANGED
|
@@ -4,7 +4,6 @@ import { useSharedPluginStateWithSelector } from '@atlaskit/editor-common/hooks'
|
|
|
4
4
|
import { selectionToolbarMessages } from '@atlaskit/editor-common/messages';
|
|
5
5
|
import { useEditorToolbar } from '@atlaskit/editor-common/toolbar';
|
|
6
6
|
import { PinnedIcon, ToolbarButton, ToolbarTooltip } from '@atlaskit/editor-toolbar';
|
|
7
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
8
7
|
export var PinButton = function PinButton(_ref) {
|
|
9
8
|
var api = _ref.api;
|
|
10
9
|
var intl = useIntl();
|
|
@@ -18,7 +17,7 @@ export var PinButton = function PinButton(_ref) {
|
|
|
18
17
|
var _states$toolbarState;
|
|
19
18
|
return (_states$toolbarState = states.toolbarState) === null || _states$toolbarState === void 0 ? void 0 : _states$toolbarState.contextualFormattingModeOverride;
|
|
20
19
|
});
|
|
21
|
-
if (runtimeOverride === 'always-pinned'
|
|
20
|
+
if (runtimeOverride === 'always-pinned') {
|
|
22
21
|
return null;
|
|
23
22
|
}
|
|
24
23
|
var onClick = function onClick() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-selection-toolbar",
|
|
3
|
-
"version": "13.0
|
|
3
|
+
"version": "13.1.0",
|
|
4
4
|
"description": "@atlaskit/editor-plugin-selection-toolbar for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -22,37 +22,37 @@
|
|
|
22
22
|
"atlaskit:src": "src/index.ts",
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@atlaskit/css": "^1.0.0",
|
|
25
|
-
"@atlaskit/editor-plugin-analytics": "^12.
|
|
26
|
-
"@atlaskit/editor-plugin-block-controls": "^13.
|
|
27
|
-
"@atlaskit/editor-plugin-connectivity": "^12.
|
|
28
|
-
"@atlaskit/editor-plugin-editor-viewmode": "^14.
|
|
29
|
-
"@atlaskit/editor-plugin-primary-toolbar": "^13.
|
|
30
|
-
"@atlaskit/editor-plugin-toolbar": "^9.
|
|
31
|
-
"@atlaskit/editor-plugin-user-intent": "^10.
|
|
32
|
-
"@atlaskit/editor-plugin-user-preferences": "^10.
|
|
25
|
+
"@atlaskit/editor-plugin-analytics": "^12.1.0",
|
|
26
|
+
"@atlaskit/editor-plugin-block-controls": "^13.4.0",
|
|
27
|
+
"@atlaskit/editor-plugin-connectivity": "^12.1.0",
|
|
28
|
+
"@atlaskit/editor-plugin-editor-viewmode": "^14.1.0",
|
|
29
|
+
"@atlaskit/editor-plugin-primary-toolbar": "^13.1.0",
|
|
30
|
+
"@atlaskit/editor-plugin-toolbar": "^9.1.0",
|
|
31
|
+
"@atlaskit/editor-plugin-user-intent": "^10.2.0",
|
|
32
|
+
"@atlaskit/editor-plugin-user-preferences": "^10.1.0",
|
|
33
33
|
"@atlaskit/editor-prosemirror": "^8.0.0",
|
|
34
|
-
"@atlaskit/editor-toolbar": "^2.
|
|
35
|
-
"@atlaskit/editor-toolbar-model": "^1.
|
|
34
|
+
"@atlaskit/editor-toolbar": "^2.4.0",
|
|
35
|
+
"@atlaskit/editor-toolbar-model": "^1.2.0",
|
|
36
36
|
"@atlaskit/icon": "^37.2.0",
|
|
37
37
|
"@atlaskit/icon-lab": "^7.4.0",
|
|
38
38
|
"@atlaskit/menu": "^9.2.0",
|
|
39
39
|
"@atlaskit/platform-feature-flags": "^2.1.0",
|
|
40
|
-
"@atlaskit/tmp-editor-statsig": "^135.
|
|
40
|
+
"@atlaskit/tmp-editor-statsig": "^135.7.0",
|
|
41
41
|
"@atlaskit/tokens": "^16.3.0",
|
|
42
42
|
"@babel/runtime": "^7.0.0",
|
|
43
43
|
"bind-event-listener": "^3.0.0"
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|
|
46
|
-
"@atlaskit/editor-common": "^116.
|
|
47
|
-
"react": "^18.2.0",
|
|
48
|
-
"react-dom": "^18.2.0",
|
|
46
|
+
"@atlaskit/editor-common": "^116.45.0",
|
|
47
|
+
"react": "^18.2.0 || ^19.2.0",
|
|
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
52
|
"@atlassian/structured-docs-types": "workspace:^",
|
|
53
53
|
"@testing-library/react": "^16.3.0",
|
|
54
|
-
"react": "^
|
|
55
|
-
"react-dom": "^
|
|
54
|
+
"react": "^19.2.0",
|
|
55
|
+
"react-dom": "^19.2.0",
|
|
56
56
|
"react-intl": "^7.0.0",
|
|
57
57
|
"wait-for-expect": "^1.2.0"
|
|
58
58
|
},
|
|
@@ -89,9 +89,6 @@
|
|
|
89
89
|
}
|
|
90
90
|
},
|
|
91
91
|
"platform-feature-flags": {
|
|
92
|
-
"platform_editor_toolbar_mode_override": {
|
|
93
|
-
"type": "boolean"
|
|
94
|
-
},
|
|
95
92
|
"platform_editor_user_preferences_provider_update": {
|
|
96
93
|
"type": "boolean"
|
|
97
94
|
},
|