@atlaskit/forge-react-types 0.42.18 → 0.42.19

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,12 @@
1
1
  # @atlaskit/forge-react-types
2
2
 
3
+ ## 0.42.19
4
+
5
+ ### Patch Changes
6
+
7
+ - [`d194627d3b571`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/d194627d3b571) -
8
+ Add TopNavMiddle to FDAS
9
+
3
10
  ## 0.42.18
4
11
 
5
12
  ### Patch Changes
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/forge-react-types",
3
- "version": "0.42.18",
3
+ "version": "0.42.19",
4
4
  "description": "Component types for Forge UI Kit React components",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -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;