@atlaskit/forge-react-types 0.34.14 → 0.34.16

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.
Files changed (86) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/dist/types/components/__generated__/GridProps.codegen.d.ts +6 -2
  3. package/dist/types/components/__generated__/HeadingProps.codegen.d.ts +6 -2
  4. package/dist/types/components/__generated__/InlineProps.codegen.d.ts +6 -2
  5. package/dist/types/components/__generated__/LozengeProps.codegen.d.ts +6 -2
  6. package/dist/types/components/__generated__/ModalBodyProps.codegen.d.ts +6 -2
  7. package/dist/types/components/__generated__/ModalFooterProps.codegen.d.ts +6 -2
  8. package/dist/types/components/__generated__/ModalHeaderProps.codegen.d.ts +6 -2
  9. package/dist/types/components/__generated__/ModalProps.codegen.d.ts +6 -2
  10. package/dist/types/components/__generated__/ModalTitleProps.codegen.d.ts +6 -2
  11. package/dist/types/components/__generated__/ModalTransitionProps.codegen.d.ts +6 -2
  12. package/dist/types/components/__generated__/ProgressBarProps.codegen.d.ts +6 -2
  13. package/dist/types/components/__generated__/ProgressTrackerProps.codegen.d.ts +6 -2
  14. package/dist/types/components/__generated__/RadioGroupProps.codegen.d.ts +6 -2
  15. package/dist/types/components/__generated__/RadioProps.codegen.d.ts +6 -2
  16. package/dist/types/components/__generated__/RangeProps.codegen.d.ts +6 -2
  17. package/dist/types/components/__generated__/SectionMessageActionProps.codegen.d.ts +6 -2
  18. package/dist/types/components/__generated__/SectionMessageProps.codegen.d.ts +6 -2
  19. package/dist/types/components/__generated__/SpinnerProps.codegen.d.ts +6 -2
  20. package/dist/types/components/__generated__/StackProps.codegen.d.ts +6 -2
  21. package/dist/types/components/__generated__/TabListProps.codegen.d.ts +6 -2
  22. package/dist/types/components/__generated__/TabPanelProps.codegen.d.ts +6 -2
  23. package/dist/types/components/__generated__/TabProps.codegen.d.ts +6 -2
  24. package/dist/types/components/__generated__/TabsProps.codegen.d.ts +6 -2
  25. package/dist/types/components/__generated__/TagGroupProps.codegen.d.ts +6 -2
  26. package/dist/types/components/__generated__/TagProps.codegen.d.ts +6 -2
  27. package/dist/types/components/__generated__/TimePickerProps.codegen.d.ts +6 -2
  28. package/dist/types/components/__generated__/ToggleProps.codegen.d.ts +6 -2
  29. package/dist/types/components/__generated__/TooltipProps.codegen.d.ts +6 -2
  30. package/dist/types-ts4.5/components/__generated__/GridProps.codegen.d.ts +6 -2
  31. package/dist/types-ts4.5/components/__generated__/HeadingProps.codegen.d.ts +6 -2
  32. package/dist/types-ts4.5/components/__generated__/InlineProps.codegen.d.ts +6 -2
  33. package/dist/types-ts4.5/components/__generated__/LozengeProps.codegen.d.ts +6 -2
  34. package/dist/types-ts4.5/components/__generated__/ModalBodyProps.codegen.d.ts +6 -2
  35. package/dist/types-ts4.5/components/__generated__/ModalFooterProps.codegen.d.ts +6 -2
  36. package/dist/types-ts4.5/components/__generated__/ModalHeaderProps.codegen.d.ts +6 -2
  37. package/dist/types-ts4.5/components/__generated__/ModalProps.codegen.d.ts +6 -2
  38. package/dist/types-ts4.5/components/__generated__/ModalTitleProps.codegen.d.ts +6 -2
  39. package/dist/types-ts4.5/components/__generated__/ModalTransitionProps.codegen.d.ts +6 -2
  40. package/dist/types-ts4.5/components/__generated__/ProgressBarProps.codegen.d.ts +6 -2
  41. package/dist/types-ts4.5/components/__generated__/ProgressTrackerProps.codegen.d.ts +6 -2
  42. package/dist/types-ts4.5/components/__generated__/RadioGroupProps.codegen.d.ts +6 -2
  43. package/dist/types-ts4.5/components/__generated__/RadioProps.codegen.d.ts +6 -2
  44. package/dist/types-ts4.5/components/__generated__/RangeProps.codegen.d.ts +6 -2
  45. package/dist/types-ts4.5/components/__generated__/SectionMessageActionProps.codegen.d.ts +6 -2
  46. package/dist/types-ts4.5/components/__generated__/SectionMessageProps.codegen.d.ts +6 -2
  47. package/dist/types-ts4.5/components/__generated__/SpinnerProps.codegen.d.ts +6 -2
  48. package/dist/types-ts4.5/components/__generated__/StackProps.codegen.d.ts +6 -2
  49. package/dist/types-ts4.5/components/__generated__/TabListProps.codegen.d.ts +6 -2
  50. package/dist/types-ts4.5/components/__generated__/TabPanelProps.codegen.d.ts +6 -2
  51. package/dist/types-ts4.5/components/__generated__/TabProps.codegen.d.ts +6 -2
  52. package/dist/types-ts4.5/components/__generated__/TabsProps.codegen.d.ts +6 -2
  53. package/dist/types-ts4.5/components/__generated__/TagGroupProps.codegen.d.ts +6 -2
  54. package/dist/types-ts4.5/components/__generated__/TagProps.codegen.d.ts +6 -2
  55. package/dist/types-ts4.5/components/__generated__/TimePickerProps.codegen.d.ts +6 -2
  56. package/dist/types-ts4.5/components/__generated__/ToggleProps.codegen.d.ts +6 -2
  57. package/dist/types-ts4.5/components/__generated__/TooltipProps.codegen.d.ts +6 -2
  58. package/package.json +2 -2
  59. package/src/components/__generated__/GridProps.codegen.tsx +8 -3
  60. package/src/components/__generated__/HeadingProps.codegen.tsx +8 -3
  61. package/src/components/__generated__/InlineProps.codegen.tsx +8 -3
  62. package/src/components/__generated__/LozengeProps.codegen.tsx +8 -3
  63. package/src/components/__generated__/ModalBodyProps.codegen.tsx +8 -3
  64. package/src/components/__generated__/ModalFooterProps.codegen.tsx +8 -3
  65. package/src/components/__generated__/ModalHeaderProps.codegen.tsx +8 -3
  66. package/src/components/__generated__/ModalProps.codegen.tsx +8 -3
  67. package/src/components/__generated__/ModalTitleProps.codegen.tsx +8 -3
  68. package/src/components/__generated__/ModalTransitionProps.codegen.tsx +8 -3
  69. package/src/components/__generated__/ProgressBarProps.codegen.tsx +8 -3
  70. package/src/components/__generated__/ProgressTrackerProps.codegen.tsx +14 -15
  71. package/src/components/__generated__/RadioGroupProps.codegen.tsx +8 -3
  72. package/src/components/__generated__/RadioProps.codegen.tsx +8 -3
  73. package/src/components/__generated__/RangeProps.codegen.tsx +8 -3
  74. package/src/components/__generated__/SectionMessageActionProps.codegen.tsx +8 -3
  75. package/src/components/__generated__/SectionMessageProps.codegen.tsx +8 -3
  76. package/src/components/__generated__/SpinnerProps.codegen.tsx +8 -3
  77. package/src/components/__generated__/StackProps.codegen.tsx +8 -3
  78. package/src/components/__generated__/TabListProps.codegen.tsx +8 -3
  79. package/src/components/__generated__/TabPanelProps.codegen.tsx +8 -3
  80. package/src/components/__generated__/TabProps.codegen.tsx +8 -3
  81. package/src/components/__generated__/TabsProps.codegen.tsx +8 -3
  82. package/src/components/__generated__/TagGroupProps.codegen.tsx +8 -3
  83. package/src/components/__generated__/TagProps.codegen.tsx +8 -3
  84. package/src/components/__generated__/TimePickerProps.codegen.tsx +8 -3
  85. package/src/components/__generated__/ToggleProps.codegen.tsx +8 -3
  86. package/src/components/__generated__/TooltipProps.codegen.tsx +8 -3
