@atlaskit/link-create 6.0.2 → 6.1.1

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,29 @@
1
1
  # @atlaskit/link-create
2
2
 
3
+ ## 6.1.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 6.1.0
10
+
11
+ ### Minor Changes
12
+
13
+ - [`cd097a2111788`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/cd097a2111788) -
14
+ Republish packages depending on `@atlaskit/react-compiler-gating` so their published dependency
15
+ reference is updated to the renamed `@atlaskit/react-compiler-gating` scope.
16
+
17
+ The earlier rename of `@atlassian/react-compiler-gating` to `@atlaskit/react-compiler-gating` only
18
+ bumped the renamed package itself, so dependent packages were never republished and their
19
+ published versions still referenced the old `@atlassian/react-compiler-gating` name, which is not
20
+ available in the public npm registry. This minor bump republishes all affected packages with the
21
+ corrected dependency.
22
+
23
+ ### Patch Changes
24
+
25
+ - Updated dependencies
26
+
3
27
  ## 6.0.2
4
28
 
5
29
  ### Patch Changes
@@ -11,7 +35,7 @@
11
35
  ### Patch Changes
12
36
 
13
37
  - [`ee28cf33718b0`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/ee28cf33718b0) -
14
- Add @atlassian/react-compiler-gating as a runtime dependency to enable React Compiler platform
38
+ Add @atlaskit/react-compiler-gating as a runtime dependency to enable React Compiler platform
15
39
  gating.
16
40
  - Updated dependencies
17
41
 
package/compass.yml CHANGED
@@ -1,37 +1,42 @@
1
1
  name: Link Create
2
- id: 'ari:cloud:compass:a436116f-02ce-4520-8fbb-7301462a1674:component/c5751cc6-3513-4070-9deb-af31e86aed34/7176b5ef-2e54-4ab7-9607-b37d013abc41'
2
+ id: ari:cloud:compass:a436116f-02ce-4520-8fbb-7301462a1674:component/c5751cc6-3513-4070-9deb-af31e86aed34/7176b5ef-2e54-4ab7-9607-b37d013abc41
3
3
  description:
4
4
  Link Create is a funcitonality within Atlassian's ecosystem designed to streamline the process of
5
5
  creating Jira & Confluence links across all Atlassian products.
6
6
  configVersion: 1
7
7
  typeId: CAPABILITY
8
- ownerId: 'ari:cloud:identity::team/0e6dedf8-18d1-4531-b4b9-07648a425d47'
8
+ ownerId: ari:cloud:identity::team/0e6dedf8-18d1-4531-b4b9-07648a425d47 # Eng - Navigation Experiences (Darko Zoroja)
9
9
  fields:
10
- isMonorepoProject: false
11
10
  tier: 4
12
11
  lifecycle: Active
12
+ isMonorepoProject: false
13
13
  links:
14
14
  - name: Root Repository
15
15
  type: REPOSITORY
16
16
  url: https://bitbucket.org/atlassian/atlassian-frontend-monorepo/src/master
17
17
  - name: SignalFx - Link Create
18
18
  type: DASHBOARD
19
- url: 'https://atlassian.signalfx.com/#/dashboard/Fw3wdDxA0AE?groupId=Fcva05QA4AA&configId=Fw3wdQCAwAA&startTime=-1d&endTime=Now'
19
+ url: https://atlassian.signalfx.com/#/dashboard/Fw3wdDxA0AE?groupId=Fcva05QA4AA&configId=Fw3wdQCAwAA&startTime=-1d&endTime=Now
20
20
  - name: ''
21
21
  type: PROJECT
22
- url: 'https://hello.jira.atlassian.cloud/jira/software/projects/NAVX/boards/14605'
22
+ url: https://hello.jira.atlassian.cloud/jira/software/projects/NAVX/boards/14605
23
23
  - name: ''
24
24
  type: CHAT_CHANNEL
