@atlaskit/forge-react-types 0.37.7 → 0.37.8

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 (110) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/types/components/__generated__/ButtonGroupProps.codegen.d.ts +3 -3
  3. package/dist/types/components/__generated__/ButtonProps.codegen.d.ts +5 -2
  4. package/dist/types/components/__generated__/CheckboxGroupProps.codegen.d.ts +21 -2
  5. package/dist/types/components/__generated__/DatePickerProps.codegen.d.ts +3 -3
  6. package/dist/types/components/__generated__/ErrorMessageProps.codegen.d.ts +4 -3
  7. package/dist/types/components/__generated__/FormFooterProps.codegen.d.ts +12 -4
  8. package/dist/types/components/__generated__/FormHeaderProps.codegen.d.ts +5 -3
  9. package/dist/types/components/__generated__/FormProps.codegen.d.ts +14 -2
  10. package/dist/types/components/__generated__/FormSectionProps.codegen.d.ts +4 -3
  11. package/dist/types/components/__generated__/HelperMessageProps.codegen.d.ts +4 -3
  12. package/dist/types/components/__generated__/IconProps.codegen.d.ts +22 -2
  13. package/dist/types/components/__generated__/InlineEditProps.codegen.d.ts +6 -2
  14. package/dist/types/components/__generated__/InlineProps.codegen.d.ts +3 -3
  15. package/dist/types/components/__generated__/LabelProps.codegen.d.ts +3 -3
  16. package/dist/types/components/__generated__/LinkButtonProps.codegen.d.ts +5 -2
  17. package/dist/types/components/__generated__/ListItemProps.codegen.d.ts +3 -2
  18. package/dist/types/components/__generated__/ListProps.codegen.d.ts +14 -2
  19. package/dist/types/components/__generated__/LoadingButtonProps.codegen.d.ts +3 -3
  20. package/dist/types/components/__generated__/ModalBodyProps.codegen.d.ts +3 -3
  21. package/dist/types/components/__generated__/ModalFooterProps.codegen.d.ts +4 -3
  22. package/dist/types/components/__generated__/ModalHeaderProps.codegen.d.ts +3 -3
  23. package/dist/types/components/__generated__/ModalTitleProps.codegen.d.ts +3 -3
  24. package/dist/types/components/__generated__/ModalTransitionProps.codegen.d.ts +3 -3
  25. package/dist/types/components/__generated__/PopupProps.codegen.d.ts +15 -2
  26. package/dist/types/components/__generated__/SelectProps.codegen.d.ts +6 -2
  27. package/dist/types/components/__generated__/StackProps.codegen.d.ts +3 -3
  28. package/dist/types/components/__generated__/TabListProps.codegen.d.ts +3 -3
  29. package/dist/types/components/__generated__/TabPanelProps.codegen.d.ts +3 -3
  30. package/dist/types/components/__generated__/TabProps.codegen.d.ts +3 -3
  31. package/dist/types/components/__generated__/TextAreaProps.codegen.d.ts +6 -2
  32. package/dist/types/components/__generated__/TextfieldProps.codegen.d.ts +6 -2
  33. package/dist/types/components/__generated__/TimePickerProps.codegen.d.ts +3 -3
  34. package/dist/types/components/__generated__/TooltipProps.codegen.d.ts +3 -3
  35. package/dist/types/components/__generated__/ValidMessageProps.codegen.d.ts +4 -3
  36. package/dist/types/components/__generated__/index.d.ts +65 -58
  37. package/dist/types/index.d.ts +1 -1
  38. package/dist/types-ts4.5/components/__generated__/ButtonGroupProps.codegen.d.ts +3 -3
  39. package/dist/types-ts4.5/components/__generated__/ButtonProps.codegen.d.ts +5 -2
  40. package/dist/types-ts4.5/components/__generated__/CheckboxGroupProps.codegen.d.ts +21 -2
  41. package/dist/types-ts4.5/components/__generated__/DatePickerProps.codegen.d.ts +3 -3
  42. package/dist/types-ts4.5/components/__generated__/ErrorMessageProps.codegen.d.ts +4 -3
  43. package/dist/types-ts4.5/components/__generated__/FormFooterProps.codegen.d.ts +12 -4
  44. package/dist/types-ts4.5/components/__generated__/FormHeaderProps.codegen.d.ts +5 -3
  45. package/dist/types-ts4.5/components/__generated__/FormProps.codegen.d.ts +14 -2
  46. package/dist/types-ts4.5/components/__generated__/FormSectionProps.codegen.d.ts +4 -3
  47. package/dist/types-ts4.5/components/__generated__/HelperMessageProps.codegen.d.ts +4 -3
  48. package/dist/types-ts4.5/components/__generated__/IconProps.codegen.d.ts +22 -2
  49. package/dist/types-ts4.5/components/__generated__/InlineEditProps.codegen.d.ts +6 -2
  50. package/dist/types-ts4.5/components/__generated__/InlineProps.codegen.d.ts +3 -3
  51. package/dist/types-ts4.5/components/__generated__/LabelProps.codegen.d.ts +3 -3
  52. package/dist/types-ts4.5/components/__generated__/LinkButtonProps.codegen.d.ts +5 -2
  53. package/dist/types-ts4.5/components/__generated__/ListItemProps.codegen.d.ts +3 -2
  54. package/dist/types-ts4.5/components/__generated__/ListProps.codegen.d.ts +14 -2
  55. package/dist/types-ts4.5/components/__generated__/LoadingButtonProps.codegen.d.ts +3 -3
  56. package/dist/types-ts4.5/components/__generated__/ModalBodyProps.codegen.d.ts +3 -3
  57. package/dist/types-ts4.5/components/__generated__/ModalFooterProps.codegen.d.ts +4 -3
  58. package/dist/types-ts4.5/components/__generated__/ModalHeaderProps.codegen.d.ts +3 -3
  59. package/dist/types-ts4.5/components/__generated__/ModalTitleProps.codegen.d.ts +3 -3
  60. package/dist/types-ts4.5/components/__generated__/ModalTransitionProps.codegen.d.ts +3 -3
  61. package/dist/types-ts4.5/components/__generated__/PopupProps.codegen.d.ts +15 -2
  62. package/dist/types-ts4.5/components/__generated__/SelectProps.codegen.d.ts +6 -2
  63. package/dist/types-ts4.5/components/__generated__/StackProps.codegen.d.ts +3 -3
  64. package/dist/types-ts4.5/components/__generated__/TabListProps.codegen.d.ts +3 -3
  65. package/dist/types-ts4.5/components/__generated__/TabPanelProps.codegen.d.ts +3 -3
  66. package/dist/types-ts4.5/components/__generated__/TabProps.codegen.d.ts +3 -3
  67. package/dist/types-ts4.5/components/__generated__/TextAreaProps.codegen.d.ts +6 -2
  68. package/dist/types-ts4.5/components/__generated__/TextfieldProps.codegen.d.ts +6 -2
  69. package/dist/types-ts4.5/components/__generated__/TimePickerProps.codegen.d.ts +3 -3
  70. package/dist/types-ts4.5/components/__generated__/TooltipProps.codegen.d.ts +3 -3
  71. package/dist/types-ts4.5/components/__generated__/ValidMessageProps.codegen.d.ts +4 -3
  72. package/dist/types-ts4.5/components/__generated__/index.d.ts +65 -58
  73. package/dist/types-ts4.5/index.d.ts +1 -1
  74. package/package.json +2 -2
  75. package/src/components/__generated__/ButtonGroupProps.codegen.tsx +3 -3
  76. package/src/components/__generated__/ButtonProps.codegen.tsx +5 -2
  77. package/src/components/__generated__/CheckboxGroupProps.codegen.tsx +26 -3
  78. package/src/components/__generated__/DatePickerProps.codegen.tsx +3 -3
  79. package/src/components/__generated__/ErrorMessageProps.codegen.tsx +4 -3
  80. package/src/components/__generated__/FormFooterProps.codegen.tsx +12 -4
  81. package/src/components/__generated__/FormHeaderProps.codegen.tsx +5 -3
  82. package/src/components/__generated__/FormProps.codegen.tsx +14 -2
  83. package/src/components/__generated__/FormSectionProps.codegen.tsx +4 -3
  84. package/src/components/__generated__/HelperMessageProps.codegen.tsx +4 -3
  85. package/src/components/__generated__/IconProps.codegen.tsx +22 -2
  86. package/src/components/__generated__/InlineEditProps.codegen.tsx +8 -3
  87. package/src/components/__generated__/InlineProps.codegen.tsx +3 -3
  88. package/src/components/__generated__/LabelProps.codegen.tsx +3 -3
  89. package/src/components/__generated__/LinkButtonProps.codegen.tsx +5 -2
  90. package/src/components/__generated__/ListItemProps.codegen.tsx +5 -3
  91. package/src/components/__generated__/ListProps.codegen.tsx +16 -3
  92. package/src/components/__generated__/LoadingButtonProps.codegen.tsx +17 -5
  93. package/src/components/__generated__/ModalBodyProps.codegen.tsx +3 -3
  94. package/src/components/__generated__/ModalFooterProps.codegen.tsx +4 -3
  95. package/src/components/__generated__/ModalHeaderProps.codegen.tsx +3 -3
  96. package/src/components/__generated__/ModalTitleProps.codegen.tsx +3 -3
  97. package/src/components/__generated__/ModalTransitionProps.codegen.tsx +3 -3
  98. package/src/components/__generated__/PopupProps.codegen.tsx +18 -3
  99. package/src/components/__generated__/SelectProps.codegen.tsx +8 -3
  100. package/src/components/__generated__/StackProps.codegen.tsx +3 -3
  101. package/src/components/__generated__/TabListProps.codegen.tsx +3 -3
  102. package/src/components/__generated__/TabPanelProps.codegen.tsx +3 -3
  103. package/src/components/__generated__/TabProps.codegen.tsx +3 -3
  104. package/src/components/__generated__/TextAreaProps.codegen.tsx +8 -3
  105. package/src/components/__generated__/TextfieldProps.codegen.tsx +8 -3
  106. package/src/components/__generated__/TimePickerProps.codegen.tsx +3 -3
  107. package/src/components/__generated__/TooltipProps.codegen.tsx +3 -3
  108. package/src/components/__generated__/ValidMessageProps.codegen.tsx +4 -3
  109. package/src/components/__generated__/index.ts +67 -59
  110. package/src/index.ts +59 -0
