@atlaskit/forge-react-types 0.34.14 → 0.34.15
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 +9 -0
- package/dist/types/components/__generated__/GridProps.codegen.d.ts +6 -2
- package/dist/types/components/__generated__/HeadingProps.codegen.d.ts +6 -2
- package/dist/types/components/__generated__/InlineProps.codegen.d.ts +6 -2
- package/dist/types/components/__generated__/LozengeProps.codegen.d.ts +6 -2
- package/dist/types/components/__generated__/ModalBodyProps.codegen.d.ts +6 -2
- package/dist/types/components/__generated__/ModalFooterProps.codegen.d.ts +6 -2
- package/dist/types/components/__generated__/ModalHeaderProps.codegen.d.ts +6 -2
- package/dist/types/components/__generated__/ModalProps.codegen.d.ts +6 -2
- package/dist/types/components/__generated__/ModalTitleProps.codegen.d.ts +6 -2
- package/dist/types/components/__generated__/ModalTransitionProps.codegen.d.ts +6 -2
- package/dist/types/components/__generated__/ProgressBarProps.codegen.d.ts +6 -2
- package/dist/types/components/__generated__/ProgressTrackerProps.codegen.d.ts +6 -2
- package/dist/types-ts4.5/components/__generated__/GridProps.codegen.d.ts +6 -2
- package/dist/types-ts4.5/components/__generated__/HeadingProps.codegen.d.ts +6 -2
- package/dist/types-ts4.5/components/__generated__/InlineProps.codegen.d.ts +6 -2
- package/dist/types-ts4.5/components/__generated__/LozengeProps.codegen.d.ts +6 -2
- package/dist/types-ts4.5/components/__generated__/ModalBodyProps.codegen.d.ts +6 -2
- package/dist/types-ts4.5/components/__generated__/ModalFooterProps.codegen.d.ts +6 -2
- package/dist/types-ts4.5/components/__generated__/ModalHeaderProps.codegen.d.ts +6 -2
- package/dist/types-ts4.5/components/__generated__/ModalProps.codegen.d.ts +6 -2
- package/dist/types-ts4.5/components/__generated__/ModalTitleProps.codegen.d.ts +6 -2
- package/dist/types-ts4.5/components/__generated__/ModalTransitionProps.codegen.d.ts +6 -2
- package/dist/types-ts4.5/components/__generated__/ProgressBarProps.codegen.d.ts +6 -2
- package/dist/types-ts4.5/components/__generated__/ProgressTrackerProps.codegen.d.ts +6 -2
- package/package.json +1 -1
- package/src/components/__generated__/GridProps.codegen.tsx +8 -3
- package/src/components/__generated__/HeadingProps.codegen.tsx +8 -3
- package/src/components/__generated__/InlineProps.codegen.tsx +8 -3
- package/src/components/__generated__/LozengeProps.codegen.tsx +8 -3
- package/src/components/__generated__/ModalBodyProps.codegen.tsx +8 -3
- package/src/components/__generated__/ModalFooterProps.codegen.tsx +8 -3
- package/src/components/__generated__/ModalHeaderProps.codegen.tsx +8 -3
- package/src/components/__generated__/ModalProps.codegen.tsx +8 -3
- package/src/components/__generated__/ModalTitleProps.codegen.tsx +8 -3
- package/src/components/__generated__/ModalTransitionProps.codegen.tsx +8 -3
- package/src/components/__generated__/ProgressBarProps.codegen.tsx +8 -3
- package/src/components/__generated__/ProgressTrackerProps.codegen.tsx +14 -15
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @atlaskit/forge-react-types
|
|
2
2
|
|
|
3
|
+
## 0.34.15
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#107926](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/107926)
|
|
8
|
+
[`78e2651afa16d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/78e2651afa16d) -
|
|
9
|
+
Migrate grid, heading, inline, lozenge, modal, progress bar, and progress tracker to using
|
|
10
|
+
component props config
|
|
11
|
+
|
|
3
12
|
## 0.34.14
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
|
@@ -3,12 +3,16 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - GridProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::07521208ceecb2f983ac27cfe7466068>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/grid/__generated__/index.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/grid/__generated__/index.partial.tsx <<SignedSource::60c78d870736339df6ff194f55503b37>>
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import { Grid as PlatformGrid } from '@atlaskit/primitives';
|
|
12
12
|
type PlatformGridProps = React.ComponentProps<typeof PlatformGrid>;
|
|
13
13
|
export type GridProps = Pick<PlatformGridProps, 'children' | 'justifyContent' | 'justifyItems' | 'alignItems' | 'alignContent' | 'columnGap' | 'gap' | 'rowGap' | 'autoFlow' | 'templateRows' | 'templateColumns' | 'id' | 'testId' | 'role'>;
|
|
14
|
+
/**
|
|
15
|
+
* Primitives are token-backed low-level building blocks.
|
|
16
|
+
*/
|
|
17
|
+
export type TGrid<T> = (props: GridProps) => T;
|
|
14
18
|
export {};
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - HeadingProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::f5b58f64c5c8cfbaff45b7d288ec4ffd>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/heading/__generated__/index.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/heading/__generated__/index.partial.tsx <<SignedSource::b9f5a7af9c404be1b3bf1e55075715fc>>
|
|
9
9
|
*/
|
|
10
10
|
import type { HeadingProps as PlatformHeadingProps } from '@atlaskit/heading';
|
|
11
11
|
type HeadingTags = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
|
|
@@ -15,4 +15,8 @@ export type HeadingProps = Pick<PlatformHeadingProps, 'children' | 'id' | 'testI
|
|
|
15
15
|
as: HeadingTags;
|
|
16
16
|
color?: NewColors | TemporaryColors;
|
|
17
17
|
};
|
|
18
|
+
/**
|
|
19
|
+
* A heading is a typography component used to display text in different sizes and formats.
|
|
20
|
+
*/
|
|
21
|
+
export type THeading<T> = (props: HeadingProps) => T;
|
|
18
22
|
export {};
|
|
@@ -3,12 +3,16 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - InlineProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::f154fd7caa18fc53a1369bb9f496909c>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/inline/__generated__/index.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/inline/__generated__/index.partial.tsx <<SignedSource::6f1af1d5438263ed1f6833c78c741ed9>>
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import { Inline as PlatformInline } from '@atlaskit/primitives';
|
|
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
|
+
/**
|
|
15
|
+
* Primitives are token-backed low-level building blocks.
|
|
16
|
+
*/
|
|
17
|
+
export type TInline<T> = (props: InlineProps) => T;
|
|
14
18
|
export {};
|
|
@@ -3,12 +3,16 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - LozengeProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::010c29755ec75417d1649af3008801cd>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/lozenge/__generated__/index.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/lozenge/__generated__/index.partial.tsx <<SignedSource::20810ed29278b94c2bf310c8d80efdf8>>
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import PlatformLozenge from '@atlaskit/lozenge';
|
|
12
12
|
type PlatformLozengeProps = React.ComponentProps<typeof PlatformLozenge>;
|
|
13
13
|
export type LozengeProps = Pick<PlatformLozengeProps, 'appearance' | 'children' | 'isBold' | 'maxWidth' | 'testId'>;
|
|
14
|
+
/**
|
|
15
|
+
* A lozenge is a visual indicator used to highlight an item's status for quick recognition.
|
|
16
|
+
*/
|
|
17
|
+
export type TLozenge<T> = (props: LozengeProps) => T;
|
|
14
18
|
export {};
|
|
@@ -3,12 +3,16 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - ModalBodyProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::f6704cd3ad5b9e900de7e400b133ad53>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/modal/__generated__/modal-body.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/modal/__generated__/modal-body.partial.tsx <<SignedSource::0fe5715703e89dfc44882777af179380>>
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import { ModalBody as PlatformModalBody } from '@atlaskit/modal-dialog';
|
|
12
12
|
type PlatformModalBodyProps = React.ComponentProps<typeof PlatformModalBody>;
|
|
13
13
|
export type ModalBodyProps = Pick<PlatformModalBodyProps, 'children' | 'testId'>;
|
|
14
|
+
/**
|
|
15
|
+
* A modal dialog displays content that requires user interaction, in a layer above the page.
|
|
16
|
+
*/
|
|
17
|
+
export type TModalBody<T> = (props: ModalBodyProps) => T;
|
|
14
18
|
export {};
|
|
@@ -3,12 +3,16 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - ModalFooterProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::05f974150dc64ca59a44eb0b121cf773>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/modal/__generated__/modal-footer.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/modal/__generated__/modal-footer.partial.tsx <<SignedSource::fd05c385dd42dfcac111c9ddd8c13a28>>
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import { ModalFooter as PlatformModalFooter } from '@atlaskit/modal-dialog';
|
|
12
12
|
type PlatformModalFooterProps = React.ComponentProps<typeof PlatformModalFooter>;
|
|
13
13
|
export type ModalFooterProps = Pick<PlatformModalFooterProps, 'children' | 'testId'>;
|
|
14
|
+
/**
|
|
15
|
+
* A modal dialog displays content that requires user interaction, in a layer above the page.
|
|
16
|
+
*/
|
|
17
|
+
export type TModalFooter<T> = (props: ModalFooterProps) => T;
|
|
14
18
|
export {};
|
|
@@ -3,12 +3,16 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - ModalHeaderProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::c3bc5fde61f2e698aba9b95565c0d268>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/modal/__generated__/modal-header.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/modal/__generated__/modal-header.partial.tsx <<SignedSource::932c9f34f6cd6919fe5b8bcf072745dc>>
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import { ModalHeader as PlatformModalHeader } from '@atlaskit/modal-dialog';
|
|
12
12
|
type PlatformModalHeaderProps = React.ComponentProps<typeof PlatformModalHeader>;
|
|
13
13
|
export type ModalHeaderProps = Pick<PlatformModalHeaderProps, 'children' | 'testId'>;
|
|
14
|
+
/**
|
|
15
|
+
* A modal dialog displays content that requires user interaction, in a layer above the page.
|
|
16
|
+
*/
|
|
17
|
+
export type TModalHeader<T> = (props: ModalHeaderProps) => T;
|
|
14
18
|
export {};
|
|
@@ -3,12 +3,16 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - ModalProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::cf8fdc3365a68de44b1fe4995c306218>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/modal/__generated__/index.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/modal/__generated__/index.partial.tsx <<SignedSource::3bf621bc2d484c5789face984482559d>>
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import PlatformModalDialog from '@atlaskit/modal-dialog';
|
|
12
12
|
type PlatformModalDialogProps = React.ComponentProps<typeof PlatformModalDialog>;
|
|
13
13
|
export type ModalProps = Pick<PlatformModalDialogProps, 'autoFocus' | 'children' | 'height' | 'width' | 'onClose' | 'shouldScrollInViewport' | 'label' | 'testId'>;
|
|
14
|
+
/**
|
|
15
|
+
* A modal dialog displays content that requires user interaction, in a layer above the page.
|
|
16
|
+
*/
|
|
17
|
+
export type TModal<T> = (props: ModalProps) => T;
|
|
14
18
|
export {};
|
|
@@ -3,12 +3,16 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - ModalTitleProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::18cc7e23ba187aae2f8e2d8631801b53>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/modal/__generated__/modal-title.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/modal/__generated__/modal-title.partial.tsx <<SignedSource::996c8299a68e072c936b0023b61bdc20>>
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import { ModalTitle as PlatformModalTitle } from '@atlaskit/modal-dialog';
|
|
12
12
|
type PlatformModalTitleProps = React.ComponentProps<typeof PlatformModalTitle>;
|
|
13
13
|
export type ModalTitleProps = Pick<PlatformModalTitleProps, 'appearance' | 'children' | 'isMultiline' | 'testId'>;
|
|
14
|
+
/**
|
|
15
|
+
* A modal dialog displays content that requires user interaction, in a layer above the page.
|
|
16
|
+
*/
|
|
17
|
+
export type TModalTitle<T> = (props: ModalTitleProps) => T;
|
|
14
18
|
export {};
|
|
@@ -3,12 +3,16 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - ModalTransitionProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::9d4490cd7b1938efec7181c83258a4c5>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/modal/__generated__/modal-transition.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/modal/__generated__/modal-transition.partial.tsx <<SignedSource::7f1f7ea64369d3e65533dffbbcec26d7>>
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import { ModalTransition as PlatformModalTransition } from '@atlaskit/modal-dialog';
|
|
12
12
|
type PlatformModalTransitionProps = React.ComponentProps<typeof PlatformModalTransition>;
|
|
13
13
|
export type ModalTransitionProps = Pick<PlatformModalTransitionProps, 'children'>;
|
|
14
|
+
/**
|
|
15
|
+
* A modal dialog displays content that requires user interaction, in a layer above the page.
|
|
16
|
+
*/
|
|
17
|
+
export type TModalTransition<T> = (props: ModalTransitionProps) => T;
|
|
14
18
|
export {};
|
|
@@ -3,12 +3,16 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - ProgressBarProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::311fb087e468c54b326bbb425bd62594>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/progressbar/__generated__/index.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/progressbar/__generated__/index.partial.tsx <<SignedSource::aafdad776f93c659dc29fdb27eca9027>>
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import PlatformProgressBar from '@atlaskit/progress-bar';
|
|
12
12
|
type PlatformProgressBarProps = React.ComponentProps<typeof PlatformProgressBar>;
|
|
13
13
|
export type ProgressBarProps = Pick<PlatformProgressBarProps, 'appearance' | 'ariaLabel' | 'isIndeterminate' | 'testId' | 'value'>;
|
|
14
|
+
/**
|
|
15
|
+
* A progress bar communicates the status of a system process.
|
|
16
|
+
*/
|
|
17
|
+
export type TProgressBar<T> = (props: ProgressBarProps) => T;
|
|
14
18
|
export {};
|
|
@@ -3,13 +3,17 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - ProgressTrackerProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::936e27b6592ef14e79d5fe0a336ceb81>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/progresstracker/__generated__/index.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/progresstracker/__generated__/index.partial.tsx <<SignedSource::50d000e383a00beab96a51973f57c769>>
|
|
9
9
|
*/
|
|
10
10
|
import type { ProgressTrackerProps as PlatformProgressTrackerProps, Stage as PlatformStage } from '@atlaskit/progress-tracker';
|
|
11
11
|
type Stage = Pick<PlatformStage, 'id' | 'label' | 'percentageComplete' | 'status' | 'onClick'>;
|
|
12
12
|
export type ProgressTrackerProps = Pick<PlatformProgressTrackerProps, 'label' | 'testId'> & Partial<Pick<PlatformProgressTrackerProps, 'animated' | 'spacing'>> & {
|
|
13
13
|
items: Array<Stage>;
|
|
14
14
|
};
|
|
15
|
+
/**
|
|
16
|
+
* A progress tracker displays the steps and progress through a journey.
|
|
17
|
+
*/
|
|
18
|
+
export type TProgressTracker<T> = (props: ProgressTrackerProps) => T;
|
|
15
19
|
export {};
|
|
@@ -3,12 +3,16 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - GridProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::07521208ceecb2f983ac27cfe7466068>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/grid/__generated__/index.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/grid/__generated__/index.partial.tsx <<SignedSource::60c78d870736339df6ff194f55503b37>>
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import { Grid as PlatformGrid } from '@atlaskit/primitives';
|
|
12
12
|
type PlatformGridProps = React.ComponentProps<typeof PlatformGrid>;
|
|
13
13
|
export type GridProps = Pick<PlatformGridProps, 'children' | 'justifyContent' | 'justifyItems' | 'alignItems' | 'alignContent' | 'columnGap' | 'gap' | 'rowGap' | 'autoFlow' | 'templateRows' | 'templateColumns' | 'id' | 'testId' | 'role'>;
|
|
14
|
+
/**
|
|
15
|
+
* Primitives are token-backed low-level building blocks.
|
|
16
|
+
*/
|
|
17
|
+
export type TGrid<T> = (props: GridProps) => T;
|
|
14
18
|
export {};
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - HeadingProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::f5b58f64c5c8cfbaff45b7d288ec4ffd>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/heading/__generated__/index.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/heading/__generated__/index.partial.tsx <<SignedSource::b9f5a7af9c404be1b3bf1e55075715fc>>
|
|
9
9
|
*/
|
|
10
10
|
import type { HeadingProps as PlatformHeadingProps } from '@atlaskit/heading';
|
|
11
11
|
type HeadingTags = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
|
|
@@ -15,4 +15,8 @@ export type HeadingProps = Pick<PlatformHeadingProps, 'children' | 'id' | 'testI
|
|
|
15
15
|
as: HeadingTags;
|
|
16
16
|
color?: NewColors | TemporaryColors;
|
|
17
17
|
};
|
|
18
|
+
/**
|
|
19
|
+
* A heading is a typography component used to display text in different sizes and formats.
|
|
20
|
+
*/
|
|
21
|
+
export type THeading<T> = (props: HeadingProps) => T;
|
|
18
22
|
export {};
|
|
@@ -3,12 +3,16 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - InlineProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::f154fd7caa18fc53a1369bb9f496909c>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/inline/__generated__/index.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/inline/__generated__/index.partial.tsx <<SignedSource::6f1af1d5438263ed1f6833c78c741ed9>>
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import { Inline as PlatformInline } from '@atlaskit/primitives';
|
|
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
|
+
/**
|
|
15
|
+
* Primitives are token-backed low-level building blocks.
|
|
16
|
+
*/
|
|
17
|
+
export type TInline<T> = (props: InlineProps) => T;
|
|
14
18
|
export {};
|
|
@@ -3,12 +3,16 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - LozengeProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::010c29755ec75417d1649af3008801cd>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/lozenge/__generated__/index.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/lozenge/__generated__/index.partial.tsx <<SignedSource::20810ed29278b94c2bf310c8d80efdf8>>
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import PlatformLozenge from '@atlaskit/lozenge';
|
|
12
12
|
type PlatformLozengeProps = React.ComponentProps<typeof PlatformLozenge>;
|
|
13
13
|
export type LozengeProps = Pick<PlatformLozengeProps, 'appearance' | 'children' | 'isBold' | 'maxWidth' | 'testId'>;
|
|
14
|
+
/**
|
|
15
|
+
* A lozenge is a visual indicator used to highlight an item's status for quick recognition.
|
|
16
|
+
*/
|
|
17
|
+
export type TLozenge<T> = (props: LozengeProps) => T;
|
|
14
18
|
export {};
|
|
@@ -3,12 +3,16 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - ModalBodyProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::f6704cd3ad5b9e900de7e400b133ad53>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/modal/__generated__/modal-body.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/modal/__generated__/modal-body.partial.tsx <<SignedSource::0fe5715703e89dfc44882777af179380>>
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import { ModalBody as PlatformModalBody } from '@atlaskit/modal-dialog';
|
|
12
12
|
type PlatformModalBodyProps = React.ComponentProps<typeof PlatformModalBody>;
|
|
13
13
|
export type ModalBodyProps = Pick<PlatformModalBodyProps, 'children' | 'testId'>;
|
|
14
|
+
/**
|
|
15
|
+
* A modal dialog displays content that requires user interaction, in a layer above the page.
|
|
16
|
+
*/
|
|
17
|
+
export type TModalBody<T> = (props: ModalBodyProps) => T;
|
|
14
18
|
export {};
|
|
@@ -3,12 +3,16 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - ModalFooterProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::05f974150dc64ca59a44eb0b121cf773>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/modal/__generated__/modal-footer.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/modal/__generated__/modal-footer.partial.tsx <<SignedSource::fd05c385dd42dfcac111c9ddd8c13a28>>
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import { ModalFooter as PlatformModalFooter } from '@atlaskit/modal-dialog';
|
|
12
12
|
type PlatformModalFooterProps = React.ComponentProps<typeof PlatformModalFooter>;
|
|
13
13
|
export type ModalFooterProps = Pick<PlatformModalFooterProps, 'children' | 'testId'>;
|
|
14
|
+
/**
|
|
15
|
+
* A modal dialog displays content that requires user interaction, in a layer above the page.
|
|
16
|
+
*/
|
|
17
|
+
export type TModalFooter<T> = (props: ModalFooterProps) => T;
|
|
14
18
|
export {};
|
|
@@ -3,12 +3,16 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - ModalHeaderProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::c3bc5fde61f2e698aba9b95565c0d268>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/modal/__generated__/modal-header.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/modal/__generated__/modal-header.partial.tsx <<SignedSource::932c9f34f6cd6919fe5b8bcf072745dc>>
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import { ModalHeader as PlatformModalHeader } from '@atlaskit/modal-dialog';
|
|
12
12
|
type PlatformModalHeaderProps = React.ComponentProps<typeof PlatformModalHeader>;
|
|
13
13
|
export type ModalHeaderProps = Pick<PlatformModalHeaderProps, 'children' | 'testId'>;
|
|
14
|
+
/**
|
|
15
|
+
* A modal dialog displays content that requires user interaction, in a layer above the page.
|
|
16
|
+
*/
|
|
17
|
+
export type TModalHeader<T> = (props: ModalHeaderProps) => T;
|
|
14
18
|
export {};
|
|
@@ -3,12 +3,16 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - ModalProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::cf8fdc3365a68de44b1fe4995c306218>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/modal/__generated__/index.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/modal/__generated__/index.partial.tsx <<SignedSource::3bf621bc2d484c5789face984482559d>>
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import PlatformModalDialog from '@atlaskit/modal-dialog';
|
|
12
12
|
type PlatformModalDialogProps = React.ComponentProps<typeof PlatformModalDialog>;
|
|
13
13
|
export type ModalProps = Pick<PlatformModalDialogProps, 'autoFocus' | 'children' | 'height' | 'width' | 'onClose' | 'shouldScrollInViewport' | 'label' | 'testId'>;
|
|
14
|
+
/**
|
|
15
|
+
* A modal dialog displays content that requires user interaction, in a layer above the page.
|
|
16
|
+
*/
|
|
17
|
+
export type TModal<T> = (props: ModalProps) => T;
|
|
14
18
|
export {};
|
|
@@ -3,12 +3,16 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - ModalTitleProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::18cc7e23ba187aae2f8e2d8631801b53>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/modal/__generated__/modal-title.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/modal/__generated__/modal-title.partial.tsx <<SignedSource::996c8299a68e072c936b0023b61bdc20>>
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import { ModalTitle as PlatformModalTitle } from '@atlaskit/modal-dialog';
|
|
12
12
|
type PlatformModalTitleProps = React.ComponentProps<typeof PlatformModalTitle>;
|
|
13
13
|
export type ModalTitleProps = Pick<PlatformModalTitleProps, 'appearance' | 'children' | 'isMultiline' | 'testId'>;
|
|
14
|
+
/**
|
|
15
|
+
* A modal dialog displays content that requires user interaction, in a layer above the page.
|
|
16
|
+
*/
|
|
17
|
+
export type TModalTitle<T> = (props: ModalTitleProps) => T;
|
|
14
18
|
export {};
|
|
@@ -3,12 +3,16 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - ModalTransitionProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::9d4490cd7b1938efec7181c83258a4c5>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/modal/__generated__/modal-transition.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/modal/__generated__/modal-transition.partial.tsx <<SignedSource::7f1f7ea64369d3e65533dffbbcec26d7>>
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import { ModalTransition as PlatformModalTransition } from '@atlaskit/modal-dialog';
|
|
12
12
|
type PlatformModalTransitionProps = React.ComponentProps<typeof PlatformModalTransition>;
|
|
13
13
|
export type ModalTransitionProps = Pick<PlatformModalTransitionProps, 'children'>;
|
|
14
|
+
/**
|
|
15
|
+
* A modal dialog displays content that requires user interaction, in a layer above the page.
|
|
16
|
+
*/
|
|
17
|
+
export type TModalTransition<T> = (props: ModalTransitionProps) => T;
|
|
14
18
|
export {};
|
|
@@ -3,12 +3,16 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - ProgressBarProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::311fb087e468c54b326bbb425bd62594>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/progressbar/__generated__/index.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/progressbar/__generated__/index.partial.tsx <<SignedSource::aafdad776f93c659dc29fdb27eca9027>>
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import PlatformProgressBar from '@atlaskit/progress-bar';
|
|
12
12
|
type PlatformProgressBarProps = React.ComponentProps<typeof PlatformProgressBar>;
|
|
13
13
|
export type ProgressBarProps = Pick<PlatformProgressBarProps, 'appearance' | 'ariaLabel' | 'isIndeterminate' | 'testId' | 'value'>;
|
|
14
|
+
/**
|
|
15
|
+
* A progress bar communicates the status of a system process.
|
|
16
|
+
*/
|
|
17
|
+
export type TProgressBar<T> = (props: ProgressBarProps) => T;
|
|
14
18
|
export {};
|
|
@@ -3,13 +3,17 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - ProgressTrackerProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::936e27b6592ef14e79d5fe0a336ceb81>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/progresstracker/__generated__/index.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/progresstracker/__generated__/index.partial.tsx <<SignedSource::50d000e383a00beab96a51973f57c769>>
|
|
9
9
|
*/
|
|
10
10
|
import type { ProgressTrackerProps as PlatformProgressTrackerProps, Stage as PlatformStage } from '@atlaskit/progress-tracker';
|
|
11
11
|
type Stage = Pick<PlatformStage, 'id' | 'label' | 'percentageComplete' | 'status' | 'onClick'>;
|
|
12
12
|
export type ProgressTrackerProps = Pick<PlatformProgressTrackerProps, 'label' | 'testId'> & Partial<Pick<PlatformProgressTrackerProps, 'animated' | 'spacing'>> & {
|
|
13
13
|
items: Array<Stage>;
|
|
14
14
|
};
|
|
15
|
+
/**
|
|
16
|
+
* A progress tracker displays the steps and progress through a journey.
|
|
17
|
+
*/
|
|
18
|
+
export type TProgressTracker<T> = (props: ProgressTrackerProps) => T;
|
|
15
19
|
export {};
|
package/package.json
CHANGED
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - GridProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::07521208ceecb2f983ac27cfe7466068>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/grid/__generated__/index.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/grid/__generated__/index.partial.tsx <<SignedSource::60c78d870736339df6ff194f55503b37>>
|
|
9
9
|
*/
|
|
10
10
|
/* eslint @repo/internal/codegen/signed-source-integrity: "warn" */
|
|
11
11
|
|
|
@@ -17,4 +17,9 @@ type PlatformGridProps = React.ComponentProps<typeof PlatformGrid>;
|
|
|
17
17
|
export type GridProps = Pick<
|
|
18
18
|
PlatformGridProps,
|
|
19
19
|
'children' | 'justifyContent' | 'justifyItems' | 'alignItems' | 'alignContent' | 'columnGap' | 'gap' | 'rowGap' | 'autoFlow' | 'templateRows' | 'templateColumns' | 'id' | 'testId' | 'role'
|
|
20
|
-
>;
|
|
20
|
+
>;
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Primitives are token-backed low-level building blocks.
|
|
24
|
+
*/
|
|
25
|
+
export type TGrid<T> = (props: GridProps) => T;
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - HeadingProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::f5b58f64c5c8cfbaff45b7d288ec4ffd>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/heading/__generated__/index.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/heading/__generated__/index.partial.tsx <<SignedSource::b9f5a7af9c404be1b3bf1e55075715fc>>
|
|
9
9
|
*/
|
|
10
10
|
/* eslint @repo/internal/codegen/signed-source-integrity: "warn" */
|
|
11
11
|
|
|
@@ -18,4 +18,9 @@ type NewColors = 'color.text' | 'color.text.inverse' | 'color.text.warning.inver
|
|
|
18
18
|
export type HeadingProps = Pick<PlatformHeadingProps, 'children' | 'id' | 'testId'> & {
|
|
19
19
|
as: HeadingTags;
|
|
20
20
|
color?: NewColors | TemporaryColors;
|
|
21
|
-
};
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* A heading is a typography component used to display text in different sizes and formats.
|
|
25
|
+
*/
|
|
26
|
+
export type THeading<T> = (props: HeadingProps) => T;
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - InlineProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::f154fd7caa18fc53a1369bb9f496909c>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/inline/__generated__/index.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/inline/__generated__/index.partial.tsx <<SignedSource::6f1af1d5438263ed1f6833c78c741ed9>>
|
|
9
9
|
*/
|
|
10
10
|
/* eslint @repo/internal/codegen/signed-source-integrity: "warn" */
|
|
11
11
|
|
|
@@ -17,4 +17,9 @@ type PlatformInlineProps = React.ComponentProps<typeof PlatformInline>;
|
|
|
17
17
|
export type InlineProps = Pick<
|
|
18
18
|
PlatformInlineProps,
|
|
19
19
|
'children' | 'alignBlock' | 'alignInline' | 'spread' | 'grow' | 'space' | 'shouldWrap' | 'separator' | 'rowSpace' | 'testId'
|
|
20
|
-
>;
|
|
20
|
+
>;
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Primitives are token-backed low-level building blocks.
|
|
24
|
+
*/
|
|
25
|
+
export type TInline<T> = (props: InlineProps) => T;
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - LozengeProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::010c29755ec75417d1649af3008801cd>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/lozenge/__generated__/index.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/lozenge/__generated__/index.partial.tsx <<SignedSource::20810ed29278b94c2bf310c8d80efdf8>>
|
|
9
9
|
*/
|
|
10
10
|
/* eslint @repo/internal/codegen/signed-source-integrity: "warn" */
|
|
11
11
|
|
|
@@ -17,4 +17,9 @@ type PlatformLozengeProps = React.ComponentProps<typeof PlatformLozenge>;
|
|
|
17
17
|
export type LozengeProps = Pick<
|
|
18
18
|
PlatformLozengeProps,
|
|
19
19
|
'appearance' | 'children' | 'isBold' | 'maxWidth' | 'testId'
|
|
20
|
-
>;
|
|
20
|
+
>;
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* A lozenge is a visual indicator used to highlight an item's status for quick recognition.
|
|
24
|
+
*/
|
|
25
|
+
export type TLozenge<T> = (props: LozengeProps) => T;
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - ModalBodyProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::f6704cd3ad5b9e900de7e400b133ad53>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/modal/__generated__/modal-body.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/modal/__generated__/modal-body.partial.tsx <<SignedSource::0fe5715703e89dfc44882777af179380>>
|
|
9
9
|
*/
|
|
10
10
|
/* eslint @repo/internal/codegen/signed-source-integrity: "warn" */
|
|
11
11
|
|
|
@@ -17,4 +17,9 @@ type PlatformModalBodyProps = React.ComponentProps<typeof PlatformModalBody>;
|
|
|
17
17
|
export type ModalBodyProps = Pick<
|
|
18
18
|
PlatformModalBodyProps,
|
|
19
19
|
'children' | 'testId'
|
|
20
|
-
>;
|
|
20
|
+
>;
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* A modal dialog displays content that requires user interaction, in a layer above the page.
|
|
24
|
+
*/
|
|
25
|
+
export type TModalBody<T> = (props: ModalBodyProps) => T;
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - ModalFooterProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::05f974150dc64ca59a44eb0b121cf773>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/modal/__generated__/modal-footer.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/modal/__generated__/modal-footer.partial.tsx <<SignedSource::fd05c385dd42dfcac111c9ddd8c13a28>>
|
|
9
9
|
*/
|
|
10
10
|
/* eslint @repo/internal/codegen/signed-source-integrity: "warn" */
|
|
11
11
|
|
|
@@ -17,4 +17,9 @@ type PlatformModalFooterProps = React.ComponentProps<typeof PlatformModalFooter>
|
|
|
17
17
|
export type ModalFooterProps = Pick<
|
|
18
18
|
PlatformModalFooterProps,
|
|
19
19
|
'children' | 'testId'
|
|
20
|
-
>;
|
|
20
|
+
>;
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* A modal dialog displays content that requires user interaction, in a layer above the page.
|
|
24
|
+
*/
|
|
25
|
+
export type TModalFooter<T> = (props: ModalFooterProps) => T;
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - ModalHeaderProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::c3bc5fde61f2e698aba9b95565c0d268>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/modal/__generated__/modal-header.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/modal/__generated__/modal-header.partial.tsx <<SignedSource::932c9f34f6cd6919fe5b8bcf072745dc>>
|
|
9
9
|
*/
|
|
10
10
|
/* eslint @repo/internal/codegen/signed-source-integrity: "warn" */
|
|
11
11
|
|
|
@@ -17,4 +17,9 @@ type PlatformModalHeaderProps = React.ComponentProps<typeof PlatformModalHeader>
|
|
|
17
17
|
export type ModalHeaderProps = Pick<
|
|
18
18
|
PlatformModalHeaderProps,
|
|
19
19
|
'children' | 'testId'
|
|
20
|
-
>;
|
|
20
|
+
>;
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* A modal dialog displays content that requires user interaction, in a layer above the page.
|
|
24
|
+
*/
|
|
25
|
+
export type TModalHeader<T> = (props: ModalHeaderProps) => T;
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - ModalProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::cf8fdc3365a68de44b1fe4995c306218>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/modal/__generated__/index.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/modal/__generated__/index.partial.tsx <<SignedSource::3bf621bc2d484c5789face984482559d>>
|
|
9
9
|
*/
|
|
10
10
|
/* eslint @repo/internal/codegen/signed-source-integrity: "warn" */
|
|
11
11
|
|
|
@@ -17,4 +17,9 @@ type PlatformModalDialogProps = React.ComponentProps<typeof PlatformModalDialog>
|
|
|
17
17
|
export type ModalProps = Pick<
|
|
18
18
|
PlatformModalDialogProps,
|
|
19
19
|
'autoFocus' | 'children' | 'height' | 'width' | 'onClose' | 'shouldScrollInViewport' | 'label' | 'testId'
|
|
20
|
-
>;
|
|
20
|
+
>;
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* A modal dialog displays content that requires user interaction, in a layer above the page.
|
|
24
|
+
*/
|
|
25
|
+
export type TModal<T> = (props: ModalProps) => T;
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - ModalTitleProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::18cc7e23ba187aae2f8e2d8631801b53>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/modal/__generated__/modal-title.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/modal/__generated__/modal-title.partial.tsx <<SignedSource::996c8299a68e072c936b0023b61bdc20>>
|
|
9
9
|
*/
|
|
10
10
|
/* eslint @repo/internal/codegen/signed-source-integrity: "warn" */
|
|
11
11
|
|
|
@@ -17,4 +17,9 @@ type PlatformModalTitleProps = React.ComponentProps<typeof PlatformModalTitle>;
|
|
|
17
17
|
export type ModalTitleProps = Pick<
|
|
18
18
|
PlatformModalTitleProps,
|
|
19
19
|
'appearance' | 'children' | 'isMultiline' | 'testId'
|
|
20
|
-
>;
|
|
20
|
+
>;
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* A modal dialog displays content that requires user interaction, in a layer above the page.
|
|
24
|
+
*/
|
|
25
|
+
export type TModalTitle<T> = (props: ModalTitleProps) => T;
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - ModalTransitionProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::9d4490cd7b1938efec7181c83258a4c5>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/modal/__generated__/modal-transition.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/modal/__generated__/modal-transition.partial.tsx <<SignedSource::7f1f7ea64369d3e65533dffbbcec26d7>>
|
|
9
9
|
*/
|
|
10
10
|
/* eslint @repo/internal/codegen/signed-source-integrity: "warn" */
|
|
11
11
|
|
|
@@ -17,4 +17,9 @@ type PlatformModalTransitionProps = React.ComponentProps<typeof PlatformModalTra
|
|
|
17
17
|
export type ModalTransitionProps = Pick<
|
|
18
18
|
PlatformModalTransitionProps,
|
|
19
19
|
'children'
|
|
20
|
-
>;
|
|
20
|
+
>;
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* A modal dialog displays content that requires user interaction, in a layer above the page.
|
|
24
|
+
*/
|
|
25
|
+
export type TModalTransition<T> = (props: ModalTransitionProps) => T;
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - ProgressBarProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::311fb087e468c54b326bbb425bd62594>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/progressbar/__generated__/index.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/progressbar/__generated__/index.partial.tsx <<SignedSource::aafdad776f93c659dc29fdb27eca9027>>
|
|
9
9
|
*/
|
|
10
10
|
/* eslint @repo/internal/codegen/signed-source-integrity: "warn" */
|
|
11
11
|
|
|
@@ -17,4 +17,9 @@ type PlatformProgressBarProps = React.ComponentProps<typeof PlatformProgressBar>
|
|
|
17
17
|
export type ProgressBarProps = Pick<
|
|
18
18
|
PlatformProgressBarProps,
|
|
19
19
|
'appearance' | 'ariaLabel' | 'isIndeterminate' | 'testId' | 'value'
|
|
20
|
-
>;
|
|
20
|
+
>;
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* A progress bar communicates the status of a system process.
|
|
24
|
+
*/
|
|
25
|
+
export type TProgressBar<T> = (props: ProgressBarProps) => T;
|
|
@@ -3,26 +3,25 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - ProgressTrackerProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::936e27b6592ef14e79d5fe0a336ceb81>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/progresstracker/__generated__/index.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/progresstracker/__generated__/index.partial.tsx <<SignedSource::50d000e383a00beab96a51973f57c769>>
|
|
9
9
|
*/
|
|
10
10
|
/* eslint @repo/internal/codegen/signed-source-integrity: "warn" */
|
|
11
11
|
|
|
12
12
|
import type {
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
ProgressTrackerProps as PlatformProgressTrackerProps,
|
|
14
|
+
Stage as PlatformStage,
|
|
15
15
|
} from '@atlaskit/progress-tracker';
|
|
16
16
|
|
|
17
|
-
type Stage = Pick<
|
|
18
|
-
PlatformStage,
|
|
19
|
-
'id' | 'label' | 'percentageComplete' | 'status' | 'onClick'
|
|
20
|
-
>;
|
|
17
|
+
type Stage = Pick<PlatformStage, 'id' | 'label' | 'percentageComplete' | 'status' | 'onClick'>;
|
|
21
18
|
|
|
22
|
-
export type ProgressTrackerProps = Pick<
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
19
|
+
export type ProgressTrackerProps = Pick<PlatformProgressTrackerProps, 'label' | 'testId'> &
|
|
20
|
+
Partial<Pick<PlatformProgressTrackerProps, 'animated' | 'spacing'>> & {
|
|
21
|
+
items: Array<Stage>;
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* A progress tracker displays the steps and progress through a journey.
|
|
26
|
+
*/
|
|
27
|
+
export type TProgressTracker<T> = (props: ProgressTrackerProps) => T;
|