25
- url: 'https://atlassian.enterprise.slack.com/archives/C09FTFN0APN'
25
+ url: https://atlassian.enterprise.slack.com/archives/C09FTFN0APN # #help-fe-linking-platform
26
26
  - name: ''
27
27
  type: ON_CALL
28
- url: 'https://hello.jira.atlassian.cloud/jira/ops/teams/0e6dedf8-18d1-4531-b4b9-07648a425d47/on-call'
28
+ url: https://hello.jira.atlassian.cloud/jira/ops/teams/0e6dedf8-18d1-4531-b4b9-07648a425d47/on-call
29
+ - name: Slack Channel
30
+ type: CHAT_CHANNEL
31
+ url: https://atlassian.enterprise.slack.com/archives/CFKGAQZRV # #help-fe-linking-platform
32
+ - name: Link Create
33
+ type: REPOSITORY
34
+ url: https://bitbucket.org/atlassian/atlassian-frontend-monorepo/src/master/platform/packages/linking-platform/link-create
29
35
  relationships: null
30
- labels: null
36
+ labels:
37
+ - platform-code
38
+ - platform-afm
31
39
  customFields:
32
- - name: Anomaly-Detection
33
- type: text
34
- value: null
35
40
  - name: Compass Config-as-Code
36
41
  type: boolean
37
42
  value: true
@@ -41,43 +46,28 @@ customFields:
41
46
  - 6abcbe4f-1063-4cf7-8b32-58ebd01078da
42
47
  - name: Engineering Manager
43
48
  type: user
44
- value: 'ari:cloud:identity::user/712020:3eb290b3-ff87-40f2-a7ef-4ee9d0ae10bd'
45
- - name: FFP per month
46
- type: number
47
- value: null
49
+ value: ari:cloud:identity::user/712020:3eb290b3-ff87-40f2-a7ef-4ee9d0ae10bd
48
50
  - name: Is renovate enabled?
49
51
  type: boolean
50
52
  value: false
51
- - name: Lineage
52
- type: text
53
- value: null
54
- - name: Maintenance Time (hours/week)
55
- type: number
56
- value: null
57
53
  - name: Owner or Team Name
58
54
  type: single_select
59
- value: 1e93a963-fa64-4c3a-aebb-cc835e418a0a # This means Yes
60
- - name: Perimeter
61
- type: single_select
62
- value: null
63
- - name: Perimeter (string)
64
- type: text
65
- value: null
66
- - name: Product Owner
67
- type: user
68
- value: null
69
- - name: Tech Debt
70
- type: text
71
- value: null
55
+ value: 1e93a963-fa64-4c3a-aebb-cc835e418a0a
72
56
  - name: Technical Owner
73
57
  type: user
74
- value: null
58
+ value: ari:cloud:identity::user/712020:3eb290b3-ff87-40f2-a7ef-4ee9d0ae10bd # Darko Zoroja
75
59
  - name: anomaly-detection
76
60
  type: boolean
77
61
  value: false
78
- - name: forge_runtime_node
79
- type: single_select
80
- value: null
81
- - name: statsig_target_application
62
+ - name: Department
82
63
  type: text
83
- value: null
64
+ value: Eng - Navigation Experiences
65
+ - name: Required Reviewers Opt In
66
+ type: boolean
67
+ value: true
68
+ - name: Reviewer Selection Mechanism
69
+ type: text
70
+ value: random(2)
71
+ - name: Required Reviewer Approvals
72
+ type: number
73
+ value: 1
@@ -16,7 +16,7 @@ var CREATE_FORM_MIN_HEIGHT_IN_PX = exports.CREATE_FORM_MIN_HEIGHT_IN_PX = '200';
16
16
  var LINK_CREATE_FORM_POST_CREATE_FIELD = exports.LINK_CREATE_FORM_POST_CREATE_FIELD = '__post_create__';
17
17
  var PACKAGE_DATA = exports.PACKAGE_DATA = {
18
18
  packageName: "@atlaskit/link-create" || '',
19
- packageVersion: "6.0.1" || '',
19
+ packageVersion: "6.1.0" || '',
20
20
  component: COMPONENT_NAME,
21
21
  componentName: COMPONENT_NAME
22
22
  };
