@codemonster-ru/vueforge 0.20.0 → 0.21.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/README.md +22 -2
- package/dist/index.css +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.ts.mjs +860 -825
- package/dist/index.ts.umd.js +3 -3
- package/dist/package/components/__tests__/skeleton.test.d.ts +1 -0
- package/dist/package/components/skeleton.vue.d.ts +12 -0
- package/dist/package/config/theme-core.d.ts +10 -0
- package/dist/package/themes/default/components/skeleton.d.ts +10 -0
- package/dist/package/themes/default/index.d.ts +9 -0
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
type Variant = 'text' | 'rect' | 'circle';
|
|
2
|
+
interface Props {
|
|
3
|
+
width?: string | number;
|
|
4
|
+
height?: string | number;
|
|
5
|
+
variant?: Variant;
|
|
6
|
+
animated?: boolean;
|
|
7
|
+
}
|
|
8
|
+
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
9
|
+
variant: Variant;
|
|
10
|
+
animated: boolean;
|
|
11
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
12
|
+
export default _default;
|
|
@@ -425,6 +425,15 @@ export type TooltipTokens = {
|
|
|
425
425
|
maxWidth?: string;
|
|
426
426
|
arrowSize?: string;
|
|
427
427
|
};
|
|
428
|
+
export type SkeletonTokens = {
|
|
429
|
+
width?: string;
|
|
430
|
+
height?: string;
|
|
431
|
+
lineHeight?: string;
|
|
432
|
+
borderRadius?: string;
|
|
433
|
+
backgroundColor?: string;
|
|
434
|
+
shimmerColor?: string;
|
|
435
|
+
animationDuration?: string;
|
|
436
|
+
};
|
|
428
437
|
export type ToastTokens = {
|
|
429
438
|
gap?: string;
|
|
430
439
|
padding?: string;
|
|
@@ -524,6 +533,7 @@ export type ThemeComponentTokens = {
|
|
|
524
533
|
pagination?: PaginationTokens;
|
|
525
534
|
switch?: SwitchTokens;
|
|
526
535
|
tooltip?: TooltipTokens;
|
|
536
|
+
skeleton?: SkeletonTokens;
|
|
527
537
|
toast?: ToastTokens;
|
|
528
538
|
alert?: AlertTokens;
|
|
529
539
|
[key: string]: unknown;
|
|
@@ -607,6 +607,15 @@ declare const _default: {
|
|
|
607
607
|
maxWidth: string;
|
|
608
608
|
arrowSize: string;
|
|
609
609
|
};
|
|
610
|
+
skeleton: {
|
|
611
|
+
width: string;
|
|
612
|
+
height: string;
|
|
613
|
+
lineHeight: string;
|
|
614
|
+
borderRadius: string;
|
|
615
|
+
backgroundColor: string;
|
|
616
|
+
shimmerColor: string;
|
|
617
|
+
animationDuration: string;
|
|
618
|
+
};
|
|
610
619
|
toast: {
|
|
611
620
|
gap: string;
|
|
612
621
|
padding: string;
|