@codemonster-ru/vueforge 0.35.0 → 0.37.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 {};
@@ -29,8 +29,8 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {},
29
29
  variant: AccordionVariant;
30
30
  modelValue: AccordionValue | AccordionValue[];
31
31
  ariaLabel: string;
32
- ariaLabelledby: string;
33
32
  multiple: boolean;
33
+ ariaLabelledby: string;
34
34
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
35
35
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
36
36
  export default _default;
@@ -0,0 +1,44 @@
1
+ type Size = 'small' | 'normal' | 'large';
2
+ type Variant = 'filled' | 'outlined';
3
+ interface Props {
4
+ modelValue?: File | Array<File> | null;
5
+ multiple?: boolean;
6
+ accept?: string;
7
+ disabled?: boolean;
8
+ readonly?: boolean;
9
+ maxSize?: number;
10
+ maxFiles?: number;
11
+ placeholder?: string;
12
+ buttonLabel?: string;
13
+ size?: Size;
14
+ variant?: Variant;
15
+ }
16
+ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
17
+ blur: (...args: any[]) => void;
18
+ change: (...args: any[]) => void;
19
+ focus: (...args: any[]) => void;
20
+ "update:modelValue": (...args: any[]) => void;
21
+ reject: (...args: any[]) => void;
22
+ }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
23
+ onBlur?: ((...args: any[]) => any) | undefined;
24
+ onChange?: ((...args: any[]) => any) | undefined;
25
+ onFocus?: ((...args: any[]) => any) | undefined;
26
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
27
+ onReject?: ((...args: any[]) => any) | undefined;
28
+ }>, {
29
+ disabled: boolean;
30
+ size: Size;
31
+ variant: Variant;
32
+ modelValue: File | Array<File> | null;
33
+ placeholder: string;
34
+ readonly: boolean;
35
+ maxSize: number;
36
+ maxFiles: number;
37
+ multiple: boolean;
38
+ accept: string;
39
+ buttonLabel: string;
40
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
41
+ root: HTMLDivElement;
42
+ input: HTMLInputElement;
43
+ }, HTMLDivElement>;
44
+ export default _default;
@@ -0,0 +1,52 @@
1
+ type RatingSize = 'small' | 'normal' | 'large';
2
+ interface Props {
3
+ modelValue?: number;
4
+ max?: number;
5
+ size?: RatingSize;
6
+ allowHalf?: boolean;
7
+ readonly?: boolean;
8
+ disabled?: boolean;
9
+ ariaLabel?: string;
10
+ }
11
+ declare function __VLS_template(): {
12
+ attrs: Partial<{}>;
13
+ slots: {
14
+ icon?(_: {}): any;
15
+ 'active-icon'?(_: {}): any;
16
+ };
17
+ refs: {
18
+ rootRef: HTMLDivElement;
19
+ itemRefs: HTMLButtonElement[];
20
+ };
21
+ rootEl: HTMLDivElement;
22
+ };
23
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
24
+ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
25
+ blur: (...args: any[]) => void;
26
+ change: (...args: any[]) => void;
27
+ focus: (...args: any[]) => void;
28
+ "update:modelValue": (...args: any[]) => void;
29
+ }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
30
+ onBlur?: ((...args: any[]) => any) | undefined;
31
+ onChange?: ((...args: any[]) => any) | undefined;
32
+ onFocus?: ((...args: any[]) => any) | undefined;
33
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
34
+ }>, {
35
+ disabled: boolean;
36
+ size: RatingSize;
37
+ modelValue: number;
38
+ readonly: boolean;
39
+ max: number;
40
+ ariaLabel: string;
41
+ allowHalf: boolean;
42
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
43
+ rootRef: HTMLDivElement;
44
+ itemRefs: HTMLButtonElement[];
45
+ }, HTMLDivElement>;
46
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
47
+ export default _default;
48
+ type __VLS_WithTemplateSlots<T, S> = T & {
49
+ new (): {
50
+ $slots: S;
51
+ };
52
+ };
@@ -156,6 +156,48 @@ export type TextareaTokens = {
156
156
  fontSize?: string;
157
157
  };
