@atlaskit/link-datasource 1.24.3 → 1.24.5

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.
Files changed (45) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/dist/cjs/ui/assets-modal/modal/render-assets-content/initial-state-view/index.js +1 -3
  3. package/dist/cjs/ui/common/error-state/access-required.js +1 -2
  4. package/dist/cjs/ui/common/error-state/loading-error.js +1 -2
  5. package/dist/cjs/ui/common/error-state/modal-loading-error.js +1 -2
  6. package/dist/cjs/ui/common/error-state/no-instances.js +1 -2
  7. package/dist/cjs/ui/common/error-state/no-results.js +1 -2
  8. package/dist/cjs/ui/issue-like-table/column-picker/concatenated-menu-list.js +2 -3
  9. package/dist/cjs/ui/issue-like-table/drag-column-preview.js +1 -1
  10. package/dist/cjs/ui/issue-like-table/index.js +2 -2
  11. package/dist/cjs/ui/issue-like-table/styled.js +2 -2
  12. package/dist/cjs/ui/jira-issues-modal/basic-filters/hooks/useFilterOptions.js +1 -0
  13. package/dist/cjs/ui/jira-issues-modal/initial-state-view/index.js +1 -3
  14. package/dist/cjs/ui/jira-issues-modal/site-selector/index.js +1 -2
  15. package/dist/es2019/ui/assets-modal/modal/render-assets-content/initial-state-view/index.js +1 -3
  16. package/dist/es2019/ui/common/error-state/access-required.js +1 -2
  17. package/dist/es2019/ui/common/error-state/loading-error.js +1 -2
  18. package/dist/es2019/ui/common/error-state/modal-loading-error.js +1 -2
  19. package/dist/es2019/ui/common/error-state/no-instances.js +1 -2
  20. package/dist/es2019/ui/common/error-state/no-results.js +1 -2
  21. package/dist/es2019/ui/issue-like-table/column-picker/concatenated-menu-list.js +2 -3
  22. package/dist/es2019/ui/issue-like-table/drag-column-preview.js +1 -1
  23. package/dist/es2019/ui/issue-like-table/index.js +2 -2
  24. package/dist/es2019/ui/issue-like-table/styled.js +2 -2
  25. package/dist/es2019/ui/jira-issues-modal/basic-filters/hooks/useFilterOptions.js +1 -0
  26. package/dist/es2019/ui/jira-issues-modal/initial-state-view/index.js +1 -3
  27. package/dist/es2019/ui/jira-issues-modal/site-selector/index.js +1 -2
  28. package/dist/esm/ui/assets-modal/modal/render-assets-content/initial-state-view/index.js +1 -3
  29. package/dist/esm/ui/common/error-state/access-required.js +1 -2
  30. package/dist/esm/ui/common/error-state/loading-error.js +1 -2
  31. package/dist/esm/ui/common/error-state/modal-loading-error.js +1 -2
  32. package/dist/esm/ui/common/error-state/no-instances.js +1 -2
  33. package/dist/esm/ui/common/error-state/no-results.js +1 -2
  34. package/dist/esm/ui/issue-like-table/column-picker/concatenated-menu-list.js +2 -3
  35. package/dist/esm/ui/issue-like-table/drag-column-preview.js +1 -1
  36. package/dist/esm/ui/issue-like-table/index.js +2 -2
  37. package/dist/esm/ui/issue-like-table/styled.js +2 -2
  38. package/dist/esm/ui/jira-issues-modal/basic-filters/hooks/useFilterOptions.js +1 -0
  39. package/dist/esm/ui/jira-issues-modal/initial-state-view/index.js +1 -3
  40. package/dist/esm/ui/jira-issues-modal/site-selector/index.js +1 -2
  41. package/dist/types/ui/issue-like-table/draggable-table-heading.d.ts +1 -1
  42. package/dist/types/ui/issue-like-table/styled.d.ts +1 -1
  43. package/dist/types-ts4.5/ui/issue-like-table/draggable-table-heading.d.ts +1 -1
  44. package/dist/types-ts4.5/ui/issue-like-table/styled.d.ts +1 -1
  45. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # @atlaskit/link-datasource
