@atlaskit/forge-react-types 0.63.0 → 0.63.2
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/dist/cjs/components/__generated__/tokens.codegen.js +264 -264
- package/dist/cjs/components/global/__generated__/GlobalCreateButtonProps.codegen.js +5 -0
- package/dist/cjs/components/global/__generated__/GlobalCreateMenuItemProps.codegen.js +1 -0
- package/dist/cjs/components/global/__generated__/GlobalFlyOutMenuItemProps.codegen.js +5 -0
- package/dist/cjs/components/global/__generated__/GlobalTopNavProps.codegen.js +5 -0
- package/dist/es2019/components/__generated__/tokens.codegen.js +264 -264
- package/dist/es2019/components/global/__generated__/GlobalCreateButtonProps.codegen.js +1 -0
- package/dist/es2019/components/global/__generated__/GlobalCreateMenuItemProps.codegen.js +0 -0
- package/dist/es2019/components/global/__generated__/GlobalFlyOutMenuItemProps.codegen.js +1 -0
- package/dist/es2019/components/global/__generated__/GlobalTopNavProps.codegen.js +1 -0
- package/dist/esm/components/__generated__/tokens.codegen.js +264 -264
- package/dist/esm/components/global/__generated__/GlobalCreateButtonProps.codegen.js +1 -0
- package/dist/esm/components/global/__generated__/GlobalCreateMenuItemProps.codegen.js +0 -0
- package/dist/esm/components/global/__generated__/GlobalFlyOutMenuItemProps.codegen.js +1 -0
- package/dist/esm/components/global/__generated__/GlobalTopNavProps.codegen.js +1 -0
- package/dist/types/components/__generated__/InlineProps.codegen.d.ts +1 -1
- package/dist/types/components/__generated__/tokens.codegen.d.ts +3 -3
- package/dist/types/components/global/__generated__/GlobalCreateButtonProps.codegen.d.ts +15 -0
- package/dist/types/components/global/__generated__/GlobalCreateMenuItemProps.codegen.d.ts +21 -0
- package/dist/types/components/global/__generated__/GlobalExpandableMenuItemProps.codegen.d.ts +3 -3
- package/dist/types/components/global/__generated__/GlobalFlyOutMenuItemProps.codegen.d.ts +22 -0
- package/dist/types/components/global/__generated__/GlobalLinkMenuItemProps.codegen.d.ts +3 -3
- package/dist/types/components/global/__generated__/GlobalMainProps.codegen.d.ts +2 -2
- package/dist/types/components/global/__generated__/GlobalProps.codegen.d.ts +3 -3
- package/dist/types/components/global/__generated__/GlobalSidebarProps.codegen.d.ts +4 -4
- package/dist/types/components/global/__generated__/index.d.ts +5 -2
- package/dist/types-ts4.5/components/__generated__/InlineProps.codegen.d.ts +1 -1
- package/dist/types-ts4.5/components/__generated__/tokens.codegen.d.ts +3 -3
- package/dist/types-ts4.5/components/global/__generated__/GlobalCreateButtonProps.codegen.d.ts +15 -0
- package/dist/types-ts4.5/components/global/__generated__/GlobalCreateMenuItemProps.codegen.d.ts +21 -0
- package/dist/types-ts4.5/components/global/__generated__/GlobalExpandableMenuItemProps.codegen.d.ts +3 -3
- package/dist/types-ts4.5/components/global/__generated__/GlobalFlyOutMenuItemProps.codegen.d.ts +22 -0
- package/dist/types-ts4.5/components/global/__generated__/GlobalLinkMenuItemProps.codegen.d.ts +3 -3
- package/dist/types-ts4.5/components/global/__generated__/GlobalMainProps.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__/GlobalSidebarProps.codegen.d.ts +4 -4
- package/dist/types-ts4.5/components/global/__generated__/index.d.ts +5 -2
- package/package.json +6 -6
- package/scripts/codegen/codeGenerator.ts +23 -16
- package/scripts/codegen/typeSerializer.ts +11 -5
- package/src/components/__generated__/InlineProps.codegen.tsx +1 -1
- package/src/components/__generated__/tokens.codegen.tsx +265 -265
- package/src/components/charts/DonutChartProps.tsx +1 -1
- package/src/components/global/__generated__/GlobalCreateButtonProps.codegen.tsx +19 -0
- package/src/components/global/__generated__/GlobalCreateMenuItemProps.codegen.tsx +24 -0
- package/src/components/global/__generated__/GlobalExpandableMenuItemProps.codegen.tsx +3 -3
- package/src/components/global/__generated__/GlobalFlyOutMenuItemProps.codegen.tsx +26 -0
- package/src/components/global/__generated__/GlobalLinkMenuItemProps.codegen.tsx +3 -3
- package/src/components/global/__generated__/GlobalMainProps.codegen.tsx +2 -2
- package/src/components/global/__generated__/GlobalProps.codegen.tsx +3 -3
- package/src/components/global/__generated__/GlobalSidebarProps.codegen.tsx +4 -4
- package/src/components/global/__generated__/GlobalTopNavProps.codegen.tsx +22 -0
- package/src/components/global/__generated__/index.ts +5 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @codegenDependency ../../../../forge-ui/src/components/UIKit/inline/__generated__/index.partial.tsx <<SignedSource::8123157b2afe19d52b47110fb754d43b>>
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
|
-
import { Inline as PlatformInline } from
|
|
11
|
+
import { Inline as PlatformInline } from "@atlaskit/primitives/compiled";
|
|
12
12
|
type PlatformInlineProps = React.ComponentProps<typeof PlatformInline>;
|
|
13
13
|
export type InlineProps = Pick<PlatformInlineProps, 'children' | 'alignBlock' | 'alignInline' | 'spread' | 'grow' | 'space' | 'shouldWrap' | 'separator' | 'rowSpace' | 'testId'>;
|
|
14
14
|
/**
|
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Shared tokens file for UI Kit components. Contains design token maps for xcss support. Source: `packages/forge/forge-ui/src/components/UIKit/tokens.partial.tsx`
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::3ccd9b53fdc2907a6eda6b72e159d9c6>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/tokens.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/tokens.partial.tsx <<SignedSource::e30166598bcdedb0a9ec62bfb3712257>>
|
|
9
9
|
*/
|
|
10
10
|
import type { SerializedStyles } from '@emotion/serialize';
|
|
11
11
|
/**
|
|
12
12
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
13
|
-
* @codegen <<SignedSource::
|
|
13
|
+
* @codegen <<SignedSource::457e16d67f12c48bba8b2c36b755de56>>
|
|
14
14
|
* @codegenId forge-tokens
|
|
15
15
|
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles
|
|
16
16
|
* @codegenDependency ../../../../../design-system/primitives/scripts/codegen-file-templates/dimensions.tsx <<SignedSource::cc9b3f12104c6ede803da6a42daac0b0>>
|
|
@@ -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 - GlobalCreateButton
|
|
5
|
+
*
|
|
6
|
+
* @codegen <<SignedSource::525c8d7c3a97ee2f3beb4c9dfd20e205>>
|
|
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::036971f69832edbd2150cec400d3d5da>>
|
|
10
|
+
*/
|
|
11
|
+
import type { GlobalCreateMenuItemProps } from './GlobalCreateMenuItemProps.codegen';
|
|
12
|
+
export type GlobalCreateButtonProps = {
|
|
13
|
+
items: GlobalCreateMenuItemProps[];
|
|
14
|
+
};
|
|
15
|
+
export type TGlobalCreateButton<T> = (props: GlobalCreateButtonProps) => T;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
+
*
|
|
4
|
+
* Generated prop types for Global component - GlobalCreateMenuItem
|
|
5
|
+
*
|
|
6
|
+
* @codegen <<SignedSource::697b6e80333ba2ef3d2f001ddef30218>>
|
|
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-CreateMenuItem.tsx <<SignedSource::00ca0dd4a15eda264dd3522562795033>>
|
|
10
|
+
*/
|
|
11
|
+
export type GlobalCreateMenuItemProps = {
|
|
12
|
+
/**
|
|
13
|
+
* The display label for the create menu item.
|
|
14
|
+
*/
|
|
15
|
+
label: string;
|
|
16
|
+
/**
|
|
17
|
+
* The function to call when the create menu item is clicked.
|
|
18
|
+
*/
|
|
19
|
+
onClick: () => void;
|
|
20
|
+
};
|
|
21
|
+
export type TGlobalCreateMenuItem<T> = (props: GlobalCreateMenuItemProps) => T;
|
package/dist/types/components/global/__generated__/GlobalExpandableMenuItemProps.codegen.d.ts
CHANGED
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Generated prop types for Global component - GlobalExpandableMenuItem
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::adde83777ea00d1ebe1e2f1b4166aa17>>
|
|
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-ExpandableMenuItem.tsx <<SignedSource::
|
|
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-ExpandableMenuItem.tsx <<SignedSource::8600ea6c521d7fbc43864dafa22c4611>>
|
|
10
10
|
*/
|
|
11
11
|
import type React from 'react';
|
|
12
12
|
export type GlobalExpandableMenuItemProps = {
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
+
*
|
|
4
|
+
* Generated prop types for Global component - GlobalFlyOutMenuItem
|
|
5
|
+
*
|
|
6
|
+
* @codegen <<SignedSource::00cbf01089cf7630b3d532ee47662876>>
|
|
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-FlyOutMenuItem.tsx <<SignedSource::847a3b22853bfdba7814dfc74eaf4102>>
|
|
10
|
+
*/
|
|
11
|
+
import type React from 'react';
|
|
12
|
+
export type GlobalFlyOutMenuItemProps = {
|
|
13
|
+
/**
|
|
14
|
+
* The display label for the expandable menu item.
|
|
15
|
+
*/
|
|
16
|
+
label: string;
|
|
17
|
+
/**
|
|
18
|
+
* Should contain FlyoutMenuItemTrigger and FlyoutMenuItemContent
|
|
19
|
+
*/
|
|
20
|
+
children: React.ReactElement | React.ReactElement[];
|
|
21
|
+
};
|
|
22
|
+
export type TGlobalFlyOutMenuItem<T> = (props: GlobalFlyOutMenuItemProps) => T;
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Generated prop types for Global component - GlobalLinkMenuItem
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::aed33634d0608a30b844a54d220a86b9>>
|
|
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-LinkMenuItem.tsx <<SignedSource::
|
|
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-LinkMenuItem.tsx <<SignedSource::f77a57d889edea059bd3359fb8ae99d6>>
|
|
10
10
|
*/
|
|
11
11
|
export type GlobalLinkMenuItemProps = {
|
|
12
12
|
/**
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Generated prop types for Global component - GlobalMain
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::2c06a8c2e6f6dfd985803a93f3797008>>
|
|
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::22a8bb81a36bca1a22c7a20a0fdb443f>>
|
|
9
9
|
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/components/global/Global-Main.tsx <<SignedSource::082e248420c3447666672693808d6a2f>>
|
|
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::dc26650f5175c32e77801052e29ac77a>>
|
|
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::22a8bb81a36bca1a22c7a20a0fdb443f>>
|
|
9
|
+
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/components/global/Global.tsx <<SignedSource::e8a1a673580436ef3edc94860819d332>>
|
|
10
10
|
*/
|
|
11
11
|
import type React from 'react';
|
|
12
12
|
export type GlobalProps = {
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Generated prop types for Global component - GlobalSidebar
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::801b8c50439e535a59d02fc552de2ba6>>
|
|
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-Sidebar.tsx <<SignedSource::
|
|
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-Sidebar.tsx <<SignedSource::cdeaedb1f8277703adc781e514cecf61>>
|
|
10
10
|
*/
|
|
11
11
|
import type React from 'react';
|
|
12
12
|
export type GlobalSidebarProps = {
|
|
@@ -16,7 +16,7 @@ export type GlobalSidebarProps = {
|
|
|
16
16
|
*/
|
|
17
17
|
forYouUrl?: string;
|
|
18
18
|
/**
|
|
19
|
-
* Accepts Global.LinkMenuItem and Global.
|
|
19
|
+
* Accepts Global.LinkMenuItem, Global.ExpandableMenuItem and Global.FlyOutMenuItem components.
|
|
20
20
|
*/
|
|
21
21
|
children?: React.ReactElement | React.ReactElement[];
|
|
22
22
|
};
|
|
@@ -3,12 +3,15 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Index file for generated Global component prop types
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::86cea54045416a32c21b72b830c8288f>>
|
|
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::22a8bb81a36bca1a22c7a20a0fdb443f>>
|
|
9
9
|
*/
|
|
10
10
|
export type { GlobalProps, TGlobal } from './GlobalProps.codegen';
|
|
11
11
|
export type { GlobalMainProps, TGlobalMain } from './GlobalMainProps.codegen';
|
|
12
12
|
export type { GlobalSidebarProps, TGlobalSidebar } from './GlobalSidebarProps.codegen';
|
|
13
13
|
export type { GlobalLinkMenuItemProps, TGlobalLinkMenuItem } from './GlobalLinkMenuItemProps.codegen';
|
|
14
14
|
export type { GlobalExpandableMenuItemProps, TGlobalExpandableMenuItem } from './GlobalExpandableMenuItemProps.codegen';
|
|
15
|
+
export type { GlobalCreateButtonProps, TGlobalCreateButton } from './GlobalCreateButtonProps.codegen';
|
|
16
|
+
export type { GlobalCreateMenuItemProps, TGlobalCreateMenuItem } from './GlobalCreateMenuItemProps.codegen';
|
|
17
|
+
export type { GlobalFlyOutMenuItemProps, TGlobalFlyOutMenuItem } from './GlobalFlyOutMenuItemProps.codegen';
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @codegenDependency ../../../../forge-ui/src/components/UIKit/inline/__generated__/index.partial.tsx <<SignedSource::8123157b2afe19d52b47110fb754d43b>>
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
|
-
import { Inline as PlatformInline } from
|
|
11
|
+
import { Inline as PlatformInline } from "@atlaskit/primitives/compiled";
|
|
12
12
|
type PlatformInlineProps = React.ComponentProps<typeof PlatformInline>;
|
|
13
13
|
export type InlineProps = Pick<PlatformInlineProps, 'children' | 'alignBlock' | 'alignInline' | 'spread' | 'grow' | 'space' | 'shouldWrap' | 'separator' | 'rowSpace' | 'testId'>;
|
|
14
14
|
/**
|
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Shared tokens file for UI Kit components. Contains design token maps for xcss support. Source: `packages/forge/forge-ui/src/components/UIKit/tokens.partial.tsx`
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::3ccd9b53fdc2907a6eda6b72e159d9c6>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/tokens.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/tokens.partial.tsx <<SignedSource::e30166598bcdedb0a9ec62bfb3712257>>
|
|
9
9
|
*/
|
|
10
10
|
import type { SerializedStyles } from '@emotion/serialize';
|
|
11
11
|
/**
|
|
12
12
|
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
13
|
-
* @codegen <<SignedSource::
|
|
13
|
+
* @codegen <<SignedSource::457e16d67f12c48bba8b2c36b755de56>>
|
|
14
14
|
* @codegenId forge-tokens
|
|
15
15
|
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles
|
|
16
16
|
* @codegenDependency ../../../../../design-system/primitives/scripts/codegen-file-templates/dimensions.tsx <<SignedSource::cc9b3f12104c6ede803da6a42daac0b0>>
|
|
@@ -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 - GlobalCreateButton
|
|
5
|
+
*
|
|
6
|
+
* @codegen <<SignedSource::525c8d7c3a97ee2f3beb4c9dfd20e205>>
|
|
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::036971f69832edbd2150cec400d3d5da>>
|
|
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__/GlobalCreateMenuItemProps.codegen.d.ts
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
+
*
|
|
4
|
+
* Generated prop types for Global component - GlobalCreateMenuItem
|
|
5
|
+
*
|
|
6
|
+
* @codegen <<SignedSource::697b6e80333ba2ef3d2f001ddef30218>>
|
|
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-CreateMenuItem.tsx <<SignedSource::00ca0dd4a15eda264dd3522562795033>>
|
|
10
|
+
*/
|
|
11
|
+
export type GlobalCreateMenuItemProps = {
|
|
12
|
+
/**
|
|
13
|
+
* The display label for the create menu item.
|
|
14
|
+
*/
|
|
15
|
+
label: string;
|
|
16
|
+
/**
|
|
17
|
+
* The function to call when the create menu item is clicked.
|
|
18
|
+
*/
|
|
19
|
+
onClick: () => void;
|
|
20
|
+
};
|
|
21
|
+
export type TGlobalCreateMenuItem<T> = (props: GlobalCreateMenuItemProps) => T;
|
package/dist/types-ts4.5/components/global/__generated__/GlobalExpandableMenuItemProps.codegen.d.ts
CHANGED
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Generated prop types for Global component - GlobalExpandableMenuItem
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::adde83777ea00d1ebe1e2f1b4166aa17>>
|
|
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-ExpandableMenuItem.tsx <<SignedSource::
|
|
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-ExpandableMenuItem.tsx <<SignedSource::8600ea6c521d7fbc43864dafa22c4611>>
|
|
10
10
|
*/
|
|
11
11
|
import type React from 'react';
|
|
12
12
|
export type GlobalExpandableMenuItemProps = {
|
package/dist/types-ts4.5/components/global/__generated__/GlobalFlyOutMenuItemProps.codegen.d.ts
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
+
*
|
|
4
|
+
* Generated prop types for Global component - GlobalFlyOutMenuItem
|
|
5
|
+
*
|
|
6
|
+
* @codegen <<SignedSource::00cbf01089cf7630b3d532ee47662876>>
|
|
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-FlyOutMenuItem.tsx <<SignedSource::847a3b22853bfdba7814dfc74eaf4102>>
|
|
10
|
+
*/
|
|
11
|
+
import type React from 'react';
|
|
12
|
+
export type GlobalFlyOutMenuItemProps = {
|
|
13
|
+
/**
|
|
14
|
+
* The display label for the expandable menu item.
|
|
15
|
+
*/
|
|
16
|
+
label: string;
|
|
17
|
+
/**
|
|
18
|
+
* Should contain FlyoutMenuItemTrigger and FlyoutMenuItemContent
|
|
19
|
+
*/
|
|
20
|
+
children: React.ReactElement | React.ReactElement[];
|
|
21
|
+
};
|
|
22
|
+
export type TGlobalFlyOutMenuItem<T> = (props: GlobalFlyOutMenuItemProps) => T;
|
package/dist/types-ts4.5/components/global/__generated__/GlobalLinkMenuItemProps.codegen.d.ts
CHANGED
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Generated prop types for Global component - GlobalLinkMenuItem
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::aed33634d0608a30b844a54d220a86b9>>
|
|
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-LinkMenuItem.tsx <<SignedSource::
|
|
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-LinkMenuItem.tsx <<SignedSource::f77a57d889edea059bd3359fb8ae99d6>>
|
|
10
10
|
*/
|
|
11
11
|
export type GlobalLinkMenuItemProps = {
|
|
12
12
|
/**
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Generated prop types for Global component - GlobalMain
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::2c06a8c2e6f6dfd985803a93f3797008>>
|
|
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::22a8bb81a36bca1a22c7a20a0fdb443f>>
|
|
9
9
|
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/components/global/Global-Main.tsx <<SignedSource::082e248420c3447666672693808d6a2f>>
|
|
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::dc26650f5175c32e77801052e29ac77a>>
|
|
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::22a8bb81a36bca1a22c7a20a0fdb443f>>
|
|
9
|
+
* @codegenDependency ../../../../../../../services/forge-common-app-gateway/src/components/global/Global.tsx <<SignedSource::e8a1a673580436ef3edc94860819d332>>
|
|
10
10
|
*/
|
|
11
11
|
import type React from 'react';
|
|
12
12
|
export type GlobalProps = {
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Generated prop types for Global component - GlobalSidebar
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::801b8c50439e535a59d02fc552de2ba6>>
|
|
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-Sidebar.tsx <<SignedSource::
|
|
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-Sidebar.tsx <<SignedSource::cdeaedb1f8277703adc781e514cecf61>>
|
|
10
10
|
*/
|
|
11
11
|
import type React from 'react';
|
|
12
12
|
export type GlobalSidebarProps = {
|
|
@@ -16,7 +16,7 @@ export type GlobalSidebarProps = {
|
|
|
16
16
|
*/
|
|
17
17
|
forYouUrl?: string;
|
|
18
18
|
/**
|
|
19
|
-
* Accepts Global.LinkMenuItem and Global.
|
|
19
|
+
* Accepts Global.LinkMenuItem, Global.ExpandableMenuItem and Global.FlyOutMenuItem components.
|
|
20
20
|
*/
|
|
21
21
|
children?: React.ReactElement | React.ReactElement[];
|
|
22
22
|
};
|
|
@@ -3,12 +3,15 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Index file for generated Global component prop types
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::86cea54045416a32c21b72b830c8288f>>
|
|
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::22a8bb81a36bca1a22c7a20a0fdb443f>>
|
|
9
9
|
*/
|
|
10
10
|
export type { GlobalProps, TGlobal } from './GlobalProps.codegen';
|
|
11
11
|
export type { GlobalMainProps, TGlobalMain } from './GlobalMainProps.codegen';
|
|
12
12
|
export type { GlobalSidebarProps, TGlobalSidebar } from './GlobalSidebarProps.codegen';
|
|
13
13
|
export type { GlobalLinkMenuItemProps, TGlobalLinkMenuItem } from './GlobalLinkMenuItemProps.codegen';
|
|
14
14
|
export type { GlobalExpandableMenuItemProps, TGlobalExpandableMenuItem } from './GlobalExpandableMenuItemProps.codegen';
|
|
15
|
+
export type { GlobalCreateButtonProps, TGlobalCreateButton } from './GlobalCreateButtonProps.codegen';
|
|
16
|
+
export type { GlobalCreateMenuItemProps, TGlobalCreateMenuItem } from './GlobalCreateMenuItemProps.codegen';
|
|
17
|
+
export type { GlobalFlyOutMenuItemProps, TGlobalFlyOutMenuItem } from './GlobalFlyOutMenuItemProps.codegen';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/forge-react-types",
|
|
3
|
-
"version": "0.63.
|
|
3
|
+
"version": "0.63.2",
|
|
4
4
|
"description": "Component types for Forge UI Kit React components",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -21,14 +21,14 @@
|
|
|
21
21
|
"team": "Forge UI"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@atlaskit/button": "^23.
|
|
24
|
+
"@atlaskit/button": "^23.10.0",
|
|
25
25
|
"@atlaskit/comment": "^13.2.0",
|
|
26
26
|
"@atlaskit/datetime-picker": "^17.5.0",
|
|
27
27
|
"@atlaskit/dynamic-table": "^18.3.0",
|
|
28
|
-
"@atlaskit/form": "^15.
|
|
28
|
+
"@atlaskit/form": "^15.4.0",
|
|
29
29
|
"@atlaskit/inline-edit": "^15.6.0",
|
|
30
|
-
"@atlaskit/modal-dialog": "^14.
|
|
31
|
-
"@atlaskit/navigation-system": "^
|
|
30
|
+
"@atlaskit/modal-dialog": "^14.11.0",
|
|
31
|
+
"@atlaskit/navigation-system": "^6.0.0",
|
|
32
32
|
"@atlaskit/object": "^1.0.0",
|
|
33
33
|
"@atlaskit/popup": "^4.13.0",
|
|
34
34
|
"@atlaskit/primitives": "^18.0.0",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
58
|
"@atlassian/codegen": "^0.1.0",
|
|
59
|
-
"@atlassian/forge-ui": "^32.
|
|
59
|
+
"@atlassian/forge-ui": "^32.90.0",
|
|
60
60
|
"@types/node": "^24.0.0",
|
|
61
61
|
"lodash": "^4.17.21",
|
|
62
62
|
"react": "^18.2.0",
|
|
@@ -185,26 +185,31 @@ class ImportDeclarationProxy implements IImportDeclaration {
|
|
|
185
185
|
|
|
186
186
|
public getText() {
|
|
187
187
|
const code = this.base.getText();
|
|
188
|
-
|
|
189
|
-
const match = code.match(
|
|
188
|
+
|
|
189
|
+
const match = code.match(
|
|
190
|
+
/^(import(?:\s+type)?)\s+(?:(\w+)\s*,?\s*)?(?:\{([^}]*)\})?\s*from\s*['"](.+)['"];?$/,
|
|
191
|
+
);
|
|
190
192
|
if (!match) {
|
|
191
193
|
return this.base.getText();
|
|
192
194
|
}
|
|
193
|
-
|
|
195
|
+
|
|
194
196
|
let [_, importKeyword, defaultImport, namedImportsStr, packageName] = match;
|
|
195
|
-
|
|
197
|
+
|
|
196
198
|
let namedImportsList = namedImportsStr
|
|
197
|
-
? namedImportsStr
|
|
199
|
+
? namedImportsStr
|
|
200
|
+
.trim()
|
|
201
|
+
.split(',')
|
|
202
|
+
.map((text) => text.trim())
|
|
203
|
+
.filter(Boolean)
|
|
198
204
|
: [];
|
|
199
205
|
|
|
200
|
-
|
|
201
206
|
if (this.removedNamedImports.size > 0) {
|
|
202
207
|
namedImportsList = namedImportsList.filter((text) => !this.removedNamedImports.has(text));
|
|
203
208
|
}
|
|
204
209
|
if (this.addedNamedImports) {
|
|
205
210
|
namedImportsList = Array.from(new Set([...namedImportsList, ...this.addedNamedImports]));
|
|
206
211
|
}
|
|
207
|
-
|
|
212
|
+
|
|
208
213
|
// Build the import statement
|
|
209
214
|
const parts: string[] = [];
|
|
210
215
|
if (defaultImport) {
|
|
@@ -213,12 +218,12 @@ class ImportDeclarationProxy implements IImportDeclaration {
|
|
|
213
218
|
if (namedImportsList.length > 0) {
|
|
214
219
|
parts.push(`{ ${namedImportsList.sort().join(', ')} }`);
|
|
215
220
|
}
|
|
216
|
-
|
|
221
|
+
|
|
217
222
|
// If no imports left, don't output anything
|
|
218
223
|
if (parts.length === 0) {
|
|
219
224
|
return '';
|
|
220
225
|
}
|
|
221
|
-
|
|
226
|
+
|
|
222
227
|
return `${importKeyword} ${parts.join(', ')} from '${packageName}';`;
|
|
223
228
|
}
|
|
224
229
|
}
|
|
@@ -342,7 +347,10 @@ const mergeImportsFromSameModule = (code: string): string => {
|
|
|
342
347
|
}
|
|
343
348
|
|
|
344
349
|
// Add merged imports back
|
|
345
|
-
for (const [
|
|
350
|
+
for (const [
|
|
351
|
+
module,
|
|
352
|
+
{ typeOnly, regular, defaultImport, namespaceImport, isTypeOnly },
|
|
353
|
+
] of importsByModule) {
|
|
346
354
|
// Handle namespace imports separately (can't be combined with named imports)
|
|
347
355
|
if (namespaceImport) {
|
|
348
356
|
tempFile.addImportDeclaration({
|
|
@@ -384,7 +392,6 @@ const mergeImportsFromSameModule = (code: string): string => {
|
|
|
384
392
|
return tempFile.getFullText();
|
|
385
393
|
};
|
|
386
394
|
|
|
387
|
-
|
|
388
395
|
// handles imports from platform/packages/forge/forge-ui/src/components/UIKit/tokens.partial.tsx
|
|
389
396
|
// (can be type-only imports OR mixed value/type imports)
|
|
390
397
|
const isSharedUIKit2TokensImport = (importDeclaration: ImportDeclaration) => {
|
|
@@ -1005,11 +1012,11 @@ const extractImportsForVariables = (
|
|
|
1005
1012
|
|
|
1006
1013
|
for (const importDecl of imports) {
|
|
1007
1014
|
const moduleSpecifier = importDecl.getModuleSpecifierValue();
|
|
1008
|
-
|
|
1015
|
+
|
|
1009
1016
|
// Handle imports from @atlaskit packages or tokens.partial file
|
|
1010
1017
|
const isAtlaskitImport = moduleSpecifier.startsWith('@atlaskit/');
|
|
1011
1018
|
const isTokensImport = isTokensPartialImport(moduleSpecifier);
|
|
1012
|
-
|
|
1019
|
+
|
|
1013
1020
|
if (isAtlaskitImport || isTokensImport) {
|
|
1014
1021
|
const namedImports = importDecl.getNamedImports();
|
|
1015
1022
|
const isTypeOnlyImport = importDecl.isTypeOnly();
|
|
@@ -1039,7 +1046,7 @@ const extractImportsForVariables = (
|
|
|
1039
1046
|
if (usedNamedImports.length > 0 || usedTypeImports.length > 0) {
|
|
1040
1047
|
// Rewrite tokens.partial imports to tokens.codegen
|
|
1041
1048
|
const targetModule = isTokensImport ? './tokens.codegen' : moduleSpecifier;
|
|
1042
|
-
|
|
1049
|
+
|
|
1043
1050
|
// Combine type and value imports into a single { } block
|
|
1044
1051
|
const allImports: string[] = [
|
|
1045
1052
|
...usedTypeImports.map((name) => `type ${name}`),
|
|
@@ -1090,7 +1097,7 @@ const handleXCSSProp: CodeConsolidator = ({
|
|
|
1090
1097
|
const xcssValidatorDeclarationCode = utilsFile.getEmitOutput({
|
|
1091
1098
|
emitOnlyDtsFiles: true,
|
|
1092
1099
|
}).compilerObject.outputFiles[0].text;
|
|
1093
|
-
|
|
1100
|
+
|
|
1094
1101
|
const xcssValidatorVariableDeclarationCode = [
|
|
1095
1102
|
xcssValidatorDeclarationCode,
|
|
1096
1103
|
variableImportsCode,
|
|
@@ -1112,7 +1119,7 @@ const handleXCSSProp: CodeConsolidator = ({
|
|
|
1112
1119
|
]
|
|
1113
1120
|
.filter((code) => !!code)
|
|
1114
1121
|
.join('\n\n');
|
|
1115
|
-
|
|
1122
|
+
|
|
1116
1123
|
// Merge duplicate imports from the same module (e.g., multiple tokens.codegen imports)
|
|
1117
1124
|
return mergeImportsFromSameModule(allCode);
|
|
1118
1125
|
} finally {
|
|
@@ -147,7 +147,9 @@ const flattenPickType = (
|
|
|
147
147
|
// Currently we only support union type with same property signatures or a superset signature
|
|
148
148
|
// as we assume this setup is to support gradual type changes behind feature flags.
|
|
149
149
|
// other use cases are not supported currently.
|
|
150
|
-
throw new Error(
|
|
150
|
+
throw new Error(
|
|
151
|
+
`Unsupported union prop type with multiple different property signatures, ${prop.getName()}`,
|
|
152
|
+
);
|
|
151
153
|
}
|
|
152
154
|
|
|
153
155
|
const propertySignature = propertySignatures[0];
|
|
@@ -178,7 +180,9 @@ const extractPropertySignatures = (prop: TSSymbol): PropertySignature[] => {
|
|
|
178
180
|
if (!declarations) {
|
|
179
181
|
return [];
|
|
180
182
|
}
|
|
181
|
-
const signatures = declarations.filter(
|
|
183
|
+
const signatures = declarations.filter(
|
|
184
|
+
(decl) => decl.getKind() === SyntaxKind.PropertySignature,
|
|
185
|
+
) as PropertySignature[];
|
|
182
186
|
if (signatures.length <= 1) {
|
|
183
187
|
return signatures;
|
|
184
188
|
}
|
|
@@ -229,9 +233,11 @@ const isTypeAssignableTo = (prop: TSSymbol, sourceType: TSType, targetType: TSTy
|
|
|
229
233
|
|
|
230
234
|
// ts typecker has an intneral method `isTypeAssignableTo` we can leverage here:
|
|
231
235
|
// https://github.com/microsoft/TypeScript/pull/56448
|
|
232
|
-
return (
|
|
233
|
-
|
|
234
|
-
|
|
236
|
+
return (
|
|
237
|
+
typeChecker as unknown as {
|
|
238
|
+
isTypeAssignableTo: (source: unknown, target: unknown) => boolean;
|
|
239
|
+
}
|
|
240
|
+
).isTypeAssignableTo(sourceType.compilerType, targetType.compilerType);
|
|
235
241
|
};
|
|
236
242
|
|
|
237
243
|
const getUnresolvableTypes = (tsType: TSType) => {
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
/* eslint @repo/internal/codegen/signed-source-integrity: "warn" */
|
|
11
11
|
|
|
12
12
|
import React from 'react';
|
|
13
|
-
import { Inline as PlatformInline } from
|
|
13
|
+
import { Inline as PlatformInline } from "@atlaskit/primitives/compiled";
|
|
14
14
|
|
|
15
15
|
type PlatformInlineProps = React.ComponentProps<typeof PlatformInline>;
|
|
16
16
|
|