@atlaskit/link-picker 1.41.0 → 1.41.2

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,23 @@
1
1
  # @atlaskit/link-picker
2
2
 
3
+ ## 1.41.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#126437](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/126437)
8
+ [`272d94f729337`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/272d94f729337) -
9
+ Updates typing of ConditionalSpotlightTargetWrapper to be compatible for React18
10
+ - Updated dependencies
11
+
12
+ ## 1.41.1
13
+
14
+ ### Patch Changes
15
+
16
+ - [#124870](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/124870)
17
+ [`6f1acda08a4f4`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6f1acda08a4f4) -
18
+ Removes internal usage of React.FC types
19
+ - Updated dependencies
20
+
3
21
  ## 1.41.0
4
22
 
5
23
  ### Minor Changes
@@ -33,7 +33,7 @@ var testIds = exports.testIds = {
33
33
  };
34
34
  var PACKAGE_DATA = exports.PACKAGE_DATA = {
35
35
  packageName: "@atlaskit/link-picker" || '',
36
- packageVersion: "1.41.0" || '',
36
+ packageVersion: "1.41.2" || '',
37
37
  componentName: _constants.COMPONENT_NAME,
38
38
  source: _constants.COMPONENT_NAME
39
39
  };
@@ -21,7 +21,7 @@ export const testIds = {
21
21
  };
22
22
  export const PACKAGE_DATA = {
23
23
  packageName: "@atlaskit/link-picker" || '',
24
- packageVersion: "1.41.0" || '',
24
+ packageVersion: "1.41.2" || '',
25
25
  componentName: COMPONENT_NAME,
26
26
  source: COMPONENT_NAME
27
27
  };
@@ -22,7 +22,7 @@ export var testIds = {
22
22
  };
23
23
  export var PACKAGE_DATA = {
24
24
  packageName: "@atlaskit/link-picker" || '',
25
- packageVersion: "1.41.0" || '',
25
+ packageVersion: "1.41.2" || '',
26
26
  componentName: COMPONENT_NAME,
27
27
  source: COMPONENT_NAME
28
28
  };
@@ -18,5 +18,5 @@ type AnnouncerProps = {
18
18
  * It can be useful for cases when the parent component re-renders with the same announcer's text. */
19
19
  delay?: number;
20
20
  };
21
- export declare const Announcer: React.FC<AnnouncerProps>;
21
+ export declare const Announcer: React.MemoExoticComponent<React.ForwardRefExoticComponent<Pick<AnnouncerProps, "text" | "role" | "delay" | "ariaAtomic" | "ariaLive" | "ariaRelevant"> & React.RefAttributes<HTMLDivElement>>>;
22
22
  export {};
@@ -1,8 +1,5 @@
1
- /**
2
- * @jsxRuntime classic
3
- * @jsx jsx
4
- */
5
- import { type FC } from 'react';
1
+ /// <reference types="react" />
2
+ import { jsx } from '@emotion/react';
6
3
  type FeatureDiscoveryProps = {
7
4
  children: React.ReactElement;
8
5
  testId?: string;
@@ -14,5 +11,5 @@ type FeatureDiscoveryProps = {
14
11
  * Cleanup ticket:
15
12
  * https://product-fabric.atlassian.net/browse/EDM-7480
16
13
  */
17
- declare const FeatureDiscovery: FC<FeatureDiscoveryProps>;
14
+ declare const FeatureDiscovery: ({ children, testId }: FeatureDiscoveryProps) => jsx.JSX.Element;
18
15
  export default FeatureDiscovery;
@@ -1,6 +1,6 @@
1
- import React, { type FunctionComponent } from 'react';
1
+ import React from 'react';
2
2
  export interface ConditionalSpotlightTargetWrapperProps {
3
3
  spotlightTargetName?: string;
4
4
  children: React.ReactElement;
5
5
  }
6
- export declare const ConditionalSpotlightTargetWrapper: FunctionComponent<ConditionalSpotlightTargetWrapperProps>;
6
+ export declare const ConditionalSpotlightTargetWrapper: ({ spotlightTargetName, children, }: ConditionalSpotlightTargetWrapperProps) => JSX.Element;
@@ -18,5 +18,5 @@ type AnnouncerProps = {
18
18
  * It can be useful for cases when the parent component re-renders with the same announcer's text. */
19
19
  delay?: number;
20
20
  };
21
- export declare const Announcer: React.FC<AnnouncerProps>;
21
+ export declare const Announcer: React.MemoExoticComponent<React.ForwardRefExoticComponent<Pick<AnnouncerProps, "text" | "role" | "delay" | "ariaAtomic" | "ariaLive" | "ariaRelevant"> & React.RefAttributes<HTMLDivElement>>>;
22
22
  export {};
@@ -1,8 +1,5 @@
1
- /**
2
- * @jsxRuntime classic
3
- * @jsx jsx
4
- */
5
- import { type FC } from 'react';
1
+ /// <reference types="react" />
2
+ import { jsx } from '@emotion/react';
6
3
  type FeatureDiscoveryProps = {
7
4
  children: React.ReactElement;
8
5
  testId?: string;
@@ -14,5 +11,5 @@ type FeatureDiscoveryProps = {
14
11
  * Cleanup ticket:
15
12
  * https://product-fabric.atlassian.net/browse/EDM-7480
16
13
  */
17
- declare const FeatureDiscovery: FC<FeatureDiscoveryProps>;
14
+ declare const FeatureDiscovery: ({ children, testId }: FeatureDiscoveryProps) => jsx.JSX.Element;
18
15
  export default FeatureDiscovery;
@@ -1,6 +1,6 @@
1
- import React, { type FunctionComponent } from 'react';
1
+ import React from 'react';
2
2
  export interface ConditionalSpotlightTargetWrapperProps {
3
3
  spotlightTargetName?: string;
4
4
  children: React.ReactElement;
5
5
  }
6
- export declare const ConditionalSpotlightTargetWrapper: FunctionComponent<ConditionalSpotlightTargetWrapperProps>;
6
+ export declare const ConditionalSpotlightTargetWrapper: ({ spotlightTargetName, children, }: ConditionalSpotlightTargetWrapperProps) => JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/link-picker",
3
- "version": "1.41.0",
3
+ "version": "1.41.2",
4
4
  "description": "Standalone link picker",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "publishConfig": {
@@ -59,9 +59,9 @@
59
59
  "@atlaskit/form": "^10.4.0",
60
60
  "@atlaskit/frontend-utilities": "^2.7.0",
61
61
  "@atlaskit/heading": "^2.4.0",
62
- "@atlaskit/icon": "^22.7.0",
62
+ "@atlaskit/icon": "^22.9.0",
63
63
  "@atlaskit/intl-messages-provider": "^1.0.2",
64
- "@atlaskit/linking-common": "^5.7.0",
64
+ "@atlaskit/linking-common": "^5.8.0",
65
65
  "@atlaskit/onboarding": "^11.10.0",
66
66
  "@atlaskit/platform-feature-flags": "^0.3.0",
67
67
  "@atlaskit/primitives": "^11.1.0",
@@ -89,8 +89,8 @@
89
89
  "@af/analytics-codegen": "^0.1.0",
90
90
  "@af/integration-testing": "*",
91
91
  "@af/visual-regression": "*",
92
- "@atlaskit/dropdown-menu": "^12.14.0",
93
- "@atlaskit/link-provider": "^1.13.0",
92
+ "@atlaskit/dropdown-menu": "^12.15.0",
93
+ "@atlaskit/link-provider": "^1.14.0",
94
94
  "@atlaskit/link-test-helpers": "^7.0.0",
95
95
  "@atlaskit/visual-regression": "*",
96
96
  "@atlassian/feature-flags-test-utils": "*",