@@ -3,16 +3,16 @@
3
3
  *
4
4
  * Extract component prop types from UIKit 2 components - TooltipProps
5
5
  *
6
- * @codegen <<SignedSource::d67c937dcf799eb3d57dc35b62b52bd4>>
6
+ * @codegen <<SignedSource::4b27e1c130769985576ab4c910715b03>>
7
7
  * @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
8
- * @codegenDependency ../../../../forge-ui/src/components/UIKit/tooltip/__generated__/index.partial.tsx <<SignedSource::f5b26159e3b08ac61199d599900f523d>>
8
+ * @codegenDependency ../../../../forge-ui/src/components/UIKit/tooltip/__generated__/index.partial.tsx <<SignedSource::e3e388170520502310149f23b8defa27>>
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
14
  /**
15
- * A tooltip is a floating, non-actionable label used to explain a user interface element or feature.
15
+ * A `Tooltip` is a floating, non-actionable label used to explain a user interface element or feature.
16
16
  */
17
17
  export type TTooltip<T> = (props: TooltipProps) => T;
18
18
  export {};
@@ -3,16 +3,17 @@
3
3
  *
4
4
  * Extract component prop types from UIKit 2 components - ValidMessageProps
5
5
  *
6
- * @codegen <<SignedSource::40ef2ece49a84181a994ff221e42cc39>>
6
+ * @codegen <<SignedSource::4cc4d2511f92d5cb8969eb03a63cb079>>
7
7
  * @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
8
- * @codegenDependency ../../../../forge-ui/src/components/UIKit/form/__generated__/valid-message.partial.tsx <<SignedSource::5460cf891302777898b53c0b4ae8b610>>
8
+ * @codegenDependency ../../../../forge-ui/src/components/UIKit/form/__generated__/valid-message.partial.tsx <<SignedSource::7c24bfd118e399bb212709c31585209b>>
9
9
  */
10
10
  import React from 'react';
11
11
  import { ValidMessage as PlatformValidMessage } from '@atlaskit/form';
12
12
  type PlatformValidMessageProps = React.ComponentProps<typeof PlatformValidMessage>;
13
13
  export type ValidMessageProps = Pick<PlatformValidMessageProps, 'children' | 'testId'>;
