@aic-kits/react 0.3.1 → 0.4.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/dist/components/Art/types.d.ts +3 -2
- package/dist/components/Art/utils.d.ts +1 -1
- package/dist/index.cjs +53 -45
- package/dist/index.js +1196 -1202
- package/dist/theme/common/sizes.d.ts +1 -1
- package/dist/theme/getTheme.d.ts +2 -1
- package/package.json +2 -2
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
+
import { Size } from '../../theme/common';
|
|
2
3
|
import { BoxProps } from '../Box';
|
|
3
4
|
export interface BaseArtProps extends BoxProps {
|
|
4
5
|
/**
|
|
@@ -8,7 +9,7 @@ export interface BaseArtProps extends BoxProps {
|
|
|
8
9
|
/**
|
|
9
10
|
* Height of the art
|
|
10
11
|
*/
|
|
11
|
-
height?: string | number;
|
|
12
|
+
height?: Size | string | number;
|
|
12
13
|
/**
|
|
13
14
|
* Testing id of the component
|
|
14
15
|
*/
|
|
@@ -50,7 +51,7 @@ export interface SvgArtProps extends BaseArtProps {
|
|
|
50
51
|
/**
|
|
51
52
|
* SVG content
|
|
52
53
|
*/
|
|
53
|
-
art: string;
|
|
54
|
+
art: React.FunctionComponent<React.SVGAttributes<SVGElement>> | string;
|
|
54
55
|
}
|
|
55
56
|
export interface ImageArtProps extends BaseArtProps {
|
|
56
57
|
/**
|