158
158
  };
159
+ export type FileUploadTokens = {
160
+ minHeight?: string;
161
+ fontSize?: string;
162
+ gap?: string;
163
+ padding?: string;
164
+ borderRadius?: string;
165
+ borderColor?: string;
166
+ backgroundColor?: string;
167
+ textColor?: string;
168
+ placeholderColor?: string;
169
+ focusBorderColor?: string;
170
+ focusRingShadow?: string;
171
+ hoverBorderColor?: string;
172
+ disabledOpacity?: string;
173
+ dragBackgroundColor?: string;
174
+ listGap?: string;
175
+ itemPadding?: string;
176
+ itemBorderColor?: string;
177
+ itemBackgroundColor?: string;
178
+ itemRadius?: string;
179
+ itemTextColor?: string;
180
+ sizeTextColor?: string;
181
+ buttonPadding?: string;
182
+ buttonRadius?: string;
183
+ buttonBorderColor?: string;
184
+ buttonBackgroundColor?: string;
185
+ buttonTextColor?: string;
186
+ buttonHoverBackgroundColor?: string;
187
+ removeSize?: string;
188
+ removeRadius?: string;
189
+ removeHoverBackgroundColor?: string;
190
+ small?: {
191
+ padding?: string;
192
+ fontSize?: string;
193
+ buttonPadding?: string;
194
+ };
195
+ large?: {
196
+ padding?: string;
197
+ fontSize?: string;
198
+ buttonPadding?: string;
199
+ };
200
+ };
159
201
  export type LinkTokens = {
160
202
  hoverColor?: string;
161
203
  activeColor?: string;
@@ -704,6 +746,22 @@ export type SliderTokens = {
704
746
  valueFontSize?: string;
705
747
  };
706
748
  };
