@codemonster-ru/vueforge 0.35.0 → 0.36.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.
@@ -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;
@@ -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;
@@ -984,6 +1026,7 @@ export type ThemeComponentTokens = {
984
1026
  numberInput?: NumberInputTokens;
985
1027
  formField?: FormFieldTokens;
986
1028
  textarea?: TextareaTokens;
1029
+ fileUpload?: FileUploadTokens;
987
1030
  link?: LinkTokens;
988
1031
  breadcrumbs?: BreadcrumbsTokens;
989
1032
  menu?: MenuTokens;
@@ -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;
@@ -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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codemonster-ru/vueforge",
3
- "version": "0.35.0",
3
+ "version": "0.36.0",
4
4
  "description": "Open source UI components for Vue.js.",
5
5
  "license": "MIT",
6
6
  "author": "Kirill Kolesnikov",