@atlaskit/editor-toolbar 2.4.8 → 2.4.10
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 +15 -0
- package/dist/cjs/ui/ResponsiveContainer.compiled.css +5 -5
- package/dist/cjs/ui/ResponsiveContainer.js +3 -3
- package/dist/es2019/ui/ResponsiveContainer.compiled.css +5 -5
- package/dist/es2019/ui/ResponsiveContainer.js +3 -3
- package/dist/esm/ui/ResponsiveContainer.compiled.css +5 -5
- package/dist/esm/ui/ResponsiveContainer.js +3 -3
- package/dist/types/ui/ResponsiveContainer.d.ts +1 -1
- package/package.json +4 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @atlaskit/editor-toolbar
|
|
2
2
|
|
|
3
|
+
## 2.4.10
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 2.4.9
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`8c1c9cf057b32`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/8c1c9cf057b32) -
|
|
14
|
+
Use the suggested edits experiment for the updated full-page editor toolbar breakpoints, with the
|
|
15
|
+
large and extra-large thresholds set to 1035px and 1130px.
|
|
16
|
+
- Updated dependencies
|
|
17
|
+
|
|
3
18
|
## 2.4.8
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
@container editor-area (max-width: 533px){._u47mglyw .show-above-md{display:none}._rut51ule .show-below-md{display:block}}
|
|
19
19
|
@container editor-area (max-width: 700px){._fj5dglyw .show-above-lg{display:none}._5wt61ule .show-below-lg{display:block}}
|
|
20
20
|
@container toolbar-container (max-width: 1023px){._luoiglyw .show-above-xl{display:none}._2ojp1ule .show-below-xl{display:block}._tzm6glyw._tzm6glyw .show-above-xl{display:none}._ktne1ule._ktne1ule .show-below-xl{display:block}}
|
|
21
|
-
@container toolbar-container (max-width:
|
|
22
|
-
@container toolbar-container (max-width:
|
|
21
|
+
@container toolbar-container (max-width: 1034px){._1hjdglyw .show-above-lg{display:none}._h45w1ule .show-below-lg{display:block}}
|
|
22
|
+
@container toolbar-container (max-width: 1129px){._1ewsglyw .show-above-xl{display:none}._1vlh1ule .show-below-xl{display:block}}
|
|
23
23
|
@container toolbar-container (max-width: 209px){._15nrglyw._15nrglyw .show-above-sm{display:none}._cm5a1ule._cm5a1ule .show-below-sm{display:block}}
|
|
24
24
|
@container toolbar-container (max-width: 279px){._152xglyw._152xglyw .show-above-sm{display:none}._1cn41ule._1cn41ule .show-below-sm{display:block}}
|
|
25
25
|
@container toolbar-container (max-width: 295px){._kkyiglyw._kkyiglyw .show-above-sm{display:none}._1dj81ule._1dj81ule .show-below-sm{display:block}}
|
|
@@ -39,8 +39,8 @@
|
|
|
39
39
|
@container toolbar-container (max-width: 721px){._1nqyglyw .show-above-md{display:none}._jd611ule .show-below-md{display:block}}
|
|
40
40
|
@container toolbar-container (max-width: 857px){._syrzglyw .show-above-lg{display:none}._fr6v1ule .show-below-lg{display:block}}
|
|
41
41
|
@container toolbar-container (min-width: 1024px){._1je21ule .show-only-xl{display:block}._87bn1ule._87bn1ule .show-only-xl{display:block}}
|
|
42
|
-
@container toolbar-container (min-width:
|
|
43
|
-
@container toolbar-container (min-width:
|
|
42
|
+
@container toolbar-container (min-width: 1035px) and (max-width: 1129px){._1ihv1ule .show-only-lg{display:block}}
|
|
43
|
+
@container toolbar-container (min-width: 1130px){._99in1ule .show-only-xl{display:block}}
|
|
44
44
|
@container toolbar-container (min-width: 210px) and (max-width: 407px){._7qjy1ule._7qjy1ule .show-only-sm{display:block}}
|
|
45
45
|
@container toolbar-container (min-width: 280px) and (max-width: 419px){._4cj71ule._4cj71ule .show-only-sm{display:block}}
|
|
46
46
|
@container toolbar-container (min-width: 280px) and (max-width: 506px){._1j4d1ule._1j4d1ule .show-only-sm{display:block}}
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
@container toolbar-container (min-width: 650px) and (max-width: 1023px){._1ym01ule._1ym01ule .show-only-lg{display:block}}
|
|
60
60
|
@container toolbar-container (min-width: 662px) and (max-width: 1023px){._wt211ule._wt211ule .show-only-lg{display:block}}
|
|
61
61
|
@container toolbar-container (min-width: 679px) and (max-width: 1023px){._g5yu1ule._g5yu1ule .show-only-lg{display:block}}
|
|
62
|
-
@container toolbar-container (min-width: 722px) and (max-width:
|
|
62
|
+
@container toolbar-container (min-width: 722px) and (max-width: 1034px){._x1x31ule .show-only-md{display:block}}
|
|
63
63
|
@container toolbar-container (min-width: 722px) and (max-width: 857px){._biad1ule .show-only-md{display:block}}
|
|
64
64
|
@container toolbar-container (min-width: 858px) and (max-width: 1023px){._1ana1ule .show-only-lg{display:block}}
|
|
65
65
|
@media (max-width:700px){._hmx4glyw .show-above-lg{display:none}._1rrm1ule .show-below-lg{display:block}}
|
|
@@ -13,14 +13,14 @@ require("./ResponsiveContainer.compiled.css");
|
|
|
13
13
|
var _runtime = require("@compiled/react/runtime");
|
|
14
14
|
var _react = _interopRequireDefault(require("react"));
|
|
15
15
|
var _css = require("@atlaskit/css");
|
|
16
|
+
var _unsafeExpValNoExposure = require("@atlaskit/platform-feature-experiments/unsafe-exp-val-no-exposure");
|
|
16
17
|
var _compiled = require("@atlaskit/primitives/compiled");
|
|
17
18
|
var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
|
|
18
|
-
var _expValEqualsNoExposure = require("@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure");
|
|
19
19
|
var styles = {
|
|
20
20
|
responsiveContainer: "_1bsb1osq _7cca15wb _1f38ptqj _1bx91ule _1ehg1ule _1onx1ule _1xt01ule _zg9wglyw _1a2cglyw _sum2glyw _1vtcglyw _1ir3glyw _1vp2glyw _1eadglyw _a6zzglyw",
|
|
21
21
|
responsiveContainerFullPage: "_1bsb1ns9 _1bx91ule _1ehg1ule _1onx1ule _1xt01ule _zg9wglyw _1a2cglyw _sum2glyw _1vtcglyw _1ir3glyw _1vp2glyw _1eadglyw _a6zzglyw",
|
|
22
22
|
fullpage: "_luoiglyw _2ojp1ule _11uvglyw _fj2k1ule _1nqyglyw _jd611ule _syrzglyw _fr6v1ule _1je21ule _1btx1ule _biad1ule _1ana1ule",
|
|
23
|
-
fullpageUpdated: "
|
|
23
|
+
fullpageUpdated: "_1hjdglyw _h45w1ule _1ewsglyw _1vlh1ule _11uvglyw _fj2k1ule _1nqyglyw _jd611ule _1ihv1ule _99in1ule _1btx1ule _x1x31ule",
|
|
24
24
|
reduced: "_kkyiglyw _1dj81ule _1cg81ule _j3qgglyw _xh1i1ule _oj3l1ule _13s9glyw _4nul1ule _wt211ule _tzm6glyw _ktne1ule _87bn1ule",
|
|
25
25
|
jiraIssue: "_152xglyw _1cn41ule _4cj71ule _afriglyw _ozjb1ule _w81r1ule _1mckglyw _r2nv1ule _1ym01ule _tzm6glyw _ktne1ule _87bn1ule",
|
|
26
26
|
jiraIssueUpdated: "_152xglyw _1cn41ule _1j4d1ule _1n52glyw _1nd71ule _lf431ule _103bglyw _1p0z1ule _g5yu1ule _tzm6glyw _ktne1ule _87bn1ule",
|
|
@@ -95,7 +95,7 @@ var ResponsiveContainer = exports.ResponsiveContainer = function ResponsiveConta
|
|
|
95
95
|
breakpointPreset = _ref.breakpointPreset;
|
|
96
96
|
var isUpdatedConfig = function () {
|
|
97
97
|
if (breakpointPreset === 'fullpage') {
|
|
98
|
-
return (0,
|
|
98
|
+
return (0, _unsafeExpValNoExposure.UNSAFE_expValNoExposure)('platform_editor_ai_content_suggested_edits', 'isEnabled', false);
|
|
99
99
|
}
|
|
100
100
|
return (0, _expValEquals.expValEquals)('platform_editor_toolbar_update_jira_config', 'isEnabled', true) && breakpointPreset in updatedPresetStyleMap;
|
|
101
101
|
}();
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
@container editor-area (max-width: 533px){._u47mglyw .show-above-md{display:none}._rut51ule .show-below-md{display:block}}
|
|
19
19
|
@container editor-area (max-width: 700px){._fj5dglyw .show-above-lg{display:none}._5wt61ule .show-below-lg{display:block}}
|
|
20
20
|
@container toolbar-container (max-width: 1023px){._luoiglyw .show-above-xl{display:none}._2ojp1ule .show-below-xl{display:block}._tzm6glyw._tzm6glyw .show-above-xl{display:none}._ktne1ule._ktne1ule .show-below-xl{display:block}}
|
|
21
|
-
@container toolbar-container (max-width:
|
|
22
|
-
@container toolbar-container (max-width:
|
|
21
|
+
@container toolbar-container (max-width: 1034px){._1hjdglyw .show-above-lg{display:none}._h45w1ule .show-below-lg{display:block}}
|
|
22
|
+
@container toolbar-container (max-width: 1129px){._1ewsglyw .show-above-xl{display:none}._1vlh1ule .show-below-xl{display:block}}
|
|
23
23
|
@container toolbar-container (max-width: 209px){._15nrglyw._15nrglyw .show-above-sm{display:none}._cm5a1ule._cm5a1ule .show-below-sm{display:block}}
|
|
24
24
|
@container toolbar-container (max-width: 279px){._152xglyw._152xglyw .show-above-sm{display:none}._1cn41ule._1cn41ule .show-below-sm{display:block}}
|
|
25
25
|
@container toolbar-container (max-width: 295px){._kkyiglyw._kkyiglyw .show-above-sm{display:none}._1dj81ule._1dj81ule .show-below-sm{display:block}}
|
|
@@ -39,8 +39,8 @@
|
|
|
39
39
|
@container toolbar-container (max-width: 721px){._1nqyglyw .show-above-md{display:none}._jd611ule .show-below-md{display:block}}
|
|
40
40
|
@container toolbar-container (max-width: 857px){._syrzglyw .show-above-lg{display:none}._fr6v1ule .show-below-lg{display:block}}
|
|
41
41
|
@container toolbar-container (min-width: 1024px){._1je21ule .show-only-xl{display:block}._87bn1ule._87bn1ule .show-only-xl{display:block}}
|
|
42
|
-
@container toolbar-container (min-width:
|
|
43
|
-
@container toolbar-container (min-width:
|
|
42
|
+
@container toolbar-container (min-width: 1035px) and (max-width: 1129px){._1ihv1ule .show-only-lg{display:block}}
|
|
43
|
+
@container toolbar-container (min-width: 1130px){._99in1ule .show-only-xl{display:block}}
|
|
44
44
|
@container toolbar-container (min-width: 210px) and (max-width: 407px){._7qjy1ule._7qjy1ule .show-only-sm{display:block}}
|
|
45
45
|
@container toolbar-container (min-width: 280px) and (max-width: 419px){._4cj71ule._4cj71ule .show-only-sm{display:block}}
|
|
46
46
|
@container toolbar-container (min-width: 280px) and (max-width: 506px){._1j4d1ule._1j4d1ule .show-only-sm{display:block}}
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
@container toolbar-container (min-width: 650px) and (max-width: 1023px){._1ym01ule._1ym01ule .show-only-lg{display:block}}
|
|
60
60
|
@container toolbar-container (min-width: 662px) and (max-width: 1023px){._wt211ule._wt211ule .show-only-lg{display:block}}
|
|
61
61
|
@container toolbar-container (min-width: 679px) and (max-width: 1023px){._g5yu1ule._g5yu1ule .show-only-lg{display:block}}
|
|
62
|
-
@container toolbar-container (min-width: 722px) and (max-width:
|
|
62
|
+
@container toolbar-container (min-width: 722px) and (max-width: 1034px){._x1x31ule .show-only-md{display:block}}
|
|
63
63
|
@container toolbar-container (min-width: 722px) and (max-width: 857px){._biad1ule .show-only-md{display:block}}
|
|
64
64
|
@container toolbar-container (min-width: 858px) and (max-width: 1023px){._1ana1ule .show-only-lg{display:block}}
|
|
65
65
|
@media (max-width:700px){._hmx4glyw .show-above-lg{display:none}._1rrm1ule .show-below-lg{display:block}}
|
|
@@ -6,14 +6,14 @@ import "./ResponsiveContainer.compiled.css";
|
|
|
6
6
|
import { ax, ix } from "@compiled/react/runtime";
|
|
7
7
|
import React from 'react';
|
|
8
8
|
import { cx } from '@atlaskit/css';
|
|
9
|
+
import { UNSAFE_expValNoExposure } from '@atlaskit/platform-feature-experiments/unsafe-exp-val-no-exposure';
|
|
9
10
|
import { Box } from '@atlaskit/primitives/compiled';
|
|
10
11
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
11
|
-
import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
|
|
12
12
|
const styles = {
|
|
13
13
|
responsiveContainer: "_1bsb1osq _7cca15wb _1f38ptqj _1bx91ule _1ehg1ule _1onx1ule _1xt01ule _zg9wglyw _1a2cglyw _sum2glyw _1vtcglyw _1ir3glyw _1vp2glyw _1eadglyw _a6zzglyw",
|
|
14
14
|
responsiveContainerFullPage: "_1bsb1ns9 _1bx91ule _1ehg1ule _1onx1ule _1xt01ule _zg9wglyw _1a2cglyw _sum2glyw _1vtcglyw _1ir3glyw _1vp2glyw _1eadglyw _a6zzglyw",
|
|
15
15
|
fullpage: "_luoiglyw _2ojp1ule _11uvglyw _fj2k1ule _1nqyglyw _jd611ule _syrzglyw _fr6v1ule _1je21ule _1btx1ule _biad1ule _1ana1ule",
|
|
16
|
-
fullpageUpdated: "
|
|
16
|
+
fullpageUpdated: "_1hjdglyw _h45w1ule _1ewsglyw _1vlh1ule _11uvglyw _fj2k1ule _1nqyglyw _jd611ule _1ihv1ule _99in1ule _1btx1ule _x1x31ule",
|
|
17
17
|
reduced: "_kkyiglyw _1dj81ule _1cg81ule _j3qgglyw _xh1i1ule _oj3l1ule _13s9glyw _4nul1ule _wt211ule _tzm6glyw _ktne1ule _87bn1ule",
|
|
18
18
|
jiraIssue: "_152xglyw _1cn41ule _4cj71ule _afriglyw _ozjb1ule _w81r1ule _1mckglyw _r2nv1ule _1ym01ule _tzm6glyw _ktne1ule _87bn1ule",
|
|
19
19
|
jiraIssueUpdated: "_152xglyw _1cn41ule _1j4d1ule _1n52glyw _1nd71ule _lf431ule _103bglyw _1p0z1ule _g5yu1ule _tzm6glyw _ktne1ule _87bn1ule",
|
|
@@ -89,7 +89,7 @@ export const ResponsiveContainer = ({
|
|
|
89
89
|
}) => {
|
|
90
90
|
const isUpdatedConfig = (() => {
|
|
91
91
|
if (breakpointPreset === 'fullpage') {
|
|
92
|
-
return
|
|
92
|
+
return UNSAFE_expValNoExposure('platform_editor_ai_content_suggested_edits', 'isEnabled', false);
|
|
93
93
|
}
|
|
94
94
|
return expValEquals('platform_editor_toolbar_update_jira_config', 'isEnabled', true) && breakpointPreset in updatedPresetStyleMap;
|
|
95
95
|
})();
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
@container editor-area (max-width: 533px){._u47mglyw .show-above-md{display:none}._rut51ule .show-below-md{display:block}}
|
|
19
19
|
@container editor-area (max-width: 700px){._fj5dglyw .show-above-lg{display:none}._5wt61ule .show-below-lg{display:block}}
|
|
20
20
|
@container toolbar-container (max-width: 1023px){._luoiglyw .show-above-xl{display:none}._2ojp1ule .show-below-xl{display:block}._tzm6glyw._tzm6glyw .show-above-xl{display:none}._ktne1ule._ktne1ule .show-below-xl{display:block}}
|
|
21
|
-
@container toolbar-container (max-width:
|
|
22
|
-
@container toolbar-container (max-width:
|
|
21
|
+
@container toolbar-container (max-width: 1034px){._1hjdglyw .show-above-lg{display:none}._h45w1ule .show-below-lg{display:block}}
|
|
22
|
+
@container toolbar-container (max-width: 1129px){._1ewsglyw .show-above-xl{display:none}._1vlh1ule .show-below-xl{display:block}}
|
|
23
23
|
@container toolbar-container (max-width: 209px){._15nrglyw._15nrglyw .show-above-sm{display:none}._cm5a1ule._cm5a1ule .show-below-sm{display:block}}
|
|
24
24
|
@container toolbar-container (max-width: 279px){._152xglyw._152xglyw .show-above-sm{display:none}._1cn41ule._1cn41ule .show-below-sm{display:block}}
|
|
25
25
|
@container toolbar-container (max-width: 295px){._kkyiglyw._kkyiglyw .show-above-sm{display:none}._1dj81ule._1dj81ule .show-below-sm{display:block}}
|
|
@@ -39,8 +39,8 @@
|
|
|
39
39
|
@container toolbar-container (max-width: 721px){._1nqyglyw .show-above-md{display:none}._jd611ule .show-below-md{display:block}}
|
|
40
40
|
@container toolbar-container (max-width: 857px){._syrzglyw .show-above-lg{display:none}._fr6v1ule .show-below-lg{display:block}}
|
|
41
41
|
@container toolbar-container (min-width: 1024px){._1je21ule .show-only-xl{display:block}._87bn1ule._87bn1ule .show-only-xl{display:block}}
|
|
42
|
-
@container toolbar-container (min-width:
|
|
43
|
-
@container toolbar-container (min-width:
|
|
42
|
+
@container toolbar-container (min-width: 1035px) and (max-width: 1129px){._1ihv1ule .show-only-lg{display:block}}
|
|
43
|
+
@container toolbar-container (min-width: 1130px){._99in1ule .show-only-xl{display:block}}
|
|
44
44
|
@container toolbar-container (min-width: 210px) and (max-width: 407px){._7qjy1ule._7qjy1ule .show-only-sm{display:block}}
|
|
45
45
|
@container toolbar-container (min-width: 280px) and (max-width: 419px){._4cj71ule._4cj71ule .show-only-sm{display:block}}
|
|
46
46
|
@container toolbar-container (min-width: 280px) and (max-width: 506px){._1j4d1ule._1j4d1ule .show-only-sm{display:block}}
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
@container toolbar-container (min-width: 650px) and (max-width: 1023px){._1ym01ule._1ym01ule .show-only-lg{display:block}}
|
|
60
60
|
@container toolbar-container (min-width: 662px) and (max-width: 1023px){._wt211ule._wt211ule .show-only-lg{display:block}}
|
|
61
61
|
@container toolbar-container (min-width: 679px) and (max-width: 1023px){._g5yu1ule._g5yu1ule .show-only-lg{display:block}}
|
|
62
|
-
@container toolbar-container (min-width: 722px) and (max-width:
|
|
62
|
+
@container toolbar-container (min-width: 722px) and (max-width: 1034px){._x1x31ule .show-only-md{display:block}}
|
|
63
63
|
@container toolbar-container (min-width: 722px) and (max-width: 857px){._biad1ule .show-only-md{display:block}}
|
|
64
64
|
@container toolbar-container (min-width: 858px) and (max-width: 1023px){._1ana1ule .show-only-lg{display:block}}
|
|
65
65
|
@media (max-width:700px){._hmx4glyw .show-above-lg{display:none}._1rrm1ule .show-below-lg{display:block}}
|
|
@@ -6,14 +6,14 @@ import "./ResponsiveContainer.compiled.css";
|
|
|
6
6
|
import { ax, ix } from "@compiled/react/runtime";
|
|
7
7
|
import React from 'react';
|
|
8
8
|
import { cx } from '@atlaskit/css';
|
|
9
|
+
import { UNSAFE_expValNoExposure } from '@atlaskit/platform-feature-experiments/unsafe-exp-val-no-exposure';
|
|
9
10
|
import { Box } from '@atlaskit/primitives/compiled';
|
|
10
11
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
11
|
-
import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
|
|
12
12
|
var styles = {
|
|
13
13
|
responsiveContainer: "_1bsb1osq _7cca15wb _1f38ptqj _1bx91ule _1ehg1ule _1onx1ule _1xt01ule _zg9wglyw _1a2cglyw _sum2glyw _1vtcglyw _1ir3glyw _1vp2glyw _1eadglyw _a6zzglyw",
|
|
14
14
|
responsiveContainerFullPage: "_1bsb1ns9 _1bx91ule _1ehg1ule _1onx1ule _1xt01ule _zg9wglyw _1a2cglyw _sum2glyw _1vtcglyw _1ir3glyw _1vp2glyw _1eadglyw _a6zzglyw",
|
|
15
15
|
fullpage: "_luoiglyw _2ojp1ule _11uvglyw _fj2k1ule _1nqyglyw _jd611ule _syrzglyw _fr6v1ule _1je21ule _1btx1ule _biad1ule _1ana1ule",
|
|
16
|
-
fullpageUpdated: "
|
|
16
|
+
fullpageUpdated: "_1hjdglyw _h45w1ule _1ewsglyw _1vlh1ule _11uvglyw _fj2k1ule _1nqyglyw _jd611ule _1ihv1ule _99in1ule _1btx1ule _x1x31ule",
|
|
17
17
|
reduced: "_kkyiglyw _1dj81ule _1cg81ule _j3qgglyw _xh1i1ule _oj3l1ule _13s9glyw _4nul1ule _wt211ule _tzm6glyw _ktne1ule _87bn1ule",
|
|
18
18
|
jiraIssue: "_152xglyw _1cn41ule _4cj71ule _afriglyw _ozjb1ule _w81r1ule _1mckglyw _r2nv1ule _1ym01ule _tzm6glyw _ktne1ule _87bn1ule",
|
|
19
19
|
jiraIssueUpdated: "_152xglyw _1cn41ule _1j4d1ule _1n52glyw _1nd71ule _lf431ule _103bglyw _1p0z1ule _g5yu1ule _tzm6glyw _ktne1ule _87bn1ule",
|
|
@@ -88,7 +88,7 @@ export var ResponsiveContainer = function ResponsiveContainer(_ref) {
|
|
|
88
88
|
breakpointPreset = _ref.breakpointPreset;
|
|
89
89
|
var isUpdatedConfig = function () {
|
|
90
90
|
if (breakpointPreset === 'fullpage') {
|
|
91
|
-
return
|
|
91
|
+
return UNSAFE_expValNoExposure('platform_editor_ai_content_suggested_edits', 'isEnabled', false);
|
|
92
92
|
}
|
|
93
93
|
return expValEquals('platform_editor_toolbar_update_jira_config', 'isEnabled', true) && breakpointPreset in updatedPresetStyleMap;
|
|
94
94
|
}();
|
|
@@ -10,7 +10,7 @@ export type ResponsiveContainerProps = {
|
|
|
10
10
|
* Selects the breakpoint preset for the responsive container.
|
|
11
11
|
*
|
|
12
12
|
* Available presets:
|
|
13
|
-
* - 'fullpage': (410, 476, 768, 1024) - Editor full-page experiences (updated to 410, 476,
|
|
13
|
+
* - 'fullpage': (410, 476, 768, 1024) - Editor full-page experiences (updated to 410, 476, 1035, 1130 when platform_editor_ai_content_suggested_edits is enabled)
|
|
14
14
|
* - 'reduced': (210, 408, 575, 1024) - Default compact toolbars, constrained layouts
|
|
15
15
|
* - 'jira-issue': (280, 420, 650, 1024) - Jira issue view and similar contexts
|
|
16
16
|
* - 'jsm-comment': (365, 500, 630, 1024) - JSM comment editor with canned responses button
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"registry": "https://registry.npmjs.org/"
|
|
5
5
|
},
|
|
6
|
-
"version": "2.4.
|
|
6
|
+
"version": "2.4.10",
|
|
7
7
|
"description": "Common UI for Toolbars across the platform",
|
|
8
8
|
"atlassian": {
|
|
9
9
|
"react-compiler": {
|
|
@@ -34,12 +34,13 @@
|
|
|
34
34
|
"@atlaskit/dropdown-menu": "^18.0.0",
|
|
35
35
|
"@atlaskit/icon": "^37.3.0",
|
|
36
36
|
"@atlaskit/icon-lab": "^7.5.0",
|
|
37
|
+
"@atlaskit/platform-feature-experiments": "^0.3.0",
|
|
37
38
|
"@atlaskit/platform-feature-flags": "^2.1.0",
|
|
38
39
|
"@atlaskit/popup": "^6.0.0",
|
|
39
40
|
"@atlaskit/primitives": "^22.2.0",
|
|
40
41
|
"@atlaskit/react-compiler-gating": "^0.2.0",
|
|
41
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
42
|
-
"@atlaskit/tokens": "^16.
|
|
42
|
+
"@atlaskit/tmp-editor-statsig": "^145.0.0",
|
|
43
|
+
"@atlaskit/tokens": "^16.5.0",
|
|
43
44
|
"@atlaskit/tooltip": "^24.0.0",
|
|
44
45
|
"@babel/runtime": "^7.0.0",
|
|
45
46
|
"@compiled/react": "^1.0.0",
|