@atlaskit/forge-react-types 0.42.18 → 0.42.20
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 +15 -0
- package/dist/cjs/components/__generated__/TopNavEndProps.codegen.js +5 -0
- package/dist/cjs/components/__generated__/TopNavMiddleProps.codegen.js +5 -0
- package/dist/es2019/components/__generated__/TopNavEndProps.codegen.js +1 -0
- package/dist/es2019/components/__generated__/TopNavMiddleProps.codegen.js +1 -0
- package/dist/esm/components/__generated__/TopNavEndProps.codegen.js +1 -0
- package/dist/esm/components/__generated__/TopNavMiddleProps.codegen.js +1 -0
- package/package.json +2 -2
- package/src/components/__generated__/TopNavEndProps.codegen.tsx +23 -0
- package/src/components/__generated__/TopNavMiddleProps.codegen.tsx +23 -0
- package/src/components/__generated__/TopNavProps.codegen.tsx +3 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @atlaskit/forge-react-types
|
|
2
2
|
|
|
3
|
+
## 0.42.20
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`7037485636590`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/7037485636590) -
|
|
8
|
+
Add TopNavEnd to FDAS
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
11
|
+
## 0.42.19
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- [`d194627d3b571`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/d194627d3b571) -
|
|
16
|
+
Add TopNavMiddle to FDAS
|
|
17
|
+
|
|
3
18
|
## 0.42.18
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/forge-react-types",
|
|
3
|
-
"version": "0.42.
|
|
3
|
+
"version": "0.42.20",
|
|
4
4
|
"description": "Component types for Forge UI Kit React components",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"@atlaskit/comment": "^13.0.0",
|
|
26
26
|
"@atlaskit/datetime-picker": "^17.0.0",
|
|
27
27
|
"@atlaskit/dynamic-table": "^18.2.0",
|
|
28
|
-
"@atlaskit/form": "^12.
|
|
28
|
+
"@atlaskit/form": "^12.5.0",
|
|
29
29
|
"@atlaskit/inline-edit": "^15.3.0",
|
|
30
30
|
"@atlaskit/modal-dialog": "^14.3.0",
|
|
31
31
|
"@atlaskit/navigation-system": "^2.3.0",
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
+
*
|
|
4
|
+
* Extract component prop types from UIKit 2 components - TopNavEndProps
|
|
5
|
+
*
|
|
6
|
+
* @codegen <<SignedSource::1c3d487900011fc7251a5a2eec11fa5f>>
|
|
7
|
+
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
+
* @codegenDependency ../../../../../../services/forge-common-app-gateway/src/components/navigation/TopNavEnd.tsx <<SignedSource::f3eb55027d40bf54252699b1c448d45e>>
|
|
9
|
+
*/
|
|
10
|
+
/* eslint @repo/internal/codegen/signed-source-integrity: "warn" */
|
|
11
|
+
|
|
12
|
+
import React from 'react';
|
|
13
|
+
import { TopNavEnd as PlatformTopNavEnd } from '@atlaskit/navigation-system/layout/top-nav';
|
|
14
|
+
|
|
15
|
+
type PlatformTopNavEndProps = React.ComponentProps<typeof PlatformTopNavEnd>;
|
|
16
|
+
|
|
17
|
+
export type TopNavEndProps = Pick<
|
|
18
|
+
// Setting up TopNavEndProps as a Pick of PlatformTopNavEndProps
|
|
19
|
+
PlatformTopNavEndProps,
|
|
20
|
+
'children' | 'label' | 'showMoreButtonLabel'
|
|
21
|
+
>;
|
|
22
|
+
|
|
23
|
+
export type TTopNavEnd<T> = (props: TopNavEndProps) => T;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
+
*
|
|
4
|
+
* Extract component prop types from UIKit 2 components - TopNavMiddleProps
|
|
5
|
+
*
|
|
6
|
+
* @codegen <<SignedSource::d9105e1d85a6d65be052fb925cbca83a>>
|
|
7
|
+
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
+
* @codegenDependency ../../../../../../services/forge-common-app-gateway/src/components/navigation/TopNavMiddle.tsx <<SignedSource::cdfdd5fe0b77615c5519b81e75970600>>
|
|
9
|
+
*/
|
|
10
|
+
/* eslint @repo/internal/codegen/signed-source-integrity: "warn" */
|
|
11
|
+
|
|
12
|
+
import React from 'react';
|
|
13
|
+
import { TopNavMiddle as PlatformTopNavMiddle } from '@atlaskit/navigation-system/layout/top-nav';
|
|
14
|
+
|
|
15
|
+
type PlatformTopNavMiddleProps = React.ComponentProps<typeof PlatformTopNavMiddle>;
|
|
16
|
+
|
|
17
|
+
export type TopNavMiddleProps = Pick<
|
|
18
|
+
// Setting up TopNavMiddleProps as a Pick of PlatformTopNavMiddleProps
|
|
19
|
+
PlatformTopNavMiddleProps,
|
|
20
|
+
'children'
|
|
21
|
+
>;
|
|
22
|
+
|
|
23
|
+
export type TTopNavMiddle<T> = (props: TopNavMiddleProps) => T;
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - TopNavProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::fe99ce17aff09576c78fa26de85d9300>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency
|
|
8
|
+
* @codegenDependency ../../../../../../services/forge-common-app-gateway/src/components/navigation/TopNav.tsx <<SignedSource::0582686cebdccbf01ed0eb34a12d467d>>
|
|
9
9
|
*/
|
|
10
10
|
/* eslint @repo/internal/codegen/signed-source-integrity: "warn" */
|
|
11
11
|
|
|
@@ -14,9 +14,6 @@ import { TopNav as PlatformTopNav } from '@atlaskit/navigation-system/layout/top
|
|
|
14
14
|
|
|
15
15
|
type PlatformTopNavProps = React.ComponentProps<typeof PlatformTopNav>;
|
|
16
16
|
|
|
17
|
-
export type TopNavProps = Pick<
|
|
18
|
-
PlatformTopNavProps,
|
|
19
|
-
'children' | 'testId' | 'UNSAFE_theme'
|
|
20
|
-
>;
|
|
17
|
+
export type TopNavProps = Pick<PlatformTopNavProps, 'children' | 'testId'>;
|
|
21
18
|
|
|
22
19
|
export type TTopNav<T> = (props: TopNavProps) => T;
|