@atlaskit/link-create 1.9.5 → 1.10.0

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,15 @@
1
1
  # @atlaskit/link-create
2
2
 
3
+ ## 1.10.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#43692](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43692) [`6f2a46c60f3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6f2a46c60f3) - NOISSUE Make undefinable ari optional in link create payload
8
+
9
+ ### Patch Changes
10
+
11
+ - [#43685](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43685) [`315e88c6400`](https://bitbucket.org/atlassian/atlassian-frontend/commits/315e88c6400) - EDM-8558: rename label of edit button to 'create + open'
12
+
3
13
  ## 1.9.5
4
14
 
5
15
  ### Patch Changes
@@ -52,6 +52,6 @@ var EditButton = exports.EditButton = function EditButton() {
52
52
  (_mutators$setField = mutators.setField) === null || _mutators$setField === void 0 || _mutators$setField.call(mutators, _constants.LINK_CREATE_FORM_POST_CREATE_FIELD, true);
53
53
  submit();
54
54
  }
55
- }, intl.formatMessage(_messages.messages.edit));
55
+ }, intl.formatMessage(_messages.messages.createAndOpen));
56
56
  });
57
57
  };
@@ -6,9 +6,9 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.messages = void 0;
7
7
  var _reactIntlNext = require("react-intl-next");
8
8
  var messages = exports.messages = (0, _reactIntlNext.defineMessages)({
9
- edit: {
10
- id: 'linkCreate.createForm.button.edit',
11
- defaultMessage: 'Edit',
12
- description: 'Button to edit the Create object'
9
+ createAndOpen: {
10
+ id: 'linkCreate.createForm.button.createAndOpen',
11
+ defaultMessage: 'Create + Open',
12
+ description: 'Button to create the object and subsequently open a screen to edit'
13
13
  }
14
14
  });
@@ -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.9.5" || '',
34
+ packageVersion: "1.10.0" || '',
35
35
  componentName: _constants.COMPONENT_NAME,
36
36
  source: _constants.COMPONENT_NAME
37
37
  };
@@ -48,5 +48,5 @@ export const EditButton = () => {
48
48
  (_mutators$setField = mutators.setField) === null || _mutators$setField === void 0 ? void 0 : _mutators$setField.call(mutators, LINK_CREATE_FORM_POST_CREATE_FIELD, true);
49
49
  submit();
50
50
  }
51
- }, intl.formatMessage(messages.edit)));
51
+ }, intl.formatMessage(messages.createAndOpen)));
52
52
  };
@@ -1,8 +1,8 @@
1
1
  import { defineMessages } from 'react-intl-next';
