@codemonster-ru/vueforge 0.18.0 → 0.20.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,60 @@
1
+ type Size = 'small' | 'normal' | 'large';
2
+ type Variant = 'filled' | 'outlined';
3
+ type OptionValue = string | number;
4
+ interface OptionItem {
5
+ label: string;
6
+ value: OptionValue;
7
+ disabled?: boolean;
8
+ }
9
+ interface Props {
10
+ modelValue?: Array<OptionValue>;
11
+ options?: Array<OptionItem>;
12
+ optionLabel?: string;
13
+ optionValue?: string;
14
+ placeholder?: string;
15
+ searchPlaceholder?: string;
16
+ disabled?: boolean;
17
+ readonly?: boolean;
18
+ loading?: boolean;
19
+ loadingText?: string;
20
+ emptyText?: string;
21
+ filter?: boolean;
22
+ clearable?: boolean;
23
+ variant?: Variant;
24
+ size?: Size;
25
+ }
26
+ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
27
+ search: (...args: any[]) => void;
28
+ blur: (...args: any[]) => void;
29
+ change: (...args: any[]) => void;
30
+ focus: (...args: any[]) => void;
31
+ "update:modelValue": (...args: any[]) => void;
32
+ }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
33
+ onSearch?: ((...args: any[]) => any) | undefined;
34
+ onBlur?: ((...args: any[]) => any) | undefined;
35
+ onChange?: ((...args: any[]) => any) | undefined;
36
+ onFocus?: ((...args: any[]) => any) | undefined;
37
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
38
+ }>, {
39
+ filter: boolean;
40
+ disabled: boolean;
41
+ size: Size;
42
+ loading: boolean;
43
+ variant: Variant;
44
+ modelValue: Array<OptionValue>;
45
+ placeholder: string;
46
+ readonly: boolean;
47
+ options: Array<OptionItem>;
48
+ optionLabel: string;
49
+ optionValue: string;
50
+ loadingText: string;
51
+ emptyText: string;
52
+ searchPlaceholder: string;
53
+ clearable: boolean;
54
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
55
+ root: HTMLDivElement;
56
+ trigger: HTMLButtonElement;
57
+ panel: HTMLDivElement;
58
+ searchInput: HTMLInputElement;
59
+ }, HTMLDivElement>;
60
+ export default _default;
@@ -0,0 +1,37 @@
1
+ type Size = 'small' | 'normal' | 'large';
2
+ type Variant = 'filled' | 'outlined';
3
+ interface Props {
4
+ modelValue?: number;
5
+ totalItems?: number;
6
+ pageSize?: number;
7
+ totalPages?: number;
8
+ siblingCount?: number;
9
+ boundaryCount?: number;
10
+ disabled?: boolean;
11
+ size?: Size;
12
+ variant?: Variant;
13
+ prevLabel?: string;
14
+ nextLabel?: string;
15
+ ellipsisLabel?: string;
16
+ }
17
+ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
18
+ change: (...args: any[]) => void;
19
+ "update:modelValue": (...args: any[]) => void;
20
+ }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
21
+ onChange?: ((...args: any[]) => any) | undefined;
22
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
23
+ }>, {
24
+ disabled: boolean;
25
+ size: Size;
26
+ variant: Variant;
27
+ modelValue: number;
28
+ totalItems: number;
29
+ pageSize: number;
30
+ totalPages: number;
31
+ siblingCount: number;
32
+ boundaryCount: number;
33
+ prevLabel: string;
34
+ nextLabel: string;
35
+ ellipsisLabel: string;
36
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLElement>;
37
+ export default _default;
@@ -255,6 +255,52 @@ export type AutocompleteTokens = {
255
255
  fontSize?: string;
256
256
  };
257
257
  };
