@codemonster-ru/vueforge 0.29.0 → 0.31.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.
@@ -0,0 +1 @@
1
+ export {};
@@ -28,6 +28,8 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {},
28
28
  size: AccordionSize;
29
29
  variant: AccordionVariant;
30
30
  modelValue: AccordionValue | AccordionValue[];
31
+ ariaLabel: string;
32
+ ariaLabelledby: string;
31
33
  multiple: boolean;
32
34
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
33
35
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
@@ -0,0 +1,47 @@
1
+ type ChipVariant = 'solid' | 'soft' | 'outline';
2
+ type ChipSize = 'small' | 'normal' | 'large';
3
+ type ChipSeverity = 'neutral' | 'info' | 'success' | 'warn' | 'danger';
4
+ interface Props {
5
+ label?: string;
6
+ size?: ChipSize;
7
+ variant?: ChipVariant;
8
+ severity?: ChipSeverity;
9
+ disabled?: boolean;
10
+ closable?: boolean;
11
+ icon?: string;
12
+ ariaLabel?: string;
13
+ closeLabel?: string;
14
+ }
15
+ declare function __VLS_template(): {
16
+ attrs: Partial<{}>;
17
+ slots: {
18
+ icon?(_: {}): any;
19
+ default?(_: {}): any;
20
+ close?(_: {}): any;
21
+ };
22
+ refs: {};
23
+ rootEl: HTMLSpanElement;
24
+ };
25
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
26
+ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
27
+ close: (...args: any[]) => void;
28
+ }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
29
+ onClose?: ((...args: any[]) => any) | undefined;
30
+ }>, {
31
+ label: string;
32
+ disabled: boolean;
33
+ icon: string;
34
+ size: ChipSize;
35
+ variant: ChipVariant;
36
+ severity: ChipSeverity;
37
+ ariaLabel: string;
38
+ closable: boolean;
39
+ closeLabel: string;
40
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
41
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
42
+ export default _default;
43
+ type __VLS_WithTemplateSlots<T, S> = T & {
44
+ new (): {
45
+ $slots: S;
46
+ };
47
+ };
@@ -61,10 +61,10 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {},
61
61
  size: Size;
62
62
  loading: boolean;
63
63
  variant: Variant;
64
+ ariaLabel: string;
64
65
  rows: Array<Record<string, unknown>>;
65
66
  loadingText: string;
66
67
  emptyText: string;
67
- ariaLabel: string;
68
68
  columns: Array<DataTableColumn>;
69
69
  rowKey: string | ((row: Record<string, unknown>, index: number) => string | number);
70
70
  sortable: boolean;
@@ -0,0 +1,59 @@
1
+ type Size = 'small' | 'normal' | 'large';
2
+ type Variant = 'filled' | 'outlined';
3
+ interface Props {
4
+ modelValue?: number | null;
5
+ min?: number;
6
+ max?: number;
7
+ step?: number;
8
+ precision?: number;
9
+ placeholder?: string;
10
+ disabled?: boolean;
11
+ readonly?: boolean;
12
+ size?: Size;
13
+ variant?: Variant;
14
+ controls?: boolean;
15
+ ariaLabel?: string;
16
+ }
17
+ declare function __VLS_template(): {
18
+ attrs: Partial<{}>;
19
+ slots: {
20
+ prefix?(_: {}): any;
21
+ suffix?(_: {}): any;
22
+ };
23
+ refs: {};
24
+ rootEl: HTMLDivElement;
25
+ };
26
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
27
+ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
28
+ blur: (...args: any[]) => void;
29
+ change: (...args: any[]) => void;
30
+ focus: (...args: any[]) => void;
31
+ input: (...args: any[]) => void;
32
+ "update:modelValue": (...args: any[]) => void;
33
+ }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
34
+ onBlur?: ((...args: any[]) => any) | undefined;
35
+ onChange?: ((...args: any[]) => any) | undefined;
36
+ onFocus?: ((...args: any[]) => any) | undefined;
37
+ onInput?: ((...args: any[]) => any) | undefined;
38
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
39
+ }>, {
40
+ disabled: boolean;
41
+ size: Size;
42
+ variant: Variant;
43
+ modelValue: number | null;
44
+ placeholder: string;
45
+ readonly: boolean;
46
+ min: number;
47
+ max: number;
48
+ step: number;
49
+ precision: number;
50
+ controls: boolean;
51
+ ariaLabel: string;
52
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
53
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
54
+ export default _default;
55
+ type __VLS_WithTemplateSlots<T, S> = T & {
56
+ new (): {
57
+ $slots: S;
58
+ };
59
+ };
@@ -24,6 +24,7 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {},
24
24
  size: ProgressSize;
25
25
  variant: ProgressVariant;
26
26
  severity: ProgressSeverity;
27
+ value: number | null;
27
28
  ariaLabel: string;
28
29
  showValue: boolean;
29
30
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
@@ -25,6 +25,7 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {},
25
25
  }>, {
26
26
  label: string;
27
27
  disabled: boolean;
28
+ name: string;
28
29
  variant: RadioVariant;
29
30
  modelValue: string | number | boolean | null;
30
31
  value: string | number | boolean | null;
@@ -26,9 +26,12 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {},
26
26
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
27
27
  }>, {
28
28
  disabled: boolean;
29
+ name: string;
29
30
  variant: RadioVariant;
30
31
  modelValue: string | number | boolean | null;
32
+ ariaLabel: string;
31
33
  direction: Direction;
34
+ ariaLabelledby: string;
32
35
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
33
36
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
34
37
  export default _default;
@@ -7,6 +7,8 @@ interface Props {
7
7
  }
8
8
  declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
9
9
  variant: Variant;
10
+ width: string | number;
11
+ height: string | number;
10
12
  animated: boolean;
11
13
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
12
14
  export default _default;
@@ -35,6 +35,7 @@ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, imp
35
35
  disabled: boolean;
36
36
  size: Size;
37
37
  variant: Variant;
38
+ modelValue: number | [number, number];
38
39
  range: boolean;
39
40
  min: number;
40
41
  max: number;
@@ -28,6 +28,8 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {},
28
28
  disabled: boolean;
29
29
  orientation: TabsOrientation;
30
30
  modelValue: TabValue;
31
+ ariaLabel: string;
32
+ ariaLabelledby: string;
31
33
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
32
34
  list: HTMLDivElement;
33
35
  }, HTMLDivElement>;
