@atlaskit/forge-react-types 0.66.0 → 0.67.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 +7 -0
- package/dist/cjs/components/global/__generated__/PersonalSettingsItemProps.codegen.js +1 -0
- package/dist/cjs/components/global/__generated__/PersonalSettingsProps.codegen.js +5 -0
- package/dist/es2019/components/global/__generated__/PersonalSettingsItemProps.codegen.js +0 -0
- package/dist/es2019/components/global/__generated__/PersonalSettingsProps.codegen.js +1 -0
- package/dist/esm/components/global/__generated__/PersonalSettingsItemProps.codegen.js +0 -0
- package/dist/esm/components/global/__generated__/PersonalSettingsProps.codegen.js +1 -0
- package/dist/types/components/global/__generated__/CreateButtonProps.codegen.d.ts +3 -3
- package/dist/types/components/global/__generated__/CreateMenuItemProps.codegen.d.ts +2 -2
- package/dist/types/components/global/__generated__/ExpandableMenuItemProps.codegen.d.ts +2 -2
- package/dist/types/components/global/__generated__/FlyOutMenuItemProps.codegen.d.ts +2 -2
- package/dist/types/components/global/__generated__/GlobalProps.codegen.d.ts +3 -3
- package/dist/types/components/global/__generated__/HelpLinkProps.codegen.d.ts +2 -2
- package/dist/types/components/global/__generated__/LinkMenuItemProps.codegen.d.ts +2 -2
- package/dist/types/components/global/__generated__/MainProps.codegen.d.ts +2 -2
- package/dist/types/components/global/__generated__/PersonalSettingsItemProps.codegen.d.ts +25 -0
- package/dist/types/components/global/__generated__/PersonalSettingsProps.codegen.d.ts +15 -0
- package/dist/types/components/global/__generated__/SidebarProps.codegen.d.ts +2 -2
- package/dist/types/components/global/__generated__/index.d.ts +4 -2
- package/dist/types/index.d.ts +1 -1
- package/dist/types-ts4.5/components/global/__generated__/CreateButtonProps.codegen.d.ts +3 -3
- package/dist/types-ts4.5/components/global/__generated__/CreateMenuItemProps.codegen.d.ts +2 -2
- package/dist/types-ts4.5/components/global/__generated__/ExpandableMenuItemProps.codegen.d.ts +2 -2
- package/dist/types-ts4.5/components/global/__generated__/FlyOutMenuItemProps.codegen.d.ts +2 -2
- package/dist/types-ts4.5/components/global/__generated__/GlobalProps.codegen.d.ts +3 -3
- package/dist/types-ts4.5/components/global/__generated__/HelpLinkProps.codegen.d.ts +2 -2
- package/dist/types-ts4.5/components/global/__generated__/LinkMenuItemProps.codegen.d.ts +2 -2
- package/dist/types-ts4.5/components/global/__generated__/MainProps.codegen.d.ts +2 -2
- package/dist/types-ts4.5/components/global/__generated__/PersonalSettingsItemProps.codegen.d.ts +25 -0
- package/dist/types-ts4.5/components/global/__generated__/PersonalSettingsProps.codegen.d.ts +15 -0
- package/dist/types-ts4.5/components/global/__generated__/SidebarProps.codegen.d.ts +2 -2
- package/dist/types-ts4.5/components/global/__generated__/index.d.ts +4 -2
- package/dist/types-ts4.5/index.d.ts +1 -1
- package/package.json +6 -6
- package/src/components/global/__generated__/CreateButtonProps.codegen.tsx +3 -3
- package/src/components/global/__generated__/CreateMenuItemProps.codegen.tsx +2 -2
- package/src/components/global/__generated__/ExpandableMenuItemProps.codegen.tsx +2 -2
- package/src/components/global/__generated__/FlyOutMenuItemProps.codegen.tsx +2 -2
- package/src/components/global/__generated__/GlobalProps.codegen.tsx +3 -3
- package/src/components/global/__generated__/HelpLinkProps.codegen.tsx +2 -2
- package/src/components/global/__generated__/LinkMenuItemProps.codegen.tsx +2 -2
- package/src/components/global/__generated__/MainProps.codegen.tsx +2 -2
- package/src/components/global/__generated__/PersonalSettingsItemProps.codegen.tsx +28 -0
- package/src/components/global/__generated__/PersonalSettingsProps.codegen.tsx +19 -0
- package/src/components/global/__generated__/SidebarProps.codegen.tsx +2 -2
- package/src/components/global/__generated__/index.ts +4 -2
- package/src/index.ts +4 -0
package/CHANGELOG.md
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Generated prop types for Global component - CreateButton
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::d932e1123381956e7d12c0b25c9728fe>>
|
|
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/CreateButton.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/types/global-component-props.ts <<SignedSource::c749a1bc5e1017e1bcbe09febba5a9a3>>
|
|
9
|
+
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/components/global/CreateButton.tsx <<SignedSource::f0f45db7e816f86123ead4b6a7f6ac9c>>
|
|
10
10
|
*/
|
|
11
11
|
import type React from 'react';
|
|
12
12
|
export type CreateButtonProps = {
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Generated prop types for Global component - CreateMenuItem
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::a931517b525edc40b4f26cc658aa3268>>
|
|
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::c749a1bc5e1017e1bcbe09febba5a9a3>>
|
|
9
9
|
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/components/global/CreateMenuItem.tsx <<SignedSource::d568a9366bd7492cba2463a202fa6668>>
|
|
10
10
|
*/
|
|
11
11
|
export type CreateMenuItemProps = {
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Generated prop types for Global component - ExpandableMenuItem
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::c0d15e6d9f41fbd47c72b0f6c76ca0df>>
|
|
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::c749a1bc5e1017e1bcbe09febba5a9a3>>
|
|
9
9
|
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/components/global/ExpandableMenuItem.tsx <<SignedSource::554f1c54ee96d013c0112275732eb8fc>>
|
|
10
10
|
*/
|
|
11
11
|
import type React from 'react';
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Generated prop types for Global component - FlyOutMenuItem
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::0cf7d558f9355a704b55f09b99fd7019>>
|
|
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::c749a1bc5e1017e1bcbe09febba5a9a3>>
|
|
9
9
|
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/components/global/FlyOutMenuItem.tsx <<SignedSource::75d879bd2f49ca97e971242cb58cf034>>
|
|
10
10
|
*/
|
|
11
11
|
import type React from 'react';
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Generated prop types for Global component - Global
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::a8e81abb12fa154730f041c5fcea562a>>
|
|
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::c749a1bc5e1017e1bcbe09febba5a9a3>>
|
|
9
|
+
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/components/global/Global.tsx <<SignedSource::b4500860438e817a62661edd6326b5e5>>
|
|
10
10
|
*/
|
|
11
11
|
import type React from 'react';
|
|
12
12
|
export type GlobalProps = {
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Generated prop types for Global component - HelpLink
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::a155b0d8f06303a1f2a22b46f07b871f>>
|
|
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::c749a1bc5e1017e1bcbe09febba5a9a3>>
|
|
9
9
|
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/components/global/HelpLink.tsx <<SignedSource::29aa1d2a5f3e491361497d3aa48fdade>>
|
|
10
10
|
*/
|
|
11
11
|
export type HelpLinkProps = {
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Generated prop types for Global component - LinkMenuItem
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::ba80a20245324b98e40aa448a1955a8f>>
|
|
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::c749a1bc5e1017e1bcbe09febba5a9a3>>
|
|
9
9
|
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/components/global/LinkMenuItem.tsx <<SignedSource::6cd2e6418fd76b15fec48eac7d5f8c00>>
|
|
10
10
|
*/
|
|
11
11
|
export type LinkMenuItemProps = {
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Generated prop types for Global component - Main
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::652ff96cd8dd2ee0d20f7eb04a40843e>>
|
|
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::c749a1bc5e1017e1bcbe09febba5a9a3>>
|
|
9
9
|
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/components/global/Main.tsx <<SignedSource::bb974180859b074b1c9d5d968529207a>>
|
|
10
10
|
*/
|
|
11
11
|
import type React from 'react';
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
+
*
|
|
4
|
+
* Generated prop types for Global component - PersonalSettingsItem
|
|
5
|
+
*
|
|
6
|
+
* @codegen <<SignedSource::47455d0b4bb5ac066f0570c5ee7af1ea>>
|
|
7
|
+
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen-global
|
|
8
|
+
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/types/global-component-props.ts <<SignedSource::c749a1bc5e1017e1bcbe09febba5a9a3>>
|
|
9
|
+
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/components/global/PersonalSettingsItem.tsx <<SignedSource::230e1660e2c537351d8d467d8532a5cc>>
|
|
10
|
+
*/
|
|
11
|
+
export type PersonalSettingsItemProps = {
|
|
12
|
+
/**
|
|
13
|
+
* The display label for the personal settings item.
|
|
14
|
+
*/
|
|
15
|
+
label: string;
|
|
16
|
+
/**
|
|
17
|
+
* An optional description shown below the label.
|
|
18
|
+
*/
|
|
19
|
+
description?: string;
|
|
20
|
+
/**
|
|
21
|
+
* The function to call when the personal settings item is clicked.
|
|
22
|
+
*/
|
|
23
|
+
onClick: () => void;
|
|
24
|
+
};
|
|
25
|
+
export type TPersonalSettingsItem<T> = (props: PersonalSettingsItemProps) => T;
|
|
@@ -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 - PersonalSettings
|
|
5
|
+
*
|
|
6
|
+
* @codegen <<SignedSource::e514fca41a3f46e5db6cc121ea6e42e5>>
|
|
7
|
+
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen-global
|
|
8
|
+
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/types/global-component-props.ts <<SignedSource::c749a1bc5e1017e1bcbe09febba5a9a3>>
|
|
9
|
+
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/components/global/PersonalSettings.tsx <<SignedSource::c65f45e6ad7ac1513e2cddbf3b101cc0>>
|
|
10
|
+
*/
|
|
11
|
+
import type React from 'react';
|
|
12
|
+
export type PersonalSettingsProps = {
|
|
13
|
+
children?: React.ReactElement | React.ReactElement[];
|
|
14
|
+
};
|
|
15
|
+
export type TPersonalSettings<T> = (props: PersonalSettingsProps) => T;
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Generated prop types for Global component - Sidebar
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::feee23952eb932a49578c51095f16c74>>
|
|
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::c749a1bc5e1017e1bcbe09febba5a9a3>>
|
|
9
9
|
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/components/global/Sidebar.tsx <<SignedSource::f6abab9890c10249756d7e8f73e34e85>>
|
|
10
10
|
*/
|
|
11
11
|
import type React from 'react';
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Index file for generated Global component prop types
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::5bfaa3d4d96123b00f66ce1a54f40e2f>>
|
|
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::c749a1bc5e1017e1bcbe09febba5a9a3>>
|
|
9
9
|
*/
|
|
10
10
|
export type { GlobalProps, TGlobal } from './GlobalProps.codegen';
|
|
11
11
|
export type { MainProps, TMain } from './MainProps.codegen';
|
|
@@ -16,3 +16,5 @@ export type { CreateButtonProps, TCreateButton } from './CreateButtonProps.codeg
|
|
|
16
16
|
export type { CreateMenuItemProps, TCreateMenuItem } from './CreateMenuItemProps.codegen';
|
|
17
17
|
export type { FlyOutMenuItemProps, TFlyOutMenuItem } from './FlyOutMenuItemProps.codegen';
|
|
18
18
|
export type { HelpLinkProps, THelpLink } from './HelpLinkProps.codegen';
|
|
19
|
+
export type { PersonalSettingsProps, TPersonalSettings } from './PersonalSettingsProps.codegen';
|
|
20
|
+
export type { PersonalSettingsItemProps, TPersonalSettingsItem } from './PersonalSettingsItemProps.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 { GlobalProps, TGlobal, SidebarProps, TSidebar, LinkMenuItemProps, TLinkMenuItem, ExpandableMenuItemProps, TExpandableMenuItem, FlyOutMenuItemProps, TFlyOutMenuItem, MainProps, TMain, HelpLinkProps, THelpLink, } from './components/global/__generated__';
|
|
6
|
+
export type { GlobalProps, TGlobal, SidebarProps, TSidebar, LinkMenuItemProps, TLinkMenuItem, ExpandableMenuItemProps, TExpandableMenuItem, FlyOutMenuItemProps, TFlyOutMenuItem, MainProps, TMain, HelpLinkProps, THelpLink, PersonalSettingsProps, TPersonalSettings, PersonalSettingsItemProps, TPersonalSettingsItem, } from './components/global/__generated__';
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Generated prop types for Global component - CreateButton
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::d932e1123381956e7d12c0b25c9728fe>>
|
|
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/CreateButton.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/types/global-component-props.ts <<SignedSource::c749a1bc5e1017e1bcbe09febba5a9a3>>
|
|
9
|
+
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/components/global/CreateButton.tsx <<SignedSource::f0f45db7e816f86123ead4b6a7f6ac9c>>
|
|
10
10
|
*/
|
|
11
11
|
import type React from 'react';
|
|
12
12
|
export type CreateButtonProps = {
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Generated prop types for Global component - CreateMenuItem
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::a931517b525edc40b4f26cc658aa3268>>
|
|
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::c749a1bc5e1017e1bcbe09febba5a9a3>>
|
|
9
9
|
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/components/global/CreateMenuItem.tsx <<SignedSource::d568a9366bd7492cba2463a202fa6668>>
|
|
10
10
|
*/
|
|
11
11
|
export type CreateMenuItemProps = {
|
package/dist/types-ts4.5/components/global/__generated__/ExpandableMenuItemProps.codegen.d.ts
CHANGED
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Generated prop types for Global component - ExpandableMenuItem
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::c0d15e6d9f41fbd47c72b0f6c76ca0df>>
|
|
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::c749a1bc5e1017e1bcbe09febba5a9a3>>
|
|
9
9
|
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/components/global/ExpandableMenuItem.tsx <<SignedSource::554f1c54ee96d013c0112275732eb8fc>>
|
|
10
10
|
*/
|
|
11
11
|
import type React from 'react';
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Generated prop types for Global component - FlyOutMenuItem
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::0cf7d558f9355a704b55f09b99fd7019>>
|
|
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::c749a1bc5e1017e1bcbe09febba5a9a3>>
|
|
9
9
|
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/components/global/FlyOutMenuItem.tsx <<SignedSource::75d879bd2f49ca97e971242cb58cf034>>
|
|
10
10
|
*/
|
|
11
11
|
import type React from 'react';
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Generated prop types for Global component - Global
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::a8e81abb12fa154730f041c5fcea562a>>
|
|
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::c749a1bc5e1017e1bcbe09febba5a9a3>>
|
|
9
|
+
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/components/global/Global.tsx <<SignedSource::b4500860438e817a62661edd6326b5e5>>
|
|
10
10
|
*/
|
|
11
11
|
import type React from 'react';
|
|
12
12
|
export type GlobalProps = {
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Generated prop types for Global component - HelpLink
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::a155b0d8f06303a1f2a22b46f07b871f>>
|
|
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::c749a1bc5e1017e1bcbe09febba5a9a3>>
|
|
9
9
|
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/components/global/HelpLink.tsx <<SignedSource::29aa1d2a5f3e491361497d3aa48fdade>>
|
|
10
10
|
*/
|
|
11
11
|
export type HelpLinkProps = {
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Generated prop types for Global component - LinkMenuItem
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::ba80a20245324b98e40aa448a1955a8f>>
|
|
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::c749a1bc5e1017e1bcbe09febba5a9a3>>
|
|
9
9
|
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/components/global/LinkMenuItem.tsx <<SignedSource::6cd2e6418fd76b15fec48eac7d5f8c00>>
|
|
10
10
|
*/
|
|
11
11
|
export type LinkMenuItemProps = {
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Generated prop types for Global component - Main
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::652ff96cd8dd2ee0d20f7eb04a40843e>>
|
|
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::c749a1bc5e1017e1bcbe09febba5a9a3>>
|
|
9
9
|
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/components/global/Main.tsx <<SignedSource::bb974180859b074b1c9d5d968529207a>>
|
|
10
10
|
*/
|
|
11
11
|
import type React from 'react';
|
package/dist/types-ts4.5/components/global/__generated__/PersonalSettingsItemProps.codegen.d.ts
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
+
*
|
|
4
|
+
* Generated prop types for Global component - PersonalSettingsItem
|
|
5
|
+
*
|
|
6
|
+
* @codegen <<SignedSource::47455d0b4bb5ac066f0570c5ee7af1ea>>
|
|
7
|
+
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen-global
|
|
8
|
+
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/types/global-component-props.ts <<SignedSource::c749a1bc5e1017e1bcbe09febba5a9a3>>
|
|
9
|
+
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/components/global/PersonalSettingsItem.tsx <<SignedSource::230e1660e2c537351d8d467d8532a5cc>>
|
|
10
|
+
*/
|
|
11
|
+
export type PersonalSettingsItemProps = {
|
|
12
|
+
/**
|
|
13
|
+
* The display label for the personal settings item.
|
|
14
|
+
*/
|
|
15
|
+
label: string;
|
|
16
|
+
/**
|
|
17
|
+
* An optional description shown below the label.
|
|
18
|
+
*/
|
|
19
|
+
description?: string;
|
|
20
|
+
/**
|
|
21
|
+
* The function to call when the personal settings item is clicked.
|
|
22
|
+
*/
|
|
23
|
+
onClick: () => void;
|
|
24
|
+
};
|
|
25
|
+
export type TPersonalSettingsItem<T> = (props: PersonalSettingsItemProps) => T;
|
|
@@ -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 - PersonalSettings
|
|
5
|
+
*
|
|
6
|
+
* @codegen <<SignedSource::e514fca41a3f46e5db6cc121ea6e42e5>>
|
|
7
|
+
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen-global
|
|
8
|
+
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/types/global-component-props.ts <<SignedSource::c749a1bc5e1017e1bcbe09febba5a9a3>>
|
|
9
|
+
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/components/global/PersonalSettings.tsx <<SignedSource::c65f45e6ad7ac1513e2cddbf3b101cc0>>
|
|
10
|
+
*/
|
|
11
|
+
import type React from 'react';
|
|
12
|
+
export type PersonalSettingsProps = {
|
|
13
|
+
children?: React.ReactElement | React.ReactElement[];
|
|
14
|
+
};
|
|
15
|
+
export type TPersonalSettings<T> = (props: PersonalSettingsProps) => T;
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Generated prop types for Global component - Sidebar
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::feee23952eb932a49578c51095f16c74>>
|
|
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::c749a1bc5e1017e1bcbe09febba5a9a3>>
|
|
9
9
|
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/components/global/Sidebar.tsx <<SignedSource::f6abab9890c10249756d7e8f73e34e85>>
|
|
10
10
|
*/
|
|
11
11
|
import type React from 'react';
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Index file for generated Global component prop types
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::5bfaa3d4d96123b00f66ce1a54f40e2f>>
|
|
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::c749a1bc5e1017e1bcbe09febba5a9a3>>
|
|
9
9
|
*/
|
|
10
10
|
export type { GlobalProps, TGlobal } from './GlobalProps.codegen';
|
|
11
11
|
export type { MainProps, TMain } from './MainProps.codegen';
|
|
@@ -16,3 +16,5 @@ export type { CreateButtonProps, TCreateButton } from './CreateButtonProps.codeg
|
|
|
16
16
|
export type { CreateMenuItemProps, TCreateMenuItem } from './CreateMenuItemProps.codegen';
|
|
17
17
|
export type { FlyOutMenuItemProps, TFlyOutMenuItem } from './FlyOutMenuItemProps.codegen';
|
|
18
18
|
export type { HelpLinkProps, THelpLink } from './HelpLinkProps.codegen';
|
|
19
|
+
export type { PersonalSettingsProps, TPersonalSettings } from './PersonalSettingsProps.codegen';
|
|
20
|
+
export type { PersonalSettingsItemProps, TPersonalSettingsItem } from './PersonalSettingsItemProps.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 { GlobalProps, TGlobal, SidebarProps, TSidebar, LinkMenuItemProps, TLinkMenuItem, ExpandableMenuItemProps, TExpandableMenuItem, FlyOutMenuItemProps, TFlyOutMenuItem, MainProps, TMain, HelpLinkProps, THelpLink, } from './components/global/__generated__';
|
|
6
|
+
export type { GlobalProps, TGlobal, SidebarProps, TSidebar, LinkMenuItemProps, TLinkMenuItem, ExpandableMenuItemProps, TExpandableMenuItem, FlyOutMenuItemProps, TFlyOutMenuItem, MainProps, TMain, HelpLinkProps, THelpLink, PersonalSettingsProps, TPersonalSettings, PersonalSettingsItemProps, TPersonalSettingsItem, } 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.67.0",
|
|
4
4
|
"description": "Component types for Forge UI Kit React components",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"team": "Forge UI"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@atlaskit/button": "^23.
|
|
24
|
+
"@atlaskit/button": "^23.11.0",
|
|
25
25
|
"@atlaskit/comment": "^13.2.0",
|
|
26
26
|
"@atlaskit/datetime-picker": "^17.6.0",
|
|
27
27
|
"@atlaskit/dynamic-table": "^18.3.0",
|
|
@@ -37,14 +37,14 @@
|
|
|
37
37
|
"@atlaskit/radio": "^8.5.0",
|
|
38
38
|
"@atlaskit/section-message": "^8.12.0",
|
|
39
39
|
"@atlaskit/select": "^21.10.0",
|
|
40
|
-
"@atlaskit/spinner": "^19.
|
|
40
|
+
"@atlaskit/spinner": "^19.1.0",
|
|
41
41
|
"@atlaskit/tabs": "^19.0.0",
|
|
42
|
-
"@atlaskit/tag": "^14.
|
|
42
|
+
"@atlaskit/tag": "^14.7.0",
|
|
43
43
|
"@atlaskit/tag-group": "^12.0.0",
|
|
44
44
|
"@atlaskit/textarea": "^8.2.0",
|
|
45
|
-
"@atlaskit/textfield": "^8.
|
|
45
|
+
"@atlaskit/textfield": "^8.3.0",
|
|
46
46
|
"@atlaskit/tile": "^1.0.0",
|
|
47
|
-
"@atlaskit/toggle": "^15.
|
|
47
|
+
"@atlaskit/toggle": "^15.3.0",
|
|
48
48
|
"@atlaskit/tokens": "^11.4.0",
|
|
49
49
|
"@atlaskit/tooltip": "^21.1.0",
|
|
50
50
|
"@babel/runtime": "^7.0.0",
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Generated prop types for Global component - CreateButton
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::d932e1123381956e7d12c0b25c9728fe>>
|
|
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/CreateButton.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/types/global-component-props.ts <<SignedSource::c749a1bc5e1017e1bcbe09febba5a9a3>>
|
|
9
|
+
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/components/global/CreateButton.tsx <<SignedSource::f0f45db7e816f86123ead4b6a7f6ac9c>>
|
|
10
10
|
*/
|
|
11
11
|
/* eslint @repo/internal/codegen/signed-source-integrity: "warn" */
|
|
12
12
|
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Generated prop types for Global component - CreateMenuItem
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::a931517b525edc40b4f26cc658aa3268>>
|
|
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::c749a1bc5e1017e1bcbe09febba5a9a3>>
|
|
9
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" */
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Generated prop types for Global component - ExpandableMenuItem
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::c0d15e6d9f41fbd47c72b0f6c76ca0df>>
|
|
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::c749a1bc5e1017e1bcbe09febba5a9a3>>
|
|
9
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" */
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Generated prop types for Global component - FlyOutMenuItem
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::0cf7d558f9355a704b55f09b99fd7019>>
|
|
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::c749a1bc5e1017e1bcbe09febba5a9a3>>
|
|
9
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" */
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Generated prop types for Global component - Global
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::a8e81abb12fa154730f041c5fcea562a>>
|
|
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::c749a1bc5e1017e1bcbe09febba5a9a3>>
|
|
9
|
+
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/components/global/Global.tsx <<SignedSource::b4500860438e817a62661edd6326b5e5>>
|
|
10
10
|
*/
|
|
11
11
|
/* eslint @repo/internal/codegen/signed-source-integrity: "warn" */
|
|
12
12
|
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Generated prop types for Global component - HelpLink
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::a155b0d8f06303a1f2a22b46f07b871f>>
|
|
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::c749a1bc5e1017e1bcbe09febba5a9a3>>
|
|
9
9
|
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/components/global/HelpLink.tsx <<SignedSource::29aa1d2a5f3e491361497d3aa48fdade>>
|
|
10
10
|
*/
|
|
11
11
|
/* eslint @repo/internal/codegen/signed-source-integrity: "warn" */
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Generated prop types for Global component - LinkMenuItem
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::ba80a20245324b98e40aa448a1955a8f>>
|
|
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::c749a1bc5e1017e1bcbe09febba5a9a3>>
|
|
9
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" */
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Generated prop types for Global component - Main
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::652ff96cd8dd2ee0d20f7eb04a40843e>>
|
|
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::c749a1bc5e1017e1bcbe09febba5a9a3>>
|
|
9
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" */
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
+
*
|
|
4
|
+
* Generated prop types for Global component - PersonalSettingsItem
|
|
5
|
+
*
|
|
6
|
+
* @codegen <<SignedSource::47455d0b4bb5ac066f0570c5ee7af1ea>>
|
|
7
|
+
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen-global
|
|
8
|
+
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/types/global-component-props.ts <<SignedSource::c749a1bc5e1017e1bcbe09febba5a9a3>>
|
|
9
|
+
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/components/global/PersonalSettingsItem.tsx <<SignedSource::230e1660e2c537351d8d467d8532a5cc>>
|
|
10
|
+
*/
|
|
11
|
+
/* eslint @repo/internal/codegen/signed-source-integrity: "warn" */
|
|
12
|
+
|
|
13
|
+
export type PersonalSettingsItemProps = {
|
|
14
|
+
/**
|
|
15
|
+
* The display label for the personal settings item.
|
|
16
|
+
*/
|
|
17
|
+
label: string;
|
|
18
|
+
/**
|
|
19
|
+
* An optional description shown below the label.
|
|
20
|
+
*/
|
|
21
|
+
description?: string;
|
|
22
|
+
/**
|
|
23
|
+
* The function to call when the personal settings item is clicked.
|
|
24
|
+
*/
|
|
25
|
+
onClick: () => void;
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
export type TPersonalSettingsItem<T> = (props: PersonalSettingsItemProps) => T;
|
|
@@ -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 - PersonalSettings
|
|
5
|
+
*
|
|
6
|
+
* @codegen <<SignedSource::e514fca41a3f46e5db6cc121ea6e42e5>>
|
|
7
|
+
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen-global
|
|
8
|
+
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/types/global-component-props.ts <<SignedSource::c749a1bc5e1017e1bcbe09febba5a9a3>>
|
|
9
|
+
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/components/global/PersonalSettings.tsx <<SignedSource::c65f45e6ad7ac1513e2cddbf3b101cc0>>
|
|
10
|
+
*/
|
|
11
|
+
/* eslint @repo/internal/codegen/signed-source-integrity: "warn" */
|
|
12
|
+
|
|
13
|
+
import type React from 'react';
|
|
14
|
+
|
|
15
|
+
export type PersonalSettingsProps = {
|
|
16
|
+
children?: React.ReactElement | React.ReactElement[];
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
export type TPersonalSettings<T> = (props: PersonalSettingsProps) => T;
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Generated prop types for Global component - Sidebar
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::feee23952eb932a49578c51095f16c74>>
|
|
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::c749a1bc5e1017e1bcbe09febba5a9a3>>
|
|
9
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" */
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Index file for generated Global component prop types
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::5bfaa3d4d96123b00f66ce1a54f40e2f>>
|
|
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::c749a1bc5e1017e1bcbe09febba5a9a3>>
|
|
9
9
|
*/
|
|
10
10
|
/* eslint @repo/internal/codegen/signed-source-integrity: "warn" */
|
|
11
11
|
|
|
@@ -18,3 +18,5 @@ export type { CreateButtonProps, TCreateButton } from './CreateButtonProps.codeg
|
|
|
18
18
|
export type { CreateMenuItemProps, TCreateMenuItem } from './CreateMenuItemProps.codegen';
|
|
19
19
|
export type { FlyOutMenuItemProps, TFlyOutMenuItem } from './FlyOutMenuItemProps.codegen';
|
|
20
20
|
export type { HelpLinkProps, THelpLink } from './HelpLinkProps.codegen';
|
|
21
|
+
export type { PersonalSettingsProps, TPersonalSettings } from './PersonalSettingsProps.codegen';
|
|
22
|
+
export type { PersonalSettingsItemProps, TPersonalSettingsItem } from './PersonalSettingsItemProps.codegen';
|