749
+ export type RatingTokens = {
750
+ gap?: string;
751
+ size?: string;
752
+ color?: string;
753
+ activeColor?: string;
754
+ hoverColor?: string;
755
+ focusRingShadow?: string;
756
+ focusRadius?: string;
757
+ disabledOpacity?: string;
758
+ small?: {
759
+ size?: string;
760
+ };
761
+ large?: {
762
+ size?: string;
763
+ };
764
+ };
707
765
  export type StepperTokens = {
708
766
  gap?: string;
709
767
  itemGap?: string;
@@ -984,6 +1042,7 @@ export type ThemeComponentTokens = {
984
1042
  numberInput?: NumberInputTokens;
985
1043
  formField?: FormFieldTokens;
986
1044
  textarea?: TextareaTokens;
1045
+ fileUpload?: FileUploadTokens;
987
1046
  link?: LinkTokens;
988
1047
  breadcrumbs?: BreadcrumbsTokens;
989
1048
  menu?: MenuTokens;
@@ -1010,6 +1069,7 @@ export type ThemeComponentTokens = {
1010
1069
  badge?: BadgeTokens;
1011
1070
  chip?: ChipTokens;
1012
1071
  avatar?: AvatarTokens;
1072
+ rating?: RatingTokens;
1013
1073
  [key: string]: unknown;
1014
1074
  };
1015
1075
  export type ThemeTokens = {
@@ -0,0 +1,43 @@
1
+ declare const _default: {
2
+ minHeight: string;
3
+ fontSize: string;
4
+ gap: string;
5
+ padding: string;
6
+ borderRadius: string;
7
+ borderColor: string;
8
+ backgroundColor: string;
9
+ textColor: string;
10
+ placeholderColor: string;
11
+ focusBorderColor: string;
12
+ hoverBorderColor: string;
13
+ focusRingShadow: string;
14
+ disabledOpacity: string;
15
+ dragBackgroundColor: string;
16
+ listGap: string;
17
+ itemPadding: string;
18
+ itemBorderColor: string;
19
+ itemBackgroundColor: string;
20
+ itemRadius: string;
21
+ itemTextColor: string;
22
+ sizeTextColor: string;
23
+ buttonPadding: string;
24
+ buttonRadius: string;
25
+ buttonBorderColor: string;
26
+ buttonBackgroundColor: string;
27
+ buttonTextColor: string;
28
+ buttonHoverBackgroundColor: string;
29
+ removeSize: string;
30
+ removeRadius: string;
31
+ removeHoverBackgroundColor: string;
32
+ small: {
33
+ padding: string;
34
+ fontSize: string;
35
+ buttonPadding: string;
36
+ };
37
+ large: {
38
+ padding: string;
39
+ fontSize: string;
40
+ buttonPadding: string;
41
+ };
42
+ };
43
+ export default _default;
@@ -0,0 +1,17 @@
1
+ declare const _default: {
2
+ gap: string;
3
+ size: string;
4
+ color: string;
5
+ activeColor: string;
6
+ hoverColor: string;
7
+ focusRingShadow: string;
8
+ focusRadius: string;
9
+ disabledOpacity: string;
10
+ small: {
11
+ size: string;
12
+ };
13
+ large: {
14
+ size: string;
15
+ };
16
+ };
17
+ export default _default;
@@ -313,6 +313,48 @@ declare const _default: {
313
313
  fontSize: string;
314
314
  };
315
315
  };
316
+ fileUpload: {
317
+ minHeight: string;
318
+ fontSize: string;
319
+ gap: string;
320
+ padding: string;
321
+ borderRadius: string;
322
+ borderColor: string;
323
+ backgroundColor: string;
324
+ textColor: string;
325
+ placeholderColor: string;
326
+ focusBorderColor: string;
327
+ hoverBorderColor: string;
328
+ focusRingShadow: string;
329
+ disabledOpacity: string;
330
+ dragBackgroundColor: string;
331
+ listGap: string;
332
+ itemPadding: string;
333
+ itemBorderColor: string;
334
+ itemBackgroundColor: string;
335
+ itemRadius: string;
336
+ itemTextColor: string;
337
+ sizeTextColor: string;
338
+ buttonPadding: string;
339
+ buttonRadius: string;
340
+ buttonBorderColor: string;
341
+ buttonBackgroundColor: string;
342
+ buttonTextColor: string;
343
+ buttonHoverBackgroundColor: string;
344
+ removeSize: string;
345
+ removeRadius: string;
346
+ removeHoverBackgroundColor: string;
347
+ small: {
348
+ padding: string;
349
+ fontSize: string;
350
+ buttonPadding: string;
351
+ };
352
+ large: {
353
+ padding: string;
354
+ fontSize: string;
355
+ buttonPadding: string;
356
+ };
357
+ };
316
358
  link: {
317
359
  hoverColor: string;
318
360
  activeColor: string;
@@ -1207,6 +1249,22 @@ declare const _default: {
1207
1249
  itemGap: string;
1208
1250
  };
1209
1251
  };
1252
+ rating: {
1253
+ gap: string;
1254
+ size: string;
1255
+ color: string;
1256
+ activeColor: string;
1257
+ hoverColor: string;
1258
+ focusRingShadow: string;
1259
+ focusRadius: string;
1260
+ disabledOpacity: string;
1261
+ small: {
1262
+ size: string;
1263
+ };
1264
+ large: {
1265
+ size: string;
1266
+ };
1267
+ };
1210
1268
  };
1211
1269
  colors: {
1212
1270
  white: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codemonster-ru/vueforge",
3
- "version": "0.35.0",
3
+ "version": "0.37.0",
4
4
  "description": "Open source UI components for Vue.js.",
5
5
  "license": "MIT",
6
6
  "author": "Kirill Kolesnikov",