@atlaskit/link-datasource 1.12.2 → 1.12.3

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,11 @@
1
1
  # @atlaskit/link-datasource
2
2
 
3
+ ## 1.12.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [#42706](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/42706) [`c3c9a5ec9c9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c3c9a5ec9c9) - Fix a problem where when column dragging start on top of a label - it drags whole table
8
+
3
9
  ## 1.12.2
4
10
 
5
11
  ### Patch Changes
@@ -7,5 +7,5 @@ exports.packageMetaData = exports.EVENT_CHANNEL = void 0;
7
7
  var EVENT_CHANNEL = exports.EVENT_CHANNEL = 'media';
8
8
  var packageMetaData = exports.packageMetaData = {
9
9
  packageName: "@atlaskit/link-datasource",
10
- packageVersion: "1.12.2"
10
+ packageVersion: "1.12.3"
11
11
  };
@@ -373,6 +373,11 @@ var IssueLikeDataTableView = exports.IssueLikeDataTableView = function IssueLike
373
373
  }, _callee, null, [[3, 9]]);
374
374
  })), [parentContainerRenderInstanceId, extensionKey, hasFullSchema, onLoadDatasourceDetails]);
375
375
  return (0, _react2.jsx)("div", {
376
+ /* There is required contentEditable={true} in editor-card-plugin
377
+ * But this brakes how DND works. We set contentEditable={false} to allow DND to work
378
+ * when dragging is initiated on top of a column label.
379
+ */
380
+ contentEditable: false,
376
381
  ref: containerRef,
377
382
  css: scrollableContainerHeight ? scrollableContainerStyles : null,
378
383
  style: scrollableContainerHeight ? {
@@ -1,5 +1,5 @@
1
1
  export const EVENT_CHANNEL = 'media';
2
2
  export const packageMetaData = {
3
3
  packageName: "@atlaskit/link-datasource",
4
- packageVersion: "1.12.2"
4
+ packageVersion: "1.12.3"
5
5
  };
@@ -326,6 +326,11 @@ export const IssueLikeDataTableView = ({
326
326
  }
327
327
  }, [parentContainerRenderInstanceId, extensionKey, hasFullSchema, onLoadDatasourceDetails]);
328
328
  return jsx("div", {
329
+ /* There is required contentEditable={true} in editor-card-plugin
330
+ * But this brakes how DND works. We set contentEditable={false} to allow DND to work
331
+ * when dragging is initiated on top of a column label.
332
+ */
333
+ contentEditable: false,
329
334
  ref: containerRef,
330
335
  css: scrollableContainerHeight ? scrollableContainerStyles : null,
331
336
  style: scrollableContainerHeight ? {
@@ -1,5 +1,5 @@
1
1
  export var EVENT_CHANNEL = 'media';
2
2
  export var packageMetaData = {
3
3
  packageName: "@atlaskit/link-datasource",
4
- packageVersion: "1.12.2"
4
+ packageVersion: "1.12.3"
5
5
  };
@@ -366,6 +366,11 @@ export var IssueLikeDataTableView = function IssueLikeDataTableView(_ref) {
366
366
  }, _callee, null, [[3, 9]]);
367
367
  })), [parentContainerRenderInstanceId, extensionKey, hasFullSchema, onLoadDatasourceDetails]);
368
368
  return jsx("div", {
369
+ /* There is required contentEditable={true} in editor-card-plugin
370
+ * But this brakes how DND works. We set contentEditable={false} to allow DND to work
371
+ * when dragging is initiated on top of a column label.
372
+ */
373
+ contentEditable: false,
369
374
  ref: containerRef,
370
375
  css: scrollableContainerHeight ? scrollableContainerStyles : null,
371
376
  style: scrollableContainerHeight ? {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/link-datasource",
3
- "version": "1.12.2",
3
+ "version": "1.12.3",
4
4
  "description": "UI Components to support linking platform dataset feature",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"