@atlaskit/forge-react-types 0.41.12 → 0.41.14
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 +15 -0
- package/dist/types/components/__generated__/ChromelessEditorProps.codegen.d.ts +17 -0
- package/dist/types/components/__generated__/CommentEditorProps.codegen.d.ts +27 -0
- package/dist/types/components/__generated__/PressableProps.codegen.d.ts +2426 -0
- package/dist/types/components/__generated__/index.d.ts +3 -0
- package/dist/types/index.d.ts +1 -1
- package/dist/types-ts4.5/components/__generated__/ChromelessEditorProps.codegen.d.ts +17 -0
- package/dist/types-ts4.5/components/__generated__/CommentEditorProps.codegen.d.ts +27 -0
- package/dist/types-ts4.5/components/__generated__/PressableProps.codegen.d.ts +2426 -0
- package/dist/types-ts4.5/components/__generated__/index.d.ts +3 -0
- package/dist/types-ts4.5/index.d.ts +1 -1
- package/package.json +4 -4
- package/src/components/__generated__/index.ts +4 -0
- package/src/index.ts +6 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @atlaskit/forge-react-types
|
|
2
2
|
|
|
3
|
+
## 0.41.14
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 0.41.13
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#137738](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/137738)
|
|
14
|
+
[`42dc749c502ba`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/42dc749c502ba) -
|
|
15
|
+
Export types
|
|
16
|
+
- Updated dependencies
|
|
17
|
+
|
|
3
18
|
## 0.41.12
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
|
@@ -0,0 +1,17 @@
|
|
|
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;
|
|
@@ -0,0 +1,27 @@
|
|
|
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
|
+
import type { JSONDocNode } from '@atlaskit/editor-json-transformer';
|
|
11
|
+
import type { EditorProps } from './types.codegen';
|
|
12
|
+
export type CommentEditorProps = EditorProps & {
|
|
13
|
+
/**
|
|
14
|
+
* Renders a Save button at the bottom of the editor. Handler is called when this button is clicked.
|
|
15
|
+
*/
|
|
16
|
+
onSave?: (value?: JSONDocNode) => void;
|
|
17
|
+
/**
|
|
18
|
+
* Renders a Cancel button at the bottom of the editor. Handler is called when this button is clicked.
|
|
19
|
+
*/
|
|
20
|
+
onCancel?: () => void;
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* The comment editor provides a contained editor UI with a simple toolbar.
|
|
24
|
+
*
|
|
25
|
+
* @see [CommentEditor](https://developer.atlassian.com/platform/forge/ui-kit/components/comment-editor/) in UI Kit documentation for more information
|
|
26
|
+
*/
|
|
27
|
+
export type TCommentEditor<T> = (props: CommentEditorProps) => T;
|