@atlaskit/link-picker 1.41.0 → 1.41.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,14 @@
1
1
  # @atlaskit/link-picker
2
2
 
3
+ ## 1.41.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#124870](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/124870)
8
+ [`6f1acda08a4f4`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6f1acda08a4f4) -
9
+ Removes internal usage of React.FC types
10
+ - Updated dependencies
11
+
3
12
  ## 1.41.0
4
13
 
5
14
  ### 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.1" || '',
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.1" || '',
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.1" || '',
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;
@@ -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;
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.1",
4
4
  "description": "Standalone link picker",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "publishConfig": {
@@ -61,7 +61,7 @@
61
61
  "@atlaskit/heading": "^2.4.0",
62
62
  "@atlaskit/icon": "^22.7.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",
@@ -90,7 +90,7 @@
90
90
  "@af/integration-testing": "*",
91
91
  "@af/visual-regression": "*",
92
92
  "@atlaskit/dropdown-menu": "^12.14.0",
93
- "@atlaskit/link-provider": "^1.13.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": "*",