@atlaskit/forge-react-types 0.17.0 → 0.19.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,25 @@
1
1
  # @atlaskit/forge-react-types
2
2
 
3
+ ## 0.19.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#105555](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/105555)
8
+ [`db7ba9676c4d9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/db7ba9676c4d9) -
9
+ Added line chart component
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
15
+ ## 0.18.0
16
+
17
+ ### Minor Changes
18
+
19
+ - [#110807](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/110807)
20
+ [`d591152369810`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/d591152369810) -
21
+ added horizontal stack bar chart to UI Kit
22
+
3
23
  ## 0.17.0
4
24
 
5
25
  ### Minor Changes
@@ -0,0 +1 @@
1
+ "use strict";
File without changes
@@ -11,4 +11,5 @@ export type BarChartProps = {
11
11
  colors?: string[];
12
12
  };
13
13
  export type StackBarChartProps = BarChartProps;
14
+ export type HorizontalStackBarChartProps = BarChartProps;
14
15
  export type HorizontalBarChartProps = BarChartProps;
@@ -0,0 +1,12 @@
1
+ export type LineChartProps = {
2
+ width?: number;
3
+ height?: number;
4
+ data: unknown[];
5
+ showBorder?: boolean;
6
+ xAccessor: number | string;
7
+ yAccessor: number | string;
8
+ colorAccessor?: number | string;
9
+ title?: string;
10
+ subTitle?: string;
11
+ colors?: string[];
12
+ };
@@ -1 +1,2 @@
1
- export type { BarChartProps, StackBarChartProps, HorizontalBarChartProps } from './BarChartProps';
1
+ export type { BarChartProps, StackBarChartProps, HorizontalStackBarChartProps, HorizontalBarChartProps, } from './BarChartProps';
2
+ export type { LineChartProps } from './LineChartProps';
@@ -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, HorizontalBarChartProps, } from './components/charts';
2
+ export type { BarChartProps, StackBarChartProps, HorizontalStackBarChartProps, HorizontalBarChartProps, LineChartProps, } from './components/charts';
@@ -11,4 +11,5 @@ export type BarChartProps = {
11
11
  colors?: string[];
12
12
  };
13
13
  export type StackBarChartProps = BarChartProps;
14
+ export type HorizontalStackBarChartProps = BarChartProps;
14
15
  export type HorizontalBarChartProps = BarChartProps;
@@ -0,0 +1,12 @@
1
+ export type LineChartProps = {
2
+ width?: number;
3
+ height?: number;
4
+ data: unknown[];
5
+ showBorder?: boolean;
6
+ xAccessor: number | string;
7
+ yAccessor: number | string;
8
+ colorAccessor?: number | string;
9
+ title?: string;
10
+ subTitle?: string;
11
+ colors?: string[];
12
+ };
@@ -1 +1,2 @@
1
- export type { BarChartProps, StackBarChartProps, HorizontalBarChartProps } from './BarChartProps';
1
+ export type { BarChartProps, StackBarChartProps, HorizontalStackBarChartProps, HorizontalBarChartProps, } from './BarChartProps';
2
+ export type { LineChartProps } from './LineChartProps';
@@ -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, HorizontalBarChartProps, } from './components/charts';
2
+ export type { BarChartProps, StackBarChartProps, HorizontalStackBarChartProps, HorizontalBarChartProps, LineChartProps, } from './components/charts';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/forge-react-types",
3
- "version": "0.17.0",
3
+ "version": "0.19.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.21.0",
30
+ "@atlaskit/button": "^17.22.0",
31
31
  "@atlaskit/calendar": "^14.3.0",
32
32
  "@atlaskit/checkbox": "^13.5.0",
33
33
  "@atlaskit/code": "^15.3.0",
@@ -37,9 +37,9 @@
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": "^7.4.0",
40
+ "@atlaskit/primitives": "^8.0.0",
41
41
  "@atlaskit/progress-bar": "2.2.0",
42
- "@atlaskit/progress-tracker": "8.7.0",
42
+ "@atlaskit/progress-tracker": "8.7.1",
43
43
  "@atlaskit/radio": "^6.4.0",
44
44
  "@atlaskit/range": "^7.3.0",
45
45
  "@atlaskit/section-message": "^6.5.0",
@@ -12,4 +12,5 @@ export type BarChartProps = {
12
12
  };
13
13
 
14
14
  export type StackBarChartProps = BarChartProps;
15
+ export type HorizontalStackBarChartProps = BarChartProps;
15
16
  export type HorizontalBarChartProps = BarChartProps;
@@ -0,0 +1,12 @@
1
+ export type LineChartProps = {
2
+ width?: number;
3
+ height?: number;
4
+ data: unknown[];
5
+ showBorder?: boolean;
6
+ xAccessor: number | string;
7
+ yAccessor: number | string;
8
+ colorAccessor?: number | string;
9
+ title?: string;
10
+ subTitle?: string;
11
+ colors?: string[];
12
+ };
@@ -1 +1,8 @@
1
- export type { BarChartProps, StackBarChartProps, HorizontalBarChartProps } from './BarChartProps';
1
+ export type {
2
+ BarChartProps,
3
+ StackBarChartProps,
4
+ HorizontalStackBarChartProps,
5
+ HorizontalBarChartProps,
6
+ } from './BarChartProps';
7
+
8
+ export type { LineChartProps } from './LineChartProps';
package/src/index.ts CHANGED
@@ -62,5 +62,7 @@ export type {
62
62
  export type {
63
63
  BarChartProps,
64
64
  StackBarChartProps,
65
+ HorizontalStackBarChartProps,
65
66
  HorizontalBarChartProps,
67
+ LineChartProps,
66
68
  } from './components/charts';