@@ -10,7 +10,7 @@ export const CREATE_FORM_MIN_HEIGHT_IN_PX = '200';
10
10
  export const LINK_CREATE_FORM_POST_CREATE_FIELD = '__post_create__';
11
11
  export const PACKAGE_DATA = {
12
12
  packageName: "@atlaskit/link-create" || '',
13
- packageVersion: "6.0.1" || '',
13
+ packageVersion: "6.1.0" || '',
14
14
  component: COMPONENT_NAME,
15
15
  componentName: COMPONENT_NAME
16
16
  };
@@ -10,7 +10,7 @@ export var CREATE_FORM_MIN_HEIGHT_IN_PX = '200';
10
10
  export var LINK_CREATE_FORM_POST_CREATE_FIELD = '__post_create__';
11
11
  export var PACKAGE_DATA = {
12
12
  packageName: "@atlaskit/link-create" || '',
13
- packageVersion: "6.0.1" || '',
13
+ packageVersion: "6.1.0" || '',
14
14
  component: COMPONENT_NAME,
15
15
  componentName: COMPONENT_NAME
16
16
  };
@@ -258,90 +258,90 @@ const documentation: StructuredContentSource = {
258
258
  examples: [],
259
259
  },
260
260
  {
261
- name: 'useLinkCreateCallback',
261
+ name: 'LinkCreateExitWarningProvider',
262
262
  description:
263
- 'Hook that returns the link-create callback from LinkCreateCallbackProvider. Use to trigger or react to create success from child components.',
263
+ 'Provider that enables an exit-confirmation when the user tries to leave the create flow with unsaved changes. Uses ExitWarningModalProvider internally.',
264
264
  status: 'general-availability',
265
265
  import: {
266
- name: 'useLinkCreateCallback',
266
+ name: 'LinkCreateExitWarningProvider',
267
267
  package: '@atlaskit/link-create',
268
268
  type: 'named',
269
269
  packagePath,
270
270
  packageJson,
271
271
  },
272
272
  usageGuidelines: [
273
- 'Use inside a plugin or child of LinkCreateCallbackProvider when you need access to the create-success callback.',
273
+ 'Wrap the create flow when you want to warn users before closing or navigating away with unsaved form data.',
274
274
  ],
275
275
  contentGuidelines: [],
276
- accessibilityGuidelines: [],
277
- keywords: ['link-create', 'hooks', 'callback', 'useLinkCreateCallback'],
278
- categories: ['linking', 'forms'],
276
+ accessibilityGuidelines: [
277
+ 'Ensure the exit warning modal is focusable and has an accessible title and actions.',
278
+ ],
279
+ keywords: ['link-create', 'exit', 'warning', 'provider', 'unsaved'],
280
+ categories: ['linking', 'forms', 'interaction'],
279
281
  examples: [],
280
282
  },
281
283
  {
282
- name: 'LinkCreateExitWarningProvider',
284
+ name: 'CreateField',
283
285
  description:
284
- 'Provider that enables an exit-confirmation when the user tries to leave the create flow with unsaved changes. Uses ExitWarningModalProvider internally.',
286
+ 'Controller component that connects a form field to the create form state (name, validation, value). Use to build custom fields that participate in CreateForm.',
285
287
  status: 'general-availability',
286
288
  import: {
287
- name: 'LinkCreateExitWarningProvider',
289
+ name: 'CreateField',
288
290
  package: '@atlaskit/link-create',
289
291
  type: 'named',
290
292
  packagePath,
291
293
  packageJson,
292
294
  },
293
295
  usageGuidelines: [
294
- 'Wrap the create flow when you want to warn users before closing or navigating away with unsaved form data.',
296
+ 'Use when building a custom form field (e.g. custom select, date picker) that must be part of the create form validation and submit payload.',
295
297
  ],
296
298
  contentGuidelines: [],
297
299
  accessibilityGuidelines: [
298
- 'Ensure the exit warning modal is focusable and has an accessible title and actions.',
300
+ 'Ensure the rendered control has an accessible name and that validation errors are associated (e.g. aria-describedby).',
299
301
  ],
300
- keywords: ['link-create', 'exit', 'warning', 'provider', 'unsaved'],
301
- categories: ['linking', 'forms', 'interaction'],
302
+ keywords: ['link-create', 'form', 'field', 'CreateField'],
303
+ categories: ['linking', 'forms'],
302
304
  examples: [],
303
305
  },
