@atlaskit/forge-react-types 0.12.0 → 0.13.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 CHANGED
@@ -1,5 +1,23 @@
1
1
  # @atlaskit/forge-react-types
2
2
 
3
+ ## 0.13.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#100583](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/100583)
8
+ [`61afef7676a3`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/61afef7676a3) -
9
+ Added EmptyState component via codegen to UI Kit
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
15
+ ## 0.12.1
16
+
17
+ ### Patch Changes
18
+
19
+ - Updated dependencies
20
+
3
21
  ## 0.12.0
4
22
 
5
23
  ### Minor Changes
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
@@ -3,9 +3,9 @@
3
3
  *
4
4
  * Extract component prop types from UIKit 2 components - DatePickerProps
5
5
  *
6
- * @codegen <<SignedSource::b98fe76873a8f3fa9c534ac4e987a84e>>
6
+ * @codegen <<SignedSource::d04d3ce6574c309a5c0469b43a1891ff>>
7
7
  * @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
8
- * @codegenDependency ../../../../forge-ui/src/components/UIKit2-codegen/datepicker/__generated__/index.partial.tsx <<SignedSource::fcbd99dda6073eec47f3c905804b6b06>>
8
+ * @codegenDependency ../../../../forge-ui/src/components/UIKit2-codegen/datepicker/__generated__/index.partial.tsx <<SignedSource::c81073870b6e0df94ccfaf046550c325>>
9
9
  */
10
10
  export interface FieldProps {
11
11
  id: string;
@@ -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 {};
@@ -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__';
@@ -3,9 +3,9 @@
3
3
  *
4
4
  * Extract component prop types from UIKit 2 components - DatePickerProps
5
5
  *
6
- * @codegen <<SignedSource::b98fe76873a8f3fa9c534ac4e987a84e>>
6
+ * @codegen <<SignedSource::d04d3ce6574c309a5c0469b43a1891ff>>
7
7
  * @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
8
- * @codegenDependency ../../../../forge-ui/src/components/UIKit2-codegen/datepicker/__generated__/index.partial.tsx <<SignedSource::fcbd99dda6073eec47f3c905804b6b06>>
8
+ * @codegenDependency ../../../../forge-ui/src/components/UIKit2-codegen/datepicker/__generated__/index.partial.tsx <<SignedSource::c81073870b6e0df94ccfaf046550c325>>
9
9
  */
10
10
  export interface FieldProps {
11
11
  id: string;
@@ -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 {};
@@ -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.12.0",
3
+ "version": "0.13.0",
4
4
  "description": "Component types for Forge UI Kit React components",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -31,14 +31,15 @@
31
31
  "@atlaskit/calendar": "^14.2.1",
32
32
  "@atlaskit/checkbox": "^13.3.0",
33
33
  "@atlaskit/code": "^15.2.0",
34
- "@atlaskit/dynamic-table": "^14.16.0",
35
- "@atlaskit/form": "^10.0.0",
34
+ "@atlaskit/dynamic-table": "^14.17.0",
35
+ "@atlaskit/empty-state": "^7.8.0",
36
+ "@atlaskit/form": "^10.1.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.1.0",
40
+ "@atlaskit/primitives": "^6.2.0",
40
41
  "@atlaskit/progress-bar": "2.1.0",
41
- "@atlaskit/progress-tracker": "8.5.11",
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",
@@ -51,7 +52,7 @@
51
52
  "@atlaskit/textfield": "^6.3.0",
52
53
  "@atlaskit/toggle": "^13.1.0",
53
54
  "@atlaskit/tokens": "^1.48.0",
54
- "@atlaskit/tooltip": "^18.3.0",
55
+ "@atlaskit/tooltip": "^18.4.0",
55
56
  "@babel/runtime": "^7.0.0"
56
57
  },
57
58
  "peerDependencies": {
@@ -3,9 +3,9 @@
3
3
  *
4
4
  * Extract component prop types from UIKit 2 components - DatePickerProps
5
5
  *
6
- * @codegen <<SignedSource::b98fe76873a8f3fa9c534ac4e987a84e>>
6
+ * @codegen <<SignedSource::d04d3ce6574c309a5c0469b43a1891ff>>
7
7
  * @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
8
- * @codegenDependency ../../../../forge-ui/src/components/UIKit2-codegen/datepicker/__generated__/index.partial.tsx <<SignedSource::fcbd99dda6073eec47f3c905804b6b06>>
8
+ * @codegenDependency ../../../../forge-ui/src/components/UIKit2-codegen/datepicker/__generated__/index.partial.tsx <<SignedSource::c81073870b6e0df94ccfaf046550c325>>
9
9
  */
10
10
  export interface FieldProps {
11
11
  id: string;
@@ -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
+ >;
@@ -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/src/index.ts CHANGED
@@ -12,6 +12,7 @@ export type {
12
12
  CodeProps,
13
13
  DatePickerProps,
14
14
  DynamicTableProps,
15
+ EmptyStateProps,
15
16
  ErrorMessageProps,
16
17
  FlexProps,
17
18
  FormFooterProps,