@atlaskit/editor-toolbar 2.5.3 → 2.6.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,27 @@
|
|
|
1
1
|
# @atlaskit/editor-toolbar
|
|
2
2
|
|
|
3
|
+
## 2.6.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`d96f86ff344b8`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/d96f86ff344b8) -
|
|
8
|
+
Use @atlaskit/platform-feature-experiments directly for
|
|
9
|
+
platform_editor_vc90_transition_expand_icon, platform_editor_add_image_editing,
|
|
10
|
+
platform_editor_ai_multi_format_streaming, platform_editor_default_toolbar_state,
|
|
11
|
+
platform_editor_early_exit_return_draft, platform_editor_fix_focus_MediaInsertPicker,
|
|
12
|
+
platform_editor_fix_table_move_shortcut, platform_editor_menu_radius_update,
|
|
13
|
+
platform_editor_react19_migration, and show_mentions_in_suggest_reply.
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- Updated dependencies
|
|
18
|
+
|
|
19
|
+
## 2.5.4
|
|
20
|
+
|
|
21
|
+
### Patch Changes
|
|
22
|
+
|
|
23
|
+
- Updated dependencies
|
|
24
|
+
|
|
3
25
|
## 2.5.3
|
|
4
26
|
|
|
5
27
|
### Patch Changes
|
|
@@ -10,8 +10,8 @@ require("./ToolbarMenuContainer.compiled.css");
|
|
|
10
10
|
var _runtime = require("@compiled/react/runtime");
|
|
11
11
|
var _react = _interopRequireWildcard(require("react"));
|
|
12
12
|
var _css = require("@atlaskit/css");
|
|
13
|
+
var _isExperimentEnabled = require("@atlaskit/platform-feature-experiments/is-experiment-enabled");
|
|
13
14
|
var _compiled = require("@atlaskit/primitives/compiled");
|
|
14
|
-
var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
|
|
15
15
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
16
16
|
var styles = {
|
|
17
17
|
container: "_2rko12b0 _bfhk1bhr _16qs130s",
|
|
@@ -30,7 +30,7 @@ var ToolbarMenuContainer = exports.ToolbarMenuContainer = /*#__PURE__*/(0, _reac
|
|
|
30
30
|
testId = _ref.testId,
|
|
31
31
|
xcss = _ref.xcss;
|
|
32
32
|
return /*#__PURE__*/_react.default.createElement(_compiled.Box, {
|
|
33
|
-
xcss: (0, _css.cx)(styles.container, (0,
|
|
33
|
+
xcss: (0, _css.cx)(styles.container, (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_menu_radius_update') && styles.radiusUpdate, (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_menu_radius_update') && styles.emptyMenuSectionStyles, (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_menu_radius_update') && xcss),
|
|
34
34
|
testId: testId,
|
|
35
35
|
onMouseDown: onMouseDown,
|
|
36
36
|
onMouseEnter: onMouseEnter,
|
|
@@ -3,8 +3,8 @@ import "./ToolbarMenuContainer.compiled.css";
|
|
|
3
3
|
import { ax, ix } from "@compiled/react/runtime";
|
|
4
4
|
import React, { forwardRef } from 'react';
|
|
5
5
|
import { cx } from '@atlaskit/css';
|
|
6
|
+
import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
|
|
6
7
|
import { Box } from '@atlaskit/primitives/compiled';
|
|
7
|
-
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
8
8
|
const styles = {
|
|
9
9
|
container: "_2rko12b0 _bfhk1bhr _16qs130s",
|
|
10
10
|
radiusUpdate: "_2rko1mok",
|
|
@@ -23,7 +23,7 @@ export const ToolbarMenuContainer = /*#__PURE__*/forwardRef(({
|
|
|
23
23
|
xcss
|
|
24
24
|
}, ref) => {
|
|
25
25
|
return /*#__PURE__*/React.createElement(Box, {
|
|
26
|
-
xcss: cx(styles.container,
|
|
26
|
+
xcss: cx(styles.container, isExperimentEnabled('platform_editor_menu_radius_update') && styles.radiusUpdate, isExperimentEnabled('platform_editor_menu_radius_update') && styles.emptyMenuSectionStyles, isExperimentEnabled('platform_editor_menu_radius_update') && xcss),
|
|
27
27
|
testId: testId,
|
|
28
28
|
onMouseDown: onMouseDown,
|
|
29
29
|
onMouseEnter: onMouseEnter,
|
|
@@ -3,8 +3,8 @@ import "./ToolbarMenuContainer.compiled.css";
|
|
|
3
3
|
import { ax, ix } from "@compiled/react/runtime";
|
|
4
4
|
import React, { forwardRef } from 'react';
|
|
5
5
|
import { cx } from '@atlaskit/css';
|
|
6
|
+
import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
|
|
6
7
|
import { Box } from '@atlaskit/primitives/compiled';
|
|
7
|
-
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
8
8
|
var styles = {
|
|
9
9
|
container: "_2rko12b0 _bfhk1bhr _16qs130s",
|
|
10
10
|
radiusUpdate: "_2rko1mok",
|
|
@@ -22,7 +22,7 @@ export var ToolbarMenuContainer = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
22
22
|
testId = _ref.testId,
|
|
23
23
|
xcss = _ref.xcss;
|
|
24
24
|
return /*#__PURE__*/React.createElement(Box, {
|
|
25
|
-
xcss: cx(styles.container,
|
|
25
|
+
xcss: cx(styles.container, isExperimentEnabled('platform_editor_menu_radius_update') && styles.radiusUpdate, isExperimentEnabled('platform_editor_menu_radius_update') && styles.emptyMenuSectionStyles, isExperimentEnabled('platform_editor_menu_radius_update') && xcss),
|
|
26
26
|
testId: testId,
|
|
27
27
|
onMouseDown: onMouseDown,
|
|
28
28
|
onMouseEnter: onMouseEnter,
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"registry": "https://registry.npmjs.org/"
|
|
5
5
|
},
|
|
6
|
-
"version": "2.
|
|
6
|
+
"version": "2.6.0",
|
|
7
7
|
"description": "Common UI for Toolbars across the platform",
|
|
8
8
|
"atlassian": {
|
|
9
9
|
"react-compiler": {
|
|
@@ -28,20 +28,20 @@
|
|
|
28
28
|
],
|
|
29
29
|
"atlaskit:src": "src/index.ts",
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@atlaskit/badge": "^21.
|
|
31
|
+
"@atlaskit/badge": "^21.1.0",
|
|
32
32
|
"@atlaskit/browser-apis": "^1.2.0",
|
|
33
33
|
"@atlaskit/css": "^1.0.0",
|
|
34
|
-
"@atlaskit/dropdown-menu": "^18.
|
|
35
|
-
"@atlaskit/icon": "^37.
|
|
36
|
-
"@atlaskit/icon-lab": "^7.
|
|
34
|
+
"@atlaskit/dropdown-menu": "^18.2.0",
|
|
35
|
+
"@atlaskit/icon": "^37.5.0",
|
|
36
|
+
"@atlaskit/icon-lab": "^7.7.0",
|
|
37
37
|
"@atlaskit/platform-feature-experiments": "^0.3.0",
|
|
38
38
|
"@atlaskit/platform-feature-flags": "^2.1.0",
|
|
39
|
-
"@atlaskit/popup": "^6.
|
|
40
|
-
"@atlaskit/primitives": "^22.
|
|
39
|
+
"@atlaskit/popup": "^6.2.0",
|
|
40
|
+
"@atlaskit/primitives": "^22.4.0",
|
|
41
41
|
"@atlaskit/react-compiler-gating": "^0.2.0",
|
|
42
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
43
|
-
"@atlaskit/tokens": "^16.
|
|
44
|
-
"@atlaskit/tooltip": "^24.
|
|
42
|
+
"@atlaskit/tmp-editor-statsig": "^157.0.0",
|
|
43
|
+
"@atlaskit/tokens": "^16.8.0",
|
|
44
|
+
"@atlaskit/tooltip": "^24.2.0",
|
|
45
45
|
"@babel/runtime": "^7.0.0",
|
|
46
46
|
"@compiled/react": "^1.0.2",
|
|
47
47
|
"chromatism": "^2.6.0"
|