@atlaskit/link-datasource 5.6.2 → 5.6.4

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,19 @@
1
1
  # @atlaskit/link-datasource
2
2
 
3
+ ## 5.6.4
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 5.6.3
10
+
11
+ ### Patch Changes
12
+
13
+ - [`c949c4c098a1a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/c949c4c098a1a) -
14
+ Fix vertical alignment gap in SLLV for rich textfields
15
+ - Updated dependencies
16
+
3
17
  ## 5.6.2
4
18
 
5
19
  ### Patch Changes
@@ -128,6 +128,7 @@ thead.has-column-picker ._10i2idpf:nth-last-of-type(2){border-right:0}.ProseMirr
128
128
  ._ouxlbac2{background-position:0,0,100%,100%,top,0 52px,bottom,bottom}
129
129
  ._qmxj1c00{background-attachment:local,scroll,local,scroll,local,scroll,local,scroll}
130
130
  ._s7n41kw7{vertical-align:inherit}
131
+ ._s7n4jp4b{vertical-align:top}
131
132
  ._s7n4yfq0{vertical-align:bottom}
132
133
  ._u5f31b66{padding-right:var(--ds-space-050,4px)}
133
134
  ._u5f3ze3t{padding-right:var(--ds-space-0,0)}
@@ -74,6 +74,7 @@ if (process.env.NODE_ENV !== 'production') {
74
74
  }
75
75
  var truncateStyles = null;
76
76
  var wrappedStyles = null;
77
+ var richTextCellStyles = null;
77
78
  var tableContainerStyles = null;
78
79
 
79
80
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled
@@ -425,6 +426,7 @@ var IssueLikeDataTableView = exports.IssueLikeDataTableView = function IssueLike
425
426
  return {
426
427
  key: key,
427
428
  columnKey: key,
429
+ type: type,
428
430
  content: /*#__PURE__*/React.createElement(_tableCellContent.TableCellContent, {
429
431
  id: id,
430
432
  columnKey: key,
@@ -662,6 +664,7 @@ var IssueLikeDataTableView = exports.IssueLikeDataTableView = function IssueLike
662
664
  ref: ref
663
665
  }, cells.map(function (_ref17, cellIndex) {
664
666
  var cellKey = _ref17.key,
667
+ cellType = _ref17.type,
665
668
  content = _ref17.content,
666
669
  width = _ref17.width;
667
670
  var isLastCell = cellIndex === cells.length - 1;
@@ -676,7 +679,7 @@ var IssueLikeDataTableView = exports.IssueLikeDataTableView = function IssueLike
676
679
  // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
677
680
  ,
678
681
  style: loadingRowStyle,
679
- className: (0, _runtime.ax)([wrappedColumnKeys !== null && wrappedColumnKeys !== void 0 && wrappedColumnKeys.includes(cellKey) ? "_o5724jg8" : "_1bto1l2s _o5721q9c"])
682
+ className: (0, _runtime.ax)([wrappedColumnKeys !== null && wrappedColumnKeys !== void 0 && wrappedColumnKeys.includes(cellKey) ? "_o5724jg8" : "_1bto1l2s _o5721q9c", cellType === 'richtext' && (0, _platformFeatureFlags.fg)('platform_lp_sllv_richtext_margin_reset') && "_s7n4jp4b"])
680
683
  }, content);
681
684
  }));
682
685
  }))));
@@ -128,6 +128,7 @@ thead.has-column-picker ._10i2idpf:nth-last-of-type(2){border-right:0}.ProseMirr
128
128
  ._ouxlbac2{background-position:0,0,100%,100%,top,0 52px,bottom,bottom}
129
129
  ._qmxj1c00{background-attachment:local,scroll,local,scroll,local,scroll,local,scroll}
130
130
  ._s7n41kw7{vertical-align:inherit}
131
+ ._s7n4jp4b{vertical-align:top}
131
132
  ._s7n4yfq0{vertical-align:bottom}
132
133
  ._u5f31b66{padding-right:var(--ds-space-050,4px)}
133
134
  ._u5f3ze3t{padding-right:var(--ds-space-0,0)}
@@ -54,6 +54,7 @@ if (process.env.NODE_ENV !== 'production') {
54
54
  }
55
55
  const truncateStyles = null;
56
56
  const wrappedStyles = null;
57
+ const richTextCellStyles = null;
57
58
  const tableContainerStyles = null;
58
59
 
59
60
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled
@@ -377,6 +378,7 @@ export const IssueLikeDataTableView = ({
377
378
  return {
378
379
  key,
379
380
  columnKey: key,
381
+ type,
380
382
  content: /*#__PURE__*/React.createElement(TableCellContent, {
381
383
  id: id,
382
384
  columnKey: key,
@@ -591,6 +593,7 @@ export const IssueLikeDataTableView = ({
591
593
  ref: ref
592
594
  }, cells.map(({
593
595
  key: cellKey,
596
+ type: cellType,
594
597
  content,
595
598
  width
596
599
  }, cellIndex) => {
@@ -606,7 +609,7 @@ export const IssueLikeDataTableView = ({
606
609
  // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
607
610
  ,
608
611
  style: loadingRowStyle,
609
- className: ax([wrappedColumnKeys !== null && wrappedColumnKeys !== void 0 && wrappedColumnKeys.includes(cellKey) ? "_o5724jg8" : "_1bto1l2s _o5721q9c"])
612
+ className: ax([wrappedColumnKeys !== null && wrappedColumnKeys !== void 0 && wrappedColumnKeys.includes(cellKey) ? "_o5724jg8" : "_1bto1l2s _o5721q9c", cellType === 'richtext' && fg('platform_lp_sllv_richtext_margin_reset') && "_s7n4jp4b"])
610
613
  }, content);
611
614
  }))))));
612
615
  return /*#__PURE__*/React.createElement(FlagsProvider, null, view);
@@ -128,6 +128,7 @@ thead.has-column-picker ._10i2idpf:nth-last-of-type(2){border-right:0}.ProseMirr
128
128
  ._ouxlbac2{background-position:0,0,100%,100%,top,0 52px,bottom,bottom}
129
129
  ._qmxj1c00{background-attachment:local,scroll,local,scroll,local,scroll,local,scroll}
130
130
  ._s7n41kw7{vertical-align:inherit}
131
+ ._s7n4jp4b{vertical-align:top}
131
132
  ._s7n4yfq0{vertical-align:bottom}
132
133
  ._u5f31b66{padding-right:var(--ds-space-050,4px)}
133
134
  ._u5f3ze3t{padding-right:var(--ds-space-0,0)}
@@ -67,6 +67,7 @@ if (process.env.NODE_ENV !== 'production') {
67
67
  }
68
68
  var truncateStyles = null;
69
69
  var wrappedStyles = null;
70
+ var richTextCellStyles = null;
70
71
  var tableContainerStyles = null;
71
72
 
72
73
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled
@@ -418,6 +419,7 @@ export var IssueLikeDataTableView = function IssueLikeDataTableView(_ref6) {
418
419
  return {
419
420
  key: key,
420
421
  columnKey: key,
422
+ type: type,
421
423
  content: /*#__PURE__*/React.createElement(TableCellContent, {
422
424
  id: id,
423
425
  columnKey: key,
@@ -655,6 +657,7 @@ export var IssueLikeDataTableView = function IssueLikeDataTableView(_ref6) {
655
657
  ref: ref
656
658
  }, cells.map(function (_ref17, cellIndex) {
657
659
  var cellKey = _ref17.key,
660
+ cellType = _ref17.type,
658
661
  content = _ref17.content,
659
662
  width = _ref17.width;
660
663
  var isLastCell = cellIndex === cells.length - 1;
@@ -669,7 +672,7 @@ export var IssueLikeDataTableView = function IssueLikeDataTableView(_ref6) {
669
672
  // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
670
673
  ,
671
674
  style: loadingRowStyle,
672
- className: ax([wrappedColumnKeys !== null && wrappedColumnKeys !== void 0 && wrappedColumnKeys.includes(cellKey) ? "_o5724jg8" : "_1bto1l2s _o5721q9c"])
675
+ className: ax([wrappedColumnKeys !== null && wrappedColumnKeys !== void 0 && wrappedColumnKeys.includes(cellKey) ? "_o5724jg8" : "_1bto1l2s _o5721q9c", cellType === 'richtext' && fg('platform_lp_sllv_richtext_margin_reset') && "_s7n4jp4b"])
673
676
  }, content);
674
677
  }));
675
678
  }))));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/link-datasource",
3
- "version": "5.6.2",
3
+ "version": "5.6.4",
4
4
  "description": "UI Components to support linking platform dataset feature",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -43,13 +43,13 @@
43
43
  "ak-postbuild": "ls -d dist/* | xargs -n 1 copyfiles -u 1 -V src/**/*.{svg,png}"
44
44
  },
45
45
  "dependencies": {
46
- "@atlaskit/adf-schema": "^52.16.0",
46
+ "@atlaskit/adf-schema": "^53.0.0",
47
47
  "@atlaskit/afm-i18n-platform-linking-platform-link-datasource": "2.7.0",
48
48
  "@atlaskit/analytics-next": "^11.3.0",
49
49
  "@atlaskit/atlassian-context": "^0.10.0",
50
50
  "@atlaskit/avatar": "^25.15.0",
51
51
  "@atlaskit/avatar-group": "^12.10.0",
52
- "@atlaskit/badge": "^18.6.0",
52
+ "@atlaskit/badge": "^18.7.0",
53
53
  "@atlaskit/button": "^23.11.0",
54
54
  "@atlaskit/css": "^0.19.0",
55
55
  "@atlaskit/datetime-picker": "^17.9.0",
@@ -57,7 +57,7 @@
57
57
  "@atlaskit/editor-prosemirror": "^7.3.0",
58
58
  "@atlaskit/empty-state": "^10.2.0",
59
59
  "@atlaskit/feature-gate-js-client": "^5.7.0",
60
- "@atlaskit/flag": "^17.12.0",
60
+ "@atlaskit/flag": "^17.13.0",
61
61
  "@atlaskit/form": "^15.5.0",
62
62
  "@atlaskit/heading": "^5.4.0",
63
63
  "@atlaskit/icon": "^35.4.0",
@@ -65,15 +65,15 @@
65
65
  "@atlaskit/inline-edit": "^15.6.0",
66
66
  "@atlaskit/intl-messages-provider": "^3.3.0",
67
67
  "@atlaskit/jql-ast": "^3.5.0",
68
- "@atlaskit/jql-editor": "^6.4.0",
68
+ "@atlaskit/jql-editor": "^6.5.0",
69
69
  "@atlaskit/jql-editor-autocomplete-rest": "^3.3.0",
70
70
  "@atlaskit/layering": "^3.8.0",
71
71
  "@atlaskit/link": "^3.4.0",
72
72
  "@atlaskit/link-client-extension": "^6.1.0",
73
- "@atlaskit/link-provider": "^4.6.0",
73
+ "@atlaskit/link-provider": "^4.7.0",
74
74
  "@atlaskit/linking-common": "^9.13.0",
75
75
  "@atlaskit/linking-types": "^14.4.0",
76
- "@atlaskit/logo": "^20.1.0",
76
+ "@atlaskit/logo": "^20.2.0",
77
77
  "@atlaskit/lozenge": "^13.8.0",
78
78
  "@atlaskit/modal-dialog": "^15.2.0",
79
79
  "@atlaskit/object": "^1.0.0",
@@ -87,13 +87,13 @@
87
87
  "@atlaskit/primitives": "^19.0.0",
88
88
  "@atlaskit/react-select": "^3.16.0",
89
89
  "@atlaskit/select": "^21.12.0",
90
- "@atlaskit/smart-card": "^44.23.0",
90
+ "@atlaskit/smart-card": "^44.26.0",
91
91
  "@atlaskit/smart-user-picker": "^10.2.0",
92
92
  "@atlaskit/spinner": "^19.1.0",
93
- "@atlaskit/tag": "^14.15.0",
93
+ "@atlaskit/tag": "^14.16.0",
94
94
  "@atlaskit/textfield": "^8.3.0",
95
95
  "@atlaskit/theme": "^25.0.0",
96
- "@atlaskit/tokens": "^13.1.0",
96
+ "@atlaskit/tokens": "^13.3.0",
97
97
  "@atlaskit/tooltip": "^22.6.0",
98
98
  "@atlaskit/ufo": "^0.5.0",
99
99
  "@atlaskit/width-detector": "^5.1.0",
@@ -121,7 +121,7 @@
121
121
  "@atlaskit/json-ld-types": "^1.5.0",
122
122
  "@atlaskit/link-test-helpers": "^10.4.0",
123
123
  "@atlaskit/ssr": "workspace:^",
124
- "@atlassian/a11y-jest-testing": "^0.11.0",
124
+ "@atlassian/a11y-jest-testing": "^0.12.0",
125
125
  "@atlassian/a11y-playwright-testing": "^0.10.0",
126
126
  "@atlassian/feature-flags-test-utils": "^1.1.0",
127
127
  "@atlassian/react-compiler-gating": "workspace:^",
@@ -213,6 +213,9 @@
213
213
  },
214
214
  "navx-4870-adding-keyboard-focus-for-sllv-columns": {
215
215
  "type": "boolean"
216
+ },
217
+ "platform_lp_sllv_richtext_margin_reset": {
218
+ "type": "boolean"
216
219
  }
217
220
  },
218
221
  "compassUnitTestMetricSourceId": "ari:cloud:compass:a436116f-02ce-4520-8fbb-7301462a1674:metric-source/c5751cc6-3513-4070-9deb-af31e86aed34/9c893299-a527-4457-9b46-f3bc4c828766"