306
+ ],
307
+ hooks: [
304
308
  {
305
- name: 'useWithExitWarning',
309
+ name: 'useLinkCreateCallback',
306
310
  description:
307
- 'Hook that wires the current form or flow into the exit-warning behavior. Use when building custom create UI that should trigger the exit warning.',
311
+ 'Hook that returns the link-create callback from LinkCreateCallbackProvider. Use to trigger or react to create success from child components.',
308
312
  status: 'general-availability',
309
313
  import: {
310
- name: 'useWithExitWarning',
314
+ name: 'useLinkCreateCallback',
311
315
  package: '@atlaskit/link-create',
312
316
  type: 'named',
313
317
  packagePath,
314
318
  packageJson,
315
319
  },
316
320
  usageGuidelines: [
317
- 'Use inside a component wrapped by LinkCreateExitWarningProvider when you need to register dirty state or trigger the exit warning modal.',
321
+ 'Use inside a plugin or child of LinkCreateCallbackProvider when you need access to the create-success callback.',
318
322
  ],
319
- contentGuidelines: [],
320
323
  accessibilityGuidelines: [],
321
- keywords: ['link-create', 'hooks', 'exit', 'warning', 'useWithExitWarning'],
324
+ keywords: ['link-create', 'hooks', 'callback', 'useLinkCreateCallback'],
322
325
  categories: ['linking', 'forms'],
323
326
  examples: [],
324
327
  },
325
328
  {
326
- name: 'CreateField',
329
+ name: 'useWithExitWarning',
327
330
  description:
328
- 'Controller component that connects a form field to the create form state (name, validation, value). Use to build custom fields that participate in CreateForm.',
331
+ 'Hook that wires the current form or flow into the exit-warning behavior. Use when building custom create UI that should trigger the exit warning.',
329
332
  status: 'general-availability',
330
333
  import: {
331
- name: 'CreateField',
334
+ name: 'useWithExitWarning',
332
335
  package: '@atlaskit/link-create',
333
336
  type: 'named',
334
337
  packagePath,
335
338
  packageJson,
336
339
  },
337
340
  usageGuidelines: [
338
- 'Use when building a custom form field (e.g. custom select, date picker) that must be part of the create form validation and submit payload.',
339
- ],
340
- contentGuidelines: [],
341
- accessibilityGuidelines: [
342
- 'Ensure the rendered control has an accessible name and that validation errors are associated (e.g. aria-describedby).',
341
+ 'Use inside a component wrapped by LinkCreateExitWarningProvider when you need to register dirty state or trigger the exit warning modal.',
343
342
  ],
344
- keywords: ['link-create', 'form', 'field', 'CreateField'],
343
+ accessibilityGuidelines: [],
344
+ keywords: ['link-create', 'hooks', 'exit', 'warning', 'useWithExitWarning'],
345
345
  categories: ['linking', 'forms'],
346
346
  examples: [],
347
347
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/link-create",
3
- "version": "6.0.2",
3
+ "version": "6.1.1",
4
4
  "description": "The driver component of meta creation flow",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -11,7 +11,7 @@
11
11
  "react-compiler": {
12
12
  "enabled": true,
13
13
  "gating": {
14
- "source": "@atlassian/react-compiler-gating",
14
+ "source": "@atlaskit/react-compiler-gating",
15
15
  "importSpecifierName": "isReactCompilerActivePlatform"
16
16
  }
17
17
  },
@@ -32,28 +32,28 @@
32
32
  "atlaskit:src": "src/index.ts",
33
33
  "dependencies": {
34
34
  "@atlaskit/afm-i18n-platform-linking-platform-link-create": "2.7.0",
35
- "@atlaskit/analytics-next": "^12.0.0",
35
+ "@atlaskit/analytics-next": "^12.2.0",
36
36
  "@atlaskit/atlassian-context": "^1.0.0",
37
- "@atlaskit/button": "^24.1.0",
37
+ "@atlaskit/button": "^24.3.0",
38
38
  "@atlaskit/css": "^1.0.0",
39
- "@atlaskit/empty-state": "^11.0.0",
40
- "@atlaskit/form": "^16.0.0",
41
- "@atlaskit/icon": "^36.0.0",
42
- "@atlaskit/icon-file-type": "^8.0.0",
43
- "@atlaskit/intl-messages-provider": "^4.0.0",
44
- "@atlaskit/link": "^4.0.0",
39
+ "@atlaskit/empty-state": "^11.1.0",
40
+ "@atlaskit/form": "^16.1.0",
41
+ "@atlaskit/icon": "^37.0.0",
42
+ "@atlaskit/icon-file-type": "^8.1.0",
43
+ "@atlaskit/intl-messages-provider": "^4.1.0",
44
+ "@atlaskit/link": "^4.1.0",
45
45
  "@atlaskit/linking-common": "^11.0.0",
46
- "@atlaskit/modal-dialog": "^16.0.0",
47
- "@atlaskit/object": "^2.0.0",
46
+ "@atlaskit/modal-dialog": "^16.1.0",
47
+ "@atlaskit/object": "^2.2.0",
48
48
  "@atlaskit/platform-feature-flags": "^2.0.0",
49
- "@atlaskit/primitives": "^20.0.0",
50
- "@atlaskit/select": "^22.1.0",
49
+ "@atlaskit/primitives": "^20.5.0",
50
+ "@atlaskit/react-compiler-gating": "^0.2.0",
51
+ "@atlaskit/select": "^22.5.0",
51
52
  "@atlaskit/smart-user-picker": "^11.0.0",
52
- "@atlaskit/spinner": "^20.0.0",
53
- "@atlaskit/textfield": "^9.0.0",
54
- "@atlaskit/theme": "^26.0.0",
55
- "@atlaskit/tokens": "^15.0.0",
56
- "@atlassian/react-compiler-gating": "^0.2.0",
53
+ "@atlaskit/spinner": "^20.1.0",
54
+ "@atlaskit/textfield": "^9.1.0",
55
+ "@atlaskit/theme": "^26.1.0",
56
+ "@atlaskit/tokens": "^15.5.0",
57
57
  "@babel/runtime": "^7.0.0",
58
58
  "@compiled/react": "^0.20.0",
59
59
  "debounce-promise": "^3.1.2",
@@ -68,11 +68,11 @@
68
68
  "@af/accessibility-testing": "workspace:^",
69
69
  "@af/integration-testing": "workspace:^",
70
70
  "@af/visual-regression": "workspace:^",
71
- "@atlaskit/drawer": "^13.0.0",
71
+ "@atlaskit/drawer": "^13.3.0",
72
72
  "@atlaskit/link-test-helpers": "^11.0.0",
73
- "@atlaskit/popup": "^5.0.0",
74
- "@atlassian/a11y-jest-testing": "^0.12.0",
75
- "@atlassian/feature-flags-test-utils": "^1.1.0",
73
+ "@atlaskit/popup": "^5.1.0",
74
+ "@atlassian/a11y-jest-testing": "^0.13.0",
75
+ "@atlassian/feature-flags-test-utils": "^1.2.0",
76
76
  "@atlassian/structured-docs-types": "workspace:^",
77
77
  "@testing-library/react": "^16.3.0",
78
78
  "@testing-library/user-event": "^14.4.3",