@codemonster-ru/vueforge 0.23.0 → 0.24.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 +38 -2
- package/dist/index.css +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.ts.mjs +1054 -935
- package/dist/index.ts.umd.js +3 -3
- package/dist/package/components/__tests__/progress.test.d.ts +1 -0
- package/dist/package/components/progress.vue.d.ts +36 -0
- package/dist/package/config/theme-core.d.ts +38 -0
- package/dist/package/themes/default/components/progress.d.ts +38 -0
- package/dist/package/themes/default/index.d.ts +37 -0
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
type ProgressVariant = 'linear' | 'circular';
|
|
2
|
+
type ProgressSize = 'small' | 'normal' | 'large';
|
|
3
|
+
type ProgressSeverity = 'neutral' | 'info' | 'success' | 'warn' | 'danger';
|
|
4
|
+
interface Props {
|
|
5
|
+
value?: number | null;
|
|
6
|
+
variant?: ProgressVariant;
|
|
7
|
+
size?: ProgressSize;
|
|
8
|
+
label?: string;
|
|
9
|
+
showValue?: boolean;
|
|
10
|
+
severity?: ProgressSeverity;
|
|
11
|
+
ariaLabel?: string;
|
|
12
|
+
}
|
|
13
|
+
declare function __VLS_template(): {
|
|
14
|
+
attrs: Partial<{}>;
|
|
15
|
+
slots: {
|
|
16
|
+
default?(_: {}): any;
|
|
17
|
+
};
|
|
18
|
+
refs: {};
|
|
19
|
+
rootEl: HTMLDivElement;
|
|
20
|
+
};
|
|
21
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
22
|
+
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
23
|
+
label: string;
|
|
24
|
+
size: ProgressSize;
|
|
25
|
+
variant: ProgressVariant;
|
|
26
|
+
severity: ProgressSeverity;
|
|
27
|
+
ariaLabel: string;
|
|
28
|
+
showValue: boolean;
|
|
29
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
30
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
31
|
+
export default _default;
|
|
32
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
33
|
+
new (): {
|
|
34
|
+
$slots: S;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
@@ -466,6 +466,43 @@ export type SkeletonTokens = {
|
|
|
466
466
|
shimmerColor?: string;
|
|
467
467
|
animationDuration?: string;
|
|
468
468
|
};
|
|
469
|
+
export type ProgressTokens = {
|
|
470
|
+
width?: string;
|
|
471
|
+
height?: string;
|
|
472
|
+
borderRadius?: string;
|
|
473
|
+
backgroundColor?: string;
|
|
474
|
+
barColor?: string;
|
|
475
|
+
labelColor?: string;
|
|
476
|
+
labelFontSize?: string;
|
|
477
|
+
gap?: string;
|
|
478
|
+
circularSize?: string;
|
|
479
|
+
circularThickness?: string;
|
|
480
|
+
animationDuration?: string;
|
|
481
|
+
info?: {
|
|
482
|
+
barColor?: string;
|
|
483
|
+
};
|
|
484
|
+
success?: {
|
|
485
|
+
barColor?: string;
|
|
486
|
+
};
|
|
487
|
+
warn?: {
|
|
488
|
+
barColor?: string;
|
|
489
|
+
};
|
|
490
|
+
danger?: {
|
|
491
|
+
barColor?: string;
|
|
492
|
+
};
|
|
493
|
+
small?: {
|
|
494
|
+
height?: string;
|
|
495
|
+
labelFontSize?: string;
|
|
496
|
+
circularSize?: string;
|
|
497
|
+
circularThickness?: string;
|
|
498
|
+
};
|
|
499
|
+
large?: {
|
|
500
|
+
height?: string;
|
|
501
|
+
labelFontSize?: string;
|
|
502
|
+
circularSize?: string;
|
|
503
|
+
circularThickness?: string;
|
|
504
|
+
};
|
|
505
|
+
};
|
|
469
506
|
export type DataTableTokens = {
|
|
470
507
|
borderColor?: string;
|
|
471
508
|
borderRadius?: string;
|
|
@@ -599,6 +636,7 @@ export type ThemeComponentTokens = {
|
|
|
599
636
|
switch?: SwitchTokens;
|
|
600
637
|
tooltip?: TooltipTokens;
|
|
601
638
|
skeleton?: SkeletonTokens;
|
|
639
|
+
progress?: ProgressTokens;
|
|
602
640
|
datatable?: DataTableTokens;
|
|
603
641
|
toast?: ToastTokens;
|
|
604
642
|
alert?: AlertTokens;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
width: string;
|
|
3
|
+
height: string;
|
|
4
|
+
borderRadius: string;
|
|
5
|
+
backgroundColor: string;
|
|
6
|
+
barColor: string;
|
|
7
|
+
labelColor: string;
|
|
8
|
+
labelFontSize: string;
|
|
9
|
+
gap: string;
|
|
10
|
+
circularSize: string;
|
|
11
|
+
circularThickness: string;
|
|
12
|
+
animationDuration: string;
|
|
13
|
+
info: {
|
|
14
|
+
barColor: string;
|
|
15
|
+
};
|
|
16
|
+
success: {
|
|
17
|
+
barColor: string;
|
|
18
|
+
};
|
|
19
|
+
warn: {
|
|
20
|
+
barColor: string;
|
|
21
|
+
};
|
|
22
|
+
danger: {
|
|
23
|
+
barColor: string;
|
|
24
|
+
};
|
|
25
|
+
small: {
|
|
26
|
+
height: string;
|
|
27
|
+
labelFontSize: string;
|
|
28
|
+
circularSize: string;
|
|
29
|
+
circularThickness: string;
|
|
30
|
+
};
|
|
31
|
+
large: {
|
|
32
|
+
height: string;
|
|
33
|
+
labelFontSize: string;
|
|
34
|
+
circularSize: string;
|
|
35
|
+
circularThickness: string;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
export default _default;
|
|
@@ -759,6 +759,43 @@ declare const _default: {
|
|
|
759
759
|
textColor: string;
|
|
760
760
|
};
|
|
761
761
|
};
|
|
762
|
+
progress: {
|
|
763
|
+
width: string;
|
|
764
|
+
height: string;
|
|
765
|
+
borderRadius: string;
|
|
766
|
+
backgroundColor: string;
|
|
767
|
+
barColor: string;
|
|
768
|
+
labelColor: string;
|
|
769
|
+
labelFontSize: string;
|
|
770
|
+
gap: string;
|
|
771
|
+
circularSize: string;
|
|
772
|
+
circularThickness: string;
|
|
773
|
+
animationDuration: string;
|
|
774
|
+
info: {
|
|
775
|
+
barColor: string;
|
|
776
|
+
};
|
|
777
|
+
success: {
|
|
778
|
+
barColor: string;
|
|
779
|
+
};
|
|
780
|
+
warn: {
|
|
781
|
+
barColor: string;
|
|
782
|
+
};
|
|
783
|
+
danger: {
|
|
784
|
+
barColor: string;
|
|
785
|
+
};
|
|
786
|
+
small: {
|
|
787
|
+
height: string;
|
|
788
|
+
labelFontSize: string;
|
|
789
|
+
circularSize: string;
|
|
790
|
+
circularThickness: string;
|
|
791
|
+
};
|
|
792
|
+
large: {
|
|
793
|
+
height: string;
|
|
794
|
+
labelFontSize: string;
|
|
795
|
+
circularSize: string;
|
|
796
|
+
circularThickness: string;
|
|
797
|
+
};
|
|
798
|
+
};
|
|
762
799
|
};
|
|
763
800
|
colors: {
|
|
764
801
|
white: string;
|