@atlaskit/forge-react-types 0.12.1 → 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,17 @@
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
+
3
15
  ## 0.12.1
4
16
 
5
17
  ### Patch Changes
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
@@ -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__';
@@ -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.1",
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/"
@@ -32,13 +32,14 @@
32
32
  "@atlaskit/checkbox": "^13.3.0",
33
33
  "@atlaskit/code": "^15.2.0",
34
34
  "@atlaskit/dynamic-table": "^14.17.0",
35
+ "@atlaskit/empty-state": "^7.8.0",
35
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.6.0",
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",
@@ -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,