@atlaskit/forge-react-types 0.34.15 → 0.35.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +21 -0
- package/dist/types/components/__generated__/RadioGroupProps.codegen.d.ts +6 -2
- package/dist/types/components/__generated__/RadioProps.codegen.d.ts +6 -2
- package/dist/types/components/__generated__/RangeProps.codegen.d.ts +6 -2
- package/dist/types/components/__generated__/SectionMessageActionProps.codegen.d.ts +6 -2
- package/dist/types/components/__generated__/SectionMessageProps.codegen.d.ts +6 -2
- package/dist/types/components/__generated__/SpinnerProps.codegen.d.ts +6 -2
- package/dist/types/components/__generated__/StackProps.codegen.d.ts +6 -2
- package/dist/types/components/__generated__/TabListProps.codegen.d.ts +6 -2
- package/dist/types/components/__generated__/TabPanelProps.codegen.d.ts +6 -2
- package/dist/types/components/__generated__/TabProps.codegen.d.ts +6 -2
- package/dist/types/components/__generated__/TabsProps.codegen.d.ts +6 -2
- package/dist/types/components/__generated__/TagGroupProps.codegen.d.ts +6 -2
- package/dist/types/components/__generated__/TagProps.codegen.d.ts +6 -2
- package/dist/types/components/__generated__/TimePickerProps.codegen.d.ts +6 -2
- package/dist/types/components/__generated__/ToggleProps.codegen.d.ts +6 -2
- package/dist/types/components/__generated__/TooltipProps.codegen.d.ts +6 -2
- package/dist/types-ts4.5/components/__generated__/RadioGroupProps.codegen.d.ts +6 -2
- package/dist/types-ts4.5/components/__generated__/RadioProps.codegen.d.ts +6 -2
- package/dist/types-ts4.5/components/__generated__/RangeProps.codegen.d.ts +6 -2
- package/dist/types-ts4.5/components/__generated__/SectionMessageActionProps.codegen.d.ts +6 -2
- package/dist/types-ts4.5/components/__generated__/SectionMessageProps.codegen.d.ts +6 -2
- package/dist/types-ts4.5/components/__generated__/SpinnerProps.codegen.d.ts +6 -2
- package/dist/types-ts4.5/components/__generated__/StackProps.codegen.d.ts +6 -2
- package/dist/types-ts4.5/components/__generated__/TabListProps.codegen.d.ts +6 -2
- package/dist/types-ts4.5/components/__generated__/TabPanelProps.codegen.d.ts +6 -2
- package/dist/types-ts4.5/components/__generated__/TabProps.codegen.d.ts +6 -2
- package/dist/types-ts4.5/components/__generated__/TabsProps.codegen.d.ts +6 -2
- package/dist/types-ts4.5/components/__generated__/TagGroupProps.codegen.d.ts +6 -2
- package/dist/types-ts4.5/components/__generated__/TagProps.codegen.d.ts +6 -2
- package/dist/types-ts4.5/components/__generated__/TimePickerProps.codegen.d.ts +6 -2
- package/dist/types-ts4.5/components/__generated__/ToggleProps.codegen.d.ts +6 -2
- package/dist/types-ts4.5/components/__generated__/TooltipProps.codegen.d.ts +6 -2
- package/package.json +33 -33
- package/src/components/__generated__/RadioGroupProps.codegen.tsx +8 -3
- package/src/components/__generated__/RadioProps.codegen.tsx +8 -3
- package/src/components/__generated__/RangeProps.codegen.tsx +8 -3
- package/src/components/__generated__/SectionMessageActionProps.codegen.tsx +8 -3
- package/src/components/__generated__/SectionMessageProps.codegen.tsx +8 -3
- package/src/components/__generated__/SpinnerProps.codegen.tsx +8 -3
- package/src/components/__generated__/StackProps.codegen.tsx +8 -3
- package/src/components/__generated__/TabListProps.codegen.tsx +8 -3
- package/src/components/__generated__/TabPanelProps.codegen.tsx +8 -3
- package/src/components/__generated__/TabProps.codegen.tsx +8 -3
- package/src/components/__generated__/TabsProps.codegen.tsx +8 -3
- package/src/components/__generated__/TagGroupProps.codegen.tsx +8 -3
- package/src/components/__generated__/TagProps.codegen.tsx +8 -3
- package/src/components/__generated__/TimePickerProps.codegen.tsx +8 -3
- package/src/components/__generated__/ToggleProps.codegen.tsx +8 -3
- package/src/components/__generated__/TooltipProps.codegen.tsx +8 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
# @atlaskit/forge-react-types
|
|
2
2
|
|
|
3
|
+
## 0.35.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#109060](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/109060)
|
|
8
|
+
[`4660ec858a305`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4660ec858a305) -
|
|
9
|
+
Update `React` from v16 to v18
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
|
|
15
|
+
## 0.34.16
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- [#108316](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/108316)
|
|
20
|
+
[`8e8eed0bdc006`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8e8eed0bdc006) -
|
|
21
|
+
Migrate radio, range, section message, spinner, stack, tabs, tag, tag group, time picker, toggle,
|
|
22
|
+
tooltip to using props config
|
|
23
|
+
|
|
3
24
|
## 0.34.15
|
|
4
25
|
|
|
5
26
|
### Patch Changes
|
|
@@ -3,13 +3,17 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - RadioGroupProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::9e8f5f00ccd2499b16825fd3a979fa49>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/radio/__generated__/radio-group.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/radio/__generated__/radio-group.partial.tsx <<SignedSource::eb1a74ed6578669af32fa8e9eccfc967>>
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import { RadioGroup as PlatformRadioGroup } from '@atlaskit/radio';
|
|
12
12
|
import type { EventHandlerProps } from './types.codegen';
|
|
13
13
|
type PlatformRadioGroupProps = React.ComponentProps<typeof PlatformRadioGroup>;
|
|
14
14
|
export type RadioGroupProps = Pick<PlatformRadioGroupProps, 'defaultValue' | 'options' | 'onInvalid' | 'testId' | 'isRequired' | 'isDisabled' | 'isInvalid' | 'value' | 'aria-labelledby' | 'name'> & Pick<EventHandlerProps, 'onChange'>;
|
|
15
|
+
/**
|
|
16
|
+
* A radio input allows users to select only one option from a number of choices. Radio is generally displayed in a radio group.
|
|
17
|
+
*/
|
|
18
|
+
export type TRadioGroup<T> = (props: RadioGroupProps) => T;
|
|
15
19
|
export {};
|
|
@@ -3,13 +3,17 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - RadioProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::15501f4da2db03fc496259f6cf9db704>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/radio/__generated__/index.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/radio/__generated__/index.partial.tsx <<SignedSource::24d94151d76a83de0609bd9b427e4f3a>>
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import { Radio as PlatformRadio } from '@atlaskit/radio';
|
|
12
12
|
import type { EventHandlerProps } from './types.codegen';
|
|
13
13
|
type PlatformRadioProps = React.ComponentProps<typeof PlatformRadio>;
|
|
14
14
|
export type RadioProps = Pick<PlatformRadioProps, 'label' | 'testId' | 'isChecked' | 'ariaLabel' | 'onInvalid' | 'id' | 'isRequired' | 'isDisabled' | 'isInvalid' | 'value' | 'aria-invalid' | 'aria-labelledby' | 'name'> & Pick<EventHandlerProps, 'onChange' | 'onBlur' | 'onFocus'>;
|
|
15
|
+
/**
|
|
16
|
+
* A radio input allows users to select only one option from a number of choices. Radio is generally displayed in a radio group.
|
|
17
|
+
*/
|
|
18
|
+
export type TRadio<T> = (props: RadioProps) => T;
|
|
15
19
|
export {};
|
|
@@ -3,13 +3,17 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - RangeProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::90b0ddabf2167e8a5baee6fb2a2c151d>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/range/__generated__/index.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/range/__generated__/index.partial.tsx <<SignedSource::66f3c55587192848bc42f9fc146e6c7e>>
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import PlatformRange from '@atlaskit/range';
|
|
12
12
|
import type { EventHandlerProps } from './types.codegen';
|
|
13
13
|
type PlatformRangeProps = React.ComponentProps<typeof PlatformRange>;
|
|
14
14
|
export type RangeProps = Pick<PlatformRangeProps, 'defaultValue' | 'max' | 'min' | 'step' | 'testId' | 'onChange' | 'id' | 'isDisabled' | 'value' | 'aria-invalid' | 'aria-labelledby' | 'name'> & Pick<EventHandlerProps, 'onBlur' | 'onFocus'>;
|
|
15
|
+
/**
|
|
16
|
+
* A range lets users choose an approximate value on a slider.
|
|
17
|
+
*/
|
|
18
|
+
export type TRange<T> = (props: RangeProps) => T;
|
|
15
19
|
export {};
|
|
@@ -3,12 +3,16 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - SectionMessageActionProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::ec58a4fcf2dc9bef11c61ab8aa605d64>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/sectionmessage/__generated__/action.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/sectionmessage/__generated__/action.partial.tsx <<SignedSource::50b24e38b69e96bf0beef119eeba8b2f>>
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import { SectionMessageAction as PlatformSectionMessageAction } from '@atlaskit/section-message';
|
|
12
12
|
type PlatformSectionMessageActionProps = React.ComponentProps<typeof PlatformSectionMessageAction>;
|
|
13
13
|
export type SectionMessageActionProps = Pick<PlatformSectionMessageActionProps, 'children' | 'onClick' | 'href' | 'testId'>;
|
|
14
|
+
/**
|
|
15
|
+
* A section message is used to alert users to a particular section of the screen.
|
|
16
|
+
*/
|
|
17
|
+
export type TSectionMessageAction<T> = (props: SectionMessageActionProps) => T;
|
|
14
18
|
export {};
|
|
@@ -3,12 +3,16 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - SectionMessageProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::a8d8f62dc2c73c2c021e658bd7efbcd7>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/sectionmessage/__generated__/index.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/sectionmessage/__generated__/index.partial.tsx <<SignedSource::164319f578b12a9ab6d85a5bd3e4cc8a>>
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import PlatformSectionMessage from '@atlaskit/section-message';
|
|
12
12
|
type PlatformSectionMessageProps = React.ComponentProps<typeof PlatformSectionMessage>;
|
|
13
13
|
export type SectionMessageProps = Pick<PlatformSectionMessageProps, 'children' | 'appearance' | 'title' | 'actions' | 'testId'>;
|
|
14
|
+
/**
|
|
15
|
+
* A section message is used to alert users to a particular section of the screen.
|
|
16
|
+
*/
|
|
17
|
+
export type TSectionMessage<T> = (props: SectionMessageProps) => T;
|
|
14
18
|
export {};
|
|
@@ -3,12 +3,16 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - SpinnerProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::4e5a68490063fadaa3ca7fb88f04cb94>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/spinner/__generated__/index.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/spinner/__generated__/index.partial.tsx <<SignedSource::d6138d211e143990a6133754180f565c>>
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import PlatformSpinner from '@atlaskit/spinner';
|
|
12
12
|
type PlatformSpinnerProps = React.ComponentProps<typeof PlatformSpinner>;
|
|
13
13
|
export type SpinnerProps = Pick<PlatformSpinnerProps, 'appearance' | 'delay' | 'label' | 'size' | 'testId'>;
|
|
14
|
+
/**
|
|
15
|
+
* A spinner is an animated spinning icon that lets users know content is being loaded.
|
|
16
|
+
*/
|
|
17
|
+
export type TSpinner<T> = (props: SpinnerProps) => T;
|
|
14
18
|
export {};
|
|
@@ -3,12 +3,16 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - StackProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::0e61f7285631ab35f3a77bb1d42d43aa>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/stack/__generated__/index.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/stack/__generated__/index.partial.tsx <<SignedSource::63880622ee058ba54ea3754cbc1910f4>>
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import { Stack as PlatformStack } from '@atlaskit/primitives';
|
|
12
12
|
type PlatformStackProps = React.ComponentProps<typeof PlatformStack>;
|
|
13
13
|
export type StackProps = Pick<PlatformStackProps, 'children' | 'alignBlock' | 'alignInline' | 'grow' | 'space' | 'spread' | 'testId'>;
|
|
14
|
+
/**
|
|
15
|
+
* Primitives are token-backed low-level building blocks.
|
|
16
|
+
*/
|
|
17
|
+
export type TStack<T> = (props: StackProps) => T;
|
|
14
18
|
export {};
|
|
@@ -3,12 +3,16 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - TabListProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::0b10d2d919012771dcb780ff32d5cfd2>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/tabs/__generated__/tablist.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/tabs/__generated__/tablist.partial.tsx <<SignedSource::4ada894a5d94a305fa30eb45a6759915>>
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import { TabList as PlatformTabList } from '@atlaskit/tabs';
|
|
12
12
|
type PlatformTabListProps = React.ComponentProps<typeof PlatformTabList>;
|
|
13
13
|
export type TabListProps = Pick<PlatformTabListProps, 'children'>;
|
|
14
|
+
/**
|
|
15
|
+
* Tabs are used to organize content by grouping similar information on the same page.
|
|
16
|
+
*/
|
|
17
|
+
export type TTabList<T> = (props: TabListProps) => T;
|
|
14
18
|
export {};
|
|
@@ -3,12 +3,16 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - TabPanelProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::d880c7eaf445179245b8aea2d70ea39e>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/tabs/__generated__/tabpanel.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/tabs/__generated__/tabpanel.partial.tsx <<SignedSource::1bbc05ad9425e3df25423076ab0a0acf>>
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import { TabPanel as PlatformTabPanel } from '@atlaskit/tabs';
|
|
12
12
|
type PlatformTabPanelProps = React.ComponentProps<typeof PlatformTabPanel>;
|
|
13
13
|
export type TabPanelProps = Pick<PlatformTabPanelProps, 'children' | 'testId'>;
|
|
14
|
+
/**
|
|
15
|
+
* Tabs are used to organize content by grouping similar information on the same page.
|
|
16
|
+
*/
|
|
17
|
+
export type TTabPanel<T> = (props: TabPanelProps) => T;
|
|
14
18
|
export {};
|
|
@@ -3,12 +3,16 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - TabProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::6b0d6b725c7692c9bfcddf45f3ca4f1f>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/tabs/__generated__/tab.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/tabs/__generated__/tab.partial.tsx <<SignedSource::f5363c279366b51358d257738457c7d5>>
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import { Tab as PlatformTab } from '@atlaskit/tabs';
|
|
12
12
|
type PlatformTabProps = React.ComponentProps<typeof PlatformTab>;
|
|
13
13
|
export type TabProps = Pick<PlatformTabProps, 'children' | 'testId'>;
|
|
14
|
+
/**
|
|
15
|
+
* Tabs are used to organize content by grouping similar information on the same page.
|
|
16
|
+
*/
|
|
17
|
+
export type TTab<T> = (props: TabProps) => T;
|
|
14
18
|
export {};
|
|
@@ -3,12 +3,16 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - TabsProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::218a06565465557c9f3831d190600268>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/tabs/__generated__/tabs.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/tabs/__generated__/tabs.partial.tsx <<SignedSource::f5d8442dd79c61463d58ed2e436af3f4>>
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import PlatformTabs from '@atlaskit/tabs';
|
|
12
12
|
type PlatformTabsProps = React.ComponentProps<typeof PlatformTabs>;
|
|
13
13
|
export type TabsProps = Pick<PlatformTabsProps, 'id' | 'children' | 'defaultSelected' | 'onChange' | 'selected' | 'shouldUnmountTabPanelOnChange' | 'testId'>;
|
|
14
|
+
/**
|
|
15
|
+
* Tabs are used to organize content by grouping similar information on the same page.
|
|
16
|
+
*/
|
|
17
|
+
export type TTabs<T> = (props: TabsProps) => T;
|
|
14
18
|
export {};
|
|
@@ -3,12 +3,16 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - TagGroupProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::45fcdf87d3eec9b19786d1085f656356>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/taggroup/__generated__/index.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/taggroup/__generated__/index.partial.tsx <<SignedSource::5ecfc76aae3b3e7f55b076d81f20c782>>
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import PlatformTagGroup from '@atlaskit/tag-group';
|
|
12
12
|
type PlatformTagGroupProps = React.ComponentProps<typeof PlatformTagGroup>;
|
|
13
13
|
export type TagGroupProps = Pick<PlatformTagGroupProps, 'children' | 'alignment'>;
|
|
14
|
+
/**
|
|
15
|
+
* A tag group controls the layout and alignment for a collection of tags.
|
|
16
|
+
*/
|
|
17
|
+
export type TTagGroup<T> = (props: TagGroupProps) => T;
|
|
14
18
|
export {};
|
|
@@ -3,12 +3,16 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - TagProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::1d48163194ea309ddc6f7353e5123202>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/tag/__generated__/index.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/tag/__generated__/index.partial.tsx <<SignedSource::1f9f7073797cd01947c622c0400785ae>>
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import { SimpleTag as PlatformSimpleTag } from '@atlaskit/tag';
|
|
12
12
|
type PlatformSimpleTagProps = React.ComponentProps<typeof PlatformSimpleTag>;
|
|
13
13
|
export type SimpleTagProps = Pick<PlatformSimpleTagProps, 'text' | 'appearance' | 'color' | 'elemBefore' | 'href' | 'testId'>;
|
|
14
|
+
/**
|
|
15
|
+
* A tag labels UI objects for quick recognition and navigation.
|
|
16
|
+
*/
|
|
17
|
+
export type TSimpleTag<T> = (props: SimpleTagProps) => T;
|
|
14
18
|
export {};
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - TimePickerProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::bf9a04576bd1f8b348bd5091c9273208>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/timepicker/__generated__/index.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/timepicker/__generated__/index.partial.tsx <<SignedSource::aa8817ad383b8e2bce261c520e227b41>>
|
|
9
9
|
*/
|
|
10
10
|
import type { DateTimePickerSelectProps } from '@atlaskit/datetime-picker';
|
|
11
11
|
export interface FieldProps {
|
|
@@ -43,4 +43,8 @@ export type TimePickerProps = {
|
|
|
43
43
|
testId?: string;
|
|
44
44
|
selectProps?: DateTimePickerSelectProps;
|
|
45
45
|
} & Partial<Omit<FieldProps, 'onChange'>>;
|
|
46
|
+
/**
|
|
47
|
+
* A date time picker allows the user to select an associated date and time.
|
|
48
|
+
*/
|
|
49
|
+
export type TTimePicker<T> = (props: TimePickerProps) => T;
|
|
46
50
|
export {};
|
|
@@ -3,13 +3,17 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - ToggleProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::388ba32ab2e4bdf3dbe9d05944eb41f0>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/toggle/__generated__/index.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/toggle/__generated__/index.partial.tsx <<SignedSource::b7d6483e971110f0134e350247bb54af>>
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import PlatformToggle from '@atlaskit/toggle';
|
|
12
12
|
import type { EventHandlerProps } from './types.codegen';
|
|
13
13
|
type PlatformToggleProps = React.ComponentProps<typeof PlatformToggle>;
|
|
14
14
|
export type ToggleProps = Pick<PlatformToggleProps, 'size' | 'testId' | 'defaultChecked' | 'isChecked' | 'label' | 'id' | 'isDisabled' | 'value' | 'name'> & Pick<EventHandlerProps, 'onChange' | 'onBlur' | 'onFocus'>;
|
|
15
|
+
/**
|
|
16
|
+
* A toggle is used to view or switch between enabled or disabled states.
|
|
17
|
+
*/
|
|
18
|
+
export type TToggle<T> = (props: ToggleProps) => T;
|
|
15
19
|
export {};
|
|
@@ -3,12 +3,16 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - TooltipProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::d67c937dcf799eb3d57dc35b62b52bd4>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/tooltip/__generated__/index.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/tooltip/__generated__/index.partial.tsx <<SignedSource::f5b26159e3b08ac61199d599900f523d>>
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import PlatformTooltip from '@atlaskit/tooltip';
|
|
12
12
|
type PlatformTooltipProps = React.ComponentProps<typeof PlatformTooltip>;
|
|
13
13
|
export type TooltipProps = Pick<PlatformTooltipProps, 'children' | 'position' | 'mousePosition' | 'content' | 'truncate' | 'testId' | 'delay'>;
|
|
14
|
+
/**
|
|
15
|
+
* A tooltip is a floating, non-actionable label used to explain a user interface element or feature.
|
|
16
|
+
*/
|
|
17
|
+
export type TTooltip<T> = (props: TooltipProps) => T;
|
|
14
18
|
export {};
|
|
@@ -3,13 +3,17 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - RadioGroupProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::9e8f5f00ccd2499b16825fd3a979fa49>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/radio/__generated__/radio-group.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/radio/__generated__/radio-group.partial.tsx <<SignedSource::eb1a74ed6578669af32fa8e9eccfc967>>
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import { RadioGroup as PlatformRadioGroup } from '@atlaskit/radio';
|
|
12
12
|
import type { EventHandlerProps } from './types.codegen';
|
|
13
13
|
type PlatformRadioGroupProps = React.ComponentProps<typeof PlatformRadioGroup>;
|
|
14
14
|
export type RadioGroupProps = Pick<PlatformRadioGroupProps, 'defaultValue' | 'options' | 'onInvalid' | 'testId' | 'isRequired' | 'isDisabled' | 'isInvalid' | 'value' | 'aria-labelledby' | 'name'> & Pick<EventHandlerProps, 'onChange'>;
|
|
15
|
+
/**
|
|
16
|
+
* A radio input allows users to select only one option from a number of choices. Radio is generally displayed in a radio group.
|
|
17
|
+
*/
|
|
18
|
+
export type TRadioGroup<T> = (props: RadioGroupProps) => T;
|
|
15
19
|
export {};
|
|
@@ -3,13 +3,17 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - RadioProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::15501f4da2db03fc496259f6cf9db704>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/radio/__generated__/index.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/radio/__generated__/index.partial.tsx <<SignedSource::24d94151d76a83de0609bd9b427e4f3a>>
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import { Radio as PlatformRadio } from '@atlaskit/radio';
|
|
12
12
|
import type { EventHandlerProps } from './types.codegen';
|
|
13
13
|
type PlatformRadioProps = React.ComponentProps<typeof PlatformRadio>;
|
|
14
14
|
export type RadioProps = Pick<PlatformRadioProps, 'label' | 'testId' | 'isChecked' | 'ariaLabel' | 'onInvalid' | 'id' | 'isRequired' | 'isDisabled' | 'isInvalid' | 'value' | 'aria-invalid' | 'aria-labelledby' | 'name'> & Pick<EventHandlerProps, 'onChange' | 'onBlur' | 'onFocus'>;
|
|
15
|
+
/**
|
|
16
|
+
* A radio input allows users to select only one option from a number of choices. Radio is generally displayed in a radio group.
|
|
17
|
+
*/
|
|
18
|
+
export type TRadio<T> = (props: RadioProps) => T;
|
|
15
19
|
export {};
|
|
@@ -3,13 +3,17 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - RangeProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::90b0ddabf2167e8a5baee6fb2a2c151d>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/range/__generated__/index.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/range/__generated__/index.partial.tsx <<SignedSource::66f3c55587192848bc42f9fc146e6c7e>>
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import PlatformRange from '@atlaskit/range';
|
|
12
12
|
import type { EventHandlerProps } from './types.codegen';
|
|
13
13
|
type PlatformRangeProps = React.ComponentProps<typeof PlatformRange>;
|
|
14
14
|
export type RangeProps = Pick<PlatformRangeProps, 'defaultValue' | 'max' | 'min' | 'step' | 'testId' | 'onChange' | 'id' | 'isDisabled' | 'value' | 'aria-invalid' | 'aria-labelledby' | 'name'> & Pick<EventHandlerProps, 'onBlur' | 'onFocus'>;
|
|
15
|
+
/**
|
|
16
|
+
* A range lets users choose an approximate value on a slider.
|
|
17
|
+
*/
|
|
18
|
+
export type TRange<T> = (props: RangeProps) => T;
|
|
15
19
|
export {};
|
|
@@ -3,12 +3,16 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - SectionMessageActionProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::ec58a4fcf2dc9bef11c61ab8aa605d64>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/sectionmessage/__generated__/action.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/sectionmessage/__generated__/action.partial.tsx <<SignedSource::50b24e38b69e96bf0beef119eeba8b2f>>
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import { SectionMessageAction as PlatformSectionMessageAction } from '@atlaskit/section-message';
|
|
12
12
|
type PlatformSectionMessageActionProps = React.ComponentProps<typeof PlatformSectionMessageAction>;
|
|
13
13
|
export type SectionMessageActionProps = Pick<PlatformSectionMessageActionProps, 'children' | 'onClick' | 'href' | 'testId'>;
|
|
14
|
+
/**
|
|
15
|
+
* A section message is used to alert users to a particular section of the screen.
|
|
16
|
+
*/
|
|
17
|
+
export type TSectionMessageAction<T> = (props: SectionMessageActionProps) => T;
|
|
14
18
|
export {};
|
|
@@ -3,12 +3,16 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - SectionMessageProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::a8d8f62dc2c73c2c021e658bd7efbcd7>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/sectionmessage/__generated__/index.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/sectionmessage/__generated__/index.partial.tsx <<SignedSource::164319f578b12a9ab6d85a5bd3e4cc8a>>
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import PlatformSectionMessage from '@atlaskit/section-message';
|
|
12
12
|
type PlatformSectionMessageProps = React.ComponentProps<typeof PlatformSectionMessage>;
|
|
13
13
|
export type SectionMessageProps = Pick<PlatformSectionMessageProps, 'children' | 'appearance' | 'title' | 'actions' | 'testId'>;
|
|
14
|
+
/**
|
|
15
|
+
* A section message is used to alert users to a particular section of the screen.
|
|
16
|
+
*/
|
|
17
|
+
export type TSectionMessage<T> = (props: SectionMessageProps) => T;
|
|
14
18
|
export {};
|
|
@@ -3,12 +3,16 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - SpinnerProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::4e5a68490063fadaa3ca7fb88f04cb94>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/spinner/__generated__/index.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/spinner/__generated__/index.partial.tsx <<SignedSource::d6138d211e143990a6133754180f565c>>
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import PlatformSpinner from '@atlaskit/spinner';
|
|
12
12
|
type PlatformSpinnerProps = React.ComponentProps<typeof PlatformSpinner>;
|
|
13
13
|
export type SpinnerProps = Pick<PlatformSpinnerProps, 'appearance' | 'delay' | 'label' | 'size' | 'testId'>;
|
|
14
|
+
/**
|
|
15
|
+
* A spinner is an animated spinning icon that lets users know content is being loaded.
|
|
16
|
+
*/
|
|
17
|
+
export type TSpinner<T> = (props: SpinnerProps) => T;
|
|
14
18
|
export {};
|
|
@@ -3,12 +3,16 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - StackProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::0e61f7285631ab35f3a77bb1d42d43aa>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/stack/__generated__/index.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/stack/__generated__/index.partial.tsx <<SignedSource::63880622ee058ba54ea3754cbc1910f4>>
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import { Stack as PlatformStack } from '@atlaskit/primitives';
|
|
12
12
|
type PlatformStackProps = React.ComponentProps<typeof PlatformStack>;
|
|
13
13
|
export type StackProps = Pick<PlatformStackProps, 'children' | 'alignBlock' | 'alignInline' | 'grow' | 'space' | 'spread' | 'testId'>;
|
|
14
|
+
/**
|
|
15
|
+
* Primitives are token-backed low-level building blocks.
|
|
16
|
+
*/
|
|
17
|
+
export type TStack<T> = (props: StackProps) => T;
|
|
14
18
|
export {};
|
|
@@ -3,12 +3,16 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - TabListProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::0b10d2d919012771dcb780ff32d5cfd2>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/tabs/__generated__/tablist.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/tabs/__generated__/tablist.partial.tsx <<SignedSource::4ada894a5d94a305fa30eb45a6759915>>
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import { TabList as PlatformTabList } from '@atlaskit/tabs';
|
|
12
12
|
type PlatformTabListProps = React.ComponentProps<typeof PlatformTabList>;
|
|
13
13
|
export type TabListProps = Pick<PlatformTabListProps, 'children'>;
|
|
14
|
+
/**
|
|
15
|
+
* Tabs are used to organize content by grouping similar information on the same page.
|
|
16
|
+
*/
|
|
17
|
+
export type TTabList<T> = (props: TabListProps) => T;
|
|
14
18
|
export {};
|
|
@@ -3,12 +3,16 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - TabPanelProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::d880c7eaf445179245b8aea2d70ea39e>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/tabs/__generated__/tabpanel.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/tabs/__generated__/tabpanel.partial.tsx <<SignedSource::1bbc05ad9425e3df25423076ab0a0acf>>
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import { TabPanel as PlatformTabPanel } from '@atlaskit/tabs';
|
|
12
12
|
type PlatformTabPanelProps = React.ComponentProps<typeof PlatformTabPanel>;
|
|
13
13
|
export type TabPanelProps = Pick<PlatformTabPanelProps, 'children' | 'testId'>;
|
|
14
|
+
/**
|
|
15
|
+
* Tabs are used to organize content by grouping similar information on the same page.
|
|
16
|
+
*/
|
|
17
|
+
export type TTabPanel<T> = (props: TabPanelProps) => T;
|
|
14
18
|
export {};
|
|
@@ -3,12 +3,16 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - TabProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::6b0d6b725c7692c9bfcddf45f3ca4f1f>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/tabs/__generated__/tab.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/tabs/__generated__/tab.partial.tsx <<SignedSource::f5363c279366b51358d257738457c7d5>>
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import { Tab as PlatformTab } from '@atlaskit/tabs';
|
|
12
12
|
type PlatformTabProps = React.ComponentProps<typeof PlatformTab>;
|
|
13
13
|
export type TabProps = Pick<PlatformTabProps, 'children' | 'testId'>;
|
|
14
|
+
/**
|
|
15
|
+
* Tabs are used to organize content by grouping similar information on the same page.
|
|
16
|
+
*/
|
|
17
|
+
export type TTab<T> = (props: TabProps) => T;
|
|
14
18
|
export {};
|
|
@@ -3,12 +3,16 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - TabsProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::218a06565465557c9f3831d190600268>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/tabs/__generated__/tabs.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/tabs/__generated__/tabs.partial.tsx <<SignedSource::f5d8442dd79c61463d58ed2e436af3f4>>
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import PlatformTabs from '@atlaskit/tabs';
|
|
12
12
|
type PlatformTabsProps = React.ComponentProps<typeof PlatformTabs>;
|
|
13
13
|
export type TabsProps = Pick<PlatformTabsProps, 'id' | 'children' | 'defaultSelected' | 'onChange' | 'selected' | 'shouldUnmountTabPanelOnChange' | 'testId'>;
|
|
14
|
+
/**
|
|
15
|
+
* Tabs are used to organize content by grouping similar information on the same page.
|
|
16
|
+
*/
|
|
17
|
+
export type TTabs<T> = (props: TabsProps) => T;
|
|
14
18
|
export {};
|
|
@@ -3,12 +3,16 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - TagGroupProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::45fcdf87d3eec9b19786d1085f656356>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/taggroup/__generated__/index.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/taggroup/__generated__/index.partial.tsx <<SignedSource::5ecfc76aae3b3e7f55b076d81f20c782>>
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import PlatformTagGroup from '@atlaskit/tag-group';
|
|
12
12
|
type PlatformTagGroupProps = React.ComponentProps<typeof PlatformTagGroup>;
|
|
13
13
|
export type TagGroupProps = Pick<PlatformTagGroupProps, 'children' | 'alignment'>;
|
|
14
|
+
/**
|
|
15
|
+
* A tag group controls the layout and alignment for a collection of tags.
|
|
16
|
+
*/
|
|
17
|
+
export type TTagGroup<T> = (props: TagGroupProps) => T;
|
|
14
18
|
export {};
|
|
@@ -3,12 +3,16 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - TagProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::1d48163194ea309ddc6f7353e5123202>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/tag/__generated__/index.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/tag/__generated__/index.partial.tsx <<SignedSource::1f9f7073797cd01947c622c0400785ae>>
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import { SimpleTag as PlatformSimpleTag } from '@atlaskit/tag';
|
|
12
12
|
type PlatformSimpleTagProps = React.ComponentProps<typeof PlatformSimpleTag>;
|
|
13
13
|
export type SimpleTagProps = Pick<PlatformSimpleTagProps, 'text' | 'appearance' | 'color' | 'elemBefore' | 'href' | 'testId'>;
|
|
14
|
+
/**
|
|
15
|
+
* A tag labels UI objects for quick recognition and navigation.
|
|
16
|
+
*/
|
|
17
|
+
export type TSimpleTag<T> = (props: SimpleTagProps) => T;
|
|
14
18
|
export {};
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - TimePickerProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::bf9a04576bd1f8b348bd5091c9273208>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/timepicker/__generated__/index.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/timepicker/__generated__/index.partial.tsx <<SignedSource::aa8817ad383b8e2bce261c520e227b41>>
|
|
9
9
|
*/
|
|
10
10
|
import type { DateTimePickerSelectProps } from '@atlaskit/datetime-picker';
|
|
11
11
|
export interface FieldProps {
|
|
@@ -43,4 +43,8 @@ export type TimePickerProps = {
|
|
|
43
43
|
testId?: string;
|
|
44
44
|
selectProps?: DateTimePickerSelectProps;
|
|
45
45
|
} & Partial<Omit<FieldProps, 'onChange'>>;
|
|
46
|
+
/**
|
|
47
|
+
* A date time picker allows the user to select an associated date and time.
|
|
48
|
+
*/
|
|
49
|
+
export type TTimePicker<T> = (props: TimePickerProps) => T;
|
|
46
50
|
export {};
|
|
@@ -3,13 +3,17 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - ToggleProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::388ba32ab2e4bdf3dbe9d05944eb41f0>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/toggle/__generated__/index.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/toggle/__generated__/index.partial.tsx <<SignedSource::b7d6483e971110f0134e350247bb54af>>
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import PlatformToggle from '@atlaskit/toggle';
|
|
12
12
|
import type { EventHandlerProps } from './types.codegen';
|
|
13
13
|
type PlatformToggleProps = React.ComponentProps<typeof PlatformToggle>;
|
|
14
14
|
export type ToggleProps = Pick<PlatformToggleProps, 'size' | 'testId' | 'defaultChecked' | 'isChecked' | 'label' | 'id' | 'isDisabled' | 'value' | 'name'> & Pick<EventHandlerProps, 'onChange' | 'onBlur' | 'onFocus'>;
|
|
15
|
+
/**
|
|
16
|
+
* A toggle is used to view or switch between enabled or disabled states.
|
|
17
|
+
*/
|
|
18
|
+
export type TToggle<T> = (props: ToggleProps) => T;
|
|
15
19
|
export {};
|
|
@@ -3,12 +3,16 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - TooltipProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::d67c937dcf799eb3d57dc35b62b52bd4>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/tooltip/__generated__/index.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/tooltip/__generated__/index.partial.tsx <<SignedSource::f5b26159e3b08ac61199d599900f523d>>
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import PlatformTooltip from '@atlaskit/tooltip';
|
|
12
12
|
type PlatformTooltipProps = React.ComponentProps<typeof PlatformTooltip>;
|
|
13
13
|
export type TooltipProps = Pick<PlatformTooltipProps, 'children' | 'position' | 'mousePosition' | 'content' | 'truncate' | 'testId' | 'delay'>;
|
|
14
|
+
/**
|
|
15
|
+
* A tooltip is a floating, non-actionable label used to explain a user interface element or feature.
|
|
16
|
+
*/
|
|
17
|
+
export type TTooltip<T> = (props: TooltipProps) => T;
|
|
14
18
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/forge-react-types",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.35.0",
|
|
4
4
|
"description": "Component types for Forge UI Kit React components",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -24,37 +24,37 @@
|
|
|
24
24
|
"team": "Forge UI"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@atlaskit/badge": "^17.
|
|
28
|
-
"@atlaskit/button": "^20.
|
|
29
|
-
"@atlaskit/calendar": "^16.
|
|
30
|
-
"@atlaskit/checkbox": "^15.
|
|
31
|
-
"@atlaskit/code": "^15.
|
|
32
|
-
"@atlaskit/datetime-picker": "^15.
|
|
33
|
-
"@atlaskit/dynamic-table": "^17.
|
|
34
|
-
"@atlaskit/empty-state": "^8.
|
|
35
|
-
"@atlaskit/form": "^11.
|
|
36
|
-
"@atlaskit/heading": "^4.
|
|
37
|
-
"@atlaskit/inline-edit": "^14.
|
|
38
|
-
"@atlaskit/lozenge": "^11.
|
|
39
|
-
"@atlaskit/modal-dialog": "^12.
|
|
40
|
-
"@atlaskit/popup": "^1.
|
|
41
|
-
"@atlaskit/primitives": "^13.
|
|
42
|
-
"@atlaskit/progress-bar": "3.0
|
|
43
|
-
"@atlaskit/progress-tracker": "9.
|
|
44
|
-
"@atlaskit/radio": "^7.
|
|
45
|
-
"@atlaskit/range": "^8.
|
|
46
|
-
"@atlaskit/renderer": "^112.
|
|
47
|
-
"@atlaskit/section-message": "^6.
|
|
48
|
-
"@atlaskit/select": "^18.
|
|
49
|
-
"@atlaskit/spinner": "^17.
|
|
50
|
-
"@atlaskit/tabs": "^17.
|
|
51
|
-
"@atlaskit/tag": "^12.
|
|
52
|
-
"@atlaskit/tag-group": "^11.
|
|
53
|
-
"@atlaskit/textarea": "^5.
|
|
54
|
-
"@atlaskit/textfield": "^6.
|
|
55
|
-
"@atlaskit/toggle": "^14.
|
|
56
|
-
"@atlaskit/tokens": "^3.
|
|
57
|
-
"@atlaskit/tooltip": "^19.
|
|
27
|
+
"@atlaskit/badge": "^17.1.0",
|
|
28
|
+
"@atlaskit/button": "^20.4.0",
|
|
29
|
+
"@atlaskit/calendar": "^16.3.0",
|
|
30
|
+
"@atlaskit/checkbox": "^15.3.0",
|
|
31
|
+
"@atlaskit/code": "^15.7.0",
|
|
32
|
+
"@atlaskit/datetime-picker": "^15.12.0",
|
|
33
|
+
"@atlaskit/dynamic-table": "^17.1.0",
|
|
34
|
+
"@atlaskit/empty-state": "^8.2.0",
|
|
35
|
+
"@atlaskit/form": "^11.1.0",
|
|
36
|
+
"@atlaskit/heading": "^4.1.0",
|
|
37
|
+
"@atlaskit/inline-edit": "^14.2.0",
|
|
38
|
+
"@atlaskit/lozenge": "^11.13.0",
|
|
39
|
+
"@atlaskit/modal-dialog": "^12.20.0",
|
|
40
|
+
"@atlaskit/popup": "^1.31.0",
|
|
41
|
+
"@atlaskit/primitives": "^13.4.0",
|
|
42
|
+
"@atlaskit/progress-bar": "3.1.0",
|
|
43
|
+
"@atlaskit/progress-tracker": "9.3.0",
|
|
44
|
+
"@atlaskit/radio": "^7.2.0",
|
|
45
|
+
"@atlaskit/range": "^8.1.0",
|
|
46
|
+
"@atlaskit/renderer": "^112.12.0",
|
|
47
|
+
"@atlaskit/section-message": "^6.9.0",
|
|
48
|
+
"@atlaskit/select": "^18.10.0",
|
|
49
|
+
"@atlaskit/spinner": "^17.1.0",
|
|
50
|
+
"@atlaskit/tabs": "^17.2.0",
|
|
51
|
+
"@atlaskit/tag": "^12.7.0",
|
|
52
|
+
"@atlaskit/tag-group": "^11.1.0",
|
|
53
|
+
"@atlaskit/textarea": "^5.8.0",
|
|
54
|
+
"@atlaskit/textfield": "^6.8.0",
|
|
55
|
+
"@atlaskit/toggle": "^14.1.0",
|
|
56
|
+
"@atlaskit/tokens": "^3.3.0",
|
|
57
|
+
"@atlaskit/tooltip": "^19.1.0",
|
|
58
58
|
"@babel/runtime": "^7.0.0"
|
|
59
59
|
},
|
|
60
60
|
"peerDependencies": {
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"devDependencies": {
|
|
64
64
|
"@atlassian/codegen": "^0.1.2",
|
|
65
65
|
"@types/node": "~20.16.5",
|
|
66
|
-
"react": "^
|
|
66
|
+
"react": "^18.2.0",
|
|
67
67
|
"ts-morph": "^17.0.0",
|
|
68
68
|
"ts-node": "^10.9.1",
|
|
69
69
|
"typescript": "~5.4.2"
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - RadioGroupProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::9e8f5f00ccd2499b16825fd3a979fa49>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/radio/__generated__/radio-group.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/radio/__generated__/radio-group.partial.tsx <<SignedSource::eb1a74ed6578669af32fa8e9eccfc967>>
|
|
9
9
|
*/
|
|
10
10
|
/* eslint @repo/internal/codegen/signed-source-integrity: "warn" */
|
|
11
11
|
|
|
@@ -19,4 +19,9 @@ export type RadioGroupProps = Pick<
|
|
|
19
19
|
PlatformRadioGroupProps,
|
|
20
20
|
'defaultValue' | 'options' | 'onInvalid' | 'testId'
|
|
21
21
|
| 'isRequired' | 'isDisabled' | 'isInvalid' | 'value' | 'aria-labelledby' | 'name'
|
|
22
|
-
> & Pick<EventHandlerProps, 'onChange'>;
|
|
22
|
+
> & Pick<EventHandlerProps, 'onChange'>;
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* A radio input allows users to select only one option from a number of choices. Radio is generally displayed in a radio group.
|
|
26
|
+
*/
|
|
27
|
+
export type TRadioGroup<T> = (props: RadioGroupProps) => T;
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - RadioProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::15501f4da2db03fc496259f6cf9db704>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/radio/__generated__/index.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/radio/__generated__/index.partial.tsx <<SignedSource::24d94151d76a83de0609bd9b427e4f3a>>
|
|
9
9
|
*/
|
|
10
10
|
/* eslint @repo/internal/codegen/signed-source-integrity: "warn" */
|
|
11
11
|
|
|
@@ -19,4 +19,9 @@ export type RadioProps = Pick<
|
|
|
19
19
|
PlatformRadioProps,
|
|
20
20
|
'label' | 'testId' | 'isChecked' | 'ariaLabel' | 'onInvalid'
|
|
21
21
|
| 'id' | 'isRequired' | 'isDisabled' | 'isInvalid' | 'value' | 'aria-invalid' | 'aria-labelledby' | 'name'
|
|
22
|
-
> & Pick<EventHandlerProps, 'onChange' | 'onBlur' | 'onFocus'>;
|
|
22
|
+
> & Pick<EventHandlerProps, 'onChange' | 'onBlur' | 'onFocus'>;
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* A radio input allows users to select only one option from a number of choices. Radio is generally displayed in a radio group.
|
|
26
|
+
*/
|
|
27
|
+
export type TRadio<T> = (props: RadioProps) => T;
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - RangeProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::90b0ddabf2167e8a5baee6fb2a2c151d>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/range/__generated__/index.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/range/__generated__/index.partial.tsx <<SignedSource::66f3c55587192848bc42f9fc146e6c7e>>
|
|
9
9
|
*/
|
|
10
10
|
/* eslint @repo/internal/codegen/signed-source-integrity: "warn" */
|
|
11
11
|
|
|
@@ -19,4 +19,9 @@ export type RangeProps = Pick<
|
|
|
19
19
|
PlatformRangeProps,
|
|
20
20
|
'defaultValue' | 'max' | 'min' | 'step' | 'testId' | 'onChange'
|
|
21
21
|
| 'id' | 'isDisabled' | 'value' | 'aria-invalid' | 'aria-labelledby' | 'name'
|
|
22
|
-
> & Pick<EventHandlerProps, 'onBlur' | 'onFocus'>;
|
|
22
|
+
> & Pick<EventHandlerProps, 'onBlur' | 'onFocus'>;
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* A range lets users choose an approximate value on a slider.
|
|
26
|
+
*/
|
|
27
|
+
export type TRange<T> = (props: RangeProps) => T;
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - SectionMessageActionProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::ec58a4fcf2dc9bef11c61ab8aa605d64>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/sectionmessage/__generated__/action.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/sectionmessage/__generated__/action.partial.tsx <<SignedSource::50b24e38b69e96bf0beef119eeba8b2f>>
|
|
9
9
|
*/
|
|
10
10
|
/* eslint @repo/internal/codegen/signed-source-integrity: "warn" */
|
|
11
11
|
|
|
@@ -17,4 +17,9 @@ type PlatformSectionMessageActionProps = React.ComponentProps<typeof PlatformSec
|
|
|
17
17
|
export type SectionMessageActionProps = Pick<
|
|
18
18
|
PlatformSectionMessageActionProps,
|
|
19
19
|
'children' | 'onClick' | 'href' | 'testId'
|
|
20
|
-
>;
|
|
20
|
+
>;
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* A section message is used to alert users to a particular section of the screen.
|
|
24
|
+
*/
|
|
25
|
+
export type TSectionMessageAction<T> = (props: SectionMessageActionProps) => T;
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - SectionMessageProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::a8d8f62dc2c73c2c021e658bd7efbcd7>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/sectionmessage/__generated__/index.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/sectionmessage/__generated__/index.partial.tsx <<SignedSource::164319f578b12a9ab6d85a5bd3e4cc8a>>
|
|
9
9
|
*/
|
|
10
10
|
/* eslint @repo/internal/codegen/signed-source-integrity: "warn" */
|
|
11
11
|
|
|
@@ -17,4 +17,9 @@ type PlatformSectionMessageProps = React.ComponentProps<typeof PlatformSectionMe
|
|
|
17
17
|
export type SectionMessageProps = Pick<
|
|
18
18
|
PlatformSectionMessageProps,
|
|
19
19
|
'children' | 'appearance' | 'title' | 'actions' | 'testId'
|
|
20
|
-
>;
|
|
20
|
+
>;
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* A section message is used to alert users to a particular section of the screen.
|
|
24
|
+
*/
|
|
25
|
+
export type TSectionMessage<T> = (props: SectionMessageProps) => T;
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - SpinnerProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::4e5a68490063fadaa3ca7fb88f04cb94>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/spinner/__generated__/index.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/spinner/__generated__/index.partial.tsx <<SignedSource::d6138d211e143990a6133754180f565c>>
|
|
9
9
|
*/
|
|
10
10
|
/* eslint @repo/internal/codegen/signed-source-integrity: "warn" */
|
|
11
11
|
|
|
@@ -17,4 +17,9 @@ type PlatformSpinnerProps = React.ComponentProps<typeof PlatformSpinner>;
|
|
|
17
17
|
export type SpinnerProps = Pick<
|
|
18
18
|
PlatformSpinnerProps,
|
|
19
19
|
'appearance' | 'delay' | 'label' | 'size' | 'testId'
|
|
20
|
-
>;
|
|
20
|
+
>;
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* A spinner is an animated spinning icon that lets users know content is being loaded.
|
|
24
|
+
*/
|
|
25
|
+
export type TSpinner<T> = (props: SpinnerProps) => T;
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - StackProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::0e61f7285631ab35f3a77bb1d42d43aa>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/stack/__generated__/index.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/stack/__generated__/index.partial.tsx <<SignedSource::63880622ee058ba54ea3754cbc1910f4>>
|
|
9
9
|
*/
|
|
10
10
|
/* eslint @repo/internal/codegen/signed-source-integrity: "warn" */
|
|
11
11
|
|
|
@@ -17,4 +17,9 @@ type PlatformStackProps = React.ComponentProps<typeof PlatformStack>;
|
|
|
17
17
|
export type StackProps = Pick<
|
|
18
18
|
PlatformStackProps,
|
|
19
19
|
'children' | 'alignBlock' | 'alignInline' | 'grow' | 'space' | 'spread' | 'testId'
|
|
20
|
-
>;
|
|
20
|
+
>;
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Primitives are token-backed low-level building blocks.
|
|
24
|
+
*/
|
|
25
|
+
export type TStack<T> = (props: StackProps) => T;
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - TabListProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::0b10d2d919012771dcb780ff32d5cfd2>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/tabs/__generated__/tablist.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/tabs/__generated__/tablist.partial.tsx <<SignedSource::4ada894a5d94a305fa30eb45a6759915>>
|
|
9
9
|
*/
|
|
10
10
|
/* eslint @repo/internal/codegen/signed-source-integrity: "warn" */
|
|
11
11
|
|
|
@@ -17,4 +17,9 @@ type PlatformTabListProps = React.ComponentProps<typeof PlatformTabList>;
|
|
|
17
17
|
export type TabListProps = Pick<
|
|
18
18
|
PlatformTabListProps,
|
|
19
19
|
'children'
|
|
20
|
-
>;
|
|
20
|
+
>;
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Tabs are used to organize content by grouping similar information on the same page.
|
|
24
|
+
*/
|
|
25
|
+
export type TTabList<T> = (props: TabListProps) => T;
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - TabPanelProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::d880c7eaf445179245b8aea2d70ea39e>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/tabs/__generated__/tabpanel.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/tabs/__generated__/tabpanel.partial.tsx <<SignedSource::1bbc05ad9425e3df25423076ab0a0acf>>
|
|
9
9
|
*/
|
|
10
10
|
/* eslint @repo/internal/codegen/signed-source-integrity: "warn" */
|
|
11
11
|
|
|
@@ -17,4 +17,9 @@ type PlatformTabPanelProps = React.ComponentProps<typeof PlatformTabPanel>;
|
|
|
17
17
|
export type TabPanelProps = Pick<
|
|
18
18
|
PlatformTabPanelProps,
|
|
19
19
|
'children' | 'testId'
|
|
20
|
-
>;
|
|
20
|
+
>;
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Tabs are used to organize content by grouping similar information on the same page.
|
|
24
|
+
*/
|
|
25
|
+
export type TTabPanel<T> = (props: TabPanelProps) => T;
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - TabProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::6b0d6b725c7692c9bfcddf45f3ca4f1f>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/tabs/__generated__/tab.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/tabs/__generated__/tab.partial.tsx <<SignedSource::f5363c279366b51358d257738457c7d5>>
|
|
9
9
|
*/
|
|
10
10
|
/* eslint @repo/internal/codegen/signed-source-integrity: "warn" */
|
|
11
11
|
|
|
@@ -17,4 +17,9 @@ type PlatformTabProps = React.ComponentProps<typeof PlatformTab>;
|
|
|
17
17
|
export type TabProps = Pick<
|
|
18
18
|
PlatformTabProps,
|
|
19
19
|
'children' | 'testId'
|
|
20
|
-
>;
|
|
20
|
+
>;
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Tabs are used to organize content by grouping similar information on the same page.
|
|
24
|
+
*/
|
|
25
|
+
export type TTab<T> = (props: TabProps) => T;
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - TabsProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::218a06565465557c9f3831d190600268>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/tabs/__generated__/tabs.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/tabs/__generated__/tabs.partial.tsx <<SignedSource::f5d8442dd79c61463d58ed2e436af3f4>>
|
|
9
9
|
*/
|
|
10
10
|
/* eslint @repo/internal/codegen/signed-source-integrity: "warn" */
|
|
11
11
|
|
|
@@ -17,4 +17,9 @@ type PlatformTabsProps = React.ComponentProps<typeof PlatformTabs>;
|
|
|
17
17
|
export type TabsProps = Pick<
|
|
18
18
|
PlatformTabsProps,
|
|
19
19
|
'id' | 'children' | 'defaultSelected' | 'onChange' | 'selected' | 'shouldUnmountTabPanelOnChange' | 'testId'
|
|
20
|
-
>;
|
|
20
|
+
>;
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Tabs are used to organize content by grouping similar information on the same page.
|
|
24
|
+
*/
|
|
25
|
+
export type TTabs<T> = (props: TabsProps) => T;
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - TagGroupProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::45fcdf87d3eec9b19786d1085f656356>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/taggroup/__generated__/index.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/taggroup/__generated__/index.partial.tsx <<SignedSource::5ecfc76aae3b3e7f55b076d81f20c782>>
|
|
9
9
|
*/
|
|
10
10
|
/* eslint @repo/internal/codegen/signed-source-integrity: "warn" */
|
|
11
11
|
|
|
@@ -17,4 +17,9 @@ type PlatformTagGroupProps = React.ComponentProps<typeof PlatformTagGroup>;
|
|
|
17
17
|
export type TagGroupProps = Pick<
|
|
18
18
|
PlatformTagGroupProps,
|
|
19
19
|
'children' | 'alignment'
|
|
20
|
-
>;
|
|
20
|
+
>;
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* A tag group controls the layout and alignment for a collection of tags.
|
|
24
|
+
*/
|
|
25
|
+
export type TTagGroup<T> = (props: TagGroupProps) => T;
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - TagProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::1d48163194ea309ddc6f7353e5123202>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/tag/__generated__/index.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/tag/__generated__/index.partial.tsx <<SignedSource::1f9f7073797cd01947c622c0400785ae>>
|
|
9
9
|
*/
|
|
10
10
|
/* eslint @repo/internal/codegen/signed-source-integrity: "warn" */
|
|
11
11
|
|
|
@@ -17,4 +17,9 @@ type PlatformSimpleTagProps = React.ComponentProps<typeof PlatformSimpleTag>;
|
|
|
17
17
|
export type SimpleTagProps = Pick<
|
|
18
18
|
PlatformSimpleTagProps,
|
|
19
19
|
'text' | 'appearance' | 'color' | 'elemBefore' | 'href' | 'testId'
|
|
20
|
-
>;
|
|
20
|
+
>;
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* A tag labels UI objects for quick recognition and navigation.
|
|
24
|
+
*/
|
|
25
|
+
export type TSimpleTag<T> = (props: SimpleTagProps) => T;
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - TimePickerProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::bf9a04576bd1f8b348bd5091c9273208>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/timepicker/__generated__/index.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/timepicker/__generated__/index.partial.tsx <<SignedSource::aa8817ad383b8e2bce261c520e227b41>>
|
|
9
9
|
*/
|
|
10
10
|
/* eslint @repo/internal/codegen/signed-source-integrity: "warn" */
|
|
11
11
|
|
|
@@ -47,4 +47,9 @@ export type TimePickerProps = {
|
|
|
47
47
|
locale?: string;
|
|
48
48
|
testId?: string;
|
|
49
49
|
selectProps?: DateTimePickerSelectProps;
|
|
50
|
-
} & Partial<Omit<FieldProps, 'onChange'>>;
|
|
50
|
+
} & Partial<Omit<FieldProps, 'onChange'>>;
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* A date time picker allows the user to select an associated date and time.
|
|
54
|
+
*/
|
|
55
|
+
export type TTimePicker<T> = (props: TimePickerProps) => T;
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - ToggleProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::388ba32ab2e4bdf3dbe9d05944eb41f0>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/toggle/__generated__/index.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/toggle/__generated__/index.partial.tsx <<SignedSource::b7d6483e971110f0134e350247bb54af>>
|
|
9
9
|
*/
|
|
10
10
|
/* eslint @repo/internal/codegen/signed-source-integrity: "warn" */
|
|
11
11
|
|
|
@@ -19,4 +19,9 @@ export type ToggleProps = Pick<
|
|
|
19
19
|
PlatformToggleProps,
|
|
20
20
|
'size' | 'testId' | 'defaultChecked' | 'isChecked' | 'label'
|
|
21
21
|
| 'id' | 'isDisabled' | 'value' | 'name'
|
|
22
|
-
> & Pick<EventHandlerProps, 'onChange' | 'onBlur' | 'onFocus'>;
|
|
22
|
+
> & Pick<EventHandlerProps, 'onChange' | 'onBlur' | 'onFocus'>;
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* A toggle is used to view or switch between enabled or disabled states.
|
|
26
|
+
*/
|
|
27
|
+
export type TToggle<T> = (props: ToggleProps) => T;
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - TooltipProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::d67c937dcf799eb3d57dc35b62b52bd4>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/tooltip/__generated__/index.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/tooltip/__generated__/index.partial.tsx <<SignedSource::f5b26159e3b08ac61199d599900f523d>>
|
|
9
9
|
*/
|
|
10
10
|
/* eslint @repo/internal/codegen/signed-source-integrity: "warn" */
|
|
11
11
|
|
|
@@ -17,4 +17,9 @@ type PlatformTooltipProps = React.ComponentProps<typeof PlatformTooltip>;
|
|
|
17
17
|
export type TooltipProps = Pick<
|
|
18
18
|
PlatformTooltipProps,
|
|
19
19
|
'children' | 'position' | 'mousePosition' | 'content' | 'truncate' | 'testId' | 'delay'
|
|
20
|
-
>;
|
|
20
|
+
>;
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* A tooltip is a floating, non-actionable label used to explain a user interface element or feature.
|
|
24
|
+
*/
|
|
25
|
+
export type TTooltip<T> = (props: TooltipProps) => T;
|