14
14
  /**
15
- * A form allows users to input information.
15
+ * A valid message is used to tell a user that the field input is valid.
16
+ * For example, a helper message could be "Nice one, this username is available".
16
17
  */
17
18
  export type TValidMessage<T> = (props: ValidMessageProps) => T;
18
19
  export {};
@@ -1,65 +1,72 @@
1
1
  export type { BadgeProps, TBadge } from './BadgeProps.codegen';
2
- export type { BleedProps } from './BleedProps.codegen';
2
+ export type { BleedProps, TBleed } from './BleedProps.codegen';
3
3
  export type { BoxProps, TBox } from './BoxProps.codegen';
4
- export type { ButtonGroupProps } from './ButtonGroupProps.codegen';
5
- export type { ButtonProps } from './ButtonProps.codegen';
6
- export type { CheckboxProps } from './CheckboxProps.codegen';
7
- export type { CalendarProps } from './CalendarProps.codegen';
8
- export type { CheckboxGroupProps } from './CheckboxGroupProps.codegen';
9
- export type { CodeBlockProps } from './CodeBlockProps.codegen';
10
- export type { CodeProps } from './CodeProps.codegen';
11
- export type { DatePickerProps } from './DatePickerProps.codegen';
12
- export type { DynamicTableProps } from './DynamicTableProps.codegen';
13
- export type { EmptyStateProps } from './EmptyStateProps.codegen';
14
- export type { ErrorMessageProps } from './ErrorMessageProps.codegen';
15
- export type { FlexProps } from './FlexProps.codegen';
16
- export type { FormFooterProps } from './FormFooterProps.codegen';
17
- export type { FormHeaderProps } from './FormHeaderProps.codegen';
18
- export type { FormProps } from './FormProps.codegen';
19
- export type { FormSectionProps } from './FormSectionProps.codegen';
20
- export type { GridProps } from './GridProps.codegen';
21
- export type { HeadingProps } from './HeadingProps.codegen';
22
- export type { HelperMessageProps } from './HelperMessageProps.codegen';
23
- export type { IconProps } from './IconProps.codegen';
24
- export type { InlineProps } from './InlineProps.codegen';
25
- export type { InlineEditProps } from './InlineEditProps.codegen';
26
- export type { LabelProps } from './LabelProps.codegen';
27
- export type { LinkButtonProps } from './LinkButtonProps.codegen';
28
- export type { ListProps } from './ListProps.codegen';
29
- export type { ListItemProps } from './ListItemProps.codegen';
30
- export type { LoadingButtonProps } from './LoadingButtonProps.codegen';
31
- export type { LozengeProps } from './LozengeProps.codegen';
32
- export type { ModalBodyProps } from './ModalBodyProps.codegen';
33
- export type { ModalFooterProps } from './ModalFooterProps.codegen';
34
- export type { ModalHeaderProps } from './ModalHeaderProps.codegen';
35
- export type { ModalProps } from './ModalProps.codegen';
36
- export type { ModalTitleProps } from './ModalTitleProps.codegen';
37
- export type { ModalTransitionProps } from './ModalTransitionProps.codegen';
38
- export type { ProgressBarProps } from './ProgressBarProps.codegen';
39
- export type { ProgressTrackerProps } from './ProgressTrackerProps.codegen';
40
- export type { RadioGroupProps } from './RadioGroupProps.codegen';
41
- export type { RadioProps } from './RadioProps.codegen';
42
- export type { RangeProps } from './RangeProps.codegen';
43
- export type { SectionMessageActionProps } from './SectionMessageActionProps.codegen';
44
- export type { SectionMessageProps } from './SectionMessageProps.codegen';
45
- export type { SelectProps } from './SelectProps.codegen';
46
- export type { SpinnerProps } from './SpinnerProps.codegen';
47
- export type { StackProps } from './StackProps.codegen';
48
- export type { TabListProps } from './TabListProps.codegen';
49
- export type { TabPanelProps } from './TabPanelProps.codegen';
50
- export type { TabProps } from './TabProps.codegen';
51
- export type { TabsProps } from './TabsProps.codegen';
52
- export type { TagGroupProps } from './TagGroupProps.codegen';
53
- export type { SimpleTagProps as TagProps } from './TagProps.codegen';
54
- export type { TextAreaProps } from './TextAreaProps.codegen';
55
- export type { TextfieldProps } from './TextfieldProps.codegen';
56
- export type { TimePickerProps } from './TimePickerProps.codegen';
57
- export type { ToggleProps } from './ToggleProps.codegen';
58
- export type { TooltipProps } from './TooltipProps.codegen';
59
- export type { ValidMessageProps } from './ValidMessageProps.codegen';
60
- export type { PopupProps } from './PopupProps.codegen';
4
+ export type { ButtonGroupProps, TButtonGroup } from './ButtonGroupProps.codegen';
5
+ export type { ButtonProps, TButton } from './ButtonProps.codegen';
6
+ export type { CheckboxProps, TCheckbox } from './CheckboxProps.codegen';
7
+ export type { CalendarProps, TCalendar } from './CalendarProps.codegen';
8
+ export type { CheckboxGroupProps, TCheckboxGroup } from './CheckboxGroupProps.codegen';
9
+ export type { CodeBlockProps, TCodeBlock } from './CodeBlockProps.codegen';
10
+ export type { CodeProps, TCode } from './CodeProps.codegen';
11
+ export type { DatePickerProps, TDatePicker } from './DatePickerProps.codegen';
12
+ export type { DynamicTableProps, TDynamicTable } from './DynamicTableProps.codegen';
13
+ export type { EmptyStateProps, TEmptyState } from './EmptyStateProps.codegen';
14
+ export type { ErrorMessageProps, TErrorMessage } from './ErrorMessageProps.codegen';
15
+ export type { FlexProps, TFlex } from './FlexProps.codegen';
16
+ export type { FormFooterProps, TFormFooter } from './FormFooterProps.codegen';
17
+ export type { FormHeaderProps, TFormHeader } from './FormHeaderProps.codegen';
18
+ export type { FormProps, TForm } from './FormProps.codegen';
19
+ export type { FormSectionProps, TFormSection } from './FormSectionProps.codegen';
20
+ export type { GridProps, TGrid } from './GridProps.codegen';
21
+ export type { HeadingProps, THeading } from './HeadingProps.codegen';
22
+ export type { HelperMessageProps, THelperMessage } from './HelperMessageProps.codegen';
23
+ export type { IconProps, TIcon } from './IconProps.codegen';
24
+ export type { InlineProps, TInline } from './InlineProps.codegen';
25
+ export type { InlineEditProps, TInlineEdit } from './InlineEditProps.codegen';
26
+ export type { LabelProps, TLabel } from './LabelProps.codegen';
27
+ export type { LinkButtonProps, TLinkButton } from './LinkButtonProps.codegen';
28
+ export type { ListProps, TList } from './ListProps.codegen';
29
+ export type { ListItemProps, TListItem } from './ListItemProps.codegen';
30
+ export type { LoadingButtonProps, TLoadingButton } from './LoadingButtonProps.codegen';
31
+ export type { LozengeProps, TLozenge } from './LozengeProps.codegen';
32
+ export type { ModalBodyProps, TModalBody } from './ModalBodyProps.codegen';
33
+ export type { ModalFooterProps, TModalFooter } from './ModalFooterProps.codegen';
34
+ export type { ModalHeaderProps, TModalHeader } from './ModalHeaderProps.codegen';
35
+ export type { ModalProps, TModal } from './ModalProps.codegen';
36
+ export type { ModalTitleProps, TModalTitle } from './ModalTitleProps.codegen';
37
+ export type { ModalTransitionProps, TModalTransition } from './ModalTransitionProps.codegen';
38
+ export type { ProgressBarProps, TProgressBar } from './ProgressBarProps.codegen';
39
+ export type { ProgressTrackerProps, TProgressTracker } from './ProgressTrackerProps.codegen';
40
+ export type { RadioGroupProps, TRadioGroup } from './RadioGroupProps.codegen';
41
+ export type { RadioProps, TRadio } from './RadioProps.codegen';
42
+ export type { RangeProps, TRange } from './RangeProps.codegen';
43
+ export type { SectionMessageActionProps, TSectionMessageAction } from './SectionMessageActionProps.codegen';
44
+ export type { SectionMessageProps, TSectionMessage } from './SectionMessageProps.codegen';
45
+ export type { SelectProps, TSelect } from './SelectProps.codegen';
46
+ export type { SpinnerProps, TSpinner } from './SpinnerProps.codegen';
47
+ export type { StackProps, TStack } from './StackProps.codegen';
48
+ export type { TabListProps, TTabList } from './TabListProps.codegen';
49
+ export type { TabPanelProps, TTabPanel } from './TabPanelProps.codegen';
50
+ export type { TabProps, TTab } from './TabProps.codegen';
51
+ export type { TabsProps, TTabs } from './TabsProps.codegen';
52
+ export type { TagGroupProps, TTagGroup } from './TagGroupProps.codegen';
53
+ export type { SimpleTagProps as TagProps, TSimpleTag as TTag } from './TagProps.codegen';
54
+ export type { TextAreaProps, TTextArea } from './TextAreaProps.codegen';
55
+ export type { TextfieldProps, TTextfield } from './TextfieldProps.codegen';
56
+ export type { TimePickerProps, TTimePicker } from './TimePickerProps.codegen';
57
+ export type { ToggleProps, TToggle } from './ToggleProps.codegen';
58
+ export type { TooltipProps, TTooltip } from './TooltipProps.codegen';
59
+ export type { ValidMessageProps, TValidMessage } from './ValidMessageProps.codegen';
60
+ export type { PopupProps, TPopup } from './PopupProps.codegen';
61
61
  export type { AdfRendererProps, TAdfRenderer } from './AdfRendererProps.codegen';