258
+ export type MultiSelectTokens = {
259
+ minWidth?: string;
260
+ fontSize?: string;
261
+ controlGap?: string;
262
+ chevronSize?: string;
263
+ padding?: string;
264
+ borderRadius?: string;
265
+ borderColor?: string;
266
+ backgroundColor?: string;
267
+ textColor?: string;
268
+ placeholderColor?: string;
269
+ focusBorderColor?: string;
270
+ hoverBorderColor?: string;
271
+ disabledOpacity?: string;
272
+ panelBackgroundColor?: string;
273
+ panelBorderColor?: string;
274
+ panelPadding?: string;
275
+ panelMaxHeight?: string;
276
+ panelRadiusOffset?: string;
277
+ panelShadow?: string;
278
+ focusRingShadow?: string;
279
+ optionPadding?: string;
280
+ optionBorderRadius?: string;
281
+ optionHoverBackgroundColor?: string;
282
+ optionActiveBackgroundColor?: string;
283
+ optionActiveTextColor?: string;
284
+ optionHighlightedBackgroundColor?: string;
285
+ emptyPadding?: string;
286
+ emptyColor?: string;
287
+ loadingPadding?: string;
288
+ loadingColor?: string;
289
+ searchPadding?: string;
290
+ searchBorderColor?: string;
291
+ searchBorderRadius?: string;
292
+ clearSize?: string;
293
+ clearRadius?: string;
294
+ clearHoverBackgroundColor?: string;
295
+ small?: {
296
+ padding?: string;
297
+ fontSize?: string;
298
+ };
299
+ large?: {
300
+ padding?: string;
301
+ fontSize?: string;
302
+ };
303
+ };
258
304
  export type DatePickerTokens = {
259
305
  minWidth?: string;
260
306
  fontSize?: string;
@@ -306,6 +352,32 @@ export type DatePickerTokens = {
306
352
  daySize?: string;
307
353
  };
308
354
  };
