@atlaskit/forge-react-types 0.34.13 → 0.34.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (107) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/dist/cjs/components/__generated__/BoxProps.codegen.js +2 -2
  3. package/dist/es2019/components/__generated__/BoxProps.codegen.js +2 -2
  4. package/dist/esm/components/__generated__/BoxProps.codegen.js +2 -2
  5. package/dist/types/components/__generated__/BadgeProps.codegen.d.ts +2 -2
  6. package/dist/types/components/__generated__/BleedProps.codegen.d.ts +6 -2
  7. package/dist/types/components/__generated__/BoxProps.codegen.d.ts +3 -3
  8. package/dist/types/components/__generated__/ButtonGroupProps.codegen.d.ts +6 -2
  9. package/dist/types/components/__generated__/ButtonProps.codegen.d.ts +3 -2
  10. package/dist/types/components/__generated__/CalendarProps.codegen.d.ts +6 -2
  11. package/dist/types/components/__generated__/CheckboxProps.codegen.d.ts +6 -2
  12. package/dist/types/components/__generated__/CodeBlockProps.codegen.d.ts +6 -2
  13. package/dist/types/components/__generated__/CodeProps.codegen.d.ts +6 -2
  14. package/dist/types/components/__generated__/DatePickerProps.codegen.d.ts +6 -2
  15. package/dist/types/components/__generated__/DynamicTableProps.codegen.d.ts +6 -2
  16. package/dist/types/components/__generated__/EmptyStateProps.codegen.d.ts +6 -2
  17. package/dist/types/components/__generated__/ErrorMessageProps.codegen.d.ts +6 -2
  18. package/dist/types/components/__generated__/FlexProps.codegen.d.ts +6 -2
  19. package/dist/types/components/__generated__/FormFooterProps.codegen.d.ts +6 -2
  20. package/dist/types/components/__generated__/FormHeaderProps.codegen.d.ts +6 -2
  21. package/dist/types/components/__generated__/FormSectionProps.codegen.d.ts +6 -2
  22. package/dist/types/components/__generated__/GridProps.codegen.d.ts +6 -2
  23. package/dist/types/components/__generated__/HeadingProps.codegen.d.ts +6 -2
  24. package/dist/types/components/__generated__/HelperMessageProps.codegen.d.ts +6 -2
  25. package/dist/types/components/__generated__/InlineProps.codegen.d.ts +6 -2
  26. package/dist/types/components/__generated__/LabelProps.codegen.d.ts +6 -2
  27. package/dist/types/components/__generated__/LinkButtonProps.codegen.d.ts +3 -2
  28. package/dist/types/components/__generated__/LoadingButtonProps.codegen.d.ts +6 -2
  29. package/dist/types/components/__generated__/LozengeProps.codegen.d.ts +6 -2
  30. package/dist/types/components/__generated__/ModalBodyProps.codegen.d.ts +6 -2
  31. package/dist/types/components/__generated__/ModalFooterProps.codegen.d.ts +6 -2
  32. package/dist/types/components/__generated__/ModalHeaderProps.codegen.d.ts +6 -2
  33. package/dist/types/components/__generated__/ModalProps.codegen.d.ts +6 -2
  34. package/dist/types/components/__generated__/ModalTitleProps.codegen.d.ts +6 -2
  35. package/dist/types/components/__generated__/ModalTransitionProps.codegen.d.ts +6 -2
  36. package/dist/types/components/__generated__/ProgressBarProps.codegen.d.ts +6 -2
  37. package/dist/types/components/__generated__/ProgressTrackerProps.codegen.d.ts +6 -2
  38. package/dist/types/components/__generated__/ValidMessageProps.codegen.d.ts +6 -2
  39. package/dist/types-ts4.5/components/__generated__/BadgeProps.codegen.d.ts +2 -2
  40. package/dist/types-ts4.5/components/__generated__/BleedProps.codegen.d.ts +6 -2
  41. package/dist/types-ts4.5/components/__generated__/BoxProps.codegen.d.ts +3 -3
  42. package/dist/types-ts4.5/components/__generated__/ButtonGroupProps.codegen.d.ts +6 -2
  43. package/dist/types-ts4.5/components/__generated__/ButtonProps.codegen.d.ts +3 -2
  44. package/dist/types-ts4.5/components/__generated__/CalendarProps.codegen.d.ts +6 -2
  45. package/dist/types-ts4.5/components/__generated__/CheckboxProps.codegen.d.ts +6 -2
  46. package/dist/types-ts4.5/components/__generated__/CodeBlockProps.codegen.d.ts +6 -2
  47. package/dist/types-ts4.5/components/__generated__/CodeProps.codegen.d.ts +6 -2
  48. package/dist/types-ts4.5/components/__generated__/DatePickerProps.codegen.d.ts +6 -2
  49. package/dist/types-ts4.5/components/__generated__/DynamicTableProps.codegen.d.ts +6 -2
  50. package/dist/types-ts4.5/components/__generated__/EmptyStateProps.codegen.d.ts +6 -2
  51. package/dist/types-ts4.5/components/__generated__/ErrorMessageProps.codegen.d.ts +6 -2
  52. package/dist/types-ts4.5/components/__generated__/FlexProps.codegen.d.ts +6 -2
  53. package/dist/types-ts4.5/components/__generated__/FormFooterProps.codegen.d.ts +6 -2
  54. package/dist/types-ts4.5/components/__generated__/FormHeaderProps.codegen.d.ts +6 -2
  55. package/dist/types-ts4.5/components/__generated__/FormSectionProps.codegen.d.ts +6 -2
  56. package/dist/types-ts4.5/components/__generated__/GridProps.codegen.d.ts +6 -2
  57. package/dist/types-ts4.5/components/__generated__/HeadingProps.codegen.d.ts +6 -2
  58. package/dist/types-ts4.5/components/__generated__/HelperMessageProps.codegen.d.ts +6 -2
  59. package/dist/types-ts4.5/components/__generated__/InlineProps.codegen.d.ts +6 -2
  60. package/dist/types-ts4.5/components/__generated__/LabelProps.codegen.d.ts +6 -2
  61. package/dist/types-ts4.5/components/__generated__/LinkButtonProps.codegen.d.ts +3 -2
  62. package/dist/types-ts4.5/components/__generated__/LoadingButtonProps.codegen.d.ts +6 -2
  63. package/dist/types-ts4.5/components/__generated__/LozengeProps.codegen.d.ts +6 -2
  64. package/dist/types-ts4.5/components/__generated__/ModalBodyProps.codegen.d.ts +6 -2
  65. package/dist/types-ts4.5/components/__generated__/ModalFooterProps.codegen.d.ts +6 -2
  66. package/dist/types-ts4.5/components/__generated__/ModalHeaderProps.codegen.d.ts +6 -2
  67. package/dist/types-ts4.5/components/__generated__/ModalProps.codegen.d.ts +6 -2
  68. package/dist/types-ts4.5/components/__generated__/ModalTitleProps.codegen.d.ts +6 -2
  69. package/dist/types-ts4.5/components/__generated__/ModalTransitionProps.codegen.d.ts +6 -2
  70. package/dist/types-ts4.5/components/__generated__/ProgressBarProps.codegen.d.ts +6 -2
  71. package/dist/types-ts4.5/components/__generated__/ProgressTrackerProps.codegen.d.ts +6 -2
  72. package/dist/types-ts4.5/components/__generated__/ValidMessageProps.codegen.d.ts +6 -2
  73. package/package.json +3 -3
  74. package/src/components/__generated__/BadgeProps.codegen.tsx +2 -2
  75. package/src/components/__generated__/BleedProps.codegen.tsx +8 -3
  76. package/src/components/__generated__/BoxProps.codegen.tsx +4 -9
  77. package/src/components/__generated__/ButtonGroupProps.codegen.tsx +8 -3
  78. package/src/components/__generated__/ButtonProps.codegen.tsx +5 -3
  79. package/src/components/__generated__/CalendarProps.codegen.tsx +8 -3
  80. package/src/components/__generated__/CheckboxProps.codegen.tsx +8 -3
  81. package/src/components/__generated__/CodeBlockProps.codegen.tsx +8 -3
  82. package/src/components/__generated__/CodeProps.codegen.tsx +8 -3
  83. package/src/components/__generated__/DatePickerProps.codegen.tsx +8 -3
  84. package/src/components/__generated__/DynamicTableProps.codegen.tsx +32 -8
  85. package/src/components/__generated__/EmptyStateProps.codegen.tsx +8 -3
  86. package/src/components/__generated__/ErrorMessageProps.codegen.tsx +8 -3
  87. package/src/components/__generated__/FlexProps.codegen.tsx +8 -3
  88. package/src/components/__generated__/FormFooterProps.codegen.tsx +8 -3
  89. package/src/components/__generated__/FormHeaderProps.codegen.tsx +8 -3
  90. package/src/components/__generated__/FormSectionProps.codegen.tsx +8 -3
  91. package/src/components/__generated__/GridProps.codegen.tsx +8 -3
  92. package/src/components/__generated__/HeadingProps.codegen.tsx +8 -3
  93. package/src/components/__generated__/HelperMessageProps.codegen.tsx +8 -3
  94. package/src/components/__generated__/InlineProps.codegen.tsx +8 -3
  95. package/src/components/__generated__/LabelProps.codegen.tsx +10 -3
  96. package/src/components/__generated__/LinkButtonProps.codegen.tsx +5 -3
  97. package/src/components/__generated__/LoadingButtonProps.codegen.tsx +8 -3
  98. package/src/components/__generated__/LozengeProps.codegen.tsx +8 -3
  99. package/src/components/__generated__/ModalBodyProps.codegen.tsx +8 -3
  100. package/src/components/__generated__/ModalFooterProps.codegen.tsx +8 -3
  101. package/src/components/__generated__/ModalHeaderProps.codegen.tsx +8 -3
  102. package/src/components/__generated__/ModalProps.codegen.tsx +8 -3
  103. package/src/components/__generated__/ModalTitleProps.codegen.tsx +8 -3
  104. package/src/components/__generated__/ModalTransitionProps.codegen.tsx +8 -3
  105. package/src/components/__generated__/ProgressBarProps.codegen.tsx +8 -3
  106. package/src/components/__generated__/ProgressTrackerProps.codegen.tsx +14 -15
  107. package/src/components/__generated__/ValidMessageProps.codegen.tsx +8 -3
