@atlaskit/forge-react-types 0.20.0 → 0.21.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,19 @@
1
1
  # @atlaskit/forge-react-types
2
2
 
3
+ ## 0.21.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#113502](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/113502)
8
+ [`a6b334ccc7d63`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a6b334ccc7d63) -
9
+ Add PieChart component to UI Kit
10
+
11
+ ## 0.20.1
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies
16
+
3
17
  ## 0.20.0
4
18
 
5
19
  ### Minor Changes
@@ -0,0 +1 @@
1
+ "use strict";
File without changes
File without changes
@@ -0,0 +1,14 @@
1
+ export type PieChartProps = {
2
+ width?: number;
3
+ height?: number;
4
+ data: unknown[];
5
+ showBorder?: boolean;
6
+ colorAccessor: number | string;
7
+ valueAccessor: number | string;
8
+ labelAccessor: number | string;
9
+ title?: string;
10
+ subtitle?: string;
11
+ isDonut?: boolean;
12
+ showMarkLabels?: boolean;
13
+ colors?: string[];
14
+ };
@@ -1,3 +1,4 @@
1
1
  export type { BarChartProps, StackBarChartProps, HorizontalStackBarChartProps, HorizontalBarChartProps, } from './BarChartProps';
2
2
  export type { LineChartProps } from './LineChartProps';
3
3
  export type { SingleValueChartProps } from './SingleValueChartProps';
4
+ export type { PieChartProps } from './PieChartProps';
@@ -1,2 +1,2 @@
1
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__';
2
- export type { BarChartProps, StackBarChartProps, HorizontalStackBarChartProps, HorizontalBarChartProps, LineChartProps, SingleValueChartProps, } from './components/charts';
2
+ export type { BarChartProps, StackBarChartProps, HorizontalStackBarChartProps, HorizontalBarChartProps, LineChartProps, SingleValueChartProps, PieChartProps, } from './components/charts';
@@ -0,0 +1,14 @@
1
+ export type PieChartProps = {
2
+ width?: number;
3
+ height?: number;
4
+ data: unknown[];
5
+ showBorder?: boolean;
6
+ colorAccessor: number | string;
7
+ valueAccessor: number | string;
8
+ labelAccessor: number | string;
9
+ title?: string;
10
+ subtitle?: string;
11
+ isDonut?: boolean;
12
+ showMarkLabels?: boolean;
13
+ colors?: string[];
14
+ };
@@ -1,3 +1,4 @@
1
1
  export type { BarChartProps, StackBarChartProps, HorizontalStackBarChartProps, HorizontalBarChartProps, } from './BarChartProps';
2
2
  export type { LineChartProps } from './LineChartProps';
3
3
  export type { SingleValueChartProps } from './SingleValueChartProps';
4
+ export type { PieChartProps } from './PieChartProps';
@@ -1,2 +1,2 @@
1
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__';
2
- export type { BarChartProps, StackBarChartProps, HorizontalStackBarChartProps, HorizontalBarChartProps, LineChartProps, SingleValueChartProps, } from './components/charts';
2
+ export type { BarChartProps, StackBarChartProps, HorizontalStackBarChartProps, HorizontalBarChartProps, LineChartProps, SingleValueChartProps, PieChartProps, } from './components/charts';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/forge-react-types",
3
- "version": "0.20.0",
3
+ "version": "0.21.0",
4
4
  "description": "Component types for Forge UI Kit React components",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -27,7 +27,7 @@
27
27
  "dependencies": {
28
28
  "@atlaskit/badge": "^16.2.0",
29
29
  "@atlaskit/banner": "^12.4.0",
30
- "@atlaskit/button": "^17.23.0",
30
+ "@atlaskit/button": "^18.0.0",
31
31
  "@atlaskit/calendar": "^14.3.0",
32
32
  "@atlaskit/checkbox": "^13.5.0",
33
33
  "@atlaskit/code": "^15.3.0",
@@ -37,7 +37,7 @@
37
37
  "@atlaskit/heading": "^2.4.0",
38
38
  "@atlaskit/lozenge": "^11.8.0",
39
39
  "@atlaskit/modal-dialog": "^12.14.0",
40
- "@atlaskit/primitives": "^8.0.0",
40
+ "@atlaskit/primitives": "^8.1.0",
41
41
  "@atlaskit/progress-bar": "2.2.0",
42
42
  "@atlaskit/progress-tracker": "8.7.1",
43
43
  "@atlaskit/radio": "^6.4.0",
@@ -51,7 +51,7 @@
51
51
  "@atlaskit/textarea": "^5.5.0",
52
52
  "@atlaskit/textfield": "^6.4.0",
53
53
  "@atlaskit/toggle": "^13.2.0",
54
- "@atlaskit/tokens": "^1.52.0",
54
+ "@atlaskit/tokens": "^1.53.0",
55
55
  "@atlaskit/tooltip": "^18.5.0",
56
56
  "@babel/runtime": "^7.0.0"
57
57
  },
@@ -0,0 +1,14 @@
1
+ export type PieChartProps = {
2
+ width?: number;
3
+ height?: number;
4
+ data: unknown[];
5
+ showBorder?: boolean;
6
+ colorAccessor: number | string;
7
+ valueAccessor: number | string;
8
+ labelAccessor: number | string;
9
+ title?: string;
10
+ subtitle?: string;
11
+ isDonut?: boolean;
12
+ showMarkLabels?: boolean;
13
+ colors?: string[];
14
+ };
@@ -6,5 +6,5 @@ export type {
6
6
  } from './BarChartProps';
7
7
 
8
8
  export type { LineChartProps } from './LineChartProps';
9
-
10
9
  export type { SingleValueChartProps } from './SingleValueChartProps';
10
+ export type { PieChartProps } from './PieChartProps';
package/src/index.ts CHANGED
@@ -66,4 +66,5 @@ export type {
66
66
  HorizontalBarChartProps,
67
67
  LineChartProps,
68
68
  SingleValueChartProps,
69
+ PieChartProps,
69
70
  } from './components/charts';