62
62
  import type { TextProps as OriginalTextProps } from './TextProps.codegen';
63
63
  export type TextProps = Omit<OriginalTextProps, 'as'> & {
64
64
  as?: OriginalTextProps['as'] | 'strike';
65
65
  };
66
+ /**
67
+ * A typography component used to display body text.
68
+ * It can also include inline components such as
69
+ * [Badge](https://developer.atlassian.com/platform/forge/ui-kit/components/badge/) and
70
+ * [Lozenge](https://developer.atlassian.com/platform/forge/ui-kit/components/lozenge/).
71
+ */
72
+ export type TText<T> = (props: TextProps) => T;
@@ -1,3 +1,3 @@
1
- export type { AdfRendererProps, BadgeProps, BleedProps, BoxProps, ButtonGroupProps, ButtonProps, CalendarProps, CheckboxProps, CheckboxGroupProps, CodeBlockProps, CodeProps, DatePickerProps, DynamicTableProps, EmptyStateProps, ErrorMessageProps, FlexProps, FormFooterProps, FormHeaderProps, FormProps, FormSectionProps, GridProps, HeadingProps, HelperMessageProps, IconProps, InlineProps, LabelProps, LinkButtonProps, ListProps, ListItemProps, LoadingButtonProps, LozengeProps, ModalBodyProps, ModalFooterProps, ModalHeaderProps, ModalProps, ModalTitleProps, ModalTransitionProps, ProgressBarProps, ProgressTrackerProps, RadioGroupProps, RadioProps, RangeProps, SectionMessageActionProps, SectionMessageProps, SelectProps, SpinnerProps, StackProps, TabListProps, TabPanelProps, TabProps, TabsProps, TagGroupProps, TagProps, TextProps, TextAreaProps, TextfieldProps, ToggleProps, TooltipProps, TimePickerProps, ValidMessageProps, PopupProps, InlineEditProps, TBadge, TBox, TAdfRenderer, } from './components/__generated__';
1
+ export type { AdfRendererProps, BadgeProps, BleedProps, BoxProps, ButtonGroupProps, ButtonProps, CalendarProps, CheckboxProps, CheckboxGroupProps, CodeBlockProps, CodeProps, DatePickerProps, DynamicTableProps, EmptyStateProps, ErrorMessageProps, FlexProps, FormFooterProps, FormHeaderProps, FormProps, FormSectionProps, GridProps, HeadingProps, HelperMessageProps, IconProps, InlineProps, LabelProps, LinkButtonProps, ListProps, ListItemProps, LoadingButtonProps, LozengeProps, ModalBodyProps, ModalFooterProps, ModalHeaderProps, ModalProps, ModalTitleProps, ModalTransitionProps, ProgressBarProps, ProgressTrackerProps, RadioGroupProps, RadioProps, RangeProps, SectionMessageActionProps, SectionMessageProps, SelectProps, SpinnerProps, StackProps, TabListProps, TabPanelProps, TabProps, TabsProps, TagGroupProps, TagProps, TextProps, TextAreaProps, TextfieldProps, ToggleProps, TooltipProps, TimePickerProps, ValidMessageProps, PopupProps, InlineEditProps, TBadge, TBleed, TBox, TButtonGroup, TButton, TCalendar, TCheckbox, TCheckboxGroup, TCodeBlock, TCode, TDatePicker, TDynamicTable, TEmptyState, TErrorMessage, TFlex, TFormFooter, TFormHeader, TForm, TFormSection, TGrid, THeading, THelperMessage, TIcon, TInline, TInlineEdit, TLabel, TLinkButton, TList, TListItem, TLoadingButton, TLozenge, TModalBody, TModalFooter, TModalHeader, TModal, TModalTitle, TModalTransition, TProgressBar, TProgressTracker, TRadioGroup, TRadio, TRange, TSectionMessageAction, TSectionMessage, TSelect, TSpinner, TStack, TTabList, TTabPanel, TTab, TTabs, TTagGroup, TTag, TTextArea, TTextfield, TTimePicker, TToggle, TTooltip, TValidMessage, TPopup, TAdfRenderer, TText, } from './components/__generated__';
2
2
  export type { BarChartProps, StackBarChartProps, HorizontalStackBarChartProps, HorizontalBarChartProps, LineChartProps, SingleValueChartProps, PieChartProps, } from './components/charts';