@@ -77,6 +77,40 @@ export type InputTokens = {
77
77
  fontSize?: string;
78
78
  };
79
79
  };
80
+ export type NumberInputTokens = {
81
+ gap?: string;
82
+ fontSize?: string;
83
+ padding?: string;
84
+ borderRadius?: string;
85
+ borderColor?: string;
86
+ backgroundColor?: string;
87
+ textColor?: string;
88
+ placeholderColor?: string;
89
+ focusBorderColor?: string;
90
+ focusRingShadow?: string;
91
+ hoverBorderColor?: string;
92
+ disabledOpacity?: string;
93
+ controlWidth?: string;
94
+ controlGap?: string;
95
+ controlFontSize?: string;
96
+ controlRadius?: string;
97
+ controlBackgroundColor?: string;
98
+ controlHoverBackgroundColor?: string;
99
+ controlTextColor?: string;
100
+ controlBorderColor?: string;
101
+ small?: {
102
+ padding?: string;
103
+ fontSize?: string;
104
+ controlWidth?: string;
105
+ controlFontSize?: string;
106
+ };
107
+ large?: {
108
+ padding?: string;
109
+ fontSize?: string;
110
+ controlWidth?: string;
111
+ controlFontSize?: string;
112
+ };
113
+ };
80
114
  export type FormFieldTokens = {
81
115
  gap?: string;
82
116
  textColor?: string;
@@ -723,6 +757,53 @@ export type BadgeTokens = {
723
757
  paddingY?: string;
724
758
  };
725
759
  };