package/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # @atlaskit/forge-react-types
2
2
 
3
+ ## 0.34.16
4
+
5
+ ### Patch Changes
6
+
7
+ - [#108316](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/108316)
8
+ [`8e8eed0bdc006`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8e8eed0bdc006) -
9
+ Migrate radio, range, section message, spinner, stack, tabs, tag, tag group, time picker, toggle,
10
+ tooltip to using props config
11
+
12
+ ## 0.34.15
13
+
14
+ ### Patch Changes
15
+
16
+ - [#107926](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/107926)
17
+ [`78e2651afa16d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/78e2651afa16d) -
18
+ Migrate grid, heading, inline, lozenge, modal, progress bar, and progress tracker to using
19
+ component props config
20
+
3
21
  ## 0.34.14
4
22
 
5
23
  ### Patch Changes
@@ -3,12 +3,16 @@
3
3
  *
4
4
  * Extract component prop types from UIKit 2 components - GridProps
5
5
  *
6
- * @codegen <<SignedSource::8a5601912d185e44dd0117a26cc43247>>
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::df3f85f752c7a4be02ee62114c5506b2>>
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::2c8b9fcedd66187121afe603412e469a>>
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::982b85018ea081e37c5f877b1b2767d5>>
8
+ * @codegenDependency ../../../../forge-ui/src/components/UIKit/heading/__generated__/index.partial.tsx <<SignedSource::b9f5a7af9c404be1b3bf1e55075715fc>>
9
9
  */
10
10
  import type { HeadingProps as PlatformHeadingProps } from '@atlaskit/heading';
11
11
  type HeadingTags = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
@@ -15,4 +15,8 @@ export type HeadingProps = Pick<PlatformHeadingProps, 'children' | 'id' | 'testI
15
15
  as: HeadingTags;
16
16
  color?: NewColors | TemporaryColors;
17
17
  };
18
+ /**
19
+ * A heading is a typography component used to display text in different sizes and formats.
20
+ */
21
+ export type THeading<T> = (props: HeadingProps) => T;
18
22
  export {};
@@ -3,12 +3,16 @@
3
3
  *
4
4
  * Extract component prop types from UIKit 2 components - InlineProps
5
5
  *
6
- * @codegen <<SignedSource::afc14b5ea11781515fe9062944bdbbbc>>
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::0ac949055f76549e70b29c626401570c>>
8
+ * @codegenDependency ../../../../forge-ui/src/components/UIKit/inline/__generated__/index.partial.tsx <<SignedSource::6f1af1d5438263ed1f6833c78c741ed9>>
9
9
  */
10
10
  import React from 'react';
11
11
  import { Inline as PlatformInline } from '@atlaskit/primitives';
12
12
  type PlatformInlineProps = React.ComponentProps<typeof PlatformInline>;
13
13
  export type InlineProps = Pick<PlatformInlineProps, 'children' | 'alignBlock' | 'alignInline' | 'spread' | 'grow' | 'space' | 'shouldWrap' | 'separator' | 'rowSpace' | 'testId'>;
14
+ /**
15
+ * Primitives are token-backed low-level building blocks.
16
+ */
17
+ export type TInline<T> = (props: InlineProps) => T;
14
18
  export {};
@@ -3,12 +3,16 @@
3
3
  *
4
4
  * Extract component prop types from UIKit 2 components - LozengeProps
5
5
  *
6
- * @codegen <<SignedSource::b3634e72b44625d28b588db7ff045c9d>>
6
+ * @codegen <<SignedSource::010c29755ec75417d1649af3008801cd>>
7
7
  * @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
8
- * @codegenDependency ../../../../forge-ui/src/components/UIKit/lozenge/__generated__/index.partial.tsx <<SignedSource::c83364d769b7168eaaa21f1694e35702>>
8
+ * @codegenDependency ../../../../forge-ui/src/components/UIKit/lozenge/__generated__/index.partial.tsx <<SignedSource::20810ed29278b94c2bf310c8d80efdf8>>
9
9
  */
10
10
  import React from 'react';
11
11
  import PlatformLozenge from '@atlaskit/lozenge';
12
12
  type PlatformLozengeProps = React.ComponentProps<typeof PlatformLozenge>;
13
13
  export type LozengeProps = Pick<PlatformLozengeProps, 'appearance' | 'children' | 'isBold' | 'maxWidth' | 'testId'>;
14
+ /**
15
+ * A lozenge is a visual indicator used to highlight an item's status for quick recognition.
16
+ */
17
+ export type TLozenge<T> = (props: LozengeProps) => T;
14
18
  export {};
@@ -3,12 +3,16 @@
3
3
  *
4
4
  * Extract component prop types from UIKit 2 components - ModalBodyProps
5
5
  *
6
- * @codegen <<SignedSource::527cab5934b668b8e86db81b839882b6>>
6
+ * @codegen <<SignedSource::f6704cd3ad5b9e900de7e400b133ad53>>
7
7
  * @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
8
- * @codegenDependency ../../../../forge-ui/src/components/UIKit/modal/__generated__/modal-body.partial.tsx <<SignedSource::3afbe2d34b967a182c9e3517f8ada448>>
8
+ * @codegenDependency ../../../../forge-ui/src/components/UIKit/modal/__generated__/modal-body.partial.tsx <<SignedSource::0fe5715703e89dfc44882777af179380>>
9
9
  */
10
10
  import React from 'react';
11
11
  import { ModalBody as PlatformModalBody } from '@atlaskit/modal-dialog';
12
12
  type PlatformModalBodyProps = React.ComponentProps<typeof PlatformModalBody>;
13
13
  export type ModalBodyProps = Pick<PlatformModalBodyProps, 'children' | 'testId'>;
14
+ /**
15
+ * A modal dialog displays content that requires user interaction, in a layer above the page.
16
+ */
17
+ export type TModalBody<T> = (props: ModalBodyProps) => T;
14
18
  export {};
@@ -3,12 +3,16 @@
3
3
  *
4
4
  * Extract component prop types from UIKit 2 components - ModalFooterProps
5
5
  *
6
- * @codegen <<SignedSource::7657939e947e8a4d66010076aefb0f8d>>
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::b986e724d7de17ec51a6549e5a8b0e67>>
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::1b833d542df0d0794bdab0484cb7e7af>>
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::c7406471b8da5362a6b844effff24ce4>>
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::a21036e321653b2b4f2dcdcc23017b42>>
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::ca1ac57c4bc55db851325b0ab1ff0021>>
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::d308ee8af4d7667e94b4fdfdb37d2777>>
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::49055cff47790a5b805a36ec28683d0d>>
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::37d78f156fe7b226801398f16693dd1d>>
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::910582b1aa75eb00197dd07ca5ae1d34>>
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::3b95c77dc51e11040992d0b2bd139eaf>>
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::3451b31d9bf4f3a048e5a4143c69ba20>>
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::23a60b1bb4138183b2f8cc16df4000e3>>
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::889025b24913a7379a30cc87547f6292>>
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,13 +3,17 @@
3
3
  *
4
4
  * Extract component prop types from UIKit 2 components - RadioGroupProps
5
5
  *
6
- * @codegen <<SignedSource::76b2b907786999428806f64adef865b5>>
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::4389c503fdf3481d7d3b0a5b93920e3f>>
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::326831c949bb5cbb99e073727ad8d55e>>
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::f8ac68c1f51a8a6ea746a657fc9ee4da>>
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::56deb7fafdabfdd7bc9040bf16ef23a8>>
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::47b47ae1505ae1df985d952d77e858e8>>
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::535aedc26590b8298d524a3c3a8e7874>>
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::d1a01b35cd5553fd5ac911fb1341b920>>
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::1803a5975db438b2c4cd2852cd1a228d>>
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::dd1458a5551bb547bccc3ed9b20a0775>>
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::108d6188d28cc7b7e79512b33d9b4bb3>>
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::309b9820ed3451cfdc77160864e3040c>>
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::7e222b1de945d3a469766af8080b1bfa>>
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::c2360fd1ad9e2cd87d47c640ad0158d2>>
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::b0a70e674ab9c1eacb79ca5cb9e5a60b>>
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::1f5c04bb243364d5edb96ba6d7bf4eab>>
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::e98bc9e4b752705298ebad67615c0c5d>>
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::76baa39c69317c03c4db2e4d8b7940af>>
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::b524262570052be714e6f79ea8498129>>
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::2ead4cab9a2f95ec27b0dee4d57ed3bc>>
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::6cb500bd3d514e486ff5f0d4159adeba>>
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::15b1190f9455e6573f225c044c8e9ab1>>
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::62c8142dd4e6c4f797c463e56c1db939>>
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::3fbcfe988f4bfc964c9581a446d396c1>>
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::659578117ad1c84acac9b908776763c7>>
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::5eafca6673842204effb416681fb9ff4>>
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::73dc2136b2ba29573144e93edecc7aaf>>
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::5bcabc669a6d294cb820187410a39ec5>>
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::0d1faa253d2e70362ed0dc93dc62262b>>
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::c3ddcdd89af4be8543231a1ab89d8f45>>
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::b6807315726c092802b580dee42dbc11>>
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::cb28602393b583ab0d214d5f64fc2972>>
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 {};