3
3
  export type { ChartColorTokens } from './types';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/forge-react-types",
3
- "version": "0.37.7",
3
+ "version": "0.37.8",
4
4
  "description": "Component types for Forge UI Kit React components",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -29,7 +29,7 @@
29
29
  "@atlaskit/calendar": "^17.1.0",
30
30
  "@atlaskit/checkbox": "^17.0.0",
31
31
  "@atlaskit/code": "^16.0.0",
32
- "@atlaskit/datetime-picker": "^16.0.0",
32
+ "@atlaskit/datetime-picker": "^16.1.0",
33
33
  "@atlaskit/dynamic-table": "^18.0.0",
34
34
  "@atlaskit/empty-state": "^9.0.0",
35
35
  "@atlaskit/form": "^12.0.0",
@@ -3,9 +3,9 @@
3
3
  *
4
4
  * Extract component prop types from UIKit 2 components - ButtonGroupProps
5
5
  *
6
- * @codegen <<SignedSource::4daf3a960cc3108bbbc8ad0ede3b7011>>
6
+ * @codegen <<SignedSource::cfcaf362cef2884ded73338c52c8f437>>
7
7
  * @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
8
- * @codegenDependency ../../../../forge-ui/src/components/UIKit/button/__generated__/button-group.partial.tsx <<SignedSource::728cab6df690811513a66ea4bacb89c9>>
8
+ * @codegenDependency ../../../../forge-ui/src/components/UIKit/button/__generated__/button-group.partial.tsx <<SignedSource::83622155981d05f77224a32bab4969b5>>
9
9
  */
10
10
  /* eslint @repo/internal/codegen/signed-source-integrity: "warn" */
11
11
 
@@ -18,6 +18,6 @@ export type ButtonGroupProps = Pick<
18
18
  > & { appearance?: ButtonProps['appearance'] };
19
19
 
20
20
  /**
21
- * A button triggers an event or action. They let users know what will happen next.
21
+ * A button group gives users access to frequently performed, related actions.
22
22
  */
23
23
  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::333890773f42cacce17cee560686b34c>>
6
+ * @codegen <<SignedSource::77d1847e88419084fc81129d7637b40b>>
7
7
  * @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
8
- * @codegenDependency ../../../../forge-ui/src/components/UIKit/button/__generated__/index.partial.tsx <<SignedSource::c3a07cf50f9f4f166b94a72b4c2d5784>>
8
+ * @codegenDependency ../../../../forge-ui/src/components/UIKit/button/__generated__/index.partial.tsx <<SignedSource::f9a16b36e0a307a53ee30a009373ab49>>
9
9
  */
10
10
  /* eslint @repo/internal/codegen/signed-source-integrity: "warn" */
11
11
 
@@ -391,4 +391,7 @@ export type ButtonProps = Pick<
391
391
  spacing?: PlatformButtonProps['spacing'] | 'none';
392
392
  };
393
393
 
394
+ /**
395
+ * A button triggers an event or action. They let users know what will happen next.
396
+ */
394
397
  export type TButton<T> = (props: ButtonProps) => T;
@@ -3,17 +3,40 @@
3
3
  *
4
4
  * Extract component prop types from UIKit 2 components - CheckboxGroupProps
5
5
  *
6
- * @codegen <<SignedSource::293ea13e93c4a78fe93d7192e0bdaddb>>
6
+ * @codegen <<SignedSource::89e98a25ac16f92b5d18b061bb6fce57>>
7
7
  * @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
8
- * @codegenDependency ../../../../forge-ui/src/components/UIKit/checkboxgroup/index.tsx <<SignedSource::e4f95cf79182924e927523227eebf6fc>>
8
+ * @codegenDependency ../../../../forge-ui/src/components/UIKit/checkboxgroup/index.tsx <<SignedSource::4db9e0c029805d1c1fd28b923f3dbae3>>
9
9
  */
10
10
  /* eslint @repo/internal/codegen/signed-source-integrity: "warn" */
11
11
 
12
12
  export interface CheckboxGroupProps {
13
+ /**
14
+ * Sets the name prop on each of the Checkbox elements in the group.
15
+ */
13
16
  name: string;
17
+ /**
18
+ * An array of objects, each object is mapped onto a Checkbox element within the group.
19
+ */
14
20
  options: { label: string; value: string; isDisabled?: boolean }[];
21
+ /**
22
+ * Once set, controls the selected value on the `CheckboxGroup`.
23
+ */
15
24
  value?: string[];
25
+ /*
26
+ * Function that gets fired after each change event.
27
+ */
16
28
  onChange?: (values: string[]) => void;
29
+ /**
30
+ * Sets the initial selected value on the `CheckboxGroup`.
31
+ */
17
32
  defaultValue?: string[];
33
+ /**
34
+ * Sets the disabled state of all Checkbox elements in the group.
35
+ */
18
36
  isDisabled?: boolean;
19
- }
37
+ }
38
+
39
+ /**
40
+ * A Checkbox group is a list of options where one or more choices can be selected.
41
+ */
42
+ export type TCheckboxGroup<T> = (props: CheckboxGroupProps) => T;
@@ -3,9 +3,9 @@
3
3
  *
