@codemonster-ru/vueforge 0.72.0 → 0.74.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 +34 -3279
- package/dist/index.css +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.ts.mjs +1912 -1843
- package/dist/index.ts.umd.js +4 -4
- package/dist/package/components/__tests__/container.test.d.ts +1 -0
- package/dist/package/components/__tests__/section.test.d.ts +1 -0
- package/dist/package/components/button-group.vue.d.ts +1 -1
- package/dist/package/components/button.vue.d.ts +1 -1
- package/dist/package/components/chip.vue.d.ts +1 -1
- package/dist/package/components/container.vue.d.ts +29 -0
- package/dist/package/components/date-range-picker.vue.d.ts +1 -1
- package/dist/package/components/empty-state.vue.d.ts +1 -1
- package/dist/package/components/form-field.vue.d.ts +1 -1
- package/dist/package/components/section.vue.d.ts +29 -0
- package/dist/package/components/stepper.vue.d.ts +1 -1
- package/dist/package/components/timeline.vue.d.ts +1 -1
- package/dist/package/components/tree-select.vue.d.ts +1 -1
- package/dist/package/components/tree.vue.d.ts +1 -1
- package/dist/package/config/theme-core.d.ts +21 -0
- package/dist/package/themes/default/components/container.d.ts +11 -0
- package/dist/package/themes/default/components/section.d.ts +10 -0
- package/dist/package/themes/default/index.d.ts +19 -0
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -21,8 +21,8 @@ declare function __VLS_template(): {
|
|
|
21
21
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
22
22
|
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
23
23
|
disabled: boolean;
|
|
24
|
-
orientation: Orientation;
|
|
25
24
|
size: Size;
|
|
25
|
+
orientation: Orientation;
|
|
26
26
|
variant: Variant;
|
|
27
27
|
severity: Severity;
|
|
28
28
|
attached: boolean;
|
|
@@ -32,8 +32,8 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {},
|
|
|
32
32
|
type: string;
|
|
33
33
|
label: string;
|
|
34
34
|
disabled: boolean;
|
|
35
|
-
icon: string;
|
|
36
35
|
size: string;
|
|
36
|
+
icon: string;
|
|
37
37
|
loading: boolean;
|
|
38
38
|
rounded: boolean;
|
|
39
39
|
iconPos: "top" | "right" | "bottom" | "left";
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
type Size = 'sm' | 'md' | 'lg' | 'xl' | 'full';
|
|
2
|
+
interface Props {
|
|
3
|
+
as?: string;
|
|
4
|
+
size?: Size;
|
|
5
|
+
maxWidth?: string;
|
|
6
|
+
paddingX?: string;
|
|
7
|
+
}
|
|
8
|
+
declare function __VLS_template(): {
|
|
9
|
+
attrs: Partial<{}>;
|
|
10
|
+
slots: {
|
|
11
|
+
default?(_: {}): any;
|
|
12
|
+
};
|
|
13
|
+
refs: {};
|
|
14
|
+
rootEl: any;
|
|
15
|
+
};
|
|
16
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
17
|
+
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
18
|
+
as: string;
|
|
19
|
+
size: Size;
|
|
20
|
+
maxWidth: string;
|
|
21
|
+
paddingX: string;
|
|
22
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
23
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
24
|
+
export default _default;
|
|
25
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
26
|
+
new (): {
|
|
27
|
+
$slots: S;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
@@ -28,8 +28,8 @@ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, imp
|
|
|
28
28
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
29
29
|
}>, {
|
|
30
30
|
disabled: boolean;
|
|
31
|
-
separator: string;
|
|
32
31
|
size: Size;
|
|
32
|
+
separator: string;
|
|
33
33
|
variant: Variant;
|
|
34
34
|
modelValue: DateRangeValue;
|
|
35
35
|
placeholder: string;
|
|
@@ -21,8 +21,8 @@ declare function __VLS_template(): {
|
|
|
21
21
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
22
22
|
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
23
23
|
title: string;
|
|
24
|
-
icon: string;
|
|
25
24
|
size: Size;
|
|
25
|
+
icon: string;
|
|
26
26
|
variant: Variant;
|
|
27
27
|
description: string;
|
|
28
28
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
@@ -29,8 +29,8 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {},
|
|
|
29
29
|
label: string;
|
|
30
30
|
disabled: boolean;
|
|
31
31
|
error: string;
|
|
32
|
-
required: boolean;
|
|
33
32
|
size: Size;
|
|
33
|
+
required: boolean;
|
|
34
34
|
id: string;
|
|
35
35
|
hint: string;
|
|
36
36
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
type Background = 'transparent' | 'surface' | 'muted' | 'elevated';
|
|
2
|
+
interface Props {
|
|
3
|
+
as?: string;
|
|
4
|
+
paddingY?: string;
|
|
5
|
+
background?: Background;
|
|
6
|
+
bordered?: boolean;
|
|
7
|
+
}
|
|
8
|
+
declare function __VLS_template(): {
|
|
9
|
+
attrs: Partial<{}>;
|
|
10
|
+
slots: {
|
|
11
|
+
default?(_: {}): any;
|
|
12
|
+
};
|
|
13
|
+
refs: {};
|
|
14
|
+
rootEl: any;
|
|
15
|
+
};
|
|
16
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
17
|
+
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
18
|
+
as: string;
|
|
19
|
+
paddingY: string;
|
|
20
|
+
background: Background;
|
|
21
|
+
bordered: boolean;
|
|
22
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
23
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
24
|
+
export default _default;
|
|
25
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
26
|
+
new (): {
|
|
27
|
+
$slots: S;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
@@ -51,8 +51,8 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {},
|
|
|
51
51
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
52
52
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
53
53
|
}>, {
|
|
54
|
-
orientation: StepperOrientation;
|
|
55
54
|
size: StepperSize;
|
|
55
|
+
orientation: StepperOrientation;
|
|
56
56
|
modelValue: StepperValue;
|
|
57
57
|
ariaLabel: string;
|
|
58
58
|
ariaLabelledby: string;
|
|
@@ -33,9 +33,9 @@ declare function __VLS_template(): {
|
|
|
33
33
|
};
|
|
34
34
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
35
35
|
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
36
|
+
size: TimelineSize;
|
|
36
37
|
items: Array<TimelineItem>;
|
|
37
38
|
orientation: TimelineOrientation;
|
|
38
|
-
size: TimelineSize;
|
|
39
39
|
ariaLabel: string;
|
|
40
40
|
ariaLabelledby: string;
|
|
41
41
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLElement>;
|
|
@@ -62,8 +62,8 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {},
|
|
|
62
62
|
}>, {
|
|
63
63
|
filter: boolean;
|
|
64
64
|
disabled: boolean;
|
|
65
|
-
items: Array<TreeItem>;
|
|
66
65
|
size: Size;
|
|
66
|
+
items: Array<TreeItem>;
|
|
67
67
|
loading: boolean;
|
|
68
68
|
variant: Variant;
|
|
69
69
|
modelValue: TreeValue | TreeValue[];
|
|
@@ -51,8 +51,8 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {},
|
|
|
51
51
|
onNodeClick?: ((...args: any[]) => any) | undefined;
|
|
52
52
|
}>, {
|
|
53
53
|
disabled: boolean;
|
|
54
|
-
items: Array<TreeItem>;
|
|
55
54
|
size: "small" | "normal" | "large";
|
|
55
|
+
items: Array<TreeItem>;
|
|
56
56
|
variant: "filled" | "outlined";
|
|
57
57
|
modelValue: TreeValue | TreeValue[];
|
|
58
58
|
ariaLabel: string;
|
|
@@ -32,6 +32,25 @@ export type CardTokens = {
|
|
|
32
32
|
borderColor?: string;
|
|
33
33
|
borderRadius?: string;
|
|
34
34
|
};
|
|
35
|
+
export type ContainerTokens = {
|
|
36
|
+
maxWidth?: string;
|
|
37
|
+
maxWidthSm?: string;
|
|
38
|
+
maxWidthMd?: string;
|
|
39
|
+
maxWidthLg?: string;
|
|
40
|
+
maxWidthXl?: string;
|
|
41
|
+
paddingX?: string;
|
|
42
|
+
paddingXSm?: string;
|
|
43
|
+
paddingXLg?: string;
|
|
44
|
+
};
|
|
45
|
+
export type SectionTokens = {
|
|
46
|
+
paddingY?: string;
|
|
47
|
+
paddingYSm?: string;
|
|
48
|
+
paddingYLg?: string;
|
|
49
|
+
backgroundColorSurface?: string;
|
|
50
|
+
backgroundColorMuted?: string;
|
|
51
|
+
backgroundColorElevated?: string;
|
|
52
|
+
borderColor?: string;
|
|
53
|
+
};
|
|
35
54
|
export type CheckboxTokens = {
|
|
36
55
|
size?: string;
|
|
37
56
|
gap?: string;
|
|
@@ -2120,6 +2139,8 @@ export type ThemeComponentTokens = {
|
|
|
2120
2139
|
button?: ButtonTokens;
|
|
2121
2140
|
buttonGroup?: ButtonGroupTokens;
|
|
2122
2141
|
card?: CardTokens;
|
|
2142
|
+
container?: ContainerTokens;
|
|
2143
|
+
section?: SectionTokens;
|
|
2123
2144
|
checkbox?: CheckboxTokens;
|
|
2124
2145
|
radio?: RadioTokens;
|
|
2125
2146
|
tabs?: TabsTokens;
|
|
@@ -217,6 +217,25 @@ declare const _default: {
|
|
|
217
217
|
borderColor: string;
|
|
218
218
|
borderRadius: string;
|
|
219
219
|
};
|
|
220
|
+
container: {
|
|
221
|
+
maxWidth: string;
|
|
222
|
+
maxWidthSm: string;
|
|
223
|
+
maxWidthMd: string;
|
|
224
|
+
maxWidthLg: string;
|
|
225
|
+
maxWidthXl: string;
|
|
226
|
+
paddingX: string;
|
|
227
|
+
paddingXSm: string;
|
|
228
|
+
paddingXLg: string;
|
|
229
|
+
};
|
|
230
|
+
section: {
|
|
231
|
+
paddingY: string;
|
|
232
|
+
paddingYSm: string;
|
|
233
|
+
paddingYLg: string;
|
|
234
|
+
backgroundColorSurface: string;
|
|
235
|
+
backgroundColorMuted: string;
|
|
236
|
+
backgroundColorElevated: string;
|
|
237
|
+
borderColor: string;
|
|
238
|
+
};
|
|
220
239
|
input: {
|
|
221
240
|
gap: string;
|
|
222
241
|
fontSize: string;
|