@atlaskit/forge-react-types 0.34.13 → 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 +22 -0
- package/dist/cjs/components/__generated__/BoxProps.codegen.js +2 -2
- package/dist/es2019/components/__generated__/BoxProps.codegen.js +2 -2
- package/dist/esm/components/__generated__/BoxProps.codegen.js +2 -2
- package/dist/types/components/__generated__/BadgeProps.codegen.d.ts +2 -2
- package/dist/types/components/__generated__/BleedProps.codegen.d.ts +6 -2
- package/dist/types/components/__generated__/BoxProps.codegen.d.ts +3 -3
- package/dist/types/components/__generated__/ButtonGroupProps.codegen.d.ts +6 -2
- package/dist/types/components/__generated__/ButtonProps.codegen.d.ts +3 -2
- package/dist/types/components/__generated__/CalendarProps.codegen.d.ts +6 -2
- package/dist/types/components/__generated__/CheckboxProps.codegen.d.ts +6 -2
- package/dist/types/components/__generated__/CodeBlockProps.codegen.d.ts +6 -2
- package/dist/types/components/__generated__/CodeProps.codegen.d.ts +6 -2
- package/dist/types/components/__generated__/DatePickerProps.codegen.d.ts +6 -2
- package/dist/types/components/__generated__/DynamicTableProps.codegen.d.ts +6 -2
- package/dist/types/components/__generated__/EmptyStateProps.codegen.d.ts +6 -2
- package/dist/types/components/__generated__/ErrorMessageProps.codegen.d.ts +6 -2
- package/dist/types/components/__generated__/FlexProps.codegen.d.ts +6 -2
- package/dist/types/components/__generated__/FormFooterProps.codegen.d.ts +6 -2
- package/dist/types/components/__generated__/FormHeaderProps.codegen.d.ts +6 -2
- package/dist/types/components/__generated__/FormSectionProps.codegen.d.ts +6 -2
- 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__/HelperMessageProps.codegen.d.ts +6 -2
- package/dist/types/components/__generated__/InlineProps.codegen.d.ts +6 -2
- package/dist/types/components/__generated__/LabelProps.codegen.d.ts +6 -2
- package/dist/types/components/__generated__/LinkButtonProps.codegen.d.ts +3 -2
- package/dist/types/components/__generated__/LoadingButtonProps.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/components/__generated__/ValidMessageProps.codegen.d.ts +6 -2
- package/dist/types-ts4.5/components/__generated__/BadgeProps.codegen.d.ts +2 -2
- package/dist/types-ts4.5/components/__generated__/BleedProps.codegen.d.ts +6 -2
- package/dist/types-ts4.5/components/__generated__/BoxProps.codegen.d.ts +3 -3
- package/dist/types-ts4.5/components/__generated__/ButtonGroupProps.codegen.d.ts +6 -2
- package/dist/types-ts4.5/components/__generated__/ButtonProps.codegen.d.ts +3 -2
- package/dist/types-ts4.5/components/__generated__/CalendarProps.codegen.d.ts +6 -2
- package/dist/types-ts4.5/components/__generated__/CheckboxProps.codegen.d.ts +6 -2
- package/dist/types-ts4.5/components/__generated__/CodeBlockProps.codegen.d.ts +6 -2
- package/dist/types-ts4.5/components/__generated__/CodeProps.codegen.d.ts +6 -2
- package/dist/types-ts4.5/components/__generated__/DatePickerProps.codegen.d.ts +6 -2
- package/dist/types-ts4.5/components/__generated__/DynamicTableProps.codegen.d.ts +6 -2
- package/dist/types-ts4.5/components/__generated__/EmptyStateProps.codegen.d.ts +6 -2
- package/dist/types-ts4.5/components/__generated__/ErrorMessageProps.codegen.d.ts +6 -2
- package/dist/types-ts4.5/components/__generated__/FlexProps.codegen.d.ts +6 -2
- package/dist/types-ts4.5/components/__generated__/FormFooterProps.codegen.d.ts +6 -2
- package/dist/types-ts4.5/components/__generated__/FormHeaderProps.codegen.d.ts +6 -2
- package/dist/types-ts4.5/components/__generated__/FormSectionProps.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__/HelperMessageProps.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__/LabelProps.codegen.d.ts +6 -2
- package/dist/types-ts4.5/components/__generated__/LinkButtonProps.codegen.d.ts +3 -2
- package/dist/types-ts4.5/components/__generated__/LoadingButtonProps.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/dist/types-ts4.5/components/__generated__/ValidMessageProps.codegen.d.ts +6 -2
- package/package.json +3 -3
- package/src/components/__generated__/BadgeProps.codegen.tsx +2 -2
- package/src/components/__generated__/BleedProps.codegen.tsx +8 -3
- package/src/components/__generated__/BoxProps.codegen.tsx +4 -9
- package/src/components/__generated__/ButtonGroupProps.codegen.tsx +8 -3
- package/src/components/__generated__/ButtonProps.codegen.tsx +5 -3
- package/src/components/__generated__/CalendarProps.codegen.tsx +8 -3
- package/src/components/__generated__/CheckboxProps.codegen.tsx +8 -3
- package/src/components/__generated__/CodeBlockProps.codegen.tsx +8 -3
- package/src/components/__generated__/CodeProps.codegen.tsx +8 -3
- package/src/components/__generated__/DatePickerProps.codegen.tsx +8 -3
- package/src/components/__generated__/DynamicTableProps.codegen.tsx +32 -8
- package/src/components/__generated__/EmptyStateProps.codegen.tsx +8 -3
- package/src/components/__generated__/ErrorMessageProps.codegen.tsx +8 -3
- package/src/components/__generated__/FlexProps.codegen.tsx +8 -3
- package/src/components/__generated__/FormFooterProps.codegen.tsx +8 -3
- package/src/components/__generated__/FormHeaderProps.codegen.tsx +8 -3
- package/src/components/__generated__/FormSectionProps.codegen.tsx +8 -3
- package/src/components/__generated__/GridProps.codegen.tsx +8 -3
- package/src/components/__generated__/HeadingProps.codegen.tsx +8 -3
- package/src/components/__generated__/HelperMessageProps.codegen.tsx +8 -3
- package/src/components/__generated__/InlineProps.codegen.tsx +8 -3
- package/src/components/__generated__/LabelProps.codegen.tsx +10 -3
- package/src/components/__generated__/LinkButtonProps.codegen.tsx +5 -3
- package/src/components/__generated__/LoadingButtonProps.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/src/components/__generated__/ValidMessageProps.codegen.tsx +8 -3
|
@@ -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 - ValidMessageProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::40ef2ece49a84181a994ff221e42cc39>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/form/__generated__/valid-message.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/form/__generated__/valid-message.partial.tsx <<SignedSource::5460cf891302777898b53c0b4ae8b610>>
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import { ValidMessage as PlatformValidMessage } from '@atlaskit/form';
|
|
12
12
|
type PlatformValidMessageProps = React.ComponentProps<typeof PlatformValidMessage>;
|
|
13
13
|
export type ValidMessageProps = Pick<PlatformValidMessageProps, 'children' | 'testId'>;
|
|
14
|
+
/**
|
|
15
|
+
* A form allows users to input information.
|
|
16
|
+
*/
|
|
17
|
+
export type TValidMessage<T> = (props: ValidMessageProps) => T;
|
|
14
18
|
export {};
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - BadgeProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::64c7e35a348ef5e063329091a361292f>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/badge/__generated__/index.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/badge/__generated__/index.partial.tsx <<SignedSource::89ad3341c1b8ef4b6fc93df162ac91d3>>
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import PlatformBadge from '@atlaskit/badge';
|
|
@@ -3,12 +3,16 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - BleedProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::c7fc1c22894c170849e24bf5e8171def>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/bleed/__generated__/index.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/bleed/__generated__/index.partial.tsx <<SignedSource::a2cfcd6831a7e1c773ef12a09fc07228>>
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import { Bleed as PlatformBleed } from '@atlaskit/primitives';
|
|
12
12
|
type PlatformBleedProps = React.ComponentProps<typeof PlatformBleed>;
|
|
13
13
|
export type BleedProps = Pick<PlatformBleedProps, 'children' | 'all' | 'inline' | 'block' | 'testId' | 'role'>;
|
|
14
|
+
/**
|
|
15
|
+
* Primitives are token-backed low-level building blocks.
|
|
16
|
+
*/
|
|
17
|
+
export type TBleed<T> = (props: BleedProps) => T;
|
|
14
18
|
export {};
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - BoxProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::31dc8fb4f36ecf67c99521f59d86c2e1>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/box/__generated__/index.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/box/__generated__/index.partial.tsx <<SignedSource::7f0def3e681685c87e720c200f3f4b23>>
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import { Box as PlatformBox } from '@atlaskit/primitives';
|
|
@@ -2187,7 +2187,7 @@ export type BoxProps = Pick<PlatformBoxProps, 'children' | 'ref' | 'testId'> & {
|
|
|
2187
2187
|
backgroundColor?: PlatformBoxProps['backgroundColor'];
|
|
2188
2188
|
/**
|
|
2189
2189
|
* Apply a subset of permitted styles, powered by Atlassian Design System tokens.
|
|
2190
|
-
* For a list of supported style properties on this component, see [here](/platform/forge/ui-kit/components/xcss).
|
|
2190
|
+
* For a list of supported style properties on this component, see [here](https://developer.atlassian.com/platform/forge/ui-kit/components/xcss).
|
|
2191
2191
|
*
|
|
2192
2192
|
* @type XCSSProp
|
|
2193
2193
|
*/
|
|
@@ -3,12 +3,16 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - ButtonGroupProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::4daf3a960cc3108bbbc8ad0ede3b7011>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/button/__generated__/button-group.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/button/__generated__/button-group.partial.tsx <<SignedSource::728cab6df690811513a66ea4bacb89c9>>
|
|
9
9
|
*/
|
|
10
10
|
import type { ButtonGroupProps as PlatformButtonGroupProps } from '@atlaskit/button';
|
|
11
11
|
import type { ButtonProps } from '@atlaskit/button';
|
|
12
12
|
export type ButtonGroupProps = Pick<PlatformButtonGroupProps, 'children' | 'testId' | 'label' | 'titleId'> & {
|
|
13
13
|
appearance?: ButtonProps['appearance'];
|
|
14
14
|
};
|
|
15
|
+
/**
|
|
16
|
+
* A button triggers an event or action. They let users know what will happen next.
|
|
17
|
+
*/
|
|
18
|
+
export type TButtonGroup<T> = (props: ButtonGroupProps) => T;
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - ButtonProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::333890773f42cacce17cee560686b34c>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/button/__generated__/index.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/button/__generated__/index.partial.tsx <<SignedSource::c3a07cf50f9f4f166b94a72b4c2d5784>>
|
|
9
9
|
*/
|
|
10
10
|
import type { ButtonProps as PlatformButtonProps } from '@atlaskit/button/new';
|
|
11
11
|
export type Icon = 'activity' | 'add' | 'add-circle' | 'add-item' | 'addon' | 'app-access' | 'app-switcher' | 'archive' | 'arrow-down' | 'arrow-down-circle' | 'arrow-left' | 'arrow-left-circle' | 'arrow-right' | 'arrow-right-circle' | 'arrow-up' | 'arrow-up-circle' | 'attachment' | 'audio' | 'audio-circle' | 'backlog' | 'billing' | 'billing-filled' | 'bitbucket-branches' | 'bitbucket-builds' | 'bitbucket-clone' | 'bitbucket-commits' | 'bitbucket-compare' | 'bitbucket-forks' | 'bitbucket-output' | 'bitbucket-pipelines' | 'bitbucket-pullrequests' | 'bitbucket-repos' | 'bitbucket-snippets' | 'bitbucket-source' | 'board' | 'book' | 'bullet-list' | 'calendar' | 'calendar-filled' | 'camera' | 'camera-filled' | 'camera-rotate' | 'camera-take-picture' | 'canvas' | 'check' | 'check-circle' | 'check-circle-outline' | 'checkbox' | 'checkbox-indeterminate' | 'chevron-down' | 'chevron-down-circle' | 'chevron-left' | 'chevron-left-circle' | 'chevron-left-large' | 'chevron-right' | 'chevron-right-circle' | 'chevron-right-large' | 'chevron-up' | 'chevron-up-circle' | 'child-issues' | 'code' | 'comment' | 'component' | 'copy' | 'creditcard' | 'creditcard-filled' | 'cross' | 'cross-circle' | 'dashboard' | 'decision' | 'department' | 'detail-view' | 'discover' | 'discover-filled' | 'document' | 'document-filled' | 'documents' | 'download' | 'drag-handler' | 'dropbox' | 'edit' | 'edit-filled' | 'editor-add' | 'editor-addon' | 'editor-advanced' | 'editor-align-center' | 'editor-align-image-center' | 'editor-align-image-left' | 'editor-align-image-right' | 'editor-align-left' | 'editor-align-right' | 'editor-attachment' | 'editor-background-color' | 'editor-bold' | 'editor-bullet-list' | 'editor-close' | 'editor-code' | 'editor-collapse' | 'editor-date' | 'editor-decision' | 'editor-divider' | 'editor-done' | 'editor-edit' | 'editor-emoji' | 'editor-error' | 'editor-expand' | 'editor-feedback' | 'editor-file' | 'editor-file-preview' | 'editor-help' | 'editor-hint' | 'editor-horizontal-rule' | 'editor-image' | 'editor-image-border' | 'editor-image-resize' | 'editor-indent' | 'editor-info' | 'editor-italic' | 'editor-layout-single' | 'editor-layout-three-equal' | 'editor-layout-three-with-sidebars' | 'editor-layout-two-equal' | 'editor-layout-two-left-sidebar' | 'editor-layout-two-right-sidebar' | 'editor-link' | 'editor-media-center' | 'editor-media-full-width' | 'editor-media-wide' | 'editor-media-wrap-left' | 'editor-media-wrap-right' | 'editor-mention' | 'editor-more' | 'editor-note' | 'editor-number-list' | 'editor-open' | 'editor-outdent' | 'editor-panel' | 'editor-photo' | 'editor-quote' | 'editor-recent' | 'editor-redo' | 'editor-remove' | 'editor-remove-emoji' | 'editor-search' | 'editor-settings' | 'editor-strikethrough' | 'editor-success' | 'editor-table' | 'editor-table-display-options' | 'editor-task' | 'editor-text-color' | 'editor-text-style' | 'editor-underline' | 'editor-undo' | 'editor-unlink' | 'editor-warning' | 'email' | 'emoji' | 'emoji-add' | 'emoji-activity' | 'emoji-atlassian' | 'emoji-custom' | 'emoji-emoji' | 'emoji-flags' | 'emoji-food' | 'emoji-frequent' | 'emoji-keyboard' | 'emoji-nature' | 'emoji-objects' | 'emoji-people' | 'emoji-productivity' | 'emoji-symbols' | 'emoji-travel' | 'error' | 'export' | 'feedback' | 'file' | 'filter' | 'flag-filled' | 'folder' | 'folder-filled' | 'followers' | 'following' | 'googledrive' | 'graph-bar' | 'graph-line' | 'gsuite' | 'highlights' | 'hipchat-audio-only' | 'hipchat-chevron-double-down' | 'hipchat-chevron-double-up' | 'hipchat-chevron-down' | 'hipchat-chevron-up' | 'hipchat-dial-out' | 'hipchat-lobby' | 'hipchat-media-attachment-count' | 'hipchat-outgoing-sound' | 'hipchat-sd-video' | 'home' | 'home-circle' | 'image' | 'image-border' | 'image-resize' | 'info' | 'invite-team' | 'issue' | 'issue-raise' | 'issues' | 'jira-capture' | 'jira-failed-build-status' | 'jira-labs' | 'jira-test-session' | 'label' | 'lightbulb' | 'lightbulb-filled' | 'like' | 'link' | 'link-filled' | 'list' | 'location' | 'lock' | 'lock-circle' | 'lock-filled' | 'marketplace' | 'media-services-actual-size' | 'media-services-add-comment' | 'media-services-annotate' | 'media-services-arrow' | 'media-services-audio' | 'media-services-blur' | 'media-services-brush' | 'media-services-button-option' | 'media-services-code' | 'media-services-document' | 'media-services-filter' | 'media-services-fit-to-page' | 'media-services-full-screen' | 'media-services-grid' | 'media-services-image' | 'media-services-line' | 'media-services-line-thickness' | 'media-services-no-image' | 'media-services-open-mediaviewer' | 'media-services-oval' | 'media-services-pdf' | 'media-services-preselected' | 'media-services-presentation' | 'media-services-rectangle' | 'media-services-scale-large' | 'media-services-scale-small' | 'media-services-spreadsheet' | 'media-services-text' | 'media-services-unknown' | 'media-services-video' | 'media-services-zip' | 'media-services-zoom-in' | 'media-services-zoom-out' | 'mention' | 'menu' | 'menu-expand' | 'mobile' | 'more' | 'more-vertical' | 'notification' | 'notification-all' | 'notification-direct' | 'office-building' | 'office-building-filled' | 'open' | 'overview' | 'page' | 'page-filled' | 'pdf' | 'people' | 'people-group' | 'person' | 'person-circle' | 'person-with-circle' | 'person-with-cross' | 'person-with-tick' | 'portfolio' | 'preferences' | 'premium' | 'presence-active' | 'presence-busy' | 'presence-unavailable' | 'question' | 'question-circle' | 'questions' | 'queues' | 'quote' | 'radio' | 'recent' | 'redo' | 'refresh' | 'retry' | 'roadmap' | 'room-menu' | 'schedule' | 'schedule-filled' | 'screen' | 'search' | 'select-clear' | 'send' | 'settings' | 'share' | 'ship' | 'shortcut' | 'sign-in' | 'sign-out' | 'sprint' | 'star' | 'star-filled' | 'star-large' | 'status' | 'stopwatch' | 'subtask' | 'suitcase' | 'switcher' | 'table' | 'task' | 'teams' | 'trash' | 'tray' | 'undo' | 'unlink' | 'unlock' | 'unlock-circle' | 'unlock-filled' | 'upload' | 'user-avatar-circle' | 'vid-audio-muted' | 'vid-audio-on' | 'vid-backward' | 'vid-camera-off' | 'vid-camera-on' | 'vid-connection-circle' | 'vid-forward' | 'vid-full-screen-off' | 'vid-full-screen-on' | 'vid-hang-up' | 'vid-hd-circle' | 'vid-pause' | 'vid-play' | 'vid-raised-hand' | 'vid-share-screen' | 'vid-speaking-circle' | 'vid-volume-full' | 'vid-volume-half' | 'vid-volume-muted' | 'video-circle' | 'video-filled' | 'warning' | 'watch' | 'watch-filled' | 'world' | 'world-small';
|
|
@@ -15,4 +15,5 @@ export type ButtonProps = Pick<PlatformButtonProps, 'children' | 'autoFocus' | '
|
|
|
15
15
|
iconAfter?: IconType;
|
|
16
16
|
spacing?: PlatformButtonProps['spacing'] | 'none';
|
|
17
17
|
};
|
|
18
|
+
export type TButton<T> = (props: ButtonProps) => T;
|
|
18
19
|
export {};
|
|
@@ -3,12 +3,16 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - CalendarProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::87bad6f2a27e493eeba6d969450d3a3d>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/calendar/__generated__/index.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/calendar/__generated__/index.partial.tsx <<SignedSource::3fb4c1249481ec420be5118220ebcd82>>
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import PlatformCalendar from '@atlaskit/calendar';
|
|
12
12
|
type PlatformCalendarProps = React.ComponentProps<typeof PlatformCalendar>;
|
|
13
13
|
export type CalendarProps = Pick<PlatformCalendarProps, 'day' | 'defaultDay' | 'defaultMonth' | 'defaultYear' | 'defaultPreviouslySelected' | 'defaultSelected' | 'disabled' | 'maxDate' | 'minDate' | 'nextMonthLabel' | 'onBlur' | 'onChange' | 'onFocus' | 'onSelect' | 'previouslySelected' | 'previousMonthLabel' | 'selected' | 'today' | 'year' | 'locale' | 'testId' | 'weekStartDay' | 'tabIndex'>;
|
|
14
|
+
/**
|
|
15
|
+
* An interactive calendar for date selection experiences.
|
|
16
|
+
*/
|
|
17
|
+
export type TCalendar<T> = (props: CalendarProps) => T;
|
|
14
18
|
export {};
|
|
@@ -3,13 +3,17 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - CheckboxProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::7f4aa902734166585716f52e001a6d8f>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/checkbox/__generated__/index.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/checkbox/__generated__/index.partial.tsx <<SignedSource::e34c0ab52d3409a8548b6e51450ba43b>>
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import PlatformCheckbox from '@atlaskit/checkbox';
|
|
12
12
|
import type { EventHandlerProps } from './types.codegen';
|
|
13
13
|
type PlatformCheckboxProps = React.ComponentProps<typeof PlatformCheckbox>;
|
|
14
14
|
export type CheckboxProps = Pick<PlatformCheckboxProps, 'testId' | 'defaultChecked' | 'isChecked' | 'isIndeterminate' | 'label' | 'id' | 'isRequired' | 'isDisabled' | 'isInvalid' | 'value' | 'aria-invalid' | 'aria-labelledby' | 'name'> & Pick<EventHandlerProps, 'onChange' | 'onBlur' | 'onFocus'>;
|
|
15
|
+
/**
|
|
16
|
+
* A checkbox is an input control that allows a user to select one or more options from a number of choices.
|
|
17
|
+
*/
|
|
18
|
+
export type TCheckbox<T> = (props: CheckboxProps) => T;
|
|
15
19
|
export {};
|
|
@@ -3,12 +3,16 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - CodeBlockProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::7ac72aa38d908f5ad8be5452cccb84d1>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/code/__generated__/codeblock.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/code/__generated__/codeblock.partial.tsx <<SignedSource::88ed38fdfc47db0938e7801195a00403>>
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import { CodeBlock as PlatformCodeBlock } from '@atlaskit/code';
|
|
12
12
|
type PlatformCodeBlockProps = React.ComponentProps<typeof PlatformCodeBlock>;
|
|
13
13
|
export type CodeBlockProps = Pick<PlatformCodeBlockProps, 'text' | 'testId' | 'showLineNumbers' | 'language' | 'highlight' | 'highlightedStartText' | 'highlightedEndText' | 'shouldWrapLongLines'>;
|
|
14
|
+
/**
|
|
15
|
+
* Code highlights short strings of code snippets inline with body text.
|
|
16
|
+
*/
|
|
17
|
+
export type TCodeBlock<T> = (props: CodeBlockProps) => T;
|
|
14
18
|
export {};
|
|
@@ -3,12 +3,16 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - CodeProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::1a39727c921b99c3519aa0020e967c21>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/code/__generated__/code.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/code/__generated__/code.partial.tsx <<SignedSource::370e450903cb8f21b11acac7a9fc720b>>
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import { Code as PlatformCode } from '@atlaskit/code';
|
|
12
12
|
type PlatformCodeProps = React.ComponentProps<typeof PlatformCode>;
|
|
13
13
|
export type CodeProps = Pick<PlatformCodeProps, 'children' | 'testId'>;
|
|
14
|
+
/**
|
|
15
|
+
* Code highlights short strings of code snippets inline with body text.
|
|
16
|
+
*/
|
|
17
|
+
export type TCode<T> = (props: CodeProps) => T;
|
|
14
18
|
export {};
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - DatePickerProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::14d82d10ae64e4333440817918f6e955>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/datepicker/__generated__/index.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/datepicker/__generated__/index.partial.tsx <<SignedSource::6bc5d63c14b9dda11b370e386ccf4955>>
|
|
9
9
|
*/
|
|
10
10
|
import type { DateTimePickerSelectProps } from '@atlaskit/datetime-picker';
|
|
11
11
|
export interface FieldProps {
|
|
@@ -47,4 +47,8 @@ export type DatePickerProps = {
|
|
|
47
47
|
selectProps?: DateTimePickerSelectProps;
|
|
48
48
|
shouldShowCalendarButton?: boolean;
|
|
49
49
|
} & Partial<Omit<FieldProps, 'onChange'>>;
|
|
50
|
+
/**
|
|
51
|
+
* A date time picker allows the user to select an associated date and time.
|
|
52
|
+
*/
|
|
53
|
+
export type TDatePicker<T> = (props: DatePickerProps) => T;
|
|
50
54
|
export {};
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - DynamicTableProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::213e682fc5fc702c30fb176cf45969b3>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/dynamictable/__generated__/index.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/dynamictable/__generated__/index.partial.tsx <<SignedSource::579e3dddf7bd4b762d0fd40744619b89>>
|
|
9
9
|
*/
|
|
10
10
|
import type { RowType, StatefulProps } from '@atlaskit/dynamic-table/types';
|
|
11
11
|
type NewRowType = Pick<RowType, 'cells' | 'key' | 'isHighlighted'>;
|
|
@@ -13,4 +13,8 @@ export type DynamicTableProps = Pick<StatefulProps, 'defaultPage' | 'defaultSort
|
|
|
13
13
|
rows?: NewRowType[];
|
|
14
14
|
caption?: string;
|
|
15
15
|
};
|
|
16
|
+
/**
|
|
17
|
+
* A dynamic table displays rows of data with built-in pagination, sorting, and re-ordering functionality.
|
|
18
|
+
*/
|
|
19
|
+
export type TDynamicTable<T> = (props: DynamicTableProps) => T;
|
|
16
20
|
export {};
|
|
@@ -3,12 +3,16 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - EmptyStateProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::07a70b90ed6e68ae200fd5e38e163a89>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/emptystate/__generated__/index.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/emptystate/__generated__/index.partial.tsx <<SignedSource::d6c509a722d55de0f55d401cd2e75435>>
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import PlatformEmptyState from '@atlaskit/empty-state';
|
|
12
12
|
type PlatformEmptyStateProps = React.ComponentProps<typeof PlatformEmptyState>;
|
|
13
13
|
export type EmptyStateProps = Pick<PlatformEmptyStateProps, 'buttonGroupLabel' | 'description' | 'header' | 'headingLevel' | 'isLoading' | 'primaryAction' | 'secondaryAction' | 'tertiaryAction' | 'testId' | 'width'>;
|
|
14
|
+
/**
|
|
15
|
+
* An empty state appears when there is no data to display and describes what the user can do next.
|
|
16
|
+
*/
|
|
17
|
+
export type TEmptyState<T> = (props: EmptyStateProps) => T;
|
|
14
18
|
export {};
|
|
@@ -3,12 +3,16 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - ErrorMessageProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::3d3da7aa33a6ac0adb1524f89ee28208>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/form/__generated__/error-message.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/form/__generated__/error-message.partial.tsx <<SignedSource::9e1a8d256d8d999a689140fbcda430fa>>
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import { ErrorMessage as PlatformErrorMessage } from '@atlaskit/form';
|
|
12
12
|
type PlatformErrorMessageProps = React.ComponentProps<typeof PlatformErrorMessage>;
|
|
13
13
|
export type ErrorMessageProps = Pick<PlatformErrorMessageProps, 'children' | 'testId'>;
|
|
14
|
+
/**
|
|
15
|
+
* A form allows users to input information.
|
|
16
|
+
*/
|
|
17
|
+
export type TErrorMessage<T> = (props: ErrorMessageProps) => T;
|
|
14
18
|
export {};
|
|
@@ -3,12 +3,16 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - FlexProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::a7674fb0691e3265f6e0940ae4f938e1>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/flex/__generated__/index.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/flex/__generated__/index.partial.tsx <<SignedSource::0e480e44e57f21f761bec4613ac4988d>>
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import { Flex as PlatformFlex } from '@atlaskit/primitives';
|
|
12
12
|
type PlatformFlexProps = React.ComponentProps<typeof PlatformFlex>;
|
|
13
13
|
export type FlexProps = Pick<PlatformFlexProps, 'children' | 'justifyContent' | 'alignItems' | 'columnGap' | 'gap' | 'rowGap' | 'direction' | 'wrap' | 'testId' | 'role'>;
|
|
14
|
+
/**
|
|
15
|
+
* Primitives are token-backed low-level building blocks.
|
|
16
|
+
*/
|
|
17
|
+
export type TFlex<T> = (props: FlexProps) => T;
|
|
14
18
|
export {};
|
|
@@ -3,12 +3,16 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - FormFooterProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::cb77ae443b27f1229afcd556eb365acf>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/form/__generated__/form-footer.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/form/__generated__/form-footer.partial.tsx <<SignedSource::ff2413efe154db0f89a03200caf50ced>>
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import { FormFooter as PlatformFormFooter } from '@atlaskit/form';
|
|
12
12
|
type PlatformFormFooterProps = React.ComponentProps<typeof PlatformFormFooter>;
|
|
13
13
|
export type FormFooterProps = Pick<PlatformFormFooterProps, 'children' | 'align'>;
|
|
14
|
+
/**
|
|
15
|
+
* A form allows users to input information.
|
|
16
|
+
*/
|
|
17
|
+
export type TFormFooter<T> = (props: FormFooterProps) => T;
|
|
14
18
|
export {};
|
|
@@ -3,12 +3,16 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - FormHeaderProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::74a8285c7ae5a0c5db7b8cafa4d8226b>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/form/__generated__/form-header.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/form/__generated__/form-header.partial.tsx <<SignedSource::038ad7a850af23fb1c9b30de39ab0552>>
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import { FormHeader as PlatformFormHeader } from '@atlaskit/form';
|
|
12
12
|
type PlatformFormHeaderProps = React.ComponentProps<typeof PlatformFormHeader>;
|
|
13
13
|
export type FormHeaderProps = Pick<PlatformFormHeaderProps, 'title' | 'description' | 'children'>;
|
|
14
|
+
/**
|
|
15
|
+
* A form allows users to input information.
|
|
16
|
+
*/
|
|
17
|
+
export type TFormHeader<T> = (props: FormHeaderProps) => T;
|
|
14
18
|
export {};
|
|
@@ -3,12 +3,16 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - FormSectionProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::bb91841c1913229e7eb66d61b4ab693d>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/form/__generated__/form-section.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/form/__generated__/form-section.partial.tsx <<SignedSource::7b30101c26550bb11c0f4ca6d4cf46fc>>
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import { FormSection as PlatformFormSection } from '@atlaskit/form';
|
|
12
12
|
type PlatformFormSectionProps = React.ComponentProps<typeof PlatformFormSection>;
|
|
13
13
|
export type FormSectionProps = Pick<PlatformFormSectionProps, 'title' | 'children' | 'description'>;
|
|
14
|
+
/**
|
|
15
|
+
* A form allows users to input information.
|
|
16
|
+
*/
|
|
17
|
+
export type TFormSection<T> = (props: FormSectionProps) => T;
|
|
14
18
|
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 - HelperMessageProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::85d8a9188648ed81c09769eedb4935e6>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/form/__generated__/helper-message.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/form/__generated__/helper-message.partial.tsx <<SignedSource::f093808bbd8bf8738059aee750524013>>
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import { HelperMessage as PlatformHelperMessage } from '@atlaskit/form';
|
|
12
12
|
type PlatformHelperMessageProps = React.ComponentProps<typeof PlatformHelperMessage>;
|
|
13
13
|
export type HelperMessageProps = Pick<PlatformHelperMessageProps, 'children' | 'testId'>;
|
|
14
|
+
/**
|
|
15
|
+
* A form allows users to input information.
|
|
16
|
+
*/
|
|
17
|
+
export type THelperMessage<T> = (props: HelperMessageProps) => T;
|
|
14
18
|
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 {};
|