@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 +20 -0
- package/dist/cjs/components/charts/LineChartProps.js +1 -0
- package/dist/es2019/components/charts/LineChartProps.js +0 -0
- package/dist/esm/components/charts/LineChartProps.js +0 -0
- package/dist/types/components/charts/BarChartProps.d.ts +1 -0
- package/dist/types/components/charts/LineChartProps.d.ts +12 -0
- package/dist/types/components/charts/index.d.ts +2 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types-ts4.5/components/charts/BarChartProps.d.ts +1 -0
- package/dist/types-ts4.5/components/charts/LineChartProps.d.ts +12 -0
- package/dist/types-ts4.5/components/charts/index.d.ts +2 -1
- package/dist/types-ts4.5/index.d.ts +1 -1
- package/package.json +4 -4
- package/src/components/charts/BarChartProps.tsx +1 -0
- package/src/components/charts/LineChartProps.tsx +12 -0
- package/src/components/charts/index.ts +8 -1
- package/src/index.ts +2 -0
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
|
|
File without changes
|
|
@@ -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';
|
package/dist/types/index.d.ts
CHANGED
|
@@ -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';
|
|
@@ -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.
|
|
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.
|
|
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": "^
|
|
40
|
+
"@atlaskit/primitives": "^8.0.0",
|
|
41
41
|
"@atlaskit/progress-bar": "2.2.0",
|
|
42
|
-
"@atlaskit/progress-tracker": "8.7.
|
|
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",
|
|
@@ -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 {
|
|
1
|
+
export type {
|
|
2
|
+
BarChartProps,
|
|
3
|
+
StackBarChartProps,
|
|
4
|
+
HorizontalStackBarChartProps,
|
|
5
|
+
HorizontalBarChartProps,
|
|
6
|
+
} from './BarChartProps';
|
|
7
|
+
|
|
8
|
+
export type { LineChartProps } from './LineChartProps';
|