@atlaskit/link-datasource 1.5.2 → 1.5.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.5.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [#40935](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40935) [`05b395f72c6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/05b395f72c6) - Minor styling update for header padding and table border-radius
8
+
3
9
  ## 1.5.2
4
10
 
5
11
  ### Patch Changes
@@ -8,6 +8,6 @@ var EVENT_CHANNEL = 'media';
8
8
  exports.EVENT_CHANNEL = EVENT_CHANNEL;
9
9
  var packageMetaData = {
10
10
  packageName: "@atlaskit/link-datasource",
11
- packageVersion: "1.5.2"
11
+ packageVersion: "1.5.3"
12
12
  };
13
13
  exports.packageMetaData = packageMetaData;
@@ -231,7 +231,7 @@ var analyticsContextAttributes = {
231
231
  };
232
232
  var analyticsContextData = {
233
233
  packageName: "@atlaskit/link-datasource",
234
- packageVersion: "1.5.2",
234
+ packageVersion: "1.5.3",
235
235
  source: 'datasourceConfigModal'
236
236
  };
237
237
  var contextData = _objectSpread(_objectSpread({}, analyticsContextData), {}, {
@@ -52,7 +52,8 @@ var truncatedCellStyles = (0, _react2.css)({
52
52
  var scrollableContainerStyles = (0, _react2.css)({
53
53
  overflow: 'auto',
54
54
  padding: "0 ".concat(tableSidePadding, " 0 ").concat(tableSidePadding),
55
- boxSizing: 'border-box'
55
+ boxSizing: 'border-box',
56
+ borderRadius: "var(--ds-border-radius-100, 3px)"
56
57
  });
57
58
  var tableStyles = (0, _react2.css)({
58
59
  // These styles are needed to prevent thead bottom border from scrolling away.
@@ -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 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-300, 24px)", "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;
@@ -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.5.2"
4
+ packageVersion: "1.5.3"
5
5
  };
@@ -205,7 +205,7 @@ const analyticsContextAttributes = {
205
205
  };
206
206
  const analyticsContextData = {
207
207
  packageName: "@atlaskit/link-datasource",
208
- packageVersion: "1.5.2",
208
+ packageVersion: "1.5.3",
209
209
  source: 'datasourceConfigModal'
210
210
  };
211
211
  const contextData = {
@@ -51,7 +51,8 @@ const truncatedCellStyles = css({
51
51
  const scrollableContainerStyles = css({
52
52
  overflow: 'auto',
53
53
  padding: `0 ${tableSidePadding} 0 ${tableSidePadding}`,
54
- boxSizing: 'border-box'
54
+ boxSizing: 'border-box',
55
+ borderRadius: "var(--ds-border-radius-100, 3px)"
55
56
  });
56
57
  const tableStyles = css({
57
58
  // These styles are needed to prevent thead bottom border from scrolling away.
@@ -6,7 +6,7 @@ export const Table = styled.table`
6
6
  `;
7
7
  export const TableHeading = styled.th`
8
8
  position: relative;
9
- padding-block: ${"var(--ds-space-100, 8px)"};
9
+ padding-block: ${"var(--ds-space-300, 24px)"} ${"var(--ds-space-100, 8px)"};
10
10
  line-height: ${"var(--ds-font-lineHeight-300, 16px)"};
11
11
  border-bottom: 2px solid ${`var(--ds-background-accent-gray-subtler, ${N40})`};
12
12
  & [data-testid='datasource-header-content--container'] {
@@ -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.5.2"
4
+ packageVersion: "1.5.3"
5
5
  };
@@ -222,7 +222,7 @@ var analyticsContextAttributes = {
222
222
  };
223
223
  var analyticsContextData = {
224
224
  packageName: "@atlaskit/link-datasource",
225
- packageVersion: "1.5.2",
225
+ packageVersion: "1.5.3",
226
226
  source: 'datasourceConfigModal'
227
227
  };
228
228
  var contextData = _objectSpread(_objectSpread({}, analyticsContextData), {}, {
@@ -45,7 +45,8 @@ var truncatedCellStyles = css({
45
45
  var scrollableContainerStyles = css({
46
46
  overflow: 'auto',
47
47
  padding: "0 ".concat(tableSidePadding, " 0 ").concat(tableSidePadding),
48
- boxSizing: 'border-box'
48
+ boxSizing: 'border-box',
49
+ borderRadius: "var(--ds-border-radius-100, 3px)"
49
50
  });
50
51
  var tableStyles = css({
51
52
  // These styles are needed to prevent thead bottom border from scrolling away.
@@ -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 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-300, 24px)", "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)");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/link-datasource",
3
- "version": "1.5.2",
3
+ "version": "1.5.3",
4
4
  "description": "UI Components to support linking platform dataset feature",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"