2
2
  export const messages = defineMessages({
3
- edit: {
4
- id: 'linkCreate.createForm.button.edit',
5
- defaultMessage: 'Edit',
6
- description: 'Button to edit the Create object'
3
+ createAndOpen: {
4
+ id: 'linkCreate.createForm.button.createAndOpen',
5
+ defaultMessage: 'Create + Open',
6
+ description: 'Button to create the object and subsequently open a screen to edit'
7
7
  }
8
8
  });
@@ -22,7 +22,7 @@ const LinkCreateWithAnalyticsContext = withLinkCreateAnalyticsContext( /*#__PURE
22
22
  }));
23
23
  export const PACKAGE_DATA = {
24
24
  packageName: "@atlaskit/link-create" || '',
25
- packageVersion: "1.9.5" || '',
25
+ packageVersion: "1.10.0" || '',
26
26
  componentName: COMPONENT_NAME,
27
27
  source: COMPONENT_NAME
28
28
  };
@@ -44,6 +44,6 @@ export var EditButton = function EditButton() {
44
44
  (_mutators$setField = mutators.setField) === null || _mutators$setField === void 0 || _mutators$setField.call(mutators, LINK_CREATE_FORM_POST_CREATE_FIELD, true);
45
45
  submit();
46
46
  }
47
- }, intl.formatMessage(messages.edit));
47
+ }, intl.formatMessage(messages.createAndOpen));
48
48
  });
49
49
  };
@@ -1,8 +1,8 @@
1
1
  import { defineMessages } from 'react-intl-next';
2
2
  export var messages = defineMessages({
3
- edit: {
4
- id: 'linkCreate.createForm.button.edit',
5
- defaultMessage: 'Edit',
6
- description: 'Button to edit the Create object'
3
+ createAndOpen: {
4
+ id: 'linkCreate.createForm.button.createAndOpen',
5
+ defaultMessage: 'Create + Open',
6
+ description: 'Button to create the object and subsequently open a screen to edit'
7
7
  }
8
8
  });
@@ -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.9.5" || '',
26
+ packageVersion: "1.10.0" || '',
27
27
  componentName: COMPONENT_NAME,
28
28
  source: COMPONENT_NAME
29
29
  };
@@ -70,7 +70,7 @@ export type CreatePayload = {
70
70
  * https://stash.atlassian.com/projects/JIRACLOUD/repos/jira-frontend/browse/src/packages/issue-create/issue-create-embed/src/ui/index.tsx
71
71
  * https://stash.atlassian.com/projects/JIRACLOUD/repos/jira-frontend/pull-requests/103587/overview?commentId=5778323
72
72
  */
73
- ari: string | undefined;
73
+ ari?: string | undefined;
74
74
  /** The object identifier for the resource created by the create plugin (for analytics) */
75
75
  objectId: string;
76
76
  /** The type of object created (for analytics) */
@@ -1,5 +1,5 @@
1
1
  export declare const messages: {
2
- edit: {
2
+ createAndOpen: {
3
3
  id: string;
4
4
  defaultMessage: string;
5
5
  description: string;
@@ -70,7 +70,7 @@ export type CreatePayload = {
70
70
  * https://stash.atlassian.com/projects/JIRACLOUD/repos/jira-frontend/browse/src/packages/issue-create/issue-create-embed/src/ui/index.tsx
71
71
  * https://stash.atlassian.com/projects/JIRACLOUD/repos/jira-frontend/pull-requests/103587/overview?commentId=5778323
72
72
  */
73
- ari: string | undefined;
73
+ ari?: string | undefined;
74
74
  /** The object identifier for the resource created by the create plugin (for analytics) */
75
75
  objectId: string;
76
76
  /** The type of object created (for analytics) */
@@ -1,5 +1,5 @@
1
1
  export declare const messages: {
2
- edit: {
2
+ createAndOpen: {
3
3
  id: string;
4
4
  defaultMessage: string;
5
5
  description: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/link-create",
3
- "version": "1.9.5",
3
+ "version": "1.10.0",
4
4
  "description": "The driver component of meta creation flow",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -40,10 +40,10 @@
40
40
  "@atlaskit/form": "^9.0.0",
41
41
  "@atlaskit/icon": "^22.0.0",
42
42
  "@atlaskit/intl-messages-provider": "^1.0.0",
43
- "@atlaskit/linking-common": "^4.18.0",
43
+ "@atlaskit/linking-common": "^4.19.0",
44
44
  "@atlaskit/modal-dialog": "^12.8.0",
45
45
  "@atlaskit/platform-feature-flags": "^0.2.1",
46
- "@atlaskit/primitives": "^1.11.0",
46
+ "@atlaskit/primitives": "^1.12.0",
47
47
  "@atlaskit/select": "^17.0.0",
48
48
  "@atlaskit/spinner": "^16.0.0",
49
49
  "@atlaskit/textfield": "^6.0.0",
package/report.api.md CHANGED
@@ -98,7 +98,7 @@ export interface CreateFormProps<FormData> {
98
98
  // @public
99
99
  export type CreatePayload = {
100
100
  url: string;
101
- ari: string | undefined;
101
+ ari?: string | undefined;
102
102
  objectId: string;
103
103
  objectType: string;
104
104
  data?: Record<string, unknown>;
@@ -61,7 +61,7 @@ export interface CreateFormProps<FormData> {
61
61
  // @public
62
62
  export type CreatePayload = {
63
63
  url: string;
64
- ari: string | undefined;
64
+ ari?: string | undefined;
65
65
  objectId: string;
66
66
  objectType: string;
67
67
  data?: Record<string, unknown>;