@atlaskit/editor-plugin-table 7.25.9 → 7.25.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 +9 -0
- package/dist/cjs/ui/DragHandle/index.js +3 -1
- package/dist/cjs/ui/TableFloatingControls/RowControls/DragControls.js +3 -1
- package/dist/es2019/ui/DragHandle/index.js +3 -1
- package/dist/es2019/ui/TableFloatingControls/RowControls/DragControls.js +3 -1
- package/dist/esm/ui/DragHandle/index.js +3 -1
- package/dist/esm/ui/TableFloatingControls/RowControls/DragControls.js +3 -1
- package/package.json +3 -3
- package/src/ui/DragHandle/index.tsx +2 -0
- package/src/ui/TableFloatingControls/RowControls/DragControls.tsx +2 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-table
|
|
2
2
|
|
|
3
|
+
## 7.25.10
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#133080](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/133080)
|
|
8
|
+
[`ad996e0558acc`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/ad996e0558acc) -
|
|
9
|
+
EO2024-19: Fixed table insert row dot finickiness"
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
3
12
|
## 7.25.9
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
|
@@ -175,7 +175,9 @@ var DragHandleComponent = function DragHandleComponent(_ref) {
|
|
|
175
175
|
left: isRow ? "var(--ds-space-050, 4px)" : undefined,
|
|
176
176
|
bottom: isColumn ? "var(--ds-space-0, 0px)" : undefined,
|
|
177
177
|
alignSelf: isColumn ? 'none' : 'center',
|
|
178
|
-
zIndex: isColumn ? '-1' : 'auto'
|
|
178
|
+
zIndex: isColumn ? '-1' : 'auto',
|
|
179
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
|
|
180
|
+
pointerEvents: 'auto'
|
|
179
181
|
},
|
|
180
182
|
onMouseUp: function onMouseUp(e) {
|
|
181
183
|
// should toggle menu if current drag menu open.
|
|
@@ -146,7 +146,9 @@ var DragControlsComponent = function DragControlsComponent(_ref) {
|
|
|
146
146
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
147
147
|
position: 'relative',
|
|
148
148
|
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage/preview, @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
149
|
-
right: '-0.5px'
|
|
149
|
+
right: '-0.5px',
|
|
150
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
|
|
151
|
+
pointerEvents: 'none'
|
|
150
152
|
},
|
|
151
153
|
"data-testid": "table-floating-row-".concat(isHover ? rowIndex : selectedRowIndexes[0], "-drag-handle")
|
|
152
154
|
}, /*#__PURE__*/_react.default.createElement(_DragHandle.DragHandle, {
|
|
@@ -168,7 +168,9 @@ const DragHandleComponent = ({
|
|
|
168
168
|
left: isRow ? `${"var(--ds-space-050, 4px)"}` : undefined,
|
|
169
169
|
bottom: isColumn ? `${"var(--ds-space-0, 0px)"}` : undefined,
|
|
170
170
|
alignSelf: isColumn ? 'none' : 'center',
|
|
171
|
-
zIndex: isColumn ? '-1' : 'auto'
|
|
171
|
+
zIndex: isColumn ? '-1' : 'auto',
|
|
172
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
|
|
173
|
+
pointerEvents: 'auto'
|
|
172
174
|
},
|
|
173
175
|
onMouseUp: e => {
|
|
174
176
|
// should toggle menu if current drag menu open.
|
|
@@ -134,7 +134,9 @@ const DragControlsComponent = ({
|
|
|
134
134
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
135
135
|
position: 'relative',
|
|
136
136
|
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage/preview, @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
137
|
-
right: '-0.5px'
|
|
137
|
+
right: '-0.5px',
|
|
138
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
|
|
139
|
+
pointerEvents: 'none'
|
|
138
140
|
},
|
|
139
141
|
"data-testid": `table-floating-row-${isHover ? rowIndex : selectedRowIndexes[0]}-drag-handle`
|
|
140
142
|
}, /*#__PURE__*/React.createElement(DragHandle, {
|
|
@@ -165,7 +165,9 @@ var DragHandleComponent = function DragHandleComponent(_ref) {
|
|
|
165
165
|
left: isRow ? "var(--ds-space-050, 4px)" : undefined,
|
|
166
166
|
bottom: isColumn ? "var(--ds-space-0, 0px)" : undefined,
|
|
167
167
|
alignSelf: isColumn ? 'none' : 'center',
|
|
168
|
-
zIndex: isColumn ? '-1' : 'auto'
|
|
168
|
+
zIndex: isColumn ? '-1' : 'auto',
|
|
169
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
|
|
170
|
+
pointerEvents: 'auto'
|
|
169
171
|
},
|
|
170
172
|
onMouseUp: function onMouseUp(e) {
|
|
171
173
|
// should toggle menu if current drag menu open.
|
|
@@ -136,7 +136,9 @@ var DragControlsComponent = function DragControlsComponent(_ref) {
|
|
|
136
136
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
137
137
|
position: 'relative',
|
|
138
138
|
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage/preview, @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
139
|
-
right: '-0.5px'
|
|
139
|
+
right: '-0.5px',
|
|
140
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
|
|
141
|
+
pointerEvents: 'none'
|
|
140
142
|
},
|
|
141
143
|
"data-testid": "table-floating-row-".concat(isHover ? rowIndex : selectedRowIndexes[0], "-drag-handle")
|
|
142
144
|
}, /*#__PURE__*/React.createElement(DragHandle, {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-table",
|
|
3
|
-
"version": "7.25.
|
|
3
|
+
"version": "7.25.10",
|
|
4
4
|
"description": "Table plugin for the @atlaskit/editor",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -31,10 +31,10 @@
|
|
|
31
31
|
"@atlaskit/adf-schema": "^40.8.1",
|
|
32
32
|
"@atlaskit/button": "^20.1.0",
|
|
33
33
|
"@atlaskit/custom-steps": "^0.7.0",
|
|
34
|
-
"@atlaskit/editor-common": "^
|
|
34
|
+
"@atlaskit/editor-common": "^88.0.0",
|
|
35
35
|
"@atlaskit/editor-palette": "1.6.0",
|
|
36
36
|
"@atlaskit/editor-plugin-accessibility-utils": "^1.2.0",
|
|
37
|
-
"@atlaskit/editor-plugin-analytics": "^1.
|
|
37
|
+
"@atlaskit/editor-plugin-analytics": "^1.8.0",
|
|
38
38
|
"@atlaskit/editor-plugin-content-insertion": "^1.8.0",
|
|
39
39
|
"@atlaskit/editor-plugin-editor-viewmode": "^2.1.0",
|
|
40
40
|
"@atlaskit/editor-plugin-guideline": "^1.2.0",
|
|
@@ -212,6 +212,8 @@ const DragHandleComponent = ({
|
|
|
212
212
|
bottom: isColumn ? `${token('space.0', '0px')}` : undefined,
|
|
213
213
|
alignSelf: isColumn ? 'none' : 'center',
|
|
214
214
|
zIndex: isColumn ? '-1' : 'auto',
|
|
215
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
|
|
216
|
+
pointerEvents: 'auto',
|
|
215
217
|
}}
|
|
216
218
|
onMouseUp={(e) => {
|
|
217
219
|
// should toggle menu if current drag menu open.
|
|
@@ -195,6 +195,8 @@ const DragControlsComponent = ({
|
|
|
195
195
|
position: 'relative',
|
|
196
196
|
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage/preview, @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
197
197
|
right: '-0.5px',
|
|
198
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
|
|
199
|
+
pointerEvents: 'none',
|
|
198
200
|
}}
|
|
199
201
|
data-testid={`table-floating-row-${isHover ? rowIndex : selectedRowIndexes[0]}-drag-handle`}
|
|
200
202
|
>
|