@atlaskit/link-datasource 3.8.5 → 3.8.7

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,21 @@
1
1
  # @atlaskit/link-datasource
2
2
 
3
+ ## 3.8.7
4
+
5
+ ### Patch Changes
6
+
7
+ - [`f72c22d3b02b0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f72c22d3b02b0) -
8
+ The changes here updates the default width, and adds a min-width to the Priority column in Jira
9
+ SLLV.
10
+
11
+ ## 3.8.6
12
+
13
+ ### Patch Changes
14
+
15
+ - [#161638](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/161638)
16
+ [`d2e5e5ce0053d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/d2e5e5ce0053d) -
17
+ Use new API of layering without UNSAFE prefix
18
+
3
19
  ## 3.8.5
4
20
 
5
21
  ### Patch Changes
@@ -16,9 +16,6 @@ var _lozenge = _interopRequireDefault(require("@atlaskit/lozenge"));
16
16
  var _select = _interopRequireDefault(require("@atlaskit/select"));
17
17
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
18
18
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
19
- // FilterOptionOption is used in the filterOption function which is part of the public API, but the type itself is not exported
20
- // eslint-disable-next-line import/no-extraneous-dependencies,no-restricted-imports
21
-
22
19
  var StatusEditType = function StatusEditType(props) {
23
20
  var _currentValue$values;
24
21
  var currentValue = props.currentValue,
@@ -14,7 +14,7 @@ var toTextValue = exports.toTextValue = function toTextValue(typeWithValues) {
14
14
  return (_ref = (_typeWithValues$value = typeWithValues.values) === null || _typeWithValues$value === void 0 ? void 0 : _typeWithValues$value[0]) !== null && _ref !== void 0 ? _ref : '';
15
15
  };
16
16
  var TextEditType = function TextEditType(props) {
17
- return /*#__PURE__*/_react.default.createElement(_layering.UNSAFE_LAYERING, {
17
+ return /*#__PURE__*/_react.default.createElement(_layering.Layering, {
18
18
  isDisabled: false
19
19
  }, /*#__PURE__*/_react.default.createElement(_textfield.default, (0, _extends2.default)({}, props, {
20
20
  autoFocus: true,
@@ -233,7 +233,8 @@ var getOrderedColumns = exports.getOrderedColumns = function getOrderedColumns(c
233
233
  };
234
234
  var DEFAULT_WIDTH = _utils.COLUMN_BASE_WIDTH * 22;
235
235
  var keyBasedWidthMap = {
236
- priority: _utils.COLUMN_BASE_WIDTH * 8,
236
+ priority: _utils.COLUMN_BASE_WIDTH * 13.75,
237
+ // 110px
237
238
  status: _utils.COLUMN_BASE_WIDTH * 15,
238
239
  summary: _utils.COLUMN_BASE_WIDTH * 45,
239
240
  description: _utils.COLUMN_BASE_WIDTH * 31,
@@ -9,7 +9,8 @@ var COLUMN_BASE_WIDTH = exports.COLUMN_BASE_WIDTH = 8;
9
9
  var COLUMN_MIN_WIDTH = COLUMN_BASE_WIDTH * 4;
10
10
  var keyBasedMinWidthMap = {
11
11
  summary: COLUMN_BASE_WIDTH * 26,
12
- status: COLUMN_BASE_WIDTH * 15
12
+ status: COLUMN_BASE_WIDTH * 15,
13
+ priority: COLUMN_BASE_WIDTH * 12.5 // 100px
13
14
  };
14
15
  var getColumnMinWidth = exports.getColumnMinWidth = function getColumnMinWidth(key) {
15
16
  return keyBasedMinWidthMap[key] || COLUMN_MIN_WIDTH;
@@ -2,9 +2,6 @@ import _extends from "@babel/runtime/helpers/extends";
2
2
  import React, { useEffect, useState } from 'react';
3
3
  import { ActionOperationStatus } from '@atlaskit/linking-types';
4
4
  import Lozenge from '@atlaskit/lozenge';
5
- // FilterOptionOption is used in the filterOption function which is part of the public API, but the type itself is not exported
6
- // eslint-disable-next-line import/no-extraneous-dependencies,no-restricted-imports
7
-
8
5
  import Select from '@atlaskit/select';
9
6
  const StatusEditType = props => {
10
7
  var _currentValue$values;
@@ -1,13 +1,13 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  import React from 'react';
3
- import { UNSAFE_LAYERING } from '@atlaskit/layering';
3
+ import { Layering } from '@atlaskit/layering';
4
4
  import Textfield from '@atlaskit/textfield';
5
5
  export const toTextValue = typeWithValues => {
6
6
  var _ref, _typeWithValues$value;
7
7
  return (_ref = (_typeWithValues$value = typeWithValues.values) === null || _typeWithValues$value === void 0 ? void 0 : _typeWithValues$value[0]) !== null && _ref !== void 0 ? _ref : '';
8
8
  };
9
9
  const TextEditType = props => {
10
- return /*#__PURE__*/React.createElement(UNSAFE_LAYERING, {
10
+ return /*#__PURE__*/React.createElement(Layering, {
11
11
  isDisabled: false
12
12
  }, /*#__PURE__*/React.createElement(Textfield, _extends({}, props, {
13
13
  autoFocus: true,
@@ -259,7 +259,8 @@ export const getOrderedColumns = (columns, visibleColumnKeys) => {
259
259
  };
260
260
  const DEFAULT_WIDTH = COLUMN_BASE_WIDTH * 22;
261
261
  const keyBasedWidthMap = {
262
- priority: COLUMN_BASE_WIDTH * 8,
262
+ priority: COLUMN_BASE_WIDTH * 13.75,
263
+ // 110px
263
264
  status: COLUMN_BASE_WIDTH * 15,
264
265
  summary: COLUMN_BASE_WIDTH * 45,
265
266
  description: COLUMN_BASE_WIDTH * 31,
@@ -3,7 +3,8 @@ export const COLUMN_BASE_WIDTH = 8;
3
3
  const COLUMN_MIN_WIDTH = COLUMN_BASE_WIDTH * 4;
4
4
  const keyBasedMinWidthMap = {
5
5
  summary: COLUMN_BASE_WIDTH * 26,
6
- status: COLUMN_BASE_WIDTH * 15
6
+ status: COLUMN_BASE_WIDTH * 15,
7
+ priority: COLUMN_BASE_WIDTH * 12.5 // 100px
7
8
  };
8
9
  export const getColumnMinWidth = key => {
9
10
  return keyBasedMinWidthMap[key] || COLUMN_MIN_WIDTH;
@@ -5,9 +5,6 @@ import _regeneratorRuntime from "@babel/runtime/regenerator";
5
5
  import React, { useEffect, useState } from 'react';
6
6
  import { ActionOperationStatus } from '@atlaskit/linking-types';
7
7
  import Lozenge from '@atlaskit/lozenge';
8
- // FilterOptionOption is used in the filterOption function which is part of the public API, but the type itself is not exported
9
- // eslint-disable-next-line import/no-extraneous-dependencies,no-restricted-imports
10
-
11
8
  import Select from '@atlaskit/select';
12
9
  var StatusEditType = function StatusEditType(props) {
13
10
  var _currentValue$values;
@@ -1,13 +1,13 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  import React from 'react';
3
- import { UNSAFE_LAYERING } from '@atlaskit/layering';
3
+ import { Layering } from '@atlaskit/layering';
4
4
  import Textfield from '@atlaskit/textfield';
5
5
  export var toTextValue = function toTextValue(typeWithValues) {
6
6
  var _ref, _typeWithValues$value;
7
7
  return (_ref = (_typeWithValues$value = typeWithValues.values) === null || _typeWithValues$value === void 0 ? void 0 : _typeWithValues$value[0]) !== null && _ref !== void 0 ? _ref : '';
8
8
  };
9
9
  var TextEditType = function TextEditType(props) {
10
- return /*#__PURE__*/React.createElement(UNSAFE_LAYERING, {
10
+ return /*#__PURE__*/React.createElement(Layering, {
11
11
  isDisabled: false
12
12
  }, /*#__PURE__*/React.createElement(Textfield, _extends({}, props, {
13
13
  autoFocus: true,
@@ -229,7 +229,8 @@ export var getOrderedColumns = function getOrderedColumns(columns, visibleColumn
229
229
  };
230
230
  var DEFAULT_WIDTH = COLUMN_BASE_WIDTH * 22;
231
231
  var keyBasedWidthMap = {
232
- priority: COLUMN_BASE_WIDTH * 8,
232
+ priority: COLUMN_BASE_WIDTH * 13.75,
233
+ // 110px
233
234
  status: COLUMN_BASE_WIDTH * 15,
234
235
  summary: COLUMN_BASE_WIDTH * 45,
235
236
  description: COLUMN_BASE_WIDTH * 31,
@@ -3,7 +3,8 @@ export var COLUMN_BASE_WIDTH = 8;
3
3
  var COLUMN_MIN_WIDTH = COLUMN_BASE_WIDTH * 4;
4
4
  var keyBasedMinWidthMap = {
5
5
  summary: COLUMN_BASE_WIDTH * 26,
6
- status: COLUMN_BASE_WIDTH * 15
6
+ status: COLUMN_BASE_WIDTH * 15,
7
+ priority: COLUMN_BASE_WIDTH * 12.5 // 100px
7
8
  };
8
9
  export var getColumnMinWidth = function getColumnMinWidth(key) {
9
10
  return keyBasedMinWidthMap[key] || COLUMN_MIN_WIDTH;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/link-datasource",
3
- "version": "3.8.5",
3
+ "version": "3.8.7",
4
4
  "description": "UI Components to support linking platform dataset feature",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -41,7 +41,7 @@
41
41
  "@atlaskit/avatar-group": "^10.0.0",
42
42
  "@atlaskit/badge": "^16.4.0",
43
43
  "@atlaskit/button": "^20.3.0",
44
- "@atlaskit/datetime-picker": "^15.7.0",
44
+ "@atlaskit/datetime-picker": "^15.9.0",
45
45
  "@atlaskit/dropdown-menu": "^12.22.0",
46
46
  "@atlaskit/editor-prosemirror": "6.0.0",
47
47
  "@atlaskit/empty-state": "^7.12.0",
@@ -54,7 +54,7 @@
54
54
  "@atlaskit/inline-edit": "^13.7.0",
55
55
  "@atlaskit/intl-messages-provider": "^1.0.0",
56
56
  "@atlaskit/jql-ast": "^3.3.0",
57
- "@atlaskit/jql-editor": "^4.9.0",
57
+ "@atlaskit/jql-editor": "^4.10.0",
58
58
  "@atlaskit/jql-editor-autocomplete-rest": "^2.1.0",
59
59
  "@atlaskit/layering": "^0.7.0",
60
60
  "@atlaskit/link-client-extension": "^2.4.0",
@@ -70,7 +70,8 @@
70
70
  "@atlaskit/pragmatic-drag-and-drop-hitbox": "^1.0.0",
71
71
  "@atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-autoscroll": "^1.2.0",
72
72
  "@atlaskit/pragmatic-drag-and-drop-react-drop-indicator": "^1.1.0",
73
- "@atlaskit/primitives": "^13.0.0",
73
+ "@atlaskit/primitives": "^13.1.0",
74
+ "@atlaskit/react-select": "^1.3.0",
74
75
  "@atlaskit/select": "^18.5.0",
75
76
  "@atlaskit/smart-card": "^30.2.0",
76
77
  "@atlaskit/smart-user-picker": "6.11.1",
@@ -79,7 +80,7 @@
79
80
  "@atlaskit/textfield": "6.5.4",
80
81
  "@atlaskit/theme": "^14.0.0",
81
82
  "@atlaskit/tokens": "^2.2.0",
82
- "@atlaskit/tooltip": "^18.8.0",
83
+ "@atlaskit/tooltip": "^18.9.0",
83
84
  "@atlaskit/ufo": "^0.3.0",
84
85
  "@atlaskit/width-detector": "^4.3.0",
85
86
  "@babel/runtime": "^7.0.0",