@atlaskit/forge-react-types 0.12.1 → 0.14.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 +20 -0
- package/dist/cjs/components/__generated__/EmptyStateProps.codegen.js +5 -0
- package/dist/es2019/components/__generated__/EmptyStateProps.codegen.js +1 -0
- package/dist/esm/components/__generated__/EmptyStateProps.codegen.js +1 -0
- package/dist/types/components/__generated__/EmptyStateProps.codegen.d.ts +14 -0
- package/dist/types/components/__generated__/ListItemProps.codegen.d.ts +2 -2
- package/dist/types/components/__generated__/ListProps.codegen.d.ts +2 -2
- package/dist/types/components/__generated__/index.d.ts +1 -0
- package/dist/types/index.d.ts +1 -1
- package/dist/types-ts4.5/components/__generated__/EmptyStateProps.codegen.d.ts +14 -0
- package/dist/types-ts4.5/components/__generated__/ListItemProps.codegen.d.ts +2 -2
- package/dist/types-ts4.5/components/__generated__/ListProps.codegen.d.ts +2 -2
- package/dist/types-ts4.5/components/__generated__/index.d.ts +1 -0
- package/dist/types-ts4.5/index.d.ts +1 -1
- package/package.json +7 -6
- package/scripts/codegen/codeGenerator.ts +4 -4
- package/src/components/__generated__/EmptyStateProps.codegen.tsx +18 -0
- package/src/components/__generated__/ListItemProps.codegen.tsx +2 -2
- package/src/components/__generated__/ListProps.codegen.tsx +2 -2
- package/src/components/__generated__/index.ts +1 -0
- package/src/index.ts +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# @atlaskit/forge-react-types
|
|
2
2
|
|
|
3
|
+
## 0.14.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#98693](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/98693)
|
|
8
|
+
[`a278560b9ca0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a278560b9ca0) -
|
|
9
|
+
Added patch fix to List component to comply with design standards
|
|
10
|
+
|
|
11
|
+
## 0.13.0
|
|
12
|
+
|
|
13
|
+
### Minor Changes
|
|
14
|
+
|
|
15
|
+
- [#100583](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/100583)
|
|
16
|
+
[`61afef7676a3`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/61afef7676a3) -
|
|
17
|
+
Added EmptyState component via codegen to UI Kit
|
|
18
|
+
|
|
19
|
+
### Patch Changes
|
|
20
|
+
|
|
21
|
+
- Updated dependencies
|
|
22
|
+
|
|
3
23
|
## 0.12.1
|
|
4
24
|
|
|
5
25
|
### Patch Changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
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 - EmptyStateProps
|
|
5
|
+
*
|
|
6
|
+
* @codegen <<SignedSource::28f76a7107a94512c3887133d192e2a2>>
|
|
7
|
+
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit2-codegen/emptystate/__generated__/index.partial.tsx <<SignedSource::d4b5b23ca37771361175c873f7dac2cb>>
|
|
9
|
+
*/
|
|
10
|
+
import React from 'react';
|
|
11
|
+
import PlatformEmptyState from '@atlaskit/empty-state';
|
|
12
|
+
type PlatformEmptyStateProps = React.ComponentProps<typeof PlatformEmptyState>;
|
|
13
|
+
export type EmptyStateProps = Pick<PlatformEmptyStateProps, 'buttonGroupLabel' | 'description' | 'header' | 'headingLevel' | 'isLoading' | 'primaryAction' | 'secondaryAction' | 'tertiaryAction' | 'testId' | 'width'>;
|
|
14
|
+
export {};
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - ListItemProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::f8b0481037b4b94448b5c0efe56d3c59>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit2-codegen/list/listitem.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit2-codegen/list/listitem.tsx <<SignedSource::3ba118d6120d4962f681835e3deb7269>>
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
export interface ListItemProps {
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - ListProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::80f168be93a61bc21c0b297b2d10885d>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit2-codegen/list/list.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit2-codegen/list/list.tsx <<SignedSource::7f49ec36996a3c002f6eed821ae9e6b1>>
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
export interface ListProps {
|
|
@@ -11,6 +11,7 @@ export type { CodeBlockProps } from './CodeBlockProps.codegen';
|
|
|
11
11
|
export type { CodeProps } from './CodeProps.codegen';
|
|
12
12
|
export type { DatePickerProps } from './DatePickerProps.codegen';
|
|
13
13
|
export type { DynamicTableProps } from './DynamicTableProps.codegen';
|
|
14
|
+
export type { EmptyStateProps } from './EmptyStateProps.codegen';
|
|
14
15
|
export type { ErrorMessageProps } from './ErrorMessageProps.codegen';
|
|
15
16
|
export type { FlexProps } from './FlexProps.codegen';
|
|
16
17
|
export type { FormFooterProps } from './FormFooterProps.codegen';
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export type { BadgeProps, BannerProps, BleedProps, BoxProps, ButtonGroupProps, ButtonProps, CalendarProps, CheckboxProps, CheckboxGroupProps, CodeBlockProps, CodeProps, DatePickerProps, DynamicTableProps, 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, TextAreaProps, TextfieldProps, ToggleProps, TooltipProps, ValidMessageProps, } from './components/__generated__';
|
|
1
|
+
export type { BadgeProps, BannerProps, 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, TextAreaProps, TextfieldProps, ToggleProps, TooltipProps, ValidMessageProps, } from './components/__generated__';
|
|
@@ -0,0 +1,14 @@
|
|
|
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 - EmptyStateProps
|
|
5
|
+
*
|
|
6
|
+
* @codegen <<SignedSource::28f76a7107a94512c3887133d192e2a2>>
|
|
7
|
+
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit2-codegen/emptystate/__generated__/index.partial.tsx <<SignedSource::d4b5b23ca37771361175c873f7dac2cb>>
|
|
9
|
+
*/
|
|
10
|
+
import React from 'react';
|
|
11
|
+
import PlatformEmptyState from '@atlaskit/empty-state';
|
|
12
|
+
type PlatformEmptyStateProps = React.ComponentProps<typeof PlatformEmptyState>;
|
|
13
|
+
export type EmptyStateProps = Pick<PlatformEmptyStateProps, 'buttonGroupLabel' | 'description' | 'header' | 'headingLevel' | 'isLoading' | 'primaryAction' | 'secondaryAction' | 'tertiaryAction' | 'testId' | 'width'>;
|
|
14
|
+
export {};
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - ListItemProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::f8b0481037b4b94448b5c0efe56d3c59>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit2-codegen/list/listitem.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit2-codegen/list/listitem.tsx <<SignedSource::3ba118d6120d4962f681835e3deb7269>>
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
export interface ListItemProps {
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - ListProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::80f168be93a61bc21c0b297b2d10885d>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit2-codegen/list/list.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit2-codegen/list/list.tsx <<SignedSource::7f49ec36996a3c002f6eed821ae9e6b1>>
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
export interface ListProps {
|
|
@@ -11,6 +11,7 @@ export type { CodeBlockProps } from './CodeBlockProps.codegen';
|
|
|
11
11
|
export type { CodeProps } from './CodeProps.codegen';
|
|
12
12
|
export type { DatePickerProps } from './DatePickerProps.codegen';
|
|
13
13
|
export type { DynamicTableProps } from './DynamicTableProps.codegen';
|
|
14
|
+
export type { EmptyStateProps } from './EmptyStateProps.codegen';
|
|
14
15
|
export type { ErrorMessageProps } from './ErrorMessageProps.codegen';
|
|
15
16
|
export type { FlexProps } from './FlexProps.codegen';
|
|
16
17
|
export type { FormFooterProps } from './FormFooterProps.codegen';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type { BadgeProps, BannerProps, BleedProps, BoxProps, ButtonGroupProps, ButtonProps, CalendarProps, CheckboxProps, CheckboxGroupProps, CodeBlockProps, CodeProps, DatePickerProps, DynamicTableProps, 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, TextAreaProps, TextfieldProps, ToggleProps, TooltipProps, ValidMessageProps, } from './components/__generated__';
|
|
1
|
+
export type { BadgeProps, BannerProps, 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, TextAreaProps, TextfieldProps, ToggleProps, TooltipProps, ValidMessageProps, } from './components/__generated__';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/forge-react-types",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.14.0",
|
|
4
4
|
"description": "Component types for Forge UI Kit React components",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -27,18 +27,19 @@
|
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@atlaskit/badge": "^16.1.0",
|
|
29
29
|
"@atlaskit/banner": "^12.3.0",
|
|
30
|
-
"@atlaskit/button": "^17.
|
|
30
|
+
"@atlaskit/button": "^17.16.0",
|
|
31
31
|
"@atlaskit/calendar": "^14.2.1",
|
|
32
32
|
"@atlaskit/checkbox": "^13.3.0",
|
|
33
33
|
"@atlaskit/code": "^15.2.0",
|
|
34
34
|
"@atlaskit/dynamic-table": "^14.17.0",
|
|
35
|
-
"@atlaskit/
|
|
35
|
+
"@atlaskit/empty-state": "^7.8.0",
|
|
36
|
+
"@atlaskit/form": "^10.2.0",
|
|
36
37
|
"@atlaskit/heading": "^2.3.0",
|
|
37
38
|
"@atlaskit/lozenge": "^11.7.0",
|
|
38
39
|
"@atlaskit/modal-dialog": "^12.13.0",
|
|
39
|
-
"@atlaskit/primitives": "^6.
|
|
40
|
+
"@atlaskit/primitives": "^6.3.0",
|
|
40
41
|
"@atlaskit/progress-bar": "2.1.0",
|
|
41
|
-
"@atlaskit/progress-tracker": "8.6.
|
|
42
|
+
"@atlaskit/progress-tracker": "8.6.1",
|
|
42
43
|
"@atlaskit/radio": "^6.3.0",
|
|
43
44
|
"@atlaskit/range": "^7.2.0",
|
|
44
45
|
"@atlaskit/section-message": "^6.5.0",
|
|
@@ -50,7 +51,7 @@
|
|
|
50
51
|
"@atlaskit/textarea": "^5.4.0",
|
|
51
52
|
"@atlaskit/textfield": "^6.3.0",
|
|
52
53
|
"@atlaskit/toggle": "^13.1.0",
|
|
53
|
-
"@atlaskit/tokens": "^1.
|
|
54
|
+
"@atlaskit/tokens": "^1.49.0",
|
|
54
55
|
"@atlaskit/tooltip": "^18.4.0",
|
|
55
56
|
"@babel/runtime": "^7.0.0"
|
|
56
57
|
},
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
// eslint-disable-next-line import/no-extraneous-dependencies
|
|
2
2
|
import {
|
|
3
|
-
Symbol,
|
|
4
|
-
SourceFile,
|
|
5
|
-
TypeAliasDeclaration,
|
|
6
|
-
ImportDeclaration,
|
|
3
|
+
type Symbol,
|
|
4
|
+
type SourceFile,
|
|
5
|
+
type TypeAliasDeclaration,
|
|
6
|
+
type ImportDeclaration,
|
|
7
7
|
} from 'ts-morph';
|
|
8
8
|
|
|
9
9
|
const getNames = (symbol: Symbol) => {
|
|
@@ -0,0 +1,18 @@
|
|
|
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 - EmptyStateProps
|
|
5
|
+
*
|
|
6
|
+
* @codegen <<SignedSource::28f76a7107a94512c3887133d192e2a2>>
|
|
7
|
+
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit2-codegen/emptystate/__generated__/index.partial.tsx <<SignedSource::d4b5b23ca37771361175c873f7dac2cb>>
|
|
9
|
+
*/
|
|
10
|
+
import React from 'react';
|
|
11
|
+
import PlatformEmptyState from '@atlaskit/empty-state';
|
|
12
|
+
|
|
13
|
+
type PlatformEmptyStateProps = React.ComponentProps<typeof PlatformEmptyState>;
|
|
14
|
+
|
|
15
|
+
export type EmptyStateProps = Pick<
|
|
16
|
+
PlatformEmptyStateProps,
|
|
17
|
+
'buttonGroupLabel' | 'description' | 'header' | 'headingLevel' | 'isLoading' | 'primaryAction' | 'secondaryAction' | 'tertiaryAction' | 'testId' | 'width'
|
|
18
|
+
>;
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - ListItemProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::f8b0481037b4b94448b5c0efe56d3c59>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit2-codegen/list/listitem.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit2-codegen/list/listitem.tsx <<SignedSource::3ba118d6120d4962f681835e3deb7269>>
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - ListProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::80f168be93a61bc21c0b297b2d10885d>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit2-codegen/list/list.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit2-codegen/list/list.tsx <<SignedSource::7f49ec36996a3c002f6eed821ae9e6b1>>
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
|
|
@@ -11,6 +11,7 @@ export type { CodeBlockProps } from './CodeBlockProps.codegen';
|
|
|
11
11
|
export type { CodeProps } from './CodeProps.codegen';
|
|
12
12
|
export type { DatePickerProps } from './DatePickerProps.codegen';
|
|
13
13
|
export type { DynamicTableProps } from './DynamicTableProps.codegen';
|
|
14
|
+
export type { EmptyStateProps } from './EmptyStateProps.codegen';
|
|
14
15
|
export type { ErrorMessageProps } from './ErrorMessageProps.codegen';
|
|
15
16
|
export type { FlexProps } from './FlexProps.codegen';
|
|
16
17
|
export type { FormFooterProps } from './FormFooterProps.codegen';
|