@atlaskit/link-create 1.11.2 → 1.11.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 +13 -0
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/ui/main.js +1 -1
- package/dist/es2019/index.js +2 -2
- package/dist/es2019/ui/main.js +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/ui/main.js +1 -1
- package/dist/types/common/types.d.ts +11 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types-ts4.5/common/types.d.ts +11 -1
- package/dist/types-ts4.5/index.d.ts +1 -1
- package/package.json +8 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @atlaskit/link-create
|
|
2
2
|
|
|
3
|
+
## 1.11.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#60029](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/60029) [`b9826ea49c47`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b9826ea49c47) - Update dependencies that were impacted by HOT-106483 to latest.
|
|
8
|
+
|
|
9
|
+
## 1.11.3
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#57917](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/57917) [`61a45bf00e72`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/61a45bf00e72) - Enrol @atlaskit/link-create to push model in Jira Frontend.
|
|
14
|
+
- Updated dependencies
|
|
15
|
+
|
|
3
16
|
## 1.11.2
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
package/dist/cjs/index.js
CHANGED
|
@@ -64,8 +64,8 @@ Object.defineProperty(exports, "useLinkCreateCallback", {
|
|
|
64
64
|
return _callbackContext.useLinkCreateCallback;
|
|
65
65
|
}
|
|
66
66
|
});
|
|
67
|
-
var _finalForm = require("final-form");
|
|
68
67
|
var _index = _interopRequireWildcard(require("./ui/index"));
|
|
69
68
|
var _callbackContext = require("./controllers/callback-context");
|
|
69
|
+
var _finalForm = require("final-form");
|
|
70
70
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
71
71
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
package/dist/cjs/ui/main.js
CHANGED
|
@@ -31,7 +31,7 @@ var LinkCreateWithAnalyticsContext = (0, _analytics.withLinkCreateAnalyticsConte
|
|
|
31
31
|
}));
|
|
32
32
|
var PACKAGE_DATA = exports.PACKAGE_DATA = {
|
|
33
33
|
packageName: "@atlaskit/link-create" || '',
|
|
34
|
-
packageVersion: "1.11.
|
|
34
|
+
packageVersion: "1.11.4" || '',
|
|
35
35
|
component: _constants.COMPONENT_NAME,
|
|
36
36
|
componentName: _constants.COMPONENT_NAME
|
|
37
37
|
};
|
package/dist/es2019/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { FORM_ERROR } from 'final-form';
|
|
2
1
|
export { default, TextField, CreateForm, Select, AsyncSelect, CreateFormLoader, FormSpy } from './ui/index';
|
|
3
|
-
export { useLinkCreateCallback, LinkCreateCallbackProvider } from './controllers/callback-context';
|
|
2
|
+
export { useLinkCreateCallback, LinkCreateCallbackProvider } from './controllers/callback-context';
|
|
3
|
+
export { FORM_ERROR } from 'final-form';
|
package/dist/es2019/ui/main.js
CHANGED
|
@@ -23,7 +23,7 @@ const LinkCreateWithAnalyticsContext = withLinkCreateAnalyticsContext( /*#__PURE
|
|
|
23
23
|
}));
|
|
24
24
|
export const PACKAGE_DATA = {
|
|
25
25
|
packageName: "@atlaskit/link-create" || '',
|
|
26
|
-
packageVersion: "1.11.
|
|
26
|
+
packageVersion: "1.11.4" || '',
|
|
27
27
|
component: COMPONENT_NAME,
|
|
28
28
|
componentName: COMPONENT_NAME
|
|
29
29
|
};
|
package/dist/esm/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { FORM_ERROR } from 'final-form';
|
|
2
1
|
export { default, TextField, CreateForm, Select, AsyncSelect, CreateFormLoader, FormSpy } from './ui/index';
|
|
3
|
-
export { useLinkCreateCallback, LinkCreateCallbackProvider } from './controllers/callback-context';
|
|
2
|
+
export { useLinkCreateCallback, LinkCreateCallbackProvider } from './controllers/callback-context';
|
|
3
|
+
export { FORM_ERROR } from 'final-form';
|
package/dist/esm/ui/main.js
CHANGED
|
@@ -23,7 +23,7 @@ var LinkCreateWithAnalyticsContext = withLinkCreateAnalyticsContext( /*#__PURE__
|
|
|
23
23
|
}));
|
|
24
24
|
export var PACKAGE_DATA = {
|
|
25
25
|
packageName: "@atlaskit/link-create" || '',
|
|
26
|
-
packageVersion: "1.11.
|
|
26
|
+
packageVersion: "1.11.4" || '',
|
|
27
27
|
component: COMPONENT_NAME,
|
|
28
28
|
componentName: COMPONENT_NAME
|
|
29
29
|
};
|
|
@@ -122,7 +122,7 @@ export interface LinkCreateProps {
|
|
|
122
122
|
*/
|
|
123
123
|
triggeredFrom?: string;
|
|
124
124
|
}
|
|
125
|
-
export interface LinkCreateWithModalProps extends LinkCreateProps
|
|
125
|
+
export interface LinkCreateWithModalProps extends LinkCreateProps {
|
|
126
126
|
/**
|
|
127
127
|
* This value controls whether the Create Modal should be active or hidden
|
|
128
128
|
* Default: false
|
|
@@ -133,4 +133,14 @@ export interface LinkCreateWithModalProps extends LinkCreateProps, Partial<Pick<
|
|
|
133
133
|
* Default: Create new
|
|
134
134
|
*/
|
|
135
135
|
modalTitle?: string;
|
|
136
|
+
/**
|
|
137
|
+
* Callback function called when the final link create experience dialog has finished closing.
|
|
138
|
+
* @see {@link https://atlassian.design/components/modal-dialog/code#ModalWrapper-onCloseComplete}
|
|
139
|
+
*/
|
|
140
|
+
onCloseComplete?: ModalDialogProps['onCloseComplete'];
|
|
141
|
+
/**
|
|
142
|
+
* Callback function called when the link create experience dialog has finished opening.
|
|
143
|
+
* @see {@link https://atlassian.design/components/modal-dialog/code#ModalWrapper-onOpenComplete}
|
|
144
|
+
*/
|
|
145
|
+
onOpenComplete?: ModalDialogProps['onOpenComplete'];
|
|
136
146
|
}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { FORM_ERROR } from 'final-form';
|
|
2
1
|
export type { CreateFormProps } from './ui/index';
|
|
3
2
|
export type { LinkCreateProps, LinkCreatePlugin, LinkCreateWithModalProps, CreatePayload, EditViewProps, } from './common/types';
|
|
4
3
|
export { default, TextField, CreateForm, Select, AsyncSelect, CreateFormLoader, FormSpy, } from './ui/index';
|
|
5
4
|
export { useLinkCreateCallback, LinkCreateCallbackProvider, } from './controllers/callback-context';
|
|
6
5
|
export type { Validator, ValidatorMap } from './common/types';
|
|
6
|
+
export { FORM_ERROR } from 'final-form';
|
|
@@ -122,7 +122,7 @@ export interface LinkCreateProps {
|
|
|
122
122
|
*/
|
|
123
123
|
triggeredFrom?: string;
|
|
124
124
|
}
|
|
125
|
-
export interface LinkCreateWithModalProps extends LinkCreateProps
|
|
125
|
+
export interface LinkCreateWithModalProps extends LinkCreateProps {
|
|
126
126
|
/**
|
|
127
127
|
* This value controls whether the Create Modal should be active or hidden
|
|
128
128
|
* Default: false
|
|
@@ -133,4 +133,14 @@ export interface LinkCreateWithModalProps extends LinkCreateProps, Partial<Pick<
|
|
|
133
133
|
* Default: Create new
|
|
134
134
|
*/
|
|
135
135
|
modalTitle?: string;
|
|
136
|
+
/**
|
|
137
|
+
* Callback function called when the final link create experience dialog has finished closing.
|
|
138
|
+
* @see {@link https://atlassian.design/components/modal-dialog/code#ModalWrapper-onCloseComplete}
|
|
139
|
+
*/
|
|
140
|
+
onCloseComplete?: ModalDialogProps['onCloseComplete'];
|
|
141
|
+
/**
|
|
142
|
+
* Callback function called when the link create experience dialog has finished opening.
|
|
143
|
+
* @see {@link https://atlassian.design/components/modal-dialog/code#ModalWrapper-onOpenComplete}
|
|
144
|
+
*/
|
|
145
|
+
onOpenComplete?: ModalDialogProps['onOpenComplete'];
|
|
136
146
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { FORM_ERROR } from 'final-form';
|
|
2
1
|
export type { CreateFormProps } from './ui/index';
|
|
3
2
|
export type { LinkCreateProps, LinkCreatePlugin, LinkCreateWithModalProps, CreatePayload, EditViewProps, } from './common/types';
|
|
4
3
|
export { default, TextField, CreateForm, Select, AsyncSelect, CreateFormLoader, FormSpy, } from './ui/index';
|
|
5
4
|
export { useLinkCreateCallback, LinkCreateCallbackProvider, } from './controllers/callback-context';
|
|
6
5
|
export type { Validator, ValidatorMap } from './common/types';
|
|
6
|
+
export { FORM_ERROR } from 'final-form';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/link-create",
|
|
3
|
-
"version": "1.11.
|
|
3
|
+
"version": "1.11.4",
|
|
4
4
|
"description": "The driver component of meta creation flow",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -11,6 +11,9 @@
|
|
|
11
11
|
"team": "Linking Platform",
|
|
12
12
|
"inPublicMirror": false,
|
|
13
13
|
"releaseModel": "continuous",
|
|
14
|
+
"productPushConsumption": [
|
|
15
|
+
"jira"
|
|
16
|
+
],
|
|
14
17
|
"website": {
|
|
15
18
|
"name": "LinkCreate"
|
|
16
19
|
}
|
|
@@ -35,16 +38,16 @@
|
|
|
35
38
|
},
|
|
36
39
|
"dependencies": {
|
|
37
40
|
"@atlaskit/analytics-next": "^9.1.0",
|
|
38
|
-
"@atlaskit/button": "^16.
|
|
41
|
+
"@atlaskit/button": "^16.18.0",
|
|
39
42
|
"@atlaskit/empty-state": "^7.6.0",
|
|
40
|
-
"@atlaskit/form": "^9.0.
|
|
43
|
+
"@atlaskit/form": "^9.0.3",
|
|
41
44
|
"@atlaskit/icon": "^22.0.0",
|
|
42
45
|
"@atlaskit/intl-messages-provider": "^1.0.0",
|
|
43
46
|
"@atlaskit/linking-common": "^4.21.0",
|
|
44
|
-
"@atlaskit/modal-dialog": "^12.
|
|
47
|
+
"@atlaskit/modal-dialog": "^12.10.0",
|
|
45
48
|
"@atlaskit/platform-feature-flags": "^0.2.1",
|
|
46
49
|
"@atlaskit/primitives": "^1.13.0",
|
|
47
|
-
"@atlaskit/select": "^17.0.
|
|
50
|
+
"@atlaskit/select": "^17.0.3",
|
|
48
51
|
"@atlaskit/spinner": "^16.0.0",
|
|
49
52
|
"@atlaskit/textfield": "^6.0.0",
|
|
50
53
|
"@atlaskit/tokens": "^1.29.0",
|