@atlaskit/renderer 145.0.4 → 145.0.6
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 +17 -0
- package/dist/cjs/react/nodes/layoutColumn-compiled.js +1 -4
- package/dist/cjs/react/nodes/layoutColumn-emotion.js +1 -4
- package/dist/cjs/ui/Renderer/index.js +1 -1
- package/dist/es2019/react/nodes/layoutColumn-compiled.js +1 -5
- package/dist/es2019/react/nodes/layoutColumn-emotion.js +1 -5
- package/dist/es2019/ui/Renderer/index.js +1 -1
- package/dist/esm/react/nodes/layoutColumn-compiled.js +1 -5
- package/dist/esm/react/nodes/layoutColumn-emotion.js +1 -5
- package/dist/esm/ui/Renderer/index.js +1 -1
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @atlaskit/renderer
|
|
2
2
|
|
|
3
|
+
## 145.0.6
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 145.0.5
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`a4fe8636fa0ec`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/a4fe8636fa0ec) -
|
|
14
|
+
Clean up the fully rolled out `platform_editor_layout_column_menu` experiment and the
|
|
15
|
+
`platform_editor_layout_column_menu_kill_switch_1` feature gate, retaining their shipped behavior.
|
|
16
|
+
Consumers must remove any direct `@atlaskit/tmp-editor-statsig` experiment override for
|
|
17
|
+
`platform_editor_layout_column_menu`.
|
|
18
|
+
- Updated dependencies
|
|
19
|
+
|
|
3
20
|
## 145.0.4
|
|
4
21
|
|
|
5
22
|
### Patch Changes
|
|
@@ -17,7 +17,6 @@ var _runtime = require("@compiled/react/runtime");
|
|
|
17
17
|
var _react = _interopRequireDefault(require("react"));
|
|
18
18
|
var _ui = require("@atlaskit/editor-common/ui");
|
|
19
19
|
var _fg = require("@atlaskit/platform-feature-flags/fg");
|
|
20
|
-
var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
|
|
21
20
|
// localized styles, was from clearNextSiblingMarginTopStyle in @atlaskit/editor-common/ui
|
|
22
21
|
var clearNextSiblingMarginTopStyle = null;
|
|
23
22
|
var verticalAlignMiddleStyles = null;
|
|
@@ -27,8 +26,6 @@ var multipleWrappedImagesStyle = null;
|
|
|
27
26
|
// localized styles, was from clearNextSiblingBlockMarkMarginTopStyle in @atlaskit/editor-common/ui
|
|
28
27
|
var clearNextSiblingBlockMarkMarginTopStyle = null;
|
|
29
28
|
var LayoutSectionCompiled = exports.LayoutSectionCompiled = function LayoutSectionCompiled(props) {
|
|
30
|
-
var isLayoutColumnMenuEnabled = (0, _expValEquals.expValEquals)('platform_editor_layout_column_menu', 'isEnabled', true);
|
|
31
|
-
var isLayoutColumnValignRenderingEnabled = (0, _expValEquals.expValEquals)('platform_editor_layout_column_valign_rendering', 'isEnabled', true);
|
|
32
29
|
return /*#__PURE__*/_react.default.createElement("div", {
|
|
33
30
|
"data-layout-column": true,
|
|
34
31
|
"data-column-width": props.width,
|
|
@@ -38,7 +35,7 @@ var LayoutSectionCompiled = exports.LayoutSectionCompiled = function LayoutSecti
|
|
|
38
35
|
style: {
|
|
39
36
|
flexBasis: "".concat(props.width, "%")
|
|
40
37
|
},
|
|
41
|
-
className: (0, _runtime.ax)([
|
|
38
|
+
className: (0, _runtime.ax)([props.valign === 'middle' && "_1e0c1txw _2lx21bp4 _1bah1h6o", props.valign === 'bottom' && "_1e0c1txw _2lx21bp4 _1bahesu3", "_1tihidpf _12kpidpf"])
|
|
42
39
|
}, /*#__PURE__*/_react.default.createElement(_ui.WidthProvider, null, /*#__PURE__*/_react.default.createElement("div", {
|
|
43
40
|
"data-layout-column-start": (0, _fg.fg)('platform_renderer_ssr_block_margin_fix') ? 'true' : undefined,
|
|
44
41
|
className: (0, _runtime.ax)(["_1skbgrf3", "_19segrf3 _1ki1grf3 _bmdegrf3 _166hgrf3 _7g1ogrf3 _sk2jgrf3 _hgeogrf3"])
|
|
@@ -10,7 +10,6 @@ var _react = _interopRequireDefault(require("react"));
|
|
|
10
10
|
var _react2 = require("@emotion/react");
|
|
11
11
|
var _ui = require("@atlaskit/editor-common/ui");
|
|
12
12
|
var _fg = require("@atlaskit/platform-feature-flags/fg");
|
|
13
|
-
var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
|
|
14
13
|
/**
|
|
15
14
|
* @jsxRuntime classic
|
|
16
15
|
* @jsx jsx
|
|
@@ -57,8 +56,6 @@ var clearNextSiblingBlockMarkMarginTopStyle = (0, _react2.css)((0, _defineProper
|
|
|
57
56
|
marginTop: '0 !important'
|
|
58
57
|
}));
|
|
59
58
|
var LayoutSectionEmotion = exports.LayoutSectionEmotion = function LayoutSectionEmotion(props) {
|
|
60
|
-
var isLayoutColumnMenuEnabled = (0, _expValEquals.expValEquals)('platform_editor_layout_column_menu', 'isEnabled', true);
|
|
61
|
-
var isLayoutColumnValignRenderingEnabled = (0, _expValEquals.expValEquals)('platform_editor_layout_column_valign_rendering', 'isEnabled', true);
|
|
62
59
|
return (0, _react2.jsx)("div", {
|
|
63
60
|
"data-layout-column": true,
|
|
64
61
|
"data-column-width": props.width,
|
|
@@ -70,7 +67,7 @@ var LayoutSectionEmotion = exports.LayoutSectionEmotion = function LayoutSection
|
|
|
70
67
|
},
|
|
71
68
|
css: [
|
|
72
69
|
// Keep separate: Compiled crashes on ternary/object lookup here.
|
|
73
|
-
|
|
70
|
+
props.valign === 'middle' && verticalAlignMiddleStyles, props.valign === 'bottom' && verticalAlignBottomStyles, multipleWrappedImagesStyle]
|
|
74
71
|
}, (0, _react2.jsx)(_ui.WidthProvider, null, (0, _react2.jsx)("div", {
|
|
75
72
|
"data-layout-column-start": (0, _fg.fg)('platform_renderer_ssr_block_margin_fix') ? 'true' : undefined,
|
|
76
73
|
css: [clearNextSiblingMarginTopStyle, clearNextSiblingBlockMarkMarginTopStyle]
|
|
@@ -71,7 +71,7 @@ var DEGRADED_SEVERITY_THRESHOLD = exports.DEGRADED_SEVERITY_THRESHOLD = 3000;
|
|
|
71
71
|
var TABLE_INFO_TIMEOUT = 10000;
|
|
72
72
|
var RENDER_EVENT_SAMPLE_RATE = 0.1;
|
|
73
73
|
var packageName = "@atlaskit/renderer";
|
|
74
|
-
var packageVersion = "145.0.
|
|
74
|
+
var packageVersion = "145.0.5";
|
|
75
75
|
var setAsQueryContainerStyles = (0, _react2.css)({
|
|
76
76
|
containerName: 'ak-renderer-wrapper',
|
|
77
77
|
containerType: 'inline-size'
|
|
@@ -10,8 +10,6 @@ import { ax, ix } from "@compiled/react/runtime";
|
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import { WidthProvider } from '@atlaskit/editor-common/ui';
|
|
12
12
|
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
13
|
-
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
14
|
-
|
|
15
13
|
// localized styles, was from clearNextSiblingMarginTopStyle in @atlaskit/editor-common/ui
|
|
16
14
|
const clearNextSiblingMarginTopStyle = null;
|
|
17
15
|
const verticalAlignMiddleStyles = null;
|
|
@@ -21,8 +19,6 @@ const multipleWrappedImagesStyle = null;
|
|
|
21
19
|
// localized styles, was from clearNextSiblingBlockMarkMarginTopStyle in @atlaskit/editor-common/ui
|
|
22
20
|
const clearNextSiblingBlockMarkMarginTopStyle = null;
|
|
23
21
|
export const LayoutSectionCompiled = props => {
|
|
24
|
-
const isLayoutColumnMenuEnabled = expValEquals('platform_editor_layout_column_menu', 'isEnabled', true);
|
|
25
|
-
const isLayoutColumnValignRenderingEnabled = expValEquals('platform_editor_layout_column_valign_rendering', 'isEnabled', true);
|
|
26
22
|
return /*#__PURE__*/React.createElement("div", {
|
|
27
23
|
"data-layout-column": true,
|
|
28
24
|
"data-column-width": props.width,
|
|
@@ -32,7 +28,7 @@ export const LayoutSectionCompiled = props => {
|
|
|
32
28
|
style: {
|
|
33
29
|
flexBasis: `${props.width}%`
|
|
34
30
|
},
|
|
35
|
-
className: ax([
|
|
31
|
+
className: ax([props.valign === 'middle' && "_1e0c1txw _2lx21bp4 _1bah1h6o", props.valign === 'bottom' && "_1e0c1txw _2lx21bp4 _1bahesu3", "_1tihidpf _12kpidpf"])
|
|
36
32
|
}, /*#__PURE__*/React.createElement(WidthProvider, null, /*#__PURE__*/React.createElement("div", {
|
|
37
33
|
"data-layout-column-start": fg('platform_renderer_ssr_block_margin_fix') ? 'true' : undefined,
|
|
38
34
|
className: ax(["_1skbgrf3", "_19segrf3 _1ki1grf3 _bmdegrf3 _166hgrf3 _7g1ogrf3 _sk2jgrf3 _hgeogrf3"])
|
|
@@ -14,8 +14,6 @@ import React from 'react';
|
|
|
14
14
|
import { css, jsx } from '@emotion/react';
|
|
15
15
|
import { WidthProvider } from '@atlaskit/editor-common/ui';
|
|
16
16
|
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
17
|
-
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
18
|
-
|
|
19
17
|
// localized styles, was from clearNextSiblingMarginTopStyle in @atlaskit/editor-common/ui
|
|
20
18
|
const clearNextSiblingMarginTopStyle = css({
|
|
21
19
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
@@ -59,8 +57,6 @@ const clearNextSiblingBlockMarkMarginTopStyle = css({
|
|
|
59
57
|
}
|
|
60
58
|
});
|
|
61
59
|
export const LayoutSectionEmotion = props => {
|
|
62
|
-
const isLayoutColumnMenuEnabled = expValEquals('platform_editor_layout_column_menu', 'isEnabled', true);
|
|
63
|
-
const isLayoutColumnValignRenderingEnabled = expValEquals('platform_editor_layout_column_valign_rendering', 'isEnabled', true);
|
|
64
60
|
return jsx("div", {
|
|
65
61
|
"data-layout-column": true,
|
|
66
62
|
"data-column-width": props.width,
|
|
@@ -72,7 +68,7 @@ export const LayoutSectionEmotion = props => {
|
|
|
72
68
|
},
|
|
73
69
|
css: [
|
|
74
70
|
// Keep separate: Compiled crashes on ternary/object lookup here.
|
|
75
|
-
|
|
71
|
+
props.valign === 'middle' && verticalAlignMiddleStyles, props.valign === 'bottom' && verticalAlignBottomStyles, multipleWrappedImagesStyle]
|
|
76
72
|
}, jsx(WidthProvider, null, jsx("div", {
|
|
77
73
|
"data-layout-column-start": fg('platform_renderer_ssr_block_margin_fix') ? 'true' : undefined,
|
|
78
74
|
css: [clearNextSiblingMarginTopStyle, clearNextSiblingBlockMarkMarginTopStyle]
|
|
@@ -56,7 +56,7 @@ export const DEGRADED_SEVERITY_THRESHOLD = 3000;
|
|
|
56
56
|
const TABLE_INFO_TIMEOUT = 10000;
|
|
57
57
|
const RENDER_EVENT_SAMPLE_RATE = 0.1;
|
|
58
58
|
const packageName = "@atlaskit/renderer";
|
|
59
|
-
const packageVersion = "145.0.
|
|
59
|
+
const packageVersion = "145.0.5";
|
|
60
60
|
const setAsQueryContainerStyles = css({
|
|
61
61
|
containerName: 'ak-renderer-wrapper',
|
|
62
62
|
containerType: 'inline-size'
|
|
@@ -10,8 +10,6 @@ import { ax, ix } from "@compiled/react/runtime";
|
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import { WidthProvider } from '@atlaskit/editor-common/ui';
|
|
12
12
|
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
13
|
-
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
14
|
-
|
|
15
13
|
// localized styles, was from clearNextSiblingMarginTopStyle in @atlaskit/editor-common/ui
|
|
16
14
|
var clearNextSiblingMarginTopStyle = null;
|
|
17
15
|
var verticalAlignMiddleStyles = null;
|
|
@@ -21,8 +19,6 @@ var multipleWrappedImagesStyle = null;
|
|
|
21
19
|
// localized styles, was from clearNextSiblingBlockMarkMarginTopStyle in @atlaskit/editor-common/ui
|
|
22
20
|
var clearNextSiblingBlockMarkMarginTopStyle = null;
|
|
23
21
|
export var LayoutSectionCompiled = function LayoutSectionCompiled(props) {
|
|
24
|
-
var isLayoutColumnMenuEnabled = expValEquals('platform_editor_layout_column_menu', 'isEnabled', true);
|
|
25
|
-
var isLayoutColumnValignRenderingEnabled = expValEquals('platform_editor_layout_column_valign_rendering', 'isEnabled', true);
|
|
26
22
|
return /*#__PURE__*/React.createElement("div", {
|
|
27
23
|
"data-layout-column": true,
|
|
28
24
|
"data-column-width": props.width,
|
|
@@ -32,7 +28,7 @@ export var LayoutSectionCompiled = function LayoutSectionCompiled(props) {
|
|
|
32
28
|
style: {
|
|
33
29
|
flexBasis: "".concat(props.width, "%")
|
|
34
30
|
},
|
|
35
|
-
className: ax([
|
|
31
|
+
className: ax([props.valign === 'middle' && "_1e0c1txw _2lx21bp4 _1bah1h6o", props.valign === 'bottom' && "_1e0c1txw _2lx21bp4 _1bahesu3", "_1tihidpf _12kpidpf"])
|
|
36
32
|
}, /*#__PURE__*/React.createElement(WidthProvider, null, /*#__PURE__*/React.createElement("div", {
|
|
37
33
|
"data-layout-column-start": fg('platform_renderer_ssr_block_margin_fix') ? 'true' : undefined,
|
|
38
34
|
className: ax(["_1skbgrf3", "_19segrf3 _1ki1grf3 _bmdegrf3 _166hgrf3 _7g1ogrf3 _sk2jgrf3 _hgeogrf3"])
|
|
@@ -15,8 +15,6 @@ import React from 'react';
|
|
|
15
15
|
import { css, jsx } from '@emotion/react';
|
|
16
16
|
import { WidthProvider } from '@atlaskit/editor-common/ui';
|
|
17
17
|
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
18
|
-
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
19
|
-
|
|
20
18
|
// localized styles, was from clearNextSiblingMarginTopStyle in @atlaskit/editor-common/ui
|
|
21
19
|
var clearNextSiblingMarginTopStyle = css({
|
|
22
20
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
@@ -50,8 +48,6 @@ var clearNextSiblingBlockMarkMarginTopStyle = css(_defineProperty({}, "+ .fabric
|
|
|
50
48
|
marginTop: '0 !important'
|
|
51
49
|
}));
|
|
52
50
|
export var LayoutSectionEmotion = function LayoutSectionEmotion(props) {
|
|
53
|
-
var isLayoutColumnMenuEnabled = expValEquals('platform_editor_layout_column_menu', 'isEnabled', true);
|
|
54
|
-
var isLayoutColumnValignRenderingEnabled = expValEquals('platform_editor_layout_column_valign_rendering', 'isEnabled', true);
|
|
55
51
|
return jsx("div", {
|
|
56
52
|
"data-layout-column": true,
|
|
57
53
|
"data-column-width": props.width,
|
|
@@ -63,7 +59,7 @@ export var LayoutSectionEmotion = function LayoutSectionEmotion(props) {
|
|
|
63
59
|
},
|
|
64
60
|
css: [
|
|
65
61
|
// Keep separate: Compiled crashes on ternary/object lookup here.
|
|
66
|
-
|
|
62
|
+
props.valign === 'middle' && verticalAlignMiddleStyles, props.valign === 'bottom' && verticalAlignBottomStyles, multipleWrappedImagesStyle]
|
|
67
63
|
}, jsx(WidthProvider, null, jsx("div", {
|
|
68
64
|
"data-layout-column-start": fg('platform_renderer_ssr_block_margin_fix') ? 'true' : undefined,
|
|
69
65
|
css: [clearNextSiblingMarginTopStyle, clearNextSiblingBlockMarkMarginTopStyle]
|
|
@@ -61,7 +61,7 @@ export var DEGRADED_SEVERITY_THRESHOLD = 3000;
|
|
|
61
61
|
var TABLE_INFO_TIMEOUT = 10000;
|
|
62
62
|
var RENDER_EVENT_SAMPLE_RATE = 0.1;
|
|
63
63
|
var packageName = "@atlaskit/renderer";
|
|
64
|
-
var packageVersion = "145.0.
|
|
64
|
+
var packageVersion = "145.0.5";
|
|
65
65
|
var setAsQueryContainerStyles = css({
|
|
66
66
|
containerName: 'ak-renderer-wrapper',
|
|
67
67
|
containerType: 'inline-size'
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/renderer",
|
|
3
|
-
"version": "145.0.
|
|
3
|
+
"version": "145.0.6",
|
|
4
4
|
"description": "Renderer component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
"@atlaskit/status": "^5.12.0",
|
|
74
74
|
"@atlaskit/task-decision": "^21.11.0",
|
|
75
75
|
"@atlaskit/theme": "^28.2.0",
|
|
76
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
76
|
+
"@atlaskit/tmp-editor-statsig": "^214.0.0",
|
|
77
77
|
"@atlaskit/tokens": "^20.1.0",
|
|
78
78
|
"@atlaskit/tooltip": "^24.3.0",
|
|
79
79
|
"@atlaskit/visually-hidden": "^4.4.0",
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
"uuid": "^11.1.1"
|
|
89
89
|
},
|
|
90
90
|
"peerDependencies": {
|
|
91
|
-
"@atlaskit/editor-common": "^126.
|
|
91
|
+
"@atlaskit/editor-common": "^126.2.0",
|
|
92
92
|
"@atlaskit/link-provider": "^6.0.0",
|
|
93
93
|
"@atlaskit/media-core": "^39.0.0",
|
|
94
94
|
"react": "^18.2.0 || ^19.2.0",
|
|
@@ -114,7 +114,7 @@
|
|
|
114
114
|
"@atlaskit/modal-dialog": "^17.0.0",
|
|
115
115
|
"@atlaskit/navigation-system": "^10.17.0",
|
|
116
116
|
"@atlaskit/primitives": "^22.5.0",
|
|
117
|
-
"@atlaskit/profilecard": "^27.
|
|
117
|
+
"@atlaskit/profilecard": "^27.1.0",
|
|
118
118
|
"@atlaskit/radio": "^10.2.0",
|
|
119
119
|
"@atlaskit/range": "^12.2.0",
|
|
120
120
|
"@atlaskit/section-message": "^10.2.0",
|
|
@@ -123,7 +123,7 @@
|
|
|
123
123
|
"@atlaskit/toggle": "^17.3.0",
|
|
124
124
|
"@atlaskit/util-data-test": "^19.1.0",
|
|
125
125
|
"@atlassian/a11y-jest-testing": "^0.17.0",
|
|
126
|
-
"@atlassian/a11y-playwright-testing": "^0.
|
|
126
|
+
"@atlassian/a11y-playwright-testing": "^0.13.0",
|
|
127
127
|
"@atlassian/experiment-test-utils": "^0.2.0",
|
|
128
128
|
"@atlassian/feature-flags-test-utils": "^1.3.0",
|
|
129
129
|
"@atlassian/structured-docs-types": "workspace:^",
|