@atlaskit/link-create 2.13.16 → 2.13.17
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 +6 -0
- package/dist/cjs/common/constants.js +1 -1
- package/dist/cjs/common/ui/error-boundary/error-boundary-base/index.js +5 -7
- package/dist/es2019/common/constants.js +1 -1
- package/dist/esm/common/constants.js +1 -1
- package/dist/esm/common/ui/error-boundary/error-boundary-base/index.js +5 -7
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -13,7 +13,7 @@ var CREATE_FORM_MIN_HEIGHT_IN_PX = exports.CREATE_FORM_MIN_HEIGHT_IN_PX = '200';
|
|
|
13
13
|
var LINK_CREATE_FORM_POST_CREATE_FIELD = exports.LINK_CREATE_FORM_POST_CREATE_FIELD = '__post_create__';
|
|
14
14
|
var PACKAGE_DATA = exports.PACKAGE_DATA = {
|
|
15
15
|
packageName: "@atlaskit/link-create" || '',
|
|
16
|
-
packageVersion: "2.13.
|
|
16
|
+
packageVersion: "2.13.17" || '',
|
|
17
17
|
component: COMPONENT_NAME,
|
|
18
18
|
componentName: COMPONENT_NAME
|
|
19
19
|
};
|
|
@@ -7,26 +7,25 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
exports.BaseErrorBoundary = void 0;
|
|
8
8
|
var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
|
|
9
9
|
var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
|
|
10
|
-
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
|
|
11
10
|
var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime/helpers/possibleConstructorReturn"));
|
|
12
11
|
var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf"));
|
|
12
|
+
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
|
|
13
13
|
var _react = require("react");
|
|
14
|
-
function
|
|
14
|
+
function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); }
|
|
15
15
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
16
16
|
// eslint-disable-next-line @repo/internal/react/no-class-components
|
|
17
17
|
var BaseErrorBoundary = exports.BaseErrorBoundary = /*#__PURE__*/function (_Component) {
|
|
18
|
-
(0, _inherits2.default)(BaseErrorBoundary, _Component);
|
|
19
|
-
var _super = _createSuper(BaseErrorBoundary);
|
|
20
18
|
function BaseErrorBoundary(props) {
|
|
21
19
|
var _this;
|
|
22
20
|
(0, _classCallCheck2.default)(this, BaseErrorBoundary);
|
|
23
|
-
_this =
|
|
21
|
+
_this = _callSuper(this, BaseErrorBoundary, [props]);
|
|
24
22
|
_this.state = {
|
|
25
23
|
hasError: false
|
|
26
24
|
};
|
|
27
25
|
return _this;
|
|
28
26
|
}
|
|
29
|
-
(0,
|
|
27
|
+
(0, _inherits2.default)(BaseErrorBoundary, _Component);
|
|
28
|
+
return (0, _createClass2.default)(BaseErrorBoundary, [{
|
|
30
29
|
key: "componentDidCatch",
|
|
31
30
|
value: function componentDidCatch(error, info) {
|
|
32
31
|
var onError = this.props.onError;
|
|
@@ -48,5 +47,4 @@ var BaseErrorBoundary = exports.BaseErrorBoundary = /*#__PURE__*/function (_Comp
|
|
|
48
47
|
return children;
|
|
49
48
|
}
|
|
50
49
|
}]);
|
|
51
|
-
return BaseErrorBoundary;
|
|
52
50
|
}(_react.Component);
|
|
@@ -7,7 +7,7 @@ export const CREATE_FORM_MIN_HEIGHT_IN_PX = '200';
|
|
|
7
7
|
export const LINK_CREATE_FORM_POST_CREATE_FIELD = '__post_create__';
|
|
8
8
|
export const PACKAGE_DATA = {
|
|
9
9
|
packageName: "@atlaskit/link-create" || '',
|
|
10
|
-
packageVersion: "2.13.
|
|
10
|
+
packageVersion: "2.13.17" || '',
|
|
11
11
|
component: COMPONENT_NAME,
|
|
12
12
|
componentName: COMPONENT_NAME
|
|
13
13
|
};
|
|
@@ -7,7 +7,7 @@ export var CREATE_FORM_MIN_HEIGHT_IN_PX = '200';
|
|
|
7
7
|
export var LINK_CREATE_FORM_POST_CREATE_FIELD = '__post_create__';
|
|
8
8
|
export var PACKAGE_DATA = {
|
|
9
9
|
packageName: "@atlaskit/link-create" || '',
|
|
10
|
-
packageVersion: "2.13.
|
|
10
|
+
packageVersion: "2.13.17" || '',
|
|
11
11
|
component: COMPONENT_NAME,
|
|
12
12
|
componentName: COMPONENT_NAME
|
|
13
13
|
};
|
|
@@ -1,25 +1,24 @@
|
|
|
1
1
|
import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
|
|
2
2
|
import _createClass from "@babel/runtime/helpers/createClass";
|
|
3
|
-
import _inherits from "@babel/runtime/helpers/inherits";
|
|
4
3
|
import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
|
|
5
4
|
import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
|
|
6
|
-
|
|
5
|
+
import _inherits from "@babel/runtime/helpers/inherits";
|
|
6
|
+
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
7
7
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
8
8
|
import { Component } from 'react';
|
|
9
9
|
// eslint-disable-next-line @repo/internal/react/no-class-components
|
|
10
10
|
export var BaseErrorBoundary = /*#__PURE__*/function (_Component) {
|
|
11
|
-
_inherits(BaseErrorBoundary, _Component);
|
|
12
|
-
var _super = _createSuper(BaseErrorBoundary);
|
|
13
11
|
function BaseErrorBoundary(props) {
|
|
14
12
|
var _this;
|
|
15
13
|
_classCallCheck(this, BaseErrorBoundary);
|
|
16
|
-
_this =
|
|
14
|
+
_this = _callSuper(this, BaseErrorBoundary, [props]);
|
|
17
15
|
_this.state = {
|
|
18
16
|
hasError: false
|
|
19
17
|
};
|
|
20
18
|
return _this;
|
|
21
19
|
}
|
|
22
|
-
|
|
20
|
+
_inherits(BaseErrorBoundary, _Component);
|
|
21
|
+
return _createClass(BaseErrorBoundary, [{
|
|
23
22
|
key: "componentDidCatch",
|
|
24
23
|
value: function componentDidCatch(error, info) {
|
|
25
24
|
var onError = this.props.onError;
|
|
@@ -41,5 +40,4 @@ export var BaseErrorBoundary = /*#__PURE__*/function (_Component) {
|
|
|
41
40
|
return children;
|
|
42
41
|
}
|
|
43
42
|
}]);
|
|
44
|
-
return BaseErrorBoundary;
|
|
45
43
|
}(Component);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/link-create",
|
|
3
|
-
"version": "2.13.
|
|
3
|
+
"version": "2.13.17",
|
|
4
4
|
"description": "The driver component of meta creation flow",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"@atlaskit/atlassian-context": "^0.0.2",
|
|
39
39
|
"@atlaskit/button": "^20.3.0",
|
|
40
40
|
"@atlaskit/empty-state": "^8.0.0",
|
|
41
|
-
"@atlaskit/form": "^
|
|
41
|
+
"@atlaskit/form": "^11.0.0",
|
|
42
42
|
"@atlaskit/icon": "^23.1.0",
|
|
43
43
|
"@atlaskit/icon-file-type": "^6.8.0",
|
|
44
44
|
"@atlaskit/intl-messages-provider": "^1.0.2",
|
|
@@ -46,12 +46,12 @@
|
|
|
46
46
|
"@atlaskit/linking-common": "^6.0.0",
|
|
47
47
|
"@atlaskit/modal-dialog": "^12.18.0",
|
|
48
48
|
"@atlaskit/primitives": "^13.3.0",
|
|
49
|
-
"@atlaskit/select": "^18.
|
|
49
|
+
"@atlaskit/select": "^18.9.0",
|
|
50
50
|
"@atlaskit/smart-user-picker": "^6.11.0",
|
|
51
51
|
"@atlaskit/spinner": "^16.3.0",
|
|
52
52
|
"@atlaskit/textfield": "^6.7.0",
|
|
53
53
|
"@atlaskit/theme": "^14.0.0",
|
|
54
|
-
"@atlaskit/tokens": "^2.
|
|
54
|
+
"@atlaskit/tokens": "^2.5.0",
|
|
55
55
|
"@babel/runtime": "^7.0.0",
|
|
56
56
|
"@emotion/react": "^11.7.1",
|
|
57
57
|
"@emotion/styled": "^11.0.0",
|