@atlaskit/forge-react-types 0.14.1 → 0.15.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 +14 -0
- package/dist/cjs/components/__generated__/BoxProps.codegen.js +2 -2
- package/dist/cjs/components/charts/BarChartProps.js +1 -0
- package/dist/cjs/components/charts/index.js +1 -0
- package/dist/es2019/components/__generated__/BoxProps.codegen.js +2 -2
- package/dist/es2019/components/charts/BarChartProps.js +0 -0
- package/dist/es2019/components/charts/index.js +0 -0
- package/dist/esm/components/__generated__/BoxProps.codegen.js +2 -2
- package/dist/esm/components/charts/BarChartProps.js +0 -0
- package/dist/esm/components/charts/index.js +0 -0
- package/dist/types/components/__generated__/BoxProps.codegen.d.ts +2 -2
- package/dist/types/components/__generated__/ListItemProps.codegen.d.ts +2 -2
- package/dist/types/components/__generated__/ListProps.codegen.d.ts +2 -2
- package/dist/types/components/charts/BarChartProps.d.ts +12 -0
- package/dist/types/components/charts/index.d.ts +1 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types-ts4.5/components/__generated__/BoxProps.codegen.d.ts +2 -2
- package/dist/types-ts4.5/components/__generated__/ListItemProps.codegen.d.ts +2 -2
- package/dist/types-ts4.5/components/__generated__/ListProps.codegen.d.ts +2 -2
- package/dist/types-ts4.5/components/charts/BarChartProps.d.ts +12 -0
- package/dist/types-ts4.5/components/charts/index.d.ts +1 -0
- package/dist/types-ts4.5/index.d.ts +1 -0
- package/package.json +71 -71
- package/src/components/__generated__/BoxProps.codegen.tsx +2 -2
- package/src/components/__generated__/ListItemProps.codegen.tsx +2 -2
- package/src/components/__generated__/ListProps.codegen.tsx +2 -2
- package/src/components/charts/BarChartProps.tsx +12 -0
- package/src/components/charts/index.ts +1 -0
- package/src/index.ts +2 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/forge-react-types
|
|
2
2
|
|
|
3
|
+
## 0.15.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#103763](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/103763)
|
|
8
|
+
[`84c41016e8cb0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/84c41016e8cb0) -
|
|
9
|
+
Added Bar Chart component to UI Kit, updated Forge sandbox UI Kit names
|
|
10
|
+
|
|
11
|
+
## 0.14.2
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
|
|
3
17
|
## 0.14.1
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
|
@@ -8,9 +8,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
8
8
|
*
|
|
9
9
|
* Extract component prop types from UIKit 2 components - BoxProps
|
|
10
10
|
*
|
|
11
|
-
* @codegen <<SignedSource::
|
|
11
|
+
* @codegen <<SignedSource::ff889836988991365ebf829e9793e10d>>
|
|
12
12
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
13
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit2-codegen/box/__generated__/index.partial.tsx <<SignedSource::
|
|
13
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit2-codegen/box/__generated__/index.partial.tsx <<SignedSource::c2e0a3f5394718d7a9864acb3ffccd00>>
|
|
14
14
|
*/
|
|
15
15
|
/* eslint-disable @atlaskit/design-system/ensure-design-token-usage/preview */
|
|
16
16
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - BoxProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::ff889836988991365ebf829e9793e10d>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit2-codegen/box/__generated__/index.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit2-codegen/box/__generated__/index.partial.tsx <<SignedSource::c2e0a3f5394718d7a9864acb3ffccd00>>
|
|
9
9
|
*/
|
|
10
10
|
/* eslint-disable @atlaskit/design-system/ensure-design-token-usage/preview */
|
|
11
11
|
|
|
File without changes
|
|
File without changes
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - BoxProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::ff889836988991365ebf829e9793e10d>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit2-codegen/box/__generated__/index.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit2-codegen/box/__generated__/index.partial.tsx <<SignedSource::c2e0a3f5394718d7a9864acb3ffccd00>>
|
|
9
9
|
*/
|
|
10
10
|
/* eslint-disable @atlaskit/design-system/ensure-design-token-usage/preview */
|
|
11
11
|
|
|
File without changes
|
|
File without changes
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - BoxProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::ff889836988991365ebf829e9793e10d>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit2-codegen/box/__generated__/index.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit2-codegen/box/__generated__/index.partial.tsx <<SignedSource::c2e0a3f5394718d7a9864acb3ffccd00>>
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import { Box as PlatformBox } from '@atlaskit/primitives';
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - ListItemProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::eea5642654758c70eb31a2606729b463>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit2-codegen/list/listitem.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit2-codegen/list/listitem.tsx <<SignedSource::e93278695325427d667307c6aefd8eea>>
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
export interface ListItemProps {
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - ListProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::fd5b4a75262f77b460d434e1c57d8ba1>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit2-codegen/list/list.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit2-codegen/list/list.tsx <<SignedSource::5bb6824f9a98335ce4b0fcdd02f71802>>
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
export interface ListProps {
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export type BarChartProps = {
|
|
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
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { BarChartProps } from './BarChartProps';
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1 +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 } from './components/charts';
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - BoxProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::ff889836988991365ebf829e9793e10d>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit2-codegen/box/__generated__/index.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit2-codegen/box/__generated__/index.partial.tsx <<SignedSource::c2e0a3f5394718d7a9864acb3ffccd00>>
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import { Box as PlatformBox } from '@atlaskit/primitives';
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - ListItemProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::eea5642654758c70eb31a2606729b463>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit2-codegen/list/listitem.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit2-codegen/list/listitem.tsx <<SignedSource::e93278695325427d667307c6aefd8eea>>
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
export interface ListItemProps {
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - ListProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::fd5b4a75262f77b460d434e1c57d8ba1>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit2-codegen/list/list.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit2-codegen/list/list.tsx <<SignedSource::5bb6824f9a98335ce4b0fcdd02f71802>>
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
export interface ListProps {
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export type BarChartProps = {
|
|
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
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { BarChartProps } from './BarChartProps';
|
|
@@ -1 +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 } from './components/charts';
|
package/package.json
CHANGED
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
}
|
|
2
|
+
"name": "@atlaskit/forge-react-types",
|
|
3
|
+
"version": "0.15.0",
|
|
4
|
+
"description": "Component types for Forge UI Kit React components",
|
|
5
|
+
"publishConfig": {
|
|
6
|
+
"registry": "https://registry.npmjs.org/"
|
|
7
|
+
},
|
|
8
|
+
"repository": "https://stash.atlassian.com/projects/ATLASSIAN/repos/atlassian-frontend-monorepo",
|
|
9
|
+
"author": "Atlassian Pty Ltd",
|
|
10
|
+
"types": "dist/types/index.d.ts",
|
|
11
|
+
"typesVersions": {
|
|
12
|
+
">=4.5 <4.9": {
|
|
13
|
+
"*": [
|
|
14
|
+
"dist/types-ts4.5/*",
|
|
15
|
+
"dist/types-ts4.5/index.d.ts"
|
|
16
|
+
]
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"atlaskit:src": "src/index.ts",
|
|
20
|
+
"af:exports": {
|
|
21
|
+
".": "./src/index.ts"
|
|
22
|
+
},
|
|
23
|
+
"atlassian": {
|
|
24
|
+
"team": "Forge UI",
|
|
25
|
+
"releaseModel": "continuous"
|
|
26
|
+
},
|
|
27
|
+
"dependencies": {
|
|
28
|
+
"@atlaskit/badge": "^16.2.0",
|
|
29
|
+
"@atlaskit/banner": "^12.4.0",
|
|
30
|
+
"@atlaskit/button": "^17.17.0",
|
|
31
|
+
"@atlaskit/calendar": "^14.2.1",
|
|
32
|
+
"@atlaskit/checkbox": "^13.4.0",
|
|
33
|
+
"@atlaskit/code": "^15.2.0",
|
|
34
|
+
"@atlaskit/dynamic-table": "^14.17.0",
|
|
35
|
+
"@atlaskit/empty-state": "^7.8.0",
|
|
36
|
+
"@atlaskit/form": "^10.3.0",
|
|
37
|
+
"@atlaskit/heading": "^2.3.0",
|
|
38
|
+
"@atlaskit/lozenge": "^11.7.0",
|
|
39
|
+
"@atlaskit/modal-dialog": "^12.13.0",
|
|
40
|
+
"@atlaskit/primitives": "^7.3.0",
|
|
41
|
+
"@atlaskit/progress-bar": "2.1.0",
|
|
42
|
+
"@atlaskit/progress-tracker": "8.6.3",
|
|
43
|
+
"@atlaskit/radio": "^6.3.0",
|
|
44
|
+
"@atlaskit/range": "^7.2.0",
|
|
45
|
+
"@atlaskit/section-message": "^6.5.0",
|
|
46
|
+
"@atlaskit/select": "^17.10.0",
|
|
47
|
+
"@atlaskit/spinner": "^16.1.0",
|
|
48
|
+
"@atlaskit/tabs": "^16.1.0",
|
|
49
|
+
"@atlaskit/tag": "^12.2.0",
|
|
50
|
+
"@atlaskit/tag-group": "^10.3.0",
|
|
51
|
+
"@atlaskit/textarea": "^5.4.0",
|
|
52
|
+
"@atlaskit/textfield": "^6.3.0",
|
|
53
|
+
"@atlaskit/toggle": "^13.1.0",
|
|
54
|
+
"@atlaskit/tokens": "^1.50.0",
|
|
55
|
+
"@atlaskit/tooltip": "^18.4.0",
|
|
56
|
+
"@babel/runtime": "^7.0.0"
|
|
57
|
+
},
|
|
58
|
+
"peerDependencies": {
|
|
59
|
+
"react": "^16.8.0 || ^17.0.0 || ^18.0.0"
|
|
60
|
+
},
|
|
61
|
+
"devDependencies": {
|
|
62
|
+
"@atlassian/codegen": "^0.1.2",
|
|
63
|
+
"@types/node": "~18.19.31",
|
|
64
|
+
"react": "^16.8.0",
|
|
65
|
+
"ts-morph": "^17.0.0",
|
|
66
|
+
"ts-node": "^10.9.1",
|
|
67
|
+
"typescript": "~5.4.2"
|
|
68
|
+
},
|
|
69
|
+
"scripts": {
|
|
70
|
+
"codegen": "ts-node ./scripts/codegen-runner.ts"
|
|
71
|
+
}
|
|
72
|
+
}
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - BoxProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::ff889836988991365ebf829e9793e10d>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit2-codegen/box/__generated__/index.partial.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit2-codegen/box/__generated__/index.partial.tsx <<SignedSource::c2e0a3f5394718d7a9864acb3ffccd00>>
|
|
9
9
|
*/
|
|
10
10
|
/* eslint-disable @atlaskit/design-system/ensure-design-token-usage/preview */
|
|
11
11
|
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - ListItemProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::eea5642654758c70eb31a2606729b463>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit2-codegen/list/listitem.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit2-codegen/list/listitem.tsx <<SignedSource::e93278695325427d667307c6aefd8eea>>
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extract component prop types from UIKit 2 components - ListProps
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::fd5b4a75262f77b460d434e1c57d8ba1>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/forge-react-types codegen
|
|
8
|
-
* @codegenDependency ../../../../forge-ui/src/components/UIKit2-codegen/list/list.tsx <<SignedSource::
|
|
8
|
+
* @codegenDependency ../../../../forge-ui/src/components/UIKit2-codegen/list/list.tsx <<SignedSource::5bb6824f9a98335ce4b0fcdd02f71802>>
|
|
9
9
|
*/
|
|
10
10
|
import React from 'react';
|
|
11
11
|
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export type BarChartProps = {
|
|
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
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { BarChartProps } from './BarChartProps';
|