4
4
  * Extract component prop types from UIKit 2 components - DatePickerProps
5
5
  *
6
- * @codegen <<SignedSource::14d82d10ae64e4333440817918f6e955>>
6
+ * @codegen <<SignedSource::a4fe0c77ab65e00b2bc8ebeadd33e2e3>>
7
7
  * @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
8
- * @codegenDependency ../../../../forge-ui/src/components/UIKit/datepicker/__generated__/index.partial.tsx <<SignedSource::6bc5d63c14b9dda11b370e386ccf4955>>
8
+ * @codegenDependency ../../../../forge-ui/src/components/UIKit/datepicker/__generated__/index.partial.tsx <<SignedSource::5dcbe693f00f3a2725b9e64932a3309c>>
9
9
  */
10
10
  /* eslint @repo/internal/codegen/signed-source-integrity: "warn" */
11
11
 
@@ -54,6 +54,6 @@ export type DatePickerProps = {
54
54
  } & Partial<Omit<FieldProps, 'onChange'>>;
55
55
 
56
56
  /**
57
- * A date time picker allows the user to select an associated date and time.
57
+ * A date picker allows the user to select a particular date.
58
58
  */
59
59
  export type TDatePicker<T> = (props: DatePickerProps) => T;
@@ -3,9 +3,9 @@
3
3
  *
4
4
  * Extract component prop types from UIKit 2 components - ErrorMessageProps
5
5
  *
6
- * @codegen <<SignedSource::3d3da7aa33a6ac0adb1524f89ee28208>>
6
+ * @codegen <<SignedSource::059ea63aef7f094365447bb300fed9f6>>
7
7
  * @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
8
- * @codegenDependency ../../../../forge-ui/src/components/UIKit/form/__generated__/error-message.partial.tsx <<SignedSource::9e1a8d256d8d999a689140fbcda430fa>>
8
+ * @codegenDependency ../../../../forge-ui/src/components/UIKit/form/__generated__/error-message.partial.tsx <<SignedSource::3758488a0115c629a624fcaae1f524c7>>
9
9
  */
10
10
  /* eslint @repo/internal/codegen/signed-source-integrity: "warn" */
11
11
 
@@ -20,6 +20,7 @@ export type ErrorMessageProps = Pick<
20
20
  >;
21
21
 
22
22
  /**
23
- * A form allows users to input information.
23
+ * An error message is used to tell a user that the field input is invalid.
24
+ * For example, an error message could be "Invalid username, needs to be more than 4 characters".
24
25
  */
25
26
  export type TErrorMessage<T> = (props: ErrorMessageProps) => T;
@@ -3,16 +3,22 @@
3
3
  *
4
4
  * Extract component prop types from UIKit 2 components - FormFooterProps
5
5
  *
6
- * @codegen <<SignedSource::cb77ae443b27f1229afcd556eb365acf>>
6
+ * @codegen <<SignedSource::e6d74700f46888d63a013f997339596b>>
7
7
  * @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
8
- * @codegenDependency ../../../../forge-ui/src/components/UIKit/form/__generated__/form-footer.partial.tsx <<SignedSource::ff2413efe154db0f89a03200caf50ced>>
8
+ * @codegenDependency ../../../../forge-ui/src/components/UIKit/form/__generated__/form-footer.partial.tsx <<SignedSource::0b729df36afbc86cc134984bb4c16b3e>>
9
9
  */
10
10
  /* eslint @repo/internal/codegen/signed-source-integrity: "warn" */
11
11
 
12
12
  import React from 'react';
13
13
  import { FormFooter as PlatformFormFooter } from '@atlaskit/form';
14
14
 
15
- type PlatformFormFooterProps = React.ComponentProps<typeof PlatformFormFooter>;
15
+ type _PlatformFormFooterProps = React.ComponentProps<typeof PlatformFormFooter>;
16
+ export type PlatformFormFooterProps = Omit<_PlatformFormFooterProps, 'align'> & {
17
+ /**
18
+ * Sets the alignment of the footer contents. This is often a button. Defaults to `end`.
19
+ */
20
+ align?: _PlatformFormFooterProps['align'];
21
+ }
16
22
 
17
23
  export type FormFooterProps = Pick<
18
24
  PlatformFormFooterProps,
@@ -20,6 +26,8 @@ export type FormFooterProps = Pick<
20
26
  >;
21
27
 
22
28
  /**
23
- * A form allows users to input information.
29
+ * Use a form footer to set the content at the end of the form. This is used for a button that submits the form.
30
+ *
31
+ * This is positioned after the last field in the form.
24
32
  */
25
33
  export type TFormFooter<T> = (props: FormFooterProps) => T;
@@ -3,9 +3,9 @@
3
3
  *
4
4
  * Extract component prop types from UIKit 2 components - FormHeaderProps
5
5
  *
6
- * @codegen <<SignedSource::74a8285c7ae5a0c5db7b8cafa4d8226b>>
6
+ * @codegen <<SignedSource::7ef542fd2e0804c707145ab13db81db1>>
7
7
  * @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
8
- * @codegenDependency ../../../../forge-ui/src/components/UIKit/form/__generated__/form-header.partial.tsx <<SignedSource::038ad7a850af23fb1c9b30de39ab0552>>
8
+ * @codegenDependency ../../../../forge-ui/src/components/UIKit/form/__generated__/form-header.partial.tsx <<SignedSource::8791c333c19a64caa8dd6b7461a53082>>
9
9
  */
10
10
  /* eslint @repo/internal/codegen/signed-source-integrity: "warn" */
11
11
 
@@ -20,6 +20,8 @@ export type FormHeaderProps = Pick<
20
20
  >;
21
21
 
22
22
  /**
23
- * A form allows users to input information.
23
+ * Use a form header to describe the contents of the form. This is the title and description of the form.
24
+ * If your form contains required fields, the form header is also where you should include a legend
25
+ * for sighted users to know that * indicates a required field.
24
26
  */
25
27
  export type TFormHeader<T> = (props: FormHeaderProps) => T;