package/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # @atlaskit/forge-react-types
2
2
 
3
+ ## 0.34.15
4
+
5
+ ### Patch Changes
6
+
7
+ - [#107926](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/107926)
8
+ [`78e2651afa16d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/78e2651afa16d) -
9
+ Migrate grid, heading, inline, lozenge, modal, progress bar, and progress tracker to using
10
+ component props config
11
+
12
+ ## 0.34.14
13
+
14
+ ### Patch Changes
15
+
16
+ - [#107697](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/107697)
17
+ [`e674161f3c419`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/e674161f3c419) -
18
+ Migrate Box, Code, DatePicker, DynamicTable, EmptyState, Flex, and Form to using component props
19
+ config
20
+ - [#107336](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/107336)
21
+ [`1648368ec825d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/1648368ec825d) -
22
+ Migrate UIKit component codegen prop config setup
23
+ - Updated dependencies
24
+
3
25
  ## 0.34.13
4
26
 
5
27
  ### Patch Changes
@@ -8,9 +8,9 @@ Object.defineProperty(exports, "__esModule", {
8
8
  *
9
9
  * Extract component prop types from UIKit 2 components - BoxProps
10
10
  *
11
- * @codegen <<SignedSource::5953057bca93305790983ebf1513e471>>
11
+ * @codegen <<SignedSource::31dc8fb4f36ecf67c99521f59d86c2e1>>
12
12
  * @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
13
- * @codegenDependency ../../../../forge-ui/src/components/UIKit/box/__generated__/index.partial.tsx <<SignedSource::1b547198cbfceadd8838222c33bbda26>>
13
+ * @codegenDependency ../../../../forge-ui/src/components/UIKit/box/__generated__/index.partial.tsx <<SignedSource::7f0def3e681685c87e720c200f3f4b23>>
14
14
  */
15
15
  /* eslint-disable @atlaskit/design-system/ensure-design-token-usage/preview */
16
16
 
@@ -3,9 +3,9 @@
3
3
  *
4
4
  * Extract component prop types from UIKit 2 components - BoxProps
5
5
  *
6
- * @codegen <<SignedSource::5953057bca93305790983ebf1513e471>>
6
+ * @codegen <<SignedSource::31dc8fb4f36ecf67c99521f59d86c2e1>>
7
7
  * @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
8
- * @codegenDependency ../../../../forge-ui/src/components/UIKit/box/__generated__/index.partial.tsx <<SignedSource::1b547198cbfceadd8838222c33bbda26>>
8
+ * @codegenDependency ../../../../forge-ui/src/components/UIKit/box/__generated__/index.partial.tsx <<SignedSource::7f0def3e681685c87e720c200f3f4b23>>
9
9
  */
10
10
  /* eslint-disable @atlaskit/design-system/ensure-design-token-usage/preview */
11
11
 
@@ -3,9 +3,9 @@
3
3
  *
4
4
  * Extract component prop types from UIKit 2 components - BoxProps
5
5
  *
6
- * @codegen <<SignedSource::5953057bca93305790983ebf1513e471>>
6
+ * @codegen <<SignedSource::31dc8fb4f36ecf67c99521f59d86c2e1>>
7
7
  * @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
8
- * @codegenDependency ../../../../forge-ui/src/components/UIKit/box/__generated__/index.partial.tsx <<SignedSource::1b547198cbfceadd8838222c33bbda26>>
8
+ * @codegenDependency ../../../../forge-ui/src/components/UIKit/box/__generated__/index.partial.tsx <<SignedSource::7f0def3e681685c87e720c200f3f4b23>>
9
9
  */
10
10
  /* eslint-disable @atlaskit/design-system/ensure-design-token-usage/preview */
11
11
 
@@ -3,9 +3,9 @@
3
3
  *
4
4
  * Extract component prop types from UIKit 2 components - BadgeProps
5
5
  *
6
- * @codegen <<SignedSource::92388efe5b39418e1cea1294d8ce6855>>
6
+ * @codegen <<SignedSource::64c7e35a348ef5e063329091a361292f>>
7
7
  * @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
8
- * @codegenDependency ../../../../forge-ui/src/components/UIKit/badge/__generated__/index.partial.tsx <<SignedSource::74d81fc03682e51d4ea5e5eea2215574>>
8
+ * @codegenDependency ../../../../forge-ui/src/components/UIKit/badge/__generated__/index.partial.tsx <<SignedSource::89ad3341c1b8ef4b6fc93df162ac91d3>>
9
9
  */
10
10
  import React from 'react';
11
11
  import PlatformBadge from '@atlaskit/badge';
@@ -3,12 +3,16 @@
3
3
  *
4
4
  * Extract component prop types from UIKit 2 components - BleedProps
5
5
  *
6
- * @codegen <<SignedSource::cbd738c202b814d0103cb6fd54a2f2ad>>
6
+ * @codegen <<SignedSource::c7fc1c22894c170849e24bf5e8171def>>
7
7
  * @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
8
- * @codegenDependency ../../../../forge-ui/src/components/UIKit/bleed/__generated__/index.partial.tsx <<SignedSource::406ffef6715a3dff3aa10511e2ec232c>>
8
+ * @codegenDependency ../../../../forge-ui/src/components/UIKit/bleed/__generated__/index.partial.tsx <<SignedSource::a2cfcd6831a7e1c773ef12a09fc07228>>
9
9
  */
10
10
  import React from 'react';
11
11
  import { Bleed as PlatformBleed } from '@atlaskit/primitives';
12
12
  type PlatformBleedProps = React.ComponentProps<typeof PlatformBleed>;
13
13
  export type BleedProps = Pick<PlatformBleedProps, 'children' | 'all' | 'inline' | 'block' | 'testId' | 'role'>;
14
+ /**
15
+ * Primitives are token-backed low-level building blocks.
16
+ */
17
+ export type TBleed<T> = (props: BleedProps) => T;
14
18
  export {};
@@ -3,9 +3,9 @@
3
3
  *
4
4
  * Extract component prop types from UIKit 2 components - BoxProps
5
5
  *
6
- * @codegen <<SignedSource::5953057bca93305790983ebf1513e471>>
6
+ * @codegen <<SignedSource::31dc8fb4f36ecf67c99521f59d86c2e1>>
7
7
  * @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
8
- * @codegenDependency ../../../../forge-ui/src/components/UIKit/box/__generated__/index.partial.tsx <<SignedSource::1b547198cbfceadd8838222c33bbda26>>
8
+ * @codegenDependency ../../../../forge-ui/src/components/UIKit/box/__generated__/index.partial.tsx <<SignedSource::7f0def3e681685c87e720c200f3f4b23>>
9
9
  */
10
10
  import React from 'react';
11
11
  import { Box as PlatformBox } from '@atlaskit/primitives';
@@ -2187,7 +2187,7 @@ export type BoxProps = Pick<PlatformBoxProps, 'children' | 'ref' | 'testId'> & {
2187
2187
  backgroundColor?: PlatformBoxProps['backgroundColor'];
2188
2188
  /**
2189
2189
  * Apply a subset of permitted styles, powered by Atlassian Design System tokens.
2190
- * For a list of supported style properties on this component, see [here](/platform/forge/ui-kit/components/xcss).
2190
+ * For a list of supported style properties on this component, see [here](https://developer.atlassian.com/platform/forge/ui-kit/components/xcss).
2191
2191
  *
2192
2192
  * @type XCSSProp
2193
2193
  */
@@ -3,12 +3,16 @@
3
3
  *
4
4
  * Extract component prop types from UIKit 2 components - ButtonGroupProps
5
5
  *
6
- * @codegen <<SignedSource::4a6cd1b2831a12bbddea1a735a6c8907>>
6
+ * @codegen <<SignedSource::4daf3a960cc3108bbbc8ad0ede3b7011>>
7
7
  * @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
8
- * @codegenDependency ../../../../forge-ui/src/components/UIKit/button/__generated__/button-group.partial.tsx <<SignedSource::8f41744fe0477b14db5f0c764e4d8a10>>
8
+ * @codegenDependency ../../../../forge-ui/src/components/UIKit/button/__generated__/button-group.partial.tsx <<SignedSource::728cab6df690811513a66ea4bacb89c9>>
9
9
  */
10
10
  import type { ButtonGroupProps as PlatformButtonGroupProps } from '@atlaskit/button';
11
11
  import type { ButtonProps } from '@atlaskit/button';
12
12
  export type ButtonGroupProps = Pick<PlatformButtonGroupProps, 'children' | 'testId' | 'label' | 'titleId'> & {
13
13
  appearance?: ButtonProps['appearance'];
14
14
  };
15
+ /**
16
+ * A button triggers an event or action. They let users know what will happen next.
17
+ */
18
+ export type TButtonGroup<T> = (props: ButtonGroupProps) => T;
@@ -3,9 +3,9 @@
3
3
  *
4
4
  * Extract component prop types from UIKit 2 components - ButtonProps
5
5
  *
6
- * @codegen <<SignedSource::c29e7149d653838ec5536420b8518bf7>>
6
+ * @codegen <<SignedSource::333890773f42cacce17cee560686b34c>>
7
7
  * @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
8
- * @codegenDependency ../../../../forge-ui/src/components/UIKit/button/__generated__/index.partial.tsx <<SignedSource::98b5f936725e04433d64b0ae5e85b701>>
8
+ * @codegenDependency ../../../../forge-ui/src/components/UIKit/button/__generated__/index.partial.tsx <<SignedSource::c3a07cf50f9f4f166b94a72b4c2d5784>>
9
9
  */
10
10
  import type { ButtonProps as PlatformButtonProps } from '@atlaskit/button/new';
11
11
  export type Icon = 'activity' | 'add' | 'add-circle' | 'add-item' | 'addon' | 'app-access' | 'app-switcher' | 'archive' | 'arrow-down' | 'arrow-down-circle' | 'arrow-left' | 'arrow-left-circle' | 'arrow-right' | 'arrow-right-circle' | 'arrow-up' | 'arrow-up-circle' | 'attachment' | 'audio' | 'audio-circle' | 'backlog' | 'billing' | 'billing-filled' | 'bitbucket-branches' | 'bitbucket-builds' | 'bitbucket-clone' | 'bitbucket-commits' | 'bitbucket-compare' | 'bitbucket-forks' | 'bitbucket-output' | 'bitbucket-pipelines' | 'bitbucket-pullrequests' | 'bitbucket-repos' | 'bitbucket-snippets' | 'bitbucket-source' | 'board' | 'book' | 'bullet-list' | 'calendar' | 'calendar-filled' | 'camera' | 'camera-filled' | 'camera-rotate' | 'camera-take-picture' | 'canvas' | 'check' | 'check-circle' | 'check-circle-outline' | 'checkbox' | 'checkbox-indeterminate' | 'chevron-down' | 'chevron-down-circle' | 'chevron-left' | 'chevron-left-circle' | 'chevron-left-large' | 'chevron-right' | 'chevron-right-circle' | 'chevron-right-large' | 'chevron-up' | 'chevron-up-circle' | 'child-issues' | 'code' | 'comment' | 'component' | 'copy' | 'creditcard' | 'creditcard-filled' | 'cross' | 'cross-circle' | 'dashboard' | 'decision' | 'department' | 'detail-view' | 'discover' | 'discover-filled' | 'document' | 'document-filled' | 'documents' | 'download' | 'drag-handler' | 'dropbox' | 'edit' | 'edit-filled' | 'editor-add' | 'editor-addon' | 'editor-advanced' | 'editor-align-center' | 'editor-align-image-center' | 'editor-align-image-left' | 'editor-align-image-right' | 'editor-align-left' | 'editor-align-right' | 'editor-attachment' | 'editor-background-color' | 'editor-bold' | 'editor-bullet-list' | 'editor-close' | 'editor-code' | 'editor-collapse' | 'editor-date' | 'editor-decision' | 'editor-divider' | 'editor-done' | 'editor-edit' | 'editor-emoji' | 'editor-error' | 'editor-expand' | 'editor-feedback' | 'editor-file' | 'editor-file-preview' | 'editor-help' | 'editor-hint' | 'editor-horizontal-rule' | 'editor-image' | 'editor-image-border' | 'editor-image-resize' | 'editor-indent' | 'editor-info' | 'editor-italic' | 'editor-layout-single' | 'editor-layout-three-equal' | 'editor-layout-three-with-sidebars' | 'editor-layout-two-equal' | 'editor-layout-two-left-sidebar' | 'editor-layout-two-right-sidebar' | 'editor-link' | 'editor-media-center' | 'editor-media-full-width' | 'editor-media-wide' | 'editor-media-wrap-left' | 'editor-media-wrap-right' | 'editor-mention' | 'editor-more' | 'editor-note' | 'editor-number-list' | 'editor-open' | 'editor-outdent' | 'editor-panel' | 'editor-photo' | 'editor-quote' | 'editor-recent' | 'editor-redo' | 'editor-remove' | 'editor-remove-emoji' | 'editor-search' | 'editor-settings' | 'editor-strikethrough' | 'editor-success' | 'editor-table' | 'editor-table-display-options' | 'editor-task' | 'editor-text-color' | 'editor-text-style' | 'editor-underline' | 'editor-undo' | 'editor-unlink' | 'editor-warning' | 'email' | 'emoji' | 'emoji-add' | 'emoji-activity' | 'emoji-atlassian' | 'emoji-custom' | 'emoji-emoji' | 'emoji-flags' | 'emoji-food' | 'emoji-frequent' | 'emoji-keyboard' | 'emoji-nature' | 'emoji-objects' | 'emoji-people' | 'emoji-productivity' | 'emoji-symbols' | 'emoji-travel' | 'error' | 'export' | 'feedback' | 'file' | 'filter' | 'flag-filled' | 'folder' | 'folder-filled' | 'followers' | 'following' | 'googledrive' | 'graph-bar' | 'graph-line' | 'gsuite' | 'highlights' | 'hipchat-audio-only' | 'hipchat-chevron-double-down' | 'hipchat-chevron-double-up' | 'hipchat-chevron-down' | 'hipchat-chevron-up' | 'hipchat-dial-out' | 'hipchat-lobby' | 'hipchat-media-attachment-count' | 'hipchat-outgoing-sound' | 'hipchat-sd-video' | 'home' | 'home-circle' | 'image' | 'image-border' | 'image-resize' | 'info' | 'invite-team' | 'issue' | 'issue-raise' | 'issues' | 'jira-capture' | 'jira-failed-build-status' | 'jira-labs' | 'jira-test-session' | 'label' | 'lightbulb' | 'lightbulb-filled' | 'like' | 'link' | 'link-filled' | 'list' | 'location' | 'lock' | 'lock-circle' | 'lock-filled' | 'marketplace' | 'media-services-actual-size' | 'media-services-add-comment' | 'media-services-annotate' | 'media-services-arrow' | 'media-services-audio' | 'media-services-blur' | 'media-services-brush' | 'media-services-button-option' | 'media-services-code' | 'media-services-document' | 'media-services-filter' | 'media-services-fit-to-page' | 'media-services-full-screen' | 'media-services-grid' | 'media-services-image' | 'media-services-line' | 'media-services-line-thickness' | 'media-services-no-image' | 'media-services-open-mediaviewer' | 'media-services-oval' | 'media-services-pdf' | 'media-services-preselected' | 'media-services-presentation' | 'media-services-rectangle' | 'media-services-scale-large' | 'media-services-scale-small' | 'media-services-spreadsheet' | 'media-services-text' | 'media-services-unknown' | 'media-services-video' | 'media-services-zip' | 'media-services-zoom-in' | 'media-services-zoom-out' | 'mention' | 'menu' | 'menu-expand' | 'mobile' | 'more' | 'more-vertical' | 'notification' | 'notification-all' | 'notification-direct' | 'office-building' | 'office-building-filled' | 'open' | 'overview' | 'page' | 'page-filled' | 'pdf' | 'people' | 'people-group' | 'person' | 'person-circle' | 'person-with-circle' | 'person-with-cross' | 'person-with-tick' | 'portfolio' | 'preferences' | 'premium' | 'presence-active' | 'presence-busy' | 'presence-unavailable' | 'question' | 'question-circle' | 'questions' | 'queues' | 'quote' | 'radio' | 'recent' | 'redo' | 'refresh' | 'retry' | 'roadmap' | 'room-menu' | 'schedule' | 'schedule-filled' | 'screen' | 'search' | 'select-clear' | 'send' | 'settings' | 'share' | 'ship' | 'shortcut' | 'sign-in' | 'sign-out' | 'sprint' | 'star' | 'star-filled' | 'star-large' | 'status' | 'stopwatch' | 'subtask' | 'suitcase' | 'switcher' | 'table' | 'task' | 'teams' | 'trash' | 'tray' | 'undo' | 'unlink' | 'unlock' | 'unlock-circle' | 'unlock-filled' | 'upload' | 'user-avatar-circle' | 'vid-audio-muted' | 'vid-audio-on' | 'vid-backward' | 'vid-camera-off' | 'vid-camera-on' | 'vid-connection-circle' | 'vid-forward' | 'vid-full-screen-off' | 'vid-full-screen-on' | 'vid-hang-up' | 'vid-hd-circle' | 'vid-pause' | 'vid-play' | 'vid-raised-hand' | 'vid-share-screen' | 'vid-speaking-circle' | 'vid-volume-full' | 'vid-volume-half' | 'vid-volume-muted' | 'video-circle' | 'video-filled' | 'warning' | 'watch' | 'watch-filled' | 'world' | 'world-small';
@@ -15,4 +15,5 @@ export type ButtonProps = Pick<PlatformButtonProps, 'children' | 'autoFocus' | '
15
15
  iconAfter?: IconType;
16
16
  spacing?: PlatformButtonProps['spacing'] | 'none';
17
17
  };
18
+ export type TButton<T> = (props: ButtonProps) => T;
18
19
  export {};
@@ -3,12 +3,16 @@
3
3
  *
4
4
  * Extract component prop types from UIKit 2 components - CalendarProps
5
5
  *
6
- * @codegen <<SignedSource::f5a5568104eee5eb1fc1238a8248e9e5>>
6
+ * @codegen <<SignedSource::87bad6f2a27e493eeba6d969450d3a3d>>
7
7
  * @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
8
- * @codegenDependency ../../../../forge-ui/src/components/UIKit/calendar/__generated__/index.partial.tsx <<SignedSource::500d3df7d07464aeb6502c6c1e32094f>>
8
+ * @codegenDependency ../../../../forge-ui/src/components/UIKit/calendar/__generated__/index.partial.tsx <<SignedSource::3fb4c1249481ec420be5118220ebcd82>>
9
9
  */
10
10
  import React from 'react';
11
11
  import PlatformCalendar from '@atlaskit/calendar';
12
12
  type PlatformCalendarProps = React.ComponentProps<typeof PlatformCalendar>;
13
13
  export type CalendarProps = Pick<PlatformCalendarProps, 'day' | 'defaultDay' | 'defaultMonth' | 'defaultYear' | 'defaultPreviouslySelected' | 'defaultSelected' | 'disabled' | 'maxDate' | 'minDate' | 'nextMonthLabel' | 'onBlur' | 'onChange' | 'onFocus' | 'onSelect' | 'previouslySelected' | 'previousMonthLabel' | 'selected' | 'today' | 'year' | 'locale' | 'testId' | 'weekStartDay' | 'tabIndex'>;
14
+ /**
15
+ * An interactive calendar for date selection experiences.
16
+ */
17
+ export type TCalendar<T> = (props: CalendarProps) => T;
14
18
  export {};
@@ -3,13 +3,17 @@
3
3
  *
4
4
  * Extract component prop types from UIKit 2 components - CheckboxProps
5
5
  *
6
- * @codegen <<SignedSource::27fe7915fb435d54bbd443371e68c64c>>
6
+ * @codegen <<SignedSource::7f4aa902734166585716f52e001a6d8f>>
7
7
  * @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
8
- * @codegenDependency ../../../../forge-ui/src/components/UIKit/checkbox/__generated__/index.partial.tsx <<SignedSource::b920c1cd759f2f7718cbd7afc3c04856>>
8
+ * @codegenDependency ../../../../forge-ui/src/components/UIKit/checkbox/__generated__/index.partial.tsx <<SignedSource::e34c0ab52d3409a8548b6e51450ba43b>>
9
9
  */
10
10
  import React from 'react';
11
11
  import PlatformCheckbox from '@atlaskit/checkbox';
12
12
  import type { EventHandlerProps } from './types.codegen';
13
13
  type PlatformCheckboxProps = React.ComponentProps<typeof PlatformCheckbox>;
14
14
  export type CheckboxProps = Pick<PlatformCheckboxProps, 'testId' | 'defaultChecked' | 'isChecked' | 'isIndeterminate' | 'label' | 'id' | 'isRequired' | 'isDisabled' | 'isInvalid' | 'value' | 'aria-invalid' | 'aria-labelledby' | 'name'> & Pick<EventHandlerProps, 'onChange' | 'onBlur' | 'onFocus'>;
15
+ /**
16
+ * A checkbox is an input control that allows a user to select one or more options from a number of choices.
17
+ */
18
+ export type TCheckbox<T> = (props: CheckboxProps) => T;
15
19
  export {};
@@ -3,12 +3,16 @@
3
3
  *
4
4
  * Extract component prop types from UIKit 2 components - CodeBlockProps
5
5
  *
6
- * @codegen <<SignedSource::098e0843568fab0c7230e24d7d1d8a4f>>
6
+ * @codegen <<SignedSource::7ac72aa38d908f5ad8be5452cccb84d1>>
7
7
  * @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
8
- * @codegenDependency ../../../../forge-ui/src/components/UIKit/code/__generated__/codeblock.partial.tsx <<SignedSource::8d1724c2fcc8fab3764250a4f63f76eb>>
8
+ * @codegenDependency ../../../../forge-ui/src/components/UIKit/code/__generated__/codeblock.partial.tsx <<SignedSource::88ed38fdfc47db0938e7801195a00403>>
9
9
  */
10
10
  import React from 'react';
11
11
  import { CodeBlock as PlatformCodeBlock } from '@atlaskit/code';
12
12
  type PlatformCodeBlockProps = React.ComponentProps<typeof PlatformCodeBlock>;
13
13
  export type CodeBlockProps = Pick<PlatformCodeBlockProps, 'text' | 'testId' | 'showLineNumbers' | 'language' | 'highlight' | 'highlightedStartText' | 'highlightedEndText' | 'shouldWrapLongLines'>;
14
+ /**
15
+ * Code highlights short strings of code snippets inline with body text.
16
+ */
17
+ export type TCodeBlock<T> = (props: CodeBlockProps) => T;
14
18
  export {};
@@ -3,12 +3,16 @@
3
3
  *
4
4
  * Extract component prop types from UIKit 2 components - CodeProps
5
5
  *
6
- * @codegen <<SignedSource::5b14dff15ad9bdad8a26fdda0fcb700c>>
6
+ * @codegen <<SignedSource::1a39727c921b99c3519aa0020e967c21>>
7
7
  * @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
8
- * @codegenDependency ../../../../forge-ui/src/components/UIKit/code/__generated__/code.partial.tsx <<SignedSource::7c44fc035da9da9e1dc10ad78f244bed>>
8
+ * @codegenDependency ../../../../forge-ui/src/components/UIKit/code/__generated__/code.partial.tsx <<SignedSource::370e450903cb8f21b11acac7a9fc720b>>
9
9
  */
10
10
  import React from 'react';
11
11
  import { Code as PlatformCode } from '@atlaskit/code';
12
12
  type PlatformCodeProps = React.ComponentProps<typeof PlatformCode>;
13
13
  export type CodeProps = Pick<PlatformCodeProps, 'children' | 'testId'>;
14
+ /**
15
+ * Code highlights short strings of code snippets inline with body text.
16
+ */
17
+ export type TCode<T> = (props: CodeProps) => T;
14
18
  export {};
@@ -3,9 +3,9 @@
3
3
  *
4
4
  * Extract component prop types from UIKit 2 components - DatePickerProps
5
5
  *
6
- * @codegen <<SignedSource::f4379336ae6809d6dc490f67dfd34cd5>>
6
+ * @codegen <<SignedSource::14d82d10ae64e4333440817918f6e955>>
7
7
  * @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
8
- * @codegenDependency ../../../../forge-ui/src/components/UIKit/datepicker/__generated__/index.partial.tsx <<SignedSource::5408131ac700a0baedb02ef897692c12>>
8
+ * @codegenDependency ../../../../forge-ui/src/components/UIKit/datepicker/__generated__/index.partial.tsx <<SignedSource::6bc5d63c14b9dda11b370e386ccf4955>>
9
9
  */
10
10
  import type { DateTimePickerSelectProps } from '@atlaskit/datetime-picker';
11
11
  export interface FieldProps {
@@ -47,4 +47,8 @@ export type DatePickerProps = {
47
47
  selectProps?: DateTimePickerSelectProps;
48
48
  shouldShowCalendarButton?: boolean;
49
49
  } & Partial<Omit<FieldProps, 'onChange'>>;
50
+ /**
51
+ * A date time picker allows the user to select an associated date and time.
52
+ */
53
+ export type TDatePicker<T> = (props: DatePickerProps) => T;
50
54
  export {};
@@ -3,9 +3,9 @@
3
3
  *
4
4
  * Extract component prop types from UIKit 2 components - DynamicTableProps
5
5
  *
6
- * @codegen <<SignedSource::5c8d9d5d4a28765e8e982abff651de32>>
6
+ * @codegen <<SignedSource::213e682fc5fc702c30fb176cf45969b3>>
7
7
  * @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
8
- * @codegenDependency ../../../../forge-ui/src/components/UIKit/dynamictable/__generated__/index.partial.tsx <<SignedSource::48b2b4eac0a51cd071bfa077e923eb3f>>
8
+ * @codegenDependency ../../../../forge-ui/src/components/UIKit/dynamictable/__generated__/index.partial.tsx <<SignedSource::579e3dddf7bd4b762d0fd40744619b89>>
9
9
  */
10
10
  import type { RowType, StatefulProps } from '@atlaskit/dynamic-table/types';
11
11
  type NewRowType = Pick<RowType, 'cells' | 'key' | 'isHighlighted'>;
@@ -13,4 +13,8 @@ export type DynamicTableProps = Pick<StatefulProps, 'defaultPage' | 'defaultSort
13
13
  rows?: NewRowType[];
14
14
  caption?: string;
15
15
  };
16
+ /**
17
+ * A dynamic table displays rows of data with built-in pagination, sorting, and re-ordering functionality.
18
+ */
19
+ export type TDynamicTable<T> = (props: DynamicTableProps) => T;
16
20
  export {};
@@ -3,12 +3,16 @@
3
3
  *
4
4
  * Extract component prop types from UIKit 2 components - EmptyStateProps
5
5
  *
6
- * @codegen <<SignedSource::4d85600b608de1e5bdd496c26d46e162>>
6
+ * @codegen <<SignedSource::07a70b90ed6e68ae200fd5e38e163a89>>
7
7
  * @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
8
- * @codegenDependency ../../../../forge-ui/src/components/UIKit/emptystate/__generated__/index.partial.tsx <<SignedSource::fcecc0f674b9690cf74157284c24045a>>
8
+ * @codegenDependency ../../../../forge-ui/src/components/UIKit/emptystate/__generated__/index.partial.tsx <<SignedSource::d6c509a722d55de0f55d401cd2e75435>>
9
9
  */
10
10
  import React from 'react';
11
11
  import PlatformEmptyState from '@atlaskit/empty-state';
12
12
  type PlatformEmptyStateProps = React.ComponentProps<typeof PlatformEmptyState>;
13
13
  export type EmptyStateProps = Pick<PlatformEmptyStateProps, 'buttonGroupLabel' | 'description' | 'header' | 'headingLevel' | 'isLoading' | 'primaryAction' | 'secondaryAction' | 'tertiaryAction' | 'testId' | 'width'>;
14
+ /**
15
+ * An empty state appears when there is no data to display and describes what the user can do next.
16
+ */
17
+ export type TEmptyState<T> = (props: EmptyStateProps) => T;
14
18
  export {};
@@ -3,12 +3,16 @@
3
3
  *
4
4
  * Extract component prop types from UIKit 2 components - ErrorMessageProps
5
5
  *
6
- * @codegen <<SignedSource::b27ea13693f064f02be77ca22a7b21a7>>
6
+ * @codegen <<SignedSource::3d3da7aa33a6ac0adb1524f89ee28208>>
7
7
  * @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
8
- * @codegenDependency ../../../../forge-ui/src/components/UIKit/form/__generated__/error-message.partial.tsx <<SignedSource::94778992a6ed8c3225c72407310f2a82>>
8
+ * @codegenDependency ../../../../forge-ui/src/components/UIKit/form/__generated__/error-message.partial.tsx <<SignedSource::9e1a8d256d8d999a689140fbcda430fa>>
9
9
  */
10
10
  import React from 'react';
11
11
  import { ErrorMessage as PlatformErrorMessage } from '@atlaskit/form';
12
12
  type PlatformErrorMessageProps = React.ComponentProps<typeof PlatformErrorMessage>;
13
13
  export type ErrorMessageProps = Pick<PlatformErrorMessageProps, 'children' | 'testId'>;
14
+ /**
15
+ * A form allows users to input information.
16
+ */
17
+ export type TErrorMessage<T> = (props: ErrorMessageProps) => T;
14
18
  export {};
@@ -3,12 +3,16 @@
3
3
  *
4
4
  * Extract component prop types from UIKit 2 components - FlexProps
5
5
  *
6
- * @codegen <<SignedSource::6cc8834108a5a35b246bb5b6d336a307>>
6
+ * @codegen <<SignedSource::a7674fb0691e3265f6e0940ae4f938e1>>
7
7
  * @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
8
- * @codegenDependency ../../../../forge-ui/src/components/UIKit/flex/__generated__/index.partial.tsx <<SignedSource::524c2a52b6d867c671d4937480ca329c>>
8
+ * @codegenDependency ../../../../forge-ui/src/components/UIKit/flex/__generated__/index.partial.tsx <<SignedSource::0e480e44e57f21f761bec4613ac4988d>>
9
9
  */
10
10
  import React from 'react';
11
11
  import { Flex as PlatformFlex } from '@atlaskit/primitives';
12
12
  type PlatformFlexProps = React.ComponentProps<typeof PlatformFlex>;
13
13
  export type FlexProps = Pick<PlatformFlexProps, 'children' | 'justifyContent' | 'alignItems' | 'columnGap' | 'gap' | 'rowGap' | 'direction' | 'wrap' | 'testId' | 'role'>;
14
+ /**
15
+ * Primitives are token-backed low-level building blocks.
16
+ */
17
+ export type TFlex<T> = (props: FlexProps) => T;
14
18
  export {};
@@ -3,12 +3,16 @@
3
3
  *
4
4
  * Extract component prop types from UIKit 2 components - FormFooterProps
5
5
  *
6
- * @codegen <<SignedSource::42bff10c7cc9fcff3c906d4b9af8abd7>>
6
+ * @codegen <<SignedSource::cb77ae443b27f1229afcd556eb365acf>>
7
7
  * @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
8
- * @codegenDependency ../../../../forge-ui/src/components/UIKit/form/__generated__/form-footer.partial.tsx <<SignedSource::e1c39bcdc2f7edc7d21cd21e0c4a47ca>>
8
+ * @codegenDependency ../../../../forge-ui/src/components/UIKit/form/__generated__/form-footer.partial.tsx <<SignedSource::ff2413efe154db0f89a03200caf50ced>>
9
9
  */
10
10
  import React from 'react';
11
11
  import { FormFooter as PlatformFormFooter } from '@atlaskit/form';
12
12
  type PlatformFormFooterProps = React.ComponentProps<typeof PlatformFormFooter>;
13
13
  export type FormFooterProps = Pick<PlatformFormFooterProps, 'children' | 'align'>;
14
+ /**
15
+ * A form allows users to input information.
16
+ */
17
+ export type TFormFooter<T> = (props: FormFooterProps) => T;
14
18
  export {};
@@ -3,12 +3,16 @@
3
3
  *
4
4
  * Extract component prop types from UIKit 2 components - FormHeaderProps
5
5
  *
6
- * @codegen <<SignedSource::d8deb5d9e54d7bbbf5f338de52efe8cd>>
6
+ * @codegen <<SignedSource::74a8285c7ae5a0c5db7b8cafa4d8226b>>
7
7
  * @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
8
- * @codegenDependency ../../../../forge-ui/src/components/UIKit/form/__generated__/form-header.partial.tsx <<SignedSource::a819d70cfd6efa6115889e0353f7ec5f>>
8
+ * @codegenDependency ../../../../forge-ui/src/components/UIKit/form/__generated__/form-header.partial.tsx <<SignedSource::038ad7a850af23fb1c9b30de39ab0552>>
9
9
  */
10
10
  import React from 'react';
11
11
  import { FormHeader as PlatformFormHeader } from '@atlaskit/form';
12
12
  type PlatformFormHeaderProps = React.ComponentProps<typeof PlatformFormHeader>;
13
13
  export type FormHeaderProps = Pick<PlatformFormHeaderProps, 'title' | 'description' | 'children'>;
14
+ /**
15
+ * A form allows users to input information.
16
+ */
17
+ export type TFormHeader<T> = (props: FormHeaderProps) => T;
14
18
  export {};
@@ -3,12 +3,16 @@
3
3
  *
4
4
  * Extract component prop types from UIKit 2 components - FormSectionProps
5
5
  *
6
- * @codegen <<SignedSource::594fc69bc1d8fec83eea322b3fd188ee>>
6
+ * @codegen <<SignedSource::bb91841c1913229e7eb66d61b4ab693d>>
7
7
  * @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
8
- * @codegenDependency ../../../../forge-ui/src/components/UIKit/form/__generated__/form-section.partial.tsx <<SignedSource::d1562b48595a99e4857a21988f0a98cb>>
8
+ * @codegenDependency ../../../../forge-ui/src/components/UIKit/form/__generated__/form-section.partial.tsx <<SignedSource::7b30101c26550bb11c0f4ca6d4cf46fc>>
9
9
  */
10
10
  import React from 'react';
11
11
  import { FormSection as PlatformFormSection } from '@atlaskit/form';
12
12
  type PlatformFormSectionProps = React.ComponentProps<typeof PlatformFormSection>;
13
13
  export type FormSectionProps = Pick<PlatformFormSectionProps, 'title' | 'children' | 'description'>;
14
+ /**
15
+ * A form allows users to input information.
16
+ */
17
+ export type TFormSection<T> = (props: FormSectionProps) => T;
14
18
  export {};
@@ -3,12 +3,16 @@
3
3
  *
4
4
  * Extract component prop types from UIKit 2 components - GridProps
5
5
  *
6
- * @codegen <<SignedSource::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 - HelperMessageProps
5
5
  *
6
- * @codegen <<SignedSource::cb7b0f9c5f923180d6ab2eb97916ff6c>>
6
+ * @codegen <<SignedSource::85d8a9188648ed81c09769eedb4935e6>>
7
7
  * @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
8
- * @codegenDependency ../../../../forge-ui/src/components/UIKit/form/__generated__/helper-message.partial.tsx <<SignedSource::7f2e5d93a731e1fff5075644b7dd2e61>>
8
+ * @codegenDependency ../../../../forge-ui/src/components/UIKit/form/__generated__/helper-message.partial.tsx <<SignedSource::f093808bbd8bf8738059aee750524013>>
9
9
  */
10
10
  import React from 'react';
11
11
  import { HelperMessage as PlatformHelperMessage } from '@atlaskit/form';
12
12
  type PlatformHelperMessageProps = React.ComponentProps<typeof PlatformHelperMessage>;
13
13
  export type HelperMessageProps = Pick<PlatformHelperMessageProps, 'children' | 'testId'>;
14
+ /**
15
+ * A form allows users to input information.
16
+ */
17
+ export type THelperMessage<T> = (props: HelperMessageProps) => T;
14
18
  export {};
@@ -3,12 +3,16 @@
3
3
  *
4
4
  * Extract component prop types from UIKit 2 components - InlineProps
5
5
  *
6
- * @codegen <<SignedSource::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,11 +3,15 @@
3
3
  *
4
4
  * Extract component prop types from UIKit 2 components - LabelProps
5
5
  *
6
- * @codegen <<SignedSource::3ffcab7388acd62d080e9bd44c09ee83>>
6
+ * @codegen <<SignedSource::0a894a2ad4f4410a2c67f12f0287dbcd>>
7
7
  * @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
8
- * @codegenDependency ../../../../forge-ui/src/components/UIKit/form/__generated__/label.partial.tsx <<SignedSource::76a9bd0b52bc4cb5531064a7495532d5>>
8
+ * @codegenDependency ../../../../forge-ui/src/components/UIKit/form/__generated__/label.partial.tsx <<SignedSource::60bad4561265206e7c10d92a99fce9f4>>
9
9
  */
10
10
  import type { LabelProps as PlatformLabelProps } from '@atlaskit/form';
11
11
  export type LabelProps = Pick<PlatformLabelProps, 'children' | 'testId' | 'id'> & {
12
12
  labelFor: string;
13
13
  };
14
+ /**
15
+ * A form allows users to input information.
16
+ */
17
+ export type TLabel<T> = (props: LabelProps) => T;
@@ -3,9 +3,9 @@
3
3
  *
4
4
  * Extract component prop types from UIKit 2 components - LinkButtonProps
5
5
  *
6
- * @codegen <<SignedSource::8ceca7ac3238c0f6b6d222d171994cf3>>
6
+ * @codegen <<SignedSource::ac79b85bde2efadf2186ea5acd6d267e>>
7
7
  * @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
8
- * @codegenDependency ../../../../forge-ui/src/components/UIKit/button/__generated__/link-button.partial.tsx <<SignedSource::6977fab8ea9a5478c26d6e1e77eab843>>
8
+ * @codegenDependency ../../../../forge-ui/src/components/UIKit/button/__generated__/link-button.partial.tsx <<SignedSource::4f0e6eb251c01a13ba006b3d7569820d>>
9
9
  */
10
10
  import type { LinkButtonProps as PlatformLinkButtonProps } from '@atlaskit/button/new';
11
11
  import React from 'react';
@@ -15,3 +15,4 @@ export type LinkButtonProps = Pick<PlatformLinkButtonProps, 'children' | 'target
15
15
  appearance?: PlatformLinkButtonProps['appearance'] | 'link' | 'subtle-link';
16
16
  spacing?: PlatformLinkButtonProps['spacing'] | 'none';
17
17
  };
18
+ export type TLinkButton<T> = (props: LinkButtonProps) => T;
@@ -3,12 +3,16 @@
3
3
  *
4
4
  * Extract component prop types from UIKit 2 components - LoadingButtonProps
5
5
  *
6
- * @codegen <<SignedSource::8dc34a32e6ef9d2e34dedf479351fe9b>>
6
+ * @codegen <<SignedSource::58521a43391f996afe6923d5a591a82c>>
7
7
  * @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
8
- * @codegenDependency ../../../../forge-ui/src/components/UIKit/button/__generated__/loading-button.partial.tsx <<SignedSource::2ac2d29e443bfeb014c122223febd49b>>
8
+ * @codegenDependency ../../../../forge-ui/src/components/UIKit/button/__generated__/loading-button.partial.tsx <<SignedSource::078e02aff0fd36fb6bbf64711f0c5490>>
9
9
  */
10
10
  import React from 'react';
11
11
  import { LoadingButton as PlatformLoadingButton } from '@atlaskit/button';
12
12
  type PlatformLoadingButtonProps = React.ComponentProps<typeof PlatformLoadingButton>;
13
13
  export type LoadingButtonProps = Pick<PlatformLoadingButtonProps, 'children' | 'appearance' | 'autoFocus' | 'isDisabled' | 'isSelected' | 'onBlur' | 'onClick' | 'onFocus' | 'spacing' | 'testId' | 'shouldFitContainer' | 'type' | 'isLoading'>;
14
+ /**
15
+ * A button triggers an event or action. They let users know what will happen next.
16
+ */
17
+ export type TLoadingButton<T> = (props: LoadingButtonProps) => 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 {};