@aic-kits/react 0.24.6 → 0.24.7
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/Skeleton/SkeletonBackground.d.ts +2 -1
- package/dist/components/Skeleton/SkeletonWrapper.d.ts +2 -1
- package/dist/components/Skeleton/types.d.ts +2 -1
- package/dist/index.cjs +9 -8
- package/dist/index.js +232 -208
- package/dist/theme/components/skeleton.d.ts +5 -5
- package/package.json +2 -2
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { SkeletonVariant } from '../../theme';
|
|
1
2
|
interface SkeletonBackgroundProps {
|
|
2
3
|
$visible: boolean;
|
|
3
|
-
$variant:
|
|
4
|
+
$variant: SkeletonVariant;
|
|
4
5
|
$duration?: number;
|
|
5
6
|
}
|
|
6
7
|
export declare const SkeletonBackground: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, SkeletonBackgroundProps>> & string;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
+
import { SkeletonVariant } from '../../theme';
|
|
2
3
|
import { BoxProps } from '../Box';
|
|
3
4
|
interface SkeletonWrapperProps extends BoxProps {
|
|
4
5
|
/**
|
|
@@ -8,7 +9,7 @@ interface SkeletonWrapperProps extends BoxProps {
|
|
|
8
9
|
/**
|
|
9
10
|
* Style of the skeleton
|
|
10
11
|
*/
|
|
11
|
-
variant:
|
|
12
|
+
variant: SkeletonVariant;
|
|
12
13
|
/**
|
|
13
14
|
* Duration of the animation in ms
|
|
14
15
|
*/
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { SkeletonVariant } from '../../theme';
|
|
1
2
|
import { BoxProps } from '../Box';
|
|
2
3
|
export interface SkeletonProps extends BoxProps {
|
|
3
4
|
/**
|
|
@@ -7,7 +8,7 @@ export interface SkeletonProps extends BoxProps {
|
|
|
7
8
|
/**
|
|
8
9
|
* Style of the skeleton
|
|
9
10
|
*/
|
|
10
|
-
variant?:
|
|
11
|
+
variant?: SkeletonVariant;
|
|
11
12
|
/**
|
|
12
13
|
* Children to render when not in skeleton state
|
|
13
14
|
*/
|