@bitrise/bitkit 9.12.0-alpha-button-release.3 → 9.12.1-alpha-chakra.1
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/package.json +2 -1
- package/src/Components/Box/Box.tsx +3 -3
- package/src/Components/Button/Button.tsx +5 -5
- package/src/Components/Card/Card.stories.tsx +21 -4
- package/src/Components/Card/Card.tsx +14 -7
- package/src/Components/Card/CardContent.tsx +20 -0
- package/src/Components/IconButton/IconButton.tsx +3 -3
- package/src/Components/Link/Link.tsx +3 -3
- package/src/Components/Text/Text.tsx +3 -3
- package/src/Foundations/Colors/DesignTokens.tsx +1 -1
- package/src/Foundations/Colors/Palette.tsx +1 -1
- package/src/Foundations/Typography/Typography.examples.tsx +1 -1
- package/src/index.ts +273 -5
- package/src/tsconfig.tsbuildinfo +1 -1
- package/src/Components/ButtonGroup/ButtonGroup.tsx +0 -10
- package/src/Old/Card/Card.css +0 -7
- package/src/Old/Card/Card.tsx +0 -35
- package/src/Old/Card/CardButton.tsx +0 -15
- package/src/Old/Card/CardContent.tsx +0 -15
- package/src/Old/Card/CardDivider.tsx +0 -15
- package/src/old.ts +0 -275
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bitrise/bitkit",
|
|
3
3
|
"description": "Bitrise React component library",
|
|
4
|
-
"version": "9.12.
|
|
4
|
+
"version": "9.12.1-alpha-chakra.1",
|
|
5
5
|
"repository": "git@github.com:bitrise-io/bitkit.git",
|
|
6
6
|
"main": "src/index.ts",
|
|
7
7
|
"license": "UNLICENSED",
|
|
@@ -76,6 +76,7 @@
|
|
|
76
76
|
"@types/cheerio": "^0.22.31",
|
|
77
77
|
"@types/clipboard": "^2.0.1",
|
|
78
78
|
"@types/enzyme": "^3.10.12",
|
|
79
|
+
"@types/fscreen": "^1.0.1",
|
|
79
80
|
"@types/jest": "^27.5.0",
|
|
80
81
|
"@types/lodash.sample": "^4.2.7",
|
|
81
82
|
"@types/lodash.shuffle": "^4.2.7",
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import React
|
|
2
|
-
import { Box as ChakraBox, BoxProps } from '@chakra-ui/react';
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Box as ChakraBox, BoxProps, forwardRef } from '@chakra-ui/react';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Box is the most abstract component on top of which all other components are built. By default, it renders a div element.
|
|
6
6
|
*
|
|
7
7
|
* And this is our CSS-in-JS component, you can use this with style props.
|
|
8
8
|
*/
|
|
9
|
-
const Box = forwardRef<
|
|
9
|
+
const Box = forwardRef<BoxProps, 'div'>((props, ref) => {
|
|
10
10
|
return <ChakraBox {...props} ref={ref} />;
|
|
11
11
|
});
|
|
12
12
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import React, { HTMLAttributeAnchorTarget
|
|
2
|
-
import { Button as ChakraButton, ButtonProps as
|
|
1
|
+
import React, { HTMLAttributeAnchorTarget } from 'react';
|
|
2
|
+
import { Button as ChakraButton, ButtonProps as ChakraButtonProps, forwardRef } from '@chakra-ui/react';
|
|
3
3
|
import Icon from '../../Old/Icon/Icon';
|
|
4
4
|
import { TypeIconName } from '../../Old/Icon/tsx';
|
|
5
5
|
|
|
6
|
-
export interface ButtonProps extends
|
|
6
|
+
export interface ButtonProps extends ChakraButtonProps {
|
|
7
7
|
as?: 'a' | 'button';
|
|
8
8
|
href?: string;
|
|
9
9
|
isDanger?: boolean;
|
|
@@ -17,9 +17,9 @@ export interface ButtonProps extends ChackraButtonProps {
|
|
|
17
17
|
/**
|
|
18
18
|
* The Button component is used to trigger an action or event, such as submitting a form, opening a dialog, canceling an action, or performing a delete operation.
|
|
19
19
|
*/
|
|
20
|
-
const Button = forwardRef<
|
|
20
|
+
const Button = forwardRef<ButtonProps, 'button'>((props, ref) => {
|
|
21
21
|
const { as, isDanger, leftIconName, rightIconName, size, variant, ...rest } = props;
|
|
22
|
-
const properties:
|
|
22
|
+
const properties: ChakraButtonProps = {
|
|
23
23
|
as,
|
|
24
24
|
size,
|
|
25
25
|
variant: isDanger ? `${variant}--danger` : variant,
|
|
@@ -1,18 +1,35 @@
|
|
|
1
1
|
import { ComponentStory, ComponentMeta } from '@storybook/react';
|
|
2
2
|
import { sortObjectByKey } from '../../utils/storyUtils';
|
|
3
|
+
import Divider from '../Divider/Divider';
|
|
3
4
|
import Card from './Card';
|
|
5
|
+
import CardContent from './CardContent';
|
|
4
6
|
|
|
5
7
|
export default {
|
|
6
8
|
title: 'Components/Card',
|
|
7
9
|
component: Card,
|
|
10
|
+
subcomponents: { CardContent },
|
|
8
11
|
} as ComponentMeta<typeof Card>;
|
|
9
12
|
|
|
10
|
-
const
|
|
11
|
-
|
|
12
|
-
|
|
13
|
+
export const WithProps: ComponentStory<typeof Card> = (props) => (
|
|
14
|
+
<Card {...props}>
|
|
15
|
+
<CardContent>The quick brown fox jumps over the lazy dog.</CardContent>
|
|
16
|
+
</Card>
|
|
17
|
+
);
|
|
13
18
|
|
|
14
19
|
WithProps.args = sortObjectByKey({
|
|
15
20
|
...Card.defaultProps,
|
|
16
|
-
|
|
21
|
+
className: '',
|
|
22
|
+
});
|
|
23
|
+
|
|
24
|
+
export const DividedContent: ComponentStory<typeof Card> = (props) => (
|
|
25
|
+
<Card {...props}>
|
|
26
|
+
<CardContent>The quick brown fox jumps over the lazy dog.</CardContent>
|
|
27
|
+
<Divider />
|
|
28
|
+
<CardContent>The quick brown fox jumps over the lazy dog.</CardContent>
|
|
29
|
+
</Card>
|
|
30
|
+
);
|
|
31
|
+
|
|
32
|
+
DividedContent.args = sortObjectByKey({
|
|
33
|
+
...Card.defaultProps,
|
|
17
34
|
className: '',
|
|
18
35
|
});
|
|
@@ -1,26 +1,33 @@
|
|
|
1
|
-
import React
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { forwardRef, HTMLChakraProps } from '@chakra-ui/react';
|
|
2
3
|
import { Radii } from '../../Foundations/Radii/Radii';
|
|
3
4
|
import { Shadows } from '../../Foundations/Shadows/Shadows';
|
|
4
|
-
import { Sizes } from '../../Foundations/Sizes/Sizes';
|
|
5
5
|
import Box, { BoxProps } from '../Box/Box';
|
|
6
6
|
|
|
7
7
|
export interface CardProps extends BoxProps {
|
|
8
8
|
borderRadius?: keyof Radii;
|
|
9
9
|
boxShadow?: keyof Shadows;
|
|
10
|
-
padding?: keyof Sizes;
|
|
11
10
|
}
|
|
12
11
|
|
|
13
12
|
/**
|
|
14
|
-
* Basic container element with default box shadow
|
|
13
|
+
* Basic container element with default box shadow and border radius. Use with `CardContent` to add padding.
|
|
15
14
|
*/
|
|
16
|
-
const Card = forwardRef<
|
|
17
|
-
|
|
15
|
+
const Card = forwardRef<CardProps, 'div'>((props, ref) => {
|
|
16
|
+
const properties = {
|
|
17
|
+
display: 'block',
|
|
18
|
+
width: '100%',
|
|
19
|
+
...props,
|
|
20
|
+
} as BoxProps;
|
|
21
|
+
if (props.as === 'button' && !(props as HTMLChakraProps<'button'>).type) {
|
|
22
|
+
(properties as HTMLChakraProps<'button'>).type = 'button';
|
|
23
|
+
}
|
|
24
|
+
return <Box {...properties} ref={ref} />;
|
|
18
25
|
});
|
|
19
26
|
|
|
20
27
|
Card.defaultProps = {
|
|
28
|
+
as: 'div',
|
|
21
29
|
borderRadius: '12',
|
|
22
30
|
boxShadow: 'medium',
|
|
23
|
-
padding: '24',
|
|
24
31
|
} as CardProps;
|
|
25
32
|
|
|
26
33
|
export default Card;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Sizes } from '../../Foundations/Sizes/Sizes';
|
|
3
|
+
import Box, { BoxProps } from '../Box/Box';
|
|
4
|
+
|
|
5
|
+
export interface CardContentProps extends BoxProps {
|
|
6
|
+
padding?: keyof Sizes;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Basic container element with default box shadow, border radius and padding.
|
|
11
|
+
*/
|
|
12
|
+
const CardContent = (props: CardContentProps) => {
|
|
13
|
+
return <Box {...props} />;
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
CardContent.defaultProps = {
|
|
17
|
+
padding: '24',
|
|
18
|
+
} as CardContentProps;
|
|
19
|
+
|
|
20
|
+
export default CardContent;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import React
|
|
2
|
-
import { IconButton as ChakraIconButton, IconButtonProps } from '@chakra-ui/react';
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { IconButton as ChakraIconButton, IconButtonProps, forwardRef } from '@chakra-ui/react';
|
|
3
3
|
import Icon from '../../Old/Icon/Icon';
|
|
4
4
|
import { TypeIconName } from '../../Old/Icon/tsx';
|
|
5
5
|
|
|
@@ -19,7 +19,7 @@ export interface Props extends IconButtonProps {
|
|
|
19
19
|
* TODO:
|
|
20
20
|
* - Change to Chakra powered Icon component
|
|
21
21
|
*/
|
|
22
|
-
const IconButton = forwardRef<
|
|
22
|
+
const IconButton = forwardRef<Props, 'button'>((props, ref) => {
|
|
23
23
|
const { iconName, isDanger, variant, ...rest } = props;
|
|
24
24
|
const properties: IconButtonProps = {
|
|
25
25
|
icon: <Icon name={iconName} />,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import React
|
|
2
|
-
import { Link as ChakraLink, LinkProps as ChakraLinkProps } from '@chakra-ui/react';
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Link as ChakraLink, LinkProps as ChakraLinkProps, forwardRef } from '@chakra-ui/react';
|
|
3
3
|
import { TextSizes } from '../../Foundations/Typography/Typography';
|
|
4
4
|
|
|
5
5
|
export interface LinkProps extends ChakraLinkProps {
|
|
@@ -12,7 +12,7 @@ export interface LinkProps extends ChakraLinkProps {
|
|
|
12
12
|
/**
|
|
13
13
|
* Links are accessible elements used primarily for navigation.
|
|
14
14
|
*/
|
|
15
|
-
const Link = forwardRef<
|
|
15
|
+
const Link = forwardRef<LinkProps, 'a'>((props, ref) => {
|
|
16
16
|
const { as, isUnderlined, ...rest } = props;
|
|
17
17
|
const properties: ChakraLinkProps = { as, ...rest };
|
|
18
18
|
if (isUnderlined) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import React
|
|
2
|
-
import { Text as ChakraText, TextProps as ChakraTextProps } from '@chakra-ui/react';
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Text as ChakraText, TextProps as ChakraTextProps, forwardRef } from '@chakra-ui/react';
|
|
3
3
|
import { TextSizes } from '../../Foundations/Typography/Typography';
|
|
4
4
|
|
|
5
5
|
type TextTags =
|
|
@@ -58,7 +58,7 @@ export interface TextProps extends ChakraTextProps {
|
|
|
58
58
|
/**
|
|
59
59
|
* `Text` component is the used to render text and paragraphs within an interface. It renders a `<p>` tag by default.
|
|
60
60
|
*/
|
|
61
|
-
const Text = forwardRef<
|
|
61
|
+
const Text = forwardRef<TextProps, 'p'>((props, ref) => {
|
|
62
62
|
const { color, fontWeight, size, textTransform } = props;
|
|
63
63
|
const properties: ChakraTextProps = { ...props };
|
|
64
64
|
if (size === '1' && (!textTransform || textTransform === 'none')) {
|
|
@@ -34,7 +34,7 @@ const DesignTokens = () => {
|
|
|
34
34
|
plugin called “Theemo”.
|
|
35
35
|
</Text>
|
|
36
36
|
</Box>
|
|
37
|
-
<Card
|
|
37
|
+
<Card marginBottom="96">
|
|
38
38
|
<VStack align="flex-start" as="ul" spacing="32">
|
|
39
39
|
{Object.keys(TOKENS).map((token: string) => (
|
|
40
40
|
<HStack as="li" key={token} spacing="32">
|
|
@@ -31,7 +31,7 @@ export const FontSizes = () => (
|
|
|
31
31
|
<Text sx={{ marginTop: '8' }}>
|
|
32
32
|
<strong>Text transform:</strong> None, UPPERCASE
|
|
33
33
|
</Text>
|
|
34
|
-
<Card
|
|
34
|
+
<Card marginTop="24">
|
|
35
35
|
<VStack as="ol" spacing={24} sx={style}>
|
|
36
36
|
<Text as="li" size="1">
|
|
37
37
|
{typography.fontSizes[1]} / {typography.lineHeights[1]} / Normal / Uppercase
|
package/src/index.ts
CHANGED
|
@@ -1,8 +1,276 @@
|
|
|
1
|
-
|
|
1
|
+
import './Old/variables.css';
|
|
2
|
+
|
|
3
|
+
import * as variables from './Old/variables';
|
|
4
|
+
import * as hooks from './Old/hooks';
|
|
5
|
+
|
|
6
|
+
export { variables };
|
|
7
|
+
export { hooks };
|
|
8
|
+
|
|
9
|
+
export type { Props as AddonBeamProps } from './Old/AddonBeam/AddonBeam';
|
|
10
|
+
export { default as AddonBeam } from './Old/AddonBeam/AddonBeam';
|
|
11
|
+
|
|
12
|
+
export type { Props as AddonBeamLinkProps } from './Old/AddonBeam/AddonBeamLink';
|
|
13
|
+
export { default as AddonBeamLink } from './Old/AddonBeam/AddonBeamLink';
|
|
14
|
+
|
|
15
|
+
export type { Props as AddonFooterProps } from './Old/AddonFooter/AddonFooter';
|
|
16
|
+
export { default as AddonFooter } from './Old/AddonFooter/AddonFooter';
|
|
17
|
+
|
|
18
|
+
export type { Props as AppearProps } from './Old/Appear/Appear';
|
|
19
|
+
export type { TypeAppearAnimationName } from './Old/Appear/Appear';
|
|
20
|
+
export { default as Appear } from './Old/Appear/Appear';
|
|
21
|
+
|
|
22
|
+
export type { Props as AppLayoutProps } from './Old/AppLayout/AppLayout';
|
|
23
|
+
export { default as AppLayout } from './Old/AppLayout/AppLayout';
|
|
24
|
+
|
|
25
|
+
export type { Props as AppLayoutBodyProps } from './Old/AppLayout/AppLayoutBody';
|
|
26
|
+
export { default as AppLayoutBody } from './Old/AppLayout/AppLayoutBody';
|
|
27
|
+
|
|
28
|
+
export type { Props as AppLayoutHeaderProps } from './Old/AppLayout/AppLayoutHeader';
|
|
29
|
+
export { default as AppLayoutHeader } from './Old/AppLayout/AppLayoutHeader';
|
|
30
|
+
|
|
31
|
+
export type { Props as AppLayoutMainProps } from './Old/AppLayout/AppLayoutMain';
|
|
32
|
+
export { default as AppLayoutMain } from './Old/AppLayout/AppLayoutMain';
|
|
33
|
+
|
|
34
|
+
export type { Props as AppLayoutSidebarProps } from './Old/AppLayout/AppLayoutSidebar';
|
|
35
|
+
export { default as AppLayoutSidebar } from './Old/AppLayout/AppLayoutSidebar';
|
|
36
|
+
|
|
37
|
+
export type { Props as AvatarProps } from './Old/Avatar/Avatar';
|
|
38
|
+
export { default as Avatar } from './Old/Avatar/Avatar';
|
|
39
|
+
|
|
40
|
+
export type { Props as BadgeProps } from './Old/Badge/Badge';
|
|
41
|
+
export { default as Badge } from './Old/Badge/Badge';
|
|
42
|
+
|
|
43
|
+
export type { Props as BaseProps } from './Old/Base/Base';
|
|
44
|
+
export type { TypeBorderRadius } from './Old/Base/Base';
|
|
45
|
+
export type { TypeColors } from './Old/Base/Base';
|
|
46
|
+
export type { TypeSizes } from './Old/Base/Base';
|
|
47
|
+
export { default as Base } from './Old/Base/Base';
|
|
48
|
+
|
|
49
|
+
export type { Props as BoundsProps } from './Old/Bounds/Bounds';
|
|
50
|
+
export { default as Bounds } from './Old/Bounds/Bounds';
|
|
51
|
+
|
|
52
|
+
export type { Props as ButtonProps } from './Old/Button/Button';
|
|
53
|
+
export { default as Button } from './Old/Button/Button';
|
|
54
|
+
|
|
55
|
+
export type { Props as ButtonsProps } from './Old/Button/Buttons';
|
|
56
|
+
export { default as Buttons } from './Old/Button/Buttons';
|
|
57
|
+
|
|
58
|
+
export type { Props as CheckboxProps } from './Old/Checkbox/Checkbox';
|
|
59
|
+
export { default as Checkbox } from './Old/Checkbox/Checkbox';
|
|
60
|
+
|
|
61
|
+
export type { Props as ColorButtonProps } from './Old/Button/ColorButton';
|
|
62
|
+
export { default as ColorButton } from './Old/Button/ColorButton';
|
|
63
|
+
|
|
64
|
+
export type { Props as DatePickerProps } from './Old/DatePicker/DatePicker';
|
|
65
|
+
export { default as DatePicker } from './Old/DatePicker/DatePicker';
|
|
66
|
+
|
|
67
|
+
export type { Props as DotProps } from './Old/Dot/Dot';
|
|
68
|
+
export { default as Dot } from './Old/Dot/Dot';
|
|
69
|
+
|
|
70
|
+
export type { Props as DropdownProps } from './Old/Dropdown/Dropdown';
|
|
71
|
+
export { default as Dropdown } from './Old/Dropdown/Dropdown';
|
|
72
|
+
|
|
73
|
+
export type { Props as DropdownButtonProps } from './Old/Dropdown/DropdownButton';
|
|
74
|
+
export { default as DropdownButton } from './Old/Dropdown/DropdownButton';
|
|
75
|
+
|
|
76
|
+
export type { Props as DropdownMenusProps } from './Old/Dropdown/DropdownMenus';
|
|
77
|
+
export { default as DropdownMenus } from './Old/Dropdown/DropdownMenus';
|
|
78
|
+
|
|
79
|
+
export type { Props as DropdownMenuProps } from './Old/Dropdown/DropdownMenu';
|
|
80
|
+
export { default as DropdownMenu } from './Old/Dropdown/DropdownMenu';
|
|
81
|
+
|
|
82
|
+
export type { Props as DropdownMenuItemProps } from './Old/Dropdown/DropdownMenuItem';
|
|
83
|
+
export { default as DropdownMenuItem } from './Old/Dropdown/DropdownMenuItem';
|
|
84
|
+
|
|
85
|
+
export type { Props as DropdownMenuItemGroupProps } from './Old/Dropdown/DropdownMenuItemGroup';
|
|
86
|
+
export { default as DropdownMenuItemGroup } from './Old/Dropdown/DropdownMenuItemGroup';
|
|
87
|
+
|
|
88
|
+
export type { Props as ExpandProps } from './Old/Expand/Expand';
|
|
89
|
+
export { default as Expand } from './Old/Expand/Expand';
|
|
90
|
+
|
|
91
|
+
export type { Props as ExternalLinkProps } from './Old/ExternalLink/ExternalLink';
|
|
92
|
+
export { default as ExternalLink } from './Old/ExternalLink/ExternalLink';
|
|
93
|
+
|
|
94
|
+
export type { Props as FlexProps } from './Old/Flex/Flex';
|
|
95
|
+
export { default as Flex } from './Old/Flex/Flex';
|
|
96
|
+
|
|
97
|
+
export type { Props as GridProps } from './Old/Grid/Grid';
|
|
98
|
+
export { default as Grid } from './Old/Grid/Grid';
|
|
99
|
+
|
|
100
|
+
export type { Props as HamburgerProps } from './Old/Hamburger/Hamburger';
|
|
101
|
+
export { default as Hamburger } from './Old/Hamburger/Hamburger';
|
|
102
|
+
|
|
103
|
+
export type { Props as IconProps } from './Old/Icon/Icon';
|
|
104
|
+
export type { TypeIconName } from './Old/Icon/Icon';
|
|
105
|
+
export { default as Icon } from './Old/Icon/Icon';
|
|
106
|
+
|
|
107
|
+
export type { Props as ImageProps } from './Old/Image/Image';
|
|
108
|
+
export { default as Image } from './Old/Image/Image';
|
|
109
|
+
|
|
110
|
+
export type { Props as InputProps } from './Old/Input/Input';
|
|
111
|
+
export { default as Input } from './Old/Input/Input';
|
|
112
|
+
|
|
113
|
+
export type { Props as InputContainerProps } from './Old/Input/InputContainer';
|
|
114
|
+
export { default as InputContainer } from './Old/Input/InputContainer';
|
|
115
|
+
|
|
116
|
+
export type { Props as InputContentProps } from './Old/Input/InputContent';
|
|
117
|
+
export { default as InputContent } from './Old/Input/InputContent';
|
|
118
|
+
|
|
119
|
+
export type { Props as InputInlineHelpProps } from './Old/Input/InputInlineHelp';
|
|
120
|
+
export { default as InputInlineHelp } from './Old/Input/InputInlineHelp';
|
|
121
|
+
|
|
122
|
+
export type { Props as InputLabelProps } from './Old/Input/InputLabel';
|
|
123
|
+
export { default as InputLabel } from './Old/Input/InputLabel';
|
|
2
124
|
|
|
3
125
|
export type { LinkProps } from './Components/Link/Link';
|
|
4
126
|
export { default as Link } from './Components/Link/Link';
|
|
5
127
|
|
|
128
|
+
export type { Props as ListProps } from './Old/List/List';
|
|
129
|
+
export { default as List } from './Old/List/List';
|
|
130
|
+
|
|
131
|
+
export type { Props as ListItemProps } from './Old/List/ListItem';
|
|
132
|
+
export { default as ListItem } from './Old/List/ListItem';
|
|
133
|
+
|
|
134
|
+
export type { Props as LogoProps } from './Old/Logo/Logo';
|
|
135
|
+
export { default as Logo } from './Old/Logo/Logo';
|
|
136
|
+
|
|
137
|
+
export type { Props as ModalProps } from './Old/Modal/Modal';
|
|
138
|
+
export { default as Modal } from './Old/Modal/Modal';
|
|
139
|
+
|
|
140
|
+
export type { Props as ModalBodyProps } from './Old/Modal/ModalBody';
|
|
141
|
+
export { default as ModalBody } from './Old/Modal/ModalBody';
|
|
142
|
+
|
|
143
|
+
export type { Props as ModalHeaderProps } from './Old/Modal/ModalHeader';
|
|
144
|
+
// eslint-disable-next-line import/no-cycle
|
|
145
|
+
export { default as ModalHeader } from './Old/Modal/ModalHeader';
|
|
146
|
+
|
|
147
|
+
export type { Props as ModalHeaderProgressProps } from './Old/Modal/ModalHeaderProgress';
|
|
148
|
+
export { default as ModalHeaderProgress } from './Old/Modal/ModalHeaderProgress';
|
|
149
|
+
|
|
150
|
+
export type { Props as ModalTitleProps } from './Old/Modal/ModalTitle';
|
|
151
|
+
export { default as ModalTitle } from './Old/Modal/ModalTitle';
|
|
152
|
+
|
|
153
|
+
export type { Props as NotificationProps } from './Old/Notification/Notification';
|
|
154
|
+
export { default as Notification } from './Old/Notification/Notification';
|
|
155
|
+
|
|
156
|
+
export type { Props as PlacementProps } from './Old/Placement/Placement';
|
|
157
|
+
export { default as Placement } from './Old/Placement/Placement';
|
|
158
|
+
|
|
159
|
+
export type { Props as PlacementAreaProps } from './Old/Placement/PlacementArea';
|
|
160
|
+
export { default as PlacementArea } from './Old/Placement/PlacementArea';
|
|
161
|
+
|
|
162
|
+
export type { Props as PlacementArrowProps } from './Old/Placement/PlacementArrow';
|
|
163
|
+
export { default as PlacementArrow } from './Old/Placement/PlacementArrow';
|
|
164
|
+
|
|
165
|
+
export type { Props as PlacementManagerProps } from './Old/Placement/PlacementManager';
|
|
166
|
+
export { default as PlacementManager } from './Old/Placement/PlacementManager';
|
|
167
|
+
|
|
168
|
+
export type { Props as PlacementReferenceProps } from './Old/Placement/PlacementReference';
|
|
169
|
+
export { default as PlacementReference } from './Old/Placement/PlacementReference';
|
|
170
|
+
|
|
171
|
+
export type { Props as PortalProps } from './Old/Portal/Portal';
|
|
172
|
+
export { default as Portal } from './Old/Portal/Portal';
|
|
173
|
+
|
|
174
|
+
export type { Props as ProgressBarProps } from './Old/Progress/ProgressBar';
|
|
175
|
+
export { default as ProgressBar } from './Old/Progress/ProgressBar';
|
|
176
|
+
|
|
177
|
+
export type { Props as ProgressButtonProps } from './Old/Progress/ProgressButton';
|
|
178
|
+
export { default as ProgressButton } from './Old/Progress/ProgressButton';
|
|
179
|
+
|
|
180
|
+
export type { Props as ProgressBitbotProps } from './Old/Progress/ProgressBitbot';
|
|
181
|
+
export { default as ProgressBitbot } from './Old/Progress/ProgressBitbot';
|
|
182
|
+
|
|
183
|
+
export type { Props as ProgressColorButtonProps } from './Old/Progress/ProgressColorButton';
|
|
184
|
+
export { default as ProgressColorButton } from './Old/Progress/ProgressColorButton';
|
|
185
|
+
|
|
186
|
+
export type { Props as ProgressSpinnerProps } from './Old/Progress/ProgressSpinner';
|
|
187
|
+
export { default as ProgressSpinner } from './Old/Progress/ProgressSpinner';
|
|
188
|
+
|
|
189
|
+
export type { Props as RadioButtonProps } from './Old/RadioButton/RadioButton';
|
|
190
|
+
export { default as RadioButton } from './Old/RadioButton/RadioButton';
|
|
191
|
+
|
|
192
|
+
export type { Props as RibbonProps } from './Old/Ribbon/Ribbon';
|
|
193
|
+
export { default as Ribbon } from './Old/Ribbon/Ribbon';
|
|
194
|
+
|
|
195
|
+
export type { Props as SidebarProps } from './Old/Sidebar/Sidebar';
|
|
196
|
+
export { default as Sidebar } from './Old/Sidebar/Sidebar';
|
|
197
|
+
|
|
198
|
+
export type { Props as SidebarHeaderProps } from './Old/Sidebar/SidebarHeader';
|
|
199
|
+
export { default as SidebarHeader } from './Old/Sidebar/SidebarHeader';
|
|
200
|
+
|
|
201
|
+
export type { Props as SidebarMenuProps } from './Old/Sidebar/SidebarMenu';
|
|
202
|
+
export { default as SidebarMenu } from './Old/Sidebar/SidebarMenu';
|
|
203
|
+
|
|
204
|
+
export type { Props as SidebarMenuItemProps } from './Old/Sidebar/SidebarMenuItem';
|
|
205
|
+
export { default as SidebarMenuItem } from './Old/Sidebar/SidebarMenuItem';
|
|
206
|
+
|
|
207
|
+
export type { Props as SidebarSubMenuProps } from './Old/Sidebar/SidebarSubMenu';
|
|
208
|
+
export { default as SidebarSubMenu } from './Old/Sidebar/SidebarSubMenu';
|
|
209
|
+
|
|
210
|
+
export type { Props as SidebarSubMenuItemProps } from './Old/Sidebar/SidebarSubMenuItem';
|
|
211
|
+
export { default as SidebarSubMenuItem } from './Old/Sidebar/SidebarSubMenuItem';
|
|
212
|
+
|
|
213
|
+
export type { Props as SkeletonProps } from './Old/Skeleton/Skeleton';
|
|
214
|
+
export { default as Skeleton } from './Old/Skeleton/Skeleton';
|
|
215
|
+
|
|
216
|
+
export type { Props as SkeletonBoxProps } from './Old/Skeleton/SkeletonBox';
|
|
217
|
+
export { default as SkeletonBox } from './Old/Skeleton/SkeletonBox';
|
|
218
|
+
|
|
219
|
+
export type { Props as Status404Props } from './Old/Status/Status404';
|
|
220
|
+
export { default as Status404 } from './Old/Status/Status404';
|
|
221
|
+
|
|
222
|
+
export type { Props as Status500Props } from './Old/Status/Status500';
|
|
223
|
+
export { default as Status500 } from './Old/Status/Status500';
|
|
224
|
+
|
|
225
|
+
export type { Props as TableProps } from './Old/Table/Table';
|
|
226
|
+
export { default as Table } from './Old/Table/Table';
|
|
227
|
+
|
|
228
|
+
export type { Props as TableBodyProps } from './Old/Table/TableBody';
|
|
229
|
+
export { default as TableBody } from './Old/Table/TableBody';
|
|
230
|
+
|
|
231
|
+
export type { Props as TableCellProps } from './Old/Table/TableCell';
|
|
232
|
+
export { default as TableCell } from './Old/Table/TableCell';
|
|
233
|
+
|
|
234
|
+
export type { Props as TableHeaderProps } from './Old/Table/TableHeader';
|
|
235
|
+
export { default as TableHeader } from './Old/Table/TableHeader';
|
|
236
|
+
|
|
237
|
+
export type { Props as TableHeaderCellProps } from './Old/Table/TableHeaderCell';
|
|
238
|
+
export type { TypeTableSort } from './Old/Table/TableHeaderCell';
|
|
239
|
+
export { default as TableHeaderCell } from './Old/Table/TableHeaderCell';
|
|
240
|
+
|
|
241
|
+
export type { Props as TableHeaderRowProps } from './Old/Table/TableHeaderRow';
|
|
242
|
+
export { default as TableHeaderRow } from './Old/Table/TableHeaderRow';
|
|
243
|
+
|
|
244
|
+
export type { Props as TableRowProps } from './Old/Table/TableRow';
|
|
245
|
+
export { default as TableRow } from './Old/Table/TableRow';
|
|
246
|
+
|
|
247
|
+
export type { Props as TabProps } from './Old/Tabs/Tab';
|
|
248
|
+
export { default as Tab } from './Old/Tabs/Tab';
|
|
249
|
+
|
|
250
|
+
export type { Props as TabsProps } from './Old/Tabs/Tabs';
|
|
251
|
+
export { default as Tabs } from './Old/Tabs/Tabs';
|
|
252
|
+
|
|
253
|
+
export type { Props as TextProps } from './Old/Text/Text';
|
|
254
|
+
export type { TypeTextLetterSpacing } from './Old/Text/Text';
|
|
255
|
+
export type { TypeTextSize } from './Old/Text/Text';
|
|
256
|
+
export type { TypeTextWeight } from './Old/Text/Text';
|
|
257
|
+
export { default as Text } from './Old/Text/Text';
|
|
258
|
+
|
|
259
|
+
export type { Props as TextareaProps } from './Old/Textarea/Textarea';
|
|
260
|
+
export { default as Textarea } from './Old/Textarea/Textarea';
|
|
261
|
+
|
|
262
|
+
export type { Props as ToggleProps } from './Old/Toggle/Toggle';
|
|
263
|
+
export { default as Toggle } from './Old/Toggle/Toggle';
|
|
264
|
+
|
|
265
|
+
export type { Props as TooltipProps } from './Old/Tooltip/Tooltip';
|
|
266
|
+
export { default as Tooltip } from './Old/Tooltip/Tooltip';
|
|
267
|
+
|
|
268
|
+
export type { Props as VisibilityProps } from './Old/Visibility/Visibility';
|
|
269
|
+
export { default as Visibility } from './Old/Visibility/Visibility';
|
|
270
|
+
|
|
271
|
+
export type { Props as VisibilityContainerProps } from './Old/Visibility/VisibilityContainer';
|
|
272
|
+
export { default as VisibilityContainer } from './Old/Visibility/VisibilityContainer';
|
|
273
|
+
|
|
6
274
|
export { default as Provider } from './Components/Provider/Provider';
|
|
7
275
|
export { default as theme } from './theme';
|
|
8
276
|
|
|
@@ -15,8 +283,8 @@ export { default as OverflowMenuItem } from './Components/OverflowMenu/OverflowM
|
|
|
15
283
|
export type { DividerProps } from './Components/Divider/Divider';
|
|
16
284
|
export { default as Divider } from './Components/Divider/Divider';
|
|
17
285
|
|
|
18
|
-
export type {
|
|
19
|
-
export { default as
|
|
286
|
+
export type { CardProps } from './Components/Card/Card';
|
|
287
|
+
export { default as Card } from './Components/Card/Card';
|
|
20
288
|
|
|
21
|
-
export type {
|
|
22
|
-
export { default as
|
|
289
|
+
export type { CardContentProps } from './Components/Card/CardContent';
|
|
290
|
+
export { default as CardContent } from './Components/Card/CardContent';
|