@atlaskit/forge-react-types 0.42.22 → 0.43.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/dist/cjs/components/__generated__/BoxProps.codegen.js +1 -1
- package/dist/cjs/components/__generated__/PressableProps.codegen.js +2 -2
- package/dist/cjs/components/__generated__/types.codegen.js +1 -5
- package/dist/cjs/components/editor/index.js +5 -0
- package/dist/cjs/components/editor/types.js +5 -0
- package/dist/es2019/components/__generated__/BoxProps.codegen.js +1 -1
- package/dist/es2019/components/__generated__/PressableProps.codegen.js +2 -2
- package/dist/es2019/components/__generated__/types.codegen.js +0 -1
- package/dist/esm/components/__generated__/BoxProps.codegen.js +1 -1
- package/dist/esm/components/__generated__/PressableProps.codegen.js +2 -2
- package/dist/esm/components/__generated__/types.codegen.js +0 -1
- package/dist/esm/components/editor/ChromelessEditorProps.js +1 -0
- package/dist/esm/components/editor/CommentEditorProps.js +1 -0
- package/dist/esm/components/editor/index.js +1 -0
- package/dist/esm/components/editor/types.js +1 -0
- package/dist/types/components/__generated__/AdfRendererProps.codegen.d.ts +3 -3
- package/dist/types/components/__generated__/BoxProps.codegen.d.ts +2 -2
- package/dist/types/components/__generated__/ButtonProps.codegen.d.ts +3 -3
- package/dist/types/components/__generated__/CheckboxGroupProps.codegen.d.ts +12 -12
- package/dist/types/components/__generated__/DatePickerProps.codegen.d.ts +6 -6
- package/dist/types/components/__generated__/FormFooterProps.codegen.d.ts +2 -2
- package/dist/types/components/__generated__/FormProps.codegen.d.ts +3 -3
- package/dist/types/components/__generated__/InlineEditProps.codegen.d.ts +6 -6
- package/dist/types/components/__generated__/LinkButtonProps.codegen.d.ts +4 -4
- package/dist/types/components/__generated__/ListProps.codegen.d.ts +6 -6
- package/dist/types/components/__generated__/LoadingButtonProps.codegen.d.ts +2 -2
- package/dist/types/components/__generated__/PopupProps.codegen.d.ts +2 -2
- package/dist/types/components/__generated__/PressableProps.codegen.d.ts +2 -2
- package/dist/types/components/__generated__/SectionMessageProps.codegen.d.ts +2 -2
- package/dist/types/components/__generated__/TextProps.codegen.d.ts +2 -2
- package/dist/types/components/__generated__/TimePickerProps.codegen.d.ts +6 -6
- package/dist/types/components/__generated__/index.d.ts +0 -2
- package/dist/types/components/__generated__/types.codegen.d.ts +2 -56
- package/dist/types/components/editor/ChromelessEditorProps.d.ts +8 -0
- package/dist/types/components/{__generated__/CommentEditorProps.codegen.d.ts → editor/CommentEditorProps.d.ts} +1 -10
- package/dist/types/components/editor/index.d.ts +2 -0
- package/dist/types/components/editor/types.d.ts +54 -0
- package/dist/types/index.d.ts +2 -1
- package/dist/types-ts4.5/components/__generated__/AdfRendererProps.codegen.d.ts +3 -3
- package/dist/types-ts4.5/components/__generated__/BoxProps.codegen.d.ts +2 -2
- package/dist/types-ts4.5/components/__generated__/ButtonProps.codegen.d.ts +3 -3
- package/dist/types-ts4.5/components/__generated__/CheckboxGroupProps.codegen.d.ts +12 -12
- package/dist/types-ts4.5/components/__generated__/DatePickerProps.codegen.d.ts +6 -6
- package/dist/types-ts4.5/components/__generated__/FormFooterProps.codegen.d.ts +2 -2
- package/dist/types-ts4.5/components/__generated__/FormProps.codegen.d.ts +3 -3
- package/dist/types-ts4.5/components/__generated__/InlineEditProps.codegen.d.ts +6 -6
- package/dist/types-ts4.5/components/__generated__/LinkButtonProps.codegen.d.ts +4 -4
- package/dist/types-ts4.5/components/__generated__/ListProps.codegen.d.ts +6 -6
- package/dist/types-ts4.5/components/__generated__/LoadingButtonProps.codegen.d.ts +2 -2
- package/dist/types-ts4.5/components/__generated__/PopupProps.codegen.d.ts +2 -2
- package/dist/types-ts4.5/components/__generated__/PressableProps.codegen.d.ts +2 -2
- package/dist/types-ts4.5/components/__generated__/SectionMessageProps.codegen.d.ts +2 -2
- package/dist/types-ts4.5/components/__generated__/TextProps.codegen.d.ts +2 -2
- package/dist/types-ts4.5/components/__generated__/TimePickerProps.codegen.d.ts +6 -6
- package/dist/types-ts4.5/components/__generated__/index.d.ts +0 -2
- package/dist/types-ts4.5/components/__generated__/types.codegen.d.ts +2 -56
- package/dist/types-ts4.5/components/editor/ChromelessEditorProps.d.ts +8 -0
- package/dist/types-ts4.5/components/{__generated__/CommentEditorProps.codegen.d.ts → editor/CommentEditorProps.d.ts} +1 -10
- package/dist/types-ts4.5/components/editor/index.d.ts +2 -0
- package/dist/types-ts4.5/components/editor/types.d.ts +54 -0
- package/dist/types-ts4.5/index.d.ts +2 -1
- package/package.json +12 -12
- package/src/components/__generated__/AdfRendererProps.codegen.tsx +5 -5
- package/src/components/__generated__/BoxProps.codegen.tsx +2 -2
- package/src/components/__generated__/ButtonProps.codegen.tsx +6 -2
- package/src/components/__generated__/CheckboxGroupProps.codegen.tsx +12 -12
- package/src/components/__generated__/DatePickerProps.codegen.tsx +6 -6
- package/src/components/__generated__/FormFooterProps.codegen.tsx +2 -2
- package/src/components/__generated__/FormProps.codegen.tsx +3 -3
- package/src/components/__generated__/InlineEditProps.codegen.tsx +6 -6
- package/src/components/__generated__/LinkButtonProps.codegen.tsx +4 -4
- package/src/components/__generated__/ListProps.codegen.tsx +6 -6
- package/src/components/__generated__/LoadingButtonProps.codegen.tsx +2 -2
- package/src/components/__generated__/PopupProps.codegen.tsx +2 -2
- package/src/components/__generated__/PressableProps.codegen.tsx +59 -59
- package/src/components/__generated__/SectionMessageProps.codegen.tsx +4 -4
- package/src/components/__generated__/TextProps.codegen.tsx +2 -2
- package/src/components/__generated__/TimePickerProps.codegen.tsx +6 -6
- package/src/components/__generated__/index.ts +0 -2
- package/src/components/__generated__/types.codegen.ts +2 -62
- package/src/components/editor/ChromelessEditorProps.tsx +10 -0
- package/src/components/{__generated__/CommentEditorProps.codegen.tsx → editor/CommentEditorProps.tsx} +2 -13
- package/src/components/editor/index.ts +2 -0
- package/src/components/editor/types.ts +59 -0
- package/src/index.ts +7 -4
- package/dist/types/components/__generated__/ChromelessEditorProps.codegen.d.ts +0 -17
- package/dist/types-ts4.5/components/__generated__/ChromelessEditorProps.codegen.d.ts +0 -17
- package/src/components/__generated__/ChromelessEditorProps.codegen.tsx +0 -21
- /package/dist/cjs/components/{__generated__/ChromelessEditorProps.codegen.js → editor/ChromelessEditorProps.js} +0 -0
- /package/dist/cjs/components/{__generated__/CommentEditorProps.codegen.js → editor/CommentEditorProps.js} +0 -0
- /package/dist/es2019/components/{__generated__/ChromelessEditorProps.codegen.js → editor/ChromelessEditorProps.js} +0 -0
- /package/dist/es2019/components/{__generated__/CommentEditorProps.codegen.js → editor/CommentEditorProps.js} +0 -0
- /package/dist/{esm/components/__generated__/ChromelessEditorProps.codegen.js → es2019/components/editor/index.js} +0 -0
- /package/dist/{esm/components/__generated__/CommentEditorProps.codegen.js → es2019/components/editor/types.js} +0 -0
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - TimePickerProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::8400073ffade72c2330b63473b461c81>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
8
|
* @codegenDependency ../../../../forge-ui/src/components/UIKit/timepicker/__generated__/index.partial.tsx <<SignedSource::8f1c6ab03a29e7279ed2d3e82b086ab0>>
|
|
9
9
|
*/
|
|
@@ -12,17 +12,17 @@
|
|
|
12
12
|
import type { DateTimePickerSelectProps } from '@atlaskit/datetime-picker';
|
|
13
13
|
|
|
14
14
|
export interface FieldProps {
|
|
15
|
+
'aria-invalid': 'true' | 'false';
|
|
16
|
+
'aria-labelledby': string;
|
|
15
17
|
id: string;
|
|
16
|
-
isRequired: boolean;
|
|
17
18
|
isDisabled: boolean;
|
|
18
19
|
isInvalid: boolean;
|
|
19
|
-
|
|
20
|
+
isRequired: boolean;
|
|
21
|
+
name: string;
|
|
20
22
|
onBlur: (event: unknown) => void;
|
|
23
|
+
onChange: (event: unknown) => void;
|
|
21
24
|
onFocus: (event: unknown) => void;
|
|
22
25
|
value: any;
|
|
23
|
-
'aria-invalid': 'true' | 'false';
|
|
24
|
-
'aria-labelledby': string;
|
|
25
|
-
name: string;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
type Appearance = 'default' | 'subtle' | 'none';
|
|
@@ -76,6 +76,4 @@ export type TextProps = Omit<OriginalTextProps, 'as'> & { as?: OriginalTextProps
|
|
|
76
76
|
*/
|
|
77
77
|
export type TText<T> = (props: TextProps) => T;
|
|
78
78
|
|
|
79
|
-
export type { CommentEditorProps, TCommentEditor } from './CommentEditorProps.codegen';
|
|
80
|
-
export type { ChromelessEditorProps, TChromelessEditor } from './ChromelessEditorProps.codegen';
|
|
81
79
|
export type { PressableProps, TPressable } from './PressableProps.codegen';
|
|
@@ -3,12 +3,10 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Shared types file for UI Kit components. Add shared types to `packages/forge/forge-ui/src/components/UIKit/types.ts` for it to be code generated here and imported correctly into prop type files
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::458f427c84c874b70d06e22fe3e05fd6>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/types.ts <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit/types.ts <<SignedSource::176a0f595b09d6501c2d9b64e6784672>>
|
|
9
9
|
*/
|
|
10
|
-
import type { JSONDocNode } from '@atlaskit/editor-json-transformer';
|
|
11
|
-
|
|
12
10
|
// ---- Types for Form components
|
|
13
11
|
export type SerialisableEvent = {
|
|
14
12
|
bubbles: boolean;
|
|
@@ -37,61 +35,3 @@ export type EventHandlerProps = {
|
|
|
37
35
|
onBlur?: (event: InputEvent) => void;
|
|
38
36
|
onFocus?: (event: InputEvent) => void;
|
|
39
37
|
};
|
|
40
|
-
|
|
41
|
-
// ----- Types for Editor component
|
|
42
|
-
export type Appearance = 'comment' | 'chromeless';
|
|
43
|
-
|
|
44
|
-
export type Features = {
|
|
45
|
-
/**
|
|
46
|
-
* Enables text to be different heading levels or in quote blocks.
|
|
47
|
-
*/
|
|
48
|
-
blockType?: boolean;
|
|
49
|
-
/**
|
|
50
|
-
* Enables stylistic formatting on text. This allows text to be set to bold, italic, underline, strikethrough code, subscript and superscript.
|
|
51
|
-
*/
|
|
52
|
-
textFormatting?: boolean;
|
|
53
|
-
/**
|
|
54
|
-
* Enables ordered and unordered lists.
|
|
55
|
-
*/
|
|
56
|
-
list?: boolean;
|
|
57
|
-
/**
|
|
58
|
-
* Enables toolbar items for link, codeblock and quote block.
|
|
59
|
-
*/
|
|
60
|
-
insertBlock?: boolean;
|
|
61
|
-
/**
|
|
62
|
-
* Enables color on text.
|
|
63
|
-
*/
|
|
64
|
-
textColor?: boolean;
|
|
65
|
-
/**
|
|
66
|
-
* Enables links to become hyperlink.
|
|
67
|
-
*/
|
|
68
|
-
hyperLink?: boolean;
|
|
69
|
-
/**
|
|
70
|
-
* Enables the quick insert menu. Type '/' to open the menu in the editor.
|
|
71
|
-
*/
|
|
72
|
-
quickInsert?: boolean;
|
|
73
|
-
/**
|
|
74
|
-
* Enables text to be placed in a code block.
|
|
75
|
-
*/
|
|
76
|
-
codeBlock?: boolean;
|
|
77
|
-
};
|
|
78
|
-
|
|
79
|
-
export type EditorProps = {
|
|
80
|
-
/**
|
|
81
|
-
* Handler called when the inputs value changes.
|
|
82
|
-
*/
|
|
83
|
-
onChange?: (value?: JSONDocNode) => void;
|
|
84
|
-
/**
|
|
85
|
-
* Set the default editor content.
|
|
86
|
-
*/
|
|
87
|
-
defaultValue?: JSONDocNode;
|
|
88
|
-
/**
|
|
89
|
-
* Set allowed features in the editor.
|
|
90
|
-
*/
|
|
91
|
-
features?: Features;
|
|
92
|
-
/**
|
|
93
|
-
* Set if the editor should be disabled
|
|
94
|
-
*/
|
|
95
|
-
isDisabled?: boolean;
|
|
96
|
-
};
|
|
97
|
-
// ------
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { EditorProps } from './types';
|
|
2
|
+
|
|
3
|
+
export type ChromelessEditorProps = EditorProps;
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* The chromeless editor provides the Editor without any of the standard UI features. It's ideal for cases where the integrator wants complete control and responsibility over the editor UI.
|
|
7
|
+
*
|
|
8
|
+
* @see [ChromelessEditor](https://developer.atlassian.com/platform/forge/ui-kit/components/chromeless-editor/) in UI Kit documentation for more information
|
|
9
|
+
*/
|
|
10
|
+
export type TChromelessEditor<T> = (props: ChromelessEditorProps) => T;
|
|
@@ -1,16 +1,5 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
*
|
|
4
|
-
* Extract component prop types from UIKit 2 components - CommentEditorProps
|
|
5
|
-
*
|
|
6
|
-
* @codegen <<SignedSource::7feb6d6879f66c9163e6e50b187fad98>>
|
|
7
|
-
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/editor/comment-editor/index.tsx <<SignedSource::64840977063c8586939cff78dea5b19a>>
|
|
9
|
-
*/
|
|
10
|
-
/* eslint @repo/internal/codegen/signed-source-integrity: "warn" */
|
|
11
|
-
|
|
12
1
|
import type { JSONDocNode } from '@atlaskit/editor-json-transformer';
|
|
13
|
-
import type { EditorProps } from './types
|
|
2
|
+
import type { EditorProps } from './types';
|
|
14
3
|
|
|
15
4
|
export type CommentEditorProps = EditorProps & {
|
|
16
5
|
/**
|
|
@@ -28,4 +17,4 @@ export type CommentEditorProps = EditorProps & {
|
|
|
28
17
|
*
|
|
29
18
|
* @see [CommentEditor](https://developer.atlassian.com/platform/forge/ui-kit/components/comment-editor/) in UI Kit documentation for more information
|
|
30
19
|
*/
|
|
31
|
-
export type TCommentEditor<T> = (props: CommentEditorProps) => T;
|
|
20
|
+
export type TCommentEditor<T> = (props: CommentEditorProps) => T;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
// COPIED FROM forge-ui-kit-editor/src/types.ts
|
|
2
|
+
|
|
3
|
+
import type { JSONDocNode } from '@atlaskit/editor-json-transformer';
|
|
4
|
+
|
|
5
|
+
export type Appearance = 'comment' | 'chromeless';
|
|
6
|
+
|
|
7
|
+
export type Features = {
|
|
8
|
+
/**
|
|
9
|
+
* Enables text to be different heading levels or in quote blocks.
|
|
10
|
+
*/
|
|
11
|
+
blockType?: boolean;
|
|
12
|
+
/**
|
|
13
|
+
* Enables text to be placed in a code block.
|
|
14
|
+
*/
|
|
15
|
+
codeBlock?: boolean;
|
|
16
|
+
/**
|
|
17
|
+
* Enables links to become hyperlink.
|
|
18
|
+
*/
|
|
19
|
+
hyperLink?: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* Enables toolbar items for link, codeblock and quote block.
|
|
22
|
+
*/
|
|
23
|
+
insertBlock?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* Enables ordered and unordered lists.
|
|
26
|
+
*/
|
|
27
|
+
list?: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* Enables the quick insert menu. Type '/' to open the menu in the editor.
|
|
30
|
+
*/
|
|
31
|
+
quickInsert?: boolean;
|
|
32
|
+
/**
|
|
33
|
+
* Enables color on text.
|
|
34
|
+
*/
|
|
35
|
+
textColor?: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* Enables stylistic formatting on text. This allows text to be set to bold, italic, underline, strikethrough code, subscript and superscript.
|
|
38
|
+
*/
|
|
39
|
+
textFormatting?: boolean;
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
export type EditorProps = {
|
|
43
|
+
/**
|
|
44
|
+
* Set the default editor content.
|
|
45
|
+
*/
|
|
46
|
+
defaultValue?: JSONDocNode;
|
|
47
|
+
/**
|
|
48
|
+
* Set allowed features in the editor.
|
|
49
|
+
*/
|
|
50
|
+
features?: Features;
|
|
51
|
+
/**
|
|
52
|
+
* Set if the editor should be disabled
|
|
53
|
+
*/
|
|
54
|
+
isDisabled?: boolean;
|
|
55
|
+
/**
|
|
56
|
+
* Handler called when the inputs value changes.
|
|
57
|
+
*/
|
|
58
|
+
onChange?: (value?: JSONDocNode) => void;
|
|
59
|
+
};
|
package/src/index.ts
CHANGED
|
@@ -61,8 +61,6 @@ export type {
|
|
|
61
61
|
ValidMessageProps,
|
|
62
62
|
PopupProps,
|
|
63
63
|
InlineEditProps,
|
|
64
|
-
ChromelessEditorProps,
|
|
65
|
-
CommentEditorProps,
|
|
66
64
|
PressableProps,
|
|
67
65
|
TBadge,
|
|
68
66
|
TBox,
|
|
@@ -126,8 +124,6 @@ export type {
|
|
|
126
124
|
TPopup,
|
|
127
125
|
TAdfRenderer,
|
|
128
126
|
TText,
|
|
129
|
-
TChromelessEditor,
|
|
130
|
-
TCommentEditor,
|
|
131
127
|
TPressable,
|
|
132
128
|
} from './components/__generated__';
|
|
133
129
|
|
|
@@ -148,4 +144,11 @@ export type {
|
|
|
148
144
|
TPieChart,
|
|
149
145
|
} from './components/charts';
|
|
150
146
|
|
|
147
|
+
export type {
|
|
148
|
+
ChromelessEditorProps,
|
|
149
|
+
CommentEditorProps,
|
|
150
|
+
TChromelessEditor,
|
|
151
|
+
TCommentEditor,
|
|
152
|
+
} from './components/editor';
|
|
153
|
+
|
|
151
154
|
export type { ChartColorTokens } from './types';
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
*
|
|
4
|
-
* Extract component prop types from UIKit 2 components - ChromelessEditorProps
|
|
5
|
-
*
|
|
6
|
-
* @codegen <<SignedSource::04d9931dadacdce6d3bc5506646d3402>>
|
|
7
|
-
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/editor/chromeless-editor/index.tsx <<SignedSource::acc04099c3230f374e4e22e03d443e0e>>
|
|
9
|
-
*/
|
|
10
|
-
import type { EditorProps } from './types.codegen';
|
|
11
|
-
export type ChromelessEditorProps = EditorProps;
|
|
12
|
-
/**
|
|
13
|
-
* The chromeless editor provides the Editor without any of the standard UI features. It's ideal for cases where the integrator wants complete control and responsibility over the editor UI.
|
|
14
|
-
*
|
|
15
|
-
* @see [ChromelessEditor](https://developer.atlassian.com/platform/forge/ui-kit/components/chromeless-editor/) in UI Kit documentation for more information
|
|
16
|
-
*/
|
|
17
|
-
export type TChromelessEditor<T> = (props: ChromelessEditorProps) => T;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
*
|
|
4
|
-
* Extract component prop types from UIKit 2 components - ChromelessEditorProps
|
|
5
|
-
*
|
|
6
|
-
* @codegen <<SignedSource::04d9931dadacdce6d3bc5506646d3402>>
|
|
7
|
-
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/editor/chromeless-editor/index.tsx <<SignedSource::acc04099c3230f374e4e22e03d443e0e>>
|
|
9
|
-
*/
|
|
10
|
-
import type { EditorProps } from './types.codegen';
|
|
11
|
-
export type ChromelessEditorProps = EditorProps;
|
|
12
|
-
/**
|
|
13
|
-
* The chromeless editor provides the Editor without any of the standard UI features. It's ideal for cases where the integrator wants complete control and responsibility over the editor UI.
|
|
14
|
-
*
|
|
15
|
-
* @see [ChromelessEditor](https://developer.atlassian.com/platform/forge/ui-kit/components/chromeless-editor/) in UI Kit documentation for more information
|
|
16
|
-
*/
|
|
17
|
-
export type TChromelessEditor<T> = (props: ChromelessEditorProps) => T;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
*
|
|
4
|
-
* Extract component prop types from UIKit 2 components - ChromelessEditorProps
|
|
5
|
-
*
|
|
6
|
-
* @codegen <<SignedSource::04d9931dadacdce6d3bc5506646d3402>>
|
|
7
|
-
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit/editor/chromeless-editor/index.tsx <<SignedSource::acc04099c3230f374e4e22e03d443e0e>>
|
|
9
|
-
*/
|
|
10
|
-
/* eslint @repo/internal/codegen/signed-source-integrity: "warn" */
|
|
11
|
-
|
|
12
|
-
import type { EditorProps } from './types.codegen';
|
|
13
|
-
|
|
14
|
-
export type ChromelessEditorProps = EditorProps;
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
* The chromeless editor provides the Editor without any of the standard UI features. It's ideal for cases where the integrator wants complete control and responsibility over the editor UI.
|
|
18
|
-
*
|
|
19
|
-
* @see [ChromelessEditor](https://developer.atlassian.com/platform/forge/ui-kit/components/chromeless-editor/) in UI Kit documentation for more information
|
|
20
|
-
*/
|
|
21
|
-
export type TChromelessEditor<T> = (props: ChromelessEditorProps) => T;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|