@atlaskit/forge-react-types 0.65.3 → 0.66.0
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 +13 -0
- package/README.md +1 -1
- package/dist/cjs/components/global/__generated__/LinkMenuItemProps.codegen.js +1 -0
- package/dist/esm/components/global/__generated__/HelpLinkProps.codegen.js +0 -0
- package/dist/esm/components/global/__generated__/LinkMenuItemProps.codegen.js +0 -0
- package/dist/types/components/global/__generated__/CreateButtonProps.codegen.d.ts +15 -0
- package/dist/types/components/global/__generated__/{GlobalCreateMenuItemProps.codegen.d.ts → CreateMenuItemProps.codegen.d.ts} +6 -6
- package/dist/{types-ts4.5/components/global/__generated__/GlobalExpandableMenuItemProps.codegen.d.ts → types/components/global/__generated__/ExpandableMenuItemProps.codegen.d.ts} +6 -6
- package/dist/{types-ts4.5/components/global/__generated__/GlobalFlyOutMenuItemProps.codegen.d.ts → types/components/global/__generated__/FlyOutMenuItemProps.codegen.d.ts} +6 -6
- package/dist/types/components/global/__generated__/GlobalProps.codegen.d.ts +4 -4
- package/dist/types/components/global/__generated__/HelpLinkProps.codegen.d.ts +17 -0
- package/dist/{types-ts4.5/components/global/__generated__/GlobalLinkMenuItemProps.codegen.d.ts → types/components/global/__generated__/LinkMenuItemProps.codegen.d.ts} +6 -6
- package/dist/{types-ts4.5/components/global/__generated__/GlobalMainProps.codegen.d.ts → types/components/global/__generated__/MainProps.codegen.d.ts} +6 -6
- package/dist/types/components/global/__generated__/{GlobalSidebarProps.codegen.d.ts → SidebarProps.codegen.d.ts} +7 -7
- package/dist/types/components/global/__generated__/index.d.ts +10 -9
- package/dist/types/index.d.ts +1 -1
- package/dist/types-ts4.5/components/global/__generated__/CreateButtonProps.codegen.d.ts +15 -0
- package/dist/types-ts4.5/components/global/__generated__/{GlobalCreateMenuItemProps.codegen.d.ts → CreateMenuItemProps.codegen.d.ts} +6 -6
- package/dist/{types/components/global/__generated__/GlobalExpandableMenuItemProps.codegen.d.ts → types-ts4.5/components/global/__generated__/ExpandableMenuItemProps.codegen.d.ts} +6 -6
- package/dist/{types/components/global/__generated__/GlobalFlyOutMenuItemProps.codegen.d.ts → types-ts4.5/components/global/__generated__/FlyOutMenuItemProps.codegen.d.ts} +6 -6
- package/dist/types-ts4.5/components/global/__generated__/GlobalProps.codegen.d.ts +4 -4
- package/dist/types-ts4.5/components/global/__generated__/HelpLinkProps.codegen.d.ts +17 -0
- package/dist/{types/components/global/__generated__/GlobalLinkMenuItemProps.codegen.d.ts → types-ts4.5/components/global/__generated__/LinkMenuItemProps.codegen.d.ts} +6 -6
- package/dist/{types/components/global/__generated__/GlobalMainProps.codegen.d.ts → types-ts4.5/components/global/__generated__/MainProps.codegen.d.ts} +6 -6
- package/dist/types-ts4.5/components/global/__generated__/{GlobalSidebarProps.codegen.d.ts → SidebarProps.codegen.d.ts} +7 -7
- package/dist/types-ts4.5/components/global/__generated__/index.d.ts +10 -9
- package/dist/types-ts4.5/index.d.ts +1 -1
- package/package.json +8 -8
- package/scripts/codegen/globalComponentPropTypes.ts +1 -1
- package/src/components/global/__generated__/CreateButtonProps.codegen.tsx +19 -0
- package/src/components/global/__generated__/{GlobalCreateMenuItemProps.codegen.tsx → CreateMenuItemProps.codegen.tsx} +6 -6
- package/src/components/global/__generated__/{GlobalExpandableMenuItemProps.codegen.tsx → ExpandableMenuItemProps.codegen.tsx} +6 -6
- package/src/components/global/__generated__/{GlobalFlyOutMenuItemProps.codegen.tsx → FlyOutMenuItemProps.codegen.tsx} +6 -6
- package/src/components/global/__generated__/GlobalProps.codegen.tsx +4 -4
- package/src/components/global/__generated__/HelpLinkProps.codegen.tsx +20 -0
- package/src/components/global/__generated__/{GlobalLinkMenuItemProps.codegen.tsx → LinkMenuItemProps.codegen.tsx} +6 -6
- package/src/components/global/__generated__/{GlobalMainProps.codegen.tsx → MainProps.codegen.tsx} +6 -6
- package/src/components/global/__generated__/{GlobalSidebarProps.codegen.tsx → SidebarProps.codegen.tsx} +7 -7
- package/src/components/global/__generated__/index.ts +10 -9
- package/src/index.ts +12 -10
- package/dist/types/components/global/__generated__/GlobalCreateButtonProps.codegen.d.ts +0 -15
- package/dist/types-ts4.5/components/global/__generated__/GlobalCreateButtonProps.codegen.d.ts +0 -15
- package/src/components/global/__generated__/GlobalCreateButtonProps.codegen.tsx +0 -19
- /package/dist/cjs/components/global/__generated__/{GlobalCreateButtonProps.codegen.js → CreateButtonProps.codegen.js} +0 -0
- /package/dist/cjs/components/global/__generated__/{GlobalCreateMenuItemProps.codegen.js → CreateMenuItemProps.codegen.js} +0 -0
- /package/dist/cjs/components/global/__generated__/{GlobalExpandableMenuItemProps.codegen.js → ExpandableMenuItemProps.codegen.js} +0 -0
- /package/dist/cjs/components/global/__generated__/{GlobalFlyOutMenuItemProps.codegen.js → FlyOutMenuItemProps.codegen.js} +0 -0
- /package/dist/cjs/components/global/__generated__/{GlobalLinkMenuItemProps.codegen.js → HelpLinkProps.codegen.js} +0 -0
- /package/dist/cjs/components/global/__generated__/{GlobalMainProps.codegen.js → MainProps.codegen.js} +0 -0
- /package/dist/cjs/components/global/__generated__/{GlobalSidebarProps.codegen.js → SidebarProps.codegen.js} +0 -0
- /package/dist/es2019/components/global/__generated__/{GlobalCreateButtonProps.codegen.js → CreateButtonProps.codegen.js} +0 -0
- /package/dist/es2019/components/global/__generated__/{GlobalCreateMenuItemProps.codegen.js → CreateMenuItemProps.codegen.js} +0 -0
- /package/dist/es2019/components/global/__generated__/{GlobalExpandableMenuItemProps.codegen.js → ExpandableMenuItemProps.codegen.js} +0 -0
- /package/dist/es2019/components/global/__generated__/{GlobalFlyOutMenuItemProps.codegen.js → FlyOutMenuItemProps.codegen.js} +0 -0
- /package/dist/es2019/components/global/__generated__/{GlobalLinkMenuItemProps.codegen.js → HelpLinkProps.codegen.js} +0 -0
- /package/dist/{esm/components/global/__generated__/GlobalCreateMenuItemProps.codegen.js → es2019/components/global/__generated__/LinkMenuItemProps.codegen.js} +0 -0
- /package/dist/es2019/components/global/__generated__/{GlobalMainProps.codegen.js → MainProps.codegen.js} +0 -0
- /package/dist/es2019/components/global/__generated__/{GlobalSidebarProps.codegen.js → SidebarProps.codegen.js} +0 -0
- /package/dist/esm/components/global/__generated__/{GlobalCreateButtonProps.codegen.js → CreateButtonProps.codegen.js} +0 -0
- /package/dist/esm/components/global/__generated__/{GlobalLinkMenuItemProps.codegen.js → CreateMenuItemProps.codegen.js} +0 -0
- /package/dist/esm/components/global/__generated__/{GlobalExpandableMenuItemProps.codegen.js → ExpandableMenuItemProps.codegen.js} +0 -0
- /package/dist/esm/components/global/__generated__/{GlobalFlyOutMenuItemProps.codegen.js → FlyOutMenuItemProps.codegen.js} +0 -0
- /package/dist/esm/components/global/__generated__/{GlobalMainProps.codegen.js → MainProps.codegen.js} +0 -0
- /package/dist/esm/components/global/__generated__/{GlobalSidebarProps.codegen.js → SidebarProps.codegen.js} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @atlaskit/forge-react-types
|
|
2
2
|
|
|
3
|
+
## 0.66.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`b6f594e629511`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/b6f594e629511) -
|
|
8
|
+
Add HelpLink component for Global Forge apps.
|
|
9
|
+
|
|
10
|
+
### Patch Changes
|
|
11
|
+
|
|
12
|
+
- [`c987593f0bbb5`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/c987593f0bbb5) -
|
|
13
|
+
Fix check-types script failing due to ts-node moduleResolution not supporting package.json exports
|
|
14
|
+
maps
|
|
15
|
+
|
|
3
16
|
## 0.65.3
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# Forge React Types
|
|
2
2
|
|
|
3
3
|
This package exposes a public npm package (`@atlaskit/forge-react-types`) that contains all
|
|
4
|
-
necessary types for
|
|
4
|
+
necessary types for UIKit codegen components.
|
|
5
5
|
|
|
6
6
|
The types are code generated from the `@atlassian/forge-ui` package and are guaranteed to be in sync
|
|
7
7
|
with the source component implementation in the `@atlassian/forge-ui` package.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
+
*
|
|
4
|
+
* Generated prop types for Global component - CreateButton
|
|
5
|
+
*
|
|
6
|
+
* @codegen <<SignedSource::a0946b3fc369120bc2d782964316c628>>
|
|
7
|
+
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen-global
|
|
8
|
+
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/types/global-component-props.ts <<SignedSource::aab578f2ba0895fc1b3cb93dbae44c0f>>
|
|
9
|
+
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/components/global/CreateButton.tsx <<SignedSource::14d3f28d43b8347414331c1851086b7a>>
|
|
10
|
+
*/
|
|
11
|
+
import type React from 'react';
|
|
12
|
+
export type CreateButtonProps = {
|
|
13
|
+
children?: React.ReactElement | React.ReactElement[];
|
|
14
|
+
};
|
|
15
|
+
export type TCreateButton<T> = (props: CreateButtonProps) => T;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
3
|
*
|
|
4
|
-
* Generated prop types for Global component -
|
|
4
|
+
* Generated prop types for Global component - CreateMenuItem
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::daac4d901bdcbbb171b78c01a22e8db7>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen-global
|
|
8
|
-
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/types/global-component-props.ts <<SignedSource::
|
|
9
|
-
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/components/global/
|
|
8
|
+
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/types/global-component-props.ts <<SignedSource::aab578f2ba0895fc1b3cb93dbae44c0f>>
|
|
9
|
+
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/components/global/CreateMenuItem.tsx <<SignedSource::d568a9366bd7492cba2463a202fa6668>>
|
|
10
10
|
*/
|
|
11
|
-
export type
|
|
11
|
+
export type CreateMenuItemProps = {
|
|
12
12
|
/**
|
|
13
13
|
* The display label for the create menu item.
|
|
14
14
|
*/
|
|
@@ -18,4 +18,4 @@ export type GlobalCreateMenuItemProps = {
|
|
|
18
18
|
*/
|
|
19
19
|
onClick: () => void;
|
|
20
20
|
};
|
|
21
|
-
export type
|
|
21
|
+
export type TCreateMenuItem<T> = (props: CreateMenuItemProps) => T;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
3
|
*
|
|
4
|
-
* Generated prop types for Global component -
|
|
4
|
+
* Generated prop types for Global component - ExpandableMenuItem
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::98d1be85f3f83a04923e2e1b59949b31>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen-global
|
|
8
|
-
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/types/global-component-props.ts <<SignedSource::
|
|
9
|
-
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/components/global/
|
|
8
|
+
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/types/global-component-props.ts <<SignedSource::aab578f2ba0895fc1b3cb93dbae44c0f>>
|
|
9
|
+
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/components/global/ExpandableMenuItem.tsx <<SignedSource::554f1c54ee96d013c0112275732eb8fc>>
|
|
10
10
|
*/
|
|
11
11
|
import type React from 'react';
|
|
12
|
-
export type
|
|
12
|
+
export type ExpandableMenuItemProps = {
|
|
13
13
|
/**
|
|
14
14
|
* The display label for the expandable menu item.
|
|
15
15
|
*/
|
|
@@ -19,4 +19,4 @@ export type GlobalExpandableMenuItemProps = {
|
|
|
19
19
|
*/
|
|
20
20
|
children: React.ReactElement | React.ReactElement[];
|
|
21
21
|
};
|
|
22
|
-
export type
|
|
22
|
+
export type TExpandableMenuItem<T> = (props: ExpandableMenuItemProps) => T;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
3
|
*
|
|
4
|
-
* Generated prop types for Global component -
|
|
4
|
+
* Generated prop types for Global component - FlyOutMenuItem
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::4d03454d09bc7378f97365acaebe210d>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen-global
|
|
8
|
-
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/types/global-component-props.ts <<SignedSource::
|
|
9
|
-
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/components/global/
|
|
8
|
+
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/types/global-component-props.ts <<SignedSource::aab578f2ba0895fc1b3cb93dbae44c0f>>
|
|
9
|
+
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/components/global/FlyOutMenuItem.tsx <<SignedSource::75d879bd2f49ca97e971242cb58cf034>>
|
|
10
10
|
*/
|
|
11
11
|
import type React from 'react';
|
|
12
|
-
export type
|
|
12
|
+
export type FlyOutMenuItemProps = {
|
|
13
13
|
/**
|
|
14
14
|
* The display label for the expandable menu item.
|
|
15
15
|
*/
|
|
@@ -19,4 +19,4 @@ export type GlobalFlyOutMenuItemProps = {
|
|
|
19
19
|
*/
|
|
20
20
|
children: React.ReactElement | React.ReactElement[];
|
|
21
21
|
};
|
|
22
|
-
export type
|
|
22
|
+
export type TFlyOutMenuItem<T> = (props: FlyOutMenuItemProps) => T;
|
|
@@ -3,15 +3,15 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Generated prop types for Global component - Global
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::9aea526029f99f643d08f68e4ca78c81>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen-global
|
|
8
|
-
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/types/global-component-props.ts <<SignedSource::
|
|
9
|
-
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/components/global/Global.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/types/global-component-props.ts <<SignedSource::aab578f2ba0895fc1b3cb93dbae44c0f>>
|
|
9
|
+
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/components/global/Global.tsx <<SignedSource::9aee7c039455fb759450cd9337e29685>>
|
|
10
10
|
*/
|
|
11
11
|
import type React from 'react';
|
|
12
12
|
export type GlobalProps = {
|
|
13
13
|
/**
|
|
14
|
-
* Accepts
|
|
14
|
+
* Accepts CreateButton, HelpLink, Sidebar and Main components as children.
|
|
15
15
|
*/
|
|
16
16
|
children?: React.ReactElement | React.ReactElement[];
|
|
17
17
|
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
+
*
|
|
4
|
+
* Generated prop types for Global component - HelpLink
|
|
5
|
+
*
|
|
6
|
+
* @codegen <<SignedSource::7f8a5aa2f4e6c5d08ffea9f3d7127e82>>
|
|
7
|
+
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen-global
|
|
8
|
+
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/types/global-component-props.ts <<SignedSource::aab578f2ba0895fc1b3cb93dbae44c0f>>
|
|
9
|
+
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/components/global/HelpLink.tsx <<SignedSource::29aa1d2a5f3e491361497d3aa48fdade>>
|
|
10
|
+
*/
|
|
11
|
+
export type HelpLinkProps = {
|
|
12
|
+
/**
|
|
13
|
+
* URL linking to external documentation. Opens in a new tab.
|
|
14
|
+
*/
|
|
15
|
+
href: string;
|
|
16
|
+
};
|
|
17
|
+
export type THelpLink<T> = (props: HelpLinkProps) => T;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
3
|
*
|
|
4
|
-
* Generated prop types for Global component -
|
|
4
|
+
* Generated prop types for Global component - LinkMenuItem
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::62109dcfc1835ce979b975f84e9723bf>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen-global
|
|
8
|
-
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/types/global-component-props.ts <<SignedSource::
|
|
9
|
-
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/components/global/
|
|
8
|
+
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/types/global-component-props.ts <<SignedSource::aab578f2ba0895fc1b3cb93dbae44c0f>>
|
|
9
|
+
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/components/global/LinkMenuItem.tsx <<SignedSource::6cd2e6418fd76b15fec48eac7d5f8c00>>
|
|
10
10
|
*/
|
|
11
|
-
export type
|
|
11
|
+
export type LinkMenuItemProps = {
|
|
12
12
|
/**
|
|
13
13
|
* The display label for the menu item.
|
|
14
14
|
*/
|
|
@@ -18,4 +18,4 @@ export type GlobalLinkMenuItemProps = {
|
|
|
18
18
|
*/
|
|
19
19
|
href: string;
|
|
20
20
|
};
|
|
21
|
-
export type
|
|
21
|
+
export type TLinkMenuItem<T> = (props: LinkMenuItemProps) => T;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
3
|
*
|
|
4
|
-
* Generated prop types for Global component -
|
|
4
|
+
* Generated prop types for Global component - Main
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::33ebf325eaa1b53499aec4588b3c3ba6>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen-global
|
|
8
|
-
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/types/global-component-props.ts <<SignedSource::
|
|
9
|
-
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/components/global/
|
|
8
|
+
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/types/global-component-props.ts <<SignedSource::aab578f2ba0895fc1b3cb93dbae44c0f>>
|
|
9
|
+
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/components/global/Main.tsx <<SignedSource::bb974180859b074b1c9d5d968529207a>>
|
|
10
10
|
*/
|
|
11
11
|
import type React from 'react';
|
|
12
|
-
export type
|
|
12
|
+
export type MainProps = {
|
|
13
13
|
children?: React.ReactNode;
|
|
14
14
|
};
|
|
15
|
-
export type
|
|
15
|
+
export type TMain<T> = (props: MainProps) => T;
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
3
|
*
|
|
4
|
-
* Generated prop types for Global component -
|
|
4
|
+
* Generated prop types for Global component - Sidebar
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::3bd4acf60ee712140979357d54211bc5>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen-global
|
|
8
|
-
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/types/global-component-props.ts <<SignedSource::
|
|
9
|
-
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/components/global/
|
|
8
|
+
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/types/global-component-props.ts <<SignedSource::aab578f2ba0895fc1b3cb93dbae44c0f>>
|
|
9
|
+
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/components/global/Sidebar.tsx <<SignedSource::f6abab9890c10249756d7e8f73e34e85>>
|
|
10
10
|
*/
|
|
11
11
|
import type React from 'react';
|
|
12
|
-
export type
|
|
12
|
+
export type SidebarProps = {
|
|
13
13
|
/**
|
|
14
14
|
* URL path for the "For You" section in the sidebar.
|
|
15
15
|
* When provided, enables the "For You" navigation item.
|
|
16
16
|
*/
|
|
17
17
|
forYouUrl?: string;
|
|
18
18
|
/**
|
|
19
|
-
* Accepts
|
|
19
|
+
* Accepts LinkMenuItem, ExpandableMenuItem and FlyOutMenuItem components.
|
|
20
20
|
*/
|
|
21
21
|
children?: React.ReactElement | React.ReactElement[];
|
|
22
22
|
};
|
|
23
|
-
export type
|
|
23
|
+
export type TSidebar<T> = (props: SidebarProps) => T;
|
|
@@ -3,15 +3,16 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Index file for generated Global component prop types
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::9438d9a368d57446ac11e95a54eb2895>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen-global
|
|
8
|
-
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/types/global-component-props.ts <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/types/global-component-props.ts <<SignedSource::aab578f2ba0895fc1b3cb93dbae44c0f>>
|
|
9
9
|
*/
|
|
10
10
|
export type { GlobalProps, TGlobal } from './GlobalProps.codegen';
|
|
11
|
-
export type {
|
|
12
|
-
export type {
|
|
13
|
-
export type {
|
|
14
|
-
export type {
|
|
15
|
-
export type {
|
|
16
|
-
export type {
|
|
17
|
-
export type {
|
|
11
|
+
export type { MainProps, TMain } from './MainProps.codegen';
|
|
12
|
+
export type { SidebarProps, TSidebar } from './SidebarProps.codegen';
|
|
13
|
+
export type { LinkMenuItemProps, TLinkMenuItem } from './LinkMenuItemProps.codegen';
|
|
14
|
+
export type { ExpandableMenuItemProps, TExpandableMenuItem } from './ExpandableMenuItemProps.codegen';
|
|
15
|
+
export type { CreateButtonProps, TCreateButton } from './CreateButtonProps.codegen';
|
|
16
|
+
export type { CreateMenuItemProps, TCreateMenuItem } from './CreateMenuItemProps.codegen';
|
|
17
|
+
export type { FlyOutMenuItemProps, TFlyOutMenuItem } from './FlyOutMenuItemProps.codegen';
|
|
18
|
+
export type { HelpLinkProps, THelpLink } from './HelpLinkProps.codegen';
|
package/dist/types/index.d.ts
CHANGED
|
@@ -3,4 +3,4 @@ export type { BarChartProps, StackBarChartProps, HorizontalStackBarChartProps, H
|
|
|
3
3
|
export type { ChromelessEditorProps, CommentEditorProps, TChromelessEditor, TCommentEditor, } from './components/editor';
|
|
4
4
|
export type { ChartColorTokens } from './types';
|
|
5
5
|
export type { FrameProps } from './components/frame';
|
|
6
|
-
export type {
|
|
6
|
+
export type { GlobalProps, TGlobal, SidebarProps, TSidebar, LinkMenuItemProps, TLinkMenuItem, ExpandableMenuItemProps, TExpandableMenuItem, FlyOutMenuItemProps, TFlyOutMenuItem, MainProps, TMain, HelpLinkProps, THelpLink, } from './components/global/__generated__';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
+
*
|
|
4
|
+
* Generated prop types for Global component - CreateButton
|
|
5
|
+
*
|
|
6
|
+
* @codegen <<SignedSource::a0946b3fc369120bc2d782964316c628>>
|
|
7
|
+
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen-global
|
|
8
|
+
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/types/global-component-props.ts <<SignedSource::aab578f2ba0895fc1b3cb93dbae44c0f>>
|
|
9
|
+
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/components/global/CreateButton.tsx <<SignedSource::14d3f28d43b8347414331c1851086b7a>>
|
|
10
|
+
*/
|
|
11
|
+
import type React from 'react';
|
|
12
|
+
export type CreateButtonProps = {
|
|
13
|
+
children?: React.ReactElement | React.ReactElement[];
|
|
14
|
+
};
|
|
15
|
+
export type TCreateButton<T> = (props: CreateButtonProps) => T;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
3
|
*
|
|
4
|
-
* Generated prop types for Global component -
|
|
4
|
+
* Generated prop types for Global component - CreateMenuItem
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::daac4d901bdcbbb171b78c01a22e8db7>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen-global
|
|
8
|
-
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/types/global-component-props.ts <<SignedSource::
|
|
9
|
-
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/components/global/
|
|
8
|
+
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/types/global-component-props.ts <<SignedSource::aab578f2ba0895fc1b3cb93dbae44c0f>>
|
|
9
|
+
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/components/global/CreateMenuItem.tsx <<SignedSource::d568a9366bd7492cba2463a202fa6668>>
|
|
10
10
|
*/
|
|
11
|
-
export type
|
|
11
|
+
export type CreateMenuItemProps = {
|
|
12
12
|
/**
|
|
13
13
|
* The display label for the create menu item.
|
|
14
14
|
*/
|
|
@@ -18,4 +18,4 @@ export type GlobalCreateMenuItemProps = {
|
|
|
18
18
|
*/
|
|
19
19
|
onClick: () => void;
|
|
20
20
|
};
|
|
21
|
-
export type
|
|
21
|
+
export type TCreateMenuItem<T> = (props: CreateMenuItemProps) => T;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
3
|
*
|
|
4
|
-
* Generated prop types for Global component -
|
|
4
|
+
* Generated prop types for Global component - ExpandableMenuItem
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::98d1be85f3f83a04923e2e1b59949b31>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen-global
|
|
8
|
-
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/types/global-component-props.ts <<SignedSource::
|
|
9
|
-
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/components/global/
|
|
8
|
+
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/types/global-component-props.ts <<SignedSource::aab578f2ba0895fc1b3cb93dbae44c0f>>
|
|
9
|
+
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/components/global/ExpandableMenuItem.tsx <<SignedSource::554f1c54ee96d013c0112275732eb8fc>>
|
|
10
10
|
*/
|
|
11
11
|
import type React from 'react';
|
|
12
|
-
export type
|
|
12
|
+
export type ExpandableMenuItemProps = {
|
|
13
13
|
/**
|
|
14
14
|
* The display label for the expandable menu item.
|
|
15
15
|
*/
|
|
@@ -19,4 +19,4 @@ export type GlobalExpandableMenuItemProps = {
|
|
|
19
19
|
*/
|
|
20
20
|
children: React.ReactElement | React.ReactElement[];
|
|
21
21
|
};
|
|
22
|
-
export type
|
|
22
|
+
export type TExpandableMenuItem<T> = (props: ExpandableMenuItemProps) => T;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
3
|
*
|
|
4
|
-
* Generated prop types for Global component -
|
|
4
|
+
* Generated prop types for Global component - FlyOutMenuItem
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::4d03454d09bc7378f97365acaebe210d>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen-global
|
|
8
|
-
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/types/global-component-props.ts <<SignedSource::
|
|
9
|
-
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/components/global/
|
|
8
|
+
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/types/global-component-props.ts <<SignedSource::aab578f2ba0895fc1b3cb93dbae44c0f>>
|
|
9
|
+
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/components/global/FlyOutMenuItem.tsx <<SignedSource::75d879bd2f49ca97e971242cb58cf034>>
|
|
10
10
|
*/
|
|
11
11
|
import type React from 'react';
|
|
12
|
-
export type
|
|
12
|
+
export type FlyOutMenuItemProps = {
|
|
13
13
|
/**
|
|
14
14
|
* The display label for the expandable menu item.
|
|
15
15
|
*/
|
|
@@ -19,4 +19,4 @@ export type GlobalFlyOutMenuItemProps = {
|
|
|
19
19
|
*/
|
|
20
20
|
children: React.ReactElement | React.ReactElement[];
|
|
21
21
|
};
|
|
22
|
-
export type
|
|
22
|
+
export type TFlyOutMenuItem<T> = (props: FlyOutMenuItemProps) => T;
|
|
@@ -3,15 +3,15 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Generated prop types for Global component - Global
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::9aea526029f99f643d08f68e4ca78c81>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen-global
|
|
8
|
-
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/types/global-component-props.ts <<SignedSource::
|
|
9
|
-
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/components/global/Global.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/types/global-component-props.ts <<SignedSource::aab578f2ba0895fc1b3cb93dbae44c0f>>
|
|
9
|
+
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/components/global/Global.tsx <<SignedSource::9aee7c039455fb759450cd9337e29685>>
|
|
10
10
|
*/
|
|
11
11
|
import type React from 'react';
|
|
12
12
|
export type GlobalProps = {
|
|
13
13
|
/**
|
|
14
|
-
* Accepts
|
|
14
|
+
* Accepts CreateButton, HelpLink, Sidebar and Main components as children.
|
|
15
15
|
*/
|
|
16
16
|
children?: React.ReactElement | React.ReactElement[];
|
|
17
17
|
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
+
*
|
|
4
|
+
* Generated prop types for Global component - HelpLink
|
|
5
|
+
*
|
|
6
|
+
* @codegen <<SignedSource::7f8a5aa2f4e6c5d08ffea9f3d7127e82>>
|
|
7
|
+
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen-global
|
|
8
|
+
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/types/global-component-props.ts <<SignedSource::aab578f2ba0895fc1b3cb93dbae44c0f>>
|
|
9
|
+
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/components/global/HelpLink.tsx <<SignedSource::29aa1d2a5f3e491361497d3aa48fdade>>
|
|
10
|
+
*/
|
|
11
|
+
export type HelpLinkProps = {
|
|
12
|
+
/**
|
|
13
|
+
* URL linking to external documentation. Opens in a new tab.
|
|
14
|
+
*/
|
|
15
|
+
href: string;
|
|
16
|
+
};
|
|
17
|
+
export type THelpLink<T> = (props: HelpLinkProps) => T;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
3
|
*
|
|
4
|
-
* Generated prop types for Global component -
|
|
4
|
+
* Generated prop types for Global component - LinkMenuItem
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::62109dcfc1835ce979b975f84e9723bf>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen-global
|
|
8
|
-
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/types/global-component-props.ts <<SignedSource::
|
|
9
|
-
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/components/global/
|
|
8
|
+
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/types/global-component-props.ts <<SignedSource::aab578f2ba0895fc1b3cb93dbae44c0f>>
|
|
9
|
+
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/components/global/LinkMenuItem.tsx <<SignedSource::6cd2e6418fd76b15fec48eac7d5f8c00>>
|
|
10
10
|
*/
|
|
11
|
-
export type
|
|
11
|
+
export type LinkMenuItemProps = {
|
|
12
12
|
/**
|
|
13
13
|
* The display label for the menu item.
|
|
14
14
|
*/
|
|
@@ -18,4 +18,4 @@ export type GlobalLinkMenuItemProps = {
|
|
|
18
18
|
*/
|
|
19
19
|
href: string;
|
|
20
20
|
};
|
|
21
|
-
export type
|
|
21
|
+
export type TLinkMenuItem<T> = (props: LinkMenuItemProps) => T;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
3
|
*
|
|
4
|
-
* Generated prop types for Global component -
|
|
4
|
+
* Generated prop types for Global component - Main
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::33ebf325eaa1b53499aec4588b3c3ba6>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen-global
|
|
8
|
-
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/types/global-component-props.ts <<SignedSource::
|
|
9
|
-
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/components/global/
|
|
8
|
+
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/types/global-component-props.ts <<SignedSource::aab578f2ba0895fc1b3cb93dbae44c0f>>
|
|
9
|
+
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/components/global/Main.tsx <<SignedSource::bb974180859b074b1c9d5d968529207a>>
|
|
10
10
|
*/
|
|
11
11
|
import type React from 'react';
|
|
12
|
-
export type
|
|
12
|
+
export type MainProps = {
|
|
13
13
|
children?: React.ReactNode;
|
|
14
14
|
};
|
|
15
|
-
export type
|
|
15
|
+
export type TMain<T> = (props: MainProps) => T;
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
3
|
*
|
|
4
|
-
* Generated prop types for Global component -
|
|
4
|
+
* Generated prop types for Global component - Sidebar
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::3bd4acf60ee712140979357d54211bc5>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen-global
|
|
8
|
-
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/types/global-component-props.ts <<SignedSource::
|
|
9
|
-
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/components/global/
|
|
8
|
+
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/types/global-component-props.ts <<SignedSource::aab578f2ba0895fc1b3cb93dbae44c0f>>
|
|
9
|
+
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/components/global/Sidebar.tsx <<SignedSource::f6abab9890c10249756d7e8f73e34e85>>
|
|
10
10
|
*/
|
|
11
11
|
import type React from 'react';
|
|
12
|
-
export type
|
|
12
|
+
export type SidebarProps = {
|
|
13
13
|
/**
|
|
14
14
|
* URL path for the "For You" section in the sidebar.
|
|
15
15
|
* When provided, enables the "For You" navigation item.
|
|
16
16
|
*/
|
|
17
17
|
forYouUrl?: string;
|
|
18
18
|
/**
|
|
19
|
-
* Accepts
|
|
19
|
+
* Accepts LinkMenuItem, ExpandableMenuItem and FlyOutMenuItem components.
|
|
20
20
|
*/
|
|
21
21
|
children?: React.ReactElement | React.ReactElement[];
|
|
22
22
|
};
|
|
23
|
-
export type
|
|
23
|
+
export type TSidebar<T> = (props: SidebarProps) => T;
|
|
@@ -3,15 +3,16 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Index file for generated Global component prop types
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::9438d9a368d57446ac11e95a54eb2895>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen-global
|
|
8
|
-
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/types/global-component-props.ts <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/types/global-component-props.ts <<SignedSource::aab578f2ba0895fc1b3cb93dbae44c0f>>
|
|
9
9
|
*/
|
|
10
10
|
export type { GlobalProps, TGlobal } from './GlobalProps.codegen';
|
|
11
|
-
export type {
|
|
12
|
-
export type {
|
|
13
|
-
export type {
|
|
14
|
-
export type {
|
|
15
|
-
export type {
|
|
16
|
-
export type {
|
|
17
|
-
export type {
|
|
11
|
+
export type { MainProps, TMain } from './MainProps.codegen';
|
|
12
|
+
export type { SidebarProps, TSidebar } from './SidebarProps.codegen';
|
|
13
|
+
export type { LinkMenuItemProps, TLinkMenuItem } from './LinkMenuItemProps.codegen';
|
|
14
|
+
export type { ExpandableMenuItemProps, TExpandableMenuItem } from './ExpandableMenuItemProps.codegen';
|
|
15
|
+
export type { CreateButtonProps, TCreateButton } from './CreateButtonProps.codegen';
|
|
16
|
+
export type { CreateMenuItemProps, TCreateMenuItem } from './CreateMenuItemProps.codegen';
|
|
17
|
+
export type { FlyOutMenuItemProps, TFlyOutMenuItem } from './FlyOutMenuItemProps.codegen';
|
|
18
|
+
export type { HelpLinkProps, THelpLink } from './HelpLinkProps.codegen';
|
|
@@ -3,4 +3,4 @@ export type { BarChartProps, StackBarChartProps, HorizontalStackBarChartProps, H
|
|
|
3
3
|
export type { ChromelessEditorProps, CommentEditorProps, TChromelessEditor, TCommentEditor, } from './components/editor';
|
|
4
4
|
export type { ChartColorTokens } from './types';
|
|
5
5
|
export type { FrameProps } from './components/frame';
|
|
6
|
-
export type {
|
|
6
|
+
export type { GlobalProps, TGlobal, SidebarProps, TSidebar, LinkMenuItemProps, TLinkMenuItem, ExpandableMenuItemProps, TExpandableMenuItem, FlyOutMenuItemProps, TFlyOutMenuItem, MainProps, TMain, HelpLinkProps, THelpLink, } from './components/global/__generated__';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/forge-react-types",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.66.0",
|
|
4
4
|
"description": "Component types for Forge UI Kit React components",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -23,20 +23,20 @@
|
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@atlaskit/button": "^23.10.0",
|
|
25
25
|
"@atlaskit/comment": "^13.2.0",
|
|
26
|
-
"@atlaskit/datetime-picker": "^17.
|
|
26
|
+
"@atlaskit/datetime-picker": "^17.6.0",
|
|
27
27
|
"@atlaskit/dynamic-table": "^18.3.0",
|
|
28
28
|
"@atlaskit/form": "^15.5.0",
|
|
29
29
|
"@atlaskit/inline-edit": "^15.6.0",
|
|
30
|
-
"@atlaskit/modal-dialog": "^14.
|
|
30
|
+
"@atlaskit/modal-dialog": "^14.14.0",
|
|
31
31
|
"@atlaskit/navigation-system": "^7.1.0",
|
|
32
32
|
"@atlaskit/object": "^1.0.0",
|
|
33
|
-
"@atlaskit/popup": "^4.
|
|
33
|
+
"@atlaskit/popup": "^4.16.0",
|
|
34
34
|
"@atlaskit/primitives": "^18.1.0",
|
|
35
35
|
"@atlaskit/progress-bar": "^4.1.0",
|
|
36
36
|
"@atlaskit/progress-tracker": "^10.5.0",
|
|
37
|
-
"@atlaskit/radio": "^8.
|
|
37
|
+
"@atlaskit/radio": "^8.5.0",
|
|
38
38
|
"@atlaskit/section-message": "^8.12.0",
|
|
39
|
-
"@atlaskit/select": "^21.
|
|
39
|
+
"@atlaskit/select": "^21.10.0",
|
|
40
40
|
"@atlaskit/spinner": "^19.0.0",
|
|
41
41
|
"@atlaskit/tabs": "^19.0.0",
|
|
42
42
|
"@atlaskit/tag": "^14.6.0",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"@atlaskit/tile": "^1.0.0",
|
|
47
47
|
"@atlaskit/toggle": "^15.2.0",
|
|
48
48
|
"@atlaskit/tokens": "^11.4.0",
|
|
49
|
-
"@atlaskit/tooltip": "^21.
|
|
49
|
+
"@atlaskit/tooltip": "^21.1.0",
|
|
50
50
|
"@babel/runtime": "^7.0.0",
|
|
51
51
|
"@emotion/react": "^11.7.1",
|
|
52
52
|
"@emotion/serialize": "^1.1.0"
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
58
|
"@atlassian/codegen": "^0.1.0",
|
|
59
|
-
"@atlassian/forge-ui": "^
|
|
59
|
+
"@atlassian/forge-ui": "^35.0.0",
|
|
60
60
|
"@types/node": "^24.0.0",
|
|
61
61
|
"lodash": "^4.17.21",
|
|
62
62
|
"react": "^18.2.0",
|
|
@@ -243,7 +243,7 @@ const generateComponentPropTypeCode = (
|
|
|
243
243
|
}
|
|
244
244
|
|
|
245
245
|
for (const propsName of allPropsNames) {
|
|
246
|
-
if (propsName !== interfaceName &&
|
|
246
|
+
if (propsName !== interfaceName && new RegExp(`\\b${propsName}\\b`).test(generatedCode)) {
|
|
247
247
|
importLines.push(`import type { ${propsName} } from './${propsName}.codegen';`);
|
|
248
248
|
}
|
|
249
249
|
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
+
*
|
|
4
|
+
* Generated prop types for Global component - CreateButton
|
|
5
|
+
*
|
|
6
|
+
* @codegen <<SignedSource::a0946b3fc369120bc2d782964316c628>>
|
|
7
|
+
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen-global
|
|
8
|
+
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/types/global-component-props.ts <<SignedSource::aab578f2ba0895fc1b3cb93dbae44c0f>>
|
|
9
|
+
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/components/global/CreateButton.tsx <<SignedSource::14d3f28d43b8347414331c1851086b7a>>
|
|
10
|
+
*/
|
|
11
|
+
/* eslint @repo/internal/codegen/signed-source-integrity: "warn" */
|
|
12
|
+
|
|
13
|
+
import type React from 'react';
|
|
14
|
+
|
|
15
|
+
export type CreateButtonProps = {
|
|
16
|
+
children?: React.ReactElement | React.ReactElement[];
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
export type TCreateButton<T> = (props: CreateButtonProps) => T;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
3
|
*
|
|
4
|
-
* Generated prop types for Global component -
|
|
4
|
+
* Generated prop types for Global component - CreateMenuItem
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::daac4d901bdcbbb171b78c01a22e8db7>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen-global
|
|
8
|
-
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/types/global-component-props.ts <<SignedSource::
|
|
9
|
-
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/components/global/
|
|
8
|
+
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/types/global-component-props.ts <<SignedSource::aab578f2ba0895fc1b3cb93dbae44c0f>>
|
|
9
|
+
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/components/global/CreateMenuItem.tsx <<SignedSource::d568a9366bd7492cba2463a202fa6668>>
|
|
10
10
|
*/
|
|
11
11
|
/* eslint @repo/internal/codegen/signed-source-integrity: "warn" */
|
|
12
12
|
|
|
13
|
-
export type
|
|
13
|
+
export type CreateMenuItemProps = {
|
|
14
14
|
/**
|
|
15
15
|
* The display label for the create menu item.
|
|
16
16
|
*/
|
|
@@ -21,4 +21,4 @@ export type GlobalCreateMenuItemProps = {
|
|
|
21
21
|
onClick: () => void;
|
|
22
22
|
};
|
|
23
23
|
|
|
24
|
-
export type
|
|
24
|
+
export type TCreateMenuItem<T> = (props: CreateMenuItemProps) => T;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
3
|
*
|
|
4
|
-
* Generated prop types for Global component -
|
|
4
|
+
* Generated prop types for Global component - ExpandableMenuItem
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::98d1be85f3f83a04923e2e1b59949b31>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen-global
|
|
8
|
-
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/types/global-component-props.ts <<SignedSource::
|
|
9
|
-
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/components/global/
|
|
8
|
+
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/types/global-component-props.ts <<SignedSource::aab578f2ba0895fc1b3cb93dbae44c0f>>
|
|
9
|
+
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/components/global/ExpandableMenuItem.tsx <<SignedSource::554f1c54ee96d013c0112275732eb8fc>>
|
|
10
10
|
*/
|
|
11
11
|
/* eslint @repo/internal/codegen/signed-source-integrity: "warn" */
|
|
12
12
|
|
|
13
13
|
import type React from 'react';
|
|
14
14
|
|
|
15
|
-
export type
|
|
15
|
+
export type ExpandableMenuItemProps = {
|
|
16
16
|
/**
|
|
17
17
|
* The display label for the expandable menu item.
|
|
18
18
|
*/
|
|
@@ -23,4 +23,4 @@ export type GlobalExpandableMenuItemProps = {
|
|
|
23
23
|
children: React.ReactElement | React.ReactElement[];
|
|
24
24
|
};
|
|
25
25
|
|
|
26
|
-
export type
|
|
26
|
+
export type TExpandableMenuItem<T> = (props: ExpandableMenuItemProps) => T;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
3
|
*
|
|
4
|
-
* Generated prop types for Global component -
|
|
4
|
+
* Generated prop types for Global component - FlyOutMenuItem
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::4d03454d09bc7378f97365acaebe210d>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen-global
|
|
8
|
-
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/types/global-component-props.ts <<SignedSource::
|
|
9
|
-
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/components/global/
|
|
8
|
+
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/types/global-component-props.ts <<SignedSource::aab578f2ba0895fc1b3cb93dbae44c0f>>
|
|
9
|
+
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/components/global/FlyOutMenuItem.tsx <<SignedSource::75d879bd2f49ca97e971242cb58cf034>>
|
|
10
10
|
*/
|
|
11
11
|
/* eslint @repo/internal/codegen/signed-source-integrity: "warn" */
|
|
12
12
|
|
|
13
13
|
import type React from 'react';
|
|
14
14
|
|
|
15
|
-
export type
|
|
15
|
+
export type FlyOutMenuItemProps = {
|
|
16
16
|
/**
|
|
17
17
|
* The display label for the expandable menu item.
|
|
18
18
|
*/
|
|
@@ -23,4 +23,4 @@ export type GlobalFlyOutMenuItemProps = {
|
|
|
23
23
|
children: React.ReactElement | React.ReactElement[];
|
|
24
24
|
};
|
|
25
25
|
|
|
26
|
-
export type
|
|
26
|
+
export type TFlyOutMenuItem<T> = (props: FlyOutMenuItemProps) => T;
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Generated prop types for Global component - Global
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::9aea526029f99f643d08f68e4ca78c81>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen-global
|
|
8
|
-
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/types/global-component-props.ts <<SignedSource::
|
|
9
|
-
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/components/global/Global.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/types/global-component-props.ts <<SignedSource::aab578f2ba0895fc1b3cb93dbae44c0f>>
|
|
9
|
+
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/components/global/Global.tsx <<SignedSource::9aee7c039455fb759450cd9337e29685>>
|
|
10
10
|
*/
|
|
11
11
|
/* eslint @repo/internal/codegen/signed-source-integrity: "warn" */
|
|
12
12
|
|
|
@@ -14,7 +14,7 @@ import type React from 'react';
|
|
|
14
14
|
|
|
15
15
|
export type GlobalProps = {
|
|
16
16
|
/**
|
|
17
|
-
* Accepts
|
|
17
|
+
* Accepts CreateButton, HelpLink, Sidebar and Main components as children.
|
|
18
18
|
*/
|
|
19
19
|
children?: React.ReactElement | React.ReactElement[];
|
|
20
20
|
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
+
*
|
|
4
|
+
* Generated prop types for Global component - HelpLink
|
|
5
|
+
*
|
|
6
|
+
* @codegen <<SignedSource::7f8a5aa2f4e6c5d08ffea9f3d7127e82>>
|
|
7
|
+
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen-global
|
|
8
|
+
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/types/global-component-props.ts <<SignedSource::aab578f2ba0895fc1b3cb93dbae44c0f>>
|
|
9
|
+
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/components/global/HelpLink.tsx <<SignedSource::29aa1d2a5f3e491361497d3aa48fdade>>
|
|
10
|
+
*/
|
|
11
|
+
/* eslint @repo/internal/codegen/signed-source-integrity: "warn" */
|
|
12
|
+
|
|
13
|
+
export type HelpLinkProps = {
|
|
14
|
+
/**
|
|
15
|
+
* URL linking to external documentation. Opens in a new tab.
|
|
16
|
+
*/
|
|
17
|
+
href: string;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
export type THelpLink<T> = (props: HelpLinkProps) => T;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
3
|
*
|
|
4
|
-
* Generated prop types for Global component -
|
|
4
|
+
* Generated prop types for Global component - LinkMenuItem
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::62109dcfc1835ce979b975f84e9723bf>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen-global
|
|
8
|
-
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/types/global-component-props.ts <<SignedSource::
|
|
9
|
-
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/components/global/
|
|
8
|
+
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/types/global-component-props.ts <<SignedSource::aab578f2ba0895fc1b3cb93dbae44c0f>>
|
|
9
|
+
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/components/global/LinkMenuItem.tsx <<SignedSource::6cd2e6418fd76b15fec48eac7d5f8c00>>
|
|
10
10
|
*/
|
|
11
11
|
/* eslint @repo/internal/codegen/signed-source-integrity: "warn" */
|
|
12
12
|
|
|
13
|
-
export type
|
|
13
|
+
export type LinkMenuItemProps = {
|
|
14
14
|
/**
|
|
15
15
|
* The display label for the menu item.
|
|
16
16
|
*/
|
|
@@ -21,4 +21,4 @@ export type GlobalLinkMenuItemProps = {
|
|
|
21
21
|
href: string;
|
|
22
22
|
};
|
|
23
23
|
|
|
24
|
-
export type
|
|
24
|
+
export type TLinkMenuItem<T> = (props: LinkMenuItemProps) => T;
|
package/src/components/global/__generated__/{GlobalMainProps.codegen.tsx → MainProps.codegen.tsx}
RENAMED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
3
|
*
|
|
4
|
-
* Generated prop types for Global component -
|
|
4
|
+
* Generated prop types for Global component - Main
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::33ebf325eaa1b53499aec4588b3c3ba6>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen-global
|
|
8
|
-
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/types/global-component-props.ts <<SignedSource::
|
|
9
|
-
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/components/global/
|
|
8
|
+
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/types/global-component-props.ts <<SignedSource::aab578f2ba0895fc1b3cb93dbae44c0f>>
|
|
9
|
+
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/components/global/Main.tsx <<SignedSource::bb974180859b074b1c9d5d968529207a>>
|
|
10
10
|
*/
|
|
11
11
|
/* eslint @repo/internal/codegen/signed-source-integrity: "warn" */
|
|
12
12
|
|
|
13
13
|
import type React from 'react';
|
|
14
14
|
|
|
15
|
-
export type
|
|
15
|
+
export type MainProps = {
|
|
16
16
|
children?: React.ReactNode;
|
|
17
17
|
};
|
|
18
18
|
|
|
19
|
-
export type
|
|
19
|
+
export type TMain<T> = (props: MainProps) => T;
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
3
|
*
|
|
4
|
-
* Generated prop types for Global component -
|
|
4
|
+
* Generated prop types for Global component - Sidebar
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::3bd4acf60ee712140979357d54211bc5>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen-global
|
|
8
|
-
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/types/global-component-props.ts <<SignedSource::
|
|
9
|
-
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/components/global/
|
|
8
|
+
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/types/global-component-props.ts <<SignedSource::aab578f2ba0895fc1b3cb93dbae44c0f>>
|
|
9
|
+
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/components/global/Sidebar.tsx <<SignedSource::f6abab9890c10249756d7e8f73e34e85>>
|
|
10
10
|
*/
|
|
11
11
|
/* eslint @repo/internal/codegen/signed-source-integrity: "warn" */
|
|
12
12
|
|
|
13
13
|
import type React from 'react';
|
|
14
14
|
|
|
15
|
-
export type
|
|
15
|
+
export type SidebarProps = {
|
|
16
16
|
/**
|
|
17
17
|
* URL path for the "For You" section in the sidebar.
|
|
18
18
|
* When provided, enables the "For You" navigation item.
|
|
19
19
|
*/
|
|
20
20
|
forYouUrl?: string;
|
|
21
21
|
/**
|
|
22
|
-
* Accepts
|
|
22
|
+
* Accepts LinkMenuItem, ExpandableMenuItem and FlyOutMenuItem components.
|
|
23
23
|
*/
|
|
24
24
|
children?: React.ReactElement | React.ReactElement[];
|
|
25
25
|
};
|
|
26
26
|
|
|
27
|
-
export type
|
|
27
|
+
export type TSidebar<T> = (props: SidebarProps) => T;
|
|
@@ -3,17 +3,18 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Index file for generated Global component prop types
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::9438d9a368d57446ac11e95a54eb2895>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen-global
|
|
8
|
-
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/types/global-component-props.ts <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/types/global-component-props.ts <<SignedSource::aab578f2ba0895fc1b3cb93dbae44c0f>>
|
|
9
9
|
*/
|
|
10
10
|
/* eslint @repo/internal/codegen/signed-source-integrity: "warn" */
|
|
11
11
|
|
|
12
12
|
export type { GlobalProps, TGlobal } from './GlobalProps.codegen';
|
|
13
|
-
export type {
|
|
14
|
-
export type {
|
|
15
|
-
export type {
|
|
16
|
-
export type {
|
|
17
|
-
export type {
|
|
18
|
-
export type {
|
|
19
|
-
export type {
|
|
13
|
+
export type { MainProps, TMain } from './MainProps.codegen';
|
|
14
|
+
export type { SidebarProps, TSidebar } from './SidebarProps.codegen';
|
|
15
|
+
export type { LinkMenuItemProps, TLinkMenuItem } from './LinkMenuItemProps.codegen';
|
|
16
|
+
export type { ExpandableMenuItemProps, TExpandableMenuItem } from './ExpandableMenuItemProps.codegen';
|
|
17
|
+
export type { CreateButtonProps, TCreateButton } from './CreateButtonProps.codegen';
|
|
18
|
+
export type { CreateMenuItemProps, TCreateMenuItem } from './CreateMenuItemProps.codegen';
|
|
19
|
+
export type { FlyOutMenuItemProps, TFlyOutMenuItem } from './FlyOutMenuItemProps.codegen';
|
|
20
|
+
export type { HelpLinkProps, THelpLink } from './HelpLinkProps.codegen';
|
package/src/index.ts
CHANGED
|
@@ -164,16 +164,18 @@ export type { ChartColorTokens } from './types';
|
|
|
164
164
|
export type { FrameProps } from './components/frame';
|
|
165
165
|
|
|
166
166
|
export type {
|
|
167
|
-
GlobalSidebarProps,
|
|
168
|
-
TGlobalSidebar,
|
|
169
|
-
GlobalLinkMenuItemProps,
|
|
170
|
-
TGlobalLinkMenuItem,
|
|
171
|
-
GlobalExpandableMenuItemProps,
|
|
172
|
-
TGlobalExpandableMenuItem,
|
|
173
|
-
GlobalFlyOutMenuItemProps,
|
|
174
|
-
TGlobalFlyOutMenuItem,
|
|
175
167
|
GlobalProps,
|
|
176
168
|
TGlobal,
|
|
177
|
-
|
|
178
|
-
|
|
169
|
+
SidebarProps,
|
|
170
|
+
TSidebar,
|
|
171
|
+
LinkMenuItemProps,
|
|
172
|
+
TLinkMenuItem,
|
|
173
|
+
ExpandableMenuItemProps,
|
|
174
|
+
TExpandableMenuItem,
|
|
175
|
+
FlyOutMenuItemProps,
|
|
176
|
+
TFlyOutMenuItem,
|
|
177
|
+
MainProps,
|
|
178
|
+
TMain,
|
|
179
|
+
HelpLinkProps,
|
|
180
|
+
THelpLink,
|
|
179
181
|
} from './components/global/__generated__';
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
*
|
|
4
|
-
* Generated prop types for Global component - GlobalCreateButton
|
|
5
|
-
*
|
|
6
|
-
* @codegen <<SignedSource::778344dd2f53083b44d9a500a53547bc>>
|
|
7
|
-
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen-global
|
|
8
|
-
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/types/global-component-props.ts <<SignedSource::22a8bb81a36bca1a22c7a20a0fdb443f>>
|
|
9
|
-
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/components/global/Global-CreateButton.tsx <<SignedSource::0eaab1e478b405b93958134788305ee6>>
|
|
10
|
-
*/
|
|
11
|
-
import type { GlobalCreateMenuItemProps } from './GlobalCreateMenuItemProps.codegen';
|
|
12
|
-
export type GlobalCreateButtonProps = {
|
|
13
|
-
items: GlobalCreateMenuItemProps[];
|
|
14
|
-
};
|
|
15
|
-
export type TGlobalCreateButton<T> = (props: GlobalCreateButtonProps) => T;
|
package/dist/types-ts4.5/components/global/__generated__/GlobalCreateButtonProps.codegen.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
*
|
|
4
|
-
* Generated prop types for Global component - GlobalCreateButton
|
|
5
|
-
*
|
|
6
|
-
* @codegen <<SignedSource::778344dd2f53083b44d9a500a53547bc>>
|
|
7
|
-
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen-global
|
|
8
|
-
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/types/global-component-props.ts <<SignedSource::22a8bb81a36bca1a22c7a20a0fdb443f>>
|
|
9
|
-
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/components/global/Global-CreateButton.tsx <<SignedSource::0eaab1e478b405b93958134788305ee6>>
|
|
10
|
-
*/
|
|
11
|
-
import type { GlobalCreateMenuItemProps } from './GlobalCreateMenuItemProps.codegen';
|
|
12
|
-
export type GlobalCreateButtonProps = {
|
|
13
|
-
items: GlobalCreateMenuItemProps[];
|
|
14
|
-
};
|
|
15
|
-
export type TGlobalCreateButton<T> = (props: GlobalCreateButtonProps) => T;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
*
|
|
4
|
-
* Generated prop types for Global component - GlobalCreateButton
|
|
5
|
-
*
|
|
6
|
-
* @codegen <<SignedSource::778344dd2f53083b44d9a500a53547bc>>
|
|
7
|
-
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen-global
|
|
8
|
-
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/types/global-component-props.ts <<SignedSource::22a8bb81a36bca1a22c7a20a0fdb443f>>
|
|
9
|
-
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/components/global/Global-CreateButton.tsx <<SignedSource::0eaab1e478b405b93958134788305ee6>>
|
|
10
|
-
*/
|
|
11
|
-
/* eslint @repo/internal/codegen/signed-source-integrity: "warn" */
|
|
12
|
-
|
|
13
|
-
import type { GlobalCreateMenuItemProps } from './GlobalCreateMenuItemProps.codegen';
|
|
14
|
-
|
|
15
|
-
export type GlobalCreateButtonProps = {
|
|
16
|
-
items: GlobalCreateMenuItemProps[];
|
|
17
|
-
};
|
|
18
|
-
|
|
19
|
-
export type TGlobalCreateButton<T> = (props: GlobalCreateButtonProps) => T;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|