@atlaskit/link-datasource 1.0.5 → 1.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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # @atlaskit/link-datasource
2
2
 
3
+ ## 1.0.6
4
+
5
+ ### Patch Changes
6
+
7
+ - [`b1c75396ac8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b1c75396ac8) - [ux] Cursor will not appear as grab when read only
8
+
3
9
  ## 1.0.5
4
10
 
5
11
  ### Patch Changes
@@ -181,7 +181,8 @@ var DraggableTableHeading = function DraggableTableHeading(_ref) {
181
181
  css: [tableHeadingStatusStyles[state.type]],
182
182
  "data-testid": "".concat(id, "-column-heading"),
183
183
  style: {
184
- maxWidth: maxWidth
184
+ maxWidth: maxWidth,
185
+ cursor: 'grab'
185
186
  }
186
187
  }, (0, _react2.jsx)("div", {
187
188
  ref: dropTargetRef,
@@ -13,7 +13,7 @@ var FieldTextFontSize = '14px';
13
13
  exports.FieldTextFontSize = FieldTextFontSize;
14
14
  var Table = _styled.default.table(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n width: 100%;\n"])));
15
15
  exports.Table = Table;
16
- var TableHeading = _styled.default.th(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2.default)(["\n cursor: grab;\n position: relative;\n padding-block: ", ";\n line-height: ", ";\n border-bottom: 2px solid ", ";\n & [data-testid='datasource-header-content--container'] {\n margin-top: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n"])), "var(--ds-space-100, 8px)", "var(--ds-font-lineHeight-300, 16px)", "var(--ds-background-accent-gray-subtler, ".concat(_colors.N40, ")"));
16
+ var TableHeading = _styled.default.th(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2.default)(["\n position: relative;\n padding-block: ", ";\n line-height: ", ";\n border-bottom: 2px solid ", ";\n & [data-testid='datasource-header-content--container'] {\n margin-top: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n"])), "var(--ds-space-100, 8px)", "var(--ds-font-lineHeight-300, 16px)", "var(--ds-background-accent-gray-subtler, ".concat(_colors.N40, ")"));
17
17
  exports.TableHeading = TableHeading;
18
18
  var EmptyStateTableHeading = (0, _styled.default)(TableHeading)(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2.default)(["\n &:first-child {\n padding-left: ", ";\n }\n"])), "var(--ds-space-100, 8px)");
19
19
  exports.EmptyStateTableHeading = EmptyStateTableHeading;
@@ -344,7 +344,7 @@ var analyticsContextAttributes = {
344
344
  };
345
345
  var analyticsContextData = {
346
346
  packageName: "@atlaskit/link-datasource",
347
- packageVersion: "1.0.5",
347
+ packageVersion: "1.0.6",
348
348
  source: 'datasourceConfigModal'
349
349
  };
350
350
  var contextData = _objectSpread(_objectSpread({}, analyticsContextData), {}, {
@@ -166,7 +166,8 @@ export const DraggableTableHeading = ({
166
166
  css: [tableHeadingStatusStyles[state.type]],
167
167
  "data-testid": `${id}-column-heading`,
168
168
  style: {
169
- maxWidth
169
+ maxWidth,
170
+ cursor: 'grab'
170
171
  }
171
172
  }, jsx("div", {
172
173
  ref: dropTargetRef,
@@ -5,7 +5,6 @@ export const Table = styled.table`
5
5
  width: 100%;
6
6
  `;
7
7
  export const TableHeading = styled.th`
8
- cursor: grab;
9
8
  position: relative;
10
9
  padding-block: ${"var(--ds-space-100, 8px)"};
11
10
  line-height: ${"var(--ds-font-lineHeight-300, 16px)"};
@@ -290,7 +290,7 @@ const analyticsContextAttributes = {
290
290
  };
291
291
  const analyticsContextData = {
292
292
  packageName: "@atlaskit/link-datasource",
293
- packageVersion: "1.0.5",
293
+ packageVersion: "1.0.6",
294
294
  source: 'datasourceConfigModal'
295
295
  };
296
296
  const contextData = {
@@ -173,7 +173,8 @@ export var DraggableTableHeading = function DraggableTableHeading(_ref) {
173
173
  css: [tableHeadingStatusStyles[state.type]],
174
174
  "data-testid": "".concat(id, "-column-heading"),
175
175
  style: {
176
- maxWidth: maxWidth
176
+ maxWidth: maxWidth,
177
+ cursor: 'grab'
177
178
  }
178
179
  }, jsx("div", {
179
180
  ref: dropTargetRef,
@@ -4,5 +4,5 @@ import styled from '@emotion/styled';
4
4
  import { N40 } from '@atlaskit/theme/colors';
5
5
  export var FieldTextFontSize = '14px';
6
6
  export var Table = styled.table(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n width: 100%;\n"])));
7
- export var TableHeading = styled.th(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n cursor: grab;\n position: relative;\n padding-block: ", ";\n line-height: ", ";\n border-bottom: 2px solid ", ";\n & [data-testid='datasource-header-content--container'] {\n margin-top: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n"])), "var(--ds-space-100, 8px)", "var(--ds-font-lineHeight-300, 16px)", "var(--ds-background-accent-gray-subtler, ".concat(N40, ")"));
7
+ export var TableHeading = styled.th(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n position: relative;\n padding-block: ", ";\n line-height: ", ";\n border-bottom: 2px solid ", ";\n & [data-testid='datasource-header-content--container'] {\n margin-top: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n"])), "var(--ds-space-100, 8px)", "var(--ds-font-lineHeight-300, 16px)", "var(--ds-background-accent-gray-subtler, ".concat(N40, ")"));
8
8
  export var EmptyStateTableHeading = styled(TableHeading)(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n &:first-child {\n padding-left: ", ";\n }\n"])), "var(--ds-space-100, 8px)");
@@ -334,7 +334,7 @@ var analyticsContextAttributes = {
334
334
  };
335
335
  var analyticsContextData = {
336
336
  packageName: "@atlaskit/link-datasource",
337
- packageVersion: "1.0.5",
337
+ packageVersion: "1.0.6",
338
338
  source: 'datasourceConfigModal'
339
339
  };
340
340
  var contextData = _objectSpread(_objectSpread({}, analyticsContextData), {}, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/link-datasource",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "description": "UI Components to support linking platform dataset feature",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"