@@ -3,17 +3,29 @@
3
3
  *
4
4
  * Extract component prop types from UIKit 2 components - FormProps
5
5
  *
6
- * @codegen <<SignedSource::7b259a0bfc883f09eb65cdccee169a6a>>
6
+ * @codegen <<SignedSource::6ac049125d8d8c2436805c5e3a845802>>
7
7
  * @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
8
- * @codegenDependency ../../../../forge-ui/src/components/UIKit/form/index.tsx <<SignedSource::0e0a2f1184da9df422fb61ff7d906158>>
8
+ * @codegenDependency ../../../../forge-ui/src/components/UIKit/form/index.tsx <<SignedSource::b6dd991b4a5e73adbac9321d53cd909e>>
9
9
  */
10
10
  /* eslint @repo/internal/codegen/signed-source-integrity: "warn" */
11
11
 
12
12
  import type { ReactNode } from 'react';
13
13
 
14
14
  export type FormProps = {
15
+ /**
16
+ * Event handler called when the form is submitted. Fields must be free of validation errors.
17
+ *
18
+ * All modules except for `jiraServiceManagement:assetsImportType` must use `() => Promise<void>|void`.
19
+ *
20
+ * For the `jiraServiceManagement:assetsImportType` module, the `onSubmit` event handler returns
21
+ * a `boolean` value indicating if the form is valid (`true`) or invalid (`false`).
22
+ * If you use `() => Promise<void>|void` for this module, it will default to true.
23
+ */
15
24
  onSubmit: () => Promise<void | boolean> | void;
16
25
  children: ReactNode;
17
26
  };
18
27
 
28
+ /**
29
+ * A form allows users to input information.
30
+ */
19
31
  export type TForm<T> = (props: FormProps) => T;
@@ -3,9 +3,9 @@
3
3
  *
4
4
  * Extract component prop types from UIKit 2 components - FormSectionProps
5
5
  *
6
- * @codegen <<SignedSource::bb91841c1913229e7eb66d61b4ab693d>>
6
+ * @codegen <<SignedSource::2d079615b76393e9241b054b75fde5f3>>
7
7
  * @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
8
- * @codegenDependency ../../../../forge-ui/src/components/UIKit/form/__generated__/form-section.partial.tsx <<SignedSource::7b30101c26550bb11c0f4ca6d4cf46fc>>
8
+ * @codegenDependency ../../../../forge-ui/src/components/UIKit/form/__generated__/form-section.partial.tsx <<SignedSource::0dd9401d75f62dec7336bdea43302961>>
9
9
  */
10
10
  /* eslint @repo/internal/codegen/signed-source-integrity: "warn" */
11
11
 
@@ -20,6 +20,7 @@ export type FormSectionProps = Pick<
20
20
  >;
21
21
 
22
22
  /**
23
- * A form allows users to input information.
23
+ * Use a form section to group related information together, so that longer forms are easier to understand.
24
+ * There can be multiple form sections in one form.
24
25
  */
25
26
  export type TFormSection<T> = (props: FormSectionProps) => T;
@@ -3,9 +3,9 @@
3
3
  *
4
4
  * Extract component prop types from UIKit 2 components - HelperMessageProps
5
5
  *
6
- * @codegen <<SignedSource::85d8a9188648ed81c09769eedb4935e6>>
6
+ * @codegen <<SignedSource::0da9514581e07c67f8f9a8ba0d9774b9>>
7
7
  * @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
8
- * @codegenDependency ../../../../forge-ui/src/components/UIKit/form/__generated__/helper-message.partial.tsx <<SignedSource::f093808bbd8bf8738059aee750524013>>
8
+ * @codegenDependency ../../../../forge-ui/src/components/UIKit/form/__generated__/helper-message.partial.tsx <<SignedSource::03fa772bfaf53905106f1cafbb428104>>
9
9
  */
10
10
  /* eslint @repo/internal/codegen/signed-source-integrity: "warn" */
11
11
 
@@ -20,6 +20,7 @@ export type HelperMessageProps = Pick<
20
20
  >;
21
21
 
22
22
  /**
23
- * A form allows users to input information.
23
+ * A helper message tells the user what kind of input the field takes.
24
+ * For example, a helper message could be "Password should be more than 4 characters".
24
25
  */
25
26
  export type THelperMessage<T> = (props: HelperMessageProps) => T;
@@ -3,9 +3,9 @@
3
3
  *
4
4
  * Extract component prop types from UIKit 2 components - IconProps
5
5
  *
6
- * @codegen <<SignedSource::b20b7ee253d00fb37c349ea914f0f796>>
6
+ * @codegen <<SignedSource::b24cc22d6f60b86f1646a75a0bafc7cd>>
7
7
  * @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
8
- * @codegenDependency ../../../../forge-ui/src/components/UIKit/icon/index.tsx <<SignedSource::e8d3a49d7c0faccdf54a1e1ef3ec8d5b>>
8
+ * @codegenDependency ../../../../forge-ui/src/components/UIKit/icon/index.tsx <<SignedSource::54a87ae131386a26a52d09234f67aa98>>
9
9
  */
10
10
  /* eslint @repo/internal/codegen/signed-source-integrity: "warn" */
11
11
 
@@ -375,11 +375,31 @@ type Glyph = Icon;
375
375
  export type IconColor = Extract<ActiveTokens, `color.icon.${string}`> | 'color.icon';
376
376
 
377
377
  export interface IconProps {
378
+ /**
379
+ * There are three icon sizes – `small` (16px), `medium` (24px), `large` (32px), and `xlarge` (48px).
380
+ * This pixel size refers to the canvas the icon sits on, not the size of the icon shape itself.
381
+ */
378
382
  size?: 'small' | 'medium' | 'large';
383
+ /**
384
+ * Text used to describe what the icon is in context. A label is needed when there is no pairing visible text next to the icon.
385
+ * An empty string marks the icon as presentation only.
386
+ */
379
387
  label: string;
388
+ /**
389
+ * Name of the icon to be rendered.
390
+ */
380
391
  glyph: Glyph;
392
+ /**
393
+ * Primary color for the icon. Inherits the current font color by default.
394
+ */
381
395
  primaryColor?: IconColor;
396
+ /**
397
+ * Secondary color for the icon. Defaults to the page background for an icon that supports two colors.
398
+ */
382
399
  secondaryColor?: IconColor;
383
400
  }