760
+ type ChipSeverityTokens = {
761
+ backgroundColor?: string;
762
+ textColor?: string;
763
+ borderColor?: string;
764
+ softBackgroundColor?: string;
765
+ softTextColor?: string;
766
+ softBorderColor?: string;
767
+ outlineTextColor?: string;
768
+ outlineBorderColor?: string;
769
+ };
770
+ export type ChipTokens = {
771
+ fontSize?: string;
772
+ lineHeight?: string;
773
+ paddingX?: string;
774
+ paddingY?: string;
775
+ borderRadius?: string;
776
+ gap?: string;
777
+ backgroundColor?: string;
778
+ textColor?: string;
779
+ borderColor?: string;
780
+ softBackgroundColor?: string;
781
+ softTextColor?: string;
782
+ softBorderColor?: string;
783
+ outlineTextColor?: string;
784
+ outlineBorderColor?: string;
785
+ iconSize?: string;
786
+ closeSize?: string;
787
+ closeFontSize?: string;
788
+ closeRadius?: string;
789
+ closeColor?: string;
790
+ closeHoverBackgroundColor?: string;
791
+ disabledOpacity?: string;
792
+ info?: ChipSeverityTokens;
793
+ success?: ChipSeverityTokens;
794
+ warn?: ChipSeverityTokens;
795
+ danger?: ChipSeverityTokens;
796
+ small?: {
797
+ fontSize?: string;
798
+ paddingX?: string;
799
+ paddingY?: string;
800
+ };
801
+ large?: {
802
+ fontSize?: string;
803
+ paddingX?: string;
804
+ paddingY?: string;
805
+ };
806
+ };
726
807
  export type AvatarTokens = {
727
808
  size?: string;
728
809
  fontSize?: string;
@@ -758,6 +839,7 @@ export type ThemeComponentTokens = {
758
839
  tabs?: TabsTokens;
759
840
  accordion?: AccordionTokens;
760
841
  input?: InputTokens;
842
+ numberInput?: NumberInputTokens;
761
843
  formField?: FormFieldTokens;
762
844
  textarea?: TextareaTokens;
763
845
  link?: LinkTokens;
@@ -780,6 +862,7 @@ export type ThemeComponentTokens = {
780
862
  toast?: ToastTokens;
781
863
  alert?: AlertTokens;
782
864
  badge?: BadgeTokens;
865
+ chip?: ChipTokens;
783
866
  avatar?: AvatarTokens;
784
867
  [key: string]: unknown;
785
868
  };
@@ -810,3 +893,4 @@ export declare const buildThemeVariables: (theme: ThemePreset) => {
810
893
  warnings: string[];
811
894
  errors: string[];
812
895
  };
896
+ export {};
@@ -0,0 +1,74 @@
1
+ declare const _default: {
2
+ fontSize: string;
3
+ lineHeight: string;
4
+ paddingX: string;
5
+ paddingY: string;
6
+ borderRadius: string;
7
+ gap: string;
8
+ backgroundColor: string;
9
+ textColor: string;
10
+ borderColor: string;
11
+ softBackgroundColor: string;
12
+ softTextColor: string;
13
+ softBorderColor: string;
14
+ outlineTextColor: string;
15
+ outlineBorderColor: string;
16
+ iconSize: string;
17
+ closeSize: string;
18
+ closeFontSize: string;
19
+ closeRadius: string;
20
+ closeColor: string;
21
+ closeHoverBackgroundColor: string;
22
+ disabledOpacity: string;
23
+ info: {
24
+ backgroundColor: string;
25
+ textColor: string;
26
+ borderColor: string;
27
+ softBackgroundColor: string;
28
+ softTextColor: string;
29
+ softBorderColor: string;
30
+ outlineTextColor: string;
31
+ outlineBorderColor: string;
32
+ };
33
+ success: {
34
+ backgroundColor: string;
35
+ textColor: string;
36
+ borderColor: string;
37
+ softBackgroundColor: string;
38
+ softTextColor: string;
39
+ softBorderColor: string;
40
+ outlineTextColor: string;
41
+ outlineBorderColor: string;
42
+ };
43
+ warn: {
44
+ backgroundColor: string;
45
+ textColor: string;
46
+ borderColor: string;
47
+ softBackgroundColor: string;
48
+ softTextColor: string;
49
+ softBorderColor: string;
50
+ outlineTextColor: string;
51
+ outlineBorderColor: string;
52
+ };
53
+ danger: {
54
+ backgroundColor: string;
55
+ textColor: string;
56
+ borderColor: string;
57
+ softBackgroundColor: string;
58
+ softTextColor: string;
59
+ softBorderColor: string;
60
+ outlineTextColor: string;
61
+ outlineBorderColor: string;
62
+ };
63
+ small: {
64
+ fontSize: string;
65
+ paddingX: string;
66
+ paddingY: string;
67
+ };
68
+ large: {
69
+ fontSize: string;
70
+ paddingX: string;
71
+ paddingY: string;
72
+ };
73
+ };
74
+ export default _default;
@@ -0,0 +1,35 @@
1
+ declare const _default: {
2
+ gap: string;
3
+ fontSize: string;
4
+ padding: string;
5
+ borderRadius: string;
6
+ borderColor: string;
7
+ backgroundColor: string;
8
+ textColor: string;
9
+ placeholderColor: string;
10
+ focusBorderColor: string;
11
+ focusRingShadow: string;
12
+ hoverBorderColor: string;
13
+ disabledOpacity: string;
14
+ controlWidth: string;
15
+ controlGap: string;
16
+ controlFontSize: string;
17
+ controlRadius: string;
18
+ controlBackgroundColor: string;
19
+ controlHoverBackgroundColor: string;
20
+ controlTextColor: string;
21
+ controlBorderColor: string;
22
+ small: {
23
+ padding: string;
24
+ fontSize: string;
25
+ controlWidth: string;
26
+ controlFontSize: string;
27
+ };
28
+ large: {
29
+ padding: string;
30
+ fontSize: string;
31
+ controlWidth: string;
32
+ controlFontSize: string;
33
+ };
34
+ };
35
+ export default _default;
@@ -234,6 +234,40 @@ declare const _default: {
234
234
  fontSize: string;
235
235
  };
236
236
  };
237
+ numberInput: {
238
+ gap: string;
239
+ fontSize: string;
240
+ padding: string;
241
+ borderRadius: string;
242
+ borderColor: string;
243
+ backgroundColor: string;
244
+ textColor: string;
245
+ placeholderColor: string;
246
+ focusBorderColor: string;
247
+ focusRingShadow: string;
248
+ hoverBorderColor: string;
249
+ disabledOpacity: string;
250
+ controlWidth: string;
251
+ controlGap: string;
252
+ controlFontSize: string;
253
+ controlRadius: string;
254
+ controlBackgroundColor: string;
255
+ controlHoverBackgroundColor: string;
256
+ controlTextColor: string;
257
+ controlBorderColor: string;
258
+ small: {
259
+ padding: string;
260
+ fontSize: string;
261
+ controlWidth: string;
262
+ controlFontSize: string;
263
+ };
264
+ large: {
265
+ padding: string;
266
+ fontSize: string;
267
+ controlWidth: string;
268
+ controlFontSize: string;
269
+ };
270
+ };
237
271
  formField: {
238
272
  gap: string;
239
273
  textColor: string;
@@ -898,6 +932,79 @@ declare const _default: {
898
932
  paddingY: string;
899
933
  };
900
934
  };
935
+ chip: {
936
+ fontSize: string;
937
+ lineHeight: string;
938
+ paddingX: string;
939
+ paddingY: string;
940
+ borderRadius: string;
941
+ gap: string;
942
+ backgroundColor: string;
943
+ textColor: string;
944
+ borderColor: string;
945
+ softBackgroundColor: string;
946
+ softTextColor: string;
947
+ softBorderColor: string;
948
+ outlineTextColor: string;
949
+ outlineBorderColor: string;
950
+ iconSize: string;
951
+ closeSize: string;
952
+ closeFontSize: string;
953
+ closeRadius: string;
954
+ closeColor: string;
955
+ closeHoverBackgroundColor: string;
956
+ disabledOpacity: string;
957
+ info: {
958
+ backgroundColor: string;
959
+ textColor: string;
960
+ borderColor: string;
961
+ softBackgroundColor: string;
962
+ softTextColor: string;
963
+ softBorderColor: string;
964
+ outlineTextColor: string;
965
+ outlineBorderColor: string;
966
+ };
967
+ success: {
968
+ backgroundColor: string;
969
+ textColor: string;
970
+ borderColor: string;
971
+ softBackgroundColor: string;
972
+ softTextColor: string;
973
+ softBorderColor: string;
974
+ outlineTextColor: string;
975
+ outlineBorderColor: string;
976
+ };
977
+ warn: {
978
+ backgroundColor: string;
979
+ textColor: string;
980
+ borderColor: string;
981
+ softBackgroundColor: string;
982
+ softTextColor: string;
983
+ softBorderColor: string;
984
+ outlineTextColor: string;
985
+ outlineBorderColor: string;
986
+ };
987
+ danger: {
988
+ backgroundColor: string;
989
+ textColor: string;
990
+ borderColor: string;
991
+ softBackgroundColor: string;
992
+ softTextColor: string;
993
+ softBorderColor: string;
994
+ outlineTextColor: string;
995
+ outlineBorderColor: string;
996
+ };
997
+ small: {
998
+ fontSize: string;
999
+ paddingX: string;
1000
+ paddingY: string;
1001
+ };
1002
+ large: {
1003
+ fontSize: string;
1004
+ paddingX: string;
1005
+ paddingY: string;
1006
+ };
1007
+ };
901
1008
  avatar: {
902
1009
  size: string;
903
1010
  fontSize: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codemonster-ru/vueforge",
3
- "version": "0.29.0",
3
+ "version": "0.31.0",
4
4
  "description": "Open source UI components for Vue.js.",
5
5
  "license": "MIT",
6
6
  "author": "Kirill Kolesnikov",