@atlaskit/editor-plugin-breakout 8.0.13 → 8.0.14
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 +6 -0
- package/dist/cjs/ui/GuidelineLabel.js +1 -1
- package/dist/cjs/ui/LayoutButton.js +2 -2
- package/dist/es2019/ui/GuidelineLabel.js +1 -1
- package/dist/es2019/ui/LayoutButton.js +2 -2
- package/dist/esm/ui/GuidelineLabel.js +1 -1
- package/dist/esm/ui/LayoutButton.js +2 -2
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -32,7 +32,7 @@ var GuidelineLabel = exports.GuidelineLabel = function GuidelineLabel(_ref) {
|
|
|
32
32
|
var element = (0, _utils.findDomRefAtPos)(breakoutNode.pos, editorView.domAtPos.bind(editorView));
|
|
33
33
|
return /*#__PURE__*/_react.default.createElement(_ui.Popup, {
|
|
34
34
|
target: element && element instanceof HTMLElement ? element : undefined
|
|
35
|
-
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
35
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
36
36
|
,
|
|
37
37
|
offset: [0, 10],
|
|
38
38
|
alignY: "bottom",
|
|
@@ -153,7 +153,7 @@ var LayoutButton = function LayoutButton(_ref) {
|
|
|
153
153
|
return (0, _react2.jsx)(_ui.Popup, {
|
|
154
154
|
ariaLabel: title,
|
|
155
155
|
target: element
|
|
156
|
-
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
156
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
157
157
|
,
|
|
158
158
|
offset: [5, 0],
|
|
159
159
|
alignY: "start",
|
|
@@ -169,7 +169,7 @@ var LayoutButton = function LayoutButton(_ref) {
|
|
|
169
169
|
}, (0, _react2.jsx)(_uiMenu.ToolbarButton, {
|
|
170
170
|
title: title,
|
|
171
171
|
testId: titleMessage.id
|
|
172
|
-
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
172
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
173
173
|
,
|
|
174
174
|
onClick: function onClick() {
|
|
175
175
|
return handleClick(nextBreakoutMode);
|
|
@@ -26,7 +26,7 @@ export const GuidelineLabel = ({
|
|
|
26
26
|
const element = findDomRefAtPos(breakoutNode.pos, editorView.domAtPos.bind(editorView));
|
|
27
27
|
return /*#__PURE__*/React.createElement(Popup, {
|
|
28
28
|
target: element && element instanceof HTMLElement ? element : undefined
|
|
29
|
-
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
29
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
30
30
|
,
|
|
31
31
|
offset: [0, 10],
|
|
32
32
|
alignY: "bottom",
|
|
@@ -151,7 +151,7 @@ const LayoutButton = ({
|
|
|
151
151
|
return jsx(Popup, {
|
|
152
152
|
ariaLabel: title,
|
|
153
153
|
target: element
|
|
154
|
-
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
154
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
155
155
|
,
|
|
156
156
|
offset: [5, 0],
|
|
157
157
|
alignY: "start",
|
|
@@ -167,7 +167,7 @@ const LayoutButton = ({
|
|
|
167
167
|
}, jsx(ToolbarButton, {
|
|
168
168
|
title: title,
|
|
169
169
|
testId: titleMessage.id
|
|
170
|
-
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
170
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
171
171
|
,
|
|
172
172
|
onClick: () => handleClick(nextBreakoutMode),
|
|
173
173
|
iconBefore: breakoutMode === 'full-width' ? jsx(ShrinkHorizontalIcon, {
|
|
@@ -25,7 +25,7 @@ export var GuidelineLabel = function GuidelineLabel(_ref) {
|
|
|
25
25
|
var element = findDomRefAtPos(breakoutNode.pos, editorView.domAtPos.bind(editorView));
|
|
26
26
|
return /*#__PURE__*/React.createElement(Popup, {
|
|
27
27
|
target: element && element instanceof HTMLElement ? element : undefined
|
|
28
|
-
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
28
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
29
29
|
,
|
|
30
30
|
offset: [0, 10],
|
|
31
31
|
alignY: "bottom",
|
|
@@ -145,7 +145,7 @@ var LayoutButton = function LayoutButton(_ref) {
|
|
|
145
145
|
return jsx(Popup, {
|
|
146
146
|
ariaLabel: title,
|
|
147
147
|
target: element
|
|
148
|
-
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
148
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
149
149
|
,
|
|
150
150
|
offset: [5, 0],
|
|
151
151
|
alignY: "start",
|
|
@@ -161,7 +161,7 @@ var LayoutButton = function LayoutButton(_ref) {
|
|
|
161
161
|
}, jsx(ToolbarButton, {
|
|
162
162
|
title: title,
|
|
163
163
|
testId: titleMessage.id
|
|
164
|
-
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
164
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
165
165
|
,
|
|
166
166
|
onClick: function onClick() {
|
|
167
167
|
return handleClick(nextBreakoutMode);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-breakout",
|
|
3
|
-
"version": "8.0.
|
|
3
|
+
"version": "8.0.14",
|
|
4
4
|
"description": "Breakout plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
44
44
|
"@atlaskit/pragmatic-drag-and-drop": "^1.7.0",
|
|
45
45
|
"@atlaskit/theme": "^22.0.0",
|
|
46
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
46
|
+
"@atlaskit/tmp-editor-statsig": "^45.0.0",
|
|
47
47
|
"@atlaskit/tokens": "^11.1.0",
|
|
48
48
|
"@atlaskit/tooltip": "^21.0.0",
|
|
49
49
|
"@babel/runtime": "^7.0.0",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"uuid": "^3.1.0"
|
|
54
54
|
},
|
|
55
55
|
"peerDependencies": {
|
|
56
|
-
"@atlaskit/editor-common": "^112.
|
|
56
|
+
"@atlaskit/editor-common": "^112.8.0",
|
|
57
57
|
"react": "^18.2.0",
|
|
58
58
|
"react-dom": "^18.2.0",
|
|
59
59
|
"react-intl-next": "npm:react-intl@^5.18.1"
|