384
401
 
402
+ /**
403
+ * An icon is a visual representation of a command, device, directory, or common action.
404
+ */
385
405
  export type TIcon<T> = (props: IconProps) => T;
@@ -3,9 +3,9 @@
3
3
  *
4
4
  * Extract component prop types from UIKit 2 components - InlineEditProps
5
5
  *
6
- * @codegen <<SignedSource::a9f12cdb3310eb05479934fb78d94123>>
6
+ * @codegen <<SignedSource::450b0aa0943b6519e89ee7c91f4124ad>>
7
7
  * @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
8
- * @codegenDependency ../../../../forge-ui/src/components/UIKit/inline-edit/index.tsx <<SignedSource::9f519f258e72d24157290a0844371df9>>
8
+ * @codegenDependency ../../../../forge-ui/src/components/UIKit/inline-edit/index.tsx <<SignedSource::23f59ce10b527efc04d36919c24aa2b0>>
9
9
  */
10
10
  /* eslint @repo/internal/codegen/signed-source-integrity: "warn" */
11
11
 
@@ -28,4 +28,9 @@ export type InlineEditProps<V = string> = Omit<
28
28
  // ADS has an additional analyticsEvent arg that is not optional. We don't use this in UI Kit and it can't be removed due to breaking changes in products
29
29
  onConfirm: (value: V) => void;
30
30
  editView: (fieldProps: EditViewFieldProps<V>) => React.ReactNode;
31
- };
31
+ };
32
+
33
+ /**
34
+ * An inline edit displays a custom input component that switches between reading and editing on the same page.
35
+ */
36
+ export type TInlineEdit<T> = (props: InlineEditProps) => T;
@@ -3,9 +3,9 @@
3
3
  *
4
4
  * Extract component prop types from UIKit 2 components - InlineProps
5
5
  *
6
- * @codegen <<SignedSource::f154fd7caa18fc53a1369bb9f496909c>>
6
+ * @codegen <<SignedSource::7e0e8c23de8b2392bf101ad017431b86>>
7
7
  * @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
8
- * @codegenDependency ../../../../forge-ui/src/components/UIKit/inline/__generated__/index.partial.tsx <<SignedSource::6f1af1d5438263ed1f6833c78c741ed9>>
8
+ * @codegenDependency ../../../../forge-ui/src/components/UIKit/inline/__generated__/index.partial.tsx <<SignedSource::8123157b2afe19d52b47110fb754d43b>>
9
9
  */
10
10
  /* eslint @repo/internal/codegen/signed-source-integrity: "warn" */
11
11
 
@@ -20,6 +20,6 @@ export type InlineProps = Pick<
20
20
  >;
21
21
 
22
22
  /**
23
- * Primitives are token-backed low-level building blocks.
23
+ * An inline manages the horizontal layout of direct children using flexbox.
24
24
  */
25
25
  export type TInline<T> = (props: InlineProps) => T;
@@ -3,9 +3,9 @@
3
3
  *
4
4
  * Extract component prop types from UIKit 2 components - LabelProps
5
5
  *
6
- * @codegen <<SignedSource::0a894a2ad4f4410a2c67f12f0287dbcd>>
6
+ * @codegen <<SignedSource::f12ab4339e5503f7db96ce306da7f685>>
7
7
  * @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
8
- * @codegenDependency ../../../../forge-ui/src/components/UIKit/form/__generated__/label.partial.tsx <<SignedSource::60bad4561265206e7c10d92a99fce9f4>>
8
+ * @codegenDependency ../../../../forge-ui/src/components/UIKit/form/__generated__/label.partial.tsx <<SignedSource::55ecafcd1d98afb9b7f6f37d5168725c>>
9
9
  */
10
10
  /* eslint @repo/internal/codegen/signed-source-integrity: "warn" */
11
11
 
@@ -16,6 +16,6 @@ export type LabelProps = Pick<PlatformLabelProps, 'children' | 'testId' | 'id'>
16
16
  };
17
17
 
18
18
  /**
19
- * A form allows users to input information.
19
+ * A label represents a caption for an item in a user interface.
20
20
  */
21
21
  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::ac79b85bde2efadf2186ea5acd6d267e>>
6
+ * @codegen <<SignedSource::7c841825fdf02347d10084f2cd032f66>>
7
7
  * @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
8
- * @codegenDependency ../../../../forge-ui/src/components/UIKit/button/__generated__/link-button.partial.tsx <<SignedSource::4f0e6eb251c01a13ba006b3d7569820d>>
8
+ * @codegenDependency ../../../../forge-ui/src/components/UIKit/button/__generated__/link-button.partial.tsx <<SignedSource::e74ee4aaf752a6e85a57950dce7a3683>>
9
9
  */
10
10
  /* eslint @repo/internal/codegen/signed-source-integrity: "warn" */
11
11
 
@@ -31,4 +31,7 @@ export type LinkButtonProps = Pick<
31
31
  spacing?: PlatformLinkButtonProps['spacing'] | 'none';
32
32
  };
33
33
 
34
+ /**
35
+ * Renders a link in the style of a button.
36
+ */
34
37
  export type TLinkButton<T> = (props: LinkButtonProps) => T;
@@ -3,9 +3,9 @@
3
3
  *
4
4
  * Extract component prop types from UIKit 2 components - ListItemProps
5
5
  *
6
- * @codegen <<SignedSource::5b0a462f70b0acd50425ef1c98dc4acd>>
6
+ * @codegen <<SignedSource::498ef4606a16b666a2b159d16dc69460>>
7
7
  * @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
8
- * @codegenDependency ../../../../forge-ui/src/components/UIKit/list/listitem.tsx <<SignedSource::979a16db9afd0d737ded8388e6563c2f>>
8
+ * @codegenDependency ../../../../forge-ui/src/components/UIKit/list/listitem.tsx <<SignedSource::73cdf1aa500fb4ffb5cbe4ecd40276a9>>
9
9
  */
10
10
  /* eslint @repo/internal/codegen/signed-source-integrity: "warn" */
11
11
 
@@ -13,4 +13,6 @@ import React from 'react';
13
13
 
14
14
  export interface ListItemProps {
15
15
  children: React.ReactNode;
16
- }
16
+ }
17
+
18
+ export type TListItem<T> = (props: ListItemProps) => T;