@atlaskit/forge-react-types 0.42.19 → 0.42.21
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 +14 -0
- package/dist/cjs/components/__generated__/TopNavEndProps.codegen.js +5 -0
- package/dist/es2019/components/__generated__/TopNavEndProps.codegen.js +1 -0
- package/dist/esm/components/__generated__/TopNavEndProps.codegen.js +1 -0
- package/package.json +8 -8
- package/src/components/__generated__/TopNavEndProps.codegen.tsx +23 -0
- package/src/components/__generated__/TopNavProps.codegen.tsx +3 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/forge-react-types
|
|
2
2
|
|
|
3
|
+
## 0.42.21
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 0.42.20
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`7037485636590`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/7037485636590) -
|
|
14
|
+
Add TopNavEnd to FDAS
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
|
|
3
17
|
## 0.42.19
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
|
@@ -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.21",
|
|
4
4
|
"description": "Component types for Forge UI Kit React components",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -25,17 +25,17 @@
|
|
|
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": "^
|
|
28
|
+
"@atlaskit/form": "^13.0.0",
|
|
29
29
|
"@atlaskit/inline-edit": "^15.3.0",
|
|
30
30
|
"@atlaskit/modal-dialog": "^14.3.0",
|
|
31
|
-
"@atlaskit/navigation-system": "^2.
|
|
32
|
-
"@atlaskit/popup": "^4.
|
|
33
|
-
"@atlaskit/primitives": "^14.
|
|
31
|
+
"@atlaskit/navigation-system": "^2.10.0",
|
|
32
|
+
"@atlaskit/popup": "^4.4.0",
|
|
33
|
+
"@atlaskit/primitives": "^14.15.0",
|
|
34
34
|
"@atlaskit/progress-bar": "^4.0.0",
|
|
35
35
|
"@atlaskit/progress-tracker": "^10.3.0",
|
|
36
36
|
"@atlaskit/radio": "^8.3.0",
|
|
37
37
|
"@atlaskit/section-message": "^8.7.0",
|
|
38
|
-
"@atlaskit/select": "^21.
|
|
38
|
+
"@atlaskit/select": "^21.3.0",
|
|
39
39
|
"@atlaskit/spinner": "^19.0.0",
|
|
40
40
|
"@atlaskit/tabs": "^18.1.0",
|
|
41
41
|
"@atlaskit/tag": "^14.1.0",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"@atlaskit/textarea": "^8.0.0",
|
|
44
44
|
"@atlaskit/textfield": "^8.0.0",
|
|
45
45
|
"@atlaskit/toggle": "^15.1.0",
|
|
46
|
-
"@atlaskit/tokens": "^6.
|
|
46
|
+
"@atlaskit/tokens": "^6.3.0",
|
|
47
47
|
"@atlaskit/tooltip": "^20.4.0",
|
|
48
48
|
"@babel/runtime": "^7.0.0"
|
|
49
49
|
},
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"@atlassian/codegen": "^0.1.0",
|
|
55
|
-
"@atlassian/forge-ui": "^32.
|
|
55
|
+
"@atlassian/forge-ui": "^32.34.0",
|
|
56
56
|
"@types/node": "~22.17.1",
|
|
57
57
|
"lodash": "^4.17.21",
|
|
58
58
|
"react": "^18.2.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;
|
|
@@ -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;
|