@atlaskit/link-picker 1.34.6 → 1.34.8

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,18 @@
1
1
  # @atlaskit/link-picker
2
2
 
3
+ ## 1.34.8
4
+
5
+ ### Patch Changes
6
+
7
+ - [#88354](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/88354) [`4c87d9b4f0c2`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4c87d9b4f0c2) - The internal composition of this component has changed. There is no expected change in behavior.
8
+ - Updated dependencies
9
+
10
+ ## 1.34.7
11
+
12
+ ### Patch Changes
13
+
14
+ - [#87202](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/87202) [`fe89dc2c3c0a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/fe89dc2c3c0a) - EDM-9608 Cleanup onSubmitCapture feature flag in link picker
15
+
3
16
  ## 1.34.6
4
17
 
5
18
  ### Patch Changes
@@ -26,7 +26,7 @@ var testIds = exports.testIds = {
26
26
  };
27
27
  var PACKAGE_DATA = exports.PACKAGE_DATA = {
28
28
  packageName: "@atlaskit/link-picker" || '',
29
- packageVersion: "1.34.6" || '',
29
+ packageVersion: "1.34.8" || '',
30
30
  componentName: _constants.COMPONENT_NAME,
31
31
  source: _constants.COMPONENT_NAME
32
32
  };
@@ -315,10 +315,9 @@ var LinkPicker = exports.LinkPicker = (0, _analytics.withLinkPickerAnalyticsCont
315
315
  return (0, _react2.jsx)("form", {
316
316
  "data-testid": testIds.linkPicker,
317
317
  css: _styled.rootContainerStyles
318
- // Use onSubmitCapture instead of onSubmit when FF enabled so that any possible parent form isn't submitted
318
+ // Use onSubmitCapture instead of onSubmit so that any possible parent form isn't submitted
319
319
  ,
320
- onSubmit: (0, _platformFeatureFlags.getBooleanFF)('platform.linking-platform.link-picker.use-onsubmitcapture') ? undefined : handleSubmit,
321
- onSubmitCapture: (0, _platformFeatureFlags.getBooleanFF)('platform.linking-platform.link-picker.use-onsubmitcapture') ? handleSubmit : undefined
320
+ onSubmitCapture: handleSubmit
322
321
  }, (0, _react2.jsx)(_trackMount.TrackMount, null), isActivePlugin && screenReaderText && (0, _react2.jsx)(_react.Fragment, null, (0, _react2.jsx)(_announcer.Announcer, {
323
322
  ariaLive: "assertive",
324
323
  text: screenReaderText,
@@ -16,7 +16,7 @@ export const testIds = {
16
16
  };
17
17
  export const PACKAGE_DATA = {
18
18
  packageName: "@atlaskit/link-picker" || '',
19
- packageVersion: "1.34.6" || '',
19
+ packageVersion: "1.34.8" || '',
20
20
  componentName: COMPONENT_NAME,
21
21
  source: COMPONENT_NAME
22
22
  };
@@ -315,10 +315,9 @@ export const LinkPicker = withLinkPickerAnalyticsContext( /*#__PURE__*/memo(({
315
315
  return jsx("form", {
316
316
  "data-testid": testIds.linkPicker,
317
317
  css: rootContainerStyles
318
- // Use onSubmitCapture instead of onSubmit when FF enabled so that any possible parent form isn't submitted
318
+ // Use onSubmitCapture instead of onSubmit so that any possible parent form isn't submitted
319
319
  ,
320
- onSubmit: getBooleanFF('platform.linking-platform.link-picker.use-onsubmitcapture') ? undefined : handleSubmit,
321
- onSubmitCapture: getBooleanFF('platform.linking-platform.link-picker.use-onsubmitcapture') ? handleSubmit : undefined
320
+ onSubmitCapture: handleSubmit
322
321
  }, jsx(TrackMount, null), isActivePlugin && screenReaderText && jsx(Fragment, null, jsx(Announcer, {
323
322
  ariaLive: "assertive",
324
323
  text: screenReaderText,
@@ -17,7 +17,7 @@ export var testIds = {
17
17
  };
18
18
  export var PACKAGE_DATA = {
19
19
  packageName: "@atlaskit/link-picker" || '',
20
- packageVersion: "1.34.6" || '',
20
+ packageVersion: "1.34.8" || '',
21
21
  componentName: COMPONENT_NAME,
22
22
  source: COMPONENT_NAME
23
23
  };
@@ -309,10 +309,9 @@ export var LinkPicker = withLinkPickerAnalyticsContext( /*#__PURE__*/memo(functi
309
309
  return jsx("form", {
310
310
  "data-testid": testIds.linkPicker,
311
311
  css: rootContainerStyles
312
- // Use onSubmitCapture instead of onSubmit when FF enabled so that any possible parent form isn't submitted
312
+ // Use onSubmitCapture instead of onSubmit so that any possible parent form isn't submitted
313
313
  ,
314
- onSubmit: getBooleanFF('platform.linking-platform.link-picker.use-onsubmitcapture') ? undefined : handleSubmit,
315
- onSubmitCapture: getBooleanFF('platform.linking-platform.link-picker.use-onsubmitcapture') ? handleSubmit : undefined
314
+ onSubmitCapture: handleSubmit
316
315
  }, jsx(TrackMount, null), isActivePlugin && screenReaderText && jsx(Fragment, null, jsx(Announcer, {
317
316
  ariaLive: "assertive",
318
317
  text: screenReaderText,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/link-picker",
3
- "version": "1.34.6",
3
+ "version": "1.34.8",
4
4
  "description": "Standalone link picker",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "publishConfig": {
@@ -47,22 +47,18 @@
47
47
  "platform.linking-platform.link-picker.enable-jira-create": {
48
48
  "type": "boolean"
49
49
  },
50
- "platform.linking-platform.link-picker.use-onsubmitcapture": {
51
- "type": "boolean"
52
- },
53
50
  "platform.linking-platform.link-picker.remove-dst-empty-state": {
54
51
  "type": "boolean"
55
52
  }
56
53
  },
57
54
  "scripts": {
58
- "ak-postbuild": "ls -d dist/* | grep -v dist/types | xargs -n 1 copyfiles -u 1 -V src/**/*.svg",
59
55
  "codegen-analytics": "yarn run ts-analytics-codegen --command='yarn workspace @atlaskit/link-picker run codegen-analytics'"
60
56
  },
61
57
  "dependencies": {
62
58
  "@atlaskit/analytics-next": "^9.2.0",
63
- "@atlaskit/button": "^17.7.0",
59
+ "@atlaskit/button": "^17.11.0",
64
60
  "@atlaskit/empty-state": "^7.7.0",
65
- "@atlaskit/form": "^9.0.3",
61
+ "@atlaskit/form": "^9.1.0",
66
62
  "@atlaskit/frontend-utilities": "^2.7.0",
67
63
  "@atlaskit/heading": "^2.1.0",
68
64
  "@atlaskit/icon": "^22.1.0",
@@ -70,12 +66,12 @@
70
66
  "@atlaskit/linking-common": "^5.6.0",
71
67
  "@atlaskit/onboarding": "^11.2.0",
72
68
  "@atlaskit/platform-feature-flags": "^0.2.1",
73
- "@atlaskit/primitives": "^5.1.0",
69
+ "@atlaskit/primitives": "^5.5.0",
74
70
  "@atlaskit/spinner": "^16.0.0",
75
71
  "@atlaskit/tabs": "^14.0.0",
76
72
  "@atlaskit/textfield": "^6.1.0",
77
- "@atlaskit/theme": "^12.6.0",
78
- "@atlaskit/tokens": "^1.42.0",
73
+ "@atlaskit/theme": "^12.7.0",
74
+ "@atlaskit/tokens": "^1.43.0",
79
75
  "@atlaskit/tooltip": "^18.1.0",
80
76
  "@atlaskit/ufo": "^0.2.0",
81
77
  "@atlaskit/visually-hidden": "^1.2.0",