2
2
 
3
+ ## 1.24.5
4
+
5
+ ### Patch Changes
6
+
7
+ - [#83176](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83176) [`5c64e4657ef3`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/5c64e4657ef3) - [ux] Minor changes to replace deprecated font tokens with new tokens. There may be some very slight differences in font size if the previous value was incorrectly applied, and slight differences in line height to match the new typography system.
8
+ - Updated dependencies
9
+
10
+ ## 1.24.4
11
+
12
+ ### Patch Changes
13
+
14
+ - [#83188](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83188) [`cd5d06cd3329`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/cd5d06cd3329) - Minor adjustments to improve compatibility with React 18
15
+
3
16
  ## 1.24.3
4
17
 
5
18
  ### Patch Changes
@@ -20,9 +20,7 @@ var svgAndTextsWrapperStyles = (0, _react.css)({
20
20
  alignSelf: 'center'
21
21
  });
22
22
  var searchTitleStyles = (0, _react.css)({
23
- fontWeight: "var(--ds-font-weight-semibold, 600)",
24
- fontSize: "var(--ds-font-size-200, 16px)",
25
- lineHeight: "var(--ds-font-lineHeight-300, 24px)",
23
+ font: "var(--ds-font-heading-small, normal 600 16px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
26
24
  paddingTop: "var(--ds-space-200, 16px)",
27
25
  paddingBottom: "var(--ds-space-100, 8px)"
28
26
  });
@@ -18,8 +18,7 @@ var _messages = require("./messages");
18
18
 
19
19
  var urlStyles = (0, _react2.css)({
20
20
  color: "var(--ds-text-subtlest, ".concat(_colors.N400, ")"),
21
- fontSize: "var(--ds-font-size-100, 14px)",
22
- lineHeight: "var(--ds-font-lineHeight-200, 20px)"
21
+ font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)"
23
22
  });
24
23
  var descriptionMessageStyles = (0, _react2.css)({
25
24
  display: 'flex',
@@ -26,8 +26,7 @@ var errorMessageContainerStyles = (0, _react2.css)({
26
26
  placeItems: 'center'
27
27
  });
28
28
  var errorMessageStyles = (0, _react2.css)({
29
- fontWeight: "var(--ds-font-weight-semibold, 600)",
30
- fontSize: "var(--ds-font-size-200, 16px)"
29
+ font: "var(--ds-font-heading-small, normal 600 16px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)"
31
30
  });
32
31
  var errorDescriptionStyles = (0, _react2.css)({
33
32
  margin: 0
@@ -26,8 +26,7 @@ var errorMessageContainerStyles = (0, _react2.css)({
26
26
  placeItems: 'center'
27
27
  });
28
28
  var errorMessageStyles = (0, _react2.css)({
29
- fontWeight: "var(--ds-font-weight-semibold, 600)",
30
- fontSize: "var(--ds-font-size-200, 16px)"
29
+ font: "var(--ds-font-heading-small, normal 600 16px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)"
31
30
  });
32
31
  var errorDescriptionStyles = (0, _react2.css)({
33
32
  margin: 0
@@ -12,8 +12,7 @@ var _noInstancesSvg = require("./no-instances-svg");
12
12
  /** @jsx jsx */
13
13
 
14
14
  var titleStyles = (0, _react.css)({
15
- fontWeight: "var(--ds-font-weight-semibold, 600)",
16
- fontSize: "var(--ds-font-size-200, 16px)",
15
+ font: "var(--ds-font-heading-small, normal 600 16px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
17
16
  marginTop: "var(--ds-space-200, 16px)"
18
17
  });
19
18
  var descriptionStyles = (0, _react.css)({
@@ -25,8 +25,7 @@ var noResultsMessageContainerStyles = (0, _react2.css)({
25
25
  placeItems: 'center'
26
26
  });
27
27
  var noResultsMessageStyles = (0, _react2.css)({
28
- fontWeight: "var(--ds-font-weight-semibold, 600)",
29
- fontSize: "var(--ds-font-size-200, 16px)"
28
+ font: "var(--ds-font-heading-small, normal 600 16px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)"
30
29
  });
31
30
  var NoResults = exports.NoResults = function NoResults(_ref) {
32
31
  var onRefresh = _ref.onRefresh;
@@ -16,9 +16,8 @@ var _excluded = ["children"];
16
16
  var SELECT_ITEMS_MAXIMUM_THRESHOLD = exports.SELECT_ITEMS_MAXIMUM_THRESHOLD = 200;
17
17
  var messageStyles = (0, _react.css)({
18
18
  color: "var(--ds-text-subtle, #44546F)",
19
- fontSize: "var(--ds-font-size-050, 11px)",
20
- fontWeight: "var(--ds-font-weight-regular, 400)",
21
- lineHeight: "var(--ds-font-lineHeight-100, 14px)"
19
+ font: "var(--ds-font-body-small, normal 400 11px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
20
+ fontWeight: "var(--ds-font-weight-regular, 400)"
22
21
  });
23
22
  var ConcatenatedMenuList = exports.ConcatenatedMenuList = function ConcatenatedMenuList(_ref) {
24
23
  var children = _ref.children,
@@ -35,7 +35,7 @@ var tableStyles = (0, _react2.css)({
35
35
  background: "var(--ds-surface, #FFF)",
36
36
  borderCollapse: 'separate',
37
37
  borderSpacing: 0,
38
- fontSize: "var(--ds-font-size-100, 14px)",
38
+ font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
39
39
  maxWidth: maxWidth
40
40
  });
41
41
  var DragColumnPreview = exports.DragColumnPreview = function DragColumnPreview(_ref) {
@@ -71,7 +71,7 @@ var truncateStyles = (0, _react2.css)({
71
71
  whiteSpace: 'nowrap'
72
72
  });
73
73
  var TableCell = _styled.default.td((_styled$td = {}, (0, _defineProperty2.default)(_styled$td, "".concat((0, _styled2.withTablePluginBodyPrefix)()), {
74
- fontSize: _styled2.fieldTextFontSize,
74
+ font: _styled2.fieldTextFontSize,
75
75
  padding: "var(--ds-space-050, 4px)".concat(" ", "var(--ds-space-100, 8px)"),
76
76
  border: 0,
77
77
  minWidth: 'auto',
@@ -195,7 +195,7 @@ var noDefaultBorderStyles = (0, _react2.css)({
195
195
  borderBottom: 0
196
196
  });
197
197
  var headerStyles = (0, _react2.css)({
198
- fontSize: "var(--ds-font-size-075, 12px)",
198
+ font: "var(--ds-font-body-UNSAFE_small, normal 400 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
199
199
  fontWeight: "var(--ds-font-weight-medium, 500)"
200
200
  });
201
201
  var headingHoverEffectStyles = (0, _react2.css)({
@@ -10,11 +10,11 @@ var _styled = _interopRequireDefault(require("@emotion/styled"));
10
10
  var _colors = require("@atlaskit/theme/colors");
11
11
  var _styled$th;
12
12
  var ScrollableContainerHeight = exports.ScrollableContainerHeight = 590;
13
- var fieldTextFontSize = exports.fieldTextFontSize = "var(--ds-font-size-100, 14px)";
13
+ var fieldTextFontSize = exports.fieldTextFontSize = "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)";
14
14
  var Table = exports.Table = _styled.default.table({
15
15
  width: '100%'
16
16
  });
17
- var lineHeight = "var(--ds-font-lineHeight-300, 24px)";
17
+ var lineHeight = '24px';
18
18
  var verticalPadding = "var(--ds-space-025, 2px)";
19
19
 
20
20
  /**
@@ -94,6 +94,7 @@ var useFilterOptions = exports.useFilterOptions = function useFilterOptions(_ref
94
94
  cloudId: cloudId,
95
95
  jql: '',
96
96
  jqlTerm: filterType,
97
+ // @ts-expect-error - Type 'string | undefined' is not assignable to type 'string'
97
98
  searchString: searchString,
98
99
  pageCursor: pageCursor
99
100
  });
@@ -32,9 +32,7 @@ var betaTagStyles = (0, _react2.css)({
32
32
  });
33
33
  var searchTitleStyles = (0, _react2.css)({
34
34
  color: "var(--ds-text-subtlest, ".concat(_colors.N300, ")"),
35
- fontWeight: "var(--ds-font-weight-medium, 500)",
36
- fontSize: "var(--ds-font-size-300, 20px)",
37
- lineHeight: "var(--ds-font-lineHeight-300, 24px)",
35
+ font: "var(--ds-font-heading-medium, normal 500 20px/24px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
38
36
  paddingTop: "var(--ds-space-200, 16px)",
39
37
  paddingBottom: "var(--ds-space-100, 8px)",
40
38
  display: 'flex',
@@ -18,9 +18,8 @@ var _excluded = ["width"];
18
18
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
19
19
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
20
20
  var selectStyles = (0, _react2.css)({
21
- fontSize: "var(--ds-font-size-100, 14px)",
21
+ font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
22
22
  fontWeight: "var(--ds-font-weight-medium, 500)",
23
- lineHeight: "var(--ds-font-lineHeight-200, 20px)",
24
23
  zIndex: _zindex.siteSelectorIndex
25
24
  });
26
25
  var JiraSiteSelector = exports.JiraSiteSelector = function JiraSiteSelector(props) {
@@ -14,9 +14,7 @@ const svgAndTextsWrapperStyles = css({
14
14
  alignSelf: 'center'
15
15
  });
16
16
  const searchTitleStyles = css({
17
- fontWeight: "var(--ds-font-weight-semibold, 600)",
18
- fontSize: "var(--ds-font-size-200, 16px)",
19
- lineHeight: "var(--ds-font-lineHeight-300, 24px)",
17
+ font: "var(--ds-font-heading-small, normal 600 16px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
20
18
  paddingTop: "var(--ds-space-200, 16px)",
21
19
  paddingBottom: "var(--ds-space-100, 8px)"
22
20
  });
@@ -10,8 +10,7 @@ import { AccessRequiredSVG } from './access-required-svg';
10
10
  import { loadingErrorMessages } from './messages';
11
11
  const urlStyles = css({
12
12
  color: `var(--ds-text-subtlest, ${N400})`,
13
- fontSize: "var(--ds-font-size-100, 14px)",
14
- lineHeight: "var(--ds-font-lineHeight-200, 20px)"
13
+ font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)"
15
14
  });
16
15
  const descriptionMessageStyles = css({
17
16
  display: 'flex',
@@ -18,8 +18,7 @@ const errorMessageContainerStyles = css({
18
18
  placeItems: 'center'
19
19
  });
20
20
  const errorMessageStyles = css({
21
- fontWeight: "var(--ds-font-weight-semibold, 600)",
22
- fontSize: "var(--ds-font-size-200, 16px)"
21
+ font: "var(--ds-font-heading-small, normal 600 16px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)"
23
22
  });
24
23
  const errorDescriptionStyles = css({
25
24
  margin: 0
@@ -18,8 +18,7 @@ const errorMessageContainerStyles = css({
18
18
  placeItems: 'center'
19
19
  });
20
20
  const errorMessageStyles = css({
21
- fontWeight: "var(--ds-font-weight-semibold, 600)",
22
- fontSize: "var(--ds-font-size-200, 16px)"
21
+ font: "var(--ds-font-heading-small, normal 600 16px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)"
23
22
  });
24
23
  const errorDescriptionStyles = css({
25
24
  margin: 0
@@ -5,8 +5,7 @@ import { Flex, xcss } from '@atlaskit/primitives';
5
5
  import { loadingErrorMessages } from './messages';
6
6
  import { NoInstancesSvg } from './no-instances-svg';
7
7
  const titleStyles = css({
8
- fontWeight: "var(--ds-font-weight-semibold, 600)",
9
- fontSize: "var(--ds-font-size-200, 16px)",
8
+ font: "var(--ds-font-heading-small, normal 600 16px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
10
9
  marginTop: "var(--ds-space-200, 16px)"
11
10
  });
12
11
  const descriptionStyles = css({
@@ -17,8 +17,7 @@ const noResultsMessageContainerStyles = css({
17
17
  placeItems: 'center'
18
18
  });
19
19
  const noResultsMessageStyles = css({
20
- fontWeight: "var(--ds-font-weight-semibold, 600)",
21
- fontSize: "var(--ds-font-size-200, 16px)"
20
+ font: "var(--ds-font-heading-small, normal 600 16px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)"
22
21
  });
23
22
  export const NoResults = ({
24
23
  onRefresh
@@ -7,9 +7,8 @@ import { columnPickerMessages } from './messages';
7
7
  export const SELECT_ITEMS_MAXIMUM_THRESHOLD = 200;
8
8
  const messageStyles = css({
9
9
  color: "var(--ds-text-subtle, #44546F)",
10
- fontSize: "var(--ds-font-size-050, 11px)",
11
- fontWeight: "var(--ds-font-weight-regular, 400)",
12
- lineHeight: "var(--ds-font-lineHeight-100, 14px)"
10
+ font: "var(--ds-font-body-small, normal 400 11px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
11
+ fontWeight: "var(--ds-font-weight-regular, 400)"
13
12
  });
14
13
  export const ConcatenatedMenuList = ({
15
14
  children,
@@ -32,7 +32,7 @@ const tableStyles = css({
32
32
  background: "var(--ds-surface, #FFF)",
33
33
  borderCollapse: 'separate',
34
34
  borderSpacing: 0,
35
- fontSize: "var(--ds-font-size-100, 14px)",
35
+ font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
36
36
  maxWidth
37
37
  });
38
38
  export const DragColumnPreview = ({
@@ -60,7 +60,7 @@ const truncateStyles = css({
60
60
  });
61
61
  const TableCell = styled.td({
62
62
  [`${withTablePluginBodyPrefix()}`]: {
63
- fontSize: fieldTextFontSize,
63
+ font: fieldTextFontSize,
64
64
  padding: `${"var(--ds-space-050, 4px)"} ${"var(--ds-space-100, 8px)"}`,
65
65
  border: 0,
66
66
  minWidth: 'auto',
@@ -223,7 +223,7 @@ const noDefaultBorderStyles = css({
223
223
  borderBottom: 0
224
224
  });
225
225
  const headerStyles = css({
226
- fontSize: "var(--ds-font-size-075, 12px)",
226
+ font: "var(--ds-font-body-UNSAFE_small, normal 400 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
227
227
  fontWeight: "var(--ds-font-weight-medium, 500)"
228
228
  });
229
229
  const headingHoverEffectStyles = css({
@@ -1,11 +1,11 @@
1
1
  import styled from '@emotion/styled';
2
2
  import { N40 } from '@atlaskit/theme/colors';
3
3
  export const ScrollableContainerHeight = 590;
4
- export const fieldTextFontSize = "var(--ds-font-size-100, 14px)";
4
+ export const fieldTextFontSize = "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)";
5
5
  export const Table = styled.table({
6
6
  width: '100%'
7
7
  });
8
- const lineHeight = "var(--ds-font-lineHeight-300, 24px)";
8
+ const lineHeight = '24px';
9
9
  const verticalPadding = "var(--ds-space-025, 2px)";
10
10
 
11
11
  /**
@@ -46,6 +46,7 @@ export const useFilterOptions = ({
46
46
  cloudId,
47
47
  jql: '',
48
48
  jqlTerm: filterType,
49
+ // @ts-expect-error - Type 'string | undefined' is not assignable to type 'string'
49
50
  searchString,
50
51
  pageCursor
51
52
  });
@@ -25,9 +25,7 @@ const betaTagStyles = css({
25
25
  });
26
26
  const searchTitleStyles = css({
27
27
  color: `var(--ds-text-subtlest, ${N300})`,
28
- fontWeight: "var(--ds-font-weight-medium, 500)",
29
- fontSize: "var(--ds-font-size-300, 20px)",
30
- lineHeight: "var(--ds-font-lineHeight-300, 24px)",
28
+ font: "var(--ds-font-heading-medium, normal 500 20px/24px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
31
29
  paddingTop: "var(--ds-space-200, 16px)",
32
30
  paddingBottom: "var(--ds-space-100, 8px)",
33
31
  display: 'flex',
@@ -6,9 +6,8 @@ import Select from '@atlaskit/select';
6
6
  import { siteSelectorIndex } from '../../../common/zindex';
7
7
  import { siteSelectorMessages } from './messages';
8
8
  const selectStyles = css({
9
- fontSize: "var(--ds-font-size-100, 14px)",
9
+ font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
10
10
  fontWeight: "var(--ds-font-weight-medium, 500)",
11
- lineHeight: "var(--ds-font-lineHeight-200, 20px)",
12
11
  zIndex: siteSelectorIndex
13
12
  });
14
13
  export const JiraSiteSelector = props => {
@@ -14,9 +14,7 @@ var svgAndTextsWrapperStyles = css({
14
14
  alignSelf: 'center'
15
15
  });
16
16
  var searchTitleStyles = css({
17
- fontWeight: "var(--ds-font-weight-semibold, 600)",
18
- fontSize: "var(--ds-font-size-200, 16px)",
19
- lineHeight: "var(--ds-font-lineHeight-300, 24px)",
17
+ font: "var(--ds-font-heading-small, normal 600 16px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
20
18
  paddingTop: "var(--ds-space-200, 16px)",
21
19
  paddingBottom: "var(--ds-space-100, 8px)"
22
20
  });
@@ -10,8 +10,7 @@ import { AccessRequiredSVG } from './access-required-svg';
10
10
  import { loadingErrorMessages } from './messages';
11
11
  var urlStyles = css({
12
12
  color: "var(--ds-text-subtlest, ".concat(N400, ")"),
13
- fontSize: "var(--ds-font-size-100, 14px)",
14
- lineHeight: "var(--ds-font-lineHeight-200, 20px)"
13
+ font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)"
15
14
  });
16
15
  var descriptionMessageStyles = css({
17
16
  display: 'flex',
@@ -18,8 +18,7 @@ var errorMessageContainerStyles = css({
18
18
  placeItems: 'center'
19
19
  });
20
20
  var errorMessageStyles = css({
21
- fontWeight: "var(--ds-font-weight-semibold, 600)",
22
- fontSize: "var(--ds-font-size-200, 16px)"
21
+ font: "var(--ds-font-heading-small, normal 600 16px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)"
23
22
  });
24
23
  var errorDescriptionStyles = css({
25
24
  margin: 0
@@ -18,8 +18,7 @@ var errorMessageContainerStyles = css({
18
18
  placeItems: 'center'
19
19
  });
20
20
  var errorMessageStyles = css({
21
- fontWeight: "var(--ds-font-weight-semibold, 600)",
22
- fontSize: "var(--ds-font-size-200, 16px)"
21
+ font: "var(--ds-font-heading-small, normal 600 16px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)"
23
22
  });
24
23
  var errorDescriptionStyles = css({
25
24
  margin: 0
@@ -5,8 +5,7 @@ import { Flex, xcss } from '@atlaskit/primitives';
5
5
  import { loadingErrorMessages } from './messages';
6
6
  import { NoInstancesSvg } from './no-instances-svg';
7
7
  var titleStyles = css({
8
- fontWeight: "var(--ds-font-weight-semibold, 600)",
9
- fontSize: "var(--ds-font-size-200, 16px)",
8
+ font: "var(--ds-font-heading-small, normal 600 16px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
10
9
  marginTop: "var(--ds-space-200, 16px)"
11
10
  });
12
11
  var descriptionStyles = css({
@@ -17,8 +17,7 @@ var noResultsMessageContainerStyles = css({
17
17
  placeItems: 'center'
18
18
  });
19
19
  var noResultsMessageStyles = css({
20
- fontWeight: "var(--ds-font-weight-semibold, 600)",
21
- fontSize: "var(--ds-font-size-200, 16px)"
20
+ font: "var(--ds-font-heading-small, normal 600 16px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)"
22
21
  });
23
22
  export var NoResults = function NoResults(_ref) {
24
23
  var onRefresh = _ref.onRefresh;
@@ -9,9 +9,8 @@ import { columnPickerMessages } from './messages';
9
9
  export var SELECT_ITEMS_MAXIMUM_THRESHOLD = 200;
10
10
  var messageStyles = css({
11
11
  color: "var(--ds-text-subtle, #44546F)",
12
- fontSize: "var(--ds-font-size-050, 11px)",
13
- fontWeight: "var(--ds-font-weight-regular, 400)",
14
- lineHeight: "var(--ds-font-lineHeight-100, 14px)"
12
+ font: "var(--ds-font-body-small, normal 400 11px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
13
+ fontWeight: "var(--ds-font-weight-regular, 400)"
15
14
  });
16
15
  export var ConcatenatedMenuList = function ConcatenatedMenuList(_ref) {
17
16
  var children = _ref.children,
@@ -27,7 +27,7 @@ var tableStyles = css({
27
27
  background: "var(--ds-surface, #FFF)",
28
28
  borderCollapse: 'separate',
29
29
  borderSpacing: 0,
30
- fontSize: "var(--ds-font-size-100, 14px)",
30
+ font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
31
31
  maxWidth: maxWidth
32
32
  });
33
33
  export var DragColumnPreview = function DragColumnPreview(_ref) {
@@ -64,7 +64,7 @@ var truncateStyles = css({
64
64
  whiteSpace: 'nowrap'
65
65
  });
66
66
  var TableCell = styled.td((_styled$td = {}, _defineProperty(_styled$td, "".concat(withTablePluginBodyPrefix()), {
67
- fontSize: fieldTextFontSize,
67
+ font: fieldTextFontSize,
68
68
  padding: "var(--ds-space-050, 4px)".concat(" ", "var(--ds-space-100, 8px)"),
69
69
  border: 0,
70
70
  minWidth: 'auto',
@@ -188,7 +188,7 @@ var noDefaultBorderStyles = css({
188
188
  borderBottom: 0
189
189
  });
190
190
  var headerStyles = css({
191
- fontSize: "var(--ds-font-size-075, 12px)",
191
+ font: "var(--ds-font-body-UNSAFE_small, normal 400 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
192
192
  fontWeight: "var(--ds-font-weight-medium, 500)"
193
193
  });
194
194
  var headingHoverEffectStyles = css({
@@ -3,11 +3,11 @@ var _styled$th;
3
3
  import styled from '@emotion/styled';
4
4
  import { N40 } from '@atlaskit/theme/colors';
5
5
  export var ScrollableContainerHeight = 590;
6
- export var fieldTextFontSize = "var(--ds-font-size-100, 14px)";
6
+ export var fieldTextFontSize = "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)";
7
7
  export var Table = styled.table({
8
8
  width: '100%'
9
9
  });
10
- var lineHeight = "var(--ds-font-lineHeight-300, 24px)";
10
+ var lineHeight = '24px';
11
11
  var verticalPadding = "var(--ds-space-025, 2px)";
12
12
 
13
13
  /**
@@ -87,6 +87,7 @@ export var useFilterOptions = function useFilterOptions(_ref) {
87
87
  cloudId: cloudId,
88
88
  jql: '',
89
89
  jqlTerm: filterType,
90
+ // @ts-expect-error - Type 'string | undefined' is not assignable to type 'string'
90
91
  searchString: searchString,
91
92
  pageCursor: pageCursor
92
93
  });
@@ -25,9 +25,7 @@ var betaTagStyles = css({
25
25
  });
26
26
  var searchTitleStyles = css({
27
27
  color: "var(--ds-text-subtlest, ".concat(N300, ")"),
28
- fontWeight: "var(--ds-font-weight-medium, 500)",
29
- fontSize: "var(--ds-font-size-300, 20px)",
30
- lineHeight: "var(--ds-font-lineHeight-300, 24px)",
28
+ font: "var(--ds-font-heading-medium, normal 500 20px/24px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
31
29
  paddingTop: "var(--ds-space-200, 16px)",
32
30
  paddingBottom: "var(--ds-space-100, 8px)",
33
31
  display: 'flex',
@@ -11,9 +11,8 @@ import Select from '@atlaskit/select';
11
11
  import { siteSelectorIndex } from '../../../common/zindex';
12
12
  import { siteSelectorMessages } from './messages';
13
13
  var selectStyles = css({
14
- fontSize: "var(--ds-font-size-100, 14px)",
14
+ font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
15
15
  fontWeight: "var(--ds-font-weight-medium, 500)",
16
- lineHeight: "var(--ds-font-lineHeight-200, 20px)",
17
16
  zIndex: siteSelectorIndex
18
17
  });
19
18
  export var JiraSiteSelector = function JiraSiteSelector(props) {
@@ -5,7 +5,7 @@ interface DraggableTableHeadingProps {
5
5
  children: ReactNode;
6
6
  id: string;
7
7
  index: number;
8
- tableId: Symbol;
8
+ tableId: symbol;
9
9
  dndPreviewHeight: number;
10
10
  dragPreview: React.ReactNode;
11
11
  width: number;
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  export declare const ScrollableContainerHeight = 590;
3
- export declare const fieldTextFontSize: "var(--ds-font-size-100)";
3
+ export declare const fieldTextFontSize: "var(--ds-font-body)";
4
4
  export declare const Table: import("@emotion/styled").StyledComponent<{
5
5
  theme?: import("@emotion/react").Theme | undefined;
6
6
  as?: import("react").ElementType<any> | undefined;
@@ -5,7 +5,7 @@ interface DraggableTableHeadingProps {
5
5
  children: ReactNode;
6
6
  id: string;
7
7
  index: number;
8
- tableId: Symbol;
8
+ tableId: symbol;
9
9
  dndPreviewHeight: number;
10
10
  dragPreview: React.ReactNode;
11
11
  width: number;
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  export declare const ScrollableContainerHeight = 590;
3
- export declare const fieldTextFontSize: "var(--ds-font-size-100)";
3
+ export declare const fieldTextFontSize: "var(--ds-font-body)";
4
4
  export declare const Table: import("@emotion/styled").StyledComponent<{
5
5
  theme?: import("@emotion/react").Theme | undefined;
6
6
  as?: import("react").ElementType<any> | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/link-datasource",
3
- "version": "1.24.3",
3
+ "version": "1.24.5",
4
4
  "description": "UI Components to support linking platform dataset feature",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -40,7 +40,7 @@
40
40
  "@atlaskit/dropdown-menu": "^12.8.0",
41
41
  "@atlaskit/editor-prosemirror": "3.0.0",
42
42
  "@atlaskit/empty-state": "^7.7.0",
43
- "@atlaskit/form": "^9.0.3",
43
+ "@atlaskit/form": "^9.1.0",
44
44
  "@atlaskit/heading": "^2.1.0",
45
45
  "@atlaskit/icon": "^22.1.0",
46
46
  "@atlaskit/icon-object": "^6.3.0",
@@ -56,7 +56,7 @@
56
56
  "@atlaskit/modal-dialog": "^12.10.0",
57
57
  "@atlaskit/outbound-auth-flow-client": "^3.4.5",
58
58
  "@atlaskit/platform-feature-flags": "^0.2.4",
59
- "@atlaskit/pragmatic-drag-and-drop": "^1.0.0",
59
+ "@atlaskit/pragmatic-drag-and-drop": "^1.1.0",
60
60
  "@atlaskit/pragmatic-drag-and-drop-hitbox": "^1.0.0",
61
61
  "@atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-autoscroll": "^1.0.0",
62
62
  "@atlaskit/pragmatic-drag-and-drop-react-drop-indicator": "^1.0.0",