355
+ export type PaginationTokens = {
356
+ gap?: string;
357
+ itemMinWidth?: string;
358
+ fontSize?: string;
359
+ padding?: string;
360
+ borderRadius?: string;
361
+ borderColor?: string;
362
+ backgroundColor?: string;
363
+ textColor?: string;
364
+ hoverBackgroundColor?: string;
365
+ activeBorderColor?: string;
366
+ activeBackgroundColor?: string;
367
+ activeTextColor?: string;
368
+ focusBorderColor?: string;
369
+ focusRingShadow?: string;
370
+ disabledOpacity?: string;
371
+ ellipsisPadding?: string;
372
+ small?: {
373
+ padding?: string;
374
+ fontSize?: string;
375
+ };
376
+ large?: {
377
+ padding?: string;
378
+ fontSize?: string;
379
+ };
380
+ };
309
381
  export type SwitchTokens = {
310
382
  width?: string;
311
383
  height?: string;
@@ -447,7 +519,9 @@ export type ThemeComponentTokens = {
447
519
  popover?: PopoverTokens;
448
520
  select?: SelectTokens;
449
521
  autocomplete?: AutocompleteTokens;
522
+ multiselect?: MultiSelectTokens;
450
523
  datepicker?: DatePickerTokens;
524
+ pagination?: PaginationTokens;
451
525
  switch?: SwitchTokens;
452
526
  tooltip?: TooltipTokens;
453
527
  toast?: ToastTokens;
@@ -0,0 +1,47 @@
1
+ declare const _default: {
2
+ minWidth: string;
3
+ fontSize: string;
4
+ controlGap: string;
5
+ chevronSize: string;
6
+ padding: string;
7
+ borderRadius: string;
8
+ borderColor: string;
9
+ backgroundColor: string;
10
+ textColor: string;
11
+ placeholderColor: string;
12
+ focusBorderColor: string;
13
+ hoverBorderColor: string;
14
+ disabledOpacity: string;
15
+ panelBackgroundColor: string;
16
+ panelBorderColor: string;
17
+ panelPadding: string;
18
+ panelMaxHeight: string;
19
+ panelRadiusOffset: string;
20
+ panelShadow: string;
21
+ focusRingShadow: string;
22
+ optionPadding: string;
23
+ optionBorderRadius: string;
24
+ optionHoverBackgroundColor: string;
25
+ optionActiveBackgroundColor: string;
26
+ optionActiveTextColor: string;
27
+ optionHighlightedBackgroundColor: string;
28
+ emptyPadding: string;
29
+ emptyColor: string;
30
+ loadingPadding: string;
31
+ loadingColor: string;
32
+ searchPadding: string;
33
+ searchBorderColor: string;
34
+ searchBorderRadius: string;
35
+ clearSize: string;
36
+ clearRadius: string;
37
+ clearHoverBackgroundColor: string;
38
+ small: {
39
+ padding: string;
40
+ fontSize: string;
41
+ };
42
+ large: {
43
+ padding: string;
44
+ fontSize: string;
45
+ };
46
+ };
47
+ export default _default;
@@ -0,0 +1,27 @@
1
+ declare const _default: {
2
+ gap: string;
3
+ itemMinWidth: string;
4
+ fontSize: string;
5
+ padding: string;
6
+ borderRadius: string;
7
+ borderColor: string;
8
+ backgroundColor: string;
9
+ textColor: string;
10
+ hoverBackgroundColor: string;
11
+ activeBorderColor: string;
12
+ activeBackgroundColor: string;
13
+ activeTextColor: string;
14
+ focusBorderColor: string;
15
+ focusRingShadow: string;
16
+ disabledOpacity: string;
17
+ ellipsisPadding: string;
18
+ small: {
19
+ fontSize: string;
20
+ padding: string;
21
+ };
22
+ large: {
23
+ fontSize: string;
24
+ padding: string;
25
+ };
26
+ };
27
+ export default _default;
@@ -409,6 +409,52 @@ declare const _default: {
409
409
  fontSize: string;
410
410
  };
411
411
  };
412
+ multiselect: {
413
+ minWidth: string;
414
+ fontSize: string;
415
+ controlGap: string;
416
+ chevronSize: string;
417
+ padding: string;
418
+ borderRadius: string;
419
+ borderColor: string;
420
+ backgroundColor: string;
421
+ textColor: string;
422
+ placeholderColor: string;
423
+ focusBorderColor: string;
424
+ hoverBorderColor: string;
425
+ disabledOpacity: string;
426
+ panelBackgroundColor: string;
427
+ panelBorderColor: string;
428
+ panelPadding: string;
429
+ panelMaxHeight: string;
430
+ panelRadiusOffset: string;
431
+ panelShadow: string;
432
+ focusRingShadow: string;
433
+ optionPadding: string;
434
+ optionBorderRadius: string;
435
+ optionHoverBackgroundColor: string;
436
+ optionActiveBackgroundColor: string;
437
+ optionActiveTextColor: string;
438
+ optionHighlightedBackgroundColor: string;
439
+ emptyPadding: string;
440
+ emptyColor: string;
441
+ loadingPadding: string;
442
+ loadingColor: string;
443
+ searchPadding: string;
444
+ searchBorderColor: string;
445
+ searchBorderRadius: string;
446
+ clearSize: string;
447
+ clearRadius: string;
448
+ clearHoverBackgroundColor: string;
449
+ small: {
450
+ padding: string;
451
+ fontSize: string;
452
+ };
453
+ large: {
454
+ padding: string;
455
+ fontSize: string;
456
+ };
457
+ };
412
458
  datepicker: {
413
459
  minWidth: string;
414
460
  fontSize: string;
@@ -460,6 +506,32 @@ declare const _default: {
460
506
  daySize: string;
461
507
  };
462
508
  };
509
+ pagination: {
510
+ gap: string;
511
+ itemMinWidth: string;
512
+ fontSize: string;
513
+ padding: string;
514
+ borderRadius: string;
515
+ borderColor: string;
516
+ backgroundColor: string;
517
+ textColor: string;
518
+ hoverBackgroundColor: string;
519
+ activeBorderColor: string;
520
+ activeBackgroundColor: string;
521
+ activeTextColor: string;
522
+ focusBorderColor: string;
523
+ focusRingShadow: string;
524
+ disabledOpacity: string;
525
+ ellipsisPadding: string;
526
+ small: {
527
+ fontSize: string;
528
+ padding: string;
529
+ };
530
+ large: {
531
+ fontSize: string;
532
+ padding: string;
533
+ };
534
+ };
463
535
  checkbox: {
464
536
  size: string;
465
537
  gap: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codemonster-ru/vueforge",
3
- "version": "0.18.0",
3
+ "version": "0.20.0",
4
4
  "description": "Open source UI components for Vue.js.",
5
5
  "license": "MIT",
6
6
  "author": "Kirill Kolesnikov",