@sabrenski/spire-ui-vue 0.2.12 → 0.2.13

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.
@@ -0,0 +1,7 @@
1
+ import { SkeletonProps, SkeletonVariant } from './types';
2
+ declare const _default: import('vue').DefineComponent<SkeletonProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<SkeletonProps> & Readonly<{}>, {
3
+ variant: SkeletonVariant;
4
+ disableAnimation: boolean;
5
+ lines: number;
6
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
7
+ export default _default;
@@ -0,0 +1,2 @@
1
+ export { default as Skeleton } from './Skeleton.vue';
2
+ export type { SkeletonProps, SkeletonVariant } from './types';
@@ -0,0 +1,13 @@
1
+ export type SkeletonVariant = 'text' | 'circular' | 'rectangular';
2
+ export interface SkeletonProps {
3
+ /** Shape variant of the skeleton */
4
+ variant?: SkeletonVariant;
5
+ /** Width of the skeleton (CSS value like '100px', '50%', 'full') */
6
+ width?: string;
7
+ /** Height of the skeleton (CSS value like '20px', '1rem') */
8
+ height?: string;
9
+ /** Number of skeleton lines (only for text variant) */
10
+ lines?: number;
11
+ /** Disable the pulse animation */
12
+ disableAnimation?: boolean;
13
+ }
@@ -43,6 +43,7 @@ export * from './Radio';
43
43
  export * from './Rating';
44
44
  export * from './SearchInput';
45
45
  export * from './Select';
46
+ export * from './Skeleton';
46
47
  export * from './Sidebar';
47
48
  export * from './Slider';
48
49
  export * from './Sparkline';